From 7440328ef96483085d2fcfbbbf8b71923294720c Mon Sep 17 00:00:00 2001 From: Jonathan Gruber Date: Mon, 27 Jan 2025 00:39:02 +0100 Subject: [PATCH] Test Safari bug --- .../ActivityCalendar.stories-B0XtHDce.js | 703 - .../ActivityCalendar.stories-C9g7fSvG.js | 699 + docs/assets/Color-F6OSRLHC-BYxDHg9a.js | 1 - docs/assets/Color-F6OSRLHC-DOJWyiBH.js | 1 + docs/assets/DocsRenderer-CFRXHY34-C-lwOz6c.js | 2 - docs/assets/DocsRenderer-CFRXHY34-Dhqwvr-G.js | 2 + docs/assets/chunk-XP5HYGXS-BGCqD1aY.js | 1 - docs/assets/entry-preview-CQN1ic9T.js | 10 + docs/assets/entry-preview-Dy0McKAY.js | 10 - docs/assets/entry-preview-docs-BXZNRgnm.js | 47 - docs/assets/entry-preview-docs-CNTsbYAb.js | 46 + docs/assets/iframe-C46LtgJg.js | 199 + docs/assets/iframe-WubvJSwf.js | 2 - docs/assets/index-2yJIXLcc.js | 9 - docs/assets/index-BEu9JJJd.js | 1 - docs/assets/index-BQHE_i7f.js | 377 + docs/assets/index-BZ6JnuF_.js | 525 - docs/assets/index-BfiLiMku.js | 1 + docs/assets/index-Bn05qqr6.js | 9 - docs/assets/index-BriWrUx_.js | 1 - .../{index-DsjpCunK.js => index-BwhLTrJS.js} | 2 +- docs/assets/index-CZMpeKRu.js | 9 + docs/assets/index-D-TIQtLp.js | 9 + .../{index-BoIHHXGu.js => index-Dja51o-9.js} | 38 +- docs/assets/index-DrFu-skq.js | 6 - .../{index-CHGET4sZ.js => index-NOh9rqHv.js} | 10 +- .../{index-DwOlTBOG.js => index-npCMkmsx.js} | 2 +- docs/assets/index-ogSvIofg.js | 6 + docs/assets/preview-Cm_IZhXa.js | 1 - docs/assets/preview-D1OnRonx.js | 2 - docs/assets/preview-DFhThGZO.js | 1 + docs/assets/preview-DFmD0pui.js | 1 - ...review-BWzBA1C2.js => preview-DY_pW_WS.js} | 2 +- docs/assets/preview-DarttgvO.js | 1 + docs/assets/preview-DjdjzdfI.js | 2 + docs/assets/preview-Zk6Lo_wo.js | 1 + ...review-D77C14du.js => preview-iUmqt_lp.js} | 18 +- docs/assets/preview-xen1ADC0.js | 1 - docs/assets/react--gDPKqWp.js | 1 + docs/assets/react-18-BIATD0Zn.js | 25 + docs/assets/react-18-CXVsXkgG.js | 25 - docs/iframe.html | 2 +- docs/index.html | 36 +- docs/project.json | 2 +- .../manager-bundle.js | 12 - .../manager-bundle.js | 12 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-controls-1/manager-bundle.js | 116 +- .../essentials-docs-2/manager-bundle.js | 230 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-measure-5/manager-bundle.js | 3 - .../essentials-measure-6/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-outline-6/manager-bundle.js | 3 - .../essentials-outline-7/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-toolbars-4/manager-bundle.js | 3 - .../essentials-toolbars-5/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../essentials-viewport-3/manager-bundle.js | 3 - .../essentials-viewport-4/manager-bundle.js | 3 + .../manager-bundle.js.LEGAL.txt | 0 .../{links-7 => links-8}/manager-bundle.js | 0 .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js | 0 .../manager-bundle.js.LEGAL.txt | 0 .../manager-bundle.js | 6 +- .../manager-bundle.js.LEGAL.txt | 0 docs/sb-manager/globals-module-info.js | 9 + docs/sb-manager/globals-runtime.js | 21192 ++++++++-------- docs/sb-manager/runtime.js | 11266 ++++---- docs/sb-preview/globals.js | 33 - docs/sb-preview/runtime.js | 7174 ------ src/component/ActivityCalendar.tsx | 4 +- src/hooks/useLoadingAnimation.ts | 9 +- 75 files changed, 17443 insertions(+), 25493 deletions(-) delete mode 100644 docs/assets/ActivityCalendar.stories-B0XtHDce.js create mode 100644 docs/assets/ActivityCalendar.stories-C9g7fSvG.js delete mode 100644 docs/assets/Color-F6OSRLHC-BYxDHg9a.js create mode 100644 docs/assets/Color-F6OSRLHC-DOJWyiBH.js delete mode 100644 docs/assets/DocsRenderer-CFRXHY34-C-lwOz6c.js create mode 100644 docs/assets/DocsRenderer-CFRXHY34-Dhqwvr-G.js delete mode 100644 docs/assets/chunk-XP5HYGXS-BGCqD1aY.js create mode 100644 docs/assets/entry-preview-CQN1ic9T.js delete mode 100644 docs/assets/entry-preview-Dy0McKAY.js delete mode 100644 docs/assets/entry-preview-docs-BXZNRgnm.js create mode 100644 docs/assets/entry-preview-docs-CNTsbYAb.js create mode 100644 docs/assets/iframe-C46LtgJg.js delete mode 100644 docs/assets/iframe-WubvJSwf.js delete mode 100644 docs/assets/index-2yJIXLcc.js delete mode 100644 docs/assets/index-BEu9JJJd.js create mode 100644 docs/assets/index-BQHE_i7f.js delete mode 100644 docs/assets/index-BZ6JnuF_.js create mode 100644 docs/assets/index-BfiLiMku.js delete mode 100644 docs/assets/index-Bn05qqr6.js delete mode 100644 docs/assets/index-BriWrUx_.js rename docs/assets/{index-DsjpCunK.js => index-BwhLTrJS.js} (97%) create mode 100644 docs/assets/index-CZMpeKRu.js create mode 100644 docs/assets/index-D-TIQtLp.js rename docs/assets/{index-BoIHHXGu.js => index-Dja51o-9.js} (62%) delete mode 100644 docs/assets/index-DrFu-skq.js rename docs/assets/{index-CHGET4sZ.js => index-NOh9rqHv.js} (78%) rename docs/assets/{index-DwOlTBOG.js => index-npCMkmsx.js} (84%) create mode 100644 docs/assets/index-ogSvIofg.js delete mode 100644 docs/assets/preview-Cm_IZhXa.js delete mode 100644 docs/assets/preview-D1OnRonx.js create mode 100644 docs/assets/preview-DFhThGZO.js delete mode 100644 docs/assets/preview-DFmD0pui.js rename docs/assets/{preview-BWzBA1C2.js => preview-DY_pW_WS.js} (99%) create mode 100644 docs/assets/preview-DarttgvO.js create mode 100644 docs/assets/preview-DjdjzdfI.js create mode 100644 docs/assets/preview-Zk6Lo_wo.js rename docs/assets/{preview-D77C14du.js => preview-iUmqt_lp.js} (58%) delete mode 100644 docs/assets/preview-xen1ADC0.js create mode 100644 docs/assets/react--gDPKqWp.js create mode 100644 docs/assets/react-18-BIATD0Zn.js delete mode 100644 docs/assets/react-18-CXVsXkgG.js delete mode 100644 docs/sb-addons/essentials-backgrounds-2/manager-bundle.js create mode 100644 docs/sb-addons/essentials-backgrounds-3/manager-bundle.js rename docs/sb-addons/{essentials-backgrounds-2 => essentials-backgrounds-3}/manager-bundle.js.LEGAL.txt (100%) create mode 100644 docs/sb-addons/essentials-docs-2/manager-bundle.js rename docs/sb-addons/{essentials-measure-5 => essentials-docs-2}/manager-bundle.js.LEGAL.txt (100%) delete mode 100644 docs/sb-addons/essentials-measure-5/manager-bundle.js create mode 100644 docs/sb-addons/essentials-measure-6/manager-bundle.js rename docs/sb-addons/{essentials-outline-6 => essentials-measure-6}/manager-bundle.js.LEGAL.txt (100%) delete mode 100644 docs/sb-addons/essentials-outline-6/manager-bundle.js create mode 100644 docs/sb-addons/essentials-outline-7/manager-bundle.js rename docs/sb-addons/{essentials-toolbars-4 => essentials-outline-7}/manager-bundle.js.LEGAL.txt (100%) delete mode 100644 docs/sb-addons/essentials-toolbars-4/manager-bundle.js create mode 100644 docs/sb-addons/essentials-toolbars-5/manager-bundle.js rename docs/sb-addons/{essentials-viewport-3 => essentials-toolbars-5}/manager-bundle.js.LEGAL.txt (100%) delete mode 100644 docs/sb-addons/essentials-viewport-3/manager-bundle.js create mode 100644 docs/sb-addons/essentials-viewport-4/manager-bundle.js rename docs/sb-addons/{links-7 => essentials-viewport-4}/manager-bundle.js.LEGAL.txt (100%) rename docs/sb-addons/{links-7 => links-8}/manager-bundle.js (100%) rename docs/sb-addons/{storybook-9 => links-8}/manager-bundle.js.LEGAL.txt (100%) rename docs/sb-addons/{storybook-9 => storybook-10}/manager-bundle.js (100%) rename docs/sb-addons/{storybook-dark-mode-esm-preset-8 => storybook-10}/manager-bundle.js.LEGAL.txt (100%) rename docs/sb-addons/{storybook-dark-mode-esm-preset-8 => storybook-dark-mode-esm-preset-9}/manager-bundle.js (50%) create mode 100644 docs/sb-addons/storybook-dark-mode-esm-preset-9/manager-bundle.js.LEGAL.txt delete mode 100644 docs/sb-preview/globals.js delete mode 100644 docs/sb-preview/runtime.js diff --git a/docs/assets/ActivityCalendar.stories-B0XtHDce.js b/docs/assets/ActivityCalendar.stories-B0XtHDce.js deleted file mode 100644 index 5758e41..0000000 --- a/docs/assets/ActivityCalendar.stories-B0XtHDce.js +++ /dev/null @@ -1,703 +0,0 @@ -var ql=Object.defineProperty;var Gl=(e,t,n)=>t in e?ql(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ar=(e,t,n)=>Gl(e,typeof t!="symbol"?t+"":t,n);import{F as ir,r as Kl,j as S,N as Aa}from"./index-BoIHHXGu.js";import{b as ko,r as y,R as We,g as Yl}from"./index-2yJIXLcc.js";import{G as Xl}from"./index-BriWrUx_.js";import{u as Kt}from"./index-DsjpCunK.js";import"./index-Bn05qqr6.js";const Hn={black:"#000",white:"#fff"},rn={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},on={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},an={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},sn={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},ln={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},Ln={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},Jl={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Yt(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const As="$$material";function Eo(){return Eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Se(Tn,--_e):0,hn--,ge===10&&(hn=1,Gr--),ge}function He(){return ge=_e<$s?Se(Tn,_e++):0,hn++,ge===10&&(hn=1,Gr++),ge}function bt(){return Se(Tn,_e)}function $r(){return _e}function Xn(e,t){return Vn(Tn,e,t)}function zn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ds(e){return Gr=hn=1,$s=yt(Tn=e),_e=0,[]}function Ms(e){return Tn="",e}function Dr(e){return Ls(Xn(_e-1,Ao(e===91?e+2:e===40?e+1:e)))}function dc(e){for(;(ge=bt())&&ge<33;)He();return zn(e)>2||zn(ge)>3?"":" "}function fc(e,t){for(;--t&&He()&&!(ge<48||ge>102||ge>57&&ge<65||ge>70&&ge<97););return Xn(e,$r()+(t<6&&bt()==32&&He()==32))}function Ao(e){for(;He();)switch(ge){case e:return _e;case 34:case 39:e!==34&&e!==39&&Ao(ge);break;case 40:e===41&&Ao(e);break;case 92:He();break}return _e}function pc(e,t){for(;He()&&e+ge!==57;)if(e+ge===84&&bt()===47)break;return"/*"+Xn(t,_e-1)+"*"+qr(e===47?e:He())}function mc(e){for(;!zn(bt());)He();return Xn(e,_e)}function hc(e){return Ms(Mr("",null,null,null,[""],e=Ds(e),0,[0],e))}function Mr(e,t,n,r,o,a,i,s,l){for(var u=0,d=0,f=i,m=0,h=0,g=0,p=1,b=1,v=1,E=0,C="",x=o,k=a,O=r,T=C;b;)switch(g=E,E=He()){case 40:if(g!=108&&Se(T,f-1)==58){To(T+=G(Dr(E),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:T+=Dr(E);break;case 9:case 10:case 13:case 32:T+=dc(g);break;case 92:T+=fc($r()-1,7);continue;case 47:switch(bt()){case 42:case 47:sr(gc(pc(He(),$r()),t,n),l);break;default:T+="/"}break;case 123*p:s[u++]=yt(T)*v;case 125*p:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+d:v==-1&&(T=G(T,/\f/g,"")),h>0&&yt(T)-f&&sr(h>32?Ra(T+";",r,n,f-1):Ra(G(T," ","")+";",r,n,f-2),l);break;case 59:T+=";";default:if(sr(O=Oa(T,t,n,u,d,o,s,C,x=[],k=[],f),a),E===123)if(d===0)Mr(T,t,O,O,x,a,f,s,k);else switch(m===99&&Se(T,3)===110?100:m){case 100:case 108:case 109:case 115:Mr(e,O,O,r&&sr(Oa(e,O,O,0,0,o,s,C,o,x=[],f),k),o,k,f,s,r?x:k);break;default:Mr(T,O,O,O,[""],k,0,s,k)}}u=d=h=0,p=v=1,C=T="",f=i;break;case 58:f=1+yt(T),h=g;default:if(p<1){if(E==123)--p;else if(E==125&&p++==0&&uc()==125)continue}switch(T+=qr(E),E*p){case 38:v=d>0?1:(T+="\f",-1);break;case 44:s[u++]=(yt(T)-1)*v,v=1;break;case 64:bt()===45&&(T+=Dr(He())),m=bt(),d=f=yt(C=T+=mc($r())),E++;break;case 45:g===45&&yt(T)==2&&(p=0)}}return a}function Oa(e,t,n,r,o,a,i,s,l,u,d){for(var f=o-1,m=o===0?a:[""],h=Go(m),g=0,p=0,b=0;g0?m[v]+" "+E:G(E,/&\f/g,m[v])))&&(l[b++]=C);return Kr(e,t,n,o===0?Uo:s,l,u,d)}function gc(e,t,n){return Kr(e,t,n,Os,qr(cc()),Vn(e,2,-2),0)}function Ra(e,t,n,r){return Kr(e,t,n,qo,Vn(e,0,r),Vn(e,r+1,-1),r)}function fn(e,t){for(var n="",r=Go(e),o=0;o6)switch(Se(e,t+1)){case 109:if(Se(e,t+4)!==45)break;case 102:return G(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+_r+(Se(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~To(e,"stretch")?js(G(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Se(e,t+1)!==115)break;case 6444:switch(Se(e,yt(e)-3-(~To(e,"!important")&&10))){case 107:return G(e,":",":"+q)+e;case 101:return G(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Se(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+Ee+"$2box$3")+e}break;case 5936:switch(Se(e,t+11)){case 114:return q+e+Ee+G(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Ee+G(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Ee+G(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Ee+e+e}return e}var Ec=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case qo:t.return=js(t.value,t.length);break;case Rs:return fn([$n(t,{value:G(t.value,"@","@"+q)})],o);case Uo:if(t.length)return lc(t.props,function(a){switch(sc(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return fn([$n(t,{props:[G(a,/:(read-\w+)/,":"+_r+"$1")]})],o);case"::placeholder":return fn([$n(t,{props:[G(a,/:(plac\w+)/,":"+q+"input-$1")]}),$n(t,{props:[G(a,/:(plac\w+)/,":"+_r+"$1")]}),$n(t,{props:[G(a,/:(plac\w+)/,Ee+"input-$1")]})],o)}return""})}},Tc=[Ec],Ac=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var b=p.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var o=t.stylisPlugins||Tc,a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(p){for(var b=p.getAttribute("data-emotion").split(" "),v=1;v=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var Dc={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mc=/[A-Z]|^ms/g,Pc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Bs=function(t){return t.charCodeAt(1)===45},$a=function(t){return t!=null&&typeof t!="boolean"},po=Ps(function(e){return Bs(e)?e:e.replace(Mc,"-$&").toLowerCase()}),Da=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Pc,function(r,o,a){return vt={name:o,styles:a,next:vt},o})}return Dc[t]!==1&&!Bs(t)&&typeof n=="number"&&n!==0?n+"px":n};function Un(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return vt={name:o.name,styles:o.styles,next:vt},o.name;var a=n;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)vt={name:i.name,styles:i.styles,next:vt},i=i.next;var s=a.styles+";";return s}return jc(e,t,n)}case"function":{if(e!==void 0){var l=vt,u=n(e);return vt=l,Un(e,t,u)}break}}var d=n;if(t==null)return d;var f=t[d];return f!==void 0?f:d}function jc(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Hc:Vc},ja=function(t,n,r){var o;if(n){var a=n.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},zc=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return _s(n,r,o),Nc(function(){return Lc(n,r,o)}),null},Uc=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,a,i;n!==void 0&&(a=n.label,i=n.target);var s=ja(t,n,r),l=s||Pa(o),u=!l("as");return function(){var d=arguments,f=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&f.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)f.push.apply(f,d);else{var m=d[0];f.push(m[0]);for(var h=d.length,g=1;g{t[n]=Ws(e[n])}),t}function Ve(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return At(e)&&At(t)&&Object.keys(t).forEach(o=>{y.isValidElement(t[o])?r[o]=t[o]:At(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&At(e[o])?r[o]=Ve(e[o],t[o],n):n.clone?r[o]=At(t[o])?Ws(t[o]):t[o]:r[o]=t[o]}),r}const Yc=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function Xc(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,a=Yc(t),i=Object.keys(a);function s(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function u(m,h){const g=i.indexOf(h);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(g!==-1&&typeof t[i[g]]=="number"?t[i[g]]:h)-r/100}${n})`}function d(m){return i.indexOf(m)+1r.startsWith("@container")).sort((r,o)=>{var i,s;const a=/min-width:\s*([0-9.]+)/;return+(((i=r.match(a))==null?void 0:i[1])||0)-+(((s=o.match(a))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const a=t[o];return delete r[o],r[o]=a,r},{...t}):t}function Qc(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function Zc(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}function eu(e){const t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function n(a,i){a.up=(...s)=>t(e.breakpoints.up(...s),i),a.down=(...s)=>t(e.breakpoints.down(...s),i),a.between=(...s)=>t(e.breakpoints.between(...s),i),a.only=(...s)=>t(e.breakpoints.only(...s),i),a.not=(...s)=>{const l=t(e.breakpoints.not(...s),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=a=>(n(r,a),r);return n(o),{...e,containerQueries:o}}const tu={borderRadius:4};function In(e,t){return t?Ve(e,t,{clone:!1}):e}const Yr={xs:0,sm:600,md:900,lg:1200,xl:1536},Na={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Yr[e]}px)`},nu={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Yr[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Ot(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Na;return t.reduce((i,s,l)=>(i[a.up(a.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const a=r.breakpoints||Na;return Object.keys(t).reduce((i,s)=>{if(Qc(a.keys,s)){const l=Zc(r.containerQueries?r:nu,s);l&&(i[l]=n(t[s],s))}else if(Object.keys(a.values||Yr).includes(s)){const l=a.up(s);i[l]=n(t[s],s)}else{const l=s;i[l]=t[l]}return i},{})}return n(t)}function ru(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function ou(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Xr(e){if(typeof e!="string")throw new Error(Yt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Jr(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Br(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Jr(e,n)||r,t&&(o=t(o,r,e)),o}function ce(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],l=i.theme,u=Jr(l,r)||{};return Ot(i,s,f=>{let m=Br(u,o,f);return f===m&&typeof f=="string"&&(m=Br(u,o,`${t}${f==="default"?"":Xr(f)}`,f)),n===!1?m:{[n]:m}})};return a.propTypes={},a.filterProps=[t],a}function au(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const iu={m:"margin",p:"padding"},su={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Ia={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},lu=au(e=>{if(e.length>2)if(Ia[e])e=Ia[e];else return[e];const[t,n]=e.split(""),r=iu[t],o=su[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),Ko=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Yo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ko,...Yo];function Jn(e,t,n,r){const o=Jr(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:typeof o=="string"?`calc(${a} * ${o})`:o*a:Array.isArray(o)?a=>{if(typeof a=="string")return a;const i=Math.abs(a),s=o[i];return a>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function Xo(e){return Jn(e,"spacing",8)}function Qn(e,t){return typeof t=="string"||t==null?t:e(t)}function cu(e,t){return n=>e.reduce((r,o)=>(r[o]=Qn(t,n),r),{})}function uu(e,t,n,r){if(!t.includes(n))return null;const o=lu(n),a=cu(o,r),i=e[n];return Ot(e,i,a)}function Hs(e,t){const n=Xo(e.theme);return Object.keys(e).map(r=>uu(e,t,r,n)).reduce(In,{})}function ae(e){return Hs(e,Ko)}ae.propTypes={};ae.filterProps=Ko;function ie(e){return Hs(e,Yo)}ie.propTypes={};ie.filterProps=Yo;function Vs(e=8,t=Xo({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return n.mui=!0,n}function Qr(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?In(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Je(e){return typeof e!="number"?e:`${e}px solid`}function nt(e,t){return ce({prop:e,themeKey:"borders",transform:t})}const du=nt("border",Je),fu=nt("borderTop",Je),pu=nt("borderRight",Je),mu=nt("borderBottom",Je),hu=nt("borderLeft",Je),gu=nt("borderColor"),yu=nt("borderTopColor"),vu=nt("borderRightColor"),bu=nt("borderBottomColor"),xu=nt("borderLeftColor"),wu=nt("outline",Je),Su=nt("outlineColor"),Zr=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Jn(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Qn(t,r)});return Ot(e,e.borderRadius,n)}return null};Zr.propTypes={};Zr.filterProps=["borderRadius"];Qr(du,fu,pu,mu,hu,gu,yu,vu,bu,xu,Zr,wu,Su);const eo=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Jn(e.theme,"spacing",8),n=r=>({gap:Qn(t,r)});return Ot(e,e.gap,n)}return null};eo.propTypes={};eo.filterProps=["gap"];const to=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Jn(e.theme,"spacing",8),n=r=>({columnGap:Qn(t,r)});return Ot(e,e.columnGap,n)}return null};to.propTypes={};to.filterProps=["columnGap"];const no=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Jn(e.theme,"spacing",8),n=r=>({rowGap:Qn(t,r)});return Ot(e,e.rowGap,n)}return null};no.propTypes={};no.filterProps=["rowGap"];const Cu=ce({prop:"gridColumn"}),ku=ce({prop:"gridRow"}),Eu=ce({prop:"gridAutoFlow"}),Tu=ce({prop:"gridAutoColumns"}),Au=ce({prop:"gridAutoRows"}),Ou=ce({prop:"gridTemplateColumns"}),Ru=ce({prop:"gridTemplateRows"}),Lu=ce({prop:"gridTemplateAreas"}),$u=ce({prop:"gridArea"});Qr(eo,to,no,Cu,ku,Eu,Tu,Au,Ou,Ru,Lu,$u);function pn(e,t){return t==="grey"?t:e}const Du=ce({prop:"color",themeKey:"palette",transform:pn}),Mu=ce({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:pn}),Pu=ce({prop:"backgroundColor",themeKey:"palette",transform:pn});Qr(Du,Mu,Pu);function Fe(e){return e<=1&&e!==0?`${e*100}%`:e}const ju=ce({prop:"width",transform:Fe}),Jo=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,a,i,s,l;const r=((i=(a=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:a.values)==null?void 0:i[n])||Yr[n];return r?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:Fe(n)}};return Ot(e,e.maxWidth,t)}return null};Jo.filterProps=["maxWidth"];const _u=ce({prop:"minWidth",transform:Fe}),Bu=ce({prop:"height",transform:Fe}),Nu=ce({prop:"maxHeight",transform:Fe}),Iu=ce({prop:"minHeight",transform:Fe});ce({prop:"size",cssProperty:"width",transform:Fe});ce({prop:"size",cssProperty:"height",transform:Fe});const Fu=ce({prop:"boxSizing"});Qr(ju,Jo,_u,Bu,Nu,Iu,Fu);const ro={border:{themeKey:"borders",transform:Je},borderTop:{themeKey:"borders",transform:Je},borderRight:{themeKey:"borders",transform:Je},borderBottom:{themeKey:"borders",transform:Je},borderLeft:{themeKey:"borders",transform:Je},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Je},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Zr},color:{themeKey:"palette",transform:pn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:pn},backgroundColor:{themeKey:"palette",transform:pn},p:{style:ie},pt:{style:ie},pr:{style:ie},pb:{style:ie},pl:{style:ie},px:{style:ie},py:{style:ie},padding:{style:ie},paddingTop:{style:ie},paddingRight:{style:ie},paddingBottom:{style:ie},paddingLeft:{style:ie},paddingX:{style:ie},paddingY:{style:ie},paddingInline:{style:ie},paddingInlineStart:{style:ie},paddingInlineEnd:{style:ie},paddingBlock:{style:ie},paddingBlockStart:{style:ie},paddingBlockEnd:{style:ie},m:{style:ae},mt:{style:ae},mr:{style:ae},mb:{style:ae},ml:{style:ae},mx:{style:ae},my:{style:ae},margin:{style:ae},marginTop:{style:ae},marginRight:{style:ae},marginBottom:{style:ae},marginLeft:{style:ae},marginX:{style:ae},marginY:{style:ae},marginInline:{style:ae},marginInlineStart:{style:ae},marginInlineEnd:{style:ae},marginBlock:{style:ae},marginBlockStart:{style:ae},marginBlockEnd:{style:ae},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:eo},rowGap:{style:no},columnGap:{style:to},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Fe},maxWidth:{style:Jo},minWidth:{transform:Fe},height:{transform:Fe},maxHeight:{transform:Fe},minHeight:{transform:Fe},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function Wu(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Hu(e,t){return typeof e=="function"?e(t):e}function Vu(){function e(n,r,o,a){const i={[n]:r,theme:o},s=a[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:d,style:f}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const m=Jr(o,u)||{};return f?f(i):Ot(i,r,g=>{let p=Br(m,d,g);return g===p&&typeof g=="string"&&(p=Br(m,d,`${n}${g==="default"?"":Xr(g)}`,g)),l===!1?p:{[l]:p}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??ro;function i(s){let l=s;if(typeof s=="function")l=s(o);else if(typeof s!="object")return s;if(!l)return null;const u=ru(o.breakpoints),d=Object.keys(u);let f=u;return Object.keys(l).forEach(m=>{const h=Hu(l[m],o);if(h!=null)if(typeof h=="object")if(a[m])f=In(f,e(m,h,o,a));else{const g=Ot({theme:o},h,p=>({[m]:p}));Wu(g,h)?f[m]=t({sx:h,theme:o}):f=In(f,g)}else f=In(f,e(m,h,o,a))}),Jc(o,ou(d,f))}return Array.isArray(r)?r.map(i):i(r)}return t}const gn=Vu();gn.filterProps=["sx"];function zu(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Qo(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={},...i}=e,s=Xc(n),l=Vs(o);let u=Ve({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...tu,...a}},i);return u=eu(u),u.applyStyles=zu,u=t.reduce((d,f)=>Ve(d,f),u),u.unstable_sxConfig={...ro,...i==null?void 0:i.unstable_sxConfig},u.unstable_sx=function(f){return gn({sx:f,theme:this})},u}function Uu(e){return Object.keys(e).length===0}function qu(e=null){const t=y.useContext(Fs);return!t||Uu(t)?e:t}const Gu=Qo();function Ku(e=Gu){return qu(e)}const Fa=e=>e,Yu=()=>{let e=Fa;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Fa}}},Xu=Yu();function zs(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{r[o]=Zo(e,o,n)}),r}function qs(e){const{variants:t,...n}=e,r={variants:t,style:Ba(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Ba(o.style))}),r}const Qu=Qo();function mo(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Zu(e){return e?(t,n)=>n[e]:null}function ed(e,t,n){e.theme=rd(e.theme)?n:e.theme[t]||e.theme}function Pr(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>Pr(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:o,...a}=n;r=a}return Gs(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function Gs(e,t,n=[]){var o;let r;e:for(let a=0;a{Kc(s,k=>k.filter(O=>O!==gn));const{name:u,slot:d,skipVariantsResolver:f,skipSx:m,overridesResolver:h=Zu(ad(d)),...g}=l,p=f!==void 0?f:d&&d!=="Root"&&d!=="root"||!1,b=m||!1;let v=mo;d==="Root"||d==="root"?v=r:d?v=o:od(s)&&(v=void 0);const E=Gc(s,{shouldForwardProp:v,label:nd(),...g}),C=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(T){return Pr(T,k)};if(At(k)){const O=qs(k);return O.variants?function(B){return Pr(B,O)}:O.style}return k},x=(...k)=>{const O=[],T=k.map(C),B=[];if(O.push(a),u&&h&&B.push(function(L){var N,j;const _=(j=(N=L.theme.components)==null?void 0:N[u])==null?void 0:j.styleOverrides;if(!_)return null;const M={};for(const H in _)M[H]=Pr(L,_[H]);return h(L,M)}),u&&!p&&B.push(function(L){var M,N;const D=L.theme,_=(N=(M=D==null?void 0:D.components)==null?void 0:M[u])==null?void 0:N.variants;return _?Gs(L,_):null}),b||B.push(gn),Array.isArray(T[0])){const A=T.shift(),L=new Array(O.length).fill(""),D=new Array(B.length).fill("");let _;_=[...L,...A,...D],_.raw=[...L,...A.raw,...D],O.unshift(_)}const P=[...O,...T,...B],c=E(...P);return s.muiName&&(c.muiName=s.muiName),c};return E.withConfig&&(x.withConfig=E.withConfig),x}}function nd(e,t){return void 0}function rd(e){for(const t in e)return!1;return!0}function od(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ad(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Ro(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const a=e[o],i=t[o];if(!i)n[o]=a||{};else if(!a)n[o]=i;else{n[o]={...i};for(const s in a)if(Object.prototype.hasOwnProperty.call(a,s)){const l=s;n[o][l]=Ro(a[l],i[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}const qn=typeof window<"u"?y.useLayoutEffect:y.useEffect;function id(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ea(e,t=0,n=1){return id(e,t,n)}function sd(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Bt(e){if(e.type)return e;if(e.charAt(0)==="#")return Bt(sd(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Yt(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Yt(10,o))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:o}}const ld=e=>{const t=Bt(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},jn=(e,t)=>{try{return ld(e)}catch{return e}};function oo(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,a)=>a<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Ks(e){e=Bt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(u,d=(u+n/30)%12)=>o-a*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),oo({type:s,values:l})}function Lo(e){e=Bt(e);let t=e.type==="hsl"||e.type==="hsla"?Bt(Ks(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function cd(e,t){const n=Lo(e),r=Lo(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function ta(e,t){return e=Bt(e),t=ea(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,oo(e)}function lr(e,t,n){try{return ta(e,t)}catch{return e}}function na(e,t){if(e=Bt(e),t=ea(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return oo(e)}function ee(e,t,n){try{return na(e,t)}catch{return e}}function ra(e,t){if(e=Bt(e),t=ea(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return oo(e)}function te(e,t,n){try{return ra(e,t)}catch{return e}}function ud(e,t=.15){return Lo(e)>.5?na(e,t):ra(e,t)}function cr(e,t,n){try{return ud(e,t)}catch{return e}}function Wa(e){return e&&e.ownerDocument||document}function $o(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let Ha=0;function dd(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(Ha+=1,n(`mui-${Ha}`))},[t]),r}const fd={...ko},Va=fd.useId;function pd(e){if(Va!==void 0){const t=Va();return e??t}return dd(e)}function md({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=y.useRef(e!==void 0),[a,i]=y.useState(t),s=o?e:a,l=y.useCallback(u=>{o||i(u)},[]);return[s,l]}function za(e){const t=y.useRef(e);return qn(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function Xt(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{$o(n,t)})},e)}const Ua={};function hd(e,t){const n=y.useRef(Ua);return n.current===Ua&&(n.current=e(t)),n}const gd=[];function yd(e){y.useEffect(e,gd)}class ao{constructor(){ar(this,"currentId",null);ar(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ar(this,"disposeEffect",()=>this.clear)}static create(){return new ao}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function _n(){const e=hd(ao.create).current;return yd(e.disposeEffect),e}function qa(e){try{return e.matches(":focus-visible")}catch{}return!1}function Ys(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Ga(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function Js(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const h=Nr(n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),g={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},p={...n,...o,...r};return h.length>0&&(p.className=h),Object.keys(g).length>0&&(p.style=g),{props:p,internalRef:void 0}}const i=bd({...o,...r}),s=Ga(r),l=Ga(o),u=t(i),d=Nr(u==null?void 0:u.className,n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),f={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},m={...u,...n,...l,...s};return d.length>0&&(m.className=d),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:u.ref}}function Qs(e,t,n){return typeof e=="function"?e(t,n):e}function xd(e){var f;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...a}=e,i=o?{}:Qs(n,r),{props:s,internalRef:l}=Js({...a,externalSlotProps:i}),u=Xt(l,i==null?void 0:i.ref,(f=e.additionalProps)==null?void 0:f.ref);return Xs(t,{...s,ref:u},r)}function oa(e){var t;return parseInt(y.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const wd=y.createContext(),Zs=()=>y.useContext(wd)??!1,Sd=y.createContext(void 0);function Cd(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Ro(o.defaultProps,r):!o.styleOverrides&&!o.variants?Ro(o,r):r}function kd({props:e,name:t}){const n=y.useContext(Sd);return Cd({props:e,name:t,theme:{components:n}})}const Ka={theme:void 0};function Ed(e){let t,n;return function(o){let a=t;return(a===void 0||o.theme!==n)&&(Ka.theme=o.theme,a=qs(e(Ka)),t=a,n=o.theme),a}}function Td(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const Ya=(e,t,n,r=[])=>{let o=e;t.forEach((a,i)=>{i===t.length-1?Array.isArray(o)?o[Number(a)]=n:o&&typeof o=="object"&&(o[a]=n):o&&typeof o=="object"&&(o[a]||(o[a]=r.includes(a)?[]:{}),o=o[a])})},Ad=(e,t,n)=>{function r(o,a=[],i=[]){Object.entries(o).forEach(([s,l])=>{(!n||!n([...a,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...a,s],Array.isArray(l)?[...i,s]:i):t([...a,s],l,i))})}r(e)},Od=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function ho(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return Ad(e,(s,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const d=`--${n?`${n}-`:""}${s.join("-")}`,f=Od(s,l);Object.assign(o,{[d]:f}),Ya(a,s,`var(${d})`,u),Ya(i,s,`var(${d}, ${f})`,u)}},s=>s[0]==="vars"),{css:o,vars:a,varsWithDefaults:i}}function Rd(e,t={}){const{getSelector:n=b,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:a={},components:i,defaultColorScheme:s="light",...l}=e,{vars:u,css:d,varsWithDefaults:f}=ho(l,t);let m=f;const h={},{[s]:g,...p}=a;if(Object.entries(p||{}).forEach(([C,x])=>{const{vars:k,css:O,varsWithDefaults:T}=ho(x,t);m=Ve(m,T),h[C]={css:O,vars:k}}),g){const{css:C,vars:x,varsWithDefaults:k}=ho(g,t);m=Ve(m,k),h[s]={css:C,vars:x}}function b(C,x){var O,T;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),C){if(k==="media")return e.defaultColorScheme===C?":root":{[`@media (prefers-color-scheme: ${((T=(O=a[C])==null?void 0:O.palette)==null?void 0:T.mode)||C})`]:{":root":x}};if(k)return e.defaultColorScheme===C?`:root, ${k.replace("%s",String(C))}`:k.replace("%s",String(C))}return":root"}return{vars:m,generateThemeVars:()=>{let C={...u};return Object.entries(h).forEach(([,{vars:x}])=>{C=Ve(C,x)}),C},generateStyleSheets:()=>{var B,P;const C=[],x=e.defaultColorScheme||"light";function k(c,A){Object.keys(A).length&&C.push(typeof c=="string"?{[c]:{...A}}:c)}k(n(void 0,{...d}),d);const{[x]:O,...T}=h;if(O){const{css:c}=O,A=(P=(B=a[x])==null?void 0:B.palette)==null?void 0:P.mode,L=!r&&A?{colorScheme:A,...c}:{...c};k(n(x,{...L}),L)}return Object.entries(T).forEach(([c,{css:A}])=>{var _,M;const L=(M=(_=a[c])==null?void 0:_.palette)==null?void 0:M.mode,D=!r&&L?{colorScheme:L,...A}:{...A};k(n(c,{...D}),D)}),C}}}function Ld(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function el(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Hn.white,default:Hn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const $d=el();function tl(){return{text:{primary:Hn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Hn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Xa=tl();function Ja(e,t,n,r){const o=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=ra(e.main,o):t==="dark"&&(e.dark=na(e.main,a)))}function Dd(e="light"){return e==="dark"?{main:an[200],light:an[50],dark:an[400]}:{main:an[700],light:an[400],dark:an[800]}}function Md(e="light"){return e==="dark"?{main:on[200],light:on[50],dark:on[400]}:{main:on[500],light:on[300],dark:on[700]}}function Pd(e="light"){return e==="dark"?{main:rn[500],light:rn[300],dark:rn[700]}:{main:rn[700],light:rn[400],dark:rn[800]}}function jd(e="light"){return e==="dark"?{main:sn[400],light:sn[300],dark:sn[700]}:{main:sn[700],light:sn[500],dark:sn[900]}}function _d(e="light"){return e==="dark"?{main:ln[400],light:ln[300],dark:ln[700]}:{main:ln[800],light:ln[500],dark:ln[900]}}function Bd(e="light"){return e==="dark"?{main:Ln[400],light:Ln[300],dark:Ln[700]}:{main:"#ed6c02",light:Ln[500],dark:Ln[900]}}function aa(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,a=e.primary||Dd(t),i=e.secondary||Md(t),s=e.error||Pd(t),l=e.info||jd(t),u=e.success||_d(t),d=e.warning||Bd(t);function f(p){return cd(p,Xa.text.primary)>=n?Xa.text.primary:$d.text.primary}const m=({color:p,name:b,mainShade:v=500,lightShade:E=300,darkShade:C=700})=>{if(p={...p},!p.main&&p[v]&&(p.main=p[v]),!p.hasOwnProperty("main"))throw new Error(Yt(11,b?` (${b})`:"",v));if(typeof p.main!="string")throw new Error(Yt(12,b?` (${b})`:"",JSON.stringify(p.main)));return Ja(p,"light",E,r),Ja(p,"dark",C,r),p.contrastText||(p.contrastText=f(p.main)),p};let h;return t==="light"?h=el():t==="dark"&&(h=tl()),Ve({common:{...Hn},mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:u,name:"success"}),grey:Jl,contrastThreshold:n,getContrastText:f,augmentColor:m,tonalOffset:r,...h},o)}function Nd(e){const t={};return Object.entries(e).forEach(r=>{const[o,a]=r;typeof a=="object"&&(t[o]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function Id(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Fd(e){return Math.round(e*1e5)/1e5}const Qa={textTransform:"uppercase"},Za='"Roboto", "Helvetica", "Arial", sans-serif';function Wd(e,t){const{fontFamily:n=Za,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:u,pxToRem:d,...f}=typeof t=="function"?t(e):t,m=r/14,h=d||(b=>`${b/l*m}rem`),g=(b,v,E,C,x)=>({fontFamily:n,fontWeight:b,fontSize:h(v),lineHeight:E,...n===Za?{letterSpacing:`${Fd(C/v)}em`}:{},...x,...u}),p={h1:g(o,96,1.167,-1.5),h2:g(o,60,1.2,-.5),h3:g(a,48,1.167,0),h4:g(a,34,1.235,.25),h5:g(a,24,1.334,0),h6:g(i,20,1.6,.15),subtitle1:g(a,16,1.75,.15),subtitle2:g(i,14,1.57,.1),body1:g(a,16,1.5,.15),body2:g(a,14,1.43,.15),button:g(i,14,1.75,.4,Qa),caption:g(a,12,1.66,.4),overline:g(a,12,2.66,1,Qa),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return Ve({htmlFontSize:l,pxToRem:h,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...p},f,{clone:!1})}const Hd=.2,Vd=.14,zd=.12;function oe(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Hd})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Vd})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${zd})`].join(",")}const Ud=["none",oe(0,2,1,-1,0,1,1,0,0,1,3,0),oe(0,3,1,-2,0,2,2,0,0,1,5,0),oe(0,3,3,-2,0,3,4,0,0,1,8,0),oe(0,2,4,-1,0,4,5,0,0,1,10,0),oe(0,3,5,-1,0,5,8,0,0,1,14,0),oe(0,3,5,-1,0,6,10,0,0,1,18,0),oe(0,4,5,-2,0,7,10,1,0,2,16,1),oe(0,5,5,-3,0,8,10,1,0,3,14,2),oe(0,5,6,-3,0,9,12,1,0,3,16,2),oe(0,6,6,-3,0,10,14,1,0,4,18,3),oe(0,6,7,-4,0,11,15,1,0,4,20,3),oe(0,7,8,-4,0,12,17,2,0,5,22,4),oe(0,7,8,-4,0,13,19,2,0,5,24,4),oe(0,7,9,-4,0,14,21,2,0,5,26,4),oe(0,8,9,-5,0,15,22,2,0,6,28,5),oe(0,8,10,-5,0,16,24,2,0,6,30,5),oe(0,8,11,-5,0,17,26,2,0,6,32,5),oe(0,9,11,-5,0,18,28,2,0,7,34,6),oe(0,9,12,-6,0,19,29,2,0,7,36,6),oe(0,10,13,-6,0,20,31,3,0,8,38,7),oe(0,10,13,-6,0,21,33,3,0,8,40,7),oe(0,10,14,-6,0,22,35,3,0,8,42,7),oe(0,11,14,-7,0,23,36,3,0,9,44,8),oe(0,11,15,-7,0,24,38,3,0,9,46,8)],qd={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Gd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ei(e){return`${Math.round(e)}ms`}function Kd(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function Yd(e){const t={...qd,...e.easing},n={...Gd,...e.duration};return{getAutoHeightDuration:Kd,create:(o=["all"],a={})=>{const{duration:i=n.standard,easing:s=t.easeInOut,delay:l=0,...u}=a;return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof i=="string"?i:ei(i)} ${s} ${typeof l=="string"?l:ei(l)}`).join(",")},...e,easing:t,duration:n}}const Xd={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function Jd(e){return At(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function nl(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let a=0;aVe(h,g),m),m.unstable_sxConfig={...ro,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(g){return gn({sx:g,theme:this})},m.toRuntimeSource=nl,m}function Qd(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const Zd=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=Qd(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function rl(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ol(e){return e==="dark"?Zd:[]}function ef(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,a=aa(t);return{palette:a,opacity:{...rl(a.mode),...n},overlays:r||ol(a.mode),...o}}function tf(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const nf=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],rf=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let a=o;if(o==="class"&&(a=".%s"),o==="data"&&(a="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(a=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return nf(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace("%s",t)]:i,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function of(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function w(e,t,n){!e[t]&&n&&(e[t]=n)}function Bn(e){return typeof e!="string"||!e.startsWith("hsl")?e:Ks(e)}function Tt(e,t){`${t}Channel`in e||(e[`${t}Channel`]=jn(Bn(e[t])))}function af(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const gt=e=>{try{return e()}catch{}},sf=(e="mui")=>Td(e);function go(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=ef({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:a,...i}=Do({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...rl(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ol(o)},i}function lf(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:i=tf,colorSchemeSelector:s=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...u}=e,d=Object.keys(n)[0],f=r||(n.light&&d!=="light"?"light":d),m=sf(a),{[f]:h,light:g,dark:p,...b}=n,v={...b};let E=h;if((f==="dark"&&!("dark"in n)||f==="light"&&!("light"in n))&&(E=!0),!E)throw new Error(Yt(21,f));const C=go(v,E,u,f);g&&!v.light&&go(v,g,void 0,"light"),p&&!v.dark&&go(v,p,void 0,"dark");let x={defaultColorScheme:f,...C,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:l,getCssVar:m,colorSchemes:v,font:{...Nd(C.typography),...C.font},spacing:af(u.spacing)};Object.keys(x.colorSchemes).forEach(P=>{const c=x.colorSchemes[P].palette,A=L=>{const D=L.split("-"),_=D[1],M=D[2];return m(L,c[_][M])};if(c.mode==="light"&&(w(c.common,"background","#fff"),w(c.common,"onBackground","#000")),c.mode==="dark"&&(w(c.common,"background","#000"),w(c.common,"onBackground","#fff")),of(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){w(c.Alert,"errorColor",ee(c.error.light,.6)),w(c.Alert,"infoColor",ee(c.info.light,.6)),w(c.Alert,"successColor",ee(c.success.light,.6)),w(c.Alert,"warningColor",ee(c.warning.light,.6)),w(c.Alert,"errorFilledBg",A("palette-error-main")),w(c.Alert,"infoFilledBg",A("palette-info-main")),w(c.Alert,"successFilledBg",A("palette-success-main")),w(c.Alert,"warningFilledBg",A("palette-warning-main")),w(c.Alert,"errorFilledColor",gt(()=>c.getContrastText(c.error.main))),w(c.Alert,"infoFilledColor",gt(()=>c.getContrastText(c.info.main))),w(c.Alert,"successFilledColor",gt(()=>c.getContrastText(c.success.main))),w(c.Alert,"warningFilledColor",gt(()=>c.getContrastText(c.warning.main))),w(c.Alert,"errorStandardBg",te(c.error.light,.9)),w(c.Alert,"infoStandardBg",te(c.info.light,.9)),w(c.Alert,"successStandardBg",te(c.success.light,.9)),w(c.Alert,"warningStandardBg",te(c.warning.light,.9)),w(c.Alert,"errorIconColor",A("palette-error-main")),w(c.Alert,"infoIconColor",A("palette-info-main")),w(c.Alert,"successIconColor",A("palette-success-main")),w(c.Alert,"warningIconColor",A("palette-warning-main")),w(c.AppBar,"defaultBg",A("palette-grey-100")),w(c.Avatar,"defaultBg",A("palette-grey-400")),w(c.Button,"inheritContainedBg",A("palette-grey-300")),w(c.Button,"inheritContainedHoverBg",A("palette-grey-A100")),w(c.Chip,"defaultBorder",A("palette-grey-400")),w(c.Chip,"defaultAvatarColor",A("palette-grey-700")),w(c.Chip,"defaultIconColor",A("palette-grey-700")),w(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),w(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),w(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),w(c.LinearProgress,"primaryBg",te(c.primary.main,.62)),w(c.LinearProgress,"secondaryBg",te(c.secondary.main,.62)),w(c.LinearProgress,"errorBg",te(c.error.main,.62)),w(c.LinearProgress,"infoBg",te(c.info.main,.62)),w(c.LinearProgress,"successBg",te(c.success.main,.62)),w(c.LinearProgress,"warningBg",te(c.warning.main,.62)),w(c.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.11)`),w(c.Slider,"primaryTrack",te(c.primary.main,.62)),w(c.Slider,"secondaryTrack",te(c.secondary.main,.62)),w(c.Slider,"errorTrack",te(c.error.main,.62)),w(c.Slider,"infoTrack",te(c.info.main,.62)),w(c.Slider,"successTrack",te(c.success.main,.62)),w(c.Slider,"warningTrack",te(c.warning.main,.62));const L=cr(c.background.default,.8);w(c.SnackbarContent,"bg",L),w(c.SnackbarContent,"color",gt(()=>c.getContrastText(L))),w(c.SpeedDialAction,"fabHoverBg",cr(c.background.paper,.15)),w(c.StepConnector,"border",A("palette-grey-400")),w(c.StepContent,"border",A("palette-grey-400")),w(c.Switch,"defaultColor",A("palette-common-white")),w(c.Switch,"defaultDisabledColor",A("palette-grey-100")),w(c.Switch,"primaryDisabledColor",te(c.primary.main,.62)),w(c.Switch,"secondaryDisabledColor",te(c.secondary.main,.62)),w(c.Switch,"errorDisabledColor",te(c.error.main,.62)),w(c.Switch,"infoDisabledColor",te(c.info.main,.62)),w(c.Switch,"successDisabledColor",te(c.success.main,.62)),w(c.Switch,"warningDisabledColor",te(c.warning.main,.62)),w(c.TableCell,"border",te(lr(c.divider,1),.88)),w(c.Tooltip,"bg",lr(c.grey[700],.92))}if(c.mode==="dark"){w(c.Alert,"errorColor",te(c.error.light,.6)),w(c.Alert,"infoColor",te(c.info.light,.6)),w(c.Alert,"successColor",te(c.success.light,.6)),w(c.Alert,"warningColor",te(c.warning.light,.6)),w(c.Alert,"errorFilledBg",A("palette-error-dark")),w(c.Alert,"infoFilledBg",A("palette-info-dark")),w(c.Alert,"successFilledBg",A("palette-success-dark")),w(c.Alert,"warningFilledBg",A("palette-warning-dark")),w(c.Alert,"errorFilledColor",gt(()=>c.getContrastText(c.error.dark))),w(c.Alert,"infoFilledColor",gt(()=>c.getContrastText(c.info.dark))),w(c.Alert,"successFilledColor",gt(()=>c.getContrastText(c.success.dark))),w(c.Alert,"warningFilledColor",gt(()=>c.getContrastText(c.warning.dark))),w(c.Alert,"errorStandardBg",ee(c.error.light,.9)),w(c.Alert,"infoStandardBg",ee(c.info.light,.9)),w(c.Alert,"successStandardBg",ee(c.success.light,.9)),w(c.Alert,"warningStandardBg",ee(c.warning.light,.9)),w(c.Alert,"errorIconColor",A("palette-error-main")),w(c.Alert,"infoIconColor",A("palette-info-main")),w(c.Alert,"successIconColor",A("palette-success-main")),w(c.Alert,"warningIconColor",A("palette-warning-main")),w(c.AppBar,"defaultBg",A("palette-grey-900")),w(c.AppBar,"darkBg",A("palette-background-paper")),w(c.AppBar,"darkColor",A("palette-text-primary")),w(c.Avatar,"defaultBg",A("palette-grey-600")),w(c.Button,"inheritContainedBg",A("palette-grey-800")),w(c.Button,"inheritContainedHoverBg",A("palette-grey-700")),w(c.Chip,"defaultBorder",A("palette-grey-700")),w(c.Chip,"defaultAvatarColor",A("palette-grey-300")),w(c.Chip,"defaultIconColor",A("palette-grey-300")),w(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),w(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),w(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),w(c.LinearProgress,"primaryBg",ee(c.primary.main,.5)),w(c.LinearProgress,"secondaryBg",ee(c.secondary.main,.5)),w(c.LinearProgress,"errorBg",ee(c.error.main,.5)),w(c.LinearProgress,"infoBg",ee(c.info.main,.5)),w(c.LinearProgress,"successBg",ee(c.success.main,.5)),w(c.LinearProgress,"warningBg",ee(c.warning.main,.5)),w(c.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.13)`),w(c.Slider,"primaryTrack",ee(c.primary.main,.5)),w(c.Slider,"secondaryTrack",ee(c.secondary.main,.5)),w(c.Slider,"errorTrack",ee(c.error.main,.5)),w(c.Slider,"infoTrack",ee(c.info.main,.5)),w(c.Slider,"successTrack",ee(c.success.main,.5)),w(c.Slider,"warningTrack",ee(c.warning.main,.5));const L=cr(c.background.default,.98);w(c.SnackbarContent,"bg",L),w(c.SnackbarContent,"color",gt(()=>c.getContrastText(L))),w(c.SpeedDialAction,"fabHoverBg",cr(c.background.paper,.15)),w(c.StepConnector,"border",A("palette-grey-600")),w(c.StepContent,"border",A("palette-grey-600")),w(c.Switch,"defaultColor",A("palette-grey-300")),w(c.Switch,"defaultDisabledColor",A("palette-grey-600")),w(c.Switch,"primaryDisabledColor",ee(c.primary.main,.55)),w(c.Switch,"secondaryDisabledColor",ee(c.secondary.main,.55)),w(c.Switch,"errorDisabledColor",ee(c.error.main,.55)),w(c.Switch,"infoDisabledColor",ee(c.info.main,.55)),w(c.Switch,"successDisabledColor",ee(c.success.main,.55)),w(c.Switch,"warningDisabledColor",ee(c.warning.main,.55)),w(c.TableCell,"border",ee(lr(c.divider,1),.68)),w(c.Tooltip,"bg",lr(c.grey[700],.92))}Tt(c.background,"default"),Tt(c.background,"paper"),Tt(c.common,"background"),Tt(c.common,"onBackground"),Tt(c,"divider"),Object.keys(c).forEach(L=>{const D=c[L];L!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&w(c[L],"mainChannel",jn(Bn(D.main))),D.light&&w(c[L],"lightChannel",jn(Bn(D.light))),D.dark&&w(c[L],"darkChannel",jn(Bn(D.dark))),D.contrastText&&w(c[L],"contrastTextChannel",jn(Bn(D.contrastText))),L==="text"&&(Tt(c[L],"primary"),Tt(c[L],"secondary")),L==="action"&&(D.active&&Tt(c[L],"active"),D.selected&&Tt(c[L],"selected")))})}),x=t.reduce((P,c)=>Ve(P,c),x);const k={prefix:a,disableCssColorScheme:o,shouldSkipGeneratingVar:i,getSelector:rf(x)},{vars:O,generateThemeVars:T,generateStyleSheets:B}=Rd(x,k);return x.vars=O,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([P,c])=>{x[P]=c}),x.generateThemeVars=T,x.generateStyleSheets=B,x.generateSpacing=function(){return Vs(u.spacing,Xo(this))},x.getColorSchemeSelector=Ld(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=i,x.unstable_sxConfig={...ro,...u==null?void 0:u.unstable_sxConfig},x.unstable_sx=function(c){return gn({sx:c,theme:this})},x.toRuntimeSource=nl,x}function ti(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:aa({...n===!0?{}:n.palette,mode:t})})}function cf(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...i}=e,s=a||"light",l=o==null?void 0:o[s],u={...o,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Do(e,...t);let d=n;"palette"in e||u[s]&&(u[s]!==!0?d=u[s].palette:s==="dark"&&(d={mode:"dark"}));const f=Do({...e,palette:d},...t);return f.defaultColorScheme=s,f.colorSchemes=u,f.palette.mode==="light"&&(f.colorSchemes.light={...u.light!==!0&&u.light,palette:f.palette},ti(f,"dark",u.dark)),f.palette.mode==="dark"&&(f.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:f.palette},ti(f,"light",u.light)),f}return!n&&!("light"in u)&&s==="light"&&(u.light=!0),lf({...i,colorSchemes:u,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}const al=cf();function il(){const e=Ku(al);return e[As]||e}function uf(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const df=e=>uf(e)&&e!=="classes",io=td({themeId:As,defaultTheme:al,rootShouldForwardProp:df}),ia=Ed;function sl(e){return kd(e)}function ff(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}function Mo(e,t){return Mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Mo(e,t)}function pf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mo(e,t)}const ni={disabled:!1},ll=We.createContext(null);var mf=function(t){return t.scrollTop},Nn="unmounted",zt="exited",Ut="entering",dn="entered",Po="exiting",Lt=function(e){pf(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var i=o,s=i&&!i.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?s?(l=zt,a.appearStatus=Ut):l=dn:r.unmountOnExit||r.mountOnEnter?l=Nn:l=zt,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===Nn?{status:zt}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==Ut&&i!==dn&&(a=Ut):(i===Ut||i===dn)&&(a=Po)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,i,s;return a=i=s=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,s=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:s}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===Ut){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:ir.findDOMNode(this);i&&mf(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zt&&this.setState({status:Nn})},n.performEnter=function(o){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[ir.findDOMNode(this),s],u=l[0],d=l[1],f=this.getTimeouts(),m=s?f.appear:f.enter;if(!o&&!i||ni.disabled){this.safeSetState({status:dn},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:Ut},function(){a.props.onEntering(u,d),a.onTransitionEnd(m,function(){a.safeSetState({status:dn},function(){a.props.onEntered(u,d)})})})},n.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:ir.findDOMNode(this);if(!a||ni.disabled){this.safeSetState({status:zt},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:Po},function(){o.props.onExiting(s),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:zt},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,o(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:ir.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===Nn)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=ff(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return We.createElement(ll.Provider,{value:null},typeof i=="function"?i(o,s):We.cloneElement(We.Children.only(i),s))},t}(We.Component);Lt.contextType=ll;Lt.propTypes={};function cn(){}Lt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:cn,onEntering:cn,onEntered:cn,onExit:cn,onExiting:cn,onExited:cn};Lt.UNMOUNTED=Nn;Lt.EXITED=zt;Lt.ENTERING=Ut;Lt.ENTERED=dn;Lt.EXITING=Po;const hf=e=>e.scrollTop;function ri(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function ur(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,internalForwardedProps:i,...s}=t,{component:l,slots:u={[e]:void 0},slotProps:d={[e]:void 0},...f}=a,m=u[e]||r,h=Qs(d[e],o),{props:{component:g,...p},internalRef:b}=Js({className:n,...s,externalForwardedProps:e==="root"?f:void 0,externalSlotProps:h}),v=Xt(b,h==null?void 0:h.ref,t.ref),E=e==="root"?g||l:g,C=Xs(m,{...e==="root"&&!l&&!u[e]&&i,...e!=="root"&&!u[e]&&i,...p,...E&&{as:E},ref:v},o);return[m,C]}var Pe="top",Ze="bottom",et="right",je="left",sa="auto",Zn=[Pe,Ze,et,je],yn="start",Gn="end",gf="clippingParents",cl="viewport",Dn="popper",yf="reference",oi=Zn.reduce(function(e,t){return e.concat([t+"-"+yn,t+"-"+Gn])},[]),ul=[].concat(Zn,[sa]).reduce(function(e,t){return e.concat([t,t+"-"+yn,t+"-"+Gn])},[]),vf="beforeRead",bf="read",xf="afterRead",wf="beforeMain",Sf="main",Cf="afterMain",kf="beforeWrite",Ef="write",Tf="afterWrite",Af=[vf,bf,xf,wf,Sf,Cf,kf,Ef,Tf];function wt(e){return e?(e.nodeName||"").toLowerCase():null}function Ue(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Jt(e){var t=Ue(e).Element;return e instanceof t||e instanceof Element}function Qe(e){var t=Ue(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function la(e){if(typeof ShadowRoot>"u")return!1;var t=Ue(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Of(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!Qe(a)||!wt(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(i){var s=o[i];s===!1?a.removeAttribute(i):a.setAttribute(i,s===!0?"":s)}))})}function Rf(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],a=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=i.reduce(function(l,u){return l[u]="",l},{});!Qe(o)||!wt(o)||(Object.assign(o.style,s),Object.keys(a).forEach(function(l){o.removeAttribute(l)}))})}}const Lf={name:"applyStyles",enabled:!0,phase:"write",fn:Of,effect:Rf,requires:["computeStyles"]};function xt(e){return e.split("-")[0]}var qt=Math.max,Ir=Math.min,vn=Math.round;function jo(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function dl(){return!/^((?!chrome|android).)*safari/i.test(jo())}function bn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Qe(e)&&(o=e.offsetWidth>0&&vn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&vn(r.height)/e.offsetHeight||1);var i=Jt(e)?Ue(e):window,s=i.visualViewport,l=!dl()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/o,d=(r.top+(l&&s?s.offsetTop:0))/a,f=r.width/o,m=r.height/a;return{width:f,height:m,top:d,right:u+f,bottom:d+m,left:u,x:u,y:d}}function ca(e){var t=bn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function fl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&la(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Rt(e){return Ue(e).getComputedStyle(e)}function $f(e){return["table","td","th"].indexOf(wt(e))>=0}function Ft(e){return((Jt(e)?e.ownerDocument:e.document)||window.document).documentElement}function so(e){return wt(e)==="html"?e:e.assignedSlot||e.parentNode||(la(e)?e.host:null)||Ft(e)}function ai(e){return!Qe(e)||Rt(e).position==="fixed"?null:e.offsetParent}function Df(e){var t=/firefox/i.test(jo()),n=/Trident/i.test(jo());if(n&&Qe(e)){var r=Rt(e);if(r.position==="fixed")return null}var o=so(e);for(la(o)&&(o=o.host);Qe(o)&&["html","body"].indexOf(wt(o))<0;){var a=Rt(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function er(e){for(var t=Ue(e),n=ai(e);n&&$f(n)&&Rt(n).position==="static";)n=ai(n);return n&&(wt(n)==="html"||wt(n)==="body"&&Rt(n).position==="static")?t:n||Df(e)||t}function ua(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Fn(e,t,n){return qt(e,Ir(t,n))}function Mf(e,t,n){var r=Fn(e,t,n);return r>n?n:r}function pl(){return{top:0,right:0,bottom:0,left:0}}function ml(e){return Object.assign({},pl(),e)}function hl(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var Pf=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,ml(typeof t!="number"?t:hl(t,Zn))};function jf(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=xt(n.placement),l=ua(s),u=[je,et].indexOf(s)>=0,d=u?"height":"width";if(!(!a||!i)){var f=Pf(o.padding,n),m=ca(a),h=l==="y"?Pe:je,g=l==="y"?Ze:et,p=n.rects.reference[d]+n.rects.reference[l]-i[l]-n.rects.popper[d],b=i[l]-n.rects.reference[l],v=er(a),E=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,C=p/2-b/2,x=f[h],k=E-m[d]-f[g],O=E/2-m[d]/2+C,T=Fn(x,O,k),B=l;n.modifiersData[r]=(t={},t[B]=T,t.centerOffset=T-O,t)}}function _f(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||fl(t.elements.popper,o)&&(t.elements.arrow=o))}const Bf={name:"arrow",enabled:!0,phase:"main",fn:jf,effect:_f,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function xn(e){return e.split("-")[1]}var Nf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function If(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:vn(n*o)/o||0,y:vn(r*o)/o||0}}function ii(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,f=e.isFixed,m=i.x,h=m===void 0?0:m,g=i.y,p=g===void 0?0:g,b=typeof d=="function"?d({x:h,y:p}):{x:h,y:p};h=b.x,p=b.y;var v=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),C=je,x=Pe,k=window;if(u){var O=er(n),T="clientHeight",B="clientWidth";if(O===Ue(n)&&(O=Ft(n),Rt(O).position!=="static"&&s==="absolute"&&(T="scrollHeight",B="scrollWidth")),O=O,o===Pe||(o===je||o===et)&&a===Gn){x=Ze;var P=f&&O===k&&k.visualViewport?k.visualViewport.height:O[T];p-=P-r.height,p*=l?1:-1}if(o===je||(o===Pe||o===Ze)&&a===Gn){C=et;var c=f&&O===k&&k.visualViewport?k.visualViewport.width:O[B];h-=c-r.width,h*=l?1:-1}}var A=Object.assign({position:s},u&&Nf),L=d===!0?If({x:h,y:p},Ue(n)):{x:h,y:p};if(h=L.x,p=L.y,l){var D;return Object.assign({},A,(D={},D[x]=E?"0":"",D[C]=v?"0":"",D.transform=(k.devicePixelRatio||1)<=1?"translate("+h+"px, "+p+"px)":"translate3d("+h+"px, "+p+"px, 0)",D))}return Object.assign({},A,(t={},t[x]=E?p+"px":"",t[C]=v?h+"px":"",t.transform="",t))}function Ff(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,i=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:xt(t.placement),variation:xn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,ii(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,ii(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const Wf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ff,data:{}};var dr={passive:!0};function Hf(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,i=r.resize,s=i===void 0?!0:i,l=Ue(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(d){d.addEventListener("scroll",n.update,dr)}),s&&l.addEventListener("resize",n.update,dr),function(){a&&u.forEach(function(d){d.removeEventListener("scroll",n.update,dr)}),s&&l.removeEventListener("resize",n.update,dr)}}const Vf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Hf,data:{}};var zf={left:"right",right:"left",bottom:"top",top:"bottom"};function jr(e){return e.replace(/left|right|bottom|top/g,function(t){return zf[t]})}var Uf={start:"end",end:"start"};function si(e){return e.replace(/start|end/g,function(t){return Uf[t]})}function da(e){var t=Ue(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function fa(e){return bn(Ft(e)).left+da(e).scrollLeft}function qf(e,t){var n=Ue(e),r=Ft(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;var u=dl();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s+fa(e),y:l}}function Gf(e){var t,n=Ft(e),r=da(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=qt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=qt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+fa(e),l=-r.scrollTop;return Rt(o||n).direction==="rtl"&&(s+=qt(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}function pa(e){var t=Rt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function gl(e){return["html","body","#document"].indexOf(wt(e))>=0?e.ownerDocument.body:Qe(e)&&pa(e)?e:gl(so(e))}function Wn(e,t){var n;t===void 0&&(t=[]);var r=gl(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=Ue(r),i=o?[a].concat(a.visualViewport||[],pa(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(Wn(so(i)))}function _o(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Kf(e,t){var n=bn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function li(e,t,n){return t===cl?_o(qf(e,n)):Jt(t)?Kf(t,n):_o(Gf(Ft(e)))}function Yf(e){var t=Wn(so(e)),n=["absolute","fixed"].indexOf(Rt(e).position)>=0,r=n&&Qe(e)?er(e):e;return Jt(r)?t.filter(function(o){return Jt(o)&&fl(o,r)&&wt(o)!=="body"}):[]}function Xf(e,t,n,r){var o=t==="clippingParents"?Yf(e):[].concat(t),a=[].concat(o,[n]),i=a[0],s=a.reduce(function(l,u){var d=li(e,u,r);return l.top=qt(d.top,l.top),l.right=Ir(d.right,l.right),l.bottom=Ir(d.bottom,l.bottom),l.left=qt(d.left,l.left),l},li(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function yl(e){var t=e.reference,n=e.element,r=e.placement,o=r?xt(r):null,a=r?xn(r):null,i=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case Pe:l={x:i,y:t.y-n.height};break;case Ze:l={x:i,y:t.y+t.height};break;case et:l={x:t.x+t.width,y:s};break;case je:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=o?ua(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(a){case yn:l[u]=l[u]-(t[d]/2-n[d]/2);break;case Gn:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function Kn(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,i=a===void 0?e.strategy:a,s=n.boundary,l=s===void 0?gf:s,u=n.rootBoundary,d=u===void 0?cl:u,f=n.elementContext,m=f===void 0?Dn:f,h=n.altBoundary,g=h===void 0?!1:h,p=n.padding,b=p===void 0?0:p,v=ml(typeof b!="number"?b:hl(b,Zn)),E=m===Dn?yf:Dn,C=e.rects.popper,x=e.elements[g?E:m],k=Xf(Jt(x)?x:x.contextElement||Ft(e.elements.popper),l,d,i),O=bn(e.elements.reference),T=yl({reference:O,element:C,strategy:"absolute",placement:o}),B=_o(Object.assign({},C,T)),P=m===Dn?B:O,c={top:k.top-P.top+v.top,bottom:P.bottom-k.bottom+v.bottom,left:k.left-P.left+v.left,right:P.right-k.right+v.right},A=e.modifiersData.offset;if(m===Dn&&A){var L=A[o];Object.keys(c).forEach(function(D){var _=[et,Ze].indexOf(D)>=0?1:-1,M=[Pe,Ze].indexOf(D)>=0?"y":"x";c[D]+=L[M]*_})}return c}function Jf(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?ul:l,d=xn(r),f=d?s?oi:oi.filter(function(g){return xn(g)===d}):Zn,m=f.filter(function(g){return u.indexOf(g)>=0});m.length===0&&(m=f);var h=m.reduce(function(g,p){return g[p]=Kn(e,{placement:p,boundary:o,rootBoundary:a,padding:i})[xt(p)],g},{});return Object.keys(h).sort(function(g,p){return h[g]-h[p]})}function Qf(e){if(xt(e)===sa)return[];var t=jr(e);return[si(e),t,si(t)]}function Zf(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,s=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,d=n.boundary,f=n.rootBoundary,m=n.altBoundary,h=n.flipVariations,g=h===void 0?!0:h,p=n.allowedAutoPlacements,b=t.options.placement,v=xt(b),E=v===b,C=l||(E||!g?[jr(b)]:Qf(b)),x=[b].concat(C).reduce(function(xe,ue){return xe.concat(xt(ue)===sa?Jf(t,{placement:ue,boundary:d,rootBoundary:f,padding:u,flipVariations:g,allowedAutoPlacements:p}):ue)},[]),k=t.rects.reference,O=t.rects.popper,T=new Map,B=!0,P=x[0],c=0;c=0,M=_?"width":"height",N=Kn(t,{placement:A,boundary:d,rootBoundary:f,altBoundary:m,padding:u}),j=_?D?et:je:D?Ze:Pe;k[M]>O[M]&&(j=jr(j));var H=jr(j),z=[];if(a&&z.push(N[L]<=0),s&&z.push(N[j]<=0,N[H]<=0),z.every(function(xe){return xe})){P=A,B=!1;break}T.set(A,z)}if(B)for(var K=g?3:1,Q=function(ue){var Ae=x.find(function(Y){var F=T.get(Y);if(F)return F.slice(0,ue).every(function(X){return X})});if(Ae)return P=Ae,"break"},be=K;be>0;be--){var Be=Q(be);if(Be==="break")break}t.placement!==P&&(t.modifiersData[r]._skip=!0,t.placement=P,t.reset=!0)}}const ep={name:"flip",enabled:!0,phase:"main",fn:Zf,requiresIfExists:["offset"],data:{_skip:!1}};function ci(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ui(e){return[Pe,et,Ze,je].some(function(t){return e[t]>=0})}function tp(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Kn(t,{elementContext:"reference"}),s=Kn(t,{altBoundary:!0}),l=ci(i,r),u=ci(s,o,a),d=ui(l),f=ui(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:f},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":f})}const np={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:tp};function rp(e,t,n){var r=xt(e),o=[je,Pe].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[je,et].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function op(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,i=ul.reduce(function(d,f){return d[f]=rp(f,t.rects,a),d},{}),s=i[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}const ap={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:op};function ip(e){var t=e.state,n=e.name;t.modifiersData[n]=yl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const sp={name:"popperOffsets",enabled:!0,phase:"read",fn:ip,data:{}};function lp(e){return e==="x"?"y":"x"}function cp(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,s=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,f=n.padding,m=n.tether,h=m===void 0?!0:m,g=n.tetherOffset,p=g===void 0?0:g,b=Kn(t,{boundary:l,rootBoundary:u,padding:f,altBoundary:d}),v=xt(t.placement),E=xn(t.placement),C=!E,x=ua(v),k=lp(x),O=t.modifiersData.popperOffsets,T=t.rects.reference,B=t.rects.popper,P=typeof p=="function"?p(Object.assign({},t.rects,{placement:t.placement})):p,c=typeof P=="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(O){if(a){var D,_=x==="y"?Pe:je,M=x==="y"?Ze:et,N=x==="y"?"height":"width",j=O[x],H=j+b[_],z=j-b[M],K=h?-B[N]/2:0,Q=E===yn?T[N]:B[N],be=E===yn?-B[N]:-T[N],Be=t.elements.arrow,xe=h&&Be?ca(Be):{width:0,height:0},ue=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pl(),Ae=ue[_],Y=ue[M],F=Fn(0,T[N],xe[N]),X=C?T[N]/2-K-F-Ae-c.mainAxis:Q-F-Ae-c.mainAxis,de=C?-T[N]/2+K+F+Y+c.mainAxis:be+F+Y+c.mainAxis,fe=t.elements.arrow&&er(t.elements.arrow),pe=fe?x==="y"?fe.clientTop||0:fe.clientLeft||0:0,Oe=(D=A==null?void 0:A[x])!=null?D:0,rt=j+X-Oe-pe,me=j+de-Oe,ut=Fn(h?Ir(H,rt):H,j,h?qt(z,me):z);O[x]=ut,L[x]=ut-j}if(s){var Re,De=x==="x"?Pe:je,J=x==="x"?Ze:et,Ce=O[k],Ne=k==="y"?"height":"width",ot=Ce+b[De],at=Ce-b[J],dt=[Pe,je].indexOf(v)!==-1,it=(Re=A==null?void 0:A[k])!=null?Re:0,Ie=dt?ot:Ce-T[Ne]-B[Ne]-it+c.altAxis,qe=dt?Ce+T[Ne]+B[Ne]-it-c.altAxis:at,Ge=h&&dt?Mf(Ie,Ce,qe):Fn(h?Ie:ot,Ce,h?qe:at);O[k]=Ge,L[k]=Ge-Ce}t.modifiersData[r]=L}}const up={name:"preventOverflow",enabled:!0,phase:"main",fn:cp,requiresIfExists:["offset"]};function dp(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function fp(e){return e===Ue(e)||!Qe(e)?da(e):dp(e)}function pp(e){var t=e.getBoundingClientRect(),n=vn(t.width)/e.offsetWidth||1,r=vn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function mp(e,t,n){n===void 0&&(n=!1);var r=Qe(t),o=Qe(t)&&pp(t),a=Ft(t),i=bn(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((wt(t)!=="body"||pa(a))&&(s=fp(t)),Qe(t)?(l=bn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=fa(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function hp(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function gp(e){var t=hp(e);return Af.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function yp(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function vp(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var di={placement:"bottom",modifiers:[],strategy:"absolute"};function fi(){for(var e=arguments.length,t=new Array(e),n=0;n{a||s(Sp(o)||document.body)},[o,a]),qn(()=>{if(i&&!a)return $o(n,i),()=>{$o(n,null)}},[n,i,a]),a){if(y.isValidElement(r)){const u={ref:l};return y.cloneElement(r,u)}return r}return i&&Kl.createPortal(r,i)});function kp(e){return Zo("MuiPopper",e)}Us("MuiPopper",["root"]);function Ep(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Bo(e){return typeof e=="function"?e():e}function Tp(e){return e.nodeType!==void 0}const Ap=e=>{const{classes:t}=e;return Ys({root:["root"]},kp,t)},Op={},Rp=y.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:a,disablePortal:i,modifiers:s,open:l,placement:u,popperOptions:d,popperRef:f,slotProps:m={},slots:h={},TransitionProps:g,ownerState:p,...b}=t,v=y.useRef(null),E=Xt(v,n),C=y.useRef(null),x=Xt(C,f),k=y.useRef(x);qn(()=>{k.current=x},[x]),y.useImperativeHandle(f,()=>C.current,[]);const O=Ep(u,a),[T,B]=y.useState(O),[P,c]=y.useState(Bo(r));y.useEffect(()=>{C.current&&C.current.forceUpdate()}),y.useEffect(()=>{r&&c(Bo(r))},[r]),qn(()=>{if(!P||!l)return;const M=H=>{B(H.placement)};let N=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:H})=>{M(H)}}];s!=null&&(N=N.concat(s)),d&&d.modifiers!=null&&(N=N.concat(d.modifiers));const j=wp(P,v.current,{placement:O,...d,modifiers:N});return k.current(j),()=>{j.destroy(),k.current(null)}},[P,i,s,l,d,O]);const A={placement:T};g!==null&&(A.TransitionProps=g);const L=Ap(t),D=h.root??"div",_=xd({elementType:D,externalSlotProps:m.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:E},ownerState:t,className:L.root});return S.jsx(D,{..._,children:typeof o=="function"?o(A):o})}),Lp=y.forwardRef(function(t,n){const{anchorEl:r,children:o,container:a,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:d,placement:f="bottom",popperOptions:m=Op,popperRef:h,style:g,transition:p=!1,slotProps:b={},slots:v={},...E}=t,[C,x]=y.useState(!0),k=()=>{x(!1)},O=()=>{x(!0)};if(!l&&!d&&(!p||C))return null;let T;if(a)T=a;else if(r){const c=Bo(r);T=c&&Tp(c)?Wa(c).body:Wa(null).body}const B=!d&&l&&(!p||C)?"none":void 0,P=p?{in:d,onEnter:k,onExited:O}:void 0;return S.jsx(Cp,{disablePortal:s,container:T,children:S.jsx(Rp,{anchorEl:r,direction:i,disablePortal:s,modifiers:u,ref:n,open:p?!C:d,placement:f,popperOptions:m,popperRef:h,slotProps:b,slots:v,...E,style:{position:"fixed",top:0,left:0,display:B,...g},TransitionProps:P,children:o})})}),$p=io(Lp,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),vl=y.forwardRef(function(t,n){const r=Zs(),o=sl({props:t,name:"MuiPopper"}),{anchorEl:a,component:i,components:s,componentsProps:l,container:u,disablePortal:d,keepMounted:f,modifiers:m,open:h,placement:g,popperOptions:p,popperRef:b,transition:v,slots:E,slotProps:C,...x}=o,k=(E==null?void 0:E.root)??(s==null?void 0:s.Root),O={anchorEl:a,container:u,disablePortal:d,keepMounted:f,modifiers:m,open:h,placement:g,popperOptions:p,popperRef:b,transition:v,...x};return S.jsx($p,{as:i,direction:r?"rtl":"ltr",slots:{root:k},slotProps:C??l,...O,ref:n})});function No(e){return`scale(${e}, ${e**2})`}const Dp={entering:{opacity:1,transform:No(1)},entered:{opacity:1,transform:"none"}},yo=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Io=y.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:a,easing:i,in:s,onEnter:l,onEntered:u,onEntering:d,onExit:f,onExited:m,onExiting:h,style:g,timeout:p="auto",TransitionComponent:b=Lt,...v}=t,E=_n(),C=y.useRef(),x=il(),k=y.useRef(null),O=Xt(k,oa(a),n),T=M=>N=>{if(M){const j=k.current;N===void 0?M(j):M(j,N)}},B=T(d),P=T((M,N)=>{hf(M);const{duration:j,delay:H,easing:z}=ri({style:g,timeout:p,easing:i},{mode:"enter"});let K;p==="auto"?(K=x.transitions.getAutoHeightDuration(M.clientHeight),C.current=K):K=j,M.style.transition=[x.transitions.create("opacity",{duration:K,delay:H}),x.transitions.create("transform",{duration:yo?K:K*.666,delay:H,easing:z})].join(","),l&&l(M,N)}),c=T(u),A=T(h),L=T(M=>{const{duration:N,delay:j,easing:H}=ri({style:g,timeout:p,easing:i},{mode:"exit"});let z;p==="auto"?(z=x.transitions.getAutoHeightDuration(M.clientHeight),C.current=z):z=N,M.style.transition=[x.transitions.create("opacity",{duration:z,delay:j}),x.transitions.create("transform",{duration:yo?z:z*.666,delay:yo?j:j||z*.333,easing:H})].join(","),M.style.opacity=0,M.style.transform=No(.75),f&&f(M)}),D=T(m),_=M=>{p==="auto"&&E.start(C.current||0,M),r&&r(k.current,M)};return S.jsx(b,{appear:o,in:s,nodeRef:k,onEnter:P,onEntered:c,onEntering:B,onExit:L,onExited:D,onExiting:A,addEndListener:_,timeout:p==="auto"?null:p,...v,children:(M,{ownerState:N,...j})=>y.cloneElement(a,{style:{opacity:0,transform:No(.75),visibility:M==="exited"&&!s?"hidden":void 0,...Dp[M],...g,...a.props.style},ref:O,...j})})});Io&&(Io.muiSupportAuto=!0);function Mp(e){return Zo("MuiTooltip",e)}const se=Us("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Pp(e){return Math.round(e*1e5)/1e5}const jp=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,i={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Xr(a.split("-")[0])}`],arrow:["arrow"]};return Ys(i,Mp,t)},_p=io(vl,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(ia(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${se.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${se.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${se.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${se.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${se.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${se.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${se.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${se.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Bp=io("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Xr(n.placement.split("-")[0])}`]]}})(ia(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:ta(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${se.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${se.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${se.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${se.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Pp(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${se.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${se.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${se.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${se.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${se.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${se.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${se.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${se.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${se.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${se.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Np=io("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(ia(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:ta(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let fr=!1;const pi=new ao;let Mn={x:0,y:0};function pr(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const mi=y.forwardRef(function(t,n){const r=sl({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:a,classes:i,components:s={},componentsProps:l={},describeChild:u=!1,disableFocusListener:d=!1,disableHoverListener:f=!1,disableInteractive:m=!1,disableTouchListener:h=!1,enterDelay:g=100,enterNextDelay:p=0,enterTouchDelay:b=700,followCursor:v=!1,id:E,leaveDelay:C=0,leaveTouchDelay:x=1500,onClose:k,onOpen:O,open:T,placement:B="bottom",PopperComponent:P,PopperProps:c={},slotProps:A={},slots:L={},title:D,TransitionComponent:_,TransitionProps:M,...N}=r,j=y.isValidElement(a)?a:S.jsx("span",{children:a}),H=il(),z=Zs(),[K,Q]=y.useState(),[be,Be]=y.useState(null),xe=y.useRef(!1),ue=m||v,Ae=_n(),Y=_n(),F=_n(),X=_n(),[de,fe]=md({controlled:T,default:!1,name:"Tooltip",state:"open"});let pe=de;const Oe=pd(E),rt=y.useRef(),me=za(()=>{rt.current!==void 0&&(document.body.style.WebkitUserSelect=rt.current,rt.current=void 0),X.clear()});y.useEffect(()=>me,[me]);const ut=R=>{pi.clear(),fr=!0,fe(!0),O&&!pe&&O(R)},Re=za(R=>{pi.start(800+C,()=>{fr=!1}),fe(!1),k&&pe&&k(R),Ae.start(H.transitions.duration.shortest,()=>{xe.current=!1})}),De=R=>{xe.current&&R.type!=="touchstart"||(K&&K.removeAttribute("title"),Y.clear(),F.clear(),g||fr&&p?Y.start(fr?p:g,()=>{ut(R)}):ut(R))},J=R=>{Y.clear(),F.start(C,()=>{Re(R)})},[,Ce]=y.useState(!1),Ne=R=>{qa(R.target)||(Ce(!1),J(R))},ot=R=>{K||Q(R.currentTarget),qa(R.target)&&(Ce(!0),De(R))},at=R=>{xe.current=!0;const ne=j.props;ne.onTouchStart&&ne.onTouchStart(R)},dt=R=>{at(R),F.clear(),Ae.clear(),me(),rt.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",X.start(b,()=>{document.body.style.WebkitUserSelect=rt.current,De(R)})},it=R=>{j.props.onTouchEnd&&j.props.onTouchEnd(R),me(),F.start(x,()=>{Re(R)})};y.useEffect(()=>{if(!pe)return;function R(ne){ne.key==="Escape"&&Re(ne)}return document.addEventListener("keydown",R),()=>{document.removeEventListener("keydown",R)}},[Re,pe]);const Ie=Xt(oa(j),Q,n);!D&&D!==0&&(pe=!1);const qe=y.useRef(),Ge=R=>{const ne=j.props;ne.onMouseMove&&ne.onMouseMove(R),Mn={x:R.clientX,y:R.clientY},qe.current&&qe.current.update()},Ke={},Ct=typeof D=="string";u?(Ke.title=!pe&&Ct&&!f?D:null,Ke["aria-describedby"]=pe?Oe:null):(Ke["aria-label"]=Ct?D:null,Ke["aria-labelledby"]=pe&&!Ct?Oe:null);const we={...Ke,...N,...j.props,className:Nr(N.className,j.props.className),onTouchStart:at,ref:Ie,...v?{onMouseMove:Ge}:{}},st={};h||(we.onTouchStart=dt,we.onTouchEnd=it),f||(we.onMouseOver=pr(De,we.onMouseOver),we.onMouseLeave=pr(J,we.onMouseLeave),ue||(st.onMouseOver=De,st.onMouseLeave=J)),d||(we.onFocus=pr(ot,we.onFocus),we.onBlur=pr(Ne,we.onBlur),ue||(st.onFocus=ot,st.onBlur=Ne));const ye={...r,isRtl:z,arrow:o,disableInteractive:ue,placement:B,PopperComponentProp:P,touch:xe.current},U=typeof A.popper=="function"?A.popper(ye):A.popper,tn=y.useMemo(()=>{var ne,pt;let R=[{name:"arrow",enabled:!!be,options:{element:be,padding:4}}];return(ne=c.popperOptions)!=null&&ne.modifiers&&(R=R.concat(c.popperOptions.modifiers)),(pt=U==null?void 0:U.popperOptions)!=null&&pt.modifiers&&(R=R.concat(U.popperOptions.modifiers)),{...c.popperOptions,...U==null?void 0:U.popperOptions,modifiers:R}},[be,c.popperOptions,U==null?void 0:U.popperOptions]),kt=jp(ye),Dt=typeof A.transition=="function"?A.transition(ye):A.transition,ft={slots:{popper:s.Popper,transition:s.Transition??_,tooltip:s.Tooltip,arrow:s.Arrow,...L},slotProps:{arrow:A.arrow??l.arrow,popper:{...c,...U??l.popper},tooltip:A.tooltip??l.tooltip,transition:{...M,...Dt??l.transition}}},[Mt,Pt]=ur("popper",{elementType:_p,externalForwardedProps:ft,ownerState:ye,className:Nr(kt.popper,c==null?void 0:c.className)}),[jt,Wt]=ur("transition",{elementType:Io,externalForwardedProps:ft,ownerState:ye}),[nn,he]=ur("tooltip",{elementType:Bp,className:kt.tooltip,externalForwardedProps:ft,ownerState:ye}),[Me,I]=ur("arrow",{elementType:Np,className:kt.arrow,externalForwardedProps:ft,ownerState:ye,ref:Be});return S.jsxs(y.Fragment,{children:[y.cloneElement(j,we),S.jsx(Mt,{as:P??vl,placement:B,anchorEl:v?{getBoundingClientRect:()=>({top:Mn.y,left:Mn.x,right:Mn.x,bottom:Mn.y,width:0,height:0})}:K,popperRef:qe,open:K?pe:!1,id:Oe,transition:!0,...st,...Pt,popperOptions:tn,children:({TransitionProps:R})=>S.jsx(jt,{timeout:H.transitions.duration.shorter,...R,...Wt,children:S.jsxs(nn,{...he,children:[D,o?S.jsx(Me,{...I}):null]})})})]})}),{STORY_CHANGED:Ip,SELECT_STORY:Fp}=__STORYBOOK_MODULE_CORE_EVENTS__,{makeDecorator:Wp,addons:bl}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Hp}=__STORYBOOK_MODULE_GLOBAL__;var Vp="links",{document:ma,HTMLElement:zp}=Hp;function Up(e){let t={},n=(e[0]==="?"?e.substring(1):e).split("&").filter(Boolean);for(let r=0;rbl.getChannel().emit(Fp,e),qp=(e,t)=>new Promise(n=>{let{location:r}=ma,o=Up(r.search).id,a=e||o.split("--",2)[0],i=`/story/${Xl(a,t)}`,s=r.pathname.replace(/iframe\.html$/,""),l=`${r.origin+s}?${Object.entries({path:i}).map(u=>`${u[0]}=${u[1]}`).join("&")}`;n(l)}),wl=e=>{let{target:t}=e;if(!(t instanceof zp))return;let n=t,{sbKind:r,sbStory:o}=n.dataset;(r||o)&&(e.preventDefault(),xl({kind:r,story:o}))},Fr=!1,Gp=()=>{Fr||(Fr=!0,ma.addEventListener("click",wl))},Kp=()=>{Fr&&(Fr=!1,ma.removeEventListener("click",wl))};Wp({name:"withLinks",parameterName:Vp,wrapper:(e,t)=>(Gp(),bl.getChannel().once(Ip,Kp),e(t))});var Yp=0,Xp=e=>e.button===Yp&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,Jp=(e,t=n=>{})=>{Xp(e)&&(e.preventDefault(),t(e))},Sl=class extends y.PureComponent{constructor(){super(...arguments),this.state={href:"/"},this.updateHref=async()=>{let{kind:e,title:t=e,story:n,name:r=n}=this.props;if(t&&r){let o=await qp(t,r);this.setState({href:o})}},this.handleClick=()=>{let{kind:e,title:t=e,story:n,name:r=n}=this.props;t&&r&&xl({title:t,name:r})}}componentDidMount(){this.updateHref()}componentDidUpdate(e){let{kind:t,title:n,story:r,name:o}=this.props;(e.kind!==t||e.story!==r||e.title!==n||e.name!==o)&&this.updateHref()}render(){let{kind:e,title:t=e,story:n,name:r=n,children:o,...a}=this.props,{href:i}=this.state;return We.createElement("a",{href:i,onClick:s=>Jp(s,this.handleClick),...a},o)}};Sl.defaultProps={children:void 0};var Fo=Sl;const wn=Math.min,Gt=Math.max,Wr=Math.round,mr=Math.floor,Nt=e=>({x:e,y:e}),Qp={left:"right",right:"left",bottom:"top",top:"bottom"},Zp={start:"end",end:"start"};function Wo(e,t,n){return Gt(e,wn(t,n))}function tr(e,t){return typeof e=="function"?e(t):e}function Qt(e){return e.split("-")[0]}function nr(e){return e.split("-")[1]}function Cl(e){return e==="x"?"y":"x"}function ha(e){return e==="y"?"height":"width"}function Sn(e){return["top","bottom"].includes(Qt(e))?"y":"x"}function ga(e){return Cl(Sn(e))}function em(e,t,n){n===void 0&&(n=!1);const r=nr(e),o=ga(e),a=ha(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Hr(i)),[i,Hr(i)]}function tm(e){const t=Hr(e);return[Ho(e),t,Ho(t)]}function Ho(e){return e.replace(/start|end/g,t=>Zp[t])}function nm(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function rm(e,t,n,r){const o=nr(e);let a=nm(Qt(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(Ho)))),a}function Hr(e){return e.replace(/left|right|bottom|top/g,t=>Qp[t])}function om(e){return{top:0,right:0,bottom:0,left:0,...e}}function kl(e){return typeof e!="number"?om(e):{top:e,right:e,bottom:e,left:e}}function Vr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function hi(e,t,n){let{reference:r,floating:o}=e;const a=Sn(t),i=ga(t),s=ha(i),l=Qt(t),u=a==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:d,y:r.y-o.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:f};break;case"left":h={x:r.x-o.width,y:f};break;default:h={x:r.x,y:r.y}}switch(nr(t)){case"start":h[i]-=m*(n&&u?-1:1);break;case"end":h[i]+=m*(n&&u?-1:1);break}return h}const am=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:f}=hi(u,r,l),m=r,h={},g=0;for(let p=0;p({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=tr(e,t)||{};if(u==null)return{};const f=kl(d),m={x:n,y:r},h=ga(o),g=ha(h),p=await i.getDimensions(u),b=h==="y",v=b?"top":"left",E=b?"bottom":"right",C=b?"clientHeight":"clientWidth",x=a.reference[g]+a.reference[h]-m[h]-a.floating[g],k=m[h]-a.reference[h],O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=O?O[C]:0;(!T||!await(i.isElement==null?void 0:i.isElement(O)))&&(T=s.floating[C]||a.floating[g]);const B=x/2-k/2,P=T/2-p[g]/2-1,c=wn(f[v],P),A=wn(f[E],P),L=c,D=T-p[g]-A,_=T/2-p[g]/2+B,M=Wo(L,_,D),N=!l.arrow&&nr(o)!=null&&_!==M&&a.reference[g]/2-(__<=0)){var A,L;const _=(((A=a.flip)==null?void 0:A.index)||0)+1,M=T[_];if(M)return{data:{index:_,overflows:c},reset:{placement:M}};let N=(L=c.filter(j=>j.overflows[0]<=0).sort((j,H)=>j.overflows[1]-H.overflows[1])[0])==null?void 0:L.placement;if(!N)switch(h){case"bestFit":{var D;const j=(D=c.filter(H=>{if(O){const z=Sn(H.placement);return z===E||z==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(z=>z>0).reduce((z,K)=>z+K,0)]).sort((H,z)=>H[1]-z[1])[0])==null?void 0:D[0];j&&(N=j);break}case"initialPlacement":N=s;break}if(o!==N)return{reset:{placement:N}}}return{}}}};async function lm(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Qt(n),s=nr(n),l=Sn(n)==="y",u=["left","top"].includes(i)?-1:1,d=a&&l?-1:1,f=tr(t,e);let{mainAxis:m,crossAxis:h,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return s&&typeof g=="number"&&(h=s==="end"?g*-1:g),l?{x:h*d,y:m*u}:{x:m*u,y:h*d}}const cm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await lm(t,e);return i===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},um=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}},...l}=tr(e,t),u={x:n,y:r},d=await El(t,l),f=Sn(Qt(o)),m=Cl(f);let h=u[m],g=u[f];if(a){const b=m==="y"?"top":"left",v=m==="y"?"bottom":"right",E=h+d[b],C=h-d[v];h=Wo(E,h,C)}if(i){const b=f==="y"?"top":"left",v=f==="y"?"bottom":"right",E=g+d[b],C=g-d[v];g=Wo(E,g,C)}const p=s.fn({...t,[m]:h,[f]:g});return{...p,data:{x:p.x-n,y:p.y-r}}}}};function An(e){return Tl(e)?(e.nodeName||"").toLowerCase():"#document"}function ze(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function $t(e){var t;return(t=(Tl(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Tl(e){return e instanceof Node||e instanceof ze(e).Node}function lt(e){return e instanceof Element||e instanceof ze(e).Element}function St(e){return e instanceof HTMLElement||e instanceof ze(e).HTMLElement}function gi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof ze(e).ShadowRoot}function rr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ct(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function dm(e){return["table","td","th"].includes(An(e))}function lo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ya(e){const t=va(),n=lt(e)?ct(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function fm(e){let t=It(e);for(;St(t)&&!Cn(t);){if(ya(t))return t;if(lo(t))return null;t=It(t)}return null}function va(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Cn(e){return["html","body","#document"].includes(An(e))}function ct(e){return ze(e).getComputedStyle(e)}function co(e){return lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function It(e){if(An(e)==="html")return e;const t=e.assignedSlot||e.parentNode||gi(e)&&e.host||$t(e);return gi(t)?t.host:t}function Al(e){const t=It(e);return Cn(t)?e.ownerDocument?e.ownerDocument.body:e.body:St(t)&&rr(t)?t:Al(t)}function Yn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=Al(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=ze(o);return a?t.concat(i,i.visualViewport||[],rr(o)?o:[],i.frameElement&&n?Yn(i.frameElement):[]):t.concat(o,Yn(o,[],n))}function Ol(e){const t=ct(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=St(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=Wr(n)!==a||Wr(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function ba(e){return lt(e)?e:e.contextElement}function mn(e){const t=ba(e);if(!St(t))return Nt(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Ol(t);let i=(a?Wr(n.width):n.width)/r,s=(a?Wr(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const pm=Nt(0);function Rl(e){const t=ze(e);return!va()||!t.visualViewport?pm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function mm(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==ze(e)?!1:t}function Zt(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=ba(e);let i=Nt(1);t&&(r?lt(r)&&(i=mn(r)):i=mn(e));const s=mm(a,n,r)?Rl(a):Nt(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(a){const m=ze(a),h=r&<(r)?ze(r):r;let g=m,p=g.frameElement;for(;p&&r&&h!==g;){const b=mn(p),v=p.getBoundingClientRect(),E=ct(p),C=v.left+(p.clientLeft+parseFloat(E.paddingLeft))*b.x,x=v.top+(p.clientTop+parseFloat(E.paddingTop))*b.y;l*=b.x,u*=b.y,d*=b.x,f*=b.y,l+=C,u+=x,g=ze(p),p=g.frameElement}}return Vr({width:d,height:f,x:l,y:u})}function hm(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",i=$t(r),s=t?lo(t.floating):!1;if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=Nt(1);const d=Nt(0),f=St(r);if((f||!f&&!a)&&((An(r)!=="body"||rr(i))&&(l=co(r)),St(r))){const m=Zt(r);u=mn(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function gm(e){return Array.from(e.getClientRects())}function Ll(e){return Zt($t(e)).left+co(e).scrollLeft}function ym(e){const t=$t(e),n=co(e),r=e.ownerDocument.body,o=Gt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Gt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ll(e);const s=-n.scrollTop;return ct(r).direction==="rtl"&&(i+=Gt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function vm(e,t){const n=ze(e),r=$t(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=va();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function bm(e,t){const n=Zt(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=St(e)?mn(e):Nt(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function yi(e,t,n){let r;if(t==="viewport")r=vm(e,n);else if(t==="document")r=ym($t(e));else if(lt(t))r=bm(t,n);else{const o=Rl(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return Vr(r)}function $l(e,t){const n=It(e);return n===t||!lt(n)||Cn(n)?!1:ct(n).position==="fixed"||$l(n,t)}function xm(e,t){const n=t.get(e);if(n)return n;let r=Yn(e,[],!1).filter(s=>lt(s)&&An(s)!=="body"),o=null;const a=ct(e).position==="fixed";let i=a?It(e):e;for(;lt(i)&&!Cn(i);){const s=ct(i),l=ya(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||rr(i)&&!l&&$l(e,i))?r=r.filter(d=>d!==i):o=s,i=It(i)}return t.set(e,r),r}function wm(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?lo(t)?[]:xm(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,d)=>{const f=yi(t,d,o);return u.top=Gt(f.top,u.top),u.right=wn(f.right,u.right),u.bottom=wn(f.bottom,u.bottom),u.left=Gt(f.left,u.left),u},yi(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Sm(e){const{width:t,height:n}=Ol(e);return{width:t,height:n}}function Cm(e,t,n){const r=St(t),o=$t(t),a=n==="fixed",i=Zt(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Nt(0);if(r||!r&&!a)if((An(t)!=="body"||rr(o))&&(s=co(t)),r){const f=Zt(t,!0,a,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else o&&(l.x=Ll(o));const u=i.left+s.scrollLeft-l.x,d=i.top+s.scrollTop-l.y;return{x:u,y:d,width:i.width,height:i.height}}function vo(e){return ct(e).position==="static"}function vi(e,t){return!St(e)||ct(e).position==="fixed"?null:t?t(e):e.offsetParent}function Dl(e,t){const n=ze(e);if(lo(e))return n;if(!St(e)){let o=It(e);for(;o&&!Cn(o);){if(lt(o)&&!vo(o))return o;o=It(o)}return n}let r=vi(e,t);for(;r&&dm(r)&&vo(r);)r=vi(r,t);return r&&Cn(r)&&vo(r)&&!ya(r)?n:r||fm(e)||n}const km=async function(e){const t=this.getOffsetParent||Dl,n=this.getDimensions,r=await n(e.floating);return{reference:Cm(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Em(e){return ct(e).direction==="rtl"}const Tm={convertOffsetParentRelativeRectToViewportRelativeRect:hm,getDocumentElement:$t,getClippingRect:wm,getOffsetParent:Dl,getElementRects:km,getClientRects:gm,getDimensions:Sm,getScale:mn,isElement:lt,isRTL:Em};function Am(e,t){let n=null,r;const o=$t(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:d,width:f,height:m}=e.getBoundingClientRect();if(s||t(),!f||!m)return;const h=mr(d),g=mr(o.clientWidth-(u+f)),p=mr(o.clientHeight-(d+m)),b=mr(u),E={rootMargin:-h+"px "+-g+"px "+-p+"px "+-b+"px",threshold:Gt(0,wn(1,l))||1};let C=!0;function x(k){const O=k[0].intersectionRatio;if(O!==l){if(!C)return i();O?i(!1,O):r=setTimeout(()=>{i(!1,1e-7)},1e3)}C=!1}try{n=new IntersectionObserver(x,{...E,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,E)}n.observe(e)}return i(!0),a}function Om(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=ba(e),d=o||a?[...u?Yn(u):[],...Yn(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),a&&v.addEventListener("resize",n)});const f=u&&s?Am(u,n):null;let m=-1,h=null;i&&(h=new ResizeObserver(v=>{let[E]=v;E&&E.target===u&&h&&(h.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var C;(C=h)==null||C.observe(t)})),n()}),u&&!l&&h.observe(u),h.observe(t));let g,p=l?Zt(e):null;l&&b();function b(){const v=Zt(e);p&&(v.x!==p.x||v.y!==p.y||v.width!==p.width||v.height!==p.height)&&n(),p=v,g=requestAnimationFrame(b)}return n(),()=>{var v;d.forEach(E=>{o&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),f==null||f(),(v=h)==null||v.disconnect(),h=null,l&&cancelAnimationFrame(g)}}const Rm=cm,Lm=um,$m=sm,Dm=im,bi=(e,t,n)=>{const r=new Map,o={platform:Tm,...n},a={...o.platform,_c:r};return am(e,t,{...o,platform:a})};var bo={exports:{}};/*! - Copyright (c) 2018 Jed Watson. - Licensed under the MIT License (MIT), see - http://jedwatson.github.io/classnames -*/var xi;function Mm(){return xi||(xi=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i"u"||Si[n]||n==="core"&&typeof process<"u"&&(!((o=process==null?void 0:wi)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:wi)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=jm),r||(r={});const{insertAt:i}=r;if(document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css",i==="top"&&s.firstChild?s.insertBefore(l,s.firstChild):s.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),Si[n]=!0}const ki=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:a="absolute",middlewares:i=[Rm(Number(o)),$m({fallbackAxisSideDirection:"start"}),Lm({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=i;return n?(l.push(Dm({element:n,padding:5})),bi(e,t,{placement:r,strategy:a,middleware:l}).then(({x:u,y:d,placement:f,middlewareData:m})=>{var h,g;const p={left:`${u}px`,top:`${d}px`,border:s},{x:b,y:v}=(h=m.arrow)!==null&&h!==void 0?h:{x:0,y:0},E=(g={top:"bottom",right:"left",bottom:"top",left:"right"}[f.split("-")[0]])!==null&&g!==void 0?g:"bottom",C=s&&{borderBottom:s,borderRight:s};let x=0;if(s){const k=`${s}`.match(/(\d+)px/);x=k!=null&&k[1]?Number(k[1]):1}return{tooltipStyles:p,tooltipArrowStyles:{left:b!=null?`${b}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",...C,[E]:`-${4+x}px`},place:f}})):bi(e,t,{placement:"bottom",strategy:a,middleware:l}).then(({x:u,y:d,placement:f})=>({tooltipStyles:{left:`${u}px`,top:`${d}px`},tooltipArrowStyles:{},place:f}))},Ei=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Ti=(e,t,n)=>{let r=null;const o=function(...a){const i=()=>{r=null};!r&&(e.apply(this,a),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Ai=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",zo=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,a)=>zo(o,t[a]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Ai(e)||!Ai(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(o=>zo(e[o],t[o]))},Bm=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},Oi=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Bm(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Nm=typeof window<"u"?y.useLayoutEffect:y.useEffect,Xe=e=>{e.current&&(clearTimeout(e.current),e.current=null)},Im="DEFAULT_TOOLTIP_ID",Fm={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},Wm=y.createContext({getTooltipData:()=>Fm});function Ml(e=Im){return y.useContext(Wm).getTooltipData(e)}var un={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},xo={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Hm=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:a,anchorSelect:i,place:s="top",offset:l=10,events:u=["hover"],openOnClick:d=!1,positionStrategy:f="absolute",middlewares:m,wrapper:h,delayShow:g=0,delayHide:p=0,float:b=!1,hidden:v=!1,noArrow:E=!1,clickable:C=!1,closeOnEsc:x=!1,closeOnScroll:k=!1,closeOnResize:O=!1,openEvents:T,closeEvents:B,globalCloseEvents:P,imperativeModeOnly:c,style:A,position:L,afterShow:D,afterHide:_,disableTooltip:M,content:N,contentWrapperRef:j,isOpen:H,defaultIsOpen:z=!1,setIsOpen:K,activeAnchor:Q,setActiveAnchor:be,border:Be,opacity:xe,arrowColor:ue,role:Ae="tooltip"})=>{var Y;const F=y.useRef(null),X=y.useRef(null),de=y.useRef(null),fe=y.useRef(null),pe=y.useRef(null),[Oe,rt]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:s}),[me,ut]=y.useState(!1),[Re,De]=y.useState(!1),[J,Ce]=y.useState(null),Ne=y.useRef(!1),ot=y.useRef(null),{anchorRefs:at,setActiveAnchor:dt}=Ml(t),it=y.useRef(!1),[Ie,qe]=y.useState([]),Ge=y.useRef(!1),Ke=d||u.includes("click"),Ct=Ke||(T==null?void 0:T.click)||(T==null?void 0:T.dblclick)||(T==null?void 0:T.mousedown),we=T?{...T}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!T&&Ke&&Object.assign(we,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const st=B?{...B}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!B&&Ke&&Object.assign(st,{mouseleave:!1,blur:!1,mouseout:!1});const ye=P?{...P}:{escape:x||!1,scroll:k||!1,resize:O||!1,clickOutsideAnchor:Ct||!1};c&&(Object.assign(we,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(st,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(ye,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Nm(()=>(Ge.current=!0,()=>{Ge.current=!1}),[]);const U=$=>{Ge.current&&($&&De(!0),setTimeout(()=>{Ge.current&&(K==null||K($),H===void 0&&ut($))},10))};y.useEffect(()=>{if(H===void 0)return()=>null;H&&De(!0);const $=setTimeout(()=>{ut(H)},10);return()=>{clearTimeout($)}},[H]),y.useEffect(()=>{if(me!==Ne.current)if(Xe(pe),Ne.current=me,me)D==null||D();else{const $=(W=>{const V=W.match(/^([\d.]+)(ms|s)$/);if(!V)return 0;const[,ve,ke]=V;return Number(ve)*(ke==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));pe.current=setTimeout(()=>{De(!1),Ce(null),_==null||_()},$+25)}},[me]);const tn=$=>{rt(W=>zo(W,$)?W:$)},kt=($=g)=>{Xe(de),Re?U(!0):de.current=setTimeout(()=>{U(!0)},$)},Dt=($=p)=>{Xe(fe),fe.current=setTimeout(()=>{it.current||U(!1)},$)},ft=$=>{var W;if(!$)return;const V=(W=$.currentTarget)!==null&&W!==void 0?W:$.target;if(!(V!=null&&V.isConnected))return be(null),void dt({current:null});g?kt():U(!0),be(V),dt({current:V}),Xe(fe)},Mt=()=>{C?Dt(p||100):p?Dt():U(!1),Xe(de)},Pt=({x:$,y:W})=>{var V;const ve={getBoundingClientRect:()=>({x:$,y:W,width:0,height:0,top:W,left:$,right:$,bottom:W})};ki({place:(V=J==null?void 0:J.place)!==null&&V!==void 0?V:s,offset:l,elementReference:ve,tooltipReference:F.current,tooltipArrowReference:X.current,strategy:f,middlewares:m,border:Be}).then(ke=>{tn(ke)})},jt=$=>{if(!$)return;const W=$,V={x:W.clientX,y:W.clientY};Pt(V),ot.current=V},Wt=$=>{var W;if(!me)return;const V=$.target;V.isConnected&&(!((W=F.current)===null||W===void 0)&&W.contains(V)||[document.querySelector(`[id='${a}']`),...Ie].some(ve=>ve==null?void 0:ve.contains(V))||(U(!1),Xe(de)))},nn=Ti(ft,50),he=Ti(Mt,50),Me=$=>{he.cancel(),nn($)},I=()=>{nn.cancel(),he()},R=y.useCallback(()=>{var $,W;const V=($=J==null?void 0:J.position)!==null&&$!==void 0?$:L;V?Pt(V):b?ot.current&&Pt(ot.current):Q!=null&&Q.isConnected&&ki({place:(W=J==null?void 0:J.place)!==null&&W!==void 0?W:s,offset:l,elementReference:Q,tooltipReference:F.current,tooltipArrowReference:X.current,strategy:f,middlewares:m,border:Be}).then(ve=>{Ge.current&&tn(ve)})},[me,Q,N,A,s,J==null?void 0:J.place,l,f,L,J==null?void 0:J.position,b]);y.useEffect(()=>{var $,W;const V=new Set(at);Ie.forEach(Z=>{M!=null&&M(Z)||V.add({current:Z})});const ve=document.querySelector(`[id='${a}']`);ve&&!(M!=null&&M(ve))&&V.add({current:ve});const ke=()=>{U(!1)},mt=Oi(Q),ht=Oi(F.current);ye.scroll&&(window.addEventListener("scroll",ke),mt==null||mt.addEventListener("scroll",ke),ht==null||ht.addEventListener("scroll",ke));let Le=null;ye.resize?window.addEventListener("resize",ke):Q&&F.current&&(Le=Om(Q,F.current,R,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Ye=Z=>{Z.key==="Escape"&&U(!1)};ye.escape&&window.addEventListener("keydown",Ye),ye.clickOutsideAnchor&&window.addEventListener("click",Wt);const re=[],On=Z=>{me&&(Z==null?void 0:Z.target)===Q||ft(Z)},zl=Z=>{me&&(Z==null?void 0:Z.target)===Q&&Mt()},Ca=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],ka=["click","dblclick","mousedown","mouseup"];Object.entries(we).forEach(([Z,Et])=>{Et&&(Ca.includes(Z)?re.push({event:Z,listener:Me}):ka.includes(Z)&&re.push({event:Z,listener:On}))}),Object.entries(st).forEach(([Z,Et])=>{Et&&(Ca.includes(Z)?re.push({event:Z,listener:I}):ka.includes(Z)&&re.push({event:Z,listener:zl}))}),b&&re.push({event:"pointermove",listener:jt});const Ea=()=>{it.current=!0},Ta=()=>{it.current=!1,Mt()};return C&&!Ct&&(($=F.current)===null||$===void 0||$.addEventListener("mouseenter",Ea),(W=F.current)===null||W===void 0||W.addEventListener("mouseleave",Ta)),re.forEach(({event:Z,listener:Et})=>{V.forEach(uo=>{var Rn;(Rn=uo.current)===null||Rn===void 0||Rn.addEventListener(Z,Et)})}),()=>{var Z,Et;ye.scroll&&(window.removeEventListener("scroll",ke),mt==null||mt.removeEventListener("scroll",ke),ht==null||ht.removeEventListener("scroll",ke)),ye.resize?window.removeEventListener("resize",ke):Le==null||Le(),ye.clickOutsideAnchor&&window.removeEventListener("click",Wt),ye.escape&&window.removeEventListener("keydown",Ye),C&&!Ct&&((Z=F.current)===null||Z===void 0||Z.removeEventListener("mouseenter",Ea),(Et=F.current)===null||Et===void 0||Et.removeEventListener("mouseleave",Ta)),re.forEach(({event:uo,listener:Rn})=>{V.forEach(Ul=>{var fo;(fo=Ul.current)===null||fo===void 0||fo.removeEventListener(uo,Rn)})})}},[Q,R,Re,at,Ie,T,B,P,Ke,g,p]),y.useEffect(()=>{var $,W;let V=(W=($=J==null?void 0:J.anchorSelect)!==null&&$!==void 0?$:i)!==null&&W!==void 0?W:"";!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const ve=new MutationObserver(ke=>{const mt=[],ht=[];ke.forEach(Le=>{if(Le.type==="attributes"&&Le.attributeName==="data-tooltip-id"&&(Le.target.getAttribute("data-tooltip-id")===t?mt.push(Le.target):Le.oldValue===t&&ht.push(Le.target)),Le.type==="childList"){if(Q){const Ye=[...Le.removedNodes].filter(re=>re.nodeType===1);if(V)try{ht.push(...Ye.filter(re=>re.matches(V))),ht.push(...Ye.flatMap(re=>[...re.querySelectorAll(V)]))}catch{}Ye.some(re=>{var On;return!!(!((On=re==null?void 0:re.contains)===null||On===void 0)&&On.call(re,Q))&&(De(!1),U(!1),be(null),Xe(de),Xe(fe),!0)})}if(V)try{const Ye=[...Le.addedNodes].filter(re=>re.nodeType===1);mt.push(...Ye.filter(re=>re.matches(V))),mt.push(...Ye.flatMap(re=>[...re.querySelectorAll(V)]))}catch{}}}),(mt.length||ht.length)&&qe(Le=>[...Le.filter(Ye=>!ht.includes(Ye)),...mt])});return ve.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{ve.disconnect()}},[t,i,J==null?void 0:J.anchorSelect,Q]),y.useEffect(()=>{R()},[R]),y.useEffect(()=>{if(!(j!=null&&j.current))return()=>null;const $=new ResizeObserver(()=>{setTimeout(()=>R())});return $.observe(j.current),()=>{$.disconnect()}},[N,j==null?void 0:j.current]),y.useEffect(()=>{var $;const W=document.querySelector(`[id='${a}']`),V=[...Ie,W];Q&&V.includes(Q)||be(($=Ie[0])!==null&&$!==void 0?$:W)},[a,Ie,Q]),y.useEffect(()=>(z&&U(!0),()=>{Xe(de),Xe(fe)}),[]),y.useEffect(()=>{var $;let W=($=J==null?void 0:J.anchorSelect)!==null&&$!==void 0?$:i;if(!W&&t&&(W=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),W)try{const V=Array.from(document.querySelectorAll(W));qe(V)}catch{qe([])}},[t,i,J==null?void 0:J.anchorSelect]),y.useEffect(()=>{de.current&&(Xe(de),kt(g))},[g]);const ne=(Y=J==null?void 0:J.content)!==null&&Y!==void 0?Y:N,pt=me&&Object.keys(Oe.tooltipStyles).length>0;return y.useImperativeHandle(e,()=>({open:$=>{if($!=null&&$.anchorSelect)try{document.querySelector($.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${$.anchorSelect}" is not a valid CSS selector`)}Ce($??null),$!=null&&$.delay?kt($.delay):U(!0)},close:$=>{$!=null&&$.delay?Dt($.delay):U(!1)},activeAnchor:Q,place:Oe.place,isOpen:!!(Re&&!v&&ne&&pt)})),Re&&!v&&ne?We.createElement(h,{id:t,role:Ae,className:Vo("react-tooltip",un.tooltip,xo.tooltip,xo[o],n,`react-tooltip__place-${Oe.place}`,un[pt?"show":"closing"],pt?"react-tooltip__show":"react-tooltip__closing",f==="fixed"&&un.fixed,C&&un.clickable),onTransitionEnd:$=>{Xe(pe),me||$.propertyName!=="opacity"||(De(!1),Ce(null),_==null||_())},style:{...A,...Oe.tooltipStyles,opacity:xe!==void 0&&pt?xe:void 0},ref:F},ne,We.createElement(h,{className:Vo("react-tooltip-arrow",un.arrow,xo.arrow,r,E&&un.noArrow),style:{...Oe.tooltipArrowStyles,background:ue?`linear-gradient(to right bottom, transparent 50%, ${ue} 50%)`:void 0},ref:X})):null},Vm=({content:e})=>We.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),zm=We.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:a,className:i,classNameArrow:s,variant:l="dark",place:u="top",offset:d=10,wrapper:f="div",children:m=null,events:h=["hover"],openOnClick:g=!1,positionStrategy:p="absolute",middlewares:b,delayShow:v=0,delayHide:E=0,float:C=!1,hidden:x=!1,noArrow:k=!1,clickable:O=!1,closeOnEsc:T=!1,closeOnScroll:B=!1,closeOnResize:P=!1,openEvents:c,closeEvents:A,globalCloseEvents:L,imperativeModeOnly:D=!1,style:_,position:M,isOpen:N,defaultIsOpen:j=!1,disableStyleInjection:H=!1,border:z,opacity:K,arrowColor:Q,setIsOpen:be,afterShow:Be,afterHide:xe,disableTooltip:ue,role:Ae="tooltip"},Y)=>{const[F,X]=y.useState(r),[de,fe]=y.useState(o),[pe,Oe]=y.useState(u),[rt,me]=y.useState(l),[ut,Re]=y.useState(d),[De,J]=y.useState(v),[Ce,Ne]=y.useState(E),[ot,at]=y.useState(C),[dt,it]=y.useState(x),[Ie,qe]=y.useState(f),[Ge,Ke]=y.useState(h),[Ct,we]=y.useState(p),[st,ye]=y.useState(null),[U,tn]=y.useState(null),kt=y.useRef(H),{anchorRefs:Dt,activeAnchor:ft}=Ml(e),Mt=he=>he==null?void 0:he.getAttributeNames().reduce((Me,I)=>{var R;return I.startsWith("data-tooltip-")&&(Me[I.replace(/^data-tooltip-/,"")]=(R=he==null?void 0:he.getAttribute(I))!==null&&R!==void 0?R:null),Me},{}),Pt=he=>{const Me={place:I=>{var R;Oe((R=I)!==null&&R!==void 0?R:u)},content:I=>{X(I??r)},html:I=>{fe(I??o)},variant:I=>{var R;me((R=I)!==null&&R!==void 0?R:l)},offset:I=>{Re(I===null?d:Number(I))},wrapper:I=>{var R;qe((R=I)!==null&&R!==void 0?R:f)},events:I=>{const R=I==null?void 0:I.split(" ");Ke(R??h)},"position-strategy":I=>{var R;we((R=I)!==null&&R!==void 0?R:p)},"delay-show":I=>{J(I===null?v:Number(I))},"delay-hide":I=>{Ne(I===null?E:Number(I))},float:I=>{at(I===null?C:I==="true")},hidden:I=>{it(I===null?x:I==="true")},"class-name":I=>{ye(I)}};Object.values(Me).forEach(I=>I(null)),Object.entries(he).forEach(([I,R])=>{var ne;(ne=Me[I])===null||ne===void 0||ne.call(Me,R)})};y.useEffect(()=>{X(r)},[r]),y.useEffect(()=>{fe(o)},[o]),y.useEffect(()=>{Oe(u)},[u]),y.useEffect(()=>{me(l)},[l]),y.useEffect(()=>{Re(d)},[d]),y.useEffect(()=>{J(v)},[v]),y.useEffect(()=>{Ne(E)},[E]),y.useEffect(()=>{at(C)},[C]),y.useEffect(()=>{it(x)},[x]),y.useEffect(()=>{we(p)},[p]),y.useEffect(()=>{kt.current!==H&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[H]),y.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:H==="core",disableBase:H}}))},[]),y.useEffect(()=>{var he;const Me=new Set(Dt);let I=n;if(!I&&e&&(I=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),I)try{document.querySelectorAll(I).forEach(W=>{Me.add({current:W})})}catch{console.warn(`[react-tooltip] "${I}" is not a valid CSS selector`)}const R=document.querySelector(`[id='${t}']`);if(R&&Me.add({current:R}),!Me.size)return()=>null;const ne=(he=U??R)!==null&&he!==void 0?he:ft.current,pt=new MutationObserver(W=>{W.forEach(V=>{var ve;if(!ne||V.type!=="attributes"||!(!((ve=V.attributeName)===null||ve===void 0)&&ve.startsWith("data-tooltip-")))return;const ke=Mt(ne);Pt(ke)})}),$={attributes:!0,childList:!1,subtree:!1};if(ne){const W=Mt(ne);Pt(W),pt.observe(ne,$)}return()=>{pt.disconnect()}},[Dt,ft,U,t,n]),y.useEffect(()=>{_!=null&&_.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),z&&!Ei("border",`${z}`)&&console.warn(`[react-tooltip] "${z}" is not a valid \`border\`.`),_!=null&&_.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),K&&!Ei("opacity",`${K}`)&&console.warn(`[react-tooltip] "${K}" is not a valid \`opacity\`.`)},[]);let jt=m;const Wt=y.useRef(null);if(a){const he=a({content:(U==null?void 0:U.getAttribute("data-tooltip-content"))||F||null,activeAnchor:U});jt=he?We.createElement("div",{ref:Wt,className:"react-tooltip-content-wrapper"},he):null}else F&&(jt=F);de&&(jt=We.createElement(Vm,{content:de}));const nn={forwardRef:Y,id:e,anchorId:t,anchorSelect:n,className:Vo(i,st),classNameArrow:s,content:jt,contentWrapperRef:Wt,place:pe,variant:rt,offset:ut,wrapper:Ie,events:Ge,openOnClick:g,positionStrategy:Ct,middlewares:b,delayShow:De,delayHide:Ce,float:ot,hidden:dt,noArrow:k,clickable:O,closeOnEsc:T,closeOnScroll:B,closeOnResize:P,openEvents:c,closeEvents:A,globalCloseEvents:L,imperativeModeOnly:D,style:_,position:M,isOpen:N,defaultIsOpen:j,border:z,opacity:K,arrowColor:Q,setIsOpen:be,afterShow:Be,afterHide:xe,disableTooltip:ue,activeAnchor:U,setActiveAnchor:he=>tn(he),role:Ae};return We.createElement(Hm,{...nn})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ci({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ci({css:` -.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const en=({children:e})=>S.jsx("div",{style:{margin:"1rem 0 2rem"},children:e});en.__docgenInfo={description:"",methods:[],displayName:"Container",props:{children:{required:!0,tsType:{name:"ReactNode"},description:""}}};const Um=` - -`,qm=` -type EventHandler = (event: React.SyntheticEvent) => (activity: Activity) => void; - -interface Activity { - date: string; - count: number; - level: 0 | 1 | 2 | 3 | 4; -} -`,Ri=` - (activity) => { - alert(JSON.stringify(activity)); - }, - onMouseEnter: (event) => (activity) => { - console.log('on mouse enter'); - }, - }} -/> -`,Gm=`// Shape of \`labels\` property (default values). -// All properties are optional. -const labels = { - months: [ - 'Jan', - 'Feb', - 'Mar', - 'Apr', - 'May', - 'Jun', - 'Jul', - 'Aug', - 'Sep', - 'Oct', - 'Nov', - 'Dec', - ], - weekdays: [ - 'Sun', // Sunday first! - 'Mon', - 'Tue', - 'Wed', - 'Thu', - 'Fri', - 'Sat', - ], - totalCount: '{{count}} activities in {{year}}', - legend: { - less: 'Less', - more: 'More', - }, -}; -`,Km=` - -`,Ym=` -import { useRef } from "react"; - -const calendarRef = useRef(null); - -if (calendar.current) { - console.log(calendarRef.current); -} - - -`,Xm=` - -`,Li=` -const explicitTheme: ThemeInput = { - light: ['#f0f0f0', '#c4edde', '#7ac7c4', '#f73859', '#384259'], - dark: ['#383838', '#4D455D', '#7DB9B6', '#F5E9CF', '#E96479'], -}; - - - -const minimalTheme: ThemeInput = { - light: ['hsl(0, 0%, 92%)', 'rebeccapurple'], - // for \`dark\` the default theme will be used -}; - - -`,Jm=` -import { Tooltip as MuiTooltip } from '@mui/material'; - - ( - - {block} - - )} - renderColorLegend={(block, level) => ( - {block} - )} -/> -`,$i=` -import { Tooltip as ReactTooltip } from 'react-tooltip'; -import 'react-tooltip/dist/react-tooltip.css'; - -<> - - React.cloneElement(block, { - 'data-tooltip-id': 'react-tooltip', - 'data-tooltip-html': \`\${activity.count} activities on \${activity.date}\` - }) - } - /> - - -`,Qm=864e5,Pl=6e4,jl=36e5,Di=Symbol.for("constructDateFrom");function or(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Di in e?e[Di](t):e instanceof Date?new e.constructor(t):new Date(t)}function tt(e,t){return or(t||e,e)}function _l(e,t,n){const r=tt(e,n==null?void 0:n.in);return isNaN(t)?or(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function Mi(e){const t=tt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Bl(e,...t){const n=or.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function Pi(e,t){const n=tt(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function Zm(e,t,n){const[r,o]=Bl(n==null?void 0:n.in,e,t),a=Pi(r),i=Pi(o),s=+a-Mi(a),l=+i-Mi(i);return Math.round((s-l)/Qm)}function eh(e,t,n){return _l(e,t*7,n)}function th(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function nh(e){return!(!th(e)&&typeof e!="number"||isNaN(+tt(e)))}function rh(e,t){const[n,r]=Bl(e,t.start,t.end);return{start:n,end:r}}function xa(e,t){const{start:n,end:r}=rh(t==null?void 0:t.in,e);let o=+n>+r;const a=o?+n:+r,i=o?r:n;i.setHours(0,0,0,0);let s=1;const l=[];for(;+i<=a;)l.push(or(n,i)),i.setDate(i.getDate()+s),i.setHours(0,0,0,0);return o?l.reverse():l}function oh(e,t){const n=tt(e,t==null?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function ah(e,t){const n=tt(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function _t(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}function wa(e,t){const n=tt(e,t==null?void 0:t.in);if(isNaN(+n))throw new RangeError("Invalid time value");const r=(t==null?void 0:t.format)??"extended",o=(t==null?void 0:t.representation)??"complete";let a="",i="";const s=r==="extended"?"-":"",l=r==="extended"?":":"";if(o!=="time"){const u=_t(n.getDate(),2),d=_t(n.getMonth()+1,2);a=`${_t(n.getFullYear(),4)}${s}${d}${s}${u}`}if(o!=="date"){const u=n.getTimezoneOffset();if(u!==0){const p=Math.abs(u),b=_t(Math.trunc(p/60),2),v=_t(p%60,2);i=`${u<0?"+":"-"}${b}:${v}`}else i="Z";const d=_t(n.getHours(),2),f=_t(n.getMinutes(),2),m=_t(n.getSeconds(),2),h=a===""?"":"T",g=[d,f,m].join(l);a=`${a}${h}${g}${i}`}return a}function Nl(e,t){return tt(e,t==null?void 0:t.in).getDay()}function ih(e,t){return tt(e,t==null?void 0:t.in).getMonth()}function sh(e,t){return tt(e,t==null?void 0:t.in).getFullYear()}function lh(e,t,n){let r=t-Nl(e,n);return r<=0&&(r+=7),_l(e,r,n)}function kn(e,t){const n=()=>or(t==null?void 0:t.in,NaN),o=fh(e);let a;if(o.date){const u=ph(o.date,2);a=mh(u.restDateString,u.year)}if(!a||isNaN(+a))return n();const i=+a;let s=0,l;if(o.time&&(s=hh(o.time),isNaN(s)))return n();if(o.timezone){if(l=gh(o.timezone),isNaN(l))return n()}else{const u=new Date(i+s),d=tt(0,t==null?void 0:t.in);return d.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),d.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),d}return tt(i+s+l,t==null?void 0:t.in)}const hr={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},ch=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,uh=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,dh=/^([+-])(\d{2})(?::?(\d{2}))?$/;function fh(e){const t={},n=e.split(hr.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],hr.timeZoneDelimiter.test(t.date)&&(t.date=e.split(hr.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const o=hr.timezone.exec(r);o?(t.time=r.replace(o[1],""),t.timezone=o[1]):t.time=r}return t}function ph(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?o:a*100,restDateString:e.slice((r[1]||r[2]).length)}}function mh(e,t){if(t===null)return new Date(NaN);const n=e.match(ch);if(!n)return new Date(NaN);const r=!!n[4],o=Pn(n[1]),a=Pn(n[2])-1,i=Pn(n[3]),s=Pn(n[4]),l=Pn(n[5])-1;if(r)return wh(t,s,l)?yh(t,s,l):new Date(NaN);{const u=new Date(0);return!bh(t,a,i)||!xh(t,o)?new Date(NaN):(u.setUTCFullYear(t,a,Math.max(o,i)),u)}}function Pn(e){return e?parseInt(e):1}function hh(e){const t=e.match(uh);if(!t)return NaN;const n=wo(t[1]),r=wo(t[2]),o=wo(t[3]);return Sh(n,r,o)?n*jl+r*Pl+o*1e3:NaN}function wo(e){return e&&parseFloat(e.replace(",","."))||0}function gh(e){if(e==="Z")return 0;const t=e.match(dh);if(!t)return 0;const n=t[1]==="+"?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return Ch(r,o)?n*(r*jl+o*Pl):NaN}function yh(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,a=(t-1)*7+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}const vh=[31,null,31,30,31,30,31,31,30,31,30,31];function Il(e){return e%400===0||e%4===0&&e%100!==0}function bh(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(vh[t]||(Il(e)?29:28))}function xh(e,t){return t>=1&&t<=(Il(e)?366:365)}function wh(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function Sh(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function Ch(e,t){return t>=0&&t<=59}function kh(e,t,n){return eh(e,-t,n)}const Sa="react-activity-calendar",So=8,Fl=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Eh={months:Fl,weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],totalCount:"{{count}} activities in {{year}}",legend:{less:"Less",more:"More"}};function Th(e,t){if(e.length===0)throw new Error("Activity data must not be empty.");for(const{date:n,level:r,count:o}of e){if(!nh(kn(n)))throw new Error(`Activity date '${n}' is not a valid ISO 8601 date string.`);if(o<0)throw new RangeError(`Activity count must not be negative, found ${o}.`);if(r<0||r>t)throw new RangeError(`Activity level ${r} for ${n} is out of range. It must be between 0 and ${t}.`)}}function Ah(e,t=0){const n=Oh(e),r=n[0],o=kn(r.date),a=Nl(o)===t?o:kh(lh(o,t),1),i=[...Array(Zm(o,a)).fill(void 0),...n],s=Math.ceil(i.length/7);return zr(s).map(l=>i.slice(l*7,l*7+7))}function Oh(e){const t=new Map(e.map(o=>[o.date,o])),n=e[0],r=e[e.length-1];return xa({start:kn(n.date),end:kn(r.date)}).map(o=>{const a=wa(o,{representation:"date"});return t.has(a)?t.get(a):{date:a,count:0,level:0}})}function Ht(e){return`${Sa}__${e}`}function Rh(){const e=new Date().getFullYear();return xa({start:new Date(e,0,1),end:new Date(e,11,31)}).map(n=>({date:wa(n,{representation:"date"}),count:0,level:0}))}function Te(e){const n=e.maxLevel?Math.max(1,e.maxLevel):4,r=new Date;return xa(e.interval??{start:ah(r),end:oh(r)}).map(a=>{const i=Math.round(Math.random()*20-Math.random()*16),s=Math.max(0,i),l=Math.ceil(s/20*n);return{date:wa(a,{representation:"date"}),count:s,level:l}})}function zr(e){return[...Array(e).keys()]}function Lh(){const[e,t]=y.useState("light"),n=r=>{t(r.matches?"dark":"light")};return y.useEffect(()=>{const r=window.matchMedia("(prefers-color-scheme: dark)");return t(r.matches?"dark":"light"),r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[]),e}const Wl=`${Sa}--loading-animation`;function $h(e,t){y.useEffect(()=>{const n=`oklab(from ${e} l a b)`,r=t==="light"?`oklab(from ${e} calc(l * 0.96) a b)`:`oklab(from ${e} calc(l * 1.08) a b)`,o=document.createElement("style");return o.innerHTML=` - @keyframes ${Wl} { - 0% { - fill: ${n}; - } - 50% { - fill: ${r}; - } - 100% { - fill: ${n}; - } - } - `,document.head.appendChild(o),()=>{document.head.removeChild(o)}},[e,t])}const Dh="(prefers-reduced-motion: reduce)";function Mh(){const[e,t]=y.useState(!0);return y.useEffect(()=>{const n=window.matchMedia(Dh);t(n.matches);const r=o=>{t(o.matches)};return n.addEventListener("change",r),()=>{n.removeEventListener("change",r)}},[]),e}function Ph(e,t=Fl){return e.reduce((n,r,o)=>{const a=r.find(l=>l!==void 0);if(!a)throw new Error(`Unexpected error: Week ${o+1} is empty: [${r}].`);const i=t[ih(kn(a.date))];if(!i){const l=new Date(a.date).toLocaleString("en-US",{month:"short"});throw new Error(`Unexpected error: undefined month label for ${l}.`)}const s=n[n.length-1];return o===0||!s||s.label!==i?[...n,{weekIndex:o,label:i}]:n},[]).filter(({weekIndex:n},r,o)=>r===0?o[1]&&o[1].weekIndex-n>=3:r===o.length-1?e.slice(n).length>=3:!0)}function jh(e,t,n){if(e.length!==7)throw new Error("Exactly 7 labels, one for each weekday must be passed.");return e.reduce((r,o,a)=>t.byDayIndex(a)?Math.max(r,Math.ceil(_h(o,n).width)):r,0)}function _h(e,t){if(typeof document>"u"||typeof window>"u")return{width:0,height:0};if(t<1)throw new RangeError("fontSize must be positive");if(e.length===0)return{width:0,height:0};const n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg");r.style.position="absolute",r.style.visibility="hidden",r.style.fontFamily=window.getComputedStyle(document.body).fontFamily,r.style.fontSize=`${t}px`;const o=document.createElementNS(n,"text");o.textContent=e,r.appendChild(o),document.body.appendChild(r);const a=o.getBBox();return document.body.removeChild(r),{width:a.width,height:a.height}}function Bh(e,t){if(!e)return{byDayIndex:()=>!1,shouldShow:!1};if(e===!0)return{byDayIndex:r=>(7+r-t)%7%2!==0,shouldShow:!0};const n=[];for(const r of e){const o=Nh[r.toLowerCase()];n[o]=!0}return{byDayIndex:r=>n[r]??!1,shouldShow:e.length>0}}const Nh={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Ih(e,t=5){const n=Fh(t);return e?(Wh(e,t),e.light=e.light??n.light,e.dark=e.dark??n.dark,{light:ji(e.light)?Ur(e.light,t):e.light,dark:ji(e.dark)?Ur(e.dark,t):e.dark}):n}function Fh(e){return{light:Ur(["hsl(0, 0%, 92%)","hsl(0, 0%, 26%)"],e),dark:Ur(["hsl(0, 0%, 22%)","hsl(0, 0%, 92%)"],e)}}function Wh(e,t){if(typeof e!="object"||e.light===void 0&&e.dark===void 0)throw new Error(`The theme object must contain at least one of the fields "light" and "dark" with exactly 2 or ${t} colors respectively.`);if(e.light){const{length:n}=e.light;if(n!==2&&n!==t)throw new Error(`theme.light must contain exactly 2 or ${t} colors, ${n} passed.`);for(const r of e.light)if(typeof window<"u"&&!CSS.supports("color",r))throw new Error(`Invalid color "${String(r)}" passed. All CSS color formats are accepted.`)}if(e.dark){const{length:n}=e.dark;if(n!==2&&n!==t)throw new Error(`theme.dark must contain exactly 2 or ${t} colors, ${n} passed.`);for(const r of e.dark)if(typeof window<"u"&&!CSS.supports("color",r))throw new Error(`Invalid color "${String(r)}" passed. All CSS color formats are accepted.`)}}function Ur([e,t],n){return zr(n).map(r=>{const o=r/(n-1)*100;return`color-mix(in oklab, ${t} ${parseFloat(o.toFixed(2))}%, ${e})`})}function ji(e){return e.length===2}const Vt={container:e=>({width:"max-content",maxWidth:"100%",display:"flex",flexDirection:"column",gap:"8px",fontSize:`${e}px`}),scrollContainer:e=>({maxWidth:"100%",overflowX:"auto",overflowY:"hidden",paddingTop:Math.ceil(.1*e)}),calendar:{display:"block",overflow:"visible"},rect:e=>({stroke:e==="light"?"rgba(0, 0, 0, 0.08)":"rgba(255, 255, 255, 0.04)"}),footer:{container:{display:"flex",flexWrap:"wrap",gap:"4px 16px",whiteSpace:"nowrap"},legend:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"3px"}}},le=y.forwardRef(({data:e,blockMargin:t=4,blockRadius:n=2,blockSize:r=12,colorScheme:o=void 0,eventHandlers:a={},fontSize:i=14,hideColorLegend:s=!1,hideMonthLabels:l=!1,hideTotalCount:u=!1,labels:d=void 0,maxLevel:f=4,loading:m=!1,renderBlock:h=void 0,renderColorLegend:g=void 0,showWeekdayLabels:p=!1,style:b={},theme:v=void 0,totalCount:E=void 0,weekStart:C=0},x)=>{const[k,O]=y.useState(!1);y.useEffect(()=>{O(!0)},[]),f=Math.max(1,f);const T=Ih(v,f+1),B=Lh(),P=o??B,c=T[P];$h(c[0],P);const A=!Mh();m&&(e=Rh()),Th(e,f);const L=e[0],D=sh(kn(L.date)),_=Ah(e,C),M=Object.assign({},Eh,d),N=l?0:i+So,j=Bh(p,C),H=k&&j.shouldShow?jh(M.weekdays,j,i)+So:void 0;function z(){return{width:_.length*(r+t)-t,height:N+(r+t)*7-t}}function K(Y){return Object.keys(a).reduce((F,X)=>({...F,[X]:de=>{var fe;return(fe=a[X])==null?void 0:fe.call(a,de)(Y)}}),{})}function Q(){return _.map((Y,F)=>Y.map((X,de)=>{if(!X)return null;const fe=m&&A?{animation:`${Wl} 1.75s ease-in-out infinite`,animationDelay:`${F*20+de*20}ms`}:void 0,pe=S.jsx("rect",{...K(X),x:0,y:N+(r+t)*de,width:r,height:r,rx:n,ry:n,fill:c[X.level],"data-date":X.date,"data-level":X.level,style:{...Vt.rect(P),...fe}});return S.jsx(y.Fragment,{children:h?h(pe,X):pe},X.date)})).map((Y,F)=>S.jsx("g",{transform:`translate(${(r+t)*F}, 0)`,children:Y},F))}function be(){if(u&&s)return null;const Y=typeof E=="number"?E:e.reduce((F,X)=>F+X.count,0);return S.jsxs("footer",{className:Ht("footer"),style:{...Vt.footer.container,marginLeft:H},children:[m&&S.jsx("div",{children:" "}),!m&&!u&&S.jsx("div",{className:Ht("count"),children:M.totalCount?M.totalCount.replace("{{count}}",String(Y)).replace("{{year}}",String(D)):`${Y} activities in ${D}`}),!m&&!s&&S.jsxs("div",{className:Ht("legend-colors"),style:Vt.footer.legend,children:[S.jsx("span",{style:{marginRight:"0.4em"},children:M.legend.less}),zr(f+1).map(F=>{const X=S.jsx("svg",{width:r,height:r,children:S.jsx("rect",{width:r,height:r,fill:c[F],rx:n,ry:n,style:Vt.rect(P)})},F);return g?g(X,F):X}),S.jsx("span",{style:{marginLeft:"0.4em"},children:M.legend.more})]})]})}function Be(){return j.shouldShow?S.jsx("g",{className:Ht("legend-weekday"),children:zr(7).map(Y=>{const F=(Y+C)%7;return j.byDayIndex(F)?S.jsx("text",{x:-So,y:N+(r+t)*Y+r/2,dominantBaseline:"central",textAnchor:"end",fill:"currentColor",children:M.weekdays[F]},Y):null})}):null}function xe(){return l?null:S.jsx("g",{className:Ht("legend-month"),children:Ph(_,M.months).map(({label:Y,weekIndex:F})=>S.jsx("text",{x:(r+t)*F,y:0,dominantBaseline:"hanging",fill:"currentColor",children:Y},F))})}const{width:ue,height:Ae}=z();return S.jsxs("article",{ref:x,className:Sa,style:{...b,...Vt.container(i)},children:[S.jsx("div",{className:Ht("scroll-container"),style:Vt.scrollContainer(i),children:S.jsxs("svg",{width:ue,height:Ae,viewBox:`0 0 ${ue} ${Ae}`,className:Ht("calendar"),style:{...Vt.calendar,marginLeft:H},children:[!m&&Be(),!m&&xe(),Q()]})}),be()]})});le.displayName="ActivityCalendar";le.__docgenInfo={description:"",methods:[],displayName:"ActivityCalendar",props:{data:{required:!0,tsType:{name:"Array",elements:[{name:"Activity"}],raw:"Array"},description:'List of calendar entries. Every `Activity` object requires an ISO 8601\n`date` string in the format `yyyy-MM-dd`, a `count` property with the\namount of tracked data and a `level` property in the range `0-maxLevel`\nto specify activity intensity. The `maxLevel` prop is 4 by default.\n\nFor missing dates, no activity is assumed. This allows choosing the start\nand end date of the calendar arbitrarily by passing empty entries as the\nfirst and last item.\n\nExample object:\n\n```json\n{\n date: "2021-02-20",\n count: 16,\n level: 3\n}\n```'},blockMargin:{required:!1,tsType:{name:"number"},description:"Margin between blocks in pixels.",defaultValue:{value:"4",computed:!1}},blockRadius:{required:!1,tsType:{name:"number"},description:"Border radius of blocks in pixels.",defaultValue:{value:"2",computed:!1}},blockSize:{required:!1,tsType:{name:"number"},description:"Block size in pixels.",defaultValue:{value:"12",computed:!1}},colorScheme:{required:!1,tsType:{name:"union",raw:"'light' | 'dark'",elements:[{name:"literal",value:"'light'"},{name:"literal",value:"'dark'"}]},description:"Use a specific color scheme instead of the system one. Supported values\nare `'light'` and `'dark'`.",defaultValue:{value:"undefined",computed:!0}},eventHandlers:{required:!1,tsType:{name:"signature",type:"object",raw:`{ - [key in keyof SVGRectEventHandler]: ( - ...event: Parameters> - ) => (activity: Activity) => void; -}`,signature:{properties:[{key:{name:"Omit",elements:[{name:"DOMAttributes",elements:[{name:"SVGRectElement"}],raw:"DOMAttributes"},{name:"union",raw:"'css' | 'children' | 'dangerouslySetInnerHTML'",elements:[{name:"literal",value:"'css'"},{name:"literal",value:"'children'"},{name:"literal",value:"'dangerouslySetInnerHTML'"}]}],raw:`Omit< - DOMAttributes, - 'css' | 'children' | 'dangerouslySetInnerHTML' ->`,required:!0},value:{name:"signature",type:"function",raw:`( - ...event: Parameters> -) => (activity: Activity) => void`,signature:{arguments:[{type:{name:"Parameters",elements:[{name:"NonNullable",elements:[{name:"Omit[Omit]",raw:"SVGRectEventHandler[keyof SVGRectEventHandler]"}],raw:"NonNullable"}],raw:"Parameters>"},name:"event",rest:!0}],return:{name:"signature",type:"function",raw:"(activity: Activity) => void",signature:{arguments:[{type:{name:"Activity"},name:"activity"}],return:{name:"void"}}}}}}]}},description:"Event handlers to register for the SVG `` elements that are used to\nrender the calendar days. Handler signature: `event => activity => void`",defaultValue:{value:"{}",computed:!1}},fontSize:{required:!1,tsType:{name:"number"},description:"Font size for text in pixels.",defaultValue:{value:"14",computed:!1}},hideColorLegend:{required:!1,tsType:{name:"boolean"},description:"Toggle to hide color legend below calendar.",defaultValue:{value:"false",computed:!1}},hideMonthLabels:{required:!1,tsType:{name:"boolean"},description:"Toggle to hide month labels above calendar.",defaultValue:{value:"false",computed:!1}},hideTotalCount:{required:!1,tsType:{name:"boolean"},description:"Toggle to hide the total count below calendar.",defaultValue:{value:"false",computed:!1}},labels:{required:!1,tsType:{name:"Partial",elements:[{name:"signature",type:"object",raw:`{ - months: Array; - weekdays: Array; - totalCount: string; - legend: Partial<{ - less: string; - more: string; - }>; -}`,signature:{properties:[{key:"months",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"weekdays",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"totalCount",value:{name:"string",required:!0}},{key:"legend",value:{name:"Partial",elements:[{name:"signature",type:"object",raw:`{ - less: string; - more: string; -}`,signature:{properties:[{key:"less",value:{name:"string",required:!0}},{key:"more",value:{name:"string",required:!0}}]}}],raw:`Partial<{ - less: string; - more: string; -}>`,required:!0}}]}}],raw:`Partial<{ - months: Array; - weekdays: Array; - totalCount: string; - legend: Partial<{ - less: string; - more: string; - }>; -}>`},description:"Localization strings for all calendar labels.\n\n`totalCount` supports the placeholders `{{count}}` and `{{year}}`.",defaultValue:{value:"undefined",computed:!0}},maxLevel:{required:!1,tsType:{name:"number"},description:"Maximum activity level (zero indexed).",defaultValue:{value:"4",computed:!1}},loading:{required:!1,tsType:{name:"boolean"},description:"Toggle for loading state. `data` property will be ignored if set.",defaultValue:{value:"false",computed:!1}},ref:{required:!1,tsType:{name:"ForwardedRef",elements:[{name:"HTMLElement"}],raw:"ForwardedRef"},description:"Ref to access the calendar DOM node."},renderBlock:{required:!1,tsType:{name:"signature",type:"function",raw:"(block: BlockElement, activity: Activity) => ReactElement",signature:{arguments:[{type:{name:"ReactElement",elements:[{name:"BlockAttributes"},{name:"JSXElementConstructor",elements:[{name:"SVGRectElement"}],raw:"JSXElementConstructor"}],raw:"ReactElement>"},name:"block"},{type:{name:"Activity"},name:"activity"}],return:{name:"ReactElement"}}},description:"Render prop for calendar blocks (activities). For example, useful to wrap\nthe element with a tooltip component. Use `React.cloneElement` to pass\nadditional props to the element if necessary.",defaultValue:{value:"undefined",computed:!0}},renderColorLegend:{required:!1,tsType:{name:"signature",type:"function",raw:"(block: BlockElement, level: number) => ReactElement",signature:{arguments:[{type:{name:"ReactElement",elements:[{name:"BlockAttributes"},{name:"JSXElementConstructor",elements:[{name:"SVGRectElement"}],raw:"JSXElementConstructor"}],raw:"ReactElement>"},name:"block"},{type:{name:"number"},name:"level"}],return:{name:"ReactElement"}}},description:"Render prop for color legend blocks. For example, useful to wrap the\nelement with a tooltip component. Use `React.cloneElement` to pass\nadditional props to the element if necessary.",defaultValue:{value:"undefined",computed:!0}},showWeekdayLabels:{required:!1,tsType:{name:"union",raw:"boolean | Array",elements:[{name:"boolean"},{name:"Array",elements:[{name:"union",raw:"'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat'",elements:[{name:"literal",value:"'sun'"},{name:"literal",value:"'mon'"},{name:"literal",value:"'tue'"},{name:"literal",value:"'wed'"},{name:"literal",value:"'thu'"},{name:"literal",value:"'fri'"},{name:"literal",value:"'sat'"}]}],raw:"Array"}]},description:"Toggle to show weekday labels left to the calendar.\nAlternatively, pass a list of ISO 8601 weekday names to show.\nFor example `['mon', 'wed', 'fri']`.",defaultValue:{value:"false",computed:!1}},style:{required:!1,tsType:{name:"CSSProperties"},description:"Style object to pass to component container.",defaultValue:{value:"{}",computed:!1}},theme:{required:!1,tsType:{name:"union",raw:`| { - light: ColorScale; - dark?: ColorScale; - } -| { - light?: ColorScale; - dark: ColorScale; - }`,elements:[{name:"signature",type:"object",raw:`{ - light: ColorScale; - dark?: ColorScale; -}`,signature:{properties:[{key:"light",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"dark",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}}]}},{name:"signature",type:"object",raw:`{ - light?: ColorScale; - dark: ColorScale; -}`,signature:{properties:[{key:"light",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"dark",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}}]}}]},description:`Set the calendar colors for the light and dark system color scheme. -Define each color scale explicitly by settings all colors (5 per default) -or pass exactly two colors (the lowest and highest intensity) to calculate -a single-hue scale. Colors can be specified in any valid CSS format. - -The colors for at least one scheme must be set. If undefined, the default -theme is used. By default, the calendar will select the current system color -scheme, but you can enforce a specific scheme with the \`colorScheme\` prop. - -Example: - -\`\`\`tsx - -\`\`\``,defaultValue:{value:"undefined",computed:!0}},totalCount:{required:!1,tsType:{name:"number"},description:"Overwrite the total activity count.",defaultValue:{value:"undefined",computed:!0}},weekStart:{required:!1,tsType:{name:"union",raw:"0 | 1 | 2 | 3 | 4 | 5 | 6",elements:[{name:"literal",value:"0"},{name:"literal",value:"1"},{name:"literal",value:"2"},{name:"literal",value:"3"},{name:"literal",value:"4"},{name:"literal",value:"5"},{name:"literal",value:"6"}]},description:"Index of day to be used as start of week. 0 represents Sunday.",defaultValue:{value:"0",computed:!1}}}};const Kh={title:"React Activity Calendar",component:le,argTypes:{data:{control:!1},blockMargin:{control:{type:"range",min:0,max:20}},blockRadius:{control:{type:"range",min:0,max:20}},blockSize:{control:{type:"range",min:4,max:30,step:1}},colorScheme:{control:!1},fontSize:{control:{type:"range",min:6,max:32,step:2}},maxLevel:{control:{type:"range",min:1,max:9}},ref:{control:!1},showWeekdayLabels:{control:"boolean"},style:{control:!1},weekStart:{options:[0,1,2,3,4,5,6],control:{type:"select",labels:{0:"Sunday (0)",1:"Monday (1)",2:"Tuesday (2)",3:"Wednesday (3)",4:"Thursday (4)",5:"Friday (5)",6:"Saturday (6)"}}}},decorators:[(e,{args:t})=>(t.colorScheme=Kt()?"dark":"light",S.jsx(e,{}))],parameters:{controls:{sort:"requiredFirst"},layout:"centered"},tags:["autodocs"]},$e={blockMargin:4,blockRadius:2,blockSize:12,fontSize:14,hideColorLegend:!1,hideMonthLabels:!1,hideTotalCount:!1,loading:!1,maxLevel:4,showWeekdayLabels:!1,weekStart:0},Hl={light:["#f0f0f0","#c4edde","#7ac7c4","#f73859","#384259"],dark:["hsl(0, 0%, 22%)","#4D455D","#7DB9B6","#F5E9CF","#E96479"]},gr={args:$e,render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsx(le,{...e,data:t})},parameters:{docs:{source:{code:""}}}},yr={args:{...$e,data:[],loading:!0},parameters:{docs:{source:{code:""}}}},vr={args:{...$e,maxLevel:2},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsxs(en,{children:[S.jsx(le,{...e,data:t,style:{marginBottom:"2rem"}}),S.jsxs("p",{children:["Use the"," ",S.jsx("code",{children:S.jsx("b",{children:"maxLevel"})})," ","prop to control the number of activity levels. This value is zero indexed (0 represents no activity), so for example a ",S.jsx("code",{children:"maxLevel"})," of 2 will total in 3 levels as above. Each activity level must be in the interval from 0 to ",S.jsx("code",{children:"maxLevel"}),", which is 4 per default."]})]})},parameters:{docs:{source:{code:""}}}},br={args:$e,render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel,interval:{start:new Date(2022,5,1),end:new Date(2023,4,31)}}),[e.maxLevel]),n=y.useMemo(()=>Te({maxLevel:e.maxLevel,interval:{start:new Date(2023,2,8),end:new Date(2023,7,1)}}),[e.maxLevel]),r=y.useMemo(()=>Te({maxLevel:e.maxLevel,interval:{start:new Date(2023,5,14),end:new Date(2023,6,17)}}),[e.maxLevel]);return S.jsxs(Vl,{children:[S.jsx(le,{...e,data:t,labels:{totalCount:"{{count}} activities in 2022 & 2023"}}),S.jsx(le,{...e,data:n}),S.jsx(le,{...e,data:r})]})}},xr={args:{...$e,theme:{light:["hsl(0, 0%, 92%)","rebeccapurple"],dark:["hsl(0, 0%, 22%)","hsl(225,92%,77%)"]}},parameters:{docs:{source:{code:Li}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsxs(en,{children:[S.jsx("h1",{children:"Color themes"}),S.jsx(le,{...e,data:t,style:{margin:"2rem 0"}}),S.jsxs("p",{children:["Use the"," ",S.jsx("code",{children:S.jsx("b",{children:"theme"})})," ","prop to configure the calendar colors for the light and dark system"," ",S.jsx("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme",children:"color scheme"}),". Define each color scale"," ",S.jsx(Fo,{kind:"react-activity-calendar",name:"explicit-theme",children:"explicitly"})," ","by settings all colors (5 per default) or pass exactly two colors (the lowest and highest intensity) to calculate a single-hue scale. For explicit themes the color count must match the number of activity levels, which is controlled by the"," ",S.jsx(Fo,{kind:"react-activity-calendar",name:"date-ranges",children:S.jsx("code",{children:"maxLevel"})})," ","prop. Colors can be specified in any valid CSS format."]}),S.jsxs("p",{children:["The colors for at least one scheme must be set. If undefined, the default theme is used. By default, the calendar will select the current system color scheme, but you can enforce a specific scheme with the"," ",S.jsx("a",{href:"/?path=/docs/react-activity-calendar--docs",children:S.jsx("code",{children:"colorScheme"})})," ","prop."]}),S.jsx(En,{code:Li,isDarkMode:Kt()})]})}},wr={args:{...$e,theme:Hl},parameters:{controls:{exclude:["maxLevel"]},docs:{source:{code:Xm}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:4}),[]);return S.jsxs(en,{children:[S.jsx("h1",{children:"Explicit theme"}),S.jsx("p",{}),S.jsxs("p",{children:["See the"," ",S.jsx(Fo,{kind:"react-activity-calendar",name:"color-themes",children:"WithTheme"})," ","story for details how to use the ",S.jsx("code",{children:"theme"})," prop."]}),S.jsx(le,{...e,data:t,style:{marginTop:"2rem"}})]})}},Sr={args:{...$e,blockSize:14,blockRadius:7,blockMargin:5,fontSize:16,theme:Hl},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsx(le,{...e,data:t})},parameters:{controls:{exclude:["maxLevel"]},docs:{source:{code:Um}}}},Cr={args:{...$e,eventHandlers:{onClick:()=>e=>{alert(JSON.stringify(e))},onMouseEnter:()=>()=>{console.log("on mouse enter")}}},parameters:{docs:{source:{code:Ri}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsxs(en,{children:[S.jsx("h1",{children:"Event Handlers"}),S.jsxs("p",{children:["You can register event handlers for the SVG ",S.jsx("code",{children:""})," elements that are used to render the calendar days. This way you can control the behaviour on click, hover, etc. All event listeners have the following signature, so you can use the activity data of the block inside the handler:"]}),S.jsx(En,{code:qm,isDarkMode:Kt()}),S.jsx("p",{children:"Click on any block below to see it in action:"}),S.jsx(le,{...e,data:t,style:{margin:"2rem 0"}}),S.jsx(En,{code:Ri,isDarkMode:Kt()})]})}},kr={args:$e,parameters:{docs:{source:{code:$i}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsxs(en,{children:[S.jsx("h1",{children:"Tooltips"}),S.jsxs("p",{children:["To add a 3rd party tooltip component to the calendar you can use the"," ",S.jsx("code",{children:"renderBlock"})," prop."]}),S.jsx("p",{children:S.jsxs("i",{children:["Caveat: unfortunately not all tooltip components can be supported, currently. In the future, the idea is to render"," ",S.jsx("a",{href:"https://martinfowler.com/articles/headless-component.html",children:"headless"})," ","tooltips and let the users decide how to style them."]})}),S.jsx("h2",{children:S.jsx("a",{href:"https://mui.com/material-ui/react-tooltip/",children:"Material UI"})}),S.jsxs("p",{children:["In the simplest case, each block only needs to be wrapped with a"," ",S.jsx("code",{children:""})," component, as shown in the following for Material UI. Additionally, you can add tooltips to the color legend below the calendar using the"," ",S.jsx("code",{children:"renderColorLegend"})," prop:"]}),S.jsx(En,{code:Jm,isDarkMode:Kt()}),S.jsx(le,{...e,data:t,renderBlock:(n,r)=>S.jsx(mi,{title:`${r.count} activities on ${r.date}`,children:n}),renderColorLegend:(n,r)=>S.jsx(mi,{title:`Level ${r}`,children:n})}),S.jsx("h2",{children:S.jsx("a",{href:"https://github.com/ReactTooltip/react-tooltip",children:"react-tooltip"})}),S.jsxs("p",{children:["Some libraries, like ",S.jsx("code",{children:"react-tooltip"}),", require that additional props are passed to the block elements. You can achieve this using the ",S.jsx("code",{children:"React.cloneElement"})," ","function:"]}),S.jsx(En,{code:$i,isDarkMode:Kt()}),S.jsx(le,{...e,data:t,renderBlock:(n,r)=>y.cloneElement(n,{"data-tooltip-id":"react-tooltip","data-tooltip-html":`${r.count} activities on ${r.date}`})}),S.jsx(zm,{id:"react-tooltip"})]})}},Er={args:{...$e,hideMonthLabels:!0,hideColorLegend:!0,hideTotalCount:!0},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsx(le,{...e,data:t})},parameters:{docs:{source:{code:""}}}},Tr={args:{...$e,showWeekdayLabels:!0},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsxs(Vl,{children:[S.jsxs("div",{children:[S.jsx(Co,{code:"true",children:"Show every second weekday (default)"}),S.jsx(le,{...e,data:t})]}),S.jsxs("div",{children:[S.jsx(Co,{code:"['mon', 'fri']",children:"Show specific days"}),S.jsx(le,{...e,data:t,showWeekdayLabels:["mon","fri"]})]}),S.jsxs("div",{children:[S.jsx(Co,{code:"['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']",children:"Show every day"}),S.jsx(le,{...e,data:t,showWeekdayLabels:["sun","mon","tue","wed","thu","fri","sat"]})]})]})},parameters:{docs:{source:{code:""}}}},Ar={args:{...$e,showWeekdayLabels:!0,labels:{months:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],weekdays:["So","Mo","Di","Mi","Do","Fr","Sa"],totalCount:"{{count}} Aktivitäten in {{year}}",legend:{less:"Weniger",more:"Mehr"}}},parameters:{docs:{source:{code:Km}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsxs(en,{children:[S.jsx("h1",{children:"Localization"}),S.jsx("p",{children:"Example in German."}),S.jsx(le,{...e,data:t,style:{margin:"2rem 0"}}),S.jsx(En,{code:Gm,isDarkMode:Kt()})]})}},Or={args:{...$e,weekStart:1},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsx(le,{...e,data:t})},parameters:{docs:{source:{code:""}}}},Rr={args:$e,parameters:{docs:{source:{code:""}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]);return S.jsx("div",{style:{width:480,maxWidth:"100%",border:"dashed 1px #929292"},children:S.jsx(le,{...e,data:t})})}},Lr={args:$e,parameters:{docs:{source:{code:Ym}}},render:e=>{const t=y.useMemo(()=>Te({maxLevel:e.maxLevel}),[e.maxLevel]),n=y.useRef(null);return y.useEffect(()=>{console.log("calendar ref",n)},[n]),S.jsxs(S.Fragment,{children:[S.jsx(le,{...e,data:t,ref:n}),S.jsx("br",{}),S.jsx("p",{children:"Check the JavaScript console to see the ref logged."})]})}},Vl=({children:e})=>S.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"3rem"},children:e}),Co=({children:e,code:t})=>S.jsxs("div",{role:"heading",style:{display:"flex",alignItems:"center",gap:12,marginBottom:16,fontSize:16,fontWeight:"bolder"},children:[e,t&&S.jsx("code",{style:{fontSize:13,fontWeight:"normal"},children:t})]}),En=({code:e,isDarkMode:t})=>{const n=t?Aa.dark:Aa.light;return S.jsx("pre",{style:{margin:"1rem 0 2rem",padding:"0.75em",whiteSpace:"pre-wrap",backgroundColor:n.appBg,border:`1px solid ${n.appBorderColor}`,borderRadius:n.appBorderRadius,color:n.textColor,lineHeight:1.3},children:S.jsx("code",{children:e.trim()})})};var _i,Bi,Ni;gr.parameters={...gr.parameters,docs:{...(_i=gr.parameters)==null?void 0:_i.docs,source:{originalSource:`{ - args: defaultProps, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return ; - }, - parameters: { - docs: { - source: { - code: '' - } - } - } -}`,...(Ni=(Bi=gr.parameters)==null?void 0:Bi.docs)==null?void 0:Ni.source}}};var Ii,Fi,Wi;yr.parameters={...yr.parameters,docs:{...(Ii=yr.parameters)==null?void 0:Ii.docs,source:{originalSource:`{ - args: { - ...defaultProps, - data: [], - loading: true - }, - parameters: { - docs: { - source: { - code: '' - } - } - } -}`,...(Wi=(Fi=yr.parameters)==null?void 0:Fi.docs)==null?void 0:Wi.source}}};var Hi,Vi,zi;vr.parameters={...vr.parameters,docs:{...(Hi=vr.parameters)==null?void 0:Hi.docs,source:{originalSource:`{ - args: { - ...defaultProps, - maxLevel: 2 - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return - -

- Use the{' '} - - maxLevel - {' '} - prop to control the number of activity levels. This value is zero indexed (0 represents no - activity), so for example a maxLevel of 2 will total in 3 levels as above. - Each activity level must be in the interval from 0 to maxLevel, which is 4 - per default. -

-
; - }, - parameters: { - docs: { - source: { - code: '' - } - } - } -}`,...(zi=(Vi=vr.parameters)==null?void 0:Vi.docs)==null?void 0:zi.source}}};var Ui,qi,Gi;br.parameters={...br.parameters,docs:{...(Ui=br.parameters)==null?void 0:Ui.docs,source:{originalSource:`{ - args: defaultProps, - render: args => { - const dataLong = useMemo(() => generateTestData({ - maxLevel: args.maxLevel, - interval: { - start: new Date(2022, 5, 1), - end: new Date(2023, 4, 31) - } - }), [args.maxLevel]); - const dataMedium = useMemo(() => generateTestData({ - maxLevel: args.maxLevel, - interval: { - start: new Date(2023, 2, 8), - end: new Date(2023, 7, 1) - } - }), [args.maxLevel]); - const dataShort = useMemo(() => generateTestData({ - maxLevel: args.maxLevel, - interval: { - start: new Date(2023, 5, 14), - end: new Date(2023, 6, 17) - } - }), [args.maxLevel]); - return - - - - ; - } -}`,...(Gi=(qi=br.parameters)==null?void 0:qi.docs)==null?void 0:Gi.source}}};var Ki,Yi,Xi;xr.parameters={...xr.parameters,docs:{...(Ki=xr.parameters)==null?void 0:Ki.docs,source:{originalSource:`{ - args: { - ...defaultProps, - theme: { - light: ['hsl(0, 0%, 92%)', 'rebeccapurple'], - dark: ['hsl(0, 0%, 22%)', 'hsl(225,92%,77%)'] - } - }, - parameters: { - docs: { - source: { - code: exampleTheme - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return -

Color themes

- -

- Use the{' '} - - theme - {' '} - prop to configure the calendar colors for the light and dark system{' '} - color scheme. - Define each color scale{' '} - - explicitly - {' '} - by settings all colors (5 per default) or pass exactly two colors (the lowest and highest - intensity) to calculate a single-hue scale. For explicit themes the color count must match - the number of activity levels, which is controlled by the{' '} - - maxLevel - {' '} - prop. Colors can be specified in any valid CSS format. -

-

- The colors for at least one scheme must be set. If undefined, the default theme is used. - By default, the calendar will select the current system color scheme, but you can enforce - a specific scheme with the{' '} - - colorScheme - {' '} - prop. -

- -
; - } -}`,...(Xi=(Yi=xr.parameters)==null?void 0:Yi.docs)==null?void 0:Xi.source}}};var Ji,Qi,Zi;wr.parameters={...wr.parameters,docs:{...(Ji=wr.parameters)==null?void 0:Ji.docs,source:{originalSource:`{ - args: { - ...defaultProps, - theme: explicitTheme - }, - parameters: { - // maxLevel cannot be used for a static explicit theme - controls: { - exclude: ['maxLevel'] - }, - docs: { - source: { - code: exampleThemeExplicit - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: 4 - }), []); - return -

Explicit theme

-

-

- See the{' '} - - WithTheme - {' '} - story for details how to use the theme prop. -

- -
; - } -}`,...(Zi=(Qi=wr.parameters)==null?void 0:Qi.docs)==null?void 0:Zi.source}}};var es,ts,ns;Sr.parameters={...Sr.parameters,docs:{...(es=Sr.parameters)==null?void 0:es.docs,source:{originalSource:`{ - args: { - ...defaultProps, - blockSize: 14, - blockRadius: 7, - blockMargin: 5, - fontSize: 16, - theme: explicitTheme - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return ; - }, - parameters: { - // maxLevel cannot be used for a static explicit theme - controls: { - exclude: ['maxLevel'] - }, - docs: { - source: { - code: exampleCustomization - } - } - } -}`,...(ns=(ts=Sr.parameters)==null?void 0:ts.docs)==null?void 0:ns.source}}};var rs,os,as;Cr.parameters={...Cr.parameters,docs:{...(rs=Cr.parameters)==null?void 0:rs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - eventHandlers: { - onClick: () => activity => { - alert(JSON.stringify(activity)); - }, - onMouseEnter: () => () => { - // eslint-disable-next-line no-console - console.log('on mouse enter'); - } - } - }, - parameters: { - docs: { - source: { - code: exampleEventHandlers - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return -

Event Handlers

-

- You can register event handlers for the SVG <rect/> elements that are - used to render the calendar days. This way you can control the behaviour on click, hover, - etc. All event listeners have the following signature, so you can use the activity data of - the block inside the handler: -

- -

Click on any block below to see it in action:

- - -
; - } -}`,...(as=(os=Cr.parameters)==null?void 0:os.docs)==null?void 0:as.source}}};var is,ss,ls;kr.parameters={...kr.parameters,docs:{...(is=kr.parameters)==null?void 0:is.docs,source:{originalSource:`{ - args: defaultProps, - parameters: { - docs: { - source: { - code: exampleTooltipsReact - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return -

Tooltips

-

- To add a 3rd party tooltip component to the calendar you can use the{' '} - renderBlock prop. -

-

- - Caveat: unfortunately not all tooltip components can be supported, currently. In the - future, the idea is to render{' '} - headless{' '} - tooltips and let the users decide how to style them. - -

- -

- Material UI -

-

- In the simplest case, each block only needs to be wrapped with a{' '} - <Tooltip/> component, as shown in the following for Material UI. - Additionally, you can add tooltips to the color legend below the calendar using the{' '} - renderColorLegend prop: -

- - - {block} - } renderColorLegend={(block, level) => {block}} /> -

- react-tooltip -

-

- Some libraries, like react-tooltip, require that additional props are passed - to the block elements. You can achieve this using the React.cloneElement{' '} - function: -

- - cloneElement(block, { - 'data-tooltip-id': 'react-tooltip', - 'data-tooltip-html': \`\${activity.count} activities on \${activity.date}\` - })} /> - -
; - } -}`,...(ls=(ss=kr.parameters)==null?void 0:ss.docs)==null?void 0:ls.source}}};var cs,us,ds;Er.parameters={...Er.parameters,docs:{...(cs=Er.parameters)==null?void 0:cs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - hideMonthLabels: true, - hideColorLegend: true, - hideTotalCount: true - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return ; - }, - parameters: { - docs: { - source: { - code: '' - } - } - } -}`,...(ds=(us=Er.parameters)==null?void 0:us.docs)==null?void 0:ds.source}}};var fs,ps,ms;Tr.parameters={...Tr.parameters,docs:{...(fs=Tr.parameters)==null?void 0:fs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - showWeekdayLabels: true - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return -
- Show every second weekday (default) - -
- -
- Show specific days - -
- -
- - Show every day - - -
-
; - }, - parameters: { - docs: { - source: { - code: '' - } - } - } -}`,...(ms=(ps=Tr.parameters)==null?void 0:ps.docs)==null?void 0:ms.source}}};var hs,gs,ys;Ar.parameters={...Ar.parameters,docs:{...(hs=Ar.parameters)==null?void 0:hs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - showWeekdayLabels: true, - labels: { - months: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], - weekdays: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], - totalCount: '{{count}} Aktivitäten in {{year}}', - legend: { - less: 'Weniger', - more: 'Mehr' - } - } - }, - parameters: { - docs: { - source: { - code: exampleLabels - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return -

Localization

-

Example in German.

- - -
; - } -}`,...(ys=(gs=Ar.parameters)==null?void 0:gs.docs)==null?void 0:ys.source}}};var vs,bs,xs;Or.parameters={...Or.parameters,docs:{...(vs=Or.parameters)==null?void 0:vs.docs,source:{originalSource:`{ - args: { - ...defaultProps, - weekStart: 1 - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return ; - }, - parameters: { - docs: { - source: { - code: '' - } - } - } -}`,...(xs=(bs=Or.parameters)==null?void 0:bs.docs)==null?void 0:xs.source}}};var ws,Ss,Cs;Rr.parameters={...Rr.parameters,docs:{...(ws=Rr.parameters)==null?void 0:ws.docs,source:{originalSource:`{ - args: defaultProps, - parameters: { - docs: { - source: { - code: '' - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - return
- -
; - } -}`,...(Cs=(Ss=Rr.parameters)==null?void 0:Ss.docs)==null?void 0:Cs.source}}};var ks,Es,Ts;Lr.parameters={...Lr.parameters,docs:{...(ks=Lr.parameters)==null?void 0:ks.docs,source:{originalSource:`{ - args: defaultProps, - parameters: { - docs: { - source: { - code: exampleRef - } - } - }, - render: args => { - const data = useMemo(() => generateTestData({ - maxLevel: args.maxLevel - }), [args.maxLevel]); - const calendarRef = useRef(null); - useEffect(() => { - // eslint-disable-next-line no-console - console.log('calendar ref', calendarRef); - }, [calendarRef]); - return <> - -
-

Check the JavaScript console to see the ref logged.

- ; - } -}`,...(Ts=(Es=Lr.parameters)==null?void 0:Es.docs)==null?void 0:Ts.source}}};const Yh=["Default","Loading","ActivityLevels","DateRanges","ColorThemes","ExplicitThemes","Customization","EventHandlers","Tooltips","WithoutLabels","WeekdayLabels","LocalizedLabels","MondayAsWeekStart","NarrowScreens","ContainerRef"];export{vr as ActivityLevels,xr as ColorThemes,Lr as ContainerRef,Sr as Customization,br as DateRanges,gr as Default,Cr as EventHandlers,wr as ExplicitThemes,yr as Loading,Ar as LocalizedLabels,Or as MondayAsWeekStart,Rr as NarrowScreens,kr as Tooltips,Tr as WeekdayLabels,Er as WithoutLabels,Yh as __namedExportsOrder,Kh as default}; diff --git a/docs/assets/ActivityCalendar.stories-C9g7fSvG.js b/docs/assets/ActivityCalendar.stories-C9g7fSvG.js new file mode 100644 index 0000000..ae78b97 --- /dev/null +++ b/docs/assets/ActivityCalendar.stories-C9g7fSvG.js @@ -0,0 +1,699 @@ +var Xl=Object.defineProperty;var Jl=(e,t,n)=>t in e?Xl(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var ir=(e,t,n)=>Jl(e,typeof t!="symbol"?t+"":t,n);import{M as sr,r as Ql,j as C,N as Aa}from"./index-Dja51o-9.js";import{b as Eo,r as y,R as He,g as Zl}from"./index-CZMpeKRu.js";import{G as ec}from"./index-BfiLiMku.js";import{u as Kt}from"./index-BwhLTrJS.js";import"./index-D-TIQtLp.js";const Vn={black:"#000",white:"#fff"},on={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"},an={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"},sn={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"},ln={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"},cn={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"},$n={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"},tc={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"};function Xt(e,...t){const n=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(r=>n.searchParams.append("args[]",r)),`Minified MUI error #${e}; visit ${n} for the full message.`}const Ls="$$material";function To(){return To=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?Ce(An,--Ne):0,gn--,ye===10&&(gn=1,Yr--),ye}function Ve(){return ye=Ne2||Un(ye)>3?"":" "}function hc(e,t){for(;--t&&Ve()&&!(ye<48||ye>102||ye>57&&ye<65||ye>70&&ye<97););return Jn(e,Dr()+(t<6&&xt()==32&&Ve()==32))}function Oo(e){for(;Ve();)switch(ye){case e:return Ne;case 34:case 39:e!==34&&e!==39&&Oo(ye);break;case 40:e===41&&Oo(e);break;case 92:Ve();break}return Ne}function gc(e,t){for(;Ve()&&e+ye!==57;)if(e+ye===84&&xt()===47)break;return"/*"+Jn(t,Ne-1)+"*"+Gr(e===47?e:Ve())}function yc(e){for(;!Un(xt());)Ve();return Jn(e,Ne)}function vc(e){return js(Mr("",null,null,null,[""],e=_s(e),0,[0],e))}function Mr(e,t,n,r,o,a,i,s,l){for(var u=0,d=0,p=i,m=0,g=0,h=0,f=1,b=1,v=1,E=0,w="",x=o,k=a,O=r,T=w;b;)switch(h=E,E=Ve()){case 40:if(h!=108&&Ce(T,p-1)==58){Ao(T+=G(Pr(E),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:T+=Pr(E);break;case 9:case 10:case 13:case 32:T+=mc(h);break;case 92:T+=hc(Dr()-1,7);continue;case 47:switch(xt()){case 42:case 47:lr(bc(gc(Ve(),Dr()),t,n),l);break;default:T+="/"}break;case 123*f:s[u++]=vt(T)*v;case 125*f:case 59:case 0:switch(E){case 0:case 125:b=0;case 59+d:v==-1&&(T=G(T,/\f/g,"")),g>0&&vt(T)-p&&lr(g>32?Ra(T+";",r,n,p-1):Ra(G(T," ","")+";",r,n,p-2),l);break;case 59:T+=";";default:if(lr(O=Oa(T,t,n,u,d,o,s,w,x=[],k=[],p),a),E===123)if(d===0)Mr(T,t,O,O,x,a,p,s,k);else switch(m===99&&Ce(T,3)===110?100:m){case 100:case 108:case 109:case 115:Mr(e,O,O,r&&lr(Oa(e,O,O,0,0,o,s,w,o,x=[],p),k),o,k,p,s,r?x:k);break;default:Mr(T,O,O,O,[""],k,0,s,k)}}u=d=g=0,f=v=1,w=T="",p=i;break;case 58:p=1+vt(T),g=h;default:if(f<1){if(E==123)--f;else if(E==125&&f++==0&&pc()==125)continue}switch(T+=Gr(E),E*f){case 38:v=d>0?1:(T+="\f",-1);break;case 44:s[u++]=(vt(T)-1)*v,v=1;break;case 64:xt()===45&&(T+=Pr(Ve())),m=xt(),d=p=vt(w=T+=yc(Dr())),E++;break;case 45:h===45&&vt(T)==2&&(f=0)}}return a}function Oa(e,t,n,r,o,a,i,s,l,u,d){for(var p=o-1,m=o===0?a:[""],g=Yo(m),h=0,f=0,b=0;h0?m[v]+" "+E:G(E,/&\f/g,m[v])))&&(l[b++]=w);return Kr(e,t,n,o===0?qo:s,l,u,d)}function bc(e,t,n){return Kr(e,t,n,$s,Gr(fc()),zn(e,2,-2),0)}function Ra(e,t,n,r){return Kr(e,t,n,Go,zn(e,0,r),zn(e,r+1,-1),r)}function pn(e,t){for(var n="",r=Yo(e),o=0;o6)switch(Ce(e,t+1)){case 109:if(Ce(e,t+4)!==45)break;case 102:return G(e,/(.+:)(.+)-([^]+)/,"$1"+q+"$2-$3$1"+Nr+(Ce(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Ao(e,"stretch")?Bs(G(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Ce(e,t+1)!==115)break;case 6444:switch(Ce(e,vt(e)-3-(~Ao(e,"!important")&&10))){case 107:return G(e,":",":"+q)+e;case 101:return G(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+q+(Ce(e,14)===45?"inline-":"")+"box$3$1"+q+"$2$3$1"+Te+"$2box$3")+e}break;case 5936:switch(Ce(e,t+11)){case 114:return q+e+Te+G(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return q+e+Te+G(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return q+e+Te+G(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return q+e+Te+e+e}return e}var Oc=function(t,n,r,o){if(t.length>-1&&!t.return)switch(t.type){case Go:t.return=Bs(t.value,t.length);break;case Ds:return pn([Dn(t,{value:G(t.value,"@","@"+q)})],o);case qo:if(t.length)return dc(t.props,function(a){switch(uc(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return pn([Dn(t,{props:[G(a,/:(read-\w+)/,":"+Nr+"$1")]})],o);case"::placeholder":return pn([Dn(t,{props:[G(a,/:(plac\w+)/,":"+q+"input-$1")]}),Dn(t,{props:[G(a,/:(plac\w+)/,":"+Nr+"$1")]}),Dn(t,{props:[G(a,/:(plac\w+)/,Te+"input-$1")]})],o)}return""})}},Rc=[Oc],Lc=function(t){var n=t.key;if(n==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(f){var b=f.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var o=t.stylisPlugins||Rc,a={},i,s=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+n+' "]'),function(f){for(var b=f.getAttribute("data-emotion").split(" "),v=1;v=4;++r,o-=4)n=e.charCodeAt(r)&255|(e.charCodeAt(++r)&255)<<8|(e.charCodeAt(++r)&255)<<16|(e.charCodeAt(++r)&255)<<24,n=(n&65535)*1540483477+((n>>>16)*59797<<16),n^=n>>>24,t=(n&65535)*1540483477+((n>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(o){case 3:t^=(e.charCodeAt(r+2)&255)<<16;case 2:t^=(e.charCodeAt(r+1)&255)<<8;case 1:t^=e.charCodeAt(r)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var _c={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},jc=/[A-Z]|^ms/g,Nc=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Fs=function(t){return t.charCodeAt(1)===45},$a=function(t){return t!=null&&typeof t!="boolean"},mo=Ns(function(e){return Fs(e)?e:e.replace(jc,"-$&").toLowerCase()}),Da=function(t,n){switch(t){case"animation":case"animationName":if(typeof n=="string")return n.replace(Nc,function(r,o,a){return bt={name:o,styles:a,next:bt},o})}return _c[t]!==1&&!Fs(t)&&typeof n=="number"&&n!==0?n+"px":n};function qn(e,t,n){if(n==null)return"";var r=n;if(r.__emotion_styles!==void 0)return r;switch(typeof n){case"boolean":return"";case"object":{var o=n;if(o.anim===1)return bt={name:o.name,styles:o.styles,next:bt},o.name;var a=n;if(a.styles!==void 0){var i=a.next;if(i!==void 0)for(;i!==void 0;)bt={name:i.name,styles:i.styles,next:bt},i=i.next;var s=a.styles+";";return s}return Bc(e,t,n)}case"function":{if(e!==void 0){var l=bt,u=n(e);return bt=l,qn(e,t,u)}break}}var d=n;if(t==null)return d;var p=t[d];return p!==void 0?p:d}function Bc(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o96?Uc:qc},_a=function(t,n,r){var o;if(n){var a=n.shouldForwardProp;o=t.__emotion_forwardProp&&a?function(i){return t.__emotion_forwardProp(i)&&a(i)}:a}return typeof o!="function"&&r&&(o=t.__emotion_forwardProp),o},Gc=function(t){var n=t.cache,r=t.serialized,o=t.isStringTag;return Is(n,r,o),Wc(function(){return Pc(n,r,o)}),null},Yc=function e(t,n){var r=t.__emotion_real===t,o=r&&t.__emotion_base||t,a,i;n!==void 0&&(a=n.label,i=n.target);var s=_a(t,n,r),l=s||Ma(o),u=!l("as");return function(){var d=arguments,p=r&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(a!==void 0&&p.push("label:"+a+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{var m=d[0];p.push(m[0]);for(var g=d.length,h=1;h{t[n]=Us(e[n])}),t}function ze(e,t,n={clone:!0}){const r=n.clone?{...e}:e;return Ot(e)&&Ot(t)&&Object.keys(t).forEach(o=>{y.isValidElement(t[o])||zs.isValidElementType(t[o])?r[o]=t[o]:Ot(t[o])&&Object.prototype.hasOwnProperty.call(e,o)&&Ot(e[o])?r[o]=ze(e[o],t[o],n):n.clone?r[o]=Ot(t[o])?Us(t[o]):t[o]:r[o]=t[o]}),r}const eu=e=>{const t=Object.keys(e).map(n=>({key:n,val:e[n]}))||[];return t.sort((n,r)=>n.val-r.val),t.reduce((n,r)=>({...n,[r.key]:r.val}),{})};function tu(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:n="px",step:r=5,...o}=e,a=eu(t),i=Object.keys(a);function s(m){return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n})`}function l(m){return`@media (max-width:${(typeof t[m]=="number"?t[m]:m)-r/100}${n})`}function u(m,g){const h=i.indexOf(g);return`@media (min-width:${typeof t[m]=="number"?t[m]:m}${n}) and (max-width:${(h!==-1&&typeof t[i[h]]=="number"?t[i[h]]:g)-r/100}${n})`}function d(m){return i.indexOf(m)+1r.startsWith("@container")).sort((r,o)=>{var i,s;const a=/min-width:\s*([0-9.]+)/;return+(((i=r.match(a))==null?void 0:i[1])||0)-+(((s=o.match(a))==null?void 0:s[1])||0)});return n.length?n.reduce((r,o)=>{const a=t[o];return delete r[o],r[o]=a,r},{...t}):t}function ru(e,t){return t==="@"||t.startsWith("@")&&(e.some(n=>t.startsWith(`@${n}`))||!!t.match(/^@\d/))}function ou(e,t){const n=t.match(/^@([^/]+)?\/?(.+)?$/);if(!n)return null;const[,r,o]=n,a=Number.isNaN(+r)?r||0:+r;return e.containerQueries(o).up(a)}function au(e){const t=(a,i)=>a.replace("@media",i?`@container ${i}`:"@container");function n(a,i){a.up=(...s)=>t(e.breakpoints.up(...s),i),a.down=(...s)=>t(e.breakpoints.down(...s),i),a.between=(...s)=>t(e.breakpoints.between(...s),i),a.only=(...s)=>t(e.breakpoints.only(...s),i),a.not=(...s)=>{const l=t(e.breakpoints.not(...s),i);return l.includes("not all and")?l.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):l}}const r={},o=a=>(n(r,a),r);return n(o),{...e,containerQueries:o}}const iu={borderRadius:4};function Fn(e,t){return t?ze(e,t,{clone:!1}):e}const Xr={xs:0,sm:600,md:900,lg:1200,xl:1536},Fa={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${Xr[e]}px)`},su={containerQueries:e=>({up:t=>{let n=typeof t=="number"?t:Xr[t]||t;return typeof n=="number"&&(n=`${n}px`),e?`@container ${e} (min-width:${n})`:`@container (min-width:${n})`}})};function Rt(e,t,n){const r=e.theme||{};if(Array.isArray(t)){const a=r.breakpoints||Fa;return t.reduce((i,s,l)=>(i[a.up(a.keys[l])]=n(t[l]),i),{})}if(typeof t=="object"){const a=r.breakpoints||Fa;return Object.keys(t).reduce((i,s)=>{if(ru(a.keys,s)){const l=ou(r.containerQueries?r:su,s);l&&(i[l]=n(t[s],s))}else if(Object.keys(a.values||Xr).includes(s)){const l=a.up(s);i[l]=n(t[s],s)}else{const l=s;i[l]=t[l]}return i},{})}return n(t)}function lu(e={}){var n;return((n=e.keys)==null?void 0:n.reduce((r,o)=>{const a=e.up(o);return r[a]={},r},{}))||{}}function cu(e,t){return e.reduce((n,r)=>{const o=n[r];return(!o||Object.keys(o).length===0)&&delete n[r],n},t)}function Jr(e){if(typeof e!="string")throw new Error(Xt(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Qr(e,t,n=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&n){const r=`vars.${t}`.split(".").reduce((o,a)=>o&&o[a]?o[a]:null,e);if(r!=null)return r}return t.split(".").reduce((r,o)=>r&&r[o]!=null?r[o]:null,e)}function Br(e,t,n,r=n){let o;return typeof e=="function"?o=e(n):Array.isArray(e)?o=e[n]||r:o=Qr(e,n)||r,t&&(o=t(o,r,e)),o}function ue(e){const{prop:t,cssProperty:n=e.prop,themeKey:r,transform:o}=e,a=i=>{if(i[t]==null)return null;const s=i[t],l=i.theme,u=Qr(l,r)||{};return Rt(i,s,p=>{let m=Br(u,o,p);return p===m&&typeof p=="string"&&(m=Br(u,o,`${t}${p==="default"?"":Jr(p)}`,p)),n===!1?m:{[n]:m}})};return a.propTypes={},a.filterProps=[t],a}function uu(e){const t={};return n=>(t[n]===void 0&&(t[n]=e(n)),t[n])}const du={m:"margin",p:"padding"},fu={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},Wa={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},pu=uu(e=>{if(e.length>2)if(Wa[e])e=Wa[e];else return[e];const[t,n]=e.split(""),r=du[t],o=fu[n]||"";return Array.isArray(o)?o.map(a=>r+a):[r+o]}),Ko=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],Xo=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...Ko,...Xo];function Qn(e,t,n,r){const o=Qr(e,t,!0)??n;return typeof o=="number"||typeof o=="string"?a=>typeof a=="string"?a:typeof o=="string"?`calc(${a} * ${o})`:o*a:Array.isArray(o)?a=>{if(typeof a=="string")return a;const i=Math.abs(a),s=o[i];return a>=0?s:typeof s=="number"?-s:`-${s}`}:typeof o=="function"?o:()=>{}}function Jo(e){return Qn(e,"spacing",8)}function Zn(e,t){return typeof t=="string"||t==null?t:e(t)}function mu(e,t){return n=>e.reduce((r,o)=>(r[o]=Zn(t,n),r),{})}function hu(e,t,n,r){if(!t.includes(n))return null;const o=pu(n),a=mu(o,r),i=e[n];return Rt(e,i,a)}function qs(e,t){const n=Jo(e.theme);return Object.keys(e).map(r=>hu(e,t,r,n)).reduce(Fn,{})}function ie(e){return qs(e,Ko)}ie.propTypes={};ie.filterProps=Ko;function se(e){return qs(e,Xo)}se.propTypes={};se.filterProps=Xo;function Gs(e=8,t=Jo({spacing:e})){if(e.mui)return e;const n=(...r)=>(r.length===0?[1]:r).map(a=>{const i=t(a);return typeof i=="number"?`${i}px`:i}).join(" ");return n.mui=!0,n}function Zr(...e){const t=e.reduce((r,o)=>(o.filterProps.forEach(a=>{r[a]=o}),r),{}),n=r=>Object.keys(r).reduce((o,a)=>t[a]?Fn(o,t[a](r)):o,{});return n.propTypes={},n.filterProps=e.reduce((r,o)=>r.concat(o.filterProps),[]),n}function Qe(e){return typeof e!="number"?e:`${e}px solid`}function rt(e,t){return ue({prop:e,themeKey:"borders",transform:t})}const gu=rt("border",Qe),yu=rt("borderTop",Qe),vu=rt("borderRight",Qe),bu=rt("borderBottom",Qe),xu=rt("borderLeft",Qe),wu=rt("borderColor"),Su=rt("borderTopColor"),Cu=rt("borderRightColor"),ku=rt("borderBottomColor"),Eu=rt("borderLeftColor"),Tu=rt("outline",Qe),Au=rt("outlineColor"),eo=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=Qn(e.theme,"shape.borderRadius",4),n=r=>({borderRadius:Zn(t,r)});return Rt(e,e.borderRadius,n)}return null};eo.propTypes={};eo.filterProps=["borderRadius"];Zr(gu,yu,vu,bu,xu,wu,Su,Cu,ku,Eu,eo,Tu,Au);const to=e=>{if(e.gap!==void 0&&e.gap!==null){const t=Qn(e.theme,"spacing",8),n=r=>({gap:Zn(t,r)});return Rt(e,e.gap,n)}return null};to.propTypes={};to.filterProps=["gap"];const no=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=Qn(e.theme,"spacing",8),n=r=>({columnGap:Zn(t,r)});return Rt(e,e.columnGap,n)}return null};no.propTypes={};no.filterProps=["columnGap"];const ro=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=Qn(e.theme,"spacing",8),n=r=>({rowGap:Zn(t,r)});return Rt(e,e.rowGap,n)}return null};ro.propTypes={};ro.filterProps=["rowGap"];const Ou=ue({prop:"gridColumn"}),Ru=ue({prop:"gridRow"}),Lu=ue({prop:"gridAutoFlow"}),$u=ue({prop:"gridAutoColumns"}),Du=ue({prop:"gridAutoRows"}),Pu=ue({prop:"gridTemplateColumns"}),Mu=ue({prop:"gridTemplateRows"}),_u=ue({prop:"gridTemplateAreas"}),ju=ue({prop:"gridArea"});Zr(to,no,ro,Ou,Ru,Lu,$u,Du,Pu,Mu,_u,ju);function mn(e,t){return t==="grey"?t:e}const Nu=ue({prop:"color",themeKey:"palette",transform:mn}),Bu=ue({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:mn}),Iu=ue({prop:"backgroundColor",themeKey:"palette",transform:mn});Zr(Nu,Bu,Iu);function We(e){return e<=1&&e!==0?`${e*100}%`:e}const Fu=ue({prop:"width",transform:We}),Qo=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=n=>{var o,a,i,s,l;const r=((i=(a=(o=e.theme)==null?void 0:o.breakpoints)==null?void 0:a.values)==null?void 0:i[n])||Xr[n];return r?((l=(s=e.theme)==null?void 0:s.breakpoints)==null?void 0:l.unit)!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:We(n)}};return Rt(e,e.maxWidth,t)}return null};Qo.filterProps=["maxWidth"];const Wu=ue({prop:"minWidth",transform:We}),Hu=ue({prop:"height",transform:We}),Vu=ue({prop:"maxHeight",transform:We}),zu=ue({prop:"minHeight",transform:We});ue({prop:"size",cssProperty:"width",transform:We});ue({prop:"size",cssProperty:"height",transform:We});const Uu=ue({prop:"boxSizing"});Zr(Fu,Qo,Wu,Hu,Vu,zu,Uu);const oo={border:{themeKey:"borders",transform:Qe},borderTop:{themeKey:"borders",transform:Qe},borderRight:{themeKey:"borders",transform:Qe},borderBottom:{themeKey:"borders",transform:Qe},borderLeft:{themeKey:"borders",transform:Qe},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:Qe},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:eo},color:{themeKey:"palette",transform:mn},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:mn},backgroundColor:{themeKey:"palette",transform:mn},p:{style:se},pt:{style:se},pr:{style:se},pb:{style:se},pl:{style:se},px:{style:se},py:{style:se},padding:{style:se},paddingTop:{style:se},paddingRight:{style:se},paddingBottom:{style:se},paddingLeft:{style:se},paddingX:{style:se},paddingY:{style:se},paddingInline:{style:se},paddingInlineStart:{style:se},paddingInlineEnd:{style:se},paddingBlock:{style:se},paddingBlockStart:{style:se},paddingBlockEnd:{style:se},m:{style:ie},mt:{style:ie},mr:{style:ie},mb:{style:ie},ml:{style:ie},mx:{style:ie},my:{style:ie},margin:{style:ie},marginTop:{style:ie},marginRight:{style:ie},marginBottom:{style:ie},marginLeft:{style:ie},marginX:{style:ie},marginY:{style:ie},marginInline:{style:ie},marginInlineStart:{style:ie},marginInlineEnd:{style:ie},marginBlock:{style:ie},marginBlockStart:{style:ie},marginBlockEnd:{style:ie},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:to},rowGap:{style:ro},columnGap:{style:no},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:We},maxWidth:{style:Qo},minWidth:{transform:We},height:{transform:We},maxHeight:{transform:We},minHeight:{transform:We},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function qu(...e){const t=e.reduce((r,o)=>r.concat(Object.keys(o)),[]),n=new Set(t);return e.every(r=>n.size===Object.keys(r).length)}function Gu(e,t){return typeof e=="function"?e(t):e}function Yu(){function e(n,r,o,a){const i={[n]:r,theme:o},s=a[n];if(!s)return{[n]:r};const{cssProperty:l=n,themeKey:u,transform:d,style:p}=s;if(r==null)return null;if(u==="typography"&&r==="inherit")return{[n]:r};const m=Qr(o,u)||{};return p?p(i):Rt(i,r,h=>{let f=Br(m,d,h);return h===f&&typeof h=="string"&&(f=Br(m,d,`${n}${h==="default"?"":Jr(h)}`,h)),l===!1?f:{[l]:f}})}function t(n){const{sx:r,theme:o={}}=n||{};if(!r)return null;const a=o.unstable_sxConfig??oo;function i(s){let l=s;if(typeof s=="function")l=s(o);else if(typeof s!="object")return s;if(!l)return null;const u=lu(o.breakpoints),d=Object.keys(u);let p=u;return Object.keys(l).forEach(m=>{const g=Gu(l[m],o);if(g!=null)if(typeof g=="object")if(a[m])p=Fn(p,e(m,g,o,a));else{const h=Rt({theme:o},g,f=>({[m]:f}));qu(h,g)?p[m]=t({sx:g,theme:o}):p=Fn(p,h)}else p=Fn(p,e(m,g,o,a))}),nu(o,cu(d,p))}return Array.isArray(r)?r.map(i):i(r)}return t}const yn=Yu();yn.filterProps=["sx"];function Ku(e,t){var r;const n=this;if(n.vars){if(!((r=n.colorSchemes)!=null&&r[e])||typeof n.getColorSchemeSelector!="function")return{};let o=n.getColorSchemeSelector(e);return o==="&"?t:((o.includes("data-")||o.includes("."))&&(o=`*:where(${o.replace(/\s*&$/,"")}) &`),{[o]:t})}return n.palette.mode===e?t:{}}function Zo(e={},...t){const{breakpoints:n={},palette:r={},spacing:o,shape:a={},...i}=e,s=tu(n),l=Gs(o);let u=ze({breakpoints:s,direction:"ltr",components:{},palette:{mode:"light",...r},spacing:l,shape:{...iu,...a}},i);return u=au(u),u.applyStyles=Ku,u=t.reduce((d,p)=>ze(d,p),u),u.unstable_sxConfig={...oo,...i==null?void 0:i.unstable_sxConfig},u.unstable_sx=function(p){return yn({sx:p,theme:this})},u}function Xu(e){return Object.keys(e).length===0}function Ju(e=null){const t=y.useContext(Vs);return!t||Xu(t)?e:t}const Qu=Zo();function Zu(e=Qu){return Ju(e)}const Ha=e=>e,ed=()=>{let e=Ha;return{configure(t){e=t},generate(t){return e(t)},reset(){e=Ha}}},td=ed();function Ys(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t{r[o]=ea(e,o,n)}),r}function Xs(e){const{variants:t,...n}=e,r={variants:t,style:Na(n),isProcessed:!0};return r.style===n||t&&t.forEach(o=>{typeof o.style!="function"&&(o.style=Na(o.style))}),r}const rd=Zo();function go(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function od(e){return e?(t,n)=>n[e]:null}function ad(e,t,n){e.theme=ld(e.theme)?n:e.theme[t]||e.theme}function _r(e,t){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(r=>_r(e,r));if(Array.isArray(n==null?void 0:n.variants)){let r;if(n.isProcessed)r=n.style;else{const{variants:o,...a}=n;r=a}return Js(e,n.variants,[r])}return n!=null&&n.isProcessed?n.style:n}function Js(e,t,n=[]){var o;let r;e:for(let a=0;a{Jc(s,k=>k.filter(O=>O!==yn));const{name:u,slot:d,skipVariantsResolver:p,skipSx:m,overridesResolver:g=od(ud(d)),...h}=l,f=p!==void 0?p:d&&d!=="Root"&&d!=="root"||!1,b=m||!1;let v=go;d==="Root"||d==="root"?v=r:d?v=o:cd(s)&&(v=void 0);const E=Xc(s,{shouldForwardProp:v,label:sd(),...h}),w=k=>{if(typeof k=="function"&&k.__emotion_real!==k)return function(T){return _r(T,k)};if(Ot(k)){const O=Xs(k);return O.variants?function(N){return _r(N,O)}:O.style}return k},x=(...k)=>{const O=[],T=k.map(w),N=[];if(O.push(a),u&&g&&N.push(function(L){var B,_;const j=(_=(B=L.theme.components)==null?void 0:B[u])==null?void 0:_.styleOverrides;if(!j)return null;const P={};for(const H in j)P[H]=_r(L,j[H]);return g(L,P)}),u&&!f&&N.push(function(L){var P,B;const D=L.theme,j=(B=(P=D==null?void 0:D.components)==null?void 0:P[u])==null?void 0:B.variants;return j?Js(L,j):null}),b||N.push(yn),Array.isArray(T[0])){const A=T.shift(),L=new Array(O.length).fill(""),D=new Array(N.length).fill("");let j;j=[...L,...A,...D],j.raw=[...L,...A.raw,...D],O.unshift(j)}const M=[...O,...T,...N],c=E(...M);return s.muiName&&(c.muiName=s.muiName),c};return E.withConfig&&(x.withConfig=E.withConfig),x}}function sd(e,t){return void 0}function ld(e){for(const t in e)return!1;return!0}function cd(e){return typeof e=="string"&&e.charCodeAt(0)>96}function ud(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function Lo(e,t){const n={...t};for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const o=r;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const a=e[o],i=t[o];if(!i)n[o]=a||{};else if(!a)n[o]=i;else{n[o]={...i};for(const s in a)if(Object.prototype.hasOwnProperty.call(a,s)){const l=s;n[o][l]=Lo(a[l],i[l])}}}else n[o]===void 0&&(n[o]=e[o])}return n}const Gn=typeof window<"u"?y.useLayoutEffect:y.useEffect;function dd(e,t=Number.MIN_SAFE_INTEGER,n=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,n))}function ta(e,t=0,n=1){return dd(e,t,n)}function fd(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let n=e.match(t);return n&&n[0].length===1&&(n=n.map(r=>r+r)),n?`rgb${n.length===4?"a":""}(${n.map((r,o)=>o<3?parseInt(r,16):Math.round(parseInt(r,16)/255*1e3)/1e3).join(", ")})`:""}function Bt(e){if(e.type)return e;if(e.charAt(0)==="#")return Bt(fd(e));const t=e.indexOf("("),n=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(n))throw new Error(Xt(9,e));let r=e.substring(t+1,e.length-1),o;if(n==="color"){if(r=r.split(" "),o=r.shift(),r.length===4&&r[3].charAt(0)==="/"&&(r[3]=r[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(o))throw new Error(Xt(10,o))}else r=r.split(",");return r=r.map(a=>parseFloat(a)),{type:n,values:r,colorSpace:o}}const pd=e=>{const t=Bt(e);return t.values.slice(0,3).map((n,r)=>t.type.includes("hsl")&&r!==0?`${n}%`:n).join(" ")},jn=(e,t)=>{try{return pd(e)}catch{return e}};function ao(e){const{type:t,colorSpace:n}=e;let{values:r}=e;return t.includes("rgb")?r=r.map((o,a)=>a<3?parseInt(o,10):o):t.includes("hsl")&&(r[1]=`${r[1]}%`,r[2]=`${r[2]}%`),t.includes("color")?r=`${n} ${r.join(" ")}`:r=`${r.join(", ")}`,`${t}(${r})`}function Qs(e){e=Bt(e);const{values:t}=e,n=t[0],r=t[1]/100,o=t[2]/100,a=r*Math.min(o,1-o),i=(u,d=(u+n/30)%12)=>o-a*Math.max(Math.min(d-3,9-d,1),-1);let s="rgb";const l=[Math.round(i(0)*255),Math.round(i(8)*255),Math.round(i(4)*255)];return e.type==="hsla"&&(s+="a",l.push(t[3])),ao({type:s,values:l})}function $o(e){e=Bt(e);let t=e.type==="hsl"||e.type==="hsla"?Bt(Qs(e)).values:e.values;return t=t.map(n=>(e.type!=="color"&&(n/=255),n<=.03928?n/12.92:((n+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function md(e,t){const n=$o(e),r=$o(t);return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)}function na(e,t){return e=Bt(e),t=ta(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,ao(e)}function cr(e,t,n){try{return na(e,t)}catch{return e}}function ra(e,t){if(e=Bt(e),t=ta(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]*=1-t;return ao(e)}function te(e,t,n){try{return ra(e,t)}catch{return e}}function oa(e,t){if(e=Bt(e),t=ta(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let n=0;n<3;n+=1)e.values[n]+=(255-e.values[n])*t;else if(e.type.includes("color"))for(let n=0;n<3;n+=1)e.values[n]+=(1-e.values[n])*t;return ao(e)}function ne(e,t,n){try{return oa(e,t)}catch{return e}}function hd(e,t=.15){return $o(e)>.5?ra(e,t):oa(e,t)}function ur(e,t,n){try{return hd(e,t)}catch{return e}}function Va(e){return e&&e.ownerDocument||document}function Do(e,t){typeof e=="function"?e(t):e&&(e.current=t)}let za=0;function gd(e){const[t,n]=y.useState(e),r=e||t;return y.useEffect(()=>{t==null&&(za+=1,n(`mui-${za}`))},[t]),r}const yd={...Eo},Ua=yd.useId;function vd(e){if(Ua!==void 0){const t=Ua();return e??t}return gd(e)}function bd({controlled:e,default:t,name:n,state:r="value"}){const{current:o}=y.useRef(e!==void 0),[a,i]=y.useState(t),s=o?e:a,l=y.useCallback(u=>{o||i(u)},[]);return[s,l]}function qa(e){const t=y.useRef(e);return Gn(()=>{t.current=e}),y.useRef((...n)=>(0,t.current)(...n)).current}function Jt(...e){return y.useMemo(()=>e.every(t=>t==null)?null:t=>{e.forEach(n=>{Do(n,t)})},e)}const Ga={};function xd(e,t){const n=y.useRef(Ga);return n.current===Ga&&(n.current=e(t)),n}const wd=[];function Sd(e){y.useEffect(e,wd)}class io{constructor(){ir(this,"currentId",null);ir(this,"clear",()=>{this.currentId!==null&&(clearTimeout(this.currentId),this.currentId=null)});ir(this,"disposeEffect",()=>this.clear)}static create(){return new io}start(t,n){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,n()},t)}}function Nn(){const e=xd(io.create).current;return Sd(e.disposeEffect),e}function Ya(e){try{return e.matches(":focus-visible")}catch{}return!1}function Zs(e,t,n=void 0){const r={};for(const o in e){const a=e[o];let i="",s=!0;for(let l=0;lr.match(/^on[A-Z]/)&&typeof e[r]=="function"&&!t.includes(r)).forEach(r=>{n[r]=e[r]}),n}function Ka(e){if(e===void 0)return{};const t={};return Object.keys(e).filter(n=>!(n.match(/^on[A-Z]/)&&typeof e[n]=="function")).forEach(n=>{t[n]=e[n]}),t}function tl(e){const{getSlotProps:t,additionalProps:n,externalSlotProps:r,externalForwardedProps:o,className:a}=e;if(!t){const g=Ir(n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),h={...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},f={...n,...o,...r};return g.length>0&&(f.className=g),Object.keys(h).length>0&&(f.style=h),{props:f,internalRef:void 0}}const i=kd({...o,...r}),s=Ka(r),l=Ka(o),u=t(i),d=Ir(u==null?void 0:u.className,n==null?void 0:n.className,a,o==null?void 0:o.className,r==null?void 0:r.className),p={...u==null?void 0:u.style,...n==null?void 0:n.style,...o==null?void 0:o.style,...r==null?void 0:r.style},m={...u,...n,...l,...s};return d.length>0&&(m.className=d),Object.keys(p).length>0&&(m.style=p),{props:m,internalRef:u.ref}}function nl(e,t,n){return typeof e=="function"?e(t,n):e}function Ed(e){var p;const{elementType:t,externalSlotProps:n,ownerState:r,skipResolvingSlotProps:o=!1,...a}=e,i=o?{}:nl(n,r),{props:s,internalRef:l}=tl({...a,externalSlotProps:i}),u=Jt(l,i==null?void 0:i.ref,(p=e.additionalProps)==null?void 0:p.ref);return el(t,{...s,ref:u},r)}function aa(e){var t;return parseInt(y.version,10)>=19?((t=e==null?void 0:e.props)==null?void 0:t.ref)||null:(e==null?void 0:e.ref)||null}const Td=y.createContext(),rl=()=>y.useContext(Td)??!1,Ad=y.createContext(void 0);function Od(e){const{theme:t,name:n,props:r}=e;if(!t||!t.components||!t.components[n])return r;const o=t.components[n];return o.defaultProps?Lo(o.defaultProps,r):!o.styleOverrides&&!o.variants?Lo(o,r):r}function Rd({props:e,name:t}){const n=y.useContext(Ad);return Od({props:e,name:t,theme:{components:n}})}const Xa={theme:void 0};function Ld(e){let t,n;return function(o){let a=t;return(a===void 0||o.theme!==n)&&(Xa.theme=o.theme,a=Xs(e(Xa)),t=a,n=o.theme),a}}function $d(e=""){function t(...r){if(!r.length)return"";const o=r[0];return typeof o=="string"&&!o.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, var(--${e?`${e}-`:""}${o}${t(...r.slice(1))})`:`, ${o}`}return(r,...o)=>`var(--${e?`${e}-`:""}${r}${t(...o)})`}const Ja=(e,t,n,r=[])=>{let o=e;t.forEach((a,i)=>{i===t.length-1?Array.isArray(o)?o[Number(a)]=n:o&&typeof o=="object"&&(o[a]=n):o&&typeof o=="object"&&(o[a]||(o[a]=r.includes(a)?[]:{}),o=o[a])})},Dd=(e,t,n)=>{function r(o,a=[],i=[]){Object.entries(o).forEach(([s,l])=>{(!n||!n([...a,s]))&&l!=null&&(typeof l=="object"&&Object.keys(l).length>0?r(l,[...a,s],Array.isArray(l)?[...i,s]:i):t([...a,s],l,i))})}r(e)},Pd=(e,t)=>typeof t=="number"?["lineHeight","fontWeight","opacity","zIndex"].some(r=>e.includes(r))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function yo(e,t){const{prefix:n,shouldSkipGeneratingVar:r}=t||{},o={},a={},i={};return Dd(e,(s,l,u)=>{if((typeof l=="string"||typeof l=="number")&&(!r||!r(s,l))){const d=`--${n?`${n}-`:""}${s.join("-")}`,p=Pd(s,l);Object.assign(o,{[d]:p}),Ja(a,s,`var(${d})`,u),Ja(i,s,`var(${d}, ${p})`,u)}},s=>s[0]==="vars"),{css:o,vars:a,varsWithDefaults:i}}function Md(e,t={}){const{getSelector:n=b,disableCssColorScheme:r,colorSchemeSelector:o}=t,{colorSchemes:a={},components:i,defaultColorScheme:s="light",...l}=e,{vars:u,css:d,varsWithDefaults:p}=yo(l,t);let m=p;const g={},{[s]:h,...f}=a;if(Object.entries(f||{}).forEach(([w,x])=>{const{vars:k,css:O,varsWithDefaults:T}=yo(x,t);m=ze(m,T),g[w]={css:O,vars:k}}),h){const{css:w,vars:x,varsWithDefaults:k}=yo(h,t);m=ze(m,k),g[s]={css:w,vars:x}}function b(w,x){var O,T;let k=o;if(o==="class"&&(k=".%s"),o==="data"&&(k="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(k=`[${o}="%s"]`),w){if(k==="media")return e.defaultColorScheme===w?":root":{[`@media (prefers-color-scheme: ${((T=(O=a[w])==null?void 0:O.palette)==null?void 0:T.mode)||w})`]:{":root":x}};if(k)return e.defaultColorScheme===w?`:root, ${k.replace("%s",String(w))}`:k.replace("%s",String(w))}return":root"}return{vars:m,generateThemeVars:()=>{let w={...u};return Object.entries(g).forEach(([,{vars:x}])=>{w=ze(w,x)}),w},generateStyleSheets:()=>{var N,M;const w=[],x=e.defaultColorScheme||"light";function k(c,A){Object.keys(A).length&&w.push(typeof c=="string"?{[c]:{...A}}:c)}k(n(void 0,{...d}),d);const{[x]:O,...T}=g;if(O){const{css:c}=O,A=(M=(N=a[x])==null?void 0:N.palette)==null?void 0:M.mode,L=!r&&A?{colorScheme:A,...c}:{...c};k(n(x,{...L}),L)}return Object.entries(T).forEach(([c,{css:A}])=>{var j,P;const L=(P=(j=a[c])==null?void 0:j.palette)==null?void 0:P.mode,D=!r&&L?{colorScheme:L,...A}:{...A};k(n(c,{...D}),D)}),w}}}function _d(e){return function(n){return e==="media"?`@media (prefers-color-scheme: ${n})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${n}"] &`:e==="class"?`.${n} &`:e==="data"?`[data-${n}] &`:`${e.replace("%s",n)} &`:"&"}}function ol(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:Vn.white,default:Vn.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}const jd=ol();function al(){return{text:{primary:Vn.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#121212",default:"#121212"},action:{active:Vn.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}const Qa=al();function Za(e,t,n,r){const o=r.light||r,a=r.dark||r*1.5;e[t]||(e.hasOwnProperty(n)?e[t]=e[n]:t==="light"?e.light=oa(e.main,o):t==="dark"&&(e.dark=ra(e.main,a)))}function Nd(e="light"){return e==="dark"?{main:sn[200],light:sn[50],dark:sn[400]}:{main:sn[700],light:sn[400],dark:sn[800]}}function Bd(e="light"){return e==="dark"?{main:an[200],light:an[50],dark:an[400]}:{main:an[500],light:an[300],dark:an[700]}}function Id(e="light"){return e==="dark"?{main:on[500],light:on[300],dark:on[700]}:{main:on[700],light:on[400],dark:on[800]}}function Fd(e="light"){return e==="dark"?{main:ln[400],light:ln[300],dark:ln[700]}:{main:ln[700],light:ln[500],dark:ln[900]}}function Wd(e="light"){return e==="dark"?{main:cn[400],light:cn[300],dark:cn[700]}:{main:cn[800],light:cn[500],dark:cn[900]}}function Hd(e="light"){return e==="dark"?{main:$n[400],light:$n[300],dark:$n[700]}:{main:"#ed6c02",light:$n[500],dark:$n[900]}}function ia(e){const{mode:t="light",contrastThreshold:n=3,tonalOffset:r=.2,...o}=e,a=e.primary||Nd(t),i=e.secondary||Bd(t),s=e.error||Id(t),l=e.info||Fd(t),u=e.success||Wd(t),d=e.warning||Hd(t);function p(f){return md(f,Qa.text.primary)>=n?Qa.text.primary:jd.text.primary}const m=({color:f,name:b,mainShade:v=500,lightShade:E=300,darkShade:w=700})=>{if(f={...f},!f.main&&f[v]&&(f.main=f[v]),!f.hasOwnProperty("main"))throw new Error(Xt(11,b?` (${b})`:"",v));if(typeof f.main!="string")throw new Error(Xt(12,b?` (${b})`:"",JSON.stringify(f.main)));return Za(f,"light",E,r),Za(f,"dark",w,r),f.contrastText||(f.contrastText=p(f.main)),f};let g;return t==="light"?g=ol():t==="dark"&&(g=al()),ze({common:{...Vn},mode:t,primary:m({color:a,name:"primary"}),secondary:m({color:i,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:m({color:s,name:"error"}),warning:m({color:d,name:"warning"}),info:m({color:l,name:"info"}),success:m({color:u,name:"success"}),grey:tc,contrastThreshold:n,getContrastText:p,augmentColor:m,tonalOffset:r,...g},o)}function Vd(e){const t={};return Object.entries(e).forEach(r=>{const[o,a]=r;typeof a=="object"&&(t[o]=`${a.fontStyle?`${a.fontStyle} `:""}${a.fontVariant?`${a.fontVariant} `:""}${a.fontWeight?`${a.fontWeight} `:""}${a.fontStretch?`${a.fontStretch} `:""}${a.fontSize||""}${a.lineHeight?`/${a.lineHeight} `:""}${a.fontFamily||""}`)}),t}function zd(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}function Ud(e){return Math.round(e*1e5)/1e5}const ei={textTransform:"uppercase"},ti='"Roboto", "Helvetica", "Arial", sans-serif';function qd(e,t){const{fontFamily:n=ti,fontSize:r=14,fontWeightLight:o=300,fontWeightRegular:a=400,fontWeightMedium:i=500,fontWeightBold:s=700,htmlFontSize:l=16,allVariants:u,pxToRem:d,...p}=typeof t=="function"?t(e):t,m=r/14,g=d||(b=>`${b/l*m}rem`),h=(b,v,E,w,x)=>({fontFamily:n,fontWeight:b,fontSize:g(v),lineHeight:E,...n===ti?{letterSpacing:`${Ud(w/v)}em`}:{},...x,...u}),f={h1:h(o,96,1.167,-1.5),h2:h(o,60,1.2,-.5),h3:h(a,48,1.167,0),h4:h(a,34,1.235,.25),h5:h(a,24,1.334,0),h6:h(i,20,1.6,.15),subtitle1:h(a,16,1.75,.15),subtitle2:h(i,14,1.57,.1),body1:h(a,16,1.5,.15),body2:h(a,14,1.43,.15),button:h(i,14,1.75,.4,ei),caption:h(a,12,1.66,.4),overline:h(a,12,2.66,1,ei),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return ze({htmlFontSize:l,pxToRem:g,fontFamily:n,fontSize:r,fontWeightLight:o,fontWeightRegular:a,fontWeightMedium:i,fontWeightBold:s,...f},p,{clone:!1})}const Gd=.2,Yd=.14,Kd=.12;function ae(...e){return[`${e[0]}px ${e[1]}px ${e[2]}px ${e[3]}px rgba(0,0,0,${Gd})`,`${e[4]}px ${e[5]}px ${e[6]}px ${e[7]}px rgba(0,0,0,${Yd})`,`${e[8]}px ${e[9]}px ${e[10]}px ${e[11]}px rgba(0,0,0,${Kd})`].join(",")}const Xd=["none",ae(0,2,1,-1,0,1,1,0,0,1,3,0),ae(0,3,1,-2,0,2,2,0,0,1,5,0),ae(0,3,3,-2,0,3,4,0,0,1,8,0),ae(0,2,4,-1,0,4,5,0,0,1,10,0),ae(0,3,5,-1,0,5,8,0,0,1,14,0),ae(0,3,5,-1,0,6,10,0,0,1,18,0),ae(0,4,5,-2,0,7,10,1,0,2,16,1),ae(0,5,5,-3,0,8,10,1,0,3,14,2),ae(0,5,6,-3,0,9,12,1,0,3,16,2),ae(0,6,6,-3,0,10,14,1,0,4,18,3),ae(0,6,7,-4,0,11,15,1,0,4,20,3),ae(0,7,8,-4,0,12,17,2,0,5,22,4),ae(0,7,8,-4,0,13,19,2,0,5,24,4),ae(0,7,9,-4,0,14,21,2,0,5,26,4),ae(0,8,9,-5,0,15,22,2,0,6,28,5),ae(0,8,10,-5,0,16,24,2,0,6,30,5),ae(0,8,11,-5,0,17,26,2,0,6,32,5),ae(0,9,11,-5,0,18,28,2,0,7,34,6),ae(0,9,12,-6,0,19,29,2,0,7,36,6),ae(0,10,13,-6,0,20,31,3,0,8,38,7),ae(0,10,13,-6,0,21,33,3,0,8,40,7),ae(0,10,14,-6,0,22,35,3,0,8,42,7),ae(0,11,14,-7,0,23,36,3,0,9,44,8),ae(0,11,15,-7,0,24,38,3,0,9,46,8)],Jd={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},Qd={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function ni(e){return`${Math.round(e)}ms`}function Zd(e){if(!e)return 0;const t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function ef(e){const t={...Jd,...e.easing},n={...Qd,...e.duration};return{getAutoHeightDuration:Zd,create:(o=["all"],a={})=>{const{duration:i=n.standard,easing:s=t.easeInOut,delay:l=0,...u}=a;return(Array.isArray(o)?o:[o]).map(d=>`${d} ${typeof i=="string"?i:ni(i)} ${s} ${typeof l=="string"?l:ni(l)}`).join(",")},...e,easing:t,duration:n}}const tf={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};function nf(e){return Ot(e)||typeof e>"u"||typeof e=="string"||typeof e=="boolean"||typeof e=="number"||Array.isArray(e)}function il(e={}){const t={...e};function n(r){const o=Object.entries(r);for(let a=0;aze(g,h),m),m.unstable_sxConfig={...oo,...u==null?void 0:u.unstable_sxConfig},m.unstable_sx=function(h){return yn({sx:h,theme:this})},m.toRuntimeSource=il,m}function rf(e){let t;return e<1?t=5.11916*e**2:t=4.5*Math.log(e+1)+2,Math.round(t*10)/1e3}const of=[...Array(25)].map((e,t)=>{if(t===0)return"none";const n=rf(t);return`linear-gradient(rgba(255 255 255 / ${n}), rgba(255 255 255 / ${n}))`});function sl(e){return{inputPlaceholder:e==="dark"?.5:.42,inputUnderline:e==="dark"?.7:.42,switchTrackDisabled:e==="dark"?.2:.12,switchTrack:e==="dark"?.3:.38}}function ll(e){return e==="dark"?of:[]}function af(e){const{palette:t={mode:"light"},opacity:n,overlays:r,...o}=e,a=ia(t);return{palette:a,opacity:{...sl(a.mode),...n},overlays:r||ll(a.mode),...o}}function sf(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||e[0]==="palette"&&!!((t=e[1])!=null&&t.match(/(mode|contrastThreshold|tonalOffset)/))}const lf=e=>[...[...Array(25)].map((t,n)=>`--${e?`${e}-`:""}overlays-${n}`),`--${e?`${e}-`:""}palette-AppBar-darkBg`,`--${e?`${e}-`:""}palette-AppBar-darkColor`],cf=e=>(t,n)=>{const r=e.rootSelector||":root",o=e.colorSchemeSelector;let a=o;if(o==="class"&&(a=".%s"),o==="data"&&(a="[data-%s]"),o!=null&&o.startsWith("data-")&&!o.includes("%s")&&(a=`[${o}="%s"]`),e.defaultColorScheme===t){if(t==="dark"){const i={};return lf(e.cssVarPrefix).forEach(s=>{i[s]=n[s],delete n[s]}),a==="media"?{[r]:n,"@media (prefers-color-scheme: dark)":{[r]:i}}:a?{[a.replace("%s",t)]:i,[`${r}, ${a.replace("%s",t)}`]:n}:{[r]:{...n,...i}}}if(a&&a!=="media")return`${r}, ${a.replace("%s",String(t))}`}else if(t){if(a==="media")return{[`@media (prefers-color-scheme: ${String(t)})`]:{[r]:n}};if(a)return a.replace("%s",String(t))}return r};function uf(e,t){t.forEach(n=>{e[n]||(e[n]={})})}function S(e,t,n){!e[t]&&n&&(e[t]=n)}function Bn(e){return typeof e!="string"||!e.startsWith("hsl")?e:Qs(e)}function At(e,t){`${t}Channel`in e||(e[`${t}Channel`]=jn(Bn(e[t])))}function df(e){return typeof e=="number"?`${e}px`:typeof e=="string"||typeof e=="function"||Array.isArray(e)?e:"8px"}const yt=e=>{try{return e()}catch{}},ff=(e="mui")=>$d(e);function vo(e,t,n,r){if(!t)return;t=t===!0?{}:t;const o=r==="dark"?"dark":"light";if(!n){e[r]=af({...t,palette:{mode:o,...t==null?void 0:t.palette}});return}const{palette:a,...i}=Po({...n,palette:{mode:o,...t==null?void 0:t.palette}});return e[r]={...t,palette:a,opacity:{...sl(o),...t==null?void 0:t.opacity},overlays:(t==null?void 0:t.overlays)||ll(o)},i}function pf(e={},...t){const{colorSchemes:n={light:!0},defaultColorScheme:r,disableCssColorScheme:o=!1,cssVarPrefix:a="mui",shouldSkipGeneratingVar:i=sf,colorSchemeSelector:s=n.light&&n.dark?"media":void 0,rootSelector:l=":root",...u}=e,d=Object.keys(n)[0],p=r||(n.light&&d!=="light"?"light":d),m=ff(a),{[p]:g,light:h,dark:f,...b}=n,v={...b};let E=g;if((p==="dark"&&!("dark"in n)||p==="light"&&!("light"in n))&&(E=!0),!E)throw new Error(Xt(21,p));const w=vo(v,E,u,p);h&&!v.light&&vo(v,h,void 0,"light"),f&&!v.dark&&vo(v,f,void 0,"dark");let x={defaultColorScheme:p,...w,cssVarPrefix:a,colorSchemeSelector:s,rootSelector:l,getCssVar:m,colorSchemes:v,font:{...Vd(w.typography),...w.font},spacing:df(u.spacing)};Object.keys(x.colorSchemes).forEach(M=>{const c=x.colorSchemes[M].palette,A=L=>{const D=L.split("-"),j=D[1],P=D[2];return m(L,c[j][P])};if(c.mode==="light"&&(S(c.common,"background","#fff"),S(c.common,"onBackground","#000")),c.mode==="dark"&&(S(c.common,"background","#000"),S(c.common,"onBackground","#fff")),uf(c,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),c.mode==="light"){S(c.Alert,"errorColor",te(c.error.light,.6)),S(c.Alert,"infoColor",te(c.info.light,.6)),S(c.Alert,"successColor",te(c.success.light,.6)),S(c.Alert,"warningColor",te(c.warning.light,.6)),S(c.Alert,"errorFilledBg",A("palette-error-main")),S(c.Alert,"infoFilledBg",A("palette-info-main")),S(c.Alert,"successFilledBg",A("palette-success-main")),S(c.Alert,"warningFilledBg",A("palette-warning-main")),S(c.Alert,"errorFilledColor",yt(()=>c.getContrastText(c.error.main))),S(c.Alert,"infoFilledColor",yt(()=>c.getContrastText(c.info.main))),S(c.Alert,"successFilledColor",yt(()=>c.getContrastText(c.success.main))),S(c.Alert,"warningFilledColor",yt(()=>c.getContrastText(c.warning.main))),S(c.Alert,"errorStandardBg",ne(c.error.light,.9)),S(c.Alert,"infoStandardBg",ne(c.info.light,.9)),S(c.Alert,"successStandardBg",ne(c.success.light,.9)),S(c.Alert,"warningStandardBg",ne(c.warning.light,.9)),S(c.Alert,"errorIconColor",A("palette-error-main")),S(c.Alert,"infoIconColor",A("palette-info-main")),S(c.Alert,"successIconColor",A("palette-success-main")),S(c.Alert,"warningIconColor",A("palette-warning-main")),S(c.AppBar,"defaultBg",A("palette-grey-100")),S(c.Avatar,"defaultBg",A("palette-grey-400")),S(c.Button,"inheritContainedBg",A("palette-grey-300")),S(c.Button,"inheritContainedHoverBg",A("palette-grey-A100")),S(c.Chip,"defaultBorder",A("palette-grey-400")),S(c.Chip,"defaultAvatarColor",A("palette-grey-700")),S(c.Chip,"defaultIconColor",A("palette-grey-700")),S(c.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),S(c.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),S(c.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),S(c.LinearProgress,"primaryBg",ne(c.primary.main,.62)),S(c.LinearProgress,"secondaryBg",ne(c.secondary.main,.62)),S(c.LinearProgress,"errorBg",ne(c.error.main,.62)),S(c.LinearProgress,"infoBg",ne(c.info.main,.62)),S(c.LinearProgress,"successBg",ne(c.success.main,.62)),S(c.LinearProgress,"warningBg",ne(c.warning.main,.62)),S(c.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.11)`),S(c.Slider,"primaryTrack",ne(c.primary.main,.62)),S(c.Slider,"secondaryTrack",ne(c.secondary.main,.62)),S(c.Slider,"errorTrack",ne(c.error.main,.62)),S(c.Slider,"infoTrack",ne(c.info.main,.62)),S(c.Slider,"successTrack",ne(c.success.main,.62)),S(c.Slider,"warningTrack",ne(c.warning.main,.62));const L=ur(c.background.default,.8);S(c.SnackbarContent,"bg",L),S(c.SnackbarContent,"color",yt(()=>c.getContrastText(L))),S(c.SpeedDialAction,"fabHoverBg",ur(c.background.paper,.15)),S(c.StepConnector,"border",A("palette-grey-400")),S(c.StepContent,"border",A("palette-grey-400")),S(c.Switch,"defaultColor",A("palette-common-white")),S(c.Switch,"defaultDisabledColor",A("palette-grey-100")),S(c.Switch,"primaryDisabledColor",ne(c.primary.main,.62)),S(c.Switch,"secondaryDisabledColor",ne(c.secondary.main,.62)),S(c.Switch,"errorDisabledColor",ne(c.error.main,.62)),S(c.Switch,"infoDisabledColor",ne(c.info.main,.62)),S(c.Switch,"successDisabledColor",ne(c.success.main,.62)),S(c.Switch,"warningDisabledColor",ne(c.warning.main,.62)),S(c.TableCell,"border",ne(cr(c.divider,1),.88)),S(c.Tooltip,"bg",cr(c.grey[700],.92))}if(c.mode==="dark"){S(c.Alert,"errorColor",ne(c.error.light,.6)),S(c.Alert,"infoColor",ne(c.info.light,.6)),S(c.Alert,"successColor",ne(c.success.light,.6)),S(c.Alert,"warningColor",ne(c.warning.light,.6)),S(c.Alert,"errorFilledBg",A("palette-error-dark")),S(c.Alert,"infoFilledBg",A("palette-info-dark")),S(c.Alert,"successFilledBg",A("palette-success-dark")),S(c.Alert,"warningFilledBg",A("palette-warning-dark")),S(c.Alert,"errorFilledColor",yt(()=>c.getContrastText(c.error.dark))),S(c.Alert,"infoFilledColor",yt(()=>c.getContrastText(c.info.dark))),S(c.Alert,"successFilledColor",yt(()=>c.getContrastText(c.success.dark))),S(c.Alert,"warningFilledColor",yt(()=>c.getContrastText(c.warning.dark))),S(c.Alert,"errorStandardBg",te(c.error.light,.9)),S(c.Alert,"infoStandardBg",te(c.info.light,.9)),S(c.Alert,"successStandardBg",te(c.success.light,.9)),S(c.Alert,"warningStandardBg",te(c.warning.light,.9)),S(c.Alert,"errorIconColor",A("palette-error-main")),S(c.Alert,"infoIconColor",A("palette-info-main")),S(c.Alert,"successIconColor",A("palette-success-main")),S(c.Alert,"warningIconColor",A("palette-warning-main")),S(c.AppBar,"defaultBg",A("palette-grey-900")),S(c.AppBar,"darkBg",A("palette-background-paper")),S(c.AppBar,"darkColor",A("palette-text-primary")),S(c.Avatar,"defaultBg",A("palette-grey-600")),S(c.Button,"inheritContainedBg",A("palette-grey-800")),S(c.Button,"inheritContainedHoverBg",A("palette-grey-700")),S(c.Chip,"defaultBorder",A("palette-grey-700")),S(c.Chip,"defaultAvatarColor",A("palette-grey-300")),S(c.Chip,"defaultIconColor",A("palette-grey-300")),S(c.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),S(c.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),S(c.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),S(c.LinearProgress,"primaryBg",te(c.primary.main,.5)),S(c.LinearProgress,"secondaryBg",te(c.secondary.main,.5)),S(c.LinearProgress,"errorBg",te(c.error.main,.5)),S(c.LinearProgress,"infoBg",te(c.info.main,.5)),S(c.LinearProgress,"successBg",te(c.success.main,.5)),S(c.LinearProgress,"warningBg",te(c.warning.main,.5)),S(c.Skeleton,"bg",`rgba(${A("palette-text-primaryChannel")} / 0.13)`),S(c.Slider,"primaryTrack",te(c.primary.main,.5)),S(c.Slider,"secondaryTrack",te(c.secondary.main,.5)),S(c.Slider,"errorTrack",te(c.error.main,.5)),S(c.Slider,"infoTrack",te(c.info.main,.5)),S(c.Slider,"successTrack",te(c.success.main,.5)),S(c.Slider,"warningTrack",te(c.warning.main,.5));const L=ur(c.background.default,.98);S(c.SnackbarContent,"bg",L),S(c.SnackbarContent,"color",yt(()=>c.getContrastText(L))),S(c.SpeedDialAction,"fabHoverBg",ur(c.background.paper,.15)),S(c.StepConnector,"border",A("palette-grey-600")),S(c.StepContent,"border",A("palette-grey-600")),S(c.Switch,"defaultColor",A("palette-grey-300")),S(c.Switch,"defaultDisabledColor",A("palette-grey-600")),S(c.Switch,"primaryDisabledColor",te(c.primary.main,.55)),S(c.Switch,"secondaryDisabledColor",te(c.secondary.main,.55)),S(c.Switch,"errorDisabledColor",te(c.error.main,.55)),S(c.Switch,"infoDisabledColor",te(c.info.main,.55)),S(c.Switch,"successDisabledColor",te(c.success.main,.55)),S(c.Switch,"warningDisabledColor",te(c.warning.main,.55)),S(c.TableCell,"border",te(cr(c.divider,1),.68)),S(c.Tooltip,"bg",cr(c.grey[700],.92))}At(c.background,"default"),At(c.background,"paper"),At(c.common,"background"),At(c.common,"onBackground"),At(c,"divider"),Object.keys(c).forEach(L=>{const D=c[L];L!=="tonalOffset"&&D&&typeof D=="object"&&(D.main&&S(c[L],"mainChannel",jn(Bn(D.main))),D.light&&S(c[L],"lightChannel",jn(Bn(D.light))),D.dark&&S(c[L],"darkChannel",jn(Bn(D.dark))),D.contrastText&&S(c[L],"contrastTextChannel",jn(Bn(D.contrastText))),L==="text"&&(At(c[L],"primary"),At(c[L],"secondary")),L==="action"&&(D.active&&At(c[L],"active"),D.selected&&At(c[L],"selected")))})}),x=t.reduce((M,c)=>ze(M,c),x);const k={prefix:a,disableCssColorScheme:o,shouldSkipGeneratingVar:i,getSelector:cf(x)},{vars:O,generateThemeVars:T,generateStyleSheets:N}=Md(x,k);return x.vars=O,Object.entries(x.colorSchemes[x.defaultColorScheme]).forEach(([M,c])=>{x[M]=c}),x.generateThemeVars=T,x.generateStyleSheets=N,x.generateSpacing=function(){return Gs(u.spacing,Jo(this))},x.getColorSchemeSelector=_d(s),x.spacing=x.generateSpacing(),x.shouldSkipGeneratingVar=i,x.unstable_sxConfig={...oo,...u==null?void 0:u.unstable_sxConfig},x.unstable_sx=function(c){return yn({sx:c,theme:this})},x.toRuntimeSource=il,x}function ri(e,t,n){e.colorSchemes&&n&&(e.colorSchemes[t]={...n!==!0&&n,palette:ia({...n===!0?{}:n.palette,mode:t})})}function mf(e={},...t){const{palette:n,cssVariables:r=!1,colorSchemes:o=n?void 0:{light:!0},defaultColorScheme:a=n==null?void 0:n.mode,...i}=e,s=a||"light",l=o==null?void 0:o[s],u={...o,...n?{[s]:{...typeof l!="boolean"&&l,palette:n}}:void 0};if(r===!1){if(!("colorSchemes"in e))return Po(e,...t);let d=n;"palette"in e||u[s]&&(u[s]!==!0?d=u[s].palette:s==="dark"&&(d={mode:"dark"}));const p=Po({...e,palette:d},...t);return p.defaultColorScheme=s,p.colorSchemes=u,p.palette.mode==="light"&&(p.colorSchemes.light={...u.light!==!0&&u.light,palette:p.palette},ri(p,"dark",u.dark)),p.palette.mode==="dark"&&(p.colorSchemes.dark={...u.dark!==!0&&u.dark,palette:p.palette},ri(p,"light",u.light)),p}return!n&&!("light"in u)&&s==="light"&&(u.light=!0),pf({...i,colorSchemes:u,defaultColorScheme:s,...typeof r!="boolean"&&r},...t)}const cl=mf();function ul(){const e=Zu(cl);return e[Ls]||e}function hf(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}const gf=e=>hf(e)&&e!=="classes",so=id({themeId:Ls,defaultTheme:cl,rootShouldForwardProp:gf}),sa=Ld;function dl(e){return Rd(e)}function yf(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.indexOf(r)!==-1)continue;n[r]=e[r]}return n}function Mo(e,t){return Mo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,r){return n.__proto__=r,n},Mo(e,t)}function vf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Mo(e,t)}const oi={disabled:!1},fl=He.createContext(null);var bf=function(t){return t.scrollTop},In="unmounted",Ut="exited",qt="entering",fn="entered",_o="exiting",$t=function(e){vf(t,e);function t(r,o){var a;a=e.call(this,r,o)||this;var i=o,s=i&&!i.isMounting?r.enter:r.appear,l;return a.appearStatus=null,r.in?s?(l=Ut,a.appearStatus=qt):l=fn:r.unmountOnExit||r.mountOnEnter?l=In:l=Ut,a.state={status:l},a.nextCallback=null,a}t.getDerivedStateFromProps=function(o,a){var i=o.in;return i&&a.status===In?{status:Ut}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(o){var a=null;if(o!==this.props){var i=this.state.status;this.props.in?i!==qt&&i!==fn&&(a=qt):(i===qt||i===fn)&&(a=_o)}this.updateStatus(!1,a)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var o=this.props.timeout,a,i,s;return a=i=s=o,o!=null&&typeof o!="number"&&(a=o.exit,i=o.enter,s=o.appear!==void 0?o.appear:i),{exit:a,enter:i,appear:s}},n.updateStatus=function(o,a){if(o===void 0&&(o=!1),a!==null)if(this.cancelNextCallback(),a===qt){if(this.props.unmountOnExit||this.props.mountOnEnter){var i=this.props.nodeRef?this.props.nodeRef.current:sr.findDOMNode(this);i&&bf(i)}this.performEnter(o)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Ut&&this.setState({status:In})},n.performEnter=function(o){var a=this,i=this.props.enter,s=this.context?this.context.isMounting:o,l=this.props.nodeRef?[s]:[sr.findDOMNode(this),s],u=l[0],d=l[1],p=this.getTimeouts(),m=s?p.appear:p.enter;if(!o&&!i||oi.disabled){this.safeSetState({status:fn},function(){a.props.onEntered(u)});return}this.props.onEnter(u,d),this.safeSetState({status:qt},function(){a.props.onEntering(u,d),a.onTransitionEnd(m,function(){a.safeSetState({status:fn},function(){a.props.onEntered(u,d)})})})},n.performExit=function(){var o=this,a=this.props.exit,i=this.getTimeouts(),s=this.props.nodeRef?void 0:sr.findDOMNode(this);if(!a||oi.disabled){this.safeSetState({status:Ut},function(){o.props.onExited(s)});return}this.props.onExit(s),this.safeSetState({status:_o},function(){o.props.onExiting(s),o.onTransitionEnd(i.exit,function(){o.safeSetState({status:Ut},function(){o.props.onExited(s)})})})},n.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(o,a){a=this.setNextCallback(a),this.setState(o,a)},n.setNextCallback=function(o){var a=this,i=!0;return this.nextCallback=function(s){i&&(i=!1,a.nextCallback=null,o(s))},this.nextCallback.cancel=function(){i=!1},this.nextCallback},n.onTransitionEnd=function(o,a){this.setNextCallback(a);var i=this.props.nodeRef?this.props.nodeRef.current:sr.findDOMNode(this),s=o==null&&!this.props.addEndListener;if(!i||s){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var l=this.props.nodeRef?[this.nextCallback]:[i,this.nextCallback],u=l[0],d=l[1];this.props.addEndListener(u,d)}o!=null&&setTimeout(this.nextCallback,o)},n.render=function(){var o=this.state.status;if(o===In)return null;var a=this.props,i=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var s=yf(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return He.createElement(fl.Provider,{value:null},typeof i=="function"?i(o,s):He.cloneElement(He.Children.only(i),s))},t}(He.Component);$t.contextType=fl;$t.propTypes={};function un(){}$t.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:un,onEntering:un,onEntered:un,onExit:un,onExiting:un,onExited:un};$t.UNMOUNTED=In;$t.EXITED=Ut;$t.ENTERING=qt;$t.ENTERED=fn;$t.EXITING=_o;const xf=e=>e.scrollTop;function ai(e,t){const{timeout:n,easing:r,style:o={}}=e;return{duration:o.transitionDuration??(typeof n=="number"?n:n[t.mode]||0),easing:o.transitionTimingFunction??(typeof r=="object"?r[t.mode]:r),delay:o.transitionDelay}}function dr(e,t){const{className:n,elementType:r,ownerState:o,externalForwardedProps:a,internalForwardedProps:i,shouldForwardComponentProp:s=!1,...l}=t,{component:u,slots:d={[e]:void 0},slotProps:p={[e]:void 0},...m}=a,g=d[e]||r,h=nl(p[e],o),{props:{component:f,...b},internalRef:v}=tl({className:n,...l,externalForwardedProps:e==="root"?m:void 0,externalSlotProps:h}),E=Jt(v,h==null?void 0:h.ref,t.ref),w=e==="root"?f||u:f,x=el(g,{...e==="root"&&!u&&!d[e]&&i,...e!=="root"&&!d[e]&&i,...b,...w&&!s&&{as:w},...w&&s&&{component:w},ref:E},o);return[g,x]}var _e="top",et="bottom",tt="right",je="left",la="auto",er=[_e,et,tt,je],vn="start",Yn="end",wf="clippingParents",pl="viewport",Pn="popper",Sf="reference",ii=er.reduce(function(e,t){return e.concat([t+"-"+vn,t+"-"+Yn])},[]),ml=[].concat(er,[la]).reduce(function(e,t){return e.concat([t,t+"-"+vn,t+"-"+Yn])},[]),Cf="beforeRead",kf="read",Ef="afterRead",Tf="beforeMain",Af="main",Of="afterMain",Rf="beforeWrite",Lf="write",$f="afterWrite",Df=[Cf,kf,Ef,Tf,Af,Of,Rf,Lf,$f];function St(e){return e?(e.nodeName||"").toLowerCase():null}function qe(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function Qt(e){var t=qe(e).Element;return e instanceof t||e instanceof Element}function Ze(e){var t=qe(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ca(e){if(typeof ShadowRoot>"u")return!1;var t=qe(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Pf(e){var t=e.state;Object.keys(t.elements).forEach(function(n){var r=t.styles[n]||{},o=t.attributes[n]||{},a=t.elements[n];!Ze(a)||!St(a)||(Object.assign(a.style,r),Object.keys(o).forEach(function(i){var s=o[i];s===!1?a.removeAttribute(i):a.setAttribute(i,s===!0?"":s)}))})}function Mf(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(r){var o=t.elements[r],a=t.attributes[r]||{},i=Object.keys(t.styles.hasOwnProperty(r)?t.styles[r]:n[r]),s=i.reduce(function(l,u){return l[u]="",l},{});!Ze(o)||!St(o)||(Object.assign(o.style,s),Object.keys(a).forEach(function(l){o.removeAttribute(l)}))})}}const _f={name:"applyStyles",enabled:!0,phase:"write",fn:Pf,effect:Mf,requires:["computeStyles"]};function wt(e){return e.split("-")[0]}var Gt=Math.max,Fr=Math.min,bn=Math.round;function jo(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function hl(){return!/^((?!chrome|android).)*safari/i.test(jo())}function xn(e,t,n){t===void 0&&(t=!1),n===void 0&&(n=!1);var r=e.getBoundingClientRect(),o=1,a=1;t&&Ze(e)&&(o=e.offsetWidth>0&&bn(r.width)/e.offsetWidth||1,a=e.offsetHeight>0&&bn(r.height)/e.offsetHeight||1);var i=Qt(e)?qe(e):window,s=i.visualViewport,l=!hl()&&n,u=(r.left+(l&&s?s.offsetLeft:0))/o,d=(r.top+(l&&s?s.offsetTop:0))/a,p=r.width/o,m=r.height/a;return{width:p,height:m,top:d,right:u+p,bottom:d+m,left:u,x:u,y:d}}function ua(e){var t=xn(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function gl(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&ca(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function Lt(e){return qe(e).getComputedStyle(e)}function jf(e){return["table","td","th"].indexOf(St(e))>=0}function Wt(e){return((Qt(e)?e.ownerDocument:e.document)||window.document).documentElement}function lo(e){return St(e)==="html"?e:e.assignedSlot||e.parentNode||(ca(e)?e.host:null)||Wt(e)}function si(e){return!Ze(e)||Lt(e).position==="fixed"?null:e.offsetParent}function Nf(e){var t=/firefox/i.test(jo()),n=/Trident/i.test(jo());if(n&&Ze(e)){var r=Lt(e);if(r.position==="fixed")return null}var o=lo(e);for(ca(o)&&(o=o.host);Ze(o)&&["html","body"].indexOf(St(o))<0;){var a=Lt(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return o;o=o.parentNode}return null}function tr(e){for(var t=qe(e),n=si(e);n&&jf(n)&&Lt(n).position==="static";)n=si(n);return n&&(St(n)==="html"||St(n)==="body"&&Lt(n).position==="static")?t:n||Nf(e)||t}function da(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Wn(e,t,n){return Gt(e,Fr(t,n))}function Bf(e,t,n){var r=Wn(e,t,n);return r>n?n:r}function yl(){return{top:0,right:0,bottom:0,left:0}}function vl(e){return Object.assign({},yl(),e)}function bl(e,t){return t.reduce(function(n,r){return n[r]=e,n},{})}var If=function(t,n){return t=typeof t=="function"?t(Object.assign({},n.rects,{placement:n.placement})):t,vl(typeof t!="number"?t:bl(t,er))};function Ff(e){var t,n=e.state,r=e.name,o=e.options,a=n.elements.arrow,i=n.modifiersData.popperOffsets,s=wt(n.placement),l=da(s),u=[je,tt].indexOf(s)>=0,d=u?"height":"width";if(!(!a||!i)){var p=If(o.padding,n),m=ua(a),g=l==="y"?_e:je,h=l==="y"?et:tt,f=n.rects.reference[d]+n.rects.reference[l]-i[l]-n.rects.popper[d],b=i[l]-n.rects.reference[l],v=tr(a),E=v?l==="y"?v.clientHeight||0:v.clientWidth||0:0,w=f/2-b/2,x=p[g],k=E-m[d]-p[h],O=E/2-m[d]/2+w,T=Wn(x,O,k),N=l;n.modifiersData[r]=(t={},t[N]=T,t.centerOffset=T-O,t)}}function Wf(e){var t=e.state,n=e.options,r=n.element,o=r===void 0?"[data-popper-arrow]":r;o!=null&&(typeof o=="string"&&(o=t.elements.popper.querySelector(o),!o)||gl(t.elements.popper,o)&&(t.elements.arrow=o))}const Hf={name:"arrow",enabled:!0,phase:"main",fn:Ff,effect:Wf,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function wn(e){return e.split("-")[1]}var Vf={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zf(e,t){var n=e.x,r=e.y,o=t.devicePixelRatio||1;return{x:bn(n*o)/o||0,y:bn(r*o)/o||0}}function li(e){var t,n=e.popper,r=e.popperRect,o=e.placement,a=e.variation,i=e.offsets,s=e.position,l=e.gpuAcceleration,u=e.adaptive,d=e.roundOffsets,p=e.isFixed,m=i.x,g=m===void 0?0:m,h=i.y,f=h===void 0?0:h,b=typeof d=="function"?d({x:g,y:f}):{x:g,y:f};g=b.x,f=b.y;var v=i.hasOwnProperty("x"),E=i.hasOwnProperty("y"),w=je,x=_e,k=window;if(u){var O=tr(n),T="clientHeight",N="clientWidth";if(O===qe(n)&&(O=Wt(n),Lt(O).position!=="static"&&s==="absolute"&&(T="scrollHeight",N="scrollWidth")),O=O,o===_e||(o===je||o===tt)&&a===Yn){x=et;var M=p&&O===k&&k.visualViewport?k.visualViewport.height:O[T];f-=M-r.height,f*=l?1:-1}if(o===je||(o===_e||o===et)&&a===Yn){w=tt;var c=p&&O===k&&k.visualViewport?k.visualViewport.width:O[N];g-=c-r.width,g*=l?1:-1}}var A=Object.assign({position:s},u&&Vf),L=d===!0?zf({x:g,y:f},qe(n)):{x:g,y:f};if(g=L.x,f=L.y,l){var D;return Object.assign({},A,(D={},D[x]=E?"0":"",D[w]=v?"0":"",D.transform=(k.devicePixelRatio||1)<=1?"translate("+g+"px, "+f+"px)":"translate3d("+g+"px, "+f+"px, 0)",D))}return Object.assign({},A,(t={},t[x]=E?f+"px":"",t[w]=v?g+"px":"",t.transform="",t))}function Uf(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=r===void 0?!0:r,a=n.adaptive,i=a===void 0?!0:a,s=n.roundOffsets,l=s===void 0?!0:s,u={placement:wt(t.placement),variation:wn(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,li(Object.assign({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:l})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,li(Object.assign({},u,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const qf={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Uf,data:{}};var fr={passive:!0};function Gf(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,a=o===void 0?!0:o,i=r.resize,s=i===void 0?!0:i,l=qe(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(d){d.addEventListener("scroll",n.update,fr)}),s&&l.addEventListener("resize",n.update,fr),function(){a&&u.forEach(function(d){d.removeEventListener("scroll",n.update,fr)}),s&&l.removeEventListener("resize",n.update,fr)}}const Yf={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:Gf,data:{}};var Kf={left:"right",right:"left",bottom:"top",top:"bottom"};function jr(e){return e.replace(/left|right|bottom|top/g,function(t){return Kf[t]})}var Xf={start:"end",end:"start"};function ci(e){return e.replace(/start|end/g,function(t){return Xf[t]})}function fa(e){var t=qe(e),n=t.pageXOffset,r=t.pageYOffset;return{scrollLeft:n,scrollTop:r}}function pa(e){return xn(Wt(e)).left+fa(e).scrollLeft}function Jf(e,t){var n=qe(e),r=Wt(e),o=n.visualViewport,a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;var u=hl();(u||!u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s+pa(e),y:l}}function Qf(e){var t,n=Wt(e),r=fa(e),o=(t=e.ownerDocument)==null?void 0:t.body,a=Gt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),i=Gt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),s=-r.scrollLeft+pa(e),l=-r.scrollTop;return Lt(o||n).direction==="rtl"&&(s+=Gt(n.clientWidth,o?o.clientWidth:0)-a),{width:a,height:i,x:s,y:l}}function ma(e){var t=Lt(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function xl(e){return["html","body","#document"].indexOf(St(e))>=0?e.ownerDocument.body:Ze(e)&&ma(e)?e:xl(lo(e))}function Hn(e,t){var n;t===void 0&&(t=[]);var r=xl(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),a=qe(r),i=o?[a].concat(a.visualViewport||[],ma(r)?r:[]):r,s=t.concat(i);return o?s:s.concat(Hn(lo(i)))}function No(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Zf(e,t){var n=xn(e,!1,t==="fixed");return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}function ui(e,t,n){return t===pl?No(Jf(e,n)):Qt(t)?Zf(t,n):No(Qf(Wt(e)))}function ep(e){var t=Hn(lo(e)),n=["absolute","fixed"].indexOf(Lt(e).position)>=0,r=n&&Ze(e)?tr(e):e;return Qt(r)?t.filter(function(o){return Qt(o)&&gl(o,r)&&St(o)!=="body"}):[]}function tp(e,t,n,r){var o=t==="clippingParents"?ep(e):[].concat(t),a=[].concat(o,[n]),i=a[0],s=a.reduce(function(l,u){var d=ui(e,u,r);return l.top=Gt(d.top,l.top),l.right=Fr(d.right,l.right),l.bottom=Fr(d.bottom,l.bottom),l.left=Gt(d.left,l.left),l},ui(e,i,r));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function wl(e){var t=e.reference,n=e.element,r=e.placement,o=r?wt(r):null,a=r?wn(r):null,i=t.x+t.width/2-n.width/2,s=t.y+t.height/2-n.height/2,l;switch(o){case _e:l={x:i,y:t.y-n.height};break;case et:l={x:i,y:t.y+t.height};break;case tt:l={x:t.x+t.width,y:s};break;case je:l={x:t.x-n.width,y:s};break;default:l={x:t.x,y:t.y}}var u=o?da(o):null;if(u!=null){var d=u==="y"?"height":"width";switch(a){case vn:l[u]=l[u]-(t[d]/2-n[d]/2);break;case Yn:l[u]=l[u]+(t[d]/2-n[d]/2);break}}return l}function Kn(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=r===void 0?e.placement:r,a=n.strategy,i=a===void 0?e.strategy:a,s=n.boundary,l=s===void 0?wf:s,u=n.rootBoundary,d=u===void 0?pl:u,p=n.elementContext,m=p===void 0?Pn:p,g=n.altBoundary,h=g===void 0?!1:g,f=n.padding,b=f===void 0?0:f,v=vl(typeof b!="number"?b:bl(b,er)),E=m===Pn?Sf:Pn,w=e.rects.popper,x=e.elements[h?E:m],k=tp(Qt(x)?x:x.contextElement||Wt(e.elements.popper),l,d,i),O=xn(e.elements.reference),T=wl({reference:O,element:w,strategy:"absolute",placement:o}),N=No(Object.assign({},w,T)),M=m===Pn?N:O,c={top:k.top-M.top+v.top,bottom:M.bottom-k.bottom+v.bottom,left:k.left-M.left+v.left,right:M.right-k.right+v.right},A=e.modifiersData.offset;if(m===Pn&&A){var L=A[o];Object.keys(c).forEach(function(D){var j=[tt,et].indexOf(D)>=0?1:-1,P=[_e,et].indexOf(D)>=0?"y":"x";c[D]+=L[P]*j})}return c}function np(e,t){t===void 0&&(t={});var n=t,r=n.placement,o=n.boundary,a=n.rootBoundary,i=n.padding,s=n.flipVariations,l=n.allowedAutoPlacements,u=l===void 0?ml:l,d=wn(r),p=d?s?ii:ii.filter(function(h){return wn(h)===d}):er,m=p.filter(function(h){return u.indexOf(h)>=0});m.length===0&&(m=p);var g=m.reduce(function(h,f){return h[f]=Kn(e,{placement:f,boundary:o,rootBoundary:a,padding:i})[wt(f)],h},{});return Object.keys(g).sort(function(h,f){return g[h]-g[f]})}function rp(e){if(wt(e)===la)return[];var t=jr(e);return[ci(e),t,ci(t)]}function op(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,s=i===void 0?!0:i,l=n.fallbackPlacements,u=n.padding,d=n.boundary,p=n.rootBoundary,m=n.altBoundary,g=n.flipVariations,h=g===void 0?!0:g,f=n.allowedAutoPlacements,b=t.options.placement,v=wt(b),E=v===b,w=l||(E||!h?[jr(b)]:rp(b)),x=[b].concat(w).reduce(function(we,de){return we.concat(wt(de)===la?np(t,{placement:de,boundary:d,rootBoundary:p,padding:u,flipVariations:h,allowedAutoPlacements:f}):de)},[]),k=t.rects.reference,O=t.rects.popper,T=new Map,N=!0,M=x[0],c=0;c=0,P=j?"width":"height",B=Kn(t,{placement:A,boundary:d,rootBoundary:p,altBoundary:m,padding:u}),_=j?D?tt:je:D?et:_e;k[P]>O[P]&&(_=jr(_));var H=jr(_),z=[];if(a&&z.push(B[L]<=0),s&&z.push(B[_]<=0,B[H]<=0),z.every(function(we){return we})){M=A,N=!1;break}T.set(A,z)}if(N)for(var Y=h?3:1,Q=function(de){var Oe=x.find(function(K){var F=T.get(K);if(F)return F.slice(0,de).every(function(X){return X})});if(Oe)return M=Oe,"break"},xe=Y;xe>0;xe--){var Be=Q(xe);if(Be==="break")break}t.placement!==M&&(t.modifiersData[r]._skip=!0,t.placement=M,t.reset=!0)}}const ap={name:"flip",enabled:!0,phase:"main",fn:op,requiresIfExists:["offset"],data:{_skip:!1}};function di(e,t,n){return n===void 0&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function fi(e){return[_e,tt,et,je].some(function(t){return e[t]>=0})}function ip(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,a=t.modifiersData.preventOverflow,i=Kn(t,{elementContext:"reference"}),s=Kn(t,{altBoundary:!0}),l=di(i,r),u=di(s,o,a),d=fi(l),p=fi(u);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:p},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}const sp={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:ip};function lp(e,t,n){var r=wt(e),o=[je,_e].indexOf(r)>=0?-1:1,a=typeof n=="function"?n(Object.assign({},t,{placement:e})):n,i=a[0],s=a[1];return i=i||0,s=(s||0)*o,[je,tt].indexOf(r)>=0?{x:s,y:i}:{x:i,y:s}}function cp(e){var t=e.state,n=e.options,r=e.name,o=n.offset,a=o===void 0?[0,0]:o,i=ml.reduce(function(d,p){return d[p]=lp(p,t.rects,a),d},{}),s=i[t.placement],l=s.x,u=s.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[r]=i}const up={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:cp};function dp(e){var t=e.state,n=e.name;t.modifiersData[n]=wl({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}const fp={name:"popperOffsets",enabled:!0,phase:"read",fn:dp,data:{}};function pp(e){return e==="x"?"y":"x"}function mp(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,a=o===void 0?!0:o,i=n.altAxis,s=i===void 0?!1:i,l=n.boundary,u=n.rootBoundary,d=n.altBoundary,p=n.padding,m=n.tether,g=m===void 0?!0:m,h=n.tetherOffset,f=h===void 0?0:h,b=Kn(t,{boundary:l,rootBoundary:u,padding:p,altBoundary:d}),v=wt(t.placement),E=wn(t.placement),w=!E,x=da(v),k=pp(x),O=t.modifiersData.popperOffsets,T=t.rects.reference,N=t.rects.popper,M=typeof f=="function"?f(Object.assign({},t.rects,{placement:t.placement})):f,c=typeof M=="number"?{mainAxis:M,altAxis:M}:Object.assign({mainAxis:0,altAxis:0},M),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,L={x:0,y:0};if(O){if(a){var D,j=x==="y"?_e:je,P=x==="y"?et:tt,B=x==="y"?"height":"width",_=O[x],H=_+b[j],z=_-b[P],Y=g?-N[B]/2:0,Q=E===vn?T[B]:N[B],xe=E===vn?-N[B]:-T[B],Be=t.elements.arrow,we=g&&Be?ua(Be):{width:0,height:0},de=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:yl(),Oe=de[j],K=de[P],F=Wn(0,T[B],we[B]),X=w?T[B]/2-Y-F-Oe-c.mainAxis:Q-F-Oe-c.mainAxis,fe=w?-T[B]/2+Y+F+K+c.mainAxis:xe+F+K+c.mainAxis,pe=t.elements.arrow&&tr(t.elements.arrow),me=pe?x==="y"?pe.clientTop||0:pe.clientLeft||0:0,Re=(D=A==null?void 0:A[x])!=null?D:0,ot=_+X-Re-me,he=_+fe-Re,dt=Wn(g?Fr(H,ot):H,_,g?Gt(z,he):z);O[x]=dt,L[x]=dt-_}if(s){var Le,Pe=x==="x"?_e:je,J=x==="x"?et:tt,ke=O[k],Ie=k==="y"?"height":"width",at=ke+b[Pe],it=ke-b[J],ft=[_e,je].indexOf(v)!==-1,st=(Le=A==null?void 0:A[k])!=null?Le:0,Fe=ft?at:ke-T[Ie]-N[Ie]-st+c.altAxis,Ge=ft?ke+T[Ie]+N[Ie]-st-c.altAxis:it,Ye=g&&ft?Bf(Fe,ke,Ge):Wn(g?Fe:at,ke,g?Ge:it);O[k]=Ye,L[k]=Ye-ke}t.modifiersData[r]=L}}const hp={name:"preventOverflow",enabled:!0,phase:"main",fn:mp,requiresIfExists:["offset"]};function gp(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function yp(e){return e===qe(e)||!Ze(e)?fa(e):gp(e)}function vp(e){var t=e.getBoundingClientRect(),n=bn(t.width)/e.offsetWidth||1,r=bn(t.height)/e.offsetHeight||1;return n!==1||r!==1}function bp(e,t,n){n===void 0&&(n=!1);var r=Ze(t),o=Ze(t)&&vp(t),a=Wt(t),i=xn(e,o,n),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!n)&&((St(t)!=="body"||ma(a))&&(s=yp(t)),Ze(t)?(l=xn(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=pa(a))),{x:i.left+s.scrollLeft-l.x,y:i.top+s.scrollTop-l.y,width:i.width,height:i.height}}function xp(e){var t=new Map,n=new Set,r=[];e.forEach(function(a){t.set(a.name,a)});function o(a){n.add(a.name);var i=[].concat(a.requires||[],a.requiresIfExists||[]);i.forEach(function(s){if(!n.has(s)){var l=t.get(s);l&&o(l)}}),r.push(a)}return e.forEach(function(a){n.has(a.name)||o(a)}),r}function wp(e){var t=xp(e);return Df.reduce(function(n,r){return n.concat(t.filter(function(o){return o.phase===r}))},[])}function Sp(e){var t;return function(){return t||(t=new Promise(function(n){Promise.resolve().then(function(){t=void 0,n(e())})})),t}}function Cp(e){var t=e.reduce(function(n,r){var o=n[r.name];return n[r.name]=o?Object.assign({},o,r,{options:Object.assign({},o.options,r.options),data:Object.assign({},o.data,r.data)}):r,n},{});return Object.keys(t).map(function(n){return t[n]})}var pi={placement:"bottom",modifiers:[],strategy:"absolute"};function mi(){for(var e=arguments.length,t=new Array(e),n=0;n{a||s(Ap(o)||document.body)},[o,a]),Gn(()=>{if(i&&!a)return Do(n,i),()=>{Do(n,null)}},[n,i,a]),a){if(y.isValidElement(r)){const u={ref:l};return y.cloneElement(r,u)}return r}return i&&Ql.createPortal(r,i)});function Rp(e){return ea("MuiPopper",e)}Ks("MuiPopper",["root"]);function Lp(e,t){if(t==="ltr")return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function Bo(e){return typeof e=="function"?e():e}function $p(e){return e.nodeType!==void 0}const Dp=e=>{const{classes:t}=e;return Zs({root:["root"]},Rp,t)},Pp={},Mp=y.forwardRef(function(t,n){const{anchorEl:r,children:o,direction:a,disablePortal:i,modifiers:s,open:l,placement:u,popperOptions:d,popperRef:p,slotProps:m={},slots:g={},TransitionProps:h,ownerState:f,...b}=t,v=y.useRef(null),E=Jt(v,n),w=y.useRef(null),x=Jt(w,p),k=y.useRef(x);Gn(()=>{k.current=x},[x]),y.useImperativeHandle(p,()=>w.current,[]);const O=Lp(u,a),[T,N]=y.useState(O),[M,c]=y.useState(Bo(r));y.useEffect(()=>{w.current&&w.current.forceUpdate()}),y.useEffect(()=>{r&&c(Bo(r))},[r]),Gn(()=>{if(!M||!l)return;const P=H=>{N(H.placement)};let B=[{name:"preventOverflow",options:{altBoundary:i}},{name:"flip",options:{altBoundary:i}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:({state:H})=>{P(H)}}];s!=null&&(B=B.concat(s)),d&&d.modifiers!=null&&(B=B.concat(d.modifiers));const _=Tp(M,v.current,{placement:O,...d,modifiers:B});return k.current(_),()=>{_.destroy(),k.current(null)}},[M,i,s,l,d,O]);const A={placement:T};h!==null&&(A.TransitionProps=h);const L=Dp(t),D=g.root??"div",j=Ed({elementType:D,externalSlotProps:m.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:E},ownerState:t,className:L.root});return C.jsx(D,{...j,children:typeof o=="function"?o(A):o})}),_p=y.forwardRef(function(t,n){const{anchorEl:r,children:o,container:a,direction:i="ltr",disablePortal:s=!1,keepMounted:l=!1,modifiers:u,open:d,placement:p="bottom",popperOptions:m=Pp,popperRef:g,style:h,transition:f=!1,slotProps:b={},slots:v={},...E}=t,[w,x]=y.useState(!0),k=()=>{x(!1)},O=()=>{x(!0)};if(!l&&!d&&(!f||w))return null;let T;if(a)T=a;else if(r){const c=Bo(r);T=c&&$p(c)?Va(c).body:Va(null).body}const N=!d&&l&&(!f||w)?"none":void 0,M=f?{in:d,onEnter:k,onExited:O}:void 0;return C.jsx(Op,{disablePortal:s,container:T,children:C.jsx(Mp,{anchorEl:r,direction:i,disablePortal:s,modifiers:u,ref:n,open:f?!w:d,placement:p,popperOptions:m,popperRef:g,slotProps:b,slots:v,...E,style:{position:"fixed",top:0,left:0,display:N,...h},TransitionProps:M,children:o})})}),jp=so(_p,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),Sl=y.forwardRef(function(t,n){const r=rl(),o=dl({props:t,name:"MuiPopper"}),{anchorEl:a,component:i,components:s,componentsProps:l,container:u,disablePortal:d,keepMounted:p,modifiers:m,open:g,placement:h,popperOptions:f,popperRef:b,transition:v,slots:E,slotProps:w,...x}=o,k=(E==null?void 0:E.root)??(s==null?void 0:s.Root),O={anchorEl:a,container:u,disablePortal:d,keepMounted:p,modifiers:m,open:g,placement:h,popperOptions:f,popperRef:b,transition:v,...x};return C.jsx(jp,{as:i,direction:r?"rtl":"ltr",slots:{root:k},slotProps:w??l,...O,ref:n})});function Io(e){return`scale(${e}, ${e**2})`}const Np={entering:{opacity:1,transform:Io(1)},entered:{opacity:1,transform:"none"}},bo=typeof navigator<"u"&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),Fo=y.forwardRef(function(t,n){const{addEndListener:r,appear:o=!0,children:a,easing:i,in:s,onEnter:l,onEntered:u,onEntering:d,onExit:p,onExited:m,onExiting:g,style:h,timeout:f="auto",TransitionComponent:b=$t,...v}=t,E=Nn(),w=y.useRef(),x=ul(),k=y.useRef(null),O=Jt(k,aa(a),n),T=P=>B=>{if(P){const _=k.current;B===void 0?P(_):P(_,B)}},N=T(d),M=T((P,B)=>{xf(P);const{duration:_,delay:H,easing:z}=ai({style:h,timeout:f,easing:i},{mode:"enter"});let Y;f==="auto"?(Y=x.transitions.getAutoHeightDuration(P.clientHeight),w.current=Y):Y=_,P.style.transition=[x.transitions.create("opacity",{duration:Y,delay:H}),x.transitions.create("transform",{duration:bo?Y:Y*.666,delay:H,easing:z})].join(","),l&&l(P,B)}),c=T(u),A=T(g),L=T(P=>{const{duration:B,delay:_,easing:H}=ai({style:h,timeout:f,easing:i},{mode:"exit"});let z;f==="auto"?(z=x.transitions.getAutoHeightDuration(P.clientHeight),w.current=z):z=B,P.style.transition=[x.transitions.create("opacity",{duration:z,delay:_}),x.transitions.create("transform",{duration:bo?z:z*.666,delay:bo?_:_||z*.333,easing:H})].join(","),P.style.opacity=0,P.style.transform=Io(.75),p&&p(P)}),D=T(m),j=P=>{f==="auto"&&E.start(w.current||0,P),r&&r(k.current,P)};return C.jsx(b,{appear:o,in:s,nodeRef:k,onEnter:M,onEntered:c,onEntering:N,onExit:L,onExited:D,onExiting:A,addEndListener:j,timeout:f==="auto"?null:f,...v,children:(P,{ownerState:B,..._})=>y.cloneElement(a,{style:{opacity:0,transform:Io(.75),visibility:P==="exited"&&!s?"hidden":void 0,...Np[P],...h,...a.props.style},ref:O,..._})})});Fo&&(Fo.muiSupportAuto=!0);function Bp(e){return ea("MuiTooltip",e)}const le=Ks("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);function Ip(e){return Math.round(e*1e5)/1e5}const Fp=e=>{const{classes:t,disableInteractive:n,arrow:r,touch:o,placement:a}=e,i={popper:["popper",!n&&"popperInteractive",r&&"popperArrow"],tooltip:["tooltip",r&&"tooltipArrow",o&&"touch",`tooltipPlacement${Jr(a.split("-")[0])}`],arrow:["arrow"]};return Zs(i,Bp,t)},Wp=so(Sl,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.popper,!n.disableInteractive&&t.popperInteractive,n.arrow&&t.popperArrow,!n.open&&t.popperClose]}})(sa(({theme:e})=>({zIndex:(e.vars||e).zIndex.tooltip,pointerEvents:"none",variants:[{props:({ownerState:t})=>!t.disableInteractive,style:{pointerEvents:"auto"}},{props:({open:t})=>!t,style:{pointerEvents:"none"}},{props:({ownerState:t})=>t.arrow,style:{[`&[data-popper-placement*="bottom"] .${le.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${le.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${le.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},[`&[data-popper-placement*="left"] .${le.arrow}`]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="right"] .${le.arrow}`]:{left:0,marginLeft:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="right"] .${le.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!t.isRtl,style:{[`&[data-popper-placement*="left"] .${le.arrow}`]:{right:0,marginRight:"-0.71em"}}},{props:({ownerState:t})=>t.arrow&&!!t.isRtl,style:{[`&[data-popper-placement*="left"] .${le.arrow}`]:{left:0,marginLeft:"-0.71em"}}}]}))),Hp=so("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:n}=e;return[t.tooltip,n.touch&&t.touch,n.arrow&&t.tooltipArrow,t[`tooltipPlacement${Jr(n.placement.split("-")[0])}`]]}})(sa(({theme:e})=>({backgroundColor:e.vars?e.vars.palette.Tooltip.bg:na(e.palette.grey[700],.92),borderRadius:(e.vars||e).shape.borderRadius,color:(e.vars||e).palette.common.white,fontFamily:e.typography.fontFamily,padding:"4px 8px",fontSize:e.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:e.typography.fontWeightMedium,[`.${le.popper}[data-popper-placement*="left"] &`]:{transformOrigin:"right center"},[`.${le.popper}[data-popper-placement*="right"] &`]:{transformOrigin:"left center"},[`.${le.popper}[data-popper-placement*="top"] &`]:{transformOrigin:"center bottom",marginBottom:"14px"},[`.${le.popper}[data-popper-placement*="bottom"] &`]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:({ownerState:t})=>t.arrow,style:{position:"relative",margin:0}},{props:({ownerState:t})=>t.touch,style:{padding:"8px 16px",fontSize:e.typography.pxToRem(14),lineHeight:`${Ip(16/14)}em`,fontWeight:e.typography.fontWeightRegular}},{props:({ownerState:t})=>!t.isRtl,style:{[`.${le.popper}[data-popper-placement*="left"] &`]:{marginRight:"14px"},[`.${le.popper}[data-popper-placement*="right"] &`]:{marginLeft:"14px"}}},{props:({ownerState:t})=>!t.isRtl&&t.touch,style:{[`.${le.popper}[data-popper-placement*="left"] &`]:{marginRight:"24px"},[`.${le.popper}[data-popper-placement*="right"] &`]:{marginLeft:"24px"}}},{props:({ownerState:t})=>!!t.isRtl,style:{[`.${le.popper}[data-popper-placement*="left"] &`]:{marginLeft:"14px"},[`.${le.popper}[data-popper-placement*="right"] &`]:{marginRight:"14px"}}},{props:({ownerState:t})=>!!t.isRtl&&t.touch,style:{[`.${le.popper}[data-popper-placement*="left"] &`]:{marginLeft:"24px"},[`.${le.popper}[data-popper-placement*="right"] &`]:{marginRight:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${le.popper}[data-popper-placement*="top"] &`]:{marginBottom:"24px"}}},{props:({ownerState:t})=>t.touch,style:{[`.${le.popper}[data-popper-placement*="bottom"] &`]:{marginTop:"24px"}}}]}))),Vp=so("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})(sa(({theme:e})=>({overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:e.vars?e.vars.palette.Tooltip.bg:na(e.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}})));let pr=!1;const hi=new io;let Mn={x:0,y:0};function mr(e,t){return(n,...r)=>{t&&t(n,...r),e(n,...r)}}const gi=y.forwardRef(function(t,n){const r=dl({props:t,name:"MuiTooltip"}),{arrow:o=!1,children:a,classes:i,components:s={},componentsProps:l={},describeChild:u=!1,disableFocusListener:d=!1,disableHoverListener:p=!1,disableInteractive:m=!1,disableTouchListener:g=!1,enterDelay:h=100,enterNextDelay:f=0,enterTouchDelay:b=700,followCursor:v=!1,id:E,leaveDelay:w=0,leaveTouchDelay:x=1500,onClose:k,onOpen:O,open:T,placement:N="bottom",PopperComponent:M,PopperProps:c={},slotProps:A={},slots:L={},title:D,TransitionComponent:j,TransitionProps:P,...B}=r,_=y.isValidElement(a)?a:C.jsx("span",{children:a}),H=ul(),z=rl(),[Y,Q]=y.useState(),[xe,Be]=y.useState(null),we=y.useRef(!1),de=m||v,Oe=Nn(),K=Nn(),F=Nn(),X=Nn(),[fe,pe]=bd({controlled:T,default:!1,name:"Tooltip",state:"open"});let me=fe;const Re=vd(E),ot=y.useRef(),he=qa(()=>{ot.current!==void 0&&(document.body.style.WebkitUserSelect=ot.current,ot.current=void 0),X.clear()});y.useEffect(()=>he,[he]);const dt=R=>{hi.clear(),pr=!0,pe(!0),O&&!me&&O(R)},Le=qa(R=>{hi.start(800+w,()=>{pr=!1}),pe(!1),k&&me&&k(R),Oe.start(H.transitions.duration.shortest,()=>{we.current=!1})}),Pe=R=>{we.current&&R.type!=="touchstart"||(Y&&Y.removeAttribute("title"),K.clear(),F.clear(),h||pr&&f?K.start(pr?f:h,()=>{dt(R)}):dt(R))},J=R=>{K.clear(),F.start(w,()=>{Le(R)})},[,ke]=y.useState(!1),Ie=R=>{Ya(R.target)||(ke(!1),J(R))},at=R=>{Y||Q(R.currentTarget),Ya(R.target)&&(ke(!0),Pe(R))},it=R=>{we.current=!0;const re=_.props;re.onTouchStart&&re.onTouchStart(R)},ft=R=>{it(R),F.clear(),Oe.clear(),he(),ot.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",X.start(b,()=>{document.body.style.WebkitUserSelect=ot.current,Pe(R)})},st=R=>{_.props.onTouchEnd&&_.props.onTouchEnd(R),he(),F.start(x,()=>{Le(R)})};y.useEffect(()=>{if(!me)return;function R(re){re.key==="Escape"&&Le(re)}return document.addEventListener("keydown",R),()=>{document.removeEventListener("keydown",R)}},[Le,me]);const Fe=Jt(aa(_),Q,n);!D&&D!==0&&(me=!1);const Ge=y.useRef(),Ye=R=>{const re=_.props;re.onMouseMove&&re.onMouseMove(R),Mn={x:R.clientX,y:R.clientY},Ge.current&&Ge.current.update()},Ke={},kt=typeof D=="string";u?(Ke.title=!me&&kt&&!p?D:null,Ke["aria-describedby"]=me?Re:null):(Ke["aria-label"]=kt?D:null,Ke["aria-labelledby"]=me&&!kt?Re:null);const Se={...Ke,...B,..._.props,className:Ir(B.className,_.props.className),onTouchStart:it,ref:Fe,...v?{onMouseMove:Ye}:{}},lt={};g||(Se.onTouchStart=ft,Se.onTouchEnd=st),p||(Se.onMouseOver=mr(Pe,Se.onMouseOver),Se.onMouseLeave=mr(J,Se.onMouseLeave),de||(lt.onMouseOver=Pe,lt.onMouseLeave=J)),d||(Se.onFocus=mr(at,Se.onFocus),Se.onBlur=mr(Ie,Se.onBlur),de||(lt.onFocus=at,lt.onBlur=Ie));const ve={...r,isRtl:z,arrow:o,disableInteractive:de,placement:N,PopperComponentProp:M,touch:we.current},U=typeof A.popper=="function"?A.popper(ve):A.popper,nn=y.useMemo(()=>{var re,mt;let R=[{name:"arrow",enabled:!!xe,options:{element:xe,padding:4}}];return(re=c.popperOptions)!=null&&re.modifiers&&(R=R.concat(c.popperOptions.modifiers)),(mt=U==null?void 0:U.popperOptions)!=null&&mt.modifiers&&(R=R.concat(U.popperOptions.modifiers)),{...c.popperOptions,...U==null?void 0:U.popperOptions,modifiers:R}},[xe,c.popperOptions,U==null?void 0:U.popperOptions]),Et=Fp(ve),Pt=typeof A.transition=="function"?A.transition(ve):A.transition,pt={slots:{popper:s.Popper,transition:s.Transition??j,tooltip:s.Tooltip,arrow:s.Arrow,...L},slotProps:{arrow:A.arrow??l.arrow,popper:{...c,...U??l.popper},tooltip:A.tooltip??l.tooltip,transition:{...P,...Pt??l.transition}}},[Mt,_t]=dr("popper",{elementType:Wp,externalForwardedProps:pt,ownerState:ve,className:Ir(Et.popper,c==null?void 0:c.className)}),[jt,Ht]=dr("transition",{elementType:Fo,externalForwardedProps:pt,ownerState:ve}),[rn,ge]=dr("tooltip",{elementType:Hp,className:Et.tooltip,externalForwardedProps:pt,ownerState:ve}),[Me,I]=dr("arrow",{elementType:Vp,className:Et.arrow,externalForwardedProps:pt,ownerState:ve,ref:Be});return C.jsxs(y.Fragment,{children:[y.cloneElement(_,Se),C.jsx(Mt,{as:M??Sl,placement:N,anchorEl:v?{getBoundingClientRect:()=>({top:Mn.y,left:Mn.x,right:Mn.x,bottom:Mn.y,width:0,height:0})}:Y,popperRef:Ge,open:Y?me:!1,id:Re,transition:!0,...lt,..._t,popperOptions:nn,children:({TransitionProps:R})=>C.jsx(jt,{timeout:H.transitions.duration.shorter,...R,...Ht,children:C.jsxs(rn,{...ge,children:[D,o?C.jsx(Me,{...I}):null]})})})]})}),{STORY_CHANGED:zp,SELECT_STORY:Up}=__STORYBOOK_MODULE_CORE_EVENTS__,{makeDecorator:qp,addons:Cl}=__STORYBOOK_MODULE_PREVIEW_API__,{global:Gp}=__STORYBOOK_MODULE_GLOBAL__;var Yp="links",{document:ha,HTMLElement:Kp}=Gp;function Xp(e){let t={},n=(e[0]==="?"?e.substring(1):e).split("&").filter(Boolean);for(let r=0;rCl.getChannel().emit(Up,e),Jp=(e,t)=>new Promise(n=>{let{location:r}=ha,o=Xp(r.search).id,a=e||o.split("--",2)[0],i=`/story/${ec(a,t)}`,s=r.pathname.replace(/iframe\.html$/,""),l=`${r.origin+s}?${Object.entries({path:i}).map(u=>`${u[0]}=${u[1]}`).join("&")}`;n(l)}),El=e=>{let{target:t}=e;if(!(t instanceof Kp))return;let n=t,{sbKind:r,sbStory:o}=n.dataset;(r||o)&&(e.preventDefault(),kl({kind:r,story:o}))},Wr=!1,Qp=()=>{Wr||(Wr=!0,ha.addEventListener("click",El))},Zp=()=>{Wr&&(Wr=!1,ha.removeEventListener("click",El))};qp({name:"withLinks",parameterName:Yp,wrapper:(e,t)=>(Qp(),Cl.getChannel().once(zp,Zp),e(t))});var em=0,tm=e=>e.button===em&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,nm=(e,t=n=>{})=>{tm(e)&&(e.preventDefault(),t(e))},Tl=class extends y.PureComponent{constructor(){super(...arguments),this.state={href:"/"},this.updateHref=async()=>{let{kind:e,title:t=e,story:n,name:r=n}=this.props;if(t&&r){let o=await Jp(t,r);this.setState({href:o})}},this.handleClick=()=>{let{kind:e,title:t=e,story:n,name:r=n}=this.props;t&&r&&kl({title:t,name:r})}}componentDidMount(){this.updateHref()}componentDidUpdate(e){let{kind:t,title:n,story:r,name:o}=this.props;(e.kind!==t||e.story!==r||e.title!==n||e.name!==o)&&this.updateHref()}render(){let{kind:e,title:t=e,story:n,name:r=n,children:o,...a}=this.props,{href:i}=this.state;return He.createElement("a",{href:i,onClick:s=>nm(s,this.handleClick),...a},o)}};Tl.defaultProps={children:void 0};var Wo=Tl;const Sn=Math.min,Yt=Math.max,Hr=Math.round,hr=Math.floor,It=e=>({x:e,y:e}),rm={left:"right",right:"left",bottom:"top",top:"bottom"},om={start:"end",end:"start"};function Ho(e,t,n){return Yt(e,Sn(t,n))}function nr(e,t){return typeof e=="function"?e(t):e}function Zt(e){return e.split("-")[0]}function rr(e){return e.split("-")[1]}function Al(e){return e==="x"?"y":"x"}function ga(e){return e==="y"?"height":"width"}function Cn(e){return["top","bottom"].includes(Zt(e))?"y":"x"}function ya(e){return Al(Cn(e))}function am(e,t,n){n===void 0&&(n=!1);const r=rr(e),o=ya(e),a=ga(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Vr(i)),[i,Vr(i)]}function im(e){const t=Vr(e);return[Vo(e),t,Vo(t)]}function Vo(e){return e.replace(/start|end/g,t=>om[t])}function sm(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}function lm(e,t,n,r){const o=rr(e);let a=sm(Zt(e),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),t&&(a=a.concat(a.map(Vo)))),a}function Vr(e){return e.replace(/left|right|bottom|top/g,t=>rm[t])}function cm(e){return{top:0,right:0,bottom:0,left:0,...e}}function Ol(e){return typeof e!="number"?cm(e):{top:e,right:e,bottom:e,left:e}}function zr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function yi(e,t,n){let{reference:r,floating:o}=e;const a=Cn(t),i=ya(t),s=ga(i),l=Zt(t),u=a==="y",d=r.x+r.width/2-o.width/2,p=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let g;switch(l){case"top":g={x:d,y:r.y-o.height};break;case"bottom":g={x:d,y:r.y+r.height};break;case"right":g={x:r.x+r.width,y:p};break;case"left":g={x:r.x-o.width,y:p};break;default:g={x:r.x,y:r.y}}switch(rr(t)){case"start":g[i]-=m*(n&&u?-1:1);break;case"end":g[i]+=m*(n&&u?-1:1);break}return g}const um=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=a.filter(Boolean),l=await(i.isRTL==null?void 0:i.isRTL(t));let u=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:p}=yi(u,r,l),m=r,g={},h=0;for(let f=0;f({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:u,padding:d=0}=nr(e,t)||{};if(u==null)return{};const p=Ol(d),m={x:n,y:r},g=ya(o),h=ga(g),f=await i.getDimensions(u),b=g==="y",v=b?"top":"left",E=b?"bottom":"right",w=b?"clientHeight":"clientWidth",x=a.reference[h]+a.reference[g]-m[g]-a.floating[h],k=m[g]-a.reference[g],O=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let T=O?O[w]:0;(!T||!await(i.isElement==null?void 0:i.isElement(O)))&&(T=s.floating[w]||a.floating[h]);const N=x/2-k/2,M=T/2-f[h]/2-1,c=Sn(p[v],M),A=Sn(p[E],M),L=c,D=T-f[h]-A,j=T/2-f[h]/2+N,P=Ho(L,j,D),B=!l.arrow&&rr(o)!=null&&j!==P&&a.reference[h]/2-(jj<=0)){var A,L;const j=(((A=a.flip)==null?void 0:A.index)||0)+1,P=T[j];if(P)return{data:{index:j,overflows:c},reset:{placement:P}};let B=(L=c.filter(_=>_.overflows[0]<=0).sort((_,H)=>_.overflows[1]-H.overflows[1])[0])==null?void 0:L.placement;if(!B)switch(g){case"bestFit":{var D;const _=(D=c.filter(H=>{if(O){const z=Cn(H.placement);return z===E||z==="y"}return!0}).map(H=>[H.placement,H.overflows.filter(z=>z>0).reduce((z,Y)=>z+Y,0)]).sort((H,z)=>H[1]-z[1])[0])==null?void 0:D[0];_&&(B=_);break}case"initialPlacement":B=s;break}if(o!==B)return{reset:{placement:B}}}return{}}}};async function pm(e,t){const{placement:n,platform:r,elements:o}=e,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Zt(n),s=rr(n),l=Cn(n)==="y",u=["left","top"].includes(i)?-1:1,d=a&&l?-1:1,p=nr(t,e);let{mainAxis:m,crossAxis:g,alignmentAxis:h}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&typeof h=="number"&&(g=s==="end"?h*-1:h),l?{x:g*d,y:m*u}:{x:m*u,y:g*d}}const mm=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await pm(t,e);return i===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},hm=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:b=>{let{x:v,y:E}=b;return{x:v,y:E}}},...l}=nr(e,t),u={x:n,y:r},d=await Rl(t,l),p=Cn(Zt(o)),m=Al(p);let g=u[m],h=u[p];if(a){const b=m==="y"?"top":"left",v=m==="y"?"bottom":"right",E=g+d[b],w=g-d[v];g=Ho(E,g,w)}if(i){const b=p==="y"?"top":"left",v=p==="y"?"bottom":"right",E=h+d[b],w=h-d[v];h=Ho(E,h,w)}const f=s.fn({...t,[m]:g,[p]:h});return{...f,data:{x:f.x-n,y:f.y-r}}}}};function On(e){return Ll(e)?(e.nodeName||"").toLowerCase():"#document"}function Ue(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Dt(e){var t;return(t=(Ll(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Ll(e){return e instanceof Node||e instanceof Ue(e).Node}function ct(e){return e instanceof Element||e instanceof Ue(e).Element}function Ct(e){return e instanceof HTMLElement||e instanceof Ue(e).HTMLElement}function vi(e){return typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ue(e).ShadowRoot}function or(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=ut(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function gm(e){return["table","td","th"].includes(On(e))}function co(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function va(e){const t=ba(),n=ct(e)?ut(e):e;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function ym(e){let t=Ft(e);for(;Ct(t)&&!kn(t);){if(va(t))return t;if(co(t))return null;t=Ft(t)}return null}function ba(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function kn(e){return["html","body","#document"].includes(On(e))}function ut(e){return Ue(e).getComputedStyle(e)}function uo(e){return ct(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Ft(e){if(On(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vi(e)&&e.host||Dt(e);return vi(t)?t.host:t}function $l(e){const t=Ft(e);return kn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ct(t)&&or(t)?t:$l(t)}function Xn(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const o=$l(e),a=o===((r=e.ownerDocument)==null?void 0:r.body),i=Ue(o);return a?t.concat(i,i.visualViewport||[],or(o)?o:[],i.frameElement&&n?Xn(i.frameElement):[]):t.concat(o,Xn(o,[],n))}function Dl(e){const t=ut(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Ct(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=Hr(n)!==a||Hr(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function xa(e){return ct(e)?e:e.contextElement}function hn(e){const t=xa(e);if(!Ct(t))return It(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Dl(t);let i=(a?Hr(n.width):n.width)/r,s=(a?Hr(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const vm=It(0);function Pl(e){const t=Ue(e);return!ba()||!t.visualViewport?vm:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function bm(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==Ue(e)?!1:t}function en(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const o=e.getBoundingClientRect(),a=xa(e);let i=It(1);t&&(r?ct(r)&&(i=hn(r)):i=hn(e));const s=bm(a,n,r)?Pl(a):It(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,d=o.width/i.x,p=o.height/i.y;if(a){const m=Ue(a),g=r&&ct(r)?Ue(r):r;let h=m,f=h.frameElement;for(;f&&r&&g!==h;){const b=hn(f),v=f.getBoundingClientRect(),E=ut(f),w=v.left+(f.clientLeft+parseFloat(E.paddingLeft))*b.x,x=v.top+(f.clientTop+parseFloat(E.paddingTop))*b.y;l*=b.x,u*=b.y,d*=b.x,p*=b.y,l+=w,u+=x,h=Ue(f),f=h.frameElement}}return zr({width:d,height:p,x:l,y:u})}function xm(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const a=o==="fixed",i=Dt(r),s=t?co(t.floating):!1;if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=It(1);const d=It(0),p=Ct(r);if((p||!p&&!a)&&((On(r)!=="body"||or(i))&&(l=uo(r)),Ct(r))){const m=en(r);u=hn(r),d.x=m.x+r.clientLeft,d.y=m.y+r.clientTop}return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x,y:n.y*u.y-l.scrollTop*u.y+d.y}}function wm(e){return Array.from(e.getClientRects())}function Ml(e){return en(Dt(e)).left+uo(e).scrollLeft}function Sm(e){const t=Dt(e),n=uo(e),r=e.ownerDocument.body,o=Yt(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=Yt(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+Ml(e);const s=-n.scrollTop;return ut(r).direction==="rtl"&&(i+=Yt(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}function Cm(e,t){const n=Ue(e),r=Dt(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const u=ba();(!u||u&&t==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}return{width:a,height:i,x:s,y:l}}function km(e,t){const n=en(e,!0,t==="fixed"),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=Ct(e)?hn(e):It(1),i=e.clientWidth*a.x,s=e.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function bi(e,t,n){let r;if(t==="viewport")r=Cm(e,n);else if(t==="document")r=Sm(Dt(e));else if(ct(t))r=km(t,n);else{const o=Pl(e);r={...t,x:t.x-o.x,y:t.y-o.y}}return zr(r)}function _l(e,t){const n=Ft(e);return n===t||!ct(n)||kn(n)?!1:ut(n).position==="fixed"||_l(n,t)}function Em(e,t){const n=t.get(e);if(n)return n;let r=Xn(e,[],!1).filter(s=>ct(s)&&On(s)!=="body"),o=null;const a=ut(e).position==="fixed";let i=a?Ft(e):e;for(;ct(i)&&!kn(i);){const s=ut(i),l=va(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&["absolute","fixed"].includes(o.position)||or(i)&&!l&&_l(e,i))?r=r.filter(d=>d!==i):o=s,i=Ft(i)}return t.set(e,r),r}function Tm(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[...n==="clippingAncestors"?co(t)?[]:Em(t,this._c):[].concat(n),r],s=i[0],l=i.reduce((u,d)=>{const p=bi(t,d,o);return u.top=Yt(p.top,u.top),u.right=Sn(p.right,u.right),u.bottom=Sn(p.bottom,u.bottom),u.left=Yt(p.left,u.left),u},bi(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function Am(e){const{width:t,height:n}=Dl(e);return{width:t,height:n}}function Om(e,t,n){const r=Ct(t),o=Dt(t),a=n==="fixed",i=en(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=It(0);if(r||!r&&!a)if((On(t)!=="body"||or(o))&&(s=uo(t)),r){const p=en(t,!0,a,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else o&&(l.x=Ml(o));const u=i.left+s.scrollLeft-l.x,d=i.top+s.scrollTop-l.y;return{x:u,y:d,width:i.width,height:i.height}}function xo(e){return ut(e).position==="static"}function xi(e,t){return!Ct(e)||ut(e).position==="fixed"?null:t?t(e):e.offsetParent}function jl(e,t){const n=Ue(e);if(co(e))return n;if(!Ct(e)){let o=Ft(e);for(;o&&!kn(o);){if(ct(o)&&!xo(o))return o;o=Ft(o)}return n}let r=xi(e,t);for(;r&&gm(r)&&xo(r);)r=xi(r,t);return r&&kn(r)&&xo(r)&&!va(r)?n:r||ym(e)||n}const Rm=async function(e){const t=this.getOffsetParent||jl,n=this.getDimensions,r=await n(e.floating);return{reference:Om(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Lm(e){return ut(e).direction==="rtl"}const $m={convertOffsetParentRelativeRectToViewportRelativeRect:xm,getDocumentElement:Dt,getClippingRect:Tm,getOffsetParent:jl,getElementRects:Rm,getClientRects:wm,getDimensions:Am,getScale:hn,isElement:ct,isRTL:Lm};function Dm(e,t){let n=null,r;const o=Dt(e);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const{left:u,top:d,width:p,height:m}=e.getBoundingClientRect();if(s||t(),!p||!m)return;const g=hr(d),h=hr(o.clientWidth-(u+p)),f=hr(o.clientHeight-(d+m)),b=hr(u),E={rootMargin:-g+"px "+-h+"px "+-f+"px "+-b+"px",threshold:Yt(0,Sn(1,l))||1};let w=!0;function x(k){const O=k[0].intersectionRatio;if(O!==l){if(!w)return i();O?i(!1,O):r=setTimeout(()=>{i(!1,1e-7)},1e3)}w=!1}try{n=new IntersectionObserver(x,{...E,root:o.ownerDocument})}catch{n=new IntersectionObserver(x,E)}n.observe(e)}return i(!0),a}function Pm(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=xa(e),d=o||a?[...u?Xn(u):[],...Xn(t)]:[];d.forEach(v=>{o&&v.addEventListener("scroll",n,{passive:!0}),a&&v.addEventListener("resize",n)});const p=u&&s?Dm(u,n):null;let m=-1,g=null;i&&(g=new ResizeObserver(v=>{let[E]=v;E&&E.target===u&&g&&(g.unobserve(t),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),u&&!l&&g.observe(u),g.observe(t));let h,f=l?en(e):null;l&&b();function b(){const v=en(e);f&&(v.x!==f.x||v.y!==f.y||v.width!==f.width||v.height!==f.height)&&n(),f=v,h=requestAnimationFrame(b)}return n(),()=>{var v;d.forEach(E=>{o&&E.removeEventListener("scroll",n),a&&E.removeEventListener("resize",n)}),p==null||p(),(v=g)==null||v.disconnect(),g=null,l&&cancelAnimationFrame(h)}}const Mm=mm,_m=hm,jm=fm,Nm=dm,wi=(e,t,n)=>{const r=new Map,o={platform:$m,...n},a={...o.platform,_c:r};return um(e,t,{...o,platform:a})};var wo={exports:{}};/*! + Copyright (c) 2018 Jed Watson. + Licensed under the MIT License (MIT), see + http://jedwatson.github.io/classnames +*/var Si;function Bm(){return Si||(Si=1,function(e){(function(){var t={}.hasOwnProperty;function n(){for(var a="",i=0;i"u"||ki[n]||n==="core"&&typeof process<"u"&&(!((o=process==null?void 0:Ci)===null||o===void 0)&&o.REACT_TOOLTIP_DISABLE_CORE_STYLES)||n!=="base"&&typeof process<"u"&&(!((a=process==null?void 0:Ci)===null||a===void 0)&&a.REACT_TOOLTIP_DISABLE_BASE_STYLES))return;n==="core"&&(t=Fm),r||(r={});const{insertAt:i}=r;if(document.getElementById(t))return;const s=document.head||document.getElementsByTagName("head")[0],l=document.createElement("style");l.id=t,l.type="text/css",i==="top"&&s.firstChild?s.insertBefore(l,s.firstChild):s.appendChild(l),l.styleSheet?l.styleSheet.cssText=e:l.appendChild(document.createTextNode(e)),ki[n]=!0}const Ti=async({elementReference:e=null,tooltipReference:t=null,tooltipArrowReference:n=null,place:r="top",offset:o=10,strategy:a="absolute",middlewares:i=[Mm(Number(o)),jm({fallbackAxisSideDirection:"start"}),_m({padding:5})],border:s})=>{if(!e)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};if(t===null)return{tooltipStyles:{},tooltipArrowStyles:{},place:r};const l=i;return n?(l.push(Nm({element:n,padding:5})),wi(e,t,{placement:r,strategy:a,middleware:l}).then(({x:u,y:d,placement:p,middlewareData:m})=>{var g,h;const f={left:`${u}px`,top:`${d}px`,border:s},{x:b,y:v}=(g=m.arrow)!==null&&g!==void 0?g:{x:0,y:0},E=(h={top:"bottom",right:"left",bottom:"top",left:"right"}[p.split("-")[0]])!==null&&h!==void 0?h:"bottom",w=s&&{borderBottom:s,borderRight:s};let x=0;if(s){const k=`${s}`.match(/(\d+)px/);x=k!=null&&k[1]?Number(k[1]):1}return{tooltipStyles:f,tooltipArrowStyles:{left:b!=null?`${b}px`:"",top:v!=null?`${v}px`:"",right:"",bottom:"",...w,[E]:`-${4+x}px`},place:p}})):wi(e,t,{placement:"bottom",strategy:a,middleware:l}).then(({x:u,y:d,placement:p})=>({tooltipStyles:{left:`${u}px`,top:`${d}px`},tooltipArrowStyles:{},place:p}))},Ai=(e,t)=>!("CSS"in window&&"supports"in window.CSS)||window.CSS.supports(e,t),Oi=(e,t,n)=>{let r=null;const o=function(...a){const i=()=>{r=null};!r&&(e.apply(this,a),r=setTimeout(i,t))};return o.cancel=()=>{r&&(clearTimeout(r),r=null)},o},Ri=e=>e!==null&&!Array.isArray(e)&&typeof e=="object",Uo=(e,t)=>{if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t))return e.length===t.length&&e.every((o,a)=>Uo(o,t[a]));if(Array.isArray(e)!==Array.isArray(t))return!1;if(!Ri(e)||!Ri(t))return e===t;const n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(o=>Uo(e[o],t[o]))},Hm=e=>{if(!(e instanceof HTMLElement||e instanceof SVGElement))return!1;const t=getComputedStyle(e);return["overflow","overflow-x","overflow-y"].some(n=>{const r=t.getPropertyValue(n);return r==="auto"||r==="scroll"})},Li=e=>{if(!e)return null;let t=e.parentElement;for(;t;){if(Hm(t))return t;t=t.parentElement}return document.scrollingElement||document.documentElement},Vm=typeof window<"u"?y.useLayoutEffect:y.useEffect,Je=e=>{e.current&&(clearTimeout(e.current),e.current=null)},zm="DEFAULT_TOOLTIP_ID",Um={anchorRefs:new Set,activeAnchor:{current:null},attach:()=>{},detach:()=>{},setActiveAnchor:()=>{}},qm=y.createContext({getTooltipData:()=>Um});function Nl(e=zm){return y.useContext(qm).getTooltipData(e)}var dn={tooltip:"core-styles-module_tooltip__3vRRp",fixed:"core-styles-module_fixed__pcSol",arrow:"core-styles-module_arrow__cvMwQ",noArrow:"core-styles-module_noArrow__xock6",clickable:"core-styles-module_clickable__ZuTTB",show:"core-styles-module_show__Nt9eE",closing:"core-styles-module_closing__sGnxF"},So={tooltip:"styles-module_tooltip__mnnfp",arrow:"styles-module_arrow__K0L3T",dark:"styles-module_dark__xNqje",light:"styles-module_light__Z6W-X",success:"styles-module_success__A2AKt",warning:"styles-module_warning__SCK0X",error:"styles-module_error__JvumD",info:"styles-module_info__BWdHW"};const Gm=({forwardRef:e,id:t,className:n,classNameArrow:r,variant:o="dark",anchorId:a,anchorSelect:i,place:s="top",offset:l=10,events:u=["hover"],openOnClick:d=!1,positionStrategy:p="absolute",middlewares:m,wrapper:g,delayShow:h=0,delayHide:f=0,float:b=!1,hidden:v=!1,noArrow:E=!1,clickable:w=!1,closeOnEsc:x=!1,closeOnScroll:k=!1,closeOnResize:O=!1,openEvents:T,closeEvents:N,globalCloseEvents:M,imperativeModeOnly:c,style:A,position:L,afterShow:D,afterHide:j,disableTooltip:P,content:B,contentWrapperRef:_,isOpen:H,defaultIsOpen:z=!1,setIsOpen:Y,activeAnchor:Q,setActiveAnchor:xe,border:Be,opacity:we,arrowColor:de,role:Oe="tooltip"})=>{var K;const F=y.useRef(null),X=y.useRef(null),fe=y.useRef(null),pe=y.useRef(null),me=y.useRef(null),[Re,ot]=y.useState({tooltipStyles:{},tooltipArrowStyles:{},place:s}),[he,dt]=y.useState(!1),[Le,Pe]=y.useState(!1),[J,ke]=y.useState(null),Ie=y.useRef(!1),at=y.useRef(null),{anchorRefs:it,setActiveAnchor:ft}=Nl(t),st=y.useRef(!1),[Fe,Ge]=y.useState([]),Ye=y.useRef(!1),Ke=d||u.includes("click"),kt=Ke||(T==null?void 0:T.click)||(T==null?void 0:T.dblclick)||(T==null?void 0:T.mousedown),Se=T?{...T}:{mouseover:!0,focus:!0,mouseenter:!1,click:!1,dblclick:!1,mousedown:!1};!T&&Ke&&Object.assign(Se,{mouseenter:!1,focus:!1,mouseover:!1,click:!0});const lt=N?{...N}:{mouseout:!0,blur:!0,mouseleave:!1,click:!1,dblclick:!1,mouseup:!1};!N&&Ke&&Object.assign(lt,{mouseleave:!1,blur:!1,mouseout:!1});const ve=M?{...M}:{escape:x||!1,scroll:k||!1,resize:O||!1,clickOutsideAnchor:kt||!1};c&&(Object.assign(Se,{mouseenter:!1,focus:!1,click:!1,dblclick:!1,mousedown:!1}),Object.assign(lt,{mouseleave:!1,blur:!1,click:!1,dblclick:!1,mouseup:!1}),Object.assign(ve,{escape:!1,scroll:!1,resize:!1,clickOutsideAnchor:!1})),Vm(()=>(Ye.current=!0,()=>{Ye.current=!1}),[]);const U=$=>{Ye.current&&($&&Pe(!0),setTimeout(()=>{Ye.current&&(Y==null||Y($),H===void 0&&dt($))},10))};y.useEffect(()=>{if(H===void 0)return()=>null;H&&Pe(!0);const $=setTimeout(()=>{dt(H)},10);return()=>{clearTimeout($)}},[H]),y.useEffect(()=>{if(he!==Ie.current)if(Je(me),Ie.current=he,he)D==null||D();else{const $=(W=>{const V=W.match(/^([\d.]+)(ms|s)$/);if(!V)return 0;const[,be,Ee]=V;return Number(be)*(Ee==="ms"?1:1e3)})(getComputedStyle(document.body).getPropertyValue("--rt-transition-show-delay"));me.current=setTimeout(()=>{Pe(!1),ke(null),j==null||j()},$+25)}},[he]);const nn=$=>{ot(W=>Uo(W,$)?W:$)},Et=($=h)=>{Je(fe),Le?U(!0):fe.current=setTimeout(()=>{U(!0)},$)},Pt=($=f)=>{Je(pe),pe.current=setTimeout(()=>{st.current||U(!1)},$)},pt=$=>{var W;if(!$)return;const V=(W=$.currentTarget)!==null&&W!==void 0?W:$.target;if(!(V!=null&&V.isConnected))return xe(null),void ft({current:null});h?Et():U(!0),xe(V),ft({current:V}),Je(pe)},Mt=()=>{w?Pt(f||100):f?Pt():U(!1),Je(fe)},_t=({x:$,y:W})=>{var V;const be={getBoundingClientRect:()=>({x:$,y:W,width:0,height:0,top:W,left:$,right:$,bottom:W})};Ti({place:(V=J==null?void 0:J.place)!==null&&V!==void 0?V:s,offset:l,elementReference:be,tooltipReference:F.current,tooltipArrowReference:X.current,strategy:p,middlewares:m,border:Be}).then(Ee=>{nn(Ee)})},jt=$=>{if(!$)return;const W=$,V={x:W.clientX,y:W.clientY};_t(V),at.current=V},Ht=$=>{var W;if(!he)return;const V=$.target;V.isConnected&&(!((W=F.current)===null||W===void 0)&&W.contains(V)||[document.querySelector(`[id='${a}']`),...Fe].some(be=>be==null?void 0:be.contains(V))||(U(!1),Je(fe)))},rn=Oi(pt,50),ge=Oi(Mt,50),Me=$=>{ge.cancel(),rn($)},I=()=>{rn.cancel(),ge()},R=y.useCallback(()=>{var $,W;const V=($=J==null?void 0:J.position)!==null&&$!==void 0?$:L;V?_t(V):b?at.current&&_t(at.current):Q!=null&&Q.isConnected&&Ti({place:(W=J==null?void 0:J.place)!==null&&W!==void 0?W:s,offset:l,elementReference:Q,tooltipReference:F.current,tooltipArrowReference:X.current,strategy:p,middlewares:m,border:Be}).then(be=>{Ye.current&&nn(be)})},[he,Q,B,A,s,J==null?void 0:J.place,l,p,L,J==null?void 0:J.position,b]);y.useEffect(()=>{var $,W;const V=new Set(it);Fe.forEach(ee=>{P!=null&&P(ee)||V.add({current:ee})});const be=document.querySelector(`[id='${a}']`);be&&!(P!=null&&P(be))&&V.add({current:be});const Ee=()=>{U(!1)},ht=Li(Q),gt=Li(F.current);ve.scroll&&(window.addEventListener("scroll",Ee),ht==null||ht.addEventListener("scroll",Ee),gt==null||gt.addEventListener("scroll",Ee));let $e=null;ve.resize?window.addEventListener("resize",Ee):Q&&F.current&&($e=Pm(Q,F.current,R,{ancestorResize:!0,elementResize:!0,layoutShift:!0}));const Xe=ee=>{ee.key==="Escape"&&U(!1)};ve.escape&&window.addEventListener("keydown",Xe),ve.clickOutsideAnchor&&window.addEventListener("click",Ht);const oe=[],Rn=ee=>{he&&(ee==null?void 0:ee.target)===Q||pt(ee)},Yl=ee=>{he&&(ee==null?void 0:ee.target)===Q&&Mt()},Ca=["mouseover","mouseout","mouseenter","mouseleave","focus","blur"],ka=["click","dblclick","mousedown","mouseup"];Object.entries(Se).forEach(([ee,Tt])=>{Tt&&(Ca.includes(ee)?oe.push({event:ee,listener:Me}):ka.includes(ee)&&oe.push({event:ee,listener:Rn}))}),Object.entries(lt).forEach(([ee,Tt])=>{Tt&&(Ca.includes(ee)?oe.push({event:ee,listener:I}):ka.includes(ee)&&oe.push({event:ee,listener:Yl}))}),b&&oe.push({event:"pointermove",listener:jt});const Ea=()=>{st.current=!0},Ta=()=>{st.current=!1,Mt()};return w&&!kt&&(($=F.current)===null||$===void 0||$.addEventListener("mouseenter",Ea),(W=F.current)===null||W===void 0||W.addEventListener("mouseleave",Ta)),oe.forEach(({event:ee,listener:Tt})=>{V.forEach(fo=>{var Ln;(Ln=fo.current)===null||Ln===void 0||Ln.addEventListener(ee,Tt)})}),()=>{var ee,Tt;ve.scroll&&(window.removeEventListener("scroll",Ee),ht==null||ht.removeEventListener("scroll",Ee),gt==null||gt.removeEventListener("scroll",Ee)),ve.resize?window.removeEventListener("resize",Ee):$e==null||$e(),ve.clickOutsideAnchor&&window.removeEventListener("click",Ht),ve.escape&&window.removeEventListener("keydown",Xe),w&&!kt&&((ee=F.current)===null||ee===void 0||ee.removeEventListener("mouseenter",Ea),(Tt=F.current)===null||Tt===void 0||Tt.removeEventListener("mouseleave",Ta)),oe.forEach(({event:fo,listener:Ln})=>{V.forEach(Kl=>{var po;(po=Kl.current)===null||po===void 0||po.removeEventListener(fo,Ln)})})}},[Q,R,Le,it,Fe,T,N,M,Ke,h,f]),y.useEffect(()=>{var $,W;let V=(W=($=J==null?void 0:J.anchorSelect)!==null&&$!==void 0?$:i)!==null&&W!==void 0?W:"";!V&&t&&(V=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`);const be=new MutationObserver(Ee=>{const ht=[],gt=[];Ee.forEach($e=>{if($e.type==="attributes"&&$e.attributeName==="data-tooltip-id"&&($e.target.getAttribute("data-tooltip-id")===t?ht.push($e.target):$e.oldValue===t&>.push($e.target)),$e.type==="childList"){if(Q){const Xe=[...$e.removedNodes].filter(oe=>oe.nodeType===1);if(V)try{gt.push(...Xe.filter(oe=>oe.matches(V))),gt.push(...Xe.flatMap(oe=>[...oe.querySelectorAll(V)]))}catch{}Xe.some(oe=>{var Rn;return!!(!((Rn=oe==null?void 0:oe.contains)===null||Rn===void 0)&&Rn.call(oe,Q))&&(Pe(!1),U(!1),xe(null),Je(fe),Je(pe),!0)})}if(V)try{const Xe=[...$e.addedNodes].filter(oe=>oe.nodeType===1);ht.push(...Xe.filter(oe=>oe.matches(V))),ht.push(...Xe.flatMap(oe=>[...oe.querySelectorAll(V)]))}catch{}}}),(ht.length||gt.length)&&Ge($e=>[...$e.filter(Xe=>!gt.includes(Xe)),...ht])});return be.observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["data-tooltip-id"],attributeOldValue:!0}),()=>{be.disconnect()}},[t,i,J==null?void 0:J.anchorSelect,Q]),y.useEffect(()=>{R()},[R]),y.useEffect(()=>{if(!(_!=null&&_.current))return()=>null;const $=new ResizeObserver(()=>{setTimeout(()=>R())});return $.observe(_.current),()=>{$.disconnect()}},[B,_==null?void 0:_.current]),y.useEffect(()=>{var $;const W=document.querySelector(`[id='${a}']`),V=[...Fe,W];Q&&V.includes(Q)||xe(($=Fe[0])!==null&&$!==void 0?$:W)},[a,Fe,Q]),y.useEffect(()=>(z&&U(!0),()=>{Je(fe),Je(pe)}),[]),y.useEffect(()=>{var $;let W=($=J==null?void 0:J.anchorSelect)!==null&&$!==void 0?$:i;if(!W&&t&&(W=`[data-tooltip-id='${t.replace(/'/g,"\\'")}']`),W)try{const V=Array.from(document.querySelectorAll(W));Ge(V)}catch{Ge([])}},[t,i,J==null?void 0:J.anchorSelect]),y.useEffect(()=>{fe.current&&(Je(fe),Et(h))},[h]);const re=(K=J==null?void 0:J.content)!==null&&K!==void 0?K:B,mt=he&&Object.keys(Re.tooltipStyles).length>0;return y.useImperativeHandle(e,()=>({open:$=>{if($!=null&&$.anchorSelect)try{document.querySelector($.anchorSelect)}catch{return void console.warn(`[react-tooltip] "${$.anchorSelect}" is not a valid CSS selector`)}ke($??null),$!=null&&$.delay?Et($.delay):U(!0)},close:$=>{$!=null&&$.delay?Pt($.delay):U(!1)},activeAnchor:Q,place:Re.place,isOpen:!!(Le&&!v&&re&&mt)})),Le&&!v&&re?He.createElement(g,{id:t,role:Oe,className:zo("react-tooltip",dn.tooltip,So.tooltip,So[o],n,`react-tooltip__place-${Re.place}`,dn[mt?"show":"closing"],mt?"react-tooltip__show":"react-tooltip__closing",p==="fixed"&&dn.fixed,w&&dn.clickable),onTransitionEnd:$=>{Je(me),he||$.propertyName!=="opacity"||(Pe(!1),ke(null),j==null||j())},style:{...A,...Re.tooltipStyles,opacity:we!==void 0&&mt?we:void 0},ref:F},re,He.createElement(g,{className:zo("react-tooltip-arrow",dn.arrow,So.arrow,r,E&&dn.noArrow),style:{...Re.tooltipArrowStyles,background:de?`linear-gradient(to right bottom, transparent 50%, ${de} 50%)`:void 0},ref:X})):null},Ym=({content:e})=>He.createElement("span",{dangerouslySetInnerHTML:{__html:e}}),Km=He.forwardRef(({id:e,anchorId:t,anchorSelect:n,content:r,html:o,render:a,className:i,classNameArrow:s,variant:l="dark",place:u="top",offset:d=10,wrapper:p="div",children:m=null,events:g=["hover"],openOnClick:h=!1,positionStrategy:f="absolute",middlewares:b,delayShow:v=0,delayHide:E=0,float:w=!1,hidden:x=!1,noArrow:k=!1,clickable:O=!1,closeOnEsc:T=!1,closeOnScroll:N=!1,closeOnResize:M=!1,openEvents:c,closeEvents:A,globalCloseEvents:L,imperativeModeOnly:D=!1,style:j,position:P,isOpen:B,defaultIsOpen:_=!1,disableStyleInjection:H=!1,border:z,opacity:Y,arrowColor:Q,setIsOpen:xe,afterShow:Be,afterHide:we,disableTooltip:de,role:Oe="tooltip"},K)=>{const[F,X]=y.useState(r),[fe,pe]=y.useState(o),[me,Re]=y.useState(u),[ot,he]=y.useState(l),[dt,Le]=y.useState(d),[Pe,J]=y.useState(v),[ke,Ie]=y.useState(E),[at,it]=y.useState(w),[ft,st]=y.useState(x),[Fe,Ge]=y.useState(p),[Ye,Ke]=y.useState(g),[kt,Se]=y.useState(f),[lt,ve]=y.useState(null),[U,nn]=y.useState(null),Et=y.useRef(H),{anchorRefs:Pt,activeAnchor:pt}=Nl(e),Mt=ge=>ge==null?void 0:ge.getAttributeNames().reduce((Me,I)=>{var R;return I.startsWith("data-tooltip-")&&(Me[I.replace(/^data-tooltip-/,"")]=(R=ge==null?void 0:ge.getAttribute(I))!==null&&R!==void 0?R:null),Me},{}),_t=ge=>{const Me={place:I=>{var R;Re((R=I)!==null&&R!==void 0?R:u)},content:I=>{X(I??r)},html:I=>{pe(I??o)},variant:I=>{var R;he((R=I)!==null&&R!==void 0?R:l)},offset:I=>{Le(I===null?d:Number(I))},wrapper:I=>{var R;Ge((R=I)!==null&&R!==void 0?R:p)},events:I=>{const R=I==null?void 0:I.split(" ");Ke(R??g)},"position-strategy":I=>{var R;Se((R=I)!==null&&R!==void 0?R:f)},"delay-show":I=>{J(I===null?v:Number(I))},"delay-hide":I=>{Ie(I===null?E:Number(I))},float:I=>{it(I===null?w:I==="true")},hidden:I=>{st(I===null?x:I==="true")},"class-name":I=>{ve(I)}};Object.values(Me).forEach(I=>I(null)),Object.entries(ge).forEach(([I,R])=>{var re;(re=Me[I])===null||re===void 0||re.call(Me,R)})};y.useEffect(()=>{X(r)},[r]),y.useEffect(()=>{pe(o)},[o]),y.useEffect(()=>{Re(u)},[u]),y.useEffect(()=>{he(l)},[l]),y.useEffect(()=>{Le(d)},[d]),y.useEffect(()=>{J(v)},[v]),y.useEffect(()=>{Ie(E)},[E]),y.useEffect(()=>{it(w)},[w]),y.useEffect(()=>{st(x)},[x]),y.useEffect(()=>{Se(f)},[f]),y.useEffect(()=>{Et.current!==H&&console.warn("[react-tooltip] Do not change `disableStyleInjection` dynamically.")},[H]),y.useEffect(()=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("react-tooltip-inject-styles",{detail:{disableCore:H==="core",disableBase:H}}))},[]),y.useEffect(()=>{var ge;const Me=new Set(Pt);let I=n;if(!I&&e&&(I=`[data-tooltip-id='${e.replace(/'/g,"\\'")}']`),I)try{document.querySelectorAll(I).forEach(W=>{Me.add({current:W})})}catch{console.warn(`[react-tooltip] "${I}" is not a valid CSS selector`)}const R=document.querySelector(`[id='${t}']`);if(R&&Me.add({current:R}),!Me.size)return()=>null;const re=(ge=U??R)!==null&&ge!==void 0?ge:pt.current,mt=new MutationObserver(W=>{W.forEach(V=>{var be;if(!re||V.type!=="attributes"||!(!((be=V.attributeName)===null||be===void 0)&&be.startsWith("data-tooltip-")))return;const Ee=Mt(re);_t(Ee)})}),$={attributes:!0,childList:!1,subtree:!1};if(re){const W=Mt(re);_t(W),mt.observe(re,$)}return()=>{mt.disconnect()}},[Pt,pt,U,t,n]),y.useEffect(()=>{j!=null&&j.border&&console.warn("[react-tooltip] Do not set `style.border`. Use `border` prop instead."),z&&!Ai("border",`${z}`)&&console.warn(`[react-tooltip] "${z}" is not a valid \`border\`.`),j!=null&&j.opacity&&console.warn("[react-tooltip] Do not set `style.opacity`. Use `opacity` prop instead."),Y&&!Ai("opacity",`${Y}`)&&console.warn(`[react-tooltip] "${Y}" is not a valid \`opacity\`.`)},[]);let jt=m;const Ht=y.useRef(null);if(a){const ge=a({content:(U==null?void 0:U.getAttribute("data-tooltip-content"))||F||null,activeAnchor:U});jt=ge?He.createElement("div",{ref:Ht,className:"react-tooltip-content-wrapper"},ge):null}else F&&(jt=F);fe&&(jt=He.createElement(Ym,{content:fe}));const rn={forwardRef:K,id:e,anchorId:t,anchorSelect:n,className:zo(i,lt),classNameArrow:s,content:jt,contentWrapperRef:Ht,place:me,variant:ot,offset:dt,wrapper:Fe,events:Ye,openOnClick:h,positionStrategy:kt,middlewares:b,delayShow:Pe,delayHide:ke,float:at,hidden:ft,noArrow:k,clickable:O,closeOnEsc:T,closeOnScroll:N,closeOnResize:M,openEvents:c,closeEvents:A,globalCloseEvents:L,imperativeModeOnly:D,style:j,position:P,isOpen:B,defaultIsOpen:_,border:z,opacity:Y,arrowColor:Q,setIsOpen:xe,afterShow:Be,afterHide:we,disableTooltip:de,activeAnchor:U,setActiveAnchor:ge=>nn(ge),role:Oe};return He.createElement(Gm,{...rn})});typeof window<"u"&&window.addEventListener("react-tooltip-inject-styles",e=>{e.detail.disableCore||Ei({css:":root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:0.9;--rt-transition-show-delay:0.15s;--rt-transition-closing-delay:0.15s}.core-styles-module_tooltip__3vRRp{position:absolute;top:0;left:0;pointer-events:none;opacity:0;will-change:opacity}.core-styles-module_fixed__pcSol{position:fixed}.core-styles-module_arrow__cvMwQ{position:absolute;background:inherit}.core-styles-module_noArrow__xock6{display:none}.core-styles-module_clickable__ZuTTB{pointer-events:auto}.core-styles-module_show__Nt9eE{opacity:var(--rt-opacity);transition:opacity var(--rt-transition-show-delay)ease-out}.core-styles-module_closing__sGnxF{opacity:0;transition:opacity var(--rt-transition-closing-delay)ease-in}",type:"core"}),e.detail.disableBase||Ei({css:` +.styles-module_tooltip__mnnfp{padding:8px 16px;border-radius:3px;font-size:90%;width:max-content}.styles-module_arrow__K0L3T{width:8px;height:8px}[class*='react-tooltip__place-top']>.styles-module_arrow__K0L3T{transform:rotate(45deg)}[class*='react-tooltip__place-right']>.styles-module_arrow__K0L3T{transform:rotate(135deg)}[class*='react-tooltip__place-bottom']>.styles-module_arrow__K0L3T{transform:rotate(225deg)}[class*='react-tooltip__place-left']>.styles-module_arrow__K0L3T{transform:rotate(315deg)}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}`,type:"base"})});const tn=({children:e})=>C.jsx("div",{style:{margin:"1rem 0 2rem"},children:e});tn.__docgenInfo={description:"",methods:[],displayName:"Container",props:{children:{required:!0,tsType:{name:"ReactNode"},description:""}}};const Xm=` + +`,Jm=` +type EventHandler = (event: React.SyntheticEvent) => (activity: Activity) => void; + +interface Activity { + date: string; + count: number; + level: 0 | 1 | 2 | 3 | 4; +} +`,$i=` + (activity) => { + alert(JSON.stringify(activity)); + }, + onMouseEnter: (event) => (activity) => { + console.log('on mouse enter'); + }, + }} +/> +`,Qm=`// Shape of \`labels\` property (default values). +// All properties are optional. +const labels = { + months: [ + 'Jan', + 'Feb', + 'Mar', + 'Apr', + 'May', + 'Jun', + 'Jul', + 'Aug', + 'Sep', + 'Oct', + 'Nov', + 'Dec', + ], + weekdays: [ + 'Sun', // Sunday first! + 'Mon', + 'Tue', + 'Wed', + 'Thu', + 'Fri', + 'Sat', + ], + totalCount: '{{count}} activities in {{year}}', + legend: { + less: 'Less', + more: 'More', + }, +}; +`,Zm=` + +`,eh=` +import { useRef } from "react"; + +const calendarRef = useRef(null); + +if (calendar.current) { + console.log(calendarRef.current); +} + + +`,th=` + +`,Di=` +const explicitTheme: ThemeInput = { + light: ['#f0f0f0', '#c4edde', '#7ac7c4', '#f73859', '#384259'], + dark: ['#383838', '#4D455D', '#7DB9B6', '#F5E9CF', '#E96479'], +}; + + + +const minimalTheme: ThemeInput = { + light: ['hsl(0, 0%, 92%)', 'rebeccapurple'], + // for \`dark\` the default theme will be used +}; + + +`,nh=` +import { Tooltip as MuiTooltip } from '@mui/material'; + + ( + + {block} + + )} + renderColorLegend={(block, level) => ( + {block} + )} +/> +`,Pi=` +import { Tooltip as ReactTooltip } from 'react-tooltip'; +import 'react-tooltip/dist/react-tooltip.css'; + +<> + + React.cloneElement(block, { + 'data-tooltip-id': 'react-tooltip', + 'data-tooltip-html': \`\${activity.count} activities on \${activity.date}\` + }) + } + /> + + +`,rh=864e5,Bl=6e4,Il=36e5,Mi=Symbol.for("constructDateFrom");function ar(e,t){return typeof e=="function"?e(t):e&&typeof e=="object"&&Mi in e?e[Mi](t):e instanceof Date?new e.constructor(t):new Date(t)}function nt(e,t){return ar(t||e,e)}function Fl(e,t,n){const r=nt(e,n==null?void 0:n.in);return isNaN(t)?ar(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function _i(e){const t=nt(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function Wl(e,...t){const n=ar.bind(null,t.find(r=>typeof r=="object"));return t.map(n)}function ji(e,t){const n=nt(e,t==null?void 0:t.in);return n.setHours(0,0,0,0),n}function oh(e,t,n){const[r,o]=Wl(n==null?void 0:n.in,e,t),a=ji(r),i=ji(o),s=+a-_i(a),l=+i-_i(i);return Math.round((s-l)/rh)}function ah(e,t,n){return Fl(e,t*7,n)}function ih(e){return e instanceof Date||typeof e=="object"&&Object.prototype.toString.call(e)==="[object Date]"}function sh(e){return!(!ih(e)&&typeof e!="number"||isNaN(+nt(e)))}function lh(e,t){const[n,r]=Wl(e,t.start,t.end);return{start:n,end:r}}function wa(e,t){const{start:n,end:r}=lh(t==null?void 0:t.in,e);let o=+n>+r;const a=o?+n:+r,i=o?r:n;i.setHours(0,0,0,0);let s=1;const l=[];for(;+i<=a;)l.push(ar(n,i)),i.setDate(i.getDate()+s),i.setHours(0,0,0,0);return o?l.reverse():l}function ch(e,t){const n=nt(e,t==null?void 0:t.in),r=n.getFullYear();return n.setFullYear(r+1,0,0),n.setHours(23,59,59,999),n}function uh(e,t){const n=nt(e,t==null?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Nt(e,t){const n=e<0?"-":"",r=Math.abs(e).toString().padStart(t,"0");return n+r}function Sa(e,t){const n=nt(e,t==null?void 0:t.in);if(isNaN(+n))throw new RangeError("Invalid time value");const r=(t==null?void 0:t.format)??"extended",o=(t==null?void 0:t.representation)??"complete";let a="",i="";const s=r==="extended"?"-":"",l=r==="extended"?":":"";if(o!=="time"){const u=Nt(n.getDate(),2),d=Nt(n.getMonth()+1,2);a=`${Nt(n.getFullYear(),4)}${s}${d}${s}${u}`}if(o!=="date"){const u=n.getTimezoneOffset();if(u!==0){const f=Math.abs(u),b=Nt(Math.trunc(f/60),2),v=Nt(f%60,2);i=`${u<0?"+":"-"}${b}:${v}`}else i="Z";const d=Nt(n.getHours(),2),p=Nt(n.getMinutes(),2),m=Nt(n.getSeconds(),2),g=a===""?"":"T",h=[d,p,m].join(l);a=`${a}${g}${h}${i}`}return a}function Hl(e,t){return nt(e,t==null?void 0:t.in).getDay()}function dh(e,t){return nt(e,t==null?void 0:t.in).getMonth()}function fh(e,t){return nt(e,t==null?void 0:t.in).getFullYear()}function ph(e,t,n){let r=t-Hl(e,n);return r<=0&&(r+=7),Fl(e,r,n)}function En(e,t){const n=()=>ar(t==null?void 0:t.in,NaN),o=yh(e);let a;if(o.date){const u=vh(o.date,2);a=bh(u.restDateString,u.year)}if(!a||isNaN(+a))return n();const i=+a;let s=0,l;if(o.time&&(s=xh(o.time),isNaN(s)))return n();if(o.timezone){if(l=wh(o.timezone),isNaN(l))return n()}else{const u=new Date(i+s),d=nt(0,t==null?void 0:t.in);return d.setFullYear(u.getUTCFullYear(),u.getUTCMonth(),u.getUTCDate()),d.setHours(u.getUTCHours(),u.getUTCMinutes(),u.getUTCSeconds(),u.getUTCMilliseconds()),d}return nt(i+s+l,t==null?void 0:t.in)}const gr={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},mh=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,hh=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,gh=/^([+-])(\d{2})(?::?(\d{2}))?$/;function yh(e){const t={},n=e.split(gr.dateTimeDelimiter);let r;if(n.length>2)return t;if(/:/.test(n[0])?r=n[0]:(t.date=n[0],r=n[1],gr.timeZoneDelimiter.test(t.date)&&(t.date=e.split(gr.timeZoneDelimiter)[0],r=e.substr(t.date.length,e.length))),r){const o=gr.timezone.exec(r);o?(t.time=r.replace(o[1],""),t.timezone=o[1]):t.time=r}return t}function vh(e,t){const n=new RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};const o=r[1]?parseInt(r[1]):null,a=r[2]?parseInt(r[2]):null;return{year:a===null?o:a*100,restDateString:e.slice((r[1]||r[2]).length)}}function bh(e,t){if(t===null)return new Date(NaN);const n=e.match(mh);if(!n)return new Date(NaN);const r=!!n[4],o=_n(n[1]),a=_n(n[2])-1,i=_n(n[3]),s=_n(n[4]),l=_n(n[5])-1;if(r)return Th(t,s,l)?Sh(t,s,l):new Date(NaN);{const u=new Date(0);return!kh(t,a,i)||!Eh(t,o)?new Date(NaN):(u.setUTCFullYear(t,a,Math.max(o,i)),u)}}function _n(e){return e?parseInt(e):1}function xh(e){const t=e.match(hh);if(!t)return NaN;const n=Co(t[1]),r=Co(t[2]),o=Co(t[3]);return Ah(n,r,o)?n*Il+r*Bl+o*1e3:NaN}function Co(e){return e&&parseFloat(e.replace(",","."))||0}function wh(e){if(e==="Z")return 0;const t=e.match(gh);if(!t)return 0;const n=t[1]==="+"?-1:1,r=parseInt(t[2]),o=t[3]&&parseInt(t[3])||0;return Oh(r,o)?n*(r*Il+o*Bl):NaN}function Sh(e,t,n){const r=new Date(0);r.setUTCFullYear(e,0,4);const o=r.getUTCDay()||7,a=(t-1)*7+n+1-o;return r.setUTCDate(r.getUTCDate()+a),r}const Ch=[31,null,31,30,31,30,31,31,30,31,30,31];function Vl(e){return e%400===0||e%4===0&&e%100!==0}function kh(e,t,n){return t>=0&&t<=11&&n>=1&&n<=(Ch[t]||(Vl(e)?29:28))}function Eh(e,t){return t>=1&&t<=(Vl(e)?366:365)}function Th(e,t,n){return t>=1&&t<=53&&n>=0&&n<=6}function Ah(e,t,n){return e===24?t===0&&n===0:n>=0&&n<60&&t>=0&&t<60&&e>=0&&e<25}function Oh(e,t){return t>=0&&t<=59}function Rh(e,t,n){return ah(e,-1,n)}const zl="react-activity-calendar",Ni=8,Ul=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Lh={months:Ul,weekdays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],totalCount:"{{count}} activities in {{year}}",legend:{less:"Less",more:"More"}};function $h(e,t){if(e.length===0)throw new Error("Activity data must not be empty.");for(const{date:n,level:r,count:o}of e){if(!sh(En(n)))throw new Error(`Activity date '${n}' is not a valid ISO 8601 date string.`);if(o<0)throw new RangeError(`Activity count must not be negative, found ${o}.`);if(r<0||r>t)throw new RangeError(`Activity level ${r} for ${n} is out of range. It must be between 0 and ${t}.`)}}function Dh(e,t=0){const n=Ph(e),r=n[0],o=En(r.date),a=Hl(o)===t?o:Rh(ph(o,t)),i=[...Array(oh(o,a)).fill(void 0),...n],s=Math.ceil(i.length/7);return Ur(s).map(l=>i.slice(l*7,l*7+7))}function Ph(e){const t=new Map(e.map(o=>[o.date,o])),n=e[0],r=e[e.length-1];return wa({start:En(n.date),end:En(r.date)}).map(o=>{const a=Sa(o,{representation:"date"});return t.has(a)?t.get(a):{date:a,count:0,level:0}})}function Vt(e){return`${zl}__${e}`}function Mh(){const e=new Date().getFullYear();return wa({start:new Date(e,0,1),end:new Date(e,11,31)}).map(n=>({date:Sa(n,{representation:"date"}),count:0,level:0}))}function Ae(e){const n=e.maxLevel?Math.max(1,e.maxLevel):4,r=new Date;return wa(e.interval??{start:uh(r),end:ch(r)}).map(a=>{const i=Math.round(Math.random()*20-Math.random()*16),s=Math.max(0,i),l=Math.ceil(s/20*n);return{date:Sa(a,{representation:"date"}),count:s,level:l}})}function Ur(e){return[...Array(e).keys()]}function _h(){const[e,t]=y.useState("light"),n=r=>{t(r.matches?"dark":"light")};return y.useEffect(()=>{const r=window.matchMedia("(prefers-color-scheme: dark)");return t(r.matches?"dark":"light"),r.addEventListener("change",n),()=>{r.removeEventListener("change",n)}},[]),e}const jh="(prefers-reduced-motion: reduce)";function Nh(){const[e,t]=y.useState(!0);return y.useEffect(()=>{const n=window.matchMedia(jh);t(n.matches);const r=o=>{t(o.matches)};return n.addEventListener("change",r),()=>{n.removeEventListener("change",r)}},[]),e}function Bh(e,t=Ul){return e.reduce((n,r,o)=>{const a=r.find(l=>l!==void 0);if(!a)throw new Error(`Unexpected error: Week ${o+1} is empty.`);const i=t[dh(En(a.date))];if(!i){const l=new Date(a.date).toLocaleString("en-US",{month:"short"});throw new Error(`Unexpected error: undefined month label for ${l}.`)}const s=n[n.length-1];return o===0||!s||s.label!==i?[...n,{weekIndex:o,label:i}]:n},[]).filter(({weekIndex:n},r,o)=>r===0?o[1]&&o[1].weekIndex-n>=3:r===o.length-1?e.slice(n).length>=3:!0)}function Ih(e,t,n){if(e.length!==7)throw new Error("Exactly 7 labels, one for each weekday must be passed.");return e.reduce((r,o,a)=>t.byDayIndex(a)?Math.max(r,Math.ceil(Fh(o,n).width)):r,0)}function Fh(e,t){if(typeof document>"u"||typeof window>"u")return{width:0,height:0};if(t<1)throw new RangeError("fontSize must be positive");if(e.length===0)return{width:0,height:0};const n="http://www.w3.org/2000/svg",r=document.createElementNS(n,"svg");r.style.position="absolute",r.style.visibility="hidden",r.style.fontFamily=window.getComputedStyle(document.body).fontFamily,r.style.fontSize=`${t}px`;const o=document.createElementNS(n,"text");o.textContent=e,r.appendChild(o),document.body.appendChild(r);const a=o.getBBox();return document.body.removeChild(r),{width:a.width,height:a.height}}function Wh(e,t){if(!e)return{byDayIndex:()=>!1,shouldShow:!1};if(e===!0)return{byDayIndex:r=>(7+r-t)%7%2!==0,shouldShow:!0};const n=[];for(const r of e){const o=Hh[r.toLowerCase()];n[o]=!0}return{byDayIndex:r=>n[r]??!1,shouldShow:e.length>0}}const Hh={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function Vh(e,t=5){const n=zh(t);return e?(Uh(e,t),e.light=e.light??n.light,e.dark=e.dark??n.dark,{light:Bi(e.light)?qr(e.light,t):e.light,dark:Bi(e.dark)?qr(e.dark,t):e.dark}):n}function zh(e){return{light:qr(["hsl(0, 0%, 92%)","hsl(0, 0%, 26%)"],e),dark:qr(["hsl(0, 0%, 22%)","hsl(0, 0%, 92%)"],e)}}function Uh(e,t){if(typeof e!="object"||e.light===void 0&&e.dark===void 0)throw new Error(`The theme object must contain at least one of the fields "light" and "dark" with exactly 2 or ${t} colors respectively.`);if(e.light){const{length:n}=e.light;if(n!==2&&n!==t)throw new Error(`theme.light must contain exactly 2 or ${t} colors, ${n} passed.`);for(const r of e.light)if(typeof window<"u"&&!CSS.supports("color",r))throw new Error(`Invalid color "${String(r)}" passed. All CSS color formats are accepted.`)}if(e.dark){const{length:n}=e.dark;if(n!==2&&n!==t)throw new Error(`theme.dark must contain exactly 2 or ${t} colors, ${n} passed.`);for(const r of e.dark)if(typeof window<"u"&&!CSS.supports("color",r))throw new Error(`Invalid color "${String(r)}" passed. All CSS color formats are accepted.`)}}function qr([e,t],n){return Ur(n).map(r=>{const o=r/(n-1)*100;return`color-mix(in oklab, ${t} ${parseFloat(o.toFixed(2))}%, ${e})`})}function Bi(e){return e.length===2}const zt={container:e=>({width:"max-content",maxWidth:"100%",display:"flex",flexDirection:"column",gap:"8px",fontSize:`${e}px`}),scrollContainer:e=>({maxWidth:"100%",overflowX:"auto",overflowY:"hidden",paddingTop:Math.ceil(.1*e)}),calendar:{display:"block",overflow:"visible"},rect:e=>({stroke:e==="light"?"rgba(0, 0, 0, 0.08)":"rgba(255, 255, 255, 0.04)"}),footer:{container:{display:"flex",flexWrap:"wrap",gap:"4px 16px",whiteSpace:"nowrap"},legend:{marginLeft:"auto",display:"flex",alignItems:"center",gap:"3px"}}},ce=y.forwardRef(({data:e,blockMargin:t=4,blockRadius:n=2,blockSize:r=12,colorScheme:o=void 0,eventHandlers:a={},fontSize:i=14,hideColorLegend:s=!1,hideMonthLabels:l=!1,hideTotalCount:u=!1,labels:d=void 0,maxLevel:p=4,loading:m=!1,renderBlock:g=void 0,renderColorLegend:h=void 0,showWeekdayLabels:f=!1,style:b={},theme:v=void 0,totalCount:E=void 0,weekStart:w=0},x)=>{const[k,O]=y.useState(!1);y.useEffect(()=>{O(!0)},[]),p=Math.max(1,p);const T=Vh(v,p+1),N=_h(),M=o??N,c=T[M],A=!Nh();m&&(e=Mh()),$h(e,p);const L=e[0],D=fh(En(L.date)),j=Dh(e,w),P=Object.assign({},Lh,d),B=l?0:i+Ni,_=Wh(f,w),H=k&&_.shouldShow?Ih(P.weekdays,_,i)+Ni:void 0;function z(){return{width:j.length*(r+t)-t,height:B+(r+t)*7-t}}function Y(K){return Object.keys(a).reduce((F,X)=>({...F,[X]:fe=>{var pe;return(pe=a[X])==null?void 0:pe.call(a,fe)(K)}}),{})}function Q(){return j.map((K,F)=>K.map((X,fe)=>{if(!X)return null;const pe=m&&A?{animationDelay:`${F*20+fe*20}ms`}:void 0,me=C.jsx("rect",{...Y(X),x:0,y:B+(r+t)*fe,width:r,height:r,rx:n,ry:n,fill:c[X.level],"data-date":X.date,"data-level":X.level,style:{...zt.rect(M),...pe}});return C.jsx(y.Fragment,{children:g?g(me,X):me},X.date)})).map((K,F)=>C.jsx("g",{transform:`translate(${(r+t)*F}, 0)`,children:K},F))}function xe(){if(u&&s)return null;const K=typeof E=="number"?E:e.reduce((F,X)=>F+X.count,0);return C.jsxs("footer",{className:Vt("footer"),style:{...zt.footer.container,marginLeft:H},children:[m&&C.jsx("div",{children:" "}),!m&&!u&&C.jsx("div",{className:Vt("count"),children:P.totalCount?P.totalCount.replace("{{count}}",String(K)).replace("{{year}}",String(D)):`${K} activities in ${D}`}),!m&&!s&&C.jsxs("div",{className:Vt("legend-colors"),style:zt.footer.legend,children:[C.jsx("span",{style:{marginRight:"0.4em"},children:P.legend.less}),Ur(p+1).map(F=>{const X=C.jsx("svg",{width:r,height:r,children:C.jsx("rect",{width:r,height:r,fill:c[F],rx:n,ry:n,style:zt.rect(M)})},F);return h?h(X,F):X}),C.jsx("span",{style:{marginLeft:"0.4em"},children:P.legend.more})]})]})}function Be(){return _.shouldShow?C.jsx("g",{className:Vt("legend-weekday"),children:Ur(7).map(K=>{const F=(K+w)%7;return _.byDayIndex(F)?C.jsx("text",{x:-8,y:B+(r+t)*K+r/2,dominantBaseline:"central",textAnchor:"end",fill:"currentColor",children:P.weekdays[F]},K):null})}):null}function we(){return l?null:C.jsx("g",{className:Vt("legend-month"),children:Bh(j,P.months).map(({label:K,weekIndex:F})=>C.jsx("text",{x:(r+t)*F,y:0,dominantBaseline:"hanging",fill:"currentColor",children:K},F))})}const{width:de,height:Oe}=z();return C.jsxs("article",{ref:x,className:zl,style:{...b,...zt.container(i)},children:[C.jsx("div",{className:Vt("scroll-container"),style:zt.scrollContainer(i),children:C.jsxs("svg",{width:de,height:Oe,viewBox:`0 0 ${de} ${Oe}`,className:Vt("calendar"),style:{...zt.calendar,marginLeft:H},children:[!m&&Be(),!m&&we(),Q()]})}),xe()]})});ce.displayName="ActivityCalendar";ce.__docgenInfo={description:"",methods:[],displayName:"ActivityCalendar",props:{data:{required:!0,tsType:{name:"Array",elements:[{name:"Activity"}],raw:"Array"},description:'List of calendar entries. Every `Activity` object requires an ISO 8601\n`date` string in the format `yyyy-MM-dd`, a `count` property with the\namount of tracked data and a `level` property in the range `0-maxLevel`\nto specify activity intensity. The `maxLevel` prop is 4 by default.\n\nFor missing dates, no activity is assumed. This allows choosing the start\nand end date of the calendar arbitrarily by passing empty entries as the\nfirst and last item.\n\nExample object:\n\n```json\n{\n date: "2021-02-20",\n count: 16,\n level: 3\n}\n```'},blockMargin:{required:!1,tsType:{name:"number"},description:"Margin between blocks in pixels.",defaultValue:{value:"4",computed:!1}},blockRadius:{required:!1,tsType:{name:"number"},description:"Border radius of blocks in pixels.",defaultValue:{value:"2",computed:!1}},blockSize:{required:!1,tsType:{name:"number"},description:"Block size in pixels.",defaultValue:{value:"12",computed:!1}},colorScheme:{required:!1,tsType:{name:"union",raw:"'light' | 'dark'",elements:[{name:"literal",value:"'light'"},{name:"literal",value:"'dark'"}]},description:"Use a specific color scheme instead of the system one. Supported values\nare `'light'` and `'dark'`.",defaultValue:{value:"undefined",computed:!0}},eventHandlers:{required:!1,tsType:{name:"signature",type:"object",raw:`{ + [key in keyof SVGRectEventHandler]: ( + ...event: Parameters> + ) => (activity: Activity) => void +}`,signature:{properties:[{key:{name:"Omit",elements:[{name:"DOMAttributes",elements:[{name:"SVGRectElement"}],raw:"DOMAttributes"},{name:"union",raw:"'css' | 'children' | 'dangerouslySetInnerHTML'",elements:[{name:"literal",value:"'css'"},{name:"literal",value:"'children'"},{name:"literal",value:"'dangerouslySetInnerHTML'"}]}],raw:`Omit< + DOMAttributes, + 'css' | 'children' | 'dangerouslySetInnerHTML' +>`,required:!0},value:{name:"signature",type:"function",raw:`( + ...event: Parameters> +) => (activity: Activity) => void`,signature:{arguments:[{type:{name:"Parameters",elements:[{name:"NonNullable",elements:[{name:"Omit[Omit]",raw:"SVGRectEventHandler[keyof SVGRectEventHandler]"}],raw:"NonNullable"}],raw:"Parameters>"},name:"event",rest:!0}],return:{name:"signature",type:"function",raw:"(activity: Activity) => void",signature:{arguments:[{type:{name:"Activity"},name:"activity"}],return:{name:"void"}}}}}}]}},description:"Event handlers to register for the SVG `` elements that are used to\nrender the calendar days. Handler signature: `event => activity => void`",defaultValue:{value:"{}",computed:!1}},fontSize:{required:!1,tsType:{name:"number"},description:"Font size for text in pixels.",defaultValue:{value:"14",computed:!1}},hideColorLegend:{required:!1,tsType:{name:"boolean"},description:"Toggle to hide color legend below calendar.",defaultValue:{value:"false",computed:!1}},hideMonthLabels:{required:!1,tsType:{name:"boolean"},description:"Toggle to hide month labels above calendar.",defaultValue:{value:"false",computed:!1}},hideTotalCount:{required:!1,tsType:{name:"boolean"},description:"Toggle to hide the total count below calendar.",defaultValue:{value:"false",computed:!1}},labels:{required:!1,tsType:{name:"Partial",elements:[{name:"signature",type:"object",raw:`{ + months: Array + weekdays: Array + totalCount: string + legend: Partial<{ + less: string + more: string + }> +}`,signature:{properties:[{key:"months",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"weekdays",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"totalCount",value:{name:"string",required:!0}},{key:"legend",value:{name:"Partial",elements:[{name:"signature",type:"object",raw:`{ + less: string + more: string +}`,signature:{properties:[{key:"less",value:{name:"string",required:!0}},{key:"more",value:{name:"string",required:!0}}]}}],raw:`Partial<{ + less: string + more: string +}>`,required:!0}}]}}],raw:`Partial<{ + months: Array + weekdays: Array + totalCount: string + legend: Partial<{ + less: string + more: string + }> +}>`},description:"Localization strings for all calendar labels.\n\n`totalCount` supports the placeholders `{{count}}` and `{{year}}`.",defaultValue:{value:"undefined",computed:!0}},maxLevel:{required:!1,tsType:{name:"number"},description:"Maximum activity level (zero indexed).",defaultValue:{value:"4",computed:!1}},loading:{required:!1,tsType:{name:"boolean"},description:"Toggle for loading state. `data` property will be ignored if set.",defaultValue:{value:"false",computed:!1}},ref:{required:!1,tsType:{name:"ForwardedRef",elements:[{name:"HTMLElement"}],raw:"ForwardedRef"},description:"Ref to access the calendar DOM node."},renderBlock:{required:!1,tsType:{name:"signature",type:"function",raw:"(block: BlockElement, activity: Activity) => ReactElement",signature:{arguments:[{type:{name:"ReactElement",elements:[{name:"BlockAttributes"},{name:"JSXElementConstructor",elements:[{name:"SVGRectElement"}],raw:"JSXElementConstructor"}],raw:"ReactElement>"},name:"block"},{type:{name:"Activity"},name:"activity"}],return:{name:"ReactElement"}}},description:"Render prop for calendar blocks (activities). For example, useful to wrap\nthe element with a tooltip component. Use `React.cloneElement` to pass\nadditional props to the element if necessary.",defaultValue:{value:"undefined",computed:!0}},renderColorLegend:{required:!1,tsType:{name:"signature",type:"function",raw:"(block: BlockElement, level: number) => ReactElement",signature:{arguments:[{type:{name:"ReactElement",elements:[{name:"BlockAttributes"},{name:"JSXElementConstructor",elements:[{name:"SVGRectElement"}],raw:"JSXElementConstructor"}],raw:"ReactElement>"},name:"block"},{type:{name:"number"},name:"level"}],return:{name:"ReactElement"}}},description:"Render prop for color legend blocks. For example, useful to wrap the\nelement with a tooltip component. Use `React.cloneElement` to pass\nadditional props to the element if necessary.",defaultValue:{value:"undefined",computed:!0}},showWeekdayLabels:{required:!1,tsType:{name:"union",raw:"boolean | Array",elements:[{name:"boolean"},{name:"Array",elements:[{name:"union",raw:"'sun' | 'mon' | 'tue' | 'wed' | 'thu' | 'fri' | 'sat'",elements:[{name:"literal",value:"'sun'"},{name:"literal",value:"'mon'"},{name:"literal",value:"'tue'"},{name:"literal",value:"'wed'"},{name:"literal",value:"'thu'"},{name:"literal",value:"'fri'"},{name:"literal",value:"'sat'"}]}],raw:"Array"}]},description:"Toggle to show weekday labels left to the calendar.\nAlternatively, pass a list of ISO 8601 weekday names to show.\nFor example `['mon', 'wed', 'fri']`.",defaultValue:{value:"false",computed:!1}},style:{required:!1,tsType:{name:"CSSProperties"},description:"Style object to pass to component container.",defaultValue:{value:"{}",computed:!1}},theme:{required:!1,tsType:{name:"union",raw:`| { + light: ColorScale + dark?: ColorScale + } +| { + light?: ColorScale + dark: ColorScale + }`,elements:[{name:"signature",type:"object",raw:`{ + light: ColorScale + dark?: ColorScale +}`,signature:{properties:[{key:"light",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"dark",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}}]}},{name:"signature",type:"object",raw:`{ + light?: ColorScale + dark: ColorScale +}`,signature:{properties:[{key:"light",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}},{key:"dark",value:{name:"Array",elements:[{name:"string"}],raw:"Array",required:!0}}]}}]},description:`Set the calendar colors for the light and dark system color scheme. +Define each color scale explicitly by settings all colors (5 per default) +or pass exactly two colors (the lowest and highest intensity) to calculate +a single-hue scale. Colors can be specified in any valid CSS format. + +The colors for at least one scheme must be set. If undefined, the default +theme is used. By default, the calendar will select the current system color +scheme, but you can enforce a specific scheme with the \`colorScheme\` prop. + +Example: + +\`\`\`tsx + +\`\`\``,defaultValue:{value:"undefined",computed:!0}},totalCount:{required:!1,tsType:{name:"number"},description:"Overwrite the total activity count.",defaultValue:{value:"undefined",computed:!0}},weekStart:{required:!1,tsType:{name:"union",raw:"0 | 1 | 2 | 3 | 4 | 5 | 6",elements:[{name:"literal",value:"0"},{name:"literal",value:"1"},{name:"literal",value:"2"},{name:"literal",value:"3"},{name:"literal",value:"4"},{name:"literal",value:"5"},{name:"literal",value:"6"}]},description:"Index of day to be used as start of week. 0 represents Sunday.",defaultValue:{value:"0",computed:!1}}}};const Qh={title:"React Activity Calendar",component:ce,argTypes:{data:{control:!1},blockMargin:{control:{type:"range",min:0,max:20}},blockRadius:{control:{type:"range",min:0,max:20}},blockSize:{control:{type:"range",min:4,max:30,step:1}},colorScheme:{control:!1},fontSize:{control:{type:"range",min:6,max:32,step:2}},maxLevel:{control:{type:"range",min:1,max:9}},ref:{control:!1},showWeekdayLabels:{control:"boolean"},style:{control:!1},weekStart:{options:[0,1,2,3,4,5,6],control:{type:"select",labels:{0:"Sunday (0)",1:"Monday (1)",2:"Tuesday (2)",3:"Wednesday (3)",4:"Thursday (4)",5:"Friday (5)",6:"Saturday (6)"}}}},decorators:[(e,{args:t})=>(t.colorScheme=Kt()?"dark":"light",C.jsx(e,{}))],parameters:{controls:{sort:"requiredFirst"},layout:"centered"},tags:["autodocs"]},De={blockMargin:4,blockRadius:2,blockSize:12,fontSize:14,hideColorLegend:!1,hideMonthLabels:!1,hideTotalCount:!1,loading:!1,maxLevel:4,showWeekdayLabels:!1,weekStart:0},ql={light:["#f0f0f0","#c4edde","#7ac7c4","#f73859","#384259"],dark:["hsl(0, 0%, 22%)","#4D455D","#7DB9B6","#F5E9CF","#E96479"]},yr={args:De,render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsx(ce,{...e,data:t})},parameters:{docs:{source:{code:""}}}},vr={args:{...De,data:[],loading:!0},parameters:{docs:{source:{code:""}}}},br={args:{...De,maxLevel:2},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsxs(tn,{children:[C.jsx(ce,{...e,data:t,style:{marginBottom:"2rem"}}),C.jsxs("p",{children:["Use the"," ",C.jsx("code",{children:C.jsx("b",{children:"maxLevel"})})," ","prop to control the number of activity levels. This value is zero indexed (0 represents no activity), so for example a ",C.jsx("code",{children:"maxLevel"})," of 2 will total in 3 levels as above. Each activity level must be in the interval from 0 to ",C.jsx("code",{children:"maxLevel"}),", which is 4 per default."]})]})},parameters:{docs:{source:{code:""}}}},xr={args:De,render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel,interval:{start:new Date(2022,5,1),end:new Date(2023,4,31)}}),[e.maxLevel]),n=y.useMemo(()=>Ae({maxLevel:e.maxLevel,interval:{start:new Date(2023,2,8),end:new Date(2023,7,1)}}),[e.maxLevel]),r=y.useMemo(()=>Ae({maxLevel:e.maxLevel,interval:{start:new Date(2023,5,14),end:new Date(2023,6,17)}}),[e.maxLevel]);return C.jsxs(Gl,{children:[C.jsx(ce,{...e,data:t,labels:{totalCount:"{{count}} activities in 2022 & 2023"}}),C.jsx(ce,{...e,data:n}),C.jsx(ce,{...e,data:r})]})}},wr={args:{...De,theme:{light:["hsl(0, 0%, 92%)","rebeccapurple"],dark:["hsl(0, 0%, 22%)","hsl(225,92%,77%)"]}},parameters:{docs:{source:{code:Di}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsxs(tn,{children:[C.jsx("h1",{children:"Color themes"}),C.jsx(ce,{...e,data:t,style:{margin:"2rem 0"}}),C.jsxs("p",{children:["Use the"," ",C.jsx("code",{children:C.jsx("b",{children:"theme"})})," ","prop to configure the calendar colors for the light and dark system"," ",C.jsx("a",{href:"https://developer.mozilla.org/en-US/docs/Web/CSS/color-scheme",children:"color scheme"}),". Define each color scale"," ",C.jsx(Wo,{kind:"react-activity-calendar",name:"explicit-theme",children:"explicitly"})," ","by settings all colors (5 per default) or pass exactly two colors (the lowest and highest intensity) to calculate a single-hue scale. For explicit themes the color count must match the number of activity levels, which is controlled by the"," ",C.jsx(Wo,{kind:"react-activity-calendar",name:"date-ranges",children:C.jsx("code",{children:"maxLevel"})})," ","prop. Colors can be specified in any valid CSS format."]}),C.jsxs("p",{children:["The colors for at least one scheme must be set. If undefined, the default theme is used. By default, the calendar will select the current system color scheme, but you can enforce a specific scheme with the"," ",C.jsx("a",{href:"/?path=/docs/react-activity-calendar--docs",children:C.jsx("code",{children:"colorScheme"})})," ","prop."]}),C.jsx(Tn,{code:Di,isDarkMode:Kt()})]})}},Sr={args:{...De,theme:ql},parameters:{controls:{exclude:["maxLevel"]},docs:{source:{code:th}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:4}),[]);return C.jsxs(tn,{children:[C.jsx("h1",{children:"Explicit theme"}),C.jsx("p",{}),C.jsxs("p",{children:["See the"," ",C.jsx(Wo,{kind:"react-activity-calendar",name:"color-themes",children:"WithTheme"})," ","story for details how to use the ",C.jsx("code",{children:"theme"})," prop."]}),C.jsx(ce,{...e,data:t,style:{marginTop:"2rem"}})]})}},Cr={args:{...De,blockSize:14,blockRadius:7,blockMargin:5,fontSize:16,theme:ql},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsx(ce,{...e,data:t})},parameters:{controls:{exclude:["maxLevel"]},docs:{source:{code:Xm}}}},kr={args:{...De,eventHandlers:{onClick:()=>e=>{alert(JSON.stringify(e))},onMouseEnter:()=>()=>{console.log("on mouse enter")}}},parameters:{docs:{source:{code:$i}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsxs(tn,{children:[C.jsx("h1",{children:"Event Handlers"}),C.jsxs("p",{children:["You can register event handlers for the SVG ",C.jsx("code",{children:""})," elements that are used to render the calendar days. This way you can control the behaviour on click, hover, etc. All event listeners have the following signature, so you can use the activity data of the block inside the handler:"]}),C.jsx(Tn,{code:Jm,isDarkMode:Kt()}),C.jsx("p",{children:"Click on any block below to see it in action:"}),C.jsx(ce,{...e,data:t,style:{margin:"2rem 0"}}),C.jsx(Tn,{code:$i,isDarkMode:Kt()})]})}},Er={args:De,parameters:{docs:{source:{code:Pi}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsxs(tn,{children:[C.jsx("h1",{children:"Tooltips"}),C.jsxs("p",{children:["To add a 3rd party tooltip component to the calendar you can use the"," ",C.jsx("code",{children:"renderBlock"})," prop."]}),C.jsx("p",{children:C.jsxs("i",{children:["Caveat: unfortunately not all tooltip components can be supported, currently. In the future, the idea is to render"," ",C.jsx("a",{href:"https://martinfowler.com/articles/headless-component.html",children:"headless"})," ","tooltips and let the users decide how to style them."]})}),C.jsx("h2",{children:C.jsx("a",{href:"https://mui.com/material-ui/react-tooltip/",children:"Material UI"})}),C.jsxs("p",{children:["In the simplest case, each block only needs to be wrapped with a"," ",C.jsx("code",{children:""})," component, as shown in the following for Material UI. Additionally, you can add tooltips to the color legend below the calendar using the"," ",C.jsx("code",{children:"renderColorLegend"})," prop:"]}),C.jsx(Tn,{code:nh,isDarkMode:Kt()}),C.jsx(ce,{...e,data:t,renderBlock:(n,r)=>C.jsx(gi,{title:`${r.count} activities on ${r.date}`,children:n}),renderColorLegend:(n,r)=>C.jsx(gi,{title:`Level ${r}`,children:n})}),C.jsx("h2",{children:C.jsx("a",{href:"https://github.com/ReactTooltip/react-tooltip",children:"react-tooltip"})}),C.jsxs("p",{children:["Some libraries, like ",C.jsx("code",{children:"react-tooltip"}),", require that additional props are passed to the block elements. You can achieve this using the ",C.jsx("code",{children:"React.cloneElement"})," ","function:"]}),C.jsx(Tn,{code:Pi,isDarkMode:Kt()}),C.jsx(ce,{...e,data:t,renderBlock:(n,r)=>y.cloneElement(n,{"data-tooltip-id":"react-tooltip","data-tooltip-html":`${r.count} activities on ${r.date}`})}),C.jsx(Km,{id:"react-tooltip"})]})}},Tr={args:{...De,hideMonthLabels:!0,hideColorLegend:!0,hideTotalCount:!0},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsx(ce,{...e,data:t})},parameters:{docs:{source:{code:""}}}},Ar={args:{...De,showWeekdayLabels:!0},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsxs(Gl,{children:[C.jsxs("div",{children:[C.jsx(ko,{code:"true",children:"Show every second weekday (default)"}),C.jsx(ce,{...e,data:t})]}),C.jsxs("div",{children:[C.jsx(ko,{code:"['mon', 'fri']",children:"Show specific days"}),C.jsx(ce,{...e,data:t,showWeekdayLabels:["mon","fri"]})]}),C.jsxs("div",{children:[C.jsx(ko,{code:"['sun', 'mon', 'tue', 'wed', 'thu', 'fri', 'sat']",children:"Show every day"}),C.jsx(ce,{...e,data:t,showWeekdayLabels:["sun","mon","tue","wed","thu","fri","sat"]})]})]})},parameters:{docs:{source:{code:""}}}},Or={args:{...De,showWeekdayLabels:!0,labels:{months:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"],weekdays:["So","Mo","Di","Mi","Do","Fr","Sa"],totalCount:"{{count}} Aktivitäten in {{year}}",legend:{less:"Weniger",more:"Mehr"}}},parameters:{docs:{source:{code:Zm}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsxs(tn,{children:[C.jsx("h1",{children:"Localization"}),C.jsx("p",{children:"Example in German."}),C.jsx(ce,{...e,data:t,style:{margin:"2rem 0"}}),C.jsx(Tn,{code:Qm,isDarkMode:Kt()})]})}},Rr={args:{...De,weekStart:1},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsx(ce,{...e,data:t})},parameters:{docs:{source:{code:""}}}},Lr={args:De,parameters:{docs:{source:{code:""}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]);return C.jsx("div",{style:{width:480,maxWidth:"100%",border:"dashed 1px #929292"},children:C.jsx(ce,{...e,data:t})})}},$r={args:De,parameters:{docs:{source:{code:eh}}},render:e=>{const t=y.useMemo(()=>Ae({maxLevel:e.maxLevel}),[e.maxLevel]),n=y.useRef(null);return y.useEffect(()=>{console.log("calendar ref",n)},[n]),C.jsxs(C.Fragment,{children:[C.jsx(ce,{...e,data:t,ref:n}),C.jsx("br",{}),C.jsx("p",{children:"Check the JavaScript console to see the ref logged."})]})}},Gl=({children:e})=>C.jsx("div",{style:{display:"flex",flexDirection:"column",gap:"3rem"},children:e}),ko=({children:e,code:t})=>C.jsxs("div",{role:"heading",style:{display:"flex",alignItems:"center",gap:12,marginBottom:16,fontSize:16,fontWeight:"bolder"},children:[e,t&&C.jsx("code",{style:{fontSize:13,fontWeight:"normal"},children:t})]}),Tn=({code:e,isDarkMode:t})=>{const n=t?Aa.dark:Aa.light;return C.jsx("pre",{style:{margin:"1rem 0 2rem",padding:"0.75em",whiteSpace:"pre-wrap",backgroundColor:n.appBg,border:`1px solid ${n.appBorderColor}`,borderRadius:n.appBorderRadius,color:n.textColor,lineHeight:1.3},children:C.jsx("code",{children:e.trim()})})};var Ii,Fi,Wi;yr.parameters={...yr.parameters,docs:{...(Ii=yr.parameters)==null?void 0:Ii.docs,source:{originalSource:`{ + args: defaultProps, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return ; + }, + parameters: { + docs: { + source: { + code: '' + } + } + } +}`,...(Wi=(Fi=yr.parameters)==null?void 0:Fi.docs)==null?void 0:Wi.source}}};var Hi,Vi,zi;vr.parameters={...vr.parameters,docs:{...(Hi=vr.parameters)==null?void 0:Hi.docs,source:{originalSource:`{ + args: { + ...defaultProps, + data: [], + loading: true + }, + parameters: { + docs: { + source: { + code: '' + } + } + } +}`,...(zi=(Vi=vr.parameters)==null?void 0:Vi.docs)==null?void 0:zi.source}}};var Ui,qi,Gi;br.parameters={...br.parameters,docs:{...(Ui=br.parameters)==null?void 0:Ui.docs,source:{originalSource:`{ + args: { + ...defaultProps, + maxLevel: 2 + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return + +

+ Use the{' '} + + maxLevel + {' '} + prop to control the number of activity levels. This value is zero indexed (0 represents no + activity), so for example a maxLevel of 2 will total in 3 levels as above. + Each activity level must be in the interval from 0 to maxLevel, which is 4 + per default. +

+
; + }, + parameters: { + docs: { + source: { + code: '' + } + } + } +}`,...(Gi=(qi=br.parameters)==null?void 0:qi.docs)==null?void 0:Gi.source}}};var Yi,Ki,Xi;xr.parameters={...xr.parameters,docs:{...(Yi=xr.parameters)==null?void 0:Yi.docs,source:{originalSource:`{ + args: defaultProps, + render: args => { + const dataLong = useMemo(() => generateTestData({ + maxLevel: args.maxLevel, + interval: { + start: new Date(2022, 5, 1), + end: new Date(2023, 4, 31) + } + }), [args.maxLevel]); + const dataMedium = useMemo(() => generateTestData({ + maxLevel: args.maxLevel, + interval: { + start: new Date(2023, 2, 8), + end: new Date(2023, 7, 1) + } + }), [args.maxLevel]); + const dataShort = useMemo(() => generateTestData({ + maxLevel: args.maxLevel, + interval: { + start: new Date(2023, 5, 14), + end: new Date(2023, 6, 17) + } + }), [args.maxLevel]); + return + + + + ; + } +}`,...(Xi=(Ki=xr.parameters)==null?void 0:Ki.docs)==null?void 0:Xi.source}}};var Ji,Qi,Zi;wr.parameters={...wr.parameters,docs:{...(Ji=wr.parameters)==null?void 0:Ji.docs,source:{originalSource:`{ + args: { + ...defaultProps, + theme: { + light: ['hsl(0, 0%, 92%)', 'rebeccapurple'], + dark: ['hsl(0, 0%, 22%)', 'hsl(225,92%,77%)'] + } + }, + parameters: { + docs: { + source: { + code: exampleTheme + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return +

Color themes

+ +

+ Use the{' '} + + theme + {' '} + prop to configure the calendar colors for the light and dark system{' '} + color scheme. + Define each color scale{' '} + + explicitly + {' '} + by settings all colors (5 per default) or pass exactly two colors (the lowest and highest + intensity) to calculate a single-hue scale. For explicit themes the color count must match + the number of activity levels, which is controlled by the{' '} + + maxLevel + {' '} + prop. Colors can be specified in any valid CSS format. +

+

+ The colors for at least one scheme must be set. If undefined, the default theme is used. + By default, the calendar will select the current system color scheme, but you can enforce + a specific scheme with the{' '} + + colorScheme + {' '} + prop. +

+ +
; + } +}`,...(Zi=(Qi=wr.parameters)==null?void 0:Qi.docs)==null?void 0:Zi.source}}};var es,ts,ns;Sr.parameters={...Sr.parameters,docs:{...(es=Sr.parameters)==null?void 0:es.docs,source:{originalSource:`{ + args: { + ...defaultProps, + theme: explicitTheme + }, + parameters: { + // maxLevel cannot be used for a static explicit theme + controls: { + exclude: ['maxLevel'] + }, + docs: { + source: { + code: exampleThemeExplicit + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: 4 + }), []); + return +

Explicit theme

+

+

+ See the{' '} + + WithTheme + {' '} + story for details how to use the theme prop. +

+ +
; + } +}`,...(ns=(ts=Sr.parameters)==null?void 0:ts.docs)==null?void 0:ns.source}}};var rs,os,as;Cr.parameters={...Cr.parameters,docs:{...(rs=Cr.parameters)==null?void 0:rs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + blockSize: 14, + blockRadius: 7, + blockMargin: 5, + fontSize: 16, + theme: explicitTheme + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return ; + }, + parameters: { + // maxLevel cannot be used for a static explicit theme + controls: { + exclude: ['maxLevel'] + }, + docs: { + source: { + code: exampleCustomization + } + } + } +}`,...(as=(os=Cr.parameters)==null?void 0:os.docs)==null?void 0:as.source}}};var is,ss,ls;kr.parameters={...kr.parameters,docs:{...(is=kr.parameters)==null?void 0:is.docs,source:{originalSource:`{ + args: { + ...defaultProps, + eventHandlers: { + onClick: () => activity => { + alert(JSON.stringify(activity)); + }, + onMouseEnter: () => () => { + // eslint-disable-next-line no-console + console.log('on mouse enter'); + } + } + }, + parameters: { + docs: { + source: { + code: exampleEventHandlers + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return +

Event Handlers

+

+ You can register event handlers for the SVG <rect/> elements that are + used to render the calendar days. This way you can control the behaviour on click, hover, + etc. All event listeners have the following signature, so you can use the activity data of + the block inside the handler: +

+ +

Click on any block below to see it in action:

+ + +
; + } +}`,...(ls=(ss=kr.parameters)==null?void 0:ss.docs)==null?void 0:ls.source}}};var cs,us,ds;Er.parameters={...Er.parameters,docs:{...(cs=Er.parameters)==null?void 0:cs.docs,source:{originalSource:`{ + args: defaultProps, + parameters: { + docs: { + source: { + code: exampleTooltipsReact + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return +

Tooltips

+

+ To add a 3rd party tooltip component to the calendar you can use the{' '} + renderBlock prop. +

+

+ + Caveat: unfortunately not all tooltip components can be supported, currently. In the + future, the idea is to render{' '} + headless{' '} + tooltips and let the users decide how to style them. + +

+ +

+ Material UI +

+

+ In the simplest case, each block only needs to be wrapped with a{' '} + <Tooltip/> component, as shown in the following for Material UI. + Additionally, you can add tooltips to the color legend below the calendar using the{' '} + renderColorLegend prop: +

+ + + {block} + } renderColorLegend={(block, level) => {block}} /> +

+ react-tooltip +

+

+ Some libraries, like react-tooltip, require that additional props are passed + to the block elements. You can achieve this using the React.cloneElement{' '} + function: +

+ + cloneElement(block, { + 'data-tooltip-id': 'react-tooltip', + 'data-tooltip-html': \`\${activity.count} activities on \${activity.date}\` + })} /> + +
; + } +}`,...(ds=(us=Er.parameters)==null?void 0:us.docs)==null?void 0:ds.source}}};var fs,ps,ms;Tr.parameters={...Tr.parameters,docs:{...(fs=Tr.parameters)==null?void 0:fs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + hideMonthLabels: true, + hideColorLegend: true, + hideTotalCount: true + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return ; + }, + parameters: { + docs: { + source: { + code: '' + } + } + } +}`,...(ms=(ps=Tr.parameters)==null?void 0:ps.docs)==null?void 0:ms.source}}};var hs,gs,ys;Ar.parameters={...Ar.parameters,docs:{...(hs=Ar.parameters)==null?void 0:hs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + showWeekdayLabels: true + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return +
+ Show every second weekday (default) + +
+ +
+ Show specific days + +
+ +
+ + Show every day + + +
+
; + }, + parameters: { + docs: { + source: { + code: '' + } + } + } +}`,...(ys=(gs=Ar.parameters)==null?void 0:gs.docs)==null?void 0:ys.source}}};var vs,bs,xs;Or.parameters={...Or.parameters,docs:{...(vs=Or.parameters)==null?void 0:vs.docs,source:{originalSource:`{ + args: { + ...defaultProps, + showWeekdayLabels: true, + labels: { + months: ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez'], + weekdays: ['So', 'Mo', 'Di', 'Mi', 'Do', 'Fr', 'Sa'], + totalCount: '{{count}} Aktivitäten in {{year}}', + legend: { + less: 'Weniger', + more: 'Mehr' + } + } + }, + parameters: { + docs: { + source: { + code: exampleLabels + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return +

Localization

+

Example in German.

+ + +
; + } +}`,...(xs=(bs=Or.parameters)==null?void 0:bs.docs)==null?void 0:xs.source}}};var ws,Ss,Cs;Rr.parameters={...Rr.parameters,docs:{...(ws=Rr.parameters)==null?void 0:ws.docs,source:{originalSource:`{ + args: { + ...defaultProps, + weekStart: 1 + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return ; + }, + parameters: { + docs: { + source: { + code: '' + } + } + } +}`,...(Cs=(Ss=Rr.parameters)==null?void 0:Ss.docs)==null?void 0:Cs.source}}};var ks,Es,Ts;Lr.parameters={...Lr.parameters,docs:{...(ks=Lr.parameters)==null?void 0:ks.docs,source:{originalSource:`{ + args: defaultProps, + parameters: { + docs: { + source: { + code: '' + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + return
+ +
; + } +}`,...(Ts=(Es=Lr.parameters)==null?void 0:Es.docs)==null?void 0:Ts.source}}};var As,Os,Rs;$r.parameters={...$r.parameters,docs:{...(As=$r.parameters)==null?void 0:As.docs,source:{originalSource:`{ + args: defaultProps, + parameters: { + docs: { + source: { + code: exampleRef + } + } + }, + render: args => { + const data = useMemo(() => generateTestData({ + maxLevel: args.maxLevel + }), [args.maxLevel]); + const calendarRef = useRef(null); + useEffect(() => { + // eslint-disable-next-line no-console + console.log('calendar ref', calendarRef); + }, [calendarRef]); + return <> + +
+

Check the JavaScript console to see the ref logged.

+ ; + } +}`,...(Rs=(Os=$r.parameters)==null?void 0:Os.docs)==null?void 0:Rs.source}}};const Zh=["Default","Loading","ActivityLevels","DateRanges","ColorThemes","ExplicitThemes","Customization","EventHandlers","Tooltips","WithoutLabels","WeekdayLabels","LocalizedLabels","MondayAsWeekStart","NarrowScreens","ContainerRef"];export{br as ActivityLevels,wr as ColorThemes,$r as ContainerRef,Cr as Customization,xr as DateRanges,yr as Default,kr as EventHandlers,Sr as ExplicitThemes,vr as Loading,Or as LocalizedLabels,Rr as MondayAsWeekStart,Lr as NarrowScreens,Er as Tooltips,Ar as WeekdayLabels,Tr as WithoutLabels,Zh as __namedExportsOrder,Qh as default}; diff --git a/docs/assets/Color-F6OSRLHC-BYxDHg9a.js b/docs/assets/Color-F6OSRLHC-BYxDHg9a.js deleted file mode 100644 index c1dd805..0000000 --- a/docs/assets/Color-F6OSRLHC-BYxDHg9a.js +++ /dev/null @@ -1 +0,0 @@ -import{ai as ce,a2 as J,a0 as he,N as fe,aj as de,ak as ge,al as be,am as q}from"./index-BZ6JnuF_.js";import{R as m,r as p}from"./index-2yJIXLcc.js";import{T as M}from"./index-BoIHHXGu.js";import"./iframe-WubvJSwf.js";import"../sb-preview/runtime.js";import"./index-BriWrUx_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";import"./index-Bn05qqr6.js";var me=q({"../../node_modules/color-name/index.js"(n,l){l.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=q({"../../node_modules/color-convert/conversions.js"(n,l){var c=me(),h={};for(let e of Object.keys(c))h[c[e]]=e;var u={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};l.exports=u;for(let e of Object.keys(u)){if(!("channels"in u[e]))throw new Error("missing channels property: "+e);if(!("labels"in u[e]))throw new Error("missing channel labels property: "+e);if(u[e].labels.length!==u[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=u[e];delete u[e].channels,delete u[e].labels,Object.defineProperty(u[e],"channels",{value:t}),Object.defineProperty(u[e],"labels",{value:r})}u.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(t,r,a),i=Math.max(t,r,a),s=i-o,f,g;i===o?f=0:t===i?f=(r-a)/s:r===i?f=2+(a-t)/s:a===i&&(f=4+(t-r)/s),f=Math.min(f*60,360),f<0&&(f+=360);let b=(o+i)/2;return i===o?g=0:b<=.5?g=s/(i+o):g=s/(2-i-o),[f,g*100,b*100]},u.rgb.hsv=function(e){let t,r,a,o,i,s=e[0]/255,f=e[1]/255,g=e[2]/255,b=Math.max(s,f,g),y=b-Math.min(s,f,g),v=function(w){return(b-w)/6/y+1/2};return y===0?(o=0,i=0):(i=y/b,t=v(s),r=v(f),a=v(g),s===b?o=a-r:f===b?o=1/3+t-a:g===b&&(o=2/3+r-t),o<0?o+=1:o>1&&(o-=1)),[o*360,i*100,b*100]},u.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],o=u.rgb.hsl(e)[0],i=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[o,i*100,a*100]},u.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.min(1-t,1-r,1-a),i=(1-t-o)/(1-o)||0,s=(1-r-o)/(1-o)||0,f=(1-a-o)/(1-o)||0;return[i*100,s*100,f*100,o*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}u.rgb.keyword=function(e){let t=h[e];if(t)return t;let r=1/0,a;for(let o of Object.keys(c)){let i=c[o],s=d(e,i);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let o=t*.4124+r*.3576+a*.1805,i=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[o*100,i*100,s*100]},u.rgb.lab=function(e){let t=u.rgb.xyz(e),r=t[0],a=t[1],o=t[2];r/=95.047,a/=100,o/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let i=116*a-16,s=500*(r-a),f=200*(a-o);return[i,s,f]},u.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o,i,s;if(r===0)return s=a*255,[s,s,s];a<.5?o=a*(1+r):o=a+r-a*r;let f=2*a-o,g=[0,0,0];for(let b=0;b<3;b++)i=t+1/3*-(b-1),i<0&&i++,i>1&&i--,6*i<1?s=f+(o-f)*6*i:2*i<1?s=o:3*i<2?s=f+(o-f)*(2/3-i)*6:s=f,g[b]=s*255;return g},u.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=r,i=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,o*=i<=1?i:2-i;let s=(a+r)/2,f=a===0?2*o/(i+o):2*r/(a+r);return[t,f*100,s*100]},u.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,o=Math.floor(t)%6,i=t-Math.floor(t),s=255*a*(1-r),f=255*a*(1-r*i),g=255*a*(1-r*(1-i));switch(a*=255,o){case 0:return[a,g,s];case 1:return[f,a,s];case 2:return[s,a,g];case 3:return[s,f,a];case 4:return[g,s,a];case 5:return[a,s,f]}},u.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,o=Math.max(a,.01),i,s;s=(2-r)*a;let f=(2-r)*o;return i=r*o,i/=f<=1?f:2-f,i=i||0,s/=2,[t,i*100,s*100]},u.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,o=r+a,i;o>1&&(r/=o,a/=o);let s=Math.floor(6*t),f=1-a;i=6*t-s,s&1&&(i=1-i);let g=r+i*(f-r),b,y,v;switch(s){default:case 6:case 0:b=f,y=g,v=r;break;case 1:b=g,y=f,v=r;break;case 2:b=r,y=f,v=g;break;case 3:b=r,y=g,v=f;break;case 4:b=g,y=r,v=f;break;case 5:b=f,y=r,v=g;break}return[b*255,y*255,v*255]},u.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o=e[3]/100,i=1-Math.min(1,t*(1-o)+o),s=1-Math.min(1,r*(1-o)+o),f=1-Math.min(1,a*(1-o)+o);return[i*255,s*255,f*255]},u.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,o,i,s;return o=t*3.2406+r*-1.5372+a*-.4986,i=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),[o*255,i*255,s*255]},u.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let o=116*r-16,i=500*(t-r),s=200*(r-a);return[o,i,s]},u.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],o,i,s;i=(t+16)/116,o=r/500+i,s=i-a/200;let f=i**3,g=o**3,b=s**3;return i=f>.008856?f:(i-16/116)/7.787,o=g>.008856?g:(o-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,o*=95.047,i*=100,s*=108.883,[o,i,s]},u.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],o;o=Math.atan2(a,r)*360/2/Math.PI,o<0&&(o+=360);let i=Math.sqrt(r*r+a*a);return[t,i,o]},u.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,o=r*Math.cos(a),i=r*Math.sin(a);return[t,o,i]},u.rgb.ansi16=function(e,t=null){let[r,a,o]=e,i=t===null?u.rgb.hsv(e)[2]:t;if(i=Math.round(i/50),i===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return i===2&&(s+=60),s},u.hsv.ansi16=function(e){return u.rgb.ansi16(u.hsv.rgb(e),e[2])},u.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},u.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,o=(t>>1&1)*r*255,i=(t>>2&1)*r*255;return[a,o,i]},u.ansi256.rgb=function(e){if(e>=232){let i=(e-232)*10+8;return[i,i,i]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,o=t%6/5*255;return[r,a,o]},u.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},u.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(f=>f+f).join(""));let a=parseInt(r,16),o=a>>16&255,i=a>>8&255,s=a&255;return[o,i,s]},u.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,o=Math.max(Math.max(t,r),a),i=Math.min(Math.min(t,r),a),s=o-i,f,g;return s<1?f=i/(1-s):f=0,s<=0?g=0:o===t?g=(r-a)/s%6:o===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,f*100]},u.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),o=0;return a<1&&(o=(r-.5*a)/(1-a)),[e[0],a*100,o*100]},u.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let o=[0,0,0],i=t%1*6,s=i%1,f=1-s,g=0;switch(Math.floor(i)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=f,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=f,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=f}return g=(1-r)*a,[(r*o[0]+g)*255,(r*o[1]+g)*255,(r*o[2]+g)*255]},u.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),o=0;return a>0&&(o=t/a),[e[0],o*100,a*100]},u.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},u.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},u.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,o=0;return a<1&&(o=(r-a)/(1-a)),[e[0],a*100,o*100]},u.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},u.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},u.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},u.gray.hsl=function(e){return[0,0,e[0]]},u.gray.hsv=u.gray.hsl,u.gray.hwb=function(e){return[0,100,e[0]]},u.gray.cmyk=function(e){return[0,0,0,e[0]]},u.gray.lab=function(e){return[e[0],0,0]},u.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},u.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),ve=q({"../../node_modules/color-convert/route.js"(n,l){var c=Q();function h(){let t={},r=Object.keys(c);for(let a=r.length,o=0;o1&&(o=i),r(o))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...o){let i=o[0];if(i==null)return i;i.length>1&&(o=i);let s=r(o);if(typeof s=="object")for(let f=s.length,g=0;g{u[r]={},Object.defineProperty(u[r],"channels",{value:c[r].channels}),Object.defineProperty(u[r],"labels",{value:c[r].labels});let a=h(r);Object.keys(a).forEach(o=>{let i=a[o];u[r][o]=t(i),u[r][o].raw=e(i)})}),l.exports=u}}),_=ce(pe());function C(){return(C=Object.assign||function(n){for(var l=1;l=0||(u[c]=n[c]);return u}function L(n){var l=p.useRef(n),c=p.useRef(function(h){l.current&&l.current(h)});return l.current=n,c.current}var N=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&u.current?d(F(u.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var v=r.current,w=B(u.current),E=y?w.addEventListener:w.removeEventListener;E(v?"touchmove":"mousemove",f),E(v?"touchend":"mouseup",g)}return[function(y){var v=y.nativeEvent,w=u.current;if(w&&(W(v),!function(k,P){return P&&!O(k)}(v,r.current)&&w)){if(O(v)){r.current=!0;var E=v.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,v,t.current)),b(!0)}},function(y){var v=y.which||y.keyCode;v<37||v>40||(y.preventDefault(),e({left:v===39?.05:v===37?-.05:0,top:v===40?.05:v===38?-.05:0}))},b]},[e,d]),o=a[0],i=a[1],s=a[2];return p.useEffect(function(){return s},[s]),m.createElement("div",C({},h,{onTouchStart:o,onMouseDown:o,className:"react-colorful__interactive",ref:u,onKeyDown:i,tabIndex:0,role:"slider"}))}),S=function(n){return n.filter(Boolean).join(" ")},G=function(n){var l=n.color,c=n.left,h=n.top,u=h===void 0?.5:h,d=S(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*u+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:l}}))},x=function(n,l,c){return l===void 0&&(l=0),c===void 0&&(c=Math.pow(10,l)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(K(n))},K=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,l){return l===void 0&&(l="deg"),Number(n)*(ye[l]||1)},ke=function(n){var l=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?_e({h:we(l[1],l[2]),s:Number(l[3]),l:Number(l[4]),a:l[5]===void 0?1:Number(l[5])/(l[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var l=n.s,c=n.l;return{h:n.h,s:(l*=(c<50?c:100-c)/100)>0?2*l/(c+l)*100:0,v:c+l,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var l=n.s,c=n.v,h=n.a,u=(200-l)*c/100;return{h:x(n.h),s:x(u>0&&u<200?l*c/100/(u<=100?u:200-u)*100:0),l:x(u/2),a:x(h,2)}},X=function(n){var l=Z(n);return"hsl("+l.h+", "+l.s+"%, "+l.l+"%)"},I=function(n){var l=Z(n);return"hsla("+l.h+", "+l.s+"%, "+l.l+"%, "+l.a+")"},ee=function(n){var l=n.h,c=n.s,h=n.v,u=n.a;l=l/360*6,c/=100,h/=100;var d=Math.floor(l),e=h*(1-c),t=h*(1-(l-d)*c),r=h*(1-(1-l+d)*c),a=d%6;return{r:x(255*[h,t,e,e,r,h][a]),g:x(255*[r,h,h,t,e,e][a]),b:x(255*[e,e,r,h,h,t][a]),a:x(u,2)}},Me=function(n){var l=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return l?re({r:Number(l[1])/(l[2]?100/255:1),g:Number(l[3])/(l[4]?100/255:1),b:Number(l[5])/(l[6]?100/255:1),a:l[7]===void 0?1:Number(l[7])/(l[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var l=n.toString(16);return l.length<2?"0"+l:l},Ce=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=u<1?j(x(255*u)):"";return"#"+j(l)+j(c)+j(h)+d},re=function(n){var l=n.r,c=n.g,h=n.b,u=n.a,d=Math.max(l,c,h),e=d-Math.min(l,c,h),t=e?d===l?(c-h)/e:d===c?2+(h-l)/e:4+(l-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:u}},te=m.memo(function(n){var l=n.hue,c=n.onChange,h=S(["react-colorful__hue",n.className]);return m.createElement("div",{className:h},m.createElement(V,{onMove:function(u){c({h:360*u.left})},onKey:function(u){c({h:N(l+360*u.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(l),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(G,{className:"react-colorful__hue-pointer",left:l/360,color:X({h:l,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var l=n.hsva,c=n.onChange,h={backgroundColor:X({h:l.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:h},m.createElement(V,{onMove:function(u){c({s:100*u.left,v:100-100*u.top})},onKey:function(u){c({s:N(l.s+100*u.left,0,100),v:N(l.v-100*u.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(l.s)+"%, Brightness "+x(l.v)+"%"},m.createElement(G,{className:"react-colorful__saturation-pointer",top:1-l.v/100,left:l.s/100,color:X(l)})))}),ae=function(n,l){if(n===l)return!0;for(var c in n)if(n[c]!==l[c])return!1;return!0},oe=function(n,l){return n.replace(/\s/g,"")===l.replace(/\s/g,"")},$e=function(n,l){return n.toLowerCase()===l.toLowerCase()||ae(K(n),K(l))};function le(n,l,c){var h=L(c),u=p.useState(function(){return n.toHsva(l)}),d=u[0],e=u[1],t=p.useRef({color:l,hsva:d});p.useEffect(function(){if(!n.equal(l,t.current.color)){var a=n.toHsva(l);t.current={hsva:a,color:l},e(a)}},[l,n]),p.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},h(a))},[d,n,h]);var r=p.useCallback(function(a){e(function(o){return Object.assign({},o,a)})},[]);return[d,r]}var Ne=typeof window<"u"?p.useLayoutEffect:p.useEffect,Oe=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ie=function(n){Ne(function(){var l=n.current?n.current.ownerDocument:document;if(l!==void 0&&!A.has(l)){var c=l.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(l,c);var h=Oe();h&&c.setAttribute("nonce",h),l.head.appendChild(c)}},[])},Se=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=T(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Se,C({},n,{colorModel:je}))},ze=function(n){var l=n.className,c=n.hsva,h=n.onChange,u={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=S(["react-colorful__alpha",l]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:u}),m.createElement(V,{onMove:function(t){h({a:t.left})},onKey:function(t){h({a:N(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(G,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ue=function(n){var l=n.className,c=n.colorModel,h=n.color,u=h===void 0?c.defaultColor:h,d=n.onChange,e=T(n,["className","colorModel","color","onChange"]),t=p.useRef(null);ie(t);var r=le(c,u,d),a=r[0],o=r[1],i=S(["react-colorful",l]);return m.createElement("div",C({},e,{ref:t,className:i}),m.createElement(ne,{hsva:a,onChange:o}),m.createElement(te,{hue:a.h,onChange:o}),m.createElement(ze,{hsva:a,onChange:o,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:oe},He=function(n){return m.createElement(ue,C({},n,{colorModel:Ie}))},qe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var l=ee(n);return"rgba("+l.r+", "+l.g+", "+l.b+", "+l.a+")"},equal:oe},Pe=function(n){return m.createElement(ue,C({},n,{colorModel:qe}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Ke=M.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Xe=M(he)(({theme:n})=>({fontFamily:n.typography.fonts.base})),De=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),Te=M.div(({theme:n,active:l})=>({width:16,height:16,boxShadow:l?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Ve=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:l,...c})=>{let h=`linear-gradient(${n}, ${n}), ${Ve}, linear-gradient(#fff, #fff)`;return m.createElement(Te,{...c,style:{...l,backgroundImage:h}})},Ge=M(fe.Input)(({theme:n,readOnly:l})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,D=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:He},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let l=n==null?void 0:n.match(We);if(!l)return[0,0,0,1];let[,c,h,u,d=1]=l;return[c,h,u,d].map(Number)},$=n=>{if(!n)return;let l=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${o}, ${i}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[o,i,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:l,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${o}, ${i}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),h=_.default.keyword.rgb(c)||_.default.hex.rgb(c),u=_.default.rgb.hsl(h),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:D.test(n)&&(d=`#${c}`),d.startsWith("#"))l=D.test(d);else try{_.default.keyword.hex(d)}catch{l=!1}return{valid:l,value:d,keyword:_.default.rgb.keyword(h),colorSpace:"hex",rgb:`rgba(${h[0]}, ${h[1]}, ${h[2]}, 1)`,hsl:`hsla(${u[0]}, ${u[1]}%, ${u[2]}%, 1)`,hex:d}},Qe=(n,l,c)=>{if(!n||!(l!=null&&l.valid))return z[c];if(c!=="hex")return(l==null?void 0:l[c])||z[c];if(!l.hex.startsWith("#"))try{return`#${_.default.keyword.hex(l.hex)}`}catch{return z.hex}let h=l.hex.match(Ye);if(!h)return D.test(l.hex)?l.hex:z.hex;let[u,d,e]=h[1].split("");return`#${u}${u}${d}${d}${e}${e}`},Ze=(n,l)=>{let[c,h]=p.useState(n||""),[u,d]=p.useState(()=>$(c)),[e,t]=p.useState((u==null?void 0:u.colorSpace)||"hex");p.useEffect(()=>{let i=n||"",s=$(i);h(i),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=p.useMemo(()=>Qe(c,u,e).toLowerCase(),[c,u,e]),a=p.useCallback(i=>{let s=$(i),f=(s==null?void 0:s.value)||i||"";h(f),f===""&&(d(void 0),l(void 0)),s&&(d(s),t(s.colorSpace),l(s.value))},[l]),o=p.useCallback(()=>{let i=R.indexOf(e)+1;i>=R.length&&(i=0),t(R[i]);let s=(u==null?void 0:u[R[i]])||"";h(s),l(s)},[u,e,l]);return{value:c,realValue:r,updateValue:a,color:u,colorSpace:e,cycleColorSpace:o}},H=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,l,c)=>{let[h,u]=p.useState(l!=null&&l.valid?[l]:[]);p.useEffect(()=>{l===void 0&&u([])},[l]);let d=p.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(h).filter(Boolean).slice(-27),[n,h]),e=p.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>H(r[c])===H(t[c]))||u(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:l,onChange:c,onFocus:h,onBlur:u,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=p.useCallback(ge(c,200),[c]),{value:a,realValue:o,updateValue:i,color:s,colorSpace:f,cycleColorSpace:g}=Ze(l,r),{presets:b,addPreset:y}=er(d,s,f),v=Je[f],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Ke,null,m.createElement(v,{color:o==="transparent"?"#000000":o,onChange:i,onFocus:h,onBlur:u}),b.length>0&&m.createElement(De,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Xe,{note:k.keyword||k.value})},m.createElement(U,{value:k[f],active:s&&H(k[f])===H(s[f]),onClick:()=>i(k.value)})))))},m.createElement(U,{value:o,style:{margin:4}})),m.createElement(Ge,{id:be(n),value:a,onChange:k=>i(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},hr=rr;export{rr as ColorControl,hr as default}; diff --git a/docs/assets/Color-F6OSRLHC-DOJWyiBH.js b/docs/assets/Color-F6OSRLHC-DOJWyiBH.js new file mode 100644 index 0000000..086720b --- /dev/null +++ b/docs/assets/Color-F6OSRLHC-DOJWyiBH.js @@ -0,0 +1 @@ +import{_ as ce,q as J,r as fe,G as he,M as de,d as ge,g as be,a as H}from"./index-BQHE_i7f.js";import{R as m,r as v}from"./index-CZMpeKRu.js";import{T as M}from"./index-Dja51o-9.js";import"./iframe-C46LtgJg.js";import"./index-BfiLiMku.js";import"./index-NOh9rqHv.js";import"./index-ogSvIofg.js";import"./index-D-TIQtLp.js";var me=H({"../../node_modules/color-name/index.js"(n,o){o.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),Q=H({"../../node_modules/color-convert/conversions.js"(n,o){var c=me(),f={};for(let e of Object.keys(c))f[c[e]]=e;var i={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"]}};o.exports=i;for(let e of Object.keys(i)){if(!("channels"in i[e]))throw new Error("missing channels property: "+e);if(!("labels"in i[e]))throw new Error("missing channel labels property: "+e);if(i[e].labels.length!==i[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:t,labels:r}=i[e];delete i[e].channels,delete i[e].labels,Object.defineProperty(i[e],"channels",{value:t}),Object.defineProperty(i[e],"labels",{value:r})}i.rgb.hsl=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(t,r,a),u=Math.max(t,r,a),s=u-l,h,g;u===l?h=0:t===u?h=(r-a)/s:r===u?h=2+(a-t)/s:a===u&&(h=4+(t-r)/s),h=Math.min(h*60,360),h<0&&(h+=360);let b=(l+u)/2;return u===l?g=0:b<=.5?g=s/(u+l):g=s/(2-u-l),[h,g*100,b*100]},i.rgb.hsv=function(e){let t,r,a,l,u,s=e[0]/255,h=e[1]/255,g=e[2]/255,b=Math.max(s,h,g),y=b-Math.min(s,h,g),p=function(w){return(b-w)/6/y+1/2};return y===0?(l=0,u=0):(u=y/b,t=p(s),r=p(h),a=p(g),s===b?l=a-r:h===b?l=1/3+t-a:g===b&&(l=2/3+r-t),l<0?l+=1:l>1&&(l-=1)),[l*360,u*100,b*100]},i.rgb.hwb=function(e){let t=e[0],r=e[1],a=e[2],l=i.rgb.hsl(e)[0],u=1/255*Math.min(t,Math.min(r,a));return a=1-1/255*Math.max(t,Math.max(r,a)),[l,u*100,a*100]},i.rgb.cmyk=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.min(1-t,1-r,1-a),u=(1-t-l)/(1-l)||0,s=(1-r-l)/(1-l)||0,h=(1-a-l)/(1-l)||0;return[u*100,s*100,h*100,l*100]};function d(e,t){return(e[0]-t[0])**2+(e[1]-t[1])**2+(e[2]-t[2])**2}i.rgb.keyword=function(e){let t=f[e];if(t)return t;let r=1/0,a;for(let l of Object.keys(c)){let u=c[l],s=d(e,u);s.04045?((t+.055)/1.055)**2.4:t/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,a=a>.04045?((a+.055)/1.055)**2.4:a/12.92;let l=t*.4124+r*.3576+a*.1805,u=t*.2126+r*.7152+a*.0722,s=t*.0193+r*.1192+a*.9505;return[l*100,u*100,s*100]},i.rgb.lab=function(e){let t=i.rgb.xyz(e),r=t[0],a=t[1],l=t[2];r/=95.047,a/=100,l/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116,l=l>.008856?l**(1/3):7.787*l+16/116;let u=116*a-16,s=500*(r-a),h=200*(a-l);return[u,s,h]},i.hsl.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l,u,s;if(r===0)return s=a*255,[s,s,s];a<.5?l=a*(1+r):l=a+r-a*r;let h=2*a-l,g=[0,0,0];for(let b=0;b<3;b++)u=t+1/3*-(b-1),u<0&&u++,u>1&&u--,6*u<1?s=h+(l-h)*6*u:2*u<1?s=l:3*u<2?s=h+(l-h)*(2/3-u)*6:s=h,g[b]=s*255;return g},i.hsl.hsv=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=r,u=Math.max(a,.01);a*=2,r*=a<=1?a:2-a,l*=u<=1?u:2-u;let s=(a+r)/2,h=a===0?2*l/(u+l):2*r/(a+r);return[t,h*100,s*100]},i.hsv.rgb=function(e){let t=e[0]/60,r=e[1]/100,a=e[2]/100,l=Math.floor(t)%6,u=t-Math.floor(t),s=255*a*(1-r),h=255*a*(1-r*u),g=255*a*(1-r*(1-u));switch(a*=255,l){case 0:return[a,g,s];case 1:return[h,a,s];case 2:return[s,a,g];case 3:return[s,h,a];case 4:return[g,s,a];case 5:return[a,s,h]}},i.hsv.hsl=function(e){let t=e[0],r=e[1]/100,a=e[2]/100,l=Math.max(a,.01),u,s;s=(2-r)*a;let h=(2-r)*l;return u=r*l,u/=h<=1?h:2-h,u=u||0,s/=2,[t,u*100,s*100]},i.hwb.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100,l=r+a,u;l>1&&(r/=l,a/=l);let s=Math.floor(6*t),h=1-a;u=6*t-s,s&1&&(u=1-u);let g=r+u*(h-r),b,y,p;switch(s){default:case 6:case 0:b=h,y=g,p=r;break;case 1:b=g,y=h,p=r;break;case 2:b=r,y=h,p=g;break;case 3:b=r,y=g,p=h;break;case 4:b=g,y=r,p=h;break;case 5:b=h,y=r,p=g;break}return[b*255,y*255,p*255]},i.cmyk.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l=e[3]/100,u=1-Math.min(1,t*(1-l)+l),s=1-Math.min(1,r*(1-l)+l),h=1-Math.min(1,a*(1-l)+l);return[u*255,s*255,h*255]},i.xyz.rgb=function(e){let t=e[0]/100,r=e[1]/100,a=e[2]/100,l,u,s;return l=t*3.2406+r*-1.5372+a*-.4986,u=t*-.9689+r*1.8758+a*.0415,s=t*.0557+r*-.204+a*1.057,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,u=u>.0031308?1.055*u**(1/2.4)-.055:u*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,l=Math.min(Math.max(0,l),1),u=Math.min(Math.max(0,u),1),s=Math.min(Math.max(0,s),1),[l*255,u*255,s*255]},i.xyz.lab=function(e){let t=e[0],r=e[1],a=e[2];t/=95.047,r/=100,a/=108.883,t=t>.008856?t**(1/3):7.787*t+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,a=a>.008856?a**(1/3):7.787*a+16/116;let l=116*r-16,u=500*(t-r),s=200*(r-a);return[l,u,s]},i.lab.xyz=function(e){let t=e[0],r=e[1],a=e[2],l,u,s;u=(t+16)/116,l=r/500+u,s=u-a/200;let h=u**3,g=l**3,b=s**3;return u=h>.008856?h:(u-16/116)/7.787,l=g>.008856?g:(l-16/116)/7.787,s=b>.008856?b:(s-16/116)/7.787,l*=95.047,u*=100,s*=108.883,[l,u,s]},i.lab.lch=function(e){let t=e[0],r=e[1],a=e[2],l;l=Math.atan2(a,r)*360/2/Math.PI,l<0&&(l+=360);let u=Math.sqrt(r*r+a*a);return[t,u,l]},i.lch.lab=function(e){let t=e[0],r=e[1],a=e[2]/360*2*Math.PI,l=r*Math.cos(a),u=r*Math.sin(a);return[t,l,u]},i.rgb.ansi16=function(e,t=null){let[r,a,l]=e,u=t===null?i.rgb.hsv(e)[2]:t;if(u=Math.round(u/50),u===0)return 30;let s=30+(Math.round(l/255)<<2|Math.round(a/255)<<1|Math.round(r/255));return u===2&&(s+=60),s},i.hsv.ansi16=function(e){return i.rgb.ansi16(i.hsv.rgb(e),e[2])},i.rgb.ansi256=function(e){let t=e[0],r=e[1],a=e[2];return t===r&&r===a?t<8?16:t>248?231:Math.round((t-8)/247*24)+232:16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(a/255*5)},i.ansi16.rgb=function(e){let t=e%10;if(t===0||t===7)return e>50&&(t+=3.5),t=t/10.5*255,[t,t,t];let r=(~~(e>50)+1)*.5,a=(t&1)*r*255,l=(t>>1&1)*r*255,u=(t>>2&1)*r*255;return[a,l,u]},i.ansi256.rgb=function(e){if(e>=232){let u=(e-232)*10+8;return[u,u,u]}e-=16;let t,r=Math.floor(e/36)/5*255,a=Math.floor((t=e%36)/6)/5*255,l=t%6/5*255;return[r,a,l]},i.rgb.hex=function(e){let t=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(t.length)+t},i.hex.rgb=function(e){let t=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!t)return[0,0,0];let r=t[0];t[0].length===3&&(r=r.split("").map(h=>h+h).join(""));let a=parseInt(r,16),l=a>>16&255,u=a>>8&255,s=a&255;return[l,u,s]},i.rgb.hcg=function(e){let t=e[0]/255,r=e[1]/255,a=e[2]/255,l=Math.max(Math.max(t,r),a),u=Math.min(Math.min(t,r),a),s=l-u,h,g;return s<1?h=u/(1-s):h=0,s<=0?g=0:l===t?g=(r-a)/s%6:l===r?g=2+(a-t)/s:g=4+(t-r)/s,g/=6,g%=1,[g*360,s*100,h*100]},i.hsl.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=r<.5?2*t*r:2*t*(1-r),l=0;return a<1&&(l=(r-.5*a)/(1-a)),[e[0],a*100,l*100]},i.hsv.hcg=function(e){let t=e[1]/100,r=e[2]/100,a=t*r,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.hcg.rgb=function(e){let t=e[0]/360,r=e[1]/100,a=e[2]/100;if(r===0)return[a*255,a*255,a*255];let l=[0,0,0],u=t%1*6,s=u%1,h=1-s,g=0;switch(Math.floor(u)){case 0:l[0]=1,l[1]=s,l[2]=0;break;case 1:l[0]=h,l[1]=1,l[2]=0;break;case 2:l[0]=0,l[1]=1,l[2]=s;break;case 3:l[0]=0,l[1]=h,l[2]=1;break;case 4:l[0]=s,l[1]=0,l[2]=1;break;default:l[0]=1,l[1]=0,l[2]=h}return g=(1-r)*a,[(r*l[0]+g)*255,(r*l[1]+g)*255,(r*l[2]+g)*255]},i.hcg.hsv=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t),l=0;return a>0&&(l=t/a),[e[0],l*100,a*100]},i.hcg.hsl=function(e){let t=e[1]/100,r=e[2]/100*(1-t)+.5*t,a=0;return r>0&&r<.5?a=t/(2*r):r>=.5&&r<1&&(a=t/(2*(1-r))),[e[0],a*100,r*100]},i.hcg.hwb=function(e){let t=e[1]/100,r=e[2]/100,a=t+r*(1-t);return[e[0],(a-t)*100,(1-a)*100]},i.hwb.hcg=function(e){let t=e[1]/100,r=1-e[2]/100,a=r-t,l=0;return a<1&&(l=(r-a)/(1-a)),[e[0],a*100,l*100]},i.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},i.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},i.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},i.gray.hsl=function(e){return[0,0,e[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(e){return[0,100,e[0]]},i.gray.cmyk=function(e){return[0,0,0,e[0]]},i.gray.lab=function(e){return[e[0],0,0]},i.gray.hex=function(e){let t=Math.round(e[0]/100*255)&255,r=((t<<16)+(t<<8)+t).toString(16).toUpperCase();return"000000".substring(r.length)+r},i.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]}}}),pe=H({"../../node_modules/color-convert/route.js"(n,o){var c=Q();function f(){let t={},r=Object.keys(c);for(let a=r.length,l=0;l1&&(l=u),r(l))};return"conversion"in r&&(a.conversion=r.conversion),a}function t(r){let a=function(...l){let u=l[0];if(u==null)return u;u.length>1&&(l=u);let s=r(l);if(typeof s=="object")for(let h=s.length,g=0;g{i[r]={},Object.defineProperty(i[r],"channels",{value:c[r].channels}),Object.defineProperty(i[r],"labels",{value:c[r].labels});let a=f(r);Object.keys(a).forEach(l=>{let u=a[l];i[r][l]=t(u),i[r][l].raw=e(u)})}),o.exports=i}}),_=ce(ve());function C(){return(C=Object.assign||function(n){for(var o=1;o=0||(i[c]=n[c]);return i}function L(n){var o=v.useRef(n),c=v.useRef(function(f){o.current&&o.current(f)});return o.current=n,c.current}var O=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=1),n>c?c:n0:y.buttons>0)&&i.current?d(F(i.current,y,t.current)):b(!1)},g=function(){return b(!1)};function b(y){var p=r.current,w=B(i.current),E=y?w.addEventListener:w.removeEventListener;E(p?"touchmove":"mousemove",h),E(p?"touchend":"mouseup",g)}return[function(y){var p=y.nativeEvent,w=i.current;if(w&&(W(p),!function(k,P){return P&&!S(k)}(p,r.current)&&w)){if(S(p)){r.current=!0;var E=p.changedTouches||[];E.length&&(t.current=E[0].identifier)}w.focus(),d(F(w,p,t.current)),b(!0)}},function(y){var p=y.which||y.keyCode;p<37||p>40||(y.preventDefault(),e({left:p===39?.05:p===37?-.05:0,top:p===40?.05:p===38?-.05:0}))},b]},[e,d]),l=a[0],u=a[1],s=a[2];return v.useEffect(function(){return s},[s]),m.createElement("div",C({},f,{onTouchStart:l,onMouseDown:l,className:"react-colorful__interactive",ref:i,onKeyDown:u,tabIndex:0,role:"slider"}))}),N=function(n){return n.filter(Boolean).join(" ")},V=function(n){var o=n.color,c=n.left,f=n.top,i=f===void 0?.5:f,d=N(["react-colorful__pointer",n.className]);return m.createElement("div",{className:d,style:{top:100*i+"%",left:100*c+"%"}},m.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:o}}))},x=function(n,o,c){return o===void 0&&(o=0),c===void 0&&(c=Math.pow(10,o)),Math.round(c*n)/c},ye={grad:.9,turn:360,rad:360/(2*Math.PI)},xe=function(n){return re(X(n))},X=function(n){return n[0]==="#"&&(n=n.substring(1)),n.length<6?{r:parseInt(n[0]+n[0],16),g:parseInt(n[1]+n[1],16),b:parseInt(n[2]+n[2],16),a:n.length===4?x(parseInt(n[3]+n[3],16)/255,2):1}:{r:parseInt(n.substring(0,2),16),g:parseInt(n.substring(2,4),16),b:parseInt(n.substring(4,6),16),a:n.length===8?x(parseInt(n.substring(6,8),16)/255,2):1}},we=function(n,o){return o===void 0&&(o="deg"),Number(n)*(ye[o]||1)},ke=function(n){var o=/hsla?\(?\s*(-?\d*\.?\d+)(deg|rad|grad|turn)?[,\s]+(-?\d*\.?\d+)%?[,\s]+(-?\d*\.?\d+)%?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?_e({h:we(o[1],o[2]),s:Number(o[3]),l:Number(o[4]),a:o[5]===void 0?1:Number(o[5])/(o[6]?100:1)}):{h:0,s:0,v:0,a:1}},_e=function(n){var o=n.s,c=n.l;return{h:n.h,s:(o*=(c<50?c:100-c)/100)>0?2*o/(c+o)*100:0,v:c+o,a:n.a}},Ee=function(n){return Ce(ee(n))},Z=function(n){var o=n.s,c=n.v,f=n.a,i=(200-o)*c/100;return{h:x(n.h),s:x(i>0&&i<200?o*c/100/(i<=100?i:200-i)*100:0),l:x(i/2),a:x(f,2)}},G=function(n){var o=Z(n);return"hsl("+o.h+", "+o.s+"%, "+o.l+"%)"},I=function(n){var o=Z(n);return"hsla("+o.h+", "+o.s+"%, "+o.l+"%, "+o.a+")"},ee=function(n){var o=n.h,c=n.s,f=n.v,i=n.a;o=o/360*6,c/=100,f/=100;var d=Math.floor(o),e=f*(1-c),t=f*(1-(o-d)*c),r=f*(1-(1-o+d)*c),a=d%6;return{r:x(255*[f,t,e,e,r,f][a]),g:x(255*[r,f,f,t,e,e][a]),b:x(255*[e,e,r,f,f,t][a]),a:x(i,2)}},Me=function(n){var o=/rgba?\(?\s*(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?[,\s]+(-?\d*\.?\d+)(%)?,?\s*[/\s]*(-?\d*\.?\d+)?(%)?\s*\)?/i.exec(n);return o?re({r:Number(o[1])/(o[2]?100/255:1),g:Number(o[3])/(o[4]?100/255:1),b:Number(o[5])/(o[6]?100/255:1),a:o[7]===void 0?1:Number(o[7])/(o[8]?100:1)}):{h:0,s:0,v:0,a:1}},j=function(n){var o=n.toString(16);return o.length<2?"0"+o:o},Ce=function(n){var o=n.r,c=n.g,f=n.b,i=n.a,d=i<1?j(x(255*i)):"";return"#"+j(o)+j(c)+j(f)+d},re=function(n){var o=n.r,c=n.g,f=n.b,i=n.a,d=Math.max(o,c,f),e=d-Math.min(o,c,f),t=e?d===o?(c-f)/e:d===c?2+(f-o)/e:4+(o-c)/e:0;return{h:x(60*(t<0?t+6:t)),s:x(d?e/d*100:0),v:x(d/255*100),a:i}},te=m.memo(function(n){var o=n.hue,c=n.onChange,f=N(["react-colorful__hue",n.className]);return m.createElement("div",{className:f},m.createElement(T,{onMove:function(i){c({h:360*i.left})},onKey:function(i){c({h:O(o+360*i.left,0,360)})},"aria-label":"Hue","aria-valuenow":x(o),"aria-valuemax":"360","aria-valuemin":"0"},m.createElement(V,{className:"react-colorful__hue-pointer",left:o/360,color:G({h:o,s:100,v:100,a:1})})))}),ne=m.memo(function(n){var o=n.hsva,c=n.onChange,f={backgroundColor:G({h:o.h,s:100,v:100,a:1})};return m.createElement("div",{className:"react-colorful__saturation",style:f},m.createElement(T,{onMove:function(i){c({s:100*i.left,v:100-100*i.top})},onKey:function(i){c({s:O(o.s+100*i.left,0,100),v:O(o.v-100*i.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+x(o.s)+"%, Brightness "+x(o.v)+"%"},m.createElement(V,{className:"react-colorful__saturation-pointer",top:1-o.v/100,left:o.s/100,color:G(o)})))}),ae=function(n,o){if(n===o)return!0;for(var c in n)if(n[c]!==o[c])return!1;return!0},le=function(n,o){return n.replace(/\s/g,"")===o.replace(/\s/g,"")},$e=function(n,o){return n.toLowerCase()===o.toLowerCase()||ae(X(n),X(o))};function oe(n,o,c){var f=L(c),i=v.useState(function(){return n.toHsva(o)}),d=i[0],e=i[1],t=v.useRef({color:o,hsva:d});v.useEffect(function(){if(!n.equal(o,t.current.color)){var a=n.toHsva(o);t.current={hsva:a,color:o},e(a)}},[o,n]),v.useEffect(function(){var a;ae(d,t.current.hsva)||n.equal(a=n.fromHsva(d),t.current.color)||(t.current={hsva:d,color:a},f(a))},[d,n,f]);var r=v.useCallback(function(a){e(function(l){return Object.assign({},l,a)})},[]);return[d,r]}var Oe=typeof window<"u"?v.useLayoutEffect:v.useEffect,Se=function(){return typeof __webpack_nonce__<"u"?__webpack_nonce__:void 0},A=new Map,ue=function(n){Oe(function(){var o=n.current?n.current.ownerDocument:document;if(o!==void 0&&!A.has(o)){var c=o.createElement("style");c.innerHTML=`.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-color:transparent;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url('data:image/svg+xml;charset=utf-8,')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}`,A.set(o,c);var f=Se();f&&c.setAttribute("nonce",f),o.head.appendChild(c)}},[])},Ne=function(n){var o=n.className,c=n.colorModel,f=n.color,i=f===void 0?c.defaultColor:f,d=n.onChange,e=D(n,["className","colorModel","color","onChange"]),t=v.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l,className:"react-colorful__last-control"}))},je={defaultColor:"000",toHsva:xe,fromHsva:function(n){return Ee({h:n.h,s:n.s,v:n.v,a:1})},equal:$e},Re=function(n){return m.createElement(Ne,C({},n,{colorModel:je}))},ze=function(n){var o=n.className,c=n.hsva,f=n.onChange,i={backgroundImage:"linear-gradient(90deg, "+I(Object.assign({},c,{a:0}))+", "+I(Object.assign({},c,{a:1}))+")"},d=N(["react-colorful__alpha",o]),e=x(100*c.a);return m.createElement("div",{className:d},m.createElement("div",{className:"react-colorful__alpha-gradient",style:i}),m.createElement(T,{onMove:function(t){f({a:t.left})},onKey:function(t){f({a:O(c.a+t.left)})},"aria-label":"Alpha","aria-valuetext":e+"%","aria-valuenow":e,"aria-valuemin":"0","aria-valuemax":"100"},m.createElement(V,{className:"react-colorful__alpha-pointer",left:c.a,color:I(c)})))},ie=function(n){var o=n.className,c=n.colorModel,f=n.color,i=f===void 0?c.defaultColor:f,d=n.onChange,e=D(n,["className","colorModel","color","onChange"]),t=v.useRef(null);ue(t);var r=oe(c,i,d),a=r[0],l=r[1],u=N(["react-colorful",o]);return m.createElement("div",C({},e,{ref:t,className:u}),m.createElement(ne,{hsva:a,onChange:l}),m.createElement(te,{hue:a.h,onChange:l}),m.createElement(ze,{hsva:a,onChange:l,className:"react-colorful__last-control"}))},Ie={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:ke,fromHsva:I,equal:le},qe=function(n){return m.createElement(ie,C({},n,{colorModel:Ie}))},He={defaultColor:"rgba(0, 0, 0, 1)",toHsva:Me,fromHsva:function(n){var o=ee(n);return"rgba("+o.r+", "+o.g+", "+o.b+", "+o.a+")"},equal:le},Pe=function(n){return m.createElement(ie,C({},n,{colorModel:He}))},Le=M.div({position:"relative",maxWidth:250,'&[aria-readonly="true"]':{opacity:.5}}),Be=M(J)({position:"absolute",zIndex:1,top:4,left:4,"[aria-readonly=true] &":{cursor:"not-allowed"}}),Xe=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"}}),Ge=M(fe)(({theme:n})=>({fontFamily:n.typography.fonts.base})),Ke=M.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),De=M.div(({theme:n,active:o})=>({width:16,height:16,boxShadow:o?`${n.appBorderColor} 0 0 0 1px inset, ${n.textMutedColor}50 0 0 0 4px`:`${n.appBorderColor} 0 0 0 1px inset`,borderRadius:n.appBorderRadius})),Te=`url('data:image/svg+xml;charset=utf-8,')`,U=({value:n,style:o,...c})=>{let f=`linear-gradient(${n}, ${n}), ${Te}, linear-gradient(#fff, #fff)`;return m.createElement(De,{...c,style:{...o,backgroundImage:f}})},Ve=M(he.Input)(({theme:n,readOnly:o})=>({width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:n.typography.fonts.base})),Fe=M(de)(({theme:n})=>({position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:n.input.color})),se=(n=>(n.RGB="rgb",n.HSL="hsl",n.HEX="hex",n))(se||{}),R=Object.values(se),We=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,Ae=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,Ue=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,K=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,Ye=/^\s*#?([0-9a-f]{3})\s*$/i,Je={hex:Re,rgb:Pe,hsl:qe},z={hex:"transparent",rgb:"rgba(0, 0, 0, 0)",hsl:"hsla(0, 0%, 0%, 0)"},Y=n=>{let o=n==null?void 0:n.match(We);if(!o)return[0,0,0,1];let[,c,f,i,d=1]=o;return[c,f,i,d].map(Number)},$=n=>{if(!n)return;let o=!0;if(Ae.test(n)){let[e,t,r,a]=Y(n),[l,u,s]=_.default.rgb.hsl([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.rgb.keyword([e,t,r]),colorSpace:"rgb",rgb:n,hsl:`hsla(${l}, ${u}%, ${s}%, ${a})`,hex:`#${_.default.rgb.hex([e,t,r]).toLowerCase()}`}}if(Ue.test(n)){let[e,t,r,a]=Y(n),[l,u,s]=_.default.hsl.rgb([e,t,r])||[0,0,0];return{valid:o,value:n,keyword:_.default.hsl.keyword([e,t,r]),colorSpace:"hsl",rgb:`rgba(${l}, ${u}, ${s}, ${a})`,hsl:n,hex:`#${_.default.hsl.hex([e,t,r]).toLowerCase()}`}}let c=n.replace("#",""),f=_.default.keyword.rgb(c)||_.default.hex.rgb(c),i=_.default.rgb.hsl(f),d=n;if(/[^#a-f0-9]/i.test(n)?d=c:K.test(n)&&(d=`#${c}`),d.startsWith("#"))o=K.test(d);else try{_.default.keyword.hex(d)}catch{o=!1}return{valid:o,value:d,keyword:_.default.rgb.keyword(f),colorSpace:"hex",rgb:`rgba(${f[0]}, ${f[1]}, ${f[2]}, 1)`,hsl:`hsla(${i[0]}, ${i[1]}%, ${i[2]}%, 1)`,hex:d}},Qe=(n,o,c)=>{if(!n||!(o!=null&&o.valid))return z[c];if(c!=="hex")return(o==null?void 0:o[c])||z[c];if(!o.hex.startsWith("#"))try{return`#${_.default.keyword.hex(o.hex)}`}catch{return z.hex}let f=o.hex.match(Ye);if(!f)return K.test(o.hex)?o.hex:z.hex;let[i,d,e]=f[1].split("");return`#${i}${i}${d}${d}${e}${e}`},Ze=(n,o)=>{let[c,f]=v.useState(n||""),[i,d]=v.useState(()=>$(c)),[e,t]=v.useState((i==null?void 0:i.colorSpace)||"hex");v.useEffect(()=>{let u=n||"",s=$(u);f(u),d(s),t((s==null?void 0:s.colorSpace)||"hex")},[n]);let r=v.useMemo(()=>Qe(c,i,e).toLowerCase(),[c,i,e]),a=v.useCallback(u=>{let s=$(u),h=(s==null?void 0:s.value)||u||"";f(h),h===""&&(d(void 0),o(void 0)),s&&(d(s),t(s.colorSpace),o(s.value))},[o]),l=v.useCallback(()=>{let u=R.indexOf(e)+1;u>=R.length&&(u=0),t(R[u]);let s=(i==null?void 0:i[R[u]])||"";f(s),o(s)},[i,e,o]);return{value:c,realValue:r,updateValue:a,color:i,colorSpace:e,cycleColorSpace:l}},q=n=>n.replace(/\s*/,"").toLowerCase(),er=(n,o,c)=>{let[f,i]=v.useState(o!=null&&o.valid?[o]:[]);v.useEffect(()=>{o===void 0&&i([])},[o]);let d=v.useMemo(()=>(n||[]).map(t=>typeof t=="string"?$(t):t.title?{...$(t.color),keyword:t.title}:$(t.color)).concat(f).filter(Boolean).slice(-27),[n,f]),e=v.useCallback(t=>{t!=null&&t.valid&&(d.some(r=>q(r[c])===q(t[c]))||i(r=>r.concat(t)))},[c,d]);return{presets:d,addPreset:e}},rr=({name:n,value:o,onChange:c,onFocus:f,onBlur:i,presetColors:d,startOpen:e=!1,argType:t})=>{var E;let r=v.useCallback(ge(c,200),[c]),{value:a,realValue:l,updateValue:u,color:s,colorSpace:h,cycleColorSpace:g}=Ze(o,r),{presets:b,addPreset:y}=er(d,s,h),p=Je[h],w=!!((E=t==null?void 0:t.table)!=null&&E.readonly);return m.createElement(Le,{"aria-readonly":w},m.createElement(Be,{startOpen:e,trigger:w?[null]:void 0,closeOnOutsideClick:!0,onVisibleChange:()=>y(s),tooltip:m.createElement(Xe,null,m.createElement(p,{color:l==="transparent"?"#000000":l,onChange:u,onFocus:f,onBlur:i}),b.length>0&&m.createElement(Ke,null,b.map((k,P)=>m.createElement(J,{key:`${k.value}-${P}`,hasChrome:!1,tooltip:m.createElement(Ge,{note:k.keyword||k.value})},m.createElement(U,{value:k[h],active:s&&q(k[h])===q(s[h]),onClick:()=>u(k.value)})))))},m.createElement(U,{value:l,style:{margin:4}})),m.createElement(Ve,{id:be(n),value:a,onChange:k=>u(k.target.value),onFocus:k=>k.target.select(),readOnly:w,placeholder:"Choose color..."}),a?m.createElement(Fe,{onClick:g}):null)},cr=rr;export{rr as ColorControl,cr as default}; diff --git a/docs/assets/DocsRenderer-CFRXHY34-C-lwOz6c.js b/docs/assets/DocsRenderer-CFRXHY34-C-lwOz6c.js deleted file mode 100644 index 03617ce..0000000 --- a/docs/assets/DocsRenderer-CFRXHY34-C-lwOz6c.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-DwOlTBOG.js","./index-2yJIXLcc.js"])))=>i.map(i=>d[i]); -import{_ as p}from"./iframe-WubvJSwf.js";import{R as e,r as c}from"./index-2yJIXLcc.js";import{ae as l,af as u,ag as h,ah as E}from"./index-BZ6JnuF_.js";import{renderElement as d,unmountElement as x}from"./react-18-CXVsXkgG.js";import"../sb-preview/runtime.js";import"./index-BoIHHXGu.js";import"./index-Bn05qqr6.js";import"./index-BriWrUx_.js";import"./index-CHGET4sZ.js";import"./index-DrFu-skq.js";var _={code:l,a:u,...h},D=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},O=class{constructor(){this.render=async(t,r,n)=>{let s={..._,...r==null?void 0:r.components},a=E;return new Promise((m,i)=>{p(async()=>{const{MDXProvider:o}=await import("./index-DwOlTBOG.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>d(e.createElement(D,{showException:i,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>m())})},this.unmount=t=>{x(t)}}};export{O as DocsRenderer,_ as defaultComponents}; diff --git a/docs/assets/DocsRenderer-CFRXHY34-Dhqwvr-G.js b/docs/assets/DocsRenderer-CFRXHY34-Dhqwvr-G.js new file mode 100644 index 0000000..de9f7d1 --- /dev/null +++ b/docs/assets/DocsRenderer-CFRXHY34-Dhqwvr-G.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-npCMkmsx.js","./index-CZMpeKRu.js"])))=>i.map(i=>d[i]); +import{_ as p}from"./iframe-C46LtgJg.js";import{R as e,r as c}from"./index-CZMpeKRu.js";import{C as u,A as l,H as h,D as d}from"./index-BQHE_i7f.js";import{renderElement as E,unmountElement as x}from"./react-18-BIATD0Zn.js";import"./index-Dja51o-9.js";import"./index-D-TIQtLp.js";import"./index-BfiLiMku.js";import"./index-NOh9rqHv.js";import"./index-ogSvIofg.js";var D={code:u,a:l,...h},_=class extends c.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(t){let{showException:r}=this.props;r(t)}render(){let{hasError:t}=this.state,{children:r}=this.props;return t?null:e.createElement(e.Fragment,null,r)}},F=class{constructor(){this.render=async(t,r,n)=>{let s={...D,...r==null?void 0:r.components},a=d;return new Promise((m,i)=>{p(async()=>{const{MDXProvider:o}=await import("./index-npCMkmsx.js");return{MDXProvider:o}},__vite__mapDeps([0,1]),import.meta.url).then(({MDXProvider:o})=>E(e.createElement(_,{showException:i,key:Math.random()},e.createElement(o,{components:s},e.createElement(a,{context:t,docsParameter:r}))),n)).then(()=>m())})},this.unmount=t=>{x(t)}}};export{F as DocsRenderer,D as defaultComponents}; diff --git a/docs/assets/chunk-XP5HYGXS-BGCqD1aY.js b/docs/assets/chunk-XP5HYGXS-BGCqD1aY.js deleted file mode 100644 index 06f6f29..0000000 --- a/docs/assets/chunk-XP5HYGXS-BGCqD1aY.js +++ /dev/null @@ -1 +0,0 @@ -var s=Object.create,a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,u=Object.getPrototypeOf,O=Object.prototype.hasOwnProperty,l=(e,r)=>function(){return e&&(r=(0,e[o(e)[0]])(e=0)),r},v=(e,r)=>function(){return r||(0,e[o(e)[0]])((r={exports:{}}).exports,r),r.exports},b=(e,r)=>{for(var t in r)a(e,t,{get:r[t],enumerable:!0})},n=(e,r,t,p)=>{if(r&&typeof r=="object"||typeof r=="function")for(let _ of o(r))!O.call(e,_)&&_!==t&&a(e,_,{get:()=>r[_],enumerable:!(p=c(r,_))||p.enumerable});return e},P=(e,r,t)=>(t=e!=null?s(u(e)):{},n(!e||!e.__esModule?a(t,"default",{value:e,enumerable:!0}):t,e)),y=e=>n(a({},"__esModule",{value:!0}),e);export{b as _,P as a,v as b,l as c,y as d}; diff --git a/docs/assets/entry-preview-CQN1ic9T.js b/docs/assets/entry-preview-CQN1ic9T.js new file mode 100644 index 0000000..a3ee543 --- /dev/null +++ b/docs/assets/entry-preview-CQN1ic9T.js @@ -0,0 +1,10 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-BIATD0Zn.js","./index-CZMpeKRu.js","./index-D-TIQtLp.js"])))=>i.map(i=>d[i]); +import{_ as Oe}from"./iframe-C46LtgJg.js";import{_ as je,a as Pe,b as N}from"./react--gDPKqWp.js";import{a as Ce,R as Y,r as k}from"./index-CZMpeKRu.js";var le={exports:{}},oe={};/** + * @license React + * react-dom-test-utils.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Ie;function ye(){if(Ie)return oe;Ie=1;var m=Ce(),i=!1;return oe.act=function(t){return i===!1&&(i=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),m.act(t)},oe}var Le;function De(){return Le||(Le=1,le.exports=ye()),le.exports}De();var ue={};const{global:qe}=__STORYBOOK_MODULE_GLOBAL__;var Z=N({"../../node_modules/semver/internal/constants.js"(m,i){var t="2.0.0",o=Number.MAX_SAFE_INTEGER||9007199254740991,l=16,s=250,u=["major","premajor","minor","preminor","patch","prepatch","prerelease"];i.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:l,MAX_SAFE_BUILD_LENGTH:s,MAX_SAFE_INTEGER:o,RELEASE_TYPES:u,SEMVER_SPEC_VERSION:t,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),J=N({"../../node_modules/semver/internal/debug.js"(m,i){var t=typeof process=="object"&&ue&&ue.NODE_DEBUG&&/\bsemver\b/i.test(ue.NODE_DEBUG)?(...o)=>console.error("SEMVER",...o):()=>{};i.exports=t}}),z=N({"../../node_modules/semver/internal/re.js"(m,i){var{MAX_SAFE_COMPONENT_LENGTH:t,MAX_SAFE_BUILD_LENGTH:o,MAX_LENGTH:l}=Z(),s=J();m=i.exports={};var u=m.re=[],h=m.safeRe=[],e=m.src=[],r=m.t={},L=0,a="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",l],[a,o]],c=f=>{for(let[O,S]of p)f=f.split(`${O}*`).join(`${O}{0,${S}}`).split(`${O}+`).join(`${O}{1,${S}}`);return f},n=(f,O,S)=>{let g=c(O),P=L++;s(f,P,O),r[f]=P,e[P]=O,u[P]=new RegExp(O,S?"g":void 0),h[P]=new RegExp(g,S?"g":void 0)};n("NUMERICIDENTIFIER","0|[1-9]\\d*"),n("NUMERICIDENTIFIERLOOSE","\\d+"),n("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${a}*`),n("MAINVERSION",`(${e[r.NUMERICIDENTIFIER]})\\.(${e[r.NUMERICIDENTIFIER]})\\.(${e[r.NUMERICIDENTIFIER]})`),n("MAINVERSIONLOOSE",`(${e[r.NUMERICIDENTIFIERLOOSE]})\\.(${e[r.NUMERICIDENTIFIERLOOSE]})\\.(${e[r.NUMERICIDENTIFIERLOOSE]})`),n("PRERELEASEIDENTIFIER",`(?:${e[r.NUMERICIDENTIFIER]}|${e[r.NONNUMERICIDENTIFIER]})`),n("PRERELEASEIDENTIFIERLOOSE",`(?:${e[r.NUMERICIDENTIFIERLOOSE]}|${e[r.NONNUMERICIDENTIFIER]})`),n("PRERELEASE",`(?:-(${e[r.PRERELEASEIDENTIFIER]}(?:\\.${e[r.PRERELEASEIDENTIFIER]})*))`),n("PRERELEASELOOSE",`(?:-?(${e[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${e[r.PRERELEASEIDENTIFIERLOOSE]})*))`),n("BUILDIDENTIFIER",`${a}+`),n("BUILD",`(?:\\+(${e[r.BUILDIDENTIFIER]}(?:\\.${e[r.BUILDIDENTIFIER]})*))`),n("FULLPLAIN",`v?${e[r.MAINVERSION]}${e[r.PRERELEASE]}?${e[r.BUILD]}?`),n("FULL",`^${e[r.FULLPLAIN]}$`),n("LOOSEPLAIN",`[v=\\s]*${e[r.MAINVERSIONLOOSE]}${e[r.PRERELEASELOOSE]}?${e[r.BUILD]}?`),n("LOOSE",`^${e[r.LOOSEPLAIN]}$`),n("GTLT","((?:<|>)?=?)"),n("XRANGEIDENTIFIERLOOSE",`${e[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),n("XRANGEIDENTIFIER",`${e[r.NUMERICIDENTIFIER]}|x|X|\\*`),n("XRANGEPLAIN",`[v=\\s]*(${e[r.XRANGEIDENTIFIER]})(?:\\.(${e[r.XRANGEIDENTIFIER]})(?:\\.(${e[r.XRANGEIDENTIFIER]})(?:${e[r.PRERELEASE]})?${e[r.BUILD]}?)?)?`),n("XRANGEPLAINLOOSE",`[v=\\s]*(${e[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[r.XRANGEIDENTIFIERLOOSE]})(?:${e[r.PRERELEASELOOSE]})?${e[r.BUILD]}?)?)?`),n("XRANGE",`^${e[r.GTLT]}\\s*${e[r.XRANGEPLAIN]}$`),n("XRANGELOOSE",`^${e[r.GTLT]}\\s*${e[r.XRANGEPLAINLOOSE]}$`),n("COERCEPLAIN",`(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?`),n("COERCE",`${e[r.COERCEPLAIN]}(?:$|[^\\d])`),n("COERCEFULL",e[r.COERCEPLAIN]+`(?:${e[r.PRERELEASE]})?(?:${e[r.BUILD]})?(?:$|[^\\d])`),n("COERCERTL",e[r.COERCE],!0),n("COERCERTLFULL",e[r.COERCEFULL],!0),n("LONETILDE","(?:~>?)"),n("TILDETRIM",`(\\s*)${e[r.LONETILDE]}\\s+`,!0),m.tildeTrimReplace="$1~",n("TILDE",`^${e[r.LONETILDE]}${e[r.XRANGEPLAIN]}$`),n("TILDELOOSE",`^${e[r.LONETILDE]}${e[r.XRANGEPLAINLOOSE]}$`),n("LONECARET","(?:\\^)"),n("CARETTRIM",`(\\s*)${e[r.LONECARET]}\\s+`,!0),m.caretTrimReplace="$1^",n("CARET",`^${e[r.LONECARET]}${e[r.XRANGEPLAIN]}$`),n("CARETLOOSE",`^${e[r.LONECARET]}${e[r.XRANGEPLAINLOOSE]}$`),n("COMPARATORLOOSE",`^${e[r.GTLT]}\\s*(${e[r.LOOSEPLAIN]})$|^$`),n("COMPARATOR",`^${e[r.GTLT]}\\s*(${e[r.FULLPLAIN]})$|^$`),n("COMPARATORTRIM",`(\\s*)${e[r.GTLT]}\\s*(${e[r.LOOSEPLAIN]}|${e[r.XRANGEPLAIN]})`,!0),m.comparatorTrimReplace="$1$2$3",n("HYPHENRANGE",`^\\s*(${e[r.XRANGEPLAIN]})\\s+-\\s+(${e[r.XRANGEPLAIN]})\\s*$`),n("HYPHENRANGELOOSE",`^\\s*(${e[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${e[r.XRANGEPLAINLOOSE]})\\s*$`),n("STAR","(<|>)?=?\\s*\\*"),n("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),n("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),he=N({"../../node_modules/semver/internal/parse-options.js"(m,i){var t=Object.freeze({loose:!0}),o=Object.freeze({}),l=s=>s?typeof s!="object"?t:s:o;i.exports=l}}),Se=N({"../../node_modules/semver/internal/identifiers.js"(m,i){var t=/^[0-9]+$/,o=(s,u)=>{let h=t.test(s),e=t.test(u);return h&&e&&(s=+s,u=+u),s===u?0:h&&!e?-1:e&&!h?1:so(u,s);i.exports={compareIdentifiers:o,rcompareIdentifiers:l}}}),q=N({"../../node_modules/semver/classes/semver.js"(m,i){var t=J(),{MAX_LENGTH:o,MAX_SAFE_INTEGER:l}=Z(),{safeRe:s,t:u}=z(),h=he(),{compareIdentifiers:e}=Se(),r=class X{constructor(a,p){if(p=h(p),a instanceof X){if(a.loose===!!p.loose&&a.includePrerelease===!!p.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>o)throw new TypeError(`version is longer than ${o} characters`);t("SemVer",a,p),this.options=p,this.loose=!!p.loose,this.includePrerelease=!!p.includePrerelease;let c=a.trim().match(p.loose?s[u.LOOSE]:s[u.FULL]);if(!c)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+c[1],this.minor=+c[2],this.patch=+c[3],this.major>l||this.major<0)throw new TypeError("Invalid major version");if(this.minor>l||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>l||this.patch<0)throw new TypeError("Invalid patch version");c[4]?this.prerelease=c[4].split(".").map(n=>{if(/^[0-9]+$/.test(n)){let f=+n;if(f>=0&&f=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(p===this.prerelease.join(".")&&c===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(n)}}if(p){let f=[p,n];c===!1&&(f=[p]),e(this.prerelease[0],p)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};i.exports=r}}),H=N({"../../node_modules/semver/functions/parse.js"(m,i){var t=q(),o=(l,s,u=!1)=>{if(l instanceof t)return l;try{return new t(l,s)}catch(h){if(!u)return null;throw h}};i.exports=o}}),Ge=N({"../../node_modules/semver/functions/valid.js"(m,i){var t=H(),o=(l,s)=>{let u=t(l,s);return u?u.version:null};i.exports=o}}),Fe=N({"../../node_modules/semver/functions/clean.js"(m,i){var t=H(),o=(l,s)=>{let u=t(l.trim().replace(/^[=v]+/,""),s);return u?u.version:null};i.exports=o}}),Ue=N({"../../node_modules/semver/functions/inc.js"(m,i){var t=q(),o=(l,s,u,h,e)=>{typeof u=="string"&&(e=h,h=u,u=void 0);try{return new t(l instanceof t?l.version:l,u).inc(s,h,e).version}catch{return null}};i.exports=o}}),Ve=N({"../../node_modules/semver/functions/diff.js"(m,i){var t=H(),o=(l,s)=>{let u=t(l,null,!0),h=t(s,null,!0),e=u.compare(h);if(e===0)return null;let r=e>0,L=r?u:h,a=r?h:u,p=!!L.prerelease.length;if(a.prerelease.length&&!p)return!a.patch&&!a.minor?"major":L.patch?"patch":L.minor?"minor":"major";let c=p?"pre":"";return u.major!==h.major?c+"major":u.minor!==h.minor?c+"minor":u.patch!==h.patch?c+"patch":"prerelease"};i.exports=o}}),Xe=N({"../../node_modules/semver/functions/major.js"(m,i){var t=q(),o=(l,s)=>new t(l,s).major;i.exports=o}}),be=N({"../../node_modules/semver/functions/minor.js"(m,i){var t=q(),o=(l,s)=>new t(l,s).minor;i.exports=o}}),ke=N({"../../node_modules/semver/functions/patch.js"(m,i){var t=q(),o=(l,s)=>new t(l,s).patch;i.exports=o}}),Me=N({"../../node_modules/semver/functions/prerelease.js"(m,i){var t=H(),o=(l,s)=>{let u=t(l,s);return u&&u.prerelease.length?u.prerelease:null};i.exports=o}}),U=N({"../../node_modules/semver/functions/compare.js"(m,i){var t=q(),o=(l,s,u)=>new t(l,u).compare(new t(s,u));i.exports=o}}),He=N({"../../node_modules/semver/functions/rcompare.js"(m,i){var t=U(),o=(l,s,u)=>t(s,l,u);i.exports=o}}),Be=N({"../../node_modules/semver/functions/compare-loose.js"(m,i){var t=U(),o=(l,s)=>t(l,s,!0);i.exports=o}}),fe=N({"../../node_modules/semver/functions/compare-build.js"(m,i){var t=q(),o=(l,s,u)=>{let h=new t(l,u),e=new t(s,u);return h.compare(e)||h.compareBuild(e)};i.exports=o}}),We=N({"../../node_modules/semver/functions/sort.js"(m,i){var t=fe(),o=(l,s)=>l.sort((u,h)=>t(u,h,s));i.exports=o}}),Ye=N({"../../node_modules/semver/functions/rsort.js"(m,i){var t=fe(),o=(l,s)=>l.sort((u,h)=>t(h,u,s));i.exports=o}}),ee=N({"../../node_modules/semver/functions/gt.js"(m,i){var t=U(),o=(l,s,u)=>t(l,s,u)>0;i.exports=o}}),de=N({"../../node_modules/semver/functions/lt.js"(m,i){var t=U(),o=(l,s,u)=>t(l,s,u)<0;i.exports=o}}),Ae=N({"../../node_modules/semver/functions/eq.js"(m,i){var t=U(),o=(l,s,u)=>t(l,s,u)===0;i.exports=o}}),ge=N({"../../node_modules/semver/functions/neq.js"(m,i){var t=U(),o=(l,s,u)=>t(l,s,u)!==0;i.exports=o}}),ve=N({"../../node_modules/semver/functions/gte.js"(m,i){var t=U(),o=(l,s,u)=>t(l,s,u)>=0;i.exports=o}}),Re=N({"../../node_modules/semver/functions/lte.js"(m,i){var t=U(),o=(l,s,u)=>t(l,s,u)<=0;i.exports=o}}),we=N({"../../node_modules/semver/functions/cmp.js"(m,i){var t=Ae(),o=ge(),l=ee(),s=ve(),u=de(),h=Re(),e=(r,L,a,p)=>{switch(L){case"===":return typeof r=="object"&&(r=r.version),typeof a=="object"&&(a=a.version),r===a;case"!==":return typeof r=="object"&&(r=r.version),typeof a=="object"&&(a=a.version),r!==a;case"":case"=":case"==":return t(r,a,p);case"!=":return o(r,a,p);case">":return l(r,a,p);case">=":return s(r,a,p);case"<":return u(r,a,p);case"<=":return h(r,a,p);default:throw new TypeError(`Invalid operator: ${L}`)}};i.exports=e}}),ze=N({"../../node_modules/semver/functions/coerce.js"(m,i){var t=q(),o=H(),{safeRe:l,t:s}=z(),u=(h,e)=>{if(h instanceof t)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;e=e||{};let r=null;if(!e.rtl)r=h.match(e.includePrerelease?l[s.COERCEFULL]:l[s.COERCE]);else{let f=e.includePrerelease?l[s.COERCERTLFULL]:l[s.COERCERTL],O;for(;(O=f.exec(h))&&(!r||r.index+r[0].length!==h.length);)(!r||O.index+O[0].length!==r.index+r[0].length)&&(r=O),f.lastIndex=O.index+O[1].length+O[2].length;f.lastIndex=-1}if(r===null)return null;let L=r[2],a=r[3]||"0",p=r[4]||"0",c=e.includePrerelease&&r[5]?`-${r[5]}`:"",n=e.includePrerelease&&r[6]?`+${r[6]}`:"";return o(`${L}.${a}.${p}${c}${n}`,e)};i.exports=u}}),Ke=N({"../../node_modules/semver/internal/lrucache.js"(m,i){var t=class{constructor(){this.max=1e3,this.map=new Map}get(o){let l=this.map.get(o);if(l!==void 0)return this.map.delete(o),this.map.set(o,l),l}delete(o){return this.map.delete(o)}set(o,l){if(!this.delete(o)&&l!==void 0){if(this.map.size>=this.max){let s=this.map.keys().next().value;this.delete(s)}this.map.set(o,l)}return this}};i.exports=t}}),V=N({"../../node_modules/semver/classes/range.js"(m,i){var t=/\s+/g,o=class K{constructor(E,$){if($=u($),E instanceof K)return E.loose===!!$.loose&&E.includePrerelease===!!$.includePrerelease?E:new K(E.raw,$);if(E instanceof h)return this.raw=E.value,this.set=[[E]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=E.trim().replace(t," "),this.set=this.raw.split("||").map(v=>this.parseRange(v.trim())).filter(v=>v.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let v=this.set[0];if(this.set=this.set.filter(I=>!S(I[0])),this.set.length===0)this.set=[v];else if(this.set.length>1){for(let I of this.set)if(I.length===1&&g(I[0])){this.set=[I];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let E=0;E0&&(this.formatted+="||");let $=this.set[E];for(let v=0;v<$.length;v++)v>0&&(this.formatted+=" "),this.formatted+=$[v].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(E){let $=((this.options.includePrerelease&&f)|(this.options.loose&&O))+":"+E,v=s.get($);if(v)return v;let I=this.options.loose,R=I?L[a.HYPHENRANGELOOSE]:L[a.HYPHENRANGE];E=E.replace(R,ne(this.options.includePrerelease)),e("hyphen replace",E),E=E.replace(L[a.COMPARATORTRIM],p),e("comparator trim",E),E=E.replace(L[a.TILDETRIM],c),e("tilde trim",E),E=E.replace(L[a.CARETTRIM],n),e("caret trim",E);let _=E.split(" ").map(j=>F(j,this.options)).join(" ").split(/\s+/).map(j=>ae(j,this.options));I&&(_=_.filter(j=>(e("loose invalid filter",j,this.options),!!j.match(L[a.COMPARATORLOOSE])))),e("range list",_);let w=new Map,A=_.map(j=>new h(j,this.options));for(let j of A){if(S(j))return[j];w.set(j.value,j)}w.size>1&&w.has("")&&w.delete("");let x=[...w.values()];return s.set($,x),x}intersects(E,$){if(!(E instanceof K))throw new TypeError("a Range is required");return this.set.some(v=>P(v,$)&&E.set.some(I=>P(I,$)&&v.every(R=>I.every(_=>R.intersects(_,$)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new r(E,this.options)}catch{return!1}for(let $=0;$d.value==="<0.0.0-0",g=d=>d.value==="",P=(d,E)=>{let $=!0,v=d.slice(),I=v.pop();for(;$&&v.length;)$=v.every(R=>I.intersects(R,E)),I=v.pop();return $},F=(d,E)=>(e("comp",d,E),d=y(d,E),e("caret",d),d=b(d,E),e("tildes",d),d=T(d,E),e("xrange",d),d=se(d,E),e("stars",d),d),C=d=>!d||d.toLowerCase()==="x"||d==="*",b=(d,E)=>d.trim().split(/\s+/).map($=>G($,E)).join(" "),G=(d,E)=>{let $=E.loose?L[a.TILDELOOSE]:L[a.TILDE];return d.replace($,(v,I,R,_,w)=>{e("tilde",d,v,I,R,_,w);let A;return C(I)?A="":C(R)?A=`>=${I}.0.0 <${+I+1}.0.0-0`:C(_)?A=`>=${I}.${R}.0 <${I}.${+R+1}.0-0`:w?(e("replaceTilde pr",w),A=`>=${I}.${R}.${_}-${w} <${I}.${+R+1}.0-0`):A=`>=${I}.${R}.${_} <${I}.${+R+1}.0-0`,e("tilde return",A),A})},y=(d,E)=>d.trim().split(/\s+/).map($=>D($,E)).join(" "),D=(d,E)=>{e("caret",d,E);let $=E.loose?L[a.CARETLOOSE]:L[a.CARET],v=E.includePrerelease?"-0":"";return d.replace($,(I,R,_,w,A)=>{e("caret",d,I,R,_,w,A);let x;return C(R)?x="":C(_)?x=`>=${R}.0.0${v} <${+R+1}.0.0-0`:C(w)?R==="0"?x=`>=${R}.${_}.0${v} <${R}.${+_+1}.0-0`:x=`>=${R}.${_}.0${v} <${+R+1}.0.0-0`:A?(e("replaceCaret pr",A),R==="0"?_==="0"?x=`>=${R}.${_}.${w}-${A} <${R}.${_}.${+w+1}-0`:x=`>=${R}.${_}.${w}-${A} <${R}.${+_+1}.0-0`:x=`>=${R}.${_}.${w}-${A} <${+R+1}.0.0-0`):(e("no pr"),R==="0"?_==="0"?x=`>=${R}.${_}.${w}${v} <${R}.${_}.${+w+1}-0`:x=`>=${R}.${_}.${w}${v} <${R}.${+_+1}.0-0`:x=`>=${R}.${_}.${w} <${+R+1}.0.0-0`),e("caret return",x),x})},T=(d,E)=>(e("replaceXRanges",d,E),d.split(/\s+/).map($=>B($,E)).join(" ")),B=(d,E)=>{d=d.trim();let $=E.loose?L[a.XRANGELOOSE]:L[a.XRANGE];return d.replace($,(v,I,R,_,w,A)=>{e("xRange",d,v,I,R,_,w,A);let x=C(R),j=x||C(_),M=j||C(w),W=M;return I==="="&&W&&(I=""),A=E.includePrerelease?"-0":"",x?I===">"||I==="<"?v="<0.0.0-0":v="*":I&&W?(j&&(_=0),w=0,I===">"?(I=">=",j?(R=+R+1,_=0,w=0):(_=+_+1,w=0)):I==="<="&&(I="<",j?R=+R+1:_=+_+1),I==="<"&&(A="-0"),v=`${I+R}.${_}.${w}${A}`):j?v=`>=${R}.0.0${A} <${+R+1}.0.0-0`:M&&(v=`>=${R}.${_}.0${A} <${R}.${+_+1}.0-0`),e("xRange return",v),v})},se=(d,E)=>(e("replaceStars",d,E),d.trim().replace(L[a.STAR],"")),ae=(d,E)=>(e("replaceGTE0",d,E),d.trim().replace(L[E.includePrerelease?a.GTE0PRE:a.GTE0],"")),ne=d=>(E,$,v,I,R,_,w,A,x,j,M,W)=>(C(v)?$="":C(I)?$=`>=${v}.0.0${d?"-0":""}`:C(R)?$=`>=${v}.${I}.0${d?"-0":""}`:_?$=`>=${$}`:$=`>=${$}${d?"-0":""}`,C(x)?A="":C(j)?A=`<${+x+1}.0.0-0`:C(M)?A=`<${x}.${+j+1}.0-0`:W?A=`<=${x}.${j}.${M}-${W}`:d?A=`<${x}.${j}.${+M+1}-0`:A=`<=${A}`,`${$} ${A}`.trim()),ie=(d,E,$)=>{for(let v=0;v0){let I=d[v].semver;if(I.major===E.major&&I.minor===E.minor&&I.patch===E.patch)return!0}return!1}return!0}}}),re=N({"../../node_modules/semver/classes/comparator.js"(m,i){var t=Symbol("SemVer ANY"),o=class me{static get ANY(){return t}constructor(p,c){if(c=l(c),p instanceof me){if(p.loose===!!c.loose)return p;p=p.value}p=p.trim().split(/\s+/).join(" "),e("comparator",p,c),this.options=c,this.loose=!!c.loose,this.parse(p),this.semver===t?this.value="":this.value=this.operator+this.semver.version,e("comp",this)}parse(p){let c=this.options.loose?s[u.COMPARATORLOOSE]:s[u.COMPARATOR],n=p.match(c);if(!n)throw new TypeError(`Invalid comparator: ${p}`);this.operator=n[1]!==void 0?n[1]:"",this.operator==="="&&(this.operator=""),n[2]?this.semver=new r(n[2],this.options.loose):this.semver=t}toString(){return this.value}test(p){if(e("Comparator.test",p,this.options.loose),this.semver===t||p===t)return!0;if(typeof p=="string")try{p=new r(p,this.options)}catch{return!1}return h(p,this.operator,this.semver,this.options)}intersects(p,c){if(!(p instanceof me))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new L(p.value,c).test(this.value):p.operator===""?p.value===""?!0:new L(this.value,c).test(p.semver):(c=l(c),c.includePrerelease&&(this.value==="<0.0.0-0"||p.value==="<0.0.0-0")||!c.includePrerelease&&(this.value.startsWith("<0.0.0")||p.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&p.operator.startsWith(">")||this.operator.startsWith("<")&&p.operator.startsWith("<")||this.semver.version===p.semver.version&&this.operator.includes("=")&&p.operator.includes("=")||h(this.semver,"<",p.semver,c)&&this.operator.startsWith(">")&&p.operator.startsWith("<")||h(this.semver,">",p.semver,c)&&this.operator.startsWith("<")&&p.operator.startsWith(">")))}};i.exports=o;var l=he(),{safeRe:s,t:u}=z(),h=we(),e=J(),r=q(),L=V()}}),te=N({"../../node_modules/semver/functions/satisfies.js"(m,i){var t=V(),o=(l,s,u)=>{try{s=new t(s,u)}catch{return!1}return s.test(l)};i.exports=o}}),Qe=N({"../../node_modules/semver/ranges/to-comparators.js"(m,i){var t=V(),o=(l,s)=>new t(l,s).set.map(u=>u.map(h=>h.value).join(" ").trim().split(" "));i.exports=o}}),Ze=N({"../../node_modules/semver/ranges/max-satisfying.js"(m,i){var t=q(),o=V(),l=(s,u,h)=>{let e=null,r=null,L=null;try{L=new o(u,h)}catch{return null}return s.forEach(a=>{L.test(a)&&(!e||r.compare(a)===-1)&&(e=a,r=new t(e,h))}),e};i.exports=l}}),Je=N({"../../node_modules/semver/ranges/min-satisfying.js"(m,i){var t=q(),o=V(),l=(s,u,h)=>{let e=null,r=null,L=null;try{L=new o(u,h)}catch{return null}return s.forEach(a=>{L.test(a)&&(!e||r.compare(a)===1)&&(e=a,r=new t(e,h))}),e};i.exports=l}}),er=N({"../../node_modules/semver/ranges/min-version.js"(m,i){var t=q(),o=V(),l=ee(),s=(u,h)=>{u=new o(u,h);let e=new t("0.0.0");if(u.test(e)||(e=new t("0.0.0-0"),u.test(e)))return e;e=null;for(let r=0;r{let c=new t(p.semver.version);switch(p.operator){case">":c.prerelease.length===0?c.patch++:c.prerelease.push(0),c.raw=c.format();case"":case">=":(!a||l(c,a))&&(a=c);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${p.operator}`)}}),a&&(!e||l(e,a))&&(e=a)}return e&&u.test(e)?e:null};i.exports=s}}),rr=N({"../../node_modules/semver/ranges/valid.js"(m,i){var t=V(),o=(l,s)=>{try{return new t(l,s).range||"*"}catch{return null}};i.exports=o}}),$e=N({"../../node_modules/semver/ranges/outside.js"(m,i){var t=q(),o=re(),{ANY:l}=o,s=V(),u=te(),h=ee(),e=de(),r=Re(),L=ve(),a=(p,c,n,f)=>{p=new t(p,f),c=new s(c,f);let O,S,g,P,F;switch(n){case">":O=h,S=r,g=e,P=">",F=">=";break;case"<":O=e,S=L,g=h,P="<",F="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(u(p,c,f))return!1;for(let C=0;C{D.semver===l&&(D=new o(">=0.0.0")),G=G||D,y=y||D,O(D.semver,G.semver,f)?G=D:g(D.semver,y.semver,f)&&(y=D)}),G.operator===P||G.operator===F||(!y.operator||y.operator===P)&&S(p,y.semver)||y.operator===F&&g(p,y.semver))return!1}return!0};i.exports=a}}),tr=N({"../../node_modules/semver/ranges/gtr.js"(m,i){var t=$e(),o=(l,s,u)=>t(l,s,">",u);i.exports=o}}),sr=N({"../../node_modules/semver/ranges/ltr.js"(m,i){var t=$e(),o=(l,s,u)=>t(l,s,"<",u);i.exports=o}}),ar=N({"../../node_modules/semver/ranges/intersects.js"(m,i){var t=V(),o=(l,s,u)=>(l=new t(l,u),s=new t(s,u),l.intersects(s,u));i.exports=o}}),nr=N({"../../node_modules/semver/ranges/simplify.js"(m,i){var t=te(),o=U();i.exports=(l,s,u)=>{let h=[],e=null,r=null,L=l.sort((n,f)=>o(n,f,u));for(let n of L)t(n,s,u)?(r=n,e||(e=n)):(r&&h.push([e,r]),r=null,e=null);e&&h.push([e,null]);let a=[];for(let[n,f]of h)n===f?a.push(n):!f&&n===L[0]?a.push("*"):f?n===L[0]?a.push(`<=${f}`):a.push(`${n} - ${f}`):a.push(`>=${n}`);let p=a.join(" || "),c=typeof s.raw=="string"?s.raw:String(s);return p.length{if(c===n)return!0;c=new t(c,f),n=new t(n,f);let O=!1;e:for(let S of c.set){for(let g of n.set){let P=L(S,g,f);if(O=O||P!==null,P)continue e}if(O)return!1}return!0},e=[new o(">=0.0.0-0")],r=[new o(">=0.0.0")],L=(c,n,f)=>{if(c===n)return!0;if(c.length===1&&c[0].semver===l){if(n.length===1&&n[0].semver===l)return!0;f.includePrerelease?c=e:c=r}if(n.length===1&&n[0].semver===l){if(f.includePrerelease)return!0;n=r}let O=new Set,S,g;for(let T of c)T.operator===">"||T.operator===">="?S=a(S,T,f):T.operator==="<"||T.operator==="<="?g=p(g,T,f):O.add(T.semver);if(O.size>1)return null;let P;if(S&&g&&(P=u(S.semver,g.semver,f),P>0||P===0&&(S.operator!==">="||g.operator!=="<=")))return null;for(let T of O){if(S&&!s(T,String(S),f)||g&&!s(T,String(g),f))return null;for(let B of n)if(!s(T,String(B),f))return!1;return!0}let F,C,b,G,y=g&&!f.includePrerelease&&g.semver.prerelease.length?g.semver:!1,D=S&&!f.includePrerelease&&S.semver.prerelease.length?S.semver:!1;y&&y.prerelease.length===1&&g.operator==="<"&&y.prerelease[0]===0&&(y=!1);for(let T of n){if(G=G||T.operator===">"||T.operator===">=",b=b||T.operator==="<"||T.operator==="<=",S){if(D&&T.semver.prerelease&&T.semver.prerelease.length&&T.semver.major===D.major&&T.semver.minor===D.minor&&T.semver.patch===D.patch&&(D=!1),T.operator===">"||T.operator===">="){if(F=a(S,T,f),F===T&&F!==S)return!1}else if(S.operator===">="&&!s(S.semver,String(T),f))return!1}if(g){if(y&&T.semver.prerelease&&T.semver.prerelease.length&&T.semver.major===y.major&&T.semver.minor===y.minor&&T.semver.patch===y.patch&&(y=!1),T.operator==="<"||T.operator==="<="){if(C=p(g,T,f),C===T&&C!==g)return!1}else if(g.operator==="<="&&!s(g.semver,String(T),f))return!1}if(!T.operator&&(g||S)&&P!==0)return!1}return!(S&&b&&!g&&P!==0||g&&G&&!S&&P!==0||D||y)},a=(c,n,f)=>{if(!c)return n;let O=u(c.semver,n.semver,f);return O>0?c:O<0||n.operator===">"&&c.operator===">="?n:c},p=(c,n,f)=>{if(!c)return n;let O=u(c.semver,n.semver,f);return O<0?c:O>0||n.operator==="<"&&c.operator==="<="?n:c};i.exports=h}}),lr=N({"../../node_modules/semver/index.js"(m,i){var t=z(),o=Z(),l=q(),s=Se(),u=H(),h=Ge(),e=Fe(),r=Ue(),L=Ve(),a=Xe(),p=be(),c=ke(),n=Me(),f=U(),O=He(),S=Be(),g=fe(),P=We(),F=Ye(),C=ee(),b=de(),G=Ae(),y=ge(),D=ve(),T=Re(),B=we(),se=ze(),ae=re(),ne=V(),ie=te(),d=Qe(),E=Ze(),$=Je(),v=er(),I=rr(),R=$e(),_=tr(),w=sr(),A=ar(),x=nr(),j=ir();i.exports={parse:u,valid:h,clean:e,inc:r,diff:L,major:a,minor:p,patch:c,prerelease:n,compare:f,rcompare:O,compareLoose:S,compareBuild:g,sort:P,rsort:F,gt:C,lt:b,eq:G,neq:y,gte:D,lte:T,cmp:B,coerce:se,Comparator:ae,Range:ne,satisfies:ie,toComparators:d,maxSatisfying:E,minSatisfying:$,minVersion:v,validRange:I,outside:R,gtr:_,ltr:w,intersects:A,simplifyRange:x,subset:j,SemVer:l,re:t.re,src:t.src,tokens:t.t,SEMVER_SPEC_VERSION:o.SEMVER_SPEC_VERSION,RELEASE_TYPES:o.RELEASE_TYPES,compareIdentifiers:s.compareIdentifiers,rcompareIdentifiers:s.rcompareIdentifiers}}}),or={};je(or,{beforeAll:()=>dr,decorators:()=>fr,mount:()=>Er,parameters:()=>hr,render:()=>pr,renderToCanvas:()=>mr});var _e=Pe(lr());function Ne(m){globalThis.IS_REACT_ACT_ENVIRONMENT=m}function ur(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var Q=m=>m(),pr=(m,i)=>{let{id:t,component:o}=i;if(!o)throw new Error(`Unable to render story ${t} as the component annotation is missing from the default export`);return Y.createElement(o,{...m})},{FRAMEWORK_OPTIONS:pe}=qe,cr=class extends k.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:m}=this.state,{showMain:i}=this.props;m||i()}componentDidCatch(m){let{showException:i}=this.props;i(m)}render(){let{hasError:m}=this.state,{children:i}=this.props;return m?null:i}},Te=pe!=null&&pe.strictMode?k.StrictMode:k.Fragment,Ee=[],ce=!1,xe=async()=>{if(ce||Ee.length===0)return;ce=!0;let m=Ee.shift();m&&await m(),ce=!1,xe()};async function mr({storyContext:m,unboundStoryFn:i,showMain:t,showException:o,forceRemount:l},s){let{renderElement:u,unmountElement:h}=await Oe(async()=>{const{renderElement:a,unmountElement:p}=await import("./react-18-BIATD0Zn.js");return{renderElement:a,unmountElement:p}},__vite__mapDeps([0,1,2]),import.meta.url),e=i,r=m.parameters.__isPortableStory?Y.createElement(e,{...m}):Y.createElement(cr,{showMain:t,showException:o},Y.createElement(e,{...m})),L=Te?Y.createElement(Te,null,r):r;return l&&h(s),await new Promise(async(a,p)=>{Ee.push(async()=>{try{await Q(async()=>{var c,n;await u(L,s,(n=(c=m==null?void 0:m.parameters)==null?void 0:c.react)==null?void 0:n.rootOptions)}),a()}catch(c){p(c)}}),xe()}),async()=>{await Q(()=>{h(s)})}}var Er=m=>async i=>(i!=null&&(m.originalStoryFn=()=>i),await m.renderToCanvas(),m.canvas),hr={renderer:"react"},fr=[(m,i)=>{var l,s;if(!((s=(l=i.parameters)==null?void 0:l.react)!=null&&s.rsc))return m();let t=_e.default.major(k.version),o=_e.default.minor(k.version);if(t<18||t===18&&o<3)throw new Error("React Server Components require React >= 18.3");return k.createElement(k.Suspense,null,m())}],dr=async()=>{try{let{configure:m}=await Oe(async()=>{const{configure:i}=await import("./react--gDPKqWp.js").then(t=>t.r);return{configure:i}},[],import.meta.url);m({unstable_advanceTimersWrapper:i=>Q(i),asyncWrapper:async i=>{let t=ur();Ne(!1);try{let o=await i();return await new Promise(l=>{setTimeout(()=>{l()},0),vr()&&jest.advanceTimersByTime(0)}),o}finally{Ne(t)}},eventWrapper:i=>{let t;return Q(()=>(t=i(),t)),t}})}catch{}};function vr(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}export{dr as beforeAll,fr as decorators,Er as mount,hr as parameters,pr as render,mr as renderToCanvas}; diff --git a/docs/assets/entry-preview-Dy0McKAY.js b/docs/assets/entry-preview-Dy0McKAY.js deleted file mode 100644 index 4431721..0000000 --- a/docs/assets/entry-preview-Dy0McKAY.js +++ /dev/null @@ -1,10 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./react-18-CXVsXkgG.js","./index-2yJIXLcc.js","./index-Bn05qqr6.js"])))=>i.map(i=>d[i]); -import{_ as Se}from"./iframe-WubvJSwf.js";import{_ as Te,a as ge,b as _}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{a as Ae,R as W,r as H}from"./index-2yJIXLcc.js";import"../sb-preview/runtime.js";var ne={exports:{}},le={};/** - * @license React - * react-dom-test-utils.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var de;function xe(){if(de)return le;de=1;var c=Ae(),u=!1;return le.act=function(s){return u===!1&&(u=!0,console.error("`ReactDOMTestUtils.act` is deprecated in favor of `React.act`. Import `act` from `react` instead of `react-dom/test-utils`. See https://react.dev/warnings/react-dom-test-utils for more info.")),c.act(s)},le}var Re;function we(){return Re||(Re=1,ne.exports=xe()),ne.exports}we();var oe={};const{global:je}=__STORYBOOK_MODULE_GLOBAL__;var Z=_({"../../node_modules/semver/internal/constants.js"(c,u){var s="2.0.0",l=Number.MAX_SAFE_INTEGER||9007199254740991,n=16,t=250,o=["major","premajor","minor","preminor","patch","prepatch","prerelease"];u.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:t,MAX_SAFE_INTEGER:l,RELEASE_TYPES:o,SEMVER_SPEC_VERSION:s,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}}}),J=_({"../../node_modules/semver/internal/debug.js"(c,u){var s=typeof process=="object"&&oe&&oe.NODE_DEBUG&&/\bsemver\b/i.test(oe.NODE_DEBUG)?(...l)=>console.error("SEMVER",...l):()=>{};u.exports=s}}),z=_({"../../node_modules/semver/internal/re.js"(c,u){var{MAX_SAFE_COMPONENT_LENGTH:s,MAX_SAFE_BUILD_LENGTH:l,MAX_LENGTH:n}=Z(),t=J();c=u.exports={};var o=c.re=[],h=c.safeRe=[],e=c.src=[],r=c.t={},L=0,a="[a-zA-Z0-9-]",p=[["\\s",1],["\\d",n],[a,l]],m=f=>{for(let[S,T]of p)f=f.split(`${S}*`).join(`${S}{0,${T}}`).split(`${S}+`).join(`${S}{1,${T}}`);return f},i=(f,S,T)=>{let A=m(S),C=L++;t(f,C,S),r[f]=C,e[C]=S,o[C]=new RegExp(S,T?"g":void 0),h[C]=new RegExp(A,T?"g":void 0)};i("NUMERICIDENTIFIER","0|[1-9]\\d*"),i("NUMERICIDENTIFIERLOOSE","\\d+"),i("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${a}*`),i("MAINVERSION",`(${e[r.NUMERICIDENTIFIER]})\\.(${e[r.NUMERICIDENTIFIER]})\\.(${e[r.NUMERICIDENTIFIER]})`),i("MAINVERSIONLOOSE",`(${e[r.NUMERICIDENTIFIERLOOSE]})\\.(${e[r.NUMERICIDENTIFIERLOOSE]})\\.(${e[r.NUMERICIDENTIFIERLOOSE]})`),i("PRERELEASEIDENTIFIER",`(?:${e[r.NUMERICIDENTIFIER]}|${e[r.NONNUMERICIDENTIFIER]})`),i("PRERELEASEIDENTIFIERLOOSE",`(?:${e[r.NUMERICIDENTIFIERLOOSE]}|${e[r.NONNUMERICIDENTIFIER]})`),i("PRERELEASE",`(?:-(${e[r.PRERELEASEIDENTIFIER]}(?:\\.${e[r.PRERELEASEIDENTIFIER]})*))`),i("PRERELEASELOOSE",`(?:-?(${e[r.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${e[r.PRERELEASEIDENTIFIERLOOSE]})*))`),i("BUILDIDENTIFIER",`${a}+`),i("BUILD",`(?:\\+(${e[r.BUILDIDENTIFIER]}(?:\\.${e[r.BUILDIDENTIFIER]})*))`),i("FULLPLAIN",`v?${e[r.MAINVERSION]}${e[r.PRERELEASE]}?${e[r.BUILD]}?`),i("FULL",`^${e[r.FULLPLAIN]}$`),i("LOOSEPLAIN",`[v=\\s]*${e[r.MAINVERSIONLOOSE]}${e[r.PRERELEASELOOSE]}?${e[r.BUILD]}?`),i("LOOSE",`^${e[r.LOOSEPLAIN]}$`),i("GTLT","((?:<|>)?=?)"),i("XRANGEIDENTIFIERLOOSE",`${e[r.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),i("XRANGEIDENTIFIER",`${e[r.NUMERICIDENTIFIER]}|x|X|\\*`),i("XRANGEPLAIN",`[v=\\s]*(${e[r.XRANGEIDENTIFIER]})(?:\\.(${e[r.XRANGEIDENTIFIER]})(?:\\.(${e[r.XRANGEIDENTIFIER]})(?:${e[r.PRERELEASE]})?${e[r.BUILD]}?)?)?`),i("XRANGEPLAINLOOSE",`[v=\\s]*(${e[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[r.XRANGEIDENTIFIERLOOSE]})(?:\\.(${e[r.XRANGEIDENTIFIERLOOSE]})(?:${e[r.PRERELEASELOOSE]})?${e[r.BUILD]}?)?)?`),i("XRANGE",`^${e[r.GTLT]}\\s*${e[r.XRANGEPLAIN]}$`),i("XRANGELOOSE",`^${e[r.GTLT]}\\s*${e[r.XRANGEPLAINLOOSE]}$`),i("COERCEPLAIN",`(^|[^\\d])(\\d{1,${s}})(?:\\.(\\d{1,${s}}))?(?:\\.(\\d{1,${s}}))?`),i("COERCE",`${e[r.COERCEPLAIN]}(?:$|[^\\d])`),i("COERCEFULL",e[r.COERCEPLAIN]+`(?:${e[r.PRERELEASE]})?(?:${e[r.BUILD]})?(?:$|[^\\d])`),i("COERCERTL",e[r.COERCE],!0),i("COERCERTLFULL",e[r.COERCEFULL],!0),i("LONETILDE","(?:~>?)"),i("TILDETRIM",`(\\s*)${e[r.LONETILDE]}\\s+`,!0),c.tildeTrimReplace="$1~",i("TILDE",`^${e[r.LONETILDE]}${e[r.XRANGEPLAIN]}$`),i("TILDELOOSE",`^${e[r.LONETILDE]}${e[r.XRANGEPLAINLOOSE]}$`),i("LONECARET","(?:\\^)"),i("CARETTRIM",`(\\s*)${e[r.LONECARET]}\\s+`,!0),c.caretTrimReplace="$1^",i("CARET",`^${e[r.LONECARET]}${e[r.XRANGEPLAIN]}$`),i("CARETLOOSE",`^${e[r.LONECARET]}${e[r.XRANGEPLAINLOOSE]}$`),i("COMPARATORLOOSE",`^${e[r.GTLT]}\\s*(${e[r.LOOSEPLAIN]})$|^$`),i("COMPARATOR",`^${e[r.GTLT]}\\s*(${e[r.FULLPLAIN]})$|^$`),i("COMPARATORTRIM",`(\\s*)${e[r.GTLT]}\\s*(${e[r.LOOSEPLAIN]}|${e[r.XRANGEPLAIN]})`,!0),c.comparatorTrimReplace="$1$2$3",i("HYPHENRANGE",`^\\s*(${e[r.XRANGEPLAIN]})\\s+-\\s+(${e[r.XRANGEPLAIN]})\\s*$`),i("HYPHENRANGELOOSE",`^\\s*(${e[r.XRANGEPLAINLOOSE]})\\s+-\\s+(${e[r.XRANGEPLAINLOOSE]})\\s*$`),i("STAR","(<|>)?=?\\s*\\*"),i("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),i("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")}}),me=_({"../../node_modules/semver/internal/parse-options.js"(c,u){var s=Object.freeze({loose:!0}),l=Object.freeze({}),n=t=>t?typeof t!="object"?s:t:l;u.exports=n}}),Le=_({"../../node_modules/semver/internal/identifiers.js"(c,u){var s=/^[0-9]+$/,l=(t,o)=>{let h=s.test(t),e=s.test(o);return h&&e&&(t=+t,o=+o),t===o?0:h&&!e?-1:e&&!h?1:tl(o,t);u.exports={compareIdentifiers:l,rcompareIdentifiers:n}}}),G=_({"../../node_modules/semver/classes/semver.js"(c,u){var s=J(),{MAX_LENGTH:l,MAX_SAFE_INTEGER:n}=Z(),{safeRe:t,t:o}=z(),h=me(),{compareIdentifiers:e}=Le(),r=class X{constructor(a,p){if(p=h(p),a instanceof X){if(a.loose===!!p.loose&&a.includePrerelease===!!p.includePrerelease)return a;a=a.version}else if(typeof a!="string")throw new TypeError(`Invalid version. Must be a string. Got type "${typeof a}".`);if(a.length>l)throw new TypeError(`version is longer than ${l} characters`);s("SemVer",a,p),this.options=p,this.loose=!!p.loose,this.includePrerelease=!!p.includePrerelease;let m=a.trim().match(p.loose?t[o.LOOSE]:t[o.FULL]);if(!m)throw new TypeError(`Invalid Version: ${a}`);if(this.raw=a,this.major=+m[1],this.minor=+m[2],this.patch=+m[3],this.major>n||this.major<0)throw new TypeError("Invalid major version");if(this.minor>n||this.minor<0)throw new TypeError("Invalid minor version");if(this.patch>n||this.patch<0)throw new TypeError("Invalid patch version");m[4]?this.prerelease=m[4].split(".").map(i=>{if(/^[0-9]+$/.test(i)){let f=+i;if(f>=0&&f=0;)typeof this.prerelease[f]=="number"&&(this.prerelease[f]++,f=-2);if(f===-1){if(p===this.prerelease.join(".")&&m===!1)throw new Error("invalid increment argument: identifier already exists");this.prerelease.push(i)}}if(p){let f=[p,i];m===!1&&(f=[p]),e(this.prerelease[0],p)===0?isNaN(this.prerelease[1])&&(this.prerelease=f):this.prerelease=f}break}default:throw new Error(`invalid increment argument: ${a}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}};u.exports=r}}),k=_({"../../node_modules/semver/functions/parse.js"(c,u){var s=G(),l=(n,t,o=!1)=>{if(n instanceof s)return n;try{return new s(n,t)}catch(h){if(!o)return null;throw h}};u.exports=l}}),Ce=_({"../../node_modules/semver/functions/valid.js"(c,u){var s=k(),l=(n,t)=>{let o=s(n,t);return o?o.version:null};u.exports=l}}),Pe=_({"../../node_modules/semver/functions/clean.js"(c,u){var s=k(),l=(n,t)=>{let o=s(n.trim().replace(/^[=v]+/,""),t);return o?o.version:null};u.exports=l}}),De=_({"../../node_modules/semver/functions/inc.js"(c,u){var s=G(),l=(n,t,o,h,e)=>{typeof o=="string"&&(e=h,h=o,o=void 0);try{return new s(n instanceof s?n.version:n,o).inc(t,h,e).version}catch{return null}};u.exports=l}}),qe=_({"../../node_modules/semver/functions/diff.js"(c,u){var s=k(),l=(n,t)=>{let o=s(n,null,!0),h=s(t,null,!0),e=o.compare(h);if(e===0)return null;let r=e>0,L=r?o:h,a=r?h:o,p=!!L.prerelease.length;if(a.prerelease.length&&!p)return!a.patch&&!a.minor?"major":L.patch?"patch":L.minor?"minor":"major";let m=p?"pre":"";return o.major!==h.major?m+"major":o.minor!==h.minor?m+"minor":o.patch!==h.patch?m+"patch":"prerelease"};u.exports=l}}),Ge=_({"../../node_modules/semver/functions/major.js"(c,u){var s=G(),l=(n,t)=>new s(n,t).major;u.exports=l}}),ye=_({"../../node_modules/semver/functions/minor.js"(c,u){var s=G(),l=(n,t)=>new s(n,t).minor;u.exports=l}}),Fe=_({"../../node_modules/semver/functions/patch.js"(c,u){var s=G(),l=(n,t)=>new s(n,t).patch;u.exports=l}}),Ue=_({"../../node_modules/semver/functions/prerelease.js"(c,u){var s=k(),l=(n,t)=>{let o=s(n,t);return o&&o.prerelease.length?o.prerelease:null};u.exports=l}}),U=_({"../../node_modules/semver/functions/compare.js"(c,u){var s=G(),l=(n,t,o)=>new s(n,o).compare(new s(t,o));u.exports=l}}),Ve=_({"../../node_modules/semver/functions/rcompare.js"(c,u){var s=U(),l=(n,t,o)=>s(t,n,o);u.exports=l}}),Xe=_({"../../node_modules/semver/functions/compare-loose.js"(c,u){var s=U(),l=(n,t)=>s(n,t,!0);u.exports=l}}),Ee=_({"../../node_modules/semver/functions/compare-build.js"(c,u){var s=G(),l=(n,t,o)=>{let h=new s(n,o),e=new s(t,o);return h.compare(e)||h.compareBuild(e)};u.exports=l}}),be=_({"../../node_modules/semver/functions/sort.js"(c,u){var s=Ee(),l=(n,t)=>n.sort((o,h)=>s(o,h,t));u.exports=l}}),He=_({"../../node_modules/semver/functions/rsort.js"(c,u){var s=Ee(),l=(n,t)=>n.sort((o,h)=>s(h,o,t));u.exports=l}}),Q=_({"../../node_modules/semver/functions/gt.js"(c,u){var s=U(),l=(n,t,o)=>s(n,t,o)>0;u.exports=l}}),ce=_({"../../node_modules/semver/functions/lt.js"(c,u){var s=U(),l=(n,t,o)=>s(n,t,o)<0;u.exports=l}}),Ne=_({"../../node_modules/semver/functions/eq.js"(c,u){var s=U(),l=(n,t,o)=>s(n,t,o)===0;u.exports=l}}),_e=_({"../../node_modules/semver/functions/neq.js"(c,u){var s=U(),l=(n,t,o)=>s(n,t,o)!==0;u.exports=l}}),he=_({"../../node_modules/semver/functions/gte.js"(c,u){var s=U(),l=(n,t,o)=>s(n,t,o)>=0;u.exports=l}}),fe=_({"../../node_modules/semver/functions/lte.js"(c,u){var s=U(),l=(n,t,o)=>s(n,t,o)<=0;u.exports=l}}),Oe=_({"../../node_modules/semver/functions/cmp.js"(c,u){var s=Ne(),l=_e(),n=Q(),t=he(),o=ce(),h=fe(),e=(r,L,a,p)=>{switch(L){case"===":return typeof r=="object"&&(r=r.version),typeof a=="object"&&(a=a.version),r===a;case"!==":return typeof r=="object"&&(r=r.version),typeof a=="object"&&(a=a.version),r!==a;case"":case"=":case"==":return s(r,a,p);case"!=":return l(r,a,p);case">":return n(r,a,p);case">=":return t(r,a,p);case"<":return o(r,a,p);case"<=":return h(r,a,p);default:throw new TypeError(`Invalid operator: ${L}`)}};u.exports=e}}),Me=_({"../../node_modules/semver/functions/coerce.js"(c,u){var s=G(),l=k(),{safeRe:n,t}=z(),o=(h,e)=>{if(h instanceof s)return h;if(typeof h=="number"&&(h=String(h)),typeof h!="string")return null;e=e||{};let r=null;if(!e.rtl)r=h.match(e.includePrerelease?n[t.COERCEFULL]:n[t.COERCE]);else{let f=e.includePrerelease?n[t.COERCERTLFULL]:n[t.COERCERTL],S;for(;(S=f.exec(h))&&(!r||r.index+r[0].length!==h.length);)(!r||S.index+S[0].length!==r.index+r[0].length)&&(r=S),f.lastIndex=S.index+S[1].length+S[2].length;f.lastIndex=-1}if(r===null)return null;let L=r[2],a=r[3]||"0",p=r[4]||"0",m=e.includePrerelease&&r[5]?`-${r[5]}`:"",i=e.includePrerelease&&r[6]?`+${r[6]}`:"";return l(`${L}.${a}.${p}${m}${i}`,e)};u.exports=o}}),ke=_({"../../node_modules/semver/internal/lrucache.js"(c,u){var s=class{constructor(){this.max=1e3,this.map=new Map}get(l){let n=this.map.get(l);if(n!==void 0)return this.map.delete(l),this.map.set(l,n),n}delete(l){return this.map.delete(l)}set(l,n){if(!this.delete(l)&&n!==void 0){if(this.map.size>=this.max){let t=this.map.keys().next().value;this.delete(t)}this.map.set(l,n)}return this}};u.exports=s}}),V=_({"../../node_modules/semver/classes/range.js"(c,u){var s=/\s+/g,l=class K{constructor(E,$){if($=o($),E instanceof K)return E.loose===!!$.loose&&E.includePrerelease===!!$.includePrerelease?E:new K(E.raw,$);if(E instanceof h)return this.raw=E.value,this.set=[[E]],this.formatted=void 0,this;if(this.options=$,this.loose=!!$.loose,this.includePrerelease=!!$.includePrerelease,this.raw=E.trim().replace(s," "),this.set=this.raw.split("||").map(d=>this.parseRange(d.trim())).filter(d=>d.length),!this.set.length)throw new TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let d=this.set[0];if(this.set=this.set.filter(I=>!T(I[0])),this.set.length===0)this.set=[d];else if(this.set.length>1){for(let I of this.set)if(I.length===1&&A(I[0])){this.set=[I];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted="";for(let E=0;E0&&(this.formatted+="||");let $=this.set[E];for(let d=0;d<$.length;d++)d>0&&(this.formatted+=" "),this.formatted+=$[d].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(E){let $=((this.options.includePrerelease&&f)|(this.options.loose&&S))+":"+E,d=t.get($);if(d)return d;let I=this.options.loose,R=I?L[a.HYPHENRANGELOOSE]:L[a.HYPHENRANGE];E=E.replace(R,ae(this.options.includePrerelease)),e("hyphen replace",E),E=E.replace(L[a.COMPARATORTRIM],p),e("comparator trim",E),E=E.replace(L[a.TILDETRIM],m),e("tilde trim",E),E=E.replace(L[a.CARETTRIM],i),e("caret trim",E);let N=E.split(" ").map(j=>F(j,this.options)).join(" ").split(/\s+/).map(j=>se(j,this.options));I&&(N=N.filter(j=>(e("loose invalid filter",j,this.options),!!j.match(L[a.COMPARATORLOOSE])))),e("range list",N);let x=new Map,g=N.map(j=>new h(j,this.options));for(let j of g){if(T(j))return[j];x.set(j.value,j)}x.size>1&&x.has("")&&x.delete("");let w=[...x.values()];return t.set($,w),w}intersects(E,$){if(!(E instanceof K))throw new TypeError("a Range is required");return this.set.some(d=>C(d,$)&&E.set.some(I=>C(I,$)&&d.every(R=>I.every(N=>R.intersects(N,$)))))}test(E){if(!E)return!1;if(typeof E=="string")try{E=new r(E,this.options)}catch{return!1}for(let $=0;$v.value==="<0.0.0-0",A=v=>v.value==="",C=(v,E)=>{let $=!0,d=v.slice(),I=d.pop();for(;$&&d.length;)$=d.every(R=>I.intersects(R,E)),I=d.pop();return $},F=(v,E)=>(e("comp",v,E),v=D(v,E),e("caret",v),v=b(v,E),e("tildes",v),v=O(v,E),e("xrange",v),v=te(v,E),e("stars",v),v),P=v=>!v||v.toLowerCase()==="x"||v==="*",b=(v,E)=>v.trim().split(/\s+/).map($=>y($,E)).join(" "),y=(v,E)=>{let $=E.loose?L[a.TILDELOOSE]:L[a.TILDE];return v.replace($,(d,I,R,N,x)=>{e("tilde",v,d,I,R,N,x);let g;return P(I)?g="":P(R)?g=`>=${I}.0.0 <${+I+1}.0.0-0`:P(N)?g=`>=${I}.${R}.0 <${I}.${+R+1}.0-0`:x?(e("replaceTilde pr",x),g=`>=${I}.${R}.${N}-${x} <${I}.${+R+1}.0-0`):g=`>=${I}.${R}.${N} <${I}.${+R+1}.0-0`,e("tilde return",g),g})},D=(v,E)=>v.trim().split(/\s+/).map($=>q($,E)).join(" "),q=(v,E)=>{e("caret",v,E);let $=E.loose?L[a.CARETLOOSE]:L[a.CARET],d=E.includePrerelease?"-0":"";return v.replace($,(I,R,N,x,g)=>{e("caret",v,I,R,N,x,g);let w;return P(R)?w="":P(N)?w=`>=${R}.0.0${d} <${+R+1}.0.0-0`:P(x)?R==="0"?w=`>=${R}.${N}.0${d} <${R}.${+N+1}.0-0`:w=`>=${R}.${N}.0${d} <${+R+1}.0.0-0`:g?(e("replaceCaret pr",g),R==="0"?N==="0"?w=`>=${R}.${N}.${x}-${g} <${R}.${N}.${+x+1}-0`:w=`>=${R}.${N}.${x}-${g} <${R}.${+N+1}.0-0`:w=`>=${R}.${N}.${x}-${g} <${+R+1}.0.0-0`):(e("no pr"),R==="0"?N==="0"?w=`>=${R}.${N}.${x}${d} <${R}.${N}.${+x+1}-0`:w=`>=${R}.${N}.${x}${d} <${R}.${+N+1}.0-0`:w=`>=${R}.${N}.${x} <${+R+1}.0.0-0`),e("caret return",w),w})},O=(v,E)=>(e("replaceXRanges",v,E),v.split(/\s+/).map($=>B($,E)).join(" ")),B=(v,E)=>{v=v.trim();let $=E.loose?L[a.XRANGELOOSE]:L[a.XRANGE];return v.replace($,(d,I,R,N,x,g)=>{e("xRange",v,d,I,R,N,x,g);let w=P(R),j=w||P(N),M=j||P(x),Y=M;return I==="="&&Y&&(I=""),g=E.includePrerelease?"-0":"",w?I===">"||I==="<"?d="<0.0.0-0":d="*":I&&Y?(j&&(N=0),x=0,I===">"?(I=">=",j?(R=+R+1,N=0,x=0):(N=+N+1,x=0)):I==="<="&&(I="<",j?R=+R+1:N=+N+1),I==="<"&&(g="-0"),d=`${I+R}.${N}.${x}${g}`):j?d=`>=${R}.0.0${g} <${+R+1}.0.0-0`:M&&(d=`>=${R}.${N}.0${g} <${R}.${+N+1}.0-0`),e("xRange return",d),d})},te=(v,E)=>(e("replaceStars",v,E),v.trim().replace(L[a.STAR],"")),se=(v,E)=>(e("replaceGTE0",v,E),v.trim().replace(L[E.includePrerelease?a.GTE0PRE:a.GTE0],"")),ae=v=>(E,$,d,I,R,N,x,g,w,j,M,Y)=>(P(d)?$="":P(I)?$=`>=${d}.0.0${v?"-0":""}`:P(R)?$=`>=${d}.${I}.0${v?"-0":""}`:N?$=`>=${$}`:$=`>=${$}${v?"-0":""}`,P(w)?g="":P(j)?g=`<${+w+1}.0.0-0`:P(M)?g=`<${w}.${+j+1}.0-0`:Y?g=`<=${w}.${j}.${M}-${Y}`:v?g=`<${w}.${j}.${+M+1}-0`:g=`<=${g}`,`${$} ${g}`.trim()),ie=(v,E,$)=>{for(let d=0;d0){let I=v[d].semver;if(I.major===E.major&&I.minor===E.minor&&I.patch===E.patch)return!0}return!1}return!0}}}),ee=_({"../../node_modules/semver/classes/comparator.js"(c,u){var s=Symbol("SemVer ANY"),l=class pe{static get ANY(){return s}constructor(p,m){if(m=n(m),p instanceof pe){if(p.loose===!!m.loose)return p;p=p.value}p=p.trim().split(/\s+/).join(" "),e("comparator",p,m),this.options=m,this.loose=!!m.loose,this.parse(p),this.semver===s?this.value="":this.value=this.operator+this.semver.version,e("comp",this)}parse(p){let m=this.options.loose?t[o.COMPARATORLOOSE]:t[o.COMPARATOR],i=p.match(m);if(!i)throw new TypeError(`Invalid comparator: ${p}`);this.operator=i[1]!==void 0?i[1]:"",this.operator==="="&&(this.operator=""),i[2]?this.semver=new r(i[2],this.options.loose):this.semver=s}toString(){return this.value}test(p){if(e("Comparator.test",p,this.options.loose),this.semver===s||p===s)return!0;if(typeof p=="string")try{p=new r(p,this.options)}catch{return!1}return h(p,this.operator,this.semver,this.options)}intersects(p,m){if(!(p instanceof pe))throw new TypeError("a Comparator is required");return this.operator===""?this.value===""?!0:new L(p.value,m).test(this.value):p.operator===""?p.value===""?!0:new L(this.value,m).test(p.semver):(m=n(m),m.includePrerelease&&(this.value==="<0.0.0-0"||p.value==="<0.0.0-0")||!m.includePrerelease&&(this.value.startsWith("<0.0.0")||p.value.startsWith("<0.0.0"))?!1:!!(this.operator.startsWith(">")&&p.operator.startsWith(">")||this.operator.startsWith("<")&&p.operator.startsWith("<")||this.semver.version===p.semver.version&&this.operator.includes("=")&&p.operator.includes("=")||h(this.semver,"<",p.semver,m)&&this.operator.startsWith(">")&&p.operator.startsWith("<")||h(this.semver,">",p.semver,m)&&this.operator.startsWith("<")&&p.operator.startsWith(">")))}};u.exports=l;var n=me(),{safeRe:t,t:o}=z(),h=Oe(),e=J(),r=G(),L=V()}}),re=_({"../../node_modules/semver/functions/satisfies.js"(c,u){var s=V(),l=(n,t,o)=>{try{t=new s(t,o)}catch{return!1}return t.test(n)};u.exports=l}}),Be=_({"../../node_modules/semver/ranges/to-comparators.js"(c,u){var s=V(),l=(n,t)=>new s(n,t).set.map(o=>o.map(h=>h.value).join(" ").trim().split(" "));u.exports=l}}),Ye=_({"../../node_modules/semver/ranges/max-satisfying.js"(c,u){var s=G(),l=V(),n=(t,o,h)=>{let e=null,r=null,L=null;try{L=new l(o,h)}catch{return null}return t.forEach(a=>{L.test(a)&&(!e||r.compare(a)===-1)&&(e=a,r=new s(e,h))}),e};u.exports=n}}),We=_({"../../node_modules/semver/ranges/min-satisfying.js"(c,u){var s=G(),l=V(),n=(t,o,h)=>{let e=null,r=null,L=null;try{L=new l(o,h)}catch{return null}return t.forEach(a=>{L.test(a)&&(!e||r.compare(a)===1)&&(e=a,r=new s(e,h))}),e};u.exports=n}}),ze=_({"../../node_modules/semver/ranges/min-version.js"(c,u){var s=G(),l=V(),n=Q(),t=(o,h)=>{o=new l(o,h);let e=new s("0.0.0");if(o.test(e)||(e=new s("0.0.0-0"),o.test(e)))return e;e=null;for(let r=0;r{let m=new s(p.semver.version);switch(p.operator){case">":m.prerelease.length===0?m.patch++:m.prerelease.push(0),m.raw=m.format();case"":case">=":(!a||n(m,a))&&(a=m);break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${p.operator}`)}}),a&&(!e||n(e,a))&&(e=a)}return e&&o.test(e)?e:null};u.exports=t}}),Ke=_({"../../node_modules/semver/ranges/valid.js"(c,u){var s=V(),l=(n,t)=>{try{return new s(n,t).range||"*"}catch{return null}};u.exports=l}}),ve=_({"../../node_modules/semver/ranges/outside.js"(c,u){var s=G(),l=ee(),{ANY:n}=l,t=V(),o=re(),h=Q(),e=ce(),r=fe(),L=he(),a=(p,m,i,f)=>{p=new s(p,f),m=new t(m,f);let S,T,A,C,F;switch(i){case">":S=h,T=r,A=e,C=">",F=">=";break;case"<":S=e,T=L,A=h,C="<",F="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(o(p,m,f))return!1;for(let P=0;P{q.semver===n&&(q=new l(">=0.0.0")),y=y||q,D=D||q,S(q.semver,y.semver,f)?y=q:A(q.semver,D.semver,f)&&(D=q)}),y.operator===C||y.operator===F||(!D.operator||D.operator===C)&&T(p,D.semver)||D.operator===F&&A(p,D.semver))return!1}return!0};u.exports=a}}),Ze=_({"../../node_modules/semver/ranges/gtr.js"(c,u){var s=ve(),l=(n,t,o)=>s(n,t,">",o);u.exports=l}}),Je=_({"../../node_modules/semver/ranges/ltr.js"(c,u){var s=ve(),l=(n,t,o)=>s(n,t,"<",o);u.exports=l}}),Qe=_({"../../node_modules/semver/ranges/intersects.js"(c,u){var s=V(),l=(n,t,o)=>(n=new s(n,o),t=new s(t,o),n.intersects(t,o));u.exports=l}}),er=_({"../../node_modules/semver/ranges/simplify.js"(c,u){var s=re(),l=U();u.exports=(n,t,o)=>{let h=[],e=null,r=null,L=n.sort((i,f)=>l(i,f,o));for(let i of L)s(i,t,o)?(r=i,e||(e=i)):(r&&h.push([e,r]),r=null,e=null);e&&h.push([e,null]);let a=[];for(let[i,f]of h)i===f?a.push(i):!f&&i===L[0]?a.push("*"):f?i===L[0]?a.push(`<=${f}`):a.push(`${i} - ${f}`):a.push(`>=${i}`);let p=a.join(" || "),m=typeof t.raw=="string"?t.raw:String(t);return p.length{if(m===i)return!0;m=new s(m,f),i=new s(i,f);let S=!1;e:for(let T of m.set){for(let A of i.set){let C=L(T,A,f);if(S=S||C!==null,C)continue e}if(S)return!1}return!0},e=[new l(">=0.0.0-0")],r=[new l(">=0.0.0")],L=(m,i,f)=>{if(m===i)return!0;if(m.length===1&&m[0].semver===n){if(i.length===1&&i[0].semver===n)return!0;f.includePrerelease?m=e:m=r}if(i.length===1&&i[0].semver===n){if(f.includePrerelease)return!0;i=r}let S=new Set,T,A;for(let O of m)O.operator===">"||O.operator===">="?T=a(T,O,f):O.operator==="<"||O.operator==="<="?A=p(A,O,f):S.add(O.semver);if(S.size>1)return null;let C;if(T&&A&&(C=o(T.semver,A.semver,f),C>0||C===0&&(T.operator!==">="||A.operator!=="<=")))return null;for(let O of S){if(T&&!t(O,String(T),f)||A&&!t(O,String(A),f))return null;for(let B of i)if(!t(O,String(B),f))return!1;return!0}let F,P,b,y,D=A&&!f.includePrerelease&&A.semver.prerelease.length?A.semver:!1,q=T&&!f.includePrerelease&&T.semver.prerelease.length?T.semver:!1;D&&D.prerelease.length===1&&A.operator==="<"&&D.prerelease[0]===0&&(D=!1);for(let O of i){if(y=y||O.operator===">"||O.operator===">=",b=b||O.operator==="<"||O.operator==="<=",T){if(q&&O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===q.major&&O.semver.minor===q.minor&&O.semver.patch===q.patch&&(q=!1),O.operator===">"||O.operator===">="){if(F=a(T,O,f),F===O&&F!==T)return!1}else if(T.operator===">="&&!t(T.semver,String(O),f))return!1}if(A){if(D&&O.semver.prerelease&&O.semver.prerelease.length&&O.semver.major===D.major&&O.semver.minor===D.minor&&O.semver.patch===D.patch&&(D=!1),O.operator==="<"||O.operator==="<="){if(P=p(A,O,f),P===O&&P!==A)return!1}else if(A.operator==="<="&&!t(A.semver,String(O),f))return!1}if(!O.operator&&(A||T)&&C!==0)return!1}return!(T&&b&&!A&&C!==0||A&&y&&!T&&C!==0||q||D)},a=(m,i,f)=>{if(!m)return i;let S=o(m.semver,i.semver,f);return S>0?m:S<0||i.operator===">"&&m.operator===">="?i:m},p=(m,i,f)=>{if(!m)return i;let S=o(m.semver,i.semver,f);return S<0?m:S>0||i.operator==="<"&&m.operator==="<="?i:m};u.exports=h}}),tr=_({"../../node_modules/semver/index.js"(c,u){var s=z(),l=Z(),n=G(),t=Le(),o=k(),h=Ce(),e=Pe(),r=De(),L=qe(),a=Ge(),p=ye(),m=Fe(),i=Ue(),f=U(),S=Ve(),T=Xe(),A=Ee(),C=be(),F=He(),P=Q(),b=ce(),y=Ne(),D=_e(),q=he(),O=fe(),B=Oe(),te=Me(),se=ee(),ae=V(),ie=re(),v=Be(),E=Ye(),$=We(),d=ze(),I=Ke(),R=ve(),N=Ze(),x=Je(),g=Qe(),w=er(),j=rr();u.exports={parse:o,valid:h,clean:e,inc:r,diff:L,major:a,minor:p,patch:m,prerelease:i,compare:f,rcompare:S,compareLoose:T,compareBuild:A,sort:C,rsort:F,gt:P,lt:b,eq:y,neq:D,gte:q,lte:O,cmp:B,coerce:te,Comparator:se,Range:ae,satisfies:ie,toComparators:v,maxSatisfying:E,minSatisfying:$,minVersion:d,validRange:I,outside:R,gtr:N,ltr:x,intersects:g,simplifyRange:w,subset:j,SemVer:n,re:s.re,src:s.src,tokens:s.t,SEMVER_SPEC_VERSION:l.SEMVER_SPEC_VERSION,RELEASE_TYPES:l.RELEASE_TYPES,compareIdentifiers:t.compareIdentifiers,rcompareIdentifiers:t.rcompareIdentifiers}}}),sr={};Te(sr,{decorators:()=>pr,mount:()=>or,parameters:()=>ur,render:()=>ar,renderToCanvas:()=>lr});var $e=ge(tr()),ar=(c,u)=>{let{id:s,component:l}=u;if(!l)throw new Error(`Unable to render story ${s} as the component annotation is missing from the default export`);return W.createElement(l,{...c})};function ir(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var{FRAMEWORK_OPTIONS:ue}=je,nr=class extends H.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidMount(){let{hasError:c}=this.state,{showMain:u}=this.props;c||u()}componentDidCatch(c){let{showException:u}=this.props;u(c)}render(){let{hasError:c}=this.state,{children:u}=this.props;return c?null:u}},Ie=ue!=null&&ue.strictMode?H.StrictMode:H.Fragment;async function lr({storyContext:c,unboundStoryFn:u,showMain:s,showException:l,forceRemount:n},t){var a,p;let{renderElement:o,unmountElement:h}=await Se(async()=>{const{renderElement:m,unmountElement:i}=await import("./react-18-CXVsXkgG.js");return{renderElement:m,unmountElement:i}},__vite__mapDeps([0,1,2]),import.meta.url),e=u,r=ir()?W.createElement(e,{...c}):W.createElement(nr,{showMain:s,showException:l},W.createElement(e,{...c})),L=Ie?W.createElement(Ie,null,r):r;return n&&h(t),await o(L,t,(p=(a=c==null?void 0:c.parameters)==null?void 0:a.react)==null?void 0:p.rootOptions),()=>h(t)}var or=c=>async u=>(u!=null&&(c.originalStoryFn=()=>u),await c.renderToCanvas(),c.canvas),ur={renderer:"react"},pr=[(c,u)=>{var n,t;if(!((t=(n=u.parameters)==null?void 0:n.react)!=null&&t.rsc))return H.createElement(c,null);let s=$e.default.major(H.version),l=$e.default.minor(H.version);if(s<18||s===18&&l<3)throw new Error("React Server Components require React >= 18.3");return H.createElement(H.Suspense,null,H.createElement(c,null))}];export{pr as decorators,or as mount,ur as parameters,ar as render,lr as renderToCanvas}; diff --git a/docs/assets/entry-preview-docs-BXZNRgnm.js b/docs/assets/entry-preview-docs-BXZNRgnm.js deleted file mode 100644 index e09c16d..0000000 --- a/docs/assets/entry-preview-docs-BXZNRgnm.js +++ /dev/null @@ -1,47 +0,0 @@ -import{_ as Cu,a as ft,b as he,c as Eu,d as zn}from"./chunk-XP5HYGXS-BGCqD1aY.js";import{n as gu,c as Fu,y as yu,l as De,g as Gn,z as xu,o as Bu,j as $n,Y as Yn,a as _t,B as vu}from"./index-CHGET4sZ.js";import{R as yt,r as tt}from"./index-2yJIXLcc.js";const{logger:kt}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:_u,addons:Su,useEffect:bu}=__STORYBOOK_MODULE_PREVIEW_API__;var wu=he({"../../node_modules/react-is/cjs/react-is.development.js"(e){(function(){var t=typeof Symbol=="function"&&Symbol.for,n=t?Symbol.for("react.element"):60103,r=t?Symbol.for("react.portal"):60106,i=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,p=t?Symbol.for("react.context"):60110,d=t?Symbol.for("react.async_mode"):60111,D=t?Symbol.for("react.concurrent_mode"):60111,y=t?Symbol.for("react.forward_ref"):60112,C=t?Symbol.for("react.suspense"):60113,E=t?Symbol.for("react.suspense_list"):60120,m=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,T=t?Symbol.for("react.block"):60121,k=t?Symbol.for("react.fundamental"):60117,v=t?Symbol.for("react.responder"):60118,R=t?Symbol.for("react.scope"):60119;function _(N){return typeof N=="string"||typeof N=="function"||N===i||N===D||N===s||N===o||N===C||N===E||typeof N=="object"&&N!==null&&(N.$$typeof===g||N.$$typeof===m||N.$$typeof===l||N.$$typeof===p||N.$$typeof===y||N.$$typeof===k||N.$$typeof===v||N.$$typeof===R||N.$$typeof===T)}function x(N){if(typeof N=="object"&&N!==null){var se=N.$$typeof;switch(se){case n:var W=N.type;switch(W){case d:case D:case i:case s:case o:case C:return W;default:var Ne=W&&W.$$typeof;switch(Ne){case p:case y:case g:case m:case l:return Ne;default:return se}}case r:return se}}}var F=d,B=D,b=p,I=l,q=n,U=y,z=i,G=g,ee=m,de=r,pe=s,Ae=o,te=C,Ee=!1;function Re(N){return Ee||(Ee=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),be(N)||x(N)===d}function be(N){return x(N)===D}function S(N){return x(N)===p}function j(N){return x(N)===l}function J(N){return typeof N=="object"&&N!==null&&N.$$typeof===n}function H(N){return x(N)===y}function M(N){return x(N)===i}function X(N){return x(N)===g}function Q(N){return x(N)===m}function ne(N){return x(N)===r}function ie(N){return x(N)===s}function le(N){return x(N)===o}function Z(N){return x(N)===C}e.AsyncMode=F,e.ConcurrentMode=B,e.ContextConsumer=b,e.ContextProvider=I,e.Element=q,e.ForwardRef=U,e.Fragment=z,e.Lazy=G,e.Memo=ee,e.Portal=de,e.Profiler=pe,e.StrictMode=Ae,e.Suspense=te,e.isAsyncMode=Re,e.isConcurrentMode=be,e.isContextConsumer=S,e.isContextProvider=j,e.isElement=J,e.isForwardRef=H,e.isFragment=M,e.isLazy=X,e.isMemo=Q,e.isPortal=ne,e.isProfiler=ie,e.isStrictMode=le,e.isSuspense=Z,e.isValidElementType=_,e.typeOf=x})()}}),vr=he({"../../node_modules/react-is/index.js"(e,t){t.exports=wu()}}),Tu=he({"../../node_modules/object-assign/index.js"(e,t){var n=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,i=Object.prototype.propertyIsEnumerable;function o(l){if(l==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(l)}function s(){try{if(!Object.assign)return!1;var l=new String("abc");if(l[5]="de",Object.getOwnPropertyNames(l)[0]==="5")return!1;for(var p={},d=0;d<10;d++)p["_"+String.fromCharCode(d)]=d;var D=Object.getOwnPropertyNames(p).map(function(C){return p[C]});if(D.join("")!=="0123456789")return!1;var y={};return"abcdefghijklmnopqrst".split("").forEach(function(C){y[C]=C}),Object.keys(Object.assign({},y)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}t.exports=s()?Object.assign:function(l,p){for(var d,D=o(l),y,C=1;C1?l("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):l("Invalid argument supplied to oneOf, expected an array."),p;function j(J,H,M,X,Q){for(var ne=J[H],ie=0;ie0?", expected one of type ["+le.join(", ")+"]":"";return new k("Invalid "+ne+" `"+ie+"` supplied to "+("`"+Q+"`"+W+"."))}return v(H)}function z(){function S(j,J,H,M,X){return pe(j[J])?null:new k("Invalid "+M+" `"+X+"` supplied to "+("`"+H+"`, expected a ReactNode."))}return v(S)}function G(S,j,J,H,M){return new k((S||"React class")+": "+j+" type `"+J+"."+H+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+M+"`.")}function ee(S){function j(J,H,M,X,Q){var ne=J[H],ie=te(ne);if(ie!=="object")return new k("Invalid "+X+" `"+Q+"` of type `"+ie+"` "+("supplied to `"+M+"`, expected `object`."));for(var le in S){var Z=S[le];if(typeof Z!="function")return G(M,X,Q,le,Ee(Z));var N=Z(ne,le,M,X,Q+"."+le,i);if(N)return N}return null}return v(j)}function de(S){function j(J,H,M,X,Q){var ne=J[H],ie=te(ne);if(ie!=="object")return new k("Invalid "+X+" `"+Q+"` of type `"+ie+"` "+("supplied to `"+M+"`, expected `object`."));var le=r({},J[H],S);for(var Z in le){var N=S[Z];if(o(S,Z)&&typeof N!="function")return G(M,X,Q,Z,Ee(N));if(!N)return new k("Invalid "+X+" `"+Q+"` key `"+Z+"` supplied to `"+M+"`.\nBad object: "+JSON.stringify(J[H],null," ")+` -Valid keys: `+JSON.stringify(Object.keys(S),null," "));var se=N(ne,Z,M,X,Q+"."+Z,i);if(se)return se}return null}return v(j)}function pe(S){switch(typeof S){case"number":case"string":case"undefined":return!0;case"boolean":return!S;case"object":if(Array.isArray(S))return S.every(pe);if(S===null||d(S))return!0;var j=E(S);if(j){var J=j.call(S),H;if(j!==S.entries){for(;!(H=J.next()).done;)if(!pe(H.value))return!1}else for(;!(H=J.next()).done;){var M=H.value;if(M&&!pe(M[1]))return!1}}else return!1;return!0;default:return!1}}function Ae(S,j){return S==="symbol"?!0:j?j["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&j instanceof Symbol:!1}function te(S){var j=typeof S;return Array.isArray(S)?"array":S instanceof RegExp?"object":Ae(j,S)?"symbol":j}function Ee(S){if(typeof S>"u"||S===null)return""+S;var j=te(S);if(j==="object"){if(S instanceof Date)return"date";if(S instanceof RegExp)return"regexp"}return j}function Re(S){var j=Ee(S);switch(j){case"array":case"object":return"an "+j;case"boolean":case"date":case"regexp":return"a "+j;default:return j}}function be(S){return!S.constructor||!S.constructor.name?m:S.constructor.name}return g.checkPropTypes=s,g.resetWarningCache=s.resetWarningCache,g.PropTypes=g,g}}}),Iu=he({"../../node_modules/prop-types/index.js"(e,t){n=vr(),r=!0,t.exports=Pu()(n.isElement,r);var n,r}}),Ou=he({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),Ru=he({"../../node_modules/html-tags/index.js"(e,t){t.exports=Ou()}}),Lu=he({"../../node_modules/estraverse/estraverse.js"(e){(function t(n){var r,i,o,s,l,p;function d(x){var F={},B,b;for(B in x)x.hasOwnProperty(B)&&(b=x[B],typeof b=="object"&&b!==null?F[B]=d(b):F[B]=b);return F}function D(x,F){var B,b,I,q;for(b=x.length,I=0;b;)B=b>>>1,q=I+B,F(x[q])?b=B:(I=q+1,b-=B+1);return I}r={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},s={},l={},p={},i={Break:s,Skip:l,Remove:p};function y(x,F){this.parent=x,this.key=F}y.prototype.replace=function(x){this.parent[this.key]=x},y.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function C(x,F,B,b){this.node=x,this.path=F,this.wrap=B,this.ref=b}function E(){}E.prototype.path=function(){var x,F,B,b,I,q;function U(z,G){if(Array.isArray(G))for(B=0,b=G.length;B=0;--B)if(x[B].node===F)return!0;return!1}E.prototype.traverse=function(x,F){var B,b,I,q,U,z,G,ee,de,pe,Ae,te;for(this.__initialize(x,F),te={},B=this.__worklist,b=this.__leavelist,B.push(new C(x,null,null,null)),b.push(new C(null,null,null,null));B.length;){if(I=B.pop(),I===te){if(I=b.pop(),z=this.__execute(F.leave,I),this.__state===s||z===s)return;continue}if(I.node){if(z=this.__execute(F.enter,I),this.__state===s||z===s)return;if(B.push(te),b.push(I),this.__state===l||z===l)continue;if(q=I.node,U=q.type||I.wrap,pe=this.__keys[U],!pe)if(this.__fallback)pe=this.__fallback(q);else throw new Error("Unknown node type "+U+".");for(ee=pe.length;(ee-=1)>=0;)if(G=pe[ee],Ae=q[G],!!Ae){if(Array.isArray(Ae)){for(de=Ae.length;(de-=1)>=0;)if(Ae[de]&&!T(b,Ae[de])){if(g(U,pe[ee]))I=new C(Ae[de],[G,de],"Property",null);else if(m(Ae[de]))I=new C(Ae[de],[G,de],null,null);else continue;B.push(I)}}else if(m(Ae)){if(T(b,Ae))continue;B.push(new C(Ae,G,null,null))}}}}},E.prototype.replace=function(x,F){var B,b,I,q,U,z,G,ee,de,pe,Ae,te,Ee;function Re(be){var S,j,J,H;if(be.ref.remove()){for(j=be.ref.key,H=be.ref.parent,S=B.length;S--;)if(J=B[S],J.ref&&J.ref.parent===H){if(J.ref.key=0;)if(Ee=de[G],pe=I[Ee],!!pe)if(Array.isArray(pe)){for(ee=pe.length;(ee-=1)>=0;)if(pe[ee]){if(g(q,de[G]))z=new C(pe[ee],[Ee,ee],"Property",new y(pe,ee));else if(m(pe[ee]))z=new C(pe[ee],[Ee,ee],null,new y(pe,ee));else continue;B.push(z)}}else m(pe)&&B.push(new C(pe,Ee,null,new y(I,Ee)))}}return te.root};function k(x,F){var B=new E;return B.traverse(x,F)}function v(x,F){var B=new E;return B.replace(x,F)}function R(x,F){var B;return B=D(F,function(b){return b.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],B!==F.length&&(x.extendedRange[1]=F[B].range[0]),B-=1,B>=0&&(x.extendedRange[0]=F[B].range[1]),x}function _(x,F,B){var b=[],I,q,U,z;if(!x.range)throw new Error("attachComments needs range information");if(!B.length){if(F.length){for(U=0,q=F.length;UG.range[0]));)ee.extendedRange[1]===G.range[0]?(G.leadingComments||(G.leadingComments=[]),G.leadingComments.push(ee),b.splice(z,1)):z+=1;if(z===b.length)return i.Break;if(b[z].extendedRange[0]>G.range[1])return i.Skip}}),z=0,k(x,{leave:function(G){for(var ee;zG.range[1])return i.Skip}}),x}return n.Syntax=r,n.traverse=k,n.replace=v,n.attachComments=_,n.VisitorKeys=o,n.VisitorOption=i,n.Controller=E,n.cloneEnvironment=function(){return t({})},n})(e)}}),Nu=he({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function n(p){if(p==null)return!1;switch(p.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function r(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function i(p){if(p==null)return!1;switch(p.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(p){return i(p)||p!=null&&p.type==="FunctionDeclaration"}function s(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function l(p){var d;if(p.type!=="IfStatement"||p.alternate==null)return!1;d=p.consequent;do{if(d.type==="IfStatement"&&d.alternate==null)return!0;d=s(d)}while(d);return!1}t.exports={isExpression:n,isStatement:i,isIterationStatement:r,isSourceElement:o,isProblematicIfStatement:l,trailingStatement:s}})()}}),br=he({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var n,r,i,o,s,l;r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function p(v){return 48<=v&&v<=57}function d(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function D(v){return v>=48&&v<=55}i=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function y(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&i.indexOf(v)>=0}function C(v){return v===10||v===13||v===8232||v===8233}function E(v){if(v<=65535)return String.fromCharCode(v);var R=String.fromCharCode(Math.floor((v-65536)/1024)+55296),_=String.fromCharCode((v-65536)%1024+56320);return R+_}for(o=new Array(128),l=0;l<128;++l)o[l]=l>=97&&l<=122||l>=65&&l<=90||l===36||l===95;for(s=new Array(128),l=0;l<128;++l)s[l]=l>=97&&l<=122||l>=65&&l<=90||l>=48&&l<=57||l===36||l===95;function m(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(E(v))}function g(v){return v<128?s[v]:r.NonAsciiIdentifierPart.test(E(v))}function T(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(E(v))}function k(v){return v<128?s[v]:n.NonAsciiIdentifierPart.test(E(v))}t.exports={isDecimalDigit:p,isHexDigit:d,isOctalDigit:D,isWhiteSpace:y,isLineTerminator:C,isIdentifierStartES5:m,isIdentifierPartES5:g,isIdentifierStartES6:T,isIdentifierPartES6:k}})()}}),ju=he({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var n=br();function r(m){switch(m){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function i(m,g){return!g&&m==="yield"?!1:o(m,g)}function o(m,g){if(g&&r(m))return!0;switch(m.length){case 2:return m==="if"||m==="in"||m==="do";case 3:return m==="var"||m==="for"||m==="new"||m==="try";case 4:return m==="this"||m==="else"||m==="case"||m==="void"||m==="with"||m==="enum";case 5:return m==="while"||m==="break"||m==="catch"||m==="throw"||m==="const"||m==="yield"||m==="class"||m==="super";case 6:return m==="return"||m==="typeof"||m==="delete"||m==="switch"||m==="export"||m==="import";case 7:return m==="default"||m==="finally"||m==="extends";case 8:return m==="function"||m==="continue"||m==="debugger";case 10:return m==="instanceof";default:return!1}}function s(m,g){return m==="null"||m==="true"||m==="false"||i(m,g)}function l(m,g){return m==="null"||m==="true"||m==="false"||o(m,g)}function p(m){return m==="eval"||m==="arguments"}function d(m){var g,T,k;if(m.length===0||(k=m.charCodeAt(0),!n.isIdentifierStartES5(k)))return!1;for(g=1,T=m.length;g=T||(v=m.charCodeAt(g),!(56320<=v&&v<=57343)))return!1;k=D(k,v)}if(!R(k))return!1;R=n.isIdentifierPartES6}return!0}function C(m,g){return d(m)&&!s(m,g)}function E(m,g){return y(m)&&!l(m,g)}t.exports={isKeywordES5:i,isKeywordES6:o,isReservedWordES5:s,isReservedWordES6:l,isRestrictedWord:p,isIdentifierNameES5:d,isIdentifierNameES6:y,isIdentifierES5:C,isIdentifierES6:E}})()}}),Mu=he({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Nu(),e.code=br(),e.keyword=ju()})()}}),Vu=he({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(n){if(0<=n&&n>1;return d?-D:D}e.encode=function(p){var d="",D,y=s(p);do D=y&i,y>>>=n,y>0&&(D|=o),d+=t.encode(D);while(y>0);return d},e.decode=function(p,d,D){var y=p.length,C=0,E=0,m,g;do{if(d>=y)throw new Error("Expected more digits in base 64 VLQ value.");if(g=t.decode(p.charCodeAt(d++)),g===-1)throw new Error("Invalid base64 digit: "+p.charAt(d-1));m=!!(g&o),g&=i,C=C+(g<=0;U--)I=b[U],I==="."?b.splice(U,1):I===".."?q++:q>0&&(I===""?(b.splice(U+1,q),q=0):(b.splice(U,2),q--));return x=b.join("/"),x===""&&(x=B?"/":"."),F?(F.path=x,o(F)):x}e.normalize=s;function l(_,x){_===""&&(_="."),x===""&&(x=".");var F=i(x),B=i(_);if(B&&(_=B.path||"/"),F&&!F.scheme)return B&&(F.scheme=B.scheme),o(F);if(F||x.match(r))return x;if(B&&!B.host&&!B.path)return B.host=x,o(B);var b=x.charAt(0)==="/"?x:s(_.replace(/\/+$/,"")+"/"+x);return B?(B.path=b,o(B)):b}e.join=l,e.isAbsolute=function(_){return _.charAt(0)==="/"||n.test(_)};function p(_,x){_===""&&(_="."),_=_.replace(/\/$/,"");for(var F=0;x.indexOf(_+"/")!==0;){var B=_.lastIndexOf("/");if(B<0||(_=_.slice(0,B),_.match(/^([^\/]+:\/)?\/*$/)))return x;++F}return Array(F+1).join("../")+x.substr(_.length+1)}e.relative=p;var d=function(){var _=Object.create(null);return!("__proto__"in _)}();function D(_){return _}function y(_){return E(_)?"$"+_:_}e.toSetString=d?D:y;function C(_){return E(_)?_.slice(1):_}e.fromSetString=d?D:C;function E(_){if(!_)return!1;var x=_.length;if(x<9||_.charCodeAt(x-1)!==95||_.charCodeAt(x-2)!==95||_.charCodeAt(x-3)!==111||_.charCodeAt(x-4)!==116||_.charCodeAt(x-5)!==111||_.charCodeAt(x-6)!==114||_.charCodeAt(x-7)!==112||_.charCodeAt(x-8)!==95||_.charCodeAt(x-9)!==95)return!1;for(var F=x-10;F>=0;F--)if(_.charCodeAt(F)!==36)return!1;return!0}function m(_,x,F){var B=T(_.source,x.source);return B!==0||(B=_.originalLine-x.originalLine,B!==0)||(B=_.originalColumn-x.originalColumn,B!==0||F)||(B=_.generatedColumn-x.generatedColumn,B!==0)||(B=_.generatedLine-x.generatedLine,B!==0)?B:T(_.name,x.name)}e.compareByOriginalPositions=m;function g(_,x,F){var B=_.generatedLine-x.generatedLine;return B!==0||(B=_.generatedColumn-x.generatedColumn,B!==0||F)||(B=T(_.source,x.source),B!==0)||(B=_.originalLine-x.originalLine,B!==0)||(B=_.originalColumn-x.originalColumn,B!==0)?B:T(_.name,x.name)}e.compareByGeneratedPositionsDeflated=g;function T(_,x){return _===x?0:_===null?1:x===null?-1:_>x?1:-1}function k(_,x){var F=_.generatedLine-x.generatedLine;return F!==0||(F=_.generatedColumn-x.generatedColumn,F!==0)||(F=T(_.source,x.source),F!==0)||(F=_.originalLine-x.originalLine,F!==0)||(F=_.originalColumn-x.originalColumn,F!==0)?F:T(_.name,x.name)}e.compareByGeneratedPositionsInflated=k;function v(_){return JSON.parse(_.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function R(_,x,F){if(x=x||"",_&&(_[_.length-1]!=="/"&&x[0]!=="/"&&(_+="/"),x=_+x),F){var B=i(F);if(!B)throw new Error("sourceMapURL could not be parsed");if(B.path){var b=B.path.lastIndexOf("/");b>=0&&(B.path=B.path.substring(0,b+1))}x=l(o(B),x)}return s(x)}e.computeSourceURL=R}}),Tr=he({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=St(),n=Object.prototype.hasOwnProperty,r=typeof Map<"u";function i(){this._array=[],this._set=r?new Map:Object.create(null)}i.fromArray=function(o,s){for(var l=new i,p=0,d=o.length;p=0)return s}else{var l=t.toSetString(o);if(n.call(this._set,l))return this._set[l]}throw new Error('"'+o+'" is not in the set.')},i.prototype.at=function(o){if(o>=0&&os||l==s&&d>=p||t.compareByGeneratedPositionsInflated(i,o)<=0}function r(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}r.prototype.unsortedForEach=function(i,o){this._array.forEach(i,o)},r.prototype.add=function(i){n(this._last,i)?(this._last=i,this._array.push(i)):(this._sorted=!1,this._array.push(i))},r.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=r}}),kr=he({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=wr(),n=St(),r=Tr().ArraySet,i=qu().MappingList;function o(s){s||(s={}),this._file=n.getArg(s,"file",null),this._sourceRoot=n.getArg(s,"sourceRoot",null),this._skipValidation=n.getArg(s,"skipValidation",!1),this._sources=new r,this._names=new r,this._mappings=new i,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(s){var l=s.sourceRoot,p=new o({file:s.file,sourceRoot:l});return s.eachMapping(function(d){var D={generated:{line:d.generatedLine,column:d.generatedColumn}};d.source!=null&&(D.source=d.source,l!=null&&(D.source=n.relative(l,D.source)),D.original={line:d.originalLine,column:d.originalColumn},d.name!=null&&(D.name=d.name)),p.addMapping(D)}),s.sources.forEach(function(d){var D=d;l!==null&&(D=n.relative(l,d)),p._sources.has(D)||p._sources.add(D);var y=s.sourceContentFor(d);y!=null&&p.setSourceContent(d,y)}),p},o.prototype.addMapping=function(s){var l=n.getArg(s,"generated"),p=n.getArg(s,"original",null),d=n.getArg(s,"source",null),D=n.getArg(s,"name",null);this._skipValidation||this._validateMapping(l,p,d,D),d!=null&&(d=String(d),this._sources.has(d)||this._sources.add(d)),D!=null&&(D=String(D),this._names.has(D)||this._names.add(D)),this._mappings.add({generatedLine:l.line,generatedColumn:l.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:d,name:D})},o.prototype.setSourceContent=function(s,l){var p=s;this._sourceRoot!=null&&(p=n.relative(this._sourceRoot,p)),l!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[n.toSetString(p)]=l):this._sourcesContents&&(delete this._sourcesContents[n.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(s,l,p){var d=l;if(l==null){if(s.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);d=s.file}var D=this._sourceRoot;D!=null&&(d=n.relative(D,d));var y=new r,C=new r;this._mappings.unsortedForEach(function(E){if(E.source===d&&E.originalLine!=null){var m=s.originalPositionFor({line:E.originalLine,column:E.originalColumn});m.source!=null&&(E.source=m.source,p!=null&&(E.source=n.join(p,E.source)),D!=null&&(E.source=n.relative(D,E.source)),E.originalLine=m.line,E.originalColumn=m.column,m.name!=null&&(E.name=m.name))}var g=E.source;g!=null&&!y.has(g)&&y.add(g);var T=E.name;T!=null&&!C.has(T)&&C.add(T)},this),this._sources=y,this._names=C,s.sources.forEach(function(E){var m=s.sourceContentFor(E);m!=null&&(p!=null&&(E=n.join(p,E)),D!=null&&(E=n.relative(D,E)),this.setSourceContent(E,m))},this)},o.prototype._validateMapping=function(s,l,p,d){if(l&&typeof l.line!="number"&&typeof l.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(s&&"line"in s&&"column"in s&&s.line>0&&s.column>=0&&!l&&!p&&!d)){if(s&&"line"in s&&"column"in s&&l&&"line"in l&&"column"in l&&s.line>0&&s.column>=0&&l.line>0&&l.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:s,source:p,original:l,name:d}))}},o.prototype._serializeMappings=function(){for(var s=0,l=1,p=0,d=0,D=0,y=0,C="",E,m,g,T,k=this._mappings.toArray(),v=0,R=k.length;v0){if(!n.compareByGeneratedPositionsInflated(m,k[v-1]))continue;E+=","}E+=t.encode(m.generatedColumn-s),s=m.generatedColumn,m.source!=null&&(T=this._sources.indexOf(m.source),E+=t.encode(T-y),y=T,E+=t.encode(m.originalLine-1-d),d=m.originalLine-1,E+=t.encode(m.originalColumn-p),p=m.originalColumn,m.name!=null&&(g=this._names.indexOf(m.name),E+=t.encode(g-D),D=g)),C+=E}return C},o.prototype._generateSourcesContent=function(s,l){return s.map(function(p){if(!this._sourcesContents)return null;l!=null&&(p=n.relative(l,p));var d=n.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,d)?this._sourcesContents[d]:null},this)},o.prototype.toJSON=function(){var s={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(s.file=this._file),this._sourceRoot!=null&&(s.sourceRoot=this._sourceRoot),this._sourcesContents&&(s.sourcesContent=this._generateSourcesContent(s.sources,s.sourceRoot)),s},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),Uu=he({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(n,r,i,o,s,l){var p=Math.floor((r-n)/2)+n,d=s(i,o[p],!0);return d===0?p:d>0?r-p>1?t(p,r,i,o,s,l):l==e.LEAST_UPPER_BOUND?r1?t(n,p,i,o,s,l):l==e.LEAST_UPPER_BOUND?p:n<0?-1:n}e.search=function(n,r,i,o){if(r.length===0)return-1;var s=t(-1,r.length,n,r,i,o||e.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&i(r[s],r[s-1],!0)===0;)--s;return s}}}),Wu=he({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(i,o,s){var l=i[o];i[o]=i[s],i[s]=l}function n(i,o){return Math.round(i+Math.random()*(o-i))}function r(i,o,s,l){if(s=0){var g=this._originalMappings[m];if(D.column===void 0)for(var T=g.originalLine;g&&g.originalLine===T;)E.push({line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++m];else for(var k=g.originalColumn;g&&g.originalLine===y&&g.originalColumn==k;)E.push({line:t.getArg(g,"generatedLine",null),column:t.getArg(g,"generatedColumn",null),lastColumn:t.getArg(g,"lastGeneratedColumn",null)}),g=this._originalMappings[++m]}return E},e.SourceMapConsumer=s;function l(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var E=t.getArg(C,"version"),m=t.getArg(C,"sources"),g=t.getArg(C,"names",[]),T=t.getArg(C,"sourceRoot",null),k=t.getArg(C,"sourcesContent",null),v=t.getArg(C,"mappings"),R=t.getArg(C,"file",null);if(E!=this._version)throw new Error("Unsupported version: "+E);T&&(T=t.normalize(T)),m=m.map(String).map(t.normalize).map(function(_){return T&&t.isAbsolute(T)&&t.isAbsolute(_)?t.relative(T,_):_}),this._names=r.fromArray(g.map(String),!0),this._sources=r.fromArray(m,!0),this._absoluteSources=this._sources.toArray().map(function(_){return t.computeSourceURL(T,_,y)}),this.sourceRoot=T,this.sourcesContent=k,this._mappings=v,this._sourceMapURL=y,this.file=R}l.prototype=Object.create(s.prototype),l.prototype.consumer=s,l.prototype._findSourceIndex=function(D){var y=D;if(this.sourceRoot!=null&&(y=t.relative(this.sourceRoot,y)),this._sources.has(y))return this._sources.indexOf(y);var C;for(C=0;C1&&(b.source=T+q[1],T+=q[1],b.originalLine=m+q[2],m=b.originalLine,b.originalLine+=1,b.originalColumn=g+q[3],g=b.originalColumn,q.length>4&&(b.name=k+q[4],k+=q[4])),B.push(b),typeof b.originalLine=="number"&&F.push(b)}o(B,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=B,o(F,t.compareByOriginalPositions),this.__originalMappings=F},l.prototype._findMapping=function(D,y,C,E,m,g){if(D[C]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+D[C]);if(D[E]<0)throw new TypeError("Column must be greater than or equal to 0, got "+D[E]);return n.search(D,y,m,g)},l.prototype.computeColumnSpans=function(){for(var D=0;D=0){var E=this._generatedMappings[C];if(E.generatedLine===y.generatedLine){var m=t.getArg(E,"source",null);m!==null&&(m=this._sources.at(m),m=t.computeSourceURL(this.sourceRoot,m,this._sourceMapURL));var g=t.getArg(E,"name",null);return g!==null&&(g=this._names.at(g)),{source:m,line:t.getArg(E,"originalLine",null),column:t.getArg(E,"originalColumn",null),name:g}}}return{source:null,line:null,column:null,name:null}},l.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(D){return D==null}):!1},l.prototype.sourceContentFor=function(D,y){if(!this.sourcesContent)return null;var C=this._findSourceIndex(D);if(C>=0)return this.sourcesContent[C];var E=D;this.sourceRoot!=null&&(E=t.relative(this.sourceRoot,E));var m;if(this.sourceRoot!=null&&(m=t.urlParse(this.sourceRoot))){var g=E.replace(/^file:\/\//,"");if(m.scheme=="file"&&this._sources.has(g))return this.sourcesContent[this._sources.indexOf(g)];if((!m.path||m.path=="/")&&this._sources.has("/"+E))return this.sourcesContent[this._sources.indexOf("/"+E)]}if(y)return null;throw new Error('"'+E+'" is not in the SourceMap.')},l.prototype.generatedPositionFor=function(D){var y=t.getArg(D,"source");if(y=this._findSourceIndex(y),y<0)return{line:null,column:null,lastColumn:null};var C={source:y,originalLine:t.getArg(D,"line"),originalColumn:t.getArg(D,"column")},E=this._findMapping(C,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(D,"bias",s.GREATEST_LOWER_BOUND));if(E>=0){var m=this._originalMappings[E];if(m.source===C.source)return{line:t.getArg(m,"generatedLine",null),column:t.getArg(m,"generatedColumn",null),lastColumn:t.getArg(m,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=l;function d(D,y){var C=D;typeof D=="string"&&(C=t.parseSourceMapInput(D));var E=t.getArg(C,"version"),m=t.getArg(C,"sections");if(E!=this._version)throw new Error("Unsupported version: "+E);this._sources=new r,this._names=new r;var g={line:-1,column:0};this._sections=m.map(function(T){if(T.url)throw new Error("Support for url field in sections not implemented.");var k=t.getArg(T,"offset"),v=t.getArg(k,"line"),R=t.getArg(k,"column");if(v=0;p--)this.prepend(l[p]);else if(l[o]||typeof l=="string")this.children.unshift(l);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+l);return this},s.prototype.walk=function(l){for(var p,d=0,D=this.children.length;d0){for(p=[],d=0;d=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),Ju=he({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,n,r,i,o,s,l,p,d,D,y,C,E,m,g,T,k,v,R,_,x,F,B,b,I,q;o=Lu(),s=Mu(),t=o.Syntax;function U(u){return Fe.Expression.hasOwnProperty(u.type)}function z(u){return Fe.Statement.hasOwnProperty(u.type)}n={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},r={"??":n.Coalesce,"||":n.LogicalOR,"&&":n.LogicalAND,"|":n.BitwiseOR,"^":n.BitwiseXOR,"&":n.BitwiseAND,"==":n.Equality,"!=":n.Equality,"===":n.Equality,"!==":n.Equality,is:n.Equality,isnt:n.Equality,"<":n.Relational,">":n.Relational,"<=":n.Relational,">=":n.Relational,in:n.Relational,instanceof:n.Relational,"<<":n.BitwiseSHIFT,">>":n.BitwiseSHIFT,">>>":n.BitwiseSHIFT,"+":n.Additive,"-":n.Additive,"*":n.Multiplicative,"%":n.Multiplicative,"/":n.Multiplicative,"**":n.Exponentiation};var G=1,ee=2,de=4,pe=8,Ae=16,te=32,Ee=64,Re=ee|de,be=G|ee,S=G|ee|de,j=G,J=de,H=G|de,M=G,X=G|te,Q=0,ne=G|Ae,ie=G|pe;function le(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` -`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Z(u,c){var a="";for(c|=0;c>0;c>>>=1,u+=u)c&1&&(a+=u);return a}function N(u){return/[\r\n]/g.test(u)}function se(u){var c=u.length;return c&&s.code.isLineTerminator(u.charCodeAt(c-1))}function W(u,c){var a;for(a in c)c.hasOwnProperty(a)&&(u[a]=c[a]);return u}function Ne(u,c){var a,h;function A(w){return typeof w=="object"&&w instanceof Object&&!(w instanceof RegExp)}for(a in c)c.hasOwnProperty(a)&&(h=c[a],A(h)?A(u[a])?Ne(u[a],h):u[a]=Ne({},h):u[a]=h);return u}function rt(u){var c,a,h,A,w;if(u!==u)throw new Error("Numeric literal whose value is NaN");if(u<0||u===0&&1/u<0)throw new Error("Numeric literal whose value is negative");if(u===1/0)return d?"null":D?"1e400":"1e+400";if(c=""+u,!D||c.length<3)return c;for(a=c.indexOf("."),!d&&c.charCodeAt(0)===48&&a===1&&(a=0,c=c.slice(1)),h=c,c=c.replace("e+","e"),A=0,(w=h.indexOf("e"))>0&&(A=+h.slice(w+1),h=h.slice(0,w)),a>=0&&(A-=h.length-a-1,h=+(h.slice(0,a)+h.slice(a+1))+""),w=0;h.charCodeAt(h.length+w-1)===48;)--w;return w!==0&&(A-=w,h=h.slice(0,w)),A!==0&&(h+="e"+A),(h.length1e12&&Math.floor(u)===u&&(h="0x"+u.toString(16)).length255?"\\u"+"0000".slice(a.length)+a:u===0&&!s.code.isDecimalDigit(c)?"\\0":u===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function cu(u){if(u===92)return"\\\\";if(u===10)return"\\n";if(u===13)return"\\r";if(u===8232)return"\\u2028";if(u===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function hu(u){var c,a,h,A;for(A=C==="double"?'"':"'",c=0,a=u.length;c126))){c+=lu(A,u.charCodeAt(a+1));continue}c+=String.fromCharCode(A)}if(O=!(C==="double"||C==="auto"&&P=0&&!s.code.isLineTerminator(u.charCodeAt(c));--c);return u.length-1-c}function du(u,c){var a,h,A,w,P,O,V,ae;for(a=u.split(/\r\n|[\r\n]/),O=Number.MAX_VALUE,h=1,A=a.length;hP&&(O=P)}for(typeof c<"u"?(V=l,a[1][O]==="*"&&(c+=" "),l=c):(O&1&&--O,V=l),h=1,A=a.length;h0){if(w=c,b){for(A=u.leadingComments[0],c=[],ae=A.extendedRange,xe=A.range,it=B.substring(ae[0],xe[0]),je=(it.match(/\n/g)||[]).length,je>0?(c.push(Z(` -`,je)),c.push(ve(We(A)))):(c.push(it),c.push(We(A))),He=xe,a=1,h=u.leadingComments.length;a0?(c.push(Z(` -`,je)),c.push(ve(We(A)))):(c.push(it),c.push(We(A)));else for(P=!se(fe(c).toString()),O=Z(" ",fu(fe([l,c,p]).toString())),a=0,h=u.trailingComments.length;a")),u.expression?(c.push(g),a=this.generateExpression(u.body,n.Assignment,S),a.toString().charAt(0)==="{"&&(a=["(",a,")"]),c.push(a)):c.push(this.maybeBlock(u.body,ie)),c},Fe.prototype.generateIterationForStatement=function(u,c,a){var h=["for"+(c.await?Be()+"await":"")+g+"("],A=this;return ge(function(){c.left.type===t.VariableDeclaration?ge(function(){h.push(c.left.kind+Be()),h.push(A.generateStatement(c.left.declarations[0],Q))}):h.push(A.generateExpression(c.left,n.Call,S)),h=Y(h,u),h=[Y(h,A.generateExpression(c.right,n.Assignment,S)),")"]}),h.push(this.maybeBlock(c.body,a)),h},Fe.prototype.generatePropertyKey=function(u,c){var a=[];return c&&a.push("["),a.push(this.generateExpression(u,n.Assignment,S)),c&&a.push("]"),a},Fe.prototype.generateAssignment=function(u,c,a,h,A){return n.Assignment2&&(h=B.substring(a[0]+1,a[1]-1),h[0]===` -`&&(A=["{"]),A.push(h)));var P,O,V,ae;for(ae=M,c&pe&&(ae|=Ae),P=0,O=u.body.length;P0&&!u.body[P-1].trailingComments&&!u.body[P].leadingComments&&ut(u.body[P-1].range[1],u.body[P].range[0],A)),P===O-1&&(ae|=te),u.body[P].leadingComments&&b?V=w.generateStatement(u.body[P],ae):V=ve(w.generateStatement(u.body[P],ae)),A.push(V),se(fe(V).toString())||b&&P1?ge(V):V(),a.push(this.semicolon(c)),a},ThrowStatement:function(u,c){return[Y("throw",this.generateExpression(u.argument,n.Sequence,S)),this.semicolon(c)]},TryStatement:function(u,c){var a,h,A,w;if(a=["try",this.maybeBlock(u.block,M)],a=this.maybeBlockSuffix(u.block,a),u.handlers)for(h=0,A=u.handlers.length;h0?` -`:""],P=ne,A=0;A0&&!u.body[A-1].trailingComments&&!u.body[A].leadingComments&&ut(u.body[A-1].range[1],u.body[A].range[0],a)),h=ve(this.generateStatement(u.body[A],P)),a.push(h),A+10){for(h.push("("),w=0,P=A;w=2&&A.charCodeAt(0)===48)&&h.push(" ")),h.push(u.optional?"?.":"."),h.push(ke(u.property))),ye(h,n.Member,c)},MetaProperty:function(u,c,a){var h;return h=[],h.push(typeof u.meta=="string"?u.meta:ke(u.meta)),h.push("."),h.push(typeof u.property=="string"?u.property:ke(u.property)),ye(h,n.Member,c)},UnaryExpression:function(u,c,a){var h,A,w,P,O;return A=this.generateExpression(u.argument,n.Unary,S),g===""?h=Y(u.operator,A):(h=[u.operator],u.operator.length>2?h=Y(h,A):(P=fe(h).toString(),O=P.charCodeAt(P.length-1),w=A.toString().charCodeAt(0),((O===43||O===45)&&O===w||s.code.isIdentifierPartES5(O)&&s.code.isIdentifierPartES5(w))&&h.push(Be()),h.push(A))),ye(h,n.Unary,c)},YieldExpression:function(u,c,a){var h;return u.delegate?h="yield*":h="yield",u.argument&&(h=Y(h,this.generateExpression(u.argument,n.Yield,S))),ye(h,n.Yield,c)},AwaitExpression:function(u,c,a){var h=Y(u.all?"await*":"await",this.generateExpression(u.argument,n.Await,S));return ye(h,n.Await,c)},UpdateExpression:function(u,c,a){return u.prefix?ye([u.operator,this.generateExpression(u.argument,n.Unary,S)],n.Unary,c):ye([this.generateExpression(u.argument,n.Postfix,S),u.operator],n.Postfix,c)},FunctionExpression:function(u,c,a){var h=[Dt(u,!0),"function"];return u.id?(h.push(Tt(u)||Be()),h.push(ke(u.id))):h.push(Tt(u)||g),h.push(this.generateFunctionBody(u)),h},ArrayPattern:function(u,c,a){return this.ArrayExpression(u,c,a,!0)},ArrayExpression:function(u,c,a,h){var A,w,P=this;return u.elements.length?(w=h?!1:u.elements.length>1,A=["[",w?m:""],ge(function(O){var V,ae;for(V=0,ae=u.elements.length;V1,ge(function(){w=P.generateExpression(u.properties[0],n.Sequence,S)}),!h&&!N(fe(w).toString())?["{",g,w,g,"}"]:(ge(function(O){var V,ae;if(A=["{",m,O,w],h)for(A.push(","+m),V=1,ae=u.properties.length;V0||_.moz.comprehensionExpressionStartsWithAssignment?h=Y(h,P):h.push(P)}),u.filter&&(h=Y(h,"if"+g),P=this.generateExpression(u.filter,n.Sequence,S),h=Y(h,["(",P,")"])),_.moz.comprehensionExpressionStartsWithAssignment||(P=this.generateExpression(u.body,n.Assignment,S),h=Y(h,P)),h.push(u.type===t.GeneratorExpression?")":"]"),h},ComprehensionBlock:function(u,c,a){var h;return u.left.type===t.VariableDeclaration?h=[u.left.kind,Be(),this.generateStatement(u.left.declarations[0],Q)]:h=this.generateExpression(u.left,n.Call,S),h=Y(h,u.of?"of":"in"),h=Y(h,this.generateExpression(u.right,n.Sequence,S)),["for"+g+"(",h,")"]},SpreadElement:function(u,c,a){return["...",this.generateExpression(u.argument,n.Assignment,S)]},TaggedTemplateExpression:function(u,c,a){var h=be;a&ee||(h=j);var A=[this.generateExpression(u.tag,n.Call,h),this.generateExpression(u.quasi,n.Primary,J)];return ye(A,n.TaggedTemplate,c)},TemplateElement:function(u,c,a){return u.value.raw},TemplateLiteral:function(u,c,a){var h,A,w;for(h=["`"],A=0,w=u.quasis.length;Agt,Parser:()=>me,Position:()=>Ke,SourceLocation:()=>ct,TokContext:()=>Oe,Token:()=>Ft,TokenType:()=>ce,defaultOptions:()=>Bt,getLineInfo:()=>mn,isIdentifierChar:()=>Qe,isIdentifierStart:()=>Ge,isNewLine:()=>ot,keywordTypes:()=>xt,lineBreak:()=>Te,lineBreakG:()=>et,nonASCIIwhitespace:()=>Wt,parse:()=>ri,parseExpressionAt:()=>ui,tokContexts:()=>Ce,tokTypes:()=>f,tokenizer:()=>ii,version:()=>xn});function Dn(e,t){for(var n=65536,r=0;re)return!1;if(n+=t[r+1],n>=e)return!0}}function Ge(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Or.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)}function Qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Rr.test(String.fromCharCode(e)):t===!1?!1:Dn(e,kn)||Dn(e,Lr)}function Le(e,t){return new ce(e,{beforeExpr:!0,binop:t})}function oe(e,t){return t===void 0&&(t={}),t.keyword=e,xt[e]=new ce(e,t)}function ot(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function qt(e,t){return Nr.call(e,t)}function Ze(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function mn(e,t){for(var n=1,r=0;;){et.lastIndex=r;var i=et.exec(e);if(i&&i.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),Cn(t.onToken)){var r=t.onToken;t.onToken=function(i){return r.push(i)}}return Cn(t.onComment)&&(t.onComment=Hu(t,t.onComment)),t}function Hu(e,t){return function(n,r,i,o,s,l){var p={type:n?"Block":"Line",value:r,start:i,end:o};e.locations&&(p.loc=new ct(this,s,l)),e.ranges&&(p.range=[i,o]),t.push(p)}}function Yt(e,t){return lt|(e?En:0)|(t?gn:0)}function Pt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Jn(e,t,n,r){return e.type=t,e.end=n,this.options.locations&&(e.loc.end=r),this.options.ranges&&(e.range[1]=n),e}function Jt(e){var t=yn[e]={binary:Ze(jr[e]+" "+Fn),nonBinary:{General_Category:Ze(Fn),Script:Ze(Mr[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function It(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Xn(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function Qu(e){return Ge(e,!0)||e===36||e===95}function Ku(e){return Qe(e,!0)||e===36||e===95||e===8204||e===8205}function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}function Zu(e){return e>=0&&e<=1114111}function ei(e){return e===100||e===68||e===115||e===83||e===119||e===87}function Ir(e){return Pr(e)||e===95}function ti(e){return Ir(e)||Ut(e)}function Ut(e){return e>=48&&e<=57}function Hn(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Qn(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Kn(e){return e>=48&&e<=55}function ni(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Zn(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Xt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function ri(e,t){return me.parse(e,t)}function ui(e,t,n){return me.parseExpressionAt(e,t,n)}function ii(e,t){return me.tokenizer(e,t)}var Ot,Rt,er,tr,Lt,Ht,Or,Rr,kn,Lr,ce,Pe,we,xt,f,Te,et,Wt,Ie,Qt,Nr,nr,Cn,Ke,ct,Bt,st,lt,Nt,En,gn,Kt,Zt,en,tn,nn,jt,Me,rn,un,sn,me,Ye,_e,rr,K,Mt,ur,ir,at,Vt,an,Ve,re,sr,mt,ze,ar,gt,Ct,Oe,Ce,Et,on,ln,or,jr,Fn,cn,hn,lr,Mr,yn,$,qe,Ft,ue,pn,xn,Bn=Eu({"../../node_modules/acorn/dist/acorn.mjs"(){Ot={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Rt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",er={5:Rt,"5module":Rt+" export import",6:Rt+" const class extends export import super"},tr=/^in(stanceof)?$/,Lt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ht="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",Or=new RegExp("["+Lt+"]"),Rr=new RegExp("["+Lt+Ht+"]"),Lt=Ht=null,kn=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],Lr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],ce=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Pe={beforeExpr:!0},we={startsExpr:!0},xt={},f={num:new ce("num",we),regexp:new ce("regexp",we),string:new ce("string",we),name:new ce("name",we),eof:new ce("eof"),bracketL:new ce("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new ce("]"),braceL:new ce("{",{beforeExpr:!0,startsExpr:!0}),braceR:new ce("}"),parenL:new ce("(",{beforeExpr:!0,startsExpr:!0}),parenR:new ce(")"),comma:new ce(",",Pe),semi:new ce(";",Pe),colon:new ce(":",Pe),dot:new ce("."),question:new ce("?",Pe),questionDot:new ce("?."),arrow:new ce("=>",Pe),template:new ce("template"),invalidTemplate:new ce("invalidTemplate"),ellipsis:new ce("...",Pe),backQuote:new ce("`",we),dollarBraceL:new ce("${",{beforeExpr:!0,startsExpr:!0}),eq:new ce("=",{beforeExpr:!0,isAssign:!0}),assign:new ce("_=",{beforeExpr:!0,isAssign:!0}),incDec:new ce("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new ce("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Le("||",1),logicalAND:Le("&&",2),bitwiseOR:Le("|",3),bitwiseXOR:Le("^",4),bitwiseAND:Le("&",5),equality:Le("==/!=/===/!==",6),relational:Le("/<=/>=",7),bitShift:Le("<>/>>>",8),plusMin:new ce("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Le("%",10),star:Le("*",10),slash:Le("/",10),starstar:new ce("**",{beforeExpr:!0}),coalesce:Le("??",1),_break:oe("break"),_case:oe("case",Pe),_catch:oe("catch"),_continue:oe("continue"),_debugger:oe("debugger"),_default:oe("default",Pe),_do:oe("do",{isLoop:!0,beforeExpr:!0}),_else:oe("else",Pe),_finally:oe("finally"),_for:oe("for",{isLoop:!0}),_function:oe("function",we),_if:oe("if"),_return:oe("return",Pe),_switch:oe("switch"),_throw:oe("throw",Pe),_try:oe("try"),_var:oe("var"),_const:oe("const"),_while:oe("while",{isLoop:!0}),_with:oe("with"),_new:oe("new",{beforeExpr:!0,startsExpr:!0}),_this:oe("this",we),_super:oe("super",we),_class:oe("class",we),_extends:oe("extends",Pe),_export:oe("export"),_import:oe("import",we),_null:oe("null",we),_true:oe("true",we),_false:oe("false",we),_in:oe("in",{beforeExpr:!0,binop:7}),_instanceof:oe("instanceof",{beforeExpr:!0,binop:7}),_typeof:oe("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:oe("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:oe("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Te=/\r\n?|\n|\u2028|\u2029/,et=new RegExp(Te.source,"g"),Wt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ie=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Qt=Object.prototype,Nr=Qt.hasOwnProperty,nr=Qt.toString,Cn=Array.isArray||function(e){return nr.call(e)==="[object Array]"},Ke=function(e,t){this.line=e,this.column=t},Ke.prototype.offset=function(e){return new Ke(this.line,this.column+e)},ct=function(e,t,n){this.start=t,this.end=n,e.sourceFile!==null&&(this.source=e.sourceFile)},Bt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},st=1,lt=2,Nt=st|lt,En=4,gn=8,Kt=16,Zt=32,en=64,tn=128,nn=0,jt=1,Me=2,rn=3,un=4,sn=5,me=function(e,t,n){this.options=e=Xu(e),this.sourceFile=e.sourceFile,this.keywords=Ze(er[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var r="";if(e.allowReserved!==!0){for(var i=e.ecmaVersion;!(r=Ot[i]);i--);e.sourceType==="module"&&(r+=" await")}this.reservedWords=Ze(r);var o=(r?r+" ":"")+Ot.strict;this.reservedWordsStrict=Ze(o),this.reservedWordsStrictBind=Ze(o+" "+Ot.strictBind),this.input=String(t),this.containsEsc=!1,n?(this.pos=n,this.lineStart=this.input.lastIndexOf(` -`,n-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(Te).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(st),this.regexpState=null},Ye={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},me.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ye.inFunction.get=function(){return(this.currentVarScope().flags<)>0},Ye.inGenerator.get=function(){return(this.currentVarScope().flags&gn)>0},Ye.inAsync.get=function(){return(this.currentVarScope().flags&En)>0},Ye.allowSuper.get=function(){return(this.currentThisScope().flags&en)>0},Ye.allowDirectSuper.get=function(){return(this.currentThisScope().flags&tn)>0},Ye.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},me.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags<)>0},me.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var n=this,r=0;r=,?^&]/.test(i)||i==="!"&&this.input.charAt(r+1)==="=")}e+=t[0].length,Ie.lastIndex=e,e+=Ie.exec(this.input)[0].length,this.input[e]===";"&&e++}},_e.eat=function(e){return this.type===e?(this.next(),!0):!1},_e.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc},_e.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},_e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},_e.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||Te.test(this.input.slice(this.lastTokEnd,this.start))},_e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},_e.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},_e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},_e.expect=function(e){this.eat(e)||this.unexpected()},_e.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},_e.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=t?e.parenthesizedAssign:e.parenthesizedBind;n>-1&&this.raiseRecoverable(n,"Parenthesized pattern")}},_e.checkExpressionErrors=function(e,t){if(!e)return!1;var n=e.shorthandAssign,r=e.doubleProto;if(!t)return n>=0||r>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),r>=0&&this.raiseRecoverable(r,"Redefinition of __proto__ property")},_e.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(i,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(i,!0);case f._if:return this.parseIfStatement(i);case f._return:return this.parseReturnStatement(i);case f._switch:return this.parseSwitchStatement(i);case f._throw:return this.parseThrowStatement(i);case f._try:return this.parseTryStatement(i);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(i,o);case f._while:return this.parseWhileStatement(i);case f._with:return this.parseWithStatement(i);case f.braceL:return this.parseBlock(!0,i);case f.semi:return this.parseEmptyStatement(i);case f._export:case f._import:if(this.options.ecmaVersion>10&&r===f._import){Ie.lastIndex=this.pos;var s=Ie.exec(this.input),l=this.pos+s[0].length,p=this.input.charCodeAt(l);if(p===40||p===46)return this.parseExpressionStatement(i,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),r===f._import?this.parseImport(i):this.parseExport(i,n);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(i,!0,!e);var d=this.value,D=this.parseExpression();return r===f.name&&D.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(i,d,D,e):this.parseExpressionStatement(i,D)}},K.parseBreakContinueStatement=function(e,t){var n=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var r=0;r=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},K.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Mt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var n=this.isLet();if(this.type===f._var||this.type===f._const||n){var r=this.startNode(),i=n?"let":this.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,r)):(t>-1&&this.unexpected(t),this.parseFor(e,r))}var o=new Pt,s=this.parseExpression(!0,o);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(s,!1,o),this.checkLVal(s),this.parseForIn(e,s)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,s))},K.parseFunctionStatement=function(e,t,n){return this.next(),this.parseFunction(e,at|(n?0:Vt),!1,t)},K.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},K.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},K.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(ur),this.enterScope(0);for(var t,n=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var r=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},K.parseThrowStatement=function(e){return this.next(),Te.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},ir=[],K.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var n=t.param.type==="Identifier";this.enterScope(n?Zt:0),this.checkLVal(t.param,n?un:Me),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},K.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},K.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Mt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},K.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},K.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},K.parseLabeledStatement=function(e,t,n,r){for(var i=0,o=this.labels;i=0;p--){var d=this.labels[p];if(d.statementStart===e.start)d.statementStart=this.start,d.kind=l;else break}return this.labels.push({name:t,kind:l,statementStart:this.start}),e.body=this.parseStatement(r?r.indexOf("label")===-1?r+"label":r:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")},K.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},K.parseBlock=function(e,t,n){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var r=this.parseStatement(null);t.body.push(r)}return n&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},K.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},K.parseForIn=function(e,t){var n=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")},K.parseVar=function(e,t,n){for(e.declarations=[],e.kind=n;;){var r=this.startNode();if(this.parseVarId(r,n),this.eat(f.eq)?r.init=this.parseMaybeAssign(t):n==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():r.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):r.init=null,e.declarations.push(this.finishNode(r,"VariableDeclarator")),!this.eat(f.comma))break}return e},K.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?jt:Me,!1)},at=1,Vt=2,an=4,K.parseFunction=function(e,t,n,r){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!r)&&(this.type===f.star&&t&Vt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!r),t&at&&(e.id=t&an&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Vt)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?jt:Me:rn));var i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yt(e.async,e.generator)),t&at||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&at?"FunctionDeclaration":"FunctionExpression")},K.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},K.parseClass=function(e,t){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var r=this.startNode(),i=!1;for(r.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(r.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(i&&this.raise(o.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=n,this.next(),e.body=this.finishNode(r,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},K.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var n=this.startNode(),r=function(p,d){d===void 0&&(d=!1);var D=t.start,y=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!d||!t.canInsertSemicolon())?!0:(n.key&&t.unexpected(),n.computed=!1,n.key=t.startNodeAt(D,y),n.key.name=p,t.finishNode(n.key,"Identifier"),!1):!1};n.kind="method",n.static=r("static");var i=this.eat(f.star),o=!1;i||(this.options.ecmaVersion>=8&&r("async",!0)?(o=!0,i=this.options.ecmaVersion>=9&&this.eat(f.star)):r("get")?n.kind="get":r("set")&&(n.kind="set")),n.key||this.parsePropertyName(n);var s=n.key,l=!1;return!n.computed&&!n.static&&(s.type==="Identifier"&&s.name==="constructor"||s.type==="Literal"&&s.value==="constructor")?(n.kind!=="method"&&this.raise(s.start,"Constructor can't have get/set modifier"),i&&this.raise(s.start,"Constructor can't be a generator"),o&&this.raise(s.start,"Constructor can't be an async method"),n.kind="constructor",l=e):n.static&&s.type==="Identifier"&&s.name==="prototype"&&this.raise(s.start,"Classes may not have a static property named prototype"),this.parseClassMethod(n,i,o,l),n.kind==="get"&&n.value.params.length!==0&&this.raiseRecoverable(n.value.start,"getter should have no params"),n.kind==="set"&&n.value.params.length!==1&&this.raiseRecoverable(n.value.start,"setter should have exactly one param"),n.kind==="set"&&n.value.params[0].type==="RestElement"&&this.raiseRecoverable(n.value.params[0].start,"Setter cannot use rest params"),n},K.parseClassMethod=function(e,t,n,r){return e.value=this.parseMethod(t,n,r),this.finishNode(e,"MethodDefinition")},K.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Me,!1)):(t===!0&&this.unexpected(),e.id=null)},K.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},K.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var n;if(this.type===f._function||(n=this.isAsyncFunction())){var r=this.startNode();this.next(),n&&this.next(),e.declaration=this.parseFunction(r,at|an,!1,n)}else if(this.type===f._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,s=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var r=0,i=e.properties;r=8&&!o&&s.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(r,i),0,!1,!0);if(n&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(r,i),[s],!1);if(this.options.ecmaVersion>=8&&s.name==="async"&&this.type===f.name&&!o)return s=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(r,i),[s],!0)}return s;case f.regexp:var l=this.value;return t=this.parseLiteral(l.value),t.regex={pattern:l.pattern,flags:l.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,d=this.parseParenAndDistinguishExpression(n);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(d)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),d;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},re.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},re.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},re.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},re.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},re.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e},re.parseParenAndDistinguishExpression=function(e){var t=this.start,n=this.startLoc,r,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,s=this.startLoc,l=[],p=!0,d=!1,D=new Pt,y=this.yieldPos,C=this.awaitPos,E;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),i&&this.afterTrailingComma(f.parenR,!0)){d=!0;break}else if(this.type===f.ellipsis){E=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,D,this.parseParenItem));var m=this.start,g=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(D,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=y,this.awaitPos=C,this.parseParenArrowList(t,n,l);(!l.length||d)&&this.unexpected(this.lastTokStart),E&&this.unexpected(E),this.checkExpressionErrors(D,!0),this.yieldPos=y||this.yieldPos,this.awaitPos=C||this.awaitPos,l.length>1?(r=this.startNodeAt(o,s),r.expressions=l,this.finishNodeAt(r,"SequenceExpression",m,g)):r=l[0]}else r=this.parseParenExpression();if(this.options.preserveParens){var T=this.startNodeAt(t,n);return T.expression=r,this.finishNode(T,"ParenthesizedExpression")}else return r},re.parseParenItem=function(e){return e},re.parseParenArrowList=function(e,t,n){return this.parseArrowExpression(this.startNodeAt(e,t),n)},sr=[],re.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var n=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var r=this.start,i=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),r,i,!0),o&&e.callee.type==="ImportExpression"&&this.raise(r,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=sr,this.finishNode(e,"NewExpression")},re.parseTemplateElement=function(e){var t=e.isTagged,n=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value,cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` -`),cooked:this.value},this.next(),n.tail=this.type===f.backQuote,this.finishNode(n,"TemplateElement")},re.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var n=this.startNode();this.next(),n.expressions=[];var r=this.parseTemplateElement({isTagged:t});for(n.quasis=[r];!r.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(f.braceR),n.quasis.push(r=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(n,"TemplateLiteral")},re.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!Te.test(this.input.slice(this.lastTokEnd,this.start))},re.parseObj=function(e,t){var n=this.startNode(),r=!0,i={};for(n.properties=[],this.next();!this.eat(f.braceR);){if(r)r=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,i,t),n.properties.push(o)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")},re.parseProperty=function(e,t){var n=this.startNode(),r,i,o,s;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(n.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(n,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),n.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(n,"SpreadElement"));this.options.ecmaVersion>=6&&(n.method=!1,n.shorthand=!1,(e||t)&&(o=this.start,s=this.startLoc),e||(r=this.eat(f.star)));var l=this.containsEsc;return this.parsePropertyName(n),!e&&!l&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(n)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(n,t)):i=!1,this.parsePropertyValue(n,e,r,i,o,s,t,l),this.finishNode(n,"Property")},re.parsePropertyValue=function(e,t,n,r,i,o,s,l){if((n||r)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,s),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(n,r);else if(!t&&!l&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(n||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var d=e.value.start;e.kind==="get"?this.raiseRecoverable(d,"getter should have no params"):this.raiseRecoverable(d,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((n||r)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,o,e.key):this.type===f.eq&&s?(s.shorthandAssign<0&&(s.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},re.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},re.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},re.parseMethod=function(e,t,n){var r=this.startNode(),i=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.initFunction(r),this.options.ecmaVersion>=6&&(r.generator=e),this.options.ecmaVersion>=8&&(r.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Yt(t,r.generator)|en|(n?tn:0)),this.expect(f.parenL),r.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(r,!1,!0),this.yieldPos=i,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(r,"FunctionExpression")},re.parseArrowExpression=function(e,t,n){var r=this.yieldPos,i=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Yt(n,!1)|Kt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!n),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=r,this.awaitPos=i,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},re.parseFunctionBody=function(e,t,n){var r=t&&this.type!==f.braceL,i=this.strict,o=!1;if(r)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||s)&&(o=this.strictDirective(this.end),o&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!i&&!o&&!t&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,sn),e.body=this.parseBlock(!1,void 0,o&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},re.isSimpleParamList=function(e){for(var t=0,n=e;t-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&st&&delete this.undefinedExports[e]}else if(t===un){var o=this.currentScope();o.lexical.push(e)}else if(t===rn){var s=this.currentScope();this.treatFunctionsAsVar?r=s.lexical.indexOf(e)>-1:r=s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var l=this.scopeStack.length-1;l>=0;--l){var p=this.scopeStack[l];if(p.lexical.indexOf(e)>-1&&!(p.flags&Zt&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){r=!0;break}if(p.var.push(e),this.inModule&&p.flags&st&&delete this.undefinedExports[e],p.flags&Nt)break}r&&this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")},ze.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ze.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ze.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Nt)return t}},ze.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&Nt&&!(t.flags&Kt))return t}},gt=function(e,t,n){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new ct(e,n)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},Ct=me.prototype,Ct.startNode=function(){return new gt(this,this.start,this.startLoc)},Ct.startNodeAt=function(e,t){return new gt(this,e,t)},Ct.finishNode=function(e,t){return Jn.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Ct.finishNodeAt=function(e,t,n,r){return Jn.call(this,e,t,n,r)},Oe=function(e,t,n,r,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!n,this.override=r,this.generator=!!i},Ce={b_stat:new Oe("{",!1),b_expr:new Oe("{",!0),b_tmpl:new Oe("${",!1),p_stat:new Oe("(",!1),p_expr:new Oe("(",!0),q_tmpl:new Oe("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Oe("function",!1),f_expr:new Oe("function",!0),f_expr_gen:new Oe("function",!0,!1,null,!0),f_gen:new Oe("function",!1,!1,null,!0)},Et=me.prototype,Et.initialContext=function(){return[Ce.b_stat]},Et.braceIsBlock=function(e){var t=this.curContext();return t===Ce.f_expr||t===Ce.f_stat?!0:e===f.colon&&(t===Ce.b_stat||t===Ce.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?Te.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===Ce.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed},Et.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Et.updateContext=function(e){var t,n=this.type;n.keyword&&e===f.dot?this.exprAllowed=!1:(t=n.updateContext)?t.call(this,e):this.exprAllowed=n.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===Ce.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?Ce.b_stat:Ce.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(Ce.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?Ce.p_stat:Ce.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&Te.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===Ce.b_stat)?this.context.push(Ce.f_expr):this.context.push(Ce.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===Ce.q_tmpl?this.context.pop():this.context.push(Ce.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===Ce.f_expr?this.context[t]=Ce.f_expr_gen:this.context[t]=Ce.f_gen}this.exprAllowed=!0},f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},on="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ln=on+" Extended_Pictographic",or=ln,jr={9:on,10:ln,11:or},Fn="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",cn="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",hn=cn+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",lr=hn+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Mr={9:cn,10:hn,11:lr},yn={},Jt(9),Jt(10),Jt(11),$=me.prototype,qe=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=yn[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},qe.prototype.reset=function(e,t,n){var r=n.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=n,this.switchU=r&&this.parser.options.ecmaVersion>=6,this.switchN=r&&this.parser.options.ecmaVersion>=9},qe.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},qe.prototype.at=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return-1;var i=n.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=r)return i;var o=n.charCodeAt(e+1);return o>=56320&&o<=57343?(i<<10)+o-56613888:i},qe.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var n=this.source,r=n.length;if(e>=r)return r;var i=n.charCodeAt(e),o;return!(t||this.switchU)||i<=55295||i>=57344||e+1>=r||(o=n.charCodeAt(e+1))<56320||o>57343?e+1:e+2},qe.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},qe.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},qe.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},qe.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},$.validateRegExpFlags=function(e){for(var t=e.validFlags,n=e.flags,r=0;r-1&&this.raise(e.start,"Duplicate regular expression flag")}},$.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},$.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,n=e.backReferenceNames;t=9&&(n=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!n,!0}return e.pos=t,!1},$.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},$.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},$.regexp_eatBracedQuantifier=function(e,t){var n=e.pos;if(e.eat(123)){var r=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(r=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return i!==-1&&i=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},$.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},$.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},$.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Xn(t)?(e.lastIntValue=t,e.advance(),!0):!1},$.regexp_eatPatternCharacters=function(e){for(var t=e.pos,n=0;(n=e.current())!==-1&&!Xn(n);)e.advance();return e.pos!==t},$.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},$.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},$.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},$.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=It(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=It(e.lastIntValue);return!0}return!1},$.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Qu(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},$.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,n=this.options.ecmaVersion>=11,r=e.current(n);return e.advance(n),r===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,n)&&(r=e.lastIntValue),Ku(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},$.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},$.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var n=e.lastIntValue;if(e.switchU)return n>e.maxBackReference&&(e.maxBackReference=n),!0;if(n<=e.numCapturingParens)return!0;e.pos=t}return!1},$.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},$.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},$.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},$.regexp_eatZero=function(e){return e.current()===48&&!Ut(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},$.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},$.regexp_eatControlLetter=function(e){var t=e.current();return Pr(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},$.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var n=e.pos,r=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(r&&i>=55296&&i<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(s>=56320&&s<=57343)return e.lastIntValue=(i-55296)*1024+(s-56320)+65536,!0}e.pos=o,e.lastIntValue=i}return!0}if(r&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Zu(e.lastIntValue))return!0;r&&e.raise("Invalid unicode escape"),e.pos=n}return!1},$.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},$.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},$.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ei(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},$.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var n=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var r=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,n,r),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},$.regexp_validateUnicodePropertyNameAndValue=function(e,t,n){qt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(n)||e.raise("Invalid property value")},$.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},$.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ir(t=e.current());)e.lastStringValue+=It(t),e.advance();return e.lastStringValue!==""},$.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ti(t=e.current());)e.lastStringValue+=It(t),e.advance();return e.lastStringValue!==""},$.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},$.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},$.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var n=e.lastIntValue;e.switchU&&(t===-1||n===-1)&&e.raise("Invalid character class"),t!==-1&&n!==-1&&t>n&&e.raise("Range out of order in character class")}}},$.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var n=e.current();(n===99||Kn(n))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var r=e.current();return r!==93?(e.lastIntValue=r,e.advance(),!0):!1},$.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},$.regexp_eatClassControlLetter=function(e){var t=e.current();return Ut(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},$.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},$.regexp_eatDecimalDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Ut(n=e.current());)e.lastIntValue=10*e.lastIntValue+(n-48),e.advance();return e.pos!==t},$.regexp_eatHexDigits=function(e){var t=e.pos,n=0;for(e.lastIntValue=0;Hn(n=e.current());)e.lastIntValue=16*e.lastIntValue+Qn(n),e.advance();return e.pos!==t},$.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var n=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+n*8+e.lastIntValue:e.lastIntValue=t*8+n}else e.lastIntValue=t;return!0}return!1},$.regexp_eatOctalDigit=function(e){var t=e.current();return Kn(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},$.regexp_eatFixedHexDigits=function(e,t){var n=e.pos;e.lastIntValue=0;for(var r=0;r=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},ue.readToken=function(e){return Ge(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},ue.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},ue.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations){et.lastIndex=t;for(var r;(r=et.exec(this.input))&&r.index8&&e<14||e>=5760&&Wt.test(String.fromCharCode(e)))++this.pos;else break e}}},ue.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var n=this.type;this.type=e,this.value=t,this.updateContext(n)},ue.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},ue.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},ue.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),n=1,r=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++n,r=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,n+1):this.finishOp(r,n)},ue.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)},ue.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},ue.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Te.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},ue.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),n=1;return t===e?(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61?this.finishOp(f.assign,n+1):this.finishOp(f.bitShift,n)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(n=2),this.finishOp(f.relational,n))},ue.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)},ue.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},ue.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+Xt(e)+"'")},ue.finishOp=function(e,t){var n=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,n)},ue.readRegexp=function(){for(var e,t,n=this.pos;;){this.pos>=this.input.length&&this.raise(n,"Unterminated regular expression");var r=this.input.charAt(this.pos);if(Te.test(r)&&this.raise(n,"Unterminated regular expression"),e)e=!1;else{if(r==="[")t=!0;else if(r==="]"&&t)t=!1;else if(r==="/"&&!t)break;e=r==="\\"}++this.pos}var i=this.input.slice(n,this.pos);++this.pos;var o=this.pos,s=this.readWord1();this.containsEsc&&this.unexpected(o);var l=this.regexpState||(this.regexpState=new qe(this));l.reset(n,i,s),this.validateRegExpFlags(l),this.validateRegExpPattern(l);var p=null;try{p=new RegExp(i,s)}catch{}return this.finishToken(f.regexp,{pattern:i,flags:s,value:p})},ue.readInt=function(e,t,n){for(var r=this.options.ecmaVersion>=12&&t===void 0,i=n&&this.input.charCodeAt(this.pos)===48,o=this.pos,s=0,l=0,p=0,d=t??1/0;p=97?y=D-97+10:D>=65?y=D-65+10:D>=48&&D<=57?y=D-48:y=1/0,y>=e)break;l=D,s=s*e+y}return r&&l===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:s},ue.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var n=this.readInt(e);return n==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(n=Zn(this.input.slice(t,this.pos)),++this.pos):Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,n)},ue.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var n=this.pos-t>=2&&this.input.charCodeAt(t)===48;n&&this.strict&&this.raise(t,"Invalid number");var r=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&r===110){var i=Zn(this.input.slice(t,this.pos));return++this.pos,Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,i)}n&&/[89]/.test(this.input.slice(t,this.pos))&&(n=!1),r===46&&!n&&(++this.pos,this.readInt(10),r=this.input.charCodeAt(this.pos)),(r===69||r===101)&&!n&&(r=this.input.charCodeAt(++this.pos),(r===43||r===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Ge(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=ni(this.input.slice(t,this.pos),n);return this.finishToken(f.num,o)},ue.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var n=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(n,"Code point out of bounds")}else t=this.readHexChar(4);return t},ue.readString=function(e){for(var t="",n=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var r=this.input.charCodeAt(this.pos);if(r===e)break;r===92?(t+=this.input.slice(n,this.pos),t+=this.readEscapedChar(!1),n=this.pos):(ot(r,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(n,this.pos++),this.finishToken(f.string,t)},pn={},ue.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===pn)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},ue.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw pn;this.raise(e,t)},ue.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?n===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(n===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ot(n)){switch(e+=this.input.slice(t,this.pos),++this.pos,n){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` -`;break;default:e+=String.fromCharCode(n);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},ue.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),(r!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return ot(t)?"":String.fromCharCode(t)}},ue.readHexChar=function(e){var t=this.pos,n=this.readInt(16,e);return n===null&&this.invalidStringToken(t,"Bad character escape sequence"),n},ue.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,n=this.pos,r=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),ai=he({"../../node_modules/acorn-jsx/index.js"(e,t){var n=si(),r=/^[\da-fA-F]+$/,i=/^\d+$/,o=new WeakMap;function s(d){d=d.Parser.acorn||d;let D=o.get(d);if(!D){let y=d.tokTypes,C=d.TokContext,E=d.TokenType,m=new C("...",!0,!0),k={tc_oTag:m,tc_cTag:g,tc_expr:T},v={jsxName:new E("jsxName"),jsxText:new E("jsxText",{beforeExpr:!0}),jsxTagStart:new E("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new E("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(T),this.context.push(m),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(R){let _=this.context.pop();_===m&&R===y.slash||_===g?(this.context.pop(),this.exprAllowed=this.curContext()===T):this.exprAllowed=!0},D={tokContexts:k,tokTypes:v},o.set(d,D)}return D}function l(d){if(!d)return d;if(d.type==="JSXIdentifier")return d.name;if(d.type==="JSXNamespacedName")return d.namespace.name+":"+d.name.name;if(d.type==="JSXMemberExpression")return l(d.object)+"."+l(d.property)}t.exports=function(d){return d=d||{},function(D){return p({allowNamespaces:d.allowNamespaces!==!1,allowNamespacedObjects:!!d.allowNamespacedObjects},D)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return s((Bn(),zn(An))).tokTypes},configurable:!0,enumerable:!0});function p(d,D){let y=D.acorn||(Bn(),zn(An)),C=s(y),E=y.tokTypes,m=C.tokTypes,g=y.tokContexts,T=C.tokContexts.tc_oTag,k=C.tokContexts.tc_cTag,v=C.tokContexts.tc_expr,R=y.isNewLine,_=y.isIdentifierStart,x=y.isIdentifierChar;return class extends D{static get acornJsx(){return C}jsx_readToken(){let F="",B=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let b=this.input.charCodeAt(this.pos);switch(b){case 60:case 123:return this.pos===this.start?b===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(b):(F+=this.input.slice(B,this.pos),this.finishToken(m.jsxText,F));case 38:F+=this.input.slice(B,this.pos),F+=this.jsx_readEntity(),B=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(b===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:R(b)?(F+=this.input.slice(B,this.pos),F+=this.jsx_readNewLine(!0),B=this.pos):++this.pos}}}jsx_readNewLine(F){let B=this.input.charCodeAt(this.pos),b;return++this.pos,B===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,b=F?` -`:`\r -`):b=String.fromCharCode(B),this.options.locations&&(++this.curLine,this.lineStart=this.pos),b}jsx_readString(F){let B="",b=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let I=this.input.charCodeAt(this.pos);if(I===F)break;I===38?(B+=this.input.slice(b,this.pos),B+=this.jsx_readEntity(),b=this.pos):R(I)?(B+=this.input.slice(b,this.pos),B+=this.jsx_readNewLine(!1),b=this.pos):++this.pos}return B+=this.input.slice(b,this.pos++),this.finishToken(E.string,B)}jsx_readEntity(){let F="",B=0,b,I=this.input[this.pos];I!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let q=++this.pos;for(;this.pos")}let z=q.name?"Element":"Fragment";return b["opening"+z]=q,b["closing"+z]=U,b.children=I,this.type===E.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(b,"JSX"+z)}jsx_parseText(){let F=this.parseLiteral(this.value);return F.type="JSXText",F}jsx_parseElement(){let F=this.start,B=this.startLoc;return this.next(),this.jsx_parseElementAt(F,B)}parseExprAtom(F){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(F)}readToken(F){let B=this.curContext();if(B===v)return this.jsx_readToken();if(B===T||B===k){if(_(F))return this.jsx_readWord();if(F==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((F===34||F===39)&&B==T)return this.jsx_readString(F)}return F===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(F)}updateContext(F){if(this.type==E.braceL){var B=this.curContext();B==T?this.context.push(g.b_expr):B==v?this.context.push(g.b_tmpl):super.updateContext(F),this.exprAllowed=!0}else if(this.type===E.slash&&F===m.jsxTagStart)this.context.length-=2,this.context.push(k),this.exprAllowed=!1;else return super.updateContext(F)}}}}}),oi=he({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(p){for(var d,D=1,y=arguments.length;De.$$typeof===Symbol.for("react.memo"),gi=e=>e.$$typeof===Symbol.for("react.forward_ref");Bn();var Fi=ft(ai());function Ur(e,t,n,r,i){(function o(s,l,p){var d=p||s.type,D=t[d];n[d](s,l,o),D&&D(s,l)})(e,r,i)}function yi(e,t,n,r,i){var o=[];(function s(l,p,d){var D=d||l.type,y=t[D],C=l!==o[o.length-1];C&&o.push(l),n[D](l,p,s),y&&y(l,p||o,o),C&&o.pop()})(e,r,i)}function On(e,t,n){n(e,t)}function nt(e,t,n){}var L={};L.Program=L.BlockStatement=function(e,t,n){for(var r=0,i=e.body;r{}},xi=me.extend((0,Fi.default)());function wt(e){return e!=null?e.name:null}function pr(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function Wr(e){let t=[];return yi(e,{ObjectExpression(n,r){t.push(pr(r).length)},ArrayExpression(n,r){t.push(pr(r).length)}},Rn),Math.max(...t)}function Bi(e){return{inferredType:{type:"Identifier",identifier:wt(e)},ast:e}}function vi(e){return{inferredType:{type:"Literal"},ast:e}}function _i(e){let t;Ur(e.body,{JSXElement(i){t=i}},Rn);let n={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},r=wt(e.id);return r!=null&&(n.identifier=r),{inferredType:n,ast:e}}function Si(e){let t;return Ur(e.body,{JSXElement(n){t=n}},Rn),{inferredType:{type:t!=null?"Element":"Class",identifier:wt(e.id)},ast:e}}function bi(e){let t={type:"Element"},n=wt(e.openingElement.name);return n!=null&&(t.identifier=n),{inferredType:t,ast:e}}function wi(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return wt(t)==="shape"?zr(e.arguments[0]):null}function zr(e){return{inferredType:{type:"Object",depth:Wr(e)},ast:e}}function Ti(e){return{inferredType:{type:"Array",depth:Wr(e)},ast:e}}function ki(e){switch(e.type){case"Identifier":return Bi(e);case"Literal":return vi(e);case"FunctionExpression":case"ArrowFunctionExpression":return _i(e);case"ClassExpression":return Si(e);case"JSXElement":return bi(e);case"CallExpression":return wi(e);case"ObjectExpression":return zr(e);case"ArrayExpression":return Ti(e);default:return null}}function Pi(e){let t=xi.parse(`(${e})`,{ecmaVersion:2020}),n={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let r=t.body[0];switch(r.type){case"ExpressionStatement":{let i=ki(r.expression);i!=null&&(n=i);break}}}return n}function Xe(e){try{return{...Pi(e)}}catch{}return{inferredType:{type:"Unknown"}}}function Gr({inferredType:e,ast:t}){let{depth:n}=e;if(n<=2){let r=hr(t,!0);if(!_t(r))return De(r)}return De(Pn,hr(t))}function $r({inferredType:e,ast:t}){let{depth:n}=e;if(n===1){let r=_n(t,!0);if(!_t(r))return De(r)}return De(bt,_n(t))}function Ln(e,t){return t?`${e}( ... )`:`${e}()`}function Gt(e){return`<${e} />`}function Yr(e){let{type:t,identifier:n}=e;switch(t){case"Function":return Ln(n,e.hasParams);case"Element":return Gt(n);default:return n}}function Ii({inferredType:e,ast:t}){let{identifier:n}=e;if(n!=null)return De(Yr(e),Je(t));let r=Je(t,!0);return _t(r)?De(ht,Je(t)):De(r)}function Oi(e,t){let{inferredType:n}=t,{identifier:r}=n;if(r!=null&&!In(r)){let i=Yr(n);return De(i,e)}return _t(e)?De(dt,e):De(e)}function Jr(e){try{let t=Xe(e);switch(t.inferredType.type){case"Object":return $r(t);case"Function":return Ii(t);case"Element":return Oi(e,t);case"Array":return Gr(t);default:return null}}catch(t){console.error(t)}return null}function fr(e){return typeof e=="function"}function Ri(e){return typeof e=="string"||e instanceof String}function Li(e){var n;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let r=e[Symbol.toStringTag];return r==null||!((n=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&n.writable)?!1:e.toString()===`[object ${r}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function dr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ni(e){var t,n;return dr(e)===!1?!1:(t=e.constructor,t===void 0?!0:(n=t.prototype,!(dr(n)===!1||n.hasOwnProperty("isPrototypeOf")===!1)))}var ji=ft(oi()),Ue=ft(ci()),$e=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function vt(e){"@babel/helpers - typeof";return vt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},vt(e)}function Mi(e){return Vi(e)||qi(e)||Ui(e)||Wi()}function Vi(e){if(Array.isArray(e))return Sn(e)}function qi(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Ui(e,t){if(e){if(typeof e=="string")return Sn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Sn(e,t)}}function Sn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?e.length-1:0),r=e[e.length-1];return r&&(t.type==="string"||t.type==="number")&&(r.type==="string"||r.type==="number")?n.push(Xr(String(r.value)+String(t.value))):(r&&n.push(r),n.push(t)),n},is=function(e){return["key","ref"].includes(e)},ss=function(e){return function(t){var n=t.includes("key"),r=t.includes("ref"),i=t.filter(function(s){return!is(s)}),o=Mi(e?i.sort():i);return r&&o.unshift("ref"),n&&o.unshift("key"),o}};function as(e,t){return Array.isArray(t)?function(n){return t.indexOf(n)===-1}:function(n){return t(e[n],n)}}var os=function(e,t,n,r,i){var o=i.tabStop;return e.type==="string"?t.split(` -`).map(function(s,l){return l===0?s:"".concat($e(r,o)).concat(s)}).join(` -`):t},ls=function(e,t,n){return function(r){return os(r,$t(r,e,t,n),e,t,n)}},cs=function(e,t){return function(n){var r=Object.keys(e).includes(n);return!r||r&&e[n]!==t[n]}},Kr=function(e,t,n,r,i){return i?$e(n,r).length+t.length>i:e.length>1},hs=function(e,t,n,r,i,o,s){return(Kr(e,t,i,o,s)||n)&&!r},Zr=function(e,t,n,r){var i=e.type,o=e.displayName,s=o===void 0?"":o,l=e.childrens,p=e.props,d=p===void 0?{}:p,D=e.defaultProps,y=D===void 0?{}:D;if(i!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(i));var C=r.filterProps,E=r.maxInlineAttributesLineLength,m=r.showDefaultProps,g=r.sortProps,T=r.tabStop,k="<".concat(s),v=k,R=k,_=!1,x=[],F=as(d,C);Object.keys(d).filter(F).filter(cs(y,d)).forEach(function(I){return x.push(I)}),Object.keys(y).filter(F).filter(function(){return m}).filter(function(I){return!x.includes(I)}).forEach(function(I){return x.push(I)});var B=ss(g)(x);if(B.forEach(function(I){var q=rs(I,Object.keys(d).includes(I),d[I],Object.keys(y).includes(I),y[I],t,n,r),U=q.attributeFormattedInline,z=q.attributeFormattedMultiline,G=q.isMultilineAttribute;G&&(_=!0),v+=U,R+=z}),R+=` -`.concat($e(n,T)),hs(B,v,_,t,n,T,E)?k=R:k=v,l&&l.length>0){var b=n+1;k+=">",t||(k+=` -`,k+=$e(b,T)),k+=l.reduce(us,[]).map(ls(t,b,r)).join(t?"":` -`.concat($e(b,T))),t||(k+=` -`,k+=$e(b-1,T)),k+="")}else Kr(B,v,n,T,E)||(k+=" "),k+="/>";return k},ps="",Cr="React.Fragment",fs=function(e,t,n){var r={};return t&&(r={key:t}),{type:"ReactElement",displayName:e,props:r,defaultProps:{},childrens:n}},ds=function(e){var t=e.key;return!!t},As=function(e){var t=e.childrens;return t.length===0},Ds=function(e,t,n,r){var i=e.type,o=e.key,s=e.childrens;if(i!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(i));var l=r.useFragmentShortSyntax,p;return l?As(e)||ds(e)?p=Cr:p=ps:p=Cr,Zr(fs(p,o,s),t,n,r)},ms=["<",">","{","}"],Cs=function(e){return ms.some(function(t){return e.includes(t)})},Es=function(e){return Cs(e)?"{`".concat(e,"`}"):e},gs=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},$t=function(e,t,n,r){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(gs(Es(String(e.value)))):"";if(e.type==="ReactElement")return Zr(e,t,n,r);if(e.type==="ReactFragment")return Ds(e,t,n,r);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},Fs=function(e,t){return $t(e,!1,0,t)},eu=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.filterProps,r=n===void 0?[]:n,i=t.showDefaultProps,o=i===void 0?!0:i,s=t.showFunctions,l=s===void 0?!1:s,p=t.functionValue,d=t.tabStop,D=d===void 0?2:d,y=t.useBooleanShorthandSyntax,C=y===void 0?!0:y,E=t.useFragmentShortSyntax,m=E===void 0?!0:E,g=t.sortProps,T=g===void 0?!0:g,k=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var R={filterProps:r,showDefaultProps:o,showFunctions:l,functionValue:p,tabStop:D,useBooleanShorthandSyntax:C,useFragmentShortSyntax:m,sortProps:T,maxInlineAttributesLineLength:k,displayName:v};return Fs(Nn(e,R),R)},Er=eu;function tu(e){return e.$$typeof!=null}function nu(e,t){let{name:n}=e;return n!==""&&n!=="anonymous"&&n!==t?n:null}var ys=e=>De(JSON.stringify(e));function xs(e){let{type:t}=e,{displayName:n}=t,r=Er(e,{});if(n!=null){let i=Gt(n);return De(i,r)}if(Ri(t)&&In(t)){let i=Er(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!_t(i))return De(i)}return De(dt,r)}var Bs=e=>{if(tu(e)&&e.type!=null)return xs(e);if(Li(e)){let t=Xe(JSON.stringify(e));return $r(t)}if(Array.isArray(e)){let t=Xe(JSON.stringify(e));return Gr(t)}return De(bt)},vs=(e,t)=>{let n=!1,r;if(fr(e.render))n=!0;else if(e.prototype!=null&&fr(e.prototype.render))n=!0;else{let o;try{r=Xe(e.toString());let{hasParams:s,params:l}=r.inferredType;s?l.length===1&&l[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&tu(o)&&(n=!0)}catch{}}let i=nu(e,t.name);if(i!=null){if(n)return De(Gt(i));r!=null&&(r=Xe(e.toString()));let{hasParams:o}=r.inferredType;return De(Ln(i,o))}return De(n?dt:ht)},_s=e=>De(e.toString()),ru={string:ys,object:Bs,function:vs,default:_s};function Ss(e={}){return{...ru,...e}}function bs(e,t,n=ru){try{switch(typeof e){case"string":return n.string(e,t);case"object":return n.object(e,t);case"function":return n.function(e,t);default:return n.default(e,t)}}catch(r){console.error(r)}return null}function ws(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];if(n){let o=e.map(s=>{let l=s.getPrettyName(),p=s.getTypeName();return p!=null?`${l}: ${p}`:l});i.push(`(${o.join(", ")})`)}else i.push("()");return r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function Ts(e,t){let n=e!=null,r=t!=null;if(!n&&!r)return"";let i=[];return n?i.push("( ... )"):i.push("()"),r&&i.push(`=> ${t.getTypeName()}`),i.join(" ")}function ks(e){return e.replace(/,/g,`,\r -`)}var Ps=150;function Se({name:e,short:t,compact:n,full:r,inferredType:i}){return{name:e,short:t,compact:n,full:r??t,inferredType:i}}function uu(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gr(e){return e.split(/\r?\n/)}function zt(e,t=!1){return uu(_n(e,t))}function Fr(e,t=!1){return uu(Je(e,t))}function Is(e){switch(e){case"Object":return bt;case"Array":return Pn;case"Class":return hi;case"Function":return ht;case"Element":return dt;default:return vn}}function iu(e,t){let{inferredType:n,ast:r}=Xe(e),{type:i}=n,o,s,l;switch(i){case"Identifier":case"Literal":o=e,s=e;break;case"Object":{let{depth:p}=n;o=bt,s=p===1?zt(r,!0):null,l=zt(r);break}case"Element":{let{identifier:p}=n;o=p!=null&&!In(p)?p:dt,s=gr(e).length===1?e:null,l=e;break}case"Array":{let{depth:p}=n;o=Pn,s=p<=2?Fr(r,!0):null,l=Fr(r);break}default:o=Is(i),s=gr(e).length===1?e:null,l=e;break}return Se({name:t,short:o,compact:s,full:l,inferredType:i})}function Os({raw:e}){return e!=null?iu(e,"custom"):Se({name:"custom",short:vn,compact:vn})}function Rs(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?Se({name:"func",short:Ts(t.params,t.returns),compact:null,full:ws(t.params,t.returns)}):Se({name:"func",short:ht,compact:ht})}function Ls(e,t){let n=Object.keys(e.value).map(s=>`${s}: ${pt(e.value[s],t).full}`).join(", "),{inferredType:r,ast:i}=Xe(`{ ${n} }`),{depth:o}=r;return Se({name:"shape",short:bt,compact:o===1&&i?zt(i,!0):null,full:i?zt(i):null})}function fn(e){return`objectOf(${e})`}function Ns(e,t){let{short:n,compact:r,full:i}=pt(e.value,t);return Se({name:"objectOf",short:fn(n),compact:r!=null?fn(r):null,full:i&&fn(i)})}function js(e,t){if(Array.isArray(e.value)){let n=e.value.reduce((r,i)=>{let{short:o,compact:s,full:l}=pt(i,t);return r.short.push(o),r.compact.push(s),r.full.push(l),r},{short:[],compact:[],full:[]});return Se({name:"union",short:n.short.join(" | "),compact:n.compact.every(r=>r!=null)?n.compact.join(" | "):null,full:n.full.join(" | ")})}return Se({name:"union",short:e.value,compact:null})}function Ms({value:e,computed:t}){return t?iu(e,"enumvalue"):Se({name:"enumvalue",short:e,compact:e})}function Vs(e){if(Array.isArray(e.value)){let t=e.value.reduce((n,r)=>{let{short:i,compact:o,full:s}=Ms(r);return n.short.push(i),n.compact.push(o),n.full.push(s),n},{short:[],compact:[],full:[]});return Se({name:"enum",short:t.short.join(" | "),compact:t.compact.every(n=>n!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return Se({name:"enum",short:e.value,compact:e.value})}function wn(e){return`${e}[]`}function yr(e){return`[${e}]`}function xr(e,t,n){return Se({name:"arrayOf",short:wn(e),compact:t!=null?yr(t):null,full:n&&yr(n)})}function qs(e,t){let{name:n,short:r,compact:i,full:o,inferredType:s}=pt(e.value,t);if(n==="custom"){if(s==="Object")return xr(r,i,o)}else if(n==="shape")return xr(r,i,o);return Se({name:"arrayOf",short:wn(r),compact:wn(r)})}function pt(e,t){try{switch(e.name){case"custom":return Os(e);case"func":return Rs(t);case"shape":return Ls(e,t);case"instanceOf":return Se({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Ns(e,t);case"union":return js(e,t);case"enum":return Vs(e);case"arrayOf":return qs(e,t);default:return Se({name:e.name,short:e.name,compact:e.name})}}catch(n){console.error(n)}return Se({name:"unknown",short:"unknown",compact:"unknown"})}function Us(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:n,compact:r,full:i}=pt(t,e);return r!=null&&!vu(r)?De(r):i?De(n,i):De(n)}case"func":{let{short:n,full:r}=pt(t,e),i=n,o;return r&&r.length{let r=(n==null?void 0:n.summary)==="element"||(n==null?void 0:n.summary)==="elementType",i=nu(e,t);if(i!=null){if(r)return De(Gt(i));let{hasParams:o}=Xe(e.toString()).inferredType;return De(Ln(i,o))}return De(r?dt:ht)},zs=Ss({function:Ws});function Gs(e,t){let{propTypes:n}=t;return n!=null?Object.keys(n).map(r=>e.find(i=>i.name===r)).filter(Boolean):e}function $s(e,t){let{propDef:n}=e,r=Us(e);r!=null&&(n.type=r);let{defaultValue:i}=e.docgenInfo;if(i!=null&&i.value!=null){let o=Jr(i.value);o!=null&&(n.defaultValue=o)}else if(t!=null){let o=bs(t,n,zs);o!=null&&(n.defaultValue=o)}return n}function Ys(e,t){let n=t.defaultProps!=null?t.defaultProps:{},r=e.map(i=>$s(i,n[i.propDef.name]));return Gs(r,t)}function Js(e,t){let{propDef:n}=e,{defaultValue:r}=e.docgenInfo;if(r!=null&&r.value!=null){let i=Jr(r.value);i!=null&&(n.defaultValue=i)}return n}function Xs(e){return e.map(t=>Js(t))}var Br=new Map;Object.keys(cr.default).forEach(e=>{let t=cr.default[e];Br.set(t,e),Br.set(t.isRequired,e)});function Hs(e,t){let n=e;!xu(e)&&!e.propTypes&&qr(e)&&(n=e.type);let r=Bu(n,t);if(r.length===0)return[];switch(r[0].typeSystem){case $n.JAVASCRIPT:return Ys(r,e);case $n.TYPESCRIPT:return Xs(r);default:return r.map(i=>i.propDef)}}var Qs=e=>({rows:Hs(e,"props")}),Ks=e=>{if(e){let{rows:t}=Qs(e);if(t)return t.reduce((n,r)=>{let{name:i,description:o,type:s,sbType:l,defaultValue:p,jsDocTags:d,required:D}=r;return n[i]={name:i,description:o,type:{required:D,...l},table:{type:s??void 0,jsDocTags:d,defaultValue:p??void 0}},n},{})}return null},dn=eu,Zs=e=>e.charAt(0).toUpperCase()+e.slice(1),ea=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Zs).join("")).join(".");function Tn(e){if(tt.isValidElement(e)){let t=Object.keys(e.props).reduce((n,r)=>(n[r]=Tn(e.props[r]),n),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Tn):e}var ta=(e,t)=>{if(typeof e>"u")return kt.warn("Too many skip or undefined component"),null;let n=e,r=n.type;for(let s=0;s<(t==null?void 0:t.skip);s+=1){if(typeof n>"u")return kt.warn("Cannot skip undefined element"),null;if(yt.Children.count(n)>1)return kt.warn("Trying to skip an array of elements"),null;typeof n.props.children>"u"?(kt.warn("Not enough children to skip elements."),typeof n.type=="function"&&n.type.name===""&&(n=yt.createElement(r,{...n.props}))):typeof n.props.children=="function"?n=n.props.children():n=n.props.children}let i;typeof(t==null?void 0:t.displayName)=="string"?i={showFunctions:!0,displayName:()=>t.displayName}:i={displayName:s=>{var l;return s.type.displayName?s.type.displayName:Yn(s.type,"displayName")?Yn(s.type,"displayName"):(l=s.type.render)!=null&&l.displayName?s.type.render.displayName:typeof s.type=="symbol"||s.type.$$typeof&&typeof s.type.$$typeof=="symbol"?ea(s.type):s.type.name&&s.type.name!=="_default"?s.type.name:typeof s.type=="function"?"No Display Name":gi(s.type)?s.type.render.name:qr(s.type)?s.type.type.name:s.type}};let o={...i,filterProps:(s,l)=>s!==void 0,...t};return yt.Children.map(e,s=>{let l=typeof s=="number"?s.toString():s,p=(typeof dn=="function"?dn:dn.default)(Tn(l),o);if(p.indexOf(""")>-1){let d=p.match(/\S+=\\"([^"]*)\\"/g);d&&d.forEach(D=>{p=p.replace(D,D.replace(/"/g,"'"))})}return p}).join(` -`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},na={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},ra=e=>{var r;let t=(r=e==null?void 0:e.parameters.docs)==null?void 0:r.source,n=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Gn.DYNAMIC?!1:!n||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Gn.CODE},ua=e=>{var t,n;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((n=e.props)!=null&&n.mdxType)},su=e=>{if(!ua(e))return e;let{mdxType:t,originalType:n,children:r,...i}=e.props,o=[];return r&&(o=(Array.isArray(r)?r:[r]).map(su)),tt.createElement(n,i,...o)},au=(e,t)=>{var D,y;let n=Su.getChannel(),r=ra(t),i="";bu(()=>{if(!r){let{id:C,unmappedArgs:E}=t;n.emit(yu,{id:C,source:i,args:E})}});let o=e();if(r)return o;let s={...na,...(t==null?void 0:t.parameters.jsx)||{}},l=(y=(D=t==null?void 0:t.parameters.docs)==null?void 0:D.source)!=null&&y.excludeDecorators?t.originalStoryFn(t.args,t):o,p=su(l),d=ta(p,s);return d&&(i=d),o},oa=(e,t)=>{let n=t.findIndex(i=>i.originalFn===au),r=n===-1?t:[...t.splice(n,1),...t];return _u(e,r)},la={docs:{story:{inline:!0},extractArgTypes:Ks,extractComponentDescription:gu}},ca=[au],ha=[Fu];export{oa as applyDecorators,ha as argTypesEnhancers,ca as decorators,la as parameters}; diff --git a/docs/assets/entry-preview-docs-CNTsbYAb.js b/docs/assets/entry-preview-docs-CNTsbYAb.js new file mode 100644 index 0000000..26a879f --- /dev/null +++ b/docs/assets/entry-preview-docs-CNTsbYAb.js @@ -0,0 +1,46 @@ +import{_ as mi,a as nt,b as K,c as gi,d as Mr}from"./react--gDPKqWp.js";import{n as Di,c as Ai,y as Ci,l as ee,g as Vr,z as Ei,o as yi,j as qr,Y as Ur,a as Dt,B as Fi}from"./index-NOh9rqHv.js";import{R as ft,r as Ge}from"./index-CZMpeKRu.js";const{logger:_t}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{defaultDecorateStory:xi,addons:_i,useEffect:Si}=__STORYBOOK_MODULE_PREVIEW_API__;var vi=K({"../../node_modules/prop-types/lib/ReactPropTypesSecret.js"(e,t){var r="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";t.exports=r}}),bi=K({"../../node_modules/prop-types/factoryWithThrowingShims.js"(e,t){var r=vi();function n(){}function s(){}s.resetWarningCache=n,t.exports=function(){function o(p,m,g,F,A,C){if(C!==r){var D=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw D.name="Invariant Violation",D}}o.isRequired=o;function u(){return o}var h={array:o,bigint:o,bool:o,func:o,number:o,object:o,string:o,symbol:o,any:o,arrayOf:u,element:o,elementType:o,instanceOf:u,node:o,objectOf:u,oneOf:u,oneOfType:u,shape:u,exact:u,checkPropTypes:s,resetWarningCache:n};return h.PropTypes=h,h}}}),Bi=K({"../../node_modules/prop-types/index.js"(e,t){t.exports=bi()()}}),wi=K({"../../node_modules/html-tags/html-tags.json"(e,t){t.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","search","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]}}),ki=K({"../../node_modules/html-tags/index.js"(e,t){t.exports=wi()}}),Ii=K({"../../node_modules/estraverse/estraverse.js"(e){(function t(r){var n,s,o,u,h,p;function m(x){var y={},_,B;for(_ in x)x.hasOwnProperty(_)&&(B=x[_],typeof B=="object"&&B!==null?y[_]=m(B):y[_]=B);return y}function g(x,y){var _,B,P,j;for(B=x.length,P=0;B;)_=B>>>1,j=P+_,y(x[j])?B=_:(P=j+1,B-=_+1);return P}n={AssignmentExpression:"AssignmentExpression",AssignmentPattern:"AssignmentPattern",ArrayExpression:"ArrayExpression",ArrayPattern:"ArrayPattern",ArrowFunctionExpression:"ArrowFunctionExpression",AwaitExpression:"AwaitExpression",BlockStatement:"BlockStatement",BinaryExpression:"BinaryExpression",BreakStatement:"BreakStatement",CallExpression:"CallExpression",CatchClause:"CatchClause",ChainExpression:"ChainExpression",ClassBody:"ClassBody",ClassDeclaration:"ClassDeclaration",ClassExpression:"ClassExpression",ComprehensionBlock:"ComprehensionBlock",ComprehensionExpression:"ComprehensionExpression",ConditionalExpression:"ConditionalExpression",ContinueStatement:"ContinueStatement",DebuggerStatement:"DebuggerStatement",DirectiveStatement:"DirectiveStatement",DoWhileStatement:"DoWhileStatement",EmptyStatement:"EmptyStatement",ExportAllDeclaration:"ExportAllDeclaration",ExportDefaultDeclaration:"ExportDefaultDeclaration",ExportNamedDeclaration:"ExportNamedDeclaration",ExportSpecifier:"ExportSpecifier",ExpressionStatement:"ExpressionStatement",ForStatement:"ForStatement",ForInStatement:"ForInStatement",ForOfStatement:"ForOfStatement",FunctionDeclaration:"FunctionDeclaration",FunctionExpression:"FunctionExpression",GeneratorExpression:"GeneratorExpression",Identifier:"Identifier",IfStatement:"IfStatement",ImportExpression:"ImportExpression",ImportDeclaration:"ImportDeclaration",ImportDefaultSpecifier:"ImportDefaultSpecifier",ImportNamespaceSpecifier:"ImportNamespaceSpecifier",ImportSpecifier:"ImportSpecifier",Literal:"Literal",LabeledStatement:"LabeledStatement",LogicalExpression:"LogicalExpression",MemberExpression:"MemberExpression",MetaProperty:"MetaProperty",MethodDefinition:"MethodDefinition",ModuleSpecifier:"ModuleSpecifier",NewExpression:"NewExpression",ObjectExpression:"ObjectExpression",ObjectPattern:"ObjectPattern",PrivateIdentifier:"PrivateIdentifier",Program:"Program",Property:"Property",PropertyDefinition:"PropertyDefinition",RestElement:"RestElement",ReturnStatement:"ReturnStatement",SequenceExpression:"SequenceExpression",SpreadElement:"SpreadElement",Super:"Super",SwitchStatement:"SwitchStatement",SwitchCase:"SwitchCase",TaggedTemplateExpression:"TaggedTemplateExpression",TemplateElement:"TemplateElement",TemplateLiteral:"TemplateLiteral",ThisExpression:"ThisExpression",ThrowStatement:"ThrowStatement",TryStatement:"TryStatement",UnaryExpression:"UnaryExpression",UpdateExpression:"UpdateExpression",VariableDeclaration:"VariableDeclaration",VariableDeclarator:"VariableDeclarator",WhileStatement:"WhileStatement",WithStatement:"WithStatement",YieldExpression:"YieldExpression"},o={AssignmentExpression:["left","right"],AssignmentPattern:["left","right"],ArrayExpression:["elements"],ArrayPattern:["elements"],ArrowFunctionExpression:["params","body"],AwaitExpression:["argument"],BlockStatement:["body"],BinaryExpression:["left","right"],BreakStatement:["label"],CallExpression:["callee","arguments"],CatchClause:["param","body"],ChainExpression:["expression"],ClassBody:["body"],ClassDeclaration:["id","superClass","body"],ClassExpression:["id","superClass","body"],ComprehensionBlock:["left","right"],ComprehensionExpression:["blocks","filter","body"],ConditionalExpression:["test","consequent","alternate"],ContinueStatement:["label"],DebuggerStatement:[],DirectiveStatement:[],DoWhileStatement:["body","test"],EmptyStatement:[],ExportAllDeclaration:["source"],ExportDefaultDeclaration:["declaration"],ExportNamedDeclaration:["declaration","specifiers","source"],ExportSpecifier:["exported","local"],ExpressionStatement:["expression"],ForStatement:["init","test","update","body"],ForInStatement:["left","right","body"],ForOfStatement:["left","right","body"],FunctionDeclaration:["id","params","body"],FunctionExpression:["id","params","body"],GeneratorExpression:["blocks","filter","body"],Identifier:[],IfStatement:["test","consequent","alternate"],ImportExpression:["source"],ImportDeclaration:["specifiers","source"],ImportDefaultSpecifier:["local"],ImportNamespaceSpecifier:["local"],ImportSpecifier:["imported","local"],Literal:[],LabeledStatement:["label","body"],LogicalExpression:["left","right"],MemberExpression:["object","property"],MetaProperty:["meta","property"],MethodDefinition:["key","value"],ModuleSpecifier:[],NewExpression:["callee","arguments"],ObjectExpression:["properties"],ObjectPattern:["properties"],PrivateIdentifier:[],Program:["body"],Property:["key","value"],PropertyDefinition:["key","value"],RestElement:["argument"],ReturnStatement:["argument"],SequenceExpression:["expressions"],SpreadElement:["argument"],Super:[],SwitchStatement:["discriminant","cases"],SwitchCase:["test","consequent"],TaggedTemplateExpression:["tag","quasi"],TemplateElement:[],TemplateLiteral:["quasis","expressions"],ThisExpression:[],ThrowStatement:["argument"],TryStatement:["block","handler","finalizer"],UnaryExpression:["argument"],UpdateExpression:["argument"],VariableDeclaration:["declarations"],VariableDeclarator:["id","init"],WhileStatement:["test","body"],WithStatement:["object","body"],YieldExpression:["argument"]},u={},h={},p={},s={Break:u,Skip:h,Remove:p};function F(x,y){this.parent=x,this.key=y}F.prototype.replace=function(x){this.parent[this.key]=x},F.prototype.remove=function(){return Array.isArray(this.parent)?(this.parent.splice(this.key,1),!0):(this.replace(null),!1)};function A(x,y,_,B){this.node=x,this.path=y,this.wrap=_,this.ref=B}function C(){}C.prototype.path=function(){var x,y,_,B,P,j;function M(V,U){if(Array.isArray(U))for(_=0,B=U.length;_=0;--_)if(x[_].node===y)return!0;return!1}C.prototype.traverse=function(x,y){var _,B,P,j,M,V,U,H,ne,se,ue,Z;for(this.__initialize(x,y),Z={},_=this.__worklist,B=this.__leavelist,_.push(new A(x,null,null,null)),B.push(new A(null,null,null,null));_.length;){if(P=_.pop(),P===Z){if(P=B.pop(),V=this.__execute(y.leave,P),this.__state===u||V===u)return;continue}if(P.node){if(V=this.__execute(y.enter,P),this.__state===u||V===u)return;if(_.push(Z),B.push(P),this.__state===h||V===h)continue;if(j=P.node,M=j.type||P.wrap,se=this.__keys[M],!se)if(this.__fallback)se=this.__fallback(j);else throw new Error("Unknown node type "+M+".");for(H=se.length;(H-=1)>=0;)if(U=se[H],ue=j[U],!!ue){if(Array.isArray(ue)){for(ne=ue.length;(ne-=1)>=0;)if(ue[ne]&&!w(B,ue[ne])){if(E(M,se[H]))P=new A(ue[ne],[U,ne],"Property",null);else if(D(ue[ne]))P=new A(ue[ne],[U,ne],null,null);else continue;_.push(P)}}else if(D(ue)){if(w(B,ue))continue;_.push(new A(ue,U,null,null))}}}}},C.prototype.replace=function(x,y){var _,B,P,j,M,V,U,H,ne,se,ue,Z,we;function st(Re){var R,Je,je,ut;if(Re.ref.remove()){for(Je=Re.ref.key,ut=Re.ref.parent,R=_.length;R--;)if(je=_[R],je.ref&&je.ref.parent===ut){if(je.ref.key=0;)if(we=ne[U],se=P[we],!!se)if(Array.isArray(se)){for(H=se.length;(H-=1)>=0;)if(se[H]){if(E(j,ne[U]))V=new A(se[H],[we,H],"Property",new F(se,H));else if(D(se[H]))V=new A(se[H],[we,H],null,new F(se,H));else continue;_.push(V)}}else D(se)&&_.push(new A(se,we,null,new F(P,we)))}}return Z.root};function b(x,y){var _=new C;return _.traverse(x,y)}function v(x,y){var _=new C;return _.replace(x,y)}function L(x,y){var _;return _=g(y,function(B){return B.range[0]>x.range[0]}),x.extendedRange=[x.range[0],x.range[1]],_!==y.length&&(x.extendedRange[1]=y[_].range[0]),_-=1,_>=0&&(x.extendedRange[0]=y[_].range[1]),x}function S(x,y,_){var B=[],P,j,M,V;if(!x.range)throw new Error("attachComments needs range information");if(!_.length){if(y.length){for(M=0,j=y.length;MU.range[0]));)H.extendedRange[1]===U.range[0]?(U.leadingComments||(U.leadingComments=[]),U.leadingComments.push(H),B.splice(V,1)):V+=1;if(V===B.length)return s.Break;if(B[V].extendedRange[0]>U.range[1])return s.Skip}}),V=0,b(x,{leave:function(U){for(var H;VU.range[1])return s.Skip}}),x}return r.Syntax=n,r.traverse=b,r.replace=v,r.attachComments=S,r.VisitorKeys=o,r.VisitorOption=s,r.Controller=C,r.cloneEnvironment=function(){return t({})},r})(e)}}),Ti=K({"../../node_modules/esutils/lib/ast.js"(e,t){(function(){function r(p){if(p==null)return!1;switch(p.type){case"ArrayExpression":case"AssignmentExpression":case"BinaryExpression":case"CallExpression":case"ConditionalExpression":case"FunctionExpression":case"Identifier":case"Literal":case"LogicalExpression":case"MemberExpression":case"NewExpression":case"ObjectExpression":case"SequenceExpression":case"ThisExpression":case"UnaryExpression":case"UpdateExpression":return!0}return!1}function n(p){if(p==null)return!1;switch(p.type){case"DoWhileStatement":case"ForInStatement":case"ForStatement":case"WhileStatement":return!0}return!1}function s(p){if(p==null)return!1;switch(p.type){case"BlockStatement":case"BreakStatement":case"ContinueStatement":case"DebuggerStatement":case"DoWhileStatement":case"EmptyStatement":case"ExpressionStatement":case"ForInStatement":case"ForStatement":case"IfStatement":case"LabeledStatement":case"ReturnStatement":case"SwitchStatement":case"ThrowStatement":case"TryStatement":case"VariableDeclaration":case"WhileStatement":case"WithStatement":return!0}return!1}function o(p){return s(p)||p!=null&&p.type==="FunctionDeclaration"}function u(p){switch(p.type){case"IfStatement":return p.alternate!=null?p.alternate:p.consequent;case"LabeledStatement":case"ForStatement":case"ForInStatement":case"WhileStatement":case"WithStatement":return p.body}return null}function h(p){var m;if(p.type!=="IfStatement"||p.alternate==null)return!1;m=p.consequent;do{if(m.type==="IfStatement"&&m.alternate==null)return!0;m=u(m)}while(m);return!1}t.exports={isExpression:r,isStatement:s,isIterationStatement:n,isSourceElement:o,isProblematicIfStatement:h,trailingStatement:u}})()}}),yn=K({"../../node_modules/esutils/lib/code.js"(e,t){(function(){var r,n,s,o,u,h;n={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/,NonAsciiIdentifierPart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]/},r={NonAsciiIdentifierStart:/[\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1CE9-\u1CEC\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC03-\uDC37\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDF00-\uDF19]|\uD806[\uDCA0-\uDCDF\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50\uDF93-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]/,NonAsciiIdentifierPart:/[\xAA\xB5\xB7\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u135D-\u135F\u1369-\u1371\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD40-\uDD74\uDDFD\uDE80-\uDE9C\uDEA0-\uDED0\uDEE0\uDF00-\uDF1F\uDF30-\uDF4A\uDF50-\uDF7A\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00-\uDE03\uDE05\uDE06\uDE0C-\uDE13\uDE15-\uDE17\uDE19-\uDE33\uDE38-\uDE3A\uDE3F\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE6\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2]|\uD804[\uDC00-\uDC46\uDC66-\uDC6F\uDC7F-\uDCBA\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD00-\uDD34\uDD36-\uDD3F\uDD50-\uDD73\uDD76\uDD80-\uDDC4\uDDCA-\uDDCC\uDDD0-\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE37\uDE3E\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEEA\uDEF0-\uDEF9\uDF00-\uDF03\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3C-\uDF44\uDF47\uDF48\uDF4B-\uDF4D\uDF50\uDF57\uDF5D-\uDF63\uDF66-\uDF6C\uDF70-\uDF74]|\uD805[\uDC00-\uDC4A\uDC50-\uDC59\uDC80-\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDB5\uDDB8-\uDDC0\uDDD8-\uDDDD\uDE00-\uDE40\uDE44\uDE50-\uDE59\uDE80-\uDEB7\uDEC0-\uDEC9\uDF00-\uDF19\uDF1D-\uDF2B\uDF30-\uDF39]|\uD806[\uDCA0-\uDCE9\uDCFF\uDEC0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC36\uDC38-\uDC40\uDC50-\uDC59\uDC72-\uDC8F\uDC92-\uDCA7\uDCA9-\uDCB6]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|[\uD80C\uD81C-\uD820\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDED0-\uDEED\uDEF0-\uDEF4\uDF00-\uDF36\uDF40-\uDF43\uDF50-\uDF59\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDF00-\uDF44\uDF50-\uDF7E\uDF8F-\uDF9F\uDFE0]|\uD821[\uDC00-\uDFEC]|\uD822[\uDC00-\uDEF2]|\uD82C[\uDC00\uDC01]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99\uDC9D\uDC9E]|\uD834[\uDD65-\uDD69\uDD6D-\uDD72\uDD7B-\uDD82\uDD85-\uDD8B\uDDAA-\uDDAD\uDE42-\uDE44]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD836[\uDE00-\uDE36\uDE3B-\uDE6C\uDE75\uDE84\uDE9B-\uDE9F\uDEA1-\uDEAF]|\uD838[\uDC00-\uDC06\uDC08-\uDC18\uDC1B-\uDC21\uDC23\uDC24\uDC26-\uDC2A]|\uD83A[\uDC00-\uDCC4\uDCD0-\uDCD6\uDD00-\uDD4A\uDD50-\uDD59]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDED6\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF34\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1]|\uD87E[\uDC00-\uDE1D]|\uDB40[\uDD00-\uDDEF]/};function p(v){return 48<=v&&v<=57}function m(v){return 48<=v&&v<=57||97<=v&&v<=102||65<=v&&v<=70}function g(v){return v>=48&&v<=55}s=[5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8239,8287,12288,65279];function F(v){return v===32||v===9||v===11||v===12||v===160||v>=5760&&s.indexOf(v)>=0}function A(v){return v===10||v===13||v===8232||v===8233}function C(v){if(v<=65535)return String.fromCharCode(v);var L=String.fromCharCode(Math.floor((v-65536)/1024)+55296),S=String.fromCharCode((v-65536)%1024+56320);return L+S}for(o=new Array(128),h=0;h<128;++h)o[h]=h>=97&&h<=122||h>=65&&h<=90||h===36||h===95;for(u=new Array(128),h=0;h<128;++h)u[h]=h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===36||h===95;function D(v){return v<128?o[v]:n.NonAsciiIdentifierStart.test(C(v))}function E(v){return v<128?u[v]:n.NonAsciiIdentifierPart.test(C(v))}function w(v){return v<128?o[v]:r.NonAsciiIdentifierStart.test(C(v))}function b(v){return v<128?u[v]:r.NonAsciiIdentifierPart.test(C(v))}t.exports={isDecimalDigit:p,isHexDigit:m,isOctalDigit:g,isWhiteSpace:F,isLineTerminator:A,isIdentifierStartES5:D,isIdentifierPartES5:E,isIdentifierStartES6:w,isIdentifierPartES6:b}})()}}),Pi=K({"../../node_modules/esutils/lib/keyword.js"(e,t){(function(){var r=yn();function n(D){switch(D){case"implements":case"interface":case"package":case"private":case"protected":case"public":case"static":case"let":return!0;default:return!1}}function s(D,E){return!E&&D==="yield"?!1:o(D,E)}function o(D,E){if(E&&n(D))return!0;switch(D.length){case 2:return D==="if"||D==="in"||D==="do";case 3:return D==="var"||D==="for"||D==="new"||D==="try";case 4:return D==="this"||D==="else"||D==="case"||D==="void"||D==="with"||D==="enum";case 5:return D==="while"||D==="break"||D==="catch"||D==="throw"||D==="const"||D==="yield"||D==="class"||D==="super";case 6:return D==="return"||D==="typeof"||D==="delete"||D==="switch"||D==="export"||D==="import";case 7:return D==="default"||D==="finally"||D==="extends";case 8:return D==="function"||D==="continue"||D==="debugger";case 10:return D==="instanceof";default:return!1}}function u(D,E){return D==="null"||D==="true"||D==="false"||s(D,E)}function h(D,E){return D==="null"||D==="true"||D==="false"||o(D,E)}function p(D){return D==="eval"||D==="arguments"}function m(D){var E,w,b;if(D.length===0||(b=D.charCodeAt(0),!r.isIdentifierStartES5(b)))return!1;for(E=1,w=D.length;E=w||(v=D.charCodeAt(E),!(56320<=v&&v<=57343)))return!1;b=g(b,v)}if(!L(b))return!1;L=r.isIdentifierPartES6}return!0}function A(D,E){return m(D)&&!u(D,E)}function C(D,E){return F(D)&&!h(D,E)}t.exports={isKeywordES5:s,isKeywordES6:o,isReservedWordES5:u,isReservedWordES6:h,isRestrictedWord:p,isIdentifierNameES5:m,isIdentifierNameES6:F,isIdentifierES5:A,isIdentifierES6:C}})()}}),Ni=K({"../../node_modules/esutils/lib/utils.js"(e){(function(){e.ast=Ti(),e.code=yn(),e.keyword=Pi()})()}}),Li=K({"../../node_modules/escodegen/node_modules/source-map/lib/base64.js"(e){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");e.encode=function(r){if(0<=r&&r>1;return m?-g:g}e.encode=function(p){var m="",g,F=u(p);do g=F&s,F>>>=r,F>0&&(g|=o),m+=t.encode(g);while(F>0);return m},e.decode=function(p,m,g){var F=p.length,A=0,C=0,D,E;do{if(m>=F)throw new Error("Expected more digits in base 64 VLQ value.");if(E=t.decode(p.charCodeAt(m++)),E===-1)throw new Error("Invalid base64 digit: "+p.charAt(m-1));D=!!(E&o),E&=s,A=A+(E<=0;M--)P=B[M],P==="."?B.splice(M,1):P===".."?j++:j>0&&(P===""?(B.splice(M+1,j),j=0):(B.splice(M,2),j--));return x=B.join("/"),x===""&&(x=_?"/":"."),y?(y.path=x,o(y)):x}e.normalize=u;function h(S,x){S===""&&(S="."),x===""&&(x=".");var y=s(x),_=s(S);if(_&&(S=_.path||"/"),y&&!y.scheme)return _&&(y.scheme=_.scheme),o(y);if(y||x.match(n))return x;if(_&&!_.host&&!_.path)return _.host=x,o(_);var B=x.charAt(0)==="/"?x:u(S.replace(/\/+$/,"")+"/"+x);return _?(_.path=B,o(_)):B}e.join=h,e.isAbsolute=function(S){return S.charAt(0)==="/"||r.test(S)};function p(S,x){S===""&&(S="."),S=S.replace(/\/$/,"");for(var y=0;x.indexOf(S+"/")!==0;){var _=S.lastIndexOf("/");if(_<0||(S=S.slice(0,_),S.match(/^([^\/]+:\/)?\/*$/)))return x;++y}return Array(y+1).join("../")+x.substr(S.length+1)}e.relative=p;var m=function(){var S=Object.create(null);return!("__proto__"in S)}();function g(S){return S}function F(S){return C(S)?"$"+S:S}e.toSetString=m?g:F;function A(S){return C(S)?S.slice(1):S}e.fromSetString=m?g:A;function C(S){if(!S)return!1;var x=S.length;if(x<9||S.charCodeAt(x-1)!==95||S.charCodeAt(x-2)!==95||S.charCodeAt(x-3)!==111||S.charCodeAt(x-4)!==116||S.charCodeAt(x-5)!==111||S.charCodeAt(x-6)!==114||S.charCodeAt(x-7)!==112||S.charCodeAt(x-8)!==95||S.charCodeAt(x-9)!==95)return!1;for(var y=x-10;y>=0;y--)if(S.charCodeAt(y)!==36)return!1;return!0}function D(S,x,y){var _=w(S.source,x.source);return _!==0||(_=S.originalLine-x.originalLine,_!==0)||(_=S.originalColumn-x.originalColumn,_!==0||y)||(_=S.generatedColumn-x.generatedColumn,_!==0)||(_=S.generatedLine-x.generatedLine,_!==0)?_:w(S.name,x.name)}e.compareByOriginalPositions=D;function E(S,x,y){var _=S.generatedLine-x.generatedLine;return _!==0||(_=S.generatedColumn-x.generatedColumn,_!==0||y)||(_=w(S.source,x.source),_!==0)||(_=S.originalLine-x.originalLine,_!==0)||(_=S.originalColumn-x.originalColumn,_!==0)?_:w(S.name,x.name)}e.compareByGeneratedPositionsDeflated=E;function w(S,x){return S===x?0:S===null?1:x===null?-1:S>x?1:-1}function b(S,x){var y=S.generatedLine-x.generatedLine;return y!==0||(y=S.generatedColumn-x.generatedColumn,y!==0)||(y=w(S.source,x.source),y!==0)||(y=S.originalLine-x.originalLine,y!==0)||(y=S.originalColumn-x.originalColumn,y!==0)?y:w(S.name,x.name)}e.compareByGeneratedPositionsInflated=b;function v(S){return JSON.parse(S.replace(/^\)]}'[^\n]*\n/,""))}e.parseSourceMapInput=v;function L(S,x,y){if(x=x||"",S&&(S[S.length-1]!=="/"&&x[0]!=="/"&&(S+="/"),x=S+x),y){var _=s(y);if(!_)throw new Error("sourceMapURL could not be parsed");if(_.path){var B=_.path.lastIndexOf("/");B>=0&&(_.path=_.path.substring(0,B+1))}x=h(o(_),x)}return u(x)}e.computeSourceURL=L}}),xn=K({"../../node_modules/escodegen/node_modules/source-map/lib/array-set.js"(e){var t=At(),r=Object.prototype.hasOwnProperty,n=typeof Map<"u";function s(){this._array=[],this._set=n?new Map:Object.create(null)}s.fromArray=function(o,u){for(var h=new s,p=0,m=o.length;p=0)return u}else{var h=t.toSetString(o);if(r.call(this._set,h))return this._set[h]}throw new Error('"'+o+'" is not in the set.')},s.prototype.at=function(o){if(o>=0&&ou||h==u&&m>=p||t.compareByGeneratedPositionsInflated(s,o)<=0}function n(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}n.prototype.unsortedForEach=function(s,o){this._array.forEach(s,o)},n.prototype.add=function(s){r(this._last,s)?(this._last=s,this._array.push(s)):(this._sorted=!1,this._array.push(s))},n.prototype.toArray=function(){return this._sorted||(this._array.sort(t.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},e.MappingList=n}}),_n=K({"../../node_modules/escodegen/node_modules/source-map/lib/source-map-generator.js"(e){var t=Fn(),r=At(),n=xn().ArraySet,s=Oi().MappingList;function o(u){u||(u={}),this._file=r.getArg(u,"file",null),this._sourceRoot=r.getArg(u,"sourceRoot",null),this._skipValidation=r.getArg(u,"skipValidation",!1),this._sources=new n,this._names=new n,this._mappings=new s,this._sourcesContents=null}o.prototype._version=3,o.fromSourceMap=function(u){var h=u.sourceRoot,p=new o({file:u.file,sourceRoot:h});return u.eachMapping(function(m){var g={generated:{line:m.generatedLine,column:m.generatedColumn}};m.source!=null&&(g.source=m.source,h!=null&&(g.source=r.relative(h,g.source)),g.original={line:m.originalLine,column:m.originalColumn},m.name!=null&&(g.name=m.name)),p.addMapping(g)}),u.sources.forEach(function(m){var g=m;h!==null&&(g=r.relative(h,m)),p._sources.has(g)||p._sources.add(g);var F=u.sourceContentFor(m);F!=null&&p.setSourceContent(m,F)}),p},o.prototype.addMapping=function(u){var h=r.getArg(u,"generated"),p=r.getArg(u,"original",null),m=r.getArg(u,"source",null),g=r.getArg(u,"name",null);this._skipValidation||this._validateMapping(h,p,m,g),m!=null&&(m=String(m),this._sources.has(m)||this._sources.add(m)),g!=null&&(g=String(g),this._names.has(g)||this._names.add(g)),this._mappings.add({generatedLine:h.line,generatedColumn:h.column,originalLine:p!=null&&p.line,originalColumn:p!=null&&p.column,source:m,name:g})},o.prototype.setSourceContent=function(u,h){var p=u;this._sourceRoot!=null&&(p=r.relative(this._sourceRoot,p)),h!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[r.toSetString(p)]=h):this._sourcesContents&&(delete this._sourcesContents[r.toSetString(p)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))},o.prototype.applySourceMap=function(u,h,p){var m=h;if(h==null){if(u.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);m=u.file}var g=this._sourceRoot;g!=null&&(m=r.relative(g,m));var F=new n,A=new n;this._mappings.unsortedForEach(function(C){if(C.source===m&&C.originalLine!=null){var D=u.originalPositionFor({line:C.originalLine,column:C.originalColumn});D.source!=null&&(C.source=D.source,p!=null&&(C.source=r.join(p,C.source)),g!=null&&(C.source=r.relative(g,C.source)),C.originalLine=D.line,C.originalColumn=D.column,D.name!=null&&(C.name=D.name))}var E=C.source;E!=null&&!F.has(E)&&F.add(E);var w=C.name;w!=null&&!A.has(w)&&A.add(w)},this),this._sources=F,this._names=A,u.sources.forEach(function(C){var D=u.sourceContentFor(C);D!=null&&(p!=null&&(C=r.join(p,C)),g!=null&&(C=r.relative(g,C)),this.setSourceContent(C,D))},this)},o.prototype._validateMapping=function(u,h,p,m){if(h&&typeof h.line!="number"&&typeof h.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(u&&"line"in u&&"column"in u&&u.line>0&&u.column>=0&&!h&&!p&&!m)){if(u&&"line"in u&&"column"in u&&h&&"line"in h&&"column"in h&&u.line>0&&u.column>=0&&h.line>0&&h.column>=0&&p)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:u,source:p,original:h,name:m}))}},o.prototype._serializeMappings=function(){for(var u=0,h=1,p=0,m=0,g=0,F=0,A="",C,D,E,w,b=this._mappings.toArray(),v=0,L=b.length;v0){if(!r.compareByGeneratedPositionsInflated(D,b[v-1]))continue;C+=","}C+=t.encode(D.generatedColumn-u),u=D.generatedColumn,D.source!=null&&(w=this._sources.indexOf(D.source),C+=t.encode(w-F),F=w,C+=t.encode(D.originalLine-1-m),m=D.originalLine-1,C+=t.encode(D.originalColumn-p),p=D.originalColumn,D.name!=null&&(E=this._names.indexOf(D.name),C+=t.encode(E-g),g=E)),A+=C}return A},o.prototype._generateSourcesContent=function(u,h){return u.map(function(p){if(!this._sourcesContents)return null;h!=null&&(p=r.relative(h,p));var m=r.toSetString(p);return Object.prototype.hasOwnProperty.call(this._sourcesContents,m)?this._sourcesContents[m]:null},this)},o.prototype.toJSON=function(){var u={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(u.file=this._file),this._sourceRoot!=null&&(u.sourceRoot=this._sourceRoot),this._sourcesContents&&(u.sourcesContent=this._generateSourcesContent(u.sources,u.sourceRoot)),u},o.prototype.toString=function(){return JSON.stringify(this.toJSON())},e.SourceMapGenerator=o}}),Ri=K({"../../node_modules/escodegen/node_modules/source-map/lib/binary-search.js"(e){e.GREATEST_LOWER_BOUND=1,e.LEAST_UPPER_BOUND=2;function t(r,n,s,o,u,h){var p=Math.floor((n-r)/2)+r,m=u(s,o[p],!0);return m===0?p:m>0?n-p>1?t(p,n,s,o,u,h):h==e.LEAST_UPPER_BOUND?n1?t(r,p,s,o,u,h):h==e.LEAST_UPPER_BOUND?p:r<0?-1:r}e.search=function(r,n,s,o){if(n.length===0)return-1;var u=t(-1,n.length,r,n,s,o||e.GREATEST_LOWER_BOUND);if(u<0)return-1;for(;u-1>=0&&s(n[u],n[u-1],!0)===0;)--u;return u}}}),ji=K({"../../node_modules/escodegen/node_modules/source-map/lib/quick-sort.js"(e){function t(s,o,u){var h=s[o];s[o]=s[u],s[u]=h}function r(s,o){return Math.round(s+Math.random()*(o-s))}function n(s,o,u,h){if(u=0){var E=this._originalMappings[D];if(g.column===void 0)for(var w=E.originalLine;E&&E.originalLine===w;)C.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++D];else for(var b=E.originalColumn;E&&E.originalLine===F&&E.originalColumn==b;)C.push({line:t.getArg(E,"generatedLine",null),column:t.getArg(E,"generatedColumn",null),lastColumn:t.getArg(E,"lastGeneratedColumn",null)}),E=this._originalMappings[++D]}return C},e.SourceMapConsumer=u;function h(g,F){var A=g;typeof g=="string"&&(A=t.parseSourceMapInput(g));var C=t.getArg(A,"version"),D=t.getArg(A,"sources"),E=t.getArg(A,"names",[]),w=t.getArg(A,"sourceRoot",null),b=t.getArg(A,"sourcesContent",null),v=t.getArg(A,"mappings"),L=t.getArg(A,"file",null);if(C!=this._version)throw new Error("Unsupported version: "+C);w&&(w=t.normalize(w)),D=D.map(String).map(t.normalize).map(function(S){return w&&t.isAbsolute(w)&&t.isAbsolute(S)?t.relative(w,S):S}),this._names=n.fromArray(E.map(String),!0),this._sources=n.fromArray(D,!0),this._absoluteSources=this._sources.toArray().map(function(S){return t.computeSourceURL(w,S,F)}),this.sourceRoot=w,this.sourcesContent=b,this._mappings=v,this._sourceMapURL=F,this.file=L}h.prototype=Object.create(u.prototype),h.prototype.consumer=u,h.prototype._findSourceIndex=function(g){var F=g;if(this.sourceRoot!=null&&(F=t.relative(this.sourceRoot,F)),this._sources.has(F))return this._sources.indexOf(F);var A;for(A=0;A1&&(B.source=w+j[1],w+=j[1],B.originalLine=D+j[2],D=B.originalLine,B.originalLine+=1,B.originalColumn=E+j[3],E=B.originalColumn,j.length>4&&(B.name=b+j[4],b+=j[4])),_.push(B),typeof B.originalLine=="number"&&y.push(B)}o(_,t.compareByGeneratedPositionsDeflated),this.__generatedMappings=_,o(y,t.compareByOriginalPositions),this.__originalMappings=y},h.prototype._findMapping=function(g,F,A,C,D,E){if(g[A]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+g[A]);if(g[C]<0)throw new TypeError("Column must be greater than or equal to 0, got "+g[C]);return r.search(g,F,D,E)},h.prototype.computeColumnSpans=function(){for(var g=0;g=0){var C=this._generatedMappings[A];if(C.generatedLine===F.generatedLine){var D=t.getArg(C,"source",null);D!==null&&(D=this._sources.at(D),D=t.computeSourceURL(this.sourceRoot,D,this._sourceMapURL));var E=t.getArg(C,"name",null);return E!==null&&(E=this._names.at(E)),{source:D,line:t.getArg(C,"originalLine",null),column:t.getArg(C,"originalColumn",null),name:E}}}return{source:null,line:null,column:null,name:null}},h.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(g){return g==null}):!1},h.prototype.sourceContentFor=function(g,F){if(!this.sourcesContent)return null;var A=this._findSourceIndex(g);if(A>=0)return this.sourcesContent[A];var C=g;this.sourceRoot!=null&&(C=t.relative(this.sourceRoot,C));var D;if(this.sourceRoot!=null&&(D=t.urlParse(this.sourceRoot))){var E=C.replace(/^file:\/\//,"");if(D.scheme=="file"&&this._sources.has(E))return this.sourcesContent[this._sources.indexOf(E)];if((!D.path||D.path=="/")&&this._sources.has("/"+C))return this.sourcesContent[this._sources.indexOf("/"+C)]}if(F)return null;throw new Error('"'+C+'" is not in the SourceMap.')},h.prototype.generatedPositionFor=function(g){var F=t.getArg(g,"source");if(F=this._findSourceIndex(F),F<0)return{line:null,column:null,lastColumn:null};var A={source:F,originalLine:t.getArg(g,"line"),originalColumn:t.getArg(g,"column")},C=this._findMapping(A,this._originalMappings,"originalLine","originalColumn",t.compareByOriginalPositions,t.getArg(g,"bias",u.GREATEST_LOWER_BOUND));if(C>=0){var D=this._originalMappings[C];if(D.source===A.source)return{line:t.getArg(D,"generatedLine",null),column:t.getArg(D,"generatedColumn",null),lastColumn:t.getArg(D,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},e.BasicSourceMapConsumer=h;function m(g,F){var A=g;typeof g=="string"&&(A=t.parseSourceMapInput(g));var C=t.getArg(A,"version"),D=t.getArg(A,"sections");if(C!=this._version)throw new Error("Unsupported version: "+C);this._sources=new n,this._names=new n;var E={line:-1,column:0};this._sections=D.map(function(w){if(w.url)throw new Error("Support for url field in sections not implemented.");var b=t.getArg(w,"offset"),v=t.getArg(b,"line"),L=t.getArg(b,"column");if(v=0;p--)this.prepend(h[p]);else if(h[o]||typeof h=="string")this.children.unshift(h);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+h);return this},u.prototype.walk=function(h){for(var p,m=0,g=this.children.length;m0){for(p=[],m=0;m=6.0"},maintainers:[{name:"Yusuke Suzuki",email:"utatane.tea@gmail.com",web:"http://github.com/Constellation"}],repository:{type:"git",url:"http://github.com/estools/escodegen.git"},dependencies:{estraverse:"^5.2.0",esutils:"^2.0.2",esprima:"^4.0.1"},optionalDependencies:{"source-map":"~0.6.1"},devDependencies:{acorn:"^8.0.4",bluebird:"^3.4.7","bower-registry-client":"^1.0.0",chai:"^4.2.0","chai-exclude":"^2.0.2","commonjs-everywhere":"^0.9.7",gulp:"^4.0.2","gulp-eslint":"^6.0.0","gulp-mocha":"^7.0.2",minimist:"^1.2.5",optionator:"^0.9.1",semver:"^7.3.4"},license:"BSD-2-Clause",scripts:{test:"gulp travis","unit-test":"gulp test",lint:"gulp lint",release:"node tools/release.js","build-min":"./node_modules/.bin/cjsify -ma path: tools/entry-point.js > escodegen.browser.min.js",build:"./node_modules/.bin/cjsify -a path: tools/entry-point.js > escodegen.browser.js"}}}}),Wi=K({"../../node_modules/escodegen/escodegen.js"(e){(function(){var t,r,n,s,o,u,h,p,m,g,F,A,C,D,E,w,b,v,L,S,x,y,_,B,P,j;o=Ii(),u=Ni(),t=o.Syntax;function M(i){return oe.Expression.hasOwnProperty(i.type)}function V(i){return oe.Statement.hasOwnProperty(i.type)}r={Sequence:0,Yield:1,Assignment:1,Conditional:2,ArrowFunction:2,Coalesce:3,LogicalOR:4,LogicalAND:5,BitwiseOR:6,BitwiseXOR:7,BitwiseAND:8,Equality:9,Relational:10,BitwiseSHIFT:11,Additive:12,Multiplicative:13,Exponentiation:14,Await:15,Unary:15,Postfix:16,OptionalChaining:17,Call:18,New:19,TaggedTemplate:20,Member:21,Primary:22},n={"??":r.Coalesce,"||":r.LogicalOR,"&&":r.LogicalAND,"|":r.BitwiseOR,"^":r.BitwiseXOR,"&":r.BitwiseAND,"==":r.Equality,"!=":r.Equality,"===":r.Equality,"!==":r.Equality,is:r.Equality,isnt:r.Equality,"<":r.Relational,">":r.Relational,"<=":r.Relational,">=":r.Relational,in:r.Relational,instanceof:r.Relational,"<<":r.BitwiseSHIFT,">>":r.BitwiseSHIFT,">>>":r.BitwiseSHIFT,"+":r.Additive,"-":r.Additive,"*":r.Multiplicative,"%":r.Multiplicative,"/":r.Multiplicative,"**":r.Exponentiation};var U=1,H=2,ne=4,se=8,ue=16,Z=32,we=64,st=H|ne,Re=U|H,R=U|H|ne,Je=U,je=ne,ut=U|ne,re=U,xe=U|Z,yt=0,ti=U|ue,ri=U|se;function kr(){return{indent:null,base:null,parse:null,comment:!1,format:{indent:{style:" ",base:0,adjustMultilineComment:!1},newline:` +`,space:" ",json:!1,renumber:!1,hexadecimal:!1,quotes:"single",escapeless:!1,compact:!1,parentheses:!0,semicolons:!0,safeConcatenation:!1,preserveBlankLines:!1},moz:{comprehensionExpressionStartsWithAssignment:!1,starlessGenerator:!1},sourceMap:null,sourceMapRoot:null,sourceMapWithCode:!1,directive:!1,raw:!0,verbatim:null,sourceCode:null}}function Me(i,l){var a="";for(l|=0;l>0;l>>>=1,i+=i)l&1&&(a+=i);return a}function ni(i){return/[\r\n]/g.test(i)}function he(i){var l=i.length;return l&&u.code.isLineTerminator(i.charCodeAt(l-1))}function Ir(i,l){var a;for(a in l)l.hasOwnProperty(a)&&(i[a]=l[a]);return i}function Ft(i,l){var a,c;function d(k){return typeof k=="object"&&k instanceof Object&&!(k instanceof RegExp)}for(a in l)l.hasOwnProperty(a)&&(c=l[a],d(c)?d(i[a])?Ft(i[a],c):i[a]=Ft({},c):i[a]=c);return i}function ii(i){var l,a,c,d,k;if(i!==i)throw new Error("Numeric literal whose value is NaN");if(i<0||i===0&&1/i<0)throw new Error("Numeric literal whose value is negative");if(i===1/0)return m?"null":g?"1e400":"1e+400";if(l=""+i,!g||l.length<3)return l;for(a=l.indexOf("."),!m&&l.charCodeAt(0)===48&&a===1&&(a=0,l=l.slice(1)),c=l,l=l.replace("e+","e"),d=0,(k=c.indexOf("e"))>0&&(d=+c.slice(k+1),c=c.slice(0,k)),a>=0&&(d-=c.length-a-1,c=+(c.slice(0,a)+c.slice(a+1))+""),k=0;c.charCodeAt(c.length+k-1)===48;)--k;return k!==0&&(d-=k,c=c.slice(0,k)),d!==0&&(c+="e"+d),(c.length1e12&&Math.floor(i)===i&&(c="0x"+i.toString(16)).length255?"\\u"+"0000".slice(a.length)+a:i===0&&!u.code.isDecimalDigit(l)?"\\0":i===11?"\\x0B":"\\x"+"00".slice(a.length)+a)}function ai(i){if(i===92)return"\\\\";if(i===10)return"\\n";if(i===13)return"\\r";if(i===8232)return"\\u2028";if(i===8233)return"\\u2029";throw new Error("Incorrectly classified character")}function oi(i){var l,a,c,d;for(d=A==="double"?'"':"'",l=0,a=i.length;l126))){l+=ui(d,i.charCodeAt(a+1));continue}l+=String.fromCharCode(d)}if(T=!(A==="double"||A==="auto"&&I=0&&!u.code.isLineTerminator(i.charCodeAt(l));--l);return i.length-1-l}function hi(i,l){var a,c,d,k,I,T,O,J;for(a=i.split(/\r\n|[\r\n]/),T=Number.MAX_VALUE,c=1,d=a.length;cI&&(T=I)}for(typeof l<"u"?(O=h,a[1][T]==="*"&&(l+=" "),h=l):(T&1&&--T,O=h),c=1,d=a.length;c0){if(k=l,B){for(d=i.leadingComments[0],l=[],J=d.extendedRange,ce=d.range,He=_.substring(J[0],ce[0]),_e=(He.match(/\n/g)||[]).length,_e>0?(l.push(Me(` +`,_e)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d))),Ve=ce,a=1,c=i.leadingComments.length;a0?(l.push(Me(` +`,_e)),l.push(fe(ke(d)))):(l.push(He),l.push(ke(d)));else for(I=!he(Y(l).toString()),T=Me(" ",ci(Y([h,l,p]).toString())),a=0,c=i.trailingComments.length;a")),i.expression?(l.push(E),a=this.generateExpression(i.body,r.Assignment,R),a.toString().charAt(0)==="{"&&(a=["(",a,")"]),l.push(a)):l.push(this.maybeBlock(i.body,ri)),l},oe.prototype.generateIterationForStatement=function(i,l,a){var c=["for"+(l.await?pe()+"await":"")+E+"("],d=this;return ae(function(){l.left.type===t.VariableDeclaration?ae(function(){c.push(l.left.kind+pe()),c.push(d.generateStatement(l.left.declarations[0],yt))}):c.push(d.generateExpression(l.left,r.Call,R)),c=W(c,i),c=[W(c,d.generateExpression(l.right,r.Assignment,R)),")"]}),c.push(this.maybeBlock(l.body,a)),c},oe.prototype.generatePropertyKey=function(i,l){var a=[];return l&&a.push("["),a.push(this.generateExpression(i,r.Assignment,R)),l&&a.push("]"),a},oe.prototype.generateAssignment=function(i,l,a,c,d){return r.Assignment2&&(c=_.substring(a[0]+1,a[1]-1),c[0]===` +`&&(d=["{"]),d.push(c)));var I,T,O,J;for(J=re,l&se&&(J|=ue),I=0,T=i.body.length;I0&&!i.body[I-1].trailingComments&&!i.body[I].leadingComments&&Xe(i.body[I-1].range[1],i.body[I].range[0],d)),I===T-1&&(J|=Z),i.body[I].leadingComments&&B?O=k.generateStatement(i.body[I],J):O=fe(k.generateStatement(i.body[I],J)),d.push(O),he(Y(O).toString())||B&&I1?ae(O):O(),a.push(this.semicolon(l)),a},ThrowStatement:function(i,l){return[W("throw",this.generateExpression(i.argument,r.Sequence,R)),this.semicolon(l)]},TryStatement:function(i,l){var a,c,d,k;if(a=["try",this.maybeBlock(i.block,re)],a=this.maybeBlockSuffix(i.block,a),i.handlers)for(c=0,d=i.handlers.length;c0?` +`:""],I=ti,d=0;d0&&!i.body[d-1].trailingComments&&!i.body[d].leadingComments&&Xe(i.body[d-1].range[1],i.body[d].range[0],a)),c=fe(this.generateStatement(i.body[d],I)),a.push(c),d+10){for(c.push("("),k=0,I=d;k=2&&d.charCodeAt(0)===48)&&c.push(" ")),c.push(i.optional?"?.":"."),c.push(Ae(i.property))),le(c,r.Member,l)},MetaProperty:function(i,l,a){var c;return c=[],c.push(typeof i.meta=="string"?i.meta:Ae(i.meta)),c.push("."),c.push(typeof i.property=="string"?i.property:Ae(i.property)),le(c,r.Member,l)},UnaryExpression:function(i,l,a){var c,d,k,I,T;return d=this.generateExpression(i.argument,r.Unary,R),E===""?c=W(i.operator,d):(c=[i.operator],i.operator.length>2?c=W(c,d):(I=Y(c).toString(),T=I.charCodeAt(I.length-1),k=d.toString().charCodeAt(0),((T===43||T===45)&&T===k||u.code.isIdentifierPartES5(T)&&u.code.isIdentifierPartES5(k))&&c.push(pe()),c.push(d))),le(c,r.Unary,l)},YieldExpression:function(i,l,a){var c;return i.delegate?c="yield*":c="yield",i.argument&&(c=W(c,this.generateExpression(i.argument,r.Yield,R))),le(c,r.Yield,l)},AwaitExpression:function(i,l,a){var c=W(i.all?"await*":"await",this.generateExpression(i.argument,r.Await,R));return le(c,r.Await,l)},UpdateExpression:function(i,l,a){return i.prefix?le([i.operator,this.generateExpression(i.argument,r.Unary,R)],r.Unary,l):le([this.generateExpression(i.argument,r.Postfix,R),i.operator],r.Postfix,l)},FunctionExpression:function(i,l,a){var c=[at(i,!0),"function"];return i.id?(c.push(xt(i)||pe()),c.push(Ae(i.id))):c.push(xt(i)||E),c.push(this.generateFunctionBody(i)),c},ArrayPattern:function(i,l,a){return this.ArrayExpression(i,l,a,!0)},ArrayExpression:function(i,l,a,c){var d,k,I=this;return i.elements.length?(k=c?!1:i.elements.length>1,d=["[",k?D:""],ae(function(T){var O,J;for(O=0,J=i.elements.length;O1,ae(function(){k=I.generateExpression(i.properties[0],r.Sequence,R)}),!c&&!ni(Y(k).toString())?["{",E,k,E,"}"]:(ae(function(T){var O,J;if(d=["{",D,T,k],c)for(d.push(","+D),O=1,J=i.properties.length;O0||S.moz.comprehensionExpressionStartsWithAssignment?c=W(c,I):c.push(I)}),i.filter&&(c=W(c,"if"+E),I=this.generateExpression(i.filter,r.Sequence,R),c=W(c,["(",I,")"])),S.moz.comprehensionExpressionStartsWithAssignment||(I=this.generateExpression(i.body,r.Assignment,R),c=W(c,I)),c.push(i.type===t.GeneratorExpression?")":"]"),c},ComprehensionBlock:function(i,l,a){var c;return i.left.type===t.VariableDeclaration?c=[i.left.kind,pe(),this.generateStatement(i.left.declarations[0],yt)]:c=this.generateExpression(i.left,r.Call,R),c=W(c,i.of?"of":"in"),c=W(c,this.generateExpression(i.right,r.Sequence,R)),["for"+E+"(",c,")"]},SpreadElement:function(i,l,a){return["...",this.generateExpression(i.argument,r.Assignment,R)]},TaggedTemplateExpression:function(i,l,a){var c=Re;a&H||(c=Je);var d=[this.generateExpression(i.tag,r.Call,c),this.generateExpression(i.quasi,r.Primary,je)];return le(d,r.TaggedTemplate,l)},TemplateElement:function(i,l,a){return i.value.raw},TemplateLiteral:function(i,l,a){var c,d,k;for(c=["`"],d=0,k=i.quasis.length;dht,Parser:()=>te,Position:()=>Ue,SourceLocation:()=>et,TokContext:()=>ye,Token:()=>pt,TokenType:()=>Q,defaultOptions:()=>mt,getLineInfo:()=>lr,isIdentifierChar:()=>qe,isIdentifierStart:()=>Te,isNewLine:()=>Ke,keywordTypes:()=>dt,lineBreak:()=>De,lineBreakG:()=>ze,nonASCIIwhitespace:()=>Ot,parse:()=>Ki,parseExpressionAt:()=>Zi,tokContexts:()=>ie,tokTypes:()=>f,tokenizer:()=>es,version:()=>mr});function or(e,t){for(var r=65536,n=0;ne)return!1;if(r+=t[n+1],r>=e)return!0}}function Te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&bn.test(String.fromCharCode(e)):t===!1?!1:or(e,xr)}function qe(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Bn.test(String.fromCharCode(e)):t===!1?!1:or(e,xr)||or(e,wn)}function Fe(e,t){return new Q(e,{beforeExpr:!0,binop:t})}function X(e,t){return t===void 0&&(t={}),t.keyword=e,dt[e]=new Q(e,t)}function Ke(e,t){return e===10||e===13||!t&&(e===8232||e===8233)}function Nt(e,t){return kn.call(e,t)}function We(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}function lr(e,t){for(var r=1,n=0;;){ze.lastIndex=n;var s=ze.exec(e);if(s&&s.index=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),cr(t.onToken)){var n=t.onToken;t.onToken=function(s){return n.push(s)}}return cr(t.onComment)&&(t.onComment=Gi(t,t.onComment)),t}function Gi(e,t){return function(r,n,s,o,u,h){var p={type:r?"Block":"Line",value:n,start:s,end:o};e.locations&&(p.loc=new et(this,u,h)),e.ranges&&(p.range=[s,o]),t.push(p)}}function Vt(e,t){return Ze|(e?hr:0)|(t?pr:0)}function St(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}function Wr(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}function qt(e){var t=dr[e]={binary:We(In[e]+" "+fr),nonBinary:{General_Category:We(fr),Script:We(Tn[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}function vt(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function zr(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}function $i(e){return Te(e,!0)||e===36||e===95}function Ji(e){return qe(e,!0)||e===36||e===95||e===8204||e===8205}function Sn(e){return e>=65&&e<=90||e>=97&&e<=122}function Xi(e){return e>=0&&e<=1114111}function Hi(e){return e===100||e===68||e===115||e===83||e===119||e===87}function vn(e){return Sn(e)||e===95}function Qi(e){return vn(e)||Lt(e)}function Lt(e){return e>=48&&e<=57}function Gr(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function $r(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function Jr(e){return e>=48&&e<=55}function Yi(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Xr(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}function Ut(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}function Ki(e,t){return te.parse(e,t)}function Zi(e,t,r){return te.parseExpressionAt(e,t,r)}function es(e,t){return te.tokenizer(e,t)}var bt,Bt,Hr,Qr,wt,Wt,bn,Bn,xr,wn,Q,Ce,ge,dt,f,De,ze,Ot,Ee,zt,kn,Yr,cr,Ue,et,mt,Qe,Ze,kt,hr,pr,Gt,$t,Jt,Xt,Ht,It,Se,Qt,Yt,Kt,te,Ne,de,Kr,z,Tt,Zr,en,Ye,Pt,Zt,ve,G,tn,ot,Ie,rn,ht,lt,ye,ie,ct,er,tr,nn,In,fr,rr,nr,sn,Tn,dr,q,be,pt,$,ir,mr,gr=gi({"../../node_modules/acorn/dist/acorn.mjs"(){bt={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},Bt="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",Hr={5:Bt,"5module":Bt+" export import",6:Bt+" const class extends export import super"},Qr=/^in(stanceof)?$/,wt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࢠ-ࢴࢶ-ࣇऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-鿼ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞿꟂ-ꟊꟵ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Wt="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࣓-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿᫀᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷹᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",bn=new RegExp("["+wt+"]"),Bn=new RegExp("["+wt+Wt+"]"),wt=Wt=null,xr=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],wn=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239],Q=function(e,t){t===void 0&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null},Ce={beforeExpr:!0},ge={startsExpr:!0},dt={},f={num:new Q("num",ge),regexp:new Q("regexp",ge),string:new Q("string",ge),name:new Q("name",ge),eof:new Q("eof"),bracketL:new Q("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new Q("]"),braceL:new Q("{",{beforeExpr:!0,startsExpr:!0}),braceR:new Q("}"),parenL:new Q("(",{beforeExpr:!0,startsExpr:!0}),parenR:new Q(")"),comma:new Q(",",Ce),semi:new Q(";",Ce),colon:new Q(":",Ce),dot:new Q("."),question:new Q("?",Ce),questionDot:new Q("?."),arrow:new Q("=>",Ce),template:new Q("template"),invalidTemplate:new Q("invalidTemplate"),ellipsis:new Q("...",Ce),backQuote:new Q("`",ge),dollarBraceL:new Q("${",{beforeExpr:!0,startsExpr:!0}),eq:new Q("=",{beforeExpr:!0,isAssign:!0}),assign:new Q("_=",{beforeExpr:!0,isAssign:!0}),incDec:new Q("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new Q("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Fe("||",1),logicalAND:Fe("&&",2),bitwiseOR:Fe("|",3),bitwiseXOR:Fe("^",4),bitwiseAND:Fe("&",5),equality:Fe("==/!=/===/!==",6),relational:Fe("/<=/>=",7),bitShift:Fe("<>/>>>",8),plusMin:new Q("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Fe("%",10),star:Fe("*",10),slash:Fe("/",10),starstar:new Q("**",{beforeExpr:!0}),coalesce:Fe("??",1),_break:X("break"),_case:X("case",Ce),_catch:X("catch"),_continue:X("continue"),_debugger:X("debugger"),_default:X("default",Ce),_do:X("do",{isLoop:!0,beforeExpr:!0}),_else:X("else",Ce),_finally:X("finally"),_for:X("for",{isLoop:!0}),_function:X("function",ge),_if:X("if"),_return:X("return",Ce),_switch:X("switch"),_throw:X("throw",Ce),_try:X("try"),_var:X("var"),_const:X("const"),_while:X("while",{isLoop:!0}),_with:X("with"),_new:X("new",{beforeExpr:!0,startsExpr:!0}),_this:X("this",ge),_super:X("super",ge),_class:X("class",ge),_extends:X("extends",Ce),_export:X("export"),_import:X("import",ge),_null:X("null",ge),_true:X("true",ge),_false:X("false",ge),_in:X("in",{beforeExpr:!0,binop:7}),_instanceof:X("instanceof",{beforeExpr:!0,binop:7}),_typeof:X("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:X("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:X("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},De=/\r\n?|\n|\u2028|\u2029/,ze=new RegExp(De.source,"g"),Ot=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Ee=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,zt=Object.prototype,kn=zt.hasOwnProperty,Yr=zt.toString,cr=Array.isArray||function(e){return Yr.call(e)==="[object Array]"},Ue=function(e,t){this.line=e,this.column=t},Ue.prototype.offset=function(e){return new Ue(this.line,this.column+e)},et=function(e,t,r){this.start=t,this.end=r,e.sourceFile!==null&&(this.source=e.sourceFile)},mt={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Qe=1,Ze=2,kt=Qe|Ze,hr=4,pr=8,Gt=16,$t=32,Jt=64,Xt=128,Ht=0,It=1,Se=2,Qt=3,Yt=4,Kt=5,te=function(e,t,r){this.options=e=zi(e),this.sourceFile=e.sourceFile,this.keywords=We(Hr[e.ecmaVersion>=6?6:e.sourceType==="module"?"5module":5]);var n="";if(e.allowReserved!==!0){for(var s=e.ecmaVersion;!(n=bt[s]);s--);e.sourceType==="module"&&(n+=" await")}this.reservedWords=We(n);var o=(n?n+" ":"")+bt.strict;this.reservedWordsStrict=We(o),this.reservedWordsStrictBind=We(o+" "+bt.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf(` +`,r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(De).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=f.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=e.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},this.pos===0&&e.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Qe),this.regexpState=null},Ne={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}},te.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},Ne.inFunction.get=function(){return(this.currentVarScope().flags&Ze)>0},Ne.inGenerator.get=function(){return(this.currentVarScope().flags&pr)>0},Ne.inAsync.get=function(){return(this.currentVarScope().flags&hr)>0},Ne.allowSuper.get=function(){return(this.currentThisScope().flags&Jt)>0},Ne.allowDirectSuper.get=function(){return(this.currentThisScope().flags&Xt)>0},Ne.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},te.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&Ze)>0},te.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n=,?^&]/.test(s)||s==="!"&&this.input.charAt(n+1)==="=")}e+=t[0].length,Ee.lastIndex=e,e+=Ee.exec(this.input)[0].length,this.input[e]===";"&&e++}},de.eat=function(e){return this.type===e?(this.next(),!0):!1},de.isContextual=function(e){return this.type===f.name&&this.value===e&&!this.containsEsc},de.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},de.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},de.canInsertSemicolon=function(){return this.type===f.eof||this.type===f.braceR||De.test(this.input.slice(this.lastTokEnd,this.start))},de.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},de.semicolon=function(){!this.eat(f.semi)&&!this.insertSemicolon()&&this.unexpected()},de.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},de.expect=function(e){this.eat(e)||this.unexpected()},de.unexpected=function(e){this.raise(e??this.start,"Unexpected token")},de.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},de.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},de.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case f._class:return e&&this.unexpected(),this.parseClass(s,!0);case f._if:return this.parseIfStatement(s);case f._return:return this.parseReturnStatement(s);case f._switch:return this.parseSwitchStatement(s);case f._throw:return this.parseThrowStatement(s);case f._try:return this.parseTryStatement(s);case f._const:case f._var:return o=o||this.value,e&&o!=="var"&&this.unexpected(),this.parseVarStatement(s,o);case f._while:return this.parseWhileStatement(s);case f._with:return this.parseWithStatement(s);case f.braceL:return this.parseBlock(!0,s);case f.semi:return this.parseEmptyStatement(s);case f._export:case f._import:if(this.options.ecmaVersion>10&&n===f._import){Ee.lastIndex=this.pos;var u=Ee.exec(this.input),h=this.pos+u[0].length,p=this.input.charCodeAt(h);if(p===40||p===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===f._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var m=this.value,g=this.parseExpression();return n===f.name&&g.type==="Identifier"&&this.eat(f.colon)?this.parseLabeledStatement(s,m,g,e):this.parseExpressionStatement(s,g)}},z.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(f.semi)||this.insertSemicolon()?e.label=null:this.type!==f.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n=6?this.eat(f.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},z.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Tt),this.enterScope(0),this.expect(f.parenL),this.type===f.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===f._var||this.type===f._const||r){var n=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(n,!0,s),this.finishNode(n,"VariableDeclaration"),(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&n.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var o=new St,u=this.parseExpression(!0,o);return this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===f._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(u,!1,o),this.checkLVal(u),this.parseForIn(e,u)):(this.checkExpressionErrors(o,!0),t>-1&&this.unexpected(t),this.parseFor(e,u))},z.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ye|(r?0:Pt),!1,t)},z.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(f._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},z.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(f.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},z.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(f.braceL),this.labels.push(Zr),this.enterScope(0);for(var t,r=!1;this.type!==f.braceR;)if(this.type===f._case||this.type===f._default){var n=this.type===f._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(f.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},z.parseThrowStatement=function(e){return this.next(),De.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")},en=[],z.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===f._catch){var t=this.startNode();if(this.next(),this.eat(f.parenL)){t.param=this.parseBindingAtom();var r=t.param.type==="Identifier";this.enterScope(r?$t:0),this.checkLVal(t.param,r?Yt:Se),this.expect(f.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(f._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},z.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},z.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Tt),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},z.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},z.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},z.parseLabeledStatement=function(e,t,r,n){for(var s=0,o=this.labels;s=0;p--){var m=this.labels[p];if(m.statementStart===e.start)m.statementStart=this.start,m.kind=h;else break}return this.labels.push({name:t,kind:h,statementStart:this.start}),e.body=this.parseStatement(n?n.indexOf("label")===-1?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},z.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},z.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(f.braceL),e&&this.enterScope(0);this.type!==f.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},z.parseFor=function(e,t){return e.init=t,this.expect(f.semi),e.test=this.type===f.semi?null:this.parseExpression(),this.expect(f.semi),e.update=this.type===f.parenR?null:this.parseExpression(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},z.parseForIn=function(e,t){var r=this.type===f._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):t.type==="AssignmentPattern"&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(f.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},z.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(f.eq)?n.init=this.parseMaybeAssign(t):r==="const"&&!(this.type===f._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():n.id.type!=="Identifier"&&!(t&&(this.type===f._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):n.init=null,e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(f.comma))break}return e},z.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,t==="var"?It:Se,!1)},Ye=1,Pt=2,Zt=4,z.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===f.star&&t&Pt&&this.unexpected(),e.generator=this.eat(f.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&Ye&&(e.id=t&Zt&&this.type!==f.name?null:this.parseIdent(),e.id&&!(t&Pt)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?It:Se:Qt));var s=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(e.async,e.generator)),t&Ye||(e.id=this.type===f.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(e,t&Ye?"FunctionDeclaration":"FunctionExpression")},z.parseFunctionParams=function(e){this.expect(f.parenL),e.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},z.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),s=!1;for(n.body=[],this.expect(f.braceL);this.type!==f.braceR;){var o=this.parseClassElement(e.superClass!==null);o&&(n.body.push(o),o.type==="MethodDefinition"&&o.kind==="constructor"&&(s&&this.raise(o.start,"Duplicate constructor in the same class"),s=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},z.parseClassElement=function(e){var t=this;if(this.eat(f.semi))return null;var r=this.startNode(),n=function(p,m){m===void 0&&(m=!1);var g=t.start,F=t.startLoc;return t.eatContextual(p)?t.type!==f.parenL&&(!m||!t.canInsertSemicolon())?!0:(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(g,F),r.key.name=p,t.finishNode(r.key,"Identifier"),!1):!1};r.kind="method",r.static=n("static");var s=this.eat(f.star),o=!1;s||(this.options.ecmaVersion>=8&&n("async",!0)?(o=!0,s=this.options.ecmaVersion>=9&&this.eat(f.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var u=r.key,h=!1;return!r.computed&&!r.static&&(u.type==="Identifier"&&u.name==="constructor"||u.type==="Literal"&&u.value==="constructor")?(r.kind!=="method"&&this.raise(u.start,"Constructor can't have get/set modifier"),s&&this.raise(u.start,"Constructor can't be a generator"),o&&this.raise(u.start,"Constructor can't be an async method"),r.kind="constructor",h=e):r.static&&u.type==="Identifier"&&u.name==="prototype"&&this.raise(u.start,"Classes may not have a static property named prototype"),this.parseClassMethod(r,s,o,h),r.kind==="get"&&r.value.params.length!==0&&this.raiseRecoverable(r.value.start,"getter should have no params"),r.kind==="set"&&r.value.params.length!==1&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),r.kind==="set"&&r.value.params[0].type==="RestElement"&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},z.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},z.parseClassId=function(e,t){this.type===f.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Se,!1)):(t===!0&&this.unexpected(),e.id=null)},z.parseClassSuper=function(e){e.superClass=this.eat(f._extends)?this.parseExprSubscripts():null},z.parseExport=function(e,t){if(this.next(),this.eat(f.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(f._default)){this.checkExport(t,"default",this.lastTokStart);var r;if(this.type===f._function||(r=this.isAsyncFunction())){var n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,Ye|Zt,!1,r)}else if(this.type===f._class){var s=this.startNode();e.declaration=this.parseClass(s,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==f.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var o=0,u=e.specifiers;o=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,s=e.properties;n=8&&!o&&u.name==="async"&&!this.canInsertSemicolon()&&this.eat(f._function))return this.parseFunction(this.startNodeAt(n,s),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(f.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[u],!1);if(this.options.ecmaVersion>=8&&u.name==="async"&&this.type===f.name&&!o)return u=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(f.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[u],!0)}return u;case f.regexp:var h=this.value;return t=this.parseLiteral(h.value),t.regex={pattern:h.pattern,flags:h.flags},t;case f.num:case f.string:return this.parseLiteral(this.value);case f._null:case f._true:case f._false:return t=this.startNode(),t.value=this.type===f._null?null:this.type===f._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case f.parenL:var p=this.start,m=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(m)&&(e.parenthesizedAssign=p),e.parenthesizedBind<0&&(e.parenthesizedBind=p)),m;case f.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(f.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case f.braceL:return this.parseObj(!1,e);case f._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case f._class:return this.parseClass(this.startNode(),!1);case f._new:return this.parseNew();case f.backQuote:return this.parseTemplate();case f._import:return this.options.ecmaVersion>=11?this.parseExprImport():this.unexpected();default:this.unexpected()}},G.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case f.parenL:return this.parseDynamicImport(e);case f.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},G.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(f.parenR)){var t=this.start;this.eat(f.comma)&&this.eat(f.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},G.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},G.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},G.parseParenExpression=function(){this.expect(f.parenL);var e=this.parseExpression();return this.expect(f.parenR),e},G.parseParenAndDistinguishExpression=function(e){var t=this.start,r=this.startLoc,n,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o=this.start,u=this.startLoc,h=[],p=!0,m=!1,g=new St,F=this.yieldPos,A=this.awaitPos,C;for(this.yieldPos=0,this.awaitPos=0;this.type!==f.parenR;)if(p?p=!1:this.expect(f.comma),s&&this.afterTrailingComma(f.parenR,!0)){m=!0;break}else if(this.type===f.ellipsis){C=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var D=this.start,E=this.startLoc;if(this.expect(f.parenR),e&&!this.canInsertSemicolon()&&this.eat(f.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=F,this.awaitPos=A,this.parseParenArrowList(t,r,h);(!h.length||m)&&this.unexpected(this.lastTokStart),C&&this.unexpected(C),this.checkExpressionErrors(g,!0),this.yieldPos=F||this.yieldPos,this.awaitPos=A||this.awaitPos,h.length>1?(n=this.startNodeAt(o,u),n.expressions=h,this.finishNodeAt(n,"SequenceExpression",D,E)):n=h[0]}else n=this.parseParenExpression();if(this.options.preserveParens){var w=this.startNodeAt(t,r);return w.expression=n,this.finishNode(w,"ParenthesizedExpression")}else return n},G.parseParenItem=function(e){return e},G.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)},tn=[],G.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(f.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,s=this.startLoc,o=this.type===f._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,s,!0),o&&e.callee.type==="ImportExpression"&&this.raise(n,"Cannot use new with import()"),this.eat(f.parenL)?e.arguments=this.parseExprList(f.parenR,this.options.ecmaVersion>=8,!1):e.arguments=tn,this.finishNode(e,"NewExpression")},G.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===f.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,` +`),cooked:this.value},this.next(),r.tail=this.type===f.backQuote,this.finishNode(r,"TemplateElement")},G.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===f.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(f.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(f.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},G.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===f.name||this.type===f.num||this.type===f.string||this.type===f.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===f.star)&&!De.test(this.input.slice(this.lastTokEnd,this.start))},G.parseObj=function(e,t){var r=this.startNode(),n=!0,s={};for(r.properties=[],this.next();!this.eat(f.braceR);){if(n)n=!1;else if(this.expect(f.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(f.braceR))break;var o=this.parseProperty(e,t);e||this.checkPropClash(o,s,t),r.properties.push(o)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},G.parseProperty=function(e,t){var r=this.startNode(),n,s,o,u;if(this.options.ecmaVersion>=9&&this.eat(f.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===f.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(this.type===f.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),r.argument=this.parseMaybeAssign(!1,t),this.type===f.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(o=this.start,u=this.startLoc),e||(n=this.eat(f.star)));var h=this.containsEsc;return this.parsePropertyName(r),!e&&!h&&this.options.ecmaVersion>=8&&!n&&this.isAsyncProp(r)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(f.star),this.parsePropertyName(r,t)):s=!1,this.parsePropertyValue(r,e,n,s,o,u,t,h),this.finishNode(r,"Property")},G.parsePropertyValue=function(e,t,r,n,s,o,u,h){if((r||n)&&this.type===f.colon&&this.unexpected(),this.eat(f.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,u),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===f.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(!t&&!h&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==f.comma&&this.type!==f.braceR&&this.type!==f.eq){(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var p=e.kind==="get"?0:1;if(e.value.params.length!==p){var m=e.value.start;e.kind==="get"?this.raiseRecoverable(m,"getter should have no params"):this.raiseRecoverable(m,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}else this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),e.kind="init",t?e.value=this.parseMaybeDefault(s,o,e.key):this.type===f.eq&&u?(u.shorthandAssign<0&&(u.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,o,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected()},G.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(f.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(f.bracketR),e.key;e.computed=!1}return e.key=this.type===f.num||this.type===f.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},G.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},G.parseMethod=function(e,t,r){var n=this.startNode(),s=this.yieldPos,o=this.awaitPos,u=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Vt(t,n.generator)|Jt|(r?Xt:0)),this.expect(f.parenL),n.params=this.parseBindingList(f.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=s,this.awaitPos=o,this.awaitIdentPos=u,this.finishNode(n,"FunctionExpression")},G.parseArrowExpression=function(e,t,r){var n=this.yieldPos,s=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(Vt(r,!1)|Gt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},G.parseFunctionBody=function(e,t,r){var n=t&&this.type!==f.braceL,s=this.strict,o=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(o=this.strictDirective(this.end),o&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var h=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!s&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,Kt),e.body=this.parseBlock(!1,void 0,o&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()},G.isSimpleParamList=function(e){for(var t=0,r=e;t-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Qe&&delete this.undefinedExports[e]}else if(t===Yt){var o=this.currentScope();o.lexical.push(e)}else if(t===Qt){var u=this.currentScope();this.treatFunctionsAsVar?n=u.lexical.indexOf(e)>-1:n=u.lexical.indexOf(e)>-1||u.var.indexOf(e)>-1,u.functions.push(e)}else for(var h=this.scopeStack.length-1;h>=0;--h){var p=this.scopeStack[h];if(p.lexical.indexOf(e)>-1&&!(p.flags&$t&&p.lexical[0]===e)||!this.treatFunctionsAsVarInScope(p)&&p.functions.indexOf(e)>-1){n=!0;break}if(p.var.push(e),this.inModule&&p.flags&Qe&&delete this.undefinedExports[e],p.flags&kt)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},Ie.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},Ie.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},Ie.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&kt)return t}},Ie.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&kt&&!(t.flags&Gt))return t}},ht=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new et(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},lt=te.prototype,lt.startNode=function(){return new ht(this,this.start,this.startLoc)},lt.startNodeAt=function(e,t){return new ht(this,e,t)},lt.finishNode=function(e,t){return Wr.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},lt.finishNodeAt=function(e,t,r,n){return Wr.call(this,e,t,r,n)},ye=function(e,t,r,n,s){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!s},ie={b_stat:new ye("{",!1),b_expr:new ye("{",!0),b_tmpl:new ye("${",!1),p_stat:new ye("(",!1),p_expr:new ye("(",!0),q_tmpl:new ye("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ye("function",!1),f_expr:new ye("function",!0),f_expr_gen:new ye("function",!0,!1,null,!0),f_gen:new ye("function",!1,!1,null,!0)},ct=te.prototype,ct.initialContext=function(){return[ie.b_stat]},ct.braceIsBlock=function(e){var t=this.curContext();return t===ie.f_expr||t===ie.f_stat?!0:e===f.colon&&(t===ie.b_stat||t===ie.b_expr)?!t.isExpr:e===f._return||e===f.name&&this.exprAllowed?De.test(this.input.slice(this.lastTokEnd,this.start)):e===f._else||e===f.semi||e===f.eof||e===f.parenR||e===f.arrow?!0:e===f.braceL?t===ie.b_stat:e===f._var||e===f._const||e===f.name?!1:!this.exprAllowed},ct.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},ct.updateContext=function(e){var t,r=this.type;r.keyword&&e===f.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},f.parenR.updateContext=f.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===ie.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},f.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ie.b_stat:ie.b_expr),this.exprAllowed=!0},f.dollarBraceL.updateContext=function(){this.context.push(ie.b_tmpl),this.exprAllowed=!0},f.parenL.updateContext=function(e){var t=e===f._if||e===f._for||e===f._with||e===f._while;this.context.push(t?ie.p_stat:ie.p_expr),this.exprAllowed=!0},f.incDec.updateContext=function(){},f._function.updateContext=f._class.updateContext=function(e){e.beforeExpr&&e!==f.semi&&e!==f._else&&!(e===f._return&&De.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===f.colon||e===f.braceL)&&this.curContext()===ie.b_stat)?this.context.push(ie.f_expr):this.context.push(ie.f_stat),this.exprAllowed=!1},f.backQuote.updateContext=function(){this.curContext()===ie.q_tmpl?this.context.pop():this.context.push(ie.q_tmpl),this.exprAllowed=!1},f.star.updateContext=function(e){if(e===f._function){var t=this.context.length-1;this.context[t]===ie.f_expr?this.context[t]=ie.f_expr_gen:this.context[t]=ie.f_gen}this.exprAllowed=!0},f.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==f.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},er="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",tr=er+" Extended_Pictographic",nn=tr,In={9:er,10:tr,11:nn},fr="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",rr="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",nr=rr+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",sn=nr+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Tn={9:rr,10:nr,11:sn},dr={},qt(9),qt(10),qt(11),q=te.prototype,be=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=dr[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]},be.prototype.reset=function(e,t,r){var n=r.indexOf("u")!==-1;this.start=e|0,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},be.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},be.prototype.at=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return-1;var s=r.charCodeAt(e);if(!(t||this.switchU)||s<=55295||s>=57344||e+1>=n)return s;var o=r.charCodeAt(e+1);return o>=56320&&o<=57343?(s<<10)+o-56613888:s},be.prototype.nextIndex=function(e,t){t===void 0&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var s=r.charCodeAt(e),o;return!(t||this.switchU)||s<=55295||s>=57344||e+1>=n||(o=r.charCodeAt(e+1))<56320||o>57343?e+1:e+2},be.prototype.current=function(e){return e===void 0&&(e=!1),this.at(this.pos,e)},be.prototype.lookahead=function(e){return e===void 0&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},be.prototype.advance=function(e){e===void 0&&(e=!1),this.pos=this.nextIndex(this.pos,e)},be.prototype.eat=function(e,t){return t===void 0&&(t=!1),this.current(t)===e?(this.advance(t),!0):!1},q.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n-1&&this.raise(e.start,"Duplicate regular expression flag")}},q.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},q.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},q.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},q.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},q.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},q.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},q.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},q.regexp_eatSyntaxCharacter=function(e){var t=e.current();return zr(t)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!zr(r);)e.advance();return e.pos!==t},q.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},q.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){e.groupNames.indexOf(e.lastStringValue)!==-1&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},q.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},q.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=vt(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=vt(e.lastIntValue);return!0}return!1},q.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),$i(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},q.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return e.advance(r),n===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),Ji(n)?(e.lastIntValue=n,!0):(e.pos=t,!1)},q.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},q.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},q.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},q.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},q.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},q.regexp_eatZero=function(e){return e.current()===48&&!Lt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},q.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},q.regexp_eatControlLetter=function(e){var t=e.current();return Sn(t)?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(n&&s>=55296&&s<=56319){var o=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var u=e.lastIntValue;if(u>=56320&&u<=57343)return e.lastIntValue=(s-55296)*1024+(u-56320)+65536,!0}e.pos=o,e.lastIntValue=s}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&Xi(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},q.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},q.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},q.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(Hi(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(t===80||t===112)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},q.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s),!0}return!1},q.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Nt(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},q.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},q.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";vn(t=e.current());)e.lastStringValue+=vt(t),e.advance();return e.lastStringValue!==""},q.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";Qi(t=e.current());)e.lastStringValue+=vt(t),e.advance();return e.lastStringValue!==""},q.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},q.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},q.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},q.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Jr(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return n!==93?(e.lastIntValue=n,e.advance(),!0):!1},q.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},q.regexp_eatClassControlLetter=function(e){var t=e.current();return Lt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},q.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},q.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Lt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},q.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Gr(r=e.current());)e.lastIntValue=16*e.lastIntValue+$r(r),e.advance();return e.pos!==t},q.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},q.regexp_eatOctalDigit=function(e){var t=e.current();return Jr(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},q.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n=this.input.length)return this.finishToken(f.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},$.readToken=function(e){return Te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},$.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=57344)return e;var t=this.input.charCodeAt(this.pos+1);return(e<<10)+t-56613888},$.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){ze.lastIndex=t;for(var n;(n=ze.exec(this.input))&&n.index8&&e<14||e>=5760&&Ot.test(String.fromCharCode(e)))++this.pos;else break e}}},$.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},$.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(f.ellipsis)):(++this.pos,this.finishToken(f.dot))},$.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(f.assign,2):this.finishOp(f.slash,1)},$.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=e===42?f.star:f.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,n=f.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(f.assign,r+1):this.finishOp(n,r)},$.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(f.assign,3)}return this.finishOp(e===124?f.logicalOR:f.logicalAND,2)}return t===61?this.finishOp(f.assign,2):this.finishOp(e===124?f.bitwiseOR:f.bitwiseAND,1)},$.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(f.assign,2):this.finishOp(f.bitwiseXOR,1)},$.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||De.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(f.incDec,2):t===61?this.finishOp(f.assign,2):this.finishOp(f.plusMin,1)},$.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(f.assign,r+1):this.finishOp(f.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(f.relational,r))},$.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(f.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(f.arrow)):this.finishOp(e===61?f.eq:f.prefix,1)},$.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(f.questionDot,2)}if(t===63){if(e>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(f.assign,3)}return this.finishOp(f.coalesce,2)}}return this.finishOp(f.question,1)},$.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(f.parenL);case 41:return++this.pos,this.finishToken(f.parenR);case 59:return++this.pos,this.finishToken(f.semi);case 44:return++this.pos,this.finishToken(f.comma);case 91:return++this.pos,this.finishToken(f.bracketL);case 93:return++this.pos,this.finishToken(f.bracketR);case 123:return++this.pos,this.finishToken(f.braceL);case 125:return++this.pos,this.finishToken(f.braceR);case 58:return++this.pos,this.finishToken(f.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(f.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(f.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ut(e)+"'")},$.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},$.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(De.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(n==="[")t=!0;else if(n==="]"&&t)t=!1;else if(n==="/"&&!t)break;e=n==="\\"}++this.pos}var s=this.input.slice(r,this.pos);++this.pos;var o=this.pos,u=this.readWord1();this.containsEsc&&this.unexpected(o);var h=this.regexpState||(this.regexpState=new be(this));h.reset(r,s,u),this.validateRegExpFlags(h),this.validateRegExpPattern(h);var p=null;try{p=new RegExp(s,u)}catch{}return this.finishToken(f.regexp,{pattern:s,flags:u,value:p})},$.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,o=this.pos,u=0,h=0,p=0,m=t??1/0;p=97?F=g-97+10:g>=65?F=g-65+10:g>=48&&g<=57?F=g-48:F=1/0,F>=e)break;h=g,u=u*e+F}return n&&h===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===o||t!=null&&this.pos-o!==t?null:u},$.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Xr(this.input.slice(t,this.pos)),++this.pos):Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,r)},$.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&n===110){var s=Xr(this.input.slice(t,this.pos));return++this.pos,Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(f.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),n===46&&!r&&(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),(n===69||n===101)&&!r&&(n=this.input.charCodeAt(++this.pos),(n===43||n===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),Te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var o=Yi(this.input.slice(t,this.pos),r);return this.finishToken(f.num,o)},$.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},$.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;n===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(Ke(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(f.string,t)},ir={},$.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===ir)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},$.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ir;this.raise(e,t)},$.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===f.template||this.type===f.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(f.dollarBraceL)):(++this.pos,this.finishToken(f.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(f.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ke(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=` +`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},$.readInvalidTemplateToken=function(){for(;this.pos=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(n,8);return s>255&&(n=n.slice(0,-1),s=parseInt(n,8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),(n!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return Ke(t)?"":String.fromCharCode(t)}},$.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},$.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"}}}),rs=K({"../../node_modules/acorn-jsx/index.js"(e,t){var r=ts(),n=/^[\da-fA-F]+$/,s=/^\d+$/,o=new WeakMap;function u(m){m=m.Parser.acorn||m;let g=o.get(m);if(!g){let F=m.tokTypes,A=m.TokContext,C=m.TokenType,D=new A("...",!0,!0),b={tc_oTag:D,tc_cTag:E,tc_expr:w},v={jsxName:new C("jsxName"),jsxText:new C("jsxText",{beforeExpr:!0}),jsxTagStart:new C("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new C("jsxTagEnd")};v.jsxTagStart.updateContext=function(){this.context.push(w),this.context.push(D),this.exprAllowed=!1},v.jsxTagEnd.updateContext=function(L){let S=this.context.pop();S===D&&L===F.slash||S===E?(this.context.pop(),this.exprAllowed=this.curContext()===w):this.exprAllowed=!0},g={tokContexts:b,tokTypes:v},o.set(m,g)}return g}function h(m){if(!m)return m;if(m.type==="JSXIdentifier")return m.name;if(m.type==="JSXNamespacedName")return m.namespace.name+":"+m.name.name;if(m.type==="JSXMemberExpression")return h(m.object)+"."+h(m.property)}t.exports=function(m){return m=m||{},function(g){return p({allowNamespaces:m.allowNamespaces!==!1,allowNamespacedObjects:!!m.allowNamespacedObjects},g)}},Object.defineProperty(t.exports,"tokTypes",{get:function(){return u((gr(),Mr(ar))).tokTypes},configurable:!0,enumerable:!0});function p(m,g){let F=g.acorn||(gr(),Mr(ar)),A=u(F),C=F.tokTypes,D=A.tokTypes,E=F.tokContexts,w=A.tokContexts.tc_oTag,b=A.tokContexts.tc_cTag,v=A.tokContexts.tc_expr,L=F.isNewLine,S=F.isIdentifierStart,x=F.isIdentifierChar;return class extends g{static get acornJsx(){return A}jsx_readToken(){let y="",_=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let B=this.input.charCodeAt(this.pos);switch(B){case 60:case 123:return this.pos===this.start?B===60&&this.exprAllowed?(++this.pos,this.finishToken(D.jsxTagStart)):this.getTokenFromCode(B):(y+=this.input.slice(_,this.pos),this.finishToken(D.jsxText,y));case 38:y+=this.input.slice(_,this.pos),y+=this.jsx_readEntity(),_=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(B===62?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:L(B)?(y+=this.input.slice(_,this.pos),y+=this.jsx_readNewLine(!0),_=this.pos):++this.pos}}}jsx_readNewLine(y){let _=this.input.charCodeAt(this.pos),B;return++this.pos,_===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,B=y?` +`:`\r +`):B=String.fromCharCode(_),this.options.locations&&(++this.curLine,this.lineStart=this.pos),B}jsx_readString(y){let _="",B=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let P=this.input.charCodeAt(this.pos);if(P===y)break;P===38?(_+=this.input.slice(B,this.pos),_+=this.jsx_readEntity(),B=this.pos):L(P)?(_+=this.input.slice(B,this.pos),_+=this.jsx_readNewLine(!1),B=this.pos):++this.pos}return _+=this.input.slice(B,this.pos++),this.finishToken(C.string,_)}jsx_readEntity(){let y="",_=0,B,P=this.input[this.pos];P!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let j=++this.pos;for(;this.pos")}let V=j.name?"Element":"Fragment";return B["opening"+V]=j,B["closing"+V]=M,B.children=P,this.type===C.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(B,"JSX"+V)}jsx_parseText(){let y=this.parseLiteral(this.value);return y.type="JSXText",y}jsx_parseElement(){let y=this.start,_=this.startLoc;return this.next(),this.jsx_parseElementAt(y,_)}parseExprAtom(y){return this.type===D.jsxText?this.jsx_parseText():this.type===D.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(y)}readToken(y){let _=this.curContext();if(_===v)return this.jsx_readToken();if(_===w||_===b){if(S(y))return this.jsx_readWord();if(y==62)return++this.pos,this.finishToken(D.jsxTagEnd);if((y===34||y===39)&&_==w)return this.jsx_readString(y)}return y===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(D.jsxTagStart)):super.readToken(y)}updateContext(y){if(this.type==C.braceL){var _=this.curContext();_==w?this.context.push(E.b_expr):_==v?this.context.push(E.b_tmpl):super.updateContext(y),this.exprAllowed=!0}else if(this.type===C.slash&&y===D.jsxTagStart)this.context.length-=2,this.context.push(b),this.exprAllowed=!1;else return super.updateContext(y)}}}}}),ns=K({"../../node_modules/@base2/pretty-print-object/dist/index.js"(e){var t=e&&e.__assign||function(){return t=Object.assign||function(p){for(var m,g=1,F=arguments.length;ge.$$typeof===Symbol.for("react.memo"),ms=e=>e.$$typeof===Symbol.for("react.forward_ref");gr();var gs=nt(rs());function Ln(e,t,r,n,s){(function o(u,h,p){var m=p||u.type,g=t[m];r[m](u,h,o),g&&g(u,h)})(e,n,s)}function Ds(e,t,r,n,s){var o=[];(function u(h,p,m){var g=m||h.type,F=t[g],A=h!==o[o.length-1];A&&o.push(h),r[g](h,p,u),F&&F(h,p||o,o),A&&o.pop()})(e,n,s)}function vr(e,t,r){r(e,t)}function $e(e,t,r){}var N={};N.Program=N.BlockStatement=function(e,t,r){for(var n=0,s=e.body;n{}},As=te.extend((0,gs.default)());function Et(e){return e!=null?e.name:null}function on(e){return e.filter(t=>t.type==="ObjectExpression"||t.type==="ArrayExpression")}function On(e){let t=[];return Ds(e,{ObjectExpression(r,n){t.push(on(n).length)},ArrayExpression(r,n){t.push(on(n).length)}},br),Math.max(...t)}function Cs(e){return{inferredType:{type:"Identifier",identifier:Et(e)},ast:e}}function Es(e){return{inferredType:{type:"Literal"},ast:e}}function ys(e){let t;Ln(e.body,{JSXElement(s){t=s}},br);let r={type:t!=null?"Element":"Function",params:e.params,hasParams:e.params.length!==0},n=Et(e.id);return n!=null&&(r.identifier=n),{inferredType:r,ast:e}}function Fs(e){let t;return Ln(e.body,{JSXElement(r){t=r}},br),{inferredType:{type:t!=null?"Element":"Class",identifier:Et(e.id)},ast:e}}function xs(e){let t={type:"Element"},r=Et(e.openingElement.name);return r!=null&&(t.identifier=r),{inferredType:t,ast:e}}function _s(e){let t=e.callee.type==="MemberExpression"?e.callee.property:e.callee;return Et(t)==="shape"?Rn(e.arguments[0]):null}function Rn(e){return{inferredType:{type:"Object",depth:On(e)},ast:e}}function Ss(e){return{inferredType:{type:"Array",depth:On(e)},ast:e}}function vs(e){switch(e.type){case"Identifier":return Cs(e);case"Literal":return Es(e);case"FunctionExpression":case"ArrowFunctionExpression":return ys(e);case"ClassExpression":return Fs(e);case"JSXElement":return xs(e);case"CallExpression":return _s(e);case"ObjectExpression":return Rn(e);case"ArrayExpression":return Ss(e);default:return null}}function bs(e){let t=As.parse(`(${e})`,{ecmaVersion:2020}),r={inferredType:{type:"Unknown"},ast:t};if(t.body[0]!=null){let n=t.body[0];switch(n.type){case"ExpressionStatement":{let s=vs(n.expression);s!=null&&(r=s);break}}}return r}function Oe(e){try{return{...bs(e)}}catch{}return{inferredType:{type:"Unknown"}}}function jn({inferredType:e,ast:t}){let{depth:r}=e;if(r<=2){let n=an(t,!0);if(!Dt(n))return ee(n)}return ee(_r,an(t))}function Mn({inferredType:e,ast:t}){let{depth:r}=e;if(r===1){let n=Ar(t,!0);if(!Dt(n))return ee(n)}return ee(Ct,Ar(t))}function Br(e,t){return t?`${e}( ... )`:`${e}()`}function jt(e){return`<${e} />`}function Vn(e){let{type:t,identifier:r}=e;switch(t){case"Function":return Br(r,e.hasParams);case"Element":return jt(r);default:return r}}function Bs({inferredType:e,ast:t}){let{identifier:r}=e;if(r!=null)return ee(Vn(e),Le(t));let n=Le(t,!0);return Dt(n)?ee(tt,Le(t)):ee(n)}function ws(e,t){let{inferredType:r}=t,{identifier:n}=r;if(n!=null&&!Sr(n)){let s=Vn(r);return ee(s,e)}return Dt(e)?ee(it,e):ee(e)}function qn(e){try{let t=Oe(e);switch(t.inferredType.type){case"Object":return Mn(t);case"Function":return Bs(t);case"Element":return ws(e,t);case"Array":return jn(t);default:return null}}catch(t){console.error(t)}return null}function ln(e){return typeof e=="function"}function ks(e){return typeof e=="string"||e instanceof String}function Is(e){var r;if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(Object.prototype.toString.call(e)!=="[object Object]"){let n=e[Symbol.toStringTag];return n==null||!((r=Object.getOwnPropertyDescriptor(e,Symbol.toStringTag))!=null&&r.writable)?!1:e.toString()===`[object ${n}]`}let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function cn(e){return Object.prototype.toString.call(e)==="[object Object]"}function Ts(e){var t,r;return cn(e)===!1?!1:(t=e.constructor,t===void 0?!0:(r=t.prototype,!(cn(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}var Ps=nt(ns()),Be=nt(ss()),Pe=function(e,t){return e===0?"":new Array(e*t).fill(" ").join("")};function gt(e){"@babel/helpers - typeof";return gt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},gt(e)}function Ns(e){return Ls(e)||Os(e)||Rs(e)||js()}function Ls(e){if(Array.isArray(e))return Cr(e)}function Os(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rs(e,t){if(e){if(typeof e=="string")return Cr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cr(e,t)}}function Cr(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0?e.length-1:0),n=e[e.length-1];return n&&(t.type==="string"||t.type==="number")&&(n.type==="string"||n.type==="number")?r.push(Un(String(n.value)+String(t.value))):(n&&r.push(n),r.push(t)),r},eu=function(e){return["key","ref"].includes(e)},tu=function(e){return function(t){var r=t.includes("key"),n=t.includes("ref"),s=t.filter(function(u){return!eu(u)}),o=Ns(e?s.sort():s);return n&&o.unshift("ref"),r&&o.unshift("key"),o}};function ru(e,t){return Array.isArray(t)?function(r){return t.indexOf(r)===-1}:function(r){return t(e[r],r)}}var nu=function(e,t,r,n,s){var o=s.tabStop;return e.type==="string"?t.split(` +`).map(function(u,h){return h===0?u:"".concat(Pe(n,o)).concat(u)}).join(` +`):t},iu=function(e,t,r){return function(n){return nu(n,Mt(n,e,t,r),e,t,r)}},su=function(e,t){return function(r){var n=Object.keys(e).includes(r);return!n||n&&e[r]!==t[r]}},Gn=function(e,t,r,n,s){return s?Pe(r,n).length+t.length>s:e.length>1},uu=function(e,t,r,n,s,o,u){return(Gn(e,t,s,o,u)||r)&&!n},$n=function(e,t,r,n){var s=e.type,o=e.displayName,u=o===void 0?"":o,h=e.childrens,p=e.props,m=p===void 0?{}:p,g=e.defaultProps,F=g===void 0?{}:g;if(s!=="ReactElement")throw new Error('The "formatReactElementNode" function could only format node of type "ReactElement". Given: '.concat(s));var A=n.filterProps,C=n.maxInlineAttributesLineLength,D=n.showDefaultProps,E=n.sortProps,w=n.tabStop,b="<".concat(u),v=b,L=b,S=!1,x=[],y=ru(m,A);Object.keys(m).filter(y).filter(su(F,m)).forEach(function(P){return x.push(P)}),Object.keys(F).filter(y).filter(function(){return D}).filter(function(P){return!x.includes(P)}).forEach(function(P){return x.push(P)});var _=tu(E)(x);if(_.forEach(function(P){var j=Ks(P,Object.keys(m).includes(P),m[P],Object.keys(F).includes(P),F[P],t,r,n),M=j.attributeFormattedInline,V=j.attributeFormattedMultiline,U=j.isMultilineAttribute;U&&(S=!0),v+=M,L+=V}),L+=` +`.concat(Pe(r,w)),uu(_,v,S,t,r,w,C)?b=L:b=v,h&&h.length>0){var B=r+1;b+=">",t||(b+=` +`,b+=Pe(B,w)),b+=h.reduce(Zs,[]).map(iu(t,B,n)).join(t?"":` +`.concat(Pe(B,w))),t||(b+=` +`,b+=Pe(B-1,w)),b+="")}else Gn(_,v,r,w,C)||(b+=" "),b+="/>";return b},au="",dn="React.Fragment",ou=function(e,t,r){var n={};return t&&(n={key:t}),{type:"ReactElement",displayName:e,props:n,defaultProps:{},childrens:r}},lu=function(e){var t=e.key;return!!t},cu=function(e){var t=e.childrens;return t.length===0},hu=function(e,t,r,n){var s=e.type,o=e.key,u=e.childrens;if(s!=="ReactFragment")throw new Error('The "formatReactFragmentNode" function could only format node of type "ReactFragment". Given: '.concat(s));var h=n.useFragmentShortSyntax,p;return h?cu(e)||lu(e)?p=dn:p=au:p=dn,$n(ou(p,o,u),t,r,n)},pu=["<",">","{","}"],fu=function(e){return pu.some(function(t){return e.includes(t)})},du=function(e){return fu(e)?"{`".concat(e,"`}"):e},mu=function(e){var t=e;return t.endsWith(" ")&&(t=t.replace(/^(.*?)(\s+)$/,"$1{'$2'}")),t.startsWith(" ")&&(t=t.replace(/^(\s+)(.*)$/,"{'$1'}$2")),t},Mt=function(e,t,r,n){if(e.type==="number")return String(e.value);if(e.type==="string")return e.value?"".concat(mu(du(String(e.value)))):"";if(e.type==="ReactElement")return $n(e,t,r,n);if(e.type==="ReactFragment")return hu(e,t,r,n);throw new TypeError('Unknow format type "'.concat(e.type,'"'))},gu=function(e,t){return Mt(e,!1,0,t)},Jn=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=t.filterProps,n=r===void 0?[]:r,s=t.showDefaultProps,o=s===void 0?!0:s,u=t.showFunctions,h=u===void 0?!1:u,p=t.functionValue,m=t.tabStop,g=m===void 0?2:m,F=t.useBooleanShorthandSyntax,A=F===void 0?!0:F,C=t.useFragmentShortSyntax,D=C===void 0?!0:C,E=t.sortProps,w=E===void 0?!0:E,b=t.maxInlineAttributesLineLength,v=t.displayName;if(!e)throw new Error("react-element-to-jsx-string: Expected a ReactElement");var L={filterProps:n,showDefaultProps:o,showFunctions:h,functionValue:p,tabStop:g,useBooleanShorthandSyntax:A,useFragmentShortSyntax:D,sortProps:w,maxInlineAttributesLineLength:b,displayName:v};return gu(wr(e,L),L)},mn=Jn;function Xn(e){return e.$$typeof!=null}function Hn(e,t){let{name:r}=e;return r!==""&&r!=="anonymous"&&r!==t?r:null}var Du=e=>ee(JSON.stringify(e));function Au(e){let{type:t}=e,{displayName:r}=t,n=mn(e,{});if(r!=null){let s=jt(r);return ee(s,n)}if(ks(t)&&Sr(t)){let s=mn(e,{tabStop:0}).replace(/\r?\n|\r/g,"");if(!Dt(s))return ee(s)}return ee(it,n)}var Cu=e=>{if(Xn(e)&&e.type!=null)return Au(e);if(Is(e)){let t=Oe(JSON.stringify(e));return Mn(t)}if(Array.isArray(e)){let t=Oe(JSON.stringify(e));return jn(t)}return ee(Ct)},Eu=(e,t)=>{let r=!1,n;if(ln(e.render))r=!0;else if(e.prototype!=null&&ln(e.prototype.render))r=!0;else{let o;try{n=Oe(e.toString());let{hasParams:u,params:h}=n.inferredType;u?h.length===1&&h[0].type==="ObjectPattern"&&(o=e({})):o=e(),o!=null&&Xn(o)&&(r=!0)}catch{}}let s=Hn(e,t.name);if(s!=null){if(r)return ee(jt(s));n!=null&&(n=Oe(e.toString()));let{hasParams:o}=n.inferredType;return ee(Br(s,o))}return ee(r?it:tt)},yu=e=>ee(e.toString()),Qn={string:Du,object:Cu,function:Eu,default:yu};function Fu(e={}){return{...Qn,...e}}function xu(e,t,r=Qn){try{switch(typeof e){case"string":return r.string(e,t);case"object":return r.object(e,t);case"function":return r.function(e,t);default:return r.default(e,t)}}catch(n){console.error(n)}return null}function _u(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let s=[];if(r){let o=e.map(u=>{let h=u.getPrettyName(),p=u.getTypeName();return p!=null?`${h}: ${p}`:h});s.push(`(${o.join(", ")})`)}else s.push("()");return n&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function Su(e,t){let r=e!=null,n=t!=null;if(!r&&!n)return"";let s=[];return r?s.push("( ... )"):s.push("()"),n&&s.push(`=> ${t.getTypeName()}`),s.join(" ")}function vu(e){return e.replace(/,/g,`,\r +`)}var bu=150;function me({name:e,short:t,compact:r,full:n,inferredType:s}){return{name:e,short:t,compact:r,full:n??t,inferredType:s}}function Yn(e){return e.replace(/PropTypes./g,"").replace(/.isRequired/g,"")}function gn(e){return e.split(/\r?\n/)}function Rt(e,t=!1){return Yn(Ar(e,t))}function Dn(e,t=!1){return Yn(Le(e,t))}function Bu(e){switch(e){case"Object":return Ct;case"Array":return _r;case"Class":return us;case"Function":return tt;case"Element":return it;default:return Dr}}function Kn(e,t){let{inferredType:r,ast:n}=Oe(e),{type:s}=r,o,u,h;switch(s){case"Identifier":case"Literal":o=e,u=e;break;case"Object":{let{depth:p}=r;o=Ct,u=p===1?Rt(n,!0):null,h=Rt(n);break}case"Element":{let{identifier:p}=r;o=p!=null&&!Sr(p)?p:it,u=gn(e).length===1?e:null,h=e;break}case"Array":{let{depth:p}=r;o=_r,u=p<=2?Dn(n,!0):null,h=Dn(n);break}default:o=Bu(s),u=gn(e).length===1?e:null,h=e;break}return me({name:t,short:o,compact:u,full:h,inferredType:s})}function wu({raw:e}){return e!=null?Kn(e,"custom"):me({name:"custom",short:Dr,compact:Dr})}function ku(e){let{jsDocTags:t}=e;return t!=null&&(t.params!=null||t.returns!=null)?me({name:"func",short:Su(t.params,t.returns),compact:null,full:_u(t.params,t.returns)}):me({name:"func",short:tt,compact:tt})}function Iu(e,t){let r=Object.keys(e.value).map(u=>`${u}: ${rt(e.value[u],t).full}`).join(", "),{inferredType:n,ast:s}=Oe(`{ ${r} }`),{depth:o}=n;return me({name:"shape",short:Ct,compact:o===1&&s?Rt(s,!0):null,full:s?Rt(s):null})}function sr(e){return`objectOf(${e})`}function Tu(e,t){let{short:r,compact:n,full:s}=rt(e.value,t);return me({name:"objectOf",short:sr(r),compact:n!=null?sr(n):null,full:s&&sr(s)})}function Pu(e,t){if(Array.isArray(e.value)){let r=e.value.reduce((n,s)=>{let{short:o,compact:u,full:h}=rt(s,t);return n.short.push(o),n.compact.push(u),n.full.push(h),n},{short:[],compact:[],full:[]});return me({name:"union",short:r.short.join(" | "),compact:r.compact.every(n=>n!=null)?r.compact.join(" | "):null,full:r.full.join(" | ")})}return me({name:"union",short:e.value,compact:null})}function Nu({value:e,computed:t}){return t?Kn(e,"enumvalue"):me({name:"enumvalue",short:e,compact:e})}function Lu(e){if(Array.isArray(e.value)){let t=e.value.reduce((r,n)=>{let{short:s,compact:o,full:u}=Nu(n);return r.short.push(s),r.compact.push(o),r.full.push(u),r},{short:[],compact:[],full:[]});return me({name:"enum",short:t.short.join(" | "),compact:t.compact.every(r=>r!=null)?t.compact.join(" | "):null,full:t.full.join(" | ")})}return me({name:"enum",short:e.value,compact:e.value})}function yr(e){return`${e}[]`}function An(e){return`[${e}]`}function Cn(e,t,r){return me({name:"arrayOf",short:yr(e),compact:t!=null?An(t):null,full:r&&An(r)})}function Ou(e,t){let{name:r,short:n,compact:s,full:o,inferredType:u}=rt(e.value,t);if(r==="custom"){if(u==="Object")return Cn(n,s,o)}else if(r==="shape")return Cn(n,s,o);return me({name:"arrayOf",short:yr(n),compact:yr(n)})}function rt(e,t){try{switch(e.name){case"custom":return wu(e);case"func":return ku(t);case"shape":return Iu(e,t);case"instanceOf":return me({name:"instanceOf",short:e.value,compact:e.value});case"objectOf":return Tu(e,t);case"union":return Pu(e,t);case"enum":return Lu(e);case"arrayOf":return Ou(e,t);default:return me({name:e.name,short:e.name,compact:e.name})}}catch(r){console.error(r)}return me({name:"unknown",short:"unknown",compact:"unknown"})}function Ru(e){let{type:t}=e.docgenInfo;if(t==null)return null;try{switch(t.name){case"custom":case"shape":case"instanceOf":case"objectOf":case"union":case"enum":case"arrayOf":{let{short:r,compact:n,full:s}=rt(t,e);return n!=null&&!Fi(n)?ee(n):s?ee(r,s):ee(r)}case"func":{let{short:r,full:n}=rt(t,e),s=r,o;return n&&n.length{let n=(r==null?void 0:r.summary)==="element"||(r==null?void 0:r.summary)==="elementType",s=Hn(e,t);if(s!=null){if(n)return ee(jt(s));let{hasParams:o}=Oe(e.toString()).inferredType;return ee(Br(s,o))}return ee(n?it:tt)},Mu=Fu({function:ju});function Vu(e,t){let{propTypes:r}=t;return r!=null?Object.keys(r).map(n=>e.find(s=>s.name===n)).filter(Boolean):e}function qu(e,t){let{propDef:r}=e,n=Ru(e);n!=null&&(r.type=n);let{defaultValue:s}=e.docgenInfo;if(s!=null&&s.value!=null){let o=qn(s.value);o!=null&&(r.defaultValue=o)}else if(t!=null){let o=xu(t,r,Mu);o!=null&&(r.defaultValue=o)}return r}function Uu(e,t){let r=t.defaultProps!=null?t.defaultProps:{},n=e.map(s=>qu(s,r[s.propDef.name]));return Vu(n,t)}function Wu(e,t){let{propDef:r}=e,{defaultValue:n}=e.docgenInfo;if(n!=null&&n.value!=null){let s=qn(n.value);s!=null&&(r.defaultValue=s)}return r}function zu(e){return e.map(t=>Wu(t))}var En=new Map;Object.keys(un.default).forEach(e=>{let t=un.default[e];En.set(t,e),En.set(t.isRequired,e)});function Gu(e,t){let r=e;!Ei(e)&&!e.propTypes&&Nn(e)&&(r=e.type);let n=yi(r,t);if(n.length===0)return[];switch(n[0].typeSystem){case qr.JAVASCRIPT:return Uu(n,e);case qr.TYPESCRIPT:return zu(n);default:return n.map(s=>s.propDef)}}var $u=e=>({rows:Gu(e,"props")}),Ju=e=>{if(e){let{rows:t}=$u(e);if(t)return t.reduce((r,n)=>{let{name:s,description:o,type:u,sbType:h,defaultValue:p,jsDocTags:m,required:g}=n;return r[s]={name:s,description:o,type:{required:g,...h},table:{type:u??void 0,jsDocTags:m,defaultValue:p??void 0}},r},{})}return null},ur=Jn,Xu=e=>e.charAt(0).toUpperCase()+e.slice(1),Hu=e=>(e.$$typeof||e).toString().replace(/^Symbol\((.*)\)$/,"$1").split(".").map(t=>t.split("_").map(Xu).join("")).join(".");function Fr(e){if(Ge.isValidElement(e)){let t=Object.keys(e.props).reduce((r,n)=>(r[n]=Fr(e.props[n]),r),{});return{...e,props:t,_owner:null}}return Array.isArray(e)?e.map(Fr):e}var Qu=(e,t)=>{if(typeof e>"u")return _t.warn("Too many skip or undefined component"),null;let r=e,n=r.type;for(let u=0;u<(t==null?void 0:t.skip);u+=1){if(typeof r>"u")return _t.warn("Cannot skip undefined element"),null;if(ft.Children.count(r)>1)return _t.warn("Trying to skip an array of elements"),null;typeof r.props.children>"u"?(_t.warn("Not enough children to skip elements."),typeof r.type=="function"&&r.type.name===""&&(r=ft.createElement(n,{...r.props}))):typeof r.props.children=="function"?r=r.props.children():r=r.props.children}let s;typeof(t==null?void 0:t.displayName)=="string"?s={showFunctions:!0,displayName:()=>t.displayName}:s={displayName:u=>{var h;return u.type.displayName?u.type.displayName:Ur(u.type,"displayName")?Ur(u.type,"displayName"):(h=u.type.render)!=null&&h.displayName?u.type.render.displayName:typeof u.type=="symbol"||u.type.$$typeof&&typeof u.type.$$typeof=="symbol"?Hu(u.type):u.type.name&&u.type.name!=="_default"?u.type.name:typeof u.type=="function"?"No Display Name":ms(u.type)?u.type.render.name:Nn(u.type)?u.type.type.name:u.type}};let o={...s,filterProps:(u,h)=>u!==void 0,...t};return ft.Children.map(e,u=>{let h=typeof u=="number"?u.toString():u,p=(typeof ur=="function"?ur:ur.default)(Fr(h),o);if(p.indexOf(""")>-1){let m=p.match(/\S+=\\"([^"]*)\\"/g);m&&m.forEach(g=>{p=p.replace(g,g.replace(/"/g,"'"))})}return p}).join(` +`).replace(/function\s+noRefCheck\(\)\s*\{\}/g,"() => {}")},Yu={skip:0,showFunctions:!1,enableBeautify:!0,showDefaultProps:!1},Ku=e=>{var n;let t=(n=e==null?void 0:e.parameters.docs)==null?void 0:n.source,r=e==null?void 0:e.parameters.__isArgsStory;return(t==null?void 0:t.type)===Vr.DYNAMIC?!1:!r||(t==null?void 0:t.code)||(t==null?void 0:t.type)===Vr.CODE},Zu=e=>{var t,r;return((t=e.type)==null?void 0:t.displayName)==="MDXCreateElement"&&!!((r=e.props)!=null&&r.mdxType)},Zn=e=>{if(!Zu(e))return e;let{mdxType:t,originalType:r,children:n,...s}=e.props,o=[];return n&&(o=(Array.isArray(n)?n:[n]).map(Zn)),Ge.createElement(r,s,...o)},ei=(e,t)=>{var g,F;let r=_i.getChannel(),n=Ku(t),s="";Si(()=>{if(!n){let{id:A,unmappedArgs:C}=t;r.emit(Ci,{id:A,source:s,args:C})}});let o=e();if(n)return o;let u={...Yu,...(t==null?void 0:t.parameters.jsx)||{}},h=(F=(g=t==null?void 0:t.parameters.docs)==null?void 0:g.source)!=null&&F.excludeDecorators?t.originalStoryFn(t.args,t):o,p=Zn(h),m=Qu(p,u);return m&&(s=m),o},na=(e,t)=>{let r=t.findIndex(s=>s.originalFn===ei),n=r===-1?t:[...t.splice(r,1),...t];return xi(e,n)},ia={docs:{story:{inline:!0},extractArgTypes:Ju,extractComponentDescription:Di}},sa=[ei],ua=[Ai];export{na as applyDecorators,ua as argTypesEnhancers,sa as decorators,ia as parameters}; diff --git a/docs/assets/iframe-C46LtgJg.js b/docs/assets/iframe-C46LtgJg.js new file mode 100644 index 0000000..5abd02f --- /dev/null +++ b/docs/assets/iframe-C46LtgJg.js @@ -0,0 +1,199 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ActivityCalendar.stories-C9g7fSvG.js","./index-Dja51o-9.js","./index-CZMpeKRu.js","./index-D-TIQtLp.js","./index-BfiLiMku.js","./index-BwhLTrJS.js","./ActivityCalendar-CcM7Y7xD.css","./entry-preview-CQN1ic9T.js","./react--gDPKqWp.js","./entry-preview-docs-CNTsbYAb.js","./index-NOh9rqHv.js","./preview-iUmqt_lp.js","./index-ogSvIofg.js","./preview-DY_pW_WS.js","./preview-DFhThGZO.js","./preview-DarttgvO.js","./index-BQHE_i7f.js","./preview-CaOl57EN.css"])))=>i.map(i=>d[i]); +(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))o(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&o(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();const scriptRel="modulepreload",assetsURL=function(t,e){return new URL(t,e).href},seen={},__vitePreload=function(e,r,o){let a=Promise.resolve();if(r&&r.length>0){const i=document.getElementsByTagName("link"),u=document.querySelector("meta[property=csp-nonce]"),l=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));a=Promise.allSettled(r.map(c=>{if(c=assetsURL(c,o),c in seen)return;seen[c]=!0;const g=c.endsWith(".css"),p=g?'[rel="stylesheet"]':"";if(!!o)for(let S=i.length-1;S>=0;S--){const _=i[S];if(_.href===c&&(!g||_.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${p}`))return;const b=document.createElement("link");if(b.rel=g?"stylesheet":scriptRel,g||(b.as="script"),b.crossOrigin="",b.href=c,l&&b.setAttribute("nonce",l),document.head.appendChild(b),g)return new Promise((S,_)=>{b.addEventListener("load",S),b.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${c}`)))})}))}function s(i){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=i,window.dispatchEvent(u),!u.defaultPrevented)throw i}return a.then(i=>{for(const u of i||[])u.status==="rejected"&&s(u.reason);return e().catch(s)})};var Bi=Object.create,Wr=Object.defineProperty,Gi=Object.getOwnPropertyDescriptor,Vi=Object.getOwnPropertyNames,Hi=Object.getPrototypeOf,zi=Object.prototype.hasOwnProperty,n=(t,e)=>Wr(t,"name",{value:e,configurable:!0}),nr=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+t+'" is not supported')}),B=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ae=(t,e)=>{for(var r in e)Wr(t,r,{get:e[r],enumerable:!0})},Wi=(t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Vi(e))!zi.call(t,a)&&a!==r&&Wr(t,a,{get:()=>e[a],enumerable:!(o=Gi(e,a))||o.enumerable});return t},ue=(t,e,r)=>(r=t!=null?Bi(Hi(t)):{},Wi(Wr(r,"default",{value:t,enumerable:!0}),t)),Qr=B((t,e)=>{(function(r){if(typeof t=="object"&&typeof e<"u")e.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var o;typeof window<"u"?o=window:typeof global<"u"?o=global:typeof self<"u"?o=self:o=this,o.memoizerific=r()}})(function(){return n(function r(o,a,s){function i(c,g){if(!a[c]){if(!o[c]){var p=typeof nr=="function"&&nr;if(!g&&p)return p(c,!0);if(u)return u(c,!0);var h=new Error("Cannot find module '"+c+"'");throw h.code="MODULE_NOT_FOUND",h}var b=a[c]={exports:{}};o[c][0].call(b.exports,function(S){var _=o[c][1][S];return i(_||S)},b,b.exports,r,o,a,s)}return a[c].exports}n(i,"s");for(var u=typeof nr=="function"&&nr,l=0;l=0)return this.lastItem=this.list[u],this.list[u].val},s.prototype.set=function(i,u){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],this.list[l].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},s.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},s.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},s.prototype.forEach=function(i,u){var l;for(l=0;l0&&(m[v]={cacheItem:S,arg:arguments[v]},w?i(p,m):p.push(m),p.length>c&&u(p.shift())),b.wasMemoized=w,b.numArgs=v+1,A},"memoizerific");return b.limit=c,b.wasMemoized=!1,b.cache=g,b.lru=p,b}};function i(c,g){var p=c.length,h=g.length,b,S,_;for(S=0;S=0&&(p=c[b],h=p.cacheItem.get(p.arg),!h||!h.size);b--)p.cacheItem.delete(p.arg)}n(u,"removeCachedResult");function l(c,g){return c===g||c!==c&&g!==g}n(l,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),wn=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.encodeString=o;var e=Array.from({length:256},(a,s)=>"%"+((s<16?"0":"")+s.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function o(a){let s=a.length;if(s===0)return"";let i="",u=0,l=0;e:for(;l>6]+e[128|c&63];continue}if(c<55296||c>=57344){u=l+1,i+=e[224|c>>12]+e[128|c>>6&63]+e[128|c&63];continue}if(++l,l>=s)throw new Error("URI malformed");let g=a.charCodeAt(l)&1023;u=l+1,c=65536+((c&1023)<<10|g),i+=e[240|c>>18]+e[128|c>>12&63]+e[128|c>>6&63]+e[128|c&63]}return u===0?a:u{Object.defineProperty(t,"__esModule",{value:!0}),t.defaultOptions=t.defaultShouldSerializeObject=t.defaultValueSerializer=void 0;var e=wn(),r=n(s=>{switch(typeof s){case"string":return(0,e.encodeString)(s);case"bigint":case"boolean":return""+s;case"number":if(Number.isFinite(s))return s<1e21?""+s:(0,e.encodeString)(""+s);break}return s instanceof Date?(0,e.encodeString)(s.toISOString()):""},"defaultValueSerializer");t.defaultValueSerializer=r;var o=n(s=>s instanceof Date,"defaultShouldSerializeObject");t.defaultShouldSerializeObject=o;var a=n(s=>s,"identityFunc");t.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:a,valueSerializer:t.defaultValueSerializer,keyDeserializer:a,shouldSerializeObject:t.defaultShouldSerializeObject}}),Pn=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getDeepObject=a,t.stringifyObject=g;var e=Tt(),r=wn();function o(p){return p==="__proto__"||p==="constructor"||p==="prototype"}n(o,"isPrototypeKey");function a(p,h,b,S,_){if(o(h))return p;let A=p[h];return typeof A=="object"&&A!==null?A:!S&&(_||typeof b=="number"||typeof b=="string"&&b*0===0&&b.indexOf(".")===-1)?p[h]=[]:p[h]={}}n(a,"getDeepObject");var s=20,i="[]",u="[",l="]",c=".";function g(p,h,b=0,S,_){let{nestingSyntax:A=e.defaultOptions.nestingSyntax,arrayRepeat:v=e.defaultOptions.arrayRepeat,arrayRepeatSyntax:m=e.defaultOptions.arrayRepeatSyntax,nesting:w=e.defaultOptions.nesting,delimiter:C=e.defaultOptions.delimiter,valueSerializer:k=e.defaultOptions.valueSerializer,shouldSerializeObject:x=e.defaultOptions.shouldSerializeObject}=h,F=typeof C=="number"?String.fromCharCode(C):C,U=_===!0&&v,V=A==="dot"||A==="js"&&!_;if(b>s)return"";let M="",Y=!0,I=!1;for(let j in p){let d=p[j],y;S?(y=S,U?m==="bracket"&&(y+=i):V?(y+=c,y+=j):(y+=u,y+=j,y+=l)):y=j,Y||(M+=F),typeof d=="object"&&d!==null&&!x(d)?(I=d.pop!==void 0,(w||v&&I)&&(M+=g(d,h,b+1,y,I))):(M+=(0,r.encodeString)(y),M+="=",M+=k(d,j)),Y&&(Y=!1)}return M}n(g,"stringifyObject")}),Va=B((t,e)=>{var r=12,o=0,a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function s(l){var c=l.indexOf("%");if(c===-1)return l;for(var g=l.length,p="",h=0,b=0,S=c,_=r;c>-1&&c>10),56320+(b&1023)),b=0,h=c+3,c=S=l.indexOf("%",h);else{if(_===o)return null;if(c+=3,c{var e=t&&t.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(t,"__esModule",{value:!0}),t.numberValueDeserializer=t.numberKeyDeserializer=void 0,t.parse=g;var r=Pn(),o=Tt(),a=e(Va()),s=n(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");t.numberKeyDeserializer=s;var i=n(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");t.numberValueDeserializer=i;var u=/\+/g,l=n(function(){},"Empty");l.prototype=Object.create(null);function c(p,h,b,S,_){let A=p.substring(h,b);return S&&(A=A.replace(u," ")),_&&(A=(0,a.default)(A)||A),A}n(c,"computeKeySlice");function g(p,h){let{valueDeserializer:b=o.defaultOptions.valueDeserializer,keyDeserializer:S=o.defaultOptions.keyDeserializer,arrayRepeatSyntax:_=o.defaultOptions.arrayRepeatSyntax,nesting:A=o.defaultOptions.nesting,arrayRepeat:v=o.defaultOptions.arrayRepeat,nestingSyntax:m=o.defaultOptions.nestingSyntax,delimiter:w=o.defaultOptions.delimiter}=h??{},C=typeof w=="string"?w.charCodeAt(0):w,k=m==="js",x=new l;if(typeof p!="string")return x;let F=p.length,U="",V=-1,M=-1,Y=-1,I=x,j,d="",y="",E=!1,D=!1,T=!1,z=!1,te=!1,Q=!1,X=!1,re=0,ae=-1,se=-1,Re=-1;for(let ne=0;neV,X||(M=ne),Y!==M-1&&(y=c(p,Y+1,ae>-1?ae:M,T,E),d=S(y),j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,k&&te,k&&Q))),X||d!==""){X&&(U=p.slice(M+1,ne),z&&(U=U.replace(u," ")),D&&(U=(0,a.default)(U)||U));let xe=b(U,d);if(v){let Le=I[d];Le===void 0?ae>-1?I[d]=[xe]:I[d]=xe:Le.pop?Le.push(xe):I[d]=[Le,xe]}else I[d]=xe}U="",V=ne,M=ne,E=!1,D=!1,T=!1,z=!1,te=!1,Q=!1,ae=-1,Y=ne,I=x,j=void 0,d=""}else re===93?(v&&_==="bracket"&&Re===91&&(ae=se),A&&(m==="index"||k)&&M<=V&&(Y!==se&&(y=c(p,Y+1,ne,T,E),d=S(y),j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,void 0,k)),j=d,T=!1,E=!1),Y=ne,Q=!0,te=!1)):re===46?A&&(m==="dot"||k)&&M<=V&&(Y!==se&&(y=c(p,Y+1,ne,T,E),d=S(y),j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,k)),j=d,T=!1,E=!1),te=!0,Q=!1,Y=ne):re===91?A&&(m==="index"||k)&&M<=V&&(Y!==se&&(y=c(p,Y+1,ne,T,E),d=S(y),k&&j!==void 0&&(I=(0,r.getDeepObject)(I,j,d,k)),j=d,T=!1,E=!1,te=!1,Q=!0),Y=ne):re===61?M<=V?M=ne:D=!0:re===43?M>V?z=!0:T=!0:re===37&&(M>V?D=!0:E=!0);se=ne,Re=re}return x}n(g,"parse")}),Ya=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=r;var e=Pn();function r(o,a){if(o===null||typeof o!="object")return"";let s=a??{};return(0,e.stringifyObject)(o,s)}n(r,"stringify")}),At=B(t=>{var e=t&&t.__createBinding||(Object.create?function(s,i,u,l){l===void 0&&(l=u);var c=Object.getOwnPropertyDescriptor(i,u);(!c||("get"in c?!i.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:n(function(){return i[u]},"get")}),Object.defineProperty(s,l,c)}:function(s,i,u,l){l===void 0&&(l=u),s[l]=i[u]}),r=t&&t.__exportStar||function(s,i){for(var u in s)u!=="default"&&!Object.prototype.hasOwnProperty.call(i,u)&&e(i,s,u)};Object.defineProperty(t,"__esModule",{value:!0}),t.stringify=t.parse=void 0;var o=$a();Object.defineProperty(t,"parse",{enumerable:!0,get:n(function(){return o.parse},"get")});var a=Ya();Object.defineProperty(t,"stringify",{enumerable:!0,get:n(function(){return a.stringify},"get")}),r(Tt(),t)}),Nn=B((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"⁡",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"⁣",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:` +`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"​",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"‍",zwnj:"‌"}}),ri=B((t,e)=>{e.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),kn=B((t,e)=>{e.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),ti=B((t,e)=>{e.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),ni=B(t=>{var e=t&&t.__importDefault||function(s){return s&&s.__esModule?s:{default:s}};Object.defineProperty(t,"__esModule",{value:!0});var r=e(ti()),o=String.fromCodePoint||function(s){var i="";return s>65535&&(s-=65536,i+=String.fromCharCode(s>>>10&1023|55296),s=56320|s&1023),i+=String.fromCharCode(s),i};function a(s){return s>=55296&&s<=57343||s>1114111?"�":(s in r.default&&(s=r.default[s]),o(s))}n(a,"decodeCodePoint"),t.default=a}),jn=B(t=>{var e=t&&t.__importDefault||function(g){return g&&g.__esModule?g:{default:g}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var r=e(Nn()),o=e(ri()),a=e(kn()),s=e(ni()),i=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;t.decodeXML=u(a.default),t.decodeHTMLStrict=u(r.default);function u(g){var p=c(g);return function(h){return String(h).replace(i,p)}}n(u,"getStrictDecoder");var l=n(function(g,p){return g{var e=t&&t.__importDefault||function(m){return m&&m.__esModule?m:{default:m}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var r=e(kn()),o=l(r.default),a=c(o);t.encodeXML=v(o);var s=e(Nn()),i=l(s.default),u=c(i);t.encodeHTML=b(i,u),t.encodeNonAsciiHTML=v(i);function l(m){return Object.keys(m).sort().reduce(function(w,C){return w[m[C]]="&"+C+";",w},{})}n(l,"getInverseObj");function c(m){for(var w=[],C=[],k=0,x=Object.keys(m);k1?p(m):m.charCodeAt(0)).toString(16).toUpperCase()+";"}n(h,"singleCharReplacer");function b(m,w){return function(C){return C.replace(w,function(k){return m[k]}).replace(g,h)}}n(b,"getInverse");var S=new RegExp(a.source+"|"+g.source,"g");function _(m){return m.replace(S,h)}n(_,"escape"),t.escape=_;function A(m){return m.replace(a,h)}n(A,"escapeUTF8"),t.escapeUTF8=A;function v(m){return function(w){return w.replace(S,function(C){return m[C]||h(C)})}}n(v,"getASCIIEncoder")}),Si=B(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var e=jn(),r=qn();function o(l,c){return(!c||c<=0?e.decodeXML:e.decodeHTML)(l)}n(o,"decode"),t.decode=o;function a(l,c){return(!c||c<=0?e.decodeXML:e.decodeHTMLStrict)(l)}n(a,"decodeStrict"),t.decodeStrict=a;function s(l,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(l)}n(s,"encode"),t.encode=s;var i=qn();Object.defineProperty(t,"encodeXML",{enumerable:!0,get:n(function(){return i.encodeXML},"get")}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:n(function(){return i.encodeHTML},"get")}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:n(function(){return i.encodeNonAsciiHTML},"get")}),Object.defineProperty(t,"escape",{enumerable:!0,get:n(function(){return i.escape},"get")}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:n(function(){return i.escapeUTF8},"get")}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:n(function(){return i.encodeHTML},"get")}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:n(function(){return i.encodeHTML},"get")});var u=jn();Object.defineProperty(t,"decodeXML",{enumerable:!0,get:n(function(){return u.decodeXML},"get")}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:n(function(){return u.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:n(function(){return u.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:n(function(){return u.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:n(function(){return u.decodeHTML},"get")}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:n(function(){return u.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:n(function(){return u.decodeHTMLStrict},"get")}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:n(function(){return u.decodeXML},"get")})}),Ci=B((t,e)=>{function r(d,y){if(!(d instanceof y))throw new TypeError("Cannot call a class as a function")}n(r,"_classCallCheck");function o(d,y){for(var E=0;E=d.length?{done:!0}:{done:!1,value:d[D++]}},"n"),e:n(function(X){throw X},"e"),f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var z=!0,te=!1,Q;return{s:n(function(){E=E.call(d)},"s"),n:n(function(){var X=E.next();return z=X.done,X},"n"),e:n(function(X){te=!0,Q=X},"e"),f:n(function(){try{!z&&E.return!=null&&E.return()}finally{if(te)throw Q}},"f")}}n(s,"_createForOfIteratorHelper");function i(d,y){if(d){if(typeof d=="string")return u(d,y);var E=Object.prototype.toString.call(d).slice(8,-1);if(E==="Object"&&d.constructor&&(E=d.constructor.name),E==="Map"||E==="Set")return Array.from(d);if(E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E))return u(d,y)}}n(i,"_unsupportedIterableToArray");function u(d,y){(y==null||y>d.length)&&(y=d.length);for(var E=0,D=new Array(y);E0?d*40+55:0,te=y>0?y*40+55:0,Q=E>0?E*40+55:0;D[T]=b([z,te,Q])}n(p,"setStyleColor");function h(d){for(var y=d.toString(16);y.length<2;)y="0"+y;return y}n(h,"toHexString");function b(d){var y=[],E=s(d),D;try{for(E.s();!(D=E.n()).done;){var T=D.value;y.push(h(T))}}catch(z){E.e(z)}finally{E.f()}return"#"+y.join("")}n(b,"toColorHexString");function S(d,y,E,D){var T;return y==="text"?T=k(E,D):y==="display"?T=A(d,E,D):y==="xterm256Foreground"?T=U(d,D.colors[E]):y==="xterm256Background"?T=V(d,D.colors[E]):y==="rgb"&&(T=_(d,E)),T}n(S,"generateOutput");function _(d,y){y=y.substring(2).slice(0,-1);var E=+y.substr(0,2),D=y.substring(5).split(";"),T=D.map(function(z){return("0"+Number(z).toString(16)).substr(-2)}).join("");return F(d,(E===38?"color:#":"background-color:#")+T)}n(_,"handleRgb");function A(d,y,E){y=parseInt(y,10);var D={"-1":n(function(){return"
"},"_"),0:n(function(){return d.length&&v(d)},"_"),1:n(function(){return x(d,"b")},"_"),3:n(function(){return x(d,"i")},"_"),4:n(function(){return x(d,"u")},"_"),8:n(function(){return F(d,"display:none")},"_"),9:n(function(){return x(d,"strike")},"_"),22:n(function(){return F(d,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:n(function(){return M(d,"i")},"_"),24:n(function(){return M(d,"u")},"_"),39:n(function(){return U(d,E.fg)},"_"),49:n(function(){return V(d,E.bg)},"_"),53:n(function(){return F(d,"text-decoration:overline")},"_")},T;return D[y]?T=D[y]():4"}).join("")}n(v,"resetStyles");function m(d,y){for(var E=[],D=d;D<=y;D++)E.push(D);return E}n(m,"range");function w(d){return function(y){return(d===null||y.category!==d)&&d!=="all"}}n(w,"notCategory");function C(d){d=parseInt(d,10);var y=null;return d===0?y="all":d===1?y="bold":2")}n(x,"pushTag");function F(d,y){return x(d,"span",y)}n(F,"pushStyle");function U(d,y){return x(d,"span","color:"+y)}n(U,"pushForegroundColor");function V(d,y){return x(d,"span","background-color:"+y)}n(V,"pushBackgroundColor");function M(d,y){var E;if(d.slice(-1)[0]===y&&(E=d.pop()),E)return""}n(M,"closeTag");function Y(d,y,E){var D=!1,T=3;function z(){return""}n(z,"remove");function te(ie,de){return E("xterm256Foreground",de),""}n(te,"removeXterm256Foreground");function Q(ie,de){return E("xterm256Background",de),""}n(Q,"removeXterm256Background");function X(ie){return y.newline?E("display",-1):E("text",ie),""}n(X,"newline");function re(ie,de){D=!0,de.trim().length===0&&(de="0"),de=de.trimRight(";").split(";");var Me=s(de),_t;try{for(Me.s();!(_t=Me.n()).done;){var Ct=_t.value;E("display",Ct)}}catch(xt){Me.e(xt)}finally{Me.f()}return""}n(re,"ansiMess");function ae(ie){return E("text",ie),""}n(ae,"realText");function se(ie){return E("rgb",ie),""}n(se,"rgb");var Re=[{pattern:/^\x08+/,sub:z},{pattern:/^\x1b\[[012]?K/,sub:z},{pattern:/^\x1b\[\(B/,sub:z},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:se},{pattern:/^\x1b\[38;5;(\d+)m/,sub:te},{pattern:/^\x1b\[48;5;(\d+)m/,sub:Q},{pattern:/^\n/,sub:X},{pattern:/^\r+\n/,sub:X},{pattern:/^\r/,sub:X},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:re},{pattern:/^\x1b\[\d?J/,sub:z},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:z},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:z},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:ae}];function ne(ie,de){de>T&&D||(D=!1,d=d.replace(ie.pattern,ie.sub))}n(ne,"process");var xe=[],Le=d,ke=Le.length;e:for(;ke>0;){for(var Et=0,wt=0,Rt=Re.length;wt{(function(r,o){typeof t=="object"&&typeof e<"u"?e.exports=o():typeof define=="function"&&define.amd?define(o):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=o()})(t,function(){function r(l,c){for(var g=0;g1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),g=Number(l).toString().match(c);return g?g[0]:null},"n"),i=n(function(){return typeof window<"u"?window.navigator:null},"i"),u=function(){function l(h){var b;(function(S,_){if(!(S instanceof _))throw new TypeError("Cannot call a class as a function")})(this,l),this.userAgent=h||((b=i())===null||b===void 0?void 0:b.userAgent)||null}n(l,"t");var c,g,p;return c=l,g=[{key:"parseUserAgent",value:n(function(h){var b,S,_,A={},v=h||this.userAgent||"",m=v.toLowerCase().replace(/\s\s+/g," "),w=/(edge)\/([\w.]+)/.exec(m)||/(edg)[/]([\w.]+)/.exec(m)||/(opr)[/]([\w.]+)/.exec(m)||/(opt)[/]([\w.]+)/.exec(m)||/(fxios)[/]([\w.]+)/.exec(m)||/(edgios)[/]([\w.]+)/.exec(m)||/(jsdom)[/]([\w.]+)/.exec(m)||/(samsungbrowser)[/]([\w.]+)/.exec(m)||/(electron)[/]([\w.]+)/.exec(m)||/(chrome)[/]([\w.]+)/.exec(m)||/(crios)[/]([\w.]+)/.exec(m)||/(opios)[/]([\w.]+)/.exec(m)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(m)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(m)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(m)||/(webkit)[/]([\w.]+)/.exec(m)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(m)||/(msie) ([\w.]+)/.exec(m)||/(fennec)[/]([\w.]+)/.exec(m)||m.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(m)||m.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(m)||[],C=/(ipad)/.exec(m)||/(ipod)/.exec(m)||/(iphone)/.exec(m)||/(jsdom)/.exec(m)||/(windows phone)/.exec(m)||/(xbox)/.exec(m)||/(win)/.exec(m)||/(tablet)/.exec(m)||/(android)/.test(m)&&/(mobile)/.test(m)===!1&&["androidTablet"]||/(android)/.exec(m)||/(mac)/.exec(m)||/(linux)/.exec(m)||/(cros)/.exec(m)||[],k=w[5]||w[3]||w[1]||null,x=C[0]||null,F=w[4]||w[2]||null,U=i();k==="chrome"&&typeof(U==null||(b=U.brave)===null||b===void 0?void 0:b.isBrave)=="function"&&(k="brave"),k&&(A[k]=!0),x&&(A[x]=!0);var V=!!(A.tablet||A.android||A.androidTablet),M=!!(A.ipad||A.tablet||A.androidTablet),Y=!!(A.android||A.androidTablet||A.tablet||A.ipad||A.ipod||A.iphone||A["windows phone"]),I=!!(A.cros||A.mac||A.linux||A.win),j=!!(A.brave||A.chrome||A.crios||A.opr||A.safari||A.edg||A.electron),d=!!(A.msie||A.rv);return{name:(S=o[k])!==null&&S!==void 0?S:null,platform:(_=a[x])!==null&&_!==void 0?_:null,userAgent:v,version:F,shortVersion:F?s(parseFloat(F),2):null,isAndroid:V,isTablet:M,isMobile:Y,isDesktop:I,isWebkit:j,isIE:d}},"value")},{key:"getBrowserInfo",value:n(function(){var h=this.parseUserAgent();return{name:h.name,platform:h.platform,userAgent:h.userAgent,version:h.version,shortVersion:h.shortVersion}},"value")}],p=[{key:"VERSION",get:n(function(){return"3.4.0"},"get")}],g&&r(c.prototype,g),p&&r(c,p),Object.defineProperty(c,"prototype",{writable:!1}),l}();return u})}),Dt={};Ae(Dt,{global:()=>R});var R=(()=>{let t;return typeof window<"u"?t=window:typeof globalThis<"u"?t=globalThis:typeof global<"u"?t=global:typeof self<"u"?t=self:t={},t})(),fe={};Ae(fe,{ARGTYPES_INFO_REQUEST:()=>ro,ARGTYPES_INFO_RESPONSE:()=>Xr,CHANNEL_CREATED:()=>Yi,CHANNEL_WS_DISCONNECT:()=>kt,CONFIG_ERROR:()=>Lt,CREATE_NEW_STORYFILE_REQUEST:()=>Ki,CREATE_NEW_STORYFILE_RESPONSE:()=>Xi,CURRENT_STORY_WAS_SET:()=>$r,DOCS_PREPARED:()=>jt,DOCS_RENDERED:()=>sr,FILE_COMPONENT_SEARCH_REQUEST:()=>Ji,FILE_COMPONENT_SEARCH_RESPONSE:()=>Qi,FORCE_REMOUNT:()=>Mt,FORCE_RE_RENDER:()=>ar,GLOBALS_UPDATED:()=>_e,NAVIGATE_URL:()=>Zi,PLAY_FUNCTION_THREW_EXCEPTION:()=>qt,PRELOAD_ENTRIES:()=>Bt,PREVIEW_BUILDER_PROGRESS:()=>el,PREVIEW_KEYDOWN:()=>Gt,REGISTER_SUBSCRIPTION:()=>rl,REQUEST_WHATS_NEW_DATA:()=>dl,RESET_STORY_ARGS:()=>ir,RESULT_WHATS_NEW_DATA:()=>ul,SAVE_STORY_REQUEST:()=>ml,SAVE_STORY_RESPONSE:()=>hl,SELECT_STORY:()=>tl,SET_CONFIG:()=>ol,SET_CURRENT_STORY:()=>Vt,SET_FILTER:()=>nl,SET_GLOBALS:()=>Ht,SET_INDEX:()=>sl,SET_STORIES:()=>al,SET_WHATS_NEW_CACHE:()=>fl,SHARED_STATE_CHANGED:()=>il,SHARED_STATE_SET:()=>ll,STORIES_COLLAPSE_ALL:()=>cl,STORIES_EXPAND_ALL:()=>pl,STORY_ARGS_UPDATED:()=>zt,STORY_CHANGED:()=>Wt,STORY_ERRORED:()=>$t,STORY_FINISHED:()=>Kr,STORY_INDEX_INVALIDATED:()=>Yt,STORY_MISSING:()=>Yr,STORY_PREPARED:()=>Kt,STORY_RENDERED:()=>Be,STORY_RENDER_PHASE_CHANGED:()=>we,STORY_SPECIFIED:()=>Xt,STORY_THREW_EXCEPTION:()=>Jt,STORY_UNCHANGED:()=>Qt,TELEMETRY_ERROR:()=>eo,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>El,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>Rl,TESTING_MODULE_CONFIG_CHANGE:()=>Al,TESTING_MODULE_CRASH_REPORT:()=>gl,TESTING_MODULE_PROGRESS_REPORT:()=>Sl,TESTING_MODULE_RUN_ALL_REQUEST:()=>Tl,TESTING_MODULE_RUN_REQUEST:()=>bl,TESTING_MODULE_WATCH_MODE_REQUEST:()=>xl,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>yl,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Ut,UPDATE_GLOBALS:()=>lr,UPDATE_QUERY_PARAMS:()=>Zt,UPDATE_STORY_ARGS:()=>cr,default:()=>$i});var Nt=(t=>(t.CHANNEL_WS_DISCONNECT="channelWSDisconnect",t.CHANNEL_CREATED="channelCreated",t.CONFIG_ERROR="configError",t.STORY_INDEX_INVALIDATED="storyIndexInvalidated",t.STORY_SPECIFIED="storySpecified",t.SET_CONFIG="setConfig",t.SET_STORIES="setStories",t.SET_INDEX="setIndex",t.SET_CURRENT_STORY="setCurrentStory",t.CURRENT_STORY_WAS_SET="currentStoryWasSet",t.FORCE_RE_RENDER="forceReRender",t.FORCE_REMOUNT="forceRemount",t.PRELOAD_ENTRIES="preloadStories",t.STORY_PREPARED="storyPrepared",t.DOCS_PREPARED="docsPrepared",t.STORY_CHANGED="storyChanged",t.STORY_UNCHANGED="storyUnchanged",t.STORY_RENDERED="storyRendered",t.STORY_FINISHED="storyFinished",t.STORY_MISSING="storyMissing",t.STORY_ERRORED="storyErrored",t.STORY_THREW_EXCEPTION="storyThrewException",t.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",t.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",t.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",t.UPDATE_STORY_ARGS="updateStoryArgs",t.STORY_ARGS_UPDATED="storyArgsUpdated",t.RESET_STORY_ARGS="resetStoryArgs",t.SET_FILTER="setFilter",t.SET_GLOBALS="setGlobals",t.UPDATE_GLOBALS="updateGlobals",t.GLOBALS_UPDATED="globalsUpdated",t.REGISTER_SUBSCRIPTION="registerSubscription",t.PREVIEW_KEYDOWN="previewKeydown",t.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",t.SELECT_STORY="selectStory",t.STORIES_COLLAPSE_ALL="storiesCollapseAll",t.STORIES_EXPAND_ALL="storiesExpandAll",t.DOCS_RENDERED="docsRendered",t.SHARED_STATE_CHANGED="sharedStateChanged",t.SHARED_STATE_SET="sharedStateSet",t.NAVIGATE_URL="navigateUrl",t.UPDATE_QUERY_PARAMS="updateQueryParams",t.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",t.RESULT_WHATS_NEW_DATA="resultWhatsNewData",t.SET_WHATS_NEW_CACHE="setWhatsNewCache",t.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",t.TELEMETRY_ERROR="telemetryError",t.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",t.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",t.SAVE_STORY_REQUEST="saveStoryRequest",t.SAVE_STORY_RESPONSE="saveStoryResponse",t.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",t.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",t.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",t.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",t.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",t.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",t.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",t.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",t.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",t.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",t.TESTING_MODULE_CONFIG_CHANGE="testingModuleConfigChange",t))(Nt||{}),$i=Nt,{CHANNEL_WS_DISCONNECT:kt,CHANNEL_CREATED:Yi,CONFIG_ERROR:Lt,CREATE_NEW_STORYFILE_REQUEST:Ki,CREATE_NEW_STORYFILE_RESPONSE:Xi,CURRENT_STORY_WAS_SET:$r,DOCS_PREPARED:jt,DOCS_RENDERED:sr,FILE_COMPONENT_SEARCH_REQUEST:Ji,FILE_COMPONENT_SEARCH_RESPONSE:Qi,FORCE_RE_RENDER:ar,FORCE_REMOUNT:Mt,GLOBALS_UPDATED:_e,NAVIGATE_URL:Zi,PLAY_FUNCTION_THREW_EXCEPTION:qt,UNHANDLED_ERRORS_WHILE_PLAYING:Ut,PRELOAD_ENTRIES:Bt,PREVIEW_BUILDER_PROGRESS:el,PREVIEW_KEYDOWN:Gt,REGISTER_SUBSCRIPTION:rl,RESET_STORY_ARGS:ir,SELECT_STORY:tl,SET_CONFIG:ol,SET_CURRENT_STORY:Vt,SET_FILTER:nl,SET_GLOBALS:Ht,SET_INDEX:sl,SET_STORIES:al,SHARED_STATE_CHANGED:il,SHARED_STATE_SET:ll,STORIES_COLLAPSE_ALL:cl,STORIES_EXPAND_ALL:pl,STORY_ARGS_UPDATED:zt,STORY_CHANGED:Wt,STORY_ERRORED:$t,STORY_INDEX_INVALIDATED:Yt,STORY_MISSING:Yr,STORY_PREPARED:Kt,STORY_RENDER_PHASE_CHANGED:we,STORY_RENDERED:Be,STORY_FINISHED:Kr,STORY_SPECIFIED:Xt,STORY_THREW_EXCEPTION:Jt,STORY_UNCHANGED:Qt,UPDATE_GLOBALS:lr,UPDATE_QUERY_PARAMS:Zt,UPDATE_STORY_ARGS:cr,REQUEST_WHATS_NEW_DATA:dl,RESULT_WHATS_NEW_DATA:ul,SET_WHATS_NEW_CACHE:fl,TOGGLE_WHATS_NEW_NOTIFICATIONS:yl,TELEMETRY_ERROR:eo,SAVE_STORY_REQUEST:ml,SAVE_STORY_RESPONSE:hl,ARGTYPES_INFO_REQUEST:ro,ARGTYPES_INFO_RESPONSE:Xr,TESTING_MODULE_CRASH_REPORT:gl,TESTING_MODULE_PROGRESS_REPORT:Sl,TESTING_MODULE_RUN_REQUEST:bl,TESTING_MODULE_RUN_ALL_REQUEST:Tl,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:El,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:Rl,TESTING_MODULE_WATCH_MODE_REQUEST:xl,TESTING_MODULE_CONFIG_CHANGE:Al}=Nt,to={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/channels":"__STORYBOOK_MODULE_CHANNELS__","@storybook/core/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","@storybook/core/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","@storybook/core/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core-events/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","@storybook/core/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","@storybook/core/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","@storybook/types":"__STORYBOOK_MODULE_TYPES__","@storybook/core/types":"__STORYBOOK_MODULE_TYPES__"},Yn=Object.keys(to),yr={};Ae(yr,{Channel:()=>ye,PostMessageTransport:()=>$e,WebsocketTransport:()=>Ye,createBrowserChannel:()=>Ed,default:()=>Td});var _l=n(t=>t.transports!==void 0,"isMulti"),wl=n(()=>Math.random().toString(16).slice(2),"generateRandomId"),oo=class{constructor(e={}){this.sender=wl(),this.events={},this.data={},this.transports=[],this.isAsync=e.async||!1,_l(e)?(this.transports=e.transports||[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})):this.transports=e.transport?[e.transport]:[],this.transports.forEach(r=>{r.setHandler(o=>this.handleEvent(o))})}get hasTransport(){return this.transports.length>0}addListener(e,r){this.events[e]=this.events[e]||[],this.events[e].push(r)}emit(e,...r){let o={type:e,args:r,from:this.sender},a={};r.length>=1&&r[0]&&r[0].options&&(a=r[0].options);let s=n(()=>{this.transports.forEach(i=>{i.send(o,a)}),this.handleEvent(o)},"handler");this.isAsync?setImmediate(s):s()}last(e){return this.data[e]}eventNames(){return Object.keys(this.events)}listenerCount(e){let r=this.listeners(e);return r?r.length:0}listeners(e){return this.events[e]||void 0}once(e,r){let o=this.onceListener(e,r);this.addListener(e,o)}removeAllListeners(e){e?this.events[e]&&delete this.events[e]:this.events={}}removeListener(e,r){let o=this.listeners(e);o&&(this.events[e]=o.filter(a=>a!==r))}on(e,r){this.addListener(e,r)}off(e,r){this.removeListener(e,r)}handleEvent(e){let r=this.listeners(e.type);r&&r.length&&r.forEach(o=>{o.apply(e,e.args)}),this.data[e.type]=e.args}onceListener(e,r){let o=n((...a)=>(this.removeListener(e,o),r(...a)),"onceListener");return o}};n(oo,"Channel");var ye=oo,pr={};Ae(pr,{deprecate:()=>oe,logger:()=>O,once:()=>L,pretty:()=>K});var{LOGLEVEL:vl}=R,me={trace:1,debug:2,info:3,warn:4,error:5,silent:10},Pl=vl,Ge=me[Pl]||me.info,O={trace:n((t,...e)=>{Ge<=me.trace&&console.trace(t,...e)},"trace"),debug:n((t,...e)=>{Ge<=me.debug&&console.debug(t,...e)},"debug"),info:n((t,...e)=>{Ge<=me.info&&console.info(t,...e)},"info"),warn:n((t,...e)=>{Ge<=me.warn&&console.warn(t,...e)},"warn"),error:n((t,...e)=>{Ge<=me.error&&console.error(t,...e)},"error"),log:n((t,...e)=>{Ge(e,...r)=>{if(!no.has(e))return no.add(e),O[t](e,...r)},"once");L.clear=()=>no.clear();L.trace=L("trace");L.debug=L("debug");L.info=L("info");L.warn=L("warn");L.error=L("error");L.log=L("log");var oe=L("warn"),K=n(t=>(...e)=>{let r=[];if(e.length){let o=//gi,a=/<\/span>/gi,s;for(r.push(e[0].replace(o,"%c").replace(a,"%c"));s=o.exec(e[0]);)r.push(s[2]),r.push("");for(let i=1;in(function(){return e||(0,t[Xn(t)[0]])((e={exports:{}}).exports,e),e.exports},"__require"),"__commonJS"),Dl=n((t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Xn(e))!Fl.call(t,a)&&a!==r&&Kn(t,a,{get:n(()=>e[a],"get"),enumerable:!(o=Ol(e,a))||o.enumerable});return t},"__copyProps"),Jr=n((t,e,r)=>(r=t!=null?Cl(Il(t)):{},Dl(e||!t||!t.__esModule?Kn(r,"default",{value:t,enumerable:!0}):r,t)),"__toESM"),Nl=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],kl=["detail"];function Jn(t){let e=Nl.filter(r=>t[r]!==void 0).reduce((r,o)=>({...r,[o]:t[o]}),{});return t instanceof CustomEvent&&kl.filter(r=>t[r]!==void 0).forEach(r=>{e[r]=t[r]}),e}n(Jn,"extractEventHiddenProperties");var fs=ue(Qr()),ns=J({"node_modules/has-symbols/shams.js"(t,e){e.exports=n(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},o=Symbol("test"),a=Object(o);if(typeof o=="string"||Object.prototype.toString.call(o)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var s=42;r[o]=s;for(o in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==o||!Object.prototype.propertyIsEnumerable.call(r,o))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,o);if(u.value!==s||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),ss=J({"node_modules/has-symbols/index.js"(t,e){var r=typeof Symbol<"u"&&Symbol,o=ns();e.exports=n(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:o()},"hasNativeSymbols")}}),Ll=J({"node_modules/function-bind/implementation.js"(t,e){var r="Function.prototype.bind called on incompatible ",o=Array.prototype.slice,a=Object.prototype.toString,s="[object Function]";e.exports=n(function(i){var u=this;if(typeof u!="function"||a.call(u)!==s)throw new TypeError(r+u);for(var l=o.call(arguments,1),c,g=n(function(){if(this instanceof c){var _=u.apply(this,l.concat(o.call(arguments)));return Object(_)===_?_:this}else return u.apply(i,l.concat(o.call(arguments)))},"binder"),p=Math.max(0,u.length-l.length),h=[],b=0;b"u"?r:p(Uint8Array),S={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":g?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":g?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!g?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!g?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":g?p(""[Symbol.iterator]()):r,"%Symbol%":g?Symbol:r,"%SyntaxError%":o,"%ThrowTypeError%":c,"%TypedArray%":b,"%TypeError%":s,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},_=n(function I(j){var d;if(j==="%AsyncFunction%")d=i("async function () {}");else if(j==="%GeneratorFunction%")d=i("function* () {}");else if(j==="%AsyncGeneratorFunction%")d=i("async function* () {}");else if(j==="%AsyncGenerator%"){var y=I("%AsyncGeneratorFunction%");y&&(d=y.prototype)}else if(j==="%AsyncIteratorPrototype%"){var E=I("%AsyncGenerator%");E&&(d=p(E.prototype))}return S[j]=d,d},"doEval2"),A={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},v=io(),m=jl(),w=v.call(Function.call,Array.prototype.concat),C=v.call(Function.apply,Array.prototype.splice),k=v.call(Function.call,String.prototype.replace),x=v.call(Function.call,String.prototype.slice),F=v.call(Function.call,RegExp.prototype.exec),U=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,M=n(function(I){var j=x(I,0,1),d=x(I,-1);if(j==="%"&&d!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(d==="%"&&j!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var y=[];return k(I,U,function(E,D,T,z){y[y.length]=T?k(z,V,"$1"):D||E}),y},"stringToPath3"),Y=n(function(I,j){var d=I,y;if(m(A,d)&&(y=A[d],d="%"+y[0]+"%"),m(S,d)){var E=S[d];if(E===h&&(E=_(d)),typeof E>"u"&&!j)throw new s("intrinsic "+I+" exists, but is not available. Please file an issue!");return{alias:y,name:d,value:E}}throw new o("intrinsic "+I+" does not exist!")},"getBaseIntrinsic2");e.exports=n(function(I,j){if(typeof I!="string"||I.length===0)throw new s("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof j!="boolean")throw new s('"allowMissing" argument must be a boolean');if(F(/^%?[^%]*%?$/,I)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var d=M(I),y=d.length>0?d[0]:"",E=Y("%"+y+"%",j),D=E.name,T=E.value,z=!1,te=E.alias;te&&(y=te[0],C(d,w([0,1],te)));for(var Q=1,X=!0;Q=d.length){var Re=u(T,re);X=!!Re,X&&"get"in Re&&!("originalValue"in Re.get)?T=Re.get:T=T[re]}else X=m(T,re),T=T[re];X&&!z&&(S[D]=T)}}return T},"GetIntrinsic")}}),Ml=J({"node_modules/call-bind/index.js"(t,e){var r=io(),o=as(),a=o("%Function.prototype.apply%"),s=o("%Function.prototype.call%"),i=o("%Reflect.apply%",!0)||r.call(s,a),u=o("%Object.getOwnPropertyDescriptor%",!0),l=o("%Object.defineProperty%",!0),c=o("%Math.max%");if(l)try{l({},"a",{value:1})}catch{l=null}e.exports=n(function(p){var h=i(r,s,arguments);if(u&&l){var b=u(h,"length");b.configurable&&l(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h},"callBind");var g=n(function(){return i(r,a,arguments)},"applyBind2");l?l(e.exports,"apply",{value:g}):e.exports.apply=g}}),ql=J({"node_modules/call-bind/callBound.js"(t,e){var r=as(),o=Ml(),a=o(r("String.prototype.indexOf"));e.exports=n(function(s,i){var u=r(s,!!i);return typeof u=="function"&&a(s,".prototype.")>-1?o(u):u},"callBoundIntrinsic")}}),Ul=J({"node_modules/has-tostringtag/shams.js"(t,e){var r=ns();e.exports=n(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),Bl=J({"node_modules/is-regex/index.js"(t,e){var r=ql(),o=Ul()(),a,s,i,u;o&&(a=r("Object.prototype.hasOwnProperty"),s=r("RegExp.prototype.exec"),i={},l=n(function(){throw i},"throwRegexMarker"),u={toString:l,valueOf:l},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=l));var l,c=r("Object.prototype.toString"),g=Object.getOwnPropertyDescriptor,p="[object RegExp]";e.exports=n(o?function(h){if(!h||typeof h!="object")return!1;var b=g(h,"lastIndex"),S=b&&a(b,"value");if(!S)return!1;try{s(h,u)}catch(_){return _===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p},"isRegex")}}),Gl=J({"node_modules/is-function/index.js"(t,e){e.exports=o;var r=Object.prototype.toString;function o(a){if(!a)return!1;var s=r.call(a);return s==="[object Function]"||typeof a=="function"&&s!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}n(o,"isFunction3")}}),Vl=J({"node_modules/is-symbol/index.js"(t,e){var r=Object.prototype.toString,o=ss()();o?(a=Symbol.prototype.toString,s=/^Symbol\(.*\)$/,i=n(function(u){return typeof u.valueOf()!="symbol"?!1:s.test(a.call(u))},"isRealSymbolObject"),e.exports=n(function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}},"isSymbol3")):e.exports=n(function(u){return!1},"isSymbol3");var a,s,i}}),Hl=Jr(Bl()),zl=Jr(Gl()),Wl=Jr(Vl());function $l(t){return t!=null&&typeof t=="object"&&Array.isArray(t)===!1}n($l,"isObject");var Yl=typeof global=="object"&&global&&global.Object===Object&&global,Kl=Yl,Xl=typeof self=="object"&&self&&self.Object===Object&&self,Jl=Kl||Xl||Function("return this")(),lo=Jl,Ql=lo.Symbol,Ve=Ql,is=Object.prototype,Zl=is.hasOwnProperty,ec=is.toString,dr=Ve?Ve.toStringTag:void 0;function rc(t){var e=Zl.call(t,dr),r=t[dr];try{t[dr]=void 0;var o=!0}catch{}var a=ec.call(t);return o&&(e?t[dr]=r:delete t[dr]),a}n(rc,"getRawTag");var tc=rc,oc=Object.prototype,nc=oc.toString;function sc(t){return nc.call(t)}n(sc,"objectToString");var ac=sc,ic="[object Null]",lc="[object Undefined]",Zn=Ve?Ve.toStringTag:void 0;function cc(t){return t==null?t===void 0?lc:ic:Zn&&Zn in Object(t)?tc(t):ac(t)}n(cc,"baseGetTag");var ls=cc;function pc(t){return t!=null&&typeof t=="object"}n(pc,"isObjectLike");var dc=pc,uc="[object Symbol]";function fc(t){return typeof t=="symbol"||dc(t)&&ls(t)==uc}n(fc,"isSymbol");var co=fc;function yc(t,e){for(var r=-1,o=t==null?0:t.length,a=Array(o);++r-1}n(xp,"listCacheHas");var Ap=xp;function _p(t,e){var r=this.__data__,o=et(r,t);return o<0?(++this.size,r.push([t,e])):r[o][1]=e,this}n(_p,"listCacheSet");var wp=_p;function ze(t){var e=-1,r=t==null?0:t.length;for(this.clear();++e{let e=null,r=!1,o=!1,a=!1,s="";if(t.indexOf("//")>=0||t.indexOf("/*")>=0)for(let i=0;icd(t).replace(/\n\s*/g,"").trim()),dd=n(function(t,e){let r=e.slice(0,e.indexOf("{")),o=e.slice(e.indexOf("{"));if(r.includes("=>")||r.includes("function"))return e;let a=r;return a=a.replace(t,"function"),a+o},"convertShorthandMethods2"),ud=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,fr=n(t=>t.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function ys(t){if(!Zr(t))return t;let e=t,r=!1;return typeof Event<"u"&&t instanceof Event&&(e=Jn(e),r=!0),e=Object.keys(e).reduce((o,a)=>{try{e[a]&&e[a].toJSON,o[a]=e[a]}catch{r=!0}return o},{}),r?e:t}n(ys,"convertUnconventionalData");var fd=n(function(t){let e,r,o,a;return n(function(s,i){try{if(s==="")return a=[],e=new Map([[i,"[]"]]),r=new Map,o=[],i;let u=r.get(this)||this;for(;o.length&&u!==o[0];)o.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return t.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return ud.test(i)?t.allowDate?`_date_${i}`:void 0:i;if((0,Hl.default)(i))return t.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,zl.default)(i)){if(!t.allowFunction)return;let{name:c}=i,g=i.toString();return g.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${pd(dd(s,g))}`}if((0,Wl.default)(i)){if(!t.allowSymbol)return;let c=Symbol.keyFor(i);return c!==void 0?`_gsymbol_${c}`:`_symbol_${i.toString().slice(7,-1)}`}if(o.length>=t.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!t.allowClass)return;let l=e.get(i);if(!l){let c=Array.isArray(i)?i:ys(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&t.allowClass)try{Object.assign(c,{"_constructor-name_":i.constructor.name})}catch{}return a.push(s),o.unshift(c),e.set(i,JSON.stringify(a)),i!==c&&r.set(i,c),c}return`_duplicate_${l}`}catch{return}},"replace")},"replacer2"),yd=n(function reviver(options){let refs=[],root;return n(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:t,container:e,replacement:r})=>{let o=fr(r)?JSON.parse(r):r.split(".");o.length===0?e[t]=root:e[t]=ld(root,o)})),key==="_constructor-name_")return value;if(Zr(value)&&value.__isConvertedError__){let{message:t,...e}=value.errorProperties,r=new Error(t);return Object.assign(r,e),r}if(Zr(value)&&value["_constructor-name_"]&&options.allowFunction){let t=value["_constructor-name_"];if(t!=="Object"){let e=new Function(`return function ${t.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new e)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=n((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:n(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,t,e]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(e,t)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),ms={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},tt=n((t,e={})=>{let r={...ms,...e};return JSON.stringify(ys(t),fd(r),e.space)},"stringify"),md=n(()=>{let t=new Map;return n(function e(r){Zr(r)&&Object.entries(r).forEach(([o,a])=>{a==="_undefined_"?r[o]=void 0:t.get(a)||(t.set(a,!0),e(a))}),Array.isArray(r)&&r.forEach((o,a)=>{o==="_undefined_"?(t.set(o,!0),r[a]=void 0):t.get(o)||(t.set(o,!0),e(o))})},"mutateUndefined")},"mutator"),ot=n((t,e={})=>{let r={...ms,...e},o=JSON.parse(t,yd(r));return md()(o),o},"parse"),fo="Invariant failed";function le(t,e){if(!t)throw new Error(fo)}n(le,"invariant");var hs=n(t=>{let e=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...o]=e.filter(s=>{var l,c;try{return((l=s.contentWindow)==null?void 0:l.location.origin)===t.source.location.origin&&((c=s.contentWindow)==null?void 0:c.location.pathname)===t.source.location.pathname}catch{}try{return s.contentWindow===t.source}catch{}let i=s.getAttribute("src"),u;try{if(!i)return!1;({origin:u}=new URL(i,document.location.toString()))}catch{return!1}return u===t.origin}),a=r==null?void 0:r.getAttribute("src");if(a&&o.length===0){let{protocol:s,host:i,pathname:u}=new URL(a,document.location.toString());return`${s}//${i}${u}`}return o.length>0&&O.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:yo,location:mo}=R,gs="storybook-channel",gd={allowFunction:!1,maxDepth:25},ho=class{constructor(e){if(this.config=e,this.connected=!1,this.buffer=[],typeof(R==null?void 0:R.addEventListener)=="function"&&R.addEventListener("message",this.handleEvent.bind(this),!1),e.page!=="manager"&&e.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${e.page}"`)}setHandler(e){this.handler=(...r)=>{e.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(e,r){let{target:o,allowRegExp:a,allowFunction:s,allowSymbol:i,allowDate:u,allowError:l,allowUndefined:c,allowClass:g,maxDepth:p,space:h,lazyEval:b}=r||{},S=Object.fromEntries(Object.entries({allowRegExp:a,allowFunction:s,allowSymbol:i,allowDate:u,allowError:l,allowUndefined:c,allowClass:g,maxDepth:p,space:h,lazyEval:b}).filter(([w,C])=>typeof C<"u")),_={...gd,...R.CHANNEL_OPTIONS||{},...S},A=this.getFrames(o),v=new URLSearchParams((mo==null?void 0:mo.search)||""),m=tt({key:gs,event:e,refId:v.get("refId")},_);return A.length?(this.buffer.length&&this.flush(),A.forEach(w=>{try{w.postMessage(m,"*")}catch{O.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((w,C)=>{this.buffer.push({event:e,resolve:w,reject:C})})}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(e){if(this.config.page==="manager"){let r=Array.from(yo.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(o=>{try{return o.contentWindow&&o.dataset.isStorybook!==void 0&&o.id===e?[o.contentWindow]:[]}catch{return[]}});return r!=null&&r.length?r:this.getCurrentFrames()}return R&&R.parent&&R.parent!==R.self?[R.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(yo.querySelectorAll('[data-is-storybook="true"]')).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):R&&R.parent?[R.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(yo.querySelectorAll("#storybook-preview-iframe")).flatMap(e=>e.contentWindow?[e.contentWindow]:[]):R&&R.parent?[R.parent]:[]}handleEvent(e){try{let{data:r}=e,{key:o,event:a,refId:s}=typeof r=="string"&&fr(r)?ot(r,R.CHANNEL_OPTIONS||{}):r;if(o===gs){let i=this.config.page==="manager"?' manager ':' preview ',u=Object.values(fe).includes(a.type)?`${a.type}`:`${a.type}`;if(s&&(a.refId=s),a.source=this.config.page==="preview"?e.origin:hs(e),!a.source){K.error(`${i} received ${u} but was unable to determine the source of the event`);return}let l=`${i} received ${u} (${r.length})`;K.debug(mo.origin!==a.source?l:`${l} (on ${mo.origin} from ${a.source})`,...a.args),le(this.handler,"ChannelHandler should be set"),this.handler(a)}}catch(r){O.error(r)}}};n(ho,"PostMessageTransport");var $e=ho,{WebSocket:Sd}=R,go=class{constructor({url:e,onError:r,page:o}){this.buffer=[],this.isReady=!1,this.socket=new Sd(e),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:a})=>{let s=typeof a=="string"&&fr(a)?ot(a):a;le(this.handler),this.handler(s)},this.socket.onerror=a=>{r&&r(a)},this.socket.onclose=()=>{le(this.handler),this.handler({type:kt,args:[],from:o||"preview"})}}setHandler(e){this.handler=e}send(e){this.isReady?this.sendNow(e):this.sendLater(e)}sendLater(e){this.buffer.push(e)}sendNow(e){let r=tt(e,{maxDepth:15,allowFunction:!1,...R.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:e}=this;this.buffer=[],e.forEach(r=>this.send(r))}};n(go,"WebsocketTransport");var Ye=go,{CONFIG_TYPE:bd}=R,Td=ye;function Ed({page:t,extraTransports:e=[]}){let r=[new $e({page:t}),...e];if(bd==="DEVELOPMENT"){let o=window.location.protocol==="http:"?"ws":"wss",{hostname:a,port:s}=window.location,i=`${o}://${a}:${s}/storybook-server-channel`;r.push(new Ye({url:i,onError:n(()=>{},"onError"),page:t}))}return new ye({transports:r})}n(Ed,"createBrowserChannel");var mr={};Ae(mr,{Addon_TypesEnum:()=>Ss});var Ss=(t=>(t.TAB="tab",t.PANEL="panel",t.TOOL="tool",t.TOOLEXTRA="toolextra",t.PREVIEW="preview",t.experimental_PAGE="page",t.experimental_SIDEBAR_BOTTOM="sidebar-bottom",t.experimental_SIDEBAR_TOP="sidebar-top",t.experimental_TEST_PROVIDER="test-provider",t))(Ss||{}),Ur={};Ae(Ur,{DocsContext:()=>pe,HooksContext:()=>he,Preview:()=>De,PreviewWeb:()=>Mr,PreviewWithSelection:()=>Ne,ReporterAPI:()=>Se,StoryStore:()=>Ie,UrlStore:()=>je,WebView:()=>qe,addons:()=>Z,applyHooks:()=>st,combineArgs:()=>Je,combineParameters:()=>$,composeConfigs:()=>Oe,composeStepRunners:()=>St,composeStories:()=>wa,composeStory:()=>yn,createPlaywrightTest:()=>va,decorateStory:()=>cn,defaultDecorateStory:()=>mt,filterArgTypes:()=>Cr,inferControls:()=>rr,makeDecorator:()=>Is,mockChannel:()=>nt,normalizeStory:()=>Ze,prepareMeta:()=>ht,prepareStory:()=>er,sanitizeStoryContextUpdate:()=>pn,setDefaultProjectAnnotations:()=>Aa,setProjectAnnotations:()=>_a,simulateDOMContentLoaded:()=>qr,simulatePageLoad:()=>Hn,sortStoriesV7:()=>Na,useArgs:()=>Cs,useCallback:()=>Ke,useChannel:()=>vs,useEffect:()=>Ao,useGlobals:()=>Os,useMemo:()=>Es,useParameter:()=>Ps,useReducer:()=>ws,useRef:()=>xs,useState:()=>_s,useStoryContext:()=>hr,userOrAutoTitle:()=>Ia,userOrAutoTitleFromSpecifier:()=>gn});function nt(){let t={setHandler:n(()=>{},"setHandler"),send:n(()=>{},"send")};return new ye({transport:t})}n(nt,"mockChannel");var To=class{constructor(){this.getChannel=n(()=>{if(!this.channel){let e=nt();return this.setChannel(e),e}return this.channel},"getChannel"),this.ready=n(()=>this.promise,"ready"),this.hasChannel=n(()=>!!this.channel,"hasChannel"),this.setChannel=n(e=>{this.channel=e,this.resolve()},"setChannel"),this.promise=new Promise(e=>{this.resolve=()=>e(this.getChannel())})}};n(To,"AddonStore");var bo=To,So="__STORYBOOK_ADDONS_PREVIEW";function Rd(){return R[So]||(R[So]=new bo),R[So]}n(Rd,"getAddonsStore");var Z=Rd(),_o=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=n(e=>{var r;e===((r=this.currentContext)==null?void 0:r.id)&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(e=>{e.destroy&&e.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let e=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,e}triggerEffects(){this.prevEffects.forEach(e=>{!this.currentEffects.includes(e)&&e.destroy&&e.destroy()}),this.currentEffects.forEach(e=>{this.prevEffects.includes(e)||(e.destroy=e.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Z.getChannel().on(Be,this.renderListener)}removeRenderListeners(){Z.getChannel().removeListener(Be,this.renderListener)}};n(_o,"HooksContext");var he=_o;function bs(t){let e=n((...r)=>{let{hooks:o}=typeof r[0]=="function"?r[1]:r[0],a=o.currentPhase,s=o.currentHooks,i=o.nextHookIndex,u=o.currentDecoratorName;o.currentDecoratorName=t.name,o.prevMountedDecorators.has(t)?(o.currentPhase="UPDATE",o.currentHooks=o.hookListsMap.get(t)||[]):(o.currentPhase="MOUNT",o.currentHooks=[],o.hookListsMap.set(t,o.currentHooks),o.prevMountedDecorators.add(t)),o.nextHookIndex=0;let l=R.STORYBOOK_HOOKS_CONTEXT;R.STORYBOOK_HOOKS_CONTEXT=o;let c=t(...r);if(R.STORYBOOK_HOOKS_CONTEXT=l,o.currentPhase==="UPDATE"&&o.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return o.currentPhase=a,o.currentHooks=s,o.nextHookIndex=i,o.currentDecoratorName=u,c},"hookified");return e.originalFn=t,e}n(bs,"hookify");var Eo=0,xd=25,st=n(t=>(e,r)=>{let o=t(bs(e),r.map(a=>bs(a)));return a=>{let{hooks:s}=a;s.prevMountedDecorators??(s.prevMountedDecorators=new Set),s.mountedDecorators=new Set([e,...r]),s.currentContext=a,s.hasUpdates=!1;let i=o(a);for(Eo=1;s.hasUpdates;)if(s.hasUpdates=!1,s.currentEffects=[],i=o(a),Eo+=1,Eo>xd)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return s.addRenderListeners(),i}},"applyHooks"),Ad=n((t,e)=>t.length===e.length&&t.every((r,o)=>r===e[o]),"areDepsEqual"),Ro=n(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Ts(){return R.STORYBOOK_HOOKS_CONTEXT||null}n(Ts,"getHooksContextOrNull");function xo(){let t=Ts();if(t==null)throw Ro();return t}n(xo,"getHooksContextOrThrow");function _d(t,e,r){let o=xo();if(o.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&O.warn(`${t} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let a={name:t,deps:r};return o.currentHooks.push(a),e(a),a}if(o.currentPhase==="UPDATE"){let a=o.getNextHook();if(a==null)throw new Error("Rendered more hooks than during the previous render.");return a.name!==t&&O.warn(`Storybook has detected a change in the order of Hooks${o.currentDecoratorName?` called by ${o.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&a.deps==null&&O.warn(`${t} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&a.deps!=null&&r.length!==a.deps.length&&O.warn(`The final argument passed to ${t} changed size between renders. The order and size of this array must remain constant. +Previous: ${a.deps} +Incoming: ${r}`),(r==null||a.deps==null||!Ad(r,a.deps))&&(e(a),a.deps=r),a}throw Ro()}n(_d,"useHook");function at(t,e,r){let{memoizedState:o}=_d(t,a=>{a.memoizedState=e()},r);return o}n(at,"useMemoLike");function Es(t,e){return at("useMemo",t,e)}n(Es,"useMemo");function Ke(t,e){return at("useCallback",()=>t,e)}n(Ke,"useCallback");function Rs(t,e){return at(t,()=>({current:e}),[])}n(Rs,"useRefLike");function xs(t){return Rs("useRef",t)}n(xs,"useRef");function wd(){let t=Ts();if(t!=null&&t.currentPhase!=="NONE")t.hasUpdates=!0;else try{Z.getChannel().emit(ar)}catch{O.warn("State updates of Storybook preview hooks work only in browser")}}n(wd,"triggerUpdate");function As(t,e){let r=Rs(t,typeof e=="function"?e():e),o=n(a=>{r.current=typeof a=="function"?a(r.current):a,wd()},"setState");return[r.current,o]}n(As,"useStateLike");function _s(t){return As("useState",t)}n(_s,"useState");function ws(t,e,r){let o=r!=null?()=>r(e):e,[a,s]=As("useReducer",o);return[a,n(i=>s(u=>t(u,i)),"dispatch")]}n(ws,"useReducer");function Ao(t,e){let r=xo(),o=at("useEffect",()=>({create:t}),e);r.currentEffects.includes(o)||r.currentEffects.push(o)}n(Ao,"useEffect");function vs(t,e=[]){let r=Z.getChannel();return Ao(()=>(Object.entries(t).forEach(([o,a])=>r.on(o,a)),()=>{Object.entries(t).forEach(([o,a])=>r.removeListener(o,a))}),[...Object.keys(t),...e]),Ke(r.emit.bind(r),[r])}n(vs,"useChannel");function hr(){let{currentContext:t}=xo();if(t==null)throw Ro();return t}n(hr,"useStoryContext");function Ps(t,e){let{parameters:r}=hr();if(t)return r[t]??e}n(Ps,"useParameter");function Cs(){let t=Z.getChannel(),{id:e,args:r}=hr(),o=Ke(s=>t.emit(cr,{storyId:e,updatedArgs:s}),[t,e]),a=Ke(s=>t.emit(ir,{storyId:e,argNames:s}),[t,e]);return[r,o,a]}n(Cs,"useArgs");function Os(){let t=Z.getChannel(),{globals:e}=hr(),r=Ke(o=>t.emit(lr,{globals:o}),[t]);return[e,r]}n(Os,"useGlobals");var Is=n(({name:t,parameterName:e,wrapper:r,skipIfNoParametersOrOptions:o=!1})=>{let a=n(s=>(i,u)=>{let l=u.parameters&&u.parameters[e];return l&&l.disable||o&&!s&&!l?i(u):r(i,u,{options:s,parameters:l})},"decorator");return(...s)=>typeof s[0]=="function"?a()(...s):(...i)=>{if(i.length>1)return s.length>1?a(s)(...i):a(...s)(...i);throw new Error(`Passing stories directly into ${t}() is not allowed, + instead use addDecorator(${t}) and pass options with the '${e}' parameter`)}},"makeDecorator"),Pr={};Ae(Pr,{CalledExtractOnStoreError:()=>Sr,CalledPreviewMethodBeforeInitializationError:()=>G,Category:()=>Ds,EmptyIndexError:()=>Rr,ImplicitActionsDuringRendering:()=>wo,MdxFileWithNoCsfReferencesError:()=>Er,MissingRenderToCanvasError:()=>br,MissingStoryAfterHmrError:()=>gr,MissingStoryFromCsfFileError:()=>Ar,MountMustBeDestructuredError:()=>ve,NextJsSharpError:()=>vo,NextjsRouterMocksNotAvailable:()=>Po,NoRenderFunctionError:()=>wr,NoStoryMatchError:()=>xr,NoStoryMountedError:()=>vr,StoryIndexFetchError:()=>Tr,StoryStoreAccessedBeforeInitializationError:()=>_r,UnknownArgTypesError:()=>Co,UnsupportedViewportDimensionError:()=>Oo});function P(t){for(var e=[],r=1;r` - ${i}`).join(` +`)}`),`${a}${s!=null?` + +More info: ${s} +`:""}`}};n(it,"StorybookError");var q=it,Ds=(t=>(t.BLOCKS="BLOCKS",t.DOCS_TOOLS="DOCS-TOOLS",t.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",t.PREVIEW_CHANNELS="PREVIEW_CHANNELS",t.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",t.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",t.PREVIEW_API="PREVIEW_API",t.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",t.PREVIEW_ROUTER="PREVIEW_ROUTER",t.PREVIEW_THEMING="PREVIEW_THEMING",t.RENDERER_HTML="RENDERER_HTML",t.RENDERER_PREACT="RENDERER_PREACT",t.RENDERER_REACT="RENDERER_REACT",t.RENDERER_SERVER="RENDERER_SERVER",t.RENDERER_SVELTE="RENDERER_SVELTE",t.RENDERER_VUE="RENDERER_VUE",t.RENDERER_VUE3="RENDERER_VUE3",t.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",t.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",t.ADDON_VITEST="ADDON_VITEST",t))(Ds||{}),Io=class extends q{constructor(e){super({category:"PREVIEW_API",code:1,message:P` + Couldn't find story matching id '${e.storyId}' after HMR. + - Did you just rename a story? + - Did you remove it from your CSF file? + - Are you sure a story with the id '${e.storyId}' exists? + - Please check the values in the stories field of your main.js config and see if they would match your CSF File. + - Also check the browser console and terminal for potential error messages.`}),this.data=e}};n(Io,"MissingStoryAfterHmrError");var gr=Io,Fo=class extends q{constructor(e){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:P` + We detected that you use an implicit action arg while ${e.phase} of your story. + ${e.deprecated?` +This is deprecated and won't work in Storybook 8 anymore. +`:""} + Please provide an explicit spy to your args like this: + import { fn } from '@storybook/test'; + ... + args: { + ${e.name}: fn() + }`}),this.data=e}};n(Fo,"ImplicitActionsDuringRendering");var wo=Fo,Do=class extends q{constructor(){super({category:"PREVIEW_API",code:3,message:P` + Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first. + + You probably meant to call \`await preview.extract()\` which does the above for you.`})}};n(Do,"CalledExtractOnStoreError");var Sr=Do,No=class extends q{constructor(){super({category:"PREVIEW_API",code:4,message:P` + Expected your framework's preset to export a \`renderToCanvas\` field. + + Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};n(No,"MissingRenderToCanvasError");var br=No,ko=class extends q{constructor(e){super({category:"PREVIEW_API",code:5,message:P` + Called \`Preview.${e.methodName}()\` before initialization. + + The preview needs to load the story index before most methods can be called. If you want + to call \`${e.methodName}\`, try \`await preview.initializationPromise;\` first. + + If you didn't call the above code, then likely it was called by an addon that needs to + do the above.`}),this.data=e}};n(ko,"CalledPreviewMethodBeforeInitializationError");var G=ko,Lo=class extends q{constructor(e){super({category:"PREVIEW_API",code:6,message:P` + Error fetching \`/index.json\`: + + ${e.text} + + If you are in development, this likely indicates a problem with your Storybook process, + check the terminal for errors. + + If you are in a deployed Storybook, there may have been an issue deploying the full Storybook + build.`}),this.data=e}};n(Lo,"StoryIndexFetchError");var Tr=Lo,jo=class extends q{constructor(e){super({category:"PREVIEW_API",code:7,message:P` + Tried to render docs entry ${e.storyId} but it is a MDX file that has no CSF + references, or autodocs for a CSF file that some doesn't refer to itself. + + This likely is an internal error in Storybook's indexing, or you've attached the + \`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=e}};n(jo,"MdxFileWithNoCsfReferencesError");var Er=jo,Mo=class extends q{constructor(){super({category:"PREVIEW_API",code:8,message:P` + Couldn't find any stories in your Storybook. + + - Please check your stories field of your main.js config: does it match correctly? + - Also check the browser console and terminal for error messages.`})}};n(Mo,"EmptyIndexError");var Rr=Mo,qo=class extends q{constructor(e){super({category:"PREVIEW_API",code:9,message:P` + Couldn't find story matching '${e.storySpecifier}'. + + - Are you sure a story with that id exists? + - Please check your stories field of your main.js config. + - Also check the browser console and terminal for error messages.`}),this.data=e}};n(qo,"NoStoryMatchError");var xr=qo,Uo=class extends q{constructor(e){super({category:"PREVIEW_API",code:10,message:P` + Couldn't find story matching id '${e.storyId}' after importing a CSF file. + + The file was indexed as if the story was there, but then after importing the file in the browser + we didn't find the story. Possible reasons: + - You are using a custom story indexer that is misbehaving. + - You have a custom file loader that is removing or renaming exports. + + Please check your browser console and terminal for errors that may explain the issue.`}),this.data=e}};n(Uo,"MissingStoryFromCsfFileError");var Ar=Uo,Bo=class extends q{constructor(){super({category:"PREVIEW_API",code:11,message:P` + Cannot access the Story Store until the index is ready. + + It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will + remove access to the store entirely`})}};n(Bo,"StoryStoreAccessedBeforeInitializationError");var _r=Bo,Go=class extends q{constructor(e){super({category:"PREVIEW_API",code:12,message:P` + Incorrect use of mount in the play function. + + To use mount in the play function, you must satisfy the following two requirements: + + 1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function). + This makes sure that Storybook does not start rendering the story before the play function begins. + + 2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer. + This is because destructuring statements and async/await usages are otherwise transpiled away, + which prevents Storybook from recognizing your usage of \`mount\`. + + Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill. + + More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered + + Received the following play function: + ${e.playFunction}`}),this.data=e}};n(Go,"MountMustBeDestructuredError");var ve=Go,Vo=class extends q{constructor(e){super({category:"PREVIEW_API",code:14,message:P` + No render function available for storyId '${e.id}' + `}),this.data=e}};n(Vo,"NoRenderFunctionError");var wr=Vo,Ho=class extends q{constructor(){super({category:"PREVIEW_API",code:15,message:P` + No component is mounted in your story. + + This usually occurs when you destructure mount in the play function, but forget to call it. + + For example: + + async play({ mount, canvasElement }) { + // 👈 mount should be called: await mount(); + const canvas = within(canvasElement); + const button = await canvas.findByRole('button'); + await userEvent.click(button); + }; + + Make sure to either remove it or call mount in your play function. + `})}};n(Ho,"NoStoryMountedError");var vr=Ho,zo=class extends q{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:P` + You are importing avif images, but you don't have sharp installed. + + You have to install sharp in order to use image optimization features in Next.js. + `})}};n(zo,"NextJsSharpError");var vo=zo,Wo=class extends q{constructor(e){super({category:"FRAMEWORK_NEXTJS",code:2,message:P` + Tried to access router mocks from "${e.importType}" but they were not created yet. You might be running code in an unsupported environment. + `}),this.data=e}};n(Wo,"NextjsRouterMocksNotAvailable");var Po=Wo,$o=class extends q{constructor(e){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:P` + There was a failure when generating detailed ArgTypes in ${e.language} for: + ${JSON.stringify(e.type,null,2)} + + Storybook will fall back to use a generic type description instead. + + This type is either not supported or it is a bug in the docgen generation in Storybook. + If you think this is a bug, please detail it as much as possible in the Github issue. + `}),this.data=e}};n($o,"UnknownArgTypesError");var Co=$o,Yo=class extends q{constructor(e){super({category:"ADDON_VITEST",code:1,message:P` + Encountered an unsupported value "${e.value}" when setting the viewport ${e.dimension} dimension. + + The Storybook plugin only supports values in the following units: + - px, vh, vw, em, rem and %. + + You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags + `}),this.data=e}};n(Yo,"UnsupportedViewportDimensionError");var Oo=Yo;function Ko(t,e){let r={},o=Object.entries(t);for(let a=0;aObject.prototype.propertyIsEnumerable.call(t,e))}n(Zo,"getSymbols");function en(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}n(en,"getTag");function rn(t,e){if(typeof t==typeof e)switch(typeof t){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return t===e;case"number":return t===e||Object.is(t,e);case"function":return t===e;case"object":return ce(t,e)}return ce(t,e)}n(rn,"isEqual");function ce(t,e,r){if(Object.is(t,e))return!0;let o=en(t),a=en(e);if(o===Qo&&(o=lt),a===Qo&&(a=lt),o!==a)return!1;switch(o){case ks:return t.toString()===e.toString();case Ls:{let u=t.valueOf(),l=e.valueOf();return u===l||Number.isNaN(u)&&Number.isNaN(l)}case js:case qs:case Ms:return Object.is(t.valueOf(),e.valueOf());case Ns:return t.source===e.source&&t.flags===e.flags;case Vs:return t===e}r=r??new Map;let s=r.get(t),i=r.get(e);if(s!=null&&i!=null)return s===e;r.set(t,e),r.set(e,t);try{switch(o){case Us:{if(t.size!==e.size)return!1;for(let[u,l]of t.entries())if(!e.has(u)||!ce(l,e.get(u),r))return!1;return!0}case Bs:{if(t.size!==e.size)return!1;let u=Array.from(t.values()),l=Array.from(e.values());for(let c=0;cce(g,h,r));if(p===-1)return!1;l.splice(p,1)}return!0}case Gs:case $s:case Ys:case Ks:case Xs:case Js:case Qs:case Zs:case ea:case ra:case ta:case oa:{if(typeof Buffer<"u"&&Buffer.isBuffer(t)!==Buffer.isBuffer(e)||t.length!==e.length)return!1;for(let u=0;u{let r=e.type;if(t==null||!r||e.mapping)return t;switch(r.name){case"string":return String(t);case"enum":return t;case"number":return Number(t);case"boolean":return String(t)==="true";case"array":return!r.value||!Array.isArray(t)?Xe:t.reduce((o,a,s)=>{let i=tn(a,{type:r.value});return i!==Xe&&(o[s]=i),o},new Array(t.length));case"object":return typeof t=="string"||typeof t=="number"?t:!r.value||typeof t!="object"?Xe:Object.entries(t).reduce((o,[a,s])=>{let i=tn(s,{type:r.value[a]});return i===Xe?o:Object.assign(o,{[a]:i})},{});default:return Xe}},"map"),na=n((t,e)=>Object.entries(t).reduce((r,[o,a])=>{if(!e[o])return r;let s=tn(a,e[o]);return s===Xe?r:Object.assign(r,{[o]:s})},{}),"mapArgsToTypes"),Je=n((t,e)=>Array.isArray(t)&&Array.isArray(e)?e.reduce((r,o,a)=>(r[a]=Je(t[a],e[a]),r),[...t]).filter(r=>r!==void 0):!W(t)||!W(e)?e:Object.keys({...t,...e}).reduce((r,o)=>{if(o in e){let a=Je(t[o],e[o]);a!==void 0&&(r[o]=a)}else r[o]=t[o];return r},{}),"combineArgs"),sa=n((t,e)=>Object.entries(e).reduce((r,[o,{options:a}])=>{function s(){return o in t&&(r[o]=t[o]),r}if(n(s,"allowArg"),!a)return s();if(!Array.isArray(a))return L.error(P` + Invalid argType: '${o}.options' should be an array. + + More info: https://storybook.js.org/docs/api/arg-types + `),s();if(a.some(p=>p&&["object","function"].includes(typeof p)))return L.error(P` + Invalid argType: '${o}.options' should only contain primitives. Use a 'mapping' for complex values. + + More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + `),s();let i=Array.isArray(t[o]),u=i&&t[o].findIndex(p=>!a.includes(p)),l=i&&u===-1;if(t[o]===void 0||a.includes(t[o])||l)return s();let c=i?`${o}[${u}]`:o,g=a.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return L.warn(`Received illegal value for '${c}'. Supported options: ${g}`),r},{}),"validateOptions"),Pe=Symbol("Deeply equal"),Qe=n((t,e)=>{if(typeof t!=typeof e)return e;if(rn(t,e))return Pe;if(Array.isArray(t)&&Array.isArray(e)){let r=e.reduce((o,a,s)=>{let i=Qe(t[s],a);return i!==Pe&&(o[s]=i),o},new Array(e.length));return e.length>=t.length?r:r.concat(new Array(t.length-e.length).fill(void 0))}return W(t)&&W(e)?Object.keys({...t,...e}).reduce((r,o)=>{let a=Qe(t==null?void 0:t[o],e==null?void 0:e[o]);return a===Pe?r:Object.assign(r,{[o]:a})},{}):e},"deepDiff"),on="UNTARGETED";function aa({args:t,argTypes:e}){let r={};return Object.entries(t).forEach(([o,a])=>{let{target:s=on}=e[o]||{};r[s]=r[s]||{},r[s][o]=a}),r}n(aa,"groupArgsByTarget");function vd(t){return Object.keys(t).forEach(e=>t[e]===void 0&&delete t[e]),t}n(vd,"deleteUndefined");var nn=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(e){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);return this.argsByStoryId[e]}setInitial(e){if(!this.initialArgsByStoryId[e.id])this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs;else if(this.initialArgsByStoryId[e.id]!==e.initialArgs){let r=Qe(this.initialArgsByStoryId[e.id],this.argsByStoryId[e.id]);this.initialArgsByStoryId[e.id]=e.initialArgs,this.argsByStoryId[e.id]=e.initialArgs,r!==Pe&&this.updateFromDelta(e,r)}}updateFromDelta(e,r){let o=sa(r,e.argTypes);this.argsByStoryId[e.id]=Je(this.argsByStoryId[e.id],o)}updateFromPersisted(e,r){let o=na(r,e.argTypes);return this.updateFromDelta(e,o)}update(e,r){if(!(e in this.argsByStoryId))throw new Error(`No args known for ${e} -- has it been rendered yet?`);this.argsByStoryId[e]=vd({...this.argsByStoryId[e],...r})}};n(nn,"ArgsStore");var ct=nn,pt=n((t={})=>Object.entries(t).reduce((e,[r,{defaultValue:o}])=>(typeof o<"u"&&(e[r]=o),e),{}),"getValuesFromArgTypes"),sn=class{constructor({globals:e={},globalTypes:r={}}){this.set({globals:e,globalTypes:r})}set({globals:e={},globalTypes:r={}}){let o=this.initialGlobals&&Qe(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(e),...Object.keys(r)]);let a=pt(r);this.initialGlobals={...a,...e},this.globals=this.initialGlobals,o&&o!==Pe&&this.updateFromPersisted(o)}filterAllowedGlobals(e){return Object.entries(e).reduce((r,[o,a])=>(this.allowedGlobalNames.has(o)?r[o]=a:O.warn(`Attempted to set a global (${o}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(e){let r=this.filterAllowedGlobals(e);this.globals={...this.globals,...r}}get(){return this.globals}update(e){this.globals={...this.globals,...this.filterAllowedGlobals(e)}}};n(sn,"GlobalsStore");var dt=sn,ia=ue(Qr()),Pd=(0,ia.default)(1)(t=>Object.values(t).reduce((e,r)=>(e[r.importPath]=e[r.importPath]||r,e),{})),an=class{constructor({entries:e}={v:5,entries:{}}){this.entries=e}entryFromSpecifier(e){let r=Object.values(this.entries);if(e==="*")return r[0];if(typeof e=="string")return this.entries[e]?this.entries[e]:r.find(s=>s.id.startsWith(e));let{name:o,title:a}=e;return r.find(s=>s.name===o&&s.title===a)}storyIdToEntry(e){let r=this.entries[e];if(!r)throw new gr({storyId:e});return r}importPathToEntry(e){return Pd(this.entries)[e]}};n(an,"StoryIndexStore");var ut=an,Cd=n(t=>typeof t=="string"?{name:t}:t,"normalizeType"),Od=n(t=>typeof t=="string"?{type:t}:t,"normalizeControl"),Id=n((t,e)=>{let{type:r,control:o,...a}=t,s={name:e,...a};return r&&(s.type=Cd(r)),o?s.control=Od(o):o===!1&&(s.control={disable:!0}),s},"normalizeInputType"),Ce=n(t=>ee(t,Id),"normalizeInputTypes"),Fd=Object.create,da=Object.defineProperty,Dd=Object.getOwnPropertyDescriptor,Nd=Object.getOwnPropertyNames,kd=Object.getPrototypeOf,Ld=Object.prototype.hasOwnProperty,jd=n((t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),"E"),Md=n((t,e,r,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of Nd(e))!Ld.call(t,a)&&a!==r&&da(t,a,{get:n(()=>e[a],"get"),enumerable:!(o=Dd(e,a))||o.enumerable});return t},"v"),qd=n((t,e,r)=>(r=t!=null?Fd(kd(t)):{},Md(e||!t||!t.__esModule?da(r,"default",{value:t,enumerable:!0}):r,t)),"I"),Ud=jd(t=>{Object.defineProperty(t,"__esModule",{value:!0}),t.isEqual=function(){var e=Object.prototype.toString,r=Object.getPrototypeOf,o=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,s){return n(function i(u,l,c){var g,p,h,b=e.call(u),S=e.call(l);if(u===l)return!0;if(u==null||l==null)return!1;if(c.indexOf(u)>-1&&c.indexOf(l)>-1)return!0;if(c.push(u,l),b!=S||(g=o(u),p=o(l),g.length!=p.length||g.some(function(_){return!i(u[_],l[_],c)})))return!1;switch(b.slice(8,-1)){case"Symbol":return u.valueOf()==l.valueOf();case"Date":case"Number":return+u==+l||+u!=+u&&+l!=+l;case"RegExp":case"Function":case"String":case"Boolean":return""+u==""+l;case"Set":case"Map":g=u.entries(),p=l.entries();do if(!i((h=g.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":u=new Uint8Array(u),l=new Uint8Array(l);case"DataView":u=new Uint8Array(u.buffer),l=new Uint8Array(l.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(u.length!=l.length)return!1;for(h=0;h`${r} ${o}${a}`).replace(/([a-z])([A-Z])/g,(e,r,o)=>`${r} ${o}`).replace(/([a-z])([0-9])/gi,(e,r,o)=>`${r} ${o}`).replace(/([0-9])([a-z])/gi,(e,r,o)=>`${r} ${o}`).replace(/(\s|^)(\w)/g,(e,r,o)=>`${r}${o.toUpperCase()}`).replace(/ +/g," ").trim()}n(Bd,"R");var la=qd(Ud()),ua=n(t=>t.map(e=>typeof e<"u").filter(Boolean).length,"S"),Gd=n((t,e)=>{let{exists:r,eq:o,neq:a,truthy:s}=t;if(ua([r,o,a,s])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:o,neq:a})}`);if(typeof o<"u")return(0,la.isEqual)(e,o);if(typeof a<"u")return!(0,la.isEqual)(e,a);if(typeof r<"u"){let i=typeof e<"u";return r?i:!i}return typeof s>"u"||s?!!e:!e},"k"),fa=n((t,e,r)=>{if(!t.if)return!0;let{arg:o,global:a}=t.if;if(ua([o,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:o,global:a})}`);let s=o?e[o]:r[a];return Gd(t.if,s)},"P"),ln=n(t=>t.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"O"),ca=n((t,e)=>{let r=ln(t);if(r==="")throw new Error(`Invalid ${e} '${t}', must include alphanumeric characters`);return r},"f"),ya=n((t,e)=>`${ca(t,"kind")}${e?`--${ca(e,"name")}`:""}`,"G"),ma=n(t=>Bd(t),"N");function pa(t,e){return Array.isArray(e)?e.includes(t):t.match(e)}n(pa,"m");function ft(t,{includeStories:e,excludeStories:r}){return t!=="__esModule"&&(!e||pa(t,e))&&(!r||!pa(t,r))}n(ft,"M");var ha=n((...t)=>{let e=t.reduce((r,o)=>(o.startsWith("!")?r.delete(o.slice(1)):r.add(o),r),new Set);return Array.from(e)},"z"),N=n(t=>Array.isArray(t)?t:t?[t]:[],"normalizeArrays"),Vd=P` +CSF .story annotations deprecated; annotate story functions directly: +- StoryFn.story.name => StoryFn.storyName +- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators) +See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod. +`;function Ze(t,e,r){let o=e,a=typeof e=="function"?e:null,{story:s}=o;s&&(O.debug("deprecated story",s),oe(Vd));let i=ma(t),u=typeof o!="function"&&o.name||o.storyName||(s==null?void 0:s.name)||i,l=[...N(o.decorators),...N(s==null?void 0:s.decorators)],c={...s==null?void 0:s.parameters,...o.parameters},g={...s==null?void 0:s.args,...o.args},p={...s==null?void 0:s.argTypes,...o.argTypes},h=[...N(o.loaders),...N(s==null?void 0:s.loaders)],b=[...N(o.beforeEach),...N(s==null?void 0:s.beforeEach)],S=[...N(o.experimental_afterEach),...N(s==null?void 0:s.experimental_afterEach)],{render:_,play:A,tags:v=[],globals:m={}}=o,w=c.__id||ya(r.id,i);return{moduleExport:e,id:w,name:u,tags:v,decorators:l,parameters:c,args:g,argTypes:Ce(p),loaders:h,beforeEach:b,experimental_afterEach:S,globals:m,..._&&{render:_},...a&&{userStoryFn:a},...A&&{play:A}}}n(Ze,"normalizeStory");function yt(t,e=t.title,r){let{id:o,argTypes:a}=t;return{id:ln(o||e),...t,title:e,...a&&{argTypes:Ce(a)},parameters:{fileName:r,...t.parameters}}}n(yt,"normalizeComponentAnnotations");var Hd=n(t=>{let{globals:e,globalTypes:r}=t;(e||r)&&O.error("Global args/argTypes can only be set globally",JSON.stringify({globals:e,globalTypes:r}))},"checkGlobals"),zd=n(t=>{let{options:e}=t;e!=null&&e.storySort&&O.error("The storySort option parameter can only be set globally")},"checkStorySort"),ga=n(t=>{t&&(Hd(t),zd(t))},"checkDisallowedParameters");function Sa(t,e,r){let{default:o,__namedExportsOrder:a,...s}=t,i=yt(o,r,e);ga(i.parameters);let u={meta:i,stories:{},moduleExports:t};return Object.keys(s).forEach(l=>{if(ft(l,i)){let c=Ze(l,s[l],i);ga(c.parameters),u.stories[c.id]=c}}),u}n(Sa,"processCSFFile");function Ta(t){return t!=null&&Wd(t).includes("mount")}n(Ta,"mountDestructured");function Wd(t){let e=t.toString().match(/[^(]*\(([^)]*)/);if(!e)return[];let r=ba(e[1]);if(!r.length)return[];let o=r[0];return o.startsWith("{")&&o.endsWith("}")?ba(o.slice(1,-1).replace(/\s/g,"")).map(a=>a.replace(/:.*|=.*/g,"")):[]}n(Wd,"getUsedProps");function ba(t){let e=[],r=[],o=0;for(let s=0;se(o,a)}n(cn,"decorateStory");function pn({componentId:t,title:e,kind:r,id:o,name:a,story:s,parameters:i,initialArgs:u,argTypes:l,...c}={}){return c}n(pn,"sanitizeStoryContextUpdate");function mt(t,e){let r={},o=n(s=>i=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...pn(i)},s(r.value)},"bindWithContext"),a=e.reduce((s,i)=>cn(s,i,o),t);return s=>(r.value=s,a(s))}n(mt,"defaultDecorateStory");var $=n((...t)=>{let e={},r=t.filter(Boolean),o=r.reduce((a,s)=>(Object.entries(s).forEach(([i,u])=>{let l=a[i];Array.isArray(u)||typeof l>"u"?a[i]=u:W(u)&&W(l)?e[i]=!0:typeof u<"u"&&(a[i]=u)}),a),{});return Object.keys(e).forEach(a=>{let s=r.filter(Boolean).map(i=>i[a]).filter(i=>typeof i<"u");s.every(i=>W(i))?o[a]=$(...s):o[a]=s[s.length-1]}),o},"combineParameters");function er(t,e,r){let{moduleExport:o,id:a,name:s}=t||{},i=Ea(t,e,r),u=n(async x=>{let F={};for(let U of[..."__STORYBOOK_TEST_LOADERS__"in R&&Array.isArray(R.__STORYBOOK_TEST_LOADERS__)?[R.__STORYBOOK_TEST_LOADERS__]:[],N(r.loaders),N(e.loaders),N(t.loaders)]){if(x.abortSignal.aborted)return F;let V=await Promise.all(U.map(M=>M(x)));Object.assign(F,...V)}return F},"applyLoaders"),l=n(async x=>{let F=new Array;for(let U of[...N(r.beforeEach),...N(e.beforeEach),...N(t.beforeEach)]){if(x.abortSignal.aborted)return F;let V=await U(x);V&&F.push(V)}return F},"applyBeforeEach"),c=n(async x=>{let F=[...N(r.experimental_afterEach),...N(e.experimental_afterEach),...N(t.experimental_afterEach)].reverse();for(let U of F){if(x.abortSignal.aborted)return;await U(x)}},"applyAfterEach"),g=n(x=>x.originalStoryFn(x.args,x),"undecoratedStoryFn"),{applyDecorators:p=mt,runStep:h}=r,b=[...N(t==null?void 0:t.decorators),...N(e==null?void 0:e.decorators),...N(r==null?void 0:r.decorators)],S=(t==null?void 0:t.userStoryFn)||(t==null?void 0:t.render)||e.render||r.render,_=st(p)(g,b),A=n(x=>_(x),"unboundStoryFn"),v=(t==null?void 0:t.play)??(e==null?void 0:e.play),m=Ta(v);if(!S&&!m)throw new wr({id:a});let w=n(x=>async()=>(await x.renderToCanvas(),x.canvas),"defaultMount"),C=t.mount??e.mount??r.mount??w,k=r.testingLibraryRender;return{storyGlobals:{},...i,moduleExport:o,id:a,name:s,story:s,originalStoryFn:S,undecoratedStoryFn:g,unboundStoryFn:A,applyLoaders:u,applyBeforeEach:l,applyAfterEach:c,playFunction:v,runStep:h,mount:C,testingLibraryRender:k,renderToCanvas:r.renderToCanvas,usesMount:m}}n(er,"prepareStory");function ht(t,e,r){return{...Ea(void 0,t,e),moduleExport:r}}n(ht,"prepareMeta");function Ea(t,e,r){var v;let o=["dev","test"],a=((v=R.DOCS_OPTIONS)==null?void 0:v.autodocs)===!0?["autodocs"]:[],s=ha(...o,...a,...r.tags??[],...e.tags??[],...(t==null?void 0:t.tags)??[]),i=$(r.parameters,e.parameters,t==null?void 0:t.parameters),{argTypesEnhancers:u=[],argsEnhancers:l=[]}=r,c=$(r.argTypes,e.argTypes,t==null?void 0:t.argTypes);if(t){let m=(t==null?void 0:t.userStoryFn)||(t==null?void 0:t.render)||e.render||r.render;i.__isArgsStory=m&&m.length>0}let g={...r.args,...e.args,...t==null?void 0:t.args},p={...e.globals,...t==null?void 0:t.globals},h={componentId:e.id,title:e.title,kind:e.title,id:(t==null?void 0:t.id)||e.id,name:(t==null?void 0:t.name)||"__meta",story:(t==null?void 0:t.name)||"__meta",component:e.component,subcomponents:e.subcomponents,tags:s,parameters:i,initialArgs:g,argTypes:c,storyGlobals:p};h.argTypes=u.reduce((m,w)=>w({...h,argTypes:m}),h.argTypes);let b={...g};h.initialArgs=l.reduce((m,w)=>({...m,...w({...h,initialArgs:m})}),b);let{name:S,story:_,...A}=h;return A}n(Ea,"preparePartialAnnotations");function gt(t){var s;let{args:e}=t,r={...t,allArgs:void 0,argsByTarget:void 0};if((s=R.FEATURES)!=null&&s.argTypeTargetsV7){let i=aa(t);r={...t,allArgs:t.args,argsByTarget:i,args:i[on]||{}}}let o=Object.entries(r.args).reduce((i,[u,l])=>{var g;if(!((g=r.argTypes[u])!=null&&g.mapping))return i[u]=l,i;let c=n(p=>{let h=r.argTypes[u].mapping;return h&&p in h?h[p]:p},"mappingFn");return i[u]=Array.isArray(l)?l.map(c):c(l),i},{}),a=Object.entries(o).reduce((i,[u,l])=>{let c=r.argTypes[u]||{};return fa(c,o,r.globals)&&(i[u]=l),i},{});return{...r,unmappedArgs:e,args:a}}n(gt,"prepareContext");var dn=n((t,e,r)=>{let o=typeof t;switch(o){case"boolean":case"string":case"number":case"function":case"symbol":return{name:o}}return t?r.has(t)?(O.warn(P` + We've detected a cycle in arg '${e}'. Args should be JSON-serializable. + + Consider using the mapping feature or fully custom args: + - Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values + - Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args + `),{name:"other",value:"cyclic object"}):(r.add(t),Array.isArray(t)?{name:"array",value:t.length>0?dn(t[0],e,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:ee(t,a=>dn(a,e,new Set(r)))}):{name:"object",value:{}}},"inferType"),un=n(t=>{let{id:e,argTypes:r={},initialArgs:o={}}=t,a=ee(o,(i,u)=>({name:u,type:dn(i,`${e}.${u}`,new Set)})),s=ee(r,(i,u)=>({name:u}));return $(a,s,r)},"inferArgTypes");un.secondPass=!0;var Ra=n((t,e)=>Array.isArray(e)?e.includes(t):t.match(e),"matches"),Cr=n((t,e,r)=>!e&&!r?t:t&&Jo(t,(o,a)=>{let s=o.name||a.toString();return!!(!e||Ra(s,e))&&(!r||!Ra(s,r))}),"filterArgTypes"),$d=n((t,e,r)=>{let{type:o,options:a}=t;if(o){if(r.color&&r.color.test(e)){let s=o.name;if(s==="string")return{control:{type:"color"}};s!=="enum"&&O.warn(`Addon controls: Control of type color only supports string, received "${s}" instead`)}if(r.date&&r.date.test(e))return{control:{type:"date"}};switch(o.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:s}=o;return{control:{type:(s==null?void 0:s.length)<=5?"radio":"select"},options:s}}case"function":case"symbol":return null;default:return{control:{type:a?"select":"object"}}}}},"inferControl"),rr=n(t=>{let{argTypes:e,parameters:{__isArgsStory:r,controls:{include:o=null,exclude:a=null,matchers:s={}}={}}}=t;if(!r)return e;let i=Cr(e,o,a),u=ee(i,(l,c)=>(l==null?void 0:l.type)&&$d(l,c.toString(),s));return $(u,i)},"inferControls");rr.secondPass=!0;function Or({argTypes:t,globalTypes:e,argTypesEnhancers:r,decorators:o,loaders:a,beforeEach:s,experimental_afterEach:i,globals:u,initialGlobals:l,...c}){return u&&Object.keys(u).length>0&&oe(P` + The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0. + Please use 'initialGlobals' instead. Learn more: + + https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals + `),{...t&&{argTypes:Ce(t)},...e&&{globalTypes:Ce(e)},decorators:N(o),loaders:N(a),beforeEach:N(s),experimental_afterEach:N(i),argTypesEnhancers:[...r||[],un,rr],initialGlobals:$(l,u),...c}}n(Or,"normalizeProjectAnnotations");var xa=n(t=>async()=>{let e=[];for(let r of t){let o=await r();o&&e.unshift(o)}return async()=>{for(let r of e)await r()}},"composeBeforeAllHooks");function St(t){return async(e,r,o)=>{await t.reduceRight((a,s)=>async()=>s(e,a,o),async()=>r(o))()}}n(St,"composeStepRunners");function Fr(t,e){return t.map(r=>{var o;return((o=r.default)==null?void 0:o[e])??r[e]}).filter(Boolean)}n(Fr,"getField");function ge(t,e,r={}){return Fr(t,e).reduce((o,a)=>{let s=N(a);return r.reverseFileOrder?[...s,...o]:[...o,...s]},[])}n(ge,"getArrayField");function Ir(t,e){return Object.assign({},...Fr(t,e))}n(Ir,"getObjectField");function tr(t,e){return Fr(t,e).pop()}n(tr,"getSingletonField");function Oe(t){var a;let e=ge(t,"argTypesEnhancers"),r=Fr(t,"runStep"),o=ge(t,"beforeAll");return{parameters:$(...Fr(t,"parameters")),decorators:ge(t,"decorators",{reverseFileOrder:!(((a=R.FEATURES)==null?void 0:a.legacyDecoratorFileOrder)??!1)}),args:Ir(t,"args"),argsEnhancers:ge(t,"argsEnhancers"),argTypes:Ir(t,"argTypes"),argTypesEnhancers:[...e.filter(s=>!s.secondPass),...e.filter(s=>s.secondPass)],globals:Ir(t,"globals"),initialGlobals:Ir(t,"initialGlobals"),globalTypes:Ir(t,"globalTypes"),loaders:ge(t,"loaders"),beforeAll:xa(o),beforeEach:ge(t,"beforeEach"),experimental_afterEach:ge(t,"experimental_afterEach"),render:tr(t,"render"),renderToCanvas:tr(t,"renderToCanvas"),renderToDOM:tr(t,"renderToDOM"),applyDecorators:tr(t,"applyDecorators"),runStep:St(r),tags:ge(t,"tags"),mount:tr(t,"mount"),testingLibraryRender:tr(t,"testingLibraryRender")}}n(Oe,"composeConfigs");var fn=class{constructor(){this.reports=[]}async addReport(e){this.reports.push(e)}};n(fn,"ReporterAPI");var Se=fn;function Aa(t){globalThis.defaultProjectAnnotations=t}n(Aa,"setDefaultProjectAnnotations");var Yd="ComposedStory",Kd="Unnamed Story";function Xd(t){return t?Oe([t]):{}}n(Xd,"extractAnnotation");function _a(t){let e=Array.isArray(t)?t:[t];return globalThis.globalProjectAnnotations=Oe(e.map(Xd)),Oe([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}n(_a,"setProjectAnnotations");var be=[];function yn(t,e,r,o,a){var v;if(t===void 0)throw new Error("Expected a story but received undefined.");e.title=e.title??Yd;let s=yt(e),i=a||t.storyName||((v=t.story)==null?void 0:v.name)||t.name||Kd,u=Ze(i,t,s),l=Or(Oe([o&&Object.keys(o).length>0?o:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=er(u,s,l),g={...pt(l.globalTypes),...l.initialGlobals,...c.storyGlobals},p=new Se,h=n(()=>{let m=gt({hooks:new he,globals:g,args:{...c.initialArgs},viewMode:"story",reporting:p,loaded:{},abortSignal:new AbortController().signal,step:n((w,C)=>c.runStep(w,C,m),"step"),canvasElement:null,canvas:{},globalTypes:l.globalTypes,...c,context:null,mount:null});return m.context=m,c.renderToCanvas&&(m.renderToCanvas=async()=>{var C;let w=await((C=c.renderToCanvas)==null?void 0:C.call(c,{componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:n(()=>{},"showMain"),showError:n(k=>{throw new Error(`${k.title} +${k.description}`)},"showError"),showException:n(k=>{throw k},"showException"),forceRemount:!0,storyContext:m,storyFn:n(()=>c.unboundStoryFn(m),"storyFn"),unboundStoryFn:c.unboundStoryFn},m.canvasElement));w&&be.push(w)}),m.mount=c.mount(m),m},"initializeContext"),b,S=n(async m=>{var C;let w=h();return w.canvasElement??(w.canvasElement=(C=globalThis==null?void 0:globalThis.document)==null?void 0:C.body),b&&(w.loaded=b.loaded),Object.assign(w,m),c.playFunction(w)},"play"),_=n(m=>{let w=h();return Object.assign(w,m),Qd(c,w)},"run"),A=c.playFunction?S:void 0;return Object.assign(n(function(m){let w=h();return b&&(w.loaded=b.loaded),w.args={...w.initialArgs,...m},c.unboundStoryFn(w)},"storyFn"),{id:c.id,storyName:i,load:n(async()=>{for(let w of[...be].reverse())await w();be.length=0;let m=h();m.loaded=await c.applyLoaders(m),be.push(...(await c.applyBeforeEach(m)).filter(Boolean)),b=m},"load"),globals:g,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:A,run:_,reporting:p,tags:c.tags})}n(yn,"composeStory");var Jd=n((t,e,r,o)=>yn(t,e,r,{},o),"defaultComposeStory");function wa(t,e,r=Jd){let{default:o,__esModule:a,__namedExportsOrder:s,...i}=t;return Object.entries(i).reduce((u,[l,c])=>ft(l,o)?Object.assign(u,{[l]:r(c,o,e,l)}):u,{})}n(wa,"composeStories");function va(t){return t.extend({mount:n(async({mount:e,page:r},o)=>{await o(async(a,...s)=>{if(!("__pw_type"in a)||"__pw_type"in a&&a.__pw_type!=="jsx")throw new Error(P` + Portable stories in Playwright CT only work when referencing JSX elements. + Please use JSX format for your components such as: + + instead of: + await mount(MyComponent, { props: { foo: 'bar' } }) + + do: + await mount() + + More info: https://storybook.js.org/docs/api/portable-stories-playwright + `);await r.evaluate(async u=>{var c,g,p;let l=await((c=globalThis.__pwUnwrapObject)==null?void 0:c.call(globalThis,u));return(p=(g="__pw_type"in l?l.type:l)==null?void 0:g.load)==null?void 0:p.call(g)},a);let i=await e(a,...s);return await r.evaluate(async u=>{var p,h;let l=await((p=globalThis.__pwUnwrapObject)==null?void 0:p.call(globalThis,u)),c="__pw_type"in l?l.type:l,g=document.querySelector("#root");return(h=c==null?void 0:c.play)==null?void 0:h.call(c,{canvasElement:g})},a),i})},"mount")})}n(va,"createPlaywrightTest");async function Qd(t,e){var a,s;for(let i of[...be].reverse())await i();if(be.length=0,!e.canvasElement){let i=document.createElement("div");(s=(a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body)==null||s.appendChild(i),e.canvasElement=i,be.push(()=>{var u,l,c,g;(l=(u=globalThis==null?void 0:globalThis.document)==null?void 0:u.body)!=null&&l.contains(i)&&((g=(c=globalThis==null?void 0:globalThis.document)==null?void 0:c.body)==null||g.removeChild(i))})}if(e.loaded=await t.applyLoaders(e),e.abortSignal.aborted)return;be.push(...(await t.applyBeforeEach(e)).filter(Boolean));let r=t.playFunction,o=t.usesMount;o||await e.mount(),!e.abortSignal.aborted&&(r&&(o||(e.mount=async()=>{throw new ve({playFunction:r.toString()})}),await r(e)),await t.applyAfterEach(e))}n(Qd,"runStory");function Pa(t,e){return Ko(Xo(t,e),r=>r===void 0)}n(Pa,"picky");var Ca=1e3,Zd=1e4,mn=class{constructor(e,r,o){this.importFn=r,this.getStoriesJsonData=n(()=>{let i=this.getSetStoriesPayload(),u=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:ee(i.stories,l=>{let{importPath:c}=this.storyIndex.entries[l.id];return{...Pa(l,["id","name","title"]),importPath:c,kind:l.title,story:l.name,parameters:{...Pa(l.parameters,u),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new ut(e),this.projectAnnotations=Or(o);let{initialGlobals:a,globalTypes:s}=this.projectAnnotations;this.args=new ct,this.userGlobals=new dt({globals:a,globalTypes:s}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,bt.default)(Ca)(Sa),this.prepareMetaWithCache=(0,bt.default)(Ca)(ht),this.prepareStoryWithCache=(0,bt.default)(Zd)(er)}setProjectAnnotations(e){this.projectAnnotations=Or(e);let{initialGlobals:r,globalTypes:o}=e;this.userGlobals.set({globals:r,globalTypes:o})}async onStoriesChanged({importFn:e,storyIndex:r}){e&&(this.importFn=e),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(e){return this.storyIndex.storyIdToEntry(e)}async loadCSFFileByStoryId(e){let{importPath:r,title:o}=this.storyIndex.storyIdToEntry(e),a=await this.importFn(r);return this.processCSFFileWithCache(a,r,o)}async loadAllCSFFiles(){let e={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:o}])=>{e[o]=r}),(await Promise.all(Object.entries(e).map(async([r,o])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(o)})))).reduce((r,{importPath:o,csfFile:a})=>(r[o]=a,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:e}){let r=e.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,e.moduleExports.default)}async loadStory({storyId:e}){let r=await this.loadCSFFileByStoryId(e);return this.storyFromCSFFile({storyId:e,csfFile:r})}storyFromCSFFile({storyId:e,csfFile:r}){let o=r.stories[e];if(!o)throw new Ar({storyId:e});let a=r.meta,s=this.prepareStoryWithCache(o,a,this.projectAnnotations);return this.args.setInitial(s),this.hooks[s.id]=this.hooks[s.id]||new he,s}componentStoriesFromCSFFile({csfFile:e}){return Object.keys(this.storyIndex.entries).filter(r=>!!e.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:e}))}async loadEntry(e){let r=await this.storyIdToEntry(e),o=r.type==="docs"?r.storiesImports:[],[a,...s]=await Promise.all([this.importFn(r.importPath),...o.map(i=>{let u=this.storyIndex.importPathToEntry(i);return this.loadCSFFileByStoryId(u.id)})]);return{entryExports:a,csfFiles:s}}getStoryContext(e,{forceInitialArgs:r=!1}={}){let o=this.userGlobals.get(),{initialGlobals:a}=this.userGlobals,s=new Se;return gt({...e,args:r?e.initialArgs:this.args.get(e.id),initialGlobals:a,globalTypes:this.projectAnnotations.globalTypes,userGlobals:o,reporting:s,globals:{...o,...e.storyGlobals},hooks:this.hooks[e.id]})}addCleanupCallbacks(e,r){this.cleanupCallbacks[e.id]=r}async cleanupStory(e){this.hooks[e.id].clean();let r=this.cleanupCallbacks[e.id];if(r)for(let o of[...r].reverse())await o();delete this.cleanupCallbacks[e.id]}extract(e={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new Sr;return Object.entries(this.storyIndex.entries).reduce((o,[a,{type:s,importPath:i}])=>{if(s==="docs")return o;let u=r[i],l=this.storyFromCSFFile({storyId:a,csfFile:u});return!e.includeDocsOnly&&l.parameters.docsOnly||(o[a]=Object.entries(l).reduce((c,[g,p])=>g==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[g]:p.slice().sort()}):Object.assign(c,{[g]:p}),{args:l.initialArgs})),o},{})}getSetStoriesPayload(){let e=this.extract({includeDocsOnly:!0}),r=Object.values(e).reduce((o,{title:a})=>(o[a]={},o),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:e}}raw(){return oe("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:e})=>this.fromId(e)).filter(Boolean)}fromId(e){if(oe("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(e))}catch{return null}let o=this.cachedCSFFiles[r],a=this.storyFromCSFFile({storyId:e,csfFile:o});return{...a,storyFn:n(s=>{let i={...this.getStoryContext(a),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:n((u,l)=>a.runStep(u,l,i),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return a.unboundStoryFn({...i,...s})},"storyFn")}}};n(mn,"StoryStore");var Ie=mn;function hn(t){return t.startsWith("\\\\?\\")?t:t.replace(/\\/g,"/")}n(hn,"slash");var eu=n(t=>{if(t.length===0)return t;let e=t[t.length-1],r=e==null?void 0:e.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(t.length===1)return[r];let o=t[t.length-2];return r&&o&&r.toLowerCase()===o.toLowerCase()?[...t.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(e)||/^index$/i.test(r))?t.slice(0,-1):[...t.slice(0,-1),r]},"sanitize");function Oa(t){return t.flatMap(e=>e.split("/")).filter(Boolean).join("/")}n(Oa,"pathJoin");var gn=n((t,e,r)=>{let{directory:o,importPathMatcher:a,titlePrefix:s=""}=e||{};typeof t=="number"&&L.warn(P` + CSF Auto-title received a numeric fileName. This typically happens when + webpack is mis-configured in production mode. To force webpack to produce + filenames, set optimization.moduleIds = "named" in your webpack config. + `);let i=hn(String(t));if(a.exec(i)){if(!r){let u=i.replace(o,""),l=Oa([s,u]).split("/");return l=eu(l),l.join("/")}return s?Oa([s,r]):r}},"userOrAutoTitleFromSpecifier"),Ia=n((t,e,r)=>{for(let o=0;o(e,r)=>{if(e.title===r.title&&!t.includeNames)return 0;let o=t.method||"configure",a=t.order||[],s=e.title.trim().split(Fa),i=r.title.trim().split(Fa);t.includeNames&&(s.push(e.name),i.push(r.name));let u=0;for(;s[u]||i[u];){if(!s[u])return-1;if(!i[u])return 1;let l=s[u],c=i[u];if(l!==c){let p=a.indexOf(l),h=a.indexOf(c),b=a.indexOf("*");return p!==-1||h!==-1?(p===-1&&(b!==-1?p=b:p=a.length),h===-1&&(b!==-1?h=b:h=a.length),p-h):o==="configure"?0:l.localeCompare(c,t.locales?t.locales:void 0,{numeric:!0,sensitivity:"accent"})}let g=a.indexOf(l);g===-1&&(g=a.indexOf("*")),a=g!==-1&&Array.isArray(a[g+1])?a[g+1]:[],u+=1}return 0},"storySort"),ru=n((t,e,r)=>{if(e){let o;typeof e=="function"?o=e:o=Da(e),t.sort(o)}else t.sort((o,a)=>r.indexOf(o.importPath)-r.indexOf(a.importPath));return t},"sortStoriesCommon"),Na=n((t,e,r)=>{try{return ru(t,e,r)}catch(o){throw new Error(P` + Error sorting stories with sort parameter ${e}: + + > ${o.message} + + Are you using a V6-style sort function in V7 mode? + + More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort + `)}},"sortStoriesV7"),Te=new Error("prepareAborted"),{AbortController:ka}=globalThis;function La(t){try{let{name:e="Error",message:r=String(t),stack:o}=t;return{name:e,message:r,stack:o}}catch{return{name:"Error",message:String(t)}}}n(La,"serializeError");var Sn=class{constructor(e,r,o,a,s,i,u={autoplay:!0,forceInitialArgs:!1},l){this.channel=e,this.store=r,this.renderToScreen=o,this.callbacks=a,this.id=s,this.viewMode=i,this.renderOptions=u,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=n(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new ka,l&&(this.story=l,this.phase="preparing")}async runPhase(e,r,o){this.phase=r,this.channel.emit(we,{newPhase:this.phase,storyId:this.id}),o&&(await o(),this.checkIfAborted(e))}checkIfAborted(e){return e.aborted?(this.phase="aborted",this.channel.emit(we,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Te}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing","afterEach"].includes(this.phase)}async renderToElement(e){return this.canvasElement=e,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:e}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:e})}async render({initial:e=!1,forceRemount:r=!1}={}){var w,C,k,x;let{canvasElement:o}=this;if(!this.story)throw new Error("cannot render when not prepared");let a=this.story;if(!o)throw new Error("cannot render when canvasElement is unset");let{id:s,componentId:i,title:u,name:l,tags:c,applyLoaders:g,applyBeforeEach:p,applyAfterEach:h,unboundStoryFn:b,playFunction:S,runStep:_}=a;r&&!e&&(this.cancelRender(),this.abortController=new ka);let A=this.abortController.signal,v=!1,m=a.usesMount;try{let F={...this.storyContext(),viewMode:this.viewMode,abortSignal:A,canvasElement:o,loaded:{},step:n((E,D)=>_(E,D,F),"step"),context:null,canvas:{},renderToCanvas:n(async()=>{let E=await this.renderToScreen(U,o);this.teardownRender=E||(()=>{}),v=!0},"renderToCanvas"),mount:n(async(...E)=>{var T,z;(z=(T=this.callbacks).showStoryDuringRender)==null||z.call(T);let D=null;return await this.runPhase(A,"rendering",async()=>{D=await a.mount(F)(...E)}),m&&await this.runPhase(A,"playing"),D},"mount")};F.context=F;let U={componentId:i,title:u,kind:u,id:s,name:l,story:l,tags:c,...this.callbacks,showError:n(E=>(this.phase="errored",this.callbacks.showError(E)),"showError"),showException:n(E=>(this.phase="errored",this.callbacks.showException(E)),"showException"),forceRemount:r||this.notYetRendered,storyContext:F,storyFn:n(()=>b(F),"storyFn"),unboundStoryFn:b};if(await this.runPhase(A,"loading",async()=>{F.loaded=await g(F)}),A.aborted)return;let V=await p(F);if(this.store.addCleanupCallbacks(a,V),this.checkIfAborted(A)||(!v&&!m&&await F.mount(),this.notYetRendered=!1,A.aborted))return;let M=((C=(w=this.story.parameters)==null?void 0:w.test)==null?void 0:C.dangerouslyIgnoreUnhandledErrors)===!0,Y=new Set,I=n(E=>Y.add("error"in E?E.error:E.reason),"onError");if(this.renderOptions.autoplay&&r&&S&&this.phase!=="errored"){window.addEventListener("error",I),window.addEventListener("unhandledrejection",I),this.disableKeyListeners=!0;try{if(m?await S(F):(F.mount=async()=>{throw new ve({playFunction:S.toString()})},await this.runPhase(A,"playing",async()=>S(F))),!v)throw new vr;this.checkIfAborted(A),!M&&Y.size>0?await this.runPhase(A,"errored"):await this.runPhase(A,"played")}catch(E){if((x=(k=this.callbacks).showStoryDuringRender)==null||x.call(k),await this.runPhase(A,"errored",async()=>{this.channel.emit(qt,La(E))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw E;console.error(E)}if(!M&&Y.size>0&&this.channel.emit(Ut,Array.from(Y).map(La)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",I),window.removeEventListener("error",I),A.aborted)return}await this.runPhase(A,"completed",async()=>this.channel.emit(Be,s)),this.phase!=="errored"&&await this.runPhase(A,"afterEach",async()=>{await h(F)});let j=!M&&Y.size>0,d=F.reporting.reports.some(E=>E.status==="failed"),y=j||d;await this.runPhase(A,"finished",async()=>this.channel.emit(Kr,{storyId:s,status:y?"error":"success",reporters:F.reporting.reports}))}catch(F){this.phase="errored",this.callbacks.showException(F),await this.runPhase(A,"finished",async()=>this.channel.emit(Kr,{storyId:s,status:"error",reporters:[]}))}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){var e;(e=this.abortController)==null||e.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let e=0;e<3;e+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};n(Sn,"StoryRender");var Fe=Sn,{fetch:tu}=R,ou="./index.json",bn=class{constructor(e,r,o=Z.getChannel(),a=!0){this.importFn=e,this.getProjectAnnotations=r,this.channel=o,this.storyRenders=[],this.storeInitializationPromise=new Promise((s,i)=>{this.resolveStoreInitializationPromise=s,this.rejectStoreInitializationPromise=i}),a&&this.initialize()}get storyStore(){return new Proxy({},{get:n((e,r)=>{if(this.storyStoreValue)return oe("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new _r},"get")})}async initialize(){this.setupListeners();try{let e=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(e),await this.initializeWithProjectAnnotations(e)}catch(e){this.rejectStoreInitializationPromise(e)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(Yt,this.onStoryIndexChanged.bind(this)),this.channel.on(lr,this.onUpdateGlobals.bind(this)),this.channel.on(cr,this.onUpdateArgs.bind(this)),this.channel.on(ro,this.onRequestArgTypesInfo.bind(this)),this.channel.on(ir,this.onResetArgs.bind(this)),this.channel.on(ar,this.onForceReRender.bind(this)),this.channel.on(Mt,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let e=await this.getProjectAnnotations();if(this.renderToCanvas=e.renderToCanvas,!this.renderToCanvas)throw new br;return e}catch(e){throw this.renderPreviewEntryError("Error reading preview.js:",e),e}}async initializeWithProjectAnnotations(e){this.projectAnnotationsBeforeInitialization=e;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(e){var r,o;try{await((r=this.beforeAllCleanup)==null?void 0:r.call(this)),this.beforeAllCleanup=await((o=e.beforeAll)==null?void 0:o.call(e))}catch(a){throw this.renderPreviewEntryError("Error in beforeAll hook:",a),a}}async getStoryIndexFromServer(){let e=await tu(ou);if(e.status===200)return e.json();throw new Tr({text:await e.text()})}initializeWithStoryIndex(e){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new Ie(e,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new G({methodName:"emitGlobals"});let e={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(Ht,e)}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){delete this.previewEntryError,this.getProjectAnnotations=e;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let e=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(e);return}await this.onStoriesChanged({storyIndex:e})}catch(e){throw this.renderPreviewEntryError("Error loading story index:",e),e}}async onStoriesChanged({importFn:e,storyIndex:r}){if(!this.storyStoreValue)throw new G({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:e,storyIndex:r})}async onUpdateGlobals({globals:e,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new G({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(e),r){let{initialGlobals:o,storyGlobals:a,userGlobals:s,globals:i}=this.storyStoreValue.getStoryContext(r);this.channel.emit(_e,{initialGlobals:o,userGlobals:s,storyGlobals:a,globals:i})}else{let{initialGlobals:o,globals:a}=this.storyStoreValue.userGlobals;this.channel.emit(_e,{initialGlobals:o,userGlobals:a,storyGlobals:{},globals:a})}await Promise.all(this.storyRenders.map(o=>o.rerender()))}async onUpdateArgs({storyId:e,updatedArgs:r}){if(!this.storyStoreValue)throw new G({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(e,r),await Promise.all(this.storyRenders.filter(o=>o.id===e&&!o.renderOptions.forceInitialArgs).map(o=>o.story&&o.story.usesMount?o.remount():o.rerender())),this.channel.emit(zt,{storyId:e,args:this.storyStoreValue.args.get(e)})}async onRequestArgTypesInfo({id:e,payload:r}){var o;try{await this.storeInitializationPromise;let a=await((o=this.storyStoreValue)==null?void 0:o.loadStory(r));this.channel.emit(Xr,{id:e,success:!0,payload:{argTypes:(a==null?void 0:a.argTypes)||{}},error:null})}catch(a){this.channel.emit(Xr,{id:e,success:!1,error:a==null?void 0:a.message})}}async onResetArgs({storyId:e,argNames:r}){var s;if(!this.storyStoreValue)throw new G({methodName:"onResetArgs"});let o=((s=this.storyRenders.find(i=>i.id===e))==null?void 0:s.story)||await this.storyStoreValue.loadStory({storyId:e}),a=(r||[...new Set([...Object.keys(o.initialArgs),...Object.keys(this.storyStoreValue.args.get(e))])]).reduce((i,u)=>(i[u]=o.initialArgs[u],i),{});await this.onUpdateArgs({storyId:e,updatedArgs:a})}async onForceReRender(){await Promise.all(this.storyRenders.map(e=>e.rerender()))}async onForceRemount({storyId:e}){await Promise.all(this.storyRenders.filter(r=>r.id===e).map(r=>r.remount()))}renderStoryToElement(e,r,o,a){if(!this.renderToCanvas||!this.storyStoreValue)throw new G({methodName:"renderStoryToElement"});let s=new Fe(this.channel,this.storyStoreValue,this.renderToCanvas,o,e.id,"docs",a,e);return s.renderToElement(r),this.storyRenders.push(s),async()=>{await this.teardownRender(s)}}async teardownRender(e,{viewModeChanged:r}={}){var o;this.storyRenders=this.storyRenders.filter(a=>a!==e),await((o=e==null?void 0:e.teardown)==null?void 0:o.call(e,{viewModeChanged:r}))}async loadStory({storyId:e}){if(!this.storyStoreValue)throw new G({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:e})}getStoryContext(e,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new G({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(e,{forceInitialArgs:r})}async extract(e){if(!this.storyStoreValue)throw new G({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(e)}renderPreviewEntryError(e,r){this.previewEntryError=r,O.error(e),O.error(r),this.channel.emit(Lt,r)}};n(bn,"Preview");var De=bn,Tn=class{constructor(e,r,o,a){this.channel=e,this.store=r,this.renderStoryToElement=o,this.storyIdByName=n(s=>{let i=this.nameToStoryId.get(s);if(i)return i;throw new Error(`No story found with that name: ${s}`)},"storyIdByName"),this.componentStories=n(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=n(s=>this.store.componentStoriesFromCSFFile({csfFile:s}),"componentStoriesFromCSFFile"),this.storyById=n(s=>{if(!s){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use ``?");return this.primaryStory}let i=this.storyIdToCSFFile.get(s);if(!i)throw new Error(`Called \`storyById\` for story that was never loaded: ${s}`);return this.store.storyFromCSFFile({storyId:s,csfFile:i})},"storyById"),this.getStoryContext=n(s=>({...this.store.getStoryContext(s),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=n(s=>this.store.loadStory({storyId:s}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,a.forEach((s,i)=>{this.referenceCSFFile(s)})}referenceCSFFile(e){this.exportsToCSFFile.set(e.moduleExports,e),this.exportsToCSFFile.set(e.moduleExports.default,e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{let o=e.stories[r.id];this.storyIdToCSFFile.set(o.id,e),this.exportToStory.set(o.moduleExport,r)})}attachCSFFile(e){if(!this.exportsToCSFFile.has(e.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(e)||(this.attachedCSFFiles.add(e),this.store.componentStoriesFromCSFFile({csfFile:e}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(e,r){let o=this.resolveModuleExport(e);if(o.type!=="meta")throw new Error(" must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(o.csfFile)}get projectAnnotations(){let{projectAnnotations:e}=this.store;if(!e)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return e}resolveAttachedModuleExportType(e){if(e==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use ?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use ?");let r=Array.from(this.attachedCSFFiles)[0];if(e==="meta")return{type:"meta",csfFile:r};let{component:o}=r.meta;if(!o)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:o}}resolveModuleExport(e){let r=this.exportsToCSFFile.get(e);if(r)return{type:"meta",csfFile:r};let o=this.exportToStory.get(e);return o?{type:"story",story:o}:{type:"component",component:e}}resolveOf(e,r=[]){let o;if(["component","meta","story"].includes(e)){let a=e;o=this.resolveAttachedModuleExportType(a)}else o=this.resolveModuleExport(e);if(r.length&&!r.includes(o.type)){let a=o.type==="component"?"component or unknown":o.type;throw new Error(P`Invalid value passed to the 'of' prop. The value was resolved to a '${a}' type but the only types for this block are: ${r.join(", ")}. + - Did you pass a component to the 'of' prop when the block only supports a story or a meta? + - ... or vice versa? + - Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(o.type){case"component":return{...o,projectAnnotations:this.projectAnnotations};case"meta":return{...o,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:o.csfFile})};case"story":default:return o}}};n(Tn,"DocsContext");var pe=Tn,En=class{constructor(e,r,o,a){this.channel=e,this.store=r,this.entry=o,this.callbacks=a,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=o.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Te;let{importPath:o,title:a}=this.entry,s=this.store.processCSFFileWithCache(e,o,a),i=Object.keys(s.stories)[0];this.story=this.store.storyFromCSFFile({storyId:i,csfFile:s}),this.csfFiles=[s,...r],this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.story&&this.story===e.story)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new pe(this.channel,this.store,e,this.csfFiles);return this.csfFiles.forEach(o=>r.attachCSFFile(o)),r}async renderToElement(e,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let o=this.docsContext(r),{docs:a}=this.story.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let s=await a.renderer(),{render:i}=s,u=n(async()=>{try{await i(o,a,e),this.channel.emit(sr,this.id)}catch(l){this.callbacks.showException(l)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:l})=>{!l||!e||s.unmount(e)},u()}async teardown({viewModeChanged:e}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:e}),this.torndown=!0}};n(En,"CsfDocsRender");var Dr=En,Rn=class{constructor(e,r,o,a){this.channel=e,this.store=r,this.entry=o,this.callbacks=a,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=o.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:e,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Te;this.csfFiles=r,this.exports=e,this.preparing=!1}isEqual(e){return!!(this.id===e.id&&this.exports&&this.exports===e.exports)}docsContext(e){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new pe(this.channel,this.store,e,this.csfFiles)}async renderToElement(e,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let o=this.docsContext(r),{docs:a}=this.store.projectAnnotations.parameters||{};if(!a)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let s={...a,page:this.exports.default},i=await a.renderer(),{render:u}=i,l=n(async()=>{try{await u(o,s,e),this.channel.emit(sr,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!e||(i.unmount(e),this.torndown=!0)},l()}async teardown({viewModeChanged:e}={}){var r;(r=this.teardownRender)==null||r.call(this,{viewModeChanged:e}),this.torndown=!0}};n(Rn,"MdxDocsRender");var Nr=Rn,nu=globalThis;function su(t){let e=t.composedPath&&t.composedPath()[0]||t.target;return/input|textarea/i.test(e.tagName)||e.getAttribute("contenteditable")!==null}n(su,"focusInInput");var ja="attached-mdx",au="unattached-mdx";function iu({tags:t}){return(t==null?void 0:t.includes(au))||(t==null?void 0:t.includes(ja))}n(iu,"isMdxEntry");function xn(t){return t.type==="story"}n(xn,"isStoryRender");function lu(t){return t.type==="docs"}n(lu,"isDocsRender");function cu(t){return lu(t)&&t.subtype==="csf"}n(cu,"isCsfDocsRender");var An=class extends De{constructor(e,r,o,a){super(e,r,void 0,!1),this.importFn=e,this.getProjectAnnotations=r,this.selectionStore=o,this.view=a,this.initialize()}setupListeners(){super.setupListeners(),nu.onkeydown=this.onKeydown.bind(this),this.channel.on(Vt,this.onSetCurrentStory.bind(this)),this.channel.on(Zt,this.onUpdateQueryParams.bind(this)),this.channel.on(Bt,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new G({methodName:"setInitialGlobals"});let{globals:e}=this.selectionStore.selectionSpecifier||{};e&&this.storyStoreValue.userGlobals.updateFromPersisted(e),this.emitGlobals()}async initializeWithStoryIndex(e){return await super.initializeWithStoryIndex(e),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new G({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:e,args:r}=this.selectionStore.selectionSpecifier,o=this.storyStoreValue.storyIndex.entryFromSpecifier(e);if(!o){e==="*"?this.renderStoryLoadingException(e,new Rr):this.renderStoryLoadingException(e,new xr({storySpecifier:e.toString()}));return}let{id:a,type:s}=o;this.selectionStore.setSelection({storyId:a,viewMode:s}),this.channel.emit(Xt,this.selectionStore.selection),this.channel.emit($r,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:e}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:e}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:e,storyIndex:r}){await super.onStoriesChanged({importFn:e,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(e){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!su(e)){let{altKey:r,ctrlKey:o,metaKey:a,shiftKey:s,key:i,code:u,keyCode:l}=e;this.channel.emit(Gt,{event:{altKey:r,ctrlKey:o,metaKey:a,shiftKey:s,key:i,code:u,keyCode:l}})}}async onSetCurrentStory(e){this.selectionStore.setSelection({viewMode:"story",...e}),await this.storeInitializationPromise,this.channel.emit($r,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(e){this.selectionStore.setQueryParams(e)}async onUpdateGlobals({globals:e}){var o,a;let r=this.currentRender instanceof Fe&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:e,currentStory:r}),(this.currentRender instanceof Nr||this.currentRender instanceof Dr)&&await((a=(o=this.currentRender).rerender)==null?void 0:a.call(o))}async onUpdateArgs({storyId:e,updatedArgs:r}){super.onUpdateArgs({storyId:e,updatedArgs:r})}async onPreloadStories({ids:e}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(e.map(r=>{var o;return(o=this.storyStoreValue)==null?void 0:o.loadEntry(r)}))}async renderSelection({persistedArgs:e}={}){var h,b,S,_;let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new G({methodName:"renderSelection"});let{selection:o}=this.selectionStore;if(!o)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:a}=o,s;try{s=await this.storyStoreValue.storyIdToEntry(a)}catch(A){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(a,A);return}let i=((h=this.currentSelection)==null?void 0:h.storyId)!==a,u=((b=this.currentRender)==null?void 0:b.type)!==s.type;s.type==="story"?this.view.showPreparingStory({immediate:u}):this.view.showPreparingDocs({immediate:u}),(S=this.currentRender)!=null&&S.isPreparing()&&await this.teardownRender(this.currentRender);let l;s.type==="story"?l=new Fe(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(a),a,"story"):iu(s)?l=new Nr(this.channel,this.storyStoreValue,s,this.mainStoryCallbacks(a)):l=new Dr(this.channel,this.storyStoreValue,s,this.mainStoryCallbacks(a));let c=this.currentSelection;this.currentSelection=o;let g=this.currentRender;this.currentRender=l;try{await l.prepare()}catch(A){g&&await this.teardownRender(g),A!==Te&&this.renderStoryLoadingException(a,A);return}let p=!i&&g&&!l.isEqual(g);if(e&&xn(l)&&(le(!!l.story),this.storyStoreValue.args.updateFromPersisted(l.story,e)),g&&!g.torndown&&!i&&!p&&!u){this.currentRender=g,this.channel.emit(Qt,a),this.view.showMain();return}if(g&&await this.teardownRender(g,{viewModeChanged:u}),c&&(i||u)&&this.channel.emit(Wt,a),xn(l)){le(!!l.story);let{parameters:A,initialArgs:v,argTypes:m,unmappedArgs:w,initialGlobals:C,userGlobals:k,storyGlobals:x,globals:F}=this.storyStoreValue.getStoryContext(l.story);this.channel.emit(Kt,{id:a,parameters:A,initialArgs:v,argTypes:m,args:w}),this.channel.emit(_e,{userGlobals:k,storyGlobals:x,globals:F,initialGlobals:C})}else{let{parameters:A}=this.storyStoreValue.projectAnnotations,{initialGlobals:v,globals:m}=this.storyStoreValue.userGlobals;if(this.channel.emit(_e,{globals:m,initialGlobals:v,storyGlobals:{},userGlobals:m}),cu(l)||((_=l.entry.tags)==null?void 0:_.includes(ja))){if(!l.csfFiles)throw new Er({storyId:a});({parameters:A}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:l.csfFiles[0]}))}this.channel.emit(jt,{id:a,parameters:A})}xn(l)?(le(!!l.story),this.storyRenders.push(l),this.currentRender.renderToElement(this.view.prepareForStory(l.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(e,{viewModeChanged:r=!1}={}){var o;this.storyRenders=this.storyRenders.filter(a=>a!==e),await((o=e==null?void 0:e.teardown)==null?void 0:o.call(e,{viewModeChanged:r}))}mainStoryCallbacks(e){return{showStoryDuringRender:n(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:n(()=>this.view.showMain(),"showMain"),showError:n(r=>this.renderError(e,r),"showError"),showException:n(r=>this.renderException(e,r),"showException")}}renderPreviewEntryError(e,r){super.renderPreviewEntryError(e,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Yr)}renderStoryLoadingException(e,r){O.error(r),this.view.showErrorDisplay(r),this.channel.emit(Yr,e)}renderException(e,r){let{name:o="Error",message:a=String(r),stack:s}=r;this.channel.emit(Jt,{name:o,message:a,stack:s}),this.channel.emit(we,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay(r),O.error(`Error rendering story '${e}':`),O.error(r)}renderError(e,{title:r,description:o}){O.error(`Error rendering story ${r}: ${o}`),this.channel.emit($t,{title:r,description:o}),this.channel.emit(we,{newPhase:"errored",storyId:e}),this.view.showErrorDisplay({message:r,stack:o})}};n(An,"PreviewWithSelection");var Ne=An,Lr=ue(At()),Xa=ue(At()),Ka=/^[a-zA-Z0-9 _-]*$/,Ja=/^-?[0-9]+(\.[0-9]+)?$/,ku=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,Qa=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,In=n((t="",e)=>t===null||t===""||!Ka.test(t)?!1:e==null||e instanceof Date||typeof e=="number"||typeof e=="boolean"?!0:typeof e=="string"?Ka.test(e)||Ja.test(e)||ku.test(e)||Qa.test(e):Array.isArray(e)?e.every(r=>In(t,r)):W(e)?Object.entries(e).every(([r,o])=>In(r,o)):!1,"validateArgs"),Lu={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(t){if(t.startsWith("!")){if(t==="!undefined")return;if(t==="!null")return null;if(t==="!true")return!0;if(t==="!false")return!1;if(t.startsWith("!date(")&&t.endsWith(")"))return new Date(t.replaceAll(" ","+").slice(6,-1));if(t.startsWith("!hex(")&&t.endsWith(")"))return`#${t.slice(5,-1)}`;let e=t.slice(1).match(Qa);if(e)return t.startsWith("!rgba")||t.startsWith("!RGBA")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]}, ${e[5]})`:t.startsWith("!hsla")||t.startsWith("!HSLA")?`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%, ${e[5]})`:t.startsWith("!rgb")||t.startsWith("!RGB")?`${e[1]}(${e[2]}, ${e[3]}, ${e[4]})`:`${e[1]}(${e[2]}, ${e[3]}%, ${e[4]}%)`}return Ja.test(t)?Number(t):t}},Fn=n(t=>{let e=t.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,Xa.parse)(e.join(";"),Lu)).reduce((r,[o,a])=>In(o,a)?Object.assign(r,{[o]:a}):(L.warn(P` + Omitted potentially unsafe URL args. + + More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url + `),r),{})},"parseArgsParam"),{history:Za,document:Ee}=R;function ju(t){let e=(t||"").match(/^\/story\/(.+)/);if(!e)throw new Error(`Invalid path '${t}', must start with '/story/'`);return e[1]}n(ju,"pathToId");var ei=n(({selection:t,extraParams:e})=>{let r=Ee==null?void 0:Ee.location.search.slice(1),{path:o,selectedKind:a,selectedStory:s,...i}=(0,Lr.parse)(r);return`?${(0,Lr.stringify)({...i,...e,...t&&{id:t.storyId,viewMode:t.viewMode}})}`},"getQueryString"),Mu=n(t=>{if(!t)return;let e=ei({selection:t}),{hash:r=""}=Ee.location;Ee.title=t.storyId,Za.replaceState({},"",`${Ee.location.pathname}${e}${r}`)},"setPath"),qu=n(t=>t!=null&&typeof t=="object"&&Array.isArray(t)===!1,"isObject"),kr=n(t=>{if(t!==void 0){if(typeof t=="string")return t;if(Array.isArray(t))return kr(t[0]);if(qu(t))return kr(Object.values(t).filter(Boolean))}},"getFirstString"),Uu=n(()=>{if(typeof Ee<"u"){let t=Ee.location.search.slice(1),e=(0,Lr.parse)(t),r=typeof e.args=="string"?Fn(e.args):void 0,o=typeof e.globals=="string"?Fn(e.globals):void 0,a=kr(e.viewMode);(typeof a!="string"||!a.match(/docs|story/))&&(a="story");let s=kr(e.path),i=s?ju(s):kr(e.id);if(i)return{storySpecifier:i,args:r,globals:o,viewMode:a}}return null},"getSelectionSpecifierFromPath"),Dn=class{constructor(){this.selectionSpecifier=Uu()}setSelection(e){this.selection=e,Mu(this.selection)}setQueryParams(e){let r=ei({extraParams:e}),{hash:o=""}=Ee.location;Za.replaceState({},"",`${Ee.location.pathname}${r}${o}`)}};n(Dn,"UrlStore");var je=Dn,Fi=ue(Ci()),Di=ue(At()),{document:H}=R,Oi=100,Ni=(t=>(t.MAIN="MAIN",t.NOPREVIEW="NOPREVIEW",t.PREPARING_STORY="PREPARING_STORY",t.PREPARING_DOCS="PREPARING_DOCS",t.ERROR="ERROR",t))(Ni||{}),Un={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Bn={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Ii=new Fi.default({escapeXML:!0}),Gn=class{constructor(){if(this.testing=!1,typeof H<"u"){let{__SPECIAL_TEST_PARAMETER__:e}=(0,Di.parse)(H.location.search.slice(1));switch(e){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(e){return this.showStory(),this.applyLayout(e.parameters.layout),H.documentElement.scrollTop=0,H.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return H.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),H.documentElement.scrollTop=0,H.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return H.getElementById("storybook-docs")}applyLayout(e="padded"){if(e==="none"){H.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(e);let r=Bn[e];H.body.classList.remove(this.currentLayoutClass),H.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(e){Bn[e]||O.warn(P` + The desired layout: ${e} is not a valid option. + The possible options are: ${Object.keys(Bn).join(", ")}, none. + `)}showMode(e){clearTimeout(this.preparingTimeout),Object.keys(Ni).forEach(r=>{r===e?H.body.classList.add(Un[r]):H.body.classList.remove(Un[r])})}showErrorDisplay({message:e="",stack:r=""}){let o=e,a=r,s=e.split(` +`);s.length>1&&([o]=s,a=s.slice(1).join(` +`).replace(/^\n/,"")),H.getElementById("error-message").innerHTML=Ii.toHtml(o),H.getElementById("error-stack").innerHTML=Ii.toHtml(a),this.showMode("ERROR")}showNoPreview(){var e,r;this.testing||(this.showMode("NOPREVIEW"),(e=this.storyRoot())==null||e.setAttribute("hidden","true"),(r=this.docsRoot())==null||r.setAttribute("hidden","true"))}showPreparingStory({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Oi)}showPreparingDocs({immediate:e=!1}={}){clearTimeout(this.preparingTimeout),e?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Oi)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){H.body.classList.add(Un.MAIN)}};n(Gn,"WebView");var qe=Gn,Vn=class extends Ne{constructor(e,r){super(e,r,new je,new qe),this.importFn=e,this.getProjectAnnotations=r,R.__STORYBOOK_PREVIEW__=this}};n(Vn,"PreviewWeb");var Mr=Vn,{document:Ue}=R,Rf=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],xf="script",ki="scripts-root";function qr(){let t=Ue.createEvent("Event");t.initEvent("DOMContentLoaded",!0,!0),Ue.dispatchEvent(t)}n(qr,"simulateDOMContentLoaded");function Af(t,e,r){let o=Ue.createElement("script");o.type=t.type==="module"?"module":"text/javascript",t.src?(o.onload=e,o.onerror=e,o.src=t.src):o.textContent=t.innerText,r?r.appendChild(o):Ue.head.appendChild(o),t.parentNode.removeChild(t),t.src||e()}n(Af,"insertScript");function Li(t,e,r=0){t[r](()=>{r++,r===t.length?e():Li(t,e,r)})}n(Li,"insertScriptsSequentially");function Hn(t){let e=Ue.getElementById(ki);e?e.innerHTML="":(e=Ue.createElement("div"),e.id=ki,Ue.body.appendChild(e));let r=Array.from(t.querySelectorAll(xf));if(r.length){let o=[];r.forEach(a=>{let s=a.getAttribute("type");(!s||Rf.includes(s))&&o.push(i=>Af(a,i,e))}),o.length&&Li(o,qr,void 0)}else qr()}n(Hn,"simulatePageLoad");var ji={"@storybook/global":Dt,"storybook/internal/channels":yr,"@storybook/channels":yr,"@storybook/core/channels":yr,"storybook/internal/client-logger":pr,"@storybook/client-logger":pr,"@storybook/core/client-logger":pr,"storybook/internal/core-events":fe,"@storybook/core-events":fe,"@storybook/core/core-events":fe,"storybook/internal/preview-errors":Pr,"@storybook/core-events/preview-errors":Pr,"@storybook/core/preview-errors":Pr,"storybook/internal/preview-api":Ur,"@storybook/preview-api":Ur,"@storybook/core/preview-api":Ur,"storybook/internal/types":mr,"@storybook/types":mr,"@storybook/core/types":mr},qi=ue(Mi()),$n;function _f(){var t;return $n||($n=new qi.default((t=R.navigator)==null?void 0:t.userAgent).getBrowserInfo()),$n}n(_f,"getBrowserInfo");function Ui(t){return t.browserInfo=_f(),t}n(Ui,"prepareForTelemetry");function wf(t){let e=t.error||t;e.fromStorybook&&R.sendTelemetryError(e)}n(wf,"errorListener");function vf({reason:t}){t.fromStorybook&&R.sendTelemetryError(t)}n(vf,"unhandledRejectionListener");function Pf(){Yn.forEach(t=>{R[to[t]]=ji[t]}),R.sendTelemetryError=t=>{R.__STORYBOOK_ADDONS_CHANNEL__.emit(eo,Ui(t))},R.addEventListener("error",wf),R.addEventListener("unhandledrejection",vf)}n(Pf,"setup");Pf();const{createBrowserChannel}=__STORYBOOK_MODULE_CHANNELS__,{addons}=__STORYBOOK_MODULE_PREVIEW_API__,channel=createBrowserChannel({page:"preview"});addons.setChannel(channel);window.__STORYBOOK_ADDONS_CHANNEL__=channel;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=channel);const importers={"./src/component/ActivityCalendar.stories.tsx":()=>__vitePreload(()=>import("./ActivityCalendar.stories-C9g7fSvG.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)};async function importFn(t){return await importers[t]()}Pf();const{composeConfigs,PreviewWeb,ClientApi}=__STORYBOOK_MODULE_PREVIEW_API__,getProjectAnnotations=async(t=[])=>{const e=await Promise.all([t[0]??__vitePreload(()=>import("./entry-preview-CQN1ic9T.js"),__vite__mapDeps([7,8,2]),import.meta.url),t[1]??__vitePreload(()=>import("./entry-preview-docs-CNTsbYAb.js"),__vite__mapDeps([9,8,10,2]),import.meta.url),t[2]??__vitePreload(()=>import("./preview-DjdjzdfI.js"),[],import.meta.url),t[3]??__vitePreload(()=>import("./preview-iUmqt_lp.js"),__vite__mapDeps([11,12]),import.meta.url),t[4]??__vitePreload(()=>import("./preview-Zk6Lo_wo.js"),[],import.meta.url),t[5]??__vitePreload(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),t[6]??__vitePreload(()=>import("./preview-DY_pW_WS.js"),__vite__mapDeps([13,12]),import.meta.url),t[7]??__vitePreload(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),t[8]??__vitePreload(()=>import("./preview-DFhThGZO.js"),__vite__mapDeps([14,4]),import.meta.url),t[9]??__vitePreload(()=>import("./preview-DarttgvO.js"),__vite__mapDeps([15,1,2,3,16,4,10,12,5,17]),import.meta.url)]);return composeConfigs(e)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new PreviewWeb(importFn,getProjectAnnotations);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{__vitePreload as _}; diff --git a/docs/assets/iframe-WubvJSwf.js b/docs/assets/iframe-WubvJSwf.js deleted file mode 100644 index 2ab86f7..0000000 --- a/docs/assets/iframe-WubvJSwf.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./ActivityCalendar.stories-B0XtHDce.js","./index-BoIHHXGu.js","./index-2yJIXLcc.js","./index-Bn05qqr6.js","./index-BriWrUx_.js","./index-DsjpCunK.js","./ActivityCalendar-CcM7Y7xD.css","./entry-preview-Dy0McKAY.js","./chunk-XP5HYGXS-BGCqD1aY.js","./entry-preview-docs-BXZNRgnm.js","./index-CHGET4sZ.js","./preview-D77C14du.js","./index-DrFu-skq.js","./preview-BWzBA1C2.js","./preview-xen1ADC0.js","./preview-Cm_IZhXa.js","./index-BZ6JnuF_.js","./preview-CaOl57EN.css"])))=>i.map(i=>d[i]); -import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const e of document.querySelectorAll('link[rel="modulepreload"]'))u(e);new MutationObserver(e=>{for(const r of e)if(r.type==="childList")for(const i of r.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&u(i)}).observe(document,{childList:!0,subtree:!0});function l(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),e.crossOrigin==="use-credentials"?r.credentials="include":e.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function u(e){if(e.ep)return;e.ep=!0;const r=l(e);fetch(e.href,r)}})();const R="modulepreload",T=function(t,_){return new URL(t,_).href},f={},n=function(_,l,u){let e=Promise.resolve();if(l&&l.length>0){const i=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),d=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));e=Promise.allSettled(l.map(s=>{if(s=T(s,u),s in f)return;f[s]=!0;const a=s.endsWith(".css"),p=a?'[rel="stylesheet"]':"";if(!!u)for(let O=i.length-1;O>=0;O--){const m=i[O];if(m.href===s&&(!a||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${s}"]${p}`))return;const c=document.createElement("link");if(c.rel=a?"stylesheet":R,a||(c.as="script"),c.crossOrigin="",c.href=s,d&&c.setAttribute("nonce",d),document.head.appendChild(c),a)return new Promise((O,m)=>{c.addEventListener("load",O),c.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${s}`)))})}))}function r(i){const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=i,window.dispatchEvent(o),!o.defaultPrevented)throw i}return e.then(i=>{for(const o of i||[])o.status==="rejected"&&r(o.reason);return _().catch(r)})},{createBrowserChannel:L}=__STORYBOOK_MODULE_CHANNELS__,{addons:S}=__STORYBOOK_MODULE_PREVIEW_API__,E=L({page:"preview"});S.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const P={"./src/component/ActivityCalendar.stories.tsx":async()=>n(()=>import("./ActivityCalendar.stories-B0XtHDce.js"),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)};async function y(t){return P[t]()}const{composeConfigs:w,PreviewWeb:I,ClientApi:v}=__STORYBOOK_MODULE_PREVIEW_API__,g=async(t=[])=>{const _=await Promise.all([t[0]??n(()=>import("./entry-preview-Dy0McKAY.js"),__vite__mapDeps([7,8,2]),import.meta.url),t[1]??n(()=>import("./entry-preview-docs-BXZNRgnm.js"),__vite__mapDeps([9,8,10,2]),import.meta.url),t[2]??n(()=>import("./preview-D1OnRonx.js"),[],import.meta.url),t[3]??n(()=>import("./preview-D77C14du.js"),__vite__mapDeps([11,12]),import.meta.url),t[4]??n(()=>import("./preview-DFmD0pui.js"),[],import.meta.url),t[5]??n(()=>import("./preview-CFgKly6U.js"),[],import.meta.url),t[6]??n(()=>import("./preview-BWzBA1C2.js"),__vite__mapDeps([13,12]),import.meta.url),t[7]??n(()=>import("./preview-DGUiP6tS.js"),[],import.meta.url),t[8]??n(()=>import("./preview-xen1ADC0.js"),__vite__mapDeps([14,4]),import.meta.url),t[9]??n(()=>import("./preview-Cm_IZhXa.js"),__vite__mapDeps([15,1,2,3,16,4,10,12,5,17]),import.meta.url)]);return w(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new I(y,g);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{n as _}; diff --git a/docs/assets/index-2yJIXLcc.js b/docs/assets/index-2yJIXLcc.js deleted file mode 100644 index 8f219a2..0000000 --- a/docs/assets/index-2yJIXLcc.js +++ /dev/null @@ -1,9 +0,0 @@ -function J(p,d){for(var v=0;vl[_]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}function V(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var S={exports:{}},o={};/** - * @license React - * react.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var x;function F(){if(x)return o;x=1;var p=Symbol.for("react.transitional.element"),d=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),D=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),h=Symbol.iterator;function G(t){return t===null||typeof t!="object"?null:(t=h&&t[h]||t["@@iterator"],typeof t=="function"?t:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,H={};function y(t,e,r){this.props=t,this.context=e,this.refs=H,this.updater=r||j}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function $(){}$.prototype=y.prototype;function m(t,e,r){this.props=t,this.context=e,this.refs=H,this.updater=r||j}var C=m.prototype=new $;C.constructor=m,P(C,y.prototype),C.isPureReactComponent=!0;var N=Array.isArray,i={H:null,A:null,T:null,S:null},b=Object.prototype.hasOwnProperty;function g(t,e,r,n,s,f){return r=f.ref,{$$typeof:p,type:t,key:e,ref:r!==void 0?r:null,props:f}}function K(t,e){return g(t.type,e,void 0,void 0,void 0,t.props)}function w(t){return typeof t=="object"&&t!==null&&t.$$typeof===p}function B(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(r){return e[r]})}var Y=/\/+/g;function A(t,e){return typeof t=="object"&&t!==null&&t.key!=null?B(""+t.key):e.toString(36)}function M(){}function W(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(M,M):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function E(t,e,r,n,s){var f=typeof t;(f==="undefined"||f==="boolean")&&(t=null);var u=!1;if(t===null)u=!0;else switch(f){case"bigint":case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case p:case d:u=!0;break;case O:return u=t._init,E(u(t._payload),e,r,n,s)}}if(u)return s=s(t),u=n===""?"."+A(t,0):n,N(s)?(r="",u!=null&&(r=u.replace(Y,"$&/")+"/"),E(s,e,r,"",function(Z){return Z})):s!=null&&(w(s)&&(s=K(s,r+(s.key==null||t&&t.key===s.key?"":(""+s.key).replace(Y,"$&/")+"/")+u)),e.push(s)),1;u=0;var a=n===""?".":n+":";if(N(t))for(var c=0;ci.map(i=>d[i]); +var vE=Object.defineProperty;var yE=(e,t,r)=>t in e?vE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var sn=(e,t,r)=>yE(e,typeof t!="symbol"?t+"":t,r);import{_ as J2}from"./iframe-C46LtgJg.js";import{r as l,R as v}from"./index-CZMpeKRu.js";import{T as F,b as Yn,g as $c,s as X2,a as wE,H as Lp,r as vi,j as W,M as Q2,y as da,c as ev,d as tv,z as bE,N as Mp,p as EE}from"./index-Dja51o-9.js";import{O as rv,P as DE}from"./index-BfiLiMku.js";import{y as Op,g as ys}from"./index-NOh9rqHv.js";import{d as xE}from"./index-ogSvIofg.js";var CE=Object.create,yi=Object.defineProperty,SE=Object.getOwnPropertyDescriptor,kE=Object.getOwnPropertyNames,AE=Object.getPrototypeOf,FE=Object.prototype.hasOwnProperty,s=(e,t)=>yi(e,"name",{value:t,configurable:!0}),Oo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),R=(e,t)=>()=>(e&&(t=e(e=0)),t),H=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Zn=(e,t)=>{for(var r in t)yi(e,r,{get:t[r],enumerable:!0})},_E=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of kE(t))!FE.call(e,a)&&a!==r&&yi(e,a,{get:()=>t[a],enumerable:!(n=SE(t,a))||n.enumerable});return e},me=(e,t,r)=>(r=e!=null?CE(AE(e)):{},_E(t||!e||!e.__esModule?yi(r,"default",{value:e,enumerable:!0}):r,e));function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s(G,"_extends")});function nv(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var BE=R(()=>{s(nv,"_assertThisInitialized")});function On(e,t){return On=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},On(e,t)}var Bd=R(()=>{s(On,"_setPrototypeOf")});function Tl(e){return Tl=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Tl(e)}var IE=R(()=>{s(Tl,"_getPrototypeOf")}),wi,Id=R(()=>{wi=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),bi=H((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var g=typeof Oo=="function"&&Oo;if(!p&&g)return g(d,!0);if(u)return u(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(y){var m=n[d][1][y];return i(m||y)},f,f.exports,r,n,a,o)}return a[d].exports}s(i,"s");for(var u=typeof Oo=="function"&&Oo,c=0;c=0)return this.lastItem=this.list[u],this.list[u].val},o.prototype.set=function(i,u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},o.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},o.prototype.forEach=function(i,u){var c;for(c=0;c0&&(D[x]={cacheItem:y,arg:arguments[x]},E?i(g,D):g.push(D),g.length>d&&u(g.shift())),f.wasMemoized=E,f.numArgs=x+1,b},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=g,f}};function i(d,p){var g=d.length,h=p.length,f,y,m;for(y=0;y=0&&(g=d[f],h=g.cacheItem.get(g.arg),!h||!h.size);f--)g.cacheItem.delete(g.arg)}s(u,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}s(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function Ei(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var Rd=R(()=>{s(Ei,"_objectWithoutPropertiesLoose")});function av(e,t){if(e==null)return{};var r,n,a=Ei(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var RE=R(()=>{Rd(),s(av,"_objectWithoutProperties")});function Ll(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{s(Ll,"_arrayLikeToArray")});function lv(e){if(Array.isArray(e))return Ll(e)}var zE=R(()=>{ov(),s(lv,"_arrayWithoutHoles")});function iv(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var TE=R(()=>{s(iv,"_iterableToArray")});function sv(e,t){if(e){if(typeof e=="string")return Ll(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ll(e,t):void 0}}var LE=R(()=>{ov(),s(sv,"_unsupportedIterableToArray")});function uv(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var ME=R(()=>{s(uv,"_nonIterableSpread")});function cv(e){return lv(e)||iv(e)||sv(e)||uv()}var OE=R(()=>{zE(),TE(),LE(),ME(),s(cv,"_toConsumableArray")});function Pn(e){"@babel/helpers - typeof";return Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pn(e)}var dv=R(()=>{s(Pn,"_typeof")});function pv(e,t){if(Pn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Pn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var PE=R(()=>{dv(),s(pv,"toPrimitive")});function fv(e){var t=pv(e,"string");return Pn(t)=="symbol"?t:t+""}var NE=R(()=>{dv(),PE(),s(fv,"toPropertyKey")});function zd(e,t,r){return(t=fv(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hv=R(()=>{NE(),s(zd,"_defineProperty")});function jc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Rr(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function gv(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return hl[t]||(hl[t]=mv(e)),hl[t]}function vv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=gv(n);return a.reduce(function(o,i){return Rr(Rr({},o),r[i])},t)}function Vc(e){return e.join(" ")}function yv(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return Di({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function Di(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,i=e.key,u=t.properties,c=t.type,d=t.tagName,p=t.value;if(c==="text")return p;if(d){var g=yv(r,o),h;if(!o)h=Rr(Rr({},u),{},{className:Vc(u.className)});else{var f=Object.keys(r).reduce(function(x,D){return D.split(".").forEach(function(E){x.includes(E)||x.push(E)}),x},[]),y=u.className&&u.className.includes("token")?["token"]:[],m=u.className&&y.concat(u.className.filter(function(x){return!f.includes(x)}));h=Rr(Rr({},u),{},{className:Vc(m)||void 0,style:vv(u.className,Object.assign({},u.style,a),r)})}var b=g(t.children);return v.createElement(d,G({key:i},h),b)}}var hl,wv=R(()=>{rt(),hv(),s(jc,"ownKeys"),s(Rr,"_objectSpread"),s(mv,"powerSetPermutations"),hl={},s(gv,"getClassNameCombinations"),s(vv,"createStyleObject"),s(Vc,"createClassNameString"),s(yv,"createChildren"),s(Di,"createElement")}),bv,HE=R(()=>{bv=s(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function qc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return $a({children:C,lineNumber:S,lineNumberStyle:u,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:c})}s(y,"createWrappedLine");function m(C,S){if(n&&S&&a){var A=Ld(u,S,i);C.unshift(Td(S,A))}return C}s(m,"createUnwrappedLine");function b(C,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?y(C,S,A):m(C,S)}s(b,"createLine");for(var x=s(function(){var C=p[f],S=C.children[0].value,A=Ev(S);if(A){var k=S.split(` +`);k.forEach(function(_,B){var I=n&&g.length+o,z={type:"text",value:"".concat(_,` +`)};if(B===0){var T=p.slice(h+1,f).concat($a({children:[z],className:C.properties.className})),M=b(T,I);g.push(M)}else if(B===k.length-1){var L=p[f+1]&&p[f+1].children&&p[f+1].children[0],O={type:"text",value:"".concat(_)};if(L){var N=$a({children:[O],className:C.properties.className});p.splice(f+1,0,N)}else{var $=[O],j=b($,I,C.properties.className);g.push(j)}}else{var U=[z],Z=b(U,I,C.properties.className);g.push(Z)}}),h=f}f++},"_loop");f{RE(),OE(),hv(),wv(),HE(),_v=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],s(qc,"ownKeys"),s(Ge,"_objectSpread"),Bv=/\n/g,s(Ev,"getNewLines"),s(Dv,"getAllLineNumbers"),s(xv,"AllLineNumbers"),s(Cv,"getEmWidthOfNumber"),s(Td,"getInlineLineNumber"),s(Ld,"assembleLineNumberStyles"),s($a,"createLineElement"),s(Md,"flattenCodeTree"),s(Sv,"processLines"),s(kv,"defaultRenderer"),s(Od,"isHighlightJs"),s(Av,"getCodeTree"),s(Fv,"default")}),jE=H((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}s(n,"Schema")}),VE=H((e,t)=>{var r=jE(),n=Iv();t.exports=a;function a(o){for(var i=o.length,u=[],c=[],d=-1,p,g;++d{t.exports=r;function r(n){return n.toLowerCase()}s(r,"normalize")}),Rv=H((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}s(n,"Info")}),Nd=H(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}s(r,"increment")}),zv=H((e,t)=>{var r=Rv(),n=Nd();t.exports=i,i.prototype=new r,i.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function i(c,d,p,g){var h=-1,f;for(u(this,"space",g),r.call(this,c,d);++h{var r=Pd(),n=Iv(),a=zv();t.exports=o;function o(i){var u=i.space,c=i.mustUseProperty||[],d=i.attributes||{},p=i.properties,g=i.transform,h={},f={},y,m;for(y in p)m=new a(y,g(d,y),p[y],u),c.indexOf(y)!==-1&&(m.mustUseProperty=!0),h[y]=m,f[r(y)]=y,f[r(m.attribute)]=y;return new n(h,f,u)}s(o,"create")}),qE=H((e,t)=>{var r=ho();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}s(n,"xlinkTransform")}),UE=H((e,t)=>{var r=ho();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}s(n,"xmlTransform")}),WE=H((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}s(r,"caseSensitiveTransform")}),Tv=H((e,t)=>{var r=WE();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}s(n,"caseInsensitiveTransform")}),GE=H((e,t)=>{var r=ho(),n=Tv();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),KE=H((e,t)=>{var r=Nd(),n=ho(),a=r.booleanish,o=r.number,i=r.spaceSeparated;t.exports=n({transform:u,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:i,ariaCurrent:null,ariaDescribedBy:i,ariaDetails:null,ariaDisabled:a,ariaDropEffect:i,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:i,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:i,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:i,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:i,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function u(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}s(u,"ariaTransform")}),YE=H((e,t)=>{var r=Nd(),n=ho(),a=Tv(),o=r.boolean,i=r.overloadedBoolean,u=r.booleanish,c=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:d,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:i,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:p,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),ZE=H((e,t)=>{var r=VE(),n=qE(),a=UE(),o=GE(),i=KE(),u=YE();t.exports=r([a,n,o,i,u])}),JE=H((e,t)=>{var r=Pd(),n=zv(),a=Rv(),o="data";t.exports=d;var i=/^data[-\w.:]+$/i,u=/-[a-z]/g,c=/[A-Z]/g;function d(y,m){var b=r(m),x=m,D=a;return b in y.normal?y.property[y.normal[b]]:(b.length>4&&b.slice(0,4)===o&&i.test(m)&&(m.charAt(4)==="-"?x=p(m):m=g(m),D=n),new D(x,m))}s(d,"find");function p(y){var m=y.slice(5).replace(u,f);return o+m.charAt(0).toUpperCase()+m.slice(1)}s(p,"datasetToProperty");function g(y){var m=y.slice(4);return u.test(m)?y:(m=m.replace(c,h),m.charAt(0)!=="-"&&(m="-"+m),o+m)}s(g,"datasetToAttribute");function h(y){return"-"+y.toLowerCase()}s(h,"kebab");function f(y){return y.charAt(1).toUpperCase()}s(f,"camelcase")}),XE=H((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var i=a||"",u=o||"div",c={},d=0,p,g,h;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(i){var u=String(i||t).trim();return u===t?[]:u.split(n)}s(a,"parse");function o(i){return i.join(r).trim()}s(o,"stringify")}),eD=H(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(i){for(var u=[],c=String(i||n),d=c.indexOf(t),p=0,g=!1,h;!g;)d===-1&&(d=c.length,g=!0),h=c.slice(p,d).trim(),(h||!g)&&u.push(h),p=d+1,d=c.indexOf(t,p);return u}s(a,"parse");function o(i,u){var c=u||{},d=c.padLeft===!1?n:r,p=c.padRight?r:n;return i[i.length-1]===n&&(i=i.concat(n)),i.join(p+t+d).trim()}s(o,"stringify")}),tD=H((e,t)=>{var r=JE(),n=Pd(),a=XE(),o=QE().parse,i=eD().parse;t.exports=c;var u={}.hasOwnProperty;function c(b,x,D){var E=D?m(D):null;return w;function w(S,A){var k=a(S,x),_=Array.prototype.slice.call(arguments,2),B=k.tagName.toLowerCase(),I;if(k.tagName=E&&u.call(E,B)?E[B]:B,A&&d(A,k)&&(_.unshift(A),A=null),A)for(I in A)C(k.properties,I,A[I]);return g(k.children,_),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function C(S,A,k){var _,B,I;k==null||k!==k||(_=r(b,A),B=_.property,I=k,typeof I=="string"&&(_.spaceSeparated?I=o(I):_.commaSeparated?I=i(I):_.commaOrSpaceSeparated&&(I=o(i(I).join(" ")))),B==="style"&&typeof k!="string"&&(I=y(I)),B==="className"&&S.className&&(I=S.className.concat(I)),S[B]=h(_,B,I))}}s(c,"factory");function d(b,x){return typeof b=="string"||"length"in b||p(x.tagName,b)}s(d,"isChildren");function p(b,x){var D=x.type;return b==="input"||!D||typeof D!="string"?!1:typeof x.children=="object"&&"length"in x.children?!0:(D=D.toLowerCase(),b==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in x)}s(p,"isNode");function g(b,x){var D,E;if(typeof x=="string"||typeof x=="number"){b.push({type:"text",value:String(x)});return}if(typeof x=="object"&&"length"in x){for(D=-1,E=x.length;++D{var r=ZE(),n=tD(),a=n(r,"div");a.displayName="html",t.exports=a}),nD=H((e,t)=>{t.exports=rD()}),aD=H((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),oD=H((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Lv=H((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}s(r,"decimal")}),lD=H((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}s(r,"hexadecimal")}),iD=H((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}s(r,"alphabetical")}),sD=H((e,t)=>{var r=iD(),n=Lv();t.exports=a;function a(o){return r(o)||n(o)}s(a,"alphanumerical")}),uD=H((e,t)=>{var r,n=59;t.exports=a;function a(o){var i="&"+o+";",u;return r=r||document.createElement("i"),r.innerHTML=i,u=r.textContent,u.charCodeAt(u.length-1)===n&&o!=="semi"||u===i?!1:u}s(a,"decodeEntity")}),cD=H((e,t)=>{var r=aD(),n=oD(),a=Lv(),o=lD(),i=sD(),u=uD();t.exports=Z;var c={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,y=12,m=32,b=38,x=59,D=60,E=61,w=35,C=88,S=120,A=65533,k="named",_="hexadecimal",B="decimal",I={};I[_]=16,I[B]=10;var z={};z[k]=i,z[B]=a,z[_]=o;var T=1,M=2,L=3,O=4,N=5,$=6,j=7,U={};U[T]="Named character references must be terminated by a semicolon",U[M]="Numeric character references must be terminated by a semicolon",U[L]="Named character references cannot be empty",U[O]="Numeric character references cannot be empty",U[N]="Named character references must be known",U[$]="Numeric character references cannot be disallowed",U[j]="Numeric character references cannot be outside the permissible Unicode range";function Z(P,K){var J={},ge,Be;K||(K={});for(Be in g)ge=K[Be],J[Be]=ge??g[Be];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),re(P,J)}s(Z,"parseEntities");function re(P,K){var J=K.additional,ge=K.nonTerminated,Be=K.text,gr=K.reference,lt=K.warning,qt=K.textContext,nn=K.referenceContext,vr=K.warningContext,ia=K.position,zo=K.indent||[],an=P.length,it=0,To=-1,Ee=ia.column||1,yr=ia.line||1,st="",on=[],ut,ln,ct,ve,Ve,de,oe,dt,Lo,gs,wr,sa,br,_t,Ip,ua,Mo,pt,pe;for(typeof J=="string"&&(J=J.charCodeAt(0)),ua=ca(),dt=lt?gE:p,it--,an++;++it65535&&(de-=65536,gs+=d(de>>>10|55296),de=56320|de&1023),de=gs+d(de))):_t!==k&&dt(O,pt)),de?(Rp(),ua=ca(),it=pe-1,Ee+=pe-br+1,on.push(de),Mo=ca(),Mo.offset++,gr&&gr.call(nn,de,{start:ua,end:Mo},P.slice(br-1,pe)),ua=Mo):(ve=P.slice(br-1,pe),st+=ve,Ee+=ve.length,it=pe-1)}else Ve===10&&(yr++,To++,Ee=0),Ve===Ve?(st+=d(Ve),Ee++):Rp();return on.join("");function ca(){return{line:yr,column:Ee,offset:it+(ia.offset||0)}}function gE(zp,Tp){var vs=ca();vs.column+=Tp,vs.offset+=Tp,lt.call(vr,U[zp],vs,zp)}function Rp(){st&&(on.push(st),Be&&Be.call(qt,st,{start:ua,end:ca()}),st="")}}s(re,"parse");function Y(P){return P>=55296&&P<=57343||P>1114111}s(Y,"prohibited");function ae(P){return P>=1&&P<=8||P===11||P>=13&&P<=31||P>=127&&P<=159||P>=64976&&P<=65007||(P&65535)===65535||(P&65535)===65534}s(ae,"disallowed")}),dD=H((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,i=0,u={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:s(function E(w){return w instanceof d?new d(w.type,E(w.content),w.alias):Array.isArray(w)?w.map(E):w.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var w=document.getElementsByTagName("script");for(var C in w)if(w[C].src==E)return w[C]}return null}},"currentScript"),isActive:s(function(E,w,C){for(var S="no-"+w;E;){var A=E.classList;if(A.contains(w))return!0;if(A.contains(S))return!1;E=E.parentElement}return!!C},"isActive")},languages:{plain:u,plaintext:u,text:u,txt:u,extend:s(function(E,w){var C=c.util.clone(c.languages[E]);for(var S in w)C[S]=w[S];return C},"extend"),insertBefore:s(function(E,w,C,S){S=S||c.languages;var A=S[E],k={};for(var _ in A)if(A.hasOwnProperty(_)){if(_==w)for(var B in C)C.hasOwnProperty(B)&&(k[B]=C[B]);C.hasOwnProperty(_)||(k[_]=A[_])}var I=S[E];return S[E]=k,c.languages.DFS(c.languages,function(z,T){T===I&&z!=E&&(this[z]=k)}),k},"insertBefore"),DFS:s(function E(w,C,S,A){A=A||{};var k=c.util.objId;for(var _ in w)if(w.hasOwnProperty(_)){C.call(w,_,w[_],S||_);var B=w[_],I=c.util.type(B);I==="Object"&&!A[k(B)]?(A[k(B)]=!0,E(B,C,null,A)):I==="Array"&&!A[k(B)]&&(A[k(B)]=!0,E(B,C,_,A))}},"DFS")},plugins:{},highlightAll:s(function(E,w){c.highlightAllUnder(document,E,w)},"highlightAll"),highlightAllUnder:s(function(E,w,C){var S={callback:C,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var A=0,k;k=S.elements[A++];)c.highlightElement(k,w===!0,S.callback)},"highlightAllUnder"),highlightElement:s(function(E,w,C){var S=c.util.getLanguage(E),A=c.languages[S];c.util.setLanguage(E,S);var k=E.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(k,S);var _=E.textContent,B={element:E,language:S,grammar:A,code:_};function I(T){B.highlightedCode=T,c.hooks.run("before-insert",B),B.element.innerHTML=B.highlightedCode,c.hooks.run("after-highlight",B),c.hooks.run("complete",B),C&&C.call(B.element)}if(s(I,"insertHighlightedCode"),c.hooks.run("before-sanity-check",B),k=B.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!B.code){c.hooks.run("complete",B),C&&C.call(B.element);return}if(c.hooks.run("before-highlight",B),!B.grammar){I(c.util.encode(B.code));return}if(w&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(T){I(T.data)},z.postMessage(JSON.stringify({language:B.language,code:B.code,immediateClose:!0}))}else I(c.highlight(B.code,B.grammar,B.language))},"highlightElement"),highlight:s(function(E,w,C){var S={code:E,grammar:w,language:C};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:s(function(E,w){var C=w.rest;if(C){for(var S in C)w[S]=C[S];delete w.rest}var A=new h;return f(A,A.head,E),g(E,A,w,A.head,0),m(A)},"tokenize"),hooks:{all:{},add:s(function(E,w){var C=c.hooks.all;C[E]=C[E]||[],C[E].push(w)},"add"),run:s(function(E,w){var C=c.hooks.all[E];if(!(!C||!C.length))for(var S=0,A;A=C[S++];)A(w)},"run")},Token:d};a.Prism=c;function d(E,w,C,S){this.type=E,this.content=w,this.alias=C,this.length=(S||"").length|0}s(d,"Token"),d.stringify=s(function E(w,C){if(typeof w=="string")return w;if(Array.isArray(w)){var S="";return w.forEach(function(I){S+=E(I,C)}),S}var A={type:w.type,content:E(w.content,C),tag:"span",classes:["token",w.type],attributes:{},language:C},k=w.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(A.classes,k):A.classes.push(k)),c.hooks.run("wrap",A);var _="";for(var B in A.attributes)_+=" "+B+'="'+(A.attributes[B]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+_+">"+A.content+""},"stringify");function p(E,w,C,S){E.lastIndex=w;var A=E.exec(C);if(A&&S&&A[1]){var k=A[1].length;A.index+=k,A[0]=A[0].slice(k)}return A}s(p,"matchPattern");function g(E,w,C,S,A,k){for(var _ in C)if(!(!C.hasOwnProperty(_)||!C[_])){var B=C[_];B=Array.isArray(B)?B:[B];for(var I=0;I=k.reach);U+=j.value.length,j=j.next){var Z=j.value;if(w.length>E.length)return;if(!(Z instanceof d)){var re=1,Y;if(L){if(Y=p($,U,E,M),!Y||Y.index>=E.length)break;var J=Y.index,ae=Y.index+Y[0].length,P=U;for(P+=j.value.length;J>=P;)j=j.next,P+=j.value.length;if(P-=j.value.length,U=P,j.value instanceof d)continue;for(var K=j;K!==w.tail&&(Pk.reach&&(k.reach=lt);var qt=j.prev;Be&&(qt=f(w,qt,Be),U+=Be.length),y(w,qt,re);var nn=new d(_,T?c.tokenize(ge,T):ge,O,ge);if(j=f(w,qt,nn),gr&&f(w,j,gr),re>1){var vr={cause:_+","+I,reach:lt};g(E,w,C,j.prev,U,vr),k&&vr.reach>k.reach&&(k.reach=vr.reach)}}}}}}s(g,"matchGrammar");function h(){var E={value:null,prev:null,next:null},w={value:null,prev:E,next:null};E.next=w,this.head=E,this.tail=w,this.length=0}s(h,"LinkedList");function f(E,w,C){var S=w.next,A={value:C,prev:w,next:S};return w.next=A,S.prev=A,E.length++,A}s(f,"addAfter");function y(E,w,C){for(var S=w.next,A=0;A{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:s(function(a,o){var i={};i["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},i.cdata=/^$/i;var u={"included-cdata":{pattern://i,inside:i}};u["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:u},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:s(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}s(r,"markup")}),Ov=H((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var i=a.languages.markup;i&&(i.tag.addInlined("style","css"),i.tag.addAttribute("style","css"))})(n)}s(r,"css")}),pD=H((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}s(r,"clike")}),fD=H((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}s(r,"javascript")}),hD=H((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=A();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=nD(),o=cD(),i=dD(),u=Mv(),c=Ov(),d=pD(),p=fD();n();var g={}.hasOwnProperty;function h(){}s(h,"Refractor"),h.prototype=i;var f=new h;t.exports=f,f.highlight=b,f.register=y,f.alias=m,f.registered=x,f.listLanguages=D,y(u),y(c),y(d),y(p),f.util.encode=C,f.Token.stringify=E;function y(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");f.languages[k.displayName]===void 0&&k(f)}s(y,"register");function m(k,_){var B=f.languages,I=k,z,T,M,L;_&&(I={},I[k]=_);for(z in I)for(T=I[z],T=typeof T=="string"?[T]:T,M=T.length,L=-1;++L{$E(),Po=me(hD()),No=Fv(Po.default,{}),No.registerLanguage=function(e,t){return Po.default.register(t)},No.alias=function(e,t){return Po.default.alias(e,t)},ml=No}),gD=R(()=>{wv()}),vD=H((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",i={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:i,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:i}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:u.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},i.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=u.variable[1].inside,p=0;p{Pp=me(vD()),Pv=Pp.default}),Np,Nv,wD=R(()=>{Np=me(Ov()),Nv=Np.default}),bD=H((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",s(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),i=0;function u(D){return o[i+D]}s(u,"getToken");function c(D,E){E=E||0;for(var w=0;w0)){var m=d(/^\{$/,/^\}$/);if(m===-1)continue;for(var b=i;b=0&&p(x,"variable-input")}}}}},"afterTokenizeGraphql"))}s(r,"graphql")}),Hp,Hv,ED=R(()=>{Hp=me(bD()),Hv=Hp.default}),DD=H((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(g,h){return RegExp(g.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}s(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var i=["function","function-variable","method","method-variable","property-access"],u=0;u{$p=me(DD()),$v=$p.default}),CD=H((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}s(r,"json")}),jp,jv,SD=R(()=>{jp=me(CD()),jv=jp.default}),Vv=H((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),i=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,u=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return i}).replace(//g,function(){return u}).replace(//g,function(){return c}),RegExp(h,f)}s(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=s(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),g=s(function(h){for(var f=[],y=0;y0&&f[f.length-1].tagName===p(m.content[0].content[1])&&f.pop():m.content[m.content.length-1].content==="/>"||f.push({tagName:p(m.content[0].content[1]),openedBraces:0}):f.length>0&&m.type==="punctuation"&&m.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?f[f.length-1].openedBraces--:b=!0),(b||typeof m=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(m);y0&&(typeof h[y-1]=="string"||h[y-1].type==="plain-text")&&(x=p(h[y-1])+x,h.splice(y-1,1),y--),h[y]=new a.Token("plain-text",x,null,x)}m.content&&typeof m.content!="string"&&g(m.content)}},"walkTokens");a.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||g(h.tokens)})})(n)}s(r,"jsx")}),Vp,qv,kD=R(()=>{Vp=me(Vv()),qv=Vp.default}),AD=H((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function i(y){return y=y.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}s(i,"createInline");var u=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return u}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(u),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(u),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:i(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:i(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:i(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:i(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(y){["url","bold","italic","strike","code-snippet"].forEach(function(m){y!==m&&(a.languages.markdown[y].inside.content.inside[m]=a.languages.markdown[m])})}),a.hooks.add("after-tokenize",function(y){if(y.language!=="markdown"&&y.language!=="md")return;function m(b){if(!(!b||typeof b=="string"))for(var x=0,D=b.length;x",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(y){var m=y.replace(p,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(b,x){if(x=x.toLowerCase(),x[0]==="#"){var D;return x[1]==="x"?D=parseInt(x.slice(2),16):D=Number(x.slice(1)),h(D)}else{var E=g[x];return E||b}}),m}s(f,"textContent"),a.languages.md=a.languages.markdown})(n)}s(r,"markdown")}),qp,Uv,FD=R(()=>{qp=me(AD()),Uv=qp.default}),Up,Wv,_D=R(()=>{Up=me(Mv()),Wv=Up.default}),Gv=H((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}s(r,"typescript")}),BD=H((e,t)=>{var r=Vv(),n=Gv();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(i){var u=i.util.clone(i.languages.typescript);i.languages.tsx=i.languages.extend("jsx",u),delete i.languages.tsx.parameter,delete i.languages.tsx["literal-property"];var c=i.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}s(a,"tsx")}),Wp,Kv,ID=R(()=>{Wp=me(BD()),Kv=Wp.default}),Gp,Yv,RD=R(()=>{Gp=me(Gv()),Yv=Gp.default}),zD=H((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,i=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+i.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+i.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(g,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return g});return RegExp(f,h)}s(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:i,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}s(r,"yaml")}),Kp,Zv,TD=R(()=>{Kp=me(zD()),Zv=Kp.default}),Yp,ws,xi,Jv=R(()=>{Yp=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),ws=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),ws.displayName="ActionButton",xi=s(({actionItems:e,...t})=>v.createElement(Yp,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},i)=>v.createElement(ws,{key:i,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function Xv(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Qv(...e){return t=>e.forEach(r=>Xv(r,t))}var LD=R(()=>{s(Xv,"setRef"),s(Qv,"composeRefs")});function Zp(e){return l.isValidElement(e)&&e.type===e4}function Jp(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function Xp(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ml,Ho,e4,t4=R(()=>{LD(),Ml=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Zp);if(o){let i=o.props.children,u=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return W.jsx(Ho,{...n,ref:t,children:l.isValidElement(i)?l.cloneElement(i,void 0,u):null})}return W.jsx(Ho,{...n,ref:t,children:r})}),Ml.displayName="Slot",Ho=l.forwardRef((e,t)=>{let{children:r,...n}=e;if(l.isValidElement(r)){let a=Xp(r);return l.cloneElement(r,{...Jp(n,r.props),ref:t?Qv(t,a):a})}return l.Children.count(r)>1?l.Children.only(null):null}),Ho.displayName="SlotClone",e4=s(({children:e})=>W.jsx(W.Fragment,{children:e}),"Slottable"),s(Zp,"isSlottable"),s(Jp,"mergeProps"),s(Xp,"getElementRef")}),Qp,vn,MD=R(()=>{t4(),Qp=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],vn=Qp.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,u=o?Ml:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),W.jsx(u,{...i,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function r4(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function n4(...e){return t=>e.forEach(r=>r4(r,t))}function Zt(...e){return l.useCallback(n4(...e),e)}var a4=R(()=>{s(r4,"setRef"),s(n4,"composeRefs"),s(Zt,"useComposedRefs")}),Ol,o4=R(()=>{Ol=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{}});function l4(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function ef(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[u,c]=l4(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=_a(n.current);o.current=u==="mounted"?d:"none"},[u]),Ol(()=>{let d=n.current,p=a.current;if(p!==e){let g=o.current,h=_a(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&g!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Ol(()=>{if(t){let d=s(g=>{let h=_a(n.current).includes(g.animationName);g.target===t&&h&&vi.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=s(g=>{g.target===t&&(o.current=_a(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function _a(e){return(e==null?void 0:e.animationName)||"none"}function tf(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var xn,OD=R(()=>{"use client";a4(),o4(),s(l4,"useStateMachine"),xn=s(e=>{let{present:t,children:r}=e,n=ef(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=Zt(n.ref,tf(a));return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"Presence"),xn.displayName="Presence",s(ef,"usePresence"),s(_a,"getAnimationName"),s(tf,"getElementRef")});function i4(e,t=[]){let r=[];function n(o,i){let u=l.createContext(i),c=r.length;r=[...r,i];function d(g){let{scope:h,children:f,...y}=g,m=(h==null?void 0:h[e][c])||u,b=l.useMemo(()=>y,Object.values(y));return W.jsx(m.Provider,{value:b,children:f})}s(d,"Provider");function p(g,h){let f=(h==null?void 0:h[e][c])||u,y=l.useContext(f);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${o}\``)}return s(p,"useContext2"),d.displayName=o+"Provider",[d,p]}s(n,"createContext3");let a=s(()=>{let o=r.map(i=>l.createContext(i));return s(function(i){let u=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:u}}),[i,u])},"useScope")},"createScope");return a.scopeName=e,[n,s4(a,...t)]}function s4(...e){let t=e[0];if(e.length===1)return t;let r=s(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return s(function(a){let o=n.reduce((i,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var PD=R(()=>{s(i4,"createContextScope"),s(s4,"composeContextScopes")});function Qt(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var ND=R(()=>{s(Qt,"useCallbackRef")});function u4(e){let t=l.useContext(c4);return e||t||"ltr"}var c4,HD=R(()=>{c4=l.createContext(void 0),s(u4,"useDirection")});function d4(e,[t,r]){return Math.min(r,Math.max(t,e))}var $D=R(()=>{s(d4,"clamp")});function Kt(e,t,{checkForDefaultPrevented:r=!0}={}){return s(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var jD=R(()=>{s(Kt,"composeEventHandlers")});function rf(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}function pa(e){return e?parseInt(e,10):0}function Uc(e,t){let r=e/t;return isNaN(r)?0:r}function ja(e){let t=Uc(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function nf(e,t,r,n="ltr"){let a=ja(r),o=a/2,i=t||o,u=a-i,c=r.scrollbar.paddingStart+i,d=r.scrollbar.size-r.scrollbar.paddingEnd-u,p=r.content-r.viewport,g=n==="ltr"?[0,p]:[p*-1,0];return Hd([c,d],g)(e)}function bs(e,t,r="ltr"){let n=ja(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,i=t.content-t.viewport,u=o-n,c=r==="ltr"?[0,i]:[i*-1,0],d=d4(e,c);return Hd([0,i],[0,u])(d)}function Hd(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function Es(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),l.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function Er(e,t){let r=Qt(t);Ol(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function af(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=l.Children.only(n);return l.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var $o,Ds,VD,of,Ie,xs,Cs,Ss,qe,ks,lf,sf,As,jo,uf,cf,df,Fs,_s,ha,Bs,pf,Vo,Is,ff,hf,p4,f4,h4,m4,g4,qD=R(()=>{"use client";MD(),OD(),PD(),a4(),ND(),HD(),o4(),$D(),jD(),s(rf,"useStateMachine"),$o="ScrollArea",[Ds,VD]=i4($o),[of,Ie]=Ds($o),xs=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...i}=e,[u,c]=l.useState(null),[d,p]=l.useState(null),[g,h]=l.useState(null),[f,y]=l.useState(null),[m,b]=l.useState(null),[x,D]=l.useState(0),[E,w]=l.useState(0),[C,S]=l.useState(!1),[A,k]=l.useState(!1),_=Zt(t,I=>c(I)),B=u4(a);return W.jsx(of,{scope:r,type:n,dir:B,scrollHideDelay:o,scrollArea:u,viewport:d,onViewportChange:p,content:g,onContentChange:h,scrollbarX:f,onScrollbarXChange:y,scrollbarXEnabled:C,onScrollbarXEnabledChange:S,scrollbarY:m,onScrollbarYChange:b,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:D,onCornerHeightChange:w,children:W.jsx(vn.div,{dir:B,...i,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),xs.displayName=$o,Cs="ScrollAreaViewport",Ss=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...i}=e,u=Ie(Cs,r),c=l.useRef(null),d=Zt(t,c,u.onViewportChange);return W.jsxs(W.Fragment,{children:[W.jsx("style",{dangerouslySetInnerHTML:{__html:` +[data-radix-scroll-area-viewport] { + scrollbar-width: none; + -ms-overflow-style: none; + -webkit-overflow-scrolling: touch; +} +[data-radix-scroll-area-viewport]::-webkit-scrollbar { + display: none; +} +:where([data-radix-scroll-area-viewport]) { + display: flex; + flex-direction: column; + align-items: stretch; +} +:where([data-radix-scroll-area-content]) { + flex-grow: 1; +} +`},nonce:o}),W.jsx(vn.div,{"data-radix-scroll-area-viewport":"",...i,asChild:a,ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:af({asChild:a,children:n},p=>W.jsx("div",{"data-radix-scroll-area-content":"",ref:u.onContentChange,style:{minWidth:u.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),Ss.displayName=Cs,qe="ScrollAreaScrollbar",ks=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ie(qe,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:i}=a,u=e.orientation==="horizontal";return l.useEffect(()=>(u?o(!0):i(!0),()=>{u?o(!1):i(!1)}),[u,o,i]),a.type==="hover"?W.jsx(lf,{...n,ref:t,forceMount:r}):a.type==="scroll"?W.jsx(sf,{...n,ref:t,forceMount:r}):a.type==="auto"?W.jsx(As,{...n,ref:t,forceMount:r}):a.type==="always"?W.jsx(jo,{...n,ref:t}):null}),ks.displayName=qe,lf=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ie(qe,e.__scopeScrollArea),[o,i]=l.useState(!1);return l.useEffect(()=>{let u=a.scrollArea,c=0;if(u){let d=s(()=>{window.clearTimeout(c),i(!0)},"handlePointerEnter"),p=s(()=>{c=window.setTimeout(()=>i(!1),a.scrollHideDelay)},"handlePointerLeave");return u.addEventListener("pointerenter",d),u.addEventListener("pointerleave",p),()=>{window.clearTimeout(c),u.removeEventListener("pointerenter",d),u.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),W.jsx(xn,{present:r||o,children:W.jsx(As,{"data-state":o?"visible":"hidden",...n,ref:t})})}),sf=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Ie(qe,e.__scopeScrollArea),o=e.orientation==="horizontal",i=fa(()=>c("SCROLL_END"),100),[u,c]=rf("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return l.useEffect(()=>{if(u==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[u,a.scrollHideDelay,c]),l.useEffect(()=>{let d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let g=d[p],h=s(()=>{let f=d[p];g!==f&&(c("SCROLL"),i()),g=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,o,c,i]),W.jsx(xn,{present:r||u!=="hidden",children:W.jsx(jo,{"data-state":u==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Kt(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Kt(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),As=l.forwardRef((e,t)=>{let r=Ie(qe,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,i]=l.useState(!1),u=e.orientation==="horizontal",c=fa(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Ie(qe,e.__scopeScrollArea),o=l.useRef(null),i=l.useRef(0),[u,c]=l.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=Uc(u.viewport,u.content),p={...n,sizes:u,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:s(h=>o.current=h,"onThumbChange"),onThumbPointerUp:s(()=>i.current=0,"onThumbPointerUp"),onThumbPointerDown:s(h=>i.current=h,"onThumbPointerDown")};function g(h,f){return nf(h,i.current,u,f)}return s(g,"getScrollPosition"),r==="horizontal"?W.jsx(uf,{...p,ref:t,onThumbPositionChange:s(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollLeft,f=bs(h,u,a.dir);o.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:s(h=>{a.viewport&&(a.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:s(h=>{a.viewport&&(a.viewport.scrollLeft=g(h,a.dir))},"onDragScroll")}):r==="vertical"?W.jsx(cf,{...p,ref:t,onThumbPositionChange:s(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollTop,f=bs(h,u);o.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:s(h=>{a.viewport&&(a.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:s(h=>{a.viewport&&(a.viewport.scrollTop=g(h))},"onDragScroll")}):null}),uf=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Ie(qe,e.__scopeScrollArea),[i,u]=l.useState(),c=l.useRef(null),d=Zt(t,c,o.onScrollbarXChange);return l.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),W.jsx(_s,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":ja(r)+"px",...e.style},onThumbPointerDown:s(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:s(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:s((p,g)=>{if(o.viewport){let h=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),Es(h,g)&&p.preventDefault()}},"onWheelScroll"),onResize:s(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:pa(i.paddingLeft),paddingEnd:pa(i.paddingRight)}})},"onResize")})}),cf=l.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Ie(qe,e.__scopeScrollArea),[i,u]=l.useState(),c=l.useRef(null),d=Zt(t,c,o.onScrollbarYChange);return l.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),W.jsx(_s,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":ja(r)+"px",...e.style},onThumbPointerDown:s(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:s(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:s((p,g)=>{if(o.viewport){let h=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),Es(h,g)&&p.preventDefault()}},"onWheelScroll"),onResize:s(()=>{c.current&&o.viewport&&i&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:pa(i.paddingTop),paddingEnd:pa(i.paddingBottom)}})},"onResize")})}),[df,Fs]=Ds(qe),_s=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:i,onThumbPointerDown:u,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:p,onResize:g,...h}=e,f=Ie(qe,r),[y,m]=l.useState(null),b=Zt(t,_=>m(_)),x=l.useRef(null),D=l.useRef(""),E=f.viewport,w=n.content-n.viewport,C=Qt(p),S=Qt(c),A=fa(g,10);function k(_){if(x.current){let B=_.clientX-x.current.left,I=_.clientY-x.current.top;d({x:B,y:I})}}return s(k,"handleDragScroll"),l.useEffect(()=>{let _=s(B=>{let I=B.target;y!=null&&y.contains(I)&&C(B,w)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,y,w,C]),l.useEffect(S,[n,S]),Er(y,A),Er(f.content,A),W.jsx(df,{scope:r,scrollbar:y,hasThumb:a,onThumbChange:Qt(o),onThumbPointerUp:Qt(i),onThumbPositionChange:S,onThumbPointerDown:Qt(u),children:W.jsx(vn.div,{...h,ref:b,style:{position:"absolute",...h.style},onPointerDown:Kt(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),x.current=y.getBoundingClientRect(),D.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),k(_))}),onPointerMove:Kt(e.onPointerMove,k),onPointerUp:Kt(e.onPointerUp,_=>{let B=_.target;B.hasPointerCapture(_.pointerId)&&B.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=D.current,f.viewport&&(f.viewport.style.scrollBehavior=""),x.current=null})})})}),ha="ScrollAreaThumb",Bs=l.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Fs(ha,e.__scopeScrollArea);return W.jsx(xn,{present:r||a.hasThumb,children:W.jsx(pf,{ref:t,...n})})}),pf=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Ie(ha,r),i=Fs(ha,r),{onThumbPositionChange:u}=i,c=Zt(t,g=>i.onThumbChange(g)),d=l.useRef(),p=fa(()=>{d.current&&(d.current(),d.current=void 0)},100);return l.useEffect(()=>{let g=o.viewport;if(g){let h=s(()=>{if(p(),!d.current){let f=hf(g,u);d.current=f,u()}},"handleScroll");return u(),g.addEventListener("scroll",h),()=>g.removeEventListener("scroll",h)}},[o.viewport,p,u]),W.jsx(vn.div,{"data-state":i.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Kt(e.onPointerDownCapture,g=>{let h=g.target.getBoundingClientRect(),f=g.clientX-h.left,y=g.clientY-h.top;i.onThumbPointerDown({x:f,y})}),onPointerUp:Kt(e.onPointerUp,i.onThumbPointerUp)})}),Bs.displayName=ha,Vo="ScrollAreaCorner",Is=l.forwardRef((e,t)=>{let r=Ie(Vo,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?W.jsx(ff,{...e,ref:t}):null}),Is.displayName=Vo,ff=l.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Ie(Vo,r),[o,i]=l.useState(0),[u,c]=l.useState(0),d=!!(o&&u);return Er(a.scrollbarX,()=>{var g;let p=((g=a.scrollbarX)==null?void 0:g.offsetHeight)||0;a.onCornerHeightChange(p),c(p)}),Er(a.scrollbarY,()=>{var g;let p=((g=a.scrollbarY)==null?void 0:g.offsetWidth)||0;a.onCornerWidthChange(p),i(p)}),d?W.jsx(vn.div,{...n,ref:t,style:{width:o,height:u,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),s(pa,"toInt"),s(Uc,"getThumbRatio"),s(ja,"getThumbSize"),s(nf,"getScrollPositionFromPointer"),s(bs,"getThumbOffsetFromScroll"),s(Hd,"linearScale"),s(Es,"isScrollingWithinScrollbarBounds"),hf=s((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return s(function a(){let o={left:e.scrollLeft,top:e.scrollTop},i=r.left!==o.left,u=r.top!==o.top;(i||u)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),s(fa,"useDebounceCallback"),s(Er,"useResizeObserver"),s(af,"getSubtree"),p4=xs,f4=Ss,h4=ks,m4=Bs,g4=Is}),mf,gf,Rs,zs,Ja,$d=R(()=>{qD(),mf=F(p4)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),gf=F(f4)({width:"100%",height:"100%"}),Rs=F(h4)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),zs=F(m4)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),Ja=l.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},i)=>v.createElement(mf,{scrollbarsize:a,offset:n,className:o},v.createElement(gf,{ref:i},e),t&&v.createElement(Rs,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},v.createElement(zs,null)),r&&v.createElement(Rs,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},v.createElement(zs,null)),t&&r&&v.createElement(g4,null))),Ja.displayName="ScrollArea"}),jd={};Zn(jd,{SyntaxHighlighter:()=>Va,createCopyToClipboardFunction:()=>Pl,default:()=>v4,supportedLanguages:()=>Wc});const{logger:UD}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function Pl(){return Ba!=null&&Ba.clipboard?e=>Ba.clipboard.writeText(e):async e=>{let t=yn.createElement("TEXTAREA"),r=yn.activeElement;t.value=e,yn.body.appendChild(t),t.select(),yn.execCommand("copy"),yn.body.removeChild(t),r.focus()}}var vf,Ba,yn,yf,Wc,wf,bf,Ef,Df,xf,Cf,Sf,Ts,kf,Af,Va,v4,Ci=R(()=>{Id(),vf=me(bi(),1),gD(),yD(),wD(),ED(),xD(),SD(),kD(),FD(),_D(),ID(),RD(),TD(),mD(),Jv(),$d(),{navigator:Ba,document:yn,window:yf}=wi,Wc={jsextra:$v,jsx:qv,json:jv,yml:Zv,md:Uv,bash:Pv,css:Nv,html:Wv,tsx:Kv,typescript:Yv,graphql:Hv},Object.entries(Wc).forEach(([e,t])=>{ml.registerLanguage(e,t)}),wf=(0,vf.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),bf=Pl(),s(Pl,"createCopyToClipboardFunction"),Ef=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),Df=s(({children:e,className:t})=>v.createElement(Ja,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),xf=F(Df)({position:"relative"},({theme:e})=>wf(e)),Cf=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),Sf=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Ts=s(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),kf=s(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>Di({node:Ts(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),Af=s((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Ts(a)),...n}):kf:e,"wrapRenderer"),Va=s(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:i=void 0,className:u=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,g]=l.useState("");l.useEffect(()=>{i?i(o,e).then(g):g(e.trim())},[e,o,i]);let[h,f]=l.useState(!1),y=l.useCallback(b=>{b.preventDefault(),bf(p).then(()=>{f(!0),yf.setTimeout(()=>f(!1),1500)}).catch(UD.error)},[p]),m=Af(d.renderer,c);return v.createElement(Ef,{bordered:n,padded:a,showLineNumbers:c,className:u},v.createElement(xf,null,v.createElement(ml,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:Cf,CodeTag:Sf,lineNumberContainerStyle:{},...d,renderer:m},p)),r?v.createElement(xi,{actionItems:[{title:h?"Copied":"Copy",onClick:y}]}):null)},"SyntaxHighlighter"),Va.registerLanguage=(...e)=>ml.registerLanguage(...e),v4=Va});function Ff(e){if(typeof e=="string")return Ri;if(Array.isArray(e))return zi;if(!e)return;let{type:t}=e;if(c1.has(t))return t}function _f(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(Ti(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=S3([...c1].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function nt(e){return ir(e),{type:eo,contents:e}}function Vd(e,t){return ir(t),{type:to,contents:t,n:e}}function le(e,t={}){return ir(e),Li(t.expandedStates,!0),{type:Hn,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function y4(e){return Vd(Number.NEGATIVE_INFINITY,e)}function w4(e){return Vd({type:"root"},e)}function qd(e){return Li(e),{type:ro,parts:e}}function Xa(e,t="",r={}){return ir(e),t!==""&&ir(t),{type:no,breakContents:e,flatContents:t,groupId:r.groupId}}function b4(e,t){return ir(e),{type:ao,contents:e,groupId:t.groupId,negate:t.negate}}function Wr(e,t){ir(e),Li(t);let r=[];for(let n=0;nt===""))return"";break;case Hn:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Hn&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case to:case eo:case ao:case Ul:if(!e.contents)return"";break;case no:if(!e.flatContents&&!e.breakContents)return"";break;case zi:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof $n(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case Ri:case Vl:case ql:case Wl:case Jt:case Gl:case Wa:break;default:throw new d1(e)}return e}function D4(e){return Si(e,t=>E4(t))}function Pe(e,t=k3){return Si(e,r=>typeof r=="string"?Wr(t,r.split(` +`)):r)}function Bf(e,t){let r=t===!0||t===La?La:e0,n=r===La?e0:La,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function If(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Rf(e){return(e==null?void 0:e.type)==="front-matter"}function Ls(e,t){var r;if(e.type==="text"||e.type==="comment"||Do(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)_3.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function zf(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return w4([e.startDelimiter,e.explicitLanguage,X,n,n?X:"",e.endDelimiter])}}function mo(e,t=!0){return[nt([he,e]),t?he:""]}function Gr(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function Ne(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,u)=>{a=n(i,u)});let o=await t(e,r,t);return a?le(o):mo(o)}function Tf(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":Ne(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},Gr)}function Gc(e,t){if(!t)return;let r=R3(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function x4(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Lf(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=x4(r,t.language)??Gc(r,t.physicalFile)??Gc(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Mf(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Ud(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Hr(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Ai(e,t)&&!bt(e)&&e.type!=="interpolation")}function go(e){return e.type==="attribute"||!e.parent||!e.prev?!1:C4(e.prev)}function C4(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function ze(e){return e.type==="text"||e.type==="comment"}function bt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||jn(e)&&(e.name==="script"||e.name==="style"))}function S4(e){return e.children&&!bt(e)}function k4(e){return bt(e)||e.type==="interpolation"||Wd(e)}function Wd(e){return Qd(e).startsWith("pre")}function A4(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return Do(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Hr(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Hr(e)&&e.parent||bt(e.parent)||vo(e.parent,t)||!M4(e.parent.cssDisplay))||e.prev&&!N4(e.prev.cssDisplay))}}function F4(e,t){return Do(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Hr(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Hr(e)&&e.parent||bt(e.parent)||vo(e.parent,t)||!O4(e.parent.cssDisplay))||e.next&&!P4(e.next.cssDisplay))}function _4(e){return H4(e.cssDisplay)&&!bt(e)}function Ia(e){return Do(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>R4(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Yd(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Zd(e.lastChild))}function Gd(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function gl(e){return Jd(e)||e.prev&&I4(e.prev)||Kd(e)}function I4(e){return Jd(e)||e.type==="element"&&e.fullName==="br"||Kd(e)}function Kd(e){return Yd(e)&&Zd(e)}function Yd(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Jd(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function ki(e){return e.lastChild?ki(e.lastChild):e}function R4(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Xd(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function z4(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":xo(t,{language:o})??Xd(a)}function T4(e,t){if(!Ai(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return xo(t,{language:a})??Xd(n)}function L4(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?xo(t,{language:r}):"css"}function Kc(e,t){return z4(e,t)??L4(e,t)??T4(e,t)}function Jn(e){return e==="block"||e==="list-item"||e.startsWith("table")}function M4(e){return!Jn(e)&&e!=="inline-block"}function O4(e){return!Jn(e)&&e!=="inline-block"}function P4(e){return!Jn(e)}function N4(e){return!Jn(e)}function H4(e){return!Jn(e)&&e!=="inline-block"}function Hr(e){return Qd(e).startsWith("pre")}function $4(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function j4(e,t){var r;if(Kr(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if($4(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||jn(e))&&T3[e.name]||z3}}function Qd(e){return e.type==="element"&&(!e.namespace||jn(e))&&M3[e.name]||L3}function V4(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` +`)){if(r.length===0)continue;let n=Ye.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` +`)}function t1(e){return Ae(!1,Ae(!1,e,"'","'"),""",'"')}function $t(e){return t1(e.value)}function vo(e,t){return Kr(e,t)&&!P3.has(e.fullName)}function Kr(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Ai(e,t){return Kr(e,t)&&(vo(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function q4(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function U4(e,t){let r=e.parent;if(!Kr(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function r1(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Pe(t):Pe(e1(p1(t)),X):Wr(ce,Ye.split(t))}function n1(e,t){return Kr(e,t)&&e.name==="script"}async function W4(e,t){let r=[];for(let[n,a]of e.split(f1).entries())if(n%2===0)r.push(Pe(a));else try{r.push(le(["{{",nt([ce,await Ne(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ce,"}}"]))}catch{r.push("{{",Pe(a),"}}")}return r}function qo({parser:e}){return(t,r,n)=>Ne($t(n.node),t,{parser:e},Gr)}function Of(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return N3;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return H3;if(n.startsWith("*"))return $3;let a=$t(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>mo(qd(r1(r,a.trim())),!a.includes("@@"));if(f1.test(a))return o=>W4(a,o)}function Pf(e,t){let{node:r}=e,n=$t(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function Yc(e){return e===" "||e===` +`||e==="\f"||e==="\r"||e===" "}function Nf(e){let t=e.length,r,n,a,o,i,u=0,c;function d(f){let y,m=f.exec(e.substring(u));if(m)return[y]=m,u+=y.length,y}s(d,"p");let p=[];for(;;){if(d(U3),u>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}c=u,r=d(W3),n=[],r.slice(-1)===","?(r=r.replace(G3,""),h()):g()}function g(){for(d(q3),a="",o="in descriptor";;){if(i=e.charAt(u),o==="in descriptor")if(Yc(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){u+=1,a&&n.push(a),h();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),h();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),h();return}else a+=i;else if(o==="after descriptor"&&!Yc(i))if(i===""){h();return}else o="in descriptor",u-=1;u+=1}}s(g,"f");function h(){let f=!1,y,m,b,x,D={},E,w,C,S,A;for(x=0;xG4($t(e.node))}function G4(e){let t=Y3(e),r=Z3.filter(p=>t.some(g=>Object.prototype.hasOwnProperty.call(g,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=r0[n],o=t.map(p=>p.source.value),i=Math.max(...o.map(p=>p.length)),u=t.map(p=>p[n]?String(p[n].value):""),c=u.map(p=>{let g=p.indexOf(".");return g===-1?p.length:g}),d=Math.max(...c);return mo(Wr([",",ce],o.map((p,g)=>{let h=[p],f=u[g];if(f){let y=i-p.length+1,m=d-c[g],b=" ".repeat(y+m);h.push(Xa(b," "),f+a)}return h})))}function K4(e,t){let{node:r}=e,n=$t(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>mo(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function $f(e,t){let{root:r}=e;return vl.has(r)||vl.set(r,r.children.some(n=>n1(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),vl.get(r)}function Y4(e,t,r){let{node:n}=r,a=$t(n);return Ne(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Gr)}function Z4(e,t,{parseWithTs:r}){return Ne(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function J4(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function X4(e,t,r,n){let a=$t(r.node),{left:o,operator:i,right:u}=Q4(a),c=Mi(r,n);return[le(await Ne(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await Ne(u,e,{parser:c?"__ts_expression":"__js_expression"})]}function Q4(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Ae(!1,a[1].trim(),n,""),u=i.match(r);u?(o.alias=i.replace(r,""),o.iterator1=u[1].trim(),u[2]&&(o.iterator2=u[2].trim())):o.alias=i;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,p)=>!d&&(p===0||c.slice(p+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function jf(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return X4;if(n==="generic"&&n1(r.parent,t))return Y4;let a=$t(r),o=Mi(e,t);if(q4(r)||U4(r,t))return i=>Z4(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>e3(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>t3(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>a1(a,i,{parseWithTs:o})}function e3(e,t,{parseWithTs:r}){return J4(e)?a1(e,t,{parseWithTs:r}):Ne(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Gr)}function t3(e,t,{parseWithTs:r}){return Ne(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Gr)}function a1(e,t,{parseWithTs:r}){return Ne(e,t,{parser:r?"__ts_expression":"__js_expression"},Gr)}function Vf(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[J3,K4,V3,X3,j3]){let a=n(e,t);if(a)return r3(a)}}}function r3(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Si(o,i=>typeof i=="string"?Ae(!1,i,'"',"""):i),[n.node.rawName,'="',le(o),'"']}}function qf(e){return Array.isArray(e)&&e.length>0}function yo(e){return e.sourceSpan.start.offset}function wo(e){return e.sourceSpan.end.offset}function Nl(e,t){return[e.isSelfClosing?"":n3(e,t),kn(e,t)]}function n3(e,t){return e.lastChild&&Nn(e.lastChild)?"":[a3(e,t),Fi(e,t)]}function kn(e,t){return(e.next?or(e.next):Qn(e.parent))?"":[Xn(e,t),ar(e,t)]}function a3(e,t){return Qn(e)?Xn(e.lastChild,t):""}function ar(e,t){return Nn(e)?Fi(e.parent,t):bo(e)?_i(e.next):""}function Fi(e,t){if(h1(!e.isSelfClosing),o1(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function o1(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(go(e)||Ud(e.parent,t))}function or(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!ze(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Qn(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!ze(ki(e.lastChild))&&!Hr(e)}function Nn(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&ze(ki(e))}function bo(e){return e.next&&!ze(e.next)&&ze(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function o3(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function Eo(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function l3(e,t,r){var n;let{node:a}=e;if(!Oi(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&o3(a.prev.value),i=typeof o=="boolean"?()=>o:Array.isArray(o)?g=>o.includes(g.rawName):()=>!1,u=e.map(({node:g})=>i(g)?Pe(t.originalText.slice(yo(g),wo(g))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!Kr(a,t)?X:ce,p=[nt([c?" ":ce,Wr(d,u)])];return a.firstChild&&Eo(a.firstChild)||a.isSelfClosing&&Qn(a.parent)||c?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ce:he),p}function i3(e){return e.firstChild&&Eo(e.firstChild)?"":Bi(e)}function Hl(e,t,r){let{node:n}=e;return[An(n,t),l3(e,t,r),n.isSelfClosing?"":i3(n)]}function An(e,t){return e.prev&&bo(e.prev)?"":[lr(e,t),_i(e)]}function lr(e,t){return Eo(e)?Bi(e.parent):or(e)?Xn(e.prev,t):""}function _i(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Bi(e){switch(h1(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Uf(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&Eo(e.firstChild)&&(r-=Bi(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Nn(e.lastChild)?n+=Fi(e,t).length:Qn(e)&&(n-=Xn(e.lastChild,t).length),t.originalText.slice(r,n)}function Wf(e,t){let{node:r}=e;switch(r.type){case"element":if(bt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Ai(r,t)){let n=Kc(r,t);return n?async(a,o)=>{let i=m1(r,t),u=/^\s*$/u.test(i),c="";return u||(c=await a(p1(i),{parser:n,__embeddedInHtml:!0}),u=c===""),[lr(r,t),le(Hl(e,t,o)),u?"":X,c,u?"":X,Nl(r,t),ar(r,t)]}:void 0}break;case"text":if(bt(r.parent)){let n=Kc(r.parent,t);if(n)return async a=>{let o=n==="markdown"?e1(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,i={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let u="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(u="module"),i.__babelSourceType=u}return[_n,lr(r,t),await a(o,i),ar(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=Mi(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[nt([ce,await n(r.value,a)]),r.parent.next&&or(r.parent.next)?" ":ce]};break;case"attribute":return Q3(e,t);case"front-matter":return n=>B3(r,n);case"angularControlFlowBlockParameters":return ey.has(e.parent.name)?I3:void 0;case"angularLetDeclarationInitializer":return n=>Ne(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Fn(e){if(bn!==null&&typeof bn.property){let t=bn;return bn=Fn.prototype=null,t}return bn=Fn.prototype=e??Object.create(null),new Fn}function s3(e){return Fn(e)}function Gf(e,t="type"){s3(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return s(r,"r"),r}function u3(e){return/^\s*/u.test(e)}function Kf(e){return` + +`+e}function l1(e){let t=wo(e);return e.type==="element"&&!e.endSourceSpan&&Oi(e.children)?Math.max(t,l1($n(!1,e.children,-1))):t}function wn(e,t,r){let n=e.node;if(go(n)){let a=l1(n);return[lr(n,t),Pe(Ye.trimEnd(t.originalText.slice(yo(n)+(n.prev&&bo(n.prev)?_i(n).length:0),a-(n.next&&or(n.next)?Xn(n,t).length:0)))),ar(n,t)]}return r()}function Ra(e,t){return ze(e)&&ze(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?gl(t)?X:ce:"":gl(t)?X:he:bo(e)&&(go(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&or(t)?"":!t.isLeadingSpaceSensitive||gl(t)||or(t)&&e.lastChild&&Nn(e.lastChild)&&e.lastChild.lastChild&&Nn(e.lastChild.lastChild)?X:t.hasLeadingSpaces?ce:he}function Ii(e,t,r){let{node:n}=e;if(Gd(n))return[_n,...e.map(o=>{let i=o.node,u=i.prev?Ra(i.prev,i):"";return[u?[u,Ia(i.prev)?X:""]:"",wn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let u=o.node;if(ze(u)){if(u.prev&&ze(u.prev)){let y=Ra(u.prev,u);if(y)return Ia(u.prev)?[X,X,wn(o,t,r)]:[y,wn(o,t,r)]}return wn(o,t,r)}let c=[],d=[],p=[],g=[],h=u.prev?Ra(u.prev,u):"",f=u.next?Ra(u,u.next):"";return h&&(Ia(u.prev)?c.push(X,X):h===X?c.push(X):ze(u.prev)?d.push(h):d.push(Xa("",he,{groupId:a[i-1]}))),f&&(Ia(u)?ze(u.next)&&g.push(X,X):f===X?ze(u.next)&&g.push(X):p.push(f)),[...c,le([...d,le([wn(o,t,r),...p],{id:a[i]})]),...g]},"children")}function c3(e,t,r){let{node:n}=e,a=[];d3(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",le(r("parameters")),")"),a.push(" {");let o=i1(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(nt([X,Ii(e,t,r)])),o&&a.push(X,"}")):o&&a.push("}"),le(a,{shouldBreak:!0})}function i1(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=ty.get(e.name))!=null&&r.has(e.next.name))}function d3(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!go(t)&&!i1(t)}function p3(e,t,r){return[nt([he,Wr([";",ce],e.map(r,"children"))]),he]}function f3(e,t,r){let{node:n}=e;return[An(n,t),le([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",nt([ce,Wr(ce,e.map(r,"cases"))])]:"",he]),kn(n,t)]}function h3(e,t,r){let{node:n}=e;return[n.value," {",le([nt([he,e.map(({node:a})=>a.type==="text"&&!Ye.trim(a.value)?"":r(),"expression")]),he]),"}"]}function m3(e,t,r){let{node:n}=e;if(Ud(n,t))return[lr(n,t),le(Hl(e,t,r)),Pe(m1(n,t)),...Nl(n,t),ar(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=s(p=>le([le(Hl(e,t,r),{id:o}),p,Nl(n,t)]),"a"),u=s(p=>a?b4(p,{groupId:o}):(bt(n)||vo(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:nt(p),"o"),c=s(()=>a?Xa(he,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ce:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?y4(he):he,"u"),d=s(()=>(n.next?or(n.next):Qn(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Xa(he,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ce:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":he,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ce:""):i([B4(n)?_n:"",u([c(),Ii(e,t,r)]),d()])}function qa(e){return e>=9&&e<=32||e==160}function $l(e){return 48<=e&&e<=57}function Ua(e){return e>=97&&e<=122||e>=65&&e<=90}function g3(e){return e>=97&&e<=102||e>=65&&e<=70||$l(e)}function Uo(e){return e===10||e===13}function Ms(e){return 48<=e&&e<=55}function Wo(e){return e===39||e===34||e===96}function Yf(e){return e.replace(ry,(...t)=>t[1].toUpperCase())}function Zf(e,t){for(let r of ny)r(e,t);return e}function Jf(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` +`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function Xf(e){let t=s(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function eh(e){let t=s(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!Ye.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+i.value,o.sourceSpan=new q(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function th(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(S4(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,i=null,u=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new q(o,i)});continue}i=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new q(o,i),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new q(o.moveBy(2),i.moveBy(-2))}]})}n.removeChild(a)}})}function rh(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&Ye.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=k4(t),n=Wd(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function ah(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function oh(e,t){e.walk(r=>{r.cssDisplay=j4(r,t)})}function lh(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=_4(r);return}for(let a of n)a.isLeadingSpaceSensitive=A4(a,t),a.isTrailingSpaceSensitive=F4(a,t);for(let a=0;a{!va[t]&&za(t)===null&&(va[t]=new V({canSelfClose:!1}))})),va[e]??um}function Zc(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let i=a(o);i&&n.push(i)}),n}function uh(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];ly.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function ch(e,t,r,n={}){let a=new sy(new g1(e,t),r,n);return a.tokenize(),new iy(y3(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function Dr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Hs(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function dh(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ne(e){return!qa(e)||e===0}function $s(e){return qa(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function ph(e){return(e<97||12257)}function fh(e){return e===59||e===0||!g3(e)}function hh(e){return e===59||e===0||!Ua(e)}function mh(e){return e!==125}function gh(e,t){return Jc(e)===Jc(t)}function Jc(e){return e>=97&&e<=122?e-97+65:e}function js(e){return Ua(e)||$l(e)||e===95}function Vs(e){return e!==59&&ne(e)}function y3(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function Us(e,t){return Ga[t]!==void 0?Ga[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Xc(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:i=!1,tokenizeAngularLetDeclaration:u=!1}=t;return uy().parse(e,"angular-html-parser",{tokenizeExpansionForms:i,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:i,tokenizeLet:u},a,o)}function vh(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function w3(e){let t=e.slice(0,En);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` +`,En);if(r===-1)return;let n=e.slice(En,r).trim(),a=e.indexOf(` +${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` +...`,r)),a===-1)return;let i=a+1+En,u=e.charAt(i+1);if(!/\s?/u.test(u))return;let c=e.slice(0,i);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-En),raw:c}}function yh(e){let t=w3(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Ae(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function wh(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function b3(e,t){if(e.value)for(let{regex:r,parse:n}of fy){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function bh(e,t,r){let[,n,a,o]=r,i=4+n.length,u=e.sourceSpan.start.moveBy(i),c=u.moveBy(o.length),[d,p]=(()=>{try{return[!0,t(o,u).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new q(u,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:Ae(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new q(e.sourceSpan.start,u),endSourceSpan:new q(c,e.sourceSpan.end)}}function Eh(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Ae(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function Dh(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function E3(e){if(e.type==="block"){if(e.name=Ae(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Oi(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new q(e.parameters[0].sourceSpan.start,$n(!1,e.parameters,-1).sourceSpan.end)}}}function D3(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new q(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function x3(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function s1(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:i=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:g}=Xc(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c,getTagContentType:d?(...D)=>d(...D)?Ke.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(C=>C.type==="docType"&&C.value==="html"||C.type==="element"&&C.name.toLowerCase()==="html"))return s1(e,n0,r);let D,E=s(()=>D??(D=Xc(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c})),"y"),w=s(C=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===C.startSourceSpan.start.offset)??C,"M");for(let[C,S]of p.entries()){let{endSourceSpan:A,startSourceSpan:k}=S;if(A===null)g=E().errors,p[C]=w(S);else if(C3(S,r)){let _=E().errors.find(B=>B.span.start.offset>k.start.offset&&B.span.start.offset0&&Qc(g[0]);let h=s(D=>{let E=D.name.startsWith(":")?D.name.slice(1).split(":")[0]:null,w=D.nameSpan.toString(),C=E!==null&&w.startsWith(`${E}:`),S=C?w.slice(E.length+1):w;D.name=S,D.namespace=E,D.hasExplicitNamespace=C},"d"),f=s(D=>{switch(D.type){case"element":h(D);for(let E of D.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":D.value=D.sourceSpan.toString().slice(4,-3);break;case"text":D.value=D.sourceSpan.toString();break}},"C"),y=s((D,E)=>{let w=D.toLowerCase();return E(w)?w:D},"A"),m=s(D=>{if(D.type==="element"&&(o&&(!D.namespace||D.namespace===D.tagDefinition.implicitNamespacePrefix||jn(D))&&(D.name=y(D.name,E=>hy.has(E))),i))for(let E of D.attrs)E.namespace||(E.name=y(E.name,w=>wl.has(D.name)&&(wl.get("*").has(w)||wl.get(D.name).has(w))))},"D"),b=s(D=>{D.sourceSpan&&D.endSourceSpan&&(D.sourceSpan=new q(D.sourceSpan.start,D.endSourceSpan.end))},"R"),x=s(D=>{if(D.type==="element"){let E=jl(c?D.name:D.name.toLowerCase());!D.namespace||D.namespace===E.implicitNamespacePrefix||jn(D)?D.tagDefinition=E:D.tagDefinition=jl("")}},"F");return Zc(new class extends oy{visitExpansionCase(D,E){n==="angular"&&this.visitChildren(E,w=>{w(D.expression)})}visit(D){f(D),x(D),m(D),b(D)}},p),p}function C3(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||xo(t,{language:n})==="html"}function Qc(e){let{msg:t,span:{start:r,end:n}}=e;throw cy(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function u1(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?dy(e):{frontMatter:null,content:e},i=new g1(e,r.filepath),u=new Kl(i,0,0,0),c=u.moveBy(e.length),d={type:"root",sourceSpan:new q(u,c),children:s1(o,t,r)};if(a){let h=new Kl(i,0,0,0),f=h.moveBy(a.raw.length);a.sourceSpan=new q(h,f),d.children.unshift(a)}let p=new py(d),g=s((h,f)=>{let{offset:y}=f,m=Ae(!1,e.slice(0,y),/[^\n\r]/gu," "),b=u1(m+h,t,r,!1);b.sourceSpan=new q(f,$n(!1,b.children,-1).sourceSpan.end);let x=b.children[0];return x.length===y?b.children.shift():(x.sourceSpan=new q(x.sourceSpan.start.moveBy(y),x.sourceSpan.end),x.value=x.value.slice(y)),b},"f");return p.walk(h=>{if(h.type==="comment"){let f=b3(h,g);f&&h.parent.replaceChild(h,f)}E3(h),D3(h),x3(h)}),p}function ga(e){return{parse:s((t,r)=>u1(t,e,r),"parse"),hasPragma:u3,astFormat:"html",locStart:yo,locEnd:wo}}var xh,Ws,Gs,Ks,Bt,Ch,Sh,Ys,kh,Ae,Ri,zi,Vl,eo,to,ql,Hn,ro,no,ao,Ul,Wl,Jt,Gl,Wa,c1,Ti,S3,Zs,Ah,d1,Js,ir,Li,_n,Fh,_h,ce,he,X,k3,Bh,$n,La,e0,A3,Ue,Xs,Ih,Rh,zh,Th,Ye,Qs,Lh,F3,Do,Mh,_3,Oh,B3,I3,R3,xo,z3,T3,L3,M3,jn,Ph,p1,O3,P3,f1,N3,H3,$3,j3,V3,q3,U3,W3,G3,t0,K3,Y3,r0,Z3,J3,vl,Mi,X3,Q3,eu,h1,Oi,m1,ey,Nh,bn,Hh,$h,jh,Vh,qh,Uh,ty,ry,Go,Kl,tu,g1,ru,q,Ko,nu,au,ny,Wh,Gh,Kh,Yh,ou,lu,Zh,Jh,iu,Xh,Qh,em,su,uu,zr,tm,Ke,yl,cu,rm,nm,am,om,lm,im,du,sm,pu,ay,fu,V,um,va,hu,xr,mu,cm,gu,dm,vu,pm,yu,fm,wu,hm,bu,It,Eu,mm,Du,gm,xu,Cr,Cu,Su,ku,Au,Fu,oy,Ga,vm,ly,Yo,ym,_u,Bu,Zo,Iu,iy,wm,Jo,Ru,Xo,zu,sy,ya,Tu,wa,bm,Lu,Qo,el,ye,Mu,Em,Ou,Dm,tl,xm,Pu,Cm,rl,uy,cy,En,dy,ba,Nu,Sr,py,fy,wl,hy,n0,Sm,km,Am,Fm,_m,my,WD=R(()=>{xh=Object.defineProperty,Ws=s(e=>{throw TypeError(e)},"Xr"),Gs=s((e,t)=>{for(var r in t)xh(e,r,{get:t[r],enumerable:!0})},"Jr"),Ks=s((e,t,r)=>t.has(e)||Ws("Cannot "+r),"Zr"),Bt=s((e,t,r)=>(Ks(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),Ch=s((e,t,r)=>t.has(e)?Ws("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),Sh=s((e,t,r,n)=>(Ks(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Ys={},Gs(Ys,{languages:s(()=>Yh,"languages"),options:s(()=>Jh,"options"),parsers:s(()=>iu,"parsers"),printers:s(()=>_m,"printers")}),kh=s((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),Ae=kh,Ri="string",zi="array",Vl="cursor",eo="indent",to="align",ql="trim",Hn="group",ro="fill",no="if-break",ao="indent-if-break",Ul="line-suffix",Wl="line-suffix-boundary",Jt="line",Gl="label",Wa="break-parent",c1=new Set([Vl,eo,to,ql,Hn,ro,no,ao,Ul,Wl,Jt,Gl,Wa]),s(Ff,"ii"),Ti=Ff,S3=s(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),s(_f,"oi"),Ah=(Zs=class extends Error{constructor(t){super(_f(t));sn(this,"name","InvalidDocError");this.doc=t}},s(Zs,"lr"),Zs),d1=Ah,Js=s(()=>{},"rn"),ir=Js,Li=Js,s(nt,"k"),s(Vd,"nn"),s(le,"_"),s(y4,"sn"),s(w4,"an"),s(qd,"At"),s(Xa,"ge"),s(b4,"on"),_n={type:Wa},Fh={type:Jt,hard:!0},_h={type:Jt,hard:!0,literal:!0},ce={type:Jt},he={type:Jt,soft:!0},X=[Fh,_n],k3=[_h,_n],s(Wr,"q"),Bh=s((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),$n=Bh,s(Si,"Dt"),s(E4,"pi"),s(D4,"ln"),s(Pe,"B"),La="'",e0='"',s(Bf,"hi"),A3=Bf,s(If,"cr"),Ih=(Xs=class{constructor(e){Ch(this,Ue),Sh(this,Ue,new Set(e))}getLeadingWhitespaceCount(e){let t=Bt(this,Ue),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return Bt(this,Ue).has(e.charAt(0))}hasTrailingWhitespace(e){return Bt(this,Ue).has($n(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${If([...Bt(this,Ue)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=Bt(this,Ue);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=Bt(this,Ue);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=Bt(this,Ue);return Array.prototype.every.call(e,r=>t.has(r))}},s(Xs,"pr"),Xs),Ue=new WeakMap,Rh=Ih,zh=[" ",` +`,"\f","\r"," "],Th=new Rh(zh),Ye=Th,Lh=(Qs=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);sn(this,"name","UnexpectedNodeError");this.node=t}},s(Qs,"hr"),Qs),F3=Lh,s(Rf,"di"),Do=Rf,Mh=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),_3=new Set(["if","else if","for","switch","case"]),s(Ls,"fn"),Ls.ignoredProperties=Mh,Oh=Ls,s(zf,"Si"),B3=zf,s(mo,"Ce"),s(Gr,"j"),s(Ne,"T"),s(Tf,"_i"),I3=Tf,R3=s(e=>String(e).split(/[/\\]/u).pop(),"Ei"),s(Gc,"Sn"),s(x4,"Ai"),s(Lf,"Di"),xo=Lf,z3="inline",T3={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},L3="normal",M3={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},s(Mf,"vi"),jn=Mf,Ph=s(e=>Ae(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),p1=s(e=>Ph(Ye.trimEnd(e)),"mr"),O3=s(e=>{let t=e,r=Ye.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=Ye.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),s(Ud,"yt"),s(go,"Ee"),s(C4,"wi"),s(ze,"$"),s(bt,"U"),s(S4,"yn"),s(k4,"wn"),s(Wd,"fr"),s(A4,"bn"),s(F4,"Tn"),s(_4,"xn"),s(Ia,"Qe"),s(B4,"kn"),s(Gd,"dr"),s(gl,"wt"),s(I4,"bi"),s(Kd,"Bn"),s(Yd,"Ln"),s(Zd,"Fn"),s(Jd,"Nn"),s(ki,"bt"),s(R4,"Ti"),s(Xd,"Pn"),s(z4,"xi"),s(T4,"ki"),s(L4,"Bi"),s(Kc,"gr"),s(Jn,"Xe"),s(M4,"Li"),s(O4,"Fi"),s(P4,"Ni"),s(N4,"Pi"),s(H4,"Ii"),s(Hr,"_e"),s($4,"Ri"),s(j4,"In"),s(Qd,"Rn"),s(V4,"$i"),s(e1,"Cr"),s(t1,"Sr"),s($t,"P"),P3=new Set(["template","style","script"]),s(vo,"Je"),s(Kr,"Ae"),s(Ai,"Tt"),s(q4,"$n"),s(U4,"On"),s(r1,"xt"),s(n1,"kt"),f1=/\{\{(.+?)\}\}/su,s(W4,"Mn"),s(qo,"Er"),N3=qo({parser:"__ng_action"}),H3=qo({parser:"__ng_binding"}),$3=qo({parser:"__ng_directive"}),s(Of,"Vi"),j3=Of,s(Pf,"Ui"),V3=Pf,s(Yc,"Vn"),q3=/^[ \t\n\r\u000c]+/,U3=/^[, \t\n\r\u000c]+/,W3=/^[^ \t\n\r\u000c]+/,G3=/[,]+$/,t0=/^\d+$/,K3=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,s(Nf,"Ki"),Y3=Nf,s(Hf,"Qi"),r0={width:"w",height:"h",density:"x"},Z3=Object.keys(r0),s(G4,"Ji"),J3=Hf,s(K4,"Yn"),vl=new WeakMap,s($f,"Zi"),Mi=$f,s(Y4,"jn"),s(Z4,"Kn"),s(J4,"Qn"),s(X4,"Xn"),s(Q4,"ea"),s(jf,"ta"),s(e3,"ra"),s(t3,"na"),s(a1,"Jn"),X3=jf,s(Vf,"sa"),s(r3,"ia"),Q3=Vf,eu=new Proxy(()=>{},{get:s(()=>eu,"get")}),h1=eu,s(qf,"aa"),Oi=qf,s(yo,"se"),s(wo,"ie"),s(Nl,"Ze"),s(n3,"oa"),s(kn,"De"),s(a3,"ua"),s(ar,"W"),s(Fi,"Bt"),s(Xn,"ve"),s(o1,"rs"),s(or,"K"),s(Qn,"ye"),s(Nn,"we"),s(bo,"et"),s(o3,"la"),s(Eo,"tt"),s(l3,"ca"),s(i3,"pa"),s(Hl,"rt"),s(An,"be"),s(lr,"z"),s(_i,"Lt"),s(Bi,"Ft"),s(Uf,"ha"),m1=Uf,ey=new Set(["if","else if","for","switch","case"]),s(Wf,"fa"),Nh=Wf,bn=null,s(Fn,"st"),Hh=10;for(let e=0;e<=Hh;e++)Fn();s(s3,"vr"),s(Gf,"ga"),$h=Gf,jh={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Vh=jh,qh=$h(Vh),Uh=qh,s(u3,"os"),s(Kf,"us"),ty=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),s(l1,"cs"),s(wn,"it"),s(Ra,"Pt"),s(Ii,"He"),s(c3,"ps"),s(i1,"hs"),s(d3,"_a"),s(p3,"ms"),s(f3,"fs"),s(h3,"ds"),s(m3,"gs"),s(qa,"at"),s($l,"It"),s(Ua,"ot"),s(g3,"Cs"),s(Uo,"Rt"),s(Ms,"yr"),s(Wo,"$t"),ry=/-+([a-z0-9])/g,s(Yf,"_s"),Kl=(Go=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let i=t.substring(0,n-1).lastIndexOf(` +`);o=i>0?n-i:n}else o--;for(;n0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Go(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,i=0;for(;o0&&(n--,o++,!(r[n]==` +`&&++i==t)););for(o=0,i=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},s(nu,"Ue"),nu),ny=[Jf,Xf,Qf,th,rh,oh,nh,ah,lh,eh],s(Zf,"Da"),s(Jf,"va"),s(Xf,"ya"),s(v3,"wa"),s(Qf,"ba"),s(eh,"Ta"),s(th,"xa"),s(rh,"ka"),s(nh,"Ba"),s(ah,"La"),s(oh,"Fa"),s(lh,"Na"),Wh=Zf,s(ih,"Pa"),Gh={preprocess:Wh,print:ih,insertPragma:Kf,massageAstNode:Oh,embed:Nh,getVisitorKeys:Uh},Kh=Gh,Yh=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],ou={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},lu="HTML",Zh={bracketSameLine:ou.bracketSameLine,htmlWhitespaceSensitivity:{category:lu,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:ou.singleAttributePerLine,vueIndentScriptAndStyle:{category:lu,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Jh=Zh,iu={},Gs(iu,{angular:s(()=>km,"angular"),html:s(()=>Sm,"html"),lwc:s(()=>Fm,"lwc"),vue:s(()=>Am,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(Xh||(Xh={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Qh||(Qh={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(em||(em={})),su={name:"custom-elements"},uu={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(zr||(zr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(tm||(tm={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(Ke||(Ke={})),s(Qa,"ut"),s(Os,"xr"),s(Ps,"kr"),s(za,"We"),s(ma,"ze"),s(Ns,"Br"),s(Ta,"Mt"),rm=(cu=class{},s(cu,"Ht"),cu),nm="boolean",am="number",om="string",lm="object",im=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],du=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),sm=Array.from(du).reduce((e,[t,r])=>(e.set(t,r),e),new Map),ay=(pu=class extends rm{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,im.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[i,u]=n.split("^");i.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=u&&this._schema.get(u.toLowerCase());if(c){for(let[d,p]of c)t.set(d,p);for(let d of this._eventSchema.get(u.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),nm);break;case"#":t.set(d.substring(1),am);break;case"%":t.set(d.substring(1),lm);break;default:t.set(d,om)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===uu.name))return!0;if(e.indexOf("-")>-1){if(Os(e)||Ps(e))return!1;if(r.some(n=>n.name===su.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===uu.name)||e.indexOf("-")>-1&&(Os(e)||Ps(e)||t.some(r=>r.name===su.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Ns()[e+"|"+t];return n||(n=Ns()["*|"+t],n||zr.NONE)}getMappedPropName(e){return du.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... +If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>sm.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return Yf(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(sh(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[\d\.]+([a-z]*)$/);i&&i[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},s(pu,"Vt"),pu),s(sh,"Ua"),V=(fu=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=Ke.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=u??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},s(fu,"m"),fu),s(jl,"Ge"),xr=(hu=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},s(hu,"oe"),hu),cm=(mu=class extends xr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},s(mu,"Ut"),mu),dm=(gu=class extends xr{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},s(gu,"Wt"),gu),pm=(vu=class extends xr{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},s(vu,"zt"),vu),fm=(yu=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},s(yu,"Gt"),yu),hm=(wu=class extends xr{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},s(wu,"Yt"),wu),It=(bu=class extends xr{constructor(e,t,r,n,a,o=null,i=null,u){super(n,u),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},s(bu,"G"),bu),mm=(Eu=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},s(Eu,"jt"),Eu),gm=(Du=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},s(Du,"Kt"),Du),Cr=(xu=class extends xr{constructor(e,t,r,n,a,o,i=null,u){super(n,u),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=i,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},s(xu,"Z"),xu),Su=(Cu=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},s(Cu,"ct"),Cu),Au=(ku=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},s(ku,"pt"),ku),s(Zc,"Qt"),oy=(Fu=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Zc(n,o,e))}return s(a,"i"),t(a),Array.prototype.concat.apply([],r)}},s(Fu,"ht"),Fu),Ga={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` +`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},vm="",Ga.ngsp=vm,ly=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],s(uh,"Ls"),ym=(Yo=class{static fromArray(e){return e?(uh("interpolation",e),new Yo(e[0],e[1])):_u}constructor(e,t){this.start=e,this.end=t}},s(Yo,"t"),Yo),_u=new ym("{{","}}"),Zo=(Bu=class extends au{constructor(e,t,r){super(r,e),this.tokenType=t}},s(Bu,"ft"),Bu),iy=(Iu=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},s(Iu,"$r"),Iu),s(ch,"Ws"),wm=/\r\n?/g,s(Dr,"je"),s(Hs,"Rs"),s(dh,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Jo||(Jo={})),Xo=(Ru=class{constructor(e){this.error=e}},s(Ru,"dt"),Ru),sy=(zu=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||_u,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new bm(e,n):new Tu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(wm,` +`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>qa(r)?!e:js(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ne),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ne);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Vs);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&Wo(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Vs)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),qa(this._cursor.peek()))this._attemptCharCodeUntilFn(ne);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ne),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ne(r)&&!Uo(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Ua(r)||r==36||r===95||t&&$l(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;Wo(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(mh(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Zo("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Zo("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Zo(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Xo(r)}handleError(e){if(e instanceof Qo&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Xo)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return gh(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Dr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!ph(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn($s,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Ua(this._cursor.peek()))throw this._createError(Dr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ne);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[i,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ne);let c=this._consumeAttributeValue();a.push({prefix:i,name:u,value:c})}else a.push({prefix:i,name:u});this._attemptCharCodeUntilFn(ne)}this._consumeTagOpenEnd()}catch(i){if(i instanceof Xo){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw i}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===Ke.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===Ke.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ne),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(Dr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=s(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=s(()=>$s(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ne),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ne),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ne)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ne),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let i=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],i),a.length=0,this._consumeInterpolation(t,i,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,i=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,n.push(this._getProcessedChars(a,u)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,u)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(i=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!i&&o===null&&Wo(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),js(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=ma(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=ma(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},s(zu,"Or"),zu),s(ne,"b"),s($s,"$s"),s(ph,"mo"),s(fh,"fo"),s(hh,"go"),s(mh,"Co"),s(gh,"So"),s(Jc,"Os"),s(js,"Ms"),s(Vs,"qs"),s(y3,"_o"),Tu=(ya=class{constructor(e,t){if(e instanceof ya){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new ya(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new q(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Qo('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Uo(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Kl(e.file,e.state.offset,e.state.line,e.state.column)}},s(ya,"t"),ya),bm=(wa=class extends Tu{constructor(e,t){e instanceof wa?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new wa(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Ms(e())){let t="",r=0,n=this.clone();for(;Ms(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Uo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Qo("Invalid hexadecimal escape sequence",e);return n}},s(wa,"t"),wa),Qo=(Lu=class{constructor(e,t){this.msg=e,this.cursor=t}},s(Lu,"gt"),Lu),ye=(el=class extends au{static create(e,t,r){return new el(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},s(el,"t"),el),Em=(Mu=class{constructor(e,t){this.rootNodes=e,this.errors=t}},s(Mu,"Vr"),Mu),Dm=(Ou=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=s(f=>(y,...m)=>f(y.toLowerCase(),...m),"a"),i=n?this.getTagDefinition:o(this.getTagDefinition),u=s(f=>i(f).getContentType(),"u"),c=n?a:o(a),d=ch(e,t,a?(f,y,m,b)=>{let x=c(f,y,m,b);return x!==void 0?x:u(f)}:u,r),p=r&&r.canSelfClose||!1,g=r&&r.allowHtmComponentClosingTags||!1,h=new xm(d.tokens,i,p,g,n);return h.build(),new Em(h.rootNodes,d.errors.concat(h.errors))}},s(Ou,"nr"),Ou),xm=(tl=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Cr&&this.errors.push(ye.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new q(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),i=new q(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new fm(e.parts[0],a.rootNodes,o,e.sourceSpan,i)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(qs(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(qs(r,20))r.pop();else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` +`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` +`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,Us):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new cm(n,new q(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof It&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let h=this.getTagDefinition(a);this.canSelfClose||h.canSelfClose||za(a)!==null||h.isVoid||this.errors.push(ye.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let i=this._peek.sourceSpan.fullStart,u=new q(e.sourceSpan.start,i,e.sourceSpan.fullStart),c=new q(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new q(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new It(a,n,[],u,c,void 0,d),g=this._getContainer();this._pushContainer(p,g instanceof It&&this.getTagDefinition(g.name).isClosedByChild(p.name)),o?this._popContainer(a,It,u):e.type===4&&(this._popContainer(a,It,null),this.errors.push(ye.create(a,u,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(ye.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,It,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ye.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(za(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Cr||o instanceof It&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=ma(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,u;if(this._peek.type===16)for(i=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,Us):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),u=r=d.sourceSpan.end}this._peek.type===15&&(u=r=this._advance().sourceSpan.end);let c=i&&u&&new q((n==null?void 0:n.sourceSpan.start)??i.start,u,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new hm(t,a,new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Su(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Cr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Cr,e.sourceSpan)||this.errors.push(ye.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Su(i.parts[0],i.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Cr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Cr,null),this.errors.push(ye.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new q(e.sourceSpan.start,a,e.sourceSpan.fullStart),i=e.sourceSpan.toString().lastIndexOf(t),u=e.sourceSpan.start.moveBy(i),c=new q(u,e.sourceSpan.end),d=new Au(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new q(a,e.sourceSpan.end),i=new q(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),u=new Au(t,"",e.sourceSpan,o,i);this._addToParent(u)}this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof It)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Qa(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=za(r.name))}return ma(e,t)}},s(tl,"t"),tl),s(qs,"zs"),s(Us,"Gs"),Cm=(Pu=class extends Dm{constructor(){super(jl)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},s(Pu,"sr"),Pu),rl=null,uy=s(()=>(rl||(rl=new Cm),rl),"Eo"),s(Xc,"zr"),s(vh,"Ao"),cy=vh,En=3,s(w3,"Do"),s(yh,"vo"),dy=yh,ba={attrs:!0,children:!0,cases:!0,expression:!0},Nu=new Set(["parent"]),py=(Sr=class{constructor(e={}){for(let t of new Set([...Nu,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in ba&&(t=t.map(r=>this.createChild(r))),!Nu.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in ba){let n=this[r];if(n){let a=wh(n,o=>o.map(e));t!==n&&(t||(t=new Sr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in ba||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in ba){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},s(Sr,"t"),Sr),s(wh,"yo"),fy=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),Fm=ga({name:"lwc",canSelfClose:!1}),_m={html:Kh},my=Ys});function Rt(){}function Bm(e,t,r,n,a){for(var o=[],i;t;)o.push(t),i=t.previousComponent,delete t.previousComponent,t=i;o.reverse();for(var u=0,c=o.length,d=0,p=0;um.length?x:m}),g.value=e.join(f)}else g.value=e.join(r.slice(d,d+g.count));d+=g.count,g.added||(p+=g.count)}}var y=o[c-1];return c>1&&typeof y.value=="string"&&(y.added||y.removed)&&e.equals("",y.value)&&(o[c-2].value+=y.value,o.pop()),o}function Ka(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Ka=s(function(t){return typeof t},"$e"):Ka=s(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Ka(e)}function Yl(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` +`?"crlf":"cr":"lf"}function Pi(e){switch(e){case"cr":return"\r";case"crlf":return`\r +`;default:return` +`}}function v1(e,t){let r;switch(t){case` +`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r +`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function yy(e){return So(!1,e,/\r\n?/gu,` +`)}function Im(e){if(typeof e=="string")return dr;if(Array.isArray(e))return Et;if(!e)return;let{type:t}=e;if(_1.has(t))return t}function Rm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', +Expected it to be 'string' or 'object'.`;if(pr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=l7([..._1].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. +Expected it to be ${n}.`}function zm(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===S0){r(a.pop());continue}r&&a.push(o,S0);let i=pr(o);if(!i)throw new jr(o);if((t==null?void 0:t(o))!==!1)switch(i){case Et:case Xe:{let u=i===Et?o:o.parts;for(let c=u.length,d=c-1;d>=0;--d)a.push(u[d]);break}case Fe:a.push(o.flatContents,o.breakContents);break;case ke:if(n&&o.expandedStates)for(let u=o.expandedStates.length,c=u-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case xt:case Dt:case Ct:case Qe:case St:a.push(o.contents);break;case dr:case er:case yt:case wt:case fe:case Te:break;default:throw new jr(o)}}}function oo(e){return et(e),{type:Dt,contents:e}}function $r(e,t){return et(t),{type:xt,contents:t,n:e}}function a0(e,t={}){return et(e),$i(t.expandedStates,!0),{type:ke,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Tm(e){return $r(Number.NEGATIVE_INFINITY,e)}function Lm(e){return $r({type:"root"},e)}function Mm(e){return $r(-1,e)}function Om(e,t){return a0(e[0],{...t,expandedStates:e})}function o0(e){return $i(e),{type:Xe,parts:e}}function Pm(e,t="",r={}){return et(e),t!==""&&et(t),{type:Fe,breakContents:e,flatContents:t,groupId:r.groupId}}function Nm(e,t){return et(e),{type:Ct,contents:e,groupId:t.groupId,negate:t.negate}}function Zl(e){return et(e),{type:St,contents:e}}function l0(e,t){et(e),$i(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${g})`}if(o.type===ke){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push(`id: ${a(o.id)}`);let g=p.length>0?`, { ${p.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(h=>n(h)).join(",")}]${g})`:`group(${n(o.contents)}${g})`}if(o.type===Xe)return`fill([${o.parts.map(p=>n(p)).join(", ")}])`;if(o.type===St)return"lineSuffix("+n(o.contents)+")";if(o.type===wt)return"lineSuffixBoundary";if(o.type===Qe)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let i=o.description||"symbol";for(let u=0;;u++){let c=i+(u>0?` #${u}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function $m(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function jm(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function Vm(e){if(!e)return 0;if(!u7.test(e))return e.length;e=e.replace(i7()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=s7(n)?1:2)}return t}function lo(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let i=a(o);return r.set(o,i),i}function a(o){switch(pr(o)){case Et:return t(o.map(n));case Xe:return t({...o,parts:o.parts.map(n)});case Fe:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case ke:{let{expandedStates:i,contents:u}=o;return i?(i=i.map(n),u=i[0]):u=n(u),t({...o,contents:u,expandedStates:i})}case xt:case Dt:case Ct:case Qe:case St:return t({...o,contents:n(o.contents)});case dr:case er:case yt:case wt:case fe:case Te:return t(o);default:throw new jr(o)}}}function Jl(e,t,r){let n=r,a=!1;function o(i){if(a)return!1;let u=t(i);u!==void 0&&(a=!0,n=u)}return s(o,"u"),ti(e,o),n}function by(e){if(e.type===ke&&e.break||e.type===fe&&e.hard||e.type===Te)return!0}function qm(e){return Jl(e,by,!1)}function s0(e){if(e.length>0){let t=ue(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function Ey(e){let t=new Set,r=[];function n(o){if(o.type===Te&&s0(r),o.type===ke){if(r.push(o),t.has(o))return!1;t.add(o)}}s(n,"n");function a(o){o.type===ke&&r.pop().break&&s0(r)}s(a,"o"),ti(e,n,a,!0)}function Dy(e){return e.type===fe&&!e.hard?e.soft?"":" ":e.type===Fe?e.flatContents:e}function Um(e){return lo(e,Dy)}function u0(e){for(e=[...e];e.length>=2&&ue(!1,e,-2).type===fe&&ue(!1,e,-1).type===Te;)e.length-=2;if(e.length>0){let t=Bn(ue(!1,e,-1));e[e.length-1]=t}return e}function Bn(e){switch(pr(e)){case Dt:case Ct:case ke:case St:case Qe:{let t=Bn(e.contents);return{...e,contents:t}}case Fe:return{...e,breakContents:Bn(e.breakContents),flatContents:Bn(e.flatContents)};case Xe:return{...e,parts:u0(e.parts)};case Et:return u0(e);case dr:return e.replace(/[\n\r]*$/u,"");case xt:case er:case yt:case wt:case fe:case Te:break;default:throw new jr(e)}return e}function c0(e){return Bn(Cy(e))}function xy(e){switch(pr(e)){case Xe:if(e.parts.every(t=>t===""))return"";break;case ke:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ke&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Dt:case Ct:case St:if(!e.contents)return"";break;case Fe:if(!e.flatContents&&!e.breakContents)return"";break;case Et:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ue(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case dr:case er:case yt:case wt:case fe:case Qe:case Te:break;default:throw new jr(e)}return e}function Cy(e){return lo(e,t=>xy(t))}function Wm(e,t=A0){return lo(e,r=>typeof r=="string"?l0(t,r.split(` +`)):r)}function Sy(e){if(e.type===fe)return!0}function Gm(e){return Jl(e,Sy,!1)}function y1(e,t){return e.type===Qe?{...e,contents:t(e.contents)}:t(e)}function w1(){return{value:"",length:0,queue:[]}}function ky(e,t){return Xl(e,{type:"indent"},t)}function Ay(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||w1():t<0?Xl(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Xl(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Xl(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,u=0;for(let y of n)switch(y.type){case"indent":p(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":p(),a+=y.n,o+=y.n.length;break;case"numberAlign":i+=1,u+=y.n;break;default:throw new Error(`Unexpected type '${y.type}'`)}return h(),{...e,value:a,length:o,queue:n};function c(y){a+=" ".repeat(y),o+=r.tabWidth*y}function d(y){a+=" ".repeat(y),o+=y}function p(){r.useTabs?g():h()}function g(){i>0&&c(i),f()}function h(){u>0&&d(u),f()}function f(){i=0,u=0}}function Ql(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===In){r++;continue}for(let o=a.length-1;o>=0;o--){let i=a[o];if(i===" "||i===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(In);return t}function Ma(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,u=[e],c=[];for(;r>=0;){if(u.length===0){if(i===0)return!0;u.push(t[--i]);continue}let{mode:d,doc:p}=u.pop(),g=pr(p);switch(g){case dr:c.push(p),r-=ni(p);break;case Et:case Xe:{let h=g===Et?p:p.parts;for(let f=h.length-1;f>=0;f--)u.push({mode:d,doc:h[f]});break}case Dt:case xt:case Ct:case Qe:u.push({mode:d,doc:p.contents});break;case yt:r+=Ql(c);break;case ke:{if(o&&p.break)return!1;let h=p.break?xe:d,f=p.expandedStates&&h===xe?ue(!1,p.expandedStates,-1):p.contents;u.push({mode:h,doc:f});break}case Fe:{let h=(p.groupId?a[p.groupId]||We:d)===xe?p.breakContents:p.flatContents;h&&u.push({mode:d,doc:h});break}case fe:if(d===xe||p.hard)return!0;p.soft||(c.push(" "),r--);break;case St:n=!0;break;case wt:if(n)return!1;break}}return!1}function io(e,t){let r={},n=t.printWidth,a=Pi(t.endOfLine),o=0,i=[{ind:w1(),mode:xe,doc:e}],u=[],c=!1,d=[],p=0;for(Ey(e);i.length>0;){let{ind:h,mode:f,doc:y}=i.pop();switch(pr(y)){case dr:{let m=a!==` +`?So(!1,y,` +`,a):y;u.push(m),i.length>0&&(o+=ni(m));break}case Et:for(let m=y.length-1;m>=0;m--)i.push({ind:h,mode:f,doc:y[m]});break;case er:if(p>=2)throw new Error("There are too many 'cursor' in doc.");u.push(In),p++;break;case Dt:i.push({ind:ky(h,t),mode:f,doc:y.contents});break;case xt:i.push({ind:Ay(h,y.n,t),mode:f,doc:y.contents});break;case yt:o-=Ql(u);break;case ke:switch(f){case We:if(!c){i.push({ind:h,mode:y.break?xe:We,doc:y.contents});break}case xe:{c=!1;let m={ind:h,mode:We,doc:y.contents},b=n-o,x=d.length>0;if(!y.break&&Ma(m,i,b,x,r))i.push(m);else if(y.expandedStates){let D=ue(!1,y.expandedStates,-1);if(y.break){i.push({ind:h,mode:xe,doc:D});break}else for(let E=1;E=y.expandedStates.length){i.push({ind:h,mode:xe,doc:D});break}else{let w=y.expandedStates[E],C={ind:h,mode:We,doc:w};if(Ma(C,i,b,x,r)){i.push(C);break}}}else i.push({ind:h,mode:xe,doc:y.contents});break}}y.id&&(r[y.id]=ue(!1,i,-1).mode);break;case Xe:{let m=n-o,{parts:b}=y;if(b.length===0)break;let[x,D]=b,E={ind:h,mode:We,doc:x},w={ind:h,mode:xe,doc:x},C=Ma(E,[],m,d.length>0,r,!0);if(b.length===1){C?i.push(E):i.push(w);break}let S={ind:h,mode:We,doc:D},A={ind:h,mode:xe,doc:D};if(b.length===2){C?i.push(S,E):i.push(A,w);break}b.splice(0,2);let k={ind:h,mode:f,doc:o0(b)},_=b[0];Ma({ind:h,mode:We,doc:[x,D,_]},[],m,d.length>0,r,!0)?i.push(k,S,E):C?i.push(k,A,E):i.push(k,A,w);break}case Fe:case Ct:{let m=y.groupId?r[y.groupId]:f;if(m===xe){let b=y.type===Fe?y.breakContents:y.negate?y.contents:oo(y.contents);b&&i.push({ind:h,mode:f,doc:b})}if(m===We){let b=y.type===Fe?y.flatContents:y.negate?oo(y.contents):y.contents;b&&i.push({ind:h,mode:f,doc:b})}break}case St:d.push({ind:h,mode:f,doc:y.contents});break;case wt:d.length>0&&i.push({ind:h,mode:f,doc:xl});break;case fe:switch(f){case We:if(y.hard)c=!0;else{y.soft||(u.push(" "),o+=1);break}case xe:if(d.length>0){i.push({ind:h,mode:f,doc:y},...d.reverse()),d.length=0;break}y.literal?h.root?(u.push(a,h.root.value),o=h.root.length):(u.push(a),o=0):(o-=Ql(u),u.push(a+h.value),o=h.length);break}break;case Qe:i.push({ind:h,mode:f,doc:y.contents});break;case Te:break;default:throw new jr(y)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let g=u.indexOf(In);if(g!==-1){let h=u.indexOf(In,g+1),f=u.slice(0,g).join(""),y=u.slice(g+1,h).join(""),m=u.slice(h+1).join("");return{formatted:f+y+m,cursorNodeStart:f.length,cursorNodeText:y}}return{formatted:u.join("")}}function Km(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=s(o=>d7(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let u of i)a(u)&&(yield u);else a(i)&&(yield i)}}function*Fy(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i0}function Qm(e){return e?t=>e(t,B0):f7}function _y(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function Ni(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=_y(e)}function Tr(e,t){t.leading=!0,t.trailing=!1,Ni(e,t)}function Ya(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Ni(e,t)}function Lr(e,t){t.leading=!1,t.trailing=!0,Ni(e,t)}function Hi(e,t){if(Cl.has(e))return Cl.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let u=((r==null?void 0:r(e,t))??[...b1(e,{getVisitorKeys:ko(a)})]).flatMap(c=>n(c)?[c]:Hi(c,t));return u.sort((c,d)=>o(c)-o(d)||i(c)-i(d)),Cl.set(e,u),u}function E1(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),u=o(t),c=Hi(e,r),d,p,g=0,h=c.length;for(;g>1,y=c[f],m=a(y),b=o(y);if(m<=i&&u<=b)return E1(y,t,r,y);if(b<=i){d=y,g=f+1;continue}if(u<=m){p=y,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,y=bl(f,t,r);d&&bl(f,d,r)!==y&&(d=null),p&&bl(f,p,r)!==y&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function By(e,t){let{comments:r}=e;if(delete e.comments,!p7(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:u={}},originalText:c}=t,{ownLine:d=Sl,endOfLine:p=Sl,remaining:g=Sl}=u,h=r.map((f,y)=>({...E1(e,f,t),comment:f,text:c,options:t,ast:e,isLastComment:r.length-1===y}));for(let[f,y]of h.entries()){let{comment:m,precedingNode:b,enclosingNode:x,followingNode:D,text:E,options:w,ast:C,isLastComment:S}=y;if(w.parser==="json"||w.parser==="json5"||w.parser==="jsonc"||w.parser==="__js_expression"||w.parser==="__ts_expression"||w.parser==="__vue_expression"||w.parser==="__vue_ts_expression"){if(a(m)-a(C)<=0){Tr(C,m);continue}if(o(m)-o(C)>=0){Lr(C,m);continue}}let A;if(i?A=[y]:(m.enclosingNode=x,m.precedingNode=b,m.followingNode=D,A=[m,E,w,C,S]),Iy(E,w,h,f))m.placement="ownLine",d(...A)||(D?Tr(D,m):b?Lr(b,m):Ya(x||C,m));else if(Ry(E,w,h,f))m.placement="endOfLine",p(...A)||(b?Lr(b,m):D?Tr(D,m):Ya(x||C,m));else if(m.placement="remaining",!g(...A))if(b&&D){let k=n.length;k>0&&n[k-1].followingNode!==D&&d0(n,w),n.push(y)}else b?Lr(b,m):D?Tr(D,m):Ya(x||C,m)}if(d0(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function Iy(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:u}=t,c=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:g}=r[d];if(g!==o||!B1(e.slice(u(p),c)))break;c=i(p)}return Pt(e,c,{backwards:!0})}function Ry(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:u}=t,c=u(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:p,followingNode:g}=e[c-1];oi.strictEqual(p,o),oi.strictEqual(g,i);let h=t.originalText.slice(t.locEnd(d),u);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))u=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,g)=>t.locStart(p)-t.locStart(g));e.length=0}function bl(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(u)).length===0)return{leading:"",trailing:""};let a=[],o=[],i;return e.each(()=>{let u=e.node;if(n!=null&&n.has(u))return;let{leading:c,trailing:d}=u;c?a.push(zy(e,t)):d&&(i=Ty(e,t,i),o.push(i.doc))},"comments"),{leading:a,trailing:o}}function My(e,t,r){let{leading:n,trailing:a}=Ly(e,r);return!n&&!a?t:y1(t,o=>[n,o,a])}function Oy(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function t5(e){return()=>{}}function p0({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of Ny(Object.assign({},...e.map(({options:o})=>o),m7)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...Py(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var i;return((i=o.defaultOptions)==null?void 0:i[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*Py(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let i=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),u=a.name;i!=null&&i.name&&(u+=` (plugin: ${i.name})`),yield{value:o,description:u}}}}function Ny(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ue(!1,a.default,-1).value),t.push(a)}return t}function f0(e,t){if(!t)return;let r=g7(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function Hy(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function r5(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=Hy(r,t.language)??f0(r,t.physicalFile)??f0(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Hu(e,t,r,n){return[`Invalid ${Mr.default.red(n.key(e))} value.`,`Expected ${Mr.default.blue(r)},`,`but received ${t===R0?Mr.default.gray("nothing"):Mr.default.red(n.value(t))}.`].join(" ")}function h0({text:e,list:t},r){let n=[];return e&&n.push(`- ${Mr.default.blue(e)}`),t&&n.push([`- ${Mr.default.blue(t.title)}:`].concat(t.values.map(a=>h0(a,r-z0.length).replace(/^|\n/g,`$&${z0}`))).join(` +`)),m0(n,r)}function m0(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(i=>i.split(` +`,1)[0].length);return a>t&&a>o?n:r}function n5(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;ou?d>u?u+1:d:d>c?c+1:d;return u}function a5(e,t){let r=new e(t),n=Object.create(r);for(let a of y7)a in t&&(n[a]=$y(t[a],r,Lt.prototype[a].length));return n}function $y(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function $u({from:e,to:t}){return{from:[e],to:t}}function o5(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function l5(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function i5(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function s5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function u5(e){return e===Math.floor(e)}function c5(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function d5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function ju(e){return e===void 0?{}:e}function g0(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return jy((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(g0)}}:{text:t}}function Vu(e,t){return e===!0?!0:e===!1?{value:t}:e}function qu(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function v0(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function El(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>v0(r,t)):[v0(e,t)]}function Uu(e,t){let r=El(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function jy(e,t){if(!e)throw new Error(t)}function p5(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:i}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!i)throw new Error("'descriptor' option is required.")}else i=Ar;let u=a?Array.isArray(a)?(h,f)=>a.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,y)=>{let{_:m,...b}=y.schemas;return L0(h,f,{...y,schemas:b})},c=Vy(t,{isCLI:n,FlagSchema:o}),d=new S7(c,{logger:r,unknown:u,descriptor:i}),p=r!==!1;p&&bc&&(d._hasDeprecationWarned=bc);let g=d.normalize(e);return p&&(bc=d._hasDeprecationWarned),g}function Vy(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(b7.create({name:"_"}));for(let a of e)n.push(qy(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(w7.create({name:a.alias,sourceName:a.name}));return n}function qy(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,u={};switch(e.type){case"int":i=C7,t&&(o.preprocess=Number);break;case"string":i=M0;break;case"choice":i=x7,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":i=D7;break;case"flag":i=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":i=M0;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,p)=>e.exception(c)||d.validate(c,p):o.validate=(c,d,p)=>c===void 0||d.validate(c,p),e.redirect&&(u.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,p,g)=>p.preprocess(c(Array.isArray(d)?ue(!1,d,-1):d),g)}return e.array?E7.create({...t?{preprocess:s(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...u,valueSchema:i.create(o)}):i.create({...o,...u})}function x1(e,t){if(!t)throw new Error("parserName is required.");let r=R1(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new I1(n)}function Uy(e,t){if(!t)throw new Error("astFormat is required.");let r=R1(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new I1(n)}function C1({plugins:e,parser:t}){let r=x1(e,t);return S1(r,t)}function S1(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function Wy(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function f5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=v7(n,{physicalFile:n.filepath}),!n.parser)throw new I0(`No parser could be inferred for file "${n.filepath}".`)}else throw new I0("No parser and no file path given, couldn't infer a parser.");let a=p0({plugins:e.plugins,showDeprecated:!0}).options,o={...O0,...Object.fromEntries(a.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},i=x1(n.plugins,n.parser),u=await S1(i,n.parser);n.astFormat=u.astFormat,n.locEnd=u.locEnd,n.locStart=u.locStart;let c=(r=i.printers)!=null&&r[u.astFormat]?i:Uy(n.plugins,u.astFormat),d=await Wy(c,u.astFormat);n.printer=d;let p=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,h])=>h!==void 0)):{},g={...o,...p};for(let[h,f]of Object.entries(g))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),k7(n,a,{passThrough:Object.keys(O0),...t})}async function h5(e,t){let r=await C1(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){Gy(o,e)}return{text:n,ast:a}}function Gy(e,t){let{loc:r}=e;if(r){let n=(0,A7.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` +`+n,e.codeFrame=n,e}throw e}async function Ky(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:u=s(()=>!1,"s"),getVisitorKeys:c}}=r;if(!i||o!=="auto")return;if(i.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=ko(i.getVisitorKeys??c),p=[];f();let g=e.stack;for(let{print:y,node:m,pathStack:b}of p)try{e.stack=b;let x=await y(h,t,e,r);x&&a.set(m,x)}catch(x){if(globalThis.PRETTIER_DEBUG)throw x}e.stack=g;function h(y,m){return Yy(y,m,r,n)}s(h,"f");function f(){let{node:y}=e;if(y===null||typeof y!="object"||u(e))return;for(let b of d(y))Array.isArray(y[b])?e.each(f,b):e.call(f,b);let m=i(e,r);if(m){if(typeof m=="function"){p.push({print:m,node:y,pathStack:[...e.stack]});return}a.set(y,m)}}s(f,"p")}async function Yy(e,t,r,n){let a=await Yr({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await ea(e,a),i=await n(o,a);return c0(i)}function m5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:u}=e,c=a(u),d=o(u);for(let p of n)a(p)>=c&&o(p)<=d&&i.add(p);return r.slice(c,d)}async function Co(e,t){({ast:e}=await k1(e,t));let r=new Map,n=new c7(e),a=h7(t),o=new Map;await Ky(n,u,t,Co,o);let i=await y0(n,t,u,void 0,o);return Oy(t),i;function u(d,p){return d===void 0||d===n?c(p):Array.isArray(d)?n.call(()=>c(p),...d):n.call(()=>c(p),d)}function c(d){a(n);let p=n.node;if(p==null)return"";let g=p&&typeof p=="object"&&d===void 0;if(g&&r.has(p))return r.get(p);let h=y0(n,t,u,d,o);return g&&r.set(p,h),h}}function y0(e,t,r,n,a){var o;let{node:i}=e,{printer:u}=t,c;return(o=u.hasPrettierIgnore)!=null&&o.call(u,e)?c=F7(e,t):a.has(i)?c=a.get(i):c=u.print(e,t,r,n),i===t.cursorNode&&(c=y1(c,d=>[ri,d,ri])),u.printComment&&(!u.willPrintOwnComments||!u.willPrintOwnComments(e,t))&&(c=My(e,c,t)),c}async function k1(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,By(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function g5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=ko(t.printer.getVisitorKeys),i=s(c=>n(c)<=r&&a(c)>=r,"i"),u=e;for(let c of Fy(e,{getVisitorKeys:o,filter:i}))u=c;return u}function v5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=ko(n),o=r.ignoredProperties??new Set;return i(e);function i(u,c){if(!(u!==null&&typeof u=="object"))return u;if(Array.isArray(u))return u.map(h=>i(h,c)).filter(Boolean);let d={},p=new Set(a(u));for(let h in u)!Object.prototype.hasOwnProperty.call(u,h)||o.has(h)||(p.has(h)?d[h]=i(u[h],u):d[h]=u[h]);let g=r(u,d,c);if(g!==null)return g??d}}function Zy(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>z1.has(a.type)&&n.has(a))}function w0(e){let t=I7(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function Jy(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let i=r(e.node);for(let c of w0(t.parentNodes))if(r(c)>=i)o=c;else break;let u=n(t.node);for(let c of w0(e.parentNodes)){if(n(c)<=u)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function ei(e,t,r,n,a=[],o){let{locStart:i,locEnd:u}=r,c=i(e),d=u(e);if(!(t>d||tn);let u=e.slice(n,a).search(/\S/u),c=u===-1;if(!c)for(n+=u;a>n&&!/\S/u.test(e[a-1]);--a);let d=ei(r,n,t,(f,y)=>b0(t,f,y),[],"rangeStart"),p=c?d:ei(r,a,t,f=>b0(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let g,h;if(R7(t)){let f=Zy(d,p);g=f,h=f}else({startNode:g,endNode:h}=Jy(d,p,t));return{rangeStart:Math.min(o(g),o(h)),rangeEnd:Math.max(i(g),i(h))}}async function A1(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await ea(e,t);t.cursorOffset>=0&&(t.cursorNode=_7(n,t));let o=await Co(n,t);r>0&&(o=i0([tr,o],r,t.tabWidth));let i=io(o,t);if(r>0){let c=i.formatted.trim();i.cursorNodeStart!==void 0&&(i.cursorNodeStart-=i.formatted.indexOf(c)),i.formatted=c+Pi(t.endOfLine)}let u=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,p,g,h;if(t.cursorNode&&i.cursorNodeText?(c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode)),p=t.cursorOffset-c,g=i.cursorNodeStart,h=i.cursorNodeText):(c=0,d=a,p=t.cursorOffset,g=0,h=i.formatted),d===h)return{formatted:i.formatted,cursorOffset:g+p,comments:u};let f=d.split("");f.splice(p,0,P0);let y=h.split(""),m=gy(f,y),b=g;for(let x of m)if(x.removed){if(x.value.includes(P0))break}else b+=x.count;return{formatted:i.formatted,cursorOffset:b,comments:u}}return{formatted:i.formatted,cursorOffset:-1,comments:u}}async function e7(e,t){let{ast:r,text:n}=await ea(e,t),{rangeStart:a,rangeEnd:o}=Qy(n,t,r),i=n.slice(a,o),u=Math.min(a,n.lastIndexOf(` +`,a)+1),c=n.slice(u,a).match(/^\s*/u)[0],d=ai(c,t.tabWidth),p=await A1(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),g=p.formatted.trimEnd(),{cursorOffset:h}=t;h>o?h+=g.length-i.length:p.cursorOffset>=0&&(h=p.cursorOffset+a);let f=n.slice(0,a)+g+n.slice(o);if(t.endOfLine!=="lf"){let y=Pi(t.endOfLine);h>=0&&y===`\r +`&&(h+=v1(f.slice(0,h),` +`)),f=So(!1,f,` +`,y)}return{formatted:f,cursorOffset:h,comments:p.comments}}function Dl(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function E0(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=Dl(e,r,-1),n=Dl(e,n,0),a=Dl(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function F1(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=E0(e,t),i=e.charAt(0)===T1;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=vy(e)),e.includes("\r")){let u=s(c=>v1(e.slice(0,Math.max(c,0)),`\r +`),"s");r-=u(r),n-=u(n),a-=u(a),e=yy(e)}return{hasBOM:i,text:e,options:E0(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function D0(e,t){let r=await C1(t);return!r.hasPragma||r.hasPragma(e)}async function x0(e,t){let{hasBOM:r,text:n,options:a}=F1(e,await Yr(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await D0(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function y5(e,t,r){let{text:n,options:a}=F1(e,await Yr(t)),o=await ea(n,a);return r&&(r.preprocessForPrint&&(o.ast=await k1(o.ast,a)),r.massage&&(o.ast=B7(o.ast,a))),o}async function w5(e,t){t=await Yr(t);let r=await Co(e,t);return io(r,t)}async function b5(e,t){let r=wy(e),{formatted:n}=await x0(r,{...t,parser:"__js_expression"});return n}async function E5(e,t){t=await Yr(t);let{ast:r}=await ea(e,t);return Co(r,t)}async function D5(e,t){return io(e,await Yr(t))}function x5(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function _5(e,t){let r=Vi(e,t);return r===!1?"":e.charAt(r)}function B5(e,t,r){for(let n=t;ni===n?i:u===t?"\\"+u:u||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(i)?i:"\\"+i));return t+a+t}function r7(e,t,r){return Vi(e,r(t))}function z5(e,t){return arguments.length===2||typeof t=="number"?Vi(e,t):r7(...arguments)}function n7(e,t,r){return ji(e,r(t))}function T5(e,t){return arguments.length===2||typeof t=="number"?ji(e,t):n7(...arguments)}function a7(e,t,r){return si(e,r(t))}function L5(e,t){return arguments.length===2||typeof t=="number"?si(e,t):a7(...arguments)}function Ut(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function C0(e,t){let{formatted:r}=await N0(e,{...t,cursorOffset:-1});return r}async function M5(e,t){return await C0(e,t)===e}var O5,Ea,P5,N5,H5,$5,Wu,j5,nl,Da,Gu,xa,V5,q5,U5,cn,al,Ku,W5,G5,K5,Y5,Z5,Yu,J5,So,Zu,Ju,Xu,Qu,X5,Q5,o7,dn,Oa,dr,Et,er,Dt,xt,yt,ke,Xe,Fe,Ct,St,wt,fe,Qe,Te,_1,pr,l7,ec,eg,jr,S0,ti,tc,et,$i,tg,Pa,rg,xl,rc,k0,ng,tr,A0,ri,ag,ue,i7,s7,u7,ni,xe,We,In,ai,kr,nc,ol,ac,og,c7,oc,oi,d7,lg,Ht,F0,_0,sr,Pt,p7,B0,f7,ko,Cl,Sl,B1,ji,h7,lc,I1,ic,I0,m7,g7,v7,Ar,sc,ig,Mr,R0,Ca,z0,sg,uc,kl,T0,L0,y7,cc,Lt,dc,w7,pc,b7,fc,E7,hc,D7,mc,x7,gc,ug,vc,C7,yc,M0,cg,dg,pg,fg,wc,S7,bc,k7,hg,R1,O0,Yr,A7,ea,F7,_7,B7,mg,I7,R7,z1,z7,T1,P0,Ec,gg,vg,yg,wg,Dc,li,ii,Vi,si,bg,Eg,Dg,xg,Cg,Sg,N0,kg,Ag,T7,GD=R(()=>{O5=Object.create,Ea=Object.defineProperty,P5=Object.getOwnPropertyDescriptor,N5=Object.getOwnPropertyNames,H5=Object.getPrototypeOf,$5=Object.prototype.hasOwnProperty,Wu=s(e=>{throw TypeError(e)},"sr"),j5=s((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),nl=s((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),Da=s((e,t)=>{for(var r in t)Ea(e,r,{get:t[r],enumerable:!0})},"We"),Gu=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of N5(t))!$5.call(e,a)&&a!==r&&Ea(e,a,{get:s(()=>t[a],"get"),enumerable:!(n=P5(t,a))||n.enumerable});return e},"ar"),xa=s((e,t,r)=>(r=e!=null?O5(H5(e)):{},Gu(t||!e||!e.__esModule?Ea(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),V5=s(e=>Gu(Ea({},"__esModule",{value:!0}),e),"vu"),q5=s((e,t,r)=>t.has(e)||Wu("Cannot "+r),"bu"),U5=s((e,t,r)=>t.has(e)?Wu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),cn=s((e,t,r)=>(q5(e,t,"access private method"),r),"pe"),al=nl((e,t)=>{var r=new Proxy(String,{get:s(()=>r,"get")});t.exports=r}),Ku={},Da(Ku,{default:s(()=>G5,"default"),shouldHighlight:s(()=>W5,"shouldHighlight")}),K5=j5(()=>{W5=s(()=>!1,"xo"),G5=String}),Y5=nl((e,t)=>{var r=String,n=s(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),Z5=nl(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=y;var t=(K5(),V5(Ku)),r=a(Y5(),!0);function n(m){if(typeof WeakMap!="function")return null;var b=new WeakMap,x=new WeakMap;return(n=s(function(D){return D?x:b},"Wn"))(m)}s(n,"Wn");function a(m,b){if(!b&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var x=n(b);if(x&&x.has(m))return x.get(m);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var w in m)if(w!=="default"&&{}.hasOwnProperty.call(m,w)){var C=E?Object.getOwnPropertyDescriptor(m,w):null;C&&(C.get||C.set)?Object.defineProperty(D,w,C):D[w]=m[w]}return D.default=m,x&&x.set(m,D),D}s(a,"vo");var o=r.default,i=s((m,b)=>x=>m(b(x)),"Rn"),u;function c(m){return m?(u!=null||(u=(0,r.createColors)(!0)),u):o}s(c,"Oo");var d=!1;function p(m){return{gutter:m.gray,marker:i(m.red,m.bold),message:i(m.red,m.bold)}}s(p,"So");var g=/\r\n|[\n\r\u2028\u2029]/;function h(m,b,x){let D=Object.assign({column:0,line:-1},m.start),E=Object.assign({},D,m.end),{linesAbove:w=2,linesBelow:C=3}=x||{},S=D.line,A=D.column,k=E.line,_=E.column,B=Math.max(S-(w+1),0),I=Math.min(b.length,k+C);S===-1&&(B=0),k===-1&&(I=b.length);let z=k-S,T={};if(z)for(let M=0;M<=z;M++){let L=M+S;if(!A)T[L]=!0;else if(M===0){let O=b[L-1].length;T[L]=[A,O-A+1]}else if(M===z)T[L]=[0,_];else{let O=b[L-M].length;T[L]=[0,O]}}else A===_?A?T[S]=[A,0]:T[S]=!0:T[S]=[A,_-A];return{start:B,end:I,markerLines:T}}s(h,"No");function f(m,b,x={}){let D=(x.highlightCode||x.forceColor)&&(0,t.shouldHighlight)(x),E=c(x.forceColor),w=p(E),C=s((T,M)=>D?T(M):M,"i"),S=m.split(g),{start:A,end:k,markerLines:_}=h(b,S,x),B=b.start&&typeof b.start.column=="number",I=String(k).length,z=(D?(0,t.default)(m,x):m).split(g,k).slice(A,k).map((T,M)=>{let L=A+1+M,O=` ${` ${L}`.slice(-I)} |`,N=_[L],$=!_[L+1];if(N){let j="";if(Array.isArray(N)){let U=T.slice(0,Math.max(N[0]-1,0)).replace(/[^\t]/g," "),Z=N[1]||1;j=[` + `,C(w.gutter,O.replace(/\d/g," "))," ",U,C(w.marker,"^").repeat(Z)].join(""),$&&x.message&&(j+=" "+C(w.message,x.message))}return[C(w.marker,">"),C(w.gutter,O),T.length>0?` ${T}`:"",j].join("")}else return` ${C(w.gutter,O)}${T.length>0?` ${T}`:""}`}).join(` +`);return x.message&&!B&&(z=`${" ".repeat(I+1)}${x.message} +${z}`),D?E.reset(z):z}s(f,"Mn");function y(m,b,x,D={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let w=new Error(E);w.name="DeprecationWarning",console.warn(new Error(E))}}return x=Math.max(x,0),f(m,{start:{column:x,line:b}},D)}s(y,"To")}),Yu={},Da(Yu,{__debug:s(()=>Ag,"__debug"),check:s(()=>M5,"check"),doc:s(()=>Ec,"doc"),format:s(()=>C0,"format"),formatWithCursor:s(()=>N0,"formatWithCursor"),getSupportInfo:s(()=>kg,"getSupportInfo"),util:s(()=>Dc,"util"),version:s(()=>wg,"version")}),J5=s((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),So=J5,s(Rt,"Z"),Rt.prototype={diff:s(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function i(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}s(i,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var u=t.length,c=e.length,d=1,p=u+c;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var g=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+g,f=[{oldPos:-1,lastComponent:void 0}],y=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=c&&y+1>=u)return i([{value:this.join(t),count:t.length}]);var m=-1/0,b=1/0;function x(){for(var E=Math.max(m,-d);E<=Math.min(b,d);E+=2){var w=void 0,C=f[E-1],S=f[E+1];C&&(f[E-1]=void 0);var A=!1;if(S){var k=S.oldPos-E;A=S&&0<=k&&k=c&&y+1>=u)return i(Bm(o,w.lastComponent,t,e,o.useLongestToken));f[E]=w,w.oldPos+1>=c&&(b=Math.min(b,E-1)),y+1>=u&&(m=Math.max(m,E+1))}d++}if(s(x,"A"),a)s(function E(){setTimeout(function(){if(d>p||Date.now()>h)return a();x()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var D=x();if(D)return D}},"diff"),addToPath:s(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:s(function(e,t,r,n){for(var a=t.length,o=r.length,i=e.oldPos,u=i-n,c=0;u+1"u"?r:i}:n;return typeof e=="string"?e:JSON.stringify(Yl(e,null,null,a),a," ")},dn.equals=function(e,t){return Rt.prototype.equals.call(dn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},s(Yl,"Bt"),Oa=new Rt,Oa.tokenize=function(e){return e.slice()},Oa.join=Oa.removeEmpty=function(e){return e},s(gy,"dr"),s(vy,"Fr"),s(Pi,"Be"),s(v1,"wt"),s(yy,"mr"),dr="string",Et="array",er="cursor",Dt="indent",xt="align",yt="trim",ke="group",Xe="fill",Fe="if-break",Ct="indent-if-break",St="line-suffix",wt="line-suffix-boundary",fe="line",Qe="label",Te="break-parent",_1=new Set([er,Dt,xt,yt,ke,Xe,Fe,Ct,St,wt,fe,Qe,Te]),s(Im,"Lu"),pr=Im,l7=s(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),s(Rm,"Iu"),eg=(ec=class extends Error{constructor(t){super(Rm(t));sn(this,"name","InvalidDocError");this.doc=t}},s(ec,"xt"),ec),jr=eg,S0={},s(zm,"Ru"),ti=zm,tc=s(()=>{},"hr"),et=tc,$i=tc,s(oo,"De"),s($r,"ae"),s(a0,"_t"),s(Tm,"Cr"),s(Lm,"gr"),s(Mm,"yr"),s(Om,"Ar"),s(o0,"Ge"),s(Pm,"Br"),s(Nm,"wr"),s(Zl,"xe"),tg={type:wt},Pa={type:Te},rg={type:yt},xl={type:fe,hard:!0},rc={type:fe,hard:!0,literal:!0},k0={type:fe},ng={type:fe,soft:!0},tr=[xl,Pa],A0=[rc,Pa],ri={type:er},s(l0,"be"),s(i0,"Je"),s(Hm,"br"),s(ft,"ee"),s(wy,"Or"),ag=s((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ue=ag,i7=s(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),s($m,"Nr"),s(jm,"Tr"),s7=s(e=>!($m(e)||jm(e)),"kr"),u7=/[^\x20-\x7F]/u,s(Vm,"Hu"),ni=Vm,s(lo,"Ne"),s(Jl,"Xe"),s(by,"Wu"),s(qm,"Ir"),s(s0,"Lr"),s(Ey,"Rr"),s(Dy,"Mu"),s(Um,"Yr"),s(u0,"Pr"),s(Bn,"Se"),s(c0,"Ze"),s(xy,"$u"),s(Cy,"Vu"),s(Wm,"jr"),s(Sy,"Uu"),s(Gm,"Hr"),s(y1,"Qe"),xe=Symbol("MODE_BREAK"),We=Symbol("MODE_FLAT"),In=Symbol("cursor"),s(w1,"Wr"),s(ky,"zu"),s(Ay,"Gu"),s(Xl,"bt"),s(Ql,"Ot"),s(Ma,"et"),s(io,"Fe"),s(Km,"Ku"),ai=Km,og=(ac=class{constructor(e){U5(this,kr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ue(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ue(!1,this.stack,-2)}get node(){return ue(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=ue(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...cn(this,kr,ol).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ue(!1,e,-2):null}getValue(){return ue(!1,this.stack,-1)}getNode(e=0){let t=cn(this,kr,nc).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=ue(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=cn(this,kr,nc).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=ue(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of cn(this,kr,ol).call(this))if(e(t))return t}hasAncestor(e){for(let t of cn(this,kr,ol).call(this))if(e(t))return!0;return!1}},s(ac,"St"),ac),kr=new WeakSet,nc=s(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),ol=s(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),c7=og,oc=new Proxy(()=>{},{get:s(()=>oc,"get")}),oi=oc,s(Ym,"qu"),d7=Ym,s(b1,"Tt"),s(Fy,"Ur"),s(un,"Ee"),lg=un(/\s/u),Ht=un(" "),F0=un(",; "),_0=un(/[^\n\r]/u),s(Zm,"Ju"),sr=Zm,s(Jm,"Xu"),Pt=Jm,s(Xm,"Zu"),p7=Xm,B0=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),f7=s(e=>Object.keys(e).filter(t=>!B0.has(t)),"Qu"),s(Qm,"eo"),ko=Qm,s(_y,"to"),s(Ni,"Lt"),s(Tr,"ue"),s(Ya,"re"),s(Lr,"oe"),Cl=new WeakMap,s(Hi,"ut"),s(E1,"qr"),Sl=s(()=>!1,"It"),s(By,"Jr"),B1=s(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),s(Iy,"ro"),s(Ry,"no"),s(d0,"Kr"),s(bl,"Rt"),s(e5,"uo"),ji=e5,s(D1,"Zr"),s(zy,"oo"),s(Ty,"io"),s(Ly,"so"),s(My,"Qr"),s(Oy,"en"),s(t5,"ao"),h7=t5,I1=(lc=class extends Error{constructor(){super(...arguments);sn(this,"name","ConfigError")}},s(lc,"Pe"),lc),I0=(ic=class extends Error{constructor(){super(...arguments);sn(this,"name","UndefinedParserError")}},s(ic,"Ie"),ic),m7={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing +(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:s(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:s(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). +The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. +The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment +in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},s(p0,"ot"),s(Py,"Do"),s(Ny,"lo"),g7=s(e=>String(e).split(/[/\\]/u).pop(),"co"),s(f0,"nn"),s(Hy,"fo"),s(r5,"po"),v7=r5,Ar={key:s(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Ar.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Ar.key(r)}: ${Ar.value(e[r])}`).join(", ")} }`},pair:s(({key:e,value:t})=>Ar.value({[e]:t}),"pair")},sc=xa(al(),1),ig=s((e,t,{descriptor:r})=>{let n=[`${sc.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${sc.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Mr=xa(al(),1),R0=Symbol.for("vnopts.VALUE_NOT_EXIST"),Ca=Symbol.for("vnopts.VALUE_UNCHANGED"),z0=" ".repeat(2),sg=s((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(Hu(e,t,n,r.descriptor)),a&&o.push([Hu(e,t,a.title,r.descriptor)].concat(a.values.map(i=>h0(i,r.loggerPrintWidth))).join(` +`)),m0(o,r.loggerPrintWidth)},"cn"),s(Hu,"ln"),s(h0,"fn"),s(m0,"pn"),uc=xa(al(),1),kl=[],T0=[],s(n5,"Ht"),L0=s((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${uc.default.yellow(r.pair({key:e,value:t}))}.`],i=Object.keys(a).sort().find(u=>n5(e,u)<3);i&&o.push(`Did you mean ${uc.default.blue(r.key(i))}?`),n.warn(o.join(" "))},"at"),y7=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],s(a5,"mo"),Lt=(cc=class{static create(e){return a5(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Ca}},s(cc,"O"),cc),s($y,"Eo"),w7=(dc=class extends Lt{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},s(dc,"Dt"),dc),b7=(pc=class extends Lt{expected(){return"anything"}validate(){return!0}},s(pc,"lt"),pc),E7=(fc=class extends Lt{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map($u))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map($u))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},s(fc,"ct"),fc),s($u,"Fn"),D7=(hc=class extends Lt{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},s(hc,"ft"),hc),s(o5,"En"),s(l5,"hn"),s(i5,"Cn"),s(s5,"gn"),s(u5,"yn"),s(c5,"An"),s(d5,"Bn"),s(ju,"Mt"),s(g0,"$t"),s(Vu,"Vt"),s(qu,"Ut"),s(v0,"mn"),s(El,"pt"),s(Uu,"zt"),s(jy,"ho"),x7=(mc=class extends Lt{constructor(e){super(e),this._choices=l5(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(c5).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},s(mc,"dt"),mc),ug=(gc=class extends Lt{expected(){return"a number"}validate(e,t){return typeof e=="number"}},s(gc,"Ft"),gc),C7=(vc=class extends ug{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&u5(e)}},s(vc,"mt"),vc),M0=(yc=class extends Lt{expected(){return"a string"}validate(e){return typeof e=="string"}},s(yc,"Re"),yc),cg=Ar,dg=L0,pg=sg,fg=ig,S7=(wc=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=cg,unknown:o=dg,invalid:i=pg,deprecated:u=fg,missing:c=s(()=>!1,"D"),required:d=s(()=>!1,"l"),preprocess:p=s(h=>h,"d"),postprocess:g=s(()=>Ca,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:s(()=>{},"warn")},loggerPrintWidth:n,schemas:o5(e,"name"),normalizeDefaultResult:ju,normalizeExpectedResult:g0,normalizeDeprecatedResult:qu,normalizeForwardResult:El,normalizeRedirectResult:Uu,normalizeValidateResult:Vu},this._unknownHandler=o,this._invalidHandler=d5(i),this._deprecatedHandler=u,this._identifyMissing=(h,f)=>!(h in f)||c(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=g,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=i5()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=s(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let i=ju(o.default(this._utils));"value"in i&&r.push({[a]:i.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],i=t[a],u=o.postprocess(i,this._utils);u!==Ca&&(this._applyValidation(u,a,o),t[a]=u)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let i=this._utils.schemas[o],u=i.preprocess(e[o],this._utils);this._applyValidation(u,o,i);let c=s(({from:g,to:h})=>{r.push(typeof h=="string"?{[h]:g}:{[h.key]:h.value})},"D"),d=s(({value:g,redirectTo:h})=>{let f=qu(i.deprecated(g,this._utils),u,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,h,this._utils));else for(let{value:y}of f){let m={key:o,value:y};if(!this._hasDeprecationWarned(m)){let b=typeof h=="string"?{key:h,value:y}:h;this._utils.logger.warn(this._deprecatedHandler(m,b,this._utils))}}},"l");El(i.forward(u,this._utils),u).forEach(c);let p=Uu(i.redirect(u,this._utils),u);if(p.redirect.forEach(c),"remain"in p){let g=p.remain;t[o]=o in t?i.overlap(t[o],g,this._utils):g,d({value:g})}for(let{from:g,to:h}of p.redirect)d({value:g,redirectTo:h})}for(let o of a){let i=e[o];this._applyUnknownHandler(o,i,t,(u,c)=>{r.push({[u]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,R0,this._utils)}_partitionOptionKeys(e){let[t,r]=s5(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Vu(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let i=a[o];o in this._utils.schemas?n(o,i):r[o]=i}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Ca){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(i,u)=>{let c=this._utils.schemas[i];this._applyValidation(u,i,c),e[i]=u})}}}}},s(wc,"Et"),wc),s(p5,"go"),s(Vy,"yo"),s(qy,"Ao"),k7=p5,hg=s((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),R1=hg,s(x1,"qt"),s(Uy,"On"),s(C1,"ht"),s(S1,"Jt"),s(Wy,"Sn"),O0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},s(f5,"wo"),Yr=f5,A7=xa(Z5(),1),s(h5,"ko"),s(Gy,"Lo"),ea=h5,s(Ky,"Un"),s(Yy,"Po"),s(m5,"Io"),F7=m5,s(Co,"Ye"),s(y0,"Gn"),s(k1,"Qt"),s(g5,"Ro"),_7=g5,s(v5,"Yo"),B7=v5,mg=s((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),I7=mg,R7=s(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),s(Zy,"Wo"),s(w0,"Xn"),s(Jy,"Mo"),s(ei,"er"),s(Xy,"$o"),z1=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),z7=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),s(b0,"Zn"),s(Qy,"eu"),T1="\uFEFF",P0=Symbol("cursor"),s(A1,"ou"),s(e7,"Uo"),s(Dl,"tr"),s(E0,"ru"),s(F1,"iu"),s(D0,"nu"),s(x0,"rr"),s(y5,"su"),s(w5,"au"),s(b5,"Du"),s(E5,"lu"),s(D5,"cu"),Ec={},Da(Ec,{builders:s(()=>gg,"builders"),printer:s(()=>vg,"printer"),utils:s(()=>yg,"utils")}),gg={join:l0,line:k0,softline:ng,hardline:tr,literalline:A0,group:a0,conditionalGroup:Om,fill:o0,lineSuffix:Zl,lineSuffixBoundary:tg,cursor:ri,breakParent:Pa,ifBreak:Pm,trim:rg,indent:oo,indentIfBreak:Nm,align:$r,addAlignmentToDoc:i0,markAsRoot:Lm,dedentToRoot:Tm,dedent:Mm,hardlineWithoutBreakParent:xl,literallineWithoutBreakParent:rc,label:Hm,concat:s(e=>e,"concat")},vg={printDocToString:io},yg={willBreak:qm,traverseDoc:ti,findInDoc:Jl,mapDoc:lo,removeLines:Um,stripTrailingHardline:c0,replaceEndOfLine:Wm,canBreak:Gm},wg="3.3.3",Dc={},Da(Dc,{addDanglingComment:s(()=>Ya,"addDanglingComment"),addLeadingComment:s(()=>Tr,"addLeadingComment"),addTrailingComment:s(()=>Lr,"addTrailingComment"),getAlignmentSize:s(()=>ai,"getAlignmentSize"),getIndentSize:s(()=>bg,"getIndentSize"),getMaxContinuousCount:s(()=>Eg,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:s(()=>Dg,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:s(()=>z5,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:s(()=>ni,"getStringWidth"),hasNewline:s(()=>Pt,"hasNewline"),hasNewlineInRange:s(()=>xg,"hasNewlineInRange"),hasSpaces:s(()=>Cg,"hasSpaces"),isNextLineEmpty:s(()=>L5,"isNextLineEmpty"),isNextLineEmptyAfterIndex:s(()=>si,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:s(()=>T5,"isPreviousLineEmpty"),makeString:s(()=>Sg,"makeString"),skip:s(()=>un,"skip"),skipEverythingButNewLine:s(()=>_0,"skipEverythingButNewLine"),skipInlineComment:s(()=>li,"skipInlineComment"),skipNewline:s(()=>sr,"skipNewline"),skipSpaces:s(()=>Ht,"skipSpaces"),skipToLineEnd:s(()=>F0,"skipToLineEnd"),skipTrailingComment:s(()=>ii,"skipTrailingComment"),skipWhitespace:s(()=>lg,"skipWhitespace")}),s(x5,"Jo"),li=x5,s(C5,"Xo"),ii=C5,s(S5,"Zo"),Vi=S5,s(k5,"Qo"),si=k5,s(A5,"ei"),bg=A5,s(t7,"ur"),s(F5,"ti"),Eg=F5,s(_5,"ri"),Dg=_5,s(B5,"ni"),xg=B5,s(I5,"ui"),Cg=I5,s(R5,"oi"),Sg=R5,s(r7,"ii"),s(z5,"si"),s(n7,"ai"),s(T5,"Di"),s(a7,"li"),s(L5,"ci"),s(Ut,"fe"),N0=Ut(x0),s(C0,"gu"),s(M5,"fi"),kg=Ut(p0,0),Ag={parse:Ut(y5),formatAST:Ut(w5),formatDoc:Ut(b5),printToDoc:Ut(E5),printDocToString:Ut(D5)},T7=Yu});function L7(e){for(var t=[],r=1;r{s(L7,"dedent")}),M7={};Zn(M7,{formatter:()=>O7});var Fg,O7,YD=R(()=>{Fg=me(bi(),1),WD(),GD(),KD(),O7=(0,Fg.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?L7(t):(await T7.format(t,{parser:e,plugins:[my],htmlWhitespaceSensitivity:"ignore"})).trim())}),H0,$0,ZD=R(()=>{H0=s(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),$0=typeof window<"u"&&window.document&&window.document.createElement?l.useLayoutEffect:l.useEffect}),Ce,Me,Oe,Se,ui,Rn,Pr,zn,P7,L1,Dn,N7,j0,M1,_g,Bg,Ig,Rg,zg,Tg,Lg,Mg,Og,H7,He=R(()=>{Ce="top",Me="bottom",Oe="right",Se="left",ui="auto",Rn=[Ce,Me,Oe,Se],Pr="start",zn="end",P7="clippingParents",L1="viewport",Dn="popper",N7="reference",j0=Rn.reduce(function(e,t){return e.concat([t+"-"+Pr,t+"-"+zn])},[]),M1=[].concat(Rn,[ui]).reduce(function(e,t){return e.concat([t,t+"-"+Pr,t+"-"+zn])},[]),_g="beforeRead",Bg="read",Ig="afterRead",Rg="beforeMain",zg="main",Tg="afterMain",Lg="beforeWrite",Mg="write",Og="afterWrite",H7=[_g,Bg,Ig,Rg,zg,Tg,Lg,Mg,Og]});function tt(e){return e?(e.nodeName||"").toLowerCase():null}var Zr=R(()=>{s(tt,"getNodeName")});function _e(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var At=R(()=>{s(_e,"getWindow")});function ur(e){var t=_e(e).Element;return e instanceof t||e instanceof Element}function Le(e){var t=_e(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function qi(e){if(typeof ShadowRoot>"u")return!1;var t=_e(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var $e=R(()=>{At(),s(ur,"isElement"),s(Le,"isHTMLElement"),s(qi,"isShadowRoot")});function Pg(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Le(o)||!tt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var u=a[i];u===!1?o.removeAttribute(i):o.setAttribute(i,u===!0?"":u)}))})}function Ng(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},i=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=i.reduce(function(c,d){return c[d]="",c},{});!Le(a)||!tt(a)||(Object.assign(a.style,u),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var $7,JD=R(()=>{Zr(),$e(),s(Pg,"applyStyles"),s(Ng,"effect"),$7={name:"applyStyles",enabled:!0,phase:"write",fn:Pg,effect:Ng,requires:["computeStyles"]}});function Je(e){return e.split("-")[0]}var Jr=R(()=>{s(Je,"getBasePlacement")}),rr,so,Vr,Xr=R(()=>{rr=Math.max,so=Math.min,Vr=Math.round});function ci(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var j7=R(()=>{s(ci,"getUAString")});function O1(){return!/^((?!chrome|android).)*safari/i.test(ci())}var V7=R(()=>{j7(),s(O1,"isLayoutViewport")});function qr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Le(e)&&(a=e.offsetWidth>0&&Vr(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&Vr(n.height)/e.offsetHeight||1);var i=ur(e)?_e(e):window,u=i.visualViewport,c=!O1()&&r,d=(n.left+(c&&u?u.offsetLeft:0))/a,p=(n.top+(c&&u?u.offsetTop:0))/o,g=n.width/a,h=n.height/o;return{width:g,height:h,top:p,right:d+g,bottom:p+h,left:d,x:d,y:p}}var Ao=R(()=>{$e(),Xr(),At(),V7(),s(qr,"getBoundingClientRect")});function Ui(e){var t=qr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var P1=R(()=>{Ao(),s(Ui,"getLayoutRect")});function N1(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&qi(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var q7=R(()=>{$e(),s(N1,"contains")});function kt(e){return _e(e).getComputedStyle(e)}var Fo=R(()=>{At(),s(kt,"getComputedStyle")});function U7(e){return["table","td","th"].indexOf(tt(e))>=0}var XD=R(()=>{Zr(),s(U7,"isTableElement")});function jt(e){return((ur(e)?e.ownerDocument:e.document)||window.document).documentElement}var fr=R(()=>{$e(),s(jt,"getDocumentElement")});function _o(e){return tt(e)==="html"?e:e.assignedSlot||e.parentNode||(qi(e)?e.host:null)||jt(e)}var Wi=R(()=>{Zr(),fr(),$e(),s(_o,"getParentNode")});function V0(e){return!Le(e)||kt(e).position==="fixed"?null:e.offsetParent}function W7(e){var t=/firefox/i.test(ci()),r=/Trident/i.test(ci());if(r&&Le(e)){var n=kt(e);if(n.position==="fixed")return null}var a=_o(e);for(qi(a)&&(a=a.host);Le(a)&&["html","body"].indexOf(tt(a))<0;){var o=kt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function ta(e){for(var t=_e(e),r=V0(e);r&&U7(r)&&kt(r).position==="static";)r=V0(r);return r&&(tt(r)==="html"||tt(r)==="body"&&kt(r).position==="static")?t:r||W7(e)||t}var Bo=R(()=>{At(),Zr(),Fo(),$e(),XD(),Wi(),j7(),s(V0,"getTrueOffsetParent"),s(W7,"getContainingBlock"),s(ta,"getOffsetParent")});function Gi(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var H1=R(()=>{s(Gi,"getMainAxisFromPlacement")});function Tn(e,t,r){return rr(e,so(t,r))}function G7(e,t,r){var n=Tn(e,t,r);return n>r?r:n}var K7=R(()=>{Xr(),s(Tn,"within"),s(G7,"withinMaxClamp")});function $1(){return{top:0,right:0,bottom:0,left:0}}var Y7=R(()=>{s($1,"getFreshSideObject")});function j1(e){return Object.assign({},$1(),e)}var Z7=R(()=>{Y7(),s(j1,"mergePaddingObject")});function V1(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var J7=R(()=>{s(V1,"expandToHashMap")});function Hg(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,i=r.modifiersData.popperOffsets,u=Je(r.placement),c=Gi(u),d=[Se,Oe].indexOf(u)>=0,p=d?"height":"width";if(!(!o||!i)){var g=X7(a.padding,r),h=Ui(o),f=c==="y"?Ce:Se,y=c==="y"?Me:Oe,m=r.rects.reference[p]+r.rects.reference[c]-i[c]-r.rects.popper[p],b=i[c]-r.rects.reference[c],x=ta(o),D=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=m/2-b/2,w=g[f],C=D-h[p]-g[y],S=D/2-h[p]/2+E,A=Tn(w,S,C),k=c;r.modifiersData[n]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function $g(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||N1(t.elements.popper,a)&&(t.elements.arrow=a))}var X7,Q7,QD=R(()=>{Jr(),P1(),q7(),Bo(),H1(),K7(),Z7(),J7(),He(),X7=s(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,j1(typeof e!="number"?e:V1(e,Rn))},"toPaddingObject"),s(Hg,"arrow"),s($g,"effect"),Q7={name:"arrow",enabled:!0,phase:"main",fn:Hg,effect:$g,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function Ur(e){return e.split("-")[1]}var Io=R(()=>{s(Ur,"getVariation")});function ew(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:Vr(r*a)/a||0,y:Vr(n*a)/a||0}}function q0(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,i=e.offsets,u=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,g=e.isFixed,h=i.x,f=h===void 0?0:h,y=i.y,m=y===void 0?0:y,b=typeof p=="function"?p({x:f,y:m}):{x:f,y:m};f=b.x,m=b.y;var x=i.hasOwnProperty("x"),D=i.hasOwnProperty("y"),E=Se,w=Ce,C=window;if(d){var S=ta(r),A="clientHeight",k="clientWidth";if(S===_e(r)&&(S=jt(r),kt(S).position!=="static"&&u==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,a===Ce||(a===Se||a===Oe)&&o===zn){w=Me;var _=g&&S===C&&C.visualViewport?C.visualViewport.height:S[A];m-=_-n.height,m*=c?1:-1}if(a===Se||(a===Ce||a===Me)&&o===zn){E=Oe;var B=g&&S===C&&C.visualViewport?C.visualViewport.width:S[k];f-=B-n.width,f*=c?1:-1}}var I=Object.assign({position:u},d&&tw),z=p===!0?ew({x:f,y:m},_e(r)):{x:f,y:m};if(f=z.x,m=z.y,c){var T;return Object.assign({},I,(T={},T[w]=D?"0":"",T[E]=x?"0":"",T.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T))}return Object.assign({},I,(t={},t[w]=D?m+"px":"",t[E]=x?f+"px":"",t.transform="",t))}function jg(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,i=o===void 0?!0:o,u=r.roundOffsets,c=u===void 0?!0:u,d={placement:Je(t.placement),variation:Ur(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,q0(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,q0(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var tw,rw,e9=R(()=>{He(),Bo(),At(),fr(),Fo(),Jr(),Io(),Xr(),tw={top:"auto",right:"auto",bottom:"auto",left:"auto"},s(ew,"roundOffsetsByDPR"),s(q0,"mapToStyles"),s(jg,"computeStyles"),rw={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:jg,data:{}}});function Vg(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,i=n.resize,u=i===void 0?!0:i,c=_e(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,Na)}),u&&c.addEventListener("resize",r.update,Na),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,Na)}),u&&c.removeEventListener("resize",r.update,Na)}}var Na,nw,t9=R(()=>{At(),Na={passive:!0},s(Vg,"effect"),nw={name:"eventListeners",enabled:!0,phase:"write",fn:s(function(){},"fn"),effect:Vg,data:{}}});function Za(e){return e.replace(/left|right|bottom|top/g,function(t){return aw[t]})}var aw,r9=R(()=>{aw={left:"right",right:"left",bottom:"top",top:"bottom"},s(Za,"getOppositePlacement")});function U0(e){return e.replace(/start|end/g,function(t){return ow[t]})}var ow,n9=R(()=>{ow={start:"end",end:"start"},s(U0,"getOppositeVariationPlacement")});function Ki(e){var t=_e(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var q1=R(()=>{At(),s(Ki,"getWindowScroll")});function Yi(e){return qr(jt(e)).left+Ki(e).scrollLeft}var U1=R(()=>{Ao(),fr(),q1(),s(Yi,"getWindowScrollBarX")});function lw(e,t){var r=_e(e),n=jt(e),a=r.visualViewport,o=n.clientWidth,i=n.clientHeight,u=0,c=0;if(a){o=a.width,i=a.height;var d=O1();(d||!d&&t==="fixed")&&(u=a.offsetLeft,c=a.offsetTop)}return{width:o,height:i,x:u+Yi(e),y:c}}var a9=R(()=>{At(),fr(),U1(),V7(),s(lw,"getViewportRect")});function iw(e){var t,r=jt(e),n=Ki(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=rr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),i=rr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-n.scrollLeft+Yi(e),c=-n.scrollTop;return kt(a||r).direction==="rtl"&&(u+=rr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:i,x:u,y:c}}var o9=R(()=>{fr(),Fo(),U1(),q1(),Xr(),s(iw,"getDocumentRect")});function Zi(e){var t=kt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var W1=R(()=>{Fo(),s(Zi,"isScrollParent")});function G1(e){return["html","body","#document"].indexOf(tt(e))>=0?e.ownerDocument.body:Le(e)&&Zi(e)?e:G1(_o(e))}var l9=R(()=>{Wi(),W1(),Zr(),$e(),s(G1,"getScrollParent")});function Ln(e,t){var r;t===void 0&&(t=[]);var n=G1(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=_e(n),i=a?[o].concat(o.visualViewport||[],Zi(n)?n:[]):n,u=t.concat(i);return a?u:u.concat(Ln(_o(i)))}var sw=R(()=>{l9(),Wi(),At(),W1(),s(Ln,"listScrollParents")});function di(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var uw=R(()=>{s(di,"rectToClientRect")});function cw(e,t){var r=qr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function W0(e,t,r){return t===L1?di(lw(e,r)):ur(t)?cw(t,r):di(iw(jt(e)))}function dw(e){var t=Ln(_o(e)),r=["absolute","fixed"].indexOf(kt(e).position)>=0,n=r&&Le(e)?ta(e):e;return ur(n)?t.filter(function(a){return ur(a)&&N1(a,n)&&tt(a)!=="body"}):[]}function pw(e,t,r,n){var a=t==="clippingParents"?dw(e):[].concat(t),o=[].concat(a,[r]),i=o[0],u=o.reduce(function(c,d){var p=W0(e,d,n);return c.top=rr(p.top,c.top),c.right=so(p.right,c.right),c.bottom=so(p.bottom,c.bottom),c.left=rr(p.left,c.left),c},W0(e,i,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}var i9=R(()=>{He(),a9(),o9(),sw(),Bo(),fr(),Fo(),$e(),Ao(),Wi(),q7(),Zr(),uw(),Xr(),s(cw,"getInnerBoundingClientRect"),s(W0,"getClientRectFromMixedType"),s(dw,"getClippingParents"),s(pw,"getClippingRect")});function K1(e){var t=e.reference,r=e.element,n=e.placement,a=n?Je(n):null,o=n?Ur(n):null,i=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,c;switch(a){case Ce:c={x:i,y:t.y-r.height};break;case Me:c={x:i,y:t.y+t.height};break;case Oe:c={x:t.x+t.width,y:u};break;case Se:c={x:t.x-r.width,y:u};break;default:c={x:t.x,y:t.y}}var d=a?Gi(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case Pr:c[d]=c[d]-(t[p]/2-r[p]/2);break;case zn:c[d]=c[d]+(t[p]/2-r[p]/2);break}}return c}var fw=R(()=>{Jr(),Io(),H1(),He(),s(K1,"computeOffsets")});function Vn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,i=o===void 0?e.strategy:o,u=r.boundary,c=u===void 0?P7:u,d=r.rootBoundary,p=d===void 0?L1:d,g=r.elementContext,h=g===void 0?Dn:g,f=r.altBoundary,y=f===void 0?!1:f,m=r.padding,b=m===void 0?0:m,x=j1(typeof b!="number"?b:V1(b,Rn)),D=h===Dn?N7:Dn,E=e.rects.popper,w=e.elements[y?D:h],C=pw(ur(w)?w:w.contextElement||jt(e.elements.popper),c,p,i),S=qr(e.elements.reference),A=K1({reference:S,element:E,strategy:"absolute",placement:a}),k=di(Object.assign({},E,A)),_=h===Dn?k:S,B={top:C.top-_.top+x.top,bottom:_.bottom-C.bottom+x.bottom,left:C.left-_.left+x.left,right:_.right-C.right+x.right},I=e.modifiersData.offset;if(h===Dn&&I){var z=I[a];Object.keys(B).forEach(function(T){var M=[Oe,Me].indexOf(T)>=0?1:-1,L=[Ce,Me].indexOf(T)>=0?"y":"x";B[T]+=z[L]*M})}return B}var Ji=R(()=>{i9(),fr(),Ao(),fw(),uw(),He(),$e(),Z7(),J7(),s(Vn,"detectOverflow")});function hw(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,i=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?M1:c,p=Ur(n),g=p?u?j0:j0.filter(function(y){return Ur(y)===p}):Rn,h=g.filter(function(y){return d.indexOf(y)>=0});h.length===0&&(h=g);var f=h.reduce(function(y,m){return y[m]=Vn(e,{placement:m,boundary:a,rootBoundary:o,padding:i})[Je(m)],y},{});return Object.keys(f).sort(function(y,m){return f[y]-f[m]})}var s9=R(()=>{Io(),He(),Ji(),Jr(),s(hw,"computeAutoPlacement")});function mw(e){if(Je(e)===ui)return[];var t=Za(e);return[U0(e),t,U0(t)]}function qg(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,u=i===void 0?!0:i,c=r.fallbackPlacements,d=r.padding,p=r.boundary,g=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,y=f===void 0?!0:f,m=r.allowedAutoPlacements,b=t.options.placement,x=Je(b),D=x===b,E=c||(D||!y?[Za(b)]:mw(b)),w=[b].concat(E).reduce(function(ae,P){return ae.concat(Je(P)===ui?hw(t,{placement:P,boundary:p,rootBoundary:g,padding:d,flipVariations:y,allowedAutoPlacements:m}):P)},[]),C=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,_=w[0],B=0;B=0,L=M?"width":"height",O=Vn(t,{placement:I,boundary:p,rootBoundary:g,altBoundary:h,padding:d}),N=M?T?Oe:Se:T?Me:Ce;C[L]>S[L]&&(N=Za(N));var $=Za(N),j=[];if(o&&j.push(O[z]<=0),u&&j.push(O[N]<=0,O[$]<=0),j.every(function(ae){return ae})){_=I,k=!1;break}A.set(I,j)}if(k)for(var U=y?3:1,Z=s(function(ae){var P=w.find(function(K){var J=A.get(K);if(J)return J.slice(0,ae).every(function(ge){return ge})});if(P)return _=P,"break"},"_loop"),re=U;re>0;re--){var Y=Z(re);if(Y==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var gw,u9=R(()=>{r9(),Jr(),n9(),Ji(),s9(),He(),Io(),s(mw,"getExpandedFallbackPlacements"),s(qg,"flip"),gw={name:"flip",enabled:!0,phase:"main",fn:qg,requiresIfExists:["offset"],data:{_skip:!1}}});function G0(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function K0(e){return[Ce,Oe,Me,Se].some(function(t){return e[t]>=0})}function Ug(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,i=Vn(t,{elementContext:"reference"}),u=Vn(t,{altBoundary:!0}),c=G0(i,n),d=G0(u,a,o),p=K0(c),g=K0(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}var vw,c9=R(()=>{He(),Ji(),s(G0,"getSideOffsets"),s(K0,"isAnySideFullyClipped"),s(Ug,"hide"),vw={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ug}});function yw(e,t,r){var n=Je(e),a=[Se,Ce].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,i=o[0],u=o[1];return i=i||0,u=(u||0)*a,[Se,Oe].indexOf(n)>=0?{x:u,y:i}:{x:i,y:u}}function Wg(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,i=M1.reduce(function(p,g){return p[g]=yw(g,t.rects,o),p},{}),u=i[t.placement],c=u.x,d=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=i}var ww,d9=R(()=>{Jr(),He(),s(yw,"distanceAndSkiddingToXY"),s(Wg,"offset"),ww={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Wg}});function Gg(e){var t=e.state,r=e.name;t.modifiersData[r]=K1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var bw,p9=R(()=>{fw(),s(Gg,"popperOffsets"),bw={name:"popperOffsets",enabled:!0,phase:"read",fn:Gg,data:{}}});function Ew(e){return e==="x"?"y":"x"}var f9=R(()=>{s(Ew,"getAltAxis")});function Kg(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,i=r.altAxis,u=i===void 0?!1:i,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,g=r.padding,h=r.tether,f=h===void 0?!0:h,y=r.tetherOffset,m=y===void 0?0:y,b=Vn(t,{boundary:c,rootBoundary:d,padding:g,altBoundary:p}),x=Je(t.placement),D=Ur(t.placement),E=!D,w=Gi(x),C=Ew(w),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,_=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,B=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),I=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(o){var T,M=w==="y"?Ce:Se,L=w==="y"?Me:Oe,O=w==="y"?"height":"width",N=S[w],$=N+b[M],j=N-b[L],U=f?-k[O]/2:0,Z=D===Pr?A[O]:k[O],re=D===Pr?-k[O]:-A[O],Y=t.elements.arrow,ae=f&&Y?Ui(Y):{width:0,height:0},P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:$1(),K=P[M],J=P[L],ge=Tn(0,A[O],ae[O]),Be=E?A[O]/2-U-ge-K-B.mainAxis:Z-ge-K-B.mainAxis,gr=E?-A[O]/2+U+ge+J+B.mainAxis:re+ge+J+B.mainAxis,lt=t.elements.arrow&&ta(t.elements.arrow),qt=lt?w==="y"?lt.clientTop||0:lt.clientLeft||0:0,nn=(T=I==null?void 0:I[w])!=null?T:0,vr=N+Be-nn-qt,ia=N+gr-nn,zo=Tn(f?so($,vr):$,N,f?rr(j,ia):j);S[w]=zo,z[w]=zo-N}if(u){var an,it=w==="x"?Ce:Se,To=w==="x"?Me:Oe,Ee=S[C],yr=C==="y"?"height":"width",st=Ee+b[it],on=Ee-b[To],ut=[Ce,Se].indexOf(x)!==-1,ln=(an=I==null?void 0:I[C])!=null?an:0,ct=ut?st:Ee-A[yr]-k[yr]-ln+B.altAxis,ve=ut?Ee+A[yr]+k[yr]-ln-B.altAxis:on,Ve=f&&ut?G7(ct,Ee,ve):Tn(f?ct:st,Ee,f?ve:on);S[C]=Ve,z[C]=Ve-Ee}t.modifiersData[n]=z}}var Dw,h9=R(()=>{He(),Jr(),H1(),f9(),K7(),P1(),Bo(),Ji(),Io(),Y7(),Xr(),s(Kg,"preventOverflow"),Dw={name:"preventOverflow",enabled:!0,phase:"main",fn:Kg,requiresIfExists:["offset"]}}),xw=R(()=>{});function Cw(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var m9=R(()=>{s(Cw,"getHTMLElementScroll")});function Sw(e){return e===_e(e)||!Le(e)?Ki(e):Cw(e)}var g9=R(()=>{q1(),At(),$e(),m9(),s(Sw,"getNodeScroll")});function kw(e){var t=e.getBoundingClientRect(),r=Vr(t.width)/e.offsetWidth||1,n=Vr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Aw(e,t,r){r===void 0&&(r=!1);var n=Le(t),a=Le(t)&&kw(t),o=jt(t),i=qr(e,a,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((tt(t)!=="body"||Zi(o))&&(u=Sw(t)),Le(t)?(c=qr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Yi(o))),{x:i.left+u.scrollLeft-c.x,y:i.top+u.scrollTop-c.y,width:i.width,height:i.height}}var v9=R(()=>{Ao(),g9(),Zr(),$e(),U1(),fr(),W1(),Xr(),s(kw,"isElementScaled"),s(Aw,"getCompositeRect")});function Fw(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var i=[].concat(o.requires||[],o.requiresIfExists||[]);i.forEach(function(u){if(!r.has(u)){var c=t.get(u);c&&a(c)}}),n.push(o)}return s(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function _w(e){var t=Fw(e);return H7.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var y9=R(()=>{He(),s(Fw,"order"),s(_w,"orderModifiers")});function Bw(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var w9=R(()=>{s(Bw,"debounce")});function Iw(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var b9=R(()=>{s(Iw,"mergeByName")});function Y0(){for(var e=arguments.length,t=new Array(e),r=0;r{v9(),P1(),sw(),Bo(),y9(),w9(),b9(),$e(),Z0={placement:"bottom",modifiers:[],strategy:"absolute"},s(Y0,"areValidElements"),s(Rw,"popperGenerator")}),Yg,zw,D9=R(()=>{E9(),t9(),p9(),e9(),JD(),d9(),u9(),h9(),QD(),c9(),xw(),Yg=[nw,bw,rw,$7,ww,gw,Dw,Q7,vw],zw=Rw({defaultModifiers:Yg})}),x9=R(()=>{He(),xw(),D9()}),C9=H((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var d,p,g;if(Array.isArray(u)){if(d=u.length,d!=c.length)return!1;for(p=d;p--!==0;)if(!i(u[p],c[p]))return!1;return!0}var h;if(n&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(h=u.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;for(h=u.entries();!(p=h.next()).done;)if(!i(p.value[1],c.get(p.value[0])))return!1;return!0}if(a&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(h=u.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(d=u.length,d!=c.length)return!1;for(p=d;p--!==0;)if(u[p]!==c[p])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(g=Object.keys(u),d=g.length,d!==Object.keys(c).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[p]))return!1;if(r&&u instanceof Element)return!1;for(p=d;p--!==0;)if(!((g[p]==="_owner"||g[p]==="__v"||g[p]==="__o")&&u.$$typeof)&&!i(u[g[p]],c[g[p]]))return!1;return!0}return u!==u&&c!==c}s(i,"equal"),t.exports=s(function(u,c){try{return i(u,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),Zg,Jg,Tw,S9=R(()=>{x9(),Zg=me(C9()),ZD(),Jg=[],Tw=s(function(e,t,r){r===void 0&&(r={});var n=l.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||Jg},o=l.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),i=o[0],u=o[1],c=l.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:s(function(g){var h=g.state,f=Object.keys(h.elements);vi.flushSync(function(){u({styles:H0(f.map(function(y){return[y,h.styles[y]||{}]})),attributes:H0(f.map(function(y){return[y,h.attributes[y]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=l.useMemo(function(){var g={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,Zg.default)(n.current,g)?n.current||g:(n.current=g,g)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=l.useRef();return $0(function(){p.current&&p.current.setOptions(d)},[d]),$0(function(){if(!(e==null||t==null)){var g=r.createPopper||zw,h=g(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:i.styles,attributes:i.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),k9=R(()=>{S9()});function Y1(e){var t=l.useRef(e);return t.current=e,l.useCallback(function(){return t.current},[])}function Lw(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?Ow:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=l.useState(t),i=o[0],u=o[1],c=Y1(i),d=l.useCallback(function(g){var h=c(),f=typeof g=="function"?g(h):g;typeof f.persist=="function"&&f.persist(),u(f),typeof a=="function"&&a(f)},[c,a]),p=r!==void 0;return[p?r:i,p?a:d]}function J0(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:s(function(){return null},"toJSON")}}}function Mw(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(Q0).reduce(function(L,O){var N;return G({},L,(N={},N[O]=L[O]!==void 0?L[O]:Q0[O],N))},e),i=l.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),u=G({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||i}),c=l.useState(null),d=c[0],p=c[1],g=l.useState(null),h=g[0],f=g[1],y=Lw({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),m=y[0],b=y[1],x=l.useRef();l.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var D=Tw(o.followCursor?X0:d,h,u),E=D.styles,w=D.attributes,C=Ei(D,Pw),S=C.update,A=Y1({visible:m,triggerRef:d,tooltipRef:h,finalConfig:o}),k=l.useCallback(function(L){return Array.isArray(o.trigger)?o.trigger.includes(L):o.trigger===L},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return b(!1)},o.delayHide)},[o.delayHide,b]),B=l.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return b(!0)},o.delayShow)},[o.delayShow,b]),I=l.useCallback(function(){A().visible?_():B()},[A,_,B]);l.useEffect(function(){if(A().finalConfig.closeOnOutsideClick){var L=s(function(O){var N,$=A(),j=$.tooltipRef,U=$.triggerRef,Z=(O.composedPath==null||(N=O.composedPath())==null?void 0:N[0])||O.target;Z instanceof Node&&j!=null&&U!=null&&!j.contains(Z)&&!U.contains(Z)&&_()},"handleClickOutside");return document.addEventListener("mousedown",L),function(){return document.removeEventListener("mousedown",L)}}},[A,_]),l.useEffect(function(){if(!(d==null||!k("click")))return d.addEventListener("click",I),function(){return d.removeEventListener("click",I)}},[d,k,I]),l.useEffect(function(){if(!(d==null||!k("double-click")))return d.addEventListener("dblclick",I),function(){return d.removeEventListener("dblclick",I)}},[d,k,I]),l.useEffect(function(){if(!(d==null||!k("right-click"))){var L=s(function(O){O.preventDefault(),I()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",L),function(){return d.removeEventListener("contextmenu",L)}}},[d,k,I]),l.useEffect(function(){if(!(d==null||!k("focus")))return d.addEventListener("focus",B),d.addEventListener("blur",_),function(){d.removeEventListener("focus",B),d.removeEventListener("blur",_)}},[d,k,B,_]),l.useEffect(function(){if(!(d==null||!k("hover")))return d.addEventListener("mouseenter",B),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",B),d.removeEventListener("mouseleave",_)}},[d,k,B,_]),l.useEffect(function(){if(!(h==null||!k("hover")||!A().finalConfig.interactive))return h.addEventListener("mouseenter",B),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",B),h.removeEventListener("mouseleave",_)}},[h,k,B,_,A]);var z=C==null||(r=C.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;l.useEffect(function(){o.closeOnTriggerHidden&&z&&_()},[o.closeOnTriggerHidden,_,z]),l.useEffect(function(){if(!o.followCursor||d==null)return;function L(O){var N=O.clientX,$=O.clientY;X0.getBoundingClientRect=J0(N,$),S==null||S()}return s(L,"setMousePosition"),d.addEventListener("mousemove",L),function(){return d.removeEventListener("mousemove",L)}},[o.followCursor,d,S]),l.useEffect(function(){if(!(h==null||S==null||o.mutationObserverOptions==null)){var L=new MutationObserver(S);return L.observe(h,o.mutationObserverOptions),function(){return L.disconnect()}}},[o.mutationObserverOptions,h,S]);var T=s(function(L){return L===void 0&&(L={}),G({},L,{style:G({},L.style,E.popper)},w.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=s(function(L){return L===void 0&&(L={}),G({},L,w.arrow,{style:G({},L.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return G({getArrowProps:M,getTooltipProps:T,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:m},C)}var Ow,Pw,X0,Q0,A9=R(()=>{Rd(),rt(),k9(),s(Y1,"useGetLatest"),Ow=s(function(){},"noop"),s(Lw,"useControlledState"),s(J0,"generateBoundingClientRect"),Pw=["styles","attributes"],X0={getBoundingClientRect:J0()},Q0={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},s(Mw,"usePopperTooltip")}),Xg,Re,zt,Qg,e2,ed,F9=R(()=>{Xg=me(bi(),1),Re=(0,Xg.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),zt=8,Qg=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Re("top",r,`${zt*-1}px`,"auto")}`,top:`${Re("bottom",r,`${zt*-1}px`,"auto")}`,right:`${Re("left",r,`${zt*-1}px`,"auto")}`,left:`${Re("right",r,`${zt*-1}px`,"auto")}`,borderBottomWidth:`${Re("top",r,"0",zt)}px`,borderTopWidth:`${Re("bottom",r,"0",zt)}px`,borderRightWidth:`${Re("left",r,"0",zt)}px`,borderLeftWidth:`${Re("right",r,"0",zt)}px`,borderTopColor:Re("top",r,e.color[t]||t||e.base==="light"?da(e.background.app):e.background.app,"transparent"),borderBottomColor:Re("bottom",r,e.color[t]||t||e.base==="light"?da(e.background.app):e.background.app,"transparent"),borderLeftColor:Re("left",r,e.color[t]||t||e.base==="light"?da(e.background.app):e.background.app,"transparent"),borderRightColor:Re("right",r,e.color[t]||t||e.base==="light"?da(e.background.app):e.background.app,"transparent")})),e2=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?da(e.background.app):e.background.app,filter:` + drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) + drop-shadow(0 1px 3px rgba(0,0,0,0.1)) + `,borderRadius:e.appBorderRadius+2,fontSize:e.typography.size.s1}:{}),ed=v.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...u},c)=>v.createElement(e2,{"data-testid":"tooltip",hasChrome:t,ref:c,...u,color:o},t&&i&&v.createElement(Qg,{placement:e,...n,color:o}),r)),ed.displayName="Tooltip"}),Z1={};Zn(Z1,{WithToolTipState:()=>pi,WithTooltip:()=>pi,WithTooltipPure:()=>td});var Sa,t2,r2,td,pi,J1=R(()=>{Id(),A9(),F9(),{document:Sa}=wi,t2=F.div` + display: inline-block; + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,r2=F.g` + cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; +`,td=s(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:u,offset:c,tooltip:d,children:p,closeOnTriggerHidden:g,mutationObserverOptions:h,delayHide:f,visible:y,interactive:m,delayShow:b,strategy:x,followCursor:D,onVisibleChange:E,...w})=>{let C=e?r2:t2,{getArrowProps:S,getTooltipProps:A,setTooltipRef:k,setTriggerRef:_,visible:B,state:I}=Mw({trigger:t,placement:n,defaultVisible:i,delayHide:f,interactive:m,closeOnOutsideClick:r,closeOnTriggerHidden:g,onVisibleChange:E,delayShow:b,followCursor:D,mutationObserverOptions:h,visible:y,offset:c},{modifiers:a,strategy:x}),z=B?v.createElement(ed,{placement:I==null?void 0:I.placement,ref:k,hasChrome:o,arrowProps:S(),withArrows:u,...A()},typeof d=="function"?d({onHide:s(()=>E(!1),"onHide")}):d):null;return v.createElement(v.Fragment,null,v.createElement(C,{trigger:t,ref:_,...w},p),B&&Q2.createPortal(z,Sa.body))},"WithTooltipPure"),pi=s(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=l.useState(e),o=l.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return l.useEffect(()=>{let i=s(()=>o(!1),"hide");Sa.addEventListener("keydown",i,!1);let u=Array.from(Sa.getElementsByTagName("iframe")),c=[];return u.forEach(d=>{let p=s(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),c.push(()=>{d.removeEventListener("load",p)})}),()=>{Sa.removeEventListener("keydown",i),c.forEach(d=>{d()})}}),v.createElement(td,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ee=s(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");rt();BE();Bd();function Nw(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,On(e,t)}s(Nw,"_inheritsLoose");IE();Bd();function Hw(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}s(Hw,"_isNativeFunction");function X1(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(X1=s(function(){return!!e},"_isNativeReflectConstruct"))()}s(X1,"_isNativeReflectConstruct");Bd();function $w(e,t,r){if(X1())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&On(a,r.prototype),a}s($w,"_construct");function fi(e){var t=typeof Map=="function"?new Map:void 0;return fi=s(function(r){if(r===null||!Hw(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return $w(r,arguments,Tl(this).constructor)}return s(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),On(n,r)},"_wrapNativeSuper"),fi(e)}s(fi,"_wrapNativeSuper");var _9={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). + +`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). + +`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. + +`,4:`Couldn't generate valid rgb string from %s, it returned %s. + +`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. + +`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). + +`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). + +`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. + +`,9:`Please provide a number of steps to the modularScale helper. + +`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" + +`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. + +`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. + +`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. + +`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. + +`,16:`You must provide a template to this method. + +`,17:`You passed an unsupported selector state to this method. + +`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,19:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. + +`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,25:`fontFace expects localFonts to be an array. + +`,26:`fontFace expects fileFormats to be an array. + +`,27:`radialGradient requries at least 2 color-stops to properly render. + +`,28:`Please supply a filename to retinaImage() as the first argument. + +`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation + +`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) +To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') + +`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation + +`,34:`borderRadius expects a radius value as a string or number as the second argument. + +`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,36:`Property must be a string value. + +`,37:`Syntax Error at %s. + +`,38:`Formula contains a function that needs parentheses at %s. + +`,39:`Formula is missing closing parenthesis at %s. + +`,40:`Formula has too many closing parentheses at %s. + +`,41:`All values in a formula must have the same unit or be unitless. + +`,42:`Please provide a number of steps to the modularScale helper. + +`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. + +`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. + +`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. + +`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. + +`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. + +`,48:`fromSize and toSize must be provided as stringified numbers with the same units. + +`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. + +`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. + +`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. + +`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. + +`,53:`fontFace expects localFonts to be an array. + +`,54:`fontFace expects fileFormats to be an array. + +`,55:`fontFace expects a name of a font-family. + +`,56:`linearGradient requries at least 2 color-stops to properly render. + +`,57:`radialGradient requries at least 2 color-stops to properly render. + +`,58:`Please supply a filename to retinaImage() as the first argument. + +`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. + +`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. + +`,62:`borderRadius expects a radius value as a string or number as the second argument. + +`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. + +`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. + +`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). + +`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. + +`,67:`You must provide a template to this method. + +`,68:`You passed an unsupported selector state to this method. + +`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. + +`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. + +`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. + +`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. + +`,73:`Please provide a valid CSS variable. + +`,74:`CSS variable not found and no default was provided. + +`,75:`important requires a valid style object, got a %s instead. + +`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. + +`,77:`remToPx expects a value in "rem" but you provided it in "%s". + +`,78:`base must be set in "px" or "%" but you set it in "%s". +`};function jw(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),i=1;i=0&&a<1?(u=o,c=i):a>=1&&a<2?(u=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(u=i,d=o):a>=5&&a<6&&(u=o,d=i);var p=r-o/2,g=u+p,h=c+p,f=d+p;return n(g,h,f)}s(qn,"hslToRgb");var n2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function qw(e){if(typeof e!="string")return e;var t=e.toLowerCase();return n2[t]?"#"+n2[t]:e}s(qw,"nameToHex");var B9=/^#[a-fA-F0-9]{6}$/,I9=/^#[a-fA-F0-9]{8}$/,R9=/^#[a-fA-F0-9]{3}$/,z9=/^#[a-fA-F0-9]{4}$/,xc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,T9=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,L9=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,M9=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Xi(e){if(typeof e!="string")throw new gt(3);var t=qw(e);if(t.match(B9))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(I9)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(R9))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(z9)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=xc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=T9.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=L9.exec(t);if(i){var u=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+qn(u,c,d)+")",g=xc.exec(p);if(!g)throw new gt(4,t,p);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var h=M9.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),y=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,b="rgb("+qn(f,y,m)+")",x=xc.exec(b);if(!x)throw new gt(4,t,b);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new gt(5)}s(Xi,"parseToRgb");function Uw(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:u=(r-n)/c+(r=1?uo(e,t,r):"rgba("+qn(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?uo(e.hue,e.saturation,e.lightness):"rgba("+qn(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new gt(2)}s(Kw,"hsla");function hi(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return rd("#"+Xt(e)+Xt(t)+Xt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return rd("#"+Xt(e.red)+Xt(e.green)+Xt(e.blue));throw new gt(6)}s(hi,"rgb");function co(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Xi(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?hi(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?hi(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new gt(7)}s(co,"rgba");var P9=s(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),N9=s(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),H9=s(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),$9=s(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function ep(e){if(typeof e!="object")throw new gt(8);if(N9(e))return co(e);if(P9(e))return hi(e);if($9(e))return Kw(e);if(H9(e))return Gw(e);throw new gt(8)}s(ep,"toColorString");function tp(e,t,r){return s(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):tp(e,t,n)},"fn")}s(tp,"curried");function Qi(e){return tp(e,e.length,[])}s(Qi,"curry");function es(e,t,r){return Math.max(e,Math.min(t,r))}s(es,"guard");function Yw(e,t){if(t==="transparent")return t;var r=Q1(t);return ep(G({},r,{lightness:es(0,1,r.lightness-parseFloat(e))}))}s(Yw,"darken");var j9=Qi(Yw),Cn=j9;function Zw(e,t){if(t==="transparent")return t;var r=Q1(t);return ep(G({},r,{lightness:es(0,1,r.lightness+parseFloat(e))}))}s(Zw,"lighten");var V9=Qi(Zw),a2=V9;function Jw(e,t){if(t==="transparent")return t;var r=Xi(t),n=typeof r.alpha=="number"?r.alpha:1,a=G({},r,{alpha:es(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return co(a)}s(Jw,"transparentize");var q9=Qi(Jw),Ze=q9,ra=s(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),Vt=s(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Ze(.1,e.color.defaultText):Ze(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),te=s(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Qr={margin:"16px 0"},rp=F.div(te),U9=s(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return v.createElement("a",{href:r,target:n,...t})},"Link"),Xw=F(U9)(te,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),Qw=F.blockquote(te,Qr,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));Ci();var W9=s(e=>typeof e=="string","isReactChildString"),G9=/[\n\r]/g,K9=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),Vt),Y9=F(Va)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),np=s(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=l.Children.toArray(t);return a.filter(W9).some(o=>o.match(G9))?v.createElement(Y9,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):v.createElement(K9,{...r,className:e},a)},"Code"),eb=F.dl(te,Qr,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),tb=F.div(te),rb=F.h1(te,ra,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),ap=F.h2(te,ra,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),op=F.h3(te,ra,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),nb=F.h4(te,ra,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),ab=F.h5(te,ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),ob=F.h6(te,ra,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),lb=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),ib=F.img({maxWidth:"100%"}),sb=F.li(te,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Vt({theme:e})})),Z9={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},ub=F.ol(te,Qr,Z9,{listStyle:"decimal"}),cb=F.p(te,Qr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":Vt({theme:e})})),db=F.pre(te,Qr,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),pb=F.span(te,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),fb=F.title(Vt),hb=F.table(te,Qr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),J9={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},mb=F.ul(te,Qr,J9,{listStyle:"disc"}),gb={h1:s(e=>v.createElement(rb,{...ee(e,"h1")}),"h1"),h2:s(e=>v.createElement(ap,{...ee(e,"h2")}),"h2"),h3:s(e=>v.createElement(op,{...ee(e,"h3")}),"h3"),h4:s(e=>v.createElement(nb,{...ee(e,"h4")}),"h4"),h5:s(e=>v.createElement(ab,{...ee(e,"h5")}),"h5"),h6:s(e=>v.createElement(ob,{...ee(e,"h6")}),"h6"),pre:s(e=>v.createElement(db,{...ee(e,"pre")}),"pre"),a:s(e=>v.createElement(Xw,{...ee(e,"a")}),"a"),hr:s(e=>v.createElement(lb,{...ee(e,"hr")}),"hr"),dl:s(e=>v.createElement(eb,{...ee(e,"dl")}),"dl"),blockquote:s(e=>v.createElement(Qw,{...ee(e,"blockquote")}),"blockquote"),table:s(e=>v.createElement(hb,{...ee(e,"table")}),"table"),img:s(e=>v.createElement(ib,{...ee(e,"img")}),"img"),div:s(e=>v.createElement(tb,{...ee(e,"div")}),"div"),span:s(e=>v.createElement(pb,{...ee(e,"span")}),"span"),li:s(e=>v.createElement(sb,{...ee(e,"li")}),"li"),ul:s(e=>v.createElement(mb,{...ee(e,"ul")}),"ul"),ol:s(e=>v.createElement(ub,{...ee(e,"ol")}),"ol"),p:s(e=>v.createElement(cb,{...ee(e,"p")}),"p"),code:s(e=>v.createElement(np,{...ee(e,"code")}),"code"),tt:s(e=>v.createElement(fb,{...ee(e,"tt")}),"tt"),resetwrapper:s(e=>v.createElement(rp,{...ee(e,"resetwrapper")}),"resetwrapper")};F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ze(.9,e.color.positiveText)}`:"none"};default:return{}}});var X9={};Zn(X9,{AccessibilityAltIcon:()=>wA,AccessibilityIcon:()=>yA,AddIcon:()=>hS,AdminIcon:()=>sA,AlertAltIcon:()=>jS,AlertIcon:()=>$S,AlignLeftIcon:()=>Ux,AlignRightIcon:()=>Wx,AppleIcon:()=>dC,ArrowBottomLeftIcon:()=>Tk,ArrowBottomRightIcon:()=>Lk,ArrowDownIcon:()=>_k,ArrowLeftIcon:()=>Bk,ArrowRightIcon:()=>Ik,ArrowSolidDownIcon:()=>Ok,ArrowSolidLeftIcon:()=>Pk,ArrowSolidRightIcon:()=>Nk,ArrowSolidUpIcon:()=>Mk,ArrowTopLeftIcon:()=>Rk,ArrowTopRightIcon:()=>zk,ArrowUpIcon:()=>Fk,AzureDevOpsIcon:()=>vC,BackIcon:()=>Jk,BasketIcon:()=>dk,BatchAcceptIcon:()=>iS,BatchDenyIcon:()=>lS,BeakerIcon:()=>pk,BellIcon:()=>GS,BitbucketIcon:()=>yC,BoldIcon:()=>Qx,BookIcon:()=>Mx,BookmarkHollowIcon:()=>ek,BookmarkIcon:()=>tk,BottomBarIcon:()=>qC,BottomBarToggleIcon:()=>UC,BoxIcon:()=>ZC,BranchIcon:()=>sC,BrowserIcon:()=>MC,ButtonIcon:()=>RS,CPUIcon:()=>WC,CalendarIcon:()=>Vx,CameraIcon:()=>bx,CategoryIcon:()=>Nx,CertificateIcon:()=>ik,ChangedIcon:()=>wS,ChatIcon:()=>kS,CheckIcon:()=>aS,ChevronDownIcon:()=>Dk,ChevronLeftIcon:()=>xk,ChevronRightIcon:()=>wb,ChevronSmallDownIcon:()=>Sk,ChevronSmallLeftIcon:()=>kk,ChevronSmallRightIcon:()=>Ak,ChevronSmallUpIcon:()=>Ck,ChevronUpIcon:()=>Ek,ChromaticIcon:()=>wC,ChromeIcon:()=>mC,CircleHollowIcon:()=>XS,CircleIcon:()=>QS,ClearIcon:()=>ES,CloseAltIcon:()=>cS,CloseIcon:()=>gS,CloudHollowIcon:()=>mk,CloudIcon:()=>gk,CogIcon:()=>QC,CollapseIcon:()=>$k,CommandIcon:()=>MS,CommentAddIcon:()=>xS,CommentIcon:()=>DS,CommentsIcon:()=>SS,CommitIcon:()=>iC,CompassIcon:()=>tA,ComponentDrivenIcon:()=>bC,ComponentIcon:()=>tx,ContrastIcon:()=>fx,ControlsIcon:()=>sS,CopyIcon:()=>Px,CreditIcon:()=>IS,CrossIcon:()=>yb,DashboardIcon:()=>oA,DatabaseIcon:()=>GC,DeleteIcon:()=>vS,DiamondIcon:()=>rk,DirectionIcon:()=>uA,DiscordIcon:()=>EC,DocChartIcon:()=>Kx,DocListIcon:()=>Yx,DocumentIcon:()=>Ox,DownloadIcon:()=>Zk,DragIcon:()=>Zx,EditIcon:()=>XC,EllipsisIcon:()=>rS,EmailIcon:()=>VS,ExpandAltIcon:()=>Hk,ExpandIcon:()=>jk,EyeCloseIcon:()=>dx,EyeIcon:()=>cx,FaceHappyIcon:()=>mA,FaceNeutralIcon:()=>gA,FaceSadIcon:()=>vA,FacebookIcon:()=>DC,FailedIcon:()=>bS,FastForwardIcon:()=>Ax,FigmaIcon:()=>xC,FilterIcon:()=>Gx,FlagIcon:()=>hk,FolderIcon:()=>Hx,FormIcon:()=>oS,GDriveIcon:()=>CC,GithubIcon:()=>SC,GitlabIcon:()=>kC,GlobeIcon:()=>eA,GoogleIcon:()=>AC,GraphBarIcon:()=>qx,GraphLineIcon:()=>jx,GraphqlIcon:()=>FC,GridAltIcon:()=>ox,GridIcon:()=>rx,GrowIcon:()=>gx,HeartHollowIcon:()=>nk,HeartIcon:()=>ak,HomeIcon:()=>iA,HourglassIcon:()=>fk,InfoIcon:()=>PS,ItalicIcon:()=>eC,JumpToIcon:()=>JS,KeyIcon:()=>_S,LightningIcon:()=>px,LightningOffIcon:()=>vb,LinkBrokenIcon:()=>WS,LinkIcon:()=>US,LinkedinIcon:()=>TC,LinuxIcon:()=>pC,ListOrderedIcon:()=>rC,ListUnorderedIcon:()=>nC,LocationIcon:()=>rA,LockIcon:()=>AS,MarkdownIcon:()=>oC,MarkupIcon:()=>Xx,MediumIcon:()=>_C,MemoryIcon:()=>KC,MenuIcon:()=>Jx,MergeIcon:()=>cC,MirrorIcon:()=>mx,MobileIcon:()=>PC,MoonIcon:()=>Lx,NutIcon:()=>eS,OutboxIcon:()=>BS,OutlineIcon:()=>nx,PaintBrushIcon:()=>vx,PaperClipIcon:()=>tC,ParagraphIcon:()=>aC,PassedIcon:()=>yS,PhoneIcon:()=>qS,PhotoDragIcon:()=>ax,PhotoIcon:()=>ex,PinAltIcon:()=>pS,PinIcon:()=>nA,PlayAllHollowIcon:()=>Ix,PlayBackIcon:()=>Cx,PlayHollowIcon:()=>Bx,PlayIcon:()=>xx,PlayNextIcon:()=>Sx,PlusIcon:()=>uS,PointerDefaultIcon:()=>TS,PointerHandIcon:()=>LS,PowerIcon:()=>JC,PrintIcon:()=>$x,ProceedIcon:()=>Xk,ProfileIcon:()=>hA,PullRequestIcon:()=>uC,QuestionIcon:()=>NS,RSSIcon:()=>KS,RedirectIcon:()=>Uk,ReduxIcon:()=>BC,RefreshIcon:()=>Qk,ReplyIcon:()=>Gk,RepoIcon:()=>lC,RequestChangeIcon:()=>CS,RewindIcon:()=>kx,RulerIcon:()=>yx,SaveIcon:()=>OS,SearchIcon:()=>lx,ShareAltIcon:()=>YS,ShareIcon:()=>ZS,ShieldIcon:()=>ck,SideBySideIcon:()=>Rx,SidebarAltIcon:()=>$C,SidebarAltToggleIcon:()=>jC,SidebarIcon:()=>HC,SidebarToggleIcon:()=>VC,SpeakerIcon:()=>Dx,StackedIcon:()=>zx,StarHollowIcon:()=>ok,StarIcon:()=>lk,StatusFailIcon:()=>yk,StatusPassIcon:()=>bk,StatusWarnIcon:()=>wk,StickerIcon:()=>vk,StopAltHollowIcon:()=>_x,StopAltIcon:()=>Fx,StopIcon:()=>wx,StorybookIcon:()=>gC,StructureIcon:()=>YC,SubtractIcon:()=>mS,SunIcon:()=>Tx,SupportIcon:()=>HS,SwitchAltIcon:()=>hx,SyncIcon:()=>Kk,TabletIcon:()=>OC,ThumbsUpIcon:()=>uk,TimeIcon:()=>aA,TimerIcon:()=>lA,TransferIcon:()=>qk,TrashIcon:()=>dS,TwitterIcon:()=>IC,TypeIcon:()=>zS,UbuntuIcon:()=>fC,UndoIcon:()=>Wk,UnfoldIcon:()=>Vk,UnlockIcon:()=>FS,UnpinIcon:()=>fS,UploadIcon:()=>Yk,UserAddIcon:()=>pA,UserAltIcon:()=>dA,UserIcon:()=>cA,UsersIcon:()=>fA,VSCodeIcon:()=>zC,VerifiedIcon:()=>sk,VideoIcon:()=>Ex,WandIcon:()=>nS,WatchIcon:()=>NC,WindowsIcon:()=>hC,WrenchIcon:()=>tS,XIcon:()=>LC,YoutubeIcon:()=>RC,ZoomIcon:()=>ix,ZoomOutIcon:()=>sx,ZoomResetIcon:()=>ux,iconList:()=>Q9});var Q9=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],ex=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),tx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),rx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),nx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),ax=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),l.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),ox=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),lx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),ix=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),sx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),ux=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),cx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),dx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),px=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),vb=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),fx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),hx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),mx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),gx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),l.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),vx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),yx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),wx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),bx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),Ex=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),Dx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),l.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),l.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),xx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),Cx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),Sx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),kx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),Ax=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),Fx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),_x=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),Bx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),Ix=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),Rx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),zx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),Tx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),l.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3492"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Lx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3493"},l.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),Mx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),Ox=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Px=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),Nx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),Hx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),$x=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),jx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),Vx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),qx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),Ux=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),Wx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),Gx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),Kx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),Yx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),Zx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),Jx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),Xx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Qx=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),eC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),tC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),rC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),nC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),aC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),oC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),lC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),iC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),sC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),uC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),cC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),dC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),pC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),fC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},l.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3497"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),hC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),mC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3496"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),gC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),vC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},l.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3503"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),yC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),wC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),bC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),EC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),DC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),xC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),CC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),SC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),kC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),AC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),FC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),_C=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),BC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),IC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),RC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),zC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),TC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),LC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),MC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),OC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),PC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),NC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),HC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),$C=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),jC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),VC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),qC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),UC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),WC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),GC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),KC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),YC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),ZC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),JC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),l.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),XC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),QC=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),eS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),tS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),rS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),nS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),aS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),oS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),lS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),iS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),sS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),uS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),cS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),yb=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),dS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),pS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3502"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),fS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},l.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3501"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),hS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),mS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),gS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),vS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),yS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),wS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),bS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),ES=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),DS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),xS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),CS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),SS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),kS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),AS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),FS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},l.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3614"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),_S=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),BS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),l.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),IS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),RS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),l.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),zS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),TS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),LS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),MS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),OS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),l.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),PS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),NS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),HS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),$S=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),jS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),VS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),qS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),US=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),WS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),GS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),KS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),YS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),l.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),ZS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),l.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),JS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),l.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),XS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),QS=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),ek=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),tk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),rk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1449_588"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),nk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),ak=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),ok=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),lk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),ik=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),sk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),uk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),ck=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),dk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),l.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),l.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),pk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),fk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),hk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),mk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),gk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),vk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),yk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),wk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),bk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),Ek=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),Dk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),xk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),wb=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),Ck=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),Sk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),kk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),Ak=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),Fk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),_k=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),Bk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),Ik=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),Rk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),zk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),Tk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),Lk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),Mk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),Ok=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),Pk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),Nk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),Hk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),$k=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),jk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),Vk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),l.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),l.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),qk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),Uk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),Wk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),Gk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),Kk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),Yk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Zk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),Jk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),Xk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),Qk=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),eA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),tA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),rA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),nA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),aA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),oA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),lA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),iA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),sA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),l.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),uA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},l.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),l.createElement("defs",null,l.createElement("clipPath",{id:"prefix__clip0_1107_3594"},l.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),cA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),dA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),pA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),fA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),l.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),hA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),mA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),gA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),vA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),yA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),l.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),wA=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),bA=0,EA=s(e=>e.button===bA&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),DA=s((e,t)=>{EA(e)&&(e.preventDefault(),t(e))},"cancelled"),xA=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),CA=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Cn(.07,e.color.secondary),"svg path:not([fill])":{fill:Cn(.07,e.color.secondary)}},"&:active":{color:Cn(.1,e.color.secondary),"svg path:not([fill])":{fill:Cn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Mn=s(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:i=void 0,...u})=>v.createElement(CA,{...u,onClick:r&&e?c=>DA(c,r):r,className:o},v.createElement(xA,{withArrow:n,containsIcon:a},t,n&&v.createElement(wb,null))),"Link");F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}}));var Nr=[],Un=null,SA=l.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(Ci(),jd));return Nr.length>0&&(Nr.forEach(t=>{e.registerLanguage(...t)}),Nr=[]),Un===null&&(Un=e),{default:s(t=>v.createElement(e,{...t}),"default")}}),kA=l.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(Ci(),jd)),Promise.resolve().then(()=>(YD(),M7))]);return Nr.length>0&&(Nr.forEach(r=>{e.registerLanguage(...r)}),Nr=[]),Un===null&&(Un=e),{default:s(r=>v.createElement(e,{...r,formatter:t}),"default")}}),ts=s(e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},e.format!==!1?v.createElement(kA,{...e}):v.createElement(SA,{...e})),"SyntaxHighlighter");ts.registerLanguage=(...e)=>{if(Un!==null){Un.registerLanguage(...e);return}Nr.push(e)};Ci();Jv();var bb={};Zn(bb,{Close:()=>I6,Content:()=>F6,Description:()=>B6,Dialog:()=>f6,DialogClose:()=>C6,DialogContent:()=>w6,DialogDescription:()=>x6,DialogOverlay:()=>y6,DialogPortal:()=>v6,DialogTitle:()=>D6,DialogTrigger:()=>h6,Overlay:()=>A6,Portal:()=>k6,Root:()=>S6,Title:()=>_6,Trigger:()=>DF,WarningProvider:()=>EF,createDialogScope:()=>dF});rt();function Nt(e,t,{checkForDefaultPrevented:r=!0}={}){return s(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}s(Nt,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function Eb(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}s(Eb,"$6ed0406888f73fc4$var$setRef");function rs(...e){return t=>e.forEach(r=>Eb(r,t))}s(rs,"$6ed0406888f73fc4$export$43e446d32b3d21af");function en(...e){return l.useCallback(rs(...e),e)}s(en,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function Db(e,t){let r=l.createContext(t);function n(o){let{children:i,...u}=o,c=l.useMemo(()=>u,Object.values(u));return l.createElement(r.Provider,{value:c},i)}s(n,"Provider");function a(o){let i=l.useContext(r);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return s(a,"useContext"),n.displayName=e+"Provider",[n,a]}s(Db,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function xb(e,t=[]){let r=[];function n(o,i){let u=l.createContext(i),c=r.length;r=[...r,i];function d(g){let{scope:h,children:f,...y}=g,m=(h==null?void 0:h[e][c])||u,b=l.useMemo(()=>y,Object.values(y));return l.createElement(m.Provider,{value:b},f)}s(d,"Provider");function p(g,h){let f=(h==null?void 0:h[e][c])||u,y=l.useContext(f);if(y)return y;if(i!==void 0)return i;throw new Error(`\`${g}\` must be used within \`${o}\``)}return s(p,"useContext"),d.displayName=o+"Provider",[d,p]}s(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=s(()=>{let o=r.map(i=>l.createContext(i));return s(function(i){let u=(i==null?void 0:i[e])||o;return l.useMemo(()=>({[`__scope${e}`]:{...i,[e]:u}}),[i,u])},"useScope")},"createScope");return a.scopeName=e,[n,Cb(a,...t)]}s(xb,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function Cb(...e){let t=e[0];if(e.length===1)return t;let r=s(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return s(function(a){let o=n.reduce((i,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...i,...d}},{});return l.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}s(Cb,"$c512c27ab02ef895$var$composeContextScopes");var nd=globalThis!=null&&globalThis.document?l.useLayoutEffect:()=>{},AA=l.useId||(()=>{}),FA=0;function _l(e){let[t,r]=l.useState(AA());return nd(()=>{e||r(n=>n??String(FA++))},[e]),e||(t?`radix-${t}`:"")}s(_l,"$1746a345f3d73bb7$export$f680877a34711e37");function cr(e){let t=l.useRef(e);return l.useEffect(()=>{t.current=e}),l.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}s(cr,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function Sb({prop:e,defaultProp:t,onChange:r=s(()=>{},"onChange")}){let[n,a]=kb({defaultProp:t,onChange:r}),o=e!==void 0,i=o?e:n,u=cr(r),c=l.useCallback(d=>{if(o){let p=typeof d=="function"?d(e):d;p!==e&&u(p)}else a(d)},[o,e,a,u]);return[i,c]}s(Sb,"$71cd76cc60e0454e$export$6f32135080cb4c3");function kb({defaultProp:e,onChange:t}){let r=l.useState(e),[n]=r,a=l.useRef(n),o=cr(t);return l.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}s(kb,"$71cd76cc60e0454e$var$useUncontrolledState");rt();rt();rt();var Ab=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(Fb);if(o){let i=o.props.children,u=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(ad,G({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,u):null)}return l.createElement(ad,G({},n,{ref:t}),r)});Ab.displayName="Slot";var ad=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{..._b(n,r.props),ref:t?rs(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});ad.displayName="SlotClone";var _A=s(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function Fb(e){return l.isValidElement(e)&&e.type===_A}s(Fb,"$5e63c961fc1ce211$var$isSlottable");function _b(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}s(_b,"$5e63c961fc1ce211$var$mergeProps");var BA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],hr=BA.reduce((e,t)=>{let r=l.forwardRef((n,a)=>{let{asChild:o,...i}=n,u=o?Ab:t;return l.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),l.createElement(u,G({},i,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function Bb(e,t){e&&vi.flushSync(()=>e.dispatchEvent(t))}s(Bb,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function Ib(e,t=globalThis==null?void 0:globalThis.document){let r=cr(e);l.useEffect(()=>{let n=s(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}s(Ib,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var od="dismissableLayer.update",IA="dismissableLayer.pointerDownOutside",RA="dismissableLayer.focusOutside",o2,zA=l.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),TA=l.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:i,onInteractOutside:u,onDismiss:c,...d}=e,p=l.useContext(zA),[g,h]=l.useState(null),f=(r=g==null?void 0:g.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,y]=l.useState({}),m=en(t,k=>h(k)),b=Array.from(p.layers),[x]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),D=b.indexOf(x),E=g?b.indexOf(g):-1,w=p.layersWithOutsidePointerEventsDisabled.size>0,C=E>=D,S=Rb(k=>{let _=k.target,B=[...p.branches].some(I=>I.contains(_));!C||B||(o==null||o(k),u==null||u(k),k.defaultPrevented||(c==null||c()))},f),A=zb(k=>{let _=k.target;[...p.branches].some(B=>B.contains(_))||(i==null||i(k),u==null||u(k),k.defaultPrevented||(c==null||c()))},f);return Ib(k=>{E===p.layers.size-1&&(a==null||a(k),!k.defaultPrevented&&c&&(k.preventDefault(),c()))},f),l.useEffect(()=>{if(g)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(o2=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),ld(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=o2)}},[g,f,n,p]),l.useEffect(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),ld())},[g,p]),l.useEffect(()=>{let k=s(()=>y({}),"handleUpdate");return document.addEventListener(od,k),()=>document.removeEventListener(od,k)},[]),l.createElement(hr.div,G({},d,{ref:m,style:{pointerEvents:w?C?"auto":"none":void 0,...e.style},onFocusCapture:Nt(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Nt(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Nt(e.onPointerDownCapture,S.onPointerDownCapture)}))});function Rb(e,t=globalThis==null?void 0:globalThis.document){let r=cr(e),n=l.useRef(!1),a=l.useRef(()=>{});return l.useEffect(()=>{let o=s(u=>{if(u.target&&!n.current){let c=function(){lp(IA,r,d,{discrete:!0})};s(c,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),i=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:s(()=>n.current=!0,"onPointerDownCapture")}}s(Rb,"$5cb92bef7577960e$var$usePointerDownOutside");function zb(e,t=globalThis==null?void 0:globalThis.document){let r=cr(e),n=l.useRef(!1);return l.useEffect(()=>{let a=s(o=>{o.target&&!n.current&&lp(RA,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:s(()=>n.current=!0,"onFocusCapture"),onBlurCapture:s(()=>n.current=!1,"onBlurCapture")}}s(zb,"$5cb92bef7577960e$var$useFocusOutside");function ld(){let e=new CustomEvent(od);document.dispatchEvent(e)}s(ld,"$5cb92bef7577960e$var$dispatchUpdate");function lp(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?Bb(a,o):a.dispatchEvent(o)}s(lp,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");rt();var Cc="focusScope.autoFocusOnMount",Sc="focusScope.autoFocusOnUnmount",l2={bubbles:!1,cancelable:!0},LA=l.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...i}=e,[u,c]=l.useState(null),d=cr(a),p=cr(o),g=l.useRef(null),h=en(t,m=>c(m)),f=l.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;l.useEffect(()=>{if(n){let m=function(E){if(f.paused||!u)return;let w=E.target;u.contains(w)?g.current=w:Mt(g.current,{select:!0})},b=function(E){if(f.paused||!u)return;let w=E.relatedTarget;w!==null&&(u.contains(w)||Mt(g.current,{select:!0}))},x=function(E){if(document.activeElement===document.body)for(let w of E)w.removedNodes.length>0&&Mt(u)};s(m,"handleFocusIn"),s(b,"handleFocusOut"),s(x,"handleMutations"),document.addEventListener("focusin",m),document.addEventListener("focusout",b);let D=new MutationObserver(x);return u&&D.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",b),D.disconnect()}}},[n,u,f.paused]),l.useEffect(()=>{if(u){i2.add(f);let m=document.activeElement;if(!u.contains(m)){let b=new CustomEvent(Cc,l2);u.addEventListener(Cc,d),u.dispatchEvent(b),b.defaultPrevented||(Tb(Nb(ip(u)),{select:!0}),document.activeElement===m&&Mt(u))}return()=>{u.removeEventListener(Cc,d),setTimeout(()=>{let b=new CustomEvent(Sc,l2);u.addEventListener(Sc,p),u.dispatchEvent(b),b.defaultPrevented||Mt(m??document.body,{select:!0}),u.removeEventListener(Sc,p),i2.remove(f)},0)}}},[u,d,p,f]);let y=l.useCallback(m=>{if(!r&&!n||f.paused)return;let b=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,x=document.activeElement;if(b&&x){let D=m.currentTarget,[E,w]=Lb(D);E&&w?!m.shiftKey&&x===w?(m.preventDefault(),r&&Mt(E,{select:!0})):m.shiftKey&&x===E&&(m.preventDefault(),r&&Mt(w,{select:!0})):x===D&&m.preventDefault()}},[r,n,f.paused]);return l.createElement(hr.div,G({tabIndex:-1},i,{ref:h,onKeyDown:y}))});function Tb(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Mt(n,{select:t}),document.activeElement!==r)return}s(Tb,"$d3863c46a17e8a28$var$focusFirst");function Lb(e){let t=ip(e),r=id(t,e),n=id(t.reverse(),e);return[r,n]}s(Lb,"$d3863c46a17e8a28$var$getTabbableEdges");function ip(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}s(ip,"$d3863c46a17e8a28$var$getTabbableCandidates");function id(e,t){for(let r of e)if(!Mb(r,{upTo:t}))return r}s(id,"$d3863c46a17e8a28$var$findVisible");function Mb(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}s(Mb,"$d3863c46a17e8a28$var$isHidden");function Ob(e){return e instanceof HTMLInputElement&&"select"in e}s(Ob,"$d3863c46a17e8a28$var$isSelectableInput");function Mt(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&Ob(e)&&t&&e.select()}}s(Mt,"$d3863c46a17e8a28$var$focus");var i2=Pb();function Pb(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=sd(e,t),e.unshift(t)},remove(t){var r;e=sd(e,t),(r=e[0])===null||r===void 0||r.resume()}}}s(Pb,"$d3863c46a17e8a28$var$createFocusScopesStack");function sd(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}s(sd,"$d3863c46a17e8a28$var$arrayRemove");function Nb(e){return e.filter(t=>t.tagName!=="A")}s(Nb,"$d3863c46a17e8a28$var$removeLinks");rt();var MA=l.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?Q2.createPortal(l.createElement(hr.div,G({},a,{ref:t})),n):null});function Hb(e,t){return l.useReducer((r,n)=>t[r][n]??r,e)}s(Hb,"$fe963b355347cc68$export$3e6543de14f8614f");var ns=s(e=>{let{present:t,children:r}=e,n=$b(t),a=typeof r=="function"?r({present:n.isPresent}):l.Children.only(r),o=en(n.ref,a.ref);return typeof r=="function"||n.isPresent?l.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");ns.displayName="Presence";function $b(e){let[t,r]=l.useState(),n=l.useRef({}),a=l.useRef(e),o=l.useRef("none"),i=e?"mounted":"unmounted",[u,c]=Hb(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return l.useEffect(()=>{let d=Ha(n.current);o.current=u==="mounted"?d:"none"},[u]),nd(()=>{let d=n.current,p=a.current;if(p!==e){let g=o.current,h=Ha(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&g!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),nd(()=>{if(t){let d=s(g=>{let h=Ha(n.current).includes(g.animationName);g.target===t&&h&&vi.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=s(g=>{g.target===t&&(o.current=Ha(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:l.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}s($b,"$921a889cee6df7e8$var$usePresence");function Ha(e){return(e==null?void 0:e.animationName)||"none"}s(Ha,"$921a889cee6df7e8$var$getAnimationName");var kc=0;function jb(){l.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:ud()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:ud()),kc++,()=>{kc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),kc--}},[])}s(jb,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function ud(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}s(ud,"$3db38b7d1fb3fe6a$var$createFocusGuard");var mt=s(function(){return mt=Object.assign||s(function(e){for(var t,r=1,n=arguments.length;r"u")return jA;var t=VA(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),UA=t6(),mi="data-scroll-locked",WA=s(function(e,t,r,n){var a=e.left,o=e.top,i=e.right,u=e.gap;return r===void 0&&(r="margin"),` + .`.concat(OA,` { + overflow: hidden `).concat(n,`; + padding-right: `).concat(u,"px ").concat(n,`; + } + body[`).concat(mi,`] { + overflow: hidden `).concat(n,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` + padding-left: `.concat(a,`px; + padding-top: `).concat(o,`px; + padding-right: `).concat(i,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(u,"px ").concat(n,`; + `),r==="padding"&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),` + } + + .`).concat(Bl,` { + right: `).concat(u,"px ").concat(n,`; + } + + .`).concat(Il,` { + margin-right: `).concat(u,"px ").concat(n,`; + } + + .`).concat(Bl," .").concat(Bl,` { + right: 0 `).concat(n,`; + } + + .`).concat(Il," .").concat(Il,` { + margin-right: 0 `).concat(n,`; + } + + body[`).concat(mi,`] { + `).concat(PA,": ").concat(u,`px; + } +`)},"getStyles"),GA=s(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=l.useMemo(function(){return qA(a)},[a]);return l.useEffect(function(){return document.body.setAttribute(mi,""),function(){document.body.removeAttribute(mi)}},[]),l.createElement(UA,{styles:WA(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),cd=!1;if(typeof window<"u")try{ka=Object.defineProperty({},"passive",{get:s(function(){return cd=!0,!0},"get")}),window.addEventListener("test",ka,ka),window.removeEventListener("test",ka,ka)}catch{cd=!1}var ka,pn=cd?{passive:!1}:!1,KA=s(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),r6=s(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!KA(e)&&r[t]==="visible")},"elementCanBeScrolled"),YA=s(function(e){return r6(e,"overflowY")},"elementCouldBeVScrolled"),ZA=s(function(e){return r6(e,"overflowX")},"elementCouldBeHScrolled"),u2=s(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=n6(e,r);if(n){var a=a6(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),JA=s(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),XA=s(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),n6=s(function(e,t){return e==="v"?YA(t):ZA(t)},"elementCouldBeScrolled"),a6=s(function(e,t){return e==="v"?JA(t):XA(t)},"getScrollVariables"),QA=s(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),eF=s(function(e,t,r,n,a){var o=QA(e,window.getComputedStyle(t).direction),i=o*n,u=r.target,c=t.contains(u),d=!1,p=i>0,g=0,h=0;do{var f=a6(e,u),y=f[0],m=f[1],b=f[2],x=m-b-o*y;(y||x)&&n6(e,u)&&(g+=x,h+=y),u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(p&&(a&&g===0||!a&&i>g)||!p&&(a&&h===0||!a&&-i>h))&&(d=!0),d},"handleScroll"),ll=s(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),c2=s(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),d2=s(function(e){return e&&"current"in e?e.current:e},"extractRef"),tF=s(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),rF=s(function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},"generateStyle"),nF=0,fn=[];function o6(e){var t=l.useRef([]),r=l.useRef([0,0]),n=l.useRef(),a=l.useState(nF++)[0],o=l.useState(function(){return t6()})[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var m=Vb([e.lockRef.current],(e.shards||[]).map(d2),!0).filter(Boolean);return m.forEach(function(b){return b.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),m.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=l.useCallback(function(m,b){if("touches"in m&&m.touches.length===2)return!i.current.allowPinchZoom;var x=ll(m),D=r.current,E="deltaX"in m?m.deltaX:D[0]-x[0],w="deltaY"in m?m.deltaY:D[1]-x[1],C,S=m.target,A=Math.abs(E)>Math.abs(w)?"h":"v";if("touches"in m&&A==="h"&&S.type==="range")return!1;var k=u2(A,S);if(!k)return!0;if(k?C=A:(C=A==="v"?"h":"v",k=u2(A,S)),!k)return!1;if(!n.current&&"changedTouches"in m&&(E||w)&&(n.current=C),!C)return!0;var _=n.current||C;return eF(_,b,m,_==="h"?E:w,!0)},[]),c=l.useCallback(function(m){var b=m;if(!(!fn.length||fn[fn.length-1]!==o)){var x="deltaY"in b?c2(b):ll(b),D=t.current.filter(function(C){return C.name===b.type&&C.target===b.target&&tF(C.delta,x)})[0];if(D&&D.should){b.cancelable&&b.preventDefault();return}if(!D){var E=(i.current.shards||[]).map(d2).filter(Boolean).filter(function(C){return C.contains(b.target)}),w=E.length>0?u(b,E[0]):!i.current.noIsolation;w&&b.cancelable&&b.preventDefault()}}},[]),d=l.useCallback(function(m,b,x,D){var E={name:m,delta:b,target:x,should:D};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(w){return w!==E})},1)},[]),p=l.useCallback(function(m){r.current=ll(m),n.current=void 0},[]),g=l.useCallback(function(m){d(m.type,c2(m),m.target,u(m,e.lockRef.current))},[]),h=l.useCallback(function(m){d(m.type,ll(m),m.target,u(m,e.lockRef.current))},[]);l.useEffect(function(){return fn.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:h}),document.addEventListener("wheel",c,pn),document.addEventListener("touchmove",c,pn),document.addEventListener("touchstart",p,pn),function(){fn=fn.filter(function(m){return m!==o}),document.removeEventListener("wheel",c,pn),document.removeEventListener("touchmove",c,pn),document.removeEventListener("touchstart",p,pn)}},[]);var f=e.removeScrollBar,y=e.inert;return l.createElement(l.Fragment,null,y?l.createElement(o,{styles:rF(a)}):null,f?l.createElement(GA,{gapMode:"margin"}):null)}s(o6,"RemoveScrollSideCar");var aF=Zb(Jb,o6),l6=l.forwardRef(function(e,t){return l.createElement(as,mt({},e,{ref:t,sideCar:aF}))});l6.classNames=as.classNames;var oF=l6,lF=s(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),hn=new WeakMap,il=new WeakMap,sl={},_c=0,i6=s(function(e){return e&&(e.host||i6(e.parentNode))},"unwrapHost"),iF=s(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=i6(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),sF=s(function(e,t,r,n){var a=iF(t,Array.isArray(e)?e:[e]);sl[r]||(sl[r]=new WeakMap);var o=sl[r],i=[],u=new Set,c=new Set(a),d=s(function(g){!g||u.has(g)||(u.add(g),d(g.parentNode))},"keep");a.forEach(d);var p=s(function(g){!g||c.has(g)||Array.prototype.forEach.call(g.children,function(h){if(u.has(h))p(h);else{var f=h.getAttribute(n),y=f!==null&&f!=="false",m=(hn.get(h)||0)+1,b=(o.get(h)||0)+1;hn.set(h,m),o.set(h,b),i.push(h),m===1&&y&&il.set(h,!0),b===1&&h.setAttribute(r,"true"),y||h.setAttribute(n,"true")}})},"deep");return p(t),u.clear(),_c++,function(){i.forEach(function(g){var h=hn.get(g)-1,f=o.get(g)-1;hn.set(g,h),o.set(g,f),h||(il.has(g)||g.removeAttribute(n),il.delete(g)),f||g.removeAttribute(r)}),_c--,_c||(hn=new WeakMap,hn=new WeakMap,il=new WeakMap,sl={})}},"applyAttributeToOthers"),uF=s(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||lF(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),sF(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");rt();var s6=l.forwardRef((e,t)=>{let{children:r,...n}=e,a=l.Children.toArray(r),o=a.find(u6);if(o){let i=o.props.children,u=a.map(c=>c===o?l.Children.count(i)>1?l.Children.only(null):l.isValidElement(i)?i.props.children:null:c);return l.createElement(dd,G({},n,{ref:t}),l.isValidElement(i)?l.cloneElement(i,void 0,u):null)}return l.createElement(dd,G({},n,{ref:t}),r)});s6.displayName="Slot";var dd=l.forwardRef((e,t)=>{let{children:r,...n}=e;return l.isValidElement(r)?l.cloneElement(r,{...c6(n,r.props),ref:t?rs(t,r.ref):r.ref}):l.Children.count(r)>1?l.Children.only(null):null});dd.displayName="SlotClone";var cF=s(({children:e})=>l.createElement(l.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function u6(e){return l.isValidElement(e)&&e.type===cF}s(u6,"$5e63c961fc1ce211$var$isSlottable");function c6(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...i)=>{o(...i),a(...i)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}s(c6,"$5e63c961fc1ce211$var$mergeProps");var d6="Dialog",[p6,dF]=xb(d6),[pF,at]=p6(d6),f6=s(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:i=!0}=e,u=l.useRef(null),c=l.useRef(null),[d=!1,p]=Sb({prop:n,defaultProp:a,onChange:o});return l.createElement(pF,{scope:t,triggerRef:u,contentRef:c,contentId:_l(),titleId:_l(),descriptionId:_l(),open:d,onOpenChange:p,onOpenToggle:l.useCallback(()=>p(g=>!g),[p]),modal:i},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),fF="DialogTrigger",h6=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(fF,r),o=en(t,a.triggerRef);return l.createElement(hr.button,G({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":os(a.open)},n,{ref:o,onClick:Nt(e.onClick,a.onOpenToggle)}))}),m6="DialogPortal",[hF,g6]=p6(m6,{forceMount:void 0}),v6=s(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=at(m6,t);return l.createElement(hF,{scope:t,forceMount:r},l.Children.map(n,i=>l.createElement(ns,{present:r||o.open},l.createElement(MA,{asChild:!0,container:a},i))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),pd="DialogOverlay",y6=l.forwardRef((e,t)=>{let r=g6(pd,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=at(pd,e.__scopeDialog);return o.modal?l.createElement(ns,{present:n||o.open},l.createElement(mF,G({},a,{ref:t}))):null}),mF=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(pd,r);return l.createElement(oF,{as:s6,allowPinchZoom:!0,shards:[a.contentRef]},l.createElement(hr.div,G({"data-state":os(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Wn="DialogContent",w6=l.forwardRef((e,t)=>{let r=g6(Wn,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=at(Wn,e.__scopeDialog);return l.createElement(ns,{present:n||o.open},o.modal?l.createElement(gF,G({},a,{ref:t})):l.createElement(vF,G({},a,{ref:t})))}),gF=l.forwardRef((e,t)=>{let r=at(Wn,e.__scopeDialog),n=l.useRef(null),a=en(t,r.contentRef,n);return l.useEffect(()=>{let o=n.current;if(o)return uF(o)},[]),l.createElement(b6,G({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Nt(e.onCloseAutoFocus,o=>{var i;o.preventDefault(),(i=r.triggerRef.current)===null||i===void 0||i.focus()}),onPointerDownOutside:Nt(e.onPointerDownOutside,o=>{let i=o.detail.originalEvent,u=i.button===0&&i.ctrlKey===!0;(i.button===2||u)&&o.preventDefault()}),onFocusOutside:Nt(e.onFocusOutside,o=>o.preventDefault())}))}),vF=l.forwardRef((e,t)=>{let r=at(Wn,e.__scopeDialog),n=l.useRef(!1),a=l.useRef(!1);return l.createElement(b6,G({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s(o=>{var i;if((i=e.onCloseAutoFocus)===null||i===void 0||i.call(e,o),!o.defaultPrevented){var u;n.current||(u=r.triggerRef.current)===null||u===void 0||u.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:s(o=>{var i,u;(i=e.onInteractOutside)===null||i===void 0||i.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let c=o.target;!((u=r.triggerRef.current)===null||u===void 0)&&u.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),b6=l.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...i}=e,u=at(Wn,r),c=l.useRef(null),d=en(t,c);return jb(),l.createElement(l.Fragment,null,l.createElement(LA,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},l.createElement(TA,G({role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":os(u.open)},i,{ref:d,onDismiss:s(()=>u.onOpenChange(!1),"onDismiss")}))),!1)}),E6="DialogTitle",D6=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(E6,r);return l.createElement(hr.h2,G({id:a.titleId},n,{ref:t}))}),yF="DialogDescription",x6=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(yF,r);return l.createElement(hr.p,G({id:a.descriptionId},n,{ref:t}))}),wF="DialogClose",C6=l.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(wF,r);return l.createElement(hr.button,G({type:"button"},n,{ref:t,onClick:Nt(e.onClick,()=>a.onOpenChange(!1))}))});function os(e){return e?"open":"closed"}s(os,"$5d3850c4d0b4e6c7$var$getState");var bF="DialogTitleWarning",[EF,sP]=Db(bF,{contentName:Wn,titleName:E6,docsSlug:"dialog"}),S6=f6,DF=h6,k6=v6,A6=y6,F6=w6,_6=D6,B6=x6,I6=C6,R6={};Zn(R6,{Actions:()=>IF,CloseButton:()=>M6,Col:()=>P6,Container:()=>L6,Content:()=>AF,Description:()=>BF,Error:()=>RF,ErrorWrapper:()=>N6,Header:()=>FF,Overlay:()=>T6,Row:()=>O6,Title:()=>_F});t4();const{deprecate:xF}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var mr=l.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:i=!1,onClick:u,...c},d)=>{let p="button";c.isLink&&(p="a"),e&&(p=Ml);let g=n,h=r,[f,y]=l.useState(!1),m=s(b=>{u&&u(b),t!=="none"&&y(!0)},"handleClick");if(l.useEffect(()=>{let b=setTimeout(()=>{f&&y(!1)},1e3);return()=>clearTimeout(b)},[f]),c.primary&&(g="solid",h="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(g="outline",h="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let b=v.Children.toArray(c.children).filter(x=>typeof x=="string"&&x!=="");xF(`Use of deprecated props in the button ${b.length>0?`"${b.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return v.createElement(CF,{as:p,ref:d,variant:g,size:h,padding:a,disabled:o,active:i,animating:f,animation:t,onClick:m,...c})});mr.displayName="Button";var CF=F("button",{shouldForwardProp:s(e=>X2(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:i="none",padding:u})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:u==="none"?0:u==="small"&&r==="small"?"0 7px":u==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?Ze(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Ze(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Ze(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${co(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?Ze(.86,e.color.secondary):e.base==="light"?Cn(.02,c):a2(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Cn(.02,c):a2(.03,c)})()},"&:focus":{boxShadow:`${co(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&i!=="none"?`${e.animation[i]} 1000ms ease-out`:""}})),nr=l.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>v.createElement(mr,{padding:e,variant:t,ref:n,...r}));nr.displayName="IconButton";var z6=Yn({from:{opacity:0},to:{opacity:1}}),SF=Yn({from:{maxHeight:0},to:{}}),kF=Yn({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),T6=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${z6} 200ms`}),L6=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${kF} 200ms`,"&:focus-visible":{outline:"none"}})),M6=s(e=>v.createElement(I6,{asChild:!0},v.createElement(nr,{...e},v.createElement(yb,null))),"CloseButton"),AF=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),O6=F.div({display:"flex",justifyContent:"space-between",gap:16}),P6=F.div({display:"flex",flexDirection:"column",gap:4}),FF=s(e=>v.createElement(O6,null,v.createElement(P6,{...e}),v.createElement(M6,null)),"Header"),_F=F(_6)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),BF=F(B6)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),IF=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),N6=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${SF} 300ms, ${z6} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),RF=s(({children:e,...t})=>v.createElement(N6,{...t},v.createElement("div",null,e)),"Error");function H6({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=s(c=>c.preventDefault(),"onInteractOutside"),className:o,container:i,...u}){return v.createElement(S6,{...u},v.createElement(k6,{container:i},v.createElement(A6,{asChild:!0},v.createElement(T6,null)),v.createElement(F6,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},v.createElement(L6,{className:o,width:t,height:r},e))))}s(H6,"BaseModal");Object.assign(H6,R6,{Dialog:bb});F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${$c}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${$c}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}});F.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));F.div();F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1}));$d();function $6(e,t){var r=l.useRef(null),n=l.useRef(null);n.current=t;var a=l.useRef(null);l.useEffect(function(){o()});var o=l.useCallback(function(){var i=a.current,u=n.current,c=i||(u?u instanceof Element?u:u.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return l.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),l.useCallback(function(i){a.current=i,o()},[o])}s($6,"useResolvedElement");function fd(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}s(fd,"extractSize");function up(e){e===void 0&&(e={});var t=e.onResize,r=l.useRef(void 0);r.current=t;var n=e.round||Math.round,a=l.useRef(),o=l.useState({width:void 0,height:void 0}),i=o[0],u=o[1],c=l.useRef(!1);l.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=l.useRef({width:void 0,height:void 0}),p=$6(l.useCallback(function(g){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",m=fd(f,y,"inlineSize"),b=fd(f,y,"blockSize"),x=m?n(m):void 0,D=b?n(b):void 0;if(d.current.width!==x||d.current.height!==D){var E={width:x,height:D};d.current.width=x,d.current.height=D,r.current?r.current(E):c.current||u(E)}})}),a.current.instance.observe(g,{box:e.box}),function(){a.current&&a.current.instance.unobserve(g)}},[e.box,n]),e.ref);return l.useMemo(function(){return{ref:p,width:i.width,height:i.height}},[p,i.width,i.height])}s(up,"useResizeObserver");var zF=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function j6({scale:e,children:t}){let r=l.useRef(null),[n,a]=l.useState(0),o=l.useCallback(({height:i})=>{i&&a(i/e)},[e]);return l.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),up({ref:r,onResize:o}),v.createElement(zF,{scale:e,elementHeight:n},v.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}s(j6,"ZoomElement");var V6=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return v.createElement(v.Fragment,null,t)}};s(V6,"ZoomIFrame");var TF=V6,q6={Element:j6,IFrame:TF};Id();var{document:LF}=wi,MF=F.strong(({theme:e})=>({color:e.color.orange})),OF=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),p2=F.em(({theme:e})=>({color:e.textMutedColor})),PF=/(Error): (.*)\n/,NF=/at (?:(.*) )?\(?(.+)\)?/,HF=/([^@]+)?(?:\/<)?@(.+)?/,$F=/([^@]+)?@(.+)?/,U6=s(({error:e})=>{if(!e)return v.createElement(l.Fragment,null,"This error has no stack or message");if(!e.stack)return v.createElement(l.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} + +${t}`);let r=t.match(PF);if(!r)return v.createElement(l.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...i]=o.map(u=>{let c=u.match(NF)||u.match(HF)||u.match($F);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(LF.location.origin,"")}:null}).filter(Boolean);return v.createElement(l.Fragment,null,v.createElement("span",null,n),": ",v.createElement(MF,null,a),v.createElement("br",null),i.map((u,c)=>u!=null&&u.name?v.createElement(l.Fragment,{key:c}," ","at ",v.createElement(OF,null,u.name)," (",v.createElement(p2,null,u.location),")",v.createElement("br",null)):v.createElement(l.Fragment,{key:c}," ","at ",v.createElement(p2,null,u==null?void 0:u.location),v.createElement("br",null))))},"ErrorFormatter"),jF=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),VF=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),qF=s(({label:e,children:t,...r})=>v.createElement(jF,{...r},e?v.createElement(VF,null,v.createElement("span",null,e)):null,t),"Field");rt();Rd();var UF=l.useLayoutEffect,WF=UF,GF=s(function(e){var t=l.useRef(e);return WF(function(){t.current=e}),t},"useLatest"),f2=s(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),KF=s(function(e,t){var r=l.useRef();return l.useCallback(function(n){e.current=n,r.current&&f2(r.current,null),r.current=t,t&&f2(t,n)},[t])},"useComposedRef"),YF=KF,h2={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ZF=s(function(e){Object.keys(h2).forEach(function(t){e.style.setProperty(t,h2[t],"important")})},"forceHiddenStyles"),m2=ZF,De=null,g2=s(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function W6(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),De||(De=document.createElement("textarea"),De.setAttribute("tabindex","-1"),De.setAttribute("aria-hidden","true"),m2(De)),De.parentNode===null&&document.body.appendChild(De);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,u=i.boxSizing;Object.keys(i).forEach(function(h){var f=h;De.style[f]=i[f]}),m2(De),De.value=t;var c=g2(De,e);De.value=t,c=g2(De,e),De.value="x";var d=De.scrollHeight-a,p=d*r;u==="border-box"&&(p=p+a+o),c=Math.max(p,c);var g=d*n;return u==="border-box"&&(g=g+a+o),c=Math.min(g,c),[c,d]}s(W6,"calculateNodeHeight");var v2=s(function(){},"noop"),JF=s(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),XF=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],QF=!!document.documentElement.currentStyle,e_=s(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=JF(XF,t),n=r.boxSizing;if(n==="")return null;QF&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),t_=e_;function cp(e,t,r){var n=GF(r);l.useLayoutEffect(function(){var a=s(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}s(cp,"useListener");var r_=s(function(e){cp(window,"resize",e)},"useWindowResizeListener"),n_=s(function(e){cp(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),a_=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],o_=s(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?v2:o,u=e.onHeightChange,c=u===void 0?v2:u,d=Ei(e,a_),p=d.value!==void 0,g=l.useRef(null),h=YF(g,t),f=l.useRef(0),y=l.useRef(),m=s(function(){var x=g.current,D=r&&y.current?y.current:t_(x);if(D){y.current=D;var E=W6(D,x.value||x.placeholder||"x",a,n),w=E[0],C=E[1];f.current!==w&&(f.current=w,x.style.setProperty("height",w+"px","important"),c(w,{rowHeight:C}))}},"resizeTextarea"),b=s(function(x){p||m(),i(x)},"handleChange");return l.useLayoutEffect(m),r_(m),n_(m),l.createElement("textarea",G({},d,{onChange:b,ref:h}))},"TextareaAutosize"),l_=l.forwardRef(o_),i_={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},dp=s(({theme:e})=>({...i_,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),pp=s(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),G6=s(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),fp=s(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),s_=Object.assign(F(l.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return v.createElement("input",{...n,ref:a})},"Input")))(dp,pp,G6,fp,{minHeight:32}),{displayName:"Input"}),u_=Object.assign(F(l.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return v.createElement("select",{...n,ref:a})},"Select")))(dp,pp,fp,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),c_=Object.assign(F(l.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return v.createElement(l_,{...n,ref:a})},"Textarea")))(dp,pp,G6,fp,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),na=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:qF,Input:s_,Select:u_,Textarea:c_,Button:mr}),d_=l.lazy(()=>Promise.resolve().then(()=>(J1(),Z1)).then(e=>({default:e.WithTooltip}))),p_=s(e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},v.createElement(d_,{...e})),"WithTooltip"),f_=l.lazy(()=>Promise.resolve().then(()=>(J1(),Z1)).then(e=>({default:e.WithTooltipPure}))),K6=s(e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},v.createElement(f_,{...e})),"WithTooltipPure");F.div(({theme:e})=>({fontWeight:e.typography.weight.bold}));F.span();F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}}));F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"}));F.div({padding:15,width:280,boxSizing:"border-box"});var h_=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),m_=s(({note:e,...t})=>v.createElement(h_,{...t},e),"TooltipNote"),g_=me(bi(),1),v_=F(({active:e,loading:t,disabled:r,...n})=>v.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:t.textMutedColor}:{}),y_=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),w_=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),b_=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),E_=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),D_=F.div(({theme:e})=>({width:"100%",border:"none",borderRadius:e.appBorderRadius,background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({theme:e,as:t})=>t==="label"&&{"&:has(input:not(:disabled))":{cursor:"pointer","&:hover":{background:e.background.hoverable}}},({disabled:e})=>e&&{cursor:"not-allowed"}),x_=(0,g_.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),C_=s(({loading:e=!1,title:t=v.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:i,href:u=void 0,onClick:c=void 0,icon:d,LinkWrapper:p=void 0,...g})=>{let h={active:a,disabled:o},f=x_(c,u,p);return v.createElement(D_,{...g,...h,...f},v.createElement(v.Fragment,null,d&&v.createElement(E_,{...h},d),t||r?v.createElement(w_,{isIndented:!!(!d&&i)},t&&v.createElement(v_,{...h,loading:e},t),r&&v.createElement(b_,{...h},r)):null,n&&v.createElement(y_,{...h},n)))},"ListItem"),Y6=C_,S_=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32+8},({theme:e})=>({borderRadius:e.appBorderRadius+2}),({theme:e})=>e.base==="dark"?{background:e.background.content}:{}),k_=F.div(({theme:e})=>({padding:4,"& + &":{borderTop:`1px solid ${e.appBorderColor}`}})),A_=s(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:i}=r,u=l.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:i}),[t,e,n,a,o,i]);return v.createElement(Y6,{id:`list-item-${e}`,...r,...t&&{onClick:u}})},"Item"),Z6=s(({links:e,LinkWrapper:t,...r})=>{let n=Array.isArray(e[0])?e:[e],a=n.some(o=>o.some(i=>"icon"in i&&i.icon));return v.createElement(S_,{...r},n.filter(o=>o.length).map((o,i)=>v.createElement(k_,{key:o.map(u=>u.id).join(`~${i}~`)},o.map(u=>"content"in u?v.createElement(l.Fragment,{key:u.id},u.content):v.createElement(A_,{key:u.id,isIndented:a,LinkWrapper:t,...u})))))},"TooltipLinkList");$d();var hd=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});hd.displayName="Side";var F_=s(({children:e,className:t,scrollable:r})=>r?v.createElement(Ja,{vertical:!1,className:t},e):v.createElement("div",{className:t},e),"UnstyledBar"),hp=F(F_)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});hp.displayName="Bar";var __=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),ls=s(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=l.Children.toArray(e);return v.createElement(hp,{className:`sb-bar ${r}`,...n},v.createElement(__,{bgColor:t},v.createElement(hd,{scrollable:n.scrollable,left:!0},a),o?v.createElement(hd,{right:!0},o):null))},"FlexBar");ls.displayName="FlexBar";var B_=s(e=>typeof e.props.href=="string","isLink"),I_=s(e=>typeof e.props.href!="string","isButton");function J6({children:e,...t},r){let n={props:t,ref:r};if(B_(n))return v.createElement("a",{ref:n.ref,...n.props},e);if(I_(n))return v.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}s(J6,"ForwardRefFunction");var X6=l.forwardRef(J6);X6.displayName="ButtonOrLink";var Ro=F(X6,{shouldForwardProp:X2})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});Ro.displayName="TabButton";F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`}));F.div(()=>({marginTop:6,padding:7,height:28}));var R_=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),z_=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),T_=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),L_=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),mp=s(({title:e,description:t,footer:r})=>v.createElement(R_,null,v.createElement(z_,null,v.createElement(T_,null,e),t&&v.createElement(L_,null,t)),r),"EmptyTabContent"),M_=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),O_=s(e=>l.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:i})=>v.createElement(M_,{active:i,role:"tabpanel"},o)}}),"childrenToList");J1();var P_=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),N_=F(Ro)(({active:e,theme:t,preActive:r})=>` + color: ${r||e?t.barSelectedColor:t.barTextColor}; + .addon-collapsible-icon { + color: ${r||e?t.barSelectedColor:t.barTextColor}; + } + &:hover { + color: ${t.barHoverColor}; + .addon-collapsible-icon { + color: ${t.barHoverColor}; + } + } + `);function Q6(e){let t=l.useRef(),r=l.useRef(),n=l.useRef(new Map),{width:a=1}=up({ref:t}),[o,i]=l.useState(e),[u,c]=l.useState([]),d=l.useRef(e),p=l.useCallback(({menuName:h,actions:f})=>{let y=u.some(({active:x})=>x),[m,b]=l.useState(!1);return v.createElement(v.Fragment,null,v.createElement(pi,{interactive:!0,visible:m,onVisibleChange:b,placement:"bottom",delayHide:100,tooltip:v.createElement(Z6,{links:u.map(({title:x,id:D,color:E,active:w})=>({id:D,title:x,color:E,active:w,onClick:s(C=>{C.preventDefault(),f.onSelect(D)},"onClick")}))})},v.createElement(N_,{ref:r,active:y,preActive:m,style:{visibility:u.length?"visible":"hidden"},"aria-hidden":!u.length,className:"tabbutton",type:"button",role:"tab"},h,v.createElement(P_,{className:"addon-collapsible-icon",isActive:y||m}))),u.map(({title:x,id:D,color:E},w)=>{let C=`index-${w}`;return v.createElement(Ro,{id:`tabbutton-${rv(D)??C}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(D,S)},className:"tabbutton",type:"button",key:D,textColor:E,role:"tab"},x)}))},[u]),g=l.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:y}=r.current.getBoundingClientRect(),m=u.length?h+f-y:h+f,b=[],x=0,D=e.filter(E=>{let{id:w}=E,C=n.current.get(w),{width:S=0}=(C==null?void 0:C.getBoundingClientRect())||{},A=h+x+S>m;return(!A||!C)&&b.push(E),x+=S,A});(b.length!==o.length||d.current!==e)&&(i(b),c(D),d.current=e)},[u.length,e,o]);return l.useLayoutEffect(g,[g,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:u,AddonTab:p}}s(Q6,"useList");var H_="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",$_=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),gp=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});gp.displayName="TabBar";var j_=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${H_}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),vp=l.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:u=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let g=l.useMemo(()=>O_(e).map((x,D)=>({...x,active:t?x.id===t:D===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:y,AddonTab:m}=Q6(g),b=d??v.createElement(mp,{title:"Nothing found"});return!p&&g.length===0?b:v.createElement($_,{absolute:n,bordered:a,id:u},v.createElement(ls,{scrollable:!1,border:!0,backgroundColor:i},v.createElement(gp,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:x,id:D,active:E,color:w},C)=>{let S=`index-${C}`;return v.createElement(Ro,{id:`tabbutton-${rv(D)??S}`,ref:A=>{y.current.set(D,A)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:D,active:E,textColor:w,onClick:A=>{A.preventDefault(),r.onSelect(D)},role:"tab"},typeof x=="function"?v.createElement("title",null):x)}),v.createElement(m,{menuName:c,actions:r})),o),v.createElement(j_,{id:"panel-tab-content",bordered:a,absolute:n},g.length?g.map(({id:x,active:D,render:E})=>v.createElement(E,{key:x,active:D},null)):b))});vp.displayName="Tabs";var md=class extends l.Component{constructor(t){super(t),this.handlers={onSelect:s(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:i}=this.state;return v.createElement(vp,{bordered:t,absolute:r,selected:i,backgroundColor:a,menuName:o,actions:this.handlers},n)}};s(md,"TabsState"),md.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var e8=md,t8=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});t8.displayName="Separator";__STORYBOOK_MODULE_CLIENT_LOGGER__;var V_=F.svg` + display: inline-block; + shape-rendering: inherit; + vertical-align: middle; + fill: currentColor; + path { + fill: currentColor; + } +`;l.memo(s(function({icons:e=Object.keys(gd)}){return v.createElement(V_,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>v.createElement("symbol",{id:`icon--${t}`,key:t},gd[t])))},"Symbols"));var gd={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},q_=Yn` + from { + transform: rotate(0deg); + } + to { + transform: rotate(360deg); + } +`,U_=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${q_} 0.7s linear infinite`,mixBlendMode:"difference"})),y2=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),W_=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Ze(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),G_=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),w2=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.textMutedColor})),K_=F(vb)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),Y_=Yn` + from { content: "..." } + 33% { content: "." } + 66% { content: ".." } + to { content: "..." } +`,Z_=F.span({"&::after":{content:"'...'",animation:`${Y_} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),r8=s(({progress:e,error:t,size:r,...n})=>{if(t)return v.createElement(y2,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},v.createElement(K_,null),v.createElement(w2,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+=` ${o.complete} / ${o.total} modules`),v.createElement(y2,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},v.createElement(W_,null,v.createElement(G_,{style:{width:`${a*100}%`}})),v.createElement(w2,null,i,a<1&&v.createElement(Z_,{key:i})))}return v.createElement(U_,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader"),J_=Yn({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}});F.div(({size:e})=>({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",minWidth:e,minHeight:e}));F.svg(({size:e,width:t})=>({position:"absolute",width:`${e}px!important`,height:`${e}px!important`,transform:"rotate(-90deg)",circle:{r:(e-Math.ceil(t))/2,cx:e/2,cy:e/2,opacity:.15,fill:"transparent",stroke:"currentColor",strokeWidth:t,strokeLinecap:"round",strokeDasharray:Math.PI*(e-Math.ceil(t))}}),({progress:e})=>e&&{circle:{opacity:.75}},({spinner:e})=>e&&{animation:`${J_} 1s linear infinite`,circle:{opacity:.25}});function n8(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...n8(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(i=>`${i[0]}=${i[1]}`).join("&")}`},"getStoryHref");F.pre` + line-height: 18px; + padding: 11px 1rem; + white-space: pre-wrap; + background: rgba(0, 0, 0, 0.05); + color: ${wE.darkest}; + border-radius: 3px; + margin: 1rem 0; + width: 100%; + display: block; + overflow: hidden; + font-family: ${Lp.fonts.mono}; + font-size: ${Lp.size.s2-1}px; +`;var o8=gb;Object.keys(gb).forEach(e=>{l.forwardRef((t,r)=>l.createElement(e,{...t,ref:r}))});const X_=Object.freeze(Object.defineProperty({__proto__:null,A:Xw,get ActionBar(){return xi},Bar:hp,Blockquote:Qw,Button:mr,Code:np,DL:eb,Div:tb,EmptyTabContent:mp,ErrorFormatter:U6,FlexBar:ls,Form:na,H1:rb,H2:ap,H3:op,H4:nb,H5:ab,H6:ob,HR:lb,IconButton:nr,Img:ib,LI:sb,Link:Mn,ListItem:Y6,Loader:r8,OL:ub,P:cb,Pre:db,ResetWrapper:rp,get ScrollArea(){return Ja},Separator:t8,Span:pb,SyntaxHighlighter:ts,TT:fb,TabBar:gp,TabButton:Ro,Table:hb,Tabs:vp,TabsState:e8,TooltipLinkList:Z6,TooltipNote:m_,UL:mb,WithTooltip:p_,WithTooltipPure:K6,Zoom:q6,codeCommon:Vt,components:o8,createCopyToClipboardFunction:Pl,getStoryHref:a8,icons:gd,nameSpaceClassNames:ee,withReset:te},Symbol.toStringTag,{value:"Module"}));var Q_=Object.create,l8=Object.defineProperty,eB=Object.getOwnPropertyDescriptor,i8=Object.getOwnPropertyNames,tB=Object.getPrototypeOf,rB=Object.prototype.hasOwnProperty,ul=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),tn=(e,t)=>function(){return t||(0,e[i8(e)[0]])((t={exports:{}}).exports,t),t.exports},nB=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of i8(t))!rB.call(e,a)&&a!==r&&l8(e,a,{get:()=>t[a],enumerable:!(n=eB(t,a))||n.enumerable});return e},yp=(e,t,r)=>(r=e!=null?Q_(tB(e)):{},nB(t||!e||!e.__esModule?l8(r,"default",{value:e,enumerable:!0}):r,e));function aB(e,t,{signal:r,edges:n}={}){let a,o=null,i=n!=null&&n.includes("leading"),u=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{u&&c(),f()},p=null,g=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},y=()=>{h(),c()},m=function(...b){if(r!=null&&r.aborted)return;a=this,o=b;let x=p==null;g(),i&&x&&c()};return m.schedule=g,m.cancel=f,m.flush=y,r==null||r.addEventListener("abort",f,{once:!0}),m}function dP(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:i}=r,u=Array(2);a&&(u[0]="leading"),o&&(u[1]="trailing");let c,d=null,p=aB(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:u}),g=function(...f){if(i!=null){if(d===null)d=Date.now();else if(Date.now()-d>=i)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return g.cancel=p.cancel,g.flush=h,g}function oB(e){return Array.from(new Set(e))}function lB(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,is=e=>`set-${e.replace(/\s+/g,"-")}`,hB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),mB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),gB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),vB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),yB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),l.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),wB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),vd=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),pP=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),bB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),EB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),l.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),DB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),l.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),xB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),CB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),SB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),s8=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),kB=l.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>l.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},l.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:AB,once:FB,logger:wp}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:E2,composeConfigs:fP,Preview:hP,DocsContext:mP}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:D2,UPDATE_STORY_ARGS:_B,RESET_STORY_ARGS:BB,GLOBALS_UPDATED:x2,NAVIGATE_URL:IB}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var u8=tn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var g=typeof ul=="function"&&ul;if(!p&&g)return g(d,!0);if(u)return u(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(y){var m=n[d][1][y];return i(m||y)},f,f.exports,r,n,a,o)}return a[d].exports}for(var u=typeof ul=="function"&&ul,c=0;c=0)return this.lastItem=this.list[u],this.list[u].val},o.prototype.set=function(i,u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=u,this):(c=this.indexOf(i),c>=0?(this.lastItem=this.list[c],this.list[c].val=u,this):(this.lastItem={key:i,val:u},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),u=this.indexOf(i),u>=0)return this.size--,this.list.splice(u,1)[0]},o.prototype.has=function(i){var u;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(u=this.indexOf(i),u>=0?(this.lastItem=this.list[u],!0):!1)},o.prototype.forEach=function(i,u){var c;for(c=0;c0&&(D[x]={cacheItem:y,arg:arguments[x]},E?i(g,D):g.push(D),g.length>d&&u(g.shift())),f.wasMemoized=E,f.numArgs=x+1,b};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=g,f}};function i(d,p){var g=d.length,h=p.length,f,y,m;for(y=0;y=0&&(g=d[f],h=g.cacheItem.get(g.arg),!h||!h.size);f--)g.cacheItem.delete(g.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),RB=tn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),zB=tn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,u=!0,c=" ";function d(w,C){var S=C.appendChild(g(w));if(w.children.length){var A=h(w.isCollapsed);w.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(w,C){var S=!1,A=h(S);if(C.forEach(function(k){d(k,A)}),i=w||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),C.length===0?i:i.appendChild(A)}function g(w){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",w.textContent),r.includeHtml&&w.childNodes.length?n.call(w.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=w.textContent,S.setAttribute("href",r.basePath+"#"+w.id),S.setAttribute("class",r.linkClass+c+"node-name--"+w.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(w){var C=r.orderedList?"ol":"ul",S=document.createElement(C),A=r.listClass+c+r.extraListClasses;return w&&(A=A+c+r.collapsibleClass,A=A+c+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var w;w=document.querySelector(r.scrollContainer).scrollTop}else w=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=i.offsetTop),w>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function y(w){var C=0;return w!==null&&(C=w.offsetTop,r.hasInnerContainers&&(C+=y(w.offsetParent))),C}function m(w,C){return w&&w.className!==C&&(w.className=C),w}function b(w){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=w,A;if(u&&i!==null&&S.length>0){a.call(S,function(M,L){if(y(M)>C+r.headingsOffset+10){var O=L===0?L:L-1;return A=S[O],!0}else if(L===S.length-1)return A=S[S.length-1],!0});var k=i.querySelector("."+r.activeLinkClass),_=i.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===_)return;var B=i.querySelectorAll("."+r.linkClass);n.call(B,function(M){m(M,M.className.replace(c+r.activeLinkClass,""))});var I=i.querySelectorAll("."+r.listItemClass);n.call(I,function(M){m(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var T=i.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(T,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&m(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(w){return w&&w.className.indexOf(r.collapsibleClass)!==-1&&w.className.indexOf(r.isCollapsedClass)!==-1?(m(w,w.className.replace(c+r.isCollapsedClass,"")),x(w.parentNode.parentNode)):w}function D(w){var C=w.target||w.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(u=!1)}function E(){u=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:b}}}}),TB=tn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(g){return g[g.length-1]}function o(g){return+g.nodeName.toUpperCase().replace("H","")}function i(g){try{return g instanceof window.HTMLElement||g instanceof window.parent.HTMLElement}catch{return g instanceof window.HTMLElement}}function u(g){if(!i(g))return g;if(r.ignoreHiddenElements&&(!g.offsetHeight||!g.offsetParent))return null;let h=g.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(g.innerText)):(g.innerText||g.textContent).trim());var f={id:g.id,children:[],nodeName:g.nodeName,headingLevel:o(g),textContent:h};return r.includeHtml&&(f.childNodes=g.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,g):f}function c(g,h){for(var f=u(g),y=f.headingLevel,m=h,b=a(m),x=b?b.headingLevel:0,D=y-x;D>0&&(b=a(m),!(b&&y===b.headingLevel));)b&&b.children!==void 0&&(m=b.children),D--;return y>=r.collapseDepth&&(f.isCollapsed=!0),m.push(f),m}function d(g,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(y){return y.trim()+":not("+r.ignoreSelector+")"}));try{return g.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(g){return n.call(g,function(h,f){var y=u(f);return y&&c(y,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),LB=tn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),MB=tn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,i=location.hash?d(location.href):location.href;u();function u(){document.body.addEventListener("click",g,!1);function g(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(g){return g.tagName.toLowerCase()==="a"&&(g.hash.length>0||g.href.charAt(g.href.length-1)==="#")&&(d(g.href)===i||d(g.href)+"#"===i)}function d(g){return g.slice(0,g.lastIndexOf("#"))}function p(g){var h=document.getElementById(g.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,i={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||y},u=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?i.offset+(n?u&&u.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof i.duration=="function"?i.duration(c):i.duration,p,g;requestAnimationFrame(function(m){p=m,h(m)});function h(m){g=m-p,window.scrollTo(0,i.easing(g,o,c,d)),g"u"&&!g)return;var h,f=Object.prototype.hasOwnProperty;function y(){for(var D={},E=0;E=0&&a<1?(u=o,c=i):a>=1&&a<2?(u=i,c=o):a>=2&&a<3?(c=o,d=i):a>=3&&a<4?(c=i,d=o):a>=4&&a<5?(u=i,d=o):a>=5&&a<6&&(u=o,d=i);var p=r-o/2,g=u+p,h=c+p,f=d+p;return n(g,h,f)}var C2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function VB(e){if(typeof e!="string")return e;var t=e.toLowerCase();return C2[t]?"#"+C2[t]:e}var qB=/^#[a-fA-F0-9]{6}$/,UB=/^#[a-fA-F0-9]{8}$/,WB=/^#[a-fA-F0-9]{3}$/,GB=/^#[a-fA-F0-9]{4}$/,Ic=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,KB=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,YB=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ZB=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function ss(e){if(typeof e!="string")throw new vt(3);var t=VB(e);if(t.match(qB))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(UB)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(WB))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(GB)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Ic.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=KB.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var i=YB.exec(t);if(i){var u=parseInt(""+i[1],10),c=parseInt(""+i[2],10)/100,d=parseInt(""+i[3],10)/100,p="rgb("+gi(u,c,d)+")",g=Ic.exec(p);if(!g)throw new vt(4,t,p);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var h=ZB.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),y=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,b="rgb("+gi(f,y,m)+")",x=Ic.exec(b);if(!x)throw new vt(4,t,b);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new vt(5)}function JB(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),i=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:i,alpha:e.alpha}:{hue:0,saturation:0,lightness:i};var u,c=a-o,d=i>.5?c/(2-a-o):c/(a+o);switch(a){case t:u=(r-n)/c+(r=1?p8(e.hue,e.saturation,e.lightness):"rgba("+gi(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new vt(2)}function f8(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return bd("#"+Fr(e)+Fr(t)+Fr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return bd("#"+Fr(e.red)+Fr(e.green)+Fr(e.blue));throw new vt(6)}function Ot(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=ss(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?f8(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new vt(7)}var rI=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},nI=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},aI=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},oI=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function h8(e){if(typeof e!="object")throw new vt(8);if(nI(e))return Ot(e);if(rI(e))return f8(e);if(oI(e))return tI(e);if(aI(e))return eI(e);throw new vt(8)}function m8(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):m8(e,t,n)}}function us(e){return m8(e,e.length,[])}function cs(e,t,r){return Math.max(e,Math.min(t,r))}function lI(e,t){if(t==="transparent")return t;var r=d8(t);return h8(Gn({},r,{lightness:cs(0,1,r.lightness-parseFloat(e))}))}var iI=us(lI),ht=iI;function sI(e,t){if(t==="transparent")return t;var r=d8(t);return h8(Gn({},r,{lightness:cs(0,1,r.lightness+parseFloat(e))}))}var uI=us(sI),_r=uI;function cI(e,t){if(t==="transparent")return t;var r=ss(t),n=typeof r.alpha=="number"?r.alpha:1,a=Gn({},r,{alpha:cs(0,1,(n*100+parseFloat(e)*100)/100)});return Ot(a)}var dI=us(cI),cl=dI;function pI(e,t){if(t==="transparent")return t;var r=ss(t),n=typeof r.alpha=="number"?r.alpha:1,a=Gn({},r,{alpha:cs(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ot(a)}var fI=us(pI),Q=fI,hI=F.div(te,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:Q(.3,e.color.defaultText),fontSize:e.typography.size.s2})),g8=e=>v.createElement(hI,{...e,className:"docblock-emptyblock sb-unstyled"}),mI=F(ts)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),gI=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),dl=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${$c}`]:{margin:0}})),vI=()=>v.createElement(gI,null,v.createElement(dl,null),v.createElement(dl,{style:{width:"80%"}}),v.createElement(dl,{style:{width:"30%"}}),v.createElement(dl,{style:{width:"80%"}})),v8=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...i})=>{let{typography:u}=ev();if(e)return v.createElement(vI,null);if(t)return v.createElement(g8,null,t);let c=v.createElement(mI,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...i},n);if(typeof a>"u")return c;let d=a?Mp.dark:Mp.light;return v.createElement(tv,{theme:bE({...d,fontCode:u.fonts.mono,fontBase:u.fonts.base})},c)},ie=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,bp=600,yI=F.h1(te,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${bp}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),wI=F.h2(te,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${bp}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:Q(.25,e.color.defaultText)})),bI=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Q(.1,e.color.defaultText):Q(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[ie("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[ie("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[ie("div")]:t,[ie("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[ie("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[ie("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[ie("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[ie("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[ie("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[ie("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[ie("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[ie("img")]:{maxWidth:"100%"},[ie("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[ie("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[ie("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[ie("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[ie("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[ie("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[ie("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),EI=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${bp}px)`]:{}})),DI=({children:e,toc:t})=>v.createElement(EI,{className:"sbdocs sbdocs-wrapper"},v.createElement(bI,{className:"sbdocs sbdocs-content"},e),t),ds=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:xI}=globalThis,CI=class extends l.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=xI.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return v.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},y8=l.createContext({scale:1}),{PREVIEW_URL:SI}=globalThis,kI=SI||"iframe.html",Ed=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,AI=e=>{let t=l.useRef(),[r,n]=l.useState(!0),[a,o]=l.useState(),{story:i,height:u,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return l.useEffect(()=>{if(!(i&&t.current))return()=>{};let g=t.current,h=p(i,g,{showMain:()=>{},showError:({title:f,description:y})=>o(new Error(`${f} - ${y}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,i]),a?v.createElement("pre",null,v.createElement(U6,{error:a})):v.createElement(v.Fragment,null,u?v.createElement("style",null,`#${Ed(e)} { min-height: ${u}; transform: translateZ(0); overflow: auto }`):null,r&&v.createElement(w8,null),v.createElement("div",{ref:t,id:`${Ed(e)}-inner`,"data-name":i.name}))},FI=({story:e,height:t="500px"})=>v.createElement("div",{style:{width:"100%",height:t}},v.createElement(y8.Consumer,null,({scale:r})=>v.createElement(CI,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:a8(kI,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),_I=F.strong(({theme:e})=>({color:e.color.orange})),BI=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?v.createElement(_I,null,"This story mounts inside of play. Set"," ",v.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):v.createElement("div",{id:Ed(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?v.createElement(AI,{...e}):v.createElement(FI,{...e}))},w8=()=>v.createElement(r8,null),II=F(ls)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),RI=F.div({display:"flex",alignItems:"center",gap:4}),zI=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),TI=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>v.createElement(II,{...o},v.createElement(RI,{key:"left"},e?[1,2,3].map(i=>v.createElement(zI,{key:i})):v.createElement(v.Fragment,null,v.createElement(nr,{key:"zoomin",onClick:i=>{i.preventDefault(),n(.8)},title:"Zoom in"},v.createElement(hB,null)),v.createElement(nr,{key:"zoomout",onClick:i=>{i.preventDefault(),n(1.25)},title:"Zoom out"},v.createElement(mB,null)),v.createElement(nr,{key:"zoomreset",onClick:i=>{i.preventDefault(),a()},title:"Reset zoom"},v.createElement(gB,null))))),LI=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),S2=F(v8)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ht(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ht(.05,e.background.content)}})),MI=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...ds(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),OI=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:v.createElement(S2,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:v.createElement(S2,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function PI(e){if(l.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var NI=F(TI)({position:"absolute",top:0,left:0,right:0,height:40}),HI=F.div({overflow:"hidden",position:"relative"}),b8=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:i=!1,additionalActions:u,className:c,layout:d="padded",...p})=>{let[g,h]=l.useState(i),{source:f,actionItem:y}=OI(a,g,h),[m,b]=l.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[y]:[],[E,w]=l.useState(u?[...u]:[]),C=[...D,...E],{window:S}=globalThis,A=l.useCallback(async _=>{let{createCopyToClipboardFunction:B}=await J2(async()=>{const{createCopyToClipboardFunction:I}=await Promise.resolve().then(()=>X_);return{createCopyToClipboardFunction:I}},void 0,import.meta.url);B()},[]),k=_=>{let B=S.getSelection();B&&B.type==="Range"||(_.preventDefault(),E.filter(I=>I.title==="Copied").length===0&&A(f.props.code).then(()=>{w([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>w(E.filter(I=>I.title!=="Copied")),1500)}))};return v.createElement(MI,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&v.createElement(NI,{isLoading:e,border:!0,zoom:_=>b(m*_),resetZoom:()=>b(1),storyId:PI(n),baseUrl:"./iframe.html"}),v.createElement(y8.Provider,{value:{scale:m}},v.createElement(HI,{className:"docs-story",onCopyCapture:a&&k},v.createElement(LI,{isColumn:t||!Array.isArray(n),columns:r,layout:d},v.createElement(q6.Element,{scale:m},Array.isArray(n)?n.map((_,B)=>v.createElement("div",{key:B},_)):v.createElement("div",null,n))),v.createElement(xi,{actionItems:C}))),a&&g&&f)};F(b8)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function Ir(){return Ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),_2={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},jI=["style","script"],VI=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,qI=/mailto:/i,UI=/\n{2,}$/,E8=/^(\s*>[\s\S]*?)(?=\n{2,})/,WI=/^ *> ?/gm,GI=/^ {2,}\n/,KI=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,D8=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,x8=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,YI=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,ZI=/^(?:\n *)*\n/,JI=/\r\n?/g,XI=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,QI=/^\[\^([^\]]+)]/,eR=/\f/g,tR=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,rR=/^\s*?\[(x|\s)\]/,C8=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,S8=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,k8=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,Dd=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,nR=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,A8=/^)/,aR=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,xd=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,oR=/^\{.*\}$/,lR=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,iR=/^<([^ >]+@[^ >]+)>/,sR=/^<([^ >]+:\/[^ >]+)>/,uR=/-([a-z])?/gi,F8=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,cR=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,dR=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,pR=/^\[([^\]]*)\] ?\[([^\]]*)\]/,fR=/(\[|\])/g,hR=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,mR=/\t/g,gR=/^ *\| */,vR=/(^ *\||\| *$)/g,yR=/ *$/,wR=/^ *:-+: *$/,bR=/^ *:-+ *$/,ER=/^ *-+: *$/,ps="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",DR=new RegExp(`^([*_])\\1${ps}\\1\\1(?!\\1)`),xR=new RegExp(`^([*_])${ps}\\1(?!\\1|\\w)`),CR=new RegExp(`^==${ps}==`),SR=new RegExp(`^~~${ps}~~`),kR=/^\\([^0-9A-Za-z\s])/,AR=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,FR=/^\n+/,_R=/^([ \t]*)/,BR=/\\([^\\])/g,B2=/ *\n+$/,IR=/(?:^|\n)( *)$/,Ep="(?:\\d+\\.)",Dp="(?:[*+-])";function _8(e){return"( *)("+(e===1?Ep:Dp)+") +"}var B8=_8(1),I8=_8(2);function R8(e){return new RegExp("^"+(e===1?B8:I8))}var RR=R8(1),zR=R8(2);function z8(e){return new RegExp("^"+(e===1?B8:I8)+"[^\\n]*(?:\\n(?!\\1"+(e===1?Ep:Dp)+" )[^\\n]*)*(\\n|$)","gm")}var T8=z8(1),L8=z8(2);function M8(e){let t=e===1?Ep:Dp;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var O8=M8(1),P8=M8(2);function I2(e,t){let r=t===1,n=r?O8:P8,a=r?T8:L8,o=r?RR:zR;return{match(i,u,c){let d=IR.exec(c);return d&&(u.list||!u.inline&&!u.simple)?n.exec(i=d[1]+i):null},order:1,parse(i,u,c){let d=r?+i[2]:void 0,p=i[0].replace(UI,` +`).match(a),g=!1;return{items:p.map(function(h,f){let y=o.exec(h)[0].length,m=new RegExp("^ {1,"+y+"}","gm"),b=h.replace(m,"").replace(o,""),x=f===p.length-1,D=b.indexOf(` + +`)!==-1||x&&g;g=D;let E=c.inline,w=c.list,C;c.list=!0,D?(c.inline=!1,C=b.replace(B2,` + +`)):(c.inline=!0,C=b.replace(B2,""));let S=u(C,c);return c.inline=E,c.list=w,S}),ordered:r,start:d}},render:(i,u,c)=>e(i.ordered?"ol":"ul",{key:c.key,start:i.type==="20"?i.start:void 0},i.items.map(function(d,p){return e("li",{key:p},u(d,c))}))}}var TR=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),LR=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,N8=[E8,D8,x8,C8,k8,S8,A8,F8,T8,O8,L8,P8],MR=[...N8,/^[^\n]+(?: \n|\n{2,})/,Dd,xd];function OR(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function PR(e){return ER.test(e)?"right":wR.test(e)?"center":bR.test(e)?"left":null}function R2(e,t,r){let n=r.inTable;r.inTable=!0;let a=t(e.trim(),r);r.inTable=n;let o=[[]];return a.forEach(function(i,u){i.type==="26"?u!==0&&u!==a.length-1&&o.push([]):(i.type!=="27"||a[u+1]!=null&&a[u+1].type!=="26"||(i.text=i.text.replace(yR,"")),o[o.length-1].push(i))}),o}function NR(e,t,r){r.inline=!0;let n=R2(e[1],t,r),a=e[2].replace(vR,"").split("|").map(PR),o=function(i,u,c){return i.trim().split(` +`).map(function(d){return R2(d,u,c)})}(e[3],t,r);return r.inline=!1,{align:a,cells:o,header:n,type:"25"}}function z2(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Wt(e){return function(t,r){return r.inline?e.exec(t):null}}function Gt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Tt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Aa(e){return function(t){return e.exec(t)}}function HR(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` +`))return null;let n="";e.split(` +`).every(o=>!N8.some(i=>i.test(o))&&(n+=o+` +`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function mn(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function T2(e){return e.replace(BR,"$1")}function zl(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function $R(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function jR(e,t,r){return r.inline=!1,e(t,r)}var zc=(e,t,r)=>({children:zl(t,e[1],r)});function Tc(){return{}}function Lc(){return null}function VR(...e){return e.filter(Boolean).join(" ")}function Mc(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function qR(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||OR,t.namedCodesToUnicode=t.namedCodesToUnicode?Ir({},_2,t.namedCodesToUnicode):_2;let r=t.createElement||l.createElement;function n(f,y,...m){let b=Mc(t.overrides,`${f}.props`,{});return r(function(x,D){let E=Mc(D,x);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Mc(D,`${x}.component`,x):x}(f,t.overrides),Ir({},y,b,{className:VR(y==null?void 0:y.className,b.className)||void 0}),...m)}function a(f){f=f.replace(tR,"");let y=!1;t.forceInline?y=!0:t.forceBlock||(y=hR.test(f)===!1);let m=p(d(y?f:`${f.trimEnd().replace(FR,"")} + +`,{inline:y}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;let b=t.wrapper||(y?"span":"div"),x;if(m.length>1||t.forceWrapper)x=m;else{if(m.length===1)return x=m[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return l.createElement(b,{key:"outer"},x)}function o(f){let y=f.match(VI);return y?y.reduce(function(m,b,x){let D=b.indexOf("=");if(D!==-1){let E=function(A){return A.indexOf("-")!==-1&&A.match(aR)===null&&(A=A.replace(uR,function(k,_){return _.toUpperCase()})),A}(b.slice(0,D)).trim(),w=function(A){let k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(b.slice(D+1).trim()),C=F2[E]||E,S=m[C]=function(A,k){return A==="style"?k.split(/;\s?/).reduce(function(_,B){let I=B.slice(0,B.indexOf(":"));return _[I.trim().replace(/(-[a-z])/g,z=>z[1].toUpperCase())]=B.slice(I.length+1).trim(),_},{}):A==="href"||A==="src"?mn(k):(k.match(oR)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(E,w);typeof S=="string"&&(Dd.test(S)||xd.test(S))&&(m[C]=l.cloneElement(a(S.trim()),{key:x}))}else b!=="style"&&(m[F2[b]||b]=!0);return m},{}):null}let i=[],u={},c={0:{match:Tt(E8),order:1,parse:(f,y,m)=>({children:y(f[0].replace(WI,""),m)}),render:(f,y,m)=>n("blockquote",{key:m.key},y(f.children,m))},1:{match:Aa(GI),order:1,parse:Tc,render:(f,y,m)=>n("br",{key:m.key})},2:{match:Tt(KI),order:1,parse:Tc,render:(f,y,m)=>n("hr",{key:m.key})},3:{match:Tt(x8),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,y,m)=>n("pre",{key:m.key},n("code",Ir({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:Tt(D8),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Gt(YI),order:3,parse:f=>({text:f[2]}),render:(f,y,m)=>n("code",{key:m.key},f.text)},6:{match:Tt(XI),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:Lc},7:{match:Wt(QI),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,y,m)=>n("a",{key:m.key,href:mn(f.target)},n("sup",{key:m.key},f.text))},8:{match:Wt(rR),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,y,m)=>n("input",{checked:f.completed,key:m.key,readOnly:!0,type:"checkbox"})},9:{match:Tt(t.enforceAtxHeadings?S8:C8),order:1,parse:(f,y,m)=>({children:zl(y,f[2],m),id:t.slugify(f[2]),level:f[1].length}),render:(f,y,m)=>n(`h${f.level}`,{id:f.id,key:m.key},y(f.children,m))},10:{match:Tt(k8),order:0,parse:(f,y,m)=>({children:zl(y,f[1],m),level:f[2]==="="?1:2,type:"9"})},11:{match:Aa(Dd),order:1,parse(f,y,m){let[,b]=f[3].match(_R),x=new RegExp(`^${b}`,"gm"),D=f[3].replace(x,""),E=(w=D,MR.some(k=>k.test(w))?jR:zl);var w;let C=f[1].toLowerCase(),S=jI.indexOf(C)!==-1,A={attrs:o(f[2]),noInnerParse:S,tag:(S?C:f[1]).trim()};return m.inAnchor=m.inAnchor||C==="a",S?A.text=f[3]:A.children=E(y,D,m),m.inAnchor=!1,A},render:(f,y,m)=>n(f.tag,Ir({key:m.key},f.attrs),f.text||y(f.children,m))},13:{match:Aa(xd),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,y,m)=>n(f.tag,Ir({},f.attrs,{key:m.key}))},12:{match:Aa(A8),order:1,parse:()=>({}),render:Lc},14:{match:Gt(LR),order:1,parse:f=>({alt:f[1],target:T2(f[2]),title:f[3]}),render:(f,y,m)=>n("img",{key:m.key,alt:f.alt||void 0,title:f.title||void 0,src:mn(f.target)})},15:{match:Wt(TR),order:3,parse:(f,y,m)=>({children:$R(y,f[1],m),target:T2(f[2]),title:f[3]}),render:(f,y,m)=>n("a",{key:m.key,href:mn(f.target),title:f.title},y(f.children,m))},16:{match:Wt(sR),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,y)=>y.inAnchor?null:Wt(lR)(f,y),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Wt(iR),order:0,parse(f){let y=f[1],m=f[1];return qI.test(m)||(m="mailto:"+m),{children:[{text:y.replace("mailto:",""),type:"27"}],target:m,type:"15"}}},20:I2(n,1),33:I2(n,2),19:{match:Tt(ZI),order:3,parse:Tc,render:()=>` +`},21:{match:HR,order:3,parse:zc,render:(f,y,m)=>n("p",{key:m.key},y(f.children,m))},22:{match:Wt(cR),order:0,parse:f=>(u[f[1]]={target:f[2],title:f[4]},{}),render:Lc},23:{match:Gt(dR),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,y,m)=>u[f.ref]?n("img",{key:m.key,alt:f.alt,src:mn(u[f.ref].target),title:u[f.ref].title}):null},24:{match:Wt(pR),order:0,parse:(f,y,m)=>({children:y(f[1],m),fallbackChildren:y(f[0].replace(fR,"\\$1"),m),ref:f[2]}),render:(f,y,m)=>u[f.ref]?n("a",{key:m.key,href:mn(u[f.ref].target),title:u[f.ref].title},y(f.children,m)):n("span",{key:m.key},y(f.fallbackChildren,m))},25:{match:Tt(F8),order:1,parse:NR,render:(f,y,m)=>n("table",{key:m.key},n("thead",null,n("tr",null,f.header.map(function(b,x){return n("th",{key:x,style:z2(f,x)},y(b,m))}))),n("tbody",null,f.cells.map(function(b,x){return n("tr",{key:x},b.map(function(D,E){return n("td",{key:E,style:z2(f,E)},y(D,m))}))})))},26:{match:function(f,y){return y.inTable?(y.inline=!0,gR.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Aa(AR),order:4,parse:f=>({text:f[0].replace(nR,(y,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:y)}),render:f=>f.text},28:{match:Gt(DR),order:2,parse:(f,y,m)=>({children:y(f[2],m)}),render:(f,y,m)=>n("strong",{key:m.key},y(f.children,m))},29:{match:Gt(xR),order:3,parse:(f,y,m)=>({children:y(f[2],m)}),render:(f,y,m)=>n("em",{key:m.key},y(f.children,m))},30:{match:Gt(kR),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Gt(CR),order:3,parse:zc,render:(f,y,m)=>n("mark",{key:m.key},y(f.children,m))},32:{match:Gt(SR),order:3,parse:zc,render:(f,y,m)=>n("del",{key:m.key},y(f.children,m))}};t.disableParsingRawHTML===!0&&(delete c[11],delete c[13]);let d=function(f){let y=Object.keys(f);function m(b,x){let D=[],E="";for(;b;){let w=0;for(;wD(m,b,x),m,b,x):D(m,b,x)}}(c,t.renderRule),function f(y,m={}){if(Array.isArray(y)){let b=m.key,x=[],D=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,u,c={},d=Object.keys(a);for(u=0;u=0||(c[i]=a[i]);return c}(e,$I);return l.cloneElement(qR(t,r),n)},UR=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:Q(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${cl(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${cl(.05,e.appBorderColor)} 0 0 0 2px inset`,color:cl(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${cl(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),WR=e=>e==="true",GR=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let i=l.useCallback(()=>r(!1),[r]),u=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return v.createElement(mr,{variant:"outline",size:"medium",id:is(e),onClick:i,disabled:u},"Set boolean");let c=ot(e),d=typeof t=="string"?WR(t):t;return v.createElement(UR,{"aria-disabled":u,htmlFor:c,"aria-label":e},v.createElement("input",{id:c,type:"checkbox",onChange:g=>r(g.target.checked),checked:d,role:"switch",disabled:u,name:e,onBlur:n,onFocus:a}),v.createElement("span",{"aria-hidden":"true"},"False"),v.createElement("span",{"aria-hidden":"true"},"True"))},KR=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},YR=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},ZR=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},JR=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},L2=F(na.Input)(({readOnly:e})=>({opacity:e?.5:1})),XR=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),QR=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var y;let[i,u]=l.useState(!0),c=l.useRef(),d=l.useRef(),p=!!((y=o==null?void 0:o.table)!=null&&y.readonly);l.useEffect(()=>{i!==!1&&(c&&c.current&&(c.current.value=t?ZR(t):""),d&&d.current&&(d.current.value=t?JR(t):""))},[t]);let g=m=>{if(!m.target.value)return r();let b=KR(m.target.value),x=new Date(t);x.setFullYear(b.getFullYear(),b.getMonth(),b.getDate());let D=x.getTime();D&&r(D),u(!!D)},h=m=>{if(!m.target.value)return r();let b=YR(m.target.value),x=new Date(t);x.setHours(b.getHours()),x.setMinutes(b.getMinutes());let D=x.getTime();D&&r(D),u(!!D)},f=ot(e);return v.createElement(XR,null,v.createElement(L2,{type:"date",max:"9999-12-31",ref:c,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:g,onFocus:n,onBlur:a}),v.createElement(L2,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:a}),i?null:v.createElement("div",null,"invalid"))},ez=F.label({display:"flex"}),tz=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},rz=F(na.Input)(({readOnly:e})=>({opacity:e?.5:1})),nz=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:i,onFocus:u,argType:c})=>{var E;let[d,p]=l.useState(typeof t=="number"?t:""),[g,h]=l.useState(!1),[f,y]=l.useState(null),m=!!((E=c==null?void 0:c.table)!=null&&E.readonly),b=l.useCallback(w=>{p(w.target.value);let C=parseFloat(w.target.value);Number.isNaN(C)?y(new Error(`'${w.target.value}' is not a number`)):(r(C),y(null))},[r,y]),x=l.useCallback(()=>{p("0"),r(0),h(!0)},[h]),D=l.useRef(null);return l.useEffect(()=>{g&&D.current&&D.current.select()},[g]),l.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?v.createElement(mr,{variant:"outline",size:"medium",id:is(e),onClick:x,disabled:m},"Set number"):v.createElement(ez,null,v.createElement(rz,{ref:D,id:ot(e),type:"number",onChange:b,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:g,readOnly:m,name:e,min:n,max:a,step:o,onFocus:u,onBlur:i}))},$8=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Cd=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],j8=(e,t)=>e&&t&&e.map(r=>t[r]),az=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),oz=F.span({"[aria-readonly=true] &":{opacity:.5}}),lz=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),M2=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var h;if(!t)return wp.warn(`Checkbox with no options: ${e}`),v.createElement(v.Fragment,null,"-");let i=Cd(r,t),[u,c]=l.useState(i),d=!!((h=o==null?void 0:o.table)!=null&&h.readonly),p=f=>{let y=f.target.value,m=[...u];m.includes(y)?m.splice(m.indexOf(y),1):m.push(y),n(j8(m,t)),c(m)};l.useEffect(()=>{c(Cd(r,t))},[r]);let g=ot(e);return v.createElement(az,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,y)=>{let m=`${g}-${y}`;return v.createElement(lz,{key:m,htmlFor:m},v.createElement("input",{type:"checkbox",disabled:d,id:m,name:m,value:f,onChange:p,checked:u==null?void 0:u.includes(f)}),v.createElement(oz,null,f))}))},iz=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),sz=F.span({"[aria-readonly=true] &":{opacity:.5}}),uz=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),O2=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return wp.warn(`Radio with no options: ${e}`),v.createElement(v.Fragment,null,"-");let i=$8(r,t),u=ot(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return v.createElement(iz,{"aria-readonly":c,isInline:a},Object.keys(t).map((p,g)=>{let h=`${u}-${g}`;return v.createElement(uz,{key:h,htmlFor:h},v.createElement("input",{type:"radio",id:h,name:u,disabled:c,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===i}),v.createElement(sz,null,p))}))},cz={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},V8=F.select(cz,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),q8=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),P2="Choose option...",dz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},i=$8(t,r)||P2,u=ot(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return v.createElement(q8,null,v.createElement(s8,null),v.createElement(V8,{disabled:c,id:u,value:i,onChange:o},v.createElement("option",{key:"no-selection",disabled:!0},P2),Object.keys(r).map(p=>v.createElement("option",{key:p,value:p},p))))},pz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let g=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(j8(g,r))},i=Cd(t,r),u=ot(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return v.createElement(q8,null,v.createElement(V8,{disabled:c,id:u,multiple:!0,value:i,onChange:o},Object.keys(r).map(p=>v.createElement("option",{key:p,value:p},p))))},N2=e=>{let{name:t,options:r}=e;return r?e.isMulti?v.createElement(pz,{...e}):v.createElement(dz,{...e}):(wp.warn(`Select with no options: ${t}`),v.createElement(v.Fragment,null,"-"))},fz=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,hz={check:M2,"inline-check":M2,radio:O2,"inline-radio":O2,select:N2,"multi-select":N2},gn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?fz(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=hz[t];if(o)return v.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},mz="Error",gz="Object",vz="Array",yz="String",wz="Number",bz="Boolean",Ez="Date",Dz="Null",xz="Undefined",Cz="Function",Sz="Symbol",U8="ADD_DELTA_TYPE",W8="REMOVE_DELTA_TYPE",G8="UPDATE_DELTA_TYPE",xp="value",kz="key";function Or(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function K8(e,t){let r=Or(e),n=Or(t);return(r==="Function"||n==="Function")&&n!==r}var Cp=class extends l.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:i}=this.state,u={};if(!t){if(!o.value)return;u.key=o.value}u.newValue=r(!1,n,a,u.key,i.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:i}=this.props,u=l.cloneElement(r,{onClick:this.onSubmit}),c=l.cloneElement(n,{onClick:e}),d=a(xp,o,i),p=l.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),g=null;if(!t){let h=a(kz,o,i);g=l.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return v.createElement("span",{className:"rejt-add-value-node"},g,p,c,u)}};Cp.defaultProps={onlyValue:!1,addButtonElement:v.createElement("button",null,"+"),cancelButtonElement:v.createElement("button",null,"c")};var Y8=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:W8};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let i=[...t,e];this.setState({data:i}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:c}=this.props;u(r[r.length-1],i),c({type:U8,keyPath:r,deep:n,key:i.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,c=o[e];a(e,i,u,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:G8,keyPath:i,deep:u,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:i,dataType:u,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=i(e,t,r,n,u),g=o(e,t,r,n,u),h=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!g&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:g,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:_,delimiter:B,ul:I,addForm:z}=p(e,t,r,n,g),T=d(e,t,r,n,g),M=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),L=l.cloneElement(x,{onClick:u,className:"rejt-minus-menu",style:k});return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:B},"["),!a&&M,v.createElement("ul",{className:"rejt-not-collapsed-list",style:I},t.map((O,N)=>v.createElement(fs,{key:N,name:N.toString(),data:O,keyPath:r,deep:o,isCollapsed:i,handleRemove:this.handleRemoveItem(N),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}))),!T&&a&&v.createElement("div",{className:"rejt-add-form",style:z},v.createElement(Cp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:m,keyPath:r,deep:n,onSubmitValueParser:A})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:B},"]"),!T&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),c=i(e,r,n,a,o);return v.createElement("div",{className:"rejt-array-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),u)}};Y8.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var Z8=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,c=i(r,n,a,o,u);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let c=n(!0,a,u,i,o.value);e({value:c,key:i}).then(()=>{K8(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:g,textareaElementGenerator:h,minusMenuElement:f,keyPath:y}=this.props,m=d(e,i,n,a,c),b=null,x=null,D=u(e,i,n,a,c);if(r&&!D){let E=h(xp,y,a,e,i,c),w=l.cloneElement(p,{onClick:this.handleEdit}),C=l.cloneElement(g,{onClick:this.handleCancelEdit}),S=l.cloneElement(E,{ref:this.refInput,defaultValue:i});b=v.createElement("span",{className:"rejt-edit-form",style:m.editForm},S," ",C,w),x=null}else{b=v.createElement("span",{className:"rejt-value",style:m.value,onClick:D?null:this.handleEditMode},t);let E=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:m.minus});x=D?null:E}return v.createElement("li",{className:"rejt-function-value-node",style:m.li},v.createElement("span",{className:"rejt-name",style:m.name},e," :"," "),b,x)}};Z8.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};var fs=class extends l.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:i,onUpdate:u,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:C,onSubmitValueParser:S}=this.props,A=()=>!0,k=Or(e);switch(k){case mz:return v.createElement(Sd,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:A,dataType:k,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:C,onSubmitValueParser:S});case gz:return v.createElement(Sd,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:d,dataType:k,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:C,onSubmitValueParser:S});case vz:return v.createElement(Y8,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:d,dataType:k,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:b,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:w,logger:C,onSubmitValueParser:S});case yz:return v.createElement(Yt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});case wz:return v.createElement(Yt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});case bz:return v.createElement(Yt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});case Ez:return v.createElement(Yt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});case Dz:return v.createElement(Yt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});case xz:return v.createElement(Yt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});case Cz:return v.createElement(Z8,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:m,minusMenuElement:b,logger:C,onSubmitValueParser:S});case Sz:return v.createElement(Yt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:i,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:b,logger:C,onSubmitValueParser:S});default:return null}}};fs.defaultProps={keyPath:[],deep:0};var Sd=class extends l.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:i}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:c}=this.props;u(n[n.length-1],r),c({type:U8,keyPath:n,deep:a,key:e,newValue:t})}).catch(i.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,i=n[e];t(e,a,o,i).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:i,type:W8};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(u)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:i,nextDeep:u}=this.state,c=o[e];a(e,i,u,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(i[i.length-1],o),p({type:G8,keyPath:i,deep:u,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:i,getStyle:u,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=u(e,n,t,r,i),g=Object.getOwnPropertyNames(n),h=o(e,n,t,r,i),f=l.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",g.length," ",g.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:i,handleRemove:u,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:g,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:_,addForm:B,ul:I,delimiter:z}=p(e,t,r,n,g),T=Object.getOwnPropertyNames(t),M=d(e,t,r,n,g),L=l.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),O=l.cloneElement(x,{onClick:u,className:"rejt-minus-menu",style:k}),N=T.map($=>v.createElement(fs,{key:$,name:$,data:t[$],keyPath:r,deep:a,isCollapsed:i,handleRemove:this.handleRemoveValue($),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:b,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:w,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}));return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&L,v.createElement("ul",{className:"rejt-not-collapsed-list",style:I},N),!M&&o&&v.createElement("div",{className:"rejt-add-form",style:B},v.createElement(Cp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:m,keyPath:r,deep:n,onSubmitValueParser:A})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:i}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,i);return v.createElement("div",{className:"rejt-object-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),u)}};Sd.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var Yt=class extends l.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:i,dataType:u}=this.props,c=i(r,n,a,o,u);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:i,deep:u}=this.state;if(!o)return;let c=n(!0,a,u,i,o.value);e({value:c,key:i}).then(()=>{K8(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:i,readOnly:u,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:g,inputElementGenerator:h,minusMenuElement:f,keyPath:y}=this.props,m=d(e,i,n,a,c),b=u(e,i,n,a,c),x=r&&!b,D=h(xp,y,a,e,i,c),E=l.cloneElement(p,{onClick:this.handleEdit}),w=l.cloneElement(g,{onClick:this.handleCancelEdit}),C=l.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(i)}),S=l.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:m.minus});return v.createElement("li",{className:"rejt-value-node",style:m.li},v.createElement("span",{className:"rejt-name",style:m.name},e," : "),x?v.createElement("span",{className:"rejt-edit-form",style:m.editForm},C," ",w,E):v.createElement("span",{className:"rejt-value",style:m.value,onClick:b?null:this.handleEditMode},String(t)),!b&&!x&&S)}};Yt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};function Az(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Fz={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},_z={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Bz={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},J8=class extends l.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:c,inputElement:d,textareaElement:p,minusMenuElement:g,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:y,beforeUpdateAction:m,logger:b,onSubmitValueParser:x,fallback:D=null}=this.props,E=Or(e),w=a;Or(a)==="Boolean"&&(w=()=>a);let C=d;d&&Or(d)!=="Function"&&(C=()=>d);let S=p;return p&&Or(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?v.createElement("div",{className:"rejt-tree"},v.createElement(fs,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:w,getStyle:o,addButtonElement:i,cancelButtonElement:u,editButtonElement:c,inputElementGenerator:C,textareaElementGenerator:S,minusMenuElement:g,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:y,beforeUpdateAction:m,logger:b,onSubmitValueParser:x})):D}};J8.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Fz;case"Array":return _z;default:return Bz}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>Az(a),inputElement:()=>v.createElement("input",null),textareaElement:()=>v.createElement("textarea",null),fallback:null};var{window:Iz}=globalThis,Rz=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),Oc=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),zz=F(bB)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Tz=F(EB)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),H2=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Lz=F(nr)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Mz=F(na.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),Oz={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},Pz=e=>{e.currentTarget.dispatchEvent(new Iz.KeyboardEvent("keydown",Oz))},Nz=e=>{e.currentTarget.select()},Hz=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),$2=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=ev(),o=l.useMemo(()=>t&&fB(t),[t]),i=o!=null,[u,c]=l.useState(!i),[d,p]=l.useState(null),g=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=l.useCallback(w=>{try{w&&r(JSON.parse(w)),p(void 0)}catch(C){p(C)}},[r]),[f,y]=l.useState(!1),m=l.useCallback(()=>{r({}),y(!0)},[y]),b=l.useRef(null);if(l.useEffect(()=>{f&&b.current&&b.current.select()},[f]),!i)return v.createElement(mr,{disabled:g,id:is(e),onClick:m},"Set object");let x=v.createElement(Mz,{ref:b,id:ot(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:w=>h(w.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:g}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return v.createElement(Rz,{"aria-readonly":g},D&&v.createElement(Lz,{onClick:w=>{w.preventDefault(),c(C=>!C)}},u?v.createElement(yB,null):v.createElement(vB,null),v.createElement("span",null,"RAW")),u?x:v.createElement(J8,{readOnly:g||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:Hz(a),cancelButtonElement:v.createElement(Oc,{type:"button"},"Cancel"),editButtonElement:v.createElement(Oc,{type:"submit"},"Save"),addButtonElement:v.createElement(Oc,{type:"submit",primary:!0},"Save"),plusMenuElement:v.createElement(zz,null),minusMenuElement:v.createElement(Tz,null),inputElement:(w,C,S,A)=>A?v.createElement(H2,{onFocus:Nz,onBlur:Pz}):v.createElement(H2,null),fallback:x}))},$z=F.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${ht(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${_r(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${_r(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Ot(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ot(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ht(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Ot(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${ht(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${_r(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${_r(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Ot(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ot(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ht(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${ht(.02,e.input.background)} 100%)`:`linear-gradient(to right, + ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, + ${_r(.02,e.input.background)} ${(n-t)/(r-t)*100}%, + ${_r(.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 ${Ot(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),X8=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),jz=F(X8)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),Vz=F.div({display:"flex",alignItems:"center",width:"100%"});function qz(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var Uz=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:u,argType:c})=>{var f;let d=y=>{r(tz(y.target.value))},p=t!==void 0,g=l.useMemo(()=>qz(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return v.createElement(Vz,{"aria-readonly":h},v.createElement(X8,null,n),v.createElement($z,{id:ot(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:i}),v.createElement(jz,{numberOFDecimalsPlaces:g,max:a},p?t.toFixed(g):"--"," / ",a))},Wz=F.label({display:"flex"}),Gz=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),Kz=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let u=y=>{r(y.target.value)},c=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=l.useState(!1),g=l.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return v.createElement(mr,{variant:"outline",size:"medium",disabled:c,id:is(e),onClick:g},"Set string");let h=typeof t=="string";return v.createElement(Wz,null,v.createElement(na.Textarea,{id:ot(e),maxLength:o,onChange:u,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&v.createElement(Gz,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},Yz=F(na.Input)({padding:10});function Zz(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var Jz=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=l.useRef(null),i=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function u(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(g=>URL.createObjectURL(g));e(p),Zz(n)}return l.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),v.createElement(Yz,{ref:o,id:ot(t),type:"file",name:t,multiple:!0,disabled:i,onChange:u,accept:r,size:"flex"})},Xz=l.lazy(()=>J2(()=>import("./Color-F6OSRLHC-DOJWyiBH.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)),Qz=e=>v.createElement(l.Suspense,{fallback:v.createElement("div",null)},v.createElement(Xz,{...e})),eT={array:$2,object:$2,boolean:GR,color:Qz,date:QR,number:nz,check:gn,"inline-check":gn,radio:gn,"inline-radio":gn,select:gn,"multi-select":gn,range:Uz,text:Kz,file:Jz},j2=()=>v.createElement(v.Fragment,null,"-"),tT=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var m;let{key:a,control:o}=e,[i,u]=l.useState(!1),[c,d]=l.useState({value:t});l.useEffect(()=>{i||d({value:t})},[i,t]);let p=l.useCallback(b=>(d({value:b}),r({[a]:b}),b),[r,a]),g=l.useCallback(()=>u(!1),[]),h=l.useCallback(()=>u(!0),[]);if(!o||o.disable){let b=(o==null?void 0:o.disable)!==!0&&((m=e==null?void 0:e.type)==null?void 0:m.name)!=="function";return n&&b?v.createElement(Mn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):v.createElement(j2,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:g,onFocus:h},y=eT[o.type]||j2;return v.createElement(y,{...f,...o,controlType:o.type})},rT=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:Vt({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),nT=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:v.createElement(v.Fragment,null,v.createElement(rT,null,v.createElement("tbody",null,n&&v.createElement("tr",{key:"deprecated"},v.createElement("td",{colSpan:2},v.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>v.createElement("tr",{key:o.name},v.createElement("td",null,v.createElement("code",null,o.name)),v.createElement("td",null,o.description))),a&&v.createElement("tr",{key:"returns"},v.createElement("td",null,v.createElement("code",null,"Returns")),v.createElement("td",null,e.returns.description)))))},aT=yp(u8()),kd=8,V2=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),oT=F.span(Vt,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),lT=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),iT=F.div(Vt,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),sT=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),uT=F(SB)({marginLeft:4}),cT=F(s8)({marginLeft:4}),dT=()=>v.createElement("span",null,"-"),Q8=({text:e,simple:t})=>v.createElement(oT,{simple:t},e),pT=(0,aT.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),fT=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return oB(t)},q2=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,kd)),r.map(n=>v.createElement(Q8,{key:n,text:n===""?'""':n}))},hT=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=l.useState(!1),[i,u]=l.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return v.createElement(Q8,{text:c});let d=fT(c),p=d.length;return p>kd?v.createElement(V2,{isExpanded:i},q2(d,i),v.createElement(lT,{onClick:()=>u(!i)},i?"Show less...":`Show ${p-kd} more...`)):v.createElement(V2,null,q2(d))}return v.createElement(K6,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:v.createElement(sT,{width:pT(n)},v.createElement(ts,{language:"jsx",format:!1},n))},v.createElement(iT,{className:"sbdocs-expandable"},v.createElement("span",null,c),a?v.createElement(uT,null):v.createElement(cT,null)))},Pc=({value:e,initialExpandedArgs:t})=>e==null?v.createElement(dT,null):v.createElement(hT,{value:e,initialExpandedArgs:t}),mT=F.span({fontWeight:"bold"}),gT=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),vT=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...Vt({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),yT=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),wT=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),bT=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),ET=e=>e&&{summary:typeof e=="string"?e:e.name},pl=e=>{var m;let[t,r]=l.useState(!1),{row:n,updateArgs:a,compact:o,expandable:i,initialExpandedArgs:u}=e,{name:c,description:d}=n,p=n.table||{},g=p.type||ET(n.type),h=p.defaultValue||n.defaultValue,f=(m=n.type)==null?void 0:m.required,y=d!=null&&d!=="";return v.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},v.createElement(bT,{expandable:i},v.createElement(mT,null,c),f?v.createElement(gT,{title:"Required"},"*"):null),o?null:v.createElement("td",null,y&&v.createElement(vT,null,v.createElement(H8,null,d)),p.jsDocTags!=null?v.createElement(v.Fragment,null,v.createElement(wT,{hasDescription:y},v.createElement(Pc,{value:g,initialExpandedArgs:u})),v.createElement(nT,{tags:p.jsDocTags})):v.createElement(yT,{hasDescription:y},v.createElement(Pc,{value:g,initialExpandedArgs:u}))),o?null:v.createElement("td",null,v.createElement(Pc,{value:h,initialExpandedArgs:u})),a?v.createElement("td",null,v.createElement(tT,{...e,isHovered:t})):null)},DT=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),xT=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),CT=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),ST=({inAddonPanel:e})=>{let[t,r]=l.useState(!0);return l.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:v.createElement(DT,{inAddonPanel:e},v.createElement(mp,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:v.createElement(v.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:v.createElement(xT,null,e&&v.createElement(v.Fragment,null,v.createElement(Mn,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},v.createElement(wB,null)," Watch 5m video"),v.createElement(CT,null),v.createElement(Mn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(vd,null)," Read docs")),!e&&v.createElement(Mn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(vd,null)," Learn how to set that up"))}))},kT=F(xB)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),AT=F(CB)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),FT=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),_T=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),BT=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),IT=F.td(()=>({position:"relative"})),RT=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${_r(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),U2=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Nc=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,i]=l.useState(n),u=e==="subsection"?BT:_T,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return v.createElement(v.Fragment,null,v.createElement(RT,{title:p},v.createElement(u,{colSpan:1},v.createElement(U2,{onClick:g=>i(!o),tabIndex:0},p),v.createElement(FT,null,o?v.createElement(kT,null):v.createElement(AT,null),t)),v.createElement(IT,{colSpan:a-1},v.createElement(U2,{onClick:g=>i(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},fl=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),we=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),se=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),be=[2,4,2,2],zT=()=>v.createElement(v.Fragment,null,v.createElement(fl,null,v.createElement(we,{numColumn:be[0]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[1]},v.createElement(se,{width:"30%"})),v.createElement(we,{numColumn:be[2]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[3]},v.createElement(se,{width:"60%"}))),v.createElement(fl,null,v.createElement(we,{numColumn:be[0]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[1]},v.createElement(se,{width:"80%"}),v.createElement(se,{width:"30%"})),v.createElement(we,{numColumn:be[2]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[3]},v.createElement(se,{width:"60%"}))),v.createElement(fl,null,v.createElement(we,{numColumn:be[0]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[1]},v.createElement(se,{width:"80%"}),v.createElement(se,{width:"30%"})),v.createElement(we,{numColumn:be[2]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[3]},v.createElement(se,{width:"60%"}))),v.createElement(fl,null,v.createElement(we,{numColumn:be[0]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[1]},v.createElement(se,{width:"80%"}),v.createElement(se,{width:"30%"})),v.createElement(we,{numColumn:be[2]},v.createElement(se,{width:"60%"})),v.createElement(we,{numColumn:be[3]},v.createElement(se,{width:"60%"})))),TT=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Q(.25,e.color.defaultText):Q(.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}}}}})),LT=F(nr)(({theme:e})=>({margin:"-4px -12px -4px 0"})),MT=F.span({display:"flex",justifyContent:"space-between"}),OT={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},PT=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,i])=>{let{category:u,subcategory:c}=(i==null?void 0:i.table)||{};if(u){let d=r.sections[u]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...i});else{let p=d.subsections[c]||[];p.push({key:o,...i}),d.subsections[c]=p}r.sections[u]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...i}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...i})});let n=OT[t],a=o=>n?Object.keys(o).reduce((i,u)=>({...i,[u]:o[u].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,i)=>({...o,[i]:{ungrouped:r.sections[i].ungrouped.sort(n),subsections:a(r.sections[i].subsections)}}),{})}},NT=(e,t,r)=>{try{return DE(e,t,r)}catch(n){return FB.warn(n.message),!1}},Ad=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:i="none",isLoading:u}=e;if("error"in e){let{error:D}=e;return v.createElement(g8,null,D," ",v.createElement(Mn,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},v.createElement(vd,null)," Read the docs"))}if(u)return v.createElement(zT,null);let{rows:c,args:d,globals:p}="rows"in e&&e,g=PT(lB(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&NT(D,d||{},p||{})}),i),h=g.ungrouped.length===0,f=Object.entries(g.sections).length===0,y=Object.entries(g.ungroupedSubsections).length===0;if(h&&f&&y)return v.createElement(ST,{inAddonPanel:a});let m=1;t&&(m+=1),n||(m+=2);let b=Object.keys(g.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return v.createElement(rp,null,v.createElement(TT,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},v.createElement("thead",{className:"docblock-argstable-head"},v.createElement("tr",null,v.createElement("th",null,v.createElement("span",null,"Name")),n?null:v.createElement("th",null,v.createElement("span",null,"Description")),n?null:v.createElement("th",null,v.createElement("span",null,"Default")),t?v.createElement("th",null,v.createElement(MT,null,"Control"," ",!u&&r&&v.createElement(LT,{onClick:()=>r(),title:"Reset controls"},v.createElement(kB,{"aria-hidden":!0})))):null)),v.createElement("tbody",{className:"docblock-argstable-body"},g.ungrouped.map(D=>v.createElement(pl,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(g.ungroupedSubsections).map(([D,E])=>v.createElement(Nc,{key:D,label:D,level:"subsection",colSpan:m},E.map(w=>v.createElement(pl,{key:w.key,row:w,arg:d&&d[w.key],expandable:b,...x})))),Object.entries(g.sections).map(([D,E])=>v.createElement(Nc,{key:D,label:D,level:"section",colSpan:m},E.ungrouped.map(w=>v.createElement(pl,{key:w.key,row:w,arg:d&&d[w.key],...x})),Object.entries(E.subsections).map(([w,C])=>v.createElement(Nc,{key:w,label:w,level:"subsection",colSpan:m},C.map(S=>v.createElement(pl,{key:S.key,row:S,arg:d&&d[S.key],expandable:b,...x})))))))))},HT=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?v.createElement(Ad,{...r[0][1],...t}):v.createElement(e8,null,r.map((n,a)=>{let[o,i]=n,u=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return v.createElement(c,{key:u,id:u,title:o},({active:p})=>p?v.createElement(Ad,{key:`prop_table_${o}`,...i,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(te,({theme:e})=>({...ds(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...ds(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...ds(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var $T=e=>`anchor--${e}`,jT=({storyId:e,children:t})=>v.createElement("div",{id:$T(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=l.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Ft=globalThis?globalThis.__DOCS_CONTEXT__:l.createContext(null),rn=(e,t)=>l.useContext(Ft).resolveOf(e,t),VT=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),qT=e=>{if(e)return typeof e=="string"?e.includes("-")?VT(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function UT(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var WT=Object.create,eE=Object.defineProperty,GT=Object.getOwnPropertyDescriptor,tE=Object.getOwnPropertyNames,KT=Object.getPrototypeOf,YT=Object.prototype.hasOwnProperty,je=(e,t)=>function(){return t||(0,e[tE(e)[0]])((t={exports:{}}).exports,t),t.exports},ZT=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tE(t))!YT.call(e,a)&&a!==r&&eE(e,a,{get:()=>t[a],enumerable:!(n=GT(t,a))||n.enumerable});return e},Sp=(e,t,r)=>(r=e!=null?WT(KT(e)):{},ZT(!e||!e.__esModule?eE(r,"default",{value:e,enumerable:!0}):r,e)),JT=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],XT=["detail"];function QT(e){let t=JT.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&XT.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var eL=yp(u8(),1),rE=je({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var i=Object.getOwnPropertySymbols(r);if(i.length!==1||i[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0}}}),nE=je({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=rE();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),tL=je({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(i){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var m=u.apply(this,c.concat(n.call(arguments)));return Object(m)===m?m:this}else return u.apply(i,c.concat(n.call(arguments)))},g=Math.max(0,u.length-c.length),h=[],f=0;f"u"?r:g(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?g(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},m=function z(T){var M;if(T==="%AsyncFunction%")M=i("async function () {}");else if(T==="%GeneratorFunction%")M=i("function* () {}");else if(T==="%AsyncGeneratorFunction%")M=i("async function* () {}");else if(T==="%AsyncGenerator%"){var L=z("%AsyncGeneratorFunction%");L&&(M=L.prototype)}else if(T==="%AsyncIteratorPrototype%"){var O=z("%AsyncGenerator%");O&&(M=g(O.prototype))}return y[T]=M,M},b={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=kp(),D=rL(),E=x.call(Function.call,Array.prototype.concat),w=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),A=x.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,B=function(z){var T=S(z,0,1),M=S(z,-1);if(T==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return C(z,k,function(O,N,$,j){L[L.length]=$?C(j,_,"$1"):N||O}),L},I=function(z,T){var M=z,L;if(D(b,M)&&(L=b[M],M="%"+L[0]+"%"),D(y,M)){var O=y[M];if(O===h&&(O=m(M)),typeof O>"u"&&!T)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:L,name:M,value:O}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,T){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof T!="boolean")throw new o('"allowMissing" argument must be a boolean');if(A(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=B(z),L=M.length>0?M[0]:"",O=I("%"+L+"%",T),N=O.name,$=O.value,j=!1,U=O.alias;U&&(L=U[0],w(M,E([0,1],U)));for(var Z=1,re=!0;Z=M.length){var K=u($,Y);re=!!K,re&&"get"in K&&!("originalValue"in K.get)?$=K.get:$=$[Y]}else re=D($,Y),$=$[Y];re&&!j&&(y[N]=$)}}return $}}}),nL=je({"node_modules/call-bind/index.js"(e,t){var r=kp(),n=aE(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),i=n("%Reflect.apply%",!0)||r.call(o,a),u=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(g){var h=i(r,o,arguments);if(u&&c){var f=u(h,"length");f.configurable&&c(h,"length",{value:1+d(0,g.length-(arguments.length-1))})}return h};var p=function(){return i(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),aL=je({"node_modules/call-bind/callBound.js"(e,t){var r=aE(),n=nL(),a=n(r("String.prototype.indexOf"));t.exports=function(o,i){var u=r(o,!!i);return typeof u=="function"&&a(o,".prototype.")>-1?n(u):u}}}),oL=je({"node_modules/has-tostringtag/shams.js"(e,t){var r=rE();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),lL=je({"node_modules/is-regex/index.js"(e,t){var r=aL(),n=oL()(),a,o,i,u;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),i={},c=function(){throw i},u={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,g="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),y=f&&a(f,"value");if(!y)return!1;try{o(h,u)}catch(m){return m===i}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===g}}}),iL=je({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),sL=je({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=nE()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,i=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return i(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,i}}),uL=Sp(lL()),cL=Sp(iL()),dL=Sp(sL());function pL(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var fL=typeof global=="object"&&global&&global.Object===Object&&global,hL=fL,mL=typeof self=="object"&&self&&self.Object===Object&&self,gL=hL||mL||Function("return this")(),Ap=gL,vL=Ap.Symbol,Kn=vL,oE=Object.prototype,yL=oE.hasOwnProperty,wL=oE.toString,Fa=Kn?Kn.toStringTag:void 0;function bL(e){var t=yL.call(e,Fa),r=e[Fa];try{e[Fa]=void 0;var n=!0}catch{}var a=wL.call(e);return n&&(t?e[Fa]=r:delete e[Fa]),a}var EL=bL,DL=Object.prototype,xL=DL.toString;function CL(e){return xL.call(e)}var SL=CL,kL="[object Null]",AL="[object Undefined]",W2=Kn?Kn.toStringTag:void 0;function FL(e){return e==null?e===void 0?AL:kL:W2&&W2 in Object(e)?EL(e):SL(e)}var _L=FL,G2=Kn?Kn.prototype:void 0;G2&&G2.toString;function BL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var lE=BL,IL="[object AsyncFunction]",RL="[object Function]",zL="[object GeneratorFunction]",TL="[object Proxy]";function LL(e){if(!lE(e))return!1;var t=_L(e);return t==RL||t==zL||t==IL||t==TL}var ML=LL,OL=Ap["__core-js_shared__"],Hc=OL,K2=function(){var e=/[^.]+$/.exec(Hc&&Hc.keys&&Hc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function PL(e){return!!K2&&K2 in e}var NL=PL,HL=Function.prototype,$L=HL.toString;function jL(e){if(e!=null){try{return $L.call(e)}catch{}try{return e+""}catch{}}return""}var VL=jL,qL=/[\\^$.*+?()[\]{}|]/g,UL=/^\[object .+?Constructor\]$/,WL=Function.prototype,GL=Object.prototype,KL=WL.toString,YL=GL.hasOwnProperty,ZL=RegExp("^"+KL.call(YL).replace(qL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function JL(e){if(!lE(e)||NL(e))return!1;var t=ML(e)?ZL:UL;return t.test(VL(e))}var XL=JL;function QL(e,t){return e==null?void 0:e[t]}var eM=QL;function tM(e,t){var r=eM(e,t);return XL(r)?r:void 0}var iE=tM;function rM(e,t){return e===t||e!==e&&t!==t}var nM=rM,aM=iE(Object,"create"),fo=aM;function oM(){this.__data__=fo?fo(null):{},this.size=0}var lM=oM;function iM(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var sM=iM,uM="__lodash_hash_undefined__",cM=Object.prototype,dM=cM.hasOwnProperty;function pM(e){var t=this.__data__;if(fo){var r=t[e];return r===uM?void 0:r}return dM.call(t,e)?t[e]:void 0}var fM=pM,hM=Object.prototype,mM=hM.hasOwnProperty;function gM(e){var t=this.__data__;return fo?t[e]!==void 0:mM.call(t,e)}var vM=gM,yM="__lodash_hash_undefined__";function wM(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=fo&&t===void 0?yM:t,this}var bM=wM;function aa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var IM=BM;function RM(e,t){var r=this.__data__,n=hs(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var zM=RM;function oa(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let i=0;iaO(e).replace(/\n\s*/g,"").trim()),lO=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},iO=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function uE(e){if(!nO(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=QT(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var sO=function(e){let t,r,n,a;return function(o,i){try{if(o==="")return a=[],t=new Map([[i,"[]"]]),r=new Map,n=[],i;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),a.pop();if(typeof i=="boolean")return i;if(i===void 0)return e.allowUndefined?"_undefined_":void 0;if(i===null)return null;if(typeof i=="number")return i===-1/0?"_-Infinity_":i===1/0?"_Infinity_":Number.isNaN(i)?"_NaN_":i;if(typeof i=="bigint")return`_bigint_${i.toString()}`;if(typeof i=="string")return iO.test(i)?e.allowDate?`_date_${i}`:void 0:i;if((0,uL.default)(i))return e.allowRegExp?`_regexp_${i.flags}|${i.source}`:void 0;if((0,cL.default)(i)){if(!e.allowFunction)return;let{name:d}=i,p=i.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${oO(lO(o,p))}`}if((0,dL.default)(i)){if(!e.allowSymbol)return;let d=Symbol.keyFor(i);return d!==void 0?`_gsymbol_${d}`:`_symbol_${i.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(i)?`[Array(${i.length})]`:"[Object]";if(i===this)return`_duplicate_${JSON.stringify(a)}`;if(i instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...i.cause?{cause:i.cause}:{},...i,name:i.name,message:i.message,stack:i.stack,"_constructor-name_":i.constructor.name}};if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&!e.allowClass)return;let c=t.get(i);if(!c){let d=Array.isArray(i)?i:uE(i);if(i.constructor&&i.constructor.name&&i.constructor.name!=="Object"&&!Array.isArray(i)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":i.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(i,JSON.stringify(a)),i!==d&&r.set(i,d),d}return`_duplicate_${c}`}catch{return}}},uO={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},cO=(e,t={})=>{let r={...uO,...t};return JSON.stringify(uE(e),sO(r),t.space)};function cE(e){return cO(e,{allowFunction:!1})}var dE=l.createContext({sources:{}}),pE="--unknown--",dO=({children:e,channel:t})=>{let[r,n]=l.useState({});return l.useEffect(()=>{let a=(o,i=null,u=!1)=>{let{id:c,args:d=void 0,source:p,format:g}=typeof o=="string"?{id:o,source:i,format:u}:o,h=d?cE(d):pE;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:g}}}))};return t.on(Op,a),()=>t.off(Op,a)},[]),v.createElement(dE.Provider,{value:{sources:r}},e)},pO=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[cE(t)])||(a==null?void 0:a[pE])||{code:""}},fO=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},i=r||o.type||ys.AUTO;if(o.code!==void 0)return o.code;let u=i===ys.DYNAMIC||i===ys.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(u,t))||u},hO=(e,t,r)=>{var f,y,m,b;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((y=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:y.source)||{},{code:i}=e,u=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!i&&!n)return{error:"Oh no! The source is not available."};if(i)return{code:i,format:u,language:c,dark:d};let p=t.getStoryContext(n),g=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=pO(n.id,g,r);return u=h.format??((b=(m=n.parameters.docs)==null?void 0:m.source)==null?void 0:b.format)??!1,{code:fO({snippet:h.code,storyContext:{...p,args:g},typeFromProps:e.type,transformFromProps:e.transform}),format:u,language:c,dark:d}};function mO(e,t){let r=gO([e],t);return r&&r[0]}function gO(e,t){let[r,n]=l.useState({});return l.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(i=>i[a]===o?i:{...i,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var vO=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},yO=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let u=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:u,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let i=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:i,primary:!!e.__primary}},wO=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=l.useContext(Ft),r=vO(e,t),n=mO(r,t);if(!n)return v.createElement(w8,null);let a=yO(e,n,t);return a?v.createElement(BI,{...a}):null},bO=e=>{var h,f,y,m,b,x,D,E,w,C;let t=l.useContext(Ft),r=l.useContext(dE),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=rn(n||"story",["story"]),i=hO({...a,...n&&{of:n}},t,r),u=e.layout??o.parameters.layout??((f=(h=o.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((m=(y=o.parameters.docs)==null?void 0:y.canvas)==null?void 0:m.withToolbar)??!1,d=e.additionalActions??((x=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",g=e.className??((C=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:C.className);return v.createElement(b8,{withSource:p==="none"?void 0:i,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:g,layout:u},v.createElement(wO,{of:n||o.moduleExport,meta:e.meta,...e.story}))},EO=(e,t)=>{let r=DO(e,t);if(!r)throw new Error("No result when story was defined");return r},DO=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=l.useState(r.args);l.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(D2,c),()=>t.channel.off(D2,c)},[n,t.channel]);let i=l.useCallback(c=>t.channel.emit(_B,{storyId:n,updatedArgs:c}),[n,t.channel]),u=l.useCallback(c=>t.channel.emit(BB,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,i,u]},xO=(e,t)=>{let r=t.getStoryContext(e),[n,a]=l.useState(r.globals);return l.useEffect(()=>{let o=i=>{a(i.globals)};return t.channel.on(x2,o),()=>t.channel.off(x2,o)},[t.channel]),[n]};function CO(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var SO=e=>{var w;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=l.useContext(Ft),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:i,subcomponents:u}=n,c=((w=a.docs)==null?void 0:w.controls)||{},d=e.include??c.include,p=e.exclude??c.exclude,g=e.sort??c.sort,[h,f,y]=EO(n,r),[m]=xO(n,r),b=E2(o,d,p);if(!(u&&Object.keys(u).length>0))return Object.keys(b).length>0||Object.keys(h).length>0?v.createElement(Ad,{rows:b,sort:g,args:h,globals:m,updateArgs:f,resetArgs:y}):null;let x=qT(i),D=Object.fromEntries(Object.entries(u).map(([C,S])=>[C,{rows:E2(CO(S,a),d,p),sort:g}])),E={[x]:{rows:b,sort:g},...D};return v.createElement(HT,{tabs:E,sort:g,args:h,globals:m,updateArgs:f,resetArgs:y})},{document:fE}=globalThis,kO=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return v.createElement(np,null,t);let n=e&&e.split("-");return v.createElement(v8,{language:n&&n[1]||"text",format:!1,code:t,...r})};function _p(e,t){e.channel.emit(IB,t)}var Fd=o8.a,AO=({hash:e,children:t})=>{let r=l.useContext(Ft);return v.createElement(Fd,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);fE.getElementById(a)&&_p(r,e)}},t)},FO=e=>{let{href:t,target:r,children:n,...a}=e,o=l.useContext(Ft);return!t||r==="_blank"||/^https?:\/\//.test(t)?v.createElement(Fd,{...e}):t.startsWith("#")?v.createElement(AO,{hash:t},n):v.createElement(Fd,{href:t,onClick:i=>{i.button===0&&!i.altKey&&!i.ctrlKey&&!i.metaKey&&!i.shiftKey&&(i.preventDefault(),_p(o,i.currentTarget.getAttribute("href")))},target:r,...a},n)},hE=["h1","h2","h3","h4","h5","h6"],_O=hE.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),BO=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),IO=({as:e,id:t,children:r,...n})=>{let a=l.useContext(Ft),o=_O[e],i=`#${t}`;return v.createElement(o,{id:t,...n},v.createElement(BO,{"aria-hidden":"true",href:i,tabIndex:-1,target:"_self",onClick:u=>{fE.getElementById(t)&&_p(a,i)}},v.createElement(DB,null)),r)},Bp=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return v.createElement(IO,{as:t,id:r,...a},n);let o=t,{as:i,...u}=e;return v.createElement(o,{...ee(u,t)})},RO=hE.reduce((e,t)=>({...e,[t]:r=>v.createElement(Bp,{as:t,...r})}),{}),zO=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(xE`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' + This is often caused by not wrapping the child in a template string. + + This is invalid: + + # Some heading + A paragraph + + + Instead do: + + {\` + # Some heading + A paragraph + \`} + + `);return v.createElement(H8,{...e,options:{forceBlock:!0,overrides:{code:kO,a:FO,...RO,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},TO=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(TO||{}),LO=e=>{var t,r,n,a,o,i,u,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:i.call(o,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((c=(u=p.docs)==null?void 0:u.extractComponentDescription)==null?void 0:c.call(u,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},_d=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=rn(t||"meta"),n=LO(r);return n?v.createElement(zO,null,n):null},Z2=yp(OB()),MO=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),OO=F.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),PO=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),NO=({title:e})=>e===null?null:typeof e=="string"?v.createElement(PO,null,e):e,HO=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(l.useEffect(()=>{let i={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},u=setTimeout(()=>Z2.init(i),100);return()=>{clearTimeout(u),Z2.destroy()}},[t]),v.createElement(v.Fragment,null,v.createElement(MO,null,t?null:v.createElement(OO,null,v.createElement(NO,{title:e||null}),v.createElement("div",{className:"toc-wrapper"}))))),{document:$O,window:jO}=globalThis,VO=({context:e,theme:t,children:r})=>{var a,o,i,u,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(u=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:u.docs)==null?void 0:c.toc}return l.useEffect(()=>{let d;try{if(d=new URL(jO.parent.location.toString()),d.hash){let p=$O.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{UT(p)},200)}}catch{}}),v.createElement(Ft.Provider,{value:e},v.createElement(dO,{channel:e.channel},v.createElement(tv,{theme:EE(t)},v.createElement(DI,{toc:n?v.createElement(HO,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},qO=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return v.createElement(op,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return v.createElement(Bp,{as:"h3",id:r},e)},mE=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var u,c;let{story:o}=rn(e||"story",["story"]),i=((c=(u=o.parameters.docs)==null?void 0:u.canvas)==null?void 0:c.withToolbar)??r;return v.createElement(jT,{storyId:o.id},t&&v.createElement(v.Fragment,null,v.createElement(qO,null,o.name),v.createElement(_d,{of:e})),v.createElement(bO,{of:e,withToolbar:i,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},UO=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=rn(t||"meta",["meta"]),n=l.useContext(Ft).componentStoriesFromCSFFile(r)[0];return n?v.createElement(mE,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},WO=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return v.createElement(ap,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return v.createElement(Bp,{as:"h2",id:n,...r},e)},GO=F(WO)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),KO=({title:e="Stories",includePrimary:t=!0})=>{var u;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=l.useContext(Ft),o=r(),{stories:{filter:i}={filter:void 0}}=((u=n.parameters)==null?void 0:u.docs)||{};return i&&(o=o.filter(c=>i(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:v.createElement(v.Fragment,null,v.createElement(GO,null,e),o.map(c=>c&&v.createElement(mE,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},YO="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",ZO=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(t||"meta",["meta"]).preparedMeta}catch(u){if(r&&!u.message.includes("did you forget to use ?"))throw u}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&AB(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${YO}`);let i=r||(o==null?void 0:o.subtitle)||a;return i?v.createElement(wI,{className:"sbdocs-subtitle sb-unstyled"},i):null},JO=/\s*\/\s*/,XO=e=>{let t=e.trim().split(JO);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},QO=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||XO(n==null?void 0:n.title);return a?v.createElement(yI,{className:"sbdocs-title sb-unstyled"},a):null},eP=()=>{let e=rn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return v.createElement(v.Fragment,null,v.createElement(QO,null),v.createElement(ZO,null),v.createElement(_d,{of:"meta"}),r?v.createElement(_d,{of:"story"}):null,v.createElement(UO,null),v.createElement(SO,null),r?null:v.createElement(KO,null))};function gP({context:e,docsParameter:t}){let r=t.container||VO,n=t.page||eP;return v.createElement(r,{context:e,theme:t.theme},v.createElement(n,null))}export{FO as A,kO as C,gP as D,na as G,RO as H,pP as M,yp as _,tn as a,VO as b,dP as d,ot as g,p_ as q,m_ as r}; diff --git a/docs/assets/index-BZ6JnuF_.js b/docs/assets/index-BZ6JnuF_.js deleted file mode 100644 index 2081988..0000000 --- a/docs/assets/index-BZ6JnuF_.js +++ /dev/null @@ -1,525 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BEu9JJJd.js","./iframe-WubvJSwf.js","./index-2yJIXLcc.js","./index-BoIHHXGu.js","./index-Bn05qqr6.js","./index-BriWrUx_.js","./index-CHGET4sZ.js","./index-DrFu-skq.js","./Color-F6OSRLHC-BYxDHg9a.js"])))=>i.map(i=>d[i]); -var W8=Object.defineProperty;var G8=(e,t,r)=>t in e?W8(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var sn=(e,t,r)=>G8(e,typeof t!="symbol"?t+"":t,r);import{_ as Vg}from"./iframe-WubvJSwf.js";import{r as i,R as v}from"./index-2yJIXLcc.js";import{T as F,b as co,g as Oc,s as qg,a as K8,H as Ap,r as ml,j as W,F as Ug,y as ua,M as Wg,c as Gg,z as Y8,N as Fp,p as Z8}from"./index-BoIHHXGu.js";import{O as Kg,P as J8}from"./index-BriWrUx_.js";import{y as _p,g as hs}from"./index-CHGET4sZ.js";import{d as X8}from"./index-DrFu-skq.js";var Q8=Object.create,gl=Object.defineProperty,eE=Object.getOwnPropertyDescriptor,tE=Object.getOwnPropertyNames,rE=Object.getPrototypeOf,nE=Object.prototype.hasOwnProperty,s=(e,t)=>gl(e,"name",{value:t,configurable:!0}),Lo=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),B=(e,t)=>()=>(e&&(t=e(e=0)),t),H=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Yn=(e,t)=>{for(var r in t)gl(e,r,{get:t[r],enumerable:!0})},aE=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of tE(t))!nE.call(e,a)&&a!==r&&gl(e,a,{get:()=>t[a],enumerable:!(n=eE(t,a))||n.enumerable});return e},me=(e,t,r)=>(r=e!=null?Q8(rE(e)):{},aE(t||!e||!e.__esModule?gl(r,"default",{value:e,enumerable:!0}):r,e));function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t{s(G,"_extends")});function Yg(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var oE=B(()=>{s(Yg,"_assertThisInitialized")});function On(e,t){return On=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},On(e,t)}var Ad=B(()=>{s(On,"_setPrototypeOf")});function Bi(e){return Bi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Bi(e)}var iE=B(()=>{s(Bi,"_getPrototypeOf")}),vl,Fd=B(()=>{vl=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()}),yl=H((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return s(function r(n,a,o){function l(d,p){if(!a[d]){if(!n[d]){var g=typeof Lo=="function"&&Lo;if(!p&&g)return g(d,!0);if(u)return u(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(y){var m=n[d][1][y];return l(m||y)},f,f.exports,r,n,a,o)}return a[d].exports}s(l,"s");for(var u=typeof Lo=="function"&&Lo,c=0;c=0)return this.lastItem=this.list[u],this.list[u].val},o.prototype.set=function(l,u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=u,this):(c=this.indexOf(l),c>=0?(this.lastItem=this.list[c],this.list[c].val=u,this):(this.lastItem={key:l,val:u},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(l){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),u=this.indexOf(l),u>=0)return this.size--,this.list.splice(u,1)[0]},o.prototype.has=function(l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],!0):!1)},o.prototype.forEach=function(l,u){var c;for(c=0;c0&&(D[x]={cacheItem:y,arg:arguments[x]},E?l(g,D):g.push(D),g.length>d&&u(g.shift())),f.wasMemoized=E,f.numArgs=x+1,w},"memoizerific");return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=g,f}};function l(d,p){var g=d.length,h=p.length,f,y,m;for(y=0;y=0&&(g=d[f],h=g.cacheItem.get(g.arg),!h||!h.size);f--)g.cacheItem.delete(g.arg)}s(u,"removeCachedResult");function c(d,p){return d===p||d!==d&&p!==p}s(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function bl(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}var _d=B(()=>{s(bl,"_objectWithoutPropertiesLoose")});function Zg(e,t){if(e==null)return{};var r,n,a=bl(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0||{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}var lE=B(()=>{_d(),s(Zg,"_objectWithoutProperties")});function zi(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{s(zi,"_arrayLikeToArray")});function Xg(e){if(Array.isArray(e))return zi(e)}var sE=B(()=>{Jg(),s(Xg,"_arrayWithoutHoles")});function Qg(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}var uE=B(()=>{s(Qg,"_iterableToArray")});function ev(e,t){if(e){if(typeof e=="string")return zi(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zi(e,t):void 0}}var cE=B(()=>{Jg(),s(ev,"_unsupportedIterableToArray")});function tv(){throw new TypeError(`Invalid attempt to spread non-iterable instance. -In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var dE=B(()=>{s(tv,"_nonIterableSpread")});function rv(e){return Xg(e)||Qg(e)||ev(e)||tv()}var pE=B(()=>{sE(),uE(),cE(),dE(),s(rv,"_toConsumableArray")});function Pn(e){"@babel/helpers - typeof";return Pn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Pn(e)}var nv=B(()=>{s(Pn,"_typeof")});function av(e,t){if(Pn(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Pn(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var fE=B(()=>{nv(),s(av,"toPrimitive")});function ov(e){var t=av(e,"string");return Pn(t)=="symbol"?t:t+""}var hE=B(()=>{nv(),fE(),s(ov,"toPropertyKey")});function Id(e,t,r){return(t=ov(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var iv=B(()=>{hE(),s(Id,"_defineProperty")});function Pc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ir(e){for(var t=1;t=4)return[e[0],e[1],e[2],e[3],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[2],".").concat(e[3]),"".concat(e[3],".").concat(e[0]),"".concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[0]),"".concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2],".").concat(e[3]),"".concat(e[0],".").concat(e[1],".").concat(e[3],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1],".").concat(e[3]),"".concat(e[0],".").concat(e[2],".").concat(e[3],".").concat(e[1]),"".concat(e[0],".").concat(e[3],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[3],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2],".").concat(e[3]),"".concat(e[1],".").concat(e[0],".").concat(e[3],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0],".").concat(e[3]),"".concat(e[1],".").concat(e[2],".").concat(e[3],".").concat(e[0]),"".concat(e[1],".").concat(e[3],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[3],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1],".").concat(e[3]),"".concat(e[2],".").concat(e[0],".").concat(e[3],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0],".").concat(e[3]),"".concat(e[2],".").concat(e[1],".").concat(e[3],".").concat(e[0]),"".concat(e[2],".").concat(e[3],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[3],".").concat(e[1],".").concat(e[0]),"".concat(e[3],".").concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[3],".").concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[3],".").concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[3],".").concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[3],".").concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[3],".").concat(e[2],".").concat(e[1],".").concat(e[0])]}function sv(e){if(e.length===0||e.length===1)return e;var t=e.join(".");return pi[t]||(pi[t]=lv(e)),pi[t]}function uv(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=e.filter(function(o){return o!=="token"}),a=sv(n);return a.reduce(function(o,l){return Ir(Ir({},o),r[l])},t)}function Nc(e){return e.join(" ")}function cv(e,t){var r=0;return function(n){return r+=1,n.map(function(a,o){return wl({node:a,stylesheet:e,useInlineStyles:t,key:"code-segment-".concat(r,"-").concat(o)})})}}function wl(e){var t=e.node,r=e.stylesheet,n=e.style,a=n===void 0?{}:n,o=e.useInlineStyles,l=e.key,u=t.properties,c=t.type,d=t.tagName,p=t.value;if(c==="text")return p;if(d){var g=cv(r,o),h;if(!o)h=Ir(Ir({},u),{},{className:Nc(u.className)});else{var f=Object.keys(r).reduce(function(x,D){return D.split(".").forEach(function(E){x.includes(E)||x.push(E)}),x},[]),y=u.className&&u.className.includes("token")?["token"]:[],m=u.className&&y.concat(u.className.filter(function(x){return!f.includes(x)}));h=Ir(Ir({},u),{},{className:Nc(m)||void 0,style:uv(u.className,Object.assign({},u.style,a),r)})}var w=g(t.children);return v.createElement(d,G({key:l},h),w)}}var pi,dv=B(()=>{rt(),iv(),s(Pc,"ownKeys"),s(Ir,"_objectSpread"),s(lv,"powerSetPermutations"),pi={},s(sv,"getClassNameCombinations"),s(uv,"createStyleObject"),s(Nc,"createClassNameString"),s(cv,"createChildren"),s(wl,"createElement")}),pv,mE=B(()=>{pv=s(function(e,t){var r=e.listLanguages();return r.indexOf(t)!==-1},"default")});function Hc(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),r.push.apply(r,n)}return r}function Ke(e){for(var t=1;t1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n2&&arguments[2]!==void 0?arguments[2]:[];return Na({children:C,lineNumber:S,lineNumberStyle:u,largestLineNumber:l,showInlineLineNumbers:a,lineProps:r,className:A,showLineNumbers:n,wrapLongLines:c})}s(y,"createWrappedLine");function m(C,S){if(n&&S&&a){var A=Bd(u,S,l);C.unshift(Rd(S,A))}return C}s(m,"createUnwrappedLine");function w(C,S){var A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||A.length>0?y(C,S,A):m(C,S)}s(w,"createLine");for(var x=s(function(){var C=p[f],S=C.children[0].value,A=fv(S);if(A){var k=S.split(` -`);k.forEach(function(_,I){var R=n&&g.length+o,z={type:"text",value:"".concat(_,` -`)};if(I===0){var T=p.slice(h+1,f).concat(Na({children:[z],className:C.properties.className})),M=w(T,R);g.push(M)}else if(I===k.length-1){var L=p[f+1]&&p[f+1].children&&p[f+1].children[0],O={type:"text",value:"".concat(_)};if(L){var N=Na({children:[O],className:C.properties.className});p.splice(f+1,0,N)}else{var $=[O],j=w($,R,C.properties.className);g.push(j)}}else{var U=[z],Z=w(U,R,C.properties.className);g.push(Z)}}),h=f}f++},"_loop");f{lE(),pE(),iv(),dv(),mE(),Ev=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],s(Hc,"ownKeys"),s(Ke,"_objectSpread"),Dv=/\n/g,s(fv,"getNewLines"),s(hv,"getAllLineNumbers"),s(mv,"AllLineNumbers"),s(gv,"getEmWidthOfNumber"),s(Rd,"getInlineLineNumber"),s(Bd,"assembleLineNumberStyles"),s(Na,"createLineElement"),s(zd,"flattenCodeTree"),s(vv,"processLines"),s(yv,"defaultRenderer"),s(Td,"isHighlightJs"),s(bv,"getCodeTree"),s(wv,"default")}),vE=H((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,l){this.property=a,this.normal=o,l&&(this.space=l)}s(n,"Schema")}),yE=H((e,t)=>{var r=vE(),n=xv();t.exports=a;function a(o){for(var l=o.length,u=[],c=[],d=-1,p,g;++d{t.exports=r;function r(n){return n.toLowerCase()}s(r,"normalize")}),Cv=H((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.attribute=null,r.property=null,r.boolean=!1,r.booleanish=!1,r.overloadedBoolean=!1,r.number=!1,r.commaSeparated=!1,r.spaceSeparated=!1,r.commaOrSpaceSeparated=!1,r.mustUseProperty=!1,r.defined=!1;function n(a,o){this.property=a,this.attribute=o}s(n,"Info")}),Md=H(e=>{var t=0;e.boolean=r(),e.booleanish=r(),e.overloadedBoolean=r(),e.number=r(),e.spaceSeparated=r(),e.commaSeparated=r(),e.commaOrSpaceSeparated=r();function r(){return Math.pow(2,++t)}s(r,"increment")}),Sv=H((e,t)=>{var r=Cv(),n=Md();t.exports=l,l.prototype=new r,l.prototype.defined=!0;var a=["boolean","booleanish","overloadedBoolean","number","commaSeparated","spaceSeparated","commaOrSpaceSeparated"],o=a.length;function l(c,d,p,g){var h=-1,f;for(u(this,"space",g),r.call(this,c,d);++h{var r=Ld(),n=xv(),a=Sv();t.exports=o;function o(l){var u=l.space,c=l.mustUseProperty||[],d=l.attributes||{},p=l.properties,g=l.transform,h={},f={},y,m;for(y in p)m=new a(y,g(d,y),p[y],u),c.indexOf(y)!==-1&&(m.mustUseProperty=!0),h[y]=m,f[r(y)]=y,f[r(m.attribute)]=y;return new n(h,f,u)}s(o,"create")}),bE=H((e,t)=>{var r=po();t.exports=r({space:"xlink",transform:n,properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null}});function n(a,o){return"xlink:"+o.slice(5).toLowerCase()}s(n,"xlinkTransform")}),wE=H((e,t)=>{var r=po();t.exports=r({space:"xml",transform:n,properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function n(a,o){return"xml:"+o.slice(3).toLowerCase()}s(n,"xmlTransform")}),EE=H((e,t)=>{t.exports=r;function r(n,a){return a in n?n[a]:a}s(r,"caseSensitiveTransform")}),kv=H((e,t)=>{var r=EE();t.exports=n;function n(a,o){return r(a,o.toLowerCase())}s(n,"caseInsensitiveTransform")}),DE=H((e,t)=>{var r=po(),n=kv();t.exports=r({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:n,properties:{xmlns:null,xmlnsXLink:null}})}),xE=H((e,t)=>{var r=Md(),n=po(),a=r.booleanish,o=r.number,l=r.spaceSeparated;t.exports=n({transform:u,properties:{ariaActiveDescendant:null,ariaAtomic:a,ariaAutoComplete:null,ariaBusy:a,ariaChecked:a,ariaColCount:o,ariaColIndex:o,ariaColSpan:o,ariaControls:l,ariaCurrent:null,ariaDescribedBy:l,ariaDetails:null,ariaDisabled:a,ariaDropEffect:l,ariaErrorMessage:null,ariaExpanded:a,ariaFlowTo:l,ariaGrabbed:a,ariaHasPopup:null,ariaHidden:a,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:l,ariaLevel:o,ariaLive:null,ariaModal:a,ariaMultiLine:a,ariaMultiSelectable:a,ariaOrientation:null,ariaOwns:l,ariaPlaceholder:null,ariaPosInSet:o,ariaPressed:a,ariaReadOnly:a,ariaRelevant:null,ariaRequired:a,ariaRoleDescription:l,ariaRowCount:o,ariaRowIndex:o,ariaRowSpan:o,ariaSelected:a,ariaSetSize:o,ariaSort:null,ariaValueMax:o,ariaValueMin:o,ariaValueNow:o,ariaValueText:null,role:null}});function u(c,d){return d==="role"?d:"aria-"+d.slice(4).toLowerCase()}s(u,"ariaTransform")}),CE=H((e,t)=>{var r=Md(),n=po(),a=kv(),o=r.boolean,l=r.overloadedBoolean,u=r.booleanish,c=r.number,d=r.spaceSeparated,p=r.commaSeparated;t.exports=n({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:a,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:p,acceptCharset:d,accessKey:d,action:null,allow:null,allowFullScreen:o,allowPaymentRequest:o,allowUserMedia:o,alt:null,as:null,async:o,autoCapitalize:null,autoComplete:d,autoFocus:o,autoPlay:o,capture:o,charSet:null,checked:o,cite:null,className:d,cols:c,colSpan:null,content:null,contentEditable:u,controls:o,controlsList:d,coords:c|p,crossOrigin:null,data:null,dateTime:null,decoding:null,default:o,defer:o,dir:null,dirName:null,disabled:o,download:l,draggable:u,encType:null,enterKeyHint:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:o,formTarget:null,headers:d,height:c,hidden:o,high:c,href:null,hrefLang:null,htmlFor:d,httpEquiv:d,id:null,imageSizes:null,imageSrcSet:p,inputMode:null,integrity:null,is:null,isMap:o,itemId:null,itemProp:d,itemRef:d,itemScope:o,itemType:d,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:o,low:c,manifest:null,max:null,maxLength:c,media:null,method:null,min:null,minLength:c,multiple:o,muted:o,name:null,nonce:null,noModule:o,noValidate:o,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforePrint:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextMenu:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:o,optimum:c,pattern:null,ping:d,placeholder:null,playsInline:o,poster:null,preload:null,readOnly:o,referrerPolicy:null,rel:d,required:o,reversed:o,rows:c,rowSpan:c,sandbox:d,scope:null,scoped:o,seamless:o,selected:o,shape:null,size:c,sizes:null,slot:null,span:c,spellCheck:u,src:null,srcDoc:null,srcLang:null,srcSet:p,start:c,step:null,style:null,tabIndex:c,target:null,title:null,translate:null,type:null,typeMustMatch:o,useMap:null,value:u,width:c,wrap:null,align:null,aLink:null,archive:d,axis:null,background:null,bgColor:null,border:c,borderColor:null,bottomMargin:c,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:o,declare:o,event:null,face:null,frame:null,frameBorder:null,hSpace:c,leftMargin:c,link:null,longDesc:null,lowSrc:null,marginHeight:c,marginWidth:c,noResize:o,noHref:o,noShade:o,noWrap:o,object:null,profile:null,prompt:null,rev:null,rightMargin:c,rules:null,scheme:null,scrolling:u,standby:null,summary:null,text:null,topMargin:c,valueType:null,version:null,vAlign:null,vLink:null,vSpace:c,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:o,disableRemotePlayback:o,prefix:null,property:null,results:c,security:null,unselectable:null}})}),SE=H((e,t)=>{var r=yE(),n=bE(),a=wE(),o=DE(),l=xE(),u=CE();t.exports=r([a,n,o,l,u])}),kE=H((e,t)=>{var r=Ld(),n=Sv(),a=Cv(),o="data";t.exports=d;var l=/^data[-\w.:]+$/i,u=/-[a-z]/g,c=/[A-Z]/g;function d(y,m){var w=r(m),x=m,D=a;return w in y.normal?y.property[y.normal[w]]:(w.length>4&&w.slice(0,4)===o&&l.test(m)&&(m.charAt(4)==="-"?x=p(m):m=g(m),D=n),new D(x,m))}s(d,"find");function p(y){var m=y.slice(5).replace(u,f);return o+m.charAt(0).toUpperCase()+m.slice(1)}s(p,"datasetToProperty");function g(y){var m=y.slice(4);return u.test(m)?y:(m=m.replace(c,h),m.charAt(0)!=="-"&&(m="-"+m),o+m)}s(g,"datasetToAttribute");function h(y){return"-"+y.toLowerCase()}s(h,"kebab");function f(y){return y.charAt(1).toUpperCase()}s(f,"camelcase")}),AE=H((e,t)=>{t.exports=n;var r=/[#.]/g;function n(a,o){for(var l=a||"",u=o||"div",c={},d=0,p,g,h;d{e.parse=a,e.stringify=o;var t="",r=" ",n=/[ \t\n\r\f]+/g;function a(l){var u=String(l||t).trim();return u===t?[]:u.split(n)}s(a,"parse");function o(l){return l.join(r).trim()}s(o,"stringify")}),_E=H(e=>{e.parse=a,e.stringify=o;var t=",",r=" ",n="";function a(l){for(var u=[],c=String(l||n),d=c.indexOf(t),p=0,g=!1,h;!g;)d===-1&&(d=c.length,g=!0),h=c.slice(p,d).trim(),(h||!g)&&u.push(h),p=d+1,d=c.indexOf(t,p);return u}s(a,"parse");function o(l,u){var c=u||{},d=c.padLeft===!1?n:r,p=c.padRight?r:n;return l[l.length-1]===n&&(l=l.concat(n)),l.join(p+t+d).trim()}s(o,"stringify")}),IE=H((e,t)=>{var r=kE(),n=Ld(),a=AE(),o=FE().parse,l=_E().parse;t.exports=c;var u={}.hasOwnProperty;function c(w,x,D){var E=D?m(D):null;return b;function b(S,A){var k=a(S,x),_=Array.prototype.slice.call(arguments,2),I=k.tagName.toLowerCase(),R;if(k.tagName=E&&u.call(E,I)?E[I]:I,A&&d(A,k)&&(_.unshift(A),A=null),A)for(R in A)C(k.properties,R,A[R]);return g(k.children,_),k.tagName==="template"&&(k.content={type:"root",children:k.children},k.children=[]),k}function C(S,A,k){var _,I,R;k==null||k!==k||(_=r(w,A),I=_.property,R=k,typeof R=="string"&&(_.spaceSeparated?R=o(R):_.commaSeparated?R=l(R):_.commaOrSpaceSeparated&&(R=o(l(R).join(" ")))),I==="style"&&typeof k!="string"&&(R=y(R)),I==="className"&&S.className&&(R=S.className.concat(R)),S[I]=h(_,I,R))}}s(c,"factory");function d(w,x){return typeof w=="string"||"length"in w||p(x.tagName,w)}s(d,"isChildren");function p(w,x){var D=x.type;return w==="input"||!D||typeof D!="string"?!1:typeof x.children=="object"&&"length"in x.children?!0:(D=D.toLowerCase(),w==="button"?D!=="menu"&&D!=="submit"&&D!=="reset"&&D!=="button":"value"in x)}s(p,"isNode");function g(w,x){var D,E;if(typeof x=="string"||typeof x=="number"){w.push({type:"text",value:String(x)});return}if(typeof x=="object"&&"length"in x){for(D=-1,E=x.length;++D{var r=SE(),n=IE(),a=n(r,"div");a.displayName="html",t.exports=a}),BE=H((e,t)=>{t.exports=RE()}),zE=H((e,t)=>{t.exports={AElig:"Æ",AMP:"&",Aacute:"Á",Acirc:"Â",Agrave:"À",Aring:"Å",Atilde:"Ã",Auml:"Ä",COPY:"©",Ccedil:"Ç",ETH:"Ð",Eacute:"É",Ecirc:"Ê",Egrave:"È",Euml:"Ë",GT:">",Iacute:"Í",Icirc:"Î",Igrave:"Ì",Iuml:"Ï",LT:"<",Ntilde:"Ñ",Oacute:"Ó",Ocirc:"Ô",Ograve:"Ò",Oslash:"Ø",Otilde:"Õ",Ouml:"Ö",QUOT:'"',REG:"®",THORN:"Þ",Uacute:"Ú",Ucirc:"Û",Ugrave:"Ù",Uuml:"Ü",Yacute:"Ý",aacute:"á",acirc:"â",acute:"´",aelig:"æ",agrave:"à",amp:"&",aring:"å",atilde:"ã",auml:"ä",brvbar:"¦",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",ecirc:"ê",egrave:"è",eth:"ð",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",iacute:"í",icirc:"î",iexcl:"¡",igrave:"ì",iquest:"¿",iuml:"ï",laquo:"«",lt:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",oacute:"ó",ocirc:"ô",ograve:"ò",ordf:"ª",ordm:"º",oslash:"ø",otilde:"õ",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',raquo:"»",reg:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",times:"×",uacute:"ú",ucirc:"û",ugrave:"ù",uml:"¨",uuml:"ü",yacute:"ý",yen:"¥",yuml:"ÿ"}}),TE=H((e,t)=>{t.exports={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"}}),Av=H((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=48&&a<=57}s(r,"decimal")}),LE=H((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=102||a>=65&&a<=70||a>=48&&a<=57}s(r,"hexadecimal")}),ME=H((e,t)=>{t.exports=r;function r(n){var a=typeof n=="string"?n.charCodeAt(0):n;return a>=97&&a<=122||a>=65&&a<=90}s(r,"alphabetical")}),OE=H((e,t)=>{var r=ME(),n=Av();t.exports=a;function a(o){return r(o)||n(o)}s(a,"alphanumerical")}),PE=H((e,t)=>{var r,n=59;t.exports=a;function a(o){var l="&"+o+";",u;return r=r||document.createElement("i"),r.innerHTML=l,u=r.textContent,u.charCodeAt(u.length-1)===n&&o!=="semi"||u===l?!1:u}s(a,"decodeEntity")}),NE=H((e,t)=>{var r=zE(),n=TE(),a=Av(),o=LE(),l=OE(),u=PE();t.exports=Z;var c={}.hasOwnProperty,d=String.fromCharCode,p=Function.prototype,g={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},h=9,f=10,y=12,m=32,w=38,x=59,D=60,E=61,b=35,C=88,S=120,A=65533,k="named",_="hexadecimal",I="decimal",R={};R[_]=16,R[I]=10;var z={};z[k]=l,z[I]=a,z[_]=o;var T=1,M=2,L=3,O=4,N=5,$=6,j=7,U={};U[T]="Named character references must be terminated by a semicolon",U[M]="Numeric character references must be terminated by a semicolon",U[L]="Named character references cannot be empty",U[O]="Numeric character references cannot be empty",U[N]="Named character references must be known",U[$]="Numeric character references cannot be disallowed",U[j]="Numeric character references cannot be outside the permissible Unicode range";function Z(P,K){var J={},ge,Ie;K||(K={});for(Ie in g)ge=K[Ie],J[Ie]=ge??g[Ie];return(J.position.indent||J.position.start)&&(J.indent=J.position.indent||[],J.position=J.position.start),te(P,J)}s(Z,"parseEntities");function te(P,K){var J=K.additional,ge=K.nonTerminated,Ie=K.text,hr=K.reference,it=K.warning,Vt=K.textContext,nn=K.referenceContext,mr=K.warningContext,oa=K.position,Ro=K.indent||[],an=P.length,lt=0,Bo=-1,Ee=oa.column||1,gr=oa.line||1,st="",on=[],ut,ln,ct,ve,qe,de,oe,dt,zo,ps,vr,ia,yr,_t,xp,la,To,pt,pe;for(typeof J=="string"&&(J=J.charCodeAt(0)),la=sa(),dt=it?U8:p,lt--,an++;++lt65535&&(de-=65536,ps+=d(de>>>10|55296),de=56320|de&1023),de=ps+d(de))):_t!==k&&dt(O,pt)),de?(Cp(),la=sa(),lt=pe-1,Ee+=pe-yr+1,on.push(de),To=sa(),To.offset++,hr&&hr.call(nn,de,{start:la,end:To},P.slice(yr-1,pe)),la=To):(ve=P.slice(yr-1,pe),st+=ve,Ee+=ve.length,lt=pe-1)}else qe===10&&(gr++,Bo++,Ee=0),qe===qe?(st+=d(qe),Ee++):Cp();return on.join("");function sa(){return{line:gr,column:Ee,offset:lt+(oa.offset||0)}}function U8(Sp,kp){var fs=sa();fs.column+=kp,fs.offset+=kp,it.call(mr,U[Sp],fs,Sp)}function Cp(){st&&(on.push(st),Ie&&Ie.call(Vt,st,{start:la,end:sa()}),st="")}}s(te,"parse");function Y(P){return P>=55296&&P<=57343||P>1114111}s(Y,"prohibited");function ae(P){return P>=1&&P<=8||P===11||P>=13&&P<=31||P>=127&&P<=159||P>=64976&&P<=65007||(P&65535)===65535||(P&65535)===65534}s(ae,"disallowed")}),HE=H((e,t)=>{var r=typeof window<"u"?window:typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope?self:{},n=function(a){var o=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,l=0,u={},c={manual:a.Prism&&a.Prism.manual,disableWorkerMessageHandler:a.Prism&&a.Prism.disableWorkerMessageHandler,util:{encode:s(function E(b){return b instanceof d?new d(b.type,E(b.content),b.alias):Array.isArray(b)?b.map(E):b.replace(/&/g,"&").replace(/"u")return null;if("currentScript"in document)return document.currentScript;try{throw new Error}catch(S){var E=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(S.stack)||[])[1];if(E){var b=document.getElementsByTagName("script");for(var C in b)if(b[C].src==E)return b[C]}return null}},"currentScript"),isActive:s(function(E,b,C){for(var S="no-"+b;E;){var A=E.classList;if(A.contains(b))return!0;if(A.contains(S))return!1;E=E.parentElement}return!!C},"isActive")},languages:{plain:u,plaintext:u,text:u,txt:u,extend:s(function(E,b){var C=c.util.clone(c.languages[E]);for(var S in b)C[S]=b[S];return C},"extend"),insertBefore:s(function(E,b,C,S){S=S||c.languages;var A=S[E],k={};for(var _ in A)if(A.hasOwnProperty(_)){if(_==b)for(var I in C)C.hasOwnProperty(I)&&(k[I]=C[I]);C.hasOwnProperty(_)||(k[_]=A[_])}var R=S[E];return S[E]=k,c.languages.DFS(c.languages,function(z,T){T===R&&z!=E&&(this[z]=k)}),k},"insertBefore"),DFS:s(function E(b,C,S,A){A=A||{};var k=c.util.objId;for(var _ in b)if(b.hasOwnProperty(_)){C.call(b,_,b[_],S||_);var I=b[_],R=c.util.type(I);R==="Object"&&!A[k(I)]?(A[k(I)]=!0,E(I,C,null,A)):R==="Array"&&!A[k(I)]&&(A[k(I)]=!0,E(I,C,_,A))}},"DFS")},plugins:{},highlightAll:s(function(E,b){c.highlightAllUnder(document,E,b)},"highlightAll"),highlightAllUnder:s(function(E,b,C){var S={callback:C,container:E,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};c.hooks.run("before-highlightall",S),S.elements=Array.prototype.slice.apply(S.container.querySelectorAll(S.selector)),c.hooks.run("before-all-elements-highlight",S);for(var A=0,k;k=S.elements[A++];)c.highlightElement(k,b===!0,S.callback)},"highlightAllUnder"),highlightElement:s(function(E,b,C){var S=c.util.getLanguage(E),A=c.languages[S];c.util.setLanguage(E,S);var k=E.parentElement;k&&k.nodeName.toLowerCase()==="pre"&&c.util.setLanguage(k,S);var _=E.textContent,I={element:E,language:S,grammar:A,code:_};function R(T){I.highlightedCode=T,c.hooks.run("before-insert",I),I.element.innerHTML=I.highlightedCode,c.hooks.run("after-highlight",I),c.hooks.run("complete",I),C&&C.call(I.element)}if(s(R,"insertHighlightedCode"),c.hooks.run("before-sanity-check",I),k=I.element.parentElement,k&&k.nodeName.toLowerCase()==="pre"&&!k.hasAttribute("tabindex")&&k.setAttribute("tabindex","0"),!I.code){c.hooks.run("complete",I),C&&C.call(I.element);return}if(c.hooks.run("before-highlight",I),!I.grammar){R(c.util.encode(I.code));return}if(b&&a.Worker){var z=new Worker(c.filename);z.onmessage=function(T){R(T.data)},z.postMessage(JSON.stringify({language:I.language,code:I.code,immediateClose:!0}))}else R(c.highlight(I.code,I.grammar,I.language))},"highlightElement"),highlight:s(function(E,b,C){var S={code:E,grammar:b,language:C};if(c.hooks.run("before-tokenize",S),!S.grammar)throw new Error('The language "'+S.language+'" has no grammar.');return S.tokens=c.tokenize(S.code,S.grammar),c.hooks.run("after-tokenize",S),d.stringify(c.util.encode(S.tokens),S.language)},"highlight"),tokenize:s(function(E,b){var C=b.rest;if(C){for(var S in C)b[S]=C[S];delete b.rest}var A=new h;return f(A,A.head,E),g(E,A,b,A.head,0),m(A)},"tokenize"),hooks:{all:{},add:s(function(E,b){var C=c.hooks.all;C[E]=C[E]||[],C[E].push(b)},"add"),run:s(function(E,b){var C=c.hooks.all[E];if(!(!C||!C.length))for(var S=0,A;A=C[S++];)A(b)},"run")},Token:d};a.Prism=c;function d(E,b,C,S){this.type=E,this.content=b,this.alias=C,this.length=(S||"").length|0}s(d,"Token"),d.stringify=s(function E(b,C){if(typeof b=="string")return b;if(Array.isArray(b)){var S="";return b.forEach(function(R){S+=E(R,C)}),S}var A={type:b.type,content:E(b.content,C),tag:"span",classes:["token",b.type],attributes:{},language:C},k=b.alias;k&&(Array.isArray(k)?Array.prototype.push.apply(A.classes,k):A.classes.push(k)),c.hooks.run("wrap",A);var _="";for(var I in A.attributes)_+=" "+I+'="'+(A.attributes[I]||"").replace(/"/g,""")+'"';return"<"+A.tag+' class="'+A.classes.join(" ")+'"'+_+">"+A.content+""},"stringify");function p(E,b,C,S){E.lastIndex=b;var A=E.exec(C);if(A&&S&&A[1]){var k=A[1].length;A.index+=k,A[0]=A[0].slice(k)}return A}s(p,"matchPattern");function g(E,b,C,S,A,k){for(var _ in C)if(!(!C.hasOwnProperty(_)||!C[_])){var I=C[_];I=Array.isArray(I)?I:[I];for(var R=0;R=k.reach);U+=j.value.length,j=j.next){var Z=j.value;if(b.length>E.length)return;if(!(Z instanceof d)){var te=1,Y;if(L){if(Y=p($,U,E,M),!Y||Y.index>=E.length)break;var J=Y.index,ae=Y.index+Y[0].length,P=U;for(P+=j.value.length;J>=P;)j=j.next,P+=j.value.length;if(P-=j.value.length,U=P,j.value instanceof d)continue;for(var K=j;K!==b.tail&&(Pk.reach&&(k.reach=it);var Vt=j.prev;Ie&&(Vt=f(b,Vt,Ie),U+=Ie.length),y(b,Vt,te);var nn=new d(_,T?c.tokenize(ge,T):ge,O,ge);if(j=f(b,Vt,nn),hr&&f(b,j,hr),te>1){var mr={cause:_+","+R,reach:it};g(E,b,C,j.prev,U,mr),k&&mr.reach>k.reach&&(k.reach=mr.reach)}}}}}}s(g,"matchGrammar");function h(){var E={value:null,prev:null,next:null},b={value:null,prev:E,next:null};E.next=b,this.head=E,this.tail=b,this.length=0}s(h,"LinkedList");function f(E,b,C){var S=b.next,A={value:C,prev:b,next:S};return b.next=A,S.prev=A,E.length++,A}s(f,"addAfter");function y(E,b,C){for(var S=b.next,A=0;A{t.exports=r,r.displayName="markup",r.aliases=["html","mathml","svg","xml","ssml","atom","rss"];function r(n){n.languages.markup={comment:{pattern://,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern://i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},n.languages.markup.tag.inside["attr-value"].inside.entity=n.languages.markup.entity,n.languages.markup.doctype.inside["internal-subset"].inside=n.languages.markup,n.hooks.add("wrap",function(a){a.type==="entity"&&(a.attributes.title=a.content.value.replace(/&/,"&"))}),Object.defineProperty(n.languages.markup.tag,"addInlined",{value:s(function(a,o){var l={};l["language-"+o]={pattern:/(^$)/i,lookbehind:!0,inside:n.languages[o]},l.cdata=/^$/i;var u={"included-cdata":{pattern://i,inside:l}};u["language-"+o]={pattern:/[\s\S]+/,inside:n.languages[o]};var c={};c[a]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,function(){return a}),"i"),lookbehind:!0,greedy:!0,inside:u},n.languages.insertBefore("markup","cdata",c)},"addInlined")}),Object.defineProperty(n.languages.markup.tag,"addAttribute",{value:s(function(a,o){n.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+a+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[o,"language-"+o],inside:n.languages[o]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})},"value")}),n.languages.html=n.languages.markup,n.languages.mathml=n.languages.markup,n.languages.svg=n.languages.markup,n.languages.xml=n.languages.extend("markup",{}),n.languages.ssml=n.languages.xml,n.languages.atom=n.languages.xml,n.languages.rss=n.languages.xml}s(r,"markup")}),_v=H((e,t)=>{t.exports=r,r.displayName="css",r.aliases=[];function r(n){(function(a){var o=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;a.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+o.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+o.source+"$"),alias:"url"}}},selector:{pattern:RegExp(`(^|[{}\\s])[^{}\\s](?:[^{};"'\\s]|\\s+(?![\\s{])|`+o.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:o,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},a.languages.css.atrule.inside.rest=a.languages.css;var l=a.languages.markup;l&&(l.tag.addInlined("style","css"),l.tag.addAttribute("style","css"))})(n)}s(r,"css")}),$E=H((e,t)=>{t.exports=r,r.displayName="clike",r.aliases=[];function r(n){n.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}s(r,"clike")}),jE=H((e,t)=>{t.exports=r,r.displayName="javascript",r.aliases=["js"];function r(n){n.languages.javascript=n.languages.extend("clike",{"class-name":[n.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+(/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source)+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),n.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,n.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:n.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:n.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:n.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:n.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:n.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),n.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:n.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),n.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),n.languages.markup&&(n.languages.markup.tag.addInlined("script","javascript"),n.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),n.languages.js=n.languages.javascript}s(r,"javascript")}),VE=H((e,t)=>{var r=typeof globalThis=="object"?globalThis:typeof self=="object"?self:typeof window=="object"?window:typeof global=="object"?global:{},n=A();r.Prism={manual:!0,disableWorkerMessageHandler:!0};var a=BE(),o=NE(),l=HE(),u=Fv(),c=_v(),d=$E(),p=jE();n();var g={}.hasOwnProperty;function h(){}s(h,"Refractor"),h.prototype=l;var f=new h;t.exports=f,f.highlight=w,f.register=y,f.alias=m,f.registered=x,f.listLanguages=D,y(u),y(c),y(d),y(p),f.util.encode=C,f.Token.stringify=E;function y(k){if(typeof k!="function"||!k.displayName)throw new Error("Expected `function` for `grammar`, got `"+k+"`");f.languages[k.displayName]===void 0&&k(f)}s(y,"register");function m(k,_){var I=f.languages,R=k,z,T,M,L;_&&(R={},R[k]=_);for(z in R)for(T=R[z],T=typeof T=="string"?[T]:T,M=T.length,L=-1;++L{gE(),Mo=me(VE()),Oo=wv(Mo.default,{}),Oo.registerLanguage=function(e,t){return Mo.default.register(t)},Oo.alias=function(e,t){return Mo.default.alias(e,t)},fi=Oo}),UE=B(()=>{dv()}),WE=H((e,t)=>{t.exports=r,r.displayName="bash",r.aliases=["shell"];function r(n){(function(a){var o="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",l={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},u={bash:l,environment:{pattern:RegExp("\\$"+o),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+o),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};a.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+o),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:u},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:l}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:u},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:u.entity}}],environment:{pattern:RegExp("\\$?"+o),alias:"constant"},variable:u.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},l.inside=a.languages.bash;for(var c=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],d=u.variable[1].inside,p=0;p{Ip=me(WE()),Iv=Ip.default}),Rp,Rv,KE=B(()=>{Rp=me(_v()),Rv=Rp.default}),YE=H((e,t)=>{t.exports=r,r.displayName="graphql",r.aliases=[];function r(n){n.languages.graphql={comment:/#.*/,description:{pattern:/(?:"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*")(?=\s*[a-z_])/i,greedy:!0,alias:"string",inside:{"language-markdown":{pattern:/(^"(?:"")?)(?!\1)[\s\S]+(?=\1$)/,lookbehind:!0,inside:n.languages.markdown}}},string:{pattern:/"""(?:[^"]|(?!""")")*"""|"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,boolean:/\b(?:false|true)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":{pattern:/\b[a-z_]\w*(?=\s*(?:\((?:[^()"]|"(?:\\.|[^\\"\r\n])*")*\))?:)/i,greedy:!0},"atom-input":{pattern:/\b[A-Z]\w*Input\b/,alias:"class-name"},scalar:/\b(?:Boolean|Float|ID|Int|String)\b/,constant:/\b[A-Z][A-Z_\d]*\b/,"class-name":{pattern:/(\b(?:enum|implements|interface|on|scalar|type|union)\s+|&\s*|:\s*|\[)[A-Z_]\w*/,lookbehind:!0},fragment:{pattern:/(\bfragment\s+|\.{3}\s*(?!on\b))[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-mutation":{pattern:/(\bmutation\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},"definition-query":{pattern:/(\bquery\s+)[a-zA-Z_]\w*/,lookbehind:!0,alias:"function"},keyword:/\b(?:directive|enum|extend|fragment|implements|input|interface|mutation|on|query|repeatable|scalar|schema|subscription|type|union)\b/,operator:/[!=|&]|\.{3}/,"property-query":/\w+(?=\s*\()/,object:/\w+(?=\s*\{)/,punctuation:/[!(){}\[\]:=,]/,property:/\w+/},n.hooks.add("after-tokenize",s(function(a){if(a.language!=="graphql")return;var o=a.tokens.filter(function(D){return typeof D!="string"&&D.type!=="comment"&&D.type!=="scalar"}),l=0;function u(D){return o[l+D]}s(u,"getToken");function c(D,E){E=E||0;for(var b=0;b0)){var m=d(/^\{$/,/^\}$/);if(m===-1)continue;for(var w=l;w=0&&p(x,"variable-input")}}}}},"afterTokenizeGraphql"))}s(r,"graphql")}),Bp,Bv,ZE=B(()=>{Bp=me(YE()),Bv=Bp.default}),JE=H((e,t)=>{t.exports=r,r.displayName="jsExtras",r.aliases=[];function r(n){(function(a){a.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+a.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),a.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+a.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),a.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:Float(?:32|64)|(?:Int|Uint)(?:8|16|32)|Uint8Clamped)?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|(?:Weak)?(?:Map|Set)|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]});function o(g,h){return RegExp(g.replace(//g,function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source}),h)}s(o,"withId"),a.languages.insertBefore("javascript","keyword",{imports:{pattern:o(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:a.languages.javascript},exports:{pattern:o(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:a.languages.javascript}}),a.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|finally|for|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),a.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),a.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:o(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|(?:local|session)Storage|location|navigator|performance|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var l=["function","function-variable","method","method-variable","property-access"],u=0;u{zp=me(JE()),zv=zp.default}),QE=H((e,t)=>{t.exports=r,r.displayName="json",r.aliases=["webmanifest"];function r(n){n.languages.json={property:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?=\s*:)/,lookbehind:!0,greedy:!0},string:{pattern:/(^|[^\\])"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,lookbehind:!0,greedy:!0},comment:{pattern:/\/\/.*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},number:/-?\b\d+(?:\.\d+)?(?:e[+-]?\d+)?\b/i,punctuation:/[{}[\],]/,operator:/:/,boolean:/\b(?:false|true)\b/,null:{pattern:/\bnull\b/,alias:"keyword"}},n.languages.webmanifest=n.languages.json}s(r,"json")}),Tp,Tv,e9=B(()=>{Tp=me(QE()),Tv=Tp.default}),Lv=H((e,t)=>{t.exports=r,r.displayName="jsx",r.aliases=[];function r(n){(function(a){var o=a.util.clone(a.languages.javascript),l=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,u=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,c=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function d(h,f){return h=h.replace(//g,function(){return l}).replace(//g,function(){return u}).replace(//g,function(){return c}),RegExp(h,f)}s(d,"re"),c=d(c).source,a.languages.jsx=a.languages.extend("markup",o),a.languages.jsx.tag.pattern=d(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),a.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,a.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,a.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,a.languages.jsx.tag.inside.comment=o.comment,a.languages.insertBefore("inside","attr-name",{spread:{pattern:d(//.source),inside:a.languages.jsx}},a.languages.jsx.tag),a.languages.insertBefore("inside","special-attr",{script:{pattern:d(/=/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:a.languages.jsx}}},a.languages.jsx.tag);var p=s(function(h){return h?typeof h=="string"?h:typeof h.content=="string"?h.content:h.content.map(p).join(""):""},"stringifyToken"),g=s(function(h){for(var f=[],y=0;y0&&f[f.length-1].tagName===p(m.content[0].content[1])&&f.pop():m.content[m.content.length-1].content==="/>"||f.push({tagName:p(m.content[0].content[1]),openedBraces:0}):f.length>0&&m.type==="punctuation"&&m.content==="{"?f[f.length-1].openedBraces++:f.length>0&&f[f.length-1].openedBraces>0&&m.type==="punctuation"&&m.content==="}"?f[f.length-1].openedBraces--:w=!0),(w||typeof m=="string")&&f.length>0&&f[f.length-1].openedBraces===0){var x=p(m);y0&&(typeof h[y-1]=="string"||h[y-1].type==="plain-text")&&(x=p(h[y-1])+x,h.splice(y-1,1),y--),h[y]=new a.Token("plain-text",x,null,x)}m.content&&typeof m.content!="string"&&g(m.content)}},"walkTokens");a.hooks.add("after-tokenize",function(h){h.language!=="jsx"&&h.language!=="tsx"||g(h.tokens)})})(n)}s(r,"jsx")}),Lp,Mv,t9=B(()=>{Lp=me(Lv()),Mv=Lp.default}),r9=H((e,t)=>{t.exports=r,r.displayName="markdown",r.aliases=["md"];function r(n){(function(a){var o=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function l(y){return y=y.replace(//g,function(){return o}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+y+")")}s(l,"createInline");var u=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,c=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return u}),d=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;a.languages.markdown=a.languages.extend("markup",{}),a.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:a.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+c+d+"(?:"+c+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+c+d+")(?:"+c+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(u),inside:a.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+c+")"+d+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+c+"$"),inside:{"table-header":{pattern:RegExp(u),alias:"important",inside:a.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:l(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:l(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:l(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:l(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(y){["url","bold","italic","strike","code-snippet"].forEach(function(m){y!==m&&(a.languages.markdown[y].inside.content.inside[m]=a.languages.markdown[m])})}),a.hooks.add("after-tokenize",function(y){if(y.language!=="markdown"&&y.language!=="md")return;function m(w){if(!(!w||typeof w=="string"))for(var x=0,D=w.length;x",quot:'"'},h=String.fromCodePoint||String.fromCharCode;function f(y){var m=y.replace(p,"");return m=m.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(w,x){if(x=x.toLowerCase(),x[0]==="#"){var D;return x[1]==="x"?D=parseInt(x.slice(2),16):D=Number(x.slice(1)),h(D)}else{var E=g[x];return E||w}}),m}s(f,"textContent"),a.languages.md=a.languages.markdown})(n)}s(r,"markdown")}),Mp,Ov,n9=B(()=>{Mp=me(r9()),Ov=Mp.default}),Op,Pv,a9=B(()=>{Op=me(Fv()),Pv=Op.default}),Nv=H((e,t)=>{t.exports=r,r.displayName="typescript",r.aliases=["ts"];function r(n){(function(a){a.languages.typescript=a.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),a.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete a.languages.typescript.parameter,delete a.languages.typescript["literal-property"];var o=a.languages.extend("typescript",{});delete o["class-name"],a.languages.typescript["class-name"].inside=o,a.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:o}}}}),a.languages.ts=a.languages.typescript})(n)}s(r,"typescript")}),o9=H((e,t)=>{var r=Lv(),n=Nv();t.exports=a,a.displayName="tsx",a.aliases=[];function a(o){o.register(r),o.register(n),function(l){var u=l.util.clone(l.languages.typescript);l.languages.tsx=l.languages.extend("jsx",u),delete l.languages.tsx.parameter,delete l.languages.tsx["literal-property"];var c=l.languages.tsx.tag;c.pattern=RegExp(/(^|[^\w$]|(?=<\/))/.source+"(?:"+c.pattern.source+")",c.pattern.flags),c.lookbehind=!0}(o)}s(a,"tsx")}),Pp,Hv,i9=B(()=>{Pp=me(o9()),Hv=Pp.default}),Np,$v,l9=B(()=>{Np=me(Nv()),$v=Np.default}),s9=H((e,t)=>{t.exports=r,r.displayName="yaml",r.aliases=["yml"];function r(n){(function(a){var o=/[*&][^\s[\]{},]+/,l=/!(?:<[\w\-%#;/?:@&=+$,.!~*'()[\]]+>|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,u="(?:"+l.source+"(?:[ ]+"+o.source+")?|"+o.source+"(?:[ ]+"+l.source+")?)",c=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source}),d=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function p(g,h){h=(h||"").replace(/m/g,"")+"m";var f=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return g});return RegExp(f,h)}s(p,"createValuePattern"),a.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,function(){return u})),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,function(){return u}).replace(/<>/g,function(){return"(?:"+c+"|"+d+")"})),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:p(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:p(/false|true/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:p(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:p(d),lookbehind:!0,greedy:!0},number:{pattern:p(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:l,important:o,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},a.languages.yml=a.languages.yaml})(n)}s(r,"yaml")}),Hp,jv,u9=B(()=>{Hp=me(s9()),jv=Hp.default}),$p,ms,Od,Vv=B(()=>{$p=F.div(({theme:e})=>({position:"absolute",bottom:0,right:0,maxWidth:"100%",display:"flex",background:e.background.content,zIndex:1})),ms=F.button(({theme:e})=>({margin:0,border:"0 none",padding:"4px 10px",cursor:"pointer",display:"flex",alignItems:"center",color:e.color.defaultText,background:e.background.content,fontSize:12,lineHeight:"16px",fontFamily:e.typography.fonts.base,fontWeight:e.typography.weight.bold,borderTop:`1px solid ${e.appBorderColor}`,borderLeft:`1px solid ${e.appBorderColor}`,marginLeft:-1,borderRadius:"4px 0 0 0","&:not(:last-child)":{borderRight:`1px solid ${e.appBorderColor}`},"& + *":{borderLeft:`1px solid ${e.appBorderColor}`,borderRadius:0},"&:focus":{boxShadow:`${e.color.secondary} 0 -3px 0 0 inset`,outline:"0 none"}}),({disabled:e})=>e&&{cursor:"not-allowed",opacity:.5}),ms.displayName="ActionButton",Od=s(({actionItems:e,...t})=>v.createElement($p,{...t},e.map(({title:r,className:n,onClick:a,disabled:o},l)=>v.createElement(ms,{key:l,className:n,onClick:a,disabled:!!o},r))),"ActionBar")});function qv(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Uv(...e){return t=>e.forEach(r=>qv(r,t))}var c9=B(()=>{s(qv,"setRef"),s(Uv,"composeRefs")});function jp(e){return i.isValidElement(e)&&e.type===Wv}function Vp(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...l)=>{o(...l),a(...l)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}function qp(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var Ti,Po,Wv,Gv=B(()=>{c9(),Ti=i.forwardRef((e,t)=>{let{children:r,...n}=e,a=i.Children.toArray(r),o=a.find(jp);if(o){let l=o.props.children,u=a.map(c=>c===o?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:c);return W.jsx(Po,{...n,ref:t,children:i.isValidElement(l)?i.cloneElement(l,void 0,u):null})}return W.jsx(Po,{...n,ref:t,children:r})}),Ti.displayName="Slot",Po=i.forwardRef((e,t)=>{let{children:r,...n}=e;if(i.isValidElement(r)){let a=qp(r);return i.cloneElement(r,{...Vp(n,r.props),ref:t?Uv(t,a):a})}return i.Children.count(r)>1?i.Children.only(null):null}),Po.displayName="SlotClone",Wv=s(({children:e})=>W.jsx(W.Fragment,{children:e}),"Slottable"),s(jp,"isSlottable"),s(Vp,"mergeProps"),s(qp,"getElementRef")}),Up,vn,d9=B(()=>{Gv(),Up=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],vn=Up.reduce((e,t)=>{let r=i.forwardRef((n,a)=>{let{asChild:o,...l}=n,u=o?Ti:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),W.jsx(u,{...l,ref:a})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{})});function Kv(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}function Yv(...e){return t=>e.forEach(r=>Kv(r,t))}function Yt(...e){return i.useCallback(Yv(...e),e)}var Zv=B(()=>{s(Kv,"setRef"),s(Yv,"composeRefs"),s(Yt,"useComposedRefs")}),Li,Jv=B(()=>{Li=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{}});function Xv(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}function Wp(e){let[t,r]=i.useState(),n=i.useRef({}),a=i.useRef(e),o=i.useRef("none"),l=e?"mounted":"unmounted",[u,c]=Xv(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{let d=Aa(n.current);o.current=u==="mounted"?d:"none"},[u]),Li(()=>{let d=n.current,p=a.current;if(p!==e){let g=o.current,h=Aa(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&g!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Li(()=>{if(t){let d=s(g=>{let h=Aa(n.current).includes(g.animationName);g.target===t&&h&&ml.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=s(g=>{g.target===t&&(o.current=Aa(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}function Aa(e){return(e==null?void 0:e.animationName)||"none"}function Gp(e){var n,a;let t=(n=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:n.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=(a=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:a.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var xn,p9=B(()=>{"use client";Zv(),Jv(),s(Xv,"useStateMachine"),xn=s(e=>{let{present:t,children:r}=e,n=Wp(t),a=typeof r=="function"?r({present:n.isPresent}):i.Children.only(r),o=Yt(n.ref,Gp(a));return typeof r=="function"||n.isPresent?i.cloneElement(a,{ref:o}):null},"Presence"),xn.displayName="Presence",s(Wp,"usePresence"),s(Aa,"getAnimationName"),s(Gp,"getElementRef")});function Qv(e,t=[]){let r=[];function n(o,l){let u=i.createContext(l),c=r.length;r=[...r,l];function d(g){let{scope:h,children:f,...y}=g,m=(h==null?void 0:h[e][c])||u,w=i.useMemo(()=>y,Object.values(y));return W.jsx(m.Provider,{value:w,children:f})}s(d,"Provider");function p(g,h){let f=(h==null?void 0:h[e][c])||u,y=i.useContext(f);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return s(p,"useContext2"),d.displayName=o+"Provider",[d,p]}s(n,"createContext3");let a=s(()=>{let o=r.map(l=>i.createContext(l));return s(function(l){let u=(l==null?void 0:l[e])||o;return i.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])},"useScope")},"createScope");return a.scopeName=e,[n,e4(a,...t)]}function e4(...e){let t=e[0];if(e.length===1)return t;let r=s(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return s(function(a){let o=n.reduce((l,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...l,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=t.scopeName,r}var f9=B(()=>{s(Qv,"createContextScope"),s(e4,"composeContextScopes")});function Xt(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...r)=>{var n;return(n=t.current)==null?void 0:n.call(t,...r)},[])}var h9=B(()=>{s(Xt,"useCallbackRef")});function t4(e){let t=i.useContext(r4);return e||t||"ltr"}var r4,m9=B(()=>{r4=i.createContext(void 0),s(t4,"useDirection")});function n4(e,[t,r]){return Math.min(r,Math.max(t,e))}var g9=B(()=>{s(n4,"clamp")});function Gt(e,t,{checkForDefaultPrevented:r=!0}={}){return s(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}var v9=B(()=>{s(Gt,"composeEventHandlers")});function Kp(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}function ca(e){return e?parseInt(e,10):0}function $c(e,t){let r=e/t;return isNaN(r)?0:r}function Ha(e){let t=$c(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function Yp(e,t,r,n="ltr"){let a=Ha(r),o=a/2,l=t||o,u=a-l,c=r.scrollbar.paddingStart+l,d=r.scrollbar.size-r.scrollbar.paddingEnd-u,p=r.content-r.viewport,g=n==="ltr"?[0,p]:[p*-1,0];return Pd([c,d],g)(e)}function gs(e,t,r="ltr"){let n=Ha(t),a=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,o=t.scrollbar.size-a,l=t.content-t.viewport,u=o-n,c=r==="ltr"?[0,l]:[l*-1,0],d=n4(e,c);return Pd([0,l],[0,u])(d)}function Pd(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];let n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function vs(e,t){return e>0&&e()=>window.clearTimeout(n.current),[]),i.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function br(e,t){let r=Xt(t);Li(()=>{let n=0;if(e){let a=new ResizeObserver(()=>{cancelAnimationFrame(n),n=window.requestAnimationFrame(r)});return a.observe(e),()=>{window.cancelAnimationFrame(n),a.unobserve(e)}}},[e,r])}function Zp(e,t){let{asChild:r,children:n}=e;if(!r)return typeof t=="function"?t(n):t;let a=i.Children.only(n);return i.cloneElement(a,{children:typeof t=="function"?t(a.props.children):t})}var No,ys,y9,Jp,Re,bs,ws,Es,Ue,Ds,Xp,Qp,xs,Ho,ef,tf,rf,Cs,Ss,pa,ks,nf,$o,As,af,of,a4,o4,i4,l4,s4,b9=B(()=>{"use client";d9(),p9(),f9(),Zv(),h9(),m9(),Jv(),g9(),v9(),s(Kp,"useStateMachine"),No="ScrollArea",[ys,y9]=Qv(No),[Jp,Re]=ys(No),bs=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,type:n="hover",dir:a,scrollHideDelay:o=600,...l}=e,[u,c]=i.useState(null),[d,p]=i.useState(null),[g,h]=i.useState(null),[f,y]=i.useState(null),[m,w]=i.useState(null),[x,D]=i.useState(0),[E,b]=i.useState(0),[C,S]=i.useState(!1),[A,k]=i.useState(!1),_=Yt(t,R=>c(R)),I=t4(a);return W.jsx(Jp,{scope:r,type:n,dir:I,scrollHideDelay:o,scrollArea:u,viewport:d,onViewportChange:p,content:g,onContentChange:h,scrollbarX:f,onScrollbarXChange:y,scrollbarXEnabled:C,onScrollbarXEnabledChange:S,scrollbarY:m,onScrollbarYChange:w,scrollbarYEnabled:A,onScrollbarYEnabledChange:k,onCornerWidthChange:D,onCornerHeightChange:b,children:W.jsx(vn.div,{dir:I,...l,ref:_,style:{position:"relative","--radix-scroll-area-corner-width":x+"px","--radix-scroll-area-corner-height":E+"px",...e.style}})})}),bs.displayName=No,ws="ScrollAreaViewport",Es=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,children:n,asChild:a,nonce:o,...l}=e,u=Re(ws,r),c=i.useRef(null),d=Yt(t,c,u.onViewportChange);return W.jsxs(W.Fragment,{children:[W.jsx("style",{dangerouslySetInnerHTML:{__html:` -[data-radix-scroll-area-viewport] { - scrollbar-width: none; - -ms-overflow-style: none; - -webkit-overflow-scrolling: touch; -} -[data-radix-scroll-area-viewport]::-webkit-scrollbar { - display: none; -} -:where([data-radix-scroll-area-viewport]) { - display: flex; - flex-direction: column; - align-items: stretch; -} -:where([data-radix-scroll-area-content]) { - flex-grow: 1; -} -`},nonce:o}),W.jsx(vn.div,{"data-radix-scroll-area-viewport":"",...l,asChild:a,ref:d,style:{overflowX:u.scrollbarXEnabled?"scroll":"hidden",overflowY:u.scrollbarYEnabled?"scroll":"hidden",...e.style},children:Zp({asChild:a,children:n},p=>W.jsx("div",{"data-radix-scroll-area-content":"",ref:u.onContentChange,style:{minWidth:u.scrollbarXEnabled?"fit-content":void 0},children:p}))})]})}),Es.displayName=ws,Ue="ScrollAreaScrollbar",Ds=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Re(Ue,e.__scopeScrollArea),{onScrollbarXEnabledChange:o,onScrollbarYEnabledChange:l}=a,u=e.orientation==="horizontal";return i.useEffect(()=>(u?o(!0):l(!0),()=>{u?o(!1):l(!1)}),[u,o,l]),a.type==="hover"?W.jsx(Xp,{...n,ref:t,forceMount:r}):a.type==="scroll"?W.jsx(Qp,{...n,ref:t,forceMount:r}):a.type==="auto"?W.jsx(xs,{...n,ref:t,forceMount:r}):a.type==="always"?W.jsx(Ho,{...n,ref:t}):null}),Ds.displayName=Ue,Xp=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Re(Ue,e.__scopeScrollArea),[o,l]=i.useState(!1);return i.useEffect(()=>{let u=a.scrollArea,c=0;if(u){let d=s(()=>{window.clearTimeout(c),l(!0)},"handlePointerEnter"),p=s(()=>{c=window.setTimeout(()=>l(!1),a.scrollHideDelay)},"handlePointerLeave");return u.addEventListener("pointerenter",d),u.addEventListener("pointerleave",p),()=>{window.clearTimeout(c),u.removeEventListener("pointerenter",d),u.removeEventListener("pointerleave",p)}}},[a.scrollArea,a.scrollHideDelay]),W.jsx(xn,{present:r||o,children:W.jsx(xs,{"data-state":o?"visible":"hidden",...n,ref:t})})}),Qp=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Re(Ue,e.__scopeScrollArea),o=e.orientation==="horizontal",l=da(()=>c("SCROLL_END"),100),[u,c]=Kp("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return i.useEffect(()=>{if(u==="idle"){let d=window.setTimeout(()=>c("HIDE"),a.scrollHideDelay);return()=>window.clearTimeout(d)}},[u,a.scrollHideDelay,c]),i.useEffect(()=>{let d=a.viewport,p=o?"scrollLeft":"scrollTop";if(d){let g=d[p],h=s(()=>{let f=d[p];g!==f&&(c("SCROLL"),l()),g=f},"handleScroll");return d.addEventListener("scroll",h),()=>d.removeEventListener("scroll",h)}},[a.viewport,o,c,l]),W.jsx(xn,{present:r||u!=="hidden",children:W.jsx(Ho,{"data-state":u==="hidden"?"hidden":"visible",...n,ref:t,onPointerEnter:Gt(e.onPointerEnter,()=>c("POINTER_ENTER")),onPointerLeave:Gt(e.onPointerLeave,()=>c("POINTER_LEAVE"))})})}),xs=i.forwardRef((e,t)=>{let r=Re(Ue,e.__scopeScrollArea),{forceMount:n,...a}=e,[o,l]=i.useState(!1),u=e.orientation==="horizontal",c=da(()=>{if(r.viewport){let d=r.viewport.offsetWidth{let{orientation:r="vertical",...n}=e,a=Re(Ue,e.__scopeScrollArea),o=i.useRef(null),l=i.useRef(0),[u,c]=i.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=$c(u.viewport,u.content),p={...n,sizes:u,onSizesChange:c,hasThumb:d>0&&d<1,onThumbChange:s(h=>o.current=h,"onThumbChange"),onThumbPointerUp:s(()=>l.current=0,"onThumbPointerUp"),onThumbPointerDown:s(h=>l.current=h,"onThumbPointerDown")};function g(h,f){return Yp(h,l.current,u,f)}return s(g,"getScrollPosition"),r==="horizontal"?W.jsx(ef,{...p,ref:t,onThumbPositionChange:s(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollLeft,f=gs(h,u,a.dir);o.current.style.transform=`translate3d(${f}px, 0, 0)`}},"onThumbPositionChange"),onWheelScroll:s(h=>{a.viewport&&(a.viewport.scrollLeft=h)},"onWheelScroll"),onDragScroll:s(h=>{a.viewport&&(a.viewport.scrollLeft=g(h,a.dir))},"onDragScroll")}):r==="vertical"?W.jsx(tf,{...p,ref:t,onThumbPositionChange:s(()=>{if(a.viewport&&o.current){let h=a.viewport.scrollTop,f=gs(h,u);o.current.style.transform=`translate3d(0, ${f}px, 0)`}},"onThumbPositionChange"),onWheelScroll:s(h=>{a.viewport&&(a.viewport.scrollTop=h)},"onWheelScroll"),onDragScroll:s(h=>{a.viewport&&(a.viewport.scrollTop=g(h))},"onDragScroll")}):null}),ef=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Re(Ue,e.__scopeScrollArea),[l,u]=i.useState(),c=i.useRef(null),d=Yt(t,c,o.onScrollbarXChange);return i.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),W.jsx(Ss,{"data-orientation":"horizontal",...a,ref:d,sizes:r,style:{bottom:0,left:o.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:o.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":Ha(r)+"px",...e.style},onThumbPointerDown:s(p=>e.onThumbPointerDown(p.x),"onThumbPointerDown"),onDragScroll:s(p=>e.onDragScroll(p.x),"onDragScroll"),onWheelScroll:s((p,g)=>{if(o.viewport){let h=o.viewport.scrollLeft+p.deltaX;e.onWheelScroll(h),vs(h,g)&&p.preventDefault()}},"onWheelScroll"),onResize:s(()=>{c.current&&o.viewport&&l&&n({content:o.viewport.scrollWidth,viewport:o.viewport.offsetWidth,scrollbar:{size:c.current.clientWidth,paddingStart:ca(l.paddingLeft),paddingEnd:ca(l.paddingRight)}})},"onResize")})}),tf=i.forwardRef((e,t)=>{let{sizes:r,onSizesChange:n,...a}=e,o=Re(Ue,e.__scopeScrollArea),[l,u]=i.useState(),c=i.useRef(null),d=Yt(t,c,o.onScrollbarYChange);return i.useEffect(()=>{c.current&&u(getComputedStyle(c.current))},[c]),W.jsx(Ss,{"data-orientation":"vertical",...a,ref:d,sizes:r,style:{top:0,right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":Ha(r)+"px",...e.style},onThumbPointerDown:s(p=>e.onThumbPointerDown(p.y),"onThumbPointerDown"),onDragScroll:s(p=>e.onDragScroll(p.y),"onDragScroll"),onWheelScroll:s((p,g)=>{if(o.viewport){let h=o.viewport.scrollTop+p.deltaY;e.onWheelScroll(h),vs(h,g)&&p.preventDefault()}},"onWheelScroll"),onResize:s(()=>{c.current&&o.viewport&&l&&n({content:o.viewport.scrollHeight,viewport:o.viewport.offsetHeight,scrollbar:{size:c.current.clientHeight,paddingStart:ca(l.paddingTop),paddingEnd:ca(l.paddingBottom)}})},"onResize")})}),[rf,Cs]=ys(Ue),Ss=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,sizes:n,hasThumb:a,onThumbChange:o,onThumbPointerUp:l,onThumbPointerDown:u,onThumbPositionChange:c,onDragScroll:d,onWheelScroll:p,onResize:g,...h}=e,f=Re(Ue,r),[y,m]=i.useState(null),w=Yt(t,_=>m(_)),x=i.useRef(null),D=i.useRef(""),E=f.viewport,b=n.content-n.viewport,C=Xt(p),S=Xt(c),A=da(g,10);function k(_){if(x.current){let I=_.clientX-x.current.left,R=_.clientY-x.current.top;d({x:I,y:R})}}return s(k,"handleDragScroll"),i.useEffect(()=>{let _=s(I=>{let R=I.target;y!=null&&y.contains(R)&&C(I,b)},"handleWheel");return document.addEventListener("wheel",_,{passive:!1}),()=>document.removeEventListener("wheel",_,{passive:!1})},[E,y,b,C]),i.useEffect(S,[n,S]),br(y,A),br(f.content,A),W.jsx(rf,{scope:r,scrollbar:y,hasThumb:a,onThumbChange:Xt(o),onThumbPointerUp:Xt(l),onThumbPositionChange:S,onThumbPointerDown:Xt(u),children:W.jsx(vn.div,{...h,ref:w,style:{position:"absolute",...h.style},onPointerDown:Gt(e.onPointerDown,_=>{_.button===0&&(_.target.setPointerCapture(_.pointerId),x.current=y.getBoundingClientRect(),D.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",f.viewport&&(f.viewport.style.scrollBehavior="auto"),k(_))}),onPointerMove:Gt(e.onPointerMove,k),onPointerUp:Gt(e.onPointerUp,_=>{let I=_.target;I.hasPointerCapture(_.pointerId)&&I.releasePointerCapture(_.pointerId),document.body.style.webkitUserSelect=D.current,f.viewport&&(f.viewport.style.scrollBehavior=""),x.current=null})})})}),pa="ScrollAreaThumb",ks=i.forwardRef((e,t)=>{let{forceMount:r,...n}=e,a=Cs(pa,e.__scopeScrollArea);return W.jsx(xn,{present:r||a.hasThumb,children:W.jsx(nf,{ref:t,...n})})}),nf=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,style:n,...a}=e,o=Re(pa,r),l=Cs(pa,r),{onThumbPositionChange:u}=l,c=Yt(t,g=>l.onThumbChange(g)),d=i.useRef(),p=da(()=>{d.current&&(d.current(),d.current=void 0)},100);return i.useEffect(()=>{let g=o.viewport;if(g){let h=s(()=>{if(p(),!d.current){let f=of(g,u);d.current=f,u()}},"handleScroll");return u(),g.addEventListener("scroll",h),()=>g.removeEventListener("scroll",h)}},[o.viewport,p,u]),W.jsx(vn.div,{"data-state":l.hasThumb?"visible":"hidden",...a,ref:c,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...n},onPointerDownCapture:Gt(e.onPointerDownCapture,g=>{let h=g.target.getBoundingClientRect(),f=g.clientX-h.left,y=g.clientY-h.top;l.onThumbPointerDown({x:f,y})}),onPointerUp:Gt(e.onPointerUp,l.onThumbPointerUp)})}),ks.displayName=pa,$o="ScrollAreaCorner",As=i.forwardRef((e,t)=>{let r=Re($o,e.__scopeScrollArea),n=!!(r.scrollbarX&&r.scrollbarY);return r.type!=="scroll"&&n?W.jsx(af,{...e,ref:t}):null}),As.displayName=$o,af=i.forwardRef((e,t)=>{let{__scopeScrollArea:r,...n}=e,a=Re($o,r),[o,l]=i.useState(0),[u,c]=i.useState(0),d=!!(o&&u);return br(a.scrollbarX,()=>{var g;let p=((g=a.scrollbarX)==null?void 0:g.offsetHeight)||0;a.onCornerHeightChange(p),c(p)}),br(a.scrollbarY,()=>{var g;let p=((g=a.scrollbarY)==null?void 0:g.offsetWidth)||0;a.onCornerWidthChange(p),l(p)}),d?W.jsx(vn.div,{...n,ref:t,style:{width:o,height:u,position:"absolute",right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:0,...e.style}}):null}),s(ca,"toInt"),s($c,"getThumbRatio"),s(Ha,"getThumbSize"),s(Yp,"getScrollPositionFromPointer"),s(gs,"getThumbOffsetFromScroll"),s(Pd,"linearScale"),s(vs,"isScrollingWithinScrollbarBounds"),of=s((e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return s(function a(){let o={left:e.scrollLeft,top:e.scrollTop},l=r.left!==o.left,u=r.top!==o.top;(l||u)&&t(),r=o,n=window.requestAnimationFrame(a)},"loop")(),()=>window.cancelAnimationFrame(n)},"addUnlinkedScrollListener"),s(da,"useDebounceCallback"),s(br,"useResizeObserver"),s(Zp,"getSubtree"),a4=bs,o4=Es,i4=Ds,l4=ks,s4=As}),lf,sf,Fs,_s,Mi,Nd=B(()=>{b9(),lf=F(a4)(({scrollbarsize:e,offset:t})=>({width:"100%",height:"100%",overflow:"hidden","--scrollbar-size":`${e+t}px`,"--radix-scroll-area-thumb-width":`${e}px`})),sf=F(o4)({width:"100%",height:"100%"}),Fs=F(i4)(({offset:e,horizontal:t,vertical:r})=>({display:"flex",userSelect:"none",touchAction:"none",background:"transparent",transition:"all 0.2s ease-out",borderRadius:"var(--scrollbar-size)",zIndex:1,'&[data-orientation="vertical"]':{width:"var(--scrollbar-size)",paddingRight:e,marginTop:e,marginBottom:t==="true"&&r==="true"?0:e},'&[data-orientation="horizontal"]':{flexDirection:"column",height:"var(--scrollbar-size)",paddingBottom:e,marginLeft:e,marginRight:t==="true"&&r==="true"?0:e}})),_s=F(l4)(({theme:e})=>({flex:1,background:e.textMutedColor,opacity:.5,borderRadius:"var(--scrollbar-size)",position:"relative",transition:"opacity 0.2s ease-out","&:hover":{opacity:.8},"::before":{content:'""',position:"absolute",top:"50%",left:"50%",transform:"translate(-50%,-50%)",width:"100%",height:"100%"}})),Mi=i.forwardRef(({children:e,horizontal:t=!1,vertical:r=!1,offset:n=2,scrollbarSize:a=6,className:o},l)=>v.createElement(lf,{scrollbarsize:a,offset:n,className:o},v.createElement(sf,{ref:l},e),t&&v.createElement(Fs,{orientation:"horizontal",offset:n,horizontal:t.toString(),vertical:r.toString()},v.createElement(_s,null)),r&&v.createElement(Fs,{orientation:"vertical",offset:n,horizontal:t.toString(),vertical:r.toString()},v.createElement(_s,null)),t&&r&&v.createElement(s4,null))),Mi.displayName="ScrollArea"}),Hd={};Yn(Hd,{SyntaxHighlighter:()=>$a,createCopyToClipboardFunction:()=>jc,default:()=>u4,supportedLanguages:()=>Vc});const{logger:w9}=__STORYBOOK_MODULE_CLIENT_LOGGER__;function jc(){return Fa!=null&&Fa.clipboard?e=>Fa.clipboard.writeText(e):async e=>{let t=yn.createElement("TEXTAREA"),r=yn.activeElement;t.value=e,yn.body.appendChild(t),t.select(),yn.execCommand("copy"),yn.body.removeChild(t),r.focus()}}var uf,Fa,yn,cf,Vc,df,pf,ff,hf,mf,gf,vf,Is,yf,bf,$a,u4,El=B(()=>{Fd(),uf=me(yl(),1),UE(),GE(),KE(),ZE(),XE(),e9(),t9(),n9(),a9(),i9(),l9(),u9(),qE(),Vv(),Nd(),{navigator:Fa,document:yn,window:cf}=vl,Vc={jsextra:zv,jsx:Mv,json:Tv,yml:jv,md:Ov,bash:Iv,css:Rv,html:Pv,tsx:Hv,typescript:$v,graphql:Bv},Object.entries(Vc).forEach(([e,t])=>{fi.registerLanguage(e,t)}),df=(0,uf.default)(2)(e=>Object.entries(e.code||{}).reduce((t,[r,n])=>({...t,[`* .${r}`]:n}),{})),pf=jc(),s(jc,"createCopyToClipboardFunction"),ff=F.div(({theme:e})=>({position:"relative",overflow:"hidden",color:e.color.defaultText}),({theme:e,bordered:t})=>t?{border:`1px solid ${e.appBorderColor}`,borderRadius:e.borderRadius,background:e.background.content}:{},({showLineNumbers:e})=>e?{".react-syntax-highlighter-line-number::before":{content:"attr(data-line-number)"}}:{}),hf=s(({children:e,className:t})=>v.createElement(Mi,{horizontal:!0,vertical:!0,className:t},e),"UnstyledScroller"),mf=F(hf)({position:"relative"},({theme:e})=>df(e)),gf=F.pre(({theme:e,padded:t})=>({display:"flex",justifyContent:"flex-start",margin:0,padding:t?e.layoutMargin:0})),vf=F.div(({theme:e})=>({flex:1,paddingLeft:2,paddingRight:e.layoutMargin,opacity:1,fontFamily:e.typography.fonts.mono})),Is=s(e=>{let t=[...e.children],r=t[0],n=r.children[0].value,a={...r,children:[],properties:{...r.properties,"data-line-number":n,style:{...r.properties.style,userSelect:"auto"}}};return t[0]=a,{...e,children:t}},"processLineNumber"),yf=s(({rows:e,stylesheet:t,useInlineStyles:r})=>e.map((n,a)=>wl({node:Is(n),stylesheet:t,useInlineStyles:r,key:`code-segement${a}`})),"defaultRenderer"),bf=s((e,t)=>t?e?({rows:r,...n})=>e({rows:r.map(a=>Is(a)),...n}):yf:e,"wrapRenderer"),$a=s(({children:e,language:t="jsx",copyable:r=!1,bordered:n=!1,padded:a=!1,format:o=!0,formatter:l=void 0,className:u=void 0,showLineNumbers:c=!1,...d})=>{if(typeof e!="string"||!e.trim())return null;let[p,g]=i.useState("");i.useEffect(()=>{l?l(o,e).then(g):g(e.trim())},[e,o,l]);let[h,f]=i.useState(!1),y=i.useCallback(w=>{w.preventDefault(),pf(p).then(()=>{f(!0),cf.setTimeout(()=>f(!1),1500)}).catch(w9.error)},[p]),m=bf(d.renderer,c);return v.createElement(ff,{bordered:n,padded:a,showLineNumbers:c,className:u},v.createElement(mf,null,v.createElement(fi,{padded:a||n,language:t,showLineNumbers:c,showInlineLineNumbers:c,useInlineStyles:!1,PreTag:gf,CodeTag:vf,lineNumberContainerStyle:{},...d,renderer:m},p)),r?v.createElement(Od,{actionItems:[{title:h?"Copied":"Copy",onClick:y}]}):null)},"SyntaxHighlighter"),$a.registerLanguage=(...e)=>fi.registerLanguage(...e),u4=$a});function wf(e){if(typeof e=="string")return _l;if(Array.isArray(e))return Il;if(!e)return;let{type:t}=e;if(s1.has(t))return t}function Ef(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(Rl(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=v3([...s1].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function nt(e){return or(e),{type:Ja,contents:e}}function $d(e,t){return or(t),{type:Xa,contents:t,n:e}}function ie(e,t={}){return or(e),Bl(t.expandedStates,!0),{type:Hn,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function c4(e){return $d(Number.NEGATIVE_INFINITY,e)}function d4(e){return $d({type:"root"},e)}function jd(e){return Bl(e),{type:Qa,parts:e}}function Ya(e,t="",r={}){return or(e),t!==""&&or(t),{type:eo,breakContents:e,flatContents:t,groupId:r.groupId}}function p4(e,t){return or(e),{type:to,contents:e,groupId:t.groupId,negate:t.negate}}function Ur(e,t){or(e),Bl(t);let r=[];for(let n=0;nt===""))return"";break;case Hn:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Hn&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case Xa:case Ja:case to:case Vi:if(!e.contents)return"";break;case eo:if(!e.flatContents&&!e.breakContents)return"";break;case Il:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof $n(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case _l:case $i:case ji:case qi:case Zt:case Ui:case qa:break;default:throw new u1(e)}return e}function h4(e){return Dl(e,t=>f4(t))}function Pe(e,t=y3){return Dl(e,r=>typeof r=="string"?Ur(t,r.split(` -`)):r)}function Df(e,t){let r=t===!0||t===za?za:Jc,n=r===za?Jc:za,a=0,o=0;for(let l of e)l===r?a++:l===n&&o++;return a>o?n:r}function xf(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function Cf(e){return(e==null?void 0:e.type)==="front-matter"}function Rs(e,t){var r;if(e.type==="text"||e.type==="comment"||wo(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=e.parameters)!=null&&r.children)for(let n of t.parameters.children)E3.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim()),e.type==="angularLetDeclarationInitializer"&&delete t.value}async function Sf(e,t){if(e.language==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return d4([e.startDelimiter,e.explicitLanguage,X,n,n?X:"",e.endDelimiter])}}function fo(e,t=!0){return[nt([he,e]),t?he:""]}function Wr(e,t){let r=e.type==="NGRoot"?e.node.type==="NGMicrosyntax"&&e.node.body.length===1&&e.node.body[0].type==="NGMicrosyntaxExpression"?e.node.body[0].expression:e.node:e.type==="JsExpressionRoot"?e.node:e;return r&&(r.type==="ObjectExpression"||r.type==="ArrayExpression"||(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&(r.type==="TemplateLiteral"||r.type==="StringLiteral"))}async function He(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(l,u)=>{a=n(l,u)});let o=await t(e,r,t);return a?ie(o):fo(o)}function kf(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^\s*$/u.test(o)?"":He(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1},Wr)}function qc(e,t){if(!t)return;let r=C3(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function m4(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Af(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=m4(r,t.language)??qc(r,t.physicalFile)??qc(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Ff(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Vd(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||Nr(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||Cl(e,t)&&!wt(e)&&e.type!=="interpolation")}function ho(e){return e.type==="attribute"||!e.parent||!e.prev?!1:g4(e.prev)}function g4(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function ze(e){return e.type==="text"||e.type==="comment"}function wt(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||jn(e)&&(e.name==="script"||e.name==="style"))}function v4(e){return e.children&&!wt(e)}function y4(e){return wt(e)||e.type==="interpolation"||qd(e)}function qd(e){return Jd(e).startsWith("pre")}function b4(e,t){var r,n;let a=o();if(a&&!e.prev&&(n=(r=e.parent)==null?void 0:r.tagDefinition)!=null&&n.ignoreFirstLf)return e.type==="interpolation";return a;function o(){return wo(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.prev&&(e.prev.type==="text"||e.prev.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Nr(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||Nr(e)&&e.parent||wt(e.parent)||mo(e.parent,t)||!F4(e.parent.cssDisplay))||e.prev&&!R4(e.prev.cssDisplay))}}function w4(e,t){return wo(e)||e.type==="angularControlFlowBlock"?!1:(e.type==="text"||e.type==="interpolation")&&e.next&&(e.next.type==="text"||e.next.type==="interpolation")?!0:!e.parent||e.parent.cssDisplay==="none"?!1:Nr(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||Nr(e)&&e.parent||wt(e.parent)||mo(e.parent,t)||!_4(e.parent.cssDisplay))||e.next&&!I4(e.next.cssDisplay))}function E4(e){return B4(e.cssDisplay)&&!wt(e)}function _a(e){return wo(e)||e.next&&e.sourceSpan.end&&e.sourceSpan.end.line+10&&(["body","script","style"].includes(e.name)||e.children.some(t=>C4(t)))||e.firstChild&&e.firstChild===e.lastChild&&e.firstChild.type!=="text"&&Gd(e.firstChild)&&(!e.lastChild.isTrailingSpaceSensitive||Kd(e.lastChild))}function Ud(e){return e.type==="element"&&e.children.length>0&&(["html","head","ul","ol","select"].includes(e.name)||e.cssDisplay.startsWith("table")&&e.cssDisplay!=="table-cell")}function hi(e){return Yd(e)||e.prev&&x4(e.prev)||Wd(e)}function x4(e){return Yd(e)||e.type==="element"&&e.fullName==="br"||Wd(e)}function Wd(e){return Gd(e)&&Kd(e)}function Gd(e){return e.hasLeadingSpaces&&(e.prev?e.prev.sourceSpan.end.linee.sourceSpan.end.line:e.parent.type==="root"||e.parent.endSourceSpan&&e.parent.endSourceSpan.start.line>e.sourceSpan.end.line)}function Yd(e){switch(e.type){case"ieConditionalComment":case"comment":case"directive":return!0;case"element":return["script","select"].includes(e.name)}return!1}function xl(e){return e.lastChild?xl(e.lastChild):e}function C4(e){var t;return(t=e.children)==null?void 0:t.some(r=>r.type!=="text")}function Zd(e){if(e)switch(e){case"module":case"text/javascript":case"text/babel":case"application/javascript":return"babel";case"application/x-typescript":return"typescript";case"text/markdown":return"markdown";case"text/html":return"html";case"text/x-handlebars-template":return"glimmer";default:if(e.endsWith("json")||e.endsWith("importmap")||e==="speculationrules")return"json"}}function S4(e,t){let{name:r,attrMap:n}=e;if(r!=="script"||Object.prototype.hasOwnProperty.call(n,"src"))return;let{type:a,lang:o}=e.attrMap;return!o&&!a?"babel":Eo(t,{language:o})??Zd(a)}function k4(e,t){if(!Cl(e,t))return;let{attrMap:r}=e;if(Object.prototype.hasOwnProperty.call(r,"src"))return;let{type:n,lang:a}=r;return Eo(t,{language:a})??Zd(n)}function A4(e,t){if(e.name!=="style")return;let{lang:r}=e.attrMap;return r?Eo(t,{language:r}):"css"}function Uc(e,t){return S4(e,t)??A4(e,t)??k4(e,t)}function Zn(e){return e==="block"||e==="list-item"||e.startsWith("table")}function F4(e){return!Zn(e)&&e!=="inline-block"}function _4(e){return!Zn(e)&&e!=="inline-block"}function I4(e){return!Zn(e)}function R4(e){return!Zn(e)}function B4(e){return!Zn(e)&&e!=="inline-block"}function Nr(e){return Jd(e).startsWith("pre")}function z4(e,t){let r=e;for(;r;){if(t(r))return!0;r=r.parent}return!1}function T4(e,t){var r;if(Gr(e,t))return"block";if(((r=e.prev)==null?void 0:r.type)==="comment"){let a=e.prev.value.match(/^\s*display:\s*([a-z]+)\s*$/u);if(a)return a[1]}let n=!1;if(e.type==="element"&&e.namespace==="svg")if(z4(e,a=>a.fullName==="svg:foreignObject"))n=!0;else return e.name==="svg"?"inline-block":"block";switch(t.htmlWhitespaceSensitivity){case"strict":return"inline";case"ignore":return"block";default:return e.type==="element"&&(!e.namespace||n||jn(e))&&k3[e.name]||S3}}function Jd(e){return e.type==="element"&&(!e.namespace||jn(e))&&F3[e.name]||A3}function L4(e){let t=Number.POSITIVE_INFINITY;for(let r of e.split(` -`)){if(r.length===0)continue;let n=Ze.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&nr.slice(t)).join(` -`)}function Qd(e){return Ae(!1,Ae(!1,e,"'","'"),""",'"')}function $t(e){return Qd(e.value)}function mo(e,t){return Gr(e,t)&&!I3.has(e.fullName)}function Gr(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function Cl(e,t){return Gr(e,t)&&(mo(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function M4(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function O4(e,t){let r=e.parent;if(!Gr(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function e1(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Pe(t):Pe(Xd(c1(t)),X):Ur(ce,Ze.split(t))}function t1(e,t){return Gr(e,t)&&e.name==="script"}async function P4(e,t){let r=[];for(let[n,a]of e.split(d1).entries())if(n%2===0)r.push(Pe(a));else try{r.push(ie(["{{",nt([ce,await He(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0})]),ce,"}}"]))}catch{r.push("{{",Pe(a),"}}")}return r}function jo({parser:e}){return(t,r,n)=>He($t(n.node),t,{parser:e},Wr)}function _f(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return R3;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/u.test(n)||/^ng-(?:if|show|hide|class|style)$/u.test(n))return B3;if(n.startsWith("*"))return z3;let a=$t(r);if(/^i18n(?:-.+)?$/u.test(n))return()=>fo(jd(e1(r,a.trim())),!a.includes("@@"));if(d1.test(a))return o=>P4(a,o)}function If(e,t){let{node:r}=e,n=$t(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/\s+/u).join(" ")}function Wc(e){return e===" "||e===` -`||e==="\f"||e==="\r"||e===" "}function Rf(e){let t=e.length,r,n,a,o,l,u=0,c;function d(f){let y,m=f.exec(e.substring(u));if(m)return[y]=m,u+=y.length,y}s(d,"p");let p=[];for(;;){if(d(O3),u>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}c=u,r=d(P3),n=[],r.slice(-1)===","?(r=r.replace(N3,""),h()):g()}function g(){for(d(M3),a="",o="in descriptor";;){if(l=e.charAt(u),o==="in descriptor")if(Wc(l))a&&(n.push(a),a="",o="after descriptor");else if(l===","){u+=1,a&&n.push(a),h();return}else if(l==="(")a+=l,o="in parens";else if(l===""){a&&n.push(a),h();return}else a+=l;else if(o==="in parens")if(l===")")a+=l,o="in descriptor";else if(l===""){n.push(a),h();return}else a+=l;else if(o==="after descriptor"&&!Wc(l))if(l===""){h();return}else o="in descriptor",u-=1;u+=1}}s(g,"f");function h(){let f=!1,y,m,w,x,D={},E,b,C,S,A;for(x=0;xN4($t(e.node))}function N4(e){let t=$3(e),r=j3.filter(p=>t.some(g=>Object.prototype.hasOwnProperty.call(g,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=Qc[n],o=t.map(p=>p.source.value),l=Math.max(...o.map(p=>p.length)),u=t.map(p=>p[n]?String(p[n].value):""),c=u.map(p=>{let g=p.indexOf(".");return g===-1?p.length:g}),d=Math.max(...c);return fo(Ur([",",ce],o.map((p,g)=>{let h=[p],f=u[g];if(f){let y=l-p.length+1,m=d-c[g],w=" ".repeat(y+m);h.push(Ya(w," "),f+a)}return h})))}function H4(e,t){let{node:r}=e,n=$t(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>fo(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function zf(e,t){let{root:r}=e;return mi.has(r)||mi.set(r,r.children.some(n=>t1(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),mi.get(r)}function $4(e,t,r){let{node:n}=r,a=$t(n);return He(`type T<${a}> = any`,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},Wr)}function j4(e,t,{parseWithTs:r}){return He(`function _(${e}) {}`,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function V4(e){let t=/^(?:[\w$]+|\([^)]*\))\s*=>|^function\s*\(/u,r=/^[$_a-z][\w$]*(?:\.[$_a-z][\w$]*|\['[^']*'\]|\["[^"]*"\]|\[\d+\]|\[[$_a-z][\w$]*\])*$/iu,n=e.trim();return t.test(n)||r.test(n)}async function q4(e,t,r,n){let a=$t(r.node),{left:o,operator:l,right:u}=U4(a),c=zl(r,n);return[ie(await He(`function _(${o}) {}`,e,{parser:c?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",l," ",await He(u,e,{parser:c?"__ts_expression":"__js_expression"})]}function U4(e){let t=/(.*?)\s+(in|of)\s+(.*)/su,r=/,([^,\]}]*)(?:,([^,\]}]*))?$/u,n=/^\(|\)$/gu,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let l=Ae(!1,a[1].trim(),n,""),u=l.match(r);u?(o.alias=l.replace(r,""),o.iterator1=u[1].trim(),u[2]&&(o.iterator2=u[2].trim())):o.alias=l;let c=[o.alias,o.iterator1,o.iterator2];if(!c.some((d,p)=>!d&&(p===0||c.slice(p+1).some(Boolean))))return{left:c.filter(Boolean).join(","),operator:a[2],right:o.for}}function Tf(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return q4;if(n==="generic"&&t1(r.parent,t))return $4;let a=$t(r),o=zl(e,t);if(M4(r)||O4(r,t))return l=>j4(a,l,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return l=>W4(a,l,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return l=>G4(a,l,{parseWithTs:o});if(n.startsWith("v-"))return l=>r1(a,l,{parseWithTs:o})}function W4(e,t,{parseWithTs:r}){return V4(e)?r1(e,t,{parseWithTs:r}):He(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},Wr)}function G4(e,t,{parseWithTs:r}){return He(e,t,{parser:r?"__vue_ts_expression":"__vue_expression"},Wr)}function r1(e,t,{parseWithTs:r}){return He(e,t,{parser:r?"__ts_expression":"__js_expression"},Wr)}function Lf(e,t){let{node:r}=e;if(r.value){if(/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(t.originalText.slice(r.valueSpan.start.offset,r.valueSpan.end.offset))||t.parser==="lwc"&&r.value.startsWith("{")&&r.value.endsWith("}"))return[r.rawName,"=",r.value];for(let n of[V3,H4,L3,q3,T3]){let a=n(e,t);if(a)return K4(a)}}}function K4(e){return async(t,r,n,a)=>{let o=await e(t,r,n,a);if(o)return o=Dl(o,l=>typeof l=="string"?Ae(!1,l,'"',"""):l),[n.node.rawName,'="',ie(o),'"']}}function Mf(e){return Array.isArray(e)&&e.length>0}function go(e){return e.sourceSpan.start.offset}function vo(e){return e.sourceSpan.end.offset}function Oi(e,t){return[e.isSelfClosing?"":Y4(e,t),kn(e,t)]}function Y4(e,t){return e.lastChild&&Nn(e.lastChild)?"":[Z4(e,t),Sl(e,t)]}function kn(e,t){return(e.next?nr(e.next):Xn(e.parent))?"":[Jn(e,t),rr(e,t)]}function Z4(e,t){return Xn(e)?Jn(e.lastChild,t):""}function rr(e,t){return Nn(e)?Sl(e.parent,t):yo(e)?kl(e.next):""}function Sl(e,t){if(p1(!e.isSelfClosing),n1(e,t))return"";switch(e.type){case"ieConditionalComment":return"";case"ieConditionalStartComment":return"]>";case"interpolation":return"}}";case"angularIcuExpression":return"}";case"element":if(e.isSelfClosing)return"/>";default:return">"}}function n1(e,t){return!e.isSelfClosing&&!e.endSourceSpan&&(ho(e)||Vd(e.parent,t))}function nr(e){return e.prev&&e.prev.type!=="docType"&&e.type!=="angularControlFlowBlock"&&!ze(e.prev)&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function Xn(e){var t;return((t=e.lastChild)==null?void 0:t.isTrailingSpaceSensitive)&&!e.lastChild.hasTrailingSpaces&&!ze(xl(e.lastChild))&&!Nr(e)}function Nn(e){return!e.next&&!e.hasTrailingSpaces&&e.isTrailingSpaceSensitive&&ze(xl(e))}function yo(e){return e.next&&!ze(e.next)&&ze(e)&&e.isTrailingSpaceSensitive&&!e.hasTrailingSpaces}function J4(e){let t=e.trim().match(/^prettier-ignore-attribute(?:\s+(.+))?$/su);return t?t[1]?t[1].split(/\s+/u):!0:!1}function bo(e){return!e.prev&&e.isLeadingSpaceSensitive&&!e.hasLeadingSpaces}function X4(e,t,r){var n;let{node:a}=e;if(!Tl(a.attrs))return a.isSelfClosing?" ":"";let o=((n=a.prev)==null?void 0:n.type)==="comment"&&J4(a.prev.value),l=typeof o=="boolean"?()=>o:Array.isArray(o)?g=>o.includes(g.rawName):()=>!1,u=e.map(({node:g})=>l(g)?Pe(t.originalText.slice(go(g),vo(g))):r(),"attrs"),c=a.type==="element"&&a.fullName==="script"&&a.attrs.length===1&&a.attrs[0].fullName==="src"&&a.children.length===0,d=t.singleAttributePerLine&&a.attrs.length>1&&!Gr(a,t)?X:ce,p=[nt([c?" ":ce,Ur(d,u)])];return a.firstChild&&bo(a.firstChild)||a.isSelfClosing&&Xn(a.parent)||c?p.push(a.isSelfClosing?" ":""):p.push(t.bracketSameLine?a.isSelfClosing?" ":"":a.isSelfClosing?ce:he),p}function Q4(e){return e.firstChild&&bo(e.firstChild)?"":Al(e)}function Pi(e,t,r){let{node:n}=e;return[An(n,t),X4(e,t,r),n.isSelfClosing?"":Q4(n)]}function An(e,t){return e.prev&&yo(e.prev)?"":[ar(e,t),kl(e)]}function ar(e,t){return bo(e)?Al(e.parent):nr(e)?Jn(e.prev,t):""}function kl(e){switch(e.type){case"ieConditionalComment":case"ieConditionalStartComment":return`<${e.rawName}`;default:return`<${e.rawName}`}}function Al(e){switch(p1(!e.isSelfClosing),e.type){case"ieConditionalComment":return"]>";case"element":if(e.condition)return">";default:return">"}}function Of(e,t){if(!e.endSourceSpan)return"";let r=e.startSourceSpan.end.offset;e.firstChild&&bo(e.firstChild)&&(r-=Al(e).length);let n=e.endSourceSpan.start.offset;return e.lastChild&&Nn(e.lastChild)?n+=Sl(e,t).length:Xn(e)&&(n-=Jn(e.lastChild,t).length),t.originalText.slice(r,n)}function Pf(e,t){let{node:r}=e;switch(r.type){case"element":if(wt(r)||r.type==="interpolation")return;if(!r.isSelfClosing&&Cl(r,t)){let n=Uc(r,t);return n?async(a,o)=>{let l=f1(r,t),u=/^\s*$/u.test(l),c="";return u||(c=await a(c1(l),{parser:n,__embeddedInHtml:!0}),u=c===""),[ar(r,t),ie(Pi(e,t,o)),u?"":X,c,u?"":X,Oi(r,t),rr(r,t)]}:void 0}break;case"text":if(wt(r.parent)){let n=Uc(r.parent,t);if(n)return async a=>{let o=n==="markdown"?Xd(r.value.replace(/^[^\S\n]*\n/u,"")):r.value,l={parser:n,__embeddedInHtml:!0};if(t.parser==="html"&&n==="babel"){let u="script",{attrMap:c}=r.parent;c&&(c.type==="module"||c.type==="text/babel"&&c["data-type"]==="module")&&(u="module"),l.__babelSourceType=u}return[_n,ar(r,t),await a(o,l),rr(r,t)]}}else if(r.parent.type==="interpolation")return async n=>{let a={__isInHtmlInterpolation:!0,__embeddedInHtml:!0};return t.parser==="angular"?a.parser="__ng_interpolation":t.parser==="vue"?a.parser=zl(e,t)?"__vue_ts_expression":"__vue_expression":a.parser="__js_expression",[nt([ce,await n(r.value,a)]),r.parent.next&&nr(r.parent.next)?" ":ce]};break;case"attribute":return U3(e,t);case"front-matter":return n=>D3(r,n);case"angularControlFlowBlockParameters":return W3.has(e.parent.name)?x3:void 0;case"angularLetDeclarationInitializer":return n=>He(r.value,n,{parser:"__ng_binding",__isInHtmlAttribute:!1})}}function Fn(e){if(wn!==null&&typeof wn.property){let t=wn;return wn=Fn.prototype=null,t}return wn=Fn.prototype=e??Object.create(null),new Fn}function e3(e){return Fn(e)}function Nf(e,t="type"){e3(e);function r(n){let a=n[t],o=e[a];if(!Array.isArray(o))throw Object.assign(new Error(`Missing visitor keys for '${a}'.`),{node:n});return o}return s(r,"r"),r}function t3(e){return/^\s*/u.test(e)}function Hf(e){return` - -`+e}function a1(e){let t=vo(e);return e.type==="element"&&!e.endSourceSpan&&Tl(e.children)?Math.max(t,a1($n(!1,e.children,-1))):t}function bn(e,t,r){let n=e.node;if(ho(n)){let a=a1(n);return[ar(n,t),Pe(Ze.trimEnd(t.originalText.slice(go(n)+(n.prev&&yo(n.prev)?kl(n).length:0),a-(n.next&&nr(n.next)?Jn(n,t).length:0)))),rr(n,t)]}return r()}function Ia(e,t){return ze(e)&&ze(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?hi(t)?X:ce:"":hi(t)?X:he:yo(e)&&(ho(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&nr(t)?"":!t.isLeadingSpaceSensitive||hi(t)||nr(t)&&e.lastChild&&Nn(e.lastChild)&&e.lastChild.lastChild&&Nn(e.lastChild.lastChild)?X:t.hasLeadingSpaces?ce:he}function Fl(e,t,r){let{node:n}=e;if(Ud(n))return[_n,...e.map(o=>{let l=o.node,u=l.prev?Ia(l.prev,l):"";return[u?[u,_a(l.prev)?X:""]:"",bn(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,l)=>{let u=o.node;if(ze(u)){if(u.prev&&ze(u.prev)){let y=Ia(u.prev,u);if(y)return _a(u.prev)?[X,X,bn(o,t,r)]:[y,bn(o,t,r)]}return bn(o,t,r)}let c=[],d=[],p=[],g=[],h=u.prev?Ia(u.prev,u):"",f=u.next?Ia(u,u.next):"";return h&&(_a(u.prev)?c.push(X,X):h===X?c.push(X):ze(u.prev)?d.push(h):d.push(Ya("",he,{groupId:a[l-1]}))),f&&(_a(u)?ze(u.next)&&g.push(X,X):f===X?ze(u.next)&&g.push(X):p.push(f)),[...c,ie([...d,ie([bn(o,t,r),...p],{id:a[l]})]),...g]},"children")}function r3(e,t,r){let{node:n}=e,a=[];n3(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",ie(r("parameters")),")"),a.push(" {");let o=o1(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(nt([X,Fl(e,t,r)])),o&&a.push(X,"}")):o&&a.push("}"),ie(a,{shouldBreak:!0})}function o1(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=G3.get(e.name))!=null&&r.has(e.next.name))}function n3(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!ho(t)&&!o1(t)}function a3(e,t,r){return[nt([he,Ur([";",ce],e.map(r,"children"))]),he]}function o3(e,t,r){let{node:n}=e;return[An(n,t),ie([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",nt([ce,Ur(ce,e.map(r,"cases"))])]:"",he]),kn(n,t)]}function i3(e,t,r){let{node:n}=e;return[n.value," {",ie([nt([he,e.map(({node:a})=>a.type==="text"&&!Ze.trim(a.value)?"":r(),"expression")]),he]),"}"]}function l3(e,t,r){let{node:n}=e;if(Vd(n,t))return[ar(n,t),ie(Pi(e,t,r)),Pe(f1(n,t)),...Oi(n,t),rr(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),l=s(p=>ie([ie(Pi(e,t,r),{id:o}),p,Oi(n,t)]),"a"),u=s(p=>a?p4(p,{groupId:o}):(wt(n)||mo(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:nt(p),"o"),c=s(()=>a?Ya(he,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?ce:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?c4(he):he,"u"),d=s(()=>(n.next?nr(n.next):Xn(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Ya(he,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?ce:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp(`\\n[\\t ]{${t.tabWidth*(e.ancestors.length-1)}}$`,"u").test(n.lastChild.value)?"":he,"p");return n.children.length===0?l(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?ce:""):l([D4(n)?_n:"",u([c(),Fl(e,t,r)]),d()])}function ja(e){return e>=9&&e<=32||e==160}function Ni(e){return 48<=e&&e<=57}function Va(e){return e>=97&&e<=122||e>=65&&e<=90}function s3(e){return e>=97&&e<=102||e>=65&&e<=70||Ni(e)}function Vo(e){return e===10||e===13}function Bs(e){return 48<=e&&e<=55}function qo(e){return e===39||e===34||e===96}function $f(e){return e.replace(K3,(...t)=>t[1].toUpperCase())}function jf(e,t){for(let r of Y3)r(e,t);return e}function Vf(e){e.walk(t=>{if(t.type==="element"&&t.tagDefinition.ignoreFirstLf&&t.children.length>0&&t.children[0].type==="text"&&t.children[0].value[0]===` -`){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function qf(e){let t=s(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n{if(n.children)for(let a=0;at.type==="cdata",t=>``)}function Wf(e){let t=s(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!Ze.hasWhitespaceCharacter(r.children[0].value)&&!r.firstChild.hasLeadingSpaces&&!r.firstChild.hasTrailingSpaces&&r.isLeadingSpaceSensitive&&!r.hasLeadingSpaces&&r.isTrailingSpaceSensitive&&!r.hasTrailingSpaces&&((n=r.prev)==null?void 0:n.type)==="text"&&((a=r.next)==null?void 0:a.type)==="text"},"e");e.walk(r=>{if(r.children)for(let n=0;n`+a.firstChild.value+``+l.value,o.sourceSpan=new q(o.sourceSpan.start,l.sourceSpan.end),o.isTrailingSpaceSensitive=l.isTrailingSpaceSensitive,o.hasTrailingSpaces=l.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(l)}})}function Gf(e,t){if(t.parser==="html")return;let r=/\{\{(.+?)\}\}/su;e.walk(n=>{if(v4(n))for(let a of n.children){if(a.type!=="text")continue;let o=a.sourceSpan.start,l=null,u=a.value.split(r);for(let c=0;c0&&n.insertChildBefore(a,{type:"text",value:d,sourceSpan:new q(o,l)});continue}l=o.moveBy(d.length+4),n.insertChildBefore(a,{type:"interpolation",sourceSpan:new q(o,l),children:d.length===0?[]:[{type:"text",value:d,sourceSpan:new q(o.moveBy(2),l.moveBy(-2))}]})}n.removeChild(a)}})}function Kf(e){e.walk(t=>{if(!t.children)return;if(t.children.length===0||t.children.length===1&&t.children[0].type==="text"&&Ze.trim(t.children[0].value).length===0){t.hasDanglingSpaces=t.children.length>0,t.children=[];return}let r=y4(t),n=qd(t);if(!r)for(let a=0;a{t.isSelfClosing=!t.children||t.type==="element"&&(t.tagDefinition.isVoid||t.endSourceSpan&&t.startSourceSpan.start===t.endSourceSpan.start&&t.startSourceSpan.end===t.endSourceSpan.end)})}function Zf(e,t){e.walk(r=>{r.type==="element"&&(r.hasHtmComponentClosingTag=r.endSourceSpan&&/^<\s*\/\s*\/\s*>$/u.test(t.originalText.slice(r.endSourceSpan.start.offset,r.endSourceSpan.end.offset)))})}function Jf(e,t){e.walk(r=>{r.cssDisplay=T4(r,t)})}function Xf(e,t){e.walk(r=>{let{children:n}=r;if(n){if(n.length===0){r.isDanglingSpaceSensitive=E4(r);return}for(let a of n)a.isLeadingSpaceSensitive=b4(a,t),a.isTrailingSpaceSensitive=w4(a,t);for(let a=0;a{!ma[t]&&Ra(t)===null&&(ma[t]=new V({canSelfClose:!1}))})),ma[e]??tm}function Gc(e,t,r=null){let n=[],a=e.visit?o=>e.visit(o,r)||o.visit(e,r):o=>o.visit(e,r);return t.forEach(o=>{let l=a(o);l&&n.push(l)}),n}function th(e,t){if(t!=null&&!(Array.isArray(t)&&t.length==2))throw new Error(`Expected '${e}' to be an array, [start, end].`);if(t!=null){let r=t[0],n=t[1];X3.forEach(a=>{if(a.test(r)||a.test(n))throw new Error(`['${r}', '${n}'] contains unusable interpolation symbol.`)})}}function rh(e,t,r,n={}){let a=new e7(new h1(e,t),r,n);return a.tokenize(),new Q3(c3(a.tokens),a.errors,a.nonNormalizedIcuExpressions)}function wr(e){return`Unexpected character "${e===0?"EOF":String.fromCharCode(e)}"`}function Ms(e){return`Unknown entity "${e}" - use the "&#;" or "&#x;" syntax`}function nh(e,t){return`Unable to parse entity "${t}" - ${e} character reference entities must end with ";"`}function ne(e){return!ja(e)||e===0}function Os(e){return ja(e)||e===62||e===60||e===47||e===39||e===34||e===61||e===0}function ah(e){return(e<97||12257)}function oh(e){return e===59||e===0||!s3(e)}function ih(e){return e===59||e===0||!Va(e)}function lh(e){return e!==125}function sh(e,t){return Kc(e)===Kc(t)}function Kc(e){return e>=97&&e<=122?e-97+65:e}function Ps(e){return Va(e)||Ni(e)||e===95}function Ns(e){return e!==59&&ne(e)}function c3(e){let t=[],r;for(let n=0;n0&&e[e.length-1]===t}function $s(e,t){return Ua[t]!==void 0?Ua[t]||e:/^#x[a-f0-9]+$/i.test(t)?String.fromCodePoint(parseInt(t.slice(2),16)):/^#\d+$/.test(t)?String.fromCodePoint(parseInt(t.slice(1),10)):e}function Yc(e,t={}){let{canSelfClose:r=!1,allowHtmComponentClosingTags:n=!1,isTagNameCaseSensitive:a=!1,getTagContentType:o,tokenizeAngularBlocks:l=!1,tokenizeAngularLetDeclaration:u=!1}=t;return t7().parse(e,"angular-html-parser",{tokenizeExpansionForms:l,interpolationConfig:void 0,canSelfClose:r,allowHtmComponentClosingTags:n,tokenizeBlocks:l,tokenizeLet:u},a,o)}function uh(e,t){let r=new SyntaxError(e+" ("+t.loc.start.line+":"+t.loc.start.column+")");return Object.assign(r,t)}function d3(e){let t=e.slice(0,En);if(t!=="---"&&t!=="+++")return;let r=e.indexOf(` -`,En);if(r===-1)return;let n=e.slice(En,r).trim(),a=e.indexOf(` -${t}`,r),o=n;if(o||(o=t==="+++"?"toml":"yaml"),a===-1&&t==="---"&&o==="yaml"&&(a=e.indexOf(` -...`,r)),a===-1)return;let l=a+1+En,u=e.charAt(l+1);if(!/\s?/u.test(u))return;let c=e.slice(0,l);return{type:"front-matter",language:o,explicitLanguage:n,value:e.slice(r+1,a),startDelimiter:t,endDelimiter:c.slice(-En),raw:c}}function ch(e){let t=d3(e);if(!t)return{content:e};let{raw:r}=t;return{frontMatter:t,content:Ae(!1,r,/[^\n]/gu," ")+e.slice(r.length)}}function dh(e,t){let r=e.map(t);return r.some((n,a)=>n!==e[a])?r:e}function p3(e,t){if(e.value)for(let{regex:r,parse:n}of o7){let a=e.value.match(r);if(a)return n(e,t,a)}return null}function ph(e,t,r){let[,n,a,o]=r,l=4+n.length,u=e.sourceSpan.start.moveBy(l),c=u.moveBy(o.length),[d,p]=(()=>{try{return[!0,t(o,u).children]}catch{return[!1,[{type:"text",value:o,sourceSpan:new q(u,c)}]]}})();return{type:"ieConditionalComment",complete:d,children:p,condition:Ae(!1,a.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan,startSourceSpan:new q(e.sourceSpan.start,u),endSourceSpan:new q(c,e.sourceSpan.end)}}function fh(e,t,r){let[,n]=r;return{type:"ieConditionalStartComment",condition:Ae(!1,n.trim(),/\s+/gu," "),sourceSpan:e.sourceSpan}}function hh(e){return{type:"ieConditionalEndComment",sourceSpan:e.sourceSpan}}function f3(e){if(e.type==="block"){if(e.name=Ae(!1,e.name.toLowerCase(),/\s+/gu," ").trim(),e.type="angularControlFlowBlock",!Tl(e.parameters)){delete e.parameters;return}for(let t of e.parameters)t.type="angularControlFlowBlockParameter";e.parameters={type:"angularControlFlowBlockParameters",children:e.parameters,sourceSpan:new q(e.parameters[0].sourceSpan.start,$n(!1,e.parameters,-1).sourceSpan.end)}}}function h3(e){e.type==="letDeclaration"&&(e.type="angularLetDeclaration",e.id=e.name,e.init={type:"angularLetDeclarationInitializer",sourceSpan:new q(e.valueSpan.start,e.valueSpan.end),value:e.value},delete e.name,delete e.value)}function m3(e){(e.type==="plural"||e.type==="select")&&(e.clause=e.type,e.type="angularIcuExpression"),e.type==="expansionCase"&&(e.type="angularIcuCase")}function i1(e,t,r){let{name:n,canSelfClose:a=!0,normalizeTagName:o=!1,normalizeAttributeName:l=!1,allowHtmComponentClosingTags:u=!1,isTagNameCaseSensitive:c=!1,shouldParseAsRawText:d}=t,{rootNodes:p,errors:g}=Yc(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c,getTagContentType:d?(...D)=>d(...D)?Ye.RAW_TEXT:void 0:void 0,tokenizeAngularBlocks:n==="angular"?!0:void 0,tokenizeAngularLetDeclaration:n==="angular"?!0:void 0});if(n==="vue"){if(p.some(C=>C.type==="docType"&&C.value==="html"||C.type==="element"&&C.name.toLowerCase()==="html"))return i1(e,e0,r);let D,E=s(()=>D??(D=Yc(e,{canSelfClose:a,allowHtmComponentClosingTags:u,isTagNameCaseSensitive:c})),"y"),b=s(C=>E().rootNodes.find(({startSourceSpan:S})=>S&&S.start.offset===C.startSourceSpan.start.offset)??C,"M");for(let[C,S]of p.entries()){let{endSourceSpan:A,startSourceSpan:k}=S;if(A===null)g=E().errors,p[C]=b(S);else if(g3(S,r)){let _=E().errors.find(I=>I.span.start.offset>k.start.offset&&I.span.start.offset0&&Zc(g[0]);let h=s(D=>{let E=D.name.startsWith(":")?D.name.slice(1).split(":")[0]:null,b=D.nameSpan.toString(),C=E!==null&&b.startsWith(`${E}:`),S=C?b.slice(E.length+1):b;D.name=S,D.namespace=E,D.hasExplicitNamespace=C},"d"),f=s(D=>{switch(D.type){case"element":h(D);for(let E of D.attrs)h(E),E.valueSpan?(E.value=E.valueSpan.toString(),/["']/u.test(E.value[0])&&(E.value=E.value.slice(1,-1))):E.value=null;break;case"comment":D.value=D.sourceSpan.toString().slice(4,-3);break;case"text":D.value=D.sourceSpan.toString();break}},"C"),y=s((D,E)=>{let b=D.toLowerCase();return E(b)?b:D},"A"),m=s(D=>{if(D.type==="element"&&(o&&(!D.namespace||D.namespace===D.tagDefinition.implicitNamespacePrefix||jn(D))&&(D.name=y(D.name,E=>i7.has(E))),l))for(let E of D.attrs)E.namespace||(E.name=y(E.name,b=>vi.has(D.name)&&(vi.get("*").has(b)||vi.get(D.name).has(b))))},"D"),w=s(D=>{D.sourceSpan&&D.endSourceSpan&&(D.sourceSpan=new q(D.sourceSpan.start,D.endSourceSpan.end))},"R"),x=s(D=>{if(D.type==="element"){let E=Hi(c?D.name:D.name.toLowerCase());!D.namespace||D.namespace===E.implicitNamespacePrefix||jn(D)?D.tagDefinition=E:D.tagDefinition=Hi("")}},"F");return Gc(new class extends J3{visitExpansionCase(D,E){n==="angular"&&this.visitChildren(E,b=>{b(D.expression)})}visit(D){f(D),x(D),m(D),w(D)}},p),p}function g3(e,t){var r;if(e.type!=="element"||e.name!=="template")return!1;let n=(r=e.attrs.find(a=>a.name==="lang"))==null?void 0:r.value;return!n||Eo(t,{language:n})==="html"}function Zc(e){let{msg:t,span:{start:r,end:n}}=e;throw r7(t,{loc:{start:{line:r.line+1,column:r.col+1},end:{line:n.line+1,column:n.col+1}},cause:e})}function l1(e,t,r={},n=!0){let{frontMatter:a,content:o}=n?n7(e):{frontMatter:null,content:e},l=new h1(e,r.filepath),u=new Wi(l,0,0,0),c=u.moveBy(e.length),d={type:"root",sourceSpan:new q(u,c),children:i1(o,t,r)};if(a){let h=new Wi(l,0,0,0),f=h.moveBy(a.raw.length);a.sourceSpan=new q(h,f),d.children.unshift(a)}let p=new a7(d),g=s((h,f)=>{let{offset:y}=f,m=Ae(!1,e.slice(0,y),/[^\n\r]/gu," "),w=l1(m+h,t,r,!1);w.sourceSpan=new q(f,$n(!1,w.children,-1).sourceSpan.end);let x=w.children[0];return x.length===y?w.children.shift():(x.sourceSpan=new q(x.sourceSpan.start.moveBy(y),x.sourceSpan.end),x.value=x.value.slice(y)),w},"f");return p.walk(h=>{if(h.type==="comment"){let f=p3(h,g);f&&h.parent.replaceChild(h,f)}f3(h),h3(h),m3(h)}),p}function ha(e){return{parse:s((t,r)=>l1(t,e,r),"parse"),hasPragma:t3,astFormat:"html",locStart:go,locEnd:vo}}var mh,js,Vs,qs,It,gh,vh,Us,yh,Ae,_l,Il,$i,Ja,Xa,ji,Hn,Qa,eo,to,Vi,qi,Zt,Ui,qa,s1,Rl,v3,Ws,bh,u1,Gs,or,Bl,_n,wh,Eh,ce,he,X,y3,Dh,$n,za,Jc,b3,We,Ks,xh,Ch,Sh,kh,Ze,Ys,Ah,w3,wo,Fh,E3,_h,D3,x3,C3,Eo,S3,k3,A3,F3,jn,Ih,c1,_3,I3,d1,R3,B3,z3,T3,L3,M3,O3,P3,N3,Xc,H3,$3,Qc,j3,V3,mi,zl,q3,U3,Zs,p1,Tl,f1,W3,Rh,wn,Bh,zh,Th,Lh,Mh,Oh,G3,K3,Uo,Wi,Js,h1,Xs,q,Wo,Qs,eu,Y3,Ph,Nh,Hh,$h,tu,ru,jh,Vh,nu,qh,Uh,Wh,au,ou,Rr,Gh,Ye,gi,iu,Kh,Yh,Zh,Jh,Xh,Qh,lu,em,su,Z3,uu,V,tm,ma,cu,Er,du,rm,pu,nm,fu,am,hu,om,mu,im,gu,Rt,vu,lm,yu,sm,bu,Dr,wu,Eu,Du,xu,Cu,J3,Ua,um,X3,Go,cm,Su,ku,Ko,Au,Q3,dm,Yo,Fu,Zo,_u,e7,ga,Iu,va,pm,Ru,Jo,Xo,ye,Bu,fm,zu,hm,Qo,mm,Tu,gm,ei,t7,r7,En,n7,ya,Lu,xr,a7,o7,vi,i7,e0,vm,ym,bm,wm,Em,l7,E9=B(()=>{mh=Object.defineProperty,js=s(e=>{throw TypeError(e)},"Xr"),Vs=s((e,t)=>{for(var r in t)mh(e,r,{get:t[r],enumerable:!0})},"Jr"),qs=s((e,t,r)=>t.has(e)||js("Cannot "+r),"Zr"),It=s((e,t,r)=>(qs(e,t,"read from private field"),r?r.call(e):t.get(e)),"Q"),gh=s((e,t,r)=>t.has(e)?js("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"en"),vh=s((e,t,r,n)=>(qs(e,t,"write to private field"),n?n.call(e,r):t.set(e,r),r),"tn"),Us={},Vs(Us,{languages:s(()=>$h,"languages"),options:s(()=>Vh,"options"),parsers:s(()=>nu,"parsers"),printers:s(()=>Em,"printers")}),yh=s((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"si"),Ae=yh,_l="string",Il="array",$i="cursor",Ja="indent",Xa="align",ji="trim",Hn="group",Qa="fill",eo="if-break",to="indent-if-break",Vi="line-suffix",qi="line-suffix-boundary",Zt="line",Ui="label",qa="break-parent",s1=new Set([$i,Ja,Xa,ji,Hn,Qa,eo,to,Vi,qi,Zt,Ui,qa]),s(wf,"ii"),Rl=wf,v3=s(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"ai"),s(Ef,"oi"),bh=(Ws=class extends Error{constructor(t){super(Ef(t));sn(this,"name","InvalidDocError");this.doc=t}},s(Ws,"lr"),Ws),u1=bh,Gs=s(()=>{},"rn"),or=Gs,Bl=Gs,s(nt,"k"),s($d,"nn"),s(ie,"_"),s(c4,"sn"),s(d4,"an"),s(jd,"At"),s(Ya,"ge"),s(p4,"on"),_n={type:qa},wh={type:Zt,hard:!0},Eh={type:Zt,hard:!0,literal:!0},ce={type:Zt},he={type:Zt,soft:!0},X=[wh,_n],y3=[Eh,_n],s(Ur,"q"),Dh=s((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"ci"),$n=Dh,s(Dl,"Dt"),s(f4,"pi"),s(h4,"ln"),s(Pe,"B"),za="'",Jc='"',s(Df,"hi"),b3=Df,s(xf,"cr"),xh=(Ks=class{constructor(e){gh(this,We),vh(this,We,new Set(e))}getLeadingWhitespaceCount(e){let t=It(this,We),r=0;for(let n=0;n=0&&t.has(e.charAt(n));n--)r++;return r}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return It(this,We).has(e.charAt(0))}hasTrailingWhitespace(e){return It(this,We).has($n(!1,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let r=`[${xf([...It(this,We)].join(""))}]+`,n=new RegExp(t?`(${r})`:r,"u");return e.split(n)}hasWhitespaceCharacter(e){let t=It(this,We);return Array.prototype.some.call(e,r=>t.has(r))}hasNonWhitespaceCharacter(e){let t=It(this,We);return Array.prototype.some.call(e,r=>!t.has(r))}isWhitespaceOnly(e){let t=It(this,We);return Array.prototype.every.call(e,r=>t.has(r))}},s(Ks,"pr"),Ks),We=new WeakMap,Ch=xh,Sh=[" ",` -`,"\f","\r"," "],kh=new Ch(Sh),Ze=kh,Ah=(Ys=class extends Error{constructor(t,r,n="type"){super(`Unexpected ${r} node ${n}: ${JSON.stringify(t[n])}.`);sn(this,"name","UnexpectedNodeError");this.node=t}},s(Ys,"hr"),Ys),w3=Ah,s(Cf,"di"),wo=Cf,Fh=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),E3=new Set(["if","else if","for","switch","case"]),s(Rs,"fn"),Rs.ignoredProperties=Fh,_h=Rs,s(Sf,"Si"),D3=Sf,s(fo,"Ce"),s(Wr,"j"),s(He,"T"),s(kf,"_i"),x3=kf,C3=s(e=>String(e).split(/[/\\]/u).pop(),"Ei"),s(qc,"Sn"),s(m4,"Ai"),s(Af,"Di"),Eo=Af,S3="inline",k3={area:"none",base:"none",basefont:"none",datalist:"none",head:"none",link:"none",meta:"none",noembed:"none",noframes:"none",param:"block",rp:"none",script:"block",style:"none",template:"inline",title:"none",html:"block",body:"block",address:"block",blockquote:"block",center:"block",dialog:"block",div:"block",figure:"block",figcaption:"block",footer:"block",form:"block",header:"block",hr:"block",legend:"block",listing:"block",main:"block",p:"block",plaintext:"block",pre:"block",search:"block",xmp:"block",slot:"contents",ruby:"ruby",rt:"ruby-text",article:"block",aside:"block",h1:"block",h2:"block",h3:"block",h4:"block",h5:"block",h6:"block",hgroup:"block",nav:"block",section:"block",dir:"block",dd:"block",dl:"block",dt:"block",menu:"block",ol:"block",ul:"block",li:"list-item",table:"table",caption:"table-caption",colgroup:"table-column-group",col:"table-column",thead:"table-header-group",tbody:"table-row-group",tfoot:"table-footer-group",tr:"table-row",td:"table-cell",th:"table-cell",input:"inline-block",button:"inline-block",fieldset:"block",marquee:"inline-block",source:"block",track:"block",details:"block",summary:"block",meter:"inline-block",progress:"inline-block",object:"inline-block",video:"inline-block",audio:"inline-block",select:"inline-block",option:"block",optgroup:"block"},A3="normal",F3={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},s(Ff,"vi"),jn=Ff,Ih=s(e=>Ae(!1,e,/^[\t\f\r ]*\n/gu,""),"yi"),c1=s(e=>Ih(Ze.trimEnd(e)),"mr"),_3=s(e=>{let t=e,r=Ze.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=Ze.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"vn"),s(Vd,"yt"),s(ho,"Ee"),s(g4,"wi"),s(ze,"$"),s(wt,"U"),s(v4,"yn"),s(y4,"wn"),s(qd,"fr"),s(b4,"bn"),s(w4,"Tn"),s(E4,"xn"),s(_a,"Qe"),s(D4,"kn"),s(Ud,"dr"),s(hi,"wt"),s(x4,"bi"),s(Wd,"Bn"),s(Gd,"Ln"),s(Kd,"Fn"),s(Yd,"Nn"),s(xl,"bt"),s(C4,"Ti"),s(Zd,"Pn"),s(S4,"xi"),s(k4,"ki"),s(A4,"Bi"),s(Uc,"gr"),s(Zn,"Xe"),s(F4,"Li"),s(_4,"Fi"),s(I4,"Ni"),s(R4,"Pi"),s(B4,"Ii"),s(Nr,"_e"),s(z4,"Ri"),s(T4,"In"),s(Jd,"Rn"),s(L4,"$i"),s(Xd,"Cr"),s(Qd,"Sr"),s($t,"P"),I3=new Set(["template","style","script"]),s(mo,"Je"),s(Gr,"Ae"),s(Cl,"Tt"),s(M4,"$n"),s(O4,"On"),s(e1,"xt"),s(t1,"kt"),d1=/\{\{(.+?)\}\}/su,s(P4,"Mn"),s(jo,"Er"),R3=jo({parser:"__ng_action"}),B3=jo({parser:"__ng_binding"}),z3=jo({parser:"__ng_directive"}),s(_f,"Vi"),T3=_f,s(If,"Ui"),L3=If,s(Wc,"Vn"),M3=/^[ \t\n\r\u000c]+/,O3=/^[, \t\n\r\u000c]+/,P3=/^[^ \t\n\r\u000c]+/,N3=/[,]+$/,Xc=/^\d+$/,H3=/^-?(?:[0-9]+|[0-9]*\.[0-9]+)(?:[eE][+-]?[0-9]+)?$/,s(Rf,"Ki"),$3=Rf,s(Bf,"Qi"),Qc={width:"w",height:"h",density:"x"},j3=Object.keys(Qc),s(N4,"Ji"),V3=Bf,s(H4,"Yn"),mi=new WeakMap,s(zf,"Zi"),zl=zf,s($4,"jn"),s(j4,"Kn"),s(V4,"Qn"),s(q4,"Xn"),s(U4,"ea"),s(Tf,"ta"),s(W4,"ra"),s(G4,"na"),s(r1,"Jn"),q3=Tf,s(Lf,"sa"),s(K4,"ia"),U3=Lf,Zs=new Proxy(()=>{},{get:s(()=>Zs,"get")}),p1=Zs,s(Mf,"aa"),Tl=Mf,s(go,"se"),s(vo,"ie"),s(Oi,"Ze"),s(Y4,"oa"),s(kn,"De"),s(Z4,"ua"),s(rr,"W"),s(Sl,"Bt"),s(Jn,"ve"),s(n1,"rs"),s(nr,"K"),s(Xn,"ye"),s(Nn,"we"),s(yo,"et"),s(J4,"la"),s(bo,"tt"),s(X4,"ca"),s(Q4,"pa"),s(Pi,"rt"),s(An,"be"),s(ar,"z"),s(kl,"Lt"),s(Al,"Ft"),s(Of,"ha"),f1=Of,W3=new Set(["if","else if","for","switch","case"]),s(Pf,"fa"),Rh=Pf,wn=null,s(Fn,"st"),Bh=10;for(let e=0;e<=Bh;e++)Fn();s(e3,"vr"),s(Nf,"ga"),zh=Nf,Th={"front-matter":[],root:["children"],element:["attrs","children"],ieConditionalComment:["children"],ieConditionalStartComment:[],ieConditionalEndComment:[],interpolation:["children"],text:["children"],docType:[],comment:[],attribute:[],cdata:[],angularControlFlowBlock:["children","parameters"],angularControlFlowBlockParameters:["children"],angularControlFlowBlockParameter:[],angularLetDeclaration:["init"],angularLetDeclarationInitializer:[],angularIcuExpression:["cases"],angularIcuCase:["expression"]},Lh=Th,Mh=zh(Lh),Oh=Mh,s(t3,"os"),s(Hf,"us"),G3=new Map([["if",new Set(["else if","else"])],["else if",new Set(["else if","else"])],["for",new Set(["empty"])],["defer",new Set(["placeholder","error","loading"])],["placeholder",new Set(["placeholder","error","loading"])],["error",new Set(["placeholder","error","loading"])],["loading",new Set(["placeholder","error","loading"])]]),s(a1,"cs"),s(bn,"it"),s(Ia,"Pt"),s(Fl,"He"),s(r3,"ps"),s(o1,"hs"),s(n3,"_a"),s(a3,"ms"),s(o3,"fs"),s(i3,"ds"),s(l3,"gs"),s(ja,"at"),s(Ni,"It"),s(Va,"ot"),s(s3,"Cs"),s(Vo,"Rt"),s(Bs,"yr"),s(qo,"$t"),K3=/-+([a-z0-9])/g,s($f,"_s"),Wi=(Uo=class{constructor(e,t,r,n){this.file=e,this.offset=t,this.line=r,this.col=n}toString(){return this.offset!=null?`${this.file.url}@${this.line}:${this.col}`:this.file.url}moveBy(e){let t=this.file.content,r=t.length,n=this.offset,a=this.line,o=this.col;for(;n>0&&e<0;)if(n--,e++,t.charCodeAt(n)==10){a--;let l=t.substring(0,n-1).lastIndexOf(` -`);o=l>0?n-l:n}else o--;for(;n0;){let l=t.charCodeAt(n);n++,e--,l==10?(a++,o=0):o++}return new Uo(this.file,n,a,o)}getContext(e,t){let r=this.file.content,n=this.offset;if(n!=null){n>r.length-1&&(n=r.length-1);let a=n,o=0,l=0;for(;o0&&(n--,o++,!(r[n]==` -`&&++l==t)););for(o=0,l=0;o]${e.after}")`:this.msg}toString(){let e=this.span.details?`, ${this.span.details}`:"";return`${this.contextualMessage()}: ${this.span.start}${e}`}},s(Qs,"Ue"),Qs),Y3=[Vf,qf,Uf,Gf,Kf,Jf,Yf,Zf,Xf,Wf],s(jf,"Da"),s(Vf,"va"),s(qf,"ya"),s(u3,"wa"),s(Uf,"ba"),s(Wf,"Ta"),s(Gf,"xa"),s(Kf,"ka"),s(Yf,"Ba"),s(Zf,"La"),s(Jf,"Fa"),s(Xf,"Na"),Ph=jf,s(Qf,"Pa"),Nh={preprocess:Ph,print:Qf,insertPragma:Hf,massageAstNode:_h,embed:Rh,getVisitorKeys:Oh},Hh=Nh,$h=[{linguistLanguageId:146,name:"Angular",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".component.html"],parsers:["angular"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:146,name:"HTML",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[".html",".hta",".htm",".html.hl",".inc",".xht",".xhtml",".mjml"],parsers:["html"],vscodeLanguageIds:["html"]},{linguistLanguageId:146,name:"Lightning Web Components",type:"markup",tmScope:"text.html.basic",aceMode:"html",codemirrorMode:"htmlmixed",codemirrorMimeType:"text/html",color:"#e34c26",aliases:["xhtml"],extensions:[],parsers:["lwc"],vscodeLanguageIds:["html"],filenames:[]},{linguistLanguageId:391,name:"Vue",type:"markup",color:"#41b883",extensions:[".vue"],tmScope:"text.html.vue",aceMode:"html",parsers:["vue"],vscodeLanguageIds:["vue"]}],tu={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},proseWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap prose.",choices:[{value:"always",description:"Wrap prose if it exceeds the print width."},{value:"never",description:"Do not wrap prose."},{value:"preserve",description:"Wrap prose as-is."}]},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},ru="HTML",jh={bracketSameLine:tu.bracketSameLine,htmlWhitespaceSensitivity:{category:ru,type:"choice",default:"css",description:"How to handle whitespaces in HTML.",choices:[{value:"css",description:"Respect the default value of CSS display property."},{value:"strict",description:"Whitespaces are considered sensitive."},{value:"ignore",description:"Whitespaces are considered insensitive."}]},singleAttributePerLine:tu.singleAttributePerLine,vueIndentScriptAndStyle:{category:ru,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Vh=jh,nu={},Vs(nu,{angular:s(()=>ym,"angular"),html:s(()=>vm,"html"),lwc:s(()=>wm,"lwc"),vue:s(()=>bm,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(qh||(qh={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Uh||(Uh={})),function(e){e[e.None=0]="None",e[e.SignalBased=1]="SignalBased",e[e.HasDecoratorInputTransform=2]="HasDecoratorInputTransform"}(Wh||(Wh={})),au={name:"custom-elements"},ou={name:"no-errors-schema"},function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Rr||(Rr={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(Gh||(Gh={})),function(e){e[e.RAW_TEXT=0]="RAW_TEXT",e[e.ESCAPABLE_RAW_TEXT=1]="ESCAPABLE_RAW_TEXT",e[e.PARSABLE_DATA=2]="PARSABLE_DATA"}(Ye||(Ye={})),s(Za,"ut"),s(zs,"xr"),s(Ts,"kr"),s(Ra,"We"),s(fa,"ze"),s(Ls,"Br"),s(Ba,"Mt"),Kh=(iu=class{},s(iu,"Ht"),iu),Yh="boolean",Zh="number",Jh="string",Xh="object",Qh=["[Element]|textContent,%ariaAtomic,%ariaAutoComplete,%ariaBusy,%ariaChecked,%ariaColCount,%ariaColIndex,%ariaColSpan,%ariaCurrent,%ariaDescription,%ariaDisabled,%ariaExpanded,%ariaHasPopup,%ariaHidden,%ariaKeyShortcuts,%ariaLabel,%ariaLevel,%ariaLive,%ariaModal,%ariaMultiLine,%ariaMultiSelectable,%ariaOrientation,%ariaPlaceholder,%ariaPosInSet,%ariaPressed,%ariaReadOnly,%ariaRelevant,%ariaRequired,%ariaRoleDescription,%ariaRowCount,%ariaRowIndex,%ariaRowSpan,%ariaSelected,%ariaSetSize,%ariaSort,%ariaValueMax,%ariaValueMin,%ariaValueNow,%ariaValueText,%classList,className,elementTiming,id,innerHTML,*beforecopy,*beforecut,*beforepaste,*fullscreenchange,*fullscreenerror,*search,*webkitfullscreenchange,*webkitfullscreenerror,outerHTML,%part,#scrollLeft,#scrollTop,slot,*message,*mozfullscreenchange,*mozfullscreenerror,*mozpointerlockchange,*mozpointerlockerror,*webglcontextcreationerror,*webglcontextlost,*webglcontextrestored","[HTMLElement]^[Element]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,!inert,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","abbr,address,article,aside,b,bdi,bdo,cite,content,code,dd,dfn,dt,em,figcaption,figure,footer,header,hgroup,i,kbd,main,mark,nav,noscript,rb,rp,rt,rtc,ruby,s,samp,section,small,strong,sub,sup,u,var,wbr^[HTMLElement]|accessKey,autocapitalize,!autofocus,contentEditable,dir,!draggable,enterKeyHint,!hidden,innerText,inputMode,lang,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,outerText,!spellcheck,%style,#tabIndex,title,!translate,virtualKeyboardPolicy","media^[HTMLElement]|!autoplay,!controls,%controlsList,%crossOrigin,#currentTime,!defaultMuted,#defaultPlaybackRate,!disableRemotePlayback,!loop,!muted,*encrypted,*waitingforkey,#playbackRate,preload,!preservesPitch,src,%srcObject,#volume",":svg:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contextmenu,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":svg:graphics^:svg:|",":svg:animation^:svg:|*begin,*end,*repeat",":svg:geometry^:svg:|",":svg:componentTransferFunction^:svg:|",":svg:gradient^:svg:|",":svg:textContent^:svg:graphics|",":svg:textPositioning^:svg:textContent|","a^[HTMLElement]|charset,coords,download,hash,host,hostname,href,hreflang,name,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,rev,search,shape,target,text,type,username","area^[HTMLElement]|alt,coords,download,hash,host,hostname,href,!noHref,password,pathname,ping,port,protocol,referrerPolicy,rel,%relList,search,shape,target,username","audio^media|","br^[HTMLElement]|clear","base^[HTMLElement]|href,target","body^[HTMLElement]|aLink,background,bgColor,link,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,text,vLink","button^[HTMLElement]|!disabled,formAction,formEnctype,formMethod,!formNoValidate,formTarget,name,type,value","canvas^[HTMLElement]|#height,#width","content^[HTMLElement]|select","dl^[HTMLElement]|!compact","data^[HTMLElement]|value","datalist^[HTMLElement]|","details^[HTMLElement]|!open","dialog^[HTMLElement]|!open,returnValue","dir^[HTMLElement]|!compact","div^[HTMLElement]|align","embed^[HTMLElement]|align,height,name,src,type,width","fieldset^[HTMLElement]|!disabled,name","font^[HTMLElement]|color,face,size","form^[HTMLElement]|acceptCharset,action,autocomplete,encoding,enctype,method,name,!noValidate,target","frame^[HTMLElement]|frameBorder,longDesc,marginHeight,marginWidth,name,!noResize,scrolling,src","frameset^[HTMLElement]|cols,*afterprint,*beforeprint,*beforeunload,*blur,*error,*focus,*hashchange,*languagechange,*load,*message,*messageerror,*offline,*online,*pagehide,*pageshow,*popstate,*rejectionhandled,*resize,*scroll,*storage,*unhandledrejection,*unload,rows","hr^[HTMLElement]|align,color,!noShade,size,width","head^[HTMLElement]|","h1,h2,h3,h4,h5,h6^[HTMLElement]|align","html^[HTMLElement]|version","iframe^[HTMLElement]|align,allow,!allowFullscreen,!allowPaymentRequest,csp,frameBorder,height,loading,longDesc,marginHeight,marginWidth,name,referrerPolicy,%sandbox,scrolling,src,srcdoc,width","img^[HTMLElement]|align,alt,border,%crossOrigin,decoding,#height,#hspace,!isMap,loading,longDesc,lowsrc,name,referrerPolicy,sizes,src,srcset,useMap,#vspace,#width","input^[HTMLElement]|accept,align,alt,autocomplete,!checked,!defaultChecked,defaultValue,dirName,!disabled,%files,formAction,formEnctype,formMethod,!formNoValidate,formTarget,#height,!incremental,!indeterminate,max,#maxLength,min,#minLength,!multiple,name,pattern,placeholder,!readOnly,!required,selectionDirection,#selectionEnd,#selectionStart,#size,src,step,type,useMap,value,%valueAsDate,#valueAsNumber,#width","li^[HTMLElement]|type,#value","label^[HTMLElement]|htmlFor","legend^[HTMLElement]|align","link^[HTMLElement]|as,charset,%crossOrigin,!disabled,href,hreflang,imageSizes,imageSrcset,integrity,media,referrerPolicy,rel,%relList,rev,%sizes,target,type","map^[HTMLElement]|name","marquee^[HTMLElement]|behavior,bgColor,direction,height,#hspace,#loop,#scrollAmount,#scrollDelay,!trueSpeed,#vspace,width","menu^[HTMLElement]|!compact","meta^[HTMLElement]|content,httpEquiv,media,name,scheme","meter^[HTMLElement]|#high,#low,#max,#min,#optimum,#value","ins,del^[HTMLElement]|cite,dateTime","ol^[HTMLElement]|!compact,!reversed,#start,type","object^[HTMLElement]|align,archive,border,code,codeBase,codeType,data,!declare,height,#hspace,name,standby,type,useMap,#vspace,width","optgroup^[HTMLElement]|!disabled,label","option^[HTMLElement]|!defaultSelected,!disabled,label,!selected,text,value","output^[HTMLElement]|defaultValue,%htmlFor,name,value","p^[HTMLElement]|align","param^[HTMLElement]|name,type,value,valueType","picture^[HTMLElement]|","pre^[HTMLElement]|#width","progress^[HTMLElement]|#max,#value","q,blockquote,cite^[HTMLElement]|","script^[HTMLElement]|!async,charset,%crossOrigin,!defer,event,htmlFor,integrity,!noModule,%referrerPolicy,src,text,type","select^[HTMLElement]|autocomplete,!disabled,#length,!multiple,name,!required,#selectedIndex,#size,value","slot^[HTMLElement]|name","source^[HTMLElement]|#height,media,sizes,src,srcset,type,#width","span^[HTMLElement]|","style^[HTMLElement]|!disabled,media,type","caption^[HTMLElement]|align","th,td^[HTMLElement]|abbr,align,axis,bgColor,ch,chOff,#colSpan,headers,height,!noWrap,#rowSpan,scope,vAlign,width","col,colgroup^[HTMLElement]|align,ch,chOff,#span,vAlign,width","table^[HTMLElement]|align,bgColor,border,%caption,cellPadding,cellSpacing,frame,rules,summary,%tFoot,%tHead,width","tr^[HTMLElement]|align,bgColor,ch,chOff,vAlign","tfoot,thead,tbody^[HTMLElement]|align,ch,chOff,vAlign","template^[HTMLElement]|","textarea^[HTMLElement]|autocomplete,#cols,defaultValue,dirName,!disabled,#maxLength,#minLength,name,placeholder,!readOnly,!required,#rows,selectionDirection,#selectionEnd,#selectionStart,value,wrap","time^[HTMLElement]|dateTime","title^[HTMLElement]|text","track^[HTMLElement]|!default,kind,label,src,srclang","ul^[HTMLElement]|!compact,type","unknown^[HTMLElement]|","video^media|!disablePictureInPicture,#height,*enterpictureinpicture,*leavepictureinpicture,!playsInline,poster,#width",":svg:a^:svg:graphics|",":svg:animate^:svg:animation|",":svg:animateMotion^:svg:animation|",":svg:animateTransform^:svg:animation|",":svg:circle^:svg:geometry|",":svg:clipPath^:svg:graphics|",":svg:defs^:svg:graphics|",":svg:desc^:svg:|",":svg:discard^:svg:|",":svg:ellipse^:svg:geometry|",":svg:feBlend^:svg:|",":svg:feColorMatrix^:svg:|",":svg:feComponentTransfer^:svg:|",":svg:feComposite^:svg:|",":svg:feConvolveMatrix^:svg:|",":svg:feDiffuseLighting^:svg:|",":svg:feDisplacementMap^:svg:|",":svg:feDistantLight^:svg:|",":svg:feDropShadow^:svg:|",":svg:feFlood^:svg:|",":svg:feFuncA^:svg:componentTransferFunction|",":svg:feFuncB^:svg:componentTransferFunction|",":svg:feFuncG^:svg:componentTransferFunction|",":svg:feFuncR^:svg:componentTransferFunction|",":svg:feGaussianBlur^:svg:|",":svg:feImage^:svg:|",":svg:feMerge^:svg:|",":svg:feMergeNode^:svg:|",":svg:feMorphology^:svg:|",":svg:feOffset^:svg:|",":svg:fePointLight^:svg:|",":svg:feSpecularLighting^:svg:|",":svg:feSpotLight^:svg:|",":svg:feTile^:svg:|",":svg:feTurbulence^:svg:|",":svg:filter^:svg:|",":svg:foreignObject^:svg:graphics|",":svg:g^:svg:graphics|",":svg:image^:svg:graphics|decoding",":svg:line^:svg:geometry|",":svg:linearGradient^:svg:gradient|",":svg:mpath^:svg:|",":svg:marker^:svg:|",":svg:mask^:svg:|",":svg:metadata^:svg:|",":svg:path^:svg:geometry|",":svg:pattern^:svg:|",":svg:polygon^:svg:geometry|",":svg:polyline^:svg:geometry|",":svg:radialGradient^:svg:gradient|",":svg:rect^:svg:geometry|",":svg:svg^:svg:graphics|#currentScale,#zoomAndPan",":svg:script^:svg:|type",":svg:set^:svg:animation|",":svg:stop^:svg:|",":svg:style^:svg:|!disabled,media,title,type",":svg:switch^:svg:graphics|",":svg:symbol^:svg:|",":svg:tspan^:svg:textPositioning|",":svg:text^:svg:textPositioning|",":svg:textPath^:svg:textContent|",":svg:title^:svg:|",":svg:use^:svg:graphics|",":svg:view^:svg:|#zoomAndPan","data^[HTMLElement]|value","keygen^[HTMLElement]|!autofocus,challenge,!disabled,form,keytype,name","menuitem^[HTMLElement]|type,label,icon,!disabled,!checked,radiogroup,!default","summary^[HTMLElement]|","time^[HTMLElement]|dateTime",":svg:cursor^:svg:|",":math:^[HTMLElement]|!autofocus,nonce,*abort,*animationend,*animationiteration,*animationstart,*auxclick,*beforeinput,*beforematch,*beforetoggle,*beforexrselect,*blur,*cancel,*canplay,*canplaythrough,*change,*click,*close,*contentvisibilityautostatechange,*contextlost,*contextmenu,*contextrestored,*copy,*cuechange,*cut,*dblclick,*drag,*dragend,*dragenter,*dragleave,*dragover,*dragstart,*drop,*durationchange,*emptied,*ended,*error,*focus,*formdata,*gotpointercapture,*input,*invalid,*keydown,*keypress,*keyup,*load,*loadeddata,*loadedmetadata,*loadstart,*lostpointercapture,*mousedown,*mouseenter,*mouseleave,*mousemove,*mouseout,*mouseover,*mouseup,*mousewheel,*paste,*pause,*play,*playing,*pointercancel,*pointerdown,*pointerenter,*pointerleave,*pointermove,*pointerout,*pointerover,*pointerrawupdate,*pointerup,*progress,*ratechange,*reset,*resize,*scroll,*scrollend,*securitypolicyviolation,*seeked,*seeking,*select,*selectionchange,*selectstart,*slotchange,*stalled,*submit,*suspend,*timeupdate,*toggle,*transitioncancel,*transitionend,*transitionrun,*transitionstart,*volumechange,*waiting,*webkitanimationend,*webkitanimationiteration,*webkitanimationstart,*webkittransitionend,*wheel,%style,#tabIndex",":math:math^:math:|",":math:maction^:math:|",":math:menclose^:math:|",":math:merror^:math:|",":math:mfenced^:math:|",":math:mfrac^:math:|",":math:mi^:math:|",":math:mmultiscripts^:math:|",":math:mn^:math:|",":math:mo^:math:|",":math:mover^:math:|",":math:mpadded^:math:|",":math:mphantom^:math:|",":math:mroot^:math:|",":math:mrow^:math:|",":math:ms^:math:|",":math:mspace^:math:|",":math:msqrt^:math:|",":math:mstyle^:math:|",":math:msub^:math:|",":math:msubsup^:math:|",":math:msup^:math:|",":math:mtable^:math:|",":math:mtd^:math:|",":math:mtext^:math:|",":math:mtr^:math:|",":math:munder^:math:|",":math:munderover^:math:|",":math:semantics^:math:|"],lu=new Map(Object.entries({class:"className",for:"htmlFor",formaction:"formAction",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"})),em=Array.from(lu).reduce((e,[t,r])=>(e.set(t,r),e),new Map),Z3=(su=class extends Kh{constructor(){super(),this._schema=new Map,this._eventSchema=new Map,Qh.forEach(e=>{let t=new Map,r=new Set,[n,a]=e.split("|"),o=a.split(","),[l,u]=n.split("^");l.split(",").forEach(d=>{this._schema.set(d.toLowerCase(),t),this._eventSchema.set(d.toLowerCase(),r)});let c=u&&this._schema.get(u.toLowerCase());if(c){for(let[d,p]of c)t.set(d,p);for(let d of this._eventSchema.get(u.toLowerCase()))r.add(d)}o.forEach(d=>{if(d.length>0)switch(d[0]){case"*":r.add(d.substring(1));break;case"!":t.set(d.substring(1),Yh);break;case"#":t.set(d.substring(1),Zh);break;case"%":t.set(d.substring(1),Xh);break;default:t.set(d,Jh)}})})}hasProperty(e,t,r){if(r.some(n=>n.name===ou.name))return!0;if(e.indexOf("-")>-1){if(zs(e)||Ts(e))return!1;if(r.some(n=>n.name===au.name))return!0}return(this._schema.get(e.toLowerCase())||this._schema.get("unknown")).has(t)}hasElement(e,t){return t.some(r=>r.name===ou.name)||e.indexOf("-")>-1&&(zs(e)||Ts(e)||t.some(r=>r.name===au.name))?!0:this._schema.has(e.toLowerCase())}securityContext(e,t,r){r&&(t=this.getMappedPropName(t)),e=e.toLowerCase(),t=t.toLowerCase();let n=Ls()[e+"|"+t];return n||(n=Ls()["*|"+t],n||Rr.NONE)}getMappedPropName(e){return lu.get(e)??e}getDefaultComponentElementName(){return"ng-component"}validateProperty(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event property '${e}' is disallowed for security reasons, please use (${e.slice(2)})=... -If '${e}' is a directive input, make sure the directive is imported by the current module.`}:{error:!1}}validateAttribute(e){return e.toLowerCase().startsWith("on")?{error:!0,msg:`Binding to event attribute '${e}' is disallowed for security reasons, please use (${e.slice(2)})=...`}:{error:!1}}allKnownElementNames(){return Array.from(this._schema.keys())}allKnownAttributesOfElement(e){let t=this._schema.get(e.toLowerCase())||this._schema.get("unknown");return Array.from(t.keys()).map(r=>em.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return $f(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(eh(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let l=r.match(/^[+-]?[\d\.]+([a-z]*)$/);l&&l[1].length==0&&(o=`Please provide a CSS unit value for ${t}:${r}`)}return{error:o,value:a+n}}},s(su,"Vt"),su),s(eh,"Ua"),V=(uu=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=Ye.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:l=!1,canSelfClose:u=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(c=>this.closedByChildren[c]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=l,this.canSelfClose=u??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},s(uu,"m"),uu),s(Hi,"Ge"),Er=(cu=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},s(cu,"oe"),cu),rm=(du=class extends Er{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},s(du,"Ut"),du),nm=(pu=class extends Er{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},s(pu,"Wt"),pu),am=(fu=class extends Er{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},s(fu,"zt"),fu),om=(hu=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},s(hu,"Gt"),hu),im=(mu=class extends Er{constructor(e,t,r,n,a,o,l){super(r,l),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},s(mu,"Yt"),mu),Rt=(gu=class extends Er{constructor(e,t,r,n,a,o=null,l=null,u){super(n,u),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=l,this.type="element"}visit(e,t){return e.visitElement(this,t)}},s(gu,"G"),gu),lm=(vu=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},s(vu,"jt"),vu),sm=(yu=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},s(yu,"Kt"),yu),Dr=(bu=class extends Er{constructor(e,t,r,n,a,o,l=null,u){super(n,u),this.name=e,this.parameters=t,this.children=r,this.nameSpan=a,this.startSourceSpan=o,this.endSourceSpan=l,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},s(bu,"Z"),bu),Eu=(wu=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},s(wu,"ct"),wu),xu=(Du=class{constructor(e,t,r,n,a){this.name=e,this.value=t,this.sourceSpan=r,this.nameSpan=n,this.valueSpan=a,this.type="letDeclaration",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitLetDeclaration(this,t)}},s(Du,"pt"),Du),s(Gc,"Qt"),J3=(Cu=class{constructor(){}visitElement(e,t){this.visitChildren(t,r=>{r(e.attrs),r(e.children)})}visitAttribute(e,t){}visitText(e,t){}visitCdata(e,t){}visitComment(e,t){}visitDocType(e,t){}visitExpansion(e,t){return this.visitChildren(t,r=>{r(e.cases)})}visitExpansionCase(e,t){}visitBlock(e,t){this.visitChildren(t,r=>{r(e.parameters),r(e.children)})}visitBlockParameter(e,t){}visitLetDeclaration(e,t){}visitChildren(e,t){let r=[],n=this;function a(o){o&&r.push(Gc(n,o,e))}return s(a,"i"),t(a),Array.prototype.concat.apply([],r)}},s(Cu,"ht"),Cu),Ua={AElig:"Æ",AMP:"&",amp:"&",Aacute:"Á",Abreve:"Ă",Acirc:"Â",Acy:"А",Afr:"𝔄",Agrave:"À",Alpha:"Α",Amacr:"Ā",And:"⩓",Aogon:"Ą",Aopf:"𝔸",ApplyFunction:"⁡",af:"⁡",Aring:"Å",angst:"Å",Ascr:"𝒜",Assign:"≔",colone:"≔",coloneq:"≔",Atilde:"Ã",Auml:"Ä",Backslash:"∖",setminus:"∖",setmn:"∖",smallsetminus:"∖",ssetmn:"∖",Barv:"⫧",Barwed:"⌆",doublebarwedge:"⌆",Bcy:"Б",Because:"∵",becaus:"∵",because:"∵",Bernoullis:"ℬ",Bscr:"ℬ",bernou:"ℬ",Beta:"Β",Bfr:"𝔅",Bopf:"𝔹",Breve:"˘",breve:"˘",Bumpeq:"≎",HumpDownHump:"≎",bump:"≎",CHcy:"Ч",COPY:"©",copy:"©",Cacute:"Ć",Cap:"⋒",CapitalDifferentialD:"ⅅ",DD:"ⅅ",Cayleys:"ℭ",Cfr:"ℭ",Ccaron:"Č",Ccedil:"Ç",Ccirc:"Ĉ",Cconint:"∰",Cdot:"Ċ",Cedilla:"¸",cedil:"¸",CenterDot:"·",centerdot:"·",middot:"·",Chi:"Χ",CircleDot:"⊙",odot:"⊙",CircleMinus:"⊖",ominus:"⊖",CirclePlus:"⊕",oplus:"⊕",CircleTimes:"⊗",otimes:"⊗",ClockwiseContourIntegral:"∲",cwconint:"∲",CloseCurlyDoubleQuote:"”",rdquo:"”",rdquor:"”",CloseCurlyQuote:"’",rsquo:"’",rsquor:"’",Colon:"∷",Proportion:"∷",Colone:"⩴",Congruent:"≡",equiv:"≡",Conint:"∯",DoubleContourIntegral:"∯",ContourIntegral:"∮",conint:"∮",oint:"∮",Copf:"ℂ",complexes:"ℂ",Coproduct:"∐",coprod:"∐",CounterClockwiseContourIntegral:"∳",awconint:"∳",Cross:"⨯",Cscr:"𝒞",Cup:"⋓",CupCap:"≍",asympeq:"≍",DDotrahd:"⤑",DJcy:"Ђ",DScy:"Ѕ",DZcy:"Џ",Dagger:"‡",ddagger:"‡",Darr:"↡",Dashv:"⫤",DoubleLeftTee:"⫤",Dcaron:"Ď",Dcy:"Д",Del:"∇",nabla:"∇",Delta:"Δ",Dfr:"𝔇",DiacriticalAcute:"´",acute:"´",DiacriticalDot:"˙",dot:"˙",DiacriticalDoubleAcute:"˝",dblac:"˝",DiacriticalGrave:"`",grave:"`",DiacriticalTilde:"˜",tilde:"˜",Diamond:"⋄",diam:"⋄",diamond:"⋄",DifferentialD:"ⅆ",dd:"ⅆ",Dopf:"𝔻",Dot:"¨",DoubleDot:"¨",die:"¨",uml:"¨",DotDot:"⃜",DotEqual:"≐",doteq:"≐",esdot:"≐",DoubleDownArrow:"⇓",Downarrow:"⇓",dArr:"⇓",DoubleLeftArrow:"⇐",Leftarrow:"⇐",lArr:"⇐",DoubleLeftRightArrow:"⇔",Leftrightarrow:"⇔",hArr:"⇔",iff:"⇔",DoubleLongLeftArrow:"⟸",Longleftarrow:"⟸",xlArr:"⟸",DoubleLongLeftRightArrow:"⟺",Longleftrightarrow:"⟺",xhArr:"⟺",DoubleLongRightArrow:"⟹",Longrightarrow:"⟹",xrArr:"⟹",DoubleRightArrow:"⇒",Implies:"⇒",Rightarrow:"⇒",rArr:"⇒",DoubleRightTee:"⊨",vDash:"⊨",DoubleUpArrow:"⇑",Uparrow:"⇑",uArr:"⇑",DoubleUpDownArrow:"⇕",Updownarrow:"⇕",vArr:"⇕",DoubleVerticalBar:"∥",par:"∥",parallel:"∥",shortparallel:"∥",spar:"∥",DownArrow:"↓",ShortDownArrow:"↓",darr:"↓",downarrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",duarr:"⇵",DownBreve:"̑",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",leftharpoondown:"↽",lhard:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",rhard:"⇁",rightharpoondown:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",top:"⊤",DownTeeArrow:"↧",mapstodown:"↧",Dscr:"𝒟",Dstrok:"Đ",ENG:"Ŋ",ETH:"Ð",Eacute:"É",Ecaron:"Ě",Ecirc:"Ê",Ecy:"Э",Edot:"Ė",Efr:"𝔈",Egrave:"È",Element:"∈",in:"∈",isin:"∈",isinv:"∈",Emacr:"Ē",EmptySmallSquare:"◻",EmptyVerySmallSquare:"▫",Eogon:"Ę",Eopf:"𝔼",Epsilon:"Ε",Equal:"⩵",EqualTilde:"≂",eqsim:"≂",esim:"≂",Equilibrium:"⇌",rightleftharpoons:"⇌",rlhar:"⇌",Escr:"ℰ",expectation:"ℰ",Esim:"⩳",Eta:"Η",Euml:"Ë",Exists:"∃",exist:"∃",ExponentialE:"ⅇ",ee:"ⅇ",exponentiale:"ⅇ",Fcy:"Ф",Ffr:"𝔉",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",blacksquare:"▪",squarf:"▪",squf:"▪",Fopf:"𝔽",ForAll:"∀",forall:"∀",Fouriertrf:"ℱ",Fscr:"ℱ",GJcy:"Ѓ",GT:">",gt:">",Gamma:"Γ",Gammad:"Ϝ",Gbreve:"Ğ",Gcedil:"Ģ",Gcirc:"Ĝ",Gcy:"Г",Gdot:"Ġ",Gfr:"𝔊",Gg:"⋙",ggg:"⋙",Gopf:"𝔾",GreaterEqual:"≥",ge:"≥",geq:"≥",GreaterEqualLess:"⋛",gel:"⋛",gtreqless:"⋛",GreaterFullEqual:"≧",gE:"≧",geqq:"≧",GreaterGreater:"⪢",GreaterLess:"≷",gl:"≷",gtrless:"≷",GreaterSlantEqual:"⩾",geqslant:"⩾",ges:"⩾",GreaterTilde:"≳",gsim:"≳",gtrsim:"≳",Gscr:"𝒢",Gt:"≫",NestedGreaterGreater:"≫",gg:"≫",HARDcy:"Ъ",Hacek:"ˇ",caron:"ˇ",Hat:"^",Hcirc:"Ĥ",Hfr:"ℌ",Poincareplane:"ℌ",HilbertSpace:"ℋ",Hscr:"ℋ",hamilt:"ℋ",Hopf:"ℍ",quaternions:"ℍ",HorizontalLine:"─",boxh:"─",Hstrok:"Ħ",HumpEqual:"≏",bumpe:"≏",bumpeq:"≏",IEcy:"Е",IJlig:"IJ",IOcy:"Ё",Iacute:"Í",Icirc:"Î",Icy:"И",Idot:"İ",Ifr:"ℑ",Im:"ℑ",image:"ℑ",imagpart:"ℑ",Igrave:"Ì",Imacr:"Ī",ImaginaryI:"ⅈ",ii:"ⅈ",Int:"∬",Integral:"∫",int:"∫",Intersection:"⋂",bigcap:"⋂",xcap:"⋂",InvisibleComma:"⁣",ic:"⁣",InvisibleTimes:"⁢",it:"⁢",Iogon:"Į",Iopf:"𝕀",Iota:"Ι",Iscr:"ℐ",imagline:"ℐ",Itilde:"Ĩ",Iukcy:"І",Iuml:"Ï",Jcirc:"Ĵ",Jcy:"Й",Jfr:"𝔍",Jopf:"𝕁",Jscr:"𝒥",Jsercy:"Ј",Jukcy:"Є",KHcy:"Х",KJcy:"Ќ",Kappa:"Κ",Kcedil:"Ķ",Kcy:"К",Kfr:"𝔎",Kopf:"𝕂",Kscr:"𝒦",LJcy:"Љ",LT:"<",lt:"<",Lacute:"Ĺ",Lambda:"Λ",Lang:"⟪",Laplacetrf:"ℒ",Lscr:"ℒ",lagran:"ℒ",Larr:"↞",twoheadleftarrow:"↞",Lcaron:"Ľ",Lcedil:"Ļ",Lcy:"Л",LeftAngleBracket:"⟨",lang:"⟨",langle:"⟨",LeftArrow:"←",ShortLeftArrow:"←",larr:"←",leftarrow:"←",slarr:"←",LeftArrowBar:"⇤",larrb:"⇤",LeftArrowRightArrow:"⇆",leftrightarrows:"⇆",lrarr:"⇆",LeftCeiling:"⌈",lceil:"⌈",LeftDoubleBracket:"⟦",lobrk:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",dharl:"⇃",downharpoonleft:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",lfloor:"⌊",LeftRightArrow:"↔",harr:"↔",leftrightarrow:"↔",LeftRightVector:"⥎",LeftTee:"⊣",dashv:"⊣",LeftTeeArrow:"↤",mapstoleft:"↤",LeftTeeVector:"⥚",LeftTriangle:"⊲",vartriangleleft:"⊲",vltri:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",ltrie:"⊴",trianglelefteq:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",uharl:"↿",upharpoonleft:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",leftharpoonup:"↼",lharu:"↼",LeftVectorBar:"⥒",LessEqualGreater:"⋚",leg:"⋚",lesseqgtr:"⋚",LessFullEqual:"≦",lE:"≦",leqq:"≦",LessGreater:"≶",lessgtr:"≶",lg:"≶",LessLess:"⪡",LessSlantEqual:"⩽",leqslant:"⩽",les:"⩽",LessTilde:"≲",lesssim:"≲",lsim:"≲",Lfr:"𝔏",Ll:"⋘",Lleftarrow:"⇚",lAarr:"⇚",Lmidot:"Ŀ",LongLeftArrow:"⟵",longleftarrow:"⟵",xlarr:"⟵",LongLeftRightArrow:"⟷",longleftrightarrow:"⟷",xharr:"⟷",LongRightArrow:"⟶",longrightarrow:"⟶",xrarr:"⟶",Lopf:"𝕃",LowerLeftArrow:"↙",swarr:"↙",swarrow:"↙",LowerRightArrow:"↘",searr:"↘",searrow:"↘",Lsh:"↰",lsh:"↰",Lstrok:"Ł",Lt:"≪",NestedLessLess:"≪",ll:"≪",Map:"⤅",Mcy:"М",MediumSpace:" ",Mellintrf:"ℳ",Mscr:"ℳ",phmmat:"ℳ",Mfr:"𝔐",MinusPlus:"∓",mnplus:"∓",mp:"∓",Mopf:"𝕄",Mu:"Μ",NJcy:"Њ",Nacute:"Ń",Ncaron:"Ň",Ncedil:"Ņ",Ncy:"Н",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",ZeroWidthSpace:"​",NewLine:` -`,Nfr:"𝔑",NoBreak:"⁠",NonBreakingSpace:" ",nbsp:" ",Nopf:"ℕ",naturals:"ℕ",Not:"⫬",NotCongruent:"≢",nequiv:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",npar:"∦",nparallel:"∦",nshortparallel:"∦",nspar:"∦",NotElement:"∉",notin:"∉",notinva:"∉",NotEqual:"≠",ne:"≠",NotEqualTilde:"≂̸",nesim:"≂̸",NotExists:"∄",nexist:"∄",nexists:"∄",NotGreater:"≯",ngt:"≯",ngtr:"≯",NotGreaterEqual:"≱",nge:"≱",ngeq:"≱",NotGreaterFullEqual:"≧̸",ngE:"≧̸",ngeqq:"≧̸",NotGreaterGreater:"≫̸",nGtv:"≫̸",NotGreaterLess:"≹",ntgl:"≹",NotGreaterSlantEqual:"⩾̸",ngeqslant:"⩾̸",nges:"⩾̸",NotGreaterTilde:"≵",ngsim:"≵",NotHumpDownHump:"≎̸",nbump:"≎̸",NotHumpEqual:"≏̸",nbumpe:"≏̸",NotLeftTriangle:"⋪",nltri:"⋪",ntriangleleft:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",nltrie:"⋬",ntrianglelefteq:"⋬",NotLess:"≮",nless:"≮",nlt:"≮",NotLessEqual:"≰",nle:"≰",nleq:"≰",NotLessGreater:"≸",ntlg:"≸",NotLessLess:"≪̸",nLtv:"≪̸",NotLessSlantEqual:"⩽̸",nleqslant:"⩽̸",nles:"⩽̸",NotLessTilde:"≴",nlsim:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",NotPrecedes:"⊀",npr:"⊀",nprec:"⊀",NotPrecedesEqual:"⪯̸",npre:"⪯̸",npreceq:"⪯̸",NotPrecedesSlantEqual:"⋠",nprcue:"⋠",NotReverseElement:"∌",notni:"∌",notniva:"∌",NotRightTriangle:"⋫",nrtri:"⋫",ntriangleright:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",nrtrie:"⋭",ntrianglerighteq:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",nsqsube:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",nsqsupe:"⋣",NotSubset:"⊂⃒",nsubset:"⊂⃒",vnsub:"⊂⃒",NotSubsetEqual:"⊈",nsube:"⊈",nsubseteq:"⊈",NotSucceeds:"⊁",nsc:"⊁",nsucc:"⊁",NotSucceedsEqual:"⪰̸",nsce:"⪰̸",nsucceq:"⪰̸",NotSucceedsSlantEqual:"⋡",nsccue:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",nsupset:"⊃⃒",vnsup:"⊃⃒",NotSupersetEqual:"⊉",nsupe:"⊉",nsupseteq:"⊉",NotTilde:"≁",nsim:"≁",NotTildeEqual:"≄",nsime:"≄",nsimeq:"≄",NotTildeFullEqual:"≇",ncong:"≇",NotTildeTilde:"≉",nap:"≉",napprox:"≉",NotVerticalBar:"∤",nmid:"∤",nshortmid:"∤",nsmid:"∤",Nscr:"𝒩",Ntilde:"Ñ",Nu:"Ν",OElig:"Œ",Oacute:"Ó",Ocirc:"Ô",Ocy:"О",Odblac:"Ő",Ofr:"𝔒",Ograve:"Ò",Omacr:"Ō",Omega:"Ω",ohm:"Ω",Omicron:"Ο",Oopf:"𝕆",OpenCurlyDoubleQuote:"“",ldquo:"“",OpenCurlyQuote:"‘",lsquo:"‘",Or:"⩔",Oscr:"𝒪",Oslash:"Ø",Otilde:"Õ",Otimes:"⨷",Ouml:"Ö",OverBar:"‾",oline:"‾",OverBrace:"⏞",OverBracket:"⎴",tbrk:"⎴",OverParenthesis:"⏜",PartialD:"∂",part:"∂",Pcy:"П",Pfr:"𝔓",Phi:"Φ",Pi:"Π",PlusMinus:"±",plusmn:"±",pm:"±",Popf:"ℙ",primes:"ℙ",Pr:"⪻",Precedes:"≺",pr:"≺",prec:"≺",PrecedesEqual:"⪯",pre:"⪯",preceq:"⪯",PrecedesSlantEqual:"≼",prcue:"≼",preccurlyeq:"≼",PrecedesTilde:"≾",precsim:"≾",prsim:"≾",Prime:"″",Product:"∏",prod:"∏",Proportional:"∝",prop:"∝",propto:"∝",varpropto:"∝",vprop:"∝",Pscr:"𝒫",Psi:"Ψ",QUOT:'"',quot:'"',Qfr:"𝔔",Qopf:"ℚ",rationals:"ℚ",Qscr:"𝒬",RBarr:"⤐",drbkarow:"⤐",REG:"®",circledR:"®",reg:"®",Racute:"Ŕ",Rang:"⟫",Rarr:"↠",twoheadrightarrow:"↠",Rarrtl:"⤖",Rcaron:"Ř",Rcedil:"Ŗ",Rcy:"Р",Re:"ℜ",Rfr:"ℜ",real:"ℜ",realpart:"ℜ",ReverseElement:"∋",SuchThat:"∋",ni:"∋",niv:"∋",ReverseEquilibrium:"⇋",leftrightharpoons:"⇋",lrhar:"⇋",ReverseUpEquilibrium:"⥯",duhar:"⥯",Rho:"Ρ",RightAngleBracket:"⟩",rang:"⟩",rangle:"⟩",RightArrow:"→",ShortRightArrow:"→",rarr:"→",rightarrow:"→",srarr:"→",RightArrowBar:"⇥",rarrb:"⇥",RightArrowLeftArrow:"⇄",rightleftarrows:"⇄",rlarr:"⇄",RightCeiling:"⌉",rceil:"⌉",RightDoubleBracket:"⟧",robrk:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",dharr:"⇂",downharpoonright:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rfloor:"⌋",RightTee:"⊢",vdash:"⊢",RightTeeArrow:"↦",map:"↦",mapsto:"↦",RightTeeVector:"⥛",RightTriangle:"⊳",vartriangleright:"⊳",vrtri:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",rtrie:"⊵",trianglerighteq:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",uharr:"↾",upharpoonright:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",rharu:"⇀",rightharpoonup:"⇀",RightVectorBar:"⥓",Ropf:"ℝ",reals:"ℝ",RoundImplies:"⥰",Rrightarrow:"⇛",rAarr:"⇛",Rscr:"ℛ",realine:"ℛ",Rsh:"↱",rsh:"↱",RuleDelayed:"⧴",SHCHcy:"Щ",SHcy:"Ш",SOFTcy:"Ь",Sacute:"Ś",Sc:"⪼",Scaron:"Š",Scedil:"Ş",Scirc:"Ŝ",Scy:"С",Sfr:"𝔖",ShortUpArrow:"↑",UpArrow:"↑",uarr:"↑",uparrow:"↑",Sigma:"Σ",SmallCircle:"∘",compfn:"∘",Sopf:"𝕊",Sqrt:"√",radic:"√",Square:"□",squ:"□",square:"□",SquareIntersection:"⊓",sqcap:"⊓",SquareSubset:"⊏",sqsub:"⊏",sqsubset:"⊏",SquareSubsetEqual:"⊑",sqsube:"⊑",sqsubseteq:"⊑",SquareSuperset:"⊐",sqsup:"⊐",sqsupset:"⊐",SquareSupersetEqual:"⊒",sqsupe:"⊒",sqsupseteq:"⊒",SquareUnion:"⊔",sqcup:"⊔",Sscr:"𝒮",Star:"⋆",sstarf:"⋆",Sub:"⋐",Subset:"⋐",SubsetEqual:"⊆",sube:"⊆",subseteq:"⊆",Succeeds:"≻",sc:"≻",succ:"≻",SucceedsEqual:"⪰",sce:"⪰",succeq:"⪰",SucceedsSlantEqual:"≽",sccue:"≽",succcurlyeq:"≽",SucceedsTilde:"≿",scsim:"≿",succsim:"≿",Sum:"∑",sum:"∑",Sup:"⋑",Supset:"⋑",Superset:"⊃",sup:"⊃",supset:"⊃",SupersetEqual:"⊇",supe:"⊇",supseteq:"⊇",THORN:"Þ",TRADE:"™",trade:"™",TSHcy:"Ћ",TScy:"Ц",Tab:" ",Tau:"Τ",Tcaron:"Ť",Tcedil:"Ţ",Tcy:"Т",Tfr:"𝔗",Therefore:"∴",there4:"∴",therefore:"∴",Theta:"Θ",ThickSpace:"  ",ThinSpace:" ",thinsp:" ",Tilde:"∼",sim:"∼",thicksim:"∼",thksim:"∼",TildeEqual:"≃",sime:"≃",simeq:"≃",TildeFullEqual:"≅",cong:"≅",TildeTilde:"≈",ap:"≈",approx:"≈",asymp:"≈",thickapprox:"≈",thkap:"≈",Topf:"𝕋",TripleDot:"⃛",tdot:"⃛",Tscr:"𝒯",Tstrok:"Ŧ",Uacute:"Ú",Uarr:"↟",Uarrocir:"⥉",Ubrcy:"Ў",Ubreve:"Ŭ",Ucirc:"Û",Ucy:"У",Udblac:"Ű",Ufr:"𝔘",Ugrave:"Ù",Umacr:"Ū",UnderBar:"_",lowbar:"_",UnderBrace:"⏟",UnderBracket:"⎵",bbrk:"⎵",UnderParenthesis:"⏝",Union:"⋃",bigcup:"⋃",xcup:"⋃",UnionPlus:"⊎",uplus:"⊎",Uogon:"Ų",Uopf:"𝕌",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",udarr:"⇅",UpDownArrow:"↕",updownarrow:"↕",varr:"↕",UpEquilibrium:"⥮",udhar:"⥮",UpTee:"⊥",bot:"⊥",bottom:"⊥",perp:"⊥",UpTeeArrow:"↥",mapstoup:"↥",UpperLeftArrow:"↖",nwarr:"↖",nwarrow:"↖",UpperRightArrow:"↗",nearr:"↗",nearrow:"↗",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",Uring:"Ů",Uscr:"𝒰",Utilde:"Ũ",Uuml:"Ü",VDash:"⊫",Vbar:"⫫",Vcy:"В",Vdash:"⊩",Vdashl:"⫦",Vee:"⋁",bigvee:"⋁",xvee:"⋁",Verbar:"‖",Vert:"‖",VerticalBar:"∣",mid:"∣",shortmid:"∣",smid:"∣",VerticalLine:"|",verbar:"|",vert:"|",VerticalSeparator:"❘",VerticalTilde:"≀",wr:"≀",wreath:"≀",VeryThinSpace:" ",hairsp:" ",Vfr:"𝔙",Vopf:"𝕍",Vscr:"𝒱",Vvdash:"⊪",Wcirc:"Ŵ",Wedge:"⋀",bigwedge:"⋀",xwedge:"⋀",Wfr:"𝔚",Wopf:"𝕎",Wscr:"𝒲",Xfr:"𝔛",Xi:"Ξ",Xopf:"𝕏",Xscr:"𝒳",YAcy:"Я",YIcy:"Ї",YUcy:"Ю",Yacute:"Ý",Ycirc:"Ŷ",Ycy:"Ы",Yfr:"𝔜",Yopf:"𝕐",Yscr:"𝒴",Yuml:"Ÿ",ZHcy:"Ж",Zacute:"Ź",Zcaron:"Ž",Zcy:"З",Zdot:"Ż",Zeta:"Ζ",Zfr:"ℨ",zeetrf:"ℨ",Zopf:"ℤ",integers:"ℤ",Zscr:"𝒵",aacute:"á",abreve:"ă",ac:"∾",mstpos:"∾",acE:"∾̳",acd:"∿",acirc:"â",acy:"а",aelig:"æ",afr:"𝔞",agrave:"à",alefsym:"ℵ",aleph:"ℵ",alpha:"α",amacr:"ā",amalg:"⨿",and:"∧",wedge:"∧",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",angle:"∠",ange:"⦤",angmsd:"∡",measuredangle:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angzarr:"⍼",aogon:"ą",aopf:"𝕒",apE:"⩰",apacir:"⩯",ape:"≊",approxeq:"≊",apid:"≋",apos:"'",aring:"å",ascr:"𝒶",ast:"*",midast:"*",atilde:"ã",auml:"ä",awint:"⨑",bNot:"⫭",backcong:"≌",bcong:"≌",backepsilon:"϶",bepsi:"϶",backprime:"‵",bprime:"‵",backsim:"∽",bsim:"∽",backsimeq:"⋍",bsime:"⋍",barvee:"⊽",barwed:"⌅",barwedge:"⌅",bbrktbrk:"⎶",bcy:"б",bdquo:"„",ldquor:"„",bemptyv:"⦰",beta:"β",beth:"ℶ",between:"≬",twixt:"≬",bfr:"𝔟",bigcirc:"◯",xcirc:"◯",bigodot:"⨀",xodot:"⨀",bigoplus:"⨁",xoplus:"⨁",bigotimes:"⨂",xotime:"⨂",bigsqcup:"⨆",xsqcup:"⨆",bigstar:"★",starf:"★",bigtriangledown:"▽",xdtri:"▽",bigtriangleup:"△",xutri:"△",biguplus:"⨄",xuplus:"⨄",bkarow:"⤍",rbarr:"⤍",blacklozenge:"⧫",lozf:"⧫",blacktriangle:"▴",utrif:"▴",blacktriangledown:"▾",dtrif:"▾",blacktriangleleft:"◂",ltrif:"◂",blacktriangleright:"▸",rtrif:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bopf:"𝕓",bowtie:"⋈",boxDL:"╗",boxDR:"╔",boxDl:"╖",boxDr:"╓",boxH:"═",boxHD:"╦",boxHU:"╩",boxHd:"╤",boxHu:"╧",boxUL:"╝",boxUR:"╚",boxUl:"╜",boxUr:"╙",boxV:"║",boxVH:"╬",boxVL:"╣",boxVR:"╠",boxVh:"╫",boxVl:"╢",boxVr:"╟",boxbox:"⧉",boxdL:"╕",boxdR:"╒",boxdl:"┐",boxdr:"┌",boxhD:"╥",boxhU:"╨",boxhd:"┬",boxhu:"┴",boxminus:"⊟",minusb:"⊟",boxplus:"⊞",plusb:"⊞",boxtimes:"⊠",timesb:"⊠",boxuL:"╛",boxuR:"╘",boxul:"┘",boxur:"└",boxv:"│",boxvH:"╪",boxvL:"╡",boxvR:"╞",boxvh:"┼",boxvl:"┤",boxvr:"├",brvbar:"¦",bscr:"𝒷",bsemi:"⁏",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bumpE:"⪮",cacute:"ć",cap:"∩",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",caps:"∩︀",caret:"⁁",ccaps:"⩍",ccaron:"č",ccedil:"ç",ccirc:"ĉ",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",cemptyv:"⦲",cent:"¢",cfr:"𝔠",chcy:"ч",check:"✓",checkmark:"✓",chi:"χ",cir:"○",cirE:"⧃",circ:"ˆ",circeq:"≗",cire:"≗",circlearrowleft:"↺",olarr:"↺",circlearrowright:"↻",orarr:"↻",circledS:"Ⓢ",oS:"Ⓢ",circledast:"⊛",oast:"⊛",circledcirc:"⊚",ocir:"⊚",circleddash:"⊝",odash:"⊝",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",clubs:"♣",clubsuit:"♣",colon:":",comma:",",commat:"@",comp:"∁",complement:"∁",congdot:"⩭",copf:"𝕔",copysr:"℗",crarr:"↵",cross:"✗",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",curlyeqprec:"⋞",cuesc:"⋟",curlyeqsucc:"⋟",cularr:"↶",curvearrowleft:"↶",cularrp:"⤽",cup:"∪",cupbrcap:"⩈",cupcap:"⩆",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curvearrowright:"↷",curarrm:"⤼",curlyvee:"⋎",cuvee:"⋎",curlywedge:"⋏",cuwed:"⋏",curren:"¤",cwint:"∱",cylcty:"⌭",dHar:"⥥",dagger:"†",daleth:"ℸ",dash:"‐",hyphen:"‐",dbkarow:"⤏",rBarr:"⤏",dcaron:"ď",dcy:"д",ddarr:"⇊",downdownarrows:"⇊",ddotseq:"⩷",eDDot:"⩷",deg:"°",delta:"δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",diamondsuit:"♦",diams:"♦",digamma:"ϝ",gammad:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",dlcorn:"⌞",llcorner:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",doteqdot:"≑",eDot:"≑",dotminus:"∸",minusd:"∸",dotplus:"∔",plusdo:"∔",dotsquare:"⊡",sdotb:"⊡",drcorn:"⌟",lrcorner:"⌟",drcrop:"⌌",dscr:"𝒹",dscy:"ѕ",dsol:"⧶",dstrok:"đ",dtdot:"⋱",dtri:"▿",triangledown:"▿",dwangle:"⦦",dzcy:"џ",dzigrarr:"⟿",eacute:"é",easter:"⩮",ecaron:"ě",ecir:"≖",eqcirc:"≖",ecirc:"ê",ecolon:"≕",eqcolon:"≕",ecy:"э",edot:"ė",efDot:"≒",fallingdotseq:"≒",efr:"𝔢",eg:"⪚",egrave:"è",egs:"⪖",eqslantgtr:"⪖",egsdot:"⪘",el:"⪙",elinters:"⏧",ell:"ℓ",els:"⪕",eqslantless:"⪕",elsdot:"⪗",emacr:"ē",empty:"∅",emptyset:"∅",emptyv:"∅",varnothing:"∅",emsp13:" ",emsp14:" ",emsp:" ",eng:"ŋ",ensp:" ",eogon:"ę",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",epsiv:"ϵ",straightepsilon:"ϵ",varepsilon:"ϵ",equals:"=",equest:"≟",questeq:"≟",equivDD:"⩸",eqvparsl:"⧥",erDot:"≓",risingdotseq:"≓",erarr:"⥱",escr:"ℯ",eta:"η",eth:"ð",euml:"ë",euro:"€",excl:"!",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",filig:"fi",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",fork:"⋔",pitchfork:"⋔",forkv:"⫙",fpartint:"⨍",frac12:"½",half:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",sfrown:"⌢",fscr:"𝒻",gEl:"⪌",gtreqqless:"⪌",gacute:"ǵ",gamma:"γ",gap:"⪆",gtrapprox:"⪆",gbreve:"ğ",gcirc:"ĝ",gcy:"г",gdot:"ġ",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",gimel:"ℷ",gjcy:"ѓ",glE:"⪒",gla:"⪥",glj:"⪤",gnE:"≩",gneqq:"≩",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gneq:"⪈",gnsim:"⋧",gopf:"𝕘",gscr:"ℊ",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtrdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrarr:"⥸",gvertneqq:"≩︀",gvnE:"≩︀",hardcy:"ъ",harrcir:"⥈",harrw:"↭",leftrightsquigarrow:"↭",hbar:"ℏ",hslash:"ℏ",planck:"ℏ",plankv:"ℏ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",mldr:"…",hercon:"⊹",hfr:"𝔥",hksearow:"⤥",searhk:"⤥",hkswarow:"⤦",swarhk:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",larrhk:"↩",hookrightarrow:"↪",rarrhk:"↪",hopf:"𝕙",horbar:"―",hscr:"𝒽",hstrok:"ħ",hybull:"⁃",iacute:"í",icirc:"î",icy:"и",iecy:"е",iexcl:"¡",ifr:"𝔦",igrave:"ì",iiiint:"⨌",qint:"⨌",iiint:"∭",tint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",imacr:"ī",imath:"ı",inodot:"ı",imof:"⊷",imped:"Ƶ",incare:"℅",infin:"∞",infintie:"⧝",intcal:"⊺",intercal:"⊺",intlarhk:"⨗",intprod:"⨼",iprod:"⨼",iocy:"ё",iogon:"į",iopf:"𝕚",iota:"ι",iquest:"¿",iscr:"𝒾",isinE:"⋹",isindot:"⋵",isins:"⋴",isinsv:"⋳",itilde:"ĩ",iukcy:"і",iuml:"ï",jcirc:"ĵ",jcy:"й",jfr:"𝔧",jmath:"ȷ",jopf:"𝕛",jscr:"𝒿",jsercy:"ј",jukcy:"є",kappa:"κ",kappav:"ϰ",varkappa:"ϰ",kcedil:"ķ",kcy:"к",kfr:"𝔨",kgreen:"ĸ",khcy:"х",kjcy:"ќ",kopf:"𝕜",kscr:"𝓀",lAtail:"⤛",lBarr:"⤎",lEg:"⪋",lesseqqgtr:"⪋",lHar:"⥢",lacute:"ĺ",laemptyv:"⦴",lambda:"λ",langd:"⦑",lap:"⪅",lessapprox:"⪅",laquo:"«",larrbfs:"⤟",larrfs:"⤝",larrlp:"↫",looparrowleft:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",leftarrowtail:"↢",lat:"⪫",latail:"⤙",late:"⪭",lates:"⪭︀",lbarr:"⤌",lbbrk:"❲",lbrace:"{",lcub:"{",lbrack:"[",lsqb:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",lcedil:"ļ",lcy:"л",ldca:"⤶",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",leq:"≤",leftleftarrows:"⇇",llarr:"⇇",leftthreetimes:"⋋",lthree:"⋋",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessdot:"⋖",ltdot:"⋖",lfisht:"⥼",lfr:"𝔩",lgE:"⪑",lharul:"⥪",lhblk:"▄",ljcy:"љ",llhard:"⥫",lltri:"◺",lmidot:"ŀ",lmoust:"⎰",lmoustache:"⎰",lnE:"≨",lneqq:"≨",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lneq:"⪇",lnsim:"⋦",loang:"⟬",loarr:"⇽",longmapsto:"⟼",xmap:"⟼",looparrowright:"↬",rarrlp:"↬",lopar:"⦅",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",loz:"◊",lozenge:"◊",lpar:"(",lparlt:"⦓",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",lsime:"⪍",lsimg:"⪏",lsquor:"‚",sbquo:"‚",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltrPar:"⦖",ltri:"◃",triangleleft:"◃",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",mDDot:"∺",macr:"¯",strns:"¯",male:"♂",malt:"✠",maltese:"✠",marker:"▮",mcomma:"⨩",mcy:"м",mdash:"—",mfr:"𝔪",mho:"℧",micro:"µ",midcir:"⫰",minus:"−",minusdu:"⨪",mlcp:"⫛",models:"⊧",mopf:"𝕞",mscr:"𝓂",mu:"μ",multimap:"⊸",mumap:"⊸",nGg:"⋙̸",nGt:"≫⃒",nLeftarrow:"⇍",nlArr:"⇍",nLeftrightarrow:"⇎",nhArr:"⇎",nLl:"⋘̸",nLt:"≪⃒",nRightarrow:"⇏",nrArr:"⇏",nVDash:"⊯",nVdash:"⊮",nacute:"ń",nang:"∠⃒",napE:"⩰̸",napid:"≋̸",napos:"ʼn",natur:"♮",natural:"♮",ncap:"⩃",ncaron:"ň",ncedil:"ņ",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",ndash:"–",neArr:"⇗",nearhk:"⤤",nedot:"≐̸",nesear:"⤨",toea:"⤨",nfr:"𝔫",nharr:"↮",nleftrightarrow:"↮",nhpar:"⫲",nis:"⋼",nisd:"⋺",njcy:"њ",nlE:"≦̸",nleqq:"≦̸",nlarr:"↚",nleftarrow:"↚",nldr:"‥",nopf:"𝕟",not:"¬",notinE:"⋹̸",notindot:"⋵̸",notinvb:"⋷",notinvc:"⋶",notnivb:"⋾",notnivc:"⋽",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",nrarr:"↛",nrightarrow:"↛",nrarrc:"⤳̸",nrarrw:"↝̸",nscr:"𝓃",nsub:"⊄",nsubE:"⫅̸",nsubseteqq:"⫅̸",nsup:"⊅",nsupE:"⫆̸",nsupseteqq:"⫆̸",ntilde:"ñ",nu:"ν",num:"#",numero:"№",numsp:" ",nvDash:"⊭",nvHarr:"⤄",nvap:"≍⃒",nvdash:"⊬",nvge:"≥⃒",nvgt:">⃒",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwArr:"⇖",nwarhk:"⤣",nwnear:"⤧",oacute:"ó",ocirc:"ô",ocy:"о",odblac:"ő",odiv:"⨸",odsold:"⦼",oelig:"œ",ofcir:"⦿",ofr:"𝔬",ogon:"˛",ograve:"ò",ogt:"⧁",ohbar:"⦵",olcir:"⦾",olcross:"⦻",olt:"⧀",omacr:"ō",omega:"ω",omicron:"ο",omid:"⦶",oopf:"𝕠",opar:"⦷",operp:"⦹",or:"∨",vee:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",oscr:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oslash:"ø",osol:"⊘",otilde:"õ",otimesas:"⨶",ouml:"ö",ovbar:"⌽",para:"¶",parsim:"⫳",parsl:"⫽",pcy:"п",percnt:"%",period:".",permil:"‰",pertenk:"‱",pfr:"𝔭",phi:"φ",phiv:"ϕ",straightphi:"ϕ",varphi:"ϕ",phone:"☎",pi:"π",piv:"ϖ",varpi:"ϖ",planckh:"ℎ",plus:"+",plusacir:"⨣",pluscir:"⨢",plusdu:"⨥",pluse:"⩲",plussim:"⨦",plustwo:"⨧",pointint:"⨕",popf:"𝕡",pound:"£",prE:"⪳",prap:"⪷",precapprox:"⪷",precnapprox:"⪹",prnap:"⪹",precneqq:"⪵",prnE:"⪵",precnsim:"⋨",prnsim:"⋨",prime:"′",profalar:"⌮",profline:"⌒",profsurf:"⌓",prurel:"⊰",pscr:"𝓅",psi:"ψ",puncsp:" ",qfr:"𝔮",qopf:"𝕢",qprime:"⁗",qscr:"𝓆",quatint:"⨖",quest:"?",rAtail:"⤜",rHar:"⥤",race:"∽̱",racute:"ŕ",raemptyv:"⦳",rangd:"⦒",range:"⦥",raquo:"»",rarrap:"⥵",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",rightarrowtail:"↣",rarrw:"↝",rightsquigarrow:"↝",ratail:"⤚",ratio:"∶",rbbrk:"❳",rbrace:"}",rcub:"}",rbrack:"]",rsqb:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",rcedil:"ŗ",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdsh:"↳",rect:"▭",rfisht:"⥽",rfr:"𝔯",rharul:"⥬",rho:"ρ",rhov:"ϱ",varrho:"ϱ",rightrightarrows:"⇉",rrarr:"⇉",rightthreetimes:"⋌",rthree:"⋌",ring:"˚",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",ropar:"⦆",ropf:"𝕣",roplus:"⨮",rotimes:"⨵",rpar:")",rpargt:"⦔",rppolint:"⨒",rsaquo:"›",rscr:"𝓇",rtimes:"⋊",rtri:"▹",triangleright:"▹",rtriltri:"⧎",ruluhar:"⥨",rx:"℞",sacute:"ś",scE:"⪴",scap:"⪸",succapprox:"⪸",scaron:"š",scedil:"ş",scirc:"ŝ",scnE:"⪶",succneqq:"⪶",scnap:"⪺",succnapprox:"⪺",scnsim:"⋩",succnsim:"⋩",scpolint:"⨓",scy:"с",sdot:"⋅",sdote:"⩦",seArr:"⇘",sect:"§",semi:";",seswar:"⤩",tosa:"⤩",sext:"✶",sfr:"𝔰",sharp:"♯",shchcy:"щ",shcy:"ш",shy:"­",sigma:"σ",sigmaf:"ς",sigmav:"ς",varsigma:"ς",simdot:"⩪",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",smashp:"⨳",smeparsl:"⧤",smile:"⌣",ssmile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",spades:"♠",spadesuit:"♠",sqcaps:"⊓︀",sqcups:"⊔︀",sscr:"𝓈",star:"☆",sub:"⊂",subset:"⊂",subE:"⫅",subseteqq:"⫅",subdot:"⪽",subedot:"⫃",submult:"⫁",subnE:"⫋",subsetneqq:"⫋",subne:"⊊",subsetneq:"⊊",subplus:"⪿",subrarr:"⥹",subsim:"⫇",subsub:"⫕",subsup:"⫓",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",supE:"⫆",supseteqq:"⫆",supdot:"⪾",supdsub:"⫘",supedot:"⫄",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supsetneqq:"⫌",supne:"⊋",supsetneq:"⊋",supplus:"⫀",supsim:"⫈",supsub:"⫔",supsup:"⫖",swArr:"⇙",swnwar:"⤪",szlig:"ß",target:"⌖",tau:"τ",tcaron:"ť",tcedil:"ţ",tcy:"т",telrec:"⌕",tfr:"𝔱",theta:"θ",thetasym:"ϑ",thetav:"ϑ",vartheta:"ϑ",thorn:"þ",times:"×",timesbar:"⨱",timesd:"⨰",topbot:"⌶",topcir:"⫱",topf:"𝕥",topfork:"⫚",tprime:"‴",triangle:"▵",utri:"▵",triangleq:"≜",trie:"≜",tridot:"◬",triminus:"⨺",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",tscy:"ц",tshcy:"ћ",tstrok:"ŧ",uHar:"⥣",uacute:"ú",ubrcy:"ў",ubreve:"ŭ",ucirc:"û",ucy:"у",udblac:"ű",ufisht:"⥾",ufr:"𝔲",ugrave:"ù",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",uogon:"ų",uopf:"𝕦",upsi:"υ",upsilon:"υ",upuparrows:"⇈",uuarr:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",urtri:"◹",uscr:"𝓊",utdot:"⋰",utilde:"ũ",uuml:"ü",uwangle:"⦧",vBar:"⫨",vBarv:"⫩",vangrt:"⦜",varsubsetneq:"⊊︀",vsubne:"⊊︀",varsubsetneqq:"⫋︀",vsubnE:"⫋︀",varsupsetneq:"⊋︀",vsupne:"⊋︀",varsupsetneqq:"⫌︀",vsupnE:"⫌︀",vcy:"в",veebar:"⊻",veeeq:"≚",vellip:"⋮",vfr:"𝔳",vopf:"𝕧",vscr:"𝓋",vzigzag:"⦚",wcirc:"ŵ",wedbar:"⩟",wedgeq:"≙",weierp:"℘",wp:"℘",wfr:"𝔴",wopf:"𝕨",wscr:"𝓌",xfr:"𝔵",xi:"ξ",xnis:"⋻",xopf:"𝕩",xscr:"𝓍",yacute:"ý",yacy:"я",ycirc:"ŷ",ycy:"ы",yen:"¥",yfr:"𝔶",yicy:"ї",yopf:"𝕪",yscr:"𝓎",yucy:"ю",yuml:"ÿ",zacute:"ź",zcaron:"ž",zcy:"з",zdot:"ż",zeta:"ζ",zfr:"𝔷",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",zscr:"𝓏",zwj:"‍",zwnj:"‌"},um="",Ua.ngsp=um,X3=[/@/,/^\s*$/,/[<>]/,/^[{}]$/,/&(#|[a-z])/i,/^\/\//],s(th,"Ls"),cm=(Go=class{static fromArray(e){return e?(th("interpolation",e),new Go(e[0],e[1])):Su}constructor(e,t){this.start=e,this.end=t}},s(Go,"t"),Go),Su=new cm("{{","}}"),Ko=(ku=class extends eu{constructor(e,t,r){super(r,e),this.tokenType=t}},s(ku,"ft"),ku),Q3=(Au=class{constructor(e,t,r){this.tokens=e,this.errors=t,this.nonNormalizedIcuExpressions=r}},s(Au,"$r"),Au),s(rh,"Ws"),dm=/\r\n?/g,s(wr,"je"),s(Ms,"Rs"),s(nh,"ho"),function(e){e.HEX="hexadecimal",e.DEC="decimal"}(Yo||(Yo={})),Zo=(Fu=class{constructor(e){this.error=e}},s(Fu,"dt"),Fu),e7=(_u=class{constructor(e,t,r){this._getTagContentType=t,this._currentTokenStart=null,this._currentTokenType=null,this._expansionCaseStack=[],this._inInterpolation=!1,this._fullNameStack=[],this.tokens=[],this.errors=[],this.nonNormalizedIcuExpressions=[],this._tokenizeIcu=r.tokenizeExpansionForms||!1,this._interpolationConfig=r.interpolationConfig||Su,this._leadingTriviaCodePoints=r.leadingTriviaChars&&r.leadingTriviaChars.map(a=>a.codePointAt(0)||0),this._canSelfClose=r.canSelfClose||!1,this._allowHtmComponentClosingTags=r.allowHtmComponentClosingTags||!1;let n=r.range||{endPos:e.content.length,startPos:0,startLine:0,startCol:0};this._cursor=r.escapedString?new pm(e,n):new Iu(e,n),this._preserveLineEndings=r.preserveLineEndings||!1,this._i18nNormalizeLineEndingsInICUs=r.i18nNormalizeLineEndingsInICUs||!1,this._tokenizeBlocks=r.tokenizeBlocks??!0,this._tokenizeLet=r.tokenizeLet??!0;try{this._cursor.init()}catch(a){this.handleError(a)}}_processCarriageReturns(e){return this._preserveLineEndings?e:e.replace(dm,` -`)}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeLet&&this._cursor.peek()===64&&!this._inInterpolation&&this._attemptStr("@let")?this._consumeLetDeclaration(e):this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(34),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>ja(r)?!e:Ps(r)?(e=!0,!1):!0),this._cursor.getChars(t).trim()}_consumeBlockStart(e){this._beginToken(25,e);let t=this._endToken([this._getBlockName()]);if(this._cursor.peek()===40)if(this._cursor.advance(),this._consumeBlockParameters(),this._attemptCharCodeUntilFn(ne),this._attemptCharCode(41))this._attemptCharCodeUntilFn(ne);else{t.type=29;return}this._attemptCharCode(123)?(this._beginToken(26),this._endToken([])):t.type=29}_consumeBlockEnd(e){this._beginToken(27,e),this._endToken([])}_consumeBlockParameters(){for(this._attemptCharCodeUntilFn(Ns);this._cursor.peek()!==41&&this._cursor.peek()!==0;){this._beginToken(28);let e=this._cursor.clone(),t=null,r=0;for(;this._cursor.peek()!==59&&this._cursor.peek()!==0||t!==null;){let n=this._cursor.peek();if(n===92)this._cursor.advance();else if(n===t)t=null;else if(t===null&&qo(n))t=n;else if(n===40&&t===null)r++;else if(n===41&&t===null){if(r===0)break;r>0&&r--}this._cursor.advance()}this._endToken([this._cursor.getChars(e)]),this._attemptCharCodeUntilFn(Ns)}}_consumeLetDeclaration(e){if(this._beginToken(30,e),ja(this._cursor.peek()))this._attemptCharCodeUntilFn(ne);else{let r=this._endToken([this._cursor.getChars(e)]);r.type=33;return}let t=this._endToken([this._getLetDeclarationName()]);if(this._attemptCharCodeUntilFn(ne),!this._attemptCharCode(61)){t.type=33;return}this._attemptCharCodeUntilFn(r=>ne(r)&&!Vo(r)),this._consumeLetDeclarationValue(),this._cursor.peek()===59?(this._beginToken(32),this._endToken([]),this._cursor.advance()):(t.type=33,t.sourceSpan=this._cursor.getSpan(e))}_getLetDeclarationName(){let e=this._cursor.clone(),t=!1;return this._attemptCharCodeUntilFn(r=>Va(r)||r==36||r===95||t&&Ni(r)?(t=!0,!1):!0),this._cursor.getChars(e).trim()}_consumeLetDeclarationValue(){let e=this._cursor.clone();for(this._beginToken(31,e);this._cursor.peek()!==0;){let t=this._cursor.peek();if(t===59)break;qo(t)&&(this._cursor.advance(),this._attemptCharCodeUntilFn(r=>r===92?(this._cursor.advance(),!1):r===t)),this._cursor.advance()}this._endToken([this._cursor.getChars(e)])}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(lh(this._cursor.peek())&&this._isInExpansionForm())return this._consumeExpansionCaseStart(),!0;if(this._cursor.peek()===125){if(this._isInExpansionCase())return this._consumeExpansionCaseEnd(),!0;if(this._isInExpansionForm())return this._consumeExpansionFormEnd(),!0}return!1}_beginToken(e,t=this._cursor.clone()){this._currentTokenStart=t,this._currentTokenType=e}_endToken(e,t){if(this._currentTokenStart===null)throw new Ko("Programming error - attempted to end a token when there was no start to the token",this._currentTokenType,this._cursor.getSpan(t));if(this._currentTokenType===null)throw new Ko("Programming error - attempted to end a token which has no token type",null,this._cursor.getSpan(this._currentTokenStart));let r={type:this._currentTokenType,parts:e,sourceSpan:(t??this._cursor).getSpan(this._currentTokenStart,this._leadingTriviaCodePoints)};return this.tokens.push(r),this._currentTokenStart=null,this._currentTokenType=null,r}_createError(e,t){this._isInExpansionForm()&&(e+=` (Do you have an unescaped "{" in your template? Use "{{ '{' }}") to escape it.)`);let r=new Ko(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Zo(r)}handleError(e){if(e instanceof Jo&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Zo)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return sh(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(wr(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()this._attemptStr("-->")),this._beginToken(11),this._requireStr("-->"),this._endToken([])}_consumeBogusComment(e){this._beginToken(10,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(11),this._cursor.advance(),this._endToken([])}_consumeCdata(e){this._beginToken(12,e),this._endToken([]),this._consumeRawText(!1,()=>this._attemptStr("]]>")),this._beginToken(13),this._requireStr("]]>"),this._endToken([])}_consumeDocType(e){this._beginToken(18,e),this._endToken([]),this._consumeRawText(!1,()=>this._cursor.peek()===62),this._beginToken(19),this._cursor.advance(),this._endToken([])}_consumePrefixAndName(){let e=this._cursor.clone(),t="";for(;this._cursor.peek()!==58&&!ah(this._cursor.peek());)this._cursor.advance();let r;this._cursor.peek()===58?(t=this._cursor.getChars(e),this._cursor.advance(),r=this._cursor.clone()):r=e,this._requireCharCodeUntilFn(Os,t===""?0:1);let n=this._cursor.getChars(r);return[t,n]}_consumeTagOpen(e){let t,r,n,a=[];try{if(!Va(this._cursor.peek()))throw this._createError(wr(this._cursor.peek()),this._cursor.getSpan(e));for(n=this._consumeTagOpenStart(e),r=n.parts[0],t=n.parts[1],this._attemptCharCodeUntilFn(ne);this._cursor.peek()!==47&&this._cursor.peek()!==62&&this._cursor.peek()!==60&&this._cursor.peek()!==0;){let[l,u]=this._consumeAttributeName();if(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(61)){this._attemptCharCodeUntilFn(ne);let c=this._consumeAttributeValue();a.push({prefix:l,name:u,value:c})}else a.push({prefix:l,name:u});this._attemptCharCodeUntilFn(ne)}this._consumeTagOpenEnd()}catch(l){if(l instanceof Zo){n?n.type=4:(this._beginToken(5,e),this._endToken(["<"]));return}throw l}if(this._canSelfClose&&this.tokens[this.tokens.length-1].type===2)return;let o=this._getTagContentType(t,r,this._fullNameStack.length>0,a);this._handleFullNameStackForTagOpen(r,t),o===Ye.RAW_TEXT?this._consumeRawTextWithTagClose(r,t,!1):o===Ye.ESCAPABLE_RAW_TEXT&&this._consumeRawTextWithTagClose(r,t,!0)}_consumeRawTextWithTagClose(e,t,r){this._consumeRawText(r,()=>!this._attemptCharCode(60)||!this._attemptCharCode(47)||(this._attemptCharCodeUntilFn(ne),!this._attemptStrCaseInsensitive(e?`${e}:${t}`:t))?!1:(this._attemptCharCodeUntilFn(ne),this._attemptCharCode(62))),this._beginToken(3),this._requireCharCodeUntilFn(n=>n===62,3),this._cursor.advance(),this._endToken([e,t]),this._handleFullNameStackForTagClose(e,t)}_consumeTagOpenStart(e){this._beginToken(0,e);let t=this._consumePrefixAndName();return this._endToken(t)}_consumeAttributeName(){let e=this._cursor.peek();if(e===39||e===34)throw this._createError(wr(e),this._cursor.getSpan());this._beginToken(14);let t=this._consumePrefixAndName();return this._endToken(t),t}_consumeAttributeValue(){let e;if(this._cursor.peek()===39||this._cursor.peek()===34){let t=this._cursor.peek();this._consumeQuote(t);let r=s(()=>this._cursor.peek()===t,"n");e=this._consumeWithInterpolation(16,17,r,r),this._consumeQuote(t)}else{let t=s(()=>Os(this._cursor.peek()),"r");e=this._consumeWithInterpolation(16,17,t,t)}return e}_consumeQuote(e){this._beginToken(15),this._requireCharCode(e),this._endToken([String.fromCodePoint(e)])}_consumeTagOpenEnd(){let e=this._attemptCharCode(47)?2:1;this._beginToken(e),this._requireCharCode(62),this._endToken([])}_consumeTagClose(e){if(this._beginToken(3,e),this._attemptCharCodeUntilFn(ne),this._allowHtmComponentClosingTags&&this._attemptCharCode(47))this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([]);else{let[t,r]=this._consumePrefixAndName();this._attemptCharCodeUntilFn(ne),this._requireCharCode(62),this._endToken([t,r]),this._handleFullNameStackForTagClose(t,r)}}_consumeExpansionFormStart(){this._beginToken(20),this._requireCharCode(123),this._endToken([]),this._expansionCaseStack.push(20),this._beginToken(7);let e=this._readUntil(44),t=this._processCarriageReturns(e);if(this._i18nNormalizeLineEndingsInICUs)this._endToken([t]);else{let n=this._endToken([e]);t!==e&&this.nonNormalizedIcuExpressions.push(n)}this._requireCharCode(44),this._attemptCharCodeUntilFn(ne),this._beginToken(7);let r=this._readUntil(44);this._endToken([r]),this._requireCharCode(44),this._attemptCharCodeUntilFn(ne)}_consumeExpansionCaseStart(){this._beginToken(21);let e=this._readUntil(123).trim();this._endToken([e]),this._attemptCharCodeUntilFn(ne),this._beginToken(22),this._requireCharCode(123),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.push(22)}_consumeExpansionCaseEnd(){this._beginToken(23),this._requireCharCode(125),this._endToken([]),this._attemptCharCodeUntilFn(ne),this._expansionCaseStack.pop()}_consumeExpansionFormEnd(){this._beginToken(24),this._requireCharCode(125),this._endToken([]),this._expansionCaseStack.pop()}_consumeWithInterpolation(e,t,r,n){this._beginToken(e);let a=[];for(;!r();){let l=this._cursor.clone();this._interpolationConfig&&this._attemptStr(this._interpolationConfig.start)?(this._endToken([this._processCarriageReturns(a.join(""))],l),a.length=0,this._consumeInterpolation(t,l,n),this._beginToken(e)):this._cursor.peek()===38?(this._endToken([this._processCarriageReturns(a.join(""))]),a.length=0,this._consumeEntity(e),this._beginToken(e)):a.push(this._readChar())}this._inInterpolation=!1;let o=this._processCarriageReturns(a.join(""));return this._endToken([o]),o}_consumeInterpolation(e,t,r){let n=[];this._beginToken(e,t),n.push(this._interpolationConfig.start);let a=this._cursor.clone(),o=null,l=!1;for(;this._cursor.peek()!==0&&(r===null||!r());){let u=this._cursor.clone();if(this._isTagStart()){this._cursor=u,n.push(this._getProcessedChars(a,u)),this._endToken(n);return}if(o===null)if(this._attemptStr(this._interpolationConfig.end)){n.push(this._getProcessedChars(a,u)),n.push(this._interpolationConfig.end),this._endToken(n);return}else this._attemptStr("//")&&(l=!0);let c=this._cursor.peek();this._cursor.advance(),c===92?this._cursor.advance():c===o?o=null:!l&&o===null&&qo(c)&&(o=c)}n.push(this._getProcessedChars(a,this._cursor)),this._endToken(n)}_getProcessedChars(e,t){return this._processCarriageReturns(t.getChars(e))}_isTextEnd(){return!!(this._isTagStart()||this._cursor.peek()===0||this._tokenizeIcu&&!this._inInterpolation&&(this.isExpansionFormStart()||this._cursor.peek()===125&&this._isInExpansionCase())||this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansion()&&(this._isBlockStart()||this._cursor.peek()===64||this._cursor.peek()===125))}_isTagStart(){if(this._cursor.peek()===60){let e=this._cursor.clone();e.advance();let t=e.peek();if(97<=t&&t<=122||65<=t&&t<=90||t===47||t===33)return!0}return!1}_isBlockStart(){if(this._tokenizeBlocks&&this._cursor.peek()===64){let e=this._cursor.clone();if(e.advance(),Ps(e.peek()))return!0}return!1}_readUntil(e){let t=this._cursor.clone();return this._attemptUntilChar(e),this._cursor.getChars(t)}_isInExpansion(){return this._isInExpansionCase()||this._isInExpansionForm()}_isInExpansionCase(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===22}_isInExpansionForm(){return this._expansionCaseStack.length>0&&this._expansionCaseStack[this._expansionCaseStack.length-1]===20}isExpansionFormStart(){if(this._cursor.peek()!==123)return!1;if(this._interpolationConfig){let e=this._cursor.clone(),t=this._attemptStr(this._interpolationConfig.start);return this._cursor=e,!t}return!0}_handleFullNameStackForTagOpen(e,t){let r=fa(e,t);(this._fullNameStack.length===0||this._fullNameStack[this._fullNameStack.length-1]===r)&&this._fullNameStack.push(r)}_handleFullNameStackForTagClose(e,t){let r=fa(e,t);this._fullNameStack.length!==0&&this._fullNameStack[this._fullNameStack.length-1]===r&&this._fullNameStack.pop()}},s(_u,"Or"),_u),s(ne,"b"),s(Os,"$s"),s(ah,"mo"),s(oh,"fo"),s(ih,"go"),s(lh,"Co"),s(sh,"So"),s(Kc,"Os"),s(Ps,"Ms"),s(Ns,"qs"),s(c3,"_o"),Iu=(ga=class{constructor(e,t){if(e instanceof ga){this.file=e.file,this.input=e.input,this.end=e.end;let r=e.state;this.state={peek:r.peek,offset:r.offset,line:r.line,column:r.column}}else{if(!t)throw new Error("Programming error: the range argument must be provided with a file argument.");this.file=e,this.input=e.content,this.end=t.endPos,this.state={peek:-1,offset:t.startPos,line:t.startLine,column:t.startCol}}}clone(){return new ga(this)}peek(){return this.state.peek}charsLeft(){return this.end-this.state.offset}diff(e){return this.state.offset-e.state.offset}advance(){this.advanceState(this.state)}init(){this.updatePeek(this.state)}getSpan(e,t){e=e||this;let r=e;if(t)for(;this.diff(e)>0&&t.indexOf(e.peek())!==-1;)r===e&&(e=e.clone()),e.advance();let n=this.locationFromCursor(e),a=this.locationFromCursor(this),o=r!==e?this.locationFromCursor(r):n;return new q(n,a,o)}getChars(e){return this.input.substring(e.state.offset,this.state.offset)}charAt(e){return this.input.charCodeAt(e)}advanceState(e){if(e.offset>=this.end)throw this.state=e,new Jo('Unexpected character "EOF"',this);let t=this.charAt(e.offset);t===10?(e.line++,e.column=0):Vo(t)||e.column++,e.offset++,this.updatePeek(e)}updatePeek(e){e.peek=e.offset>=this.end?0:this.charAt(e.offset)}locationFromCursor(e){return new Wi(e.file,e.state.offset,e.state.line,e.state.column)}},s(ga,"t"),ga),pm=(va=class extends Iu{constructor(e,t){e instanceof va?(super(e),this.internalState={...e.internalState}):(super(e,t),this.internalState=this.state)}advance(){this.state=this.internalState,super.advance(),this.processEscapeSequence()}init(){super.init(),this.processEscapeSequence()}clone(){return new va(this)}getChars(e){let t=e.clone(),r="";for(;t.internalState.offsetthis.internalState.peek,"e");if(e()===92)if(this.internalState={...this.state},this.advanceState(this.internalState),e()===110)this.state.peek=10;else if(e()===114)this.state.peek=13;else if(e()===118)this.state.peek=11;else if(e()===116)this.state.peek=9;else if(e()===98)this.state.peek=8;else if(e()===102)this.state.peek=12;else if(e()===117)if(this.advanceState(this.internalState),e()===123){this.advanceState(this.internalState);let t=this.clone(),r=0;for(;e()!==125;)this.advanceState(this.internalState),r++;this.state.peek=this.decodeHexDigits(t,r)}else{let t=this.clone();this.advanceState(this.internalState),this.advanceState(this.internalState),this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,4)}else if(e()===120){this.advanceState(this.internalState);let t=this.clone();this.advanceState(this.internalState),this.state.peek=this.decodeHexDigits(t,2)}else if(Bs(e())){let t="",r=0,n=this.clone();for(;Bs(e())&&r<3;)n=this.clone(),t+=String.fromCodePoint(e()),this.advanceState(this.internalState),r++;this.state.peek=parseInt(t,8),this.internalState=n.internalState}else Vo(this.internalState.peek)?(this.advanceState(this.internalState),this.state=this.internalState):this.state.peek=this.internalState.peek}decodeHexDigits(e,t){let r=this.input.slice(e.internalState.offset,e.internalState.offset+t),n=parseInt(r,16);if(isNaN(n))throw e.state=e.internalState,new Jo("Invalid hexadecimal escape sequence",e);return n}},s(va,"t"),va),Jo=(Ru=class{constructor(e,t){this.msg=e,this.cursor=t}},s(Ru,"gt"),Ru),ye=(Xo=class extends eu{static create(e,t,r){return new Xo(e,t,r)}constructor(e,t,r){super(t,r),this.elementName=e}},s(Xo,"t"),Xo),fm=(Bu=class{constructor(e,t){this.rootNodes=e,this.errors=t}},s(Bu,"Vr"),Bu),hm=(zu=class{constructor(e){this.getTagDefinition=e}parse(e,t,r,n=!1,a){let o=s(f=>(y,...m)=>f(y.toLowerCase(),...m),"a"),l=n?this.getTagDefinition:o(this.getTagDefinition),u=s(f=>l(f).getContentType(),"u"),c=n?a:o(a),d=rh(e,t,a?(f,y,m,w)=>{let x=c(f,y,m,w);return x!==void 0?x:u(f)}:u,r),p=r&&r.canSelfClose||!1,g=r&&r.allowHtmComponentClosingTags||!1,h=new mm(d.tokens,l,p,g,n);return h.build(),new fm(h.rootNodes,d.errors.concat(h.errors))}},s(zu,"nr"),zu),mm=(Qo=class{constructor(e,t,r,n,a){this.tokens=e,this.getTagDefinition=t,this.canSelfClose=r,this.allowHtmComponentClosingTags=n,this.isTagNameCaseSensitive=a,this._index=-1,this._containerStack=[],this.rootNodes=[],this.errors=[],this._advance()}build(){for(;this._peek.type!==34;)this._peek.type===0||this._peek.type===4?this._consumeStartTag(this._advance()):this._peek.type===3?(this._closeVoidElement(),this._consumeEndTag(this._advance())):this._peek.type===12?(this._closeVoidElement(),this._consumeCdata(this._advance())):this._peek.type===10?(this._closeVoidElement(),this._consumeComment(this._advance())):this._peek.type===5||this._peek.type===7||this._peek.type===6?(this._closeVoidElement(),this._consumeText(this._advance())):this._peek.type===20?this._consumeExpansion(this._advance()):this._peek.type===25?(this._closeVoidElement(),this._consumeBlockOpen(this._advance())):this._peek.type===27?(this._closeVoidElement(),this._consumeBlockClose(this._advance())):this._peek.type===29?(this._closeVoidElement(),this._consumeIncompleteBlock(this._advance())):this._peek.type===30?(this._closeVoidElement(),this._consumeLet(this._advance())):this._peek.type===18?this._consumeDocType(this._advance()):this._peek.type===33?(this._closeVoidElement(),this._consumeIncompleteLet(this._advance())):this._advance();for(let e of this._containerStack)e instanceof Dr&&this.errors.push(ye.create(e.name,e.sourceSpan,`Unclosed block "${e.name}"`))}_advance(){let e=this._peek;return this._index0)return this.errors=this.errors.concat(a.errors),null;let o=new q(e.sourceSpan.start,n.sourceSpan.end,e.sourceSpan.fullStart),l=new q(t.sourceSpan.start,n.sourceSpan.end,t.sourceSpan.fullStart);return new om(e.parts[0],a.rootNodes,o,e.sourceSpan,l)}_collectExpansionExpTokens(e){let t=[],r=[22];for(;;){if((this._peek.type===20||this._peek.type===22)&&r.push(this._peek.type),this._peek.type===23)if(Hs(r,22)){if(r.pop(),r.length===0)return t}else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===24)if(Hs(r,20))r.pop();else return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;if(this._peek.type===34)return this.errors.push(ye.create(null,e.sourceSpan,"Invalid ICU message. Missing '}'.")),null;t.push(this._advance())}}_getText(e){let t=e.parts[0];if(t.length>0&&t[0]==` -`){let r=this._getClosestParentElement();r!=null&&r.children.length==0&&this.getTagDefinition(r.name).ignoreFirstLf&&(t=t.substring(1))}return t}_consumeText(e){let t=[e],r=e.sourceSpan,n=e.parts[0];if(n.length>0&&n[0]===` -`){let a=this._getContainer();a!=null&&a.children.length===0&&this.getTagDefinition(a.name).ignoreFirstLf&&(n=n.substring(1),t[0]={type:e.type,sourceSpan:e.sourceSpan,parts:[n]})}for(;this._peek.type===8||this._peek.type===5||this._peek.type===9;)e=this._advance(),t.push(e),e.type===8?n+=e.parts.join("").replace(/&([^;]+);/g,$s):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new rm(n,new q(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof Rt&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let h=this.getTagDefinition(a);this.canSelfClose||h.canSelfClose||Ra(a)!==null||h.isVoid||this.errors.push(ye.create(a,e.sourceSpan,`Only void, custom and foreign elements can be self closed "${e.parts[1]}"`))}else this._peek.type===1&&(this._advance(),o=!1);let l=this._peek.sourceSpan.fullStart,u=new q(e.sourceSpan.start,l,e.sourceSpan.fullStart),c=new q(e.sourceSpan.start,l,e.sourceSpan.fullStart),d=new q(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new Rt(a,n,[],u,c,void 0,d),g=this._getContainer();this._pushContainer(p,g instanceof Rt&&this.getTagDefinition(g.name).isClosedByChild(p.name)),o?this._popContainer(a,Rt,u):e.type===4&&(this._popContainer(a,Rt,null),this.errors.push(ye.create(a,u,`Opening tag "${a}" not terminated.`)))}_pushContainer(e,t){t&&this._containerStack.pop(),this._addToParent(e),this._containerStack.push(e)}_consumeEndTag(e){let t=this.allowHtmComponentClosingTags&&e.parts.length===0?null:this._getElementFullName(e.parts[0],e.parts[1],this._getClosestParentElement());if(t&&this.getTagDefinition(t).isVoid)this.errors.push(ye.create(t,e.sourceSpan,`Void elements do not have end tags "${e.parts[1]}"`));else if(!this._popContainer(t,Rt,e.sourceSpan)){let r=`Unexpected closing tag "${t}". It may happen when the tag has already been closed by another tag. For more info see https://www.w3.org/TR/html5/syntax.html#closing-elements-that-have-implied-end-tags`;this.errors.push(ye.create(t,e.sourceSpan,r))}}_popContainer(e,t,r){let n=!1;for(let a=this._containerStack.length-1;a>=0;a--){let o=this._containerStack[a];if(Ra(o.name)?o.name===e:(e==null||o.name.toLowerCase()===e.toLowerCase())&&o instanceof t)return o.endSourceSpan=r,o.sourceSpan.end=r!==null?r.end:o.sourceSpan.end,this._containerStack.splice(a,this._containerStack.length-a),!n;(o instanceof Dr||o instanceof Rt&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=fa(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],l,u;if(this._peek.type===16)for(l=this._peek.sourceSpan,u=this._peek.sourceSpan.end;this._peek.type===16||this._peek.type===17||this._peek.type===9;){let d=this._advance();o.push(d),d.type===17?a+=d.parts.join("").replace(/&([^;]+);/g,$s):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),u=r=d.sourceSpan.end}this._peek.type===15&&(u=r=this._advance().sourceSpan.end);let c=l&&u&&new q((n==null?void 0:n.sourceSpan.start)??l.start,u,(n==null?void 0:n.sourceSpan.fullStart)??l.fullStart);return new im(t,a,new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,c,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Eu(l.parts[0],l.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Dr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Dr,e.sourceSpan)||this.errors.push(ye.create(null,e.sourceSpan,'Unexpected closing block. The block may have been closed earlier. If you meant to write the } character, you should use the "}" HTML entity instead.'))}_consumeIncompleteBlock(e){let t=[];for(;this._peek.type===28;){let l=this._advance();t.push(new Eu(l.parts[0],l.sourceSpan))}let r=this._peek.sourceSpan.fullStart,n=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new q(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Dr(e.parts[0],t,[],n,e.sourceSpan,a);this._pushContainer(o,!1),this._popContainer(null,Dr,null),this.errors.push(ye.create(e.parts[0],n,`Incomplete block "${e.parts[0]}". If you meant to write the @ character, you should use the "@" HTML entity instead.`))}_consumeLet(e){let t=e.parts[0],r,n;if(this._peek.type!==31){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Invalid @let declaration "${t}". Declaration must have a value.`));return}else r=this._advance();if(this._peek.type!==32){this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Unterminated @let declaration "${t}". Declaration must be terminated with a semicolon.`));return}else n=this._advance();let a=n.sourceSpan.fullStart,o=new q(e.sourceSpan.start,a,e.sourceSpan.fullStart),l=e.sourceSpan.toString().lastIndexOf(t),u=e.sourceSpan.start.moveBy(l),c=new q(u,e.sourceSpan.end),d=new xu(t,r.parts[0],o,c,r.sourceSpan);this._addToParent(d)}_consumeIncompleteLet(e){let t=e.parts[0]??"",r=t?` "${t}"`:"";if(t.length>0){let n=e.sourceSpan.toString().lastIndexOf(t),a=e.sourceSpan.start.moveBy(n),o=new q(a,e.sourceSpan.end),l=new q(e.sourceSpan.start,e.sourceSpan.start.moveBy(0)),u=new xu(t,"",e.sourceSpan,o,l);this._addToParent(u)}this.errors.push(ye.create(e.parts[0],e.sourceSpan,`Incomplete @let declaration${r}. @let declarations must be written as \`@let = ;\``))}_getContainer(){return this._containerStack.length>0?this._containerStack[this._containerStack.length-1]:null}_getClosestParentElement(){for(let e=this._containerStack.length-1;e>-1;e--)if(this._containerStack[e]instanceof Rt)return this._containerStack[e];return null}_addToParent(e){let t=this._getContainer();t===null?this.rootNodes.push(e):t.children.push(e)}_getElementFullName(e,t,r){if(e===""&&(e=this.getTagDefinition(t).implicitNamespacePrefix||"",e===""&&r!=null)){let n=Za(r.name)[1];this.getTagDefinition(n).preventNamespaceInheritance||(e=Ra(r.name))}return fa(e,t)}},s(Qo,"t"),Qo),s(Hs,"zs"),s($s,"Gs"),gm=(Tu=class extends hm{constructor(){super(Hi)}parse(e,t,r,n=!1,a){return super.parse(e,t,r,n,a)}},s(Tu,"sr"),Tu),ei=null,t7=s(()=>(ei||(ei=new gm),ei),"Eo"),s(Yc,"zr"),s(uh,"Ao"),r7=uh,En=3,s(d3,"Do"),s(ch,"vo"),n7=ch,ya={attrs:!0,children:!0,cases:!0,expression:!0},Lu=new Set(["parent"]),a7=(xr=class{constructor(e={}){for(let t of new Set([...Lu,...Object.keys(e)]))this.setProperty(t,e[t])}setProperty(e,t){if(this[e]!==t){if(e in ya&&(t=t.map(r=>this.createChild(r))),!Lu.has(e)){this[e]=t;return}Object.defineProperty(this,e,{value:t,enumerable:!1,configurable:!0})}}map(e){let t;for(let r in ya){let n=this[r];if(n){let a=dh(n,o=>o.map(e));t!==n&&(t||(t=new xr({parent:this.parent})),t.setProperty(r,a))}}if(t)for(let r in this)r in ya||(t[r]=this[r]);return e(t||this)}walk(e){for(let t in ya){let r=this[t];if(r)for(let n=0;n[e.fullName,e.value]))}},s(xr,"t"),xr),s(dh,"yo"),o7=[{regex:/^(\[if([^\]]*)\]>)(.*?)a==="lang"&&o!=="html"&&o!==""&&o!==void 0))}}),wm=ha({name:"lwc",canSelfClose:!1}),Em={html:Hh},l7=Us});function Bt(){}function Dm(e,t,r,n,a){for(var o=[],l;t;)o.push(t),l=t.previousComponent,delete t.previousComponent,t=l;o.reverse();for(var u=0,c=o.length,d=0,p=0;um.length?x:m}),g.value=e.join(f)}else g.value=e.join(r.slice(d,d+g.count));d+=g.count,g.added||(p+=g.count)}}var y=o[c-1];return c>1&&typeof y.value=="string"&&(y.added||y.removed)&&e.equals("",y.value)&&(o[c-2].value+=y.value,o.pop()),o}function Wa(e){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Wa=s(function(t){return typeof t},"$e"):Wa=s(function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},"$e"),Wa(e)}function Gi(e,t,r,n,a){t=t||[],r=r||[],n&&(e=n(a,e));var o;for(o=0;o=0?e.charAt(t+1)===` -`?"crlf":"cr":"lf"}function Ll(e){switch(e){case"cr":return"\r";case"crlf":return`\r -`;default:return` -`}}function m1(e,t){let r;switch(t){case` -`:r=/\n/gu;break;case"\r":r=/\r/gu;break;case`\r -`:r=/\r\n/gu;break;default:throw new Error(`Unexpected "eol" ${JSON.stringify(t)}.`)}let n=e.match(r);return n?n.length:0}function c7(e){return xo(!1,e,/\r\n?/gu,` -`)}function xm(e){if(typeof e=="string")return ur;if(Array.isArray(e))return Et;if(!e)return;let{type:t}=e;if(A1.has(t))return t}function Cm(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}', -Expected it to be 'string' or 'object'.`;if(cr(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return`Unexpected doc '${r}'.`;let n=X7([...A1].map(a=>`'${a}'`));return`Unexpected doc.type '${e.type}'. -Expected it to be ${n}.`}function Sm(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===D0){r(a.pop());continue}r&&a.push(o,D0);let l=cr(o);if(!l)throw new $r(o);if((t==null?void 0:t(o))!==!1)switch(l){case Et:case Xe:{let u=l===Et?o:o.parts;for(let c=u.length,d=c-1;d>=0;--d)a.push(u[d]);break}case Fe:a.push(o.flatContents,o.breakContents);break;case ke:if(n&&o.expandedStates)for(let u=o.expandedStates.length,c=u-1;c>=0;--c)a.push(o.expandedStates[c]);else a.push(o.contents);break;case xt:case Dt:case Ct:case Qe:case St:a.push(o.contents);break;case ur:case Qt:case yt:case bt:case fe:case Te:break;default:throw new $r(o)}}}function ro(e){return et(e),{type:Dt,contents:e}}function Hr(e,t){return et(t),{type:xt,contents:t,n:e}}function t0(e,t={}){return et(e),Pl(t.expandedStates,!0),{type:ke,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function km(e){return Hr(Number.NEGATIVE_INFINITY,e)}function Am(e){return Hr({type:"root"},e)}function Fm(e){return Hr(-1,e)}function _m(e,t){return t0(e[0],{...t,expandedStates:e})}function r0(e){return Pl(e),{type:Xe,parts:e}}function Im(e,t="",r={}){return et(e),t!==""&&et(t),{type:Fe,breakContents:e,flatContents:t,groupId:r.groupId}}function Rm(e,t){return et(e),{type:Ct,contents:e,groupId:t.groupId,negate:t.negate}}function Ki(e){return et(e),{type:St,contents:e}}function n0(e,t){et(e),Pl(t);let r=[];for(let n=0;n0){for(let a=0;a0?`, { ${p.join(", ")} }`:"";return`indentIfBreak(${n(o.contents)}${g})`}if(o.type===ke){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push(`id: ${a(o.id)}`);let g=p.length>0?`, { ${p.join(", ")} }`:"";return o.expandedStates?`conditionalGroup([${o.expandedStates.map(h=>n(h)).join(",")}]${g})`:`group(${n(o.contents)}${g})`}if(o.type===Xe)return`fill([${o.parts.map(p=>n(p)).join(", ")}])`;if(o.type===St)return"lineSuffix("+n(o.contents)+")";if(o.type===bt)return"lineSuffixBoundary";if(o.type===Qe)return`label(${JSON.stringify(o.label)}, ${n(o.contents)})`;throw new Error("Unknown doc type "+o.type)}function a(o){if(typeof o!="symbol")return JSON.stringify(String(o));if(o in t)return t[o];let l=o.description||"symbol";for(let u=0;;u++){let c=l+(u>0?` #${u}`:"");if(!r.has(c))return r.add(c),t[o]=`Symbol.for(${JSON.stringify(c)})`}}}function zm(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function Tm(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9800&&e<=9811||e===9855||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12771||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=19903||e>=19968&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e===94192||e===94193||e>=94208&&e<=100343||e>=100352&&e<=101589||e>=101632&&e<=101640||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128727||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129672||e>=129680&&e<=129725||e>=129727&&e<=129733||e>=129742&&e<=129755||e>=129760&&e<=129768||e>=129776&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}function Lm(e){if(!e)return 0;if(!ty.test(e))return e.length;e=e.replace(Q7()," ");let t=0;for(let r of e){let n=r.codePointAt(0);n<=31||n>=127&&n<=159||n>=768&&n<=879||(t+=ey(n)?1:2)}return t}function no(e,t){if(typeof e=="string")return t(e);let r=new Map;return n(e);function n(o){if(r.has(o))return r.get(o);let l=a(o);return r.set(o,l),l}function a(o){switch(cr(o)){case Et:return t(o.map(n));case Xe:return t({...o,parts:o.parts.map(n)});case Fe:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case ke:{let{expandedStates:l,contents:u}=o;return l?(l=l.map(n),u=l[0]):u=n(u),t({...o,contents:u,expandedStates:l})}case xt:case Dt:case Ct:case Qe:case St:return t({...o,contents:n(o.contents)});case ur:case Qt:case yt:case bt:case fe:case Te:return t(o);default:throw new $r(o)}}}function Yi(e,t,r){let n=r,a=!1;function o(l){if(a)return!1;let u=t(l);u!==void 0&&(a=!0,n=u)}return s(o,"u"),Qi(e,o),n}function p7(e){if(e.type===ke&&e.break||e.type===fe&&e.hard||e.type===Te)return!0}function Mm(e){return Yi(e,p7,!1)}function o0(e){if(e.length>0){let t=ue(!1,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function f7(e){let t=new Set,r=[];function n(o){if(o.type===Te&&o0(r),o.type===ke){if(r.push(o),t.has(o))return!1;t.add(o)}}s(n,"n");function a(o){o.type===ke&&r.pop().break&&o0(r)}s(a,"o"),Qi(e,n,a,!0)}function h7(e){return e.type===fe&&!e.hard?e.soft?"":" ":e.type===Fe?e.flatContents:e}function Om(e){return no(e,h7)}function i0(e){for(e=[...e];e.length>=2&&ue(!1,e,-2).type===fe&&ue(!1,e,-1).type===Te;)e.length-=2;if(e.length>0){let t=In(ue(!1,e,-1));e[e.length-1]=t}return e}function In(e){switch(cr(e)){case Dt:case Ct:case ke:case St:case Qe:{let t=In(e.contents);return{...e,contents:t}}case Fe:return{...e,breakContents:In(e.breakContents),flatContents:In(e.flatContents)};case Xe:return{...e,parts:i0(e.parts)};case Et:return i0(e);case ur:return e.replace(/[\n\r]*$/u,"");case xt:case Qt:case yt:case bt:case fe:case Te:break;default:throw new $r(e)}return e}function l0(e){return In(g7(e))}function m7(e){switch(cr(e)){case Xe:if(e.parts.every(t=>t===""))return"";break;case ke:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===ke&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case xt:case Dt:case Ct:case St:if(!e.contents)return"";break;case Fe:if(!e.flatContents&&!e.breakContents)return"";break;case Et:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof ue(!1,t,-1)=="string"?t[t.length-1]+=n:t.push(n),t.push(...a)}return t.length===0?"":t.length===1?t[0]:t}case ur:case Qt:case yt:case bt:case fe:case Qe:case Te:break;default:throw new $r(e)}return e}function g7(e){return no(e,t=>m7(t))}function Pm(e,t=C0){return no(e,r=>typeof r=="string"?n0(t,r.split(` -`)):r)}function v7(e){if(e.type===fe)return!0}function Nm(e){return Yi(e,v7,!1)}function g1(e,t){return e.type===Qe?{...e,contents:t(e.contents)}:t(e)}function v1(){return{value:"",length:0,queue:[]}}function y7(e,t){return Zi(e,{type:"indent"},t)}function b7(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||v1():t<0?Zi(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:Zi(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function Zi(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,l=0,u=0;for(let y of n)switch(y.type){case"indent":p(),r.useTabs?c(1):d(r.tabWidth);break;case"stringAlign":p(),a+=y.n,o+=y.n.length;break;case"numberAlign":l+=1,u+=y.n;break;default:throw new Error(`Unexpected type '${y.type}'`)}return h(),{...e,value:a,length:o,queue:n};function c(y){a+=" ".repeat(y),o+=r.tabWidth*y}function d(y){a+=" ".repeat(y),o+=y}function p(){r.useTabs?g():h()}function g(){l>0&&c(l),f()}function h(){u>0&&d(u),f()}function f(){l=0,u=0}}function Ji(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===Rn){r++;continue}for(let o=a.length-1;o>=0;o--){let l=a[o];if(l===" "||l===" ")t++;else{e[n]=a.slice(0,o+1);break e}}}if(t>0||r>0)for(e.length=n+1;r-- >0;)e.push(Rn);return t}function Ta(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let l=t.length,u=[e],c=[];for(;r>=0;){if(u.length===0){if(l===0)return!0;u.push(t[--l]);continue}let{mode:d,doc:p}=u.pop(),g=cr(p);switch(g){case ur:c.push(p),r-=tl(p);break;case Et:case Xe:{let h=g===Et?p:p.parts;for(let f=h.length-1;f>=0;f--)u.push({mode:d,doc:h[f]});break}case Dt:case xt:case Ct:case Qe:u.push({mode:d,doc:p.contents});break;case yt:r+=Ji(c);break;case ke:{if(o&&p.break)return!1;let h=p.break?xe:d,f=p.expandedStates&&h===xe?ue(!1,p.expandedStates,-1):p.contents;u.push({mode:h,doc:f});break}case Fe:{let h=(p.groupId?a[p.groupId]||Ge:d)===xe?p.breakContents:p.flatContents;h&&u.push({mode:d,doc:h});break}case fe:if(d===xe||p.hard)return!0;p.soft||(c.push(" "),r--);break;case St:n=!0;break;case bt:if(n)return!1;break}}return!1}function ao(e,t){let r={},n=t.printWidth,a=Ll(t.endOfLine),o=0,l=[{ind:v1(),mode:xe,doc:e}],u=[],c=!1,d=[],p=0;for(f7(e);l.length>0;){let{ind:h,mode:f,doc:y}=l.pop();switch(cr(y)){case ur:{let m=a!==` -`?xo(!1,y,` -`,a):y;u.push(m),l.length>0&&(o+=tl(m));break}case Et:for(let m=y.length-1;m>=0;m--)l.push({ind:h,mode:f,doc:y[m]});break;case Qt:if(p>=2)throw new Error("There are too many 'cursor' in doc.");u.push(Rn),p++;break;case Dt:l.push({ind:y7(h,t),mode:f,doc:y.contents});break;case xt:l.push({ind:b7(h,y.n,t),mode:f,doc:y.contents});break;case yt:o-=Ji(u);break;case ke:switch(f){case Ge:if(!c){l.push({ind:h,mode:y.break?xe:Ge,doc:y.contents});break}case xe:{c=!1;let m={ind:h,mode:Ge,doc:y.contents},w=n-o,x=d.length>0;if(!y.break&&Ta(m,l,w,x,r))l.push(m);else if(y.expandedStates){let D=ue(!1,y.expandedStates,-1);if(y.break){l.push({ind:h,mode:xe,doc:D});break}else for(let E=1;E=y.expandedStates.length){l.push({ind:h,mode:xe,doc:D});break}else{let b=y.expandedStates[E],C={ind:h,mode:Ge,doc:b};if(Ta(C,l,w,x,r)){l.push(C);break}}}else l.push({ind:h,mode:xe,doc:y.contents});break}}y.id&&(r[y.id]=ue(!1,l,-1).mode);break;case Xe:{let m=n-o,{parts:w}=y;if(w.length===0)break;let[x,D]=w,E={ind:h,mode:Ge,doc:x},b={ind:h,mode:xe,doc:x},C=Ta(E,[],m,d.length>0,r,!0);if(w.length===1){C?l.push(E):l.push(b);break}let S={ind:h,mode:Ge,doc:D},A={ind:h,mode:xe,doc:D};if(w.length===2){C?l.push(S,E):l.push(A,b);break}w.splice(0,2);let k={ind:h,mode:f,doc:r0(w)},_=w[0];Ta({ind:h,mode:Ge,doc:[x,D,_]},[],m,d.length>0,r,!0)?l.push(k,S,E):C?l.push(k,A,E):l.push(k,A,b);break}case Fe:case Ct:{let m=y.groupId?r[y.groupId]:f;if(m===xe){let w=y.type===Fe?y.breakContents:y.negate?y.contents:ro(y.contents);w&&l.push({ind:h,mode:f,doc:w})}if(m===Ge){let w=y.type===Fe?y.flatContents:y.negate?ro(y.contents):y.contents;w&&l.push({ind:h,mode:f,doc:w})}break}case St:d.push({ind:h,mode:f,doc:y.contents});break;case bt:d.length>0&&l.push({ind:h,mode:f,doc:Ei});break;case fe:switch(f){case Ge:if(y.hard)c=!0;else{y.soft||(u.push(" "),o+=1);break}case xe:if(d.length>0){l.push({ind:h,mode:f,doc:y},...d.reverse()),d.length=0;break}y.literal?h.root?(u.push(a,h.root.value),o=h.root.length):(u.push(a),o=0):(o-=Ji(u),u.push(a+h.value),o=h.length);break}break;case Qe:l.push({ind:h,mode:f,doc:y.contents});break;case Te:break;default:throw new $r(y)}l.length===0&&d.length>0&&(l.push(...d.reverse()),d.length=0)}let g=u.indexOf(Rn);if(g!==-1){let h=u.indexOf(Rn,g+1),f=u.slice(0,g).join(""),y=u.slice(g+1,h).join(""),m=u.slice(h+1).join("");return{formatted:f+y+m,cursorNodeStart:f.length,cursorNodeText:y}}return{formatted:u.join("")}}function Hm(e,t,r=0){let n=0;for(let a=r;a!0,"n")}=t,a=s(o=>ny(o)&&n(o),"o");for(let o of r(e)){let l=e[o];if(Array.isArray(l))for(let u of l)a(u)&&(yield u);else a(l)&&(yield l)}}function*w7(e,t){let r=[e];for(let n=0;n{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,l=r;for(;l>=0&&l0}function Um(e){return e?t=>e(t,A0):oy}function E7(e){let t=e.type||e.kind||"(unknown type)",r=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return r.length>20&&(r=r.slice(0,19)+"…"),t+(r?" "+r:"")}function Ml(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=E7(e)}function Br(e,t){t.leading=!0,t.trailing=!1,Ml(e,t)}function Ga(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),Ml(e,t)}function zr(e,t){t.leading=!1,t.trailing=!0,Ml(e,t)}function Ol(e,t){if(Di.has(e))return Di.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:l}=t;if(!n)return[];let u=((r==null?void 0:r(e,t))??[...y1(e,{getVisitorKeys:Co(a)})]).flatMap(c=>n(c)?[c]:Ol(c,t));return u.sort((c,d)=>o(c)-o(d)||l(c)-l(d)),Di.set(e,u),u}function b1(e,t,r,n){let{locStart:a,locEnd:o}=r,l=a(t),u=o(t),c=Ol(e,r),d,p,g=0,h=c.length;for(;g>1,y=c[f],m=a(y),w=o(y);if(m<=l&&u<=w)return b1(y,t,r,y);if(w<=l){d=y,g=f+1;continue}if(u<=m){p=y,h=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,y=yi(f,t,r);d&&yi(f,d,r)!==y&&(d=null),p&&yi(f,p,r)!==y&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function D7(e,t){let{comments:r}=e;if(delete e.comments,!ay(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:l=!1}={},handleComments:u={}},originalText:c}=t,{ownLine:d=xi,endOfLine:p=xi,remaining:g=xi}=u,h=r.map((f,y)=>({...b1(e,f,t),comment:f,text:c,options:t,ast:e,isLastComment:r.length-1===y}));for(let[f,y]of h.entries()){let{comment:m,precedingNode:w,enclosingNode:x,followingNode:D,text:E,options:b,ast:C,isLastComment:S}=y;if(b.parser==="json"||b.parser==="json5"||b.parser==="jsonc"||b.parser==="__js_expression"||b.parser==="__ts_expression"||b.parser==="__vue_expression"||b.parser==="__vue_ts_expression"){if(a(m)-a(C)<=0){Br(C,m);continue}if(o(m)-o(C)>=0){zr(C,m);continue}}let A;if(l?A=[y]:(m.enclosingNode=x,m.precedingNode=w,m.followingNode=D,A=[m,E,b,C,S]),x7(E,b,h,f))m.placement="ownLine",d(...A)||(D?Br(D,m):w?zr(w,m):Ga(x||C,m));else if(C7(E,b,h,f))m.placement="endOfLine",p(...A)||(w?zr(w,m):D?Br(D,m):Ga(x||C,m));else if(m.placement="remaining",!g(...A))if(w&&D){let k=n.length;k>0&&n[k-1].followingNode!==D&&s0(n,b),n.push(y)}else w?zr(w,m):D?Br(D,m):Ga(x||C,m)}if(s0(n,t),!l)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function x7(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:l,locEnd:u}=t,c=l(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:g}=r[d];if(g!==o||!F1(e.slice(u(p),c)))break;c=l(p)}return Pt(e,c,{backwards:!0})}function C7(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:l,locEnd:u}=t,c=u(a);if(o)for(let d=n+1;d0;--c){let{comment:d,precedingNode:p,followingNode:g}=e[c-1];nl.strictEqual(p,o),nl.strictEqual(g,l);let h=t.originalText.slice(t.locEnd(d),u);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,h,t))??/^[\s(]*$/u.test(h))u=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d1&&d.comments.sort((p,g)=>t.locStart(p)-t.locStart(g));e.length=0}function yi(e,t,r){let n=r.locStart(t)-1;for(let a=1;a!n.has(u)).length===0)return{leading:"",trailing:""};let a=[],o=[],l;return e.each(()=>{let u=e.node;if(n!=null&&n.has(u))return;let{leading:c,trailing:d}=u;c?a.push(S7(e,t)):d&&(l=k7(e,t,l),o.push(l.doc))},"comments"),{leading:a,trailing:o}}function F7(e,t,r){let{leading:n,trailing:a}=A7(e,r);return!n&&!a?t:g1(t,o=>[n,o,a])}function _7(e){let{[Symbol.for("comments")]:t,[Symbol.for("printedComments")]:r}=e;for(let n of t){if(!n.printed&&!r.has(n))throw new Error('Comment "'+n.value.trim()+'" was not printed. Please report this error!');delete n.printed}}function Gm(e){return()=>{}}function u0({plugins:e=[],showDeprecated:t=!1}={}){let r=e.flatMap(a=>a.languages??[]),n=[];for(let a of R7(Object.assign({},...e.map(({options:o})=>o),ly)))!t&&a.deprecated||(Array.isArray(a.choices)&&(t||(a.choices=a.choices.filter(o=>!o.deprecated)),a.name==="parser"&&(a.choices=[...a.choices,...I7(a.choices,r,e)])),a.pluginDefaults=Object.fromEntries(e.filter(o=>{var l;return((l=o.defaultOptions)==null?void 0:l[a.name])!==void 0}).map(o=>[o.name,o.defaultOptions[a.name]])),n.push(a));return{languages:r,options:n}}function*I7(e,t,r){let n=new Set(e.map(a=>a.value));for(let a of t)if(a.parsers){for(let o of a.parsers)if(!n.has(o)){n.add(o);let l=r.find(c=>c.parsers&&Object.prototype.hasOwnProperty.call(c.parsers,o)),u=a.name;l!=null&&l.name&&(u+=` (plugin: ${l.name})`),yield{value:o,description:u}}}}function R7(e){let t=[];for(let[r,n]of Object.entries(e)){let a={name:r,...n};Array.isArray(a.default)&&(a.default=ue(!1,a.default,-1).value),t.push(a)}return t}function c0(e,t){if(!t)return;let r=sy(t).toLowerCase();return e.find(({filenames:n})=>n==null?void 0:n.some(a=>a.toLowerCase()===r))??e.find(({extensions:n})=>n==null?void 0:n.some(a=>r.endsWith(a)))}function B7(e,t){if(t)return e.find(({name:r})=>r.toLowerCase()===t)??e.find(({aliases:r})=>r==null?void 0:r.includes(t))??e.find(({extensions:r})=>r==null?void 0:r.includes(`.${t}`))}function Km(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=B7(r,t.language)??c0(r,t.physicalFile)??c0(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function Mu(e,t,r,n){return[`Invalid ${Tr.default.red(n.key(e))} value.`,`Expected ${Tr.default.blue(r)},`,`but received ${t===_0?Tr.default.gray("nothing"):Tr.default.red(n.value(t))}.`].join(" ")}function d0({text:e,list:t},r){let n=[];return e&&n.push(`- ${Tr.default.blue(e)}`),t&&n.push([`- ${Tr.default.blue(t.title)}:`].concat(t.values.map(a=>d0(a,r-I0.length).replace(/^|\n/g,`$&${I0}`))).join(` -`)),p0(n,r)}function p0(e,t){if(e.length===1)return e[0];let[r,n]=e,[a,o]=e.map(l=>l.split(` -`,1)[0].length);return a>t&&a>o?n:r}function Ym(e,t){if(e===t)return 0;let r=e;e.length>t.length&&(e=t,t=r);let n=e.length,a=t.length;for(;n>0&&e.charCodeAt(~-n)===t.charCodeAt(~-a);)n--,a--;let o=0;for(;ou?d>u?u+1:d:d>c?c+1:d;return u}function Zm(e,t){let r=new e(t),n=Object.create(r);for(let a of cy)a in t&&(n[a]=z7(t[a],r,Lt.prototype[a].length));return n}function z7(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function Ou({from:e,to:t}){return{from:[e],to:t}}function Jm(e,t){let r=Object.create(null);for(let n of e){let a=n[t];if(r[a])throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r[a]=n}return r}function Xm(e,t){let r=new Map;for(let n of e){let a=n[t];if(r.has(a))throw new Error(`Duplicate ${t} ${JSON.stringify(a)}`);r.set(a,n)}return r}function Qm(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function e5(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function t5(e){return e===Math.floor(e)}function r5(e,t){if(e===t)return 0;let r=typeof e,n=typeof t,a=["undefined","object","boolean","number","string"];return r!==n?a.indexOf(r)-a.indexOf(n):r!=="string"?Number(e)-Number(t):e.localeCompare(t)}function n5(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function Pu(e){return e===void 0?{}:e}function f0(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return T7((t||r)!==void 0,"Unexpected `expected` result, there should be at least one field."),r?{text:t,list:{title:r.title,values:r.values.map(f0)}}:{text:t}}function Nu(e,t){return e===!0?!0:e===!1?{value:t}:e}function Hu(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function h0(e,t){return typeof e=="string"||"key"in e?{from:t,to:e}:"from"in e?{from:e.from,to:e.to}:{from:t,to:e.to}}function bi(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>h0(r,t)):[h0(e,t)]}function $u(e,t){let r=bi(typeof e=="object"&&"redirect"in e?e.redirect:e,t);return r.length===0?{remain:t,redirect:r}:typeof e=="object"&&"remain"in e?{remain:e.remain,redirect:r}:{redirect:r}}function T7(e,t){if(!e)throw new Error(t)}function a5(e,t,{logger:r=!1,isCLI:n=!1,passThrough:a=!1,FlagSchema:o,descriptor:l}={}){if(n){if(!o)throw new Error("'FlagSchema' option is required.");if(!l)throw new Error("'descriptor' option is required.")}else l=Sr;let u=a?Array.isArray(a)?(h,f)=>a.includes(h)?{[h]:f}:void 0:(h,f)=>({[h]:f}):(h,f,y)=>{let{_:m,...w}=y.schemas;return B0(h,f,{...y,schemas:w})},c=L7(t,{isCLI:n,FlagSchema:o}),d=new vy(c,{logger:r,unknown:u,descriptor:l}),p=r!==!1;p&&gc&&(d._hasDeprecationWarned=gc);let g=d.normalize(e);return p&&(gc=d._hasDeprecationWarned),g}function L7(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(py.create({name:"_"}));for(let a of e)n.push(M7(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(dy.create({name:a.alias,sourceName:a.name}));return n}function M7(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},l,u={};switch(e.type){case"int":l=gy,t&&(o.preprocess=Number);break;case"string":l=z0;break;case"choice":l=my,o.choices=e.choices.map(c=>c!=null&&c.redirect?{...c,redirect:{to:{key:e.name,value:c.redirect}}}:c);break;case"boolean":l=hy;break;case"flag":l=n,o.flags=r.flatMap(c=>[c.alias,c.description&&c.name,c.oppositeDescription&&`no-${c.name}`].filter(Boolean));break;case"path":l=z0;break;default:throw new Error(`Unexpected type ${e.type}`)}if(e.exception?o.validate=(c,d,p)=>e.exception(c)||d.validate(c,p):o.validate=(c,d,p)=>c===void 0||d.validate(c,p),e.redirect&&(u.redirect=c=>c?{to:typeof e.redirect=="string"?e.redirect:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(u.deprecated=!0),t&&!e.array){let c=o.preprocess||(d=>d);o.preprocess=(d,p,g)=>p.preprocess(c(Array.isArray(d)?ue(!1,d,-1):d),g)}return e.array?fy.create({...t?{preprocess:s(c=>Array.isArray(c)?c:[c],"preprocess")}:{},...u,valueSchema:l.create(o)}):l.create({...o,...u})}function E1(e,t){if(!t)throw new Error("parserName is required.");let r=I1(!1,e,a=>a.parsers&&Object.prototype.hasOwnProperty.call(a.parsers,t));if(r)return r;let n=`Couldn't resolve parser "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new _1(n)}function O7(e,t){if(!t)throw new Error("astFormat is required.");let r=I1(!1,e,a=>a.printers&&Object.prototype.hasOwnProperty.call(a.printers,t));if(r)return r;let n=`Couldn't find plugin for AST format "${t}".`;throw n+=" Plugins must be explicitly added to the standalone bundle.",new _1(n)}function D1({plugins:e,parser:t}){let r=E1(e,t);return x1(r,t)}function x1(e,t){let r=e.parsers[t];return typeof r=="function"?r():r}function P7(e,t){let r=e.printers[t];return typeof r=="function"?r():r}async function o5(e,t={}){var r;let n={...e};if(!n.parser)if(n.filepath){if(n.parser=uy(n,{physicalFile:n.filepath}),!n.parser)throw new F0(`No parser could be inferred for file "${n.filepath}".`)}else throw new F0("No parser and no file path given, couldn't infer a parser.");let a=u0({plugins:e.plugins,showDeprecated:!0}).options,o={...T0,...Object.fromEntries(a.filter(h=>h.default!==void 0).map(h=>[h.name,h.default]))},l=E1(n.plugins,n.parser),u=await x1(l,n.parser);n.astFormat=u.astFormat,n.locEnd=u.locEnd,n.locStart=u.locStart;let c=(r=l.printers)!=null&&r[u.astFormat]?l:O7(n.plugins,u.astFormat),d=await P7(c,u.astFormat);n.printer=d;let p=c.defaultOptions?Object.fromEntries(Object.entries(c.defaultOptions).filter(([,h])=>h!==void 0)):{},g={...o,...p};for(let[h,f]of Object.entries(g))(n[h]===null||n[h]===void 0)&&(n[h]=f);return n.parser==="json"&&(n.trailingComma="none"),yy(n,a,{passThrough:Object.keys(T0),...t})}async function i5(e,t){let r=await D1(t),n=r.preprocess?r.preprocess(e,t):e;t.originalText=n;let a;try{a=await r.parse(n,t,t)}catch(o){N7(o,e)}return{text:n,ast:a}}function N7(e,t){let{loc:r}=e;if(r){let n=(0,by.codeFrameColumns)(t,r,{highlightCode:!0});throw e.message+=` -`+n,e.codeFrame=n,e}throw e}async function H7(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:l,hasPrettierIgnore:u=s(()=>!1,"s"),getVisitorKeys:c}}=r;if(!l||o!=="auto")return;if(l.length>2)throw new Error("printer.embed has too many parameters. The API changed in Prettier v3. Please update your plugin. See https://prettier.io/docs/en/plugins.html#optional-embed");let d=Co(l.getVisitorKeys??c),p=[];f();let g=e.stack;for(let{print:y,node:m,pathStack:w}of p)try{e.stack=w;let x=await y(h,t,e,r);x&&a.set(m,x)}catch(x){if(globalThis.PRETTIER_DEBUG)throw x}e.stack=g;function h(y,m){return $7(y,m,r,n)}s(h,"f");function f(){let{node:y}=e;if(y===null||typeof y!="object"||u(e))return;for(let w of d(y))Array.isArray(y[w])?e.each(f,w):e.call(f,w);let m=l(e,r);if(m){if(typeof m=="function"){p.push({print:m,node:y,pathStack:[...e.stack]});return}a.set(y,m)}}s(f,"p")}async function $7(e,t,r,n){let a=await Kr({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await Qn(e,a),l=await n(o,a);return l0(l)}function l5(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:l}=t,{node:u}=e,c=a(u),d=o(u);for(let p of n)a(p)>=c&&o(p)<=d&&l.add(p);return r.slice(c,d)}async function Do(e,t){({ast:e}=await C1(e,t));let r=new Map,n=new ry(e),a=iy(t),o=new Map;await H7(n,u,t,Do,o);let l=await m0(n,t,u,void 0,o);return _7(t),l;function u(d,p){return d===void 0||d===n?c(p):Array.isArray(d)?n.call(()=>c(p),...d):n.call(()=>c(p),d)}function c(d){a(n);let p=n.node;if(p==null)return"";let g=p&&typeof p=="object"&&d===void 0;if(g&&r.has(p))return r.get(p);let h=m0(n,t,u,d,o);return g&&r.set(p,h),h}}function m0(e,t,r,n,a){var o;let{node:l}=e,{printer:u}=t,c;return(o=u.hasPrettierIgnore)!=null&&o.call(u,e)?c=wy(e,t):a.has(l)?c=a.get(l):c=u.print(e,t,r,n),l===t.cursorNode&&(c=g1(c,d=>[el,d,el])),u.printComment&&(!u.willPrintOwnComments||!u.willPrintOwnComments(e,t))&&(c=F7(e,c,t)),c}async function C1(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,D7(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function s5(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=Co(t.printer.getVisitorKeys),l=s(c=>n(c)<=r&&a(c)>=r,"i"),u=e;for(let c of w7(e,{getVisitorKeys:o,filter:l}))u=c;return u}function u5(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=Co(n),o=r.ignoredProperties??new Set;return l(e);function l(u,c){if(!(u!==null&&typeof u=="object"))return u;if(Array.isArray(u))return u.map(h=>l(h,c)).filter(Boolean);let d={},p=new Set(a(u));for(let h in u)!Object.prototype.hasOwnProperty.call(u,h)||o.has(h)||(p.has(h)?d[h]=l(u[h],u):d[h]=u[h]);let g=r(u,d,c);if(g!==null)return g??d}}function j7(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>R1.has(a.type)&&n.has(a))}function g0(e){let t=xy(!1,e,r=>r.type!=="Program"&&r.type!=="File");return t===-1?e:e.slice(0,t+1)}function V7(e,t,{locStart:r,locEnd:n}){let a=e.node,o=t.node;if(a===o)return{startNode:a,endNode:o};let l=r(e.node);for(let c of g0(t.parentNodes))if(r(c)>=l)o=c;else break;let u=n(t.node);for(let c of g0(e.parentNodes)){if(n(c)<=u)a=c;else break;if(a===o)break}return{startNode:a,endNode:o}}function Xi(e,t,r,n,a=[],o){let{locStart:l,locEnd:u}=r,c=l(e),d=u(e);if(!(t>d||tn);let u=e.slice(n,a).search(/\S/u),c=u===-1;if(!c)for(n+=u;a>n&&!/\S/u.test(e[a-1]);--a);let d=Xi(r,n,t,(f,y)=>v0(t,f,y),[],"rangeStart"),p=c?d:Xi(r,a,t,f=>v0(t,f),[],"rangeEnd");if(!d||!p)return{rangeStart:0,rangeEnd:0};let g,h;if(Cy(t)){let f=j7(d,p);g=f,h=f}else({startNode:g,endNode:h}=V7(d,p,t));return{rangeStart:Math.min(o(g),o(h)),rangeEnd:Math.max(l(g),l(h))}}async function S1(e,t,r=0){if(!e||e.trim().length===0)return{formatted:"",cursorOffset:-1,comments:[]};let{ast:n,text:a}=await Qn(e,t);t.cursorOffset>=0&&(t.cursorNode=Ey(n,t));let o=await Do(n,t);r>0&&(o=a0([er,o],r,t.tabWidth));let l=ao(o,t);if(r>0){let c=l.formatted.trim();l.cursorNodeStart!==void 0&&(l.cursorNodeStart-=l.formatted.indexOf(c)),l.formatted=c+Ll(t.endOfLine)}let u=t[Symbol.for("comments")];if(t.cursorOffset>=0){let c,d,p,g,h;if(t.cursorNode&&l.cursorNodeText?(c=t.locStart(t.cursorNode),d=a.slice(c,t.locEnd(t.cursorNode)),p=t.cursorOffset-c,g=l.cursorNodeStart,h=l.cursorNodeText):(c=0,d=a,p=t.cursorOffset,g=0,h=l.formatted),d===h)return{formatted:l.formatted,cursorOffset:g+p,comments:u};let f=d.split("");f.splice(p,0,L0);let y=h.split(""),m=s7(f,y),w=g;for(let x of m)if(x.removed){if(x.value.includes(L0))break}else w+=x.count;return{formatted:l.formatted,cursorOffset:w,comments:u}}return{formatted:l.formatted,cursorOffset:-1,comments:u}}async function W7(e,t){let{ast:r,text:n}=await Qn(e,t),{rangeStart:a,rangeEnd:o}=U7(n,t,r),l=n.slice(a,o),u=Math.min(a,n.lastIndexOf(` -`,a)+1),c=n.slice(u,a).match(/^\s*/u)[0],d=rl(c,t.tabWidth),p=await S1(l,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),g=p.formatted.trimEnd(),{cursorOffset:h}=t;h>o?h+=g.length-l.length:p.cursorOffset>=0&&(h=p.cursorOffset+a);let f=n.slice(0,a)+g+n.slice(o);if(t.endOfLine!=="lf"){let y=Ll(t.endOfLine);h>=0&&y===`\r -`&&(h+=m1(f.slice(0,h),` -`)),f=xo(!1,f,` -`,y)}return{formatted:f,cursorOffset:h,comments:p.comments}}function wi(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function y0(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=wi(e,r,-1),n=wi(e,n,0),a=wi(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function k1(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=y0(e,t),l=e.charAt(0)===B1;if(l&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=u7(e)),e.includes("\r")){let u=s(c=>m1(e.slice(0,Math.max(c,0)),`\r -`),"s");r-=u(r),n-=u(n),a-=u(a),e=c7(e)}return{hasBOM:l,text:e,options:y0(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function b0(e,t){let r=await D1(t);return!r.hasPragma||r.hasPragma(e)}async function w0(e,t){let{hasBOM:r,text:n,options:a}=k1(e,await Kr(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await b0(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd=0&&o.cursorOffset++),o}async function c5(e,t,r){let{text:n,options:a}=k1(e,await Kr(t)),o=await Qn(n,a);return r&&(r.preprocessForPrint&&(o.ast=await C1(o.ast,a)),r.massage&&(o.ast=Dy(o.ast,a))),o}async function d5(e,t){t=await Kr(t);let r=await Do(e,t);return ao(r,t)}async function p5(e,t){let r=d7(e),{formatted:n}=await w0(r,{...t,parser:"__js_expression"});return n}async function f5(e,t){t=await Kr(t);let{ast:r}=await Qn(e,t);return Do(r,t)}async function h5(e,t){return ao(e,await Kr(t))}function m5(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;rMath.max(n,a.length/t.length),0)}function E5(e,t){let r=Hl(e,t);return r===!1?"":e.charAt(r)}function D5(e,t,r){for(let n=t;nl===n?l:u===t?"\\"+u:u||(r&&/^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(l)?l:"\\"+l));return t+a+t}function K7(e,t,r){return Hl(e,r(t))}function S5(e,t){return arguments.length===2||typeof t=="number"?Hl(e,t):K7(...arguments)}function Y7(e,t,r){return Nl(e,r(t))}function k5(e,t){return arguments.length===2||typeof t=="number"?Nl(e,t):Y7(...arguments)}function Z7(e,t,r){return il(e,r(t))}function A5(e,t){return arguments.length===2||typeof t=="number"?il(e,t):Z7(...arguments)}function qt(e,t=1){return async(...r)=>{let n=r[t]??{},a=n.plugins??[];return r[t]={...n,plugins:Array.isArray(a)?a:Object.values(a)},e(...r)}}async function E0(e,t){let{formatted:r}=await M0(e,{...t,cursorOffset:-1});return r}async function F5(e,t){return await E0(e,t)===e}var _5,ba,I5,R5,B5,z5,ju,T5,ti,wa,Vu,Ea,L5,M5,O5,cn,ri,qu,P5,N5,H5,$5,j5,Uu,V5,xo,Wu,Gu,Ku,Yu,q5,U5,J7,dn,La,ur,Et,Qt,Dt,xt,yt,ke,Xe,Fe,Ct,St,bt,fe,Qe,Te,A1,cr,X7,Zu,W5,$r,D0,Qi,Ju,et,Pl,G5,Ma,K5,Ei,Xu,x0,Y5,er,C0,el,Z5,ue,Q7,ey,ty,tl,xe,Ge,Rn,rl,Cr,Qu,ni,ec,J5,ry,tc,nl,ny,X5,Ht,S0,k0,ir,Pt,ay,A0,oy,Co,Di,xi,F1,Nl,iy,rc,_1,nc,F0,ly,sy,uy,Sr,ac,Q5,Tr,_0,Da,I0,e2,oc,Ci,R0,B0,cy,ic,Lt,lc,dy,sc,py,uc,fy,cc,hy,dc,my,pc,t2,fc,gy,hc,z0,r2,n2,a2,o2,mc,vy,gc,yy,i2,I1,T0,Kr,by,Qn,wy,Ey,Dy,l2,xy,Cy,R1,Sy,B1,L0,vc,s2,u2,c2,d2,yc,al,ol,Hl,il,p2,f2,h2,m2,g2,v2,M0,y2,b2,ky,D9=B(()=>{_5=Object.create,ba=Object.defineProperty,I5=Object.getOwnPropertyDescriptor,R5=Object.getOwnPropertyNames,B5=Object.getPrototypeOf,z5=Object.prototype.hasOwnProperty,ju=s(e=>{throw TypeError(e)},"sr"),T5=s((e,t)=>()=>(e&&(t=e(e=0)),t),"_u"),ti=s((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"At"),wa=s((e,t)=>{for(var r in t)ba(e,r,{get:t[r],enumerable:!0})},"We"),Vu=s((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of R5(t))!z5.call(e,a)&&a!==r&&ba(e,a,{get:s(()=>t[a],"get"),enumerable:!(n=I5(t,a))||n.enumerable});return e},"ar"),Ea=s((e,t,r)=>(r=e!=null?_5(B5(e)):{},Vu(t||!e||!e.__esModule?ba(r,"default",{value:e,enumerable:!0}):r,e)),"Me"),L5=s(e=>Vu(ba({},"__esModule",{value:!0}),e),"vu"),M5=s((e,t,r)=>t.has(e)||ju("Cannot "+r),"bu"),O5=s((e,t,r)=>t.has(e)?ju("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,r),"Dr"),cn=s((e,t,r)=>(M5(e,t,"access private method"),r),"pe"),ri=ti((e,t)=>{var r=new Proxy(String,{get:s(()=>r,"get")});t.exports=r}),qu={},wa(qu,{default:s(()=>N5,"default"),shouldHighlight:s(()=>P5,"shouldHighlight")}),H5=T5(()=>{P5=s(()=>!1,"xo"),N5=String}),$5=ti((e,t)=>{var r=String,n=s(function(){return{isColorSupported:!1,reset:r,bold:r,dim:r,italic:r,underline:r,inverse:r,hidden:r,strikethrough:r,black:r,red:r,green:r,yellow:r,blue:r,magenta:r,cyan:r,white:r,gray:r,bgBlack:r,bgRed:r,bgGreen:r,bgYellow:r,bgBlue:r,bgMagenta:r,bgCyan:r,bgWhite:r}},"Ln");t.exports=n(),t.exports.createColors=n}),j5=ti(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.codeFrameColumns=f,e.default=y;var t=(H5(),L5(qu)),r=a($5(),!0);function n(m){if(typeof WeakMap!="function")return null;var w=new WeakMap,x=new WeakMap;return(n=s(function(D){return D?x:w},"Wn"))(m)}s(n,"Wn");function a(m,w){if(!w&&m&&m.__esModule)return m;if(m===null||typeof m!="object"&&typeof m!="function")return{default:m};var x=n(w);if(x&&x.has(m))return x.get(m);var D={__proto__:null},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var b in m)if(b!=="default"&&{}.hasOwnProperty.call(m,b)){var C=E?Object.getOwnPropertyDescriptor(m,b):null;C&&(C.get||C.set)?Object.defineProperty(D,b,C):D[b]=m[b]}return D.default=m,x&&x.set(m,D),D}s(a,"vo");var o=r.default,l=s((m,w)=>x=>m(w(x)),"Rn"),u;function c(m){return m?(u!=null||(u=(0,r.createColors)(!0)),u):o}s(c,"Oo");var d=!1;function p(m){return{gutter:m.gray,marker:l(m.red,m.bold),message:l(m.red,m.bold)}}s(p,"So");var g=/\r\n|[\n\r\u2028\u2029]/;function h(m,w,x){let D=Object.assign({column:0,line:-1},m.start),E=Object.assign({},D,m.end),{linesAbove:b=2,linesBelow:C=3}=x||{},S=D.line,A=D.column,k=E.line,_=E.column,I=Math.max(S-(b+1),0),R=Math.min(w.length,k+C);S===-1&&(I=0),k===-1&&(R=w.length);let z=k-S,T={};if(z)for(let M=0;M<=z;M++){let L=M+S;if(!A)T[L]=!0;else if(M===0){let O=w[L-1].length;T[L]=[A,O-A+1]}else if(M===z)T[L]=[0,_];else{let O=w[L-M].length;T[L]=[0,O]}}else A===_?A?T[S]=[A,0]:T[S]=!0:T[S]=[A,_-A];return{start:I,end:R,markerLines:T}}s(h,"No");function f(m,w,x={}){let D=(x.highlightCode||x.forceColor)&&(0,t.shouldHighlight)(x),E=c(x.forceColor),b=p(E),C=s((T,M)=>D?T(M):M,"i"),S=m.split(g),{start:A,end:k,markerLines:_}=h(w,S,x),I=w.start&&typeof w.start.column=="number",R=String(k).length,z=(D?(0,t.default)(m,x):m).split(g,k).slice(A,k).map((T,M)=>{let L=A+1+M,O=` ${` ${L}`.slice(-R)} |`,N=_[L],$=!_[L+1];if(N){let j="";if(Array.isArray(N)){let U=T.slice(0,Math.max(N[0]-1,0)).replace(/[^\t]/g," "),Z=N[1]||1;j=[` - `,C(b.gutter,O.replace(/\d/g," "))," ",U,C(b.marker,"^").repeat(Z)].join(""),$&&x.message&&(j+=" "+C(b.message,x.message))}return[C(b.marker,">"),C(b.gutter,O),T.length>0?` ${T}`:"",j].join("")}else return` ${C(b.gutter,O)}${T.length>0?` ${T}`:""}`}).join(` -`);return x.message&&!I&&(z=`${" ".repeat(R+1)}${x.message} -${z}`),D?E.reset(z):z}s(f,"Mn");function y(m,w,x,D={}){if(!d){d=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";{let b=new Error(E);b.name="DeprecationWarning",console.warn(new Error(E))}}return x=Math.max(x,0),f(m,{start:{column:x,line:w}},D)}s(y,"To")}),Uu={},wa(Uu,{__debug:s(()=>b2,"__debug"),check:s(()=>F5,"check"),doc:s(()=>vc,"doc"),format:s(()=>E0,"format"),formatWithCursor:s(()=>M0,"formatWithCursor"),getSupportInfo:s(()=>y2,"getSupportInfo"),util:s(()=>yc,"util"),version:s(()=>d2,"version")}),V5=s((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"Ou"),xo=V5,s(Bt,"Z"),Bt.prototype={diff:s(function(e,t){var r,n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},a=n.callback;typeof n=="function"&&(a=n,n={}),this.options=n;var o=this;function l(E){return a?(setTimeout(function(){a(void 0,E)},0),!0):E}s(l,"s"),e=this.castInput(e),t=this.castInput(t),e=this.removeEmpty(this.tokenize(e)),t=this.removeEmpty(this.tokenize(t));var u=t.length,c=e.length,d=1,p=u+c;n.maxEditLength&&(p=Math.min(p,n.maxEditLength));var g=(r=n.timeout)!==null&&r!==void 0?r:1/0,h=Date.now()+g,f=[{oldPos:-1,lastComponent:void 0}],y=this.extractCommon(f[0],t,e,0);if(f[0].oldPos+1>=c&&y+1>=u)return l([{value:this.join(t),count:t.length}]);var m=-1/0,w=1/0;function x(){for(var E=Math.max(m,-d);E<=Math.min(w,d);E+=2){var b=void 0,C=f[E-1],S=f[E+1];C&&(f[E-1]=void 0);var A=!1;if(S){var k=S.oldPos-E;A=S&&0<=k&&k=c&&y+1>=u)return l(Dm(o,b.lastComponent,t,e,o.useLongestToken));f[E]=b,b.oldPos+1>=c&&(w=Math.min(w,E-1)),y+1>=u&&(m=Math.max(m,E+1))}d++}if(s(x,"A"),a)s(function E(){setTimeout(function(){if(d>p||Date.now()>h)return a();x()||E()},0)},"h")();else for(;d<=p&&Date.now()<=h;){var D=x();if(D)return D}},"diff"),addToPath:s(function(e,t,r,n){var a=e.lastComponent;return a&&a.added===t&&a.removed===r?{oldPos:e.oldPos+n,lastComponent:{count:a.count+1,added:t,removed:r,previousComponent:a.previousComponent}}:{oldPos:e.oldPos+n,lastComponent:{count:1,added:t,removed:r,previousComponent:a}}},"addToPath"),extractCommon:s(function(e,t,r,n){for(var a=t.length,o=r.length,l=e.oldPos,u=l-n,c=0;u+1"u"?r:l}:n;return typeof e=="string"?e:JSON.stringify(Gi(e,null,null,a),a," ")},dn.equals=function(e,t){return Bt.prototype.equals.call(dn,e.replace(/,([\r\n])/g,"$1"),t.replace(/,([\r\n])/g,"$1"))},s(Gi,"Bt"),La=new Bt,La.tokenize=function(e){return e.slice()},La.join=La.removeEmpty=function(e){return e},s(s7,"dr"),s(u7,"Fr"),s(Ll,"Be"),s(m1,"wt"),s(c7,"mr"),ur="string",Et="array",Qt="cursor",Dt="indent",xt="align",yt="trim",ke="group",Xe="fill",Fe="if-break",Ct="indent-if-break",St="line-suffix",bt="line-suffix-boundary",fe="line",Qe="label",Te="break-parent",A1=new Set([Qt,Dt,xt,yt,ke,Xe,Fe,Ct,St,bt,fe,Qe,Te]),s(xm,"Lu"),cr=xm,X7=s(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"Pu"),s(Cm,"Iu"),W5=(Zu=class extends Error{constructor(t){super(Cm(t));sn(this,"name","InvalidDocError");this.doc=t}},s(Zu,"xt"),Zu),$r=W5,D0={},s(Sm,"Ru"),Qi=Sm,Ju=s(()=>{},"hr"),et=Ju,Pl=Ju,s(ro,"De"),s(Hr,"ae"),s(t0,"_t"),s(km,"Cr"),s(Am,"gr"),s(Fm,"yr"),s(_m,"Ar"),s(r0,"Ge"),s(Im,"Br"),s(Rm,"wr"),s(Ki,"xe"),G5={type:bt},Ma={type:Te},K5={type:yt},Ei={type:fe,hard:!0},Xu={type:fe,hard:!0,literal:!0},x0={type:fe},Y5={type:fe,soft:!0},er=[Ei,Ma],C0=[Xu,Ma],el={type:Qt},s(n0,"be"),s(a0,"Je"),s(Bm,"br"),s(ft,"ee"),s(d7,"Or"),Z5=s((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Yu"),ue=Z5,Q7=s(()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"Sr"),s(zm,"Nr"),s(Tm,"Tr"),ey=s(e=>!(zm(e)||Tm(e)),"kr"),ty=/[^\x20-\x7F]/u,s(Lm,"Hu"),tl=Lm,s(no,"Ne"),s(Yi,"Xe"),s(p7,"Wu"),s(Mm,"Ir"),s(o0,"Lr"),s(f7,"Rr"),s(h7,"Mu"),s(Om,"Yr"),s(i0,"Pr"),s(In,"Se"),s(l0,"Ze"),s(m7,"$u"),s(g7,"Vu"),s(Pm,"jr"),s(v7,"Uu"),s(Nm,"Hr"),s(g1,"Qe"),xe=Symbol("MODE_BREAK"),Ge=Symbol("MODE_FLAT"),Rn=Symbol("cursor"),s(v1,"Wr"),s(y7,"zu"),s(b7,"Gu"),s(Zi,"bt"),s(Ji,"Ot"),s(Ta,"et"),s(ao,"Fe"),s(Hm,"Ku"),rl=Hm,J5=(ec=class{constructor(e){O5(this,Cr),this.stack=[e]}get key(){let{stack:e,siblings:t}=this;return ue(!1,e,t===null?-2:-4)??null}get index(){return this.siblings===null?null:ue(!1,this.stack,-2)}get node(){return ue(!1,this.stack,-1)}get parent(){return this.getNode(1)}get grandparent(){return this.getNode(2)}get isInArray(){return this.siblings!==null}get siblings(){let{stack:e}=this,t=ue(!1,e,-3);return Array.isArray(t)?t:null}get next(){let{siblings:e}=this;return e===null?null:e[this.index+1]}get previous(){let{siblings:e}=this;return e===null?null:e[this.index-1]}get isFirst(){return this.index===0}get isLast(){let{siblings:e,index:t}=this;return e!==null&&t===e.length-1}get isRoot(){return this.stack.length===1}get root(){return this.stack[0]}get ancestors(){return[...cn(this,Cr,ni).call(this)]}getName(){let{stack:e}=this,{length:t}=e;return t>1?ue(!1,e,-2):null}getValue(){return ue(!1,this.stack,-1)}getNode(e=0){let t=cn(this,Cr,Qu).call(this,e);return t===-1?null:this.stack[t]}getParentNode(e=0){return this.getNode(e+1)}call(e,...t){let{stack:r}=this,{length:n}=r,a=ue(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{return e(this)}finally{r.length=n}}callParent(e,t=0){let r=cn(this,Cr,Qu).call(this,t+1),n=this.stack.splice(r+1);try{return e(this)}finally{this.stack.push(...n)}}each(e,...t){let{stack:r}=this,{length:n}=r,a=ue(!1,r,-1);for(let o of t)a=a[o],r.push(o,a);try{for(let o=0;o{r[a]=e(n,a,o)},...t),r}match(...e){let t=this.stack.length-1,r=null,n=this.stack[t--];for(let a of e){if(n===void 0)return!1;let o=null;if(typeof r=="number"&&(o=r,r=this.stack[t--],n=this.stack[t--]),a&&!a(n,r,o))return!1;r=this.stack[t--],n=this.stack[t--]}return!0}findAncestor(e){for(let t of cn(this,Cr,ni).call(this))if(e(t))return t}hasAncestor(e){for(let t of cn(this,Cr,ni).call(this))if(e(t))return!0;return!1}},s(ec,"St"),ec),Cr=new WeakSet,Qu=s(function(e){let{stack:t}=this;for(let r=t.length-1;r>=0;r-=2)if(!Array.isArray(t[r])&&--e<0)return r;return-1},"Nt"),ni=s(function*(){let{stack:e}=this;for(let t=e.length-3;t>=0;t-=2){let r=e[t];Array.isArray(r)||(yield r)}},"tt"),ry=J5,tc=new Proxy(()=>{},{get:s(()=>tc,"get")}),nl=tc,s($m,"qu"),ny=$m,s(y1,"Tt"),s(w7,"Ur"),s(un,"Ee"),X5=un(/\s/u),Ht=un(" "),S0=un(",; "),k0=un(/[^\n\r]/u),s(jm,"Ju"),ir=jm,s(Vm,"Xu"),Pt=Vm,s(qm,"Zu"),ay=qm,A0=new Set(["tokens","comments","parent","enclosingNode","precedingNode","followingNode"]),oy=s(e=>Object.keys(e).filter(t=>!A0.has(t)),"Qu"),s(Um,"eo"),Co=Um,s(E7,"to"),s(Ml,"Lt"),s(Br,"ue"),s(Ga,"re"),s(zr,"oe"),Di=new WeakMap,s(Ol,"ut"),s(b1,"qr"),xi=s(()=>!1,"It"),s(D7,"Jr"),F1=s(e=>!/[\S\n\u2028\u2029]/u.test(e),"Xr"),s(x7,"ro"),s(C7,"no"),s(s0,"Kr"),s(yi,"Rt"),s(Wm,"uo"),Nl=Wm,s(w1,"Zr"),s(S7,"oo"),s(k7,"io"),s(A7,"so"),s(F7,"Qr"),s(_7,"en"),s(Gm,"ao"),iy=Gm,_1=(rc=class extends Error{constructor(){super(...arguments);sn(this,"name","ConfigError")}},s(rc,"Pe"),rc),F0=(nc=class extends Error{constructor(){super(...arguments);sn(this,"name","UndefinedParserError")}},s(nc,"Ie"),nc),ly={cursorOffset:{category:"Special",type:"int",default:-1,range:{start:-1,end:1/0,step:1},description:"Print (to stderr) where a cursor at the given position would move to after formatting.",cliCategory:"Editor"},endOfLine:{category:"Global",type:"choice",default:"lf",description:"Which end of line characters to apply.",choices:[{value:"lf",description:"Line Feed only (\\n), common on Linux and macOS as well as inside git repos"},{value:"crlf",description:"Carriage Return + Line Feed characters (\\r\\n), common on Windows"},{value:"cr",description:"Carriage Return character only (\\r), used very rarely"},{value:"auto",description:`Maintain existing -(mixed values within one file are normalised by looking at what's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file's first docblock comment.",cliCategory:"Other"},parser:{category:"Global",type:"choice",default:void 0,description:"Which parser to use.",exception:s(e=>typeof e=="string"||typeof e=="function","exception"),choices:[{value:"flow",description:"Flow"},{value:"babel",description:"JavaScript"},{value:"babel-flow",description:"Flow"},{value:"babel-ts",description:"TypeScript"},{value:"typescript",description:"TypeScript"},{value:"acorn",description:"JavaScript"},{value:"espree",description:"JavaScript"},{value:"meriyah",description:"JavaScript"},{value:"css",description:"CSS"},{value:"less",description:"Less"},{value:"scss",description:"SCSS"},{value:"json",description:"JSON"},{value:"json5",description:"JSON5"},{value:"jsonc",description:"JSON with Comments"},{value:"json-stringify",description:"JSON.stringify"},{value:"graphql",description:"GraphQL"},{value:"markdown",description:"Markdown"},{value:"mdx",description:"MDX"},{value:"vue",description:"Vue"},{value:"yaml",description:"YAML"},{value:"glimmer",description:"Ember / Handlebars"},{value:"html",description:"HTML"},{value:"angular",description:"Angular"},{value:"lwc",description:"Lightning Web Components"}]},plugins:{type:"path",array:!0,default:[{value:[]}],category:"Global",description:"Add a plugin. Multiple plugins can be passed as separate `--plugin`s.",exception:s(e=>typeof e=="string"||typeof e=="object","exception"),cliName:"plugin",cliCategory:"Config"},printWidth:{category:"Global",type:"int",default:80,description:"The line length where Prettier will try wrap.",range:{start:0,end:1/0,step:1}},rangeEnd:{category:"Special",type:"int",default:1/0,range:{start:0,end:1/0,step:1},description:`Format code ending at a given character offset (exclusive). -The range will extend forwards to the end of the selected statement.`,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description:`Format code starting at a given character offset. -The range will extend backwards to the start of the first line containing the selected statement.`,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description:`Require either '@prettier' or '@format' to be present in the file's first docblock comment -in order for it to be formatted.`,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},s(u0,"ot"),s(I7,"Do"),s(R7,"lo"),sy=s(e=>String(e).split(/[/\\]/u).pop(),"co"),s(c0,"nn"),s(B7,"fo"),s(Km,"po"),uy=Km,Sr={key:s(e=>/^[$_a-zA-Z][$_a-zA-Z0-9]*$/.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return`[${e.map(r=>Sr.value(r)).join(", ")}]`;let t=Object.keys(e);return t.length===0?"{}":`{ ${t.map(r=>`${Sr.key(r)}: ${Sr.value(e[r])}`).join(", ")} }`},pair:s(({key:e,value:t})=>Sr.value({[e]:t}),"pair")},ac=Ea(ri(),1),Q5=s((e,t,{descriptor:r})=>{let n=[`${ac.default.yellow(typeof e=="string"?r.key(e):r.pair(e))} is deprecated`];return t&&n.push(`we now treat it as ${ac.default.blue(typeof t=="string"?r.key(t):r.pair(t))}`),n.join("; ")+"."},"an"),Tr=Ea(ri(),1),_0=Symbol.for("vnopts.VALUE_NOT_EXIST"),Da=Symbol.for("vnopts.VALUE_UNCHANGED"),I0=" ".repeat(2),e2=s((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(Mu(e,t,n,r.descriptor)),a&&o.push([Mu(e,t,a.title,r.descriptor)].concat(a.values.map(l=>d0(l,r.loggerPrintWidth))).join(` -`)),p0(o,r.loggerPrintWidth)},"cn"),s(Mu,"ln"),s(d0,"fn"),s(p0,"pn"),oc=Ea(ri(),1),Ci=[],R0=[],s(Ym,"Ht"),B0=s((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[`Ignored unknown option ${oc.default.yellow(r.pair({key:e,value:t}))}.`],l=Object.keys(a).sort().find(u=>Ym(e,u)<3);l&&o.push(`Did you mean ${oc.default.blue(r.key(l))}?`),n.warn(o.join(" "))},"at"),cy=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],s(Zm,"mo"),Lt=(ic=class{static create(e){return Zm(this,e)}constructor(e){this.name=e.name}default(e){}expected(e){return"nothing"}validate(e,t){return!1}deprecated(e,t){return!1}forward(e,t){}redirect(e,t){}overlap(e,t,r){return e}preprocess(e,t){return e}postprocess(e,t){return Da}},s(ic,"O"),ic),s(z7,"Eo"),dy=(lc=class extends Lt{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},s(lc,"Dt"),lc),py=(sc=class extends Lt{expected(){return"anything"}validate(){return!0}},s(sc,"lt"),sc),fy=(uc=class extends Lt{constructor({valueSchema:e,name:t=e.name,...r}){super({...r,name:t}),this._valueSchema=e}expected(e){let{text:t,list:r}=e.normalizeExpectedResult(this._valueSchema.expected(e));return{text:t&&`an array of ${t}`,list:r&&{title:"an array of the following values",values:[{list:r}]}}}validate(e,t){if(!Array.isArray(e))return!1;let r=[];for(let n of e){let a=t.normalizeValidateResult(this._valueSchema.validate(n,t),n);a!==!0&&r.push(a.value)}return r.length===0?!0:{value:r}}deprecated(e,t){let r=[];for(let n of e){let a=t.normalizeDeprecatedResult(this._valueSchema.deprecated(n,t),n);a!==!1&&r.push(...a.map(({value:o})=>({value:[o]})))}return r}forward(e,t){let r=[];for(let n of e){let a=t.normalizeForwardResult(this._valueSchema.forward(n,t),n);r.push(...a.map(Ou))}return r}redirect(e,t){let r=[],n=[];for(let a of e){let o=t.normalizeRedirectResult(this._valueSchema.redirect(a,t),a);"remain"in o&&r.push(o.remain),n.push(...o.redirect.map(Ou))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},s(uc,"ct"),uc),s(Ou,"Fn"),hy=(cc=class extends Lt{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},s(cc,"ft"),cc),s(Jm,"En"),s(Xm,"hn"),s(Qm,"Cn"),s(e5,"gn"),s(t5,"yn"),s(r5,"An"),s(n5,"Bn"),s(Pu,"Mt"),s(f0,"$t"),s(Nu,"Vt"),s(Hu,"Ut"),s(h0,"mn"),s(bi,"pt"),s($u,"zt"),s(T7,"ho"),my=(dc=class extends Lt{constructor(e){super(e),this._choices=Xm(e.choices.map(t=>t&&typeof t=="object"?t:{value:t}),"value")}expected({descriptor:e}){let t=Array.from(this._choices.keys()).map(a=>this._choices.get(a)).filter(({hidden:a})=>!a).map(a=>a.value).sort(r5).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},s(dc,"dt"),dc),t2=(pc=class extends Lt{expected(){return"a number"}validate(e,t){return typeof e=="number"}},s(pc,"Ft"),pc),gy=(fc=class extends t2{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&t5(e)}},s(fc,"mt"),fc),z0=(hc=class extends Lt{expected(){return"a string"}validate(e){return typeof e=="string"}},s(hc,"Re"),hc),r2=Sr,n2=B0,a2=e2,o2=Q5,vy=(mc=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=r2,unknown:o=n2,invalid:l=a2,deprecated:u=o2,missing:c=s(()=>!1,"D"),required:d=s(()=>!1,"l"),preprocess:p=s(h=>h,"d"),postprocess:g=s(()=>Da,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:s(()=>{},"warn")},loggerPrintWidth:n,schemas:Jm(e,"name"),normalizeDefaultResult:Pu,normalizeExpectedResult:f0,normalizeDeprecatedResult:Hu,normalizeForwardResult:bi,normalizeRedirectResult:$u,normalizeValidateResult:Nu},this._unknownHandler=o,this._invalidHandler=n5(l),this._deprecatedHandler=u,this._identifyMissing=(h,f)=>!(h in f)||c(h,f),this._identifyRequired=d,this._preprocess=p,this._postprocess=g,this.cleanHistory()}cleanHistory(){this._hasDeprecationWarned=Qm()}normalize(e){let t={},r=[this._preprocess(e,this._utils)],n=s(()=>{for(;r.length!==0;){let a=r.shift(),o=this._applyNormalization(a,t);r.push(...o)}},"u");n();for(let a of Object.keys(this._utils.schemas)){let o=this._utils.schemas[a];if(!(a in t)){let l=Pu(o.default(this._utils));"value"in l&&r.push({[a]:l.value})}}n();for(let a of Object.keys(this._utils.schemas)){if(!(a in t))continue;let o=this._utils.schemas[a],l=t[a],u=o.postprocess(l,this._utils);u!==Da&&(this._applyValidation(u,a,o),t[a]=u)}return this._applyPostprocess(t),this._applyRequiredCheck(t),t}_applyNormalization(e,t){let r=[],{knownKeys:n,unknownKeys:a}=this._partitionOptionKeys(e);for(let o of n){let l=this._utils.schemas[o],u=l.preprocess(e[o],this._utils);this._applyValidation(u,o,l);let c=s(({from:g,to:h})=>{r.push(typeof h=="string"?{[h]:g}:{[h.key]:h.value})},"D"),d=s(({value:g,redirectTo:h})=>{let f=Hu(l.deprecated(g,this._utils),u,!0);if(f!==!1)if(f===!0)this._hasDeprecationWarned(o)||this._utils.logger.warn(this._deprecatedHandler(o,h,this._utils));else for(let{value:y}of f){let m={key:o,value:y};if(!this._hasDeprecationWarned(m)){let w=typeof h=="string"?{key:h,value:y}:h;this._utils.logger.warn(this._deprecatedHandler(m,w,this._utils))}}},"l");bi(l.forward(u,this._utils),u).forEach(c);let p=$u(l.redirect(u,this._utils),u);if(p.redirect.forEach(c),"remain"in p){let g=p.remain;t[o]=o in t?l.overlap(t[o],g,this._utils):g,d({value:g})}for(let{from:g,to:h}of p.redirect)d({value:g,redirectTo:h})}for(let o of a){let l=e[o];this._applyUnknownHandler(o,l,t,(u,c)=>{r.push({[u]:c})})}return r}_applyRequiredCheck(e){for(let t of Object.keys(this._utils.schemas))if(this._identifyMissing(t,e)&&this._identifyRequired(t))throw this._invalidHandler(t,_0,this._utils)}_partitionOptionKeys(e){let[t,r]=e5(Object.keys(e).filter(n=>!this._identifyMissing(n,e)),n=>n in this._utils.schemas);return{knownKeys:t,unknownKeys:r}}_applyValidation(e,t,r){let n=Nu(r.validate(e,this._utils),e);if(n!==!0)throw this._invalidHandler(t,n.value,this._utils)}_applyUnknownHandler(e,t,r,n){let a=this._unknownHandler(e,t,this._utils);if(a)for(let o of Object.keys(a)){if(this._identifyMissing(o,a))continue;let l=a[o];o in this._utils.schemas?n(o,l):r[o]=l}}_applyPostprocess(e){let t=this._postprocess(e,this._utils);if(t!==Da){if(t.delete)for(let r of t.delete)delete e[r];if(t.override){let{knownKeys:r,unknownKeys:n}=this._partitionOptionKeys(t.override);for(let a of r){let o=t.override[a];this._applyValidation(o,a,this._utils.schemas[a]),e[a]=o}for(let a of n){let o=t.override[a];this._applyUnknownHandler(a,o,e,(l,u)=>{let c=this._utils.schemas[l];this._applyValidation(u,l,c),e[l]=u})}}}}},s(mc,"Et"),mc),s(a5,"go"),s(L7,"yo"),s(M7,"Ao"),yy=a5,i2=s((e,t,r)=>{if(!(e&&t==null)){if(t.findLast)return t.findLast(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return a}}},"Bo"),I1=i2,s(E1,"qt"),s(O7,"On"),s(D1,"ht"),s(x1,"Jt"),s(P7,"Sn"),T0={astFormat:"estree",printer:{},originalText:void 0,locStart:null,locEnd:null},s(o5,"wo"),Kr=o5,by=Ea(j5(),1),s(i5,"ko"),s(N7,"Lo"),Qn=i5,s(H7,"Un"),s($7,"Po"),s(l5,"Io"),wy=l5,s(Do,"Ye"),s(m0,"Gn"),s(C1,"Qt"),s(s5,"Ro"),Ey=s5,s(u5,"Yo"),Dy=u5,l2=s((e,t,r)=>{if(!(e&&t==null)){if(t.findLastIndex)return t.findLastIndex(r);for(let n=t.length-1;n>=0;n--){let a=t[n];if(r(a,n,t))return n}return-1}},"jo"),xy=l2,Cy=s(({parser:e})=>e==="json"||e==="json5"||e==="jsonc"||e==="json-stringify","Ho"),s(j7,"Wo"),s(g0,"Xn"),s(V7,"Mo"),s(Xi,"er"),s(q7,"$o"),R1=new Set(["JsonRoot","ObjectExpression","ArrayExpression","StringLiteral","NumericLiteral","BooleanLiteral","NullLiteral","UnaryExpression","TemplateLiteral"]),Sy=new Set(["OperationDefinition","FragmentDefinition","VariableDefinition","TypeExtensionDefinition","ObjectTypeDefinition","FieldDefinition","DirectiveDefinition","EnumTypeDefinition","EnumValueDefinition","InputValueDefinition","InputObjectTypeDefinition","SchemaDefinition","OperationTypeDefinition","InterfaceTypeDefinition","UnionTypeDefinition","ScalarTypeDefinition"]),s(v0,"Zn"),s(U7,"eu"),B1="\uFEFF",L0=Symbol("cursor"),s(S1,"ou"),s(W7,"Uo"),s(wi,"tr"),s(y0,"ru"),s(k1,"iu"),s(b0,"nu"),s(w0,"rr"),s(c5,"su"),s(d5,"au"),s(p5,"Du"),s(f5,"lu"),s(h5,"cu"),vc={},wa(vc,{builders:s(()=>s2,"builders"),printer:s(()=>u2,"printer"),utils:s(()=>c2,"utils")}),s2={join:n0,line:x0,softline:Y5,hardline:er,literalline:C0,group:t0,conditionalGroup:_m,fill:r0,lineSuffix:Ki,lineSuffixBoundary:G5,cursor:el,breakParent:Ma,ifBreak:Im,trim:K5,indent:ro,indentIfBreak:Rm,align:Hr,addAlignmentToDoc:a0,markAsRoot:Am,dedentToRoot:km,dedent:Fm,hardlineWithoutBreakParent:Ei,literallineWithoutBreakParent:Xu,label:Bm,concat:s(e=>e,"concat")},u2={printDocToString:ao},c2={willBreak:Mm,traverseDoc:Qi,findInDoc:Yi,mapDoc:no,removeLines:Om,stripTrailingHardline:l0,replaceEndOfLine:Pm,canBreak:Nm},d2="3.3.3",yc={},wa(yc,{addDanglingComment:s(()=>Ga,"addDanglingComment"),addLeadingComment:s(()=>Br,"addLeadingComment"),addTrailingComment:s(()=>zr,"addTrailingComment"),getAlignmentSize:s(()=>rl,"getAlignmentSize"),getIndentSize:s(()=>p2,"getIndentSize"),getMaxContinuousCount:s(()=>f2,"getMaxContinuousCount"),getNextNonSpaceNonCommentCharacter:s(()=>h2,"getNextNonSpaceNonCommentCharacter"),getNextNonSpaceNonCommentCharacterIndex:s(()=>S5,"getNextNonSpaceNonCommentCharacterIndex"),getStringWidth:s(()=>tl,"getStringWidth"),hasNewline:s(()=>Pt,"hasNewline"),hasNewlineInRange:s(()=>m2,"hasNewlineInRange"),hasSpaces:s(()=>g2,"hasSpaces"),isNextLineEmpty:s(()=>A5,"isNextLineEmpty"),isNextLineEmptyAfterIndex:s(()=>il,"isNextLineEmptyAfterIndex"),isPreviousLineEmpty:s(()=>k5,"isPreviousLineEmpty"),makeString:s(()=>v2,"makeString"),skip:s(()=>un,"skip"),skipEverythingButNewLine:s(()=>k0,"skipEverythingButNewLine"),skipInlineComment:s(()=>al,"skipInlineComment"),skipNewline:s(()=>ir,"skipNewline"),skipSpaces:s(()=>Ht,"skipSpaces"),skipToLineEnd:s(()=>S0,"skipToLineEnd"),skipTrailingComment:s(()=>ol,"skipTrailingComment"),skipWhitespace:s(()=>X5,"skipWhitespace")}),s(m5,"Jo"),al=m5,s(g5,"Xo"),ol=g5,s(v5,"Zo"),Hl=v5,s(y5,"Qo"),il=y5,s(b5,"ei"),p2=b5,s(G7,"ur"),s(w5,"ti"),f2=w5,s(E5,"ri"),h2=E5,s(D5,"ni"),m2=D5,s(x5,"ui"),g2=x5,s(C5,"oi"),v2=C5,s(K7,"ii"),s(S5,"si"),s(Y7,"ai"),s(k5,"Di"),s(Z7,"li"),s(A5,"ci"),s(qt,"fe"),M0=qt(w0),s(E0,"gu"),s(F5,"fi"),y2=qt(u0,0),b2={parse:qt(c5),formatAST:qt(d5),formatDoc:qt(p5),printToDoc:qt(f5),printDocToString:qt(h5)},ky=Uu});function Ay(e){for(var t=[],r=1;r{s(Ay,"dedent")}),Fy={};Yn(Fy,{formatter:()=>_y});var w2,_y,C9=B(()=>{w2=me(yl(),1),E9(),D9(),x9(),_y=(0,w2.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?Ay(t):(await ky.format(t,{parser:e,plugins:[l7],htmlWhitespaceSensitivity:"ignore"})).trim())}),O0,P0,S9=B(()=>{O0=s(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),P0=typeof window<"u"&&window.document&&window.document.createElement?i.useLayoutEffect:i.useEffect}),Ce,Me,Oe,Se,ll,Bn,Mr,zn,Iy,z1,Dn,Ry,N0,T1,E2,D2,x2,C2,S2,k2,A2,F2,_2,By,$e=B(()=>{Ce="top",Me="bottom",Oe="right",Se="left",ll="auto",Bn=[Ce,Me,Oe,Se],Mr="start",zn="end",Iy="clippingParents",z1="viewport",Dn="popper",Ry="reference",N0=Bn.reduce(function(e,t){return e.concat([t+"-"+Mr,t+"-"+zn])},[]),T1=[].concat(Bn,[ll]).reduce(function(e,t){return e.concat([t,t+"-"+Mr,t+"-"+zn])},[]),E2="beforeRead",D2="read",x2="afterRead",C2="beforeMain",S2="main",k2="afterMain",A2="beforeWrite",F2="write",_2="afterWrite",By=[E2,D2,x2,C2,S2,k2,A2,F2,_2]});function tt(e){return e?(e.nodeName||"").toLowerCase():null}var Yr=B(()=>{s(tt,"getNodeName")});function _e(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var At=B(()=>{s(_e,"getWindow")});function lr(e){var t=_e(e).Element;return e instanceof t||e instanceof Element}function Le(e){var t=_e(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function $l(e){if(typeof ShadowRoot>"u")return!1;var t=_e(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var je=B(()=>{At(),s(lr,"isElement"),s(Le,"isHTMLElement"),s($l,"isShadowRoot")});function I2(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},a=t.attributes[r]||{},o=t.elements[r];!Le(o)||!tt(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(l){var u=a[l];u===!1?o.removeAttribute(l):o.setAttribute(l,u===!0?"":u)}))})}function R2(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var a=t.elements[n],o=t.attributes[n]||{},l=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=l.reduce(function(c,d){return c[d]="",c},{});!Le(a)||!tt(a)||(Object.assign(a.style,u),Object.keys(o).forEach(function(c){a.removeAttribute(c)}))})}}var zy,k9=B(()=>{Yr(),je(),s(I2,"applyStyles"),s(R2,"effect"),zy={name:"applyStyles",enabled:!0,phase:"write",fn:I2,effect:R2,requires:["computeStyles"]}});function Je(e){return e.split("-")[0]}var Zr=B(()=>{s(Je,"getBasePlacement")}),tr,oo,jr,Jr=B(()=>{tr=Math.max,oo=Math.min,jr=Math.round});function sl(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}var Ty=B(()=>{s(sl,"getUAString")});function L1(){return!/^((?!chrome|android).)*safari/i.test(sl())}var Ly=B(()=>{Ty(),s(L1,"isLayoutViewport")});function Vr(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Le(e)&&(a=e.offsetWidth>0&&jr(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&jr(n.height)/e.offsetHeight||1);var l=lr(e)?_e(e):window,u=l.visualViewport,c=!L1()&&r,d=(n.left+(c&&u?u.offsetLeft:0))/a,p=(n.top+(c&&u?u.offsetTop:0))/o,g=n.width/a,h=n.height/o;return{width:g,height:h,top:p,right:d+g,bottom:p+h,left:d,x:d,y:p}}var So=B(()=>{je(),Jr(),At(),Ly(),s(Vr,"getBoundingClientRect")});function jl(e){var t=Vr(e),r=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-r)<=1&&(r=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}var M1=B(()=>{So(),s(jl,"getLayoutRect")});function O1(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&$l(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var My=B(()=>{je(),s(O1,"contains")});function kt(e){return _e(e).getComputedStyle(e)}var ko=B(()=>{At(),s(kt,"getComputedStyle")});function Oy(e){return["table","td","th"].indexOf(tt(e))>=0}var A9=B(()=>{Yr(),s(Oy,"isTableElement")});function jt(e){return((lr(e)?e.ownerDocument:e.document)||window.document).documentElement}var dr=B(()=>{je(),s(jt,"getDocumentElement")});function Ao(e){return tt(e)==="html"?e:e.assignedSlot||e.parentNode||($l(e)?e.host:null)||jt(e)}var Vl=B(()=>{Yr(),dr(),je(),s(Ao,"getParentNode")});function H0(e){return!Le(e)||kt(e).position==="fixed"?null:e.offsetParent}function Py(e){var t=/firefox/i.test(sl()),r=/Trident/i.test(sl());if(r&&Le(e)){var n=kt(e);if(n.position==="fixed")return null}var a=Ao(e);for($l(a)&&(a=a.host);Le(a)&&["html","body"].indexOf(tt(a))<0;){var o=kt(a);if(o.transform!=="none"||o.perspective!=="none"||o.contain==="paint"||["transform","perspective"].indexOf(o.willChange)!==-1||t&&o.willChange==="filter"||t&&o.filter&&o.filter!=="none")return a;a=a.parentNode}return null}function ea(e){for(var t=_e(e),r=H0(e);r&&Oy(r)&&kt(r).position==="static";)r=H0(r);return r&&(tt(r)==="html"||tt(r)==="body"&&kt(r).position==="static")?t:r||Py(e)||t}var Fo=B(()=>{At(),Yr(),ko(),je(),A9(),Vl(),Ty(),s(H0,"getTrueOffsetParent"),s(Py,"getContainingBlock"),s(ea,"getOffsetParent")});function ql(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var P1=B(()=>{s(ql,"getMainAxisFromPlacement")});function Tn(e,t,r){return tr(e,oo(t,r))}function Ny(e,t,r){var n=Tn(e,t,r);return n>r?r:n}var Hy=B(()=>{Jr(),s(Tn,"within"),s(Ny,"withinMaxClamp")});function N1(){return{top:0,right:0,bottom:0,left:0}}var $y=B(()=>{s(N1,"getFreshSideObject")});function H1(e){return Object.assign({},N1(),e)}var jy=B(()=>{$y(),s(H1,"mergePaddingObject")});function $1(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var Vy=B(()=>{s($1,"expandToHashMap")});function B2(e){var t,r=e.state,n=e.name,a=e.options,o=r.elements.arrow,l=r.modifiersData.popperOffsets,u=Je(r.placement),c=ql(u),d=[Se,Oe].indexOf(u)>=0,p=d?"height":"width";if(!(!o||!l)){var g=qy(a.padding,r),h=jl(o),f=c==="y"?Ce:Se,y=c==="y"?Me:Oe,m=r.rects.reference[p]+r.rects.reference[c]-l[c]-r.rects.popper[p],w=l[c]-r.rects.reference[c],x=ea(o),D=x?c==="y"?x.clientHeight||0:x.clientWidth||0:0,E=m/2-w/2,b=g[f],C=D-h[p]-g[y],S=D/2-h[p]/2+E,A=Tn(b,S,C),k=c;r.modifiersData[n]=(t={},t[k]=A,t.centerOffset=A-S,t)}}function z2(e){var t=e.state,r=e.options,n=r.element,a=n===void 0?"[data-popper-arrow]":n;a!=null&&(typeof a=="string"&&(a=t.elements.popper.querySelector(a),!a)||O1(t.elements.popper,a)&&(t.elements.arrow=a))}var qy,Uy,F9=B(()=>{Zr(),M1(),My(),Fo(),P1(),Hy(),jy(),Vy(),$e(),qy=s(function(e,t){return e=typeof e=="function"?e(Object.assign({},t.rects,{placement:t.placement})):e,H1(typeof e!="number"?e:$1(e,Bn))},"toPaddingObject"),s(B2,"arrow"),s(z2,"effect"),Uy={name:"arrow",enabled:!0,phase:"main",fn:B2,effect:z2,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}});function qr(e){return e.split("-")[1]}var _o=B(()=>{s(qr,"getVariation")});function Wy(e,t){var r=e.x,n=e.y,a=t.devicePixelRatio||1;return{x:jr(r*a)/a||0,y:jr(n*a)/a||0}}function $0(e){var t,r=e.popper,n=e.popperRect,a=e.placement,o=e.variation,l=e.offsets,u=e.position,c=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,g=e.isFixed,h=l.x,f=h===void 0?0:h,y=l.y,m=y===void 0?0:y,w=typeof p=="function"?p({x:f,y:m}):{x:f,y:m};f=w.x,m=w.y;var x=l.hasOwnProperty("x"),D=l.hasOwnProperty("y"),E=Se,b=Ce,C=window;if(d){var S=ea(r),A="clientHeight",k="clientWidth";if(S===_e(r)&&(S=jt(r),kt(S).position!=="static"&&u==="absolute"&&(A="scrollHeight",k="scrollWidth")),S=S,a===Ce||(a===Se||a===Oe)&&o===zn){b=Me;var _=g&&S===C&&C.visualViewport?C.visualViewport.height:S[A];m-=_-n.height,m*=c?1:-1}if(a===Se||(a===Ce||a===Me)&&o===zn){E=Oe;var I=g&&S===C&&C.visualViewport?C.visualViewport.width:S[k];f-=I-n.width,f*=c?1:-1}}var R=Object.assign({position:u},d&&Gy),z=p===!0?Wy({x:f,y:m},_e(r)):{x:f,y:m};if(f=z.x,m=z.y,c){var T;return Object.assign({},R,(T={},T[b]=D?"0":"",T[E]=x?"0":"",T.transform=(C.devicePixelRatio||1)<=1?"translate("+f+"px, "+m+"px)":"translate3d("+f+"px, "+m+"px, 0)",T))}return Object.assign({},R,(t={},t[b]=D?m+"px":"",t[E]=x?f+"px":"",t.transform="",t))}function T2(e){var t=e.state,r=e.options,n=r.gpuAcceleration,a=n===void 0?!0:n,o=r.adaptive,l=o===void 0?!0:o,u=r.roundOffsets,c=u===void 0?!0:u,d={placement:Je(t.placement),variation:qr(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:a,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,$0(Object.assign({},d,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:l,roundOffsets:c})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,$0(Object.assign({},d,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var Gy,Ky,_9=B(()=>{$e(),Fo(),At(),dr(),ko(),Zr(),_o(),Jr(),Gy={top:"auto",right:"auto",bottom:"auto",left:"auto"},s(Wy,"roundOffsetsByDPR"),s($0,"mapToStyles"),s(T2,"computeStyles"),Ky={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:T2,data:{}}});function L2(e){var t=e.state,r=e.instance,n=e.options,a=n.scroll,o=a===void 0?!0:a,l=n.resize,u=l===void 0?!0:l,c=_e(t.elements.popper),d=[].concat(t.scrollParents.reference,t.scrollParents.popper);return o&&d.forEach(function(p){p.addEventListener("scroll",r.update,Oa)}),u&&c.addEventListener("resize",r.update,Oa),function(){o&&d.forEach(function(p){p.removeEventListener("scroll",r.update,Oa)}),u&&c.removeEventListener("resize",r.update,Oa)}}var Oa,Yy,I9=B(()=>{At(),Oa={passive:!0},s(L2,"effect"),Yy={name:"eventListeners",enabled:!0,phase:"write",fn:s(function(){},"fn"),effect:L2,data:{}}});function Ka(e){return e.replace(/left|right|bottom|top/g,function(t){return Zy[t]})}var Zy,R9=B(()=>{Zy={left:"right",right:"left",bottom:"top",top:"bottom"},s(Ka,"getOppositePlacement")});function j0(e){return e.replace(/start|end/g,function(t){return Jy[t]})}var Jy,B9=B(()=>{Jy={start:"end",end:"start"},s(j0,"getOppositeVariationPlacement")});function Ul(e){var t=_e(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}var j1=B(()=>{At(),s(Ul,"getWindowScroll")});function Wl(e){return Vr(jt(e)).left+Ul(e).scrollLeft}var V1=B(()=>{So(),dr(),j1(),s(Wl,"getWindowScrollBarX")});function Xy(e,t){var r=_e(e),n=jt(e),a=r.visualViewport,o=n.clientWidth,l=n.clientHeight,u=0,c=0;if(a){o=a.width,l=a.height;var d=L1();(d||!d&&t==="fixed")&&(u=a.offsetLeft,c=a.offsetTop)}return{width:o,height:l,x:u+Wl(e),y:c}}var z9=B(()=>{At(),dr(),V1(),Ly(),s(Xy,"getViewportRect")});function Qy(e){var t,r=jt(e),n=Ul(e),a=(t=e.ownerDocument)==null?void 0:t.body,o=tr(r.scrollWidth,r.clientWidth,a?a.scrollWidth:0,a?a.clientWidth:0),l=tr(r.scrollHeight,r.clientHeight,a?a.scrollHeight:0,a?a.clientHeight:0),u=-n.scrollLeft+Wl(e),c=-n.scrollTop;return kt(a||r).direction==="rtl"&&(u+=tr(r.clientWidth,a?a.clientWidth:0)-o),{width:o,height:l,x:u,y:c}}var T9=B(()=>{dr(),ko(),V1(),j1(),Jr(),s(Qy,"getDocumentRect")});function Gl(e){var t=kt(e),r=t.overflow,n=t.overflowX,a=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+a+n)}var q1=B(()=>{ko(),s(Gl,"isScrollParent")});function U1(e){return["html","body","#document"].indexOf(tt(e))>=0?e.ownerDocument.body:Le(e)&&Gl(e)?e:U1(Ao(e))}var L9=B(()=>{Vl(),q1(),Yr(),je(),s(U1,"getScrollParent")});function Ln(e,t){var r;t===void 0&&(t=[]);var n=U1(e),a=n===((r=e.ownerDocument)==null?void 0:r.body),o=_e(n),l=a?[o].concat(o.visualViewport||[],Gl(n)?n:[]):n,u=t.concat(l);return a?u:u.concat(Ln(Ao(l)))}var eb=B(()=>{L9(),Vl(),At(),q1(),s(Ln,"listScrollParents")});function ul(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}var tb=B(()=>{s(ul,"rectToClientRect")});function rb(e,t){var r=Vr(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function V0(e,t,r){return t===z1?ul(Xy(e,r)):lr(t)?rb(t,r):ul(Qy(jt(e)))}function nb(e){var t=Ln(Ao(e)),r=["absolute","fixed"].indexOf(kt(e).position)>=0,n=r&&Le(e)?ea(e):e;return lr(n)?t.filter(function(a){return lr(a)&&O1(a,n)&&tt(a)!=="body"}):[]}function ab(e,t,r,n){var a=t==="clippingParents"?nb(e):[].concat(t),o=[].concat(a,[r]),l=o[0],u=o.reduce(function(c,d){var p=V0(e,d,n);return c.top=tr(p.top,c.top),c.right=oo(p.right,c.right),c.bottom=oo(p.bottom,c.bottom),c.left=tr(p.left,c.left),c},V0(e,l,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}var M9=B(()=>{$e(),z9(),T9(),eb(),Fo(),dr(),ko(),je(),So(),Vl(),My(),Yr(),tb(),Jr(),s(rb,"getInnerBoundingClientRect"),s(V0,"getClientRectFromMixedType"),s(nb,"getClippingParents"),s(ab,"getClippingRect")});function W1(e){var t=e.reference,r=e.element,n=e.placement,a=n?Je(n):null,o=n?qr(n):null,l=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,c;switch(a){case Ce:c={x:l,y:t.y-r.height};break;case Me:c={x:l,y:t.y+t.height};break;case Oe:c={x:t.x+t.width,y:u};break;case Se:c={x:t.x-r.width,y:u};break;default:c={x:t.x,y:t.y}}var d=a?ql(a):null;if(d!=null){var p=d==="y"?"height":"width";switch(o){case Mr:c[d]=c[d]-(t[p]/2-r[p]/2);break;case zn:c[d]=c[d]+(t[p]/2-r[p]/2);break}}return c}var ob=B(()=>{Zr(),_o(),P1(),$e(),s(W1,"computeOffsets")});function Vn(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=n===void 0?e.placement:n,o=r.strategy,l=o===void 0?e.strategy:o,u=r.boundary,c=u===void 0?Iy:u,d=r.rootBoundary,p=d===void 0?z1:d,g=r.elementContext,h=g===void 0?Dn:g,f=r.altBoundary,y=f===void 0?!1:f,m=r.padding,w=m===void 0?0:m,x=H1(typeof w!="number"?w:$1(w,Bn)),D=h===Dn?Ry:Dn,E=e.rects.popper,b=e.elements[y?D:h],C=ab(lr(b)?b:b.contextElement||jt(e.elements.popper),c,p,l),S=Vr(e.elements.reference),A=W1({reference:S,element:E,strategy:"absolute",placement:a}),k=ul(Object.assign({},E,A)),_=h===Dn?k:S,I={top:C.top-_.top+x.top,bottom:_.bottom-C.bottom+x.bottom,left:C.left-_.left+x.left,right:_.right-C.right+x.right},R=e.modifiersData.offset;if(h===Dn&&R){var z=R[a];Object.keys(I).forEach(function(T){var M=[Oe,Me].indexOf(T)>=0?1:-1,L=[Ce,Me].indexOf(T)>=0?"y":"x";I[T]+=z[L]*M})}return I}var Kl=B(()=>{M9(),dr(),So(),ob(),tb(),$e(),je(),jy(),Vy(),s(Vn,"detectOverflow")});function ib(e,t){t===void 0&&(t={});var r=t,n=r.placement,a=r.boundary,o=r.rootBoundary,l=r.padding,u=r.flipVariations,c=r.allowedAutoPlacements,d=c===void 0?T1:c,p=qr(n),g=p?u?N0:N0.filter(function(y){return qr(y)===p}):Bn,h=g.filter(function(y){return d.indexOf(y)>=0});h.length===0&&(h=g);var f=h.reduce(function(y,m){return y[m]=Vn(e,{placement:m,boundary:a,rootBoundary:o,padding:l})[Je(m)],y},{});return Object.keys(f).sort(function(y,m){return f[y]-f[m]})}var O9=B(()=>{_o(),$e(),Kl(),Zr(),s(ib,"computeAutoPlacement")});function lb(e){if(Je(e)===ll)return[];var t=Ka(e);return[j0(e),t,j0(t)]}function M2(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var a=r.mainAxis,o=a===void 0?!0:a,l=r.altAxis,u=l===void 0?!0:l,c=r.fallbackPlacements,d=r.padding,p=r.boundary,g=r.rootBoundary,h=r.altBoundary,f=r.flipVariations,y=f===void 0?!0:f,m=r.allowedAutoPlacements,w=t.options.placement,x=Je(w),D=x===w,E=c||(D||!y?[Ka(w)]:lb(w)),b=[w].concat(E).reduce(function(ae,P){return ae.concat(Je(P)===ll?ib(t,{placement:P,boundary:p,rootBoundary:g,padding:d,flipVariations:y,allowedAutoPlacements:m}):P)},[]),C=t.rects.reference,S=t.rects.popper,A=new Map,k=!0,_=b[0],I=0;I=0,L=M?"width":"height",O=Vn(t,{placement:R,boundary:p,rootBoundary:g,altBoundary:h,padding:d}),N=M?T?Oe:Se:T?Me:Ce;C[L]>S[L]&&(N=Ka(N));var $=Ka(N),j=[];if(o&&j.push(O[z]<=0),u&&j.push(O[N]<=0,O[$]<=0),j.every(function(ae){return ae})){_=R,k=!1;break}A.set(R,j)}if(k)for(var U=y?3:1,Z=s(function(ae){var P=b.find(function(K){var J=A.get(K);if(J)return J.slice(0,ae).every(function(ge){return ge})});if(P)return _=P,"break"},"_loop"),te=U;te>0;te--){var Y=Z(te);if(Y==="break")break}t.placement!==_&&(t.modifiersData[n]._skip=!0,t.placement=_,t.reset=!0)}}var sb,P9=B(()=>{R9(),Zr(),B9(),Kl(),O9(),$e(),_o(),s(lb,"getExpandedFallbackPlacements"),s(M2,"flip"),sb={name:"flip",enabled:!0,phase:"main",fn:M2,requiresIfExists:["offset"],data:{_skip:!1}}});function q0(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function U0(e){return[Ce,Oe,Me,Se].some(function(t){return e[t]>=0})}function O2(e){var t=e.state,r=e.name,n=t.rects.reference,a=t.rects.popper,o=t.modifiersData.preventOverflow,l=Vn(t,{elementContext:"reference"}),u=Vn(t,{altBoundary:!0}),c=q0(l,n),d=q0(u,a,o),p=U0(c),g=U0(d);t.modifiersData[r]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:p,hasPopperEscaped:g},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":p,"data-popper-escaped":g})}var ub,N9=B(()=>{$e(),Kl(),s(q0,"getSideOffsets"),s(U0,"isAnySideFullyClipped"),s(O2,"hide"),ub={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:O2}});function cb(e,t,r){var n=Je(e),a=[Se,Ce].indexOf(n)>=0?-1:1,o=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,l=o[0],u=o[1];return l=l||0,u=(u||0)*a,[Se,Oe].indexOf(n)>=0?{x:u,y:l}:{x:l,y:u}}function P2(e){var t=e.state,r=e.options,n=e.name,a=r.offset,o=a===void 0?[0,0]:a,l=T1.reduce(function(p,g){return p[g]=cb(g,t.rects,o),p},{}),u=l[t.placement],c=u.x,d=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=d),t.modifiersData[n]=l}var db,H9=B(()=>{Zr(),$e(),s(cb,"distanceAndSkiddingToXY"),s(P2,"offset"),db={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:P2}});function N2(e){var t=e.state,r=e.name;t.modifiersData[r]=W1({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var pb,$9=B(()=>{ob(),s(N2,"popperOffsets"),pb={name:"popperOffsets",enabled:!0,phase:"read",fn:N2,data:{}}});function fb(e){return e==="x"?"y":"x"}var j9=B(()=>{s(fb,"getAltAxis")});function H2(e){var t=e.state,r=e.options,n=e.name,a=r.mainAxis,o=a===void 0?!0:a,l=r.altAxis,u=l===void 0?!1:l,c=r.boundary,d=r.rootBoundary,p=r.altBoundary,g=r.padding,h=r.tether,f=h===void 0?!0:h,y=r.tetherOffset,m=y===void 0?0:y,w=Vn(t,{boundary:c,rootBoundary:d,padding:g,altBoundary:p}),x=Je(t.placement),D=qr(t.placement),E=!D,b=ql(x),C=fb(b),S=t.modifiersData.popperOffsets,A=t.rects.reference,k=t.rects.popper,_=typeof m=="function"?m(Object.assign({},t.rects,{placement:t.placement})):m,I=typeof _=="number"?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),R=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,z={x:0,y:0};if(S){if(o){var T,M=b==="y"?Ce:Se,L=b==="y"?Me:Oe,O=b==="y"?"height":"width",N=S[b],$=N+w[M],j=N-w[L],U=f?-k[O]/2:0,Z=D===Mr?A[O]:k[O],te=D===Mr?-k[O]:-A[O],Y=t.elements.arrow,ae=f&&Y?jl(Y):{width:0,height:0},P=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:N1(),K=P[M],J=P[L],ge=Tn(0,A[O],ae[O]),Ie=E?A[O]/2-U-ge-K-I.mainAxis:Z-ge-K-I.mainAxis,hr=E?-A[O]/2+U+ge+J+I.mainAxis:te+ge+J+I.mainAxis,it=t.elements.arrow&&ea(t.elements.arrow),Vt=it?b==="y"?it.clientTop||0:it.clientLeft||0:0,nn=(T=R==null?void 0:R[b])!=null?T:0,mr=N+Ie-nn-Vt,oa=N+hr-nn,Ro=Tn(f?oo($,mr):$,N,f?tr(j,oa):j);S[b]=Ro,z[b]=Ro-N}if(u){var an,lt=b==="x"?Ce:Se,Bo=b==="x"?Me:Oe,Ee=S[C],gr=C==="y"?"height":"width",st=Ee+w[lt],on=Ee-w[Bo],ut=[Ce,Se].indexOf(x)!==-1,ln=(an=R==null?void 0:R[C])!=null?an:0,ct=ut?st:Ee-A[gr]-k[gr]-ln+I.altAxis,ve=ut?Ee+A[gr]+k[gr]-ln-I.altAxis:on,qe=f&&ut?Ny(ct,Ee,ve):Tn(f?ct:st,Ee,f?ve:on);S[C]=qe,z[C]=qe-Ee}t.modifiersData[n]=z}}var hb,V9=B(()=>{$e(),Zr(),P1(),j9(),Hy(),M1(),Fo(),Kl(),_o(),$y(),Jr(),s(H2,"preventOverflow"),hb={name:"preventOverflow",enabled:!0,phase:"main",fn:H2,requiresIfExists:["offset"]}}),mb=B(()=>{});function gb(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}var q9=B(()=>{s(gb,"getHTMLElementScroll")});function vb(e){return e===_e(e)||!Le(e)?Ul(e):gb(e)}var U9=B(()=>{j1(),At(),je(),q9(),s(vb,"getNodeScroll")});function yb(e){var t=e.getBoundingClientRect(),r=jr(t.width)/e.offsetWidth||1,n=jr(t.height)/e.offsetHeight||1;return r!==1||n!==1}function bb(e,t,r){r===void 0&&(r=!1);var n=Le(t),a=Le(t)&&yb(t),o=jt(t),l=Vr(e,a,r),u={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(n||!n&&!r)&&((tt(t)!=="body"||Gl(o))&&(u=vb(t)),Le(t)?(c=Vr(t,!0),c.x+=t.clientLeft,c.y+=t.clientTop):o&&(c.x=Wl(o))),{x:l.left+u.scrollLeft-c.x,y:l.top+u.scrollTop-c.y,width:l.width,height:l.height}}var W9=B(()=>{So(),U9(),Yr(),je(),V1(),dr(),q1(),Jr(),s(yb,"isElementScaled"),s(bb,"getCompositeRect")});function wb(e){var t=new Map,r=new Set,n=[];e.forEach(function(o){t.set(o.name,o)});function a(o){r.add(o.name);var l=[].concat(o.requires||[],o.requiresIfExists||[]);l.forEach(function(u){if(!r.has(u)){var c=t.get(u);c&&a(c)}}),n.push(o)}return s(a,"sort"),e.forEach(function(o){r.has(o.name)||a(o)}),n}function Eb(e){var t=wb(e);return By.reduce(function(r,n){return r.concat(t.filter(function(a){return a.phase===n}))},[])}var G9=B(()=>{$e(),s(wb,"order"),s(Eb,"orderModifiers")});function Db(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}var K9=B(()=>{s(Db,"debounce")});function xb(e){var t=e.reduce(function(r,n){var a=r[n.name];return r[n.name]=a?Object.assign({},a,n,{options:Object.assign({},a.options,n.options),data:Object.assign({},a.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var Y9=B(()=>{s(xb,"mergeByName")});function W0(){for(var e=arguments.length,t=new Array(e),r=0;r{W9(),M1(),eb(),Fo(),G9(),K9(),Y9(),je(),G0={placement:"bottom",modifiers:[],strategy:"absolute"},s(W0,"areValidElements"),s(Cb,"popperGenerator")}),$2,Sb,J9=B(()=>{Z9(),I9(),$9(),_9(),k9(),H9(),P9(),V9(),F9(),N9(),mb(),$2=[Yy,pb,Ky,zy,db,sb,hb,Uy,ub],Sb=Cb({defaultModifiers:$2})}),X9=B(()=>{$e(),mb(),J9()}),Q9=H((e,t)=>{var r=typeof Element<"u",n=typeof Map=="function",a=typeof Set=="function",o=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function l(u,c){if(u===c)return!0;if(u&&c&&typeof u=="object"&&typeof c=="object"){if(u.constructor!==c.constructor)return!1;var d,p,g;if(Array.isArray(u)){if(d=u.length,d!=c.length)return!1;for(p=d;p--!==0;)if(!l(u[p],c[p]))return!1;return!0}var h;if(n&&u instanceof Map&&c instanceof Map){if(u.size!==c.size)return!1;for(h=u.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;for(h=u.entries();!(p=h.next()).done;)if(!l(p.value[1],c.get(p.value[0])))return!1;return!0}if(a&&u instanceof Set&&c instanceof Set){if(u.size!==c.size)return!1;for(h=u.entries();!(p=h.next()).done;)if(!c.has(p.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(u)&&ArrayBuffer.isView(c)){if(d=u.length,d!=c.length)return!1;for(p=d;p--!==0;)if(u[p]!==c[p])return!1;return!0}if(u.constructor===RegExp)return u.source===c.source&&u.flags===c.flags;if(u.valueOf!==Object.prototype.valueOf&&typeof u.valueOf=="function"&&typeof c.valueOf=="function")return u.valueOf()===c.valueOf();if(u.toString!==Object.prototype.toString&&typeof u.toString=="function"&&typeof c.toString=="function")return u.toString()===c.toString();if(g=Object.keys(u),d=g.length,d!==Object.keys(c).length)return!1;for(p=d;p--!==0;)if(!Object.prototype.hasOwnProperty.call(c,g[p]))return!1;if(r&&u instanceof Element)return!1;for(p=d;p--!==0;)if(!((g[p]==="_owner"||g[p]==="__v"||g[p]==="__o")&&u.$$typeof)&&!l(u[g[p]],c[g[p]]))return!1;return!0}return u!==u&&c!==c}s(l,"equal"),t.exports=s(function(u,c){try{return l(u,c)}catch(d){if((d.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw d}},"isEqual")}),j2,V2,kb,eD=B(()=>{X9(),j2=me(Q9()),S9(),V2=[],kb=s(function(e,t,r){r===void 0&&(r={});var n=i.useRef(null),a={onFirstUpdate:r.onFirstUpdate,placement:r.placement||"bottom",strategy:r.strategy||"absolute",modifiers:r.modifiers||V2},o=i.useState({styles:{popper:{position:a.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),l=o[0],u=o[1],c=i.useMemo(function(){return{name:"updateState",enabled:!0,phase:"write",fn:s(function(g){var h=g.state,f=Object.keys(h.elements);ml.flushSync(function(){u({styles:O0(f.map(function(y){return[y,h.styles[y]||{}]})),attributes:O0(f.map(function(y){return[y,h.attributes[y]]}))})})},"fn"),requires:["computeStyles"]}},[]),d=i.useMemo(function(){var g={onFirstUpdate:a.onFirstUpdate,placement:a.placement,strategy:a.strategy,modifiers:[].concat(a.modifiers,[c,{name:"applyStyles",enabled:!1}])};return(0,j2.default)(n.current,g)?n.current||g:(n.current=g,g)},[a.onFirstUpdate,a.placement,a.strategy,a.modifiers,c]),p=i.useRef();return P0(function(){p.current&&p.current.setOptions(d)},[d]),P0(function(){if(!(e==null||t==null)){var g=r.createPopper||Sb,h=g(e,t,d);return p.current=h,function(){h.destroy(),p.current=null}}},[e,t,r.createPopper]),{state:p.current?p.current.state:null,styles:l.styles,attributes:l.attributes,update:p.current?p.current.update:null,forceUpdate:p.current?p.current.forceUpdate:null}},"usePopper")}),tD=B(()=>{eD()});function G1(e){var t=i.useRef(e);return t.current=e,i.useCallback(function(){return t.current},[])}function Ab(e){var t=e.initial,r=e.value,n=e.onChange,a=n===void 0?_b:n;if(t===void 0&&r===void 0)throw new TypeError('Either "value" or "initial" variable must be set. Now both are undefined');var o=i.useState(t),l=o[0],u=o[1],c=G1(l),d=i.useCallback(function(g){var h=c(),f=typeof g=="function"?g(h):g;typeof f.persist=="function"&&f.persist(),u(f),typeof a=="function"&&a(f)},[c,a]),p=r!==void 0;return[p?r:l,p?a:d]}function K0(e,t){return e===void 0&&(e=0),t===void 0&&(t=0),function(){return{width:0,height:0,top:t,right:e,bottom:t,left:e,x:0,y:0,toJSON:s(function(){return null},"toJSON")}}}function Fb(e,t){var r,n,a;e===void 0&&(e={}),t===void 0&&(t={});var o=Object.keys(Z0).reduce(function(L,O){var N;return G({},L,(N={},N[O]=L[O]!==void 0?L[O]:Z0[O],N))},e),l=i.useMemo(function(){return[{name:"offset",options:{offset:o.offset}}]},Array.isArray(o.offset)?o.offset:[]),u=G({},t,{placement:t.placement||o.placement,modifiers:t.modifiers||l}),c=i.useState(null),d=c[0],p=c[1],g=i.useState(null),h=g[0],f=g[1],y=Ab({initial:o.defaultVisible,value:o.visible,onChange:o.onVisibleChange}),m=y[0],w=y[1],x=i.useRef();i.useEffect(function(){return function(){return clearTimeout(x.current)}},[]);var D=kb(o.followCursor?Y0:d,h,u),E=D.styles,b=D.attributes,C=bl(D,Ib),S=C.update,A=G1({visible:m,triggerRef:d,tooltipRef:h,finalConfig:o}),k=i.useCallback(function(L){return Array.isArray(o.trigger)?o.trigger.includes(L):o.trigger===L},Array.isArray(o.trigger)?o.trigger:[o.trigger]),_=i.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!1)},o.delayHide)},[o.delayHide,w]),I=i.useCallback(function(){clearTimeout(x.current),x.current=window.setTimeout(function(){return w(!0)},o.delayShow)},[o.delayShow,w]),R=i.useCallback(function(){A().visible?_():I()},[A,_,I]);i.useEffect(function(){if(A().finalConfig.closeOnOutsideClick){var L=s(function(O){var N,$=A(),j=$.tooltipRef,U=$.triggerRef,Z=(O.composedPath==null||(N=O.composedPath())==null?void 0:N[0])||O.target;Z instanceof Node&&j!=null&&U!=null&&!j.contains(Z)&&!U.contains(Z)&&_()},"handleClickOutside");return document.addEventListener("mousedown",L),function(){return document.removeEventListener("mousedown",L)}}},[A,_]),i.useEffect(function(){if(!(d==null||!k("click")))return d.addEventListener("click",R),function(){return d.removeEventListener("click",R)}},[d,k,R]),i.useEffect(function(){if(!(d==null||!k("double-click")))return d.addEventListener("dblclick",R),function(){return d.removeEventListener("dblclick",R)}},[d,k,R]),i.useEffect(function(){if(!(d==null||!k("right-click"))){var L=s(function(O){O.preventDefault(),R()},"preventDefaultAndToggle");return d.addEventListener("contextmenu",L),function(){return d.removeEventListener("contextmenu",L)}}},[d,k,R]),i.useEffect(function(){if(!(d==null||!k("focus")))return d.addEventListener("focus",I),d.addEventListener("blur",_),function(){d.removeEventListener("focus",I),d.removeEventListener("blur",_)}},[d,k,I,_]),i.useEffect(function(){if(!(d==null||!k("hover")))return d.addEventListener("mouseenter",I),d.addEventListener("mouseleave",_),function(){d.removeEventListener("mouseenter",I),d.removeEventListener("mouseleave",_)}},[d,k,I,_]),i.useEffect(function(){if(!(h==null||!k("hover")||!A().finalConfig.interactive))return h.addEventListener("mouseenter",I),h.addEventListener("mouseleave",_),function(){h.removeEventListener("mouseenter",I),h.removeEventListener("mouseleave",_)}},[h,k,I,_,A]);var z=C==null||(r=C.state)==null||(n=r.modifiersData)==null||(a=n.hide)==null?void 0:a.isReferenceHidden;i.useEffect(function(){o.closeOnTriggerHidden&&z&&_()},[o.closeOnTriggerHidden,_,z]),i.useEffect(function(){if(!o.followCursor||d==null)return;function L(O){var N=O.clientX,$=O.clientY;Y0.getBoundingClientRect=K0(N,$),S==null||S()}return s(L,"setMousePosition"),d.addEventListener("mousemove",L),function(){return d.removeEventListener("mousemove",L)}},[o.followCursor,d,S]),i.useEffect(function(){if(!(h==null||S==null||o.mutationObserverOptions==null)){var L=new MutationObserver(S);return L.observe(h,o.mutationObserverOptions),function(){return L.disconnect()}}},[o.mutationObserverOptions,h,S]);var T=s(function(L){return L===void 0&&(L={}),G({},L,{style:G({},L.style,E.popper)},b.popper,{"data-popper-interactive":o.interactive})},"getTooltipProps"),M=s(function(L){return L===void 0&&(L={}),G({},L,b.arrow,{style:G({},L.style,E.arrow),"data-popper-arrow":!0})},"getArrowProps");return G({getArrowProps:M,getTooltipProps:T,setTooltipRef:f,setTriggerRef:p,tooltipRef:h,triggerRef:d,visible:m},C)}var _b,Ib,Y0,Z0,rD=B(()=>{_d(),rt(),tD(),s(G1,"useGetLatest"),_b=s(function(){},"noop"),s(Ab,"useControlledState"),s(K0,"generateBoundingClientRect"),Ib=["styles","attributes"],Y0={getBoundingClientRect:K0()},Z0={closeOnOutsideClick:!0,closeOnTriggerHidden:!1,defaultVisible:!1,delayHide:0,delayShow:0,followCursor:!1,interactive:!1,mutationObserverOptions:{attributes:!0,childList:!0,subtree:!0},offset:[0,6],trigger:"hover"},s(Fb,"usePopperTooltip")}),q2,Be,zt,U2,W2,J0,nD=B(()=>{q2=me(yl(),1),Be=(0,q2.default)(1e3)((e,t,r,n=0)=>t.split("-")[0]===e?r:n),zt=8,U2=F.div({position:"absolute",borderStyle:"solid"},({placement:e})=>{let t=0,r=0;switch(!0){case(e.startsWith("left")||e.startsWith("right")):{r=8;break}case(e.startsWith("top")||e.startsWith("bottom")):{t=8;break}}return{transform:`translate3d(${t}px, ${r}px, 0px)`}},({theme:e,color:t,placement:r})=>({bottom:`${Be("top",r,`${zt*-1}px`,"auto")}`,top:`${Be("bottom",r,`${zt*-1}px`,"auto")}`,right:`${Be("left",r,`${zt*-1}px`,"auto")}`,left:`${Be("right",r,`${zt*-1}px`,"auto")}`,borderBottomWidth:`${Be("top",r,"0",zt)}px`,borderTopWidth:`${Be("bottom",r,"0",zt)}px`,borderRightWidth:`${Be("left",r,"0",zt)}px`,borderLeftWidth:`${Be("right",r,"0",zt)}px`,borderTopColor:Be("top",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent"),borderBottomColor:Be("bottom",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent"),borderLeftColor:Be("left",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent"),borderRightColor:Be("right",r,e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,"transparent")})),W2=F.div(({hidden:e})=>({display:e?"none":"inline-block",zIndex:2147483647}),({theme:e,color:t,hasChrome:r})=>r?{background:t&&e.color[t]||t||e.base==="light"?ua(e.background.app):e.background.app,filter:` - drop-shadow(0px 5px 5px rgba(0,0,0,0.05)) - drop-shadow(0 1px 3px rgba(0,0,0,0.1)) - `,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),J0=v.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:l,...u},c)=>v.createElement(W2,{"data-testid":"tooltip",hasChrome:t,ref:c,...u,color:o},t&&l&&v.createElement(U2,{placement:e,...n,color:o}),r)),J0.displayName="Tooltip"}),K1={};Yn(K1,{WithToolTipState:()=>cl,WithTooltip:()=>cl,WithTooltipPure:()=>X0});var xa,G2,K2,X0,cl,Y1=B(()=>{Fd(),rD(),nD(),{document:xa}=vl,G2=F.div` - display: inline-block; - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,K2=F.g` - cursor: ${e=>e.trigger==="hover"||e.trigger.includes("hover")?"default":"pointer"}; -`,X0=s(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:l=!1,withArrows:u,offset:c,tooltip:d,children:p,closeOnTriggerHidden:g,mutationObserverOptions:h,delayHide:f,visible:y,interactive:m,delayShow:w,strategy:x,followCursor:D,onVisibleChange:E,...b})=>{let C=e?K2:G2,{getArrowProps:S,getTooltipProps:A,setTooltipRef:k,setTriggerRef:_,visible:I,state:R}=Fb({trigger:t,placement:n,defaultVisible:l,delayHide:f,interactive:m,closeOnOutsideClick:r,closeOnTriggerHidden:g,onVisibleChange:E,delayShow:w,followCursor:D,mutationObserverOptions:h,visible:y,offset:c},{modifiers:a,strategy:x}),z=v.createElement(J0,{placement:R==null?void 0:R.placement,ref:k,hasChrome:o,arrowProps:S(),withArrows:u,...A()},typeof d=="function"?d({onHide:s(()=>E(!1),"onHide")}):d);return v.createElement(v.Fragment,null,v.createElement(C,{trigger:t,ref:_,...b},p),I&&Ug.createPortal(z,xa.body))},"WithTooltipPure"),cl=s(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=i.useState(e),o=i.useCallback(l=>{t&&t(l)===!1||a(l)},[t]);return i.useEffect(()=>{let l=s(()=>o(!1),"hide");xa.addEventListener("keydown",l,!1);let u=Array.from(xa.getElementsByTagName("iframe")),c=[];return u.forEach(d=>{let p=s(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",l),c.push(()=>{try{d.contentWindow.document.removeEventListener("click",l)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),c.push(()=>{d.removeEventListener("load",p)})}),()=>{xa.removeEventListener("keydown",l),c.forEach(d=>{d()})}}),v.createElement(X0,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ee=s(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs",`sbdocs-${t}`,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");rt();oE();Ad();function Rb(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,On(e,t)}s(Rb,"_inheritsLoose");iE();Ad();function Bb(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}s(Bb,"_isNativeFunction");function Z1(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Z1=s(function(){return!!e},"_isNativeReflectConstruct"))()}s(Z1,"_isNativeReflectConstruct");Ad();function zb(e,t,r){if(Z1())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&On(a,r.prototype),a}s(zb,"_construct");function dl(e){var t=typeof Map=="function"?new Map:void 0;return dl=s(function(r){if(r===null||!Bb(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(t!==void 0){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return zb(r,arguments,Bi(this).constructor)}return s(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),On(n,r)},"_wrapNativeSuper"),dl(e)}s(dl,"_wrapNativeSuper");var aD={1:`Passed invalid arguments to hsl, please pass multiple numbers e.g. hsl(360, 0.75, 0.4) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75 }). - -`,2:`Passed invalid arguments to hsla, please pass multiple numbers e.g. hsla(360, 0.75, 0.4, 0.7) or an object e.g. rgb({ hue: 255, saturation: 0.4, lightness: 0.75, alpha: 0.7 }). - -`,3:`Passed an incorrect argument to a color function, please pass a string representation of a color. - -`,4:`Couldn't generate valid rgb string from %s, it returned %s. - -`,5:`Couldn't parse the color string. Please provide the color as a string in hex, rgb, rgba, hsl or hsla notation. - -`,6:`Passed invalid arguments to rgb, please pass multiple numbers e.g. rgb(255, 205, 100) or an object e.g. rgb({ red: 255, green: 205, blue: 100 }). - -`,7:`Passed invalid arguments to rgba, please pass multiple numbers e.g. rgb(255, 205, 100, 0.75) or an object e.g. rgb({ red: 255, green: 205, blue: 100, alpha: 0.75 }). - -`,8:`Passed invalid argument to toColorString, please pass a RgbColor, RgbaColor, HslColor or HslaColor object. - -`,9:`Please provide a number of steps to the modularScale helper. - -`,10:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,11:`Invalid value passed as base to modularScale, expected number or em string but got "%s" - -`,12:`Expected a string ending in "px" or a number passed as the first argument to %s(), got "%s" instead. - -`,13:`Expected a string ending in "px" or a number passed as the second argument to %s(), got "%s" instead. - -`,14:`Passed invalid pixel value ("%s") to %s(), please pass a value like "12px" or 12. - -`,15:`Passed invalid base value ("%s") to %s(), please pass a value like "12px" or 12. - -`,16:`You must provide a template to this method. - -`,17:`You passed an unsupported selector state to this method. - -`,18:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,19:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,20:`expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,21:"expects the objects in the first argument array to have the properties `prop`, `fromSize`, and `toSize`.\n\n",22:"expects the first argument object to have the properties `prop`, `fromSize`, and `toSize`.\n\n",23:`fontFace expects a name of a font-family. - -`,24:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,25:`fontFace expects localFonts to be an array. - -`,26:`fontFace expects fileFormats to be an array. - -`,27:`radialGradient requries at least 2 color-stops to properly render. - -`,28:`Please supply a filename to retinaImage() as the first argument. - -`,29:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,30:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",31:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation - -`,32:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s']) -To pass a single animation please supply them in simple values, e.g. animation('rotate', '2s') - -`,33:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation - -`,34:`borderRadius expects a radius value as a string or number as the second argument. - -`,35:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,36:`Property must be a string value. - -`,37:`Syntax Error at %s. - -`,38:`Formula contains a function that needs parentheses at %s. - -`,39:`Formula is missing closing parenthesis at %s. - -`,40:`Formula has too many closing parentheses at %s. - -`,41:`All values in a formula must have the same unit or be unitless. - -`,42:`Please provide a number of steps to the modularScale helper. - -`,43:`Please pass a number or one of the predefined scales to the modularScale helper as the ratio. - -`,44:`Invalid value passed as base to modularScale, expected number or em/rem string but got %s. - -`,45:`Passed invalid argument to hslToColorString, please pass a HslColor or HslaColor object. - -`,46:`Passed invalid argument to rgbToColorString, please pass a RgbColor or RgbaColor object. - -`,47:`minScreen and maxScreen must be provided as stringified numbers with the same units. - -`,48:`fromSize and toSize must be provided as stringified numbers with the same units. - -`,49:`Expects either an array of objects or a single object with the properties prop, fromSize, and toSize. - -`,50:`Expects the objects in the first argument array to have the properties prop, fromSize, and toSize. - -`,51:`Expects the first argument object to have the properties prop, fromSize, and toSize. - -`,52:`fontFace expects either the path to the font file(s) or a name of a local copy. - -`,53:`fontFace expects localFonts to be an array. - -`,54:`fontFace expects fileFormats to be an array. - -`,55:`fontFace expects a name of a font-family. - -`,56:`linearGradient requries at least 2 color-stops to properly render. - -`,57:`radialGradient requries at least 2 color-stops to properly render. - -`,58:`Please supply a filename to retinaImage() as the first argument. - -`,59:`Passed invalid argument to triangle, please pass correct pointingDirection e.g. 'right'. - -`,60:"Passed an invalid value to `height` or `width`. Please provide a pixel based unit.\n\n",61:`Property must be a string value. - -`,62:`borderRadius expects a radius value as a string or number as the second argument. - -`,63:`borderRadius expects one of "top", "bottom", "left" or "right" as the first argument. - -`,64:`The animation shorthand only takes 8 arguments. See the specification for more information: http://mdn.io/animation. - -`,65:`To pass multiple animations please supply them in arrays, e.g. animation(['rotate', '2s'], ['move', '1s'])\\nTo pass a single animation please supply them in simple values, e.g. animation('rotate', '2s'). - -`,66:`The animation shorthand arrays can only have 8 elements. See the specification for more information: http://mdn.io/animation. - -`,67:`You must provide a template to this method. - -`,68:`You passed an unsupported selector state to this method. - -`,69:`Expected a string ending in "px" or a number passed as the first argument to %s(), got %s instead. - -`,70:`Expected a string ending in "px" or a number passed as the second argument to %s(), got %s instead. - -`,71:`Passed invalid pixel value %s to %s(), please pass a value like "12px" or 12. - -`,72:`Passed invalid base value %s to %s(), please pass a value like "12px" or 12. - -`,73:`Please provide a valid CSS variable. - -`,74:`CSS variable not found and no default was provided. - -`,75:`important requires a valid style object, got a %s instead. - -`,76:`fromSize and toSize must be provided as stringified numbers with the same units as minScreen and maxScreen. - -`,77:`remToPx expects a value in "rem" but you provided it in "%s". - -`,78:`base must be set in "px" or "%" but you set it in "%s". -`};function Tb(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),l=1;l=0&&a<1?(u=o,c=l):a>=1&&a<2?(u=l,c=o):a>=2&&a<3?(c=o,d=l):a>=3&&a<4?(c=l,d=o):a>=4&&a<5?(u=l,d=o):a>=5&&a<6&&(u=o,d=l);var p=r-o/2,g=u+p,h=c+p,f=d+p;return n(g,h,f)}s(qn,"hslToRgb");var Y2={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Mb(e){if(typeof e!="string")return e;var t=e.toLowerCase();return Y2[t]?"#"+Y2[t]:e}s(Mb,"nameToHex");var oD=/^#[a-fA-F0-9]{6}$/,iD=/^#[a-fA-F0-9]{8}$/,lD=/^#[a-fA-F0-9]{3}$/,sD=/^#[a-fA-F0-9]{4}$/,bc=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,uD=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,cD=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,dD=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function Yl(e){if(typeof e!="string")throw new gt(3);var t=Mb(e);if(t.match(oD))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(iD)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(lD))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(sD)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=bc.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=uD.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var l=cD.exec(t);if(l){var u=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+qn(u,c,d)+")",g=bc.exec(p);if(!g)throw new gt(4,t,p);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var h=dD.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),y=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,w="rgb("+qn(f,y,m)+")",x=bc.exec(w);if(!x)throw new gt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new gt(5)}s(Yl,"parseToRgb");function Ob(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),l=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var u,c=a-o,d=l>.5?c/(2-a-o):c/(a+o);switch(a){case t:u=(r-n)/c+(r=1?io(e,t,r):"rgba("+qn(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?io(e.hue,e.saturation,e.lightness):"rgba("+qn(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new gt(2)}s(Hb,"hsla");function pl(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return Q0("#"+Jt(e)+Jt(t)+Jt(r));if(typeof e=="object"&&t===void 0&&r===void 0)return Q0("#"+Jt(e.red)+Jt(e.green)+Jt(e.blue));throw new gt(6)}s(pl,"rgb");function lo(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=Yl(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?pl(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?pl(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new gt(7)}s(lo,"rgba");var fD=s(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),hD=s(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),mD=s(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),gD=s(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function X1(e){if(typeof e!="object")throw new gt(8);if(hD(e))return lo(e);if(fD(e))return pl(e);if(gD(e))return Hb(e);if(mD(e))return Nb(e);throw new gt(8)}s(X1,"toColorString");function Q1(e,t,r){return s(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):Q1(e,t,n)},"fn")}s(Q1,"curried");function Zl(e){return Q1(e,e.length,[])}s(Zl,"curry");function Jl(e,t,r){return Math.max(e,Math.min(t,r))}s(Jl,"guard");function $b(e,t){if(t==="transparent")return t;var r=J1(t);return X1(G({},r,{lightness:Jl(0,1,r.lightness-parseFloat(e))}))}s($b,"darken");var vD=Zl($b),Cn=vD;function jb(e,t){if(t==="transparent")return t;var r=J1(t);return X1(G({},r,{lightness:Jl(0,1,r.lightness+parseFloat(e))}))}s(jb,"lighten");var yD=Zl(jb),Z2=yD;function Vb(e,t){if(t==="transparent")return t;var r=Yl(t),n=typeof r.alpha=="number"?r.alpha:1,a=G({},r,{alpha:Jl(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return lo(a)}s(Vb,"transparentize");var bD=Zl(Vb),Ne=bD,ta=s(({theme:e})=>({margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}),"headerCommon"),pr=s(({theme:e})=>({lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Ne(.1,e.color.defaultText):Ne(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border}),"codeCommon"),re=s(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}),"withReset"),Xr={margin:"16px 0"},qb=F.div(re),wD=s(({href:e="",...t})=>{let r=/^\//.test(e)?`./?path=${e}`:e,n=/^#.*/.test(e)?"_self":"_top";return v.createElement("a",{href:r,target:n,...t})},"Link"),ED=F(wD)(re,({theme:e})=>({fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}})),DD=F.blockquote(re,Xr,({theme:e})=>({borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}));El();var xD=s(e=>typeof e=="string","isReactChildString"),CD=/[\n\r]/g,SD=F.code(({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}),pr),kD=F($a)(({theme:e})=>({fontFamily:e.typography.fonts.mono,fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),Ub=s(({className:e,children:t,...r})=>{let n=(e||"").match(/lang-(\S+)/),a=i.Children.toArray(t);return a.filter(xD).some(o=>o.match(CD))?v.createElement(kD,{bordered:!0,copyable:!0,language:(n==null?void 0:n[1])??"text",format:!1,...r},t):v.createElement(SD,{...r,className:e},a)},"Code"),AD=F.dl(re,Xr,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}}),FD=F.div(re),_D=F.h1(re,ta,({theme:e})=>({fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold})),Wb=F.h2(re,ta,({theme:e})=>({fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`})),Gb=F.h3(re,ta,({theme:e})=>({fontSize:`${e.typography.size.m1}px`})),ID=F.h4(re,ta,({theme:e})=>({fontSize:`${e.typography.size.s3}px`})),RD=F.h5(re,ta,({theme:e})=>({fontSize:`${e.typography.size.s2}px`})),BD=F.h6(re,ta,({theme:e})=>({fontSize:`${e.typography.size.s2}px`,color:e.color.dark})),zD=F.hr(({theme:e})=>({border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0})),TD=F.img({maxWidth:"100%"}),LD=F.li(re,({theme:e})=>({fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":pr({theme:e})})),MD={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},OD=F.ol(re,Xr,MD,{listStyle:"decimal"}),PD=F.p(re,Xr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":pr({theme:e})})),ND=F.pre(re,Xr,({theme:e})=>({fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}})),HD=F.span(re,({theme:e})=>({"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}})),$D=F.title(pr),jD=F.table(re,Xr,({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}})),VD={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},qD=F.ul(re,Xr,VD,{listStyle:"disc"}),Kb={h1:s(e=>v.createElement(_D,{...ee(e,"h1")}),"h1"),h2:s(e=>v.createElement(Wb,{...ee(e,"h2")}),"h2"),h3:s(e=>v.createElement(Gb,{...ee(e,"h3")}),"h3"),h4:s(e=>v.createElement(ID,{...ee(e,"h4")}),"h4"),h5:s(e=>v.createElement(RD,{...ee(e,"h5")}),"h5"),h6:s(e=>v.createElement(BD,{...ee(e,"h6")}),"h6"),pre:s(e=>v.createElement(ND,{...ee(e,"pre")}),"pre"),a:s(e=>v.createElement(ED,{...ee(e,"a")}),"a"),hr:s(e=>v.createElement(zD,{...ee(e,"hr")}),"hr"),dl:s(e=>v.createElement(AD,{...ee(e,"dl")}),"dl"),blockquote:s(e=>v.createElement(DD,{...ee(e,"blockquote")}),"blockquote"),table:s(e=>v.createElement(jD,{...ee(e,"table")}),"table"),img:s(e=>v.createElement(TD,{...ee(e,"img")}),"img"),div:s(e=>v.createElement(FD,{...ee(e,"div")}),"div"),span:s(e=>v.createElement(HD,{...ee(e,"span")}),"span"),li:s(e=>v.createElement(LD,{...ee(e,"li")}),"li"),ul:s(e=>v.createElement(qD,{...ee(e,"ul")}),"ul"),ol:s(e=>v.createElement(OD,{...ee(e,"ol")}),"ol"),p:s(e=>v.createElement(PD,{...ee(e,"p")}),"p"),code:s(e=>v.createElement(Ub,{...ee(e,"code")}),"code"),tt:s(e=>v.createElement($D,{...ee(e,"tt")}),"tt"),resetwrapper:s(e=>v.createElement(qb,{...ee(e,"resetwrapper")}),"resetwrapper")},UD=F.div(({theme:e})=>({display:"inline-block",fontSize:11,lineHeight:"12px",alignSelf:"center",padding:"4px 12px",borderRadius:"3em",fontWeight:e.typography.weight.bold}),{svg:{height:12,width:12,marginRight:4,marginTop:-2,path:{fill:"currentColor"}}},({theme:e,status:t})=>{switch(t){case"critical":return{color:e.color.critical,background:e.background.critical};case"negative":return{color:e.color.negativeText,background:e.background.negative,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ne(.9,e.color.negativeText)}`:"none"};case"warning":return{color:e.color.warningText,background:e.background.warning,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ne(.9,e.color.warningText)}`:"none"};case"neutral":return{color:e.color.dark,background:e.color.mediumlight,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ne(.9,e.color.dark)}`:"none"};case"positive":return{color:e.color.positiveText,background:e.background.positive,boxShadow:e.base==="light"?`inset 0 0 0 1px ${Ne(.9,e.color.positiveText)}`:"none"};default:return{}}}),SP=s(({...e})=>v.createElement(UD,{...e}),"Badge"),Yb={};Yn(Yb,{AccessibilityAltIcon:()=>pA,AccessibilityIcon:()=>dA,AddIcon:()=>lS,AdminIcon:()=>tA,AlertAltIcon:()=>LS,AlertIcon:()=>TS,AlignLeftIcon:()=>Px,AlignRightIcon:()=>Nx,AppleIcon:()=>aC,ArrowBottomLeftIcon:()=>Ak,ArrowBottomRightIcon:()=>Fk,ArrowDownIcon:()=>Dk,ArrowLeftIcon:()=>xk,ArrowRightIcon:()=>Ck,ArrowSolidDownIcon:()=>Ik,ArrowSolidLeftIcon:()=>Rk,ArrowSolidRightIcon:()=>Bk,ArrowSolidUpIcon:()=>_k,ArrowTopLeftIcon:()=>Sk,ArrowTopRightIcon:()=>kk,ArrowUpIcon:()=>Ek,AzureDevOpsIcon:()=>cC,BackIcon:()=>qk,BasketIcon:()=>ak,BatchAcceptIcon:()=>eS,BatchDenyIcon:()=>QC,BeakerIcon:()=>ok,BellIcon:()=>HS,BitbucketIcon:()=>dC,BoldIcon:()=>Wx,BookIcon:()=>_x,BookmarkHollowIcon:()=>GS,BookmarkIcon:()=>KS,BottomBarIcon:()=>OC,BottomBarToggleIcon:()=>PC,BoxIcon:()=>VC,BranchIcon:()=>tC,BrowserIcon:()=>_C,ButtonIcon:()=>SS,CPUIcon:()=>NC,CalendarIcon:()=>Mx,CameraIcon:()=>fx,CategoryIcon:()=>Bx,CertificateIcon:()=>ek,ChangedIcon:()=>pS,ChatIcon:()=>bS,CheckIcon:()=>JC,ChevronDownIcon:()=>mk,ChevronLeftIcon:()=>gk,ChevronRightIcon:()=>Xb,ChevronSmallDownIcon:()=>yk,ChevronSmallLeftIcon:()=>bk,ChevronSmallRightIcon:()=>wk,ChevronSmallUpIcon:()=>vk,ChevronUpIcon:()=>hk,ChromaticIcon:()=>pC,ChromeIcon:()=>sC,CircleHollowIcon:()=>US,CircleIcon:()=>WS,ClearIcon:()=>hS,CloseAltIcon:()=>nS,CloseIcon:()=>uS,CloudHollowIcon:()=>sk,CloudIcon:()=>uk,CogIcon:()=>WC,CollapseIcon:()=>Tk,CommandIcon:()=>_S,CommentAddIcon:()=>gS,CommentIcon:()=>mS,CommentsIcon:()=>yS,CommitIcon:()=>eC,CompassIcon:()=>Kk,ComponentDrivenIcon:()=>fC,ComponentIcon:()=>KD,ContrastIcon:()=>ix,ControlsIcon:()=>tS,CopyIcon:()=>Rx,CreditIcon:()=>CS,CrossIcon:()=>Jb,DashboardIcon:()=>Xk,DatabaseIcon:()=>HC,DeleteIcon:()=>cS,DiamondIcon:()=>YS,DirectionIcon:()=>rA,DiscordIcon:()=>hC,DocChartIcon:()=>$x,DocListIcon:()=>jx,DocumentIcon:()=>Ix,DownloadIcon:()=>Vk,DragIcon:()=>Vx,EditIcon:()=>UC,EllipsisIcon:()=>YC,EmailIcon:()=>MS,ExpandAltIcon:()=>zk,ExpandIcon:()=>Lk,EyeCloseIcon:()=>ax,EyeIcon:()=>nx,FaceHappyIcon:()=>sA,FaceNeutralIcon:()=>uA,FaceSadIcon:()=>cA,FacebookIcon:()=>mC,FailedIcon:()=>fS,FastForwardIcon:()=>wx,FigmaIcon:()=>gC,FilterIcon:()=>Hx,FlagIcon:()=>lk,FolderIcon:()=>zx,FormIcon:()=>XC,GDriveIcon:()=>vC,GithubIcon:()=>yC,GitlabIcon:()=>bC,GlobeIcon:()=>Gk,GoogleIcon:()=>wC,GraphBarIcon:()=>Ox,GraphLineIcon:()=>Lx,GraphqlIcon:()=>EC,GridAltIcon:()=>XD,GridIcon:()=>YD,GrowIcon:()=>ux,HeartHollowIcon:()=>ZS,HeartIcon:()=>JS,HomeIcon:()=>eA,HourglassIcon:()=>ik,InfoIcon:()=>RS,ItalicIcon:()=>Gx,JumpToIcon:()=>qS,KeyIcon:()=>DS,LightningIcon:()=>ox,LightningOffIcon:()=>Zb,LinkBrokenIcon:()=>NS,LinkIcon:()=>PS,LinkedinIcon:()=>AC,LinuxIcon:()=>oC,ListOrderedIcon:()=>Yx,ListUnorderedIcon:()=>Zx,LocationIcon:()=>Yk,LockIcon:()=>wS,MarkdownIcon:()=>Xx,MarkupIcon:()=>Ux,MediumIcon:()=>DC,MemoryIcon:()=>$C,MenuIcon:()=>qx,MergeIcon:()=>nC,MirrorIcon:()=>sx,MobileIcon:()=>RC,MoonIcon:()=>Fx,NutIcon:()=>GC,OutboxIcon:()=>xS,OutlineIcon:()=>ZD,PaintBrushIcon:()=>cx,PaperClipIcon:()=>Kx,ParagraphIcon:()=>Jx,PassedIcon:()=>dS,PhoneIcon:()=>OS,PhotoDragIcon:()=>JD,PhotoIcon:()=>GD,PinAltIcon:()=>oS,PinIcon:()=>Zk,PlayAllHollowIcon:()=>Cx,PlayBackIcon:()=>vx,PlayHollowIcon:()=>xx,PlayIcon:()=>gx,PlayNextIcon:()=>yx,PlusIcon:()=>rS,PointerDefaultIcon:()=>AS,PointerHandIcon:()=>FS,PowerIcon:()=>qC,PrintIcon:()=>Tx,ProceedIcon:()=>Uk,ProfileIcon:()=>lA,PullRequestIcon:()=>rC,QuestionIcon:()=>BS,RSSIcon:()=>$S,RedirectIcon:()=>Pk,ReduxIcon:()=>xC,RefreshIcon:()=>Wk,ReplyIcon:()=>Hk,RepoIcon:()=>Qx,RequestChangeIcon:()=>vS,RewindIcon:()=>bx,RulerIcon:()=>dx,SaveIcon:()=>IS,SearchIcon:()=>QD,ShareAltIcon:()=>jS,ShareIcon:()=>VS,ShieldIcon:()=>nk,SideBySideIcon:()=>Sx,SidebarAltIcon:()=>TC,SidebarAltToggleIcon:()=>LC,SidebarIcon:()=>zC,SidebarToggleIcon:()=>MC,SpeakerIcon:()=>mx,StackedIcon:()=>kx,StarHollowIcon:()=>XS,StarIcon:()=>QS,StatusFailIcon:()=>dk,StatusPassIcon:()=>fk,StatusWarnIcon:()=>pk,StickerIcon:()=>ck,StopAltHollowIcon:()=>Dx,StopAltIcon:()=>Ex,StopIcon:()=>px,StorybookIcon:()=>uC,StructureIcon:()=>jC,SubtractIcon:()=>sS,SunIcon:()=>Ax,SupportIcon:()=>zS,SwitchAltIcon:()=>lx,SyncIcon:()=>$k,TabletIcon:()=>IC,ThumbsUpIcon:()=>rk,TimeIcon:()=>Jk,TimerIcon:()=>Qk,TransferIcon:()=>Ok,TrashIcon:()=>aS,TwitterIcon:()=>CC,TypeIcon:()=>kS,UbuntuIcon:()=>iC,UndoIcon:()=>Nk,UnfoldIcon:()=>Mk,UnlockIcon:()=>ES,UnpinIcon:()=>iS,UploadIcon:()=>jk,UserAddIcon:()=>oA,UserAltIcon:()=>aA,UserIcon:()=>nA,UsersIcon:()=>iA,VSCodeIcon:()=>kC,VerifiedIcon:()=>tk,VideoIcon:()=>hx,WandIcon:()=>ZC,WatchIcon:()=>BC,WindowsIcon:()=>lC,WrenchIcon:()=>KC,XIcon:()=>FC,YoutubeIcon:()=>SC,ZoomIcon:()=>ex,ZoomOutIcon:()=>tx,ZoomResetIcon:()=>rx,iconList:()=>WD});var WD=[{name:"Images",icons:["PhotoIcon","ComponentIcon","GridIcon","OutlineIcon","PhotoDragIcon","GridAltIcon","SearchIcon","ZoomIcon","ZoomOutIcon","ZoomResetIcon","EyeIcon","EyeCloseIcon","LightningIcon","LightningOffIcon","ContrastIcon","SwitchAltIcon","MirrorIcon","GrowIcon","PaintBrushIcon","RulerIcon","StopIcon","CameraIcon","VideoIcon","SpeakerIcon","PlayIcon","PlayBackIcon","PlayNextIcon","RewindIcon","FastForwardIcon","StopAltIcon","StopAltHollowIcon","PlayHollowIcon","PlayAllHollowIcon","SideBySideIcon","StackedIcon","SunIcon","MoonIcon"]},{name:"Documents",icons:["BookIcon","DocumentIcon","CopyIcon","CategoryIcon","FolderIcon","PrintIcon","GraphLineIcon","CalendarIcon","GraphBarIcon","AlignLeftIcon","AlignRightIcon","FilterIcon","DocChartIcon","DocListIcon","DragIcon","MenuIcon"]},{name:"Editing",icons:["MarkupIcon","BoldIcon","ItalicIcon","PaperClipIcon","ListOrderedIcon","ListUnorderedIcon","ParagraphIcon","MarkdownIcon"]},{name:"Git",icons:["RepoIcon","CommitIcon","BranchIcon","PullRequestIcon","MergeIcon"]},{name:"OS",icons:["AppleIcon","LinuxIcon","UbuntuIcon","WindowsIcon","ChromeIcon"]},{name:"Logos",icons:["StorybookIcon","AzureDevOpsIcon","BitbucketIcon","ChromaticIcon","ComponentDrivenIcon","DiscordIcon","FacebookIcon","FigmaIcon","GDriveIcon","GithubIcon","GitlabIcon","GoogleIcon","GraphqlIcon","MediumIcon","ReduxIcon","TwitterIcon","YoutubeIcon","VSCodeIcon","LinkedinIcon","XIcon"]},{name:"Devices",icons:["BrowserIcon","TabletIcon","MobileIcon","WatchIcon","SidebarIcon","SidebarAltIcon","SidebarAltToggleIcon","SidebarToggleIcon","BottomBarIcon","BottomBarToggleIcon","CPUIcon","DatabaseIcon","MemoryIcon","StructureIcon","BoxIcon","PowerIcon"]},{name:"CRUD",icons:["EditIcon","CogIcon","NutIcon","WrenchIcon","EllipsisIcon","WandIcon","CheckIcon","FormIcon","BatchDenyIcon","BatchAcceptIcon","ControlsIcon","PlusIcon","CloseAltIcon","CrossIcon","TrashIcon","PinAltIcon","UnpinIcon","AddIcon","SubtractIcon","CloseIcon","DeleteIcon","PassedIcon","ChangedIcon","FailedIcon","ClearIcon","CommentIcon","CommentAddIcon","RequestChangeIcon","CommentsIcon","ChatIcon","LockIcon","UnlockIcon","KeyIcon","OutboxIcon","CreditIcon","ButtonIcon","TypeIcon","PointerDefaultIcon","PointerHandIcon","CommandIcon","SaveIcon"]},{name:"Communicate",icons:["InfoIcon","QuestionIcon","SupportIcon","AlertIcon","AlertAltIcon","EmailIcon","PhoneIcon","LinkIcon","LinkBrokenIcon","BellIcon","RSSIcon","ShareAltIcon","ShareIcon","JumpToIcon","CircleHollowIcon","CircleIcon","BookmarkHollowIcon","BookmarkIcon","DiamondIcon","HeartHollowIcon","HeartIcon","StarHollowIcon","StarIcon","CertificateIcon","VerifiedIcon","ThumbsUpIcon","ShieldIcon","BasketIcon","BeakerIcon","HourglassIcon","FlagIcon","CloudHollowIcon","CloudIcon","StickerIcon","StatusFailIcon","StatusWarnIcon","StatusPassIcon"]},{name:"Wayfinding",icons:["ChevronUpIcon","ChevronDownIcon","ChevronLeftIcon","ChevronRightIcon","ChevronSmallUpIcon","ChevronSmallDownIcon","ChevronSmallLeftIcon","ChevronSmallRightIcon","ArrowUpIcon","ArrowDownIcon","ArrowLeftIcon","ArrowRightIcon","ArrowTopLeftIcon","ArrowTopRightIcon","ArrowBottomLeftIcon","ArrowBottomRightIcon","ArrowSolidUpIcon","ArrowSolidDownIcon","ArrowSolidLeftIcon","ArrowSolidRightIcon","ExpandAltIcon","CollapseIcon","ExpandIcon","UnfoldIcon","TransferIcon","RedirectIcon","UndoIcon","ReplyIcon","SyncIcon","UploadIcon","DownloadIcon","BackIcon","ProceedIcon","RefreshIcon","GlobeIcon","CompassIcon","LocationIcon","PinIcon","TimeIcon","DashboardIcon","TimerIcon","HomeIcon","AdminIcon","DirectionIcon"]},{name:"People",icons:["UserIcon","UserAltIcon","UserAddIcon","UsersIcon","ProfileIcon","FaceHappyIcon","FaceNeutralIcon","FaceSadIcon","AccessibilityIcon","AccessibilityAltIcon"]}],GD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.25 4.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 1.504v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5zM2 9.297V2.004h10v5.293L9.854 5.15a.5.5 0 00-.708 0L6.5 7.797 5.354 6.65a.5.5 0 00-.708 0L2 9.297zM9.5 6.21l2.5 2.5v3.293H2V10.71l3-3 3.146 3.146a.5.5 0 00.708-.707L7.207 8.504 9.5 6.21z",fill:e}))),KD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1.004a2.5 2.5 0 00-2.5 2.5v7a2.5 2.5 0 002.5 2.5h7a2.5 2.5 0 002.5-2.5v-7a2.5 2.5 0 00-2.5-2.5h-7zm8.5 5.5H7.5v-4.5h3a1.5 1.5 0 011.5 1.5v3zm0 1v3a1.5 1.5 0 01-1.5 1.5h-3v-4.5H12zm-5.5 4.5v-4.5H2v3a1.5 1.5 0 001.5 1.5h3zM2 6.504h4.5v-4.5h-3a1.5 1.5 0 00-1.5 1.5v3z",fill:e}))),YD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5H6a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H1.5a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5h3.5v3.5H2zM7.5 1.504a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5zM1.5 7.504a.5.5 0 00-.5.5v4.5a.5.5 0 00.5.5H6a.5.5 0 00.5-.5v-4.5a.5.5 0 00-.5-.5H1.5zm.5 1v3.5h3.5v-3.5H2zM7.5 8.004a.5.5 0 01.5-.5h4.5a.5.5 0 01.5.5v4.5a.5.5 0 01-.5.5H8a.5.5 0 01-.5-.5v-4.5zm1 4v-3.5H12v3.5H8.5z",fill:e}))),ZD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 2.004v2H1v-2.5a.5.5 0 01.5-.5H4v1H2zM1 9.004v-4h1v4H1zM1 10.004v2.5a.5.5 0 00.5.5H4v-1H2v-2H1zM10 13.004h2.5a.5.5 0 00.5-.5v-2.5h-1v2h-2v1zM12 4.004h1v-2.5a.5.5 0 00-.5-.5H10v1h2v2zM9 12.004v1H5v-1h4zM9 1.004v1H5v-1h4zM13 9.004h-1v-4h1v4zM7 8.004a1 1 0 100-2 1 1 0 000 2z",fill:e}))),JD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.25 3.254a1.25 1.25 0 11-2.5 0 1.25 1.25 0 012.5 0zm-.5 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7.003v-6.5a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v2.5h1v-2h2v6.5a.5.5 0 00.5.5H10v2H8v1h2.5a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-3.5zm-10-6v5.794L5.646 5.15a.5.5 0 01.708 0L7.5 6.297l2.646-2.647a.5.5 0 01.708 0L13 5.797V1.004H4zm9 6.208l-2.5-2.5-2.293 2.293L9.354 8.15a.5.5 0 11-.708.707L6 6.211l-2 2v1.793h9V7.21z",fill:e}),i.createElement("path",{d:"M0 10.004v-3h1v3H0zM0 13.504v-2.5h1v2h2v1H.5a.5.5 0 01-.5-.5zM7 14.004H4v-1h3v1z",fill:e}))),XD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 3V1h1v2H4zM4 6v2h1V6H4zM4 11v2h1v-2H4zM9 11v2h1v-2H9zM9 8V6h1v2H9zM9 1v2h1V1H9zM13 5h-2V4h2v1zM11 10h2V9h-2v1zM3 10H1V9h2v1zM1 5h2V4H1v1zM8 5H6V4h2v1zM6 10h2V9H6v1zM4 4h1v1H4V4zM10 4H9v1h1V4zM9 9h1v1H9V9zM5 9H4v1h1V9z",fill:e}))),QD=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),ex=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),tx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),rx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),nx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),ax=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),i.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),ox=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.522 6.6a.566.566 0 00-.176.544.534.534 0 00.382.41l2.781.721-1.493 5.013a.563.563 0 00.216.627.496.496 0 00.63-.06l6.637-6.453a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L2.522 6.6zm7.72.63l-3.067-.804L9.02 2.29 3.814 6.803l2.95.764-1.277 4.285 4.754-4.622zM4.51 13.435l.037.011-.037-.011z",fill:e}))),Zb=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.139 8.725l1.36-1.323a.568.568 0 00.151-.54.534.534 0 00-.377-.396l-2.705-.708 2.22-4.976a.568.568 0 00-.15-.666.497.497 0 00-.648.008L5.464 4.05l.708.71 2.848-2.47-1.64 3.677.697.697 2.164.567-.81.787.708.708zM2.523 6.6a.566.566 0 00-.177.544.534.534 0 00.382.41l2.782.721-1.494 5.013a.563.563 0 00.217.627.496.496 0 00.629-.06l3.843-3.736-.708-.707-2.51 2.44 1.137-3.814-.685-.685-2.125-.55.844-.731-.71-.71L2.524 6.6zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z",fill:e}))),ix=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5v-2.5h2.5a.5.5 0 00.5-.5v-10a.5.5 0 00-.5-.5h-10a.5.5 0 00-.5.5v2.5zm1 1v2.293l2.293-2.293H4zm-1 0v6.5a.499.499 0 00.497.5H10v2H1v-9h2zm1-1h6.5a.499.499 0 01.5.5v6.5h2v-9H4v2zm6 7V7.71l-2.293 2.293H10zm0-3.707V4.71l-5.293 5.293h1.586L10 6.297zm-.707-2.293H7.707L4 7.71v1.586l5.293-5.293z",fill:e}))),lx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 3.004v-2.5a.5.5 0 01.5-.5h10a.5.5 0 01.5.5v10a.5.5 0 01-.5.5H11v2.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-10a.5.5 0 01.5-.5H3zm1 0v-2h9v9h-2v-6.5a.5.5 0 00-.5-.5H4zm6 8v2H1v-9h2v6.5a.5.5 0 00.5.5H10zm0-1H4v-6h6v6z",fill:e}))),sx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5h10v-10l-10 10z",fill:e}))),ux=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1.004a.5.5 0 100 1H12v10.5a.5.5 0 001 0v-10.5a1 1 0 00-1-1H1.5z",fill:e}),i.createElement("path",{d:"M1 3.504a.5.5 0 01.5-.5H10a1 1 0 011 1v8.5a.5.5 0 01-1 0v-8.5H1.5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 5.004a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h7a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5h-7zm.5 1v6h6v-6H2z",fill:e}))),cx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.854.146a.5.5 0 00-.708 0L2.983 8.31a2.24 2.24 0 00-1.074.6C.677 10.14.24 11.902.085 12.997 0 13.6 0 14 0 14s.4 0 1.002-.085c1.095-.155 2.857-.592 4.089-1.824a2.24 2.24 0 00.6-1.074l8.163-8.163a.5.5 0 000-.708l-2-2zM5.6 9.692l.942-.942L5.25 7.457l-.942.943A2.242 2.242 0 015.6 9.692zm1.649-1.65L12.793 2.5 11.5 1.207 5.957 6.75 7.25 8.043zM4.384 9.617a1.25 1.25 0 010 1.768c-.767.766-1.832 1.185-2.78 1.403-.17.04-.335.072-.49.098.027-.154.06-.318.099-.49.219-.947.637-2.012 1.403-2.779a1.25 1.25 0 011.768 0z",fill:e}))),dx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1.004a.5.5 0 01.5.5v.5h10v-.5a.5.5 0 011 0v2a.5.5 0 01-1 0v-.5H2v.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 6a.5.5 0 00-.5.5v6a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-6a.5.5 0 00-.5-.5h-11zM2 7v5h10V7h-1v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H7.5v2.5a.5.5 0 01-1 0V7h-.75v1a.5.5 0 01-1 0V7H4v2.5a.5.5 0 01-1 0V7H2z",fill:e}))),px=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 4a.5.5 0 00-.5.5v5a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),fx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7a3 3 0 11-6 0 3 3 0 016 0zM9 7a2 2 0 11-4 0 2 2 0 014 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 1a.5.5 0 00-.5.5v.504H.5a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H6V1.5a.5.5 0 00-.5-.5h-3zM1 3.004v8h12v-8H1z",fill:e}))),hx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),mx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 4.5v5a.5.5 0 00.5.5H4l3.17 2.775a.5.5 0 00.83-.377V1.602a.5.5 0 00-.83-.376L4 4H1.5a.5.5 0 00-.5.5zM4 9V5H2v4h2zm.998.545A.504.504 0 005 9.5v-5c0-.015 0-.03-.002-.044L7 2.704v8.592L4.998 9.545z",fill:e}),i.createElement("path",{d:"M10.15 1.752a.5.5 0 00-.3.954 4.502 4.502 0 010 8.588.5.5 0 00.3.954 5.502 5.502 0 000-10.496z",fill:e}),i.createElement("path",{d:"M10.25 3.969a.5.5 0 00-.5.865 2.499 2.499 0 010 4.332.5.5 0 10.5.866 3.499 3.499 0 000-6.063z",fill:e}))),gx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.813 7.425l-9.05 5.603A.5.5 0 013 12.603V1.398a.5.5 0 01.763-.425l9.05 5.602a.5.5 0 010 .85z",fill:e}))),vx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.24 12.035L3.697 7.427A.494.494 0 013.5 7.2v4.05a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0V6.8a.494.494 0 01.198-.227l7.541-4.608A.5.5 0 0112 2.39v9.217a.5.5 0 01-.76.427z",fill:e}))),yx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.76 12.035l7.542-4.608A.495.495 0 0010.5 7.2v4.05a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0V6.8a.495.495 0 00-.198-.227L2.76 1.965A.5.5 0 002 2.39v9.217a.5.5 0 00.76.427z",fill:e}))),bx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9 2.42v2.315l4.228-2.736a.5.5 0 01.772.42v9.162a.5.5 0 01-.772.42L9 9.263v2.317a.5.5 0 01-.772.42L1.5 7.647v3.603a.75.75 0 01-1.5 0v-8.5a.75.75 0 011.5 0v3.603L8.228 2A.5.5 0 019 2.42z",fill:e}))),wx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.42v2.315L.772 1.999a.5.5 0 00-.772.42v9.162a.5.5 0 00.772.42L5 9.263v2.317a.5.5 0 00.772.42L12.5 7.647v3.603a.75.75 0 001.5 0v-8.5a.75.75 0 00-1.5 0v3.603L5.772 2A.5.5 0 005 2.42z",fill:e}))),Ex=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11z",fill:e}))),Dx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.2 2.204v9.6h9.6v-9.6H2.2zm-.7-1.2a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11z",fill:e}))),xx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.2 10.88L10.668 7 4.2 3.12v7.76zM3 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L4.212 1.727A.8.8 0 003 2.413z",fill:e}))),Cx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.2 10.88L11.668 7 5.2 3.12v7.76zM4 2.414v9.174a.8.8 0 001.212.686l7.645-4.587a.8.8 0 000-1.372L5.212 1.727A.8.8 0 004 2.413zM1.5 1.6a.6.6 0 01.6.6v9.6a.6.6 0 11-1.2 0V2.2a.6.6 0 01.6-.6z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.963 1.932a.6.6 0 01.805-.268l1 .5a.6.6 0 01-.536 1.073l-1-.5a.6.6 0 01-.269-.805zM3.037 11.132a.6.6 0 01-.269.805l-1 .5a.6.6 0 01-.536-1.073l1-.5a.6.6 0 01.805.268z",fill:e}))),Sx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 10.5v-10h5v10H2z",fill:e}))),kx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 1.004a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11zm-10.5 1h10v5H2v-5z",fill:e}))),Ax=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3492)",fill:e},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0V2a.5.5 0 001 0V.5z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 10a3 3 0 100-6 3 3 0 000 6zm0-1a2 2 0 100-4 2 2 0 000 4z"}),i.createElement("path",{d:"M7 11.5a.5.5 0 01.5.5v1.5a.5.5 0 01-1 0V12a.5.5 0 01.5-.5zM11.5 7a.5.5 0 01.5-.5h1.5a.5.5 0 010 1H12a.5.5 0 01-.5-.5zM.5 6.5a.5.5 0 000 1H2a.5.5 0 000-1H.5zM3.818 10.182a.5.5 0 010 .707l-1.06 1.06a.5.5 0 11-.708-.706l1.06-1.06a.5.5 0 01.708 0zM11.95 2.757a.5.5 0 10-.707-.707l-1.061 1.061a.5.5 0 10.707.707l1.06-1.06zM10.182 10.182a.5.5 0 01.707 0l1.06 1.06a.5.5 0 11-.706.708l-1.061-1.06a.5.5 0 010-.708zM2.757 2.05a.5.5 0 10-.707.707l1.06 1.061a.5.5 0 00.708-.707l-1.06-1.06z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3492"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),Fx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3493)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.335.047l-.15-.015a7.499 7.499 0 106.14 10.577c.103-.229-.156-.447-.386-.346a5.393 5.393 0 01-.771.27A5.356 5.356 0 019.153.691C9.37.568 9.352.23 9.106.175a7.545 7.545 0 00-.77-.128zM6.977 1.092a6.427 6.427 0 005.336 10.671A6.427 6.427 0 116.977 1.092z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3493"},i.createElement("path",{fill:"#fff",transform:"scale(1.07124)",d:"M0 0h14.001v14.002H0z"}))))),_x=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13 2a2 2 0 00-2-2H1.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5H11a2 2 0 002-2V2zM3 13h8a1 1 0 001-1V2a1 1 0 00-1-1H7v6.004a.5.5 0 01-.856.352l-.002-.002L5.5 6.71l-.645.647A.5.5 0 014 7.009V1H3v12zM5 1v4.793l.146-.146a.5.5 0 01.743.039l.111.11V1H5z",fill:e}))),Ix=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),Rx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.746.07A.5.5 0 0011.5.003h-6a.5.5 0 00-.5.5v2.5H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h8a.5.5 0 00.5-.5v-2.5h4.5a.5.5 0 00.5-.5v-8a.498.498 0 00-.15-.357L11.857.154a.506.506 0 00-.11-.085zM9 10.003h4v-7h-1.5a.5.5 0 01-.5-.5v-1.5H6v2h.5a.5.5 0 01.357.15L8.85 5.147c.093.09.15.217.15.357v4.5zm-8-6v9h7v-7H6.5a.5.5 0 01-.5-.5v-1.5H1z",fill:e}))),Bx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3 1.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM2 3.504a.5.5 0 01.5-.5h9a.5.5 0 010 1h-9a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 5.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v7a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-7zM2 12V6h10v6H2z",fill:e}))),zx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.586 3.504l-1.5-1.5H1v9h12v-7.5H6.586zm.414-1L5.793 1.297a1 1 0 00-.707-.293H.5a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-8.5a.5.5 0 00-.5-.5H7z",fill:e}))),Tx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 8.004a.5.5 0 100 1h5a.5.5 0 000-1h-5zM4.5 10.004a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2 1.504a.5.5 0 01.5-.5h8a.498.498 0 01.357.15l.993.993c.093.09.15.217.15.357v1.5h1.5a.5.5 0 01.5.5v5a.5.5 0 01-.5.5H12v2.5a.5.5 0 01-.5.5h-9a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 01-.5-.5v-5a.5.5 0 01.5-.5H2v-2.5zm11 7.5h-1v-2.5a.5.5 0 00-.5-.5h-9a.5.5 0 00-.5.5v2.5H1v-4h12v4zm-2-6v1H3v-2h7v.5a.5.5 0 00.5.5h.5zm-8 9h8v-5H3v5z",fill:e}))),Lx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.146 6.15a.5.5 0 01.708 0L7 7.297 9.146 5.15a.5.5 0 01.708 0l1 1a.5.5 0 01-.708.707L9.5 6.211 7.354 8.357a.5.5 0 01-.708 0L5.5 7.211 3.854 8.857a.5.5 0 11-.708-.707l2-2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 1.004a.5.5 0 00-.5.5v11a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-11a.5.5 0 00-.5-.5h-11zm.5 1v10h10v-10H2z",fill:e}))),Mx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0a.5.5 0 01.5.5V1h6V.5a.5.5 0 011 0V1h1.5a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5H3V.5a.5.5 0 01.5-.5zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 4v2.3h3V4H9zM5.5 6.3h3V4h-3v2.3z",fill:e}))),Ox=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12 2.5a.5.5 0 00-1 0v10a.5.5 0 001 0v-10zM9 4.5a.5.5 0 00-1 0v8a.5.5 0 001 0v-8zM5.5 7a.5.5 0 01.5.5v5a.5.5 0 01-1 0v-5a.5.5 0 01.5-.5zM3 10.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2z",fill:e}))),Px=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 2a.5.5 0 010 1H1a.5.5 0 010-1h12zM10 5a.5.5 0 010 1H1a.5.5 0 010-1h9zM11.5 8.5A.5.5 0 0011 8H1a.5.5 0 000 1h10a.5.5 0 00.5-.5zM7.5 11a.5.5 0 010 1H1a.5.5 0 010-1h6.5z",fill:e}))),Nx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM4 5a.5.5 0 000 1h9a.5.5 0 000-1H4zM2.5 8.5A.5.5 0 013 8h10a.5.5 0 010 1H3a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1H13a.5.5 0 000-1H6.5z",fill:e}))),Hx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 2a.5.5 0 000 1h12a.5.5 0 000-1H1zM3 5a.5.5 0 000 1h8a.5.5 0 000-1H3zM4.5 8.5A.5.5 0 015 8h4a.5.5 0 010 1H5a.5.5 0 01-.5-.5zM6.5 11a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}))),$x=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v2.3h3V4H2zm0 5.2V6.8h3v2.4H2zm0 .5V12h3V9.7H2zm3.5 0V12h3V9.7h-3zm3.5 0V12h3V9.7H9zm3-.5H9V6.8h3v2.4zm-3.5 0h-3V6.8h3v2.4zM9 6.3h3V4H9v2.3zm-3.5 0h3V4h-3v2.3z",fill:e}))),jx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5A.5.5 0 014 6h6a.5.5 0 010 1H4a.5.5 0 01-.5-.5zM4 9a.5.5 0 000 1h6a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zM2 4v8h10V4H2z",fill:e}))),Vx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 4a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 9.5A.5.5 0 0013 9H1a.5.5 0 000 1h12a.5.5 0 00.5-.5z",fill:e}))),qx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13 3.5a.5.5 0 010 1H1a.5.5 0 010-1h12zM13.5 10a.5.5 0 00-.5-.5H1a.5.5 0 000 1h12a.5.5 0 00.5-.5zM13 6.5a.5.5 0 010 1H1a.5.5 0 010-1h12z",fill:e}))),Ux=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),Wx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 2v1.5h1v7H3V12h5a3 3 0 001.791-5.407A2.75 2.75 0 008 2.011V2H3zm5 5.5H5.5v3H8a1.5 1.5 0 100-3zm-.25-4H5.5V6h2.25a1.25 1.25 0 100-2.5z",fill:e}))),Gx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2h6v1H8.5l-2 8H9v1H3v-1h2.5l2-8H5V2z",fill:e}))),Kx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.553 2.268a1.5 1.5 0 00-2.12 0L2.774 7.925a2.5 2.5 0 003.536 3.535l3.535-3.535a.5.5 0 11.707.707l-3.535 3.536-.002.002a3.5 3.5 0 01-4.959-4.941l.011-.011L7.725 1.56l.007-.008a2.5 2.5 0 013.53 3.541l-.002.002-5.656 5.657-.003.003a1.5 1.5 0 01-2.119-2.124l3.536-3.536a.5.5 0 11.707.707L4.189 9.34a.5.5 0 00.707.707l5.657-5.657a1.5 1.5 0 000-2.121z",fill:e}))),Yx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.5a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2.5 2H1v1h1v3h1V2.5a.5.5 0 00-.5-.5zM3 8.5v1a.5.5 0 01-1 0V9h-.5a.5.5 0 010-1h1a.5.5 0 01.5.5zM2 10.5a.5.5 0 00-1 0V12h2v-1H2v-.5z",fill:e}))),Zx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.75 2.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0zM5.5 2a.5.5 0 000 1h7a.5.5 0 000-1h-7zM5.5 11a.5.5 0 000 1h7a.5.5 0 000-1h-7zM2 12.25a.75.75 0 100-1.5.75.75 0 000 1.5zM5 7a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7A.5.5 0 015 7zM2 7.75a.75.75 0 100-1.5.75.75 0 000 1.5z",fill:e}))),Jx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 7a3 3 0 110-6h5.5a.5.5 0 010 1H10v10.5a.5.5 0 01-1 0V2H7v10.5a.5.5 0 01-1 0V7z",fill:e}))),Xx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 4.5h1.5L5 6.375 6.5 4.5H8v5H6.5V7L5 8.875 3.5 7v2.5H2v-5zM9.75 4.5h1.5V7h1.25l-2 2.5-2-2.5h1.25V4.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 2a.5.5 0 00-.5.5v9a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5zM1 3v8h12V3H1z",fill:e}))),Qx=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 2.5a.5.5 0 11-1 0 .5.5 0 011 0zM4.5 5a.5.5 0 100-1 .5.5 0 000 1zM5 6.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 0a2 2 0 012 2v10a2 2 0 01-2 2H1.5a.5.5 0 01-.5-.5V.5a.5.5 0 01.5-.5H11zm0 1H3v12h8a1 1 0 001-1V2a1 1 0 00-1-1z",fill:e}))),eC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.031 7.5a4 4 0 007.938 0H13.5a.5.5 0 000-1h-2.53a4 4 0 00-7.94 0H.501a.5.5 0 000 1h2.531zM7 10a3 3 0 100-6 3 3 0 000 6z",fill:e}))),tC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 2.5a1.5 1.5 0 01-1 1.415v4.053C5.554 7.4 6.367 7 7.5 7c.89 0 1.453-.252 1.812-.557.218-.184.374-.4.482-.62a1.5 1.5 0 111.026.143c-.155.423-.425.87-.86 1.24C9.394 7.685 8.59 8 7.5 8c-1.037 0-1.637.42-1.994.917a2.81 2.81 0 00-.472 1.18A1.5 1.5 0 114 10.086v-6.17A1.5 1.5 0 116 2.5zm-2 9a.5.5 0 111 0 .5.5 0 01-1 0zm1-9a.5.5 0 11-1 0 .5.5 0 011 0zm6 2a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),rC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.354 1.354L7.707 2H8.5A2.5 2.5 0 0111 4.5v5.585a1.5 1.5 0 11-1 0V4.5A1.5 1.5 0 008.5 3h-.793l.647.646a.5.5 0 11-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708zM11 11.5a.5.5 0 11-1 0 .5.5 0 011 0zM4 3.915a1.5 1.5 0 10-1 0v6.17a1.5 1.5 0 101 0v-6.17zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zm0-8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),nC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.108 3.872A1.5 1.5 0 103 3.915v6.17a1.5 1.5 0 101 0V6.41c.263.41.573.77.926 1.083 1.108.98 2.579 1.433 4.156 1.5A1.5 1.5 0 109.09 7.99c-1.405-.065-2.62-.468-3.5-1.248-.723-.64-1.262-1.569-1.481-2.871zM3.5 11a.5.5 0 100 1 .5.5 0 000-1zM4 2.5a.5.5 0 11-1 0 .5.5 0 011 0zm7 6a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),aC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.03 8.103a3.044 3.044 0 01-.202-1.744 2.697 2.697 0 011.4-1.935c-.749-1.18-1.967-1.363-2.35-1.403-.835-.086-2.01.56-2.648.57h-.016c-.639-.01-1.814-.656-2.649-.57-.415.044-1.741.319-2.541 1.593-.281.447-.498 1.018-.586 1.744a6.361 6.361 0 00-.044.85c.005.305.028.604.07.895.09.62.259 1.207.477 1.744.242.595.543 1.13.865 1.585.712 1.008 1.517 1.59 1.971 1.6.934.021 1.746-.61 2.416-.594.006.002.014.003.02.002h.017c.007 0 .014 0 .021-.002.67-.017 1.481.615 2.416.595.453-.011 1.26-.593 1.971-1.6a7.95 7.95 0 00.97-1.856c-.697-.217-1.27-.762-1.578-1.474zm-2.168-5.97c.717-.848.69-2.07.624-2.125-.065-.055-1.25.163-1.985.984-.735.82-.69 2.071-.624 2.125.064.055 1.268-.135 1.985-.984z",fill:e}))),oC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a3 3 0 013 3v1.24c.129.132.25.27.362.415.113.111.283.247.515.433l.194.155c.325.261.711.582 1.095.966.765.765 1.545 1.806 1.823 3.186a.501.501 0 01-.338.581 3.395 3.395 0 01-1.338.134 2.886 2.886 0 01-1.049-.304 5.535 5.535 0 01-.17.519 2 2 0 11-2.892 2.55A5.507 5.507 0 017 13c-.439 0-.838-.044-1.201-.125a2 2 0 11-2.892-2.55 5.553 5.553 0 01-.171-.519c-.349.182-.714.27-1.05.304A3.395 3.395 0 01.35 9.977a.497.497 0 01-.338-.582c.278-1.38 1.058-2.42 1.823-3.186.384-.384.77-.705 1.095-.966l.194-.155c.232-.186.402-.322.515-.433.112-.145.233-.283.362-.414V3a3 3 0 013-3zm1.003 11.895a2 2 0 012.141-1.89c.246-.618.356-1.322.356-2.005 0-.514-.101-1.07-.301-1.599l-.027-.017a6.387 6.387 0 00-.857-.42 6.715 6.715 0 00-1.013-.315l-.852.638a.75.75 0 01-.9 0l-.852-.638a6.716 6.716 0 00-1.693.634 4.342 4.342 0 00-.177.101l-.027.017A4.6 4.6 0 003.501 8c0 .683.109 1.387.355 2.005a2 2 0 012.142 1.89c.295.067.627.105 1.002.105s.707-.038 1.003-.105zM5 12a1 1 0 11-2 0 1 1 0 012 0zm6 0a1 1 0 11-2 0 1 1 0 012 0zM6.1 4.3a1.5 1.5 0 011.8 0l.267.2L7 5.375 5.833 4.5l.267-.2zM8.5 2a.5.5 0 01.5.5V3a.5.5 0 01-1 0v-.5a.5.5 0 01.5-.5zM6 2.5a.5.5 0 00-1 0V3a.5.5 0 001 0v-.5z",fill:e}))),iC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3497)",fill:e},i.createElement("path",{d:"M12.261 2.067c0 1.142-.89 2.068-1.988 2.068-1.099 0-1.99-.926-1.99-2.068C8.283.926 9.174 0 10.273 0c1.098 0 1.989.926 1.989 2.067zM3.978 6.6c0 1.142-.89 2.068-1.989 2.068C.891 8.668 0 7.742 0 6.601c0-1.142.89-2.068 1.989-2.068 1.099 0 1.989.926 1.989 2.068zM6.475 11.921A4.761 4.761 0 014.539 11a4.993 4.993 0 01-1.367-1.696 2.765 2.765 0 01-1.701.217 6.725 6.725 0 001.844 2.635 6.379 6.379 0 004.23 1.577 3.033 3.033 0 01-.582-1.728 4.767 4.767 0 01-.488-.083zM11.813 11.933c0 1.141-.89 2.067-1.989 2.067-1.098 0-1.989-.926-1.989-2.067 0-1.142.891-2.068 1.99-2.068 1.098 0 1.989.926 1.989 2.068zM12.592 11.173a6.926 6.926 0 001.402-3.913 6.964 6.964 0 00-1.076-4.023A2.952 2.952 0 0111.8 4.6c.398.78.592 1.656.564 2.539a5.213 5.213 0 01-.724 2.495c.466.396.8.935.952 1.54zM1.987 3.631c-.05 0-.101.002-.151.004C3.073 1.365 5.504.024 8.005.23a3.07 3.07 0 00-.603 1.676 4.707 4.707 0 00-2.206.596 4.919 4.919 0 00-1.7 1.576 2.79 2.79 0 00-1.509-.447z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3497"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.5 1H1v5.5h5.5V1zM13 1H7.5v5.5H13V1zM7.5 7.5H13V13H7.5V7.5zM6.5 7.5H1V13h5.5V7.5z",fill:e}))),sC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3496)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.023 3.431a.115.115 0 01-.099.174H7.296A3.408 3.408 0 003.7 6.148a.115.115 0 01-.21.028l-1.97-3.413a.115.115 0 01.01-.129A6.97 6.97 0 017 0a6.995 6.995 0 016.023 3.431zM7 9.615A2.619 2.619 0 014.384 7 2.62 2.62 0 017 4.383 2.619 2.619 0 019.616 7 2.619 2.619 0 017 9.615zm1.034.71a.115.115 0 00-.121-.041 3.4 3.4 0 01-.913.124 3.426 3.426 0 01-3.091-1.973L1.098 3.567a.115.115 0 00-.2.001 7.004 7.004 0 005.058 10.354l.017.001c.04 0 .078-.021.099-.057l1.971-3.414a.115.115 0 00-.009-.128zm1.43-5.954h3.947c.047 0 .09.028.107.072.32.815.481 1.675.481 2.557a6.957 6.957 0 01-2.024 4.923A6.957 6.957 0 017.08 14h-.001a.115.115 0 01-.1-.172L9.794 8.95A3.384 3.384 0 0010.408 7c0-.921-.364-1.785-1.024-2.433a.115.115 0 01.08-.196z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3496"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),uC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.042.616a.704.704 0 00-.66.729L1.816 12.9c.014.367.306.66.672.677l9.395.422h.032a.704.704 0 00.704-.703V.704c0-.015 0-.03-.002-.044a.704.704 0 00-.746-.659l-.773.049.057 1.615a.105.105 0 01-.17.086l-.52-.41-.617.468a.105.105 0 01-.168-.088L9.746.134 2.042.616zm8.003 4.747c-.247.192-2.092.324-2.092.05.04-1.045-.429-1.091-.689-1.091-.247 0-.662.075-.662.634 0 .57.607.893 1.32 1.27 1.014.538 2.24 1.188 2.24 2.823 0 1.568-1.273 2.433-2.898 2.433-1.676 0-3.141-.678-2.976-3.03.065-.275 2.197-.21 2.197 0-.026.971.195 1.256.753 1.256.43 0 .624-.236.624-.634 0-.602-.633-.958-1.361-1.367-.987-.554-2.148-1.205-2.148-2.7 0-1.494 1.027-2.489 2.86-2.489 1.832 0 2.832.98 2.832 2.845z",fill:e}))),cC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3503)"},i.createElement("path",{d:"M0 5.176l1.31-1.73 4.902-1.994V.014l4.299 3.144-8.78 1.706v4.8L0 9.162V5.176zm14-2.595v8.548l-3.355 2.857-5.425-1.783v1.783L1.73 9.661l8.784 1.047v-7.55L14 2.581z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3503"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),dC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.522a.411.411 0 00-.412.476l1.746 10.597a.56.56 0 00.547.466h8.373a.411.411 0 00.412-.345l1.017-6.248h-3.87L8.35 9.18H5.677l-.724-3.781h7.904L13.412 2A.411.411 0 0013 1.524L1 1.522z",fill:e}))),pC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1014 0A7 7 0 000 7zm5.215-3.869a1.967 1.967 0 013.747.834v1.283l-3.346-1.93a2.486 2.486 0 00-.401-.187zm3.484 2.58l-3.346-1.93a1.968 1.968 0 00-2.685.72 1.954 1.954 0 00.09 2.106 2.45 2.45 0 01.362-.254l1.514-.873a.27.27 0 01.268 0l2.1 1.21 1.697-.978zm-.323 4.972L6.86 9.81a.268.268 0 01-.134-.231V7.155l-1.698-.98v3.86a1.968 1.968 0 003.747.835 2.488 2.488 0 01-.4-.187zm.268-.464a1.967 1.967 0 002.685-.719 1.952 1.952 0 00-.09-2.106c-.112.094-.233.18-.361.253L7.53 9.577l1.113.642zm-4.106.257a1.974 1.974 0 01-1.87-.975A1.95 1.95 0 012.47 8.01c.136-.507.461-.93.916-1.193L4.5 6.175v3.86c0 .148.013.295.039.44zM11.329 4.5a1.973 1.973 0 00-1.87-.976c.025.145.039.292.039.44v1.747a.268.268 0 01-.135.232l-2.1 1.211v1.96l3.346-1.931a1.966 1.966 0 00.72-2.683z",fill:e}))),fC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.847 2.181L8.867.201a.685.685 0 00-.97 0l-4.81 4.81a.685.685 0 000 .969l2.466 2.465-2.405 2.404a.685.685 0 000 .97l1.98 1.98a.685.685 0 00.97 0l4.81-4.81a.685.685 0 000-.969L8.441 5.555l2.405-2.404a.685.685 0 000-.97z",fill:e}))),hC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.852 2.885c-.893-.41-1.85-.712-2.85-.884a.043.043 0 00-.046.021c-.123.22-.26.505-.355.73a10.658 10.658 0 00-3.2 0 7.377 7.377 0 00-.36-.73.045.045 0 00-.046-.021c-1 .172-1.957.474-2.85.884a.04.04 0 00-.019.016C.311 5.612-.186 8.257.058 10.869a.048.048 0 00.018.033 11.608 11.608 0 003.496 1.767.045.045 0 00.049-.016c.27-.368.51-.755.715-1.163a.044.044 0 00-.024-.062 7.661 7.661 0 01-1.092-.52.045.045 0 01-.005-.075c.074-.055.147-.112.217-.17a.043.043 0 01.046-.006c2.29 1.046 4.771 1.046 7.035 0a.043.043 0 01.046.006c.07.057.144.115.218.17a.045.045 0 01-.004.075 7.186 7.186 0 01-1.093.52.045.045 0 00-.024.062c.21.407.45.795.715 1.162.011.016.03.023.05.017a11.57 11.57 0 003.5-1.767.045.045 0 00.019-.032c.292-3.02-.49-5.643-2.07-7.969a.036.036 0 00-.018-.016zM4.678 9.279c-.69 0-1.258-.634-1.258-1.411 0-.778.558-1.411 1.258-1.411.707 0 1.27.639 1.259 1.41 0 .778-.558 1.412-1.259 1.412zm4.652 0c-.69 0-1.258-.634-1.258-1.411 0-.778.557-1.411 1.258-1.411.707 0 1.27.639 1.258 1.41 0 .778-.551 1.412-1.258 1.412z",fill:e}))),mC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.399 14H5.06V7H3.5V4.588l1.56-.001-.002-1.421C5.058 1.197 5.533 0 7.6 0h1.721v2.413H8.246c-.805 0-.844.337-.844.966l-.003 1.208h1.934l-.228 2.412L7.401 7l-.002 7z",fill:e}))),gC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.2 0H4.803A2.603 2.603 0 003.41 4.802a2.603 2.603 0 000 4.396 2.602 2.602 0 103.998 2.199v-2.51a2.603 2.603 0 103.187-4.085A2.604 2.604 0 009.2 0zM7.407 7a1.793 1.793 0 103.586 0 1.793 1.793 0 00-3.586 0zm-.81 2.603H4.803a1.793 1.793 0 101.794 1.794V9.603zM4.803 4.397h1.794V.81H4.803a1.793 1.793 0 000 3.587zm0 .81a1.793 1.793 0 000 3.586h1.794V5.207H4.803zm4.397-.81H7.407V.81H9.2a1.794 1.794 0 010 3.587z",fill:e}))),vC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.37 8.768l-2.042 3.537h6.755l2.042-3.537H6.37zm6.177-1.003l-3.505-6.07H4.96l3.504 6.07h4.084zM4.378 2.7L.875 8.77l2.042 3.536L6.42 6.236 4.378 2.7z",fill:e}))),yC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0C3.132 0 0 3.132 0 7a6.996 6.996 0 004.786 6.641c.35.062.482-.149.482-.332 0-.166-.01-.718-.01-1.304-1.758.324-2.213-.429-2.353-.823-.079-.2-.42-.822-.717-.988-.246-.132-.596-.455-.01-.464.552-.009.946.508 1.077.717.63 1.06 1.636.762 2.039.578.061-.455.245-.761.446-.936-1.558-.175-3.185-.779-3.185-3.457 0-.76.271-1.39.717-1.88-.07-.176-.314-.893.07-1.856 0 0 .587-.183 1.925.718a6.495 6.495 0 011.75-.236c.595 0 1.19.078 1.75.236 1.34-.91 1.926-.718 1.926-.718.385.963.14 1.68.07 1.855.446.49.717 1.111.717 1.881 0 2.687-1.636 3.282-3.194 3.457.254.218.473.638.473 1.295 0 .936-.009 1.688-.009 1.925 0 .184.131.402.481.332A7.012 7.012 0 0014 7c0-3.868-3.133-7-7-7z",fill:e}))),bC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.068 5.583l1.487-4.557a.256.256 0 01.487 0L4.53 5.583H1.068L7 13.15 4.53 5.583h4.941l-2.47 7.565 5.931-7.565H9.471l1.488-4.557a.256.256 0 01.486 0l1.488 4.557.75 2.3a.508.508 0 01-.185.568L7 13.148v.001H7L.503 8.452a.508.508 0 01-.186-.57l.75-2.299z",fill:e}))),wC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.925 1.094H7.262c-1.643 0-3.189 1.244-3.189 2.685 0 1.473 1.12 2.661 2.791 2.661.116 0 .23-.002.34-.01a1.49 1.49 0 00-.186.684c0 .41.22.741.498 1.012-.21 0-.413.006-.635.006-2.034 0-3.6 1.296-3.6 2.64 0 1.323 1.717 2.15 3.75 2.15 2.32 0 3.6-1.315 3.6-2.639 0-1.06-.313-1.696-1.28-2.38-.331-.235-.965-.805-.965-1.14 0-.392.112-.586.703-1.047.606-.474 1.035-1.14 1.035-1.914 0-.92-.41-1.819-1.18-2.115h1.161l.82-.593zm-1.335 8.96c.03.124.045.25.045.378 0 1.07-.688 1.905-2.665 1.905-1.406 0-2.421-.89-2.421-1.96 0-1.047 1.259-1.92 2.665-1.904.328.004.634.057.911.146.764.531 1.311.832 1.465 1.436zM7.34 6.068c-.944-.028-1.841-1.055-2.005-2.295-.162-1.24.47-2.188 1.415-2.16.943.029 1.84 1.023 2.003 2.262.163 1.24-.47 2.222-1.414 2.193z",fill:e}))),EC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.873 11.608a1.167 1.167 0 00-1.707-.027L3.46 10.018l.01-.04h7.072l.022.076-2.69 1.554zM6.166 2.42l.031.03-3.535 6.124a1.265 1.265 0 00-.043-.012V5.438a1.166 1.166 0 00.84-1.456L6.167 2.42zm4.387 1.562a1.165 1.165 0 00.84 1.456v3.124l-.043.012-3.536-6.123a1.2 1.2 0 00.033-.032l2.706 1.563zM3.473 9.42a1.168 1.168 0 00-.327-.568L6.68 2.73a1.17 1.17 0 00.652 0l3.536 6.123a1.169 1.169 0 00-.327.567H3.473zm8.79-.736a1.169 1.169 0 00-.311-.124V5.44a1.17 1.17 0 10-1.122-1.942L8.13 1.938a1.168 1.168 0 00-1.122-1.5 1.17 1.17 0 00-1.121 1.5l-2.702 1.56a1.168 1.168 0 00-1.86.22 1.17 1.17 0 00.739 1.722v3.12a1.168 1.168 0 00-.74 1.721 1.17 1.17 0 001.861.221l2.701 1.56a1.169 1.169 0 102.233-.035l2.687-1.552a1.168 1.168 0 101.457-1.791z",fill:e}))),DC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M0 0v14h14V0H0zm11.63 3.317l-.75.72a.22.22 0 00-.083.212v-.001 5.289a.22.22 0 00.083.21l.733.72v.159H7.925v-.158l.76-.738c.074-.074.074-.096.074-.21V5.244l-2.112 5.364h-.285l-2.46-5.364V8.84a.494.494 0 00.136.413h.001l.988 1.198v.158H2.226v-.158l.988-1.198a.477.477 0 00.126-.416v.003-4.157a.363.363 0 00-.118-.307l-.878-1.058v-.158h2.727l2.107 4.622L9.031 3.16h2.6v.158z",fill:e}))),xC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.06 9.689c.016.49.423.88.912.88h.032a.911.911 0 00.88-.945.916.916 0 00-.912-.88h-.033c-.033 0-.08 0-.113.016-.669-1.108-.946-2.314-.848-3.618.065-.978.391-1.825.961-2.526.473-.603 1.386-.896 2.005-.913 1.728-.032 2.461 2.119 2.51 2.983.212.049.57.163.815.244C10.073 2.29 8.444.92 6.88.92c-1.467 0-2.82 1.06-3.357 2.625-.75 2.086-.261 4.09.651 5.671a.74.74 0 00-.114.473zm8.279-2.298c-1.239-1.45-3.064-2.249-5.15-2.249h-.261a.896.896 0 00-.798-.489h-.033A.912.912 0 006.13 6.48h.031a.919.919 0 00.8-.554h.293c1.239 0 2.412.358 3.472 1.059.814.538 1.401 1.238 1.727 2.086.277.684.261 1.353-.033 1.923-.456.864-1.222 1.337-2.232 1.337a4.16 4.16 0 01-1.597-.343 9.58 9.58 0 01-.734.587c.7.326 1.418.505 2.102.505 1.565 0 2.722-.863 3.162-1.727.473-.946.44-2.575-.782-3.961zm-7.433 5.51a4.005 4.005 0 01-.977.113c-1.206 0-2.298-.505-2.836-1.32C.376 10.603.13 8.289 2.494 6.577c.05.261.147.62.212.832-.31.228-.798.685-1.108 1.303-.44.864-.391 1.729.13 2.527.359.537.93.864 1.663.962.896.114 1.793-.05 2.657-.505 1.271-.669 2.119-1.467 2.672-2.56a.944.944 0 01-.26-.603.913.913 0 01.88-.945h.033a.915.915 0 01.098 1.825c-.897 1.842-2.478 3.08-4.565 3.488z",fill:e}))),CC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 2.547a5.632 5.632 0 01-1.65.464 2.946 2.946 0 001.263-1.63 5.67 5.67 0 01-1.823.715 2.837 2.837 0 00-2.097-.93c-1.586 0-2.872 1.319-2.872 2.946 0 .23.025.456.074.67C4.508 4.66 2.392 3.488.975 1.706c-.247.435-.389.941-.389 1.481 0 1.022.507 1.923 1.278 2.452a2.806 2.806 0 01-1.3-.368l-.001.037c0 1.427.99 2.617 2.303 2.888a2.82 2.82 0 01-1.297.05c.366 1.17 1.427 2.022 2.683 2.045A5.671 5.671 0 010 11.51a7.985 7.985 0 004.403 1.323c5.283 0 8.172-4.488 8.172-8.38 0-.128-.003-.255-.009-.38A5.926 5.926 0 0014 2.546z",fill:e}))),SC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.99 8.172c.005-.281.007-.672.007-1.172 0-.5-.002-.89-.007-1.172a14.952 14.952 0 00-.066-1.066 9.638 9.638 0 00-.169-1.153c-.083-.38-.264-.7-.542-.96a1.667 1.667 0 00-.972-.454C11.084 2.065 9.337 2 6.999 2s-4.085.065-5.241.195a1.65 1.65 0 00-.969.453c-.276.26-.455.58-.539.961a8.648 8.648 0 00-.176 1.153c-.039.43-.061.785-.066 1.066C.002 6.11 0 6.5 0 7c0 .5.002.89.008 1.172.005.281.027.637.066 1.067.04.43.095.813.168 1.152.084.38.265.7.543.96.279.261.603.412.973.453 1.156.13 2.902.196 5.24.196 2.34 0 4.087-.065 5.243-.196a1.65 1.65 0 00.967-.453c.276-.26.456-.58.54-.96.077-.339.136-.722.175-1.152.04-.43.062-.786.067-1.067zM9.762 6.578A.45.45 0 019.997 7a.45.45 0 01-.235.422l-3.998 2.5a.442.442 0 01-.266.078.538.538 0 01-.242-.063.465.465 0 01-.258-.437v-5c0-.197.086-.343.258-.437a.471.471 0 01.508.016l3.998 2.5z",fill:e}))),kC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.243.04a.87.87 0 01.38.087l2.881 1.386a.874.874 0 01.496.79V11.713a.875.875 0 01-.496.775l-2.882 1.386a.872.872 0 01-.994-.17L4.11 8.674l-2.404 1.823a.583.583 0 01-.744-.034l-.771-.7a.583.583 0 010-.862L2.274 7 .19 5.1a.583.583 0 010-.862l.772-.701a.583.583 0 01.744-.033L4.11 5.327 9.628.296a.871.871 0 01.615-.255zm.259 3.784L6.315 7l4.187 3.176V3.824z",fill:e}))),AC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.667 13H2.333A1.333 1.333 0 011 11.667V2.333C1 1.597 1.597 1 2.333 1h9.334C12.403 1 13 1.597 13 2.333v9.334c0 .736-.597 1.333-1.333 1.333zm-2.114-1.667h1.78V7.675c0-1.548-.877-2.296-2.102-2.296-1.226 0-1.742.955-1.742.955v-.778H5.773v5.777h1.716V8.3c0-.812.374-1.296 1.09-1.296.658 0 .974.465.974 1.296v3.033zm-6.886-7.6c0 .589.474 1.066 1.058 1.066.585 0 1.058-.477 1.058-1.066 0-.589-.473-1.066-1.058-1.066-.584 0-1.058.477-1.058 1.066zm1.962 7.6h-1.79V5.556h1.79v5.777z",fill:e}))),FC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.02.446h2.137L8.49 5.816l5.51 7.28H9.67L6.298 8.683l-3.88 4.413H.282l5.004-5.735L0 .446h4.442l3.064 4.048L11.02.446zm-.759 11.357h1.18L3.796 1.655H2.502l7.759 10.148z",fill:e}))),_C=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-8h12v8H1zm1-9.5a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0zm2 0a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}))),IC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5.004a1.5 1.5 0 00-1.5 1.5v11a1.5 1.5 0 001.5 1.5h7a1.5 1.5 0 001.5-1.5v-11a1.5 1.5 0 00-1.5-1.5h-7zm0 1h7a.5.5 0 01.5.5v9.5H3v-9.5a.5.5 0 01.5-.5zm2.5 11a.5.5 0 000 1h2a.5.5 0 000-1H6z",fill:e}))),RC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 1.504a1.5 1.5 0 011.5-1.5h5a1.5 1.5 0 011.5 1.5v11a1.5 1.5 0 01-1.5 1.5h-5a1.5 1.5 0 01-1.5-1.5v-11zm1 10.5v-10h6v10H4z",fill:e}))),BC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4 .504a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zm5.5 2.5h-5a.5.5 0 00-.5.5v7a.5.5 0 00.5.5h5a.5.5 0 00.5-.5v-7a.5.5 0 00-.5-.5zm-5-1a1.5 1.5 0 00-1.5 1.5v7a1.5 1.5 0 001.5 1.5h5a1.5 1.5 0 001.5-1.5v-7a1.5 1.5 0 00-1.5-1.5h-5zm2.5 2a.5.5 0 01.5.5v2h1a.5.5 0 110 1H7a.5.5 0 01-.5-.5v-2.5a.5.5 0 01.5-.5zm-2.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5z",fill:e}))),zC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5zM3 6.004a.5.5 0 100 1h1a.5.5 0 000-1H3zM2.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H3a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h3v10H2zm4-10h6v10H6v-10z",fill:e}))),TC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM10 6.004a.5.5 0 100 1h1a.5.5 0 000-1h-1zM9.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm.5-1v-10h6v10H2zm7-10h3v10H9v-10z",fill:e}))),LC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 4.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5zM11 6.004a.5.5 0 010 1h-1a.5.5 0 010-1h1zM11.5 8.504a.5.5 0 00-.5-.5h-1a.5.5 0 100 1h1a.5.5 0 00.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11zm7.5-1h3v-10H9v10zm-1 0H2v-10h6v4.5H5.207l.65-.65a.5.5 0 10-.707-.708L3.646 6.65a.5.5 0 000 .707l1.497 1.497a.5.5 0 10.707-.708l-.643-.642H8v4.5z",fill:e}))),MC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 4.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5zM2 6.004a.5.5 0 100 1h1a.5.5 0 000-1H2zM1.5 8.504a.5.5 0 01.5-.5h1a.5.5 0 110 1H2a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.5 13.004a.5.5 0 01-.5-.5v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5H.5zm.5-1v-10h3v10H1zm4 0v-4.5h2.793l-.643.642a.5.5 0 10.707.708l1.497-1.497a.5.5 0 000-.707L7.85 5.146a.5.5 0 10-.707.708l.65.65H5v-4.5h6v10H5z",fill:e}))),OC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM6.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM9 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 1.504a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-11zm1 6.5v-6h10v6H2zm10 1v3H2v-3h10z",fill:e}))),PC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1zM6 10.504a.5.5 0 01.5-.5h1a.5.5 0 010 1h-1a.5.5 0 01-.5-.5zM9.5 10.004a.5.5 0 000 1h1a.5.5 0 000-1h-1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 12.504v-11a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v11a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5zm1-.5v-3h10v3H2zm4.5-4H2v-6h10v6H7.5V5.21l.646.646a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0l-1.5 1.5a.5.5 0 10.708.707l.646-.646v2.793z",fill:e}))),NC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 5.504a.5.5 0 01.5-.5h3a.5.5 0 01.5.5v3a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5v-3zm1 2.5v-2h2v2H6z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.004a.5.5 0 01.5.5v1.5h2v-1.5a.5.5 0 011 0v1.5h2.5a.5.5 0 01.5.5v2.5h1.5a.5.5 0 010 1H12v2h1.5a.5.5 0 010 1H12v2.5a.5.5 0 01-.5.5H9v1.5a.5.5 0 01-1 0v-1.5H6v1.5a.5.5 0 01-1 0v-1.5H2.5a.5.5 0 01-.5-.5v-2.5H.5a.5.5 0 010-1H2v-2H.5a.5.5 0 010-1H2v-2.5a.5.5 0 01.5-.5H5v-1.5a.5.5 0 01.5-.5zm5.5 3H3v8h8v-8z",fill:e}))),HC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3c0-1.105-2.239-2-5-2s-5 .895-5 2v8c0 .426.26.752.544.977.29.228.68.413 1.116.558.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.436-.145.825-.33 1.116-.558.285-.225.544-.551.544-.977V3zm-1.03 0a.787.787 0 00-.05-.052c-.13-.123-.373-.28-.756-.434C9.404 2.21 8.286 2 7 2c-1.286 0-2.404.21-3.164.514-.383.153-.625.31-.756.434A.756.756 0 003.03 3a.756.756 0 00.05.052c.13.123.373.28.756.434C4.596 3.79 5.714 4 7 4c1.286 0 2.404-.21 3.164-.514.383-.153.625-.31.756-.434A.787.787 0 0010.97 3zM11 5.75V4.2c-.912.486-2.364.8-4 .8-1.636 0-3.088-.314-4-.8v1.55l.002.008a.147.147 0 00.016.033.618.618 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.62.62 0 00.146-.15.149.149 0 00.015-.033A.03.03 0 0011 5.75zM3 7.013c.2.103.423.193.66.272.878.293 2.059.465 3.34.465 1.281 0 2.462-.172 3.34-.465.237-.079.46-.17.66-.272V8.5l-.002.008a.149.149 0 01-.015.033.62.62 0 01-.146.15c-.165.13-.435.27-.813.395-.751.25-1.82.414-3.024.414s-2.273-.163-3.024-.414c-.378-.126-.648-.265-.813-.395a.618.618 0 01-.145-.15.147.147 0 01-.016-.033A.027.027 0 013 8.5V7.013zm0 2.75V11l.002.008a.147.147 0 00.016.033.617.617 0 00.145.15c.165.13.435.27.813.395.751.25 1.82.414 3.024.414s2.273-.163 3.024-.414c.378-.126.648-.265.813-.395a.619.619 0 00.146-.15.148.148 0 00.015-.033L11 11V9.763c-.2.103-.423.193-.66.272-.878.293-2.059.465-3.34.465-1.281 0-2.462-.172-3.34-.465A4.767 4.767 0 013 9.763z",fill:e}))),$C=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5 3a.5.5 0 00-1 0v3a.5.5 0 001 0V3zM7 2.5a.5.5 0 01.5.5v3a.5.5 0 01-1 0V3a.5.5 0 01.5-.5zM10 4.504a.5.5 0 10-1 0V6a.5.5 0 001 0V4.504z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3.54l-.001-.002a.499.499 0 00-.145-.388l-3-3a.499.499 0 00-.388-.145L8.464.004H2.5a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h9a.5.5 0 00.5-.5V3.54zM3 1.004h5.293L11 3.71v5.293H3v-8zm0 9v3h8v-3H3z",fill:e}))),jC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.164 3.446a1.5 1.5 0 10-2.328 0L1.81 10.032A1.503 1.503 0 000 11.5a1.5 1.5 0 002.915.5h8.17a1.5 1.5 0 101.104-1.968L8.164 3.446zm-1.475.522a1.506 1.506 0 00.622 0l4.025 6.586a1.495 1.495 0 00-.25.446H2.914a1.497 1.497 0 00-.25-.446l4.024-6.586z",fill:e}))),VC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.21.046l6.485 2.994A.5.5 0 0114 3.51v6.977a.495.495 0 01-.23.432.481.481 0 01-.071.038L7.23 13.944a.499.499 0 01-.46 0L.3 10.958a.498.498 0 01-.3-.47V3.511a.497.497 0 01.308-.473L6.78.051a.499.499 0 01.43-.005zM1 4.282v5.898l5.5 2.538V6.82L1 4.282zm6.5 8.436L13 10.18V4.282L7.5 6.82v5.898zM12.307 3.5L7 5.95 1.693 3.5 7 1.05l5.307 2.45z",fill:e}))),qC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6a.5.5 0 001 0v-6z",fill:e}),i.createElement("path",{d:"M4.273 2.808a.5.5 0 00-.546-.837 6 6 0 106.546 0 .5.5 0 00-.546.837 5 5 0 11-5.454 0z",fill:e}))),UC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.854 2.146l-2-2a.5.5 0 00-.708 0l-1.5 1.5-8.995 8.995a.499.499 0 00-.143.268L.012 13.39a.495.495 0 00.135.463.5.5 0 00.462.134l2.482-.496a.495.495 0 00.267-.143l8.995-8.995 1.5-1.5a.5.5 0 000-.708zM12 3.293l.793-.793L11.5 1.207 10.707 2 12 3.293zm-2-.586L1.707 11 3 12.293 11.293 4 10 2.707zM1.137 12.863l.17-.849.679.679-.849.17z",fill:e}))),WC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.586 5.586A2 2 0 018.862 7.73a.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 10-.365-.93 2 2 0 01-2.145-3.277z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M.939 6.527c.127.128.19.297.185.464a.635.635 0 01-.185.465L0 8.395a7.099 7.099 0 001.067 2.572h1.32c.182 0 .345.076.46.197a.635.635 0 01.198.46v1.317A7.097 7.097 0 005.602 14l.94-.94a.634.634 0 01.45-.186H7.021c.163 0 .326.061.45.186l.939.938a7.098 7.098 0 002.547-1.057V11.61c0-.181.075-.344.197-.46a.634.634 0 01.46-.197h1.33c.507-.76.871-1.622 1.056-2.55l-.946-.946a.635.635 0 01-.186-.465.635.635 0 01.186-.464l.943-.944a7.099 7.099 0 00-1.044-2.522h-1.34a.635.635 0 01-.46-.197.635.635 0 01-.196-.46V1.057A7.096 7.096 0 008.413.002l-.942.942a.634.634 0 01-.45.186H6.992a.634.634 0 01-.45-.186L5.598 0a7.097 7.097 0 00-2.553 1.058v1.33c0 .182-.076.345-.197.46a.635.635 0 01-.46.198h-1.33A7.098 7.098 0 00.003 5.591l.936.936zm.707 1.636c.324-.324.482-.752.479-1.172a1.634 1.634 0 00-.48-1.171l-.538-.539c.126-.433.299-.847.513-1.235h.768c.459 0 .873-.19 1.167-.49.3-.295.49-.708.49-1.167v-.77c.39-.215.807-.388 1.243-.515l.547.547c.32.32.742.48 1.157.48l.015-.001h.014c.415 0 .836-.158 1.157-.479l.545-.544c.433.126.846.299 1.234.512v.784c0 .46.19.874.49 1.168.294.3.708.49 1.167.49h.776c.209.382.378.788.502 1.213l-.545.546a1.635 1.635 0 00-.48 1.17c-.003.421.155.849.48 1.173l.549.55c-.126.434-.3.85-.513 1.239h-.77c-.458 0-.872.19-1.166.49-.3.294-.49.708-.49 1.167v.77a6.09 6.09 0 01-1.238.514l-.54-.54a1.636 1.636 0 00-1.158-.48H6.992c-.415 0-.837.159-1.157.48l-.543.543a6.091 6.091 0 01-1.247-.516v-.756c0-.459-.19-.873-.49-1.167-.294-.3-.708-.49-1.167-.49h-.761a6.094 6.094 0 01-.523-1.262l.542-.542z",fill:e}))),GC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.585 8.414a2 2 0 113.277-.683.5.5 0 10.931.365 3 3 0 10-1.697 1.697.5.5 0 00-.365-.93 2 2 0 01-2.146-.449z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.5.289a1 1 0 011 0l5.062 2.922a1 1 0 01.5.866v5.846a1 1 0 01-.5.866L7.5 13.71a1 1 0 01-1 0L1.437 10.79a1 1 0 01-.5-.866V4.077a1 1 0 01.5-.866L6.5.29zm.5.866l5.062 2.922v5.846L7 12.845 1.937 9.923V4.077L7 1.155z",fill:e}))),KC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 1c.441 0 .564.521.252.833l-.806.807a.51.51 0 000 .72l.694.694a.51.51 0 00.72 0l.807-.806c.312-.312.833-.19.833.252a2.5 2.5 0 01-3.414 2.328l-6.879 6.88a1 1 0 01-1.414-1.415l6.88-6.88A2.5 2.5 0 0110.5 1zM2 12.5a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),YC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM13 7a1.5 1.5 0 11-3 0 1.5 1.5 0 013 0zM7 8.5a1.5 1.5 0 100-3 1.5 1.5 0 000 3z",fill:e}))),ZC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.903.112a.107.107 0 01.194 0l.233.505.552.066c.091.01.128.123.06.185l-.408.377.109.546a.107.107 0 01-.158.114L6 1.634l-.485.271a.107.107 0 01-.158-.114l.108-.546-.408-.377a.107.107 0 01.06-.185L5.67.617l.233-.505zM2.194.224a.214.214 0 00-.389 0l-.466 1.01-1.104.131a.214.214 0 00-.12.37l.816.755-.217 1.091a.214.214 0 00.315.23L2 3.266l.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37L2.66 1.234 2.194.224zM12.194 8.224a.214.214 0 00-.389 0l-.466 1.01-1.104.13a.214.214 0 00-.12.371l.816.755-.217 1.091a.214.214 0 00.315.23l.97-.544.971.543c.16.09.35-.05.315-.229l-.216-1.09.816-.756a.214.214 0 00-.12-.37l-1.105-.131-.466-1.01z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.5 12.797l-1.293-1.293 6.758-6.758L9.258 6.04 2.5 12.797zm7.465-7.465l2.828-2.828L11.5 1.211 8.672 4.04l1.293 1.293zM.147 11.857a.5.5 0 010-.707l11-11a.5.5 0 01.706 0l2 2a.5.5 0 010 .708l-11 11a.5.5 0 01-.706 0l-2-2z",fill:e}))),JC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13.854 3.354a.5.5 0 00-.708-.708L5 10.793.854 6.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.708 0l8.5-8.5z",fill:e}))),XC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1V6.393a.5.5 0 00-1 0v5.61H2v-10h7.5a.5.5 0 000-1H2z",fill:e}),i.createElement("path",{d:"M6.354 9.857l7.5-7.5a.5.5 0 00-.708-.707L6 8.797 3.854 6.65a.5.5 0 10-.708.707l2.5 2.5a.5.5 0 00.708 0z",fill:e}))),QC=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM8.854 2.646a.5.5 0 010 .708L5.207 7l3.647 3.646a.5.5 0 01-.708.708L4.5 7.707.854 11.354a.5.5 0 01-.708-.708L3.793 7 .146 3.354a.5.5 0 11.708-.708L4.5 6.293l3.646-3.647a.5.5 0 01.708 0zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),eS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.5 2a.5.5 0 000 1h2a.5.5 0 000-1h-2zM9.3 2.6a.5.5 0 01.1.7l-5.995 7.993a.505.505 0 01-.37.206.5.5 0 01-.395-.152L.146 8.854a.5.5 0 11.708-.708l2.092 2.093L8.6 2.7a.5.5 0 01.7-.1zM11 7a.5.5 0 01.5-.5h2a.5.5 0 010 1h-2A.5.5 0 0111 7zM11.5 11a.5.5 0 000 1h2a.5.5 0 000-1h-2z",fill:e}))),tS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.5 1a.5.5 0 01.5.5V2h1.5a.5.5 0 010 1H11v.5a.5.5 0 01-1 0V3H1.5a.5.5 0 010-1H10v-.5a.5.5 0 01.5-.5zM1.5 11a.5.5 0 000 1H10v.5a.5.5 0 001 0V12h1.5a.5.5 0 000-1H11v-.5a.5.5 0 00-1 0v.5H1.5zM1 7a.5.5 0 01.5-.5H3V6a.5.5 0 011 0v.5h8.5a.5.5 0 010 1H4V8a.5.5 0 01-1 0v-.5H1.5A.5.5 0 011 7z",fill:e}))),rS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v6h-6a.5.5 0 000 1h6v6a.5.5 0 001 0v-6h6a.5.5 0 000-1h-6v-6z",fill:e}))),nS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.03.97A.75.75 0 00.97 2.03L5.94 7 .97 11.97a.75.75 0 101.06 1.06L7 8.06l4.97 4.97a.75.75 0 101.06-1.06L8.06 7l4.97-4.97A.75.75 0 0011.97.97L7 5.94 2.03.97z",fill:e}))),Jb=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708L6.293 7l-5.147 5.146a.5.5 0 00.708.708L7 7.707l5.146 5.147a.5.5 0 00.708-.708L7.707 7l5.147-5.146a.5.5 0 00-.708-.708L7 6.293 1.854 1.146z",fill:e}))),aS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.5 4.5A.5.5 0 016 5v5a.5.5 0 01-1 0V5a.5.5 0 01.5-.5zM9 5a.5.5 0 00-1 0v5a.5.5 0 001 0V5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5.5A.5.5 0 015 0h4a.5.5 0 01.5.5V2h3a.5.5 0 010 1H12v8a2 2 0 01-2 2H4a2 2 0 01-2-2V3h-.5a.5.5 0 010-1h3V.5zM3 3v8a1 1 0 001 1h6a1 1 0 001-1V3H3zm2.5-2h3v1h-3V1z",fill:e}))),oS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3502)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5 5H3.657A4 4 0 00.828 6.17l-.474.475a.5.5 0 000 .707l2.793 2.793-3 3a.5.5 0 00.707.708l3-3 2.792 2.792a.5.5 0 00.708 0l.474-.475A4 4 0 009 10.343V9l2-2a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM11 5.585l-3 3v1.757a3 3 0 01-.879 2.121L7 12.586 1.414 7l.122-.122A3 3 0 013.656 6h1.758l3-3-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3502"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),iS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3501)",fill:e},i.createElement("path",{d:"M13.44 4.44L9.56.56a1.5 1.5 0 00-2.12 0L7 1a1.415 1.415 0 000 2L5.707 4.293 6.414 5l2-2-.707-.707a.414.414 0 010-.586l.44-.44a.5.5 0 01.707 0l3.878 3.88a.5.5 0 010 .706l-.44.44a.414.414 0 01-.585 0L11 5.586l-2 2 .707.707L11 7a1.414 1.414 0 002 0l.44-.44a1.5 1.5 0 000-2.12zM.828 6.171a4 4 0 012.758-1.17l1 .999h-.93a3 3 0 00-2.12.878L1.414 7 7 12.586l.121-.122A3 3 0 008 10.343v-.929l1 1a4 4 0 01-1.172 2.757l-.474.475a.5.5 0 01-.708 0l-2.792-2.792-3 3a.5.5 0 01-.708-.708l3-3L.355 7.353a.5.5 0 010-.707l.474-.475zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3501"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),lS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),sS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),uS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.854 4.146a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),cS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0a6 6 0 01-9.874 4.582l8.456-8.456A5.976 5.976 0 0113 7zM2.418 10.874l8.456-8.456a6 6 0 00-8.456 8.456z",fill:e}))),dS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm3.854-9.354a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),pS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}))),fS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm2.854-9.854a.5.5 0 010 .708L7.707 7l2.147 2.146a.5.5 0 01-.708.708L7 7.707 4.854 9.854a.5.5 0 01-.708-.708L6.293 7 4.146 4.854a.5.5 0 11.708-.708L7 6.293l2.146-2.147a.5.5 0 01.708 0z",fill:e}))),hS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 2h7a2 2 0 012 2v6a2 2 0 01-2 2H5a1.994 1.994 0 01-1.414-.586l-3-3a2 2 0 010-2.828l3-3A1.994 1.994 0 015 2zm1.146 3.146a.5.5 0 01.708 0L8 6.293l1.146-1.147a.5.5 0 11.708.708L8.707 7l1.147 1.146a.5.5 0 01-.708.708L8 7.707 6.854 8.854a.5.5 0 11-.708-.708L7.293 7 6.146 5.854a.5.5 0 010-.708z",fill:e}))),mS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 5.004a.5.5 0 100 1h7a.5.5 0 000-1h-7zM3 8.504a.5.5 0 01.5-.5h7a.5.5 0 010 1h-7a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5 12.004H5.707l-1.853 1.854a.5.5 0 01-.351.146h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5zm-10.5-1v-8h10v8H2z",fill:e}))),gS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 5.004a.5.5 0 10-1 0v1.5H5a.5.5 0 100 1h1.5v1.5a.5.5 0 001 0v-1.5H9a.5.5 0 000-1H7.5v-1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),vS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.854 6.65a.5.5 0 010 .707l-2 2a.5.5 0 11-.708-.707l1.15-1.15-3.796.004a.5.5 0 010-1L8.29 6.5 7.145 5.357a.5.5 0 11.708-.707l2 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.691 13.966a.498.498 0 01-.188.038h-.006a.499.499 0 01-.497-.5v-1.5H1.5a.5.5 0 01-.5-.5v-9a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H5.707l-1.853 1.854a.5.5 0 01-.163.108zM2 3.004v8h10v-8H2z",fill:e}))),yS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.5 7.004a.5.5 0 000-1h-5a.5.5 0 100 1h5zM9 8.504a.5.5 0 01-.5.5h-5a.5.5 0 010-1h5a.5.5 0 01.5.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 11.504v-1.5h1.5a.5.5 0 00.5-.5v-8a.5.5 0 00-.5-.5h-11a.5.5 0 00-.5.5v1.5H.5a.5.5 0 00-.5.5v8a.5.5 0 00.5.5H2v1.5a.499.499 0 00.497.5h.006a.498.498 0 00.35-.146l1.854-1.854H11.5a.5.5 0 00.5-.5zm-9-8.5v-1h10v7h-1v-5.5a.5.5 0 00-.5-.5H3zm-2 8v-7h10v7H1z",fill:e}))),bS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 2a2 2 0 012-2h8a2 2 0 012 2v8a2 2 0 01-2 2H6.986a.444.444 0 01-.124.103l-3.219 1.84A.43.43 0 013 13.569V12a2 2 0 01-2-2V2zm3.42 4.78a.921.921 0 110-1.843.921.921 0 010 1.842zm1.658-.922a.921.921 0 101.843 0 .921.921 0 00-1.843 0zm2.58 0a.921.921 0 101.842 0 .921.921 0 00-1.843 0z",fill:e}))),wS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8 8.004a1 1 0 01-.5.866v1.634a.5.5 0 01-1 0V8.87A1 1 0 118 8.004z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3 4.004a4 4 0 118 0v1h1.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3v-1zm7 1v-1a3 3 0 10-6 0v1h6zm2 1H2v7h10v-7z",fill:e}))),ES=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3614)",fill:e},i.createElement("path",{d:"M6.5 8.87a1 1 0 111 0v1.634a.5.5 0 01-1 0V8.87z"}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 1a3 3 0 00-3 3v1.004h8.5a.5.5 0 01.5.5v8a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5v-8a.5.5 0 01.5-.5H3V4a4 4 0 017.755-1.381.5.5 0 01-.939.345A3.001 3.001 0 007 1zM2 6.004h10v7H2v-7z"})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3614"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),DS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11 4a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.5 8.532V9.5a.5.5 0 01-.5.5H5.5v1.5a.5.5 0 01-.5.5H3.5v1.5a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-2a.5.5 0 01.155-.362l5.11-5.11A4.5 4.5 0 117.5 8.532zM6 4.5a3.5 3.5 0 111.5 2.873c-.29-.203-1-.373-1 .481V9H5a.5.5 0 00-.5.5V11H3a.5.5 0 00-.5.5V13H1v-1.293l5.193-5.193a.552.552 0 00.099-.613A3.473 3.473 0 016 4.5z",fill:e}))),xS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354.15a.5.5 0 00-.708 0l-2 2a.5.5 0 10.708.707L6.5 1.711v6.793a.5.5 0 001 0V1.71l1.146 1.146a.5.5 0 10.708-.707l-2-2z",fill:e}),i.createElement("path",{d:"M2 7.504a.5.5 0 10-1 0v5a.5.5 0 00.5.5h11a.5.5 0 00.5-.5v-5a.5.5 0 00-1 0v4.5H2v-4.5z",fill:e}))),CS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 8.004a.5.5 0 100 1h3a.5.5 0 000-1h-3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 11.504a.5.5 0 00.5.5h13a.5.5 0 00.5-.5v-9a.5.5 0 00-.5-.5H.5a.5.5 0 00-.5.5v9zm1-8.5v1h12v-1H1zm0 8h12v-5H1v5z",fill:e}))),SS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1 3.004a1 1 0 00-1 1v5a1 1 0 001 1h3.5a.5.5 0 100-1H1v-5h12v5h-1a.5.5 0 000 1h1a1 1 0 001-1v-5a1 1 0 00-1-1H1z",fill:e}),i.createElement("path",{d:"M6.45 7.006a.498.498 0 01.31.07L10.225 9.1a.5.5 0 01-.002.873l-1.074.621.75 1.3a.75.75 0 01-1.3.75l-.75-1.3-1.074.62a.497.497 0 01-.663-.135.498.498 0 01-.095-.3L6 7.515a.497.497 0 01.45-.509z",fill:e}))),kS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 1.504a.5.5 0 01.5-.5h5a.5.5 0 110 1h-2v10h2a.5.5 0 010 1h-5a.5.5 0 010-1h2v-10h-2a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{d:"M0 4.504a.5.5 0 01.5-.5h4a.5.5 0 110 1H1v4h3.5a.5.5 0 110 1h-4a.5.5 0 01-.5-.5v-5zM9.5 4.004a.5.5 0 100 1H13v4H9.5a.5.5 0 100 1h4a.5.5 0 00.5-.5v-5a.5.5 0 00-.5-.5h-4z",fill:e}))),AS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.943 12.457a.27.27 0 00.248-.149L7.77 9.151l2.54 2.54a.257.257 0 00.188.073c.082 0 .158-.03.21-.077l.788-.79a.27.27 0 000-.392L8.891 7.9l3.416-1.708a.29.29 0 00.117-.106.222.222 0 00.033-.134.332.332 0 00-.053-.161.174.174 0 00-.092-.072l-.02-.007-10.377-4.15a.274.274 0 00-.355.354l4.15 10.372a.275.275 0 00.233.169zm-.036 1l-.02-.002c-.462-.03-.912-.31-1.106-.796L.632 2.287A1.274 1.274 0 012.286.633l10.358 4.143c.516.182.782.657.81 1.114a1.25 1.25 0 01-.7 1.197L10.58 8.174l1.624 1.624a1.27 1.27 0 010 1.807l-.8.801-.008.007c-.491.46-1.298.48-1.792-.014l-1.56-1.56-.957 1.916a1.27 1.27 0 01-1.142.702h-.037z",fill:e}))),FS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.87 6.008a.505.505 0 00-.003-.028v-.002c-.026-.27-.225-.48-.467-.498a.5.5 0 00-.53.5v1.41c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47V5.17a.6.6 0 00-.002-.05c-.023-.268-.223-.49-.468-.5a.5.5 0 00-.52.5v1.65a.486.486 0 01-.47.47.48.48 0 01-.47-.47V4.62a.602.602 0 00-.002-.05v-.002c-.023-.266-.224-.48-.468-.498a.5.5 0 00-.53.5v2.2c0 .25-.22.47-.47.47a.49.49 0 01-.47-.47V1.8c0-.017 0-.034-.002-.05-.022-.268-.214-.49-.468-.5a.5.5 0 00-.52.5v6.78c0 .25-.22.47-.47.47a.48.48 0 01-.47-.47l.001-.1c.001-.053.002-.104 0-.155a.775.775 0 00-.06-.315.65.65 0 00-.16-.22 29.67 29.67 0 01-.21-.189c-.2-.182-.4-.365-.617-.532l-.003-.003A6.366 6.366 0 003.06 7l-.01-.007c-.433-.331-.621-.243-.69-.193-.26.14-.29.5-.13.74l1.73 2.6v.01h-.016l-.035.023.05-.023s1.21 2.6 3.57 2.6c3.54 0 4.2-1.9 4.31-4.42.039-.591.036-1.189.032-1.783l-.002-.507v-.032zm.969 2.376c-.057 1.285-.254 2.667-1.082 3.72-.88 1.118-2.283 1.646-4.227 1.646-1.574 0-2.714-.87-3.406-1.623a6.958 6.958 0 01-1.046-1.504l-.006-.012-1.674-2.516a1.593 1.593 0 01-.25-1.107 1.44 1.44 0 01.69-1.041c.195-.124.485-.232.856-.186.357.044.681.219.976.446.137.106.272.22.4.331V1.75A1.5 1.5 0 015.63.25c.93.036 1.431.856 1.431 1.55v1.335a1.5 1.5 0 01.53-.063h.017c.512.04.915.326 1.153.71a1.5 1.5 0 01.74-.161c.659.025 1.115.458 1.316.964a1.493 1.493 0 01.644-.103h.017c.856.067 1.393.814 1.393 1.558l.002.48c.004.596.007 1.237-.033 1.864z",fill:e}))),_S=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 6A2.5 2.5 0 116 3.5V5h2V3.5A2.5 2.5 0 1110.5 6H9v2h1.5A2.5 2.5 0 118 10.5V9H6v1.5A2.5 2.5 0 113.5 8H5V6H3.5zM2 3.5a1.5 1.5 0 113 0V5H3.5A1.5 1.5 0 012 3.5zM6 6v2h2V6H6zm3-1h1.5A1.5 1.5 0 109 3.5V5zM3.5 9H5v1.5A1.5 1.5 0 113.5 9zM9 9v1.5A1.5 1.5 0 1010.5 9H9z",fill:e}))),IS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.083 12.25H2.917a1.167 1.167 0 01-1.167-1.167V2.917A1.167 1.167 0 012.917 1.75h6.416l2.917 2.917v6.416a1.167 1.167 0 01-1.167 1.167z",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M9.917 12.25V7.583H4.083v4.667M4.083 1.75v2.917H8.75",stroke:e,strokeLinecap:"round",strokeLinejoin:"round"}))),RS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),BS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.25 5.25A1.75 1.75 0 117 7a.5.5 0 00-.5.5V9a.5.5 0 001 0V7.955A2.75 2.75 0 104.25 5.25a.5.5 0 001 0zM7 11.5A.75.75 0 107 10a.75.75 0 000 1.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),zS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-3.524 4.89A5.972 5.972 0 017 13a5.972 5.972 0 01-3.477-1.11l1.445-1.444C5.564 10.798 6.258 11 7 11s1.436-.202 2.032-.554l1.444 1.445zm-.03-2.858l1.445 1.444A5.972 5.972 0 0013 7c0-1.296-.41-2.496-1.11-3.477l-1.444 1.445C10.798 5.564 11 6.258 11 7s-.202 1.436-.554 2.032zM9.032 3.554l1.444-1.445A5.972 5.972 0 007 1c-1.296 0-2.496.41-3.477 1.11l1.445 1.444A3.981 3.981 0 017 3c.742 0 1.436.202 2.032.554zM3.554 4.968L2.109 3.523A5.973 5.973 0 001 7c0 1.296.41 2.496 1.11 3.476l1.444-1.444A3.981 3.981 0 013 7c0-.742.202-1.436.554-2.032zM10 7a3 3 0 11-6 0 3 3 0 016 0z",fill:e}))),TS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 4.5a.5.5 0 01.5.5v3.5a.5.5 0 11-1 0V5a.5.5 0 01.5-.5zM7.75 10.5a.75.75 0 11-1.5 0 .75.75 0 011.5 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 1.045a.498.498 0 01.23.209l6.494 10.992a.5.5 0 01-.438.754H.508a.497.497 0 01-.506-.452.498.498 0 01.072-.31l6.49-10.984a.497.497 0 01.642-.21zM7 2.483L1.376 12h11.248L7 2.483z",fill:e}))),LS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM6.5 8a.5.5 0 001 0V4a.5.5 0 00-1 0v4zm-.25 2.25a.75.75 0 111.5 0 .75.75 0 01-1.5 0z",fill:e}))),MS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 2.504a.5.5 0 01.5-.5h13a.5.5 0 01.5.5v9a.5.5 0 01-.5.5H.5a.5.5 0 01-.5-.5v-9zm1 1.012v7.488h12V3.519L7.313 7.894a.496.496 0 01-.526.062.497.497 0 01-.1-.062L1 3.516zm11.03-.512H1.974L7 6.874l5.03-3.87z",fill:e}))),OS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.76 8.134l-.05.05a.2.2 0 01-.28.03 6.76 6.76 0 01-1.63-1.65.21.21 0 01.04-.27l.05-.05c.23-.2.54-.47.71-.96.17-.47-.02-1.04-.66-1.94-.26-.38-.72-.96-1.22-1.46-.68-.69-1.2-1-1.65-1a.98.98 0 00-.51.13A3.23 3.23 0 00.9 3.424c-.13 1.1.26 2.37 1.17 3.78a16.679 16.679 0 004.55 4.6 6.57 6.57 0 003.53 1.32 3.2 3.2 0 002.85-1.66c.14-.24.24-.64-.07-1.18a7.803 7.803 0 00-1.73-1.81c-.64-.5-1.52-1.11-2.13-1.11a.97.97 0 00-.34.06c-.472.164-.74.458-.947.685l-.023.025zm4.32 2.678a6.801 6.801 0 00-1.482-1.54l-.007-.005-.006-.005a8.418 8.418 0 00-.957-.662 2.7 2.7 0 00-.4-.193.683.683 0 00-.157-.043l-.004.002-.009.003c-.224.078-.343.202-.56.44l-.014.016-.046.045a1.2 1.2 0 01-1.602.149A7.76 7.76 0 014.98 7.134l-.013-.019-.013-.02a1.21 1.21 0 01.195-1.522l.06-.06.026-.024c.219-.19.345-.312.422-.533l.003-.01v-.008a.518.518 0 00-.032-.142c-.06-.178-.203-.453-.502-.872l-.005-.008-.005-.007A10.18 10.18 0 004.013 2.59l-.005-.005c-.31-.314-.543-.5-.716-.605-.147-.088-.214-.096-.222-.097h-.016l-.006.003-.01.006a2.23 2.23 0 00-1.145 1.656c-.09.776.175 1.806 1.014 3.108a15.68 15.68 0 004.274 4.32l.022.014.022.016a5.57 5.57 0 002.964 1.117 2.2 2.2 0 001.935-1.141l.006-.012.004-.007a.182.182 0 00-.007-.038.574.574 0 00-.047-.114z",fill:e}))),PS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),i.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),NS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.452 7.952l1.305-1.305.708.707-1.306 1.305a2.25 2.25 0 103.182 3.182l1.306-1.305.707.707-1.306 1.305a3.25 3.25 0 01-4.596-4.596zM12.548 6.048l-1.305 1.306-.707-.708 1.305-1.305a2.25 2.25 0 10-3.182-3.182L7.354 3.464l-.708-.707 1.306-1.305a3.25 3.25 0 014.596 4.596zM1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.707-.707l-11-11z",fill:e}))),HS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.994 1.11a1 1 0 10-1.988 0A4.502 4.502 0 002.5 5.5v3.882l-.943 1.885a.497.497 0 00-.053.295.5.5 0 00.506.438h3.575a1.5 1.5 0 102.83 0h3.575a.5.5 0 00.453-.733L11.5 9.382V5.5a4.502 4.502 0 00-3.506-4.39zM2.81 11h8.382l-.5-1H3.31l-.5 1zM10.5 9V5.5a3.5 3.5 0 10-7 0V9h7zm-4 3.5a.5.5 0 111 0 .5.5 0 01-1 0z",fill:e}))),$S=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5.5A.5.5 0 012 0c6.627 0 12 5.373 12 12a.5.5 0 01-1 0C13 5.925 8.075 1 2 1a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{d:"M1.5 4.5A.5.5 0 012 4a8 8 0 018 8 .5.5 0 01-1 0 7 7 0 00-7-7 .5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 11a2 2 0 11-4 0 2 2 0 014 0zm-1 0a1 1 0 11-2 0 1 1 0 012 0z",fill:e}))),jS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z",fill:e}),i.createElement("path",{d:"M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z",fill:e}))),VS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.646.15a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.707L7.5 1.711v6.793a.5.5 0 01-1 0V1.71L5.354 2.857a.5.5 0 11-.708-.707l2-2z",fill:e}),i.createElement("path",{d:"M2 4.004a1 1 0 00-1 1v7a1 1 0 001 1h10a1 1 0 001-1v-7a1 1 0 00-1-1H9.5a.5.5 0 100 1H12v7H2v-7h2.5a.5.5 0 000-1H2z",fill:e}))),qS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M13.854 6.646a.5.5 0 010 .708l-2 2a.5.5 0 01-.708-.708L12.293 7.5H5.5a.5.5 0 010-1h6.793l-1.147-1.146a.5.5 0 01.708-.708l2 2z",fill:e}),i.createElement("path",{d:"M10 2a1 1 0 00-1-1H2a1 1 0 00-1 1v10a1 1 0 001 1h7a1 1 0 001-1V9.5a.5.5 0 00-1 0V12H2V2h7v2.5a.5.5 0 001 0V2z",fill:e}))),US=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 13A6 6 0 107 1a6 6 0 000 12zm0 1A7 7 0 107 0a7 7 0 000 14z",fill:e}))),WS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M14 7A7 7 0 110 7a7 7 0 0114 0z",fill:e}))),GS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5zM4 12.413l2.664-2.284a.454.454 0 01.377-.128.498.498 0 01.284.12L10 12.412V1H4v11.413z",fill:e}))),KS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 0h7a.5.5 0 01.5.5v13a.5.5 0 01-.454.498.462.462 0 01-.371-.118L7 11.159l-3.175 2.72a.46.46 0 01-.379.118A.5.5 0 013 13.5V.5a.5.5 0 01.5-.5z",fill:e}))),YS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1449_588)"},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.414 1.586a2 2 0 00-2.828 0l-4 4a2 2 0 000 2.828l4 4a2 2 0 002.828 0l4-4a2 2 0 000-2.828l-4-4zm.707-.707a3 3 0 00-4.242 0l-4 4a3 3 0 000 4.242l4 4a3 3 0 004.242 0l4-4a3 3 0 000-4.242l-4-4z",fill:e})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1449_588"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),ZS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584zM1.2 3.526c.128-.333.304-.598.52-.806.218-.212.497-.389.849-.522m-1.37 1.328A3.324 3.324 0 001 4.708c0 .225.032.452.101.686.082.265.183.513.307.737.135.246.294.484.479.716.188.237.386.454.59.652l.001.002 4.514 4.355 4.519-4.344c.2-.193.398-.41.585-.648l.003-.003c.184-.23.345-.472.486-.726l.004-.007c.131-.23.232-.474.31-.732v-.002c.068-.224.101-.45.101-.686 0-.457-.07-.849-.195-1.185a2.177 2.177 0 00-.515-.802l.007-.012-.008.009a2.383 2.383 0 00-.85-.518l-.003-.001C11.1 2.072 10.692 2 10.203 2c-.21 0-.406.03-.597.09h-.001c-.22.07-.443.167-.663.289l-.007.003c-.22.12-.434.262-.647.426-.226.174-.42.341-.588.505l-.684.672-.7-.656a9.967 9.967 0 00-.615-.527 4.82 4.82 0 00-.635-.422l-.01-.005a3.289 3.289 0 00-.656-.281l-.008-.003A2.014 2.014 0 003.785 2c-.481 0-.881.071-1.217.198",fill:e}))),JS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.814 1.846c.06.05.116.101.171.154l.001.002a3.254 3.254 0 01.755 1.168c.171.461.259.974.259 1.538 0 .332-.046.656-.143.976a4.546 4.546 0 01-.397.937c-.169.302-.36.589-.58.864a7.627 7.627 0 01-.674.746l-4.78 4.596a.585.585 0 01-.427.173.669.669 0 01-.44-.173L1.78 8.217a7.838 7.838 0 01-.677-.748 6.124 6.124 0 01-.572-.855 4.975 4.975 0 01-.388-.931A3.432 3.432 0 010 4.708C0 4.144.09 3.63.265 3.17c.176-.459.429-.85.757-1.168a3.432 3.432 0 011.193-.74c.467-.176.99-.262 1.57-.262.304 0 .608.044.907.137.301.092.586.215.855.367.27.148.526.321.771.512.244.193.471.386.682.584.202-.198.427-.391.678-.584.248-.19.507-.364.78-.512a4.65 4.65 0 01.845-.367c.294-.093.594-.137.9-.137.585 0 1.115.086 1.585.262.392.146.734.34 1.026.584z",fill:e}))),XS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.319.783a.75.75 0 011.362 0l1.63 3.535 3.867.458a.75.75 0 01.42 1.296L10.74 8.715l.76 3.819a.75.75 0 01-1.103.8L7 11.434l-3.398 1.902a.75.75 0 01-1.101-.801l.758-3.819L.401 6.072a.75.75 0 01.42-1.296l3.867-.458L6.318.783zm.68.91l-1.461 3.17a.75.75 0 01-.593.431l-3.467.412 2.563 2.37a.75.75 0 01.226.697l-.68 3.424 3.046-1.705a.75.75 0 01.733 0l3.047 1.705-.68-3.424a.75.75 0 01.226-.697l2.563-2.37-3.467-.412a.75.75 0 01-.593-.43L7 1.694z",fill:e}))),QS=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.68.783a.75.75 0 00-1.361 0l-1.63 3.535-3.867.458A.75.75 0 00.4 6.072l2.858 2.643-.758 3.819a.75.75 0 001.101.8L7 11.434l3.397 1.902a.75.75 0 001.102-.801l-.759-3.819L13.6 6.072a.75.75 0 00-.421-1.296l-3.866-.458L7.68.783z",fill:e}))),ek=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7.854a4.5 4.5 0 10-6 0V13a.5.5 0 00.497.5h.006c.127 0 .254-.05.35-.146L7 11.207l2.146 2.147A.5.5 0 0010 13V7.854zM7 8a3.5 3.5 0 100-7 3.5 3.5 0 000 7zm-.354 2.146a.5.5 0 01.708 0L9 11.793v-3.26C8.398 8.831 7.718 9 7 9a4.481 4.481 0 01-2-.468v3.26l1.646-1.646z",fill:e}))),tk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.565 13.123a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97c.25.473.83.661 1.31.426l.987-.482zm4.289-8.477a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708 0l-2.5-2.5a.5.5 0 11.708-.708L6 8.793l4.146-4.147a.5.5 0 01.708 0z",fill:e}))),rk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 12.02c-.4.37-.91.56-1.56.56h-.88a5.493 5.493 0 01-1.3-.16c-.42-.1-.91-.25-1.47-.45a5.056 5.056 0 00-.95-.27H2.88a.84.84 0 01-.62-.26.84.84 0 01-.26-.61V6.45c0-.24.09-.45.26-.62a.84.84 0 01.62-.25h1.87c.16-.11.47-.47.93-1.06.27-.35.51-.64.74-.88.1-.11.19-.3.24-.58.05-.28.12-.57.2-.87.1-.3.24-.55.43-.74a.87.87 0 01.62-.25c.38 0 .72.07 1.03.22.3.15.54.38.7.7.15.31.23.73.23 1.27a3 3 0 01-.32 1.31h1.2c.47 0 .88.17 1.23.52s.52.8.52 1.22c0 .29-.04.66-.34 1.12.05.15.07.3.07.47 0 .35-.09.68-.26.98a2.05 2.05 0 01-.4 1.51 1.9 1.9 0 01-.57 1.5zm.473-5.33a.965.965 0 00.027-.25.742.742 0 00-.227-.513.683.683 0 00-.523-.227H7.927l.73-1.45a2 2 0 00.213-.867c0-.444-.068-.695-.127-.822a.53.53 0 00-.245-.244 1.296 1.296 0 00-.539-.116.989.989 0 00-.141.28 9.544 9.544 0 00-.174.755c-.069.387-.213.779-.484 1.077l-.009.01-.009.01c-.195.202-.41.46-.67.798l-.003.004c-.235.3-.44.555-.613.753-.151.173-.343.381-.54.516l-.255.176H5v4.133l.018.003c.384.07.76.176 1.122.318.532.189.98.325 1.352.413l.007.002a4.5 4.5 0 001.063.131h.878c.429 0 .683-.115.871-.285a.9.9 0 00.262-.702l-.028-.377.229-.3a1.05 1.05 0 00.205-.774l-.044-.333.165-.292a.969.969 0 00.13-.487.457.457 0 00-.019-.154l-.152-.458.263-.404a1.08 1.08 0 00.152-.325zM3.5 10.8a.5.5 0 100-1 .5.5 0 000 1z",fill:e}))),nk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.765 2.076A.5.5 0 0112 2.5v6.009a.497.497 0 01-.17.366L7.337 12.87a.497.497 0 01-.674 0L2.17 8.875l-.009-.007a.498.498 0 01-.16-.358L2 8.5v-6a.5.5 0 01.235-.424l.018-.011c.016-.01.037-.024.065-.04.056-.032.136-.077.24-.128a6.97 6.97 0 01.909-.371C4.265 1.26 5.443 1 7 1s2.735.26 3.533.526c.399.133.702.267.91.37a4.263 4.263 0 01.304.169l.018.01zM3 2.793v5.482l1.068.95 6.588-6.588a6.752 6.752 0 00-.44-.163C9.517 2.24 8.444 2 7 2c-1.443 0-2.515.24-3.217.474-.351.117-.61.233-.778.317L3 2.793zm4 9.038l-2.183-1.94L11 3.706v4.568l-4 3.556z",fill:e}))),ak=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.354 2.854a.5.5 0 10-.708-.708l-3 3a.5.5 0 10.708.708l3-3z",fill:e}),i.createElement("path",{d:"M2.09 6H4.5a.5.5 0 000-1H1.795a.75.75 0 00-.74.873l.813 4.874A1.5 1.5 0 003.348 12h7.305a1.5 1.5 0 001.48-1.253l.812-4.874a.75.75 0 00-.74-.873H10a.5.5 0 000 1h1.91l-.764 4.582a.5.5 0 01-.493.418H3.347a.5.5 0 01-.493-.418L2.09 6z",fill:e}),i.createElement("path",{d:"M4.5 7a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 7.5a.5.5 0 00-1 0v2a.5.5 0 001 0v-2zM6.5 9.5v-2a.5.5 0 011 0v2a.5.5 0 01-1 0z",fill:e}))),ok=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.5 2h.75v3.866l-3.034 5.26A1.25 1.25 0 003.299 13H10.7a1.25 1.25 0 001.083-1.875L8.75 5.866V2h.75a.5.5 0 100-1h-5a.5.5 0 000 1zm1.75 4V2h1.5v4.134l.067.116L8.827 8H5.173l1.01-1.75.067-.116V6zM4.597 9l-1.515 2.625A.25.25 0 003.3 12H10.7a.25.25 0 00.217-.375L9.404 9H4.597z",fill:e}))),ik=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 10.5a.5.5 0 11-1 0 .5.5 0 011 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.5 1a.5.5 0 00-.5.5c0 1.063.137 1.892.678 2.974.346.692.858 1.489 1.598 2.526-.89 1.247-1.455 2.152-1.798 2.956-.377.886-.477 1.631-.478 2.537v.007a.5.5 0 00.5.5h7c.017 0 .034 0 .051-.003A.5.5 0 0011 12.5v-.007c0-.906-.1-1.65-.478-2.537-.343-.804-.909-1.709-1.798-2.956.74-1.037 1.252-1.834 1.598-2.526C10.863 3.392 11 2.563 11 1.5a.5.5 0 00-.5-.5h-7zm6.487 11a4.675 4.675 0 00-.385-1.652c-.277-.648-.735-1.407-1.499-2.494-.216.294-.448.606-.696.937a.497.497 0 01-.195.162.5.5 0 01-.619-.162c-.248-.331-.48-.643-.696-.937-.764 1.087-1.222 1.846-1.499 2.494A4.675 4.675 0 004.013 12h5.974zM6.304 6.716c.212.293.443.609.696.948a90.058 90.058 0 00.709-.965c.48-.664.86-1.218 1.163-1.699H5.128a32.672 32.672 0 001.176 1.716zM4.559 4h4.882c.364-.735.505-1.312.546-2H4.013c.04.688.182 1.265.546 2z",fill:e}))),lk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11.5 1h-9a.5.5 0 00-.5.5v11a.5.5 0 001 0V8h8.5a.5.5 0 00.354-.854L9.207 4.5l2.647-2.646A.499.499 0 0011.5 1zM8.146 4.146L10.293 2H3v5h7.293L8.146 4.854a.5.5 0 010-.708z",fill:e}))),sk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10 7V6a3 3 0 00-5.91-.736l-.17.676-.692.075A2.5 2.5 0 003.5 11h3c.063 0 .125-.002.187-.007l.076-.005.076.006c.053.004.106.006.161.006h4a2 2 0 100-4h-1zM3.12 5.02A3.5 3.5 0 003.5 12h3c.087 0 .174-.003.26-.01.079.007.16.01.24.01h4a3 3 0 100-6 4 4 0 00-7.88-.98z",fill:e}))),uk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 2a4 4 0 014 4 3 3 0 110 6H7c-.08 0-.161-.003-.24-.01-.086.007-.173.01-.26.01h-3a3.5 3.5 0 01-.38-6.98A4.002 4.002 0 017 2z",fill:e}))),ck=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 7a4 4 0 11-8 0 4 4 0 018 0zm-1 0a3 3 0 11-6 0 3 3 0 016 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.268 13.18c.25.472.83.66 1.31.425l.987-.482a.991.991 0 01.87 0l.987.482a.991.991 0 001.31-.426l.515-.97a.991.991 0 01.704-.511l1.082-.19a.99.99 0 00.81-1.115l-.154-1.087a.991.991 0 01.269-.828l.763-.789a.991.991 0 000-1.378l-.763-.79a.991.991 0 01-.27-.827l.155-1.087a.99.99 0 00-.81-1.115l-1.082-.19a.991.991 0 01-.704-.511L9.732.82a.99.99 0 00-1.31-.426l-.987.482a.991.991 0 01-.87 0L5.578.395a.99.99 0 00-1.31.426l-.515.97a.99.99 0 01-.704.511l-1.082.19a.99.99 0 00-.81 1.115l.154 1.087a.99.99 0 01-.269.828L.28 6.31a.99.99 0 000 1.378l.763.79a.99.99 0 01.27.827l-.155 1.087a.99.99 0 00.81 1.115l1.082.19a.99.99 0 01.704.511l.515.97zm5.096-1.44l-.511.963-.979-.478a1.99 1.99 0 00-1.748 0l-.979.478-.51-.962a1.991 1.991 0 00-1.415-1.028l-1.073-.188.152-1.079a1.991 1.991 0 00-.54-1.663L1.004 7l.757-.783a1.991 1.991 0 00.54-1.663L2.15 3.475l1.073-.188A1.991 1.991 0 004.636 2.26l.511-.962.979.478a1.99 1.99 0 001.748 0l.979-.478.51.962c.288.543.81.922 1.415 1.028l1.073.188-.152 1.079a1.99 1.99 0 00.54 1.663l.757.783-.757.783a1.99 1.99 0 00-.54 1.663l.152 1.079-1.073.188a1.991 1.991 0 00-1.414 1.028z",fill:e}))),dk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 4a3 3 0 100 6 3 3 0 000-6zM3 7a4 4 0 118 0 4 4 0 01-8 0z",fill:e}))),pk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.206 3.044a.498.498 0 01.23.212l3.492 5.985a.494.494 0 01.006.507.497.497 0 01-.443.252H3.51a.499.499 0 01-.437-.76l3.492-5.984a.497.497 0 01.642-.212zM7 4.492L4.37 9h5.26L7 4.492z",fill:e}))),fk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.854 4.146a.5.5 0 010 .708l-5 5a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708L5.5 8.793l4.646-4.647a.5.5 0 01.708 0z",fill:e}))),hk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354 3.896l5.5 5.5a.5.5 0 01-.708.708L7 4.957l-5.146 5.147a.5.5 0 01-.708-.708l5.5-5.5a.5.5 0 01.708 0z",fill:e}))),mk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),gk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.76 7.096a.498.498 0 00.136.258l5.5 5.5a.5.5 0 00.707-.708L3.958 7l5.147-5.146a.5.5 0 10-.708-.708l-5.5 5.5a.5.5 0 00-.137.45z",fill:e}))),Xb=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),vk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),yk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),bk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.104 10.146a.5.5 0 01-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 11.708.708L5.957 7l3.147 3.146z",fill:e}))),wk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.896 10.146a.5.5 0 00.708.708l3.5-3.5a.5.5 0 000-.708l-3.5-3.5a.5.5 0 10-.708.708L8.043 7l-3.147 3.146z",fill:e}))),Ek=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.854 4.646l-4.5-4.5a.5.5 0 00-.708 0l-4.5 4.5a.5.5 0 10.708.708L6.5 1.707V13.5a.5.5 0 001 0V1.707l3.646 3.647a.5.5 0 00.708-.708z",fill:e}))),Dk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5.5a.5.5 0 00-1 0v11.793L2.854 8.646a.5.5 0 10-.708.708l4.5 4.5a.5.5 0 00.351.146h.006c.127 0 .254-.05.35-.146l4.5-4.5a.5.5 0 00-.707-.708L7.5 12.293V.5z",fill:e}))),xk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.354 2.146a.5.5 0 010 .708L1.707 6.5H13.5a.5.5 0 010 1H1.707l3.647 3.646a.5.5 0 01-.708.708l-4.5-4.5a.5.5 0 010-.708l4.5-4.5a.5.5 0 01.708 0z",fill:e}))),Ck=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.646 2.146a.5.5 0 01.708 0l4.5 4.5a.5.5 0 010 .708l-4.5 4.5a.5.5 0 01-.708-.708L12.293 7.5H.5a.5.5 0 010-1h11.793L8.646 2.854a.5.5 0 010-.708z",fill:e}))),Sk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.904 8.768V2.404a.5.5 0 01.5-.5h6.364a.5.5 0 110 1H3.61l8.339 8.339a.5.5 0 01-.707.707l-8.34-8.34v5.158a.5.5 0 01-1 0z",fill:e}))),kk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.096 8.768V2.404a.5.5 0 00-.5-.5H5.232a.5.5 0 100 1h5.157L2.05 11.243a.5.5 0 10.707.707l8.34-8.34v5.158a.5.5 0 101 0z",fill:e}))),Ak=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.904 5.232v6.364a.5.5 0 00.5.5h6.364a.5.5 0 000-1H3.61l8.339-8.339a.5.5 0 00-.707-.707l-8.34 8.34V5.231a.5.5 0 00-1 0z",fill:e}))),Fk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M12.096 5.232v6.364a.5.5 0 01-.5.5H5.232a.5.5 0 010-1h5.157L2.05 2.757a.5.5 0 01.707-.707l8.34 8.34V5.231a.5.5 0 111 0z",fill:e}))),_k=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6.772 3.59c.126-.12.33-.12.456 0l5.677 5.387c.203.193.06.523-.228.523H1.323c-.287 0-.431-.33-.228-.523L6.772 3.59z",fill:e}))),Ik=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.228 10.41a.335.335 0 01-.456 0L1.095 5.023c-.203-.193-.06-.523.228-.523h11.354c.287 0 .431.33.228.523L7.228 10.41z",fill:e}))),Rk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M3.712 7.212a.3.3 0 010-.424l5.276-5.276a.3.3 0 01.512.212v10.552a.3.3 0 01-.512.212L3.712 7.212z",fill:e}))),Bk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.288 7.212a.3.3 0 000-.424L5.012 1.512a.3.3 0 00-.512.212v10.552a.3.3 0 00.512.212l5.276-5.276z",fill:e}))),zk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.354.146l4 4a.5.5 0 01-.708.708L7 1.207 3.354 4.854a.5.5 0 11-.708-.708l4-4a.5.5 0 01.708 0zM11.354 9.146a.5.5 0 010 .708l-4 4a.5.5 0 01-.708 0l-4-4a.5.5 0 11.708-.708L7 12.793l3.646-3.647a.5.5 0 01.708 0z",fill:e}))),Tk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.354.146a.5.5 0 10-.708.708l4 4a.5.5 0 00.708 0l4-4a.5.5 0 00-.708-.708L7 3.793 3.354.146zM6.646 9.146a.5.5 0 01.708 0l4 4a.5.5 0 01-.708.708L7 10.207l-3.646 3.647a.5.5 0 01-.708-.708l4-4z",fill:e}))),Lk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1h2a.5.5 0 010 1h-.793l3.147 3.146a.5.5 0 11-.708.708L2 2.707V3.5a.5.5 0 01-1 0v-2a.5.5 0 01.5-.5zM10 1.5a.5.5 0 01.5-.5h2a.5.5 0 01.5.5v2a.5.5 0 01-1 0v-.793L8.854 5.854a.5.5 0 11-.708-.708L11.293 2H10.5a.5.5 0 01-.5-.5zM12.5 10a.5.5 0 01.5.5v2a.5.5 0 01-.5.5h-2a.5.5 0 010-1h.793L8.146 8.854a.5.5 0 11.708-.708L12 11.293V10.5a.5.5 0 01.5-.5zM2 11.293V10.5a.5.5 0 00-1 0v2a.5.5 0 00.5.5h2a.5.5 0 000-1h-.793l3.147-3.146a.5.5 0 10-.708-.708L2 11.293z",fill:e}))),Mk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6.646.147l-1.5 1.5a.5.5 0 10.708.707l.646-.647V5a.5.5 0 001 0V1.707l.646.647a.5.5 0 10.708-.707l-1.5-1.5a.5.5 0 00-.708 0z",fill:e}),i.createElement("path",{d:"M1.309 4.038a.498.498 0 00-.16.106l-.005.005a.498.498 0 00.002.705L3.293 7 1.146 9.146A.498.498 0 001.5 10h3a.5.5 0 000-1H2.707l1.5-1.5h5.586l2.353 2.354a.5.5 0 00.708-.708L10.707 7l2.146-2.146.11-.545-.107.542A.499.499 0 0013 4.503v-.006a.5.5 0 00-.144-.348l-.005-.005A.498.498 0 0012.5 4h-3a.5.5 0 000 1h1.793l-1.5 1.5H4.207L2.707 5H4.5a.5.5 0 000-1h-3a.498.498 0 00-.191.038z",fill:e}),i.createElement("path",{d:"M7 8.5a.5.5 0 01.5.5v3.293l.646-.647a.5.5 0 01.708.708l-1.5 1.5a.5.5 0 01-.708 0l-1.5-1.5a.5.5 0 01.708-.708l.646.647V9a.5.5 0 01.5-.5zM9 9.5a.5.5 0 01.5-.5h3a.5.5 0 010 1h-3a.5.5 0 01-.5-.5z",fill:e}))),Ok=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M10.646 2.646a.5.5 0 01.708 0l1.5 1.5a.5.5 0 010 .708l-1.5 1.5a.5.5 0 01-.708-.708L11.293 5H1.5a.5.5 0 010-1h9.793l-.647-.646a.5.5 0 010-.708zM3.354 8.354L2.707 9H12.5a.5.5 0 010 1H2.707l.647.646a.5.5 0 01-.708.708l-1.5-1.5a.5.5 0 010-.708l1.5-1.5a.5.5 0 11.708.708z",fill:e}))),Pk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 1a.5.5 0 01.5.5V10a2 2 0 004 0V4a3 3 0 016 0v7.793l1.146-1.147a.5.5 0 01.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 01.708-.708L11 11.793V4a2 2 0 10-4 0v6.002a3 3 0 01-6 0V1.5a.5.5 0 01.5-.5z",fill:e}))),Nk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e}))),Hk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.354 2.146a.5.5 0 010 .708L1.707 5.5H9.5A4.5 4.5 0 0114 10v1.5a.5.5 0 01-1 0V10a3.5 3.5 0 00-3.5-3.5H1.707l2.647 2.646a.5.5 0 11-.708.708l-3.5-3.5a.5.5 0 010-.708l3.5-3.5a.5.5 0 01.708 0z",fill:e}))),$k=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.5 1A.5.5 0 005 .5H2a.5.5 0 000 1h1.535a6.502 6.502 0 002.383 11.91.5.5 0 10.165-.986A5.502 5.502 0 014.5 2.1V4a.5.5 0 001 0V1.353a.5.5 0 000-.023V1zM7.507 1a.5.5 0 01.576-.41 6.502 6.502 0 012.383 11.91H12a.5.5 0 010 1H9a.5.5 0 01-.5-.5v-3a.5.5 0 011 0v1.9A5.5 5.5 0 007.917 1.576.5.5 0 017.507 1z",fill:e}))),jk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.646 5.854L7.5 4.707V10.5a.5.5 0 01-1 0V4.707L5.354 5.854a.5.5 0 11-.708-.708l2-2a.5.5 0 01.708 0l2 2a.5.5 0 11-.708.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Vk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.354 8.146L6.5 9.293V3.5a.5.5 0 011 0v5.793l1.146-1.147a.5.5 0 11.708.708l-2 2a.5.5 0 01-.708 0l-2-2a.5.5 0 11.708-.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm1 0a6 6 0 1112 0A6 6 0 011 7z",fill:e}))),qk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M5.854 5.354L4.707 6.5H10.5a.5.5 0 010 1H4.707l1.147 1.146a.5.5 0 11-.708.708l-2-2a.5.5 0 010-.708l2-2a.5.5 0 11.708.708z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 0a7 7 0 110 14A7 7 0 017 0zm0 1a6 6 0 110 12A6 6 0 017 1z",fill:e}))),Uk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5h5.793L8.146 5.354a.5.5 0 11.708-.708l2 2a.5.5 0 010 .708l-2 2a.5.5 0 11-.708-.708L9.293 7.5H3.5a.5.5 0 010-1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 117 0a7 7 0 010 14zm0-1A6 6 0 117 1a6 6 0 010 12z",fill:e}))),Wk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.092.5H7a6.5 6.5 0 106.41 7.583.5.5 0 10-.986-.166A5.495 5.495 0 017 12.5a5.5 5.5 0 010-11h.006a5.5 5.5 0 014.894 3H10a.5.5 0 000 1h3a.5.5 0 00.5-.5V2a.5.5 0 00-1 0v1.535A6.495 6.495 0 007.092.5z",fill:e}))),Gk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 100 7a7 7 0 0014 0zm-6.535 5.738c-.233.23-.389.262-.465.262-.076 0-.232-.032-.465-.262-.238-.234-.497-.623-.737-1.182-.434-1.012-.738-2.433-.79-4.056h3.984c-.052 1.623-.356 3.043-.79 4.056-.24.56-.5.948-.737 1.182zM8.992 6.5H5.008c.052-1.623.356-3.044.79-4.056.24-.56.5-.948.737-1.182C6.768 1.032 6.924 1 7 1c.076 0 .232.032.465.262.238.234.497.623.737 1.182.434 1.012.738 2.433.79 4.056zm1 1c-.065 2.176-.558 4.078-1.282 5.253A6.005 6.005 0 0012.98 7.5H9.992zm2.987-1H9.992c-.065-2.176-.558-4.078-1.282-5.253A6.005 6.005 0 0112.98 6.5zm-8.971 0c.065-2.176.558-4.078 1.282-5.253A6.005 6.005 0 001.02 6.5h2.988zm-2.987 1a6.005 6.005 0 004.27 5.253C4.565 11.578 4.072 9.676 4.007 7.5H1.02z",fill:e}))),Kk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.087 3.397L5.95 5.793a.374.374 0 00-.109.095.377.377 0 00-.036.052l-2.407 4.147a.374.374 0 00-.004.384c.104.179.334.24.513.136l4.142-2.404a.373.373 0 00.148-.143l2.406-4.146a.373.373 0 00-.037-.443.373.373 0 00-.478-.074zM4.75 9.25l2.847-1.652-1.195-1.195L4.75 9.25z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),Yk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 7a7 7 0 1114 0A7 7 0 010 7zm6.5 3.5v2.48A6.001 6.001 0 011.02 7.5H3.5a.5.5 0 000-1H1.02A6.001 6.001 0 016.5 1.02V3.5a.5.5 0 001 0V1.02a6.001 6.001 0 015.48 5.48H10.5a.5.5 0 000 1h2.48a6.002 6.002 0 01-5.48 5.48V10.5a.5.5 0 00-1 0z",fill:e}))),Zk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9 5a2 2 0 11-4 0 2 2 0 014 0zM8 5a1 1 0 11-2 0 1 1 0 012 0z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5A5 5 0 002 5c0 2.633 2.273 6.154 4.65 8.643.192.2.508.2.7 0C9.726 11.153 12 7.633 12 5zM7 1a4 4 0 014 4c0 1.062-.471 2.42-1.303 3.88-.729 1.282-1.69 2.562-2.697 3.67-1.008-1.108-1.968-2.388-2.697-3.67C3.47 7.42 3 6.063 3 5a4 4 0 014-4z",fill:e}))),Jk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 2a.5.5 0 01.5.5v4H10a.5.5 0 010 1H7a.5.5 0 01-.5-.5V2.5A.5.5 0 017 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),Xk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.79 4.093a.5.5 0 01.117.698L7.91 7.586a1 1 0 11-.814-.581l1.997-2.796a.5.5 0 01.698-.116z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.069 12.968a7 7 0 119.863 0A12.962 12.962 0 007 12c-1.746 0-3.41.344-4.931.968zm9.582-1.177a6 6 0 10-9.301 0A13.98 13.98 0 017 11c1.629 0 3.194.279 4.65.791z",fill:e}))),Qk=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.5 4.5a.5.5 0 00-1 0v2.634a1 1 0 101 0V4.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.5.5A.5.5 0 016 0h2a.5.5 0 010 1h-.5v1.02a5.973 5.973 0 013.374 1.398l.772-.772a.5.5 0 01.708.708l-.772.772A6 6 0 116.5 2.02V1H6a.5.5 0 01-.5-.5zM7 3a5 5 0 100 10A5 5 0 007 3z",fill:e}))),eA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.354 1.146l5.5 5.5a.5.5 0 01-.708.708L12 7.207V12.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V9H6v3.5a.5.5 0 01-.5.5h-3a.5.5 0 01-.5-.5V7.207l-.146.147a.5.5 0 11-.708-.708l1-1 4.5-4.5a.5.5 0 01.708 0zM3 6.207V12h2V8.5a.5.5 0 01.5-.5h3a.5.5 0 01.5.5V12h2V6.207l-4-4-4 4z",fill:e}))),tA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.213 4.094a.5.5 0 01.056-.034l5.484-2.995a.498.498 0 01.494 0L12.73 4.06a.507.507 0 01.266.389.498.498 0 01-.507.555H1.51a.5.5 0 01-.297-.91zm2.246-.09h7.082L7 2.07 3.459 4.004z",fill:e}),i.createElement("path",{d:"M4 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM11 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM5.75 5.5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM8.75 6a.5.5 0 00-1 0v5a.5.5 0 001 0V6zM1.5 12.504a.5.5 0 01.5-.5h10a.5.5 0 010 1H2a.5.5 0 01-.5-.5z",fill:e}))),rA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("g",{clipPath:"url(#prefix__clip0_1107_3594)"},i.createElement("path",{d:"M11.451.537l.01 12.922h0L7.61 8.946a1.077 1.077 0 00-.73-.374L.964 8.087 11.45.537h0z",stroke:e,strokeWidth:1.077})),i.createElement("defs",null,i.createElement("clipPath",{id:"prefix__clip0_1107_3594"},i.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),nA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zM2.671 11.155c.696-1.006 2.602-1.816 3.194-1.91.226-.036.232-.658.232-.658s-.665-.658-.81-1.544c-.39 0-.63-.94-.241-1.272a2.578 2.578 0 00-.012-.13c-.066-.607-.28-2.606 1.965-2.606 2.246 0 2.031 2 1.966 2.606l-.012.13c.39.331.149 1.272-.24 1.272-.146.886-.81 1.544-.81 1.544s.004.622.23.658c.593.094 2.5.904 3.195 1.91a6 6 0 10-8.657 0z",fill:e}))),aA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7.275 13.16a11.388 11.388 0 005.175-1.232v-.25c0-1.566-3.237-2.994-4.104-3.132-.27-.043-.276-.783-.276-.783s.791-.783.964-1.836c.463 0 .75-1.119.286-1.513C9.34 4 9.916 1.16 6.997 1.16c-2.92 0-2.343 2.84-2.324 3.254-.463.394-.177 1.513.287 1.513.172 1.053.963 1.836.963 1.836s-.006.74-.275.783c-.858.136-4.036 1.536-4.103 3.082a11.388 11.388 0 005.73 1.532z",fill:e}))),oA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.183 11.906a10.645 10.645 0 01-1.181-.589c.062-1.439 3.02-2.74 3.818-2.868.25-.04.256-.728.256-.728s-.736-.729-.896-1.709c-.432 0-.698-1.041-.267-1.408A2.853 2.853 0 002.9 4.46c-.072-.672-.31-2.884 2.175-2.884 2.486 0 2.248 2.212 2.176 2.884-.007.062-.012.112-.014.144.432.367.165 1.408-.266 1.408-.16.98-.896 1.709-.896 1.709s.005.688.256.728c.807.129 3.82 1.457 3.82 2.915v.233a10.598 10.598 0 01-4.816 1.146c-1.441 0-2.838-.282-4.152-.837zM11.5 2.16a.5.5 0 01.5.5v1.5h1.5a.5.5 0 010 1H12v1.5a.5.5 0 01-1 0v-1.5H9.5a.5.5 0 110-1H11v-1.5a.5.5 0 01.5-.5z",fill:e}))),iA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.21 11.623a10.586 10.586 0 01-4.031.787A10.585 10.585 0 010 11.07c.06-1.354 2.933-2.578 3.708-2.697.243-.038.249-.685.249-.685s-.715-.685-.87-1.607c-.42 0-.679-.979-.26-1.323a2.589 2.589 0 00-.013-.136c-.07-.632-.3-2.712 2.113-2.712 2.414 0 2.183 2.08 2.113 2.712-.007.059-.012.105-.013.136.419.344.16 1.323-.259 1.323-.156.922-.87 1.607-.87 1.607s.005.647.248.685c.784.12 3.71 1.37 3.71 2.74v.22c-.212.103-.427.2-.646.29z",fill:e}),i.createElement("path",{d:"M8.81 8.417a9.643 9.643 0 00-.736-.398c.61-.42 1.396-.71 1.7-.757.167-.026.171-.471.171-.471s-.491-.471-.598-1.104c-.288 0-.466-.674-.178-.91-.001-.022-.005-.053-.01-.094-.048-.434-.206-1.864 1.453-1.864 1.66 0 1.5 1.43 1.453 1.864l-.01.094c.289.236.11.91-.178.91-.107.633-.598 1.104-.598 1.104s.004.445.171.47c.539.084 2.55.942 2.55 1.884v.628a10.604 10.604 0 01-3.302.553 2.974 2.974 0 00-.576-.879c-.375-.408-.853-.754-1.312-1.03z",fill:e}))),lA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M9.106 7.354c-.627.265-1.295.4-1.983.4a5.062 5.062 0 01-2.547-.681c.03-.688 1.443-1.31 1.824-1.37.12-.02.122-.348.122-.348s-.351-.348-.428-.816c-.206 0-.333-.498-.127-.673 0-.016-.003-.04-.007-.07C5.926 3.477 5.812 2.42 7 2.42c1.187 0 1.073 1.057 1.039 1.378l-.007.069c.207.175.08.673-.127.673-.076.468-.428.816-.428.816s.003.329.122.348c.386.06 1.825.696 1.825 1.392v.111c-.104.053-.21.102-.318.148zM3.75 11.25A.25.25 0 014 11h6a.25.25 0 110 .5H4a.25.25 0 01-.25-.25zM4 9a.25.25 0 000 .5h6a.25.25 0 100-.5H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1 .5a.5.5 0 01.5-.5h11a.5.5 0 01.5.5v13a.5.5 0 01-.5.5h-11a.5.5 0 01-.5-.5V.5zM2 13V1h10v12H2z",fill:e}))),sA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.968 8.75a.5.5 0 00-.866.5A4.498 4.498 0 007 11.5c1.666 0 3.12-.906 3.898-2.25a.5.5 0 10-.866-.5A3.498 3.498 0 017 10.5a3.498 3.498 0 01-3.032-1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),uA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4.5 9a.5.5 0 000 1h5a.5.5 0 000-1h-5zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),cA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.968 10.25a.5.5 0 01-.866-.5A4.498 4.498 0 017 7.5c1.666 0 3.12.906 3.898 2.25a.5.5 0 11-.866.5A3.498 3.498 0 007 8.5a3.498 3.498 0 00-3.032 1.75zM5.5 5a1 1 0 11-2 0 1 1 0 012 0zM9.5 6a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),dA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}),i.createElement("path",{d:"M7 4.5a1 1 0 100-2 1 1 0 000 2z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),pA=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zM8 3.5a1 1 0 11-2 0 1 1 0 012 0zM3.526 4.842a.5.5 0 01.632-.316l2.051.684a2.5 2.5 0 001.582 0l2.05-.684a.5.5 0 01.317.948l-2.453.818a.3.3 0 00-.205.285v.243a4.5 4.5 0 00.475 2.012l.972 1.944a.5.5 0 11-.894.448L7 9.118l-1.053 2.106a.5.5 0 11-.894-.447l.972-1.945A4.5 4.5 0 006.5 6.82v-.243a.3.3 0 00-.205-.285l-2.453-.818a.5.5 0 01-.316-.632z",fill:e}))),fA=0,hA=s(e=>e.button===fA&&!e.altKey&&!e.ctrlKey&&!e.metaKey&&!e.shiftKey,"isPlainLeftClick"),mA=s((e,t)=>{hA(e)&&(e.preventDefault(),t(e))},"cancelled"),gA=F.span(({withArrow:e})=>e?{"> svg:last-of-type":{height:"0.7em",width:"0.7em",marginRight:0,marginLeft:"0.25em",bottom:"auto",verticalAlign:"inherit"}}:{},({containsIcon:e})=>e?{svg:{height:"1em",width:"1em",verticalAlign:"middle",position:"relative",bottom:0,marginRight:0}}:{}),vA=F.a(({theme:e})=>({display:"inline-block",transition:"all 150ms ease-out",textDecoration:"none",color:e.color.secondary,"&:hover, &:focus":{cursor:"pointer",color:Cn(.07,e.color.secondary),"svg path:not([fill])":{fill:Cn(.07,e.color.secondary)}},"&:active":{color:Cn(.1,e.color.secondary),"svg path:not([fill])":{fill:Cn(.1,e.color.secondary)}},svg:{display:"inline-block",height:"1em",width:"1em",verticalAlign:"text-top",position:"relative",bottom:"-0.125em",marginRight:"0.4em","& path":{fill:e.color.secondary}}}),({theme:e,secondary:t,tertiary:r})=>{let n;return t&&(n=[e.textMutedColor,e.color.dark,e.color.darker]),r&&(n=[e.color.dark,e.color.darkest,e.textMutedColor]),n?{color:n[0],"svg path:not([fill])":{fill:n[0]},"&:hover":{color:n[1],"svg path:not([fill])":{fill:n[1]}},"&:active":{color:n[2],"svg path:not([fill])":{fill:n[2]}}}:{}},({nochrome:e})=>e?{color:"inherit","&:hover, &:active":{color:"inherit",textDecoration:"underline"}}:{},({theme:e,inverse:t})=>t?{color:e.color.lightest,":not([fill])":{fill:e.color.lightest},"&:hover":{color:e.color.lighter,"svg path:not([fill])":{fill:e.color.lighter}},"&:active":{color:e.color.light,"svg path:not([fill])":{fill:e.color.light}}}:{},({isButton:e})=>e?{border:0,borderRadius:0,background:"none",padding:0,fontSize:"inherit"}:{}),Mn=s(({cancel:e=!0,children:t,onClick:r=void 0,withArrow:n=!1,containsIcon:a=!1,className:o=void 0,style:l=void 0,...u})=>v.createElement(vA,{...u,onClick:r&&e?c=>mA(c,r):r,className:o},v.createElement(gA,{withArrow:n,containsIcon:a},t,n&&v.createElement(Xb,null))),"Link"),kP=F.div(({theme:e})=>({fontSize:`${e.typography.size.s2}px`,lineHeight:"1.6",h1:{fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},h2:{fontSize:`${e.typography.size.m2}px`,borderBottom:`1px solid ${e.appBorderColor}`},h3:{fontSize:`${e.typography.size.m1}px`},h4:{fontSize:`${e.typography.size.s3}px`},h5:{fontSize:`${e.typography.size.s2}px`},h6:{fontSize:`${e.typography.size.s2}px`,color:e.color.dark},"pre:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"pre pre, pre.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px"},"pre pre code, pre.prismjs code":{color:"inherit",fontSize:"inherit"},"pre code":{margin:0,padding:0,whiteSpace:"pre",border:"none",background:"transparent"},"pre code, pre tt":{backgroundColor:"transparent",border:"none"},"body > *:first-of-type":{marginTop:"0 !important"},"body > *:last-child":{marginBottom:"0 !important"},a:{color:e.color.secondary,textDecoration:"none"},"a.absent":{color:"#cc0000"},"a.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0},"h1, h2, h3, h4, h5, h6":{margin:"20px 0 10px",padding:0,cursor:"text",position:"relative","&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}},"h1:first-of-type + h2":{marginTop:0,paddingTop:0},"p, blockquote, ul, ol, dl, li, table, pre":{margin:"15px 0"},hr:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},"body > h1:first-of-type, body > h2:first-of-type, body > h3:first-of-type, body > h4:first-of-type, body > h5:first-of-type, body > h6:first-of-type":{marginTop:0,paddingTop:0},"body > h1:first-of-type + h2":{marginTop:0,paddingTop:0},"a:first-of-type h1, a:first-of-type h2, a:first-of-type h3, a:first-of-type h4, a:first-of-type h5, a:first-of-type h6":{marginTop:0,paddingTop:0},"h1 p, h2 p, h3 p, h4 p, h5 p, h6 p":{marginTop:0},"li p.first":{display:"inline-block"},"ul, ol":{paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},dl:{padding:0},"dl dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",margin:"0 0 15px",padding:"0 15px","&:first-of-type":{padding:0},"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},blockquote:{borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},table:{padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:"white",margin:0,padding:0,"& th":{fontWeight:"bold",border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"& td":{border:`1px solid ${e.appBorderColor}`,textAlign:"left",margin:0,padding:"6px 13px"},"&:nth-of-type(2n)":{backgroundColor:e.color.lighter},"& th :first-of-type, & td :first-of-type":{marginTop:0},"& th :last-child, & td :last-child":{marginBottom:0}}},img:{maxWidth:"100%"},"span.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"span.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"span.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"span.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"span.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}},"code, tt":{margin:"0 2px",padding:"0 5px",whiteSpace:"nowrap",border:`1px solid ${e.color.mediumlight}`,backgroundColor:e.color.lighter,borderRadius:3,color:e.base==="dark"?e.color.darkest:e.color.dark}})),Or=[],Un=null,yA=i.lazy(async()=>{let{SyntaxHighlighter:e}=await Promise.resolve().then(()=>(El(),Hd));return Or.length>0&&(Or.forEach(t=>{e.registerLanguage(...t)}),Or=[]),Un===null&&(Un=e),{default:s(t=>v.createElement(e,{...t}),"default")}}),bA=i.lazy(async()=>{let[{SyntaxHighlighter:e},{formatter:t}]=await Promise.all([Promise.resolve().then(()=>(El(),Hd)),Promise.resolve().then(()=>(C9(),Fy))]);return Or.length>0&&(Or.forEach(r=>{e.registerLanguage(...r)}),Or=[]),Un===null&&(Un=e),{default:s(r=>v.createElement(e,{...r,formatter:t}),"default")}}),ep=s(e=>v.createElement(i.Suspense,{fallback:v.createElement("div",null)},e.format!==!1?v.createElement(bA,{...e}):v.createElement(yA,{...e})),"SyntaxHighlighter");ep.registerLanguage=(...e)=>{if(Un!==null){Un.registerLanguage(...e);return}Or.push(e)};El();Vv();var Qb={};Yn(Qb,{Close:()=>c6,Content:()=>l6,Description:()=>u6,Dialog:()=>Ww,DialogClose:()=>n6,DialogContent:()=>Xw,DialogDescription:()=>r6,DialogOverlay:()=>Jw,DialogPortal:()=>Zw,DialogTitle:()=>t6,DialogTrigger:()=>Gw,Overlay:()=>i6,Portal:()=>o6,Root:()=>a6,Title:()=>s6,Trigger:()=>mF,WarningProvider:()=>hF,createDialogScope:()=>aF});rt();function Nt(e,t,{checkForDefaultPrevented:r=!0}={}){return s(function(n){if(e==null||e(n),r===!1||!n.defaultPrevented)return t==null?void 0:t(n)},"handleEvent")}s(Nt,"$e42e1063c40fb3ef$export$b9ecd428b558ff10");function ew(e,t){typeof e=="function"?e(t):e!=null&&(e.current=t)}s(ew,"$6ed0406888f73fc4$var$setRef");function Xl(...e){return t=>e.forEach(r=>ew(r,t))}s(Xl,"$6ed0406888f73fc4$export$43e446d32b3d21af");function Qr(...e){return i.useCallback(Xl(...e),e)}s(Qr,"$6ed0406888f73fc4$export$c7b2cbe3552a0d05");function tw(e,t){let r=i.createContext(t);function n(o){let{children:l,...u}=o,c=i.useMemo(()=>u,Object.values(u));return i.createElement(r.Provider,{value:c},l)}s(n,"Provider");function a(o){let l=i.useContext(r);if(l)return l;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return s(a,"useContext"),n.displayName=e+"Provider",[n,a]}s(tw,"$c512c27ab02ef895$export$fd42f52fd3ae1109");function rw(e,t=[]){let r=[];function n(o,l){let u=i.createContext(l),c=r.length;r=[...r,l];function d(g){let{scope:h,children:f,...y}=g,m=(h==null?void 0:h[e][c])||u,w=i.useMemo(()=>y,Object.values(y));return i.createElement(m.Provider,{value:w},f)}s(d,"Provider");function p(g,h){let f=(h==null?void 0:h[e][c])||u,y=i.useContext(f);if(y)return y;if(l!==void 0)return l;throw new Error(`\`${g}\` must be used within \`${o}\``)}return s(p,"useContext"),d.displayName=o+"Provider",[d,p]}s(n,"$c512c27ab02ef895$export$fd42f52fd3ae1109");let a=s(()=>{let o=r.map(l=>i.createContext(l));return s(function(l){let u=(l==null?void 0:l[e])||o;return i.useMemo(()=>({[`__scope${e}`]:{...l,[e]:u}}),[l,u])},"useScope")},"createScope");return a.scopeName=e,[n,nw(a,...t)]}s(rw,"$c512c27ab02ef895$export$50c7b4e9d9f19c1");function nw(...e){let t=e[0];if(e.length===1)return t;let r=s(()=>{let n=e.map(a=>({useScope:a(),scopeName:a.scopeName}));return s(function(a){let o=n.reduce((l,{useScope:u,scopeName:c})=>{let d=u(a)[`__scope${c}`];return{...l,...d}},{});return i.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope1");return r.scopeName=t.scopeName,r}s(nw,"$c512c27ab02ef895$var$composeContextScopes");var ed=globalThis!=null&&globalThis.document?i.useLayoutEffect:()=>{},wA=i.useId||(()=>{}),EA=0;function Ai(e){let[t,r]=i.useState(wA());return ed(()=>{e||r(n=>n??String(EA++))},[e]),e||(t?`radix-${t}`:"")}s(Ai,"$1746a345f3d73bb7$export$f680877a34711e37");function sr(e){let t=i.useRef(e);return i.useEffect(()=>{t.current=e}),i.useMemo(()=>(...r)=>{var n;return(n=t.current)===null||n===void 0?void 0:n.call(t,...r)},[])}s(sr,"$b1b2314f5f9a1d84$export$25bec8c6f54ee79a");function aw({prop:e,defaultProp:t,onChange:r=s(()=>{},"onChange")}){let[n,a]=ow({defaultProp:t,onChange:r}),o=e!==void 0,l=o?e:n,u=sr(r),c=i.useCallback(d=>{if(o){let p=typeof d=="function"?d(e):d;p!==e&&u(p)}else a(d)},[o,e,a,u]);return[l,c]}s(aw,"$71cd76cc60e0454e$export$6f32135080cb4c3");function ow({defaultProp:e,onChange:t}){let r=i.useState(e),[n]=r,a=i.useRef(n),o=sr(t);return i.useEffect(()=>{a.current!==n&&(o(n),a.current=n)},[n,a,o]),r}s(ow,"$71cd76cc60e0454e$var$useUncontrolledState");rt();rt();rt();var iw=i.forwardRef((e,t)=>{let{children:r,...n}=e,a=i.Children.toArray(r),o=a.find(lw);if(o){let l=o.props.children,u=a.map(c=>c===o?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:c);return i.createElement(td,G({},n,{ref:t}),i.isValidElement(l)?i.cloneElement(l,void 0,u):null)}return i.createElement(td,G({},n,{ref:t}),r)});iw.displayName="Slot";var td=i.forwardRef((e,t)=>{let{children:r,...n}=e;return i.isValidElement(r)?i.cloneElement(r,{...sw(n,r.props),ref:t?Xl(t,r.ref):r.ref}):i.Children.count(r)>1?i.Children.only(null):null});td.displayName="SlotClone";var DA=s(({children:e})=>i.createElement(i.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function lw(e){return i.isValidElement(e)&&e.type===DA}s(lw,"$5e63c961fc1ce211$var$isSlottable");function sw(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...l)=>{o(...l),a(...l)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}s(sw,"$5e63c961fc1ce211$var$mergeProps");var xA=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],fr=xA.reduce((e,t)=>{let r=i.forwardRef((n,a)=>{let{asChild:o,...l}=n,u=o?iw:t;return i.useEffect(()=>{window[Symbol.for("radix-ui")]=!0},[]),i.createElement(u,G({},l,{ref:a}))});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function uw(e,t){e&&ml.flushSync(()=>e.dispatchEvent(t))}s(uw,"$8927f6f2acc4f386$export$6d1a0317bde7de7f");function cw(e,t=globalThis==null?void 0:globalThis.document){let r=sr(e);i.useEffect(()=>{let n=s(a=>{a.key==="Escape"&&r(a)},"handleKeyDown");return t.addEventListener("keydown",n),()=>t.removeEventListener("keydown",n)},[r,t])}s(cw,"$addc16e1bbe58fd0$export$3a72a57244d6e765");var rd="dismissableLayer.update",CA="dismissableLayer.pointerDownOutside",SA="dismissableLayer.focusOutside",J2,kA=i.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),AA=i.forwardRef((e,t)=>{var r;let{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:o,onFocusOutside:l,onInteractOutside:u,onDismiss:c,...d}=e,p=i.useContext(kA),[g,h]=i.useState(null),f=(r=g==null?void 0:g.ownerDocument)!==null&&r!==void 0?r:globalThis==null?void 0:globalThis.document,[,y]=i.useState({}),m=Qr(t,k=>h(k)),w=Array.from(p.layers),[x]=[...p.layersWithOutsidePointerEventsDisabled].slice(-1),D=w.indexOf(x),E=g?w.indexOf(g):-1,b=p.layersWithOutsidePointerEventsDisabled.size>0,C=E>=D,S=dw(k=>{let _=k.target,I=[...p.branches].some(R=>R.contains(_));!C||I||(o==null||o(k),u==null||u(k),k.defaultPrevented||(c==null||c()))},f),A=pw(k=>{let _=k.target;[...p.branches].some(I=>I.contains(_))||(l==null||l(k),u==null||u(k),k.defaultPrevented||(c==null||c()))},f);return cw(k=>{E===p.layers.size-1&&(a==null||a(k),!k.defaultPrevented&&c&&(k.preventDefault(),c()))},f),i.useEffect(()=>{if(g)return n&&(p.layersWithOutsidePointerEventsDisabled.size===0&&(J2=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),p.layersWithOutsidePointerEventsDisabled.add(g)),p.layers.add(g),nd(),()=>{n&&p.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=J2)}},[g,f,n,p]),i.useEffect(()=>()=>{g&&(p.layers.delete(g),p.layersWithOutsidePointerEventsDisabled.delete(g),nd())},[g,p]),i.useEffect(()=>{let k=s(()=>y({}),"handleUpdate");return document.addEventListener(rd,k),()=>document.removeEventListener(rd,k)},[]),i.createElement(fr.div,G({},d,{ref:m,style:{pointerEvents:b?C?"auto":"none":void 0,...e.style},onFocusCapture:Nt(e.onFocusCapture,A.onFocusCapture),onBlurCapture:Nt(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:Nt(e.onPointerDownCapture,S.onPointerDownCapture)}))});function dw(e,t=globalThis==null?void 0:globalThis.document){let r=sr(e),n=i.useRef(!1),a=i.useRef(()=>{});return i.useEffect(()=>{let o=s(u=>{if(u.target&&!n.current){let c=function(){tp(CA,r,d,{discrete:!0})};s(c,"handleAndDispatchPointerDownOutsideEvent");let d={originalEvent:u};u.pointerType==="touch"?(t.removeEventListener("click",a.current),a.current=c,t.addEventListener("click",a.current,{once:!0})):c()}else t.removeEventListener("click",a.current);n.current=!1},"handlePointerDown"),l=window.setTimeout(()=>{t.addEventListener("pointerdown",o)},0);return()=>{window.clearTimeout(l),t.removeEventListener("pointerdown",o),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:s(()=>n.current=!0,"onPointerDownCapture")}}s(dw,"$5cb92bef7577960e$var$usePointerDownOutside");function pw(e,t=globalThis==null?void 0:globalThis.document){let r=sr(e),n=i.useRef(!1);return i.useEffect(()=>{let a=s(o=>{o.target&&!n.current&&tp(SA,r,{originalEvent:o},{discrete:!1})},"handleFocus");return t.addEventListener("focusin",a),()=>t.removeEventListener("focusin",a)},[t,r]),{onFocusCapture:s(()=>n.current=!0,"onFocusCapture"),onBlurCapture:s(()=>n.current=!1,"onBlurCapture")}}s(pw,"$5cb92bef7577960e$var$useFocusOutside");function nd(){let e=new CustomEvent(rd);document.dispatchEvent(e)}s(nd,"$5cb92bef7577960e$var$dispatchUpdate");function tp(e,t,r,{discrete:n}){let a=r.originalEvent.target,o=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&a.addEventListener(e,t,{once:!0}),n?uw(a,o):a.dispatchEvent(o)}s(tp,"$5cb92bef7577960e$var$handleAndDispatchCustomEvent");rt();var wc="focusScope.autoFocusOnMount",Ec="focusScope.autoFocusOnUnmount",X2={bubbles:!1,cancelable:!0},FA=i.forwardRef((e,t)=>{let{loop:r=!1,trapped:n=!1,onMountAutoFocus:a,onUnmountAutoFocus:o,...l}=e,[u,c]=i.useState(null),d=sr(a),p=sr(o),g=i.useRef(null),h=Qr(t,m=>c(m)),f=i.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;i.useEffect(()=>{if(n){let m=function(E){if(f.paused||!u)return;let b=E.target;u.contains(b)?g.current=b:Mt(g.current,{select:!0})},w=function(E){if(f.paused||!u)return;let b=E.relatedTarget;b!==null&&(u.contains(b)||Mt(g.current,{select:!0}))},x=function(E){if(document.activeElement===document.body)for(let b of E)b.removedNodes.length>0&&Mt(u)};s(m,"handleFocusIn"),s(w,"handleFocusOut"),s(x,"handleMutations"),document.addEventListener("focusin",m),document.addEventListener("focusout",w);let D=new MutationObserver(x);return u&&D.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",m),document.removeEventListener("focusout",w),D.disconnect()}}},[n,u,f.paused]),i.useEffect(()=>{if(u){Q2.add(f);let m=document.activeElement;if(!u.contains(m)){let w=new CustomEvent(wc,X2);u.addEventListener(wc,d),u.dispatchEvent(w),w.defaultPrevented||(fw(yw(rp(u)),{select:!0}),document.activeElement===m&&Mt(u))}return()=>{u.removeEventListener(wc,d),setTimeout(()=>{let w=new CustomEvent(Ec,X2);u.addEventListener(Ec,p),u.dispatchEvent(w),w.defaultPrevented||Mt(m??document.body,{select:!0}),u.removeEventListener(Ec,p),Q2.remove(f)},0)}}},[u,d,p,f]);let y=i.useCallback(m=>{if(!r&&!n||f.paused)return;let w=m.key==="Tab"&&!m.altKey&&!m.ctrlKey&&!m.metaKey,x=document.activeElement;if(w&&x){let D=m.currentTarget,[E,b]=hw(D);E&&b?!m.shiftKey&&x===b?(m.preventDefault(),r&&Mt(E,{select:!0})):m.shiftKey&&x===E&&(m.preventDefault(),r&&Mt(b,{select:!0})):x===D&&m.preventDefault()}},[r,n,f.paused]);return i.createElement(fr.div,G({tabIndex:-1},l,{ref:h,onKeyDown:y}))});function fw(e,{select:t=!1}={}){let r=document.activeElement;for(let n of e)if(Mt(n,{select:t}),document.activeElement!==r)return}s(fw,"$d3863c46a17e8a28$var$focusFirst");function hw(e){let t=rp(e),r=ad(t,e),n=ad(t.reverse(),e);return[r,n]}s(hw,"$d3863c46a17e8a28$var$getTabbableEdges");function rp(e){let t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s(n=>{let a=n.tagName==="INPUT"&&n.type==="hidden";return n.disabled||n.hidden||a?NodeFilter.FILTER_SKIP:n.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP},"acceptNode")});for(;r.nextNode();)t.push(r.currentNode);return t}s(rp,"$d3863c46a17e8a28$var$getTabbableCandidates");function ad(e,t){for(let r of e)if(!mw(r,{upTo:t}))return r}s(ad,"$d3863c46a17e8a28$var$findVisible");function mw(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}s(mw,"$d3863c46a17e8a28$var$isHidden");function gw(e){return e instanceof HTMLInputElement&&"select"in e}s(gw,"$d3863c46a17e8a28$var$isSelectableInput");function Mt(e,{select:t=!1}={}){if(e&&e.focus){let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&gw(e)&&t&&e.select()}}s(Mt,"$d3863c46a17e8a28$var$focus");var Q2=vw();function vw(){let e=[];return{add(t){let r=e[0];t!==r&&(r==null||r.pause()),e=od(e,t),e.unshift(t)},remove(t){var r;e=od(e,t),(r=e[0])===null||r===void 0||r.resume()}}}s(vw,"$d3863c46a17e8a28$var$createFocusScopesStack");function od(e,t){let r=[...e],n=r.indexOf(t);return n!==-1&&r.splice(n,1),r}s(od,"$d3863c46a17e8a28$var$arrayRemove");function yw(e){return e.filter(t=>t.tagName!=="A")}s(yw,"$d3863c46a17e8a28$var$removeLinks");rt();var _A=i.forwardRef((e,t)=>{var r;let{container:n=globalThis==null||(r=globalThis.document)===null||r===void 0?void 0:r.body,...a}=e;return n?Ug.createPortal(i.createElement(fr.div,G({},a,{ref:t})),n):null});function bw(e,t){return i.useReducer((r,n)=>t[r][n]??r,e)}s(bw,"$fe963b355347cc68$export$3e6543de14f8614f");var Ql=s(e=>{let{present:t,children:r}=e,n=ww(t),a=typeof r=="function"?r({present:n.isPresent}):i.Children.only(r),o=Qr(n.ref,a.ref);return typeof r=="function"||n.isPresent?i.cloneElement(a,{ref:o}):null},"$921a889cee6df7e8$export$99c2b779aa4e8b8b");Ql.displayName="Presence";function ww(e){let[t,r]=i.useState(),n=i.useRef({}),a=i.useRef(e),o=i.useRef("none"),l=e?"mounted":"unmounted",[u,c]=bw(l,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return i.useEffect(()=>{let d=Pa(n.current);o.current=u==="mounted"?d:"none"},[u]),ed(()=>{let d=n.current,p=a.current;if(p!==e){let g=o.current,h=Pa(d);e?c("MOUNT"):h==="none"||(d==null?void 0:d.display)==="none"?c("UNMOUNT"):c(p&&g!==h?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),ed(()=>{if(t){let d=s(g=>{let h=Pa(n.current).includes(g.animationName);g.target===t&&h&&ml.flushSync(()=>c("ANIMATION_END"))},"handleAnimationEnd"),p=s(g=>{g.target===t&&(o.current=Pa(n.current))},"handleAnimationStart");return t.addEventListener("animationstart",p),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{t.removeEventListener("animationstart",p),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:i.useCallback(d=>{d&&(n.current=getComputedStyle(d)),r(d)},[])}}s(ww,"$921a889cee6df7e8$var$usePresence");function Pa(e){return(e==null?void 0:e.animationName)||"none"}s(Pa,"$921a889cee6df7e8$var$getAnimationName");var Dc=0;function Ew(){i.useEffect(()=>{var e,t;let r=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",(e=r[0])!==null&&e!==void 0?e:id()),document.body.insertAdjacentElement("beforeend",(t=r[1])!==null&&t!==void 0?t:id()),Dc++,()=>{Dc===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(n=>n.remove()),Dc--}},[])}s(Ew,"$3db38b7d1fb3fe6a$export$b7ece24a22aeda8c");function id(){let e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.cssText="outline: none; opacity: 0; position: fixed; pointer-events: none",e}s(id,"$3db38b7d1fb3fe6a$var$createFocusGuard");var mt=s(function(){return mt=Object.assign||s(function(e){for(var t,r=1,n=arguments.length;r"u")return LA;var t=MA(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}},"getGapWidth"),PA=Tw(),fl="data-scroll-locked",NA=s(function(e,t,r,n){var a=e.left,o=e.top,l=e.right,u=e.gap;return r===void 0&&(r="margin"),` - .`.concat(IA,` { - overflow: hidden `).concat(n,`; - padding-right: `).concat(u,"px ").concat(n,`; - } - body[`).concat(fl,`] { - overflow: hidden `).concat(n,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(n,";"),r==="margin"&&` - padding-left: `.concat(a,`px; - padding-top: `).concat(o,`px; - padding-right: `).concat(l,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(u,"px ").concat(n,`; - `),r==="padding"&&"padding-right: ".concat(u,"px ").concat(n,";")].filter(Boolean).join(""),` - } - - .`).concat(Fi,` { - right: `).concat(u,"px ").concat(n,`; - } - - .`).concat(_i,` { - margin-right: `).concat(u,"px ").concat(n,`; - } - - .`).concat(Fi," .").concat(Fi,` { - right: 0 `).concat(n,`; - } - - .`).concat(_i," .").concat(_i,` { - margin-right: 0 `).concat(n,`; - } - - body[`).concat(fl,`] { - `).concat(RA,": ").concat(u,`px; - } -`)},"getStyles"),HA=s(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=i.useMemo(function(){return OA(a)},[a]);return i.useEffect(function(){return document.body.setAttribute(fl,""),function(){document.body.removeAttribute(fl)}},[]),i.createElement(PA,{styles:NA(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),ld=!1;if(typeof window<"u")try{Ca=Object.defineProperty({},"passive",{get:s(function(){return ld=!0,!0},"get")}),window.addEventListener("test",Ca,Ca),window.removeEventListener("test",Ca,Ca)}catch{ld=!1}var Ca,pn=ld?{passive:!1}:!1,$A=s(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),Lw=s(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!$A(e)&&r[t]==="visible")},"elementCanBeScrolled"),jA=s(function(e){return Lw(e,"overflowY")},"elementCouldBeVScrolled"),VA=s(function(e){return Lw(e,"overflowX")},"elementCouldBeHScrolled"),tg=s(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=Mw(e,r);if(n){var a=Ow(e,r),o=a[1],l=a[2];if(o>l)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),qA=s(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"),UA=s(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),Mw=s(function(e,t){return e==="v"?jA(t):VA(t)},"elementCouldBeScrolled"),Ow=s(function(e,t){return e==="v"?qA(t):UA(t)},"getScrollVariables"),WA=s(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),GA=s(function(e,t,r,n,a){var o=WA(e,window.getComputedStyle(t).direction),l=o*n,u=r.target,c=t.contains(u),d=!1,p=l>0,g=0,h=0;do{var f=Ow(e,u),y=f[0],m=f[1],w=f[2],x=m-w-o*y;(y||x)&&Mw(e,u)&&(g+=x,h+=y),u=u.parentNode}while(!c&&u!==document.body||c&&(t.contains(u)||t===u));return(p&&(a&&g===0||!a&&l>g)||!p&&(a&&h===0||!a&&-l>h))&&(d=!0),d},"handleScroll"),ai=s(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),rg=s(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),ng=s(function(e){return e&&"current"in e?e.current:e},"extractRef"),KA=s(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),YA=s(function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},"generateStyle"),ZA=0,fn=[];function Pw(e){var t=i.useRef([]),r=i.useRef([0,0]),n=i.useRef(),a=i.useState(ZA++)[0],o=i.useState(function(){return Tw()})[0],l=i.useRef(e);i.useEffect(function(){l.current=e},[e]),i.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var m=Dw([e.lockRef.current],(e.shards||[]).map(ng),!0).filter(Boolean);return m.forEach(function(w){return w.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),m.forEach(function(w){return w.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var u=i.useCallback(function(m,w){if("touches"in m&&m.touches.length===2)return!l.current.allowPinchZoom;var x=ai(m),D=r.current,E="deltaX"in m?m.deltaX:D[0]-x[0],b="deltaY"in m?m.deltaY:D[1]-x[1],C,S=m.target,A=Math.abs(E)>Math.abs(b)?"h":"v";if("touches"in m&&A==="h"&&S.type==="range")return!1;var k=tg(A,S);if(!k)return!0;if(k?C=A:(C=A==="v"?"h":"v",k=tg(A,S)),!k)return!1;if(!n.current&&"changedTouches"in m&&(E||b)&&(n.current=C),!C)return!0;var _=n.current||C;return GA(_,w,m,_==="h"?E:b,!0)},[]),c=i.useCallback(function(m){var w=m;if(!(!fn.length||fn[fn.length-1]!==o)){var x="deltaY"in w?rg(w):ai(w),D=t.current.filter(function(C){return C.name===w.type&&C.target===w.target&&KA(C.delta,x)})[0];if(D&&D.should){w.cancelable&&w.preventDefault();return}if(!D){var E=(l.current.shards||[]).map(ng).filter(Boolean).filter(function(C){return C.contains(w.target)}),b=E.length>0?u(w,E[0]):!l.current.noIsolation;b&&w.cancelable&&w.preventDefault()}}},[]),d=i.useCallback(function(m,w,x,D){var E={name:m,delta:w,target:x,should:D};t.current.push(E),setTimeout(function(){t.current=t.current.filter(function(b){return b!==E})},1)},[]),p=i.useCallback(function(m){r.current=ai(m),n.current=void 0},[]),g=i.useCallback(function(m){d(m.type,rg(m),m.target,u(m,e.lockRef.current))},[]),h=i.useCallback(function(m){d(m.type,ai(m),m.target,u(m,e.lockRef.current))},[]);i.useEffect(function(){return fn.push(o),e.setCallbacks({onScrollCapture:g,onWheelCapture:g,onTouchMoveCapture:h}),document.addEventListener("wheel",c,pn),document.addEventListener("touchmove",c,pn),document.addEventListener("touchstart",p,pn),function(){fn=fn.filter(function(m){return m!==o}),document.removeEventListener("wheel",c,pn),document.removeEventListener("touchmove",c,pn),document.removeEventListener("touchstart",p,pn)}},[]);var f=e.removeScrollBar,y=e.inert;return i.createElement(i.Fragment,null,y?i.createElement(o,{styles:YA(a)}):null,f?i.createElement(HA,{gapMode:"margin"}):null)}s(Pw,"RemoveScrollSideCar");var JA=_w(Iw,Pw),Nw=i.forwardRef(function(e,t){return i.createElement(es,mt({},e,{ref:t,sideCar:JA}))});Nw.classNames=es.classNames;var XA=Nw,QA=s(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),hn=new WeakMap,oi=new WeakMap,ii={},Sc=0,Hw=s(function(e){return e&&(e.host||Hw(e.parentNode))},"unwrapHost"),eF=s(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=Hw(r);return n&&e.contains(n)?n:(console.error("aria-hidden",r,"in not contained inside",e,". Doing nothing"),null)}).filter(function(r){return!!r})},"correctTargets"),tF=s(function(e,t,r,n){var a=eF(t,Array.isArray(e)?e:[e]);ii[r]||(ii[r]=new WeakMap);var o=ii[r],l=[],u=new Set,c=new Set(a),d=s(function(g){!g||u.has(g)||(u.add(g),d(g.parentNode))},"keep");a.forEach(d);var p=s(function(g){!g||c.has(g)||Array.prototype.forEach.call(g.children,function(h){if(u.has(h))p(h);else{var f=h.getAttribute(n),y=f!==null&&f!=="false",m=(hn.get(h)||0)+1,w=(o.get(h)||0)+1;hn.set(h,m),o.set(h,w),l.push(h),m===1&&y&&oi.set(h,!0),w===1&&h.setAttribute(r,"true"),y||h.setAttribute(n,"true")}})},"deep");return p(t),u.clear(),Sc++,function(){l.forEach(function(g){var h=hn.get(g)-1,f=o.get(g)-1;hn.set(g,h),o.set(g,f),h||(oi.has(g)||g.removeAttribute(n),oi.delete(g)),f||g.removeAttribute(r)}),Sc--,Sc||(hn=new WeakMap,hn=new WeakMap,oi=new WeakMap,ii={})}},"applyAttributeToOthers"),rF=s(function(e,t,r){r===void 0&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),a=t||QA(e);return a?(n.push.apply(n,Array.from(a.querySelectorAll("[aria-live]"))),tF(n,a,r,"aria-hidden")):function(){return null}},"hideOthers");rt();var $w=i.forwardRef((e,t)=>{let{children:r,...n}=e,a=i.Children.toArray(r),o=a.find(jw);if(o){let l=o.props.children,u=a.map(c=>c===o?i.Children.count(l)>1?i.Children.only(null):i.isValidElement(l)?l.props.children:null:c);return i.createElement(sd,G({},n,{ref:t}),i.isValidElement(l)?i.cloneElement(l,void 0,u):null)}return i.createElement(sd,G({},n,{ref:t}),r)});$w.displayName="Slot";var sd=i.forwardRef((e,t)=>{let{children:r,...n}=e;return i.isValidElement(r)?i.cloneElement(r,{...Vw(n,r.props),ref:t?Xl(t,r.ref):r.ref}):i.Children.count(r)>1?i.Children.only(null):null});sd.displayName="SlotClone";var nF=s(({children:e})=>i.createElement(i.Fragment,null,e),"$5e63c961fc1ce211$export$d9f1ccf0bdb05d45");function jw(e){return i.isValidElement(e)&&e.type===nF}s(jw,"$5e63c961fc1ce211$var$isSlottable");function Vw(e,t){let r={...t};for(let n in t){let a=e[n],o=t[n];/^on[A-Z]/.test(n)?a&&o?r[n]=(...l)=>{o(...l),a(...l)}:a&&(r[n]=a):n==="style"?r[n]={...a,...o}:n==="className"&&(r[n]=[a,o].filter(Boolean).join(" "))}return{...e,...r}}s(Vw,"$5e63c961fc1ce211$var$mergeProps");var qw="Dialog",[Uw,aF]=rw(qw),[oF,at]=Uw(qw),Ww=s(e=>{let{__scopeDialog:t,children:r,open:n,defaultOpen:a,onOpenChange:o,modal:l=!0}=e,u=i.useRef(null),c=i.useRef(null),[d=!1,p]=aw({prop:n,defaultProp:a,onChange:o});return i.createElement(oF,{scope:t,triggerRef:u,contentRef:c,contentId:Ai(),titleId:Ai(),descriptionId:Ai(),open:d,onOpenChange:p,onOpenToggle:i.useCallback(()=>p(g=>!g),[p]),modal:l},r)},"$5d3850c4d0b4e6c7$export$3ddf2d174ce01153"),iF="DialogTrigger",Gw=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(iF,r),o=Qr(t,a.triggerRef);return i.createElement(fr.button,G({type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":ts(a.open)},n,{ref:o,onClick:Nt(e.onClick,a.onOpenToggle)}))}),Kw="DialogPortal",[lF,Yw]=Uw(Kw,{forceMount:void 0}),Zw=s(e=>{let{__scopeDialog:t,forceMount:r,children:n,container:a}=e,o=at(Kw,t);return i.createElement(lF,{scope:t,forceMount:r},i.Children.map(n,l=>i.createElement(Ql,{present:r||o.open},i.createElement(_A,{asChild:!0,container:a},l))))},"$5d3850c4d0b4e6c7$export$dad7c95542bacce0"),ud="DialogOverlay",Jw=i.forwardRef((e,t)=>{let r=Yw(ud,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=at(ud,e.__scopeDialog);return o.modal?i.createElement(Ql,{present:n||o.open},i.createElement(sF,G({},a,{ref:t}))):null}),sF=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(ud,r);return i.createElement(XA,{as:$w,allowPinchZoom:!0,shards:[a.contentRef]},i.createElement(fr.div,G({"data-state":ts(a.open)},n,{ref:t,style:{pointerEvents:"auto",...n.style}})))}),Wn="DialogContent",Xw=i.forwardRef((e,t)=>{let r=Yw(Wn,e.__scopeDialog),{forceMount:n=r.forceMount,...a}=e,o=at(Wn,e.__scopeDialog);return i.createElement(Ql,{present:n||o.open},o.modal?i.createElement(uF,G({},a,{ref:t})):i.createElement(cF,G({},a,{ref:t})))}),uF=i.forwardRef((e,t)=>{let r=at(Wn,e.__scopeDialog),n=i.useRef(null),a=Qr(t,r.contentRef,n);return i.useEffect(()=>{let o=n.current;if(o)return rF(o)},[]),i.createElement(Qw,G({},e,{ref:a,trapFocus:r.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Nt(e.onCloseAutoFocus,o=>{var l;o.preventDefault(),(l=r.triggerRef.current)===null||l===void 0||l.focus()}),onPointerDownOutside:Nt(e.onPointerDownOutside,o=>{let l=o.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0;(l.button===2||u)&&o.preventDefault()}),onFocusOutside:Nt(e.onFocusOutside,o=>o.preventDefault())}))}),cF=i.forwardRef((e,t)=>{let r=at(Wn,e.__scopeDialog),n=i.useRef(!1),a=i.useRef(!1);return i.createElement(Qw,G({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:s(o=>{var l;if((l=e.onCloseAutoFocus)===null||l===void 0||l.call(e,o),!o.defaultPrevented){var u;n.current||(u=r.triggerRef.current)===null||u===void 0||u.focus(),o.preventDefault()}n.current=!1,a.current=!1},"onCloseAutoFocus"),onInteractOutside:s(o=>{var l,u;(l=e.onInteractOutside)===null||l===void 0||l.call(e,o),o.defaultPrevented||(n.current=!0,o.detail.originalEvent.type==="pointerdown"&&(a.current=!0));let c=o.target;!((u=r.triggerRef.current)===null||u===void 0)&&u.contains(c)&&o.preventDefault(),o.detail.originalEvent.type==="focusin"&&a.current&&o.preventDefault()},"onInteractOutside")}))}),Qw=i.forwardRef((e,t)=>{let{__scopeDialog:r,trapFocus:n,onOpenAutoFocus:a,onCloseAutoFocus:o,...l}=e,u=at(Wn,r),c=i.useRef(null),d=Qr(t,c);return Ew(),i.createElement(i.Fragment,null,i.createElement(FA,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:a,onUnmountAutoFocus:o},i.createElement(AA,G({role:"dialog",id:u.contentId,"aria-describedby":u.descriptionId,"aria-labelledby":u.titleId,"data-state":ts(u.open)},l,{ref:d,onDismiss:s(()=>u.onOpenChange(!1),"onDismiss")}))),!1)}),e6="DialogTitle",t6=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(e6,r);return i.createElement(fr.h2,G({id:a.titleId},n,{ref:t}))}),dF="DialogDescription",r6=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(dF,r);return i.createElement(fr.p,G({id:a.descriptionId},n,{ref:t}))}),pF="DialogClose",n6=i.forwardRef((e,t)=>{let{__scopeDialog:r,...n}=e,a=at(pF,r);return i.createElement(fr.button,G({type:"button"},n,{ref:t,onClick:Nt(e.onClick,()=>a.onOpenChange(!1))}))});function ts(e){return e?"open":"closed"}s(ts,"$5d3850c4d0b4e6c7$var$getState");var fF="DialogTitleWarning",[hF,AP]=tw(fF,{contentName:Wn,titleName:e6,docsSlug:"dialog"}),a6=Ww,mF=Gw,o6=Zw,i6=Jw,l6=Xw,s6=t6,u6=r6,c6=n6,d6={};Yn(d6,{Actions:()=>CF,CloseButton:()=>m6,Col:()=>v6,Container:()=>h6,Content:()=>wF,Description:()=>xF,Error:()=>SF,ErrorWrapper:()=>y6,Header:()=>EF,Overlay:()=>f6,Row:()=>g6,Title:()=>DF});Gv();const{deprecate:gF}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var en=i.forwardRef(({asChild:e=!1,animation:t="none",size:r="small",variant:n="outline",padding:a="medium",disabled:o=!1,active:l=!1,onClick:u,...c},d)=>{let p="button";c.isLink&&(p="a"),e&&(p=Ti);let g=n,h=r,[f,y]=i.useState(!1),m=s(w=>{u&&u(w),t!=="none"&&y(!0)},"handleClick");if(i.useEffect(()=>{let w=setTimeout(()=>{f&&y(!1)},1e3);return()=>clearTimeout(w)},[f]),c.primary&&(g="solid",h="medium"),(c.secondary||c.tertiary||c.gray||c.outline||c.inForm)&&(g="outline",h="medium"),c.small||c.isLink||c.primary||c.secondary||c.tertiary||c.gray||c.outline||c.inForm||c.containsIcon){let w=v.Children.toArray(c.children).filter(x=>typeof x=="string"&&x!=="");gF(`Use of deprecated props in the button ${w.length>0?`"${w.join(" ")}"`:"component"} detected, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#new-ui-and-props-for-button-and-iconbutton-components`)}return v.createElement(vF,{as:p,ref:d,variant:g,size:h,padding:a,disabled:o,active:l,animating:f,animation:t,onClick:m,...c})});en.displayName="Button";var vF=F("button",{shouldForwardProp:s(e=>qg(e),"shouldForwardProp")})(({theme:e,variant:t,size:r,disabled:n,active:a,animating:o,animation:l="none",padding:u})=>({border:0,cursor:n?"not-allowed":"pointer",display:"inline-flex",gap:"6px",alignItems:"center",justifyContent:"center",overflow:"hidden",padding:u==="small"&&r==="small"?"0 7px":u==="small"&&r==="medium"?"0 9px":r==="small"?"0 10px":r==="medium"?"0 12px":0,height:r==="small"?"28px":"32px",position:"relative",textAlign:"center",textDecoration:"none",transitionProperty:"background, box-shadow",transitionDuration:"150ms",transitionTimingFunction:"ease-out",verticalAlign:"top",whiteSpace:"nowrap",userSelect:"none",opacity:n?.5:1,margin:0,fontSize:`${e.typography.size.s1}px`,fontWeight:e.typography.weight.bold,lineHeight:"1",background:t==="solid"?e.color.secondary:t==="outline"?e.button.background:t==="ghost"&&a?e.background.hoverable:"transparent",...t==="ghost"?{".sb-bar &":{background:a?Ne(.9,e.barTextColor):"transparent",color:a?e.barSelectedColor:e.barTextColor,"&:hover":{color:e.barHoverColor,background:Ne(.86,e.barHoverColor)},"&:active":{color:e.barSelectedColor,background:Ne(.9,e.barSelectedColor)},"&:focus":{boxShadow:`${lo(e.barHoverColor,1)} 0 0 0 1px inset`,outline:"none"}}}:{},color:t==="solid"?e.color.lightest:t==="outline"?e.input.color:t==="ghost"&&a?e.color.secondary:t==="ghost"?e.color.mediumdark:e.input.color,boxShadow:t==="outline"?`${e.button.border} 0 0 0 1px inset`:"none",borderRadius:e.input.borderRadius,flexShrink:0,"&:hover":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?Ne(.86,e.color.secondary):e.base==="light"?Cn(.02,c):Z2(.03,c)})()},"&:active":{color:t==="ghost"?e.color.secondary:void 0,background:(()=>{let c=e.color.secondary;return t==="solid"&&(c=e.color.secondary),t==="outline"&&(c=e.button.background),t==="ghost"?e.background.hoverable:e.base==="light"?Cn(.02,c):Z2(.03,c)})()},"&:focus":{boxShadow:`${lo(e.color.secondary,1)} 0 0 0 1px inset`,outline:"none"},"> svg":{animation:o&&l!=="none"?`${e.animation[l]} 1000ms ease-out`:""}})),Pr=i.forwardRef(({padding:e="small",variant:t="ghost",...r},n)=>v.createElement(en,{padding:e,variant:t,ref:n,...r}));Pr.displayName="IconButton";var p6=co({from:{opacity:0},to:{opacity:1}}),yF=co({from:{maxHeight:0},to:{}}),bF=co({from:{opacity:0,transform:"translate(-50%, -50%) scale(0.9)"},to:{opacity:1,transform:"translate(-50%, -50%) scale(1)"}}),f6=F.div({backdropFilter:"blur(24px)",position:"fixed",inset:0,width:"100%",height:"100%",zIndex:10,animation:`${p6} 200ms`}),h6=F.div(({theme:e,width:t,height:r})=>({backgroundColor:e.background.bar,borderRadius:6,boxShadow:"0px 4px 67px 0px #00000040",position:"fixed",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:t??740,height:r??"auto",maxWidth:"calc(100% - 40px)",maxHeight:"85vh",overflow:"hidden",zIndex:11,animation:`${bF} 200ms`,"&:focus-visible":{outline:"none"}})),m6=s(e=>v.createElement(c6,{asChild:!0},v.createElement(Pr,{...e},v.createElement(Jb,null))),"CloseButton"),wF=F.div({display:"flex",flexDirection:"column",margin:16,gap:16}),g6=F.div({display:"flex",justifyContent:"space-between",gap:16}),v6=F.div({display:"flex",flexDirection:"column",gap:4}),EF=s(e=>v.createElement(g6,null,v.createElement(v6,{...e}),v.createElement(m6,null)),"Header"),DF=F(s6)(({theme:e})=>({margin:0,fontSize:e.typography.size.s3,fontWeight:e.typography.weight.bold})),xF=F(u6)(({theme:e})=>({position:"relative",zIndex:1,margin:0,fontSize:e.typography.size.s2})),CF=F.div({display:"flex",flexDirection:"row-reverse",gap:8}),y6=F.div(({theme:e})=>({maxHeight:100,overflow:"auto",animation:`${yF} 300ms, ${p6} 300ms`,backgroundColor:e.background.critical,color:e.color.lightest,fontSize:e.typography.size.s2,"& > div":{position:"relative",padding:"8px 16px"}})),SF=s(({children:e,...t})=>v.createElement(y6,{...t},v.createElement("div",null,e)),"Error");function b6({children:e,width:t,height:r,onEscapeKeyDown:n,onInteractOutside:a=s(c=>c.preventDefault(),"onInteractOutside"),className:o,container:l,...u}){return v.createElement(a6,{...u},v.createElement(o6,{container:l},v.createElement(i6,{asChild:!0},v.createElement(f6,null)),v.createElement(l6,{asChild:!0,onInteractOutside:a,onEscapeKeyDown:n},v.createElement(h6,{className:o,width:t,height:r},e))))}s(b6,"BaseModal");var FP=Object.assign(b6,d6,{Dialog:Qb}),kF=s(e=>typeof e=="number"?e:Number(e),"toNumber"),AF=F.div(({theme:e,col:t,row:r=1})=>t?{display:"inline-block",verticalAlign:"inherit","& > *":{marginLeft:t*e.layoutMargin,verticalAlign:"inherit"},[`& > *:first-child${Oc}`]:{marginLeft:0}}:{"& > *":{marginTop:r*e.layoutMargin},[`& > *:first-child${Oc}`]:{marginTop:0}},({theme:e,outer:t,col:r,row:n})=>{switch(!0){case!!(t&&r):return{marginLeft:t*e.layoutMargin,marginRight:t*e.layoutMargin};case!!(t&&n):return{marginTop:t*e.layoutMargin,marginBottom:t*e.layoutMargin};default:return{}}}),_P=s(({col:e,row:t,outer:r,children:n,...a})=>{let o=kF(typeof r=="number"||!r?r:e||t);return v.createElement(AF,{col:e,row:t,outer:o,...a},n)},"Spaced"),FF=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),_F=F.div(),IF=F.div(({theme:e})=>({padding:30,textAlign:"center",color:e.color.defaultText,fontSize:e.typography.size.s2-1})),IP=s(({children:e,...t})=>{let[r,n]=i.Children.toArray(e);return v.createElement(IF,{...t},v.createElement(FF,null,r),n&&v.createElement(_F,null,n))},"Placeholder");Nd();function w6(e,t){var r=i.useRef(null),n=i.useRef(null);n.current=t;var a=i.useRef(null);i.useEffect(function(){o()});var o=i.useCallback(function(){var l=a.current,u=n.current,c=l||(u?u instanceof Element?u:u.current:null);r.current&&r.current.element===c&&r.current.subscriber===e||(r.current&&r.current.cleanup&&r.current.cleanup(),r.current={element:c,subscriber:e,cleanup:c?e(c):void 0})},[e]);return i.useEffect(function(){return function(){r.current&&r.current.cleanup&&(r.current.cleanup(),r.current=null)}},[]),i.useCallback(function(l){a.current=l,o()},[o])}s(w6,"useResolvedElement");function cd(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0}s(cd,"extractSize");function ap(e){e===void 0&&(e={});var t=e.onResize,r=i.useRef(void 0);r.current=t;var n=e.round||Math.round,a=i.useRef(),o=i.useState({width:void 0,height:void 0}),l=o[0],u=o[1],c=i.useRef(!1);i.useEffect(function(){return c.current=!1,function(){c.current=!0}},[]);var d=i.useRef({width:void 0,height:void 0}),p=w6(i.useCallback(function(g){return(!a.current||a.current.box!==e.box||a.current.round!==n)&&(a.current={box:e.box,round:n,instance:new ResizeObserver(function(h){var f=h[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",m=cd(f,y,"inlineSize"),w=cd(f,y,"blockSize"),x=m?n(m):void 0,D=w?n(w):void 0;if(d.current.width!==x||d.current.height!==D){var E={width:x,height:D};d.current.width=x,d.current.height=D,r.current?r.current(E):c.current||u(E)}})}),a.current.instance.observe(g,{box:e.box}),function(){a.current&&a.current.instance.unobserve(g)}},[e.box,n]),e.ref);return i.useMemo(function(){return{ref:p,width:l.width,height:l.height}},[p,l.width,l.height])}s(ap,"useResizeObserver");var RF=F.div(({scale:e=1,elementHeight:t})=>({height:t||"auto",transformOrigin:"top left",transform:`scale(${1/e})`}));function E6({scale:e,children:t}){let r=i.useRef(null),[n,a]=i.useState(0),o=i.useCallback(({height:l})=>{l&&a(l/e)},[e]);return i.useEffect(()=>{r.current&&a(r.current.getBoundingClientRect().height)},[e]),ap({ref:r,onResize:o}),v.createElement(RF,{scale:e,elementHeight:n},v.createElement("div",{ref:r,className:"innerZoomElementWrapper"},t))}s(E6,"ZoomElement");var D6=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{iFrameRef:t}=this.props;this.iframe=t.current}shouldComponentUpdate(t){let{scale:r,active:n}=this.props;return r!==t.scale&&this.setIframeInnerZoom(t.scale),n!==t.active&&this.iframe.setAttribute("data-is-storybook",t.active?"true":"false"),t.children.props.src!==this.props.children.props.src}setIframeInnerZoom(t){try{Object.assign(this.iframe.contentDocument.body.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}catch{this.setIframeZoom(t)}}setIframeZoom(t){Object.assign(this.iframe.style,{width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"})}render(){let{children:t}=this.props;return v.createElement(v.Fragment,null,t)}};s(D6,"ZoomIFrame");var BF=D6,zF={Element:E6,IFrame:BF};Fd();var{document:TF}=vl,LF=F.strong(({theme:e})=>({color:e.color.orange})),MF=F.strong(({theme:e})=>({color:e.color.ancillary,textDecoration:"underline"})),ag=F.em(({theme:e})=>({color:e.textMutedColor})),OF=/(Error): (.*)\n/,PF=/at (?:(.*) )?\(?(.+)\)?/,NF=/([^@]+)?(?:\/<)?@(.+)?/,HF=/([^@]+)?@(.+)?/,$F=s(({error:e})=>{if(!e)return v.createElement(i.Fragment,null,"This error has no stack or message");if(!e.stack)return v.createElement(i.Fragment,null,e.message||"This error has no stack or message");let t=e.stack.toString();t&&e.message&&!t.includes(e.message)&&(t=`Error: ${e.message} - -${t}`);let r=t.match(OF);if(!r)return v.createElement(i.Fragment,null,t);let[,n,a]=r,o=t.split(/\n/).slice(1),[,...l]=o.map(u=>{let c=u.match(PF)||u.match(NF)||u.match(HF);return c?{name:(c[1]||"").replace("/<",""),location:c[2].replace(TF.location.origin,"")}:null}).filter(Boolean);return v.createElement(i.Fragment,null,v.createElement("span",null,n),": ",v.createElement(LF,null,a),v.createElement("br",null),l.map((u,c)=>u!=null&&u.name?v.createElement(i.Fragment,{key:c}," ","at ",v.createElement(MF,null,u.name)," (",v.createElement(ag,null,u.location),")",v.createElement("br",null)):v.createElement(i.Fragment,{key:c}," ","at ",v.createElement(ag,null,u==null?void 0:u.location),v.createElement("br",null))))},"ErrorFormatter"),jF=F.label(({theme:e})=>({display:"flex",borderBottom:`1px solid ${e.appBorderColor}`,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),VF=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),qF=s(({label:e,children:t,...r})=>v.createElement(jF,{...r},e?v.createElement(VF,null,v.createElement("span",null,e)):null,t),"Field");rt();_d();var UF=i.useLayoutEffect,WF=UF,GF=s(function(e){var t=i.useRef(e);return WF(function(){t.current=e}),t},"useLatest"),og=s(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),KF=s(function(e,t){var r=i.useRef();return i.useCallback(function(n){e.current=n,r.current&&og(r.current,null),r.current=t,t&&og(t,n)},[t])},"useComposedRef"),YF=KF,ig={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},ZF=s(function(e){Object.keys(ig).forEach(function(t){e.style.setProperty(t,ig[t],"important")})},"forceHiddenStyles"),lg=ZF,De=null,sg=s(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function x6(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),De||(De=document.createElement("textarea"),De.setAttribute("tabindex","-1"),De.setAttribute("aria-hidden","true"),lg(De)),De.parentNode===null&&document.body.appendChild(De);var a=e.paddingSize,o=e.borderSize,l=e.sizingStyle,u=l.boxSizing;Object.keys(l).forEach(function(h){var f=h;De.style[f]=l[f]}),lg(De),De.value=t;var c=sg(De,e);De.value=t,c=sg(De,e),De.value="x";var d=De.scrollHeight-a,p=d*r;u==="border-box"&&(p=p+a+o),c=Math.max(p,c);var g=d*n;return u==="border-box"&&(g=g+a+o),c=Math.min(g,c),[c,d]}s(x6,"calculateNodeHeight");var ug=s(function(){},"noop"),JF=s(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),XF=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],QF=!!document.documentElement.currentStyle,e_=s(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=JF(XF,t),n=r.boxSizing;if(n==="")return null;QF&&n==="border-box"&&(r.width=parseFloat(r.width)+parseFloat(r.borderRightWidth)+parseFloat(r.borderLeftWidth)+parseFloat(r.paddingRight)+parseFloat(r.paddingLeft)+"px");var a=parseFloat(r.paddingBottom)+parseFloat(r.paddingTop),o=parseFloat(r.borderBottomWidth)+parseFloat(r.borderTopWidth);return{sizingStyle:r,paddingSize:a,borderSize:o}},"getSizingData"),t_=e_;function op(e,t,r){var n=GF(r);i.useLayoutEffect(function(){var a=s(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}s(op,"useListener");var r_=s(function(e){op(window,"resize",e)},"useWindowResizeListener"),n_=s(function(e){op(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),a_=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],o_=s(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,l=o===void 0?ug:o,u=e.onHeightChange,c=u===void 0?ug:u,d=bl(e,a_),p=d.value!==void 0,g=i.useRef(null),h=YF(g,t),f=i.useRef(0),y=i.useRef(),m=s(function(){var x=g.current,D=r&&y.current?y.current:t_(x);if(D){y.current=D;var E=x6(D,x.value||x.placeholder||"x",a,n),b=E[0],C=E[1];f.current!==b&&(f.current=b,x.style.setProperty("height",b+"px","important"),c(b,{rowHeight:C}))}},"resizeTextarea"),w=s(function(x){p||m(),l(x)},"handleChange");return i.useLayoutEffect(m),r_(m),n_(m),i.createElement("textarea",G({},d,{onChange:w,ref:h}))},"TextareaAutosize"),i_=i.forwardRef(o_),l_={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},ip=s(({theme:e})=>({...l_,transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:e.input.color||"inherit",background:e.input.background,boxShadow:`${e.input.border} 0 0 0 1px inset`,borderRadius:e.input.borderRadius,fontSize:e.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px",boxSizing:"border-box",height:32,'&[type="file"]':{height:"auto"},"&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:`0 0 0 3em ${e.color.lightest} inset`},"&::placeholder":{color:e.textMutedColor,opacity:1}}),"styles"),lp=s(({size:e})=>{switch(e){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},"sizes"),C6=s(({align:e})=>{switch(e){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},"alignment"),sp=s(({valid:e,theme:t})=>{switch(e){case"valid":return{boxShadow:`${t.color.positive} 0 0 0 1px inset !important`};case"error":return{boxShadow:`${t.color.negative} 0 0 0 1px inset !important`};case"warn":return{boxShadow:`${t.color.warning} 0 0 0 1px inset`};case void 0:case null:default:return{}}},"validation"),s_=Object.assign(F(i.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return v.createElement("input",{...n,ref:a})},"Input")))(ip,lp,C6,sp,{minHeight:32}),{displayName:"Input"}),u_=Object.assign(F(i.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return v.createElement("select",{...n,ref:a})},"Select")))(ip,lp,sp,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),c_=Object.assign(F(i.forwardRef(s(function({size:e,valid:t,align:r,...n},a){return v.createElement(i_,{...n,ref:a})},"Textarea")))(ip,lp,C6,sp,({height:e=400})=>({overflow:"visible",maxHeight:e})),{displayName:"Textarea"}),Io=Object.assign(F.form({boxSizing:"border-box",width:"100%"}),{Field:qF,Input:s_,Select:u_,Textarea:c_,Button:en}),d_=i.lazy(()=>Promise.resolve().then(()=>(Y1(),K1)).then(e=>({default:e.WithTooltip}))),BP=s(e=>v.createElement(i.Suspense,{fallback:v.createElement("div",null)},v.createElement(d_,{...e})),"WithTooltip"),p_=i.lazy(()=>Promise.resolve().then(()=>(Y1(),K1)).then(e=>({default:e.WithTooltipPure}))),f_=s(e=>v.createElement(i.Suspense,{fallback:v.createElement("div",null)},v.createElement(p_,{...e})),"WithTooltipPure"),h_=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold})),m_=F.span(),g_=F.div(({theme:e})=>({marginTop:8,textAlign:"center","> *":{margin:"0 8px",fontWeight:e.typography.weight.bold}})),v_=F.div(({theme:e})=>({color:e.color.defaultText,lineHeight:"18px"})),y_=F.div({padding:15,width:280,boxSizing:"border-box"}),zP=s(({title:e,desc:t,links:r})=>v.createElement(y_,null,v.createElement(v_,null,e&&v.createElement(h_,null,e),t&&v.createElement(m_,null,t)),r&&v.createElement(g_,null,r.map(({title:n,...a})=>v.createElement(Mn,{...a,key:n},n)))),"TooltipMessage"),b_=F.div(({theme:e})=>({padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:e.typography.weight.bold,color:e.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:e.base==="light"?"rgba(60, 60, 60, 0.9)":"rgba(0, 0, 0, 0.95)",margin:6})),TP=s(({note:e,...t})=>v.createElement(b_,{...t},e),"TooltipNote"),w_=me(yl(),1),E_=F(({active:e,loading:t,disabled:r,...n})=>v.createElement("span",{...n}))(({theme:e})=>({color:e.color.defaultText,fontWeight:e.typography.weight.regular}),({active:e,theme:t})=>e?{color:t.color.secondary,fontWeight:t.typography.weight.bold}:{},({loading:e,theme:t})=>e?{display:"inline-block",flex:"none",...t.animation.inlineGlow}:{},({disabled:e,theme:t})=>e?{color:Ne(.7,t.color.defaultText)}:{}),D_=F.span({display:"flex","& svg":{height:12,width:12,margin:"3px 0",verticalAlign:"top"},"& path":{fill:"inherit"}}),x_=F.span({flex:1,textAlign:"left",display:"flex",flexDirection:"column"},({isIndented:e})=>e?{marginLeft:24}:{}),C_=F.span(({theme:e})=>({fontSize:"11px",lineHeight:"14px"}),({active:e,theme:t})=>e?{color:t.color.secondary}:{},({theme:e,disabled:t})=>t?{color:e.textMutedColor}:{}),S_=F.span(({active:e,theme:t})=>e?{color:t.color.secondary}:{},()=>({display:"flex",maxWidth:14})),k_=F.div(({theme:e})=>({width:"100%",border:"none",background:"none",fontSize:e.typography.size.s1,transition:"all 150ms ease-out",color:e.color.dark,textDecoration:"none",justifyContent:"space-between",lineHeight:"18px",padding:"7px 10px",display:"flex",alignItems:"center","& > * + *":{paddingLeft:10}}),({theme:e,href:t,onClick:r})=>(t||r)&&{cursor:"pointer","&:hover":{background:e.background.hoverable},"&:hover svg":{opacity:1}},({disabled:e})=>e&&{cursor:"not-allowed"}),A_=(0,w_.default)(100)((e,t,r)=>({...e&&{as:"button",onClick:e},...t&&{as:"a",href:t,...r&&{as:r,to:t}}})),F_=s(({loading:e=!1,title:t=v.createElement("span",null,"Loading state"),center:r=null,right:n=null,active:a=!1,disabled:o=!1,isIndented:l,href:u=void 0,onClick:c=void 0,icon:d,LinkWrapper:p=void 0,...g})=>{let h={active:a,disabled:o},f=A_(c,u,p);return v.createElement(k_,{...g,...h,...f},v.createElement(v.Fragment,null,d&&v.createElement(S_,{...h},d),t||r?v.createElement(x_,{isIndented:!!(!d&&l)},t&&v.createElement(E_,{...h,loading:e},t),r&&v.createElement(C_,{...h},r)):null,n&&v.createElement(D_,{...h},n)))},"ListItem"),__=F_,I_=F.div({minWidth:180,overflow:"hidden",overflowY:"auto",maxHeight:15.5*32},({theme:e})=>({borderRadius:e.appBorderRadius})),R_=s(({id:e,onClick:t,...r})=>{let{active:n,disabled:a,title:o,href:l}=r,u=i.useCallback(c=>t==null?void 0:t(c,{id:e,active:n,disabled:a,title:o,href:l}),[t,e,n,a,o,l]);return v.createElement(__,{id:`list-item-${e}`,...r,...t&&{onClick:u}})},"Item"),B_=s(({links:e,LinkWrapper:t,...r})=>{let n=e.some(a=>a.icon);return v.createElement(I_,{...r},e.map(a=>v.createElement(R_,{key:a.id,isIndented:n,LinkWrapper:t,...a})))},"TooltipLinkList");Nd();var dd=F.div({display:"flex",whiteSpace:"nowrap",flexBasis:"auto",marginLeft:3,marginRight:3},({scrollable:e})=>e?{flexShrink:0}:{},({left:e})=>e?{"& > *":{marginLeft:4}}:{},({right:e})=>e?{marginLeft:30,"& > *":{marginRight:4}}:{});dd.displayName="Side";var z_=s(({children:e,className:t,scrollable:r})=>r?v.createElement(Mi,{vertical:!1,className:t},e):v.createElement("div",{className:t},e),"UnstyledBar"),S6=F(z_)(({theme:e,scrollable:t=!0})=>({color:e.barTextColor,width:"100%",height:40,flexShrink:0,overflow:t?"auto":"hidden",overflowY:"hidden"}),({theme:e,border:t=!1})=>t?{boxShadow:`${e.appBorderColor} 0 -1px 0 0 inset`,background:e.barBg}:{});S6.displayName="Bar";var T_=F.div(({bgColor:e})=>({display:"flex",justifyContent:"space-between",position:"relative",flexWrap:"nowrap",flexShrink:0,height:40,backgroundColor:e||""})),up=s(({children:e,backgroundColor:t,className:r,...n})=>{let[a,o]=i.Children.toArray(e);return v.createElement(S6,{className:`sb-bar ${r}`,...n},v.createElement(T_,{bgColor:t},v.createElement(dd,{scrollable:n.scrollable,left:!0},a),o?v.createElement(dd,{right:!0},o):null))},"FlexBar");up.displayName="FlexBar";var L_=s(e=>typeof e.props.href=="string","isLink"),M_=s(e=>typeof e.props.href!="string","isButton");function k6({children:e,...t},r){let n={props:t,ref:r};if(L_(n))return v.createElement("a",{ref:n.ref,...n.props},e);if(M_(n))return v.createElement("button",{ref:n.ref,type:"button",...n.props},e);throw new Error("invalid props")}s(k6,"ForwardRefFunction");var A6=i.forwardRef(k6);A6.displayName="ButtonOrLink";var rs=F(A6,{shouldForwardProp:qg})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"},"&[hidden]":{display:"none"}},({theme:e})=>({padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:e.barSelectedColor}}),({active:e,textColor:t,theme:r})=>e?{color:t||r.barSelectedColor,borderBottomColor:r.barSelectedColor}:{color:t||r.barTextColor,borderBottomColor:"transparent","&:hover":{color:r.barHoverColor}});rs.displayName="TabButton";var O_=F.div(({theme:e})=>({width:14,height:14,backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),P_=F.div(()=>({marginTop:6,padding:7,height:28})),LP=s(()=>v.createElement(P_,null,v.createElement(O_,null)),"IconButtonSkeleton"),N_=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),H_=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),$_=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),j_=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),F6=s(({title:e,description:t,footer:r})=>v.createElement(N_,null,v.createElement(H_,null,v.createElement($_,null,e),t&&v.createElement(j_,null,t)),r),"EmptyTabContent"),_6=F.div(({active:e})=>e?{display:"block"}:{display:"none"}),V_=s(e=>i.Children.toArray(e).map(({props:{title:t,id:r,color:n,children:a}})=>{let o=Array.isArray(a)?a[0]:a;return{title:t,id:r,...n?{color:n}:{},render:typeof o=="function"?o:({active:l})=>v.createElement(_6,{active:l,role:"tabpanel"},o)}}),"childrenToList");Y1();var q_=F.span(({theme:e,isActive:t})=>({display:"inline-block",width:0,height:0,marginLeft:8,color:t?e.color.secondary:e.color.mediumdark,borderRight:"3px solid transparent",borderLeft:"3px solid transparent",borderTop:"3px solid",transition:"transform .1s ease-out"})),U_=F(rs)(({active:e,theme:t,preActive:r})=>` - color: ${r||e?t.barSelectedColor:t.barTextColor}; - .addon-collapsible-icon { - color: ${r||e?t.barSelectedColor:t.barTextColor}; - } - &:hover { - color: ${t.barHoverColor}; - .addon-collapsible-icon { - color: ${t.barHoverColor}; - } - } - `);function I6(e){let t=i.useRef(),r=i.useRef(),n=i.useRef(new Map),{width:a=1}=ap({ref:t}),[o,l]=i.useState(e),[u,c]=i.useState([]),d=i.useRef(e),p=i.useCallback(({menuName:h,actions:f})=>{let y=u.some(({active:x})=>x),[m,w]=i.useState(!1);return v.createElement(v.Fragment,null,v.createElement(cl,{interactive:!0,visible:m,onVisibleChange:w,placement:"bottom",delayHide:100,tooltip:v.createElement(B_,{links:u.map(({title:x,id:D,color:E,active:b})=>({id:D,title:x,color:E,active:b,onClick:s(C=>{C.preventDefault(),f.onSelect(D)},"onClick")}))})},v.createElement(U_,{ref:r,active:y,preActive:m,style:{visibility:u.length?"visible":"hidden"},"aria-hidden":!u.length,className:"tabbutton",type:"button",role:"tab"},h,v.createElement(q_,{className:"addon-collapsible-icon",isActive:y||m}))),u.map(({title:x,id:D,color:E},b)=>{let C=`index-${b}`;return v.createElement(rs,{id:`tabbutton-${Kg(D)??C}`,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(D,S)},className:"tabbutton",type:"button",key:D,textColor:E,role:"tab"},x)}))},[u]),g=i.useCallback(()=>{if(!t.current||!r.current)return;let{x:h,width:f}=t.current.getBoundingClientRect(),{width:y}=r.current.getBoundingClientRect(),m=u.length?h+f-y:h+f,w=[],x=0,D=e.filter(E=>{let{id:b}=E,C=n.current.get(b),{width:S=0}=(C==null?void 0:C.getBoundingClientRect())||{},A=h+x+S>m;return(!A||!C)&&w.push(E),x+=S,A});(w.length!==o.length||d.current!==e)&&(l(w),c(D),d.current=e)},[u.length,e,o]);return i.useLayoutEffect(g,[g,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:u,AddonTab:p}}s(I6,"useList");var W_="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",G_=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border:`1px solid ${e.appBorderColor}`,borderRadius:e.appBorderRadius,overflow:"hidden",boxSizing:"border-box"}:{},({absolute:e})=>e?{width:"100%",height:"100%",boxSizing:"border-box",display:"flex",flexDirection:"column"}:{display:"block"}),R6=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});R6.displayName="TabBar";var K_=F.div({display:"block",position:"relative"},({theme:e})=>({fontSize:e.typography.size.s2-1,background:e.background.content}),({bordered:e,theme:t})=>e?{borderRadius:`0 0 ${t.appBorderRadius-1}px ${t.appBorderRadius-1}px`}:{},({absolute:e,bordered:t})=>e?{height:`calc(100% - ${t?42:40}px)`,position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:40+(t?1:0),overflow:"auto",[`& > *:first-child${W_}`]:{position:"absolute",left:0+(t?1:0),right:0+(t?1:0),bottom:0+(t?1:0),top:0+(t?1:0),height:`calc(100% - ${t?2:0}px)`,overflow:"auto"}}:{}),MP=s(({active:e,render:t,children:r})=>v.createElement(_6,{active:e},t?t():r),"TabWrapper"),B6=i.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:l,id:u=null,menuName:c="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let g=i.useMemo(()=>V_(e).map((x,D)=>({...x,active:t?x.id===t:D===0})),[e,t]),{visibleList:h,tabBarRef:f,tabRefs:y,AddonTab:m}=I6(g),w=d??v.createElement(F6,{title:"Nothing found"});return!p&&g.length===0?w:v.createElement(G_,{absolute:n,bordered:a,id:u},v.createElement(up,{scrollable:!1,border:!0,backgroundColor:l},v.createElement(R6,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},h.map(({title:x,id:D,active:E,color:b},C)=>{let S=`index-${C}`;return v.createElement(rs,{id:`tabbutton-${Kg(D)??S}`,ref:A=>{y.current.set(D,A)},className:`tabbutton ${E?"tabbutton-active":""}`,type:"button",key:D,active:E,textColor:b,onClick:A=>{A.preventDefault(),r.onSelect(D)},role:"tab"},typeof x=="function"?v.createElement("title",null):x)}),v.createElement(m,{menuName:c,actions:r})),o),v.createElement(K_,{id:"panel-tab-content",bordered:a,absolute:n},g.length?g.map(({id:x,active:D,render:E})=>v.createElement(E,{key:x,active:D},null)):w))});B6.displayName="Tabs";var pd=class extends i.Component{constructor(t){super(t),this.handlers={onSelect:s(r=>this.setState({selected:r}),"onSelect")},this.state={selected:t.initial}}render(){let{bordered:t=!1,absolute:r=!1,children:n,backgroundColor:a,menuName:o}=this.props,{selected:l}=this.state;return v.createElement(B6,{bordered:t,absolute:r,selected:l,backgroundColor:a,menuName:o,actions:this.handlers},n)}};s(pd,"TabsState"),pd.defaultProps={children:[],initial:null,absolute:!1,bordered:!1,backgroundColor:"",menuName:void 0};var Y_=pd,z6=F.span(({theme:e})=>({width:1,height:20,background:e.appBorderColor,marginLeft:2,marginRight:2}),({force:e})=>e?{}:{"& + &":{display:"none"}});z6.displayName="Separator";var PP=s(e=>e.reduce((t,r,n)=>r?v.createElement(i.Fragment,{key:r.id||r.key||`f-${n}`},t,n>0?v.createElement(z6,{key:`s-${n}`}):null,r.render()||r):t,null),"interleaveSeparators"),Z_=s(e=>{let t=i.useRef();return i.useEffect(()=>{t.current=e},[e]),t.current},"usePrevious"),J_=s((e,t)=>{let r=Z_(t);return e?t:r},"useUpdate"),NP=s(({active:e,children:t})=>v.createElement("div",{hidden:!e},J_(e,t)),"AddonPanel");const{deprecate:X_,logger:Q_}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var eI=Yb,tI=F.svg` - display: inline-block; - shape-rendering: inherit; - vertical-align: middle; - fill: currentColor; - path { - fill: currentColor; - } -`,HP=s(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||X_(`Use of the deprecated Icons ${`(${e})`||""} component detected. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`);let a=fd[e]||null;if(!a)return Q_.warn(`Use of an unknown prop ${`(${e})`||""} in the Icons component. The Icons component is deprecated. Please use the @storybook/icons component directly. For more informations, see the migration notes at https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#icons-is-deprecated`),null;let o=eI[a];return v.createElement(o,{...n})},"Icons"),$P=i.memo(s(function({icons:e=Object.keys(fd)}){return v.createElement(tI,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>v.createElement("symbol",{id:`icon--${t}`,key:t},fd[t])))},"Symbols")),fd={user:"UserIcon",useralt:"UserAltIcon",useradd:"UserAddIcon",users:"UsersIcon",profile:"ProfileIcon",facehappy:"FaceHappyIcon",faceneutral:"FaceNeutralIcon",facesad:"FaceSadIcon",accessibility:"AccessibilityIcon",accessibilityalt:"AccessibilityAltIcon",arrowup:"ChevronUpIcon",arrowdown:"ChevronDownIcon",arrowleft:"ChevronLeftIcon",arrowright:"ChevronRightIcon",arrowupalt:"ArrowUpIcon",arrowdownalt:"ArrowDownIcon",arrowleftalt:"ArrowLeftIcon",arrowrightalt:"ArrowRightIcon",expandalt:"ExpandAltIcon",collapse:"CollapseIcon",expand:"ExpandIcon",unfold:"UnfoldIcon",transfer:"TransferIcon",redirect:"RedirectIcon",undo:"UndoIcon",reply:"ReplyIcon",sync:"SyncIcon",upload:"UploadIcon",download:"DownloadIcon",back:"BackIcon",proceed:"ProceedIcon",refresh:"RefreshIcon",globe:"GlobeIcon",compass:"CompassIcon",location:"LocationIcon",pin:"PinIcon",time:"TimeIcon",dashboard:"DashboardIcon",timer:"TimerIcon",home:"HomeIcon",admin:"AdminIcon",info:"InfoIcon",question:"QuestionIcon",support:"SupportIcon",alert:"AlertIcon",email:"EmailIcon",phone:"PhoneIcon",link:"LinkIcon",unlink:"LinkBrokenIcon",bell:"BellIcon",rss:"RSSIcon",sharealt:"ShareAltIcon",share:"ShareIcon",circle:"CircleIcon",circlehollow:"CircleHollowIcon",bookmarkhollow:"BookmarkHollowIcon",bookmark:"BookmarkIcon",hearthollow:"HeartHollowIcon",heart:"HeartIcon",starhollow:"StarHollowIcon",star:"StarIcon",certificate:"CertificateIcon",verified:"VerifiedIcon",thumbsup:"ThumbsUpIcon",shield:"ShieldIcon",basket:"BasketIcon",beaker:"BeakerIcon",hourglass:"HourglassIcon",flag:"FlagIcon",cloudhollow:"CloudHollowIcon",edit:"EditIcon",cog:"CogIcon",nut:"NutIcon",wrench:"WrenchIcon",ellipsis:"EllipsisIcon",check:"CheckIcon",form:"FormIcon",batchdeny:"BatchDenyIcon",batchaccept:"BatchAcceptIcon",controls:"ControlsIcon",plus:"PlusIcon",closeAlt:"CloseAltIcon",cross:"CrossIcon",trash:"TrashIcon",pinalt:"PinAltIcon",unpin:"UnpinIcon",add:"AddIcon",subtract:"SubtractIcon",close:"CloseIcon",delete:"DeleteIcon",passed:"PassedIcon",changed:"ChangedIcon",failed:"FailedIcon",clear:"ClearIcon",comment:"CommentIcon",commentadd:"CommentAddIcon",requestchange:"RequestChangeIcon",comments:"CommentsIcon",lock:"LockIcon",unlock:"UnlockIcon",key:"KeyIcon",outbox:"OutboxIcon",credit:"CreditIcon",button:"ButtonIcon",type:"TypeIcon",pointerdefault:"PointerDefaultIcon",pointerhand:"PointerHandIcon",browser:"BrowserIcon",tablet:"TabletIcon",mobile:"MobileIcon",watch:"WatchIcon",sidebar:"SidebarIcon",sidebaralt:"SidebarAltIcon",sidebaralttoggle:"SidebarAltToggleIcon",sidebartoggle:"SidebarToggleIcon",bottombar:"BottomBarIcon",bottombartoggle:"BottomBarToggleIcon",cpu:"CPUIcon",database:"DatabaseIcon",memory:"MemoryIcon",structure:"StructureIcon",box:"BoxIcon",power:"PowerIcon",photo:"PhotoIcon",component:"ComponentIcon",grid:"GridIcon",outline:"OutlineIcon",photodrag:"PhotoDragIcon",search:"SearchIcon",zoom:"ZoomIcon",zoomout:"ZoomOutIcon",zoomreset:"ZoomResetIcon",eye:"EyeIcon",eyeclose:"EyeCloseIcon",lightning:"LightningIcon",lightningoff:"LightningOffIcon",contrast:"ContrastIcon",switchalt:"SwitchAltIcon",mirror:"MirrorIcon",grow:"GrowIcon",paintbrush:"PaintBrushIcon",ruler:"RulerIcon",stop:"StopIcon",camera:"CameraIcon",video:"VideoIcon",speaker:"SpeakerIcon",play:"PlayIcon",playback:"PlayBackIcon",playnext:"PlayNextIcon",rewind:"RewindIcon",fastforward:"FastForwardIcon",stopalt:"StopAltIcon",sidebyside:"SideBySideIcon",stacked:"StackedIcon",sun:"SunIcon",moon:"MoonIcon",book:"BookIcon",document:"DocumentIcon",copy:"CopyIcon",category:"CategoryIcon",folder:"FolderIcon",print:"PrintIcon",graphline:"GraphLineIcon",calendar:"CalendarIcon",graphbar:"GraphBarIcon",menu:"MenuIcon",menualt:"MenuIcon",filter:"FilterIcon",docchart:"DocChartIcon",doclist:"DocListIcon",markup:"MarkupIcon",bold:"BoldIcon",paperclip:"PaperClipIcon",listordered:"ListOrderedIcon",listunordered:"ListUnorderedIcon",paragraph:"ParagraphIcon",markdown:"MarkdownIcon",repository:"RepoIcon",commit:"CommitIcon",branch:"BranchIcon",pullrequest:"PullRequestIcon",merge:"MergeIcon",apple:"AppleIcon",linux:"LinuxIcon",ubuntu:"UbuntuIcon",windows:"WindowsIcon",storybook:"StorybookIcon",azuredevops:"AzureDevOpsIcon",bitbucket:"BitbucketIcon",chrome:"ChromeIcon",chromatic:"ChromaticIcon",componentdriven:"ComponentDrivenIcon",discord:"DiscordIcon",facebook:"FacebookIcon",figma:"FigmaIcon",gdrive:"GDriveIcon",github:"GithubIcon",gitlab:"GitlabIcon",google:"GoogleIcon",graphql:"GraphqlIcon",medium:"MediumIcon",redux:"ReduxIcon",twitter:"TwitterIcon",youtube:"YoutubeIcon",vscode:"VSCodeIcon"},jP=s(({alt:e,...t})=>v.createElement("svg",{width:"200px",height:"40px",viewBox:"0 0 200 40",...t,role:"img"},e?v.createElement("title",null,e):null,v.createElement("defs",null,v.createElement("path",{d:"M1.2 36.9L0 3.9c0-1.1.8-2 1.9-2.1l28-1.8a2 2 0 0 1 2.2 1.9 2 2 0 0 1 0 .1v36a2 2 0 0 1-2 2 2 2 0 0 1-.1 0L3.2 38.8a2 2 0 0 1-2-2z",id:"a"})),v.createElement("g",{fill:"none",fillRule:"evenodd"},v.createElement("path",{d:"M53.3 31.7c-1.7 0-3.4-.3-5-.7-1.5-.5-2.8-1.1-3.9-2l1.6-3.5c2.2 1.5 4.6 2.3 7.3 2.3 1.5 0 2.5-.2 3.3-.7.7-.5 1.1-1 1.1-1.9 0-.7-.3-1.3-1-1.7s-2-.8-3.7-1.2c-2-.4-3.6-.9-4.8-1.5-1.1-.5-2-1.2-2.6-2-.5-1-.8-2-.8-3.2 0-1.4.4-2.6 1.2-3.6.7-1.1 1.8-2 3.2-2.6 1.3-.6 2.9-.9 4.7-.9 1.6 0 3.1.3 4.6.7 1.5.5 2.7 1.1 3.5 2l-1.6 3.5c-2-1.5-4.2-2.3-6.5-2.3-1.3 0-2.3.2-3 .8-.8.5-1.2 1.1-1.2 2 0 .5.2 1 .5 1.3.2.3.7.6 1.4.9l2.9.8c2.9.6 5 1.4 6.2 2.4a5 5 0 0 1 2 4.2 6 6 0 0 1-2.5 5c-1.7 1.2-4 1.9-7 1.9zm21-3.6l1.4-.1-.2 3.5-1.9.1c-2.4 0-4.1-.5-5.2-1.5-1.1-1-1.6-2.7-1.6-4.8v-6h-3v-3.6h3V11h4.8v4.6h4v3.6h-4v6c0 1.8.9 2.8 2.6 2.8zm11.1 3.5c-1.6 0-3-.3-4.3-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.3-1 1.7 0 3.2.3 4.4 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.4 1zm0-3.6c2.4 0 3.6-1.6 3.6-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.6-1c-2.3 0-3.5 1.4-3.5 4.4 0 3 1.2 4.6 3.5 4.6zm21.7-8.8l-2.7.3c-1.3.2-2.3.5-2.8 1.2-.6.6-.9 1.4-.9 2.5v8.2H96V15.7h4.6v2.6c.8-1.8 2.5-2.8 5-3h1.3l.3 4zm14-3.5h4.8L116.4 37h-4.9l3-6.6-6.4-14.8h5l4 10 4-10zm16-.4c1.4 0 2.6.3 3.6 1 1 .6 1.9 1.6 2.5 2.8.6 1.2.9 2.7.9 4.3 0 1.6-.3 3-1 4.3a6.9 6.9 0 0 1-2.4 2.9c-1 .7-2.2 1-3.6 1-1 0-2-.2-3-.7-.8-.4-1.5-1-2-1.9v2.4h-4.7V8.8h4.8v9c.5-.8 1.2-1.4 2-1.9.9-.4 1.8-.6 3-.6zM135.7 28c1.1 0 2-.4 2.6-1.2.6-.8 1-2 1-3.4 0-1.5-.4-2.5-1-3.3s-1.5-1.1-2.6-1.1-2 .3-2.6 1.1c-.6.8-1 2-1 3.3 0 1.5.4 2.6 1 3.4.6.8 1.5 1.2 2.6 1.2zm18.9 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.3 1a7 7 0 0 1 3 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm18 3.6c-1.7 0-3.2-.3-4.4-1a7 7 0 0 1-3-2.8c-.6-1.3-1-2.7-1-4.4 0-1.6.4-3 1-4.3a7 7 0 0 1 3-2.8c1.2-.7 2.7-1 4.4-1 1.6 0 3 .3 4.4 1a7 7 0 0 1 2.9 2.8c.6 1.2 1 2.7 1 4.3 0 1.7-.4 3.1-1 4.4a7 7 0 0 1-3 2.8c-1.2.7-2.7 1-4.3 1zm0-3.6c2.3 0 3.5-1.6 3.5-4.6 0-1.5-.3-2.6-1-3.4a3.2 3.2 0 0 0-2.5-1c-2.4 0-3.6 1.4-3.6 4.4 0 3 1.2 4.6 3.6 4.6zm27.4 3.4h-6l-6-7v7h-4.8V8.8h4.9v13.6l5.8-6.7h5.7l-6.6 7.5 7 8.2z",fill:"currentColor"}),v.createElement("mask",{id:"b",fill:"#fff"},v.createElement("use",{xlinkHref:"#a"})),v.createElement("use",{fill:"#FF4785",fillRule:"nonzero",xlinkHref:"#a"}),v.createElement("path",{d:"M23.7 5L24 .2l3.9-.3.1 4.8a.3.3 0 0 1-.5.2L26 3.8l-1.7 1.4a.3.3 0 0 1-.5-.3zm-5 10c0 .9 5.3.5 6 0 0-5.4-2.8-8.2-8-8.2-5.3 0-8.2 2.8-8.2 7.1 0 7.4 10 7.6 10 11.6 0 1.2-.5 1.9-1.8 1.9-1.6 0-2.2-.9-2.1-3.6 0-.6-6.1-.8-6.3 0-.5 6.7 3.7 8.6 8.5 8.6 4.6 0 8.3-2.5 8.3-7 0-7.9-10.2-7.7-10.2-11.6 0-1.6 1.2-1.8 2-1.8.6 0 2 0 1.9 3z",fill:"#FFF",fillRule:"nonzero",mask:"url(#b)"}))),"StorybookLogo"),VP=s(e=>v.createElement("svg",{viewBox:"0 0 64 64",...e},v.createElement("title",null,"Storybook icon"),v.createElement("g",{id:"Artboard",stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},v.createElement("path",{d:"M8.04798541,58.7875918 L6.07908839,6.32540407 C6.01406344,4.5927838 7.34257463,3.12440831 9.07303814,3.01625434 L53.6958037,0.227331489 C55.457209,0.117243658 56.974354,1.45590096 57.0844418,3.21730626 C57.0885895,3.28366922 57.0906648,3.35014546 57.0906648,3.41663791 L57.0906648,60.5834697 C57.0906648,62.3483119 55.6599776,63.7789992 53.8951354,63.7789992 C53.847325,63.7789992 53.7995207,63.7779262 53.7517585,63.775781 L11.0978899,61.8600599 C9.43669044,61.7854501 8.11034889,60.4492961 8.04798541,58.7875918 Z",id:"path-1",fill:"#FF4785",fillRule:"nonzero"}),v.createElement("path",{d:"M35.9095005,24.1768792 C35.9095005,25.420127 44.2838488,24.8242707 45.4080313,23.9509748 C45.4080313,15.4847538 40.8652557,11.0358878 32.5466666,11.0358878 C24.2280775,11.0358878 19.5673077,15.553972 19.5673077,22.3311017 C19.5673077,34.1346028 35.4965208,34.3605071 35.4965208,40.7987804 C35.4965208,42.606015 34.6115646,43.6790606 32.6646607,43.6790606 C30.127786,43.6790606 29.1248356,42.3834613 29.2428298,37.9783269 C29.2428298,37.0226907 19.5673077,36.7247626 19.2723223,37.9783269 C18.5211693,48.6535354 25.1720308,51.7326752 32.7826549,51.7326752 C40.1572906,51.7326752 45.939005,47.8018145 45.939005,40.6858282 C45.939005,28.035186 29.7738035,28.3740425 29.7738035,22.1051974 C29.7738035,19.5637737 31.6617103,19.2249173 32.7826549,19.2249173 C33.9625966,19.2249173 36.0864917,19.4328883 35.9095005,24.1768792 Z",id:"path9_fill-path",fill:"#FFFFFF",fillRule:"nonzero"}),v.createElement("path",{d:"M44.0461638,0.830433986 L50.1874092,0.446606143 L50.443532,7.7810017 C50.4527198,8.04410717 50.2468789,8.26484453 49.9837734,8.27403237 C49.871115,8.27796649 49.7607078,8.24184808 49.6721567,8.17209069 L47.3089847,6.3104681 L44.5110468,8.43287463 C44.3012992,8.591981 44.0022839,8.55092814 43.8431776,8.34118051 C43.7762017,8.25288717 43.742082,8.14401677 43.7466857,8.03329059 L44.0461638,0.830433986 Z",id:"Path",fill:"#FFFFFF"}))),"StorybookIcon"),rI=co` - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -`,nI=F.div(({size:e=32})=>({borderRadius:"50%",cursor:"progress",display:"inline-block",overflow:"hidden",position:"absolute",transition:"all 200ms ease-out",verticalAlign:"top",top:"50%",left:"50%",marginTop:-(e/2),marginLeft:-(e/2),height:e,width:e,zIndex:4,borderWidth:2,borderStyle:"solid",borderColor:"rgba(97, 97, 97, 0.29)",borderTopColor:"rgb(100,100,100)",animation:`${rI} 0.7s linear infinite`,mixBlendMode:"difference"})),cg=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),aI=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Ne(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),oI=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),dg=F.div(({theme:e})=>({minHeight:"2em",fontSize:`${e.typography.size.s1}px`,color:e.barTextColor})),iI=F(Zb)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),lI=co` - from { content: "..." } - 33% { content: "." } - 66% { content: ".." } - to { content: "..." } -`,sI=F.span({"&::after":{content:"'...'",animation:`${lI} 1s linear infinite`,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),uI=s(({progress:e,error:t,size:r,...n})=>{if(t)return v.createElement(cg,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},v.createElement(iI,null),v.createElement(dg,null,t.message));if(e){let{value:a,modules:o}=e,{message:l}=e;return o&&(l+=` ${o.complete} / ${o.total} modules`),v.createElement(cg,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":l,role:"progressbar",...n},v.createElement(aI,null,v.createElement(oI,{style:{width:`${a*100}%`}})),v.createElement(dg,null,l,a<1&&v.createElement(sI,{key:l})))}return v.createElement(nI,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function T6(e){let t={},r=e.split("&");for(let n=0;n{let[n,a]=e.split("?"),o=a?{...T6(a),...r,id:t}:{...r,id:t};return`${n}?${Object.entries(o).map(l=>`${l[0]}=${l[1]}`).join("&")}`},"getStoryHref"),dI=F.pre` - line-height: 18px; - padding: 11px 1rem; - white-space: pre-wrap; - background: rgba(0, 0, 0, 0.05); - color: ${K8.darkest}; - border-radius: 3px; - margin: 1rem 0; - width: 100%; - display: block; - overflow: hidden; - font-family: ${Ap.fonts.mono}; - font-size: ${Ap.size.s2-1}px; -`,qP=s(({code:e,...t})=>v.createElement(dI,{id:"clipboard-code",...t},e),"ClipboardCode"),pI=Kb,fI={};Object.keys(Kb).forEach(e=>{fI[e]=i.forwardRef((t,r)=>i.createElement(e,{...t,ref:r}))});var hI=Object.create,L6=Object.defineProperty,mI=Object.getOwnPropertyDescriptor,M6=Object.getOwnPropertyNames,gI=Object.getPrototypeOf,vI=Object.prototype.hasOwnProperty,li=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),tn=(e,t)=>function(){return t||(0,e[M6(e)[0]])((t={exports:{}}).exports,t),t.exports},yI=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of M6(t))!vI.call(e,a)&&a!==r&&L6(e,a,{get:()=>t[a],enumerable:!(n=mI(t,a))||n.enumerable});return e},cp=(e,t,r)=>(r=e!=null?hI(gI(e)):{},yI(t||!e||!e.__esModule?L6(r,"default",{value:e,enumerable:!0}):r,e));function bI(e,t,{signal:r,edges:n}={}){let a,o=null,l=n!=null&&n.includes("leading"),u=n==null||n.includes("trailing"),c=()=>{o!==null&&(e.apply(a,o),a=void 0,o=null)},d=()=>{u&&c(),f()},p=null,g=()=>{p!=null&&clearTimeout(p),p=setTimeout(()=>{p=null,d()},t)},h=()=>{p!==null&&(clearTimeout(p),p=null)},f=()=>{h(),a=void 0,o=null},y=()=>{h(),c()},m=function(...w){if(r!=null&&r.aborted)return;a=this,o=w;let x=p==null;g(),l&&x&&c()};return m.schedule=g,m.cancel=f,m.flush=y,r==null||r.addEventListener("abort",f,{once:!0}),m}function UP(e,t=0,r={}){typeof r!="object"&&(r={});let{signal:n,leading:a=!1,trailing:o=!0,maxWait:l}=r,u=Array(2);a&&(u[0]="leading"),o&&(u[1]="trailing");let c,d=null,p=bI(function(...f){c=e.apply(this,f),d=null},t,{signal:n,edges:u}),g=function(...f){if(l!=null){if(d===null)d=Date.now();else if(Date.now()-d>=l)return c=e.apply(this,f),d=Date.now(),p.cancel(),p.schedule(),c}return p.apply(this,f),c},h=()=>(p.flush(),c);return g.cancel=p.cancel,g.flush=h,g}function wI(e){return Array.from(new Set(e))}function EI(e,t){let r={},n=Object.entries(e);for(let a=0;a`control-${e.replace(/\s+/g,"-")}`,ns=e=>`set-${e.replace(/\s+/g,"-")}`,_I=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M6 3.5a.5.5 0 01.5.5v1.5H8a.5.5 0 010 1H6.5V8a.5.5 0 01-1 0V6.5H4a.5.5 0 010-1h1.5V4a.5.5 0 01.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M9.544 10.206a5.5 5.5 0 11.662-.662.5.5 0 01.148.102l3 3a.5.5 0 01-.708.708l-3-3a.5.5 0 01-.102-.148zM10.5 6a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0z",fill:e}))),II=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 000 1h4a.5.5 0 000-1H4z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M6 11.5c1.35 0 2.587-.487 3.544-1.294a.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 106 11.5zm0-1a4.5 4.5 0 100-9 4.5 4.5 0 000 9z",fill:e}))),RI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.5 2.837V1.5a.5.5 0 00-1 0V4a.5.5 0 00.5.5h2.5a.5.5 0 000-1H2.258a4.5 4.5 0 11-.496 4.016.5.5 0 10-.942.337 5.502 5.502 0 008.724 2.353.5.5 0 00.102.148l3 3a.5.5 0 00.708-.708l-3-3a.5.5 0 00-.148-.102A5.5 5.5 0 101.5 2.837z",fill:e}))),BI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 9.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7l-.21.293C13.669 7.465 10.739 11.5 7 11.5S.332 7.465.21 7.293L0 7l.21-.293C.331 6.536 3.261 2.5 7 2.5s6.668 4.036 6.79 4.207L14 7zM2.896 5.302A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5c1.518 0 2.958-.83 4.104-1.802A12.72 12.72 0 0012.755 7c-.297-.37-.875-1.04-1.65-1.698C9.957 4.33 8.517 3.5 7 3.5c-1.519 0-2.958.83-4.104 1.802z",fill:e}))),zI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.854 1.146a.5.5 0 10-.708.708l11 11a.5.5 0 00.708-.708l-11-11zM11.104 8.698c-.177.15-.362.298-.553.439l.714.714a13.25 13.25 0 002.526-2.558L14 7l-.21-.293C13.669 6.536 10.739 2.5 7 2.5c-.89 0-1.735.229-2.506.58l.764.763A4.859 4.859 0 017 3.5c1.518 0 2.958.83 4.104 1.802A12.724 12.724 0 0112.755 7a12.72 12.72 0 01-1.65 1.698zM.21 6.707c.069-.096 1.03-1.42 2.525-2.558l.714.714c-.191.141-.376.288-.553.439A12.725 12.725 0 001.245 7c.296.37.874 1.04 1.65 1.698C4.043 9.67 5.482 10.5 7 10.5a4.86 4.86 0 001.742-.344l.764.764c-.772.351-1.616.58-2.506.58C3.262 11.5.332 7.465.21 7.293L0 7l.21-.293z",fill:e}),i.createElement("path",{d:"M4.5 7c0-.322.061-.63.172-.914l3.242 3.242A2.5 2.5 0 014.5 7zM9.328 7.914L6.086 4.672a2.5 2.5 0 013.241 3.241z",fill:e}))),TI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M2.5 10a.5.5 0 100-1 .5.5 0 000 1z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 4a2 2 0 012-2h6a2 2 0 012 2v.5l3.189-2.391A.5.5 0 0114 2.5v9a.5.5 0 01-.804.397L10 9.5v.5a2 2 0 01-2 2H2a2 2 0 01-2-2V4zm9 0v1.5a.5.5 0 00.8.4L13 3.5v7L9.8 8.1a.5.5 0 00-.8.4V10a1 1 0 01-1 1H2a1 1 0 01-1-1V4a1 1 0 011-1h6a1 1 0 011 1z",fill:e}))),hd=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M4 5.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5zM4.5 7.5a.5.5 0 000 1h5a.5.5 0 000-1h-5zM4 10.5a.5.5 0 01.5-.5h5a.5.5 0 010 1h-5a.5.5 0 01-.5-.5z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.5 0a.5.5 0 00-.5.5v13a.5.5 0 00.5.5h11a.5.5 0 00.5-.5V3.207a.5.5 0 00-.146-.353L10.146.146A.5.5 0 009.793 0H1.5zM2 1h7.5v2a.5.5 0 00.5.5h2V13H2V1z",fill:e}))),WP=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M8.982 1.632a.5.5 0 00-.964-.263l-3 11a.5.5 0 10.964.263l3-11zM3.32 3.616a.5.5 0 01.064.704L1.151 7l2.233 2.68a.5.5 0 11-.768.64l-2.5-3a.5.5 0 010-.64l2.5-3a.5.5 0 01.704-.064zM10.68 3.616a.5.5 0 00-.064.704L12.849 7l-2.233 2.68a.5.5 0 00.768.64l2.5-3a.5.5 0 000-.64l-2.5-3a.5.5 0 00-.704-.064z",fill:e}))),LI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M7 3a.5.5 0 01.5.5v3h3a.5.5 0 010 1h-3v3a.5.5 0 01-1 0v-3h-3a.5.5 0 010-1h3v-3A.5.5 0 017 3z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z",fill:e}))),MI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.5 6.5a.5.5 0 000 1h7a.5.5 0 000-1h-7z",fill:e}),i.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14 7A7 7 0 110 7a7 7 0 0114 0zm-1 0A6 6 0 111 7a6 6 0 0112 0z",fill:e}))),OI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.841 2.159a2.25 2.25 0 00-3.182 0l-2.5 2.5a2.25 2.25 0 000 3.182.5.5 0 01-.707.707 3.25 3.25 0 010-4.596l2.5-2.5a3.25 3.25 0 014.596 4.596l-2.063 2.063a4.27 4.27 0 00-.094-1.32l1.45-1.45a2.25 2.25 0 000-3.182z",fill:e}),i.createElement("path",{d:"M3.61 7.21c-.1-.434-.132-.88-.095-1.321L1.452 7.952a3.25 3.25 0 104.596 4.596l2.5-2.5a3.25 3.25 0 000-4.596.5.5 0 00-.707.707 2.25 2.25 0 010 3.182l-2.5 2.5A2.25 2.25 0 112.159 8.66l1.45-1.45z",fill:e}))),PI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 4.604l5.5 5.5a.5.5 0 00.708 0l5.5-5.5a.5.5 0 00-.708-.708L7 9.043 1.854 3.896a.5.5 0 10-.708.708z",fill:e}))),NI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M11.104 7.354l-5.5 5.5a.5.5 0 01-.708-.708L10.043 7 4.896 1.854a.5.5 0 11.708-.708l5.5 5.5a.5.5 0 010 .708z",fill:e}))),HI=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 9.104a.5.5 0 11-.708-.708l3.5-3.5a.5.5 0 01.708 0l3.5 3.5a.5.5 0 01-.708.708L7 5.957 3.854 9.104z",fill:e}))),O6=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M3.854 4.896a.5.5 0 10-.708.708l3.5 3.5a.5.5 0 00.708 0l3.5-3.5a.5.5 0 00-.708-.708L7 8.043 3.854 4.896z",fill:e}))),$I=i.forwardRef(({color:e="currentColor",size:t=14,...r},n)=>i.createElement("svg",{width:t,height:t,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,...r},i.createElement("path",{d:"M1.146 3.854a.5.5 0 010-.708l2-2a.5.5 0 11.708.708L2.707 3h6.295A4 4 0 019 11H3a.5.5 0 010-1h6a3 3 0 100-6H2.707l1.147 1.146a.5.5 0 11-.708.708l-2-2z",fill:e})));const{deprecate:jI,once:VI,logger:dp}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:fg,composeConfigs:GP,Preview:KP,DocsContext:YP}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_ARGS_UPDATED:hg,UPDATE_STORY_ARGS:qI,RESET_STORY_ARGS:UI,GLOBALS_UPDATED:mg,NAVIGATE_URL:WI}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var P6=tn({"../../node_modules/memoizerific/memoizerific.js"(e,t){(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return function r(n,a,o){function l(d,p){if(!a[d]){if(!n[d]){var g=typeof li=="function"&&li;if(!p&&g)return g(d,!0);if(u)return u(d,!0);var h=new Error("Cannot find module '"+d+"'");throw h.code="MODULE_NOT_FOUND",h}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(y){var m=n[d][1][y];return l(m||y)},f,f.exports,r,n,a,o)}return a[d].exports}for(var u=typeof li=="function"&&li,c=0;c=0)return this.lastItem=this.list[u],this.list[u].val},o.prototype.set=function(l,u){var c;return this.lastItem&&this.isEqual(this.lastItem.key,l)?(this.lastItem.val=u,this):(c=this.indexOf(l),c>=0?(this.lastItem=this.list[c],this.list[c].val=u,this):(this.lastItem={key:l,val:u},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(l){var u;if(this.lastItem&&this.isEqual(this.lastItem.key,l)&&(this.lastItem=void 0),u=this.indexOf(l),u>=0)return this.size--,this.list.splice(u,1)[0]},o.prototype.has=function(l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,l)?!0:(u=this.indexOf(l),u>=0?(this.lastItem=this.list[u],!0):!1)},o.prototype.forEach=function(l,u){var c;for(c=0;c0&&(D[x]={cacheItem:y,arg:arguments[x]},E?l(g,D):g.push(D),g.length>d&&u(g.shift())),f.wasMemoized=E,f.numArgs=x+1,w};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=g,f}};function l(d,p){var g=d.length,h=p.length,f,y,m;for(y=0;y=0&&(g=d[f],h=g.cacheItem.get(g.arg),!h||!h.size);f--)g.cacheItem.delete(g.arg)}function c(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})}}),GI=tn({"../../node_modules/tocbot/src/js/default-options.js"(e,t){t.exports={tocSelector:".js-toc",contentSelector:".js-toc-content",headingSelector:"h1, h2, h3",ignoreSelector:".js-toc-ignore",hasInnerContainers:!1,linkClass:"toc-link",extraLinkClasses:"",activeLinkClass:"is-active-link",listClass:"toc-list",extraListClasses:"",isCollapsedClass:"is-collapsed",collapsibleClass:"is-collapsible",listItemClass:"toc-list-item",activeListItemClass:"is-active-li",collapseDepth:0,scrollSmooth:!0,scrollSmoothDuration:420,scrollSmoothOffset:0,scrollEndCallback:function(r){},headingsOffset:1,throttleTimeout:50,positionFixedSelector:null,positionFixedClass:"is-position-fixed",fixedSidebarOffset:"auto",includeHtml:!1,includeTitleTags:!1,onClick:function(r){},orderedList:!0,scrollContainer:null,skipRendering:!1,headingLabelCallback:!1,ignoreHiddenElements:!1,headingObjectCallback:null,basePath:"",disableTocScrollSync:!1,tocScrollOffset:0}}}),KI=tn({"../../node_modules/tocbot/src/js/build-html.js"(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,l,u=!0,c=" ";function d(b,C){var S=C.appendChild(g(b));if(b.children.length){var A=h(b.isCollapsed);b.children.forEach(function(k){d(k,A)}),S.appendChild(A)}}function p(b,C){var S=!1,A=h(S);if(C.forEach(function(k){d(k,A)}),l=b||l,l!==null)return l.firstChild&&l.removeChild(l.firstChild),C.length===0?l:l.appendChild(A)}function g(b){var C=document.createElement("li"),S=document.createElement("a");return r.listItemClass&&C.setAttribute("class",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute("title",b.textContent),r.includeHtml&&b.childNodes.length?n.call(b.childNodes,function(A){S.appendChild(A.cloneNode(!0))}):S.textContent=b.textContent,S.setAttribute("href",r.basePath+"#"+b.id),S.setAttribute("class",r.linkClass+c+"node-name--"+b.nodeName+c+r.extraLinkClasses),C.appendChild(S),C}function h(b){var C=r.orderedList?"ol":"ul",S=document.createElement(C),A=r.listClass+c+r.extraListClasses;return b&&(A=A+c+r.collapsibleClass,A=A+c+r.isCollapsedClass),S.setAttribute("class",A),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var b;b=document.querySelector(r.scrollContainer).scrollTop}else b=document.documentElement.scrollTop||o.scrollTop;var C=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset==="auto"&&(r.fixedSidebarOffset=l.offsetTop),b>r.fixedSidebarOffset?C.className.indexOf(r.positionFixedClass)===-1&&(C.className+=c+r.positionFixedClass):C.className=C.className.replace(c+r.positionFixedClass,"")}function y(b){var C=0;return b!==null&&(C=b.offsetTop,r.hasInnerContainers&&(C+=y(b.offsetParent))),C}function m(b,C){return b&&b.className!==C&&(b.className=C),b}function w(b){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var C;C=document.querySelector(r.scrollContainer).scrollTop}else C=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=b,A;if(u&&l!==null&&S.length>0){a.call(S,function(M,L){if(y(M)>C+r.headingsOffset+10){var O=L===0?L:L-1;return A=S[O],!0}else if(L===S.length-1)return A=S[S.length-1],!0});var k=l.querySelector("."+r.activeLinkClass),_=l.querySelector("."+r.linkClass+".node-name--"+A.nodeName+'[href="'+r.basePath+"#"+A.id.replace(/([ #;&,.+*~':"!^$[\]()=>|/\\@])/g,"\\$1")+'"]');if(k===_)return;var I=l.querySelectorAll("."+r.linkClass);n.call(I,function(M){m(M,M.className.replace(c+r.activeLinkClass,""))});var R=l.querySelectorAll("."+r.listItemClass);n.call(R,function(M){m(M,M.className.replace(c+r.activeListItemClass,""))}),_&&_.className.indexOf(r.activeLinkClass)===-1&&(_.className+=c+r.activeLinkClass);var z=_&&_.parentNode;z&&z.className.indexOf(r.activeListItemClass)===-1&&(z.className+=c+r.activeListItemClass);var T=l.querySelectorAll("."+r.listClass+"."+r.collapsibleClass);n.call(T,function(M){M.className.indexOf(r.isCollapsedClass)===-1&&(M.className+=c+r.isCollapsedClass)}),_&&_.nextSibling&&_.nextSibling.className.indexOf(r.isCollapsedClass)!==-1&&m(_.nextSibling,_.nextSibling.className.replace(c+r.isCollapsedClass,"")),x(_&&_.parentNode.parentNode)}}function x(b){return b&&b.className.indexOf(r.collapsibleClass)!==-1&&b.className.indexOf(r.isCollapsedClass)!==-1?(m(b,b.className.replace(c+r.isCollapsedClass,"")),x(b.parentNode.parentNode)):b}function D(b){var C=b.target||b.srcElement;typeof C.className!="string"||C.className.indexOf(r.linkClass)===-1||(u=!1)}function E(){u=!0}return{enableTocAnimation:E,disableTocAnimation:D,render:p,updateToc:w}}}}),YI=tn({"../../node_modules/tocbot/src/js/parse-content.js"(e,t){t.exports=function(r){var n=[].reduce;function a(g){return g[g.length-1]}function o(g){return+g.nodeName.toUpperCase().replace("H","")}function l(g){try{return g instanceof window.HTMLElement||g instanceof window.parent.HTMLElement}catch{return g instanceof window.HTMLElement}}function u(g){if(!l(g))return g;if(r.ignoreHiddenElements&&(!g.offsetHeight||!g.offsetParent))return null;let h=g.getAttribute("data-heading-label")||(r.headingLabelCallback?String(r.headingLabelCallback(g.innerText)):(g.innerText||g.textContent).trim());var f={id:g.id,children:[],nodeName:g.nodeName,headingLevel:o(g),textContent:h};return r.includeHtml&&(f.childNodes=g.childNodes),r.headingObjectCallback?r.headingObjectCallback(f,g):f}function c(g,h){for(var f=u(g),y=f.headingLevel,m=h,w=a(m),x=w?w.headingLevel:0,D=y-x;D>0&&(w=a(m),!(w&&y===w.headingLevel));)w&&w.children!==void 0&&(m=w.children),D--;return y>=r.collapseDepth&&(f.isCollapsed=!0),m.push(f),m}function d(g,h){var f=h;r.ignoreSelector&&(f=h.split(",").map(function(y){return y.trim()+":not("+r.ignoreSelector+")"}));try{return g.querySelectorAll(f)}catch{return console.warn("Headers not found with selector: "+f),null}}function p(g){return n.call(g,function(h,f){var y=u(f);return y&&c(y,h.nest),h},{nest:[]})}return{nestHeadingsArray:p,selectHeadings:d}}}}),ZI=tn({"../../node_modules/tocbot/src/js/update-toc-scroll.js"(e,t){t.exports=function(r){var n=r.tocElement||document.querySelector(r.tocSelector);if(n&&n.scrollHeight>n.clientHeight){var a=n.querySelector("."+r.activeListItemClass);a&&(n.scrollTop=a.offsetTop-r.tocScrollOffset)}}}}),JI=tn({"../../node_modules/tocbot/src/js/scroll-smooth/index.js"(e){e.initSmoothScrolling=t;function t(n){var a=n.duration,o=n.offset,l=location.hash?d(location.href):location.href;u();function u(){document.body.addEventListener("click",g,!1);function g(h){!c(h.target)||h.target.className.indexOf("no-smooth-scroll")>-1||h.target.href.charAt(h.target.href.length-2)==="#"&&h.target.href.charAt(h.target.href.length-1)==="!"||h.target.className.indexOf(n.linkClass)===-1||r(h.target.hash,{duration:a,offset:o,callback:function(){p(h.target.hash)}})}}function c(g){return g.tagName.toLowerCase()==="a"&&(g.hash.length>0||g.href.charAt(g.href.length-1)==="#")&&(d(g.href)===l||d(g.href)+"#"===l)}function d(g){return g.slice(0,g.lastIndexOf("#"))}function p(g){var h=document.getElementById(g.substring(1));h&&(/^(?:a|select|input|button|textarea)$/i.test(h.tagName)||(h.tabIndex=-1),h.focus())}}function r(n,a){var o=window.pageYOffset,l={duration:a.duration,offset:a.offset||0,callback:a.callback,easing:a.easing||y},u=document.querySelector('[id="'+decodeURI(n).split("#").join("")+'"]')||document.querySelector('[id="'+n.split("#").join("")+'"]'),c=typeof n=="string"?l.offset+(n?u&&u.getBoundingClientRect().top||0:-(document.documentElement.scrollTop||document.body.scrollTop)):n,d=typeof l.duration=="function"?l.duration(c):l.duration,p,g;requestAnimationFrame(function(m){p=m,h(m)});function h(m){g=m-p,window.scrollTo(0,l.easing(g,o,c,d)),g"u"&&!g)return;var h,f=Object.prototype.hasOwnProperty;function y(){for(var D={},E=0;E1?a-1:0),l=1;l=0&&a<1?(u=o,c=l):a>=1&&a<2?(u=l,c=o):a>=2&&a<3?(c=o,d=l):a>=3&&a<4?(c=l,d=o):a>=4&&a<5?(u=l,d=o):a>=5&&a<6&&(u=o,d=l);var p=r-o/2,g=u+p,h=c+p,f=d+p;return n(g,h,f)}var gg={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function iR(e){if(typeof e!="string")return e;var t=e.toLowerCase();return gg[t]?"#"+gg[t]:e}var lR=/^#[a-fA-F0-9]{6}$/,sR=/^#[a-fA-F0-9]{8}$/,uR=/^#[a-fA-F0-9]{3}$/,cR=/^#[a-fA-F0-9]{4}$/,Ac=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,dR=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,pR=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,fR=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function as(e){if(typeof e!="string")throw new vt(3);var t=iR(e);if(t.match(lR))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(sR)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(uR))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(cR)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Ac.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var o=dR.exec(t.substring(0,50));if(o)return{red:parseInt(""+o[1],10),green:parseInt(""+o[2],10),blue:parseInt(""+o[3],10),alpha:parseFloat(""+o[4])>1?parseFloat(""+o[4])/100:parseFloat(""+o[4])};var l=pR.exec(t);if(l){var u=parseInt(""+l[1],10),c=parseInt(""+l[2],10)/100,d=parseInt(""+l[3],10)/100,p="rgb("+hl(u,c,d)+")",g=Ac.exec(p);if(!g)throw new vt(4,t,p);return{red:parseInt(""+g[1],10),green:parseInt(""+g[2],10),blue:parseInt(""+g[3],10)}}var h=fR.exec(t.substring(0,50));if(h){var f=parseInt(""+h[1],10),y=parseInt(""+h[2],10)/100,m=parseInt(""+h[3],10)/100,w="rgb("+hl(f,y,m)+")",x=Ac.exec(w);if(!x)throw new vt(4,t,w);return{red:parseInt(""+x[1],10),green:parseInt(""+x[2],10),blue:parseInt(""+x[3],10),alpha:parseFloat(""+h[4])>1?parseFloat(""+h[4])/100:parseFloat(""+h[4])}}throw new vt(5)}function hR(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),o=Math.min(t,r,n),l=(a+o)/2;if(a===o)return e.alpha!==void 0?{hue:0,saturation:0,lightness:l,alpha:e.alpha}:{hue:0,saturation:0,lightness:l};var u,c=a-o,d=l>.5?c/(2-a-o):c/(a+o);switch(a){case t:u=(r-n)/c+(r=1?$6(e.hue,e.saturation,e.lightness):"rgba("+hl(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new vt(2)}function j6(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return vd("#"+kr(e)+kr(t)+kr(r));if(typeof e=="object"&&t===void 0&&r===void 0)return vd("#"+kr(e.red)+kr(e.green)+kr(e.blue));throw new vt(6)}function Ot(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=as(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?j6(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")";throw new vt(7)}var bR=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},wR=function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},ER=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},DR=function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"};function V6(e){if(typeof e!="object")throw new vt(8);if(wR(e))return Ot(e);if(bR(e))return j6(e);if(DR(e))return yR(e);if(ER(e))return vR(e);throw new vt(8)}function q6(e,t,r){return function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):q6(e,t,n)}}function os(e){return q6(e,e.length,[])}function is(e,t,r){return Math.max(e,Math.min(t,r))}function xR(e,t){if(t==="transparent")return t;var r=H6(t);return V6(Gn({},r,{lightness:is(0,1,r.lightness-parseFloat(e))}))}var CR=os(xR),ht=CR;function SR(e,t){if(t==="transparent")return t;var r=H6(t);return V6(Gn({},r,{lightness:is(0,1,r.lightness+parseFloat(e))}))}var kR=os(SR),Ar=kR;function AR(e,t){if(t==="transparent")return t;var r=as(t),n=typeof r.alpha=="number"?r.alpha:1,a=Gn({},r,{alpha:is(0,1,(n*100+parseFloat(e)*100)/100)});return Ot(a)}var FR=os(AR),si=FR;function _R(e,t){if(t==="transparent")return t;var r=as(t),n=typeof r.alpha=="number"?r.alpha:1,a=Gn({},r,{alpha:is(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return Ot(a)}var IR=os(_R),Q=IR,RR=F.div(re,({theme:e})=>({backgroundColor:e.base==="light"?"rgba(0,0,0,.01)":"rgba(255,255,255,.01)",borderRadius:e.appBorderRadius,border:`1px dashed ${e.appBorderColor}`,display:"flex",alignItems:"center",justifyContent:"center",padding:20,margin:"25px 0 40px",color:Q(.3,e.color.defaultText),fontSize:e.typography.size.s2})),U6=e=>v.createElement(RR,{...e,className:"docblock-emptyblock sb-unstyled"}),BR=F(ep)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,lineHeight:"19px",margin:"25px 0 40px",borderRadius:e.appBorderRadius,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0","pre.prismjs":{padding:20,background:"inherit"}})),zR=F.div(({theme:e})=>({background:e.background.content,borderRadius:e.appBorderRadius,border:`1px solid ${e.appBorderColor}`,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",margin:"25px 0 40px",padding:"20px 20px 20px 22px"})),ui=F.div(({theme:e})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,height:17,marginTop:1,width:"60%",[`&:first-child${Oc}`]:{margin:0}})),TR=()=>v.createElement(zR,null,v.createElement(ui,null),v.createElement(ui,{style:{width:"80%"}}),v.createElement(ui,{style:{width:"30%"}}),v.createElement(ui,{style:{width:"80%"}})),W6=({isLoading:e,error:t,language:r,code:n,dark:a,format:o=!1,...l})=>{let{typography:u}=Wg();if(e)return v.createElement(TR,null);if(t)return v.createElement(U6,null,t);let c=v.createElement(BR,{bordered:!0,copyable:!0,format:o,language:r,className:"docblock-source sb-unstyled",...l},n);if(typeof a>"u")return c;let d=a?Fp.dark:Fp.light;return v.createElement(Gg,{theme:Y8({...d,fontCode:u.fonts.mono,fontBase:u.fonts.base})},c)},le=e=>`& :where(${e}:not(.sb-anchor, .sb-unstyled, .sb-unstyled ${e}))`,pp=600,LR=F.h1(re,({theme:e})=>({color:e.color.defaultText,fontSize:e.typography.size.m3,fontWeight:e.typography.weight.bold,lineHeight:"32px",[`@media (min-width: ${pp}px)`]:{fontSize:e.typography.size.l1,lineHeight:"36px",marginBottom:"16px"}})),MR=F.h2(re,({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s3,lineHeight:"20px",borderBottom:"none",marginBottom:15,[`@media (min-width: ${pp}px)`]:{fontSize:e.typography.size.m1,lineHeight:"28px",marginBottom:24},color:Q(.25,e.color.defaultText)})),OR=F.div(({theme:e})=>{let t={fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},r={margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:e.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& code":{fontSize:"inherit"}},n={lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:e.typography.size.s2-1,border:e.base==="light"?`1px solid ${e.color.mediumlight}`:`1px solid ${e.color.darker}`,color:e.base==="light"?Q(.1,e.color.defaultText):Q(.3,e.color.defaultText),backgroundColor:e.base==="light"?e.color.lighter:e.color.border};return{maxWidth:1e3,width:"100%",[le("a")]:{...t,fontSize:"inherit",lineHeight:"24px",color:e.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}},[le("blockquote")]:{...t,margin:"16px 0",borderLeft:`4px solid ${e.color.medium}`,padding:"0 15px",color:e.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}},[le("div")]:t,[le("dl")]:{...t,margin:"16px 0",padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}},[le("h1")]:{...t,...r,fontSize:`${e.typography.size.l1}px`,fontWeight:e.typography.weight.bold},[le("h2")]:{...t,...r,fontSize:`${e.typography.size.m2}px`,paddingBottom:4,borderBottom:`1px solid ${e.appBorderColor}`},[le("h3")]:{...t,...r,fontSize:`${e.typography.size.m1}px`,fontWeight:e.typography.weight.bold},[le("h4")]:{...t,...r,fontSize:`${e.typography.size.s3}px`},[le("h5")]:{...t,...r,fontSize:`${e.typography.size.s2}px`},[le("h6")]:{...t,...r,fontSize:`${e.typography.size.s2}px`,color:e.color.dark},[le("hr")]:{border:"0 none",borderTop:`1px solid ${e.appBorderColor}`,height:4,padding:0},[le("img")]:{maxWidth:"100%"},[le("li")]:{...t,fontSize:e.typography.size.s2,color:e.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":n},[le("ol")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},[le("p")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",color:e.color.defaultText,"& code":n},[le("pre")]:{...t,fontFamily:e.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}},[le("span")]:{...t,"&.frame":{display:"block",overflow:"hidden","& > span":{border:`1px solid ${e.color.medium}`,display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:e.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}},[le("table")]:{...t,margin:"16px 0",fontSize:e.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:`1px solid ${e.appBorderColor}`,backgroundColor:e.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:e.base==="dark"?e.color.darker:e.color.lighter},"& tr th":{fontWeight:"bold",color:e.color.defaultText,border:`1px solid ${e.appBorderColor}`,margin:0,padding:"6px 13px"},"& tr td":{border:`1px solid ${e.appBorderColor}`,color:e.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}},[le("ul")]:{...t,margin:"16px 0",paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0},listStyle:"disc"}}}),PR=F.div(({theme:e})=>({background:e.background.content,display:"flex",justifyContent:"center",padding:"4rem 20px",minHeight:"100vh",boxSizing:"border-box",gap:"3rem",[`@media (min-width: ${pp}px)`]:{}})),NR=({children:e,toc:t})=>v.createElement(PR,{className:"sbdocs sbdocs-wrapper"},v.createElement(OR,{className:"sbdocs sbdocs-content"},e),t),ls=e=>({borderRadius:e.appBorderRadius,background:e.background.content,boxShadow:e.base==="light"?"rgba(0, 0, 0, 0.10) 0 1px 3px 0":"rgba(0, 0, 0, 0.20) 0 2px 5px 0",border:`1px solid ${e.appBorderColor}`}),{window:HR}=globalThis,$R=class extends i.Component{constructor(){super(...arguments),this.iframe=null}componentDidMount(){let{id:e}=this.props;this.iframe=HR.document.getElementById(e)}shouldComponentUpdate(e){let{scale:t}=e;return t!==this.props.scale&&this.setIframeBodyStyle({width:`${t*100}%`,height:`${t*100}%`,transform:`scale(${1/t})`,transformOrigin:"top left"}),!1}setIframeBodyStyle(e){return Object.assign(this.iframe.contentDocument.body.style,e)}render(){let{id:e,title:t,src:r,allowFullScreen:n,scale:a,...o}=this.props;return v.createElement("iframe",{id:e,title:t,src:r,...n?{allow:"fullscreen"}:{},loading:"lazy",...o})}},G6=i.createContext({scale:1}),{PREVIEW_URL:jR}=globalThis,VR=jR||"iframe.html",yd=({story:e,primary:t})=>`story--${e.id}${t?"--primary":""}`,qR=e=>{let t=i.useRef(),[r,n]=i.useState(!0),[a,o]=i.useState(),{story:l,height:u,autoplay:c,forceInitialArgs:d,renderStoryToElement:p}=e;return i.useEffect(()=>{if(!(l&&t.current))return()=>{};let g=t.current,h=p(l,g,{showMain:()=>{},showError:({title:f,description:y})=>o(new Error(`${f} - ${y}`)),showException:f=>o(f)},{autoplay:c,forceInitialArgs:d});return n(!1),()=>{Promise.resolve().then(()=>h())}},[c,p,l]),a?v.createElement("pre",null,v.createElement($F,{error:a})):v.createElement(v.Fragment,null,u?v.createElement("style",null,`#${yd(e)} { min-height: ${u}; transform: translateZ(0); overflow: auto }`):null,r&&v.createElement(K6,null),v.createElement("div",{ref:t,id:`${yd(e)}-inner`,"data-name":l.name}))},UR=({story:e,height:t="500px"})=>v.createElement("div",{style:{width:"100%",height:t}},v.createElement(G6.Consumer,null,({scale:r})=>v.createElement($R,{key:"iframe",id:`iframe--${e.id}`,title:e.name,src:cI(VR,e.id,{viewMode:"story"}),allowFullScreen:!0,scale:r,style:{width:"100%",height:"100%",border:"0 none"}}))),WR=F.strong(({theme:e})=>({color:e.color.orange})),GR=e=>{let{inline:t,story:r}=e;return t&&!e.autoplay&&r.usesMount?v.createElement(WR,null,"This story mounts inside of play. Set"," ",v.createElement("a",{href:"https://storybook.js.org/docs/api/doc-blocks/doc-block-story#autoplay"},"autoplay")," ","to true to view this story."):v.createElement("div",{id:yd(e),className:"sb-story sb-unstyled","data-story-block":"true"},t?v.createElement(qR,{...e}):v.createElement(UR,{...e}))},K6=()=>v.createElement(uI,null),KR=F(up)({position:"absolute",left:0,right:0,top:0,transition:"transform .2s linear"}),YR=F.div({display:"flex",alignItems:"center",gap:4}),ZR=F.div(({theme:e})=>({width:14,height:14,borderRadius:2,margin:"0 7px",backgroundColor:e.appBorderColor,animation:`${e.animation.glow} 1.5s ease-in-out infinite`})),JR=({isLoading:e,storyId:t,baseUrl:r,zoom:n,resetZoom:a,...o})=>v.createElement(KR,{...o},v.createElement(YR,{key:"left"},e?[1,2,3].map(l=>v.createElement(ZR,{key:l})):v.createElement(v.Fragment,null,v.createElement(Pr,{key:"zoomin",onClick:l=>{l.preventDefault(),n(.8)},title:"Zoom in"},v.createElement(_I,null)),v.createElement(Pr,{key:"zoomout",onClick:l=>{l.preventDefault(),n(1.25)},title:"Zoom out"},v.createElement(II,null)),v.createElement(Pr,{key:"zoomreset",onClick:l=>{l.preventDefault(),a()},title:"Reset zoom"},v.createElement(RI,null))))),XR=F.div(({isColumn:e,columns:t,layout:r})=>({display:e||!t?"block":"flex",position:"relative",flexWrap:"wrap",overflow:"auto",flexDirection:e?"column":"row","& .innerZoomElementWrapper > *":e?{width:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"block"}:{maxWidth:r!=="fullscreen"?"calc(100% - 20px)":"100%",display:"inline-block"}}),({layout:e="padded"})=>e==="centered"||e==="padded"?{padding:"30px 20px","& .innerZoomElementWrapper > *":{width:"auto",border:"10px solid transparent!important"}}:{},({layout:e="padded"})=>e==="centered"?{display:"flex",justifyContent:"center",justifyItems:"center",alignContent:"center",alignItems:"center"}:{},({columns:e})=>e&&e>1?{".innerZoomElementWrapper > *":{minWidth:`calc(100% / ${e} - 20px)`}}:{}),vg=F(W6)(({theme:e})=>({margin:0,borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomLeftRadius:e.appBorderRadius,borderBottomRightRadius:e.appBorderRadius,border:"none",background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ht(.05,e.background.content),color:e.color.lightest,button:{background:e.base==="light"?"rgba(0, 0, 0, 0.85)":ht(.05,e.background.content)}})),QR=F.div(({theme:e,withSource:t,isExpanded:r})=>({position:"relative",overflow:"hidden",margin:"25px 0 40px",...ls(e),borderBottomLeftRadius:t&&r&&0,borderBottomRightRadius:t&&r&&0,borderBottomWidth:r&&0,"h3 + &":{marginTop:"16px"}}),({withToolbar:e})=>e&&{paddingTop:40}),eB=(e,t,r)=>{switch(!0){case!!(e&&e.error):return{source:null,actionItem:{title:"No code available",className:"docblock-code-toggle docblock-code-toggle--disabled",disabled:!0,onClick:()=>r(!1)}};case t:return{source:v.createElement(vg,{...e,dark:!0}),actionItem:{title:"Hide code",className:"docblock-code-toggle docblock-code-toggle--expanded",onClick:()=>r(!1)}};default:return{source:v.createElement(vg,{...e,dark:!0}),actionItem:{title:"Show code",className:"docblock-code-toggle",onClick:()=>r(!0)}}}};function tB(e){if(i.Children.count(e)===1){let t=e;if(t.props)return t.props.id}return null}var rB=F(JR)({position:"absolute",top:0,left:0,right:0,height:40}),nB=F.div({overflow:"hidden",position:"relative"}),Y6=({isLoading:e,isColumn:t,columns:r,children:n,withSource:a,withToolbar:o=!1,isExpanded:l=!1,additionalActions:u,className:c,layout:d="padded",...p})=>{let[g,h]=i.useState(l),{source:f,actionItem:y}=eB(a,g,h),[m,w]=i.useState(1),x=[c].concat(["sbdocs","sbdocs-preview","sb-unstyled"]),D=a?[y]:[],[E,b]=i.useState(u?[...u]:[]),C=[...D,...E],{window:S}=globalThis,A=i.useCallback(async _=>{let{createCopyToClipboardFunction:I}=await Vg(()=>import("./index-BEu9JJJd.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url);I()},[]),k=_=>{let I=S.getSelection();I&&I.type==="Range"||(_.preventDefault(),E.filter(R=>R.title==="Copied").length===0&&A(f.props.code).then(()=>{b([...E,{title:"Copied",onClick:()=>{}}]),S.setTimeout(()=>b(E.filter(R=>R.title!=="Copied")),1500)}))};return v.createElement(QR,{withSource:a,withToolbar:o,...p,className:x.join(" ")},o&&v.createElement(rB,{isLoading:e,border:!0,zoom:_=>w(m*_),resetZoom:()=>w(1),storyId:tB(n),baseUrl:"./iframe.html"}),v.createElement(G6.Provider,{value:{scale:m}},v.createElement(nB,{className:"docs-story",onCopyCapture:a&&k},v.createElement(XR,{isColumn:t||!Array.isArray(n),columns:r,layout:d},v.createElement(zF.Element,{scale:m},Array.isArray(n)?n.map((_,I)=>v.createElement("div",{key:I},_)):v.createElement("div",null,n))),v.createElement(Od,{actionItems:C}))),a&&g&&f)};F(Y6)(()=>({".docs-story":{paddingTop:32,paddingBottom:40}}));function _r(){return _r=Object.assign?Object.assign.bind():function(e){for(var t=1;t(e[t.toLowerCase()]=t,e),{for:"htmlFor"}),Eg={amp:"&",apos:"'",gt:">",lt:"<",nbsp:" ",quot:"“"},oB=["style","script"],iB=/([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,lB=/mailto:/i,sB=/\n{2,}$/,Z6=/^(\s*>[\s\S]*?)(?=\n{2,})/,uB=/^ *> ?/gm,cB=/^ {2,}\n/,dB=/^(?:( *[-*_])){3,} *(?:\n *)+\n/,J6=/^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,X6=/^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,pB=/^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,fB=/^(?:\n *)*\n/,hB=/\r\n?/g,mB=/^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,gB=/^\[\^([^\]]+)]/,vB=/\f/g,yB=/^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,bB=/^\s*?\[(x|\s)\]/,Q6=/^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,e8=/^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,t8=/^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,bd=/^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?([^>]*)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,wB=/&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,r8=/^)/,EB=/^(data|aria|x)-[a-z_][a-z\d_.-]*$/,wd=/^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,DB=/^\{.*\}$/,xB=/^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,CB=/^<([^ >]+@[^ >]+)>/,SB=/^<([^ >]+:\/[^ >]+)>/,kB=/-([a-z])?/gi,n8=/^(.*\|?.*)\n *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*)\n?/,AB=/^\[([^\]]*)\]:\s+]+)>?\s*("([^"]*)")?/,FB=/^!\[([^\]]*)\] ?\[([^\]]*)\]/,_B=/^\[([^\]]*)\] ?\[([^\]]*)\]/,IB=/(\[|\])/g,RB=/(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,BB=/\t/g,zB=/^ *\| */,TB=/(^ *\||\| *$)/g,LB=/ *$/,MB=/^ *:-+: *$/,OB=/^ *:-+ *$/,PB=/^ *-+: *$/,ss="((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",NB=new RegExp(`^([*_])\\1${ss}\\1\\1(?!\\1)`),HB=new RegExp(`^([*_])${ss}\\1(?!\\1|\\w)`),$B=new RegExp(`^==${ss}==`),jB=new RegExp(`^~~${ss}~~`),VB=/^\\([^0-9A-Za-z\s])/,qB=/^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,UB=/^\n+/,WB=/^([ \t]*)/,GB=/\\([^\\])/g,Dg=/ *\n+$/,KB=/(?:^|\n)( *)$/,fp="(?:\\d+\\.)",hp="(?:[*+-])";function a8(e){return"( *)("+(e===1?fp:hp)+") +"}var o8=a8(1),i8=a8(2);function l8(e){return new RegExp("^"+(e===1?o8:i8))}var YB=l8(1),ZB=l8(2);function s8(e){return new RegExp("^"+(e===1?o8:i8)+"[^\\n]*(?:\\n(?!\\1"+(e===1?fp:hp)+" )[^\\n]*)*(\\n|$)","gm")}var u8=s8(1),c8=s8(2);function d8(e){let t=e===1?fp:hp;return new RegExp("^( *)("+t+") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1"+t+" (?!"+t+" ))\\n*|\\s*\\n*$)")}var p8=d8(1),f8=d8(2);function xg(e,t){let r=t===1,n=r?p8:f8,a=r?u8:c8,o=r?YB:ZB;return{match(l,u,c){let d=KB.exec(c);return d&&(u.list||!u.inline&&!u.simple)?n.exec(l=d[1]+l):null},order:1,parse(l,u,c){let d=r?+l[2]:void 0,p=l[0].replace(sB,` -`).match(a),g=!1;return{items:p.map(function(h,f){let y=o.exec(h)[0].length,m=new RegExp("^ {1,"+y+"}","gm"),w=h.replace(m,"").replace(o,""),x=f===p.length-1,D=w.indexOf(` - -`)!==-1||x&&g;g=D;let E=c.inline,b=c.list,C;c.list=!0,D?(c.inline=!1,C=w.replace(Dg,` - -`)):(c.inline=!0,C=w.replace(Dg,""));let S=u(C,c);return c.inline=E,c.list=b,S}),ordered:r,start:d}},render:(l,u,c)=>e(l.ordered?"ol":"ul",{key:c.key,start:l.type==="20"?l.start:void 0},l.items.map(function(d,p){return e("li",{key:p},u(d,c))}))}}var JB=new RegExp(`^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*?(?:\\s+['"]([\\s\\S]*?)['"])?\\s*\\)`),XB=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,h8=[Z6,J6,X6,Q6,t8,e8,r8,n8,u8,p8,c8,f8],QB=[...h8,/^[^\n]+(?: \n|\n{2,})/,bd,wd];function ez(e){return e.replace(/[ÀÁÂÃÄÅàáâãäåæÆ]/g,"a").replace(/[çÇ]/g,"c").replace(/[ðÐ]/g,"d").replace(/[ÈÉÊËéèêë]/g,"e").replace(/[ÏïÎîÍíÌì]/g,"i").replace(/[Ññ]/g,"n").replace(/[øØœŒÕõÔôÓóÒò]/g,"o").replace(/[ÜüÛûÚúÙù]/g,"u").replace(/[ŸÿÝý]/g,"y").replace(/[^a-z0-9- ]/gi,"").replace(/ /gi,"-").toLowerCase()}function tz(e){return PB.test(e)?"right":MB.test(e)?"center":OB.test(e)?"left":null}function Cg(e,t,r){let n=r.inTable;r.inTable=!0;let a=t(e.trim(),r);r.inTable=n;let o=[[]];return a.forEach(function(l,u){l.type==="26"?u!==0&&u!==a.length-1&&o.push([]):(l.type!=="27"||a[u+1]!=null&&a[u+1].type!=="26"||(l.text=l.text.replace(LB,"")),o[o.length-1].push(l))}),o}function rz(e,t,r){r.inline=!0;let n=Cg(e[1],t,r),a=e[2].replace(TB,"").split("|").map(tz),o=function(l,u,c){return l.trim().split(` -`).map(function(d){return Cg(d,u,c)})}(e[3],t,r);return r.inline=!1,{align:a,cells:o,header:n,type:"25"}}function Sg(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Ut(e){return function(t,r){return r.inline?e.exec(t):null}}function Wt(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function Tt(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Sa(e){return function(t){return e.exec(t)}}function nz(e,t,r){if(t.inline||t.simple||r&&!r.endsWith(` -`))return null;let n="";e.split(` -`).every(o=>!h8.some(l=>l.test(o))&&(n+=o+` -`,o.trim()));let a=n.trimEnd();return a==""?null:[n,a]}function mn(e){try{if(decodeURIComponent(e).replace(/[^A-Za-z0-9/:]/g,"").match(/^\s*(javascript|vbscript|data(?!:image)):/i))return}catch{return null}return e}function kg(e){return e.replace(GB,"$1")}function Ri(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function az(e,t,r){let n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;let o=e(t,r);return r.inline=n,r.simple=a,o}function oz(e,t,r){return r.inline=!1,e(t,r)}var _c=(e,t,r)=>({children:Ri(t,e[1],r)});function Ic(){return{}}function Rc(){return null}function iz(...e){return e.filter(Boolean).join(" ")}function Bc(e,t,r){let n=e,a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function lz(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||ez,t.namedCodesToUnicode=t.namedCodesToUnicode?_r({},Eg,t.namedCodesToUnicode):Eg;let r=t.createElement||i.createElement;function n(f,y,...m){let w=Bc(t.overrides,`${f}.props`,{});return r(function(x,D){let E=Bc(D,x);return E?typeof E=="function"||typeof E=="object"&&"render"in E?E:Bc(D,`${x}.component`,x):x}(f,t.overrides),_r({},y,w,{className:iz(y==null?void 0:y.className,w.className)||void 0}),...m)}function a(f){f=f.replace(yB,"");let y=!1;t.forceInline?y=!0:t.forceBlock||(y=RB.test(f)===!1);let m=p(d(y?f:`${f.trimEnd().replace(UB,"")} - -`,{inline:y}));for(;typeof m[m.length-1]=="string"&&!m[m.length-1].trim();)m.pop();if(t.wrapper===null)return m;let w=t.wrapper||(y?"span":"div"),x;if(m.length>1||t.forceWrapper)x=m;else{if(m.length===1)return x=m[0],typeof x=="string"?n("span",{key:"outer"},x):x;x=null}return i.createElement(w,{key:"outer"},x)}function o(f){let y=f.match(iB);return y?y.reduce(function(m,w,x){let D=w.indexOf("=");if(D!==-1){let E=function(A){return A.indexOf("-")!==-1&&A.match(EB)===null&&(A=A.replace(kB,function(k,_){return _.toUpperCase()})),A}(w.slice(0,D)).trim(),b=function(A){let k=A[0];return(k==='"'||k==="'")&&A.length>=2&&A[A.length-1]===k?A.slice(1,-1):A}(w.slice(D+1).trim()),C=wg[E]||E,S=m[C]=function(A,k){return A==="style"?k.split(/;\s?/).reduce(function(_,I){let R=I.slice(0,I.indexOf(":"));return _[R.trim().replace(/(-[a-z])/g,z=>z[1].toUpperCase())]=I.slice(R.length+1).trim(),_},{}):A==="href"||A==="src"?mn(k):(k.match(DB)&&(k=k.slice(1,k.length-1)),k==="true"||k!=="false"&&k)}(E,b);typeof S=="string"&&(bd.test(S)||wd.test(S))&&(m[C]=i.cloneElement(a(S.trim()),{key:x}))}else w!=="style"&&(m[wg[w]||w]=!0);return m},{}):null}let l=[],u={},c={0:{match:Tt(Z6),order:1,parse:(f,y,m)=>({children:y(f[0].replace(uB,""),m)}),render:(f,y,m)=>n("blockquote",{key:m.key},y(f.children,m))},1:{match:Sa(cB),order:1,parse:Ic,render:(f,y,m)=>n("br",{key:m.key})},2:{match:Tt(dB),order:1,parse:Ic,render:(f,y,m)=>n("hr",{key:m.key})},3:{match:Tt(X6),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/\n+$/,"")}),render:(f,y,m)=>n("pre",{key:m.key},n("code",_r({},f.attrs,{className:f.lang?`lang-${f.lang}`:""}),f.text))},4:{match:Tt(J6),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Wt(pB),order:3,parse:f=>({text:f[2]}),render:(f,y,m)=>n("code",{key:m.key},f.text)},6:{match:Tt(mB),order:0,parse:f=>(l.push({footnote:f[2],identifier:f[1]}),{}),render:Rc},7:{match:Ut(gB),order:1,parse:f=>({target:`#${t.slugify(f[1])}`,text:f[1]}),render:(f,y,m)=>n("a",{key:m.key,href:mn(f.target)},n("sup",{key:m.key},f.text))},8:{match:Ut(bB),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,y,m)=>n("input",{checked:f.completed,key:m.key,readOnly:!0,type:"checkbox"})},9:{match:Tt(t.enforceAtxHeadings?e8:Q6),order:1,parse:(f,y,m)=>({children:Ri(y,f[2],m),id:t.slugify(f[2]),level:f[1].length}),render:(f,y,m)=>n(`h${f.level}`,{id:f.id,key:m.key},y(f.children,m))},10:{match:Tt(t8),order:0,parse:(f,y,m)=>({children:Ri(y,f[1],m),level:f[2]==="="?1:2,type:"9"})},11:{match:Sa(bd),order:1,parse(f,y,m){let[,w]=f[3].match(WB),x=new RegExp(`^${w}`,"gm"),D=f[3].replace(x,""),E=(b=D,QB.some(k=>k.test(b))?oz:Ri);var b;let C=f[1].toLowerCase(),S=oB.indexOf(C)!==-1,A={attrs:o(f[2]),noInnerParse:S,tag:(S?C:f[1]).trim()};return m.inAnchor=m.inAnchor||C==="a",S?A.text=f[3]:A.children=E(y,D,m),m.inAnchor=!1,A},render:(f,y,m)=>n(f.tag,_r({key:m.key},f.attrs),f.text||y(f.children,m))},13:{match:Sa(wd),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,y,m)=>n(f.tag,_r({},f.attrs,{key:m.key}))},12:{match:Sa(r8),order:1,parse:()=>({}),render:Rc},14:{match:Wt(XB),order:1,parse:f=>({alt:f[1],target:kg(f[2]),title:f[3]}),render:(f,y,m)=>n("img",{key:m.key,alt:f.alt||void 0,title:f.title||void 0,src:mn(f.target)})},15:{match:Ut(JB),order:3,parse:(f,y,m)=>({children:az(y,f[1],m),target:kg(f[2]),title:f[3]}),render:(f,y,m)=>n("a",{key:m.key,href:mn(f.target),title:f.title},y(f.children,m))},16:{match:Ut(SB),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,y)=>y.inAnchor?null:Ut(xB)(f,y),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Ut(CB),order:0,parse(f){let y=f[1],m=f[1];return lB.test(m)||(m="mailto:"+m),{children:[{text:y.replace("mailto:",""),type:"27"}],target:m,type:"15"}}},20:xg(n,1),33:xg(n,2),19:{match:Tt(fB),order:3,parse:Ic,render:()=>` -`},21:{match:nz,order:3,parse:_c,render:(f,y,m)=>n("p",{key:m.key},y(f.children,m))},22:{match:Ut(AB),order:0,parse:f=>(u[f[1]]={target:f[2],title:f[4]},{}),render:Rc},23:{match:Wt(FB),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,y,m)=>u[f.ref]?n("img",{key:m.key,alt:f.alt,src:mn(u[f.ref].target),title:u[f.ref].title}):null},24:{match:Ut(_B),order:0,parse:(f,y,m)=>({children:y(f[1],m),fallbackChildren:y(f[0].replace(IB,"\\$1"),m),ref:f[2]}),render:(f,y,m)=>u[f.ref]?n("a",{key:m.key,href:mn(u[f.ref].target),title:u[f.ref].title},y(f.children,m)):n("span",{key:m.key},y(f.fallbackChildren,m))},25:{match:Tt(n8),order:1,parse:rz,render:(f,y,m)=>n("table",{key:m.key},n("thead",null,n("tr",null,f.header.map(function(w,x){return n("th",{key:x,style:Sg(f,x)},y(w,m))}))),n("tbody",null,f.cells.map(function(w,x){return n("tr",{key:x},w.map(function(D,E){return n("td",{key:E,style:Sg(f,E)},y(D,m))}))})))},26:{match:function(f,y){return y.inTable?(y.inline=!0,zB.exec(f)):null},order:1,parse:function(){return{type:"26"}},render:()=>" | "},27:{match:Sa(qB),order:4,parse:f=>({text:f[0].replace(wB,(y,m)=>t.namedCodesToUnicode[m]?t.namedCodesToUnicode[m]:y)}),render:f=>f.text},28:{match:Wt(NB),order:2,parse:(f,y,m)=>({children:y(f[2],m)}),render:(f,y,m)=>n("strong",{key:m.key},y(f.children,m))},29:{match:Wt(HB),order:3,parse:(f,y,m)=>({children:y(f[2],m)}),render:(f,y,m)=>n("em",{key:m.key},y(f.children,m))},30:{match:Wt(VB),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Wt($B),order:3,parse:_c,render:(f,y,m)=>n("mark",{key:m.key},y(f.children,m))},32:{match:Wt(jB),order:3,parse:_c,render:(f,y,m)=>n("del",{key:m.key},y(f.children,m))}};t.disableParsingRawHTML===!0&&(delete c[11],delete c[13]);let d=function(f){let y=Object.keys(f);function m(w,x){let D=[],E="";for(;w;){let b=0;for(;bD(m,w,x),m,w,x):D(m,w,x)}}(c,t.renderRule),function f(y,m={}){if(Array.isArray(y)){let w=m.key,x=[],D=!1;for(let E=0;E{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var l,u,c={},d=Object.keys(a);for(u=0;u=0||(c[l]=a[l]);return c}(e,aB);return i.cloneElement(lz(t,r),n)},sz=F.label(({theme:e})=>({lineHeight:"18px",alignItems:"center",marginBottom:8,display:"inline-block",position:"relative",whiteSpace:"nowrap",background:e.boolean.background,borderRadius:"3em",padding:1,'&[aria-disabled="true"]':{opacity:.5,input:{cursor:"not-allowed"}},input:{appearance:"none",width:"100%",height:"100%",position:"absolute",left:0,top:0,margin:0,padding:0,border:"none",background:"transparent",cursor:"pointer",borderRadius:"3em","&:focus":{outline:"none",boxShadow:`${e.color.secondary} 0 0 0 1px inset !important`}},span:{textAlign:"center",fontSize:e.typography.size.s1,fontWeight:e.typography.weight.bold,lineHeight:"1",cursor:"pointer",display:"inline-block",padding:"7px 15px",transition:"all 100ms ease-out",userSelect:"none",borderRadius:"3em",color:Q(.5,e.color.defaultText),background:"transparent","&:hover":{boxShadow:`${si(.3,e.appBorderColor)} 0 0 0 1px inset`},"&:active":{boxShadow:`${si(.05,e.appBorderColor)} 0 0 0 2px inset`,color:si(1,e.appBorderColor)},"&:first-of-type":{paddingRight:8},"&:last-of-type":{paddingLeft:8}},"input:checked ~ span:last-of-type, input:not(:checked) ~ span:first-of-type":{background:e.boolean.selectedBackground,boxShadow:e.base==="light"?`${si(.1,e.appBorderColor)} 0 0 2px`:`${e.appBorderColor} 0 0 0 1px`,color:e.color.defaultText,padding:"7px 15px"}})),uz=e=>e==="true",cz=({name:e,value:t,onChange:r,onBlur:n,onFocus:a,argType:o})=>{var p;let l=i.useCallback(()=>r(!1),[r]),u=!!((p=o==null?void 0:o.table)!=null&&p.readonly);if(t===void 0)return v.createElement(en,{variant:"outline",size:"medium",id:ns(e),onClick:l,disabled:u},"Set boolean");let c=ot(e),d=typeof t=="string"?uz(t):t;return v.createElement(sz,{"aria-disabled":u,htmlFor:c,"aria-label":e},v.createElement("input",{id:c,type:"checkbox",onChange:g=>r(g.target.checked),checked:d,role:"switch",disabled:u,name:e,onBlur:n,onFocus:a}),v.createElement("span",{"aria-hidden":"true"},"False"),v.createElement("span",{"aria-hidden":"true"},"True"))},dz=e=>{let[t,r,n]=e.split("-"),a=new Date;return a.setFullYear(parseInt(t,10),parseInt(r,10)-1,parseInt(n,10)),a},pz=e=>{let[t,r]=e.split(":"),n=new Date;return n.setHours(parseInt(t,10)),n.setMinutes(parseInt(r,10)),n},fz=e=>{let t=new Date(e),r=`000${t.getFullYear()}`.slice(-4),n=`0${t.getMonth()+1}`.slice(-2),a=`0${t.getDate()}`.slice(-2);return`${r}-${n}-${a}`},hz=e=>{let t=new Date(e),r=`0${t.getHours()}`.slice(-2),n=`0${t.getMinutes()}`.slice(-2);return`${r}:${n}`},Ag=F(Io.Input)(({readOnly:e})=>({opacity:e?.5:1})),mz=F.div(({theme:e})=>({flex:1,display:"flex",input:{marginLeft:10,flex:1,height:32,"&::-webkit-calendar-picker-indicator":{opacity:.5,height:12,filter:e.base==="light"?void 0:"invert(1)"}},"input:first-of-type":{marginLeft:0,flexGrow:4},"input:last-of-type":{flexGrow:3}})),gz=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,argType:o})=>{var y;let[l,u]=i.useState(!0),c=i.useRef(),d=i.useRef(),p=!!((y=o==null?void 0:o.table)!=null&&y.readonly);i.useEffect(()=>{l!==!1&&(c&&c.current&&(c.current.value=t?fz(t):""),d&&d.current&&(d.current.value=t?hz(t):""))},[t]);let g=m=>{if(!m.target.value)return r();let w=dz(m.target.value),x=new Date(t);x.setFullYear(w.getFullYear(),w.getMonth(),w.getDate());let D=x.getTime();D&&r(D),u(!!D)},h=m=>{if(!m.target.value)return r();let w=pz(m.target.value),x=new Date(t);x.setHours(w.getHours()),x.setMinutes(w.getMinutes());let D=x.getTime();D&&r(D),u(!!D)},f=ot(e);return v.createElement(mz,null,v.createElement(Ag,{type:"date",max:"9999-12-31",ref:c,id:`${f}-date`,name:`${f}-date`,readOnly:p,onChange:g,onFocus:n,onBlur:a}),v.createElement(Ag,{type:"time",id:`${f}-time`,name:`${f}-time`,ref:d,onChange:h,readOnly:p,onFocus:n,onBlur:a}),l?null:v.createElement("div",null,"invalid"))},vz=F.label({display:"flex"}),yz=e=>{let t=parseFloat(e);return Number.isNaN(t)?void 0:t},bz=F(Io.Input)(({readOnly:e})=>({opacity:e?.5:1})),wz=({name:e,value:t,onChange:r,min:n,max:a,step:o,onBlur:l,onFocus:u,argType:c})=>{var E;let[d,p]=i.useState(typeof t=="number"?t:""),[g,h]=i.useState(!1),[f,y]=i.useState(null),m=!!((E=c==null?void 0:c.table)!=null&&E.readonly),w=i.useCallback(b=>{p(b.target.value);let C=parseFloat(b.target.value);Number.isNaN(C)?y(new Error(`'${b.target.value}' is not a number`)):(r(C),y(null))},[r,y]),x=i.useCallback(()=>{p("0"),r(0),h(!0)},[h]),D=i.useRef(null);return i.useEffect(()=>{g&&D.current&&D.current.select()},[g]),i.useEffect(()=>{d!==(typeof t=="number"?t:"")&&p(t)},[t]),t===void 0?v.createElement(en,{variant:"outline",size:"medium",id:ns(e),onClick:x,disabled:m},"Set number"):v.createElement(vz,null,v.createElement(bz,{ref:D,id:ot(e),type:"number",onChange:w,size:"flex",placeholder:"Edit number...",value:d,valid:f?"error":null,autoFocus:g,readOnly:m,name:e,min:n,max:a,step:o,onFocus:u,onBlur:l}))},g8=(e,t)=>{let r=t&&Object.entries(t).find(([n,a])=>a===e);return r?r[0]:void 0},Ed=(e,t)=>e&&t?Object.entries(t).filter(r=>e.includes(r[1])).map(r=>r[0]):[],v8=(e,t)=>e&&t&&e.map(r=>t[r]),Ez=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),Dz=F.span({"[aria-readonly=true] &":{opacity:.5}}),xz=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),Fg=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var h;if(!t)return dp.warn(`Checkbox with no options: ${e}`),v.createElement(v.Fragment,null,"-");let l=Ed(r,t),[u,c]=i.useState(l),d=!!((h=o==null?void 0:o.table)!=null&&h.readonly),p=f=>{let y=f.target.value,m=[...u];m.includes(y)?m.splice(m.indexOf(y),1):m.push(y),n(v8(m,t)),c(m)};i.useEffect(()=>{c(Ed(r,t))},[r]);let g=ot(e);return v.createElement(Ez,{"aria-readonly":d,isInline:a},Object.keys(t).map((f,y)=>{let m=`${g}-${y}`;return v.createElement(xz,{key:m,htmlFor:m},v.createElement("input",{type:"checkbox",disabled:d,id:m,name:m,value:f,onChange:p,checked:u==null?void 0:u.includes(f)}),v.createElement(Dz,null,f))}))},Cz=F.div(({isInline:e})=>e?{display:"flex",flexWrap:"wrap",alignItems:"flex-start",label:{display:"inline-flex",marginRight:15}}:{label:{display:"flex"}},e=>{if(e["aria-readonly"]==="true")return{input:{cursor:"not-allowed"}}}),Sz=F.span({"[aria-readonly=true] &":{opacity:.5}}),kz=F.label({lineHeight:"20px",alignItems:"center",marginBottom:8,"&:last-child":{marginBottom:0},input:{margin:0,marginRight:6}}),_g=({name:e,options:t,value:r,onChange:n,isInline:a,argType:o})=>{var d;if(!t)return dp.warn(`Radio with no options: ${e}`),v.createElement(v.Fragment,null,"-");let l=g8(r,t),u=ot(e),c=!!((d=o==null?void 0:o.table)!=null&&d.readonly);return v.createElement(Cz,{"aria-readonly":c,isInline:a},Object.keys(t).map((p,g)=>{let h=`${u}-${g}`;return v.createElement(kz,{key:h,htmlFor:h},v.createElement("input",{type:"radio",id:h,name:u,disabled:c,value:p,onChange:f=>n(t[f.currentTarget.value]),checked:p===l}),v.createElement(Sz,null,p))}))},Az={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},y8=F.select(Az,({theme:e})=>({boxSizing:"border-box",position:"relative",padding:"6px 10px",width:"100%",color:e.input.color||"inherit",background:e.input.background,borderRadius:e.input.borderRadius,boxShadow:`${e.input.border} 0 0 0 1px inset`,fontSize:e.typography.size.s2-1,lineHeight:"20px","&:focus":{boxShadow:`${e.color.secondary} 0 0 0 1px inset`,outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"::placeholder":{color:e.textMutedColor},"&[multiple]":{overflow:"auto",padding:0,option:{display:"block",padding:"6px 10px",marginLeft:1,marginRight:1}}})),b8=F.span(({theme:e})=>({display:"inline-block",lineHeight:"normal",overflow:"hidden",position:"relative",verticalAlign:"top",width:"100%",svg:{position:"absolute",zIndex:1,pointerEvents:"none",height:"12px",marginTop:"-6px",right:"12px",top:"50%",fill:e.textMutedColor,path:{fill:e.textMutedColor}}})),Ig="Choose option...",Fz=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{n(r[p.currentTarget.value])},l=g8(t,r)||Ig,u=ot(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return v.createElement(b8,null,v.createElement(O6,null),v.createElement(y8,{disabled:c,id:u,value:l,onChange:o},v.createElement("option",{key:"no-selection",disabled:!0},Ig),Object.keys(r).map(p=>v.createElement("option",{key:p,value:p},p))))},_z=({name:e,value:t,options:r,onChange:n,argType:a})=>{var d;let o=p=>{let g=Array.from(p.currentTarget.options).filter(h=>h.selected).map(h=>h.value);n(v8(g,r))},l=Ed(t,r),u=ot(e),c=!!((d=a==null?void 0:a.table)!=null&&d.readonly);return v.createElement(b8,null,v.createElement(y8,{disabled:c,id:u,multiple:!0,value:l,onChange:o},Object.keys(r).map(p=>v.createElement("option",{key:p,value:p},p))))},Rg=e=>{let{name:t,options:r}=e;return r?e.isMulti?v.createElement(_z,{...e}):v.createElement(Fz,{...e}):(dp.warn(`Select with no options: ${t}`),v.createElement(v.Fragment,null,"-"))},Iz=(e,t)=>Array.isArray(e)?e.reduce((r,n)=>(r[(t==null?void 0:t[n])||String(n)]=n,r),{}):e,Rz={check:Fg,"inline-check":Fg,radio:_g,"inline-radio":_g,select:Rg,"multi-select":Rg},gn=e=>{let{type:t="select",labels:r,argType:n}=e,a={...e,argType:n,options:n?Iz(n.options,r):{},isInline:t.includes("inline"),isMulti:t.includes("multi")},o=Rz[t];if(o)return v.createElement(o,{...a});throw new Error(`Unknown options type: ${t}`)},Bz="Error",zz="Object",Tz="Array",Lz="String",Mz="Number",Oz="Boolean",Pz="Date",Nz="Null",Hz="Undefined",$z="Function",jz="Symbol",w8="ADD_DELTA_TYPE",E8="REMOVE_DELTA_TYPE",D8="UPDATE_DELTA_TYPE",mp="value",Vz="key";function Lr(e){return e!==null&&typeof e=="object"&&!Array.isArray(e)&&typeof e[Symbol.iterator]=="function"?"Iterable":Object.prototype.toString.call(e).slice(8,-1)}function x8(e,t){let r=Lr(e),n=Lr(t);return(r==="Function"||n==="Function")&&n!==r}var gp=class extends i.Component{constructor(e){super(e),this.state={inputRefKey:null,inputRefValue:null},this.refInputValue=this.refInputValue.bind(this),this.refInputKey=this.refInputKey.bind(this),this.onKeydown=this.onKeydown.bind(this),this.onSubmit=this.onSubmit.bind(this)}componentDidMount(){let{inputRefKey:e,inputRefValue:t}=this.state,{onlyValue:r}=this.props;e&&typeof e.focus=="function"&&e.focus(),r&&t&&typeof t.focus=="function"&&t.focus(),document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.onSubmit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.props.handleCancel()))}onSubmit(){let{handleAdd:e,onlyValue:t,onSubmitValueParser:r,keyPath:n,deep:a}=this.props,{inputRefKey:o,inputRefValue:l}=this.state,u={};if(!t){if(!o.value)return;u.key=o.value}u.newValue=r(!1,n,a,u.key,l.value),e(u)}refInputKey(e){this.state.inputRefKey=e}refInputValue(e){this.state.inputRefValue=e}render(){let{handleCancel:e,onlyValue:t,addButtonElement:r,cancelButtonElement:n,inputElementGenerator:a,keyPath:o,deep:l}=this.props,u=i.cloneElement(r,{onClick:this.onSubmit}),c=i.cloneElement(n,{onClick:e}),d=a(mp,o,l),p=i.cloneElement(d,{placeholder:"Value",ref:this.refInputValue}),g=null;if(!t){let h=a(Vz,o,l);g=i.cloneElement(h,{placeholder:"Key",ref:this.refInputKey})}return v.createElement("span",{className:"rejt-add-value-node"},g,p,c,u)}};gp.defaultProps={onlyValue:!1,addButtonElement:v.createElement("button",null,"+"),cancelButtonElement:v.createElement("button",null,"c")};var C8=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={data:e.data,name:e.name,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveItem=this.handleRemoveItem.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleRemoveItem(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,l=n[e];t(e,a,o,l).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:l,type:E8};n.splice(e,1),this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(u)}).catch(r.error)}}handleAddValueAdd({newValue:e}){let{data:t,keyPath:r,nextDeep:n}=this.state,{beforeAddAction:a,logger:o}=this.props;a(t.length,r,n,e).then(()=>{let l=[...t,e];this.setState({data:l}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:c}=this.props;u(r[r.length-1],l),c({type:w8,keyPath:r,deep:n,key:l.length-1,newValue:e})}).catch(o.error)}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:l,nextDeep:u}=this.state,c=o[e];a(e,l,u,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],o),p({type:D8,keyPath:l,deep:u,key:e,newValue:t,oldValue:c}),r(void 0)}).catch(n)})}renderCollapsed(){let{name:e,data:t,keyPath:r,deep:n}=this.state,{handleRemove:a,readOnly:o,getStyle:l,dataType:u,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=l(e,t,r,n,u),g=o(e,t,r,n,u),h=i.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"[...] ",t.length," ",t.length===1?"item":"items"),!g&&h)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,addFormVisible:a,nextDeep:o}=this.state,{isCollapsed:l,handleRemove:u,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:g,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:_,delimiter:I,ul:R,addForm:z}=p(e,t,r,n,g),T=d(e,t,r,n,g),M=i.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),L=i.cloneElement(x,{onClick:u,className:"rejt-minus-menu",style:k});return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"["),!a&&M,v.createElement("ul",{className:"rejt-not-collapsed-list",style:R},t.map((O,N)=>v.createElement(us,{key:N,name:N.toString(),data:O,keyPath:r,deep:o,isCollapsed:l,handleRemove:this.handleRemoveItem(N),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}))),!T&&a&&v.createElement("div",{className:"rejt-add-form",style:z},v.createElement(gp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,onlyValue:!0,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:m,keyPath:r,deep:n,onSubmitValueParser:A})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:I},"]"),!T&&L)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{dataType:o,getStyle:l}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),c=l(e,r,n,a,o);return v.createElement("div",{className:"rejt-array-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),u)}};C8.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var S8=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:l,dataType:u}=this.props,c=l(r,n,a,o,u);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:l,deep:u}=this.state;if(!o)return;let c=n(!0,a,u,l,o.value);e({value:c,key:l}).then(()=>{x8(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:l,readOnly:u,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:g,textareaElementGenerator:h,minusMenuElement:f,keyPath:y}=this.props,m=d(e,l,n,a,c),w=null,x=null,D=u(e,l,n,a,c);if(r&&!D){let E=h(mp,y,a,e,l,c),b=i.cloneElement(p,{onClick:this.handleEdit}),C=i.cloneElement(g,{onClick:this.handleCancelEdit}),S=i.cloneElement(E,{ref:this.refInput,defaultValue:l});w=v.createElement("span",{className:"rejt-edit-form",style:m.editForm},S," ",C,b),x=null}else{w=v.createElement("span",{className:"rejt-value",style:m.value,onClick:D?null:this.handleEditMode},t);let E=i.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:m.minus});x=D?null:E}return v.createElement("li",{className:"rejt-function-value-node",style:m.li},v.createElement("span",{className:"rejt-name",style:m.name},e," :"," "),w,x)}};S8.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>{},editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};var us=class extends i.Component{constructor(e){super(e),this.state={data:e.data,name:e.name,keyPath:e.keyPath,deep:e.deep}}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}render(){let{data:e,name:t,keyPath:r,deep:n}=this.state,{isCollapsed:a,handleRemove:o,handleUpdateValue:l,onUpdate:u,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S}=this.props,A=()=>!0,k=Lr(e);switch(k){case Bz:return v.createElement(Dd,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:A,dataType:k,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case zz:return v.createElement(Dd,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:d,dataType:k,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case Tz:return v.createElement(C8,{data:e,name:t,isCollapsed:a,keyPath:r,deep:n,handleRemove:o,onUpdate:u,onDeltaUpdate:c,readOnly:d,dataType:k,getStyle:p,addButtonElement:g,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,textareaElementGenerator:m,minusMenuElement:w,plusMenuElement:x,beforeRemoveAction:D,beforeAddAction:E,beforeUpdateAction:b,logger:C,onSubmitValueParser:S});case Lz:return v.createElement(Kt,{name:t,value:`"${e}"`,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});case Mz:return v.createElement(Kt,{name:t,value:e,originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});case Oz:return v.createElement(Kt,{name:t,value:e?"true":"false",originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});case Pz:return v.createElement(Kt,{name:t,value:e.toISOString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});case Nz:return v.createElement(Kt,{name:t,value:"null",originalValue:"null",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});case Hz:return v.createElement(Kt,{name:t,value:"undefined",originalValue:"undefined",keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});case $z:return v.createElement(S8,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:d,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,textareaElementGenerator:m,minusMenuElement:w,logger:C,onSubmitValueParser:S});case jz:return v.createElement(Kt,{name:t,value:e.toString(),originalValue:e,keyPath:r,deep:n,handleRemove:o,handleUpdateValue:l,readOnly:A,dataType:k,getStyle:p,cancelButtonElement:h,editButtonElement:f,inputElementGenerator:y,minusMenuElement:w,logger:C,onSubmitValueParser:S});default:return null}}};us.defaultProps={keyPath:[],deep:0};var Dd=class extends i.Component{constructor(e){super(e);let t=e.deep===-1?[]:[...e.keyPath,e.name];this.state={name:e.name,data:e.data,keyPath:t,deep:e.deep,nextDeep:e.deep+1,collapsed:e.isCollapsed(t,e.deep,e.data),addFormVisible:!1},this.handleCollapseMode=this.handleCollapseMode.bind(this),this.handleRemoveValue=this.handleRemoveValue.bind(this),this.handleAddMode=this.handleAddMode.bind(this),this.handleAddValueAdd=this.handleAddValueAdd.bind(this),this.handleAddValueCancel=this.handleAddValueCancel.bind(this),this.handleEditValue=this.handleEditValue.bind(this),this.onChildUpdate=this.onChildUpdate.bind(this),this.renderCollapsed=this.renderCollapsed.bind(this),this.renderNotCollapsed=this.renderNotCollapsed.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data?{data:e.data}:null}onChildUpdate(e,t){let{data:r,keyPath:n}=this.state;r[e]=t,this.setState({data:r});let{onUpdate:a}=this.props,o=n.length;a(n[o-1],r)}handleAddMode(){this.setState({addFormVisible:!0})}handleAddValueCancel(){this.setState({addFormVisible:!1})}handleAddValueAdd({key:e,newValue:t}){let{data:r,keyPath:n,nextDeep:a}=this.state,{beforeAddAction:o,logger:l}=this.props;o(e,n,a,t).then(()=>{r[e]=t,this.setState({data:r}),this.handleAddValueCancel();let{onUpdate:u,onDeltaUpdate:c}=this.props;u(n[n.length-1],r),c({type:w8,keyPath:n,deep:a,key:e,newValue:t})}).catch(l.error)}handleRemoveValue(e){return()=>{let{beforeRemoveAction:t,logger:r}=this.props,{data:n,keyPath:a,nextDeep:o}=this.state,l=n[e];t(e,a,o,l).then(()=>{let u={keyPath:a,deep:o,key:e,oldValue:l,type:E8};delete n[e],this.setState({data:n});let{onUpdate:c,onDeltaUpdate:d}=this.props;c(a[a.length-1],n),d(u)}).catch(r.error)}}handleCollapseMode(){this.setState(e=>({collapsed:!e.collapsed}))}handleEditValue({key:e,value:t}){return new Promise((r,n)=>{let{beforeUpdateAction:a}=this.props,{data:o,keyPath:l,nextDeep:u}=this.state,c=o[e];a(e,l,u,c,t).then(()=>{o[e]=t,this.setState({data:o});let{onUpdate:d,onDeltaUpdate:p}=this.props;d(l[l.length-1],o),p({type:D8,keyPath:l,deep:u,key:e,newValue:t,oldValue:c}),r()}).catch(n)})}renderCollapsed(){let{name:e,keyPath:t,deep:r,data:n}=this.state,{handleRemove:a,readOnly:o,dataType:l,getStyle:u,minusMenuElement:c}=this.props,{minus:d,collapsed:p}=u(e,n,t,r,l),g=Object.getOwnPropertyNames(n),h=o(e,n,t,r,l),f=i.cloneElement(c,{onClick:a,className:"rejt-minus-menu",style:d});return v.createElement("span",{className:"rejt-collapsed"},v.createElement("span",{className:"rejt-collapsed-text",style:p,onClick:this.handleCollapseMode},"{...}"," ",g.length," ",g.length===1?"key":"keys"),!h&&f)}renderNotCollapsed(){let{name:e,data:t,keyPath:r,deep:n,nextDeep:a,addFormVisible:o}=this.state,{isCollapsed:l,handleRemove:u,onDeltaUpdate:c,readOnly:d,getStyle:p,dataType:g,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}=this.props,{minus:k,plus:_,addForm:I,ul:R,delimiter:z}=p(e,t,r,n,g),T=Object.getOwnPropertyNames(t),M=d(e,t,r,n,g),L=i.cloneElement(D,{onClick:this.handleAddMode,className:"rejt-plus-menu",style:_}),O=i.cloneElement(x,{onClick:u,className:"rejt-minus-menu",style:k}),N=T.map($=>v.createElement(us,{key:$,name:$,data:t[$],keyPath:r,deep:a,isCollapsed:l,handleRemove:this.handleRemoveValue($),handleUpdateValue:this.handleEditValue,onUpdate:this.onChildUpdate,onDeltaUpdate:c,readOnly:d,getStyle:p,addButtonElement:h,cancelButtonElement:f,editButtonElement:y,inputElementGenerator:m,textareaElementGenerator:w,minusMenuElement:x,plusMenuElement:D,beforeRemoveAction:E,beforeAddAction:b,beforeUpdateAction:C,logger:S,onSubmitValueParser:A}));return v.createElement("span",{className:"rejt-not-collapsed"},v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"{"),!M&&L,v.createElement("ul",{className:"rejt-not-collapsed-list",style:R},N),!M&&o&&v.createElement("div",{className:"rejt-add-form",style:I},v.createElement(gp,{handleAdd:this.handleAddValueAdd,handleCancel:this.handleAddValueCancel,addButtonElement:h,cancelButtonElement:f,inputElementGenerator:m,keyPath:r,deep:n,onSubmitValueParser:A})),v.createElement("span",{className:"rejt-not-collapsed-delimiter",style:z},"}"),!M&&O)}render(){let{name:e,collapsed:t,data:r,keyPath:n,deep:a}=this.state,{getStyle:o,dataType:l}=this.props,u=t?this.renderCollapsed():this.renderNotCollapsed(),c=o(e,r,n,a,l);return v.createElement("div",{className:"rejt-object-node"},v.createElement("span",{onClick:this.handleCollapseMode},v.createElement("span",{className:"rejt-name",style:c.name},e," :"," ")),u)}};Dd.defaultProps={keyPath:[],deep:0,minusMenuElement:v.createElement("span",null," - "),plusMenuElement:v.createElement("span",null," + ")};var Kt=class extends i.Component{constructor(e){super(e);let t=[...e.keyPath,e.name];this.state={value:e.value,name:e.name,keyPath:t,deep:e.deep,editEnabled:!1,inputRef:null},this.handleEditMode=this.handleEditMode.bind(this),this.refInput=this.refInput.bind(this),this.handleCancelEdit=this.handleCancelEdit.bind(this),this.handleEdit=this.handleEdit.bind(this),this.onKeydown=this.onKeydown.bind(this)}static getDerivedStateFromProps(e,t){return e.value!==t.value?{value:e.value}:null}componentDidUpdate(){let{editEnabled:e,inputRef:t,name:r,value:n,keyPath:a,deep:o}=this.state,{readOnly:l,dataType:u}=this.props,c=l(r,n,a,o,u);e&&!c&&typeof t.focus=="function"&&t.focus()}componentDidMount(){document.addEventListener("keydown",this.onKeydown)}componentWillUnmount(){document.removeEventListener("keydown",this.onKeydown)}onKeydown(e){e.altKey||e.ctrlKey||e.metaKey||e.shiftKey||e.repeat||((e.code==="Enter"||e.key==="Enter")&&(e.preventDefault(),this.handleEdit()),(e.code==="Escape"||e.key==="Escape")&&(e.preventDefault(),this.handleCancelEdit()))}handleEdit(){let{handleUpdateValue:e,originalValue:t,logger:r,onSubmitValueParser:n,keyPath:a}=this.props,{inputRef:o,name:l,deep:u}=this.state;if(!o)return;let c=n(!0,a,u,l,o.value);e({value:c,key:l}).then(()=>{x8(t,c)||this.handleCancelEdit()}).catch(r.error)}handleEditMode(){this.setState({editEnabled:!0})}refInput(e){this.state.inputRef=e}handleCancelEdit(){this.setState({editEnabled:!1})}render(){let{name:e,value:t,editEnabled:r,keyPath:n,deep:a}=this.state,{handleRemove:o,originalValue:l,readOnly:u,dataType:c,getStyle:d,editButtonElement:p,cancelButtonElement:g,inputElementGenerator:h,minusMenuElement:f,keyPath:y}=this.props,m=d(e,l,n,a,c),w=u(e,l,n,a,c),x=r&&!w,D=h(mp,y,a,e,l,c),E=i.cloneElement(p,{onClick:this.handleEdit}),b=i.cloneElement(g,{onClick:this.handleCancelEdit}),C=i.cloneElement(D,{ref:this.refInput,defaultValue:JSON.stringify(l)}),S=i.cloneElement(f,{onClick:o,className:"rejt-minus-menu",style:m.minus});return v.createElement("li",{className:"rejt-value-node",style:m.li},v.createElement("span",{className:"rejt-name",style:m.name},e," : "),x?v.createElement("span",{className:"rejt-edit-form",style:m.editForm},C," ",b,E):v.createElement("span",{className:"rejt-value",style:m.value,onClick:w?null:this.handleEditMode},String(t)),!w&&!x&&S)}};Kt.defaultProps={keyPath:[],deep:0,handleUpdateValue:()=>Promise.resolve(),editButtonElement:v.createElement("button",null,"e"),cancelButtonElement:v.createElement("button",null,"c"),minusMenuElement:v.createElement("span",null," - ")};function qz(e){let t=e;if(t.indexOf("function")===0)return(0,eval)(`(${t})`);try{t=JSON.parse(e)}catch{}return t}var Uz={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Wz={minus:{color:"red"},plus:{color:"green"},collapsed:{color:"grey"},delimiter:{},ul:{padding:"0px",margin:"0 0 0 25px",listStyle:"none"},name:{color:"#2287CD"},addForm:{}},Gz={minus:{color:"red"},editForm:{},value:{color:"#7bba3d"},li:{minHeight:"22px",lineHeight:"22px",outline:"0px"},name:{color:"#2287CD"}},k8=class extends i.Component{constructor(e){super(e),this.state={data:e.data,rootName:e.rootName},this.onUpdate=this.onUpdate.bind(this),this.removeRoot=this.removeRoot.bind(this)}static getDerivedStateFromProps(e,t){return e.data!==t.data||e.rootName!==t.rootName?{data:e.data,rootName:e.rootName}:null}onUpdate(e,t){this.setState({data:t}),this.props.onFullyUpdate(t)}removeRoot(){this.onUpdate(null,null)}render(){let{data:e,rootName:t}=this.state,{isCollapsed:r,onDeltaUpdate:n,readOnly:a,getStyle:o,addButtonElement:l,cancelButtonElement:u,editButtonElement:c,inputElement:d,textareaElement:p,minusMenuElement:g,plusMenuElement:h,beforeRemoveAction:f,beforeAddAction:y,beforeUpdateAction:m,logger:w,onSubmitValueParser:x,fallback:D=null}=this.props,E=Lr(e),b=a;Lr(a)==="Boolean"&&(b=()=>a);let C=d;d&&Lr(d)!=="Function"&&(C=()=>d);let S=p;return p&&Lr(p)!=="Function"&&(S=()=>p),E==="Object"||E==="Array"?v.createElement("div",{className:"rejt-tree"},v.createElement(us,{data:e,name:t,deep:-1,isCollapsed:r,onUpdate:this.onUpdate,onDeltaUpdate:n,readOnly:b,getStyle:o,addButtonElement:l,cancelButtonElement:u,editButtonElement:c,inputElementGenerator:C,textareaElementGenerator:S,minusMenuElement:g,plusMenuElement:h,handleRemove:this.removeRoot,beforeRemoveAction:f,beforeAddAction:y,beforeUpdateAction:m,logger:w,onSubmitValueParser:x})):D}};k8.defaultProps={rootName:"root",isCollapsed:(e,t)=>t!==-1,getStyle:(e,t,r,n,a)=>{switch(a){case"Object":case"Error":return Uz;case"Array":return Wz;default:return Gz}},readOnly:()=>!1,onFullyUpdate:()=>{},onDeltaUpdate:()=>{},beforeRemoveAction:()=>Promise.resolve(),beforeAddAction:()=>Promise.resolve(),beforeUpdateAction:()=>Promise.resolve(),logger:{error:()=>{}},onSubmitValueParser:(e,t,r,n,a)=>qz(a),inputElement:()=>v.createElement("input",null),textareaElement:()=>v.createElement("textarea",null),fallback:null};var{window:Kz}=globalThis,Yz=F.div(({theme:e})=>({position:"relative",display:"flex",'&[aria-readonly="true"]':{opacity:.5},".rejt-tree":{marginLeft:"1rem",fontSize:"13px"},".rejt-value-node, .rejt-object-node > .rejt-collapsed, .rejt-array-node > .rejt-collapsed, .rejt-object-node > .rejt-not-collapsed, .rejt-array-node > .rejt-not-collapsed":{"& > svg":{opacity:0,transition:"opacity 0.2s"}},".rejt-value-node:hover, .rejt-object-node:hover > .rejt-collapsed, .rejt-array-node:hover > .rejt-collapsed, .rejt-object-node:hover > .rejt-not-collapsed, .rejt-array-node:hover > .rejt-not-collapsed":{"& > svg":{opacity:1}},".rejt-edit-form button":{display:"none"},".rejt-add-form":{marginLeft:10},".rejt-add-value-node":{display:"inline-flex",alignItems:"center"},".rejt-name":{lineHeight:"22px"},".rejt-not-collapsed-delimiter":{lineHeight:"22px"},".rejt-plus-menu":{marginLeft:5},".rejt-object-node > span > *, .rejt-array-node > span > *":{position:"relative",zIndex:2},".rejt-object-node, .rejt-array-node":{position:"relative"},".rejt-object-node > span:first-of-type::after, .rejt-array-node > span:first-of-type::after, .rejt-collapsed::before, .rejt-not-collapsed::before":{content:'""',position:"absolute",top:0,display:"block",width:"100%",marginLeft:"-1rem",padding:"0 4px 0 1rem",height:22},".rejt-collapsed::before, .rejt-not-collapsed::before":{zIndex:1,background:"transparent",borderRadius:4,transition:"background 0.2s",pointerEvents:"none",opacity:.1},".rejt-object-node:hover, .rejt-array-node:hover":{"& > .rejt-collapsed::before, & > .rejt-not-collapsed::before":{background:e.color.secondary}},".rejt-collapsed::after, .rejt-not-collapsed::after":{content:'""',position:"absolute",display:"inline-block",pointerEvents:"none",width:0,height:0},".rejt-collapsed::after":{left:-8,top:8,borderTop:"3px solid transparent",borderBottom:"3px solid transparent",borderLeft:"3px solid rgba(153,153,153,0.6)"},".rejt-not-collapsed::after":{left:-10,top:10,borderTop:"3px solid rgba(153,153,153,0.6)",borderLeft:"3px solid transparent",borderRight:"3px solid transparent"},".rejt-value":{display:"inline-block",border:"1px solid transparent",borderRadius:4,margin:"1px 0",padding:"0 4px",cursor:"text",color:e.color.defaultText},".rejt-value-node:hover > .rejt-value":{background:e.color.lighter,borderColor:e.appBorderColor}})),zc=F.button(({theme:e,primary:t})=>({border:0,height:20,margin:1,borderRadius:4,background:t?e.color.secondary:"transparent",color:t?e.color.lightest:e.color.dark,fontWeight:t?"bold":"normal",cursor:"pointer",order:t?"initial":9})),Zz=F(LI)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.ancillary},"svg + &":{marginLeft:0}})),Jz=F(MI)(({theme:e,disabled:t})=>({display:"inline-block",verticalAlign:"middle",width:15,height:15,padding:3,marginLeft:5,cursor:t?"not-allowed":"pointer",color:e.textMutedColor,"&:hover":t?{}:{color:e.color.negative},"svg + &":{marginLeft:0}})),Bg=F.input(({theme:e,placeholder:t})=>({outline:0,margin:t?1:"1px 0",padding:"3px 4px",color:e.color.defaultText,background:e.background.app,border:`1px solid ${e.appBorderColor}`,borderRadius:4,lineHeight:"14px",width:t==="Key"?80:120,"&:focus":{border:`1px solid ${e.color.secondary}`}})),Xz=F(Pr)(({theme:e})=>({position:"absolute",zIndex:2,top:2,right:2,height:21,padding:"0 3px",background:e.background.bar,border:`1px solid ${e.appBorderColor}`,borderRadius:3,color:e.textMutedColor,fontSize:"9px",fontWeight:"bold",textDecoration:"none",span:{marginLeft:3,marginTop:1}})),Qz=F(Io.Textarea)(({theme:e})=>({flex:1,padding:"7px 6px",fontFamily:e.typography.fonts.mono,fontSize:"12px",lineHeight:"18px","&::placeholder":{fontFamily:e.typography.fonts.base,fontSize:"13px"},"&:placeholder-shown":{padding:"7px 10px"}})),eT={bubbles:!0,cancelable:!0,key:"Enter",code:"Enter",keyCode:13},tT=e=>{e.currentTarget.dispatchEvent(new Kz.KeyboardEvent("keydown",eT))},rT=e=>{e.currentTarget.select()},nT=e=>()=>({name:{color:e.color.secondary},collapsed:{color:e.color.dark},ul:{listStyle:"none",margin:"0 0 0 1rem",padding:0},li:{outline:0}}),zg=({name:e,value:t,onChange:r,argType:n})=>{var E;let a=Wg(),o=i.useMemo(()=>t&&FI(t),[t]),l=o!=null,[u,c]=i.useState(!l),[d,p]=i.useState(null),g=!!((E=n==null?void 0:n.table)!=null&&E.readonly),h=i.useCallback(b=>{try{b&&r(JSON.parse(b)),p(void 0)}catch(C){p(C)}},[r]),[f,y]=i.useState(!1),m=i.useCallback(()=>{r({}),y(!0)},[y]),w=i.useRef(null);if(i.useEffect(()=>{f&&w.current&&w.current.select()},[f]),!l)return v.createElement(en,{disabled:g,id:ns(e),onClick:m},"Set object");let x=v.createElement(Qz,{ref:w,id:ot(e),name:e,defaultValue:t===null?"":JSON.stringify(t,null,2),onBlur:b=>h(b.target.value),placeholder:"Edit JSON string...",autoFocus:f,valid:d?"error":null,readOnly:g}),D=Array.isArray(t)||typeof t=="object"&&(t==null?void 0:t.constructor)===Object;return v.createElement(Yz,{"aria-readonly":g},D&&v.createElement(Xz,{onClick:b=>{b.preventDefault(),c(C=>!C)}},u?v.createElement(zI,null):v.createElement(BI,null),v.createElement("span",null,"RAW")),u?x:v.createElement(k8,{readOnly:g||!D,isCollapsed:D?void 0:()=>!0,data:o,rootName:e,onFullyUpdate:r,getStyle:nT(a),cancelButtonElement:v.createElement(zc,{type:"button"},"Cancel"),editButtonElement:v.createElement(zc,{type:"submit"},"Save"),addButtonElement:v.createElement(zc,{type:"submit",primary:!0},"Save"),plusMenuElement:v.createElement(Zz,null),minusMenuElement:v.createElement(Jz,null),inputElement:(b,C,S,A)=>A?v.createElement(Bg,{onFocus:rT,onBlur:tT}):v.createElement(Bg,null),fallback:x}))},aT=F.input(({theme:e,min:t,max:r,value:n,disabled:a})=>({"&":{width:"100%",backgroundColor:"transparent",appearance:"none"},"&::-webkit-slider-runnable-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${ht(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ar(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ar(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border:`1px solid ${Ot(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ot(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grab",appearance:"none",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ht(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:a?"not-allowed":"grab"}},"&:focus":{outline:"none","&::-webkit-slider-runnable-track":{borderColor:Ot(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow:`0 0px 5px 0px ${e.color.secondary}`}},"&::-moz-range-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${ht(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ar(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ar(.02,e.input.background)} 100%)`,boxShadow:`${e.appBorderColor} 0 0 0 1px inset`,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border:`1px solid ${Ot(e.appBorderColor,.2)}`,borderRadius:"50px",boxShadow:`0 1px 3px 0px ${Ot(e.appBorderColor,.2)}`,cursor:a?"not-allowed":"grap",background:`${e.input.background}`,transition:"all 150ms ease-out","&:hover":{background:`${ht(.05,e.input.background)}`,transform:"scale3d(1.1, 1.1, 1.1) translateY(-1px)",transition:"all 50ms ease-out"},"&:active":{background:`${e.input.background}`,transform:"scale3d(1, 1, 1) translateY(0px)",cursor:"grabbing"}},"&::-ms-track":{background:e.base==="light"?`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${ht(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${ht(.02,e.input.background)} 100%)`:`linear-gradient(to right, - ${e.color.green} 0%, ${e.color.green} ${(n-t)/(r-t)*100}%, - ${Ar(.02,e.input.background)} ${(n-t)/(r-t)*100}%, - ${Ar(.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 ${Ot(e.appBorderColor,.2)}`,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),A8=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}),oT=F(A8)(({numberOFDecimalsPlaces:e,max:t})=>({width:`${e+t.toString().length*2+3}ch`,textAlign:"right",flexShrink:0})),iT=F.div({display:"flex",alignItems:"center",width:"100%"});function lT(e){let t=e.toString().match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}var sT=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:l,onFocus:u,argType:c})=>{var f;let d=y=>{r(yz(y.target.value))},p=t!==void 0,g=i.useMemo(()=>lT(o),[o]),h=!!((f=c==null?void 0:c.table)!=null&&f.readonly);return v.createElement(iT,{"aria-readonly":h},v.createElement(A8,null,n),v.createElement(aT,{id:ot(e),type:"range",disabled:h,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:u,onBlur:l}),v.createElement(oT,{numberOFDecimalsPlaces:g,max:a},p?t.toFixed(g):"--"," / ",a))},uT=F.label({display:"flex"}),cT=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),dT=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:l})=>{var f;let u=y=>{r(y.target.value)},c=!!((f=l==null?void 0:l.table)!=null&&f.readonly),[d,p]=i.useState(!1),g=i.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return v.createElement(en,{variant:"outline",size:"medium",disabled:c,id:ns(e),onClick:g},"Set string");let h=typeof t=="string";return v.createElement(uT,null,v.createElement(Io.Textarea,{id:ot(e),maxLength:o,onChange:u,disabled:c,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:h?null:"error",name:e,value:h?t:"",onFocus:n,onBlur:a}),o&&v.createElement(cT,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},pT=F(Io.Input)({padding:10});function fT(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var hT=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var c;let o=i.useRef(null),l=(c=a==null?void 0:a.control)==null?void 0:c.readOnly;function u(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(g=>URL.createObjectURL(g));e(p),fT(n)}return i.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),v.createElement(pT,{ref:o,id:ot(t),type:"file",name:t,multiple:!0,disabled:l,onChange:u,accept:r,size:"flex"})},mT=i.lazy(()=>Vg(()=>import("./Color-F6OSRLHC-BYxDHg9a.js"),__vite__mapDeps([8,2,3,4,1,5,6,7]),import.meta.url)),gT=e=>v.createElement(i.Suspense,{fallback:v.createElement("div",null)},v.createElement(mT,{...e})),vT={array:zg,object:zg,boolean:cz,color:gT,date:gz,number:wz,check:gn,"inline-check":gn,radio:gn,"inline-radio":gn,select:gn,"multi-select":gn,range:sT,text:dT,file:hT},Tg=()=>v.createElement(v.Fragment,null,"-"),yT=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var m;let{key:a,control:o}=e,[l,u]=i.useState(!1),[c,d]=i.useState({value:t});i.useEffect(()=>{l||d({value:t})},[l,t]);let p=i.useCallback(w=>(d({value:w}),r({[a]:w}),w),[r,a]),g=i.useCallback(()=>u(!1),[]),h=i.useCallback(()=>u(!0),[]);if(!o||o.disable){let w=(o==null?void 0:o.disable)!==!0&&((m=e==null?void 0:e.type)==null?void 0:m.name)!=="function";return n&&w?v.createElement(Mn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):v.createElement(Tg,null)}let f={name:a,argType:e,value:c.value,onChange:p,onBlur:g,onFocus:h},y=vT[o.type]||Tg;return v.createElement(y,{...f,...o,controlType:o.type})},bT=F.table(({theme:e})=>({"&&":{borderCollapse:"collapse",borderSpacing:0,border:"none",tr:{border:"none !important",background:"none"},"td, th":{padding:0,border:"none",width:"auto!important"},marginTop:0,marginBottom:0,"th:first-of-type, td:first-of-type":{paddingLeft:0},"th:last-of-type, td:last-of-type":{paddingRight:0},td:{paddingTop:0,paddingBottom:4,"&:not(:first-of-type)":{paddingLeft:10,paddingRight:0}},tbody:{boxShadow:"none",border:"none"},code:pr({theme:e}),div:{span:{fontWeight:"bold"}},"& code":{margin:0,display:"inline-block",fontSize:e.typography.size.s1}}})),wT=({tags:e})=>{let t=(e.params||[]).filter(o=>o.description),r=t.length!==0,n=e.deprecated!=null,a=e.returns!=null&&e.returns.description!=null;return!r&&!a&&!n?null:v.createElement(v.Fragment,null,v.createElement(bT,null,v.createElement("tbody",null,n&&v.createElement("tr",{key:"deprecated"},v.createElement("td",{colSpan:2},v.createElement("strong",null,"Deprecated"),": ",e.deprecated.toString())),r&&t.map(o=>v.createElement("tr",{key:o.name},v.createElement("td",null,v.createElement("code",null,o.name)),v.createElement("td",null,o.description))),a&&v.createElement("tr",{key:"returns"},v.createElement("td",null,v.createElement("code",null,"Returns")),v.createElement("td",null,e.returns.description)))))},ET=cp(P6()),xd=8,Lg=F.div(({isExpanded:e})=>({display:"flex",flexDirection:e?"column":"row",flexWrap:"wrap",alignItems:"flex-start",marginBottom:"-4px",minWidth:100})),DT=F.span(pr,({theme:e,simple:t=!1})=>({flex:"0 0 auto",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,wordBreak:"break-word",whiteSpace:"normal",maxWidth:"100%",margin:0,marginRight:"4px",marginBottom:"4px",paddingTop:"2px",paddingBottom:"2px",lineHeight:"13px",...t&&{background:"transparent",border:"0 none",paddingLeft:0}})),xT=F.button(({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,marginBottom:"4px",background:"none",border:"none"})),CT=F.div(pr,({theme:e})=>({fontFamily:e.typography.fonts.mono,color:e.color.secondary,fontSize:e.typography.size.s1,margin:0,whiteSpace:"nowrap",display:"flex",alignItems:"center"})),ST=F.div(({theme:e,width:t})=>({width:t,minWidth:200,maxWidth:800,padding:15,fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,boxSizing:"content-box","& code":{padding:"0 !important"}})),kT=F(HI)({marginLeft:4}),AT=F(O6)({marginLeft:4}),FT=()=>v.createElement("span",null,"-"),F8=({text:e,simple:t})=>v.createElement(DT,{simple:t},e),_T=(0,ET.default)(1e3)(e=>{let t=e.split(/\r?\n/);return`${Math.max(...t.map(r=>r.length))}ch`}),IT=e=>{if(!e)return[e];let t=e.split("|").map(r=>r.trim());return wI(t)},Mg=(e,t=!0)=>{let r=e;return t||(r=e.slice(0,xd)),r.map(n=>v.createElement(F8,{key:n,text:n===""?'""':n}))},RT=({value:e,initialExpandedArgs:t})=>{let{summary:r,detail:n}=e,[a,o]=i.useState(!1),[l,u]=i.useState(t||!1);if(r==null)return null;let c=typeof r.toString=="function"?r.toString():r;if(n==null){if(/[(){}[\]<>]/.test(c))return v.createElement(F8,{text:c});let d=IT(c),p=d.length;return p>xd?v.createElement(Lg,{isExpanded:l},Mg(d,l),v.createElement(xT,{onClick:()=>u(!l)},l?"Show less...":`Show ${p-xd} more...`)):v.createElement(Lg,null,Mg(d))}return v.createElement(f_,{closeOnOutsideClick:!0,placement:"bottom",visible:a,onVisibleChange:d=>{o(d)},tooltip:v.createElement(ST,{width:_T(n)},v.createElement(ep,{language:"jsx",format:!1},n))},v.createElement(CT,{className:"sbdocs-expandable"},v.createElement("span",null,c),a?v.createElement(kT,null):v.createElement(AT,null)))},Tc=({value:e,initialExpandedArgs:t})=>e==null?v.createElement(FT,null):v.createElement(RT,{value:e,initialExpandedArgs:t}),BT=F.span({fontWeight:"bold"}),zT=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.mono,cursor:"help"})),TT=F.div(({theme:e})=>({"&&":{p:{margin:"0 0 10px 0"},a:{color:e.color.secondary}},code:{...pr({theme:e}),fontSize:12,fontFamily:e.typography.fonts.mono},"& code":{margin:0,display:"inline-block"},"& pre > code":{whiteSpace:"pre-wrap"}})),LT=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?4:0})),MT=F.div(({theme:e,hasDescription:t})=>({color:e.base==="light"?Q(.1,e.color.defaultText):Q(.2,e.color.defaultText),marginTop:t?12:0,marginBottom:12})),OT=F.td(({theme:e,expandable:t})=>({paddingLeft:t?"40px !important":"20px !important"})),PT=e=>e&&{summary:typeof e=="string"?e:e.name},ci=e=>{var m;let[t,r]=i.useState(!1),{row:n,updateArgs:a,compact:o,expandable:l,initialExpandedArgs:u}=e,{name:c,description:d}=n,p=n.table||{},g=p.type||PT(n.type),h=p.defaultValue||n.defaultValue,f=(m=n.type)==null?void 0:m.required,y=d!=null&&d!=="";return v.createElement("tr",{onMouseEnter:()=>r(!0),onMouseLeave:()=>r(!1)},v.createElement(OT,{expandable:l},v.createElement(BT,null,c),f?v.createElement(zT,{title:"Required"},"*"):null),o?null:v.createElement("td",null,y&&v.createElement(TT,null,v.createElement(m8,null,d)),p.jsDocTags!=null?v.createElement(v.Fragment,null,v.createElement(MT,{hasDescription:y},v.createElement(Tc,{value:g,initialExpandedArgs:u})),v.createElement(wT,{tags:p.jsDocTags})):v.createElement(LT,{hasDescription:y},v.createElement(Tc,{value:g,initialExpandedArgs:u}))),o?null:v.createElement("td",null,v.createElement(Tc,{value:h,initialExpandedArgs:u})),a?v.createElement("td",null,v.createElement(yT,{...e,isHovered:t})):null)},NT=F.div(({inAddonPanel:e,theme:t})=>({height:e?"100%":"auto",display:"flex",border:e?"none":`1px solid ${t.appBorderColor}`,borderRadius:e?0:t.appBorderRadius,padding:e?0:40,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:t.background.content,boxShadow:"rgba(0, 0, 0, 0.10) 0 1px 3px 0"})),HT=F.div(({theme:e})=>({display:"flex",fontSize:e.typography.size.s2-1,gap:25})),$T=F.div(({theme:e})=>({width:1,height:16,backgroundColor:e.appBorderColor})),jT=({inAddonPanel:e})=>{let[t,r]=i.useState(!0);return i.useEffect(()=>{let n=setTimeout(()=>{r(!1)},100);return()=>clearTimeout(n)},[]),t?null:v.createElement(NT,{inAddonPanel:e},v.createElement(F6,{title:e?"Interactive story playground":"Args table with interactive controls couldn't be auto-generated",description:v.createElement(v.Fragment,null,"Controls give you an easy to use interface to test your components. Set your story args and you'll see controls appearing here automatically."),footer:v.createElement(HT,null,e&&v.createElement(v.Fragment,null,v.createElement(Mn,{href:"https://youtu.be/0gOfS6K0x0E",target:"_blank",withArrow:!0},v.createElement(TI,null)," Watch 5m video"),v.createElement($T,null),v.createElement(Mn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(hd,null)," Read docs")),!e&&v.createElement(Mn,{href:"https://storybook.js.org/docs/essentials/controls",target:"_blank",withArrow:!0},v.createElement(hd,null)," Learn how to set that up"))}))},VT=F(PI)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),qT=F(NI)(({theme:e})=>({marginRight:8,marginLeft:-10,marginTop:-2,height:12,width:12,color:e.base==="light"?Q(.25,e.color.defaultText):Q(.3,e.color.defaultText),border:"none",display:"inline-block"})),UT=F.span(({theme:e})=>({display:"flex",lineHeight:"20px",alignItems:"center"})),WT=F.td(({theme:e})=>({position:"relative",letterSpacing:"0.35em",textTransform:"uppercase",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s1-1,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),background:`${e.background.app} !important`,"& ~ td":{background:`${e.background.app} !important`}})),GT=F.td(({theme:e})=>({position:"relative",fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,background:e.background.app})),KT=F.td(()=>({position:"relative"})),YT=F.tr(({theme:e})=>({"&:hover > td":{backgroundColor:`${Ar(.005,e.background.app)} !important`,boxShadow:`${e.color.mediumlight} 0 - 1px 0 0 inset`,cursor:"row-resize"}})),Og=F.button(()=>({background:"none",border:"none",padding:"0",font:"inherit",position:"absolute",top:0,bottom:0,left:0,right:0,height:"100%",width:"100%",color:"transparent",cursor:"row-resize !important"})),Lc=({level:e="section",label:t,children:r,initialExpanded:n=!0,colSpan:a=3})=>{let[o,l]=i.useState(n),u=e==="subsection"?GT:WT,c=(r==null?void 0:r.length)||0,d=e==="subsection"?`${c} item${c!==1?"s":""}`:"",p=`${o?"Hide":"Show"} ${e==="subsection"?c:t} item${c!==1?"s":""}`;return v.createElement(v.Fragment,null,v.createElement(YT,{title:p},v.createElement(u,{colSpan:1},v.createElement(Og,{onClick:g=>l(!o),tabIndex:0},p),v.createElement(UT,null,o?v.createElement(VT,null):v.createElement(qT,null),t)),v.createElement(KT,{colSpan:a-1},v.createElement(Og,{onClick:g=>l(!o),tabIndex:-1,style:{outline:"none"}},p),o?null:d)),o?r:null)},di=F.div(({theme:e})=>({display:"flex",gap:16,borderBottom:`1px solid ${e.appBorderColor}`,"&:last-child":{borderBottom:0}})),be=F.div(({numColumn:e})=>({display:"flex",flexDirection:"column",flex:e||1,gap:5,padding:"12px 20px"})),se=F.div(({theme:e,width:t,height:r})=>({animation:`${e.animation.glow} 1.5s ease-in-out infinite`,background:e.appBorderColor,width:t||"100%",height:r||16,borderRadius:3})),we=[2,4,2,2],ZT=()=>v.createElement(v.Fragment,null,v.createElement(di,null,v.createElement(be,{numColumn:we[0]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[1]},v.createElement(se,{width:"30%"})),v.createElement(be,{numColumn:we[2]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[3]},v.createElement(se,{width:"60%"}))),v.createElement(di,null,v.createElement(be,{numColumn:we[0]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[1]},v.createElement(se,{width:"80%"}),v.createElement(se,{width:"30%"})),v.createElement(be,{numColumn:we[2]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[3]},v.createElement(se,{width:"60%"}))),v.createElement(di,null,v.createElement(be,{numColumn:we[0]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[1]},v.createElement(se,{width:"80%"}),v.createElement(se,{width:"30%"})),v.createElement(be,{numColumn:we[2]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[3]},v.createElement(se,{width:"60%"}))),v.createElement(di,null,v.createElement(be,{numColumn:we[0]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[1]},v.createElement(se,{width:"80%"}),v.createElement(se,{width:"30%"})),v.createElement(be,{numColumn:we[2]},v.createElement(se,{width:"60%"})),v.createElement(be,{numColumn:we[3]},v.createElement(se,{width:"60%"})))),JT=F.table(({theme:e,compact:t,inAddonPanel:r})=>({"&&":{borderSpacing:0,color:e.color.defaultText,"td, th":{padding:0,border:"none",verticalAlign:"top",textOverflow:"ellipsis"},fontSize:e.typography.size.s2-1,lineHeight:"20px",textAlign:"left",width:"100%",marginTop:r?0:25,marginBottom:r?0:40,"thead th:first-of-type, td:first-of-type":{width:"25%"},"th:first-of-type, td:first-of-type":{paddingLeft:20},"th:nth-of-type(2), td:nth-of-type(2)":{...t?null:{width:"35%"}},"td:nth-of-type(3)":{...t?null:{width:"15%"}},"th:last-of-type, td:last-of-type":{paddingRight:20,...t?null:{width:"25%"}},th:{color:e.base==="light"?Q(.25,e.color.defaultText):Q(.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}}}}})),XT=F(Pr)(({theme:e})=>({margin:"-4px -12px -4px 0"})),QT=F.span({display:"flex",justifyContent:"space-between"}),eL={alpha:(e,t)=>e.name.localeCompare(t.name),requiredFirst:(e,t)=>{var r,n;return+!!((r=t.type)!=null&&r.required)-+!!((n=e.type)!=null&&n.required)||e.name.localeCompare(t.name)},none:void 0},tL=(e,t)=>{let r={ungrouped:[],ungroupedSubsections:{},sections:{}};if(!e)return r;Object.entries(e).forEach(([o,l])=>{let{category:u,subcategory:c}=(l==null?void 0:l.table)||{};if(u){let d=r.sections[u]||{ungrouped:[],subsections:{}};if(!c)d.ungrouped.push({key:o,...l});else{let p=d.subsections[c]||[];p.push({key:o,...l}),d.subsections[c]=p}r.sections[u]=d}else if(c){let d=r.ungroupedSubsections[c]||[];d.push({key:o,...l}),r.ungroupedSubsections[c]=d}else r.ungrouped.push({key:o,...l})});let n=eL[t],a=o=>n?Object.keys(o).reduce((l,u)=>({...l,[u]:o[u].sort(n)}),{}):o;return{ungrouped:r.ungrouped.sort(n),ungroupedSubsections:a(r.ungroupedSubsections),sections:Object.keys(r.sections).reduce((o,l)=>({...o,[l]:{ungrouped:r.sections[l].ungrouped.sort(n),subsections:a(r.sections[l].subsections)}}),{})}},rL=(e,t,r)=>{try{return J8(e,t,r)}catch(n){return VI.warn(n.message),!1}},Cd=e=>{let{updateArgs:t,resetArgs:r,compact:n,inAddonPanel:a,initialExpandedArgs:o,sort:l="none",isLoading:u}=e;if("error"in e){let{error:D}=e;return v.createElement(U6,null,D," ",v.createElement(Mn,{href:"http://storybook.js.org/docs/",target:"_blank",withArrow:!0},v.createElement(hd,null)," Read the docs"))}if(u)return v.createElement(ZT,null);let{rows:c,args:d,globals:p}="rows"in e&&e,g=tL(EI(c||{},D=>{var E;return!((E=D==null?void 0:D.table)!=null&&E.disable)&&rL(D,d||{},p||{})}),l),h=g.ungrouped.length===0,f=Object.entries(g.sections).length===0,y=Object.entries(g.ungroupedSubsections).length===0;if(h&&f&&y)return v.createElement(jT,{inAddonPanel:a});let m=1;t&&(m+=1),n||(m+=2);let w=Object.keys(g.sections).length>0,x={updateArgs:t,compact:n,inAddonPanel:a,initialExpandedArgs:o};return v.createElement(qb,null,v.createElement(JT,{compact:n,inAddonPanel:a,className:"docblock-argstable sb-unstyled"},v.createElement("thead",{className:"docblock-argstable-head"},v.createElement("tr",null,v.createElement("th",null,v.createElement("span",null,"Name")),n?null:v.createElement("th",null,v.createElement("span",null,"Description")),n?null:v.createElement("th",null,v.createElement("span",null,"Default")),t?v.createElement("th",null,v.createElement(QT,null,"Control"," ",!u&&r&&v.createElement(XT,{onClick:()=>r(),title:"Reset controls"},v.createElement($I,{"aria-hidden":!0})))):null)),v.createElement("tbody",{className:"docblock-argstable-body"},g.ungrouped.map(D=>v.createElement(ci,{key:D.key,row:D,arg:d&&d[D.key],...x})),Object.entries(g.ungroupedSubsections).map(([D,E])=>v.createElement(Lc,{key:D,label:D,level:"subsection",colSpan:m},E.map(b=>v.createElement(ci,{key:b.key,row:b,arg:d&&d[b.key],expandable:w,...x})))),Object.entries(g.sections).map(([D,E])=>v.createElement(Lc,{key:D,label:D,level:"section",colSpan:m},E.ungrouped.map(b=>v.createElement(ci,{key:b.key,row:b,arg:d&&d[b.key],...x})),Object.entries(E.subsections).map(([b,C])=>v.createElement(Lc,{key:b,label:b,level:"subsection",colSpan:m},C.map(S=>v.createElement(ci,{key:S.key,row:S,arg:d&&d[S.key],expandable:w,...x})))))))))},nL=({tabs:e,...t})=>{let r=Object.entries(e);return r.length===1?v.createElement(Cd,{...r[0][1],...t}):v.createElement(Y_,null,r.map((n,a)=>{let[o,l]=n,u=`prop_table_div_${o}`,c="div",d=a===0?t:{sort:t.sort};return v.createElement(c,{key:u,id:u,title:o},({active:p})=>p?v.createElement(Cd,{key:`prop_table_${o}`,...l,...d}):null)}))};F.div(({theme:e})=>({marginRight:30,fontSize:`${e.typography.size.s1}px`,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));F.div({overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"});F.div({display:"flex",flexDirection:"row",alignItems:"baseline","&:not(:last-child)":{marginBottom:"1rem"}});F.div(re,({theme:e})=>({...ls(e),margin:"25px 0 40px",padding:"30px 20px"}));F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,color:e.color.defaultText}));F.div(({theme:e})=>({color:e.base==="light"?Q(.2,e.color.defaultText):Q(.6,e.color.defaultText)}));F.div({flex:"0 0 30%",lineHeight:"20px",marginTop:5});F.div(({theme:e})=>({flex:1,textAlign:"center",fontFamily:e.typography.fonts.mono,fontSize:e.typography.size.s1,lineHeight:1,overflow:"hidden",color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText),"> div":{display:"inline-block",overflow:"hidden",maxWidth:"100%",textOverflow:"ellipsis"},span:{display:"block",marginTop:2}}));F.div({display:"flex",flexDirection:"row"});F.div(({background:e})=>({position:"relative",flex:1,"&::before":{position:"absolute",top:0,left:0,width:"100%",height:"100%",background:e,content:'""'}}));F.div(({theme:e})=>({...ls(e),display:"flex",flexDirection:"row",height:50,marginBottom:5,overflow:"hidden",backgroundColor:"white",backgroundImage:"repeating-linear-gradient(-45deg, #ccc, #ccc 1px, #fff 1px, #fff 16px)",backgroundClip:"padding-box"}));F.div({display:"flex",flexDirection:"column",flex:1,position:"relative",marginBottom:30});F.div({flex:1,display:"flex",flexDirection:"row"});F.div({display:"flex",alignItems:"flex-start"});F.div({flex:"0 0 30%"});F.div({flex:1});F.div(({theme:e})=>({display:"flex",flexDirection:"row",alignItems:"center",paddingBottom:20,fontWeight:e.typography.weight.bold,color:e.base==="light"?Q(.4,e.color.defaultText):Q(.6,e.color.defaultText)}));F.div(({theme:e})=>({fontSize:e.typography.size.s2,lineHeight:"20px",display:"flex",flexDirection:"column"}));F.div(({theme:e})=>({fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,color:e.color.defaultText,marginLeft:10,lineHeight:1.2}));F.div(({theme:e})=>({...ls(e),overflow:"hidden",height:40,width:40,display:"flex",alignItems:"center",justifyContent:"center",flex:"none","> img, > svg":{width:20,height:20}}));F.div({display:"inline-flex",flexDirection:"row",alignItems:"center",flex:"0 1 calc(20% - 10px)",minWidth:120,margin:"0px 10px 30px 0"});F.div({display:"flex",flexFlow:"row wrap"});var aL=e=>`anchor--${e}`,oL=({storyId:e,children:t})=>v.createElement("div",{id:aL(e),className:"sb-anchor"},t);globalThis&&globalThis.__DOCS_CONTEXT__===void 0&&(globalThis.__DOCS_CONTEXT__=i.createContext(null),globalThis.__DOCS_CONTEXT__.displayName="DocsContext");var Ft=globalThis?globalThis.__DOCS_CONTEXT__:i.createContext(null),rn=(e,t)=>i.useContext(Ft).resolveOf(e,t),iL=e=>e.split("-").map(t=>t.charAt(0).toUpperCase()+t.slice(1)).join(""),lL=e=>{if(e)return typeof e=="string"?e.includes("-")?iL(e):e:e.__docgenInfo&&e.__docgenInfo.displayName?e.__docgenInfo.displayName:e.name};function sL(e,t="start"){e.scrollIntoView({behavior:"smooth",block:t,inline:"nearest"})}var uL=Object.create,_8=Object.defineProperty,cL=Object.getOwnPropertyDescriptor,I8=Object.getOwnPropertyNames,dL=Object.getPrototypeOf,pL=Object.prototype.hasOwnProperty,Ve=(e,t)=>function(){return t||(0,e[I8(e)[0]])((t={exports:{}}).exports,t),t.exports},fL=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of I8(t))!pL.call(e,a)&&a!==r&&_8(e,a,{get:()=>t[a],enumerable:!(n=cL(t,a))||n.enumerable});return e},vp=(e,t,r)=>(r=e!=null?uL(dL(e)):{},fL(!e||!e.__esModule?_8(r,"default",{value:e,enumerable:!0}):r,e)),hL=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],mL=["detail"];function gL(e){let t=hL.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&mL.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}var vL=cp(P6(),1),R8=Ve({"node_modules/has-symbols/shams.js"(e,t){t.exports=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),a=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(a)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0}}}),B8=Ve({"node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=R8();t.exports=function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()}}}),yL=Ve({"node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,a=Object.prototype.toString,o="[object Function]";t.exports=function(l){var u=this;if(typeof u!="function"||a.call(u)!==o)throw new TypeError(r+u);for(var c=n.call(arguments,1),d,p=function(){if(this instanceof d){var m=u.apply(this,c.concat(n.call(arguments)));return Object(m)===m?m:this}else return u.apply(l,c.concat(n.call(arguments)))},g=Math.max(0,u.length-c.length),h=[],f=0;f"u"?r:g(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":p?g([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":a,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":p?g(g([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!p?r:g(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!p?r:g(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":p?g(""[Symbol.iterator]()):r,"%Symbol%":p?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":d,"%TypedArray%":f,"%TypeError%":o,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},m=function z(T){var M;if(T==="%AsyncFunction%")M=l("async function () {}");else if(T==="%GeneratorFunction%")M=l("function* () {}");else if(T==="%AsyncGeneratorFunction%")M=l("async function* () {}");else if(T==="%AsyncGenerator%"){var L=z("%AsyncGeneratorFunction%");L&&(M=L.prototype)}else if(T==="%AsyncIteratorPrototype%"){var O=z("%AsyncGenerator%");O&&(M=g(O.prototype))}return y[T]=M,M},w={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},x=yp(),D=bL(),E=x.call(Function.call,Array.prototype.concat),b=x.call(Function.apply,Array.prototype.splice),C=x.call(Function.call,String.prototype.replace),S=x.call(Function.call,String.prototype.slice),A=x.call(Function.call,RegExp.prototype.exec),k=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,_=/\\(\\)?/g,I=function(z){var T=S(z,0,1),M=S(z,-1);if(T==="%"&&M!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(M==="%"&&T!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var L=[];return C(z,k,function(O,N,$,j){L[L.length]=$?C(j,_,"$1"):N||O}),L},R=function(z,T){var M=z,L;if(D(w,M)&&(L=w[M],M="%"+L[0]+"%"),D(y,M)){var O=y[M];if(O===h&&(O=m(M)),typeof O>"u"&&!T)throw new o("intrinsic "+z+" exists, but is not available. Please file an issue!");return{alias:L,name:M,value:O}}throw new n("intrinsic "+z+" does not exist!")};t.exports=function(z,T){if(typeof z!="string"||z.length===0)throw new o("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof T!="boolean")throw new o('"allowMissing" argument must be a boolean');if(A(/^%?[^%]*%?$/,z)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var M=I(z),L=M.length>0?M[0]:"",O=R("%"+L+"%",T),N=O.name,$=O.value,j=!1,U=O.alias;U&&(L=U[0],b(M,E([0,1],U)));for(var Z=1,te=!0;Z=M.length){var K=u($,Y);te=!!K,te&&"get"in K&&!("originalValue"in K.get)?$=K.get:$=$[Y]}else te=D($,Y),$=$[Y];te&&!j&&(y[N]=$)}}return $}}}),wL=Ve({"node_modules/call-bind/index.js"(e,t){var r=yp(),n=z8(),a=n("%Function.prototype.apply%"),o=n("%Function.prototype.call%"),l=n("%Reflect.apply%",!0)||r.call(o,a),u=n("%Object.getOwnPropertyDescriptor%",!0),c=n("%Object.defineProperty%",!0),d=n("%Math.max%");if(c)try{c({},"a",{value:1})}catch{c=null}t.exports=function(g){var h=l(r,o,arguments);if(u&&c){var f=u(h,"length");f.configurable&&c(h,"length",{value:1+d(0,g.length-(arguments.length-1))})}return h};var p=function(){return l(r,a,arguments)};c?c(t.exports,"apply",{value:p}):t.exports.apply=p}}),EL=Ve({"node_modules/call-bind/callBound.js"(e,t){var r=z8(),n=wL(),a=n(r("String.prototype.indexOf"));t.exports=function(o,l){var u=r(o,!!l);return typeof u=="function"&&a(o,".prototype.")>-1?n(u):u}}}),DL=Ve({"node_modules/has-tostringtag/shams.js"(e,t){var r=R8();t.exports=function(){return r()&&!!Symbol.toStringTag}}}),xL=Ve({"node_modules/is-regex/index.js"(e,t){var r=EL(),n=DL()(),a,o,l,u;n&&(a=r("Object.prototype.hasOwnProperty"),o=r("RegExp.prototype.exec"),l={},c=function(){throw l},u={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(u[Symbol.toPrimitive]=c));var c,d=r("Object.prototype.toString"),p=Object.getOwnPropertyDescriptor,g="[object RegExp]";t.exports=n?function(h){if(!h||typeof h!="object")return!1;var f=p(h,"lastIndex"),y=f&&a(f,"value");if(!y)return!1;try{o(h,u)}catch(m){return m===l}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===g}}}),CL=Ve({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(a){if(!a)return!1;var o=r.call(a);return o==="[object Function]"||typeof a=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(a===window.setTimeout||a===window.alert||a===window.confirm||a===window.prompt)}}}),SL=Ve({"node_modules/is-symbol/index.js"(e,t){var r=Object.prototype.toString,n=B8()();n?(a=Symbol.prototype.toString,o=/^Symbol\(.*\)$/,l=function(u){return typeof u.valueOf()!="symbol"?!1:o.test(a.call(u))},t.exports=function(u){if(typeof u=="symbol")return!0;if(r.call(u)!=="[object Symbol]")return!1;try{return l(u)}catch{return!1}}):t.exports=function(u){return!1};var a,o,l}}),kL=vp(xL()),AL=vp(CL()),FL=vp(SL());function _L(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}var IL=typeof global=="object"&&global&&global.Object===Object&&global,RL=IL,BL=typeof self=="object"&&self&&self.Object===Object&&self,zL=RL||BL||Function("return this")(),bp=zL,TL=bp.Symbol,Kn=TL,T8=Object.prototype,LL=T8.hasOwnProperty,ML=T8.toString,ka=Kn?Kn.toStringTag:void 0;function OL(e){var t=LL.call(e,ka),r=e[ka];try{e[ka]=void 0;var n=!0}catch{}var a=ML.call(e);return n&&(t?e[ka]=r:delete e[ka]),a}var PL=OL,NL=Object.prototype,HL=NL.toString;function $L(e){return HL.call(e)}var jL=$L,VL="[object Null]",qL="[object Undefined]",Pg=Kn?Kn.toStringTag:void 0;function UL(e){return e==null?e===void 0?qL:VL:Pg&&Pg in Object(e)?PL(e):jL(e)}var WL=UL,Ng=Kn?Kn.prototype:void 0;Ng&&Ng.toString;function GL(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var L8=GL,KL="[object AsyncFunction]",YL="[object Function]",ZL="[object GeneratorFunction]",JL="[object Proxy]";function XL(e){if(!L8(e))return!1;var t=WL(e);return t==YL||t==ZL||t==KL||t==JL}var QL=XL,eM=bp["__core-js_shared__"],Mc=eM,Hg=function(){var e=/[^.]+$/.exec(Mc&&Mc.keys&&Mc.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function tM(e){return!!Hg&&Hg in e}var rM=tM,nM=Function.prototype,aM=nM.toString;function oM(e){if(e!=null){try{return aM.call(e)}catch{}try{return e+""}catch{}}return""}var iM=oM,lM=/[\\^$.*+?()[\]{}|]/g,sM=/^\[object .+?Constructor\]$/,uM=Function.prototype,cM=Object.prototype,dM=uM.toString,pM=cM.hasOwnProperty,fM=RegExp("^"+dM.call(pM).replace(lM,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function hM(e){if(!L8(e)||rM(e))return!1;var t=QL(e)?fM:sM;return t.test(iM(e))}var mM=hM;function gM(e,t){return e==null?void 0:e[t]}var vM=gM;function yM(e,t){var r=vM(e,t);return mM(r)?r:void 0}var M8=yM;function bM(e,t){return e===t||e!==e&&t!==t}var wM=bM,EM=M8(Object,"create"),uo=EM;function DM(){this.__data__=uo?uo(null):{},this.size=0}var xM=DM;function CM(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var SM=CM,kM="__lodash_hash_undefined__",AM=Object.prototype,FM=AM.hasOwnProperty;function _M(e){var t=this.__data__;if(uo){var r=t[e];return r===kM?void 0:r}return FM.call(t,e)?t[e]:void 0}var IM=_M,RM=Object.prototype,BM=RM.hasOwnProperty;function zM(e){var t=this.__data__;return uo?t[e]!==void 0:BM.call(t,e)}var TM=zM,LM="__lodash_hash_undefined__";function MM(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=uo&&t===void 0?LM:t,this}var OM=MM;function ra(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t-1}var KM=GM;function YM(e,t){var r=this.__data__,n=cs(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}var ZM=YM;function na(e){var t=-1,r=e==null?0:e.length;for(this.clear();++t{let t=null,r=!1,n=!1,a=!1,o="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let l=0;lEO(e).replace(/\n\s*/g,"").trim()),xO=function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let a=r;return a=a.replace(e,"function"),a+n},CO=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/;function P8(e){if(!wO(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=gL(t),r=!0),t=Object.keys(t).reduce((n,a)=>{try{t[a]&&t[a].toJSON,n[a]=t[a]}catch{r=!0}return n},{}),r?t:e}var SO=function(e){let t,r,n,a;return function(o,l){try{if(o==="")return a=[],t=new Map([[l,"[]"]]),r=new Map,n=[],l;let u=r.get(this)||this;for(;n.length&&u!==n[0];)n.shift(),a.pop();if(typeof l=="boolean")return l;if(l===void 0)return e.allowUndefined?"_undefined_":void 0;if(l===null)return null;if(typeof l=="number")return l===-1/0?"_-Infinity_":l===1/0?"_Infinity_":Number.isNaN(l)?"_NaN_":l;if(typeof l=="bigint")return`_bigint_${l.toString()}`;if(typeof l=="string")return CO.test(l)?e.allowDate?`_date_${l}`:void 0:l;if((0,kL.default)(l))return e.allowRegExp?`_regexp_${l.flags}|${l.source}`:void 0;if((0,AL.default)(l)){if(!e.allowFunction)return;let{name:d}=l,p=l.toString();return p.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${d}|${(()=>{}).toString()}`:`_function_${d}|${DO(xO(o,p))}`}if((0,FL.default)(l)){if(!e.allowSymbol)return;let d=Symbol.keyFor(l);return d!==void 0?`_gsymbol_${d}`:`_symbol_${l.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(l)?`[Array(${l.length})]`:"[Object]";if(l===this)return`_duplicate_${JSON.stringify(a)}`;if(l instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...l.cause?{cause:l.cause}:{},...l,name:l.name,message:l.message,stack:l.stack,"_constructor-name_":l.constructor.name}};if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&!e.allowClass)return;let c=t.get(l);if(!c){let d=Array.isArray(l)?l:P8(l);if(l.constructor&&l.constructor.name&&l.constructor.name!=="Object"&&!Array.isArray(l)&&e.allowClass)try{Object.assign(d,{"_constructor-name_":l.constructor.name})}catch{}return a.push(o),n.unshift(d),t.set(l,JSON.stringify(a)),l!==d&&r.set(l,d),d}return`_duplicate_${c}`}catch{return}}},kO={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},AO=(e,t={})=>{let r={...kO,...t};return JSON.stringify(P8(e),SO(r),t.space)};function N8(e){return AO(e,{allowFunction:!1})}var H8=i.createContext({sources:{}}),$8="--unknown--",FO=({children:e,channel:t})=>{let[r,n]=i.useState({});return i.useEffect(()=>{let a=(o,l=null,u=!1)=>{let{id:c,args:d=void 0,source:p,format:g}=typeof o=="string"?{id:o,source:l,format:u}:o,h=d?N8(d):$8;n(f=>({...f,[c]:{...f[c],[h]:{code:p,format:g}}}))};return t.on(_p,a),()=>t.off(_p,a)},[]),v.createElement(H8.Provider,{value:{sources:r}},e)},_O=(e,t,r)=>{let{sources:n}=r,a=n==null?void 0:n[e];return(a==null?void 0:a[N8(t)])||(a==null?void 0:a[$8])||{code:""}},IO=({snippet:e,storyContext:t,typeFromProps:r,transformFromProps:n})=>{var c,d;let{__isArgsStory:a}=t.parameters,o=((c=t.parameters.docs)==null?void 0:c.source)||{},l=r||o.type||hs.AUTO;if(o.code!==void 0)return o.code;let u=l===hs.DYNAMIC||l===hs.AUTO&&e&&a?e:o.originalSource||"";return((d=n??o.transform)==null?void 0:d(u,t))||u},RO=(e,t,r)=>{var f,y,m,w;let n,{of:a}=e;if("of"in e&&a===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");if(a)n=t.resolveOf(a,["story"]).story;else try{n=t.storyById()}catch{}let o=((y=(f=n==null?void 0:n.parameters)==null?void 0:f.docs)==null?void 0:y.source)||{},{code:l}=e,u=e.format??o.format,c=e.language??o.language??"jsx",d=e.dark??o.dark??!1;if(!l&&!n)return{error:"Oh no! The source is not available."};if(l)return{code:l,format:u,language:c,dark:d};let p=t.getStoryContext(n),g=e.__forceInitialArgs?p.initialArgs:p.unmappedArgs,h=_O(n.id,g,r);return u=h.format??((w=(m=n.parameters.docs)==null?void 0:m.source)==null?void 0:w.format)??!1,{code:IO({snippet:h.code,storyContext:{...p,args:g},typeFromProps:e.type,transformFromProps:e.transform}),format:u,language:c,dark:d}};function BO(e,t){let r=zO([e],t);return r&&r[0]}function zO(e,t){let[r,n]=i.useState({});return i.useEffect(()=>{Promise.all(e.map(async a=>{let o=await t.loadStory(a);n(l=>l[a]===o?l:{...l,[a]:o})}))}),e.map(a=>{if(r[a])return r[a];try{return t.storyById(a)}catch{return null}})}var TO=(e,t)=>{let{of:r,meta:n}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");return n&&t.referenceMeta(n,!1),t.resolveOf(r||"story",["story"]).story.id},LO=(e,t,r)=>{let{parameters:n={}}=t||{},{docs:a={}}=n,o=a.story||{};if(a.disable)return null;if(e.inline??o.inline??!1){let u=e.height??o.height,c=e.autoplay??o.autoplay??!1;return{story:t,inline:!0,height:u,autoplay:c,forceInitialArgs:!!e.__forceInitialArgs,primary:!!e.__primary,renderStoryToElement:r.renderStoryToElement}}let l=e.height??o.height??o.iframeHeight??"100px";return{story:t,inline:!1,height:l,primary:!!e.__primary}},MO=(e={__forceInitialArgs:!1,__primary:!1})=>{let t=i.useContext(Ft),r=TO(e,t),n=BO(r,t);if(!n)return v.createElement(K6,null);let a=LO(e,n,t);return a?v.createElement(GR,{...a}):null},OO=e=>{var h,f,y,m,w,x,D,E,b,C;let t=i.useContext(Ft),r=i.useContext(H8),{of:n,source:a}=e;if("of"in e&&n===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{story:o}=rn(n||"story",["story"]),l=RO({...a,...n&&{of:n}},t,r),u=e.layout??o.parameters.layout??((f=(h=o.parameters.docs)==null?void 0:h.canvas)==null?void 0:f.layout)??"padded",c=e.withToolbar??((m=(y=o.parameters.docs)==null?void 0:y.canvas)==null?void 0:m.withToolbar)??!1,d=e.additionalActions??((x=(w=o.parameters.docs)==null?void 0:w.canvas)==null?void 0:x.additionalActions),p=e.sourceState??((E=(D=o.parameters.docs)==null?void 0:D.canvas)==null?void 0:E.sourceState)??"hidden",g=e.className??((C=(b=o.parameters.docs)==null?void 0:b.canvas)==null?void 0:C.className);return v.createElement(Y6,{withSource:p==="none"?void 0:l,isExpanded:p==="shown",withToolbar:c,additionalActions:d,className:g,layout:u},v.createElement(MO,{of:n||o.moduleExport,meta:e.meta,...e.story}))},PO=(e,t)=>{let r=NO(e,t);if(!r)throw new Error("No result when story was defined");return r},NO=(e,t)=>{let r=e?t.getStoryContext(e):{args:{}},{id:n}=e||{id:"none"},[a,o]=i.useState(r.args);i.useEffect(()=>{let c=d=>{d.storyId===n&&o(d.args)};return t.channel.on(hg,c),()=>t.channel.off(hg,c)},[n,t.channel]);let l=i.useCallback(c=>t.channel.emit(qI,{storyId:n,updatedArgs:c}),[n,t.channel]),u=i.useCallback(c=>t.channel.emit(UI,{storyId:n,argNames:c}),[n,t.channel]);return e&&[a,l,u]},HO=(e,t)=>{let r=t.getStoryContext(e),[n,a]=i.useState(r.globals);return i.useEffect(()=>{let o=l=>{a(l.globals)};return t.channel.on(mg,o),()=>t.channel.off(mg,o)},[t.channel]),[n]};function $O(e,t){let{extractArgTypes:r}=t.docs||{};if(!r)throw new Error("Args unsupported. See Args documentation for your framework.");return r(e)}var jO=e=>{var b;let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=i.useContext(Ft),{story:n}=r.resolveOf(t||"story",["story"]),{parameters:a,argTypes:o,component:l,subcomponents:u}=n,c=((b=a.docs)==null?void 0:b.controls)||{},d=e.include??c.include,p=e.exclude??c.exclude,g=e.sort??c.sort,[h,f,y]=PO(n,r),[m]=HO(n,r),w=fg(o,d,p);if(!(u&&Object.keys(u).length>0))return Object.keys(w).length>0||Object.keys(h).length>0?v.createElement(Cd,{rows:w,sort:g,args:h,globals:m,updateArgs:f,resetArgs:y}):null;let x=lL(l),D=Object.fromEntries(Object.entries(u).map(([C,S])=>[C,{rows:fg($O(S,a),d,p),sort:g}])),E={[x]:{rows:w,sort:g},...D};return v.createElement(nL,{tabs:E,sort:g,args:h,globals:m,updateArgs:f,resetArgs:y})},{document:j8}=globalThis,VO=({className:e,children:t,...r})=>{if(typeof e!="string"&&(typeof t!="string"||!t.match(/[\n\r]/g)))return v.createElement(Ub,null,t);let n=e&&e.split("-");return v.createElement(W6,{language:n&&n[1]||"text",format:!1,code:t,...r})};function Ep(e,t){e.channel.emit(WI,t)}var Sd=pI.a,qO=({hash:e,children:t})=>{let r=i.useContext(Ft);return v.createElement(Sd,{href:e,target:"_self",onClick:n=>{let a=e.substring(1);j8.getElementById(a)&&Ep(r,e)}},t)},UO=e=>{let{href:t,target:r,children:n,...a}=e,o=i.useContext(Ft);return!t||r==="_blank"||/^https?:\/\//.test(t)?v.createElement(Sd,{...e}):t.startsWith("#")?v.createElement(qO,{hash:t},n):v.createElement(Sd,{href:t,onClick:l=>{l.button===0&&!l.altKey&&!l.ctrlKey&&!l.metaKey&&!l.shiftKey&&(l.preventDefault(),Ep(o,l.currentTarget.getAttribute("href")))},target:r,...a},n)},V8=["h1","h2","h3","h4","h5","h6"],WO=V8.reduce((e,t)=>({...e,[t]:F(t)({"& svg":{position:"relative",top:"-0.1em",visibility:"hidden"},"&:hover svg":{visibility:"visible"}})}),{}),GO=F.a(()=>({float:"left",lineHeight:"inherit",paddingRight:"10px",marginLeft:"-24px",color:"inherit"})),KO=({as:e,id:t,children:r,...n})=>{let a=i.useContext(Ft),o=WO[e],l=`#${t}`;return v.createElement(o,{id:t,...n},v.createElement(GO,{"aria-hidden":"true",href:l,tabIndex:-1,target:"_self",onClick:u=>{j8.getElementById(t)&&Ep(a,l)}},v.createElement(OI,null)),r)},Dp=e=>{let{as:t,id:r,children:n,...a}=e;if(r)return v.createElement(KO,{as:t,id:r,...a},n);let o=t,{as:l,...u}=e;return v.createElement(o,{...ee(u,t)})},YO=V8.reduce((e,t)=>({...e,[t]:r=>v.createElement(Dp,{as:t,...r})}),{}),ZO=e=>{var t;if(!e.children)return null;if(typeof e.children!="string")throw new Error(X8`The Markdown block only accepts children as a single string, but children were of type: '${typeof e.children}' - This is often caused by not wrapping the child in a template string. - - This is invalid: - - # Some heading - A paragraph - - - Instead do: - - {\` - # Some heading - A paragraph - \`} - - `);return v.createElement(m8,{...e,options:{forceBlock:!0,overrides:{code:VO,a:UO,...YO,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},JO=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(JO||{}),XO=e=>{var t,r,n,a,o,l,u,c;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((l=(o=d.docs)==null?void 0:o.extractComponentDescription)==null?void 0:l.call(o,p,{component:p,parameters:d}))||null}case"component":{let{component:d,projectAnnotations:{parameters:p}}=e;return((c=(u=p.docs)==null?void 0:u.extractComponentDescription)==null?void 0:c.call(u,d,{component:d,parameters:p}))||null}default:throw new Error(`Unrecognized module type resolved from 'useOf', got: ${e.type}`)}},kd=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let r=rn(t||"meta"),n=XO(r);return n?v.createElement(ZO,null,n):null},jg=cp(XI()),QO=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),eP=F.div(({theme:e})=>({position:"fixed",bottom:0,top:0,width:"10rem",paddingTop:"4rem",paddingBottom:"2rem",overflowY:"auto",fontFamily:e.typography.fonts.base,fontSize:e.typography.size.s2,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch","& *":{boxSizing:"border-box"},"& > .toc-wrapper > .toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`,".toc-list":{paddingLeft:0,borderLeft:`solid 2px ${e.color.mediumlight}`}}},"& .toc-list-item":{position:"relative",listStyleType:"none",marginLeft:20,paddingTop:3,paddingBottom:3},"& .toc-list-item::before":{content:'""',position:"absolute",height:"100%",top:0,left:0,transform:"translateX(calc(-2px - 20px))",borderLeft:`solid 2px ${e.color.mediumdark}`,opacity:0,transition:"opacity 0.2s"},"& .toc-list-item.is-active-li::before":{opacity:1},"& .toc-list-item > a":{color:e.color.defaultText,textDecoration:"none"},"& .toc-list-item.is-active-li > a":{fontWeight:600,color:e.color.secondary,textDecoration:"none"}})),tP=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),rP=({title:e})=>e===null?null:typeof e=="string"?v.createElement(tP,null,e):e,nP=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(i.useEffect(()=>{let l={tocSelector:".toc-wrapper",contentSelector:n??".sbdocs-content",headingSelector:r??"h3",ignoreSelector:a??".docs-story *, .skip-toc",headingsOffset:40,scrollSmoothOffset:-40,orderedList:!1,onClick:()=>!1,...o},u=setTimeout(()=>jg.init(l),100);return()=>{clearTimeout(u),jg.destroy()}},[t]),v.createElement(v.Fragment,null,v.createElement(QO,null,t?null:v.createElement(eP,null,v.createElement(rP,{title:e||null}),v.createElement("div",{className:"toc-wrapper"}))))),{document:aP,window:oP}=globalThis,iP=({context:e,theme:t,children:r})=>{var a,o,l,u,c;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(c=(u=(l=e==null?void 0:e.projectAnnotations)==null?void 0:l.parameters)==null?void 0:u.docs)==null?void 0:c.toc}return i.useEffect(()=>{let d;try{if(d=new URL(oP.parent.location.toString()),d.hash){let p=aP.getElementById(decodeURIComponent(d.hash.substring(1)));p&&setTimeout(()=>{sL(p)},200)}}catch{}}),v.createElement(Ft.Provider,{value:e},v.createElement(FO,{channel:e.channel},v.createElement(Gg,{theme:Z8(t)},v.createElement(NR,{toc:n?v.createElement(nP,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},lP=({children:e,disableAnchor:t})=>{if(t||typeof e!="string")return v.createElement(Gb,null,e);let r=globalThis.encodeURIComponent(e.toLowerCase());return v.createElement(Dp,{as:"h3",id:r},e)},q8=({of:e,expanded:t=!0,withToolbar:r=!1,__forceInitialArgs:n=!1,__primary:a=!1})=>{var u,c;let{story:o}=rn(e||"story",["story"]),l=((c=(u=o.parameters.docs)==null?void 0:u.canvas)==null?void 0:c.withToolbar)??r;return v.createElement(oL,{storyId:o.id},t&&v.createElement(v.Fragment,null,v.createElement(lP,null,o.name),v.createElement(kd,{of:e})),v.createElement(OO,{of:e,withToolbar:l,story:{__forceInitialArgs:n,__primary:a},source:{__forceInitialArgs:n}}))},sP=e=>{let{of:t}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let{csfFile:r}=rn(t||"meta",["meta"]),n=i.useContext(Ft).componentStoriesFromCSFFile(r)[0];return n?v.createElement(q8,{of:n.moduleExport,expanded:!1,__primary:!0,withToolbar:!0}):null},uP=({children:e,disableAnchor:t,...r})=>{if(t||typeof e!="string")return v.createElement(Wb,null,e);let n=e.toLowerCase().replace(/[^a-z0-9]/gi,"-");return v.createElement(Dp,{as:"h2",id:n,...r},e)},cP=F(uP)(({theme:e})=>({fontSize:`${e.typography.size.s2-1}px`,fontWeight:e.typography.weight.bold,lineHeight:"16px",letterSpacing:"0.35em",textTransform:"uppercase",color:e.textMutedColor,border:0,marginBottom:"12px","&:first-of-type":{marginTop:"56px"}})),dP=({title:e="Stories",includePrimary:t=!0})=>{var u;let{componentStories:r,projectAnnotations:n,getStoryContext:a}=i.useContext(Ft),o=r(),{stories:{filter:l}={filter:void 0}}=((u=n.parameters)==null?void 0:u.docs)||{};return l&&(o=o.filter(c=>l(c,a(c)))),o.some(c=>{var d;return(d=c.tags)==null?void 0:d.includes("autodocs")})&&(o=o.filter(c=>{var d;return((d=c.tags)==null?void 0:d.includes("autodocs"))&&!c.usesMount})),t||(o=o.slice(1)),!o||o.length===0?null:v.createElement(v.Fragment,null,v.createElement(cP,null,e),o.map(c=>c&&v.createElement(q8,{key:c.id,of:c.moduleExport,expanded:!0,__forceInitialArgs:!0})))},pP="https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#subtitle-block-and-parameterscomponentsubtitle",fP=e=>{let{of:t,children:r}=e;if("of"in e&&t===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(t||"meta",["meta"]).preparedMeta}catch(u){if(r&&!u.message.includes("did you forget to use ?"))throw u}let{componentSubtitle:a,docs:o}=(n==null?void 0:n.parameters)||{};a&&jI(`Using 'parameters.componentSubtitle' property to subtitle stories is deprecated. See ${pP}`);let l=r||(o==null?void 0:o.subtitle)||a;return l?v.createElement(MR,{className:"sbdocs-subtitle sb-unstyled"},l):null},hP=/\s*\/\s*/,mP=e=>{let t=e.trim().split(hP);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},gP=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unexpected `of={undefined}`, did you mistype a CSF file reference?");let n;try{n=rn(r||"meta",["meta"]).preparedMeta}catch(o){if(t&&!o.message.includes("did you forget to use ?"))throw o}let a=t||mP(n==null?void 0:n.title);return a?v.createElement(LR,{className:"sbdocs-title sb-unstyled"},a):null},vP=()=>{let e=rn("meta",["meta"]),{stories:t}=e.csfFile,r=Object.keys(t).length===1;return v.createElement(v.Fragment,null,v.createElement(gP,null),v.createElement(fP,null),v.createElement(kd,{of:"meta"}),r?v.createElement(kd,{of:"story"}):null,v.createElement(sP,null),v.createElement(jO,null),r?null:v.createElement(dP,null))};function ZP({context:e,docsParameter:t}){let r=t.container||iP,n=t.page||vP;return v.createElement(r,{context:e,theme:t.theme},v.createElement(n,null))}export{F6 as $,TD as A,jP as B,ID as C,Wb as D,kP as E,LD as F,NP as G,$P as H,Pr as I,ep as J,SP as K,en as L,$D as M,Io as N,rs as O,S6 as P,MP as Q,zD as R,BD as S,PD as T,jD as U,R6 as V,FP as W,B6 as X,Y_ as Y,B_ as Z,zP as _,Od as a,TP as a0,qD as a1,BP as a2,f_ as a3,zF as a4,pr as a5,pI as a6,jc as a7,cI as a8,fd as a9,PP as aa,ee as ab,fI as ac,re as ad,VO as ae,UO as af,YO as ag,ZP as ah,cp as ai,WP as aj,UP as ak,ot as al,tn as am,iP as an,qP as b,FD as c,up as d,_D as e,RD as f,DD as g,LP as h,HP as i,Mn as j,__ as k,uI as l,ED as m,OD as n,ND as o,qb as p,Mi as q,z6 as r,_P as s,IP as t,HD as u,Ub as v,AD as w,Gb as x,$F as y,VP as z}; diff --git a/docs/assets/index-BfiLiMku.js b/docs/assets/index-BfiLiMku.js new file mode 100644 index 0000000..271dd07 --- /dev/null +++ b/docs/assets/index-BfiLiMku.js @@ -0,0 +1 @@ +var h=Object.create,v=Object.defineProperty,j=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,A=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,P=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),S=(e,r,u,i)=>{if(r&&typeof r=="object"||typeof r=="function")for(let n of m(r))!x.call(e,n)&&n!==u&&v(e,n,{get:()=>r[n],enumerable:!(i=j(r,n))||i.enumerable});return e},$=(e,r,u)=>(u=e!=null?h(A(e)):{},S(!e||!e.__esModule?v(u,"default",{value:e,enumerable:!0}):u,e)),E=P(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var r=Object.prototype.toString,u=Object.getPrototypeOf,i=Object.getOwnPropertySymbols?function(n){return Object.keys(n).concat(Object.getOwnPropertySymbols(n))}:Object.keys;return function(n,c){return function f(t,a,o){var y,s,l,p=r.call(t),d=r.call(a);if(t===a)return!0;if(t==null||a==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(a)>-1)return!0;if(o.push(t,a),p!=d||(y=i(t),s=i(a),y.length!=s.length||y.some(function(O){return!f(t[O],a[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==a.valueOf();case"Date":case"Number":return+t==+a||+t!=+t&&+a!=+a;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+a;case"Set":case"Map":y=t.entries(),s=a.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),a=new Uint8Array(a);case"DataView":t=new Uint8Array(t.buffer),a=new Uint8Array(a.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=a.length)return!1;for(l=0;le.map(r=>typeof r<"u").filter(Boolean).length,U=(e,r)=>{let{exists:u,eq:i,neq:n,truthy:c}=e;if(w([u,i,n,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:u,eq:i,neq:n})}`);if(typeof i<"u")return(0,b.isEqual)(r,i);if(typeof n<"u")return!(0,b.isEqual)(r,n);if(typeof u<"u"){let f=typeof r<"u";return u?f:!f}return typeof c>"u"||c?!!r:!r},I=(e,r,u)=>{if(!e.if)return!0;let{arg:i,global:n}=e.if;if(w([i,n])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:i,global:n})}`);let c=i?r[i]:u[n];return U(e.if,c)},q=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),g=(e,r)=>{let u=q(e);if(u==="")throw new Error(`Invalid ${r} '${e}', must include alphanumeric characters`);return u},_=(e,r)=>`${g(e,"kind")}${r?`--${g(r,"name")}`:""}`;export{_ as G,q as O,I as P}; diff --git a/docs/assets/index-Bn05qqr6.js b/docs/assets/index-Bn05qqr6.js deleted file mode 100644 index a2485ba..0000000 --- a/docs/assets/index-Bn05qqr6.js +++ /dev/null @@ -1,9 +0,0 @@ -import{a as O}from"./index-2yJIXLcc.js";var y={exports:{}},n={};/** - * @license React - * react-dom.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var o;function S(){if(o)return n;o=1;var u=O();function g(r){var e="https://react.dev/errors/"+r;if(1"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(u)}catch(g){console.error(g)}}return u(),y.exports=S(),y.exports}export{T as r}; diff --git a/docs/assets/index-BriWrUx_.js b/docs/assets/index-BriWrUx_.js deleted file mode 100644 index ebf80f4..0000000 --- a/docs/assets/index-BriWrUx_.js +++ /dev/null @@ -1 +0,0 @@ -var h=Object.create,v=Object.defineProperty,j=Object.getOwnPropertyDescriptor,m=Object.getOwnPropertyNames,A=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty,P=(e,r)=>()=>(r||e((r={exports:{}}).exports,r),r.exports),S=(e,r,i,u)=>{if(r&&typeof r=="object"||typeof r=="function")for(let a of m(r))!x.call(e,a)&&a!==i&&v(e,a,{get:()=>r[a],enumerable:!(u=j(r,a))||u.enumerable});return e},$=(e,r,i)=>(i=e!=null?h(A(e)):{},S(!e||!e.__esModule?v(i,"default",{value:e,enumerable:!0}):i,e)),E=P(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var r=Object.prototype.toString,i=Object.getPrototypeOf,u=Object.getOwnPropertySymbols?function(a){return Object.keys(a).concat(Object.getOwnPropertySymbols(a))}:Object.keys;return function(a,c){return function f(t,n,o){var y,s,l,p=r.call(t),d=r.call(n);if(t===n)return!0;if(t==null||n==null)return!1;if(o.indexOf(t)>-1&&o.indexOf(n)>-1)return!0;if(o.push(t,n),p!=d||(y=u(t),s=u(n),y.length!=s.length||y.some(function(O){return!f(t[O],n[O],o)})))return!1;switch(p.slice(8,-1)){case"Symbol":return t.valueOf()==n.valueOf();case"Date":case"Number":return+t==+n||+t!=+t&&+n!=+n;case"RegExp":case"Function":case"String":case"Boolean":return""+t==""+n;case"Set":case"Map":y=t.entries(),s=n.entries();do if(!f((l=y.next()).value,s.next().value,o))return!1;while(!l.done);return!0;case"ArrayBuffer":t=new Uint8Array(t),n=new Uint8Array(n);case"DataView":t=new Uint8Array(t.buffer),n=new Uint8Array(n.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(t.length!=n.length)return!1;for(l=0;le.map(r=>typeof r<"u").filter(Boolean).length,U=(e,r)=>{let{exists:i,eq:u,neq:a,truthy:c}=e;if(w([i,u,a,c])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:i,eq:u,neq:a})}`);if(typeof u<"u")return(0,b.isEqual)(r,u);if(typeof a<"u")return!(0,b.isEqual)(r,a);if(typeof i<"u"){let f=typeof r<"u";return i?f:!f}return typeof c>"u"||c?!!r:!r},I=(e,r,i)=>{if(!e.if)return!0;let{arg:u,global:a}=e.if;if(w([u,a])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:u,global:a})}`);let c=u?r[u]:i[a];return U(e.if,c)},q=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),g=(e,r)=>{let i=q(e);if(i==="")throw new Error(`Invalid ${r} '${e}', must include alphanumeric characters`);return i},_=(e,r)=>`${g(e,"kind")}${r?`--${g(r,"name")}`:""}`;export{_ as G,q as O,I as P}; diff --git a/docs/assets/index-DsjpCunK.js b/docs/assets/index-BwhLTrJS.js similarity index 97% rename from docs/assets/index-DsjpCunK.js rename to docs/assets/index-BwhLTrJS.js index b4bc76a..5aa0ab4 100644 --- a/docs/assets/index-DsjpCunK.js +++ b/docs/assets/index-BwhLTrJS.js @@ -1,3 +1,3 @@ -import{g as C}from"./index-2yJIXLcc.js";import{N as h}from"./index-BoIHHXGu.js";var S="DARK_MODE",m,_;function I(){return _||(_=1,m=function t(r,e){if(r===e)return!0;if(r&&e&&typeof r=="object"&&typeof e=="object"){if(r.constructor!==e.constructor)return!1;var n,a,o;if(Array.isArray(r)){if(n=r.length,n!=e.length)return!1;for(a=n;a--!==0;)if(!t(r[a],e[a]))return!1;return!0}if(r.constructor===RegExp)return r.source===e.source&&r.flags===e.flags;if(r.valueOf!==Object.prototype.valueOf)return r.valueOf()===e.valueOf();if(r.toString!==Object.prototype.toString)return r.toString()===e.toString();if(o=Object.keys(r),n=o.length,n!==Object.keys(e).length)return!1;for(a=n;a--!==0;)if(!Object.prototype.hasOwnProperty.call(e,o[a]))return!1;for(a=n;a--!==0;){var u=o[a];if(!t(r[u],e[u]))return!1}return!0}return r!==r&&e!==e}),m}var M=I();const A=C(M);function s(t){"@babel/helpers - typeof";return s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},s(t)}var g;function E(t,r){var e=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);r&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),e.push.apply(e,n)}return e}function w(t){for(var r=1;rt.length)&&(r=t.length);for(var e=0,n=new Array(r);e0&&arguments[0]!==void 0?arguments[0]:{},e=d.localStorage.getItem(P);if(typeof e=="string"){var n=JSON.parse(e);return r&&(r.dark&&!A(n.dark,r.dark)&&(n.dark=r.dark,j(n)),r.light&&!A(n.light,r.light)&&(n.light=r.light,j(n))),n}return w(w({},O),r)};H(k());function V(t,r){return J(t)||G(t,r)||$(t,r)||W()}function W(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function $(t,r){if(t){if(typeof t=="string")return D(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);if(e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set")return Array.from(t);if(e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e))return D(t,r)}}function D(t,r){(r==null||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);el[_]})}}}return Object.freeze(Object.defineProperty(p,Symbol.toStringTag,{value:"Module"}))}function V(p){return p&&p.__esModule&&Object.prototype.hasOwnProperty.call(p,"default")?p.default:p}var S={exports:{}},u={};/** + * @license React + * react.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var x;function F(){if(x)return u;x=1;var p=Symbol.for("react.transitional.element"),v=Symbol.for("react.portal"),d=Symbol.for("react.fragment"),l=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),R=Symbol.for("react.consumer"),D=Symbol.for("react.context"),U=Symbol.for("react.forward_ref"),q=Symbol.for("react.suspense"),z=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),h=Symbol.iterator;function G(t){return t===null||typeof t!="object"?null:(t=h&&t[h]||t["@@iterator"],typeof t=="function"?t:null)}var j={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},P=Object.assign,H={};function y(t,e,n){this.props=t,this.context=e,this.refs=H,this.updater=n||j}y.prototype.isReactComponent={},y.prototype.setState=function(t,e){if(typeof t!="object"&&typeof t!="function"&&t!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},y.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")};function $(){}$.prototype=y.prototype;function m(t,e,n){this.props=t,this.context=e,this.refs=H,this.updater=n||j}var C=m.prototype=new $;C.constructor=m,P(C,y.prototype),C.isPureReactComponent=!0;var N=Array.isArray,f={H:null,A:null,T:null,S:null},b=Object.prototype.hasOwnProperty;function g(t,e,n,r,s,i){return n=i.ref,{$$typeof:p,type:t,key:e,ref:n!==void 0?n:null,props:i}}function K(t,e){return g(t.type,e,void 0,void 0,void 0,t.props)}function w(t){return typeof t=="object"&&t!==null&&t.$$typeof===p}function B(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,function(n){return e[n]})}var Y=/\/+/g;function A(t,e){return typeof t=="object"&&t!==null&&t.key!=null?B(""+t.key):e.toString(36)}function M(){}function W(t){switch(t.status){case"fulfilled":return t.value;case"rejected":throw t.reason;default:switch(typeof t.status=="string"?t.then(M,M):(t.status="pending",t.then(function(e){t.status==="pending"&&(t.status="fulfilled",t.value=e)},function(e){t.status==="pending"&&(t.status="rejected",t.reason=e)})),t.status){case"fulfilled":return t.value;case"rejected":throw t.reason}}throw t}function E(t,e,n,r,s){var i=typeof t;(i==="undefined"||i==="boolean")&&(t=null);var o=!1;if(t===null)o=!0;else switch(i){case"bigint":case"string":case"number":o=!0;break;case"object":switch(t.$$typeof){case p:case v:o=!0;break;case O:return o=t._init,E(o(t._payload),e,n,r,s)}}if(o)return s=s(t),o=r===""?"."+A(t,0):r,N(s)?(n="",o!=null&&(n=o.replace(Y,"$&/")+"/"),E(s,e,n,"",function(Z){return Z})):s!=null&&(w(s)&&(s=K(s,n+(s.key==null||t&&t.key===s.key?"":(""+s.key).replace(Y,"$&/")+"/")+o)),e.push(s)),1;o=0;var a=r===""?".":r+":";if(N(t))for(var c=0;c"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(c)}catch(d){console.error(d)}}return c(),y.exports=R(),y.exports}export{E as r}; diff --git a/docs/assets/index-BoIHHXGu.js b/docs/assets/index-Dja51o-9.js similarity index 62% rename from docs/assets/index-BoIHHXGu.js rename to docs/assets/index-Dja51o-9.js index d2365b3..a1e2e55 100644 --- a/docs/assets/index-BoIHHXGu.js +++ b/docs/assets/index-Dja51o-9.js @@ -1,4 +1,4 @@ -import{g as Qr,r as k}from"./index-2yJIXLcc.js";import{r as ea}from"./index-Bn05qqr6.js";var Ue={exports:{}},oe={};/** +import{g as Qr,r as k}from"./index-CZMpeKRu.js";import{r as en}from"./index-D-TIQtLp.js";var Ue={exports:{}},oe={};/** * @license React * react-jsx-runtime.production.js * @@ -6,21 +6,21 @@ import{g as Qr,r as k}from"./index-2yJIXLcc.js";import{r as ea}from"./index-Bn05 * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var It;function ta(){if(It)return oe;It=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(a,n,i){var s=null;if(i!==void 0&&(s=""+i),n.key!==void 0&&(s=""+n.key),"key"in n){i={};for(var l in n)l!=="key"&&(i[l]=n[l])}else i=n;return n=i.ref,{$$typeof:e,type:a,key:s,ref:n!==void 0?n:null,props:i}}return oe.Fragment=t,oe.jsx=r,oe.jsxs=r,oe}var jt;function ra(){return jt||(jt=1,Ue.exports=ta()),Ue.exports}var ro=ra(),aa=ea();const ao=Qr(aa);var na=Object.create,tt=Object.defineProperty,oa=Object.getOwnPropertyDescriptor,ia=Object.getOwnPropertyNames,sa=Object.getPrototypeOf,la=Object.prototype.hasOwnProperty,o=(e,t)=>tt(e,"name",{value:t,configurable:!0}),ge=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ca=(e,t,r,a)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ia(t))!la.call(e,n)&&n!==r&&tt(e,n,{get:()=>t[n],enumerable:!(a=oa(t,n))||a.enumerable});return e},rt=(e,t,r)=>(r=e!=null?na(sa(e)):{},ca(t||!e||!e.__esModule?tt(r,"default",{value:e,enumerable:!0}):r,e)),ua=ke(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,a=t?Symbol.for("react.portal"):60106,n=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,u=t?Symbol.for("react.context"):60110,c=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,p=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,f=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,_=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,T=t?Symbol.for("react.scope"):60119;function S(g){return typeof g=="string"||typeof g=="function"||g===n||g===d||g===s||g===i||g===b||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===f||g.$$typeof===l||g.$$typeof===u||g.$$typeof===p||g.$$typeof===v||g.$$typeof===w||g.$$typeof===T||g.$$typeof===_)}o(S,"isValidElementType");function E(g){if(typeof g=="object"&&g!==null){var He=g.$$typeof;switch(He){case r:var he=g.type;switch(he){case c:case d:case n:case s:case i:case b:return he;default:var Ft=he&&he.$$typeof;switch(Ft){case u:case p:case m:case f:case l:return Ft;default:return He}}case a:return He}}}o(E,"typeOf");var A=c,O=d,L=u,N=l,U=r,Me=p,Be=n,ze=m,De=f,Jr=a,Xr=s,Zr=i,Kr=b,bt=!1;function vt(g){return bt||(bt=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),$e(g)||E(g)===c}o(vt,"isAsyncMode");function $e(g){return E(g)===d}o($e,"isConcurrentMode");function _t(g){return E(g)===u}o(_t,"isContextConsumer");function Ot(g){return E(g)===l}o(Ot,"isContextProvider");function Et(g){return typeof g=="object"&&g!==null&&g.$$typeof===r}o(Et,"isElement");function wt(g){return E(g)===p}o(wt,"isForwardRef");function xt(g){return E(g)===n}o(xt,"isFragment");function Ct(g){return E(g)===m}o(Ct,"isLazy");function Tt(g){return E(g)===f}o(Tt,"isMemo");function kt(g){return E(g)===a}o(kt,"isPortal");function St(g){return E(g)===s}o(St,"isProfiler");function At(g){return E(g)===i}o(At,"isStrictMode");function Rt(g){return E(g)===b}o(Rt,"isSuspense"),e.AsyncMode=A,e.ConcurrentMode=O,e.ContextConsumer=L,e.ContextProvider=N,e.Element=U,e.ForwardRef=Me,e.Fragment=Be,e.Lazy=ze,e.Memo=De,e.Portal=Jr,e.Profiler=Xr,e.StrictMode=Zr,e.Suspense=Kr,e.isAsyncMode=vt,e.isConcurrentMode=$e,e.isContextConsumer=_t,e.isContextProvider=Ot,e.isElement=Et,e.isForwardRef=wt,e.isFragment=xt,e.isLazy=Ct,e.isMemo=Tt,e.isPortal=kt,e.isProfiler=St,e.isStrictMode=At,e.isSuspense=Rt,e.isValidElementType=S,e.typeOf=E})()}),da=ke((e,t)=>{t.exports=ua()}),rr=ke((e,t)=>{var r=da(),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[r.ForwardRef]=i,l[r.Memo]=s;function u(_){return r.isMemo(_)?s:l[_.$$typeof]||a}o(u,"getStatics");var c=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,b=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;function m(_,v,w){if(typeof v!="string"){if(f){var T=h(v);T&&T!==f&&m(_,T,w)}var S=d(v);p&&(S=S.concat(p(v)));for(var E=u(_),A=u(v),O=0;O{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var a;typeof window<"u"?a=window:typeof global<"u"?a=global:typeof self<"u"?a=self:a=this,a.memoizerific=r()}})(function(){return o(function r(a,n,i){function s(c,d){if(!n[c]){if(!a[c]){var p=typeof ge=="function"&≥if(!d&&p)return p(c,!0);if(l)return l(c,!0);var b=new Error("Cannot find module '"+c+"'");throw b.code="MODULE_NOT_FOUND",b}var h=n[c]={exports:{}};a[c][0].call(h.exports,function(f){var m=a[c][1][f];return s(m||f)},h,h.exports,r,a,n,i)}return n[c].exports}o(s,"s");for(var l=typeof ge=="function"&&ge,u=0;u=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(s,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=l,this):(u=this.indexOf(s),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:s,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),l=this.indexOf(s),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(l=this.indexOf(s),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(s,l){var u;for(u=0;u0&&(w[v]={cacheItem:f,arg:arguments[v]},T?s(p,w):p.push(w),p.length>c&&l(p.shift())),h.wasMemoized=T,h.numArgs=v+1,_},"memoizerific");return h.limit=c,h.wasMemoized=!1,h.cache=d,h.lru=p,h}};function s(c,d){var p=c.length,b=d.length,h,f,m;for(f=0;f=0&&(p=c[h],b=p.cacheItem.get(p.arg),!b||!b.size);h--)p.cacheItem.delete(p.arg)}o(l,"removeCachedResult");function u(c,d){return c===d||c!==c&&d!==d}o(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?F(ae,--P):0,X--,R===10&&(X=1,Re--),R}o(dr,"prev");function j(){return R=P2||Z(R)>3?"":" "}o(pr,"whitespace");function fr(e,t){for(;--t&&j()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return ne(e,se()+(t<6&&B()==32&&j()==32))}o(fr,"escaping");function Oe(e){for(;j();)switch(R){case e:return P;case 34:case 39:e!==34&&e!==39&&Oe(R);break;case 40:e===41&&Oe(e);break;case 92:j();break}return P}o(Oe,"delimiter");function mr(e,t){for(;j()&&e+R!==57&&!(e+R===84&&B()===47););return"/*"+ne(t,P-1)+"*"+Se(e===47?e:j())}o(mr,"commenter");function hr(e){for(;!Z(B());)j();return ne(e,P)}o(hr,"identifier");function gr(e){return ct(ce("",null,null,null,[""],e=lt(e),0,[0],e))}o(gr,"compile");function ce(e,t,r,a,n,i,s,l,u){for(var c=0,d=0,p=s,b=0,h=0,f=0,m=1,_=1,v=1,w=0,T="",S=n,E=i,A=a,O=T;_;)switch(f=w,w=j()){case 40:if(f!=108&&F(O,p-1)==58){_e(O+=x(le(w),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:O+=le(w);break;case 9:case 10:case 13:case 32:O+=pr(f);break;case 92:O+=fr(se()-1,7);continue;case 47:switch(B()){case 42:case 47:ie(yr(mr(j(),se()),t,r),u);break;default:O+="/"}break;case 123*m:l[c++]=M(O)*v;case 125*m:case 59:case 0:switch(w){case 0:case 125:_=0;case 59+d:v==-1&&(O=x(O,/\f/g,"")),h>0&&M(O)-p&&ie(h>32?Qe(O+";",a,r,p-1):Qe(x(O," ","")+";",a,r,p-2),u);break;case 59:O+=";";default:if(ie(A=Ke(O,t,r,c,d,n,l,T,S=[],E=[],p),i),w===123)if(d===0)ce(O,t,A,A,S,i,p,l,E);else switch(b===99&&F(O,3)===110?100:b){case 100:case 108:case 109:case 115:ce(e,A,A,a&&ie(Ke(e,A,A,0,0,n,l,T,n,S=[],p),E),n,E,p,l,a?S:E);break;default:ce(O,A,A,A,[""],E,0,l,E)}}c=d=h=0,m=v=1,T=O="",p=s;break;case 58:p=1+M(O),h=f;default:if(m<1){if(w==123)--m;else if(w==125&&m++==0&&dr()==125)continue}switch(O+=Se(w),w*m){case 38:v=d>0?1:(O+="\f",-1);break;case 44:l[c++]=(M(O)-1)*v,v=1;break;case 64:B()===45&&(O+=le(j())),b=B(),d=p=M(T=O+=hr(se())),w++;break;case 45:f===45&&M(O)==2&&(m=0)}}return i}o(ce,"parse");function Ke(e,t,r,a,n,i,s,l,u,c,d){for(var p=n-1,b=n===0?i:[""],h=Ae(b),f=0,m=0,_=0;f0?b[v]+" "+w:x(w,/&\f/g,b[v])))&&(u[_++]=T);return de(e,t,r,n===0?ot:l,u,c,d)}o(Ke,"ruleset");function yr(e,t,r){return de(e,t,r,nt,Se(ur()),J(e,2,-2),0)}o(yr,"comment");function Qe(e,t,r,a){return de(e,t,r,it,J(e,0,a),J(e,a+1,-1),a)}o(Qe,"declaration");function Y(e,t){for(var r="",a=Ae(e),n=0;n-1},"isIgnoringComment"),ka=o(function(e){return function(t,r,a){if(!(t.type!=="rule"||e.compat)){var n=t.value.match(/(:first|:nth|:nth-last)-child/g);if(n){for(var i=!!t.parent,s=i?t.parent.children:a,l=s.length-1;l>=0;l--){var u=s[l];if(u.line=0;r--)if(!_r(t[r]))return!0;return!1},"isPrependedWithRegularRules"),Nt=o(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),Aa=o(function(e,t,r){_r(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Nt(e)):Sa(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Nt(e)))},"incorrectImportAlarm");function ut(e,t){switch(ir(e,t)){case 5103:return C+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+ve+e+I+e+e;case 6828:case 4268:return C+e+I+e+e;case 6165:return C+e+I+"flex-"+e+e;case 5187:return C+e+x(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+I+"flex-$1$2")+e;case 5443:return C+e+I+"flex-item-"+x(e,/flex-|-self/,"")+e;case 4675:return C+e+I+"flex-line-pack"+x(e,/align-content|flex-|-self/,"")+e;case 5548:return C+e+I+x(e,"shrink","negative")+e;case 5292:return C+e+I+x(e,"basis","preferred-size")+e;case 6060:return C+"box-"+x(e,"-grow","")+C+e+I+x(e,"grow","positive")+e;case 4554:return C+x(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+I+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,C+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(M(e)-1-t>6)switch(F(e,t+1)){case 109:if(F(e,t+4)!==45)break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+ve+(F(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_e(e,"stretch")?ut(x(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(F(e,t+1)!==115)break;case 6444:switch(F(e,M(e)-3-(~_e(e,"!important")&&10))){case 107:return x(e,":",":"+C)+e;case 101:return x(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+C+(F(e,14)===45?"inline-":"")+"box$3$1"+C+"$2$3$1"+I+"$2box$3")+e}break;case 5936:switch(F(e,t+11)){case 114:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return C+e+I+e+e}return e}o(ut,"prefix");var Ra=o(function(e,t,r,a){if(e.length>-1&&!e.return)switch(e.type){case it:e.return=ut(e.value,e.length);break;case or:return Y([V(e,{value:x(e.value,"@","@"+C)})],a);case ot:if(e.length)return lr(e.props,function(n){switch(sr(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([V(e,{props:[x(n,/:(read-\w+)/,":"+ve+"$1")]})],a);case"::placeholder":return Y([V(e,{props:[x(n,/:(plac\w+)/,":"+C+"input-$1")]}),V(e,{props:[x(n,/:(plac\w+)/,":"+ve+"$1")]}),V(e,{props:[x(n,/:(plac\w+)/,I+"input-$1")]})],a)}return""})}},"prefixer"),Fa=[Ra],Ia=o(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. -If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(f){var m=f.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(f),f.setAttribute("data-s",""))})}var a=e.stylisPlugins||Fa;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var n={},i,s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(f){for(var m=f.getAttribute("data-emotion").split(" "),_=1;_=4;++a,n-=4)r=e.charCodeAt(a)&255|(e.charCodeAt(++a)&255)<<8|(e.charCodeAt(++a)&255)<<16|(e.charCodeAt(++a)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(a+2)&255)<<16;case 2:t^=(e.charCodeAt(a+1)&255)<<8;case 1:t^=e.charCodeAt(a)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}o(Or,"murmur2");var Na={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mt=`You have illegal escape sequence in your template literal, most likely inside content's property value. + */var It;function tn(){if(It)return oe;It=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,a,i){var s=null;if(i!==void 0&&(s=""+i),a.key!==void 0&&(s=""+a.key),"key"in a){i={};for(var l in a)l!=="key"&&(i[l]=a[l])}else i=a;return a=i.ref,{$$typeof:e,type:n,key:s,ref:a!==void 0?a:null,props:i}}return oe.Fragment=t,oe.jsx=r,oe.jsxs=r,oe}var jt;function rn(){return jt||(jt=1,Ue.exports=tn()),Ue.exports}var ro=rn(),nn=en();const no=Qr(nn);var an=Object.create,tt=Object.defineProperty,on=Object.getOwnPropertyDescriptor,sn=Object.getOwnPropertyNames,ln=Object.getPrototypeOf,un=Object.prototype.hasOwnProperty,o=(e,t)=>tt(e,"name",{value:t,configurable:!0}),ge=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),ke=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),cn=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of sn(t))!un.call(e,a)&&a!==r&&tt(e,a,{get:()=>t[a],enumerable:!(n=on(t,a))||n.enumerable});return e},rt=(e,t,r)=>(r=e!=null?an(ln(e)):{},cn(t||!e||!e.__esModule?tt(r,"default",{value:e,enumerable:!0}):r,e)),dn=ke(e=>{(function(){var t=typeof Symbol=="function"&&Symbol.for,r=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,a=t?Symbol.for("react.fragment"):60107,i=t?Symbol.for("react.strict_mode"):60108,s=t?Symbol.for("react.profiler"):60114,l=t?Symbol.for("react.provider"):60109,c=t?Symbol.for("react.context"):60110,u=t?Symbol.for("react.async_mode"):60111,d=t?Symbol.for("react.concurrent_mode"):60111,f=t?Symbol.for("react.forward_ref"):60112,b=t?Symbol.for("react.suspense"):60113,h=t?Symbol.for("react.suspense_list"):60120,p=t?Symbol.for("react.memo"):60115,m=t?Symbol.for("react.lazy"):60116,_=t?Symbol.for("react.block"):60121,v=t?Symbol.for("react.fundamental"):60117,w=t?Symbol.for("react.responder"):60118,T=t?Symbol.for("react.scope"):60119;function S(g){return typeof g=="string"||typeof g=="function"||g===a||g===d||g===s||g===i||g===b||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===m||g.$$typeof===p||g.$$typeof===l||g.$$typeof===c||g.$$typeof===f||g.$$typeof===v||g.$$typeof===w||g.$$typeof===T||g.$$typeof===_)}o(S,"isValidElementType");function E(g){if(typeof g=="object"&&g!==null){var He=g.$$typeof;switch(He){case r:var he=g.type;switch(he){case u:case d:case a:case s:case i:case b:return he;default:var Ft=he&&he.$$typeof;switch(Ft){case c:case f:case m:case p:case l:return Ft;default:return He}}case n:return He}}}o(E,"typeOf");var A=u,O=d,L=c,N=l,U=r,Me=f,Be=a,ze=m,De=p,Jr=n,Xr=s,Zr=i,Kr=b,bt=!1;function vt(g){return bt||(bt=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),$e(g)||E(g)===u}o(vt,"isAsyncMode");function $e(g){return E(g)===d}o($e,"isConcurrentMode");function _t(g){return E(g)===c}o(_t,"isContextConsumer");function Ot(g){return E(g)===l}o(Ot,"isContextProvider");function Et(g){return typeof g=="object"&&g!==null&&g.$$typeof===r}o(Et,"isElement");function wt(g){return E(g)===f}o(wt,"isForwardRef");function xt(g){return E(g)===a}o(xt,"isFragment");function Ct(g){return E(g)===m}o(Ct,"isLazy");function Tt(g){return E(g)===p}o(Tt,"isMemo");function kt(g){return E(g)===n}o(kt,"isPortal");function St(g){return E(g)===s}o(St,"isProfiler");function At(g){return E(g)===i}o(At,"isStrictMode");function Rt(g){return E(g)===b}o(Rt,"isSuspense"),e.AsyncMode=A,e.ConcurrentMode=O,e.ContextConsumer=L,e.ContextProvider=N,e.Element=U,e.ForwardRef=Me,e.Fragment=Be,e.Lazy=ze,e.Memo=De,e.Portal=Jr,e.Profiler=Xr,e.StrictMode=Zr,e.Suspense=Kr,e.isAsyncMode=vt,e.isConcurrentMode=$e,e.isContextConsumer=_t,e.isContextProvider=Ot,e.isElement=Et,e.isForwardRef=wt,e.isFragment=xt,e.isLazy=Ct,e.isMemo=Tt,e.isPortal=kt,e.isProfiler=St,e.isStrictMode=At,e.isSuspense=Rt,e.isValidElementType=S,e.typeOf=E})()}),fn=ke((e,t)=>{t.exports=dn()}),rr=ke((e,t)=>{var r=fn(),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};l[r.ForwardRef]=i,l[r.Memo]=s;function c(_){return r.isMemo(_)?s:l[_.$$typeof]||n}o(c,"getStatics");var u=Object.defineProperty,d=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,b=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,p=Object.prototype;function m(_,v,w){if(typeof v!="string"){if(p){var T=h(v);T&&T!==p&&m(_,T,w)}var S=d(v);f&&(S=S.concat(f(v)));for(var E=c(_),A=c(v),O=0;O{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){return o(function r(n,a,i){function s(u,d){if(!a[u]){if(!n[u]){var f=typeof ge=="function"&≥if(!d&&f)return f(u,!0);if(l)return l(u,!0);var b=new Error("Cannot find module '"+u+"'");throw b.code="MODULE_NOT_FOUND",b}var h=a[u]={exports:{}};n[u][0].call(h.exports,function(p){var m=n[u][1][p];return s(m||p)},h,h.exports,r,n,a,i)}return a[u].exports}o(s,"s");for(var l=typeof ge=="function"&&ge,c=0;c=0)return this.lastItem=this.list[l],this.list[l].val},i.prototype.set=function(s,l){var c;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=l,this):(c=this.indexOf(s),c>=0?(this.lastItem=this.list[c],this.list[c].val=l,this):(this.lastItem={key:s,val:l},this.list.push(this.lastItem),this.size++,this))},i.prototype.delete=function(s){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),l=this.indexOf(s),l>=0)return this.size--,this.list.splice(l,1)[0]},i.prototype.has=function(s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(l=this.indexOf(s),l>=0?(this.lastItem=this.list[l],!0):!1)},i.prototype.forEach=function(s,l){var c;for(c=0;c0&&(w[v]={cacheItem:p,arg:arguments[v]},T?s(f,w):f.push(w),f.length>u&&l(f.shift())),h.wasMemoized=T,h.numArgs=v+1,_},"memoizerific");return h.limit=u,h.wasMemoized=!1,h.cache=d,h.lru=f,h}};function s(u,d){var f=u.length,b=d.length,h,p,m;for(p=0;p=0&&(f=u[h],b=f.cacheItem.get(f.arg),!b||!b.size);h--)f.cacheItem.delete(f.arg)}o(l,"removeCachedResult");function c(u,d){return u===d||u!==u&&d!==d}o(c,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})});function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t0?F(ne,--P):0,X--,R===10&&(X=1,Re--),R}o(dr,"prev");function j(){return R=P2||Z(R)>3?"":" "}o(fr,"whitespace");function pr(e,t){for(;--t&&j()&&!(R<48||R>102||R>57&&R<65||R>70&&R<97););return ae(e,se()+(t<6&&B()==32&&j()==32))}o(pr,"escaping");function Oe(e){for(;j();)switch(R){case e:return P;case 34:case 39:e!==34&&e!==39&&Oe(R);break;case 40:e===41&&Oe(e);break;case 92:j();break}return P}o(Oe,"delimiter");function mr(e,t){for(;j()&&e+R!==57&&!(e+R===84&&B()===47););return"/*"+ae(t,P-1)+"*"+Se(e===47?e:j())}o(mr,"commenter");function hr(e){for(;!Z(B());)j();return ae(e,P)}o(hr,"identifier");function gr(e){return ut(ue("",null,null,null,[""],e=lt(e),0,[0],e))}o(gr,"compile");function ue(e,t,r,n,a,i,s,l,c){for(var u=0,d=0,f=s,b=0,h=0,p=0,m=1,_=1,v=1,w=0,T="",S=a,E=i,A=n,O=T;_;)switch(p=w,w=j()){case 40:if(p!=108&&F(O,f-1)==58){_e(O+=x(le(w),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:O+=le(w);break;case 9:case 10:case 13:case 32:O+=fr(p);break;case 92:O+=pr(se()-1,7);continue;case 47:switch(B()){case 42:case 47:ie(yr(mr(j(),se()),t,r),c);break;default:O+="/"}break;case 123*m:l[u++]=M(O)*v;case 125*m:case 59:case 0:switch(w){case 0:case 125:_=0;case 59+d:v==-1&&(O=x(O,/\f/g,"")),h>0&&M(O)-f&&ie(h>32?Qe(O+";",n,r,f-1):Qe(x(O," ","")+";",n,r,f-2),c);break;case 59:O+=";";default:if(ie(A=Ke(O,t,r,u,d,a,l,T,S=[],E=[],f),i),w===123)if(d===0)ue(O,t,A,A,S,i,f,l,E);else switch(b===99&&F(O,3)===110?100:b){case 100:case 108:case 109:case 115:ue(e,A,A,n&&ie(Ke(e,A,A,0,0,a,l,T,a,S=[],f),E),a,E,f,l,n?S:E);break;default:ue(O,A,A,A,[""],E,0,l,E)}}u=d=h=0,m=v=1,T=O="",f=s;break;case 58:f=1+M(O),h=p;default:if(m<1){if(w==123)--m;else if(w==125&&m++==0&&dr()==125)continue}switch(O+=Se(w),w*m){case 38:v=d>0?1:(O+="\f",-1);break;case 44:l[u++]=(M(O)-1)*v,v=1;break;case 64:B()===45&&(O+=le(j())),b=B(),d=f=M(T=O+=hr(se())),w++;break;case 45:p===45&&M(O)==2&&(m=0)}}return i}o(ue,"parse");function Ke(e,t,r,n,a,i,s,l,c,u,d){for(var f=a-1,b=a===0?i:[""],h=Ae(b),p=0,m=0,_=0;p0?b[v]+" "+w:x(w,/&\f/g,b[v])))&&(c[_++]=T);return de(e,t,r,a===0?ot:l,c,u,d)}o(Ke,"ruleset");function yr(e,t,r){return de(e,t,r,at,Se(cr()),J(e,2,-2),0)}o(yr,"comment");function Qe(e,t,r,n){return de(e,t,r,it,J(e,0,n),J(e,n+1,-1),n)}o(Qe,"declaration");function Y(e,t){for(var r="",n=Ae(e),a=0;a-1},"isIgnoringComment"),Sn=o(function(e){return function(t,r,n){if(!(t.type!=="rule"||e.compat)){var a=t.value.match(/(:first|:nth|:nth-last)-child/g);if(a){for(var i=!!t.parent,s=i?t.parent.children:n,l=s.length-1;l>=0;l--){var c=s[l];if(c.line=0;r--)if(!_r(t[r]))return!0;return!1},"isPrependedWithRegularRules"),Nt=o(function(e){e.type="",e.value="",e.return="",e.children="",e.props=""},"nullifyElement"),Rn=o(function(e,t,r){_r(e)&&(e.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Nt(e)):An(t,r)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Nt(e)))},"incorrectImportAlarm");function ct(e,t){switch(ir(e,t)){case 5103:return C+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return C+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return C+e+ve+e+I+e+e;case 6828:case 4268:return C+e+I+e+e;case 6165:return C+e+I+"flex-"+e+e;case 5187:return C+e+x(e,/(\w+).+(:[^]+)/,C+"box-$1$2"+I+"flex-$1$2")+e;case 5443:return C+e+I+"flex-item-"+x(e,/flex-|-self/,"")+e;case 4675:return C+e+I+"flex-line-pack"+x(e,/align-content|flex-|-self/,"")+e;case 5548:return C+e+I+x(e,"shrink","negative")+e;case 5292:return C+e+I+x(e,"basis","preferred-size")+e;case 6060:return C+"box-"+x(e,"-grow","")+C+e+I+x(e,"grow","positive")+e;case 4554:return C+x(e,/([^-])(transform)/g,"$1"+C+"$2")+e;case 6187:return x(x(x(e,/(zoom-|grab)/,C+"$1"),/(image-set)/,C+"$1"),e,"")+e;case 5495:case 3959:return x(e,/(image-set\([^]*)/,C+"$1$`$1");case 4968:return x(x(e,/(.+:)(flex-)?(.*)/,C+"box-pack:$3"+I+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+C+e+e;case 4095:case 3583:case 4068:case 2532:return x(e,/(.+)-inline(.+)/,C+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(M(e)-1-t>6)switch(F(e,t+1)){case 109:if(F(e,t+4)!==45)break;case 102:return x(e,/(.+:)(.+)-([^]+)/,"$1"+C+"$2-$3$1"+ve+(F(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~_e(e,"stretch")?ct(x(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(F(e,t+1)!==115)break;case 6444:switch(F(e,M(e)-3-(~_e(e,"!important")&&10))){case 107:return x(e,":",":"+C)+e;case 101:return x(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+C+(F(e,14)===45?"inline-":"")+"box$3$1"+C+"$2$3$1"+I+"$2box$3")+e}break;case 5936:switch(F(e,t+11)){case 114:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return C+e+I+x(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return C+e+I+e+e}return e}o(ct,"prefix");var Fn=o(function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case it:e.return=ct(e.value,e.length);break;case or:return Y([V(e,{value:x(e.value,"@","@"+C)})],n);case ot:if(e.length)return lr(e.props,function(a){switch(sr(a,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return Y([V(e,{props:[x(a,/:(read-\w+)/,":"+ve+"$1")]})],n);case"::placeholder":return Y([V(e,{props:[x(a,/:(plac\w+)/,":"+C+"input-$1")]}),V(e,{props:[x(a,/:(plac\w+)/,":"+ve+"$1")]}),V(e,{props:[x(a,/:(plac\w+)/,I+"input-$1")]})],n)}return""})}},"prefixer"),In=[Fn],jn=o(function(e){var t=e.key;if(!t)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache. +If multiple caches share the same key they might "fight" for each other's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(p){var m=p.getAttribute("data-emotion");m.indexOf(" ")!==-1&&(document.head.appendChild(p),p.setAttribute("data-s",""))})}var n=e.stylisPlugins||In;if(/[^a-z-]/.test(t))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed');var a={},i,s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(p){for(var m=p.getAttribute("data-emotion").split(" "),_=1;_=4;++n,a-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(a){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}o(Or,"murmur2");var Mn={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Mt=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Ma="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",Ba=/[A-Z]|^ms/g,Er=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dt=o(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),Bt=o(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Ge=at(function(e){return dt(e)?e:e.replace(Ba,"-$&").toLowerCase()}),Ee=o(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Er,function(r,a,n){return z={name:a,styles:n,next:z},a})}return Na[e]!==1&&!dt(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");zt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Dt=["normal","none","initial","inherit","unset"],$t=Ee,Ht=/^-ms-/,Ut=/-(.)/g,qe={},Ee=o(function(e,t){if(e==="content"&&(typeof t!="string"||Dt.indexOf(t)===-1&&!zt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=$t(e,t);return r!==""&&!dt(e)&&e.indexOf("-")!==-1&&qe[e]===void 0&&(qe[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Ht,"ms-").replace(Ut,function(a,n){return n.toUpperCase()})+"?")),r},"processStyleValue");var zt,Dt,$t,Ht,Ut,qe,wr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function K(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(wr);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return z={name:r.name,styles:r.styles,next:z},r.name;if(r.styles!==void 0){var a=r.next;if(a!==void 0)for(;a!==void 0;)z={name:a.name,styles:a.styles,next:z},a=a.next;var n=r.styles+";";return r.map!==void 0&&(n+=r.map),n}return xr(e,t,r)}case"function":{if(e!==void 0){var i=z,s=r(e);return z=i,K(e,t,s)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var l=[],u=r.replace(Er,function(d,p,b){var h="animation"+l.length;return l.push("const "+h+" = keyframes`"+b.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+h+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+u+"`"]).join(` +https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Bn="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",zn=/[A-Z]|^ms/g,Er=/_EMO_([^_]+?)_([^]*?)_EMO_/g,dt=o(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),Bt=o(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),Ge=nt(function(e){return dt(e)?e:e.replace(zn,"-$&").toLowerCase()}),Ee=o(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Er,function(r,n,a){return z={name:n,styles:a,next:z},n})}return Mn[e]!==1&&!dt(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");zt=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Dt=["normal","none","initial","inherit","unset"],$t=Ee,Ht=/^-ms-/,Ut=/-(.)/g,qe={},Ee=o(function(e,t){if(e==="content"&&(typeof t!="string"||Dt.indexOf(t)===-1&&!zt.test(t)&&(t.charAt(0)!==t.charAt(t.length-1)||t.charAt(0)!=='"'&&t.charAt(0)!=="'")))throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\""+t+"\"'`");var r=$t(e,t);return r!==""&&!dt(e)&&e.indexOf("-")!==-1&&qe[e]===void 0&&(qe[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(Ht,"ms-").replace(Ut,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var zt,Dt,$t,Ht,Ut,qe,wr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function K(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(wr);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return z={name:r.name,styles:r.styles,next:z},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)z={name:n.name,styles:n.styles,next:z},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return xr(e,t,r)}case"function":{if(e!==void 0){var i=z,s=r(e);return z=i,K(e,t,s)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var l=[],c=r.replace(Er,function(d,f,b){var h="animation"+l.length;return l.push("const "+h+" = keyframes`"+b.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+h+"}"});l.length&&console.error("`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\nInstead of doing this:\n\n"+[].concat(l,["`"+c+"`"]).join(` `)+` You should wrap it with \`css\` like this: -`+("css`"+u+"`"));break}if(t==null)return r;var c=t[r];return c!==void 0?c:r}o(K,"handleInterpolation");function xr(e,t,r){var a="";if(Array.isArray(r))for(var n=0;n ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return $({},e,t)},"getTheme"),Ha=Pt(function(e){return Pt(function(t){return $a(e,t)})}),oo=o(function(e){var t=k.useContext(H);return e.theme!==t&&(t=Ha(t)(e.theme)),k.createElement(H.Provider,{value:t},e.children)},"ThemeProvider");function Ua(e){var t=e.displayName||e.name||"Component",r=o(function(n,i){var s=k.useContext(H);return k.createElement(e,$({theme:s,ref:i},n))},"render"),a=k.forwardRef(r);return a.displayName="WithTheme("+t+")",Pa(a,e)}o(Ua,"withTheme");var Wt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",Ga=o(function(e){var t=e.cache,r=e.serialized,a=e.isStringTag;return Ie(t,r,a),pt(function(){return je(t,r,a)}),null},"Insertion"),qa=Pe(function(e,t,r){var a=e.css;typeof a=="string"&&t.registered[a]!==void 0&&(a=t.registered[a]);var n=e[Wt],i=[a],s="";typeof e.className=="string"?s=Fe(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var l=Q(i,void 0,k.useContext(H));if(l.name.indexOf("-")===-1){var u=e[Yt];u&&(l=Q([l,"label:"+u+";"]))}s+=t.key+"-"+l.name;var c={};for(var d in e)Da.call(e,d)&&d!=="css"&&d!==Wt&&d!==Yt&&(c[d]=e[d]);return c.ref=r,c.className=s,k.createElement(k.Fragment,null,k.createElement(Ga,{cache:t,serialized:l,isStringTag:typeof n=="string"}),k.createElement(n,c))});qa.displayName="EmotionCssPropInternal";rt(rr());var Wa={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Vt=!1,Ya=Pe(function(e,t){!Vt&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Vt=!0);var r=e.styles,a=Q([r],void 0,k.useContext(H)),n=k.useRef();return qt(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,u=document.querySelector('style[data-emotion="'+i+" "+a.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),u!==null&&(l=!0,u.setAttribute("data-emotion",i),s.hydrate([u])),n.current=[s,l],function(){s.flush()}},[t]),qt(function(){var i=n.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(a.next!==void 0&&je(t,a.next,!0),s.tags.length){var u=s.tags[s.tags.length-1].nextElementSibling;s.before=u,s.flush()}t.insert("",a,s,!1)},[t,a.name]),null});Ya.displayName="EmotionGlobal";function Le(){for(var e=arguments.length,t=new Array(e),r=0;r component."),s="";for(var l in i)i[l]&&l&&(s&&(s+=" "),s+=l)}break}default:s=i}s&&(n&&(n+=" "),n+=s)}}return n},"classnames");function kr(e,t,r){var a=[],n=Fe(e,a,r);return a.length<2?r:n+t(a)}o(kr,"merge");var Ja=o(function(e){var t=e.cache,r=e.serializedArr;return pt(function(){for(var a=0;a96?Za:Ka},"getDefaultShouldForwardProp"),Zt=o(function(e,t,r){var a;if(t){var n=t.shouldForwardProp;a=e.__emotion_forwardProp&&n?function(i){return e.__emotion_forwardProp(i)&&n(i)}:n}return typeof a!="function"&&r&&(a=e.__emotion_forwardProp),a},"composeShouldForwardProps"),Kt=`You have illegal escape sequence in your template literal, most likely inside content's property value. +`+("css`"+c+"`"));break}if(t==null)return r;var u=t[r];return u!==void 0?u:r}o(K,"handleInterpolation");function xr(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return $({},e,t)},"getTheme"),Un=Pt(function(e){return Pt(function(t){return Hn(e,t)})}),oo=o(function(e){var t=k.useContext(H);return e.theme!==t&&(t=Un(t)(e.theme)),k.createElement(H.Provider,{value:t},e.children)},"ThemeProvider");function Gn(e){var t=e.displayName||e.name||"Component",r=o(function(a,i){var s=k.useContext(H);return k.createElement(e,$({theme:s,ref:i},a))},"render"),n=k.forwardRef(r);return n.displayName="WithTheme("+t+")",Ln(n,e)}o(Gn,"withTheme");var Wt="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Yt="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",qn=o(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Ie(t,r,n),ft(function(){return je(t,r,n)}),null},"Insertion"),Wn=Pe(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[Wt],i=[n],s="";typeof e.className=="string"?s=Fe(t.registered,i,e.className):e.className!=null&&(s=e.className+" ");var l=Q(i,void 0,k.useContext(H));if(l.name.indexOf("-")===-1){var c=e[Yt];c&&(l=Q([l,"label:"+c+";"]))}s+=t.key+"-"+l.name;var u={};for(var d in e)$n.call(e,d)&&d!=="css"&&d!==Wt&&d!==Yt&&(u[d]=e[d]);return u.ref=r,u.className=s,k.createElement(k.Fragment,null,k.createElement(qn,{cache:t,serialized:l,isStringTag:typeof a=="string"}),k.createElement(a,u))});Wn.displayName="EmotionCssPropInternal";rt(rr());var Yn={name:"@emotion/react",version:"11.11.4",main:"dist/emotion-react.cjs.js",module:"dist/emotion-react.esm.js",browser:{"./dist/emotion-react.esm.js":"./dist/emotion-react.browser.esm.js"},exports:{".":{module:{worker:"./dist/emotion-react.worker.esm.js",browser:"./dist/emotion-react.browser.esm.js",default:"./dist/emotion-react.esm.js"},import:"./dist/emotion-react.cjs.mjs",default:"./dist/emotion-react.cjs.js"},"./jsx-runtime":{module:{worker:"./jsx-runtime/dist/emotion-react-jsx-runtime.worker.esm.js",browser:"./jsx-runtime/dist/emotion-react-jsx-runtime.browser.esm.js",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.esm.js"},import:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.mjs",default:"./jsx-runtime/dist/emotion-react-jsx-runtime.cjs.js"},"./_isolated-hnrs":{module:{worker:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.worker.esm.js",browser:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.browser.esm.js",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.esm.js"},import:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.mjs",default:"./_isolated-hnrs/dist/emotion-react-_isolated-hnrs.cjs.js"},"./jsx-dev-runtime":{module:{worker:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.worker.esm.js",browser:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.browser.esm.js",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.esm.js"},import:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.mjs",default:"./jsx-dev-runtime/dist/emotion-react-jsx-dev-runtime.cjs.js"},"./package.json":"./package.json","./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}},types:"types/index.d.ts",files:["src","dist","jsx-runtime","jsx-dev-runtime","_isolated-hnrs","types/*.d.ts","macro.*"],sideEffects:!1,author:"Emotion Contributors",license:"MIT",scripts:{"test:typescript":"dtslint types"},dependencies:{"@babel/runtime":"^7.18.3","@emotion/babel-plugin":"^11.11.0","@emotion/cache":"^11.11.0","@emotion/serialize":"^1.1.3","@emotion/use-insertion-effect-with-fallbacks":"^1.0.1","@emotion/utils":"^1.2.1","@emotion/weak-memoize":"^0.3.1","hoist-non-react-statics":"^3.3.1"},peerDependencies:{react:">=16.8.0"},peerDependenciesMeta:{"@types/react":{optional:!0}},devDependencies:{"@definitelytyped/dtslint":"0.0.112","@emotion/css":"11.11.2","@emotion/css-prettifier":"1.1.3","@emotion/server":"11.11.0","@emotion/styled":"11.11.0","html-tag-names":"^1.1.2",react:"16.14.0","svg-tag-names":"^1.1.1",typescript:"^4.5.5"},repository:"https://github.com/emotion-js/emotion/tree/main/packages/react",publishConfig:{access:"public"},"umd:main":"dist/emotion-react.umd.min.js",preconstruct:{entrypoints:["./index.js","./jsx-runtime.js","./jsx-dev-runtime.js","./_isolated-hnrs.js"],umdName:"emotionReact",exports:{envConditions:["browser","worker"],extra:{"./types/css-prop":"./types/css-prop.d.ts","./macro":{types:{import:"./macro.d.mts",default:"./macro.d.ts"},default:"./macro.js"}}}}},Vt=!1,Vn=Pe(function(e,t){!Vt&&(e.className||e.css)&&(console.error("It looks like you're using the css prop on Global, did you mean to use the styles prop instead?"),Vt=!0);var r=e.styles,n=Q([r],void 0,k.useContext(H)),a=k.useRef();return qt(function(){var i=t.key+"-global",s=new t.sheet.constructor({key:i,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),l=!1,c=document.querySelector('style[data-emotion="'+i+" "+n.name+'"]');return t.sheet.tags.length&&(s.before=t.sheet.tags[0]),c!==null&&(l=!0,c.setAttribute("data-emotion",i),s.hydrate([c])),a.current=[s,l],function(){s.flush()}},[t]),qt(function(){var i=a.current,s=i[0],l=i[1];if(l){i[1]=!1;return}if(n.next!==void 0&&je(t,n.next,!0),s.tags.length){var c=s.tags[s.tags.length-1].nextElementSibling;s.before=c,s.flush()}t.insert("",n,s,!1)},[t,n.name]),null});Vn.displayName="EmotionGlobal";function Le(){for(var e=arguments.length,t=new Array(e),r=0;r component."),s="";for(var l in i)i[l]&&l&&(s&&(s+=" "),s+=l)}break}default:s=i}s&&(a&&(a+=" "),a+=s)}}return a},"classnames");function kr(e,t,r){var n=[],a=Fe(e,n,r);return n.length<2?r:a+t(n)}o(kr,"merge");var Xn=o(function(e){var t=e.cache,r=e.serializedArr;return ft(function(){for(var n=0;n96?Kn:Qn},"getDefaultShouldForwardProp"),Zt=o(function(e,t,r){var n;if(t){var a=t.shouldForwardProp;n=e.__emotion_forwardProp&&a?function(i){return e.__emotion_forwardProp(i)&&a(i)}:a}return typeof n!="function"&&r&&(n=e.__emotion_forwardProp),n},"composeShouldForwardProps"),Kt=`You have illegal escape sequence in your template literal, most likely inside content's property value. Because you write your CSS inside a JavaScript string you actually have to do double escaping, so for example "content: '\\00d7';" should become "content: '\\\\00d7';". You can read more about this here: -https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences`,Qa=o(function(e){var t=e.cache,r=e.serialized,a=e.isStringTag;return Ie(t,r,a),pt(function(){return je(t,r,a)}),null},"Insertion"),en=o(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component. -You may have forgotten to import it.`);var a=t.__emotion_real===t,n=a&&t.__emotion_base||t,i,s;r!==void 0&&(i=r.label,s=r.target);var l=Zt(t,r,a),u=l||Xt(n),c=!u("as");return function(){var d=arguments,p=a&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(i!==void 0&&p.push("label:"+i+";"),d[0]==null||d[0].raw===void 0)p.push.apply(p,d);else{d[0][0]===void 0&&console.error(Kt),p.push(d[0][0]);for(var b=d.length,h=1;h1?n-1:0),s=1;s=0&&n<1?(l=i,u=s):n>=1&&n<2?(l=s,u=i):n>=2&&n<3?(u=i,c=s):n>=3&&n<4?(u=s,c=i):n>=4&&n<5?(l=s,c=i):n>=5&&n<6&&(l=i,c=s);var d=r-i/2,p=l+d,b=u+d,h=c+d;return a(p,b,h)}o(te,"hslToRgb");var er={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Pr(e){if(typeof e!="string")return e;var t=e.toLowerCase();return er[t]?"#"+er[t]:e}o(Pr,"nameToHex");var an=/^#[a-fA-F0-9]{6}$/,nn=/^#[a-fA-F0-9]{8}$/,on=/^#[a-fA-F0-9]{3}$/,sn=/^#[a-fA-F0-9]{4}$/,Je=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,ln=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,cn=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,un=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function pe(e){if(typeof e!="string")throw new D(3);var t=Pr(e);if(t.match(an))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(nn)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(on))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(sn)){var a=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:a}}var n=Je.exec(t);if(n)return{red:parseInt(""+n[1],10),green:parseInt(""+n[2],10),blue:parseInt(""+n[3],10)};var i=ln.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=cn.exec(t);if(s){var l=parseInt(""+s[1],10),u=parseInt(""+s[2],10)/100,c=parseInt(""+s[3],10)/100,d="rgb("+te(l,u,c)+")",p=Je.exec(d);if(!p)throw new D(4,t,d);return{red:parseInt(""+p[1],10),green:parseInt(""+p[2],10),blue:parseInt(""+p[3],10)}}var b=un.exec(t.substring(0,50));if(b){var h=parseInt(""+b[1],10),f=parseInt(""+b[2],10)/100,m=parseInt(""+b[3],10)/100,_="rgb("+te(h,f,m)+")",v=Je.exec(_);if(!v)throw new D(4,t,_);return{red:parseInt(""+v[1],10),green:parseInt(""+v[2],10),blue:parseInt(""+v[3],10),alpha:parseFloat(""+b[4])>1?parseFloat(""+b[4])/100:parseFloat(""+b[4])}}throw new D(5)}o(pe,"parseToRgb");function Lr(e){var t=e.red/255,r=e.green/255,a=e.blue/255,n=Math.max(t,r,a),i=Math.min(t,r,a),s=(n+i)/2;if(n===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,u=n-i,c=s>.5?u/(2-n-i):u/(n+i);switch(n){case t:l=(r-a)/u+(r=1?ue(e,t,r):"rgba("+te(e,t,r)+","+a+")";if(typeof e=="object"&&t===void 0&&r===void 0&&a===void 0)return e.alpha>=1?ue(e.hue,e.saturation,e.lightness):"rgba("+te(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new D(2)}o(Br,"hsla");function Ce(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return et("#"+G(e)+G(t)+G(r));if(typeof e=="object"&&t===void 0&&r===void 0)return et("#"+G(e.red)+G(e.green)+G(e.blue));throw new D(6)}o(Ce,"rgb");function re(e,t,r,a){if(typeof e=="string"&&typeof t=="number"){var n=pe(e);return"rgba("+n.red+","+n.green+","+n.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof a=="number")return a>=1?Ce(e,t,r):"rgba("+e+","+t+","+r+","+a+")";if(typeof e=="object"&&t===void 0&&r===void 0&&a===void 0)return e.alpha>=1?Ce(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new D(7)}o(re,"rgba");var pn=o(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),fn=o(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),mn=o(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),hn=o(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function gt(e){if(typeof e!="object")throw new D(8);if(fn(e))return re(e);if(pn(e))return Ce(e);if(hn(e))return Br(e);if(mn(e))return Mr(e);throw new D(8)}o(gt,"toColorString");function yt(e,t,r){return o(function(){var a=r.concat(Array.prototype.slice.call(arguments));return a.length>=t?e.apply(this,a):yt(e,t,a)},"fn")}o(yt,"curried");function fe(e){return yt(e,e.length,[])}o(fe,"curry");function me(e,t,r){return Math.max(e,Math.min(t,r))}o(me,"guard");function zr(e,t){if(t==="transparent")return t;var r=ht(t);return gt($({},r,{lightness:me(0,1,r.lightness-parseFloat(e))}))}o(zr,"darken");var gn=fe(zr),yn=gn;function Dr(e,t){if(t==="transparent")return t;var r=ht(t);return gt($({},r,{lightness:me(0,1,r.lightness+parseFloat(e))}))}o(Dr,"lighten");var bn=fe(Dr),vn=bn;function $r(e,t){if(t==="transparent")return t;var r=pe(t),a=typeof r.alpha=="number"?r.alpha:1,n=$({},r,{alpha:me(0,1,(a*100+parseFloat(e)*100)/100)});return re(n)}o($r,"opacify");var _n=fe($r),On=_n;function Hr(e,t){if(t==="transparent")return t;var r=pe(t),a=typeof r.alpha=="number"?r.alpha:1,n=$({},r,{alpha:me(0,1,+(a*100-parseFloat(e)*100).toFixed(2)/100)});return re(n)}o(Hr,"transparentize");var En=fe(Hr),wn=En,y={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},q={app:"#F6F9FC",bar:y.lightest,content:y.lightest,preview:y.lightest,gridCellSize:10,hoverable:wn(.9,y.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},W={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Ur=rt(pa(),1),xn=(0,Ur.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Ur.default)(1)(({color:e,background:t,typography:r})=>{let a=xn({typography:r});return{...a,body:{...a.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...a.hr,borderTop:`1px solid ${e.border}`}}});var Cn={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:y.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:W.fonts.base,fontCode:W.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:y.mediumdark,barHoverColor:y.secondary,barSelectedColor:y.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:y.lightest,inputBorderRadius:4},Tn=Cn,kn={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:q.app,appContentBg:y.lightest,appPreviewBg:y.lightest,appBorderColor:y.border,appBorderRadius:4,fontBase:W.fonts.base,fontCode:W.fonts.mono,textColor:y.darkest,textInverseColor:y.lightest,textMutedColor:y.dark,barTextColor:y.mediumdark,barHoverColor:y.secondary,barSelectedColor:y.secondary,barBg:y.lightest,buttonBg:q.app,buttonBorder:y.medium,booleanBg:y.mediumlight,booleanSelectedBg:y.lightest,inputBg:y.lightest,inputBorder:y.border,inputTextColor:y.darkest,inputBorderRadius:4},Te=kn,Sn=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:An}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Xe}=Sn,Rn=o(e=>({color:e}),"mkColor"),Fn=o(e=>typeof e!="string"?(An.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),In=o(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),jn=o((e,t)=>e==="darken"?re(`${yn(1,t)}`,.95):e==="lighten"?re(`${vn(1,t)}`,.95):t,"applyPolished"),Gr=o(e=>t=>{if(!Fn(t)||!In(t))return t;try{return jn(e,t)}catch{return t}},"colorFactory"),io=Gr("lighten");Gr("darken");var qr=o(()=>!Xe||!Xe.matchMedia?"light":Xe.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),Pn={light:Te,dark:Tn,normal:Te};qr();var Ln={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},Nn=Ne` +`};function Ir(){for(var e=arguments.length,t=new Array(e),r=0;r1?a-1:0),s=1;s=0&&a<1?(l=i,c=s):a>=1&&a<2?(l=s,c=i):a>=2&&a<3?(c=i,u=s):a>=3&&a<4?(c=s,u=i):a>=4&&a<5?(l=s,u=i):a>=5&&a<6&&(l=i,u=s);var d=r-i/2,f=l+d,b=c+d,h=u+d;return n(f,b,h)}o(te,"hslToRgb");var er={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};function Pr(e){if(typeof e!="string")return e;var t=e.toLowerCase();return er[t]?"#"+er[t]:e}o(Pr,"nameToHex");var aa=/^#[a-fA-F0-9]{6}$/,oa=/^#[a-fA-F0-9]{8}$/,ia=/^#[a-fA-F0-9]{3}$/,sa=/^#[a-fA-F0-9]{4}$/,Je=/^rgb\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*\)$/i,la=/^rgb(?:a)?\(\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,)?\s*(\d{1,3})\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i,ua=/^hsl\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,ca=/^hsl(?:a)?\(\s*(\d{0,3}[.]?[0-9]+(?:deg)?)\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,)?\s*(\d{1,3}[.]?[0-9]?)%\s*(?:,|\/)\s*([-+]?\d*[.]?\d+[%]?)\s*\)$/i;function fe(e){if(typeof e!="string")throw new D(3);var t=Pr(e);if(t.match(aa))return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16)};if(t.match(oa)){var r=parseFloat((parseInt(""+t[7]+t[8],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[2],16),green:parseInt(""+t[3]+t[4],16),blue:parseInt(""+t[5]+t[6],16),alpha:r}}if(t.match(ia))return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16)};if(t.match(sa)){var n=parseFloat((parseInt(""+t[4]+t[4],16)/255).toFixed(2));return{red:parseInt(""+t[1]+t[1],16),green:parseInt(""+t[2]+t[2],16),blue:parseInt(""+t[3]+t[3],16),alpha:n}}var a=Je.exec(t);if(a)return{red:parseInt(""+a[1],10),green:parseInt(""+a[2],10),blue:parseInt(""+a[3],10)};var i=la.exec(t.substring(0,50));if(i)return{red:parseInt(""+i[1],10),green:parseInt(""+i[2],10),blue:parseInt(""+i[3],10),alpha:parseFloat(""+i[4])>1?parseFloat(""+i[4])/100:parseFloat(""+i[4])};var s=ua.exec(t);if(s){var l=parseInt(""+s[1],10),c=parseInt(""+s[2],10)/100,u=parseInt(""+s[3],10)/100,d="rgb("+te(l,c,u)+")",f=Je.exec(d);if(!f)throw new D(4,t,d);return{red:parseInt(""+f[1],10),green:parseInt(""+f[2],10),blue:parseInt(""+f[3],10)}}var b=ca.exec(t.substring(0,50));if(b){var h=parseInt(""+b[1],10),p=parseInt(""+b[2],10)/100,m=parseInt(""+b[3],10)/100,_="rgb("+te(h,p,m)+")",v=Je.exec(_);if(!v)throw new D(4,t,_);return{red:parseInt(""+v[1],10),green:parseInt(""+v[2],10),blue:parseInt(""+v[3],10),alpha:parseFloat(""+b[4])>1?parseFloat(""+b[4])/100:parseFloat(""+b[4])}}throw new D(5)}o(fe,"parseToRgb");function Lr(e){var t=e.red/255,r=e.green/255,n=e.blue/255,a=Math.max(t,r,n),i=Math.min(t,r,n),s=(a+i)/2;if(a===i)return e.alpha!==void 0?{hue:0,saturation:0,lightness:s,alpha:e.alpha}:{hue:0,saturation:0,lightness:s};var l,c=a-i,u=s>.5?c/(2-a-i):c/(a+i);switch(a){case t:l=(r-n)/c+(r=1?ce(e,t,r):"rgba("+te(e,t,r)+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?ce(e.hue,e.saturation,e.lightness):"rgba("+te(e.hue,e.saturation,e.lightness)+","+e.alpha+")";throw new D(2)}o(Br,"hsla");function Ce(e,t,r){if(typeof e=="number"&&typeof t=="number"&&typeof r=="number")return et("#"+G(e)+G(t)+G(r));if(typeof e=="object"&&t===void 0&&r===void 0)return et("#"+G(e.red)+G(e.green)+G(e.blue));throw new D(6)}o(Ce,"rgb");function re(e,t,r,n){if(typeof e=="string"&&typeof t=="number"){var a=fe(e);return"rgba("+a.red+","+a.green+","+a.blue+","+t+")"}else{if(typeof e=="number"&&typeof t=="number"&&typeof r=="number"&&typeof n=="number")return n>=1?Ce(e,t,r):"rgba("+e+","+t+","+r+","+n+")";if(typeof e=="object"&&t===void 0&&r===void 0&&n===void 0)return e.alpha>=1?Ce(e.red,e.green,e.blue):"rgba("+e.red+","+e.green+","+e.blue+","+e.alpha+")"}throw new D(7)}o(re,"rgba");var fa=o(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isRgb"),pa=o(function(e){return typeof e.red=="number"&&typeof e.green=="number"&&typeof e.blue=="number"&&typeof e.alpha=="number"},"isRgba"),ma=o(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&(typeof e.alpha!="number"||typeof e.alpha>"u")},"isHsl"),ha=o(function(e){return typeof e.hue=="number"&&typeof e.saturation=="number"&&typeof e.lightness=="number"&&typeof e.alpha=="number"},"isHsla");function gt(e){if(typeof e!="object")throw new D(8);if(pa(e))return re(e);if(fa(e))return Ce(e);if(ha(e))return Br(e);if(ma(e))return Mr(e);throw new D(8)}o(gt,"toColorString");function yt(e,t,r){return o(function(){var n=r.concat(Array.prototype.slice.call(arguments));return n.length>=t?e.apply(this,n):yt(e,t,n)},"fn")}o(yt,"curried");function pe(e){return yt(e,e.length,[])}o(pe,"curry");function me(e,t,r){return Math.max(e,Math.min(t,r))}o(me,"guard");function zr(e,t){if(t==="transparent")return t;var r=ht(t);return gt($({},r,{lightness:me(0,1,r.lightness-parseFloat(e))}))}o(zr,"darken");var ga=pe(zr),ya=ga;function Dr(e,t){if(t==="transparent")return t;var r=ht(t);return gt($({},r,{lightness:me(0,1,r.lightness+parseFloat(e))}))}o(Dr,"lighten");var ba=pe(Dr),va=ba;function $r(e,t){if(t==="transparent")return t;var r=fe(t),n=typeof r.alpha=="number"?r.alpha:1,a=$({},r,{alpha:me(0,1,(n*100+parseFloat(e)*100)/100)});return re(a)}o($r,"opacify");var _a=pe($r),Oa=_a;function Hr(e,t){if(t==="transparent")return t;var r=fe(t),n=typeof r.alpha=="number"?r.alpha:1,a=$({},r,{alpha:me(0,1,+(n*100-parseFloat(e)*100).toFixed(2)/100)});return re(a)}o(Hr,"transparentize");var Ea=pe(Hr),wa=Ea,y={primary:"#FF4785",secondary:"#029CFD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F7FAFC",light:"#EEF3F6",mediumlight:"#ECF4F9",medium:"#D9E8F2",mediumdark:"#73828C",dark:"#5C6870",darker:"#454E54",darkest:"#2E3438",border:"hsla(203, 50%, 30%, 0.15)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#2E3438",inverseText:"#FFFFFF",positiveText:"#448028",negativeText:"#D43900",warningText:"#A15C20"},q={app:"#F6F9FC",bar:y.lightest,content:y.lightest,preview:y.lightest,gridCellSize:10,hoverable:wa(.9,y.secondary),positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},W={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:["ui-monospace","Menlo","Monaco",'"Roboto Mono"','"Oxygen Mono"','"Ubuntu Monospace"','"Source Code Pro"','"Droid Sans Mono"','"Courier New"',"monospace"].join(", ")},weight:{regular:400,bold:700},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}},Ur=rt(pn(),1),xa=(0,Ur.default)(1)(({typography:e})=>({body:{fontFamily:e.fonts.base,fontSize:e.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"},"*":{boxSizing:"border-box"},"h1, h2, h3, h4, h5, h6":{fontWeight:e.weight.regular,margin:0,padding:0},"button, input, textarea, select":{fontFamily:"inherit",fontSize:"inherit",boxSizing:"border-box"},sub:{fontSize:"0.8em",bottom:"-0.2em"},sup:{fontSize:"0.8em",top:"-0.2em"},"b, strong":{fontWeight:e.weight.bold},hr:{border:"none",borderTop:"1px solid silver",clear:"both",marginBottom:"1.25rem"},code:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"},pre:{fontFamily:e.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0"}}));(0,Ur.default)(1)(({color:e,background:t,typography:r})=>{let n=xa({typography:r});return{...n,body:{...n.body,color:e.defaultText,background:t.app,overflow:"hidden"},hr:{...n.hr,borderTop:`1px solid ${e.border}`}}});var Ca={base:"dark",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:"#222425",appContentBg:"#1B1C1D",appPreviewBg:y.lightest,appBorderColor:"rgba(255,255,255,.1)",appBorderRadius:4,fontBase:W.fonts.base,fontCode:W.fonts.mono,textColor:"#C9CDCF",textInverseColor:"#222425",textMutedColor:"#798186",barTextColor:y.mediumdark,barHoverColor:y.secondary,barSelectedColor:y.secondary,barBg:"#292C2E",buttonBg:"#222425",buttonBorder:"rgba(255,255,255,.1)",booleanBg:"#222425",booleanSelectedBg:"#2E3438",inputBg:"#1B1C1D",inputBorder:"rgba(255,255,255,.1)",inputTextColor:y.lightest,inputBorderRadius:4},Ta=Ca,ka={base:"light",colorPrimary:"#FF4785",colorSecondary:"#029CFD",appBg:q.app,appContentBg:y.lightest,appPreviewBg:y.lightest,appBorderColor:y.border,appBorderRadius:4,fontBase:W.fonts.base,fontCode:W.fonts.mono,textColor:y.darkest,textInverseColor:y.lightest,textMutedColor:y.dark,barTextColor:y.mediumdark,barHoverColor:y.secondary,barSelectedColor:y.secondary,barBg:y.lightest,buttonBg:q.app,buttonBorder:y.medium,booleanBg:y.mediumlight,booleanSelectedBg:y.lightest,inputBg:y.lightest,inputBorder:y.border,inputTextColor:y.darkest,inputBorderRadius:4},Te=ka,Sa=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();const{logger:Aa}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var{window:Xe}=Sa,Ra=o(e=>({color:e}),"mkColor"),Fa=o(e=>typeof e!="string"?(Aa.warn(`Color passed to theme object should be a string. Instead ${e}(${typeof e}) was passed.`),!1):!0,"isColorString"),Ia=o(e=>!/(gradient|var|calc)/.test(e),"isValidColorForPolished"),ja=o((e,t)=>e==="darken"?re(`${ya(1,t)}`,.95):e==="lighten"?re(`${va(1,t)}`,.95):t,"applyPolished"),Gr=o(e=>t=>{if(!Fa(t)||!Ia(t))return t;try{return ja(e,t)}catch{return t}},"colorFactory"),io=Gr("lighten");Gr("darken");var qr=o(()=>!Xe||!Xe.matchMedia?"light":Xe.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light","getPreferredColorScheme"),Pa={light:Te,dark:Ta,normal:Te};qr();var La={rubber:"cubic-bezier(0.175, 0.885, 0.335, 1.05)"},Na=Ne` from { transform: rotate(0deg); } @@ -178,20 +178,20 @@ To pass a single animation please supply them in simple values, e.g. animation(' `,Wr=Ne` 0%, 100% { opacity: 1; } 50% { opacity: .4; } -`,Mn=Ne` +`,Ma=Ne` 0% { transform: translateY(1px); } 25% { transform: translateY(0px); } 50% { transform: translateY(-3px); } 100% { transform: translateY(1px); } -`,Bn=Ne` +`,Ba=Ne` 0%, 100% { transform:translate3d(0,0,0); } 12.5%, 62.5% { transform:translate3d(-4px,0,0); } 37.5%, 87.5% { transform: translate3d(4px,0,0); } -`,zn=Le` +`,za=Le` animation: ${Wr} 1.5s ease-in-out infinite; color: transparent; cursor: progress; -`,Dn=Le` +`,Da=Le` transition: all 150ms ease-out; transform: translate3d(0, 0, 0); @@ -202,13 +202,13 @@ To pass a single animation please supply them in simple values, e.g. animation(' &:active { transform: translate3d(0, 0, 0); } -`,$n={rotate360:Nn,glow:Wr,float:Mn,jiggle:Bn,inlineGlow:zn,hoverable:Dn},Hn={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"rgb(36, 36, 36)",BASE_COLOR:"rgb(213, 213, 213)",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(227, 110, 236)",OBJECT_VALUE_NULL_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(127, 127, 127)",OBJECT_VALUE_REGEXP_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_STRING_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(233, 63, 59)",OBJECT_VALUE_NUMBER_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_BOOLEAN_COLOR:"hsl(252, 100%, 75%)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(85, 106, 242)",HTML_TAG_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_COLOR:"rgb(93, 176, 215)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(155, 187, 220)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(242, 151, 102)",HTML_COMMENT_COLOR:"rgb(137, 137, 137)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"rgb(145, 145, 145)",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"rgb(85, 85, 85)",TABLE_TH_BACKGROUND_COLOR:"rgb(44, 44, 44)",TABLE_TH_HOVER_COLOR:"rgb(48, 48, 48)",TABLE_SORT_ICON_COLOR:"black",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, 0) 50%, rgba(51, 139, 255, 0.0980392) 50%, rgba(51, 139, 255, 0.0980392))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Un={BASE_FONT_FAMILY:"Menlo, monospace",BASE_FONT_SIZE:"11px",BASE_LINE_HEIGHT:1.2,BASE_BACKGROUND_COLOR:"white",BASE_COLOR:"black",OBJECT_PREVIEW_ARRAY_MAX_PROPERTIES:10,OBJECT_PREVIEW_OBJECT_MAX_PROPERTIES:5,OBJECT_NAME_COLOR:"rgb(136, 19, 145)",OBJECT_VALUE_NULL_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_UNDEFINED_COLOR:"rgb(128, 128, 128)",OBJECT_VALUE_REGEXP_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_STRING_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_SYMBOL_COLOR:"rgb(196, 26, 22)",OBJECT_VALUE_NUMBER_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_BOOLEAN_COLOR:"rgb(28, 0, 207)",OBJECT_VALUE_FUNCTION_PREFIX_COLOR:"rgb(13, 34, 170)",HTML_TAG_COLOR:"rgb(168, 148, 166)",HTML_TAGNAME_COLOR:"rgb(136, 18, 128)",HTML_TAGNAME_TEXT_TRANSFORM:"lowercase",HTML_ATTRIBUTE_NAME_COLOR:"rgb(153, 69, 0)",HTML_ATTRIBUTE_VALUE_COLOR:"rgb(26, 26, 166)",HTML_COMMENT_COLOR:"rgb(35, 110, 37)",HTML_DOCTYPE_COLOR:"rgb(192, 192, 192)",ARROW_COLOR:"#6e6e6e",ARROW_MARGIN_RIGHT:3,ARROW_FONT_SIZE:12,ARROW_ANIMATION_DURATION:"0",TREENODE_FONT_FAMILY:"Menlo, monospace",TREENODE_FONT_SIZE:"11px",TREENODE_LINE_HEIGHT:1.2,TREENODE_PADDING_LEFT:12,TABLE_BORDER_COLOR:"#aaa",TABLE_TH_BACKGROUND_COLOR:"#eee",TABLE_TH_HOVER_COLOR:"hsla(0, 0%, 90%, 1)",TABLE_SORT_ICON_COLOR:"#6e6e6e",TABLE_DATA_BACKGROUND_IMAGE:"linear-gradient(to bottom, white, white 50%, rgb(234, 243, 255) 50%, rgb(234, 243, 255))",TABLE_DATA_BACKGROUND_SIZE:"128px 32px"},Gn=o(e=>Object.entries(e).reduce((t,[r,a])=>({...t,[r]:Rn(a)}),{}),"convertColors"),qn=o(({colors:e,mono:t})=>{let r=Gn(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),Wn={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},Yn={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Vn=o(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:y.tertiary,ancillary:y.ancillary,orange:y.orange,gold:y.gold,green:y.green,seafoam:y.seafoam,purple:y.purple,ultraviolet:y.ultraviolet,lightest:y.lightest,lighter:y.lighter,light:y.light,mediumlight:y.mediumlight,medium:y.medium,mediumdark:y.mediumdark,dark:y.dark,darker:y.darker,darkest:y.darkest,border:y.border,positive:y.positive,negative:y.negative,warning:y.warning,critical:y.critical,defaultText:e.textColor||y.darkest,inverseText:e.textInverseColor||y.lightest,positiveText:y.positiveText,negativeText:y.negativeText,warningText:y.warningText}),"createColors"),tr=o((e=Pn[qr()])=>{let{base:t,colorPrimary:r,colorSecondary:a,appBg:n,appContentBg:i,appPreviewBg:s,appBorderColor:l,appBorderRadius:u,fontBase:c,fontCode:d,textColor:p,textInverseColor:b,barTextColor:h,barHoverColor:f,barSelectedColor:m,barBg:_,buttonBg:v,buttonBorder:w,booleanBg:T,booleanSelectedBg:S,inputBg:E,inputBorder:A,inputTextColor:O,inputBorderRadius:L,brandTitle:N,brandUrl:U,brandImage:Me,brandTarget:Be,gridCellSize:ze,...De}=e;return{...De,base:t,color:Vn(e),background:{app:n,bar:_,content:i,preview:s,gridCellSize:ze||q.gridCellSize,hoverable:q.hoverable,positive:q.positive,negative:q.negative,warning:q.warning,critical:q.critical},typography:{fonts:{base:c,mono:d},weight:W.weight,size:W.size},animation:$n,easing:Ln,input:{background:E,border:A,borderRadius:L,color:O},button:{background:v||E,border:w||A},boolean:{background:T||A,selectedBackground:S||E},layoutMargin:10,appBorderColor:l,appBorderRadius:u,barTextColor:h,barHoverColor:f||a,barSelectedColor:m||a,barBg:_,brand:{title:N,url:U,image:Me||(N?null:void 0),target:Be},code:qn({colors:t==="light"?Wn:Yn,mono:d}),addonActionsTheme:{...t==="light"?Un:Hn,BASE_FONT_FAMILY:d,BASE_FONT_SIZE:W.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:p,ARROW_COLOR:On(.2,l),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:d,TREENODE_FONT_SIZE:W.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:Jn}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Xn=o(e=>Object.keys(e).length===0,"isEmpty"),Ze=o(e=>e!=null&&typeof e=="object","isObject"),Zn=o((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),Kn=o(()=>Object.create(null),"makeObjectWithoutPrototype"),Yr=o((e,t)=>e===t||!Ze(e)||!Ze(t)?{}:Object.keys(e).reduce((r,a)=>{if(Zn(t,a)){let n=Yr(e[a],t[a]);return Ze(n)&&Xn(n)||(r[a]=n),r}return r[a]=void 0,r},Kn()),"deletedDiff"),Qn=Yr;function Vr(e){for(var t=[],r=1;rObject.entries(e).reduce((t,[r,n])=>({...t,[r]:Ra(n)}),{}),"convertColors"),qa=o(({colors:e,mono:t})=>{let r=Ga(e);return{token:{fontFamily:t,WebkitFontSmoothing:"antialiased","&.tag":r.red3,"&.comment":{...r.green1,fontStyle:"italic"},"&.prolog":{...r.green1,fontStyle:"italic"},"&.doctype":{...r.green1,fontStyle:"italic"},"&.cdata":{...r.green1,fontStyle:"italic"},"&.string":r.red1,"&.url":r.cyan1,"&.symbol":r.cyan1,"&.number":r.cyan1,"&.boolean":r.cyan1,"&.variable":r.cyan1,"&.constant":r.cyan1,"&.inserted":r.cyan1,"&.atrule":r.blue1,"&.keyword":r.blue1,"&.attr-value":r.blue1,"&.punctuation":r.gray1,"&.operator":r.gray1,"&.function":r.gray1,"&.deleted":r.red2,"&.important":{fontWeight:"bold"},"&.bold":{fontWeight:"bold"},"&.italic":{fontStyle:"italic"},"&.class-name":r.cyan2,"&.selector":r.red3,"&.attr-name":r.red4,"&.property":r.red4,"&.regex":r.red4,"&.entity":r.red4,"&.directive.tag .tag":{background:"#ffff00",...r.gray1}},"language-json .token.boolean":r.blue1,"language-json .token.number":r.blue1,"language-json .token.property":r.cyan2,namespace:{opacity:.7}}},"create"),Wa={green1:"#008000",red1:"#A31515",red2:"#9a050f",red3:"#800000",red4:"#ff0000",gray1:"#393A34",cyan1:"#36acaa",cyan2:"#2B91AF",blue1:"#0000ff",blue2:"#00009f"},Ya={green1:"#7C7C7C",red1:"#92C379",red2:"#9a050f",red3:"#A8FF60",red4:"#96CBFE",gray1:"#EDEDED",cyan1:"#C6C5FE",cyan2:"#FFFFB6",blue1:"#B474DD",blue2:"#00009f"},Va=o(e=>({primary:e.colorPrimary,secondary:e.colorSecondary,tertiary:y.tertiary,ancillary:y.ancillary,orange:y.orange,gold:y.gold,green:y.green,seafoam:y.seafoam,purple:y.purple,ultraviolet:y.ultraviolet,lightest:y.lightest,lighter:y.lighter,light:y.light,mediumlight:y.mediumlight,medium:y.medium,mediumdark:y.mediumdark,dark:y.dark,darker:y.darker,darkest:y.darkest,border:y.border,positive:y.positive,negative:y.negative,warning:y.warning,critical:y.critical,defaultText:e.textColor||y.darkest,inverseText:e.textInverseColor||y.lightest,positiveText:y.positiveText,negativeText:y.negativeText,warningText:y.warningText}),"createColors"),tr=o((e=Pa[qr()])=>{let{base:t,colorPrimary:r,colorSecondary:n,appBg:a,appContentBg:i,appPreviewBg:s,appBorderColor:l,appBorderRadius:c,fontBase:u,fontCode:d,textColor:f,textInverseColor:b,barTextColor:h,barHoverColor:p,barSelectedColor:m,barBg:_,buttonBg:v,buttonBorder:w,booleanBg:T,booleanSelectedBg:S,inputBg:E,inputBorder:A,inputTextColor:O,inputBorderRadius:L,brandTitle:N,brandUrl:U,brandImage:Me,brandTarget:Be,gridCellSize:ze,...De}=e;return{...De,base:t,color:Va(e),background:{app:a,bar:_,content:i,preview:s,gridCellSize:ze||q.gridCellSize,hoverable:q.hoverable,positive:q.positive,negative:q.negative,warning:q.warning,critical:q.critical},typography:{fonts:{base:u,mono:d},weight:W.weight,size:W.size},animation:$a,easing:La,input:{background:E,border:A,borderRadius:L,color:O},button:{background:v||E,border:w||A},boolean:{background:T||A,selectedBackground:S||E},layoutMargin:10,appBorderColor:l,appBorderRadius:c,barTextColor:h,barHoverColor:p||n,barSelectedColor:m||n,barBg:_,brand:{title:N,url:U,image:Me||(N?null:void 0),target:Be},code:qa({colors:t==="light"?Wa:Ya,mono:d}),addonActionsTheme:{...t==="light"?Ua:Ha,BASE_FONT_FAMILY:d,BASE_FONT_SIZE:W.size.s2-1,BASE_LINE_HEIGHT:"18px",BASE_BACKGROUND_COLOR:"transparent",BASE_COLOR:f,ARROW_COLOR:Oa(.2,l),ARROW_MARGIN_RIGHT:4,ARROW_FONT_SIZE:8,TREENODE_FONT_FAMILY:d,TREENODE_FONT_SIZE:W.size.s2-1,TREENODE_LINE_HEIGHT:"18px",TREENODE_PADDING_LEFT:12}}},"convert");const{logger:Ja}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var Xa=o(e=>Object.keys(e).length===0,"isEmpty"),Ze=o(e=>e!=null&&typeof e=="object","isObject"),Za=o((e,...t)=>Object.prototype.hasOwnProperty.call(e,...t),"hasOwnProperty"),Ka=o(()=>Object.create(null),"makeObjectWithoutPrototype"),Yr=o((e,t)=>e===t||!Ze(e)||!Ze(t)?{}:Object.keys(e).reduce((r,n)=>{if(Za(t,n)){let a=Yr(e[n],t[n]);return Ze(a)&&Xa(a)||(r[n]=a),r}return r[n]=void 0,r},Ka()),"deletedDiff"),Qa=Yr;function Vr(e){for(var t=[],r=1;r{if(!e)return tr(Te);let t=Qn(Te,e);return Object.keys(t).length&&Jn.warn(Vr` +`)),s+=f+n[c+1]}),s}o(Vr,"dedent");var so=o(e=>{if(!e)return tr(Te);let t=Qa(Te,e);return Object.keys(t).length&&Ja.warn(Vr` Your theme is missing properties, you should update your theme! theme-data missing: - `,t),tr(e)},"ensure"),lo="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";export{ao as F,W as H,no as M,Pn as N,Qt as T,y as a,Ne as b,oo as c,lo as g,ro as j,so as p,aa as r,ma as s,io as y,tr as z}; + `,t),tr(e)},"ensure"),lo="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */";export{W as H,no as M,Pa as N,Qt as T,y as a,Ne as b,ao as c,oo as d,lo as g,ro as j,so as p,nn as r,hn as s,io as y,tr as z}; diff --git a/docs/assets/index-DrFu-skq.js b/docs/assets/index-DrFu-skq.js deleted file mode 100644 index 37c96b4..0000000 --- a/docs/assets/index-DrFu-skq.js +++ /dev/null @@ -1,6 +0,0 @@ -function l(o){for(var f=[],i=1;it.startsWith(e)?{type:e,text:e}:null}function h(e){let t=0,r;const s=e[0];let l=!1;if(s!=="'"&&s!=='"')return null;for(;t{const t=oe(e);return t==null?null:{type:"Identifier",text:t}};function P(e){return t=>{if(!t.startsWith(e))return null;const r=t[e.length];return r!==void 0&&N.test(r)?null:{type:e,text:e}}}const se=e=>{const t=h(e);return t==null?null:{type:"StringValue",text:t}},Vt=e=>e.length>0?null:{type:"EOF",text:""},Dt=e=>{const t=X(e);return t===null?null:{type:"Number",text:t}},Kt=[Vt,m("=>"),m("("),m(")"),m("{"),m("}"),m("["),m("]"),m("|"),m("&"),m("<"),m(">"),m(","),m(";"),m("*"),m("?"),m("!"),m("="),m(":"),m("..."),m("."),m("#"),m("~"),m("/"),m("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),P("asserts"),Dt,Q,se],$t=/^\s*\n\s*/;class K{static create(t){const r=this.read(t);t=r.text;const s=this.read(t);return t=s.text,new K(t,void 0,r.token,s.token)}constructor(t,r,s,l){this.text="",this.text=t,this.previous=r,this.current=s,this.next=l}static read(t,r=!1){r=r||$t.test(t),t=t.trim();for(const s of Kt){const l=s(t);if(l!==null){const d=Object.assign(Object.assign({},l),{startOfLine:r});return t=t.slice(d.text.length),{text:t,token:d}}}throw new Error("Unexpected Token "+t)}advance(){const t=K.read(this.text);return new K(t.text,this.current,this.next,t.token)}}function w(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new y(e);return e}function ie(e){return e.type==="JsdocTypeKeyValue"?H(e):w(e)}function qt(e){return e.type==="JsdocTypeName"?e:H(e)}function H(e){if(e.type!=="JsdocTypeKeyValue")throw new y(e);return e}function Bt(e){var t;if(e.type==="JsdocTypeVariadic"){if(((t=e.element)===null||t===void 0?void 0:t.type)==="JsdocTypeName")return e;throw new y(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new y(e);return e}function ce(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var f;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(f||(f={}));class U{constructor(t,r,s){this.grammar=t,typeof r=="string"?this._lexer=K.create(r):this._lexer=r,this.baseParser=s}get lexer(){return this._lexer}parse(){const t=this.parseType(f.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return t}parseType(t){return w(this.parseIntermediateType(t))}parseIntermediateType(t){const r=this.tryParslets(null,t);if(r===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(r,t)}parseInfixIntermediateType(t,r){let s=this.tryParslets(t,r);for(;s!==null;)t=s,s=this.tryParslets(t,r);return t}tryParslets(t,r){for(const s of this.grammar){const l=s(this,r,t);if(l!==null)return l}return null}consume(t){return Array.isArray(t)||(t=[t]),t.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(t){this._lexer=t.lexer}}function Ae(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const le=(e,t,r)=>{const s=e.lexer.current.type,l=e.lexer.next.type;return r==null&&s==="?"&&!Ae(l)||r!=null&&s==="?"?(e.consume("?"),r==null?{type:"JsdocTypeNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:w(r),meta:{position:"suffix"}}):null};function g(e){const t=(r,s,l)=>{const d=r.lexer.current.type,T=r.lexer.next.type;if(l===null){if("parsePrefix"in e&&e.accept(d,T))return e.parsePrefix(r)}else if("parseInfix"in e&&e.precedence>s&&e.accept(d,T))return e.parseInfix(r,l);return null};return Object.defineProperty(t,"name",{value:e.name}),t}const z=g({name:"optionalParslet",accept:e=>e==="=",precedence:f.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(f.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("="),{type:"JsdocTypeOptional",element:w(t),meta:{position:"suffix"}})}),Z=g({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const t=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:t}}}),Mt=g({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const t=e.parseIntermediateType(f.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return t.type==="JsdocTypeParameterList"?t:t.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[t]}:{type:"JsdocTypeParenthesis",element:w(t)}}}),Ct=g({name:"specialTypesParslet",accept:(e,t)=>e==="?"&&Ae(t)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),Yt=g({name:"notNullableParslet",accept:e=>e==="!",precedence:f.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:w(t),meta:{position:"suffix"}})});function Gt({allowTrailingComma:e}){return g({name:"parameterListParslet",accept:t=>t===",",precedence:f.PARAMETER_LIST,parseInfix:(t,r)=>{const s=[ie(r)];t.consume(",");do try{const l=t.parseIntermediateType(f.PARAMETER_LIST);s.push(ie(l))}catch(l){if(e&&l instanceof p)break;throw l}while(t.consume(","));if(s.length>0&&s.slice(0,-1).some(l=>l.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:s}}})}const Wt=g({name:"genericParslet",accept:(e,t)=>e==="<"||e==="."&&t==="<",precedence:f.GENERIC,parseInfix:(e,t)=>{const r=e.consume(".");e.consume("<");const s=[];do s.push(e.parseType(f.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:w(t),elements:s,meta:{brackets:"angle",dot:r}}}}),Xt=g({name:"unionParslet",accept:e=>e==="|",precedence:f.UNION,parseInfix:(e,t)=>{e.consume("|");const r=[];do r.push(e.parseType(f.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[w(t),...r]}}}),pe=[le,z,Z,Mt,Ct,Yt,Gt({allowTrailingComma:!0}),Wt,Xt,z];function ee({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:r}){return function(l,d,T){if(T==null||d>=f.NAME_PATH)return null;const J=l.lexer.current.type,x=l.lexer.next.type;if(!(J==="."&&x!=="<"||J==="["&&(e||T.type==="JsdocTypeName")||t&&(J==="~"||J==="#")))return null;let k,re=!1;l.consume(".")?k="property":l.consume("[")?(k="property-brackets",re=!0):l.consume("~")?k="inner":(l.consume("#"),k="instance");const $e=r!==null?new U(r,l.lexer,l):l,O=$e.parseIntermediateType(f.NAME_PATH);l.acceptLexerState($e);let B;switch(O.type){case"JsdocTypeName":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":B={type:"JsdocTypeProperty",value:O.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:O.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(O.specialType==="event")B=O;else throw new y(O,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new y(O,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(re&&!l.consume("]")){const qe=l.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${qe.type}' with text '${qe.text}'`)}return{type:"JsdocTypeNamePath",left:w(T),right:B,pathType:k}}}function I({allowedAdditionalTokens:e}){return g({name:"nameParslet",accept:t=>t==="Identifier"||t==="this"||t==="new"||e.includes(t),parsePrefix:t=>{const{type:r,text:s}=t.lexer.current;return t.consume(r),{type:"JsdocTypeName",value:s}}})}const $=g({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const t=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:t.slice(1,-1),meta:{quote:t[0]==="'"?"single":"double"}}}});function te({pathGrammar:e,allowedTypes:t}){return g({name:"specialNamePathParslet",accept:r=>t.includes(r),parsePrefix:r=>{const s=r.lexer.current.type;if(r.consume(s),!r.consume(":"))return{type:"JsdocTypeName",value:s};let l,d=r.lexer.current;if(r.consume("StringValue"))l={type:"JsdocTypeSpecialNamePath",value:d.text.slice(1,-1),specialType:s,meta:{quote:d.text[0]==="'"?"single":"double"}};else{let x="";const v=["Identifier","@","/"];for(;v.some(k=>r.consume(k));)x+=d.text,d=r.lexer.current;l={type:"JsdocTypeSpecialNamePath",value:x,specialType:s,meta:{quote:void 0}}}const T=new U(e,r.lexer,r),J=T.parseInfixIntermediateType(l,f.ALL);return r.acceptLexerState(T),w(J)}})}const Re=[I({allowedAdditionalTokens:["external","module"]}),$,Z,ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],V=[...Re,te({allowedTypes:["event"],pathGrammar:Re})];function ue(e){let t;if(e.type==="JsdocTypeParameterList")t=e.elements;else if(e.type==="JsdocTypeParenthesis")t=[e.element];else throw new y(e);return t.map(r=>ie(r))}function Qt(e){const t=ue(e);if(t.some(r=>r.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return t}function ye({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:r,allowNewAsFunctionKeyword:s}){return g({name:"functionParslet",accept:(l,d)=>l==="function"||s&&l==="new"&&d==="(",parsePrefix:l=>{const d=l.consume("new");l.consume("function");const T=l.lexer.current.type==="(";if(!T){if(!r)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let J={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:d,parenthesis:T};const x=l.parseIntermediateType(f.FUNCTION);if(e===void 0)J.parameters=Qt(x);else{if(d&&x.type==="JsdocTypeFunction"&&x.arrow)return J=x,J.constructor=!0,J;J.parameters=ue(x);for(const v of J.parameters)if(v.type==="JsdocTypeKeyValue"&&!e.includes(v.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${v.type}`)}if(l.consume(":"))J.returnType=l.parseType(f.PREFIX);else if(!t)throw new Error("function is missing return type");return J}})}function de({allowPostfix:e,allowEnclosingBrackets:t}){return g({name:"variadicParslet",accept:r=>r==="...",precedence:f.PREFIX,parsePrefix:r=>{r.consume("...");const s=t&&r.consume("[");try{const l=r.parseType(f.PREFIX);if(s&&!r.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:w(l),meta:{position:"prefix",squareBrackets:s}}}catch(l){if(l instanceof p){if(s)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw l}},parseInfix:e?(r,s)=>(r.consume("..."),{type:"JsdocTypeVariadic",element:w(s),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const _e=g({name:"symbolParslet",accept:e=>e==="(",precedence:f.SYMBOL,parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const r={type:"JsdocTypeSymbol",value:t.value};if(!e.consume(")")){const s=e.parseIntermediateType(f.SYMBOL);if(r.element=Bt(s),!e.consume(")"))throw new Error("Symbol does not end after value")}return r}}),Fe=g({name:"arrayBracketsParslet",precedence:f.ARRAY_BRACKETS,accept:(e,t)=>e==="["&&t==="]",parseInfix:(e,t)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[w(t)],meta:{brackets:"square",dot:!1}})});function me({objectFieldGrammar:e,allowKeyTypes:t}){return g({name:"objectParslet",accept:r=>r==="{",parsePrefix:r=>{r.consume("{");const s={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!r.consume("}")){let l;const d=new U(e,r.lexer,r);for(;;){d.acceptLexerState(r);let T=d.parseIntermediateType(f.OBJECT);r.acceptLexerState(d),T===void 0&&t&&(T=r.parseIntermediateType(f.OBJECT));let J=!1;if(T.type==="JsdocTypeNullable"&&(J=!0,T=T.element),T.type==="JsdocTypeNumber"||T.type==="JsdocTypeName"||T.type==="JsdocTypeStringValue"){let v;T.type==="JsdocTypeStringValue"&&(v=T.meta.quote),s.elements.push({type:"JsdocTypeObjectField",key:T.value.toString(),right:void 0,optional:J,readonly:!1,meta:{quote:v}})}else if(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")s.elements.push(T);else throw new y(T);if(r.lexer.current.startOfLine)l="linebreak";else if(r.consume(","))l="comma";else if(r.consume(";"))l="semicolon";else break;if(r.lexer.current.type==="}")break}if(s.meta.separator=l??"comma",!r.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return s}})}function fe({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:r,allowOptional:s}){return g({name:"objectFieldParslet",precedence:f.KEY_VALUE,accept:l=>l===":",parseInfix:(l,d)=>{var T;let J=!1,x=!1;s&&d.type==="JsdocTypeNullable"&&(J=!0,d=d.element),r&&d.type==="JsdocTypeReadonlyProperty"&&(x=!0,d=d.element);const v=(T=l.baseParser)!==null&&T!==void 0?T:l;if(v.acceptLexerState(l),d.type==="JsdocTypeNumber"||d.type==="JsdocTypeName"||d.type==="JsdocTypeStringValue"||ce(d)){if(ce(d)&&!e)throw new y(d);v.consume(":");let k;d.type==="JsdocTypeStringValue"&&(k=d.meta.quote);const re=v.parseType(f.KEY_VALUE);return l.acceptLexerState(v),{type:"JsdocTypeObjectField",key:ce(d)?d:d.value.toString(),right:re,optional:J,readonly:x,meta:{quote:k}}}else{if(!t)throw new y(d);v.consume(":");const k=v.parseType(f.KEY_VALUE);return l.acceptLexerState(v),{type:"JsdocTypeJsdocObjectField",left:w(d),right:k}}}})}function Te({allowOptional:e,allowVariadic:t}){return g({name:"keyValueParslet",precedence:f.KEY_VALUE,accept:r=>r===":",parseInfix:(r,s)=>{let l=!1,d=!1;if(e&&s.type==="JsdocTypeNullable"&&(l=!0,s=s.element),t&&s.type==="JsdocTypeVariadic"&&s.element!==void 0&&(d=!0,s=s.element),s.type!=="JsdocTypeName")throw new y(s);r.consume(":");const T=r.parseType(f.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:s.value,right:T,optional:l,variadic:d}}})}const Le=[...pe,ye({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,te({allowedTypes:["module","external","event"],pathGrammar:V}),de({allowEnclosingBrackets:!0,allowPostfix:!0}),I({allowedAdditionalTokens:["keyof"]}),_e,Fe,ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V})],Ht=[...Le,me({objectFieldGrammar:[I({allowedAdditionalTokens:["module","in"]}),fe({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Le],allowKeyTypes:!0}),Te({allowOptional:!0,allowVariadic:!0})],je=g({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),zt=[I({allowedAdditionalTokens:["module","keyof","event","external","in"]}),le,z,$,Z,fe({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Zt=[...pe,me({allowKeyTypes:!1,objectFieldGrammar:zt}),I({allowedAdditionalTokens:["event","external","in"]}),je,ye({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),de({allowEnclosingBrackets:!1,allowPostfix:!1}),I({allowedAdditionalTokens:["keyof"]}),te({allowedTypes:["module"],pathGrammar:V}),ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V}),Te({allowOptional:!1,allowVariadic:!1}),_e],en=g({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const t=e.parseIntermediateType(f.SYMBOL);if(t.type!=="JsdocTypeName")throw new y(t,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:t,right:w(e.parseIntermediateType(f.INFIX))}}});function tn({allowQuestionMark:e}){return g({name:"tupleParslet",accept:t=>t==="[",parsePrefix:t=>{t.consume("[");const r={type:"JsdocTypeTuple",elements:[]};if(t.consume("]"))return r;const s=t.parseIntermediateType(f.ALL);if(s.type==="JsdocTypeParameterList"?s.elements[0].type==="JsdocTypeKeyValue"?r.elements=s.elements.map(H):r.elements=s.elements.map(w):s.type==="JsdocTypeKeyValue"?r.elements=[H(s)]:r.elements=[w(s)],!t.consume("]"))throw new Error("Unterminated '['");if(!e&&r.elements.some(l=>l.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return r}})}const nn=g({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),rn=g({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const t=e.parseType(f.PREFIX);if(t.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:t}}}),an=g({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(f.KEY_VALUE)})}),on=g({name:"arrowFunctionParslet",precedence:f.ARROW,accept:e=>e==="=>",parseInfix:(e,t)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:ue(t).map(qt),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(f.OBJECT)})}),sn=g({name:"intersectionParslet",accept:e=>e==="&",precedence:f.INTERSECTION,parseInfix:(e,t)=>{e.consume("&");const r=[];do r.push(e.parseType(f.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[w(t),...r]}}}),cn=g({name:"predicateParslet",precedence:f.INFIX,accept:e=>e==="is",parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new y(t,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:t,right:w(e.parseIntermediateType(f.INFIX))}}}),ln=g({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const t=e.lexer.current.text;e.consume("Identifier");let r;if(e.consume(":")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeIndexSignature",key:t,right:s.parseType(f.INDEX_BRACKETS)},e.acceptLexerState(s)}else if(e.consume("in")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeMappedType",key:t,right:s.parseType(f.ARRAY_BRACKETS)},e.acceptLexerState(s)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return r}}),pn=[an,I({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),le,z,$,Z,fe({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),ln],un=[...pe,me({allowKeyTypes:!1,objectFieldGrammar:pn}),je,nn,rn,$,ye({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),tn({allowQuestionMark:!1}),de({allowEnclosingBrackets:!1,allowPostfix:!1}),en,I({allowedAdditionalTokens:["event","external","in"]}),te({allowedTypes:["module"],pathGrammar:V}),Fe,on,ee({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:V}),sn,cn,Te({allowVariadic:!0,allowOptional:!0})];function Ue(e,t){switch(t){case"closure":return new U(Zt,e).parse();case"jsdoc":return new U(Ht,e).parse();case"typescript":return new U(un,e).parse()}}function yn(e,t=["typescript","closure","jsdoc"]){let r;for(const s of t)try{return Ue(e,s)}catch(l){r=l}throw r}function q(e,t){const r=e[t.type];if(r===void 0)throw new Error(`In this set of transform rules exists no rule for type ${t.type}.`);return r(t,s=>q(e,s))}function S(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ve(e){const t={params:[]};for(const r of e.parameters)r.type==="JsdocTypeKeyValue"?r.key==="this"?t.this=r.right:r.key==="new"?t.new=r.right:t.params.push(r):t.params.push(r);return t}function ne(e,t,r){return e==="prefix"?r+t:t+r}function A(e,t){switch(t){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function De(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element!==void 0?t(e.element):""})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let r=`(${e.parameters.map(t).join(", ")}) => ${t(e.returnType)}`;return e.constructor&&(r="new "+r),r}else{let r=e.constructor?"new":"function";return e.parenthesis&&(r+=`(${e.parameters.map(t).join(", ")})`,e.returnType!==void 0&&(r+=`: ${t(e.returnType)}`)),r}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(", ")}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?"...":ne(e.meta.position,t(e.element),"..."),JsdocTypeNamePath:(e,t)=>{const r=t(e.left),s=t(e.right);switch(e.pathType){case"inner":return`${r}~${s}`;case"instance":return`${r}#${s}`;case"property":return`${r}.${s}`;case"property-brackets":return`${r}[${s}]`}},JsdocTypeStringValue:e=>A(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets==="square"){const r=e.elements[0],s=t(r);return r.type==="JsdocTypeUnion"||r.type==="JsdocTypeIntersection"?`(${s})[]`:`${s}[]`}else return`${t(e.left)}${e.meta.dot?".":""}<${e.elements.map(t).join(", ")}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let r="";return e.readonly&&(r+="readonly "),typeof e.key=="string"?r+=A(e.key,e.meta.quote):r+=t(e.key),e.optional&&(r+="?"),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let r=e.key;return e.optional&&(r+="?"),e.variadic&&(r="..."+r),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${A(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>ne(e.meta.position,t(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,t)=>ne(e.meta.position,t(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${e.elements.map(t).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,t)=>ne(e.meta.position,t(e.element),"="),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element!==void 0?t(e.element):""})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,t)=>e.elements.map(t).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(" & "),JsdocTypeProperty:e=>A(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`}}const dn=De();function mn(e){return q(dn,e)}const fn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function R(e){const t={type:"NameExpression",name:e};return fn.includes(e)&&(t.reservedWord=!0),t}const Tn={JsdocTypeOptional:(e,t)=>{const r=t(e.element);return r.optional=!0,r},JsdocTypeNullable:(e,t)=>{const r=t(e.element);return r.nullable=!0,r},JsdocTypeNotNullable:(e,t)=>{const r=t(e.element);return r.nullable=!1,r},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const r=t(e.element);return r.repeatable=!0,r},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>R(A(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:"FunctionType",params:r.params.map(t)};return r.this!==void 0&&(s.this=t(r.this)),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.result=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>({type:"TypeApplication",applications:e.elements.map(r=>t(r)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>R(e.specialType+":"+A(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?R(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>R(e.value.toString()),JsdocTypeObject:(e,t)=>{const r={type:"RecordType",fields:[]};for(const s of e.elements)s.type!=="JsdocTypeObjectField"&&s.type!=="JsdocTypeJsdocObjectField"?r.fields.push({type:"FieldType",key:t(s),value:void 0}):r.fields.push(t(s));return r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:R(A(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:"FieldType",key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:"TypeUnion",elements:e.elements.map(r=>t(r))}),JsdocTypeKeyValue:(e,t)=>({type:"FieldType",key:R(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{const r=t(e.left);let s;e.right.type==="JsdocTypeSpecialNamePath"?s=t(e.right).name:s=A(e.right.value,e.right.meta.quote);const l=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return R(`${r.name}${l}${s}`)},JsdocTypeSymbol:e=>{let t="",r=e.element,s=!1;return(r==null?void 0:r.type)==="JsdocTypeVariadic"&&(r.meta.position==="prefix"?t="...":s=!0,r=r.element),(r==null?void 0:r.type)==="JsdocTypeName"?t+=r.value:(r==null?void 0:r.type)==="JsdocTypeNumber"&&(t+=r.value.toString()),s&&(t+="..."),R(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(w(e.element)),JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeImport:S,JsdocTypeKeyof:S,JsdocTypeTuple:S,JsdocTypeTypeof:S,JsdocTypeIntersection:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeAsserts:S};function hn(e){return q(Tn,e)}function L(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function gn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function he(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:he(e,t.slice(1))}}const Jn={JsdocTypeOptional:(e,t)=>({type:"OPTIONAL",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,t)=>({type:"NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,t)=>({type:"NOT_NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,t)=>{const r={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(r.value=t(e.element)),r},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,t)=>({type:"TYPE_QUERY",name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:"TUPLE",entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:"KEY_QUERY",value:t(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:L(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:e.arrow?"ARROW":"FUNCTION",params:r.params.map(l=>{if(l.type==="JsdocTypeKeyValue"){if(l.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:l.key,typeName:t(l.right)}}else return t(l)}),new:null,returns:null};return r.this!==void 0?s.this=t(r.this):e.arrow||(s.this=null),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.returns=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>{const r={type:"GENERIC",subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(r.objects[0]={type:"NAME",name:"function"}),r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:L(e.meta.quote),value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:L(e.meta.quote),value:r,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:r,readonly:!1}},JsdocTypeObject:(e,t)=>{const r=[];for(const s of e.elements)(s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField")&&r.push(t(s));return{type:"RECORD",entries:r}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:L(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let r=!1,s,l;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(r=!0,s=e.right.value,l=L(e.right.meta.quote)):(s=e.right.value,l=L(e.right.meta.quote));const d={type:gn(e.pathType),owner:t(e.left),name:s,quoteStyle:l,hasEventPrefix:r};if(d.owner.type==="MODULE"){const T=d.owner;return d.owner=d.owner.value,T.value=d,T}else return d},JsdocTypeUnion:(e,t)=>he("UNION",e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:"PARENTHESIS",value:t(w(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:L(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>he("INTERSECTION",e.elements.map(t)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:S,JsdocTypeProperty:S,JsdocTypePredicate:S,JsdocTypeMappedType:S,JsdocTypeIndexSignature:S,JsdocTypeAsserts:S};function wn(e){return q(Jn,e)}function Nn(){return{JsdocTypeIntersection:(e,t)=>({type:"JsdocTypeIntersection",elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:"JsdocTypeGeneric",left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:"JsdocTypeUnion",elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:"JsdocTypeTypeof",element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{const r={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeOptional:(e,t)=>({type:"JsdocTypeOptional",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:"JsdocTypeNotNullable",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:"JsdocTypeJsdocObjectField",left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:"JsdocTypeImport",element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{const r={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeTuple:(e,t)=>({type:"JsdocTypeTuple",elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{const r={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(r.returnType=t(e.returnType)),r},JsdocTypeKeyof:(e,t)=>({type:"JsdocTypeKeyof",element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:"JsdocTypeParenthesis",element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:"JsdocTypePredicate",left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:"JsdocTypeIndexSignature",key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:"JsdocTypeMappedType",key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:"JsdocTypeAsserts",left:t(e.left),right:t(e.right)})}}const Ke={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function ge(e,t,r,s,l){s==null||s(e,t,r);const d=Ke[e.type];for(const T of d){const J=e[T];if(J!==void 0)if(Array.isArray(J))for(const x of J)ge(x,e,T,s,l);else ge(J,e,T,s,l)}l==null||l(e,t,r)}function En(e,t,r){ge(e,void 0,void 0,t,r)}o.catharsisTransform=hn,o.identityTransformRules=Nn,o.jtpTransform=wn,o.parse=Ue,o.stringify=mn,o.stringifyRules=De,o.transform=q,o.traverse=En,o.tryParse=yn,o.visitorKeys=Ke})}(M,M.exports)),M.exports}var Je=Pn(),vn=Object.defineProperty,c=(n,a)=>vn(n,"name",{value:a,configurable:!0});const{UnknownArgTypesError:Sn}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var xn=c(n=>n.name==="literal","isLiteral"),kn=c(n=>n.value.replace(/['|"]/g,""),"toEnumOption"),On=c(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=Y(o.value)}),{name:"object",value:a};default:throw new Sn({type:n,language:"Flow"})}},"convertSig"),Y=c(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"literal":return{...i,name:"other",value:n.value};case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(Y)};case"signature":return{...i,...On(n)};case"union":return(p=n.elements)!=null&&p.every(xn)?{...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(kn)}:{...i,name:a,value:(y=n.elements)==null?void 0:y.map(Y)};case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(Y)};default:return{...i,name:"other",value:a}}},"convert");function Me(n,a){let o={},i=Object.keys(n);for(let p=0;pn.replace(Ce,""),"trimQuotes"),An=c(n=>Ce.test(n),"includesQuotes"),Ye=c(n=>{let a=In(n);return An(n)||Number.isNaN(Number(a))?a:Number(a)},"parseLiteral"),Rn=/^\(.*\) => /,C=c(n=>{let{name:a,raw:o,computed:i,value:p}=n,u={};switch(typeof o<"u"&&(u.raw=o),a){case"enum":{let m=i?p:p.map(h=>Ye(h.value));return{...u,name:a,value:m}}case"string":case"number":case"symbol":return{...u,name:a};case"func":return{...u,name:"function"};case"bool":case"boolean":return{...u,name:"boolean"};case"arrayOf":case"array":return{...u,name:"array",value:p&&C(p)};case"object":return{...u,name:a};case"objectOf":return{...u,name:a,value:C(p)};case"shape":case"exact":let y=Me(p,m=>C(m));return{...u,name:"object",value:y};case"union":return{...u,name:"union",value:p.map(m=>C(m))};case"instanceOf":case"element":case"elementType":default:{if((a==null?void 0:a.indexOf("|"))>0)try{let b=a.split("|").map(N=>JSON.parse(N));return{...u,name:"enum",value:b}}catch{}let m=p?`${a}(${p})`:a,h=Rn.test(a)?"function":"other";return{...u,name:h,value:m}}}},"convert");const{UnknownArgTypesError:_n}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Fn=c(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=G(o.value)}),{name:"object",value:a};default:throw new _n({type:n,language:"Typescript"})}},"convertSig"),G=c(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(G)};case"signature":return{...i,...Fn(n)};case"union":let h;return(p=n.elements)!=null&&p.every(b=>b.name==="literal")?h={...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(b=>Ye(b.value))}:h={...i,name:a,value:(y=n.elements)==null?void 0:y.map(G)},h;case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(G)};default:return{...i,name:"other",value:a}}},"convert"),we=c(n=>{let{type:a,tsType:o,flowType:i}=n;try{if(a!=null)return C(a);if(o!=null)return G(o);if(i!=null)return Y(i)}catch(p){console.error(p)}return null},"convert"),Ln=(n=>(n.JAVASCRIPT="JavaScript",n.FLOW="Flow",n.TYPESCRIPT="TypeScript",n.UNKNOWN="Unknown",n))(Ln||{}),jn=["null","undefined"];function ae(n){return jn.some(a=>a===n)}c(ae,"isDefaultValueBlacklisted");var Un=c(n=>{if(!n)return"";if(typeof n=="string")return n;throw new Error(`Description: expected string, got: ${JSON.stringify(n)}`)},"str");function Ne(n){return!!n.__docgenInfo}c(Ne,"hasDocgen");function Ge(n){return n!=null&&Object.keys(n).length>0}c(Ge,"isValidDocgenSection");function We(n,a){return Ne(n)?n.__docgenInfo[a]:null}c(We,"getDocgenSection");function Xe(n){return Ne(n)?Un(n.__docgenInfo.description):""}c(Xe,"getDocgenDescription");var _;(function(n){n.start="/**",n.nostart="/***",n.delim="*",n.end="*/"})(_=_||(_={}));function Qe(n){return/^\s+$/.test(n)}c(Qe,"isSpace");function He(n){let a=n.match(/\r+$/);return a==null?["",n]:[n.slice(-a[0].length),n.slice(0,-a[0].length)]}c(He,"splitCR");function j(n){let a=n.match(/^\s+/);return a==null?["",n]:[n.slice(0,a[0].length),n.slice(a[0].length)]}c(j,"splitSpace");function ze(n){return n.split(/\n/)}c(ze,"splitLines");function Ze(n={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},n)}c(Ze,"seedSpec");function et(n={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},n)}c(et,"seedTokens");var Vn=/^@\S+/;function tt({fence:n="```"}={}){let a=nt(n),o=c((i,p)=>a(i)?!p:p,"toggleFence");return c(function(i){let p=[[]],u=!1;for(let y of i)Vn.test(y.tokens.description)&&!u?p.push([y]):p[p.length-1].push(y),u=o(y.tokens.description,u);return p},"parseBlock")}c(tt,"getParser");function nt(n){return typeof n=="string"?a=>a.split(n).length%2===0:n}c(nt,"getFencer");function rt({startLine:n=0,markers:a=_}={}){let o=null,i=n;return c(function(p){let u=p,y=et();if([y.lineEnd,u]=He(u),[y.start,u]=j(u),o===null&&u.startsWith(a.start)&&!u.startsWith(a.nostart)&&(o=[],y.delimiter=u.slice(0,a.start.length),u=u.slice(a.start.length),[y.postDelimiter,u]=j(u)),o===null)return i++,null;let m=u.trimRight().endsWith(a.end);if(y.delimiter===""&&u.startsWith(a.delim)&&!u.startsWith(a.end)&&(y.delimiter=a.delim,u=u.slice(a.delim.length),[y.postDelimiter,u]=j(u)),m){let h=u.trimRight();y.end=u.slice(h.length-a.end.length),u=h.slice(0,-a.end.length)}if(y.description=u,o.push({number:i,source:p,tokens:y}),i++,m){let h=o.slice();return o=null,h}return null},"parseSource")}c(rt,"getParser");function at({tokenizers:n}){return c(function(a){var o;let i=Ze({source:a});for(let p of n)if(i=p(i),!((o=i.problems[i.problems.length-1])===null||o===void 0)&&o.critical)break;return i},"parseSpec")}c(at,"getParser");function ot(){return n=>{let{tokens:a}=n.source[0],o=a.description.match(/\s*(@(\S+))(\s*)/);return o===null?(n.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:n.source[0].number,critical:!0}),n):(a.tag=o[1],a.postTag=o[3],a.description=a.description.slice(o[0].length),n.tag=o[2],n)}}c(ot,"tagTokenizer");function st(n="compact"){let a=it(n);return o=>{let i=0,p=[];for(let[m,{tokens:h}]of o.source.entries()){let b="";if(m===0&&h.description[0]!=="{")return o;for(let N of h.description)if(N==="{"&&i++,N==="}"&&i--,b+=N,i===0)break;if(p.push([h,b]),i===0)break}if(i!==0)return o.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:o.source[0].number,critical:!0}),o;let u=[],y=p[0][0].postDelimiter.length;for(let[m,[h,b]]of p.entries())h.type=b,m>0&&(h.type=h.postDelimiter.slice(y)+b,h.postDelimiter=h.postDelimiter.slice(0,y)),[h.postType,h.description]=j(h.description.slice(b.length)),u.push(h.type);return u[0]=u[0].slice(1),u[u.length-1]=u[u.length-1].slice(0,-1),o.type=a(u),o}}c(st,"typeTokenizer");var Dn=c(n=>n.trim(),"trim");function it(n){return n==="compact"?a=>a.map(Dn).join(""):n==="preserve"?a=>a.join(` -`):n}c(it,"getJoiner");var Kn=c(n=>n&&n.startsWith('"')&&n.endsWith('"'),"isQuoted");function ct(){let n=c((a,{tokens:o},i)=>o.type===""?a:i,"typeEnd");return a=>{let{tokens:o}=a.source[a.source.reduce(n,0)],i=o.description.trimLeft(),p=i.split('"');if(p.length>1&&p[0]===""&&p.length%2===1)return a.name=p[1],o.name=`"${p[1]}"`,[o.postName,o.description]=j(i.slice(o.name.length)),a;let u=0,y="",m=!1,h;for(let N of i){if(u===0&&Qe(N))break;N==="["&&u++,N==="]"&&u--,y+=N}if(u!==0)return a.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:a.source[0].number,critical:!0}),a;let b=y;if(y[0]==="["&&y[y.length-1]==="]"){m=!0,y=y.slice(1,-1);let N=y.split("=");if(y=N[0].trim(),N[1]!==void 0&&(h=N.slice(1).join("=").trim()),y==="")return a.problems.push({code:"spec:name:empty-name",message:"empty name",line:a.source[0].number,critical:!0}),a;if(h==="")return a.problems.push({code:"spec:name:empty-default",message:"empty default value",line:a.source[0].number,critical:!0}),a;if(!Kn(h)&&/=(?!>)/.test(h))return a.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:a.source[0].number,critical:!0}),a}return a.optional=m,a.name=y,o.name=b,h!==void 0&&(a.default=h),[o.postName,o.description]=j(i.slice(o.name.length)),a}}c(ct,"nameTokenizer");function lt(n="compact",a=_){let o=Ee(n);return i=>(i.description=o(i.source,a),i)}c(lt,"descriptionTokenizer");function Ee(n){return n==="compact"?pt:n==="preserve"?ut:n}c(Ee,"getJoiner");function pt(n,a=_){return n.map(({tokens:{description:o}})=>o.trim()).filter(o=>o!=="").join(" ")}c(pt,"compactJoiner");var $n=c((n,{tokens:a},o)=>a.type===""?n:o,"lineNo"),qn=c(({tokens:n})=>(n.delimiter===""?n.start:n.postDelimiter.slice(1))+n.description,"getDescription");function ut(n,a=_){if(n.length===0)return"";n[0].tokens.description===""&&n[0].tokens.delimiter===a.start&&(n=n.slice(1));let o=n[n.length-1];return o!==void 0&&o.tokens.description===""&&o.tokens.end.endsWith(a.end)&&(n=n.slice(0,-1)),n=n.slice(n.reduce($n,0)),n.map(qn).join(` -`)}c(ut,"preserveJoiner");function yt({startLine:n=0,fence:a="```",spacing:o="compact",markers:i=_,tokenizers:p=[ot(),st(o),ct(),lt(o)]}={}){if(n<0||n%1>0)throw new Error("Invalid startLine");let u=rt({startLine:n,markers:i}),y=tt({fence:a}),m=at({tokenizers:p}),h=Ee(o);return function(b){let N=[];for(let oe of ze(b)){let D=u(oe);if(D===null)continue;let X=y(D),Q=X.slice(1).map(m);N.push({description:h(X[0],i),tags:Q,source:D,problems:Q.reduce((P,se)=>P.concat(se.problems),[])})}return N}}c(yt,"getParser");function dt(n){return n.start+n.delimiter+n.postDelimiter+n.tag+n.postTag+n.type+n.postType+n.name+n.postName+n.description+n.end+n.lineEnd}c(dt,"join");function Bn(){return n=>n.source.map(({tokens:a})=>dt(a)).join(` -`)}c(Bn,"getStringifier");function mt(n,a={}){return yt(a)(n)}c(mt,"parse");function ft(n){return n!=null&&n.includes("@")}c(ft,"containsJsDoc");function Tt(n){let a=`/** +var M={exports:{}},bn=M.exports,Be;function Pn(){return Be||(Be=1,function(n,a){(function(o,i){i(a)})(bn,function(o){function i(e){return e.text!==void 0&&e.text!==""?`'${e.type}' with value '${e.text}'`:`'${e.type}'`}class p extends Error{constructor(t){super(`No parslet found for token: ${i(t)}`),this.token=t,Object.setPrototypeOf(this,p.prototype)}getToken(){return this.token}}class u extends Error{constructor(t){super(`The parsing ended early. The next token was: ${i(t)}`),this.token=t,Object.setPrototypeOf(this,u.prototype)}getToken(){return this.token}}class y extends Error{constructor(t,r){let s=`Unexpected type: '${t.type}'.`;r!==void 0&&(s+=` Message: ${r}`),super(s),Object.setPrototypeOf(this,y.prototype)}}function m(e){return t=>t.startsWith(e)?{type:e,text:e}:null}function h(e){let t=0,r;const s=e[0];let c=!1;if(s!=="'"&&s!=='"')return null;for(;t{const t=oe(e);return t==null?null:{type:"Identifier",text:t}};function P(e){return t=>{if(!t.startsWith(e))return null;const r=t[e.length];return r!==void 0&&N.test(r)?null:{type:e,text:e}}}const se=e=>{const t=h(e);return t==null?null:{type:"StringValue",text:t}},Vt=e=>e.length>0?null:{type:"EOF",text:""},Dt=e=>{const t=X(e);return t===null?null:{type:"Number",text:t}},Kt=[Vt,m("=>"),m("("),m(")"),m("{"),m("}"),m("["),m("]"),m("|"),m("&"),m("<"),m(">"),m(","),m(";"),m("*"),m("?"),m("!"),m("="),m(":"),m("..."),m("."),m("#"),m("~"),m("/"),m("@"),P("undefined"),P("null"),P("function"),P("this"),P("new"),P("module"),P("event"),P("external"),P("typeof"),P("keyof"),P("readonly"),P("import"),P("is"),P("in"),P("asserts"),Dt,Q,se],$t=/^\s*\n\s*/;class K{static create(t){const r=this.read(t);t=r.text;const s=this.read(t);return t=s.text,new K(t,void 0,r.token,s.token)}constructor(t,r,s,c){this.text="",this.text=t,this.previous=r,this.current=s,this.next=c}static read(t,r=!1){r=r||$t.test(t),t=t.trim();for(const s of Kt){const c=s(t);if(c!==null){const d=Object.assign(Object.assign({},c),{startOfLine:r});return t=t.slice(d.text.length),{text:t,token:d}}}throw new Error("Unexpected Token "+t)}advance(){const t=K.read(this.text);return new K(t.text,this.current,this.next,t.token)}}function w(e){if(e===void 0)throw new Error("Unexpected undefined");if(e.type==="JsdocTypeKeyValue"||e.type==="JsdocTypeParameterList"||e.type==="JsdocTypeProperty"||e.type==="JsdocTypeReadonlyProperty"||e.type==="JsdocTypeObjectField"||e.type==="JsdocTypeJsdocObjectField"||e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType")throw new y(e);return e}function ie(e){return e.type==="JsdocTypeKeyValue"?H(e):w(e)}function qt(e){return e.type==="JsdocTypeName"?e:H(e)}function H(e){if(e.type!=="JsdocTypeKeyValue")throw new y(e);return e}function Bt(e){var t;if(e.type==="JsdocTypeVariadic"){if(((t=e.element)===null||t===void 0?void 0:t.type)==="JsdocTypeName")return e;throw new y(e)}if(e.type!=="JsdocTypeNumber"&&e.type!=="JsdocTypeName")throw new y(e);return e}function le(e){return e.type==="JsdocTypeIndexSignature"||e.type==="JsdocTypeMappedType"}var f;(function(e){e[e.ALL=0]="ALL",e[e.PARAMETER_LIST=1]="PARAMETER_LIST",e[e.OBJECT=2]="OBJECT",e[e.KEY_VALUE=3]="KEY_VALUE",e[e.INDEX_BRACKETS=4]="INDEX_BRACKETS",e[e.UNION=5]="UNION",e[e.INTERSECTION=6]="INTERSECTION",e[e.PREFIX=7]="PREFIX",e[e.INFIX=8]="INFIX",e[e.TUPLE=9]="TUPLE",e[e.SYMBOL=10]="SYMBOL",e[e.OPTIONAL=11]="OPTIONAL",e[e.NULLABLE=12]="NULLABLE",e[e.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",e[e.FUNCTION=14]="FUNCTION",e[e.ARROW=15]="ARROW",e[e.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",e[e.GENERIC=17]="GENERIC",e[e.NAME_PATH=18]="NAME_PATH",e[e.PARENTHESIS=19]="PARENTHESIS",e[e.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(f||(f={}));class U{constructor(t,r,s){this.grammar=t,typeof r=="string"?this._lexer=K.create(r):this._lexer=r,this.baseParser=s}get lexer(){return this._lexer}parse(){const t=this.parseType(f.ALL);if(this.lexer.current.type!=="EOF")throw new u(this.lexer.current);return t}parseType(t){return w(this.parseIntermediateType(t))}parseIntermediateType(t){const r=this.tryParslets(null,t);if(r===null)throw new p(this.lexer.current);return this.parseInfixIntermediateType(r,t)}parseInfixIntermediateType(t,r){let s=this.tryParslets(t,r);for(;s!==null;)t=s,s=this.tryParslets(t,r);return t}tryParslets(t,r){for(const s of this.grammar){const c=s(this,r,t);if(c!==null)return c}return null}consume(t){return Array.isArray(t)||(t=[t]),t.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(t){this._lexer=t.lexer}}function Ae(e){return e==="EOF"||e==="|"||e===","||e===")"||e===">"}const ce=(e,t,r)=>{const s=e.lexer.current.type,c=e.lexer.next.type;return r==null&&s==="?"&&!Ae(c)||r!=null&&s==="?"?(e.consume("?"),r==null?{type:"JsdocTypeNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:w(r),meta:{position:"suffix"}}):null};function g(e){const t=(r,s,c)=>{const d=r.lexer.current.type,T=r.lexer.next.type;if(c===null){if("parsePrefix"in e&&e.accept(d,T))return e.parsePrefix(r)}else if("parseInfix"in e&&e.precedence>s&&e.accept(d,T))return e.parseInfix(r,c);return null};return Object.defineProperty(t,"name",{value:e.name}),t}const z=g({name:"optionalParslet",accept:e=>e==="=",precedence:f.OPTIONAL,parsePrefix:e=>(e.consume("="),{type:"JsdocTypeOptional",element:e.parseType(f.OPTIONAL),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("="),{type:"JsdocTypeOptional",element:w(t),meta:{position:"suffix"}})}),Z=g({name:"numberParslet",accept:e=>e==="Number",parsePrefix:e=>{const t=parseFloat(e.lexer.current.text);return e.consume("Number"),{type:"JsdocTypeNumber",value:t}}}),Mt=g({name:"parenthesisParslet",accept:e=>e==="(",parsePrefix:e=>{if(e.consume("("),e.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};const t=e.parseIntermediateType(f.ALL);if(!e.consume(")"))throw new Error("Unterminated parenthesis");return t.type==="JsdocTypeParameterList"?t:t.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[t]}:{type:"JsdocTypeParenthesis",element:w(t)}}}),Ct=g({name:"specialTypesParslet",accept:(e,t)=>e==="?"&&Ae(t)||e==="null"||e==="undefined"||e==="*",parsePrefix:e=>{if(e.consume("null"))return{type:"JsdocTypeNull"};if(e.consume("undefined"))return{type:"JsdocTypeUndefined"};if(e.consume("*"))return{type:"JsdocTypeAny"};if(e.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+e.lexer.current.text)}}),Yt=g({name:"notNullableParslet",accept:e=>e==="!",precedence:f.NULLABLE,parsePrefix:e=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:e.parseType(f.NULLABLE),meta:{position:"prefix"}}),parseInfix:(e,t)=>(e.consume("!"),{type:"JsdocTypeNotNullable",element:w(t),meta:{position:"suffix"}})});function Gt({allowTrailingComma:e}){return g({name:"parameterListParslet",accept:t=>t===",",precedence:f.PARAMETER_LIST,parseInfix:(t,r)=>{const s=[ie(r)];t.consume(",");do try{const c=t.parseIntermediateType(f.PARAMETER_LIST);s.push(ie(c))}catch(c){if(e&&c instanceof p)break;throw c}while(t.consume(","));if(s.length>0&&s.slice(0,-1).some(c=>c.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:s}}})}const Wt=g({name:"genericParslet",accept:(e,t)=>e==="<"||e==="."&&t==="<",precedence:f.GENERIC,parseInfix:(e,t)=>{const r=e.consume(".");e.consume("<");const s=[];do s.push(e.parseType(f.PARAMETER_LIST));while(e.consume(","));if(!e.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:w(t),elements:s,meta:{brackets:"angle",dot:r}}}}),Xt=g({name:"unionParslet",accept:e=>e==="|",precedence:f.UNION,parseInfix:(e,t)=>{e.consume("|");const r=[];do r.push(e.parseType(f.UNION));while(e.consume("|"));return{type:"JsdocTypeUnion",elements:[w(t),...r]}}}),pe=[ce,z,Z,Mt,Ct,Yt,Gt({allowTrailingComma:!0}),Wt,Xt,z];function ee({allowSquareBracketsOnAnyType:e,allowJsdocNamePaths:t,pathGrammar:r}){return function(c,d,T){if(T==null||d>=f.NAME_PATH)return null;const J=c.lexer.current.type,x=c.lexer.next.type;if(!(J==="."&&x!=="<"||J==="["&&(e||T.type==="JsdocTypeName")||t&&(J==="~"||J==="#")))return null;let k,re=!1;c.consume(".")?k="property":c.consume("[")?(k="property-brackets",re=!0):c.consume("~")?k="inner":(c.consume("#"),k="instance");const $e=r!==null?new U(r,c.lexer,c):c,O=$e.parseIntermediateType(f.NAME_PATH);c.acceptLexerState($e);let B;switch(O.type){case"JsdocTypeName":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":B={type:"JsdocTypeProperty",value:O.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":B={type:"JsdocTypeProperty",value:O.value,meta:{quote:O.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(O.specialType==="event")B=O;else throw new y(O,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new y(O,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(re&&!c.consume("]")){const qe=c.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${qe.type}' with text '${qe.text}'`)}return{type:"JsdocTypeNamePath",left:w(T),right:B,pathType:k}}}function I({allowedAdditionalTokens:e}){return g({name:"nameParslet",accept:t=>t==="Identifier"||t==="this"||t==="new"||e.includes(t),parsePrefix:t=>{const{type:r,text:s}=t.lexer.current;return t.consume(r),{type:"JsdocTypeName",value:s}}})}const $=g({name:"stringValueParslet",accept:e=>e==="StringValue",parsePrefix:e=>{const t=e.lexer.current.text;return e.consume("StringValue"),{type:"JsdocTypeStringValue",value:t.slice(1,-1),meta:{quote:t[0]==="'"?"single":"double"}}}});function te({pathGrammar:e,allowedTypes:t}){return g({name:"specialNamePathParslet",accept:r=>t.includes(r),parsePrefix:r=>{const s=r.lexer.current.type;if(r.consume(s),!r.consume(":"))return{type:"JsdocTypeName",value:s};let c,d=r.lexer.current;if(r.consume("StringValue"))c={type:"JsdocTypeSpecialNamePath",value:d.text.slice(1,-1),specialType:s,meta:{quote:d.text[0]==="'"?"single":"double"}};else{let x="";const S=["Identifier","@","/"];for(;S.some(k=>r.consume(k));)x+=d.text,d=r.lexer.current;c={type:"JsdocTypeSpecialNamePath",value:x,specialType:s,meta:{quote:void 0}}}const T=new U(e,r.lexer,r),J=T.parseInfixIntermediateType(c,f.ALL);return r.acceptLexerState(T),w(J)}})}const Re=[I({allowedAdditionalTokens:["external","module"]}),$,Z,ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],V=[...Re,te({allowedTypes:["event"],pathGrammar:Re})];function ue(e){let t;if(e.type==="JsdocTypeParameterList")t=e.elements;else if(e.type==="JsdocTypeParenthesis")t=[e.element];else throw new y(e);return t.map(r=>ie(r))}function Qt(e){const t=ue(e);if(t.some(r=>r.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return t}function ye({allowNamedParameters:e,allowNoReturnType:t,allowWithoutParenthesis:r,allowNewAsFunctionKeyword:s}){return g({name:"functionParslet",accept:(c,d)=>c==="function"||s&&c==="new"&&d==="(",parsePrefix:c=>{const d=c.consume("new");c.consume("function");const T=c.lexer.current.type==="(";if(!T){if(!r)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let J={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:d,parenthesis:T};const x=c.parseIntermediateType(f.FUNCTION);if(e===void 0)J.parameters=Qt(x);else{if(d&&x.type==="JsdocTypeFunction"&&x.arrow)return J=x,J.constructor=!0,J;J.parameters=ue(x);for(const S of J.parameters)if(S.type==="JsdocTypeKeyValue"&&!e.includes(S.key))throw new Error(`only allowed named parameters are ${e.join(", ")} but got ${S.type}`)}if(c.consume(":"))J.returnType=c.parseType(f.PREFIX);else if(!t)throw new Error("function is missing return type");return J}})}function de({allowPostfix:e,allowEnclosingBrackets:t}){return g({name:"variadicParslet",accept:r=>r==="...",precedence:f.PREFIX,parsePrefix:r=>{r.consume("...");const s=t&&r.consume("[");try{const c=r.parseType(f.PREFIX);if(s&&!r.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:w(c),meta:{position:"prefix",squareBrackets:s}}}catch(c){if(c instanceof p){if(s)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw c}},parseInfix:e?(r,s)=>(r.consume("..."),{type:"JsdocTypeVariadic",element:w(s),meta:{position:"suffix",squareBrackets:!1}}):void 0})}const _e=g({name:"symbolParslet",accept:e=>e==="(",precedence:f.SYMBOL,parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");e.consume("(");const r={type:"JsdocTypeSymbol",value:t.value};if(!e.consume(")")){const s=e.parseIntermediateType(f.SYMBOL);if(r.element=Bt(s),!e.consume(")"))throw new Error("Symbol does not end after value")}return r}}),Fe=g({name:"arrayBracketsParslet",precedence:f.ARRAY_BRACKETS,accept:(e,t)=>e==="["&&t==="]",parseInfix:(e,t)=>(e.consume("["),e.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[w(t)],meta:{brackets:"square",dot:!1}})});function me({objectFieldGrammar:e,allowKeyTypes:t}){return g({name:"objectParslet",accept:r=>r==="{",parsePrefix:r=>{r.consume("{");const s={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!r.consume("}")){let c;const d=new U(e,r.lexer,r);for(;;){d.acceptLexerState(r);let T=d.parseIntermediateType(f.OBJECT);r.acceptLexerState(d),T===void 0&&t&&(T=r.parseIntermediateType(f.OBJECT));let J=!1;if(T.type==="JsdocTypeNullable"&&(J=!0,T=T.element),T.type==="JsdocTypeNumber"||T.type==="JsdocTypeName"||T.type==="JsdocTypeStringValue"){let S;T.type==="JsdocTypeStringValue"&&(S=T.meta.quote),s.elements.push({type:"JsdocTypeObjectField",key:T.value.toString(),right:void 0,optional:J,readonly:!1,meta:{quote:S}})}else if(T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField")s.elements.push(T);else throw new y(T);if(r.lexer.current.startOfLine)c="linebreak";else if(r.consume(","))c="comma";else if(r.consume(";"))c="semicolon";else break;if(r.lexer.current.type==="}")break}if(s.meta.separator=c??"comma",!r.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return s}})}function fe({allowSquaredProperties:e,allowKeyTypes:t,allowReadonly:r,allowOptional:s}){return g({name:"objectFieldParslet",precedence:f.KEY_VALUE,accept:c=>c===":",parseInfix:(c,d)=>{var T;let J=!1,x=!1;s&&d.type==="JsdocTypeNullable"&&(J=!0,d=d.element),r&&d.type==="JsdocTypeReadonlyProperty"&&(x=!0,d=d.element);const S=(T=c.baseParser)!==null&&T!==void 0?T:c;if(S.acceptLexerState(c),d.type==="JsdocTypeNumber"||d.type==="JsdocTypeName"||d.type==="JsdocTypeStringValue"||le(d)){if(le(d)&&!e)throw new y(d);S.consume(":");let k;d.type==="JsdocTypeStringValue"&&(k=d.meta.quote);const re=S.parseType(f.KEY_VALUE);return c.acceptLexerState(S),{type:"JsdocTypeObjectField",key:le(d)?d:d.value.toString(),right:re,optional:J,readonly:x,meta:{quote:k}}}else{if(!t)throw new y(d);S.consume(":");const k=S.parseType(f.KEY_VALUE);return c.acceptLexerState(S),{type:"JsdocTypeJsdocObjectField",left:w(d),right:k}}}})}function Te({allowOptional:e,allowVariadic:t}){return g({name:"keyValueParslet",precedence:f.KEY_VALUE,accept:r=>r===":",parseInfix:(r,s)=>{let c=!1,d=!1;if(e&&s.type==="JsdocTypeNullable"&&(c=!0,s=s.element),t&&s.type==="JsdocTypeVariadic"&&s.element!==void 0&&(d=!0,s=s.element),s.type!=="JsdocTypeName")throw new y(s);r.consume(":");const T=r.parseType(f.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:s.value,right:T,optional:c,variadic:d}}})}const Le=[...pe,ye({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),$,te({allowedTypes:["module","external","event"],pathGrammar:V}),de({allowEnclosingBrackets:!0,allowPostfix:!0}),I({allowedAdditionalTokens:["keyof"]}),_e,Fe,ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V})],Ht=[...Le,me({objectFieldGrammar:[I({allowedAdditionalTokens:["module","in"]}),fe({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...Le],allowKeyTypes:!0}),Te({allowOptional:!0,allowVariadic:!0})],je=g({name:"typeOfParslet",accept:e=>e==="typeof",parsePrefix:e=>(e.consume("typeof"),{type:"JsdocTypeTypeof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),zt=[I({allowedAdditionalTokens:["module","keyof","event","external","in"]}),ce,z,$,Z,fe({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],Zt=[...pe,me({allowKeyTypes:!1,objectFieldGrammar:zt}),I({allowedAdditionalTokens:["event","external","in"]}),je,ye({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),de({allowEnclosingBrackets:!1,allowPostfix:!1}),I({allowedAdditionalTokens:["keyof"]}),te({allowedTypes:["module"],pathGrammar:V}),ee({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:V}),Te({allowOptional:!1,allowVariadic:!1}),_e],en=g({name:"assertsParslet",accept:e=>e==="asserts",parsePrefix:e=>{e.consume("asserts");const t=e.parseIntermediateType(f.SYMBOL);if(t.type!=="JsdocTypeName")throw new y(t,"A typescript asserts always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypeAsserts",left:t,right:w(e.parseIntermediateType(f.INFIX))}}});function tn({allowQuestionMark:e}){return g({name:"tupleParslet",accept:t=>t==="[",parsePrefix:t=>{t.consume("[");const r={type:"JsdocTypeTuple",elements:[]};if(t.consume("]"))return r;const s=t.parseIntermediateType(f.ALL);if(s.type==="JsdocTypeParameterList"?s.elements[0].type==="JsdocTypeKeyValue"?r.elements=s.elements.map(H):r.elements=s.elements.map(w):s.type==="JsdocTypeKeyValue"?r.elements=[H(s)]:r.elements=[w(s)],!t.consume("]"))throw new Error("Unterminated '['");if(!e&&r.elements.some(c=>c.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return r}})}const nn=g({name:"keyOfParslet",accept:e=>e==="keyof",parsePrefix:e=>(e.consume("keyof"),{type:"JsdocTypeKeyof",element:w(e.parseType(f.KEY_OF_TYPE_OF))})}),rn=g({name:"importParslet",accept:e=>e==="import",parsePrefix:e=>{if(e.consume("import"),!e.consume("("))throw new Error("Missing parenthesis after import keyword");const t=e.parseType(f.PREFIX);if(t.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!e.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:t}}}),an=g({name:"readonlyPropertyParslet",accept:e=>e==="readonly",parsePrefix:e=>(e.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:e.parseType(f.KEY_VALUE)})}),on=g({name:"arrowFunctionParslet",precedence:f.ARROW,accept:e=>e==="=>",parseInfix:(e,t)=>(e.consume("=>"),{type:"JsdocTypeFunction",parameters:ue(t).map(qt),arrow:!0,constructor:!1,parenthesis:!0,returnType:e.parseType(f.OBJECT)})}),sn=g({name:"intersectionParslet",accept:e=>e==="&",precedence:f.INTERSECTION,parseInfix:(e,t)=>{e.consume("&");const r=[];do r.push(e.parseType(f.INTERSECTION));while(e.consume("&"));return{type:"JsdocTypeIntersection",elements:[w(t),...r]}}}),ln=g({name:"predicateParslet",precedence:f.INFIX,accept:e=>e==="is",parseInfix:(e,t)=>{if(t.type!=="JsdocTypeName")throw new y(t,"A typescript predicate always has to have a name on the left side.");return e.consume("is"),{type:"JsdocTypePredicate",left:t,right:w(e.parseIntermediateType(f.INFIX))}}}),cn=g({name:"objectSquareBracketPropertyParslet",accept:e=>e==="[",parsePrefix:e=>{if(e.baseParser===void 0)throw new Error("Only allowed inside object grammar");e.consume("[");const t=e.lexer.current.text;e.consume("Identifier");let r;if(e.consume(":")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeIndexSignature",key:t,right:s.parseType(f.INDEX_BRACKETS)},e.acceptLexerState(s)}else if(e.consume("in")){const s=e.baseParser;s.acceptLexerState(e),r={type:"JsdocTypeMappedType",key:t,right:s.parseType(f.ARRAY_BRACKETS)},e.acceptLexerState(s)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!e.consume("]"))throw new Error("Unterminated square brackets");return r}}),pn=[an,I({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),ce,z,$,Z,fe({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),cn],un=[...pe,me({allowKeyTypes:!1,objectFieldGrammar:pn}),je,nn,rn,$,ye({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),tn({allowQuestionMark:!1}),de({allowEnclosingBrackets:!1,allowPostfix:!1}),en,I({allowedAdditionalTokens:["event","external","in"]}),te({allowedTypes:["module"],pathGrammar:V}),Fe,on,ee({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:V}),sn,ln,Te({allowVariadic:!0,allowOptional:!0})];function Ue(e,t){switch(t){case"closure":return new U(Zt,e).parse();case"jsdoc":return new U(Ht,e).parse();case"typescript":return new U(un,e).parse()}}function yn(e,t=["typescript","closure","jsdoc"]){let r;for(const s of t)try{return Ue(e,s)}catch(c){r=c}throw r}function q(e,t){const r=e[t.type];if(r===void 0)throw new Error(`In this set of transform rules exists no rule for type ${t.type}.`);return r(t,s=>q(e,s))}function v(e){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}function Ve(e){const t={params:[]};for(const r of e.parameters)r.type==="JsdocTypeKeyValue"?r.key==="this"?t.this=r.right:r.key==="new"?t.new=r.right:t.params.push(r):t.params.push(r);return t}function ne(e,t,r){return e==="prefix"?r+t:t+r}function A(e,t){switch(t){case"double":return`"${e}"`;case"single":return`'${e}'`;case void 0:return e}}function De(){return{JsdocTypeParenthesis:(e,t)=>`(${e.element!==void 0?t(e.element):""})`,JsdocTypeKeyof:(e,t)=>`keyof ${t(e.element)}`,JsdocTypeFunction:(e,t)=>{if(e.arrow){if(e.returnType===void 0)throw new Error("Arrow function needs a return type.");let r=`(${e.parameters.map(t).join(", ")}) => ${t(e.returnType)}`;return e.constructor&&(r="new "+r),r}else{let r=e.constructor?"new":"function";return e.parenthesis&&(r+=`(${e.parameters.map(t).join(", ")})`,e.returnType!==void 0&&(r+=`: ${t(e.returnType)}`)),r}},JsdocTypeName:e=>e.value,JsdocTypeTuple:(e,t)=>`[${e.elements.map(t).join(", ")}]`,JsdocTypeVariadic:(e,t)=>e.meta.position===void 0?"...":ne(e.meta.position,t(e.element),"..."),JsdocTypeNamePath:(e,t)=>{const r=t(e.left),s=t(e.right);switch(e.pathType){case"inner":return`${r}~${s}`;case"instance":return`${r}#${s}`;case"property":return`${r}.${s}`;case"property-brackets":return`${r}[${s}]`}},JsdocTypeStringValue:e=>A(e.value,e.meta.quote),JsdocTypeAny:()=>"*",JsdocTypeGeneric:(e,t)=>{if(e.meta.brackets==="square"){const r=e.elements[0],s=t(r);return r.type==="JsdocTypeUnion"||r.type==="JsdocTypeIntersection"?`(${s})[]`:`${s}[]`}else return`${t(e.left)}${e.meta.dot?".":""}<${e.elements.map(t).join(", ")}>`},JsdocTypeImport:(e,t)=>`import(${t(e.element)})`,JsdocTypeObjectField:(e,t)=>{let r="";return e.readonly&&(r+="readonly "),typeof e.key=="string"?r+=A(e.key,e.meta.quote):r+=t(e.key),e.optional&&(r+="?"),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeJsdocObjectField:(e,t)=>`${t(e.left)}: ${t(e.right)}`,JsdocTypeKeyValue:(e,t)=>{let r=e.key;return e.optional&&(r+="?"),e.variadic&&(r="..."+r),e.right===void 0?r:r+`: ${t(e.right)}`},JsdocTypeSpecialNamePath:e=>`${e.specialType}:${A(e.value,e.meta.quote)}`,JsdocTypeNotNullable:(e,t)=>ne(e.meta.position,t(e.element),"!"),JsdocTypeNull:()=>"null",JsdocTypeNullable:(e,t)=>ne(e.meta.position,t(e.element),"?"),JsdocTypeNumber:e=>e.value.toString(),JsdocTypeObject:(e,t)=>`{${e.elements.map(t).join((e.meta.separator==="comma"?",":";")+" ")}}`,JsdocTypeOptional:(e,t)=>ne(e.meta.position,t(e.element),"="),JsdocTypeSymbol:(e,t)=>`${e.value}(${e.element!==void 0?t(e.element):""})`,JsdocTypeTypeof:(e,t)=>`typeof ${t(e.element)}`,JsdocTypeUndefined:()=>"undefined",JsdocTypeUnion:(e,t)=>e.elements.map(t).join(" | "),JsdocTypeUnknown:()=>"?",JsdocTypeIntersection:(e,t)=>e.elements.map(t).join(" & "),JsdocTypeProperty:e=>A(e.value,e.meta.quote),JsdocTypePredicate:(e,t)=>`${t(e.left)} is ${t(e.right)}`,JsdocTypeIndexSignature:(e,t)=>`[${e.key}: ${t(e.right)}]`,JsdocTypeMappedType:(e,t)=>`[${e.key} in ${t(e.right)}]`,JsdocTypeAsserts:(e,t)=>`asserts ${t(e.left)} is ${t(e.right)}`}}const dn=De();function mn(e){return q(dn,e)}const fn=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function R(e){const t={type:"NameExpression",name:e};return fn.includes(e)&&(t.reservedWord=!0),t}const Tn={JsdocTypeOptional:(e,t)=>{const r=t(e.element);return r.optional=!0,r},JsdocTypeNullable:(e,t)=>{const r=t(e.element);return r.nullable=!0,r},JsdocTypeNotNullable:(e,t)=>{const r=t(e.element);return r.nullable=!1,r},JsdocTypeVariadic:(e,t)=>{if(e.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");const r=t(e.element);return r.repeatable=!0,r},JsdocTypeAny:()=>({type:"AllLiteral"}),JsdocTypeNull:()=>({type:"NullLiteral"}),JsdocTypeStringValue:e=>R(A(e.value,e.meta.quote)),JsdocTypeUndefined:()=>({type:"UndefinedLiteral"}),JsdocTypeUnknown:()=>({type:"UnknownLiteral"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:"FunctionType",params:r.params.map(t)};return r.this!==void 0&&(s.this=t(r.this)),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.result=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>({type:"TypeApplication",applications:e.elements.map(r=>t(r)),expression:t(e.left)}),JsdocTypeSpecialNamePath:e=>R(e.specialType+":"+A(e.value,e.meta.quote)),JsdocTypeName:e=>e.value!=="function"?R(e.value):{type:"FunctionType",params:[]},JsdocTypeNumber:e=>R(e.value.toString()),JsdocTypeObject:(e,t)=>{const r={type:"RecordType",fields:[]};for(const s of e.elements)s.type!=="JsdocTypeObjectField"&&s.type!=="JsdocTypeJsdocObjectField"?r.fields.push({type:"FieldType",key:t(s),value:void 0}):r.fields.push(t(s));return r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:R(A(e.key,e.meta.quote)),value:e.right===void 0?void 0:t(e.right)}},JsdocTypeJsdocObjectField:(e,t)=>({type:"FieldType",key:t(e.left),value:t(e.right)}),JsdocTypeUnion:(e,t)=>({type:"TypeUnion",elements:e.elements.map(r=>t(r))}),JsdocTypeKeyValue:(e,t)=>({type:"FieldType",key:R(e.key),value:e.right===void 0?void 0:t(e.right)}),JsdocTypeNamePath:(e,t)=>{const r=t(e.left);let s;e.right.type==="JsdocTypeSpecialNamePath"?s=t(e.right).name:s=A(e.right.value,e.right.meta.quote);const c=e.pathType==="inner"?"~":e.pathType==="instance"?"#":".";return R(`${r.name}${c}${s}`)},JsdocTypeSymbol:e=>{let t="",r=e.element,s=!1;return(r==null?void 0:r.type)==="JsdocTypeVariadic"&&(r.meta.position==="prefix"?t="...":s=!0,r=r.element),(r==null?void 0:r.type)==="JsdocTypeName"?t+=r.value:(r==null?void 0:r.type)==="JsdocTypeNumber"&&(t+=r.value.toString()),s&&(t+="..."),R(`${e.value}(${t})`)},JsdocTypeParenthesis:(e,t)=>t(w(e.element)),JsdocTypeMappedType:v,JsdocTypeIndexSignature:v,JsdocTypeImport:v,JsdocTypeKeyof:v,JsdocTypeTuple:v,JsdocTypeTypeof:v,JsdocTypeIntersection:v,JsdocTypeProperty:v,JsdocTypePredicate:v,JsdocTypeAsserts:v};function hn(e){return q(Tn,e)}function L(e){switch(e){case void 0:return"none";case"single":return"single";case"double":return"double"}}function gn(e){switch(e){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}function he(e,t){return t.length===2?{type:e,left:t[0],right:t[1]}:{type:e,left:t[0],right:he(e,t.slice(1))}}const Jn={JsdocTypeOptional:(e,t)=>({type:"OPTIONAL",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),JsdocTypeNullable:(e,t)=>({type:"NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),JsdocTypeNotNullable:(e,t)=>({type:"NOT_NULLABLE",value:t(e.element),meta:{syntax:e.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),JsdocTypeVariadic:(e,t)=>{const r={type:"VARIADIC",meta:{syntax:e.meta.position==="prefix"?"PREFIX_DOTS":e.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return e.element!==void 0&&(r.value=t(e.element)),r},JsdocTypeName:e=>({type:"NAME",name:e.value}),JsdocTypeTypeof:(e,t)=>({type:"TYPE_QUERY",name:t(e.element)}),JsdocTypeTuple:(e,t)=>({type:"TUPLE",entries:e.elements.map(t)}),JsdocTypeKeyof:(e,t)=>({type:"KEY_QUERY",value:t(e.element)}),JsdocTypeImport:e=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:L(e.element.meta.quote),string:e.element.value}}),JsdocTypeUndefined:()=>({type:"NAME",name:"undefined"}),JsdocTypeAny:()=>({type:"ANY"}),JsdocTypeFunction:(e,t)=>{const r=Ve(e),s={type:e.arrow?"ARROW":"FUNCTION",params:r.params.map(c=>{if(c.type==="JsdocTypeKeyValue"){if(c.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:c.key,typeName:t(c.right)}}else return t(c)}),new:null,returns:null};return r.this!==void 0?s.this=t(r.this):e.arrow||(s.this=null),r.new!==void 0&&(s.new=t(r.new)),e.returnType!==void 0&&(s.returns=t(e.returnType)),s},JsdocTypeGeneric:(e,t)=>{const r={type:"GENERIC",subject:t(e.left),objects:e.elements.map(t),meta:{syntax:e.meta.brackets==="square"?"SQUARE_BRACKET":e.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return e.meta.brackets==="square"&&e.elements[0].type==="JsdocTypeFunction"&&!e.elements[0].parenthesis&&(r.objects[0]={type:"NAME",name:"function"}),r},JsdocTypeObjectField:(e,t)=>{if(typeof e.key!="string")throw new Error("Index signatures and mapped types are not supported");if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:L(e.meta.quote),value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key.toString(),quoteStyle:L(e.meta.quote),value:r,readonly:!1}},JsdocTypeJsdocObjectField:()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},JsdocTypeKeyValue:(e,t)=>{if(e.right===void 0)return{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:null,readonly:!1};let r=t(e.right);return e.optional&&(r={type:"OPTIONAL",value:r,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:e.key,quoteStyle:"none",value:r,readonly:!1}},JsdocTypeObject:(e,t)=>{const r=[];for(const s of e.elements)(s.type==="JsdocTypeObjectField"||s.type==="JsdocTypeJsdocObjectField")&&r.push(t(s));return{type:"RECORD",entries:r}},JsdocTypeSpecialNamePath:e=>{if(e.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${e.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:L(e.meta.quote),path:e.value}}},JsdocTypeNamePath:(e,t)=>{let r=!1,s,c;e.right.type==="JsdocTypeSpecialNamePath"&&e.right.specialType==="event"?(r=!0,s=e.right.value,c=L(e.right.meta.quote)):(s=e.right.value,c=L(e.right.meta.quote));const d={type:gn(e.pathType),owner:t(e.left),name:s,quoteStyle:c,hasEventPrefix:r};if(d.owner.type==="MODULE"){const T=d.owner;return d.owner=d.owner.value,T.value=d,T}else return d},JsdocTypeUnion:(e,t)=>he("UNION",e.elements.map(t)),JsdocTypeParenthesis:(e,t)=>({type:"PARENTHESIS",value:t(w(e.element))}),JsdocTypeNull:()=>({type:"NAME",name:"null"}),JsdocTypeUnknown:()=>({type:"UNKNOWN"}),JsdocTypeStringValue:e=>({type:"STRING_VALUE",quoteStyle:L(e.meta.quote),string:e.value}),JsdocTypeIntersection:(e,t)=>he("INTERSECTION",e.elements.map(t)),JsdocTypeNumber:e=>({type:"NUMBER_VALUE",number:e.value.toString()}),JsdocTypeSymbol:v,JsdocTypeProperty:v,JsdocTypePredicate:v,JsdocTypeMappedType:v,JsdocTypeIndexSignature:v,JsdocTypeAsserts:v};function wn(e){return q(Jn,e)}function Nn(){return{JsdocTypeIntersection:(e,t)=>({type:"JsdocTypeIntersection",elements:e.elements.map(t)}),JsdocTypeGeneric:(e,t)=>({type:"JsdocTypeGeneric",left:t(e.left),elements:e.elements.map(t),meta:{dot:e.meta.dot,brackets:e.meta.brackets}}),JsdocTypeNullable:e=>e,JsdocTypeUnion:(e,t)=>({type:"JsdocTypeUnion",elements:e.elements.map(t)}),JsdocTypeUnknown:e=>e,JsdocTypeUndefined:e=>e,JsdocTypeTypeof:(e,t)=>({type:"JsdocTypeTypeof",element:t(e.element)}),JsdocTypeSymbol:(e,t)=>{const r={type:"JsdocTypeSymbol",value:e.value};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeOptional:(e,t)=>({type:"JsdocTypeOptional",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeObject:(e,t)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:e.elements.map(t)}),JsdocTypeNumber:e=>e,JsdocTypeNull:e=>e,JsdocTypeNotNullable:(e,t)=>({type:"JsdocTypeNotNullable",element:t(e.element),meta:{position:e.meta.position}}),JsdocTypeSpecialNamePath:e=>e,JsdocTypeObjectField:(e,t)=>({type:"JsdocTypeObjectField",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,readonly:e.readonly,meta:e.meta}),JsdocTypeJsdocObjectField:(e,t)=>({type:"JsdocTypeJsdocObjectField",left:t(e.left),right:t(e.right)}),JsdocTypeKeyValue:(e,t)=>({type:"JsdocTypeKeyValue",key:e.key,right:e.right===void 0?void 0:t(e.right),optional:e.optional,variadic:e.variadic}),JsdocTypeImport:(e,t)=>({type:"JsdocTypeImport",element:t(e.element)}),JsdocTypeAny:e=>e,JsdocTypeStringValue:e=>e,JsdocTypeNamePath:e=>e,JsdocTypeVariadic:(e,t)=>{const r={type:"JsdocTypeVariadic",meta:{position:e.meta.position,squareBrackets:e.meta.squareBrackets}};return e.element!==void 0&&(r.element=t(e.element)),r},JsdocTypeTuple:(e,t)=>({type:"JsdocTypeTuple",elements:e.elements.map(t)}),JsdocTypeName:e=>e,JsdocTypeFunction:(e,t)=>{const r={type:"JsdocTypeFunction",arrow:e.arrow,parameters:e.parameters.map(t),constructor:e.constructor,parenthesis:e.parenthesis};return e.returnType!==void 0&&(r.returnType=t(e.returnType)),r},JsdocTypeKeyof:(e,t)=>({type:"JsdocTypeKeyof",element:t(e.element)}),JsdocTypeParenthesis:(e,t)=>({type:"JsdocTypeParenthesis",element:t(e.element)}),JsdocTypeProperty:e=>e,JsdocTypePredicate:(e,t)=>({type:"JsdocTypePredicate",left:t(e.left),right:t(e.right)}),JsdocTypeIndexSignature:(e,t)=>({type:"JsdocTypeIndexSignature",key:e.key,right:t(e.right)}),JsdocTypeMappedType:(e,t)=>({type:"JsdocTypeMappedType",key:e.key,right:t(e.right)}),JsdocTypeAsserts:(e,t)=>({type:"JsdocTypeAsserts",left:t(e.left),right:t(e.right)})}}const Ke={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function ge(e,t,r,s,c){s==null||s(e,t,r);const d=Ke[e.type];for(const T of d){const J=e[T];if(J!==void 0)if(Array.isArray(J))for(const x of J)ge(x,e,T,s,c);else ge(J,e,T,s,c)}c==null||c(e,t,r)}function En(e,t,r){ge(e,void 0,void 0,t,r)}o.catharsisTransform=hn,o.identityTransformRules=Nn,o.jtpTransform=wn,o.parse=Ue,o.stringify=mn,o.stringifyRules=De,o.transform=q,o.traverse=En,o.tryParse=yn,o.visitorKeys=Ke})}(M,M.exports)),M.exports}var Je=Pn(),Sn=Object.defineProperty,l=(n,a)=>Sn(n,"name",{value:a,configurable:!0});const{UnknownArgTypesError:vn}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var xn=l(n=>n.name==="literal","isLiteral"),kn=l(n=>n.value.replace(/['|"]/g,""),"toEnumOption"),On=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=Y(o.value)}),{name:"object",value:a};default:throw new vn({type:n,language:"Flow"})}},"convertSig"),Y=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"literal":return{...i,name:"other",value:n.value};case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(Y)};case"signature":return{...i,...On(n)};case"union":return(p=n.elements)!=null&&p.every(xn)?{...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(kn)}:{...i,name:a,value:(y=n.elements)==null?void 0:y.map(Y)};case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(Y)};default:return{...i,name:"other",value:a}}},"convert");function Me(n,a){let o={},i=Object.keys(n);for(let p=0;pn.replace(Ce,""),"trimQuotes"),An=l(n=>Ce.test(n),"includesQuotes"),Ye=l(n=>{let a=In(n);return An(n)||Number.isNaN(Number(a))?a:Number(a)},"parseLiteral"),Rn=/^\(.*\) => /,C=l(n=>{let{name:a,raw:o,computed:i,value:p}=n,u={};switch(typeof o<"u"&&(u.raw=o),a){case"enum":{let m=i?p:p.map(h=>Ye(h.value));return{...u,name:a,value:m}}case"string":case"number":case"symbol":return{...u,name:a};case"func":return{...u,name:"function"};case"bool":case"boolean":return{...u,name:"boolean"};case"arrayOf":case"array":return{...u,name:"array",value:p&&C(p)};case"object":return{...u,name:a};case"objectOf":return{...u,name:a,value:C(p)};case"shape":case"exact":let y=Me(p,m=>C(m));return{...u,name:"object",value:y};case"union":return{...u,name:"union",value:p.map(m=>C(m))};case"instanceOf":case"element":case"elementType":default:{if((a==null?void 0:a.indexOf("|"))>0)try{let b=a.split("|").map(N=>JSON.parse(N));return{...u,name:"enum",value:b}}catch{}let m=p?`${a}(${p})`:a,h=Rn.test(a)?"function":"other";return{...u,name:h,value:m}}}},"convert");const{UnknownArgTypesError:_n}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Fn=l(n=>{switch(n.type){case"function":return{name:"function"};case"object":let a={};return n.signature.properties.forEach(o=>{a[o.key]=G(o.value)}),{name:"object",value:a};default:throw new _n({type:n,language:"Typescript"})}},"convertSig"),G=l(n=>{var p,u,y,m;let{name:a,raw:o}=n,i={};switch(typeof o<"u"&&(i.raw=o),n.name){case"string":case"number":case"symbol":case"boolean":return{...i,name:a};case"Array":return{...i,name:"array",value:n.elements.map(G)};case"signature":return{...i,...Fn(n)};case"union":let h;return(p=n.elements)!=null&&p.every(b=>b.name==="literal")?h={...i,name:"enum",value:(u=n.elements)==null?void 0:u.map(b=>Ye(b.value))}:h={...i,name:a,value:(y=n.elements)==null?void 0:y.map(G)},h;case"intersection":return{...i,name:a,value:(m=n.elements)==null?void 0:m.map(G)};default:return{...i,name:"other",value:a}}},"convert"),we=l(n=>{let{type:a,tsType:o,flowType:i}=n;try{if(a!=null)return C(a);if(o!=null)return G(o);if(i!=null)return Y(i)}catch(p){console.error(p)}return null},"convert"),Ln=(n=>(n.JAVASCRIPT="JavaScript",n.FLOW="Flow",n.TYPESCRIPT="TypeScript",n.UNKNOWN="Unknown",n))(Ln||{}),jn=["null","undefined"];function ae(n){return jn.some(a=>a===n)}l(ae,"isDefaultValueBlacklisted");var Un=l(n=>{if(!n)return"";if(typeof n=="string")return n;throw new Error(`Description: expected string, got: ${JSON.stringify(n)}`)},"str");function Ne(n){return!!n.__docgenInfo}l(Ne,"hasDocgen");function Ge(n){return n!=null&&Object.keys(n).length>0}l(Ge,"isValidDocgenSection");function We(n,a){return Ne(n)?n.__docgenInfo[a]:null}l(We,"getDocgenSection");function Xe(n){return Ne(n)?Un(n.__docgenInfo.description):""}l(Xe,"getDocgenDescription");var _;(function(n){n.start="/**",n.nostart="/***",n.delim="*",n.end="*/"})(_=_||(_={}));function Qe(n){return/^\s+$/.test(n)}l(Qe,"isSpace");function He(n){let a=n.match(/\r+$/);return a==null?["",n]:[n.slice(-a[0].length),n.slice(0,-a[0].length)]}l(He,"splitCR");function j(n){let a=n.match(/^\s+/);return a==null?["",n]:[n.slice(0,a[0].length),n.slice(a[0].length)]}l(j,"splitSpace");function ze(n){return n.split(/\n/)}l(ze,"splitLines");function Ze(n={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},n)}l(Ze,"seedSpec");function et(n={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},n)}l(et,"seedTokens");var Vn=/^@\S+/;function tt({fence:n="```"}={}){let a=nt(n),o=l((i,p)=>a(i)?!p:p,"toggleFence");return l(function(i){let p=[[]],u=!1;for(let y of i)Vn.test(y.tokens.description)&&!u?p.push([y]):p[p.length-1].push(y),u=o(y.tokens.description,u);return p},"parseBlock")}l(tt,"getParser");function nt(n){return typeof n=="string"?a=>a.split(n).length%2===0:n}l(nt,"getFencer");function rt({startLine:n=0,markers:a=_}={}){let o=null,i=n;return l(function(p){let u=p,y=et();if([y.lineEnd,u]=He(u),[y.start,u]=j(u),o===null&&u.startsWith(a.start)&&!u.startsWith(a.nostart)&&(o=[],y.delimiter=u.slice(0,a.start.length),u=u.slice(a.start.length),[y.postDelimiter,u]=j(u)),o===null)return i++,null;let m=u.trimRight().endsWith(a.end);if(y.delimiter===""&&u.startsWith(a.delim)&&!u.startsWith(a.end)&&(y.delimiter=a.delim,u=u.slice(a.delim.length),[y.postDelimiter,u]=j(u)),m){let h=u.trimRight();y.end=u.slice(h.length-a.end.length),u=h.slice(0,-a.end.length)}if(y.description=u,o.push({number:i,source:p,tokens:y}),i++,m){let h=o.slice();return o=null,h}return null},"parseSource")}l(rt,"getParser");function at({tokenizers:n}){return l(function(a){var o;let i=Ze({source:a});for(let p of n)if(i=p(i),!((o=i.problems[i.problems.length-1])===null||o===void 0)&&o.critical)break;return i},"parseSpec")}l(at,"getParser");function ot(){return n=>{let{tokens:a}=n.source[0],o=a.description.match(/\s*(@(\S+))(\s*)/);return o===null?(n.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:n.source[0].number,critical:!0}),n):(a.tag=o[1],a.postTag=o[3],a.description=a.description.slice(o[0].length),n.tag=o[2],n)}}l(ot,"tagTokenizer");function st(n="compact"){let a=it(n);return o=>{let i=0,p=[];for(let[m,{tokens:h}]of o.source.entries()){let b="";if(m===0&&h.description[0]!=="{")return o;for(let N of h.description)if(N==="{"&&i++,N==="}"&&i--,b+=N,i===0)break;if(p.push([h,b]),i===0)break}if(i!==0)return o.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:o.source[0].number,critical:!0}),o;let u=[],y=p[0][0].postDelimiter.length;for(let[m,[h,b]]of p.entries())h.type=b,m>0&&(h.type=h.postDelimiter.slice(y)+b,h.postDelimiter=h.postDelimiter.slice(0,y)),[h.postType,h.description]=j(h.description.slice(b.length)),u.push(h.type);return u[0]=u[0].slice(1),u[u.length-1]=u[u.length-1].slice(0,-1),o.type=a(u),o}}l(st,"typeTokenizer");var Dn=l(n=>n.trim(),"trim");function it(n){return n==="compact"?a=>a.map(Dn).join(""):n==="preserve"?a=>a.join(` +`):n}l(it,"getJoiner");var Kn=l(n=>n&&n.startsWith('"')&&n.endsWith('"'),"isQuoted");function lt(){let n=l((a,{tokens:o},i)=>o.type===""?a:i,"typeEnd");return a=>{let{tokens:o}=a.source[a.source.reduce(n,0)],i=o.description.trimLeft(),p=i.split('"');if(p.length>1&&p[0]===""&&p.length%2===1)return a.name=p[1],o.name=`"${p[1]}"`,[o.postName,o.description]=j(i.slice(o.name.length)),a;let u=0,y="",m=!1,h;for(let N of i){if(u===0&&Qe(N))break;N==="["&&u++,N==="]"&&u--,y+=N}if(u!==0)return a.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:a.source[0].number,critical:!0}),a;let b=y;if(y[0]==="["&&y[y.length-1]==="]"){m=!0,y=y.slice(1,-1);let N=y.split("=");if(y=N[0].trim(),N[1]!==void 0&&(h=N.slice(1).join("=").trim()),y==="")return a.problems.push({code:"spec:name:empty-name",message:"empty name",line:a.source[0].number,critical:!0}),a;if(h==="")return a.problems.push({code:"spec:name:empty-default",message:"empty default value",line:a.source[0].number,critical:!0}),a;if(!Kn(h)&&/=(?!>)/.test(h))return a.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:a.source[0].number,critical:!0}),a}return a.optional=m,a.name=y,o.name=b,h!==void 0&&(a.default=h),[o.postName,o.description]=j(i.slice(o.name.length)),a}}l(lt,"nameTokenizer");function ct(n="compact",a=_){let o=Ee(n);return i=>(i.description=o(i.source,a),i)}l(ct,"descriptionTokenizer");function Ee(n){return n==="compact"?pt:n==="preserve"?ut:n}l(Ee,"getJoiner");function pt(n,a=_){return n.map(({tokens:{description:o}})=>o.trim()).filter(o=>o!=="").join(" ")}l(pt,"compactJoiner");var $n=l((n,{tokens:a},o)=>a.type===""?n:o,"lineNo"),qn=l(({tokens:n})=>(n.delimiter===""?n.start:n.postDelimiter.slice(1))+n.description,"getDescription");function ut(n,a=_){if(n.length===0)return"";n[0].tokens.description===""&&n[0].tokens.delimiter===a.start&&(n=n.slice(1));let o=n[n.length-1];return o!==void 0&&o.tokens.description===""&&o.tokens.end.endsWith(a.end)&&(n=n.slice(0,-1)),n=n.slice(n.reduce($n,0)),n.map(qn).join(` +`)}l(ut,"preserveJoiner");function yt({startLine:n=0,fence:a="```",spacing:o="compact",markers:i=_,tokenizers:p=[ot(),st(o),lt(),ct(o)]}={}){if(n<0||n%1>0)throw new Error("Invalid startLine");let u=rt({startLine:n,markers:i}),y=tt({fence:a}),m=at({tokenizers:p}),h=Ee(o);return function(b){let N=[];for(let oe of ze(b)){let D=u(oe);if(D===null)continue;let X=y(D),Q=X.slice(1).map(m);N.push({description:h(X[0],i),tags:Q,source:D,problems:Q.reduce((P,se)=>P.concat(se.problems),[])})}return N}}l(yt,"getParser");function dt(n){return n.start+n.delimiter+n.postDelimiter+n.tag+n.postTag+n.type+n.postType+n.name+n.postName+n.description+n.end+n.lineEnd}l(dt,"join");function Bn(){return n=>n.source.map(({tokens:a})=>dt(a)).join(` +`)}l(Bn,"getStringifier");function mt(n,a={}){return yt(a)(n)}l(mt,"parse");function ft(n){return n!=null&&n.includes("@")}l(ft,"containsJsDoc");function Tt(n){let a=`/** `+(n??"").split(` `).map(i=>` * ${i}`).join(` `)+` -*/`,o=mt(a,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}c(Tt,"parse");var Mn={tags:["param","arg","argument","returns","ignore","deprecated"]},Cn=c((n,a=Mn)=>{if(!ft(n))return{includesJsDoc:!1,ignore:!1};let o=Tt(n),i=ht(o,a.tags);return i.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:o.description.trim(),extractedTags:i}},"parseJsDoc");function ht(n,a){let o={params:null,deprecated:null,returns:null,ignore:!1};for(let i of n.tags)if(!(a!==void 0&&!a.includes(i.tag)))if(i.tag==="ignore"){o.ignore=!0;break}else switch(i.tag){case"param":case"arg":case"argument":{let p=Jt(i);p!=null&&(o.params==null&&(o.params=[]),o.params.push(p));break}case"deprecated":{let p=wt(i);p!=null&&(o.deprecated=p);break}case"returns":{let p=Nt(i);p!=null&&(o.returns=p);break}}return o}c(ht,"extractJsDocTags");function gt(n){return n.replace(/[\.-]$/,"")}c(gt,"normaliseParamName");function Jt(n){if(!n.name||n.name==="-")return null;let a=ve(n.type);return{name:n.name,type:a,description:Pe(n.description),getPrettyName:c(()=>gt(n.name),"getPrettyName"),getTypeName:c(()=>a?Se(a):null,"getTypeName")}}c(Jt,"extractParam");function wt(n){return n.name?be(n.name,n.description):null}c(wt,"extractDeprecated");function be(n,a){let o=n===""?a:`${n} ${a}`;return Pe(o)}c(be,"joinNameAndDescription");function Pe(n){let a=n.replace(/^- /g,"").trim();return a===""?null:a}c(Pe,"normaliseDescription");function Nt(n){let a=ve(n.type);return a?{type:a,description:be(n.name,n.description),getTypeName:c(()=>Se(a),"getTypeName")}:null}c(Nt,"extractReturns");var F=Je.stringifyRules(),Yn=F.JsdocTypeObject;F.JsdocTypeAny=()=>"any";F.JsdocTypeObject=(n,a)=>`(${Yn(n,a)})`;F.JsdocTypeOptional=(n,a)=>a(n.element);F.JsdocTypeNullable=(n,a)=>a(n.element);F.JsdocTypeNotNullable=(n,a)=>a(n.element);F.JsdocTypeUnion=(n,a)=>n.elements.map(a).join("|");function ve(n){try{return Je.parse(n,"typescript")}catch{return null}}c(ve,"extractType");function Se(n){return Je.transform(F,n)}c(Se,"extractTypeName");function xe(n){return n.length>90}c(xe,"isTooLongForTypeSummary");function Et(n){return n.length>50}c(Et,"isTooLongForDefaultValueSummary");function E(n,a){return n===a?{summary:n}:{summary:n,detail:a}}c(E,"createSummaryValue");function bt(n,a){if(n!=null){let{value:o}=n;if(!ae(o))return Et(o)?E(a==null?void 0:a.name,o):E(o)}return null}c(bt,"createDefaultValue");function ke({name:n,value:a,elements:o,raw:i}){return a??(o!=null?o.map(ke).join(" | "):i??n)}c(ke,"generateUnionElement");function Pt({name:n,raw:a,elements:o}){return o!=null?E(o.map(ke).join(" | ")):a!=null?E(a.replace(/^\|\s*/,"")):E(n)}c(Pt,"generateUnion");function vt({type:n,raw:a}){return a!=null?E(a):E(n)}c(vt,"generateFuncSignature");function St({type:n,raw:a}){return a!=null?xe(a)?E(n,a):E(a):E(n)}c(St,"generateObjectSignature");function xt(n){let{type:a}=n;return a==="object"?St(n):vt(n)}c(xt,"generateSignature");function kt({name:n,raw:a}){return a!=null?xe(a)?E(n,a):E(a):E(n)}c(kt,"generateDefault");function Ot(n){if(n==null)return null;switch(n.name){case"union":return Pt(n);case"signature":return xt(n);default:return kt(n)}}c(Ot,"createType");var Gn=c((n,a)=>{let{flowType:o,description:i,required:p,defaultValue:u}=a;return{name:n,type:Ot(o),required:p,description:i,defaultValue:bt(u??null,o??null)}},"createFlowPropDef");function It({defaultValue:n}){if(n!=null){let{value:a}=n;if(!ae(a))return E(a)}return null}c(It,"createDefaultValue");function At({tsType:n,required:a}){if(n==null)return null;let o=n.name;return a||(o=o.replace(" | undefined","")),E(["Array","Record","signature"].includes(n.name)?n.raw:o)}c(At,"createType");var Wn=c((n,a)=>{let{description:o,required:i}=a;return{name:n,type:At(a),required:i,description:o,defaultValue:It(a)}},"createTsPropDef");function Rt(n){return n!=null?E(n.name):null}c(Rt,"createType");function _t(n){let{computed:a,func:o}=n;return typeof a>"u"&&typeof o>"u"}c(_t,"isReactDocgenTypescript");function Ft(n){return n?n.name==="string"?!0:n.name==="enum"?Array.isArray(n.value)&&n.value.every(({value:a})=>typeof a=="string"&&a[0]==='"'&&a[a.length-1]==='"'):!1:!1}c(Ft,"isStringValued");function Lt(n,a){if(n!=null){let{value:o}=n;if(!ae(o))return _t(n)&&Ft(a)?E(JSON.stringify(o)):E(o)}return null}c(Lt,"createDefaultValue");function Oe(n,a,o){let{description:i,required:p,defaultValue:u}=o;return{name:n,type:Rt(a),required:p,description:i,defaultValue:Lt(u,a)}}c(Oe,"createBasicPropDef");function W(n,a){var o;if(a!=null&&a.includesJsDoc){let{description:i,extractedTags:p}=a;i!=null&&(n.description=a.description);let u={...p,params:(o=p==null?void 0:p.params)==null?void 0:o.map(y=>({name:y.getPrettyName(),description:y.description}))};Object.values(u).filter(Boolean).length>0&&(n.jsDocTags=u)}return n}c(W,"applyJsDocResult");var Xn=c((n,a,o)=>{let i=Oe(n,a.type,a);return i.sbType=we(a),W(i,o)},"javaScriptFactory"),Qn=c((n,a,o)=>{let i=Wn(n,a);return i.sbType=we(a),W(i,o)},"tsFactory"),Hn=c((n,a,o)=>{let i=Gn(n,a);return i.sbType=we(a),W(i,o)},"flowFactory"),zn=c((n,a,o)=>{let i=Oe(n,{name:"unknown"},a);return W(i,o)},"unknownFactory"),jt=c(n=>{switch(n){case"JavaScript":return Xn;case"TypeScript":return Qn;case"Flow":return Hn;default:return zn}},"getPropDefFactory"),Ut=c(n=>n.type!=null?"JavaScript":n.flowType!=null?"Flow":n.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Zn=c(n=>{let a=Ut(n[0]),o=jt(a);return n.map(i=>{var u;let p=i;return(u=i.type)!=null&&u.elements&&(p={...i,type:{...i.type,value:i.type.elements}}),Ie(p.name,p,a,o)})},"extractComponentSectionArray"),er=c(n=>{let a=Object.keys(n),o=Ut(n[a[0]]),i=jt(o);return a.map(p=>{let u=n[p];return u!=null?Ie(p,u,o,i):null}).filter(Boolean)},"extractComponentSectionObject"),or=c((n,a)=>{let o=We(n,a);return Ge(o)?Array.isArray(o)?Zn(o):er(o):[]},"extractComponentProps");function Ie(n,a,o,i){let p=Cn(a.description);return p.includesJsDoc&&p.ignore?null:{propDef:i(n,a,p),jsDocTags:p.extractedTags,docgenInfo:a,typeSystem:o}}c(Ie,"extractProp");function tr(n){return n!=null?Xe(n):""}c(tr,"extractComponentDescription");const{combineParameters:nr}=__STORYBOOK_MODULE_PREVIEW_API__;var sr=c(n=>{let{component:a,argTypes:o,parameters:{docs:i={}}}=n,{extractArgTypes:p}=i,u=p&&a?p(a):{};return u?nr(u,o):o},"enhanceArgTypes"),rr="storybook/docs",ir=`${rr}/snippet-rendered`,ar=(n=>(n.AUTO="auto",n.CODE="code",n.DYNAMIC="dynamic",n))(ar||{});export{xe as B,We as Y,Et as a,sr as c,ar as g,Ln as j,E as l,tr as n,or as o,ir as y,Ne as z}; +*/`,o=mt(a,{spacing:"preserve"});if(!o||o.length===0)throw new Error("Cannot parse JSDoc tags.");return o[0]}l(Tt,"parse");var Mn={tags:["param","arg","argument","returns","ignore","deprecated"]},Cn=l((n,a=Mn)=>{if(!ft(n))return{includesJsDoc:!1,ignore:!1};let o=Tt(n),i=ht(o,a.tags);return i.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:o.description.trim(),extractedTags:i}},"parseJsDoc");function ht(n,a){let o={params:null,deprecated:null,returns:null,ignore:!1};for(let i of n.tags)if(!(a!==void 0&&!a.includes(i.tag)))if(i.tag==="ignore"){o.ignore=!0;break}else switch(i.tag){case"param":case"arg":case"argument":{let p=Jt(i);p!=null&&(o.params==null&&(o.params=[]),o.params.push(p));break}case"deprecated":{let p=wt(i);p!=null&&(o.deprecated=p);break}case"returns":{let p=Nt(i);p!=null&&(o.returns=p);break}}return o}l(ht,"extractJsDocTags");function gt(n){return n.replace(/[\.-]$/,"")}l(gt,"normaliseParamName");function Jt(n){if(!n.name||n.name==="-")return null;let a=Se(n.type);return{name:n.name,type:a,description:Pe(n.description),getPrettyName:l(()=>gt(n.name),"getPrettyName"),getTypeName:l(()=>a?ve(a):null,"getTypeName")}}l(Jt,"extractParam");function wt(n){return n.name?be(n.name,n.description):null}l(wt,"extractDeprecated");function be(n,a){let o=n===""?a:`${n} ${a}`;return Pe(o)}l(be,"joinNameAndDescription");function Pe(n){let a=n.replace(/^- /g,"").trim();return a===""?null:a}l(Pe,"normaliseDescription");function Nt(n){let a=Se(n.type);return a?{type:a,description:be(n.name,n.description),getTypeName:l(()=>ve(a),"getTypeName")}:null}l(Nt,"extractReturns");var F=Je.stringifyRules(),Yn=F.JsdocTypeObject;F.JsdocTypeAny=()=>"any";F.JsdocTypeObject=(n,a)=>`(${Yn(n,a)})`;F.JsdocTypeOptional=(n,a)=>a(n.element);F.JsdocTypeNullable=(n,a)=>a(n.element);F.JsdocTypeNotNullable=(n,a)=>a(n.element);F.JsdocTypeUnion=(n,a)=>n.elements.map(a).join("|");function Se(n){try{return Je.parse(n,"typescript")}catch{return null}}l(Se,"extractType");function ve(n){return Je.transform(F,n)}l(ve,"extractTypeName");function xe(n){return n.length>90}l(xe,"isTooLongForTypeSummary");function Et(n){return n.length>50}l(Et,"isTooLongForDefaultValueSummary");function E(n,a){return n===a?{summary:n}:{summary:n,detail:a}}l(E,"createSummaryValue");function bt(n,a){if(n!=null){let{value:o}=n;if(!ae(o))return Et(o)?E(a==null?void 0:a.name,o):E(o)}return null}l(bt,"createDefaultValue");function ke({name:n,value:a,elements:o,raw:i}){return a??(o!=null?o.map(ke).join(" | "):i??n)}l(ke,"generateUnionElement");function Pt({name:n,raw:a,elements:o}){return o!=null?E(o.map(ke).join(" | ")):a!=null?E(a.replace(/^\|\s*/,"")):E(n)}l(Pt,"generateUnion");function St({type:n,raw:a}){return a!=null?E(a):E(n)}l(St,"generateFuncSignature");function vt({type:n,raw:a}){return a!=null?xe(a)?E(n,a):E(a):E(n)}l(vt,"generateObjectSignature");function xt(n){let{type:a}=n;return a==="object"?vt(n):St(n)}l(xt,"generateSignature");function kt({name:n,raw:a}){return a!=null?xe(a)?E(n,a):E(a):E(n)}l(kt,"generateDefault");function Ot(n){if(n==null)return null;switch(n.name){case"union":return Pt(n);case"signature":return xt(n);default:return kt(n)}}l(Ot,"createType");var Gn=l((n,a)=>{let{flowType:o,description:i,required:p,defaultValue:u}=a;return{name:n,type:Ot(o),required:p,description:i,defaultValue:bt(u??null,o??null)}},"createFlowPropDef");function It({defaultValue:n}){if(n!=null){let{value:a}=n;if(!ae(a))return E(a)}return null}l(It,"createDefaultValue");function At({tsType:n,required:a}){if(n==null)return null;let o=n.name;return a||(o=o.replace(" | undefined","")),E(["Array","Record","signature"].includes(n.name)?n.raw:o)}l(At,"createType");var Wn=l((n,a)=>{let{description:o,required:i}=a;return{name:n,type:At(a),required:i,description:o,defaultValue:It(a)}},"createTsPropDef");function Rt(n){return n!=null?E(n.name):null}l(Rt,"createType");function _t(n){let{computed:a,func:o}=n;return typeof a>"u"&&typeof o>"u"}l(_t,"isReactDocgenTypescript");function Ft(n){return n?n.name==="string"?!0:n.name==="enum"?Array.isArray(n.value)&&n.value.every(({value:a})=>typeof a=="string"&&a[0]==='"'&&a[a.length-1]==='"'):!1:!1}l(Ft,"isStringValued");function Lt(n,a){if(n!=null){let{value:o}=n;if(!ae(o))return _t(n)&&Ft(a)?E(JSON.stringify(o)):E(o)}return null}l(Lt,"createDefaultValue");function Oe(n,a,o){let{description:i,required:p,defaultValue:u}=o;return{name:n,type:Rt(a),required:p,description:i,defaultValue:Lt(u,a)}}l(Oe,"createBasicPropDef");function W(n,a){var o;if(a!=null&&a.includesJsDoc){let{description:i,extractedTags:p}=a;i!=null&&(n.description=a.description);let u={...p,params:(o=p==null?void 0:p.params)==null?void 0:o.map(y=>({name:y.getPrettyName(),description:y.description}))};Object.values(u).filter(Boolean).length>0&&(n.jsDocTags=u)}return n}l(W,"applyJsDocResult");var Xn=l((n,a,o)=>{let i=Oe(n,a.type,a);return i.sbType=we(a),W(i,o)},"javaScriptFactory"),Qn=l((n,a,o)=>{let i=Wn(n,a);return i.sbType=we(a),W(i,o)},"tsFactory"),Hn=l((n,a,o)=>{let i=Gn(n,a);return i.sbType=we(a),W(i,o)},"flowFactory"),zn=l((n,a,o)=>{let i=Oe(n,{name:"unknown"},a);return W(i,o)},"unknownFactory"),jt=l(n=>{switch(n){case"JavaScript":return Xn;case"TypeScript":return Qn;case"Flow":return Hn;default:return zn}},"getPropDefFactory"),Ut=l(n=>n.type!=null?"JavaScript":n.flowType!=null?"Flow":n.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),Zn=l(n=>{let a=Ut(n[0]),o=jt(a);return n.map(i=>{var u;let p=i;return(u=i.type)!=null&&u.elements&&(p={...i,type:{...i.type,value:i.type.elements}}),Ie(p.name,p,a,o)})},"extractComponentSectionArray"),er=l(n=>{let a=Object.keys(n),o=Ut(n[a[0]]),i=jt(o);return a.map(p=>{let u=n[p];return u!=null?Ie(p,u,o,i):null}).filter(Boolean)},"extractComponentSectionObject"),or=l((n,a)=>{let o=We(n,a);return Ge(o)?Array.isArray(o)?Zn(o):er(o):[]},"extractComponentProps");function Ie(n,a,o,i){let p=Cn(a.description);return p.includesJsDoc&&p.ignore?null:{propDef:i(n,a,p),jsDocTags:p.extractedTags,docgenInfo:a,typeSystem:o}}l(Ie,"extractProp");function tr(n){return n!=null?Xe(n):""}l(tr,"extractComponentDescription");const{combineParameters:nr}=__STORYBOOK_MODULE_PREVIEW_API__;var sr=l(n=>{let{component:a,argTypes:o,parameters:{docs:i={}}}=n,{extractArgTypes:p}=i,u=p&&a?p(a):{};return u?nr(u,o):o},"enhanceArgTypes"),rr="storybook/docs",ir=`${rr}/snippet-rendered`,ar=(n=>(n.AUTO="auto",n.CODE="code",n.DYNAMIC="dynamic",n))(ar||{});export{xe as B,We as Y,Et as a,sr as c,ar as g,Ln as j,E as l,tr as n,or as o,ir as y,Ne as z}; diff --git a/docs/assets/index-DwOlTBOG.js b/docs/assets/index-npCMkmsx.js similarity index 84% rename from docs/assets/index-DwOlTBOG.js rename to docs/assets/index-npCMkmsx.js index 5331e9f..189148f 100644 --- a/docs/assets/index-DwOlTBOG.js +++ b/docs/assets/index-npCMkmsx.js @@ -1 +1 @@ -import{R as e}from"./index-2yJIXLcc.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function m(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{m as MDXProvider,u as useMDXComponents}; +import{R as e}from"./index-CZMpeKRu.js";const o={},c=e.createContext(o);function u(n){const t=e.useContext(c);return e.useMemo(function(){return typeof n=="function"?n(t):{...t,...n}},[t,n])}function m(n){let t;return n.disableParentContext?t=typeof n.components=="function"?n.components(o):n.components||o:t=u(n.components),e.createElement(c.Provider,{value:t},n.children)}export{m as MDXProvider,u as useMDXComponents}; diff --git a/docs/assets/index-ogSvIofg.js b/docs/assets/index-ogSvIofg.js new file mode 100644 index 0000000..ec77fb8 --- /dev/null +++ b/docs/assets/index-ogSvIofg.js @@ -0,0 +1,6 @@ +function l(u){for(var d=[],i=1;i{const i=window.matchMedia("(prefers-color-scheme: dark)").matches,[c,m]=s.useState(i?e.dark:e.light);return s.useEffect(()=>{const o=h=>{m(h?e.dark:e.light)};return t.context.channel.on(n,o),()=>{t.context.channel.removeListener(n,o)}},[t.context.channel]),d.jsx(l,{...t,theme:{...r,...c,...a}})},w={parameters:{docs:{toc:!0,container:p,source:{language:"tsx"}},darkMode:{stylePreview:!0,dark:{...r,...e.dark,...a},light:{...r,...e.light,...a}}}};export{w as default,w as preview}; diff --git a/docs/assets/preview-D1OnRonx.js b/docs/assets/preview-D1OnRonx.js deleted file mode 100644 index fa68723..0000000 --- a/docs/assets/preview-D1OnRonx.js +++ /dev/null @@ -1,2 +0,0 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-C-lwOz6c.js","./iframe-WubvJSwf.js","./index-2yJIXLcc.js","./index-BZ6JnuF_.js","./index-BoIHHXGu.js","./index-Bn05qqr6.js","./index-BriWrUx_.js","./index-CHGET4sZ.js","./index-DrFu-skq.js","./react-18-CXVsXkgG.js"])))=>i.map(i=>d[i]); -import{_ as a}from"./iframe-WubvJSwf.js";import"../sb-preview/runtime.js";var i=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,o]=r;return o.excludeFromDocsStories&&(e[t]=!0),e},{}),d={docs:{renderer:async()=>{let{DocsRenderer:e}=await a(()=>import("./DocsRenderer-CFRXHY34-C-lwOz6c.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>i[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{d as parameters}; diff --git a/docs/assets/preview-DFhThGZO.js b/docs/assets/preview-DFhThGZO.js new file mode 100644 index 0000000..bb1ee56 --- /dev/null +++ b/docs/assets/preview-DFhThGZO.js @@ -0,0 +1 @@ +import"./index-BfiLiMku.js";const{STORY_CHANGED:O,SELECT_STORY:l}=__STORYBOOK_MODULE_CORE_EVENTS__,{makeDecorator:E,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__,{global:L}=__STORYBOOK_MODULE_GLOBAL__;var c="links",{document:s,HTMLElement:m}=L,v=e=>_.getChannel().emit(l,e),i=e=>{let{target:t}=e;if(!(t instanceof m))return;let o=t,{sbKind:a,sbStory:r}=o.dataset;(a||r)&&(e.preventDefault(),v({kind:a,story:r}))},n=!1,d=()=>{n||(n=!0,s.addEventListener("click",i))},k=()=>{n&&(n=!1,s.removeEventListener("click",i))},R=E({name:"withLinks",parameterName:c,wrapper:(e,t)=>(d(),_.getChannel().once(O,k),e(t))}),T=[R];export{T as decorators}; diff --git a/docs/assets/preview-DFmD0pui.js b/docs/assets/preview-DFmD0pui.js deleted file mode 100644 index 58e38a8..0000000 --- a/docs/assets/preview-DFmD0pui.js +++ /dev/null @@ -1 +0,0 @@ -var e="viewport",o={[e]:{value:void 0,isRotated:!1}},t={viewport:"reset",viewportRotated:!1},r=FEATURES!=null&&FEATURES.viewportStoryGlobals?o:t;export{r as initialGlobals}; diff --git a/docs/assets/preview-BWzBA1C2.js b/docs/assets/preview-DY_pW_WS.js similarity index 99% rename from docs/assets/preview-BWzBA1C2.js rename to docs/assets/preview-DY_pW_WS.js index 38fec57..730fd3a 100644 --- a/docs/assets/preview-BWzBA1C2.js +++ b/docs/assets/preview-DY_pW_WS.js @@ -1,4 +1,4 @@ -import{d as $}from"./index-DrFu-skq.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var m="outline",u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}};function s(i){return $` +import{d as $}from"./index-ogSvIofg.js";const{useMemo:x,useEffect:f}=__STORYBOOK_MODULE_PREVIEW_API__,{global:p}=__STORYBOOK_MODULE_GLOBAL__;var m="outline",u=i=>{(Array.isArray(i)?i:[i]).forEach(r)},r=i=>{let t=typeof i=="string"?i:i.join(""),o=p.document.getElementById(t);o&&o.parentElement&&o.parentElement.removeChild(o)},b=(i,t)=>{let o=p.document.getElementById(i);if(o)o.innerHTML!==t&&(o.innerHTML=t);else{let n=p.document.createElement("style");n.setAttribute("id",i),n.innerHTML=t,p.document.head.appendChild(n)}};function s(i){return $` ${i} body { outline: 1px solid #2980b9 !important; } diff --git a/docs/assets/preview-DarttgvO.js b/docs/assets/preview-DarttgvO.js new file mode 100644 index 0000000..4185fde --- /dev/null +++ b/docs/assets/preview-DarttgvO.js @@ -0,0 +1 @@ +import{N as e,j as d}from"./index-Dja51o-9.js";import{r as s}from"./index-CZMpeKRu.js";import{b as l}from"./index-BQHE_i7f.js";import{D as n}from"./index-BwhLTrJS.js";import"./index-D-TIQtLp.js";import"./iframe-C46LtgJg.js";import"./index-BfiLiMku.js";import"./index-NOh9rqHv.js";import"./index-ogSvIofg.js";const r={base:"light",brandTitle:"React Activity Calendar",brandUrl:"https://github.com/grubersjoe/react-activity-calendar"},a={fontBase:"ui-sans-serif, sans-serif",fontCode:"ui-monospace, monospace"},u=t=>{const i=window.matchMedia("(prefers-color-scheme: dark)").matches,[c,m]=s.useState(i?e.dark:e.light);return s.useEffect(()=>{const o=h=>{m(h?e.dark:e.light)};return t.context.channel.on(n,o),()=>{t.context.channel.removeListener(n,o)}},[t.context.channel]),d.jsx(l,{...t,theme:{...r,...c,...a}})},j={parameters:{docs:{toc:!0,container:u,source:{language:"tsx"}},darkMode:{stylePreview:!0,dark:{...r,...e.dark,...a},light:{...r,...e.light,...a}}}};export{j as default,j as preview}; diff --git a/docs/assets/preview-DjdjzdfI.js b/docs/assets/preview-DjdjzdfI.js new file mode 100644 index 0000000..1dca456 --- /dev/null +++ b/docs/assets/preview-DjdjzdfI.js @@ -0,0 +1,2 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DocsRenderer-CFRXHY34-Dhqwvr-G.js","./iframe-C46LtgJg.js","./index-CZMpeKRu.js","./index-BQHE_i7f.js","./index-Dja51o-9.js","./index-D-TIQtLp.js","./index-BfiLiMku.js","./index-NOh9rqHv.js","./index-ogSvIofg.js","./react-18-BIATD0Zn.js"])))=>i.map(i=>d[i]); +import{_ as o}from"./iframe-C46LtgJg.js";var s=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,r)=>{let[t,a]=r;return a.excludeFromDocsStories&&(e[t]=!0),e},{}),l={docs:{renderer:async()=>{let{DocsRenderer:e}=await o(()=>import("./DocsRenderer-CFRXHY34-Dhqwvr-G.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9]),import.meta.url);return new e},stories:{filter:e=>{var r;return(e.tags||[]).filter(t=>s[t]).length===0&&!((r=e.parameters.docs)!=null&&r.disable)}}}};export{l as parameters}; diff --git a/docs/assets/preview-Zk6Lo_wo.js b/docs/assets/preview-Zk6Lo_wo.js new file mode 100644 index 0000000..15d52ee --- /dev/null +++ b/docs/assets/preview-Zk6Lo_wo.js @@ -0,0 +1 @@ +var e="viewport",t={[e]:{value:void 0,isRotated:!1}},a={viewport:"reset",viewportRotated:!1},o=FEATURES!=null&&FEATURES.viewportStoryGlobals?t:a;export{o as initialGlobals}; diff --git a/docs/assets/preview-D77C14du.js b/docs/assets/preview-iUmqt_lp.js similarity index 58% rename from docs/assets/preview-D77C14du.js rename to docs/assets/preview-iUmqt_lp.js index e5a4f3c..9dc0d6e 100644 --- a/docs/assets/preview-D77C14du.js +++ b/docs/assets/preview-iUmqt_lp.js @@ -1,28 +1,28 @@ -import{d as Y}from"./index-DrFu-skq.js";const{useEffect:_,useMemo:h}=__STORYBOOK_MODULE_PREVIEW_API__,{global:H}=__STORYBOOK_MODULE_GLOBAL__,{logger:K}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var g="backgrounds",C={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:$,window:T}=H,I=()=>{var r;return!!((r=T==null?void 0:T.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&r.matches)},A=r=>{(Array.isArray(r)?r:[r]).forEach(P)},P=r=>{var t;let e=$.getElementById(r);e&&((t=e.parentElement)==null||t.removeChild(e))},z=(r,e)=>{let t=$.getElementById(r);if(t)t.innerHTML!==e&&(t.innerHTML=e);else{let d=$.createElement("style");d.setAttribute("id",r),d.innerHTML=e,$.head.appendChild(d)}},U=(r,e,t)=>{var a;let d=$.getElementById(r);if(d)d.innerHTML!==e&&(d.innerHTML=e);else{let o=$.createElement("style");o.setAttribute("id",r),o.innerHTML=e;let i=`addon-backgrounds-grid${t?`-docs-${t}`:""}`,n=$.getElementById(i);n?(a=n.parentElement)==null||a.insertBefore(o,n):$.head.appendChild(o)}},j={cellSize:100,cellAmount:10,opacity:.8},w="addon-backgrounds",R="addon-backgrounds-grid",X=I()?"":"transition: background-color 0.3s;",N=(r,e)=>{let{globals:t,parameters:d,viewMode:a,id:o}=e,{options:i=C,disable:n,grid:s=j}=d[g]||{},c=t[g]||{},u=c.value,l=u?i[u]:void 0,b=(l==null?void 0:l.value)||"transparent",f=c.grid||!1,y=!!l&&!n,m=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",E=a==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",D=d.layout===void 0||d.layout==="padded",L=a==="docs"?20:D?16:0,{cellAmount:k,cellSize:p,opacity:x,offsetX:v=L,offsetY:S=L}=s,B=a==="docs"?`${w}-docs-${o}`:`${w}-color`,G=a==="docs"?o:null;_(()=>{let O=` - ${m} { +import{d as Y}from"./index-ogSvIofg.js";const{useEffect:_,useMemo:h}=__STORYBOOK_MODULE_PREVIEW_API__,{global:H}=__STORYBOOK_MODULE_GLOBAL__,{logger:K}=__STORYBOOK_MODULE_CLIENT_LOGGER__;var g="backgrounds",C={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:$,window:T}=H,I=()=>{var r;return!!((r=T==null?void 0:T.matchMedia("(prefers-reduced-motion: reduce)"))!=null&&r.matches)},A=r=>{(Array.isArray(r)?r:[r]).forEach(P)},P=r=>{var t;let e=$.getElementById(r);e&&((t=e.parentElement)==null||t.removeChild(e))},z=(r,e)=>{let t=$.getElementById(r);if(t)t.innerHTML!==e&&(t.innerHTML=e);else{let d=$.createElement("style");d.setAttribute("id",r),d.innerHTML=e,$.head.appendChild(d)}},U=(r,e,t)=>{var a;let d=$.getElementById(r);if(d)d.innerHTML!==e&&(d.innerHTML=e);else{let n=$.createElement("style");n.setAttribute("id",r),n.innerHTML=e;let i=`addon-backgrounds-grid${t?`-docs-${t}`:""}`,o=$.getElementById(i);o?(a=o.parentElement)==null||a.insertBefore(n,o):$.head.appendChild(n)}},j={cellSize:100,cellAmount:10,opacity:.8},w="addon-backgrounds",R="addon-backgrounds-grid",X=I()?"":"transition: background-color 0.3s;",N=(r,e)=>{let{globals:t,parameters:d,viewMode:a,id:n}=e,{options:i=C,disable:o,grid:s=j}=d[g]||{},u=t[g]||{},c=u.value,l=c?i[c]:void 0,b=(l==null?void 0:l.value)||"transparent",m=u.grid||!1,y=!!l&&!o,f=a==="docs"?`#anchor--${n} .docs-story`:".sb-show-main",E=a==="docs"?`#anchor--${n} .docs-story`:".sb-show-main",D=d.layout===void 0||d.layout==="padded",L=a==="docs"?20:D?16:0,{cellAmount:k,cellSize:p,opacity:x,offsetX:S=L,offsetY:v=L}=s,B=a==="docs"?`${w}-docs-${n}`:`${w}-color`,G=a==="docs"?n:null;_(()=>{let O=` + ${f} { background: ${b} !important; ${X} - }`;if(!y){A(B);return}U(B,O,G)},[m,B,G,y,b]);let M=a==="docs"?`${R}-docs-${o}`:`${R}`;return _(()=>{if(!f){A(M);return}let O=[`${p*k}px ${p*k}px`,`${p*k}px ${p*k}px`,`${p}px ${p}px`,`${p}px ${p}px`].join(", "),F=` + }`;if(!y){A(B);return}U(B,O,G)},[f,B,G,y,b]);let M=a==="docs"?`${R}-docs-${n}`:`${R}`;return _(()=>{if(!m){A(M);return}let O=[`${p*k}px ${p*k}px`,`${p*k}px ${p*k}px`,`${p}px ${p}px`,`${p}px ${p}px`].join(", "),F=` ${E} { background-size: ${O} !important; - background-position: ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px, ${v}px ${S}px !important; + background-position: ${S}px ${v}px, ${S}px ${v}px, ${S}px ${v}px, ${S}px ${v}px !important; background-blend-mode: difference !important; background-image: linear-gradient(rgba(130, 130, 130, ${x}) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 130, 130, ${x}) 1px, transparent 1px), linear-gradient(rgba(130, 130, 130, ${x/2}) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 130, 130, ${x/2}) 1px, transparent 1px) !important; } - `;z(M,F)},[k,p,E,M,f,v,S,x]),r()},W=(r,e=[],t)=>{if(r==="transparent")return"transparent";if(e.find(a=>a.value===r)||r)return r;let d=e.find(a=>a.name===t);if(d)return d.value;if(t){let a=e.map(o=>o.name).join(", ");K.warn(Y` + `;z(M,F)},[k,p,E,M,m,S,v,x]),r()},W=(r,e=[],t)=>{if(r==="transparent")return"transparent";if(e.find(a=>a.value===r)||r)return r;let d=e.find(a=>a.name===t);if(d)return d.value;if(t){let a=e.map(n=>n.name).join(", ");K.warn(Y` Backgrounds Addon: could not find the default color "${t}". These are the available colors for your story based on your configuration: ${a}. - `)}return"transparent"},q=(r,e)=>{var u;let{globals:t,parameters:d}=e,a=(u=t[g])==null?void 0:u.value,o=d[g],i=h(()=>o.disable?"transparent":W(a,o.values,o.default),[o,a]),n=h(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",c=h(()=>` + `)}return"transparent"},q=(r,e)=>{var c;let{globals:t,parameters:d}=e,a=(c=t[g])==null?void 0:c.value,n=d[g],i=h(()=>n.disable?"transparent":W(a,n.values,n.default),[n,a]),o=h(()=>i&&i!=="transparent",[i]),s=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",u=h(()=>` ${s} { background: ${i} !important; ${I()?"":"transition: background-color 0.3s;"} } - `,[i,s]);return _(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!n){A(l);return}U(l,c,e.viewMode==="docs"?e.id:null)},[n,c,e]),r()},J=(r,e)=>{var y;let{globals:t,parameters:d}=e,a=d[g].grid,o=((y=t[g])==null?void 0:y.grid)===!0&&a.disable!==!0,{cellAmount:i,cellSize:n,opacity:s}=a,c=e.viewMode==="docs",u=d.layout===void 0||d.layout==="padded"?16:0,l=a.offsetX??(c?20:u),b=a.offsetY??(c?20:u),f=h(()=>{let m=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",E=[`${n*i}px ${n*i}px`,`${n*i}px ${n*i}px`,`${n}px ${n}px`,`${n}px ${n}px`].join(", ");return` - ${m} { + `,[i,s]);return _(()=>{let l=e.viewMode==="docs"?`addon-backgrounds-docs-${e.id}`:"addon-backgrounds-color";if(!o){A(l);return}U(l,u,e.viewMode==="docs"?e.id:null)},[o,u,e]),r()},J=(r,e)=>{var y;let{globals:t,parameters:d}=e,a=d[g].grid,n=((y=t[g])==null?void 0:y.grid)===!0&&a.disable!==!0,{cellAmount:i,cellSize:o,opacity:s}=a,u=e.viewMode==="docs",c=d.layout===void 0||d.layout==="padded"?16:0,l=a.offsetX??(u?20:c),b=a.offsetY??(u?20:c),m=h(()=>{let f=e.viewMode==="docs"?`#anchor--${e.id} .docs-story`:".sb-show-main",E=[`${o*i}px ${o*i}px`,`${o*i}px ${o*i}px`,`${o}px ${o}px`,`${o}px ${o}px`].join(", ");return` + ${f} { background-size: ${E} !important; background-position: ${l}px ${b}px, ${l}px ${b}px, ${l}px ${b}px, ${l}px ${b}px !important; background-blend-mode: difference !important; @@ -31,4 +31,4 @@ import{d as Y}from"./index-DrFu-skq.js";const{useEffect:_,useMemo:h}=__STORYBOOK linear-gradient(rgba(130, 130, 130, ${s/2}) 1px, transparent 1px), linear-gradient(90deg, rgba(130, 130, 130, ${s/2}) 1px, transparent 1px) !important; } - `},[n]);return _(()=>{let m=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!o){A(m);return}z(m,f)},[o,f,e]),r()},V=FEATURES!=null&&FEATURES.backgroundsStoryGlobals?[N]:[J,q],ee={[g]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!(FEATURES!=null&&FEATURES.backgroundsStoryGlobals)&&{values:Object.values(C)}}},Q={[g]:{value:void 0,grid:!1}},re=FEATURES!=null&&FEATURES.backgroundsStoryGlobals?Q:{[g]:null};export{V as decorators,re as initialGlobals,ee as parameters}; + `},[o]);return _(()=>{let f=e.viewMode==="docs"?`addon-backgrounds-grid-docs-${e.id}`:"addon-backgrounds-grid";if(!n){A(f);return}z(f,m)},[n,m,e]),r()},V=FEATURES!=null&&FEATURES.backgroundsStoryGlobals?[N]:[J,q],ee={[g]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1,...!(FEATURES!=null&&FEATURES.backgroundsStoryGlobals)&&{values:Object.values(C)}}},Q={[g]:{value:void 0,grid:!1}},re=FEATURES!=null&&FEATURES.backgroundsStoryGlobals?Q:{[g]:null};export{V as decorators,re as initialGlobals,ee as parameters}; diff --git a/docs/assets/preview-xen1ADC0.js b/docs/assets/preview-xen1ADC0.js deleted file mode 100644 index e8f7f12..0000000 --- a/docs/assets/preview-xen1ADC0.js +++ /dev/null @@ -1 +0,0 @@ -import"./index-BriWrUx_.js";const{STORY_CHANGED:O,SELECT_STORY:E}=__STORYBOOK_MODULE_CORE_EVENTS__,{makeDecorator:l,addons:_}=__STORYBOOK_MODULE_PREVIEW_API__,{global:L}=__STORYBOOK_MODULE_GLOBAL__;var c="links",{document:i,HTMLElement:m}=L,v=e=>_.getChannel().emit(E,e),o=e=>{let{target:t}=e;if(!(t instanceof m))return;let s=t,{sbKind:a,sbStory:r}=s.dataset;(a||r)&&(e.preventDefault(),v({kind:a,story:r}))},n=!1,d=()=>{n||(n=!0,i.addEventListener("click",o))},k=()=>{n&&(n=!1,i.removeEventListener("click",o))},R=l({name:"withLinks",parameterName:c,wrapper:(e,t)=>(d(),_.getChannel().once(O,k),e(t))}),T=[R];export{T as decorators}; diff --git a/docs/assets/react--gDPKqWp.js b/docs/assets/react--gDPKqWp.js new file mode 100644 index 0000000..7f6fcce --- /dev/null +++ b/docs/assets/react--gDPKqWp.js @@ -0,0 +1 @@ +var u=Object.create,_=Object.defineProperty,c=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,s=Object.getPrototypeOf,l=Object.prototype.hasOwnProperty,O=(e,r)=>function(){return e&&(r=(0,e[a(e)[0]])(e=0)),r},b=(e,r)=>function(){return r||(0,e[a(e)[0]])((r={exports:{}}).exports,r),r.exports},v=(e,r)=>{for(var t in r)_(e,t,{get:r[t],enumerable:!0})},p=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of a(r))!l.call(e,o)&&o!==t&&_(e,o,{get:()=>r[o],enumerable:!(n=c(r,o))||n.enumerable});return e},y=(e,r,t)=>(t=e!=null?u(s(e)):{},p(!e||!e.__esModule?_(t,"default",{value:e,enumerable:!0}):t,e)),P=e=>p(_({},"__esModule",{value:!0}),e);const i=Object.freeze(Object.defineProperty({__proto__:null},Symbol.toStringTag,{value:"Module"}));export{v as _,y as a,b,O as c,P as d,i as r}; diff --git a/docs/assets/react-18-BIATD0Zn.js b/docs/assets/react-18-BIATD0Zn.js new file mode 100644 index 0000000..2ff351f --- /dev/null +++ b/docs/assets/react-18-BIATD0Zn.js @@ -0,0 +1,25 @@ +import{a as av,r as wc}from"./index-CZMpeKRu.js";import{r as tv}from"./index-D-TIQtLp.js";var pc={exports:{}},Se={},Jc={exports:{}},rc={};/** + * @license React + * scheduler.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var qd;function ev(){return qd||(qd=1,function(E){function nl(A,R){var H=A.length;A.push(R);l:for(;0>>1,F=A[p];if(0>>1;pfu(du,H))Xfu(Nl,du)?(A[p]=Nl,A[X]=H,p=X):(A[p]=du,A[ea]=H,p=ea);else if(Xfu(Nl,H))A[p]=Nl,A[X]=H,p=X;else break l}}return R}function fu(A,R){var H=A.sortIndex-R.sortIndex;return H!==0?H:A.id-R.id}if(E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var mt=performance;E.unstable_now=function(){return mt.now()}}else{var Fu=Date,Pu=Fu.now();E.unstable_now=function(){return Fu.now()-Pu}}var sl=[],pl=[],St=1,Al=null,al=3,El=!1,Jl=!1,cu=!1,_a=typeof setTimeout=="function"?setTimeout:null,Ra=typeof clearTimeout=="function"?clearTimeout:null,rl=typeof setImmediate<"u"?setImmediate:null;function Iu(A){for(var R=V(pl);R!==null;){if(R.callback===null)g(pl);else if(R.startTime<=A)g(pl),R.sortIndex=R.expirationTime,nl(sl,R);else break;R=V(pl)}}function gt(A){if(cu=!1,Iu(A),!Jl)if(V(sl)!==null)Jl=!0,aa();else{var R=V(pl);R!==null&&ta(gt,R.startTime-A)}}var la=!1,wl=-1,ge=5,oa=-1;function U(){return!(E.unstable_now()-oaA&&U());){var p=Al.callback;if(typeof p=="function"){Al.callback=null,al=Al.priorityLevel;var F=p(Al.expirationTime<=A);if(A=E.unstable_now(),typeof F=="function"){Al.callback=F,Iu(A),R=!0;break u}Al===V(sl)&&g(sl),Iu(A)}else g(sl);Al=V(sl)}if(Al!==null)R=!0;else{var qa=V(pl);qa!==null&&ta(gt,qa.startTime-A),R=!1}}break l}finally{Al=null,al=H,El=!1}R=void 0}}finally{R?iu():la=!1}}}var iu;if(typeof rl=="function")iu=function(){rl(Z)};else if(typeof MessageChannel<"u"){var bt=new MessageChannel,ua=bt.port2;bt.port1.onmessage=Z,iu=function(){ua.postMessage(null)}}else iu=function(){_a(Z,0)};function aa(){la||(la=!0,iu())}function ta(A,R){wl=_a(function(){A(E.unstable_now())},R)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(A){A.callback=null},E.unstable_continueExecution=function(){Jl||El||(Jl=!0,aa())},E.unstable_forceFrameRate=function(A){0>A||125p?(A.sortIndex=H,nl(pl,A),V(sl)===null&&A===V(pl)&&(cu?(Ra(wl),wl=-1):cu=!0,ta(gt,H-p))):(A.sortIndex=F,nl(sl,A),Jl||El||(Jl=!0,aa())),A},E.unstable_shouldYield=U,E.unstable_wrapCallback=function(A){var R=al;return function(){var H=al;al=R;try{return A.apply(this,arguments)}finally{al=H}}}}(rc)),rc}var Nd;function nv(){return Nd||(Nd=1,Jc.exports=ev()),Jc.exports}/** + * @license React + * react-dom-client.production.js + * + * Copyright (c) Meta Platforms, Inc. and affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var Bd;function fv(){if(Bd)return Se;Bd=1;var E=nv(),nl=av(),V=tv();function g(l){var u="https://react.dev/errors/"+l;if(1)":-1e||i[t]!==h[e]){var S=` +`+i[t].replace(" at new "," at ");return l.displayName&&S.includes("")&&(S=S.replace("",l.displayName)),S}while(1<=t&&0<=e);break}}}finally{aa=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?ua(a):""}function A(l){switch(l.tag){case 26:case 27:case 5:return ua(l.type);case 16:return ua("Lazy");case 13:return ua("Suspense");case 19:return ua("SuspenseList");case 0:case 15:return l=ta(l.type,!1),l;case 11:return l=ta(l.type.render,!1),l;case 1:return l=ta(l.type,!0),l;default:return""}}function R(l){try{var u="";do u+=A(l),l=l.return;while(l);return u}catch(a){return` +Error generating stack: `+a.message+` +`+a.stack}}function H(l){var u=l,a=l;if(l.alternate)for(;u.return;)u=u.return;else{l=u;do u=l,u.flags&4098&&(a=u.return),l=u.return;while(l)}return u.tag===3?a:null}function p(l){if(l.tag===13){var u=l.memoizedState;if(u===null&&(l=l.alternate,l!==null&&(u=l.memoizedState)),u!==null)return u.dehydrated}return null}function F(l){if(H(l)!==l)throw Error(g(188))}function qa(l){var u=l.alternate;if(!u){if(u=H(l),u===null)throw Error(g(188));return u!==l?null:l}for(var a=l,t=u;;){var e=a.return;if(e===null)break;var n=e.alternate;if(n===null){if(t=e.return,t!==null){a=t;continue}break}if(e.child===n.child){for(n=e.child;n;){if(n===a)return F(e),l;if(n===t)return F(e),u;n=n.sibling}throw Error(g(188))}if(a.return!==t.return)a=e,t=n;else{for(var f=!1,c=e.child;c;){if(c===a){f=!0,a=e,t=n;break}if(c===t){f=!0,t=e,a=n;break}c=c.sibling}if(!f){for(c=n.child;c;){if(c===a){f=!0,a=n,t=e;break}if(c===t){f=!0,t=n,a=e;break}c=c.sibling}if(!f)throw Error(g(189))}}if(a.alternate!==t)throw Error(g(190))}if(a.tag!==3)throw Error(g(188));return a.stateNode.current===a?l:u}function ea(l){var u=l.tag;if(u===5||u===26||u===27||u===6)return l;for(l=l.child;l!==null;){if(u=ea(l),u!==null)return u;l=l.sibling}return null}var du=Array.isArray,X=V.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nl={pending:!1,data:null,method:null,action:null},Yn=[],Na=-1;function Pl(l){return{current:l}}function fl(l){0>Na||(l.current=Yn[Na],Yn[Na]=null,Na--)}function J(l,u){Na++,Yn[Na]=l.current,l.current=u}var Il=Pl(null),zt=Pl(null),_u=Pl(null),be=Pl(null);function ze(l,u){switch(J(_u,u),J(zt,l),J(Il,null),l=u.nodeType,l){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?nd(u):0;break;default:if(l=l===8?u.parentNode:u,u=l.tagName,l=l.namespaceURI)l=nd(l),u=fd(l,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}fl(Il),J(Il,u)}function Ba(){fl(Il),fl(zt),fl(_u)}function Xn(l){l.memoizedState!==null&&J(be,l);var u=Il.current,a=fd(u,l.type);u!==a&&(J(zt,l),J(Il,a))}function Ae(l){zt.current===l&&(fl(Il),fl(zt)),be.current===l&&(fl(be),he._currentValue=Nl)}var Gn=Object.prototype.hasOwnProperty,Qn=E.unstable_scheduleCallback,Zn=E.unstable_cancelCallback,Xd=E.unstable_shouldYield,Gd=E.unstable_requestPaint,lu=E.unstable_now,Qd=E.unstable_getCurrentPriorityLevel,Wc=E.unstable_ImmediatePriority,$c=E.unstable_UserBlockingPriority,Ee=E.unstable_NormalPriority,Zd=E.unstable_LowPriority,kc=E.unstable_IdlePriority,Vd=E.log,jd=E.unstable_setDisableYieldValue,At=null,Ol=null;function Cd(l){if(Ol&&typeof Ol.onCommitFiberRoot=="function")try{Ol.onCommitFiberRoot(At,l,void 0,(l.current.flags&128)===128)}catch{}}function Ru(l){if(typeof Vd=="function"&&jd(l),Ol&&typeof Ol.setStrictMode=="function")try{Ol.setStrictMode(At,l)}catch{}}var Ul=Math.clz32?Math.clz32:xd,Kd=Math.log,Ld=Math.LN2;function xd(l){return l>>>=0,l===0?32:31-(Kd(l)/Ld|0)|0}var Te=128,De=4194304;function na(l){var u=l&42;if(u!==0)return u;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function Me(l,u){var a=l.pendingLanes;if(a===0)return 0;var t=0,e=l.suspendedLanes,n=l.pingedLanes,f=l.warmLanes;l=l.finishedLanes!==0;var c=a&134217727;return c!==0?(a=c&~e,a!==0?t=na(a):(n&=c,n!==0?t=na(n):l||(f=c&~f,f!==0&&(t=na(f))))):(c=a&~e,c!==0?t=na(c):n!==0?t=na(n):l||(f=a&~f,f!==0&&(t=na(f)))),t===0?0:u!==0&&u!==t&&!(u&e)&&(e=t&-t,f=u&-u,e>=f||e===32&&(f&4194176)!==0)?u:t}function Et(l,u){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&u)===0}function pd(l,u){switch(l){case 1:case 2:case 4:case 8:return u+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Fc(){var l=Te;return Te<<=1,!(Te&4194176)&&(Te=128),l}function Pc(){var l=De;return De<<=1,!(De&62914560)&&(De=4194304),l}function Vn(l){for(var u=[],a=0;31>a;a++)u.push(l);return u}function Tt(l,u){l.pendingLanes|=u,u!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Jd(l,u,a,t,e,n){var f=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var c=l.entanglements,i=l.expirationTimes,h=l.hiddenUpdates;for(a=f&~a;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),$d=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),fi={},ci={};function kd(l){return Gn.call(ci,l)?!0:Gn.call(fi,l)?!1:$d.test(l)?ci[l]=!0:(fi[l]=!0,!1)}function Oe(l,u,a){if(kd(u))if(a===null)l.removeAttribute(u);else{switch(typeof a){case"undefined":case"function":case"symbol":l.removeAttribute(u);return;case"boolean":var t=u.toLowerCase().slice(0,5);if(t!=="data-"&&t!=="aria-"){l.removeAttribute(u);return}}l.setAttribute(u,""+a)}}function Ue(l,u,a){if(a===null)l.removeAttribute(u);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttribute(u,""+a)}}function su(l,u,a,t){if(t===null)l.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttributeNS(u,a,""+t)}}function Bl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function ii(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Fd(l){var u=ii(l)?"checked":"value",a=Object.getOwnPropertyDescriptor(l.constructor.prototype,u),t=""+l[u];if(!l.hasOwnProperty(u)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var e=a.get,n=a.set;return Object.defineProperty(l,u,{configurable:!0,get:function(){return e.call(this)},set:function(f){t=""+f,n.call(this,f)}}),Object.defineProperty(l,u,{enumerable:a.enumerable}),{getValue:function(){return t},setValue:function(f){t=""+f},stopTracking:function(){l._valueTracker=null,delete l[u]}}}}function He(l){l._valueTracker||(l._valueTracker=Fd(l))}function di(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var a=u.getValue(),t="";return l&&(t=ii(l)?l.checked?"true":"false":l.value),l=t,l!==a?(u.setValue(l),!0):!1}function _e(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Pd=/[\n"\\]/g;function Yl(l){return l.replace(Pd,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function Kn(l,u,a,t,e,n,f,c){l.name="",f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.type=f:l.removeAttribute("type"),u!=null?f==="number"?(u===0&&l.value===""||l.value!=u)&&(l.value=""+Bl(u)):l.value!==""+Bl(u)&&(l.value=""+Bl(u)):f!=="submit"&&f!=="reset"||l.removeAttribute("value"),u!=null?Ln(l,f,Bl(u)):a!=null?Ln(l,f,Bl(a)):t!=null&&l.removeAttribute("value"),e==null&&n!=null&&(l.defaultChecked=!!n),e!=null&&(l.checked=e&&typeof e!="function"&&typeof e!="symbol"),c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.name=""+Bl(c):l.removeAttribute("name")}function hi(l,u,a,t,e,n,f,c){if(n!=null&&typeof n!="function"&&typeof n!="symbol"&&typeof n!="boolean"&&(l.type=n),u!=null||a!=null){if(!(n!=="submit"&&n!=="reset"||u!=null))return;a=a!=null?""+Bl(a):"",u=u!=null?""+Bl(u):a,c||u===l.value||(l.value=u),l.defaultValue=u}t=t??e,t=typeof t!="function"&&typeof t!="symbol"&&!!t,l.checked=c?l.checked:!!t,l.defaultChecked=!!t,f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"&&(l.name=f)}function Ln(l,u,a){u==="number"&&_e(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Za(l,u,a,t){if(l=l.options,u){u={};for(var e=0;e=Rt),Mi=" ",Oi=!1;function Ui(l,u){switch(l){case"keyup":return Hh.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hi(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ka=!1;function Rh(l,u){switch(l){case"compositionend":return Hi(u);case"keypress":return u.which!==32?null:(Oi=!0,Mi);case"textInput":return l=u.data,l===Mi&&Oi?null:l;default:return null}}function oh(l,u){if(Ka)return l==="compositionend"||!In&&Ui(l,u)?(l=bi(),oe=Wn=qu=null,Ka=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:a,offset:u-l};l=t}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=Xi(a)}}function Qi(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?Qi(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function Zi(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var u=_e(l.document);u instanceof l.HTMLIFrameElement;){try{var a=typeof u.contentWindow.location.href=="string"}catch{a=!1}if(a)l=u.contentWindow;else break;u=_e(l.document)}return u}function af(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u&&(u==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||u==="textarea"||l.contentEditable==="true")}function Zh(l,u){var a=Zi(u);u=l.focusedElem;var t=l.selectionRange;if(a!==u&&u&&u.ownerDocument&&Qi(u.ownerDocument.documentElement,u)){if(t!==null&&af(u)){if(l=t.start,a=t.end,a===void 0&&(a=l),"selectionStart"in u)u.selectionStart=l,u.selectionEnd=Math.min(a,u.value.length);else if(a=(l=u.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var e=u.textContent.length,n=Math.min(t.start,e);t=t.end===void 0?n:Math.min(t.end,e),!a.extend&&n>t&&(e=t,t=n,n=e),e=Gi(u,n);var f=Gi(u,t);e&&f&&(a.rangeCount!==1||a.anchorNode!==e.node||a.anchorOffset!==e.offset||a.focusNode!==f.node||a.focusOffset!==f.offset)&&(l=l.createRange(),l.setStart(e.node,e.offset),a.removeAllRanges(),n>t?(a.addRange(l),a.extend(f.node,f.offset)):(l.setEnd(f.node,f.offset),a.addRange(l)))}}for(l=[],a=u;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,La=null,tf=null,Bt=null,ef=!1;function Vi(l,u,a){var t=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;ef||La==null||La!==_e(t)||(t=La,"selectionStart"in t&&af(t)?t={start:t.selectionStart,end:t.selectionEnd}:(t=(t.ownerDocument&&t.ownerDocument.defaultView||window).getSelection(),t={anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}),Bt&&Nt(Bt,t)||(Bt=t,t=bn(tf,"onSelect"),0>=f,e-=f,vu=1<<32-Ul(u)+e|a<O?(hl=M,M=null):hl=M.sibling;var Q=y(s,M,v[O],b);if(Q===null){M===null&&(M=hl);break}l&&M&&Q.alternate===null&&u(s,M),d=n(Q,d,O),q===null?T=Q:q.sibling=Q,q=Q,M=hl}if(O===v.length)return a(s,M),G&&va(s,O),T;if(M===null){for(;OO?(hl=M,M=null):hl=M.sibling;var ku=y(s,M,Q.value,b);if(ku===null){M===null&&(M=hl);break}l&&M&&ku.alternate===null&&u(s,M),d=n(ku,d,O),q===null?T=ku:q.sibling=ku,q=ku,M=hl}if(Q.done)return a(s,M),G&&va(s,O),T;if(M===null){for(;!Q.done;O++,Q=v.next())Q=z(s,Q.value,b),Q!==null&&(d=n(Q,d,O),q===null?T=Q:q.sibling=Q,q=Q);return G&&va(s,O),T}for(M=t(M);!Q.done;O++,Q=v.next())Q=m(M,s,O,Q.value,b),Q!==null&&(l&&Q.alternate!==null&&M.delete(Q.key===null?O:Q.key),d=n(Q,d,O),q===null?T=Q:q.sibling=Q,q=Q);return l&&M.forEach(function(uv){return u(s,uv)}),G&&va(s,O),T}function k(s,d,v,b){if(typeof v=="object"&&v!==null&&v.type===sl&&v.key===null&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case Fu:l:{for(var T=v.key;d!==null;){if(d.key===T){if(T=v.type,T===sl){if(d.tag===7){a(s,d.sibling),b=e(d,v.props.children),b.return=s,s=b;break l}}else if(d.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===rl&&u0(T)===d.type){a(s,d.sibling),b=e(d,v.props),jt(b,v),b.return=s,s=b;break l}a(s,d);break}else u(s,d);d=d.sibling}v.type===sl?(b=Ma(v.props.children,s.mode,b,v.key),b.return=s,s=b):(b=fn(v.type,v.key,v.props,null,s.mode,b),jt(b,v),b.return=s,s=b)}return f(s);case Pu:l:{for(T=v.key;d!==null;){if(d.key===T)if(d.tag===4&&d.stateNode.containerInfo===v.containerInfo&&d.stateNode.implementation===v.implementation){a(s,d.sibling),b=e(d,v.children||[]),b.return=s,s=b;break l}else{a(s,d);break}else u(s,d);d=d.sibling}b=cc(v,s.mode,b),b.return=s,s=b}return f(s);case rl:return T=v._init,v=T(v._payload),k(s,d,v,b)}if(du(v))return D(s,d,v,b);if(wl(v)){if(T=wl(v),typeof T!="function")throw Error(g(150));return v=T.call(v),_(s,d,v,b)}if(typeof v.then=="function")return k(s,d,Ke(v),b);if(v.$$typeof===El)return k(s,d,tn(s,v),b);Le(s,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,d!==null&&d.tag===6?(a(s,d.sibling),b=e(d,v),b.return=s,s=b):(a(s,d),b=fc(v,s.mode,b),b.return=s,s=b),f(s)):a(s,d)}return function(s,d,v,b){try{Vt=0;var T=k(s,d,v,b);return Wa=null,T}catch(M){if(M===Qt)throw M;var q=Kl(29,M,null,s.mode);return q.lanes=b,q.return=s,q}finally{}}}var ma=a0(!0),t0=a0(!1),$a=Pl(null),xe=Pl(0);function e0(l,u){l=Ou,J(xe,l),J($a,u),Ou=l|u.baseLanes}function yf(){J(xe,Ou),J($a,$a.current)}function mf(){Ou=xe.current,fl($a),fl(xe)}var Vl=Pl(null),au=null;function Bu(l){var u=l.alternate;J(tl,tl.current&1),J(Vl,l),au===null&&(u===null||$a.current!==null||u.memoizedState!==null)&&(au=l)}function n0(l){if(l.tag===22){if(J(tl,tl.current),J(Vl,l),au===null){var u=l.alternate;u!==null&&u.memoizedState!==null&&(au=l)}}else Yu()}function Yu(){J(tl,tl.current),J(Vl,Vl.current)}function mu(l){fl(Vl),au===l&&(au=null),fl(tl)}var tl=Pl(0);function pe(l){for(var u=l;u!==null;){if(u.tag===13){var a=u.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var Lh=typeof AbortController<"u"?AbortController:function(){var l=[],u=this.signal={aborted:!1,addEventListener:function(a,t){l.push(t)}};this.abort=function(){u.aborted=!0,l.forEach(function(a){return a()})}},xh=E.unstable_scheduleCallback,ph=E.unstable_NormalPriority,el={$$typeof:El,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Sf(){return{controller:new Lh,data:new Map,refCount:0}}function Ct(l){l.refCount--,l.refCount===0&&xh(ph,function(){l.controller.abort()})}var Kt=null,gf=0,ka=0,Fa=null;function Jh(l,u){if(Kt===null){var a=Kt=[];gf=0,ka=Dc(),Fa={status:"pending",value:void 0,then:function(t){a.push(t)}}}return gf++,u.then(f0,f0),u}function f0(){if(--gf===0&&Kt!==null){Fa!==null&&(Fa.status="fulfilled");var l=Kt;Kt=null,ka=0,Fa=null;for(var u=0;un?n:8;var f=U.T,c={};U.T=c,Yf(l,!1,u,a);try{var i=e(),h=U.S;if(h!==null&&h(c,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var S=rh(i,t);pt(l,u,S,ql(l))}else pt(l,u,t,ql(l))}catch(z){pt(l,u,{then:function(){},status:"rejected",reason:z},ql())}finally{X.p=n,U.T=f}}function Fh(){}function Nf(l,u,a,t){if(l.tag!==5)throw Error(g(476));var e=Z0(l).queue;Q0(l,e,u,Nl,a===null?Fh:function(){return V0(l),a(t)})}function Z0(l){var u=l.memoizedState;if(u!==null)return u;u={memoizedState:Nl,baseState:Nl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Su,lastRenderedState:Nl},next:null};var a={};return u.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Su,lastRenderedState:a},next:null},l.memoizedState=u,l=l.alternate,l!==null&&(l.memoizedState=u),u}function V0(l){var u=Z0(l).next.queue;pt(l,u,{},ql())}function Bf(){return gl(he)}function j0(){return ll().memoizedState}function C0(){return ll().memoizedState}function Ph(l){for(var u=l.return;u!==null;){switch(u.tag){case 24:case 3:var a=ql();l=Vu(a);var t=ju(u,l,a);t!==null&&(zl(t,u,a),wt(t,u,a)),u={cache:Sf()},l.payload=u;return}u=u.return}}function Ih(l,u,a){var t=ql();a={lane:t,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},Ie(l)?L0(u,a):(a=cf(l,u,a,t),a!==null&&(zl(a,l,t),x0(a,u,t)))}function K0(l,u,a){var t=ql();pt(l,u,a,t)}function pt(l,u,a,t){var e={lane:t,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(Ie(l))L0(u,e);else{var n=l.alternate;if(l.lanes===0&&(n===null||n.lanes===0)&&(n=u.lastRenderedReducer,n!==null))try{var f=u.lastRenderedState,c=n(f,a);if(e.hasEagerState=!0,e.eagerState=c,Hl(c,f))return Qe(l,u,e,0),L===null&&Ge(),!1}catch{}finally{}if(a=cf(l,u,e,t),a!==null)return zl(a,l,t),x0(a,u,t),!0}return!1}function Yf(l,u,a,t){if(t={lane:2,revertLane:Dc(),action:t,hasEagerState:!1,eagerState:null,next:null},Ie(l)){if(u)throw Error(g(479))}else u=cf(l,a,t,2),u!==null&&zl(u,l,2)}function Ie(l){var u=l.alternate;return l===o||u!==null&&u===o}function L0(l,u){Pa=re=!0;var a=l.pending;a===null?u.next=u:(u.next=a.next,a.next=u),l.pending=u}function x0(l,u,a){if(a&4194176){var t=u.lanes;t&=l.pendingLanes,a|=t,u.lanes=a,li(l,a)}}var tu={readContext:gl,use:$e,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useLayoutEffect:P,useInsertionEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useSyncExternalStore:P,useId:P};tu.useCacheRefresh=P,tu.useMemoCache=P,tu.useHostTransitionStatus=P,tu.useFormState=P,tu.useActionState=P,tu.useOptimistic=P;var ba={readContext:gl,use:$e,useCallback:function(l,u){return Ml().memoizedState=[l,u===void 0?null:u],l},useContext:gl,useEffect:R0,useImperativeHandle:function(l,u,a){a=a!=null?a.concat([l]):null,Fe(4194308,4,N0.bind(null,u,l),a)},useLayoutEffect:function(l,u){return Fe(4194308,4,l,u)},useInsertionEffect:function(l,u){Fe(4,2,l,u)},useMemo:function(l,u){var a=Ml();u=u===void 0?null:u;var t=l();if(ga){Ru(!0);try{l()}finally{Ru(!1)}}return a.memoizedState=[t,u],t},useReducer:function(l,u,a){var t=Ml();if(a!==void 0){var e=a(u);if(ga){Ru(!0);try{a(u)}finally{Ru(!1)}}}else e=u;return t.memoizedState=t.baseState=e,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:e},t.queue=l,l=l.dispatch=Ih.bind(null,o,l),[t.memoizedState,l]},useRef:function(l){var u=Ml();return l={current:l},u.memoizedState=l},useState:function(l){l=Hf(l);var u=l.queue,a=K0.bind(null,o,u);return u.dispatch=a,[l.memoizedState,a]},useDebugValue:of,useDeferredValue:function(l,u){var a=Ml();return qf(a,l,u)},useTransition:function(){var l=Hf(!1);return l=Q0.bind(null,o,l.queue,!0,!1),Ml().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,u,a){var t=o,e=Ml();if(G){if(a===void 0)throw Error(g(407));a=a()}else{if(a=u(),L===null)throw Error(g(349));Y&60||v0(t,u,a)}e.memoizedState=a;var n={value:a,getSnapshot:u};return e.queue=n,R0(m0.bind(null,t,n,l),[l]),t.flags|=2048,lt(9,y0.bind(null,t,n,a,u),{destroy:void 0},null),a},useId:function(){var l=Ml(),u=L.identifierPrefix;if(G){var a=yu,t=vu;a=(t&~(1<<32-Ul(t)-1)).toString(32)+a,u=":"+u+"R"+a,a=we++,0 title"))),ml(n,t,a),n[Sl]=l,cl(n),t=n;break l;case"link":var f=gd("link","href",e).get(t+(a.href||""));if(f){for(var c=0;c<\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof t.is=="string"?e.createElement("select",{is:t.is}):e.createElement("select"),t.multiple?l.multiple=!0:t.size&&(l.size=t.size);break;default:l=typeof t.is=="string"?e.createElement(a,{is:t.is}):e.createElement(a)}}l[Sl]=u,l[Tl]=t;l:for(e=u.child;e!==null;){if(e.tag===5||e.tag===6)l.appendChild(e.stateNode);else if(e.tag!==4&&e.tag!==27&&e.child!==null){e.child.return=e,e=e.child;continue}if(e===u)break l;for(;e.sibling===null;){if(e.return===null||e.return===u)break l;e=e.return}e.sibling.return=e.return,e=e.sibling}u.stateNode=l;l:switch(ml(l,a,t),a){case"button":case"input":case"select":case"textarea":l=!!t.autoFocus;break l;case"img":l=!0;break l;default:l=!1}l&&Du(u)}}return r(u),u.flags&=-16777217,null;case 6:if(l&&u.stateNode!=null)l.memoizedProps!==t&&Du(u);else{if(typeof t!="string"&&u.stateNode===null)throw Error(g(166));if(l=_u.current,Yt(u)){if(l=u.stateNode,a=u.memoizedProps,t=null,e=bl,e!==null)switch(e.tag){case 27:case 5:t=e.memoizedProps}l[Sl]=u,l=!!(l.nodeValue===a||t!==null&&t.suppressHydrationWarning===!0||ed(l.nodeValue,a)),l||ya(u)}else l=An(l).createTextNode(t),l[Sl]=u,u.stateNode=l}return r(u),null;case 13:if(t=u.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(e=Yt(u),t!==null&&t.dehydrated!==null){if(l===null){if(!e)throw Error(g(318));if(e=u.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(g(317));e[Sl]=u}else Xt(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;r(u),e=!1}else $l!==null&&(Sc($l),$l=null),e=!0;if(!e)return u.flags&256?(mu(u),u):(mu(u),null)}if(mu(u),u.flags&128)return u.lanes=a,u;if(a=t!==null,l=l!==null&&l.memoizedState!==null,a){t=u.child,e=null,t.alternate!==null&&t.alternate.memoizedState!==null&&t.alternate.memoizedState.cachePool!==null&&(e=t.alternate.memoizedState.cachePool.pool);var n=null;t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==e&&(t.flags|=2048)}return a!==l&&a&&(u.child.flags|=8192),cn(u,u.updateQueue),r(u),null;case 4:return Ba(),l===null&&Hc(u.stateNode.containerInfo),r(u),null;case 10:return zu(u.type),r(u),null;case 19:if(fl(tl),e=u.memoizedState,e===null)return r(u),null;if(t=(u.flags&128)!==0,n=e.rendering,n===null)if(t)le(e,!1);else{if($!==0||l!==null&&l.flags&128)for(l=u.child;l!==null;){if(n=pe(l),n!==null){for(u.flags|=128,le(e,!1),l=n.updateQueue,u.updateQueue=l,cn(u,l),u.subtreeFlags=0,l=a,a=u.child;a!==null;)B1(a,l),a=a.sibling;return J(tl,tl.current&1|2),u.child}l=l.sibling}e.tail!==null&&lu()>dn&&(u.flags|=128,t=!0,le(e,!1),u.lanes=4194304)}else{if(!t)if(l=pe(n),l!==null){if(u.flags|=128,t=!0,l=l.updateQueue,u.updateQueue=l,cn(u,l),le(e,!0),e.tail===null&&e.tailMode==="hidden"&&!n.alternate&&!G)return r(u),null}else 2*lu()-e.renderingStartTime>dn&&a!==536870912&&(u.flags|=128,t=!0,le(e,!1),u.lanes=4194304);e.isBackwards?(n.sibling=u.child,u.child=n):(l=e.last,l!==null?l.sibling=n:u.child=n,e.last=n)}return e.tail!==null?(u=e.tail,e.rendering=u,e.tail=u.sibling,e.renderingStartTime=lu(),u.sibling=null,l=tl.current,J(tl,t?l&1|2:l&1),u):(r(u),null);case 22:case 23:return mu(u),mf(),t=u.memoizedState!==null,l!==null?l.memoizedState!==null!==t&&(u.flags|=8192):t&&(u.flags|=8192),t?a&536870912&&!(u.flags&128)&&(r(u),u.subtreeFlags&6&&(u.flags|=8192)):r(u),a=u.updateQueue,a!==null&&cn(u,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),t=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(t=u.memoizedState.cachePool.pool),t!==a&&(u.flags|=2048),l!==null&&fl(Sa),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),u.memoizedState.cache!==a&&(u.flags|=2048),zu(el),r(u),null;case 25:return null}throw Error(g(156,u.tag))}function fs(l,u){switch(hf(u),u.tag){case 1:return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return zu(el),Ba(),l=u.flags,l&65536&&!(l&128)?(u.flags=l&-65537|128,u):null;case 26:case 27:case 5:return Ae(u),null;case 13:if(mu(u),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(g(340));Xt()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return fl(tl),null;case 4:return Ba(),null;case 10:return zu(u.type),null;case 22:case 23:return mu(u),mf(),l!==null&&fl(Sa),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 24:return zu(el),null;case 25:return null;default:return null}}function G1(l,u){switch(hf(u),u.tag){case 3:zu(el),Ba();break;case 26:case 27:case 5:Ae(u);break;case 4:Ba();break;case 13:mu(u);break;case 19:fl(tl);break;case 10:zu(u.type);break;case 22:case 23:mu(u),mf(),l!==null&&fl(Sa);break;case 24:zu(el)}}var cs={getCacheForType:function(l){var u=gl(el),a=u.data.get(l);return a===void 0&&(a=l(),u.data.set(l,a)),a}},is=typeof WeakMap=="function"?WeakMap:Map,w=0,L=null,N=null,Y=0,x=0,ol=null,Mu=!1,et=!1,ic=!1,Ou=0,$=0,pu=0,Oa=0,dc=0,Ll=0,nt=0,ue=null,eu=null,hc=!1,sc=0,dn=1/0,hn=null,Ju=null,sn=!1,Ua=null,ae=0,vc=0,yc=null,te=0,mc=null;function ql(){if(w&2&&Y!==0)return Y&-Y;if(U.T!==null){var l=ka;return l!==0?l:Dc()}return ai()}function Q1(){Ll===0&&(Ll=!(Y&536870912)||G?Fc():536870912);var l=Vl.current;return l!==null&&(l.flags|=32),Ll}function zl(l,u,a){(l===L&&x===2||l.cancelPendingCommit!==null)&&(ft(l,0),Uu(l,Y,Ll,!1)),Tt(l,a),(!(w&2)||l!==L)&&(l===L&&(!(w&2)&&(Oa|=a),$===4&&Uu(l,Y,Ll,!1)),nu(l))}function Z1(l,u,a){if(w&6)throw Error(g(327));var t=!a&&(u&60)===0&&(u&l.expiredLanes)===0||Et(l,u),e=t?ss(l,u):zc(l,u,!0),n=t;do{if(e===0){et&&!t&&Uu(l,u,0,!1);break}else if(e===6)Uu(l,u,0,!Mu);else{if(a=l.current.alternate,n&&!ds(a)){e=zc(l,u,!1),n=!1;continue}if(e===2){if(n=u,l.errorRecoveryDisabledLanes&n)var f=0;else f=l.pendingLanes&-536870913,f=f!==0?f:f&536870912?536870912:0;if(f!==0){u=f;l:{var c=l;e=ue;var i=c.current.memoizedState.isDehydrated;if(i&&(ft(c,f).flags|=256),f=zc(c,f,!1),f!==2){if(ic&&!i){c.errorRecoveryDisabledLanes|=n,Oa|=n,e=4;break l}n=eu,eu=e,n!==null&&Sc(n)}e=f}if(n=!1,e!==2)continue}}if(e===1){ft(l,0),Uu(l,u,0,!0);break}l:{switch(t=l,e){case 0:case 1:throw Error(g(345));case 4:if((u&4194176)===u){Uu(t,u,Ll,!Mu);break l}break;case 2:eu=null;break;case 3:case 5:break;default:throw Error(g(329))}if(t.finishedWork=a,t.finishedLanes=u,(u&62914560)===u&&(n=sc+300-lu(),10a?32:a,U.T=null,Ua===null)var n=!1;else{a=yc,yc=null;var f=Ua,c=ae;if(Ua=null,ae=0,w&6)throw Error(g(331));var i=w;if(w|=4,q1(f.current),_1(f,f.current,c,a),w=i,ee(0,!1),Ol&&typeof Ol.onPostCommitFiberRoot=="function")try{Ol.onPostCommitFiberRoot(At,f)}catch{}n=!0}return n}finally{X.p=e,U.T=t,r1(l,u)}}return!1}function w1(l,u,a){u=Gl(a,u),u=Qf(l.stateNode,u,2),l=ju(l,u,2),l!==null&&(Tt(l,2),nu(l))}function K(l,u,a){if(l.tag===3)w1(l,l,a);else for(;u!==null;){if(u.tag===3){w1(u,l,a);break}else if(u.tag===1){var t=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof t.componentDidCatch=="function"&&(Ju===null||!Ju.has(t))){l=Gl(a,l),a=k0(2),t=ju(u,a,2),t!==null&&(F0(a,t,u,l),Tt(t,2),nu(t));break}}u=u.return}}function Ac(l,u,a){var t=l.pingCache;if(t===null){t=l.pingCache=new is;var e=new Set;t.set(u,e)}else e=t.get(u),e===void 0&&(e=new Set,t.set(u,e));e.has(a)||(ic=!0,e.add(a),l=ms.bind(null,l,u,a),u.then(l,l))}function ms(l,u,a){var t=l.pingCache;t!==null&&t.delete(u),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,L===l&&(Y&a)===a&&($===4||$===3&&(Y&62914560)===Y&&300>lu()-sc?!(w&2)&&ft(l,0):dc|=a,nt===Y&&(nt=0)),nu(l)}function W1(l,u){u===0&&(u=Pc()),l=Nu(l,u),l!==null&&(Tt(l,u),nu(l))}function Ss(l){var u=l.memoizedState,a=0;u!==null&&(a=u.retryLane),W1(l,a)}function gs(l,u){var a=0;switch(l.tag){case 13:var t=l.stateNode,e=l.memoizedState;e!==null&&(a=e.retryLane);break;case 19:t=l.stateNode;break;case 22:t=l.stateNode._retryCache;break;default:throw Error(g(314))}t!==null&&t.delete(u),W1(l,a)}function bs(l,u){return Qn(l,u)}var mn=null,dt=null,Ec=!1,Sn=!1,Tc=!1,Ha=0;function nu(l){l!==dt&&l.next===null&&(dt===null?mn=dt=l:dt=dt.next=l),Sn=!0,Ec||(Ec=!0,As(zs))}function ee(l,u){if(!Tc&&Sn){Tc=!0;do for(var a=!1,t=mn;t!==null;){if(l!==0){var e=t.pendingLanes;if(e===0)var n=0;else{var f=t.suspendedLanes,c=t.pingedLanes;n=(1<<31-Ul(42|l)+1)-1,n&=e&~(f&~c),n=n&201326677?n&201326677|1:n?n|2:0}n!==0&&(a=!0,F1(t,n))}else n=Y,n=Me(t,t===L?n:0),!(n&3)||Et(t,n)||(a=!0,F1(t,n));t=t.next}while(a);Tc=!1}}function zs(){Sn=Ec=!1;var l=0;Ha!==0&&(_s()&&(l=Ha),Ha=0);for(var u=lu(),a=null,t=mn;t!==null;){var e=t.next,n=$1(t,u);n===0?(t.next=null,a===null?mn=e:a.next=e,e===null&&(dt=a)):(a=t,(l!==0||n&3)&&(Sn=!0)),t=e}ee(l)}function $1(l,u){for(var a=l.suspendedLanes,t=l.pingedLanes,e=l.expirationTimes,n=l.pendingLanes&-62914561;0"u"?null:document;function vd(l,u,a){var t=st;if(t&&typeof u=="string"&&u){var e=Yl(u);e='link[rel="'+l+'"][href="'+e+'"]',typeof a=="string"&&(e+='[crossorigin="'+a+'"]'),sd.has(e)||(sd.add(e),l={rel:l,crossOrigin:a,href:u},t.querySelector(e)===null&&(u=t.createElement("link"),ml(u,"link",l),cl(u),t.head.appendChild(u)))}}function Gs(l){Hu.D(l),vd("dns-prefetch",l,null)}function Qs(l,u){Hu.C(l,u),vd("preconnect",l,u)}function Zs(l,u,a){Hu.L(l,u,a);var t=st;if(t&&l&&u){var e='link[rel="preload"][as="'+Yl(u)+'"]';u==="image"&&a&&a.imageSrcSet?(e+='[imagesrcset="'+Yl(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(e+='[imagesizes="'+Yl(a.imageSizes)+'"]')):e+='[href="'+Yl(l)+'"]';var n=e;switch(u){case"style":n=vt(l);break;case"script":n=yt(l)}xl.has(n)||(l=Z({rel:"preload",href:u==="image"&&a&&a.imageSrcSet?void 0:l,as:u},a),xl.set(n,l),t.querySelector(e)!==null||u==="style"&&t.querySelector(ce(n))||u==="script"&&t.querySelector(ie(n))||(u=t.createElement("link"),ml(u,"link",l),cl(u),t.head.appendChild(u)))}}function Vs(l,u){Hu.m(l,u);var a=st;if(a&&l){var t=u&&typeof u.as=="string"?u.as:"script",e='link[rel="modulepreload"][as="'+Yl(t)+'"][href="'+Yl(l)+'"]',n=e;switch(t){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":n=yt(l)}if(!xl.has(n)&&(l=Z({rel:"modulepreload",href:l},u),xl.set(n,l),a.querySelector(e)===null)){switch(t){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(ie(n)))return}t=a.createElement("link"),ml(t,"link",l),cl(t),a.head.appendChild(t)}}}function js(l,u,a){Hu.S(l,u,a);var t=st;if(t&&l){var e=Ga(t).hoistableStyles,n=vt(l);u=u||"default";var f=e.get(n);if(!f){var c={loading:0,preload:null};if(f=t.querySelector(ce(n)))c.loading=5;else{l=Z({rel:"stylesheet",href:l,"data-precedence":u},a),(a=xl.get(n))&&Gc(l,a);var i=f=t.createElement("link");cl(i),ml(i,"link",l),i._p=new Promise(function(h,S){i.onload=h,i.onerror=S}),i.addEventListener("load",function(){c.loading|=1}),i.addEventListener("error",function(){c.loading|=2}),c.loading|=4,Tn(f,u,t)}f={type:"stylesheet",instance:f,count:1,state:c},e.set(n,f)}}}function Cs(l,u){Hu.X(l,u);var a=st;if(a&&l){var t=Ga(a).hoistableScripts,e=yt(l),n=t.get(e);n||(n=a.querySelector(ie(e)),n||(l=Z({src:l,async:!0},u),(u=xl.get(e))&&Qc(l,u),n=a.createElement("script"),cl(n),ml(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},t.set(e,n))}}function Ks(l,u){Hu.M(l,u);var a=st;if(a&&l){var t=Ga(a).hoistableScripts,e=yt(l),n=t.get(e);n||(n=a.querySelector(ie(e)),n||(l=Z({src:l,async:!0,type:"module"},u),(u=xl.get(e))&&Qc(l,u),n=a.createElement("script"),cl(n),ml(n,"link",l),a.head.appendChild(n)),n={type:"script",instance:n,count:1,state:null},t.set(e,n))}}function yd(l,u,a,t){var e=(e=_u.current)?En(e):null;if(!e)throw Error(g(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(u=vt(a.href),a=Ga(e).hoistableStyles,t=a.get(u),t||(t={type:"style",instance:null,count:0,state:null},a.set(u,t)),t):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=vt(a.href);var n=Ga(e).hoistableStyles,f=n.get(l);if(f||(e=e.ownerDocument||e,f={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},n.set(l,f),(n=e.querySelector(ce(l)))&&!n._p&&(f.instance=n,f.state.loading=5),xl.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},xl.set(l,a),n||Ls(e,l,a,f.state))),u&&t===null)throw Error(g(528,""));return f}if(u&&t!==null)throw Error(g(529,""));return null;case"script":return u=a.async,a=a.src,typeof a=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=yt(a),a=Ga(e).hoistableScripts,t=a.get(u),t||(t={type:"script",instance:null,count:0,state:null},a.set(u,t)),t):{type:"void",instance:null,count:0,state:null};default:throw Error(g(444,l))}}function vt(l){return'href="'+Yl(l)+'"'}function ce(l){return'link[rel="stylesheet"]['+l+"]"}function md(l){return Z({},l,{"data-precedence":l.precedence,precedence:null})}function Ls(l,u,a,t){l.querySelector('link[rel="preload"][as="style"]['+u+"]")?t.loading=1:(u=l.createElement("link"),t.preload=u,u.addEventListener("load",function(){return t.loading|=1}),u.addEventListener("error",function(){return t.loading|=2}),ml(u,"link",a),cl(u),l.head.appendChild(u))}function yt(l){return'[src="'+Yl(l)+'"]'}function ie(l){return"script[async]"+l}function Sd(l,u,a){if(u.count++,u.instance===null)switch(u.type){case"style":var t=l.querySelector('style[data-href~="'+Yl(a.href)+'"]');if(t)return u.instance=t,cl(t),t;var e=Z({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return t=(l.ownerDocument||l).createElement("style"),cl(t),ml(t,"style",e),Tn(t,a.precedence,l),u.instance=t;case"stylesheet":e=vt(a.href);var n=l.querySelector(ce(e));if(n)return u.state.loading|=4,u.instance=n,cl(n),n;t=md(a),(e=xl.get(e))&&Gc(t,e),n=(l.ownerDocument||l).createElement("link"),cl(n);var f=n;return f._p=new Promise(function(c,i){f.onload=c,f.onerror=i}),ml(n,"link",t),u.state.loading|=4,Tn(n,a.precedence,l),u.instance=n;case"script":return n=yt(a.src),(e=l.querySelector(ie(n)))?(u.instance=e,cl(e),e):(t=a,(e=xl.get(n))&&(t=Z({},a),Qc(t,e)),l=l.ownerDocument||l,e=l.createElement("script"),cl(e),ml(e,"link",t),l.head.appendChild(e),u.instance=e);case"void":return null;default:throw Error(g(443,u.type))}else u.type==="stylesheet"&&!(u.state.loading&4)&&(t=u.instance,u.state.loading|=4,Tn(t,a.precedence,l));return u.instance}function Tn(l,u,a){for(var t=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),e=t.length?t[t.length-1]:null,n=e,f=0;f title"):null)}function xs(l,u,a){if(a===1||u.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return l=u.disabled,typeof u.precedence=="string"&&l==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function zd(l){return!(l.type==="stylesheet"&&!(l.state.loading&3))}var de=null;function ps(){}function Js(l,u,a){if(de===null)throw Error(g(475));var t=de;if(u.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&!(u.state.loading&4)){if(u.instance===null){var e=vt(a.href),n=l.querySelector(ce(e));if(n){l=n._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Mn.bind(t),l.then(t,t)),u.state.loading|=4,u.instance=n,cl(n);return}n=l.ownerDocument||l,a=md(a),(e=xl.get(e))&&Gc(a,e),n=n.createElement("link"),cl(n);var f=n;f._p=new Promise(function(c,i){f.onload=c,f.onerror=i}),ml(n,"link",a),u.instance=n}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(u,l),(l=u.state.preload)&&!(u.state.loading&3)&&(t.count++,u=Mn.bind(t),l.addEventListener("load",u),l.addEventListener("error",u))}}function rs(){if(de===null)throw Error(g(475));var l=de;return l.stylesheets&&l.count===0&&Zc(l,l.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(nl){console.error(nl)}}return E(),pc.exports=fv(),pc.exports}var iv=cv(),Bn=new Map;function dv(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var hv=({callback:E,children:nl})=>{let V=wc.useRef();return wc.useLayoutEffect(()=>{V.current!==E&&(V.current=E,E())},[E]),nl};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let E=null,nl=null;return{promise:new Promise((V,g)=>{E=V,nl=g}),resolve:E,reject:nl}});var mv=async(E,nl,V)=>{let g=await sv(nl,V);if(dv()){g.render(E);return}let{promise:fu,resolve:mt}=Promise.withResolvers();return g.render(wc.createElement(hv,{callback:mt},E)),fu},Sv=(E,nl)=>{let V=Bn.get(E);V&&(V.unmount(),Bn.delete(E))},sv=async(E,nl)=>{let V=Bn.get(E);return V||(V=iv.createRoot(E,nl),Bn.set(E,V)),V};export{mv as renderElement,Sv as unmountElement}; diff --git a/docs/assets/react-18-CXVsXkgG.js b/docs/assets/react-18-CXVsXkgG.js deleted file mode 100644 index bf50f8d..0000000 --- a/docs/assets/react-18-CXVsXkgG.js +++ /dev/null @@ -1,25 +0,0 @@ -import{a as ad,r as Wf}from"./index-2yJIXLcc.js";import{r as td}from"./index-Bn05qqr6.js";var pf={exports:{}},gn={},Jf={exports:{}},wf={};/** - * @license React - * scheduler.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var qv;function nd(){return qv||(qv=1,function(E){function el(A,_){var o=A.length;A.push(_);l:for(;0>>1,F=A[p];if(0>>1;pcu(vu,o))Xcu(Nl,vu)?(A[p]=Nl,A[X]=o,p=X):(A[p]=vu,A[na]=o,p=na);else if(Xcu(Nl,o))A[p]=Nl,A[X]=o,p=X;else break l}}return _}function cu(A,_){var o=A.sortIndex-_.sortIndex;return o!==0?o:A.id-_.id}if(E.unstable_now=void 0,typeof performance=="object"&&typeof performance.now=="function"){var st=performance;E.unstable_now=function(){return st.now()}}else{var Fu=Date,Pu=Fu.now();E.unstable_now=function(){return Fu.now()-Pu}}var yl=[],pl=[],St=1,Al=null,al=3,El=!1,Jl=!1,fu=!1,Ha=typeof setTimeout=="function"?setTimeout:null,_a=typeof clearTimeout=="function"?clearTimeout:null,wl=typeof setImmediate<"u"?setImmediate:null;function Iu(A){for(var _=V(pl);_!==null;){if(_.callback===null)g(pl);else if(_.startTime<=A)g(pl),_.sortIndex=_.expirationTime,el(yl,_);else break;_=V(pl)}}function gt(A){if(fu=!1,Iu(A),!Jl)if(V(yl)!==null)Jl=!0,aa();else{var _=V(pl);_!==null&&ta(gt,_.startTime-A)}}var la=!1,Wl=-1,bn=5,Ra=-1;function U(){return!(E.unstable_now()-RaA&&U());){var p=Al.callback;if(typeof p=="function"){Al.callback=null,al=Al.priorityLevel;var F=p(Al.expirationTime<=A);if(A=E.unstable_now(),typeof F=="function"){Al.callback=F,Iu(A),_=!0;break u}Al===V(yl)&&g(yl),Iu(A)}else g(yl);Al=V(yl)}if(Al!==null)_=!0;else{var qa=V(pl);qa!==null&&ta(gt,qa.startTime-A),_=!1}}break l}finally{Al=null,al=o,El=!1}_=void 0}}finally{_?iu():la=!1}}}var iu;if(typeof wl=="function")iu=function(){wl(Z)};else if(typeof MessageChannel<"u"){var bt=new MessageChannel,ua=bt.port2;bt.port1.onmessage=Z,iu=function(){ua.postMessage(null)}}else iu=function(){Ha(Z,0)};function aa(){la||(la=!0,iu())}function ta(A,_){Wl=Ha(function(){A(E.unstable_now())},_)}E.unstable_IdlePriority=5,E.unstable_ImmediatePriority=1,E.unstable_LowPriority=4,E.unstable_NormalPriority=3,E.unstable_Profiling=null,E.unstable_UserBlockingPriority=2,E.unstable_cancelCallback=function(A){A.callback=null},E.unstable_continueExecution=function(){Jl||El||(Jl=!0,aa())},E.unstable_forceFrameRate=function(A){0>A||125p?(A.sortIndex=o,el(pl,A),V(yl)===null&&A===V(pl)&&(fu?(_a(Wl),Wl=-1):fu=!0,ta(gt,o-p))):(A.sortIndex=F,el(yl,A),Jl||El||(Jl=!0,aa())),A},E.unstable_shouldYield=U,E.unstable_wrapCallback=function(A){var _=al;return function(){var o=al;al=_;try{return A.apply(this,arguments)}finally{al=o}}}}(wf)),wf}var Nv;function ed(){return Nv||(Nv=1,Jf.exports=nd()),Jf.exports}/** - * @license React - * react-dom-client.production.js - * - * Copyright (c) Meta Platforms, Inc. and affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var Bv;function cd(){if(Bv)return gn;Bv=1;var E=ed(),el=ad(),V=td();function g(l){var u="https://react.dev/errors/"+l;if(1)":-1n||i[t]!==h[n]){var S=` -`+i[t].replace(" at new "," at ");return l.displayName&&S.includes("")&&(S=S.replace("",l.displayName)),S}while(1<=t&&0<=n);break}}}finally{aa=!1,Error.prepareStackTrace=a}return(a=l?l.displayName||l.name:"")?ua(a):""}function A(l){switch(l.tag){case 26:case 27:case 5:return ua(l.type);case 16:return ua("Lazy");case 13:return ua("Suspense");case 19:return ua("SuspenseList");case 0:case 15:return l=ta(l.type,!1),l;case 11:return l=ta(l.type.render,!1),l;case 1:return l=ta(l.type,!0),l;default:return""}}function _(l){try{var u="";do u+=A(l),l=l.return;while(l);return u}catch(a){return` -Error generating stack: `+a.message+` -`+a.stack}}function o(l){var u=l,a=l;if(l.alternate)for(;u.return;)u=u.return;else{l=u;do u=l,u.flags&4098&&(a=u.return),l=u.return;while(l)}return u.tag===3?a:null}function p(l){if(l.tag===13){var u=l.memoizedState;if(u===null&&(l=l.alternate,l!==null&&(u=l.memoizedState)),u!==null)return u.dehydrated}return null}function F(l){if(o(l)!==l)throw Error(g(188))}function qa(l){var u=l.alternate;if(!u){if(u=o(l),u===null)throw Error(g(188));return u!==l?null:l}for(var a=l,t=u;;){var n=a.return;if(n===null)break;var e=n.alternate;if(e===null){if(t=n.return,t!==null){a=t;continue}break}if(n.child===e.child){for(e=n.child;e;){if(e===a)return F(n),l;if(e===t)return F(n),u;e=e.sibling}throw Error(g(188))}if(a.return!==t.return)a=n,t=e;else{for(var c=!1,f=n.child;f;){if(f===a){c=!0,a=n,t=e;break}if(f===t){c=!0,t=n,a=e;break}f=f.sibling}if(!c){for(f=e.child;f;){if(f===a){c=!0,a=e,t=n;break}if(f===t){c=!0,t=e,a=n;break}f=f.sibling}if(!c)throw Error(g(189))}}if(a.alternate!==t)throw Error(g(190))}if(a.tag!==3)throw Error(g(188));return a.stateNode.current===a?l:u}function na(l){var u=l.tag;if(u===5||u===26||u===27||u===6)return l;for(l=l.child;l!==null;){if(u=na(l),u!==null)return u;l=l.sibling}return null}var vu=Array.isArray,X=V.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Nl={pending:!1,data:null,method:null,action:null},Ye=[],Na=-1;function Pl(l){return{current:l}}function cl(l){0>Na||(l.current=Ye[Na],Ye[Na]=null,Na--)}function J(l,u){Na++,Ye[Na]=l.current,l.current=u}var Il=Pl(null),zt=Pl(null),Hu=Pl(null),zn=Pl(null);function An(l,u){switch(J(Hu,u),J(zt,l),J(Il,null),l=u.nodeType,l){case 9:case 11:u=(u=u.documentElement)&&(u=u.namespaceURI)?ev(u):0;break;default:if(l=l===8?u.parentNode:u,u=l.tagName,l=l.namespaceURI)l=ev(l),u=cv(l,u);else switch(u){case"svg":u=1;break;case"math":u=2;break;default:u=0}}cl(Il),J(Il,u)}function Ba(){cl(Il),cl(zt),cl(Hu)}function Xe(l){l.memoizedState!==null&&J(zn,l);var u=Il.current,a=cv(u,l.type);u!==a&&(J(zt,l),J(Il,a))}function En(l){zt.current===l&&(cl(Il),cl(zt)),zn.current===l&&(cl(zn),yn._currentValue=Nl)}var Ge=Object.prototype.hasOwnProperty,Qe=E.unstable_scheduleCallback,Ze=E.unstable_cancelCallback,Xv=E.unstable_shouldYield,Gv=E.unstable_requestPaint,lu=E.unstable_now,Qv=E.unstable_getCurrentPriorityLevel,$f=E.unstable_ImmediatePriority,rf=E.unstable_UserBlockingPriority,Tn=E.unstable_NormalPriority,Zv=E.unstable_LowPriority,kf=E.unstable_IdlePriority,Vv=E.log,jv=E.unstable_setDisableYieldValue,At=null,Ol=null;function Cv(l){if(Ol&&typeof Ol.onCommitFiberRoot=="function")try{Ol.onCommitFiberRoot(At,l,void 0,(l.current.flags&128)===128)}catch{}}function _u(l){if(typeof Vv=="function"&&jv(l),Ol&&typeof Ol.setStrictMode=="function")try{Ol.setStrictMode(At,l)}catch{}}var Ul=Math.clz32?Math.clz32:xv,Kv=Math.log,Lv=Math.LN2;function xv(l){return l>>>=0,l===0?32:31-(Kv(l)/Lv|0)|0}var Dn=128,Mn=4194304;function ea(l){var u=l&42;if(u!==0)return u;switch(l&-l){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return l&4194176;case 4194304:case 8388608:case 16777216:case 33554432:return l&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return l}}function On(l,u){var a=l.pendingLanes;if(a===0)return 0;var t=0,n=l.suspendedLanes,e=l.pingedLanes,c=l.warmLanes;l=l.finishedLanes!==0;var f=a&134217727;return f!==0?(a=f&~n,a!==0?t=ea(a):(e&=f,e!==0?t=ea(e):l||(c=f&~c,c!==0&&(t=ea(c))))):(f=a&~n,f!==0?t=ea(f):e!==0?t=ea(e):l||(c=a&~c,c!==0&&(t=ea(c)))),t===0?0:u!==0&&u!==t&&!(u&n)&&(n=t&-t,c=u&-u,n>=c||n===32&&(c&4194176)!==0)?u:t}function Et(l,u){return(l.pendingLanes&~(l.suspendedLanes&~l.pingedLanes)&u)===0}function pv(l,u){switch(l){case 1:case 2:case 4:case 8:return u+250;case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return u+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Ff(){var l=Dn;return Dn<<=1,!(Dn&4194176)&&(Dn=128),l}function Pf(){var l=Mn;return Mn<<=1,!(Mn&62914560)&&(Mn=4194304),l}function Ve(l){for(var u=[],a=0;31>a;a++)u.push(l);return u}function Tt(l,u){l.pendingLanes|=u,u!==268435456&&(l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0)}function Jv(l,u,a,t,n,e){var c=l.pendingLanes;l.pendingLanes=a,l.suspendedLanes=0,l.pingedLanes=0,l.warmLanes=0,l.expiredLanes&=a,l.entangledLanes&=a,l.errorRecoveryDisabledLanes&=a,l.shellSuspendCounter=0;var f=l.entanglements,i=l.expirationTimes,h=l.hiddenUpdates;for(a=c&~a;0"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),rv=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),ci={},fi={};function kv(l){return Ge.call(fi,l)?!0:Ge.call(ci,l)?!1:rv.test(l)?fi[l]=!0:(ci[l]=!0,!1)}function Un(l,u,a){if(kv(u))if(a===null)l.removeAttribute(u);else{switch(typeof a){case"undefined":case"function":case"symbol":l.removeAttribute(u);return;case"boolean":var t=u.toLowerCase().slice(0,5);if(t!=="data-"&&t!=="aria-"){l.removeAttribute(u);return}}l.setAttribute(u,""+a)}}function on(l,u,a){if(a===null)l.removeAttribute(u);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(u);return}l.setAttribute(u,""+a)}}function yu(l,u,a,t){if(t===null)l.removeAttribute(a);else{switch(typeof t){case"undefined":case"function":case"symbol":case"boolean":l.removeAttribute(a);return}l.setAttributeNS(u,a,""+t)}}function Bl(l){switch(typeof l){case"bigint":case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function ii(l){var u=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(u==="checkbox"||u==="radio")}function Fv(l){var u=ii(l)?"checked":"value",a=Object.getOwnPropertyDescriptor(l.constructor.prototype,u),t=""+l[u];if(!l.hasOwnProperty(u)&&typeof a<"u"&&typeof a.get=="function"&&typeof a.set=="function"){var n=a.get,e=a.set;return Object.defineProperty(l,u,{configurable:!0,get:function(){return n.call(this)},set:function(c){t=""+c,e.call(this,c)}}),Object.defineProperty(l,u,{enumerable:a.enumerable}),{getValue:function(){return t},setValue:function(c){t=""+c},stopTracking:function(){l._valueTracker=null,delete l[u]}}}}function Hn(l){l._valueTracker||(l._valueTracker=Fv(l))}function vi(l){if(!l)return!1;var u=l._valueTracker;if(!u)return!0;var a=u.getValue(),t="";return l&&(t=ii(l)?l.checked?"true":"false":l.value),l=t,l!==a?(u.setValue(l),!0):!1}function _n(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}var Pv=/[\n"\\]/g;function Yl(l){return l.replace(Pv,function(u){return"\\"+u.charCodeAt(0).toString(16)+" "})}function Ke(l,u,a,t,n,e,c,f){l.name="",c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"?l.type=c:l.removeAttribute("type"),u!=null?c==="number"?(u===0&&l.value===""||l.value!=u)&&(l.value=""+Bl(u)):l.value!==""+Bl(u)&&(l.value=""+Bl(u)):c!=="submit"&&c!=="reset"||l.removeAttribute("value"),u!=null?Le(l,c,Bl(u)):a!=null?Le(l,c,Bl(a)):t!=null&&l.removeAttribute("value"),n==null&&e!=null&&(l.defaultChecked=!!e),n!=null&&(l.checked=n&&typeof n!="function"&&typeof n!="symbol"),f!=null&&typeof f!="function"&&typeof f!="symbol"&&typeof f!="boolean"?l.name=""+Bl(f):l.removeAttribute("name")}function hi(l,u,a,t,n,e,c,f){if(e!=null&&typeof e!="function"&&typeof e!="symbol"&&typeof e!="boolean"&&(l.type=e),u!=null||a!=null){if(!(e!=="submit"&&e!=="reset"||u!=null))return;a=a!=null?""+Bl(a):"",u=u!=null?""+Bl(u):a,f||u===l.value||(l.value=u),l.defaultValue=u}t=t??n,t=typeof t!="function"&&typeof t!="symbol"&&!!t,l.checked=f?l.checked:!!t,l.defaultChecked=!!t,c!=null&&typeof c!="function"&&typeof c!="symbol"&&typeof c!="boolean"&&(l.name=c)}function Le(l,u,a){u==="number"&&_n(l.ownerDocument)===l||l.defaultValue===""+a||(l.defaultValue=""+a)}function Za(l,u,a,t){if(l=l.options,u){u={};for(var n=0;n=_t),Mi=" ",Oi=!1;function Ui(l,u){switch(l){case"keyup":return oh.indexOf(u.keyCode)!==-1;case"keydown":return u.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function oi(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var Ka=!1;function _h(l,u){switch(l){case"compositionend":return oi(u);case"keypress":return u.which!==32?null:(Oi=!0,Mi);case"textInput":return l=u.data,l===Mi&&Oi?null:l;default:return null}}function Rh(l,u){if(Ka)return l==="compositionend"||!Ie&&Ui(l,u)?(l=bi(),qn=$e=qu=null,Ka=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(u.ctrlKey||u.altKey||u.metaKey)||u.ctrlKey&&u.altKey){if(u.char&&1=u)return{node:a,offset:u-l};l=t}l:{for(;a;){if(a.nextSibling){a=a.nextSibling;break l}a=a.parentNode}a=void 0}a=Xi(a)}}function Qi(l,u){return l&&u?l===u?!0:l&&l.nodeType===3?!1:u&&u.nodeType===3?Qi(l,u.parentNode):"contains"in l?l.contains(u):l.compareDocumentPosition?!!(l.compareDocumentPosition(u)&16):!1:!1}function Zi(l){l=l!=null&&l.ownerDocument!=null&&l.ownerDocument.defaultView!=null?l.ownerDocument.defaultView:window;for(var u=_n(l.document);u instanceof l.HTMLIFrameElement;){try{var a=typeof u.contentWindow.location.href=="string"}catch{a=!1}if(a)l=u.contentWindow;else break;u=_n(l.document)}return u}function ac(l){var u=l&&l.nodeName&&l.nodeName.toLowerCase();return u&&(u==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||u==="textarea"||l.contentEditable==="true")}function Zh(l,u){var a=Zi(u);u=l.focusedElem;var t=l.selectionRange;if(a!==u&&u&&u.ownerDocument&&Qi(u.ownerDocument.documentElement,u)){if(t!==null&&ac(u)){if(l=t.start,a=t.end,a===void 0&&(a=l),"selectionStart"in u)u.selectionStart=l,u.selectionEnd=Math.min(a,u.value.length);else if(a=(l=u.ownerDocument||document)&&l.defaultView||window,a.getSelection){a=a.getSelection();var n=u.textContent.length,e=Math.min(t.start,n);t=t.end===void 0?e:Math.min(t.end,n),!a.extend&&e>t&&(n=t,t=e,e=n),n=Gi(u,e);var c=Gi(u,t);n&&c&&(a.rangeCount!==1||a.anchorNode!==n.node||a.anchorOffset!==n.offset||a.focusNode!==c.node||a.focusOffset!==c.offset)&&(l=l.createRange(),l.setStart(n.node,n.offset),a.removeAllRanges(),e>t?(a.addRange(l),a.extend(c.node,c.offset)):(l.setEnd(c.node,c.offset),a.addRange(l)))}}for(l=[],a=u;a=a.parentNode;)a.nodeType===1&&l.push({element:a,left:a.scrollLeft,top:a.scrollTop});for(typeof u.focus=="function"&&u.focus(),u=0;u=document.documentMode,La=null,tc=null,Bt=null,nc=!1;function Vi(l,u,a){var t=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;nc||La==null||La!==_n(t)||(t=La,"selectionStart"in t&&ac(t)?t={start:t.selectionStart,end:t.selectionEnd}:(t=(t.ownerDocument&&t.ownerDocument.defaultView||window).getSelection(),t={anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}),Bt&&Nt(Bt,t)||(Bt=t,t=be(tc,"onSelect"),0>=c,n-=c,du=1<<32-Ul(u)+n|a<O?(hl=M,M=null):hl=M.sibling;var Q=m(y,M,d[O],b);if(Q===null){M===null&&(M=hl);break}l&&M&&Q.alternate===null&&u(y,M),v=e(Q,v,O),q===null?T=Q:q.sibling=Q,q=Q,M=hl}if(O===d.length)return a(y,M),G&&da(y,O),T;if(M===null){for(;OO?(hl=M,M=null):hl=M.sibling;var ku=m(y,M,Q.value,b);if(ku===null){M===null&&(M=hl);break}l&&M&&ku.alternate===null&&u(y,M),v=e(ku,v,O),q===null?T=ku:q.sibling=ku,q=ku,M=hl}if(Q.done)return a(y,M),G&&da(y,O),T;if(M===null){for(;!Q.done;O++,Q=d.next())Q=z(y,Q.value,b),Q!==null&&(v=e(Q,v,O),q===null?T=Q:q.sibling=Q,q=Q);return G&&da(y,O),T}for(M=t(M);!Q.done;O++,Q=d.next())Q=s(M,y,O,Q.value,b),Q!==null&&(l&&Q.alternate!==null&&M.delete(Q.key===null?O:Q.key),v=e(Q,v,O),q===null?T=Q:q.sibling=Q,q=Q);return l&&M.forEach(function(ud){return u(y,ud)}),G&&da(y,O),T}function k(y,v,d,b){if(typeof d=="object"&&d!==null&&d.type===yl&&d.key===null&&(d=d.props.children),typeof d=="object"&&d!==null){switch(d.$$typeof){case Fu:l:{for(var T=d.key;v!==null;){if(v.key===T){if(T=d.type,T===yl){if(v.tag===7){a(y,v.sibling),b=n(v,d.props.children),b.return=y,y=b;break l}}else if(v.elementType===T||typeof T=="object"&&T!==null&&T.$$typeof===wl&&u0(T)===v.type){a(y,v.sibling),b=n(v,d.props),jt(b,d),b.return=y,y=b;break l}a(y,v);break}else u(y,v);v=v.sibling}d.type===yl?(b=Ma(d.props.children,y.mode,b,d.key),b.return=y,y=b):(b=fe(d.type,d.key,d.props,null,y.mode,b),jt(b,d),b.return=y,y=b)}return c(y);case Pu:l:{for(T=d.key;v!==null;){if(v.key===T)if(v.tag===4&&v.stateNode.containerInfo===d.containerInfo&&v.stateNode.implementation===d.implementation){a(y,v.sibling),b=n(v,d.children||[]),b.return=y,y=b;break l}else{a(y,v);break}else u(y,v);v=v.sibling}b=cf(d,y.mode,b),b.return=y,y=b}return c(y);case wl:return T=d._init,d=T(d._payload),k(y,v,d,b)}if(vu(d))return D(y,v,d,b);if(Wl(d)){if(T=Wl(d),typeof T!="function")throw Error(g(150));return d=T.call(d),H(y,v,d,b)}if(typeof d.then=="function")return k(y,v,Ln(d),b);if(d.$$typeof===El)return k(y,v,ne(y,d),b);xn(y,d)}return typeof d=="string"&&d!==""||typeof d=="number"||typeof d=="bigint"?(d=""+d,v!==null&&v.tag===6?(a(y,v.sibling),b=n(v,d),b.return=y,y=b):(a(y,v),b=ef(d,y.mode,b),b.return=y,y=b),c(y)):a(y,v)}return function(y,v,d,b){try{Vt=0;var T=k(y,v,d,b);return $a=null,T}catch(M){if(M===Qt)throw M;var q=Kl(29,M,null,y.mode);return q.lanes=b,q.return=y,q}finally{}}}var sa=a0(!0),t0=a0(!1),ra=Pl(null),pn=Pl(0);function n0(l,u){l=Ou,J(pn,l),J(ra,u),Ou=l|u.baseLanes}function dc(){J(pn,Ou),J(ra,ra.current)}function mc(){Ou=pn.current,cl(ra),cl(pn)}var Vl=Pl(null),au=null;function Bu(l){var u=l.alternate;J(tl,tl.current&1),J(Vl,l),au===null&&(u===null||ra.current!==null||u.memoizedState!==null)&&(au=l)}function e0(l){if(l.tag===22){if(J(tl,tl.current),J(Vl,l),au===null){var u=l.alternate;u!==null&&u.memoizedState!==null&&(au=l)}}else Yu()}function Yu(){J(tl,tl.current),J(Vl,Vl.current)}function su(l){cl(Vl),au===l&&(au=null),cl(tl)}var tl=Pl(0);function Jn(l){for(var u=l;u!==null;){if(u.tag===13){var a=u.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||a.data==="$?"||a.data==="$!"))return u}else if(u.tag===19&&u.memoizedProps.revealOrder!==void 0){if(u.flags&128)return u}else if(u.child!==null){u.child.return=u,u=u.child;continue}if(u===l)break;for(;u.sibling===null;){if(u.return===null||u.return===l)return null;u=u.return}u.sibling.return=u.return,u=u.sibling}return null}var Lh=typeof AbortController<"u"?AbortController:function(){var l=[],u=this.signal={aborted:!1,addEventListener:function(a,t){l.push(t)}};this.abort=function(){u.aborted=!0,l.forEach(function(a){return a()})}},xh=E.unstable_scheduleCallback,ph=E.unstable_NormalPriority,nl={$$typeof:El,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function sc(){return{controller:new Lh,data:new Map,refCount:0}}function Ct(l){l.refCount--,l.refCount===0&&xh(ph,function(){l.controller.abort()})}var Kt=null,Sc=0,ka=0,Fa=null;function Jh(l,u){if(Kt===null){var a=Kt=[];Sc=0,ka=Df(),Fa={status:"pending",value:void 0,then:function(t){a.push(t)}}}return Sc++,u.then(c0,c0),u}function c0(){if(--Sc===0&&Kt!==null){Fa!==null&&(Fa.status="fulfilled");var l=Kt;Kt=null,ka=0,Fa=null;for(var u=0;ue?e:8;var c=U.T,f={};U.T=f,Bc(l,!1,u,a);try{var i=n(),h=U.S;if(h!==null&&h(f,i),i!==null&&typeof i=="object"&&typeof i.then=="function"){var S=wh(i,t);pt(l,u,S,ql(l))}else pt(l,u,t,ql(l))}catch(z){pt(l,u,{then:function(){},status:"rejected",reason:z},ql())}finally{X.p=e,U.T=c}}function Fh(){}function qc(l,u,a,t){if(l.tag!==5)throw Error(g(476));var n=Z0(l).queue;Q0(l,n,u,Nl,a===null?Fh:function(){return V0(l),a(t)})}function Z0(l){var u=l.memoizedState;if(u!==null)return u;u={memoizedState:Nl,baseState:Nl,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Su,lastRenderedState:Nl},next:null};var a={};return u.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:Su,lastRenderedState:a},next:null},l.memoizedState=u,l=l.alternate,l!==null&&(l.memoizedState=u),u}function V0(l){var u=Z0(l).next.queue;pt(l,u,{},ql())}function Nc(){return gl(yn)}function j0(){return ll().memoizedState}function C0(){return ll().memoizedState}function Ph(l){for(var u=l.return;u!==null;){switch(u.tag){case 24:case 3:var a=ql();l=Vu(a);var t=ju(u,l,a);t!==null&&(zl(t,u,a),Wt(t,u,a)),u={cache:sc()},l.payload=u;return}u=u.return}}function Ih(l,u,a){var t=ql();a={lane:t,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null},le(l)?L0(u,a):(a=fc(l,u,a,t),a!==null&&(zl(a,l,t),x0(a,u,t)))}function K0(l,u,a){var t=ql();pt(l,u,a,t)}function pt(l,u,a,t){var n={lane:t,revertLane:0,action:a,hasEagerState:!1,eagerState:null,next:null};if(le(l))L0(u,n);else{var e=l.alternate;if(l.lanes===0&&(e===null||e.lanes===0)&&(e=u.lastRenderedReducer,e!==null))try{var c=u.lastRenderedState,f=e(c,a);if(n.hasEagerState=!0,n.eagerState=f,ol(f,c))return Zn(l,u,n,0),L===null&&Qn(),!1}catch{}finally{}if(a=fc(l,u,n,t),a!==null)return zl(a,l,t),x0(a,u,t),!0}return!1}function Bc(l,u,a,t){if(t={lane:2,revertLane:Df(),action:t,hasEagerState:!1,eagerState:null,next:null},le(l)){if(u)throw Error(g(479))}else u=fc(l,a,t,2),u!==null&&zl(u,l,2)}function le(l){var u=l.alternate;return l===R||u!==null&&u===R}function L0(l,u){Pa=Wn=!0;var a=l.pending;a===null?u.next=u:(u.next=a.next,a.next=u),l.pending=u}function x0(l,u,a){if(a&4194176){var t=u.lanes;t&=l.pendingLanes,a|=t,u.lanes=a,li(l,a)}}var tu={readContext:gl,use:kn,useCallback:P,useContext:P,useEffect:P,useImperativeHandle:P,useLayoutEffect:P,useInsertionEffect:P,useMemo:P,useReducer:P,useRef:P,useState:P,useDebugValue:P,useDeferredValue:P,useTransition:P,useSyncExternalStore:P,useId:P};tu.useCacheRefresh=P,tu.useMemoCache=P,tu.useHostTransitionStatus=P,tu.useFormState=P,tu.useActionState=P,tu.useOptimistic=P;var ba={readContext:gl,use:kn,useCallback:function(l,u){return Ml().memoizedState=[l,u===void 0?null:u],l},useContext:gl,useEffect:_0,useImperativeHandle:function(l,u,a){a=a!=null?a.concat([l]):null,Pn(4194308,4,N0.bind(null,u,l),a)},useLayoutEffect:function(l,u){return Pn(4194308,4,l,u)},useInsertionEffect:function(l,u){Pn(4,2,l,u)},useMemo:function(l,u){var a=Ml();u=u===void 0?null:u;var t=l();if(ga){_u(!0);try{l()}finally{_u(!1)}}return a.memoizedState=[t,u],t},useReducer:function(l,u,a){var t=Ml();if(a!==void 0){var n=a(u);if(ga){_u(!0);try{a(u)}finally{_u(!1)}}}else n=u;return t.memoizedState=t.baseState=n,l={pending:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:n},t.queue=l,l=l.dispatch=Ih.bind(null,R,l),[t.memoizedState,l]},useRef:function(l){var u=Ml();return l={current:l},u.memoizedState=l},useState:function(l){l=Uc(l);var u=l.queue,a=K0.bind(null,R,u);return u.dispatch=a,[l.memoizedState,a]},useDebugValue:_c,useDeferredValue:function(l,u){var a=Ml();return Rc(a,l,u)},useTransition:function(){var l=Uc(!1);return l=Q0.bind(null,R,l.queue,!0,!1),Ml().memoizedState=l,[!1,l]},useSyncExternalStore:function(l,u,a){var t=R,n=Ml();if(G){if(a===void 0)throw Error(g(407));a=a()}else{if(a=u(),L===null)throw Error(g(349));Y&60||d0(t,u,a)}n.memoizedState=a;var e={value:a,getSnapshot:u};return n.queue=e,_0(s0.bind(null,t,e,l),[l]),t.flags|=2048,lt(9,m0.bind(null,t,e,a,u),{destroy:void 0},null),a},useId:function(){var l=Ml(),u=L.identifierPrefix;if(G){var a=mu,t=du;a=(t&~(1<<32-Ul(t)-1)).toString(32)+a,u=":"+u+"R"+a,a=$n++,0 title"))),sl(e,t,a),e[Sl]=l,fl(e),t=e;break l;case"link":var c=gv("link","href",n).get(t+(a.href||""));if(c){for(var f=0;f<\/script>",l=l.removeChild(l.firstChild);break;case"select":l=typeof t.is=="string"?n.createElement("select",{is:t.is}):n.createElement("select"),t.multiple?l.multiple=!0:t.size&&(l.size=t.size);break;default:l=typeof t.is=="string"?n.createElement(a,{is:t.is}):n.createElement(a)}}l[Sl]=u,l[Tl]=t;l:for(n=u.child;n!==null;){if(n.tag===5||n.tag===6)l.appendChild(n.stateNode);else if(n.tag!==4&&n.tag!==27&&n.child!==null){n.child.return=n,n=n.child;continue}if(n===u)break l;for(;n.sibling===null;){if(n.return===null||n.return===u)break l;n=n.return}n.sibling.return=n.return,n=n.sibling}u.stateNode=l;l:switch(sl(l,a,t),a){case"button":case"input":case"select":case"textarea":l=!!t.autoFocus;break l;case"img":l=!0;break l;default:l=!1}l&&Du(u)}}return w(u),u.flags&=-16777217,null;case 6:if(l&&u.stateNode!=null)l.memoizedProps!==t&&Du(u);else{if(typeof t!="string"&&u.stateNode===null)throw Error(g(166));if(l=Hu.current,Yt(u)){if(l=u.stateNode,a=u.memoizedProps,t=null,n=bl,n!==null)switch(n.tag){case 27:case 5:t=n.memoizedProps}l[Sl]=u,l=!!(l.nodeValue===a||t!==null&&t.suppressHydrationWarning===!0||nv(l.nodeValue,a)),l||ma(u)}else l=Ae(l).createTextNode(t),l[Sl]=u,u.stateNode=l}return w(u),null;case 13:if(t=u.memoizedState,l===null||l.memoizedState!==null&&l.memoizedState.dehydrated!==null){if(n=Yt(u),t!==null&&t.dehydrated!==null){if(l===null){if(!n)throw Error(g(318));if(n=u.memoizedState,n=n!==null?n.dehydrated:null,!n)throw Error(g(317));n[Sl]=u}else Xt(),!(u.flags&128)&&(u.memoizedState=null),u.flags|=4;w(u),n=!1}else rl!==null&&(Sf(rl),rl=null),n=!0;if(!n)return u.flags&256?(su(u),u):(su(u),null)}if(su(u),u.flags&128)return u.lanes=a,u;if(a=t!==null,l=l!==null&&l.memoizedState!==null,a){t=u.child,n=null,t.alternate!==null&&t.alternate.memoizedState!==null&&t.alternate.memoizedState.cachePool!==null&&(n=t.alternate.memoizedState.cachePool.pool);var e=null;t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==n&&(t.flags|=2048)}return a!==l&&a&&(u.child.flags|=8192),ie(u,u.updateQueue),w(u),null;case 4:return Ba(),l===null&&of(u.stateNode.containerInfo),w(u),null;case 10:return zu(u.type),w(u),null;case 19:if(cl(tl),n=u.memoizedState,n===null)return w(u),null;if(t=(u.flags&128)!==0,e=n.rendering,e===null)if(t)ln(n,!1);else{if(r!==0||l!==null&&l.flags&128)for(l=u.child;l!==null;){if(e=Jn(l),e!==null){for(u.flags|=128,ln(n,!1),l=e.updateQueue,u.updateQueue=l,ie(u,l),u.subtreeFlags=0,l=a,a=u.child;a!==null;)B1(a,l),a=a.sibling;return J(tl,tl.current&1|2),u.child}l=l.sibling}n.tail!==null&&lu()>ve&&(u.flags|=128,t=!0,ln(n,!1),u.lanes=4194304)}else{if(!t)if(l=Jn(e),l!==null){if(u.flags|=128,t=!0,l=l.updateQueue,u.updateQueue=l,ie(u,l),ln(n,!0),n.tail===null&&n.tailMode==="hidden"&&!e.alternate&&!G)return w(u),null}else 2*lu()-n.renderingStartTime>ve&&a!==536870912&&(u.flags|=128,t=!0,ln(n,!1),u.lanes=4194304);n.isBackwards?(e.sibling=u.child,u.child=e):(l=n.last,l!==null?l.sibling=e:u.child=e,n.last=e)}return n.tail!==null?(u=n.tail,n.rendering=u,n.tail=u.sibling,n.renderingStartTime=lu(),u.sibling=null,l=tl.current,J(tl,t?l&1|2:l&1),u):(w(u),null);case 22:case 23:return su(u),mc(),t=u.memoizedState!==null,l!==null?l.memoizedState!==null!==t&&(u.flags|=8192):t&&(u.flags|=8192),t?a&536870912&&!(u.flags&128)&&(w(u),u.subtreeFlags&6&&(u.flags|=8192)):w(u),a=u.updateQueue,a!==null&&ie(u,a.retryQueue),a=null,l!==null&&l.memoizedState!==null&&l.memoizedState.cachePool!==null&&(a=l.memoizedState.cachePool.pool),t=null,u.memoizedState!==null&&u.memoizedState.cachePool!==null&&(t=u.memoizedState.cachePool.pool),t!==a&&(u.flags|=2048),l!==null&&cl(Sa),null;case 24:return a=null,l!==null&&(a=l.memoizedState.cache),u.memoizedState.cache!==a&&(u.flags|=2048),zu(nl),w(u),null;case 25:return null}throw Error(g(156,u.tag))}function cy(l,u){switch(vc(u),u.tag){case 1:return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 3:return zu(nl),Ba(),l=u.flags,l&65536&&!(l&128)?(u.flags=l&-65537|128,u):null;case 26:case 27:case 5:return En(u),null;case 13:if(su(u),l=u.memoizedState,l!==null&&l.dehydrated!==null){if(u.alternate===null)throw Error(g(340));Xt()}return l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 19:return cl(tl),null;case 4:return Ba(),null;case 10:return zu(u.type),null;case 22:case 23:return su(u),mc(),l!==null&&cl(Sa),l=u.flags,l&65536?(u.flags=l&-65537|128,u):null;case 24:return zu(nl),null;case 25:return null;default:return null}}function G1(l,u){switch(vc(u),u.tag){case 3:zu(nl),Ba();break;case 26:case 27:case 5:En(u);break;case 4:Ba();break;case 13:su(u);break;case 19:cl(tl);break;case 10:zu(u.type);break;case 22:case 23:su(u),mc(),l!==null&&cl(Sa);break;case 24:zu(nl)}}var fy={getCacheForType:function(l){var u=gl(nl),a=u.data.get(l);return a===void 0&&(a=l(),u.data.set(l,a)),a}},iy=typeof WeakMap=="function"?WeakMap:Map,W=0,L=null,N=null,Y=0,x=0,Rl=null,Mu=!1,nt=!1,ff=!1,Ou=0,r=0,pu=0,Oa=0,vf=0,Ll=0,et=0,un=null,nu=null,hf=!1,yf=0,ve=1/0,he=null,Ju=null,ye=!1,Ua=null,an=0,df=0,mf=null,tn=0,sf=null;function ql(){if(W&2&&Y!==0)return Y&-Y;if(U.T!==null){var l=ka;return l!==0?l:Df()}return ai()}function Q1(){Ll===0&&(Ll=!(Y&536870912)||G?Ff():536870912);var l=Vl.current;return l!==null&&(l.flags|=32),Ll}function zl(l,u,a){(l===L&&x===2||l.cancelPendingCommit!==null)&&(ct(l,0),Uu(l,Y,Ll,!1)),Tt(l,a),(!(W&2)||l!==L)&&(l===L&&(!(W&2)&&(Oa|=a),r===4&&Uu(l,Y,Ll,!1)),eu(l))}function Z1(l,u,a){if(W&6)throw Error(g(327));var t=!a&&(u&60)===0&&(u&l.expiredLanes)===0||Et(l,u),n=t?yy(l,u):zf(l,u,!0),e=t;do{if(n===0){nt&&!t&&Uu(l,u,0,!1);break}else if(n===6)Uu(l,u,0,!Mu);else{if(a=l.current.alternate,e&&!vy(a)){n=zf(l,u,!1),e=!1;continue}if(n===2){if(e=u,l.errorRecoveryDisabledLanes&e)var c=0;else c=l.pendingLanes&-536870913,c=c!==0?c:c&536870912?536870912:0;if(c!==0){u=c;l:{var f=l;n=un;var i=f.current.memoizedState.isDehydrated;if(i&&(ct(f,c).flags|=256),c=zf(f,c,!1),c!==2){if(ff&&!i){f.errorRecoveryDisabledLanes|=e,Oa|=e,n=4;break l}e=nu,nu=n,e!==null&&Sf(e)}n=c}if(e=!1,n!==2)continue}}if(n===1){ct(l,0),Uu(l,u,0,!0);break}l:{switch(t=l,n){case 0:case 1:throw Error(g(345));case 4:if((u&4194176)===u){Uu(t,u,Ll,!Mu);break l}break;case 2:nu=null;break;case 3:case 5:break;default:throw Error(g(329))}if(t.finishedWork=a,t.finishedLanes=u,(u&62914560)===u&&(e=yf+300-lu(),10a?32:a,U.T=null,Ua===null)var e=!1;else{a=mf,mf=null;var c=Ua,f=an;if(Ua=null,an=0,W&6)throw Error(g(331));var i=W;if(W|=4,q1(c.current),H1(c,c.current,f,a),W=i,nn(0,!1),Ol&&typeof Ol.onPostCommitFiberRoot=="function")try{Ol.onPostCommitFiberRoot(At,c)}catch{}e=!0}return e}finally{X.p=n,U.T=t,w1(l,u)}}return!1}function W1(l,u,a){u=Gl(a,u),u=Gc(l.stateNode,u,2),l=ju(l,u,2),l!==null&&(Tt(l,2),eu(l))}function K(l,u,a){if(l.tag===3)W1(l,l,a);else for(;u!==null;){if(u.tag===3){W1(u,l,a);break}else if(u.tag===1){var t=u.stateNode;if(typeof u.type.getDerivedStateFromError=="function"||typeof t.componentDidCatch=="function"&&(Ju===null||!Ju.has(t))){l=Gl(a,l),a=k0(2),t=ju(u,a,2),t!==null&&(F0(a,t,u,l),Tt(t,2),eu(t));break}}u=u.return}}function Af(l,u,a){var t=l.pingCache;if(t===null){t=l.pingCache=new iy;var n=new Set;t.set(u,n)}else n=t.get(u),n===void 0&&(n=new Set,t.set(u,n));n.has(a)||(ff=!0,n.add(a),l=sy.bind(null,l,u,a),u.then(l,l))}function sy(l,u,a){var t=l.pingCache;t!==null&&t.delete(u),l.pingedLanes|=l.suspendedLanes&a,l.warmLanes&=~a,L===l&&(Y&a)===a&&(r===4||r===3&&(Y&62914560)===Y&&300>lu()-yf?!(W&2)&&ct(l,0):vf|=a,et===Y&&(et=0)),eu(l)}function $1(l,u){u===0&&(u=Pf()),l=Nu(l,u),l!==null&&(Tt(l,u),eu(l))}function Sy(l){var u=l.memoizedState,a=0;u!==null&&(a=u.retryLane),$1(l,a)}function gy(l,u){var a=0;switch(l.tag){case 13:var t=l.stateNode,n=l.memoizedState;n!==null&&(a=n.retryLane);break;case 19:t=l.stateNode;break;case 22:t=l.stateNode._retryCache;break;default:throw Error(g(314))}t!==null&&t.delete(u),$1(l,a)}function by(l,u){return Qe(l,u)}var se=null,vt=null,Ef=!1,Se=!1,Tf=!1,oa=0;function eu(l){l!==vt&&l.next===null&&(vt===null?se=vt=l:vt=vt.next=l),Se=!0,Ef||(Ef=!0,Ay(zy))}function nn(l,u){if(!Tf&&Se){Tf=!0;do for(var a=!1,t=se;t!==null;){if(l!==0){var n=t.pendingLanes;if(n===0)var e=0;else{var c=t.suspendedLanes,f=t.pingedLanes;e=(1<<31-Ul(42|l)+1)-1,e&=n&~(c&~f),e=e&201326677?e&201326677|1:e?e|2:0}e!==0&&(a=!0,F1(t,e))}else e=Y,e=On(t,t===L?e:0),!(e&3)||Et(t,e)||(a=!0,F1(t,e));t=t.next}while(a);Tf=!1}}function zy(){Se=Ef=!1;var l=0;oa!==0&&(Hy()&&(l=oa),oa=0);for(var u=lu(),a=null,t=se;t!==null;){var n=t.next,e=r1(t,u);e===0?(t.next=null,a===null?se=n:a.next=n,n===null&&(vt=a)):(a=t,(l!==0||e&3)&&(Se=!0)),t=n}nn(l)}function r1(l,u){for(var a=l.suspendedLanes,t=l.pingedLanes,n=l.expirationTimes,e=l.pendingLanes&-62914561;0"u"?null:document;function dv(l,u,a){var t=yt;if(t&&typeof u=="string"&&u){var n=Yl(u);n='link[rel="'+l+'"][href="'+n+'"]',typeof a=="string"&&(n+='[crossorigin="'+a+'"]'),yv.has(n)||(yv.add(n),l={rel:l,crossOrigin:a,href:u},t.querySelector(n)===null&&(u=t.createElement("link"),sl(u,"link",l),fl(u),t.head.appendChild(u)))}}function Gy(l){ou.D(l),dv("dns-prefetch",l,null)}function Qy(l,u){ou.C(l,u),dv("preconnect",l,u)}function Zy(l,u,a){ou.L(l,u,a);var t=yt;if(t&&l&&u){var n='link[rel="preload"][as="'+Yl(u)+'"]';u==="image"&&a&&a.imageSrcSet?(n+='[imagesrcset="'+Yl(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(n+='[imagesizes="'+Yl(a.imageSizes)+'"]')):n+='[href="'+Yl(l)+'"]';var e=n;switch(u){case"style":e=dt(l);break;case"script":e=mt(l)}xl.has(e)||(l=Z({rel:"preload",href:u==="image"&&a&&a.imageSrcSet?void 0:l,as:u},a),xl.set(e,l),t.querySelector(n)!==null||u==="style"&&t.querySelector(fn(e))||u==="script"&&t.querySelector(vn(e))||(u=t.createElement("link"),sl(u,"link",l),fl(u),t.head.appendChild(u)))}}function Vy(l,u){ou.m(l,u);var a=yt;if(a&&l){var t=u&&typeof u.as=="string"?u.as:"script",n='link[rel="modulepreload"][as="'+Yl(t)+'"][href="'+Yl(l)+'"]',e=n;switch(t){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":e=mt(l)}if(!xl.has(e)&&(l=Z({rel:"modulepreload",href:l},u),xl.set(e,l),a.querySelector(n)===null)){switch(t){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(vn(e)))return}t=a.createElement("link"),sl(t,"link",l),fl(t),a.head.appendChild(t)}}}function jy(l,u,a){ou.S(l,u,a);var t=yt;if(t&&l){var n=Ga(t).hoistableStyles,e=dt(l);u=u||"default";var c=n.get(e);if(!c){var f={loading:0,preload:null};if(c=t.querySelector(fn(e)))f.loading=5;else{l=Z({rel:"stylesheet",href:l,"data-precedence":u},a),(a=xl.get(e))&&Gf(l,a);var i=c=t.createElement("link");fl(i),sl(i,"link",l),i._p=new Promise(function(h,S){i.onload=h,i.onerror=S}),i.addEventListener("load",function(){f.loading|=1}),i.addEventListener("error",function(){f.loading|=2}),f.loading|=4,Te(c,u,t)}c={type:"stylesheet",instance:c,count:1,state:f},n.set(e,c)}}}function Cy(l,u){ou.X(l,u);var a=yt;if(a&&l){var t=Ga(a).hoistableScripts,n=mt(l),e=t.get(n);e||(e=a.querySelector(vn(n)),e||(l=Z({src:l,async:!0},u),(u=xl.get(n))&&Qf(l,u),e=a.createElement("script"),fl(e),sl(e,"link",l),a.head.appendChild(e)),e={type:"script",instance:e,count:1,state:null},t.set(n,e))}}function Ky(l,u){ou.M(l,u);var a=yt;if(a&&l){var t=Ga(a).hoistableScripts,n=mt(l),e=t.get(n);e||(e=a.querySelector(vn(n)),e||(l=Z({src:l,async:!0,type:"module"},u),(u=xl.get(n))&&Qf(l,u),e=a.createElement("script"),fl(e),sl(e,"link",l),a.head.appendChild(e)),e={type:"script",instance:e,count:1,state:null},t.set(n,e))}}function mv(l,u,a,t){var n=(n=Hu.current)?Ee(n):null;if(!n)throw Error(g(446));switch(l){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(u=dt(a.href),a=Ga(n).hoistableStyles,t=a.get(u),t||(t={type:"style",instance:null,count:0,state:null},a.set(u,t)),t):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){l=dt(a.href);var e=Ga(n).hoistableStyles,c=e.get(l);if(c||(n=n.ownerDocument||n,c={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},e.set(l,c),(e=n.querySelector(fn(l)))&&!e._p&&(c.instance=e,c.state.loading=5),xl.has(l)||(a={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},xl.set(l,a),e||Ly(n,l,a,c.state))),u&&t===null)throw Error(g(528,""));return c}if(u&&t!==null)throw Error(g(529,""));return null;case"script":return u=a.async,a=a.src,typeof a=="string"&&u&&typeof u!="function"&&typeof u!="symbol"?(u=mt(a),a=Ga(n).hoistableScripts,t=a.get(u),t||(t={type:"script",instance:null,count:0,state:null},a.set(u,t)),t):{type:"void",instance:null,count:0,state:null};default:throw Error(g(444,l))}}function dt(l){return'href="'+Yl(l)+'"'}function fn(l){return'link[rel="stylesheet"]['+l+"]"}function sv(l){return Z({},l,{"data-precedence":l.precedence,precedence:null})}function Ly(l,u,a,t){l.querySelector('link[rel="preload"][as="style"]['+u+"]")?t.loading=1:(u=l.createElement("link"),t.preload=u,u.addEventListener("load",function(){return t.loading|=1}),u.addEventListener("error",function(){return t.loading|=2}),sl(u,"link",a),fl(u),l.head.appendChild(u))}function mt(l){return'[src="'+Yl(l)+'"]'}function vn(l){return"script[async]"+l}function Sv(l,u,a){if(u.count++,u.instance===null)switch(u.type){case"style":var t=l.querySelector('style[data-href~="'+Yl(a.href)+'"]');if(t)return u.instance=t,fl(t),t;var n=Z({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return t=(l.ownerDocument||l).createElement("style"),fl(t),sl(t,"style",n),Te(t,a.precedence,l),u.instance=t;case"stylesheet":n=dt(a.href);var e=l.querySelector(fn(n));if(e)return u.state.loading|=4,u.instance=e,fl(e),e;t=sv(a),(n=xl.get(n))&&Gf(t,n),e=(l.ownerDocument||l).createElement("link"),fl(e);var c=e;return c._p=new Promise(function(f,i){c.onload=f,c.onerror=i}),sl(e,"link",t),u.state.loading|=4,Te(e,a.precedence,l),u.instance=e;case"script":return e=mt(a.src),(n=l.querySelector(vn(e)))?(u.instance=n,fl(n),n):(t=a,(n=xl.get(e))&&(t=Z({},a),Qf(t,n)),l=l.ownerDocument||l,n=l.createElement("script"),fl(n),sl(n,"link",t),l.head.appendChild(n),u.instance=n);case"void":return null;default:throw Error(g(443,u.type))}else u.type==="stylesheet"&&!(u.state.loading&4)&&(t=u.instance,u.state.loading|=4,Te(t,a.precedence,l));return u.instance}function Te(l,u,a){for(var t=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),n=t.length?t[t.length-1]:null,e=n,c=0;c title"):null)}function xy(l,u,a){if(a===1||u.itemProp!=null)return!1;switch(l){case"meta":case"title":return!0;case"style":if(typeof u.precedence!="string"||typeof u.href!="string"||u.href==="")break;return!0;case"link":if(typeof u.rel!="string"||typeof u.href!="string"||u.href===""||u.onLoad||u.onError)break;switch(u.rel){case"stylesheet":return l=u.disabled,typeof u.precedence=="string"&&l==null;default:return!0}case"script":if(u.async&&typeof u.async!="function"&&typeof u.async!="symbol"&&!u.onLoad&&!u.onError&&u.src&&typeof u.src=="string")return!0}return!1}function zv(l){return!(l.type==="stylesheet"&&!(l.state.loading&3))}var hn=null;function py(){}function Jy(l,u,a){if(hn===null)throw Error(g(475));var t=hn;if(u.type==="stylesheet"&&(typeof a.media!="string"||matchMedia(a.media).matches!==!1)&&!(u.state.loading&4)){if(u.instance===null){var n=dt(a.href),e=l.querySelector(fn(n));if(e){l=e._p,l!==null&&typeof l=="object"&&typeof l.then=="function"&&(t.count++,t=Me.bind(t),l.then(t,t)),u.state.loading|=4,u.instance=e,fl(e);return}e=l.ownerDocument||l,a=sv(a),(n=xl.get(n))&&Gf(a,n),e=e.createElement("link"),fl(e);var c=e;c._p=new Promise(function(f,i){c.onload=f,c.onerror=i}),sl(e,"link",a),u.instance=e}t.stylesheets===null&&(t.stylesheets=new Map),t.stylesheets.set(u,l),(l=u.state.preload)&&!(u.state.loading&3)&&(t.count++,u=Me.bind(t),l.addEventListener("load",u),l.addEventListener("error",u))}}function wy(){if(hn===null)throw Error(g(475));var l=hn;return l.stylesheets&&l.count===0&&Zf(l,l.stylesheets),0"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(E)}catch(el){console.error(el)}}return E(),pf.exports=cd(),pf.exports}var id=fd(),Be=new Map;function vd(){return globalThis.IS_REACT_ACT_ENVIRONMENT}var hd=({callback:E,children:el})=>{let V=Wf.useRef();return Wf.useLayoutEffect(()=>{V.current!==E&&(V.current=E,E())},[E]),el};typeof Promise.withResolvers>"u"&&(Promise.withResolvers=()=>{let E=null,el=null;return{promise:new Promise((V,g)=>{E=V,el=g}),resolve:E,reject:el}});var sd=async(E,el,V)=>{let g=await yd(el,V);if(vd()){g.render(E);return}let{promise:cu,resolve:st}=Promise.withResolvers();return g.render(Wf.createElement(hd,{callback:st},E)),cu},Sd=(E,el)=>{let V=Be.get(E);V&&(V.unmount(),Be.delete(E))},yd=async(E,el)=>{let V=Be.get(E);return V||(V=id.createRoot(E,el),Be.set(E,V)),V};export{sd as renderElement,Sd as unmountElement}; diff --git a/docs/iframe.html b/docs/iframe.html index 987bd10..2ae34d2 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -509,7 +509,7 @@ } - + diff --git a/docs/index.html b/docs/index.html index dd6bea1..7e94cac 100644 --- a/docs/index.html +++ b/docs/index.html @@ -50,21 +50,23 @@ - + - + - + - + - + - + - + - + + +