2024-07-31 11:01:41 +02:00
const _ _vite _ _mapDeps = ( i , m = _ _vite _ _mapDeps , d = ( m . f || ( m . f = [ "./index-BTHRbmsB.js" , "./iframe-BbVjcI4g.js" , "./_commonjsHelpers-Cpj98o6Y.js" , "./index-J1TP6alb.js" , "./index-B659rHmc.js" , "./index-DrFu-skq.js" , "./Color-KGDBMAHA-DCPIegQC.js" ] ) ) ) => i . map ( i => d [ i ] ) ;
var Rz = Object . defineProperty ; var zz = ( e , t , r ) => t in e ? Rz ( e , t , { enumerable : ! 0 , configurable : ! 0 , writable : ! 0 , value : r } ) : e [ t ] = r ; var Ln = ( e , t , r ) => zz ( e , typeof t != "symbol" ? t + "" : t , r ) ; import { _ as hC } from "./iframe-BbVjcI4g.js" ; import { g as Xi , c as Xu } from "./_commonjsHelpers-Cpj98o6Y.js" ; import { O as mC , P as Bz } from "./index-J1TP6alb.js" ; import { e as P4 , s as fp } from "./index-B659rHmc.js" ; import { d as Lz } from "./index-DrFu-skq.js" ; var gC = { exports : { } } , te = { } ; / * *
2024-07-31 10:01:28 +02:00
* @ license React
* react . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
* /var hu=Symbol.for("react.element"),Oz=Symbol.for("react.portal"),Mz=Symbol.for("react.fragment"),Pz=Symbol.for("react.strict_mode"),Nz=Symbol.for("react.profiler"),jz=Symbol.for("react.provider"),Hz=Symbol.for("react.context"),Vz=Symbol.for("react.forward_ref"),Uz=Symbol.for("react.suspense"),Wz=Symbol.for("react.memo"),qz=Symbol.for("react.lazy"),N4=Symbol.iterator;function Gz(e){return e===null||typeof e!="object"?null:(e=N4&&e[N4]||e["@@iterator"],typeof e=="function"?e:null)}var vC={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},yC=Object.assign,wC={};function Ji(e,t,r){this.props=e,this.context=t,this.refs=wC,this.updater=r||vC}Ji.prototype.isReactComponent={};Ji.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")};Ji.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function bC(){}bC.prototype=Ji.prototype;function r5(e,t,r){this.props=e,this.context=t,this.refs=wC,this.updater=r||vC}var n5=r5.prototype=new bC;n5.constructor=r5;yC(n5,Ji.prototype);n5.isPureReactComponent=!0;var j4=Array.isArray,EC=Object.prototype.hasOwnProperty,a5={current:null},xC={key:!0,ref:!0,__self:!0,__source:!0};function CC(e,t,r){var n,a={},o=null,i=null;if(t!=null)for(n in t.ref!==void 0&&(i=t.ref),t.key!==void 0&&(o=""+t.key),t)EC.call(t,n)&&!xC.hasOwnProperty(n)&&(a[n]=t[n]);var l=arguments.length-2;if(l===1)a.children=r;else if(1<l){for(var s=Array(l),d=0;d<l;d++)s[d]=arguments[d+2];a.children=s}if(e&&e.defaultProps)for(n in l=e.defaultProps,l)a[n]===void 0&&(a[n]=l[n]);return{$$typeof:hu,type:e,key:o,ref:i,props:a,_owner:a5.current}}function Kz(e,t){return{$$typeof:hu,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}function o5(e){return typeof e=="object"&&e!==null&&e.$$typeof===hu}function Yz(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/ [ = : ] / g , function ( r ) { return t [ r ] } ) } var H4 = /\/+/g ; function hp ( e , t ) { return typeof e == "object" && e !== null && e . key != null ? Yz ( "" + e . key ) : t . toString ( 36 ) } function Uc ( e , t , r , n , a ) { var o = typeof e ; ( o === "undefined" || o === "boolean" ) && ( e = null ) ; var i = ! 1 ; if ( e === null ) i = ! 0 ; else switch ( o ) { case "string" : case "number" : i = ! 0 ; break ; case "object" : switch ( e . $$typeof ) { case hu : case Oz : i = ! 0 } } if ( i ) return i = e , a = a ( i ) , e = n === "" ? "." + hp ( i , 0 ) : n , j4 ( a ) ? ( r = "" , e != null && ( r = e . replace ( H4 , "$&/" ) + "/" ) , Uc ( a , t , r , "" , function ( d ) { return d } ) ) : a != null && ( o5 ( a ) && ( a = Kz ( a , r + ( ! a . key || i && i . key === a . key ? "" : ( "" + a . key ) . replace ( H4 , "$&/" ) + "/" ) + e ) ) , t . push ( a ) ) , 1 ; if ( i = 0 , n = n === "" ? "." : n + ":" , j4 ( e ) ) for ( var l = 0 ; l < e . length ; l ++ ) { o = e [ l ] ; var s = n + hp ( o , l ) ; i += Uc ( o , t , r , s , a ) } else if ( s = Gz ( e ) , typeof s == "function" ) for ( e = s . call ( e ) , l = 0 ; ! ( o = e . next ( ) ) . done ; ) o = o . value , s = n + hp ( o , l ++ ) , i += Uc ( o , t , r , s , a ) ; else if ( o === "object" ) throw t = String ( e ) , Error ( "Objects are not valid as a React child (found: " + ( t === "[object Object]" ? "object with keys {" + Object . keys ( e ) . join ( ", " ) + "}" : t ) + "). If you meant to render a collection of children, use an array instead." ) ; return i } function Ju ( e , t , r ) { if ( e == null ) return e ; var n = [ ] , a = 0 ; return Uc ( e , n , "" , "" , function ( o ) { return t . call ( r , o , a ++ ) } ) , n } function Zz ( e ) { if ( e . _status === - 1 ) { var t = e . _result ; t = t ( ) , t . then ( function ( r ) { ( e . _status === 0 || e . _status === - 1 ) && ( e . _status = 1 , e . _result = r ) } , function ( r ) { ( e . _status === 0 || e . _status === - 1 ) && ( e . _status = 2 , e . _result = r ) } ) , e . _status === - 1 && ( e . _status = 0 , e . _result = t ) } if ( e . _status === 1 ) return e . _result . default ; throw e . _result } var pt = { current : null } , Wc = { transition : null } , Xz = { ReactCurrentDispatcher : pt , ReactCurrentBatchConfig : Wc , ReactCurrentOwner : a5 } ; function DC ( ) { throw Error ( "act(...) is not supported in production builds of React." ) } te . Children = { map : Ju , forEach : function ( e , t , r ) { Ju ( e , function ( ) { t . apply ( this , arguments ) } , r ) } , count : function ( e ) { var t = 0 ; return Ju ( e , function ( ) { t ++ } ) , t } , toArray : function ( e ) { return Ju ( e , function ( t ) { return t } ) || [ ] } , only : function ( e ) { if ( ! o5 ( e ) ) throw Error ( " React . Children . only expected to receive a sin
` +r+" \n \n ` @ import ` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that ` @ import ` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!a,this.isSpeedy){var o=AC(n);try{o.insertRule(r,o.cssRules.length)}catch(i){/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(r)||console.error('There was a problem inserting the following rule: "'+r+'"',i)}}else n.appendChild(document.createTextNode(r));this.ctr++},"insert"),t.flush=T(function(){this.tags.forEach(function(r){return r.parentNode&&r.parentNode.removeChild(r)}),this.tags=[],this.ctr=0,this._alreadyInsertedOrderInsensitiveRule=!1},"flush"),e}(),Qe="-ms-",S0="-moz-",le="-webkit-",c5="comm",d5="rule",p5="decl",mB="@import", $ C="@keyframes",gB="@layer",vB=Math.abs,Ud=String.fromCharCode,yB=Object.assign;function TC(e,t){return Oe(e,0)^45?(((t<<2^Oe(e,0))<<2^Oe(e,1))<<2^Oe(e,2))<<2^Oe(e,3):0}T(TC,"hash");function f5(e){return e.trim()}T(f5,"trim");function IC(e,t){return(e=t.exec(e))?e[0]:e}T(IC,"match");function ie(e,t,r){return e.replace(t,r)}T(ie,"replace");function k0(e,t){return e.indexOf(t)}T(k0,"indexof");function Oe(e,t){return e.charCodeAt(t)|0}T(Oe,"charat");function Di(e,t,r){return e.slice(t,r)}T(Di,"substr");function cr(e){return e.length}T(cr,"strlen");function Wd(e){return e.length}T(Wd,"sizeof");function Jl(e,t){return t.push(e),e}T(Jl,"append");function RC(e,t){return e.map(t).join("")}T(RC,"combine");var qd=1,Si=1,zC=0,Ct=0,Se=0,el="";function mu(e,t,r,n,a,o,i){return{value:e,root:t,parent:r,type:n,props:a,children:o,line:qd,column:Si,length:i,return:""}}T(mu,"node");function Ho(e,t){return yB(mu("",null,null,"",null,null,0),e,{length:-e.length},t)}T(Ho,"copy");function BC(){return Se}T(BC,"char");function LC(){return Se=Ct>0?Oe(el,--Ct):0,Si--,Se===10&&(Si=1,qd--),Se}T(LC,"prev");function vt(){return Se=Ct<zC?Oe(el,Ct++):0,Si++,Se===10&&(Si=1,qd++),Se}T(vt,"next");function mr(){return Oe(el,Ct)}T(mr,"peek");function fs(){return Ct}T(fs,"caret");function tl(e,t){return Di(el,e,t)}T(tl,"slice");function ki(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}T(ki,"token");function h5(e){return qd=Si=1,zC=cr(el=e),Ct=0,[]}T(h5,"alloc");function m5(e){return el="",e}T(m5,"dealloc");function hs(e){return f5(tl(Ct-1,_0(e===91?e+2:e===40?e+1:e)))}T(hs,"delimit");function OC(e){for(;(Se=mr())&&Se<33;)vt();return ki(e)>2||ki(Se)>3?"":" "}T(OC,"whitespace");function MC(e,t){for(;--t&&vt()&&!(Se<48||Se>102||Se>57&&Se<65||Se>70&&Se<97););return tl(e,fs()+(t<6&&mr()==32&&vt()==32))}T(MC,"escaping");function _0(e){for(;vt();)switch(Se){case e:return Ct;case 34:case 39:e!==34&&e!==39&&_0(Se);break;case 40:e===41&&_0(e);break;case 92:vt();break}return Ct}T(_0,"delimiter");function PC(e,t){for(;vt()&&e+Se!==57&&!(e+Se===84&&mr()===47););return"/*"+tl(t,Ct-1)+"*"+Ud(e===47?e:vt())}T(PC,"commenter");function NC(e){for(;!ki(mr());)vt();return tl(e,Ct)}T(NC,"identifier");function jC(e){return m5(ms("",null,null,null,[""],e=h5(e),0,[0],e))}T(jC,"compile");function ms(e,t,r,n,a,o,i,l,s){for(var d=0,p=0,h=i,m=0,f=0,v=0,g=1,C=1,E=1,y=0,b="",x=a,D=o,S=n,k=b;C;)switch(v=y,y=vt()){case 40:if(v!=108&&Oe(k,h-1)==58){k0(k+=ie(hs(y),"&","& \f "),"& \f ")!=-1&&(E=-1);break}case 34:case 39:case 91:k+=hs(y);break;case 9:case 10:case 13:case 32:k+=OC(v);break;case 92:k+=MC(fs()-1,7);continue;case 47:switch(mr()){case 42:case 47:Jl(HC(PC(vt(),fs()),t,r),s);break;default:k+="/"}break;case 123*g:l[d++]=cr(k)*E;case 125*g:case 59:case 0:switch(y){case 0:case 125:C=0;case 59+p:E==-1&&(k=ie(k,/ \f /g,"")),f>0&&cr(k)-h&&Jl(f>32?fm(k+";",n,r,h-1):fm(ie(k," ","")+";",n,r,h-2),s);break;case 59:k+=";";default:if(Jl(S=pm(k,t,r,d,p,a,l,b,x=[],D=[],h),o),y===123)if(p===0)ms(k,t,S,S,x,o,h,l,D);els
If multiple caches share the same key they might "fight" for each other 's style elements.`);if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(v){var g=v.getAttribute("data-emotion");g.indexOf(" ")!==-1&&(document.head.appendChild(v),v.setAttribute("data-s",""))})}var n=e.stylisPlugins||$B;if(/[^a-z-]/.test(t))throw new Error(' Emotion key must only contain lower case alphabetical characters and - but "'+t+'" was passed ');var a={},o,i=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll(' style [ data - emotion ^= "'+t+' " ] '),function(v){for(var g=v.getAttribute("data-emotion").split(" "),C=1;C<g.length;C++)a[g[C]]=!0;i.push(v)});var l,s=[xB,CB];s.push(kB({get compat(){return f.compat}}),AB);{var d,p=[VC,function(v){v.root||(v.return?d.insert(v.return):v.value&&v.type!==c5&&d.insert(v.value+"{}"))}],h=UC(s.concat(n,p)),m=T(function(v){return Za(jC(v),h)},"stylis");l=T(function(v,g,C,E){d=C,g.map!==void 0&&(d={insert:T(function(y){C.insert(y+g.map)},"insert")}),m(v?v+"{"+g.styles+"}":g.styles),E&&(f.inserted[g.name]=!0)},"insert")}var f={key:t,sheet:new hB({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:l};return f.sheet.hydrate(i),f},"createCache"),IB=l5(_C()),RB=T(function(e,t){return(0,IB.default)(e,t)},"hoistNonReactStatics"),zB=!0;function Gd(e,t,r){var n="";return r.split(" ").forEach(function(a){e[a]!==void 0?t.push(e[a]+";"):n+=a+" "}),n}T(Gd,"getRegisteredStyles");var Kd=T(function(e,t,r){var n=e.key+"-"+t.name;(r===!1||zB===!1)&&e.registered[n]===void 0&&(e.registered[n]=t.styles)},"registerStyles"),Yd=T(function(e,t,r){Kd(e,t,r);var n=e.key+"-"+t.name;if(e.inserted[t.name]===void 0){var a=t;do e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next;while(a!==void 0)}},"insertStyles");function qC(e){for(var t=0,r,n=0,a=e.length;a>=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)}T(qC,"murmur2");var BB={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},q4=`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`,LB="You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).",OB=/[A-Z]|^ms/g,GC=/_EMO_([^_]+?)_([^]*?)_EMO_/g,v5=T(function(e){return e.charCodeAt(1)===45},"isCustomProperty"),G4=T(function(e){return e!=null&&typeof e!="boolean"},"isProcessableValue"),mp=s5(function(e){return v5(e)?e:e.replace(OB,"-$&").toLowerCase()}),A0=T(function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(GC,function(r,n,a){return jr={name:n,styles:a,next:jr},n})}return BB[e]!==1&&!v5(e)&&typeof t=="number"&&t!==0?t+"px":t},"processStyleValue");K4=/(var|attr|counters?|url|element|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/,Y4=["normal","none","initial","inherit","unset"],Z4=A0,X4=/^-ms-/,J4=/-(.)/g,gp={},A0=T(function(e,t){if(e==="content"&&(typeof t!="string"||Y4.indexOf(t)===-1&&!K4.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=Z4(e,t);return r!==""&&!v5(e)&&e.indexOf("-")!==-1&&gp[e]===void 0&&(gp[e]=!0,console.error("Using kebab-case for css properties in objects is not supported. Did you mean "+e.replace(X4,"ms-").replace(J4,function(n,a){return a.toUpperCase()})+"?")),r},"processStyleValue");var K4,Y4,Z4,X4,J4,gp,KC="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function _i(e,t,r){if(r==null)return"";if(r.__emotion_styles!==void 0){if(r.toString()==="NO_COMPONENT_SELECTOR")throw new Error(KC);return r}switch(typeof r){case"boolean":return"";case"object":{if(r.anim===1)return jr={name:r.name,styles:r.styles,next:jr},r.name;if(r.styles!==void 0){var n=r.next;if(n!==void 0)for(;n!==void 0;)jr={name:n.name,styles:n.styles,next:jr},n=n.next;var a=r.styles+";";return r.map!==void 0&&(a+=r.map),a}return YC(e,t,r)}case"function":{if(e!==void 0){var o=jr,i=r(e);return jr=o,_i(e,t,i)}else console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");break}case"string":var l=[],s=r.replace(GC,function(p,h,m){var f="animation"+l.length;return l.push("const "+f+" = keyframes`"+m.replace(/^@keyframes animation-\w+/,"")+"`"),"${"+f+"}"});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,["`"+s+"`"]).join(`
` )+ `
You should wrap it with \ ` css \` like this:
` +("css ` "+s+" ` "));break}if(t==null)return r;var d=t[r];return d!==void 0?d:r}T(_i,"handleInterpolation");function YC(e,t,r){var n="";if(Array.isArray(r))for(var a=0;a<r.length;a++)n+=_i(e,t,r[a])+";";else for(var o in r){var i=r[o];if(typeof i!="object")t!=null&&t[i]!==void 0?n+=o+"{"+t[i]+"}":G4(i)&&(n+=mp(o)+":"+A0(o,i)+";");else{if(o==="NO_COMPONENT_SELECTOR")throw new Error(KC);if(Array.isArray(i)&&typeof i[0]=="string"&&(t==null||t[i[0]]===void 0))for(var l=0;l<i.length;l++)G4(i[l])&&(n+=mp(o)+":"+A0(o,i[l])+";");else{var s=_i(e,t,i);switch(o){case"animation":case"animationName":{n+=mp(o)+":"+s+";";break}default:o==="undefined"&&console.error(LB),n+=o+"{"+s+"}"}}}}return n}T(YC,"createStringFromObject");var Q4=/label: \s *([^ \s ; \n {]+) \s *(;| $ )/g,ZC;ZC=/ \/ \* # \s sourceMappingURL=data:application \/ json; \S + \s + \* \/ /g;var jr,Ai=T(function(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";jr=void 0;var o=e[0];o==null||o.raw===void 0?(n=!1,a+=_i(r,t,o)):(o[0]===void 0&&console.error(q4),a+=o[0]);for(var i=1;i<e.length;i++)a+=_i(r,t,e[i]),n&&(o[i]===void 0&&console.error(q4),a+=o[i]);var l;a=a.replace(ZC,function(h){return l=h,""}),Q4.lastIndex=0;for(var s="",d;(d=Q4.exec(a))!==null;)s+="-"+d[1];var p=qC(a)+s;return{name:p,styles:a,map:l,next:jr,toString:T(function(){return"You have tried to stringify object returned from ` css ` function. It isn't supposed to be used directly (e.g. as value of the ` className ` prop), but rather handed to emotion so it can handle it (e.g. as value of ` css ` prop)."},"toString")}},"serializeStyles"),MB=T(function(e){return e()},"syncFallback"),XC=u.useInsertionEffect?u.useInsertionEffect:!1,y5=XC||MB,e3=XC||u.useLayoutEffect,PB={}.hasOwnProperty,w5=u.createContext(typeof HTMLElement<"u"?TB({key:"css"}):null);w5.displayName="EmotionCacheContext";w5.Provider;var Zd=T(function(e){return u.forwardRef(function(t,r){var n=u.useContext(w5);return e(t,n,r)})},"withEmotionCache"),Dn=u.createContext({});Dn.displayName="EmotionThemeContext";var JC=T(function(){return u.useContext(Dn)},"useTheme"),NB=T(function(e,t){if(typeof t=="function"){var r=t(e);if(r==null||typeof r!="object"||Array.isArray(r))throw new Error("[ThemeProvider] Please return an object from your theme function, i.e. theme={() => ({})}!");return r}if(t==null||typeof t!="object"||Array.isArray(t))throw new Error("[ThemeProvider] Please make your theme prop a plain object");return Qr({},e,t)},"getTheme"),jB=V4(function(e){return V4(function(t){return NB(e,t)})}),QC=T(function(e){var t=u.useContext(Dn);return e.theme!==t&&(t=jB(t)(e.theme)),u.createElement(Dn.Provider,{value:t},e.children)},"ThemeProvider");function HB(e){var t=e.displayName||e.name||"Component",r=T(function(a,o){var i=u.useContext(Dn);return u.createElement(e,Qr({theme:i,ref:o},a))},"render"),n=u.forwardRef(r);return n.displayName="WithTheme("+t+")",RB(n,e)}T(HB,"withTheme");var t3="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",r3="__EMOTION_LABEL_PLEASE_DO_NOT_USE__",VB=T(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Kd(t,r,n),y5(function(){return Yd(t,r,n)}),null},"Insertion"),UB=Zd(function(e,t,r){var n=e.css;typeof n=="string"&&t.registered[n]!==void 0&&(n=t.registered[n]);var a=e[t3],o=[n],i="";typeof e.className=="string"?i=Gd(t.registered,o,e.className):e.className!=null&&(i=e.className+" ");var l=Ai(o,void 0,u.useContext(Dn));if(l.name.indexOf("-")===-1){var s=e[r3];s&&(l=Ai([l,"label:"+s+";"]))}i+=t.key+"-"+l.name;var d={};for(var p in e)PB.call(e,p)&&p!=="css"&&p!==t3&&p!==r3&&(d[p]=e[p]);return d.ref=r,d.className=i,u.createElement(u.Fragment,null,u.createElement(VB,{cache:t,serialized:l,isStringTag:typeof a=="string"}),u.createElement(a,d))});UB.displayName="EmotionCssPropInternal";l5(_C());var WB={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:"./
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`,JB=T(function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return Kd(t,r,n),y5(function(){return Yd(t,r,n)}),null},"Insertion"),QB=T(function e(t,r){if(t===void 0)throw new Error(`You are trying to create a styled element with an undefined component.
You may have forgotten to import it . ` );var n=t.__emotion_real===t,a=n&&t.__emotion_base||t,o,i;r!==void 0&&(o=r.label,i=r.target);var l=i3(t,r,n),s=l||o3(a),d=!s("as");return function(){var p=arguments,h=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&h.push("label:"+o+";"),p[0]==null||p[0].raw===void 0)h.push.apply(h,p);else{p[0][0]===void 0&&console.error(l3),h.push(p[0][0]);for(var m=p.length,f=1;f<m;f++)p[0][f]===void 0&&console.error(l3),h.push(p[f],p[0][f])}var v=Zd(function(g,C,E){var y=d&&g.as||a,b="",x=[],D=g;if(g.theme==null){D={};for(var S in g)D[S]=g[S];D.theme=u.useContext(Dn)}typeof g.className=="string"?b=Gd(C.registered,x,g.className):g.className!=null&&(b=g.className+" ");var k=Ai(h.concat(x),C.registered,D);b+=C.key+"-"+k.name,i!==void 0&&(b+=" "+i);var _=d&&l===void 0?o3(y):s,A={};for(var $ in g)d&& $ ==="as"||_( $ )&&(A[ $ ]=g[ $ ]);return A.className=b,A.ref=E,u.createElement(u.Fragment,null,u.createElement(JB,{cache:C,serialized:k,isStringTag:typeof y=="string"}),u.createElement(y,A))});return v.displayName=o!==void 0?o:"Styled("+(typeof a=="string"?a:a.displayName||a.name||"Component")+")",v.defaultProps=t.defaultProps,v.__emotion_real=v,v.__emotion_base=a,v.__emotion_styles=h,v.__emotion_forwardProp=l,Object.defineProperty(v,"toString",{value:T(function(){return i===void 0?"NO_COMPONENT_SELECTOR":"."+i},"value")}),v.withComponent=function(g,C){return e(g,Qr({},r,C,{shouldForwardProp:i3(v,C,!0)})).apply(void 0,h)},v}},"createStyled"),eL=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","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","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],F=QB.bind();eL.forEach(function(e){F[e]=F(e)});function t9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}T(t9,"_assertThisInitialized");function Fi(e,t){return Fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():T(function(r,n){return r.__proto__=n,r},"_setPrototypeOf"),Fi(e,t)}T(Fi,"_setPrototypeOf");function r9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Fi(e,t)}T(r9,"_inheritsLoose");function F0(e){return F0=Object.setPrototypeOf?Object.getPrototypeOf.bind():T(function(t){return t.__proto__||Object.getPrototypeOf(t)},"_getPrototypeOf"),F0(e)}T(F0,"_getPrototypeOf");function n9(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}T(n9,"_isNativeFunction");function b5(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(b5=T(function(){return!!e},"_isNativeReflectConstruct"))()}T(b5,"_isNativeReflectConstruct");function a9(e,t,r){if(b5())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Fi(a,r.prototype),a}T(a9,"_construct");function $ 0(e){var t=typeof Map=="function"?new Map:void 0;return $ 0=T(function(r){if(r===null||!n9(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return a9(r,arguments,F0(this).constructor)}return T(n,"Wrapper"),n.prototype=Objec
` ,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 o9(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],a=[],o;for(o=1;o<t.length;o+=1)a.push(t[o]);return a.forEach(function(i){n=n.replace(/%[a-z]/,i)}),n}T(o9,"format");var Wr=function(e){r9(t,e);function t(r){for(var n,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];return n=e.call(this,o9.apply(void 0,[tL[r]].concat(o)))||this,t9(n)}return T(t,"PolishedError"),t}( $ 0(Error));function qc(e){return Math.round(e*255)}T(qc,"colorToInt");function i9(e,t,r){return qc(e)+","+qc(t)+","+qc(r)}T(i9,"convertToInt");function $ i(e,t,r,n){if(n===void 0&&(n=i9),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),l=0,s=0,d=0;a>=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,d=i):a>=3&&a<4?(s=i,d=o):a>=4&&a<5?(l=i,d=o):a>=5&&a<6&&(l=o,d=i);var p=r-o/2,h=l+p,m=s+p,f=d+p;return n(h,m,f)}T( $ i,"hslToRgb");var s3={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 l9(e){if(typeof e!="string")return e;var t=e.toLowerCase();return s3[t]?"#"+s3[t]:e}T(l9,"nameToHex");var rL=/^#[a-fA-F0-9]{6} $ /,nL=/^#[a-fA-F0-9]{8} $ /,aL=/^#[a-fA-F0-9]{3} $ /,oL=/^#[a-fA-F0-9]{4} $ /,bp=/^rgb \( \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s * \) $ /i,iL=/^rgb(?:a)? \( \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,| \/ ) \s *([-+]? \d *[.]? \d +[%]?) \s * \) $ /i
from {
transform : rotate ( 0 deg ) ;
}
to {
transform : rotate ( 360 deg ) ;
}
` ,w9=Tn `
0 % , 100 % { opacity : 1 ; }
50 % { opacity : . 4 ; }
` ,zL=Tn `
0 % { transform : translateY ( 1 px ) ; }
25 % { transform : translateY ( 0 px ) ; }
50 % { transform : translateY ( - 3 px ) ; }
100 % { transform : translateY ( 1 px ) ; }
` ,BL=Tn `
0 % , 100 % { transform : translate3d ( 0 , 0 , 0 ) ; }
12.5 % , 62.5 % { transform : translate3d ( - 4 px , 0 , 0 ) ; }
37.5 % , 87.5 % { transform : translate3d ( 4 px , 0 , 0 ) ; }
` ,LL=Xd `
animation : $ { w9 } 1.5 s ease - in - out infinite ;
color : transparent ;
cursor : progress ;
` ,OL=Xd `
transition : all 150 ms ease - out ;
transform : translate3d ( 0 , 0 , 0 ) ;
& : hover {
transform : translate3d ( 0 , - 2 px , 0 ) ;
}
& : active {
transform : translate3d ( 0 , 0 , 0 ) ;
}
` ,ML={rotate360:RL,glow:w9,float:zL,jiggle:BL,inlineGlow:LL,hoverable:OL},PL={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"},NL={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"},jL=T(e=>Object.entries(e).reduce((t,[r,n])=>({...t,[r]:AL(n)}),{}),"convertColors"),HL=T(({colors:e,mono:t})=>{let r=jL(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"
[ ] { ` +Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o, `
` )})}n[0]=n[0].replace(/^ \r ? \n /,"");var i=n[0];return t.forEach(function(l,s){var d=i.match(/(?:^| \n )( *) $ /),p=d?d[1]:"",h=l;typeof l=="string"&&l.includes( `
` )&&(h=String(l).split( `
` ).map(function(m,f){return f===0?m:""+p+m}).join( `
` )),i+=h+n[s+1]}),i}T(E9,"dedent");var XL=T(e=>{if(!e)return gm(I0);let t=ZL(I0,e);return Object.keys(t).length&&qL.warn(E9 `
Your theme is missing properties , you should update your theme !
theme - data missing :
` ,t),gm(e)},"ensure"),vm="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",x9={exports:{}},jt={},C9={exports:{}},D9={};/**
* @ license React
* scheduler . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
* / ( f u n c t i o n ( e ) { f u n c t i o n t ( z , O ) { v a r N = z . l e n g t h ; z . p u s h ( O ) ; e : f o r ( ; 0 < N ; ) { v a r K = N - 1 > > > 1 , J = z [ K ] ; i f ( 0 < a ( J , O ) ) z [ K ] = O , z [ N ] = J , N = K ; e l s e b r e a k e } } f u n c t i o n r ( z ) { r e t u r n z . l e n g t h = = = 0 ? n u l l : z [ 0 ] } f u n c t i o n n ( z ) { i f ( z . l e n g t h = = = 0 ) r e t u r n n u l l ; v a r O = z [ 0 ] , N = z . p o p ( ) ; i f ( N ! = = O ) { z [ 0 ] = N ; e : f o r ( v a r K = 0 , J = z . l e n g t h , r e = J > > > 1 ; K < r e ; ) { v a r n e = 2 * ( K + 1 ) - 1 , U = z [ n e ] , X = n e + 1 , e e = z [ X ] ; i f ( 0 > a ( U , N ) ) X < J & & 0 > a ( e e , U ) ? ( z [ K ] = e e , z [ X ] = N , K = X ) : ( z [ K ] = U , z [ n e ] = N , K = n e ) ; e l s e i f ( X < J & & 0 > a ( e e , N ) ) z [ K ] = e e , z [ X ] = N , K = X ; e l s e b r e a k e } } r e t u r n O } f u n c t i o n a ( z , O ) { v a r N = z . s o r t I n d e x - O . s o r t I n d e x ; r e t u r n N ! = = 0 ? N : z . i d - O . i d } i f ( t y p e o f p e r f o r m a n c e = = " o b j e c t " & & t y p e o f p e r f o r m a n c e . n o w = = " f u n c t i o n " ) { v a r o = p e r f o r m a n c e ; e . u n s t a b l e _ n o w = f u n c t i o n ( ) { r e t u r n o . n o w ( ) } } e l s e { v a r i = D a t e , l = i . n o w ( ) ; e . u n s t a b l e _ n o w = f u n c t i o n ( ) { r e t u r n i . n o w ( ) - l } } v a r s = [ ] , d = [ ] , p = 1 , h = n u l l , m = 3 , f = ! 1 , v = ! 1 , g = ! 1 , C = t y p e o f s e t T i m e o u t = = " f u n c t i o n " ? s e t T i m e o u t : n u l l , E = t y p e o f c l e a r T i m e o u t = = " f u n c t i o n " ? c l e a r T i m e o u t : n u l l , y = t y p e o f s e t I m m e d i a t e < " u " ? s e t I m m e d i a t e : n u l l ; t y p e o f n a v i g a t o r < " u " & & n a v i g a t o r . s c h e d u l i n g ! = = v o i d 0 & & n a v i g a t o r . s c h e d u l i n g . i s I n p u t P e n d i n g ! = = v o i d 0 & & n a v i g a t o r . s c h e d u l i n g . i s I n p u t P e n d i n g . b i n d ( n a v i g a t o r . s c h e d u l i n g ) ; f u n c t i o n b ( z ) { f o r ( v a r O = r ( d ) ; O ! = = n u l l ; ) { i f ( O . c a l l b a c k = = = n u l l ) n ( d ) ; e l s e i f ( O . s t a r t T i m e < = z ) n ( d ) , O . s o r t I n d e x = O . e x p i r a t i o n T i m e , t ( s , O ) ; e l s e b r e a k ; O = r ( d ) } } f u n c t i o n x ( z ) { i f ( g = ! 1 , b ( z ) , ! v ) i f ( r ( s ) ! = = n u l l ) v = ! 0 , H ( D ) ; e l s e { v a r O = r ( d ) ; O ! = = n u l l & & q ( x , O . s t a r t T i m e - z ) } } f u n c t i o n D ( z , O ) { v = ! 1 , g & & ( g = ! 1 , E ( _ ) , _ = - 1 ) , f = ! 0 ; v a r N = m ; t r y { f o r ( b ( O ) , h = r ( s ) ; h ! = = n u l l & & ( ! ( h . e x p i r a t i o n T i m e > O ) | | z & & ! I ( ) ) ; ) { v a r K = h . c a l l b a c k ; i f ( t y p e o f K = = " f u n c t i o n " ) { h . c a l l b a c k = n u l l , m = h . p r i o r i t y L e v e l ; v a r J = K ( h . e x p i r a t i o n T i m e < = O ) ; O = e . u n s t a b l e _ n o w ( ) , t y p e o f J = = " f u n c t i o n " ? h . c a l l b a c k = J : h = = = r ( s ) & & n ( s ) , b ( O ) } e l s e n ( s ) ; h = r ( s ) } i f ( h ! = = n u l l ) v a r r e = ! 0 ; e l s e { v a r n e = r ( d ) ; n e ! = = n u l l & & q ( x , n e . s t a r t T i m e - O ) , r e = ! 1 } r e t u r n r e } f i n a l l y { h = n u l l , m = N , f = ! 1 } } v a r S = ! 1 , k = n u l l , _ = - 1 , A = 5 , $ = - 1 ; f u n c t i o n I ( ) { r e t u r n ! ( e . u n s t a b l e _ n o w ( ) - $ < A ) } f u n c t i o n L ( ) { i f ( k ! = = n u l l ) { v a r z = e . u n s t a b l e _ n o w ( ) ; $ = z ; v a r O = ! 0 ; t r y { O = k ( ! 0 , z ) } f i n a l l y { O ? B ( ) : ( S = ! 1 , k = n u l l ) } } e l s e S = ! 1 } v a r B ; i f ( t y p e o f y = = " f u n c t i o n " ) B = f u n c t i o n ( ) { y ( L ) } ; e l s e i f ( t y p e o f M e s s a g e C h a n n e l < " u " ) { v a r j = n e w M e s s a g e C h a n n e l , P = j . p o r t 2 ; j . p o r t 1 . o n m e s s a g e = L , B = f u n c t i o n ( ) { P . p o s t M e s s a g e ( n u l l ) } } e l s e B = f u n c t i o n ( ) { C ( L , 0 ) } ; f u n c t i o n H ( z ) { k = z , S | | ( S = ! 0 , B ( ) ) } f u n c t i o n q ( z , O ) { _ = C ( f u n c t i o n ( ) { z ( e . u n s t a b l e _ n o w ( ) ) } , O ) } e . u n s t a b l e _ I d l e P r i o r i t y = 5 , e . u n s t a b l e _ I m m e d i a t e P r i o r i t y = 1 , e . u n s t a b l e _ L o w P r i o r i t y = 4 , e . u n s t a b l e _ N o r m a l P r i o r i t y = 3 , e . u n s t a b l e _ P r o f i l i n g = n u l l , e . u n s t a b l e _ U s e r B l o c k i n g P r i o r i t y = 2 , e . u n s t a b l e _ c a n c e l C a l l b a c k = f u n c t i o n ( z ) { z . c a l l b a c k = n u l l } , e . u n s t a b l e _ c o n t i n u e E x e c u t i o n = f u n c t i o n ( ) { v | | f | | ( v = ! 0 , H ( D ) ) } , e . u n s t a b l e _ f o r c e F r a m e R a t e = f u n c t i o n ( z ) { 0 > z | | 1 2 5 < z ? c o n s o l e . e r r o r ( " f o r c e F r a m e R a t e t a k e s a p o s i t i v e i n t b e t w e e n 0 a n d 1 2 5 , f o r c i n g f r a m e r a t e s h i g h e r t h a n 1 2 5 f p s i s n o t s u p p o r t e d " ) : A = 0 < z ? M a t h . f l o o r ( 1 e 3 / z ) : 5 } , e . u n s t a b l e _ g e t C u r r e n t P r i o r i t y L e v e l = f u n c t i o n ( ) { r e t u r n m } , e . u n s t a b l e _ g e t F i r s t C a l l b a c k N o d e = f u n c t i o n ( ) { r e t u r n r ( s ) } , e . u n s t a b l e _ n e x t = f u n c t i o n ( z ) { s w i t c h ( m ) { c a s e 1 : c a s e 2 : c a s e 3 : v a r O = 3 ; b r e a k ; d e f a u l t : O = m } v a r N = m ; m = O ; t r y { r e t u r n z ( ) } f i n a l l y { m = N } } , e . u n s t a b l e _ p a u s e E x e c u t i o n = f u n c t i o n ( ) { } , e . u n s t a b l e _ r e q u e s t P a i n t = f u n c t i o n ( ) { } , e . u n s t a b l e _ r u n W i t h P r i o r i t y = f u n c t i o n ( z , O ) { s w i t c h ( z ) { c a s e 1 : c a s e 2 : c a s e 3 : c a s e 4 : c a s e 5 : b r e a k ; d e f a u l t : z = 3 } v a r N = m ; m = z ; t r y { r e t u r n O ( ) } f i n a l l y { m = N } } , e . u n s t a b l e _ s c h e d u l e C a l l b a c k = f u n c t i o n ( z , O , N ) { v a r K = e . u n s t a b l e _ n o w ( ) ; s w i t c h ( t y p e o f N = = " o b j e c t " & & N ! = = n u l l ? ( N = N . d e l a y , N = t y p e o f N = = " n u m b e r " & & 0 < N ? K + N : K ) : N = K , z ) { c a s e 1 : v a r J = - 1 ; b r e a k ; c a s e 2 : J = 2 5 0 ; b r e a k ; c a s e 5 : J = 1 0 7 3 7 4 1 8 2 3 ; b r e a k ; c a s e 4 : J = 1 e 4 ; b r e a k ; d e f a u l t : J = 5 e 3 } r e t u r n J = N + J , z = { i d : p + + , c a l l b a c k : O , p r i o r i t y L e v e l : z , s t a r t T i m e : N , e x p i r a t i o n T i m e : J , s o r t I n d e x : - 1 } , N > K ? ( z . s o r t I n d e x = N , t ( d , z ) , r ( s ) = = = n u l l & & z = = = r ( d ) & & ( g ? ( E ( _ ) , _ = - 1 ) : g = ! 0 , q ( x , N - K ) ) ) : ( z . s o r t I n d e x = J , t ( s , z ) , v | | f | | ( v = ! 0 , H ( D ) ) ) , z } , e . u n s t a b l e _ s h o u l d Y i e l d = I , e . u n s t a b l e _ w r a p C a l l b a c k = f u n c t i o n ( z ) { v a r O = m ; r e t u r n f u n c t i o n ( ) { v a r N = m ; m = O ; t r y { r e t u r n z . a p p l y ( t h i s , a r g u m e n t s ) } f i n a l l y { m = N } } } } ) ( D 9 ) ; C 9 . e x p o r t s = D 9 ; v a r J L = C 9 . e x p o r t s ; / * *
* @ license React
* react - dom . production . min . js
*
* Copyright ( c ) Facebook , Inc . and its affiliates .
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree .
* /var QL=u,Mt=JL;function M(e){for(var t="https:/ / reactjs . org / docs / error - decoder . html ? invariant = "+e,r=1;r<arguments.length;r++)t+=" & args [ ] = "+encodeURIComponent(arguments[r]);return" Minified React error # "+e+" ; visit "+t+" for the full message or use the non - minified dev environment for full errors and additional helpful warnings . "}var S9=new Set,Rs={};function ho(e,t){Ii(e,t),Ii(e+" Capture ",t)}function Ii(e,t){for(Rs[e]=t,e=0;e<t.length;e++)S9.add(t[e])}var Sn=!(typeof window>" u "||typeof window.document>" u "||typeof window.document.createElement>" u "),ym=Object.prototype.hasOwnProperty,eO=/^[: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]*$/,u3={},c3={};function tO(e){return ym.call(c3,e)?!0:ym.call(u3,e)?!1:eO.test(e)?c3[e]=!0:(u3[e]=!0,!1)}function rO(e,t,r,n){if(r!==null&&r.type===0)return!1;switch(typeof t){case" function ":case" symbol ":return!0;case" boolean ":return n?!1:r!==null?!r.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!==" data - "&&e!==" aria - ");default:return!1}}function nO(e,t,r,n){if(t===null||typeof t>" u "||rO(e,t,r,n))return!0;if(n)return!1;if(r!==null)switch(r.type){case 3:return!t;case 4:return t===!1;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}function ft(e,t,r,n,a,o,i){this.acceptsBooleans=t===2||t===3||t===4,this.attributeName=n,this.attributeNamespace=a,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var We={};" children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style ".split(" ").forEach(function(e){We[e]=new ft(e,0,!1,e,null,!1,!1)});[[" acceptCharset "," accept - charset "],[" className "," class "],[" htmlFor "," for "],[" httpEquiv "," http - equiv "]].forEach(function(e){var t=e[0];We[t]=new ft(t,1,!1,e[1],null,!1,!1)});[" contentEditable "," draggable "," spellCheck "," value "].forEach(function(e){We[e]=new ft(e,2,!1,e.toLowerCase(),null,!1,!1)});[" autoReverse "," externalResourcesRequired "," focusable "," preserveAlpha "].forEach(function(e){We[e]=new ft(e,2,!1,e,null,!1,!1)});" allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope ".split(" ").forEach(function(e){We[e]=new ft(e,3,!1,e.toLowerCase(),null,!1,!1)});[" checked "," multiple "," muted "," selected "].forEach(function(e){We[e]=new ft(e,3,!0,e,null,!1,!1)});[" capture "," download "].forEach(function(e){We[e]=new ft(e,4,!1,e,null,!1,!1)});[" cols "," rows "," size "," span "].forEach(function(e){We[e]=new ft(e,6,!1,e,null,!1,!1)});[" rowSpan "," start "].forEach(function(e){We[e]=new ft(e,5,!1,e.toLowerCase(),null,!1,!1)});var D5=/[\-:]([a-z])/g;function S5(e){return e[1].toUpperCase()}" accent - height alignment - baseline arabic - form baseline - shift cap - height clip - path clip - rule color - interpolation color - interpolation - filters color - profile color - rendering dominant - baseline enable - background fill - opacity fill - rule flood - color flood - opacity font - family font - size font - size - adjust font - stretch font - style font - variant font - weight glyph - name glyph - orientation - horizontal glyph - orientation - vertical horiz - adv - x horiz - origin - x image - rendering letter - spacing lighting - color marker - end marker - mid marker - start overline - position overline - thickness paint - order panose - 1 pointer - events rendering - intent shape - rendering stop - color stop - opacity strikethrough - position strikethrough - thickness stroke - dasharray stroke - dashoffset stroke - linecap stroke - linejoin stroke - miterlimit stroke - opacity stroke - width text - anchor text - decoration text - rendering underline - position underline - thickness unicode - bidi unicode - range units - per - em v - alphabetic v - hanging v - ideographic v - mathematical vector - effect vert - adv - y vert - origin -
` +Cp+e}var Dp=!1;function Sp(e,t){if(!e||Dp)return"";Dp=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(t,[])}catch(d){var n=d}Reflect.construct(e,[],t)}else{try{t.call()}catch(d){n=d}e.call(t.prototype)}else{try{throw Error()}catch(d){n=d}e()}}catch(d){if(d&&n&&typeof d.stack=="string"){for(var a=d.stack.split( `
` ),o=n.stack.split( `
` ),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(i!==1||l!==1)do if(i--,l--,0>l||a[i]!==o[l]){var s= `
` +a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}while(1<=i&&0<=l);break}}}finally{Dp=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?Ql(e):""}function aO(e){switch(e.tag){case 5:return Ql(e.type);case 16:return Ql("Lazy");case 13:return Ql("Suspense");case 19:return Ql("SuspenseList");case 0:case 2:case 15:return e=Sp(e.type,!1),e;case 11:return e=Sp(e.type.render,!1),e;case 1:return e=Sp(e.type,!0),e;default:return""}}function xm(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ko:return"Fragment";case Go:return"Portal";case wm:return"Profiler";case _5:return"StrictMode";case bm:return"Suspense";case Em:return"SuspenseList"}if(typeof e=="object")switch(e. $ $ typeof){case _9:return(e.displayName||"Context")+".Consumer";case k9:return(e._context.displayName||"Context")+".Provider";case A5:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case F5:return t=e.displayName||null,t!==null?t:xm(e.type)||"Memo";case Un:t=e._payload,e=e._init;try{return xm(e(t))}catch{}}return null}function oO(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=t.render,e=e.displayName||e.name||"",t.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return xm(t);case 8:return t===_5?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t}return null}function ua(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function F9(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function iO(e){var t=F9(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&typeof r<"u"&&typeof r.get=="function"&&typeof r.set=="function"){var a=r.get,o=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(i){n=""+i,o.call(this,i)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(i){n=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function tc(e){e._valueTracker||(e._valueTracker=iO(e))}function $ 9(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=F9(e)?e.checked?"true":"false":e.value),e=n,e!==r?(t.setValue(e),!0):!1}function R0(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Cm(e,t){var r=t.checked;return be({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:r??e._wrapperState.initialChecked})}function p3(e,t){var r=t.defaultValue==null?"":t.defaultValue,n=t.checked!=null?t.checked:t.defaultChecked;r=ua(t.value!=null?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:t.type==="checkbox"||t.type==="radio"?t.checked!=null:t.value!=null}}function T9(e,t){t=t.checked,t!=null&&k5(e,"checked",t,!1)}function Dm(e,t){T9(e,t);var r=ua(t.value),n=t.type;if(r!=null)n==="number"?(r===0&&e.value===""||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if(n==="submit"||n==="reset"){e.removeAttribute("value");return}t.hasOwnProperty("value")?Sm(e,t.type,r):t.hasOwnProperty("defaultValue")&&Sm(e,t.type,ua(t.defaultValue)),t.checked==null&&t.defaultChecked!=null&&(e.defaultChecked=!!t.defaultChecked)}function f3(e,t,r){if(t.hasOwnProperty("val
` ).replace(gM,"")}function uc(e,t,r){if(t=L3(t),L3(e)!==t&&r)throw Error(M(425))}function j0(){}var Pm=null,Nm=null;function jm(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var Hm=typeof setTimeout=="function"?setTimeout:void 0,vM=typeof clearTimeout=="function"?clearTimeout:void 0,O3=typeof Promise=="function"?Promise:void 0,yM=typeof queueMicrotask=="function"?queueMicrotask:typeof O3<"u"?function(e){return O3.resolve(null).then(e).catch(wM)}:Hm;function wM(e){setTimeout(function(){throw e})}function Mp(e,t){var r=t,n=0;do{var a=r.nextSibling;if(e.removeChild(r),a&&a.nodeType===8)if(r=a.data,r==="/ $ "){if(n===0){e.removeChild(a),Ms(t);return}n--}else r!==" $ "&&r!==" $ ?"&&r!==" $ !"||n++;r=a}while(r);Ms(t)}function ta(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t===" $ "||t===" $ !"||t===" $ ?")break;if(t==="/ $ ")return null}}return e}function M3(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var r=e.data;if(r===" $ "||r===" $ !"||r===" $ ?"){if(t===0)return e;t--}else r==="/ $ "&&t++}e=e.previousSibling}return null}var nl=Math.random().toString(36).slice(2),Vr="__reactFiber $ "+nl,Vs="__reactProps $ "+nl,kn="__reactContainer $ "+nl,Vm="__reactEvents $ "+nl,bM="__reactListeners $ "+nl,EM="__reactHandles $ "+nl;function ja(e){var t=e[Vr];if(t)return t;for(var r=e.parentNode;r;){if(t=r[kn]||r[Vr]){if(r=t.alternate,t.child!==null||r!==null&&r.child!==null)for(e=M3(e);e!==null;){if(r=e[Vr])return r;e=M3(e)}return t}e=r,r=e.parentNode}return null}function Eu(e){return e=e[Vr]||e[kn],!e||e.tag!==5&&e.tag!==6&&e.tag!==13&&e.tag!==3?null:e}function Jo(e){if(e.tag===5||e.tag===6)return e.stateNode;throw Error(M(33))}function r1(e){return e[Vs]||null}var Um=[],Qo=-1;function ya(e){return{current:e}}function he(e){0>Qo||(e.current=Um[Qo],Um[Qo]=null,Qo--)}function ce(e,t){Qo++,Um[Qo]=e.current,e.current=t}var ca={},rt=ya(ca),yt=ya(!1),ro=ca;function Ri(e,t){var r=e.type.contextTypes;if(!r)return ca;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var a={},o;for(o in r)a[o]=t[o];return n&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function wt(e){return e=e.childContextTypes,e!=null}function H0(){he(yt),he(rt)}function P3(e,t,r){if(rt.current!==ca)throw Error(M(168));ce(rt,t),ce(yt,r)}function wD(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,typeof n.getChildContext!="function")return r;n=n.getChildContext();for(var a in n)if(!(a in t))throw Error(M(108,oO(e)||"Unknown",a));return be({},r,n)}function V0(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ca,ro=rt.current,ce(rt,e),ce(yt,yt.current),!0}function N3(e,t,r){var n=e.stateNode;if(!n)throw Error(M(169));r?(e=wD(e,t,ro),n.__reactInternalMemoizedMergedChildContext=e,he(yt),he(rt),ce(rt,e)):he(yt),ce(yt,r)}var yn=null,n1=!1,Pp=!1;function bD(e){yn===null?yn=[e]:yn.push(e)}function xM(e){n1=!0,bD(e)}function wa(){if(!Pp&&yn!==null){Pp=!0;var e=0,t=se;try{var r=yn;for(se=1;e<r.length;e++){var n=r[e];do n=n(!0);while(n!==null)}yn=null,n1=!1}catch(a){throw yn!==null&&(yn=yn.slice(e+1)),W9(T5,wa),a}finally{se=t,Pp=!1}}return null}var ei=[],ti=0,U0=null,W0=0,Ut=[],Wt=0,no=null,wn=1,bn="";function za(e,t){ei[ti++]=W0,ei[ti++]=U0,U0=e,W0=t}function ED(e,t,r){Ut[Wt++]=wn,Ut[Wt++]=bn,Ut[Wt++]=no,no=e;var n=wn;e=bn;var a=32-gr(n)-1;n&=~(1<<a),r+=1;var o=32-gr(t)+a;if(30<o){var i=a-a%5;o=(n&(1<<i)-1).toString(32),n>>=i,a-=i,wn=1<<32-gr(t)+a|r<<a|n,bn=o+e}else wn=1<<o|r<<a|n,bn=e}function N5(e){e.return!==null&&(za(e,1),ED(e,1,0))}function j5(e){for(;e===U0;)U0=ei[--ti],ei[ti]=null,W0=ei[--ti],ei[ti]=null;for(;e===no;)no=Ut[--Wt],Ut[Wt]=null,bn=Ut[--Wt],Ut[Wt]=null,wn=Ut[--Wt],Ut[Wt]=null}var Bt=null,Rt=null,ge=!1,dr=null;function xD(e,t){var r=qt(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,t=e.deletio
Error generating stack : ` +o.message+ `
` +o.stack}return{value:e,source:t,stack:a,digest:null}}function Up(e,t,r){return{value:e,source:null,stack:r??null,digest:t??null}}function Zm(e,t){try{console.error(t.value)}catch(r){setTimeout(function(){throw r})}}var TM=typeof WeakMap=="function"?WeakMap:Map;function YD(e,t,r){r=xn(-1,r),r.tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Q0||(Q0=!0,ig=n),Zm(e,t)},r}function ZD(e,t,r){r=xn(-1,r),r.tag=3;var n=e.type.getDerivedStateFromError;if(typeof n=="function"){var a=t.value;r.payload=function(){return n(a)},r.callback=function(){Zm(e,t)}}var o=e.stateNode;return o!==null&&typeof o.componentDidCatch=="function"&&(r.callback=function(){Zm(e,t),typeof n!="function"&&(na===null?na=new Set([this]):na.add(this));var i=t.stack;this.componentDidCatch(t.value,{componentStack:i!==null?i:""})}),r}function Z3(e,t,r){var n=e.pingCache;if(n===null){n=e.pingCache=new TM;var a=new Set;n.set(t,a)}else a=n.get(t),a===void 0&&(a=new Set,n.set(t,a));a.has(r)||(a.add(r),e=WM.bind(null,e,t,r),t.then(e,e))}function X3(e){do{var t;if((t=e.tag===13)&&(t=e.memoizedState,t=t!==null?t.dehydrated!==null:!0),t)return e;e=e.return}while(e!==null);return null}function J3(e,t,r,n,a){return e.mode&1?(e.flags|=65536,e.lanes=a,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,r.tag===1&&(r.alternate===null?r.tag=17:(t=xn(-1,1),t.tag=2,ra(r,t,1))),r.lanes|=1),e)}var IM=In.ReactCurrentOwner,gt=!1;function it(e,t,r,n){t.child=e===null?SD(t,null,r,n):Bi(t,e.child,r,n)}function Q3(e,t,r,n,a){r=r.render;var o=t.ref;return ci(t,a),n=J5(e,t,r,n,o,a),r=Q5(),e!==null&&!gt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,An(e,t,a)):(ge&&r&&N5(t),t.flags|=1,it(e,t,n,a),t.child)}function ew(e,t,r,n,a){if(e===null){var o=r.type;return typeof o=="function"&&!uv(o)&&o.defaultProps===void 0&&r.compare===null&&r.defaultProps===void 0?(t.tag=15,t.type=o,XD(e,t,o,n,a)):(e=n0(r.type,null,n,t,t.mode,a),e.ref=t.ref,e.return=t,t.child=e)}if(o=e.child,!(e.lanes&a)){var i=o.memoizedProps;if(r=r.compare,r=r!==null?r:Ns,r(i,n)&&e.ref===t.ref)return An(e,t,a)}return t.flags|=1,e=oa(o,n),e.ref=t.ref,e.return=t,t.child=e}function XD(e,t,r,n,a){if(e!==null){var o=e.memoizedProps;if(Ns(o,n)&&e.ref===t.ref)if(gt=!1,t.pendingProps=n=o,(e.lanes&a)!==0)e.flags&131072&&(gt=!0);else return t.lanes=e.lanes,An(e,t,a)}return Xm(e,t,r,n,a)}function JD(e,t,r){var n=t.pendingProps,a=n.children,o=e!==null?e.memoizedState:null;if(n.mode==="hidden")if(!(t.mode&1))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ce(ai, $ t), $ t|=r;else{if(!(r&1073741824))return e=o!==null?o.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ce(ai, $ t), $ t|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=o!==null?o.baseLanes:r,ce(ai, $ t), $ t|=n}else o!==null?(n=o.baseLanes|r,t.memoizedState=null):n=r,ce(ai, $ t), $ t|=n;return it(e,t,a,r),t.child}function QD(e,t){var r=t.ref;(e===null&&r!==null||e!==null&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Xm(e,t,r,n,a){var o=wt(r)?ro:rt.current;return o=Ri(t,o),ci(t,a),r=J5(e,t,r,n,o,a),n=Q5(),e!==null&&!gt?(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,An(e,t,a)):(ge&&n&&N5(t),t.flags|=1,it(e,t,r,a),t.child)}function tw(e,t,r,n,a){if(wt(r)){var o=!0;V0(t)}else o=!1;if(ci(t,a),t.stateNode===null)e0(e,t),KD(t,r,n),Ym(t,r,n,a),n=!0;else if(e===null){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,d=r.contextType;typeof d=="object"&&d!==null?d=Xt(d):(d=wt(r)?ro:rt.current,d=Ri(t,d));var p=r.getDerivedStateFromProps,h=typeof p=="function"||typeof i.getSnapshotBeforeUpdate=="function";h||typeof i.UNSAFE_componentWillReceiveProps!="function"&&typeof i.componentWillReceiveProps!="function"||(l!==n||s!==d)&&Y3(t,i,n,d),Wn=!1;var m=t.memoizedState;i.state=m,K0(t,n,i,a),s=t.memoizedState,l!==n||m!==s||yt.current||Wn?(typeof p=="function"&&(Km(t,r,p,n),s=t.memoizedState),(l=Wn||K3(t,r,l,n,m,s,d))?(h||typeof i.UNSAFE_componentWillMount!="function"&&typeof i.componentWillMount!="function"||(typeof i.
In order to be iterable , non - array objects must have a [ Symbol . iterator ] ( ) method . ` )}var zP=R(()=>{c(WS,"_nonIterableSpread")});function qS(e){return HS(e)||VS(e)||US(e)||WS()}var BP=R(()=>{TP(),IP(),RP(),zP(),c(qS,"_toConsumableArray")});function Ni(e){"@babel/helpers - typeof";return Ni=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},Ni(e)}var GS=R(()=>{c(Ni,"_typeof")});function KS(e,t){if(Ni(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ni(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var LP=R(()=>{GS(),c(KS,"toPrimitive")});function YS(e){var t=KS(e,"string");return Ni(t)=="symbol"?t:t+""}var OP=R(()=>{GS(),LP(),c(YS,"toPropertyKey")});function vv(e,t,r){return t=YS(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ZS=R(()=>{OP(),c(vv,"_defineProperty")});function cg(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 Ua(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?cg(Object(r),!0).forEach(function(n){vv(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cg(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function XS(e){var t=e.length;if(t===0||t===1)return e;if(t===2)return[e[0],e[1],"".concat(e[0],".").concat(e[1]),"".concat(e[1],".").concat(e[0])];if(t===3)return[e[0],e[1],e[2],"".concat(e[0],".").concat(e[1]),"".concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[0]),"".concat(e[1],".").concat(e[2]),"".concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[1]),"".concat(e[0],".").concat(e[1],".").concat(e[2]),"".concat(e[0],".").concat(e[2],".").concat(e[1]),"".concat(e[1],".").concat(e[0],".").concat(e[2]),"".concat(e[1],".").concat(e[2],".").concat(e[0]),"".concat(e[2],".").concat(e[0],".").concat(e[1]),"".concat(e[2],".").concat(e[1],".").concat(e[0])];if(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]
` ))})}function ok(e){var t=e.codeString,r=e.codeStyle,n=e.containerStyle,a=n===void 0?{float:"left",paddingRight:"10px"}:n,o=e.numberStyle,i=o===void 0?{}:o,l=e.startingLineNumber;return w.createElement("code",{style:Object.assign({},r,a)},ak({lines:t.replace(/ \n $ /,"").split( `
` ),style:i,startingLineNumber:l}))}function ik(e){return"".concat(e.toString().length,".25em")}function yv(e,t){return{type:"element",tagName:"span",properties:{key:"line-number--".concat(e),className:["comment","linenumber","react-syntax-highlighter-line-number"],style:t},children:[{type:"text",value:e}]}}function wv(e,t,r){var n={display:"inline-block",minWidth:ik(r),paddingRight:"1em",textAlign:"right",userSelect:"none"},a=typeof e=="function"?e(t):e,o=pr(pr({},n),a);return o}function Ss(e){var t=e.children,r=e.lineNumber,n=e.lineNumberStyle,a=e.largestLineNumber,o=e.showInlineLineNumbers,i=e.lineProps,l=i===void 0?{}:i,s=e.className,d=s===void 0?[]:s,p=e.showLineNumbers,h=e.wrapLongLines,m=typeof l=="function"?l(r):l;if(m.className=d,r&&o){var f=wv(n,r,a);t.unshift(yv(r,f))}return h&p&&(m.style=pr(pr({},m.style),{},{display:"flex"})),{type:"element",tagName:"span",properties:m,children:t}}function bv(e){for(var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],n=0;n<e.length;n++){var a=e[n];if(a.type==="text")r.push(Ss({children:[a],className:qS(new Set(t))}));else if(a.children){var o=t.concat(a.properties.className);bv(a.children,o).forEach(function(i){return r.push(i)})}}return r}function lk(e,t,r,n,a,o,i,l,s){var d,p=bv(e.value),h=[],m=-1,f=0;function v(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return Ss({children:D,lineNumber:S,lineNumberStyle:l,largestLineNumber:i,showInlineLineNumbers:a,lineProps:r,className:k,showLineNumbers:n,wrapLongLines:s})}c(v,"createWrappedLine");function g(D,S){if(n&&S&&a){var k=wv(l,S,i);D.unshift(yv(S,k))}return D}c(g,"createUnwrappedLine");function C(D,S){var k=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];return t||k.length>0?v(D,S,k):g(D,S)}c(C,"createLine");for(var E=c(function(){var D=p[f],S=D.children[0].value,k=nk(S);if(k){var _=S.split( `
` );_.forEach(function(A, $ ){var I=n&&h.length+o,L={type:"text",value:"".concat(A, `
` )};if( $ ===0){var B=p.slice(m+1,f).concat(Ss({children:[L],className:D.properties.className})),j=C(B,I);h.push(j)}else if( $ ===_.length-1){var P=p[f+1]&&p[f+1].children&&p[f+1].children[0],H={type:"text",value:"".concat(A)};if(P){var q=Ss({children:[H],className:D.properties.className});p.splice(f+1,0,q)}else{var z=[H],O=C(z,I,D.properties.className);h.push(O)}}else{var N=[L],K=C(N,I,D.properties.className);h.push(K)}}),m=f}f++},"_loop");f<p.length;)E();if(m!==p.length-1){var y=p.slice(m+1,p.length);if(y&&y.length){var b=n&&h.length+o,x=C(y,b);h.push(x)}}return t?h:(d=[]).concat.apply(d,h)}function sk(e){var t=e.rows,r=e.stylesheet,n=e.useInlineStyles;return t.map(function(a,o){return v1({node:a,stylesheet:r,useInlineStyles:n,key:"code-segement".concat(o)})})}function Ev(e){return e&&typeof e.highlightAuto<"u"}function uk(e){var t=e.astGenerator,r=e.language,n=e.code,a=e.defaultCodeValue;if(Ev(t)){var o=rk(t,r);return r==="text"?{value:a,language:"text"}:o?t.highlight(r,n):t.highlightAuto(n)}try{return r&&r!=="text"?{value:t.highlight(n,r)}:{value:a}}catch{return{value:a}}}function ck(e,t){return c(function(r){var n=r.language,a=r.children,o=r.style,i=o===void 0?t:o,l=r.customStyle,s=l===void 0?{}:l,d=r.codeTagProps,p=d===void 0?{className:n?"language-".concat(n):void 0,style:pr(pr({},i['code[class*="language-"]']),i['code[class*="language-'.concat(n,'"]')])}:d,h=r.useInlineStyles,m=h===void 0?!0:h,f=r.showLineNumbers,v=f===void 0?!1:f,g=r.showInlineLineNumbers,C=g===void 0?!0:g,E=r.startingLineNumber,y=E===void 0?1:E,b=r.lineNumberContainerStyle,x=r.lineNumberStyle,D=x===void 0?{}:x,S=r.wrapLines,k=r.wrapLongLines,_=k===void 0?!1:k,A=r.lineProps, $ =A===void 0?{}:A,I=r.renderer,L=r.PreTag,B=L===void 0?"pre":L,j=r.CodeTag,P=j===void 0?"code":j,H=r.code,q=H===void 0?(Array.isArray(a)?a[0]:a)||"":H,z=r.astGenerator,O=NS(r,dk);z=z||e;var N=v?w.createElement(ok,{containerStyle:b,codeStyle:p.style||{},numberStyle:D,startingLineNumber:y,codeString:q}):null,K=i.hljs||i['pre[class*="language-"]']||{backgroundColor:"#fff"},J=Ev(z)?"hljs":"prismjs",re=m?Object.assign({},O,{style:Object.assign({},K,s)}):Object.assign({},O,{className:O.className?"".concat(J," ").concat(O.className):J,style:Object.assign({},s)});if(_?p.style=pr(pr({},p.style),{},{whiteSpace:"pre-wrap"}):p.style=pr(pr({},p.style),{},{whiteSpace:"pre"}),!z)return w.createElement(B,re,N,w.createElement(P,p,q));(S===void 0&&I||_)&&(S=!0),I=I||sk;var ne=[{type:"text",value:q}],U=uk({astGenerator:z,language:n,code:q,defaultCodeValue:ne});U.language===null&&(U.value=ne);var X=U.value.length+y,ee=lk(U,S, $ ,v,C,y,X,D,_);return w.createElement(B,re,w.createElement(P,p,!C&&N,I({rows:ee,stylesheet:i,useInlineStyles:m})))},"SyntaxHighlighter")}var dk,pk,PP=R(()=>{ $ P(),BP(),ZS(),tk(),MP(),dk=["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","wrapLongLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"],c(pg,"ownKeys"),c(pr,"_objectSpread"),pk=/ \n /g,c(nk,"getNewLines"),c(ak,"getAllLineNumbers"),c(ok,"AllLineNumbers"),c(ik,"getEmWidthOfNumber"),c(yv,"getInlineLineNumber"),c(wv,"assembleLineNumberStyles"),c(Ss,"createLineElement"),c(bv,"flattenCodeTree"),c(lk,"processLines"),c(sk,"defaultRenderer"),c(Ev,"isHighlightJs"),c(uk,"getCodeTree"),c(ck,"default")}),NP=Z((e,t)=>{t.exports=n;var r=Object.prototype.hasOwnProperty;function n(){for(var a={},o=0;o<arguments.length;o++){var i=arguments[o];for(var l in i)r.call(i,l)&&(a[l]=i[l])}return a}c(n,"extend")}),fk=Z((e,t)=>{t.exports=n;var r=n.prototype;r.space=null,r.normal={},r.property={};function n(a,o,i){this.property=a,this.normal=o,i&&(this.space=i)}c(n,"Schema")}),jP=Z((e,t)=>{var r=NP(),n=fk();t.exports=a;function a(o){for(var i=o.length,l=[],s=[],d=-1,p,h;++d<i;)p=o[d],l.push(p.property),s.push(p.normal),h=p.space;return new n(r.apply(null,l),r.apply(null,s),h)}c(a,"merge")}),xv=Z((e,t)=>{t.exports=r;function r(n){return n.toLowerCase()}c(r,"normalize")}),hk=Z((e,t)=>{t.
Expected it to be 'string' or 'object' . ` ;if(A1(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return ` Unexpected doc '${r}' . ` ;let n=j_([...ty].map(a=> ` '${a}' ` ));return ` Unexpected doc . type '${e.type}' .
Expected it to be $ { n } . ` }function ln(e){return ha(e),{type:eu,contents:e}}function Rv(e,t){return ha(t),{type:tu,contents:t,n:e}}function Ue(e,t={}){return ha(e),F1(t.expandedStates,!0),{type:Hi,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Lk(e){return Rv(Number.NEGATIVE_INFINITY,e)}function Ok(e){return Rv({type:"root"},e)}function zv(e){return F1(e),{type:ru,parts:e}}function Js(e,t="",r={}){return ha(e),t!==""&&ha(t),{type:nu,breakContents:e,flatContents:t,groupId:r.groupId}}function Mk(e,t){return ha(e),{type:au,contents:e,groupId:t.groupId,negate:t.negate}}function go(e,t){ha(e),F1(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}function w1(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(A1(o)){case _1:return t(o.map(n));case ru:return t({...o,parts:o.parts.map(n)});case nu:return t({...o,breakContents:n(o.breakContents),flatContents:n(o.flatContents)});case Hi:{let{expandedStates:i,contents:l}=o;return i?(i=i.map(n),l=i[0]):l=n(l),t({...o,contents:l,expandedStates:i})}case tu:case eu:case au:case md:case fd:return t({...o,contents:n(o.contents)});case k1:case dd:case pd:case hd:case qn:case As:return t(o);default:throw new ry(o)}}}function Pk(e){switch(A1(e)){case ru:if(e.parts.every(t=>t===""))return"";break;case Hi:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===Hi&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case tu:case eu:case au:case fd:if(!e.contents)return"";break;case nu:if(!e.flatContents&&!e.breakContents)return"";break;case _1:{let t=[];for(let r of e){if(!r)continue;let[n,...a]=Array.isArray(r)?r:[r];typeof n=="string"&&typeof Vi(!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 k1:case dd:case pd:case hd:case qn:case md:case As:break;default:throw new ry(e)}return e}function Nk(e){return w1(e,t=>Pk(t))}function Gt(e,t=H_){return w1(e,r=>typeof r=="string"?go(t,r.split( `
` )):r)}function s7(e,t){let r=t===!0||t===us?us:Cg,n=r===us?Cg:us,a=0,o=0;for(let i of e)i===r?a++:i===n&&o++;return a>o?n:r}function u7(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[| \\ {}()[ \] ^ $ +*?.]/g," \\ $ &").replace(/-/g," \\ x2d")}function c7(e){return(e==null?void 0:e.type)==="front-matter"}function lf(e,t){var r;if(e.type==="text"||e.type==="comment"||zu(e)||e.type==="yaml"||e.type==="toml")return null;if(e.type==="attribute"&&delete t.value,e.type==="docType"&&delete t.value,e.type==="angularControlFlowBlock"&&(r=t.parameters)!=null&&r.children)for(let n of t.parameters.children)W_.has(e.name)?delete n.expression:n.expression=n.expression.trim();e.type==="angularIcuExpression"&&(t.switchValue=e.switchValue.trim())}async function d7(e,t){if(e.lang==="yaml"){let r=e.value.trim(),n=r?await t(r,{parser:"yaml"}):"";return Ok([e.startDelimiter,fe,n,n?fe:"",e.endDelimiter])}}function _u(e,t=!0){return[ln([He,e]),t?He:""]}function vo(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 br(e,t,r,n){r={__isInHtmlAttribute:!0,__embeddedInHtml:!0,...r};let a=!0;n&&(r.__onHtmlBindingRoot=(i,l)=>{a=n(i,l)});let o=await t(e,r,t);return a?Ue(o):_u(o)}function p7(e,t,r,n){let{node:a}=r,o=n.originalText.slice(a.sourceSpan.start.offset,a.sourceSpan.end.offset);return/^ \s * $ /.test(o)?"":br(o,e,{parser:"__ng_directive",__isInHtmlAttribute:!1,trailingComma:"none"},vo)}function gg(e,t){if(!t)return;let r=K_(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 jk(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 f7(e,t){let r=e.plugins.flatMap(a=>a.languages??[]),n=jk(r,t.language)??gg(r,t.physicalFile)??gg(r,t.file)??(t.physicalFile,void 0);return n==null?void 0:n.parsers[0]}function h7(e){return e.type==="element"&&!e.hasExplicitNamespace&&!["html","svg"].includes(e.namespace)}function Bv(e,t){return!!(e.type==="ieConditionalComment"&&e.lastChild&&!e.lastChild.isSelfClosing&&!e.lastChild.endSourceSpan||e.type==="ieConditionalComment"&&!e.complete||lo(e)&&e.children.some(r=>r.type!=="text"&&r.type!=="interpolation")||E1(e,t)&&!en(e)&&e.type!=="interpolation")}function Au(e){return e.type==="attribute"||!e.parent||!e.prev?!1:Hk(e.prev)}function Hk(e){return e.type==="comment"&&e.value.trim()==="prettier-ignore"}function It(e){return e.type==="text"||e.type==="comment"}function en(e){return e.type==="element"&&(e.fullName==="script"||e.fullName==="style"||e.fullName==="svg:style"||e.fullName==="svg:script"||Ui(e)&&(e.name==="script"||e.name==="style"))}function Vk(e){return e.children&&!en(e)}function Uk(e){return en(e)||e.type==="interpolation"||Lv(e)}function Lv(e){return Vv(e).startsWith("pre")}function Wk(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 zu(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:lo(e.parent)?!0:!(!e.prev&&(e.parent.type==="root"||lo(e)&&e.parent||en(e.parent)||Fu(e.parent,t)||!e_(e.parent.cssDisplay))||e.prev&&!n_(e.prev.cssDisplay))}}function qk(e,t){return zu(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:lo(e.parent)?!0:!(!e.next&&(e.parent.type==="root"||lo(e)&&e.parent||
` )){if(r.length===0)continue;let n=hr.getLeadingWhitespaceCount(r);if(n===0)return 0;r.length!==n&&n<t&&(t=n)}return t===Number.POSITIVE_INFINITY?0:t}function Uv(e,t=l_(e)){return t===0?e:e.split( `
` ).map(r=>r.slice(t)).join( `
` )}function Wv(e){return Et(!1,Et(!1,e,"'","'"),""",'"')}function Rn(e){return Wv(e.value)}function Fu(e,t){return yo(e,t)&&!eA.has(e.fullName)}function yo(e,t){return t.parser==="vue"&&e.type==="element"&&e.parent.type==="root"&&e.fullName.toLowerCase()!=="html"}function E1(e,t){return yo(e,t)&&(Fu(e,t)||e.attrMap.lang&&e.attrMap.lang!=="html")}function s_(e){let t=e.fullName;return t.charAt(0)==="#"||t==="slot-scope"||t==="v-slot"||t.startsWith("v-slot:")}function u_(e,t){let r=e.parent;if(!yo(r,t))return!1;let n=r.fullName,a=e.fullName;return n==="script"&&a==="setup"||n==="style"&&a==="vars"}function qv(e,t=e.value){return e.parent.isWhitespaceSensitive?e.parent.isIndentationSensitive?Gt(t):Gt(Uv(ny(t)),fe):go(Ne,hr.split(t))}function Gv(e,t){return yo(e,t)&&e.name==="script"}async function c_(e,t){let r=[];for(let[n,a]of e.split(ay).entries())if(n%2===0)r.push(Gt(a));else try{r.push(Ue(["{{",ln([Ne,await br(a,t,{parser:"__ng_interpolation",__isInHtmlInterpolation:!0,trailingComma:"none"})]),Ne,"}}"]))}catch{r.push("{{",Gt(a),"}}")}return r}function xc({parser:e}){return(t,r,n)=>br(Rn(n.node),t,{parser:e,trailingComma:"none"},vo)}function m7(e,t){if(t.parser!=="angular")return;let{node:r}=e,n=r.fullName;if(n.startsWith("(")&&n.endsWith(")")||n.startsWith("on-"))return tA;if(n.startsWith("[")&&n.endsWith("]")||/^bind(?:on)?-/.test(n)||/^ng-(?:if|show|hide|class|style) $ /.test(n))return rA;if(n.startsWith("*"))return nA;let a=Rn(r);if(/^i18n(?:-.+)? $ /.test(n))return()=>_u(zv(qv(r,a.trim())),!a.includes("@@"));if(ay.test(a))return o=>c_(a,o)}function g7(e,t){let{node:r}=e,n=Rn(r);if(r.fullName==="class"&&!t.parentParser&&!n.includes("{{"))return()=>n.trim().split(/ \s +/).join(" ")}function yg(e){return e===" "||e=== `
` ||e===" \f "||e===" \r "||e===" "}function v7(e){let t=e.length,r,n,a,o,i,l=0,s;function d(f){let v,g=f.exec(e.substring(l));if(g)return[v]=g,l+=v.length,v}c(d,"p");let p=[];for(;;){if(d(lA),l>=t){if(p.length===0)throw new Error("Must contain one or more image candidate strings.");return p}s=l,r=d(sA),n=[],r.slice(-1)===","?(r=r.replace(uA,""),m()):h()}function h(){for(d(iA),a="",o="in descriptor";;){if(i=e.charAt(l),o==="in descriptor")if(yg(i))a&&(n.push(a),a="",o="after descriptor");else if(i===","){l+=1,a&&n.push(a),m();return}else if(i==="(")a+=i,o="in parens";else if(i===""){a&&n.push(a),m();return}else a+=i;else if(o==="in parens")if(i===")")a+=i,o="in descriptor";else if(i===""){n.push(a),m();return}else a+=i;else if(o==="after descriptor"&&!yg(i))if(i===""){m();return}else o="in descriptor",l-=1;l+=1}}c(h,"m");function m(){let f=!1,v,g,C,E,y={},b,x,D,S,k;for(E=0;E<n.length;E++)b=n[E],x=b[b.length-1],D=b.substring(0,b.length-1),S=parseInt(D,10),k=parseFloat(D),Dg.test(D)&&x==="w"?((v||g)&&(f=!0),S===0?f=!0:v=S):cA.test(D)&&x==="x"?((v||g||C)&&(f=!0),k<0?f=!0:g=k):Dg.test(D)&&x==="h"?((C||g)&&(f=!0),S===0?f=!0:C=S):f=!0;if(!f)y.source={value:r,startOffset:s},v&&(y.width={value:v}),g&&(y.density={value:g}),C&&(y.height={value:C}),p.push(y);else throw new Error( ` Invalid srcset descriptor found in "${e}" at "${b}" . ` )}c(m,"g")}function y7(e){if(e.node.fullName==="srcset"&&(e.parent.fullName==="img"||e.parent.fullName==="source"))return()=>d_(Rn(e.node))}function d_(e){let t=dA(e),r=pA.filter(p=>t.some(h=>Object.prototype.hasOwnProperty.call(h,p)));if(r.length>1)throw new Error("Mixed descriptor in srcset is not supported");let[n]=r,a=Sg[n],o=t.map(p=>p.source.value),i=Math.max(...o.map(p=>p.length)),l=t.map(p=>p[n]?String(p[n].value):""),s=l.map(p=>{let h=p.indexOf(".");return h===-1?p.length:h}),d=Math.max(...s);return _u(go([",",Ne],o.map((p,h)=>{let m=[p],f=l[h];if(f){let v=i-p.length+1,g=d-s[h],C=" ".repeat(v+g);m.push(Js(C," "),f+a)}return m})))}function p_(e,t){let{node:r}=e,n=Rn(e.node).trim();if(r.fullName==="style"&&!t.parentParser&&!n.includes("{{"))return async a=>_u(await a(n,{parser:"css",__isHTMLStyleAttribute:!0}))}function w7(e,t){let{root:r}=e;return l0.has(r)||l0.set(r,r.children.some(n=>Gv(n,t)&&["ts","typescript"].includes(n.attrMap.lang))),l0.get(r)}function f_(e,t,r){let{node:n}=r,a=Rn(n);return br( ` type T < $ { a } > = any ` ,e,{parser:"babel-ts",__isEmbeddedTypescriptGenericParameters:!0},vo)}function h_(e,t,{parseWithTs:r}){return br( ` function _ ( $ { e } ) { } ` ,t,{parser:r?"babel-ts":"babel",__isVueBindings:!0})}function m_(e){let t=/^(?:[ \w $ ]+| \( [^)]* \) ) \s *=>|^function \s * \( /,r=/^[ $ _a-z][ \w $ ]*(?: \. [ $ _a-z][ \w $ ]*| \[ '[^']*']| \[ "[^"]*"]| \[ \d +]| \[ [ $ _a-z][ \w $ ]*])* $ /i,n=e.trim();return t.test(n)||r.test(n)}async function g_(e,t,r,n){let a=Rn(r.node),{left:o,operator:i,right:l}=v_(a),s= $ 1(r,n);return[Ue(await br( ` function _ ( $ { o } ) { } ` ,e,{parser:s?"babel-ts":"babel",__isVueForBindingLeft:!0}))," ",i," ",await br(l,e,{parser:s?"__ts_expression":"__js_expression"})]}function v_(e){let t=/(.*?) \s +(in|of) \s +(.*)/s,r=/,([^, \] }]*)(?:,([^, \] }]*))? $ /,n=/^ \( | \) $ /g,a=e.match(t);if(!a)return;let o={};if(o.for=a[3].trim(),!o.for)return;let i=Et(!1,a[1].trim(),n,""),l=i.match(r);l?(o.alias=i.replace(r,""),o.iterator1=l[1].trim(),l[2]&&(o.iterator2=l[2].trim())):o.alias=i;let s=[o.alias,o.iterator1,o.iterator2];if(!s.some((d,p)=>!d&&(p===0||s.slice(p+1).some(Boolean))))return{left:s.filter(Boolean).join(","),operator:a[2],right:o.for}}function b7(e,t){if(t.parser!=="vue")return;let{node:r}=e,n=r.fullName;if(n==="v-for")return g_;if(n==="generic"&&Gv(r.parent,t))return f_;let a=Rn(r),o= $ 1(e,t);if(s_(r)||u_(r,t))return i=>h_(a,i,{parseWithTs:o});if(n.startsWith("@")||n.startsWith("v-on:"))return i=>y_(a,i,{parseWithTs:o});if(n.startsWith(":")||n.startsWith("v-bind:"))return i=>w_(a,i,{parseWithTs:o});if(n.startsWith("v-"))return i=>Kv(a,i,{parseWithTs:o})}function y_(e,t,{parseWithTs:r}){return m_(e)?Kv(e,t,{parseWithTs:r}):br(e,t,{parser:r?"__vue_ts_event_binding":"__vue_event_binding"},vo)}function w_(e,t,{parseWithTs:r}){return br(
` +e}function Zv(e){let t=Tu(e);return e.type==="element"&&!e.endSourceSpan&&T1(e.children)?Math.max(t,Zv(Vi(!1,e.children,-1))):t}function Uo(e,t,r){let n=e.node;if(Au(n)){let a=Zv(n);return[fa(n,t),Gt(hr.trimEnd(t.originalText.slice( $ u(n)+(n.prev&&Iu(n.prev)?C1(n).length:0),a-(n.next&&pa(n.next)?ll(n,t).length:0)))),da(n,t)]}return r()}function is(e,t){return It(e)&&It(t)?e.isTrailingSpaceSensitive?e.hasTrailingSpaces?i0(t)?fe:Ne:"":i0(t)?fe:He:Iu(e)&&(Au(t)||t.firstChild||t.isSelfClosing||t.type==="element"&&t.attrs.length>0)||e.type==="element"&&e.isSelfClosing&&pa(t)?"":!t.isLeadingSpaceSensitive||i0(t)||pa(t)&&e.lastChild&&ji(e.lastChild)&&e.lastChild.lastChild&&ji(e.lastChild.lastChild)?fe:t.hasLeadingSpaces?Ne:He}function S1(e,t,r){let{node:n}=e;if(Ov(n))return[mi,...e.map(o=>{let i=o.node,l=i.prev?is(i.prev,i):"";return[l?[l,os(i.prev)?fe:""]:"",Uo(o,t,r)]},"children")];let a=n.children.map(()=>Symbol(""));return e.map((o,i)=>{let l=o.node;if(It(l)){if(l.prev&&It(l.prev)){let v=is(l.prev,l);if(v)return os(l.prev)?[fe,fe,Uo(o,t,r)]:[v,Uo(o,t,r)]}return Uo(o,t,r)}let s=[],d=[],p=[],h=[],m=l.prev?is(l.prev,l):"",f=l.next?is(l,l.next):"";return m&&(os(l.prev)?s.push(fe,fe):m===fe?s.push(fe):It(l.prev)?d.push(m):d.push(Js("",He,{groupId:a[i-1]}))),f&&(os(l)?It(l.next)&&h.push(fe,fe):f===fe?It(l.next)&&h.push(fe):p.push(f)),[...s,Ue([...d,Ue([Uo(o,t,r),...p],{id:a[i]})]),...h]},"children")}function A_(e,t,r){let{node:n}=e,a=[];F_(e)&&a.push("} "),a.push("@",n.name),n.parameters&&a.push(" (",Ue(r("parameters")),")"),a.push(" {");let o=Xv(n);return n.children.length>0?(n.firstChild.hasLeadingSpaces=!0,n.lastChild.hasTrailingSpaces=!0,a.push(ln([fe,S1(e,t,r)])),o&&a.push(fe,"}")):o&&a.push("}"),Ue(a,{shouldBreak:!0})}function Xv(e){var t,r;return!(((t=e.next)==null?void 0:t.type)==="angularControlFlowBlock"&&(r=vA.get(e.name))!=null&&r.has(e.next.name))}function F_(e){let{previous:t}=e;return(t==null?void 0:t.type)==="angularControlFlowBlock"&&!Au(t)&&!Xv(t)}function $ _(e,t,r){return[ln([He,go([";",Ne],e.map(r,"children"))]),He]}function T_(e,t,r){let{node:n}=e;return[fi(n,t),Ue([n.switchValue.trim(),", ",n.clause,n.cases.length>0?[",",ln([Ne,go(Ne,e.map(r,"cases"))])]:"",He]),pi(n,t)]}function I_(e,t,r){let{node:n}=e;return[n.value," {",Ue([ln([He,e.map(({node:a})=>a.type==="text"&&!hr.trim(a.value)?"":r(),"expression")]),He]),"}"]}function R_(e,t,r){let{node:n}=e;if(Bv(n,t))return[fa(n,t),Ue(ld(e,t,r)),Gt(iy(n,t)),...id(n,t),da(n,t)];let a=n.children.length===1&&(n.firstChild.type==="interpolation"||n.firstChild.type==="angularIcuExpression")&&n.firstChild.isLeadingSpaceSensitive&&!n.firstChild.hasLeadingSpaces&&n.lastChild.isTrailingSpaceSensitive&&!n.lastChild.hasTrailingSpaces,o=Symbol("element-attr-group-id"),i=c(p=>Ue([Ue(ld(e,t,r),{id:o}),p,id(n,t)]),"a"),l=c(p=>a?Mk(p,{groupId:o}):(en(n)||Fu(n,t))&&n.parent.type==="root"&&t.parser==="vue"&&!t.vueIndentScriptAndStyle?p:ln(p),"o"),s=c(()=>a?Js(He,"",{groupId:o}):n.firstChild.hasLeadingSpaces&&n.firstChild.isLeadingSpaceSensitive?Ne:n.firstChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive?Lk(He):He,"u"),d=c(()=>(n.next?pa(n.next):sl(n.parent))?n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?" ":"":a?Js(He,"",{groupId:o}):n.lastChild.hasTrailingSpaces&&n.lastChild.isTrailingSpaceSensitive?Ne:(n.lastChild.type==="comment"||n.lastChild.type==="text"&&n.isWhitespaceSensitive&&n.isIndentationSensitive)&&new RegExp( ` \ \ n [ \ \ t ] { $ { t . tabWidth * ( e . ancestors . length - 1 ) } } $ ` ).test(n.lastChild.value)?"":He,"p");return n.children.length===0?i(n.hasDanglingSpaces&&n.isDanglingSpaceSensitive?Ne:""):i([Kk(n)?mi:"",l([s(),S1(e,t,r)]),d()])}function sd(e){return e>=9&&e<=32||e==160}function Jv(e){return 48<=e&&e<=57}function ud(e){return e>=97&&e<=122||e>=65&&e<=90}function z_(e){return e>=97&&e<=102||e>=65&&e<=70||Jv(e)}function sf(e){return e===10||e===13}function uf(e){return 48<=e&&e<=55}function cf(e){return e===39||e===34||e===96}function _7(e){return e.replace(yA,(...t)=>t[1].toUpperCase())}function A7(e,t){for(let r of wA)r(e,t);return e}f
` ){let r=t.children[0];r.value.length===1?t.removeChild(r):r.value=r.value.slice(1)}})}function $ 7(e){let t=c(r=>{var n,a;return r.type==="element"&&((n=r.prev)==null?void 0:n.type)==="ieConditionalStartComment"&&r.prev.sourceSpan.end.offset===r.startSourceSpan.start.offset&&((a=r.firstChild)==null?void 0:a.type)==="ieConditionalEndComment"&&r.firstChild.sourceSpan.start.offset===r.startSourceSpan.end.offset},"e");e.walk(r=>{if(r.children)for(let n=0;n<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let o=a.prev,i=a.firstChild;r.removeChild(o),n--;let l=new ae(o.sourceSpan.start,i.sourceSpan.end),s=new ae(l.start,a.sourceSpan.end);a.condition=o.condition,a.sourceSpan=s,a.startSourceSpan=l,a.removeChild(i)}})}function B_(e,t,r){e.walk(n=>{if(n.children)for(let a=0;a<n.children.length;a++){let o=n.children[a];if(o.type!=="text"&&!t(o))continue;o.type!=="text"&&(o.type="text",o.value=r(o));let i=o.prev;!i||i.type!=="text"||(i.value+=o.value,i.sourceSpan=new ae(i.sourceSpan.start,o.sourceSpan.end),n.removeChild(o),a--)}})}function T7(e){return B_(e,t=>t.type==="cdata",t=> ` < ! [ CDATA [ $ { t . value } ] ] > ` )}function I7(e){let t=c(r=>{var n,a;return r.type==="element"&&r.attrs.length===0&&r.children.length===1&&r.firstChild.type==="text"&&!hr.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<r.children.length;n++){let a=r.children[n];if(!t(a))continue;let o=a.prev,i=a.next;o.value+= ` < $ { a . rawName } > ` +a.firstChild.value+ ` < /${a.rawName}>`+i.value,o.sourceSpan=new ae(o.sourceSpan.start,i.sourceSpan.end),o.isTrailingSpaceSensitive=i.isTrailingSpaceSensitive,o.hasTrailingSpaces=i.hasTrailingSpaces,r.removeChild(a),n--,r.removeChild(i)}})}function R7(e,t){if(t.parser==="html")return;let r=/ { { ( . + ? ) } } / s ; e . walk ( n => { if ( Vk ( n ) ) for ( let a of n . children ) { if ( a . type !== "text" ) continue ; let o = a . sourceSpan . start , i = null , l = a . value . split ( r ) ; for ( let s = 0 ; s < l . length ; s ++ , o = i ) { let d = l [ s ] ; if ( s % 2 === 0 ) { i = o . moveBy ( d . length ) , d . length > 0 && n . insertChildBefore ( a , { type : "text" , value : d , sourceSpan : new ae ( o , i ) } ) ; continue } i = o . moveBy ( d . length + 4 ) , n . insertChildBefore ( a , { type : "interpolation" , sourceSpan : new ae ( o , i ) , children : d . length === 0 ? [ ] : [ { type : "text" , value : d , sourceSpan : new ae ( o . moveBy ( 2 ) , i . moveBy ( - 2 ) ) } ] } ) } n . removeChild ( a ) } } ) } function z7 ( e ) { e . walk ( t => { if ( ! t . children ) return ; if ( t . children . length === 0 || t . children . length === 1 && t . children [ 0 ] . type === "text" && hr . trim ( t . children [ 0 ] . value ) . length === 0 ) { t . hasDanglingSpaces = t . children . length > 0 , t . children = [ ] ; return } let r = Uk ( t ) , n = Lv ( t ) ; if ( ! r ) for ( let a = 0 ; a < t . children . length ; a ++ ) { let o = t . children [ a ] ; if ( o . type !== "text" ) continue ; let { leadingWhitespace : i , text : l , trailingWhitespace : s } = Q _ ( o . value ) , d = o . prev , p = o . next ; l ? ( o . value = l , o . sourceSpan = new ae ( o . sourceSpan . start . moveBy ( i . length ) , o . sourceSpan . end . moveBy ( - s . length ) ) , i && ( d && ( d . hasTrailingSpaces = ! 0 ) , o . hasLeadingSpaces = ! 0 ) , s && ( o . hasTrailingSpaces = ! 0 , p && ( p . hasLeadingSpaces = ! 0 ) ) ) : ( t . removeChild ( o ) , a -- , ( i || s ) && ( d && ( d . hasTrailingSpaces = ! 0 ) , p && ( p . hasLeadingSpaces = ! 0 ) ) ) } t . isWhitespaceSensitive = r , t . isIndentationSensitive = n } ) } function B7 ( e ) { e . walk ( t => { 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 L7 ( e , t ) { e . walk ( r => { r . type === "element" && ( r . hasHtmComponentClosingTag = r . endSourceSpan && /^<\s*\/\s*\/\s*>$/ . test ( t . originalText . slice ( r . endSourceSpan . start . offset , r . endSourceSpan . end . offset ) ) ) } ) } function O7 ( e , t ) { e . walk ( r => { r . cssDisplay = i _ ( r , t ) } ) } function M7 ( e , t ) { e . walk ( r => { let { children : n } = r ; if ( n ) { if ( n . length === 0 ) { r . isDanglingSpaceSensitive = Gk ( r ) ; return } for ( let a of n ) a . isLeadingSpaceSensitive = Wk ( a , t ) , a . isTrailingSpaceSensitive = qk ( a , t ) ; for ( let a = 0 ; a < n . length ; a ++ ) { let o = n [ a ] ; o . isLeadingSpaceSensitive = ( a === 0 || o . prev . isTrailingSpaceSensitive ) && o . isLeadingSpaceSensitive , o . isTrailingSpaceSens
` ," \f "," \r "," "],pb=new cb(db),hr=pb,fb=(kf=class extends Error{constructor(t,r,n="type"){super( ` Unexpected $ { r } node $ { n } : $ { JSON . stringify ( t [ n ] ) } . ` );Ln(this,"name","UnexpectedNodeError");this.node=t}},c(kf,"ir"),kf),U_=fb,c(c7,"ci"),zu=c7,hb=new Set(["sourceSpan","startSourceSpan","endSourceSpan","nameSpan","valueSpan","keySpan","tagDefinition","tokens","valueTokens","switchValueSourceSpan","expSourceSpan","valueSourceSpan"]),W_=new Set(["if","else if","for","switch","case"]),c(lf,"ln"),lf.ignoredProperties=hb,mb=lf,c(d7,"fi"),q_=d7,c(_u,"ge"),c(vo,"j"),c(br,"x"),c(p7,"mi"),G_=p7,K_=c(e=>String(e).split(/[/ \\ ]/).pop(),"gi"),c(gg,"fn"),c(jk,"di"),c(f7,"Ci"),Bu=f7,Y_="inline",Z_={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"},X_="normal",J_={listing:"pre",plaintext:"pre",pre:"pre",xmp:"pre",nobr:"nowrap",table:"initial",textarea:"pre-wrap"},c(h7,"Si"),Ui=h7,gb=c(e=>Et(!1,e,/^[ \t \f \r ]* \n /g,""),"_i"),ny=c(e=>gb(hr.trimEnd(e)),"ar"),Q_=c(e=>{let t=e,r=hr.getLeadingWhitespace(t);r&&(t=t.slice(r.length));let n=hr.getTrailingWhitespace(t);return n&&(t=t.slice(0,-n.length)),{leadingWhitespace:r,trailingWhitespace:n,text:t}},"Sn"),c(Bv,"Et"),c(Au,"Se"),c(Hk,"Ei"),c(It,"R"),c(en,"U"),c(Vk,"_n"),c(Uk,"En"),c(Lv,"or"),c(Wk,"An"),c(qk,"Dn"),c(Gk,"vn"),c(os,"Qe"),c(Kk,"yn"),c(Ov,"ur"),c(i0,"At"),c(Yk,"Ai"),c(Mv,"wn"),c(Pv,"bn"),c(Nv,"Tn"),c(jv,"xn"),c(b1,"Dt"),c(Zk,"Di"),c(Hv,"kn"),c(Xk,"vi"),c(Jk,"yi"),c(Qk,"wi"),c(vg,"lr"),c(il,"Xe"),c(e_,"bi"),c(t_,"Ti"),c(r_,"xi"),c(n_,"ki"),c(a_,"Bi"),c(lo,"Ce"),c(o_,"Li"),c(i_,"Bn"),c(Vv,"Ln"),c(l_,"Fi"),c(Uv,"cr"),c(Wv,"pr"),c(Rn,"P"),eA=new Set(["template","style","script"]),c(Fu,"Je"),c(yo,"_e"),c(E1,"vt"),c(s_,"Fn"),c(u_,"Pn"),c(qv,"yt"),c(Gv,"wt"),ay=/{{(.+?)}}/s,c(c_,"Nn"),c(xc,"fr"),tA=xc({parser:"__ng_action"}),rA=xc({parser:"__ng_binding"}),nA=xc({parser:"__ng_directive"}),c(m7," $ i"),aA=m7,c(g7,"Oi"),oA=g7,c(yg," $ n"),iA=/^[ \t \n \r \u 000c]+/,lA=/^[, \t \n \r \u 000c]+/,sA=/^[^ \t \n \r \u 000c]+/,uA=/[,]+ $ /,Dg=/^ \d + $ /,cA=/^-?(?:[0-9]+|[0-9]* \. [0-9]+)(?:[eE][+-]?[0-9]+)? $ /,c(v7,"Wi"),dA=v7,c(y7,"zi"),Sg={width:"w",height:"h",density:"x"},pA=Object.keys(Sg),c(d_,"Yi"),fA=y7,c(p_,"Vn"),l0=new WeakMap,c(w7,"ji"), $ 1=w7,c(f_,"Un"),c(h_,"Wn"),c(m_,"zn"),c(g_,"Gn"),c(v_,"Ki"),c(b7,"Qi"),c(y_,"Xi"),c(w_,"Ji"),c(Kv,"Yn"),hA=b7,c(E7,"Zi"),c(b_,"ea"),mA=E7,_f=new Proxy(()=>{},{get:c(()=>_f,"get")}),oy=_f,c(x7,"ta"),T1=x7,c( $ u,"se"),c(Tu,"ie"),c(id,"Ze"),c(E_,"ra"),c(pi,"Ee"),c(x_,"na"),c(da,"W"),c(x1,"bt"),c(ll,"Ae"),c(Yv,"Xn"),c(pa,"K"),c(sl,"De"),c(ji,"ve"),c(Iu,"et"),c(C_,"sa"),c(Ru,"tt"),c(D_,"ia"),c(S_,"aa"),c(ld,"rt"),c(fi,"ye"),c(fa,"z"),c(C1,"Tt"),c(D1,"xt"),c(C7,"oa"),iy=C7,gA=new Set(["if","else if","for","switch","case"]),c(D7,"la"),vb=D7,Wo=null,c(hi,"st"),yb=10;for(let e=0;e<=yb;e++)hi();c(k_,"dr"),c(S7,"pa"),wb=S7,bb={"front-matter":[],root:["children"],elem
` );o=i>0?n-i:n}else o--;for(;n<r&&e>0;){let i=t.charCodeAt(n);n++,e--,i==10?(a++,o=0):o++}return new Cc(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(;o<e&&n>0&&(n--,o++,!(r[n]== `
` &&++i==t)););for(o=0,i=0;o<e&&a<r.length-1&&(a++,o++,!(r[a]== `
` &&++i==t)););return{before:r.substring(n,this.offset),after:r.substring(this.offset,a+1)}}return null}},c(Cc,"t"),Cc),ly=(Af=class{constructor(e,t){this.content=e,this.url=t}},c(Af,"we"),Af),ae=(Ff=class{constructor(e,t,r=e,n=null){this.start=e,this.end=t,this.fullStart=r,this.details=n}toString(){return this.start.file.content.substring(this.start.offset,this.end.offset)}},c(Ff,"f"),Ff),function(e){e[e.WARNING=0]="WARNING",e[e.ERROR=1]="ERROR"}(Dc||(Dc={})),Tf=( $ f=class{constructor(e,t,r=Dc.ERROR){this.span=e,this.msg=t,this.level=r}contextualMessage(){let e=this.span.start.getContext(100,3);return e? ` $ { this . msg } ( "${e.before}[${Dc[this.level]} ->]${e.after}" ) ` :this.msg}toString(){let e=this.span.details? ` , $ { this . span . details } ` :"";return ` $ { this . contextualMessage ( ) } : $ { this . span . start } $ { e } ` }},c( $ f,"Ve"), $ f),wA=[F7, $ 7,T7,R7,z7,O7,B7,L7,M7,I7],c(A7,"Ca"),c(F7,"Sa"),c( $ 7,"_a"),c(B_,"Ea"),c(T7,"Aa"),c(I7,"Da"),c(R7,"va"),c(z7,"ya"),c(B7,"wa"),c(L7,"ba"),c(O7,"Ta"),c(M7,"xa"),Db=A7,c(P7,"ka"),Sb={preprocess:Db,print:P7,insertPragma:k7,massageAstNode:mb,embed:vb,getVisitorKeys:Cb},kb=Sb,_b=[{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"]}],If={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."}},Rf="HTML",Ab={bracketSameLine:If.bracketSameLine,htmlWhitespaceSensitivity:{category:Rf,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:If.singleAttributePerLine,vueIndentScriptAndStyle:{category:Rf,type:"boolean",default:!1,description:"Indent script and style tags in Vue files."}},Fb=Ab,zf={},bf(zf,{angular:c(()=>n6,"angular"),html:c(()=>r6,"html"),lwc:c(()=>o6,"lwc"),vue:c(()=>a6,"vue")}),function(e){e[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}( $ b||( $ b={})),function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"}(Tb||(Tb={})),Bf={name:"custom-elements"},Lf={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"}(Wa||(Wa={})),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Wa
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=>Pb.get(r)??r)}allKnownEventsOfElement(e){return Array.from(this._eventSchema.get(e.toLowerCase())??[])}normalizeAnimationStyleProperty(e){return _7(e)}normalizeAnimationStyleValue(e,t,r){let n="",a=r.toString().trim(),o=null;if(N7(e)&&r!==0&&r!=="0")if(typeof r=="number")n="px";else{let i=r.match(/^[+-]?[ \d \. ]+([a-z]*) $ /);i&&i[1].length==0&&(o= ` Please provide a CSS unit value for $ { t } : $ { r } ` )}return{error:o,value:a+n}}},c(Pf," $ t"),Pf),c(N7,"Oa"),Q=(Nf=class{constructor({closedByChildren:e,implicitNamespacePrefix:t,contentType:r=fr.PARSABLE_DATA,closedByParent:n=!1,isVoid:a=!1,ignoreFirstLf:o=!1,preventNamespaceInheritance:i=!1,canSelfClose:l=!1}={}){this.closedByChildren={},this.closedByParent=!1,e&&e.length>0&&e.forEach(s=>this.closedByChildren[s]=!0),this.isVoid=a,this.closedByParent=n||a,this.implicitNamespacePrefix=t||null,this.contentType=r,this.ignoreFirstLf=o,this.preventNamespaceInheritance=i,this.canSelfClose=l??a}isClosedByChild(e){return this.isVoid||e.toLowerCase()in this.closedByChildren}getContentType(e){return typeof this.contentType=="object"?(e===void 0?void 0:this.contentType[e])??this.contentType.default:this.contentType}},c(Nf,"h"),Nf),c(cd,"ze"),Ro=(jf=class{constructor(e,t){this.sourceSpan=e,this.i18n=t}},c(jf,"be"),jf),jb=(Hf=class extends Ro{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="text"}visit(e,t){return e.visitText(this,t)}},c(Hf,"Ot"),Hf),Hb=(Vf=class extends Ro{constructor(e,t,r,n){super(t,n),this.value=e,this.tokens=r,this.type="cdata"}visit(e,t){return e.visitCdata(this,t)}},c(Vf,"Mt"),Vf),Vb=(Uf=class extends Ro{constructor(e,t,r,n,a,o){super(n,o),this.switchValue=e,this.type=t,this.cases=r,this.switchValueSourceSpan=a}visit(e,t){return e.visitExpansion(this,t)}},c(Uf,"qt"),Uf),Ub=(Wf=class{constructor(e,t,r,n,a){this.value=e,this.expression=t,this.sourceSpan=r,this.valueSourceSpan=n,this.expSourceSpan=a,this.type="expansionCase"}visit(e,t){return e.visitExpansionCase(this,t)}},c(Wf,"Ht"),Wf),Wb=(qf=class extends Ro{constructor(e,t,r,n,a,o,i){super(r,i),this.name=e,this.value=t,this.keySpan=n,this.valueSpan=a,this.valueTokens=o,this.type="attribute"}visit(e,t){return e.visitAttribute(this,t)}get nameSpan(){return this.keySpan}},c(qf,"Vt"),qf),pn=(Gf=class extends Ro{constructor(e,t,r,n,a,o=null,i=null,l){super(n,l),this.name=e,this.attrs=t,this.children=r,this.startSourceSpan=a,this.endSourceSpan=o,this.nameSpan=i,this.type="element"}visit(e,t){return e.visitElement(this,t)}},c(Gf,"G"),Gf),qb=(Kf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="comment"}visit(e,t){return e.visitComment(this,t)}},c(Kf,"Ut"),Kf),Gb=(Yf=class{constructor(e,t){this.value=e,this.sourceSpan=t,this.type="docType"}visit(e,t){return e.visitDocType(this,t)}},c(Yf,"Wt"),Yf),Ia=(Zf=class{constructor(e,t,r,n,a,o=null){this.name=e,this.parameters=t,this.children=r,this.sourceSpan=n,this.startSourceSpan=a,this.endSourceSpan=o,this.type="block"}visit(e,t){return e.visitBlock(this,t)}},c(Zf,"Z"),Zf),Jf=(Xf=class{constructor(e,t){this.expression=e,this.sourceSpan=t,this.type="blockParameter",this.startSourceSpan=null,this.endSourceSpan=null}visit(e,t){return e.visitBlockParameter(this,t)}},c(Xf,"ut"),Xf),c(wg,"zt"),EA=(Qf=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){}visitChildre
` ,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:"⧐",Ri
` )}tokenize(){for(;this._cursor.peek()!==0;){let e=this._cursor.clone();try{if(this._attemptCharCode(60))if(this._attemptCharCode(33))this._attemptStr("[CDATA[")?this._consumeCdata(e):this._attemptStr("--")?this._consumeComment(e):this._attemptStrCaseInsensitive("doctype")?this._consumeDocType(e):this._consumeBogusComment(e);else if(this._attemptCharCode(47))this._consumeTagClose(e);else{let t=this._cursor.clone();this._attemptCharCode(63)?(this._cursor=t,this._consumeBogusComment(e)):this._consumeTagOpen(e)}else this._tokenizeBlocks&&this._attemptCharCode(64)?this._consumeBlockStart(e):this._tokenizeBlocks&&!this._inInterpolation&&!this._isInExpansionCase()&&!this._isInExpansionForm()&&this._attemptCharCode(125)?this._consumeBlockEnd(e):this._tokenizeIcu&&this._tokenizeExpansionForm()||this._consumeWithInterpolation(5,8,()=>this._isTextEnd(),()=>this._isTagStart())}catch(t){this.handleError(t)}}this._beginToken(30),this._endToken([])}_getBlockName(){let e=!1,t=this._cursor.clone();return this._attemptCharCodeUntilFn(r=>sd(r)?!e:gf(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(Be),this._attemptCharCode(41))this._attemptCharCodeUntilFn(Be);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(vf);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&&cf(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(vf)}}_tokenizeExpansionForm(){if(this.isExpansionFormStart())return this._consumeExpansionFormStart(),!0;if(G7(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 kc("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 kc("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 kc(e,this._currentTokenType,t);return this._currentTokenStart=null,this._currentTokenType=null,new Ac(r)}handleError(e){if(e instanceof Fc&&(e=this._createError(e.msg,this._cursor.getSpan(e.cursor))),e instanceof Ac)this.errors.push(e.error);else throw e}_attemptCharCode(e){return this._cursor.peek()===e?(this._cursor.advance(),!0):!1}_attemptCharCodeCaseInsensitive(e){return K7(this._cursor.peek(),e)?(this._cursor.advance(),!0):!1}_requireCharCode(e){let t=this._cursor.clone();if(!this._attemptCharCode(e))throw this._createError(Ta(this._cursor.peek()),this._cursor.getSpan(t))}_attemptStr(e){let t=e.length;if(this._cursor.charsLeft()<t)return!1;let r=this._cursor.clone();for(let n=0;n<t;n++)if(!this._attemptCharCode(e.charCodeAt(n)))return this._cursor=r,!1;return!0}_attemptStrCaseInsensitive(e){for(let t=0;t<e.length;t++)if(!this.
` ){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,wf):e.type===9?n+=e.parts[0]:n+=e.parts.join("");if(n.length>0){let a=e.sourceSpan;this._addToParent(new jb(n,new ae(r.start,a.end,r.fullStart,r.details),t))}}_closeVoidElement(){let e=this._getContainer();e instanceof pn&&this.getTagDefinition(e.name).isVoid&&this._containerStack.pop()}_consumeStartTag(e){let[t,r]=e.parts,n=[];for(;this._peek.type===14;)n.push(this._consumeAttr(this._advance()));let a=this._getElementFullName(t,r,this._getClosestParentElement()),o=!1;if(this._peek.type===2){this._advance(),o=!0;let m=this.getTagDefinition(a);this.canSelfClose||m.canSelfClose||ls(a)!==null||m.isVoid||this.errors.push(At.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,l=new ae(e.sourceSpan.start,i,e.sourceSpan.fullStart),s=new ae(e.sourceSpan.start,i,e.sourceSpan.fullStart),d=new ae(e.sourceSpan.start.moveBy(1),e.sourceSpan.end),p=new pn(a,n,[],l,s,void 0,d),h=this._getContainer();this._pushContainer(p,h instanceof pn&&this.getTagDefinition(h.name).isClosedByChild(p.name)),o?this._popContainer(a,pn,l):e.type===4&&(this._popContainer(a,pn,null),this.errors.push(At.create(a,l, ` 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(At.create(t,e.sourceSpan, ` Void elements do not have end tags "${e.parts[1]}" ` ));else if(!this._popContainer(t,pn,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(At.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(ls(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 Ia||o instanceof pn&&!this.getTagDefinition(o.name).closedByParent)&&(n=!0)}return!1}_consumeAttr(e){let t=Bl(e.parts[0],e.parts[1]),r=e.sourceSpan.end,n;this._peek.type===15&&(n=this._advance());let a="",o=[],i,l;if(this._peek.type===16)for(i=this._peek.sourceSpan,l=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,wf):d.type===9?a+=d.parts[0]:a+=d.parts.join(""),l=r=d.sourceSpan.end}this._peek.type===15&&(l=r=this._advance().sourceSpan.end);let s=i&&l&&new ae((n==null?void 0:n.sourceSpan.start)??i.start,l,(n==null?void 0:n.sourceSpan.fullStart)??i.fullStart);return new Wb(t,a,new ae(e.sourceSpan.start,r,e.sourceSpan.fullStart),e.sourceSpan,s,o.length>0?o:void 0,void 0)}_consumeBlockOpen(e){let t=[];for(;this._peek.type===28;){let i=this._advance();t.push(new Jf(i.parts[0],i.sourceSpan))}this._peek.type===26&&this._advance();let r=this._peek.sourceSpan.fullStart,n=new ae(e.sourceSpan.start,r,e.sourceSpan.fullStart),a=new ae(e.sourceSpan.start,r,e.sourceSpan.fullStart),o=new Ia(e.parts[0],t,[],n,a);this._pushContainer(o,!1)}_consumeBlockClose(e){this._popContainer(null,Ia,e.sourceSpan)||this.errors.push(At.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.'))}_consumeInc
` ?"crlf":"cr":"lf"}function I1(e){switch(e){case"cr":return" \r ";case"crlf":return ` \ r
` ;default:return `
` }}function sy(e,t){let r;switch(t){case `
` :r=/ \n /g;break;case" \r ":r=/ \r /g;break;case ` \ r
` :r=/ \r \n /g;break;default:throw new Error( ` Unexpected "eol" $ { JSON . stringify ( t ) } . ` )}let n=e.match(r);return n?n.length:0}function zA(e){return Ou(!1,e,/ \r \n ?/g, `
` )}function l6(e){if(typeof e=="string")return ba;if(Array.isArray(e))return Fn;if(!e)return;let{type:t}=e;if(by.has(t))return t}function s6(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(Ea(e))throw new Error("doc is valid.");let r=Object.prototype.toString.call(e);if(r!=="[object Object]")return ` Unexpected doc '${r}' . ` ;let n=xF([...by].map(a=> ` '${a}' ` ));return ` Unexpected doc . type '${e.type}' .
Expected it to be $ { n } . ` }function u6(e,t,r,n){let a=[e];for(;a.length>0;){let o=a.pop();if(o===Kg){r(a.pop());continue}r&&a.push(o,Kg);let i=Ea(o);if(!i)throw new uo(o);if((t==null?void 0:t(o))!==!1)switch(i){case Fn:case zt:{let l=i===Fn?o:o.parts;for(let s=l.length,d=s-1;d>=0;--d)a.push(l[d]);break}case xt:a.push(o.flatContents,o.breakContents);break;case dt:if(n&&o.expandedStates)for(let l=o.expandedStates.length,s=l-1;s>=0;--s)a.push(o.expandedStates[s]);else a.push(o.contents);break;case rn:case tn:case nn:case Er:case an:a.push(o.contents);break;case ba:case ia:case Xr:case Jr:case Me:case Lt:break;default:throw new uo(o)}}}function ou(e){return xr(e),{type:tn,contents:e}}function so(e,t){return xr(t),{type:rn,contents:t,n:e}}function _g(e,t={}){return xr(e),B1(t.expandedStates,!0),{type:dt,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function c6(e){return so(Number.NEGATIVE_INFINITY,e)}function d6(e){return so({type:"root"},e)}function p6(e){return so(-1,e)}function f6(e,t){return _g(e[0],{...t,expandedStates:e})}function Ag(e){return B1(e),{type:zt,parts:e}}function h6(e,t="",r={}){return xr(e),t!==""&&xr(t),{type:xt,breakContents:e,flatContents:t,groupId:r.groupId}}function m6(e,t){return xr(e),{type:nn,contents:e,groupId:t.groupId,negate:t.negate}}function vd(e){return xr(e),{type:an,contents:e}}function Fg(e,t){xr(e),B1(t);let r=[];for(let n=0;n<t.length;n++)n!==0&&r.push(e),r.push(t[n]);return r}function $ g(e,t,r){xr(e);let n=e;if(t>0){for(let a=0;a<Math.floor(t/r);++a)n=ou(n);n=so(t%r,n),n=so(Number.NEGATIVE_INFINITY,n)}return n}function g6(e,t){return xr(t),e?{type:Er,label:e,contents:t}:t}function Pr(e){var t;if(!e)return"";if(Array.isArray(e)){let r=[];for(let n of e)if(Array.isArray(n))r.push(...Pr(n));else{let a=Pr(n);a!==""&&r.push(a)}return r}return e.type===xt?{...e,breakContents:Pr(e.breakContents),flatContents:Pr(e.flatContents)}:e.type===dt?{...e,contents:Pr(e.contents),expandedStates:(t=e.expandedStates)==null?void 0:t.map(Pr)}:e.type===zt?{type:"fill",parts:e.parts.map(Pr)}:e.contents?{...e,contents:Pr(e.contents)}:e}function BA(e){let t=Object.create(null),r=new Set;return n(Pr(e));function n(o,i,l){var s,d;if(typeof o=="string")return JSON.stringify(o);if(Array.isArray(o)){let p=o.map(n).filter(Boolean);return p.length===1?p[0]: ` [ $ { p . join ( ", " ) } ] ` }if(o.type===Me){let p=((s=l==null?void 0:l[i+1])==null?void 0:s.type)===Lt;return o.literal?p?"literalline":"literallineWithoutBreakParent":o.hard?p?"hardline":"hardlineWithoutBreakParent":o.soft?"softline":"line"}if(o.type===Lt)return((d=l==null?void 0:l[i-1])==null?void 0:d.type)===Me&&l[i-1].hard?void 0:"breakParent";if(o.type===Xr)return"trim";if(o.type===tn)return"indent("+n(o.contents)+")";if(o.type===rn)return o.n===Number.NEGATIVE_INFINITY?"dedentToRoot("+n(o.contents)+")":o.n<0?"dedent("+n(o.contents)+")":o.n.type==="root"?"markAsRoot("+n(o.contents)+")":"align("+JSON.stringify(o.n)+", "+n(o.contents)+")";if(o.type===xt)return"ifBreak("+n(o.breakContents)+(o.flatContents?", "+n(o.flatContents):"")+(o.groupId?(o.flatContents?"":', ""')+ ` , { groupId : $ { a ( o . groupId ) } } ` :"")+")";if(o.type===nn){let p=[];o.negate&&p.push("negate: true"),o.groupId&&p.push( ` groupId : $ { a ( o . groupId ) } ` );let h=p.length>0? ` , { $ { p . join ( ", " ) } } ` :"";return ` indentIfBreak ( $ { n ( o . contents ) } $ { h } ) ` }if(o.type===dt){let p=[];o.break&&o.break!=="propagated"&&p.push("shouldBreak: true"),o.id&&p.push( ` id : $ { a ( o . id ) } ` );let h=p.length>0? ` , { $ { p . join ( ", " ) } } ` :"";return o.expandedStates? ` conditionalGroup ( [ $ { o . expandedStates . map ( m => n ( m ) ) . join ( "," ) } ] $ { h } ) ` : ` group ( $ { n ( o . contents ) } $ { h } ) ` }if(o.type===zt)return ` fill ( [ $ { o . parts . map ( p => n ( p ) ) . join ( ", " ) } ] ) ` ;if(o.type===an)return"lineSuffix("+n(o.contents)+")";if(o.type===Jr)return"lineSuffixBoundary";if(o.type===Er)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 l=0;;l++){let s=i+(l>0? ` # $ { l } ` :"");if(!r.has(s))return r.add(s),t[o]=
` )):r)}function jA(e){if(e.type===Me)return!0}function C6(e){return yd(e,jA,!1)}function uy(e,t){return e.type===Er?{...e,contents:t(e.contents)}:t(e)}function cy(){return{value:"",length:0,queue:[]}}function HA(e,t){return wd(e,{type:"indent"},t)}function VA(e,t,r){return t===Number.NEGATIVE_INFINITY?e.root||cy():t<0?wd(e,{type:"dedent"},r):t?t.type==="root"?{...e,root:e}:wd(e,{type:typeof t=="string"?"stringAlign":"numberAlign",n:t},r):e}function wd(e,t,r){let n=t.type==="dedent"?e.queue.slice(0,-1):[...e.queue,t],a="",o=0,i=0,l=0;for(let v of n)switch(v.type){case"indent":p(),r.useTabs?s(1):d(r.tabWidth);break;case"stringAlign":p(),a+=v.n,o+=v.n.length;break;case"numberAlign":i+=1,l+=v.n;break;default:throw new Error( ` Unexpected type '${v.type}' ` )}return m(),{...e,value:a,length:o,queue:n};function s(v){a+=" ".repeat(v),o+=r.tabWidth*v}function d(v){a+=" ".repeat(v),o+=v}function p(){r.useTabs?h():m()}function h(){i>0&&s(i),f()}function m(){l>0&&d(l),f()}function f(){i=0,l=0}}function bd(e){let t=0,r=0,n=e.length;e:for(;n--;){let a=e[n];if(a===yi){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(yi);return t}function cs(e,t,r,n,a,o){if(r===Number.POSITIVE_INFINITY)return!0;let i=t.length,l=[e],s=[];for(;r>=0;){if(l.length===0){if(i===0)return!0;l.push(t[--i]);continue}let{mode:d,doc:p}=l.pop();switch(Ea(p)){case ba:s.push(p),r-=Dd(p);break;case Fn:case zt:{let h=kF(p);for(let m=h.length-1;m>=0;m--)l.push({mode:d,doc:h[m]});break}case tn:case rn:case nn:case Er:l.push({mode:d,doc:p.contents});break;case Xr:r+=bd(s);break;case dt:{if(o&&p.break)return!1;let h=p.break?ot:d,m=p.expandedStates&&h===ot? $ e(!1,p.expandedStates,-1):p.contents;l.push({mode:h,doc:m});break}case xt:{let h=(p.groupId?a[p.groupId]||lr:d)===ot?p.breakContents:p.flatContents;h&&l.push({mode:d,doc:h});break}case Me:if(d===ot||p.hard)return!0;p.soft||(s.push(" "),r--);break;case an:n=!0;break;case Jr:if(n)return!1;break}}return!1}function lu(e,t){let r={},n=t.printWidth,a=I1(t.endOfLine),o=0,i=[{ind:cy(),mode:ot,doc:e}],l=[],s=!1,d=[],p=0;for(OA(e);i.length>0;){let{ind:m,mode:f,doc:v}=i.pop();switch(Ea(v)){case ba:{let g=a!== `
` ?Ou(!1,v, `
` ,a):v;l.push(g),i.length>0&&(o+=Dd(g));break}case Fn:for(let g=v.length-1;g>=0;g--)i.push({ind:m,mode:f,doc:v[g]});break;case ia:if(p>=2)throw new Error("There are too many 'cursor' in doc.");l.push(yi),p++;break;case tn:i.push({ind:HA(m,t),mode:f,doc:v.contents});break;case rn:i.push({ind:VA(m,v.n,t),mode:f,doc:v.contents});break;case Xr:o-=bd(l);break;case dt:switch(f){case lr:if(!s){i.push({ind:m,mode:v.break?ot:lr,doc:v.contents});break}case ot:{s=!1;let g={ind:m,mode:lr,doc:v.contents},C=n-o,E=d.length>0;if(!v.break&&cs(g,i,C,E,r))i.push(g);else if(v.expandedStates){let y= $ e(!1,v.expandedStates,-1);if(v.break){i.push({ind:m,mode:ot,doc:y});break}else for(let b=1;b<v.expandedStates.length+1;b++)if(b>=v.expandedStates.length){i.push({ind:m,mode:ot,doc:y});break}else{let x=v.expandedStates[b],D={ind:m,mode:lr,doc:x};if(cs(D,i,C,E,r)){i.push(D);break}}}else i.push({ind:m,mode:ot,doc:v.contents});break}}v.id&&(r[v.id]= $ e(!1,i,-1).mode);break;case zt:{let g=n-o,{parts:C}=v;if(C.length===0)break;let[E,y]=C,b={ind:m,mode:lr,doc:E},x={ind:m,mode:ot,doc:E},D=cs(b,[],g,d.length>0,r,!0);if(C.length===1){D?i.push(b):i.push(x);break}let S={ind:m,mode:lr,doc:y},k={ind:m,mode:ot,doc:y};if(C.length===2){D?i.push(S,b):i.push(k,x);break}C.splice(0,2);let _={ind:m,mode:f,doc:Ag(C)},A=C[0];cs({ind:m,mode:lr,doc:[E,y,A]},[],g,d.length>0,r,!0)?i.push(_,S,b):D?i.push(_,k,b):i.push(_,k,x);break}case xt:case nn:{let g=v.groupId?r[v.groupId]:f;if(g===ot){let C=v.type===xt?v.breakContents:v.negate?v.contents:ou(v.contents);C&&i.push({ind:m,mode:f,doc:C})}if(g===lr){let C=v.type===xt?v.flatContents:v.negate?ou(v.contents):v.contents;C&&i.push({ind:m,mode:f,doc:C})}break}case an:d.push({ind:m,mode:f,doc:v.contents});break;case Jr:d.length>0&&i.push({ind:m,mode:f,doc:f0});break;case Me:switch(f){case lr:if(v.hard)s=!0;else{v.soft||(l.push(" "),o+=1);break}case ot:if(d.length>0){i.push({ind:m,mode:f,doc:v},...d.reverse()),d.length=0;break}v.literal?m.root?(l.push(a,m.root.value),o=m.root.length):(l.push(a),o=0):(o-=bd(l),l.push(a+m.value),o=m.length);break}break;case Er:i.push({ind:m,mode:f,doc:v.contents});break;case Lt:break;default:throw new uo(v)}i.length===0&&d.length>0&&(i.push(...d.reverse()),d.length=0)}let h=l.indexOf(yi);if(h!==-1){let m=l.indexOf(yi,h+1),f=l.slice(0,h).join(""),v=l.slice(h+1,m).join(""),g=l.slice(m+1).join("");return{formatted:f+v+g,cursorNodeStart:f.length,cursorNodeText:v}}return{formatted:l.join("")}}function D6(e,t,r=0){let n=0;for(let a=r;a<e.length;++a)e[a]===" "?n=n+t-n%t:n++;return n}function S6(e){return e!==null&&typeof e=="object"}function*dy(e,t){let{getVisitorKeys:r,filter:n=c(()=>!0,"n")}=t,a=c(o=>AF(o)&&n(o),"o");for(let o of r(e)){let i=e[o];if(Array.isArray(i))for(let l of i)a(l)&&(yield l);else a(i)&&(yield i)}}function*UA(e,t){let r=[e];for(let n=0;n<r.length;n++){let a=r[n];for(let o of dy(a,t))yield o,r.push(o)}}function zo(e){return(t,r,n)=>{let a=!!(n!=null&&n.backwards);if(r===!1)return!1;let{length:o}=t,i=r;for(;i>=0&&i<o;){let l=t.charAt(i);if(e instanceof RegExp){if(!e.test(l))return i}else if(!e.includes(l))return i;a?i--:i++}return i===-1||i===o?i:!1}}function k6(e,t,r){let n=!!(r!=null&&r.backwards);if(t===!1)return!1;let a=e.charAt(t);if(n){if(e.charAt(t-1)===" \r "&&a=== `
` )return t-2;if(a=== `
` ||a===" \r "||a===" \u 2028"||a===" \u 2029")return t-1}else{if(a===" \r "&&e.charAt(t+1)=== `
` )return t+2;if(a=== `
` ||a===" \r "||a===" \u 2028"||a===" \u 2029")return t+1}return t}function _6(e,t,r={}){let n= $ n(e,r.backwards?t-1:t,r),a=ma(e,n,r);return n!==a}function A6(e){return Array.isArray(e)&&e.length>0}function F6(e){return e?t=>e(t,Qg): $ F}function WA(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 R1(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=WA(e)}function qa(e,t){t.leading=!0,t.trailing=!1,R1(e,t)}function $ s(e,t,r){t.leading=!1,t.trailing=!1,r&&(t.marker=r),R1(e,t)}function Ga(e,t){t.leading=!1,t.trailing=!0,R1(e,t)}function z1(e,t){if(h0.has(e))return h0.get(e);let{printer:{getCommentChildNodes:r,canAttachComment:n,getVisitorKeys:a},locStart:o,locEnd:i}=t;if(!n)return[];let l=((r==null?void 0:r(e,t))??[...dy(e,{getVisitorKeys:Mu(a)})]).flatMap(s=>n(s)?[s]:z1(s,t));return l.sort((s,d)=>o(s)-o(d)||i(s)-i(d)),h0.set(e,l),l}function py(e,t,r,n){let{locStart:a,locEnd:o}=r,i=a(t),l=o(t),s=z1(e,r),d,p,h=0,m=s.length;for(;h<m;){let f=h+m>>1,v=s[f],g=a(v),C=o(v);if(g<=i&&l<=C)return py(v,t,r,v);if(C<=i){d=v,h=f+1;continue}if(l<=g){p=v,m=f;continue}throw new Error("Comment location overlaps with node location")}if((n==null?void 0:n.type)==="TemplateLiteral"){let{quasis:f}=n,v=c0(f,t,r);d&&c0(f,d,r)!==v&&(d=null),p&&c0(f,p,r)!==v&&(p=null)}return{enclosingNode:n,precedingNode:d,followingNode:p}}function qA(e,t){let{comments:r}=e;if(delete e.comments,!FF(r)||!t.printer.canAttachComment)return;let n=[],{locStart:a,locEnd:o,printer:{experimentalFeatures:{avoidAstMutation:i=!1}={},handleComments:l={}},originalText:s}=t,{ownLine:d=m0,endOfLine:p=m0,remaining:h=m0}=l,m=r.map((f,v)=>({...py(e,f,t),comment:f,text:s,options:t,ast:e,isLastComment:r.length-1===v}));for(let[f,v]of m.entries()){let{comment:g,precedingNode:C,enclosingNode:E,followingNode:y,text:b,options:x,ast:D,isLastComment:S}=v;if(x.parser==="json"||x.parser==="json5"||x.parser==="jsonc"||x.parser==="__js_expression"||x.parser==="__ts_expression"||x.parser==="__vue_expression"||x.parser==="__vue_ts_expression"){if(a(g)-a(D)<=0){qa(D,g);continue}if(o(g)-o(D)>=0){Ga(D,g);continue}}let k;if(i?k=[v]:(g.enclosingNode=E,g.precedingNode=C,g.followingNode=y,k=[g,b,x,D,S]),GA(b,x,m,f))g.placement="ownLine",d(...k)||(y?qa(y,g):C?Ga(C,g): $ s(E||D,g));else if(KA(b,x,m,f))g.placement="endOfLine",p(...k)||(C?Ga(C,g):y?qa(y,g): $ s(E||D,g));else if(g.placement="remaining",!h(...k))if(C&&y){let _=n.length;_>0&&n[_-1].followingNode!==y&&zg(n,x),n.push(v)}else C?Ga(C,g):y?qa(y,g): $ s(E||D,g)}if(zg(n,t),!i)for(let f of r)delete f.precedingNode,delete f.enclosingNode,delete f.followingNode}function GA(e,t,r,n){let{comment:a,precedingNode:o}=r[n],{locStart:i,locEnd:l}=t,s=i(a);if(o)for(let d=n-1;d>=0;d--){let{comment:p,precedingNode:h}=r[d];if(h!==o||!Ey(e.slice(l(p),s)))break;s=i(p)}return Cn(e,s,{backwards:!0})}function KA(e,t,r,n){let{comment:a,followingNode:o}=r[n],{locStart:i,locEnd:l}=t,s=l(a);if(o)for(let d=n+1;d<r.length;d++){let{comment:p,followingNode:h}=r[d];if(h!==o||!Ey(e.slice(s,i(p))))break;s=l(p)}return Cn(e,s)}function zg(e,t){var r,n;let a=e.length;if(a===0)return;let{precedingNode:o,followingNode:i}=e[0],l=t.locStart(i),s;for(s=a;s>0;--s){let{comment:d,precedingNode:p,followingNode:h}=e[s-1];kd.strictEqual(p,o),kd.strictEqual(h,i);let m=t.originalText.slice(t.locEnd(d),l);if(((n=(r=t.printer).isGap)==null?void 0:n.call(r,m,t))??/^[ \s (]* $ /.test(m))l=t.locStart(d);else break}for(let[d,{comment:p}]of e.entries())d<s?Ga(o,p):qa(i,p);for(let d of[o,i])d.comments&&d.comments.length>1&&d.comments.sort((p,h)=>t.locStart(p)-t.locStart(h));e.length=0}function c0(e,t,r){let n=r.locStart(t)-1;for(let a=1;a<e.length;++a)if(n<r.locStart(e[a]))return a-1;return 0}function $ 6(e,t){let r=t-1;r= $ n(e,r,{backwards:!0}),r=ma(e,r,{backwards:!0}),r= $ n(e,r,{backwards:!0});let n=ma(e,r,{backwards:!0});return r!==n}function fy(e,t){let r=e.
` )),Mg(n,r)}function Mg(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 R6(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(;o<n&&e.charCodeAt(o)===t.charCodeAt(o);)o++;if(n-=o,a-=o,n===0)return a;let i,l,s,d,p=0,h=0;for(;p<n;)n2[p]=e.charCodeAt(o+p),g0[p]=++p;for(;h<a;)for(i=t.charCodeAt(o+h),s=h++,l=h,p=0;p<n;p++)d=i===n2[p]?s:s+1,s=g0[p],l=g0[p]=s>l?d>l?l+1:d:d>s?s+1:d;return l}function z6(e,t){let r=new e(t),n=Object.create(r);for(let a of BF)a in t&&(n[a]=nF(t[a],r,mn.prototype[a].length));return n}function nF(e,t,r){return typeof e=="function"?(...n)=>e(...n.slice(0,r-1),t,...n.slice(r-1)):()=>e}function ph({from:e,to:t}){return{from:[e],to:t}}function B6(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 L6(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 O6(){let e=Object.create(null);return t=>{let r=JSON.stringify(t);return e[r]?!0:(e[r]=!0,!1)}}function M6(e,t){let r=[],n=[];for(let a of e)t(a)?r.push(a):n.push(a);return[r,n]}function P6(e){return e===Math.floor(e)}function N6(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 j6(e){return(...t)=>{let r=e(...t);return typeof r=="string"?new Error(r):r}}function fh(e){return e===void 0?{}:e}function Pg(e){if(typeof e=="string")return{text:e};let{text:t,list:r}=e;return aF((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(Pg)}}:{text:t}}function hh(e,t){return e===!0?!0:e===!1?{value:t}:e}function mh(e,t,r=!1){return e===!1?!1:e===!0?r?!0:[{value:t}]:"value"in e?[e]:e.length===0?!1:e}function Ng(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 d0(e,t){return e===void 0?[]:Array.isArray(e)?e.map(r=>Ng(r,t)):[Ng(e,t)]}function gh(e,t){let r=d0(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 aF(e,t){if(!e)throw new Error(t)}function H6(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=La;let l=a?Array.isArray(a)?(m,f)=>a.includes(m)?{[m]:f}:void 0:(m,f)=>({[m]:f}):(m,f,v)=>{let{_:g,...C}=v.schemas;return a2(m,f,{...v,schemas:C})},s=oF(t,{isCLI:n,FlagSchema:o}),d=new HF(s,{logger:r,unknown:l,descriptor:i}),p=r!==!1;p&&jh&&(d._hasDeprecationWarned=jh);let h=d.normalize(e);return p&&(jh=d._hasDeprecationWarned),h}function oF(e,{isCLI:t,FlagSchema:r}){let n=[];t&&n.push(OF.create({name:"_"}));for(let a of e)n.push(iF(a,{isCLI:t,optionInfos:e,FlagSchema:r})),a.alias&&t&&n.push(LF.create({name:a.alias,sourceName:a.name}));return n}function iF(e,{isCLI:t,optionInfos:r,FlagSchema:n}){let{name:a}=e,o={name:a},i,l={};switch(e.type){case"int":i=jF,t&&(o.preprocess=Number);break;case"string":i=o2;break;case"choice":i=NF,o.choices=e.choices.map(s=>s!=null&&s.redirect?{...s,redirect:{to:{key:e.name,value:s.redirect}}}:s);break;case"boolean":i=PF;break;case"flag":i=n,o.flags=r.flatMap(s=>[s.alias,s.description&&s.name,s.oppositeDescription&& ` no - $ { s . name } ` ].filter(Boolean));break;case"path":i=o2;break;default:throw new Error( ` Unexpected type $ { e . type } ` )}if(e.exception?o.validate=(s,d,p)=>e.exception(s)||d.validate(s,p):o.validate=(s,d,p)=>s===void 0||d.validate(s,p),e.redirect&&(l.redirect=s=>s?{to:{key:e.redirect.option,value:e.redirect.value}}:void 0),e.deprecated&&(l.deprecated=!0),t&&!e.array){let s=o.preprocess||(d=>d);o.preprocess=(d,p,h)=>p.preprocess(s(Array.isArray(d)? $ e(!1,d,-1):d),h)}return e.array?MF.create({...t?{preprocess:c(s=>A
` +n,e.codeFrame=n,e}throw e}async function cF(e,t,r,n,a){let{embeddedLanguageFormatting:o,printer:{embed:i,hasPrettierIgnore:l=c(()=>!1,"s"),getVisitorKeys:s}}=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=Mu(i.getVisitorKeys??s),p=[];f();let h=e.stack;for(let{print:v,node:g,pathStack:C}of p)try{e.stack=C;let E=await v(m,t,e,r);E&&a.set(g,E)}catch(E){if(globalThis.PRETTIER_DEBUG)throw E}e.stack=h;function m(v,g){return dF(v,g,r,n)}c(m,"f");function f(){let{node:v}=e;if(v===null||typeof v!="object"||l(e))return;for(let C of d(v))Array.isArray(v[C])?e.each(f,C):e.call(f,C);let g=i(e,r);if(g){if(typeof g=="function"){p.push({print:g,node:v,pathStack:[...e.stack]});return}a.set(v,g)}}c(f,"p")}async function dF(e,t,r,n){let a=await wo({...r,...t,parentParser:r.parser,originalText:e},{passThrough:!0}),{ast:o}=await ul(e,a),i=await n(o,a);return Rg(i)}function W6(e,t){let{originalText:r,[Symbol.for("comments")]:n,locStart:a,locEnd:o,[Symbol.for("printedComments")]:i}=t,{node:l}=e,s=a(l),d=o(l);for(let p of n)a(p)>=s&&o(p)<=d&&i.add(p);return r.slice(s,d)}async function Lu(e,t){({ast:e}=await vy(e,t));let r=new Map,n=new _F(e),a=TF(t),o=new Map;await cF(n,l,t,Lu,o);let i=await jg(n,t,l,void 0,o);return QA(t),i;function l(d,p){return d===void 0||d===n?s(p):Array.isArray(d)?n.call(()=>s(p),...d):n.call(()=>s(p),d)}function s(d){a(n);let p=n.node;if(p==null)return"";let h=p&&typeof p=="object"&&d===void 0;if(h&&r.has(p))return r.get(p);let m=jg(n,t,l,d,o);return h&&r.set(p,m),m}}function jg(e,t,r,n,a){var o;let{node:i}=e,{printer:l}=t,s;return(o=l.hasPrettierIgnore)!=null&&o.call(l,e)?s=WF(e,t):a.has(i)?s=a.get(i):s=l.print(e,t,r,n),i===t.cursorNode&&(s=uy(s,d=>[Cd,d,Cd])),l.printComment&&(!l.willPrintOwnComments||!l.willPrintOwnComments(e,t))&&(s=JA(e,s,t)),s}async function vy(e,t){let r=e.comments??[];t[Symbol.for("comments")]=r,t[Symbol.for("tokens")]=e.tokens??[],t[Symbol.for("printedComments")]=new Set,qA(e,t);let{printer:{preprocess:n}}=t;return e=n?await n(e,t):e,{ast:e,comments:r}}function q6(e,t){let{cursorOffset:r,locStart:n,locEnd:a}=t,o=Mu(t.printer.getVisitorKeys),i=c(s=>n(s)<=r&&a(s)>=r,"i"),l=e;for(let s of UA(e,{getVisitorKeys:o,filter:i}))l=s;return l}function G6(e,t){let{printer:{massageAstNode:r,getVisitorKeys:n}}=t;if(!r)return e;let a=Mu(n),o=r.ignoredProperties??new Set;return i(e);function i(l,s){if(!(l!==null&&typeof l=="object"))return l;if(Array.isArray(l))return l.map(m=>i(m,s)).filter(Boolean);let d={},p=new Set(a(l));for(let m in l)!Object.prototype.hasOwnProperty.call(l,m)||o.has(m)||(p.has(m)?d[m]=i(l[m],l):d[m]=l[m]);let h=r(l,d,s);if(h!==null)return h??d}}function pF(e,t){let r=[e.node,...e.parentNodes],n=new Set([t.node,...t.parentNodes]);return r.find(a=>Dy.has(a.type)&&n.has(a))}function Hg(e){let t=e.length-1;for(;;){let r=e[t];if((r==null?void 0:r.type)==="Program"||(r==null?void 0:r.type)==="File")t--;else break}return e.slice(0,t+1)}function fF(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 s of Hg(t.parentNodes))if(r(s)>=i)o=s;else break;let l=n(t.node);for(let s of Hg(e.parentNodes)){if(n(s)<=l)a=s;else break;if(a===o)break}return{startNode:a,endNode:o}}function Ed(e,t,r,n,a=[],o){let{locStart:i,locEnd:l}=r,s=i(e),d=l(e);if(!(t>d||t<s||o==="rangeEnd"&&t===s||o==="rangeStart"&&t===d)){for(let p of z1(e,r)){let h=Ed(p,t,r,n,[e,...a],o);if(h)return h}if(!n||n(e,a[0]))return{node:e,parentNodes:a}}}function hF(e,t){return t!=="DeclareExportDeclaration"&&e!=="TypeParameterDeclaration"&&(e==="Directive"||e==="TypeAlias"||e==="TSExportAssignment"||e.startsWith("Declare")||e.startsWith("TSDeclare")||e.endsWith("Statement")||e.endsWith("Declaration"))}function Vg(e,t,r){if(!t)return!1;switch(e.parser){case"flow":case"babel":case"babel-flow":case"babel-ts":case"typescript":case"acorn":case"espree":case"meriyah":case"__babel_estree":return hF(t.type,r==null?void
` ,a)+1),s=n.slice(l,a).match(/^ \s */)[0],d=Sd(s,t.tabWidth),p=await yy(i,{...t,rangeStart:0,rangeEnd:Number.POSITIVE_INFINITY,cursorOffset:t.cursorOffset>a&&t.cursorOffset<=o?t.cursorOffset-a:-1,endOfLine:"lf"},d),h=p.formatted.trimEnd(),{cursorOffset:m}=t;m>o?m+=h.length-i.length:p.cursorOffset>=0&&(m=p.cursorOffset+a);let f=n.slice(0,a)+h+n.slice(o);if(t.endOfLine!=="lf"){let v=I1(t.endOfLine);m>=0&&v=== ` \ r
` &&(m+=sy(f.slice(0,m), `
` )),f=Ou(!1,f, `
` ,v)}return{formatted:f,cursorOffset:m,comments:p.comments}}function p0(e,t,r){return typeof t!="number"||Number.isNaN(t)||t<0||t>e.length?r:t}function Ug(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a}=t;return r=p0(e,r,-1),n=p0(e,n,0),a=p0(e,a,e.length),{...t,cursorOffset:r,rangeStart:n,rangeEnd:a}}function wy(e,t){let{cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o}=Ug(e,t),i=e.charAt(0)===Sy;if(i&&(e=e.slice(1),r--,n--,a--),o==="auto"&&(o=RA(e)),e.includes(" \r ")){let l=c(s=>sy(e.slice(0,Math.max(s,0)), ` \ r
` ),"s");r-=l(r),n-=l(n),a-=l(a),e=zA(e)}return{hasBOM:i,text:e,options:Ug(e,{...t,cursorOffset:r,rangeStart:n,rangeEnd:a,endOfLine:o})}}async function Wg(e,t){let r=await my(t);return!r.hasPragma||r.hasPragma(e)}async function qg(e,t){let{hasBOM:r,text:n,options:a}=wy(e,await wo(t));if(a.rangeStart>=a.rangeEnd&&n!==""||a.requirePragma&&!await Wg(n,a))return{formatted:e,cursorOffset:t.cursorOffset,comments:[]};let o;return a.rangeStart>0||a.rangeEnd<n.length?o=await gF(n,a):(!a.requirePragma&&a.insertPragma&&a.printer.insertPragma&&!await Wg(n,a)&&(n=a.printer.insertPragma(n)),o=await yy(n,a)),r&&(o.formatted=Sy+o.formatted,o.cursorOffset>=0&&o.cursorOffset++),o}async function K6(e,t,r){let{text:n,options:a}=wy(e,await wo(t)),o=await ul(n,a);return r&&(r.preprocessForPrint&&(o.ast=await vy(o.ast,a)),r.massage&&(o.ast=GF(o.ast,a))),o}async function Y6(e,t){t=await wo(t);let r=await Lu(e,t);return lu(r,t)}async function Z6(e,t){let r=BA(e),{formatted:n}=await qg(r,{...t,parser:"__js_expression"});return n}async function X6(e,t){t=await wo(t);let{ast:r}=await ul(e,t);return Lu(r,t)}async function J6(e,t){return lu(e,await wo(t))}function Q6(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let r=t+2;r<e.length;++r)if(e.charAt(r)==="*"&&e.charAt(r+1)==="/")return r+2}return t}function e8(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?Jg(e,t):t}function t8(e,t){let r=null,n=t;for(;n!==r;)r=n,n= $ n(e,n),n=_d(e,n),n=Ad(e,n),n=ma(e,n);return n}function r8(e,t){let r=null,n=t;for(;n!==r;)r=n,n=Xg(e,n),n=_d(e,n),n= $ n(e,n);return n=Ad(e,n),n=ma(e,n),n!==!1&&Cn(e,n)}function n8(e,t){let r=e.lastIndexOf( `
` );return r===-1?0:Sd(e.slice(r+1).match(/^[ \t ]*/)[0],t)}function vF(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[| \\ {}()[ \] ^ $ +*?.]/g," \\ $ &").replace(/-/g," \\ x2d")}function a8(e,t){let r=e.match(new RegExp( ` ( $ { vF ( t ) } ) + ` ,"g"));return r===null?0:r.reduce((n,a)=>Math.max(n,a.length/t.length),0)}function o8(e,t){let r=O1(e,t);return r===!1?"":e.charAt(r)}function i8(e,t,r){for(let n=t;n<r;++n)if(e.charAt(n)=== `
` )return!0;return!1}function l8(e,t,r={}){return $ n(e,r.backwards?t-1:t,r)!==t}function s8(e,t,r){let n=t==='"'?"'":'"',a=Ou(!1,e,/ \\ (.)|(["'])/gs,(o,i,l)=>i===n?i:l===t?" \\ "+l:l||(r&&/^[^ \n \r "'0-7 \\ bfnrt-vx \u 2028 \u 2029] $ /.test(i)?i:" \\ "+i));return t+a+t}function yF(e,t,r){return O1(e,r(t))}function u8(e,t){return arguments.length===2||typeof t=="number"?O1(e,t):yF(...arguments)}function wF(e,t,r){return L1(e,r(t))}function c8(e,t){return arguments.length===2||typeof t=="number"?L1(e,t):wF(...arguments)}function bF(e,t,r){return Fd(e,r(t))}function d8(e,t){return arguments.length===2||typeof t=="number"?Fd(e,t):bF(...arguments)}function Mn(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 Gg(e,t){let{formatted:r}=await s2(e,{...t,cursorOffset:-1});return r}async function p8(e,t){return await Gg(e,t)===e}var f8,jl,h8,m8,g8,v8,y8,Hl,Vl,vh,Bo,w8,b8,yh,Lo,E8,x8,Ul,wh,C8,D8,S8,k8,bh,_8,Ou,EF,ba,Fn,ia,tn,rn,Xr,dt,zt,xt,nn,an,Jr,Me,Er,Lt,by,Ea,xF,Eh,A8,uo,Kg,xd,xh,xr,B1,F8,ds, $ 8,f0,Ch,Yg,T8,la,Zg,Cd,I8, $ e,CF,DF,SF,Dd,kF,ot,lr,yi,Sd,Rc,Dh,Wl,zc,Sh,R8,_F,kh,kd,AF,z8, $ n,Xg,Jg,ma,Cn,FF,Qg, $ F,Mu,h0,m0,Ey,L1,TF,_h,xy,Ah,e2,IF,RF,zF,La,Fh,B8,Ka,t2,ql,r2,L8, $ h,g0,n2,a2,BF,Th,mn,Ih,LF,Rh,OF,zh,MF,Bh,PF,Lh,NF,Oh,O8,Mh,jF,Ph,o2,M8,P8,N8,j8,Nh,HF,jh,VF,H8,Cy,i2,wo,UF,ul,WF,qF,GF,KF,Dy,YF,Sy,l2,Hh,V8,U8,W8,q8,Vh,_d,Ad,O1,Fd,G8,K8,Y8,Z8,X8,J8,s2,Q8,eE,ZF,EN=R(()=>{f8=Object.create,jl=Object.defineProperty,h8=Object.getOwnPropertyDescriptor,m8=Object.getOwnPropertyNames,g8=Object.getPrototypeOf,v8=Object.prototype.hasOwnProperty,y8=c((e,t)=>()=>(e&&(t=e(e=0)),t),"Eu"),Hl=c((e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),"Me"),Vl=c((e,t)=>{for(var r in t)jl(e,r,{get:t[r],enumerable:!0})},"We"),vh=c((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let a of m8(t))!v8.call(e,a)&&a!==r&&jl(e,a,{get:c(()=>t[a],"get"),enumerable:!(n=h8(t,a))||n.enumerable});return e},"ur"),Bo=c((e,t,r)=>(r=e!=null?f8(g8(e)):{},vh(t||!e||!e.__esModule?jl(r,"default",{value:e,enumerable:!0}):r,e)),"he"),w8=c(e=>vh(jl({},"__esModule",{value:!0}),e),"Cu"),b8=c((e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)},"hu"),yh=c((e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},"ht"),Lo=c((e,t,r)=>(b8(e,t,"access private method"),r),"ce"),E8=Hl(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){}c(t,"or"),t.prototype={diff:c(function(a,o){var i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},l=i.callback;typeof i=="function"&&(l=i,i={}),this.options=i;var s=this;function d(y){return l?(setTimeout(function(){l(void 0,y)},0),!0):y}c(d,"i"),a=this.castInput(a),o=this.castInput(o),a=this.removeEmpty(this.tokenize(a)),o=this.removeEmpty(this.tokenize(o));var p=o.length,h=a.length,m=1,f=p+h;i.maxEditLength&&(f=Math.min(f,i.maxEditLength));var v=[{newPos:-1,components:[]}],g=this.extractCommon(v[0],o,a,0);if(v[0].newPos+1>=p&&g+1>=h)return d([{value:this.join(o),count:o.length}]);function C(){for(var y=-1*m;y<=m;y+=2){var b=void 0,x=v[y-1],D=v[y+1],S=(D?D.newPos:0)-y;x&&(v[y-1]=void 0);var k=x&&x.newPos+1<p,_=D&&0<=S&&S<h;if(!k&&!_){v[y]=void 0;continue}if(!k||_&&x.newPos<D.newPos?(b=n(D),s.pushComponent(b.components,void 0,!0)):(b=x,b.newPos++,s.pushComponent(b.components,!0,void 0)),S=s.extractCommon(b,o,a,y),b.newPos+1>=p&&S+1>=h)return d(r(s,b.components,o,a,s.useLongestToken));v[y]=b}m++}if(c(C,"p"),l)c(function y(){setTimeout(function(){if(m>f)return l();C()||y()},0)},"F")();else for(;m<=f;){var E=C();if(E)return E}},"diff"),pushComponent:c(function(a,o,i){var l=a[a.length-1];l&&l.added===o&&l.removed===i?a[a.length-1]={count:l.count+1,added:o,removed:i}:a.push({count:1,added:o,removed:i})},"pushComponent"),extractCommon:c(function(a,o,i,l){for(var s=o.length,d=i.length,p=a.newPos,h=p-l,m=0;p+1<s&&h+1<d&&this.equals(o[p+1],i[h+1]);)p++,h++,m++;return m&&a.components.push({count:m}),a.newPos=p,h},"extractCommon"),equals:c(function(a,o){return
` ,b(y.gutter,j.replace(/ \d /g," "))," ",z,b(y.marker,"^").repeat(O)].join(""),H&&g.message&&(q+=" "+b(y.message,g.message))}return[b(y.marker,">"),b(y.gutter,j),I.length>0? ` $ { I } ` :"",q].join("")}else return ` $ { b ( y . gutter , j ) } $ { I . length > 0 ? ` ${ I } ` : "" } ` }).join( `
` );return g.message&&!_&&( $ = ` $ { " " . repeat ( A + 1 ) } $ { g . message }
$ { $ } ` ),C?E.reset( $ ): $ }c(h,"vn");function m(f,v,g,C={}){if(!l){l=!0;let E="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use ` codeFrameColumns ` .";{let y=new Error(E);y.name="DeprecationWarning",console.warn(new Error(E))}}return g=Math.max(g,0),h(f,{start:{column:g,line:v}},C)}c(m,"Bo")}),bh={},Vl(bh,{__debug:c(()=>eE,"__debug"),check:c(()=>p8,"check"),doc:c(()=>Hh,"doc"),format:c(()=>Gg,"format"),formatWithCursor:c(()=>s2,"formatWithCursor"),getSupportInfo:c(()=>Q8,"getSupportInfo"),util:c(()=>Vh,"util"),version:c(()=>q8,"version")}),_8=c((e,t,r,n)=>{if(!(e&&t==null))return t.replaceAll?t.replaceAll(r,n):r.global?t.replace(r,n):t.split(r).join(n)},"gu"),Ou=_8,EF=Bo(x8(),1),c(RA,"Dr"),c(I1,"Ae"),c(sy,"yt"),c(zA,"ar"),ba="string",Fn="array",ia="cursor",tn="indent",rn="align",Xr="trim",dt="group",zt="fill",xt="if-break",nn="indent-if-break",an="line-suffix",Jr="line-suffix-boundary",Me="line",Er="label",Lt="break-parent",by=new Set([ia,tn,rn,Xr,dt,zt,xt,nn,an,Jr,Me,Er,Lt]),c(l6,"xu"),Ea=l6,xF=c(e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e),"bu"),c(s6,"wu"),A8=(Eh=class extends Error{constructor(t){super(s6(t));Ln(this,"name","InvalidDocError");this.doc=t}},c(Eh,"At"),Eh),uo=A8,Kg={},c(u6,"Ou"),xd=u6,xh=c(()=>{},"lr"),xr=xh,B1=xh,c(ou,"ie"),c(so,"oe"),c(_g,"Bt"),c(c6,"fr"),c(d6,"Fr"),c(p6,"pr"),c(f6,"dr"),c(Ag,"Ge"),c(h6,"mr"),c(m6,"Er"),c(vd,"_e"),F8={type:Jr},ds={type:Lt}, $ 8={type:Xr},f0={type:Me,hard:!0},Ch={type:Me,hard:!0,literal:!0},Yg={type:Me},T8={type:Me,soft:!0},la=[f0,ds],Zg=[Ch,ds],Cd={type:ia},c(Fg,"be"),c( $ g,"qe"),c(g6,"yr"),c(Pr,"J"),c(BA,"Ar"),I8=c((e,t,r)=>{if(!(e&&t==null))return Array.isArray(t)||typeof t=="string"?t[r<0?t.length+r:r]:t.at(r)},"Nu"), $ e=I8,CF=c(()=>/[#*0-9] \u FE0F? \u 20E3|[ \x A9 \x AE \u 203C \u 2049 \u 2122 \u 2139 \u 2194- \u 2199 \u 21A9 \u 21AA \u 231A \u 231B \u 2328 \u 23CF \u 23ED- \u 23EF \u 23F1 \u 23F2 \u 23F8- \u 23FA \u 24C2 \u 25AA \u 25AB \u 25B6 \u 25C0 \u 25FB \u 25FC \u 25FE \u 2600- \u 2604 \u 260E \u 2611 \u 2614 \u 2615 \u 2618 \u 2620 \u 2622 \u 2623 \u 2626 \u 262A \u 262E \u 262F \u 2638- \u 263A \u 2640 \u 2642 \u 2648- \u 2653 \u 265F \u 2660 \u 2663 \u 2665 \u 2666 \u 2668 \u 267B \u 267E \u 267F \u 2692 \u 2694- \u 2697 \u 2699 \u 269B \u 269C \u 26A0 \u 26A7 \u 26AA \u 26B0 \u 26B1 \u 26BD \u 26BE \u 26C4 \u 26C8 \u 26CF \u 26D1 \u 26E9 \u 26F0- \u 26F5 \u 26F7 \u 26F8 \u 26FA \u 2702 \u 2708 \u 2709 \u 270F \u 2712 \u 2714 \u 2716 \u 271D \u 2721 \u 2733 \u 2734 \u 2744 \u 2747 \u 2757 \u 2763 \u 27A1 \u 2934 \u 2935 \u 2B05- \u 2B07 \u 2B1B \u 2B1C \u 2B55 \u 3030 \u 303D \u 3297 \u 3299] \u FE0F?|[ \u 261D \u 270C \u 270D](?: \u FE0F| \u D83C[ \u DFFB- \u DFFF])?|[ \u 270A \u 270B](?: \u D83C[ \u DFFB- \u DFFF])?|[ \u 23E9- \u 23EC \u 23F0 \u 23F3 \u 25FD \u 2693 \u 26A1 \u 26AB \u 26C5 \u 26CE \u 26D4 \u 26EA \u 26FD \u 2705 \u 2728 \u 274C \u 274E \u 2753- \u 2755 \u 2795- \u 2797 \u 27B0 \u 27BF \u 2B50]| \u 26D3 \u FE0F?(?: \u 200D \u D83D \u DCA5)?| \u 26F9(?: \u FE0F| \u D83C[ \u DFFB- \u DFFF])?(?: \u 200D[ \u 2640 \u 2642] \u FE0F?)?| \u 2764 \u FE0F?(?: \u 200D(?: \u D83D \u DD25| \u D83E \u DE79))?| \u D83C(?:[ \u DC04 \u DD70 \u DD71 \u DD7E \u DD7F \u DE02 \u DE37 \u DF21 \u DF24- \u DF2C \u DF36 \u DF7D \u DF96 \u DF97 \u DF99- \u DF9B \u DF9E \u DF9F \u DFCD \u DFCE \u DFD4- \u DFDF \u DFF5 \u DFF7] \u FE0F?|[ \u DF85 \u DFC2 \u DFC7](?: \u D83C[ \u DFFB- \u DFFF])?|[ \u DFC4 \u DFCA](?: \u D83C[ \u DFFB- \u DFFF])?(?: \u 200D[ \u 2640 \u 2642] \u FE0F?)?|[ \u DFCB \u DFCC](?: \u FE0F| \u D83C[ \u DFFB- \u DFFF])?(?: \u 200D[ \u 2640 \u 2642] \u FE0F?)?|[ \u DCCF \u DD8E \u DD91- \u DD9A \u DE01 \u DE1A \u DE2F \u DE32- \u DE36 \u DE38- \u DE3A \u DE50 \u DE51 \u DF00- \u DF20 \u DF2D- \u DF35 \u DF37- \u DF43 \u DF45- \u DF4A \u DF4C- \u DF7C \u DF7E- \u DF84 \u DF86- \u DF93 \u DFA0- \u DFC1 \u DFC5 \u DFC6 \u DFC8 \u DFC9 \u DFCF- \u DFD3 \u DFE0- \u DFF0 \u DFF8- \u DFFF]| \u DDE6 \u D83C[ \u DDE8- \u DDEC \u DDEE \u DDF1 \u DDF2 \u DDF4 \u DDF6- \u DDFA \u DDFC \u DDFD \u DDFF]| \u DDE7 \u D83C[ \u DDE6 \u DDE7 \u DDE9- \u DDEF \u DDF1- \u DDF4 \u DDF6- \u DDF9 \u DDFB \u DDFC \u DDFE \u DDFF]| \u DDE8 \u D83C[ \u DDE6 \u DDE8 \u DDE9 \u DDEB- \u DDEE \u DDF0- \u DDF5 \u DDF7 \u DDFA- \u DDFF]| \u DDE9 \u D83C[ \u DDEA \u DDEC \u DDEF \u DDF0 \u DDF2 \u DDF4 \u DDFF]| \u DDEA \u D83C[ \u DDE6 \u DDE8 \u DDEA \u DDEC \u DDED \u DDF7- \u DDFA]| \u DDEB \u D83C[ \u DDEE- \u DDF0 \u DDF2 \u DDF4 \u DDF7]| \u DDEC \u D83C[ \u DDE6 \u DDE7 \u DDE9- \u DDEE \u DDF1- \u DDF3 \u DDF5- \u DDFA \u DDFC \u DDFE]| \u DDED \u D83C[ \u DDF0 \u DDF2 \u DDF3 \u DDF7 \u DDF9 \u DDFA]| \u DDEE \u D83C[ \u DDE8- \u DDEA \u DDF1- \u DDF4 \u DDF6- \u DDF9]| \u DDEF \u D83C[ \u DDEA \u DDF2 \u DDF4 \u DDF5]| \u
( mixed values within one file are normalised by looking at what 's used after the first line)`}]},filepath:{category:"Special",type:"path",description:"Specify the input filepath. This will be used to do parser inference.",cliName:"stdin-filepath",cliCategory:"Other",cliDescription:"Path to the file to pretend that stdin comes from."},insertPragma:{category:"Special",type:"boolean",default:!1,description:"Insert @format pragma into file' s first docblock comment . ",cliCategory:" Other "},parser:{category:" Global ",type:" choice ",default:void 0,description:" Which parser to use . ",exception:c(e=>typeof e==" string "||typeof e==" function "," exception "),choices:[{value:" flow ",description:" Flow "},{value:" babel ",description:" JavaScript "},{value:" babel - flow ",description:" Flow "},{value:" babel - ts ",description:" TypeScript "},{value:" typescript ",description:" TypeScript "},{value:" acorn ",description:" JavaScript "},{value:" espree ",description:" JavaScript "},{value:" meriyah ",description:" JavaScript "},{value:" css ",description:" CSS "},{value:" less ",description:" Less "},{value:" scss ",description:" SCSS "},{value:" json ",description:" JSON "},{value:" json5 ",description:" JSON5 "},{value:" jsonc ",description:" JSON with Comments "},{value:" json - stringify ",description:" JSON . stringify "},{value:" graphql ",description:" GraphQL "},{value:" markdown ",description:" Markdown "},{value:" mdx ",description:" MDX "},{value:" vue ",description:" Vue "},{value:" yaml ",description:" YAML "},{value:" glimmer ",description:" Ember / Handlebars "},{value:" html ",description:" HTML "},{value:" angular ",description:" Angular "},{value:" lwc ",description:" Lightning Web Components "}]},plugins:{type:" path ",array:!0,default:[{value:[]}],category:" Global ",description:" Add a plugin . Multiple plugins can be passed as separate ` --plugin ` s . ",exception:c(e=>typeof e==" string "||typeof e==" object "," exception "),cliName:" plugin ",cliCategory:" Config "},printWidth:{category:" Global ",type:" int ",default:80,description:" The line length where Prettier will try wrap . ",range:{start:0,end:1/0,step:1}},rangeEnd:{category:" Special ",type:" int " , default : 1 / 0 , range : { start : 0 , end : 1 / 0 , step : 1 } , description : ` Format code ending at a given character offset (exclusive).
The range will extend forwards to the end of the selected statement . ` ,cliCategory:"Editor"},rangeStart:{category:"Special",type:"int",default:0,range:{start:0,end:1/0,step:1},description: ` Format code starting at a given character offset .
The range will extend backwards to the start of the first line containing the selected statement . ` ,cliCategory:"Editor"},requirePragma:{category:"Special",type:"boolean",default:!1,description: ` Require either '@prettier' or '@format' to be present in the file ' s first docblock comment
in order for it to be formatted . ` ,cliCategory:"Other"},tabWidth:{type:"int",category:"Global",default:2,description:"Number of spaces per indentation level.",range:{start:0,end:1/0,step:1}},useTabs:{category:"Global",type:"boolean",default:!1,description:"Indent with tabs instead of spaces."},embeddedLanguageFormatting:{category:"Global",type:"choice",default:"auto",description:"Control how Prettier formats quoted code embedded in the file.",choices:[{value:"auto",description:"Format embedded code if Prettier can automatically identify it."},{value:"off",description:"Never automatically format embedded code."}]}},c(Bg,"ut"),c(eF,"to"),c(tF,"ro"),RF=c(e=>String(e).split(/[/ \\ ]/).pop(),"no"),c(Lg,"Xr"),c(rF,"uo"),c(I6,"oo"),zF=I6,La={key:c(e=>/^[ $ _a-zA-Z][ $ _a-zA-Z0-9]* $ /.test(e)?e:JSON.stringify(e),"key"),value(e){if(e===null||typeof e!="object")return JSON.stringify(e);if(Array.isArray(e))return ` [ $ { e . map ( r => La . value ( r ) ) . join ( ", " ) } ] ` ;let t=Object.keys(e);return t.length===0?"{}": ` { $ { t . map ( r => ` ${ La . key ( r ) } : ${ La . value ( e [ r ] ) } ` ) . join ( ", " ) } } ` },pair:c(({key:e,value:t})=>La.value({[e]:t}),"pair")},Fh=Bo(Ul(),1),B8=c((e,t,{descriptor:r})=>{let n=[ ` $ { Fh . default . yellow ( typeof e == "string" ? r . key ( e ) : r . pair ( e ) ) } is deprecated ` ];return t&&n.push( ` we now treat it as $ { Fh . default . blue ( typeof t == "string" ? r . key ( t ) : r . pair ( t ) ) } ` ),n.join("; ")+"."},"tn"),Ka=Bo(Ul(),1),t2=Symbol.for("vnopts.VALUE_NOT_EXIST"),ql=Symbol.for("vnopts.VALUE_UNCHANGED"),r2=" ".repeat(2),L8=c((e,t,r)=>{let{text:n,list:a}=r.normalizeExpectedResult(r.schemas[e].expected(r)),o=[];return n&&o.push(dh(e,t,n,r.descriptor)),a&&o.push([dh(e,t,a.title,r.descriptor)].concat(a.values.map(i=>Og(i,r.loggerPrintWidth))).join( `
` )),Mg(o,r.loggerPrintWidth)},"un"),c(dh,"nn"),c(Og,"on"),c(Mg,"sn"), $ h=Bo(Ul(),1),g0=[],n2=[],c(R6,"Rt"),a2=c((e,t,{descriptor:r,logger:n,schemas:a})=>{let o=[ ` Ignored unknown option $ { $h . default . yellow ( r . pair ( { key : e , value : t } ) ) } . ` ],i=Object.keys(a).sort().find(l=>R6(e,l)<3);i&&o.push( ` Did you mean $ { $h . default . blue ( r . key ( i ) ) } ? ` ),n.warn(o.join(" "))},"it"),BF=["default","expected","validate","deprecated","forward","redirect","overlap","preprocess","postprocess"],c(z6,"so"),mn=(Th=class{static create(e){return z6(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 ql}},c(Th,"w"),Th),c(nF,"Do"),LF=(Ih=class extends mn{constructor(e){super(e),this._sourceName=e.sourceName}expected(e){return e.schemas[this._sourceName].expected(e)}validate(e,t){return t.schemas[this._sourceName].validate(e,t)}redirect(e,t){return this._sourceName}},c(Ih,"st"),Ih),OF=(Rh=class extends mn{expected(){return"anything"}validate(){return!0}},c(Rh,"Dt"),Rh),MF=(zh=class extends mn{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(ph))}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(ph))}return r.length===0?{redirect:n}:{redirect:n,remain:r}}overlap(e,t){return e.concat(t)}},c(zh,"at"),zh),c(ph,"an"),PF=(Bh=class extends mn{expected(){return"true or false"}validate(e){return typeof e=="boolean"}},c(Bh,"ct"),Bh),c(B6,"ln"),c(L6,"fn"),c(O6,"Fn"),c(M6,"pn"),c(P6,"dn"),c(N6,"mn"),c(j6,"En"),c(fh,"jt"),c(Pg,"Vt"),c(hh," $ t"),c(mh,"Mt"),c(Ng,"cn"),c(d0,"lt"),c(gh,"Wt"),c(aF,"ao"),NF=(Lh=class extends mn{constructor(e){super(e),this._choices=L6(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(N6).map(e.value),r=t.slice(0,-2),n=t.slice(-2);return{text:r.concat(n.join(" or ")).join(", "),list:{title:"one of the following values",values:t}}}validate(e){return this._choices.has(e)}deprecated(e){let t=this._choices.get(e);return t&&t.deprecated?{value:e}:!1}forward(e){let t=this._choices.get(e);return t?t.forward:void 0}redirect(e){let t=this._choices.get(e);return t?t.redirect:void 0}},c(Lh,"ft"),Lh),O8=(Oh=class extends mn{expected(){return"a number"}validate(e,t){return typeof e=="number"}},c(Oh,"Ft"),Oh),jF=(Mh=class extends O8{expected(){return"an integer"}validate(e,t){return t.normalizeValidateResult(super.validate(e,t),e)===!0&&P6(e)}},c(Mh,"pt"),Mh),o2=(Ph=class extends mn{expected(){return"a string"}validate(e){return typeof e=="string"}},c(Ph,"Ye"),Ph),M8=La,P8=a2,N8=L8,j8=B8,HF=(Nh=class{constructor(e,t){let{logger:r=console,loggerPrintWidth:n=80,descriptor:a=M8,unknown:o=P8,invalid:i=N8,deprecated:l=j8,missing:s=c(()=>!1,"a"),required:d=c(()=>!1,"c"),preprocess:p=c(m=>m,"d"),postprocess:h=c(()=>ql,"f")}=t||{};this._utils={descriptor:a,logger:r||{warn:c(()=>{},"warn")},loggerPrintWidth:n,schemas:B6(e,"name"),normalizeDefaultResult:fh,normalizeExpectedResult:Pg,normalizeDeprecatedResult:mh,normalizeForwardResult:d0,normalizeRedirectResult:gh,normalizeValidateResult:hh},this._unknownHandler=o,this._i
[ ] { ` +Math.min.apply(Math,a)+"}","g");n=n.map(function(l){return l.replace(o, `
` )})}n[0]=n[0].replace(/^ \r ? \n /,"");var i=n[0];return t.forEach(function(l,s){var d=i.match(/(?:^| \n )( *) $ /),p=d?d[1]:"",h=l;typeof l=="string"&&l.includes( `
` )&&(h=String(l).split( `
` ).map(function(m,f){return f===0?m:""+p+m}).join( `
` )),i+=h+n[s+1]}),i}var xN=R(()=>{c(XF,"dedent")}),JF={};al(JF,{formatter:()=>QF});var tE,QF,CN=R(()=>{tE=qe(m1(),1),bN(),EN(),xN(),QF=(0,tE.default)(2)(async(e,t)=>e===!1?t:e==="dedent"||e===!0?XF(t):(await ZF.format(t,{parser:e,plugins:[IA],htmlWhitespaceSensitivity:"ignore"})).trim())}),u2,c2,DN=R(()=>{u2=c(function(e){return e.reduce(function(t,r){var n=r[0],a=r[1];return t[n]=a,t},{})},"fromEntries"),c2=typeof window<"u"&&window.document&&window.document.createElement?u.useLayoutEffect:u.useEffect}),ut,Pt,Nt,ct, $ d,wi,Qa,bi,e $ ,ky,qo,t $ ,d2,_y,rE,nE,aE,oE,iE,lE,sE,uE,cE,r $ ,Qt=R(()=>{ut="top",Pt="bottom",Nt="right",ct="left", $ d="auto",wi=[ut,Pt,Nt,ct],Qa="start",bi="end",e $ ="clippingParents",ky="viewport",qo="popper",t $ ="reference",d2=wi.reduce(function(e,t){return e.concat([t+"-"+Qa,t+"-"+bi])},[]),_y=[].concat(wi,[ $ d]).reduce(function(e,t){return e.concat([t,t+"-"+Qa,t+"-"+bi])},[]),rE="beforeRead",nE="read",aE="afterRead",oE="beforeMain",iE="main",lE="afterMain",sE="beforeWrite",uE="write",cE="afterWrite",r $ =[rE,nE,aE,oE,iE,lE,sE,uE,cE]});function Cr(e){return e?(e.nodeName||"").toLowerCase():null}var bo=R(()=>{c(Cr,"getNodeName")});function Dt(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}var sn=R(()=>{c(Dt,"getWindow")});function ga(e){var t=Dt(e).Element;return e instanceof t||e instanceof Element}function Ot(e){var t=Dt(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function M1(e){if(typeof ShadowRoot>"u")return!1;var t=Dt(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var er=R(()=>{sn(),c(ga,"isElement"),c(Ot,"isHTMLElement"),c(M1,"isShadowRoot")});function dE(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];!Ot(o)||!Cr(o)||(Object.assign(o.style,n),Object.keys(a).forEach(function(i){var l=a[i];l===!1?o.removeAttribute(i):o.setAttribute(i,l===!0?"":l)}))})}function pE(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]),l=i.reduce(function(s,d){return s[d]="",s},{});!Ot(a)||!Cr(a)||(Object.assign(a.style,l),Object.keys(o).forEach(function(s){a.removeAttribute(s)}))})}}var n $ ,SN=R(()=>{bo(),er(),c(dE,"applyStyles"),c(pE,"effect"),n $ ={name:"applyStyles",enabled:!0,phase:"write",fn:dE,effect:pE,requires:["computeStyles"]}});function yr(e){return e.split("-")[0]}var Eo=R(()=>{c(yr,"getBasePlacement")}),sa,su,co,xo=R(()=>{sa=Math.max,su=Math.min,co=Math.round});function Td(){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 a $ =R(()=>{c(Td,"getUAString")});function Ay(){return!/^((?!chrome|android).)*safari/i.test(Td())}var o $ =R(()=>{a $ (),c(Ay,"isLayoutViewport")});function po(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),a=1,o=1;t&&Ot(e)&&(a=e.offsetWidth>0&&co(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&co(n.height)/e.offsetHeight||1);var i=ga(e)?Dt(e):window,l=i.visualViewport,s=!Ay()&&r,d=(n.left+(s&&l?l.offsetLeft:0))/a,p=(n.top+(s&&l?l.offsetTop:0))/o,h=n.width/a,m=n.height/o;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}var Pu=R(()=>{er(),xo(),sn(),o $ (),c(po,"getBoundingClientRect")});function P1(e){var t=po(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 Fy=R(()=>{Pu(),c(P1,"getLayoutRect")});function $ y(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&M1(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}var i $ =R(()=>{er(),c(
drop - shadow ( 0 px 5 px 5 px rgba ( 0 , 0 , 0 , 0.05 ) )
drop - shadow ( 0 1 px 3 px rgba ( 0 , 0 , 0 , 0.1 ) )
` ,borderRadius:e.appBorderRadius,fontSize:e.typography.size.s1}:{}),C2=w.forwardRef(({placement:e="top",hasChrome:t=!0,children:r,arrowProps:n={},tooltipRef:a,color:o,withArrows:i,...l},s)=>w.createElement(_E,{"data-testid":"tooltip",hasChrome:t,ref:s,...l,color:o},t&&i&&w.createElement(kE,{placement:e,...n,color:o}),r)),C2.displayName="Tooltip"}),jy={};al(jy,{WithToolTipState:()=>Rd,WithTooltip:()=>Rd,WithTooltipPure:()=>D2});var Gl,AE,FE,D2,Rd,Hy=R(()=>{mv(),tj(),rj(),{document:Gl}=h1,AE=F.div `
display : inline - block ;
cursor : $ { e => e . trigger === "hover" || e . trigger . includes ( "hover" ) ? "default" : "pointer" } ;
` ,FE=F.g `
cursor : $ { e => e . trigger === "hover" || e . trigger . includes ( "hover" ) ? "default" : "pointer" } ;
` ,D2=c(({svg:e=!1,trigger:t="click",closeOnOutsideClick:r=!1,placement:n="top",modifiers:a=[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:o=!0,defaultVisible:i=!1,withArrows:l,offset:s,tooltip:d,children:p,closeOnTriggerHidden:h,mutationObserverOptions:m,delayHide:f,visible:v,interactive:g,delayShow:C,strategy:E,followCursor:y,onVisibleChange:b,...x})=>{let D=e?FE:AE,{getArrowProps:S,getTooltipProps:k,setTooltipRef:_,setTriggerRef:A,visible: $ ,state:I}=J $ ({trigger:t,placement:n,defaultVisible:i,delayHide:f,interactive:g,closeOnOutsideClick:r,closeOnTriggerHidden:h,onVisibleChange:b,delayShow:C,followCursor:y,mutationObserverOptions:m,visible:v,offset:s},{modifiers:a,strategy:E}),L=w.createElement(C2,{placement:I==null?void 0:I.placement,ref:_,hasChrome:o,arrowProps:S(),withArrows:l,...k()},typeof d=="function"?d({onHide:c(()=>b(!1),"onHide")}):d);return w.createElement(w.Fragment,null,w.createElement(D,{trigger:t,ref:A,...x},p), $ &&CS.createPortal(L,Gl.body))},"WithTooltipPure"),Rd=c(({startOpen:e=!1,onVisibleChange:t,...r})=>{let[n,a]=u.useState(e),o=u.useCallback(i=>{t&&t(i)===!1||a(i)},[t]);return u.useEffect(()=>{let i=c(()=>o(!1),"hide");Gl.addEventListener("keydown",i,!1);let l=Array.from(Gl.getElementsByTagName("iframe")),s=[];return l.forEach(d=>{let p=c(()=>{try{d.contentWindow.document&&(d.contentWindow.document.addEventListener("click",i),s.push(()=>{try{d.contentWindow.document.removeEventListener("click",i)}catch{}}))}catch{}},"bind");p(),d.addEventListener("load",p),s.push(()=>{d.removeEventListener("load",p)})}),()=>{Gl.removeEventListener("keydown",i),s.forEach(d=>{d()})}}),w.createElement(D2,{...r,visible:n,onVisibleChange:o})},"WithToolTipState")}),ve=c(({...e},t)=>{let r=[e.class,e.className];return delete e.class,e.className=["sbdocs", ` sbdocs - $ { t } ` ,...r].filter(Boolean).join(" "),e},"nameSpaceClassNames");Sr();cP();hv();function tT(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Pi(e,t)}c(tT,"_inheritsLoose");dP();hv();function rT(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}c(rT,"_isNativeFunction");hv();function Vy(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(Vy=c(function(){return!!e},"_isNativeReflectConstruct"))()}c(Vy,"_isNativeReflectConstruct");function nT(e,t,r){if(Vy())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&Pi(a,r.prototype),a}c(nT,"_construct");function zd(e){var t=typeof Map=="function"?new Map:void 0;return zd=c(function(r){if(r===null||!rT(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(r))return t.get(r);t.set(r,n)}function n(){return nT(r,arguments,nd(this).constructor)}return c(n,"Wrapper"),n.prototype=Object.create(r.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),Pi(n,r)},"_wrapNativeSuper"),zd(e)}c(zd,"_wrapNativeSuper");var nj={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 aT(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],a=[],o;for(o=1;o<t.length;o+=1)a.push(t[o]);return a.forEach(function(i){n=n.replace(/%[a-z]/,i)}),n}c(aT,"format");var Gr=function(e){tT(t,e);function t(r){for(var n,a=arguments.length,o=new Array(a>1?a-1:0),i=1;i<a;i++)o[i-1]=arguments[i];return n=e.call(this,aT.apply(void 0,[nj[r]].concat(o)))||this,DS(n)}return c(t,"PolishedError"),t}(zd(Error));function v0(e){return Math.round(e*255)}c(v0,"colorToInt");function oT(e,t,r){return v0(e)+","+v0(t)+","+v0(r)}c(oT,"convertToInt");function qi(e,t,r,n){if(n===void 0&&(n=oT),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),l=0,s=0,d=0;a>=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,d=i):a>=3&&a<4?(s=i,d=o):a>=4&&a<5?(l=i,d=o):a>=5&&a<6&&(l=o,d=i);var p=r-o/2,h=l+p,m=s+p,f=d+p;return n(h,m,f)}c(qi,"hslToRgb");var $ E={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 iT(e){if(typeof e!="string")return e;var t=e.toLowerCase();return $ E[t]?"#"+ $ E[t]:e}c(iT,"nameToHex");var aj=/^#[a-fA-F0-9]{6} $ /,oj=/^#[a-fA-F0-9]{8} $ /,ij=/^#[a-fA-F0-9]{3} $ /,lj=/^#[a-fA-F0-9]{4} $ /,Uh=/^rgb \( \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s * \) $ /i,sj=/^rgb(?:a)? \( \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,)? \s *( \d {1,3}) \s *(?:,| \/ ) \s *([-+]? \d *[.]? \d +[%]?) \s * \) $ /i
. ` .concat(mq, ` {
overflow : hidden ` ).concat(n, ` ;
padding - right : ` ).concat(l,"px ").concat(n, ` ;
}
body [ ` ).concat(Ld, ` ] {
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(l,"px ").concat(n, ` ;
` ),r==="padding"&&"padding-right: ".concat(l,"px ").concat(n,";")].filter(Boolean).join(""), `
}
. ` ).concat(b0, ` {
right : ` ).concat(l,"px ").concat(n, ` ;
}
. ` ).concat(E0, ` {
margin - right : ` ).concat(l,"px ").concat(n, ` ;
}
. ` ).concat(b0," .").concat(b0, ` {
right : 0 ` ).concat(n, ` ;
}
. ` ).concat(E0," .").concat(E0, ` {
margin - right : 0 ` ).concat(n, ` ;
}
body [ ` ).concat(Ld, ` ] {
` ).concat(gq,": ").concat(l, ` px ;
}
` )},"getStyles"),Sq=c(function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=n===void 0?"margin":n,o=u.useMemo(function(){return xq(a)},[a]);return u.useEffect(function(){return document.body.setAttribute(Ld,""),function(){document.body.removeAttribute(Ld)}},[]),u.createElement(Cq,{styles:Dq(o,!t,a,r?"":"!important")})},"RemoveScrollBar"),T2=!1;if(typeof window<"u")try{Kl=Object.defineProperty({},"passive",{get:c(function(){return T2=!0,!0},"get")}),window.addEventListener("test",Kl,Kl),window.removeEventListener("test",Kl,Kl)}catch{T2=!1}var Kl,Oo=T2?{passive:!1}:!1,kq=c(function(e){return e.tagName==="TEXTAREA"},"alwaysContainsScroll"),KT=c(function(e,t){var r=window.getComputedStyle(e);return r[t]!=="hidden"&&!(r.overflowY===r.overflowX&&!kq(e)&&r[t]==="visible")},"elementCanBeScrolled"),_q=c(function(e){return KT(e,"overflowY")},"elementCouldBeVScrolled"),Aq=c(function(e){return KT(e,"overflowX")},"elementCouldBeHScrolled"),LE=c(function(e,t){var r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var n=YT(e,r);if(n){var a=ZT(e,r),o=a[1],i=a[2];if(o>i)return!0}r=r.parentNode}while(r&&r!==document.body);return!1},"locationCouldBeScrolled"),Fq=c(function(e){var t=e.scrollTop,r=e.scrollHeight,n=e.clientHeight;return[t,r,n]},"getVScrollVariables"), $ q=c(function(e){var t=e.scrollLeft,r=e.scrollWidth,n=e.clientWidth;return[t,r,n]},"getHScrollVariables"),YT=c(function(e,t){return e==="v"?_q(t):Aq(t)},"elementCouldBeScrolled"),ZT=c(function(e,t){return e==="v"?Fq(t): $ q(t)},"getScrollVariables"),Tq=c(function(e,t){return e==="h"&&t==="rtl"?-1:1},"getDirectionFactor"),Iq=c(function(e,t,r,n,a){var o=Tq(e,window.getComputedStyle(t).direction),i=o*n,l=r.target,s=t.contains(l),d=!1,p=i>0,h=0,m=0;do{var f=ZT(e,l),v=f[0],g=f[1],C=f[2],E=g-C-o*v;(v||E)&&YT(e,l)&&(h+=E,m+=v),l=l.parentNode}while(!s&&l!==document.body||s&&(t.contains(l)||t===l));return(p&&(a&&h===0||!a&&i>h)||!p&&(a&&m===0||!a&&-i>m))&&(d=!0),d},"handleScroll"),Bc=c(function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},"getTouchXY"),OE=c(function(e){return[e.deltaX,e.deltaY]},"getDeltaXY"),ME=c(function(e){return e&&"current"in e?e.current:e},"extractRef"),Rq=c(function(e,t){return e[0]===t[0]&&e[1]===t[1]},"deltaCompare"),zq=c(function(e){return `
. block - interactivity - ` .concat(e, ` { pointer - events : none ; }
. allow - interactivity - ` ).concat(e, ` { pointer - events : all ; }
` )},"generateStyle"),Bq=0,Mo=[];function XT(e){var t=u.useRef([]),r=u.useRef([0,0]),n=u.useRef(),a=u.useState(Bq++)[0],o=u.useState(function(){return GT()})[0],i=u.useRef(e);u.useEffect(function(){i.current=e},[e]),u.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var g=BT([e.lockRef.current],(e.shards||[]).map(ME),!0).filter(Boolean);return g.forEach(function(C){return C.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),g.forEach(function(C){return C.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=u.useCallback(function(g,C){if("touches"in g&&g.touches.length===2)return!i.current.allowPinchZoom;var E=Bc(g),y=r.current,b="deltaX"in g?g.deltaX:y[0]-E[0],x="deltaY"in g?g.deltaY:y[1]-E[1],D,S=g.target,k=Math.abs(b)>Math.abs(x)?"h":"v";if("touches"in g&&k==="h"&&S.type==="range")return!1;var _=LE(k,S);if(!_)return!0;if(_?D=k:(D=k==="v"?"h":"v",_=LE(k,S)),!_)return!1;if(!n.current&&"changedTouches"in g&&(b||x)&&(n.current=D),!D)return!0;var A=n.current||D;return Iq(A,C,g,A==="h"?b:x,!0)},[]),s=u.useCallback(function(g){var C=g;if(!(!Mo.length||Mo[Mo.length-1]!==o)){var E="deltaY"in C?OE(C):Bc(C),y=t.current.filter(function(D){return D.name===C.type&&D.target===C.target&&Rq(D.delta,E)})[0];if(y&&y.should){C.cancelable&&C.preventDefault();return}if(!y){var b=(i.current.shards||[]).map(ME).filter(Boolean).filter(function(D){return D.contains(C.target)}),x=b.length>0?l(C,b[0]):!i.current.noIsolation;x&&C.cancelable&&C.preventDefault()}}},[]),d=u.useCallback(function(g,C,E,y){var b={name:g,delta:C,target:E,should:y};t.current.push(b),setTimeout(function(){t.current=t.current.filter(function(x){return x!==b})},1)},[]),p=u.useCallback(function(g){r.current=Bc(g),n.current=void 0},[]),h=u.useCallback(function(g){d(g.type,OE(g),g.target,l(g,e.lockRef.current))},[]),m=u.useCallback(function(g){d(g.type,Bc(g),g.target,l(g,e.lockRef.current))},[]);u.useEffect(function(){return Mo.push(o),e.setCallbacks({onScrollCapture:h,onWheelCapture:h,onTouchMoveCapture:m}),document.addEventListener("wheel",s,Oo),document.addEventListener("touchmove",s,Oo),document.addEventListener("touchstart",p,Oo),function(){Mo=Mo.filter(function(g){return g!==o}),document.removeEventListener("wheel",s,Oo),document.removeEventListener("touchmove",s,Oo),document.removeEventListener("touchstart",p,Oo)}},[]);var f=e.removeScrollBar,v=e.inert;return u.createElement(u.Fragment,null,v?u.createElement(o,{styles:zq(a)}):null,f?u.createElement(Sq,{gapMode:"margin"}):null)}c(XT,"RemoveScrollSideCar");var Lq=HT(VT,XT),JT=u.forwardRef(function(e,t){return u.createElement(Y1,Ur({},e,{ref:t,sideCar:Lq}))});JT.classNames=Y1.classNames;var Oq=JT,Mq=c(function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},"getDefaultParent"),Po=new WeakMap,Lc=new WeakMap,Oc={},Zh=0,QT=c(function(e){return e&&(e.host||QT(e.parentNode))},"unwrapHost"),Pq=c(function(e,t){return t.map(function(r){if(e.contains(r))return r;var n=QT(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"),Nq=c(function(e,t,r,n){var a=Pq(t,Array.isArray(e)?e:[e]);Oc[r]||(Oc[r]=new WeakMap);var o=Oc[r],i=[],l=new Set,s=new Set(a),d=c(function(h){!h||l.has(h)||(l.add(h),d(h.parentNode))},"keep");a.forEach(d);var p=c(function(h){!h||s.has(h)||Array.prototype.forEach.call(h.children,function(m){if(l.has(m))p(m);else{var f=m.getAttribute(n),v=f!==null&&f!=="false",g=(Po.get(m)||0)+1,C=(o.get(m)||0)+1;Po.set(m,g),o.set(m,C),i.push(m),g===1&&v&&Lc.set(m,!0),C===1&&m.setAttribute(r,"true"),v||m.setAttribute(n,"true")}})},"deep");return p(t),l.clear(),Zh++,function(){i.forEach(function(h){var m=Po.get(h)-1,f=o.get(h)-1;Po.set(h,m),o.set(h,f),m||(Lc.has(h)||h.removeAttribute(n),Lc.delete(h)),f||h.removeAttribute(r)}),Zh--,Zh||(Po=new WeakMap,Po=new WeakMap,Lc=new WeakMap,Oc={})}},"applyAttributeToOthers
$ { t } ` );let r=t.match(EG);if(!r)return w.createElement(u.Fragment,null,t);let[,n,a]=r,o=t.split(/ \n /).slice(1),[,...i]=o.map(l=>{let s=l.match(xG)||l.match(CG)||l.match(DG);return s?{name:(s[1]||"").replace("/<",""),location:s[2].replace(yG.location.origin,"")}:null}).filter(Boolean);return w.createElement(u.Fragment,null,w.createElement("span",null,n),": ",w.createElement(wG,null,a),w.createElement("br",null),i.map((l,s)=>l!=null&&l.name?w.createElement(u.Fragment,{key:s}," ","at ",w.createElement(bG,null,l.name)," (",w.createElement(PE,null,l.location),")",w.createElement("br",null)):w.createElement(u.Fragment,{key:s}," ","at ",w.createElement(PE,null,l==null?void 0:l.location),w.createElement("br",null))))},"ErrorFormatter"),kG=F.label(({theme:e})=>({display:"flex",borderBottom: ` 1 px solid $ { e . appBorderColor } ` ,margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}})),_G=F.span(({theme:e})=>({minWidth:100,fontWeight:e.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"})),AG=c(({label:e,children:t,...r})=>w.createElement(kG,{...r},e?w.createElement(_G,null,w.createElement("span",null,e)):null,t),"Field");Sr();gv();var FG=u.useLayoutEffect, $ G=FG,TG=c(function(e){var t=u.useRef(e);return $ G(function(){t.current=e}),t},"useLatest"),NE=c(function(e,t){if(typeof e=="function"){e(t);return}e.current=t},"updateRef"),IG=c(function(e,t){var r=u.useRef();return u.useCallback(function(n){e.current=n,r.current&&NE(r.current,null),r.current=t,t&&NE(t,n)},[t])},"useComposedRef"),RG=IG,jE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},zG=c(function(e){Object.keys(jE).forEach(function(t){e.style.setProperty(t,jE[t],"important")})},"forceHiddenStyles"),HE=zG,at=null,VE=c(function(e,t){var r=e.scrollHeight;return t.sizingStyle.boxSizing==="border-box"?r+t.borderSize:r-t.paddingSize},"getHeight");function RI(e,t,r,n){r===void 0&&(r=1),n===void 0&&(n=1/0),at||(at=document.createElement("textarea"),at.setAttribute("tabindex","-1"),at.setAttribute("aria-hidden","true"),HE(at)),at.parentNode===null&&document.body.appendChild(at);var a=e.paddingSize,o=e.borderSize,i=e.sizingStyle,l=i.boxSizing;Object.keys(i).forEach(function(m){var f=m;at.style[f]=i[f]}),HE(at),at.value=t;var s=VE(at,e);at.value=t,s=VE(at,e),at.value="x";var d=at.scrollHeight-a,p=d*r;l==="border-box"&&(p=p+a+o),s=Math.max(p,s);var h=d*n;return l==="border-box"&&(h=h+a+o),s=Math.min(h,s),[s,d]}c(RI,"calculateNodeHeight");var UE=c(function(){},"noop"),BG=c(function(e,t){return e.reduce(function(r,n){return r[n]=t[n],r},{})},"pick"),LG=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width","wordBreak"],OG=!!document.documentElement.currentStyle,MG=c(function(e){var t=window.getComputedStyle(e);if(t===null)return null;var r=BG(LG,t),n=r.boxSizing;if(n==="")return null;OG&&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"),PG=MG;function Qy(e,t,r){var n=TG(r);u.useLayoutEffect(function(){var a=c(function(o){return n.current(o)},"handler");if(e)return e.addEventListener(t,a),function(){return e.removeEventListener(t,a)}},[])}c(Qy,"useListener");var NG=c(function(e){Qy(window,"resize",e)},"useWindowResizeListener"),jG=c(function(e){Qy(document.fonts,"loadingdone",e)},"useFontsLoadedListener"),HG=["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"],VG=c(function(e,t){var r=e.cacheMeasurements,n=e.maxRows,a=e.minRows,o=e.onChange,i=o===void 0?UE:o,l=e.onHeightChange,
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 PI(e){let t=u.useRef(),r=u.useRef(),n=u.useRef(new Map),{width:a=1}=Jy({ref:t}),[o,i]=u.useState(e),[l,s]=u.useState([]),d=u.useRef(e),p=u.useCallback(({menuName:m,actions:f})=>{let v=l.some(({active:E})=>E),[g,C]=u.useState(!1);return w.createElement(w.Fragment,null,w.createElement(Rd,{interactive:!0,visible:g,onVisibleChange:C,placement:"bottom",delayHide:100,tooltip:w.createElement(gK,{links:l.map(({title:E,id:y,color:b,active:x})=>({id:y,title:E,color:b,active:x,onClick:c(D=>{D.preventDefault(),f.onSelect(y)},"onClick")}))})},w.createElement(SK,{ref:r,active:v,preActive:g,style:{visibility:l.length?"visible":"hidden"},"aria-hidden":!l.length,className:"tabbutton",type:"button",role:"tab"},m,w.createElement(DK,{className:"addon-collapsible-icon",isActive:v||g}))),l.map(({title:E,id:y,color:b},x)=>{let D= ` index - $ { x } ` ;return w.createElement(X1,{id: ` tabbutton - $ { mC ( y ) ? ? D } ` ,style:{visibility:"hidden"},"aria-hidden":!0,tabIndex:-1,ref:S=>{n.current.set(y,S)},className:"tabbutton",type:"button",key:y,textColor:b,role:"tab"},E)}))},[l]),h=u.useCallback(()=>{if(!t.current||!r.current)return;let{x:m,width:f}=t.current.getBoundingClientRect(),{width:v}=r.current.getBoundingClientRect(),g=l.length?m+f-v:m+f,C=[],E=0,y=e.filter(b=>{let{id:x}=b,D=n.current.get(x),{width:S=0}=(D==null?void 0:D.getBoundingClientRect())||{},k=m+E+S>g;return(!k||!D)&&C.push(b),E+=S,k});(C.length!==o.length||d.current!==e)&&(i(C),s(y),d.current=e)},[l.length,e,o]);return u.useLayoutEffect(h,[h,a]),{tabRefs:n,addonsRef:r,tabBarRef:t,visibleList:o,invisibleList:l,AddonTab:p}}c(PI,"useList");var kK=F.div(({theme:e})=>({height:"100%",display:"flex",padding:30,alignItems:"center",justifyContent:"center",flexDirection:"column",gap:15,background:e.background.content})),_K=F.div({display:"flex",flexDirection:"column",gap:4,maxWidth:415}),AK=F.div(({theme:e})=>({fontWeight:e.typography.weight.bold,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textColor})),FK=F.div(({theme:e})=>({fontWeight:e.typography.weight.regular,fontSize:e.typography.size.s2-1,textAlign:"center",color:e.textMutedColor})),NI=c(({title:e,description:t,footer:r})=>w.createElement(kK,null,w.createElement(_K,null,w.createElement(AK,null,e),t&&w.createElement(FK,null,t)),r),"EmptyTabContent"), $ K="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */",TK=F.div(({theme:e,bordered:t})=>t?{backgroundClip:"padding-box",border: ` 1 px 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"}),jI=F.div({overflow:"hidden","&:first-of-type":{marginLeft:-3},whiteSpace:"nowrap",flexGrow:1});jI.displayName="TabBar";var IK=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$ { $K } ` ]:{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"}}:{}),Pfe=c(({active:e,render:t,children:r})=>w.createElement(MI,{active:e},t?t():r),"TabWrapper"),HI=u.memo(({children:e,selected:t=null,actions:r,absolute:n=!1,bordered:a=!1,tools:o=null,backgroundColor:i,id:l=null,menuName:s="Tabs",emptyState:d,showToolsWhenEmpty:p})=>{let h=u.useMemo(()=>CK(e).map((E,y)=>({...E,active:t?E.id===t:y===0})),[e,t]),{visibleList:m,tabBarRef:f,tabRefs:v,AddonTab:g}=PI(h),C=d??w.createElement(NI,{title:"Nothing found"});return!p&&h.length===0?C:w.createElement(TK,{absolute:n,bordered:a,id:l},w.createElement(n4,{scrollable:!1,border:!0,backgroundColor:i},w.createElement(jI,{style:{whiteSpace:"normal"},ref:f,role:"tablist"},m.map(({title:E,id:y,active:b,color:x},D)=>{le
display : inline - block ;
shape - rendering : inherit ;
vertical - align : middle ;
fill : currentColor ;
path {
fill : currentColor ;
}
` ,Vfe=c(({icon:e,useSymbol:t,__suppressDeprecationWarning:r=!1,...n})=>{r||LK( ` 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=L2[e]||null;if(!a)return OK.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=MK[a];return w.createElement(o,{...n})},"Icons"),Ufe=u.memo(c(function({icons:e=Object.keys(L2)}){return w.createElement(PK,{viewBox:"0 0 14 14",style:{position:"absolute",width:0,height:0},"data-chromatic":"ignore"},e.map(t=>w.createElement("symbol",{id:`icon--${t}`,key:t},L2[t])))},"Symbols")),L2={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:"Pa
from {
transform : rotate ( 0 deg ) ;
}
to {
transform : rotate ( 360 deg ) ;
}
` ,jK=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: ` $ { NK } 0.7 s linear infinite ` ,mixBlendMode:"difference"})),WE=F.div({position:"absolute",display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"}),HK=F.div(({theme:e})=>({position:"relative",width:"80%",marginBottom:"0.75rem",maxWidth:300,height:5,borderRadius:5,background:Kt(.8,e.color.secondary),overflow:"hidden",cursor:"progress"})),VK=F.div(({theme:e})=>({position:"absolute",top:0,left:0,height:"100%",background:e.color.secondary})),qE=F.div(({theme:e})=>({minHeight:"2em",fontSize: ` $ { e . typography . size . s1 } px ` ,color:e.barTextColor})),UK=F(wT)(({theme:e})=>({width:20,height:20,marginBottom:"0.5rem",color:e.textMutedColor})),WK=Tn `
from { content : "..." }
33 % { content : "." }
66 % { content : ".." }
to { content : "..." }
` ,qK=F.span({"&::after":{content:"'...'",animation: ` $ { WK } 1 s linear infinite ` ,animationDelay:"1s",display:"inline-block",width:"1em",height:"auto"}}),GK=c(({progress:e,error:t,size:r,...n})=>{if(t)return w.createElement(WE,{"aria-label":t.toString(),"aria-live":"polite",role:"status",...n},w.createElement(UK,null),w.createElement(qE,null,t.message));if(e){let{value:a,modules:o}=e,{message:i}=e;return o&&(i+= ` $ { o . complete } / $ { o . total } modules ` ),w.createElement(WE,{"aria-label":"Content is loading...","aria-live":"polite","aria-valuemin":0,"aria-valuemax":100,"aria-valuenow":a*100,"aria-valuetext":i,role:"progressbar",...n},w.createElement(HK,null,w.createElement(VK,{style:{width: ` $ { a * 100 } % ` }})),w.createElement(qE,null,i,a<1&&w.createElement(qK,{key:i})))}return w.createElement(jK,{"aria-label":"Content is loading...","aria-live":"polite",role:"status",size:r,...n})},"Loader");function UI(e){let t={},r=e.split("&");for(let n=0;n<r.length;n++){let a=r[n].split("=");t[decodeURIComponent(a[0])]=decodeURIComponent(a[1]||"")}return t}c(UI,"parseQuery");var KK=c((e,t,r={})=>{let[n,a]=e.split("?"),o=a?{...UI(a),...r,id:t}:{...r,id:t};return ` $ { n } ? $ { Object . entries ( o ) . map ( i => ` ${ i [ 0 ] } = ${ i [ 1 ] } ` ) . join ( "&" ) } ` },"getStoryHref"),YK=F.pre `
line - height : 18 px ;
padding : 11 px 1 rem ;
white - space : pre - wrap ;
background : rgba ( 0 , 0 , 0 , 0.05 ) ;
color : $ { G . darkest } ;
border - radius : 3 px ;
margin : 1 rem 0 ;
width : 100 % ;
display : block ;
overflow : hidden ;
font - family : $ { qr . fonts . mono } ;
font - size : $ { qr . size . s2 - 1 } px ;
` ,Gfe=c(({code:e,...t})=>w.createElement(YK,{id:"clipboard-code",...t},e),"ClipboardCode"),ZK=vT,XK={};Object.keys(vT).forEach(e=>{XK[e]=u.forwardRef((t,r)=>u.createElement(e,{...t,ref:r}))});function St(){return St=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},St.apply(this,arguments)}function JK(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function du(e,t){return du=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(n,a){return n.__proto__=a,n},du(e,t)}function QK(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,du(e,t)}function O2(e){return O2=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(r){return r.__proto__||Object.getPrototypeOf(r)},O2(e)}function eY(e){try{return Function.toString.call(e).indexOf("[native code]")!==-1}catch{return typeof e=="function"}}function WI(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(WI=function(){return!!e})()}function tY(e,t,r){if(WI())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&du(a,r.prototype),a}function M2(e){var t=typeof Map=="function"?new Map:void 0;return M2=function(n){if(n===null||!eY(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t<"u"){if(t.has(n))return t.get(n);t.set(n,a)}function a(){return tY(n,arguments,O2(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),du(a,n)},M2(e)}var Kr=function(e){QK(t,e);function t(r){var n;return n=e.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+r+" for more information.")||this,JK(n)}return t}(M2(Error));function Xh(e){return Math.round(e*255)}function rY(e,t,r){return Xh(e)+","+Xh(t)+","+Xh(r)}function pu(e,t,r,n){if(n===void 0&&(n=rY),t===0)return n(r,r,r);var a=(e%360+360)%360/60,o=(1-Math.abs(2*r-1))*t,i=o*(1-Math.abs(a%2-1)),l=0,s=0,d=0;a>=0&&a<1?(l=o,s=i):a>=1&&a<2?(l=i,s=o):a>=2&&a<3?(s=o,d=i):a>=3&&a<4?(s=i,d=o):a>=4&&a<5?(l=i,d=o):a>=5&&a<6&&(l=o,d=i);var p=r-o/2,h=l+p,m=s+p,f=d+p;return n(h,m,f)}var GE={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:"66cda
` ).match(a);let h=!1;return{items:p.map(function(m,f){const v=o.exec(m)[0].length,g=new RegExp("^ {1,"+v+"}","gm"),C=m.replace(g,"").replace(o,""),E=f===p.length-1,y=C.indexOf( `
` )!==-1||E&&h;h=y;const b=s.inline,x=s.list;let D;s.list=!0,y?(s.inline=!1,D=C.replace(Fx, `
` )):(s.inline=!0,D=C.replace(Fx,""));const S=l(D,s);return s.inline=b,s.list=x,S}),ordered:r,start:d}},render:(i,l,s)=>e(i.ordered?"ol":"ul",{key:s.key,start:i.type==="20"?i.start:void 0},i.items.map(function(d,p){return e("li",{key:p},l(d,s))}))}}const Noe=new RegExp( ` ^ \ \ [ ( ( ? : \ \ [ [ ^ \ \ ] ] * \ \ ] | [ ^ \ \ [ \ \ ] ] | \ \ ] ( ? = [ ^ \ \ [ ] * \ \ ] ) ) * ) \ \ ] \ \ ( \ \ s * < ? ( ( ? : \ \ ( [ ^ ) ] * \ \ ) | [ ^ \ \ s \ \ \ \ ] | \ \ \ \ . ) * ? ) > ? ( ? : \ \ s + [ '"]([\\s\\S]*?)[' "])?\\s*\\)`),joe=/^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *" ? ( [ ^ ) "]*)?" ? \ ) / , UR = [ kR , _R , AR , FR , TR , $R , IR , RR , PR , HR , NR , VR ] , Hoe = [ ... UR , /^[^\n]+(?: \n|\n{2,})/ , G2 , K2 ] ; function Voe ( 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 Uoe ( e ) { return _oe . test ( e ) ? "right" : Soe . test ( e ) ? "center" : koe . test ( e ) ? "left" : null } function Tx ( e , t , r , n ) { const a = r . inTable ; r . inTable = ! 0 ; let o = e . trim ( ) . split ( /( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/ ) . reduce ( ( l , s ) => ( s . trim ( ) === "|" ? l . push ( n ? { type : "26" } : { type : "27" , text : s } ) : s !== "" && l . push . apply ( l , t ( s , r ) ) , l ) , [ ] ) ; r . inTable = a ; let i = [ [ ] ] ; return o . forEach ( function ( l , s ) { l . type === "26" ? s !== 0 && s !== o . length - 1 && i . push ( [ ] ) : ( l . type !== "27" || o [ s + 1 ] != null && o [ s + 1 ] . type !== "26" || ( l . text = l . text . trimEnd ( ) ) , i [ i . length - 1 ] . push ( l ) ) } ) , i } function Woe ( e , t , r ) { r . inline = ! 0 ; const n = e [ 2 ] ? e [ 2 ] . replace ( Doe , "" ) . split ( "|" ) . map ( Uoe ) : [ ] , a = e [ 3 ] ? function ( i , l , s ) { return i . trim ( ) . split ( `
` ).map(function(d){return Tx(d,l,s,!0)})}(e[3],t,r):[],o=Tx(e[1],t,r,!!a.length);return r.inline=!1,a.length?{align:n,cells:a,header:o,type:"25"}:{children:o,type:"21"}}function Ix(e,t){return e.align[t]==null?{}:{textAlign:e.align[t]}}function Pn(e){return function(t,r){return r.inline?e.exec(t):null}}function Nn(e){return function(t,r){return r.inline||r.simple?e.exec(t):null}}function hn(e){return function(t,r){return r.inline||r.simple?null:e.exec(t)}}function Zl(e){return function(t){return e.exec(t)}}function qoe(e,t,r){if(t.inline||t.simple||r&&!r.endsWith( `
` ))return null;let n="";e.split( `
` ).every(o=>!UR.some(i=>i.test(o))&&(n+=o+ `
` ,o.trim()));const a=n.trimEnd();return a==""?null:[n,a]}function No(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 Rx(e){return e.replace(Loe," $ 1")}function C0(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!0,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function Goe(e,t,r){const n=r.inline||!1,a=r.simple||!1;r.inline=!1,r.simple=!0;const o=e(t,r);return r.inline=n,r.simple=a,o}function Koe(e,t,r){const n=r.inline||!1;r.inline=!1;const a=e(t,r);return r.inline=n,a}const nm=(e,t,r)=>({children:C0(t,e[1],r)});function am(){return{}}function om(){return null}function Yoe(...e){return e.filter(Boolean).join(" ")}function im(e,t,r){let n=e;const a=t.split(".");for(;a.length&&(n=n[a[0]],n!==void 0);)a.shift();return n||r}function Zoe(e="",t={}){t.overrides=t.overrides||{},t.slugify=t.slugify||Voe,t.namedCodesToUnicode=t.namedCodesToUnicode?Na({},Ax,t.namedCodesToUnicode):Ax;const r=t.createElement||u.createElement;function n(f,v,...g){const C=im(t.overrides, ` $ { f } . props ` ,{});return r(function(E,y){const b=im(y,E);return b?typeof b=="function"||typeof b=="object"&&"render"in b?b:im(y, ` $ { E } . component ` ,E):E}(f,t.overrides),Na({},v,C,{className:Yoe(v==null?void 0:v.className,C.className)||void 0}),...g)}function a(f){f=f.replace(uoe,"");let v=!1;t.forceInline?v=!0:t.forceBlock||(v=xoe.test(f)===!1);const g=p(d(v?f: ` $ { f . trimEnd ( ) . replace ( zoe , "" ) }
` ,{inline:v}));for(;typeof g[g.length-1]=="string"&&!g[g.length-1].trim();)g.pop();if(t.wrapper===null)return g;const C=t.wrapper||(v?"span":"div");let E;if(g.length>1||t.forceWrapper)E=g;else{if(g.length===1)return E=g[0],typeof E=="string"?n("span",{key:"outer"},E):E;E=null}return u.createElement(C,{key:"outer"},E)}function o(f){const v=f.match(Xae);return v?v.reduce(function(g,C,E){const y=C.indexOf("=");if(y!==-1){const b=function(k){return k.indexOf("-")!==-1&&k.match(poe)===null&&(k=k.replace(voe,function(_,A){return A.toUpperCase()})),k}(C.slice(0,y)).trim(),x=function(k){const _=k[0];return(_==='"'||_==="'")&&k.length>=2&&k[k.length-1]===_?k.slice(1,-1):k}(C.slice(y+1).trim()),D=_x[b]||b,S=g[D]=function(k,_){return k==="style"?_.split(/; \s ?/).reduce(function(A, $ ){const I= $ .slice(0, $ .indexOf(":"));return A[I.trim().replace(/(-[a-z])/g,L=>L[1].toUpperCase())]= $ .slice(I.length+1).trim(),A},{}):k==="href"||k==="src"?No(_):(_.match(foe)&&(_=_.slice(1,_.length-1)),_==="true"||_!=="false"&&_)}(b,x);typeof S=="string"&&(G2.test(S)||K2.test(S))&&(g[D]=u.cloneElement(a(S.trim()),{key:E}))}else C!=="style"&&(g[_x[C]||C]=!0);return g},{}):null}const i=[],l={},s={0:{match:hn(kR),order:1,parse:(f,v,g)=>({children:v(f[0].replace(eoe,""),g)}),render:(f,v,g)=>n("blockquote",{key:g.key},v(f.children,g))},1:{match:Zl(toe),order:1,parse:am,render:(f,v,g)=>n("br",{key:g.key})},2:{match:hn(roe),order:1,parse:am,render:(f,v,g)=>n("hr",{key:g.key})},3:{match:hn(AR),order:0,parse:f=>({lang:void 0,text:f[0].replace(/^ {4}/gm,"").replace(/ \n + $ /,"")}),render:(f,v,g)=>n("pre",{key:g.key},n("code",Na({},f.attrs,{className:f.lang? ` lang - $ { f . lang } ` :""}),f.text))},4:{match:hn(_R),order:0,parse:f=>({attrs:o(f[3]||""),lang:f[2]||void 0,text:f[4],type:"3"})},5:{match:Nn(noe),order:3,parse:f=>({text:f[2]}),render:(f,v,g)=>n("code",{key:g.key},f.text)},6:{match:hn(ioe),order:0,parse:f=>(i.push({footnote:f[2],identifier:f[1]}),{}),render:om},7:{match:Pn(loe),order:1,parse:f=>({target: ` # $ { t . slugify ( f [ 1 ] ) } ` ,text:f[1]}),render:(f,v,g)=>n("a",{key:g.key,href:No(f.target)},n("sup",{key:g.key},f.text))},8:{match:Pn(coe),order:1,parse:f=>({completed:f[1].toLowerCase()==="x"}),render:(f,v,g)=>n("input",{checked:f.completed,key:g.key,readOnly:!0,type:"checkbox"})},9:{match:hn(t.enforceAtxHeadings? $ R:FR),order:1,parse:(f,v,g)=>({children:C0(v,f[2],g),id:t.slugify(f[2]),level:f[1].length}),render:(f,v,g)=>n( ` h$ { f . level } ` ,{id:f.id,key:g.key},v(f.children,g))},10:{match:hn(TR),order:0,parse:(f,v,g)=>({children:C0(v,f[1],g),level:f[2]==="="?1:2,type:"9"})},11:{match:Zl(G2),order:1,parse(f,v,g){const[,C]=f[3].match(Boe),E=new RegExp( ` ^ $ { C } ` ,"gm"),y=f[3].replace(E,""),b=(x=y,Hoe.some(_=>_.test(x))?Koe:C0);var x;const D=f[1].toLowerCase(),S=Zae.indexOf(D)!==-1,k={attrs:o(f[2]),noInnerParse:S,tag:(S?D:f[1]).trim()};return g.inAnchor=g.inAnchor||D==="a",S?k.text=f[3]:k.children=b(v,y,g),g.inAnchor=!1,k},render:(f,v,g)=>n(f.tag,Na({key:g.key},f.attrs),f.text||v(f.children,g))},13:{match:Zl(K2),order:1,parse:f=>({attrs:o(f[2]||""),tag:f[1].trim()}),render:(f,v,g)=>n(f.tag,Na({},f.attrs,{key:g.key}))},12:{match:Zl(IR),order:1,parse:()=>({}),render:om},14:{match:Nn(joe),order:1,parse:f=>({alt:f[1],target:Rx(f[2]),title:f[3]}),render:(f,v,g)=>n("img",{key:g.key,alt:f.alt||void 0,title:f.title||void 0,src:No(f.target)})},15:{match:Pn(Noe),order:3,parse:(f,v,g)=>({children:Goe(v,f[1],g),target:Rx(f[2]),title:f[3]}),render:(f,v,g)=>n("a",{key:g.key,href:No(f.target),title:f.title},v(f.children,g))},16:{match:Pn(goe),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],type:"15"})},17:{match:(f,v)=>v.inAnchor?null:Pn(hoe)(f,v),order:0,parse:f=>({children:[{text:f[1],type:"27"}],target:f[1],title:void 0,type:"15"})},18:{match:Pn(moe),order:0,parse(f){let v=f[1],g=f[1];return Jae.test(g)||(g="mailto:"+g),{children:[{text:v.replace("mailto:",""),type:"27"}],target:g,type:"15"}}},20: $ x(n,1),33: $ x(n,2),19:{match:hn(aoe),order:3,parse:am,render:()=> `
` },21:{match:qoe,order:3,parse:nm,render:(f,v,g)=>n("p",{key:g.key},v(f.children,g))},22:{match:Pn(yoe),order:0,parse:f=>(l[f[1]]={target:f[2],title:f[4]},{}),render:om},23:{match:Nn(woe),order:0,parse:f=>({alt:f[1]||void 0,ref:f[2]}),render:(f,v,g)=>l[f.ref]?n("img",{key:g.key,alt:f.alt,src:No(l[f.ref].target),title:l[f.ref].title}):null},24:{match:Pn(boe),order:0,parse:(f,v,g)=>({children:v(f[1],g),fallbackChildren:v(f[0].replace(Eoe," \\ $ 1"),g),ref:f[2]}),render:(f,v,g)=>l[f.ref]?n("a",{key:g.key,href:No(l[f.ref].target),title:l[f.ref].title},v(f.children,g)):n("span",{key:g.key},v(f.fallbackChildren,g))},25:{match:hn(RR),order:1,parse:Woe,render(f,v,g){const C=f;return n("table",{key:g.key},n("thead",null,n("tr",null,C.header.map(function(E,y){return n("th",{key:y,style:Ix(C,y)},v(E,g))}))),n("tbody",null,C.cells.map(function(E,y){return n("tr",{key:y},E.map(function(b,x){return n("td",{key:x,style:Ix(C,x)},v(b,g))}))})))}},27:{match:Zl(Roe),order:4,parse:f=>({text:f[0].replace(doe,(v,g)=>t.namedCodesToUnicode[g]?t.namedCodesToUnicode[g]:v)}),render:f=>f.text},28:{match:Nn(Aoe),order:2,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("strong",{key:g.key},v(f.children,g))},29:{match:Nn(Foe),order:3,parse:(f,v,g)=>({children:v(f[2],g)}),render:(f,v,g)=>n("em",{key:g.key},v(f.children,g))},30:{match:Nn(Ioe),order:1,parse:f=>({text:f[1],type:"27"})},31:{match:Nn( $ oe),order:3,parse:nm,render:(f,v,g)=>n("mark",{key:g.key},v(f.children,g))},32:{match:Nn(Toe),order:3,parse:nm,render:(f,v,g)=>n("del",{key:g.key},v(f.children,g))}};t.disableParsingRawHTML===!0&&(delete s[11],delete s[13]);const d=function(f){let v=Object.keys(f);function g(C,E){let y=[],b="";for(;C;){let x=0;for(;x<v.length;){const D=v[x],S=f[D],k=S.match(C,E,b);if(k){const _=k[0];C=C.substring(_.length);const A=S.parse(k,g,E);A.type==null&&(A.type=D),y.push(A),b=_;break}x++}}return y}return v.sort(function(C,E){let y=f[C].order,b=f[E].order;return y!==b?y-b:C<E?-1:1}),function(C,E){return g(function(y){return y.replace(ooe, `
` ).replace(soe,"").replace(Coe," ")}(C),E)}}(s),p=(h=function(f,v){return function(g,C,E){const y=f[g.type].render;return v?v(()=>y(g,C,E),g,C,E):y(g,C,E)}}(s,t.renderRule),function f(v,g={}){if(Array.isArray(v)){const C=g.key,E=[];let y=!1;for(let b=0;b<v.length;b++){g.key=b;const x=f(v[b],g),D=typeof x=="string";D&&y?E[E.length-1]+=x:x!==null&&E.push(x),y=D}return g.key=C,E}return h(v,f,g)});var h;const m=a(e);return i.length?n("div",null,m,n("footer",{key:"footer"},i.map(function(f){return n("div",{id:t.slugify(f.identifier),key:f.identifier},f.identifier,p(d(f.footnote,{inline:!0})))}))):m}const WR=e=>{let{children:t="",options:r}=e,n=function(a,o){if(a==null)return{};var i,l,s={},d=Object.keys(a);for(l=0;l<d.length;l++)o.indexOf(i=d[l])>=0||(s[i]=a[i]);return s}(e,Yae);return u.cloneElement(Zoe(t,r),n)};function Nc(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var qR={exports:{}};(function(e,t){(function(r){e.exports=r()})(function(){return function r(n,a,o){function i(d,p){if(!a[d]){if(!n[d]){var h=typeof Nc=="function"&&Nc;if(!p&&h)return h(d,!0);if(l)return l(d,!0);var m=new Error("Cannot find module '"+d+"'");throw m.code="MODULE_NOT_FOUND",m}var f=a[d]={exports:{}};n[d][0].call(f.exports,function(v){var g=n[d][1][v];return i(g||v)},f,f.exports,r,n,a,o)}return a[d].exports}for(var l=typeof Nc=="function"&&Nc,s=0;s<o.length;s++)i(o[s]);return i}({1:[function(r,n,a){n.exports=function(o){if(typeof Map!="function"||o){var i=r("./similar");return new i}else return new Map}},{"./similar":2}],2:[function(r,n,a){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}o.prototype.get=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i))return this.lastItem.val;if(l=this.indexOf(i),l>=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(i,l){var s;return this.lastItem&&this.isEqual(this.lastItem.key,i)?(this.lastItem.val=l,this):(s=this.indexOf(i),s>=0?(this.lastItem=this.list[s],this.list[s].val=l,this):(this.lastItem={key:i,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(i){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,i)&&(this.lastItem=void 0),l=this.indexOf(i),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(i){var l;return this.lastItem&&this.isEqual(this.lastItem.key,i)?!0:(l=this.indexOf(i),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(i,l){var s;for(s=0;s<this.size;s++)i.call(l||this,this.list[s].val,this.list[s].key,this)},o.prototype.indexOf=function(i){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,i))return l;return-1},o.prototype.isEqual=function(i,l){return i===l||i!==i&&l!==l},n.exports=o},{}],3:[function(r,n,a){var o=r("map-or-similar");n.exports=function(d){var p=new o(!1),h=[];return function(m){var f=function(){var v=p,g,C,E=arguments.length-1,y=Array(E+1),b=!0,x;if((f.numArgs||f.numArgs===0)&&f.numArgs!==E+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(x=0;x<E;x++){if(y[x]={cacheItem:v,arg:arguments[x]},v.has(arguments[x])){v=v.get(arguments[x]);continue}b=!1,g=new o(!1),v.set(arguments[x],g),v=g}return b&&(v.has(arguments[E])?C=v.get(arguments[E]):b=!1),b||(C=m.apply(null,arguments),v.set(arguments[E],C)),d>0&&(y[E]={cacheItem:v,arg:arguments[E]},b?i(h,y):h.push(y),h.length>d&&l(h.shift())),f.wasMemoized=b,f.numArgs=E+1,C};return f.limit=d,f.wasMemoized=!1,f.cache=p,f.lru=h,f}};function i(d,p){var h=d.length,m=p.length,f,v,g;for(v=0;v<h;v++){for(f=!0,g=0;g<m;g++)if(!s(d[v][g].arg,p[g].arg)){f=!1;break}if(f)break}d.push(d.splice(v,1)[0])}function l(d){var p=d.length,h=d[p-1],m,f;for(h.cacheItem.delete(h.arg),f=p-2;f>=0&&(h=d[f],m=h.cacheItem.get(h.arg),!m||!m.size);f--)h.cacheItem.delete(h.arg)}function s(d,p){return d===p||d!==d&&p!==p}},{"map-or-similar":1}]},{},[3])(3)})})(qR);var Xoe=qR.exports;const GR=
` &&t!==" ` ")&&(t=null),a&&(e[i]===" / "&&e[i-1]!==" \ \ " || e [ i ] === `
` )&&(a=!1),r&&e[i-1]==="/"&&e[i-2]==="*"&&(r=!1),n&&e[i]=== `
` &&(n=!1)),!r&&!n&&(o+=e[i]);else o=e;return o},T0e=GR(1e4)(e=> $ 0e(e).replace(/ \n \s */g,"").trim()),I0e=function(t,r){const n=r.slice(0,r.indexOf("{")),a=r.slice(r.indexOf("{"));if(n.includes("=>")||n.includes("function"))return r;let o=n;return o=o.replace(t,"function"),o+a},R0e=/^ \d {4}- \d {2}- \d {2}T \d {2}: \d {2}: \d {2}( \. \d {3})?Z $ /;function iz(e){if(!F0e(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=kue(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 z0e=function(t){let r,n,a,o;return function(l,s){try{if(l==="")return o=[],r=new Map([[s,"[]"]]),n=new Map,a=[],s;const d=n.get(this)||this;for(;a.length&&d!==a[0];)a.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return t.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return ` _bigint _$ { s . toString ( ) } ` ;if(typeof s=="string")return R0e.test(s)?t.allowDate? ` _date _$ { s } ` :void 0:s;if((0,Bue.default)(s))return t.allowRegExp? ` _regexp _$ { s . flags } | $ { s . source } ` :void 0;if((0,Lue.default)(s)){if(!t.allowFunction)return;const{name:h}=s,m=s.toString();return m.match(/( \[ native code \] |WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)? ` _function _$ { h } | $ { ( ( ) => { } ) . toString ( ) } ` : ` _function _$ { h } | $ { T0e ( I0e ( l , m ) ) } ` }if((0,Oue.default)(s)){if(!t.allowSymbol)return;const h=Symbol.keyFor(s);return h!==void 0? ` _gsymbol _$ { h } ` : ` _symbol _$ { s . toString ( ) . slice ( 7 , - 1 ) } ` }if(a.length>=t.maxDepth)return Array.isArray(s)? ` [ Array ( $ { s . length } ) ] ` :"[Object]";if(s===this)return ` _duplicate _$ { JSON . stringify ( o ) } ` ;if(s instanceof Error&&t.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!t.allowClass)return;const p=r.get(s);if(!p){const h=Array.isArray(s)?s:iz(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&t.allowClass)try{Object.assign(h,{"_constructor-name_":s.constructor.name})}catch{}return o.push(l),a.unshift(h),r.set(s,JSON.stringify(o)),s!==h&&n.set(s,h),h}return ` _duplicate _$ { p } ` }catch{return}}},B0e={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},L0e=(e,t={})=>{const r={...B0e,...t};return JSON.stringify(iz(e),z0e(r),t.space)};/*!
* isobject < https : //github.com/jonschlinkert/isobject>
*
* Copyright ( c ) 2014 - 2017 , Jon Schlinkert .
* Released under the MIT License .
* //**
* @ license
* Lodash ( Custom Build ) < https : //lodash.com/>
* Build : ` lodash modularize exports="es" -o ./ `
* Copyright OpenJS Foundation and other contributors < https : //openjsf.org/>
* Released under MIT license < https : //lodash.com/license>
* Based on Underscore . js 1.8 . 3 < http : //underscorejs.org/LICENSE>
* Copyright Jeremy Ashkenas , DocumentCloud and Investigative Reporters & Editors
2024-07-31 11:01:41 +02:00
* /const{global:Yt}=__STORYBOOK_MODULE_GLOBAL__,{deprecate:O0e,once:M0e,logger:F4}=__STORYBOOK_MODULE_CLIENT_LOGGER__,{filterArgTypes:Gx,composeConfigs:Yfe,Preview:Zfe,DocsContext:Xfe}=__STORYBOOK_MODULE_PREVIEW_API__,{GLOBALS_UPDATED:Kx,STORY_ARGS_UPDATED:Yx,UPDATE_STORY_ARGS:P0e,RESET_STORY_ARGS:N0e,NAVIGATE_URL:j0e}=__STORYBOOK_MODULE_CORE_EVENTS__;__STORYBOOK_MODULE_CHANNELS__;var H0e=Qi({"../ . . / 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}}}),V0e=Qi({" . . / . . / node _modules / tocbot / src / js / build - html . js "(e,t){t.exports=function(r){var n=[].forEach,a=[].some,o=document.body,i,l=!0,s=" ";function d(x,D){var S=D.appendChild(h(x));if(x.children.length){var k=m(x.isCollapsed);x.children.forEach(function(_){d(_,k)}),S.appendChild(k)}}function p(x,D){var S=!1,k=m(S);if(D.forEach(function(_){d(_,k)}),i=x||i,i!==null)return i.firstChild&&i.removeChild(i.firstChild),D.length===0?i:i.appendChild(k)}function h(x){var D=document.createElement(" li "),S=document.createElement(" a ");return r.listItemClass&&D.setAttribute(" class ",r.listItemClass),r.onClick&&(S.onclick=r.onClick),r.includeTitleTags&&S.setAttribute(" title ",x.textContent),r.includeHtml&&x.childNodes.length?n.call(x.childNodes,function(k){S.appendChild(k.cloneNode(!0))}):S.textContent=x.textContent,S.setAttribute(" href ",r.basePath+" # "+x.id),S.setAttribute(" class ",r.linkClass+s+" node - name -- "+x.nodeName+s+r.extraLinkClasses),D.appendChild(S),D}function m(x){var D=r.orderedList?" ol ":" ul ",S=document.createElement(D),k=r.listClass+s+r.extraListClasses;return x&&(k=k+s+r.collapsibleClass,k=k+s+r.isCollapsedClass),S.setAttribute(" class ",k),S}function f(){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var x;x=document.querySelector(r.scrollContainer).scrollTop}else x=document.documentElement.scrollTop||o.scrollTop;var D=document.querySelector(r.positionFixedSelector);r.fixedSidebarOffset===" auto "&&(r.fixedSidebarOffset=i.offsetTop),x>r.fixedSidebarOffset?D.className.indexOf(r.positionFixedClass)===-1&&(D.className+=s+r.positionFixedClass):D.className=D.className.replace(s+r.positionFixedClass," ")}function v(x){var D=0;return x!==null&&(D=x.offsetTop,r.hasInnerContainers&&(D+=v(x.offsetParent))),D}function g(x,D){return x&&x.className!==D&&(x.className=D),x}function C(x){if(r.scrollContainer&&document.querySelector(r.scrollContainer)){var D;D=document.querySelector(r.scrollContainer).scrollTop}else D=document.documentElement.scrollTop||o.scrollTop;r.positionFixedSelector&&f();var S=x,k;if(l&&i!==null&&S.length>0){a.call(S,function(j,P){if(v(j)>D+r.headingsOffset+10){var H=P===0?P:P-1;return k=S[H],!0}else if(P===S.length-1)return k=S[S.length-1],!0});var _=i.querySelector(" . "+r.activeLinkClass),A=i.querySelector(" . "+r.linkClass+" . node - name -- "+k.nodeName+'[href=" '+r.basePath+"#"+k.id.replace(/([ #;&,.+*~' : "!^$[\]()=>|/\\@])/g," \ \ $1 ")+'" ] ' ) ; if ( _ === A ) return ; var $ = i . querySelectorAll ( "." + r . linkClass ) ; n . call ( $ , function ( j ) { g ( j , j . className . replace ( s + r . activeLinkClass , "" ) ) } ) ; var I = i . querySelectorAll ( "." + r . listItemClass ) ; n . call ( I , function ( j ) { g ( j , j . className . replace ( s + r . activeListItemClass , "" ) ) } ) , A && A . className . indexOf ( r . activeLinkClass ) === - 1 && ( A . className += s + r . activeLinkClass ) ; var L = A && A . parentNode ; L && L . className . i
2024-07-31 10:01:28 +02:00
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Nr ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Nr ( . 02 , e . input . background ) } 100 % ) ` : ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Ma ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Ma ( . 02 , e . input . background ) } 100 % ) ` ,boxShadow: ` $ { e . appBorderColor } 0 0 0 1 px inset ` ,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer"},"&::-webkit-slider-thumb":{marginTop:"-6px",width:16,height:16,border: ` 1 px solid $ { Hr ( e . appBorderColor , . 2 ) } ` ,borderRadius:"50px",boxShadow: ` 0 1 px 3 px 0 px $ { Hr ( e . appBorderColor , . 2 ) } ` ,cursor:a?"not-allowed":"grab",appearance:"none",background: ` $ { e . input . background } ` ,transition:"all 150ms ease-out","&:hover":{background: ` $ { Nr ( . 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:Hr(e.color.secondary,.4)},"&::-webkit-slider-thumb":{borderColor:e.color.secondary,boxShadow: ` 0 0 px 5 px 0 px $ { 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 } % ,
$ { Nr ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Nr ( . 02 , e . input . background ) } 100 % ) ` : ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Ma ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Ma ( . 02 , e . input . background ) } 100 % ) ` ,boxShadow: ` $ { e . appBorderColor } 0 0 0 1 px inset ` ,borderRadius:6,width:"100%",height:6,cursor:a?"not-allowed":"pointer",outline:"none"},"&::-moz-range-thumb":{width:16,height:16,border: ` 1 px solid $ { Hr ( e . appBorderColor , . 2 ) } ` ,borderRadius:"50px",boxShadow: ` 0 1 px 3 px 0 px $ { Hr ( e . appBorderColor , . 2 ) } ` ,cursor:a?"not-allowed":"grap",background: ` $ { e . input . background } ` ,transition:"all 150ms ease-out","&:hover":{background: ` $ { Nr ( . 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 } % ,
$ { Nr ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Nr ( . 02 , e . input . background ) } 100 % ) ` : ` linear - gradient ( to right ,
$ { e . color . green } 0 % , $ { e . color . green } $ { ( n - t ) / ( r - t ) * 100 } % ,
$ { Ma ( . 02 , e . input . background ) } $ { ( n - t ) / ( r - t ) * 100 } % ,
2024-07-31 11:01:41 +02:00
$ { Ma ( . 02 , e . input . background ) } 100 % ) ` ,boxShadow: ` $ { e . appBorderColor } 0 0 0 1 px 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: ` 1 px solid $ { Hr ( e . appBorderColor , . 2 ) } ` ,borderRadius:50,cursor:"grab",marginTop:0},"@supports (-ms-ime-align:auto)":{"input[type=range]":{margin:"0"}}})),Dz=F.span({paddingLeft:5,paddingRight:5,fontSize:12,whiteSpace:"nowrap",fontFeatureSettings:"tnum",fontVariantNumeric:"tabular-nums","[aria-readonly=true] &":{opacity:.5}}), $ 1e=F(Dz)(({numberOFDecimalsPlaces:e,max:t})=>({width: ` $ { e + t . toString ( ) . length * 2 + 3 } ch ` ,textAlign:"right",flexShrink:0})),T1e=F.div({display:"flex",alignItems:"center",width:"100%"});function I1e(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 R1e=({name:e,value:t,onChange:r,min:n=0,max:a=100,step:o=1,onBlur:i,onFocus:l,argType:s})=>{var f;let d=v=>{r(Vde(v.target.value))},p=t!==void 0,h=u.useMemo(()=>I1e(o),[o]),m=!!((f=s==null?void 0:s.table)!=null&&f.readonly);return w.createElement(T1e,{"aria-readonly":m},w.createElement(Dz,null,n),w.createElement(F1e,{id:Dr(e),type:"range",disabled:m,onChange:d,name:e,value:t,min:n,max:a,step:o,onFocus:l,onBlur:i}),w.createElement( $ 1e,{numberOFDecimalsPlaces:h,max:a},p?t.toFixed(h):"--"," / ",a))},z1e=F.label({display:"flex"}),B1e=F.div(({isMaxed:e})=>({marginLeft:"0.75rem",paddingTop:"0.35rem",color:e?"red":void 0})),L1e=({name:e,value:t,onChange:r,onFocus:n,onBlur:a,maxLength:o,argType:i})=>{var f;let l=v=>{r(v.target.value)},s=!!((f=i==null?void 0:i.table)!=null&&f.readonly),[d,p]=u.useState(!1),h=u.useCallback(()=>{r(""),p(!0)},[p]);if(t===void 0)return w.createElement(Do,{variant:"outline",size:"medium",disabled:s,id:Hd(e),onClick:h},"Set string");let m=typeof t=="string";return w.createElement(z1e,null,w.createElement(Uu.Textarea,{id:Dr(e),maxLength:o,onChange:l,disabled:s,size:"flex",placeholder:"Edit string...",autoFocus:d,valid:m?null:"error",name:e,value:m?t:"",onFocus:n,onBlur:a}),o&&w.createElement(B1e,{isMaxed:(t==null?void 0:t.length)===o},(t==null?void 0:t.length)??0," / ",o))},O1e=F(Uu.Input)({padding:10});function M1e(e){e.forEach(t=>{t.startsWith("blob:")&&URL.revokeObjectURL(t)})}var P1e=({onChange:e,name:t,accept:r="image/*",value:n,argType:a})=>{var s;let o=u.useRef(null),i=(s=a==null?void 0:a.control)==null?void 0:s.readOnly;function l(d){if(!d.target.files)return;let p=Array.from(d.target.files).map(h=>URL.createObjectURL(h));e(p),M1e(n)}return u.useEffect(()=>{n==null&&o.current&&(o.current.value=null)},[n,t]),w.createElement(O1e,{ref:o,id:Dr(t),type:"file",name:t,multiple:!0,disabled:i,onChange:l,accept:r,size:"flex"})},N1e=u.lazy(()=>hC(()=>import("./Color-KGDBMAHA-DCPIegQC.js"),__vite__mapDeps([6,2,1,3,4,5]),import.meta.url)),j1e=e=>w.createElement(u.Suspense,{fallback:w.createElement("div",null)},w.createElement(N1e,{...e})),H1e={array:oC,object:oC,boolean:Bde,color:j1e,date:jde,number:Wde,check:jo,"inline-check":jo,radio:jo,"inline-radio":jo,select:jo,"multi-select":jo,range:R1e,text:L1e,file:P1e},iC=()=>w.createElement(w.Fragment,null,"-"),V1e=({row:e,arg:t,updateArgs:r,isHovered:n})=>{var g;let{key:a,control:o}=e,[i,l]=u.useState(!1),[s,d]=u.useState({value:t});u.useEffect(()=>{i||d({value:t})},[i,t]);let p=u.useCallback(C=>(d({value:C}),r({[a]:C}),C),[r,a]),h=u.useCallback(()=>l(!1),[]),m=u.useCallback(()=>l(!0),[]);if(!o||o.disable){let C=(o==null?void 0:o.disable)!==!0&&((g=e==null?void 0:e.type)==null?void 0:g.name)!=="function";return n&&C?w.createElement(Ci,{href:"https://storybook.js.org/docs/react/essentials/controls",target:"_blank",withArrow:!0},"Setup controls"):w.createElement(iC,null)}let f={name:a,argType:e,value:s.value,onChange:p,onBlur:h,onFocus:m},v=H1e[o.type]||iC;return w.createElement(v,{...f,...o,controlType:o.type})},U1e=F.span({fontWeight:"bold"}),W1e=F.span(({theme:e})=>({color:e.color.negative,fontFamily:e.typography.fonts.
2024-07-31 10:01:28 +02:00
This is often caused by not wrapping the child in a template string .
This is invalid :
< Markdown >
# Some heading
A paragraph
< / M a r k d o w n >
Instead do :
< Markdown >
{ \ `
# Some heading
A paragraph
\ ` }
< / M a r k d o w n >
` );return w.createElement(WR,{...e,options:{forceBlock:!0,overrides:{code:Gpe,a:Ype,...Qpe,...(t=e==null?void 0:e.options)==null?void 0:t.overrides},...e==null?void 0:e.options}})},tfe=(e=>(e.INFO="info",e.NOTES="notes",e.DOCGEN="docgen",e.AUTO="auto",e))(tfe||{}),rfe=e=>{var t,r,n,a,o,i,l,s;switch(e.type){case"story":return((r=(t=e.story.parameters.docs)==null?void 0:t.description)==null?void 0:r.story)||null;case"meta":{let{parameters:d,component:p}=e.preparedMeta;return((a=(n=d.docs)==null?void 0:n.description)==null?void 0:a.component)||((i=(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((s=(l=p.docs)==null?void 0:l.extractComponentDescription)==null?void 0:s.call(l,d,{component:d,parameters:p}))||null}default:throw new Error( ` Unrecognized module type resolved from 'useOf' , got : $ { e . type } ` )}},t5=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=Ao(t||"meta"),n=rfe(r);return n?w.createElement(efe,null,n):null},fC=nB(G0e()),nfe=F.div(({theme:e})=>({width:"10rem","@media (max-width: 768px)":{display:"none"}})),afe=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 2 px $ { e . color . mediumlight } ` ,".toc-list":{paddingLeft:0,borderLeft: ` solid 2 px $ { e . color . mediumlight } ` ,".toc-list":{paddingLeft:0,borderLeft: ` solid 2 px $ { 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 2 px $ { 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"}})),ofe=F.p(({theme:e})=>({fontWeight:600,fontSize:"0.875em",color:e.textColor,textTransform:"uppercase",marginBottom:10})),ife=({title:e})=>e===null?null:typeof e=="string"?w.createElement(ofe,null,e):e,lfe=({title:e,disable:t,headingSelector:r,contentsSelector:n,ignoreSelector:a,unsafeTocbotOptions:o})=>(u.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},l=setTimeout(()=>fC.init(i),100);return()=>{clearTimeout(l),fC.destroy()}},[t]),w.createElement(w.Fragment,null,w.createElement(nfe,null,t?null:w.createElement(afe,null,w.createElement(ife,{title:e||null}),w.createElement("div",{className:"toc-wrapper"}))))),{document:sfe,window:ufe}=Yt,cfe=({context:e,theme:t,children:r})=>{var a,o,i,l,s;let n;try{n=(o=(a=e.resolveOf("meta",["meta"]).preparedMeta.parameters)==null?void 0:a.docs)==null?void 0:o.toc}catch{n=(s=(l=(i=e==null?void 0:e.projectAnnotations)==null?void 0:i.parameters)==null?void 0:l.docs)==null?void 0:s.toc}return u.useEffect(()=>{let d;try{if(d=new URL(ufe.parent.location.toString()),d.hash){let p=sfe.getElementById(d.hash.substring(1));p&&setTimeout(()=>{Tpe(p)},200)}}catch{}}),w.createElement(_r.Provider,{value:e},w.createElement(Ipe,{channel:e.channel},w.createElement(QC,{theme:XL(t)},w.createElement(rde,{toc:n?w.createElement(lfe,{className:"sbdocs sbdocs-toc--custom",...n}):null},r))))},dfe=/ \s * \/ \s */,pfe=e=>{let t=e.trim().split(dfe);return(t==null?void 0:t[(t==null?void 0:t.length)-1])||e},ffe=e=>{let{children:t,of:r}=e;if("of"in e&&r===void 0)throw new Error("Unex
2024-07-31 11:01:41 +02:00
//# sourceMappingURL=index-qpTJSHH9.js.map