@master/css-language-server 2.0.0-beta.101 → 2.0.0-beta.103
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/server.js +583 -1
- package/dist/server.mjs +583 -1
- package/package.json +1 -1
package/dist/server.js
CHANGED
|
@@ -1 +1,583 @@
|
|
|
1
|
-
var xe=Object.create;var Q=Object.defineProperty;var ve=Object.getOwnPropertyDescriptor;var we=Object.getOwnPropertyNames;var Ce=Object.getPrototypeOf,Fe=Object.prototype.hasOwnProperty;var Ie=(t,l,a,r)=>{if(l&&typeof l=="object"||typeof l=="function")for(let n of we(l))!Fe.call(t,n)&&n!==a&&Q(t,n,{get:()=>l[n],enumerable:!(r=ve(l,n))||r.enumerable});return t};var A=(t,l,a)=>(a=t!=null?xe(Ce(t)):{},Ie(l||!t||!t.__esModule?Q(a,"default",{value:t,enumerable:!0}):a,t));var me=A(require("@master/css-compiler")),T=require("vscode-languageserver/node"),Z=A(require("@master/css")),be=A(require("file-uri-to-path")),pe=A(require("minimatch")),ge=require("vscode-languageserver-textdocument");var e=require("vscode-languageserver"),N=[{label:"lang()",kind:e.CompletionItemKind.Function},{label:"has()",kind:e.CompletionItemKind.Function},"any-link","link","visited","target","scope","hover","active","focus","focus-visible","focus-within","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",{label:"nth-child()",kind:e.CompletionItemKind.Function},{label:"nth-last-child()",kind:e.CompletionItemKind.Function},"first-child","last-child","only-child",{label:"nth-of-type()",kind:e.CompletionItemKind.Function},{label:"nth-last-of-type()",kind:e.CompletionItemKind.Function},"first-of-type","last-of-type","only-of-type","defined","first","fullscreen",{label:"host()",kind:e.CompletionItemKind.Function},{label:"host-context()",kind:e.CompletionItemKind.Function},{label:"is()",kind:e.CompletionItemKind.Function},"left",{label:"not()",kind:e.CompletionItemKind.Function},"right",{label:"where()",kind:e.CompletionItemKind.Function}],V=["after","before","backdrop","cue","first-letter","first-line","file-selector-button","marker",{label:"part()",kind:e.CompletionItemKind.Function},"placeholder","selection",{label:"slotted()",kind:e.CompletionItemKind.Function},"resizer","search-cancel-button","search-results-button"],J=["all","print","screen","portrait","landscape","motion","reduced-motion",{label:"media()",kind:e.CompletionItemKind.Function}],ee=["ext","gap","ont","ovf","quotes","bottom","center","left","middle","top","right","px","py","pt","pb","pl","pr","mx","my","mt","mb","ml","mr"],te=[{label:"var()",kind:e.CompletionItemKind.Function},{label:"calc()",kind:e.CompletionItemKind.Function},"inherit","initial","unset"],O=[{key:["color","fg","foreground"],colorful:!0,values:[]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["accent-color","accent"],colorful:!0,values:[]},{key:["appearance"],colorful:!1,values:["none","auto","menulist-button","textfield","button","searchfield","textarea","push-button","slider-horizontal","checkbox","radio","square-button","menulist","listbox","meter","progress-bar"]},{key:["caret-color","caret"],colorful:!0,values:["transparent"]},{key:["cursor"],colorful:!1,values:["auto","alias","all-scroll","cell","col-resize","context-menu","copy","crosshair","default","e-resize","ew-resize","grab","grabbing","help","move","n-resize","ne-resize","nesw-resize","no-drop","none","not-allowed","ns-resize","nw-resize","nwse-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait","zoom-in","zoom-out"]},{key:["box-decoration-break","box"],colorful:!1,values:["slice","clone"]},{key:["break-after","break-before"],colorful:!1,values:["avoid-column","column","left","page","recto","right","recto","verso","auto","avoid","avoid-column","avoid-page","revert"]},{key:["break-inside"],colorful:!1,values:["auto","avoid","avoid-column","avoid-page","revert"]},{key:["clear"],colorful:!1,values:["both","left","none","right"]},{key:["columns","cols"],colorful:!1,values:[]},{key:["column-span","col-span"],colorful:!1,values:["all","none"]},{key:["direction"],colorful:!1,values:["ltr","rtl"]},{key:["display","d"],colorful:!1,values:["hidden","hide","flex","grid","inline","none","block","table","contents","inline-block","inline-flex","inline-grid","inline-table","table-cell","table-caption","flow-root","list-item","table-row","table-column","table-row-group","table-column-group","table-header-group","table-footer-group"]},{key:["float"],colorful:!1,values:["left","none","right"]},{key:["inset"],colorful:!1,values:[]},{key:["isolation"],colorful:!1,values:["auto","isolate"]},{key:["overflow","overflow-x","overflow-y"],colorful:!1,values:["auto","hidden","overlay","scroll","visible","clip"]},{key:["position"],colorful:!1,values:["absolute","relative","static","fixed","sticky"]},{key:["z-index","z"],colorful:!1,values:[]},{key:["flex"],colorful:!1,values:[]},{key:["flex-basis"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["flex-direction","flex"],colorful:!1,values:["column","row","column-reverse","row-reverse"]},{key:["flex-grow","flex-shrink"],colorful:!1,values:[]},{key:["flex-wrap","flex"],colorful:!1,values:["wrap","wrap-reverse","nowrap"]},{key:["grid"],colorful:!1,values:[]},{key:["grid-auto-columns","grid-auto-cols"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:e.CompletionItemKind.Function}]},{key:["grid-auto-flow"],colorful:!1,values:["row","column","dense","row|dense","column|dense"]},{key:["grid-auto-rows"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:e.CompletionItemKind.Function}]},{key:["grid-column","grid-col","grid-column-span","grid-col-span","grid-column-start","grid-col-start","grid-column-end","grid-col-end"],colorful:!1,values:[]},{key:["grid-columns","grid-cols"],colorful:!1,values:[]},{key:["grid-row","grid-row-span","grid-row-start","grid-row-end"],colorful:!1,values:[]},{key:["grid-rows"],colorful:!1,values:[]},{key:["grid-template"],colorful:!1,values:["none"]},{key:["grid-template-areas","grid-area"],colorful:!1,values:["none"]},{key:["grid-template-columns","grid-template-cols"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:e.CompletionItemKind.Function},{label:"fit-content()",kind:e.CompletionItemKind.Function},{label:"minmax()",kind:e.CompletionItemKind.Function}]},{key:["grid-template-rows"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:e.CompletionItemKind.Function},{label:"fit-content()",kind:e.CompletionItemKind.Function},{label:"minmax()",kind:e.CompletionItemKind.Function}]},{key:["align-content","ac"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-items","ai"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-self","as"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["justify-content","jc"],colorful:!1,values:["space-around","space-between","space-evenly","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-items","ji"],colorful:!1,values:["self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-self","js"],colorful:!1,values:["auto","self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["order","o"],colorful:!1,values:[]},{key:["place-content"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-items"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-self"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["border-collapse","border"],colorful:!1,values:["collapse","separate"]},{key:["table-layout"],colorful:!1,values:["auto","fixed"]},{key:["object-fit"],colorful:!1,values:["none"]},{key:["object-fit","object","obj"],colorful:!1,values:["contain","cover","fill","scale-down"]},{key:["object-position","object","obj"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["font","f"],colorful:!1,values:["caption","icon","menu","message-box","small-caption","status-bar"]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["font-family","font","f"],colorful:!1,values:["'CourierNew',Courier,monospace","'FranklinGothicMedium','ArialNarrow',Arial,sans-serif","'GillSans','GillSansMT',Calibri,'TrebuchetMS',sans-serif","'LucidaSans','LucidaSansRegular','LucidaGrande','LucidaSansUnicode',Geneva,Verdana,sans-serif","'SegoeUI',Tahoma,Geneva,Verdana,sans-serif","'TimesNewRoman',Times,serif","'TrebuchetMS','LucidaSansUnicode','LucidaGrande','LucidaSans',Arial,sans-serif","Arial,Helvetica,sans-serif","Cambria,Cochin,Georgia,Times,'TimesNewRoman',serif","Georgia,'TimesNewRoman',Times,serif","Impact,Haettenschweiler,'ArialNarrowBold',sans-serif","Verdana,Geneva,Tahoma,sans-serif","cursive","fantasy","monospace","sans-serif","serif","-apple-system,BlinkMacSystemFont,'SegoeUI',Roboto,Oxygen,Ubuntu,Cantarell,'OpenSans','HelveticaNeue',sans-serif"]},{key:["font-size","font","f"],colorful:!1,values:[{label:"8",kind:e.CompletionItemKind.Unit,sortText:"!0"},{label:"9",kind:e.CompletionItemKind.Unit,sortText:"!1"},{label:"10",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"11",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"12",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"14",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"16",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"18",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"20",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"22",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"24",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"26",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"28",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"36",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"48",kind:e.CompletionItemKind.Unit,sortText:"!2"},{label:"72",kind:e.CompletionItemKind.Unit,sortText:"!2"}]},{key:["font-style"],colorful:!1,values:["oblique|deg"]},{key:["font-style","font","f"],colorful:!1,values:["normal","italic","oblique"]},{key:["font-variant-numeric","font","f"],colorful:!1,values:["normal","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]},{key:["font-weight","font","f"],colorful:!1,values:["100","200","300","400","500","600","700","800","900"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-align","text","t"],colorful:!1,values:["start","end","left","right","center","justify"]},{key:["text-decoration","text","t"],colorful:!1,values:["underline","line-through","overline"]},{key:["text-decoration-color","text-decoration"],colorful:!0,values:[]},{key:["text-decoration-line","text","t"],colorful:!1,values:["none","underline","overline","line-through"]},{key:["text-decoration-style","text","t"],colorful:!1,values:["dashed","dotted","double","solid","wavy"]},{key:["text-decoration-thickness"],colorful:!1,values:[]},{key:["text-fill-color","text-fill"],colorful:!0,values:[]},{key:["text-indent"],colorful:!1,values:[]},{key:["text-orientation","text","t"],colorful:!1,values:["mixed","sideways","sideways-right","upright","use-glyph-orientation"]},{key:["text-overflow","text","t"],colorful:!1,values:["clip","ellipsis"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["text","t"],colorful:!1,values:[]},{key:["text-stroke"],colorful:!1,values:[]},{key:["text-stroke-color","text-stroke"],colorful:!0,values:[]},{key:["text-stroke-width","text-stroke"],colorful:!1,values:[]},{key:["text-transform"],colorful:!1,values:["none"]},{key:["text-transform","text","t"],colorful:!1,values:["capitalize","lowercase","uppercase"]},{key:["text-underline-offset"],colorful:!1,values:[]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["list-style"],colorful:!1,values:[]},{key:["list-style-image","list-style"],colorful:!1,values:[{label:"url()",kind:e.CompletionItemKind.Function},{label:"linear-gradient()",kind:e.CompletionItemKind.Function},{label:"radial-gradient()",kind:e.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:e.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:e.CompletionItemKind.Function},{label:"conic-gradient()",kind:e.CompletionItemKind.Function}]},{key:["list-style-position","list-style"],colorful:!1,values:["inside","outside"]},{key:["list-style-type"],colorful:!1,values:["circle","square","decimal-leading-zero","lower-roman","lower-greek","lower-alpha","lower-latin","upper-roman","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian/khmer","cjk-earthly-branch","cjk-heavenly-stem","devanagari","georgian","gurmukhi","kannada","lao","malayalam","myanmar","oriya","telugu","thai"]},{key:["list-style-type","list-style"],colorful:!1,values:["none","disc","decimal"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["lines"],colorful:!1,values:[]},{key:["line-height","lh"],colorful:!1,values:[]},{key:["content"],colorful:!1,values:["normal","none","no-open-quote","no-close-quote",{label:"url()",kind:e.CompletionItemKind.Function},{label:"linear-gradient()",kind:e.CompletionItemKind.Function},{label:"image-set()",kind:e.CompletionItemKind.Function},{label:"counter()",kind:e.CompletionItemKind.Function},{label:"attr()",kind:e.CompletionItemKind.Function}]},{key:["vertical-align","v"],colorful:!1,values:["baseline","bottom","middle","sub","super","text-bottom","text-top","top"]},{key:["white-space"],colorful:!1,values:["break-spaces","normal","nowrap","pre","pre-line","pre-wrap"]},{key:["word-break"],colorful:!1,values:["normal","break-all","keep-all"]},{key:["word-spacing"],colorful:!1,values:[]},{key:["writing-mode"],colorful:!1,values:["horizontal-tb","vertical-rl","vertical-lr","lr","lr-tb","rl","rl-tb","tb","tb-rl"]},{key:["background","bg"],colorful:!1,values:[]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url()",kind:e.CompletionItemKind.Function},{label:"blur()",kind:e.CompletionItemKind.Function},{label:"brightness()",kind:e.CompletionItemKind.Function},{label:"contrast()",kind:e.CompletionItemKind.Function},{label:"grayscale()",kind:e.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:e.CompletionItemKind.Function},{label:"invert()",kind:e.CompletionItemKind.Function},{label:"sepia()",kind:e.CompletionItemKind.Function},{label:"saturate()",kind:e.CompletionItemKind.Function},{label:"opacity()",kind:e.CompletionItemKind.Function},{label:"drop-shadow()",kind:e.CompletionItemKind.Function}]},{key:["background-attachment","background","bg"],colorful:!1,values:["fixed","local","scroll"]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["background-clip","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-color","background","bg"],colorful:!0,values:["transparent"]},{key:["background-image","background","bg"],colorful:!1,values:[{label:"url()",kind:e.CompletionItemKind.Function},{label:"linear-gradient()",kind:e.CompletionItemKind.Function},{label:"radial-gradient()",kind:e.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:e.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:e.CompletionItemKind.Function},{label:"conic-gradient()",kind:e.CompletionItemKind.Function}]},{key:["background-origin","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-position","bg"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["background-repeat","bg"],colorful:!1,values:["repeat","no-repeat","repeat-x","repeat-y"]},{key:["background-size","background","bg"],colorful:!1,values:["auto","cover","contain"]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["border","border-top","border-bottom","border-left","border-right","b","bt","bb","bl","br","bx","by"],colorful:!1,values:[]},{key:["border-spacing"],colorful:!1,values:[]},{key:["border-color","border","border-top-color","border-bottom-color","border-left-color","border-right-color","b","bt","bb","bl","br","bx","by"],colorful:!0,values:[]},{key:["border-radius","r","rt","rb","rl","rr","border-top-left-radius","rlt","rtl","border-top-right-radius","rrt","rtr","border-bottom-left-radius","rlb","rbl","border-bottom-right-radius","rbr","rrb"],colorful:!1,values:[]},{key:["border-style","border","b","border-top-style","border-top","bt","border-bottom-style","border-bottom","bb","border-left-style","border-left","bl","border-right-style","border-right","br","bx","by"],colorful:!1,values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["border-width","border","b","border-top-width","border-top","bt","border-bottom-width","border-bottom","bb","border-left-width","border-left","bl","border-right-width","border-right","br","bx","by"],colorful:!1,values:[]},{key:["outline"],colorful:!1,values:[]},{key:["outline-color","outline"],colorful:!0,values:[]},{key:["outline-offset"],colorful:!1,values:[]},{key:["outline-style","outline"],colorful:!1,values:["none","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["outline-width","outline"],colorful:!1,values:["medium","thick","thin"]},{key:["shape-image-threshold"],colorful:!1,values:[]},{key:["shape-margin","shape"],colorful:!1,values:[{label:"max()",kind:e.CompletionItemKind.Function},{label:"min()",kind:e.CompletionItemKind.Function},{label:"calc()",kind:e.CompletionItemKind.Function},{label:"clamp()",kind:e.CompletionItemKind.Function}]},{key:["shape-outside","shape"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box",{label:"inset()",kind:e.CompletionItemKind.Function},{label:"circle()",kind:e.CompletionItemKind.Function},{label:"ellipse()",kind:e.CompletionItemKind.Function},{label:"polygon()",kind:e.CompletionItemKind.Function},{label:"url()",kind:e.CompletionItemKind.Function},{label:"linear-gradient()",kind:e.CompletionItemKind.Function}]},{key:["clip-path","clip"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box","fill-box","stroke-box","view-box",{label:"inset()",kind:e.CompletionItemKind.Function},{label:"circle()",kind:e.CompletionItemKind.Function},{label:"ellipse()",kind:e.CompletionItemKind.Function},{label:"polygon()",kind:e.CompletionItemKind.Function},{label:"path()",kind:e.CompletionItemKind.Function},{label:"url()",kind:e.CompletionItemKind.Function}]},{key:["aspect-ratio","aspect"],colorful:!1,values:[]},{key:["box-sizing","box"],colorful:!1,values:["content-box","border-box"]},{key:["width","w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-width","min-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-width","max-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["height","h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-height","min-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-height","max-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["margin-top","mt","margin-bottom","mb","margin-left","ml","margin-right","mr","margin","m","mx","my"],colorful:!1,values:[]},{key:["padding-top","pt","padding-bottom","pb","padding-left","pl","padding-right","pr","padding","p","px","py"],colorful:!1,values:[]},{key:["word-spacing"],colorful:!1,values:[]},{key:["transition"],colorful:!1,values:[]},{key:["transition-delay","~delay"],colorful:!1,values:[]},{key:["transition-duration","~duration"],colorful:!1,values:[]},{key:["transition-property","~property"],colorful:!1,values:[]},{key:["transition-timing-function","~easing"],colorful:!1,values:["ease","ease-in","ease-out","linear","step-start","step-end",{label:"steps(,)",kind:e.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:e.CompletionItemKind.Function},{label:"frames()",kind:e.CompletionItemKind.Function}]},{key:["transform"],colorful:!1,values:[{label:"translate()",kind:e.CompletionItemKind.Function},{label:"translate3d()",kind:e.CompletionItemKind.Function},{label:"translateX()",kind:e.CompletionItemKind.Function},{label:"translateY()",kind:e.CompletionItemKind.Function},{label:"translateZ()",kind:e.CompletionItemKind.Function},{label:"scale()",kind:e.CompletionItemKind.Function},{label:"scale3d()",kind:e.CompletionItemKind.Function},{label:"scaleX()",kind:e.CompletionItemKind.Function},{label:"scaleY()",kind:e.CompletionItemKind.Function},{label:"scaleZ()",kind:e.CompletionItemKind.Function},{label:"skew()",kind:e.CompletionItemKind.Function},{label:"skewX()",kind:e.CompletionItemKind.Function},{label:"skewY()",kind:e.CompletionItemKind.Function},{label:"rotate()",kind:e.CompletionItemKind.Function},{label:"rotate3d()",kind:e.CompletionItemKind.Function},{label:"rotateX()",kind:e.CompletionItemKind.Function},{label:"rotateY()",kind:e.CompletionItemKind.Function},{label:"rotateZ()",kind:e.CompletionItemKind.Function},{label:"perspective()",kind:e.CompletionItemKind.Function},{label:"matrix()",kind:e.CompletionItemKind.Function},{label:"matrix3d()",kind:e.CompletionItemKind.Function}]},{key:["transform-box","transform"],colorful:!1,values:["content-box","fill-box","stroke-box","view-box","border-box"]},{key:["transform-origin","transform"],colorful:!1,values:["top","bottom","right","left","center"]},{key:["transform-style","transform"],colorful:!1,values:["flat","preserve-3d"]},{key:["animation"],colorful:!1,values:[]},{key:["animation-delay","@delay"],colorful:!1,values:[]},{key:["animation-direction","@direction"],colorful:!1,values:["normal","reverse","alternate","alternate-reverse"]},{key:["animation-duration","@duration"],colorful:!1,values:[]},{key:["animation-fill-mode","@fill-mode"],colorful:!1,values:["none","forwards","backwards","both"]},{key:["animation-iteration-count","@iteration-count"],colorful:!1,values:["infinite"]},{key:["animation-name","@name"],colorful:!1,values:[]},{key:["animation-play-state","@play-state"],colorful:!1,values:["running","paused"]},{key:["animation-timing-function","@easing"],colorful:!1,values:["ease","ease-in","ease-out","ease-in-out","linear","step-start","step-end",{label:"steps(,)",kind:e.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:e.CompletionItemKind.Function},{label:"frames()",kind:e.CompletionItemKind.Function}]},{key:["fill"],colorful:!0,values:[]},{key:["stroke"],colorful:!0,values:[]},{key:["stroke-width"],colorful:!1,values:[]},{key:["opacity"],colorful:!1,values:[]},{key:["visibility"],colorful:!1,values:["visible","invisible","collapse"]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url(svg)",kind:e.CompletionItemKind.Function},{label:"blur()",kind:e.CompletionItemKind.Function},{label:"brightness()",kind:e.CompletionItemKind.Function},{label:"contrast()",kind:e.CompletionItemKind.Function},{label:"grayscale()",kind:e.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:e.CompletionItemKind.Function},{label:"invert()",kind:e.CompletionItemKind.Function},{label:"sepia()",kind:e.CompletionItemKind.Function},{label:"saturate()",kind:e.CompletionItemKind.Function},{label:"opacity()",kind:e.CompletionItemKind.Function},{label:"drop-shadow()",kind:e.CompletionItemKind.Function}]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["box-shadow","shadow","s"],colorful:!0,values:["inset"]},{key:["filter"],colorful:!1,values:["none",{label:"url()",kind:e.CompletionItemKind.Function},{label:"blur()",kind:e.CompletionItemKind.Function},{label:"brightness()",kind:e.CompletionItemKind.Function},{label:"contrast()",kind:e.CompletionItemKind.Function},{label:"drop-shadow()",kind:e.CompletionItemKind.Function},{label:"grayscale()",kind:e.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:e.CompletionItemKind.Function},{label:"invert()",kind:e.CompletionItemKind.Function},{label:"opacity()",kind:e.CompletionItemKind.Function},{label:"saturate()",kind:e.CompletionItemKind.Function},{label:"sepia()",kind:e.CompletionItemKind.Function}]},{key:["mask-image"],colorful:!1,values:[]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y"],colorful:!1,values:["auto","none","contain"]},{key:["scroll-behavior"],colorful:!1,values:["auto","smooth"]},{key:["scroll-margin","scroll-m","scroll-margin-top","scroll-mt","scroll-margin-bottom","scroll-mb","scroll-margin-left","scroll-ml","scroll-margin-right","scroll-mr","scroll-mx","scroll-my"],colorful:!1,values:[]},{key:["scroll-padding","scroll-p","scroll-padding","scroll-padding-top","scroll-pt","scroll-padding-bottom","scroll-pb","scroll-padding-left","scroll-pl","scroll-padding-right","scroll-pr","scroll-px","scroll-py"],colorful:!1,values:[]},{key:["scroll-snap-align","scroll-snap"],colorful:!1,values:["center","end","start","none"]},{key:["scroll-snap-stop","scroll-snap"],colorful:!1,values:["always","normal"]},{key:["scroll-snap-type"],colorful:!1,values:["none"]},{key:["scroll-snap-type","scroll-snap"],colorful:!1,values:["x","y","both","block","inline","x|mandatory","y|proximity","both|mandatory"]},{key:["pointer-events"],colorful:!1,values:["auto","none","visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","bounding-box"]},{key:["resize"],colorful:!1,values:["auto","none","both","horizontal","vertical","block","inline"]},{key:["touch-action"],colorful:!1,values:["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-zoom","manipulation"]},{key:["user-drag"],colorful:!1,values:["auto","none","element"]},{key:["user-select"],colorful:!1,values:["all","auto","none","text"]},{key:["contain"],colorful:!1,values:["none","strict","content","size","layout","style","paint"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["will-change"],colorful:!1,values:[]},{key:["$"],colorful:!1,values:[]}],le=[{type:"color",values:["#",{label:"rgb()",kind:e.CompletionItemKind.Function},{label:"hsl()",kind:e.CompletionItemKind.Function}]}];var k=require("vscode-languageserver/node"),X=A(require("@master/css")),ne=require("pascal-case"),j=[];j=j.concat(ee);O.forEach(t=>{j=j.concat(t.key)});var D=[...new Set(j)];function oe(t,l){let a=t.textDocument.uri,r=a.substring(a.lastIndexOf(".")+1),n=t.position,o=/(?:[^"{'\s])+(?=>\s|\b)/g,u,i="",d=l.get(a),m=d?.getText({start:{line:n.line,character:0},end:{line:n.line,character:n.character}}),c=m??"";c=c.trim();let f=d?.getText({start:{line:0,character:0},end:{line:n.line,character:n.character}});if(c.match(o)===null)return{isInstance:!1,lastKey:"",triggerKey:"",isStart:!1,language:r};for(;(u=o.exec(c))!==null;)i=u[0];let F=c.charAt(c.length-1),P=n.character==1||c.charAt(c.length-2)===" "||c.charAt(c.length-2)===""||c.charAt(c.length-2)==='"'||c.charAt(c.length-2)==="'"||c.charAt(c.length-2)==="{";return c.charAt(c.length-2)===":"&&c.charAt(c.length-1)===":"&&(F="::",P=!1),{isInstance:!0,lastKey:i,triggerKey:F,isStart:P,language:r}}function re(t,l,a,r,n=new X.default){let o=[],u=t.split(":").length,i=t.split(":")[0];i=i.trim();let d=t.split(":|@").length,m=t.split(":|@")[d-1],c=/[^\\s"]+@+([^\\s:"@]+)/g,f=/[^\\s"]+::+([^\\s:"@]+)/g,F=!1,P=!(c.exec(t)===null&&l!=="@"),K=!(f.exec(t)===null&&l!=="::"),C=[],$=Object.keys(n.config.selectors??{}).map(s=>s.endsWith("(")?`${s})`:s).filter(s=>s.match(/:[^:]+/)&&!N.find(g=>(typeof g=="string"?g:g.label)===`:${s}`)).map(s=>(s=s.substring(1),s.endsWith(")")?{label:s,kind:k.CompletionItemKind.Function}:s)),b=Object.keys(n.config.selectors??{}).map(s=>s.endsWith("(")?`${s})`:s).filter(s=>s.match(/::[^:]+/)&&!V.find(g=>(typeof g=="string"?g:g.label)===`::${s}`)).map(s=>(s=s.substring(2),s.endsWith(")")?{label:s,kind:k.CompletionItemKind.Function}:s));return O.forEach(s=>{if(s.key.includes(i)){C=C.concat(s.values.filter(M=>!C.find(y=>(typeof y=="string"?y:y.label)===(typeof M=="string"?M:M.label))));let g=(0,ne.pascalCase)(s.key[0]);if(n.config.values?.[g]){let M=Object.keys(n.config.values[g]);C=C.concat(M.filter(y=>!C.find(p=>(typeof p=="string"?p:p.label)===y)))}if(s.colorful){F=!0;let M=le.find(y=>y.type==="color")?.values.filter(y=>!C.find(p=>(typeof p=="string"?p:p.label)===(typeof y=="string"?y:y.label)));M&&(C=C.concat(M))}}}),a==!0&&l!=="@"&&l!==":"?(o=o.concat(x(D,k.CompletionItemKind.Property,":")),o=o.concat(x(Object.keys(n.config.semantics??{}),k.CompletionItemKind.Property)),r=="tsx"||r=="vue"||r=="jsx"?z(i,o):o):a==!0?[]:!D.includes(i)&&l!==":"?(o=o.concat(x(D,k.CompletionItemKind.Property,":")),o=o.concat(x(Object.keys(n.config.semantics??{}),k.CompletionItemKind.Property)),r=="tsx"||r=="vue"||r=="jsx"?z(i,o):o):D.includes(i)&&i!==null&&K===!0?(o=o.concat(x(V,k.CompletionItemKind.Property)),o=o.concat(x(b,k.CompletionItemKind.Property)),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?z(m,o):o):D.includes(i)&&i!==null&&P===!0?(o=o.concat(x(J,k.CompletionItemKind.Property)),o=o.concat(x(Object.keys(n.config.breakpoints??{}),k.CompletionItemKind.Property)),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?z("@"+m,o):o):Object.keys(n.config.semantics??{}).includes(i)&&!O.find(s=>s.key.includes(i))?(o=o.concat(x(N,k.CompletionItemKind.Property)),o=o.concat(x($,k.CompletionItemKind.Property)),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?z(m,o):o):D.includes(i)&&u<=2&&!(u==2&&l===":")?(o=o.concat(x(C,k.CompletionItemKind.Enum)),o=o.concat(x(te,k.CompletionItemKind.Enum).map(s=>(s.sortText="z"+s,s))),F&&(o=o.concat(Se(n))),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?z(m,o):o):((D.includes(i)&&(u==2&&l===":"||u>=3)||O.find(s=>s.values.includes(i)))&&(o=o.concat(x(N,k.CompletionItemKind.Function)),o=o.concat(x($,k.CompletionItemKind.Property))),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?z(m,o):o)}function x(t,l,a=""){let r=[];return t.forEach(n=>{typeof n=="string"?r.push({label:n+a,kind:l,insertText:n+a,insertTextMode:2,command:a===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0}):r.push({insertText:n.label+a,insertTextMode:2,command:a===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0,...n})}),r}function Se(t=new X.default){let l=[];return Object.keys(t.colorThemesMap).forEach(a=>{let r=t.colorThemesMap[a];l.push({label:a,documentation:Object.values(r)[0],kind:k.CompletionItemKind.Color,sortText:`${a}`})}),l}function z(t,l){let a=[];if(t.split("-").length-1<=0)return l;{let r=t.split("-")[0]+"-";return l.map(n=>{n.label.includes(r)&&a.push({label:n.label,kind:n.kind,insertText:n.insertText?.substring(r.length),insertTextMode:n.insertTextMode,command:n.command})}),a}}var U=A(require("@master/css")),ae=require("js-beautify");function se(t,l,a=new U.default){let r=(0,U.render)(t.split(" "),a.config);return!r||r==" "?null:{contents:{language:"css",value:(0,ae.css_beautify)(r,{newline_between_rules:!0,end_with_newline:!0})},range:l}}var E=require("vscode-languageserver/node");var G=/[^\s:]+:\w*\(?((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)\)?|[^\s"'`]+/g;function H(t,l,a,r){let n={IsMatch:!1,PositionIndex:0,classStartIndex:0,classEndIndex:0,classString:"",instance:{range:{start:E.Position.create(0,0),end:E.Position.create(0,0)},instanceString:""},instanceList:[]},o=a.get(t),u=o?.getText()??"",i=o?.offsetAt(l)??0,d=o?.offsetAt({line:l.line-100,character:0})??0,m=o?.offsetAt({line:l.line+100,character:0})??void 0;u=u.substring(d,m);let c,f;return n.PositionIndex=i,r.forEach(F=>{let P=new RegExp(F,"g");for(;(f=P.exec(u))!==null;)if(f.index<=i&&f.index+f[0].length-1>=i){for(n.IsMatch=!0,n.PositionIndex=i,n.classStartIndex=f.index,n.classEndIndex=f.index+f[0].length-1,n.classString=f[0];(c=G.exec(f[2]))!==null;)n.instanceList.push({range:{start:o?.positionAt(f.index+f[1].length+c.index)??E.Position.create(0,0),end:o?.positionAt(f.index+f[1].length+c.index+c[0].length)??E.Position.create(0,0)},instanceString:c[0]}),f.index+f[1].length+c.index<=i&&f.index+f[1].length+c.index+c[0].length>=i&&(n.instance={range:{start:o?.positionAt(f.index+f[1].length+c.index)??E.Position.create(0,0),end:o?.positionAt(f.index+f[1].length+c.index+c[0].length)??E.Position.create(0,0)},instanceString:c[0]});return n}else if(f.index>i)break}),n}var h=require("vscode-languageserver/node"),Y=A(require("@master/css"));function L(t){let l=t.replace("#","").match(/.{1,2}/g);return{red:parseInt(l?.[0]??"0",16),green:parseInt(l?.[1]??"0",16),blue:parseInt(l?.[2]??"0",16),alpha:parseInt(l?.[3]??"FF",16)}}async function ce(t,l){let a=[],r=t.textDocument.uri,n=l.get(r),o=n?.getText()??"";if(typeof n==null)return[];let u,i=/(:\s*)'#([0-9a-fA-F]{6,8})'/g,d,m=new RegExp("(?<=colors:\\s*{\\s*.*)([^}]*)}","g");for(;(u=m.exec(o))!==null;)for(;d=i.exec(u[0]);){let c={range:{start:n?.positionAt(u.index+d.index+d[1].length)??h.Position.create(0,0),end:n?.positionAt(u.index+d.index+d[0].length-1)??h.Position.create(0,0)},color:W(L(d[2]))};a.push(c)}return a}async function ue(t,l,a,r=new Y.default){let n=[],o=t.textDocument.uri,u=l.get(o),i=u?.getText()??"";if(typeof u==null)return[];let d=Object.keys(r.colorThemesMap),m;for(;(m=G.exec(i))!==null;){let f=m.index,F=r.themeNames.find(p=>m?.[0]?.endsWith(`@${p}`))??"",P=/(?<=[:;|])(?:#?\w+(?:-[\d]{1,2})?(?:\/.?[\d]*)?(?:\([^\s)]+\))?)/g,K=/rgba?\(([\d.]+),([\d.]+),([\d.]+)(?:,([\d.]+))?\)/g,C=/hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,([\d.]+))?\)/g,$=/#([0-9a-fA-F]{6,8})/g,b,s,g,M,y;for(;(b=P.exec(m[0]))!==null;){if(s=K.exec(b[0])){let p={range:{start:u?.positionAt(f+b.index)??h.Position.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??h.Position.create(0,0)},color:W({red:Number(s[1]),green:Number(s[2]),blue:Number(s[3]),alpha:s[4]==null?1:Number(s[4])})};n.push(p)}else if(s=C.exec(b[0])){let p={range:{start:u?.positionAt(f+b.index)??h.Position.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??h.Position.create(0,0)},color:W(Me(Number(s[1]),Number(s[2]),Number(s[3]),s[4]==null?1:Number(s[4])))};n.push(p)}else if(s=$.exec(b[0])){let p={range:{start:u?.positionAt(f+b.index)??h.Position.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??h.Position.create(0,0)},color:W(L(s[1]))};n.push(p)}if(y=1,b[0].split("/").length==2&&(y=Number("0"+b[0].split("/")[1])),b[0].split("-").length==1){if(g=b[0].split("/")[0],g=g.endsWith("_")?g.replace("_",""):g,d.find(p=>p==g)){let p={range:{start:u?.positionAt(f+b.index)??h.Position.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??h.Position.create(0,0)},color:ie(g,y,F,r)};n.push(p)}}else if(b[0].split("-").length==2){if(g=b[0],d.find(p=>p==g)){let p={range:{start:u?.positionAt(f+b.index)??h.Position.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??h.Position.create(0,0)},color:ie(g,y,F,r)};n.push(p)}}else if(b[0].split("-").length!=2)continue}}let c=new Set;return n=n.filter(f=>c.has(u?.offsetAt(f.range.start))?!1:(c.add(u?.offsetAt(f.range.start)),!0)),n}function ie(t,l=1,a="",r=new Y.default){try{let n=r.colorThemesMap[t],o=L(n[a]??n[""]??Object.values(n)[0]);return{red:o.red/255,green:o.green/255,blue:o.blue/255,alpha:l}}catch{return{red:0,green:0,blue:0,alpha:1}}}function v(t){let l=t.toString(16);return l.length!==2?"0"+l:l}function Te(t){let l=t.red,a=t.green,r=t.blue,n=t.alpha,o=Math.max(l,a,r),u=Math.min(l,a,r),i=0,d=0,m=(u+o)/2,c=o-u;if(c>0){switch(d=Math.min(m<=.5?c/(2*m):c/(2-2*m),1),o){case l:i=(a-r)/c+(a<r?6:0);break;case a:i=(r-l)/c+2;break;case r:i=(l-a)/c+4;break}i*=60,i=Math.round(i)}return{h:i,s:d,l:m,a:n}}function Me(t,l,a,r){a/=100;let n=i=>(i+t/30)%12,o=l/100*Math.min(a,1-a),u=i=>a-o*Math.max(-1,Math.min(n(i)-3,Math.min(9-n(i),1)));return{red:255*u(0),green:255*u(8),blue:255*u(4),alpha:r??1}}function W(t){return{red:t.red/255,green:t.green/255,blue:t.blue/255,alpha:t.alpha}}function fe(t,l=!1){let a=[],r=t.color,n=t.range,o=Math.round(r.red*255),u=Math.round(r.green*255),i=Math.round(r.blue*255),d;if(l)return r.alpha===1?d=`'#${v(o)}${v(u)}${v(i)}`:d=`'#${v(o)}${v(u)}${v(i)}${v(Math.round(r.alpha*255))}`,a.push({label:d,textEdit:h.TextEdit.replace(n,d)}),a;r.alpha===1?d=`rgb(${o},${u},${i})`:d=`rgba(${o},${u},${i},${r.alpha})`,a.push({label:d,textEdit:h.TextEdit.replace(n,d)}),r.alpha===1?d=`#${v(o)}${v(u)}${v(i)}`:d=`#${v(o)}${v(u)}${v(i)}${v(Math.round(r.alpha*255))}`,a.push({label:d,textEdit:h.TextEdit.replace(n,d)});let m=Te(r);return m.a===1?d=`hsl(${m.h},${Math.round(m.s*100)}%,${Math.round(m.l*100)}%)`:d=`hsla(${m.h},${Math.round(m.s*100)}%,${Math.round(m.l*100)}%,${m.a})`,a.push({label:d,textEdit:h.TextEdit.replace(n,d)}),a}var w=(0,T.createConnection)(T.ProposedFeatures.all),S=new T.TextDocuments(ge.TextDocument),_=!1,de=!1,Pe=!1,I,R,ke={languages:["html","php","javascript","typescript","javascriptreact","typescriptreact","vue","svelte","rust"],classNameMatches:["(class(?:Name)?\\s?=\\s?)((?:\"[^\"]+\")|(?:'[^']+')|(?:`[^`]+`))","(class(?:Name)?={)([^}]*)}","(?:(\\$|(?:element\\.[^\\s.`]+)`)([^`]+)`)","(classList.(?:add|remove|replace|replace|toggle)\\()([^)]*)\\)"],files:{exclude:["**/.git/**","**/node_modules/**","**/.hg/**"]},suggestions:!0,PreviewOnHovers:!0,PreviewColor:!0},he=ke,q=new Map;w.onDidChangeConfiguration(t=>{_?q.clear():he=t.settings.languageServerExample||ke,S.all().forEach(ye)});async function Ae(t){if(!_)return Promise.resolve(he);let l=q.get(t);l||(l=w.workspace.getConfiguration({scopeUri:t,section:"masterCSS"}),q.set(t,l)),w.workspace.getWorkspaceFolders();let a=await w.workspace.getWorkspaceFolders(),r;if(a?.length===1?r=a[0]:r=a?.find(n=>t.includes(n.uri)),r?.uri)try{try{let n=await new me.default({cwd:(0,be.default)(r.uri.replace("%3A",":"))}).init();R=new Z.default(n.css.config)}catch{R=new Z.default}}catch{}return l}S.onDidClose(t=>{q.delete(t.document.uri)});S.onDidOpen(t=>{ye(t.document)});async function ye(t){I=await Ae(t.uri)}w.onInitialize(t=>{let l=t.capabilities;_=!!(l.workspace&&l.workspace.configuration),de=!!(l.workspace&&l.workspace.workspaceFolders),Pe=!!(l.textDocument&&l.textDocument.publishDiagnostics&&l.textDocument.publishDiagnostics.relatedInformation);let a={capabilities:{textDocumentSync:T.TextDocumentSyncKind.Incremental,completionProvider:{resolveProvider:!0,workDoneProgress:!1,triggerCharacters:[":","@","~"]},colorProvider:{},hoverProvider:!0}};return de&&(a.capabilities.workspace={workspaceFolders:{supported:!0}}),a});w.onInitialized(()=>{_&&w.client.register(T.DidChangeConfigurationNotification.type,void 0)});w.onCompletion(t=>{if(I.suggestions==!0&&B(t.textDocument.uri)){let l=H(t.textDocument.uri,t.position,S,I.classNameMatches).IsMatch,a=oe(t,S);if(a.isInstance==!0&&l==!0)return re(a.lastKey,a.triggerKey,a.isStart,a.language,R)}return[]});w.onCompletionResolve(t=>t);w.onDocumentColor(async t=>{if(I==null)return[];if(I.PreviewColor==!0&&B(t.textDocument.uri)){let l=await ue(t,S,I.classNameMatches,R);return l=l.concat(await ce(t,S)),l}return[]});w.onColorPresentation(t=>{if(I.PreviewColor==!0&&B(t.textDocument.uri)){let l=["(?<=colors:\\s*{\\s*.*)([^}]*)}"],a=H(t.textDocument.uri,t.range.start,S,l);return fe(t,a.IsMatch)}return[]});w.onHover(t=>{if(I.PreviewOnHovers==!0&&B(t.textDocument.uri)){let l=H(t.textDocument.uri,t.position,S,I.classNameMatches);if(l.IsMatch)return se(l.instance.instanceString,l.instance.range,R)}return null});function B(t){for(let l of I.files.exclude)if((0,pe.default)(t,l))return!1;return!0}S.listen(w);w.listen();
|
|
1
|
+
var Hbe=Object.create;var fh=Object.defineProperty;var Vbe=Object.getOwnPropertyDescriptor;var Gbe=Object.getOwnPropertyNames;var Kbe=Object.getPrototypeOf,Ybe=Object.prototype.hasOwnProperty;var Qbe=(t,e)=>()=>(t&&(e=t(t=0)),e);var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Jbe=(t,e)=>{for(var r in e)fh(t,r,{get:e[r],enumerable:!0})},dN=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Gbe(e))!Ybe.call(t,i)&&i!==r&&fh(t,i,{get:()=>e[i],enumerable:!(n=Vbe(e,i))||n.enumerable});return t};var ut=(t,e,r)=>(r=t!=null?Hbe(Kbe(t)):{},dN(e||!t||!t.__esModule?fh(r,"default",{value:t,enumerable:!0}):r,t)),Xbe=t=>dN(fh({},"__esModule",{value:!0}),t);var ph=m(mN=>{var UE="2.0.1",pN,dh,hN,VE,GE,Ja,rc,tc,HE,Xa,Rr,gN=[].slice,Zbe=[].indexOf||function(t){for(var e=0,r=this.length;e<r;e++)if(e in this&&this[e]===t)return e;return-1},e0e={}.hasOwnProperty;rc=require("path");hN=function(t){return typeof t=="function"};VE=function(t){return typeof t=="string"||!!t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object String]"};Rr=mN;Rr.VERSION=typeof UE<"u"&&UE!==null?UE:"NO-VERSION";Xa=function(t){return t=t.replace(/\\/g,"/"),t=t.replace(/(?<!^)\/+/g,"/"),t};for(tc in rc)HE=rc[tc],hN(HE)?Rr[tc]=function(t){return function(){var e,r;return e=1<=arguments.length?gN.call(arguments,0):[],e=e.map(function(n){return VE(n)?Xa(n):n}),r=rc[t].apply(rc,e),VE(r)?Xa(r):r}}(tc):Rr[tc]=HE;Rr.sep="/";dh={toUnix:Xa,normalizeSafe:function(t){var e;return t=Xa(t),e=Rr.normalize(t),t.startsWith("./")&&!e.startsWith("./")&&!e.startsWith("..")?e="./"+e:t.startsWith("//")&&!e.startsWith("//")&&(t.startsWith("//./")?e="//."+e:e="/"+e),e},normalizeTrim:function(t){return t=Rr.normalizeSafe(t),t.endsWith("/")?t.slice(0,+(t.length-2)+1||9e9):t},joinSafe:function(){var t,e,r;return t=1<=arguments.length?gN.call(arguments,0):[],r=Rr.join.apply(null,t),t.length>0&&(e=Xa(t[0]),e.startsWith("./")&&!r.startsWith("./")&&!r.startsWith("..")?r="./"+r:e.startsWith("//")&&!r.startsWith("//")&&(e.startsWith("//./")?r="//."+r:r="/"+r)),r},addExt:function(t,e){return e?(e[0]!=="."&&(e="."+e),t+(t.endsWith(e)?"":e)):t},trimExt:function(t,e,r){var n;return r==null&&(r=7),n=Rr.extname(t),GE(n,e,r)?t.slice(0,+(t.length-n.length-1)+1||9e9):t},removeExt:function(t,e){return e?(e=e[0]==="."?e:"."+e,Rr.extname(t)===e?Rr.trimExt(t,[],e.length):t):t},changeExt:function(t,e,r,n){return n==null&&(n=7),Rr.trimExt(t,r,n)+(e?e[0]==="."?e:"."+e:"")},defaultExt:function(t,e,r,n){var i;return n==null&&(n=7),i=Rr.extname(t),GE(i,r,n)?t:Rr.addExt(t,e)}};GE=function(t,e,r){return e==null&&(e=[]),t&&t.length<=r&&Zbe.call(e.map(function(n){return(n&&n[0]!=="."?".":"")+n}),t)<0};for(Ja in dh)if(e0e.call(dh,Ja)){if(pN=dh[Ja],Rr[Ja]!==void 0)throw new Error("path."+Ja+" already exists.");Rr[Ja]=pN}});var E5=m(eu=>{"use strict";Object.defineProperty(eu,"__esModule",{value:!0});eu.splitWhen=eu.flatten=void 0;function L0e(t){return t.reduce((e,r)=>[].concat(e,r),[])}eu.flatten=L0e;function I0e(t,e){let r=[[]],n=0;for(let i of t)e(i)?(n++,r[n]=[]):r[n].push(i);return r}eu.splitWhen=I0e});var C5=m(fg=>{"use strict";Object.defineProperty(fg,"__esModule",{value:!0});fg.isEnoentCodeError=void 0;function N0e(t){return t.code==="ENOENT"}fg.isEnoentCodeError=N0e});var D5=m(dg=>{"use strict";Object.defineProperty(dg,"__esModule",{value:!0});dg.createDirentFromStats=void 0;var oO=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function j0e(t,e){return new oO(t,e)}dg.createDirentFromStats=j0e});var O5=m(vi=>{"use strict";Object.defineProperty(vi,"__esModule",{value:!0});vi.removeLeadingDotSegment=vi.escape=vi.makeAbsolute=vi.unixify=void 0;var $0e=require("path"),B0e=2,W0e=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function z0e(t){return t.replace(/\\/g,"/")}vi.unixify=z0e;function U0e(t,e){return $0e.resolve(t,e)}vi.makeAbsolute=U0e;function H0e(t){return t.replace(W0e,"\\$2")}vi.escape=H0e;function V0e(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(B0e)}return t}vi.removeLeadingDotSegment=V0e});var R5=m((KDt,q5)=>{q5.exports=function(e){if(typeof e!="string"||e==="")return!1;for(var r;r=/(\\).|([@?!+*]\(.*\))/g.exec(e);){if(r[2])return!0;e=e.slice(r.index+r[0].length)}return!1}});var T5=m((YDt,P5)=>{var G0e=R5(),A5={"{":"}","(":")","[":"]"},K0e=function(t){if(t[0]==="!")return!0;for(var e=0,r=-2,n=-2,i=-2,s=-2,o=-2;e<t.length;){if(t[e]==="*"||t[e+1]==="?"&&/[\].+)]/.test(t[e])||n!==-1&&t[e]==="["&&t[e+1]!=="]"&&(n<e&&(n=t.indexOf("]",e)),n>e&&(o===-1||o>n||(o=t.indexOf("\\",e),o===-1||o>n)))||i!==-1&&t[e]==="{"&&t[e+1]!=="}"&&(i=t.indexOf("}",e),i>e&&(o=t.indexOf("\\",e),o===-1||o>i))||s!==-1&&t[e]==="("&&t[e+1]==="?"&&/[:!=]/.test(t[e+2])&&t[e+3]!==")"&&(s=t.indexOf(")",e),s>e&&(o=t.indexOf("\\",e),o===-1||o>s))||r!==-1&&t[e]==="("&&t[e+1]!=="|"&&(r<e&&(r=t.indexOf("|",e)),r!==-1&&t[r+1]!==")"&&(s=t.indexOf(")",r),s>r&&(o=t.indexOf("\\",r),o===-1||o>s))))return!0;if(t[e]==="\\"){var a=t[e+1];e+=2;var u=A5[a];if(u){var l=t.indexOf(u,e);l!==-1&&(e=l+1)}if(t[e]==="!")return!0}else e++}return!1},Y0e=function(t){if(t[0]==="!")return!0;for(var e=0;e<t.length;){if(/[*?{}()[\]]/.test(t[e]))return!0;if(t[e]==="\\"){var r=t[e+1];e+=2;var n=A5[r];if(n){var i=t.indexOf(n,e);i!==-1&&(e=i+1)}if(t[e]==="!")return!0}else e++}return!1};P5.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(G0e(e))return!0;var n=K0e;return r&&r.strict===!1&&(n=Y0e),n(e)}});var F5=m((QDt,M5)=>{"use strict";var Q0e=T5(),J0e=require("path").posix.dirname,X0e=require("os").platform()==="win32",aO="/",Z0e=/\\/g,eve=/[\{\[].*[\}\]]$/,tve=/(^|[^\\])([\{\[]|\([^\)]+$)/,rve=/\\([\!\*\?\|\[\]\(\)\{\}])/g;M5.exports=function(e,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&X0e&&e.indexOf(aO)<0&&(e=e.replace(Z0e,aO)),eve.test(e)&&(e+=aO),e+="a";do e=J0e(e);while(Q0e(e)||tve.test(e));return e.replace(rve,"$1")}});var pg=m(An=>{"use strict";An.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;An.find=(t,e)=>t.nodes.find(r=>r.type===e);An.exceedsLimit=(t,e,r=1,n)=>n===!1||!An.isInteger(t)||!An.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=n;An.escapeNode=(t,e=0,r)=>{let n=t.nodes[e];n&&(r&&n.type===r||n.type==="open"||n.type==="close")&&n.escaped!==!0&&(n.value="\\"+n.value,n.escaped=!0)};An.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);An.isInvalidBrace=t=>t.type!=="brace"?!1:t.invalid===!0||t.dollar?!0:!(t.commas>>0+t.ranges>>0)||t.open!==!0||t.close!==!0?(t.invalid=!0,!0):!1;An.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;An.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);An.flatten=(...t)=>{let e=[],r=n=>{for(let i=0;i<n.length;i++){let s=n[i];Array.isArray(s)?r(s,e):s!==void 0&&e.push(s)}return e};return r(t),e}});var hg=m((XDt,I5)=>{"use strict";var L5=pg();I5.exports=(t,e={})=>{let r=(n,i={})=>{let s=e.escapeInvalid&&L5.isInvalidBrace(i),o=n.invalid===!0&&e.escapeInvalid===!0,a="";if(n.value)return(s||o)&&L5.isOpenOrClose(n)?"\\"+n.value:n.value;if(n.value)return n.value;if(n.nodes)for(let u of n.nodes)a+=r(u);return a};return r(t)}});var j5=m((ZDt,N5)=>{"use strict";N5.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var K5=m((eOt,G5)=>{"use strict";var $5=j5(),Eo=(t,e,r)=>{if($5(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if($5(e)===!1)throw new TypeError("toRegexRange: expected the second argument to be a number.");let n={relaxZeros:!0,...r};typeof n.strictZeros=="boolean"&&(n.relaxZeros=n.strictZeros===!1);let i=String(n.relaxZeros),s=String(n.shorthand),o=String(n.capture),a=String(n.wrap),u=t+":"+e+"="+i+s+o+a;if(Eo.cache.hasOwnProperty(u))return Eo.cache[u].result;let l=Math.min(t,e),c=Math.max(t,e);if(Math.abs(l-c)===1){let y=t+"|"+e;return n.capture?`(${y})`:n.wrap===!1?y:`(?:${y})`}let f=V5(t)||V5(e),d={min:t,max:e,a:l,b:c},p=[],h=[];if(f&&(d.isPadded=f,d.maxLen=String(d.max).length),l<0){let y=c<0?Math.abs(c):1;h=B5(y,Math.abs(l),d,n),l=d.a=0}return c>=0&&(p=B5(l,c,d,n)),d.negatives=h,d.positives=p,d.result=nve(h,p,n),n.capture===!0?d.result=`(${d.result})`:n.wrap!==!1&&p.length+h.length>1&&(d.result=`(?:${d.result})`),Eo.cache[u]=d,d.result};function nve(t,e,r){let n=uO(t,e,"-",!1,r)||[],i=uO(e,t,"",!1,r)||[],s=uO(t,e,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function ive(t,e){let r=1,n=1,i=z5(t,r),s=new Set([e]);for(;t<=i&&i<=e;)s.add(i),r+=1,i=z5(t,r);for(i=U5(e+1,n)-1;t<i&&i<=e;)s.add(i),n+=1,i=U5(e+1,n)-1;return s=[...s],s.sort(ave),s}function sve(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let n=ove(t,e),i=n.length,s="",o=0;for(let a=0;a<i;a++){let[u,l]=n[a];u===l?s+=u:u!=="0"||l!=="9"?s+=uve(u,l,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function B5(t,e,r,n){let i=ive(t,e),s=[],o=t,a;for(let u=0;u<i.length;u++){let l=i[u],c=sve(String(o),String(l),n),f="";if(!r.isPadded&&a&&a.pattern===c.pattern){a.count.length>1&&a.count.pop(),a.count.push(c.count[0]),a.string=a.pattern+H5(a.count),o=l+1;continue}r.isPadded&&(f=lve(l,r,n)),c.string=f+c.pattern+H5(c.count),s.push(c),o=l+1,a=c}return s}function uO(t,e,r,n,i){let s=[];for(let o of t){let{string:a}=o;!n&&!W5(e,"string",a)&&s.push(r+a),n&&W5(e,"string",a)&&s.push(r+a)}return s}function ove(t,e){let r=[];for(let n=0;n<t.length;n++)r.push([t[n],e[n]]);return r}function ave(t,e){return t>e?1:e>t?-1:0}function W5(t,e,r){return t.some(n=>n[e]===r)}function z5(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function U5(t,e){return t-t%Math.pow(10,e)}function H5(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function uve(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function V5(t){return/^-?(0+)\d/.test(t)}function lve(t,e,r){if(!e.isPadded)return t;let n=Math.abs(e.maxLen-String(t).length),i=r.relaxZeros!==!1;switch(n){case 0:return"";case 1:return i?"0?":"0";case 2:return i?"0{0,2}":"00";default:return i?`0{0,${n}}`:`0{${n}}`}}Eo.cache={};Eo.clearCache=()=>Eo.cache={};G5.exports=Eo});var fO=m((tOt,rj)=>{"use strict";var cve=require("util"),J5=K5(),Y5=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),fve=t=>e=>t===!0?Number(e):String(e),lO=t=>typeof t=="number"||typeof t=="string"&&t!=="",gc=t=>Number.isInteger(+t),cO=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},dve=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,pve=(t,e,r)=>{if(e>0){let n=t[0]==="-"?"-":"";n&&(t=t.slice(1)),t=n+t.padStart(n?e-1:e,"0")}return r===!1?String(t):t},Q5=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},hve=(t,e)=>{t.negatives.sort((o,a)=>o<a?-1:o>a?1:0),t.positives.sort((o,a)=>o<a?-1:o>a?1:0);let r=e.capture?"":"?:",n="",i="",s;return t.positives.length&&(n=t.positives.join("|")),t.negatives.length&&(i=`-(${r}${t.negatives.join("|")})`),n&&i?s=`${n}|${i}`:s=n||i,e.wrap?`(${r}${s})`:s},X5=(t,e,r,n)=>{if(r)return J5(t,e,{wrap:!1,...n});let i=String.fromCharCode(t);if(t===e)return i;let s=String.fromCharCode(e);return`[${i}-${s}]`},Z5=(t,e,r)=>{if(Array.isArray(t)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${t.join("|")})`:t.join("|")}return J5(t,e,r)},ej=(...t)=>new RangeError("Invalid range arguments: "+cve.inspect(...t)),tj=(t,e,r)=>{if(r.strictRanges===!0)throw ej([t,e]);return[]},gve=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},mve=(t,e,r=1,n={})=>{let i=Number(t),s=Number(e);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw ej([t,e]);return[]}i===0&&(i=0),s===0&&(s=0);let o=i>s,a=String(t),u=String(e),l=String(r);r=Math.max(Math.abs(r),1);let c=cO(a)||cO(u)||cO(l),f=c?Math.max(a.length,u.length,l.length):0,d=c===!1&&dve(t,e,n)===!1,p=n.transform||fve(d);if(n.toRegex&&r===1)return X5(Q5(t,f),Q5(e,f),!0,n);let h={negatives:[],positives:[]},y=v=>h[v<0?"negatives":"positives"].push(Math.abs(v)),b=[],g=0;for(;o?i>=s:i<=s;)n.toRegex===!0&&r>1?y(i):b.push(pve(p(i,g),f,d)),i=o?i-r:i+r,g++;return n.toRegex===!0?r>1?hve(h,n):Z5(b,null,{wrap:!1,...n}):b},yve=(t,e,r=1,n={})=>{if(!gc(t)&&t.length>1||!gc(e)&&e.length>1)return tj(t,e,n);let i=n.transform||(d=>String.fromCharCode(d)),s=`${t}`.charCodeAt(0),o=`${e}`.charCodeAt(0),a=s>o,u=Math.min(s,o),l=Math.max(s,o);if(n.toRegex&&r===1)return X5(u,l,!1,n);let c=[],f=0;for(;a?s>=o:s<=o;)c.push(i(s,f)),s=a?s-r:s+r,f++;return n.toRegex===!0?Z5(c,null,{wrap:!1,options:n}):c},gg=(t,e,r,n={})=>{if(e==null&&lO(t))return[t];if(!lO(t)||!lO(e))return tj(t,e,n);if(typeof r=="function")return gg(t,e,1,{transform:r});if(Y5(r))return gg(t,e,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,gc(r)?gc(t)&&gc(e)?mve(t,e,r,i):yve(t,e,Math.max(Math.abs(r),1),i):r!=null&&!Y5(r)?gve(r,i):gg(t,e,1,r)};rj.exports=gg});var sj=m((rOt,ij)=>{"use strict";var bve=fO(),nj=pg(),vve=(t,e={})=>{let r=(n,i={})=>{let s=nj.isInvalidBrace(i),o=n.invalid===!0&&e.escapeInvalid===!0,a=s===!0||o===!0,u=e.escapeInvalid===!0?"\\":"",l="";if(n.isOpen===!0||n.isClose===!0)return u+n.value;if(n.type==="open")return a?u+n.value:"(";if(n.type==="close")return a?u+n.value:")";if(n.type==="comma")return n.prev.type==="comma"?"":a?n.value:"|";if(n.value)return n.value;if(n.nodes&&n.ranges>0){let c=nj.reduce(n.nodes),f=bve(...c,{...e,wrap:!1,toRegex:!0});if(f.length!==0)return c.length>1&&f.length>1?`(${f})`:f}if(n.nodes)for(let c of n.nodes)l+=r(c,n);return l};return r(t)};ij.exports=vve});var uj=m((nOt,aj)=>{"use strict";var wve=fO(),oj=hg(),tu=pg(),Co=(t="",e="",r=!1)=>{let n=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?tu.flatten(e).map(i=>`{${i}}`):e;for(let i of t)if(Array.isArray(i))for(let s of i)n.push(Co(s,e,r));else for(let s of e)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?Co(i,s,r):i+s);return tu.flatten(n)},_ve=(t,e={})=>{let r=e.rangeLimit===void 0?1e3:e.rangeLimit,n=(i,s={})=>{i.queue=[];let o=s,a=s.queue;for(;o.type!=="brace"&&o.type!=="root"&&o.parent;)o=o.parent,a=o.queue;if(i.invalid||i.dollar){a.push(Co(a.pop(),oj(i,e)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(Co(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let f=tu.reduce(i.nodes);if(tu.exceedsLimit(...f,e.step,r))throw new RangeError("expanded array length exceeds range limit. Use options.rangeLimit to increase or disable the limit.");let d=wve(...f,e);d.length===0&&(d=oj(i,e)),a.push(Co(a.pop(),d)),i.nodes=[];return}let u=tu.encloseBrace(i),l=i.queue,c=i;for(;c.type!=="brace"&&c.type!=="root"&&c.parent;)c=c.parent,l=c.queue;for(let f=0;f<i.nodes.length;f++){let d=i.nodes[f];if(d.type==="comma"&&i.type==="brace"){f===1&&l.push(""),l.push("");continue}if(d.type==="close"){a.push(Co(a.pop(),l,u));continue}if(d.value&&d.type!=="open"){l.push(Co(l.pop(),d.value));continue}d.nodes&&n(d,i)}return l};return tu.flatten(n(t))};aj.exports=_ve});var cj=m((iOt,lj)=>{"use strict";lj.exports={MAX_LENGTH:1024*64,CHAR_0:"0",CHAR_9:"9",CHAR_UPPERCASE_A:"A",CHAR_LOWERCASE_A:"a",CHAR_UPPERCASE_Z:"Z",CHAR_LOWERCASE_Z:"z",CHAR_LEFT_PARENTHESES:"(",CHAR_RIGHT_PARENTHESES:")",CHAR_ASTERISK:"*",CHAR_AMPERSAND:"&",CHAR_AT:"@",CHAR_BACKSLASH:"\\",CHAR_BACKTICK:"`",CHAR_CARRIAGE_RETURN:"\r",CHAR_CIRCUMFLEX_ACCENT:"^",CHAR_COLON:":",CHAR_COMMA:",",CHAR_DOLLAR:"$",CHAR_DOT:".",CHAR_DOUBLE_QUOTE:'"',CHAR_EQUAL:"=",CHAR_EXCLAMATION_MARK:"!",CHAR_FORM_FEED:"\f",CHAR_FORWARD_SLASH:"/",CHAR_HASH:"#",CHAR_HYPHEN_MINUS:"-",CHAR_LEFT_ANGLE_BRACKET:"<",CHAR_LEFT_CURLY_BRACE:"{",CHAR_LEFT_SQUARE_BRACKET:"[",CHAR_LINE_FEED:`
|
|
2
|
+
`,CHAR_NO_BREAK_SPACE:"\xA0",CHAR_PERCENT:"%",CHAR_PLUS:"+",CHAR_QUESTION_MARK:"?",CHAR_RIGHT_ANGLE_BRACKET:">",CHAR_RIGHT_CURLY_BRACE:"}",CHAR_RIGHT_SQUARE_BRACKET:"]",CHAR_SEMICOLON:";",CHAR_SINGLE_QUOTE:"'",CHAR_SPACE:" ",CHAR_TAB:" ",CHAR_UNDERSCORE:"_",CHAR_VERTICAL_LINE:"|",CHAR_ZERO_WIDTH_NOBREAK_SPACE:"\uFEFF"}});var gj=m((sOt,hj)=>{"use strict";var xve=hg(),{MAX_LENGTH:fj,CHAR_BACKSLASH:dO,CHAR_BACKTICK:Sve,CHAR_COMMA:kve,CHAR_DOT:Eve,CHAR_LEFT_PARENTHESES:Cve,CHAR_RIGHT_PARENTHESES:Dve,CHAR_LEFT_CURLY_BRACE:Ove,CHAR_RIGHT_CURLY_BRACE:qve,CHAR_LEFT_SQUARE_BRACKET:dj,CHAR_RIGHT_SQUARE_BRACKET:pj,CHAR_DOUBLE_QUOTE:Rve,CHAR_SINGLE_QUOTE:Ave,CHAR_NO_BREAK_SPACE:Pve,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Tve}=cj(),Mve=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},n=typeof r.maxLength=="number"?Math.min(fj,r.maxLength):fj;if(t.length>n)throw new SyntaxError(`Input length (${t.length}), exceeds max characters (${n})`);let i={type:"root",input:t,nodes:[]},s=[i],o=i,a=i,u=0,l=t.length,c=0,f=0,d,p={},h=()=>t[c++],y=b=>{if(b.type==="text"&&a.type==="dot"&&(a.type="text"),a&&a.type==="text"&&b.type==="text"){a.value+=b.value;return}return o.nodes.push(b),b.parent=o,b.prev=a,a=b,b};for(y({type:"bos"});c<l;)if(o=s[s.length-1],d=h(),!(d===Tve||d===Pve)){if(d===dO){y({type:"text",value:(e.keepEscaping?d:"")+h()});continue}if(d===pj){y({type:"text",value:"\\"+d});continue}if(d===dj){u++;let b=!0,g;for(;c<l&&(g=h());){if(d+=g,g===dj){u++;continue}if(g===dO){d+=h();continue}if(g===pj&&(u--,u===0))break}y({type:"text",value:d});continue}if(d===Cve){o=y({type:"paren",nodes:[]}),s.push(o),y({type:"text",value:d});continue}if(d===Dve){if(o.type!=="paren"){y({type:"text",value:d});continue}o=s.pop(),y({type:"text",value:d}),o=s[s.length-1];continue}if(d===Rve||d===Ave||d===Sve){let b=d,g;for(e.keepQuotes!==!0&&(d="");c<l&&(g=h());){if(g===dO){d+=g+h();continue}if(g===b){e.keepQuotes===!0&&(d+=g);break}d+=g}y({type:"text",value:d});continue}if(d===Ove){f++;let g={type:"brace",open:!0,close:!1,dollar:a.value&&a.value.slice(-1)==="$"||o.dollar===!0,depth:f,commas:0,ranges:0,nodes:[]};o=y(g),s.push(o),y({type:"open",value:d});continue}if(d===qve){if(o.type!=="brace"){y({type:"text",value:d});continue}let b="close";o=s.pop(),o.close=!0,y({type:b,value:d}),f--,o=s[s.length-1];continue}if(d===kve&&f>0){if(o.ranges>0){o.ranges=0;let b=o.nodes.shift();o.nodes=[b,{type:"text",value:xve(o)}]}y({type:"comma",value:d}),o.commas++;continue}if(d===Eve&&f>0&&o.commas===0){let b=o.nodes;if(f===0||b.length===0){y({type:"text",value:d});continue}if(a.type==="dot"){if(o.range=[],a.value+=d,a.type="range",o.nodes.length!==3&&o.nodes.length!==5){o.invalid=!0,o.ranges=0,a.type="text";continue}o.ranges++,o.args=[];continue}if(a.type==="range"){b.pop();let g=b[b.length-1];g.value+=a.value+d,a=g,o.ranges--;continue}y({type:"dot",value:d});continue}y({type:"text",value:d})}do if(o=s.pop(),o.type!=="root"){o.nodes.forEach(v=>{v.nodes||(v.type==="open"&&(v.isOpen=!0),v.type==="close"&&(v.isClose=!0),v.nodes||(v.type="text"),v.invalid=!0)});let b=s[s.length-1],g=b.nodes.indexOf(o);b.nodes.splice(g,1,...o.nodes)}while(s.length>0);return y({type:"eos"}),i};hj.exports=Mve});var bj=m((oOt,yj)=>{"use strict";var mj=hg(),Fve=sj(),Lve=uj(),Ive=gj(),ln=(t,e={})=>{let r=[];if(Array.isArray(t))for(let n of t){let i=ln.create(n,e);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(ln.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};ln.parse=(t,e={})=>Ive(t,e);ln.stringify=(t,e={})=>mj(typeof t=="string"?ln.parse(t,e):t,e);ln.compile=(t,e={})=>(typeof t=="string"&&(t=ln.parse(t,e)),Fve(t,e));ln.expand=(t,e={})=>{typeof t=="string"&&(t=ln.parse(t,e));let r=Lve(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};ln.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?ln.compile(t,e):ln.expand(t,e);yj.exports=ln});var mc=m((aOt,Sj)=>{"use strict";var Nve=require("path"),wi="\\\\/",vj=`[^${wi}]`,Xi="\\.",jve="\\+",$ve="\\?",mg="\\/",Bve="(?=.)",wj="[^/]",pO=`(?:${mg}|$)`,_j=`(?:^|${mg})`,hO=`${Xi}{1,2}${pO}`,Wve=`(?!${Xi})`,zve=`(?!${_j}${hO})`,Uve=`(?!${Xi}{0,1}${pO})`,Hve=`(?!${hO})`,Vve=`[^.${mg}]`,Gve=`${wj}*?`,xj={DOT_LITERAL:Xi,PLUS_LITERAL:jve,QMARK_LITERAL:$ve,SLASH_LITERAL:mg,ONE_CHAR:Bve,QMARK:wj,END_ANCHOR:pO,DOTS_SLASH:hO,NO_DOT:Wve,NO_DOTS:zve,NO_DOT_SLASH:Uve,NO_DOTS_SLASH:Hve,QMARK_NO_DOT:Vve,STAR:Gve,START_ANCHOR:_j},Kve={...xj,SLASH_LITERAL:`[${wi}]`,QMARK:vj,STAR:`${vj}*?`,DOTS_SLASH:`${Xi}{1,2}(?:[${wi}]|$)`,NO_DOT:`(?!${Xi})`,NO_DOTS:`(?!(?:^|[${wi}])${Xi}{1,2}(?:[${wi}]|$))`,NO_DOT_SLASH:`(?!${Xi}{0,1}(?:[${wi}]|$))`,NO_DOTS_SLASH:`(?!${Xi}{1,2}(?:[${wi}]|$))`,QMARK_NO_DOT:`[^.${wi}]`,START_ANCHOR:`(?:^|[${wi}])`,END_ANCHOR:`(?:[${wi}]|$)`},Yve={alnum:"a-zA-Z0-9",alpha:"a-zA-Z",ascii:"\\x00-\\x7F",blank:" \\t",cntrl:"\\x00-\\x1F\\x7F",digit:"0-9",graph:"\\x21-\\x7E",lower:"a-z",print:"\\x20-\\x7E ",punct:"\\-!\"#$%&'()\\*+,./:;<=>?@[\\]^_`{|}~",space:" \\t\\r\\n\\v\\f",upper:"A-Z",word:"A-Za-z0-9_",xdigit:"A-Fa-f0-9"};Sj.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Yve,REGEX_BACKSLASH:/\\(?![*+?^${}(|)[\]])/g,REGEX_NON_SPECIAL_CHARS:/^[^@![\].,$*+?^{}()|\\/]+/,REGEX_SPECIAL_CHARS:/[-*+?.^${}(|)[\]]/,REGEX_SPECIAL_CHARS_BACKREF:/(\\?)((\W)(\3*))/g,REGEX_SPECIAL_CHARS_GLOBAL:/([-*+?.^${}(|)[\]])/g,REGEX_REMOVE_BACKSLASH:/(?:\[.*?[^\\]\]|\\(?=.))/g,REPLACEMENTS:{"***":"*","**/**":"**","**/**/**":"**"},CHAR_0:48,CHAR_9:57,CHAR_UPPERCASE_A:65,CHAR_LOWERCASE_A:97,CHAR_UPPERCASE_Z:90,CHAR_LOWERCASE_Z:122,CHAR_LEFT_PARENTHESES:40,CHAR_RIGHT_PARENTHESES:41,CHAR_ASTERISK:42,CHAR_AMPERSAND:38,CHAR_AT:64,CHAR_BACKWARD_SLASH:92,CHAR_CARRIAGE_RETURN:13,CHAR_CIRCUMFLEX_ACCENT:94,CHAR_COLON:58,CHAR_COMMA:44,CHAR_DOT:46,CHAR_DOUBLE_QUOTE:34,CHAR_EQUAL:61,CHAR_EXCLAMATION_MARK:33,CHAR_FORM_FEED:12,CHAR_FORWARD_SLASH:47,CHAR_GRAVE_ACCENT:96,CHAR_HASH:35,CHAR_HYPHEN_MINUS:45,CHAR_LEFT_ANGLE_BRACKET:60,CHAR_LEFT_CURLY_BRACE:123,CHAR_LEFT_SQUARE_BRACKET:91,CHAR_LINE_FEED:10,CHAR_NO_BREAK_SPACE:160,CHAR_PERCENT:37,CHAR_PLUS:43,CHAR_QUESTION_MARK:63,CHAR_RIGHT_ANGLE_BRACKET:62,CHAR_RIGHT_CURLY_BRACE:125,CHAR_RIGHT_SQUARE_BRACKET:93,CHAR_SEMICOLON:59,CHAR_SINGLE_QUOTE:39,CHAR_SPACE:32,CHAR_TAB:9,CHAR_UNDERSCORE:95,CHAR_VERTICAL_LINE:124,CHAR_ZERO_WIDTH_NOBREAK_SPACE:65279,SEP:Nve.sep,extglobChars(t){return{"!":{type:"negate",open:"(?:(?!(?:",close:`))${t.STAR})`},"?":{type:"qmark",open:"(?:",close:")?"},"+":{type:"plus",open:"(?:",close:")+"},"*":{type:"star",open:"(?:",close:")*"},"@":{type:"at",open:"(?:",close:")"}}},globChars(t){return t===!0?Kve:xj}}});var yc=m(Zr=>{"use strict";var Qve=require("path"),Jve=process.platform==="win32",{REGEX_BACKSLASH:Xve,REGEX_REMOVE_BACKSLASH:Zve,REGEX_SPECIAL_CHARS:ewe,REGEX_SPECIAL_CHARS_GLOBAL:twe}=mc();Zr.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);Zr.hasRegexChars=t=>ewe.test(t);Zr.isRegexChar=t=>t.length===1&&Zr.hasRegexChars(t);Zr.escapeRegex=t=>t.replace(twe,"\\$1");Zr.toPosixSlashes=t=>t.replace(Xve,"/");Zr.removeBackslashes=t=>t.replace(Zve,e=>e==="\\"?"":e);Zr.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};Zr.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:Jve===!0||Qve.sep==="\\";Zr.escapeLast=(t,e,r)=>{let n=t.lastIndexOf(e,r);return n===-1?t:t[n-1]==="\\"?Zr.escapeLast(t,e,n-1):`${t.slice(0,n)}\\${t.slice(n)}`};Zr.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};Zr.wrapOutput=(t,e={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${t})${i}`;return e.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var Aj=m((lOt,Rj)=>{"use strict";var kj=yc(),{CHAR_ASTERISK:gO,CHAR_AT:rwe,CHAR_BACKWARD_SLASH:bc,CHAR_COMMA:nwe,CHAR_DOT:mO,CHAR_EXCLAMATION_MARK:yO,CHAR_FORWARD_SLASH:qj,CHAR_LEFT_CURLY_BRACE:bO,CHAR_LEFT_PARENTHESES:vO,CHAR_LEFT_SQUARE_BRACKET:iwe,CHAR_PLUS:swe,CHAR_QUESTION_MARK:Ej,CHAR_RIGHT_CURLY_BRACE:owe,CHAR_RIGHT_PARENTHESES:Cj,CHAR_RIGHT_SQUARE_BRACKET:awe}=mc(),Dj=t=>t===qj||t===bc,Oj=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},uwe=(t,e)=>{let r=e||{},n=t.length-1,i=r.parts===!0||r.scanToEnd===!0,s=[],o=[],a=[],u=t,l=-1,c=0,f=0,d=!1,p=!1,h=!1,y=!1,b=!1,g=!1,v=!1,w=!1,_=!1,x=!1,C=0,M,P,R={value:"",depth:0,isGlob:!1},z=()=>l>=n,$=()=>u.charCodeAt(l+1),ee=()=>(M=P,u.charCodeAt(++l));for(;l<n;){P=ee();let ue;if(P===bc){v=R.backslashes=!0,P=ee(),P===bO&&(g=!0);continue}if(g===!0||P===bO){for(C++;z()!==!0&&(P=ee());){if(P===bc){v=R.backslashes=!0,ee();continue}if(P===bO){C++;continue}if(g!==!0&&P===mO&&(P=ee())===mO){if(d=R.isBrace=!0,h=R.isGlob=!0,x=!0,i===!0)continue;break}if(g!==!0&&P===nwe){if(d=R.isBrace=!0,h=R.isGlob=!0,x=!0,i===!0)continue;break}if(P===owe&&(C--,C===0)){g=!1,d=R.isBrace=!0,x=!0;break}}if(i===!0)continue;break}if(P===qj){if(s.push(l),o.push(R),R={value:"",depth:0,isGlob:!1},x===!0)continue;if(M===mO&&l===c+1){c+=2;continue}f=l+1;continue}if(r.noext!==!0&&(P===swe||P===rwe||P===gO||P===Ej||P===yO)===!0&&$()===vO){if(h=R.isGlob=!0,y=R.isExtglob=!0,x=!0,P===yO&&l===c&&(_=!0),i===!0){for(;z()!==!0&&(P=ee());){if(P===bc){v=R.backslashes=!0,P=ee();continue}if(P===Cj){h=R.isGlob=!0,x=!0;break}}continue}break}if(P===gO){if(M===gO&&(b=R.isGlobstar=!0),h=R.isGlob=!0,x=!0,i===!0)continue;break}if(P===Ej){if(h=R.isGlob=!0,x=!0,i===!0)continue;break}if(P===iwe){for(;z()!==!0&&(ue=ee());){if(ue===bc){v=R.backslashes=!0,ee();continue}if(ue===awe){p=R.isBracket=!0,h=R.isGlob=!0,x=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&P===yO&&l===c){w=R.negated=!0,c++;continue}if(r.noparen!==!0&&P===vO){if(h=R.isGlob=!0,i===!0){for(;z()!==!0&&(P=ee());){if(P===vO){v=R.backslashes=!0,P=ee();continue}if(P===Cj){x=!0;break}}continue}break}if(h===!0){if(x=!0,i===!0)continue;break}}r.noext===!0&&(y=!1,h=!1);let G=u,ae="",F="";c>0&&(ae=u.slice(0,c),u=u.slice(c),f-=c),G&&h===!0&&f>0?(G=u.slice(0,f),F=u.slice(f)):h===!0?(G="",F=u):G=u,G&&G!==""&&G!=="/"&&G!==u&&Dj(G.charCodeAt(G.length-1))&&(G=G.slice(0,-1)),r.unescape===!0&&(F&&(F=kj.removeBackslashes(F)),G&&v===!0&&(G=kj.removeBackslashes(G)));let T={prefix:ae,input:t,start:c,base:G,glob:F,isBrace:d,isBracket:p,isGlob:h,isExtglob:y,isGlobstar:b,negated:w,negatedExtglob:_};if(r.tokens===!0&&(T.maxDepth=0,Dj(P)||o.push(R),T.tokens=o),r.parts===!0||r.tokens===!0){let ue;for(let re=0;re<s.length;re++){let fe=ue?ue+1:c,oe=s[re],ie=t.slice(fe,oe);r.tokens&&(re===0&&c!==0?(o[re].isPrefix=!0,o[re].value=ae):o[re].value=ie,Oj(o[re]),T.maxDepth+=o[re].depth),(re!==0||ie!=="")&&a.push(ie),ue=oe}if(ue&&ue+1<t.length){let re=t.slice(ue+1);a.push(re),r.tokens&&(o[o.length-1].value=re,Oj(o[o.length-1]),T.maxDepth+=o[o.length-1].depth)}T.slashes=s,T.parts=a}return T};Rj.exports=uwe});var Mj=m((cOt,Tj)=>{"use strict";var yg=mc(),cn=yc(),{MAX_LENGTH:bg,POSIX_REGEX_SOURCE:lwe,REGEX_NON_SPECIAL_CHARS:cwe,REGEX_SPECIAL_CHARS_BACKREF:fwe,REPLACEMENTS:Pj}=yg,dwe=(t,e)=>{if(typeof e.expandRange=="function")return e.expandRange(...t,e);t.sort();let r=`[${t.join("-")}]`;try{new RegExp(r)}catch{return t.map(i=>cn.escapeRegex(i)).join("..")}return r},ru=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,wO=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=Pj[t]||t;let r={...e},n=typeof r.maxLength=="number"?Math.min(bg,r.maxLength):bg,i=t.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);let s={type:"bos",value:"",output:r.prepend||""},o=[s],a=r.capture?"":"?:",u=cn.isWindows(e),l=yg.globChars(u),c=yg.extglobChars(l),{DOT_LITERAL:f,PLUS_LITERAL:d,SLASH_LITERAL:p,ONE_CHAR:h,DOTS_SLASH:y,NO_DOT:b,NO_DOT_SLASH:g,NO_DOTS_SLASH:v,QMARK:w,QMARK_NO_DOT:_,STAR:x,START_ANCHOR:C}=l,M=de=>`(${a}(?:(?!${C}${de.dot?y:f}).)*?)`,P=r.dot?"":b,R=r.dot?w:_,z=r.bash===!0?M(r):x;r.capture&&(z=`(${z})`),typeof r.noext=="boolean"&&(r.noextglob=r.noext);let $={input:t,index:-1,start:0,dot:r.dot===!0,consumed:"",output:"",prefix:"",backtrack:!1,negated:!1,brackets:0,braces:0,parens:0,quotes:0,globstar:!1,tokens:o};t=cn.removePrefix(t,$),i=t.length;let ee=[],G=[],ae=[],F=s,T,ue=()=>$.index===i-1,re=$.peek=(de=1)=>t[$.index+de],fe=$.advance=()=>t[++$.index]||"",oe=()=>t.slice($.index+1),ie=(de="",le=0)=>{$.consumed+=de,$.index+=le},pe=de=>{$.output+=de.output!=null?de.output:de.value,ie(de.value)},be=()=>{let de=1;for(;re()==="!"&&(re(2)!=="("||re(3)==="?");)fe(),$.start++,de++;return de%2===0?!1:($.negated=!0,$.start++,!0)},Ce=de=>{$[de]++,ae.push(de)},Qe=de=>{$[de]--,ae.pop()},ve=de=>{if(F.type==="globstar"){let le=$.braces>0&&(de.type==="comma"||de.type==="brace"),ne=de.extglob===!0||ee.length&&(de.type==="pipe"||de.type==="paren");de.type!=="slash"&&de.type!=="paren"&&!le&&!ne&&($.output=$.output.slice(0,-F.output.length),F.type="star",F.value="*",F.output=z,$.output+=F.output)}if(ee.length&&de.type!=="paren"&&(ee[ee.length-1].inner+=de.value),(de.value||de.output)&&pe(de),F&&F.type==="text"&&de.type==="text"){F.value+=de.value,F.output=(F.output||"")+de.value;return}de.prev=F,o.push(de),F=de},Ct=(de,le)=>{let ne={...c[le],conditions:1,inner:""};ne.prev=F,ne.parens=$.parens,ne.output=$.output;let Fe=(r.capture?"(":"")+ne.open;Ce("parens"),ve({type:de,value:le,output:$.output?"":h}),ve({type:"paren",extglob:!0,value:fe(),output:Fe}),ee.push(ne)},dt=de=>{let le=de.close+(r.capture?")":""),ne;if(de.type==="negate"){let Fe=z;if(de.inner&&de.inner.length>1&&de.inner.includes("/")&&(Fe=M(r)),(Fe!==z||ue()||/^\)+$/.test(oe()))&&(le=de.close=`)$))${Fe}`),de.inner.includes("*")&&(ne=oe())&&/^\.[^\\/.]+$/.test(ne)){let ot=wO(ne,{...e,fastpaths:!1}).output;le=de.close=`)${ot})${Fe})`}de.prev.type==="bos"&&($.negatedExtglob=!0)}ve({type:"paren",extglob:!0,value:T,output:le}),Qe("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let de=!1,le=t.replace(fwe,(ne,Fe,ot,zt,$t,qn)=>zt==="\\"?(de=!0,ne):zt==="?"?Fe?Fe+zt+($t?w.repeat($t.length):""):qn===0?R+($t?w.repeat($t.length):""):w.repeat(ot.length):zt==="."?f.repeat(ot.length):zt==="*"?Fe?Fe+zt+($t?z:""):z:Fe?ne:`\\${ne}`);return de===!0&&(r.unescape===!0?le=le.replace(/\\/g,""):le=le.replace(/\\+/g,ne=>ne.length%2===0?"\\\\":ne?"\\":"")),le===t&&r.contains===!0?($.output=t,$):($.output=cn.wrapOutput(le,$,e),$)}for(;!ue();){if(T=fe(),T==="\0")continue;if(T==="\\"){let ne=re();if(ne==="/"&&r.bash!==!0||ne==="."||ne===";")continue;if(!ne){T+="\\",ve({type:"text",value:T});continue}let Fe=/^\\+/.exec(oe()),ot=0;if(Fe&&Fe[0].length>2&&(ot=Fe[0].length,$.index+=ot,ot%2!==0&&(T+="\\")),r.unescape===!0?T=fe():T+=fe(),$.brackets===0){ve({type:"text",value:T});continue}}if($.brackets>0&&(T!=="]"||F.value==="["||F.value==="[^")){if(r.posix!==!1&&T===":"){let ne=F.value.slice(1);if(ne.includes("[")&&(F.posix=!0,ne.includes(":"))){let Fe=F.value.lastIndexOf("["),ot=F.value.slice(0,Fe),zt=F.value.slice(Fe+2),$t=lwe[zt];if($t){F.value=ot+$t,$.backtrack=!0,fe(),!s.output&&o.indexOf(F)===1&&(s.output=h);continue}}}(T==="["&&re()!==":"||T==="-"&&re()==="]")&&(T=`\\${T}`),T==="]"&&(F.value==="["||F.value==="[^")&&(T=`\\${T}`),r.posix===!0&&T==="!"&&F.value==="["&&(T="^"),F.value+=T,pe({value:T});continue}if($.quotes===1&&T!=='"'){T=cn.escapeRegex(T),F.value+=T,pe({value:T});continue}if(T==='"'){$.quotes=$.quotes===1?0:1,r.keepQuotes===!0&&ve({type:"text",value:T});continue}if(T==="("){Ce("parens"),ve({type:"paren",value:T});continue}if(T===")"){if($.parens===0&&r.strictBrackets===!0)throw new SyntaxError(ru("opening","("));let ne=ee[ee.length-1];if(ne&&$.parens===ne.parens+1){dt(ee.pop());continue}ve({type:"paren",value:T,output:$.parens?")":"\\)"}),Qe("parens");continue}if(T==="["){if(r.nobracket===!0||!oe().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(ru("closing","]"));T=`\\${T}`}else Ce("brackets");ve({type:"bracket",value:T});continue}if(T==="]"){if(r.nobracket===!0||F&&F.type==="bracket"&&F.value.length===1){ve({type:"text",value:T,output:`\\${T}`});continue}if($.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(ru("opening","["));ve({type:"text",value:T,output:`\\${T}`});continue}Qe("brackets");let ne=F.value.slice(1);if(F.posix!==!0&&ne[0]==="^"&&!ne.includes("/")&&(T=`/${T}`),F.value+=T,pe({value:T}),r.literalBrackets===!1||cn.hasRegexChars(ne))continue;let Fe=cn.escapeRegex(F.value);if($.output=$.output.slice(0,-F.value.length),r.literalBrackets===!0){$.output+=Fe,F.value=Fe;continue}F.value=`(${a}${Fe}|${F.value})`,$.output+=F.value;continue}if(T==="{"&&r.nobrace!==!0){Ce("braces");let ne={type:"brace",value:T,output:"(",outputIndex:$.output.length,tokensIndex:$.tokens.length};G.push(ne),ve(ne);continue}if(T==="}"){let ne=G[G.length-1];if(r.nobrace===!0||!ne){ve({type:"text",value:T,output:T});continue}let Fe=")";if(ne.dots===!0){let ot=o.slice(),zt=[];for(let $t=ot.length-1;$t>=0&&(o.pop(),ot[$t].type!=="brace");$t--)ot[$t].type!=="dots"&&zt.unshift(ot[$t].value);Fe=dwe(zt,r),$.backtrack=!0}if(ne.comma!==!0&&ne.dots!==!0){let ot=$.output.slice(0,ne.outputIndex),zt=$.tokens.slice(ne.tokensIndex);ne.value=ne.output="\\{",T=Fe="\\}",$.output=ot;for(let $t of zt)$.output+=$t.output||$t.value}ve({type:"brace",value:T,output:Fe}),Qe("braces"),G.pop();continue}if(T==="|"){ee.length>0&&ee[ee.length-1].conditions++,ve({type:"text",value:T});continue}if(T===","){let ne=T,Fe=G[G.length-1];Fe&&ae[ae.length-1]==="braces"&&(Fe.comma=!0,ne="|"),ve({type:"comma",value:T,output:ne});continue}if(T==="/"){if(F.type==="dot"&&$.index===$.start+1){$.start=$.index+1,$.consumed="",$.output="",o.pop(),F=s;continue}ve({type:"slash",value:T,output:p});continue}if(T==="."){if($.braces>0&&F.type==="dot"){F.value==="."&&(F.output=f);let ne=G[G.length-1];F.type="dots",F.output+=T,F.value+=T,ne.dots=!0;continue}if($.braces+$.parens===0&&F.type!=="bos"&&F.type!=="slash"){ve({type:"text",value:T,output:f});continue}ve({type:"dot",value:T,output:f});continue}if(T==="?"){if(!(F&&F.value==="(")&&r.noextglob!==!0&&re()==="("&&re(2)!=="?"){Ct("qmark",T);continue}if(F&&F.type==="paren"){let Fe=re(),ot=T;if(Fe==="<"&&!cn.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(F.value==="("&&!/[!=<:]/.test(Fe)||Fe==="<"&&!/<([!=]|\w+>)/.test(oe()))&&(ot=`\\${T}`),ve({type:"text",value:T,output:ot});continue}if(r.dot!==!0&&(F.type==="slash"||F.type==="bos")){ve({type:"qmark",value:T,output:_});continue}ve({type:"qmark",value:T,output:w});continue}if(T==="!"){if(r.noextglob!==!0&&re()==="("&&(re(2)!=="?"||!/[!=<:]/.test(re(3)))){Ct("negate",T);continue}if(r.nonegate!==!0&&$.index===0){be();continue}}if(T==="+"){if(r.noextglob!==!0&&re()==="("&&re(2)!=="?"){Ct("plus",T);continue}if(F&&F.value==="("||r.regex===!1){ve({type:"plus",value:T,output:d});continue}if(F&&(F.type==="bracket"||F.type==="paren"||F.type==="brace")||$.parens>0){ve({type:"plus",value:T});continue}ve({type:"plus",value:d});continue}if(T==="@"){if(r.noextglob!==!0&&re()==="("&&re(2)!=="?"){ve({type:"at",extglob:!0,value:T,output:""});continue}ve({type:"text",value:T});continue}if(T!=="*"){(T==="$"||T==="^")&&(T=`\\${T}`);let ne=cwe.exec(oe());ne&&(T+=ne[0],$.index+=ne[0].length),ve({type:"text",value:T});continue}if(F&&(F.type==="globstar"||F.star===!0)){F.type="star",F.star=!0,F.value+=T,F.output=z,$.backtrack=!0,$.globstar=!0,ie(T);continue}let de=oe();if(r.noextglob!==!0&&/^\([^?]/.test(de)){Ct("star",T);continue}if(F.type==="star"){if(r.noglobstar===!0){ie(T);continue}let ne=F.prev,Fe=ne.prev,ot=ne.type==="slash"||ne.type==="bos",zt=Fe&&(Fe.type==="star"||Fe.type==="globstar");if(r.bash===!0&&(!ot||de[0]&&de[0]!=="/")){ve({type:"star",value:T,output:""});continue}let $t=$.braces>0&&(ne.type==="comma"||ne.type==="brace"),qn=ee.length&&(ne.type==="pipe"||ne.type==="paren");if(!ot&&ne.type!=="paren"&&!$t&&!qn){ve({type:"star",value:T,output:""});continue}for(;de.slice(0,3)==="/**";){let Rn=t[$.index+4];if(Rn&&Rn!=="/")break;de=de.slice(3),ie("/**",3)}if(ne.type==="bos"&&ue()){F.type="globstar",F.value+=T,F.output=M(r),$.output=F.output,$.globstar=!0,ie(T);continue}if(ne.type==="slash"&&ne.prev.type!=="bos"&&!zt&&ue()){$.output=$.output.slice(0,-(ne.output+F.output).length),ne.output=`(?:${ne.output}`,F.type="globstar",F.output=M(r)+(r.strictSlashes?")":"|$)"),F.value+=T,$.globstar=!0,$.output+=ne.output+F.output,ie(T);continue}if(ne.type==="slash"&&ne.prev.type!=="bos"&&de[0]==="/"){let Rn=de[1]!==void 0?"|$":"";$.output=$.output.slice(0,-(ne.output+F.output).length),ne.output=`(?:${ne.output}`,F.type="globstar",F.output=`${M(r)}${p}|${p}${Rn})`,F.value+=T,$.output+=ne.output+F.output,$.globstar=!0,ie(T+fe()),ve({type:"slash",value:"/",output:""});continue}if(ne.type==="bos"&&de[0]==="/"){F.type="globstar",F.value+=T,F.output=`(?:^|${p}|${M(r)}${p})`,$.output=F.output,$.globstar=!0,ie(T+fe()),ve({type:"slash",value:"/",output:""});continue}$.output=$.output.slice(0,-F.output.length),F.type="globstar",F.output=M(r),F.value+=T,$.output+=F.output,$.globstar=!0,ie(T);continue}let le={type:"star",value:T,output:z};if(r.bash===!0){le.output=".*?",(F.type==="bos"||F.type==="slash")&&(le.output=P+le.output),ve(le);continue}if(F&&(F.type==="bracket"||F.type==="paren")&&r.regex===!0){le.output=T,ve(le);continue}($.index===$.start||F.type==="slash"||F.type==="dot")&&(F.type==="dot"?($.output+=g,F.output+=g):r.dot===!0?($.output+=v,F.output+=v):($.output+=P,F.output+=P),re()!=="*"&&($.output+=h,F.output+=h)),ve(le)}for(;$.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(ru("closing","]"));$.output=cn.escapeLast($.output,"["),Qe("brackets")}for(;$.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(ru("closing",")"));$.output=cn.escapeLast($.output,"("),Qe("parens")}for(;$.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(ru("closing","}"));$.output=cn.escapeLast($.output,"{"),Qe("braces")}if(r.strictSlashes!==!0&&(F.type==="star"||F.type==="bracket")&&ve({type:"maybe_slash",value:"",output:`${p}?`}),$.backtrack===!0){$.output="";for(let de of $.tokens)$.output+=de.output!=null?de.output:de.value,de.suffix&&($.output+=de.suffix)}return $};wO.fastpaths=(t,e)=>{let r={...e},n=typeof r.maxLength=="number"?Math.min(bg,r.maxLength):bg,i=t.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);t=Pj[t]||t;let s=cn.isWindows(e),{DOT_LITERAL:o,SLASH_LITERAL:a,ONE_CHAR:u,DOTS_SLASH:l,NO_DOT:c,NO_DOTS:f,NO_DOTS_SLASH:d,STAR:p,START_ANCHOR:h}=yg.globChars(s),y=r.dot?f:c,b=r.dot?d:c,g=r.capture?"":"?:",v={negated:!1,prefix:""},w=r.bash===!0?".*?":p;r.capture&&(w=`(${w})`);let _=P=>P.noglobstar===!0?w:`(${g}(?:(?!${h}${P.dot?l:o}).)*?)`,x=P=>{switch(P){case"*":return`${y}${u}${w}`;case".*":return`${o}${u}${w}`;case"*.*":return`${y}${w}${o}${u}${w}`;case"*/*":return`${y}${w}${a}${u}${b}${w}`;case"**":return y+_(r);case"**/*":return`(?:${y}${_(r)}${a})?${b}${u}${w}`;case"**/*.*":return`(?:${y}${_(r)}${a})?${b}${w}${o}${u}${w}`;case"**/.*":return`(?:${y}${_(r)}${a})?${o}${u}${w}`;default:{let R=/^(.*?)\.(\w+)$/.exec(P);if(!R)return;let z=x(R[1]);return z?z+o+R[2]:void 0}}},C=cn.removePrefix(t,v),M=x(C);return M&&r.strictSlashes!==!0&&(M+=`${a}?`),M};Tj.exports=wO});var Lj=m((fOt,Fj)=>{"use strict";var pwe=require("path"),hwe=Aj(),_O=Mj(),xO=yc(),gwe=mc(),mwe=t=>t&&typeof t=="object"&&!Array.isArray(t),Vt=(t,e,r=!1)=>{if(Array.isArray(t)){let c=t.map(d=>Vt(d,e,r));return d=>{for(let p of c){let h=p(d);if(h)return h}return!1}}let n=mwe(t)&&t.tokens&&t.input;if(t===""||typeof t!="string"&&!n)throw new TypeError("Expected pattern to be a non-empty string");let i=e||{},s=xO.isWindows(e),o=n?Vt.compileRe(t,e):Vt.makeRe(t,e,!1,!0),a=o.state;delete o.state;let u=()=>!1;if(i.ignore){let c={...e,ignore:null,onMatch:null,onResult:null};u=Vt(i.ignore,c,r)}let l=(c,f=!1)=>{let{isMatch:d,match:p,output:h}=Vt.test(c,o,e,{glob:t,posix:s}),y={glob:t,state:a,regex:o,posix:s,input:c,output:h,match:p,isMatch:d};return typeof i.onResult=="function"&&i.onResult(y),d===!1?(y.isMatch=!1,f?y:!1):u(c)?(typeof i.onIgnore=="function"&&i.onIgnore(y),y.isMatch=!1,f?y:!1):(typeof i.onMatch=="function"&&i.onMatch(y),f?y:!0)};return r&&(l.state=a),l};Vt.test=(t,e,r,{glob:n,posix:i}={})=>{if(typeof t!="string")throw new TypeError("Expected input to be a string");if(t==="")return{isMatch:!1,output:""};let s=r||{},o=s.format||(i?xO.toPosixSlashes:null),a=t===n,u=a&&o?o(t):t;return a===!1&&(u=o?o(t):t,a=u===n),(a===!1||s.capture===!0)&&(s.matchBase===!0||s.basename===!0?a=Vt.matchBase(t,e,r,i):a=e.exec(u)),{isMatch:Boolean(a),match:a,output:u}};Vt.matchBase=(t,e,r,n=xO.isWindows(r))=>(e instanceof RegExp?e:Vt.makeRe(e,r)).test(pwe.basename(t));Vt.isMatch=(t,e,r)=>Vt(e,r)(t);Vt.parse=(t,e)=>Array.isArray(t)?t.map(r=>Vt.parse(r,e)):_O(t,{...e,fastpaths:!1});Vt.scan=(t,e)=>hwe(t,e);Vt.compileRe=(t,e,r=!1,n=!1)=>{if(r===!0)return t.output;let i=e||{},s=i.contains?"":"^",o=i.contains?"":"$",a=`${s}(?:${t.output})${o}`;t&&t.negated===!0&&(a=`^(?!${a}).*$`);let u=Vt.toRegex(a,e);return n===!0&&(u.state=t),u};Vt.makeRe=(t,e={},r=!1,n=!1)=>{if(!t||typeof t!="string")throw new TypeError("Expected a non-empty string");let i={negated:!1,fastpaths:!0};return e.fastpaths!==!1&&(t[0]==="."||t[0]==="*")&&(i.output=_O.fastpaths(t,e)),i.output||(i=_O(t,e)),Vt.compileRe(i,e,r,n)};Vt.toRegex=(t,e)=>{try{let r=e||{};return new RegExp(t,r.flags||(r.nocase?"i":""))}catch(r){if(e&&e.debug===!0)throw r;return/$^/}};Vt.constants=gwe;Fj.exports=Vt});var Nj=m((dOt,Ij)=>{"use strict";Ij.exports=Lj()});var vg=m((pOt,Wj)=>{"use strict";var $j=require("util"),Bj=bj(),_i=Nj(),SO=yc(),jj=t=>t===""||t==="./",Dt=(t,e,r)=>{e=[].concat(e),t=[].concat(t);let n=new Set,i=new Set,s=new Set,o=0,a=c=>{s.add(c.output),r&&r.onResult&&r.onResult(c)};for(let c=0;c<e.length;c++){let f=_i(String(e[c]),{...r,onResult:a},!0),d=f.state.negated||f.state.negatedExtglob;d&&o++;for(let p of t){let h=f(p,!0);(d?!h.isMatch:h.isMatch)&&(d?n.add(h.output):(n.delete(h.output),i.add(h.output)))}}let l=(o===e.length?[...s]:[...i]).filter(c=>!n.has(c));if(r&&l.length===0){if(r.failglob===!0)throw new Error(`No matches found for "${e.join(", ")}"`);if(r.nonull===!0||r.nullglob===!0)return r.unescape?e.map(c=>c.replace(/\\/g,"")):e}return l};Dt.match=Dt;Dt.matcher=(t,e)=>_i(t,e);Dt.isMatch=(t,e,r)=>_i(e,r)(t);Dt.any=Dt.isMatch;Dt.not=(t,e,r={})=>{e=[].concat(e).map(String);let n=new Set,i=[],s=a=>{r.onResult&&r.onResult(a),i.push(a.output)},o=new Set(Dt(t,e,{...r,onResult:s}));for(let a of i)o.has(a)||n.add(a);return[...n]};Dt.contains=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${$j.inspect(t)}"`);if(Array.isArray(e))return e.some(n=>Dt.contains(t,n,r));if(typeof e=="string"){if(jj(t)||jj(e))return!1;if(t.includes(e)||t.startsWith("./")&&t.slice(2).includes(e))return!0}return Dt.isMatch(t,e,{...r,contains:!0})};Dt.matchKeys=(t,e,r)=>{if(!SO.isObject(t))throw new TypeError("Expected the first argument to be an object");let n=Dt(Object.keys(t),e,r),i={};for(let s of n)i[s]=t[s];return i};Dt.some=(t,e,r)=>{let n=[].concat(t);for(let i of[].concat(e)){let s=_i(String(i),r);if(n.some(o=>s(o)))return!0}return!1};Dt.every=(t,e,r)=>{let n=[].concat(t);for(let i of[].concat(e)){let s=_i(String(i),r);if(!n.every(o=>s(o)))return!1}return!0};Dt.all=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected a string: "${$j.inspect(t)}"`);return[].concat(e).every(n=>_i(n,r)(t))};Dt.capture=(t,e,r)=>{let n=SO.isWindows(r),s=_i.makeRe(String(t),{...r,capture:!0}).exec(n?SO.toPosixSlashes(e):e);if(s)return s.slice(1).map(o=>o===void 0?"":o)};Dt.makeRe=(...t)=>_i.makeRe(...t);Dt.scan=(...t)=>_i.scan(...t);Dt.parse=(t,e)=>{let r=[];for(let n of[].concat(t||[]))for(let i of Bj(String(n),e))r.push(_i.parse(i,e));return r};Dt.braces=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return e&&e.nobrace===!0||!/\{.*\}/.test(t)?[t]:Bj(t,e)};Dt.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return Dt.braces(t,{...e,expand:!0})};Wj.exports=Dt});var Qj=m(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.matchAny=We.convertPatternsToRe=We.makeRe=We.getPatternParts=We.expandBraceExpansion=We.expandPatternsWithBraceExpansion=We.isAffectDepthOfReadingPattern=We.endsWithSlashGlobStar=We.hasGlobStar=We.getBaseDirectory=We.isPatternRelatedToParentDirectory=We.getPatternsOutsideCurrentDirectory=We.getPatternsInsideCurrentDirectory=We.getPositivePatterns=We.getNegativePatterns=We.isPositivePattern=We.isNegativePattern=We.convertToNegativePattern=We.convertToPositivePattern=We.isDynamicPattern=We.isStaticPattern=void 0;var ywe=require("path"),bwe=F5(),kO=vg(),zj="**",vwe="\\",wwe=/[*?]|^!/,_we=/\[[^[]*]/,xwe=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,Swe=/[!*+?@]\([^(]*\)/,kwe=/,|\.\./;function Uj(t,e={}){return!Hj(t,e)}We.isStaticPattern=Uj;function Hj(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(vwe)||wwe.test(t)||_we.test(t)||xwe.test(t)||e.extglob!==!1&&Swe.test(t)||e.braceExpansion!==!1&&Ewe(t))}We.isDynamicPattern=Hj;function Ewe(t){let e=t.indexOf("{");if(e===-1)return!1;let r=t.indexOf("}",e+1);if(r===-1)return!1;let n=t.slice(e,r);return kwe.test(n)}function Cwe(t){return wg(t)?t.slice(1):t}We.convertToPositivePattern=Cwe;function Dwe(t){return"!"+t}We.convertToNegativePattern=Dwe;function wg(t){return t.startsWith("!")&&t[1]!=="("}We.isNegativePattern=wg;function Vj(t){return!wg(t)}We.isPositivePattern=Vj;function Owe(t){return t.filter(wg)}We.getNegativePatterns=Owe;function qwe(t){return t.filter(Vj)}We.getPositivePatterns=qwe;function Rwe(t){return t.filter(e=>!EO(e))}We.getPatternsInsideCurrentDirectory=Rwe;function Awe(t){return t.filter(EO)}We.getPatternsOutsideCurrentDirectory=Awe;function EO(t){return t.startsWith("..")||t.startsWith("./..")}We.isPatternRelatedToParentDirectory=EO;function Pwe(t){return bwe(t,{flipBackslashes:!1})}We.getBaseDirectory=Pwe;function Twe(t){return t.includes(zj)}We.hasGlobStar=Twe;function Gj(t){return t.endsWith("/"+zj)}We.endsWithSlashGlobStar=Gj;function Mwe(t){let e=ywe.basename(t);return Gj(t)||Uj(e)}We.isAffectDepthOfReadingPattern=Mwe;function Fwe(t){return t.reduce((e,r)=>e.concat(Kj(r)),[])}We.expandPatternsWithBraceExpansion=Fwe;function Kj(t){return kO.braces(t,{expand:!0,nodupes:!0})}We.expandBraceExpansion=Kj;function Lwe(t,e){let{parts:r}=kO.scan(t,Object.assign(Object.assign({},e),{parts:!0}));return r.length===0&&(r=[t]),r[0].startsWith("/")&&(r[0]=r[0].slice(1),r.unshift("")),r}We.getPatternParts=Lwe;function Yj(t,e){return kO.makeRe(t,e)}We.makeRe=Yj;function Iwe(t,e){return t.map(r=>Yj(r,e))}We.convertPatternsToRe=Iwe;function Nwe(t,e){return e.some(r=>r.test(t))}We.matchAny=Nwe});var CO=m((gOt,Zj)=>{"use strict";var jwe=require("stream"),Jj=jwe.PassThrough,$we=Array.prototype.slice;Zj.exports=Bwe;function Bwe(){let t=[],e=$we.call(arguments),r=!1,n=e[e.length-1];n&&!Array.isArray(n)&&n.pipe==null?e.pop():n={};let i=n.end!==!1,s=n.pipeError===!0;n.objectMode==null&&(n.objectMode=!0),n.highWaterMark==null&&(n.highWaterMark=64*1024);let o=Jj(n);function a(){for(let c=0,f=arguments.length;c<f;c++)t.push(Xj(arguments[c],n));return u(),this}function u(){if(r)return;r=!0;let c=t.shift();if(!c){process.nextTick(l);return}Array.isArray(c)||(c=[c]);let f=c.length+1;function d(){--f>0||(r=!1,u())}function p(h){function y(){h.removeListener("merge2UnpipeEnd",y),h.removeListener("end",y),s&&h.removeListener("error",b),d()}function b(g){o.emit("error",g)}if(h._readableState.endEmitted)return d();h.on("merge2UnpipeEnd",y),h.on("end",y),s&&h.on("error",b),h.pipe(o,{end:!1}),h.resume()}for(let h=0;h<c.length;h++)p(c[h]);d()}function l(){r=!1,o.emit("queueDrain"),i&&o.end()}return o.setMaxListeners(0),o.add=a,o.on("unpipe",function(c){c.emit("merge2UnpipeEnd")}),e.length&&a.apply(null,e),o}function Xj(t,e){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)t[r]=Xj(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(Jj(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var t6=m(_g=>{"use strict";Object.defineProperty(_g,"__esModule",{value:!0});_g.merge=void 0;var Wwe=CO();function zwe(t){let e=Wwe(t);return t.forEach(r=>{r.once("error",n=>e.emit("error",n))}),e.once("close",()=>e6(t)),e.once("end",()=>e6(t)),e}_g.merge=zwe;function e6(t){t.forEach(e=>e.emit("close"))}});var r6=m(nu=>{"use strict";Object.defineProperty(nu,"__esModule",{value:!0});nu.isEmpty=nu.isString=void 0;function Uwe(t){return typeof t=="string"}nu.isString=Uwe;function Hwe(t){return t===""}nu.isEmpty=Hwe});var Zi=m(Ar=>{"use strict";Object.defineProperty(Ar,"__esModule",{value:!0});Ar.string=Ar.stream=Ar.pattern=Ar.path=Ar.fs=Ar.errno=Ar.array=void 0;var Vwe=E5();Ar.array=Vwe;var Gwe=C5();Ar.errno=Gwe;var Kwe=D5();Ar.fs=Kwe;var Ywe=O5();Ar.path=Ywe;var Qwe=Qj();Ar.pattern=Qwe;var Jwe=t6();Ar.stream=Jwe;var Xwe=r6();Ar.string=Xwe});var s6=m(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.convertPatternGroupToTask=Pr.convertPatternGroupsToTasks=Pr.groupPatternsByBaseDirectory=Pr.getNegativePatternsAsPositive=Pr.getPositivePatterns=Pr.convertPatternsToTasks=Pr.generate=void 0;var es=Zi();function Zwe(t,e){let r=n6(t),n=i6(t,e.ignore),i=r.filter(u=>es.pattern.isStaticPattern(u,e)),s=r.filter(u=>es.pattern.isDynamicPattern(u,e)),o=DO(i,n,!1),a=DO(s,n,!0);return o.concat(a)}Pr.generate=Zwe;function DO(t,e,r){let n=[],i=es.pattern.getPatternsOutsideCurrentDirectory(t),s=es.pattern.getPatternsInsideCurrentDirectory(t),o=OO(i),a=OO(s);return n.push(...qO(o,e,r)),"."in a?n.push(RO(".",s,e,r)):n.push(...qO(a,e,r)),n}Pr.convertPatternsToTasks=DO;function n6(t){return es.pattern.getPositivePatterns(t)}Pr.getPositivePatterns=n6;function i6(t,e){return es.pattern.getNegativePatterns(t).concat(e).map(es.pattern.convertToPositivePattern)}Pr.getNegativePatternsAsPositive=i6;function OO(t){let e={};return t.reduce((r,n)=>{let i=es.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},e)}Pr.groupPatternsByBaseDirectory=OO;function qO(t,e,r){return Object.keys(t).map(n=>RO(n,t[n],e,r))}Pr.convertPatternGroupsToTasks=qO;function RO(t,e,r,n){return{dynamic:n,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(es.pattern.convertToNegativePattern))}}Pr.convertPatternGroupToTask=RO});var a6=m(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.removeDuplicateSlashes=iu.transform=void 0;var e_e=/(?!^)\/{2,}/g;function t_e(t){return t.map(e=>o6(e))}iu.transform=t_e;function o6(t){return t.replace(e_e,"/")}iu.removeDuplicateSlashes=o6});var l6=m(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.read=void 0;function r_e(t,e,r){e.fs.lstat(t,(n,i)=>{if(n!==null){u6(r,n);return}if(!i.isSymbolicLink()||!e.followSymbolicLink){AO(r,i);return}e.fs.stat(t,(s,o)=>{if(s!==null){if(e.throwErrorOnBrokenSymbolicLink){u6(r,s);return}AO(r,i);return}e.markSymbolicLink&&(o.isSymbolicLink=()=>!0),AO(r,o)})})}xg.read=r_e;function u6(t,e){t(e)}function AO(t,e){t(null,e)}});var c6=m(Sg=>{"use strict";Object.defineProperty(Sg,"__esModule",{value:!0});Sg.read=void 0;function n_e(t,e){let r=e.fs.lstatSync(t);if(!r.isSymbolicLink()||!e.followSymbolicLink)return r;try{let n=e.fs.statSync(t);return e.markSymbolicLink&&(n.isSymbolicLink=()=>!0),n}catch(n){if(!e.throwErrorOnBrokenSymbolicLink)return r;throw n}}Sg.read=n_e});var f6=m(Ds=>{"use strict";Object.defineProperty(Ds,"__esModule",{value:!0});Ds.createFileSystemAdapter=Ds.FILE_SYSTEM_ADAPTER=void 0;var kg=require("fs");Ds.FILE_SYSTEM_ADAPTER={lstat:kg.lstat,stat:kg.stat,lstatSync:kg.lstatSync,statSync:kg.statSync};function i_e(t){return t===void 0?Ds.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ds.FILE_SYSTEM_ADAPTER),t)}Ds.createFileSystemAdapter=i_e});var d6=m(TO=>{"use strict";Object.defineProperty(TO,"__esModule",{value:!0});var s_e=f6(),PO=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=s_e.createFileSystemAdapter(this._options.fs),this.markSymbolicLink=this._getValue(this._options.markSymbolicLink,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0)}_getValue(e,r){return e??r}};TO.default=PO});var Do=m(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.statSync=Os.stat=Os.Settings=void 0;var p6=l6(),o_e=c6(),MO=d6();Os.Settings=MO.default;function a_e(t,e,r){if(typeof e=="function"){p6.read(t,FO(),e);return}p6.read(t,FO(e),r)}Os.stat=a_e;function u_e(t,e){let r=FO(e);return o_e.read(t,r)}Os.statSync=u_e;function FO(t={}){return t instanceof MO.default?t:new MO.default(t)}});var m6=m((COt,g6)=>{var h6;g6.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(h6||(h6=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var b6=m((DOt,y6)=>{y6.exports=c_e;var l_e=m6();function c_e(t,e){let r,n,i,s=!0;Array.isArray(t)?(r=[],n=t.length):(i=Object.keys(t),r={},n=i.length);function o(u){function l(){e&&e(u,r),e=null}s?l_e(l):l()}function a(u,l,c){r[u]=c,(--n===0||l)&&o(l)}n?i?i.forEach(function(u){t[u](function(l,c){a(u,l,c)})}):t.forEach(function(u,l){u(function(c,f){a(l,c,f)})}):o(null),s=!1}});var LO=m(Cg=>{"use strict";Object.defineProperty(Cg,"__esModule",{value:!0});Cg.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Eg=process.versions.node.split(".");if(Eg[0]===void 0||Eg[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var v6=Number.parseInt(Eg[0],10),f_e=Number.parseInt(Eg[1],10),w6=10,d_e=10,p_e=v6>w6,h_e=v6===w6&&f_e>=d_e;Cg.IS_SUPPORT_READDIR_WITH_FILE_TYPES=p_e||h_e});var _6=m(Dg=>{"use strict";Object.defineProperty(Dg,"__esModule",{value:!0});Dg.createDirentFromStats=void 0;var IO=class{constructor(e,r){this.name=e,this.isBlockDevice=r.isBlockDevice.bind(r),this.isCharacterDevice=r.isCharacterDevice.bind(r),this.isDirectory=r.isDirectory.bind(r),this.isFIFO=r.isFIFO.bind(r),this.isFile=r.isFile.bind(r),this.isSocket=r.isSocket.bind(r),this.isSymbolicLink=r.isSymbolicLink.bind(r)}};function g_e(t,e){return new IO(t,e)}Dg.createDirentFromStats=g_e});var NO=m(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});Og.fs=void 0;var m_e=_6();Og.fs=m_e});var jO=m(qg=>{"use strict";Object.defineProperty(qg,"__esModule",{value:!0});qg.joinPathSegments=void 0;function y_e(t,e,r){return t.endsWith(r)?t+e:t+r+e}qg.joinPathSegments=y_e});var D6=m(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.readdir=qs.readdirWithFileTypes=qs.read=void 0;var b_e=Do(),x6=b6(),v_e=LO(),S6=NO(),k6=jO();function w_e(t,e,r){if(!e.stats&&v_e.IS_SUPPORT_READDIR_WITH_FILE_TYPES){E6(t,e,r);return}C6(t,e,r)}qs.read=w_e;function E6(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(n,i)=>{if(n!==null){Rg(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:k6.joinPathSegments(t,a.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){$O(r,s);return}let o=s.map(a=>__e(a,e));x6(o,(a,u)=>{if(a!==null){Rg(r,a);return}$O(r,u)})})}qs.readdirWithFileTypes=E6;function __e(t,e){return r=>{if(!t.dirent.isSymbolicLink()){r(null,t);return}e.fs.stat(t.path,(n,i)=>{if(n!==null){if(e.throwErrorOnBrokenSymbolicLink){r(n);return}r(null,t);return}t.dirent=S6.fs.createDirentFromStats(t.name,i),r(null,t)})}}function C6(t,e,r){e.fs.readdir(t,(n,i)=>{if(n!==null){Rg(r,n);return}let s=i.map(o=>{let a=k6.joinPathSegments(t,o,e.pathSegmentSeparator);return u=>{b_e.stat(a,e.fsStatSettings,(l,c)=>{if(l!==null){u(l);return}let f={name:o,path:a,dirent:S6.fs.createDirentFromStats(o,c)};e.stats&&(f.stats=c),u(null,f)})}});x6(s,(o,a)=>{if(o!==null){Rg(r,o);return}$O(r,a)})})}qs.readdir=C6;function Rg(t,e){t(e)}function $O(t,e){t(null,e)}});var P6=m(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.readdir=Rs.readdirWithFileTypes=Rs.read=void 0;var x_e=Do(),S_e=LO(),O6=NO(),q6=jO();function k_e(t,e){return!e.stats&&S_e.IS_SUPPORT_READDIR_WITH_FILE_TYPES?R6(t,e):A6(t,e)}Rs.read=k_e;function R6(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:q6.joinPathSegments(t,n.name,e.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let s=e.fs.statSync(i.path);i.dirent=O6.fs.createDirentFromStats(i.name,s)}catch(s){if(e.throwErrorOnBrokenSymbolicLink)throw s}return i})}Rs.readdirWithFileTypes=R6;function A6(t,e){return e.fs.readdirSync(t).map(n=>{let i=q6.joinPathSegments(t,n,e.pathSegmentSeparator),s=x_e.statSync(i,e.fsStatSettings),o={name:n,path:i,dirent:O6.fs.createDirentFromStats(n,s)};return e.stats&&(o.stats=s),o})}Rs.readdir=A6});var T6=m(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.createFileSystemAdapter=As.FILE_SYSTEM_ADAPTER=void 0;var su=require("fs");As.FILE_SYSTEM_ADAPTER={lstat:su.lstat,stat:su.stat,lstatSync:su.lstatSync,statSync:su.statSync,readdir:su.readdir,readdirSync:su.readdirSync};function E_e(t){return t===void 0?As.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},As.FILE_SYSTEM_ADAPTER),t)}As.createFileSystemAdapter=E_e});var M6=m(WO=>{"use strict";Object.defineProperty(WO,"__esModule",{value:!0});var C_e=require("path"),D_e=Do(),O_e=T6(),BO=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=O_e.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,C_e.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new D_e.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};WO.default=BO});var Ag=m(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.Settings=Ps.scandirSync=Ps.scandir=void 0;var F6=D6(),q_e=P6(),zO=M6();Ps.Settings=zO.default;function R_e(t,e,r){if(typeof e=="function"){F6.read(t,UO(),e);return}F6.read(t,UO(e),r)}Ps.scandir=R_e;function A_e(t,e){let r=UO(e);return q_e.read(t,r)}Ps.scandirSync=A_e;function UO(t={}){return t instanceof zO.default?t:new zO.default(t)}});var I6=m((IOt,L6)=>{"use strict";function P_e(t){var e=new t,r=e;function n(){var s=e;return s.next?e=s.next:(e=new t,r=e),s.next=null,s}function i(s){r.next=s,r=s}return{get:n,release:i}}L6.exports=P_e});var j6=m((NOt,HO)=>{"use strict";var T_e=I6();function N6(t,e,r){if(typeof t=="function"&&(r=e,e=t,t=null),r<1)throw new Error("fastqueue concurrency must be greater than 1");var n=T_e(M_e),i=null,s=null,o=0,a=null,u={push:y,drain:Pn,saturated:Pn,pause:c,paused:!1,concurrency:r,running:l,resume:p,idle:h,length:f,getQueue:d,unshift:b,empty:Pn,kill:v,killAndDrain:w,error:_};return u;function l(){return o}function c(){u.paused=!0}function f(){for(var x=i,C=0;x;)x=x.next,C++;return C}function d(){for(var x=i,C=[];x;)C.push(x.value),x=x.next;return C}function p(){if(u.paused){u.paused=!1;for(var x=0;x<u.concurrency;x++)o++,g()}}function h(){return o===0&&u.length()===0}function y(x,C){var M=n.get();M.context=t,M.release=g,M.value=x,M.callback=C||Pn,M.errorHandler=a,o===u.concurrency||u.paused?s?(s.next=M,s=M):(i=M,s=M,u.saturated()):(o++,e.call(t,M.value,M.worked))}function b(x,C){var M=n.get();M.context=t,M.release=g,M.value=x,M.callback=C||Pn,o===u.concurrency||u.paused?i?(M.next=i,i=M):(i=M,s=M,u.saturated()):(o++,e.call(t,M.value,M.worked))}function g(x){x&&n.release(x);var C=i;C?u.paused?o--:(s===i&&(s=null),i=C.next,C.next=null,e.call(t,C.value,C.worked),s===null&&u.empty()):--o===0&&u.drain()}function v(){i=null,s=null,u.drain=Pn}function w(){i=null,s=null,u.drain(),u.drain=Pn}function _(x){a=x}}function Pn(){}function M_e(){this.value=null,this.callback=Pn,this.next=null,this.release=Pn,this.context=null,this.errorHandler=null;var t=this;this.worked=function(r,n){var i=t.callback,s=t.errorHandler,o=t.value;t.value=null,t.callback=Pn,t.errorHandler&&s(r,o),i.call(t.context,r,n),t.release(t)}}function F_e(t,e,r){typeof t=="function"&&(r=e,e=t,t=null);function n(c,f){e.call(this,c).then(function(d){f(null,d)},f)}var i=N6(t,n,r),s=i.push,o=i.unshift;return i.push=a,i.unshift=u,i.drained=l,i;function a(c){var f=new Promise(function(d,p){s(c,function(h,y){if(h){p(h);return}d(y)})});return f.catch(Pn),f}function u(c){var f=new Promise(function(d,p){o(c,function(h,y){if(h){p(h);return}d(y)})});return f.catch(Pn),f}function l(){var c=i.drain,f=new Promise(function(d){i.drain=function(){c(),d()}});return f}}HO.exports=N6;HO.exports.promise=F_e});var Pg=m(xi=>{"use strict";Object.defineProperty(xi,"__esModule",{value:!0});xi.joinPathSegments=xi.replacePathSegmentSeparator=xi.isAppliedFilter=xi.isFatalError=void 0;function L_e(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}xi.isFatalError=L_e;function I_e(t,e){return t===null||t(e)}xi.isAppliedFilter=I_e;function N_e(t,e){return t.split(/[/\\]/).join(e)}xi.replacePathSegmentSeparator=N_e;function j_e(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}xi.joinPathSegments=j_e});var KO=m(GO=>{"use strict";Object.defineProperty(GO,"__esModule",{value:!0});var $_e=Pg(),VO=class{constructor(e,r){this._root=e,this._settings=r,this._root=$_e.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};GO.default=VO});var JO=m(QO=>{"use strict";Object.defineProperty(QO,"__esModule",{value:!0});var B_e=require("events"),W_e=Ag(),z_e=j6(),Tg=Pg(),U_e=KO(),YO=class extends U_e.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=W_e.scandir,this._emitter=new B_e.EventEmitter,this._queue=z_e(this._worker.bind(this),this._settings.concurrency),this._isFatalError=!1,this._isDestroyed=!1,this._queue.drain=()=>{this._isFatalError||this._emitter.emit("end")}}read(){return this._isFatalError=!1,this._isDestroyed=!1,setImmediate(()=>{this._pushToQueue(this._root,this._settings.basePath)}),this._emitter}get isDestroyed(){return this._isDestroyed}destroy(){if(this._isDestroyed)throw new Error("The reader is already destroyed");this._isDestroyed=!0,this._queue.killAndDrain()}onEntry(e){this._emitter.on("entry",e)}onError(e){this._emitter.once("error",e)}onEnd(e){this._emitter.once("end",e)}_pushToQueue(e,r){let n={directory:e,base:r};this._queue.push(n,i=>{i!==null&&this._handleError(i)})}_worker(e,r){this._scandir(e.directory,this._settings.fsScandirSettings,(n,i)=>{if(n!==null){r(n,void 0);return}for(let s of i)this._handleEntry(s,e.base);r(null,void 0)})}_handleError(e){this._isDestroyed||!Tg.isFatalError(this._settings,e)||(this._isFatalError=!0,this._isDestroyed=!0,this._emitter.emit("error",e))}_handleEntry(e,r){if(this._isDestroyed||this._isFatalError)return;let n=e.path;r!==void 0&&(e.path=Tg.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),Tg.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&Tg.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};QO.default=YO});var $6=m(ZO=>{"use strict";Object.defineProperty(ZO,"__esModule",{value:!0});var H_e=JO(),XO=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new H_e.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{V_e(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{G_e(e,this._storage)}),this._reader.read()}};ZO.default=XO;function V_e(t,e){t(e)}function G_e(t,e){t(null,e)}});var B6=m(tq=>{"use strict";Object.defineProperty(tq,"__esModule",{value:!0});var K_e=require("stream"),Y_e=JO(),eq=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Y_e.default(this._root,this._settings),this._stream=new K_e.Readable({objectMode:!0,read:()=>{},destroy:()=>{this._reader.isDestroyed||this._reader.destroy()}})}read(){return this._reader.onError(e=>{this._stream.emit("error",e)}),this._reader.onEntry(e=>{this._stream.push(e)}),this._reader.onEnd(()=>{this._stream.push(null)}),this._reader.read(),this._stream}};tq.default=eq});var W6=m(nq=>{"use strict";Object.defineProperty(nq,"__esModule",{value:!0});var Q_e=Ag(),Mg=Pg(),J_e=KO(),rq=class extends J_e.default{constructor(){super(...arguments),this._scandir=Q_e.scandirSync,this._storage=[],this._queue=new Set}read(){return this._pushToQueue(this._root,this._settings.basePath),this._handleQueue(),this._storage}_pushToQueue(e,r){this._queue.add({directory:e,base:r})}_handleQueue(){for(let e of this._queue.values())this._handleDirectory(e.directory,e.base)}_handleDirectory(e,r){try{let n=this._scandir(e,this._settings.fsScandirSettings);for(let i of n)this._handleEntry(i,r)}catch(n){this._handleError(n)}}_handleError(e){if(Mg.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let n=e.path;r!==void 0&&(e.path=Mg.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),Mg.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Mg.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};nq.default=rq});var z6=m(sq=>{"use strict";Object.defineProperty(sq,"__esModule",{value:!0});var X_e=W6(),iq=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new X_e.default(this._root,this._settings)}read(){return this._reader.read()}};sq.default=iq});var U6=m(aq=>{"use strict";Object.defineProperty(aq,"__esModule",{value:!0});var Z_e=require("path"),exe=Ag(),oq=class{constructor(e={}){this._options=e,this.basePath=this._getValue(this._options.basePath,void 0),this.concurrency=this._getValue(this._options.concurrency,Number.POSITIVE_INFINITY),this.deepFilter=this._getValue(this._options.deepFilter,null),this.entryFilter=this._getValue(this._options.entryFilter,null),this.errorFilter=this._getValue(this._options.errorFilter,null),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,Z_e.sep),this.fsScandirSettings=new exe.Settings({followSymbolicLinks:this._options.followSymbolicLinks,fs:this._options.fs,pathSegmentSeparator:this._options.pathSegmentSeparator,stats:this._options.stats,throwErrorOnBrokenSymbolicLink:this._options.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};aq.default=oq});var Lg=m(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.Settings=Si.walkStream=Si.walkSync=Si.walk=void 0;var H6=$6(),txe=B6(),rxe=z6(),uq=U6();Si.Settings=uq.default;function nxe(t,e,r){if(typeof e=="function"){new H6.default(t,Fg()).read(e);return}new H6.default(t,Fg(e)).read(r)}Si.walk=nxe;function ixe(t,e){let r=Fg(e);return new rxe.default(t,r).read()}Si.walkSync=ixe;function sxe(t,e){let r=Fg(e);return new txe.default(t,r).read()}Si.walkStream=sxe;function Fg(t={}){return t instanceof uq.default?t:new uq.default(t)}});var Ig=m(cq=>{"use strict";Object.defineProperty(cq,"__esModule",{value:!0});var oxe=require("path"),axe=Do(),V6=Zi(),lq=class{constructor(e){this._settings=e,this._fsStatSettings=new axe.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return oxe.resolve(this._settings.cwd,e)}_makeEntry(e,r){let n={name:r,path:r,dirent:V6.fs.createDirentFromStats(r,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!V6.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};cq.default=lq});var pq=m(dq=>{"use strict";Object.defineProperty(dq,"__esModule",{value:!0});var uxe=require("stream"),lxe=Do(),cxe=Lg(),fxe=Ig(),fq=class extends fxe.default{constructor(){super(...arguments),this._walkStream=cxe.walkStream,this._stat=lxe.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let n=e.map(this._getFullEntryPath,this),i=new uxe.PassThrough({objectMode:!0});i._write=(s,o,a)=>this._getEntry(n[s],e[s],r).then(u=>{u!==null&&r.entryFilter(u)&&i.push(u),s===n.length-1&&i.end(),a()}).catch(a);for(let s=0;s<n.length;s++)i.write(s);return i}_getEntry(e,r,n){return this._getStat(e).then(i=>this._makeEntry(i,r)).catch(i=>{if(n.errorFilter(i))return null;throw i})}_getStat(e){return new Promise((r,n)=>{this._stat(e,this._fsStatSettings,(i,s)=>i===null?r(s):n(i))})}};dq.default=fq});var G6=m(gq=>{"use strict";Object.defineProperty(gq,"__esModule",{value:!0});var dxe=Lg(),pxe=Ig(),hxe=pq(),hq=class extends pxe.default{constructor(){super(...arguments),this._walkAsync=dxe.walk,this._readerStream=new hxe.default(this._settings)}dynamic(e,r){return new Promise((n,i)=>{this._walkAsync(e,r,(s,o)=>{s===null?n(o):i(s)})})}async static(e,r){let n=[],i=this._readerStream.static(e,r);return new Promise((s,o)=>{i.once("error",o),i.on("data",a=>n.push(a)),i.once("end",()=>s(n))})}};gq.default=hq});var K6=m(yq=>{"use strict";Object.defineProperty(yq,"__esModule",{value:!0});var ou=Zi(),mq=class{constructor(e,r,n){this._patterns=e,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let e=ou.pattern.expandPatternsWithBraceExpansion(this._patterns);for(let r of e){let n=this._getPatternSegments(r),i=this._splitSegmentsIntoSections(n);this._storage.push({complete:i.length<=1,pattern:r,segments:n,sections:i})}}_getPatternSegments(e){return ou.pattern.getPatternParts(e,this._micromatchOptions).map(n=>ou.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:ou.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(e){return ou.array.splitWhen(e,r=>r.dynamic&&ou.pattern.hasGlobStar(r.pattern))}};yq.default=mq});var Y6=m(vq=>{"use strict";Object.defineProperty(vq,"__esModule",{value:!0});var gxe=K6(),bq=class extends gxe.default{match(e){let r=e.split("/"),n=r.length,i=this._storage.filter(s=>!s.complete||s.segments.length>n);for(let s of i){let o=s.sections[0];if(!s.complete&&n>o.length||r.every((u,l)=>{let c=s.segments[l];return!!(c.dynamic&&c.patternRe.test(u)||!c.dynamic&&c.pattern===u)}))return!0}return!1}};vq.default=bq});var Q6=m(_q=>{"use strict";Object.defineProperty(_q,"__esModule",{value:!0});var Ng=Zi(),mxe=Y6(),wq=class{constructor(e,r){this._settings=e,this._micromatchOptions=r}getFilter(e,r,n){let i=this._getMatcher(r),s=this._getNegativePatternsRe(n);return o=>this._filter(e,o,i,s)}_getMatcher(e){return new mxe.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(Ng.pattern.isAffectDepthOfReadingPattern);return Ng.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,n,i){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=Ng.path.removeLeadingDotSegment(r.path);return this._isSkippedByPositivePatterns(s,n)?!1:this._isSkippedByNegativePatterns(s,i)}_isSkippedByDeep(e,r){return this._settings.deep===1/0?!1:this._getEntryLevel(e,r)>=this._settings.deep}_getEntryLevel(e,r){let n=r.split("/").length;if(e==="")return n;let i=e.split("/").length;return n-i}_isSkippedSymbolicLink(e){return!this._settings.followSymbolicLinks&&e.dirent.isSymbolicLink()}_isSkippedByPositivePatterns(e,r){return!this._settings.baseNameMatch&&!r.match(e)}_isSkippedByNegativePatterns(e,r){return!Ng.pattern.matchAny(e,r)}};_q.default=wq});var J6=m(Sq=>{"use strict";Object.defineProperty(Sq,"__esModule",{value:!0});var Oo=Zi(),xq=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let n=Oo.pattern.convertPatternsToRe(e,this._micromatchOptions),i=Oo.pattern.convertPatternsToRe(r,this._micromatchOptions);return s=>this._filter(s,n,i)}_filter(e,r,n){if(this._settings.unique&&this._isDuplicateEntry(e)||this._onlyFileFilter(e)||this._onlyDirectoryFilter(e)||this._isSkippedByAbsoluteNegativePatterns(e.path,n))return!1;let i=this._settings.baseNameMatch?e.name:e.path,s=e.dirent.isDirectory(),o=this._isMatchToPatterns(i,r,s)&&!this._isMatchToPatterns(e.path,n,s);return this._settings.unique&&o&&this._createIndexRecord(e),o}_isDuplicateEntry(e){return this.index.has(e.path)}_createIndexRecord(e){this.index.set(e.path,void 0)}_onlyFileFilter(e){return this._settings.onlyFiles&&!e.dirent.isFile()}_onlyDirectoryFilter(e){return this._settings.onlyDirectories&&!e.dirent.isDirectory()}_isSkippedByAbsoluteNegativePatterns(e,r){if(!this._settings.absolute)return!1;let n=Oo.path.makeAbsolute(this._settings.cwd,e);return Oo.pattern.matchAny(n,r)}_isMatchToPatterns(e,r,n){let i=Oo.path.removeLeadingDotSegment(e),s=Oo.pattern.matchAny(i,r);return!s&&n?Oo.pattern.matchAny(i+"/",r):s}};Sq.default=xq});var X6=m(Eq=>{"use strict";Object.defineProperty(Eq,"__esModule",{value:!0});var yxe=Zi(),kq=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return yxe.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};Eq.default=kq});var e$=m(Dq=>{"use strict";Object.defineProperty(Dq,"__esModule",{value:!0});var Z6=Zi(),Cq=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=Z6.path.makeAbsolute(this._settings.cwd,r),r=Z6.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};Dq.default=Cq});var jg=m(qq=>{"use strict";Object.defineProperty(qq,"__esModule",{value:!0});var bxe=require("path"),vxe=Q6(),wxe=J6(),_xe=X6(),xxe=e$(),Oq=class{constructor(e){this._settings=e,this.errorFilter=new _xe.default(this._settings),this.entryFilter=new wxe.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new vxe.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new xxe.default(this._settings)}_getRootDirectory(e){return bxe.resolve(this._settings.cwd,e.base)}_getReaderOptions(e){let r=e.base==="."?"":e.base;return{basePath:r,pathSegmentSeparator:"/",concurrency:this._settings.concurrency,deepFilter:this.deepFilter.getFilter(r,e.positive,e.negative),entryFilter:this.entryFilter.getFilter(e.positive,e.negative),errorFilter:this.errorFilter.getFilter(),followSymbolicLinks:this._settings.followSymbolicLinks,fs:this._settings.fs,stats:this._settings.stats,throwErrorOnBrokenSymbolicLink:this._settings.throwErrorOnBrokenSymbolicLink,transform:this.entryTransformer.getTransformer()}}_getMicromatchOptions(){return{dot:this._settings.dot,matchBase:this._settings.baseNameMatch,nobrace:!this._settings.braceExpansion,nocase:!this._settings.caseSensitiveMatch,noext:!this._settings.extglob,noglobstar:!this._settings.globstar,posix:!0,strictSlashes:!1}}};qq.default=Oq});var t$=m(Aq=>{"use strict";Object.defineProperty(Aq,"__esModule",{value:!0});var Sxe=G6(),kxe=jg(),Rq=class extends kxe.default{constructor(){super(...arguments),this._reader=new Sxe.default(this._settings)}async read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return(await this.api(r,e,n)).map(s=>n.transform(s))}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Aq.default=Rq});var r$=m(Tq=>{"use strict";Object.defineProperty(Tq,"__esModule",{value:!0});var Exe=require("stream"),Cxe=pq(),Dxe=jg(),Pq=class extends Dxe.default{constructor(){super(...arguments),this._reader=new Cxe.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(r,e,n),s=new Exe.Readable({objectMode:!0,read:()=>{}});return i.once("error",o=>s.emit("error",o)).on("data",o=>s.emit("data",n.transform(o))).once("end",()=>s.emit("end")),s.once("close",()=>i.destroy()),s}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Tq.default=Pq});var n$=m(Fq=>{"use strict";Object.defineProperty(Fq,"__esModule",{value:!0});var Oxe=Do(),qxe=Lg(),Rxe=Ig(),Mq=class extends Rxe.default{constructor(){super(...arguments),this._walkSync=qxe.walkSync,this._statSync=Oxe.statSync}dynamic(e,r){return this._walkSync(e,r)}static(e,r){let n=[];for(let i of e){let s=this._getFullEntryPath(i),o=this._getEntry(s,i,r);o===null||!r.entryFilter(o)||n.push(o)}return n}_getEntry(e,r,n){try{let i=this._getStat(e);return this._makeEntry(i,r)}catch(i){if(n.errorFilter(i))return null;throw i}}_getStat(e){return this._statSync(e,this._fsStatSettings)}};Fq.default=Mq});var i$=m(Iq=>{"use strict";Object.defineProperty(Iq,"__esModule",{value:!0});var Axe=n$(),Pxe=jg(),Lq=class extends Pxe.default{constructor(){super(...arguments),this._reader=new Axe.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e);return this.api(r,e,n).map(n.transform)}api(e,r,n){return r.dynamic?this._reader.dynamic(e,n):this._reader.static(r.patterns,n)}};Iq.default=Lq});var s$=m(uu=>{"use strict";Object.defineProperty(uu,"__esModule",{value:!0});uu.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var au=require("fs"),Txe=require("os"),Mxe=Math.max(Txe.cpus().length,1);uu.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:au.lstat,lstatSync:au.lstatSync,stat:au.stat,statSync:au.statSync,readdir:au.readdir,readdirSync:au.readdirSync};var Nq=class{constructor(e={}){this._options=e,this.absolute=this._getValue(this._options.absolute,!1),this.baseNameMatch=this._getValue(this._options.baseNameMatch,!1),this.braceExpansion=this._getValue(this._options.braceExpansion,!0),this.caseSensitiveMatch=this._getValue(this._options.caseSensitiveMatch,!0),this.concurrency=this._getValue(this._options.concurrency,Mxe),this.cwd=this._getValue(this._options.cwd,process.cwd()),this.deep=this._getValue(this._options.deep,1/0),this.dot=this._getValue(this._options.dot,!1),this.extglob=this._getValue(this._options.extglob,!0),this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!0),this.fs=this._getFileSystemMethods(this._options.fs),this.globstar=this._getValue(this._options.globstar,!0),this.ignore=this._getValue(this._options.ignore,[]),this.markDirectories=this._getValue(this._options.markDirectories,!1),this.objectMode=this._getValue(this._options.objectMode,!1),this.onlyDirectories=this._getValue(this._options.onlyDirectories,!1),this.onlyFiles=this._getValue(this._options.onlyFiles,!0),this.stats=this._getValue(this._options.stats,!1),this.suppressErrors=this._getValue(this._options.suppressErrors,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!1),this.unique=this._getValue(this._options.unique,!0),this.onlyDirectories&&(this.onlyFiles=!1),this.stats&&(this.objectMode=!0)}_getValue(e,r){return e===void 0?r:e}_getFileSystemMethods(e={}){return Object.assign(Object.assign({},uu.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};uu.default=Nq});var Ro=m((lqt,u$)=>{"use strict";var o$=s6(),a$=a6(),Fxe=t$(),Lxe=r$(),Ixe=i$(),jq=s$(),qo=Zi();async function $q(t,e){lu(t);let r=Bq(t,Fxe.default,e),n=await Promise.all(r);return qo.array.flatten(n)}(function(t){function e(o,a){lu(o);let u=Bq(o,Ixe.default,a);return qo.array.flatten(u)}t.sync=e;function r(o,a){lu(o);let u=Bq(o,Lxe.default,a);return qo.stream.merge(u)}t.stream=r;function n(o,a){lu(o);let u=a$.transform([].concat(o)),l=new jq.default(a);return o$.generate(u,l)}t.generateTasks=n;function i(o,a){lu(o);let u=new jq.default(a);return qo.pattern.isDynamicPattern(o,u)}t.isDynamicPattern=i;function s(o){return lu(o),qo.path.escape(o)}t.escapePath=s})($q||($q={}));function Bq(t,e,r){let n=a$.transform([].concat(t)),i=new jq.default(r),s=o$.generate(n,i),o=new e(i);return s.map(o.read,o)}function lu(t){if(![].concat(t).every(n=>qo.string.isString(n)&&!qo.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}u$.exports=$q});var c$=m((cqt,l$)=>{var Nxe=typeof process=="object"&&process&&process.platform==="win32";l$.exports=Nxe?{sep:"\\"}:{sep:"/"}});var $g=m((fqt,h$)=>{"use strict";h$.exports=d$;function d$(t,e,r){t instanceof RegExp&&(t=f$(t,r)),e instanceof RegExp&&(e=f$(e,r));var n=p$(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function f$(t,e){var r=e.match(t);return r?r[0]:null}d$.range=p$;function p$(t,e,r){var n,i,s,o,a,u=r.indexOf(t),l=r.indexOf(e,u+1),c=u;if(u>=0&&l>0){if(t===e)return[u,l];for(n=[],s=r.length;c>=0&&!a;)c==u?(n.push(c),u=r.indexOf(t,c+1)):n.length==1?a=[n.pop(),l]:(i=n.pop(),i<s&&(s=i,o=l),l=r.indexOf(e,c+1)),c=u<l&&u>=0?u:l;n.length&&(a=[s,o])}return a}});var x$=m((dqt,_$)=>{var g$=$g();_$.exports=Bxe;var m$="\0SLASH"+Math.random()+"\0",y$="\0OPEN"+Math.random()+"\0",zq="\0CLOSE"+Math.random()+"\0",b$="\0COMMA"+Math.random()+"\0",v$="\0PERIOD"+Math.random()+"\0";function Wq(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function jxe(t){return t.split("\\\\").join(m$).split("\\{").join(y$).split("\\}").join(zq).split("\\,").join(b$).split("\\.").join(v$)}function $xe(t){return t.split(m$).join("\\").split(y$).join("{").split(zq).join("}").split(b$).join(",").split(v$).join(".")}function w$(t){if(!t)return[""];var e=[],r=g$("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=w$(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Bxe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),vc(jxe(t),!0).map($xe)):[]}function Wxe(t){return"{"+t+"}"}function zxe(t){return/^-?0\d/.test(t)}function Uxe(t,e){return t<=e}function Hxe(t,e){return t>=e}function vc(t,e){var r=[],n=g$("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?vc(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<s.length;o++){var a=i+"{"+n.body+"}"+s[o];r.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),c=u||l,f=n.body.indexOf(",")>=0;if(!c&&!f)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+zq+n.post,vc(t)):[t];var d;if(c)d=n.body.split(/\.\./);else if(d=w$(n.body),d.length===1&&(d=vc(d[0],!1).map(Wxe),d.length===1))return s.map(function(z){return n.pre+d[0]+z});var p;if(c){var h=Wq(d[0]),y=Wq(d[1]),b=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(Wq(d[2])):1,v=Uxe,w=y<h;w&&(g*=-1,v=Hxe);var _=d.some(zxe);p=[];for(var x=h;v(x,y);x+=g){var C;if(l)C=String.fromCharCode(x),C==="\\"&&(C="");else if(C=String(x),_){var M=b-C.length;if(M>0){var P=new Array(M+1).join("0");x<0?C="-"+P+C.slice(1):C=P+C}}p.push(C)}}else{p=[];for(var R=0;R<d.length;R++)p.push.apply(p,vc(d[R],!1))}for(var R=0;R<p.length;R++)for(var o=0;o<s.length;o++){var a=i+p[R]+s[o];(!e||c||a)&&r.push(a)}}return r}});var O$=m((hqt,Kq)=>{var fn=Kq.exports=(t,e,r={})=>(Bg(e),!r.nocomment&&e.charAt(0)==="#"?!1:new cu(e,r).match(t));Kq.exports=fn;var Vq=c$();fn.sep=Vq.sep;var Zn=Symbol("globstar **");fn.GLOBSTAR=Zn;var Vxe=x$(),S$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Gq="[^/]",Uq=Gq+"*?",Gxe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Kxe="(?:(?!(?:\\/|^)\\.).)*?",C$=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),k$=C$("().*{}+?[]^$\\!"),Yxe=C$("[.("),E$=/\/+/;fn.filter=(t,e={})=>(r,n,i)=>fn(r,t,e);var Ts=(t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r};fn.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return fn;let e=fn,r=(n,i,s)=>e(n,i,Ts(t,s));return r.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,Ts(t,s))}},r.Minimatch.defaults=n=>e.defaults(Ts(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,Ts(t,i)),r.defaults=n=>e.defaults(Ts(t,n)),r.makeRe=(n,i)=>e.makeRe(n,Ts(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,Ts(t,i)),r.match=(n,i,s)=>e.match(n,i,Ts(t,s)),r};fn.braceExpand=(t,e)=>D$(t,e);var D$=(t,e={})=>(Bg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Vxe(t)),Qxe=1024*64,Bg=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Qxe)throw new TypeError("pattern is too long")},Hq=Symbol("subparse");fn.makeRe=(t,e)=>new cu(t,e||{}).makeRe();fn.match=(t,e,r={})=>{let n=new cu(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var Jxe=t=>t.replace(/\\(.)/g,"$1"),Xxe=t=>t.replace(/\\([^-\]])/g,"$1"),Zxe=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),e1e=t=>t.replace(/[[\]\\]/g,"\\$&"),cu=class{constructor(e,r){Bg(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(E$)),this.debug(this.pattern,n),n=n.map((i,s,o)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var s=0,o=0,a=e.length,u=r.length;s<a&&o<u;s++,o++){this.debug("matchOne loop");var l=r[o],c=e[s];if(this.debug(r,l,c),l===!1)return!1;if(l===Zn){this.debug("GLOBSTAR",[r,l,c]);var f=s,d=o+1;if(d===u){for(this.debug("** at the end");s<a;s++)if(e[s]==="."||e[s]===".."||!i.dot&&e[s].charAt(0)===".")return!1;return!0}for(;f<a;){var p=e[f];if(this.debug(`
|
|
3
|
+
globstar while`,e,f,r,d,p),this.matchOne(e.slice(f),r.slice(d),n))return this.debug("globstar found match!",f,a,p),!0;if(p==="."||p===".."||!i.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,f,r,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!!(n&&(this.debug(`
|
|
4
|
+
>>> no match, partial?`,e,f,r,d),f===a))}var h;if(typeof l=="string"?(h=c===l,this.debug("string match",l,c,h)):(h=c.match(l),this.debug("pattern match",l,c,h)),!h)return!1}if(s===a&&o===u)return!0;if(s===a)return n;if(o===u)return s===a-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return D$(this.pattern,this.options)}parse(e,r){Bg(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return Zn;if(e==="")return"";let i="",s=!!n.nocase,o=!1,a=[],u=[],l,c=!1,f=-1,d=-1,p,h,y,b=e.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=()=>{if(l){switch(l){case"*":i+=Uq,s=!0;break;case"?":i+=Gq,s=!0;break;default:i+="\\"+l;break}this.debug("clearStateChar %j %j",l,i),l=!1}};for(let _=0,x;_<e.length&&(x=e.charAt(_));_++){if(this.debug("%s %s %s %j",e,_,i,x),o){if(x==="/")return!1;k$[x]&&(i+="\\"),i+=x,o=!1;continue}switch(x){case"/":return!1;case"\\":if(c&&e.charAt(_+1)==="-"){i+=x;continue}g(),o=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,_,i,x),c){this.debug(" in class"),x==="!"&&_===d+1&&(x="^"),i+=x;continue}this.debug("call clearStateChar %j",l),g(),l=x,n.noext&&g();continue;case"(":if(c){i+="(";continue}if(!l){i+="\\(";continue}a.push({type:l,start:_-1,reStart:i.length,open:S$[l].open,close:S$[l].close}),i+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,i),l=!1;continue;case")":if(c||!a.length){i+="\\)";continue}g(),s=!0,h=a.pop(),i+=h.close,h.type==="!"&&u.push(h),h.reEnd=i.length;continue;case"|":if(c||!a.length){i+="\\|";continue}g(),i+="|";continue;case"[":if(g(),c){i+="\\"+x;continue}c=!0,d=_,f=i.length,i+=x;continue;case"]":if(_===d+1||!c){i+="\\"+x;continue}p=e.substring(d+1,_);try{RegExp("["+e1e(Xxe(p))+"]"),i+=x}catch{i=i.substring(0,f)+"(?:$.)"}s=!0,c=!1;continue;default:g(),k$[x]&&!(x==="^"&&c)&&(i+="\\"),i+=x;break}}for(c&&(p=e.slice(d+1),y=this.parse(p,Hq),i=i.substring(0,f)+"\\["+y[0],s=s||y[1]),h=a.pop();h;h=a.pop()){let _;_=i.slice(h.reStart+h.open.length),this.debug("setting tail",i,h),_=_.replace(/((?:\\{2}){0,64})(\\?)\|/g,(C,M,P)=>(P||(P="\\"),M+M+P+"|")),this.debug(`tail=%j
|
|
5
|
+
%s`,_,_,h,i);let x=h.type==="*"?Uq:h.type==="?"?Gq:"\\"+h.type;s=!0,i=i.slice(0,h.reStart)+x+"\\("+_}g(),o&&(i+="\\\\");let v=Yxe[i.charAt(0)];for(let _=u.length-1;_>-1;_--){let x=u[_],C=i.slice(0,x.reStart),M=i.slice(x.reStart,x.reEnd-8),P=i.slice(x.reEnd),R=i.slice(x.reEnd-8,x.reEnd)+P,z=C.split("(").length-1,$=P;for(let G=0;G<z;G++)$=$.replace(/\)[+*?]?/,"");P=$;let ee=P===""&&r!==Hq?"$":"";i=C+M+P+ee+R}if(i!==""&&s&&(i="(?=.)"+i),v&&(i=b+i),r===Hq)return[i,s];if(!s)return Jxe(e);let w=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",w),{_glob:e,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?Uq:r.dot?Gxe:Kxe,i=r.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?Zxe(a):a===Zn?Zn:a._src).reduce((a,u)=>(a[a.length-1]===Zn&&u===Zn||a.push(u),a),[]),o.forEach((a,u)=>{a!==Zn||o[u-1]===Zn||(u===0?o.length>1?o[u+1]="(?:\\/|"+n+"\\/)?"+o[u+1]:o[u]=n:u===o.length-1?o[u-1]+="(?:\\/|"+n+")?":(o[u-1]+="(?:\\/|\\/"+n+"\\/)"+o[u+1],o[u+1]=Zn))}),o.filter(a=>a!==Zn).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;Vq.sep!=="/"&&(e=e.split(Vq.sep).join("/")),e=e.split(E$),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let o=e.length-1;o>=0&&(s=e[o],!s);o--);for(let o=0;o<i.length;o++){let a=i[o],u=e;if(n.matchBase&&a.length===1&&(u=[s]),this.matchOne(u,a,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return fn.defaults(e).Minimatch}};fn.Minimatch=cu});var G$=m((vqt,t2)=>{"use strict";var V$=require("module"),I1e=require("path");t2.exports=function(e,r,n){if(typeof r=="object"&&(n=r,r=void 0),n=n||{},r=r||"",n.appendPaths=n.appendPaths||[],n.prependPaths=n.prependPaths||[],typeof e!="string")throw new Error("code must be a string, not "+typeof e);var i=V$._nodeModulePaths(I1e.dirname(r)),s=t2.parent,o=new V$(r,s);o.filename=r,o.paths=[].concat(n.prependPaths).concat(i).concat(n.appendPaths),o._compile(e,r);var a=o.exports;return s&&s.children&&s.children.splice(s.children.indexOf(o),1),a}});var u2=m((_qt,xB)=>{"use strict";var o2=Object.defineProperty,N1e=Object.getOwnPropertyDescriptor,j1e=Object.getOwnPropertyNames,$1e=Object.prototype.hasOwnProperty,B1e=(t,e)=>{for(var r in e)o2(t,r,{get:e[r],enumerable:!0})},W1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of j1e(e))!$1e.call(t,i)&&i!==r&&o2(t,i,{get:()=>e[i],enumerable:!(n=N1e(e,i))||n.enumerable});return t},z1e=t=>W1e(o2({},"__esModule",{value:!0}),t),kc={};B1e(kc,{analyzeMetafile:()=>bSe,analyzeMetafileSync:()=>xSe,build:()=>hSe,buildSync:()=>vSe,default:()=>ESe,formatMessages:()=>ySe,formatMessagesSync:()=>_Se,initialize:()=>SSe,serve:()=>gSe,transform:()=>mSe,transformSync:()=>wSe,version:()=>pSe});xB.exports=z1e(kc);function X$(t){let e=n=>{if(n===null)r.write8(0);else if(typeof n=="boolean")r.write8(1),r.write8(+n);else if(typeof n=="number")r.write8(2),r.write32(n|0);else if(typeof n=="string")r.write8(3),r.write(ti(n));else if(n instanceof Uint8Array)r.write8(4),r.write(n);else if(n instanceof Array){r.write8(5),r.write32(n.length);for(let i of n)e(i)}else{let i=Object.keys(n);r.write8(6),r.write32(i.length);for(let s of i)r.write(ti(s)),e(n[s])}},r=new cB;return r.write32(0),r.write32(t.id<<1|+!t.isRequest),e(t.value),i2(r.buf,r.len-4,0),r.buf.subarray(0,r.len)}function U1e(t){let e=()=>{switch(r.read8()){case 0:return null;case 1:return!!r.read8();case 2:return r.read32();case 3:return mu(r.read());case 4:return r.read();case 5:{let o=r.read32(),a=[];for(let u=0;u<o;u++)a.push(e());return a}case 6:{let o=r.read32(),a={};for(let u=0;u<o;u++)a[mu(r.read())]=e();return a}default:throw new Error("Invalid packet")}},r=new cB(t),n=r.read32(),i=(n&1)===0;n>>>=1;let s=e();if(r.ptr!==t.length)throw new Error("Invalid packet");return{id:n,isRequest:i,value:s}}var cB=class{constructor(t=new Uint8Array(1024)){this.buf=t,this.len=0,this.ptr=0}_write(t){if(this.len+t>this.buf.length){let e=new Uint8Array((this.len+t)*2);e.set(this.buf),this.buf=e}return this.len+=t,this.len-t}write8(t){let e=this._write(1);this.buf[e]=t}write32(t){let e=this._write(4);i2(this.buf,t,e)}write(t){let e=this._write(4+t.length);i2(this.buf,t.length,e),this.buf.set(t,e+4)}_read(t){if(this.ptr+t>this.buf.length)throw new Error("Invalid packet");return this.ptr+=t,this.ptr-t}read8(){return this.buf[this._read(1)]}read32(){return fB(this.buf,this._read(4))}read(){let t=this.read32(),e=new Uint8Array(t),r=this._read(e.length);return e.set(this.buf.subarray(r,r+t)),e}},ti,mu,n2;if(typeof TextEncoder<"u"&&typeof TextDecoder<"u"){let t=new TextEncoder,e=new TextDecoder;ti=r=>t.encode(r),mu=r=>e.decode(r),n2='new TextEncoder().encode("")'}else if(typeof Buffer<"u")ti=t=>Buffer.from(t),mu=t=>{let{buffer:e,byteOffset:r,byteLength:n}=t;return Buffer.from(e,r,n).toString()},n2='Buffer.from("")';else throw new Error("No UTF-8 codec found");if(!(ti("")instanceof Uint8Array))throw new Error(`Invariant violation: "${n2} instanceof Uint8Array" is incorrectly false
|
|
6
|
+
|
|
7
|
+
This indicates that your JavaScript environment is broken. You cannot use
|
|
8
|
+
esbuild in this environment because esbuild relies on this invariant. This
|
|
9
|
+
is not a problem with esbuild. You need to fix your environment instead.
|
|
10
|
+
`);function fB(t,e){return t[e++]|t[e++]<<8|t[e++]<<16|t[e++]<<24}function i2(t,e,r){t[r++]=e,t[r++]=e>>8,t[r++]=e>>16,t[r++]=e>>24}var Tr=JSON.stringify,Z$="warning",eB="silent";function tB(t){if(_r(t,"target"),t.indexOf(",")>=0)throw new Error(`Invalid target: ${t}`);return t}var Kg=()=>null,xt=t=>typeof t=="boolean"?null:"a boolean",H1e=t=>typeof t=="boolean"||typeof t=="object"&&!Array.isArray(t)?null:"a boolean or an object",Oe=t=>typeof t=="string"?null:"a string",Yg=t=>t instanceof RegExp?null:"a RegExp object",hu=t=>typeof t=="number"&&t===(t|0)?null:"an integer",a2=t=>typeof t=="function"?null:"a function",rr=t=>Array.isArray(t)?null:"an array",ei=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"an object",V1e=t=>t instanceof WebAssembly.Module?null:"a WebAssembly.Module",G1e=t=>typeof t=="object"&&t!==null?null:"an array or an object",rB=t=>typeof t=="object"&&!Array.isArray(t)?null:"an object or null",dB=t=>typeof t=="string"||typeof t=="boolean"?null:"a string or a boolean",K1e=t=>typeof t=="string"||typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"a string or an object",Y1e=t=>typeof t=="string"||Array.isArray(t)?null:"a string or an array",pB=t=>typeof t=="string"||t instanceof Uint8Array?null:"a string or a Uint8Array",Q1e=t=>typeof t=="string"||t instanceof URL?null:"a string or a URL";function K(t,e,r,n){let i=t[r];if(e[r+""]=!0,i===void 0)return;let s=n(i);if(s!==null)throw new Error(`${Tr(r)} must be ${s}`);return i}function or(t,e,r){for(let n in t)if(!(n in e))throw new Error(`Invalid option ${r}: ${Tr(n)}`)}function J1e(t){let e=Object.create(null),r=K(t,e,"wasmURL",Q1e),n=K(t,e,"wasmModule",V1e),i=K(t,e,"worker",xt);return or(t,e,"in initialize() call"),{wasmURL:r,wasmModule:n,worker:i}}function hB(t){let e;if(t!==void 0){e=Object.create(null);for(let r in t){let n=t[r];if(typeof n=="string"||n===!1)e[r]=n;else throw new Error(`Expected ${Tr(r)} in mangle cache to map to either a string or false`)}}return e}function Zg(t,e,r,n,i){let s=K(e,r,"color",xt),o=K(e,r,"logLevel",Oe),a=K(e,r,"logLimit",hu);s!==void 0?t.push(`--color=${s}`):n&&t.push("--color=true"),t.push(`--log-level=${o||i}`),t.push(`--log-limit=${a||0}`)}function _r(t,e,r){if(typeof t!="string")throw new Error(`Expected value for ${e}${r!==void 0?" "+Tr(r):""} to be a string, got ${typeof t} instead`);return t}function gB(t,e,r){let n=K(e,r,"legalComments",Oe),i=K(e,r,"sourceRoot",Oe),s=K(e,r,"sourcesContent",xt),o=K(e,r,"target",Y1e),a=K(e,r,"format",Oe),u=K(e,r,"globalName",Oe),l=K(e,r,"mangleProps",Yg),c=K(e,r,"reserveProps",Yg),f=K(e,r,"mangleQuoted",xt),d=K(e,r,"minify",xt),p=K(e,r,"minifySyntax",xt),h=K(e,r,"minifyWhitespace",xt),y=K(e,r,"minifyIdentifiers",xt),b=K(e,r,"drop",rr),g=K(e,r,"charset",Oe),v=K(e,r,"treeShaking",xt),w=K(e,r,"ignoreAnnotations",xt),_=K(e,r,"jsx",Oe),x=K(e,r,"jsxFactory",Oe),C=K(e,r,"jsxFragment",Oe),M=K(e,r,"jsxImportSource",Oe),P=K(e,r,"jsxDev",xt),R=K(e,r,"jsxSideEffects",xt),z=K(e,r,"define",ei),$=K(e,r,"logOverride",ei),ee=K(e,r,"supported",ei),G=K(e,r,"pure",rr),ae=K(e,r,"keepNames",xt),F=K(e,r,"platform",Oe);if(n&&t.push(`--legal-comments=${n}`),i!==void 0&&t.push(`--source-root=${i}`),s!==void 0&&t.push(`--sources-content=${s}`),o&&(Array.isArray(o)?t.push(`--target=${Array.from(o).map(tB).join(",")}`):t.push(`--target=${tB(o)}`)),a&&t.push(`--format=${a}`),u&&t.push(`--global-name=${u}`),F&&t.push(`--platform=${F}`),d&&t.push("--minify"),p&&t.push("--minify-syntax"),h&&t.push("--minify-whitespace"),y&&t.push("--minify-identifiers"),g&&t.push(`--charset=${g}`),v!==void 0&&t.push(`--tree-shaking=${v}`),w&&t.push("--ignore-annotations"),b)for(let T of b)t.push(`--drop:${_r(T,"drop")}`);if(l&&t.push(`--mangle-props=${l.source}`),c&&t.push(`--reserve-props=${c.source}`),f!==void 0&&t.push(`--mangle-quoted=${f}`),_&&t.push(`--jsx=${_}`),x&&t.push(`--jsx-factory=${x}`),C&&t.push(`--jsx-fragment=${C}`),M&&t.push(`--jsx-import-source=${M}`),P&&t.push("--jsx-dev"),R&&t.push("--jsx-side-effects"),z)for(let T in z){if(T.indexOf("=")>=0)throw new Error(`Invalid define: ${T}`);t.push(`--define:${T}=${_r(z[T],"define",T)}`)}if($)for(let T in $){if(T.indexOf("=")>=0)throw new Error(`Invalid log override: ${T}`);t.push(`--log-override:${T}=${_r($[T],"log override",T)}`)}if(ee)for(let T in ee){if(T.indexOf("=")>=0)throw new Error(`Invalid supported: ${T}`);let ue=ee[T];if(typeof ue!="boolean")throw new Error(`Expected value for supported ${Tr(T)} to be a boolean, got ${typeof ue} instead`);t.push(`--supported:${T}=${ue}`)}if(G)for(let T of G)t.push(`--pure:${_r(T,"pure")}`);ae&&t.push("--keep-names")}function X1e(t,e,r,n,i){var s;let o=[],a=[],u=Object.create(null),l=null,c=null,f=null;Zg(o,e,u,r,n),gB(o,e,u);let d=K(e,u,"sourcemap",dB),p=K(e,u,"bundle",xt),h=K(e,u,"watch",H1e),y=K(e,u,"splitting",xt),b=K(e,u,"preserveSymlinks",xt),g=K(e,u,"metafile",xt),v=K(e,u,"outfile",Oe),w=K(e,u,"outdir",Oe),_=K(e,u,"outbase",Oe),x=K(e,u,"tsconfig",Oe),C=K(e,u,"resolveExtensions",rr),M=K(e,u,"nodePaths",rr),P=K(e,u,"mainFields",rr),R=K(e,u,"conditions",rr),z=K(e,u,"external",rr),$=K(e,u,"packages",Oe),ee=K(e,u,"alias",ei),G=K(e,u,"loader",ei),ae=K(e,u,"outExtension",ei),F=K(e,u,"publicPath",Oe),T=K(e,u,"entryNames",Oe),ue=K(e,u,"chunkNames",Oe),re=K(e,u,"assetNames",Oe),fe=K(e,u,"inject",rr),oe=K(e,u,"banner",ei),ie=K(e,u,"footer",ei),pe=K(e,u,"entryPoints",G1e),be=K(e,u,"absWorkingDir",Oe),Ce=K(e,u,"stdin",ei),Qe=(s=K(e,u,"write",xt))!=null?s:i,ve=K(e,u,"allowOverwrite",xt),Ct=K(e,u,"incremental",xt)===!0,dt=K(e,u,"mangleCache",ei);if(u.plugins=!0,or(e,u,`in ${t}() call`),d&&o.push(`--sourcemap${d===!0?"":`=${d}`}`),p&&o.push("--bundle"),ve&&o.push("--allow-overwrite"),h)if(o.push("--watch"),typeof h=="boolean")f={};else{let le=Object.create(null),ne=K(h,le,"onRebuild",a2);or(h,le,`on "watch" in ${t}() call`),f={onRebuild:ne}}if(y&&o.push("--splitting"),b&&o.push("--preserve-symlinks"),g&&o.push("--metafile"),v&&o.push(`--outfile=${v}`),w&&o.push(`--outdir=${w}`),_&&o.push(`--outbase=${_}`),x&&o.push(`--tsconfig=${x}`),$&&o.push(`--packages=${$}`),C){let le=[];for(let ne of C){if(_r(ne,"resolve extension"),ne.indexOf(",")>=0)throw new Error(`Invalid resolve extension: ${ne}`);le.push(ne)}o.push(`--resolve-extensions=${le.join(",")}`)}if(F&&o.push(`--public-path=${F}`),T&&o.push(`--entry-names=${T}`),ue&&o.push(`--chunk-names=${ue}`),re&&o.push(`--asset-names=${re}`),P){let le=[];for(let ne of P){if(_r(ne,"main field"),ne.indexOf(",")>=0)throw new Error(`Invalid main field: ${ne}`);le.push(ne)}o.push(`--main-fields=${le.join(",")}`)}if(R){let le=[];for(let ne of R){if(_r(ne,"condition"),ne.indexOf(",")>=0)throw new Error(`Invalid condition: ${ne}`);le.push(ne)}o.push(`--conditions=${le.join(",")}`)}if(z)for(let le of z)o.push(`--external:${_r(le,"external")}`);if(ee)for(let le in ee){if(le.indexOf("=")>=0)throw new Error(`Invalid package name in alias: ${le}`);o.push(`--alias:${le}=${_r(ee[le],"alias",le)}`)}if(oe)for(let le in oe){if(le.indexOf("=")>=0)throw new Error(`Invalid banner file type: ${le}`);o.push(`--banner:${le}=${_r(oe[le],"banner",le)}`)}if(ie)for(let le in ie){if(le.indexOf("=")>=0)throw new Error(`Invalid footer file type: ${le}`);o.push(`--footer:${le}=${_r(ie[le],"footer",le)}`)}if(fe)for(let le of fe)o.push(`--inject:${_r(le,"inject")}`);if(G)for(let le in G){if(le.indexOf("=")>=0)throw new Error(`Invalid loader extension: ${le}`);o.push(`--loader:${le}=${_r(G[le],"loader",le)}`)}if(ae)for(let le in ae){if(le.indexOf("=")>=0)throw new Error(`Invalid out extension: ${le}`);o.push(`--out-extension:${le}=${_r(ae[le],"out extension",le)}`)}if(pe)if(Array.isArray(pe))for(let le of pe)a.push(["",_r(le,"entry point")]);else for(let le in pe)a.push([le,_r(pe[le],"entry point",le)]);if(Ce){let le=Object.create(null),ne=K(Ce,le,"contents",pB),Fe=K(Ce,le,"resolveDir",Oe),ot=K(Ce,le,"sourcefile",Oe),zt=K(Ce,le,"loader",Oe);or(Ce,le,'in "stdin" object'),ot&&o.push(`--sourcefile=${ot}`),zt&&o.push(`--loader=${zt}`),Fe&&(c=Fe),typeof ne=="string"?l=ti(ne):ne instanceof Uint8Array&&(l=ne)}let de=[];if(M)for(let le of M)le+="",de.push(le);return{entries:a,flags:o,write:Qe,stdinContents:l,stdinResolveDir:c,absWorkingDir:be,incremental:Ct,nodePaths:de,watch:f,mangleCache:hB(dt)}}function Z1e(t,e,r,n){let i=[],s=Object.create(null);Zg(i,e,s,r,n),gB(i,e,s);let o=K(e,s,"sourcemap",dB),a=K(e,s,"tsconfigRaw",K1e),u=K(e,s,"sourcefile",Oe),l=K(e,s,"loader",Oe),c=K(e,s,"banner",Oe),f=K(e,s,"footer",Oe),d=K(e,s,"mangleCache",ei);return or(e,s,`in ${t}() call`),o&&i.push(`--sourcemap=${o===!0?"external":o}`),a&&i.push(`--tsconfig-raw=${typeof a=="string"?a:JSON.stringify(a)}`),u&&i.push(`--sourcefile=${u}`),l&&i.push(`--loader=${l}`),c&&i.push(`--banner=${c}`),f&&i.push(`--footer=${f}`),{flags:i,mangleCache:hB(d)}}function mB(t){let e={},r={didClose:!1,reason:""},n={},i=0,s=0,o=new Uint8Array(16*1024),a=0,u=w=>{let _=a+w.length;if(_>o.length){let C=new Uint8Array(_*2);C.set(o),o=C}o.set(w,a),a+=w.length;let x=0;for(;x+4<=a;){let C=fB(o,x);if(x+4+C>a)break;x+=4,h(o.subarray(x,x+C)),x+=C}x>0&&(o.copyWithin(0,x,a),a-=x)},l=w=>{r.didClose=!0,w&&(r.reason=": "+(w.message||w));let _="The service was stopped"+r.reason;for(let x in n)n[x](_,null);n={}},c=(w,_,x)=>{if(r.didClose)return x("The service is no longer running"+r.reason,null);let C=i++;n[C]=(M,P)=>{try{x(M,P)}finally{w&&w.unref()}},w&&w.ref(),t.writeToStdin(X$({id:C,isRequest:!0,value:_}))},f=(w,_)=>{if(r.didClose)throw new Error("The service is no longer running"+r.reason);t.writeToStdin(X$({id:w,isRequest:!1,value:_}))},d=async(w,_)=>{try{if(_.command==="ping"){f(w,{});return}if(typeof _.key=="number"){let x=e[_.key];if(x){let C=x[_.command];if(C){await C(w,_);return}}}throw new Error("Invalid command: "+_.command)}catch(x){f(w,{errors:[gu(x,t,null,void 0,"")]})}},p=!0,h=w=>{if(p){p=!1;let x=String.fromCharCode(...w);if(x!=="0.16.10")throw new Error(`Cannot start service: Host version "0.16.10" does not match binary version ${Tr(x)}`);return}let _=U1e(w);if(_.isRequest)d(_.id,_.value);else{let x=n[_.id];delete n[_.id],_.value.error?x(_.value.error,{}):x(null,_.value)}};return{readFromStdout:u,afterClose:l,service:{buildOrServe:({callName:w,refs:_,serveOptions:x,options:C,isTTY:M,defaultWD:P,callback:R})=>{let z=0,$=s++,ee={},G={ref(){++z===1&&_&&_.ref()},unref(){--z===0&&(delete e[$],_&&_.unref())}};e[$]=ee,G.ref(),eSe(w,$,c,f,G,t,ee,C,x,M,P,r,(ae,F)=>{try{R(ae,F)}finally{G.unref()}})},transform:({callName:w,refs:_,input:x,options:C,isTTY:M,fs:P,callback:R})=>{let z=yB(),$=ee=>{try{if(typeof x!="string"&&!(x instanceof Uint8Array))throw new Error('The input to "transform" must be a string or a Uint8Array');let{flags:G,mangleCache:ae}=Z1e(w,C,M,eB),F={command:"transform",flags:G,inputFS:ee!==null,input:ee!==null?ti(ee):typeof x=="string"?ti(x):x};ae&&(F.mangleCache=ae),c(_,F,(T,ue)=>{if(T)return R(new Error(T),null);let re=Ms(ue.errors,z),fe=Ms(ue.warnings,z),oe=1,ie=()=>{if(--oe===0){let pe={warnings:fe,code:ue.code,map:ue.map};"legalComments"in ue&&(pe.legalComments=ue?.legalComments),ue.mangleCache&&(pe.mangleCache=ue?.mangleCache),R(null,pe)}};if(re.length>0)return R(pu("Transform failed",re,fe),null);ue.codeFS&&(oe++,P.readFile(ue.code,(pe,be)=>{pe!==null?R(pe,null):(ue.code=be,ie())})),ue.mapFS&&(oe++,P.readFile(ue.map,(pe,be)=>{pe!==null?R(pe,null):(ue.map=be,ie())})),ie()})}catch(G){let ae=[];try{Zg(ae,C,{},M,eB)}catch{}let F=gu(G,t,z,void 0,"");c(_,{command:"error",flags:ae,error:F},()=>{F.detail=z.load(F.detail),R(pu("Transform failed",[F],[]),null)})}};if((typeof x=="string"||x instanceof Uint8Array)&&x.length>1024*1024){let ee=$;$=()=>P.writeFile(x,ee)}$(null)},formatMessages:({callName:w,refs:_,messages:x,options:C,callback:M})=>{let P=Po(x,"messages",null,"");if(!C)throw new Error(`Missing second argument in ${w}() call`);let R={},z=K(C,R,"kind",Oe),$=K(C,R,"color",xt),ee=K(C,R,"terminalWidth",hu);if(or(C,R,`in ${w}() call`),z===void 0)throw new Error(`Missing "kind" in ${w}() call`);if(z!=="error"&&z!=="warning")throw new Error(`Expected "kind" to be "error" or "warning" in ${w}() call`);let G={command:"format-msgs",messages:P,isWarning:z==="warning"};$!==void 0&&(G.color=$),ee!==void 0&&(G.terminalWidth=ee),c(_,G,(ae,F)=>{if(ae)return M(new Error(ae),null);M(null,F.messages)})},analyzeMetafile:({callName:w,refs:_,metafile:x,options:C,callback:M})=>{C===void 0&&(C={});let P={},R=K(C,P,"color",xt),z=K(C,P,"verbose",xt);or(C,P,`in ${w}() call`);let $={command:"analyze-metafile",metafile:x};R!==void 0&&($.color=R),z!==void 0&&($.verbose=z),c(_,$,(ee,G)=>{if(ee)return M(new Error(ee),null);M(null,G.result)})}}}}function eSe(t,e,r,n,i,s,o,a,u,l,c,f,d){let p=yB(),h=(v,w,_,x)=>{let C=[];try{Zg(C,a,{},l,Z$)}catch{}let M=gu(v,s,p,_,w);r(i,{command:"error",flags:C,error:M},()=>{M.detail=p.load(M.detail),x(M)})},y=(v,w)=>{h(v,w,void 0,_=>{d(pu("Build failed",[_],[]),null)})},b;if(typeof a=="object"){let v=a.plugins;if(v!==void 0){if(!Array.isArray(v))throw new Error('"plugins" must be an array');b=v}}if(b&&b.length>0){if(s.isSync){y(new Error("Cannot use plugins in synchronous API calls"),"");return}rSe(e,r,n,i,s,o,a,b,p).then(v=>{if(!v.ok){y(v.error,v.pluginName);return}try{g(v.requestPlugins,v.runOnEndCallbacks)}catch(w){y(w,"")}},v=>y(v,""));return}try{g(null,(v,w,_)=>_())}catch(v){y(v,"")}function g(v,w){let _=!s.isWriteUnavailable,{entries:x,flags:C,write:M,stdinContents:P,stdinResolveDir:R,absWorkingDir:z,incremental:$,nodePaths:ee,watch:G,mangleCache:ae}=X1e(t,a,l,Z$,_),F={command:"build",key:e,entries:x,flags:C,write:M,stdinContents:P,stdinResolveDir:R,absWorkingDir:z||c,incremental:$,nodePaths:ee};v&&(F.plugins=v),ae&&(F.mangleCache=ae);let T=u&&tSe(e,r,n,i,o,u,F),ue,re,fe=(ie,pe)=>{ie.outputFiles&&(pe.outputFiles=ie.outputFiles.map(nSe)),ie.metafile&&(pe.metafile=JSON.parse(ie.metafile)),ie.mangleCache&&(pe.mangleCache=ie.mangleCache),ie.writeToStdout!==void 0&&console.log(mu(ie.writeToStdout).replace(/\n$/,""))},oe=(ie,pe)=>{let be={errors:Ms(ie.errors,p),warnings:Ms(ie.warnings,p)};fe(ie,be),w(be,h,()=>{if(be.errors.length>0)return pe(pu("Build failed",be.errors,be.warnings),null);if(ie.rebuild){if(!ue){let Ce=!1;ue=()=>new Promise((Qe,ve)=>{if(Ce||f.didClose)throw new Error("Cannot rebuild");r(i,{command:"rebuild",key:e},(Ct,dt)=>{if(Ct)return pe(pu("Build failed",[{id:"",pluginName:"",text:Ct,location:null,notes:[],detail:void 0}],[]),null);oe(dt,(de,le)=>{de?ve(de):Qe(le)})})}),i.ref(),ue.dispose=()=>{Ce||(Ce=!0,r(i,{command:"rebuild-dispose",key:e},()=>{}),i.unref())}}be.rebuild=ue}if(ie.watch){if(!re){let Ce=!1;i.ref(),re=()=>{Ce||(Ce=!0,delete o["watch-rebuild"],r(i,{command:"watch-stop",key:e},()=>{}),i.unref())},G&&(o["watch-rebuild"]=(Qe,ve)=>{try{let Ct=ve.args,dt={errors:Ms(Ct.errors,p),warnings:Ms(Ct.warnings,p)};fe(Ct,dt),w(dt,h,()=>{if(dt.errors.length>0){G.onRebuild&&G.onRebuild(pu("Build failed",dt.errors,dt.warnings),null);return}dt.stop=re,G.onRebuild&&G.onRebuild(null,dt)})}catch(Ct){console.error(Ct)}n(Qe,{})})}be.stop=re}pe(null,be)})};if(M&&s.isWriteUnavailable)throw new Error('The "write" option is unavailable in this environment');if($&&s.isSync)throw new Error('Cannot use "incremental" with a synchronous build');if(G&&s.isSync)throw new Error('Cannot use "watch" with a synchronous build');r(i,F,(ie,pe)=>{if(ie)return d(new Error(ie),null);if(T){let be=pe,Ce=!1;i.ref();let Qe={port:be.port,host:be.host,wait:T.wait,stop(){Ce||(Ce=!0,T.stop(),i.unref())}};return i.ref(),T.wait.then(i.unref,i.unref),d(null,Qe)}return oe(pe,d)})}}var tSe=(t,e,r,n,i,s,o)=>{let a={},u=K(s,a,"port",hu),l=K(s,a,"host",Oe),c=K(s,a,"servedir",Oe),f=K(s,a,"onRequest",a2),d=new Promise((p,h)=>{i["serve-wait"]=(y,b)=>{b.error!==null?h(new Error(b.error)):p(),r(y,{})}});return o.serve={},or(s,a,"in serve() call"),u!==void 0&&(o.serve.port=u),l!==void 0&&(o.serve.host=l),c!==void 0&&(o.serve.servedir=c),i["serve-request"]=(p,h)=>{f&&f(h.args),r(p,{})},{wait:d,stop(){e(n,{command:"serve-stop",key:t},()=>{})}}},rSe=async(t,e,r,n,i,s,o,a,u)=>{let l=[],c=[],f={},d={},p=0,h=0,y=[],b=!1;a=[...a];for(let v of a){let w={};if(typeof v!="object")throw new Error(`Plugin at index ${h} must be an object`);let _=K(v,w,"name",Oe);if(typeof _!="string"||_==="")throw new Error(`Plugin at index ${h} is missing a name`);try{let x=K(v,w,"setup",a2);if(typeof x!="function")throw new Error("Plugin is missing a setup function");or(v,w,`on plugin ${Tr(_)}`);let C={name:_,onResolve:[],onLoad:[]};h++;let P=x({initialOptions:o,resolve:(R,z={})=>{if(!b)throw new Error('Cannot call "resolve" before plugin setup has completed');if(typeof R!="string")throw new Error("The path to resolve must be a string");let $=Object.create(null),ee=K(z,$,"pluginName",Oe),G=K(z,$,"importer",Oe),ae=K(z,$,"namespace",Oe),F=K(z,$,"resolveDir",Oe),T=K(z,$,"kind",Oe),ue=K(z,$,"pluginData",Kg);return or(z,$,"in resolve() call"),new Promise((re,fe)=>{let oe={command:"resolve",path:R,key:t,pluginName:_};if(ee!=null&&(oe.pluginName=ee),G!=null&&(oe.importer=G),ae!=null&&(oe.namespace=ae),F!=null&&(oe.resolveDir=F),T!=null)oe.kind=T;else throw new Error('Must specify "kind" when calling "resolve"');ue!=null&&(oe.pluginData=u.store(ue)),e(n,oe,(ie,pe)=>{ie!==null?fe(new Error(ie)):re({errors:Ms(pe.errors,u),warnings:Ms(pe.warnings,u),path:pe.path,external:pe.external,sideEffects:pe.sideEffects,namespace:pe.namespace,suffix:pe.suffix,pluginData:u.load(pe.pluginData)})})})},onStart(R){let z='This error came from the "onStart" callback registered here:',$=Hg(new Error(z),i,"onStart");l.push({name:_,callback:R,note:$})},onEnd(R){let z='This error came from the "onEnd" callback registered here:',$=Hg(new Error(z),i,"onEnd");c.push({name:_,callback:R,note:$})},onResolve(R,z){let $='This error came from the "onResolve" callback registered here:',ee=Hg(new Error($),i,"onResolve"),G={},ae=K(R,G,"filter",Yg),F=K(R,G,"namespace",Oe);if(or(R,G,`in onResolve() call for plugin ${Tr(_)}`),ae==null)throw new Error("onResolve() call is missing a filter");let T=p++;f[T]={name:_,callback:z,note:ee},C.onResolve.push({id:T,filter:ae.source,namespace:F||""})},onLoad(R,z){let $='This error came from the "onLoad" callback registered here:',ee=Hg(new Error($),i,"onLoad"),G={},ae=K(R,G,"filter",Yg),F=K(R,G,"namespace",Oe);if(or(R,G,`in onLoad() call for plugin ${Tr(_)}`),ae==null)throw new Error("onLoad() call is missing a filter");let T=p++;d[T]={name:_,callback:z,note:ee},C.onLoad.push({id:T,filter:ae.source,namespace:F||""})},esbuild:i.esbuild});P&&await P,y.push(C)}catch(x){return{ok:!1,error:x,pluginName:_}}}s["on-start"]=async(v,w)=>{let _={errors:[],warnings:[]};await Promise.all(l.map(async({name:x,callback:C,note:M})=>{try{let P=await C();if(P!=null){if(typeof P!="object")throw new Error(`Expected onStart() callback in plugin ${Tr(x)} to return an object`);let R={},z=K(P,R,"errors",rr),$=K(P,R,"warnings",rr);or(P,R,`from onStart() callback in plugin ${Tr(x)}`),z!=null&&_.errors.push(...Po(z,"errors",u,x)),$!=null&&_.warnings.push(...Po($,"warnings",u,x))}}catch(P){_.errors.push(gu(P,i,u,M&&M(),x))}})),r(v,_)},s["on-resolve"]=async(v,w)=>{let _={},x="",C,M;for(let P of w.ids)try{({name:x,callback:C,note:M}=f[P]);let R=await C({path:w.path,importer:w.importer,namespace:w.namespace,resolveDir:w.resolveDir,kind:w.kind,pluginData:u.load(w.pluginData)});if(R!=null){if(typeof R!="object")throw new Error(`Expected onResolve() callback in plugin ${Tr(x)} to return an object`);let z={},$=K(R,z,"pluginName",Oe),ee=K(R,z,"path",Oe),G=K(R,z,"namespace",Oe),ae=K(R,z,"suffix",Oe),F=K(R,z,"external",xt),T=K(R,z,"sideEffects",xt),ue=K(R,z,"pluginData",Kg),re=K(R,z,"errors",rr),fe=K(R,z,"warnings",rr),oe=K(R,z,"watchFiles",rr),ie=K(R,z,"watchDirs",rr);or(R,z,`from onResolve() callback in plugin ${Tr(x)}`),_.id=P,$!=null&&(_.pluginName=$),ee!=null&&(_.path=ee),G!=null&&(_.namespace=G),ae!=null&&(_.suffix=ae),F!=null&&(_.external=F),T!=null&&(_.sideEffects=T),ue!=null&&(_.pluginData=u.store(ue)),re!=null&&(_.errors=Po(re,"errors",u,x)),fe!=null&&(_.warnings=Po(fe,"warnings",u,x)),oe!=null&&(_.watchFiles=Vg(oe,"watchFiles")),ie!=null&&(_.watchDirs=Vg(ie,"watchDirs"));break}}catch(R){_={id:P,errors:[gu(R,i,u,M&&M(),x)]};break}r(v,_)},s["on-load"]=async(v,w)=>{let _={},x="",C,M;for(let P of w.ids)try{({name:x,callback:C,note:M}=d[P]);let R=await C({path:w.path,namespace:w.namespace,suffix:w.suffix,pluginData:u.load(w.pluginData)});if(R!=null){if(typeof R!="object")throw new Error(`Expected onLoad() callback in plugin ${Tr(x)} to return an object`);let z={},$=K(R,z,"pluginName",Oe),ee=K(R,z,"contents",pB),G=K(R,z,"resolveDir",Oe),ae=K(R,z,"pluginData",Kg),F=K(R,z,"loader",Oe),T=K(R,z,"errors",rr),ue=K(R,z,"warnings",rr),re=K(R,z,"watchFiles",rr),fe=K(R,z,"watchDirs",rr);or(R,z,`from onLoad() callback in plugin ${Tr(x)}`),_.id=P,$!=null&&(_.pluginName=$),ee instanceof Uint8Array?_.contents=ee:ee!=null&&(_.contents=ti(ee)),G!=null&&(_.resolveDir=G),ae!=null&&(_.pluginData=u.store(ae)),F!=null&&(_.loader=F),T!=null&&(_.errors=Po(T,"errors",u,x)),ue!=null&&(_.warnings=Po(ue,"warnings",u,x)),re!=null&&(_.watchFiles=Vg(re,"watchFiles")),fe!=null&&(_.watchDirs=Vg(fe,"watchDirs"));break}}catch(R){_={id:P,errors:[gu(R,i,u,M&&M(),x)]};break}r(v,_)};let g=(v,w,_)=>_();return c.length>0&&(g=(v,w,_)=>{(async()=>{for(let{name:x,callback:C,note:M}of c)try{await C(v)}catch(P){v.errors.push(await new Promise(R=>w(P,x,M&&M(),R)))}})().then(_)}),b=!0,{ok:!0,requestPlugins:y,runOnEndCallbacks:g}};function yB(){let t=new Map,e=0;return{load(r){return t.get(r)},store(r){if(r===void 0)return-1;let n=e++;return t.set(n,r),n}}}function Hg(t,e,r){let n,i=!1;return()=>{if(i)return n;i=!0;try{let s=(t.stack+"").split(`
|
|
11
|
+
`);s.splice(1,1);let o=bB(e,s,r);if(o)return n={text:t.message,location:o},n}catch{}}}function gu(t,e,r,n,i){let s="Internal error",o=null;try{s=(t&&t.message||t)+""}catch{}try{o=bB(e,(t.stack+"").split(`
|
|
12
|
+
`),"")}catch{}return{id:"",pluginName:i,text:s,location:o,notes:n?[n]:[],detail:r?r.store(t):-1}}function bB(t,e,r){let n=" at ";if(t.readFileSync&&!e[0].startsWith(n)&&e[1].startsWith(n))for(let i=1;i<e.length;i++){let s=e[i];if(s.startsWith(n))for(s=s.slice(n.length);;){let o=/^(?:new |async )?\S+ \((.*)\)$/.exec(s);if(o){s=o[1];continue}if(o=/^eval at \S+ \((.*)\)(?:, \S+:\d+:\d+)?$/.exec(s),o){s=o[1];continue}if(o=/^(\S+):(\d+):(\d+)$/.exec(s),o){let a;try{a=t.readFileSync(o[1],"utf8")}catch{break}let u=a.split(/\r\n|\r|\n|\u2028|\u2029/)[+o[2]-1]||"",l=+o[3]-1,c=u.slice(l,l+r.length)===r?r.length:0;return{file:o[1],namespace:"file",line:+o[2],column:ti(u.slice(0,l)).length,length:ti(u.slice(l,l+c)).length,lineText:u+`
|
|
13
|
+
`+e.slice(1).join(`
|
|
14
|
+
`),suggestion:""}}break}}return null}function pu(t,e,r){let n=5,i=e.length<1?"":` with ${e.length} error${e.length<2?"":"s"}:`+e.slice(0,n+1).map((o,a)=>{if(a===n)return`
|
|
15
|
+
...`;if(!o.location)return`
|
|
16
|
+
error: ${o.text}`;let{file:u,line:l,column:c}=o.location,f=o.pluginName?`[plugin: ${o.pluginName}] `:"";return`
|
|
17
|
+
${u}:${l}:${c}: ERROR: ${f}${o.text}`}).join(""),s=new Error(`${t}${i}`);return s.errors=e,s.warnings=r,s}function Ms(t,e){for(let r of t)r.detail=e.load(r.detail);return t}function nB(t,e){if(t==null)return null;let r={},n=K(t,r,"file",Oe),i=K(t,r,"namespace",Oe),s=K(t,r,"line",hu),o=K(t,r,"column",hu),a=K(t,r,"length",hu),u=K(t,r,"lineText",Oe),l=K(t,r,"suggestion",Oe);return or(t,r,e),{file:n||"",namespace:i||"",line:s||0,column:o||0,length:a||0,lineText:u||"",suggestion:l||""}}function Po(t,e,r,n){let i=[],s=0;for(let o of t){let a={},u=K(o,a,"id",Oe),l=K(o,a,"pluginName",Oe),c=K(o,a,"text",Oe),f=K(o,a,"location",rB),d=K(o,a,"notes",rr),p=K(o,a,"detail",Kg),h=`in element ${s} of "${e}"`;or(o,a,h);let y=[];if(d)for(let b of d){let g={},v=K(b,g,"text",Oe),w=K(b,g,"location",rB);or(b,g,h),y.push({text:v||"",location:nB(w,h)})}i.push({id:u||"",pluginName:l||n,text:c||"",location:nB(f,h),notes:y,detail:r?r.store(p):-1}),s++}return i}function Vg(t,e){let r=[];for(let n of t){if(typeof n!="string")throw new Error(`${Tr(e)} must be an array of strings`);r.push(n)}return r}function nSe({path:t,contents:e}){let r=null;return{path:t,contents:e,get text(){let n=this.contents;return(r===null||n!==e)&&(e=n,r=mu(n)),r}}}var To=require("fs"),iB=require("os"),Mn=require("path"),Qg=process.env.ESBUILD_BINARY_PATH||Qg,sB="@esbuild/darwin-arm64",oB="@esbuild/darwin-x64",Jg={"win32 arm64 LE":"@esbuild/win32-arm64","win32 ia32 LE":"@esbuild/win32-ia32","win32 x64 LE":"@esbuild/win32-x64"},Xg={"android arm64 LE":"@esbuild/android-arm64","darwin arm64 LE":"@esbuild/darwin-arm64","darwin x64 LE":"@esbuild/darwin-x64","freebsd arm64 LE":"@esbuild/freebsd-arm64","freebsd x64 LE":"@esbuild/freebsd-x64","linux arm LE":"@esbuild/linux-arm","linux arm64 LE":"@esbuild/linux-arm64","linux ia32 LE":"@esbuild/linux-ia32","linux mips64el LE":"@esbuild/linux-mips64el","linux ppc64 LE":"@esbuild/linux-ppc64","linux riscv64 LE":"@esbuild/linux-riscv64","linux s390x BE":"@esbuild/linux-s390x","linux x64 LE":"@esbuild/linux-x64","linux loong64 LE":"@esbuild/linux-loong64","netbsd x64 LE":"@esbuild/netbsd-x64","openbsd x64 LE":"@esbuild/openbsd-x64","sunos x64 LE":"@esbuild/sunos-x64"},aB={"android arm LE":"@esbuild/android-arm","android x64 LE":"@esbuild/android-x64"};function iSe(){let t,e,r=!1,n=`${process.platform} ${iB.arch()} ${iB.endianness()}`;if(n in Jg)t=Jg[n],e="esbuild.exe";else if(n in Xg)t=Xg[n],e="bin/esbuild";else if(n in aB)t=aB[n],e="bin/esbuild",r=!0;else throw new Error(`Unsupported platform: ${n}`);return{pkg:t,subpath:e,isWASM:r}}function sSe(){let t=require.resolve("esbuild"),e=Mn.dirname(Mn.dirname(Mn.dirname(t)));if(Mn.basename(e)==="node_modules"){for(let r in Xg)try{let n=Xg[r];if(To.existsSync(Mn.join(e,n)))return n}catch{}for(let r in Jg)try{let n=Jg[r];if(To.existsSync(Mn.join(e,n)))return n}catch{}}return null}function oSe(t,e){let r=Mn.dirname(require.resolve("esbuild"));return Mn.join(r,`downloaded-${t.replace("/","-")}-${Mn.basename(e)}`)}function aSe(){if(Qg)return{binPath:Qg,isWASM:!1};let{pkg:t,subpath:e,isWASM:r}=iSe(),n;try{n=require.resolve(`${t}/${e}`)}catch(i){if(n=oSe(t,e),!To.existsSync(n)){try{require.resolve(t)}catch{let s=sSe();if(s){let o=`
|
|
18
|
+
Specifically the "${s}" package is present but this platform
|
|
19
|
+
needs the "${t}" package instead. People often get into this
|
|
20
|
+
situation by installing esbuild on Windows or macOS and copying "node_modules"
|
|
21
|
+
into a Docker image that runs Linux, or by copying "node_modules" between
|
|
22
|
+
Windows and WSL environments.
|
|
23
|
+
|
|
24
|
+
If you are installing with npm, you can try not copying the "node_modules"
|
|
25
|
+
directory when you copy the files over, and running "npm ci" or "npm install"
|
|
26
|
+
on the destination platform after the copy. Or you could consider using yarn
|
|
27
|
+
instead of npm which has built-in support for installing a package on multiple
|
|
28
|
+
platforms simultaneously.
|
|
29
|
+
|
|
30
|
+
If you are installing with yarn, you can try listing both this platform and the
|
|
31
|
+
other platform in your ".yarnrc.yml" file using the "supportedArchitectures"
|
|
32
|
+
feature: https://yarnpkg.com/configuration/yarnrc/#supportedArchitectures
|
|
33
|
+
Keep in mind that this means multiple copies of esbuild will be present.
|
|
34
|
+
`;throw(t===oB&&s===sB||t===sB&&s===oB)&&(o=`
|
|
35
|
+
Specifically the "${s}" package is present but this platform
|
|
36
|
+
needs the "${t}" package instead. People often get into this
|
|
37
|
+
situation by installing esbuild with npm running inside of Rosetta 2 and then
|
|
38
|
+
trying to use it with node running outside of Rosetta 2, or vice versa (Rosetta
|
|
39
|
+
2 is Apple's on-the-fly x86_64-to-arm64 translation service).
|
|
40
|
+
|
|
41
|
+
If you are installing with npm, you can try ensuring that both npm and node are
|
|
42
|
+
not running under Rosetta 2 and then reinstalling esbuild. This likely involves
|
|
43
|
+
changing how you installed npm and/or node. For example, installing node with
|
|
44
|
+
the universal installer here should work: https://nodejs.org/en/download/. Or
|
|
45
|
+
you could consider using yarn instead of npm which has built-in support for
|
|
46
|
+
installing a package on multiple platforms simultaneously.
|
|
47
|
+
|
|
48
|
+
If you are installing with yarn, you can try listing both "arm64" and "x64"
|
|
49
|
+
in your ".yarnrc.yml" file using the "supportedArchitectures" feature:
|
|
50
|
+
https://yarnpkg.com/configuration/yarnrc/#supportedArchitectures
|
|
51
|
+
Keep in mind that this means multiple copies of esbuild will be present.
|
|
52
|
+
`),new Error(`
|
|
53
|
+
You installed esbuild for another platform than the one you're currently using.
|
|
54
|
+
This won't work because esbuild is written with native code and needs to
|
|
55
|
+
install a platform-specific binary executable.
|
|
56
|
+
${o}
|
|
57
|
+
Another alternative is to use the "esbuild-wasm" package instead, which works
|
|
58
|
+
the same way on all platforms. But it comes with a heavy performance cost and
|
|
59
|
+
can sometimes be 10x slower than the "esbuild" package, so you may also not
|
|
60
|
+
want to do that.
|
|
61
|
+
`)}throw new Error(`The package "${t}" could not be found, and is needed by esbuild.
|
|
62
|
+
|
|
63
|
+
If you are installing esbuild with npm, make sure that you don't specify the
|
|
64
|
+
"--no-optional" or "--omit=optional" flags. The "optionalDependencies" feature
|
|
65
|
+
of "package.json" is used by esbuild to install the correct binary executable
|
|
66
|
+
for your current platform.`)}throw i}}if(/\.zip\//.test(n)){let i;try{i=require("pnpapi")}catch{}if(i){let s=i.getPackageInformation(i.topLevel).packageLocation,o=Mn.join(s,"node_modules",".cache","esbuild",`pnpapi-${t.replace("/","-")}-0.16.10-${Mn.basename(e)}`);return To.existsSync(o)||(To.mkdirSync(Mn.dirname(o),{recursive:!0}),To.copyFileSync(n,o),To.chmodSync(o,493)),{binPath:o,isWASM:r}}}return{binPath:n,isWASM:r}}var vB=require("child_process"),uSe=require("crypto"),s2=require("path"),Mo=require("fs"),lSe=require("os"),cSe=require("tty"),Wr;if(process.env.ESBUILD_WORKER_THREADS!=="0"){try{Wr=require("worker_threads")}catch{}let[t,e]=process.versions.node.split(".");(+t<12||+t==12&&+e<17||+t==13&&+e<13)&&(Wr=void 0)}var uB,Ec=((uB=Wr?.workerData)==null?void 0:uB.esbuildVersion)==="0.16.10",wB=()=>{if(!Qg&&(s2.basename(__filename)!=="main.js"||s2.basename(__dirname)!=="lib"))throw new Error(`The esbuild JavaScript API cannot be bundled. Please mark the "esbuild" package as external so it's not included in the bundle.
|
|
67
|
+
|
|
68
|
+
More information: The file containing the code for esbuild's JavaScript API (${__filename}) does not appear to be inside the esbuild package on the file system, which usually means that the esbuild package was bundled into another file. This is problematic because the API needs to run a binary executable inside the esbuild package which is located using a relative path from the API code to the executable. If the esbuild package is bundled, the relative path will be incorrect and the executable won't be found.`);{let{binPath:t,isWASM:e}=aSe();return e?["node",[t]]:[t,[]]}},Sc=()=>cSe.isatty(2),fSe={readFile(t,e){try{let r=Mo.readFileSync(t,"utf8");try{Mo.unlinkSync(t)}catch{}e(null,r)}catch(r){e(r,null)}},writeFile(t,e){try{let r=_B();Mo.writeFileSync(r,t),e(r)}catch{e(null)}}},dSe={readFile(t,e){try{Mo.readFile(t,"utf8",(r,n)=>{try{Mo.unlink(t,()=>e(r,n))}catch{e(r,n)}})}catch(r){e(r,null)}},writeFile(t,e){try{let r=_B();Mo.writeFile(r,t,n=>e(n!==null?null:r))}catch{e(null)}}},pSe="0.16.10",hSe=t=>Lo().build(t),gSe=(t,e)=>Lo().serve(t,e),mSe=(t,e)=>Lo().transform(t,e),ySe=(t,e)=>Lo().formatMessages(t,e),bSe=(t,e)=>Lo().analyzeMetafile(t,e),vSe=t=>{if(Wr&&!Ec)return Fn||(Fn=tm(Wr)),Fn.buildSync(t);let e;return em(r=>r.buildOrServe({callName:"buildSync",refs:null,serveOptions:null,options:t,isTTY:Sc(),defaultWD:Fo,callback:(n,i)=>{if(n)throw n;e=i}})),e},wSe=(t,e)=>{if(Wr&&!Ec)return Fn||(Fn=tm(Wr)),Fn.transformSync(t,e);let r;return em(n=>n.transform({callName:"transformSync",refs:null,input:t,options:e||{},isTTY:Sc(),fs:fSe,callback:(i,s)=>{if(i)throw i;r=s}})),r},_Se=(t,e)=>{if(Wr&&!Ec)return Fn||(Fn=tm(Wr)),Fn.formatMessagesSync(t,e);let r;return em(n=>n.formatMessages({callName:"formatMessagesSync",refs:null,messages:t,options:e,callback:(i,s)=>{if(i)throw i;r=s}})),r},xSe=(t,e)=>{if(Wr&&!Ec)return Fn||(Fn=tm(Wr)),Fn.analyzeMetafileSync(t,e);let r;return em(n=>n.analyzeMetafile({callName:"analyzeMetafileSync",refs:null,metafile:typeof t=="string"?t:JSON.stringify(t),options:e,callback:(i,s)=>{if(i)throw i;r=s}})),r},lB=!1,SSe=t=>{if(t=J1e(t||{}),t.wasmURL)throw new Error('The "wasmURL" option only works in the browser');if(t.wasmModule)throw new Error('The "wasmModule" option only works in the browser');if(t.worker)throw new Error('The "worker" option only works in the browser');if(lB)throw new Error('Cannot call "initialize" more than once');return Lo(),lB=!0,Promise.resolve()},Fo=process.cwd(),Gg,Lo=()=>{if(Gg)return Gg;let[t,e]=wB(),r=vB.spawn(t,e.concat("--service=0.16.10","--ping"),{windowsHide:!0,stdio:["pipe","pipe","inherit"],cwd:Fo}),{readFromStdout:n,afterClose:i,service:s}=mB({writeToStdin(c){r.stdin.write(c,f=>{f&&i(f)})},readFileSync:Mo.readFileSync,isSync:!1,isWriteUnavailable:!1,esbuild:kc});r.stdin.on("error",i),r.on("error",i);let o=r.stdin,a=r.stdout;a.on("data",n),a.on("end",i);let u=0;r.unref(),o.unref&&o.unref(),a.unref&&a.unref();let l={ref(){++u===1&&r.ref()},unref(){--u===0&&r.unref()}};return Gg={build:c=>new Promise((f,d)=>{s.buildOrServe({callName:"build",refs:l,serveOptions:null,options:c,isTTY:Sc(),defaultWD:Fo,callback:(p,h)=>p?d(p):f(h)})}),serve:(c,f)=>{if(c===null||typeof c!="object")throw new Error("The first argument must be an object");return new Promise((d,p)=>s.buildOrServe({callName:"serve",refs:l,serveOptions:c,options:f,isTTY:Sc(),defaultWD:Fo,callback:(h,y)=>h?p(h):d(y)}))},transform:(c,f)=>new Promise((d,p)=>s.transform({callName:"transform",refs:l,input:c,options:f||{},isTTY:Sc(),fs:dSe,callback:(h,y)=>h?p(h):d(y)})),formatMessages:(c,f)=>new Promise((d,p)=>s.formatMessages({callName:"formatMessages",refs:l,messages:c,options:f,callback:(h,y)=>h?p(h):d(y)})),analyzeMetafile:(c,f)=>new Promise((d,p)=>s.analyzeMetafile({callName:"analyzeMetafile",refs:l,metafile:typeof c=="string"?c:JSON.stringify(c),options:f,callback:(h,y)=>h?p(h):d(y)}))},Gg},em=t=>{let[e,r]=wB(),n=new Uint8Array,{readFromStdout:i,afterClose:s,service:o}=mB({writeToStdin(u){if(n.length!==0)throw new Error("Must run at most one command");n=u},isSync:!0,isWriteUnavailable:!1,esbuild:kc});t(o);let a=vB.execFileSync(e,r.concat("--service=0.16.10"),{cwd:Fo,windowsHide:!0,input:n,maxBuffer:+process.env.ESBUILD_MAX_BUFFER||16*1024*1024});i(a),s(null)},_B=()=>s2.join(lSe.tmpdir(),`esbuild-${uSe.randomBytes(32).toString("hex")}`),Fn=null,tm=t=>{let{port1:e,port2:r}=new t.MessageChannel,n=new t.Worker(__filename,{workerData:{workerPort:r,defaultWD:Fo,esbuildVersion:"0.16.10"},transferList:[r],execArgv:[]}),i=0,s=l=>{let c=new Error(`Build failed with 1 error:
|
|
69
|
+
error: ${l}`),f=[{id:"",pluginName:"",text:l,location:null,notes:[],detail:void 0}];return c.errors=f,c.warnings=[],c},o=l=>{if(!l)return;let c=l.plugins,f=l.incremental,d=l.watch;if(c&&c.length>0)throw s("Cannot use plugins in synchronous API calls");if(f)throw s('Cannot use "incremental" with a synchronous build');if(d)throw s('Cannot use "watch" with a synchronous build')},a=(l,c)=>{for(let f in c)l[f]=c[f]},u=(l,c)=>{let f=i++,d=new SharedArrayBuffer(8),p=new Int32Array(d),h={sharedBuffer:d,id:f,command:l,args:c};n.postMessage(h);let y=Atomics.wait(p,0,0);if(y!=="ok"&&y!=="not-equal")throw new Error("Internal error: Atomics.wait() failed: "+y);let{message:{id:b,resolve:g,reject:v,properties:w}}=t.receiveMessageOnPort(e);if(f!==b)throw new Error(`Internal error: Expected id ${f} but got id ${b}`);if(v)throw a(v,w),v;return g};return n.unref(),{buildSync(l){return o(l),u("build",[l])},transformSync(l,c){return u("transform",[l,c])},formatMessagesSync(l,c){return u("formatMessages",[l,c])},analyzeMetafileSync(l,c){return u("analyzeMetafile",[l,c])}}},kSe=()=>{let t=Wr.workerData.workerPort,e=Wr.parentPort,r=n=>{let i={};if(n&&typeof n=="object")for(let s in n)i[s]=n[s];return i};try{let n=Lo();Fo=Wr.workerData.defaultWD,e.on("message",i=>{(async()=>{let{sharedBuffer:s,id:o,command:a,args:u}=i,l=new Int32Array(s);try{switch(a){case"build":t.postMessage({id:o,resolve:await n.build(u[0])});break;case"transform":t.postMessage({id:o,resolve:await n.transform(u[0],u[1])});break;case"formatMessages":t.postMessage({id:o,resolve:await n.formatMessages(u[0],u[1])});break;case"analyzeMetafile":t.postMessage({id:o,resolve:await n.analyzeMetafile(u[0],u[1])});break;default:throw new Error(`Invalid command: ${a}`)}}catch(c){t.postMessage({id:o,reject:c,properties:r(c)})}Atomics.add(l,0,1),Atomics.notify(l,0,1/0)})()})}catch(n){e.on("message",i=>{let{sharedBuffer:s,id:o}=i,a=new Int32Array(s);t.postMessage({id:o,reject:n,properties:r(n)}),Atomics.add(a,0,1),Atomics.notify(a,0,1/0)})}};Ec&&kSe();var ESe=kc});var AB=m(c2=>{"use strict";Object.defineProperty(c2,"__esModule",{value:!0});function RB(t){return Object.prototype.toString.call(t)==="[object Object]"}function OSe(t){var e,r;return RB(t)===!1?!1:(e=t.constructor,e===void 0?!0:(r=e.prototype,!(RB(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}c2.isPlainObject=OSe});var te=m((Aqt,FB)=>{"use strict";var{isPlainObject:qSe}=AB();function RSe(t){return typeof t=="boolean"||t instanceof Boolean}function PB(t){return typeof t=="function"||t instanceof Function}function ASe(t){return t==null}function TB(t){return typeof t=="number"||t instanceof Number}function PSe(t){return t instanceof RegExp}function MB(t){return typeof t=="string"||t instanceof String}function TSe(t){return qSe(t)}function MSe(t,e=void 0){e?console.assert(t,e):console.assert(t)}function FSe(t){console.assert(PB(t),`"${t}" must be a function`)}function LSe(t){console.assert(TB(t),`"${t}" must be a number`)}function ISe(t){console.assert(MB(t),`"${t}" must be a string`)}FB.exports={isBoolean:RSe,isFunction:PB,isNullish:ASe,isNumber:TB,isRegExp:PSe,isString:MB,isPlainObject:TSe,assert:MSe,assertFunction:FSe,assertNumber:LSe,assertString:ISe}});var f2=m((Pqt,IB)=>{"use strict";var{isPlainObject:LB}=te();IB.exports=function(e,r){if(e==null)return null;if(!Array.isArray(e))return[e];let[n,i]=e;return e.length>0&&n==null?null:r&&!r.primaryOptionArray||e.length===1&&Array.isArray(n)||e.length===2&&!LB(n)&&LB(i)?e:[e]}});var d2=m((Tqt,NB)=>{"use strict";var Cc=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};NB.exports=Cc;Cc.default=Cc});var Oc=m((Mqt,jB)=>{"use strict";var NSe=d2(),Dc=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new NSe(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};jB.exports=Dc;Dc.default=Dc});var h2=m((Fqt,$B)=>{"use strict";var p2=(t,e,r)=>t===void 0?e(r):t;$B.exports=t=>e=>{let r,n={get:(i,s)=>(r=p2(r,t,e),Reflect.get(r,s)),apply:(i,s,o)=>(r=p2(r,t,e),Reflect.apply(r,s,o)),construct:(i,s)=>(r=p2(r,t,e),Reflect.construct(r,s))};return new Proxy(function(){},n)}});var WB=m((Lqt,BB)=>{var g2="(".charCodeAt(0),m2=")".charCodeAt(0),rm="'".charCodeAt(0),y2='"'.charCodeAt(0),b2="\\".charCodeAt(0),yu="/".charCodeAt(0),v2=",".charCodeAt(0),w2=":".charCodeAt(0),nm="*".charCodeAt(0),jSe="u".charCodeAt(0),$Se="U".charCodeAt(0),BSe="+".charCodeAt(0),WSe=/^[a-f0-9?-]+$/i;BB.exports=function(t){for(var e=[],r=t,n,i,s,o,a,u,l,c,f=0,d=r.charCodeAt(f),p=r.length,h=[{nodes:e}],y=0,b,g="",v="",w="";f<p;)if(d<=32){n=f;do n+=1,d=r.charCodeAt(n);while(d<=32);o=r.slice(f,n),s=e[e.length-1],d===m2&&y?w=o:s&&s.type==="div"?(s.after=o,s.sourceEndIndex+=o.length):d===v2||d===w2||d===yu&&r.charCodeAt(n+1)!==nm&&(!b||b&&b.type==="function"&&b.value!=="calc")?v=o:e.push({type:"space",sourceIndex:f,sourceEndIndex:n,value:o}),f=n}else if(d===rm||d===y2){n=f,i=d===rm?"'":'"',o={type:"string",sourceIndex:f,quote:i};do if(a=!1,n=r.indexOf(i,n+1),~n)for(u=n;r.charCodeAt(u-1)===b2;)u-=1,a=!a;else r+=i,n=r.length-1,o.unclosed=!0;while(a);o.value=r.slice(f+1,n),o.sourceEndIndex=o.unclosed?n:n+1,e.push(o),f=n+1,d=r.charCodeAt(f)}else if(d===yu&&r.charCodeAt(f+1)===nm)n=r.indexOf("*/",f),o={type:"comment",sourceIndex:f,sourceEndIndex:n+2},n===-1&&(o.unclosed=!0,n=r.length,o.sourceEndIndex=n),o.value=r.slice(f+2,n),e.push(o),f=n+2,d=r.charCodeAt(f);else if((d===yu||d===nm)&&b&&b.type==="function"&&b.value==="calc")o=r[f],e.push({type:"word",sourceIndex:f-v.length,sourceEndIndex:f+o.length,value:o}),f+=1,d=r.charCodeAt(f);else if(d===yu||d===v2||d===w2)o=r[f],e.push({type:"div",sourceIndex:f-v.length,sourceEndIndex:f+o.length,value:o,before:v,after:""}),v="",f+=1,d=r.charCodeAt(f);else if(g2===d){n=f;do n+=1,d=r.charCodeAt(n);while(d<=32);if(c=f,o={type:"function",sourceIndex:f-g.length,value:g,before:r.slice(c+1,n)},f=n,g==="url"&&d!==rm&&d!==y2){n-=1;do if(a=!1,n=r.indexOf(")",n+1),~n)for(u=n;r.charCodeAt(u-1)===b2;)u-=1,a=!a;else r+=")",n=r.length-1,o.unclosed=!0;while(a);l=n;do l-=1,d=r.charCodeAt(l);while(d<=32);c<l?(f!==l+1?o.nodes=[{type:"word",sourceIndex:f,sourceEndIndex:l+1,value:r.slice(f,l+1)}]:o.nodes=[],o.unclosed&&l+1!==n?(o.after="",o.nodes.push({type:"space",sourceIndex:l+1,sourceEndIndex:n,value:r.slice(l+1,n)})):(o.after=r.slice(l+1,n),o.sourceEndIndex=n)):(o.after="",o.nodes=[]),f=n+1,o.sourceEndIndex=o.unclosed?n:f,d=r.charCodeAt(f),e.push(o)}else y+=1,o.after="",o.sourceEndIndex=f+1,e.push(o),h.push(o),e=o.nodes=[],b=o;g=""}else if(m2===d&&y)f+=1,d=r.charCodeAt(f),b.after=w,b.sourceEndIndex+=w.length,w="",y-=1,h[h.length-1].sourceEndIndex=f,h.pop(),b=h[y],e=b.nodes;else{n=f;do d===b2&&(n+=1),n+=1,d=r.charCodeAt(n);while(n<p&&!(d<=32||d===rm||d===y2||d===v2||d===w2||d===yu||d===g2||d===nm&&b&&b.type==="function"&&b.value==="calc"||d===yu&&b.type==="function"&&b.value==="calc"||d===m2&&y));o=r.slice(f,n),g2===d?g=o:(jSe===o.charCodeAt(0)||$Se===o.charCodeAt(0))&&BSe===o.charCodeAt(1)&&WSe.test(o.slice(2))?e.push({type:"unicode-range",sourceIndex:f,sourceEndIndex:n,value:o}):e.push({type:"word",sourceIndex:f,sourceEndIndex:n,value:o}),f=n}for(f=h.length-1;f;f-=1)h[f].unclosed=!0,h[f].sourceEndIndex=r.length;return h[0].nodes}});var UB=m((Iqt,zB)=>{zB.exports=function t(e,r,n){var i,s,o,a;for(i=0,s=e.length;i<s;i+=1)o=e[i],n||(a=r(o,i,e)),a!==!1&&o.type==="function"&&Array.isArray(o.nodes)&&t(o.nodes,r,n),n&&r(o,i,e)}});var KB=m((Nqt,GB)=>{function HB(t,e){var r=t.type,n=t.value,i,s;return e&&(s=e(t))!==void 0?s:r==="word"||r==="space"?n:r==="string"?(i=t.quote||"",i+n+(t.unclosed?"":i)):r==="comment"?"/*"+n+(t.unclosed?"":"*/"):r==="div"?(t.before||"")+n+(t.after||""):Array.isArray(t.nodes)?(i=VB(t.nodes,e),r!=="function"?i:n+"("+(t.before||"")+i+(t.after||"")+(t.unclosed?"":")")):n}function VB(t,e){var r,n;if(Array.isArray(t)){for(r="",n=t.length-1;~n;n-=1)r=HB(t[n],e)+r;return r}return HB(t,e)}GB.exports=VB});var QB=m((jqt,YB)=>{var im="-".charCodeAt(0),sm="+".charCodeAt(0),_2=".".charCodeAt(0),zSe="e".charCodeAt(0),USe="E".charCodeAt(0);function HSe(t){var e=t.charCodeAt(0),r;if(e===sm||e===im){if(r=t.charCodeAt(1),r>=48&&r<=57)return!0;var n=t.charCodeAt(2);return r===_2&&n>=48&&n<=57}return e===_2?(r=t.charCodeAt(1),r>=48&&r<=57):e>=48&&e<=57}YB.exports=function(t){var e=0,r=t.length,n,i,s;if(r===0||!HSe(t))return!1;for(n=t.charCodeAt(e),(n===sm||n===im)&&e++;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;if(n=t.charCodeAt(e),i=t.charCodeAt(e+1),n===_2&&i>=48&&i<=57)for(e+=2;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;if(n=t.charCodeAt(e),i=t.charCodeAt(e+1),s=t.charCodeAt(e+2),(n===zSe||n===USe)&&(i>=48&&i<=57||(i===sm||i===im)&&s>=48&&s<=57))for(e+=i===sm||i===im?3:2;e<r&&(n=t.charCodeAt(e),!(n<48||n>57));)e+=1;return{number:t.slice(0,e),unit:t.slice(e)}}});var Re=m(($qt,ZB)=>{var VSe=WB(),JB=UB(),XB=KB();function Fs(t){return this instanceof Fs?(this.nodes=VSe(t),this):new Fs(t)}Fs.prototype.toString=function(){return Array.isArray(this.nodes)?XB(this.nodes):""};Fs.prototype.walk=function(t,e){return JB(this.nodes,t,e),this};Fs.unit=QB();Fs.walk=JB;Fs.stringify=XB;ZB.exports=Fs});var qe=m((Bqt,e8)=>{"use strict";e8.exports=function(e){let r=e.raws;return[r.prop&&r.prop.prefix,r.prop&&r.prop.raw||e.prop,r.prop&&r.prop.suffix,r.between||":",r.value&&r.value.prefix].reduce((n,i)=>i?n+i.length:n,0)}});var vt=m((Wqt,t8)=>{"use strict";t8.exports=function(e){let r=e.raws;return r.value&&r.value.raw||e.value}});var x2=m((zqt,r8)=>{"use strict";r8.exports=function(e){return/@\{.+?\}/.test(e)}});var S2=m((Uqt,n8)=>{"use strict";n8.exports=function(e){return/\$\(.+?\)/.test(e)}});var k2=m((Hqt,i8)=>{"use strict";i8.exports=function(e){return/#\{.+?\}/.test(e)}});var E2=m((Vqt,s8)=>{"use strict";s8.exports=function(e){return/\{.+?\}/.test(e)}});var qc=m((Gqt,o8)=>{"use strict";var GSe=x2(),KSe=S2(),YSe=k2(),QSe=E2();o8.exports=function(e){return!!(GSe(e)||YSe(e)||QSe(e)||KSe(e))}});var pn=m((Kqt,a8)=>{"use strict";var JSe=qc();a8.exports=function(e){let r=e;return/^[-+*/]/.test(e.charAt(0))&&(r=r.slice(1)),!(r.startsWith("$")||/^.+\.\$/.test(e)||r.startsWith("@")||JSe(r)||/__MSG_\S+__/.test(e))}});var qt=m((Yqt,c8)=>{"use strict";c8.exports=function(e,r){if(!Array.isArray(e))return u8(e,r);for(let n of e){let i=u8(n,r);if(i)return i}return!1};function u8(t,e){if(!Array.isArray(e))return l8(t,e);for(let r of e){let n=l8(t,r);if(n)return n}return!1}function l8(t,e){if(e instanceof RegExp){let a=t.match(e);return a?{match:t,pattern:e,substring:a[0]||""}:!1}let r=e[0],n=e[e.length-1],i=e[e.length-2],s=r==="/"&&(n==="/"||i==="/"&&n==="i"),o=s&&n==="i";if(s){let a=o?t.match(new RegExp(e.slice(1,-2),"i")):t.match(new RegExp(e.slice(1,-1)));return a?{match:t,pattern:e,substring:a[0]||""}:!1}return t===e?{match:t,pattern:e,substring:t}:!1}});var _e=m((Qqt,f8)=>{"use strict";var XSe=qt();f8.exports=function(e,r,n){return Boolean(e&&e[r]&&typeof n=="string"&&XSe(n,e[r]))}});var U=m((Jqt,d8)=>{"use strict";d8.exports=function(e){let{ruleName:r,result:n,message:i,messageArgs:s,line:o,node:a,index:u,endIndex:l,word:c,severity:f}=e;n.stylelint=n.stylelint||{ruleSeverities:{},customMessages:{},ruleMetadata:{}};let d=f||n.stylelint.ruleSeverities&&n.stylelint.ruleSeverities[r];if(n.stylelint.quiet&&d!=="error")return;let{start:p}=a&&a.rangeBy({index:u,endIndex:l})||{},h=o||p&&p.line;if(!h)throw new Error("You must pass either a node or a line number");let{ignoreDisables:y}=n.stylelint.config||{};if(n.stylelint.disabledRanges){let w=n.stylelint.disabledRanges[r]||n.stylelint.disabledRanges.all||[];for(let _ of w)if(_.start<=h&&(_.end===void 0||_.end>=h)&&(!_.rules||_.rules.includes(r))){if((n.stylelint.disabledWarnings||(n.stylelint.disabledWarnings=[])).push({rule:r,line:h}),!y)return;break}}!n.stylelint.stylelintError&&d==="error"&&(n.stylelint.stylelintError=!0),!n.stylelint.stylelintWarning&&d==="warning"&&(n.stylelint.stylelintWarning=!0);let b={severity:d,rule:r};a&&(b.node=a),e.start?b.start=e.start:u&&(b.index=u),e.end?b.end=e.end:l&&(b.endIndex=l),c&&(b.word=c);let{customMessages:g}=n.stylelint,v=ZSe(g&&g[r]||i,s);n.warn(v,b)};function ZSe(t,e){let r=e||[];return typeof t=="string"?eke(t,...r):t(...r)}function eke(t,...e){return e.reduce((r,n)=>r.replace(/%[ds]/,String(n)),t)}});var j=m((Xqt,p8)=>{"use strict";function tke(t,e){let r={};for(let[n,i]of Object.entries(e))typeof i=="string"?r[n]=`${i} (${t})`:r[n]=(...s)=>`${i(...s)} (${t})`;return r}p8.exports=tke});var Bt=m((Zqt,h8)=>{"use strict";h8.exports=function(e,r){let n=e.raws;return n.value?n.value.raw=r:e.value=r,e}});var om=m((e2t,g8)=>{"use strict";g8.exports=function(e,r){return!Array.isArray(e)||!Array.isArray(r)||e.length!==r.length?!1:e.every((n,i)=>n===r[i])}});var N=m((t2t,y8)=>{"use strict";var rke=om(),{isPlainObject:nke}=te(),ike=new Set(["severity","message","reportDisables","disableFix"]);function ske(t,e,...r){let n=!0;for(let s of r)oke(s,e,i);function i(s){n=!1,t.warn(s,{stylelintType:"invalidOption"}),t.stylelint=t.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}},t.stylelint.stylelintError=!0}return n}function oke(t,e,r){let n=t.possible,i=t.actual,s=t.optional;if(i===!1&&!e.startsWith("report"))return r(`Invalid option value "false" for rule "${e}". Are you trying to disable this rule? If so use "null" instead`);if(i===null||rke(i,[null]))return;let o=n===void 0||Array.isArray(n)&&n.length===0;if(!(o&&i===!0)){if(i===void 0){if(o||s)return;r(`Expected option value for rule "${e}"`);return}if(o){if(s){r(`Incorrect configuration for rule "${e}". Rule should have "possible" values for options validation`);return}r(`Unexpected option value ${Rc(i)} for rule "${e}"`);return}if(typeof n=="function"){n(i)||r(`Invalid option ${Rc(i)} for rule "${e}"`);return}if(Array.isArray(n)){for(let a of[i].flat())m8(n,a)||r(`Invalid option value ${Rc(a)} for rule "${e}"`);return}if(!nke(i)||typeof i!="object"||i==null){r(`Invalid option value ${Rc(i)} for rule "${e}": should be an object`);return}for(let[a,u]of Object.entries(i)){if(ike.has(a))continue;let l=n&&n[a];if(!l){r(`Invalid option name "${a}" for rule "${e}"`);continue}for(let c of[u].flat())m8(l,c)||r(`Invalid value ${Rc(c)} for option "${a}" of rule "${e}"`)}}}function m8(t,e){for(let r of[t].flat())if(typeof r=="function"&&r(e)||e===r)return!0;return!1}function Rc(t){return typeof t=="string"?`"${t}"`:`"${JSON.stringify(t)}"`}y8.exports=ske});var x8=m((r2t,_8)=>{"use strict";var um=Re(),ake=qe(),uke=vt(),lke=pn(),cke=_e(),fke=U(),dke=j(),pke=Bt(),hke=N(),{isRegExp:gke,isString:mke,assert:yke}=te(),am="alpha-value-notation",w8=dke(am,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),bke={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},vke=new Set(["opacity","shape-image-threshold","fill-opacity","flood-opacity","stop-opacity","stroke-opacity"]),wke=new Set(["hsl","hsla","hwb","lab","lch","rgb","rgba"]),lm=(t,e,r)=>(n,i)=>{if(!hke(i,am,{actual:t,possible:["number","percentage"]},{actual:e,possible:{exceptProperties:[mke,gke]},optional:!0}))return;let o=Object.freeze({number:{expFunc:v8,fixFunc:xke},percentage:{expFunc:b8,fixFunc:_ke}});n.walkDecls(a=>{let u=!1,l=um(uke(a));l.walk(c=>{let f;if(vke.has(a.prop.toLowerCase()))f=Ske(c);else{if(c.type!=="function"||!wke.has(c.value.toLowerCase()))return;f=kke(c)}if(!f)return;let{value:d}=f;if(!lke(d)||!v8(d)&&!b8(d))return;let p=t;if(cke(e,"exceptProperties",a.prop)&&(p==="number"?p="percentage":p==="percentage"&&(p="number")),o[p].expFunc(d))return;let h=o[p].fixFunc(d),y=d;if(r.fix){f.value=String(h),u=!0;return}let b=ake(a)+f.sourceIndex,g=b+f.value.length;fke({message:w8.expected(y,h),node:a,index:b,endIndex:g,result:i,ruleName:am})}),u&&pke(a,l.toString())})};function _ke(t){let e=Number(t);return`${Number((e*100).toPrecision(3))}%`}function xke(t){let e=um.unit(t);yke(e);let r=Number(e.number);return Number((r/100).toPrecision(3)).toString()}function Ske(t){return t.type==="word"||t.type==="function"?t:void 0}function kke(t){let e=t.nodes.filter(({type:n})=>n==="word"||n==="function");if(e.length===4)return e[3];let r=t.nodes.findIndex(({type:n,value:i})=>n==="div"&&i==="/");if(r!==-1)return t.nodes.slice(r+1,t.nodes.length).find(({type:i})=>i==="word")}function b8(t){let e=um.unit(t);return e&&e.unit==="%"}function v8(t){let e=um.unit(t);return e&&e.unit===""}lm.ruleName=am;lm.messages=w8;lm.meta=bke;_8.exports=lm});var E8=m((n2t,k8)=>{"use strict";var Eke=Re(),Cke=vt(),Dke=_e(),Oke=U(),qke=j(),Rke=N(),{isRegExp:Ake,isString:Pke}=te(),cm="annotation-no-unknown",S8=qke(cm,{rejected:t=>`Unexpected unknown annotation "${t}"`}),Tke={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},fm=(t,e)=>(r,n)=>{if(!Rke(n,cm,{actual:t},{actual:e,possible:{ignoreAnnotations:[Pke,Ake]},optional:!0}))return;r.walkDecls(s);function s(a){if(a.important||!a.value.includes("!"))return;Eke(Cke(a)).walk(l=>{if(!o(l))return;let c=l.value,f=c.slice(1);Dke(e,"ignoreAnnotations",f)||Oke({message:S8.rejected(c),node:a,result:n,ruleName:cm,word:c})})}function o(a){return a.type==="word"&&a.value.startsWith("!")}};fm.ruleName=cm;fm.messages=S8;fm.meta=Tke;k8.exports=fm});var Mr=m((i2t,C8)=>{"use strict";C8.exports=function(e){return!(!e.nodes&&e.params===""||"mixin"in e&&e.mixin||"variable"in e&&e.variable||!e.nodes&&e.raws.afterName===""&&e.params[0]==="(")}});var tt=m((s2t,D8)=>{"use strict";D8.exports={prefix(t){let e=t.match(/^(-\w+-)/);return e&&e[0]||""},unprefixed(t){return t.replace(/^-\w+-/,"")}}});var R8=m((o2t,q8)=>{"use strict";var Mke=Mr(),Fke=U(),Lke=j(),Ike=N(),Nke=tt(),{isString:jke}=te(),dm="at-rule-allowed-list",O8=Lke(dm,{rejected:t=>`Unexpected at-rule "${t}"`}),$ke={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},Ac=t=>(e,r)=>{if(!Ike(r,dm,{actual:t,possible:[jke]}))return;let i=[t].flat();e.walkAtRules(s=>{let o=s.name;Mke(s)&&(i.includes(Nke.unprefixed(o).toLowerCase())||Fke({message:O8.rejected(o),node:s,result:r,ruleName:dm,word:`@${o}`}))})};Ac.primaryOptionArray=!0;Ac.ruleName=dm;Ac.messages=O8;Ac.meta=$ke;q8.exports=Ac});var T8=m((a2t,P8)=>{"use strict";var Bke=Mr(),Wke=U(),zke=j(),Uke=N(),Hke=tt(),{isString:Vke}=te(),pm="at-rule-disallowed-list",A8=zke(pm,{rejected:t=>`Unexpected at-rule "${t}"`}),Gke={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Pc=t=>(e,r)=>{if(!Uke(r,pm,{actual:t,possible:[Vke]}))return;let i=[t].flat();e.walkAtRules(s=>{let o=s.name;Bke(s)&&i.includes(Hke.unprefixed(o).toLowerCase())&&Wke({message:A8.rejected,messageArgs:[o],node:s,result:r,ruleName:pm,word:`@${s.name}`})})};Pc.primaryOptionArray=!0;Pc.ruleName=pm;Pc.messages=A8;Pc.meta=Gke;P8.exports=Pc});var bu=m((u2t,M8)=>{"use strict";M8.exports=function(e,r){let{raws:n}=e;return typeof n.before!="string"||(n.before=/\r?\n/.test(n.before)?n.before.replace(/(\r?\n)/,`${r}$1`):r.repeat(2)+n.before),e}});var Ls=m((l2t,F8)=>{"use strict";function hm(t){return t.source&&t.source.start&&t.source.start.line}F8.exports=function t(e){if(e===void 0)return;let r=e.prev();if(!r||r.type!=="comment")return r;if(hm(e)===hm(r))return t(r);let n=r.prev();return n&&hm(r)===hm(n)?t(r):r}});var Io=m((c2t,L8)=>{"use strict";L8.exports=function(e){return e===""||e===void 0?!1:/\n[\r\t ]*\n/.test(e)}});var N8=m((f2t,I8)=>{"use strict";function gm(t){return t&&t.source&&t.source.start&&t.source.start.line}I8.exports=function t(e){if(e===void 0)return;let r=e.next();return!r||r.type!=="comment"?r:gm(e)===gm(r)||gm(r)===gm(r.next())?t(r):r}});var Ye=m((d2t,Is)=>{"use strict";Is.exports.isRoot=function(e){return e.type==="root"};Is.exports.isRule=function(e){return e.type==="rule"};Is.exports.isAtRule=function(e){return e.type==="atrule"};Is.exports.isComment=function(e){return e.type==="comment"};Is.exports.isDeclaration=function(e){return e.type==="decl"};Is.exports.isValueFunction=function(e){return e.type==="function"};Is.exports.hasSource=function(e){return Boolean(e.source)}});var mm=m((p2t,$8)=>{"use strict";var Kke=N8(),Yke=Ls(),{isRoot:Qke,isComment:Jke}=Ye();function j8(t,e){let r=t&&t.source&&t.source.end&&t.source.end.line,n=e&&e.source&&e.source.start&&e.source.start.line;return r===n}$8.exports=function(e){if(!Jke(e))return!1;let r=Yke(e);if(j8(r,e))return!0;let n=Kke(e);if(n&&j8(e,n))return!0;let i=e.parent;return i!==void 0&&!Qke(i)&&i.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
|
|
70
|
+
`)}});var Tc=m((h2t,B8)=>{"use strict";var Xke=mm();B8.exports=function(e){let r=e.prev();return!r||r.type!=="comment"?!1:!Xke(r)}});var nr=m((g2t,W8)=>{"use strict";W8.exports=function(e){return e.nodes!==void 0}});var C2=m((m2t,U8)=>{"use strict";var Zke=Ls(),z8=nr(),{isAtRule:eEe}=Ye();U8.exports=function(e){if(e.type!=="atrule")return!1;let r=Zke(e);return r===void 0?!1:eEe(r)&&!z8(r)&&!z8(e)}});var V8=m((y2t,H8)=>{"use strict";var tEe=Ls(),rEe=C2(),{isAtRule:nEe}=Ye();H8.exports=function(e){if(!rEe(e))return!1;let r=tEe(e);return r&&nEe(r)?r.name===e.name:!1}});var vu=m((b2t,Y8)=>{"use strict";var{isComment:G8,hasSource:K8}=Ye();Y8.exports=function(e){let r=e.parent;if(r===void 0||r.type==="root")return!1;if(e===r.first)return!0;let n=r.nodes;if(!n)return!1;let i=n[0];if(!i||!G8(i)||typeof i.raws.before=="string"&&i.raws.before.includes(`
|
|
71
|
+
`)||!K8(i)||!i.source.start)return!1;let s=i.source.start.line;if(!i.source.end||s!==i.source.end.line)return!1;for(let[o,a]of n.entries())if(o!==0){if(a===e)return!0;if(!G8(a)||K8(a)&&a.source.end&&a.source.end.line!==s)return!1}return!1}});var Mc=m((v2t,J8)=>{"use strict";var{isRoot:Q8}=Ye();J8.exports=function(e){if(Q8(e))return!1;let r=e.parent;return r?Q8(r)&&e===r.first:!1}});var wu=m((w2t,X8)=>{"use strict";X8.exports=function(e,r){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,r):"",e}});var n9=m((_2t,r9)=>{"use strict";var iEe=bu(),sEe=Ls(),oEe=Io(),aEe=Tc(),Z8=C2(),e9=V8(),t9=vu(),uEe=Mc(),lEe=Mr(),ri=_e(),cEe=wu(),fEe=U(),dEe=j(),{isAtRule:pEe}=Ye(),hEe=N(),{isString:gEe}=te(),ym="at-rule-empty-line-before",D2=dEe(ym,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),mEe={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},bm=(t,e,r)=>(n,i)=>{if(!hEe(i,ym,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["after-same-name","inside-block","blockless-after-same-name-blockless","blockless-after-blockless","first-nested"],ignore:["after-comment","first-nested","inside-block","blockless-after-same-name-blockless","blockless-after-blockless"],ignoreAtRules:[gEe]},optional:!0}))return;let o=t;n.walkAtRules(a=>{let u=a.parent&&a.parent.type!=="root";if(uEe(a)||!lEe(a)||ri(e,"ignoreAtRules",a.name)||ri(e,"ignore","blockless-after-blockless")&&Z8(a)||ri(e,"ignore","first-nested")&&t9(a)||ri(e,"ignore","blockless-after-same-name-blockless")&&e9(a)||ri(e,"ignore","inside-block")&&u||ri(e,"ignore","after-comment")&&aEe(a))return;let l=oEe(a.raws.before),c=o==="always";if((ri(e,"except","after-same-name")&&yEe(a)||ri(e,"except","inside-block")&&u||ri(e,"except","first-nested")&&t9(a)||ri(e,"except","blockless-after-blockless")&&Z8(a)||ri(e,"except","blockless-after-same-name-blockless")&&e9(a))&&(c=!c),c===l)return;if(r.fix&&r.newline){c?iEe(a,r.newline):cEe(a,r.newline);return}let f=c?D2.expected:D2.rejected;fEe({message:f,node:a,result:i,ruleName:ym})})};function yEe(t){let e=sEe(t);return e&&pEe(e)&&e.name===t.name}bm.ruleName=ym;bm.messages=D2;bm.meta=mEe;r9.exports=bm});var o9=m((x2t,s9)=>{"use strict";var bEe=Mr(),vEe=U(),wEe=j(),_Ee=N(),vm="at-rule-name-case",i9=wEe(vm,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),xEe={url:"https://stylelint.io/user-guide/rules/at-rule-name-case",fixable:!0},wm=(t,e,r)=>(n,i)=>{if(!_Ee(i,vm,{actual:t,possible:["lower","upper"]}))return;let o=t;n.walkAtRules(a=>{if(!bEe(a))return;let u=a.name,l=o==="lower"?u.toLowerCase():u.toUpperCase();if(u!==l){if(r.fix){a.name=l;return}vEe({message:i9.expected(u,l),node:a,ruleName:vm,result:i})}})};wm.ruleName=vm;wm.messages=i9;wm.meta=xEe;s9.exports=wm});var O2=m((S2t,a9)=>{"use strict";var SEe=Mr(),kEe=U();a9.exports=function(e){e.root.walkAtRules(n=>{SEe(n)&&r(`@${n.name}${n.raws.afterName||""}${n.params}`,n.name.length,n)});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{if(e.fix){e.fix(s);return}kEe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})},errTarget:`@${s.name}`})}}});var Fc=m((k2t,u9)=>{"use strict";u9.exports=function(e){let r=new Error(e);return r.code=78,r}});var Di=m((E2t,l9)=>{"use strict";l9.exports=function(e){return!/[\n\r]/.test(e)}});var Lc=m((C2t,c9)=>{"use strict";c9.exports=function(e){return[" ",`
|
|
72
|
+
`," ","\r","\f"].includes(e)}});var je=m((D2t,d9)=>{"use strict";var f9=Fc(),Ns=Di(),_u=Lc(),{assertFunction:Ic,isNullish:js}=te();d9.exports=function(e,r,n){let i;function s({source:h,index:y,err:b,errTarget:g,lineCheckStr:v,onlyOneChar:w=!1,allowIndentation:_=!1}){switch(i={source:h,index:y,err:b,errTarget:g,onlyOneChar:w,allowIndentation:_},r){case"always":u();break;case"never":c();break;case"always-single-line":if(!Ns(v||h))return;u(n.expectedBeforeSingleLine);break;case"never-single-line":if(!Ns(v||h))return;c(n.rejectedBeforeSingleLine);break;case"always-multi-line":if(Ns(v||h))return;u(n.expectedBeforeMultiLine);break;case"never-multi-line":if(Ns(v||h))return;c(n.rejectedBeforeMultiLine);break;default:throw f9(`Unknown expectation "${r}"`)}}function o({source:h,index:y,err:b,errTarget:g,lineCheckStr:v,onlyOneChar:w=!1}){switch(i={source:h,index:y,err:b,errTarget:g,onlyOneChar:w},r){case"always":d();break;case"never":p();break;case"always-single-line":if(!Ns(v||h))return;d(n.expectedAfterSingleLine);break;case"never-single-line":if(!Ns(v||h))return;p(n.rejectedAfterSingleLine);break;case"always-multi-line":if(Ns(v||h))return;d(n.expectedAfterMultiLine);break;case"never-multi-line":if(Ns(v||h))return;p(n.rejectedAfterMultiLine);break;default:throw f9(`Unknown expectation "${r}"`)}}function a(h){s({...h,allowIndentation:!0})}function u(h=n.expectedBefore){if(i.allowIndentation){l(h);return}let y=i,b=y.source,g=y.index,v=b[g-1],w=b[g-2];js(v)||e==="space"&&v===" "&&(i.onlyOneChar||js(w)||!_u(w))||(Ic(h),i.err(h(i.errTarget||b.charAt(g))))}function l(h=n.expectedBefore){let y=i,b=y.source,g=y.index,v=y.err,w=e==="newline"?`
|
|
73
|
+
`:void 0,_=g-1;for(;b[_]!==w;){if(b[_]===" "||b[_]===" "){_--;continue}Ic(h),v(h(i.errTarget||b.charAt(g)));return}}function c(h=n.rejectedBefore){let y=i,b=y.source,g=y.index,v=b[g-1];!js(v)&&_u(v)&&(Ic(h),i.err(h(i.errTarget||b.charAt(g))))}function f(h){o({...h,onlyOneChar:!0})}function d(h=n.expectedAfter){let y=i,b=y.source,g=y.index,v=b[g+1],w=b[g+2],_=b[g+3];js(v)||e==="newline"&&(v==="\r"&&w===`
|
|
74
|
+
`&&(i.onlyOneChar||js(_)||!_u(_))||v===`
|
|
75
|
+
`&&(i.onlyOneChar||js(w)||!_u(w)))||e==="space"&&v===" "&&(i.onlyOneChar||js(w)||!_u(w))||(Ic(h),i.err(h(i.errTarget||b.charAt(g))))}function p(h=n.rejectedAfter){let y=i,b=y.source,g=y.index,v=b[g+1];!js(v)&&_u(v)&&(Ic(h),i.err(h(i.errTarget||b.charAt(g))))}return{before:s,beforeAllowingIndentation:a,after:o,afterOneOnly:f}}});var g9=m((O2t,h9)=>{"use strict";var EEe=O2(),CEe=j(),DEe=N(),OEe=je(),_m="at-rule-name-newline-after",p9=CEe(_m,{expectedAfter:t=>`Expected newline after at-rule name "${t}"`}),qEe={url:"https://stylelint.io/user-guide/rules/at-rule-name-newline-after"},xm=t=>{let e=OEe("newline",t,p9);return(r,n)=>{DEe(n,_m,{actual:t,possible:["always","always-multi-line"]})&&EEe({root:r,result:n,locationChecker:e.afterOneOnly,checkedRuleName:_m})}};xm.ruleName=_m;xm.messages=p9;xm.meta=qEe;h9.exports=xm});var ts=m((q2t,m9)=>{"use strict";m9.exports=function(e){let r="";return e.raws.before&&(r+=e.raws.before),r+=e.toString(),r}});var v9=m((R2t,b9)=>{"use strict";var REe=nr(),AEe=Mr(),PEe=ts(),TEe=U(),MEe=j(),FEe=N(),LEe=je(),Sm="at-rule-semicolon-space-before",y9=MEe(Sm,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"'}),IEe={url:"https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before"},km=t=>{let e=LEe("space",t,y9);return(r,n)=>{FEe(n,Sm,{actual:t,possible:["always","never"]})&&r.walkAtRules(s=>{if(REe(s)||!AEe(s))return;let o=PEe(s);e.before({source:o,index:o.length,err:a=>{TEe({message:a,node:s,index:o.length-1,result:n,ruleName:Sm})}})})}};km.ruleName=Sm;km.messages=y9;km.meta=IEe;b9.exports=km});var x9=m((A2t,_9)=>{"use strict";var NEe=O2(),jEe=j(),$Ee=N(),BEe=je(),Em="at-rule-name-space-after",w9=jEe(Em,{expectedAfter:t=>`Expected single space after at-rule name "${t}"`}),WEe={url:"https://stylelint.io/user-guide/rules/at-rule-name-space-after",fixable:!0},Cm=(t,e,r)=>{let n=BEe("space",t,w9);return(i,s)=>{$Ee(s,Em,{actual:t,possible:["always","always-single-line"]})&&NEe({root:i,result:s,locationChecker:n.after,checkedRuleName:Em,fix:r.fix?a=>{typeof a.raws.afterName=="string"&&(a.raws.afterName=a.raws.afterName.replace(/^\s*/," "))}:null})}};Cm.ruleName=Em;Cm.messages=w9;Cm.meta=WEe;_9.exports=Cm});var xu=m((P2t,S9)=>{S9.exports=function(...e){return new Set([...e].reduce((r,n)=>[...r,...n],[]))}});var E9=m((T2t,k9)=>{"use strict";var zEe=xu(),UEe=new Set(["top-left-corner","top-left","top-center","top-right","top-right-corner","bottom-left-corner","bottom-left","bottom-center","bottom-right","bottom-right-corner","left-top","left-middle","left-bottom","right-top","right-middle","right-bottom"]),HEe=zEe(UEe,["annotation","apply","character-variant","charset","container","counter-style","custom-media","custom-selector","document","font-face","font-feature-values","import","keyframes","layer","media","namespace","nest","ornaments","page","property","styleset","stylistic","supports","swash","viewport"]);k9.exports={atKeywords:HEe}});var O9=m((M2t,D9)=>{"use strict";var VEe=Mr(),{atKeywords:GEe}=E9(),KEe=_e(),YEe=U(),QEe=j(),JEe=N(),XEe=tt(),{isRegExp:ZEe,isString:eCe}=te(),Dm="at-rule-no-unknown",C9=QEe(Dm,{rejected:t=>`Unexpected unknown at-rule "${t}"`}),tCe={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Om=(t,e)=>(r,n)=>{JEe(n,Dm,{actual:t},{actual:e,possible:{ignoreAtRules:[eCe,ZEe]},optional:!0})&&r.walkAtRules(s=>{if(!VEe(s))return;let o=s.name;if(KEe(e,"ignoreAtRules",s.name)||XEe.prefix(o)||GEe.has(o.toLowerCase()))return;let a=`@${o}`;YEe({message:C9.rejected(a),node:s,ruleName:Dm,result:n,word:a})})};Om.ruleName=Dm;Om.messages=C9;Om.meta=tCe;D9.exports=Om});var Su=m((F2t,R9)=>{"use strict";var q9=tt(),rCe=new Set(["@-khtml-keyframes","@-moz-keyframes","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@resolution"]),nCe=new Set([":-moz-any-link",":-moz-full-screen",":-moz-placeholder",":-moz-placeholder-shown",":-moz-read-only",":-moz-read-write",":-ms-fullscreen",":-ms-input-placeholder",":-webkit-any-link",":-webkit-full-screen","::-moz-placeholder","::-moz-selection","::-ms-input-placeholder","::-webkit-backdrop","::-webkit-input-placeholder"]),iCe=new Set(["align-content","align-items","align-self","animation","animation-delay","animation-direction","animation-duration","animation-fill-mode","animation-iteration-count","animation-name","animation-play-state","animation-timing-function","appearance","backdrop-filter","backface-visibility","background-clip","background-origin","background-size","border-block-end","border-block-start","border-bottom-left-radius","border-bottom-right-radius","border-image","border-inline-end","border-inline-start","border-radius","border-top-left-radius","border-top-right-radius","box-decoration-break","box-shadow","box-sizing","break-after","break-before","break-inside","clip-path","color-adjust","column-count","column-fill","column-gap","column-rule","column-rule-color","column-rule-style","column-rule-width","column-span","column-width","columns","filter","flex","flex-basis","flex-direction","flex-flow","flex-grow","flex-shrink","flex-wrap","flow-from","flow-into","font-feature-settings","font-kerning","font-language-override","font-variant-ligatures","grid-area","grid-column","grid-column-align","grid-column-end","grid-column-start","grid-row","grid-row-align","grid-row-end","grid-row-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hyphens","image-rendering","justify-content","margin-block-end","margin-block-start","margin-inline-end","margin-inline-start","mask","mask-border","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","mask-clip","mask-composite","mask-image","mask-origin","mask-position","mask-repeat","mask-size","object-fit","object-position","order","overscroll-behavior","padding-block-end","padding-block-start","padding-inline-end","padding-inline-start","perspective","perspective-origin","place-self","region-fragment","scroll-snap-coordinate","scroll-snap-destination","scroll-snap-points-x","scroll-snap-points-y","scroll-snap-type","shape-image-threshold","shape-margin","shape-outside","tab-size","text-align-last","text-decoration","text-decoration-color","text-decoration-line","text-decoration-skip","text-decoration-skip-ink","text-decoration-style","text-emphasis","text-emphasis-color","text-emphasis-position","text-emphasis-style","text-orientation","text-overflow","text-size-adjust","text-spacing","touch-action","transform","transform-origin","transform-style","transition","transition-delay","transition-duration","transition-property","transition-timing-function","user-select","writing-mode"]),sCe=new Set(["-moz-available","-moz-box","-moz-calc","-moz-crisp-edges","-moz-element","-moz-fit-content","-moz-grab","-moz-grabbing","-moz-inline-box","-moz-isolate","-moz-isolate-override","-moz-linear-gradient","-moz-max-content","-moz-min-content","-moz-plaintext","-moz-radial-gradient","-moz-repeating-linear-gradient","-moz-repeating-radial-gradient","-moz-zoom-in","-moz-zoom-out","-ms-flexbox","-ms-grid","-ms-inline-flexbox","-ms-inline-grid","-ms-linear-gradient","-ms-radial-gradient","-ms-repeating-linear-gradient","-ms-repeating-radial-gradient","-o-linear-gradient","-o-pixelated","-o-radial-gradient","-o-repeating-linear-gradient","-o-repeating-radial-gradient","-webkit-box","-webkit-calc","-webkit-cross-fade","-webkit-fill-available","-webkit-filter","-webkit-fit-content","-webkit-flex","-webkit-grab","-webkit-grabbing","-webkit-image-set","-webkit-inline-box","-webkit-inline-flex","-webkit-isolate","-webkit-linear-gradient","-webkit-max-content","-webkit-min-content","-webkit-optimize-contrast","-webkit-radial-gradient","-webkit-repeating-linear-gradient","-webkit-repeating-radial-gradient","-webkit-sticky","-webkit-zoom-in","-webkit-zoom-out"]);R9.exports={atRuleName(t){return rCe.has(`@${t.toLowerCase()}`)},selector(t){return nCe.has(t.toLowerCase())},mediaFeatureName(t){return t.toLowerCase().includes("device-pixel-ratio")},property(t){let e=t.toLowerCase();return e==="-ms-interpolation-mode"?!0:q9.prefix(e).length===0?!1:iCe.has(q9.unprefixed(e))},propertyValue(t){return sCe.has(t.toLowerCase())},unprefix(t){return t.replace(/-\w+-/,"")}}});var M9=m((L2t,T9)=>{"use strict";var A9=Su(),oCe=Mr(),aCe=U(),uCe=j(),lCe=N(),qm="at-rule-no-vendor-prefix",P9=uCe(qm,{rejected:t=>`Unexpected vendor-prefixed at-rule "@${t}"`}),cCe={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Rm=(t,e,r)=>(n,i)=>{lCe(i,qm,{actual:t})&&n.walkAtRules(o=>{if(!oCe(o))return;let a=o.name;if(a.startsWith("-")&&A9.atRuleName(a)){if(r.fix){o.name=A9.unprefix(o.name);return}aCe({message:P9.rejected(a),node:o,word:`@${a}`,result:i,ruleName:qm})}})};Rm.ruleName=qm;Rm.messages=P9;Rm.meta=cCe;T9.exports=Rm});var Am=m((I2t,F9)=>{"use strict";F9.exports=function(e){if(e!=null)return Array.isArray(e)?e:[e]}});var Oi=m((N2t,L9)=>{"use strict";var{isPlainObject:fCe}=te();L9.exports=function(...e){return r=>fCe(r)?Object.values(r).flat().every(n=>e.some(i=>i(n))):!1}});var j9=m((j2t,N9)=>{"use strict";var dCe=Am(),pCe=Mr(),hCe=U(),gCe=j(),mCe=Oi(),yCe=N(),{isString:bCe}=te(),Pm="at-rule-property-required-list",I9=gCe(Pm,{expected:(t,e)=>`Expected property "${t}" for at-rule "${e}"`}),vCe={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Tm=t=>(e,r)=>{yCe(r,Pm,{actual:t,possible:[mCe(bCe)]})&&e.walkAtRules(i=>{if(!pCe(i))return;let{name:s,nodes:o}=i,a=s.toLowerCase(),u=dCe(t[a]);if(u)for(let l of u){let c=l.toLowerCase();o.find(d=>d.type==="decl"&&d.prop.toLowerCase()===c)||hCe({message:I9.expected(c,a),node:i,word:`@${i.name}`,result:r,ruleName:Pm})}})};Tm.ruleName=Pm;Tm.messages=I9;Tm.meta=vCe;N9.exports=Tm});var q2=m(($2t,$9)=>{"use strict";$9.exports=function t(e){return!e||!e.next?null:e.type==="comment"?t(e.next()):e}});var z9=m((B2t,W9)=>{"use strict";var wCe=nr(),_Ce=Mr(),xCe=q2(),SCe=ts(),kCe=U(),ECe=j(),CCe=N(),DCe=je(),Mm="at-rule-semicolon-newline-after",B9=ECe(Mm,{expectedAfter:()=>'Expected newline after ";"'}),OCe={url:"https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after",fixable:!0},Fm=(t,e,r)=>{let n=DCe("newline",t,B9);return(i,s)=>{CCe(s,Mm,{actual:t,possible:["always"]})&&i.walkAtRules(a=>{let u=a.next();if(!u||wCe(a)||!_Ce(a))return;let l=xCe(u);l&&n.afterOneOnly({source:SCe(l),index:-1,err:c=>{r.fix?l.raws.before=r.newline+l.raws.before:kCe({message:c,node:a,index:a.toString().length+1,result:s,ruleName:Mm})}})})}};Fm.ruleName=Mm;Fm.messages=B9;Fm.meta=OCe;W9.exports=Fm});var H9=m((W2t,U9)=>{"use strict";U9.exports=function(e,r){let{raws:n}=e;if(typeof n.after!="string")return e;let i=n.after.split(";"),s=i[i.length-1]||"";return/\r?\n/.test(s)?n.after=n.after.replace(/(\r?\n)/,`${r}$1`):n.after+=r.repeat(2),e}});var $s=m((z2t,V9)=>{"use strict";var{isAtRule:qCe,isRule:RCe}=Ye();V9.exports=function(e,{noRawBefore:r}={noRawBefore:!1}){let n="",i=e.raws.before||"";if(r||(n+=i),RCe(e))n+=e.selector;else if(qCe(e))n+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return n+=e.raws.between||"",n}});var xr=m((U2t,G9)=>{"use strict";var ACe=$s(),PCe=nr(),TCe=ts();G9.exports=function(e){return PCe(e)?TCe(e).slice(ACe(e).length):""}});var Bs=m((H2t,K9)=>{"use strict";var MCe=nr();K9.exports=function(e){return MCe(e)&&e.nodes.length===0}});var Q9=m((V2t,Y9)=>{"use strict";Y9.exports=function(e,r){return e.raws.after=e.raws.after?e.raws.after.replace(/(\r?\n\s*\n)+/g,r):"",e}});var X9=m((G2t,J9)=>{"use strict";var FCe=H9(),LCe=xr(),ICe=nr(),NCe=Bs(),jCe=Io(),$Ce=Di(),BCe=_e(),WCe=Q9(),zCe=U(),UCe=j(),HCe=N(),Lm="block-closing-brace-empty-line-before",R2=UCe(Lm,{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"}),VCe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before",fixable:!0},Im=(t,e,r)=>(n,i)=>{if(!HCe(i,Lm,{actual:t,possible:["always-multi-line","never"]},{actual:e,possible:{except:["after-closing-brace"]},optional:!0}))return;n.walkRules(o),n.walkAtRules(o);function o(a){if(!ICe(a)||NCe(a))return;let u=(a.raws.after||"").replace(/;+/,""),l=a.toString(),c=l.length-1;l[c-1]==="\r"&&(c-=1);let f=(()=>{let h=a.nodes.map(y=>y.type);return BCe(e,"except","after-closing-brace")&&a.type==="atrule"&&!h.includes("decl")?t==="never":t==="always-multi-line"&&!$Ce(LCe(a))})(),d=jCe(u);if(f===d)return;if(r.fix){let{newline:h}=r;if(typeof h!="string")return;f?FCe(a,h):WCe(a,h);return}let p=f?R2.expected:R2.rejected;zCe({message:p,result:i,ruleName:Lm,node:a,index:c})}};Im.ruleName=Lm;Im.messages=R2;Im.meta=VCe;J9.exports=Im});var t4=m((K2t,e4)=>{"use strict";var GCe=xr(),KCe=nr(),YCe=_e(),QCe=ts(),JCe=U(),XCe=j(),ZCe=N(),eDe=je(),{isString:tDe}=te(),Nm="block-closing-brace-newline-after",Z9=XCe(Nm,{expectedAfter:()=>'Expected newline after "}"',expectedAfterSingleLine:()=>'Expected newline after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected newline after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),rDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-newline-after",fixable:!0},jm=(t,e,r)=>{let n=eDe("newline",t,Z9);return(i,s)=>{if(!ZCe(s,Nm,{actual:t,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[tDe]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!KCe(u)||u.type==="atrule"&&YCe(e,"ignoreAtRules",u.name))return;let l=u.next();if(!l)return;let f=l.type==="comment"&&!/[^ ]/.test(l.raws.before||"")&&!l.toString().includes(`
|
|
76
|
+
`)?l.next():l;if(!f)return;let d=u.toString().length,p=QCe(f);p&&p.startsWith(";")&&(p=p.slice(1),d++),n.afterOneOnly({source:p,index:-1,lineCheckStr:GCe(u),err:h=>{if(r.fix){let y=f.raws;if(typeof y.before!="string")return;if(t.startsWith("always")){let b=y.before.search(/\r?\n/);y.before=b>=0?y.before.slice(b):r.newline+y.before;return}if(t.startsWith("never")){y.before="";return}}JCe({message:h,node:u,index:d,result:s,ruleName:Nm})}})}}};jm.ruleName=Nm;jm.messages=Z9;jm.meta=rDe;e4.exports=jm});var n4=m((Y2t,r4)=>{"use strict";var nDe=xr(),iDe=nr(),sDe=Bs(),oDe=Di(),aDe=U(),uDe=j(),lDe=N(),Bm="block-closing-brace-newline-before",$m=uDe(Bm,{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'}),cDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-newline-before",fixable:!0},Wm=(t,e,r)=>(n,i)=>{if(!lDe(i,Bm,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;n.walkRules(o),n.walkAtRules(o);function o(a){if(!iDe(a)||sDe(a))return;let u=(a.raws.after||"").replace(/;+/,"");if(u===void 0)return;let l=!oDe(nDe(a)),c=a.toString(),f=c.length-2;c[f-1]==="\r"&&(f-=1),!u.startsWith(`
|
|
77
|
+
`)&&!u.startsWith(`\r
|
|
78
|
+
`)&&(t==="always"?d($m.expectedBefore):l&&t==="always-multi-line"&&d($m.expectedBeforeMultiLine)),u!==""&&l&&t==="never-multi-line"&&d($m.rejectedBeforeMultiLine);function d(p){if(r.fix){let h=a.raws;if(typeof h.after!="string")return;if(t.startsWith("always")){let y=h.after.search(/\s/),b=y>=0?h.after.slice(0,y):h.after,g=y>=0?h.after.slice(y):"",v=g.search(/\r?\n/);h.after=v>=0?b+g.slice(v):b+r.newline+g;return}if(t==="never-multi-line"){h.after=h.after.replace(/\s/g,"");return}}aDe({message:p,result:i,ruleName:Bm,node:a,index:f})}}};Wm.ruleName=Bm;Wm.messages=$m;Wm.meta=cDe;r4.exports=Wm});var o4=m((Q2t,s4)=>{"use strict";var fDe=xr(),dDe=nr(),pDe=ts(),hDe=U(),gDe=j(),mDe=N(),yDe=je(),zm="block-closing-brace-space-after",i4=gDe(zm,{expectedAfter:()=>'Expected single space after "}"',rejectedAfter:()=>'Unexpected whitespace after "}"',expectedAfterSingleLine:()=>'Expected single space after "}" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "}" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "}" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "}" of a multi-line block'}),bDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-after"},Um=t=>{let e=yDe("space",t,i4);return(r,n)=>{if(!mDe(n,zm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;r.walkRules(s),r.walkAtRules(s);function s(o){let a=o.next();if(!a||!dDe(o))return;let u=o.toString().length,l=pDe(a);l&&l.startsWith(";")&&(l=l.slice(1),u++),e.after({source:l,index:-1,lineCheckStr:fDe(o),err:c=>{hDe({message:c,node:o,index:u,result:n,ruleName:zm})}})}}};Um.ruleName=zm;Um.messages=i4;Um.meta=bDe;s4.exports=Um});var l4=m((J2t,u4)=>{"use strict";var vDe=xr(),wDe=nr(),_De=Bs(),xDe=U(),SDe=j(),kDe=N(),EDe=je(),Hm="block-closing-brace-space-before",a4=SDe(Hm,{expectedBefore:()=>'Expected single space before "}"',rejectedBefore:()=>'Unexpected whitespace before "}"',expectedBeforeSingleLine:()=>'Expected single space before "}" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "}" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "}" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "}" of a multi-line block'}),CDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-before",fixable:!0},Vm=(t,e,r)=>{let n=EDe("space",t,a4);return(i,s)=>{if(!kDe(s,Hm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!wDe(u)||_De(u))return;let l=vDe(u),c=u.toString(),f=c.length-2;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length-1,err:d=>{if(r.fix){let p=u.raws;if(typeof p.after!="string")return;if(t.startsWith("always")){p.after=p.after.replace(/\s*$/," ");return}if(t.startsWith("never")){p.after=p.after.replace(/\s*$/,"");return}}xDe({message:d,node:u,index:f,result:s,ruleName:Hm})}})}}};Vm.ruleName=Hm;Vm.messages=a4;Vm.meta=CDe;u4.exports=Vm});var A2=m((X2t,g4)=>{"use strict";var{assertString:DDe}=te(),c4="stylelint-disable",f4="stylelint-disable-line",d4="stylelint-disable-next-line",p4="stylelint-enable",ODe=new Set([c4,f4,d4,p4]);function h4(t){let[e]=t.text.split(/\s/,1);return DDe(e),e}function qDe(t){let e=h4(t);return e!==void 0&&ODe.has(e)}g4.exports={DISABLE_COMMAND:c4,DISABLE_LINE_COMMAND:f4,DISABLE_NEXT_LINE_COMMAND:d4,ENABLE_COMMAND:p4,extractStylelintCommand:h4,isStylelintCommand:qDe}});var b4=m((Z2t,y4)=>{"use strict";var RDe=$s(),ADe=nr(),PDe=_e(),TDe=U(),MDe=j(),{isStylelintCommand:FDe}=A2(),{isComment:LDe}=Ye(),IDe=N(),{isBoolean:NDe}=te(),Gm="block-no-empty",m4=MDe(Gm,{rejected:"Unexpected empty block"}),jDe={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Km=(t,e)=>(r,n)=>{if(!IDe(n,Gm,{actual:t,possible:NDe},{actual:e,possible:{ignore:["comments"]},optional:!0}))return;let s=PDe(e,"ignore","comments");r.walkRules(o),r.walkAtRules(o);function o(u){if(!ADe(u)||a(u))return;let l=RDe(u,{noRawBefore:!0}).length;u.raws.between===void 0&&l--,TDe({message:m4.rejected,node:u,start:u.positionBy({index:l}),result:n,ruleName:Gm})}function a(u){return u.nodes.some(l=>!(LDe(l)&&(s||FDe(l))))}};Km.ruleName=Gm;Km.messages=m4;Km.meta=jDe;y4.exports=Km});var _4=m((eRt,w4)=>{"use strict";var $De=$s(),BDe=xr(),WDe=nr(),zDe=Bs(),UDe=_e(),HDe=ts(),VDe=U(),GDe=j(),KDe=N(),YDe=je(),Ym="block-opening-brace-newline-after",v4=GDe(Ym,{expectedAfter:()=>'Expected newline after "{"',expectedAfterMultiLine:()=>'Expected newline after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),QDe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-after",fixable:!0},Qm=(t,e,r)=>{let n=YDe("newline",t,v4);return(i,s)=>{if(!KDe(s,Ym,{actual:t,possible:["always","rules","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["rules"]},optional:!0}))return;UDe(e,"ignore","rules")||i.walkRules(a),i.walkAtRules(a);function a(u){if(!WDe(u)||zDe(u))return;let l=new Map;function c(d){if(!(!d||!d.next)){if(d.type==="comment"){let p=/\r?\n/,h=p.test(d.raws.before||""),y=d.next();return y&&h&&!p.test(y.raws.before||"")&&(l.set(y,y.raws.before),y.raws.before=d.raws.before),c(y)}return d}}let f=c(u.first);if(f){n.afterOneOnly({source:HDe(f),index:-1,lineCheckStr:BDe(u),err:d=>{if(r.fix){let p=f.raws;if(typeof p.before!="string")return;if(t.startsWith("always")){let h=p.before.search(/\r?\n/);p.before=h>=0?p.before.slice(h):r.newline+p.before,l.delete(f);return}if(t==="never-multi-line"){for(let[b,g]of l.entries())b.raws.before=g;l.clear();let h=/\r?\n/,y=u.first;for(;y;){let b=y.raws;if(typeof b.before=="string"){if(h.test(b.before||"")&&(b.before=b.before.replace(/\r?\n/g,"")),y.type!=="comment")break;y=y.next()}}p.before="";return}}VDe({message:d,node:u,index:$De(u,{noRawBefore:!0}).length+1,result:s,ruleName:Ym})}});for(let[d,p]of l.entries())d.raws.before=p}}}};Qm.ruleName=Ym;Qm.messages=v4;Qm.meta=QDe;w4.exports=Qm});var E4=m((tRt,k4)=>{"use strict";var x4=$s(),JDe=xr(),XDe=nr(),ZDe=Bs(),eOe=U(),tOe=j(),rOe=N(),nOe=je(),Jm="block-opening-brace-newline-before",S4=tOe(Jm,{expectedBefore:()=>'Expected newline before "{"',expectedBeforeSingleLine:()=>'Expected newline before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected newline before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),iOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-before",fixable:!0},Xm=(t,e,r)=>{let n=nOe("newline",t,S4);return(i,s)=>{if(!rOe(s,Jm,{actual:t,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!XDe(u)||ZDe(u))return;let l=x4(u),c=x4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.beforeAllowingIndentation({lineCheckStr:JDe(u),source:l,index:l.length,err:d=>{if(r.fix){let p=u.raws;if(typeof p.between!="string")return;if(t.startsWith("always")){let h=p.between.search(/\s+$/);h>=0?u.raws.between=p.between.slice(0,h)+r.newline+p.between.slice(h):p.between+=r.newline;return}if(t.startsWith("never")){p.between=p.between.replace(/\s*$/,"");return}}eOe({message:d,node:u,index:f,result:s,ruleName:Jm})}})}}};Xm.ruleName=Jm;Xm.messages=S4;Xm.meta=iOe;k4.exports=Xm});var O4=m((rRt,D4)=>{"use strict";var sOe=$s(),oOe=xr(),aOe=nr(),uOe=Bs(),lOe=_e(),cOe=U(),fOe=j(),dOe=N(),pOe=je(),Zm="block-opening-brace-space-after",C4=fOe(Zm,{expectedAfter:()=>'Expected single space after "{"',rejectedAfter:()=>'Unexpected whitespace after "{"',expectedAfterSingleLine:()=>'Expected single space after "{" of a single-line block',rejectedAfterSingleLine:()=>'Unexpected whitespace after "{" of a single-line block',expectedAfterMultiLine:()=>'Expected single space after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),hOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-after",fixable:!0},ey=(t,e,r)=>{let n=pOe("space",t,C4);return(i,s)=>{if(!dOe(s,Zm,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["at-rules"]},optional:!0}))return;i.walkRules(a),lOe(e,"ignore","at-rules")||i.walkAtRules(a);function a(u){!aOe(u)||uOe(u)||n.after({source:oOe(u),index:0,err:l=>{if(r.fix){let c=u.first;if(c==null)return;if(t.startsWith("always")){c.raws.before=" ";return}if(t.startsWith("never")){c.raws.before="";return}}cOe({message:l,node:u,index:sOe(u,{noRawBefore:!0}).length+1,result:s,ruleName:Zm})}})}}};ey.ruleName=Zm;ey.messages=C4;ey.meta=hOe;D4.exports=ey});var F4=m((nRt,M4)=>{"use strict";var q4=$s(),gOe=xr(),mOe=nr(),yOe=Bs(),R4=_e(),bOe=U(),vOe=j(),wOe=N(),_Oe=je(),{isRegExp:A4,isString:P4}=te(),ty="block-opening-brace-space-before",T4=vOe(ty,{expectedBefore:()=>'Expected single space before "{"',rejectedBefore:()=>'Unexpected whitespace before "{"',expectedBeforeSingleLine:()=>'Expected single space before "{" of a single-line block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "{" of a single-line block',expectedBeforeMultiLine:()=>'Expected single space before "{" of a multi-line block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "{" of a multi-line block'}),xOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-before",fixable:!0},ry=(t,e,r)=>{let n=_Oe("space",t,T4);return(i,s)=>{if(!wOe(s,ty,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[P4,A4],ignoreSelectors:[P4,A4]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!mOe(u)||yOe(u)||u.type==="atrule"&&R4(e,"ignoreAtRules",u.name)||u.type==="rule"&&R4(e,"ignoreSelectors",u.selector))return;let l=q4(u),c=q4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length,lineCheckStr:gOe(u),err:d=>{if(r.fix){if(t.startsWith("always")){u.raws.between=" ";return}if(t.startsWith("never")){u.raws.between="";return}}bOe({message:d,node:u,index:f,result:s,ruleName:ty})}})}}};ry.ruleName=ty;ry.messages=T4;ry.meta=xOe;M4.exports=ry});var qi=m((iRt,L4)=>{"use strict";L4.exports=function(e){return!(!e.value||e.value.startsWith("#{"))}});var N4=m((sRt,I4)=>{"use strict";var SOe=qi();I4.exports=function t(e){if(!SOe(e))return!1;for(let r of e.nodes){if(r.type==="function")return t(r);if(r.type==="word"&&(r.value.startsWith("#")||r.value.startsWith("$")))return!1}return!0}});var z4=m((oRt,W4)=>{"use strict";var kOe=Re(),EOe=qe(),COe=vt(),DOe=N4(),OOe=U(),qOe=j(),ROe=Bt(),{isValueFunction:AOe}=Ye(),POe=N(),ny="color-function-notation",$4=qOe(ny,{expected:t=>`Expected ${t} color-function notation`}),TOe={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},MOe=new Set(["rgba","hsla"]),FOe=new Set(["rgb","rgba","hsl","hsla"]),iy=(t,e,r)=>(n,i)=>{POe(i,ny,{actual:t,possible:["modern","legacy"]})&&n.walkDecls(o=>{let a=!1,u=kOe(COe(o));u.walk(l=>{if(!AOe(l)||!DOe(l))return;let{value:c,sourceIndex:f,sourceEndIndex:d,nodes:p}=l;if(!FOe.has(c.toLowerCase())||t==="modern"&&!j4(l)||t==="legacy"&&j4(l))return;if(r.fix&&t==="modern"){let b=0;l.nodes=p.map(g=>(B4(g)&&(b<2?(g.type="space",g.value=P2(g.after),b++):(g.value="/",g.before=P2(g.before),g.after=P2(g.after))),g)),MOe.has(l.value.toLowerCase())&&(l.value=l.value.slice(0,-1)),a=!0;return}let h=EOe(o)+f,y=h+(d-f);OOe({message:$4.expected(t),node:o,index:h,endIndex:y,result:i,ruleName:ny})}),a&&ROe(o,u.toString())})};function P2(t){return t!==""?t:" "}function B4(t){return t.type==="div"&&t.value===","}function j4(t){return t.nodes&&t.nodes.some(e=>B4(e))}iy.ruleName=ny;iy.messages=$4;iy.meta=TOe;W4.exports=iy});var V4=m((aRt,H4)=>{"use strict";var LOe=qe(),IOe=U(),NOe=j(),jOe=N(),$Oe=Re(),sy="color-hex-alpha",T2=NOe(sy,{expected:t=>`Expected alpha channel in "${t}"`,unexpected:t=>`Unexpected alpha channel in "${t}"`}),BOe={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},WOe=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i,oy=t=>(e,r)=>{jOe(r,sy,{actual:t,possible:["always","never"]})&&e.walkDecls(i=>{$Oe(i.value).walk(o=>{if(zOe(o))return!1;if(!UOe(o))return;let{value:a}=o;if(t==="always"&&U4(a)||t==="never"&&!U4(a))return;let u=LOe(i)+o.sourceIndex,l=u+a.length;IOe({message:t==="never"?T2.unexpected(a):T2.expected(a),node:i,index:u,endIndex:l,result:r,ruleName:sy})})})};function zOe({type:t,value:e}){return t==="function"&&e==="url"}function UOe({type:t,value:e}){return t==="word"&&WOe.test(e)}function U4(t){return t.length===5||t.length===9}oy.ruleName=sy;oy.messages=T2;oy.meta=BOe;H4.exports=oy});var Y4=m((uRt,K4)=>{"use strict";var HOe=Re(),VOe=qe(),GOe=vt(),KOe=U(),YOe=j(),QOe=Bt(),JOe=N(),ay="color-hex-case",G4=YOe(ay,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),XOe={url:"https://stylelint.io/user-guide/rules/color-hex-case",fixable:!0},ZOe=/^#[0-9A-Za-z]+/,eqe=new Set(["url"]),uy=(t,e,r)=>(n,i)=>{JOe(i,ay,{actual:t,possible:["lower","upper"]})&&n.walkDecls(o=>{let a=HOe(GOe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(tqe(l))return!1;if(!rqe(l))return;let f=t==="lower"?c.toLowerCase():c.toUpperCase();if(c!==f){if(r.fix){l.value=f,u=!0;return}KOe({message:G4.expected(c,f),node:o,index:VOe(o)+l.sourceIndex,result:i,ruleName:ay})}}),u&&QOe(o,a.toString())})};function tqe({type:t,value:e}){return t==="function"&&eqe.has(e.toLowerCase())}function rqe({type:t,value:e}){return t==="word"&&ZOe.test(e)}uy.ruleName=ay;uy.messages=G4;uy.meta=XOe;K4.exports=uy});var X4=m((lRt,J4)=>{"use strict";var nqe=Re(),iqe=qe(),sqe=vt(),oqe=U(),aqe=j(),uqe=Bt(),lqe=N(),ly="color-hex-length",Q4=aqe(ly,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),cqe={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},fqe=/^#[0-9A-Za-z]+/,dqe=new Set(["url"]),cy=(t,e,r)=>(n,i)=>{lqe(i,ly,{actual:t,possible:["short","long"]})&&n.walkDecls(o=>{let a=nqe(sqe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(mqe(l))return!1;if(!yqe(l)||t==="long"&&c.length!==4&&c.length!==5||t==="short"&&(c.length<6||!pqe(c)))return;let d=(t==="long"?gqe:hqe)(c);if(r.fix){l.value=d,u=!0;return}let p=iqe(o)+l.sourceIndex,h=p+l.value.length;oqe({message:Q4.expected(c,d),node:o,index:p,endIndex:h,result:i,ruleName:ly})}),u&&uqe(o,a.toString())})};function pqe(t){return t=t.toLowerCase(),t[1]===t[2]&&t[3]===t[4]&&t[5]===t[6]&&(t.length===7||t.length===9&&t[7]===t[8])}function hqe(t){let e="#";for(let r=1;r<t.length;r+=2)e+=t[r];return e}function gqe(t){let e="#";for(let r=1;r<t.length;r++)e+=t.charAt(r).repeat(2);return e}function mqe({type:t,value:e}){return t==="function"&&dqe.has(e.toLowerCase())}function yqe({type:t,value:e}){return t==="word"&&fqe.test(e)}cy.ruleName=ly;cy.messages=Q4;cy.meta=cqe;J4.exports=cy});var ku=m((cRt,Z4)=>{"use strict";var bqe=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),vqe=new Map([["animation",new Set(["animation-name","animation-duration","animation-timing-function","animation-delay","animation-iteration-count","animation-direction","animation-fill-mode","animation-play-state"])],["background",new Set(["background-image","background-size","background-position","background-repeat","background-origin","background-clip","background-attachment","background-color"])],["border",new Set(["border-top-width","border-bottom-width","border-left-width","border-right-width","border-top-style","border-bottom-style","border-left-style","border-right-style","border-top-color","border-bottom-color","border-left-color","border-right-color"])],["border-block-end",new Set(["border-block-end-width","border-block-end-style","border-block-end-color"])],["border-block-start",new Set(["border-block-start-width","border-block-start-style","border-block-start-color"])],["border-bottom",new Set(["border-bottom-width","border-bottom-style","border-bottom-color"])],["border-color",new Set(["border-top-color","border-bottom-color","border-left-color","border-right-color"])],["border-image",new Set(["border-image-source","border-image-slice","border-image-width","border-image-outset","border-image-repeat"])],["border-inline-end",new Set(["border-inline-end-width","border-inline-end-style","border-inline-end-color"])],["border-inline-start",new Set(["border-inline-start-width","border-inline-start-style","border-inline-start-color"])],["border-left",new Set(["border-left-width","border-left-style","border-left-color"])],["border-radius",new Set(["border-top-right-radius","border-top-left-radius","border-bottom-right-radius","border-bottom-left-radius"])],["border-right",new Set(["border-right-width","border-right-style","border-right-color"])],["border-style",new Set(["border-top-style","border-bottom-style","border-left-style","border-right-style"])],["border-top",new Set(["border-top-width","border-top-style","border-top-color"])],["border-width",new Set(["border-top-width","border-bottom-width","border-left-width","border-right-width"])],["column-rule",new Set(["column-rule-width","column-rule-style","column-rule-color"])],["columns",new Set(["column-width","column-count"])],["flex",new Set(["flex-grow","flex-shrink","flex-basis"])],["flex-flow",new Set(["flex-direction","flex-wrap"])],["font",new Set(["font-style","font-variant","font-weight","font-stretch","font-size","font-family","line-height"])],["grid",new Set(["grid-template-rows","grid-template-columns","grid-template-areas","grid-auto-rows","grid-auto-columns","grid-auto-flow","grid-column-gap","grid-row-gap"])],["grid-area",new Set(["grid-row-start","grid-column-start","grid-row-end","grid-column-end"])],["grid-column",new Set(["grid-column-start","grid-column-end"])],["grid-gap",new Set(["grid-row-gap","grid-column-gap"])],["grid-row",new Set(["grid-row-start","grid-row-end"])],["grid-template",new Set(["grid-template-columns","grid-template-rows","grid-template-areas"])],["list-style",new Set(["list-style-type","list-style-position","list-style-image"])],["margin",new Set(["margin-top","margin-bottom","margin-left","margin-right"])],["mask",new Set(["mask-image","mask-mode","mask-position","mask-size","mask-repeat","mask-origin","mask-clip","mask-composite"])],["outline",new Set(["outline-color","outline-style","outline-width"])],["padding",new Set(["padding-top","padding-bottom","padding-left","padding-right"])],["text-decoration",new Set(["text-decoration-color","text-decoration-style","text-decoration-line"])],["text-emphasis",new Set(["text-emphasis-style","text-emphasis-color"])],["transition",new Set(["transition-delay","transition-duration","transition-property","transition-timing-function"])]]),wqe=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),_qe=new Set(["transition","animation"]);Z4.exports={acceptCustomIdentsProperties:bqe,longhandSubPropertiesOfShorthandProperties:vqe,longhandTimeProperties:wqe,shorthandTimeProperties:_qe}});var f7=m(No=>{Object.defineProperty(No,"__esModule",{value:!0});var xqe={grad:.9,turn:360,rad:360/(2*Math.PI)},rs=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},ar=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},Ln=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},a7=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},e7=function(t){return{r:Ln(t.r,0,255),g:Ln(t.g,0,255),b:Ln(t.b,0,255),a:Ln(t.a)}},M2=function(t){return{r:ar(t.r),g:ar(t.g),b:ar(t.b),a:ar(t.a,3)}},Sqe=/^#([0-9a-f]{3,8})$/i,fy=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},u7=function(t){var e=t.r,r=t.g,n=t.b,i=t.a,s=Math.max(e,r,n),o=s-Math.min(e,r,n),a=o?s===e?(r-n)/o:s===r?2+(n-e)/o:4+(e-r)/o:0;return{h:60*(a<0?a+6:a),s:s?o/s*100:0,v:s/255*100,a:i}},l7=function(t){var e=t.h,r=t.s,n=t.v,i=t.a;e=e/360*6,r/=100,n/=100;var s=Math.floor(e),o=n*(1-r),a=n*(1-(e-s)*r),u=n*(1-(1-e+s)*r),l=s%6;return{r:255*[n,a,o,o,u,n][l],g:255*[u,n,n,a,o,o][l],b:255*[o,o,u,n,n,a][l],a:i}},t7=function(t){return{h:a7(t.h),s:Ln(t.s,0,100),l:Ln(t.l,0,100),a:Ln(t.a)}},r7=function(t){return{h:ar(t.h),s:ar(t.s),l:ar(t.l),a:ar(t.a,3)}},n7=function(t){return l7((r=(e=t).s,{h:e.h,s:(r*=((n=e.l)<50?n:100-n)/100)>0?2*r/(n+r)*100:0,v:n+r,a:e.a}));var e,r,n},Nc=function(t){return{h:(e=u7(t)).h,s:(i=(200-(r=e.s))*(n=e.v)/100)>0&&i<200?r*n/100/(i<=100?i:200-i)*100:0,l:i/2,a:e.a};var e,r,n,i},kqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Eqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Dqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,I2={string:[[function(t){var e=Sqe.exec(t);return e?(t=e[1]).length<=4?{r:parseInt(t[0]+t[0],16),g:parseInt(t[1]+t[1],16),b:parseInt(t[2]+t[2],16),a:t.length===4?ar(parseInt(t[3]+t[3],16)/255,2):1}:t.length===6||t.length===8?{r:parseInt(t.substr(0,2),16),g:parseInt(t.substr(2,2),16),b:parseInt(t.substr(4,2),16),a:t.length===8?ar(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Cqe.exec(t)||Dqe.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:e7({r:Number(e[1])/(e[2]?100/255:1),g:Number(e[3])/(e[4]?100/255:1),b:Number(e[5])/(e[6]?100/255:1),a:e[7]===void 0?1:Number(e[7])/(e[8]?100:1)}):null},"rgb"],[function(t){var e=kqe.exec(t)||Eqe.exec(t);if(!e)return null;var r,n,i=t7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(xqe[n]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return n7(i)},"hsl"]],object:[[function(t){var e=t.r,r=t.g,n=t.b,i=t.a,s=i===void 0?1:i;return rs(e)&&rs(r)&&rs(n)?e7({r:Number(e),g:Number(r),b:Number(n),a:Number(s)}):null},"rgb"],[function(t){var e=t.h,r=t.s,n=t.l,i=t.a,s=i===void 0?1:i;if(!rs(e)||!rs(r)||!rs(n))return null;var o=t7({h:Number(e),s:Number(r),l:Number(n),a:Number(s)});return n7(o)},"hsl"],[function(t){var e=t.h,r=t.s,n=t.v,i=t.a,s=i===void 0?1:i;if(!rs(e)||!rs(r)||!rs(n))return null;var o=function(a){return{h:a7(a.h),s:Ln(a.s,0,100),v:Ln(a.v,0,100),a:Ln(a.a)}}({h:Number(e),s:Number(r),v:Number(n),a:Number(s)});return l7(o)},"hsv"]]},i7=function(t,e){for(var r=0;r<e.length;r++){var n=e[r][0](t);if(n)return[n,e[r][1]]}return[null,void 0]},c7=function(t){return typeof t=="string"?i7(t.trim(),I2.string):typeof t=="object"&&t!==null?i7(t,I2.object):[null,void 0]},F2=function(t,e){var r=Nc(t);return{h:r.h,s:Ln(r.s+100*e,0,100),l:r.l,a:r.a}},L2=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},s7=function(t,e){var r=Nc(t);return{h:r.h,s:r.s,l:Ln(r.l+100*e,0,100),a:r.a}},jc=function(){function t(e){this.parsed=c7(e)[0],this.rgba=this.parsed||{r:0,g:0,b:0,a:1}}return t.prototype.isValid=function(){return this.parsed!==null},t.prototype.brightness=function(){return ar(L2(this.rgba),2)},t.prototype.isDark=function(){return L2(this.rgba)<.5},t.prototype.isLight=function(){return L2(this.rgba)>=.5},t.prototype.toHex=function(){return e=M2(this.rgba),r=e.r,n=e.g,i=e.b,o=(s=e.a)<1?fy(ar(255*s)):"","#"+fy(r)+fy(n)+fy(i)+o;var e,r,n,i,s,o},t.prototype.toRgb=function(){return M2(this.rgba)},t.prototype.toRgbString=function(){return e=M2(this.rgba),r=e.r,n=e.g,i=e.b,(s=e.a)<1?"rgba("+r+", "+n+", "+i+", "+s+")":"rgb("+r+", "+n+", "+i+")";var e,r,n,i,s},t.prototype.toHsl=function(){return r7(Nc(this.rgba))},t.prototype.toHslString=function(){return e=r7(Nc(this.rgba)),r=e.h,n=e.s,i=e.l,(s=e.a)<1?"hsla("+r+", "+n+"%, "+i+"%, "+s+")":"hsl("+r+", "+n+"%, "+i+"%)";var e,r,n,i,s},t.prototype.toHsv=function(){return e=u7(this.rgba),{h:ar(e.h),s:ar(e.s),v:ar(e.v),a:ar(e.a,3)};var e},t.prototype.invert=function(){return Ri({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},t.prototype.saturate=function(e){return e===void 0&&(e=.1),Ri(F2(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ri(F2(this.rgba,-e))},t.prototype.grayscale=function(){return Ri(F2(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ri(s7(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ri(s7(this.rgba,-e))},t.prototype.rotate=function(e){return e===void 0&&(e=15),this.hue(this.hue()+e)},t.prototype.alpha=function(e){return typeof e=="number"?Ri({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):ar(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=Nc(this.rgba);return typeof e=="number"?Ri({h:e,s:r.s,l:r.l,a:r.a}):ar(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ri(e).toHex()},t}(),Ri=function(t){return t instanceof jc?t:new jc(t)},o7=[];No.Colord=jc,No.colord=Ri,No.extend=function(t){t.forEach(function(e){o7.indexOf(e)<0&&(e(jc,I2),o7.push(e))})},No.getFormat=function(t){return c7(t)[1]},No.random=function(){return new jc({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}});var p7=m((dRt,d7)=>{d7.exports=function(t,e){var r={white:"#ffffff",bisque:"#ffe4c4",blue:"#0000ff",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",antiquewhite:"#faebd7",aqua:"#00ffff",azure:"#f0ffff",whitesmoke:"#f5f5f5",papayawhip:"#ffefd5",plum:"#dda0dd",blanchedalmond:"#ffebcd",black:"#000000",gold:"#ffd700",goldenrod:"#daa520",gainsboro:"#dcdcdc",cornsilk:"#fff8dc",cornflowerblue:"#6495ed",burlywood:"#deb887",aquamarine:"#7fffd4",beige:"#f5f5dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkkhaki:"#bdb76b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",peachpuff:"#ffdab9",darkmagenta:"#8b008b",darkred:"#8b0000",darkorchid:"#9932cc",darkorange:"#ff8c00",darkslateblue:"#483d8b",gray:"#808080",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",deeppink:"#ff1493",deepskyblue:"#00bfff",wheat:"#f5deb3",firebrick:"#b22222",floralwhite:"#fffaf0",ghostwhite:"#f8f8ff",darkviolet:"#9400d3",magenta:"#ff00ff",green:"#008000",dodgerblue:"#1e90ff",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",blueviolet:"#8a2be2",forestgreen:"#228b22",lawngreen:"#7cfc00",indianred:"#cd5c5c",indigo:"#4b0082",fuchsia:"#ff00ff",brown:"#a52a2a",maroon:"#800000",mediumblue:"#0000cd",lightcoral:"#f08080",darkturquoise:"#00ced1",lightcyan:"#e0ffff",ivory:"#fffff0",lightyellow:"#ffffe0",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",linen:"#faf0e6",mediumaquamarine:"#66cdaa",lemonchiffon:"#fffacd",lime:"#00ff00",khaki:"#f0e68c",mediumseagreen:"#3cb371",limegreen:"#32cd32",mediumspringgreen:"#00fa9a",lightskyblue:"#87cefa",lightblue:"#add8e6",midnightblue:"#191970",lightpink:"#ffb6c1",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",mintcream:"#f5fffa",lightslategray:"#778899",lightslategrey:"#778899",navajowhite:"#ffdead",navy:"#000080",mediumvioletred:"#c71585",powderblue:"#b0e0e6",palegoldenrod:"#eee8aa",oldlace:"#fdf5e6",paleturquoise:"#afeeee",mediumturquoise:"#48d1cc",mediumorchid:"#ba55d3",rebeccapurple:"#663399",lightsteelblue:"#b0c4de",mediumslateblue:"#7b68ee",thistle:"#d8bfd8",tan:"#d2b48c",orchid:"#da70d6",mediumpurple:"#9370db",purple:"#800080",pink:"#ffc0cb",skyblue:"#87ceeb",springgreen:"#00ff7f",palegreen:"#98fb98",red:"#ff0000",yellow:"#ffff00",slateblue:"#6a5acd",lavenderblush:"#fff0f5",peru:"#cd853f",palevioletred:"#db7093",violet:"#ee82ee",teal:"#008080",slategray:"#708090",slategrey:"#708090",aliceblue:"#f0f8ff",darkseagreen:"#8fbc8f",darkolivegreen:"#556b2f",greenyellow:"#adff2f",seagreen:"#2e8b57",seashell:"#fff5ee",tomato:"#ff6347",silver:"#c0c0c0",sienna:"#a0522d",lavender:"#e6e6fa",lightgreen:"#90ee90",orange:"#ffa500",orangered:"#ff4500",steelblue:"#4682b4",royalblue:"#4169e1",turquoise:"#40e0d0",yellowgreen:"#9acd32",salmon:"#fa8072",saddlebrown:"#8b4513",sandybrown:"#f4a460",rosybrown:"#bc8f8f",darksalmon:"#e9967a",lightgoldenrodyellow:"#fafad2",snow:"#fffafa",lightgrey:"#d3d3d3",lightgray:"#d3d3d3",dimgray:"#696969",dimgrey:"#696969",olivedrab:"#6b8e23",olive:"#808000"},n={};for(var i in r)n[r[i]]=i;var s={};t.prototype.toName=function(o){if(!(this.rgba.a||this.rgba.r||this.rgba.g||this.rgba.b))return"transparent";var a,u,l=n[this.toHex()];if(l)return l;if(o?.closest){var c=this.toRgb(),f=1/0,d="black";if(!s.length)for(var p in r)s[p]=new t(r[p]).toRgb();for(var h in r){var y=(a=c,u=s[h],Math.pow(a.r-u.r,2)+Math.pow(a.g-u.g,2)+Math.pow(a.b-u.b,2));y<f&&(f=y,d=h)}return d}},e.string.push([function(o){var a=o.toLowerCase(),u=a==="transparent"?"#0000":r[a];return u?new t(u).toRgb():null},"name"])}});var v7=m((pRt,b7)=>{var Oqe={grad:.9,turn:360,rad:360/(2*Math.PI)},N2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},dy=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},j2=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},m7=function(t){return{h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),w:j2(t.w,0,100),b:j2(t.b,0,100),a:j2(t.a)};var e},h7=function(t){return{h:dy(t.h),w:dy(t.w),b:dy(t.b),a:dy(t.a,3)}},g7=function(t){return{h:function(e){var r=e.r,n=e.g,i=e.b,s=e.a,o=Math.max(r,n,i),a=o-Math.min(r,n,i),u=a?o===r?(n-i)/a:o===n?2+(i-r)/a:4+(r-n)/a:0;return{h:60*(u<0?u+6:u),s:o?a/o*100:0,v:o/255*100,a:s}}(t).h,w:Math.min(t.r,t.g,t.b)/255*100,b:100-Math.max(t.r,t.g,t.b)/255*100,a:t.a}},y7=function(t){return function(e){var r=e.h,n=e.s,i=e.v,s=e.a;r=r/360*6,n/=100,i/=100;var o=Math.floor(r),a=i*(1-n),u=i*(1-(r-o)*n),l=i*(1-(1-r+o)*n),c=o%6;return{r:255*[i,u,a,a,l,i][c],g:255*[l,i,i,u,a,a][c],b:255*[a,a,l,i,i,u][c],a:s}}({h:t.h,s:t.b===100?0:100-t.w/(100-t.b)*100,v:100-t.b,a:t.a})},qqe=function(t){var e=t.h,r=t.w,n=t.b,i=t.a,s=i===void 0?1:i;if(!N2(e)||!N2(r)||!N2(n))return null;var o=m7({h:Number(e),w:Number(r),b:Number(n),a:Number(s)});return y7(o)},Rqe=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Aqe=function(t){var e=Rqe.exec(t);if(!e)return null;var r,n,i=m7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(Oqe[n]||1)),w:Number(e[3]),b:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return y7(i)};b7.exports=function(t,e){t.prototype.toHwb=function(){return h7(g7(this.rgba))},t.prototype.toHwbString=function(){return r=h7(g7(this.rgba)),n=r.h,i=r.w,s=r.b,(o=r.a)<1?"hwb("+n+" "+i+"% "+s+"% / "+o+")":"hwb("+n+" "+i+"% "+s+"%)";var r,n,i,s,o},e.string.push([Aqe,"hwb"]),e.object.push([qqe,"hwb"])}});var _7=m((hRt,w7)=>{var $2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},$c=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ni=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},B2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},W2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t)},z2=96.422,U2=100,H2=82.521,Pqe=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:W2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:W2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:W2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:ni(r.r,0,255),g:ni(r.g,0,255),b:ni(r.b,0,255),a:ni(r.a)}},Tqe=function(t){var e=B2(t.r),r=B2(t.g),n=B2(t.b);return function(i){return{x:ni(i.x,0,z2),y:ni(i.y,0,U2),z:ni(i.z,0,H2),a:ni(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},Bc=216/24389,Eu=24389/27,Mqe=function(t){var e=t.l,r=t.a,n=t.b,i=t.alpha,s=i===void 0?1:i;if(!$2(e)||!$2(r)||!$2(n))return null;var o=function(a){return{l:ni(a.l,0,400),a:a.a,b:a.b,alpha:ni(a.alpha)}}({l:Number(e),a:Number(r),b:Number(n),alpha:Number(s)});return Fqe(o)},Fqe=function(t){var e=(t.l+16)/116,r=t.a/500+e,n=e-t.b/200;return Pqe({x:(Math.pow(r,3)>Bc?Math.pow(r,3):(116*r-16)/Eu)*z2,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/Eu)*U2,z:(Math.pow(n,3)>Bc?Math.pow(n,3):(116*n-16)/Eu)*H2,a:t.alpha})};w7.exports=function(t,e){t.prototype.toLab=function(){return n=Tqe(this.rgba),s=n.y/U2,o=n.z/H2,i=(i=n.x/z2)>Bc?Math.cbrt(i):(Eu*i+16)/116,r={l:116*(s=s>Bc?Math.cbrt(s):(Eu*s+16)/116)-16,a:500*(i-s),b:200*(s-(o=o>Bc?Math.cbrt(o):(Eu*o+16)/116)),alpha:n.a},{l:$c(r.l,2),a:$c(r.a,2),b:$c(r.b,2),alpha:$c(r.alpha,3)};var r,n,i,s,o},t.prototype.delta=function(r){r===void 0&&(r="#FFF");var n=r instanceof t?r:new t(r),i=function(s,o){var a=s.l,u=s.a,l=s.b,c=o.l,f=o.a,d=o.b,p=180/Math.PI,h=Math.PI/180,y=Math.pow(Math.pow(u,2)+Math.pow(l,2),.5),b=Math.pow(Math.pow(f,2)+Math.pow(d,2),.5),g=(a+c)/2,v=Math.pow((y+b)/2,7),w=.5*(1-Math.pow(v/(v+Math.pow(25,7)),.5)),_=u*(1+w),x=f*(1+w),C=Math.pow(Math.pow(_,2)+Math.pow(l,2),.5),M=Math.pow(Math.pow(x,2)+Math.pow(d,2),.5),P=(C+M)/2,R=_===0&&l===0?0:Math.atan2(l,_)*p,z=x===0&&d===0?0:Math.atan2(d,x)*p;R<0&&(R+=360),z<0&&(z+=360);var $=z-R,ee=Math.abs(z-R);ee>180&&z<=R?$+=360:ee>180&&z>R&&($-=360);var G=R+z;ee<=180?G/=2:G=(R+z<360?G+360:G-360)/2;var ae=1-.17*Math.cos(h*(G-30))+.24*Math.cos(2*h*G)+.32*Math.cos(h*(3*G+6))-.2*Math.cos(h*(4*G-63)),F=c-a,T=M-C,ue=2*Math.sin(h*$/2)*Math.pow(C*M,.5),re=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),fe=1+.045*P,oe=1+.015*P*ae,ie=30*Math.exp(-1*Math.pow((G-275)/25,2)),pe=-2*Math.pow(v/(v+Math.pow(25,7)),.5)*Math.sin(2*h*ie);return Math.pow(Math.pow(F/1/re,2)+Math.pow(T/1/fe,2)+Math.pow(ue/1/oe,2)+pe*T*ue/(1*fe*1*oe),.5)}(this.toLab(),n.toLab())/100;return ni($c(i,3))},e.object.push([Mqe,"lab"])}});var D7=m((gRt,C7)=>{var Lqe={grad:.9,turn:360,rad:360/(2*Math.PI)},V2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},Cu=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ns=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},G2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},K2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t)},Y2=96.422,Q2=100,J2=82.521,Iqe=function(t){var e,r,n={x:.9555766*(e=t).x+-.0230393*e.y+.0631636*e.z,y:-.0282895*e.x+1.0099416*e.y+.0210077*e.z,z:.0122982*e.x+-.020483*e.y+1.3299098*e.z};return r={r:K2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:K2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:K2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:ns(r.r,0,255),g:ns(r.g,0,255),b:ns(r.b,0,255),a:ns(r.a)}},Nqe=function(t){var e=G2(t.r),r=G2(t.g),n=G2(t.b);return function(i){return{x:ns(i.x,0,Y2),y:ns(i.y,0,Q2),z:ns(i.z,0,J2),a:ns(i.a)}}(function(i){return{x:1.0478112*i.x+.0228866*i.y+-.050127*i.z,y:.0295424*i.x+.9904844*i.y+-.0170491*i.z,z:-.0092345*i.x+.0150436*i.y+.7521316*i.z,a:i.a}}({x:100*(.4124564*e+.3575761*r+.1804375*n),y:100*(.2126729*e+.7151522*r+.072175*n),z:100*(.0193339*e+.119192*r+.9503041*n),a:t.a}))},Wc=216/24389,Du=24389/27,k7=function(t){return{l:ns(t.l,0,100),c:t.c,h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),a:t.a};var e},x7=function(t){return{l:Cu(t.l,2),c:Cu(t.c,2),h:Cu(t.h,2),a:Cu(t.a,3)}},jqe=function(t){var e=t.l,r=t.c,n=t.h,i=t.a,s=i===void 0?1:i;if(!V2(e)||!V2(r)||!V2(n))return null;var o=k7({l:Number(e),c:Number(r),h:Number(n),a:Number(s)});return E7(o)},S7=function(t){var e=function(s){var o=Nqe(s),a=o.x/Y2,u=o.y/Q2,l=o.z/J2;return a=a>Wc?Math.cbrt(a):(Du*a+16)/116,{l:116*(u=u>Wc?Math.cbrt(u):(Du*u+16)/116)-16,a:500*(a-u),b:200*(u-(l=l>Wc?Math.cbrt(l):(Du*l+16)/116)),alpha:o.a}}(t),r=Cu(e.a,3),n=Cu(e.b,3),i=Math.atan2(n,r)/Math.PI*180;return{l:e.l,c:Math.sqrt(r*r+n*n),h:i<0?i+360:i,a:e.alpha}},E7=function(t){return e={l:t.l,a:t.c*Math.cos(t.h*Math.PI/180),b:t.c*Math.sin(t.h*Math.PI/180),alpha:t.a},n=e.a/500+(r=(e.l+16)/116),i=r-e.b/200,Iqe({x:(Math.pow(n,3)>Wc?Math.pow(n,3):(116*n-16)/Du)*Y2,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/Du)*Q2,z:(Math.pow(i,3)>Wc?Math.pow(i,3):(116*i-16)/Du)*J2,a:e.alpha});var e,r,n,i},$qe=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Bqe=function(t){var e=$qe.exec(t);if(!e)return null;var r,n,i=k7({l:Number(e[1]),c:Number(e[2]),h:(r=e[3],n=e[4],n===void 0&&(n="deg"),Number(r)*(Lqe[n]||1)),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return E7(i)};C7.exports=function(t,e){t.prototype.toLch=function(){return x7(S7(this.rgba))},t.prototype.toLchString=function(){return r=x7(S7(this.rgba)),n=r.l,i=r.c,s=r.h,(o=r.a)<1?"lch("+n+"% "+i+" "+s+" / "+o+")":"lch("+n+"% "+i+" "+s+")";var r,n,i,s,o},e.string.push([Bqe,"lch"]),e.object.push([jqe,"lch"])}});var R7=m((mRt,q7)=>{var{colord:X2,extend:Wqe}=f7(),O7=Re(),zqe=p7(),Uqe=v7(),Hqe=_7(),Vqe=D7();Wqe([zqe,Uqe,Hqe,Vqe,(t,e)=>{e.string.push([Gqe,"hwb-with-comma"])},(t,e)=>{e.string.push([Kqe,"gray"])}]);q7.exports={colord:X2};function Gqe(t){if(t=t.toLowerCase(),!t.startsWith("hwb(")||!t.endsWith(")")||t.includes("/"))return null;let[e,r="",n="",i,...s]=t.slice(4,-1).split(",");if(!e||!e.trim()||!r.trim()||!n.trim()||s.length>0)return null;let o=X2(`hwb(${e} ${r} ${n}${i?` / ${i}`:""})`);return o.isValid()?o.rgba:null}function Kqe(t){if(t=t.toLowerCase(),!t.startsWith("gray(")||!t.endsWith(")"))return null;let[e,r,...n]=t.slice(5,-1).split(",");if(!e||n.length>0)return null;let i=O7.unit(e.trim());if(!i||!["","%"].includes(i.unit))return null;let s={l:Number(i.number),a:0,b:0};if(r){let o=O7.unit(r.trim());if(!o||!["","%"].includes(o.unit))return null;s={...s,alpha:Number(o.number)/(o.unit?100:1)}}return X2(s).rgba}});var L7=m((yRt,F7)=>{"use strict";var A7=qe(),Yqe=qi(),Qqe=pn(),P7=_e(),{acceptCustomIdentsProperties:Jqe}=ku(),Xqe=U(),Zqe=j(),e2e=N(),T7=Re(),{isRegExp:t2e,isString:r2e}=te(),{colord:M7}=R7(),py="color-named",Z2=Zqe(py,{expected:(t,e)=>`Expected "${e}" to be "${t}"`,rejected:t=>`Unexpected named color "${t}"`}),n2e={url:"https://stylelint.io/user-guide/rules/color-named"},i2e=new Set(["word","function"]),hy=(t,e)=>(r,n)=>{if(!e2e(n,py,{actual:t,possible:["never","always-where-possible"]},{actual:e,possible:{ignoreProperties:[r2e,t2e],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{Jqe.has(o.prop)||P7(e,"ignoreProperties",o.prop)||T7(o.value).walk(a=>{let u=a.value,l=a.type,c=a.sourceIndex;if(P7(e,"ignore","inside-function")&&l==="function"||!Yqe(a))return!1;if(!Qqe(u)||!i2e.has(l))return;if(t==="never"&&l==="word"&&/^[a-z]+$/iu.test(u)&&u.toLowerCase()!=="transparent"&&M7(u).isValid()){s(Z2.rejected(u),o,A7(o)+c,u.length);return}if(t!=="always-where-possible")return;let f=null,d=null;if(l==="function")f=T7.stringify(a),d=f.replace(/\s*([,/()])\s*/g,"$1").replace(/\s{2,}/g," ");else if(l==="word"&&u.startsWith("#"))f=d=u;else return;let p=M7(d);if(!p.isValid())return;let h=p.toName();h&&h.toLowerCase()!=="transparent"&&s(Z2.expected(h,d),o,A7(o)+c,f.length)})});function s(o,a,u,l){Xqe({result:n,ruleName:py,message:o,node:a,index:u,endIndex:u+l})}};hy.ruleName=py;hy.messages=Z2;hy.meta=n2e;F7.exports=hy});var j7=m((bRt,N7)=>{"use strict";var s2e=Re(),o2e=qe(),a2e=vt(),u2e=U(),l2e=j(),c2e=N(),gy="color-no-hex",I7=l2e(gy,{rejected:t=>`Unexpected hex color "${t}"`}),f2e={url:"https://stylelint.io/user-guide/rules/color-no-hex"},d2e=/^#[0-9A-Za-z]+/,p2e=new Set(["url"]),my=t=>(e,r)=>{c2e(r,gy,{actual:t})&&e.walkDecls(i=>{s2e(a2e(i)).walk(o=>{if(h2e(o))return!1;if(!g2e(o))return;let a=o2e(i)+o.sourceIndex,u=a+o.value.length;u2e({message:I7.rejected,messageArgs:[o.value],node:i,index:a,endIndex:u,result:r,ruleName:gy})})})};function h2e({type:t,value:e}){return t==="function"&&p2e.has(e.toLowerCase())}function g2e({type:t,value:e}){return t==="word"&&d2e.test(e)}my.ruleName=gy;my.messages=I7;my.meta=f2e;N7.exports=my});var B7=m((vRt,$7)=>{"use strict";$7.exports=function(e){return!e.includes("[")}});var z7=m((wRt,W7)=>{"use strict";W7.exports=function(e){return/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e)}});var V7=m((_Rt,H7)=>{"use strict";var m2e=qe(),y2e=B7(),b2e=z7(),v2e=U(),w2e=j(),_2e=N(),x2e=Re(),yy="color-no-invalid-hex",U7=w2e(yy,{rejected:t=>`Unexpected invalid hex color "${t}"`}),S2e={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},by=t=>(e,r)=>{_2e(r,yy,{actual:t})&&e.walkDecls(i=>{y2e(i.value)&&x2e(i.value).walk(({value:s,type:o,sourceIndex:a})=>{if(o==="function"&&s.endsWith("url"))return!1;if(o!=="word")return;let u=/^#[0-9A-Za-z]+/.exec(s);if(!u)return;let l=u[0];if(!l||b2e(l))return;let c=m2e(i)+a,f=c+l.length;v2e({message:U7.rejected(l),node:i,index:c,endIndex:f,result:r,ruleName:yy})})})};by.ruleName=yy;by.messages=U7;by.meta=S2e;H7.exports=by});var Ou=m((xRt,G7)=>{"use strict";G7.exports=function(e){return!("inline"in e||"inline"in e.raws)}});var Y7=m((SRt,K7)=>{"use strict";var k2e=bu(),E2e=Io(),C2e=Tc(),D2e=vu(),O2e=Mc(),q2e=mm(),R2e=Ou(),vy=_e(),A2e=wu(),P2e=U(),T2e=j(),M2e=N(),{isRegExp:F2e,isString:L2e}=te(),wy="comment-empty-line-before",eR=T2e(wy,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),I2e={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},N2e="stylelint-",_y=(t,e,r)=>(n,i)=>{M2e(i,wy,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[L2e,F2e]},optional:!0})&&n.walkComments(o=>{if(O2e(o)||o.text.startsWith(N2e)&&vy(e,"ignore","stylelint-commands")||vy(e,"ignore","after-comment")&&C2e(o)||vy(e,"ignoreComments",o.text)||q2e(o)||!R2e(o))return;let a=(()=>vy(e,"except","first-nested")&&D2e(o)?!1:t==="always")(),u=o.raws.before||"",l=E2e(u);if(a===l)return;if(r.fix){if(typeof r.newline!="string")return;a?k2e(o,r.newline):A2e(o,r.newline);return}let c=a?eR.expected:eR.rejected;P2e({message:c,node:o,result:i,ruleName:wy})})};_y.ruleName=wy;_y.messages=eR;_y.meta=I2e;K7.exports=_y});var X7=m((kRt,J7)=>{"use strict";var j2e=Ou(),$2e=U(),B2e=j(),W2e=N(),xy="comment-no-empty",Q7=B2e(xy,{rejected:"Unexpected empty comment"}),z2e={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},Sy=t=>(e,r)=>{W2e(r,xy,{actual:t})&&e.walkComments(i=>{j2e(i)&&(i.text&&i.text.length!==0||$2e({message:Q7.rejected,node:i,result:r,ruleName:xy}))})};Sy.ruleName=xy;Sy.messages=Q7;Sy.meta=z2e;J7.exports=Sy});var rW=m((ERt,tW)=>{"use strict";var U2e=U(),H2e=j(),V2e=N(),{isRegExp:G2e,isString:Z7}=te(),ky="comment-pattern",eW=H2e(ky,{expected:t=>`Expected comment to match pattern "${t}"`}),K2e={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Ey=t=>(e,r)=>{if(!V2e(r,ky,{actual:t,possible:[G2e,Z7]}))return;let i=Z7(t)?new RegExp(t):t;e.walkComments(s=>{let o=s.text;i.test(o)||U2e({message:eW.expected(t),node:s,result:r,ruleName:ky})})};Ey.ruleName=ky;Ey.messages=eW;Ey.meta=K2e;tW.exports=Ey});var sW=m((CRt,iW)=>{"use strict";var Y2e=Ou(),nW=Lc(),Q2e=U(),J2e=j(),X2e=N(),Cy="comment-whitespace-inside",zc=J2e(Cy,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),Z2e={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0};function eRe(t){t.text.startsWith("*")?t.text=t.text.replace(/^(\*+)/,"$1 "):t.raws.left=" "}function tRe(t){t.text[t.text.length-1]==="*"?t.text=t.text.replace(/(\*+)$/," $1"):t.raws.right=" "}var Dy=(t,e,r)=>(n,i)=>{X2e(i,Cy,{actual:t,possible:["always","never"]})&&n.walkComments(o=>{if(!Y2e(o))return;let a=o.toString(),u=a.slice(0,4);if(/^\/\*[#!]\s/.test(u))return;let l=a.match(/(^\/\*+)(\s)?/);if(l==null||l[1]==null)throw new Error(`Invalid comment: "${a}"`);let c=a.match(/(\s)?(\*+\/)$/);if(c==null||c[2]==null)throw new Error(`Invalid comment: "${a}"`);let f=l[1],d=l[2]||"",p=c[1]||"",h=c[2];t==="never"&&d!==""&&y(zc.rejectedOpening,f.length),t==="always"&&!nW(d)&&y(zc.expectedOpening,f.length),t==="never"&&p!==""&&y(zc.rejectedClosing,o.toString().length-h.length-1),t==="always"&&!nW(p)&&y(zc.expectedClosing,o.toString().length-h.length-1);function y(b,g){if(r.fix){t==="never"?(o.raws.left="",o.raws.right="",o.text=o.text.replace(/^(\*+)(\s+)?/,"$1").replace(/(\s+)?(\*+)$/,"$2")):(d||eRe(o),p||tRe(o));return}Q2e({message:b,index:g,result:i,ruleName:Cy,node:o})}})};Dy.ruleName=Cy;Dy.messages=zc;Dy.meta=Z2e;iW.exports=Dy});var uW=m((DRt,aW)=>{"use strict";var{isString:rRe}=te();aW.exports=function(e,r){if(!Array.isArray(r))return oW(e,r);for(let n of r){let i=oW(e,n);if(i)return i}return!1};function oW(t,e){return!e||!rRe(e)||e.startsWith("/")&&e.endsWith("/")?!1:t.includes(e)?{match:t,pattern:e,substring:e}:!1}});var fW=m((ORt,cW)=>{"use strict";var nRe=uW(),iRe=qt(),sRe=U(),oRe=j(),aRe=N(),{isRegExp:uRe,isString:lRe}=te(),Oy="comment-word-disallowed-list",lW=oRe(Oy,{rejected:t=>`Unexpected word matching pattern "${t}"`}),cRe={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},Uc=t=>(e,r)=>{aRe(r,Oy,{actual:t,possible:[lRe,uRe]})&&e.walkComments(i=>{let s=i.text;if(i.toString().slice(0,4)==="/*# ")return;let u=iRe(s,t)||nRe(s,t);u&&sRe({message:lW.rejected(u.pattern),node:i,word:u.substring,result:r,ruleName:Oy})})};Uc.primaryOptionArray=!0;Uc.ruleName=Oy;Uc.messages=lW;Uc.meta=cRe;cW.exports=Uc});var Ze=m((qRt,dW)=>{"use strict";dW.exports=function(e){let r=1+e.name.length;return e.raws.afterName&&(r+=e.raws.afterName.length),r}});var mW=m((RRt,gW)=>{"use strict";var fRe=Ze(),dRe=U(),pRe=j(),hRe=N(),{isRegExp:gRe,isString:pW}=te(),qy="custom-media-pattern",hW=pRe(qy,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),mRe={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},Ry=t=>(e,r)=>{if(!hRe(r,qy,{actual:t,possible:[gRe,pW]}))return;let i=pW(t)?new RegExp(t):t;e.walkAtRules(s=>{if(s.name.toLowerCase()!=="custom-media")return;let[o,a]=s.params.match(/^--(\S+)\b/)||[];if(o===void 0||a===void 0)throw new Error(`Unexpected at-rule params: "${s.params}"`);if(i.test(a))return;let u=fRe(s);dRe({message:hW.expected,messageArgs:[o,t],node:s,index:u,endIndex:u+o.length,result:r,ruleName:qy})})};Ry.ruleName=qy;Ry.messages=hW;Ry.meta=mRe;gW.exports=Ry});var hn=m((ARt,yW)=>{"use strict";yW.exports=function(e){return e.startsWith("--")}});var tR=m((PRt,bW)=>{"use strict";bW.exports=function(e){return!!(e.startsWith("$")||e.includes(".$"))}});var ii=m((TRt,wW)=>{"use strict";var yRe=tR(),{isRoot:bRe,isRule:vW}=Ye();function vRe(t){return t&&(t==="css"||t==="custom-template"||t==="template-literal")}wW.exports=function(e){let r=e.prop,n=e.parent;return!(n&&bRe(n)&&n.source&&!vRe(n.source.lang)||yRe(r)||r[0]==="@"&&r[1]!=="{"||n&&n.type==="atrule"&&n.raws.afterName===":"||n&&vW(n)&&n.selector&&n.selector.startsWith("#")&&n.selector.endsWith("()")||n&&vW(n)&&n.selector&&n.selector[n.selector.length-1]===":"&&n.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}});var EW=m((MRt,kW)=>{"use strict";var wRe=bu(),_Re=xr(),xRe=Ls(),SRe=Io(),_W=Tc(),SW=hn(),xW=vu(),kRe=Di(),ERe=ii(),qu=_e(),CRe=wu(),DRe=U(),ORe=j(),qRe=N(),{isAtRule:RRe,isDeclaration:ARe,isRule:PRe}=Ye(),Ay="custom-property-empty-line-before",rR=ORe(Ay,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),TRe={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},Py=(t,e,r)=>(n,i)=>{qRe(i,Ay,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested","after-comment","after-custom-property"],ignore:["after-comment","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.parent;if(!ERe(o)||!SW(a)||qu(e,"ignore","after-comment")&&_W(o)||qu(e,"ignore","first-nested")&&xW(o)||qu(e,"ignore","inside-single-line-block")&&u!=null&&(RRe(u)||PRe(u))&&kRe(_Re(u)))return;let l=t==="always";(qu(e,"except","first-nested")&&xW(o)||qu(e,"except","after-comment")&&_W(o)||qu(e,"except","after-custom-property")&&MRe(o))&&(l=!l);let c=SRe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?wRe(o,r.newline):CRe(o,r.newline);return}let f=l?rR.expected:rR.rejected;DRe({message:f,node:o,result:i,ruleName:Ay})})};function MRe(t){let e=xRe(t);return e!=null&&ARe(e)&&SW(e.prop)}Py.ruleName=Ay;Py.messages=rR;Py.meta=TRe;kW.exports=Py});var OW=m((FRt,DW)=>{"use strict";var FRe=Re(),LRe=qe(),IRe=hn(),NRe=U(),jRe=j(),$Re=N(),Ty="custom-property-no-missing-var-function",CW=jRe(Ty,{rejected:t=>`Unexpected missing var function for "${t}"`}),BRe={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},My=t=>(e,r)=>{if(!$Re(r,Ty,{actual:t}))return;let i=new Set;e.walkAtRules(/^property$/i,s=>{i.add(s.params)}),e.walkDecls(({prop:s})=>{IRe(s)&&i.add(s)}),e.walkDecls(s=>{let{value:o}=s;FRe(o).walk(u=>{if(zRe(u))return!1;if(!WRe(u)||!i.has(u.value))return;let l=LRe(s)+u.sourceIndex,c=l+u.value.length;return NRe({message:CW.rejected(u.value),node:s,index:l,endIndex:c,result:r,ruleName:Ty}),!1})})};function WRe({type:t,value:e}){return t==="word"&&e.startsWith("--")}function zRe({type:t,value:e}){return t==="function"&&e==="var"}My.ruleName=Ty;My.messages=CW;My.meta=BRe;DW.exports=My});var si=m((LRt,qW)=>{"use strict";var URe=qc(),HRe=tR();qW.exports=function(e){return!(HRe(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||URe(e))}});var TW=m((IRt,PW)=>{"use strict";var VRe=Re(),GRe=hn(),KRe=U(),YRe=j(),QRe=N(),JRe=qe(),{isRegExp:XRe,isString:RW}=te(),{isValueFunction:ZRe}=Ye(),eAe=si(),Fy="custom-property-pattern",AW=YRe(Fy,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),tAe={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},Ly=t=>(e,r)=>{if(!QRe(r,Fy,{actual:t,possible:[XRe,RW]}))return;let i=RW(t)?new RegExp(t):t;function s(a){return!eAe(a)||!GRe(a)||i.test(a.slice(2))}e.walkDecls(a=>{let{prop:u,value:l}=a;VRe(l).walk(f=>{if(!ZRe(f)||f.value.toLowerCase()!=="var")return;let{nodes:d}=f,p=d[0];!p||s(p.value)||o(JRe(a)+p.sourceIndex,p.value,a)}),!s(u)&&o(0,u,a)});function o(a,u,l){KRe({result:r,ruleName:Fy,message:AW.expected,messageArgs:[u,t],node:l,index:a,endIndex:a+u.length})}};Ly.ruleName=Fy;Ly.messages=AW;Ly.meta=tAe;PW.exports=Ly});var Fr=m((NRt,MW)=>{var Hc="skip",Ru="only";MW.exports=function(t,e){var r=t.source,n=t.target,i=t.comments?t.comments===Hc:!0,s=t.strings?t.strings===Hc:!0,o=t.functionNames?t.functionNames===Hc:!0,a=t.functionArguments===Hc,u=t.parentheticals===Hc,l=!1;Object.keys(t).forEach(function(T){if(t[T]===Ru)if(!l)l=!0;else throw new Error('Only one syntax feature option can be the "only" one to check')});var c=t.comments===Ru,f=t.strings===Ru,d=t.functionNames===Ru,p=t.functionArguments===Ru,h=t.parentheticals===Ru,y=!1,b=!1,g=!1,v=!1,w=!1,_=0,x=0,C,M=Array.isArray(n),P=function(){return M?function(T){for(var ue=0,re=n.length;ue<re;ue++){var fe=R(n[ue],T);if(fe)return fe}return!1}:R.bind(null,n)}();function R(T,ue){var re=T.length;return re===1&&r[ue]!==T||r.substr(ue,re)!==T?!1:{insideParens:v,insideFunctionArguments:w,insideComment:b,insideString:y,startIndex:ue,endIndex:ue+re,target:T}}for(var z=0,$=r.length;z<$;z++){var ee=r[z];if(!y&&!b&&ee==="/"&&r[z-1]!=="\\"){if(r[z+1]==="*"){b=!0;continue}if(r[z+1]==="/"){b=!0,g=!0;continue}}if(b){if(!g&&ee==="*"&&r[z-1]!=="\\"&&r[z+1]==="/"&&r[z-1]!=="/"){b=!1;continue}if(g&&ee===`
|
|
79
|
+
`&&(b=!1,g=!1),i)continue}if(!b&&!y&&(ee==='"'||ee==="'")){if(r[z-1]==="\\")continue;C=ee,y=!0,n===ee&&F(P(z));continue}if(y){if(ee===C){if(r[z-1]==="\\")continue;y=!1;continue}if(s)continue}if(!y&&!b&&ee==="("){_++,v=!0,/[a-zA-Z]/.test(r[z-1])&&(w=!0),n==="("&&F(P(z));continue}if(v&&ee===")"){_--,n===")"&&F(P(z)),_===0&&(v=!1,w=!1);continue}var G=/^[a-zA-Z]*\(/.test(r.slice(z));if(!(o&&G)&&!(d&&!G)){var ae=P(z);if(ae&&(F(ae),t.once))return}}function F(T){h&&!v||u&&v||p&&!w||a&&w||f&&!y||c&&!b||(x++,e(T,x))}}});var nR=m((jRt,FW)=>{"use strict";var rAe=qe(),nAe=U(),iAe=Fr();FW.exports=function(e){e.root.walkDecls(n=>{let i=rAe(n),s=n.toString(),o=n.toString().slice(i);o.includes("!")&&iAe({source:o,target:"!"},a=>{r(s,a.startIndex+i,n)})});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{e.fix&&e.fix(s,i)||nAe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var NW=m(($Rt,IW)=>{"use strict";var sAe=nR(),oAe=qe(),aAe=vt(),uAe=j(),lAe=Bt(),cAe=N(),fAe=je(),Iy="declaration-bang-space-after",LW=uAe(Iy,{expectedAfter:()=>'Expected single space after "!"',rejectedAfter:()=>'Unexpected whitespace after "!"'}),dAe={url:"https://stylelint.io/user-guide/rules/declaration-bang-space-after",fixable:!0},Ny=(t,e,r)=>{let n=fAe("space",t,LW);return(i,s)=>{cAe(s,Iy,{actual:t,possible:["always","never"]})&&sAe({root:i,result:s,locationChecker:n.after,checkedRuleName:Iy,fix:r.fix?(a,u)=>{let l=u-oAe(a),c=aAe(a),f,d;if(l<c.length)f=c,d=y=>{lAe(a,y)};else if(a.important)f=a.raws.important||" !important",l-=c.length,d=y=>{a.raws.important=y};else return!1;let p=f.slice(0,l+1),h=f.slice(l+1);return t==="always"?(d(p+h.replace(/^\s*/," ")),!0):t==="never"?(d(p+h.replace(/^\s*/,"")),!0):!1}:null})}};Ny.ruleName=Iy;Ny.messages=LW;Ny.meta=dAe;IW.exports=Ny});var BW=m((BRt,$W)=>{"use strict";var pAe=nR(),hAe=qe(),gAe=vt(),mAe=j(),yAe=Bt(),bAe=N(),vAe=je(),jy="declaration-bang-space-before",jW=mAe(jy,{expectedBefore:()=>'Expected single space before "!"',rejectedBefore:()=>'Unexpected whitespace before "!"'}),wAe={url:"https://stylelint.io/user-guide/rules/declaration-bang-space-before",fixable:!0},$y=(t,e,r)=>{let n=vAe("space",t,jW);return(i,s)=>{bAe(s,jy,{actual:t,possible:["always","never"]})&&pAe({root:i,result:s,locationChecker:n.before,checkedRuleName:jy,fix:r.fix?(a,u)=>{let l=u-hAe(a),c=gAe(a),f,d;if(l<c.length)f=c,d=y=>{yAe(a,y)};else if(a.important)f=a.raws.important||" !important",l-=c.length,d=y=>{a.raws.important=y};else return!1;let p=f.slice(0,l),h=f.slice(l);return t==="always"?(d(p.replace(/\s*$/,"")+" "+h),!0):t==="never"?(d(p.replace(/\s*$/,"")+h),!0):!1}:null})}};$y.ruleName=jy;$y.messages=jW;$y.meta=wAe;$W.exports=$y});var Vc=m((WRt,WW)=>{"use strict";var{isRoot:_Ae,isAtRule:xAe,isRule:SAe}=Ye();function kAe(t){return SAe(t)||xAe(t)||_Ae(t)}WW.exports=function(e,r){function n(i){if(kAe(i)&&i.nodes&&i.nodes.length){let s=[];for(let o of i.nodes)o.type==="decl"&&s.push(o),n(o);s.length&&r(s.forEach.bind(s))}}n(e)}});var HW=m((zRt,UW)=>{"use strict";var EAe=Vc(),CAe=hn(),DAe=si(),OAe=U(),qAe=j(),RAe=N(),By="declaration-block-no-duplicate-custom-properties",zW=qAe(By,{rejected:t=>`Unexpected duplicate "${t}"`}),AAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},Wy=t=>(e,r)=>{RAe(r,By,{actual:t})&&EAe(e,i=>{let s=new Set;i(o=>{let a=o.prop;if(!DAe(a)||!CAe(a))return;if(s.has(a)){OAe({message:zW.rejected(a),node:o,result:r,ruleName:By,word:a});return}s.add(a)})})};Wy.ruleName=By;Wy.messages=zW;Wy.meta=AAe;UW.exports=Wy});var KW=m((URt,GW)=>{"use strict";var PAe=Vc(),TAe=hn(),MAe=si(),zy=_e(),Uy=U(),FAe=j(),LAe=N(),{isString:IAe}=te(),VW=tt(),jo="declaration-block-no-duplicate-properties",Gc=FAe(jo,{rejected:t=>`Unexpected duplicate "${t}"`}),NAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Vy=(t,e,r)=>(n,i)=>{if(!LAe(i,jo,{actual:t},{actual:e,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[IAe]},optional:!0}))return;let o=zy(e,"ignore","consecutive-duplicates"),a=zy(e,"ignore","consecutive-duplicates-with-different-values"),u=zy(e,"ignore","consecutive-duplicates-with-same-prefixless-values");PAe(n,l=>{let c=[];l(f=>{let d=f.prop,p=f.prop.toLowerCase(),h=f.value;if(!MAe(d)||TAe(d)||zy(e,"ignoreProperties",d)||p==="src")return;let y=c.findIndex(b=>b.prop.toLowerCase()===p);if(y!==-1){if(a||u){if(y!==c.length-1){if(r.fix){Hy(c,p);return}Uy({message:Gc.rejected(d),node:f,result:i,ruleName:jo,word:d});return}let b=c[y],g=b?b.value:"";if(u&&VW.unprefixed(h)!==VW.unprefixed(g)){if(r.fix){Hy(c,p);return}Uy({message:Gc.rejected(d),node:f,result:i,ruleName:jo,word:d});return}if(h===g){if(r.fix){Hy(c,p);return}Uy({message:Gc.rejected(d),node:f,result:i,ruleName:jo,word:d});return}return}if(o&&y===c.length-1)return;if(r.fix){Hy(c,p);return}Uy({message:Gc.rejected(d),node:f,result:i,ruleName:jo,word:d})}c.push(f)})})};function Hy(t,e){let r=t.find(n=>n.prop.toLowerCase()===e);r&&r.remove()}Vy.ruleName=jo;Vy.messages=Gc;Vy.meta=NAe;GW.exports=Vy});var ZW=m((HRt,XW)=>{"use strict";var jAe=om(),$Ae=Vc(),BAe=_e(),WAe=U(),zAe=j(),{longhandSubPropertiesOfShorthandProperties:YW}=ku(),UAe=N(),QW=tt(),{isRegExp:HAe,isString:VAe}=te(),Gy="declaration-block-no-redundant-longhand-properties",JW=zAe(Gy,{expected:t=>`Expected shorthand property "${t}"`}),GAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties"},KAe=new Set(["inherit"]),Ky=(t,e)=>(r,n)=>{if(!UAe(n,Gy,{actual:t},{actual:e,possible:{ignoreShorthands:[VAe,HAe]},optional:!0}))return;let s=new Map;for(let[o,a]of YW.entries())if(!BAe(e,"ignoreShorthands",o))for(let u of a){let l=s.get(u)||[];l.push(o),s.set(u,l)}$Ae(r,o=>{let a=new Map;o(u=>{if(KAe.has(u.value))return;let l=u.prop.toLowerCase(),c=QW.unprefixed(l),f=QW.prefix(l),d=s.get(c);if(d)for(let p of d){let h=f+p,y=a.get(h)||[];y.push(l),a.set(h,y);let b=YW.get(p),g=Array.from(b||[]).map(v=>f+v);jAe(g.sort(),y.sort())&&WAe({ruleName:Gy,result:n,node:u,word:u.prop,message:JW.expected(h)})}})})};Ky.ruleName=Gy;Ky.messages=JW;Ky.meta=GAe;XW.exports=Ky});var nz=m((VRt,rz)=>{"use strict";var YAe=Vc(),QAe=U(),JAe=j(),{longhandSubPropertiesOfShorthandProperties:XAe}=ku(),ZAe=N(),ez=tt(),Yy="declaration-block-no-shorthand-property-overrides",tz=JAe(Yy,{rejected:(t,e)=>`Unexpected shorthand "${t}" after "${e}"`}),ePe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Qy=t=>(e,r)=>{ZAe(r,Yy,{actual:t})&&YAe(e,i=>{let s=new Map;i(o=>{let a=o.prop,u=ez.unprefixed(a).toLowerCase(),l=ez.prefix(a).toLowerCase(),c=XAe.get(u);if(!c){s.set(a.toLowerCase(),a);return}for(let f of c){let d=s.get(l+f);d&&QAe({ruleName:Yy,result:r,node:o,message:tz.rejected(a,d||""),word:a})}})})};Qy.ruleName=Yy;Qy.messages=tz;Qy.meta=ePe;rz.exports=Qy});var oz=m((GRt,sz)=>{"use strict";var tPe=xr(),rPe=q2(),nPe=ts(),iPe=U(),sPe=j(),oPe=N(),aPe=je(),{isAtRule:uPe,isRule:lPe}=Ye(),Jy="declaration-block-semicolon-newline-after",iz=sPe(Jy,{expectedAfter:()=>'Expected newline after ";"',expectedAfterMultiLine:()=>'Expected newline after ";" in a multi-line declaration block',rejectedAfterMultiLine:()=>'Unexpected newline after ";" in a multi-line declaration block'}),cPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after",fixable:!0},Xy=(t,e,r)=>{let n=aPe("newline",t,iz);return(i,s)=>{oPe(s,Jy,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&i.walkDecls(a=>{let u=a.parent;if(!u)throw new Error("A parent node must be present");if(!uPe(u)&&!lPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.next();if(!l)return;let c=rPe(l);c&&n.afterOneOnly({source:nPe(c),index:-1,lineCheckStr:tPe(u),err:f=>{if(r.fix){if(t.startsWith("always")){let d=c.raws.before.search(/\r?\n/);c.raws.before=d>=0?c.raws.before.slice(d):r.newline+c.raws.before;return}if(t==="never-multi-line"){c.raws.before="";return}}iPe({message:f,node:a,index:a.toString().length+1,result:s,ruleName:Jy})}})})}};Xy.ruleName=Jy;Xy.messages=iz;Xy.meta=cPe;sz.exports=Xy});var lz=m((KRt,uz)=>{"use strict";var fPe=xr(),dPe=U(),pPe=j(),hPe=N(),gPe=je(),{isAtRule:mPe,isRule:yPe}=Ye(),Zy="declaration-block-semicolon-newline-before",az=pPe(Zy,{expectedBefore:()=>'Expected newline before ";"',expectedBeforeMultiLine:()=>'Expected newline before ";" in a multi-line declaration block',rejectedBeforeMultiLine:()=>'Unexpected whitespace before ";" in a multi-line declaration block'}),bPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before"},eb=t=>{let e=gPe("newline",t,az);return(r,n)=>{hPe(n,Zy,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&r.walkDecls(s=>{let o=s.parent;if(!o)throw new Error("A parent node must be present");if(!mPe(o)&&!yPe(o)||!o.raws.semicolon&&o.last===s)return;let a=s.toString();e.beforeAllowingIndentation({source:a,index:a.length,lineCheckStr:fPe(o),err:u=>{dPe({message:u,node:s,index:s.toString().length-1,result:n,ruleName:Zy})}})})}};eb.ruleName=Zy;eb.messages=az;eb.meta=bPe;uz.exports=eb});var dz=m((YRt,fz)=>{"use strict";var vPe=xr(),wPe=ts(),_Pe=U(),xPe=j(),SPe=N(),kPe=je(),{isAtRule:EPe,isRule:CPe}=Ye(),tb="declaration-block-semicolon-space-after",cz=xPe(tb,{expectedAfter:()=>'Expected single space after ";"',rejectedAfter:()=>'Unexpected whitespace after ";"',expectedAfterSingleLine:()=>'Expected single space after ";" in a single-line declaration block',rejectedAfterSingleLine:()=>'Unexpected whitespace after ";" in a single-line declaration block'}),DPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after",fixable:!0},rb=(t,e,r)=>{let n=kPe("space",t,cz);return(i,s)=>{SPe(s,tb,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&i.walkDecls(a=>{let u=a.parent;if(!u)throw new Error("A parent node must be present");if(!EPe(u)&&!CPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.next();l&&n.after({source:wPe(l),index:-1,lineCheckStr:vPe(u),err:c=>{if(r.fix){if(t.startsWith("always")){l.raws.before=" ";return}if(t.startsWith("never")){l.raws.before="";return}}_Pe({message:c,node:a,index:a.toString().length+1,result:s,ruleName:tb})}})})}};rb.ruleName=tb;rb.messages=cz;rb.meta=DPe;fz.exports=rb});var mz=m((QRt,gz)=>{"use strict";var OPe=xr(),qPe=vt(),RPe=U(),APe=j(),pz=Bt(),PPe=N(),TPe=je(),{isAtRule:MPe,isRule:FPe}=Ye(),nb="declaration-block-semicolon-space-before",hz=APe(nb,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"',expectedBeforeSingleLine:()=>'Expected single space before ";" in a single-line declaration block',rejectedBeforeSingleLine:()=>'Unexpected whitespace before ";" in a single-line declaration block'}),LPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before",fixable:!0},ib=(t,e,r)=>{let n=TPe("space",t,hz);return(i,s)=>{PPe(s,nb,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&i.walkDecls(a=>{let u=a.parent;if(!u)throw new Error("A parent node must be present");if(!MPe(u)&&!FPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.toString();n.before({source:l,index:l.length,lineCheckStr:OPe(u),err:c=>{if(r.fix){let f=qPe(a);if(t.startsWith("always")){a.important?a.raws.important=" !important ":pz(a,f.replace(/\s*$/," "));return}if(t.startsWith("never")){a.raws.important?a.raws.important=a.raws.important.replace(/\s*$/,""):pz(a,f.replace(/\s*$/,""));return}}RPe({message:c,node:a,index:a.toString().length-1,result:s,ruleName:nb})}})})}};ib.ruleName=nb;ib.messages=hz;ib.meta=LPe;gz.exports=ib});var vz=m((JRt,bz)=>{"use strict";var IPe=xr(),NPe=Di(),jPe=U(),$Pe=j(),BPe=N(),{isNumber:WPe}=te(),sb="declaration-block-single-line-max-declarations",yz=$Pe(sb,{expected:t=>`Expected no more than ${t} ${t===1?"declaration":"declarations"}`}),zPe={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},ob=t=>(e,r)=>{BPe(r,sb,{actual:t,possible:[WPe]})&&e.walkRules(i=>{let s=IPe(i);!NPe(s)||!i.nodes||i.nodes.filter(a=>a.type==="decl").length<=t||jPe({message:yz.expected(t),node:i,word:s,result:r,ruleName:sb})})};ob.ruleName=sb;ob.messages=yz;ob.meta=zPe;bz.exports=ob});var _z=m((XRt,wz)=>{"use strict";var UPe=nr(),HPe=_e(),VPe=U(),GPe=j(),{isAtRule:KPe}=Ye(),YPe=N(),ab="declaration-block-trailing-semicolon",iR=GPe(ab,{expected:"Expected a trailing semicolon",rejected:"Unexpected trailing semicolon"}),QPe={url:"https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon",fixable:!0},ub=(t,e,r)=>(n,i)=>{if(!YPe(i,ab,{actual:t,possible:["always","never"]},{actual:e,possible:{ignore:["single-declaration"]},optional:!0}))return;n.walkAtRules(a=>{if(!a.parent)throw new Error("A parent node must be present");a.parent!==n&&a===a.parent.last&&(UPe(a)||o(a))}),n.walkDecls(a=>{if(!a.parent)throw new Error("A parent node must be present");a.parent.type!=="object"&&a===a.parent.last&&o(a)});function o(a){if(!a.parent)throw new Error("A parent node must be present");let u=a.parent.raws.semicolon;if(HPe(e,"ignore","single-declaration")&&a.parent.first===a)return;let c;if(t==="always"){if(u)return;if(r.fix){a.parent.raws.semicolon=!0,KPe(a)&&(a.raws.between="",a.parent.raws.after=" ");return}c=iR.expected}else if(t==="never"){if(!u)return;if(r.fix){a.parent.raws.semicolon=!1;return}c=iR.rejected}else throw new Error(`Unexpected primary option: "${t}"`);VPe({message:c,node:a,index:a.toString().trim().length-1,result:i,ruleName:ab})}};ub.ruleName=ab;ub.messages=iR;ub.meta=QPe;wz.exports=ub});var Ez=m((ZRt,kz)=>{"use strict";var xz=qe(),JPe=ii(),XPe=U(),ZPe=j(),eTe=N(),tTe=je(),lb="declaration-colon-newline-after",Sz=ZPe(lb,{expectedAfter:()=>'Expected newline after ":"',expectedAfterMultiLine:()=>'Expected newline after ":" with a multi-line declaration'}),rTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-newline-after",fixable:!0},cb=(t,e,r)=>{let n=tTe("newline",t,Sz);return(i,s)=>{eTe(s,lb,{actual:t,possible:["always","always-multi-line"]})&&i.walkDecls(a=>{if(!JPe(a))return;let u=xz(a)+(a.raws.between||"").length-1,l=`${a.toString().slice(0,u)}xxx`;for(let c=0,f=l.length;c<f;c++){if(l[c]!==":")continue;let d=/^[^\S\r\n]*\/\*/.test(l.slice(c+1))?l.indexOf("*/",c)+1:c;n.afterOneOnly({source:l,index:d,lineCheckStr:a.value,err:p=>{if(r.fix){let h=a.raws.between;if(h==null)throw new Error("`between` must be present");let y=xz(a)-h.length,b=d-y+1,g=h.slice(0,b),v=h.slice(b);a.raws.between=/^\s*\n/.test(v)?g+v.replace(/^[^\S\r\n]*/,""):g+r.newline+v;return}XPe({message:p,node:a,index:d,result:s,ruleName:lb})}})}})}};cb.ruleName=lb;cb.messages=Sz;cb.meta=rTe;kz.exports=cb});var sR=m((eAt,Cz)=>{"use strict";var nTe=qe(),iTe=ii(),sTe=U();Cz.exports=function(e){e.root.walkDecls(r=>{if(!iTe(r))return;let n=nTe(r)+(r.raws.between||"").length-1,i=`${r.toString().slice(0,n)}xxx`;for(let s=0,o=i.length;s<o;s++)if(i[s]===":"){e.locationChecker({source:i,index:s,lineCheckStr:r.value,err:a=>{e.fix&&e.fix(r,s)||sTe({message:a,node:r,index:r.prop.toString().length+1,result:e.result,ruleName:e.checkedRuleName})}});break}})}});var qz=m((tAt,Oz)=>{"use strict";var oTe=sR(),aTe=qe(),uTe=j(),lTe=N(),cTe=je(),fb="declaration-colon-space-after",Dz=uTe(fb,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"',expectedAfterSingleLine:()=>'Expected single space after ":" with a single-line declaration'}),fTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-space-after",fixable:!0},db=(t,e,r)=>{let n=cTe("space",t,Dz);return(i,s)=>{lTe(s,fb,{actual:t,possible:["always","never","always-single-line"]})&&oTe({root:i,result:s,locationChecker:n.after,checkedRuleName:fb,fix:r.fix?(a,u)=>{let l=u-aTe(a),c=a.raws.between;if(c==null)throw new Error("`between` must be present");return t.startsWith("always")?(a.raws.between=c.slice(0,l)+c.slice(l).replace(/^:\s*/,": "),!0):t==="never"?(a.raws.between=c.slice(0,l)+c.slice(l).replace(/^:\s*/,":"),!0):!1}:null})}};db.ruleName=fb;db.messages=Dz;db.meta=fTe;Oz.exports=db});var Pz=m((rAt,Az)=>{"use strict";var dTe=sR(),pTe=qe(),hTe=j(),gTe=N(),mTe=je(),pb="declaration-colon-space-before",Rz=hTe(pb,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),yTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-space-before",fixable:!0},hb=(t,e,r)=>{let n=mTe("space",t,Rz);return(i,s)=>{gTe(s,pb,{actual:t,possible:["always","never"]})&&dTe({root:i,result:s,locationChecker:n.before,checkedRuleName:pb,fix:r.fix?(a,u)=>{let l=u-pTe(a),c=a.raws.between;if(c==null)throw new Error("`between` must be present");return t==="always"?(a.raws.between=c.slice(0,l).replace(/\s*$/," ")+c.slice(l),!0):t==="never"?(a.raws.between=c.slice(0,l).replace(/\s*$/,"")+c.slice(l),!0):!1}:null})}};hb.ruleName=pb;hb.messages=Rz;hb.meta=yTe;Az.exports=hb});var Mz=m((nAt,Tz)=>{"use strict";var bTe=Ls(),vTe=hn(),wTe=ii(),{isDeclaration:_Te}=Ye();Tz.exports=function(e){let r=bTe(e);return r!==void 0&&_Te(r)&&wTe(r)&&!vTe(r.prop||"")}});var jz=m((iAt,Nz)=>{"use strict";var xTe=bu(),STe=xr(),kTe=Io(),Fz=Tc(),Lz=Mz(),ETe=hn(),Iz=vu(),CTe=Mc(),DTe=Di(),OTe=ii(),$o=_e(),qTe=wu(),RTe=U(),ATe=j(),PTe=N(),{isAtRule:TTe,isRule:MTe,isRoot:FTe}=Ye(),gb="declaration-empty-line-before",oR=ATe(gb,{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"}),LTe={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},mb=(t,e,r)=>(n,i)=>{PTe(i,gb,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested","after-comment","after-declaration"],ignore:["after-comment","after-declaration","first-nested","inside-single-line-block"]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.parent;if(u==null||CTe(o)||!TTe(u)&&!MTe(u)&&!FTe(u)||!OTe(o)||ETe(a)||$o(e,"ignore","after-comment")&&Fz(o)||$o(e,"ignore","after-declaration")&&Lz(o)||$o(e,"ignore","first-nested")&&Iz(o)||$o(e,"ignore","inside-single-line-block")&&DTe(STe(u)))return;let l=t==="always";($o(e,"except","first-nested")&&Iz(o)||$o(e,"except","after-comment")&&Fz(o)||$o(e,"except","after-declaration")&&Lz(o))&&(l=!l);let c=kTe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?xTe(o,r.newline):qTe(o,r.newline);return}let f=l?oR.expected:oR.rejected;RTe({message:f,node:o,result:i,ruleName:gb})})};mb.ruleName=gb;mb.messages=oR;mb.meta=LTe;Nz.exports=mb});var aR=m((sAt,$z)=>{"use strict";$z.exports=function(e){let r=/!\s*important\b/gi,n=r.exec(e);if(n)return{index:n.index,endIndex:r.lastIndex}}});var zz=m((oAt,Wz)=>{"use strict";var ITe=aR(),NTe=U(),jTe=j(),$Te=N(),{assert:BTe}=te(),yb="declaration-no-important",Bz=jTe(yb,{rejected:"Unexpected !important"}),WTe={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},bb=t=>(e,r)=>{$Te(r,yb,{actual:t})&&e.walkDecls(i=>{if(!i.important)return;let s=ITe(i.toString());BTe(s),NTe({message:Bz.rejected,node:i,index:s.index,endIndex:s.endIndex,result:r,ruleName:yb})})};bb.ruleName=yb;bb.messages=Bz;bb.meta=WTe;Wz.exports=bb});var Hz=m((aAt,Uz)=>{"use strict";var{isPlainObject:zTe}=te();Uz.exports=t=>e=>zTe(e)?Object.values(e).every(r=>t(r)):!1});var Kz=m((uAt,Gz)=>{"use strict";var UTe=Re(),HTe=qt(),VTe=U(),GTe=j(),KTe=tt(),YTe=N(),{isNumber:QTe,assertNumber:JTe}=te(),XTe=Hz(),vb="declaration-property-max-values",Vz=GTe(vb,{rejected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"value":"values"}`}),ZTe={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},eMe=t=>t.type==="word"||t.type==="function"||t.type==="string",wb=t=>(e,r)=>{YTe(r,vb,{actual:t,possible:[XTe(QTe)]})&&e.walkDecls(i=>{let{prop:s,value:o}=i,a=UTe(o).nodes.filter(eMe).length,u=KTe.unprefixed(s),l=Object.keys(t).find(f=>HTe(u,f));if(!l)return;let c=t[l];JTe(c),!(a<=c)&&VTe({message:Vz.rejected(s,c),node:i,result:r,ruleName:vb})})};wb.ruleName=vb;wb.messages=Vz;wb.meta=ZTe;Gz.exports=wb});var Qz=m((lAt,Yz)=>{"use strict";Yz.exports=function(e,r=" "){return e.replace(/[#@{}]+/g,r)}});var oi=m((cAt,Jz)=>{"use strict";var tMe=Qz(),rMe=pn(),nMe=Re();Jz.exports=function(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!rMe(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let r=tMe(e.value,"").replace("\\0","").replace("\\9",""),n=nMe.unit(r);return n||{unit:null,number:null}}});var eU=m((fAt,Zz)=>{"use strict";var iMe=Re(),sMe=qe(),oMe=Am(),aMe=oi(),uMe=qt(),lMe=_e(),cMe=U(),fMe=j(),dMe=Oi(),pMe=N(),{isString:hMe}=te(),gMe=tt(),_b="declaration-property-unit-allowed-list",Xz=fMe(_b,{rejected:(t,e)=>`Unexpected unit "${e}" for property "${t}"`}),mMe={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},xb=(t,e)=>(r,n)=>{pMe(n,_b,{actual:t,possible:[dMe(hMe)]},{actual:e,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(s=>{let o=s.prop,a=s.value,u=gMe.unprefixed(o),l=Object.keys(t).find(f=>uMe(u,f));if(!l)return;let c=oMe(t[l]);c&&iMe(a).walk(f=>{if(f.type==="function"&&(f.value.toLowerCase()==="url"||lMe(e,"ignore","inside-function")))return!1;if(f.type==="string")return;let{unit:d}=aMe(f);if(!d||d&&c.includes(d.toLowerCase()))return;let p=sMe(s)+f.sourceIndex,h=p+f.value.length;cMe({message:Xz.rejected(o,d),node:s,index:p,endIndex:h,result:n,ruleName:_b})})})};xb.ruleName=_b;xb.messages=Xz;xb.meta=mMe;Zz.exports=xb});var nU=m((dAt,rU)=>{"use strict";var yMe=Re(),bMe=qe(),vMe=Am(),wMe=oi(),_Me=qt(),xMe=U(),SMe=j(),kMe=Oi(),EMe=N(),{isString:CMe}=te(),DMe=tt(),Sb="declaration-property-unit-disallowed-list",tU=SMe(Sb,{rejected:(t,e)=>`Unexpected unit "${e}" for property "${t}"`}),OMe={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},kb=t=>(e,r)=>{EMe(r,Sb,{actual:t,possible:[kMe(CMe)]})&&e.walkDecls(i=>{let s=i.prop,o=i.value,a=DMe.unprefixed(s),u=Object.keys(t).find(c=>_Me(a,c));if(!u)return;let l=vMe(t[u]);l&&yMe(o).walk(c=>{if(c.type==="function"&&c.value.toLowerCase()==="url")return!1;if(c.type==="string")return;let{unit:f}=wMe(c);if(!f||f&&!l.includes(f.toLowerCase()))return;let d=bMe(i)+c.sourceIndex,p=d+c.value.length;xMe({message:tU.rejected,messageArgs:[s,f],node:i,index:d,endIndex:p,result:r,ruleName:Sb})})})};kb.ruleName=Sb;kb.messages=tU;kb.meta=OMe;rU.exports=kb});var oU=m((pAt,sU)=>{"use strict";var qMe=qe(),RMe=qt(),AMe=_e(),PMe=U(),TMe=j(),MMe=Oi(),FMe=N(),{isString:LMe,isRegExp:IMe}=te(),NMe=tt(),Eb="declaration-property-value-allowed-list",iU=TMe(Eb,{rejected:(t,e)=>`Unexpected value "${e}" for property "${t}"`}),jMe={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Cb=t=>(e,r)=>{if(!FMe(r,Eb,{actual:t,possible:[MMe(LMe,IMe)]}))return;let i=Object.keys(t);e.walkDecls(s=>{let{prop:o,value:a}=s,u=NMe.unprefixed(o),l=i.filter(d=>RMe(u,d));if(l.length===0||l.some(d=>AMe(t,d,a)))return;let c=qMe(s),f=c+s.value.length;PMe({message:iU.rejected(o,a),node:s,index:c,endIndex:f,result:r,ruleName:Eb})})};Cb.ruleName=Eb;Cb.messages=iU;Cb.meta=jMe;sU.exports=Cb});var lU=m((hAt,uU)=>{"use strict";var $Me=qe(),BMe=qt(),WMe=_e(),zMe=U(),UMe=j(),HMe=Oi(),VMe=N(),{isString:GMe,isRegExp:KMe}=te(),YMe=tt(),Db="declaration-property-value-disallowed-list",aU=UMe(Db,{rejected:(t,e)=>`Unexpected value "${e}" for property "${t}"`}),QMe={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ob=t=>(e,r)=>{if(!VMe(r,Db,{actual:t,possible:[HMe(GMe,KMe)]}))return;let i=Object.keys(t);e.walkDecls(s=>{let{prop:o,value:a}=s,u=YMe.unprefixed(o),l=i.filter(d=>BMe(u,d));if(l.length===0||l.every(d=>!WMe(t,d,a)))return;let c=$Me(s),f=c+s.value.length;zMe({message:aU.rejected,messageArgs:[o,a],node:s,index:c,endIndex:f,result:r,ruleName:Db})})};Ob.ruleName=Db;Ob.messages=aU;Ob.meta=QMe;uU.exports=Ob});var uR=m((gAt,cU)=>{"use strict";cU.exports=function(e){return e.toString().trim().length!==0&&Number(e)==e}});var gn=m((mAt,_U)=>{"use strict";var Rt=xu(),At=new Set(["initial","inherit","revert","revert-layer","unset"]),JMe=Rt(At,["caption","icon","menu","message-box","small-caption","status-bar"]),fU=Rt(At,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded"]),dU=new Set(["bolder","lighter"]),pU=new Set(["normal","bold"]),hU=Rt(dU,pU),XMe=new Set(["100","200","300","400","500","600","700","800","900"]),gU=Rt(At,hU,XMe),ZMe=Rt(At,["normal","italic","oblique"]),eFe=Rt(At,["normal","none","historical-forms","none","common-ligatures","no-common-ligatures","discretionary-ligatures","no-discretionary-ligatures","historical-ligatures","no-historical-ligatures","contextual","no-contextual","small-caps","small-caps","all-small-caps","petite-caps","all-petite-caps","unicase","titling-caps","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions","ordinal","slashed-zero","jis78","jis83","jis90","jis04","simplified","traditional","full-width","proportional-width","ruby"]),tFe=Rt(At,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),mU=Rt(At,["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]),rFe=Rt(At,["normal"]),nFe=Rt(At,ZMe,eFe,gU,tFe,mU,rFe,fU),yU=Rt(At,["none"]),iFe=Rt(At,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),sFe=new Set(["infinite"]),oFe=Rt(At,["normal","reverse","alternate","alternate-reverse"]),aFe=new Set(["none","forwards","backwards","both"]),uFe=Rt(At,["running","paused"]),lFe=Rt(At,yU,iFe,sFe,oFe,aFe,uFe),cFe=Rt(At,["auto","span"]),fFe=Rt(At,["auto","span"]),dFe=Rt(At,["auto","span"]),pFe=Rt(At,["none"]),hFe=Rt(At,["none"]),bU=Rt(At,["none","disc","circle","square","decimal","cjk-decimal","decimal-leading-zero","lower-roman","upper-roman","lower-greek","lower-alpha","lower-latin","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian","cjk-earthly-branch","cjk-ideographic","devanagari","ethiopic-numeric","georgian","gujarati","gurmukhi","hebrew","hiragana","hiragana-iroha","japanese-formal","japanese-informal","kannada","katakana","katakana-iroha","khmer","korean-hangul-formal","korean-hanja-formal","korean-hanja-informal","lao","lower-armenian","malayalam","mongolian","myanmar","oriya","persian","simp-chinese-formal","simp-chinese-informal","tamil","telugu","thai","tibetan","trad-chinese-formal","trad-chinese-informal","upper-armenian","disclosure-open","disclosure-closed","ethiopic-halehame","ethiopic-halehame-am","ethiopic-halehame-ti-er","ethiopic-halehame-ti-et","hangul","hangul-consonant","urdu"]),vU=Rt(At,["inside","outside"]),wU=Rt(At,["none"]),gFe=Rt(At,bU,vU,wU),mFe=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),yFe=new Set(["from","to"]),bFe=new Set(["activeborder","activecaption","appworkspace","background","buttonface","buttonhighlight","buttonshadow","buttontext","captiontext","graytext","highlight","highlighttext","inactiveborder","inactivecaption","inactivecaptiontext","infobackground","infotext","menu","menutext","scrollbar","threeddarkshadow","threedface","threedhighlight","threedlightshadow","threedshadow","window","windowframe","windowtext"]);_U.exports={animationNameKeywords:yU,animationShorthandKeywords:lFe,basicKeywords:At,camelCaseKeywords:mFe,counterIncrementKeywords:pFe,counterResetKeywords:hFe,fontFamilyKeywords:fU,fontShorthandKeywords:nFe,fontSizeKeywords:mU,fontWeightAbsoluteKeywords:pU,fontWeightKeywords:gU,fontWeightNonNumericKeywords:hU,fontWeightRelativeKeywords:dU,gridAreaKeywords:dFe,gridColumnKeywords:fFe,gridRowKeywords:cFe,keyframeSelectorKeywords:yFe,listStyleImageKeywords:wU,listStylePositionKeywords:vU,listStyleShorthandKeywords:gFe,listStyleTypeKeywords:bU,systemColorsKeywords:bFe,systemFontKeywords:JMe}});var qb=m((yAt,SU)=>{"use strict";var vFe=xu(),xU=new Set(["cap","ch","em","ex","ic","lh","rcap","rch","rem","rex","ric","rlh","dvb","dvh","dvi","dvmax","dvmin","dvw","lvb","lvh","lvi","lvmax","lvmin","lvw","svb","svh","svi","svmax","svmin","svw","vb","vh","vi","vw","vmin","vmax","vm","px","mm","cm","in","pt","pc","q","mozmm","fr","cqw","cqh","cqi","cqb","cqmin","cqmax"]),wFe=vFe(xU,["%","s","ms","deg","grad","turn","rad","Hz","kHz","dpi","dpcm","dppx"]);SU.exports={lengthUnits:xU,units:wFe}});var EU=m((bAt,kU)=>{"use strict";var{fontSizeKeywords:_Fe}=gn(),{lengthUnits:xFe}=qb(),SFe=Re();kU.exports=function(e){if(!e)return!1;if(_Fe.has(e))return!0;let r=SFe.unit(e);if(!r)return!1;let n=r.unit;return!!(n==="%"||xFe.has(n.toLowerCase()))}});var Au=m((vAt,CU)=>{"use strict";CU.exports=function(e){return e.toLowerCase().startsWith("var(")}});var Rb=m((wAt,OU)=>{"use strict";var kFe=Re(),EFe=uR(),CFe=pn(),DU=EU(),DFe=Au(),{assert:OFe}=te(),{basicKeywords:qFe,fontFamilyKeywords:RFe,fontShorthandKeywords:AFe}=gn(),PFe=new Set(["word","string","space","div"]);function TFe(t,e,r){return t.value=t.value+r+e.value,t}OU.exports=function(e){let r=[],n=kFe(e),{nodes:i}=n;if(i.length===1&&i[0]&&qFe.has(i[0].value.toLowerCase()))return[i[0]];let s=!1,o=null;return n.walk((a,u,l)=>{if(a.type==="function")return!1;if(!PFe.has(a.type))return;let c=a.value.toLowerCase();if(!CFe(c)||DFe(c)||AFe.has(c)&&!RFe.has(c)||DU(a.value))return;let f=l[u-1],d=l[u-2];if(f&&f.value==="/"&&d&&DU(d.value)||EFe(c))return;if((a.type==="space"||a.type==="div"&&a.value!==",")&&r.length!==0){s=!0,o=a.value;return}if(a.type==="space"||a.type==="div")return;let p=a;if(s){let h=r[r.length-1];OFe(h),TFe(h,p,o),s=!1,o=null}else r.push(p)}),r}});var Bo=m((_At,lR)=>{var MFe=require("tty"),FFe=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||MFe.isatty(1)&&process.env.TERM!=="dumb"||"CI"in process.env),Pt=(t,e,r=t)=>n=>{let i=""+n,s=i.indexOf(e,t.length);return~s?t+qU(i,e,r,s)+e:t+i+e},qU=(t,e,r,n)=>{let i=t.substring(0,n)+r,s=t.substring(n+e.length),o=s.indexOf(e);return~o?i+qU(s,e,r,o):i+s},RU=(t=FFe)=>({isColorSupported:t,reset:t?e=>`\x1B[0m${e}\x1B[0m`:String,bold:t?Pt("\x1B[1m","\x1B[22m","\x1B[22m\x1B[1m"):String,dim:t?Pt("\x1B[2m","\x1B[22m","\x1B[22m\x1B[2m"):String,italic:t?Pt("\x1B[3m","\x1B[23m"):String,underline:t?Pt("\x1B[4m","\x1B[24m"):String,inverse:t?Pt("\x1B[7m","\x1B[27m"):String,hidden:t?Pt("\x1B[8m","\x1B[28m"):String,strikethrough:t?Pt("\x1B[9m","\x1B[29m"):String,black:t?Pt("\x1B[30m","\x1B[39m"):String,red:t?Pt("\x1B[31m","\x1B[39m"):String,green:t?Pt("\x1B[32m","\x1B[39m"):String,yellow:t?Pt("\x1B[33m","\x1B[39m"):String,blue:t?Pt("\x1B[34m","\x1B[39m"):String,magenta:t?Pt("\x1B[35m","\x1B[39m"):String,cyan:t?Pt("\x1B[36m","\x1B[39m"):String,white:t?Pt("\x1B[37m","\x1B[39m"):String,gray:t?Pt("\x1B[90m","\x1B[39m"):String,bgBlack:t?Pt("\x1B[40m","\x1B[49m"):String,bgRed:t?Pt("\x1B[41m","\x1B[49m"):String,bgGreen:t?Pt("\x1B[42m","\x1B[49m"):String,bgYellow:t?Pt("\x1B[43m","\x1B[49m"):String,bgBlue:t?Pt("\x1B[44m","\x1B[49m"):String,bgMagenta:t?Pt("\x1B[45m","\x1B[49m"):String,bgCyan:t?Pt("\x1B[46m","\x1B[49m"):String,bgWhite:t?Pt("\x1B[47m","\x1B[49m"):String});lR.exports=RU();lR.exports.createColors=RU});var fR=m((xAt,MU)=>{"use strict";var cR="'".charCodeAt(0),AU='"'.charCodeAt(0),Ab="\\".charCodeAt(0),PU="/".charCodeAt(0),Pb=`
|
|
80
|
+
`.charCodeAt(0),Kc=" ".charCodeAt(0),Tb="\f".charCodeAt(0),Mb=" ".charCodeAt(0),Fb="\r".charCodeAt(0),LFe="[".charCodeAt(0),IFe="]".charCodeAt(0),NFe="(".charCodeAt(0),jFe=")".charCodeAt(0),$Fe="{".charCodeAt(0),BFe="}".charCodeAt(0),WFe=";".charCodeAt(0),zFe="*".charCodeAt(0),UFe=":".charCodeAt(0),HFe="@".charCodeAt(0),Lb=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ib=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,VFe=/.[\n"'(/\\]/,TU=/[\da-f]/i;MU.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,s,o,a,u,l,c,f,d,p,h,y=n.length,b=0,g=[],v=[];function w(){return b}function _(P){throw e.error("Unclosed "+P,b)}function x(){return v.length===0&&b>=y}function C(P){if(v.length)return v.pop();if(b>=y)return;let R=P?P.ignoreUnclosed:!1;switch(s=n.charCodeAt(b),s){case Pb:case Kc:case Mb:case Fb:case Tb:{o=b;do o+=1,s=n.charCodeAt(o);while(s===Kc||s===Pb||s===Mb||s===Fb||s===Tb);h=["space",n.slice(b,o)],b=o-1;break}case LFe:case IFe:case $Fe:case BFe:case UFe:case WFe:case jFe:{let z=String.fromCharCode(s);h=[z,z,b];break}case NFe:{if(d=g.length?g.pop()[1]:"",p=n.charCodeAt(b+1),d==="url"&&p!==cR&&p!==AU&&p!==Kc&&p!==Pb&&p!==Mb&&p!==Tb&&p!==Fb){o=b;do{if(c=!1,o=n.indexOf(")",o+1),o===-1)if(i||R){o=b;break}else _("bracket");for(f=o;n.charCodeAt(f-1)===Ab;)f-=1,c=!c}while(c);h=["brackets",n.slice(b,o+1),b,o],b=o}else o=n.indexOf(")",b+1),u=n.slice(b,o+1),o===-1||VFe.test(u)?h=["(","(",b]:(h=["brackets",u,b,o],b=o);break}case cR:case AU:{a=s===cR?"'":'"',o=b;do{if(c=!1,o=n.indexOf(a,o+1),o===-1)if(i||R){o=b+1;break}else _("string");for(f=o;n.charCodeAt(f-1)===Ab;)f-=1,c=!c}while(c);h=["string",n.slice(b,o+1),b,o],b=o;break}case HFe:{Lb.lastIndex=b+1,Lb.test(n),Lb.lastIndex===0?o=n.length-1:o=Lb.lastIndex-2,h=["at-word",n.slice(b,o+1),b,o],b=o;break}case Ab:{for(o=b,l=!0;n.charCodeAt(o+1)===Ab;)o+=1,l=!l;if(s=n.charCodeAt(o+1),l&&s!==PU&&s!==Kc&&s!==Pb&&s!==Mb&&s!==Fb&&s!==Tb&&(o+=1,TU.test(n.charAt(o)))){for(;TU.test(n.charAt(o+1));)o+=1;n.charCodeAt(o+1)===Kc&&(o+=1)}h=["word",n.slice(b,o+1),b,o],b=o;break}default:{s===PU&&n.charCodeAt(b+1)===zFe?(o=n.indexOf("*/",b+2)+1,o===0&&(i||R?o=n.length:_("comment")),h=["comment",n.slice(b,o+1),b,o],b=o):(Ib.lastIndex=b+1,Ib.test(n),Ib.lastIndex===0?o=n.length-1:o=Ib.lastIndex-2,h=["word",n.slice(b,o+1),b,o],g.push(h),b=o);break}}return b++,h}function M(P){v.push(P)}return{back:M,nextToken:C,endOfFile:x,position:w}}});var dR=m((SAt,IU)=>{"use strict";var zr=Bo(),GFe=fR(),FU;function KFe(t){FU=t}var YFe={brackets:zr.cyan,"at-word":zr.cyan,comment:zr.gray,string:zr.green,class:zr.yellow,hash:zr.magenta,call:zr.cyan,"(":zr.cyan,")":zr.cyan,"{":zr.yellow,"}":zr.yellow,"[":zr.yellow,"]":zr.yellow,":":zr.yellow,";":zr.yellow};function QFe([t,e],r){if(t==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!r.endOfFile()){let n=r.nextToken();if(r.back(n),n[0]==="brackets"||n[0]==="(")return"call"}return t}function LU(t){let e=GFe(new FU(t),{ignoreErrors:!0}),r="";for(;!e.endOfFile();){let n=e.nextToken(),i=YFe[QFe(n,e)];i?r+=n[1].split(/\r?\n/).map(s=>i(s)).join(`
|
|
81
|
+
`):r+=n[1]}return r}LU.registerInput=KFe;IU.exports=LU});var Nb=m((kAt,$U)=>{"use strict";var NU=Bo(),jU=dR(),Wo=class extends Error{constructor(e,r,n,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Wo)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=NU.isColorSupported),jU&&e&&(r=jU(r));let n=r.split(/\r?\n/),i=Math.max(this.line-3,0),s=Math.min(this.line+2,n.length),o=String(s).length,a,u;if(e){let{bold:l,red:c,gray:f}=NU.createColors(!0);a=d=>l(c(d)),u=d=>f(d)}else a=u=l=>l;return n.slice(i,s).map((l,c)=>{let f=i+1+c,d=" "+(" "+f).slice(-o)+" | ";if(f===this.line){let p=u(d.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(d)+l+`
|
|
82
|
+
`+p+a("^")}return" "+u(d)+l}).join(`
|
|
83
|
+
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
84
|
+
|
|
85
|
+
`+e+`
|
|
86
|
+
`),this.name+": "+this.message+e}};$U.exports=Wo;Wo.default=Wo});var jb=m((EAt,pR)=>{"use strict";pR.exports.isClean=Symbol("isClean");pR.exports.my=Symbol("my")});var hR=m((CAt,WU)=>{"use strict";var BU={colon:": ",indent:" ",beforeDecl:`
|
|
87
|
+
`,beforeRule:`
|
|
88
|
+
`,beforeOpen:" ",beforeClose:`
|
|
89
|
+
`,beforeComment:`
|
|
90
|
+
`,after:`
|
|
91
|
+
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function JFe(t){return t[0].toUpperCase()+t.slice(1)}var Yc=class{constructor(e){this.builder=e}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let s=(e.raws.between||"")+(r?";":"");this.builder(n+i+s,e)}}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,r!==i||n)}}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let s=e.parent;if(n==="before"&&(!s||s.type==="root"&&s.first===e||s&&s.type==="document"))return"";if(!s)return BU[n];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[n]<"u")return o.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let a="raw"+JFe(n);this[a]?i=this[a](o,e):o.walk(u=>{if(i=u.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=BU[n]),o.rawCache[n]=i,i}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let s=n.raws.before.split(`
|
|
92
|
+
`);return r=s[s.length-1],r=r.replace(/\S/g,""),!1}}),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
|
|
93
|
+
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
|
|
94
|
+
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
|
|
95
|
+
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
|
|
96
|
+
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(`
|
|
97
|
+
`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<s;a++)n+=o}return n}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}};WU.exports=Yc;Yc.default=Yc});var Qc=m((DAt,zU)=>{"use strict";var XFe=hR();function gR(t,e){new XFe(e).stringify(t)}zU.exports=gR;gR.default=gR});var Xc=m((OAt,UU)=>{"use strict";var{isClean:$b,my:ZFe}=jb(),eLe=Nb(),tLe=hR(),rLe=Qc();function mR(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],s=typeof i;n==="parent"&&s==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(o=>mR(o,r)):(s==="object"&&i!==null&&(i=mR(i)),r[n]=i)}return r}var Jc=class{constructor(e={}){this.raws={},this[$b]=!1,this[ZFe]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}error(e,r={}){if(this.source){let{start:n,end:i}=this.rangeBy(r);return this.source.input.error(e,{line:n.line,column:n.column},{line:i.line,column:i.column},r)}return new eLe(e)}warn(e,r,n){let i={node:this};for(let s in n)i[s]=n[s];return e.warn(r,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=rLe){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}assign(e={}){for(let r in e)this[r]=e[r];return this}clone(e={}){let r=mR(this);for(let n in e)r[n]=e[n];return r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,r){return new tLe().raw(this,e,r)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,r){let n={},i=r==null;r=r||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))n[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,r):u);else if(typeof a=="object"&&a.toJSON)n[o]=a.toJSON(null,r);else if(o==="source"){let u=r.get(a.input);u==null&&(u=s,r.set(a.input,s),s++),n[o]={inputId:u,start:a.start,end:a.end}}else n[o]=a}return i&&(n.inputs=[...r.keys()].map(o=>o.toJSON())),n}positionInside(e){let r=this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;s<e;s++)r[s]===`
|
|
98
|
+
`?(n=1,i+=1):n+=1;return{line:i,column:n}}positionBy(e){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(r=this.positionInside(n))}return r}rangeBy(e){let r={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:r.line,column:r.column+1};if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={line:e.start.line,column:e.start.column}:e.index&&(r=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={line:r.line,column:r.column+1}),{start:r,end:n}}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}markDirty(){if(this[$b]){this[$b]=!1;let e=this;for(;e=e.parent;)e[$b]=!1}}get proxyOf(){return this}};UU.exports=Jc;Jc.default=Jc});var ef=m((qAt,HU)=>{"use strict";var nLe=Xc(),Zc=class extends nLe{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};HU.exports=Zc;Zc.default=Zc});var GU=m(yR=>{var VU="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");yR.encode=function(t){if(0<=t&&t<VU.length)return VU[t];throw new TypeError("Must be between 0 and 63: "+t)};yR.decode=function(t){var e=65,r=90,n=97,i=122,s=48,o=57,a=43,u=47,l=26,c=52;return e<=t&&t<=r?t-e:n<=t&&t<=i?t-n+l:s<=t&&t<=o?t-s+c:t==a?62:t==u?63:-1}});var wR=m(vR=>{var KU=GU(),bR=5,YU=1<<bR,QU=YU-1,JU=YU;function iLe(t){return t<0?(-t<<1)+1:(t<<1)+0}function sLe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}vR.encode=function(e){var r="",n,i=iLe(e);do n=i&QU,i>>>=bR,i>0&&(n|=JU),r+=KU.encode(n);while(i>0);return r};vR.decode=function(e,r,n){var i=e.length,s=0,o=0,a,u;do{if(r>=i)throw new Error("Expected more digits in base 64 VLQ value.");if(u=KU.decode(e.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(u&JU),u&=QU,s=s+(u<<o),o+=bR}while(a);n.value=sLe(s),n.rest=r}});var Tu=m(ur=>{function oLe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}ur.getArg=oLe;var XU=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,aLe=/^data:.+\,.+$/;function tf(t){var e=t.match(XU);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}ur.urlParse=tf;function Pu(t){var e="";return t.scheme&&(e+=t.scheme+":"),e+="//",t.auth&&(e+=t.auth+"@"),t.host&&(e+=t.host),t.port&&(e+=":"+t.port),t.path&&(e+=t.path),e}ur.urlGenerate=Pu;var uLe=32;function lLe(t){var e=[];return function(r){for(var n=0;n<e.length;n++)if(e[n].input===r){var i=e[0];return e[0]=e[n],e[n]=i,e[0].result}var s=t(r);return e.unshift({input:r,result:s}),e.length>uLe&&e.pop(),s}}var _R=lLe(function(e){var r=e,n=tf(e);if(n){if(!n.path)return e;r=n.path}for(var i=ur.isAbsolute(r),s=[],o=0,a=0;;)if(o=a,a=r.indexOf("/",o),a===-1){s.push(r.slice(o));break}else for(s.push(r.slice(o,a));a<r.length&&r[a]==="/";)a++;for(var u,l=0,a=s.length-1;a>=0;a--)u=s[a],u==="."?s.splice(a,1):u===".."?l++:l>0&&(u===""?(s.splice(a+1,l),l=0):(s.splice(a,2),l--));return r=s.join("/"),r===""&&(r=i?"/":"."),n?(n.path=r,Pu(n)):r});ur.normalize=_R;function ZU(t,e){t===""&&(t="."),e===""&&(e=".");var r=tf(e),n=tf(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Pu(r);if(r||e.match(aLe))return e;if(n&&!n.host&&!n.path)return n.host=e,Pu(n);var i=e.charAt(0)==="/"?e:_R(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Pu(n)):i}ur.join=ZU;ur.isAbsolute=function(t){return t.charAt(0)==="/"||XU.test(t)};function cLe(t,e){t===""&&(t="."),t=t.replace(/\/$/,"");for(var r=0;e.indexOf(t+"/")!==0;){var n=t.lastIndexOf("/");if(n<0||(t=t.slice(0,n),t.match(/^([^\/]+:\/)?\/*$/)))return e;++r}return Array(r+1).join("../")+e.substr(t.length+1)}ur.relative=cLe;var eH=function(){var t=Object.create(null);return!("__proto__"in t)}();function tH(t){return t}function fLe(t){return rH(t)?"$"+t:t}ur.toSetString=eH?tH:fLe;function dLe(t){return rH(t)?t.slice(1):t}ur.fromSetString=eH?tH:dLe;function rH(t){if(!t)return!1;var e=t.length;if(e<9||t.charCodeAt(e-1)!==95||t.charCodeAt(e-2)!==95||t.charCodeAt(e-3)!==111||t.charCodeAt(e-4)!==116||t.charCodeAt(e-5)!==111||t.charCodeAt(e-6)!==114||t.charCodeAt(e-7)!==112||t.charCodeAt(e-8)!==95||t.charCodeAt(e-9)!==95)return!1;for(var r=e-10;r>=0;r--)if(t.charCodeAt(r)!==36)return!1;return!0}function pLe(t,e,r){var n=is(t.source,e.source);return n!==0||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:is(t.name,e.name)}ur.compareByOriginalPositions=pLe;function hLe(t,e,r){var n;return n=t.originalLine-e.originalLine,n!==0||(n=t.originalColumn-e.originalColumn,n!==0||r)||(n=t.generatedColumn-e.generatedColumn,n!==0)||(n=t.generatedLine-e.generatedLine,n!==0)?n:is(t.name,e.name)}ur.compareByOriginalPositionsNoSource=hLe;function gLe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=is(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:is(t.name,e.name)}ur.compareByGeneratedPositionsDeflated=gLe;function mLe(t,e,r){var n=t.generatedColumn-e.generatedColumn;return n!==0||r||(n=is(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:is(t.name,e.name)}ur.compareByGeneratedPositionsDeflatedNoLine=mLe;function is(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function yLe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=is(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:is(t.name,e.name)}ur.compareByGeneratedPositionsInflated=yLe;function bLe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}ur.parseSourceMapInput=bLe;function vLe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=tf(r);if(!n)throw new Error("sourceMapURL could not be parsed");if(n.path){var i=n.path.lastIndexOf("/");i>=0&&(n.path=n.path.substring(0,i+1))}e=ZU(Pu(n),e)}return _R(e)}ur.computeSourceURL=vLe});var kR=m(nH=>{var xR=Tu(),SR=Object.prototype.hasOwnProperty,zo=typeof Map<"u";function ss(){this._array=[],this._set=zo?new Map:Object.create(null)}ss.fromArray=function(e,r){for(var n=new ss,i=0,s=e.length;i<s;i++)n.add(e[i],r);return n};ss.prototype.size=function(){return zo?this._set.size:Object.getOwnPropertyNames(this._set).length};ss.prototype.add=function(e,r){var n=zo?e:xR.toSetString(e),i=zo?this.has(e):SR.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(zo?this._set.set(e,s):this._set[n]=s)};ss.prototype.has=function(e){if(zo)return this._set.has(e);var r=xR.toSetString(e);return SR.call(this._set,r)};ss.prototype.indexOf=function(e){if(zo){var r=this._set.get(e);if(r>=0)return r}else{var n=xR.toSetString(e);if(SR.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};ss.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};ss.prototype.toArray=function(){return this._array.slice()};nH.ArraySet=ss});var oH=m(sH=>{var iH=Tu();function wLe(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||iH.compareByGeneratedPositionsInflated(t,e)<=0}function Bb(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}Bb.prototype.unsortedForEach=function(e,r){this._array.forEach(e,r)};Bb.prototype.add=function(e){wLe(this._last,e)?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))};Bb.prototype.toArray=function(){return this._sorted||(this._array.sort(iH.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};sH.MappingList=Bb});var ER=m(aH=>{var rf=wR(),Yt=Tu(),Wb=kR().ArraySet,_Le=oH().MappingList;function In(t){t||(t={}),this._file=Yt.getArg(t,"file",null),this._sourceRoot=Yt.getArg(t,"sourceRoot",null),this._skipValidation=Yt.getArg(t,"skipValidation",!1),this._sources=new Wb,this._names=new Wb,this._mappings=new _Le,this._sourcesContents=null}In.prototype._version=3;In.fromSourceMap=function(e){var r=e.sourceRoot,n=new In({file:e.file,sourceRoot:r});return e.eachMapping(function(i){var s={generated:{line:i.generatedLine,column:i.generatedColumn}};i.source!=null&&(s.source=i.source,r!=null&&(s.source=Yt.relative(r,s.source)),s.original={line:i.originalLine,column:i.originalColumn},i.name!=null&&(s.name=i.name)),n.addMapping(s)}),e.sources.forEach(function(i){var s=i;r!==null&&(s=Yt.relative(r,i)),n._sources.has(s)||n._sources.add(s);var o=e.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};In.prototype.addMapping=function(e){var r=Yt.getArg(e,"generated"),n=Yt.getArg(e,"original",null),i=Yt.getArg(e,"source",null),s=Yt.getArg(e,"name",null);this._skipValidation||this._validateMapping(r,n,i,s),i!=null&&(i=String(i),this._sources.has(i)||this._sources.add(i)),s!=null&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:r.line,generatedColumn:r.column,originalLine:n!=null&&n.line,originalColumn:n!=null&&n.column,source:i,name:s})};In.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=Yt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Yt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Yt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};In.prototype.applySourceMap=function(e,r,n){var i=r;if(r==null){if(e.file==null)throw new Error(`SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map's "file" property. Both were omitted.`);i=e.file}var s=this._sourceRoot;s!=null&&(i=Yt.relative(s,i));var o=new Wb,a=new Wb;this._mappings.unsortedForEach(function(u){if(u.source===i&&u.originalLine!=null){var l=e.originalPositionFor({line:u.originalLine,column:u.originalColumn});l.source!=null&&(u.source=l.source,n!=null&&(u.source=Yt.join(n,u.source)),s!=null&&(u.source=Yt.relative(s,u.source)),u.originalLine=l.line,u.originalColumn=l.column,l.name!=null&&(u.name=l.name))}var c=u.source;c!=null&&!o.has(c)&&o.add(c);var f=u.name;f!=null&&!a.has(f)&&a.add(f)},this),this._sources=o,this._names=a,e.sources.forEach(function(u){var l=e.sourceContentFor(u);l!=null&&(n!=null&&(u=Yt.join(n,u)),s!=null&&(u=Yt.relative(s,u)),this.setSourceContent(u,l))},this)};In.prototype._validateMapping=function(e,r,n,i){if(r&&typeof r.line!="number"&&typeof r.column!="number")throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if(!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0&&!r&&!n&&!i)){if(e&&"line"in e&&"column"in e&&r&&"line"in r&&"column"in r&&e.line>0&&e.column>=0&&r.line>0&&r.column>=0&&n)return;throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:r,name:i}))}};In.prototype._serializeMappings=function(){for(var e=0,r=1,n=0,i=0,s=0,o=0,a="",u,l,c,f,d=this._mappings.toArray(),p=0,h=d.length;p<h;p++){if(l=d[p],u="",l.generatedLine!==r)for(e=0;l.generatedLine!==r;)u+=";",r++;else if(p>0){if(!Yt.compareByGeneratedPositionsInflated(l,d[p-1]))continue;u+=","}u+=rf.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=rf.encode(f-o),o=f,u+=rf.encode(l.originalLine-1-i),i=l.originalLine-1,u+=rf.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=rf.encode(c-s),s=c)),a+=u}return a};In.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Yt.relative(r,n));var i=Yt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};In.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return this._file!=null&&(e.file=this._file),this._sourceRoot!=null&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e};In.prototype.toString=function(){return JSON.stringify(this.toJSON())};aH.SourceMapGenerator=In});var uH=m(Uo=>{Uo.GREATEST_LOWER_BOUND=1;Uo.LEAST_UPPER_BOUND=2;function CR(t,e,r,n,i,s){var o=Math.floor((e-t)/2)+t,a=i(r,n[o],!0);return a===0?o:a>0?e-o>1?CR(o,e,r,n,i,s):s==Uo.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?CR(t,o,r,n,i,s):s==Uo.LEAST_UPPER_BOUND?o:t<0?-1:t}Uo.search=function(e,r,n,i){if(r.length===0)return-1;var s=CR(-1,r.length,e,r,n,i||Uo.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var fH=m(cH=>{function xLe(t){function e(i,s,o){var a=i[s];i[s]=i[o],i[o]=a}function r(i,s){return Math.round(i+Math.random()*(s-i))}function n(i,s,o,a){if(o<a){var u=r(o,a),l=o-1;e(i,u,a);for(var c=i[a],f=o;f<a;f++)s(i[f],c,!1)<=0&&(l+=1,e(i,l,f));e(i,l+1,f);var d=l+1;n(i,s,o,d-1),n(i,s,d+1,a)}}return n}function SLe(t){let e=xLe.toString();return new Function(`return ${e}`)()(t)}var lH=new WeakMap;cH.quickSort=function(t,e,r=0){let n=lH.get(e);n===void 0&&(n=SLe(e),lH.set(e,n)),n(t,e,r,t.length-1)}});var hH=m(zb=>{var xe=Tu(),OR=uH(),Mu=kR().ArraySet,kLe=wR(),nf=fH().quickSort;function St(t,e){var r=t;return typeof t=="string"&&(r=xe.parseSourceMapInput(t)),r.sections!=null?new ai(r,e):new Sr(r,e)}St.fromSourceMap=function(t,e){return Sr.fromSourceMap(t,e)};St.prototype._version=3;St.prototype.__generatedMappings=null;Object.defineProperty(St.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}});St.prototype.__originalMappings=null;Object.defineProperty(St.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}});St.prototype._charIsMappingSeparator=function(e,r){var n=e.charAt(r);return n===";"||n===","};St.prototype._parseMappings=function(e,r){throw new Error("Subclasses must implement _parseMappings")};St.GENERATED_ORDER=1;St.ORIGINAL_ORDER=2;St.GREATEST_LOWER_BOUND=1;St.LEAST_UPPER_BOUND=2;St.prototype.eachMapping=function(e,r,n){var i=r||null,s=n||St.GENERATED_ORDER,o;switch(s){case St.GENERATED_ORDER:o=this._generatedMappings;break;case St.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}for(var a=this.sourceRoot,u=e.bind(i),l=this._names,c=this._sources,f=this._sourceMapURL,d=0,p=o.length;d<p;d++){var h=o[d],y=h.source===null?null:c.at(h.source);y=xe.computeSourceURL(a,y,f),u({source:y,generatedLine:h.generatedLine,generatedColumn:h.generatedColumn,originalLine:h.originalLine,originalColumn:h.originalColumn,name:h.name===null?null:l.at(h.name)})}};St.prototype.allGeneratedPositionsFor=function(e){var r=xe.getArg(e,"line"),n={source:xe.getArg(e,"source"),originalLine:r,originalColumn:xe.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var i=[],s=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",xe.compareByOriginalPositions,OR.LEAST_UPPER_BOUND);if(s>=0){var o=this._originalMappings[s];if(e.column===void 0)for(var a=o.originalLine;o&&o.originalLine===a;)i.push({line:xe.getArg(o,"generatedLine",null),column:xe.getArg(o,"generatedColumn",null),lastColumn:xe.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var u=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==u;)i.push({line:xe.getArg(o,"generatedLine",null),column:xe.getArg(o,"generatedColumn",null),lastColumn:xe.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};zb.SourceMapConsumer=St;function Sr(t,e){var r=t;typeof t=="string"&&(r=xe.parseSourceMapInput(t));var n=xe.getArg(r,"version"),i=xe.getArg(r,"sources"),s=xe.getArg(r,"names",[]),o=xe.getArg(r,"sourceRoot",null),a=xe.getArg(r,"sourcesContent",null),u=xe.getArg(r,"mappings"),l=xe.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=xe.normalize(o)),i=i.map(String).map(xe.normalize).map(function(c){return o&&xe.isAbsolute(o)&&xe.isAbsolute(c)?xe.relative(o,c):c}),this._names=Mu.fromArray(s.map(String),!0),this._sources=Mu.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return xe.computeSourceURL(o,c,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this._sourceMapURL=e,this.file=l}Sr.prototype=Object.create(St.prototype);Sr.prototype.consumer=St;Sr.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=xe.relative(this.sourceRoot,e)),this._sources.has(e))return this._sources.indexOf(e);var r;for(r=0;r<this._absoluteSources.length;++r)if(this._absoluteSources[r]==t)return r;return-1};Sr.fromSourceMap=function(e,r){var n=Object.create(Sr.prototype),i=n._names=Mu.fromArray(e._names.toArray(),!0),s=n._sources=Mu.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=r,n._absoluteSources=n._sources.toArray().map(function(p){return xe.computeSourceURL(n.sourceRoot,p,r)});for(var o=e._mappings.toArray().slice(),a=n.__generatedMappings=[],u=n.__originalMappings=[],l=0,c=o.length;l<c;l++){var f=o[l],d=new pH;d.generatedLine=f.generatedLine,d.generatedColumn=f.generatedColumn,f.source&&(d.source=s.indexOf(f.source),d.originalLine=f.originalLine,d.originalColumn=f.originalColumn,f.name&&(d.name=i.indexOf(f.name)),u.push(d)),a.push(d)}return nf(n.__originalMappings,xe.compareByOriginalPositions),n};Sr.prototype._version=3;Object.defineProperty(Sr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function pH(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var DR=xe.compareByGeneratedPositionsDeflatedNoLine;function dH(t,e){let r=t.length,n=t.length-e;if(!(n<=1))if(n==2){let i=t[e],s=t[e+1];DR(i,s)>0&&(t[e]=s,t[e+1]=i)}else if(n<20)for(let i=e;i<r;i++)for(let s=i;s>e;s--){let o=t[s-1],a=t[s];if(DR(o,a)<=0)break;t[s-1]=a,t[s]=o}else nf(t,DR,e)}Sr.prototype._parseMappings=function(e,r){var n=1,i=0,s=0,o=0,a=0,u=0,l=e.length,c=0,f={},d={},p=[],h=[],y,b,g,v,w;let _=0;for(;c<l;)if(e.charAt(c)===";")n++,c++,i=0,dH(h,_),_=h.length;else if(e.charAt(c)===",")c++;else{for(y=new pH,y.generatedLine=n,v=c;v<l&&!this._charIsMappingSeparator(e,v);v++);for(b=e.slice(c,v),g=[];c<v;)kLe.decode(e,c,d),w=d.value,c=d.rest,g.push(w);if(g.length===2)throw new Error("Found a source, but no line and column");if(g.length===3)throw new Error("Found a source and line, but no column");if(y.generatedColumn=i+g[0],i=y.generatedColumn,g.length>1&&(y.source=a+g[1],a+=g[1],y.originalLine=s+g[2],s=y.originalLine,y.originalLine+=1,y.originalColumn=o+g[3],o=y.originalColumn,g.length>4&&(y.name=u+g[4],u+=g[4])),h.push(y),typeof y.originalLine=="number"){let C=y.source;for(;p.length<=C;)p.push(null);p[C]===null&&(p[C]=[]),p[C].push(y)}}dH(h,_),this.__generatedMappings=h;for(var x=0;x<p.length;x++)p[x]!=null&&nf(p[x],xe.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};Sr.prototype._findMapping=function(e,r,n,i,s,o){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[i]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[i]);return OR.search(e,r,s,o)};Sr.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var r=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(r.generatedLine===n.generatedLine){r.lastGeneratedColumn=n.generatedColumn-1;continue}}r.lastGeneratedColumn=1/0}};Sr.prototype.originalPositionFor=function(e){var r={generatedLine:xe.getArg(e,"line"),generatedColumn:xe.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",xe.compareByGeneratedPositionsDeflated,xe.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=xe.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=xe.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=xe.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:xe.getArg(i,"originalLine",null),column:xe.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};Sr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};Sr.prototype.sourceContentFor=function(e,r){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var i=e;this.sourceRoot!=null&&(i=xe.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=xe.urlParse(this.sourceRoot))){var o=i.replace(/^file:\/\//,"");if(s.scheme=="file"&&this._sources.has(o))return this.sourcesContent[this._sources.indexOf(o)];if((!s.path||s.path=="/")&&this._sources.has("/"+i))return this.sourcesContent[this._sources.indexOf("/"+i)]}if(r)return null;throw new Error('"'+i+'" is not in the SourceMap.')};Sr.prototype.generatedPositionFor=function(e){var r=xe.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:xe.getArg(e,"line"),originalColumn:xe.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",xe.compareByOriginalPositions,xe.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:xe.getArg(s,"generatedLine",null),column:xe.getArg(s,"generatedColumn",null),lastColumn:xe.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};zb.BasicSourceMapConsumer=Sr;function ai(t,e){var r=t;typeof t=="string"&&(r=xe.parseSourceMapInput(t));var n=xe.getArg(r,"version"),i=xe.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Mu,this._names=new Mu;var s={line:-1,column:0};this._sections=i.map(function(o){if(o.url)throw new Error("Support for url field in sections not implemented.");var a=xe.getArg(o,"offset"),u=xe.getArg(a,"line"),l=xe.getArg(a,"column");if(u<s.line||u===s.line&&l<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=a,{generatedOffset:{generatedLine:u+1,generatedColumn:l+1},consumer:new St(xe.getArg(o,"map"),e)}})}ai.prototype=Object.create(St.prototype);ai.prototype.constructor=St;ai.prototype._version=3;Object.defineProperty(ai.prototype,"sources",{get:function(){for(var t=[],e=0;e<this._sections.length;e++)for(var r=0;r<this._sections[e].consumer.sources.length;r++)t.push(this._sections[e].consumer.sources[r]);return t}});ai.prototype.originalPositionFor=function(e){var r={generatedLine:xe.getArg(e,"line"),generatedColumn:xe.getArg(e,"column")},n=OR.search(r,this._sections,function(s,o){var a=s.generatedLine-o.generatedOffset.generatedLine;return a||s.generatedColumn-o.generatedOffset.generatedColumn}),i=this._sections[n];return i?i.consumer.originalPositionFor({line:r.generatedLine-(i.generatedOffset.generatedLine-1),column:r.generatedColumn-(i.generatedOffset.generatedLine===r.generatedLine?i.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}};ai.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};ai.prototype.sourceContentFor=function(e,r){for(var n=0;n<this._sections.length;n++){var i=this._sections[n],s=i.consumer.sourceContentFor(e,!0);if(s)return s}if(r)return null;throw new Error('"'+e+'" is not in the SourceMap.')};ai.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(xe.getArg(e,"source"))!==-1){var i=n.consumer.generatedPositionFor(e);if(i){var s={line:i.line+(n.generatedOffset.generatedLine-1),column:i.column+(n.generatedOffset.generatedLine===i.line?n.generatedOffset.generatedColumn-1:0)};return s}}}return{line:null,column:null}};ai.prototype._parseMappings=function(e,r){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var i=this._sections[n],s=i.consumer._generatedMappings,o=0;o<s.length;o++){var a=s[o],u=i.consumer._sources.at(a.source);u=xe.computeSourceURL(i.consumer.sourceRoot,u,this._sourceMapURL),this._sources.add(u),u=this._sources.indexOf(u);var l=null;a.name&&(l=i.consumer._names.at(a.name),this._names.add(l),l=this._names.indexOf(l));var c={source:u,generatedLine:a.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:a.generatedColumn+(i.generatedOffset.generatedLine===a.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:a.originalLine,originalColumn:a.originalColumn,name:l};this.__generatedMappings.push(c),typeof c.originalLine=="number"&&this.__originalMappings.push(c)}nf(this.__generatedMappings,xe.compareByGeneratedPositionsDeflated),nf(this.__originalMappings,xe.compareByOriginalPositions)};zb.IndexedSourceMapConsumer=ai});var mH=m(gH=>{var ELe=ER().SourceMapGenerator,Ub=Tu(),CLe=/(\r?\n)/,DLe=10,Fu="$$$isSourceNode$$$";function mn(t,e,r,n,i){this.children=[],this.sourceContents={},this.line=t??null,this.column=e??null,this.source=r??null,this.name=i??null,this[Fu]=!0,n!=null&&this.add(n)}mn.fromStringWithSourceMap=function(e,r,n){var i=new mn,s=e.split(CLe),o=0,a=function(){var d=h(),p=h()||"";return d+p;function h(){return o<s.length?s[o++]:void 0}},u=1,l=0,c=null;return r.eachMapping(function(d){if(c!==null)if(u<d.generatedLine)f(c,a()),u++,l=0;else{var p=s[o]||"",h=p.substr(0,d.generatedColumn-l);s[o]=p.substr(d.generatedColumn-l),l=d.generatedColumn,f(c,h),c=d;return}for(;u<d.generatedLine;)i.add(a()),u++;if(l<d.generatedColumn){var p=s[o]||"";i.add(p.substr(0,d.generatedColumn)),s[o]=p.substr(d.generatedColumn),l=d.generatedColumn}c=d},this),o<s.length&&(c&&f(c,a()),i.add(s.splice(o).join(""))),r.sources.forEach(function(d){var p=r.sourceContentFor(d);p!=null&&(n!=null&&(d=Ub.join(n,d)),i.setSourceContent(d,p))}),i;function f(d,p){if(d===null||d.source===void 0)i.add(p);else{var h=n?Ub.join(n,d.source):d.source;i.add(new mn(d.originalLine,d.originalColumn,h,p,d.name))}}};mn.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[Fu]||typeof e=="string")e&&this.children.push(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};mn.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[Fu]||typeof e=="string")this.children.unshift(e);else throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);return this};mn.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[Fu]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};mn.prototype.join=function(e){var r,n,i=this.children.length;if(i>0){for(r=[],n=0;n<i-1;n++)r.push(this.children[n]),r.push(e);r.push(this.children[n]),this.children=r}return this};mn.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[Fu]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};mn.prototype.setSourceContent=function(e,r){this.sourceContents[Ub.toSetString(e)]=r};mn.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][Fu]&&this.children[r].walkSourceContents(e);for(var i=Object.keys(this.sourceContents),r=0,n=i.length;r<n;r++)e(Ub.fromSetString(i[r]),this.sourceContents[i[r]])};mn.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};mn.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new ELe(e),i=!1,s=null,o=null,a=null,u=null;return this.walk(function(l,c){r.code+=l,c.source!==null&&c.line!==null&&c.column!==null?((s!==c.source||o!==c.line||a!==c.column||u!==c.name)&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name}),s=c.source,o=c.line,a=c.column,u=c.name,i=!0):i&&(n.addMapping({generated:{line:r.line,column:r.column}}),s=null,i=!1);for(var f=0,d=l.length;f<d;f++)l.charCodeAt(f)===DLe?(r.line++,r.column=0,f+1===d?(s=null,i=!1):i&&n.addMapping({source:c.source,original:{line:c.line,column:c.column},generated:{line:r.line,column:r.column},name:c.name})):r.column++}),this.walkSourceContents(function(l,c){n.setSourceContent(l,c)}),{code:r.code,map:n}};gH.SourceNode=mn});var Ho=m(Hb=>{Hb.SourceMapGenerator=ER().SourceMapGenerator;Hb.SourceMapConsumer=hH().SourceMapConsumer;Hb.SourceNode=mH().SourceNode});var qR=m((BAt,yH)=>{var OLe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",qLe=(t,e=21)=>(r=e)=>{let n="",i=r;for(;i--;)n+=t[Math.random()*t.length|0];return n},RLe=(t=21)=>{let e="",r=t;for(;r--;)e+=OLe[Math.random()*64|0];return e};yH.exports={nanoid:RLe,customAlphabet:qLe}});var AR=m((WAt,wH)=>{"use strict";var{SourceMapConsumer:bH,SourceMapGenerator:vH}=Ho(),{existsSync:ALe,readFileSync:PLe}=require("fs"),{dirname:RR,join:TLe}=require("path");function MLe(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var sf=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=RR(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new bH(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,r){return e?e.substr(0,r.length)===r:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/;if(i.test(e)||s.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return MLe(e.substr(RegExp.lastMatch.length));let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}loadFile(e){if(this.root=RR(e),ALe(e))return this.mapFile=e,PLe(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof bH)return vH.fromSourceMap(r).toString();if(r instanceof vH)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=TLe(RR(e),n)),this.loadFile(n)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};wH.exports=sf;sf.default=sf});var of=m((zAt,kH)=>{"use strict";var{SourceMapConsumer:FLe,SourceMapGenerator:LLe}=Ho(),{fileURLToPath:_H,pathToFileURL:Vb}=require("url"),{resolve:MR,isAbsolute:FR}=require("path"),{nanoid:ILe}=qR(),PR=dR(),xH=Nb(),NLe=AR(),TR=Symbol("fromOffsetCache"),jLe=Boolean(FLe&&LLe),SH=Boolean(MR&&FR),Lu=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!SH||/^\w+:\/\//.test(r.from)||FR(r.from)?this.file=r.from:this.file=MR(r.from)),SH&&jLe){let n=new NLe(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+ILe(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[TR])n=this[TR];else{let s=this.css.split(`
|
|
99
|
+
`);n=new Array(s.length);let o=0;for(let a=0,u=s.length;a<u;a++)n[a]=o,o+=s[a].length+1;this[TR]=n}r=n[n.length-1];let i=0;if(e>=r)i=n.length-1;else{let s=n.length-2,o;for(;i<s;)if(o=i+(s-i>>1),e<n[o])s=o-1;else if(e>=n[o+1])i=o+1;else{i=o;break}}return{line:i+1,col:e-n[i]+1}}error(e,r,n,i={}){let s,o,a;if(r&&typeof r=="object"){let l=r,c=n;if(typeof r.offset=="number"){let f=this.fromOffset(l.offset);r=f.line,n=f.col}else r=l.line,n=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,a=f.col}else o=c.line,a=c.column}else if(!n){let l=this.fromOffset(r);r=l.line,n=l.col}let u=this.origin(r,n,o,a);return u?s=new xH(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,i.plugin):s=new xH(e,o===void 0?r:{line:r,column:n},o===void 0?n:{line:o,column:a},this.css,this.file,i.plugin),s.input={line:r,column:n,endLine:o,endColumn:a,source:this.css},this.file&&(Vb&&(s.input.url=Vb(this.file).toString()),s.input.file=this.file),s}origin(e,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),o=s.originalPositionFor({line:e,column:r});if(!o.source)return!1;let a;typeof n=="number"&&(a=s.originalPositionFor({line:n,column:i}));let u;FR(o.source)?u=Vb(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||Vb(this.map.mapFile));let l={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(_H)l.file=_H(u);else throw new Error("file: protocol is not available in this PostCSS build");let c=s.sourceContentFor(o.source);return c&&(l.source=c),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:MR(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};kH.exports=Lu;Lu.default=Lu;PR&&PR.registerInput&&PR.registerInput(Lu)});var IR=m((UAt,RH)=>{"use strict";var{SourceMapConsumer:CH,SourceMapGenerator:Gb}=Ho(),{dirname:Kb,resolve:DH,relative:OH,sep:qH}=require("path"),{pathToFileURL:EH}=require("url"),$Le=of(),BLe=Boolean(CH&&Gb),WLe=Boolean(Kb&&DH&&OH&&qH),LR=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new $Le(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;if(n&&!e[n]){e[n]=!0;let i=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(i,r.source.input.css)}}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||Kb(e.file),i;this.mapOpts.sourcesContent===!1?(i=new CH(e.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
|
|
100
|
+
`;this.css.includes(`\r
|
|
101
|
+
`)&&(r=`\r
|
|
102
|
+
`),this.css+=r+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=Gb.fromSourceMap(e)}else this.map=new Gb({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(e.indexOf("<")===0||/^\w+:\/\//.test(e)||this.mapOpts.absolute)return e;let r=this.opts.to?Kb(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(r=Kb(DH(r,this.mapOpts.annotation))),e=OH(r,e),e}toUrl(e){return qH==="\\"&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(EH)return EH(e).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new Gb({file:this.outputFile()});let e=1,r=1,n="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}},s,o;this.stringify(this.root,(a,u,l)=>{if(this.css+=a,u&&l!=="end"&&(i.generated.line=e,i.generated.column=r-1,u.source&&u.source.start?(i.source=this.sourcePath(u),i.original.line=u.source.start.line,i.original.column=u.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),s=a.match(/\n/g),s?(e+=s.length,o=a.lastIndexOf(`
|
|
103
|
+
`),r=a.length-o):r+=a.length,u&&l!=="start"){let c=u.parent||{raws:{}};(!(u.type==="decl"||u.type==="atrule"&&!u.nodes)||u!==c.last||c.raws.semicolon)&&(u.source&&u.source.end?(i.source=this.sourcePath(u),i.original.line=u.source.end.line,i.original.column=u.source.end.column-1,i.generated.line=e,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=r-1,this.map.addMapping(i)))}})}generate(){if(this.clearAnnotation(),WLe&&BLe&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}};RH.exports=LR});var uf=m((HAt,AH)=>{"use strict";var zLe=Xc(),af=class extends zLe{constructor(e){super(e),this.type="comment"}};AH.exports=af;af.default=af});var Ws=m((VAt,$H)=>{"use strict";var{isClean:PH,my:TH}=jb(),MH=ef(),FH=uf(),ULe=Xc(),LH,NR,jR,IH;function NH(t){return t.map(e=>(e.nodes&&(e.nodes=NH(e.nodes)),delete e.source,e))}function jH(t){if(t[PH]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)jH(e)}var yn=class extends ULe{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(s){throw r.addToError(s)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}insertBefore(e,r){let n=this.index(e),i=n===0?"prepend":!1,s=this.normalize(r,this.proxyOf.nodes[n],i).reverse();n=this.index(e);for(let a of s)this.proxyOf.nodes.splice(n,0,a);let o;for(let a in this.indexes)o=this.indexes[a],n<=o&&(this.indexes[a]=o+s.length);return this.markDirty(),this}insertAfter(e,r){let n=this.index(e),i=this.normalize(r,this.proxyOf.nodes[n]).reverse();n=this.index(e);for(let o of i)this.proxyOf.nodes.splice(n+1,0,o);let s;for(let o in this.indexes)s=this.indexes[o],n<s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,r){if(typeof e=="string")e=NH(LH(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new MH(e)]}else if(e.selector)e=[new NR(e)];else if(e.name)e=[new jR(e)];else if(e.text)e=[new FH(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[TH]||yn.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[PH]&&jH(i),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):r==="every"||r==="some"?n=>e[r]((i,...s)=>n(i.toProxy(),...s)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};yn.registerParse=t=>{LH=t};yn.registerRule=t=>{NR=t};yn.registerAtRule=t=>{jR=t};yn.registerRoot=t=>{IH=t};$H.exports=yn;yn.default=yn;yn.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,jR.prototype):t.type==="rule"?Object.setPrototypeOf(t,NR.prototype):t.type==="decl"?Object.setPrototypeOf(t,MH.prototype):t.type==="comment"?Object.setPrototypeOf(t,FH.prototype):t.type==="root"&&Object.setPrototypeOf(t,IH.prototype),t[TH]=!0,t.nodes&&t.nodes.forEach(e=>{yn.rebuild(e)})}});var Yb=m((GAt,zH)=>{"use strict";var HLe=Ws(),BH,WH,Vo=class extends HLe{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new BH(new WH,this,e).stringify()}};Vo.registerLazyResult=t=>{BH=t};Vo.registerProcessor=t=>{WH=t};zH.exports=Vo;Vo.default=Vo});var $R=m((KAt,HH)=>{"use strict";var UH={};HH.exports=function(e){UH[e]||(UH[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Qb=m((YAt,GH)=>{"use strict";var VH=Ws(),Iu=class extends VH{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};GH.exports=Iu;Iu.default=Iu;VH.registerAtRule(Iu)});var Nu=m((QAt,JH)=>{"use strict";var KH=Ws(),YH,QH,zs=class extends KH{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let s of i)s.raws.before=r.raws.before}return i}toResult(e={}){return new YH(new QH,this,e).stringify()}};zs.registerLazyResult=t=>{YH=t};zs.registerProcessor=t=>{QH=t};JH.exports=zs;zs.default=zs;KH.registerRoot(zs)});var BR=m((JAt,XH)=>{"use strict";var lf={split(t,e,r){let n=[],i="",s=!1,o=0,a=!1,u="",l=!1;for(let c of t)l?l=!1:c==="\\"?l=!0:a?c===u&&(a=!1):c==='"'||c==="'"?(a=!0,u=c):c==="("?o+=1:c===")"?o>0&&(o-=1):o===0&&e.includes(c)&&(s=!0),s?(i!==""&&n.push(i.trim()),i="",s=!1):i+=c;return(r||i!=="")&&n.push(i.trim()),n},space(t){let e=[" ",`
|
|
104
|
+
`," "];return lf.split(t,e)},comma(t){return lf.split(t,[","],!0)}};XH.exports=lf;lf.default=lf});var Jb=m((XAt,eV)=>{"use strict";var ZH=Ws(),VLe=BR(),ju=class extends ZH{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return VLe.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};eV.exports=ju;ju.default=ju;ZH.registerRule(ju)});var iV=m((ZAt,nV)=>{"use strict";var GLe=ef(),KLe=fR(),YLe=uf(),QLe=Qb(),JLe=Nu(),tV=Jb(),rV={empty:!0,space:!0};function XLe(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var WR=class{constructor(e){this.input=e,this.root=new JLe,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=KLe(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let r=new YLe;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}emptyRule(e){let r=new tV;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}other(e){let r=!1,n=null,i=!1,s=null,o=[],a=e[1].startsWith("--"),u=[],l=e;for(;l;){if(n=l[0],u.push(l),n==="("||n==="[")s||(s=l),o.push(n==="("?")":"]");else if(a&&i&&n==="{")s||(s=l),o.push("}");else if(o.length===0)if(n===";")if(i){this.decl(u,a);return}else break;else if(n==="{"){this.rule(u);return}else if(n==="}"){this.tokenizer.back(u.pop()),r=!0;break}else n===":"&&(i=!0);else n===o[o.length-1]&&(o.pop(),o.length===0&&(s=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),o.length>0&&this.unclosedBracket(s),r&&i){if(!a)for(;u.length&&(l=u[u.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let r=new tV;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}decl(e,r){let n=new GLe;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||XLe(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let s;for(;e.length;)if(s=e.shift(),s[0]===":"){n.raws.between+=s[1];break}else s[0]==="word"&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(s=e[l],s[1].toLowerCase()==="!important"){n.important=!0;let c=this.stringFrom(e,l);c=this.spacesFromEnd(e)+c,c!==" !important"&&(n.raws.important=c);break}else if(s[1].toLowerCase()==="important"){let c=e.slice(0),f="";for(let d=l;d>0;d--){let p=c[d][0];if(f.trim().indexOf("!")===0&&p!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=f,e=c)}if(s[0]!=="space"&&s[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(n.raws.between+=o.map(l=>l[1]).join(""),o=[]),this.raw(n,"value",o.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}atrule(e){let r=new QLe;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,s,o=!1,a=!1,u=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?l.push(n==="("?")":"]"):n==="{"&&l.length>0?l.push("}"):n===l[l.length-1]&&l.pop(),l.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(u.length>0){for(s=u.length-1,i=u[s];i&&i[0]==="space";)i=u[--s];i&&(r.source.end=this.getPosition(i[3]||i[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(r.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(r,"params",u),o&&(e=u[u.length-1],r.source.end=this.getPosition(e[3]||e[2]),this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{offset:e,line:r.line,column:r.col}}init(e,r){this.current.push(e),e.source={start:this.getPosition(r),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,r,n,i){let s,o,a=n.length,u="",l=!0,c,f;for(let d=0;d<a;d+=1)s=n[d],o=s[0],o==="space"&&d===a-1&&!i?l=!1:o==="comment"?(f=n[d-1]?n[d-1][0]:"empty",c=n[d+1]?n[d+1][0]:"empty",!rV[f]&&!rV[c]?u.slice(-1)===","?l=!1:u+=s[1]:l=!1):u+=s[1];if(!l){let d=n.reduce((p,h)=>p+h[1],"");e.raws[r]={value:u,raw:d}}e[r]=u}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}colon(e){let r=0,n,i,s;for(let[o,a]of e.entries()){if(n=a,i=n[0],i==="("&&(r+=1),i===")"&&(r-=1),r===0&&i===":")if(!s)this.doubleColon(n);else{if(s[0]==="word"&&s[1]==="progid")continue;return o}s=n}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let s=r-1;s>=0&&(i=e[s],!(i[0]!=="space"&&(n+=1,n===2)));s--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}};nV.exports=WR});var Zb=m((ePt,sV)=>{"use strict";var ZLe=Ws(),eIe=iV(),tIe=of();function Xb(t,e){let r=new tIe(t,e),n=new eIe(r);try{n.parse()}catch(i){throw process.env.NODE_ENV!=="production"&&i.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?i.message+=`
|
|
105
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?i.message+=`
|
|
106
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(i.message+=`
|
|
107
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return n.root}sV.exports=Xb;Xb.default=Xb;ZLe.registerParse(Xb)});var e0=m((tPt,lV)=>{"use strict";var{isClean:Ai,my:rIe}=jb(),nIe=IR(),iIe=Qc(),sIe=Ws(),oIe=Yb(),aIe=$R(),oV=Oc(),uIe=Zb(),lIe=Nu(),cIe={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},fIe={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},dIe={postcssPlugin:!0,prepare:!0,Once:!0},$u=0;function cf(t){return typeof t=="object"&&typeof t.then=="function"}function uV(t){let e=!1,r=cIe[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,$u,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,$u,r+"Exit"]:[r,r+"Exit"]}function aV(t){let e;return t.type==="document"?e=["Document",$u,"DocumentExit"]:t.type==="root"?e=["Root",$u,"RootExit"]:e=uV(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function zR(t){return t[Ai]=!1,t.nodes&&t.nodes.forEach(e=>zR(e)),t}var UR={},Pi=class{constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=zR(r);else if(r instanceof Pi||r instanceof oV)i=zR(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let s=uIe;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(o){this.processed=!0,this.error=o}i&&!i[rIe]&&sIe.rebuild(i)}this.result=new oV(e,i,n),this.helpers={...UR,result:this.result,postcss:UR},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,r){return process.env.NODE_ENV!=="production"&&("from"in this.opts||aIe("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,r)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(cf(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ai];)e[Ai]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=iIe;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new nIe(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(e){e[Ai]=!0;let r=uV(e);for(let n of r)if(n===$u)e.nodes&&e.each(i=>{i[Ai]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let s;try{s=i(r,this.helpers)}catch(o){throw this.handleError(o,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(cf(s))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return cf(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=n.postcssPlugin,e.setMessage();else if(n.postcssVersion&&process.env.NODE_ENV!=="production"){let i=n.postcssPlugin,s=n.postcssVersion,o=this.result.processor.version,a=s.split("."),u=o.split(".");(a[0]!==u[0]||parseInt(a[1])>parseInt(u[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+i+" uses "+s+". Perhaps this is the source of the error below.")}}catch(i){console&&console.error&&console.error(i)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(cf(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ai];){e[Ai]=!0;let r=[aV(e)];for(;r.length>0;){let n=this.visitTick(r);if(cf(n))try{await n}catch(i){let s=r[r.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(s=>n(s,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!fIe[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!dIe[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[o,a]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=o;try{return a(n.toProxy(),this.helpers)}catch(u){throw this.handleError(u,n)}}if(r.iterator!==0){let o=r.iterator,a;for(;a=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!a[Ai]){a[Ai]=!0,e.push(aV(a));return}r.iterator=0,delete n.indexes[o]}let s=r.events;for(;r.eventIndex<s.length;){let o=s[r.eventIndex];if(r.eventIndex+=1,o===$u){n.nodes&&n.nodes.length&&(n[Ai]=!0,r.iterator=n.getIterator());return}else if(this.listeners[o]){r.visitors=this.listeners[o];return}}e.pop()}};Pi.registerPostcss=t=>{UR=t};lV.exports=Pi;Pi.default=Pi;lIe.registerLazyResult(Pi);oIe.registerLazyResult(Pi)});var fV=m((rPt,cV)=>{"use strict";var pIe=IR(),hIe=Qc(),gIe=$R(),mIe=Zb(),yIe=Oc(),ff=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,s=hIe;this.result=new yIe(this._processor,i,this._opts),this.result.css=r;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new pIe(s,i,this._opts,r);if(a.isMap()){let[u,l]=a.generate();u&&(this.result.css=u),l&&(this.result.map=l)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,r=mIe;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,r){return process.env.NODE_ENV!=="production"&&("from"in this._opts||gIe("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,r)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};cV.exports=ff;ff.default=ff});var pV=m((nPt,dV)=>{"use strict";var bIe=fV(),vIe=e0(),wIe=Yb(),_Ie=Nu(),Go=class{constructor(e=[]){this.version="8.4.20",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,r={}){return this.plugins.length===0&&typeof r.parser>"u"&&typeof r.stringifier>"u"&&typeof r.syntax>"u"?new bIe(this,e,r):new vIe(this,e,r)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(typeof n=="object"&&(n.parse||n.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(n+" is not a PostCSS plugin");return r}};dV.exports=Go;Go.default=Go;_Ie.registerProcessor(Go);wIe.registerProcessor(Go)});var gV=m((iPt,hV)=>{"use strict";var xIe=ef(),SIe=AR(),kIe=uf(),EIe=Qb(),CIe=of(),DIe=Nu(),OIe=Jb();function df(t,e){if(Array.isArray(t))return t.map(i=>df(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:CIe.prototype};s.map&&(s.map={...s.map,__proto__:SIe.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>df(i,e))),n.source){let{inputId:i,...s}=n.source;n.source=s,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new DIe(n);if(n.type==="decl")return new xIe(n);if(n.type==="rule")return new OIe(n);if(n.type==="comment")return new kIe(n);if(n.type==="atrule")return new EIe(n);throw new Error("Unknown node type: "+t.type)}hV.exports=df;df.default=df});var t0=m((sPt,xV)=>{"use strict";var qIe=Nb(),mV=ef(),RIe=e0(),AIe=Ws(),HR=pV(),PIe=Qc(),TIe=gV(),yV=Yb(),MIe=d2(),bV=uf(),vV=Qb(),FIe=Oc(),LIe=of(),IIe=Zb(),NIe=BR(),wV=Jb(),_V=Nu(),jIe=Xc();function lt(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new HR(t)}lt.plugin=function(e,r){let n=!1;function i(...o){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
108
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
109
|
+
https://www.w3ctech.com/topic/2226`));let a=r(...o);return a.postcssPlugin=e,a.postcssVersion=new HR().version,a}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(o,a,u){return lt([i(u)]).process(o,a)},i};lt.stringify=PIe;lt.parse=IIe;lt.fromJSON=TIe;lt.list=NIe;lt.comment=t=>new bV(t);lt.atRule=t=>new vV(t);lt.decl=t=>new mV(t);lt.rule=t=>new wV(t);lt.root=t=>new _V(t);lt.document=t=>new yV(t);lt.CssSyntaxError=qIe;lt.Declaration=mV;lt.Container=AIe;lt.Processor=HR;lt.Document=yV;lt.Comment=bV;lt.Warning=MIe;lt.AtRule=vV;lt.Result=FIe;lt.Input=LIe;lt.Rule=wV;lt.Root=_V;lt.Node=jIe;RIe.registerPostcss(lt);xV.exports=lt;lt.default=lt});var EV=m((oPt,kV)=>{"use strict";var $Ie=qe(),BIe=Rb(),WIe=pn(),zIe=Au(),{systemFontKeywords:UIe,fontFamilyKeywords:HIe}=gn(),VIe=_e(),GIe=t0(),KIe=U(),YIe=j(),QIe=N(),{isAtRule:JIe}=Ye(),{isRegExp:XIe,isString:ZIe,assert:e3e}=te(),r0="font-family-no-missing-generic-family-keyword",SV=YIe(r0,{rejected:"Unexpected missing generic font family"}),t3e={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},r3e=t=>!("quote"in t)&&HIe.has(t.value.toLowerCase()),n3e=t=>{let e=GIe.list.comma(t).pop();return e!=null&&(zIe(e)||!WIe(e))},n0=(t,e)=>(r,n)=>{QIe(n,r0,{actual:t},{actual:e,possible:{ignoreFontFamilies:[ZIe,XIe]},optional:!0})&&r.walkDecls(/^font(-family)?$/i,s=>{let o=s.parent;if(o&&JIe(o)&&o.name.toLowerCase()==="font-face"||s.prop==="font"&&UIe.has(s.value.toLowerCase())||n3e(s.value))return;let a=BIe(s.value);if(a.length===0||a.some(d=>r3e(d))||a.some(d=>VIe(e,"ignoreFontFamilies",d.value)))return;let u=a[a.length-1];e3e(u);let l=$Ie(s),c=l+u.sourceIndex,f=l+u.sourceEndIndex;KIe({result:n,ruleName:r0,message:SV.rejected,node:s,index:c,endIndex:f})})};n0.ruleName=r0;n0.messages=SV;n0.meta=t3e;kV.exports=n0});var DV=m((aPt,CV)=>{"use strict";var i3e=Rb(),s3e=pn(),o3e=Au(),{fontFamilyKeywords:a3e}=gn(),u3e=U(),l3e=j(),c3e=N(),i0="font-family-name-quotes",Ko=l3e(i0,{expected:t=>`Expected quotes around "${t}"`,rejected:t=>`Unexpected quotes around "${t}"`}),f3e={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0};function d3e(t){return!!(t.startsWith("-apple-")||t==="BlinkMacSystemFont")}function p3e(t){return!/^[-a-zA-Z]+$/.test(t)}function h3e(t){return t.split(/\s+/).some(e=>/^(?:-?\d|--)/.test(e)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(e))}var g3e=(t,e)=>{let r=[];return t.forEach((n,i)=>{let s="quote"in n&&n.quote,o=n.value,a={name:o,rawName:s?`${s}${o}${s}`:o,sourceIndex:n.sourceIndex,hasQuotes:Boolean(s),resetIndexes(u){r.slice(i+1).forEach(l=>l.sourceIndex+=u)},removeQuotes(){if(this.hasQuotes===!1)return;let u=this.sourceIndex,l=u+this.name.length+2;this.hasQuotes=!1,e.value=e.value.slice(0,u)+this.name+e.value.substring(l),this.resetIndexes(-2)},addQuotes(){if(this.hasQuotes===!0)return;let u=this.sourceIndex,l=u+this.name.length;this.hasQuotes=!0;let c=`"${this.name}"`;e.value=e.value.slice(0,u)+c+e.value.substring(l),this.resetIndexes(2)}};r.push(a)}),r},s0=(t,e,r)=>(n,i)=>{if(!c3e(i,i0,{actual:t,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;n.walkDecls(/^font(-family)?$/i,u=>{if(!s3e(u.value))return;let l=g3e(i3e(u.value),u);if(l.length!==0)for(let c of l)o(c,u)});function o(u,l){let{name:c,rawName:f,hasQuotes:d}=u;if(o3e(f))return;if(a3e.has(c.toLowerCase())||d3e(c)){if(d){if(r.fix){u.removeQuotes();return}return a(Ko.rejected(c),f,l)}return}let p=h3e(c),h=p3e(c);switch(t){case"always-unless-keyword":if(!d){if(r.fix){u.addQuotes();return}return a(Ko.expected(c),f,l)}return;case"always-where-recommended":if(!h&&d){if(r.fix){u.removeQuotes();return}return a(Ko.rejected(c),f,l)}if(h&&!d){if(r.fix){u.addQuotes();return}return a(Ko.expected(c),f,l)}return;case"always-where-required":if(!p&&d){if(r.fix){u.removeQuotes();return}return a(Ko.rejected(c),f,l)}if(p&&!d){if(r.fix){u.addQuotes();return}return a(Ko.expected(c),f,l)}}}function a(u,l,c){u3e({result:i,ruleName:i0,message:u,node:c,word:l})}};s0.ruleName=i0;s0.messages=Ko;s0.meta=f3e;CV.exports=s0});var RV=m((uPt,qV)=>{"use strict";var OV=qe(),m3e=Rb(),{fontFamilyKeywords:y3e}=gn(),b3e=_e(),v3e=U(),w3e=j(),_3e=N(),{isRegExp:x3e,isString:S3e}=te(),o0="font-family-no-duplicate-names",VR=w3e(o0,{rejected:t=>`Unexpected duplicate name ${t}`}),k3e={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},E3e=t=>!("quote"in t)&&y3e.has(t.value.toLowerCase()),a0=(t,e)=>(r,n)=>{if(!_3e(n,o0,{actual:t},{actual:e,possible:{ignoreFontFamilyNames:[S3e,x3e]},optional:!0}))return;r.walkDecls(/^font(-family)?$/i,o=>{let a=new Set,u=new Set,l=m3e(o.value);if(l.length!==0)for(let c of l){let f=c.value.trim();if(b3e(e,"ignoreFontFamilyNames",f))continue;let d="quote"in c?c.quote+f+c.quote:f;if(E3e(c)){if(a.has(f.toLowerCase())){s(VR.rejected(f),OV(o)+c.sourceIndex,d.length,o);continue}a.add(f);continue}if(u.has(f)){s(VR.rejected(f),OV(o)+c.sourceIndex,d.length,o);continue}u.add(f)}});function s(o,a,u,l){v3e({result:n,ruleName:o0,message:o,node:l,index:a,endIndex:a+u})}};a0.ruleName=o0;a0.messages=VR;a0.meta=k3e;qV.exports=a0});var TV=m((lPt,PV)=>{"use strict";var C3e=Re(),D3e=qe(),O3e=vt(),GR=uR(),q3e=pn(),R3e=Au(),{fontWeightNonNumericKeywords:A3e,fontWeightRelativeKeywords:P3e}=gn(),T3e=_e(),M3e=U(),F3e=j(),L3e=Bt(),I3e=N(),{assertString:N3e}=te(),l0="font-weight-notation",u0=F3e(l0,{expected:t=>`Expected ${t} font-weight notation`,expectedWithActual:(t,e)=>`Expected "${t}" to be "${e}"`}),j3e={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},$3e="normal",B3e=new Map([["normal","400"],["bold","700"]]),AV=new Map([["400","normal"],["700","bold"]]),c0=(t,e,r)=>(n,i)=>{if(!I3e(i,l0,{actual:t,possible:["numeric","named-where-possible"]},{actual:e,possible:{ignore:["relative"]},optional:!0}))return;let o=T3e(e,"ignore","relative");n.walkDecls(/^font(-weight)?$/i,u=>{let l=u.prop.toLowerCase()==="font",c=C3e(O3e(u)),f=c.nodes,d=f.some((p,h,y)=>GR(p.value)&&!KR(y[h-1]));for(let[p,h]of f.entries()){if(!W3e(h,p,f))continue;let{value:y}=h;if(l){if(y.toLowerCase()===$3e&&d)continue;if(a(u,h))break}a(u,h)}r.fix&&L3e(u,c.toString())});function a(u,l){let c=l.value;if(!q3e(c)||R3e(c))return;let f=c.toLowerCase();if(o&&P3e.has(f))return;if(t==="numeric"&&!GR(f)&&A3e.has(f)){let p=B3e.get(f);if(r.fix&&p)return l.value=p,!0;let h=p?u0.expectedWithActual(c,p):u0.expected("numeric");return d(h,l),!0}if(t==="named-where-possible"&&GR(f)&&AV.has(f)){let p=AV.get(f);return N3e(p),r.fix?(l.value=p,!0):(d(u0.expectedWithActual(c,p),l),!0)}function d(p,h){let y=D3e(u)+h.sourceIndex,b=y+h.value.length;M3e({ruleName:l0,result:i,message:p,node:u,index:y,endIndex:b})}}};function KR(t){return t!==void 0&&t.type==="div"}function W3e(t,e,r){return!(t.type!=="word"||KR(r[e-1])||KR(r[e+1]))}c0.ruleName=l0;c0.messages=u0;c0.meta=j3e;PV.exports=c0});var LV=m((cPt,FV)=>{"use strict";var z3e=qe(),U3e=qi(),H3e=qt(),V3e=U(),G3e=j(),K3e=N(),Y3e=Re(),Q3e=tt(),{isRegExp:J3e,isString:X3e}=te(),f0="function-allowed-list",MV=G3e(f0,{rejected:t=>`Unexpected function "${t}"`}),Z3e={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},pf=t=>(e,r)=>{K3e(r,f0,{actual:t,possible:[X3e,J3e]})&&e.walkDecls(i=>{Y3e(i.value).walk(s=>{if(s.type!=="function"||!U3e(s)||H3e(Q3e.unprefixed(s.value),t))return;let o=z3e(i)+s.sourceIndex,a=o+s.value.length;V3e({message:MV.rejected(s.value),node:i,index:o,endIndex:a,result:r,ruleName:f0})})})};pf.primaryOptionArray=!0;pf.ruleName=f0;pf.messages=MV;pf.meta=Z3e;FV.exports=pf});var BV=m((fPt,$V)=>{"use strict";var eNe=Re(),tNe=qe(),rNe=vt(),nNe=pn(),iNe=U(),sNe=j(),oNe=Bt(),aNe=N(),{assert:IV}=te(),p0="function-calc-no-unspaced-operator",Lr=sNe(p0,{expectedBefore:t=>`Expected single space before "${t}" operator`,expectedAfter:t=>`Expected single space after "${t}" operator`,expectedOperatorBeforeSign:t=>`Expected an operator before sign "${t}"`}),uNe={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},Wu=new Set(["+","-"]),NV=/[+-]/,lNe=new Set([...Wu,"*","/"]),h0=(t,e,r)=>(n,i)=>{if(!aNe(i,p0,{actual:t}))return;function o(a,u,l,c){let f=l+c.length;iNe({message:a,node:u,index:l,endIndex:f,result:i,ruleName:p0})}n.walkDecls(a=>{let u=!1,l=tNe(a),c=eNe(rNe(a));function f(y,b,g){let v=y.value,w=y.sourceIndex;if(b&&!d0(b)){if(b.type==="word"){if(g){let _=b.value.slice(-1);if(Wu.has(_))return r.fix?(b.value=`${b.value.slice(0,-1)} ${_}`,!0):(o(Lr.expectedOperatorBeforeSign(v),a,w,v),!0)}else{let _=b.value.slice(0,1);if(Wu.has(_))return r.fix?(b.value=`${_} ${b.value.slice(1)}`,!0):(o(Lr.expectedAfter(v),a,w,v),!0)}return r.fix?(u=!0,b.value=g?`${b.value} `:` ${b.value}`,!0):(o(g?Lr.expectedBefore(v):Lr.expectedAfter(v),a,l+w,v),!0)}if(b.type==="space"){let _=b.value.search(/(\n|\r\n)/);if(_===0)return;if(r.fix)return u=!0,b.value=_===-1?" ":b.value.slice(_),!0;let x=g?Lr.expectedBefore(v):Lr.expectedAfter(v);return o(x,a,l+w,v),!0}if(b.type==="function"){if(r.fix)return u=!0,b.value=g?`${b.value} `:` ${b.value}`,!0;let _=g?Lr.expectedBefore(v):Lr.expectedAfter(v);return o(_,a,l+w,v),!0}}return!1}function d(y){let b=y[0];if(IV(b),b.type!=="word"||!nNe(b.value))return!1;let g=b.value.search(NV),v=b.value.slice(g,g+1);if(g<=0)return!1;let w=b.value.charAt(g-1),_=b.value.charAt(g+1);return w&&w!==" "&&_&&_!==" "?r.fix?(u=!0,b.value=Bu(b.value,g+1," "),b.value=Bu(b.value,g," ")):(o(Lr.expectedBefore(v),a,l+b.sourceIndex+g,v),o(Lr.expectedAfter(v),a,l+b.sourceIndex+g+1,v)):w&&w!==" "?r.fix?(u=!0,b.value=Bu(b.value,g," ")):o(Lr.expectedBefore(v),a,l+b.sourceIndex+g,v):_&&_!==" "&&(r.fix?(u=!0,b.value=Bu(b.value,g," ")):o(Lr.expectedAfter(v),a,l+b.sourceIndex+g+1,v)),!0}function p(y){if(y.length===1)return!1;let b=y[y.length-1];if(IV(b),b.type!=="word")return!1;let g=b.value.search(NV);if(g===-1||b.value.charAt(g-1)===" "||jV(y[y.length-3],lNe)&&d0(y[y.length-2]))return!1;if(r.fix)return u=!0,b.value=Bu(b.value,g+1," ").trim(),b.value=Bu(b.value,g," ").trim(),!0;let v=b.value.charAt(g);return o(Lr.expectedOperatorBeforeSign(v),a,l+b.sourceIndex+g,v),!0}function h(y){if(!(d(y)||p(y)))for(let[b,g]of y.entries()){let v=g.value.slice(-1),w=g.value.slice(0,1);if(g.type==="word"){if(b===0&&Wu.has(v)){if(r.fix){g.value=`${g.value.slice(0,-1)} ${v}`;continue}o(Lr.expectedBefore(v),a,g.sourceIndex,v)}else if(b===y.length&&Wu.has(w)){if(r.fix){g.value=`${w} ${g.value.slice(1)}`;continue}o(Lr.expectedOperatorBeforeSign(w),a,g.sourceIndex,w)}}}}c.walk(y=>{if(y.type!=="function"||y.value.toLowerCase()!=="calc")return;let{nodes:b}=y,g=!1;for(let[v,w]of b.entries()){if(!jV(w))continue;g=!0;let _=b[v-1],x=b[v+1];d0(_)&&d0(x)||x&&f(w,x,!1)||_&&f(w,_,!0)}g||h(b)}),u&&oNe(a,c.toString())})};function Bu(t,e,r){return t.slice(0,e)+r+t.slice(e,t.length)}function d0(t){return t!=null&&t.type==="space"&&t.value===" "}function jV(t,e=Wu){return t!=null&&t.type==="word"&&e.has(t.value)}h0.ruleName=p0;h0.messages=Lr;h0.meta=uNe;$V.exports=h0});var hf=m((dPt,WV)=>{"use strict";WV.exports=function(e){let{div:r,index:n,nodes:i,expectation:s,position:o,symb:a}=e;if(s.startsWith("always"))return r[o]=a,!0;if(s.startsWith("never")){r[o]="";for(let u=n+1;u<i.length;u++){let l=i[u];if(l!==void 0&&l.type!=="comment"){if(l.type==="space"){l.value="";continue}break}}return!0}return!1}});var gf=m((pPt,UV)=>{"use strict";var cNe=qe(),fNe=vt(),dNe=qi(),pNe=U(),hNe=Bt(),zV=Re();UV.exports=function(e){e.root.walkDecls(r=>{let n=fNe(r),i,s=zV(n);s.walk(o=>{if(o.type!=="function"||!dNe(o)||o.value.toLowerCase()==="url")return;let a=o.nodes.map(f=>zV.stringify(f)),u=(()=>{let f=o.before+a.join("")+o.after;return f=f.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,""),f})(),l=(f,d)=>{let p=o.before+a.slice(0,d).join("")+f.before;return p=p.replace(/( *\/(\*.*\*\/(?!\S)|\/.*)|(\/(\*.*\*\/|\/.*)))/,""),p.length},c=[];for(let[f,d]of o.nodes.entries()){if(d.type!=="div"||d.value!==",")continue;let p=l(d,f);c.push({commaNode:d,checkIndex:p,nodeIndex:f})}for(let{commaNode:f,checkIndex:d,nodeIndex:p}of c)e.locationChecker({source:u,index:d,err:h=>{let y=cNe(r)+f.sourceIndex+f.before.length;if(e.fix&&e.fix(f,p,o.nodes)){i=!0;return}pNe({index:y,message:h,node:r,result:e.result,ruleName:e.checkedRuleName})}})}),i&&hNe(r,s.toString())})}});var GV=m((hPt,VV)=>{"use strict";var gNe=hf(),mNe=gf(),yNe=j(),bNe=N(),vNe=je(),g0="function-comma-newline-after",HV=yNe(g0,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line function',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line function'}),wNe={url:"https://stylelint.io/user-guide/rules/function-comma-newline-after",fixable:!0},m0=(t,e,r)=>{let n=vNe("newline",t,HV);return(i,s)=>{bNe(s,g0,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&mNe({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:g0,fix:r.fix?(a,u,l)=>gNe({div:a,index:u,nodes:l,expectation:t,position:"after",symb:r.newline||""}):null})}};m0.ruleName=g0;m0.messages=HV;m0.meta=wNe;VV.exports=m0});var QV=m((gPt,YV)=>{"use strict";var _Ne=hf(),xNe=gf(),SNe=j(),kNe=N(),ENe=je(),y0="function-comma-newline-before",KV=SNe(y0,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line function',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line function'}),CNe={url:"https://stylelint.io/user-guide/rules/function-comma-newline-before",fixable:!0},b0=(t,e,r)=>{let n=ENe("newline",t,KV);return(i,s)=>{kNe(s,y0,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&xNe({root:i,result:s,locationChecker:n.beforeAllowingIndentation,checkedRuleName:y0,fix:r.fix?(a,u,l)=>_Ne({div:a,index:u,nodes:l,expectation:t,position:"before",symb:r.newline||""}):null})}};b0.ruleName=y0;b0.messages=KV;b0.meta=CNe;YV.exports=b0});var ZV=m((mPt,XV)=>{"use strict";var DNe=hf(),ONe=gf(),qNe=j(),RNe=N(),ANe=je(),v0="function-comma-space-after",JV=qNe(v0,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line function',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line function'}),PNe={url:"https://stylelint.io/user-guide/rules/function-comma-space-after",fixable:!0},w0=(t,e,r)=>{let n=ANe("space",t,JV);return(i,s)=>{RNe(s,v0,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&ONe({root:i,result:s,locationChecker:n.after,checkedRuleName:v0,fix:r.fix?(a,u,l)=>DNe({div:a,index:u,nodes:l,expectation:t,position:"after",symb:" "}):null})}};w0.ruleName=v0;w0.messages=JV;w0.meta=PNe;XV.exports=w0});var rG=m((yPt,tG)=>{"use strict";var TNe=hf(),MNe=gf(),FNe=j(),LNe=N(),INe=je(),_0="function-comma-space-before",eG=FNe(_0,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line function',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line function'}),NNe={url:"https://stylelint.io/user-guide/rules/function-comma-space-before",fixable:!0},x0=(t,e,r)=>{let n=INe("space",t,eG);return(i,s)=>{LNe(s,_0,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&MNe({root:i,result:s,locationChecker:n.before,checkedRuleName:_0,fix:r.fix?(a,u,l)=>TNe({div:a,index:u,nodes:l,expectation:t,position:"before",symb:" "}):null})}};x0.ruleName=_0;x0.messages=eG;x0.meta=NNe;tG.exports=x0});var sG=m((bPt,iG)=>{"use strict";var jNe=qe(),$Ne=qi(),BNe=qt(),WNe=U(),zNe=j(),UNe=N(),HNe=Re(),VNe=tt(),{isRegExp:GNe,isString:KNe}=te(),S0="function-disallowed-list",nG=zNe(S0,{rejected:t=>`Unexpected function "${t}"`}),YNe={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},mf=t=>(e,r)=>{UNe(r,S0,{actual:t,possible:[KNe,GNe]})&&e.walkDecls(i=>{HNe(i.value).walk(s=>{if(s.type!=="function"||!$Ne(s)||!BNe(VNe.unprefixed(s.value),t))return;let o=jNe(i)+s.sourceIndex,a=o+s.value.length;WNe({message:nG.rejected,messageArgs:[s.value],node:i,index:o,endIndex:a,result:r,ruleName:S0})})})};mf.primaryOptionArray=!0;mf.ruleName=S0;mf.messages=nG;mf.meta=YNe;iG.exports=mf});var cG=m((vPt,lG)=>{"use strict";lG.exports=aG;function aG(t,e,r){t instanceof RegExp&&(t=oG(t,r)),e instanceof RegExp&&(e=oG(e,r));let n=uG(t,e,r);return n&&{start:n[0],end:n[1],pre:r.slice(0,n[0]),body:r.slice(n[0]+t.length,n[1]),post:r.slice(n[1]+e.length)}}function oG(t,e){let r=e.match(t);return r?r[0]:null}aG.range=uG;function uG(t,e,r){let n,i,s,o,a,u=r.indexOf(t),l=r.indexOf(e,u+1),c=u;if(u>=0&&l>0){if(t===e)return[u,l];for(n=[],s=r.length;c>=0&&!a;)c===u?(n.push(c),u=r.indexOf(t,c+1)):n.length===1?a=[n.pop(),l]:(i=n.pop(),i<s&&(s=i,o=l),l=r.indexOf(e,c+1)),c=u<l&&u>=0?u:l;n.length&&(a=[s,o])}return a}});var zu=m((wPt,fG)=>{"use strict";var QNe=cG(),JNe=Re(),{assert:XNe,isString:ZNe,isRegExp:e5e}=te();fG.exports=function(e,r,n){JNe(e).walk(i=>{if(i.type!=="function")return;let{value:s}=i;if(ZNe(r)&&s!==r||e5e(r)&&!r.test(i.value))return;let o=QNe("(",")",e.slice(i.sourceIndex));XNe(o);let a=o.body,u=1,l=i.sourceIndex+s.length+u;n(a,l)})}});var gG=m((_Pt,hG)=>{"use strict";var t5e=qe(),r5e=zu(),n5e=pn(),i5e=U(),s5e=j(),o5e=N(),dG=Re(),a5e=tt(),k0="function-linear-gradient-no-nonstandard-direction",pG=s5e(k0,{rejected:"Unexpected nonstandard direction"}),u5e={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"};function l5e(t,e){let r=e?/^to (top|left|bottom|right)(?: (top|left|bottom|right))?$/:/^(top|left|bottom|right)(?: (top|left|bottom|right))?$/,n=t.match(r);return n?n.length===2||n.length===3&&n[1]!==n[2]:!1}var E0=t=>(e,r)=>{o5e(r,k0,{actual:t})&&e.walkDecls(i=>{dG(i.value).walk(s=>{s.type==="function"&&r5e(dG.stringify(s).toLowerCase(),/^(-webkit-|-moz-|-o-|-ms-)?linear-gradient$/i,(o,a)=>{let u=o.split(","),l=(u[0]||"").trim();if(!n5e(l))return;if(/[\d.]/.test(l.charAt(0))){if(/^[\d.]+(?:deg|grad|rad|turn)$/.test(l))return;f();return}if(!/left|right|top|bottom/.test(l))return;let c=!a5e.prefix(s.value);l5e(l,c)||f();function f(){let d=t5e(i)+s.sourceIndex+a,p=d+(u[0]||"").trimEnd().length;i5e({message:pG.rejected,node:i,index:d,endIndex:p,result:r,ruleName:k0})}})})})};E0.ruleName=k0;E0.messages=pG;E0.meta=u5e;hG.exports=E0});var vG=m((xPt,bG)=>{"use strict";var c5e=vt(),f5e=U(),d5e=j(),p5e=Bt(),h5e=N(),mG=Re(),{isNumber:g5e}=te(),C0="function-max-empty-lines",yG=d5e(C0,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),m5e={url:"https://stylelint.io/user-guide/rules/function-max-empty-lines",fixable:!0};function y5e(t){if(t.raws.between==null)throw new Error("`between` must be present");return t.prop.length+t.raws.between.length-1}var D0=(t,e,r)=>{let n=t+1;return(i,s)=>{if(!h5e(s,C0,{actual:t,possible:g5e}))return;let a=new RegExp(`(?:\r
|
|
110
|
+
){${n+1},}`),u=new RegExp(`
|
|
111
|
+
{${n+1},}`),l=r.fix?`
|
|
112
|
+
`.repeat(n):"",c=r.fix?`\r
|
|
113
|
+
`.repeat(n):"";i.walkDecls(f=>{if(!f.value.includes("("))return;let d=c5e(f),p=[],h=0;if(mG(d).walk(y=>{if(y.type!=="function"||y.value.length===0)return;let b=mG.stringify(y);if(!(!u.test(b)&&!a.test(b)))if(r.fix){let g=b.replace(new RegExp(u,"gm"),l).replace(new RegExp(a,"gm"),c);p.push([d.slice(h,y.sourceIndex),g]),h=y.sourceIndex+b.length}else f5e({message:yG.expected(t),node:f,index:y5e(f)+y.sourceIndex,result:s,ruleName:C0})}),r.fix&&p.length>0){let y=p.reduce((b,g)=>b+g[0]+g[1],"")+d.slice(h);p5e(f,y)}})}};D0.ruleName=C0;D0.messages=yG;D0.meta=m5e;bG.exports=D0});var YR=m((SPt,wG)=>{"use strict";var b5e=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),v5e=new Set(["calc","clamp","max","min"]);wG.exports={camelCaseFunctions:b5e,mathFunctions:v5e}});var SG=m((kPt,xG)=>{"use strict";var w5e=qe(),_5e=vt(),x5e=qi(),{camelCaseFunctions:S5e}=YR(),k5e=_e(),E5e=U(),C5e=j(),D5e=Bt(),O5e=N(),q5e=Re(),{isRegExp:R5e,isString:A5e}=te(),O0="function-name-case",_G=C5e(O0,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),P5e={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},QR=new Map;for(let t of S5e)QR.set(t.toLowerCase(),t);var q0=(t,e,r)=>(n,i)=>{O5e(i,O0,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreFunctions:[A5e,R5e]},optional:!0})&&n.walkDecls(o=>{let a=!1,u=q5e(_5e(o));u.walk(l=>{if(l.type!=="function"||!x5e(l))return;let c=l.value,f=c.toLowerCase();if(k5e(e,"ignoreFunctions",c))return;let d=null;if(t==="lower"&&QR.has(f)?d=QR.get(f):t==="lower"?d=f:d=c.toUpperCase(),c!==d){if(r.fix){a=!0,l.value=d;return}E5e({message:_G.expected(c,d),node:o,index:w5e(o)+l.sourceIndex,result:i,ruleName:O0})}}),r.fix&&a&&D5e(o,u.toString())})};q0.ruleName=O0;q0.messages=_G;q0.meta=P5e;xG.exports=q0});var CG=m((EPt,EG)=>{"use strict";var kG=require("url"),T5e=kG.fileURLToPath(new kG.URL("index.json",typeof document>"u"?new(require("url")).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("index.js",document.baseURI).href));EG.exports=T5e});var OG=m((CPt,DG)=>{"use strict";DG.exports=function(e){return e.startsWith("--")}});var AG=m((DPt,RG)=>{"use strict";var M5e=require("fs"),F5e=Re(),L5e=CG(),I5e=qe(),N5e=_e(),j5e=U(),$5e=j(),B5e=N(),W5e=qi(),z5e=OG(),{isRegExp:U5e,isString:H5e}=te(),R0="function-no-unknown",qG=$5e(R0,{rejected:t=>`Unexpected unknown function "${t}"`}),V5e={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},A0=(t,e)=>(r,n)=>{if(!B5e(n,R0,{actual:t},{actual:e,possible:{ignoreFunctions:[H5e,U5e]},optional:!0}))return;let s=JSON.parse(M5e.readFileSync(L5e.toString(),"utf8"));r.walkDecls(o=>{let{value:a}=o;F5e(a).walk(u=>{let l=u.value;u.type==="function"&&W5e(u)&&(z5e(l)||N5e(e,"ignoreFunctions",l)||s.includes(l.toLowerCase())||j5e({message:qG.rejected(l),node:o,index:I5e(o)+u.sourceIndex,result:n,ruleName:R0,word:l}))})})};A0.ruleName=R0;A0.messages=qG;A0.meta=V5e;RG.exports=A0});var LG=m((OPt,FG)=>{"use strict";var G5e=qe(),K5e=vt(),Y5e=Di(),Q5e=qi(),J5e=U(),X5e=j(),Z5e=Bt(),eje=N(),PG=Re(),P0="function-parentheses-newline-inside",Yo=X5e(P0,{expectedOpening:'Expected newline after "("',expectedClosing:'Expected newline before ")"',expectedOpeningMultiLine:'Expected newline after "(" in a multi-line function',rejectedOpeningMultiLine:'Unexpected whitespace after "(" in a multi-line function',expectedClosingMultiLine:'Expected newline before ")" in a multi-line function',rejectedClosingMultiLine:'Unexpected whitespace before ")" in a multi-line function'}),tje={url:"https://stylelint.io/user-guide/rules/function-parentheses-newline-inside",fixable:!0},T0=(t,e,r)=>(n,i)=>{eje(i,P0,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&n.walkDecls(o=>{if(!o.value.includes("("))return;let a=!1,u=K5e(o),l=PG(u);l.walk(f=>{if(f.type!=="function"||!Q5e(f))return;let d=PG.stringify(f),p=!Y5e(d),h=w=>w.includes(`
|
|
114
|
+
`),y=f.sourceIndex+f.value.length+1,b=rje(f);t==="always"&&!h(b)&&(r.fix?(a=!0,TG(f,r.newline||"")):c(Yo.expectedOpening,y)),p&&t==="always-multi-line"&&!h(b)&&(r.fix?(a=!0,TG(f,r.newline||"")):c(Yo.expectedOpeningMultiLine,y)),p&&t==="never-multi-line"&&b!==""&&(r.fix?(a=!0,ije(f)):c(Yo.rejectedOpeningMultiLine,y));let g=f.sourceIndex+d.length-2,v=nje(f);t==="always"&&!h(v)&&(r.fix?(a=!0,MG(f,r.newline||"")):c(Yo.expectedClosing,g)),p&&t==="always-multi-line"&&!h(v)&&(r.fix?(a=!0,MG(f,r.newline||"")):c(Yo.expectedClosingMultiLine,g)),p&&t==="never-multi-line"&&v!==""&&(r.fix?(a=!0,sje(f)):c(Yo.rejectedClosingMultiLine,g))}),a&&Z5e(o,l.toString());function c(f,d){J5e({ruleName:P0,result:i,message:f,node:o,index:G5e(o)+d})}})};function rje(t){let e=t.before;for(let r of t.nodes)if(r.type!=="comment"){if(r.type==="space"){e+=r.value;continue}break}return e}function nje(t){let e="";for(let r of[...t.nodes].reverse())if(r.type!=="comment"){if(r.type==="space"){e=r.value+e;continue}break}return e+=t.after,e}function TG(t,e){let r;for(let n of t.nodes)if(n.type!=="comment"){if(n.type==="space"){r=n;continue}break}r?r.value=e+r.value:t.before=e+t.before}function ije(t){t.before="";for(let e of t.nodes)if(e.type!=="comment"){if(e.type==="space"){e.value="";continue}break}}function MG(t,e){t.after=e+t.after}function sje(t){t.after="";for(let e of[...t.nodes].reverse())if(e.type!=="comment"){if(e.type==="space"){e.value="";continue}break}}T0.ruleName=P0;T0.messages=Yo;T0.meta=tje;FG.exports=T0});var jG=m((qPt,NG)=>{"use strict";var oje=qe(),aje=vt(),uje=Di(),lje=qi(),cje=U(),fje=j(),dje=Bt(),pje=N(),IG=Re(),M0="function-parentheses-space-inside",os=fje(M0,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"',expectedOpeningSingleLine:'Expected single space after "(" in a single-line function',rejectedOpeningSingleLine:'Unexpected whitespace after "(" in a single-line function',expectedClosingSingleLine:'Expected single space before ")" in a single-line function',rejectedClosingSingleLine:'Unexpected whitespace before ")" in a single-line function'}),hje={url:"https://stylelint.io/user-guide/rules/function-parentheses-space-inside",fixable:!0},F0=(t,e,r)=>(n,i)=>{pje(i,M0,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&n.walkDecls(o=>{if(!o.value.includes("("))return;let a=!1,u=aje(o),l=IG(u);l.walk(f=>{if(f.type!=="function"||!lje(f)||!f.nodes.length)return;let d=IG.stringify(f),p=uje(d),h=f.sourceIndex+f.value.length+1;t==="always"&&f.before!==" "&&(r.fix?(a=!0,f.before=" "):c(os.expectedOpening,h)),t==="never"&&f.before!==""&&(r.fix?(a=!0,f.before=""):c(os.rejectedOpening,h)),p&&t==="always-single-line"&&f.before!==" "&&(r.fix?(a=!0,f.before=" "):c(os.expectedOpeningSingleLine,h)),p&&t==="never-single-line"&&f.before!==""&&(r.fix?(a=!0,f.before=""):c(os.rejectedOpeningSingleLine,h));let y=f.sourceIndex+d.length-2;t==="always"&&f.after!==" "&&(r.fix?(a=!0,f.after=" "):c(os.expectedClosing,y)),t==="never"&&f.after!==""&&(r.fix?(a=!0,f.after=""):c(os.rejectedClosing,y)),p&&t==="always-single-line"&&f.after!==" "&&(r.fix?(a=!0,f.after=" "):c(os.expectedClosingSingleLine,y)),p&&t==="never-single-line"&&f.after!==""&&(r.fix?(a=!0,f.after=""):c(os.rejectedClosingSingleLine,y))}),a&&dje(o,l.toString());function c(f,d){cje({ruleName:M0,result:i,message:f,node:o,index:oje(o)+d})}})};F0.ruleName=M0;F0.messages=os;F0.meta=hje;NG.exports=F0});var yf=m((RPt,$G)=>{"use strict";var gje=x2(),mje=S2(),yje=k2(),bje=E2();$G.exports=function(e){return e.length===0?!0:yje(e)||bje(e)||mje(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!gje(e):!(e.startsWith("@")&&/^@@?[\w-]+$/.test(e)||e.includes("$")&&/^[$\s\w+\-,./*'"]+$/.test(e)&&!e.endsWith("/"))}});var zG=m((APt,WG)=>{"use strict";var vje=zu(),wje=yf(),_je=U(),xje=j(),Sje=N(),L0="function-url-no-scheme-relative",BG=xje(L0,{rejected:"Unexpected scheme-relative url"}),kje={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},I0=t=>(e,r)=>{Sje(r,L0,{actual:t})&&e.walkDecls(i=>{vje(i.toString().toLowerCase(),"url",(s,o)=>{let a=s.trim().replace(/^['"]+|['"]+$/g,"");!wje(a)||!a.startsWith("//")||_je({message:BG.rejected,node:i,index:o,endIndex:o+s.length,result:r,ruleName:L0})})})};I0.ruleName=L0;I0.messages=BG;I0.meta=kje;WG.exports=I0});var HG=m((PPt,UG)=>{"use strict";var JR=Ze(),N0=zu(),Eje=yf(),Cje=_e(),Dje=U(),Oje=j(),qje=N(),j0="function-url-quotes",XR=Oje(j0,{expected:t=>`Expected quotes around "${t}" function argument`,rejected:t=>`Unexpected quotes around "${t}" function argument`}),Rje={url:"https://stylelint.io/user-guide/rules/function-url-quotes"},$0=(t,e)=>(r,n)=>{if(!qje(n,j0,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["empty"]},optional:!0}))return;r.walkAtRules(o),r.walkDecls(s);function s(l){N0(l.toString().toLowerCase(),"url",(c,f)=>{a(c,l,f,"url")})}function o(l){let c=l.params.toLowerCase();N0(c,"url",(f,d)=>{a(f,l,d+JR(l),"url")}),N0(c,"url-prefix",(f,d)=>{a(f,l,d+JR(l),"url-prefix")}),N0(c,"domain",(f,d)=>{a(f,l,d+JR(l),"domain")})}function a(l,c,f,d){let p=t==="always",h=l.trimStart();if(!Eje(h))return;let y=f+l.length-h.length,b=f+l.length,g=h.startsWith("'")||h.startsWith('"'),v=l.trim(),w=["","''",'""'].includes(v);if(Cje(e,"except","empty")&&w&&(p=!p),p){if(g)return;u(XR.expected(d),c,y,b)}else{if(!g)return;u(XR.rejected(d),c,y,b)}}function u(l,c,f,d){Dje({message:l,node:c,index:f,endIndex:d,result:n,ruleName:j0})}};$0.ruleName=j0;$0.messages=XR;$0.meta=Rje;UG.exports=$0});var ZR=m((TPt,VG)=>{"use strict";var{URL:Aje}=require("url");VG.exports=function(e){let r=null;try{r=new Aje(e).protocol}catch{return null}if(r===null||typeof r>"u")return null;let n=r.slice(0,-1),i=r.length;return e.slice(i,i+2)!=="//"&&n!=="data"?null:n}});var YG=m((MPt,KG)=>{"use strict";var Pje=zu(),Tje=ZR(),Mje=yf(),Fje=qt(),Lje=U(),Ije=j(),Nje=N(),{isRegExp:jje,isString:$je}=te(),B0="function-url-scheme-allowed-list",GG=Ije(B0,{rejected:t=>`Unexpected URL scheme "${t}:"`}),Bje={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},bf=t=>(e,r)=>{Nje(r,B0,{actual:t,possible:[$je,jje]})&&e.walkDecls(i=>{Pje(i.toString().toLowerCase(),"url",(s,o)=>{let a=s.trim();if(!Mje(a))return;let u=a.replace(/^['"]+|['"]+$/g,""),l=Tje(u);l!==null&&(Fje(l,t)||Lje({message:GG.rejected(l),node:i,index:o,endIndex:o+s.length,result:r,ruleName:B0}))})})};bf.primaryOptionArray=!0;bf.ruleName=B0;bf.messages=GG;bf.meta=Bje;KG.exports=bf});var XG=m((FPt,JG)=>{"use strict";var Wje=zu(),zje=ZR(),Uje=yf(),Hje=qt(),Vje=U(),Gje=j(),Kje=N(),{isRegExp:Yje,isString:Qje}=te(),W0="function-url-scheme-disallowed-list",QG=Gje(W0,{rejected:t=>`Unexpected URL scheme "${t}:"`}),Jje={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},vf=t=>(e,r)=>{Kje(r,W0,{actual:t,possible:[Qje,Yje]})&&e.walkDecls(i=>{Wje(i.toString().toLowerCase(),"url",(s,o)=>{let a=s.trim();if(!Uje(a))return;let u=a.replace(/^['"]+|['"]+$/g,""),l=zje(u);l!==null&&Hje(l,t)&&Vje({message:QG.rejected(l),node:i,index:o,endIndex:o+s.length,result:r,ruleName:W0})})})};vf.primaryOptionArray=!0;vf.ruleName=W0;vf.messages=QG;vf.meta=Jje;JG.exports=vf});var rK=m((LPt,tK)=>{"use strict";var Xje=Ze(),Zje=qe(),e6e=vt(),ZG=Lc(),eK=U(),t6e=j(),r6e=Bt(),n6e=Fr(),i6e=N(),wf="function-whitespace-after",eA=t6e(wf,{expected:'Expected whitespace after ")"',rejected:'Unexpected whitespace after ")"'}),s6e={url:"https://stylelint.io/user-guide/rules/function-whitespace-after",fixable:!0},o6e=new Set([")",",","}",":","/",void 0]),z0=(t,e,r)=>(n,i)=>{if(!i6e(i,wf,{actual:t,possible:["always","never"]}))return;function o(l,c,f,d){n6e({source:c,target:")",functionArguments:"only"},p=>{a(c,p.startIndex+1,l,f,d)})}function a(l,c,f,d,p){let h=l.charAt(c);if(h){if(t==="always"){if(h===" "||h===`
|
|
115
|
+
`||l.slice(c,c+2)===`\r
|
|
116
|
+
`||o6e.has(h))return;if(p){p(c);return}eK({message:eA.expected,node:f,index:d+c,result:i,ruleName:wf})}else if(t==="never"&&ZG(h)){if(p){p(c);return}eK({message:eA.rejected,node:f,index:d+c,result:i,ruleName:wf})}}}function u(l){let c="",f=0,d;if(t==="always")d=p=>{c+=l.slice(f,p)+" ",f=p};else if(t==="never")d=p=>{let h=p+1;for(;h<l.length&&ZG(l.charAt(h));)h++;c+=l.slice(f,p),f=h};else throw new Error(`Unexpected option: "${t}"`);return{applyFix:d,get hasFixed(){return Boolean(f)},get fixed(){return c+l.slice(f)}}}n.walkAtRules(/^import$/i,l=>{let c=l.raws.params&&l.raws.params.raw||l.params,f=r.fix&&u(c);o(l,c,Xje(l),f?f.applyFix:void 0),f&&f.hasFixed&&(l.raws.params?l.raws.params.raw=f.fixed:l.params=f.fixed)}),n.walkDecls(l=>{let c=e6e(l),f=r.fix&&u(c);o(l,c,Zje(l),f?f.applyFix:void 0),f&&f.hasFixed&&r6e(l,f.fixed)})};z0.ruleName=wf;z0.messages=eA;z0.meta=s6e;tK.exports=z0});var lK=m((IPt,uK)=>{"use strict";var H0=Re(),a6e=qe(),u6e=vt(),l6e=pn(),c6e=U(),f6e=j(),d6e=Bt(),p6e=N(),U0="hue-degree-notation",sK=f6e(U0,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),h6e={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},oK=["hsl","hsla","hwb"],aK=["lch"],g6e=new Set([...oK,...aK]),V0=(t,e,r)=>(n,i)=>{p6e(i,U0,{actual:t,possible:["angle","number"]})&&n.walkDecls(o=>{let a=!1,u=H0(u6e(o));u.walk(l=>{if(l.type!=="function"||!g6e.has(l.value.toLowerCase()))return;let c=b6e(l);if(!c)return;let{value:f}=c;if(!l6e(f)||!nK(f)&&!iK(f)||t==="angle"&&nK(f)||t==="number"&&iK(f))return;let d=t==="angle"?m6e(f):y6e(f),p=f;if(r.fix){c.value=d,a=!0;return}let h=a6e(o);c6e({message:sK.expected(p,d),node:o,index:h+c.sourceIndex,endIndex:h+c.sourceEndIndex,result:i,ruleName:U0})}),a&&d6e(o,u.toString())})};function m6e(t){return`${t}deg`}function y6e(t){let e=H0.unit(t);if(e)return e.number;throw new TypeError(`The "${t}" value must have a unit`)}function b6e(t){let e=t.nodes.filter(({type:n})=>n==="word"||n==="function"),r=t.value.toLowerCase();if(oK.includes(r))return e[0];if(aK.includes(r))return e[2]}function nK(t){let e=H0.unit(t);return e&&e.unit.toLowerCase()==="deg"}function iK(t){let e=H0.unit(t);return e&&e.unit===""}V0.ruleName=U0;V0.messages=sK;V0.meta=h6e;uK.exports=V0});var tA=m((NPt,cK)=>{"use strict";cK.exports=function(e,r){let n=e.raws;return n.params?n.params.raw=r:e.params=r,e}});var rA=m((jPt,fK)=>{"use strict";fK.exports=function(e){let r=e.raws;return r.params&&r.params.raw||e.params}});var hK=m(($Pt,pK)=>{"use strict";var G0=Re(),v6e=U(),w6e=j(),_6e=N(),dK=tA(),x6e=rA(),S6e=Ze(),K0="import-notation",nA=w6e(K0,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),k6e={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Y0=(t,e,r)=>(n,i)=>{if(!_6e(i,K0,{actual:t,possible:["string","url"]}))return;n.walkAtRules(/^import$/i,o);function o(u){let l=x6e(u),c=G0(l);for(let f of c.nodes){let d=S6e(u),p=d+f.sourceEndIndex;if(t==="string"&&f.type==="function"&&f.value.toLowerCase()==="url"){let h=G0.stringify(f),y=G0.stringify(f.nodes),b=f.nodes[0]&&f.nodes[0].type==="word"?`"${y}"`:y;if(r.fix){let g=u.params.slice(f.sourceEndIndex);dK(u,`${b}${g}`);return}a(nA.expected(h,b),u,d,p);return}if(t==="url"){if(f.type==="space")return;if(f.type==="word"||f.type==="string"){let y=`url(${G0.stringify(f)})`;if(r.fix){let g=u.params.slice(f.sourceEndIndex);dK(u,`${y}${g}`);return}let b=f.type==="word"?`"${f.value}"`:`${f.quote}${f.value}${f.quote}`;a(nA.expected(b,y),u,d,p);return}}}}function a(u,l,c,f){v6e({message:u,node:l,index:c,endIndex:f,result:i,ruleName:K0})}};Y0.ruleName=K0;Y0.messages=nA;Y0.meta=k6e;pK.exports=Y0});var Ur=m((BPt,gK)=>{"use strict";var E6e=qc();gK.exports=function(e){return!(E6e(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}});var bK=m((WPt,yK)=>{"use strict";var C6e=Ur(),D6e=U(),O6e=j(),q6e=N(),Q0="keyframe-block-no-duplicate-selectors",mK=O6e(Q0,{rejected:t=>`Unexpected duplicate "${t}"`}),R6e={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},J0=t=>(e,r)=>{q6e(r,Q0,{actual:t})&&e.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,i=>{let s=new Set;i.walkRules(o=>{o.selectors.forEach(u=>{if(!C6e(u))return;let l=u.toLowerCase();if(s.has(l)){D6e({message:mK.rejected(u),node:o,result:r,ruleName:Q0,word:u});return}s.add(l)})})})};J0.ruleName=Q0;J0.messages=mK;J0.meta=R6e;yK.exports=J0});var _K=m((zPt,wK)=>{"use strict";var A6e=aR(),P6e=U(),T6e=j(),M6e=N(),{assert:F6e}=te(),X0="keyframe-declaration-no-important",vK=T6e(X0,{rejected:"Unexpected !important"}),L6e={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Z0=t=>(e,r)=>{M6e(r,X0,{actual:t})&&e.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,i=>{i.walkDecls(s=>{if(!s.important)return;let o=A6e(s.toString());F6e(o),P6e({message:vK.rejected,node:s,index:o.index,endIndex:o.endIndex,result:r,ruleName:X0})})})};Z0.ruleName=X0;Z0.messages=vK;Z0.meta=L6e;wK.exports=Z0});var iA=m((ev,xK)=>{"use strict";ev.__esModule=!0;ev.default=j6e;function I6e(t){for(var e=t.toLowerCase(),r="",n=!1,i=0;i<6&&e[i]!==void 0;i++){var s=e.charCodeAt(i),o=s>=97&&s<=102||s>=48&&s<=57;if(n=s===32,!o)break;r+=e[i]}if(r.length!==0){var a=parseInt(r,16),u=a>=55296&&a<=57343;return u||a===0||a>1114111?["\uFFFD",r.length+(n?1:0)]:[String.fromCodePoint(a),r.length+(n?1:0)]}}var N6e=/\\/;function j6e(t){var e=N6e.test(t);if(!e)return t;for(var r="",n=0;n<t.length;n++){if(t[n]==="\\"){var i=I6e(t.slice(n+1,n+7));if(i!==void 0){r+=i[0],n+=i[1];continue}if(t[n+1]==="\\"){r+="\\",n++;continue}t.length===n+1&&(r+=t[n]);continue}r+=t[n]}return r}xK.exports=ev.default});var kK=m((tv,SK)=>{"use strict";tv.__esModule=!0;tv.default=$6e;function $6e(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();if(!t[i])return;t=t[i]}return t}SK.exports=tv.default});var CK=m((rv,EK)=>{"use strict";rv.__esModule=!0;rv.default=B6e;function B6e(t){for(var e=arguments.length,r=new Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];for(;r.length>0;){var i=r.shift();t[i]||(t[i]={}),t=t[i]}}EK.exports=rv.default});var OK=m((nv,DK)=>{"use strict";nv.__esModule=!0;nv.default=W6e;function W6e(t){for(var e="",r=t.indexOf("/*"),n=0;r>=0;){e=e+t.slice(n,r);var i=t.indexOf("*/",r+2);if(i<0)return e;n=i+2,r=t.indexOf("/*",n)}return e=e+t.slice(n),e}DK.exports=nv.default});var _f=m(Ti=>{"use strict";Ti.__esModule=!0;Ti.stripComments=Ti.ensureObject=Ti.getProp=Ti.unesc=void 0;var z6e=iv(iA());Ti.unesc=z6e.default;var U6e=iv(kK());Ti.getProp=U6e.default;var H6e=iv(CK());Ti.ensureObject=H6e.default;var V6e=iv(OK());Ti.stripComments=V6e.default;function iv(t){return t&&t.__esModule?t:{default:t}}});var as=m((xf,AK)=>{"use strict";xf.__esModule=!0;xf.default=void 0;var qK=_f();function RK(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function G6e(t,e,r){return e&&RK(t.prototype,e),r&&RK(t,r),t}var K6e=function t(e,r){if(typeof e!="object"||e===null)return e;var n=new e.constructor;for(var i in e)if(e.hasOwnProperty(i)){var s=e[i],o=typeof s;i==="parent"&&o==="object"?r&&(n[i]=r):s instanceof Array?n[i]=s.map(function(a){return t(a,n)}):n[i]=t(s,n)}return n},Y6e=function(){function t(r){r===void 0&&(r={}),Object.assign(this,r),this.spaces=this.spaces||{},this.spaces.before=this.spaces.before||"",this.spaces.after=this.spaces.after||""}var e=t.prototype;return e.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.replaceWith=function(){if(this.parent){for(var n in arguments)this.parent.insertBefore(this,arguments[n]);this.remove()}return this},e.next=function(){return this.parent.at(this.parent.index(this)+1)},e.prev=function(){return this.parent.at(this.parent.index(this)-1)},e.clone=function(n){n===void 0&&(n={});var i=K6e(this);for(var s in n)i[s]=n[s];return i},e.appendToPropertyAndEscape=function(n,i,s){this.raws||(this.raws={});var o=this[n],a=this.raws[n];this[n]=o+i,a||s!==i?this.raws[n]=(a||o)+s:delete this.raws[n]},e.setPropertyAndEscape=function(n,i,s){this.raws||(this.raws={}),this[n]=i,this.raws[n]=s},e.setPropertyWithoutEscape=function(n,i){this[n]=i,this.raws&&delete this.raws[n]},e.isAtPosition=function(n,i){if(this.source&&this.source.start&&this.source.end)return!(this.source.start.line>n||this.source.end.line<n||this.source.start.line===n&&this.source.start.column>i||this.source.end.line===n&&this.source.end.column<i)},e.stringifyProperty=function(n){return this.raws&&this.raws[n]||this[n]},e.valueToString=function(){return String(this.stringifyProperty("value"))},e.toString=function(){return[this.rawSpaceBefore,this.valueToString(),this.rawSpaceAfter].join("")},G6e(t,[{key:"rawSpaceBefore",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.before;return n===void 0&&(n=this.spaces&&this.spaces.before),n||""},set:function(n){(0,qK.ensureObject)(this,"raws","spaces"),this.raws.spaces.before=n}},{key:"rawSpaceAfter",get:function(){var n=this.raws&&this.raws.spaces&&this.raws.spaces.after;return n===void 0&&(n=this.spaces.after),n||""},set:function(n){(0,qK.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=n}}]),t}();xf.default=Y6e;AK.exports=xf.default});var kr=m(wt=>{"use strict";wt.__esModule=!0;wt.UNIVERSAL=wt.ATTRIBUTE=wt.CLASS=wt.COMBINATOR=wt.COMMENT=wt.ID=wt.NESTING=wt.PSEUDO=wt.ROOT=wt.SELECTOR=wt.STRING=wt.TAG=void 0;var Q6e="tag";wt.TAG=Q6e;var J6e="string";wt.STRING=J6e;var X6e="selector";wt.SELECTOR=X6e;var Z6e="root";wt.ROOT=Z6e;var e$e="pseudo";wt.PSEUDO=e$e;var t$e="nesting";wt.NESTING=t$e;var r$e="id";wt.ID=r$e;var n$e="comment";wt.COMMENT=n$e;var i$e="combinator";wt.COMBINATOR=i$e;var s$e="class";wt.CLASS=s$e;var o$e="attribute";wt.ATTRIBUTE=o$e;var a$e="universal";wt.UNIVERSAL=a$e});var sv=m((Sf,FK)=>{"use strict";Sf.__esModule=!0;Sf.default=void 0;var u$e=c$e(as()),us=l$e(kr());function MK(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return MK=function(){return t},t}function l$e(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=MK();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=n?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,e&&e.set(t,r),r}function c$e(t){return t&&t.__esModule?t:{default:t}}function f$e(t,e){var r;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(r=d$e(t))||e&&t&&typeof t.length=="number"){r&&(t=r);var n=0;return function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
117
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}return r=t[Symbol.iterator](),r.next.bind(r)}function d$e(t,e){if(t){if(typeof t=="string")return PK(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);if(r==="Object"&&t.constructor&&(r=t.constructor.name),r==="Map"||r==="Set")return Array.from(t);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return PK(t,e)}}function PK(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function TK(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function p$e(t,e,r){return e&&TK(t.prototype,e),r&&TK(t,r),t}function h$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,sA(t,e)}function sA(t,e){return sA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},sA(t,e)}var g$e=function(t){h$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.nodes||(i.nodes=[]),i}var r=e.prototype;return r.append=function(i){return i.parent=this,this.nodes.push(i),this},r.prepend=function(i){return i.parent=this,this.nodes.unshift(i),this},r.at=function(i){return this.nodes[i]},r.index=function(i){return typeof i=="number"?i:this.nodes.indexOf(i)},r.removeChild=function(i){i=this.index(i),this.at(i).parent=void 0,this.nodes.splice(i,1);var s;for(var o in this.indexes)s=this.indexes[o],s>=i&&(this.indexes[o]=s-1);return this},r.removeAll=function(){for(var i=f$e(this.nodes),s;!(s=i()).done;){var o=s.value;o.parent=void 0}return this.nodes=[],this},r.empty=function(){return this.removeAll()},r.insertAfter=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o+1,0,s),s.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],o<=a&&(this.indexes[u]=a+1);return this},r.insertBefore=function(i,s){s.parent=this;var o=this.index(i);this.nodes.splice(o,0,s),s.parent=this;var a;for(var u in this.indexes)a=this.indexes[u],a<=o&&(this.indexes[u]=a+1);return this},r._findChildAtPosition=function(i,s){var o=void 0;return this.each(function(a){if(a.atPosition){var u=a.atPosition(i,s);if(u)return o=u,!1}else if(a.isAtPosition(i,s))return o=a,!1}),o},r.atPosition=function(i,s){if(this.isAtPosition(i,s))return this._findChildAtPosition(i,s)||this},r._inferEndPosition=function(){this.last&&this.last.source&&this.last.source.end&&(this.source=this.source||{},this.source.end=this.source.end||{},Object.assign(this.source.end,this.last.source.end))},r.each=function(i){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach++;var s=this.lastEach;if(this.indexes[s]=0,!!this.length){for(var o,a;this.indexes[s]<this.length&&(o=this.indexes[s],a=i(this.at(o),o),a!==!1);)this.indexes[s]+=1;if(delete this.indexes[s],a===!1)return!1}},r.walk=function(i){return this.each(function(s,o){var a=i(s,o);if(a!==!1&&s.length&&(a=s.walk(i)),a===!1)return!1})},r.walkAttributes=function(i){var s=this;return this.walk(function(o){if(o.type===us.ATTRIBUTE)return i.call(s,o)})},r.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===us.CLASS)return i.call(s,o)})},r.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===us.COMBINATOR)return i.call(s,o)})},r.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===us.COMMENT)return i.call(s,o)})},r.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===us.ID)return i.call(s,o)})},r.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===us.NESTING)return i.call(s,o)})},r.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===us.PSEUDO)return i.call(s,o)})},r.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===us.TAG)return i.call(s,o)})},r.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===us.UNIVERSAL)return i.call(s,o)})},r.split=function(i){var s=this,o=[];return this.reduce(function(a,u,l){var c=i.call(s,u);return o.push(u),c?(a.push(o),o=[]):l===s.length-1&&a.push(o),a},[])},r.map=function(i){return this.nodes.map(i)},r.reduce=function(i,s){return this.nodes.reduce(i,s)},r.every=function(i){return this.nodes.every(i)},r.some=function(i){return this.nodes.some(i)},r.filter=function(i){return this.nodes.filter(i)},r.sort=function(i){return this.nodes.sort(i)},r.toString=function(){return this.map(String).join("")},p$e(e,[{key:"first",get:function(){return this.at(0)}},{key:"last",get:function(){return this.at(this.length-1)}},{key:"length",get:function(){return this.nodes.length}}]),e}(u$e.default);Sf.default=g$e;FK.exports=Sf.default});var aA=m((kf,IK)=>{"use strict";kf.__esModule=!0;kf.default=void 0;var m$e=b$e(sv()),y$e=kr();function b$e(t){return t&&t.__esModule?t:{default:t}}function LK(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function v$e(t,e,r){return e&&LK(t.prototype,e),r&&LK(t,r),t}function w$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,oA(t,e)}function oA(t,e){return oA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},oA(t,e)}var _$e=function(t){w$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=y$e.ROOT,i}var r=e.prototype;return r.toString=function(){var i=this.reduce(function(s,o){return s.push(String(o)),s},[]).join(",");return this.trailingComma?i+",":i},r.error=function(i,s){return this._error?this._error(i,s):new Error(i)},v$e(e,[{key:"errorGenerator",set:function(i){this._error=i}}]),e}(m$e.default);kf.default=_$e;IK.exports=kf.default});var lA=m((Ef,NK)=>{"use strict";Ef.__esModule=!0;Ef.default=void 0;var x$e=k$e(sv()),S$e=kr();function k$e(t){return t&&t.__esModule?t:{default:t}}function E$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,uA(t,e)}function uA(t,e){return uA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},uA(t,e)}var C$e=function(t){E$e(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=S$e.SELECTOR,n}return e}(x$e.default);Ef.default=C$e;NK.exports=Ef.default});var ov=m((VPt,jK)=>{"use strict";var D$e={},O$e=D$e.hasOwnProperty,q$e=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=O$e.call(e,i)?e[i]:r[i];return n},R$e=/[ -,\.\/:-@\[-\^`\{-~]/,A$e=/[ -,\.\/:-@\[\]\^`\{-~]/,P$e=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,cA=function t(e,r){r=q$e(r,t.options),r.quotes!="single"&&r.quotes!="double"&&(r.quotes="single");for(var n=r.quotes=="double"?'"':"'",i=r.isIdentifier,s=e.charAt(0),o="",a=0,u=e.length;a<u;){var l=e.charAt(a++),c=l.charCodeAt(),f=void 0;if(c<32||c>126){if(c>=55296&&c<=56319&&a<u){var d=e.charCodeAt(a++);(d&64512)==56320?c=((c&1023)<<10)+(d&1023)+65536:a--}f="\\"+c.toString(16).toUpperCase()+" "}else r.escapeEverything?R$e.test(l)?f="\\"+l:f="\\"+c.toString(16).toUpperCase()+" ":/[\t\n\f\r\x0B]/.test(l)?f="\\"+c.toString(16).toUpperCase()+" ":l=="\\"||!i&&(l=='"'&&n==l||l=="'"&&n==l)||i&&A$e.test(l)?f="\\"+l:f=l;o+=f}return i&&(/^-[-\d]/.test(o)?o="\\-"+o.slice(1):/\d/.test(s)&&(o="\\3"+s+" "+o.slice(1))),o=o.replace(P$e,function(p,h,y){return h&&h.length%2?p:(h||"")+y}),!i&&r.wrap?n+o+n:o};cA.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};cA.version="3.0.0";jK.exports=cA});var dA=m((Cf,WK)=>{"use strict";Cf.__esModule=!0;Cf.default=void 0;var T$e=BK(ov()),M$e=_f(),F$e=BK(as()),L$e=kr();function BK(t){return t&&t.__esModule?t:{default:t}}function $K(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function I$e(t,e,r){return e&&$K(t.prototype,e),r&&$K(t,r),t}function N$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,fA(t,e)}function fA(t,e){return fA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},fA(t,e)}var j$e=function(t){N$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=L$e.CLASS,i._constructed=!0,i}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},I$e(e,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,T$e.default)(i,{isIdentifier:!0});s!==i?((0,M$e.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),e}(F$e.default);Cf.default=j$e;WK.exports=Cf.default});var hA=m((Df,zK)=>{"use strict";Df.__esModule=!0;Df.default=void 0;var $$e=W$e(as()),B$e=kr();function W$e(t){return t&&t.__esModule?t:{default:t}}function z$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,pA(t,e)}function pA(t,e){return pA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},pA(t,e)}var U$e=function(t){z$e(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=B$e.COMMENT,n}return e}($$e.default);Df.default=U$e;zK.exports=Df.default});var mA=m((Of,UK)=>{"use strict";Of.__esModule=!0;Of.default=void 0;var H$e=G$e(as()),V$e=kr();function G$e(t){return t&&t.__esModule?t:{default:t}}function K$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,gA(t,e)}function gA(t,e){return gA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},gA(t,e)}var Y$e=function(t){K$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=V$e.ID,i}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e}(H$e.default);Of.default=Y$e;UK.exports=Of.default});var av=m((qf,GK)=>{"use strict";qf.__esModule=!0;qf.default=void 0;var Q$e=VK(ov()),J$e=_f(),X$e=VK(as());function VK(t){return t&&t.__esModule?t:{default:t}}function HK(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function Z$e(t,e,r){return e&&HK(t.prototype,e),r&&HK(t,r),t}function eBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,yA(t,e)}function yA(t,e){return yA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},yA(t,e)}var tBe=function(t){eBe(e,t);function e(){return t.apply(this,arguments)||this}var r=e.prototype;return r.qualifiedName=function(i){return this.namespace?this.namespaceString+"|"+i:i},r.valueToString=function(){return this.qualifiedName(t.prototype.valueToString.call(this))},Z$e(e,[{key:"namespace",get:function(){return this._namespace},set:function(i){if(i===!0||i==="*"||i==="&"){this._namespace=i,this.raws&&delete this.raws.namespace;return}var s=(0,Q$e.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,J$e.ensureObject)(this,"raws"),this.raws.namespace=s):this.raws&&delete this.raws.namespace}},{key:"ns",get:function(){return this._namespace},set:function(i){this.namespace=i}},{key:"namespaceString",get:function(){if(this.namespace){var i=this.stringifyProperty("namespace");return i===!0?"":i}else return""}}]),e}(X$e.default);qf.default=tBe;GK.exports=qf.default});var vA=m((Rf,KK)=>{"use strict";Rf.__esModule=!0;Rf.default=void 0;var rBe=iBe(av()),nBe=kr();function iBe(t){return t&&t.__esModule?t:{default:t}}function sBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,bA(t,e)}function bA(t,e){return bA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},bA(t,e)}var oBe=function(t){sBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=nBe.TAG,n}return e}(rBe.default);Rf.default=oBe;KK.exports=Rf.default});var _A=m((Af,YK)=>{"use strict";Af.__esModule=!0;Af.default=void 0;var aBe=lBe(as()),uBe=kr();function lBe(t){return t&&t.__esModule?t:{default:t}}function cBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,wA(t,e)}function wA(t,e){return wA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},wA(t,e)}var fBe=function(t){cBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=uBe.STRING,n}return e}(aBe.default);Af.default=fBe;YK.exports=Af.default});var SA=m((Pf,QK)=>{"use strict";Pf.__esModule=!0;Pf.default=void 0;var dBe=hBe(sv()),pBe=kr();function hBe(t){return t&&t.__esModule?t:{default:t}}function gBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,xA(t,e)}function xA(t,e){return xA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},xA(t,e)}var mBe=function(t){gBe(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=pBe.PSEUDO,i}var r=e.prototype;return r.toString=function(){var i=this.length?"("+this.map(String).join(",")+")":"";return[this.rawSpaceBefore,this.stringifyProperty("value"),i,this.rawSpaceAfter].join("")},e}(dBe.default);Pf.default=mBe;QK.exports=Pf.default});var XK=m((GPt,JK)=>{JK.exports=require("util").deprecate});var qA=m(Ff=>{"use strict";Ff.__esModule=!0;Ff.unescapeValue=OA;Ff.default=void 0;var Tf=DA(ov()),yBe=DA(iA()),bBe=DA(av()),vBe=kr(),kA;function DA(t){return t&&t.__esModule?t:{default:t}}function ZK(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function wBe(t,e,r){return e&&ZK(t.prototype,e),r&&ZK(t,r),t}function _Be(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,CA(t,e)}function CA(t,e){return CA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},CA(t,e)}var Mf=XK(),xBe=/^('|")([^]*)\1$/,SBe=Mf(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),kBe=Mf(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),EBe=Mf(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function OA(t){var e=!1,r=null,n=t,i=n.match(xBe);return i&&(r=i[1],n=i[2]),n=(0,yBe.default)(n),n!==t&&(e=!0),{deprecatedUsage:e,unescaped:n,quoteMark:r}}function CBe(t){if(t.quoteMark!==void 0||t.value===void 0)return t;EBe();var e=OA(t.value),r=e.quoteMark,n=e.unescaped;return t.raws||(t.raws={}),t.raws.value===void 0&&(t.raws.value=t.value),t.value=n,t.quoteMark=r,t}var uv=function(t){_Be(e,t);function e(n){var i;return n===void 0&&(n={}),i=t.call(this,CBe(n))||this,i.type=vBe.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Mf(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Mf(function(){return i.value},"Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.")}),i._constructed=!0,i}var r=e.prototype;return r.getQuotedValue=function(i){i===void 0&&(i={});var s=this._determineQuoteMark(i),o=EA[s],a=(0,Tf.default)(this._value,o);return a},r._determineQuoteMark=function(i){return i.smart?this.smartQuoteMark(i):this.preferredQuoteMark(i)},r.setValue=function(i,s){s===void 0&&(s={}),this._value=i,this._quoteMark=this._determineQuoteMark(s),this._syncRawValue()},r.smartQuoteMark=function(i){var s=this.value,o=s.replace(/[^']/g,"").length,a=s.replace(/[^"]/g,"").length;if(o+a===0){var u=(0,Tf.default)(s,{isIdentifier:!0});if(u===s)return e.NO_QUOTE;var l=this.preferredQuoteMark(i);if(l===e.NO_QUOTE){var c=this.quoteMark||i.quoteMark||e.DOUBLE_QUOTE,f=EA[c],d=(0,Tf.default)(s,f);if(d.length<u.length)return c}return l}else return a===o?this.preferredQuoteMark(i):a<o?e.DOUBLE_QUOTE:e.SINGLE_QUOTE},r.preferredQuoteMark=function(i){var s=i.preferCurrentQuoteMark?this.quoteMark:i.quoteMark;return s===void 0&&(s=i.preferCurrentQuoteMark?i.quoteMark:this.quoteMark),s===void 0&&(s=e.DOUBLE_QUOTE),s},r._syncRawValue=function(){var i=(0,Tf.default)(this._value,EA[this.quoteMark]);i===this._value?this.raws&&delete this.raws.value:this.raws.value=i},r._handleEscapes=function(i,s){if(this._constructed){var o=(0,Tf.default)(s,{isIdentifier:!0});o!==s?this.raws[i]=o:delete this.raws[i]}},r._spacesFor=function(i){var s={before:"",after:""},o=this.spaces[i]||{},a=this.raws.spaces&&this.raws.spaces[i]||{};return Object.assign(s,o,a)},r._stringFor=function(i,s,o){s===void 0&&(s=i),o===void 0&&(o=eY);var a=this._spacesFor(s);return o(this.stringifyProperty(i),a)},r.offsetOf=function(i){var s=1,o=this._spacesFor("attribute");if(s+=o.before.length,i==="namespace"||i==="ns")return this.namespace?s:-1;if(i==="attributeNS"||(s+=this.namespaceString.length,this.namespace&&(s+=1),i==="attribute"))return s;s+=this.stringifyProperty("attribute").length,s+=o.after.length;var a=this._spacesFor("operator");s+=a.before.length;var u=this.stringifyProperty("operator");if(i==="operator")return u?s:-1;s+=u.length,s+=a.after.length;var l=this._spacesFor("value");s+=l.before.length;var c=this.stringifyProperty("value");if(i==="value")return c?s:-1;s+=c.length,s+=l.after.length;var f=this._spacesFor("insensitive");return s+=f.before.length,i==="insensitive"&&this.insensitive?s:-1},r.toString=function(){var i=this,s=[this.rawSpaceBefore,"["];return s.push(this._stringFor("qualifiedAttribute","attribute")),this.operator&&(this.value||this.value==="")&&(s.push(this._stringFor("operator")),s.push(this._stringFor("value")),s.push(this._stringFor("insensitiveFlag","insensitive",function(o,a){return o.length>0&&!i.quoted&&a.before.length===0&&!(i.spaces.value&&i.spaces.value.after)&&(a.before=" "),eY(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},wBe(e,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){kBe()}},{key:"quoteMark",get:function(){return this._quoteMark},set:function(i){if(!this._constructed){this._quoteMark=i;return}this._quoteMark!==i&&(this._quoteMark=i,this._syncRawValue())}},{key:"qualifiedAttribute",get:function(){return this.qualifiedName(this.raws.attribute||this.attribute)}},{key:"insensitiveFlag",get:function(){return this.insensitive?"i":""}},{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=OA(i),o=s.deprecatedUsage,a=s.unescaped,u=s.quoteMark;if(o&&SBe(),a===this._value&&u===this._quoteMark)return;this._value=a,this._quoteMark=u,this._syncRawValue()}else this._value=i}},{key:"insensitive",get:function(){return this._insensitive},set:function(i){i||(this._insensitive=!1,this.raws&&(this.raws.insensitiveFlag==="I"||this.raws.insensitiveFlag==="i")&&(this.raws.insensitiveFlag=void 0)),this._insensitive=i}},{key:"attribute",get:function(){return this._attribute},set:function(i){this._handleEscapes("attribute",i),this._attribute=i}}]),e}(bBe.default);Ff.default=uv;uv.NO_QUOTE=null;uv.SINGLE_QUOTE="'";uv.DOUBLE_QUOTE='"';var EA=(kA={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},kA[null]={isIdentifier:!0},kA);function eY(t,e){return""+e.before+t+e.after}});var AA=m((Lf,tY)=>{"use strict";Lf.__esModule=!0;Lf.default=void 0;var DBe=qBe(av()),OBe=kr();function qBe(t){return t&&t.__esModule?t:{default:t}}function RBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,RA(t,e)}function RA(t,e){return RA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},RA(t,e)}var ABe=function(t){RBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=OBe.UNIVERSAL,n.value="*",n}return e}(DBe.default);Lf.default=ABe;tY.exports=Lf.default});var TA=m((If,rY)=>{"use strict";If.__esModule=!0;If.default=void 0;var PBe=MBe(as()),TBe=kr();function MBe(t){return t&&t.__esModule?t:{default:t}}function FBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,PA(t,e)}function PA(t,e){return PA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},PA(t,e)}var LBe=function(t){FBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=TBe.COMBINATOR,n}return e}(PBe.default);If.default=LBe;rY.exports=If.default});var FA=m((Nf,nY)=>{"use strict";Nf.__esModule=!0;Nf.default=void 0;var IBe=jBe(as()),NBe=kr();function jBe(t){return t&&t.__esModule?t:{default:t}}function $Be(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,MA(t,e)}function MA(t,e){return MA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},MA(t,e)}var BBe=function(t){$Be(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=NBe.NESTING,n.value="&",n}return e}(IBe.default);Nf.default=BBe;nY.exports=Nf.default});var sY=m((lv,iY)=>{"use strict";lv.__esModule=!0;lv.default=WBe;function WBe(t){return t.sort(function(e,r){return e-r})}iY.exports=lv.default});var LA=m(we=>{"use strict";we.__esModule=!0;we.combinator=we.word=we.comment=we.str=we.tab=we.newline=we.feed=we.cr=we.backslash=we.bang=we.slash=we.doubleQuote=we.singleQuote=we.space=we.greaterThan=we.pipe=we.equals=we.plus=we.caret=we.tilde=we.dollar=we.closeSquare=we.openSquare=we.closeParenthesis=we.openParenthesis=we.semicolon=we.colon=we.comma=we.at=we.asterisk=we.ampersand=void 0;var zBe=38;we.ampersand=zBe;var UBe=42;we.asterisk=UBe;var HBe=64;we.at=HBe;var VBe=44;we.comma=VBe;var GBe=58;we.colon=GBe;var KBe=59;we.semicolon=KBe;var YBe=40;we.openParenthesis=YBe;var QBe=41;we.closeParenthesis=QBe;var JBe=91;we.openSquare=JBe;var XBe=93;we.closeSquare=XBe;var ZBe=36;we.dollar=ZBe;var e8e=126;we.tilde=e8e;var t8e=94;we.caret=t8e;var r8e=43;we.plus=r8e;var n8e=61;we.equals=n8e;var i8e=124;we.pipe=i8e;var s8e=62;we.greaterThan=s8e;var o8e=32;we.space=o8e;var oY=39;we.singleQuote=oY;var a8e=34;we.doubleQuote=a8e;var u8e=47;we.slash=u8e;var l8e=33;we.bang=l8e;var c8e=92;we.backslash=c8e;var f8e=13;we.cr=f8e;var d8e=12;we.feed=d8e;var p8e=10;we.newline=p8e;var h8e=9;we.tab=h8e;var g8e=oY;we.str=g8e;var m8e=-1;we.comment=m8e;var y8e=-2;we.word=y8e;var b8e=-3;we.combinator=b8e});var lY=m(jf=>{"use strict";jf.__esModule=!0;jf.default=E8e;jf.FIELDS=void 0;var ge=v8e(LA()),Uu,gt;function uY(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return uY=function(){return t},t}function v8e(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=uY();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=n?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,e&&e.set(t,r),r}var w8e=(Uu={},Uu[ge.tab]=!0,Uu[ge.newline]=!0,Uu[ge.cr]=!0,Uu[ge.feed]=!0,Uu),_8e=(gt={},gt[ge.space]=!0,gt[ge.tab]=!0,gt[ge.newline]=!0,gt[ge.cr]=!0,gt[ge.feed]=!0,gt[ge.ampersand]=!0,gt[ge.asterisk]=!0,gt[ge.bang]=!0,gt[ge.comma]=!0,gt[ge.colon]=!0,gt[ge.semicolon]=!0,gt[ge.openParenthesis]=!0,gt[ge.closeParenthesis]=!0,gt[ge.openSquare]=!0,gt[ge.closeSquare]=!0,gt[ge.singleQuote]=!0,gt[ge.doubleQuote]=!0,gt[ge.plus]=!0,gt[ge.pipe]=!0,gt[ge.tilde]=!0,gt[ge.greaterThan]=!0,gt[ge.equals]=!0,gt[ge.dollar]=!0,gt[ge.caret]=!0,gt[ge.slash]=!0,gt),IA={},aY="0123456789abcdefABCDEF";for(cv=0;cv<aY.length;cv++)IA[aY.charCodeAt(cv)]=!0;var cv;function x8e(t,e){var r=e,n;do{if(n=t.charCodeAt(r),_8e[n])return r-1;n===ge.backslash?r=S8e(t,r)+1:r++}while(r<t.length);return r-1}function S8e(t,e){var r=e,n=t.charCodeAt(r+1);if(!w8e[n])if(IA[n]){var i=0;do r++,i++,n=t.charCodeAt(r+1);while(IA[n]&&i<6);i<6&&n===ge.space&&r++}else r++;return r}var k8e={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};jf.FIELDS=k8e;function E8e(t){var e=[],r=t.css.valueOf(),n=r,i=n.length,s=-1,o=1,a=0,u=0,l,c,f,d,p,h,y,b,g,v,w,_,x;function C(M,P){if(t.safe)r+=P,g=r.length-1;else throw t.error("Unclosed "+M,o,a-s,a)}for(;a<i;){switch(l=r.charCodeAt(a),l===ge.newline&&(s=a,o+=1),l){case ge.space:case ge.tab:case ge.newline:case ge.cr:case ge.feed:g=a;do g+=1,l=r.charCodeAt(g),l===ge.newline&&(s=g,o+=1);while(l===ge.space||l===ge.newline||l===ge.tab||l===ge.cr||l===ge.feed);x=ge.space,d=o,f=g-s-1,u=g;break;case ge.plus:case ge.greaterThan:case ge.tilde:case ge.pipe:g=a;do g+=1,l=r.charCodeAt(g);while(l===ge.plus||l===ge.greaterThan||l===ge.tilde||l===ge.pipe);x=ge.combinator,d=o,f=a-s,u=g;break;case ge.asterisk:case ge.ampersand:case ge.bang:case ge.comma:case ge.equals:case ge.dollar:case ge.caret:case ge.openSquare:case ge.closeSquare:case ge.colon:case ge.semicolon:case ge.openParenthesis:case ge.closeParenthesis:g=a,x=l,d=o,f=a-s,u=g+1;break;case ge.singleQuote:case ge.doubleQuote:_=l===ge.singleQuote?"'":'"',g=a;do for(p=!1,g=r.indexOf(_,g+1),g===-1&&C("quote",_),h=g;r.charCodeAt(h-1)===ge.backslash;)h-=1,p=!p;while(p);x=ge.str,d=o,f=a-s,u=g+1;break;default:l===ge.slash&&r.charCodeAt(a+1)===ge.asterisk?(g=r.indexOf("*/",a+2)+1,g===0&&C("comment","*/"),c=r.slice(a,g+1),b=c.split(`
|
|
118
|
+
`),y=b.length-1,y>0?(v=o+y,w=g-b[y].length):(v=o,w=s),x=ge.comment,o=v,d=v,f=g-w):l===ge.slash?(g=a,x=l,d=o,f=a-s,u=g+1):(g=x8e(r,a),x=ge.word,d=o,f=g-s),u=g+1;break}e.push([x,o,a-s,d,f,a,u]),w&&(s=w,w=null),a=u}return e}});var yY=m(($f,mY)=>{"use strict";$f.__esModule=!0;$f.default=void 0;var C8e=Nn(aA()),NA=Nn(lA()),D8e=Nn(dA()),cY=Nn(hA()),O8e=Nn(mA()),q8e=Nn(vA()),jA=Nn(_A()),R8e=Nn(SA()),fY=fv(qA()),A8e=Nn(AA()),$A=Nn(TA()),P8e=Nn(FA()),T8e=Nn(sY()),ce=fv(lY()),me=fv(LA()),M8e=fv(kr()),Tt=_f(),Qo,BA;function gY(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return gY=function(){return t},t}function fv(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=gY();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=n?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,e&&e.set(t,r),r}function Nn(t){return t&&t.__esModule?t:{default:t}}function dY(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}function F8e(t,e,r){return e&&dY(t.prototype,e),r&&dY(t,r),t}var UA=(Qo={},Qo[me.space]=!0,Qo[me.cr]=!0,Qo[me.feed]=!0,Qo[me.newline]=!0,Qo[me.tab]=!0,Qo),L8e=Object.assign({},UA,(BA={},BA[me.comment]=!0,BA));function pY(t){return{line:t[ce.FIELDS.START_LINE],column:t[ce.FIELDS.START_COL]}}function hY(t){return{line:t[ce.FIELDS.END_LINE],column:t[ce.FIELDS.END_COL]}}function Jo(t,e,r,n){return{start:{line:t,column:e},end:{line:r,column:n}}}function Hu(t){return Jo(t[ce.FIELDS.START_LINE],t[ce.FIELDS.START_COL],t[ce.FIELDS.END_LINE],t[ce.FIELDS.END_COL])}function WA(t,e){if(t)return Jo(t[ce.FIELDS.START_LINE],t[ce.FIELDS.START_COL],e[ce.FIELDS.END_LINE],e[ce.FIELDS.END_COL])}function Vu(t,e){var r=t[e];if(typeof r=="string")return r.indexOf("\\")!==-1&&((0,Tt.ensureObject)(t,"raws"),t[e]=(0,Tt.unesc)(r),t.raws[e]===void 0&&(t.raws[e]=r)),t}function zA(t,e){for(var r=-1,n=[];(r=t.indexOf(e,r+1))!==-1;)n.push(r);return n}function I8e(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(e,r){return r===t.indexOf(e)})}var N8e=function(){function t(r,n){n===void 0&&(n={}),this.rule=r,this.options=Object.assign({lossy:!1,safe:!1},n),this.position=0,this.css=typeof this.rule=="string"?this.rule:this.rule.selector,this.tokens=(0,ce.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=WA(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new C8e.default({source:i}),this.root.errorGenerator=this._errorGenerator();var s=new NA.default({source:{start:{line:1,column:1}}});this.root.append(s),this.current=s,this.loop()}var e=t.prototype;return e._errorGenerator=function(){var n=this;return function(i,s){return typeof n.rule=="string"?new Error(i):n.rule.error(i,s)}},e.attribute=function(){var n=[],i=this.currToken;for(this.position++;this.position<this.tokens.length&&this.currToken[ce.FIELDS.TYPE]!==me.closeSquare;)n.push(this.currToken),this.position++;if(this.currToken[ce.FIELDS.TYPE]!==me.closeSquare)return this.expected("closing square bracket",this.currToken[ce.FIELDS.START_POS]);var s=n.length,o={source:Jo(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[ce.FIELDS.START_POS]};if(s===1&&!~[me.word].indexOf(n[0][ce.FIELDS.TYPE]))return this.expected("attribute",n[0][ce.FIELDS.START_POS]);for(var a=0,u="",l="",c=null,f=!1;a<s;){var d=n[a],p=this.content(d),h=n[a+1];switch(d[ce.FIELDS.TYPE]){case me.space:if(f=!0,this.options.lossy)break;if(c){(0,Tt.ensureObject)(o,"spaces",c);var y=o.spaces[c].after||"";o.spaces[c].after=y+p;var b=(0,Tt.getProp)(o,"raws","spaces",c,"after")||null;b&&(o.raws.spaces[c].after=b+p)}else u=u+p,l=l+p;break;case me.asterisk:if(h[ce.FIELDS.TYPE]===me.equals)o.operator=p,c="operator";else if((!o.namespace||c==="namespace"&&!f)&&h){u&&((0,Tt.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,Tt.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=u,l=""),o.namespace=(o.namespace||"")+p;var g=(0,Tt.getProp)(o,"raws","namespace")||null;g&&(o.raws.namespace+=p),c="namespace"}f=!1;break;case me.dollar:if(c==="value"){var v=(0,Tt.getProp)(o,"raws","value");o.value+="$",v&&(o.raws.value=v+"$");break}case me.caret:h[ce.FIELDS.TYPE]===me.equals&&(o.operator=p,c="operator"),f=!1;break;case me.combinator:if(p==="~"&&h[ce.FIELDS.TYPE]===me.equals&&(o.operator=p,c="operator"),p!=="|"){f=!1;break}h[ce.FIELDS.TYPE]===me.equals?(o.operator=p,c="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),f=!1;break;case me.word:if(h&&this.content(h)==="|"&&n[a+2]&&n[a+2][ce.FIELDS.TYPE]!==me.equals&&!o.operator&&!o.namespace)o.namespace=p,c="namespace";else if(!o.attribute||c==="attribute"&&!f){u&&((0,Tt.ensureObject)(o,"spaces","attribute"),o.spaces.attribute.before=u,u=""),l&&((0,Tt.ensureObject)(o,"raws","spaces","attribute"),o.raws.spaces.attribute.before=l,l=""),o.attribute=(o.attribute||"")+p;var w=(0,Tt.getProp)(o,"raws","attribute")||null;w&&(o.raws.attribute+=p),c="attribute"}else if(!o.value&&o.value!==""||c==="value"&&!(f||o.quoteMark)){var _=(0,Tt.unesc)(p),x=(0,Tt.getProp)(o,"raws","value")||"",C=o.value||"";o.value=C+_,o.quoteMark=null,(_!==p||x)&&((0,Tt.ensureObject)(o,"raws"),o.raws.value=(x||C)+p),c="value"}else{var M=p==="i"||p==="I";(o.value||o.value==="")&&(o.quoteMark||f)?(o.insensitive=M,(!M||p==="I")&&((0,Tt.ensureObject)(o,"raws"),o.raws.insensitiveFlag=p),c="insensitive",u&&((0,Tt.ensureObject)(o,"spaces","insensitive"),o.spaces.insensitive.before=u,u=""),l&&((0,Tt.ensureObject)(o,"raws","spaces","insensitive"),o.raws.spaces.insensitive.before=l,l="")):(o.value||o.value==="")&&(c="value",o.value+=p,o.raws.value&&(o.raws.value+=p))}f=!1;break;case me.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:d[ce.FIELDS.START_POS]});var P=(0,fY.unescapeValue)(p),R=P.unescaped,z=P.quoteMark;o.value=R,o.quoteMark=z,c="value",(0,Tt.ensureObject)(o,"raws"),o.raws.value=p,f=!1;break;case me.equals:if(!o.attribute)return this.expected("attribute",d[ce.FIELDS.START_POS],p);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:d[ce.FIELDS.START_POS]});o.operator=o.operator?o.operator+p:p,c="operator",f=!1;break;case me.comment:if(c)if(f||h&&h[ce.FIELDS.TYPE]===me.space||c==="insensitive"){var $=(0,Tt.getProp)(o,"spaces",c,"after")||"",ee=(0,Tt.getProp)(o,"raws","spaces",c,"after")||$;(0,Tt.ensureObject)(o,"raws","spaces",c),o.raws.spaces[c].after=ee+p}else{var G=o[c]||"",ae=(0,Tt.getProp)(o,"raws",c)||G;(0,Tt.ensureObject)(o,"raws"),o.raws[c]=ae+p}else l=l+p;break;default:return this.error('Unexpected "'+p+'" found.',{index:d[ce.FIELDS.START_POS]})}a++}Vu(o,"attribute"),Vu(o,"namespace"),this.newNode(new fY.default(o)),this.position++},e.parseWhitespaceEquivalentTokens=function(n){n<0&&(n=this.tokens.length);var i=this.position,s=[],o="",a=void 0;do if(UA[this.currToken[ce.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[ce.FIELDS.TYPE]===me.comment){var u={};o&&(u.before=o,o=""),a=new cY.default({value:this.content(),source:Hu(this.currToken),sourceIndex:this.currToken[ce.FIELDS.START_POS],spaces:u}),s.push(a)}while(++this.position<n);if(o){if(a)a.spaces.after=o;else if(!this.options.lossy){var l=this.tokens[i],c=this.tokens[this.position-1];s.push(new jA.default({value:"",source:Jo(l[ce.FIELDS.START_LINE],l[ce.FIELDS.START_COL],c[ce.FIELDS.END_LINE],c[ce.FIELDS.END_COL]),sourceIndex:l[ce.FIELDS.START_POS],spaces:{before:o,after:""}}))}}return s},e.convertWhitespaceNodesToSpace=function(n,i){var s=this;i===void 0&&(i=!1);var o="",a="";n.forEach(function(l){var c=s.lossySpace(l.spaces.before,i),f=s.lossySpace(l.rawSpaceBefore,i);o+=c+s.lossySpace(l.spaces.after,i&&c.length===0),a+=c+l.value+s.lossySpace(l.rawSpaceAfter,i&&f.length===0)}),a===o&&(a=void 0);var u={space:o,rawSpace:a};return u},e.isNamedCombinator=function(n){return n===void 0&&(n=this.position),this.tokens[n+0]&&this.tokens[n+0][ce.FIELDS.TYPE]===me.slash&&this.tokens[n+1]&&this.tokens[n+1][ce.FIELDS.TYPE]===me.word&&this.tokens[n+2]&&this.tokens[n+2][ce.FIELDS.TYPE]===me.slash},e.namedCombinator=function(){if(this.isNamedCombinator()){var n=this.content(this.tokens[this.position+1]),i=(0,Tt.unesc)(n).toLowerCase(),s={};i!==n&&(s.value="/"+n+"/");var o=new $A.default({value:"/"+i+"/",source:Jo(this.currToken[ce.FIELDS.START_LINE],this.currToken[ce.FIELDS.START_COL],this.tokens[this.position+2][ce.FIELDS.END_LINE],this.tokens[this.position+2][ce.FIELDS.END_COL]),sourceIndex:this.currToken[ce.FIELDS.START_POS],raws:s});return this.position=this.position+3,o}else this.unexpected()},e.combinator=function(){var n=this;if(this.content()==="|")return this.namespace();var i=this.locateNextMeaningfulToken(this.position);if(i<0||this.tokens[i][ce.FIELDS.TYPE]===me.comma){var s=this.parseWhitespaceEquivalentTokens(i);if(s.length>0){var o=this.current.last;if(o){var a=this.convertWhitespaceNodesToSpace(s),u=a.space,l=a.rawSpace;l!==void 0&&(o.rawSpaceAfter+=l),o.spaces.after+=u}else s.forEach(function(x){return n.newNode(x)})}return}var c=this.currToken,f=void 0;i>this.position&&(f=this.parseWhitespaceEquivalentTokens(i));var d;if(this.isNamedCombinator()?d=this.namedCombinator():this.currToken[ce.FIELDS.TYPE]===me.combinator?(d=new $A.default({value:this.content(),source:Hu(this.currToken),sourceIndex:this.currToken[ce.FIELDS.START_POS]}),this.position++):UA[this.currToken[ce.FIELDS.TYPE]]||f||this.unexpected(),d){if(f){var p=this.convertWhitespaceNodesToSpace(f),h=p.space,y=p.rawSpace;d.spaces.before=h,d.rawSpaceBefore=y}}else{var b=this.convertWhitespaceNodesToSpace(f,!0),g=b.space,v=b.rawSpace;v||(v=g);var w={},_={spaces:{}};g.endsWith(" ")&&v.endsWith(" ")?(w.before=g.slice(0,g.length-1),_.spaces.before=v.slice(0,v.length-1)):g.startsWith(" ")&&v.startsWith(" ")?(w.after=g.slice(1),_.spaces.after=v.slice(1)):_.value=v,d=new $A.default({value:" ",source:WA(c,this.tokens[this.position-1]),sourceIndex:c[ce.FIELDS.START_POS],spaces:w,raws:_})}return this.currToken&&this.currToken[ce.FIELDS.TYPE]===me.space&&(d.spaces.after=this.optionalSpace(this.content()),this.position++),this.newNode(d)},e.comma=function(){if(this.position===this.tokens.length-1){this.root.trailingComma=!0,this.position++;return}this.current._inferEndPosition();var n=new NA.default({source:{start:pY(this.tokens[this.position+1])}});this.current.parent.append(n),this.current=n,this.position++},e.comment=function(){var n=this.currToken;this.newNode(new cY.default({value:this.content(),source:Hu(n),sourceIndex:n[ce.FIELDS.START_POS]})),this.position++},e.error=function(n,i){throw this.root.error(n,i)},e.missingBackslash=function(){return this.error("Expected a backslash preceding the semicolon.",{index:this.currToken[ce.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[ce.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[ce.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[ce.FIELDS.START_POS])},e.namespace=function(){var n=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[ce.FIELDS.TYPE]===me.word)return this.position++,this.word(n);if(this.nextToken[ce.FIELDS.TYPE]===me.asterisk)return this.position++,this.universal(n)},e.nesting=function(){if(this.nextToken){var n=this.content(this.nextToken);if(n==="|"){this.position++;return}}var i=this.currToken;this.newNode(new P8e.default({value:this.content(),source:Hu(i),sourceIndex:i[ce.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var n=this.current.last,i=1;if(this.position++,n&&n.type===M8e.PSEUDO){var s=new NA.default({source:{start:pY(this.tokens[this.position-1])}}),o=this.current;for(n.append(s),this.current=s;this.position<this.tokens.length&&i;)this.currToken[ce.FIELDS.TYPE]===me.openParenthesis&&i++,this.currToken[ce.FIELDS.TYPE]===me.closeParenthesis&&i--,i?this.parse():(this.current.source.end=hY(this.currToken),this.current.parent.source.end=hY(this.currToken),this.position++);this.current=o}else{for(var a=this.currToken,u="(",l;this.position<this.tokens.length&&i;)this.currToken[ce.FIELDS.TYPE]===me.openParenthesis&&i++,this.currToken[ce.FIELDS.TYPE]===me.closeParenthesis&&i--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;n?n.appendToPropertyAndEscape("value",u,u):this.newNode(new jA.default({value:u,source:Jo(a[ce.FIELDS.START_LINE],a[ce.FIELDS.START_COL],l[ce.FIELDS.END_LINE],l[ce.FIELDS.END_COL]),sourceIndex:a[ce.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[ce.FIELDS.START_POS])},e.pseudo=function(){for(var n=this,i="",s=this.currToken;this.currToken&&this.currToken[ce.FIELDS.TYPE]===me.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[ce.FIELDS.TYPE]===me.word)this.splitWord(!1,function(o,a){i+=o,n.newNode(new R8e.default({value:i,source:WA(s,n.currToken),sourceIndex:s[ce.FIELDS.START_POS]})),a>1&&n.nextToken&&n.nextToken[ce.FIELDS.TYPE]===me.openParenthesis&&n.error("Misplaced parenthesis.",{index:n.nextToken[ce.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[ce.FIELDS.START_POS])},e.space=function(){var n=this.content();this.position===0||this.prevToken[ce.FIELDS.TYPE]===me.comma||this.prevToken[ce.FIELDS.TYPE]===me.openParenthesis||this.current.nodes.every(function(i){return i.type==="comment"})?(this.spaces=this.optionalSpace(n),this.position++):this.position===this.tokens.length-1||this.nextToken[ce.FIELDS.TYPE]===me.comma||this.nextToken[ce.FIELDS.TYPE]===me.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(n),this.position++):this.combinator()},e.string=function(){var n=this.currToken;this.newNode(new jA.default({value:this.content(),source:Hu(n),sourceIndex:n[ce.FIELDS.START_POS]})),this.position++},e.universal=function(n){var i=this.nextToken;if(i&&this.content(i)==="|")return this.position++,this.namespace();var s=this.currToken;this.newNode(new A8e.default({value:this.content(),source:Hu(s),sourceIndex:s[ce.FIELDS.START_POS]}),n),this.position++},e.splitWord=function(n,i){for(var s=this,o=this.nextToken,a=this.content();o&&~[me.dollar,me.caret,me.equals,me.word].indexOf(o[ce.FIELDS.TYPE]);){this.position++;var u=this.content();if(a+=u,u.lastIndexOf("\\")===u.length-1){var l=this.nextToken;l&&l[ce.FIELDS.TYPE]===me.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}o=this.nextToken}var c=zA(a,".").filter(function(h){var y=a[h-1]==="\\",b=/^\d+\.\d+%$/.test(a);return!y&&!b}),f=zA(a,"#").filter(function(h){return a[h-1]!=="\\"}),d=zA(a,"#{");d.length&&(f=f.filter(function(h){return!~d.indexOf(h)}));var p=(0,T8e.default)(I8e([0].concat(c,f)));p.forEach(function(h,y){var b=p[y+1]||a.length,g=a.slice(h,b);if(y===0&&i)return i.call(s,g,p.length);var v,w=s.currToken,_=w[ce.FIELDS.START_POS]+p[y],x=Jo(w[1],w[2]+h,w[3],w[2]+(b-1));if(~c.indexOf(h)){var C={value:g.slice(1),source:x,sourceIndex:_};v=new D8e.default(Vu(C,"value"))}else if(~f.indexOf(h)){var M={value:g.slice(1),source:x,sourceIndex:_};v=new O8e.default(Vu(M,"value"))}else{var P={value:g,source:x,sourceIndex:_};Vu(P,"value"),v=new q8e.default(P)}s.newNode(v,n),n=null}),this.position++},e.word=function(n){var i=this.nextToken;return i&&this.content(i)==="|"?(this.position++,this.namespace()):this.splitWord(n)},e.loop=function(){for(;this.position<this.tokens.length;)this.parse(!0);return this.current._inferEndPosition(),this.root},e.parse=function(n){switch(this.currToken[ce.FIELDS.TYPE]){case me.space:this.space();break;case me.comment:this.comment();break;case me.openParenthesis:this.parentheses();break;case me.closeParenthesis:n&&this.missingParenthesis();break;case me.openSquare:this.attribute();break;case me.dollar:case me.caret:case me.equals:case me.word:this.word();break;case me.colon:this.pseudo();break;case me.comma:this.comma();break;case me.asterisk:this.universal();break;case me.ampersand:this.nesting();break;case me.slash:case me.combinator:this.combinator();break;case me.str:this.string();break;case me.closeSquare:this.missingSquareBracket();case me.semicolon:this.missingBackslash();default:this.unexpected()}},e.expected=function(n,i,s){if(Array.isArray(n)){var o=n.pop();n=n.join(", ")+" or "+o}var a=/^[aeiou]/.test(n[0])?"an":"a";return s?this.error("Expected "+a+" "+n+', found "'+s+'" instead.',{index:i}):this.error("Expected "+a+" "+n+".",{index:i})},e.requiredSpace=function(n){return this.options.lossy?" ":n},e.optionalSpace=function(n){return this.options.lossy?"":n},e.lossySpace=function(n,i){return this.options.lossy?i?" ":"":n},e.parseParenthesisToken=function(n){var i=this.content(n);return n[ce.FIELDS.TYPE]===me.space?this.requiredSpace(i):i},e.newNode=function(n,i){return i&&(/^ +$/.test(i)&&(this.options.lossy||(this.spaces=(this.spaces||"")+i),i=!0),n.namespace=i,Vu(n,"namespace")),this.spaces&&(n.spaces.before=this.spaces,this.spaces=""),this.current.append(n)},e.content=function(n){return n===void 0&&(n=this.currToken),this.css.slice(n[ce.FIELDS.START_POS],n[ce.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(n){n===void 0&&(n=this.position+1);for(var i=n;i<this.tokens.length;)if(L8e[this.tokens[i][ce.FIELDS.TYPE]]){i++;continue}else return i;return-1},F8e(t,[{key:"currToken",get:function(){return this.tokens[this.position]}},{key:"nextToken",get:function(){return this.tokens[this.position+1]}},{key:"prevToken",get:function(){return this.tokens[this.position-1]}}]),t}();$f.default=N8e;mY.exports=$f.default});var vY=m((Bf,bY)=>{"use strict";Bf.__esModule=!0;Bf.default=void 0;var j8e=$8e(yY());function $8e(t){return t&&t.__esModule?t:{default:t}}var B8e=function(){function t(r,n){this.func=r||function(){},this.funcRes=null,this.options=n}var e=t.prototype;return e._shouldUpdateSelector=function(n,i){i===void 0&&(i={});var s=Object.assign({},this.options,i);return s.updateSelector===!1?!1:typeof n!="string"},e._isLossy=function(n){n===void 0&&(n={});var i=Object.assign({},this.options,n);return i.lossless===!1},e._root=function(n,i){i===void 0&&(i={});var s=new j8e.default(n,this._parseOptions(i));return s.root},e._parseOptions=function(n){return{lossy:this._isLossy(n)}},e._run=function(n,i){var s=this;return i===void 0&&(i={}),new Promise(function(o,a){try{var u=s._root(n,i);Promise.resolve(s.func(u)).then(function(l){var c=void 0;return s._shouldUpdateSelector(n,i)&&(c=u.toString(),n.selector=c),{transform:l,root:u,string:c}}).then(o,a)}catch(l){a(l);return}})},e._runSync=function(n,i){i===void 0&&(i={});var s=this._root(n,i),o=this.func(s);if(o&&typeof o.then=="function")throw new Error("Selector processor returned a promise to a synchronous call.");var a=void 0;return i.updateSelector&&typeof n!="string"&&(a=s.toString(),n.selector=a),{transform:o,root:s,string:a}},e.ast=function(n,i){return this._run(n,i).then(function(s){return s.root})},e.astSync=function(n,i){return this._runSync(n,i).root},e.transform=function(n,i){return this._run(n,i).then(function(s){return s.transform})},e.transformSync=function(n,i){return this._runSync(n,i).transform},e.process=function(n,i){return this._run(n,i).then(function(s){return s.string||s.root.toString()})},e.processSync=function(n,i){var s=this._runSync(n,i);return s.string||s.root.toString()},t}();Bf.default=B8e;bY.exports=Bf.default});var wY=m(_t=>{"use strict";_t.__esModule=!0;_t.universal=_t.tag=_t.string=_t.selector=_t.root=_t.pseudo=_t.nesting=_t.id=_t.comment=_t.combinator=_t.className=_t.attribute=void 0;var W8e=jn(qA()),z8e=jn(dA()),U8e=jn(TA()),H8e=jn(hA()),V8e=jn(mA()),G8e=jn(FA()),K8e=jn(SA()),Y8e=jn(aA()),Q8e=jn(lA()),J8e=jn(_A()),X8e=jn(vA()),Z8e=jn(AA());function jn(t){return t&&t.__esModule?t:{default:t}}var e9e=function(e){return new W8e.default(e)};_t.attribute=e9e;var t9e=function(e){return new z8e.default(e)};_t.className=t9e;var r9e=function(e){return new U8e.default(e)};_t.combinator=r9e;var n9e=function(e){return new H8e.default(e)};_t.comment=n9e;var i9e=function(e){return new V8e.default(e)};_t.id=i9e;var s9e=function(e){return new G8e.default(e)};_t.nesting=s9e;var o9e=function(e){return new K8e.default(e)};_t.pseudo=o9e;var a9e=function(e){return new Y8e.default(e)};_t.root=a9e;var u9e=function(e){return new Q8e.default(e)};_t.selector=u9e;var l9e=function(e){return new J8e.default(e)};_t.string=l9e;var c9e=function(e){return new X8e.default(e)};_t.tag=c9e;var f9e=function(e){return new Z8e.default(e)};_t.universal=f9e});var kY=m(it=>{"use strict";it.__esModule=!0;it.isNode=HA;it.isPseudoElement=SY;it.isPseudoClass=x9e;it.isContainer=S9e;it.isNamespace=k9e;it.isUniversal=it.isTag=it.isString=it.isSelector=it.isRoot=it.isPseudo=it.isNesting=it.isIdentifier=it.isComment=it.isCombinator=it.isClassName=it.isAttribute=void 0;var Mt=kr(),en,d9e=(en={},en[Mt.ATTRIBUTE]=!0,en[Mt.CLASS]=!0,en[Mt.COMBINATOR]=!0,en[Mt.COMMENT]=!0,en[Mt.ID]=!0,en[Mt.NESTING]=!0,en[Mt.PSEUDO]=!0,en[Mt.ROOT]=!0,en[Mt.SELECTOR]=!0,en[Mt.STRING]=!0,en[Mt.TAG]=!0,en[Mt.UNIVERSAL]=!0,en);function HA(t){return typeof t=="object"&&d9e[t.type]}function $n(t,e){return HA(e)&&e.type===t}var _Y=$n.bind(null,Mt.ATTRIBUTE);it.isAttribute=_Y;var p9e=$n.bind(null,Mt.CLASS);it.isClassName=p9e;var h9e=$n.bind(null,Mt.COMBINATOR);it.isCombinator=h9e;var g9e=$n.bind(null,Mt.COMMENT);it.isComment=g9e;var m9e=$n.bind(null,Mt.ID);it.isIdentifier=m9e;var y9e=$n.bind(null,Mt.NESTING);it.isNesting=y9e;var VA=$n.bind(null,Mt.PSEUDO);it.isPseudo=VA;var b9e=$n.bind(null,Mt.ROOT);it.isRoot=b9e;var v9e=$n.bind(null,Mt.SELECTOR);it.isSelector=v9e;var w9e=$n.bind(null,Mt.STRING);it.isString=w9e;var xY=$n.bind(null,Mt.TAG);it.isTag=xY;var _9e=$n.bind(null,Mt.UNIVERSAL);it.isUniversal=_9e;function SY(t){return VA(t)&&t.value&&(t.value.startsWith("::")||t.value.toLowerCase()===":before"||t.value.toLowerCase()===":after"||t.value.toLowerCase()===":first-letter"||t.value.toLowerCase()===":first-line")}function x9e(t){return VA(t)&&!SY(t)}function S9e(t){return!!(HA(t)&&t.walk)}function k9e(t){return _Y(t)||xY(t)}});var EY=m(ui=>{"use strict";ui.__esModule=!0;var GA=kr();Object.keys(GA).forEach(function(t){t==="default"||t==="__esModule"||t in ui&&ui[t]===GA[t]||(ui[t]=GA[t])});var KA=wY();Object.keys(KA).forEach(function(t){t==="default"||t==="__esModule"||t in ui&&ui[t]===KA[t]||(ui[t]=KA[t])});var YA=kY();Object.keys(YA).forEach(function(t){t==="default"||t==="__esModule"||t in ui&&ui[t]===YA[t]||(ui[t]=YA[t])})});var Us=m((Wf,DY)=>{"use strict";Wf.__esModule=!0;Wf.default=void 0;var E9e=O9e(vY()),C9e=D9e(EY());function CY(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return CY=function(){return t},t}function D9e(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=CY();if(e&&e.has(t))return e.get(t);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if(Object.prototype.hasOwnProperty.call(t,i)){var s=n?Object.getOwnPropertyDescriptor(t,i):null;s&&(s.get||s.set)?Object.defineProperty(r,i,s):r[i]=t[i]}return r.default=t,e&&e.set(t,r),r}function O9e(t){return t&&t.__esModule?t:{default:t}}var QA=function(e){return new E9e.default(e)};Object.assign(QA,C9e);delete QA.__esModule;var q9e=QA;Wf.default=q9e;DY.exports=Wf.default});var JA=m((eTt,OY)=>{"use strict";var R9e=Us();OY.exports=function(e,r,n){try{return R9e(n).processSync(r,{updateSelector:!0})}catch{e.warn("Cannot parse selector",{node:r,stylelintType:"parseError"});return}}});var PY=m((tTt,AY)=>{"use strict";var A9e=U(),P9e=j(),T9e=JA(),M9e=N(),{assertString:F9e}=te(),dv="keyframe-selector-notation",RY=P9e(dv,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),L9e={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},XA=new Set(["0%","100%"]),ZA=new Set(["from","to"]),I9e=new Map([["0%","from"],["100%","to"]]),qY=new Map([["from","0%"],["to","100%"]]),pv=(t,e,r)=>(n,i)=>{if(!M9e(i,dv,{actual:t,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let o=Object.freeze({keyword:{expFunc:a=>ZA.has(a),fixFunc:a=>eP(I9e,a)},percentage:{expFunc:a=>XA.has(a),fixFunc:a=>eP(qY,a)},"percentage-unless-within-keyword-only-block":{expFunc:(a,u)=>u.every(l=>ZA.has(l))?!0:XA.has(a),fixFunc:a=>eP(qY,a)}});n.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,a=>{let u=t==="percentage-unless-within-keyword-only-block"?N9e(a):[];a.walkRules(l=>{T9e(i,l,f=>{f.walkTags(d=>{c(d.value,o[t],p=>d.value=p)})});function c(f,{expFunc:d,fixFunc:p},h){let y=f.toLowerCase();if(!ZA.has(y)&&!XA.has(y)||d(f,u))return;let b=p(f);if(r.fix){h(b);return}A9e({message:RY.expected(f,b),node:l,result:i,ruleName:dv,word:f})}})})};function eP(t,e){let r=t.get(e);return F9e(r),r}function N9e(t){let e=[];return t.walkRules(r=>{e.push(...r.selectors)}),e}pv.ruleName=dv;pv.messages=RY;pv.meta=L9e;AY.exports=pv});var MY=m((rTt,TY)=>{"use strict";var j9e=qc();TY.exports=function(e){return!j9e(e)}});var NY=m((nTt,IY)=>{"use strict";var $9e=Ze(),B9e=MY(),W9e=U(),z9e=j(),U9e=N(),{isRegExp:H9e,isString:FY}=te(),hv="keyframes-name-pattern",LY=z9e(hv,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),V9e={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},gv=t=>(e,r)=>{if(!U9e(r,hv,{actual:t,possible:[H9e,FY]}))return;let i=FY(t)?new RegExp(t):t;e.walkAtRules(/keyframes/i,s=>{let o=s.params;if(!B9e(o)||i.test(o))return;let a=$9e(s),u=a+o.length;W9e({index:a,endIndex:u,message:LY.expected,messageArgs:[o,t],node:s,ruleName:hv,result:r})})};gv.ruleName=hv;gv.messages=LY;gv.meta=V9e;IY.exports=gv});var $Y=m((iTt,jY)=>{"use strict";var{mathFunctions:G9e}=YR();jY.exports=function(e){return e.type==="function"&&G9e.has(e.value.toLowerCase())}});var UY=m((sTt,zY)=>{"use strict";var tP=Re(),K9e=Ze(),Y9e=qe(),Q9e=rA(),J9e=vt(),X9e=hn(),Z9e=$Y(),e4e=Mr(),{lengthUnits:t4e}=qb(),BY=_e(),r4e=U(),n4e=j(),i4e=tA(),s4e=Bt(),o4e=N(),{isRegExp:a4e,isString:u4e}=te(),mv="length-zero-no-unit",WY=n4e(mv,{rejected:"Unexpected unit"}),l4e={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},yv=(t,e,r)=>(n,i)=>{if(!o4e(i,mv,{actual:t},{actual:e,possible:{ignore:["custom-properties"],ignoreFunctions:[u4e,a4e]},optional:!0}))return;let o;function a(c,f,d){let{value:p,sourceIndex:h}=d;if(Z9e(d)||g4e(d)&&BY(e,"ignoreFunctions",p))return!1;if(!p4e(d))return;let y=tP.unit(p);if(y===!1)return;let{number:b,unit:g}=y;if(g===""||!h4e(g)||m4e(g)||!y4e(b))return;if(r.fix){let _=b;_.startsWith(".")&&(_=b.slice(1)),d.value=_,o=!0;return}let v=f+h+b.length,w=v+g.length;r4e({index:v,endIndex:w,message:WY.rejected,node:c,result:i,ruleName:mv})}function u(c){if(!e4e(c))return;o=!1;let f=K9e(c),d=tP(Q9e(c));d.walk(p=>a(c,f,p)),o&&i4e(c,d.toString())}function l(c){o=!1;let{prop:f}=c;if(f4e(f)||d4e(f)||BY(e,"ignore","custom-properties")&&X9e(f))return;let d=Y9e(c),p=tP(J9e(c));p.walk((h,y,b)=>{if(!c4e(c,b,y))return a(c,d,h)}),o&&s4e(c,p.toString())}n.walkAtRules(u),n.walkDecls(l)};function c4e({prop:t},e,r){let n=e[r-1];return t.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function f4e(t){return t.toLowerCase()==="line-height"}function d4e(t){return t.toLowerCase()==="flex"}function p4e({type:t}){return t==="word"}function h4e(t){return t4e.has(t.toLowerCase())}function g4e({type:t}){return t==="function"}function m4e(t){return t.toLowerCase()==="fr"}function y4e(t){return Number.parseFloat(t)===0}yv.ruleName=mv;yv.messages=WY;yv.meta=l4e;zY.exports=yv});var KY=m((oTt,GY)=>{"use strict";var HY=t0(),b4e=U(),v4e=j(),w4e=N(),bv="linebreaks",VY=v4e(bv,{expected:t=>`Expected linebreak to be ${t}`}),_4e={url:"https://stylelint.io/user-guide/rules/linebreaks",fixable:!0},vv=(t,e,r)=>(n,i)=>{if(!w4e(i,bv,{actual:t,possible:["unix","windows"]}))return;let o=t==="windows";if(r.fix)n.walk(c=>{"selector"in c&&(c.selector=u(c.selector)),"value"in c&&(c.value=u(c.value)),"text"in c&&(c.text=u(c.text)),c.raws.before&&(c.raws.before=u(c.raws.before)),typeof c.raws.after=="string"&&(c.raws.after=u(c.raws.after))}),typeof n.raws.after=="string"&&(n.raws.after=u(n.raws.after));else{if(n.source==null)throw new Error("The root node must have a source");let c=n.source.input.css.split(`
|
|
119
|
+
`);for(let[f,d]of c.entries())if(f<c.length-1&&!d.includes("\r")&&(d+=`
|
|
120
|
+
`),a(d)){let p=f+1,h=d.length;l(p,h)}}function a(c){let f=/[\r\n]/.test(c),d=f?/\r/.test(c):!1;return f&&d!==o}function u(c){if(c){let f=c.replace(/\r/g,"");return o&&(f=f.replace(/\n/g,`\r
|
|
121
|
+
`)),f}return c}function l(c,f){let d=HY.rule({source:{start:{line:c,column:f,offset:0},input:new HY.Input("")}});b4e({message:VY.expected(t),node:d,result:i,ruleName:bv})}};vv.ruleName=bv;vv.messages=VY;vv.meta=_4e;GY.exports=vv});var JY=m((aTt,QY)=>{"use strict";var x4e=_e(),YY=U(),S4e=j(),k4e=Fr(),E4e=N(),{isNumber:C4e}=te(),zf="max-empty-lines",rP=S4e(zf,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),D4e={url:"https://stylelint.io/user-guide/rules/max-empty-lines",fixable:!0},wv=(t,e,r)=>{let n=0,i=-1;return(s,o)=>{if(!E4e(o,zf,{actual:t,possible:C4e},{actual:e,possible:{ignore:["comments"]},optional:!0}))return;let u=x4e(e,"ignore","comments"),l=d.bind(null,t);if(r.fix){s.walk(y=>{y.type==="comment"&&!u&&(y.raws.left=l(y.raws.left),y.raws.right=l(y.raws.right)),y.raws.before&&(y.raws.before=l(y.raws.before))});let p=s.first&&s.first.raws.before,h=s.raws.after;(s.document&&s.document.constructor.name)!=="Document"?(p&&(s.first.raws.before=l(p,!0)),h&&(s.raws.after=d(t===0?1:t,h,!0))):h&&(s.raws.after=d(t===0?1:t,h));return}n=0,i=-1;let c=s.toString();k4e({source:c,target:/\r\n/.test(c)?`\r
|
|
122
|
+
`:`
|
|
123
|
+
`,comments:u?"skip":"check"},p=>{f(c,p.startIndex,p.endIndex,s)});function f(p,h,y,b){let g=y===p.length,v=!1;!h||i===h?n++:n=0,i=y,n>t&&(v=!0),!(!g&&!v)&&(v&&YY({message:rP.expected(t),node:b,index:h,result:o,ruleName:zf}),g&&t&&(n++,n>t&&O4e(o.root,b)&&YY({message:rP.expected(t),node:b,index:y,result:o,ruleName:zf})))}function d(p,h,y=!1){let b=y?p:p+1;if(b===0||typeof h!="string")return"";let g=`
|
|
124
|
+
`.repeat(b),v=`\r
|
|
125
|
+
`.repeat(b);return/(?:\r\n)+/.test(h)?h.replace(/(\r\n)+/g,w=>w.length/2>b?v:w):h.replace(/(\n)+/g,w=>w.length>b?g:w)}}};function O4e(t,e){if(!t||t.constructor.name!=="Document"||!("type"in t))return!0;let r;if(e===t.last)r=t.raws&&t.raws.codeAfter;else{let n=t.index(e),i=t.nodes[n+1];r=i&&i.raws&&i.raws.codeBefore}return!String(r).trim()}wv.ruleName=zf;wv.messages=rP;wv.meta=D4e;QY.exports=wv});var eQ=m((uTt,ZY)=>{"use strict";var nP=_e(),q4e=U(),R4e=j(),A4e=Fr(),P4e=N(),{isNumber:T4e,isRegExp:M4e,isString:F4e,assert:L4e}=te(),_v="max-line-length",XY=R4e(_v,{expected:t=>`Expected line length to be no more than ${t} ${t===1?"character":"characters"}`}),I4e={url:"https://stylelint.io/user-guide/rules/max-line-length"},xv=(t,e,r)=>(n,i)=>{if(!P4e(i,_v,{actual:t,possible:T4e},{actual:e,possible:{ignore:["non-comments","comments"],ignorePattern:[F4e,M4e]},optional:!0}))return;if(n.source==null)throw new Error("The root node must have a source");let o=[/url\(\s*(\S.*\S)\s*\)/gi,/@import\s+(['"].*['"])/gi],a=nP(e,"ignore","non-comments"),u=nP(e,"ignore","comments"),l=r.fix?n.toString():n.source.input.css,c=[],f=0;for(let y of o)for(let b of l.matchAll(y)){let g=b[1]||"",v=(b.index||0)+(b[0]||"").indexOf(g);c.push([v,v+g.length])}c=c.sort((y,b)=>y[0]-b[0]),h({endIndex:0}),A4e({source:l,target:[`
|
|
126
|
+
`],comments:"check"},y=>h(y));function d(y){q4e({index:y,result:i,ruleName:_v,message:XY.expected(t),node:n})}function p(y,b){let g=c[f];L4e(g);let[v,w]=g;if(b<v)return 0;let _=Math.min(b,w)-Math.max(y,v);return w<=b&&f++,_}function h(y){let b=l.indexOf(`
|
|
127
|
+
`,y.endIndex);l[b-1]==="\r"&&(b-=1),b===-1&&(b=l.length);let g=b-y.endIndex,v=c[f]?p(y.endIndex,b):0,w=l.slice(y.endIndex,b);if(nP(e,"ignorePattern",w)||g-v<=t)return;let _=b-1;if(u){if("insideComment"in y&&y.insideComment)return;let C=l.slice(y.endIndex).trim().slice(0,2);if(C==="/*"||C==="//")return}if(a){if("insideComment"in y&&y.insideComment)return d(_);let C=l.slice(y.endIndex).trim().slice(0,2);return C!=="/*"&&C!=="//"?void 0:d(_)}if(l.slice(y.endIndex,b).replace(/^\s+/,"").includes(" "))return d(_)}};xv.ruleName=_v;xv.messages=XY;xv.meta=I4e;ZY.exports=xv});var Le=m((lTt,tQ)=>{"use strict";var N4e=Ur();tQ.exports=function(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!N4e(e.selector))}});var uQ=m((cTt,aQ)=>{"use strict";var j4e=nr(),$4e=Le(),Sv=_e(),B4e=Us(),W4e=U(),z4e=j(),U4e=N(),{isAtRule:iP,isDeclaration:H4e,isRoot:rQ,isRule:sP}=Ye(),{isNumber:V4e,isRegExp:nQ,isString:iQ}=te(),kv="max-nesting-depth",oQ=z4e(kv,{expected:t=>`Expected nesting depth to be no more than ${t}`}),G4e={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Ev=(t,e)=>{let r=i=>iP(i)&&Sv(e,"ignoreAtRules",i.name);return(i,s)=>{if(!U4e(s,kv,{actual:t,possible:[V4e]},{optional:!0,actual:e,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[iQ,nQ],ignorePseudoClasses:[iQ,nQ]}}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(r(u)||!j4e(u)||sP(u)&&!$4e(u))return;n(u,0)>t&&W4e({ruleName:kv,result:s,node:u,message:oQ.expected(t)})}};function n(i,s){let o=i.parent;if(o==null)throw new Error("The parent node must exist");if(r(o))return 0;if(rQ(o)||iP(o)&&o.parent&&rQ(o.parent))return s;function a(l){return B4e().processSync(l,{lossless:!1}).split(",").every(d=>sQ(d))}function u(l){return e&&e.ignorePseudoClasses?l.every(c=>{let f=sQ(c);return f?Sv(e,"ignorePseudoClasses",f):!1}):!1}return Sv(e,"ignore","blockless-at-rules")&&iP(i)&&i.every(l=>!H4e(l))||Sv(e,"ignore","pseudo-classes")&&sP(i)&&a(i.selector)||sP(i)&&u(i.selectors)?n(o,s):n(o,s+1)}};function sQ(t){return t.startsWith("&:")&&t[2]!==":"?t.slice(2):void 0}Ev.ruleName=kv;Ev.messages=oQ;Ev.meta=G4e;aQ.exports=Ev});var oP=m((fTt,lQ)=>{"use strict";var K4e=Ze(),Y4e=U(),Q4e=Fr();lQ.exports=function(e){e.root.walkAtRules(/^media$/i,n=>{let i=n.raws.params?n.raws.params.raw:n.params;Q4e({source:i,target:":"},s=>{r(i,s.startIndex,n)})});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{let a=i+K4e(s);e.fix&&e.fix(s,a)||Y4e({message:o,node:s,index:a,result:e.result,ruleName:e.checkedRuleName})}})}}});var dQ=m((dTt,fQ)=>{"use strict";var J4e=Ze(),X4e=oP(),Z4e=j(),e7e=N(),t7e=je(),Cv="media-feature-colon-space-after",cQ=Z4e(Cv,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"'}),r7e={url:"https://stylelint.io/user-guide/rules/media-feature-colon-space-after",fixable:!0},Dv=(t,e,r)=>{let n=t7e("space",t,cQ);return(i,s)=>{if(!e7e(s,Cv,{actual:t,possible:["always","never"]}))return;let a;if(X4e({root:i,result:s,locationChecker:n.after,checkedRuleName:Cv,fix:r.fix?(u,l)=>{let c=l-J4e(u);a=a||new Map;let f=a.get(u)||[];return f.push(c),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.params?u.raws.params.raw:u.params;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f+1),p=c.slice(f+1);t==="always"?c=d+p.replace(/^\s*/," "):t==="never"&&(c=d+p.replace(/^\s*/,""))}u.raws.params?u.raws.params.raw=c:u.params=c}}};Dv.ruleName=Cv;Dv.messages=cQ;Dv.meta=r7e;fQ.exports=Dv});var gQ=m((pTt,hQ)=>{"use strict";var n7e=Ze(),i7e=oP(),s7e=j(),o7e=N(),a7e=je(),Ov="media-feature-colon-space-before",pQ=s7e(Ov,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),u7e={url:"https://stylelint.io/user-guide/rules/media-feature-colon-space-before",fixable:!0},qv=(t,e,r)=>{let n=a7e("space",t,pQ);return(i,s)=>{if(!o7e(s,Ov,{actual:t,possible:["always","never"]}))return;let a;if(i7e({root:i,result:s,locationChecker:n.before,checkedRuleName:Ov,fix:r.fix?(u,l)=>{let c=l-n7e(u);a=a||new Map;let f=a.get(u)||[];return f.push(c),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.params?u.raws.params.raw:u.params;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f),p=c.slice(f);t==="always"?c=d.replace(/\s*$/," ")+p:t==="never"&&(c=d.replace(/\s*$/,"")+p)}u.raws.params?u.raws.params.raw=c:u.params=c}}};qv.ruleName=Ov;qv.messages=pQ;qv.meta=u7e;hQ.exports=qv});var Uf=m((hTt,mQ)=>{"use strict";mQ.exports=function(e){return e.startsWith("--")}});var Xo=m((gTt,yQ)=>{"use strict";yQ.exports=function(e){return e.includes("=")||e.includes("<")||e.includes(">")}});var Gu=m((mTt,bQ)=>{"use strict";bQ.exports=function(e){return!/#\{.+?\}|\$.+/.test(e)}});var uP=m(aP=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});function l7e(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}aP.default=l7e});var cP=m(lP=>{"use strict";Object.defineProperty(lP,"__esModule",{value:!0});var c7e=uP(),vQ=f7e(c7e);function f7e(t){return t&&t.__esModule?t:{default:t}}function Hf(t){var e=this;this.constructor(t),this.nodes=t.nodes,this.after===void 0&&(this.after=this.nodes.length>0?this.nodes[this.nodes.length-1].after:""),this.before===void 0&&(this.before=this.nodes.length>0?this.nodes[0].before:""),this.sourceIndex===void 0&&(this.sourceIndex=this.before.length),this.nodes.forEach(function(r){r.parent=e})}Hf.prototype=Object.create(vQ.default.prototype);Hf.constructor=vQ.default;Hf.prototype.walk=function(e,r){for(var n=typeof e=="string"||e instanceof RegExp,i=n?r:e,s=typeof e=="string"?new RegExp(e):e,o=0;o<this.nodes.length;o++){var a=this.nodes[o],u=n?s.test(a.type):!0;if(u&&i&&i(a,o,this.nodes)===!1||a.nodes&&a.walk(e,r)===!1)return!1}return!0};Hf.prototype.each=function(){for(var e=arguments.length<=0||arguments[0]===void 0?function(){}:arguments[0],r=0;r<this.nodes.length;r++){var n=this.nodes[r];if(e(n,r,this.nodes)===!1)return!1}return!0};lP.default=Hf});var SQ=m(Vf=>{"use strict";Object.defineProperty(Vf,"__esModule",{value:!0});Vf.parseMediaFeature=xQ;Vf.parseMediaQuery=dP;Vf.parseMediaList=h7e;var d7e=uP(),wQ=_Q(d7e),p7e=cP(),fP=_Q(p7e);function _Q(t){return t&&t.__esModule?t:{default:t}}function xQ(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],r=[{mode:"normal",character:null}],n=[],i=0,s="",o=null,a=null,u=e,l=t;t[0]==="("&&t[t.length-1]===")"&&(l=t.substring(1,t.length-1),u++);for(var c=0;c<l.length;c++){var f=l[c];if((f==="'"||f==='"')&&(r[i].isCalculationEnabled===!0?(r.push({mode:"string",isCalculationEnabled:!1,character:f}),i++):r[i].mode==="string"&&r[i].character===f&&l[c-1]!=="\\"&&(r.pop(),i--)),f==="{"?(r.push({mode:"interpolation",isCalculationEnabled:!0}),i++):f==="}"&&(r.pop(),i--),r[i].mode==="normal"&&f===":"){var d=l.substring(c+1);a={type:"value",before:/^(\s*)/.exec(d)[1],after:/(\s*)$/.exec(d)[1],value:d.trim()},a.sourceIndex=a.before.length+c+1+u,o={type:"colon",sourceIndex:c+u,after:a.before,value:":"};break}s+=f}return s={type:"media-feature",before:/^(\s*)/.exec(s)[1],after:/(\s*)$/.exec(s)[1],value:s.trim()},s.sourceIndex=s.before.length+u,n.push(s),o!==null&&(o.before=s.after,n.push(o)),a!==null&&n.push(a),n}function dP(t){var e=arguments.length<=1||arguments[1]===void 0?0:arguments[1],r=[],n=0,i=!1,s=void 0;function o(){return{before:"",after:"",value:""}}s=o();for(var a=0;a<t.length;a++){var u=t[a];i?(s.value+=u,(u==="{"||u==="(")&&n++,(u===")"||u==="}")&&n--):u.search(/\s/)!==-1?s.before+=u:(u==="("&&(s.type="media-feature-expression",n++),s.value=u,s.sourceIndex=e+a,i=!0),i&&n===0&&(u===")"||a===t.length-1||t[a+1].search(/\s/)!==-1)&&(["not","only","and"].indexOf(s.value)!==-1&&(s.type="keyword"),s.type==="media-feature-expression"&&(s.nodes=xQ(s.value,s.sourceIndex)),r.push(Array.isArray(s.nodes)?new fP.default(s):new wQ.default(s)),s=o(),i=!1)}for(var l=0;l<r.length;l++)if(s=r[l],l>0&&(r[l-1].after=s.before),s.type===void 0){if(l>0){if(r[l-1].type==="media-feature-expression"){s.type="keyword";continue}if(r[l-1].value==="not"||r[l-1].value==="only"){s.type="media-type";continue}if(r[l-1].value==="and"){s.type="media-feature-expression";continue}r[l-1].type==="media-type"&&(r[l+1]?s.type=r[l+1].type==="media-feature-expression"?"keyword":"media-feature-expression":s.type="media-feature-expression")}if(l===0){if(!r[l+1]){s.type="media-type";continue}if(r[l+1]&&(r[l+1].type==="media-feature-expression"||r[l+1].type==="keyword")){s.type="media-type";continue}if(r[l+2]){if(r[l+2].type==="media-feature-expression"){s.type="media-type",r[l+1].type="keyword";continue}if(r[l+2].type==="keyword"){s.type="keyword",r[l+1].type="media-type";continue}}if(r[l+3]&&r[l+3].type==="media-feature-expression"){s.type="keyword",r[l+1].type="media-type",r[l+2].type="keyword";continue}}}return r}function h7e(t){var e=[],r=0,n=0,i=/^(\s*)url\s*\(/.exec(t);if(i!==null){for(var s=i[0].length,o=1;o>0;){var a=t[s];a==="("&&o++,a===")"&&o--,s++}e.unshift(new wQ.default({type:"url",value:t.substring(0,s).trim(),sourceIndex:i[1].length,before:i[1],after:/^(\s*)/.exec(t.substring(s))[1]})),r=s}for(var u=r;u<t.length;u++){var l=t[u];if(l==="("&&n++,l===")"&&n--,n===0&&l===","){var c=t.substring(r,u),f=/^(\s*)/.exec(c)[1];e.push(new fP.default({type:"media-query",value:c.trim(),sourceIndex:r+f.length,nodes:dP(c,r),before:f,after:/(\s*)$/.exec(c)[1]})),r=u+1}}var d=t.substring(r),p=/^(\s*)/.exec(d)[1];return e.push(new fP.default({type:"media-query",value:d.trim(),sourceIndex:r+p.length,nodes:dP(d,r),before:p,after:/(\s*)$/.exec(d)[1]})),e}});var Mi=m(pP=>{"use strict";Object.defineProperty(pP,"__esModule",{value:!0});pP.default=v7e;var g7e=cP(),m7e=b7e(g7e),y7e=SQ();function b7e(t){return t&&t.__esModule?t:{default:t}}function v7e(t){return new m7e.default({nodes:(0,y7e.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var Ku=m((_Tt,kQ)=>{"use strict";var w7e=Re(),{assert:_7e}=te(),x7e=new Set([">=","<=",">","<","="]);function S7e(t){return/^(?!--)\D/.test(t)||/^--./.test(t)}kQ.exports=function(e){let r,n=[];return w7e(e.value).walk(i=>{if(i.type==="word"&&!x7e.has(i.value)){if(r==null&&S7e(i.value)){r=i;return}n.push(i)}}),_7e(r),{name:{value:r.value,sourceIndex:e.sourceIndex+r.sourceIndex},values:n.map(i=>({value:i.value,sourceIndex:e.sourceIndex+i.sourceIndex}))}}});var DQ=m((xTt,CQ)=>{"use strict";var k7e=Ze(),E7e=Uf(),C7e=Xo(),D7e=Gu(),O7e=qt(),q7e=Mi().default,R7e=Ku(),A7e=U(),P7e=j(),T7e=N(),{isRegExp:M7e,isString:F7e}=te(),Rv="media-feature-name-allowed-list",EQ=P7e(Rv,{rejected:t=>`Unexpected media feature name "${t}"`}),L7e={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Gf=t=>(e,r)=>{T7e(r,Rv,{actual:t,possible:[F7e,M7e]})&&e.walkAtRules(/^media$/i,i=>{q7e(i.params).walk(/^media-feature$/i,s=>{let o=s.parent,a=C7e(o.value),u,l;if(a){let d=R7e(s);u=d.name.value,l=d.name.sourceIndex}else u=s.value,l=s.sourceIndex;if(!D7e(u)||E7e(u)||O7e(u,t))return;let c=k7e(i)+l,f=c+u.length;A7e({index:c,endIndex:f,message:EQ.rejected(u),node:i,ruleName:Rv,result:r})})})};Gf.primaryOptionArray=!0;Gf.ruleName=Rv;Gf.messages=EQ;Gf.meta=L7e;CQ.exports=Gf});var RQ=m((STt,qQ)=>{"use strict";var I7e=Ze(),N7e=Uf(),j7e=Xo(),$7e=Gu(),B7e=Mi().default,W7e=Ku(),z7e=U(),U7e=j(),H7e=N(),Av="media-feature-name-case",OQ=U7e(Av,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),V7e={url:"https://stylelint.io/user-guide/rules/media-feature-name-case",fixable:!0},Pv=(t,e,r)=>(n,i)=>{H7e(i,Av,{actual:t,possible:["lower","upper"]})&&n.walkAtRules(/^media$/i,o=>{let a=o.raws.params&&o.raws.params.raw,u=a||o.params;B7e(u).walk(/^media-feature$/i,l=>{let c=l.parent,f=j7e(c.value),d,p;if(f){let y=W7e(l);d=y.name.value,p=y.name.sourceIndex}else d=l.value,p=l.sourceIndex;if(!$7e(d)||N7e(d))return;let h=t==="lower"?d.toLowerCase():d.toUpperCase();if(d!==h){if(r.fix){if(a){if(a=a.slice(0,p)+h+a.slice(p+h.length),o.raws.params==null)throw new Error("The `AtRuleRaws` node must have a `params` property");o.raws.params.raw=a}else o.params=o.params.slice(0,p)+h+o.params.slice(p+h.length);return}z7e({index:I7e(o)+p,message:OQ.expected(d,h),node:o,ruleName:Av,result:i})}})})};Pv.ruleName=Av;Pv.messages=OQ;Pv.meta=V7e;qQ.exports=Pv});var TQ=m((kTt,PQ)=>{"use strict";var G7e=Ze(),K7e=Uf(),Y7e=Xo(),Q7e=Gu(),J7e=qt(),X7e=Mi().default,Z7e=Ku(),eWe=U(),tWe=j(),rWe=N(),{isRegExp:nWe,isString:iWe}=te(),Tv="media-feature-name-disallowed-list",AQ=tWe(Tv,{rejected:t=>`Unexpected media feature name "${t}"`}),sWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Kf=t=>(e,r)=>{rWe(r,Tv,{actual:t,possible:[iWe,nWe]})&&e.walkAtRules(/^media$/i,i=>{X7e(i.params).walk(/^media-feature$/i,s=>{let o=s.parent,a=Y7e(o.value),u,l;if(a){let d=Z7e(s);u=d.name.value,l=d.name.sourceIndex}else u=s.value,l=s.sourceIndex;if(!Q7e(u)||K7e(u)||!J7e(u,t))return;let c=G7e(i)+l,f=c+u.length;eWe({index:c,endIndex:f,message:AQ.rejected(u),node:i,ruleName:Tv,result:r})})})};Kf.primaryOptionArray=!0;Kf.ruleName=Tv;Kf.messages=AQ;Kf.meta=sWe;PQ.exports=Kf});var hP=m((ETt,FQ)=>{"use strict";var oWe=xu(),aWe=new Set(["device-aspect-ratio","device-height","device-width","max-device-aspect-ratio","max-device-height","max-device-width","min-device-aspect-ratio","min-device-height","min-device-width"]),MQ=new Set(["aspect-ratio","color-index","color","height","monochrome","resolution","width"]),uWe=oWe(aWe,MQ,["any-hover","any-pointer","color-gamut","display-mode","dynamic-range","forced-colors","grid","hover","inverted-colors","light-level","max-aspect-ratio","max-color","max-color-index","max-height","max-monochrome","max-resolution","max-width","min-aspect-ratio","min-color","min-color-index","min-height","min-monochrome","min-resolution","min-width","orientation","overflow-block","overflow-inline","pointer","prefers-color-scheme","prefers-contrast","prefers-reduced-motion","prefers-reduced-transparency","scan","scripting","update","video-dynamic-range"]);FQ.exports={rangeTypeMediaFeatureNames:MQ,mediaFeatureNames:uWe}});var NQ=m((CTt,IQ)=>{"use strict";var lWe=Ze(),cWe=Uf(),fWe=Xo(),dWe=Gu(),{mediaFeatureNames:pWe}=hP(),hWe=Mi().default,gWe=_e(),mWe=Ku(),yWe=U(),bWe=j(),vWe=N(),wWe=tt(),{isRegExp:_We,isString:xWe}=te(),Mv="media-feature-name-no-unknown",LQ=bWe(Mv,{rejected:t=>`Unexpected unknown media feature name "${t}"`}),SWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Fv=(t,e)=>(r,n)=>{vWe(n,Mv,{actual:t},{actual:e,possible:{ignoreMediaFeatureNames:[xWe,_We]},optional:!0})&&r.walkAtRules(/^media$/i,s=>{hWe(s.params).walk(/^media-feature$/i,o=>{let a=o.parent,u=fWe(a.value),l,c;if(u){let p=mWe(o);l=p.name.value,c=p.name.sourceIndex}else l=o.value,c=o.sourceIndex;if(!dWe(l)||cWe(l)||gWe(e,"ignoreMediaFeatureNames",l)||wWe.prefix(l)||pWe.has(l.toLowerCase()))return;let f=lWe(s)+c,d=f+l.length;yWe({index:f,endIndex:d,message:LQ.rejected(l),node:s,ruleName:Mv,result:n})})})};Fv.ruleName=Mv;Fv.messages=LQ;Fv.meta=SWe;IQ.exports=Fv});var WQ=m((DTt,BQ)=>{"use strict";var jQ=Su(),kWe=U(),EWe=j(),CWe=N(),Lv="media-feature-name-no-vendor-prefix",$Q=EWe(Lv,{rejected:"Unexpected vendor-prefix"}),DWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},Iv=(t,e,r)=>(n,i)=>{CWe(i,Lv,{actual:t})&&n.walkAtRules(/^media$/i,o=>{let a=o.params;if(!jQ.mediaFeatureName(a))return;let u=o.toString().match(/-[a-z-]+device-pixel-ratio/gi);if(u){if(r.fix){o.params=jQ.unprefix(o.params);return}for(let l of u)kWe({message:$Q.rejected,node:o,word:l,result:i,ruleName:Lv})}})};Iv.ruleName=Lv;Iv.messages=$Q;Iv.meta=DWe;BQ.exports=Iv});var HQ=m((OTt,UQ)=>{"use strict";var OWe=Mi().default,qWe=Ze(),RWe=Xo(),AWe=qt(),PWe=_e(),TWe=Ku(),MWe=U(),FWe=j(),LWe=Oi(),IWe=N(),{isString:NWe,isRegExp:jWe}=te(),$We=tt(),Nv="media-feature-name-value-allowed-list",zQ=FWe(Nv,{rejected:(t,e)=>`Unexpected value "${e}" for name "${t}"`}),BWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},jv=t=>(e,r)=>{IWe(r,Nv,{actual:t,possible:[LWe(NWe,jWe)]})&&e.walkAtRules(/^media$/i,i=>{OWe(i.params).walk(/^media-feature-expression$/i,s=>{if(!s.nodes)return;let o=RWe(s.parent.value);if(!s.value.includes(":")&&!o)return;let a=s.nodes.find(c=>c.type==="media-feature");if(a==null)throw new Error("A `media-feature` node must be present");let u,l;if(o){let c=TWe(a);u=c.name.value,l=c.values}else{u=a.value;let c=s.nodes.find(f=>f.type==="value");if(c==null)throw new Error("A `value` node must be present");l=[c]}for(let c of l){let f=c.value,d=$We.unprefixed(u),p=Object.keys(t).find(b=>AWe(d,b));if(p==null||PWe(t,p,f))return;let h=qWe(i)+c.sourceIndex,y=h+f.length;MWe({index:h,endIndex:y,message:zQ.rejected(u,f),node:i,ruleName:Nv,result:r})}})})};jv.ruleName=Nv;jv.messages=zQ;jv.meta=BWe;UQ.exports=jv});var KQ=m((qTt,GQ)=>{"use strict";var WWe=Ze(),zWe=U(),UWe=j(),HWe=N(),VQ=Re(),$v="media-feature-parentheses-space-inside",Yf=UWe($v,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),VWe={url:"https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside",fixable:!0},Bv=(t,e,r)=>(n,i)=>{HWe(i,$v,{actual:t,possible:["always","never"]})&&n.walkAtRules(/^media$/i,o=>{let a=o.raws.params&&o.raws.params.raw||o.params,u=WWe(o),l=[],c=VQ(a).walk(f=>{if(f.type==="function"){let d=VQ.stringify(f).length;t==="never"?(/[ \t]/.test(f.before)&&(r.fix&&(f.before=""),l.push({message:Yf.rejectedOpening,index:f.sourceIndex+1+u})),/[ \t]/.test(f.after)&&(r.fix&&(f.after=""),l.push({message:Yf.rejectedClosing,index:f.sourceIndex-2+d+u}))):t==="always"&&(f.before===""&&(r.fix&&(f.before=" "),l.push({message:Yf.expectedOpening,index:f.sourceIndex+1+u})),f.after===""&&(r.fix&&(f.after=" "),l.push({message:Yf.expectedClosing,index:f.sourceIndex-2+d+u})))}});if(l.length){if(r.fix){o.params=c.toString();return}for(let f of l)zWe({message:f.message,node:o,index:f.index,result:i,ruleName:$v})}})};Bv.ruleName=$v;Bv.messages=Yf;Bv.meta=VWe;GQ.exports=Bv});var JQ=m((RTt,QQ)=>{"use strict";var GWe=Mi().default,{rangeTypeMediaFeatureNames:KWe}=hP(),YWe=Ze(),gP=Xo(),QWe=Gu(),JWe=U(),XWe=j(),ZWe=N(),Wv="media-feature-range-notation",YQ=XWe(Wv,{expected:t=>`Expected "${t}" media feature range notation`}),eze={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation"},zv=t=>(e,r)=>{ZWe(r,Wv,{actual:t,possible:["prefix","context"]})&&e.walkAtRules(/^media$/i,i=>{GWe(i.params).walk(/^media-feature$/i,({parent:s,value:o})=>{if(!QWe(o)||!gP(o)&&nze(s)||!gP(o)&&!rze(o)||t==="prefix"&&tze(o)||t==="context"&&gP(o))return;let a=YWe(i)+s.sourceIndex,u=a+s.value.length;JWe({message:YQ.expected(t),node:i,index:a,endIndex:u,result:r,ruleName:Wv})})})};function tze(t){return t.startsWith("min-")||t.startsWith("max-")}function rze(t){let e=t.replace(/^(?:min|max)-/,"");return KWe.has(e)}function nze({nodes:t}){return t&&t.length===1}zv.ruleName=Wv;zv.messages=YQ;zv.meta=eze;QQ.exports=zv});var mP=m((ATt,XQ)=>{"use strict";var ize=Fr(),sze=[">=","<=",">","<","="];XQ.exports=function(e,r){if(e.name.toLowerCase()!=="media")return;let n=e.raws.params?e.raws.params.raw:e.params;ize({source:n,target:sze},i=>{let s=n[i.startIndex-1];s===">"||s==="<"||r(i,n,e)})}});var tJ=m((PTt,eJ)=>{"use strict";var oze=Ze(),aze=mP(),uze=U(),lze=j(),cze=N(),fze=je(),Uv="media-feature-range-operator-space-after",ZQ=lze(Uv,{expectedAfter:()=>"Expected single space after range operator",rejectedAfter:()=>"Unexpected whitespace after range operator"}),dze={url:"https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after",fixable:!0},Hv=(t,e,r)=>{let n=fze("space",t,ZQ);return(i,s)=>{if(!cze(s,Uv,{actual:t,possible:["always","never"]}))return;i.walkAtRules(/^media$/i,u=>{let l=[],c=r.fix?f=>l.push(f):null;if(aze(u,(f,d,p)=>{a(f,d,p,c)}),l.length){let f=u.raws.params?u.raws.params.raw:u.params;for(let d of l.sort((p,h)=>h-p)){let p=f.slice(0,d+1),h=f.slice(d+1);t==="always"?f=p+h.replace(/^\s*/," "):t==="never"&&(f=p+h.replace(/^\s*/,""))}u.raws.params?u.raws.params.raw=f:u.params=f}});function a(u,l,c,f){let d=u.startIndex+u.target.length-1;n.after({source:l,index:d,err:p=>{if(f){f(d);return}uze({message:p,node:c,index:d+oze(c)+1,result:s,ruleName:Uv})}})}}};Hv.ruleName=Uv;Hv.messages=ZQ;Hv.meta=dze;eJ.exports=Hv});var iJ=m((TTt,nJ)=>{"use strict";var pze=Ze(),hze=mP(),gze=U(),mze=j(),yze=N(),bze=je(),Vv="media-feature-range-operator-space-before",rJ=mze(Vv,{expectedBefore:()=>"Expected single space before range operator",rejectedBefore:()=>"Unexpected whitespace before range operator"}),vze={url:"https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before",fixable:!0},Gv=(t,e,r)=>{let n=bze("space",t,rJ);return(i,s)=>{if(!yze(s,Vv,{actual:t,possible:["always","never"]}))return;i.walkAtRules(/^media$/i,u=>{let l=[],c=r.fix?f=>l.push(f):null;if(hze(u,(f,d,p)=>{a(f,d,p,c)}),l.length){let f=u.raws.params?u.raws.params.raw:u.params;for(let d of l.sort((p,h)=>h-p)){let p=f.slice(0,d),h=f.slice(d);t==="always"?f=p.replace(/\s*$/," ")+h:t==="never"&&(f=p.replace(/\s*$/,"")+h)}u.raws.params?u.raws.params.raw=f:u.params=f}});function a(u,l,c,f){n.before({source:l,index:u.startIndex,err:d=>{if(f){f(u.startIndex);return}gze({message:d,node:c,index:u.startIndex-1+pze(c),result:s,ruleName:Vv})}})}}};Gv.ruleName=Vv;Gv.messages=rJ;Gv.meta=vze;nJ.exports=Gv});var Qf=m((MTt,oJ)=>{"use strict";var wze=Fr(),_ze=Ze(),xze=U(),{assertString:sJ}=te();oJ.exports=function(e){e.root.walkAtRules(/^media$/i,n=>{let i=n.raws.params?n.raws.params.raw:n.params;wze({source:i,target:","},s=>{let o=s.startIndex;if(e.allowTrailingComments){let a;for(;a=/^[^\S\r\n]*\/\*([\s\S]*?)\*\//.exec(i.slice(o+1));)sJ(a[0]),o+=a[0].length;(a=/^([^\S\r\n]*\/\/[\s\S]*?)\r?\n/.exec(i.slice(o+1)))&&(sJ(a[1]),o+=a[1].length)}r(i,o,n)})});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{let a=i+_ze(s);e.fix&&e.fix(s,a)||xze({message:o,node:s,index:a,result:e.result,ruleName:e.checkedRuleName})}})}}});var lJ=m((FTt,uJ)=>{"use strict";var Sze=Ze(),kze=Qf(),Eze=j(),Cze=N(),Dze=je(),Kv="media-query-list-comma-newline-after",aJ=Eze(Kv,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),Oze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after",fixable:!0},Yv=(t,e,r)=>{let n=Dze("newline",t,aJ);return(i,s)=>{if(!Cze(s,Kv,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;let a;if(kze({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:Kv,allowTrailingComments:t.startsWith("always"),fix:r.fix?(u,l)=>{let c=l-Sze(u);a=a||new Map;let f=a.get(u)||[];return f.push(c),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.params?u.raws.params.raw:u.params;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f+1),p=c.slice(f+1);t.startsWith("always")?c=/^\s*\n/.test(p)?d+p.replace(/^[^\S\r\n]*/,""):d+r.newline+p:t.startsWith("never")&&(c=d+p.replace(/^\s*/,""))}u.raws.params?u.raws.params.raw=c:u.params=c}}};Yv.ruleName=Kv;Yv.messages=aJ;Yv.meta=Oze;uJ.exports=Yv});var dJ=m((LTt,fJ)=>{"use strict";var qze=Qf(),Rze=j(),Aze=N(),Pze=je(),Qv="media-query-list-comma-newline-before",cJ=Rze(Qv,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),Tze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-newline-before"},Jv=t=>{let e=Pze("newline",t,cJ);return(r,n)=>{Aze(n,Qv,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&qze({root:r,result:n,locationChecker:e.beforeAllowingIndentation,checkedRuleName:Qv})}};Jv.ruleName=Qv;Jv.messages=cJ;Jv.meta=Tze;fJ.exports=Jv});var gJ=m((ITt,hJ)=>{"use strict";var Mze=Ze(),Fze=Qf(),Lze=j(),Ize=N(),Nze=je(),Xv="media-query-list-comma-space-after",pJ=Lze(Xv,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),jze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-space-after",fixable:!0},Zv=(t,e,r)=>{let n=Nze("space",t,pJ);return(i,s)=>{if(!Ize(s,Xv,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(Fze({root:i,result:s,locationChecker:n.after,checkedRuleName:Xv,fix:r.fix?(u,l)=>{let c=l-Mze(u);a=a||new Map;let f=a.get(u)||[];return f.push(c),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.params?u.raws.params.raw:u.params;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f+1),p=c.slice(f+1);t.startsWith("always")?c=d+p.replace(/^\s*/," "):t.startsWith("never")&&(c=d+p.replace(/^\s*/,""))}u.raws.params?u.raws.params.raw=c:u.params=c}}};Zv.ruleName=Xv;Zv.messages=pJ;Zv.meta=jze;hJ.exports=Zv});var bJ=m((NTt,yJ)=>{"use strict";var $ze=Ze(),Bze=Qf(),Wze=j(),zze=N(),Uze=je(),ew="media-query-list-comma-space-before",mJ=Wze(ew,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),Hze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-space-before",fixable:!0},tw=(t,e,r)=>{let n=Uze("space",t,mJ);return(i,s)=>{if(!zze(s,ew,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(Bze({root:i,result:s,locationChecker:n.before,checkedRuleName:ew,fix:r.fix?(u,l)=>{let c=l-$ze(u);a=a||new Map;let f=a.get(u)||[];return f.push(c),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.params?u.raws.params.raw:u.params;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f),p=c.slice(f);t.startsWith("always")?c=d.replace(/\s*$/," ")+p:t.startsWith("never")&&(c=d.replace(/\s*$/,"")+p)}u.raws.params?u.raws.params.raw=c:u.params=c}}};tw.ruleName=ew;tw.messages=mJ;tw.meta=Hze;yJ.exports=tw});var wJ=m((jTt,vJ)=>{"use strict";var Vze=om();function Gze(t,e){let r=t.map(n=>{let i=[],s=n.indexOf(e);for(;s!==-1;)i.push(s),s=n.indexOf(e,s+1);return i});for(let n=0;n<r.length;n++)for(let i=n+1;i<r.length;i++){let s=r[n],o=r[i];if(!(s&&s.length===0||o&&o.length===0)&&!Vze(s,o))return!1}return!0}function Kze(t){let e=new Set(t.flat());return e.delete("."),[...e]}function Yze(t){return Kze(t).filter(e=>!Gze(t,e))}vJ.exports=Yze});var xJ=m(($Tt,_J)=>{"use strict";var Qze=Re(),Jze=qe(),Xze=wJ(),Zze=U(),eUe=j(),tUe=N(),{assert:rUe}=te(),nw="named-grid-areas-no-invalid",rw=eUe(nw,{expectedToken:()=>"Expected cell token within string",expectedSameNumber:()=>"Expected same number of cell tokens in each string",expectedRectangle:t=>`Expected single filled-in rectangle for "${t}"`}),nUe={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},iw=t=>(e,r)=>{tUe(r,nw,{actual:t})&&e.walkDecls(/^(?:grid|grid-template|grid-template-areas)$/i,i=>{let{value:s}=i;if(s.toLowerCase().trim()==="none")return;let o=[],a=!1;if(Qze(s).walk(({sourceIndex:d,sourceEndIndex:p,type:h,value:y})=>{if(h==="string"){if(y===""){f(rw.expectedToken(),d,p),a=!0;return}o.push({values:y.trim().split(" ").filter(Boolean),index:d,endIndex:p})}}),a)return;let[u]=o;if(u===void 0)return;let l=o.find(d=>d.values.length!==u.values.length);if(l!==void 0){f(rw.expectedSameNumber(),l.index,l.endIndex);return}let c=Xze(o.map(d=>d.values));for(let d of c.sort()){let p=o.find(h=>h.values.includes(d));rUe(p),f(rw.expectedRectangle(d),p.index,p.endIndex)}function f(d,p,h){let y=Jze(i);Zze({message:d,node:i,index:y+p,endIndex:y+h,result:r,ruleName:nw})}})};iw.ruleName=nw;iw.messages=rw;iw.meta=nUe;_J.exports=iw});var tn=m((BTt,SJ)=>{SJ.exports=function t(e,r){var n=r.parent,i=n.type==="atrule"&&n.name==="nest";if(n.type==="root")return[e];if(n.type!=="rule"&&!i)return t(e,n);var s=i?n.params.split(",").map(function(a){return a.trim()}):n.selectors,o=s.reduce(function(a,u){if(e.indexOf("&")!==-1){var l=t(u,n).map(function(f){return e.replace(/&/g,f)});return a.concat(l)}var c=[u,e].join(" ");return a.concat(t(c,n))},[]);return o}});var yP=m(aw=>{"use strict";function iUe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}Object.defineProperty(aw,"__esModule",{value:!0});var sw=iUe(Us());function ow(t){if(!t)return{a:0,b:0,c:0};let e=0,r=0,n=0;if(t.type=="universal")return{a:0,b:0,c:0};if(t.type==="id")e+=1;else if(t.type==="tag")n+=1;else if(t.type==="class")r+=1;else if(t.type==="attribute")r+=1;else if(function(i){return sw.default.isPseudoElement(i)}(t))n+=1;else if(sw.default.isPseudoClass(t))switch(t.value.toLowerCase()){case":-moz-any":case":-webkit-any":case":any":case":has":case":is":case":matches":case":not":if(t.nodes&&t.nodes.length>0){let i=kJ(t.nodes);e+=i.a,r+=i.b,n+=i.c}break;case":where":break;case":nth-child":case":nth-last-child":if(r+=1,t.nodes&&t.nodes.length>0){let i=t.nodes[0].nodes.findIndex(s=>s.type==="tag"&&s.value.toLowerCase()==="of");if(i>-1){let s=[sw.default.selector({nodes:t.nodes[0].nodes.slice(i+1),value:""})];t.nodes.length>1&&s.push(...t.nodes.slice(1));let o=kJ(s);e+=o.a,r+=o.b,n+=o.c}}break;case":local":case":global":t.nodes&&t.nodes.length>0&&t.nodes.forEach(i=>{let s=ow(i);e+=s.a,r+=s.b,n+=s.c});break;default:r+=1}else sw.default.isContainer(t)&&t.nodes.length>0&&t.nodes.forEach(i=>{let s=ow(i);e+=s.a,r+=s.b,n+=s.c});return{a:e,b:r,c:n}}function kJ(t){let e={a:0,b:0,c:0};return t.forEach(r=>{let n=ow(r);n.a>e.a?e=n:n.a<e.a||(n.b>e.b?e=n:n.b<e.b||n.c>e.c&&(e=n))}),e}aw.compare=function(t,e){return t.a===e.a?t.b===e.b?t.c-e.c:t.b-e.b:t.a-e.a},aw.selectorSpecificity=ow});var bP=m((zTt,EJ)=>{"use strict";var{isAtRule:sUe,isRule:oUe}=Ye();EJ.exports=function t(e){let r=e.parent;return r?sUe(r)?r:oUe(r)?t(r):null:null}});var CJ=m((UTt,aUe)=>{aUe.exports=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","math","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rb","rp","rt","rtc","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","svg","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"]});var OJ=m((HTt,DJ)=>{"use strict";DJ.exports=CJ()});var rn=m((VTt,LJ)=>{"use strict";var uUe=OJ(),uw=xu(),lUe=new Set(["acronym","applet","basefont","big","blink","center","content","dir","font","frame","frameset","hgroup","isindex","keygen","listing","marquee","nobr","noembed","plaintext","spacer","strike","tt","xmp"]),cUe=new Set(uUe),fUe=uw(lUe,cUe),dUe=new Set(["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","textPath"]),qJ=new Set(["before","after","first-line","first-letter"]),RJ=new Set(["part"]),AJ=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),pUe=uw(AJ,["-moz-focus-inner","-moz-focus-outer","-moz-list-bullet","-moz-meter-bar","-moz-placeholder","-moz-progress-bar","-moz-range-progress","-moz-range-thumb","-moz-range-track","-ms-browse","-ms-check","-ms-clear","-ms-expand","-ms-fill","-ms-fill-lower","-ms-fill-upper","-ms-reveal","-ms-thumb","-ms-ticks-after","-ms-ticks-before","-ms-tooltip","-ms-track","-ms-value","-webkit-color-swatch","-webkit-color-swatch-wrapper","-webkit-calendar-picker-indicator","-webkit-clear-button","-webkit-date-and-time-value","-webkit-datetime-edit","-webkit-datetime-edit-ampm-field","-webkit-datetime-edit-day-field","-webkit-datetime-edit-fields-wrapper","-webkit-datetime-edit-hour-field","-webkit-datetime-edit-millisecond-field","-webkit-datetime-edit-minute-field","-webkit-datetime-edit-month-field","-webkit-datetime-edit-second-field","-webkit-datetime-edit-text","-webkit-datetime-edit-week-field","-webkit-datetime-edit-year-field","-webkit-details-marker","-webkit-distributed","-webkit-file-upload-button","-webkit-input-placeholder","-webkit-keygen-select","-webkit-meter-bar","-webkit-meter-even-less-good-value","-webkit-meter-inner-element","-webkit-meter-optimum-value","-webkit-meter-suboptimum-value","-webkit-progress-bar","-webkit-progress-inner-element","-webkit-progress-value","-webkit-search-cancel-button","-webkit-search-decoration","-webkit-search-results-button","-webkit-search-results-decoration","-webkit-slider-runnable-track","-webkit-slider-thumb","-webkit-textfield-decoration-container","-webkit-validation-bubble","-webkit-validation-bubble-arrow","-webkit-validation-bubble-arrow-clipper","-webkit-validation-bubble-heading","-webkit-validation-bubble-message","-webkit-validation-bubble-text-block"]),hUe=uw(qJ,pUe,RJ,["backdrop","content","cue","file-selector-button","grammar-error","highlight","marker","placeholder","selection","shadow","slotted","spelling-error","target-text"]),PJ=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),TJ=new Set(["nth-child","nth-last-child"]),gUe=new Set(["first","right","left","blank"]),MJ=new Set(["dir","lang"]),FJ=new Set(["has","is","matches","not","where"]),mUe=new Set(["-khtml-drag","-moz-any","-moz-any-link","-moz-broken","-moz-drag-over","-moz-first-node","-moz-focusring","-moz-full-screen","-moz-full-screen-ancestor","-moz-last-node","-moz-loading","-moz-meter-optimum","-moz-meter-sub-optimum","-moz-meter-sub-sub-optimum","-moz-placeholder","-moz-submit-invalid","-moz-suppressed","-moz-ui-invalid","-moz-ui-valid","-moz-user-disabled","-moz-window-inactive","-ms-fullscreen","-ms-input-placeholder","-webkit-drag","-webkit-any","-webkit-any-link","-webkit-autofill","-webkit-full-screen","-webkit-full-screen-ancestor"]),yUe=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),bUe=uw(PJ,MJ,FJ,TJ,mUe,["active","any-link","autofill","blank","checked","current","default","defined","disabled","empty","enabled","first-child","first-of-type","focus","focus-within","focus-visible","fullscreen","fullscreen-ancestor","future","host","host-context","hover","indeterminate","in-range","invalid","last-child","last-of-type","link","only-child","only-of-type","optional","out-of-range","past","placeholder-shown","playing","picture-in-picture","paused","read-only","read-write","required","root","scope","state","target","unresolved","user-invalid","user-valid","valid","visited","window-inactive"]);LJ.exports={aNPlusBNotationPseudoClasses:PJ,aNPlusBOfSNotationPseudoClasses:TJ,atRulePagePseudoClasses:gUe,levelOneAndTwoPseudoElements:qJ,linguisticPseudoClasses:MJ,logicalCombinationsPseudoClasses:FJ,mixedCaseSvgTypeSelectors:dUe,pseudoClasses:bUe,pseudoElements:hUe,shadowTreePseudoElements:RJ,htmlTypeSelectors:fUe,webkitScrollbarPseudoClasses:yUe,webkitScrollbarPseudoElements:AJ}});var vP=m((GTt,NJ)=>{"use strict";NJ.exports=function(){let e=new Map;return{getContext(r,...n){if(!r.source)throw new Error("The node source must be present");let i=r.source.input.from,s=IJ(e,i);return n.reduce((o,a)=>IJ(o,a),s)}}};function IJ(t,e){return t.has(e)||t.set(e,new Map),t.get(e)}});var Ve=m((KTt,jJ)=>{"use strict";var vUe=Us();jJ.exports=function(e,r,n,i){try{return vUe(i).processSync(e)}catch(s){r.warn(`Cannot parse selector (${s})`,{node:n,stylelintType:"parseError"});return}}});var zJ=m((YTt,WJ)=>{"use strict";var wUe=tn(),{selectorSpecificity:_Ue,compare:xUe}=yP(),SUe=bP(),kUe=Le(),EUe=Ur(),{pseudoElements:CUe}=rn(),DUe=vP(),OUe=_e(),qUe=Ve(),RUe=U(),AUe=j(),PUe=N(),{assert:$J}=te(),lw="no-descending-specificity",BJ=AUe(lw,{rejected:(t,e)=>`Expected selector "${t}" to come before selector "${e}"`}),TUe={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},cw=(t,e)=>(r,n)=>{if(!PUe(n,lw,{actual:t},{optional:!0,actual:e,possible:{ignore:["selectors-within-list"]}}))return;let s=OUe(e,"ignore","selectors-within-list"),o=DUe();r.walkRules(u=>{if(!kUe(u)||s&&u.selectors.length>1)return;let l=o.getContext(u,SUe(u));for(let c of u.selectors)if(c.trim()!=="")for(let d of wUe(c,u))qUe(d,n,u,p=>{EUe(d)&&a(p,u,l)})});function a(u,l,c){let f=u.toString(),d=MUe(u);if(d===void 0)return;let p=_Ue(u),h={selector:f,specificity:p},y=c.get(d);if(y===void 0){c.set(d,[h]);return}for(let b of y)xUe(p,b.specificity)<0&&RUe({ruleName:lw,result:n,node:l,message:BJ.rejected(f,b.selector),word:f});y.push(h)}};function MUe(t){let e=t.nodes[0];$J(e);let r=e.split(s=>s.type==="combinator"),n=r[r.length-1];$J(n);let i=n.filter(s=>s.type!=="pseudo"||s.value.startsWith("::")||CUe.has(s.value.replace(/:/g,"")));if(i.length!==0)return i.join("")}cw.ruleName=lw;cw.messages=BJ;cw.meta=TUe;WJ.exports=cw});var GJ=m((QTt,VJ)=>{"use strict";var FUe=Mi().default,LUe=U(),IUe=j(),NUe=N(),UJ=Re(),fw="no-duplicate-at-import-rules",HJ=IUe(fw,{rejected:t=>`Unexpected duplicate @import rule ${t}`}),jUe={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},dw=t=>(e,r)=>{if(!NUe(r,fw,{actual:t}))return;let i={};e.walkAtRules(/^import$/i,s=>{let[o,...a]=UJ(s.params).nodes;if(!o)return;let u=o.type==="function"&&o.value==="url"&&o.nodes[0]?o.nodes[0].value:o.value,l=(FUe(UJ.stringify(a)).nodes||[]).map(d=>d.value.replace(/\s/g,"")).filter(d=>d.length),c=i[u];if(l.length?l.some(d=>c&&c.includes(d)):c){LUe({message:HJ.rejected(u),node:s,result:r,ruleName:fw,word:s.toString()});return}c||(c=i[u]=[]),c.push(...l)})};dw.ruleName=fw;dw.messages=HJ;dw.meta=jUe;VJ.exports=dw});var wP=m((JTt,KJ)=>{"use strict";var{isAtRule:$Ue}=Ye();KJ.exports=function(e){let r=e.parent;return r?$Ue(r)&&r.name.toLowerCase()==="keyframes":!1}});var XJ=m((XTt,JJ)=>{"use strict";var BUe=tn(),WUe=Us(),zUe=bP(),UUe=wP(),HUe=Ur(),VUe=vP(),GUe=Ve(),YJ=U(),KUe=j(),YUe=N(),{isBoolean:QUe}=te(),Jf="no-duplicate-selectors",_P=KUe(Jf,{rejected:(t,e)=>`Unexpected duplicate selector "${t}", first used at line ${e}`}),JUe={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},pw=(t,e)=>(r,n)=>{if(!YUe(n,Jf,{actual:t},{actual:e,possible:{disallowInList:[QUe]},optional:!0}))return;let s=e&&e.disallowInList,o=VUe();r.walkRules(a=>{if(UUe(a))return;let u=o.getContext(a,zUe(a)),l=[...new Set(a.selectors.flatMap(g=>BUe(g,a)))],f=[...l.map(QJ)].sort().join(",");if(!a.source)throw new Error("The rule node must have a source");if(!a.source.start)throw new Error("The rule source must have a start position");let d=a.source.start.line,p,h=[];if(s?GUe(f,n,a,g=>{g.each(v=>{let w=String(v);h.push(w),u.get(w)&&(p=u.get(w))})}):p=u.get(f),p){let v=l.join(",")!==a.selectors.join(",")?l.join(", "):a.selector;return YJ({result:n,ruleName:Jf,node:a,message:_P.rejected(v,p),word:v})}let y=new Set,b=new Set;for(let g of a.selectors){let v=QJ(g);if(y.has(v)){if(b.has(v))continue;YJ({result:n,ruleName:Jf,node:a,message:_P.rejected(g,d),word:g}),b.add(v)}else y.add(v)}if(s)for(let g of h)u.set(g,d);else u.set(f,d)})};function QJ(t){return HUe(t)?WUe().processSync(t,{lossless:!1}):t}pw.ruleName=Jf;pw.messages=_P;pw.meta=JUe;JJ.exports=pw});var tX=m((ZTt,eX)=>{"use strict";var XUe=U(),ZUe=j(),eHe=N(),hw="no-empty-source",ZJ=ZUe(hw,{rejected:"Unexpected empty source"}),tHe={url:"https://stylelint.io/user-guide/rules/no-empty-source"},gw=(t,e,r)=>(n,i)=>{!eHe(i,hw,{actual:t})||(r.fix?n.toString():n.source&&n.source.input.css||"").trim()||XUe({message:ZJ.rejected,node:n,result:i,ruleName:hw})};gw.ruleName=hw;gw.messages=ZJ;gw.meta=tHe;eX.exports=gw});var iX=m((eMt,nX)=>{"use strict";var rHe=U(),nHe=j(),iHe=N(),mw="no-empty-first-line",sHe=/^\s*[\r\n]/,rX=nHe(mw,{rejected:"Unexpected empty line"}),oHe={url:"https://stylelint.io/user-guide/rules/no-empty-first-line",fixable:!0},yw=(t,e,r)=>(n,i)=>{if(!iHe(i,mw,{actual:t})||n.source.inline||n.source.lang==="object-literal")return;let o=r.fix?n.toString():n.source&&n.source.input.css||"";if(o.trim()&&sHe.test(o)){if(r.fix){if(n.first==null)throw new Error("The root node must have the first node.");if(n.first.raws.before==null)throw new Error("The first node must have spaces before.");n.first.raws.before=n.first.raws.before.trimStart();return}rHe({message:rX.rejected,node:n,result:i,ruleName:mw})}};yw.ruleName=mw;yw.messages=rX;yw.meta=oHe;nX.exports=yw});var xP=m((tMt,sX)=>{"use strict";var aHe=Lc();sX.exports=function(e){for(let r of e)if(!aHe(r))return!1;return!0}});var cX=m((rMt,lX)=>{"use strict";var uHe=Fr(),lHe=xP(),cHe=Ou(),fHe=_e(),dHe=U(),pHe=j(),{isAtRule:SP,isComment:hHe,isDeclaration:oX,isRule:kP}=Ye(),gHe=N(),bw="no-eol-whitespace",uX=pHe(bw,{rejected:"Unexpected whitespace at end of line"}),mHe={url:"https://stylelint.io/user-guide/rules/no-eol-whitespace",fixable:!0},yHe=new Set([" "," "]);function EP(t){return t.replace(/[ \t]+$/,"")}function aX(t,e,{ignoreEmptyLines:r,isRootFirst:n}){let i=t-1;if(!yHe.has(e.charAt(i)))return-1;if(r){let s=e.lastIndexOf(`
|
|
128
|
+
`,i);if(s>=0||n){let o=e.substring(s,i);if(lHe(o))return-1}}return i}var vw=(t,e,r)=>(n,i)=>{if(!gHe(i,bw,{actual:t},{optional:!0,actual:e,possible:{ignore:["empty-lines"]}}))return;let o=fHe(e,"ignore","empty-lines");r.fix&&f(n);let a=r.fix?n.toString():n.source&&n.source.input.css||"",u=p=>{dHe({message:uX.rejected,node:n,index:p,result:i,ruleName:bw})};c(a,u,!0);let l=aX(a.length,a,{ignoreEmptyLines:o,isRootFirst:!0});l>-1&&u(l);function c(p,h,y){uHe({source:p,target:[`
|
|
129
|
+
`,"\r"],comments:"check"},b=>{let g=aX(b.startIndex,p,{ignoreEmptyLines:o,isRootFirst:y});g>-1&&h(g)})}function f(p){let h=!0;if(p.walk(y=>{if(d(y.raws.before,b=>{y.raws.before=b},h),h=!1,SP(y)){d(y.raws.afterName,g=>{y.raws.afterName=g});let b=y.raws.params;b?d(b.raw,g=>{b.raw=g}):d(y.params,g=>{y.params=g})}if(kP(y)){let b=y.raws.selector;b?d(b.raw,g=>{b.raw=g}):d(y.selector,g=>{y.selector=g})}if((SP(y)||kP(y)||oX(y))&&d(y.raws.between,b=>{y.raws.between=b}),oX(y)){let b=y.raws.value;b?d(b.raw,g=>{b.raw=g}):d(y.value,g=>{y.value=g})}hHe(y)&&(d(y.raws.left,b=>{y.raws.left=b}),cHe(y)?d(y.raws.right,b=>{y.raws.right=b}):y.raws.right=y.raws.right&&EP(y.raws.right),d(y.text,b=>{y.text=b})),(SP(y)||kP(y))&&d(y.raws.after,b=>{y.raws.after=b})}),d(p.raws.after,y=>{p.raws.after=y},h),typeof p.raws.after=="string"){let y=Math.max(p.raws.after.lastIndexOf(`
|
|
130
|
+
`),p.raws.after.lastIndexOf("\r"));y!==p.raws.after.length-1&&(p.raws.after=p.raws.after.slice(0,y+1)+EP(p.raws.after.slice(y+1)))}}function d(p,h,y=!1){if(!p)return;let b="",g=0;c(p,v=>{let w=v+1;b+=EP(p.slice(g,w)),g=w},y),g&&(b+=p.slice(g),h(b))}};vw.ruleName=bw;vw.messages=uX;vw.meta=mHe;lX.exports=vw});var hX=m((nMt,pX)=>{"use strict";var fX=Mr(),bHe=Le(),vHe=U(),wHe=j(),ww=Fr(),_He=N(),{isAtRule:xHe}=Ye(),_w="no-extra-semicolons",dX=wHe(_w,{rejected:"Unexpected extra semicolon"}),SHe={url:"https://stylelint.io/user-guide/rules/no-extra-semicolons",fixable:!0};function CP(t){if(t.parent&&t.parent.document)return 0;let e=t.root();if(!e.source)throw new Error("The root node must have a source");if(!t.source)throw new Error("The node must have a source");if(!t.source.start)throw new Error("The source must have a start position");let r=e.source.input.css,n=t.source.start.column,i=t.source.start.line,s=1,o=1,a=0;for(let u=0;u<r.length;u++){if(o===n&&i===s){a=u;break}r[u]===`
|
|
131
|
+
`?(o=1,s+=1):o+=1}return a}var xw=(t,e,r)=>(n,i)=>{if(!_He(i,_w,{actual:t}))return;if(n.raws.after&&n.raws.after.trim().length!==0){let u=n.raws.after,l=[];ww({source:u,target:";"},c=>{if(r.fix){l.push(c.startIndex);return}if(!n.source)throw new Error("The root node must have a source");o(n.source.input.css.length-u.length+c.startIndex)}),l.length&&(n.raws.after=a(u,l))}n.walk(u=>{if(!(xHe(u)&&!fX(u))&&!(u.type==="rule"&&!bHe(u))){if(u.raws.before&&u.raws.before.trim().length!==0){let l=u.raws.before,c=0,f=0,d=[];ww({source:l,target:";"},(p,h)=>{if(h!==c){if(r.fix){d.push(p.startIndex-f);return}o(CP(u)-l.length+p.startIndex)}}),d.length&&(u.raws.before=a(l,d))}if(typeof u.raws.after=="string"&&u.raws.after.trim().length!==0){let l=u.raws.after;if("last"in u&&u.last&&u.last.type==="atrule"&&!fX(u.last))return;let c=[];ww({source:l,target:";"},f=>{if(r.fix){c.push(f.startIndex);return}let d=CP(u)+u.toString().length-1-l.length+f.startIndex;o(d)}),c.length&&(u.raws.after=a(l,c))}if(typeof u.raws.ownSemicolon=="string"){let l=u.raws.ownSemicolon,c=0,f=[];ww({source:l,target:";"},(d,p)=>{if(p===c)return;if(r.fix){f.push(d.startIndex);return}let h=CP(u)+u.toString().length-l.length+d.startIndex;o(h)}),f.length&&(u.raws.ownSemicolon=a(l,f))}}});function o(u){vHe({message:dX.rejected,node:n,index:u,result:i,ruleName:_w})}function a(u,l){for(let c of l.reverse())u=u.slice(0,c)+u.slice(c+1);return u}};xw.ruleName=_w;xw.messages=dX;xw.meta=SHe;pX.exports=xw});var yX=m((iMt,mX)=>{"use strict";var gX=U(),kHe=j(),EHe=N(),Xf="no-invalid-double-slash-comments",DP=kHe(Xf,{rejected:"Unexpected double-slash CSS comment"}),CHe={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},Sw=t=>(e,r)=>{EHe(r,Xf,{actual:t})&&(e.walkDecls(i=>{i.prop.startsWith("//")&&gX({message:DP.rejected,node:i,result:r,ruleName:Xf,word:i.toString()})}),e.walkRules(i=>{for(let s of i.selectors)s.startsWith("//")&&gX({message:DP.rejected,node:i,result:r,ruleName:Xf,word:i.toString()})}))};Sw.ruleName=Xf;Sw.messages=DP;Sw.meta=CHe;mX.exports=Sw});var _X=m((sMt,wX)=>{"use strict";var DHe=Mr(),OHe=Le(),qHe=_e(),RHe=U(),AHe=j(),{isAtRule:bX}=Ye(),PHe=N(),{isRegExp:THe,isString:MHe}=te(),kw="no-invalid-position-at-import-rule",vX=AHe(kw,{rejected:"Unexpected invalid position @import rule"}),FHe={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},Ew=(t,e)=>(r,n)=>{if(!PHe(n,kw,{actual:t},{actual:e,possible:{ignoreAtRules:[MHe,THe]},optional:!0}))return;let s=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(bX(o)&&a!=="charset"&&a!=="import"&&a!=="layer"&&!qHe(e,"ignoreAtRules",o.name)&&DHe(o)||o.type==="rule"&&OHe(o)){s=!0;return}bX(o)&&a==="import"&&s&&RHe({message:vX.rejected,node:o,result:n,ruleName:kw,word:o.toString()})})};Ew.ruleName=kw;Ew.messages=vX;Ew.meta=FHe;wX.exports=Ew});var kX=m((oMt,SX)=>{"use strict";var LHe=U(),IHe=j(),NHe=N(),Cw="no-irregular-whitespace",xX=IHe(Cw,{unexpected:"Unexpected irregular whitespace"}),jHe={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},$He=["\v","\f","\xA0","\x85","\u1680","\u180E","\uFEFF","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005","\u2006","\u2007","\u2008","\u2009","\u200A","\u200B","\u2028","\u2029","\u202F","\u205F","\u3000"],BHe=new RegExp(`([${$He.join("")}])`),WHe=t=>{let e=BHe.exec(t);return e&&e[1]||null},Dw=t=>(e,r)=>{if(!NHe(r,Cw,{actual:t}))return;let i=(s,o)=>{let a=o&&WHe(o);a&&LHe({ruleName:Cw,result:r,message:xX.unexpected,node:s,word:a})};e.walkAtRules(s=>{i(s,s.name),i(s,s.params),i(s,s.raws.before),i(s,s.raws.after),i(s,s.raws.afterName),i(s,s.raws.between)}),e.walkRules(s=>{i(s,s.selector),i(s,s.raws.before),i(s,s.raws.after),i(s,s.raws.between)}),e.walkDecls(s=>{i(s,s.prop),i(s,s.value),i(s,s.raws.before),i(s,s.raws.between)})};Dw.ruleName=Cw;Dw.messages=xX;Dw.meta=jHe;SX.exports=Dw});var DX=m((aMt,CX)=>{"use strict";var zHe=U(),UHe=j(),HHe=N(),Ow="no-missing-end-of-source-newline",EX=UHe(Ow,{rejected:"Unexpected missing end-of-source newline"}),VHe={url:"https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline",fixable:!0},qw=(t,e,r)=>(n,i)=>{if(!HHe(i,Ow,{actual:t}))return;if(n.source==null)throw new Error("The root node must have a source property");if(n.source.inline||n.source.lang==="object-literal")return;let o=r.fix?n.toString():n.source.input.css;if(!(!o.trim()||o.endsWith(`
|
|
132
|
+
`))){if(r.fix){n.raws.after=r.newline;return}zHe({message:EX.rejected,node:n,index:o.length-1,result:i,ruleName:Ow})}};qw.ruleName=Ow;qw.messages=EX;qw.meta=VHe;CX.exports=qw});var qX=m((uMt,OX)=>{"use strict";var GHe=oi(),KHe=pn(),YHe=Au(),{animationShorthandKeywords:QHe,basicKeywords:JHe}=gn(),XHe=Re();OX.exports=function(e){let r=[],n=XHe(e),{nodes:i}=n;if(i.length===1&&i[0]&&JHe.has(i[0].value.toLowerCase()))return[i[0]];let s=!1;return n.walk(o=>{if(s)return;if(o.type==="function")return!1;if(o.type!=="word")return;let a=o.value.toLowerCase();if(!KHe(a)){s=!0,r.length=0;return}if(YHe(a)||QHe.has(a))return;let{unit:u}=GHe(o);u||u===""||r.push(o)}),r}});var PX=m((lMt,AX)=>{"use strict";var ZHe=qe(),eVe=qX(),{animationNameKeywords:tVe}=gn(),rVe=U(),nVe=j(),iVe=N(),Rw="no-unknown-animations",RX=nVe(Rw,{rejected:t=>`Unexpected unknown animation name "${t}"`}),sVe={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},Aw=t=>(e,r)=>{if(!iVe(r,Rw,{actual:t}))return;let i=new Set;e.walkAtRules(/(-(moz|webkit)-)?keyframes/i,s=>{i.add(s.params)}),e.walkDecls(s=>{if(s.prop.toLowerCase()==="animation"||s.prop.toLowerCase()==="animation-name"){let o=eVe(s.value);if(o.length===0)return;for(let a of o){if(tVe.has(a.value.toLowerCase())||i.has(a.value))continue;let u=ZHe(s);rVe({result:r,ruleName:Rw,message:RX.rejected(a.value),node:s,index:u+a.sourceIndex,endIndex:u+a.sourceEndIndex})}}})};Aw.ruleName=Rw;Aw.messages=RX;Aw.meta=sVe;AX.exports=Aw});var NX=m((cMt,IX)=>{"use strict";var oVe=Re(),TX=Ze(),MX=qe(),aVe=U(),uVe=j(),{isAtRule:Pw}=Ye(),lVe=N(),Tw="number-leading-zero",OP=uVe(Tw,{expected:"Expected a leading zero",rejected:"Unexpected leading zero"}),cVe={url:"https://stylelint.io/user-guide/rules/number-leading-zero",fixable:!0},Mw=(t,e,r)=>(n,i)=>{if(!lVe(i,Tw,{actual:t,possible:["always","never"]}))return;n.walkAtRules(u=>{u.name.toLowerCase()!=="import"&&o(u,u.params)}),n.walkDecls(u=>o(u,u.value));function o(u,l){let c=[],f=[];if(l.includes(".")){if(oVe(l).walk(d=>{if(d.type==="function"&&d.value.toLowerCase()==="url")return!1;if(d.type==="word"){if(t==="always"){let p=/(?:\D|^)(\.\d+)/.exec(d.value);if(p==null||p[0]==null||p[1]==null)return;let h=p[0].length-p[1].length,y=d.sourceIndex+p.index+h;if(r.fix){f.unshift({index:y});return}let b=Pw(u)?TX(u):MX(u);a(OP.expected,u,b+y)}if(t==="never"){let p=/(?:\D|^)(0+)(\.\d+)/.exec(d.value);if(p==null||p[0]==null||p[1]==null||p[2]==null)return;let h=p[0].length-(p[1].length+p[2].length),y=d.sourceIndex+p.index+h;if(r.fix){c.unshift({startIndex:y,endIndex:y+p[1].length});return}let b=Pw(u)?TX(u):MX(u);a(OP.rejected,u,b+y)}}}),f.length)for(let d of f){let p=d.index;Pw(u)?u.params=FX(u.params,p):u.value=FX(u.value,p)}if(c.length)for(let d of c){let p=d.startIndex,h=d.endIndex;Pw(u)?u.params=LX(u.params,p,h):u.value=LX(u.value,p,h)}}}function a(u,l,c){aVe({result:i,ruleName:Tw,message:u,node:l,index:c})}};function FX(t,e){return t.slice(0,e)+"0"+t.slice(e)}function LX(t,e,r){return t.slice(0,e)+t.slice(r)}Mw.ruleName=Tw;Mw.messages=OP;Mw.meta=cVe;IX.exports=Mw});var UX=m((fMt,zX)=>{"use strict";var fVe=Re(),dVe=Ze(),pVe=qe(),hVe=oi(),jX=_e(),gVe=U(),mVe=j(),{isAtRule:yVe}=Ye(),bVe=N(),{isNumber:vVe,isRegExp:$X,isString:BX}=te(),Fw="number-max-precision",WX=mVe(Fw,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),wVe={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Lw=(t,e)=>(r,n)=>{if(!bVe(n,Fw,{actual:t,possible:[vVe]},{optional:!0,actual:e,possible:{ignoreProperties:[BX,$X],ignoreUnits:[BX,$X]}}))return;r.walkAtRules(o=>{o.name.toLowerCase()!=="import"&&s(o,o.params)}),r.walkDecls(o=>s(o,o.value));function s(o,a){if(!a.includes("."))return;let u="prop"in o?o.prop:void 0;jX(e,"ignoreProperties",u)||fVe(a).walk(l=>{let{unit:c}=hVe(l);if(jX(e,"ignoreUnits",c))return;if(l.type==="function"&&l.value.toLowerCase()==="url")return!1;if(l.type!=="word")return;let f=/\d*\.(\d+)/.exec(l.value);if(f==null||f[0]==null||f[1]==null||f[1].length<=t)return;let d=yVe(o)?dVe(o):pVe(o),p=Number.parseFloat(f[0]);gVe({result:n,ruleName:Fw,node:o,index:d+l.sourceIndex+f.index,word:p.toString(),message:WX.expected(p,p.toFixed(t))})})}};Lw.ruleName=Fw;Lw.messages=WX;Lw.meta=wVe;zX.exports=Lw});var YX=m((dMt,KX)=>{"use strict";var _Ve=Re(),xVe=Ze(),SVe=qe(),kVe=U(),EVe=j(),{isAtRule:HX}=Ye(),CVe=N(),Iw="number-no-trailing-zeros",GX=EVe(Iw,{rejected:"Unexpected trailing zero(s)"}),DVe={url:"https://stylelint.io/user-guide/rules/number-no-trailing-zeros",fixable:!0},Nw=(t,e,r)=>(n,i)=>{if(!CVe(i,Iw,{actual:t}))return;n.walkAtRules(a=>{a.name.toLowerCase()!=="import"&&o(a,a.params)}),n.walkDecls(a=>o(a,a.value));function o(a,u){let l=[];if(u.includes(".")&&(_Ve(u).walk(c=>{if(c.type==="function"&&c.value.toLowerCase()==="url")return!1;if(c.type!=="word")return;let f=/\.(\d{0,100}?)(0+)(?:\D|$)/.exec(c.value);if(f==null||f[1]==null||f[2]==null)return;let d=c.sourceIndex+f.index+1+f[1].length,p=f[1].length>0?d:d-1,h=d+f[2].length;if(r.fix){l.unshift({startIndex:p,endIndex:h});return}let y=HX(a)?xVe(a):SVe(a);kVe({message:GX.rejected,node:a,index:y+d,result:i,ruleName:Iw})}),l.length))for(let c of l){let f=c.startIndex,d=c.endIndex;HX(a)?a.params=VX(a.params,f,d):a.value=VX(a.value,f,d)}}};function VX(t,e,r){return t.slice(0,e)+t.slice(r)}Nw.ruleName=Iw;Nw.messages=GX;Nw.meta=DVe;KX.exports=Nw});var XX=m((pMt,JX)=>{"use strict";var OVe=hn(),qVe=si(),RVe=qt(),AVe=U(),PVe=j(),TVe=N(),MVe=tt(),{isRegExp:FVe,isString:LVe}=te(),jw="property-allowed-list",QX=PVe(jw,{rejected:t=>`Unexpected property "${t}"`}),IVe={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},Zf=t=>(e,r)=>{TVe(r,jw,{actual:t,possible:[LVe,FVe]})&&e.walkDecls(i=>{let s=i.prop;qVe(s)&&(OVe(s)||RVe([s,MVe.unprefixed(s)],t)||AVe({message:QX.rejected(s),word:s,node:i,result:r,ruleName:jw}))})};Zf.primaryOptionArray=!0;Zf.ruleName=jw;Zf.messages=QX;Zf.meta=IVe;JX.exports=Zf});var tZ=m((hMt,eZ)=>{"use strict";var NVe=hn(),jVe=si(),$Ve=U(),BVe=j(),WVe=N(),zVe=_e(),{isRegExp:UVe,isString:HVe}=te(),{isRule:VVe}=Ye(),$w="property-case",ZX=BVe($w,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),GVe={url:"https://stylelint.io/user-guide/rules/property-case",fixable:!0},Bw=(t,e,r)=>(n,i)=>{WVe(i,$w,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreSelectors:[HVe,UVe]},optional:!0})&&n.walkDecls(o=>{let a=o.prop;if(!jVe(a)||NVe(a))return;let{parent:u}=o;if(!u)throw new Error("A parent node must be present");if(VVe(u)){let{selector:c}=u;if(c&&zVe(e,"ignoreSelectors",c))return}let l=t==="lower"?a.toLowerCase():a.toUpperCase();if(a!==l){if(r.fix){o.prop=l;return}$Ve({message:ZX.expected(a,l),word:a,node:o,ruleName:$w,result:i})}})};Bw.ruleName=$w;Bw.messages=ZX;Bw.meta=GVe;eZ.exports=Bw});var iZ=m((gMt,nZ)=>{"use strict";var KVe=hn(),YVe=si(),QVe=qt(),JVe=U(),XVe=j(),ZVe=N(),eGe=tt(),{isRegExp:tGe,isString:rGe}=te(),Ww="property-disallowed-list",rZ=XVe(Ww,{rejected:t=>`Unexpected property "${t}"`}),nGe={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},ed=t=>(e,r)=>{ZVe(r,Ww,{actual:t,possible:[rGe,tGe]})&&e.walkDecls(i=>{let s=i.prop;YVe(s)&&(KVe(s)||QVe([s,eGe.unprefixed(s)],t)&&JVe({message:rZ.rejected,messageArgs:[s],word:s,node:i,result:r,ruleName:Ww}))})};ed.primaryOptionArray=!0;ed.ruleName=Ww;ed.messages=rZ;ed.meta=nGe;nZ.exports=ed});var sZ=m((mMt,iGe)=>{iGe.exports={properties:["-epub-caption-side","-epub-hyphens","-epub-text-combine","-epub-text-emphasis","-epub-text-emphasis-color","-epub-text-emphasis-style","-epub-text-orientation","-epub-text-transform","-epub-word-break","-epub-writing-mode","-internal-text-autosizing-status","accelerator","accent-color","-wap-accesskey","additive-symbols","align-content","-webkit-align-content","align-items","-webkit-align-items","align-self","-webkit-align-self","alignment-baseline","all","alt","-webkit-alt","animation","animation-composition","animation-delay","animation-delay-end","-moz-animation-delay","-ms-animation-delay","animation-delay-start","-webkit-animation-delay","animation-direction","-moz-animation-direction","-ms-animation-direction","-webkit-animation-direction","animation-duration","-moz-animation-duration","-ms-animation-duration","-webkit-animation-duration","animation-fill-mode","-moz-animation-fill-mode","-ms-animation-fill-mode","-webkit-animation-fill-mode","animation-iteration-count","-moz-animation-iteration-count","-ms-animation-iteration-count","-webkit-animation-iteration-count","-moz-animation","-ms-animation","animation-name","-moz-animation-name","-ms-animation-name","-webkit-animation-name","animation-play-state","-moz-animation-play-state","-ms-animation-play-state","-webkit-animation-play-state","animation-range","animation-timing-function","-moz-animation-timing-function","-ms-animation-timing-function","-webkit-animation-timing-function","-webkit-animation-trigger","-webkit-animation","app-region","-webkit-app-region","appearance","-moz-appearance","-webkit-appearance","ascent-override","aspect-ratio","-webkit-aspect-ratio","audio-level","azimuth","backdrop-filter","-webkit-backdrop-filter","backface-visibility","-moz-backface-visibility","-ms-backface-visibility","-webkit-backface-visibility","background","background-attachment","-webkit-background-attachment","background-blend-mode","background-clip","-moz-background-clip","-webkit-background-clip","background-color","-webkit-background-color","-webkit-background-composite","background-image","-webkit-background-image","-moz-background-inline-policy","background-origin","-moz-background-origin","-webkit-background-origin","background-position","-webkit-background-position","background-position-x","-webkit-background-position-x","background-position-y","-webkit-background-position-y","background-repeat","-webkit-background-repeat","background-repeat-x","background-repeat-y","background-size","-moz-background-size","-webkit-background-size","-webkit-background","base-palette","baseline-shift","baseline-source","behavior","-moz-binding","block-ellipsis","-ms-block-progression","block-size","block-step","block-step-align","block-step-insert","block-step-round","block-step-size","bookmark-label","bookmark-level","bookmark-state","border","-webkit-border-after-color","-webkit-border-after-style","-webkit-border-after","-webkit-border-after-width","-webkit-border-before-color","-webkit-border-before-style","-webkit-border-before","-webkit-border-before-width","border-block","border-block-color","border-block-end","border-block-end-color","border-block-end-style","border-block-end-width","border-block-start","border-block-start-color","border-block-start-style","border-block-start-width","border-block-style","border-block-width","border-bottom","border-bottom-color","-moz-border-bottom-colors","border-bottom-left-radius","-webkit-border-bottom-left-radius","border-bottom-right-radius","-webkit-border-bottom-right-radius","border-bottom-style","border-bottom-width","border-boundary","border-collapse","border-color","-moz-border-end-color","-webkit-border-end-color","border-end-end-radius","-moz-border-end","border-end-start-radius","-moz-border-end-style","-webkit-border-end-style","-webkit-border-end","-moz-border-end-width","-webkit-border-end-width","-webkit-border-fit","-webkit-border-horizontal-spacing","border-image","-moz-border-image","-o-border-image","border-image-outset","-webkit-border-image-outset","border-image-repeat","-webkit-border-image-repeat","border-image-slice","-webkit-border-image-slice","border-image-source","-webkit-border-image-source","-webkit-border-image","border-image-width","-webkit-border-image-width","border-inline","border-inline-color","border-inline-end","border-inline-end-color","border-inline-end-style","border-inline-end-width","border-inline-start","border-inline-start-color","border-inline-start-style","border-inline-start-width","border-inline-style","border-inline-width","border-left","border-left-color","-moz-border-left-colors","border-left-style","border-left-width","border-radius","-moz-border-radius-bottomleft","-moz-border-radius-bottomright","-moz-border-radius","-moz-border-radius-topleft","-moz-border-radius-topright","-webkit-border-radius","border-right","border-right-color","-moz-border-right-colors","border-right-style","border-right-width","border-spacing","-moz-border-start-color","-webkit-border-start-color","border-start-end-radius","-moz-border-start","border-start-start-radius","-moz-border-start-style","-webkit-border-start-style","-webkit-border-start","-moz-border-start-width","-webkit-border-start-width","border-style","border-top","border-top-color","-moz-border-top-colors","border-top-left-radius","-webkit-border-top-left-radius","border-top-right-radius","-webkit-border-top-right-radius","border-top-style","border-top-width","-webkit-border-vertical-spacing","border-width","bottom","-moz-box-align","-webkit-box-align","box-decoration-break","-webkit-box-decoration-break","-moz-box-direction","-webkit-box-direction","-webkit-box-flex-group","-moz-box-flex","-webkit-box-flex","-webkit-box-lines","-moz-box-ordinal-group","-webkit-box-ordinal-group","-moz-box-orient","-webkit-box-orient","-moz-box-pack","-webkit-box-pack","-webkit-box-reflect","box-shadow","-moz-box-shadow","-webkit-box-shadow","box-sizing","-moz-box-sizing","-webkit-box-sizing","box-snap","break-after","break-before","break-inside","buffered-rendering","caption-side","caret","caret-color","caret-shape","chains","clear","clip","clip-path","-webkit-clip-path","clip-rule","color","color-adjust","-webkit-color-correction","-apple-color-filter","color-interpolation","color-interpolation-filters","color-profile","color-rendering","color-scheme","-webkit-column-axis","-webkit-column-break-after","-webkit-column-break-before","-webkit-column-break-inside","column-count","-moz-column-count","-webkit-column-count","column-fill","-moz-column-fill","-webkit-column-fill","column-gap","-moz-column-gap","-webkit-column-gap","column-progression","-webkit-column-progression","column-rule","column-rule-color","-moz-column-rule-color","-webkit-column-rule-color","-moz-column-rule","column-rule-style","-moz-column-rule-style","-webkit-column-rule-style","-webkit-column-rule","column-rule-width","-moz-column-rule-width","-webkit-column-rule-width","column-span","-moz-column-span","-webkit-column-span","column-width","-moz-column-width","-webkit-column-width","columns","-moz-columns","-webkit-columns","-webkit-composition-fill-color","-webkit-composition-frame-color","contain","contain-intrinsic-block-size","contain-intrinsic-height","contain-intrinsic-inline-size","contain-intrinsic-size","contain-intrinsic-width","container","container-name","container-type","content","content-visibility","-ms-content-zoom-chaining","-ms-content-zoom-limit-max","-ms-content-zoom-limit-min","-ms-content-zoom-limit","-ms-content-zoom-snap","-ms-content-zoom-snap-points","-ms-content-zoom-snap-type","-ms-content-zooming","continue","counter-increment","counter-reset","counter-set","cue","cue-after","cue-before","cursor","-webkit-cursor-visibility","cx","cy","d","-apple-dashboard-region","-webkit-dashboard-region","descent-override","direction","display","display-align","dominant-baseline","elevation","empty-cells","enable-background","epub-caption-side","epub-hyphens","epub-text-combine","epub-text-emphasis","epub-text-emphasis-color","epub-text-emphasis-style","epub-text-orientation","epub-text-transform","epub-word-break","epub-writing-mode","fallback","fill","fill-break","fill-color","fill-image","fill-opacity","fill-origin","fill-position","fill-repeat","fill-rule","fill-size","filter","-ms-filter","-webkit-filter","flex","-ms-flex-align","-webkit-flex-align","flex-basis","-webkit-flex-basis","flex-direction","-ms-flex-direction","-webkit-flex-direction","flex-flow","-ms-flex-flow","-webkit-flex-flow","flex-grow","-webkit-flex-grow","-ms-flex-item-align","-webkit-flex-item-align","-ms-flex-line-pack","-webkit-flex-line-pack","-ms-flex","-ms-flex-negative","-ms-flex-order","-webkit-flex-order","-ms-flex-pack","-webkit-flex-pack","-ms-flex-positive","-ms-flex-preferred-size","flex-shrink","-webkit-flex-shrink","-webkit-flex","flex-wrap","-ms-flex-wrap","-webkit-flex-wrap","float","float-defer","-moz-float-edge","float-offset","float-reference","flood-color","flood-opacity","flow","flow-from","-ms-flow-from","-webkit-flow-from","flow-into","-ms-flow-into","-webkit-flow-into","font","font-display","font-family","font-feature-settings","-moz-font-feature-settings","-ms-font-feature-settings","-webkit-font-feature-settings","font-kerning","-webkit-font-kerning","font-language-override","-moz-font-language-override","font-optical-sizing","font-palette","font-size","font-size-adjust","-webkit-font-size-delta","-webkit-font-smoothing","font-stretch","font-style","font-synthesis","font-synthesis-small-caps","font-synthesis-style","font-synthesis-weight","font-variant","font-variant-alternates","font-variant-caps","font-variant-east-asian","font-variant-emoji","font-variant-ligatures","-webkit-font-variant-ligatures","font-variant-numeric","font-variant-position","font-variation-settings","font-weight","footnote-display","footnote-policy","-moz-force-broken-image-icon","forced-color-adjust","gap","glyph-orientation-horizontal","glyph-orientation-vertical","grid","-webkit-grid-after","grid-area","grid-auto-columns","-webkit-grid-auto-columns","grid-auto-flow","-webkit-grid-auto-flow","grid-auto-rows","-webkit-grid-auto-rows","-webkit-grid-before","grid-column","-ms-grid-column-align","grid-column-end","grid-column-gap","-ms-grid-column","-ms-grid-column-span","grid-column-start","-webkit-grid-column","-ms-grid-columns","-webkit-grid-columns","-webkit-grid-end","grid-gap","grid-row","-ms-grid-row-align","grid-row-end","grid-row-gap","-ms-grid-row","-ms-grid-row-span","grid-row-start","-webkit-grid-row","-ms-grid-rows","-webkit-grid-rows","-webkit-grid-start","grid-template","grid-template-areas","grid-template-columns","grid-template-rows","hanging-punctuation","height","-ms-high-contrast-adjust","-webkit-highlight","hyphenate-character","-webkit-hyphenate-character","-webkit-hyphenate-limit-after","-webkit-hyphenate-limit-before","hyphenate-limit-chars","-ms-hyphenate-limit-chars","hyphenate-limit-last","hyphenate-limit-lines","-ms-hyphenate-limit-lines","-webkit-hyphenate-limit-lines","hyphenate-limit-zone","-ms-hyphenate-limit-zone","hyphens","-moz-hyphens","-ms-hyphens","-webkit-hyphens","image-orientation","-moz-image-region","image-rendering","image-resolution","-ms-ime-align","ime-mode","inherits","initial-letter","initial-letter-align","-webkit-initial-letter","initial-letter-wrap","initial-value","inline-size","inline-sizing","input-format","-wap-input-format","-wap-input-required","input-security","inset","inset-block","inset-block-end","inset-block-start","inset-inline","inset-inline-end","inset-inline-start","-ms-interpolation-mode","isolation","justify-content","-webkit-justify-content","justify-items","-webkit-justify-items","justify-self","-webkit-justify-self","kerning","layout-flow","layout-grid","layout-grid-char","layout-grid-line","layout-grid-mode","layout-grid-type","leading-trim","left","letter-spacing","lighting-color","-webkit-line-align","-webkit-line-box-contain","line-break","-webkit-line-break","line-clamp","-webkit-line-clamp","line-gap-override","line-grid","-webkit-line-grid-snap","-webkit-line-grid","line-height","line-height-step","line-increment","line-padding","line-snap","-webkit-line-snap","-o-link","-o-link-source","list-style","list-style-image","list-style-position","list-style-type","-webkit-locale","-webkit-logical-height","-webkit-logical-width","margin","-webkit-margin-after-collapse","-webkit-margin-after","-webkit-margin-before-collapse","-webkit-margin-before","margin-block","margin-block-end","margin-block-start","margin-bottom","-webkit-margin-bottom-collapse","margin-break","-webkit-margin-collapse","-moz-margin-end","-webkit-margin-end","margin-inline","margin-inline-end","margin-inline-start","margin-left","margin-right","-moz-margin-start","-webkit-margin-start","margin-top","-webkit-margin-top-collapse","margin-trim","marker","marker-end","marker-knockout-left","marker-knockout-right","marker-mid","marker-offset","marker-pattern","marker-segment","marker-side","marker-start","marks","-wap-marquee-dir","-webkit-marquee-direction","-webkit-marquee-increment","-wap-marquee-loop","-webkit-marquee-repetition","-wap-marquee-speed","-webkit-marquee-speed","-wap-marquee-style","-webkit-marquee-style","-webkit-marquee","mask","-webkit-mask-attachment","mask-border","mask-border-mode","mask-border-outset","mask-border-repeat","mask-border-slice","mask-border-source","mask-border-width","-webkit-mask-box-image-outset","-webkit-mask-box-image-repeat","-webkit-mask-box-image-slice","-webkit-mask-box-image-source","-webkit-mask-box-image","-webkit-mask-box-image-width","mask-clip","-webkit-mask-clip","mask-composite","-webkit-mask-composite","mask-image","-webkit-mask-image","mask-mode","mask-origin","-webkit-mask-origin","mask-position","-webkit-mask-position","mask-position-x","-webkit-mask-position-x","mask-position-y","-webkit-mask-position-y","mask-repeat","-webkit-mask-repeat","-webkit-mask-repeat-x","-webkit-mask-repeat-y","mask-size","-webkit-mask-size","mask-source-type","-webkit-mask-source-type","mask-type","-webkit-mask","-webkit-match-nearest-mail-blockquote-color","math-style","max-block-size","max-height","max-inline-size","max-lines","-webkit-max-logical-height","-webkit-max-logical-width","max-width","max-zoom","min-block-size","min-height","min-inline-size","min-intrinsic-sizing","-webkit-min-logical-height","-webkit-min-logical-width","min-width","min-zoom","mix-blend-mode","motion","motion-offset","motion-path","motion-rotation","nav-down","nav-index","nav-left","nav-right","nav-up","-webkit-nbsp-mode","negative","object-fit","-o-object-fit","object-position","-o-object-position","object-view-box","offset","offset-anchor","offset-block-end","offset-block-start","offset-distance","offset-inline-end","offset-inline-start","offset-path","offset-position","offset-rotate","offset-rotation","opacity","-moz-opacity","-webkit-opacity","order","-webkit-order","-moz-orient","orientation","orphans","-moz-osx-font-smoothing","outline","outline-color","-moz-outline-color","-moz-outline","outline-offset","-moz-outline-offset","-moz-outline-radius-bottomleft","-moz-outline-radius-bottomright","-moz-outline-radius","-moz-outline-radius-topleft","-moz-outline-radius-topright","outline-style","-moz-outline-style","outline-width","-moz-outline-width","overflow","overflow-anchor","overflow-block","overflow-clip-margin","overflow-inline","-webkit-overflow-scrolling","-ms-overflow-style","overflow-wrap","overflow-x","overflow-y","override-colors","overscroll-behavior","overscroll-behavior-block","overscroll-behavior-inline","overscroll-behavior-x","overscroll-behavior-y","pad","padding","-webkit-padding-after","-webkit-padding-before","padding-block","padding-block-end","padding-block-start","padding-bottom","-moz-padding-end","-webkit-padding-end","padding-inline","padding-inline-end","padding-inline-start","padding-left","padding-right","-moz-padding-start","-webkit-padding-start","padding-top","page","page-break-after","page-break-before","page-break-inside","page-orientation","page-transition-tag","paint-order","pause","pause-after","pause-before","-apple-pay-button-style","-apple-pay-button-type","pen-action","perspective","-moz-perspective","-ms-perspective","perspective-origin","-moz-perspective-origin","-ms-perspective-origin","-webkit-perspective-origin","perspective-origin-x","-webkit-perspective-origin-x","perspective-origin-y","-webkit-perspective-origin-y","-webkit-perspective","pitch","pitch-range","place-content","place-items","place-self","play-during","pointer-events","position","prefix","print-color-adjust","-webkit-print-color-adjust","property-name","quotes","r","range","-webkit-region-break-after","-webkit-region-break-before","-webkit-region-break-inside","region-fragment","-webkit-region-fragment","-webkit-region-overflow","resize","rest","rest-after","rest-before","richness","right","rotate","row-gap","-webkit-rtl-ordering","ruby-align","ruby-merge","ruby-overhang","ruby-position","-webkit-ruby-position","running","rx","ry","scale","scroll-behavior","-ms-scroll-chaining","-ms-scroll-limit","-ms-scroll-limit-x-max","-ms-scroll-limit-x-min","-ms-scroll-limit-y-max","-ms-scroll-limit-y-min","scroll-margin","scroll-margin-block","scroll-margin-block-end","scroll-margin-block-start","scroll-margin-bottom","scroll-margin-inline","scroll-margin-inline-end","scroll-margin-inline-start","scroll-margin-left","scroll-margin-right","scroll-margin-top","scroll-padding","scroll-padding-block","scroll-padding-block-end","scroll-padding-block-start","scroll-padding-bottom","scroll-padding-inline","scroll-padding-inline-end","scroll-padding-inline-start","scroll-padding-left","scroll-padding-right","scroll-padding-top","-ms-scroll-rails","scroll-snap-align","scroll-snap-coordinate","-webkit-scroll-snap-coordinate","scroll-snap-destination","-webkit-scroll-snap-destination","scroll-snap-margin","scroll-snap-margin-bottom","scroll-snap-margin-left","scroll-snap-margin-right","scroll-snap-margin-top","scroll-snap-points-x","-ms-scroll-snap-points-x","-webkit-scroll-snap-points-x","scroll-snap-points-y","-ms-scroll-snap-points-y","-webkit-scroll-snap-points-y","scroll-snap-stop","scroll-snap-type","-ms-scroll-snap-type","-webkit-scroll-snap-type","scroll-snap-type-x","scroll-snap-type-y","-ms-scroll-snap-x","-ms-scroll-snap-y","scroll-timeline","scroll-timeline-axis","scroll-timeline-name","-ms-scroll-translation","scrollbar-arrow-color","scrollbar-base-color","scrollbar-color","scrollbar-dark-shadow-color","scrollbar-darkshadow-color","scrollbar-face-color","scrollbar-gutter","scrollbar-highlight-color","scrollbar-shadow-color","scrollbar-track-color","scrollbar-width","scrollbar3d-light-color","scrollbar3dlight-color","shape-image-threshold","-webkit-shape-image-threshold","shape-inside","-webkit-shape-inside","shape-margin","-webkit-shape-margin","shape-outside","-webkit-shape-outside","-webkit-shape-padding","shape-rendering","size","size-adjust","snap-height","solid-color","solid-opacity","spatial-navigation-action","spatial-navigation-contain","spatial-navigation-function","speak","speak-as","speak-header","speak-numeral","speak-punctuation","speech-rate","src","-moz-stack-sizing","stop-color","stop-opacity","stress","string-set","stroke","stroke-align","stroke-alignment","stroke-break","stroke-color","stroke-dash-corner","stroke-dash-justify","stroke-dashadjust","stroke-dasharray","stroke-dashcorner","stroke-dashoffset","stroke-image","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-origin","stroke-position","stroke-repeat","stroke-size","stroke-width","suffix","supported-color-schemes","-webkit-svg-shadow","symbols","syntax","system","tab-size","-moz-tab-size","-o-tab-size","-o-table-baseline","table-layout","-webkit-tap-highlight-color","text-align","text-align-all","text-align-last","-moz-text-align-last","text-anchor","text-autospace","-moz-text-blink","-ms-text-combine-horizontal","text-combine-upright","-webkit-text-combine","text-decoration","text-decoration-blink","text-decoration-color","-moz-text-decoration-color","-webkit-text-decoration-color","text-decoration-line","-moz-text-decoration-line","text-decoration-line-through","-webkit-text-decoration-line","text-decoration-none","text-decoration-overline","text-decoration-skip","text-decoration-skip-box","text-decoration-skip-ink","text-decoration-skip-inset","text-decoration-skip-self","text-decoration-skip-spaces","-webkit-text-decoration-skip","text-decoration-style","-moz-text-decoration-style","-webkit-text-decoration-style","text-decoration-thickness","text-decoration-trim","text-decoration-underline","-webkit-text-decoration","-webkit-text-decorations-in-effect","text-edge","text-emphasis","text-emphasis-color","-webkit-text-emphasis-color","text-emphasis-position","-webkit-text-emphasis-position","text-emphasis-skip","text-emphasis-style","-webkit-text-emphasis-style","-webkit-text-emphasis","-webkit-text-fill-color","text-group-align","text-indent","text-justify","text-justify-trim","text-kashida","text-kashida-space","text-line-through","text-line-through-color","text-line-through-mode","text-line-through-style","text-line-through-width","text-orientation","-webkit-text-orientation","text-overflow","text-overline","text-overline-color","text-overline-mode","text-overline-style","text-overline-width","text-rendering","-webkit-text-security","text-shadow","text-size-adjust","-moz-text-size-adjust","-ms-text-size-adjust","-webkit-text-size-adjust","text-space-collapse","text-space-trim","text-spacing","-webkit-text-stroke-color","-webkit-text-stroke","-webkit-text-stroke-width","text-transform","text-underline","text-underline-color","text-underline-mode","text-underline-offset","text-underline-position","-webkit-text-underline-position","text-underline-style","text-underline-width","text-wrap","-webkit-text-zoom","top","touch-action","touch-action-delay","-ms-touch-action","-webkit-touch-callout","-ms-touch-select","-apple-trailing-word","transform","transform-box","-moz-transform","-ms-transform","-o-transform","transform-origin","-moz-transform-origin","-ms-transform-origin","-o-transform-origin","-webkit-transform-origin","transform-origin-x","-webkit-transform-origin-x","transform-origin-y","-webkit-transform-origin-y","transform-origin-z","-webkit-transform-origin-z","transform-style","-moz-transform-style","-ms-transform-style","-webkit-transform-style","-webkit-transform","transition","transition-delay","-moz-transition-delay","-ms-transition-delay","-o-transition-delay","-webkit-transition-delay","transition-duration","-moz-transition-duration","-ms-transition-duration","-o-transition-duration","-webkit-transition-duration","-moz-transition","-ms-transition","-o-transition","transition-property","-moz-transition-property","-ms-transition-property","-o-transition-property","-webkit-transition-property","transition-timing-function","-moz-transition-timing-function","-ms-transition-timing-function","-o-transition-timing-function","-webkit-transition-timing-function","-webkit-transition","translate","uc-alt-skin","uc-skin","unicode-bidi","unicode-range","-webkit-user-drag","-moz-user-focus","-moz-user-input","-moz-user-modify","-webkit-user-modify","user-select","-moz-user-select","-ms-user-select","-webkit-user-select","user-zoom","vector-effect","vertical-align","view-timeline","view-timeline-axis","view-timeline-inset","view-timeline-name","viewport-fill","viewport-fill-opacity","viewport-fit","visibility","voice-balance","voice-duration","voice-family","voice-pitch","voice-range","voice-rate","voice-stress","voice-volume","volume","white-space","-webkit-widget-region","widows","width","will-change","-moz-window-dragging","-moz-window-shadow","word-boundary-detection","word-boundary-expansion","word-break","word-spacing","word-wrap","wrap-after","wrap-before","wrap-flow","-ms-wrap-flow","-webkit-wrap-flow","wrap-inside","-ms-wrap-margin","-webkit-wrap-margin","-webkit-wrap-padding","-webkit-wrap-shape-inside","-webkit-wrap-shape-outside","wrap-through","-ms-wrap-through","-webkit-wrap-through","-webkit-wrap","writing-mode","-webkit-writing-mode","x","y","z-index","zoom"]}});var aZ=m((yMt,oZ)=>{oZ.exports.all=sZ().properties});var cZ=m((bMt,lZ)=>{"use strict";var sGe=hn(),oGe=ii(),aGe=si(),qP=_e(),uGe=aZ().all,lGe=U(),cGe=j(),{isAtRule:fGe,isRule:dGe}=Ye(),pGe=N(),hGe=tt(),{isBoolean:gGe,isRegExp:RP,isString:AP}=te(),zw="property-no-unknown",uZ=cGe(zw,{rejected:t=>`Unexpected unknown property "${t}"`}),mGe={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Uw=(t,e)=>{let r=new Set(uGe);return(n,i)=>{if(!pGe(i,zw,{actual:t},{actual:e,possible:{ignoreProperties:[AP,RP],checkPrefixed:[gGe],ignoreSelectors:[AP,RP],ignoreAtRules:[AP,RP]},optional:!0}))return;let o=e&&e.checkPrefixed;n.walkDecls(a);function a(u){let l=u.prop;if(!aGe(l)||!oGe(u)||sGe(l)||!o&&hGe.prefix(l)||qP(e,"ignoreProperties",l))return;let c=u.parent;if(c&&dGe(c)&&qP(e,"ignoreSelectors",c.selector))return;let f=c;for(;f&&f.type!=="root";){if(fGe(f)&&qP(e,"ignoreAtRules",f.name))return;f=f.parent}r.has(l.toLowerCase())||lGe({message:uZ.rejected(l),node:u,result:i,ruleName:zw,word:l})}}};Uw.ruleName=zw;Uw.messages=uZ;Uw.meta=mGe;lZ.exports=Uw});var hZ=m((vMt,pZ)=>{"use strict";var fZ=Su(),yGe=_e(),bGe=U(),vGe=j(),wGe=N(),_Ge=tt(),{isRegExp:xGe,isString:SGe}=te(),Hw="property-no-vendor-prefix",dZ=vGe(Hw,{rejected:t=>`Unexpected vendor-prefix "${t}"`}),kGe={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Vw=(t,e,r)=>(n,i)=>{wGe(i,Hw,{actual:t},{optional:!0,actual:e,possible:{ignoreProperties:[SGe,xGe]}})&&n.walkDecls(o=>{let a=o.prop,u=_Ge.unprefixed(a);if(!yGe(e,"ignoreProperties",u)&&!(a[0]!=="-"||a[1]==="-")&&fZ.property(a)){if(r.fix){o.prop=fZ.unprefix(o.prop);return}bGe({message:dZ.rejected(a),word:a,node:o,result:i,ruleName:Hw})}})};Vw.ruleName=Hw;Vw.messages=dZ;Vw.meta=kGe;pZ.exports=Vw});var mZ=m((wMt,gZ)=>{"use strict";var EGe=mm();function CGe(t){let e=t.prev();return e!==void 0&&e.type==="comment"&&!EGe(e)&&e.source&&e.source.start&&e.source.end&&e.source.start.line===e.source.end.line}gZ.exports=CGe});var wZ=m((_Mt,vZ)=>{"use strict";var DGe=bu(),OGe=Ls(),qGe=Io(),RGe=mZ(),yZ=vu(),AGe=Mc(),PGe=Di(),TGe=Le(),Hs=_e(),MGe=wu(),FGe=U(),LGe=j(),IGe=N(),Gw="rule-empty-line-before",PP=LGe(Gw,{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"}),NGe={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Kw=(t,e,r)=>(n,i)=>{if(!IGe(i,Gw,{actual:t,possible:["always","never","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["after-comment","first-nested","inside-block"],except:["after-rule","after-single-line-comment","first-nested","inside-block-and-after-rule","inside-block"]},optional:!0}))return;let o=t;n.walkRules(a=>{if(!TGe(a)||AGe(a))return;if(Hs(e,"ignore","after-comment")){let d=a.prev();if(d&&d.type==="comment")return}if(Hs(e,"ignore","first-nested")&&yZ(a))return;let u=a.parent&&a.parent.type!=="root";if(Hs(e,"ignore","inside-block")&&u||o.includes("multi-line")&&PGe(a.toString()))return;let l=o.includes("always");(Hs(e,"except","first-nested")&&yZ(a)||Hs(e,"except","after-rule")&&bZ(a)||Hs(e,"except","inside-block-and-after-rule")&&u&&bZ(a)||Hs(e,"except","after-single-line-comment")&&RGe(a)||Hs(e,"except","inside-block")&&u)&&(l=!l);let c=qGe(a.raws.before);if(l===c)return;if(r.fix){let d=r.newline;if(typeof d!="string")throw new Error(`The "newline" property must be a string: ${d}`);l?DGe(a,d):MGe(a,d);return}let f=l?PP.expected:PP.rejected;FGe({message:f,node:a,result:i,ruleName:Gw})})};function bZ(t){let e=OGe(t);return e!=null&&e.type==="rule"}Kw.ruleName=Gw;Kw.messages=PP;Kw.meta=NGe;vZ.exports=Kw});var kZ=m((xMt,SZ)=>{"use strict";var jGe=Le(),_Z=qt(),$Ge=U(),BGe=j(),WGe=Oi(),zGe=N(),{isString:UGe,isRegExp:HGe}=te(),Yw="rule-selector-property-disallowed-list",xZ=BGe(Yw,{rejected:(t,e)=>`Unexpected property "${t}" for selector "${e}"`}),VGe={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},td=t=>(e,r)=>{if(!zGe(r,Yw,{actual:t,possible:[WGe(UGe,HGe)]}))return;let i=Object.keys(t);e.walkRules(s=>{if(!jGe(s))return;let o=i.find(u=>_Z(s.selector,u));if(!o)return;let a=t[o];a&&s.walkDecls(u=>{let{prop:l}=u;_Z(l,a)&&$Ge({message:xZ.rejected(l,s.selector),node:u,result:r,ruleName:Yw,word:l})})})};td.primaryOptionArray=!0;td.ruleName=Yw;td.messages=xZ;td.meta=VGe;SZ.exports=td});var DZ=m((SMt,CZ)=>{"use strict";var GGe=Le(),KGe=Ve(),YGe=U(),QGe=j(),EZ=Fr(),JGe=N(),Qw="selector-attribute-brackets-space-inside",rd=QGe(Qw,{expectedOpening:'Expected single space after "["',rejectedOpening:'Unexpected whitespace after "["',expectedClosing:'Expected single space before "]"',rejectedClosing:'Unexpected whitespace before "]"'}),XGe={url:"https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside",fixable:!0},Jw=(t,e,r)=>{return(s,o)=>{JGe(o,Qw,{actual:t,possible:["always","never"]})&&s.walkRules(u=>{if(!GGe(u)||!u.selector.includes("["))return;let l=u.raws.selector?u.raws.selector.raw:u.selector,c,f=KGe(l,o,u,p=>{p.walkAttributes(h=>{let y=h.toString();EZ({source:y,target:"["},b=>{let g=y[b.startIndex+1]===" ",v=h.sourceIndex+b.startIndex+1;if(g&&t==="never"){if(r.fix){c=!0,n(h);return}d(rd.rejectedOpening,v)}if(!g&&t==="always"){if(r.fix){c=!0,n(h);return}d(rd.expectedOpening,v)}}),EZ({source:y,target:"]"},b=>{let g=y[b.startIndex-1]===" ",v=h.sourceIndex+b.startIndex-1;if(g&&t==="never"){if(r.fix){c=!0,i(h);return}d(rd.rejectedClosing,v)}if(!g&&t==="always"){if(r.fix){c=!0,i(h);return}d(rd.expectedClosing,v)}})})});c&&f&&(u.raws.selector?u.raws.selector.raw=f:u.selector=f);function d(p,h){YGe({message:p,index:h,result:o,ruleName:Qw,node:u})}})};function n(s){let o=s.raws.spaces&&s.raws.spaces.attribute,a=o&&o.before,{attrBefore:u,setAttrBefore:l}=a?{attrBefore:a,setAttrBefore(c){o.before=c}}:{attrBefore:s.spaces.attribute&&s.spaces.attribute.before||"",setAttrBefore(c){s.spaces.attribute||(s.spaces.attribute={}),s.spaces.attribute.before=c}};t==="always"?l(u.replace(/^\s*/," ")):t==="never"&&l(u.replace(/^\s*/,""))}function i(s){let o=s.operator?s.insensitive?"insensitive":"value":"attribute",a=s.raws.spaces&&s.raws.spaces[o],u=a&&a.after,l=s.spaces[o],{after:c,setAfter:f}=u?{after:u,setAfter(d){a.after=d}}:{after:l&&l.after||"",setAfter(d){s.spaces[o]||(s.spaces[o]={}),s.spaces[o].after=d}};t==="always"?f(c.replace(/\s*$/," ")):t==="never"&&f(c.replace(/\s*$/,""))}};Jw.ruleName=Qw;Jw.messages=rd;Jw.meta=XGe;CZ.exports=Jw});var RZ=m((kMt,qZ)=>{"use strict";var ZGe=Le(),eKe=qt(),tKe=Ve(),rKe=U(),nKe=j(),iKe=N(),{isRegExp:sKe,isString:oKe}=te(),Xw="selector-attribute-name-disallowed-list",OZ=nKe(Xw,{rejected:t=>`Unexpected name "${t}"`}),aKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},nd=t=>(e,r)=>{iKe(r,Xw,{actual:t,possible:[oKe,sKe]})&&e.walkRules(i=>{ZGe(i)&&i.selector.includes("[")&&tKe(i.selector,r,i,s=>{s.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!eKe(a,t))return;let u=o.sourceIndex+o.offsetOf("attribute"),l=u+a.length;rKe({message:OZ.rejected(a),node:i,index:u,endIndex:l,result:r,ruleName:Xw})})})})};nd.primaryOptionArray=!0;nd.ruleName=Xw;nd.messages=OZ;nd.meta=aKe;qZ.exports=nd});var TZ=m((EMt,PZ)=>{"use strict";var uKe=Le(),lKe=Ve(),cKe=U(),fKe=j(),dKe=N(),{isString:pKe}=te(),Zw="selector-attribute-operator-allowed-list",AZ=fKe(Zw,{rejected:t=>`Unexpected operator "${t}"`}),hKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},id=t=>(e,r)=>{if(!dKe(r,Zw,{actual:t,possible:[pKe]}))return;let i=new Set([t].flat());e.walkRules(s=>{if(!uKe(s))return;let{selector:o}=s;!o.includes("[")||!o.includes("=")||lKe(o,r,s,a=>{a.walkAttributes(u=>{let{operator:l}=u;if(!l||i.has(l))return;let c=u.sourceIndex+u.offsetOf("operator"),f=c+l.length;cKe({message:AZ.rejected(l),node:s,index:c,endIndex:f,result:r,ruleName:Zw})})})})};id.primaryOptionArray=!0;id.ruleName=Zw;id.messages=AZ;id.meta=hKe;PZ.exports=id});var LZ=m((CMt,FZ)=>{"use strict";var gKe=Le(),mKe=Ve(),yKe=U(),bKe=j(),vKe=N(),{isString:wKe}=te(),e_="selector-attribute-operator-disallowed-list",MZ=bKe(e_,{rejected:t=>`Unexpected operator "${t}"`}),_Ke={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},sd=t=>(e,r)=>{if(!vKe(r,e_,{actual:t,possible:[wKe]}))return;let i=new Set([t].flat());e.walkRules(s=>{if(!gKe(s))return;let{selector:o}=s;!o.includes("[")||!o.includes("=")||mKe(o,r,s,a=>{a.walkAttributes(u=>{let{operator:l}=u;if(!l||!i.has(l))return;let c=u.sourceIndex+u.offsetOf("operator"),f=c+l.length;yKe({message:MZ.rejected(l),node:s,index:c,endIndex:f,result:r,ruleName:e_})})})})};sd.primaryOptionArray=!0;sd.ruleName=e_;sd.messages=MZ;sd.meta=_Ke;FZ.exports=sd});var TP=m((DMt,IZ)=>{"use strict";var xKe=Le(),SKe=Ve(),kKe=U(),EKe=Fr();IZ.exports=function(e){e.root.walkRules(r=>{if(!xKe(r)||!r.selector.includes("[")||!r.selector.includes("="))return;let n=!1,i=r.raws.selector?r.raws.selector.raw:r.selector,s=SKe(i,e.result,r,a=>{a.walkAttributes(u=>{let l=u.operator;if(!l)return;let c=u.toString();EKe({source:c,target:l},f=>{let d=e.checkBeforeOperator?f.startIndex:f.endIndex-1;o(c,d,r,u,l)})})});n&&s&&(r.raws.selector?r.raws.selector.raw=s:r.selector=s);function o(a,u,l,c,f){e.locationChecker({source:a,index:u,err:d=>{if(e.fix&&e.fix(c)){n=!0;return}kKe({message:d.replace(e.checkBeforeOperator?f.charAt(0):f.charAt(f.length-1),f),node:l,index:c.sourceIndex+u,result:e.result,ruleName:e.checkedRuleName})}})}})}});var $Z=m((OMt,jZ)=>{"use strict";var CKe=j(),DKe=TP(),OKe=N(),qKe=je(),t_="selector-attribute-operator-space-after",NZ=CKe(t_,{expectedAfter:t=>`Expected single space after "${t}"`,rejectedAfter:t=>`Unexpected whitespace after "${t}"`}),RKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after",fixable:!0},r_=(t,e,r)=>(n,i)=>{let s=qKe("space",t,NZ);OKe(i,t_,{actual:t,possible:["always","never"]})&&DKe({root:n,result:i,locationChecker:s.after,checkedRuleName:t_,checkBeforeOperator:!1,fix:r.fix?a=>{let{operatorAfter:u,setOperatorAfter:l}=(()=>{let c=a.raws.operator;if(c)return{operatorAfter:c.slice(a.operator?a.operator.length:0),setOperatorAfter(p){delete a.raws.operator,a.raws.spaces||(a.raws.spaces={}),a.raws.spaces.operator||(a.raws.spaces.operator={}),a.raws.spaces.operator.after=p}};let f=a.raws.spaces&&a.raws.spaces.operator,d=f&&f.after;return d?{operatorAfter:d,setOperatorAfter(p){f.after=p}}:{operatorAfter:a.spaces.operator&&a.spaces.operator.after||"",setOperatorAfter(p){a.spaces.operator||(a.spaces.operator={}),a.spaces.operator.after=p}}})();return t==="always"?(l(u.replace(/^\s*/," ")),!0):t==="never"?(l(u.replace(/^\s*/,"")),!0):!1}:null})};r_.ruleName=t_;r_.messages=NZ;r_.meta=RKe;jZ.exports=r_});var zZ=m((qMt,WZ)=>{"use strict";var AKe=j(),PKe=TP(),TKe=N(),MKe=je(),n_="selector-attribute-operator-space-before",BZ=AKe(n_,{expectedBefore:t=>`Expected single space before "${t}"`,rejectedBefore:t=>`Unexpected whitespace before "${t}"`}),FKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before",fixable:!0},i_=(t,e,r)=>{let n=MKe("space",t,BZ);return(i,s)=>{TKe(s,n_,{actual:t,possible:["always","never"]})&&PKe({root:i,result:s,locationChecker:n.before,checkedRuleName:n_,checkBeforeOperator:!0,fix:r.fix?a=>{let u=a.raws.spaces&&a.raws.spaces.attribute,l=u&&u.after,{attrAfter:c,setAttrAfter:f}=l?{attrAfter:l,setAttrAfter(d){u.after=d}}:{attrAfter:a.spaces.attribute&&a.spaces.attribute.after||"",setAttrAfter(d){a.spaces.attribute||(a.spaces.attribute={}),a.spaces.attribute.after=d}};return t==="always"?(f(c.replace(/\s*$/," ")),!0):t==="never"?(f(c.replace(/\s*$/,"")),!0):!1}:null})}};i_.ruleName=n_;i_.messages=BZ;i_.meta=FKe;WZ.exports=i_});var HZ=m((RMt,UZ)=>{"use strict";UZ.exports=function(e){let r=e.raws;return r.selector&&r.selector.raw||e.selector}});var GZ=m((AMt,VZ)=>{"use strict";var LKe=HZ(),IKe=Le(),NKe=Ve(),jKe=U(),$Ke=j(),BKe=N(),s_="selector-attribute-quotes",MP=$Ke(s_,{expected:t=>`Expected quotes around "${t}"`,rejected:t=>`Unexpected quotes around "${t}"`}),WKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},zKe='"',o_=(t,e,r)=>(n,i)=>{BKe(i,s_,{actual:t,possible:["always","never"]})&&n.walkRules(o=>{if(!IKe(o))return;let{selector:a}=o;if(!a.includes("[")||!a.includes("="))return;NKe(LKe(o),i,o,l=>{let c=!1;l.walkAttributes(f=>{let{operator:d,value:p,quoted:h}=f;!d||!p||(!h&&t==="always"&&(r.fix?(c=!0,f.quoteMark=zKe):u(MP.expected(p),f)),h&&t==="never"&&(r.fix?(c=!0,f.quoteMark=null):u(MP.rejected(p),f)))}),c&&(o.selector=l.toString())});function u(l,c){let f=c.sourceIndex+c.offsetOf("value"),d=c.raws.value||c.value||"",p=f+d.length;jKe({message:l,index:f,endIndex:p,result:i,ruleName:s_,node:o})}})};o_.ruleName=s_;o_.messages=MP;o_.meta=WKe;VZ.exports=o_});var od=m((PMt,KZ)=>{"use strict";var{keyframeSelectorKeywords:UKe}=gn();KZ.exports=function(e){return!!(UKe.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e))}});var eee=m((TMt,ZZ)=>{"use strict";var HKe=od(),VKe=Le(),GKe=Ur(),YZ=Ve(),KKe=U(),YKe=tn(),QKe=j(),JKe=N(),{isBoolean:XKe,isRegExp:ZKe,isString:QZ}=te(),a_="selector-class-pattern",XZ=QKe(a_,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),eYe={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},u_=(t,e)=>(r,n)=>{if(!JKe(n,a_,{actual:t,possible:[ZKe,QZ]},{actual:e,possible:{resolveNestedSelectors:[XKe]},optional:!0}))return;let s=Boolean(e&&e.resolveNestedSelectors),o=QZ(t)?new RegExp(t):t;r.walkRules(u=>{let{selector:l,selectors:c}=u;if(VKe(u)&&!c.some(f=>HKe(f)))if(s&&tYe(l))for(let f of YKe(l,u))GKe(f)&&YZ(f,n,u,d=>a(d,u));else YZ(l,n,u,f=>a(f,u))});function a(u,l){u.walkClasses(c=>{let{value:f,sourceIndex:d}=c;if(o.test(f))return;let p=String(c),h=d+p.length;KKe({result:n,ruleName:a_,message:XZ.expected,messageArgs:[p,t],node:l,index:d,endIndex:h})})}};function tYe(t){for(let[e,r]of Array.from(t).entries()){if(r!=="&")continue;let n=t.charAt(e-1);if(n&&!JZ(n))return!0;let i=t.charAt(e+1);if(i&&!JZ(i))return!0}return!1}function JZ(t){return/[\s+>~]/.test(t)}u_.ruleName=a_;u_.messages=XZ;u_.meta=eYe;ZZ.exports=u_});var l_=m((MMt,tee)=>{"use strict";tee.exports=function(e){if(e.type!=="combinator"||e.value.startsWith("/")||e.value.endsWith("/"))return!1;if(e.parent!==void 0&&e.parent!==null){let r=e.parent;if(e===r.first||e===r.last)return!1}return!0}});var iee=m((FMt,nee)=>{"use strict";var rYe=l_(),nYe=Le(),iYe=Ve(),sYe=U(),oYe=j(),aYe=N(),{isString:uYe}=te(),c_="selector-combinator-allowed-list",ree=oYe(c_,{rejected:t=>`Unexpected combinator "${t}"`}),lYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},ad=t=>(e,r)=>{aYe(r,c_,{actual:t,possible:[uYe]})&&e.walkRules(i=>{if(!nYe(i))return;let s=i.selector;iYe(s,r,i,o=>{o.walkCombinators(a=>{if(!rYe(a))return;let{value:u}=a,l=cYe(u);if(t.includes(l))return;let{sourceIndex:c,raws:f}=a,d=c+(f&&f.value||u).length;sYe({result:r,ruleName:c_,message:ree.rejected(l),node:i,index:c,endIndex:d})})})})};function cYe(t){return t.replace(/\s+/g," ")}ad.primaryOptionArray=!0;ad.ruleName=c_;ad.messages=ree;ad.meta=lYe;nee.exports=ad});var aee=m((LMt,oee)=>{"use strict";var fYe=l_(),dYe=Le(),pYe=Ve(),hYe=U(),gYe=j(),mYe=N(),{isString:yYe}=te(),f_="selector-combinator-disallowed-list",see=gYe(f_,{rejected:t=>`Unexpected combinator "${t}"`}),bYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ud=t=>(e,r)=>{mYe(r,f_,{actual:t,possible:[yYe]})&&e.walkRules(i=>{if(!dYe(i))return;let s=i.selector;pYe(s,r,i,o=>{o.walkCombinators(a=>{if(!fYe(a))return;let{value:u}=a,l=vYe(u);if(!t.includes(l))return;let{sourceIndex:c,raws:f}=a,d=c+(f&&f.value||u).length;hYe({result:r,ruleName:f_,message:see.rejected(l),node:i,index:c,endIndex:d})})})})};function vYe(t){return t.replace(/\s+/g," ")}ud.primaryOptionArray=!0;ud.ruleName=f_;ud.messages=see;ud.meta=bYe;oee.exports=ud});var FP=m((IMt,uee)=>{"use strict";var wYe=l_(),_Ye=Le(),xYe=Ve(),SYe=U();uee.exports=function(e){let r;e.root.walkRules(i=>{if(!_Ye(i))return;r=!1;let s=i.raws.selector?i.raws.selector.raw:i.selector,o=xYe(s,e.result,i,a=>{a.walkCombinators(u=>{if(!wYe(u)||/\s/.test(u.value)||e.locationType==="before"&&!u.prev())return;let l=u.parent&&u.parent.parent;if(l&&l.type==="pseudo")return;let c=u.sourceIndex,f=u.value.length>1&&e.locationType==="before"?c:c+u.value.length-1;n(s,u,f,i,c)})});r&&o&&(i.raws.selector?i.raws.selector.raw=o:i.selector=o)});function n(i,s,o,a,u){e.locationChecker({source:i,index:o,errTarget:s.value,err:l=>{if(e.fix&&e.fix(s)){r=!0;return}SYe({message:l,node:a,index:u,result:e.result,ruleName:e.checkedRuleName})}})}}});var fee=m((NMt,cee)=>{"use strict";var kYe=j(),EYe=FP(),CYe=N(),DYe=je(),d_="selector-combinator-space-after",lee=kYe(d_,{expectedAfter:t=>`Expected single space after "${t}"`,rejectedAfter:t=>`Unexpected whitespace after "${t}"`}),OYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-space-after",fixable:!0},p_=(t,e,r)=>{let n=DYe("space",t,lee);return(i,s)=>{CYe(s,d_,{actual:t,possible:["always","never"]})&&EYe({root:i,result:s,locationChecker:n.after,locationType:"after",checkedRuleName:d_,fix:r.fix?a=>t==="always"?(a.spaces.after=" ",!0):t==="never"?(a.spaces.after="",!0):!1:null})}};p_.ruleName=d_;p_.messages=lee;p_.meta=OYe;cee.exports=p_});var hee=m((jMt,pee)=>{"use strict";var qYe=j(),RYe=FP(),AYe=N(),PYe=je(),h_="selector-combinator-space-before",dee=qYe(h_,{expectedBefore:t=>`Expected single space before "${t}"`,rejectedBefore:t=>`Unexpected whitespace before "${t}"`}),TYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-space-before",fixable:!0},g_=(t,e,r)=>{let n=PYe("space",t,dee);return(i,s)=>{AYe(s,h_,{actual:t,possible:["always","never"]})&&RYe({root:i,result:s,locationChecker:n.before,locationType:"before",checkedRuleName:h_,fix:r.fix?a=>t==="always"?(a.spaces.before=" ",!0):t==="never"?(a.spaces.before="",!0):!1:null})}};g_.ruleName=h_;g_.messages=dee;g_.meta=TYe;pee.exports=g_});var yee=m(($Mt,mee)=>{"use strict";var MYe=Le(),FYe=Ve(),LYe=U(),IYe=j(),NYe=N(),m_="selector-descendant-combinator-no-non-space",gee=IYe(m_,{rejected:t=>`Unexpected "${t}"`}),jYe={url:"https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space",fixable:!0},y_=(t,e,r)=>(n,i)=>{NYe(i,m_,{actual:t})&&n.walkRules(o=>{if(!MYe(o))return;let a=!1,u=o.raws.selector?o.raws.selector.raw:o.selector;if(u.includes("/*"))return;let l=FYe(u,i,o,c=>{c.walkCombinators(f=>{if(f.value!==" ")return;let d=f.toString();if(d.includes(" ")||d.includes(" ")||d.includes(`
|
|
133
|
+
`)||d.includes("\r")){if(r.fix&&/^\s+$/.test(d)){a=!0,f.raws||(f.raws={}),f.raws.value=" ",f.rawSpaceBefore=f.rawSpaceBefore.replace(/^\s+/,""),f.rawSpaceAfter=f.rawSpaceAfter.replace(/\s+$/,"");return}LYe({result:i,ruleName:m_,message:gee.rejected(d),node:o,index:f.sourceIndex})}})});a&&l&&(o.raws.selector?o.raws.selector.raw=l:o.selector=l)})};y_.ruleName=m_;y_.messages=gee;y_.meta=jYe;mee.exports=y_});var _ee=m((BMt,wee)=>{"use strict";var $Ye=Le(),bee=qt(),vee=U(),BYe=_e(),WYe=j(),zYe=N(),{isRegExp:UYe,isString:HYe,isBoolean:VYe}=te(),ld="selector-disallowed-list",LP=WYe(ld,{rejected:t=>`Unexpected selector "${t}"`}),GYe={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},cd=(t,e)=>(r,n)=>{if(!zYe(n,ld,{actual:t,possible:[HYe,UYe]},{actual:e,possible:{ignore:["inside-block"],splitList:[VYe]},optional:!0}))return;let s=BYe(e,"ignore","inside-block"),o=e&&e.splitList;r.walkRules(a=>{if($Ye(a)){if(s){let{parent:u}=a;if(u&&u.type!=="root")return}if(o)a.selectors.forEach(u=>{bee(u,t)&&vee({result:n,ruleName:ld,message:LP.rejected(u),node:a,word:u})});else{let{selector:u,raws:l}=a;if(bee(u,t)){let c=l.selector&&l.selector.raw||u;vee({result:n,ruleName:ld,message:LP.rejected(u),node:a,word:c})}}}})};cd.primaryOptionArray=!0;cd.ruleName=ld;cd.messages=LP;cd.meta=GYe;wee.exports=cd});var Eee=m((WMt,kee)=>{"use strict";var KYe=Le(),YYe=Ve(),QYe=U(),JYe=j(),XYe=N(),{isRegExp:ZYe,isString:xee}=te(),b_="selector-id-pattern",See=JYe(b_,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),eQe={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},v_=t=>(e,r)=>{if(!XYe(r,b_,{actual:t,possible:[ZYe,xee]}))return;let i=xee(t)?new RegExp(t):t;e.walkRules(s=>{KYe(s)&&YYe(s.selector,r,s,o=>{o.walkIds(a=>{if(i.test(a.value))return;let u=String(a);QYe({result:r,ruleName:b_,message:See.expected,messageArgs:[u,t],node:s,word:u})})})})};v_.ruleName=b_;v_.messages=See;v_.meta=eQe;kee.exports=v_});var Oee=m((zMt,Dee)=>{"use strict";var tQe=Le(),rQe=U(),nQe=j(),iQe=Fr(),sQe=N(),oQe=je(),w_="selector-list-comma-newline-after",Cee=nQe(w_,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),aQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-newline-after",fixable:!0},__=(t,e,r)=>{let n=oQe("newline",t,Cee);return(i,s)=>{sQe(s,w_,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&i.walkRules(a=>{if(!tQe(a))return;let u=a.raws.selector?a.raws.selector.raw:a.selector,l=[];if(iQe({source:u,target:",",functionArguments:"skip"},c=>{let f=u.slice(c.endIndex);if(/^\s+\/\//.test(f))return;let d=/^\s+\/\*/.test(f)?u.indexOf("*/",c.endIndex)+1:c.startIndex;n.afterOneOnly({source:u,index:d,err:p=>{if(r.fix){l.push(d+1);return}rQe({message:p,node:a,index:c.startIndex,result:s,ruleName:w_})}})}),l.length){let c=u;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f),p=c.slice(f);t.startsWith("always")?p=r.newline+p:t.startsWith("never-multi-line")&&(p=p.replace(/^\s*/,"")),c=d+p}a.raws.selector?a.raws.selector.raw=c:a.selector=c}})}};__.ruleName=w_;__.messages=Cee;__.meta=aQe;Dee.exports=__});var x_=m((UMt,qee)=>{"use strict";var uQe=Le(),lQe=U(),cQe=Fr();qee.exports=function(e){e.root.walkRules(n=>{if(!uQe(n))return;let i=n.raws.selector?n.raws.selector.raw:n.selector;cQe({source:i,target:",",functionArguments:"skip"},s=>{r(i,s.startIndex,n)})});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{e.fix&&e.fix(s,i)||lQe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var Pee=m((HMt,Aee)=>{"use strict";var fQe=j(),dQe=x_(),pQe=N(),hQe=je(),S_="selector-list-comma-newline-before",Ree=fQe(S_,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),gQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-newline-before",fixable:!0},k_=(t,e,r)=>{let n=hQe("newline",t,Ree);return(i,s)=>{if(!pQe(s,S_,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;let a;if(dQe({root:i,result:s,locationChecker:n.beforeAllowingIndentation,checkedRuleName:S_,fix:r.fix?(u,l)=>{a=a||new Map;let c=a.get(u)||[];return c.push(l),a.set(u,c),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.selector?u.raws.selector.raw:u.selector;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f),p=c.slice(f);if(t.startsWith("always")){let h=d.search(/\s+$/);h>=0?d=d.slice(0,h)+r.newline+d.slice(h):d+=r.newline}else t==="never-multi-line"&&(d=d.replace(/\s*$/,""));c=d+p}u.raws.selector?u.raws.selector.raw=c:u.selector=c}}};k_.ruleName=S_;k_.messages=Ree;k_.meta=gQe;Aee.exports=k_});var Fee=m((VMt,Mee)=>{"use strict";var mQe=j(),yQe=x_(),bQe=N(),vQe=je(),E_="selector-list-comma-space-after",Tee=mQe(E_,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),wQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-space-after",fixable:!0},C_=(t,e,r)=>{let n=vQe("space",t,Tee);return(i,s)=>{if(!bQe(s,E_,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(yQe({root:i,result:s,locationChecker:n.after,checkedRuleName:E_,fix:r.fix?(u,l)=>{a=a||new Map;let c=a.get(u)||[];return c.push(l),a.set(u,c),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.selector?u.raws.selector.raw:u.selector;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f+1),p=c.slice(f+1);t.startsWith("always")?p=p.replace(/^\s*/," "):t.startsWith("never")&&(p=p.replace(/^\s*/,"")),c=d+p}u.raws.selector?u.raws.selector.raw=c:u.selector=c}}};C_.ruleName=E_;C_.messages=Tee;C_.meta=wQe;Mee.exports=C_});var Nee=m((GMt,Iee)=>{"use strict";var _Qe=j(),xQe=x_(),SQe=N(),kQe=je(),D_="selector-list-comma-space-before",Lee=_Qe(D_,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Expected single space before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),EQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-space-before",fixable:!0},O_=(t,e,r)=>{let n=kQe("space",t,Lee);return(i,s)=>{if(!SQe(s,D_,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(xQe({root:i,result:s,locationChecker:n.before,checkedRuleName:D_,fix:r.fix?(u,l)=>{a=a||new Map;let c=a.get(u)||[];return c.push(l),a.set(u,c),!0}:null}),a)for(let[u,l]of a.entries()){let c=u.raws.selector?u.raws.selector.raw:u.selector;for(let f of l.sort((d,p)=>p-d)){let d=c.slice(0,f),p=c.slice(f);t.includes("always")?d=d.replace(/\s*$/," "):t.includes("never")&&(d=d.replace(/\s*$/,"")),c=d+p}u.raws.selector?u.raws.selector.raw=c:u.selector=c}}};O_.ruleName=D_;O_.messages=Lee;O_.meta=EQe;Iee.exports=O_});var Zo=m((KMt,jee)=>{"use strict";var{aNPlusBOfSNotationPseudoClasses:CQe,logicalCombinationsPseudoClasses:DQe}=rn();jee.exports=function(e){if(e.type==="pseudo"){let r=e.value.toLowerCase().replace(/:+/,"");return DQe.has(r)||CQe.has(r)}return!1}});var ls=m((YMt,$ee)=>{"use strict";$ee.exports=function(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}});var zee=m((QMt,Wee)=>{"use strict";var OQe=Zo(),qQe=ls(),RQe=Le(),AQe=_e(),PQe=Ve(),TQe=U(),MQe=tn(),FQe=j(),LQe=N(),{isRegExp:IQe,isString:NQe}=te(),q_="selector-max-attribute",Bee=FQe(q_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} attribute ${e===1?"selector":"selectors"}`}),jQe={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},R_=(t,e)=>(r,n)=>{if(!LQe(n,q_,{actual:t,possible:qQe},{actual:e,possible:{ignoreAttributes:[NQe,IQe]},optional:!0}))return;function s(o,a){let u=o.reduce((l,c)=>((c.type==="selector"||OQe(c))&&s(c,a),c.type!=="attribute"||AQe(e,"ignoreAttributes",c.attribute)||(l+=1),l),0);if(o.type!=="root"&&o.type!=="pseudo"&&u>t){let l=o.toString();TQe({ruleName:q_,result:n,node:a,message:Bee.expected(l,t),word:l})}}r.walkRules(o=>{if(RQe(o))for(let a of o.selectors)for(let u of MQe(a,o))PQe(u,n,o,l=>s(l,o))})};R_.ruleName=q_;R_.messages=Bee;R_.meta=jQe;Wee.exports=R_});var Vee=m((JMt,Hee)=>{"use strict";var $Qe=Zo(),BQe=ls(),WQe=Le(),zQe=Ve(),UQe=U(),HQe=tn(),VQe=j(),GQe=N(),A_="selector-max-class",Uee=VQe(A_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"class":"classes"}`}),KQe={url:"https://stylelint.io/user-guide/rules/selector-max-class"},P_=t=>(e,r)=>{if(!GQe(r,A_,{actual:t,possible:BQe}))return;function i(s,o){let a=s.reduce((u,l)=>((l.type==="selector"||$Qe(l))&&i(l,o),l.type==="class"&&(u+=1),u),0);if(s.type!=="root"&&s.type!=="pseudo"&&a>t){let u=s.toString();UQe({ruleName:A_,result:r,node:o,message:Uee.expected(u,t),word:u})}}e.walkRules(s=>{if(WQe(s))for(let o of s.selectors)for(let a of HQe(o,s))zQe(a,r,s,u=>i(u,s))})};P_.ruleName=A_;P_.messages=Uee;P_.meta=KQe;Hee.exports=P_});var Yee=m((XMt,Kee)=>{"use strict";var YQe=ls(),QQe=Le(),JQe=Ve(),XQe=U(),ZQe=tn(),eJe=j(),tJe=N(),T_="selector-max-combinators",Gee=eJe(T_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"combinator":"combinators"}`}),rJe={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},M_=t=>(e,r)=>{if(!tJe(r,T_,{actual:t,possible:YQe}))return;function i(s,o){let a=s.reduce((u,l)=>(l.type==="selector"&&i(l,o),l.type==="combinator"&&(u+=1),u),0);if(s.type!=="root"&&s.type!=="pseudo"&&a>t){let u=s.toString();XQe({ruleName:T_,result:r,node:o,message:Gee.expected(u,t),word:u})}}e.walkRules(s=>{if(QQe(s))for(let o of s.selectors)for(let a of ZQe(o,s))JQe(a,r,s,u=>i(u,s))})};M_.ruleName=T_;M_.messages=Gee;M_.meta=rJe;Kee.exports=M_});var Xee=m((ZMt,Jee)=>{"use strict";var nJe=Zo(),iJe=ls(),sJe=Le(),oJe=Ve(),aJe=U(),uJe=tn(),lJe=j(),cJe=N(),F_="selector-max-compound-selectors",Qee=lJe(F_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} compound ${e===1?"selector":"selectors"}`}),fJe={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},L_=t=>(e,r)=>{if(!cJe(r,F_,{actual:t,possible:iJe}))return;function i(s,o){let a=1;if(s.each(u=>{(u.type==="selector"||nJe(u))&&i(u,o),u.type==="combinator"&&a++}),s.type!=="root"&&s.type!=="pseudo"&&a>t){let u=s.toString();aJe({ruleName:F_,result:r,node:o,message:Qee.expected(u,t),word:u})}}e.walkRules(s=>{if(sJe(s))for(let o of s.selectors)for(let a of uJe(o,s))oJe(a,r,s,u=>i(u,s))})};L_.ruleName=F_;L_.messages=Qee;L_.meta=fJe;Jee.exports=L_});var tte=m((eFt,ete)=>{"use strict";var dJe=U(),pJe=j(),hJe=N(),{isNumber:gJe}=te(),I_="selector-max-empty-lines",Zee=pJe(I_,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),mJe={url:"https://stylelint.io/user-guide/rules/selector-max-empty-lines",fixable:!0},N_=(t,e,r)=>{let n=t+1;return(i,s)=>{if(!hJe(s,I_,{actual:t,possible:gJe}))return;let a=new RegExp(`(?:\r
|
|
134
|
+
){${n+1},}`),u=new RegExp(`
|
|
135
|
+
{${n+1},}`),l=r.fix?`
|
|
136
|
+
`.repeat(n):"",c=r.fix?`\r
|
|
137
|
+
`.repeat(n):"";i.walkRules(f=>{let d=f.raws.selector?f.raws.selector.raw:f.selector;if(r.fix){let p=d.replace(new RegExp(u,"gm"),l).replace(new RegExp(a,"gm"),c);f.raws.selector?f.raws.selector.raw=p:f.selector=p}else(u.test(d)||a.test(d))&&dJe({message:Zee.expected(t),node:f,index:0,result:s,ruleName:I_})})}};N_.ruleName=I_;N_.messages=Zee;N_.meta=mJe;ete.exports=N_});var ite=m((tFt,nte)=>{"use strict";var yJe=Zo(),bJe=ls(),vJe=Le(),wJe=_e(),_Je=Ve(),xJe=U(),SJe=tn(),kJe=j(),EJe=N(),{isRegExp:CJe,isString:DJe}=te(),j_="selector-max-id",rte=kJe(j_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} ID ${e===1?"selector":"selectors"}`}),OJe={url:"https://stylelint.io/user-guide/rules/selector-max-id"},$_=(t,e)=>(r,n)=>{if(!EJe(n,j_,{actual:t,possible:bJe},{actual:e,possible:{ignoreContextFunctionalPseudoClasses:[DJe,CJe]},optional:!0}))return;function s(a,u){let l=a.reduce((c,f)=>((f.type==="selector"||yJe(f)&&!o(f))&&s(f,u),f.type==="id"&&(c+=1),c),0);if(a.type!=="root"&&a.type!=="pseudo"&&l>t){let c=a.toString();xJe({ruleName:j_,result:n,node:u,message:rte.expected(c,t),word:c})}}function o(a){return a.type==="pseudo"&&wJe(e,"ignoreContextFunctionalPseudoClasses",a.value)}r.walkRules(a=>{if(vJe(a))for(let u of a.selectors)for(let l of SJe(u,a))_Je(l,n,a,c=>s(c,a))})};$_.ruleName=j_;$_.messages=rte;$_.meta=OJe;nte.exports=$_});var ate=m((rFt,ote)=>{"use strict";var qJe=Zo(),RJe=ls(),AJe=Le(),{levelOneAndTwoPseudoElements:PJe}=rn(),TJe=Ve(),MJe=U(),FJe=tn(),LJe=j(),IJe=N(),B_="selector-max-pseudo-class",ste=LJe(B_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} pseudo-${e===1?"class":"classes"}`}),NJe={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},W_=t=>(e,r)=>{if(!IJe(r,B_,{actual:t,possible:RJe}))return;function i(s,o){if(s.reduce((u,l)=>((l.type==="selector"||qJe(l))&&i(l,o),l.type==="pseudo"&&(l.value.includes("::")||PJe.has(l.value.toLowerCase().slice(1)))||l.type==="pseudo"&&(u+=1),u),0)>t){let u=s.toString();MJe({ruleName:B_,result:r,node:o,message:ste.expected(u,t),word:u})}}e.walkRules(s=>{if(AJe(s))for(let o of s.selectors)for(let a of FJe(o,s))TJe(a,r,s,u=>{i(u,s)})})};W_.ruleName=B_;W_.messages=ste;W_.meta=NJe;ote.exports=W_});var hte=m((nFt,pte)=>{"use strict";var jJe=tn(),{selectorSpecificity:IP,compare:ute}=yP(),$Je=Le(),BJe=Ur(),{aNPlusBOfSNotationPseudoClasses:WJe,aNPlusBNotationPseudoClasses:zJe,linguisticPseudoClasses:UJe}=rn(),lte=_e(),HJe=Ve(),VJe=U(),GJe=j(),KJe=N(),{isRegExp:YJe,isString:cte,assertNumber:NP}=te(),z_="selector-max-specificity",dte=GJe(z_,{expected:(t,e)=>`Expected "${t}" to have a specificity no more than "${e}"`}),QJe={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},ea=()=>({a:0,b:0,c:0}),fte=t=>{let e=ea();for(let{a:r,b:n,c:i}of t)e.a+=r,e.b+=n,e.c+=i;return e},U_=(t,e)=>(r,n)=>{if(!KJe(n,z_,{actual:t,possible:[h=>cte(h)&&/^\d+,\d+,\d+$/.test(h)]},{actual:e,possible:{ignoreSelectors:[cte,YJe]},optional:!0}))return;let s=h=>lte(e,"ignoreSelectors",h.toString())?ea():IP(h),o=h=>h.reduce((y,b)=>{let g=l(b);return ute(g,y)>0?g:y},ea()),a=h=>{let y=h.value.toLowerCase();if(y===":where")return ea();let b;if(lte(e,"ignoreSelectors",y))b=ea();else{if(WJe.has(y.replace(/^:/,"")))return IP(h);b=IP(h.clone({nodes:[]}))}return fte([b,o(h)])},u=h=>{let y=h.parent&&h.parent.parent;if(y&&y.type==="pseudo"&&y.value){let b=y.value.toLowerCase().replace(/^:/,"");return zJe.has(b)||UJe.has(b)}return!1},l=h=>{if(u(h))return ea();switch(h.type){case"attribute":case"class":case"id":case"tag":return s(h);case"pseudo":return a(h);case"selector":return fte(h.map(y=>l(y)));default:return ea()}},[c,f,d]=t.split(",").map(h=>Number.parseFloat(h));NP(c),NP(f),NP(d);let p={a:c,b:f,c:d};r.walkRules(h=>{if($Je(h))for(let y of h.selectors)for(let b of jJe(y,h))BJe(b)&&HJe(b,n,h,g=>{ute(o(g),p)>0&&VJe({ruleName:z_,result:n,node:h,message:dte.expected(b,t),word:y})})})};U_.ruleName=z_;U_.messages=dte;U_.meta=QJe;pte.exports=U_});var fd=m((iFt,gte)=>{"use strict";var{aNPlusBNotationPseudoClasses:JJe,aNPlusBOfSNotationPseudoClasses:XJe,linguisticPseudoClasses:ZJe,shadowTreePseudoElements:eXe}=rn();gte.exports=function(e){if(!e.parent||!e.parent.parent)return!1;let r=e.parent.parent,n=r.type,i=r.value;if(i){let s=i.toLowerCase().replace(/:+/,"");if(n==="pseudo"&&(JJe.has(s)||XJe.has(s)||ZJe.has(s)||eXe.has(s)))return!1}return!(e.prev()&&e.prev().type==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}});var vte=m((sFt,bte)=>{"use strict";var tXe=Zo(),rXe=od(),nXe=ls(),iXe=xP(),sXe=Le(),oXe=Ur(),aXe=fd(),dd=_e(),uXe=Ve(),lXe=U(),cXe=tn(),fXe=j(),dXe=N(),{isRegExp:pXe,isString:mte}=te(),H_="selector-max-type",yte=fXe(H_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} type ${e===1?"selector":"selectors"}`}),hXe={url:"https://stylelint.io/user-guide/rules/selector-max-type"},V_=(t,e)=>(r,n)=>{if(!dXe(n,H_,{actual:t,possible:nXe},{actual:e,possible:{ignore:["descendant","child","compounded","next-sibling"],ignoreTypes:[mte,pXe]},optional:!0}))return;let s=dd(e,"ignore","descendant"),o=dd(e,"ignore","child"),a=dd(e,"ignore","compounded"),u=dd(e,"ignore","next-sibling");function l(c,f){let d=c.reduce((p,h)=>((h.type==="selector"||tXe(h))&&l(h,f),dd(e,"ignoreTypes",h.value)||s&&gXe(h)||o&&mXe(h)||a&&yXe(h)||u&&bXe(h)||h.type==="tag"&&!aXe(h)?p:h.type==="tag"?p+1:p),0);if(c.type!=="root"&&c.type!=="pseudo"&&d>t){let p=c.toString();lXe({ruleName:H_,result:n,node:f,message:yte.expected(p,t),word:p})}}r.walkRules(c=>{let f=c.selectors;if(sXe(c)&&!f.some(d=>rXe(d)))for(let d of c.selectors)for(let p of cXe(d,c))oXe(p)&&uXe(p,n,c,h=>l(h,c))})};function gXe(t){if(!t.parent)return!1;let e=t.parent.nodes.indexOf(t);return t.parent.nodes.slice(0,e).some(r=>vXe(r))}function mXe(t){if(!t.parent)return!1;let e=t.parent.nodes.indexOf(t);return t.parent.nodes.slice(0,e).some(r=>wXe(r))}function yXe(t){return t.prev()&&!pd(t.prev())?!0:t.next()&&!pd(t.next())}function bXe(t){return t.prev()&&_Xe(t.prev())}function pd(t){return t?t.type==="combinator":!1}function vXe(t){return t?pd(t)&&mte(t.value)&&iXe(t.value):!1}function wXe(t){return t?pd(t)&&t.value===">":!1}function _Xe(t){return pd(t)&&t.value==="+"}V_.ruleName=H_;V_.messages=yte;V_.meta=hXe;bte.exports=V_});var xte=m((oFt,_te)=>{"use strict";var xXe=ls(),SXe=Le(),kXe=Ve(),EXe=U(),CXe=tn(),DXe=j(),OXe=Us(),qXe=N(),RXe=_e(),{isString:AXe}=te(),G_="selector-max-universal",wte=DXe(G_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} universal ${e===1?"selector":"selectors"}`}),PXe={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},K_=(t,e)=>(r,n)=>{if(!qXe(n,G_,{actual:t,possible:xXe},{actual:e,possible:{ignoreAfterCombinators:[AXe]},optional:!0}))return;function s(o,a){let u=o.reduce((l,c)=>{c.type==="selector"&&s(c,a);let f=c.prev(),d=f&&f.value;return c.type==="universal"&&(RXe(e,"ignoreAfterCombinators",d)||(l+=1)),l},0);if(o.type!=="root"&&o.type!=="pseudo"&&u>t){let l=o.toString();EXe({ruleName:G_,result:n,node:a,message:wte.expected(l,t),word:l})}}r.walkRules(o=>{if(!SXe(o))return;let a=[];OXe().astSync(o.selector).walk(u=>{u.type==="selector"&&a.push(String(u).trim())});for(let u of a)for(let l of CXe(u,o))kXe(l,n,o,c=>s(c,o))})};K_.ruleName=G_;K_.messages=wte;K_.meta=PXe;_te.exports=K_});var Cte=m((aFt,Ete)=>{"use strict";var TXe=Le(),MXe=U(),FXe=j(),LXe=N(),{isRegExp:IXe,isString:Ste}=te(),Y_="selector-nested-pattern",kte=FXe(Y_,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),NXe={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Q_=t=>(e,r)=>{if(!LXe(r,Y_,{actual:t,possible:[IXe,Ste]}))return;let i=Ste(t)?new RegExp(t):t;e.walkRules(s=>{if(s.parent&&s.parent.type!=="rule"||!TXe(s))return;let o=s.selector;i.test(o)||MXe({result:r,ruleName:Y_,message:kte.expected,messageArgs:[o,t],node:s,word:o})})};Q_.ruleName=Y_;Q_.messages=kte;Q_.meta=NXe;Ete.exports=Q_});var qte=m((uFt,Ote)=>{"use strict";var jXe=tn(),$Xe=wP(),BXe=Le(),WXe=Ur(),zXe=fd(),jP=_e(),UXe=Ve(),HXe=U(),VXe=j(),GXe=N(),J_="selector-no-qualifying-type",Dte=VXe(J_,{rejected:t=>`Unexpected qualifying type selector "${t}"`}),KXe={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},YXe=["#",".","["];function QXe(t){return YXe.some(e=>t.includes(e))}function JXe(t){let e=[],r=t;for(;(r=r.next())&&r.type!=="combinator";)r.type!=="id"&&r.type!=="class"&&r.type!=="attribute"||e.push(r);return e}var X_=(t,e)=>(r,n)=>{if(!GXe(n,J_,{actual:t,possible:[!0]},{actual:e,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let s=jP(e,"ignore","id"),o=jP(e,"ignore","class"),a=jP(e,"ignore","attribute");r.walkRules(u=>{if(!BXe(u)||$Xe(u)||!QXe(u.selector))return;function l(f){f.walkTags(d=>{if(!zXe(d))return;let p=d.parent;if(p&&p.nodes.length===1)return;let h=JXe(d);for(let y of h)if(y.type==="id"&&!s||y.type==="class"&&!o||y.type==="attribute"&&!a){let b=[d,...h].join("").trimStart();c(b)}})}for(let f of jXe(u.selector,u))WXe(f)&&UXe(f,n,u,l);function c(f){HXe({ruleName:J_,result:n,node:u,message:Dte.rejected(f),word:f})}})};X_.ruleName=J_;X_.messages=Dte;X_.meta=KXe;Ote.exports=X_});var Tte=m((lFt,Pte)=>{"use strict";var Rte=Su(),XXe=Le(),ZXe=_e(),eZe=Ve(),tZe=U(),rZe=j(),nZe=N(),{isString:iZe,isRegExp:sZe}=te(),Z_="selector-no-vendor-prefix",Ate=rZe(Z_,{rejected:t=>`Unexpected vendor-prefix "${t}"`}),oZe={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},ex=(t,e,r)=>(n,i)=>{nZe(i,Z_,{actual:t},{actual:e,possible:{ignoreSelectors:[iZe,sZe]},optional:!0})&&n.walkRules(o=>{if(!XXe(o))return;let a=o.selector;eZe(a,i,o,u=>{u.walkPseudos(l=>{let{value:c}=l;if(Rte.selector(c)&&!ZXe(e,"ignoreSelectors",c)){if(r.fix){o.selector=Rte.unprefix(a);return}tZe({result:i,ruleName:Z_,message:Ate.rejected(c),node:o,word:c})}})})})};ex.ruleName=Z_;ex.messages=Ate;ex.meta=oZe;Pte.exports=ex});var Nte=m((cFt,Ite)=>{"use strict";var aZe=Le(),uZe=Ur(),lZe=Ve(),cZe=U(),fZe=j(),dZe=N(),{isPseudoClass:Mte,isAttribute:pZe,isClassName:hZe,isUniversal:gZe,isIdentifier:mZe,isTag:yZe}=Us(),{assert:ta}=te(),tx="selector-not-notation",Fte=fZe(tx,{expected:t=>`Expected ${t} :not() pseudo-class notation`}),bZe={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},Lte=t=>Mte(t)||pZe(t)||hZe(t)||gZe(t)||mZe(t)||yZe(t),rx=t=>Mte(t)&&t.value!==void 0&&t.value.toLowerCase()===":not",vZe=t=>{if(t.length>1)return!1;ta(t[0],"list is never empty");let[e,r]=t[0].nodes;return e?r?!1:Lte(e)&&!rx(e):!0},nx=(t,e,r)=>(n,i)=>{dZe(i,tx,{actual:t,possible:["simple","complex"]})&&n.walkRules(o=>{if(!aZe(o))return;let a=o.selector;if(!a.includes(":not(")||!uZe(a))return;let u=lZe(a,i,o,l=>{l.walkPseudos(c=>{if(rx(c)){if(t==="complex"){let f=c.prev();if(!(f&&rx(f)))return;if(r.fix)return _Ze(f)}else{let f=c.nodes;if(vZe(f))return;if(r.fix&&f.length>1&&f[1]&&(f[1].nodes.length===0||f.every(({nodes:p})=>p.length===1)))return wZe(c)}ta(c.source&&c.source.end),cZe({message:Fte.expected(t),node:o,index:c.sourceIndex,endIndex:c.source.end.column,result:i,ruleName:tx})}})});r.fix&&u&&(o.selector=u)})};function wZe(t){let e=t.nodes.filter(({nodes:n})=>n[0]&&Lte(n[0])).map(n=>(ta(n.nodes[0]),n.nodes[0].rawSpaceBefore="",n.nodes[0].rawSpaceAfter="",n)),r=e.shift();ta(r),ta(t.parent),t.empty(),t.nodes.push(r);for(let n of e){let i=t.parent.last;t.parent.insertAfter(i,i.clone({nodes:[n]}))}}function _Ze(t){let e=s=>{for(let o of s)ta(o.nodes[0]),o.nodes[0].rawSpaceBefore=" ",o.nodes[0].rawSpaceAfter=""},[r,...n]=t.nodes,i=t.next();if(!(r==null||r.nodes.length===0))for(ta(r.nodes[0]),r.nodes[0].rawSpaceBefore="",r.nodes[0].rawSpaceAfter="",e(n);rx(i);){let s=i.nodes,o=i;e(s),t.nodes=t.nodes.concat(s),i=i.next(),o.remove()}}nx.ruleName=tx;nx.messages=Fte;nx.meta=bZe;Ite.exports=nx});var Bte=m((fFt,$te)=>{"use strict";var xZe=Le(),SZe=qt(),kZe=Ve(),EZe=U(),CZe=j(),DZe=N(),OZe=tt(),{isRegExp:qZe,isString:RZe}=te(),ix="selector-pseudo-class-allowed-list",jte=CZe(ix,{rejected:t=>`Unexpected pseudo-class "${t}"`}),AZe={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},hd=t=>(e,r)=>{DZe(r,ix,{actual:t,possible:[RZe,qZe]})&&e.walkRules(i=>{if(!xZe(i))return;let s=i.selector;s.includes(":")&&kZe(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.slice(0,2)==="::")return;let l=u.slice(1);SZe(OZe.unprefixed(l),t)||EZe({word:u,message:jte.rejected(u),node:i,result:r,ruleName:ix})})})})};hd.primaryOptionArray=!0;hd.ruleName=ix;hd.messages=jte;hd.meta=AZe;$te.exports=hd});var Ute=m((dFt,zte)=>{"use strict";var PZe=Le(),TZe=Ur(),{levelOneAndTwoPseudoElements:MZe}=rn(),FZe=Ve(),LZe=U(),IZe=j(),NZe=N(),sx="selector-pseudo-class-case",Wte=IZe(sx,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),jZe={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-case",fixable:!0},ox=(t,e,r)=>(n,i)=>{NZe(i,sx,{actual:t,possible:["lower","upper"]})&&n.walkRules(o=>{if(!PZe(o)||!o.selector.includes(":"))return;let u=FZe(o.raws.selector?o.raws.selector.raw:o.selector,i,o,l=>{l.walkPseudos(c=>{let f=c.value;if(!TZe(f)||f.includes("::")||MZe.has(f.toLowerCase().slice(1)))return;let d=t==="lower"?f.toLowerCase():f.toUpperCase();if(f!==d){if(r.fix){c.value=d;return}LZe({message:Wte.expected(f,d),node:o,index:c.sourceIndex,ruleName:sx,result:i})}})});r.fix&&u&&(o.raws.selector?o.raws.selector.raw=u:o.selector=u)})};ox.ruleName=sx;ox.messages=Wte;ox.meta=jZe;zte.exports=ox});var Gte=m((pFt,Vte)=>{"use strict";var $Ze=Le(),BZe=qt(),WZe=Ve(),zZe=U(),UZe=j(),HZe=N(),VZe=tt(),{isRegExp:GZe,isString:KZe}=te(),ax="selector-pseudo-class-disallowed-list",Hte=UZe(ax,{rejected:t=>`Unexpected pseudo-class "${t}"`}),YZe={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},gd=t=>(e,r)=>{HZe(r,ax,{actual:t,possible:[KZe,GZe]})&&e.walkRules(i=>{if(!$Ze(i))return;let s=i.selector;s.includes(":")&&WZe(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.slice(0,2)==="::")return;let l=u.slice(1);BZe(VZe.unprefixed(l),t)&&zZe({word:u,message:Hte.rejected(u),node:i,result:r,ruleName:ax})})})})};gd.primaryOptionArray=!0;gd.ruleName=ax;gd.messages=Hte;gd.meta=YZe;Vte.exports=gd});var Yte=m((hFt,Kte)=>{"use strict";Kte.exports=function(e){return e.startsWith(":--")}});var Zte=m((gFt,Xte)=>{"use strict";var QZe=Ze(),JZe=Yte(),XZe=Mr(),ZZe=Le(),eet=Ur(),{atRulePagePseudoClasses:tet,pseudoClasses:ret,pseudoElements:net,webkitScrollbarPseudoClasses:iet,webkitScrollbarPseudoElements:set}=rn(),oet=_e(),aet=Ve(),uet=U(),cet=j(),fet=N(),det=tt(),{isString:pet,isRegExp:het}=te(),{isAtRule:Qte}=Ye(),ux="selector-pseudo-class-no-unknown",Jte=cet(ux,{rejected:t=>`Unexpected unknown pseudo-class selector "${t}"`}),get={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},lx=(t,e)=>(r,n)=>{if(!fet(n,ux,{actual:t},{actual:e,possible:{ignorePseudoClasses:[pet,het]},optional:!0}))return;function s(o,a){aet(o,n,a,u=>{u.walkPseudos(l=>{let c=l.value;if(!eet(c)||JZe(c)||c.slice(0,2)==="::"||oet(e,"ignorePseudoClasses",l.value.slice(1)))return;let f=null,d=c.slice(1).toLowerCase();if(Qte(a)&&a.name==="page"){if(tet.has(d))return;f=QZe(a)+l.sourceIndex}else{if(det.prefix(d)||ret.has(d)||net.has(d))return;let p=l;do if(p=p.prev(),p&&p.value.slice(0,2)==="::")break;while(p);if(p){let h=p.value.toLowerCase().slice(2);if(set.has(h)&&iet.has(d))return}f=l.sourceIndex}uet({message:Jte.rejected(c),node:a,index:f,ruleName:ux,result:n,word:c})})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!ZZe(o))return;a=o.selector}else if(Qte(o)&&o.name==="page"&&o.params){if(!XZe(o))return;a=o.params}a&&a.includes(":")&&s(a,o)})};lx.ruleName=ux;lx.messages=Jte;lx.meta=get;Xte.exports=lx});var tre=m((mFt,ere)=>{"use strict";var met=Le(),yet=Ve(),bet=U(),vet=j(),wet=N(),cx="selector-pseudo-class-parentheses-space-inside",md=vet(cx,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),_et={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside",fixable:!0},fx=(t,e,r)=>(n,i)=>{wet(i,cx,{actual:t,possible:["always","never"]})&&n.walkRules(o=>{if(!met(o)||!o.selector.includes("("))return;let a=!1,u=o.raws.selector?o.raws.selector.raw:o.selector,l=yet(u,i,o,f=>{f.walkPseudos(d=>{if(!d.length)return;let p=d.map(v=>String(v)).join(","),h=p.startsWith(" "),y=d.sourceIndex+d.value.length+1;h&&t==="never"&&(r.fix?(a=!0,$P(d,"")):c(md.rejectedOpening,y)),!h&&t==="always"&&(r.fix?(a=!0,$P(d," ")):c(md.expectedOpening,y));let b=p.endsWith(" "),g=y+p.length-1;b&&t==="never"&&(r.fix?(a=!0,BP(d,"")):c(md.rejectedClosing,g)),!b&&t==="always"&&(r.fix?(a=!0,BP(d," ")):c(md.expectedClosing,g))})});a&&l&&(o.raws.selector?o.raws.selector.raw=l:o.selector=l);function c(f,d){bet({message:f,index:d,result:i,ruleName:cx,node:o})}})};function $P(t,e){let r=t.first;r.type==="selector"?$P(r,e):r.spaces.before=e}function BP(t,e){let r=t.last;r.type==="selector"?BP(r,e):r.spaces.after=e}fx.ruleName=cx;fx.messages=md;fx.meta=_et;ere.exports=fx});var ire=m((yFt,nre)=>{"use strict";var xet=Le(),ket=qt(),Eet=Ve(),Cet=U(),Det=j(),Oet=N(),qet=tt(),{isRegExp:Ret,isString:Aet}=te(),dx="selector-pseudo-element-allowed-list",rre=Det(dx,{rejected:t=>`Unexpected pseudo-element "${t}"`}),Pet={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},yd=t=>(e,r)=>{Oet(r,dx,{actual:t,possible:[Aet,Ret]})&&e.walkRules(i=>{if(!xet(i))return;let s=i.selector;s.includes("::")&&Eet(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.charAt(1)!==":")return;let l=u.slice(2);ket(qet.unprefixed(l),t)||Cet({index:a.sourceIndex,message:rre.rejected(u),node:i,word:u,result:r,ruleName:dx})})})})};yd.primaryOptionArray=!0;yd.ruleName=dx;yd.messages=rre;yd.meta=Pet;nre.exports=yd});var are=m((bFt,ore)=>{"use strict";var Tet=Le(),Met=Ur(),{levelOneAndTwoPseudoElements:Fet}=rn(),Let=U(),Iet=j(),Net=JA(),jet=N(),px="selector-pseudo-element-case",sre=Iet(px,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),$et={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-case",fixable:!0},hx=(t,e,r)=>(n,i)=>{jet(i,px,{actual:t,possible:["lower","upper"]})&&n.walkRules(o=>{!Tet(o)||!o.selector.includes(":")||Net(i,o,u=>{u.walkPseudos(l=>{let c=l.value;if(!Met(c)||!c.includes("::")&&!Fet.has(c.toLowerCase().slice(1)))return;let f=t==="lower"?c.toLowerCase():c.toUpperCase();if(c!==f){if(r.fix){l.value=f;return}Let({message:sre.expected(c,f),node:o,index:l.sourceIndex,ruleName:px,result:i})}})})})};hx.ruleName=px;hx.messages=sre;hx.meta=$et;ore.exports=hx});var cre=m((vFt,lre)=>{"use strict";var Bet=Le(),{levelOneAndTwoPseudoElements:Wet}=rn(),zet=Ve(),Uet=U(),Het=j(),Vet=N(),gx="selector-pseudo-element-colon-notation",ure=Het(gx,{expected:t=>`Expected ${t} colon pseudo-element notation`}),Get={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},mx=(t,e,r)=>(n,i)=>{if(!Vet(i,gx,{actual:t,possible:["single","double"]}))return;let o="";t==="single"?o=":":t==="double"&&(o="::"),n.walkRules(a=>{if(!Bet(a))return;let u=a.selector;if(!u.includes(":"))return;let l=zet(u,i,a,c=>{c.walkPseudos(f=>{let d=f.value.replace(/:/g,"");if(!Wet.has(d.toLowerCase()))return;let p=f.value.startsWith("::");if(!(t==="single"&&!p)&&!(t==="double"&&p)){if(r.fix){f.replaceWith(f.clone({value:o+d}));return}Uet({message:ure.expected(t),node:a,index:f.sourceIndex,endIndex:f.sourceIndex+(p?2:1),result:i,ruleName:gx})}})});r.fix&&l&&(a.selector=l)})};mx.ruleName=gx;mx.messages=ure;mx.meta=Get;lre.exports=mx});var pre=m((wFt,dre)=>{"use strict";var Ket=Le(),Yet=qt(),Qet=Ve(),Jet=U(),Xet=j(),Zet=N(),ett=tt(),{isRegExp:ttt,isString:rtt}=te(),yx="selector-pseudo-element-disallowed-list",fre=Xet(yx,{rejected:t=>`Unexpected pseudo-element "${t}"`}),ntt={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},bd=t=>(e,r)=>{Zet(r,yx,{actual:t,possible:[rtt,ttt]})&&e.walkRules(i=>{if(!Ket(i))return;let s=i.selector;s.includes("::")&&Qet(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.charAt(1)!==":")return;let l=u.slice(2);Yet(ett.unprefixed(l),t)&&Jet({index:a.sourceIndex,message:fre.rejected(u),node:i,word:u,result:r,ruleName:yx})})})})};bd.primaryOptionArray=!0;bd.ruleName=yx;bd.messages=fre;bd.meta=ntt;dre.exports=bd});var mre=m((_Ft,gre)=>{"use strict";var itt=Le(),stt=Ur(),{pseudoElements:ott}=rn(),att=_e(),utt=Ve(),ltt=U(),ctt=j(),ftt=N(),dtt=tt(),{isString:ptt,isRegExp:htt}=te(),bx="selector-pseudo-element-no-unknown",hre=ctt(bx,{rejected:t=>`Unexpected unknown pseudo-element selector "${t}"`}),gtt={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},vx=(t,e)=>(r,n)=>{ftt(n,bx,{actual:t},{actual:e,possible:{ignorePseudoElements:[ptt,htt]},optional:!0})&&r.walkRules(s=>{if(!itt(s))return;let o=s.selector;o.includes(":")&&utt(o,n,s,a=>{a.walkPseudos(u=>{let l=u.value;if(!stt(l)||l.slice(0,2)!=="::"||att(e,"ignorePseudoElements",u.value.slice(2)))return;let c=l.slice(2);dtt.prefix(c)||ott.has(c.toLowerCase())||ltt({message:hre.rejected(l),node:s,index:u.sourceIndex,ruleName:bx,result:n,word:l})})})})};vx.ruleName=bx;vx.messages=hre;vx.meta=gtt;gre.exports=vx});var vre=m((xFt,bre)=>{"use strict";var mtt=od(),ytt=Le(),btt=fd(),vtt=_e(),wtt=Ve(),_tt=U(),xtt=j(),Stt=N(),{isString:ktt,isRegExp:Ett}=te(),{mixedCaseSvgTypeSelectors:Ctt}=rn(),wx="selector-type-case",yre=xtt(wx,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),Dtt={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},_x=(t,e,r)=>(n,i)=>{Stt(i,wx,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreTypes:[ktt,Ett]},optional:!0})&&n.walkRules(o=>{let a=o.raws.selector&&o.raws.selector.raw,u=a||o.selector,l=o.selectors;ytt(o)&&(l.some(c=>mtt(c))||wtt(u,i,o,c=>{c.walkTags(f=>{if(!btt(f)||Ctt.has(f.value)||vtt(e,"ignoreTypes",f.value))return;let d=f.sourceIndex,p=f.value,h=t==="lower"?p.toLowerCase():p.toUpperCase();if(p!==h){if(r.fix){if(a){if(a=a.slice(0,d)+h+a.slice(d+p.length),o.raws.selector==null)throw new Error("The `raw` property must be present");o.raws.selector.raw=a}else o.selector=o.selector.slice(0,d)+h+o.selector.slice(d+p.length);return}_tt({message:yre.expected(p,h),node:o,index:d,ruleName:wx,result:i})}})}))})};_x.ruleName=wx;_x.messages=yre;_x.meta=Dtt;bre.exports=_x});var WP=m((SFt,Ott)=>{Ott.exports=["abs","and","annotation","annotation-xml","apply","approx","arccos","arccosh","arccot","arccoth","arccsc","arccsch","arcsec","arcsech","arcsin","arcsinh","arctan","arctanh","arg","bind","bvar","card","cartesianproduct","cbytes","ceiling","cerror","ci","cn","codomain","complexes","compose","condition","conjugate","cos","cosh","cot","coth","cs","csc","csch","csymbol","curl","declare","degree","determinant","diff","divergence","divide","domain","domainofapplication","emptyset","encoding","eq","equivalent","eulergamma","exists","exp","exponentiale","factorial","factorof","false","floor","fn","forall","function","gcd","geq","grad","gt","ident","image","imaginary","imaginaryi","implies","in","infinity","int","integers","intersect","interval","inverse","lambda","laplacian","lcm","leq","limit","list","ln","log","logbase","lowlimit","lt","maction","malign","maligngroup","malignmark","malignscope","math","matrix","matrixrow","max","mean","median","menclose","merror","mfenced","mfrac","mfraction","mglyph","mi","min","minus","mlabeledtr","mlongdiv","mmultiscripts","mn","mo","mode","moment","momentabout","mover","mpadded","mphantom","mprescripts","mroot","mrow","ms","mscarries","mscarry","msgroup","msline","mspace","msqrt","msrow","mstack","mstyle","msub","msubsup","msup","mtable","mtd","mtext","mtr","munder","munderover","naturalnumbers","neq","none","not","notanumber","notin","notprsubset","notsubset","or","otherwise","outerproduct","partialdiff","pi","piece","piecewice","piecewise","plus","power","primes","product","prsubset","quotient","rationals","real","reals","reln","rem","root","scalarproduct","sdev","sec","sech","select","selector","semantics","sep","set","setdiff","share","sin","sinh","span","subset","sum","tan","tanh","tendsto","times","transpose","true","union","uplimit","var","variance","vector","vectorproduct","xor"]});var wre=m((kFt,qtt)=>{qtt.exports=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignObject","g","glyph","glyphRef","hkern","image","line","linearGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"]});var zP=m((EFt,_re)=>{_re.exports=wre()});var Sre=m((CFt,xre)=>{"use strict";var{htmlTypeSelectors:Rtt}=rn(),Att=WP(),Ptt=zP();xre.exports=function(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let r=e.toLowerCase();return!(r!==e||Ptt.includes(r)||Rtt.has(r)||Att.includes(r))}});var Ore=m((DFt,Dre)=>{"use strict";var Ttt=Sre(),Mtt=od(),Ftt=Le(),Ltt=fd(),{htmlTypeSelectors:Itt}=rn(),Ntt=WP(),xx=_e(),jtt=Ve(),$tt=U(),Btt=j(),Wtt=zP(),ztt=N(),{isRegExp:kre,isString:Ere}=te(),Sx="selector-type-no-unknown",Cre=Btt(Sx,{rejected:t=>`Unexpected unknown type selector "${t}"`}),Utt={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},kx=(t,e)=>(r,n)=>{ztt(n,Sx,{actual:t},{actual:e,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[Ere,kre],ignoreTypes:[Ere,kre]},optional:!0})&&r.walkRules(s=>{let o=s.selector,a=s.selectors;Ftt(s)&&(a.some(u=>Mtt(u))||jtt(o,n,s,u=>{u.walkTags(l=>{if(!Ltt(l)||xx(e,"ignore","custom-elements")&&Ttt(l.value)||xx(e,"ignore","default-namespace")&&typeof l.namespace!="string"||xx(e,"ignoreNamespaces",l.namespace)||xx(e,"ignoreTypes",l.value))return;let c=l.value,f=c.toLowerCase();Itt.has(f)||Wtt.includes(c)||Ntt.includes(f)||$tt({message:Cre.rejected(c),node:s,index:l.sourceIndex,ruleName:Sx,result:n,word:c})})}))})};kx.ruleName=Sx;kx.messages=Cre;kx.meta=Utt;Dre.exports=kx});var Pre=m((OFt,Are)=>{"use strict";var Htt=ii(),Vtt=si(),Gtt=U(),Ktt=j(),Ytt=N(),qre=Re(),Qtt=tt(),Ex="shorthand-property-no-redundant-values",Rre=Ktt(Ex,{rejected:(t,e)=>`Expected "${t}" to be "${e}"`}),Jtt={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Xtt=new Set(["margin","padding","border-color","border-radius","border-style","border-width","grid-gap"]),Ztt=["+","*","/","(",")","$","@","--","var("];function ert(t){return Ztt.some(e=>t.includes(e))}function trt(t){return Xtt.has(t)}function rrt(t,e,r,n){let i=t.toLowerCase(),s=e.toLowerCase(),o=r&&r.toLowerCase(),a=n&&n.toLowerCase();return nrt(i,s,o,a)?[t]:irt(i,s,o,a)?[t,e]:srt(i,s,o,a)?[t,e,r]:[t,e,r,n]}function nrt(t,e,r,n){return t!==e?!1:t===r&&(r===n||!n)||!r&&!n}function irt(t,e,r,n){return t===r&&e===n||t===r&&!n&&t!==e}function srt(t,e,r,n){return e===n}var Cx=(t,e,r)=>(n,i)=>{Ytt(i,Ex,{actual:t})&&n.walkDecls(o=>{if(!Htt(o)||!Vtt(o.prop))return;let a=o.prop,u=o.value,l=Qtt.unprefixed(a.toLowerCase());if(ert(u)||!trt(l))return;let c=[];if(qre(u).walk(h=>{h.type==="word"&&c.push(qre.stringify(h))}),c.length<=1||c.length>4)return;let d=rrt(c[0]||"",c[1]||"",c[2]||"",c[3]||"").filter(Boolean).join(" "),p=c.join(" ");d.toLowerCase()!==p.toLowerCase()&&(r.fix?o.value=o.value.replace(u,d):Gtt({message:Rre.rejected(u,d),node:o,result:i,ruleName:Ex}))})};Cx.ruleName=Ex;Cx.messages=Rre;Cx.meta=Jtt;Are.exports=Cx});var Fre=m((qFt,Mre)=>{"use strict";var ort=Ze(),art=qe(),urt=Ur(),lrt=Ve(),Tre=U(),crt=j(),frt=N(),drt=Re(),vd="string-no-newline",Dx=/\r?\n/,UP=crt(vd,{rejected:"Unexpected newline in string"}),prt={url:"https://stylelint.io/user-guide/rules/string-no-newline"},Ox=t=>(e,r)=>{if(!frt(r,vd,{actual:t}))return;e.walk(o=>{switch(o.type){case"atrule":s(o,o.params,ort);break;case"decl":s(o,o.value,art);break;case"rule":i(o);break}});function i(o){Dx.test(o.selector)&&urt(o.selector)&&lrt(o.selector,r,o,a=>{a.walkAttributes(u=>{let{value:l,quoteMark:c}=u;if(!l||!Dx.test(l))return;let f=[u.attribute,u.operator||""].reduce((p,h)=>p+h.length,u.sourceIndex+1),d=l.length+(c||"").length*2;Tre({message:UP.rejected,node:o,index:f,endIndex:f+d,result:r,ruleName:vd})})})}function s(o,a,u){Dx.test(a)&&drt(a).walk(l=>{if(l.type!=="string"||!Dx.test(l.value))return;let c=u(o);Tre({message:UP.rejected,node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex,result:r,ruleName:vd})})}};Ox.ruleName=vd;Ox.messages=UP;Ox.meta=prt;Mre.exports=Ox});var Bre=m((RFt,$re)=>{"use strict";var hrt=Ze(),grt=qe(),mrt=Le(),yrt=Ve(),qx=U(),brt=j(),vrt=N(),wrt=Re(),{isBoolean:_rt,assertString:Lre}=te(),{isAtRule:Ire}=Ye(),ra="string-quotes",wd=brt(ra,{expected:t=>`Expected ${t} quotes`}),xrt={url:"https://stylelint.io/user-guide/rules/string-quotes",fixable:!0},Nre="'",jre='"',Rx=(t,e,r)=>{let n=t==="single"?Nre:jre,i=t==="single"?jre:Nre;return(s,o)=>{if(!vrt(o,ra,{actual:t,possible:["single","double"]},{actual:e,possible:{avoidEscape:[_rt]},optional:!0}))return;let u=e&&e.avoidEscape!==void 0?e.avoidEscape:!0;s.walk(f=>{switch(f.type){case"atrule":c(f,f.params,hrt);break;case"decl":c(f,f.value,grt);break;case"rule":l(f);break}});function l(f){if(!mrt(f)||!f.selector.includes("[")||!f.selector.includes("="))return;let d=[];yrt(f.selector,o,f,p=>{let h=!1;p.walkAttributes(y=>{if(y.quoted){if(y.quoteMark===n&&u){Lre(y.value);let b=y.value.includes(n);if(y.value.includes(i))return;b&&(r.fix?(h=!0,y.quoteMark=i):qx({message:wd.expected(t==="single"?"double":t),node:f,index:y.sourceIndex+y.offsetOf("value"),result:o,ruleName:ra}))}if(y.quoteMark===i){if(u){Lre(y.value);let b=y.value.includes(n);if(y.value.includes(i)){r.fix?(h=!0,y.quoteMark=n):qx({message:wd.expected(t),node:f,index:y.sourceIndex+y.offsetOf("value"),result:o,ruleName:ra});return}if(b)return}r.fix?(h=!0,y.quoteMark=n):qx({message:wd.expected(t),node:f,index:y.sourceIndex+y.offsetOf("value"),result:o,ruleName:ra})}}}),h&&(f.selector=p.toString())});for(let p of d)f.selector=HP(f.selector,p,n)}function c(f,d,p){let h=[];if(d.includes(i)&&!(Ire(f)&&f.name==="charset")){wrt(d).walk(y=>{if(y.type==="string"&&y.quote===i){let b=y.value.includes(n);if(u&&b)return;let g=y.sourceIndex;if(r.fix&&!b){let v=g+y.value.length+i.length;h.push(g,v)}else qx({message:wd.expected(t),node:f,index:p(f)+g,result:o,ruleName:ra})}});for(let y of h)Ire(f)?f.params=HP(f.params,y,n):f.value=HP(f.value,y,n)}}}};function HP(t,e,r){return t.substring(0,e)+r+t.substring(e+r.length)}Rx.ruleName=ra;Rx.messages=wd;Rx.meta=xrt;$re.exports=Rx});var Ure=m((AFt,zre)=>{"use strict";var Srt=qe(),{longhandTimeProperties:krt,shorthandTimeProperties:Ert}=ku(),Crt=_e(),Drt=U(),Ort=j(),qrt=N(),Rrt=Re(),Art=tt(),{isNumber:Prt}=te(),Trt=vt(),Mrt=oi(),Ax="time-min-milliseconds",Wre=Ort(Ax,{expected:t=>`Expected a minimum of ${t} milliseconds`}),Frt={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Lrt=new Set(["animation-delay","transition-delay"]),Px=(t,e)=>(r,n)=>{if(!qrt(n,Ax,{actual:t,possible:Prt},{actual:e,possible:{ignore:["delay"]},optional:!0}))return;let s=t,o=Crt(e,"ignore","delay");r.walkDecls(f=>{let d=Art.unprefixed(f.prop.toLowerCase()),p=f.value,h=Rrt(Trt(f)),y=0;h.walk(b=>{let{value:g,sourceIndex:v}=b,w=Mrt(b);krt.has(d)&&!u(d)&&!l(w)&&c(f,0,p.length),Ert.has(d)&&(y=a(w,g,y),!(l(w)||o&&y!==1)&&c(f,v,g.length))})});function a(f,d,p){let{unit:h}=f;return h!==null&&p++,d===","&&(p=0),p}function u(f){return!!(o&&Lrt.has(f))}function l(f){let{unit:d,number:p}=f;if(d===null||p===null)return!0;let h=Number(p);if(h<=0)return!0;let y=d.toLowerCase();return!(y==="ms"&&h<s||y==="s"&&h*1e3<s)}function c(f,d,p){let h=Srt(f)+d,y=h+p;Drt({result:n,ruleName:Ax,message:Wre.expected(s),index:h,endIndex:y,node:f})}};Px.ruleName=Ax;Px.messages=Wre;Px.meta=Frt;zre.exports=Px});var Gre=m((PFt,Vre)=>{"use strict";var Hre=U(),Irt=j(),Nrt=N(),_d="unicode-bom",VP=Irt(_d,{expected:"Expected Unicode BOM",rejected:"Unexpected Unicode BOM"}),jrt={url:"https://stylelint.io/user-guide/rules/unicode-bom"},Tx=t=>(e,r)=>{if(!Nrt(r,_d,{actual:t,possible:["always","never"]})||!e.source||e.source.inline||e.source.lang==="object-literal"||e.document!==void 0)return;let{hasBOM:i}=e.source.input;t==="always"&&!i&&Hre({result:r,ruleName:_d,message:VP.expected,node:e,line:1}),t==="never"&&i&&Hre({result:r,ruleName:_d,message:VP.rejected,node:e,line:1})};Tx.ruleName=_d;Tx.messages=VP;Tx.meta=jrt;Vre.exports=Tx});var Xre=m((TFt,Jre)=>{"use strict";var $rt=Ze(),Brt=qe(),Wrt=oi(),Kre=_e(),zrt=U(),Urt=j(),Hrt=Oi(),Vrt=N(),Grt=Re(),{isRegExp:Yre,isString:GP}=te(),Mx="unit-allowed-list",Qre=Urt(Mx,{rejected:t=>`Unexpected unit "${t}"`}),Krt={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},xd=(t,e)=>(r,n)=>{if(!Vrt(n,Mx,{actual:t,possible:[GP]},{optional:!0,actual:e,possible:{ignoreFunctions:[GP,Yre],ignoreProperties:[Hrt(GP,Yre)]}}))return;let s=[t].flat();function o(a,u,l){u=u.replace(/\*/g,","),Grt(u).walk(c=>{if(c.type==="function"){let h=c.value.toLowerCase();if(h==="url"||Kre(e,"ignoreFunctions",h))return!1}let{number:f,unit:d}=Wrt(c);if(!d||!f||d&&s.includes(d.toLowerCase())||"prop"in a&&e&&Kre(e.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);zrt({index:p+c.sourceIndex+f.length,endIndex:p+c.sourceEndIndex,message:Qre.rejected(d),node:a,result:n,ruleName:Mx})})}r.walkAtRules(/^media$/i,a=>o(a,a.params,$rt)),r.walkDecls(a=>o(a,a.value,Brt))};xd.primaryOptionArray=!0;xd.ruleName=Mx;xd.messages=Qre;xd.meta=Krt;Jre.exports=xd});var tne=m((MFt,ene)=>{"use strict";var Yrt=Ze(),Qrt=qe(),Jrt=oi(),Xrt=U(),Zrt=j(),ent=N(),tnt=Re(),Fx="unit-case",Zre=Zrt(Fx,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),rnt={url:"https://stylelint.io/user-guide/rules/unit-case",fixable:!0},Lx=(t,e,r)=>(n,i)=>{if(!ent(i,Fx,{actual:t,possible:["lower","upper"]}))return;function o(a,u,l){let c=[];function f(p){let{number:h,unit:y}=Jrt(p);if(!h||!y)return!1;let b=t==="lower"?y.toLowerCase():y.toUpperCase();if(y===b)return!1;let g=l(a);return c.push({index:g+p.sourceIndex+h.length,endIndex:g+p.sourceEndIndex,message:Zre.expected(y,b)}),!0}let d=tnt(u).walk(p=>{let h=!1,y=p.value;if(p.type==="function"&&y.toLowerCase()==="url")return!1;y.includes("*")&&y.split("*").some(b=>f({...p,sourceIndex:y.indexOf(b)+b.length+1,value:b})),h=f(p),h&&r.fix&&(p.value=t==="lower"?y.toLowerCase():y.toUpperCase())});if(c.length)if(r.fix)"name"in a&&a.name==="media"?a.params=d.toString():"value"in a&&(a.value=d.toString());else for(let p of c)Xrt({index:p.index,endIndex:p.endIndex,message:p.message,node:a,result:i,ruleName:Fx})}n.walkAtRules(a=>{!/^media$/i.test(a.name)&&!("variable"in a)||o(a,a.params,Yrt)}),n.walkDecls(a=>o(a,a.value,Qrt))};Lx.ruleName=Fx;Lx.messages=Zre;Lx.meta=rnt;ene.exports=Lx});var ane=m((FFt,one)=>{"use strict";var nnt=Ze(),int=qe(),snt=oi(),ont=Mi().default,ant=_e(),unt=U(),lnt=j(),rne=Oi(),cnt=N(),nne=Re(),{isRegExp:ine,isString:KP}=te(),Ix="unit-disallowed-list",sne=lnt(Ix,{rejected:t=>`Unexpected unit "${t}"`}),fnt={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},dnt=t=>{let e=t.value.toLowerCase(),r=/((?:-?\w*)*)/.exec(e);return r?r[1]:void 0},Sd=(t,e)=>(r,n)=>{if(!cnt(n,Ix,{actual:t,possible:[KP]},{optional:!0,actual:e,possible:{ignoreProperties:[rne(KP,ine)],ignoreMediaFeatureNames:[rne(KP,ine)]}}))return;let s=[t].flat();function o(l,c,f,d,p){let{number:h,unit:y}=snt(f);!y||!h||y&&!s.includes(y.toLowerCase())||ant(p,y.toLowerCase(),d)||unt({index:c+f.sourceIndex+h.length,endIndex:c+f.sourceEndIndex,message:sne.rejected(y),node:l,result:n,ruleName:Ix})}function a(l,c,f){ont(l.params).walk(/^media-feature$/i,d=>{let p=dnt(d),h=d.parent.value;nne(c).walk(y=>{y.type!=="word"||!h.includes(y.value)||o(l,f(l),y,p,e?e.ignoreMediaFeatureNames:{})})})}function u(l,c,f){c=c.replace(/\*/g,","),nne(c).walk(d=>{if(d.type==="function"&&d.value.toLowerCase()==="url")return!1;o(l,f(l),d,l.prop,e?e.ignoreProperties:{})})}r.walkAtRules(/^media$/i,l=>a(l,l.params,nnt)),r.walkDecls(l=>u(l,l.value,int))};Sd.primaryOptionArray=!0;Sd.ruleName=Ix;Sd.messages=sne;Sd.meta=fnt;one.exports=Sd});var pne=m((LFt,dne)=>{"use strict";var pnt=Ze(),hnt=qe(),gnt=oi(),mnt=Mr(),ynt=ii(),{units:bnt}=qb(),vnt=Mi().default,une=_e(),wnt=U(),_nt=j(),xnt=N(),Snt=Re(),knt=tt(),{isRegExp:lne,isString:cne,assert:YP}=te(),{isAtRule:Ent}=Ye(),Nx="unit-no-unknown",fne=_nt(Nx,{rejected:t=>`Unexpected unknown unit "${t}"`}),Cnt={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},jx=(t,e)=>(r,n)=>{if(!xnt(n,Nx,{actual:t},{actual:e,possible:{ignoreUnits:[cne,lne],ignoreFunctions:[cne,lne]},optional:!0}))return;function s(o,a,u){a=a.replace(/\*/g,",");let l=Snt(a);l.walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||une(e,"ignoreFunctions",c.value)))return!1;let{number:f,unit:d}=gnt(c);if(!f||!d||une(e,"ignoreUnits",d)||bnt.has(d.toLowerCase())&&d.toLowerCase()!=="x")return;if(d.toLowerCase()==="x"){if(Ent(o)&&o.name==="media"&&o.params.toLowerCase().includes("resolution")){let h=!1;if(vnt(o.params).walk((y,b,g)=>{let v=g[g.length-1];if(y.value.toLowerCase().includes("resolution")&&v&&v.sourceIndex===c.sourceIndex)return h=!0,!1}),h)return}if(o.type==="decl"){if(o.prop.toLowerCase()==="image-resolution")return;if(/^(?:-webkit-)?image-set[\s(]/i.test(a)){let h=l.nodes.find(g=>knt.unprefixed(g.value)==="image-set");YP(h),YP("nodes"in h);let y=h.nodes[h.nodes.length-1];if(YP(y),y.sourceIndex>=c.sourceIndex)return}}}let p=u(o);wnt({index:p+c.sourceIndex+f.length,endIndex:p+c.sourceEndIndex,message:fne.rejected(d),node:o,result:n,ruleName:Nx})})}r.walkAtRules(/^media$/i,o=>{mnt(o)&&s(o,o.params,pnt)}),r.walkDecls(o=>{ynt(o)&&s(o,o.value,hnt)})};jx.ruleName=Nx;jx.messages=fne;jx.meta=Cnt;dne.exports=jx});var gne=m((IFt,hne)=>{"use strict";var{counterIncrementKeywords:Dnt}=gn();hne.exports=function(e){let r=e.toLowerCase();return!(Dnt.has(r)||Number.isFinite(Number.parseInt(r,10)))}});var yne=m((NFt,mne)=>{"use strict";var{counterResetKeywords:Ont}=gn();mne.exports=function(e){let r=e.toLowerCase();return!(Ont.has(r)||Number.isFinite(Number.parseInt(r,10)))}});var Sne=m((jFt,xne)=>{"use strict";var qnt=qe(),Rnt=vt(),Ant=oi(),Pnt=gne(),Tnt=yne(),Mnt=pn(),{animationNameKeywords:bne,animationShorthandKeywords:Fnt,camelCaseKeywords:Lnt,fontFamilyKeywords:vne,fontShorthandKeywords:Int,gridAreaKeywords:Nnt,gridColumnKeywords:jnt,gridRowKeywords:$nt,listStyleShorthandKeywords:Bnt,listStyleTypeKeywords:wne,systemColorsKeywords:Wnt}=gn(),QP=_e(),znt=U(),Unt=j(),Hnt=N(),Vnt=Re(),{isBoolean:Gnt,isRegExp:JP,isString:XP}=te(),$x="value-keyword-case",_ne=Unt($x,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),Knt={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},Ynt=new Set(["+","-","/","*","%"]),Qnt=new Set(["grid-row","grid-row-start","grid-row-end"]),Jnt=new Set(["grid-column","grid-column-start","grid-column-end"]),ZP=new Map;for(let t of Lnt)ZP.set(t.toLowerCase(),t);var Bx=(t,e,r)=>(n,i)=>{Hnt(i,$x,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreProperties:[XP,JP],ignoreKeywords:[XP,JP],ignoreFunctions:[XP,JP],camelCaseSvgKeywords:[Gnt]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.prop.toLowerCase(),l=o.value,c=Vnt(Rnt(o)),f=!1;c.walk(d=>{let p=d.value.toLowerCase();if(Wnt.has(p))return;if(d.type==="function"&&(p==="url"||p==="var"||p==="counter"||p==="counters"||p==="attr")||d.type==="function"&&QP(e,"ignoreFunctions",p))return!1;let h=d.value,{unit:y}=Ant(d);if(d.type!=="word"||!Mnt(d.value)||l.includes("#")||Ynt.has(h)||y||u==="animation"&&!Fnt.has(p)&&!bne.has(p)||u==="animation-name"&&!bne.has(p)||u==="font"&&!Int.has(p)&&!vne.has(p)||u==="font-family"&&!vne.has(p)||u==="counter-increment"&&Pnt(p)||u==="counter-reset"&&Tnt(p)||Qnt.has(u)&&!$nt.has(p)||Jnt.has(u)&&!jnt.has(p)||u==="grid-area"&&!Nnt.has(p)||u==="list-style"&&!Bnt.has(p)&&!wne.has(p)||u==="list-style-type"&&!wne.has(p)||QP(e,"ignoreKeywords",h)||QP(e,"ignoreProperties",a))return;let b=h.toLocaleLowerCase(),g=null,v=e&&e.camelCaseSvgKeywords||!1;if(t==="lower"&&ZP.has(b)&&v?g=ZP.get(b):t==="lower"?g=h.toLowerCase():g=h.toUpperCase(),h!==g){if(r.fix){f=!0,d.value=g;return}znt({message:_ne.expected(h,g),node:o,index:qnt(o)+d.sourceIndex,result:i,ruleName:$x})}}),r.fix&&f&&(o.value=c.toString())})};Bx.ruleName=$x;Bx.messages=_ne;Bx.meta=Knt;xne.exports=Bx});var kd=m(($Ft,kne)=>{"use strict";var Xnt=ii(),Znt=si(),eit=U(),tit=Fr();kne.exports=function(e){e.root.walkDecls(n=>{if(!Xnt(n)||!Znt(n.prop))return;let i=n.toString();tit({source:i,target:",",functionArguments:"skip"},s=>{let o=e.determineIndex?e.determineIndex(i,s):s.startIndex;o!==!1&&r(i,o,n)})});function r(n,i,s){e.locationChecker({source:n,index:i,err:o=>{e.fix&&e.fix(s,i)||eit({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var One=m((BFt,Dne)=>{"use strict";var Ene=qe(),rit=vt(),nit=j(),iit=Bt(),sit=N(),oit=kd(),ait=je(),Wx="value-list-comma-newline-after",Cne=nit(Wx,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),uit={url:"https://stylelint.io/user-guide/rules/value-list-comma-newline-after",fixable:!0},zx=(t,e,r)=>{let n=ait("newline",t,Cne);return(i,s)=>{if(!sit(s,Wx,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;let a;if(oit({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:Wx,fix:r.fix?(u,l)=>{let c=Ene(u);if(l<=c)return!1;a=a||new Map;let f=a.get(u)||[];return f.push(l),a.set(u,f),!0}:null,determineIndex:(u,l)=>{let c=u.substring(l.endIndex,u.length);return/^[ \t]*\/\//.test(c)?!1:/^[ \t]*\/\*/.test(c)?u.indexOf("*/",l.endIndex)+1:l.startIndex}}),a)for(let[u,l]of a.entries())for(let c of l.sort((f,d)=>f-d).reverse()){let f=rit(u),d=c-Ene(u),p=f.slice(0,d+1),h=f.slice(d+1);t.startsWith("always")?h=r.newline+h:t.startsWith("never-multi-line")&&(h=h.replace(/^\s*/,"")),iit(u,p+h)}}};zx.ruleName=Wx;zx.messages=Cne;zx.meta=uit;Dne.exports=zx});var Ane=m((WFt,Rne)=>{"use strict";var lit=j(),cit=N(),fit=kd(),dit=je(),Ux="value-list-comma-newline-before",qne=lit(Ux,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),pit={url:"https://stylelint.io/user-guide/rules/value-list-comma-newline-before"},Hx=t=>{let e=dit("newline",t,qne);return(r,n)=>{cit(n,Ux,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&fit({root:r,result:n,locationChecker:e.beforeAllowingIndentation,checkedRuleName:Ux})}};Hx.ruleName=Ux;Hx.messages=qne;Hx.meta=pit;Rne.exports=Hx});var Fne=m((zFt,Mne)=>{"use strict";var Pne=qe(),hit=vt(),git=j(),mit=Bt(),yit=N(),bit=kd(),vit=je(),Vx="value-list-comma-space-after",Tne=git(Vx,{expectedAfter:()=>'Expected single space after ","',rejectedAfter:()=>'Unexpected whitespace after ","',expectedAfterSingleLine:()=>'Expected single space after "," in a single-line list',rejectedAfterSingleLine:()=>'Unexpected whitespace after "," in a single-line list'}),wit={url:"https://stylelint.io/user-guide/rules/value-list-comma-space-after",fixable:!0},Gx=(t,e,r)=>{let n=vit("space",t,Tne);return(i,s)=>{if(!yit(s,Vx,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(bit({root:i,result:s,locationChecker:n.after,checkedRuleName:Vx,fix:r.fix?(u,l)=>{let c=Pne(u);if(l<=c)return!1;a=a||new Map;let f=a.get(u)||[];return f.push(l),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries())for(let c of l.sort((f,d)=>d-f)){let f=hit(u),d=c-Pne(u),p=f.slice(0,d+1),h=f.slice(d+1);t.startsWith("always")?h=h.replace(/^\s*/," "):t.startsWith("never")&&(h=h.replace(/^\s*/,"")),mit(u,p+h)}}};Gx.ruleName=Vx;Gx.messages=Tne;Gx.meta=wit;Mne.exports=Gx});var jne=m((UFt,Nne)=>{"use strict";var Lne=qe(),_it=vt(),xit=j(),Sit=Bt(),kit=N(),Eit=kd(),Cit=je(),Kx="value-list-comma-space-before",Ine=xit(Kx,{expectedBefore:()=>'Expected single space before ","',rejectedBefore:()=>'Unexpected whitespace before ","',expectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list',rejectedBeforeSingleLine:()=>'Unexpected whitespace before "," in a single-line list'}),Dit={url:"https://stylelint.io/user-guide/rules/value-list-comma-space-before",fixable:!0},Yx=(t,e,r)=>{let n=Cit("space",t,Ine);return(i,s)=>{if(!kit(s,Kx,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(Eit({root:i,result:s,locationChecker:n.before,checkedRuleName:Kx,fix:r.fix?(u,l)=>{let c=Lne(u);if(l<=c)return!1;a=a||new Map;let f=a.get(u)||[];return f.push(l),a.set(u,f),!0}:null}),a)for(let[u,l]of a.entries())for(let c of l.sort((f,d)=>d-f)){let f=_it(u),d=c-Lne(u),p=f.slice(0,d),h=f.slice(d);t.startsWith("always")?p=p.replace(/\s*$/," "):t.startsWith("never")&&(p=p.replace(/\s*$/,"")),Sit(u,p+h)}}};Yx.ruleName=Kx;Yx.messages=Ine;Yx.meta=Dit;Nne.exports=Yx});var Wne=m((HFt,Bne)=>{"use strict";var Oit=vt(),qit=U(),Rit=j(),Ait=Bt(),Pit=N(),{isNumber:Tit}=te(),Qx="value-list-max-empty-lines",$ne=Rit(Qx,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),Mit={url:"https://stylelint.io/user-guide/rules/value-list-max-empty-lines",fixable:!0},Jx=(t,e,r)=>{let n=t+1;return(i,s)=>{if(!Pit(s,Qx,{actual:t,possible:Tit}))return;let a=new RegExp(`(?:\r
|
|
138
|
+
){${n+1},}`),u=new RegExp(`
|
|
139
|
+
{${n+1},}`),l=r.fix?`
|
|
140
|
+
`.repeat(n):"",c=r.fix?`\r
|
|
141
|
+
`.repeat(n):"";i.walkDecls(f=>{let d=Oit(f);if(r.fix){let p=d.replace(new RegExp(u,"gm"),l).replace(new RegExp(a,"gm"),c);Ait(f,p)}else(u.test(d)||a.test(d))&&qit({message:$ne.expected(t),node:f,index:0,result:s,ruleName:Qx})})}};Jx.ruleName=Qx;Jx.messages=$ne;Jx.meta=Mit;Bne.exports=Jx});var Vne=m((VFt,Hne)=>{"use strict";var Fit=Re(),zne=Su(),Lit=ii(),Iit=si(),Nit=_e(),jit=U(),$it=j(),Bit=Bt(),Wit=N(),zit=tt(),{isString:Uit}=te(),Xx="value-no-vendor-prefix",Une=$it(Xx,{rejected:t=>`Unexpected vendor-prefix "${t}"`}),Hit={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},Vit=["-webkit-","-moz-","-ms-","-o-"],Git=t=>{let e=t.toLowerCase();return Vit.some(r=>e.startsWith(r))},Zx=(t,e,r)=>(n,i)=>{Wit(i,Xx,{actual:t},{optional:!0,actual:e,possible:{ignoreValues:[Uit]}})&&n.walkDecls(o=>{let{value:a}=o;if(!Lit(o)||!Iit(o.prop)||!a.startsWith("-")||Nit(e,"ignoreValues",zit.unprefixed(a)))return;let u=Fit(a);u.walk(l=>{if(!Git(l.value)||!zne.propertyValue(l.value))return;if(r.fix){l.value=zne.unprefix(l.value);return}let c=o.prop.length+(o.raws.between||"").length+l.sourceIndex;jit({message:Une.rejected(l.value),node:o,index:c,endIndex:c+l.value.length,result:i,ruleName:Xx})}),Bit(o,u.toString())})};Zx.ruleName=Xx;Zx.messages=Une;Zx.meta=Hit;Hne.exports=Zx});var Zne=m((GFt,Xne)=>{"use strict";var Kit=$s(),Gne=nr(),Yu=_e(),eT=U(),Yit=j(),Qit=Fr(),Jit=N(),{isAtRule:e1,isDeclaration:Kne,isRoot:Yne,isRule:t1}=Ye(),{isBoolean:Xit,isNumber:Ju,isString:r1,assertString:Zit}=te(),Qu="indentation",n1=Yit(Qu,{expected:t=>`Expected indentation of ${t}`}),est={url:"https://stylelint.io/user-guide/rules/indentation",fixable:!0},i1=(t,e={},r)=>(n,i)=>{if(!Jit(i,Qu,{actual:t,possible:[Ju,"tab"]},{actual:e,possible:{baseIndentLevel:[Ju,"auto"],except:["block","value","param"],ignore:["value","param","inside-parens"],indentInsideParens:["twice","once-at-root-twice-in-block"],indentClosingBrace:[Xit]},optional:!0}))return;let o=Ju(t)?t:null,a=o==null?" ":" ".repeat(o),u=t==="tab"?"tab":"space",l=e.baseIndentLevel,c=e.indentClosingBrace,f=g=>{let v=o==null?g:g*o,w=v===1?u:`${u}s`;return`${v} ${w}`};n.walk(g=>{if(Yne(g))return;let v=d(g),w=(g.raws.before||"").replace(/[*_]$/,""),_=typeof g.raws.after=="string"?g.raws.after:"",x=g.parent;if(!x)throw new Error("A parent node must be present");let C=a.repeat(v),M=x.type==="root"&&x.first===g,P=w.lastIndexOf(`
|
|
142
|
+
`);(P!==-1||M&&(!Jne(x)||x.raws.codeBefore&&x.raws.codeBefore.endsWith(`
|
|
143
|
+
`)))&&w.slice(P+1)!==C&&(r.fix?(M&&r1(g.raws.before)&&(g.raws.before=g.raws.before.replace(/^[ \t]*(?=\S|$)/,C)),g.raws.before=Qne(g.raws.before,C)):eT({message:n1.expected(f(v)),node:g,result:i,ruleName:Qu}));let R=c?v+1:v,z=a.repeat(R);(t1(g)||e1(g))&&Gne(g)&&_&&_.includes(`
|
|
144
|
+
`)&&_.slice(_.lastIndexOf(`
|
|
145
|
+
`)+1)!==z&&(r.fix?g.raws.after=Qne(g.raws.after,z):eT({message:n1.expected(f(R)),node:g,index:g.toString().length-1,result:i,ruleName:Qu})),Kne(g)&&p(g,v),t1(g)&&h(g,v),e1(g)&&y(g,v)});function d(g,v=0){if(!g.parent)throw new Error("A parent node must be present");if(Yne(g.parent))return v+tst(g.parent,l,t);let w;return w=d(g.parent,v+1),Yu(e,"except","block")&&(t1(g)||e1(g))&&Gne(g)&&w--,w}function p(g,v){if(!g.value.includes(`
|
|
146
|
+
`)||Yu(e,"ignore","value"))return;let w=g.toString(),_=Yu(e,"except","value")?v:v+1;b(w,_,g)}function h(g,v){let w=g.selector;g.params&&(v+=1),b(w,v,g)}function y(g,v){if(Yu(e,"ignore","param"))return;let w=Yu(e,"except","param")||g.name==="nest"||g.name==="at-root"?v:v+1;b(Kit(g).trim(),w,g)}function b(g,v,w){if(!g.includes(`
|
|
147
|
+
`))return;let _=[],x=0,C=Yu(e,"ignore","inside-parens");if(Qit({source:g,target:`
|
|
148
|
+
`,outsideParens:C},(M,P)=>{let R=/^[ \t]*\)/.test(g.slice(M.startIndex+1));if(C&&(R||M.insideParens))return;let z=v;if(!C&&M.insideParens){P===1&&(x-=1);let ae=M.startIndex;switch(g[M.startIndex-1]==="\r"&&ae--,/\([ \t]*$/.test(g.slice(0,ae))&&(x+=1),/\{[ \t]*$/.test(g.slice(0,ae))&&(x+=1),/^[ \t]*\}/.test(g.slice(M.startIndex+1))&&(x-=1),z+=x,R&&(x-=1),e.indentInsideParens){case"twice":(!R||c)&&(z+=1);break;case"once-at-root-twice-in-block":if(w.parent===w.root()){R&&!c&&(z-=1);break}(!R||c)&&(z+=1);break;default:R&&!c&&(z-=1)}}let $=/^([ \t]*)\S/.exec(g.slice(M.startIndex+1));if(!$)return;let ee=$[1]||"",G=a.repeat(z>0?z:0);ee!==G&&(r.fix?_.unshift({expectedIndentation:G,currentIndentation:ee,startIndex:M.startIndex}):eT({message:n1.expected(f(z)),node:w,index:M.startIndex+ee.length+1,result:i,ruleName:Qu}))}),_.length){if(t1(w))for(let M of _)w.selector=Ed(w.selector,M.currentIndentation,M.expectedIndentation,M.startIndex);if(Kne(w)){let M=w.prop,P=w.raws.between;if(!r1(P))throw new TypeError("The `between` property must be a string");for(let R of _)R.startIndex<M.length+P.length?w.raws.between=Ed(P,R.currentIndentation,R.expectedIndentation,R.startIndex-M.length):w.value=Ed(w.value,R.currentIndentation,R.expectedIndentation,R.startIndex-M.length-P.length)}if(e1(w)){let M=w.name,P=w.raws.afterName,R=w.params;if(!r1(P))throw new TypeError("The `afterName` property must be a string");for(let z of _)z.startIndex<1+M.length+P.length?w.raws.afterName=Ed(P,z.currentIndentation,z.expectedIndentation,z.startIndex-M.length-1):w.params=Ed(R,z.currentIndentation,z.expectedIndentation,z.startIndex-M.length-P.length-1)}}}};function tst(t,e,r){let n=Jne(t);if(!n)return 0;if(!t.source)throw new Error("The root node must have a source");let i=t.source,s=i.baseIndentLevel;if(Ju(s)&&Number.isSafeInteger(s))return s;let o=nst(t,e,()=>rst(n,r));return i.baseIndentLevel=o,o}function Jne(t){let e=t.document;if(e)return e;let r=t.root();return r&&r.document}function rst(t,e){if(!t.source)throw new Error("The document node must have a source");let r=t.source,n=r.indentSize;if(Ju(n)&&Number.isSafeInteger(n))return n;let s=t.source.input.css.match(/^ *(?=\S)/gm);if(s){let o=new Map,a=0,u=0,l=f=>{if(f){if(a=Math.abs(f-u)||a,a>1){let d=o.get(a);d?o.set(a,d+1):o.set(a,1)}}else a=0;u=f};for(let f of s)l(f.length);let c=0;for(let[f,d]of o.entries())d>c&&(c=d,n=f)}return n=Number(n)||s&&s[0]&&s[0].length||Number(e)||2,r.indentSize=n,n}function nst(t,e,r){function n(u){let l=u.match(/\t/g),c=l?l.length:0,f=u.match(/ /g),d=f?Math.round(f.length/r()):0;return c+d}let i=0;if(!Ju(e)||!Number.isSafeInteger(e)){if(!t.source)throw new Error("The root node must have a source");let u=t.source.input.css;u=u.replace(/^[^\r\n]+/,c=>{let f=t.raws.codeBefore&&/(?:^|\n)([ \t]*)$/.exec(t.raws.codeBefore);return f?f[1]+c:""});let l=u.match(/^[ \t]*(?=\S)/gm);if(l)return Math.min(...l.map(c=>n(c)));i=1}else i=e;let s=[],o=t.raws.codeBefore&&/(?:^|\n)([ \t]*)\S/m.exec(t.raws.codeBefore);if(o){let u=Number.MAX_SAFE_INTEGER,l=0;for(;++l<o.length;){let c=o[l];Zit(c);let f=n(c);if(f<u&&(u=f,u===0))break}u!==Number.MAX_SAFE_INTEGER&&s.push(new Array(u).fill(" ").join(""))}let a=t.raws.after;if(a){let u;if(a.endsWith(`
|
|
149
|
+
`)){let l=t.document;if(l){let c=l.nodes[l.nodes.indexOf(t)+1];u=c?c.raws.codeBefore:l.raws.codeAfter}else{let c=t.parent;if(!c)throw new Error("The root node must have a parent");let f=c.nodes[c.nodes.indexOf(t)+1];u=f?f.raws.codeBefore:t.raws.codeAfter}}else u=a;u&&s.push(u.match(/^[ \t]*/)[0])}return s.length?Math.max(...s.map(u=>n(u)))+i:i}function Qne(t,e){return r1(t)?t.replace(/\n[ \t]*(?=\S|$)/g,`
|
|
150
|
+
${e}`):t}function Ed(t,e,r,n){let i=n+1,s=t.slice(0,i),o=t.slice(i+e.length);return s+r+o}i1.ruleName=Qu;i1.messages=n1;i1.meta=est;Xne.exports=i1});var Cd=m((KFt,eie)=>{"use strict";var B=h2(),ist={"alpha-value-notation":B(()=>x8())(),"annotation-no-unknown":B(()=>E8())(),"at-rule-allowed-list":B(()=>R8())(),"at-rule-disallowed-list":B(()=>T8())(),"at-rule-empty-line-before":B(()=>n9())(),"at-rule-name-case":B(()=>o9())(),"at-rule-name-newline-after":B(()=>g9())(),"at-rule-semicolon-space-before":B(()=>v9())(),"at-rule-name-space-after":B(()=>x9())(),"at-rule-no-unknown":B(()=>O9())(),"at-rule-no-vendor-prefix":B(()=>M9())(),"at-rule-property-required-list":B(()=>j9())(),"at-rule-semicolon-newline-after":B(()=>z9())(),"block-closing-brace-empty-line-before":B(()=>X9())(),"block-closing-brace-newline-after":B(()=>t4())(),"block-closing-brace-newline-before":B(()=>n4())(),"block-closing-brace-space-after":B(()=>o4())(),"block-closing-brace-space-before":B(()=>l4())(),"block-no-empty":B(()=>b4())(),"block-opening-brace-newline-after":B(()=>_4())(),"block-opening-brace-newline-before":B(()=>E4())(),"block-opening-brace-space-after":B(()=>O4())(),"block-opening-brace-space-before":B(()=>F4())(),"color-function-notation":B(()=>z4())(),"color-hex-alpha":B(()=>V4())(),"color-hex-case":B(()=>Y4())(),"color-hex-length":B(()=>X4())(),"color-named":B(()=>L7())(),"color-no-hex":B(()=>j7())(),"color-no-invalid-hex":B(()=>V7())(),"comment-empty-line-before":B(()=>Y7())(),"comment-no-empty":B(()=>X7())(),"comment-pattern":B(()=>rW())(),"comment-whitespace-inside":B(()=>sW())(),"comment-word-disallowed-list":B(()=>fW())(),"custom-media-pattern":B(()=>mW())(),"custom-property-empty-line-before":B(()=>EW())(),"custom-property-no-missing-var-function":B(()=>OW())(),"custom-property-pattern":B(()=>TW())(),"declaration-bang-space-after":B(()=>NW())(),"declaration-bang-space-before":B(()=>BW())(),"declaration-block-no-duplicate-custom-properties":B(()=>HW())(),"declaration-block-no-duplicate-properties":B(()=>KW())(),"declaration-block-no-redundant-longhand-properties":B(()=>ZW())(),"declaration-block-no-shorthand-property-overrides":B(()=>nz())(),"declaration-block-semicolon-newline-after":B(()=>oz())(),"declaration-block-semicolon-newline-before":B(()=>lz())(),"declaration-block-semicolon-space-after":B(()=>dz())(),"declaration-block-semicolon-space-before":B(()=>mz())(),"declaration-block-single-line-max-declarations":B(()=>vz())(),"declaration-block-trailing-semicolon":B(()=>_z())(),"declaration-colon-newline-after":B(()=>Ez())(),"declaration-colon-space-after":B(()=>qz())(),"declaration-colon-space-before":B(()=>Pz())(),"declaration-empty-line-before":B(()=>jz())(),"declaration-no-important":B(()=>zz())(),"declaration-property-max-values":B(()=>Kz())(),"declaration-property-unit-allowed-list":B(()=>eU())(),"declaration-property-unit-disallowed-list":B(()=>nU())(),"declaration-property-value-allowed-list":B(()=>oU())(),"declaration-property-value-disallowed-list":B(()=>lU())(),"font-family-no-missing-generic-family-keyword":B(()=>EV())(),"font-family-name-quotes":B(()=>DV())(),"font-family-no-duplicate-names":B(()=>RV())(),"font-weight-notation":B(()=>TV())(),"function-allowed-list":B(()=>LV())(),"function-calc-no-unspaced-operator":B(()=>BV())(),"function-comma-newline-after":B(()=>GV())(),"function-comma-newline-before":B(()=>QV())(),"function-comma-space-after":B(()=>ZV())(),"function-comma-space-before":B(()=>rG())(),"function-disallowed-list":B(()=>sG())(),"function-linear-gradient-no-nonstandard-direction":B(()=>gG())(),"function-max-empty-lines":B(()=>vG())(),"function-name-case":B(()=>SG())(),"function-no-unknown":B(()=>AG())(),"function-parentheses-newline-inside":B(()=>LG())(),"function-parentheses-space-inside":B(()=>jG())(),"function-url-no-scheme-relative":B(()=>zG())(),"function-url-quotes":B(()=>HG())(),"function-url-scheme-allowed-list":B(()=>YG())(),"function-url-scheme-disallowed-list":B(()=>XG())(),"function-whitespace-after":B(()=>rK())(),"hue-degree-notation":B(()=>lK())(),"import-notation":B(()=>hK())(),"keyframe-block-no-duplicate-selectors":B(()=>bK())(),"keyframe-declaration-no-important":B(()=>_K())(),"keyframe-selector-notation":B(()=>PY())(),"keyframes-name-pattern":B(()=>NY())(),"length-zero-no-unit":B(()=>UY())(),linebreaks:B(()=>KY())(),"max-empty-lines":B(()=>JY())(),"max-line-length":B(()=>eQ())(),"max-nesting-depth":B(()=>uQ())(),"media-feature-colon-space-after":B(()=>dQ())(),"media-feature-colon-space-before":B(()=>gQ())(),"media-feature-name-allowed-list":B(()=>DQ())(),"media-feature-name-case":B(()=>RQ())(),"media-feature-name-disallowed-list":B(()=>TQ())(),"media-feature-name-no-unknown":B(()=>NQ())(),"media-feature-name-no-vendor-prefix":B(()=>WQ())(),"media-feature-name-value-allowed-list":B(()=>HQ())(),"media-feature-parentheses-space-inside":B(()=>KQ())(),"media-feature-range-notation":B(()=>JQ())(),"media-feature-range-operator-space-after":B(()=>tJ())(),"media-feature-range-operator-space-before":B(()=>iJ())(),"media-query-list-comma-newline-after":B(()=>lJ())(),"media-query-list-comma-newline-before":B(()=>dJ())(),"media-query-list-comma-space-after":B(()=>gJ())(),"media-query-list-comma-space-before":B(()=>bJ())(),"named-grid-areas-no-invalid":B(()=>xJ())(),"no-descending-specificity":B(()=>zJ())(),"no-duplicate-at-import-rules":B(()=>GJ())(),"no-duplicate-selectors":B(()=>XJ())(),"no-empty-source":B(()=>tX())(),"no-empty-first-line":B(()=>iX())(),"no-eol-whitespace":B(()=>cX())(),"no-extra-semicolons":B(()=>hX())(),"no-invalid-double-slash-comments":B(()=>yX())(),"no-invalid-position-at-import-rule":B(()=>_X())(),"no-irregular-whitespace":B(()=>kX())(),"no-missing-end-of-source-newline":B(()=>DX())(),"no-unknown-animations":B(()=>PX())(),"number-leading-zero":B(()=>NX())(),"number-max-precision":B(()=>UX())(),"number-no-trailing-zeros":B(()=>YX())(),"property-allowed-list":B(()=>XX())(),"property-case":B(()=>tZ())(),"property-disallowed-list":B(()=>iZ())(),"property-no-unknown":B(()=>cZ())(),"property-no-vendor-prefix":B(()=>hZ())(),"rule-empty-line-before":B(()=>wZ())(),"rule-selector-property-disallowed-list":B(()=>kZ())(),"selector-attribute-brackets-space-inside":B(()=>DZ())(),"selector-attribute-name-disallowed-list":B(()=>RZ())(),"selector-attribute-operator-allowed-list":B(()=>TZ())(),"selector-attribute-operator-disallowed-list":B(()=>LZ())(),"selector-attribute-operator-space-after":B(()=>$Z())(),"selector-attribute-operator-space-before":B(()=>zZ())(),"selector-attribute-quotes":B(()=>GZ())(),"selector-class-pattern":B(()=>eee())(),"selector-combinator-allowed-list":B(()=>iee())(),"selector-combinator-disallowed-list":B(()=>aee())(),"selector-combinator-space-after":B(()=>fee())(),"selector-combinator-space-before":B(()=>hee())(),"selector-descendant-combinator-no-non-space":B(()=>yee())(),"selector-disallowed-list":B(()=>_ee())(),"selector-id-pattern":B(()=>Eee())(),"selector-list-comma-newline-after":B(()=>Oee())(),"selector-list-comma-newline-before":B(()=>Pee())(),"selector-list-comma-space-after":B(()=>Fee())(),"selector-list-comma-space-before":B(()=>Nee())(),"selector-max-attribute":B(()=>zee())(),"selector-max-class":B(()=>Vee())(),"selector-max-combinators":B(()=>Yee())(),"selector-max-compound-selectors":B(()=>Xee())(),"selector-max-empty-lines":B(()=>tte())(),"selector-max-id":B(()=>ite())(),"selector-max-pseudo-class":B(()=>ate())(),"selector-max-specificity":B(()=>hte())(),"selector-max-type":B(()=>vte())(),"selector-max-universal":B(()=>xte())(),"selector-nested-pattern":B(()=>Cte())(),"selector-no-qualifying-type":B(()=>qte())(),"selector-no-vendor-prefix":B(()=>Tte())(),"selector-not-notation":B(()=>Nte())(),"selector-pseudo-class-allowed-list":B(()=>Bte())(),"selector-pseudo-class-case":B(()=>Ute())(),"selector-pseudo-class-disallowed-list":B(()=>Gte())(),"selector-pseudo-class-no-unknown":B(()=>Zte())(),"selector-pseudo-class-parentheses-space-inside":B(()=>tre())(),"selector-pseudo-element-allowed-list":B(()=>ire())(),"selector-pseudo-element-case":B(()=>are())(),"selector-pseudo-element-colon-notation":B(()=>cre())(),"selector-pseudo-element-disallowed-list":B(()=>pre())(),"selector-pseudo-element-no-unknown":B(()=>mre())(),"selector-type-case":B(()=>vre())(),"selector-type-no-unknown":B(()=>Ore())(),"shorthand-property-no-redundant-values":B(()=>Pre())(),"string-no-newline":B(()=>Fre())(),"string-quotes":B(()=>Bre())(),"time-min-milliseconds":B(()=>Ure())(),"unicode-bom":B(()=>Gre())(),"unit-allowed-list":B(()=>Xre())(),"unit-case":B(()=>tne())(),"unit-disallowed-list":B(()=>ane())(),"unit-no-unknown":B(()=>pne())(),"value-keyword-case":B(()=>Sne())(),"value-list-comma-newline-after":B(()=>One())(),"value-list-comma-newline-before":B(()=>Ane())(),"value-list-comma-space-after":B(()=>Fne())(),"value-list-comma-space-before":B(()=>jne())(),"value-list-max-empty-lines":B(()=>Wne())(),"value-no-vendor-prefix":B(()=>Vne())(),indentation:B(()=>Zne())()};eie.exports=ist});var s1=m((YFt,tie)=>{var sst=Cd();tie.exports=function(e,r){return sst[e]||r&&r.pluginFunctions&&r.pluginFunctions[e]}});var nie=m((QFt,rie)=>{"use strict";var ost=f2(),ast=Oc(),{isPlainObject:ust}=te(),lst=s1();function cst(t,e){if(!ust(t))throw new Error("Expected an options object");if(!e)throw new Error("Expected a callback function");let{ruleName:r,ruleSettings:n,root:i,result:s,context:o={}}=t;if(!r)throw new Error('Expected a "ruleName" option');let a=lst(r,s&&s.stylelint.config);if(!a)throw new Error(`Rule "${r}" does not exist`);if(!n)throw new Error('Expected a "ruleSettings" option');if(!i)throw new Error('Expected a "root" option');let u=ost(n,a);if(!u)return;let l=new ast;a(u[0],u[1],o)(i,l);for(let c of l.warnings())e(c)}rie.exports=cst});var sie=m((JFt,iie)=>{"use strict";iie.exports=function(e,r){return{ruleName:e,rule:r}}});var lie=m((XFt,tT)=>{"use strict";var oie=require("path"),aie=require("module"),fst=require("fs"),uie=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof e!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof e}\``);try{t=fst.realpathSync(t)}catch(s){if(s.code==="ENOENT")t=oie.resolve(t);else{if(r)return null;throw s}}let n=oie.join(t,"noop.js"),i=()=>aie._resolveFilename(e,{id:n,filename:n,paths:aie._nodeModulePaths(t)});if(r)try{return i()}catch{return null}return i()};tT.exports=(t,e)=>uie(t,e);tT.exports.silent=(t,e)=>uie(t,e,!0)});var fie=m((ZFt,rT)=>{"use strict";var cie=()=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=(r,n)=>n;let e=new Error().stack.slice(1);return Error.prepareStackTrace=t,e};rT.exports=cie;rT.exports.default=cie});var pie=m((eLt,die)=>{"use strict";var dst=fie();die.exports=t=>{let e=dst();if(!t)return e[2].getFileName();let r=!1;e.shift();for(let n of e){let i=n.getFileName();if(typeof i=="string"){if(i===t){r=!0;continue}if(i!=="module.js"&&r&&i!==t)return i}}}});var gie=m((tLt,hie)=>{"use strict";var pst=require("path"),hst=lie(),gst=pie();hie.exports=t=>{if(typeof t!="string")throw new TypeError("Expected a string");let e=gst(__filename),r=e?pst.dirname(e):__dirname,n=hst(r,t),i=require.cache[n];if(i&&i.parent){let o=i.parent.children.length;for(;o--;)i.parent.children[o].id===n&&i.parent.children.splice(o,1)}delete require.cache[n];let s=require.cache[e];return s===void 0?require(n):s.require(n)}});var yie=m((rLt,mie)=>{"use strict";mie.exports=function(e){return e?e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function:!1}});var vie=m((nLt,bie)=>{"use strict";var mst=require("util"),yst=yie(),nT=function(e,r){(!e||e.constructor!==String)&&(r=e||{},e=Error.name);var n=function i(s){if(!this)return new i(s);s=s instanceof Error?s.message:s||this.message,Error.call(this,s),Error.captureStackTrace(this,n),this.name=e,Object.defineProperty(this,"message",{configurable:!0,enumerable:!1,get:function(){var c=s.split(/\r?\n/g);for(var f in r)if(r.hasOwnProperty(f)){var d=r[f];"message"in d&&(c=d.message(this[f],c)||c,yst(c)||(c=[c]))}return c.join(`
|
|
151
|
+
`)},set:function(c){s=c}});var o=null,a=Object.getOwnPropertyDescriptor(this,"stack"),u=a.get,l=a.value;delete a.value,delete a.writable,a.set=function(c){o=c},a.get=function(){var c=(o||(u?u.call(this):l)).split(/\r?\n+/g);o||(c[0]=this.name+": "+this.message);var f=1;for(var d in r)if(r.hasOwnProperty(d)){var p=r[d];if("line"in p){var h=p.line(this[d]);h&&c.splice(f++,0," "+h)}"stack"in p&&p.stack(this[d],c)}return c.join(`
|
|
152
|
+
`)},Object.defineProperty(this,"stack",a)};return Object.setPrototypeOf?(Object.setPrototypeOf(n.prototype,Error.prototype),Object.setPrototypeOf(n,Error)):mst.inherits(n,Error),n};nT.append=function(t,e){return{message:function(r,n){return r=r||e,r&&(n[0]+=" "+t.replace("%s",r.toString())),n}}};nT.line=function(t,e){return{line:function(r){return r=r||e,r?t.replace("%s",r.toString()):null}}};bie.exports=nT});var xie=m((iLt,_ie)=>{"use strict";var bst=t=>{let e=t.charCodeAt(0).toString(16).toUpperCase();return"0x"+(e.length%2?"0":"")+e},vst=(t,e,r)=>{if(!e)return{message:t.message+" while parsing empty string",position:0};let n=t.message.match(/^Unexpected token (.) .*position\s+(\d+)/i),i=n?+n[2]:t.message.match(/^Unexpected end of JSON.*/i)?e.length-1:null,s=n?t.message.replace(/^Unexpected token ./,`Unexpected token ${JSON.stringify(n[1])} (${bst(n[1])})`):t.message;if(i!=null){let o=i<=r?0:i-r,a=i+r>=e.length?e.length:i+r,u=(o===0?"":"...")+e.slice(o,a)+(a===e.length?"":"...");return{message:s+` while parsing ${e===u?"":"near "}${JSON.stringify(u)}`,position:i}}else return{message:s+` while parsing '${e.slice(0,r*2)}'`,position:0}},o1=class extends SyntaxError{constructor(e,r,n,i){n=n||20;let s=vst(e,r,n);super(s.message),Object.assign(this,s),this.code="EJSONPARSE",this.systemError=e,Error.captureStackTrace(this,i||this.constructor)}get name(){return this.constructor.name}set name(e){}get[Symbol.toStringTag](){return this.constructor.name}},wst=Symbol.for("indent"),_st=Symbol.for("newline"),xst=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,Sst=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,a1=(t,e,r)=>{let n=wie(t);r=r||20;try{let[,i=`
|
|
153
|
+
`,s=" "]=n.match(Sst)||n.match(xst)||[,"",""],o=JSON.parse(n,e);return o&&typeof o=="object"&&(o[_st]=i,o[wst]=s),o}catch(i){if(typeof t!="string"&&!Buffer.isBuffer(t)){let s=Array.isArray(t)&&t.length===0;throw Object.assign(new TypeError(`Cannot parse ${s?"an empty array":String(t)}`),{code:"EJSONPARSE",systemError:i})}throw new o1(i,n,r,a1)}},wie=t=>String(t).replace(/^\uFEFF/,"");_ie.exports=a1;a1.JSONParseError=o1;a1.noExceptions=(t,e)=>{try{return JSON.parse(wie(t),e)}catch{}}});var Eie=m(Dd=>{"use strict";Dd.__esModule=!0;Dd.LinesAndColumns=void 0;var u1=`
|
|
154
|
+
`,Sie="\r",kie=function(){function t(e){this.string=e;for(var r=[0],n=0;n<e.length;)switch(e[n]){case u1:n+=u1.length,r.push(n);break;case Sie:n+=Sie.length,e[n]===u1&&(n+=u1.length),r.push(n);break;default:n++;break}this.offsets=r}return t.prototype.locationForIndex=function(e){if(e<0||e>this.string.length)return null;for(var r=0,n=this.offsets;n[r+1]<=e;)r++;var i=e-n[r];return{line:r,column:i}},t.prototype.indexForLocation=function(e){var r=e.line,n=e.column;return r<0||r>=this.offsets.length||n<0||n>this.lengthOfLine(r)?null:this.offsets[r]+n},t.prototype.lengthOfLine=function(e){var r=this.offsets[e],n=e===this.offsets.length-1?this.string.length:this.offsets[e+1];return n-r},t}();Dd.LinesAndColumns=kie;Dd.default=kie});var Cie=m(l1=>{Object.defineProperty(l1,"__esModule",{value:!0});l1.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g;l1.matchToToken=function(t){var e={type:"invalid",value:t[0],closed:void 0};return t[1]?(e.type="string",e.closed=!!(t[3]||t[4])):t[5]?e.type="comment":t[6]?(e.type="comment",e.closed=!!t[7]):t[8]?e.type="regex":t[9]?e.type="number":t[10]?e.type="name":t[11]?e.type="punctuator":t[12]&&(e.type="whitespace"),e}});var Aie=m(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.isIdentifierChar=Rie;Od.isIdentifierName=Dst;Od.isIdentifierStart=qie;var sT="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",Die="\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F",kst=new RegExp("["+sT+"]"),Est=new RegExp("["+sT+Die+"]");sT=Die=null;var Oie=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,757,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,3104,541,1507,4938,6,4191],Cst=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239];function iT(t,e){let r=65536;for(let n=0,i=e.length;n<i;n+=2){if(r+=e[n],r>t)return!1;if(r+=e[n+1],r>=t)return!0}return!1}function qie(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&kst.test(String.fromCharCode(t)):iT(t,Oie)}function Rie(t){return t<48?t===36:t<58?!0:t<65?!1:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&Est.test(String.fromCharCode(t)):iT(t,Oie)||iT(t,Cst)}function Dst(t){let e=!0;for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);if((n&64512)===55296&&r+1<t.length){let i=t.charCodeAt(++r);(i&64512)===56320&&(n=65536+((n&1023)<<10)+(i&1023))}if(e){if(e=!1,!qie(n))return!1}else if(!Rie(n))return!1}return!e}});var Fie=m(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.isKeyword=Pst;na.isReservedWord=Pie;na.isStrictBindOnlyReservedWord=Mie;na.isStrictBindReservedWord=Ast;na.isStrictReservedWord=Tie;var oT={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},Ost=new Set(oT.keyword),qst=new Set(oT.strict),Rst=new Set(oT.strictBind);function Pie(t,e){return e&&t==="await"||t==="enum"}function Tie(t,e){return Pie(t,e)||qst.has(t)}function Mie(t){return Rst.has(t)}function Ast(t,e){return Tie(t,e)||Mie(t)}function Pst(t){return Ost.has(t)}});var Lie=m(Fi=>{"use strict";Object.defineProperty(Fi,"__esModule",{value:!0});Object.defineProperty(Fi,"isIdentifierChar",{enumerable:!0,get:function(){return aT.isIdentifierChar}});Object.defineProperty(Fi,"isIdentifierName",{enumerable:!0,get:function(){return aT.isIdentifierName}});Object.defineProperty(Fi,"isIdentifierStart",{enumerable:!0,get:function(){return aT.isIdentifierStart}});Object.defineProperty(Fi,"isKeyword",{enumerable:!0,get:function(){return qd.isKeyword}});Object.defineProperty(Fi,"isReservedWord",{enumerable:!0,get:function(){return qd.isReservedWord}});Object.defineProperty(Fi,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return qd.isStrictBindOnlyReservedWord}});Object.defineProperty(Fi,"isStrictBindReservedWord",{enumerable:!0,get:function(){return qd.isStrictBindReservedWord}});Object.defineProperty(Fi,"isStrictReservedWord",{enumerable:!0,get:function(){return qd.isStrictReservedWord}});var aT=Aie(),qd=Fie()});var Nie=m((cLt,Iie)=>{"use strict";var Tst=/[|\\{}()[\]^$+*?.]/g;Iie.exports=function(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(Tst,"\\$&")}});var $ie=m((fLt,jie)=>{"use strict";jie.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var uT=m((dLt,Uie)=>{var ia=$ie(),zie={};for(c1 in ia)ia.hasOwnProperty(c1)&&(zie[ia[c1]]=c1);var c1,Se=Uie.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(Hr in Se)if(Se.hasOwnProperty(Hr)){if(!("channels"in Se[Hr]))throw new Error("missing channels property: "+Hr);if(!("labels"in Se[Hr]))throw new Error("missing channel labels property: "+Hr);if(Se[Hr].labels.length!==Se[Hr].channels)throw new Error("channel and label counts mismatch: "+Hr);Bie=Se[Hr].channels,Wie=Se[Hr].labels,delete Se[Hr].channels,delete Se[Hr].labels,Object.defineProperty(Se[Hr],"channels",{value:Bie}),Object.defineProperty(Se[Hr],"labels",{value:Wie})}var Bie,Wie,Hr;Se.rgb.hsl=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),s=Math.max(e,r,n),o=s-i,a,u,l;return s===i?a=0:e===s?a=(r-n)/o:r===s?a=2+(n-e)/o:n===s&&(a=4+(e-r)/o),a=Math.min(a*60,360),a<0&&(a+=360),l=(i+s)/2,s===i?u=0:l<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,l*100]};Se.rgb.hsv=function(t){var e,r,n,i,s,o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),f=function(d){return(l-d)/6/c+1/2};return c===0?i=s=0:(s=c/l,e=f(o),r=f(a),n=f(u),o===l?i=n-r:a===l?i=1/3+e-n:u===l&&(i=2/3+r-e),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,l*100]};Se.rgb.hwb=function(t){var e=t[0],r=t[1],n=t[2],i=Se.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,s*100,n*100]};Se.rgb.cmyk=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i,s,o,a;return a=Math.min(1-e,1-r,1-n),i=(1-e-a)/(1-a)||0,s=(1-r-a)/(1-a)||0,o=(1-n-a)/(1-a)||0,[i*100,s*100,o*100,a*100]};function Mst(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}Se.rgb.keyword=function(t){var e=zie[t];if(e)return e;var r=1/0,n;for(var i in ia)if(ia.hasOwnProperty(i)){var s=ia[i],o=Mst(t,s);o<r&&(r=o,n=i)}return n};Se.keyword.rgb=function(t){return ia[t]};Se.rgb.xyz=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255;e=e>.04045?Math.pow((e+.055)/1.055,2.4):e/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=e*.4124+r*.3576+n*.1805,s=e*.2126+r*.7152+n*.0722,o=e*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};Se.rgb.lab=function(t){var e=Se.rgb.xyz(t),r=e[0],n=e[1],i=e[2],s,o,a;return r/=95.047,n/=100,i/=108.883,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=116*n-16,o=500*(r-n),a=200*(n-i),[s,o,a]};Se.hsl.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100,i,s,o,a,u;if(r===0)return u=n*255,[u,u,u];n<.5?s=n*(1+r):s=n+r-n*r,i=2*n-s,a=[0,0,0];for(var l=0;l<3;l++)o=e+1/3*-(l-1),o<0&&o++,o>1&&o--,6*o<1?u=i+(s-i)*6*o:2*o<1?u=s:3*o<2?u=i+(s-i)*(2/3-o)*6:u=i,a[l]=u*255;return a};Se.hsl.hsv=function(t){var e=t[0],r=t[1]/100,n=t[2]/100,i=r,s=Math.max(n,.01),o,a;return n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s,a=(n+r)/2,o=n===0?2*i/(s+i):2*r/(n+r),[e,o*100,a*100]};Se.hsv.rgb=function(t){var e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};Se.hsv.hsl=function(t){var e=t[0],r=t[1]/100,n=t[2]/100,i=Math.max(n,.01),s,o,a;return a=(2-r)*n,s=(2-r)*i,o=r*i,o/=s<=1?s:2-s,o=o||0,a/=2,[e,o*100,a*100]};Se.hwb.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100,i=r+n,s,o,a,u;i>1&&(r/=i,n/=i),s=Math.floor(6*e),o=1-n,a=6*e-s,s&1&&(a=1-a),u=r+a*(o-r);var l,c,f;switch(s){default:case 6:case 0:l=o,c=u,f=r;break;case 1:l=u,c=o,f=r;break;case 2:l=r,c=o,f=u;break;case 3:l=r,c=u,f=o;break;case 4:l=u,c=r,f=o;break;case 5:l=o,c=r,f=u;break}return[l*255,c*255,f*255]};Se.cmyk.rgb=function(t){var e=t[0]/100,r=t[1]/100,n=t[2]/100,i=t[3]/100,s,o,a;return s=1-Math.min(1,e*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i),[s*255,o*255,a*255]};Se.xyz.rgb=function(t){var e=t[0]/100,r=t[1]/100,n=t[2]/100,i,s,o;return i=e*3.2406+r*-1.5372+n*-.4986,s=e*-.9689+r*1.8758+n*.0415,o=e*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*Math.pow(i,1/2.4)-.055:i*12.92,s=s>.0031308?1.055*Math.pow(s,1/2.4)-.055:s*12.92,o=o>.0031308?1.055*Math.pow(o,1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};Se.xyz.lab=function(t){var e=t[0],r=t[1],n=t[2],i,s,o;return e/=95.047,r/=100,n/=108.883,e=e>.008856?Math.pow(e,1/3):7.787*e+16/116,r=r>.008856?Math.pow(r,1/3):7.787*r+16/116,n=n>.008856?Math.pow(n,1/3):7.787*n+16/116,i=116*r-16,s=500*(e-r),o=200*(r-n),[i,s,o]};Se.lab.xyz=function(t){var e=t[0],r=t[1],n=t[2],i,s,o;s=(e+16)/116,i=r/500+s,o=s-n/200;var a=Math.pow(s,3),u=Math.pow(i,3),l=Math.pow(o,3);return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};Se.lab.lch=function(t){var e=t[0],r=t[1],n=t[2],i,s,o;return i=Math.atan2(n,r),s=i*360/2/Math.PI,s<0&&(s+=360),o=Math.sqrt(r*r+n*n),[e,o,s]};Se.lch.lab=function(t){var e=t[0],r=t[1],n=t[2],i,s,o;return o=n/360*2*Math.PI,i=r*Math.cos(o),s=r*Math.sin(o),[e,i,s]};Se.rgb.ansi16=function(t){var e=t[0],r=t[1],n=t[2],i=1 in arguments?arguments[1]:Se.rgb.hsv(t)[2];if(i=Math.round(i/50),i===0)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(e/255));return i===2&&(s+=60),s};Se.hsv.ansi16=function(t){return Se.rgb.ansi16(Se.hsv.rgb(t),t[2])};Se.rgb.ansi256=function(t){var e=t[0],r=t[1],n=t[2];if(e===r&&r===n)return e<8?16:e>248?231:Math.round((e-8)/247*24)+232;var i=16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i};Se.ansi16.rgb=function(t){var e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];var r=(~~(t>50)+1)*.5,n=(e&1)*r*255,i=(e>>1&1)*r*255,s=(e>>2&1)*r*255;return[n,i,s]};Se.ansi256.rgb=function(t){if(t>=232){var e=(t-232)*10+8;return[e,e,e]}t-=16;var r,n=Math.floor(t/36)/5*255,i=Math.floor((r=t%36)/6)/5*255,s=r%6/5*255;return[n,i,s]};Se.rgb.hex=function(t){var e=((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255),r=e.toString(16).toUpperCase();return"000000".substring(r.length)+r};Se.hex.rgb=function(t){var e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];var r=e[0];e[0].length===3&&(r=r.split("").map(function(a){return a+a}).join(""));var n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};Se.rgb.hcg=function(t){var e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(Math.max(e,r),n),s=Math.min(Math.min(e,r),n),o=i-s,a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===e?u=(r-n)/o%6:i===r?u=2+(n-e)/o:u=4+(e-r)/o+4,u/=6,u%=1,[u*360,o*100,a*100]};Se.hsl.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=1,i=0;return r<.5?n=2*e*r:n=2*e*(1-r),n<1&&(i=(r-.5*n)/(1-n)),[t[0],n*100,i*100]};Se.hsv.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],n*100,i*100]};Se.hcg.rgb=function(t){var e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return[n*255,n*255,n*255];var i=[0,0,0],s=e%1*6,o=s%1,a=1-o,u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};Se.hcg.hsv=function(t){var e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],i*100,n*100]};Se.hcg.hsl=function(t){var e=t[1]/100,r=t[2]/100,n=r*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],i*100,n*100]};Se.hcg.hwb=function(t){var e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return[t[0],(n-e)*100,(1-n)*100]};Se.hwb.hcg=function(t){var e=t[1]/100,r=t[2]/100,n=1-r,i=n-e,s=0;return i<1&&(s=(n-i)/(1-i)),[t[0],i*100,s*100]};Se.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Se.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Se.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Se.gray.hsl=Se.gray.hsv=function(t){return[0,0,t[0]]};Se.gray.hwb=function(t){return[0,100,t[0]]};Se.gray.cmyk=function(t){return[0,0,0,t[0]]};Se.gray.lab=function(t){return[t[0],0,0]};Se.gray.hex=function(t){var e=Math.round(t[0]/100*255)&255,r=(e<<16)+(e<<8)+e,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n};Se.rgb.gray=function(t){var e=(t[0]+t[1]+t[2])/3;return[e/255*100]}});var Vie=m((pLt,Hie)=>{var f1=uT();function Fst(){for(var t={},e=Object.keys(f1),r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}function Lst(t){var e=Fst(),r=[t];for(e[t].distance=0;r.length;)for(var n=r.pop(),i=Object.keys(f1[n]),s=i.length,o=0;o<s;o++){var a=i[o],u=e[a];u.distance===-1&&(u.distance=e[n].distance+1,u.parent=n,r.unshift(a))}return e}function Ist(t,e){return function(r){return e(t(r))}}function Nst(t,e){for(var r=[e[t].parent,t],n=f1[e[t].parent][t],i=e[t].parent;e[i].parent;)r.unshift(e[i].parent),n=Ist(f1[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}Hie.exports=function(t){for(var e=Lst(t),r={},n=Object.keys(e),i=n.length,s=0;s<i;s++){var o=n[s],a=e[o];a.parent!==null&&(r[o]=Nst(o,e))}return r}});var Kie=m((hLt,Gie)=>{var lT=uT(),jst=Vie(),Xu={},$st=Object.keys(lT);function Bst(t){var e=function(r){return r==null?r:(arguments.length>1&&(r=Array.prototype.slice.call(arguments)),t(r))};return"conversion"in t&&(e.conversion=t.conversion),e}function Wst(t){var e=function(r){if(r==null)return r;arguments.length>1&&(r=Array.prototype.slice.call(arguments));var n=t(r);if(typeof n=="object")for(var i=n.length,s=0;s<i;s++)n[s]=Math.round(n[s]);return n};return"conversion"in t&&(e.conversion=t.conversion),e}$st.forEach(function(t){Xu[t]={},Object.defineProperty(Xu[t],"channels",{value:lT[t].channels}),Object.defineProperty(Xu[t],"labels",{value:lT[t].labels});var e=jst(t),r=Object.keys(e);r.forEach(function(n){var i=e[n];Xu[t][n]=Wst(i),Xu[t][n].raw=Bst(i)})});Gie.exports=Xu});var Qie=m((gLt,Yie)=>{"use strict";var Zu=Kie(),d1=(t,e)=>function(){return`\x1B[${t.apply(Zu,arguments)+e}m`},p1=(t,e)=>function(){let r=t.apply(Zu,arguments);return`\x1B[${38+e};5;${r}m`},h1=(t,e)=>function(){let r=t.apply(Zu,arguments);return`\x1B[${38+e};2;${r[0]};${r[1]};${r[2]}m`};function zst(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.grey=e.color.gray;for(let i of Object.keys(e)){let s=e[i];for(let o of Object.keys(s)){let a=s[o];e[o]={open:`\x1B[${a[0]}m`,close:`\x1B[${a[1]}m`},s[o]=e[o],t.set(a[0],a[1])}Object.defineProperty(e,i,{value:s,enumerable:!1}),Object.defineProperty(e,"codes",{value:t,enumerable:!1})}let r=i=>i,n=(i,s,o)=>[i,s,o];e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",e.color.ansi={ansi:d1(r,0)},e.color.ansi256={ansi256:p1(r,0)},e.color.ansi16m={rgb:h1(n,0)},e.bgColor.ansi={ansi:d1(r,10)},e.bgColor.ansi256={ansi256:p1(r,10)},e.bgColor.ansi16m={rgb:h1(n,10)};for(let i of Object.keys(Zu)){if(typeof Zu[i]!="object")continue;let s=Zu[i];i==="ansi16"&&(i="ansi"),"ansi16"in s&&(e.color.ansi[i]=d1(s.ansi16,0),e.bgColor.ansi[i]=d1(s.ansi16,10)),"ansi256"in s&&(e.color.ansi256[i]=p1(s.ansi256,0),e.bgColor.ansi256[i]=p1(s.ansi256,10)),"rgb"in s&&(e.color.ansi16m[i]=h1(s.rgb,0),e.bgColor.ansi16m[i]=h1(s.rgb,10))}return e}Object.defineProperty(Yie,"exports",{enumerable:!0,get:zst})});var Xie=m((mLt,Jie)=>{"use strict";Jie.exports=(t,e)=>{e=e||process.argv;let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1?!0:n<i)}});var ese=m((yLt,Zie)=>{"use strict";var Ust=require("os"),li=Xie(),Ir=process.env,el;li("no-color")||li("no-colors")||li("color=false")?el=!1:(li("color")||li("colors")||li("color=true")||li("color=always"))&&(el=!0);"FORCE_COLOR"in Ir&&(el=Ir.FORCE_COLOR.length===0||parseInt(Ir.FORCE_COLOR,10)!==0);function Hst(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function Vst(t){if(el===!1)return 0;if(li("color=16m")||li("color=full")||li("color=truecolor"))return 3;if(li("color=256"))return 2;if(t&&!t.isTTY&&el!==!0)return 0;let e=el?1:0;if(process.platform==="win32"){let r=Ust.release().split(".");return Number(process.versions.node.split(".")[0])>=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in Ir)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in Ir)||Ir.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in Ir)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ir.TEAMCITY_VERSION)?1:0;if(Ir.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Ir){let r=parseInt((Ir.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ir.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ir.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ir.TERM)||"COLORTERM"in Ir?1:(Ir.TERM==="dumb",e)}function cT(t){let e=Vst(t);return Hst(e)}Zie.exports={supportsColor:cT,stdout:cT(process.stdout),stderr:cT(process.stderr)}});var sse=m((bLt,ise)=>{"use strict";var Gst=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,tse=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Kst=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Yst=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Qst=new Map([["n",`
|
|
155
|
+
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function nse(t){return t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3?String.fromCharCode(parseInt(t.slice(1),16)):Qst.get(t)||t}function Jst(t,e){let r=[],n=e.trim().split(/\s*,\s*/g),i;for(let s of n)if(!isNaN(s))r.push(Number(s));else if(i=s.match(Kst))r.push(i[2].replace(Yst,(o,a,u)=>a?nse(a):u));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${t}')`);return r}function Xst(t){tse.lastIndex=0;let e=[],r;for(;(r=tse.exec(t))!==null;){let n=r[1];if(r[2]){let i=Jst(n,r[2]);e.push([n].concat(i))}else e.push([n])}return e}function rse(t,e){let r={};for(let i of e)for(let s of i.styles)r[s[0]]=i.inverse?null:s.slice(1);let n=t;for(let i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error(`Unknown Chalk style: ${i}`);r[i].length>0?n=n[i].apply(n,r[i]):n=n[i]}return n}ise.exports=(t,e)=>{let r=[],n=[],i=[];if(e.replace(Gst,(s,o,a,u,l,c)=>{if(o)i.push(nse(o));else if(u){let f=i.join("");i=[],n.push(r.length===0?f:rse(t,r)(f)),r.push({inverse:a,styles:Xst(u)})}else if(l){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(rse(t,r)(i.join(""))),i=[],r.pop()}else i.push(c)}),n.push(i.join("")),r.length>0){let s=`Chalk template literal is missing ${r.length} closing bracket${r.length===1?"":"s"} (\`}\`)`;throw new Error(s)}return n.join("")}});var cse=m((vLt,Ad)=>{"use strict";var dT=Nie(),Qt=Qie(),fT=ese().stdout,Zst=sse(),ase=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),use=["ansi","ansi","ansi256","ansi16m"],lse=new Set(["gray"]),tl=Object.create(null);function ose(t,e){e=e||{};let r=fT?fT.level:0;t.level=e.level===void 0?r:e.level,t.enabled="enabled"in e?e.enabled:t.level>0}function Rd(t){if(!this||!(this instanceof Rd)||this.template){let e={};return ose(e,t),e.template=function(){let r=[].slice.call(arguments);return rot.apply(null,[e.template].concat(r))},Object.setPrototypeOf(e,Rd.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=Rd,e.template}ose(this,t)}ase&&(Qt.blue.open="\x1B[94m");for(let t of Object.keys(Qt))Qt[t].closeRe=new RegExp(dT(Qt[t].close),"g"),tl[t]={get(){let e=Qt[t];return g1.call(this,this._styles?this._styles.concat(e):[e],this._empty,t)}};tl.visible={get(){return g1.call(this,this._styles||[],!0,"visible")}};Qt.color.closeRe=new RegExp(dT(Qt.color.close),"g");for(let t of Object.keys(Qt.color.ansi))lse.has(t)||(tl[t]={get(){let e=this.level;return function(){let n={open:Qt.color[use[e]][t].apply(null,arguments),close:Qt.color.close,closeRe:Qt.color.closeRe};return g1.call(this,this._styles?this._styles.concat(n):[n],this._empty,t)}}});Qt.bgColor.closeRe=new RegExp(dT(Qt.bgColor.close),"g");for(let t of Object.keys(Qt.bgColor.ansi)){if(lse.has(t))continue;let e="bg"+t[0].toUpperCase()+t.slice(1);tl[e]={get(){let r=this.level;return function(){let i={open:Qt.bgColor[use[r]][t].apply(null,arguments),close:Qt.bgColor.close,closeRe:Qt.bgColor.closeRe};return g1.call(this,this._styles?this._styles.concat(i):[i],this._empty,t)}}}}var eot=Object.defineProperties(()=>{},tl);function g1(t,e,r){let n=function(){return tot.apply(n,arguments)};n._styles=t,n._empty=e;let i=this;return Object.defineProperty(n,"level",{enumerable:!0,get(){return i.level},set(s){i.level=s}}),Object.defineProperty(n,"enabled",{enumerable:!0,get(){return i.enabled},set(s){i.enabled=s}}),n.hasGrey=this.hasGrey||r==="gray"||r==="grey",n.__proto__=eot,n}function tot(){let t=arguments,e=t.length,r=String(arguments[0]);if(e===0)return"";if(e>1)for(let i=1;i<e;i++)r+=" "+t[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;let n=Qt.dim.open;ase&&this.hasGrey&&(Qt.dim.open="");for(let i of this._styles.slice().reverse())r=i.open+r.replace(i.closeRe,i.open)+i.close,r=r.replace(/\r?\n/g,`${i.close}$&${i.open}`);return Qt.dim.open=n,r}function rot(t,e){if(!Array.isArray(e))return[].slice.call(arguments,1).join(" ");let r=[].slice.call(arguments,2),n=[e.raw[0]];for(let i=1;i<e.length;i++)n.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(e.raw[i]));return Zst(t,n.join(""))}Object.defineProperties(Rd.prototype,tl);Ad.exports=Rd();Ad.exports.supportsColor=fT;Ad.exports.default=Ad.exports});var mse=m(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=uot;Pd.getChalk=gse;Pd.shouldHighlight=hse;var fse=Cie(),dse=Lie(),pT=cse(),not=new Set(["as","async","from","get","of","set"]);function iot(t){return{keyword:t.cyan,capitalized:t.yellow,jsxIdentifier:t.yellow,punctuator:t.yellow,number:t.magenta,string:t.green,regex:t.magenta,comment:t.grey,invalid:t.white.bgRed.bold}}var sot=/\r\n|[\n\r\u2028\u2029]/,oot=/^[()[\]{}]$/,pse;{let t=/^[a-z][\w-]*$/i,e=function(r,n,i){if(r.type==="name"){if((0,dse.isKeyword)(r.value)||(0,dse.isStrictReservedWord)(r.value,!0)||not.has(r.value))return"keyword";if(t.test(r.value)&&(i[n-1]==="<"||i.slice(n-2,n)=="</"))return"jsxIdentifier";if(r.value[0]!==r.value[0].toLowerCase())return"capitalized"}return r.type==="punctuator"&&oot.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};pse=function*(r){let n;for(;n=fse.default.exec(r);){let i=fse.matchToToken(n);yield{type:e(i,n.index,r),value:i.value}}}}function aot(t,e){let r="";for(let{type:n,value:i}of pse(e)){let s=t[n];s?r+=i.split(sot).map(o=>s(o)).join(`
|
|
156
|
+
`):r+=i}return r}function hse(t){return!!pT.supportsColor||t.forceColor}function gse(t){return t.forceColor?new pT.constructor({enabled:!0,level:1}):pT}function uot(t,e={}){if(t!==""&&hse(e)){let r=gse(e),n=iot(r);return aot(n,t)}else return t}});var wse=m(m1=>{"use strict";Object.defineProperty(m1,"__esModule",{value:!0});m1.codeFrameColumns=vse;m1.default=fot;var hT=mse(),yse=!1;function lot(t){return{gutter:t.grey,marker:t.red.bold,message:t.red.bold}}var bse=/\r\n|[\n\r\u2028\u2029]/;function cot(t,e,r){let n=Object.assign({column:0,line:-1},t.start),i=Object.assign({},n,t.end),{linesAbove:s=2,linesBelow:o=3}=r||{},a=n.line,u=n.column,l=i.line,c=i.column,f=Math.max(a-(s+1),0),d=Math.min(e.length,l+o);a===-1&&(f=0),l===-1&&(d=e.length);let p=l-a,h={};if(p)for(let y=0;y<=p;y++){let b=y+a;if(!u)h[b]=!0;else if(y===0){let g=e[b-1].length;h[b]=[u,g-u+1]}else if(y===p)h[b]=[0,c];else{let g=e[b-y].length;h[b]=[0,g]}}else u===c?u?h[a]=[u,0]:h[a]=!0:h[a]=[u,c-u];return{start:f,end:d,markerLines:h}}function vse(t,e,r={}){let n=(r.highlightCode||r.forceColor)&&(0,hT.shouldHighlight)(r),i=(0,hT.getChalk)(r),s=lot(i),o=(y,b)=>n?y(b):b,a=t.split(bse),{start:u,end:l,markerLines:c}=cot(e,a,r),f=e.start&&typeof e.start.column=="number",d=String(l).length,h=(n?(0,hT.default)(t,r):t).split(bse,l).slice(u,l).map((y,b)=>{let g=u+1+b,w=` ${` ${g}`.slice(-d)} |`,_=c[g],x=!c[g+1];if(_){let C="";if(Array.isArray(_)){let M=y.slice(0,Math.max(_[0]-1,0)).replace(/[^\t]/g," "),P=_[1]||1;C=[`
|
|
157
|
+
`,o(s.gutter,w.replace(/\d/g," "))," ",M,o(s.marker,"^").repeat(P)].join(""),x&&r.message&&(C+=" "+o(s.message,r.message))}return[o(s.marker,">"),o(s.gutter,w),y.length>0?` ${y}`:"",C].join("")}else return` ${o(s.gutter,w)}${y.length>0?` ${y}`:""}`}).join(`
|
|
158
|
+
`);return r.message&&!f&&(h=`${" ".repeat(d+1)}${r.message}
|
|
159
|
+
${h}`),n?i.reset(h):h}function fot(t,e,r,n={}){if(!yse){yse=!0;let s="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";if(process.emitWarning)process.emitWarning(s,"DeprecationWarning");else{let o=new Error(s);o.name="DeprecationWarning",console.warn(new Error(s))}}return r=Math.max(r,0),vse(t,{start:{column:r,line:e}},n)}});var kse=m((xLt,Sse)=>{"use strict";var gT=vie(),dot=xie(),{default:pot}=Eie(),{codeFrameColumns:hot}=wse(),_se=gT("JSONError",{fileName:gT.append("in %s"),codeFrame:gT.append(`
|
|
160
|
+
|
|
161
|
+
%s
|
|
162
|
+
`)}),xse=(t,e,r)=>{typeof e=="string"&&(r=e,e=null);try{try{return JSON.parse(t,e)}catch(n){throw dot(t,e),n}}catch(n){n.message=n.message.replace(/\n/g,"");let i=n.message.match(/in JSON at position (\d+) while parsing/),s=new _se(n);if(r&&(s.fileName=r),i&&i.length>0){let o=new pot(t),a=Number(i[1]),u=o.locationForIndex(a),l=hot(t,{start:{line:u.line+1,column:u.column+1}},{highlightCode:!0});s.codeFrame=l}throw s}};xse.JSONError=_se;Sse.exports=xse});var oa=m(nn=>{"use strict";var cs={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Td={ALIAS:"ALIAS",BLANK_LINE:"BLANK_LINE",BLOCK_FOLDED:"BLOCK_FOLDED",BLOCK_LITERAL:"BLOCK_LITERAL",COMMENT:"COMMENT",DIRECTIVE:"DIRECTIVE",DOCUMENT:"DOCUMENT",FLOW_MAP:"FLOW_MAP",FLOW_SEQ:"FLOW_SEQ",MAP:"MAP",MAP_KEY:"MAP_KEY",MAP_VALUE:"MAP_VALUE",PLAIN:"PLAIN",QUOTE_DOUBLE:"QUOTE_DOUBLE",QUOTE_SINGLE:"QUOTE_SINGLE",SEQ:"SEQ",SEQ_ITEM:"SEQ_ITEM"},got="tag:yaml.org,2002:",mot={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Ese(t){let e=[0],r=t.indexOf(`
|
|
163
|
+
`);for(;r!==-1;)r+=1,e.push(r),r=t.indexOf(`
|
|
164
|
+
`,r);return e}function Cse(t){let e,r;return typeof t=="string"?(e=Ese(t),r=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Ese(t.context.src)),e=t.lineStarts,r=t.context.src)),{lineStarts:e,src:r}}function mT(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:r,src:n}=Cse(e);if(!r||!n||t>n.length)return null;for(let s=0;s<r.length;++s){let o=r[s];if(t<o)return{line:s,col:t-r[s-1]+1};if(t===o)return{line:s+1,col:1}}let i=r.length;return{line:i,col:t-r[i-1]+1}}function yot(t,e){let{lineStarts:r,src:n}=Cse(e);if(!r||!(t>=1)||t>r.length)return null;let i=r[t-1],s=r[t];for(;s&&s>i&&n[s-1]===`
|
|
165
|
+
`;)--s;return n.slice(i,s)}function bot({start:t,end:e},r,n=80){let i=yot(t.line,r);if(!i)return null;let{col:s}=t;if(i.length>n)if(s<=n-10)i=i.substr(0,n-1)+"\u2026";else{let c=Math.round(n/2);i.length>s+c&&(i=i.substr(0,s+c-1)+"\u2026"),s-=i.length-n,i="\u2026"+i.substr(1-n)}let o=1,a="";e&&(e.line===t.line&&s+(e.col-t.col)<=n+1?o=e.col-t.col:(o=Math.min(i.length+1,n)-s,a="\u2026"));let u=s>1?" ".repeat(s-1):"",l="^".repeat(o);return`${i}
|
|
166
|
+
${u}${l}${a}`}var Vs=class{static copy(e){return new Vs(e.start,e.end)}constructor(e,r){this.start=e,this.end=r||e}isEmpty(){return typeof this.start!="number"||!this.end||this.end<=this.start}setOrigRange(e,r){let{start:n,end:i}=this;if(e.length===0||i<=e[0])return this.origStart=n,this.origEnd=i,r;let s=r;for(;s<e.length&&!(e[s]>n);)++s;this.origStart=n+s;let o=s;for(;s<e.length&&!(e[s]>=i);)++s;return this.origEnd=i+s,o}},lr=class{static addStringTerminator(e,r,n){if(n[n.length-1]===`
|
|
167
|
+
`)return n;let i=lr.endOfWhiteSpace(e,r);return i>=e.length||e[i]===`
|
|
168
|
+
`?n+`
|
|
169
|
+
`:n}static atDocumentBoundary(e,r,n){let i=e[r];if(!i)return!0;let s=e[r-1];if(s&&s!==`
|
|
170
|
+
`)return!1;if(n){if(i!==n)return!1}else if(i!==cs.DIRECTIVES_END&&i!==cs.DOCUMENT_END)return!1;let o=e[r+1],a=e[r+2];if(o!==i||a!==i)return!1;let u=e[r+3];return!u||u===`
|
|
171
|
+
`||u===" "||u===" "}static endOfIdentifier(e,r){let n=e[r],i=n==="<",s=i?[`
|
|
172
|
+
`," "," ",">"]:[`
|
|
173
|
+
`," "," ","[","]","{","}",","];for(;n&&s.indexOf(n)===-1;)n=e[r+=1];return i&&n===">"&&(r+=1),r}static endOfIndent(e,r){let n=e[r];for(;n===" ";)n=e[r+=1];return r}static endOfLine(e,r){let n=e[r];for(;n&&n!==`
|
|
174
|
+
`;)n=e[r+=1];return r}static endOfWhiteSpace(e,r){let n=e[r];for(;n===" "||n===" ";)n=e[r+=1];return r}static startOfLine(e,r){let n=e[r-1];if(n===`
|
|
175
|
+
`)return r;for(;n&&n!==`
|
|
176
|
+
`;)n=e[r-=1];return r+1}static endOfBlockIndent(e,r,n){let i=lr.endOfIndent(e,n);if(i>n+r)return i;{let s=lr.endOfWhiteSpace(e,i),o=e[s];if(!o||o===`
|
|
177
|
+
`)return s}return null}static atBlank(e,r,n){let i=e[r];return i===`
|
|
178
|
+
`||i===" "||i===" "||n&&!i}static nextNodeIsIndented(e,r,n){return!e||r<0?!1:r>0?!0:n&&e==="-"}static normalizeOffset(e,r){let n=e[r];return n?n!==`
|
|
179
|
+
`&&e[r-1]===`
|
|
180
|
+
`?r-1:lr.endOfWhiteSpace(e,r):r}static foldNewline(e,r,n){let i=0,s=!1,o="",a=e[r+1];for(;a===" "||a===" "||a===`
|
|
181
|
+
`;){switch(a){case`
|
|
182
|
+
`:i=0,r+=1,o+=`
|
|
183
|
+
`;break;case" ":i<=n&&(s=!0),r=lr.endOfWhiteSpace(e,r+2)-1;break;case" ":i+=1,r+=1;break}a=e[r+1]}return o||(o=" "),a&&i<=n&&(s=!0),{fold:o,offset:r,error:s}}constructor(e,r,n){Object.defineProperty(this,"context",{value:n||null,writable:!0}),this.error=null,this.range=null,this.valueRange=null,this.props=r||[],this.type=e,this.value=null}getPropValue(e,r,n){if(!this.context)return null;let{src:i}=this.context,s=this.props[e];return s&&i[s.start]===r?i.slice(s.start+(n?1:0),s.end):null}get anchor(){for(let e=0;e<this.props.length;++e){let r=this.getPropValue(e,cs.ANCHOR,!0);if(r!=null)return r}return null}get comment(){let e=[];for(let r=0;r<this.props.length;++r){let n=this.getPropValue(r,cs.COMMENT,!0);n!=null&&e.push(n)}return e.length>0?e.join(`
|
|
184
|
+
`):null}commentHasRequiredWhitespace(e){let{src:r}=this.context;if(this.header&&e===this.header.end||!this.valueRange)return!1;let{end:n}=this.valueRange;return e!==n||lr.atBlank(r,n-1)}get hasComment(){if(this.context){let{src:e}=this.context;for(let r=0;r<this.props.length;++r)if(e[this.props[r].start]===cs.COMMENT)return!0}return!1}get hasProps(){if(this.context){let{src:e}=this.context;for(let r=0;r<this.props.length;++r)if(e[this.props[r].start]!==cs.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Td.FLOW_MAP,Td.FLOW_SEQ,Td.QUOTE_DOUBLE,Td.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let e=mT(this.range.start,this.context.root);if(!e)return;let r=mT(this.range.end,this.context.root);return{start:e,end:r}}get rawValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:r}=this.valueRange;return this.context.src.slice(e,r)}get tag(){for(let e=0;e<this.props.length;++e){let r=this.getPropValue(e,cs.TAG,!1);if(r!=null){if(r[1]==="<")return{verbatim:r.slice(2,-1)};{let[n,i,s]=r.match(/^(.*!)([^!]*)$/);return{handle:i,suffix:s}}}}return null}get valueRangeContainsNewline(){if(!this.valueRange||!this.context)return!1;let{start:e,end:r}=this.valueRange,{src:n}=this.context;for(let i=e;i<r;++i)if(n[i]===`
|
|
185
|
+
`)return!0;return!1}parseComment(e){let{src:r}=this.context;if(r[e]===cs.COMMENT){let n=lr.endOfLine(r,e+1),i=new Vs(e,n);return this.props.push(i),n}return e}setOrigRanges(e,r){return this.range&&(r=this.range.setOrigRange(e,r)),this.valueRange&&this.valueRange.setOrigRange(e,r),this.props.forEach(n=>n.setOrigRange(e,r)),r}toString(){let{context:{src:e},range:r,value:n}=this;if(n!=null)return n;let i=e.slice(r.start,r.end);return lr.addStringTerminator(e,r.end,i)}},sa=class extends Error{constructor(e,r,n){if(!n||!(r instanceof lr))throw new Error(`Invalid arguments for new ${e}`);super(),this.name=e,this.message=n,this.source=r}makePretty(){if(!this.source)return;this.nodeType=this.source.type;let e=this.source.context&&this.source.context.root;if(typeof this.offset=="number"){this.range=new Vs(this.offset,this.offset+1);let r=e&&mT(this.offset,e);if(r){let n={line:r.line,col:r.col+1};this.linePos={start:r,end:n}}delete this.offset}else this.range=this.source.range,this.linePos=this.source.rangeAsLinePos;if(this.linePos){let{line:r,col:n}=this.linePos.start;this.message+=` at line ${r}, column ${n}`;let i=e&&bot(this.linePos,e);i&&(this.message+=`:
|
|
186
|
+
|
|
187
|
+
${i}
|
|
188
|
+
`)}delete this.source}},yT=class extends sa{constructor(e,r){super("YAMLReferenceError",e,r)}},Md=class extends sa{constructor(e,r){super("YAMLSemanticError",e,r)}},bT=class extends sa{constructor(e,r){super("YAMLSyntaxError",e,r)}},vT=class extends sa{constructor(e,r){super("YAMLWarning",e,r)}};function vot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var rl=class extends lr{static endOfLine(e,r,n){let i=e[r],s=r;for(;i&&i!==`
|
|
189
|
+
`&&!(n&&(i==="["||i==="]"||i==="{"||i==="}"||i===","));){let o=e[s+1];if(i===":"&&(!o||o===`
|
|
190
|
+
`||o===" "||o===" "||n&&o===",")||(i===" "||i===" ")&&o==="#")break;s+=1,i=o}return s}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:r}=this.valueRange,{src:n}=this.context,i=n[r-1];for(;e<r&&(i===`
|
|
191
|
+
`||i===" "||i===" ");)i=n[--r-1];let s="";for(let a=e;a<r;++a){let u=n[a];if(u===`
|
|
192
|
+
`){let{fold:l,offset:c}=lr.foldNewline(n,a,-1);s+=l,a=c}else if(u===" "||u===" "){let l=a,c=n[a+1];for(;a<r&&(c===" "||c===" ");)a+=1,c=n[a+1];c!==`
|
|
193
|
+
`&&(s+=a>l?n.slice(l,a+1):u)}else s+=u}let o=n[e];switch(o){case" ":{let a="Plain value cannot start with a tab character";return{errors:[new Md(this,a)],str:s}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new Md(this,a)],str:s}}default:return s}}parseBlockValue(e){let{indent:r,inFlow:n,src:i}=this.context,s=e,o=e;for(let a=i[s];a===`
|
|
194
|
+
`&&!lr.atDocumentBoundary(i,s+1);a=i[s]){let u=lr.endOfBlockIndent(i,r,s+1);if(u===null||i[u]==="#")break;i[u]===`
|
|
195
|
+
`?s=u:(o=rl.endOfLine(i,u,n),s=o)}return this.valueRange.isEmpty()&&(this.valueRange.start=e),this.valueRange.end=o,o}parse(e,r){this.context=e;let{inFlow:n,src:i}=e,s=r,o=i[s];return o&&o!=="#"&&o!==`
|
|
196
|
+
`&&(s=rl.endOfLine(i,r,n)),this.valueRange=new Vs(r,s),s=lr.endOfWhiteSpace(i,s),s=this.parseComment(s),(!this.hasComment||this.valueRange.isEmpty())&&(s=this.parseBlockValue(s)),s}};nn.Char=cs;nn.Node=lr;nn.PlainValue=rl;nn.Range=Vs;nn.Type=Td;nn.YAMLError=sa;nn.YAMLReferenceError=yT;nn.YAMLSemanticError=Md;nn.YAMLSyntaxError=bT;nn.YAMLWarning=vT;nn._defineProperty=vot;nn.defaultTagPrefix=got;nn.defaultTags=mot});var Ose=m(Dse=>{"use strict";var V=oa(),la=class extends V.Node{constructor(){super(V.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,r){return this.context=e,this.range=new V.Range(r,r+1),r+1}},Fd=class extends V.Node{constructor(e,r){super(e,r),this.node=null}get includesTrailingLines(){return!!this.node&&this.node.includesTrailingLines}parse(e,r){this.context=e;let{parseNode:n,src:i}=e,{atLineStart:s,lineStart:o}=e;!s&&this.type===V.Type.SEQ_ITEM&&(this.error=new V.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=s?r-o:e.indent,u=V.Node.endOfWhiteSpace(i,r+1),l=i[u],c=l==="#",f=[],d=null;for(;l===`
|
|
197
|
+
`||l==="#";){if(l==="#"){let h=V.Node.endOfLine(i,u+1);f.push(new V.Range(u,h)),u=h}else{s=!0,o=u+1;let h=V.Node.endOfWhiteSpace(i,o);i[h]===`
|
|
198
|
+
`&&f.length===0&&(d=new la,o=d.parse({src:i},o)),u=V.Node.endOfIndent(i,o)}l=i[u]}if(V.Node.nextNodeIsIndented(l,u-(o+a),this.type!==V.Type.SEQ_ITEM)?this.node=n({atLineStart:s,inCollection:!1,indent:a,lineStart:o,parent:this},u):l&&o>r+1&&(u=o-1),this.node){if(d){let h=e.parent.items||e.parent.contents;h&&h.push(d)}f.length&&Array.prototype.push.apply(this.props,f),u=this.node.range.end}else if(c){let h=f[0];this.props.push(h),u=h.end}else u=V.Node.endOfLine(i,r+1);let p=this.node?this.node.valueRange.end:u;return this.valueRange=new V.Range(r,p),u}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.node?this.node.setOrigRanges(e,r):r}toString(){let{context:{src:e},node:r,range:n,value:i}=this;if(i!=null)return i;let s=r?e.slice(n.start,r.range.start)+String(r):e.slice(n.start,n.end);return V.Node.addStringTerminator(e,n.end,s)}},aa=class extends V.Node{constructor(){super(V.Type.COMMENT)}parse(e,r){this.context=e;let n=this.parseComment(r);return this.range=new V.Range(r,n),n}};function wT(t){let e=t;for(;e instanceof Fd;)e=e.node;if(!(e instanceof ca))return null;let r=e.items.length,n=-1;for(let o=r-1;o>=0;--o){let a=e.items[o];if(a.type===V.Type.COMMENT){let{indent:u,lineStart:l}=a.context;if(u>0&&a.range.start>=l+u)break;n=o}else if(a.type===V.Type.BLANK_LINE)n=o;else break}if(n===-1)return null;let i=e.items.splice(n,r-n),s=i[0].range.start;for(;e.range.end=s,e.valueRange&&e.valueRange.end>s&&(e.valueRange.end=s),e!==t;)e=e.context.parent;return i}var ca=class extends V.Node{static nextContentHasIndent(e,r,n){let i=V.Node.endOfLine(e,r)+1;r=V.Node.endOfWhiteSpace(e,i);let s=e[r];return s?r>=i+n?!0:s!=="#"&&s!==`
|
|
199
|
+
`?!1:ca.nextContentHasIndent(e,r,n):!1}constructor(e){super(e.type===V.Type.SEQ_ITEM?V.Type.SEQ:V.Type.MAP);for(let n=e.props.length-1;n>=0;--n)if(e.props[n].start<e.context.lineStart){this.props=e.props.slice(0,n+1),e.props=e.props.slice(n+1);let i=e.props[0]||e.valueRange;e.range.start=i.start;break}this.items=[e];let r=wT(e);r&&Array.prototype.push.apply(this.items,r)}get includesTrailingLines(){return this.items.length>0}parse(e,r){this.context=e;let{parseNode:n,src:i}=e,s=V.Node.startOfLine(i,r),o=this.items[0];o.context.parent=this,this.valueRange=V.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,u=r;u=V.Node.normalizeOffset(i,u);let l=i[u],c=V.Node.endOfWhiteSpace(i,s)===u,f=!1;for(;l;){for(;l===`
|
|
200
|
+
`||l==="#";){if(c&&l===`
|
|
201
|
+
`&&!f){let h=new la;if(u=h.parse({src:i},u),this.valueRange.end=u,u>=i.length){l=null;break}this.items.push(h),u-=1}else if(l==="#"){if(u<s+a&&!ca.nextContentHasIndent(i,u,a))return u;let h=new aa;if(u=h.parse({indent:a,lineStart:s,src:i},u),this.items.push(h),this.valueRange.end=u,u>=i.length){l=null;break}}if(s=u+1,u=V.Node.endOfIndent(i,s),V.Node.atBlank(i,u)){let h=V.Node.endOfWhiteSpace(i,u),y=i[h];(!y||y===`
|
|
202
|
+
`||y==="#")&&(u=h)}l=i[u],c=!0}if(!l)break;if(u!==s+a&&(c||l!==":")){if(u<s+a){s>r&&(u=s);break}else if(!this.error){let h="All collection items must start at the same column";this.error=new V.YAMLSyntaxError(this,h)}}if(o.type===V.Type.SEQ_ITEM){if(l!=="-"){s>r&&(u=s);break}}else if(l==="-"&&!this.error){let h=i[u+1];if(!h||h===`
|
|
203
|
+
`||h===" "||h===" "){let y="A collection cannot be both a mapping and a sequence";this.error=new V.YAMLSyntaxError(this,y)}}let d=n({atLineStart:c,inCollection:!0,indent:a,lineStart:s,parent:this},u);if(!d)return u;if(this.items.push(d),this.valueRange.end=d.valueRange.end,u=V.Node.normalizeOffset(i,d.range.end),l=i[u],c=!1,f=d.includesTrailingLines,l){let h=u-1,y=i[h];for(;y===" "||y===" ";)y=i[--h];y===`
|
|
204
|
+
`&&(s=h+1,c=!0)}let p=wT(d);p&&Array.prototype.push.apply(this.items,p)}return u}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.items.forEach(n=>{r=n.setOrigRanges(e,r)}),r}toString(){let{context:{src:e},items:r,range:n,value:i}=this;if(i!=null)return i;let s=e.slice(n.start,r[0].range.start)+String(r[0]);for(let o=1;o<r.length;++o){let a=r[o],{atLineStart:u,indent:l}=a.context;if(u)for(let c=0;c<l;++c)s+=" ";s+=String(a)}return V.Node.addStringTerminator(e,n.end,s)}},_T=class extends V.Node{constructor(){super(V.Type.DIRECTIVE),this.name=null}get parameters(){let e=this.rawValue;return e?e.trim().split(/[ \t]+/):[]}parseName(e){let{src:r}=this.context,n=e,i=r[n];for(;i&&i!==`
|
|
205
|
+
`&&i!==" "&&i!==" ";)i=r[n+=1];return this.name=r.slice(e,n),n}parseParameters(e){let{src:r}=this.context,n=e,i=r[n];for(;i&&i!==`
|
|
206
|
+
`&&i!=="#";)i=r[n+=1];return this.valueRange=new V.Range(e,n),n}parse(e,r){this.context=e;let n=this.parseName(r+1);return n=this.parseParameters(n),n=this.parseComment(n),this.range=new V.Range(r,n),n}},nl=class extends V.Node{static startCommentOrEndBlankLine(e,r){let n=V.Node.endOfWhiteSpace(e,r),i=e[n];return i==="#"||i===`
|
|
207
|
+
`?n:r}constructor(){super(V.Type.DOCUMENT),this.directives=null,this.contents=null,this.directivesEndMarker=null,this.documentEndMarker=null}parseDirectives(e){let{src:r}=this.context;this.directives=[];let n=!0,i=!1,s=e;for(;!V.Node.atDocumentBoundary(r,s,V.Char.DIRECTIVES_END);)switch(s=nl.startCommentOrEndBlankLine(r,s),r[s]){case`
|
|
208
|
+
`:if(n){let o=new la;s=o.parse({src:r},s),s<r.length&&this.directives.push(o)}else s+=1,n=!0;break;case"#":{let o=new aa;s=o.parse({src:r},s),this.directives.push(o),n=!1}break;case"%":{let o=new _T;s=o.parse({parent:this,src:r},s),this.directives.push(o),i=!0,n=!1}break;default:return i?this.error=new V.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),s}return r[s]?(this.directivesEndMarker=new V.Range(s,s+3),s+3):(i?this.error=new V.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),s)}parseContents(e){let{parseNode:r,src:n}=this.context;this.contents||(this.contents=[]);let i=e;for(;n[i-1]==="-";)i-=1;let s=V.Node.endOfWhiteSpace(n,e),o=i===e;for(this.valueRange=new V.Range(s);!V.Node.atDocumentBoundary(n,s,V.Char.DOCUMENT_END);){switch(n[s]){case`
|
|
209
|
+
`:if(o){let a=new la;s=a.parse({src:n},s),s<n.length&&this.contents.push(a)}else s+=1,o=!0;i=s;break;case"#":{let a=new aa;s=a.parse({src:n},s),this.contents.push(a),o=!1}break;default:{let a=V.Node.endOfIndent(n,s),l=r({atLineStart:o,indent:-1,inFlow:!1,inCollection:!1,lineStart:i,parent:this},a);if(!l)return this.valueRange.end=a;this.contents.push(l),s=l.range.end,o=!1;let c=wT(l);c&&Array.prototype.push.apply(this.contents,c)}}s=nl.startCommentOrEndBlankLine(n,s)}if(this.valueRange.end=s,n[s]&&(this.documentEndMarker=new V.Range(s,s+3),s+=3,n[s])){if(s=V.Node.endOfWhiteSpace(n,s),n[s]==="#"){let a=new aa;s=a.parse({src:n},s),this.contents.push(a)}switch(n[s]){case`
|
|
210
|
+
`:s+=1;break;case void 0:break;default:this.error=new V.YAMLSyntaxError(this,"Document end marker line cannot have a non-comment suffix")}}return s}parse(e,r){e.root=this,this.context=e;let{src:n}=e,i=n.charCodeAt(r)===65279?r+1:r;return i=this.parseDirectives(i),i=this.parseContents(i),i}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.directives.forEach(n=>{r=n.setOrigRanges(e,r)}),this.directivesEndMarker&&(r=this.directivesEndMarker.setOrigRange(e,r)),this.contents.forEach(n=>{r=n.setOrigRanges(e,r)}),this.documentEndMarker&&(r=this.documentEndMarker.setOrigRange(e,r)),r}toString(){let{contents:e,directives:r,value:n}=this;if(n!=null)return n;let i=r.join("");return e.length>0&&((r.length>0||e[0].type===V.Type.COMMENT)&&(i+=`---
|
|
211
|
+
`),i+=e.join("")),i[i.length-1]!==`
|
|
212
|
+
`&&(i+=`
|
|
213
|
+
`),i}},xT=class extends V.Node{parse(e,r){this.context=e;let{src:n}=e,i=V.Node.endOfIdentifier(n,r+1);return this.valueRange=new V.Range(r+1,i),i=V.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},Gs={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},ST=class extends V.Node{constructor(e,r){super(e,r),this.blockIndent=null,this.chomping=Gs.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===Gs.KEEP}get strValue(){if(!this.valueRange||!this.context)return null;let{start:e,end:r}=this.valueRange,{indent:n,src:i}=this.context;if(this.valueRange.isEmpty())return"";let s=null,o=i[r-1];for(;o===`
|
|
214
|
+
`||o===" "||o===" ";){if(r-=1,r<=e){if(this.chomping===Gs.KEEP)break;return""}o===`
|
|
215
|
+
`&&(s=r),o=i[r-1]}let a=r+1;s&&(this.chomping===Gs.KEEP?(a=s,r=this.valueRange.end):r=s);let u=n+this.blockIndent,l=this.type===V.Type.BLOCK_FOLDED,c=!0,f="",d="",p=!1;for(let h=e;h<r;++h){for(let b=0;b<u&&i[h]===" ";++b)h+=1;let y=i[h];if(y===`
|
|
216
|
+
`)d===`
|
|
217
|
+
`?f+=`
|
|
218
|
+
`:d=`
|
|
219
|
+
`;else{let b=V.Node.endOfLine(i,h),g=i.slice(h,b);h=b,l&&(y===" "||y===" ")&&h<a?(d===" "?d=`
|
|
220
|
+
`:!p&&!c&&d===`
|
|
221
|
+
`&&(d=`
|
|
222
|
+
|
|
223
|
+
`),f+=d+g,d=b<r&&i[b]||"",p=!0):(f+=d+g,d=l&&h<a?" ":`
|
|
224
|
+
`,p=!1),c&&g!==""&&(c=!1)}}return this.chomping===Gs.STRIP?f:f+`
|
|
225
|
+
`}parseBlockHeader(e){let{src:r}=this.context,n=e+1,i="";for(;;){let s=r[n];switch(s){case"-":this.chomping=Gs.STRIP;break;case"+":this.chomping=Gs.KEEP;break;case"0":case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":i+=s;break;default:return this.blockIndent=Number(i)||null,this.header=new V.Range(e,n),n}n+=1}}parseBlockValue(e){let{indent:r,src:n}=this.context,i=!!this.blockIndent,s=e,o=e,a=1;for(let u=n[s];u===`
|
|
226
|
+
`&&(s+=1,!V.Node.atDocumentBoundary(n,s));u=n[s]){let l=V.Node.endOfBlockIndent(n,r,s);if(l===null)break;let c=n[l],f=l-(s+r);if(this.blockIndent){if(c&&c!==`
|
|
227
|
+
`&&f<this.blockIndent){if(n[l]==="#")break;if(!this.error){let p=`Block scalars must not be less indented than their ${i?"explicit indentation indicator":"first line"}`;this.error=new V.YAMLSemanticError(this,p)}}}else if(n[l]!==`
|
|
228
|
+
`){if(f<a){let d="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";this.error=new V.YAMLSemanticError(this,d)}this.blockIndent=f}else f>a&&(a=f);n[l]===`
|
|
229
|
+
`?s=l:s=o=V.Node.endOfLine(n,l)}return this.chomping!==Gs.KEEP&&(s=n[o]?o+1:o),this.valueRange=new V.Range(e+1,s),s}parse(e,r){this.context=e;let{src:n}=e,i=this.parseBlockHeader(r);return i=V.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i=this.parseBlockValue(i),i}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.header?this.header.setOrigRange(e,r):r}},kT=class extends V.Node{constructor(e,r){super(e,r),this.items=null}prevNodeIsJsonLike(e=this.items.length){let r=this.items[e-1];return!!r&&(r.jsonLike||r.type===V.Type.COMMENT&&this.prevNodeIsJsonLike(e-1))}parse(e,r){this.context=e;let{parseNode:n,src:i}=e,{indent:s,lineStart:o}=e,a=i[r];this.items=[{char:a,offset:r}];let u=V.Node.endOfWhiteSpace(i,r+1);for(a=i[u];a&&a!=="]"&&a!=="}";){switch(a){case`
|
|
230
|
+
`:{o=u+1;let l=V.Node.endOfWhiteSpace(i,o);if(i[l]===`
|
|
231
|
+
`){let c=new la;o=c.parse({src:i},o),this.items.push(c)}if(u=V.Node.endOfIndent(i,o),u<=o+s&&(a=i[u],u<o+s||a!=="]"&&a!=="}")){let c="Insufficient indentation in flow collection";this.error=new V.YAMLSemanticError(this,c)}}break;case",":this.items.push({char:a,offset:u}),u+=1;break;case"#":{let l=new aa;u=l.parse({src:i},u),this.items.push(l)}break;case"?":case":":{let l=i[u+1];if(l===`
|
|
232
|
+
`||l===" "||l===" "||l===","||a===":"&&this.prevNodeIsJsonLike()){this.items.push({char:a,offset:u}),u+=1;break}}default:{let l=n({atLineStart:!1,inCollection:!1,inFlow:!0,indent:-1,lineStart:o,parent:this},u);if(!l)return this.valueRange=new V.Range(r,u),u;this.items.push(l),u=V.Node.normalizeOffset(i,l.range.end)}}u=V.Node.endOfWhiteSpace(i,u),a=i[u]}return this.valueRange=new V.Range(r,u+1),a&&(this.items.push({char:a,offset:u}),u=V.Node.endOfWhiteSpace(i,u+1),u=this.parseComment(u)),u}setOrigRanges(e,r){return r=super.setOrigRanges(e,r),this.items.forEach(n=>{if(n instanceof V.Node)r=n.setOrigRanges(e,r);else if(e.length===0)n.origOffset=n.offset;else{let i=r;for(;i<e.length&&!(e[i]>n.offset);)++i;n.origOffset=n.offset+i,r=i}}),r}toString(){let{context:{src:e},items:r,range:n,value:i}=this;if(i!=null)return i;let s=r.filter(u=>u instanceof V.Node),o="",a=n.start;return s.forEach(u=>{let l=e.slice(a,u.range.start);a=u.range.end,o+=l+String(u),o[o.length-1]===`
|
|
233
|
+
`&&e[a-1]!==`
|
|
234
|
+
`&&e[a]===`
|
|
235
|
+
`&&(a+=1)}),o+=e.slice(a,n.end),V.Node.addStringTerminator(e,n.end,o)}},Ld=class extends V.Node{static endOfQuote(e,r){let n=e[r];for(;n&&n!=='"';)r+=n==="\\"?2:1,n=e[r];return r+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:r,end:n}=this.valueRange,{indent:i,src:s}=this.context;s[n-1]!=='"'&&e.push(new V.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=r+1;a<n-1;++a){let u=s[a];if(u===`
|
|
236
|
+
`){V.Node.atDocumentBoundary(s,a+1)&&e.push(new V.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:l,offset:c,error:f}=V.Node.foldNewline(s,a,i);o+=l,a=c,f&&e.push(new V.YAMLSemanticError(this,"Multi-line double-quoted string needs to be sufficiently indented"))}else if(u==="\\")switch(a+=1,s[a]){case"0":o+="\0";break;case"a":o+="\x07";break;case"b":o+="\b";break;case"e":o+="\x1B";break;case"f":o+="\f";break;case"n":o+=`
|
|
237
|
+
`;break;case"r":o+="\r";break;case"t":o+=" ";break;case"v":o+="\v";break;case"N":o+="\x85";break;case"_":o+="\xA0";break;case"L":o+="\u2028";break;case"P":o+="\u2029";break;case" ":o+=" ";break;case'"':o+='"';break;case"/":o+="/";break;case"\\":o+="\\";break;case" ":o+=" ";break;case"x":o+=this.parseCharCode(a+1,2,e),a+=2;break;case"u":o+=this.parseCharCode(a+1,4,e),a+=4;break;case"U":o+=this.parseCharCode(a+1,8,e),a+=8;break;case`
|
|
238
|
+
`:for(;s[a+1]===" "||s[a+1]===" ";)a+=1;break;default:e.push(new V.YAMLSyntaxError(this,`Invalid escape sequence ${s.substr(a-1,2)}`)),o+="\\"+s[a]}else if(u===" "||u===" "){let l=a,c=s[a+1];for(;c===" "||c===" ";)a+=1,c=s[a+1];c!==`
|
|
239
|
+
`&&(o+=a>l?s.slice(l,a+1):u)}else o+=u}return e.length>0?{errors:e,str:o}:o}parseCharCode(e,r,n){let{src:i}=this.context,s=i.substr(e,r),a=s.length===r&&/^[0-9a-fA-F]+$/.test(s)?parseInt(s,16):NaN;return isNaN(a)?(n.push(new V.YAMLSyntaxError(this,`Invalid escape sequence ${i.substr(e-2,r+2)}`)),i.substr(e-2,r+2)):String.fromCodePoint(a)}parse(e,r){this.context=e;let{src:n}=e,i=Ld.endOfQuote(n,r+1);return this.valueRange=new V.Range(r,i),i=V.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},Id=class extends V.Node{static endOfQuote(e,r){let n=e[r];for(;n;)if(n==="'"){if(e[r+1]!=="'")break;n=e[r+=2]}else n=e[r+=1];return r+1}get strValue(){if(!this.valueRange||!this.context)return null;let e=[],{start:r,end:n}=this.valueRange,{indent:i,src:s}=this.context;s[n-1]!=="'"&&e.push(new V.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=r+1;a<n-1;++a){let u=s[a];if(u===`
|
|
240
|
+
`){V.Node.atDocumentBoundary(s,a+1)&&e.push(new V.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:l,offset:c,error:f}=V.Node.foldNewline(s,a,i);o+=l,a=c,f&&e.push(new V.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(u==="'")o+=u,a+=1,s[a]!=="'"&&e.push(new V.YAMLSyntaxError(this,"Unescaped single quote? This should not happen."));else if(u===" "||u===" "){let l=a,c=s[a+1];for(;c===" "||c===" ";)a+=1,c=s[a+1];c!==`
|
|
241
|
+
`&&(o+=a>l?s.slice(l,a+1):u)}else o+=u}return e.length>0?{errors:e,str:o}:o}parse(e,r){this.context=e;let{src:n}=e,i=Id.endOfQuote(n,r+1);return this.valueRange=new V.Range(r,i),i=V.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}};function wot(t,e){switch(t){case V.Type.ALIAS:return new xT(t,e);case V.Type.BLOCK_FOLDED:case V.Type.BLOCK_LITERAL:return new ST(t,e);case V.Type.FLOW_MAP:case V.Type.FLOW_SEQ:return new kT(t,e);case V.Type.MAP_KEY:case V.Type.MAP_VALUE:case V.Type.SEQ_ITEM:return new Fd(t,e);case V.Type.COMMENT:case V.Type.PLAIN:return new V.PlainValue(t,e);case V.Type.QUOTE_DOUBLE:return new Ld(t,e);case V.Type.QUOTE_SINGLE:return new Id(t,e);default:return null}}var ua=class{static parseType(e,r,n){switch(e[r]){case"*":return V.Type.ALIAS;case">":return V.Type.BLOCK_FOLDED;case"|":return V.Type.BLOCK_LITERAL;case"{":return V.Type.FLOW_MAP;case"[":return V.Type.FLOW_SEQ;case"?":return!n&&V.Node.atBlank(e,r+1,!0)?V.Type.MAP_KEY:V.Type.PLAIN;case":":return!n&&V.Node.atBlank(e,r+1,!0)?V.Type.MAP_VALUE:V.Type.PLAIN;case"-":return!n&&V.Node.atBlank(e,r+1,!0)?V.Type.SEQ_ITEM:V.Type.PLAIN;case'"':return V.Type.QUOTE_DOUBLE;case"'":return V.Type.QUOTE_SINGLE;default:return V.Type.PLAIN}}constructor(e={},{atLineStart:r,inCollection:n,inFlow:i,indent:s,lineStart:o,parent:a}={}){V._defineProperty(this,"parseNode",(u,l)=>{if(V.Node.atDocumentBoundary(this.src,l))return null;let c=new ua(this,u),{props:f,type:d,valueStart:p}=c.parseProps(l),h=wot(d,f),y=h.parse(c,p);if(h.range=new V.Range(l,y),y<=l&&(h.error=new Error("Node#parse consumed no characters"),h.error.parseEnd=y,h.error.source=h,h.range.end=l+1),c.nodeStartsCollection(h)){!h.error&&!c.atLineStart&&c.parent.type===V.Type.DOCUMENT&&(h.error=new V.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let b=new ca(h);return y=b.parse(new ua(c),y),b.range=new V.Range(l,y),b}return h}),this.atLineStart=r??(e.atLineStart||!1),this.inCollection=n??(e.inCollection||!1),this.inFlow=i??(e.inFlow||!1),this.indent=s??e.indent,this.lineStart=o??e.lineStart,this.parent=a??(e.parent||{}),this.root=e.root,this.src=e.src}nodeStartsCollection(e){let{inCollection:r,inFlow:n,src:i}=this;if(r||n)return!1;if(e instanceof Fd)return!0;let s=e.range.end;return i[s]===`
|
|
242
|
+
`||i[s-1]===`
|
|
243
|
+
`?!1:(s=V.Node.endOfWhiteSpace(i,s),i[s]===":")}parseProps(e){let{inFlow:r,parent:n,src:i}=this,s=[],o=!1;e=this.atLineStart?V.Node.endOfIndent(i,e):V.Node.endOfWhiteSpace(i,e);let a=i[e];for(;a===V.Char.ANCHOR||a===V.Char.COMMENT||a===V.Char.TAG||a===`
|
|
244
|
+
`;){if(a===`
|
|
245
|
+
`){let l=e,c;do c=l+1,l=V.Node.endOfIndent(i,c);while(i[l]===`
|
|
246
|
+
`);let f=l-(c+this.indent),d=n.type===V.Type.SEQ_ITEM&&n.context.atLineStart;if(i[l]!=="#"&&!V.Node.nextNodeIsIndented(i[l],f,!d))break;this.atLineStart=!0,this.lineStart=c,o=!1,e=l}else if(a===V.Char.COMMENT){let l=V.Node.endOfLine(i,e+1);s.push(new V.Range(e,l)),e=l}else{let l=V.Node.endOfIdentifier(i,e+1);a===V.Char.TAG&&i[l]===","&&/^[a-zA-Z0-9-]+\.[a-zA-Z0-9-]+,\d\d\d\d(-\d\d){0,2}\/\S/.test(i.slice(e+1,l+13))&&(l=V.Node.endOfIdentifier(i,l+5)),s.push(new V.Range(e,l)),o=!0,e=V.Node.endOfWhiteSpace(i,l)}a=i[e]}o&&a===":"&&V.Node.atBlank(i,e+1,!0)&&(e-=1);let u=ua.parseType(i,e,r);return{props:s,type:u,valueStart:e}}};function _ot(t){let e=[];t.indexOf("\r")!==-1&&(t=t.replace(/\r\n?/g,(i,s)=>(i.length>1&&e.push(s),`
|
|
247
|
+
`)));let r=[],n=0;do{let i=new nl,s=new ua({src:t});n=i.parse(s,n),r.push(i)}while(n<t.length);return r.setOrigRanges=()=>{if(e.length===0)return!1;for(let s=1;s<e.length;++s)e[s]-=s;let i=0;for(let s=0;s<r.length;++s)i=r[s].setOrigRanges(e,i);return e.splice(0,e.length),!0},r.toString=()=>r.join(`...
|
|
248
|
+
`),r}Dse.parse=_ot});var $d=m(Ft=>{"use strict";var X=oa();function xot(t,e,r){return r?`#${r.replace(/[\s\S]^/gm,`$&${e}#`)}
|
|
249
|
+
${e}${t}`:t}function il(t,e,r){return r?r.indexOf(`
|
|
250
|
+
`)===-1?`${t} #${r}`:`${t}
|
|
251
|
+
`+r.replace(/^/gm,`${e||""}#`):t}var bn=class{};function Ks(t,e,r){if(Array.isArray(t))return t.map((n,i)=>Ks(n,String(i),r));if(t&&typeof t.toJSON=="function"){let n=r&&r.anchors&&r.anchors.get(t);n&&(r.onCreate=s=>{n.res=s,delete r.onCreate});let i=t.toJSON(e,r);return n&&r.onCreate&&r.onCreate(i),i}return(!r||!r.keep)&&typeof t=="bigint"?Number(t):t}var Nr=class extends bn{constructor(e){super(),this.value=e}toJSON(e,r){return r&&r.keep?this.value:Ks(this.value,e,r)}toString(){return String(this.value)}};function qse(t,e,r){let n=r;for(let i=e.length-1;i>=0;--i){let s=e[i];if(Number.isInteger(s)&&s>=0){let o=[];o[s]=n,n=o}else{let o={};Object.defineProperty(o,s,{value:n,writable:!0,enumerable:!0,configurable:!0}),n=o}}return t.createNode(n,!1)}var Pse=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,Jt=class extends bn{constructor(e){super(),X._defineProperty(this,"items",[]),this.schema=e}addIn(e,r){if(Pse(e))this.add(r);else{let[n,...i]=e,s=this.get(n,!0);if(s instanceof Jt)s.addIn(i,r);else if(s===void 0&&this.schema)this.set(n,qse(this.schema,i,r));else throw new Error(`Expected YAML collection at ${n}. Remaining path: ${i}`)}}deleteIn([e,...r]){if(r.length===0)return this.delete(e);let n=this.get(e,!0);if(n instanceof Jt)return n.deleteIn(r);throw new Error(`Expected YAML collection at ${e}. Remaining path: ${r}`)}getIn([e,...r],n){let i=this.get(e,!0);return r.length===0?!n&&i instanceof Nr?i.value:i:i instanceof Jt?i.getIn(r,n):void 0}hasAllNullValues(){return this.items.every(e=>{if(!e||e.type!=="PAIR")return!1;let r=e.value;return r==null||r instanceof Nr&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn([e,...r]){if(r.length===0)return this.has(e);let n=this.get(e,!0);return n instanceof Jt?n.hasIn(r):!1}setIn([e,...r],n){if(r.length===0)this.set(e,n);else{let i=this.get(e,!0);if(i instanceof Jt)i.setIn(r,n);else if(i===void 0&&this.schema)this.set(e,qse(this.schema,r,n));else throw new Error(`Expected YAML collection at ${e}. Remaining path: ${r}`)}}toJSON(){return null}toString(e,{blockItem:r,flowChars:n,isMap:i,itemIndent:s},o,a){let{indent:u,indentStep:l,stringify:c}=e,f=this.type===X.Type.FLOW_MAP||this.type===X.Type.FLOW_SEQ||e.inFlow;f&&(s+=l);let d=i&&this.hasAllNullValues();e=Object.assign({},e,{allNullValues:d,indent:s,inFlow:f,type:null});let p=!1,h=!1,y=this.items.reduce((g,v,w)=>{let _;v&&(!p&&v.spaceBefore&&g.push({type:"comment",str:""}),v.commentBefore&&v.commentBefore.match(/^.*$/gm).forEach(C=>{g.push({type:"comment",str:`#${C}`})}),v.comment&&(_=v.comment),f&&(!p&&v.spaceBefore||v.commentBefore||v.comment||v.key&&(v.key.commentBefore||v.key.comment)||v.value&&(v.value.commentBefore||v.value.comment))&&(h=!0)),p=!1;let x=c(v,e,()=>_=null,()=>p=!0);return f&&!h&&x.includes(`
|
|
252
|
+
`)&&(h=!0),f&&w<this.items.length-1&&(x+=","),x=il(x,s,_),p&&(_||f)&&(p=!1),g.push({type:"item",str:x}),g},[]),b;if(y.length===0)b=n.start+n.end;else if(f){let{start:g,end:v}=n,w=y.map(_=>_.str);if(h||w.reduce((_,x)=>_+x.length+2,2)>Jt.maxFlowStringSingleLineLength){b=g;for(let _ of w)b+=_?`
|
|
253
|
+
${l}${u}${_}`:`
|
|
254
|
+
`;b+=`
|
|
255
|
+
${u}${v}`}else b=`${g} ${w.join(" ")} ${v}`}else{let g=y.map(r);b=g.shift();for(let v of g)b+=v?`
|
|
256
|
+
${u}${v}`:`
|
|
257
|
+
`}return this.comment?(b+=`
|
|
258
|
+
`+this.comment.replace(/^/gm,`${u}#`),o&&o()):p&&a&&a(),b}};X._defineProperty(Jt,"maxFlowStringSingleLineLength",60);function y1(t){let e=t instanceof Nr?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var Ys=class extends Jt{add(e){this.items.push(e)}delete(e){let r=y1(e);return typeof r!="number"?!1:this.items.splice(r,1).length>0}get(e,r){let n=y1(e);if(typeof n!="number")return;let i=this.items[n];return!r&&i instanceof Nr?i.value:i}has(e){let r=y1(e);return typeof r=="number"&&r<this.items.length}set(e,r){let n=y1(e);if(typeof n!="number")throw new Error(`Expected a valid index, not ${e}.`);this.items[n]=r}toJSON(e,r){let n=[];r&&r.onCreate&&r.onCreate(n);let i=0;for(let s of this.items)n.push(Ks(s,String(i++),r));return n}toString(e,r,n){return e?super.toString(e,{blockItem:i=>i.type==="comment"?i.str:`- ${i.str}`,flowChars:{start:"[",end:"]"},isMap:!1,itemIndent:(e.indent||"")+" "},r,n):JSON.stringify(this)}},Sot=(t,e,r)=>e===null?"":typeof e!="object"?String(e):t instanceof bn&&r&&r.doc?t.toString({anchors:Object.create(null),doc:r.doc,indent:"",indentStep:r.indentStep,inFlow:!0,inStringifyKey:!0,stringify:r.stringify}):JSON.stringify(e),pt=class extends bn{constructor(e,r=null){super(),this.key=e,this.value=r,this.type=pt.Type.PAIR}get commentBefore(){return this.key instanceof bn?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new Nr(null)),this.key instanceof bn)this.key.commentBefore=e;else{let r="Pair.commentBefore is an alias for Pair.key.commentBefore. To set it, the key must be a Node.";throw new Error(r)}}addToJSMap(e,r){let n=Ks(this.key,"",e);if(r instanceof Map){let i=Ks(this.value,n,e);r.set(n,i)}else if(r instanceof Set)r.add(n);else{let i=Sot(this.key,n,e),s=Ks(this.value,i,e);i in r?Object.defineProperty(r,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):r[i]=s}return r}toJSON(e,r){let n=r&&r.mapAsMap?new Map:{};return this.addToJSMap(r,n)}toString(e,r,n){if(!e||!e.doc)return JSON.stringify(this);let{indent:i,indentSeq:s,simpleKeys:o}=e.doc.options,{key:a,value:u}=this,l=a instanceof bn&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof Jt){let x="With simple keys, collection cannot be used as a key value";throw new Error(x)}}let c=!o&&(!a||l||(a instanceof bn?a instanceof Jt||a.type===X.Type.BLOCK_FOLDED||a.type===X.Type.BLOCK_LITERAL:typeof a=="object")),{doc:f,indent:d,indentStep:p,stringify:h}=e;e=Object.assign({},e,{implicitKey:!c,indent:d+p});let y=!1,b=h(a,e,()=>l=null,()=>y=!0);if(b=il(b,e.indent,l),!c&&b.length>1024){if(o)throw new Error("With simple keys, single line scalar must not span more than 1024 characters");c=!0}if(e.allNullValues&&!o)return this.comment?(b=il(b,e.indent,this.comment),r&&r()):y&&!l&&n&&n(),e.inFlow&&!c?b:`? ${b}`;b=c?`? ${b}
|
|
259
|
+
${d}:`:`${b}:`,this.comment&&(b=il(b,e.indent,this.comment),r&&r());let g="",v=null;if(u instanceof bn){if(u.spaceBefore&&(g=`
|
|
260
|
+
`),u.commentBefore){let x=u.commentBefore.replace(/^/gm,`${e.indent}#`);g+=`
|
|
261
|
+
${x}`}v=u.comment}else u&&typeof u=="object"&&(u=f.schema.createNode(u,!0));e.implicitKey=!1,!c&&!this.comment&&u instanceof Nr&&(e.indentAtStart=b.length+1),y=!1,!s&&i>=2&&!e.inFlow&&!c&&u instanceof Ys&&u.type!==X.Type.FLOW_SEQ&&!u.tag&&!f.anchors.getName(u)&&(e.indent=e.indent.substr(2));let w=h(u,e,()=>v=null,()=>y=!0),_=" ";return g||this.comment?_=`${g}
|
|
262
|
+
${e.indent}`:!c&&u instanceof Jt?(!(w[0]==="["||w[0]==="{")||w.includes(`
|
|
263
|
+
`))&&(_=`
|
|
264
|
+
${e.indent}`):w[0]===`
|
|
265
|
+
`&&(_=""),y&&!v&&n&&n(),il(b+_+w,e.indent,v)}};X._defineProperty(pt,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var b1=(t,e)=>{if(t instanceof fs){let r=e.get(t.source);return r.count*r.aliasCount}else if(t instanceof Jt){let r=0;for(let n of t.items){let i=b1(n,e);i>r&&(r=i)}return r}else if(t instanceof pt){let r=b1(t.key,e),n=b1(t.value,e);return Math.max(r,n)}return 1},fs=class extends bn{static stringify({range:e,source:r},{anchors:n,doc:i,implicitKey:s,inStringifyKey:o}){let a=Object.keys(n).find(l=>n[l]===r);if(!a&&o&&(a=i.anchors.getName(r)||i.anchors.newName()),a)return`*${a}${s?" ":""}`;let u=i.anchors.getName(r)?"Alias node must be after source node":"Source node not found for alias node";throw new Error(`${u} [${e}]`)}constructor(e){super(),this.source=e,this.type=X.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,r){if(!r)return Ks(this.source,e,r);let{anchors:n,maxAliasCount:i}=r,s=n.get(this.source);if(!s||s.res===void 0){let o="This should not happen: Alias anchor was not resolved?";throw this.cstNode?new X.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}if(i>=0&&(s.count+=1,s.aliasCount===0&&(s.aliasCount=b1(this.source,n)),s.count*s.aliasCount>i)){let o="Excessive alias count indicates a resource exhaustion attack";throw this.cstNode?new X.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return s.res}toString(e){return fs.stringify(this,e)}};X._defineProperty(fs,"default",!0);function Nd(t,e){let r=e instanceof Nr?e.value:e;for(let n of t)if(n instanceof pt&&(n.key===e||n.key===r||n.key&&n.key.value===r))return n}var jd=class extends Jt{add(e,r){e?e instanceof pt||(e=new pt(e.key||e,e.value)):e=new pt(e);let n=Nd(this.items,e.key),i=this.schema&&this.schema.sortMapEntries;if(n)if(r)n.value=e.value;else throw new Error(`Key ${e.key} already set`);else if(i){let s=this.items.findIndex(o=>i(e,o)<0);s===-1?this.items.push(e):this.items.splice(s,0,e)}else this.items.push(e)}delete(e){let r=Nd(this.items,e);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(e,r){let n=Nd(this.items,e),i=n&&n.value;return!r&&i instanceof Nr?i.value:i}has(e){return!!Nd(this.items,e)}set(e,r){this.add(new pt(e,r),!0)}toJSON(e,r,n){let i=n?new n:r&&r.mapAsMap?new Map:{};r&&r.onCreate&&r.onCreate(i);for(let s of this.items)s.addToJSMap(r,i);return i}toString(e,r,n){if(!e)return JSON.stringify(this);for(let i of this.items)if(!(i instanceof pt))throw new Error(`Map items must all be pairs; found ${JSON.stringify(i)} instead`);return super.toString(e,{blockItem:i=>i.str,flowChars:{start:"{",end:"}"},isMap:!0,itemIndent:e.indent||""},r,n)}},Tse="<<",_1=class extends pt{constructor(e){if(e instanceof pt){let r=e.value;r instanceof Ys||(r=new Ys,r.items.push(e.value),r.range=e.value.range),super(e.key,r),this.range=e.range}else super(new Nr(Tse),new Ys);this.type=pt.Type.MERGE_PAIR}addToJSMap(e,r){for(let{source:n}of this.value.items){if(!(n instanceof jd))throw new Error("Merge sources must be maps");let i=n.toJSON(null,e,Map);for(let[s,o]of i)r instanceof Map?r.has(s)||r.set(s,o):r instanceof Set?r.add(s):Object.prototype.hasOwnProperty.call(r,s)||Object.defineProperty(r,s,{value:o,writable:!0,enumerable:!0,configurable:!0})}return r}toString(e,r){let n=this.value;if(n.items.length>1)return super.toString(e,r);this.value=n.items[0];let i=super.toString(e,r);return this.value=n,i}},kot={defaultType:X.Type.BLOCK_LITERAL,lineWidth:76},Eot={trueStr:"true",falseStr:"false"},Cot={asBigInt:!1},Dot={nullStr:"null"},da={defaultType:X.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function CT(t,e,r){for(let{format:n,test:i,resolve:s}of e)if(i){let o=t.match(i);if(o){let a=s.apply(null,o);return a instanceof Nr||(a=new Nr(a)),n&&(a.format=n),a}}return r&&(t=r(t)),new Nr(t)}var Mse="flow",ET="block",v1="quoted",Rse=(t,e)=>{let r=t[e+1];for(;r===" "||r===" ";){do r=t[e+=1];while(r&&r!==`
|
|
266
|
+
`);r=t[e+1]}return e};function x1(t,e,r,{indentAtStart:n,lineWidth:i=80,minContentWidth:s=20,onFold:o,onOverflow:a}){if(!i||i<0)return t;let u=Math.max(1+s,1+i-e.length);if(t.length<=u)return t;let l=[],c={},f=i-e.length;typeof n=="number"&&(n>i-Math.max(2,s)?l.push(0):f=i-n);let d,p,h=!1,y=-1,b=-1,g=-1;r===ET&&(y=Rse(t,y),y!==-1&&(f=y+u));for(let w;w=t[y+=1];){if(r===v1&&w==="\\"){switch(b=y,t[y+1]){case"x":y+=3;break;case"u":y+=5;break;case"U":y+=9;break;default:y+=1}g=y}if(w===`
|
|
267
|
+
`)r===ET&&(y=Rse(t,y)),f=y+u,d=void 0;else{if(w===" "&&p&&p!==" "&&p!==`
|
|
268
|
+
`&&p!==" "){let _=t[y+1];_&&_!==" "&&_!==`
|
|
269
|
+
`&&_!==" "&&(d=y)}if(y>=f)if(d)l.push(d),f=d+u,d=void 0;else if(r===v1){for(;p===" "||p===" ";)p=w,w=t[y+=1],h=!0;let _=y>g+1?y-2:b-1;if(c[_])return t;l.push(_),c[_]=!0,f=_+u,d=void 0}else h=!0}p=w}if(h&&a&&a(),l.length===0)return t;o&&o();let v=t.slice(0,l[0]);for(let w=0;w<l.length;++w){let _=l[w],x=l[w+1]||t.length;_===0?v=`
|
|
270
|
+
${e}${t.slice(0,x)}`:(r===v1&&c[_]&&(v+=`${t[_]}\\`),v+=`
|
|
271
|
+
${e}${t.slice(_+1,x)}`)}return v}var DT=({indentAtStart:t})=>t?Object.assign({indentAtStart:t},da.fold):da.fold,S1=t=>/^(%|---|\.\.\.)/m.test(t);function Oot(t,e,r){if(!e||e<0)return!1;let n=e-r,i=t.length;if(i<=n)return!1;for(let s=0,o=0;s<i;++s)if(t[s]===`
|
|
272
|
+
`){if(s-o>n)return!0;if(o=s+1,i-o<=n)return!1}return!0}function fa(t,e){let{implicitKey:r}=e,{jsonEncoding:n,minMultiLineLength:i}=da.doubleQuoted,s=JSON.stringify(t);if(n)return s;let o=e.indent||(S1(t)?" ":""),a="",u=0;for(let l=0,c=s[l];c;c=s[++l])if(c===" "&&s[l+1]==="\\"&&s[l+2]==="n"&&(a+=s.slice(u,l)+"\\ ",l+=1,u=l,c="\\"),c==="\\")switch(s[l+1]){case"u":{a+=s.slice(u,l);let f=s.substr(l+2,4);switch(f){case"0000":a+="\\0";break;case"0007":a+="\\a";break;case"000b":a+="\\v";break;case"001b":a+="\\e";break;case"0085":a+="\\N";break;case"00a0":a+="\\_";break;case"2028":a+="\\L";break;case"2029":a+="\\P";break;default:f.substr(0,2)==="00"?a+="\\x"+f.substr(2):a+=s.substr(l,6)}l+=5,u=l+1}break;case"n":if(r||s[l+2]==='"'||s.length<i)l+=1;else{for(a+=s.slice(u,l)+`
|
|
273
|
+
|
|
274
|
+
`;s[l+2]==="\\"&&s[l+3]==="n"&&s[l+4]!=='"';)a+=`
|
|
275
|
+
`,l+=2;a+=o,s[l+2]===" "&&(a+="\\"),l+=1,u=l+1}break;default:l+=1}return a=u?a+s.slice(u):s,r?a:x1(a,o,v1,DT(e))}function Fse(t,e){if(e.implicitKey){if(/\n/.test(t))return fa(t,e)}else if(/[ \t]\n|\n[ \t]/.test(t))return fa(t,e);let r=e.indent||(S1(t)?" ":""),n="'"+t.replace(/'/g,"''").replace(/\n+/g,`$&
|
|
276
|
+
${r}`)+"'";return e.implicitKey?n:x1(n,r,Mse,DT(e))}function w1({comment:t,type:e,value:r},n,i,s){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return fa(r,n);let o=n.indent||(n.forceBlockIndent||S1(r)?" ":""),a=o?"2":"1",u=e===X.Type.BLOCK_FOLDED?!1:e===X.Type.BLOCK_LITERAL?!0:!Oot(r,da.fold.lineWidth,o.length),l=u?"|":">";if(!r)return l+`
|
|
277
|
+
`;let c="",f="";if(r=r.replace(/[\n\t ]*$/,p=>{let h=p.indexOf(`
|
|
278
|
+
`);return h===-1?l+="-":(r===p||h!==p.length-1)&&(l+="+",s&&s()),f=p.replace(/\n$/,""),""}).replace(/^[\n ]*/,p=>{p.indexOf(" ")!==-1&&(l+=a);let h=p.match(/ +$/);return h?(c=p.slice(0,-h[0].length),h[0]):(c=p,"")}),f&&(f=f.replace(/\n+(?!\n|$)/g,`$&${o}`)),c&&(c=c.replace(/\n+/g,`$&${o}`)),t&&(l+=" #"+t.replace(/ ?[\r\n]+/g," "),i&&i()),!r)return`${l}${a}
|
|
279
|
+
${o}${f}`;if(u)return r=r.replace(/\n+/g,`$&${o}`),`${l}
|
|
280
|
+
${o}${c}${r}${f}`;r=r.replace(/\n+/g,`
|
|
281
|
+
$&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${o}`);let d=x1(`${c}${r}${f}`,o,ET,da.fold);return`${l}
|
|
282
|
+
${o}${d}`}function qot(t,e,r,n){let{comment:i,type:s,value:o}=t,{actualString:a,implicitKey:u,indent:l,inFlow:c}=e;if(u&&/[\n[\]{},]/.test(o)||c&&/[[\]{},]/.test(o))return fa(o,e);if(!o||/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(o))return u||c||o.indexOf(`
|
|
283
|
+
`)===-1?o.indexOf('"')!==-1&&o.indexOf("'")===-1?Fse(o,e):fa(o,e):w1(t,e,r,n);if(!u&&!c&&s!==X.Type.PLAIN&&o.indexOf(`
|
|
284
|
+
`)!==-1)return w1(t,e,r,n);if(l===""&&S1(o))return e.forceBlockIndent=!0,w1(t,e,r,n);let f=o.replace(/\n+/g,`$&
|
|
285
|
+
${l}`);if(a){let{tags:p}=e.doc.schema;if(typeof CT(f,p,p.scalarFallback).value!="string")return fa(o,e)}let d=u?f:x1(f,l,Mse,DT(e));return i&&!c&&(d.indexOf(`
|
|
286
|
+
`)!==-1||i.indexOf(`
|
|
287
|
+
`)!==-1)?(r&&r(),xot(d,l,i)):d}function Rot(t,e,r,n){let{defaultType:i}=da,{implicitKey:s,inFlow:o}=e,{type:a,value:u}=t;typeof u!="string"&&(u=String(u),t=Object.assign({},t,{value:u}));let l=f=>{switch(f){case X.Type.BLOCK_FOLDED:case X.Type.BLOCK_LITERAL:return w1(t,e,r,n);case X.Type.QUOTE_DOUBLE:return fa(u,e);case X.Type.QUOTE_SINGLE:return Fse(u,e);case X.Type.PLAIN:return qot(t,e,r,n);default:return null}};(a!==X.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)||(s||o)&&(a===X.Type.BLOCK_FOLDED||a===X.Type.BLOCK_LITERAL))&&(a=X.Type.QUOTE_DOUBLE);let c=l(a);if(c===null&&(c=l(i),c===null))throw new Error(`Unsupported default string type ${i}`);return c}function Aot({format:t,minFractionDigits:e,tag:r,value:n}){if(typeof n=="bigint")return String(n);if(!isFinite(n))return isNaN(n)?".nan":n<0?"-.inf":".inf";let i=JSON.stringify(n);if(!t&&e&&(!r||r==="tag:yaml.org,2002:float")&&/^\d/.test(i)){let s=i.indexOf(".");s<0&&(s=i.length,i+=".");let o=e-(i.length-s-1);for(;o-- >0;)i+="0"}return i}function Lse(t,e){let r,n;switch(e.type){case X.Type.FLOW_MAP:r="}",n="flow map";break;case X.Type.FLOW_SEQ:r="]",n="flow sequence";break;default:t.push(new X.YAMLSemanticError(e,"Not a flow collection!?"));return}let i;for(let s=e.items.length-1;s>=0;--s){let o=e.items[s];if(!o||o.type!==X.Type.COMMENT){i=o;break}}if(i&&i.char!==r){let s=`Expected ${n} to end with ${r}`,o;typeof i.offset=="number"?(o=new X.YAMLSemanticError(e,s),o.offset=i.offset+1):(o=new X.YAMLSemanticError(i,s),i.range&&i.range.end&&(o.offset=i.range.end-i.range.start)),t.push(o)}}function Ise(t,e){let r=e.context.src[e.range.start-1];if(r!==`
|
|
288
|
+
`&&r!==" "&&r!==" "){let n="Comments must be separated from other tokens by white space characters";t.push(new X.YAMLSemanticError(e,n))}}function Nse(t,e){let r=String(e),n=r.substr(0,8)+"..."+r.substr(-8);return new X.YAMLSemanticError(t,`The "${n}" key is too long`)}function jse(t,e){for(let{afterKey:r,before:n,comment:i}of e){let s=t.items[n];s?(r&&s.value&&(s=s.value),i===void 0?(r||!s.commentBefore)&&(s.spaceBefore=!0):s.commentBefore?s.commentBefore+=`
|
|
289
|
+
`+i:s.commentBefore=i):i!==void 0&&(t.comment?t.comment+=`
|
|
290
|
+
`+i:t.comment=i)}}function OT(t,e){let r=e.strValue;return r?typeof r=="string"?r:(r.errors.forEach(n=>{n.source||(n.source=e),t.errors.push(n)}),r.str):""}function Pot(t,e){let{handle:r,suffix:n}=e.tag,i=t.tagPrefixes.find(s=>s.handle===r);if(!i){let s=t.getDefaults().tagPrefixes;if(s&&(i=s.find(o=>o.handle===r)),!i)throw new X.YAMLSemanticError(e,`The ${r} tag handle is non-default and was not declared.`)}if(!n)throw new X.YAMLSemanticError(e,`The ${r} tag has no suffix.`);if(r==="!"&&(t.version||t.options.version)==="1.0"){if(n[0]==="^")return t.warnings.push(new X.YAMLWarning(e,"YAML 1.0 ^ tag expansion is not supported")),n;if(/[:/]/.test(n)){let s=n.match(/^([a-z0-9-]+)\/(.*)/i);return s?`tag:${s[1]}.yaml.org,2002:${s[2]}`:`tag:${n}`}}return i.prefix+decodeURIComponent(n)}function Tot(t,e){let{tag:r,type:n}=e,i=!1;if(r){let{handle:s,suffix:o,verbatim:a}=r;if(a){if(a!=="!"&&a!=="!!")return a;let u=`Verbatim tags aren't resolved, so ${a} is invalid.`;t.errors.push(new X.YAMLSemanticError(e,u))}else if(s==="!"&&!o)i=!0;else try{return Pot(t,e)}catch(u){t.errors.push(u)}}switch(n){case X.Type.BLOCK_FOLDED:case X.Type.BLOCK_LITERAL:case X.Type.QUOTE_DOUBLE:case X.Type.QUOTE_SINGLE:return X.defaultTags.STR;case X.Type.FLOW_MAP:case X.Type.MAP:return X.defaultTags.MAP;case X.Type.FLOW_SEQ:case X.Type.SEQ:return X.defaultTags.SEQ;case X.Type.PLAIN:return i?X.defaultTags.STR:null;default:return null}}function Ase(t,e,r){let{tags:n}=t.schema,i=[];for(let o of n)if(o.tag===r)if(o.test)i.push(o);else{let a=o.resolve(t,e);return a instanceof Jt?a:new Nr(a)}let s=OT(t,e);return typeof s=="string"&&i.length>0?CT(s,i,n.scalarFallback):null}function Mot({type:t}){switch(t){case X.Type.FLOW_MAP:case X.Type.MAP:return X.defaultTags.MAP;case X.Type.FLOW_SEQ:case X.Type.SEQ:return X.defaultTags.SEQ;default:return X.defaultTags.STR}}function Fot(t,e,r){try{let n=Ase(t,e,r);if(n)return r&&e.tag&&(n.tag=r),n}catch(n){return n.source||(n.source=e),t.errors.push(n),null}try{let n=Mot(e);if(!n)throw new Error(`The tag ${r} is unavailable`);let i=`The tag ${r} is unavailable, falling back to ${n}`;t.warnings.push(new X.YAMLWarning(e,i));let s=Ase(t,e,n);return s.tag=r,s}catch(n){let i=new X.YAMLReferenceError(e,n.message);return i.stack=n.stack,t.errors.push(i),null}}var Lot=t=>{if(!t)return!1;let{type:e}=t;return e===X.Type.MAP_KEY||e===X.Type.MAP_VALUE||e===X.Type.SEQ_ITEM};function Iot(t,e){let r={before:[],after:[]},n=!1,i=!1,s=Lot(e.context.parent)?e.context.parent.props.concat(e.props):e.props;for(let{start:o,end:a}of s)switch(e.context.src[o]){case X.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let f="Comments must be separated from other tokens by white space characters";t.push(new X.YAMLSemanticError(e,f))}let{header:u,valueRange:l}=e;(l&&(o>l.start||u&&o>u.start)?r.after:r.before).push(e.context.src.slice(o+1,a));break}case X.Char.ANCHOR:if(n){let u="A node can have at most one anchor";t.push(new X.YAMLSemanticError(e,u))}n=!0;break;case X.Char.TAG:if(i){let u="A node can have at most one tag";t.push(new X.YAMLSemanticError(e,u))}i=!0;break}return{comments:r,hasAnchor:n,hasTag:i}}function Not(t,e){let{anchors:r,errors:n,schema:i}=t;if(e.type===X.Type.ALIAS){let o=e.rawValue,a=r.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return n.push(new X.YAMLReferenceError(e,l)),null}let u=new fs(a);return r._cstAliases.push(u),u}let s=Tot(t,e);if(s)return Fot(t,e,s);if(e.type!==X.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return n.push(new X.YAMLSyntaxError(e,o)),null}try{let o=OT(t,e);return CT(o,i.tags,i.tags.scalarFallback)}catch(o){return o.source||(o.source=e),n.push(o),null}}function Qs(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:r,hasAnchor:n,hasTag:i}=Iot(t.errors,e);if(n){let{anchors:o}=t,a=e.anchor,u=o.getNode(a);u&&(o.map[o.newName(a)]=u),o.map[a]=e}if(e.type===X.Type.ALIAS&&(n||i)){let o="An alias node must not specify any properties";t.errors.push(new X.YAMLSemanticError(e,o))}let s=Not(t,e);if(s){s.range=[e.range.start,e.range.end],t.options.keepCstNodes&&(s.cstNode=e),t.options.keepNodeTypes&&(s.type=e.type);let o=r.before.join(`
|
|
291
|
+
`);o&&(s.commentBefore=s.commentBefore?`${s.commentBefore}
|
|
292
|
+
${o}`:o);let a=r.after.join(`
|
|
293
|
+
`);a&&(s.comment=s.comment?`${s.comment}
|
|
294
|
+
${a}`:a)}return e.resolved=s}function jot(t,e){if(e.type!==X.Type.MAP&&e.type!==X.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new X.YAMLSyntaxError(e,o)),null}let{comments:r,items:n}=e.type===X.Type.FLOW_MAP?zot(t,e):Wot(t,e),i=new jd;i.items=n,jse(i,r);let s=!1;for(let o=0;o<n.length;++o){let{key:a}=n[o];if(a instanceof Jt&&(s=!0),t.schema.merge&&a&&a.value===Tse){n[o]=new _1(n[o]);let u=n[o].value.items,l=null;u.some(c=>{if(c instanceof fs){let{type:f}=c.source;return f===X.Type.MAP||f===X.Type.FLOW_MAP?!1:l="Merge nodes aliases can only point to maps"}return l="Merge nodes can only have Alias nodes as values"}),l&&t.errors.push(new X.YAMLSemanticError(e,l))}else for(let u=o+1;u<n.length;++u){let{key:l}=n[u];if(a===l||a&&l&&Object.prototype.hasOwnProperty.call(a,"value")&&a.value===l.value){let c=`Map keys must be unique; "${a}" is repeated`;t.errors.push(new X.YAMLSemanticError(e,c));break}}}if(s&&!t.options.mapAsMap){let o="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new X.YAMLWarning(e,o))}return e.resolved=i,i}var $ot=({context:{lineStart:t,node:e,src:r},props:n})=>{if(n.length===0)return!1;let{start:i}=n[0];if(e&&i>e.valueRange.start||r[i]!==X.Char.COMMENT)return!1;for(let s=t;s<i;++s)if(r[s]===`
|
|
295
|
+
`)return!1;return!0};function Bot(t,e){if(!$ot(t))return;let r=t.getPropValue(0,X.Char.COMMENT,!0),n=!1,i=e.value.commentBefore;if(i&&i.startsWith(r))e.value.commentBefore=i.substr(r.length+1),n=!0;else{let s=e.value.comment;!t.node&&s&&s.startsWith(r)&&(e.value.comment=s.substr(r.length+1),n=!0)}n&&(e.comment=r)}function Wot(t,e){let r=[],n=[],i,s=null;for(let o=0;o<e.items.length;++o){let a=e.items[o];switch(a.type){case X.Type.BLANK_LINE:r.push({afterKey:!!i,before:n.length});break;case X.Type.COMMENT:r.push({afterKey:!!i,before:n.length,comment:a.comment});break;case X.Type.MAP_KEY:i!==void 0&&n.push(new pt(i)),a.error&&t.errors.push(a.error),i=Qs(t,a.node),s=null;break;case X.Type.MAP_VALUE:{if(i===void 0&&(i=null),a.error&&t.errors.push(a.error),!a.context.atLineStart&&a.node&&a.node.type===X.Type.MAP&&!a.node.context.atLineStart){let c="Nested mappings are not allowed in compact mappings";t.errors.push(new X.YAMLSemanticError(a.node,c))}let u=a.node;if(!u&&a.props.length>0){u=new X.PlainValue(X.Type.PLAIN,[]),u.context={parent:a,src:a.context.src};let c=a.range.start+1;if(u.range={start:c,end:c},u.valueRange={start:c,end:c},typeof a.range.origStart=="number"){let f=a.range.origStart+1;u.range.origStart=u.range.origEnd=f,u.valueRange.origStart=u.valueRange.origEnd=f}}let l=new pt(i,Qs(t,u));Bot(a,l),n.push(l),i&&typeof s=="number"&&a.range.start>s+1024&&t.errors.push(Nse(e,i)),i=void 0,s=null}break;default:i!==void 0&&n.push(new pt(i)),i=Qs(t,a),s=a.range.start,a.error&&t.errors.push(a.error);e:for(let u=o+1;;++u){let l=e.items[u];switch(l&&l.type){case X.Type.BLANK_LINE:case X.Type.COMMENT:continue e;case X.Type.MAP_VALUE:break e;default:{let c="Implicit map keys need to be followed by map values";t.errors.push(new X.YAMLSemanticError(a,c));break e}}}if(a.valueRangeContainsNewline){let u="Implicit map keys need to be on a single line";t.errors.push(new X.YAMLSemanticError(a,u))}}}return i!==void 0&&n.push(new pt(i)),{comments:r,items:n}}function zot(t,e){let r=[],n=[],i,s=!1,o="{";for(let a=0;a<e.items.length;++a){let u=e.items[a];if(typeof u.char=="string"){let{char:l,offset:c}=u;if(l==="?"&&i===void 0&&!s){s=!0,o=":";continue}if(l===":"){if(i===void 0&&(i=null),o===":"){o=",";continue}}else if(s&&(i===void 0&&l!==","&&(i=null),s=!1),i!==void 0&&(n.push(new pt(i)),i=void 0,l===",")){o=":";continue}if(l==="}"){if(a===e.items.length-1)continue}else if(l===o){o=":";continue}let f=`Flow map contains an unexpected ${l}`,d=new X.YAMLSyntaxError(e,f);d.offset=c,t.errors.push(d)}else u.type===X.Type.BLANK_LINE?r.push({afterKey:!!i,before:n.length}):u.type===X.Type.COMMENT?(Ise(t.errors,u),r.push({afterKey:!!i,before:n.length,comment:u.comment})):i===void 0?(o===","&&t.errors.push(new X.YAMLSemanticError(u,"Separator , missing in flow map")),i=Qs(t,u)):(o!==","&&t.errors.push(new X.YAMLSemanticError(u,"Indicator : missing in flow map entry")),n.push(new pt(i,Qs(t,u))),i=void 0,s=!1)}return Lse(t.errors,e),i!==void 0&&n.push(new pt(i)),{comments:r,items:n}}function Uot(t,e){if(e.type!==X.Type.SEQ&&e.type!==X.Type.FLOW_SEQ){let s=`A ${e.type} node cannot be resolved as a sequence`;return t.errors.push(new X.YAMLSyntaxError(e,s)),null}let{comments:r,items:n}=e.type===X.Type.FLOW_SEQ?Vot(t,e):Hot(t,e),i=new Ys;if(i.items=n,jse(i,r),!t.options.mapAsMap&&n.some(s=>s instanceof pt&&s.key instanceof Jt)){let s="Keys with collection values will be stringified as YAML due to JS Object restrictions. Use mapAsMap: true to avoid this.";t.warnings.push(new X.YAMLWarning(e,s))}return e.resolved=i,i}function Hot(t,e){let r=[],n=[];for(let i=0;i<e.items.length;++i){let s=e.items[i];switch(s.type){case X.Type.BLANK_LINE:r.push({before:n.length});break;case X.Type.COMMENT:r.push({comment:s.comment,before:n.length});break;case X.Type.SEQ_ITEM:if(s.error&&t.errors.push(s.error),n.push(Qs(t,s.node)),s.hasProps){let o="Sequence items cannot have tags or anchors before the - indicator";t.errors.push(new X.YAMLSemanticError(s,o))}break;default:s.error&&t.errors.push(s.error),t.errors.push(new X.YAMLSyntaxError(s,`Unexpected ${s.type} node in sequence`))}}return{comments:r,items:n}}function Vot(t,e){let r=[],n=[],i=!1,s,o=null,a="[",u=null;for(let l=0;l<e.items.length;++l){let c=e.items[l];if(typeof c.char=="string"){let{char:f,offset:d}=c;if(f!==":"&&(i||s!==void 0)&&(i&&s===void 0&&(s=a?n.pop():null),n.push(new pt(s)),i=!1,s=void 0,o=null),f===a)a=null;else if(!a&&f==="?")i=!0;else if(a!=="["&&f===":"&&s===void 0){if(a===","){if(s=n.pop(),s instanceof pt){let p="Chaining flow sequence pairs is invalid",h=new X.YAMLSemanticError(e,p);h.offset=d,t.errors.push(h)}if(!i&&typeof o=="number"){let p=c.range?c.range.start:c.offset;p>o+1024&&t.errors.push(Nse(e,s));let{src:h}=u.context;for(let y=o;y<p;++y)if(h[y]===`
|
|
296
|
+
`){let b="Implicit keys of flow sequence pairs need to be on a single line";t.errors.push(new X.YAMLSemanticError(u,b));break}}}else s=null;o=null,i=!1,a=null}else if(a==="["||f!=="]"||l<e.items.length-1){let p=`Flow sequence contains an unexpected ${f}`,h=new X.YAMLSyntaxError(e,p);h.offset=d,t.errors.push(h)}}else if(c.type===X.Type.BLANK_LINE)r.push({before:n.length});else if(c.type===X.Type.COMMENT)Ise(t.errors,c),r.push({comment:c.comment,before:n.length});else{if(a){let d=`Expected a ${a} in flow sequence`;t.errors.push(new X.YAMLSemanticError(c,d))}let f=Qs(t,c);s===void 0?(n.push(f),u=c):(n.push(new pt(s,f)),s=void 0),o=c.range.start,a=","}}return Lse(t.errors,e),s!==void 0&&n.push(new pt(s)),{comments:r,items:n}}Ft.Alias=fs;Ft.Collection=Jt;Ft.Merge=_1;Ft.Node=bn;Ft.Pair=pt;Ft.Scalar=Nr;Ft.YAMLMap=jd;Ft.YAMLSeq=Ys;Ft.addComment=il;Ft.binaryOptions=kot;Ft.boolOptions=Eot;Ft.findPair=Nd;Ft.intOptions=Cot;Ft.isEmptyPath=Pse;Ft.nullOptions=Dot;Ft.resolveMap=jot;Ft.resolveNode=Qs;Ft.resolveSeq=Uot;Ft.resolveString=OT;Ft.strOptions=da;Ft.stringifyNumber=Aot;Ft.stringifyString=Rot;Ft.toJSON=Ks});var PT=m(ci=>{"use strict";var vn=oa(),Xe=$d(),Got={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let r=Xe.resolveString(t,e);if(typeof Buffer=="function")return Buffer.from(r,"base64");if(typeof atob=="function"){let n=atob(r.replace(/[\n\r]/g,"")),i=new Uint8Array(n.length);for(let s=0;s<n.length;++s)i[s]=n.charCodeAt(s);return i}else{let n="This environment does not support reading binary tags; either Buffer or atob is required";return t.errors.push(new vn.YAMLReferenceError(e,n)),null}},options:Xe.binaryOptions,stringify:({comment:t,type:e,value:r},n,i,s)=>{let o;if(typeof Buffer=="function")o=r instanceof Buffer?r.toString("base64"):Buffer.from(r.buffer).toString("base64");else if(typeof btoa=="function"){let a="";for(let u=0;u<r.length;++u)a+=String.fromCharCode(r[u]);o=btoa(a)}else throw new Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(e||(e=Xe.binaryOptions.defaultType),e===vn.Type.QUOTE_DOUBLE)r=o;else{let{lineWidth:a}=Xe.binaryOptions,u=Math.ceil(o.length/a),l=new Array(u);for(let c=0,f=0;c<u;++c,f+=a)l[c]=o.substr(f,a);r=l.join(e===vn.Type.BLOCK_LITERAL?`
|
|
297
|
+
`:" ")}return Xe.stringifyString({comment:t,type:e,value:r},n,i,s)}};function Bse(t,e){let r=Xe.resolveSeq(t,e);for(let n=0;n<r.items.length;++n){let i=r.items[n];if(!(i instanceof Xe.Pair)){if(i instanceof Xe.YAMLMap){if(i.items.length>1){let o="Each pair must have its own sequence indicator";throw new vn.YAMLSemanticError(e,o)}let s=i.items[0]||new Xe.Pair;i.commentBefore&&(s.commentBefore=s.commentBefore?`${i.commentBefore}
|
|
298
|
+
${s.commentBefore}`:i.commentBefore),i.comment&&(s.comment=s.comment?`${i.comment}
|
|
299
|
+
${s.comment}`:i.comment),i=s}r.items[n]=i instanceof Xe.Pair?i:new Xe.Pair(i)}}return r}function Wse(t,e,r){let n=new Xe.YAMLSeq(t);n.tag="tag:yaml.org,2002:pairs";for(let i of e){let s,o;if(Array.isArray(i))if(i.length===2)s=i[0],o=i[1];else throw new TypeError(`Expected [key, value] tuple: ${i}`);else if(i&&i instanceof Object){let u=Object.keys(i);if(u.length===1)s=u[0],o=i[s];else throw new TypeError(`Expected { key: value } tuple: ${i}`)}else s=i;let a=t.createPair(s,o,r);n.items.push(a)}return n}var Kot={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:Bse,createNode:Wse},Js=class extends Xe.YAMLSeq{constructor(){super(),vn._defineProperty(this,"add",Xe.YAMLMap.prototype.add.bind(this)),vn._defineProperty(this,"delete",Xe.YAMLMap.prototype.delete.bind(this)),vn._defineProperty(this,"get",Xe.YAMLMap.prototype.get.bind(this)),vn._defineProperty(this,"has",Xe.YAMLMap.prototype.has.bind(this)),vn._defineProperty(this,"set",Xe.YAMLMap.prototype.set.bind(this)),this.tag=Js.tag}toJSON(e,r){let n=new Map;r&&r.onCreate&&r.onCreate(n);for(let i of this.items){let s,o;if(i instanceof Xe.Pair?(s=Xe.toJSON(i.key,"",r),o=Xe.toJSON(i.value,s,r)):s=Xe.toJSON(i,"",r),n.has(s))throw new Error("Ordered maps must not include duplicate keys");n.set(s,o)}return n}};vn._defineProperty(Js,"tag","tag:yaml.org,2002:omap");function Yot(t,e){let r=Bse(t,e),n=[];for(let{key:i}of r.items)if(i instanceof Xe.Scalar)if(n.includes(i.value)){let s="Ordered maps must not include duplicate keys";throw new vn.YAMLSemanticError(e,s)}else n.push(i.value);return Object.assign(new Js,r)}function Qot(t,e,r){let n=Wse(t,e,r),i=new Js;return i.items=n.items,i}var Jot={identify:t=>t instanceof Map,nodeClass:Js,default:!1,tag:"tag:yaml.org,2002:omap",resolve:Yot,createNode:Qot},Xs=class extends Xe.YAMLMap{constructor(){super(),this.tag=Xs.tag}add(e){let r=e instanceof Xe.Pair?e:new Xe.Pair(e);Xe.findPair(this.items,r.key)||this.items.push(r)}get(e,r){let n=Xe.findPair(this.items,e);return!r&&n instanceof Xe.Pair?n.key instanceof Xe.Scalar?n.key.value:n.key:n}set(e,r){if(typeof r!="boolean")throw new Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof r}`);let n=Xe.findPair(this.items,e);n&&!r?this.items.splice(this.items.indexOf(n),1):!n&&r&&this.items.push(new Xe.Pair(e))}toJSON(e,r){return super.toJSON(e,r,Set)}toString(e,r,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues())return super.toString(e,r,n);throw new Error("Set items must all have null values")}};vn._defineProperty(Xs,"tag","tag:yaml.org,2002:set");function Xot(t,e){let r=Xe.resolveMap(t,e);if(!r.hasAllNullValues())throw new vn.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new Xs,r)}function Zot(t,e,r){let n=new Xs;for(let i of e)n.items.push(t.createPair(i,null,r));return n}var eat={identify:t=>t instanceof Set,nodeClass:Xs,default:!1,tag:"tag:yaml.org,2002:set",resolve:Xot,createNode:Zot},qT=(t,e)=>{let r=e.split(":").reduce((n,i)=>n*60+Number(i),0);return t==="-"?-r:r},zse=({value:t})=>{if(isNaN(t)||!isFinite(t))return Xe.stringifyNumber(t);let e="";t<0&&(e="-",t=Math.abs(t));let r=[t%60];return t<60?r.unshift(0):(t=Math.round((t-r[0])/60),r.unshift(t%60),t>=60&&(t=Math.round((t-r[0])/60),r.unshift(t))),e+r.map(n=>n<10?"0"+String(n):String(n)).join(":").replace(/000000\d*$/,"")},tat={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+)$/,resolve:(t,e,r)=>qT(e,r.replace(/_/g,"")),stringify:zse},rat={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^([-+]?)([0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*)$/,resolve:(t,e,r)=>qT(e,r.replace(/_/g,"")),stringify:zse},nat={identify:t=>t instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^(?:([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?)$"),resolve:(t,e,r,n,i,s,o,a,u)=>{a&&(a=(a+"00").substr(1,3));let l=Date.UTC(e,r-1,n,i||0,s||0,o||0,a||0);if(u&&u!=="Z"){let c=qT(u[0],u.slice(1));Math.abs(c)<30&&(c*=60),l-=6e4*c}return new Date(l)},stringify:({value:t})=>t.toISOString().replace(/((T00:00)?:00)?\.000Z$/,"")};function RT(t){let e=typeof process<"u"&&process.env||{};return t?typeof YAML_SILENCE_DEPRECATION_WARNINGS<"u"?!YAML_SILENCE_DEPRECATION_WARNINGS:!e.YAML_SILENCE_DEPRECATION_WARNINGS:typeof YAML_SILENCE_WARNINGS<"u"?!YAML_SILENCE_WARNINGS:!e.YAML_SILENCE_WARNINGS}function AT(t,e){if(RT(!1)){let r=typeof process<"u"&&process.emitWarning;r?r(t,e):console.warn(e?`${e}: ${t}`:t)}}function iat(t){if(RT(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");AT(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var $se={};function sat(t,e){if(!$se[t]&&RT(!0)){$se[t]=!0;let r=`The option '${t}' will be removed in a future release`;r+=e?`, use '${e}' instead.`:".",AT(r,"DeprecationWarning")}}ci.binary=Got;ci.floatTime=rat;ci.intTime=tat;ci.omap=Jot;ci.pairs=Kot;ci.set=eat;ci.timestamp=nat;ci.warn=AT;ci.warnFileDeprecation=iat;ci.warnOptionDeprecation=sat});var LT=m(roe=>{"use strict";var C1=oa(),Ne=$d(),Vr=PT();function oat(t,e,r){let n=new Ne.YAMLMap(t);if(e instanceof Map)for(let[i,s]of e)n.items.push(t.createPair(i,s,r));else if(e&&typeof e=="object")for(let i of Object.keys(e))n.items.push(t.createPair(i,e[i],r));return typeof t.sortMapEntries=="function"&&n.items.sort(t.sortMapEntries),n}var Wd={createNode:oat,default:!0,nodeClass:Ne.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:Ne.resolveMap};function aat(t,e,r){let n=new Ne.YAMLSeq(t);if(e&&e[Symbol.iterator])for(let i of e){let s=t.createNode(i,r.wrapScalars,null,r);n.items.push(s)}return n}var D1={createNode:aat,default:!0,nodeClass:Ne.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:Ne.resolveSeq},uat={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:Ne.resolveString,stringify(t,e,r,n){return e=Object.assign({actualString:!0},e),Ne.stringifyString(t,e,r,n)},options:Ne.strOptions},MT=[Wd,D1,uat],O1=t=>typeof t=="bigint"||Number.isInteger(t),FT=(t,e,r)=>Ne.intOptions.asBigInt?BigInt(t):parseInt(e,r);function Vse(t,e,r){let{value:n}=t;return O1(n)&&n>=0?r+n.toString(e):Ne.stringifyNumber(t)}var Gse={identify:t=>t==null,createNode:(t,e,r)=>r.wrapScalars?new Ne.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:Ne.nullOptions,stringify:()=>Ne.nullOptions.nullStr},Kse={identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:t=>t[0]==="t"||t[0]==="T",options:Ne.boolOptions,stringify:({value:t})=>t?Ne.boolOptions.trueStr:Ne.boolOptions.falseStr},Yse={identify:t=>O1(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>FT(t,e,8),options:Ne.intOptions,stringify:t=>Vse(t,8,"0o")},Qse={identify:O1,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>FT(t,t,10),options:Ne.intOptions,stringify:Ne.stringifyNumber},Jse={identify:t=>O1(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x([0-9a-fA-F]+)$/,resolve:(t,e)=>FT(t,e,16),options:Ne.intOptions,stringify:t=>Vse(t,16,"0x")},Xse={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ne.stringifyNumber},Zse={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t),stringify:({value:t})=>Number(t).toExponential()},eoe={identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.([0-9]+)|[0-9]+\.([0-9]*))$/,resolve(t,e,r){let n=e||r,i=new Ne.Scalar(parseFloat(t));return n&&n[n.length-1]==="0"&&(i.minFractionDigits=n.length),i},stringify:Ne.stringifyNumber},lat=MT.concat([Gse,Kse,Yse,Qse,Jse,Xse,Zse,eoe]),Use=t=>typeof t=="bigint"||Number.isInteger(t),k1=({value:t})=>JSON.stringify(t),toe=[Wd,D1,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:Ne.resolveString,stringify:k1},{identify:t=>t==null,createNode:(t,e,r)=>r.wrapScalars?new Ne.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:k1},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^true|false$/,resolve:t=>t==="true",stringify:k1},{identify:Use,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>Ne.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>Use(t)?t.toString():JSON.stringify(t)},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:t=>parseFloat(t),stringify:k1}];toe.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var Hse=({value:t})=>t?Ne.boolOptions.trueStr:Ne.boolOptions.falseStr,Bd=t=>typeof t=="bigint"||Number.isInteger(t);function E1(t,e,r){let n=e.replace(/_/g,"");if(Ne.intOptions.asBigInt){switch(r){case 2:n=`0b${n}`;break;case 8:n=`0o${n}`;break;case 16:n=`0x${n}`;break}let s=BigInt(n);return t==="-"?BigInt(-1)*s:s}let i=parseInt(n,r);return t==="-"?-1*i:i}function TT(t,e,r){let{value:n}=t;if(Bd(n)){let i=n.toString(e);return n<0?"-"+r+i.substr(1):r+i}return Ne.stringifyNumber(t)}var cat=MT.concat([{identify:t=>t==null,createNode:(t,e,r)=>r.wrapScalars?new Ne.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:Ne.nullOptions,stringify:()=>Ne.nullOptions.nullStr},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>!0,options:Ne.boolOptions,stringify:Hse},{identify:t=>typeof t=="boolean",default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/i,resolve:()=>!1,options:Ne.boolOptions,stringify:Hse},{identify:Bd,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,r)=>E1(e,r,2),stringify:t=>TT(t,2,"0b")},{identify:Bd,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,r)=>E1(e,r,8),stringify:t=>TT(t,8,"0")},{identify:Bd,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,r)=>E1(e,r,10),stringify:Ne.stringifyNumber},{identify:Bd,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^([-+]?)0x([0-9a-fA-F_]+)$/,resolve:(t,e,r)=>E1(e,r,16),stringify:t=>TT(t,16,"0x")},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.inf|(\.nan))$/i,resolve:(t,e)=>e?NaN:t[0]==="-"?Number.NEGATIVE_INFINITY:Number.POSITIVE_INFINITY,stringify:Ne.stringifyNumber},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?([0-9][0-9_]*)?(\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:t=>parseFloat(t.replace(/_/g,"")),stringify:({value:t})=>Number(t).toExponential()},{identify:t=>typeof t=="number",default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.([0-9_]*)$/,resolve(t,e){let r=new Ne.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let n=e.replace(/_/g,"");n[n.length-1]==="0"&&(r.minFractionDigits=n.length)}return r},stringify:Ne.stringifyNumber}],Vr.binary,Vr.omap,Vr.pairs,Vr.set,Vr.intTime,Vr.floatTime,Vr.timestamp),fat={core:lat,failsafe:MT,json:toe,yaml11:cat},dat={binary:Vr.binary,bool:Kse,float:eoe,floatExp:Zse,floatNaN:Xse,floatTime:Vr.floatTime,int:Qse,intHex:Jse,intOct:Yse,intTime:Vr.intTime,map:Wd,null:Gse,omap:Vr.omap,pairs:Vr.pairs,seq:D1,set:Vr.set,timestamp:Vr.timestamp};function pat(t,e,r){if(e){let n=r.filter(s=>s.tag===e),i=n.find(s=>!s.format)||n[0];if(!i)throw new Error(`Tag ${e} not found`);return i}return r.find(n=>(n.identify&&n.identify(t)||n.class&&t instanceof n.class)&&!n.format)}function hat(t,e,r){if(t instanceof Ne.Node)return t;let{defaultPrefix:n,onTagObj:i,prevObjects:s,schema:o,wrapScalars:a}=r;e&&e.startsWith("!!")&&(e=n+e.slice(2));let u=pat(t,e,o.tags);if(!u){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new Ne.Scalar(t):t;u=t instanceof Map?Wd:t[Symbol.iterator]?D1:Wd}i&&(i(u),delete r.onTagObj);let l={value:void 0,node:void 0};if(t&&typeof t=="object"&&s){let c=s.get(t);if(c){let f=new Ne.Alias(c);return r.aliasNodes.push(f),f}l.value=t,s.set(t,l)}return l.node=u.createNode?u.createNode(r.schema,t,r):a?new Ne.Scalar(t):t,e&&l.node instanceof Ne.Node&&(l.node.tag=e),l.node}function gat(t,e,r,n){let i=t[n.replace(/\W/g,"")];if(!i){let s=Object.keys(t).map(o=>JSON.stringify(o)).join(", ");throw new Error(`Unknown schema "${n}"; use one of ${s}`)}if(Array.isArray(r))for(let s of r)i=i.concat(s);else typeof r=="function"&&(i=r(i.slice()));for(let s=0;s<i.length;++s){let o=i[s];if(typeof o=="string"){let a=e[o];if(!a){let u=Object.keys(e).map(l=>JSON.stringify(l)).join(", ");throw new Error(`Unknown custom tag "${o}"; use one of ${u}`)}i[s]=a}}return i}var mat=(t,e)=>t.key<e.key?-1:t.key>e.key?1:0,pa=class{constructor({customTags:e,merge:r,schema:n,sortMapEntries:i,tags:s}){this.merge=!!r,this.name=n,this.sortMapEntries=i===!0?mat:i||null,!e&&s&&Vr.warnOptionDeprecation("tags","customTags"),this.tags=gat(fat,dat,e||s,n)}createNode(e,r,n,i){let s={defaultPrefix:pa.defaultPrefix,schema:this,wrapScalars:r},o=i?Object.assign(i,s):s;return hat(e,n,o)}createPair(e,r,n){n||(n={wrapScalars:!0});let i=this.createNode(e,n.wrapScalars,null,n),s=this.createNode(r,n.wrapScalars,null,n);return new Ne.Pair(i,s)}};C1._defineProperty(pa,"defaultPrefix",C1.defaultTagPrefix);C1._defineProperty(pa,"defaultTags",C1.defaultTags);roe.Schema=pa});var ooe=m(A1=>{"use strict";var Gr=oa(),$e=$d(),noe=LT(),yat={anchorPrefix:"a",customTags:null,indent:2,indentSeq:!0,keepCstNodes:!1,keepNodeTypes:!0,keepBlobsInJSON:!0,mapAsMap:!1,maxAliasCount:100,prettyErrors:!1,simpleKeys:!1,version:"1.2"},bat={get binary(){return $e.binaryOptions},set binary(t){Object.assign($e.binaryOptions,t)},get bool(){return $e.boolOptions},set bool(t){Object.assign($e.boolOptions,t)},get int(){return $e.intOptions},set int(t){Object.assign($e.intOptions,t)},get null(){return $e.nullOptions},set null(t){Object.assign($e.nullOptions,t)},get str(){return $e.strOptions},set str(t){Object.assign($e.strOptions,t)}},soe={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Gr.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Gr.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Gr.defaultTagPrefix}]}};function ioe(t,e){if((t.version||t.options.version)==="1.0"){let i=e.match(/^tag:private\.yaml\.org,2002:([^:/]+)$/);if(i)return"!"+i[1];let s=e.match(/^tag:([a-zA-Z0-9-]+)\.yaml\.org,2002:(.*)/);return s?`!${s[1]}/${s[2]}`:`!${e.replace(/^tag:/,"")}`}let r=t.tagPrefixes.find(i=>e.indexOf(i.prefix)===0);if(!r){let i=t.getDefaults().tagPrefixes;r=i&&i.find(s=>e.indexOf(s.prefix)===0)}if(!r)return e[0]==="!"?e:`!<${e}>`;let n=e.substr(r.prefix.length).replace(/[!,[\]{}]/g,i=>({"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"})[i]);return r.handle+n}function vat(t,e){if(e instanceof $e.Alias)return $e.Alias;if(e.tag){let i=t.filter(s=>s.tag===e.tag);if(i.length>0)return i.find(s=>s.format===e.format)||i[0]}let r,n;if(e instanceof $e.Scalar){n=e.value;let i=t.filter(s=>s.identify&&s.identify(n)||s.class&&n instanceof s.class);r=i.find(s=>s.format===e.format)||i.find(s=>!s.format)}else n=e,r=t.find(i=>i.nodeClass&&n instanceof i.nodeClass);if(!r){let i=n&&n.constructor?n.constructor.name:typeof n;throw new Error(`Tag not resolved for ${i} value`)}return r}function wat(t,e,{anchors:r,doc:n}){let i=[],s=n.anchors.getName(t);return s&&(r[s]=t,i.push(`&${s}`)),t.tag?i.push(ioe(n,t.tag)):e.default||i.push(ioe(n,e.tag)),i.join(" ")}function q1(t,e,r,n){let{anchors:i,schema:s}=e.doc,o;if(!(t instanceof $e.Node)){let l={aliasNodes:[],onTagObj:c=>o=c,prevObjects:new Map};t=s.createNode(t,!0,null,l);for(let c of l.aliasNodes){c.source=c.source.node;let f=i.getName(c.source);f||(f=i.newName(),i.map[f]=c.source)}}if(t instanceof $e.Pair)return t.toString(e,r,n);o||(o=vat(s.tags,t));let a=wat(t,o,e);a.length>0&&(e.indentAtStart=(e.indentAtStart||0)+a.length+1);let u=typeof o.stringify=="function"?o.stringify(t,e,r,n):t instanceof $e.Scalar?$e.stringifyString(t,e,r,n):t.toString(e,r,n);return a?t instanceof $e.Scalar||u[0]==="{"||u[0]==="["?`${a} ${u}`:`${a}
|
|
300
|
+
${e.indent}${u}`:u}var zd=class{static validAnchorNode(e){return e instanceof $e.Scalar||e instanceof $e.YAMLSeq||e instanceof $e.YAMLMap}constructor(e){Gr._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,r){return this.setAnchor(e,r),new $e.Alias(e)}createMergePair(...e){let r=new $e.Merge;return r.value.items=e.map(n=>{if(n instanceof $e.Alias){if(n.source instanceof $e.YAMLMap)return n}else if(n instanceof $e.YAMLMap)return this.createAlias(n);throw new Error("Merge sources must be Map nodes or their Aliases")}),r}getName(e){let{map:r}=this;return Object.keys(r).find(n=>r[n]===e)}getNames(){return Object.keys(this.map)}getNode(e){return this.map[e]}newName(e){e||(e=this.prefix);let r=Object.keys(this.map);for(let n=1;;++n){let i=`${e}${n}`;if(!r.includes(i))return i}}resolveNodes(){let{map:e,_cstAliases:r}=this;Object.keys(e).forEach(n=>{e[n]=e[n].resolved}),r.forEach(n=>{n.source=n.source.resolved}),delete this._cstAliases}setAnchor(e,r){if(e!=null&&!zd.validAnchorNode(e))throw new Error("Anchors may only be set for Scalar, Seq and Map nodes");if(r&&/[\x00-\x19\s,[\]{}]/.test(r))throw new Error("Anchor names must not contain whitespace or control characters");let{map:n}=this,i=e&&Object.keys(n).find(s=>n[s]===e);if(i)if(r)i!==r&&(delete n[i],n[r]=e);else return i;else{if(!r){if(!e)return null;r=this.newName()}n[r]=e}return r}},R1=(t,e)=>{if(t&&typeof t=="object"){let{tag:r}=t;t instanceof $e.Collection?(r&&(e[r]=!0),t.items.forEach(n=>R1(n,e))):t instanceof $e.Pair?(R1(t.key,e),R1(t.value,e)):t instanceof $e.Scalar&&r&&(e[r]=!0)}return e},_at=t=>Object.keys(R1(t,{}));function xat(t,e){let r={before:[],after:[]},n,i=!1;for(let s of e)if(s.valueRange){if(n!==void 0){let a="Document contains trailing content not separated by a ... or --- line";t.errors.push(new Gr.YAMLSyntaxError(s,a));break}let o=$e.resolveNode(t,s);i&&(o.spaceBefore=!0,i=!1),n=o}else s.comment!==null?(n===void 0?r.before:r.after).push(s.comment):s.type===Gr.Type.BLANK_LINE&&(i=!0,n===void 0&&r.before.length>0&&!t.commentBefore&&(t.commentBefore=r.before.join(`
|
|
301
|
+
`),r.before=[]));if(t.contents=n||null,!n)t.comment=r.before.concat(r.after).join(`
|
|
302
|
+
`)||null;else{let s=r.before.join(`
|
|
303
|
+
`);if(s){let o=n instanceof $e.Collection&&n.items[0]?n.items[0]:n;o.commentBefore=o.commentBefore?`${s}
|
|
304
|
+
${o.commentBefore}`:s}t.comment=r.after.join(`
|
|
305
|
+
`)||null}}function Sat({tagPrefixes:t},e){let[r,n]=e.parameters;if(!r||!n){let i="Insufficient parameters given for %TAG directive";throw new Gr.YAMLSemanticError(e,i)}if(t.some(i=>i.handle===r)){let i="The %TAG directive must only be given at most once per handle in the same document.";throw new Gr.YAMLSemanticError(e,i)}return{handle:r,prefix:n}}function kat(t,e){let[r]=e.parameters;if(e.name==="YAML:1.0"&&(r="1.0"),!r){let n="Insufficient parameters given for %YAML directive";throw new Gr.YAMLSemanticError(e,n)}if(!soe[r]){let i=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${r}`;t.warnings.push(new Gr.YAMLWarning(e,i))}return r}function Eat(t,e,r){let n=[],i=!1;for(let s of e){let{comment:o,name:a}=s;switch(a){case"TAG":try{t.tagPrefixes.push(Sat(t,s))}catch(u){t.errors.push(u)}i=!0;break;case"YAML":case"YAML:1.0":if(t.version){let u="The %YAML directive must only be given at most once per document.";t.errors.push(new Gr.YAMLSemanticError(s,u))}try{t.version=kat(t,s)}catch(u){t.errors.push(u)}i=!0;break;default:if(a){let u=`YAML only supports %TAG and %YAML directives, and not %${a}`;t.warnings.push(new Gr.YAMLWarning(s,u))}}o&&n.push(o)}if(r&&!i&&(t.version||r.version||t.options.version)==="1.1"){let s=({handle:o,prefix:a})=>({handle:o,prefix:a});t.tagPrefixes=r.tagPrefixes.map(s),t.version=r.version}t.commentBefore=n.join(`
|
|
306
|
+
`)||null}function sl(t){if(t instanceof $e.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var ha=class{constructor(e){this.anchors=new zd(e.anchorPrefix),this.commentBefore=null,this.comment=null,this.contents=null,this.directivesEndMarker=null,this.errors=[],this.options=e,this.schema=null,this.tagPrefixes=[],this.version=null,this.warnings=[]}add(e){return sl(this.contents),this.contents.add(e)}addIn(e,r){sl(this.contents),this.contents.addIn(e,r)}delete(e){return sl(this.contents),this.contents.delete(e)}deleteIn(e){return $e.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(sl(this.contents),this.contents.deleteIn(e))}getDefaults(){return ha.defaults[this.version]||ha.defaults[this.options.version]||{}}get(e,r){return this.contents instanceof $e.Collection?this.contents.get(e,r):void 0}getIn(e,r){return $e.isEmptyPath(e)?!r&&this.contents instanceof $e.Scalar?this.contents.value:this.contents:this.contents instanceof $e.Collection?this.contents.getIn(e,r):void 0}has(e){return this.contents instanceof $e.Collection?this.contents.has(e):!1}hasIn(e){return $e.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof $e.Collection?this.contents.hasIn(e):!1}set(e,r){sl(this.contents),this.contents.set(e,r)}setIn(e,r){$e.isEmptyPath(e)?this.contents=r:(sl(this.contents),this.contents.setIn(e,r))}setSchema(e,r){if(!e&&!r&&this.schema)return;typeof e=="number"&&(e=e.toFixed(1)),e==="1.0"||e==="1.1"||e==="1.2"?(this.version?this.version=e:this.options.version=e,delete this.options.schema):e&&typeof e=="string"&&(this.options.schema=e),Array.isArray(r)&&(this.options.customTags=r);let n=Object.assign({},this.getDefaults(),this.options);this.schema=new noe.Schema(n)}parse(e,r){this.options.keepCstNodes&&(this.cstNode=e),this.options.keepNodeTypes&&(this.type="DOCUMENT");let{directives:n=[],contents:i=[],directivesEndMarker:s,error:o,valueRange:a}=e;if(o&&(o.source||(o.source=this),this.errors.push(o)),Eat(this,n,r),s&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],xat(this,i),this.anchors.resolveNodes(),this.options.prettyErrors){for(let u of this.errors)u instanceof Gr.YAMLError&&u.makePretty();for(let u of this.warnings)u instanceof Gr.YAMLError&&u.makePretty()}return this}listNonDefaultTags(){return _at(this.contents).filter(e=>e.indexOf(noe.Schema.defaultPrefix)!==0)}setTagPrefix(e,r){if(e[0]!=="!"||e[e.length-1]!=="!")throw new Error("Handle must start and end with !");if(r){let n=this.tagPrefixes.find(i=>i.handle===e);n?n.prefix=r:this.tagPrefixes.push({handle:e,prefix:r})}else this.tagPrefixes=this.tagPrefixes.filter(n=>n.handle!==e)}toJSON(e,r){let{keepBlobsInJSON:n,mapAsMap:i,maxAliasCount:s}=this.options,o=n&&(typeof e!="string"||!(this.contents instanceof $e.Scalar)),a={doc:this,indentStep:" ",keep:o,mapAsMap:o&&!!i,maxAliasCount:s,stringify:q1},u=Object.keys(this.anchors.map);u.length>0&&(a.anchors=new Map(u.map(c=>[this.anchors.map[c],{alias:[],aliasCount:0,count:1}])));let l=$e.toJSON(this.contents,e,a);if(typeof r=="function"&&a.anchors)for(let{count:c,res:f}of a.anchors.values())r(f,c);return l}toString(){if(this.errors.length>0)throw new Error("Document with errors cannot be stringified");let e=this.options.indent;if(!Number.isInteger(e)||e<=0){let u=JSON.stringify(e);throw new Error(`"indent" option must be a positive integer, not ${u}`)}this.setSchema();let r=[],n=!1;if(this.version){let u="%YAML 1.2";this.schema.name==="yaml-1.1"&&(this.version==="1.0"?u="%YAML:1.0":this.version==="1.1"&&(u="%YAML 1.1")),r.push(u),n=!0}let i=this.listNonDefaultTags();this.tagPrefixes.forEach(({handle:u,prefix:l})=>{i.some(c=>c.indexOf(l)===0)&&(r.push(`%TAG ${u} ${l}`),n=!0)}),(n||this.directivesEndMarker)&&r.push("---"),this.commentBefore&&((n||!this.directivesEndMarker)&&r.unshift(""),r.unshift(this.commentBefore.replace(/^/gm,"#")));let s={anchors:Object.create(null),doc:this,indent:"",indentStep:" ".repeat(e),stringify:q1},o=!1,a=null;if(this.contents){this.contents instanceof $e.Node&&(this.contents.spaceBefore&&(n||this.directivesEndMarker)&&r.push(""),this.contents.commentBefore&&r.push(this.contents.commentBefore.replace(/^/gm,"#")),s.forceBlockIndent=!!this.comment,a=this.contents.comment);let u=a?null:()=>o=!0,l=q1(this.contents,s,()=>a=null,u);r.push($e.addComment(l,"",a))}else this.contents!==void 0&&r.push(q1(this.contents,s));return this.comment&&((!o||a)&&r[r.length-1]!==""&&r.push(""),r.push(this.comment.replace(/^/gm,"#"))),r.join(`
|
|
307
|
+
`)+`
|
|
308
|
+
`}};Gr._defineProperty(ha,"defaults",soe);A1.Document=ha;A1.defaultOptions=yat;A1.scalarOptions=bat});var loe=m(uoe=>{"use strict";var IT=Ose(),ga=ooe(),Cat=LT(),Dat=oa(),Oat=PT();$d();function qat(t,e=!0,r){r===void 0&&typeof e=="string"&&(r=e,e=!0);let n=Object.assign({},ga.Document.defaults[ga.defaultOptions.version],ga.defaultOptions);return new Cat.Schema(n).createNode(t,e,r)}var ol=class extends ga.Document{constructor(e){super(Object.assign({},ga.defaultOptions,e))}};function Rat(t,e){let r=[],n;for(let i of IT.parse(t)){let s=new ol(e);s.parse(i,n),r.push(s),n=s}return r}function aoe(t,e){let r=IT.parse(t),n=new ol(e).parse(r[0]);if(r.length>1){let i="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new Dat.YAMLSemanticError(r[1],i))}return n}function Aat(t,e){let r=aoe(t,e);if(r.warnings.forEach(n=>Oat.warn(n)),r.errors.length>0)throw r.errors[0];return r.toJSON()}function Pat(t,e){let r=new ol(e);return r.contents=t,String(r)}var Tat={createNode:qat,defaultOptions:ga.defaultOptions,Document:ol,parse:Aat,parseAllDocuments:Rat,parseCST:IT.parse,parseDocument:aoe,scalarOptions:ga.scalarOptions,stringify:Pat};uoe.YAML=Tat});var foe=m((RLt,coe)=>{coe.exports=loe().YAML});var BT=m(P1=>{"use strict";Object.defineProperty(P1,"__esModule",{value:!0});P1.loaders=void 0;var NT,Mat=function(e){return NT===void 0&&(NT=gie()),NT(e)},jT,Fat=function(e,r){jT===void 0&&(jT=kse());try{return jT(r)}catch(n){throw n.message=`JSON Error in ${e}:
|
|
309
|
+
${n.message}`,n}},$T,Lat=function(e,r){$T===void 0&&($T=foe());try{return $T.parse(r,{prettyErrors:!0})}catch(n){throw n.message=`YAML Error in ${e}:
|
|
310
|
+
${n.message}`,n}},Iat={loadJs:Mat,loadJson:Fat,loadYaml:Lat};P1.loaders=Iat});var doe=m(WT=>{"use strict";Object.defineProperty(WT,"__esModule",{value:!0});WT.getPropertyByPath=Nat;function Nat(t,e){return typeof e=="string"&&Object.prototype.hasOwnProperty.call(t,e)?t[e]:(typeof e=="string"?e.split("."):e).reduce((n,i)=>n===void 0?n:n[i],t)}});var UT=m(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.ExplorerBase=void 0;Hd.getExtensionDescription=T1;var Ud=Bat(require("path")),jat=BT(),$at=doe();function Bat(t){return t&&t.__esModule?t:{default:t}}var zT=class{constructor(e){e.cache===!0&&(this.loadCache=new Map,this.searchCache=new Map),this.config=e,this.validateConfig()}clearLoadCache(){this.loadCache&&this.loadCache.clear()}clearSearchCache(){this.searchCache&&this.searchCache.clear()}clearCaches(){this.clearLoadCache(),this.clearSearchCache()}validateConfig(){let e=this.config;e.searchPlaces.forEach(r=>{let n=Ud.default.extname(r)||"noExt",i=e.loaders[n];if(!i)throw new Error(`No loader specified for ${T1(r)}, so searchPlaces item "${r}" is invalid`);if(typeof i!="function")throw new Error(`loader for ${T1(r)} is not a function (type provided: "${typeof i}"), so searchPlaces item "${r}" is invalid`)})}shouldSearchStopWithResult(e){return!(e===null||e.isEmpty&&this.config.ignoreEmptySearchPlaces)}nextDirectoryToSearch(e,r){if(this.shouldSearchStopWithResult(r))return null;let n=Wat(e);return n===e||e===this.config.stopDir?null:n}loadPackageProp(e,r){let n=jat.loaders.loadJson(e,r);return(0,$at.getPropertyByPath)(n,this.config.packageProp)||null}getLoaderEntryForFile(e){if(Ud.default.basename(e)==="package.json")return this.loadPackageProp.bind(this);let r=Ud.default.extname(e)||"noExt",n=this.config.loaders[r];if(!n)throw new Error(`No loader specified for ${T1(e)}`);return n}loadedContentToCosmiconfigResult(e,r){return r===null?null:r===void 0?{filepath:e,config:void 0,isEmpty:!0}:{config:r,filepath:e}}validateFilePath(e){if(!e)throw new Error("load must pass a non-empty string")}};Hd.ExplorerBase=zT;function Wat(t){return Ud.default.dirname(t)}function T1(t){let e=Ud.default.extname(t);return e?`extension "${e}"`:"files without extensions"}});var HT=m(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.readFile=Hat;M1.readFileSync=Vat;var poe=zat(require("fs"));function zat(t){return t&&t.__esModule?t:{default:t}}async function Uat(t,e){return new Promise((r,n)=>{poe.default.readFile(t,e,(i,s)=>{if(i){n(i);return}r(s)})})}async function Hat(t,e={}){let r=e.throwNotFound===!0;try{return await Uat(t,"utf8")}catch(n){if(r===!1&&(n.code==="ENOENT"||n.code==="EISDIR"))return null;throw n}}function Vat(t,e={}){let r=e.throwNotFound===!0;try{return poe.default.readFileSync(t,"utf8")}catch(n){if(r===!1&&(n.code==="ENOENT"||n.code==="EISDIR"))return null;throw n}}});var VT=m(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});F1.cacheWrapper=Gat;F1.cacheWrapperSync=Kat;async function Gat(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=await r();return t.set(e,i),i}function Kat(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=r();return t.set(e,i),i}});var YT=m(ma=>{"use strict";var{promisify:Yat}=require("util"),hoe=require("fs");async function GT(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await Yat(hoe[t])(r))[e]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function KT(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return hoe[t](r)[e]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}ma.isFile=GT.bind(null,"stat","isFile");ma.isDirectory=GT.bind(null,"stat","isDirectory");ma.isSymlink=GT.bind(null,"lstat","isSymbolicLink");ma.isFileSync=KT.bind(null,"statSync","isFile");ma.isDirectorySync=KT.bind(null,"statSync","isDirectory");ma.isSymlinkSync=KT.bind(null,"lstatSync","isSymbolicLink")});var QT=m(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});L1.getDirectory=Jat;L1.getDirectorySync=Xat;var goe=Qat(require("path")),moe=YT();function Qat(t){return t&&t.__esModule?t:{default:t}}async function Jat(t){return await(0,moe.isDirectory)(t)===!0?t:goe.default.dirname(t)}function Xat(t){return(0,moe.isDirectorySync)(t)===!0?t:goe.default.dirname(t)}});var voe=m(I1=>{"use strict";Object.defineProperty(I1,"__esModule",{value:!0});I1.Explorer=void 0;var JT=tut(require("path")),Zat=UT(),yoe=HT(),boe=VT(),eut=QT();function tut(t){return t&&t.__esModule?t:{default:t}}var XT=class extends Zat.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){let r=await(0,eut.getDirectory)(e);return await this.searchFromDirectory(r)}async searchFromDirectory(e){let r=JT.default.resolve(process.cwd(),e),n=async()=>{let i=await this.searchDirectory(r),s=this.nextDirectoryToSearch(r,i);return s?this.searchFromDirectory(s):await this.config.transform(i)};return this.searchCache?(0,boe.cacheWrapper)(this.searchCache,r,n):n()}async searchDirectory(e){for await(let r of this.config.searchPlaces){let n=await this.loadSearchPlace(e,r);if(this.shouldSearchStopWithResult(n)===!0)return n}return null}async loadSearchPlace(e,r){let n=JT.default.join(e,r),i=await(0,yoe.readFile)(n);return await this.createCosmiconfigResult(n,i)}async loadFileContent(e,r){return r===null?null:r.trim()===""?void 0:await this.getLoaderEntryForFile(e)(e,r)}async createCosmiconfigResult(e,r){let n=await this.loadFileContent(e,r);return this.loadedContentToCosmiconfigResult(e,n)}async load(e){this.validateFilePath(e);let r=JT.default.resolve(process.cwd(),e),n=async()=>{let i=await(0,yoe.readFile)(r,{throwNotFound:!0}),s=await this.createCosmiconfigResult(r,i);return await this.config.transform(s)};return this.loadCache?(0,boe.cacheWrapper)(this.loadCache,r,n):n()}};I1.Explorer=XT});var xoe=m(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});N1.ExplorerSync=void 0;var ZT=iut(require("path")),rut=UT(),woe=HT(),_oe=VT(),nut=QT();function iut(t){return t&&t.__esModule?t:{default:t}}var eM=class extends rut.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){let r=(0,nut.getDirectorySync)(e);return this.searchFromDirectorySync(r)}searchFromDirectorySync(e){let r=ZT.default.resolve(process.cwd(),e),n=()=>{let i=this.searchDirectorySync(r),s=this.nextDirectoryToSearch(r,i);return s?this.searchFromDirectorySync(s):this.config.transform(i)};return this.searchCache?(0,_oe.cacheWrapperSync)(this.searchCache,r,n):n()}searchDirectorySync(e){for(let r of this.config.searchPlaces){let n=this.loadSearchPlaceSync(e,r);if(this.shouldSearchStopWithResult(n)===!0)return n}return null}loadSearchPlaceSync(e,r){let n=ZT.default.join(e,r),i=(0,woe.readFileSync)(n);return this.createCosmiconfigResultSync(n,i)}loadFileContentSync(e,r){return r===null?null:r.trim()===""?void 0:this.getLoaderEntryForFile(e)(e,r)}createCosmiconfigResultSync(e,r){let n=this.loadFileContentSync(e,r);return this.loadedContentToCosmiconfigResult(e,n)}loadSync(e){this.validateFilePath(e);let r=ZT.default.resolve(process.cwd(),e),n=()=>{let i=(0,woe.readFileSync)(r,{throwNotFound:!0}),s=this.createCosmiconfigResultSync(r,i);return this.config.transform(s)};return this.loadCache?(0,_oe.cacheWrapperSync)(this.loadCache,r,n):n()}};N1.ExplorerSync=eM});var koe=m(Soe=>{"use strict";Object.defineProperty(Soe,"__esModule",{value:!0})});var tM=m(ul=>{"use strict";Object.defineProperty(ul,"__esModule",{value:!0});ul.cosmiconfig=lut;ul.cosmiconfigSync=cut;ul.defaultLoaders=void 0;var sut=uut(require("os")),out=voe(),aut=xoe(),al=BT(),BLt=koe();function uut(t){return t&&t.__esModule?t:{default:t}}function lut(t,e={}){let r=Coe(t,e),n=new out.Explorer(r);return{search:n.search.bind(n),load:n.load.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}function cut(t,e={}){let r=Coe(t,e),n=new aut.ExplorerSync(r);return{search:n.searchSync.bind(n),load:n.loadSync.bind(n),clearLoadCache:n.clearLoadCache.bind(n),clearSearchCache:n.clearSearchCache.bind(n),clearCaches:n.clearCaches.bind(n)}}var Eoe=Object.freeze({".cjs":al.loaders.loadJs,".js":al.loaders.loadJs,".json":al.loaders.loadJson,".yaml":al.loaders.loadYaml,".yml":al.loaders.loadYaml,noExt:al.loaders.loadYaml});ul.defaultLoaders=Eoe;var fut=function(e){return e};function Coe(t,e){let r={packageProp:t,searchPlaces:["package.json",`.${t}rc`,`.${t}rc.json`,`.${t}rc.yaml`,`.${t}rc.yml`,`.${t}rc.js`,`.${t}rc.cjs`,`.config/${t}rc`,`.config/${t}rc.json`,`.config/${t}rc.yaml`,`.config/${t}rc.yml`,`.config/${t}rc.js`,`.config/${t}rc.cjs`,`${t}.config.js`,`${t}.config.cjs`],ignoreEmptySearchPlaces:!0,stopDir:sut.default.homedir(),cache:!0,transform:fut,loaders:Eoe};return{...r,...e,loaders:{...r.loaders,...e.loaders}}}});var Roe=m(ya=>{ya.parse=ya.decode=dut;ya.stringify=ya.encode=Doe;ya.safe=ll;ya.unsafe=j1;var rM=typeof process<"u"&&process.platform==="win32"?`\r
|
|
311
|
+
`:`
|
|
312
|
+
`;function Doe(t,e){var r=[],n="";typeof e=="string"?e={section:e,whitespace:!1}:(e=e||{},e.whitespace=e.whitespace===!0);var i=e.whitespace?" = ":"=";return Object.keys(t).forEach(function(s,o,a){var u=t[s];u&&Array.isArray(u)?u.forEach(function(l){n+=ll(s+"[]")+i+ll(l)+`
|
|
313
|
+
`}):u&&typeof u=="object"?r.push(s):n+=ll(s)+i+ll(u)+rM}),e.section&&n.length&&(n="["+ll(e.section)+"]"+rM+n),r.forEach(function(s,o,a){var u=Ooe(s).join("\\."),l=(e.section?e.section+".":"")+u,c=Doe(t[s],{section:l,whitespace:e.whitespace});n.length&&c.length&&(n+=rM),n+=c}),n}function Ooe(t){return t.replace(/\1/g,"LITERAL\\1LITERAL").replace(/\\\./g,"").split(/\./).map(function(e){return e.replace(/\1/g,"\\.").replace(/\2LITERAL\\1LITERAL\2/g,"")})}function dut(t){var e={},r=e,n=null,i=/^\[([^\]]*)\]$|^([^=]+)(=(.*))?$/i,s=t.split(/[\r\n]+/g);return s.forEach(function(o,a,u){if(!(!o||o.match(/^\s*[;#]/))){var l=o.match(i);if(l){if(l[1]!==void 0){if(n=j1(l[1]),n==="__proto__"){r={};return}r=e[n]=e[n]||{};return}var c=j1(l[2]);if(c!=="__proto__"){var f=l[3]?j1(l[4]):!0;switch(f){case"true":case"false":case"null":f=JSON.parse(f)}if(c.length>2&&c.slice(-2)==="[]"){if(c=c.substring(0,c.length-2),c==="__proto__")return;r[c]?Array.isArray(r[c])||(r[c]=[r[c]]):r[c]=[]}Array.isArray(r[c])?r[c].push(f):r[c]=f}}}}),Object.keys(e).filter(function(o,a,u){if(!e[o]||typeof e[o]!="object"||Array.isArray(e[o]))return!1;var l=Ooe(o),c=e,f=l.pop(),d=f.replace(/\\\./g,".");return l.forEach(function(p,h,y){p!=="__proto__"&&((!c[p]||typeof c[p]!="object")&&(c[p]={}),c=c[p])}),c===e&&d===f?!1:(c[d]=e[o],!0)}).forEach(function(o,a,u){delete e[o]}),e}function qoe(t){return t.charAt(0)==='"'&&t.slice(-1)==='"'||t.charAt(0)==="'"&&t.slice(-1)==="'"}function ll(t){return typeof t!="string"||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&qoe(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function j1(t,e){if(t=(t||"").trim(),qoe(t)){t.charAt(0)==="'"&&(t=t.substr(1,t.length-2));try{t=JSON.parse(t)}catch{}}else{for(var r=!1,n="",i=0,s=t.length;i<s;i++){var o=t.charAt(i);if(r)"\\;#".indexOf(o)!==-1?n+=o:n+="\\"+o,r=!1;else{if(";#".indexOf(o)!==-1)break;o==="\\"?r=!0:n+=o}}return r&&(n+="\\"),n.trim()}return t}});var Foe=m((ULt,Moe)=>{Moe.exports=Toe;Toe.sync=hut;var Aoe=require("fs");function put(t,e){var r=e.pathExt!==void 0?e.pathExt:process.env.PATHEXT;if(!r||(r=r.split(";"),r.indexOf("")!==-1))return!0;for(var n=0;n<r.length;n++){var i=r[n].toLowerCase();if(i&&t.substr(-i.length).toLowerCase()===i)return!0}return!1}function Poe(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:put(e,r)}function Toe(t,e,r){Aoe.stat(t,function(n,i){r(n,n?!1:Poe(i,t,e))})}function hut(t,e){return Poe(Aoe.statSync(t),t,e)}});var $oe=m((HLt,joe)=>{joe.exports=Ioe;Ioe.sync=gut;var Loe=require("fs");function Ioe(t,e,r){Loe.stat(t,function(n,i){r(n,n?!1:Noe(i,e))})}function gut(t,e){return Noe(Loe.statSync(t),e)}function Noe(t,e){return t.isFile()&&mut(t,e)}function mut(t,e){var r=t.mode,n=t.uid,i=t.gid,s=e.uid!==void 0?e.uid:process.getuid&&process.getuid(),o=e.gid!==void 0?e.gid:process.getgid&&process.getgid(),a=parseInt("100",8),u=parseInt("010",8),l=parseInt("001",8),c=a|u,f=r&l||r&u&&i===o||r&a&&n===s||r&c&&s===0;return f}});var Woe=m((GLt,Boe)=>{var VLt=require("fs"),$1;process.platform==="win32"||global.TESTING_WINDOWS?$1=Foe():$1=$oe();Boe.exports=nM;nM.sync=yut;function nM(t,e,r){if(typeof e=="function"&&(r=e,e={}),!r){if(typeof Promise!="function")throw new TypeError("callback not provided");return new Promise(function(n,i){nM(t,e||{},function(s,o){s?i(s):n(o)})})}$1(t,e||{},function(n,i){n&&(n.code==="EACCES"||e&&e.ignoreErrors)&&(n=null,i=!1),r(n,i)})}function yut(t,e){try{return $1.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var Yoe=m((KLt,Koe)=>{Koe.exports=Goe;Goe.sync=vut;var iM=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",zoe=require("path"),but=iM?";":":",Uoe=Woe();function Hoe(t){var e=new Error("not found: "+t);return e.code="ENOENT",e}function Voe(t,e){var r=e.colon||but,n=e.path||process.env.PATH||"",i=[""];n=n.split(r);var s="";return iM&&(n.unshift(process.cwd()),s=e.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM",i=s.split(r),t.indexOf(".")!==-1&&i[0]!==""&&i.unshift("")),(t.match(/\//)||iM&&t.match(/\\/))&&(n=[""]),{env:n,ext:i,extExe:s}}function Goe(t,e,r){typeof e=="function"&&(r=e,e={});var n=Voe(t,e),i=n.env,s=n.ext,o=n.extExe,a=[];(function u(l,c){if(l===c)return e.all&&a.length?r(null,a):r(Hoe(t));var f=i[l];f.charAt(0)==='"'&&f.slice(-1)==='"'&&(f=f.slice(1,-1));var d=zoe.join(f,t);!f&&/^\.[\\\/]/.test(t)&&(d=t.slice(0,2)+d),function p(h,y){if(h===y)return u(l+1,c);var b=s[h];Uoe(d+b,{pathExt:o},function(g,v){if(!g&&v)if(e.all)a.push(d+b);else return r(null,d+b);return p(h+1,y)})}(0,s.length)})(0,i.length)}function vut(t,e){e=e||{};for(var r=Voe(t,e),n=r.env,i=r.ext,s=r.extExe,o=[],a=0,u=n.length;a<u;a++){var l=n[a];l.charAt(0)==='"'&&l.slice(-1)==='"'&&(l=l.slice(1,-1));var c=zoe.join(l,t);!l&&/^\.[\\\/]/.test(t)&&(c=t.slice(0,2)+c);for(var f=0,d=i.length;f<d;f++){var p=c+i[f],h;try{if(h=Uoe.sync(p,{pathExt:s}),h)if(e.all)o.push(p);else return p}catch{}}}if(e.all&&o.length)return o;if(e.nothrow)return null;throw Hoe(t)}});var Xoe=m((YLt,Joe)=>{"use strict";var Qoe=require("fs"),wut=require("os"),Zs=require("path"),_ut=Roe(),Er,xut=()=>{if(process.env.PREFIX)return process.env.PREFIX;if(Er)return Er;let t=wut.homedir();if(t&&(Er=sM(Zs.resolve(t,".npmrc"))),Er)return Er;let e=Sut();if(e&&(Er=sM(Zs.resolve(e,"..","..","npmrc")),Er&&(Er=sM(Zs.resolve(Er,"etc","npmrc"))||Er)),!Er){let{APPDATA:r,DESTDIR:n,OSTYPE:i}=process.env;if(process.platform==="win32"||i==="msys"||i==="cygwin")return Er=r?Zs.join(r,"npm"):Zs.dirname(process.execPath),Er;Er=Zs.dirname(Zs.dirname(process.execPath)),n&&(Er=Zs.join(n,Er))}return Er};function Sut(){try{return Qoe.realpathSync(Yoe().sync("npm"))}catch{}}function sM(t){try{return _ut.parse(Qoe.readFileSync(t,"utf-8")).prefix}catch{}}Reflect.defineProperty(Joe,"exports",{get(){return xut()}})});var nae=m((QLt,rae)=>{"use strict";var Zoe=require("path"),eae=Xoe(),tae;function kut(){return process.platform==="win32"||process.env.OSTYPE==="msys"||process.env.OSTYPE==="cygwin"?Zoe.resolve(eae,"node_modules"):Zoe.resolve(eae,"lib/node_modules")}Reflect.defineProperty(rae,"exports",{get(){return tae||(tae=kut())}})});var aae=m((JLt,oM)=>{"use strict";var iae=require("path"),sae=require("module"),Eut=require("fs"),oae=(t,e,r)=>{if(typeof t!="string")throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof t}\``);if(typeof e!="string")throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof e}\``);try{t=Eut.realpathSync(t)}catch(s){if(s.code==="ENOENT")t=iae.resolve(t);else{if(r)return;throw s}}let n=iae.join(t,"noop.js"),i=()=>sae._resolveFilename(e,{id:n,filename:n,paths:sae._nodeModulePaths(t)});if(r)try{return i()}catch{return}return i()};oM.exports=(t,e)=>oae(t,e);oM.exports.silent=(t,e)=>oae(t,e,!0)});var lae=m((XLt,uae)=>{"use strict";var Cut=Fc(),Dut=nae(),aM=aae();uae.exports=function(e,r,n=process.cwd()){let i=aM.silent(e,r);if(i||(i=aM.silent(n,r)),i||(i=aM.silent(Dut,r)),!i)throw Cut(`Could not find "${r}". Do you need a \`configBasedir\`?`);return i}});var pae=m((ZLt,dae)=>{"use strict";var cae=require("path"),Out=Array.prototype.slice;function qut(){var t;return t=Out.call(arguments,0),t.reduce(function(e,r){return fae(e,function(n){return fae(r,function(i){return Rut(n,i)})})},"")}function fae(t,e){return Array.isArray(t)?t.reduce(function(r,n){return r.concat(e(n))},[]):e(t)}function Rut(t,e){var r,n;return e[0]==="!"?(n=e.substr(1),t[0]==="!"?r="":r="!",r+cae.join(t,n)):cae.join(t,e)}dae.exports=qut});var gae=m((eIt,hae)=>{"use strict";var Aut=f2(),Put=s1();function Tut(t){if(!t.rules)return t;let e={};for(let[r,n]of Object.entries(t.rules)){let i=Put(r,t);i?e[r]=Aut(n,i):e[r]=[]}return t.rules=e,t}hae.exports=Tut});var B1=m((tIt,mae)=>{mae.exports=function(t,e){if(typeof t!="string")throw new TypeError("expected path to be a string");if(t==="\\"||t==="/")return"/";var r=t.length;if(r<=1)return t;var n="";if(r>4&&t[3]==="\\"){var i=t[2];(i==="?"||i===".")&&t.slice(0,2)==="\\\\"&&(t=t.slice(2),n="//")}var s=t.split(/[/\\]+/);return e!==!1&&s[s.length-1]===""&&s.pop(),n+s.join("/")}});var fM=m((rIt,_ae)=>{"use strict";var lM=Fc(),W1=lae(),yae=pae(),Mut=vg(),Fut=gae(),Lut=B1(),Vd=require("path");async function bae(t,e,r,n,i,s){let o=e;n&&(o=Uut(t,o)),s&&(o=wae(o,i,s)),o=await $ut(t,o,r,i,s);let a=t._options.cwd;return vae(o,r,a)}function Iut(t){return async e=>{if(!e)return null;let r=Vd.dirname(e.filepath||""),{config:n}=e;return{config:vae(n,r,t),filepath:e.filepath}}}async function Nut(t,e,r){if(!r)return null;let n=r.config,i=r.filepath,s=t._options.configBasedir||Vd.dirname(i||""),o=await bae(t,n,s,!0,s,e);if(o=Wut(o),o=zut(o),!o.rules)throw lM('No rules found within configuration. Have you provided a "rules" property?');return o=Fut(o),{config:o,filepath:r.filepath}}function vae(t,e,r){return t.ignoreFiles&&(t.ignoreFiles=[t.ignoreFiles].flat().map(n=>Vd.isAbsolute(n.replace(/^!/,""))?n:yae(e,n))),t.plugins&&(t.plugins=[t.plugins].flat().map(n=>typeof n=="string"?W1(e,n,r):n)),t.processors&&(t.processors=jut(t.processors,e)),t}function jut(t,e){return(Array.isArray(t)?t:[t]).map(n=>typeof n=="string"?W1(e,n):[W1(e,n[0]),n[1]])}async function $ut(t,e,r,n,i){if(e.extends===void 0)return e;let{extends:s,...o}=e,a=[s].flat(),u=o;for(let l of a){let c=await But(t,r,l);if(c){let f=c.config,d=Vd.dirname(c.filepath||"");f=await bae(t,f,d,!1,n,i),u=cM(u,f)}}return cM(u,o)}function But(t,e,r){let n=W1(e,r,t._options.cwd);return t._extendExplorer.load(n)}function cM(t,e){let r={};(t.plugins||e.plugins)&&(r.plugins=[],t.plugins&&(r.plugins=r.plugins.concat(t.plugins)),e.plugins&&(r.plugins=[...new Set(r.plugins.concat(e.plugins))]));let n={};(t.processors||e.processors)&&(n.processors=[],t.processors&&(n.processors=n.processors.concat(t.processors)),e.processors&&(n.processors=[...new Set(n.processors.concat(e.processors))]));let i={};(t.overrides||e.overrides)&&(i.overrides=[],t.overrides&&(i.overrides=i.overrides.concat(t.overrides)),e.overrides&&(i.overrides=[...new Set(i.overrides.concat(e.overrides))]));let s={};return(t.rules||e.rules)&&(s.rules={...t.rules,...e.rules}),{...t,...e,...n,...r,...i,...s}}function Wut(t){if(!t.plugins)return t;let e=[t.plugins].flat(),r={};for(let n of e){let i;typeof n=="string"?i=require(n):i=n,i=i.default||i;let s=[i].flat();for(let o of s){if(!o.ruleName)throw lM(`stylelint requires plugins to expose a ruleName. The plugin "${n}" is not doing this, so will not work with stylelint. Please file an issue with the plugin.`);if(!o.ruleName.includes("/"))throw lM(`stylelint requires plugin rules to be namespaced, i.e. only \`plugin-namespace/plugin-rule-name\` plugin rule names are supported. The plugin rule "${o.ruleName}" does not do this, so will not work. Please file an issue with the plugin.`);r[o.ruleName]=o.rule}}return t.pluginFunctions=r,t}var uM=new Map;function zut(t){if(!t.processors)return t;let e=[],r=[];for(let n of[t.processors].flat()){let i=JSON.stringify(n),s;if(uM.has(i))s=uM.get(i);else{let o=typeof n=="string"?n:n[0],a=typeof n=="string"?void 0:n[1],u=require(o);u=u.default||u,s=u(a),uM.set(i,s)}s&&s.code&&e.push(s.code),s&&s.result&&r.push(s.result)}return t.codeProcessors=e,t.resultProcessors=r,t}function wae(t,e,r){let{overrides:n,...i}=t;if(!n)return i;if(!Array.isArray(n))throw new TypeError('The `overrides` configuration property should be an array, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.');for(let s of n){let{files:o,...a}=s;if(!o)throw new Error('Every object in the `overrides` configuration property should have a `files` property with globs, e.g. { "overrides": [{ "files": "*.css", "rules": {} }] }.');let u=[o].flat().map(l=>Vd.isAbsolute(l.replace(/^!/,""))?l:yae(e,l)).map(l=>Lut(l));Mut.isMatch(r,u,{dot:!0})&&(i=cM(i,a))}return i}function Uut(t,e){let r={...e};return t._options.ignoreDisables&&(r.ignoreDisables=t._options.ignoreDisables),t._options.quiet&&(r.quiet=t._options.quiet),t._options.reportNeedlessDisables&&(r.reportNeedlessDisables=t._options.reportNeedlessDisables),t._options.reportInvalidScopeDisables&&(r.reportInvalidScopeDisables=t._options.reportInvalidScopeDisables),t._options.reportDescriptionlessDisables&&(r.reportDescriptionlessDisables=t._options.reportDescriptionlessDisables),t._options.customSyntax&&(r.customSyntax=t._options.customSyntax),r}_ae.exports={augmentConfigExtended:Iut,augmentConfigFull:Nut,applyOverrides:wae}});var Sae=m((nIt,xae)=>{var cl=1e3,fl=cl*60,dl=fl*60,ba=dl*24,Hut=ba*7,Vut=ba*365.25;xae.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Gut(t);if(r==="number"&&isFinite(t))return e.long?Yut(t):Kut(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Gut(t){if(t=String(t),!(t.length>100)){var e=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(e){var r=parseFloat(e[1]),n=(e[2]||"ms").toLowerCase();switch(n){case"years":case"year":case"yrs":case"yr":case"y":return r*Vut;case"weeks":case"week":case"w":return r*Hut;case"days":case"day":case"d":return r*ba;case"hours":case"hour":case"hrs":case"hr":case"h":return r*dl;case"minutes":case"minute":case"mins":case"min":case"m":return r*fl;case"seconds":case"second":case"secs":case"sec":case"s":return r*cl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Kut(t){var e=Math.abs(t);return e>=ba?Math.round(t/ba)+"d":e>=dl?Math.round(t/dl)+"h":e>=fl?Math.round(t/fl)+"m":e>=cl?Math.round(t/cl)+"s":t+"ms"}function Yut(t){var e=Math.abs(t);return e>=ba?z1(t,e,ba,"day"):e>=dl?z1(t,e,dl,"hour"):e>=fl?z1(t,e,fl,"minute"):e>=cl?z1(t,e,cl,"second"):t+" ms"}function z1(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var dM=m((iIt,kae)=>{function Qut(t){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=i,r.enabled=o,r.humanize=Sae(),r.destroy=l,Object.keys(t).forEach(c=>{r[c]=t[c]}),r.names=[],r.skips=[],r.formatters={};function e(c){let f=0;for(let d=0;d<c.length;d++)f=(f<<5)-f+c.charCodeAt(d),f|=0;return r.colors[Math.abs(f)%r.colors.length]}r.selectColor=e;function r(c){let f,d=null,p,h;function y(...b){if(!y.enabled)return;let g=y,v=Number(new Date),w=v-(f||v);g.diff=w,g.prev=f,g.curr=v,f=v,b[0]=r.coerce(b[0]),typeof b[0]!="string"&&b.unshift("%O");let _=0;b[0]=b[0].replace(/%([a-zA-Z%])/g,(C,M)=>{if(C==="%%")return"%";_++;let P=r.formatters[M];if(typeof P=="function"){let R=b[_];C=P.call(g,R),b.splice(_,1),_--}return C}),r.formatArgs.call(g,b),(g.log||r.log).apply(g,b)}return y.namespace=c,y.useColors=r.useColors(),y.color=r.selectColor(c),y.extend=n,y.destroy=r.destroy,Object.defineProperty(y,"enabled",{enumerable:!0,configurable:!1,get:()=>d!==null?d:(p!==r.namespaces&&(p=r.namespaces,h=r.enabled(c)),h),set:b=>{d=b}}),typeof r.init=="function"&&r.init(y),y}function n(c,f){let d=r(this.namespace+(typeof f>"u"?":":f)+c);return d.log=this.log,d}function i(c){r.save(c),r.namespaces=c,r.names=[],r.skips=[];let f,d=(typeof c=="string"?c:"").split(/[\s,]+/),p=d.length;for(f=0;f<p;f++)d[f]&&(c=d[f].replace(/\*/g,".*?"),c[0]==="-"?r.skips.push(new RegExp("^"+c.slice(1)+"$")):r.names.push(new RegExp("^"+c+"$")))}function s(){let c=[...r.names.map(a),...r.skips.map(a).map(f=>"-"+f)].join(",");return r.enable(""),c}function o(c){if(c[c.length-1]==="*")return!0;let f,d;for(f=0,d=r.skips.length;f<d;f++)if(r.skips[f].test(c))return!1;for(f=0,d=r.names.length;f<d;f++)if(r.names[f].test(c))return!0;return!1}function a(c){return c.toString().substring(2,c.toString().length-2).replace(/\.\*\?$/,"*")}function u(c){return c instanceof Error?c.stack||c.message:c}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return r.enable(r.load()),r}kae.exports=Qut});var Eae=m((wn,U1)=>{wn.formatArgs=Xut;wn.save=Zut;wn.load=elt;wn.useColors=Jut;wn.storage=tlt();wn.destroy=(()=>{let t=!1;return()=>{t||(t=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})();wn.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"];function Jut(){return typeof window<"u"&&window.process&&(window.process.type==="renderer"||window.process.__nwjs)?!0:typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/)?!1:typeof document<"u"&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<"u"&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function Xut(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+U1.exports.humanize(this.diff),!this.useColors)return;let e="color: "+this.color;t.splice(1,0,e,"color: inherit");let r=0,n=0;t[0].replace(/%[a-zA-Z%]/g,i=>{i!=="%%"&&(r++,i==="%c"&&(n=r))}),t.splice(n,0,e)}wn.log=console.debug||console.log||(()=>{});function Zut(t){try{t?wn.storage.setItem("debug",t):wn.storage.removeItem("debug")}catch{}}function elt(){let t;try{t=wn.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function tlt(){try{return localStorage}catch{}}U1.exports=dM()(wn);var{formatters:rlt}=U1.exports;rlt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var pM=m((sIt,Cae)=>{"use strict";Cae.exports=(t,e=process.argv)=>{let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}});var mM=m((oIt,Oae)=>{"use strict";var nlt=require("os"),Dae=require("tty"),Bn=pM(),{env:cr}=process,eo;Bn("no-color")||Bn("no-colors")||Bn("color=false")||Bn("color=never")?eo=0:(Bn("color")||Bn("colors")||Bn("color=true")||Bn("color=always"))&&(eo=1);"FORCE_COLOR"in cr&&(cr.FORCE_COLOR==="true"?eo=1:cr.FORCE_COLOR==="false"?eo=0:eo=cr.FORCE_COLOR.length===0?1:Math.min(parseInt(cr.FORCE_COLOR,10),3));function hM(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function gM(t,e){if(eo===0)return 0;if(Bn("color=16m")||Bn("color=full")||Bn("color=truecolor"))return 3;if(Bn("color=256"))return 2;if(t&&!e&&eo===void 0)return 0;let r=eo||0;if(cr.TERM==="dumb")return r;if(process.platform==="win32"){let n=nlt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in cr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in cr)||cr.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in cr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(cr.TEAMCITY_VERSION)?1:0;if(cr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in cr){let n=parseInt((cr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(cr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(cr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(cr.TERM)||"COLORTERM"in cr?1:r}function ilt(t){let e=gM(t,t&&t.isTTY);return hM(e)}Oae.exports={supportsColor:ilt,stdout:hM(gM(!0,Dae.isatty(1))),stderr:hM(gM(!0,Dae.isatty(2)))}});var Rae=m((Cr,V1)=>{var slt=require("tty"),H1=require("util");Cr.init=dlt;Cr.log=llt;Cr.formatArgs=alt;Cr.save=clt;Cr.load=flt;Cr.useColors=olt;Cr.destroy=H1.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");Cr.colors=[6,2,3,4,5,1];try{let t=mM();t&&(t.stderr||t).level>=2&&(Cr.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}Cr.inspectOpts=Object.keys(process.env).filter(t=>/^debug_/i.test(t)).reduce((t,e)=>{let r=e.substring(6).toLowerCase().replace(/_([a-z])/g,(i,s)=>s.toUpperCase()),n=process.env[e];return/^(yes|on|true|enabled)$/i.test(n)?n=!0:/^(no|off|false|disabled)$/i.test(n)?n=!1:n==="null"?n=null:n=Number(n),t[r]=n,t},{});function olt(){return"colors"in Cr.inspectOpts?Boolean(Cr.inspectOpts.colors):slt.isatty(process.stderr.fd)}function alt(t){let{namespace:e,useColors:r}=this;if(r){let n=this.color,i="\x1B[3"+(n<8?n:"8;5;"+n),s=` ${i};1m${e} \x1B[0m`;t[0]=s+t[0].split(`
|
|
314
|
+
`).join(`
|
|
315
|
+
`+s),t.push(i+"m+"+V1.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=ult()+e+" "+t[0]}function ult(){return Cr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function llt(...t){return process.stderr.write(H1.format(...t)+`
|
|
316
|
+
`)}function clt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function flt(){return process.env.DEBUG}function dlt(t){t.inspectOpts={};let e=Object.keys(Cr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Cr.inspectOpts[e[r]]}V1.exports=dM()(Cr);var{formatters:qae}=V1.exports;qae.o=function(t){return this.inspectOpts.colors=this.useColors,H1.inspect(t,this.inspectOpts).split(`
|
|
317
|
+
`).map(e=>e.trim()).join(" ")};qae.O=function(t){return this.inspectOpts.colors=this.useColors,H1.inspect(t,this.inspectOpts)}});var bM=m((aIt,yM)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?yM.exports=Eae():yM.exports=Rae()});var $ae=m(Kd=>{"use strict";var{parse:Tae,stringify:Mae}=JSON,{keys:plt}=Object,Gd=String,Fae="string",Aae={},G1="object",Lae=(t,e)=>e,hlt=t=>t instanceof Gd?Gd(t):t,glt=(t,e)=>typeof e===Fae?new Gd(e):e,Iae=(t,e,r,n)=>{let i=[];for(let s=plt(r),{length:o}=s,a=0;a<o;a++){let u=s[a],l=r[u];if(l instanceof Gd){let c=t[l];typeof c===G1&&!e.has(c)?(e.add(c),r[u]=Aae,i.push({k:u,a:[t,e,c,n]})):r[u]=n.call(r,u,c)}else r[u]!==Aae&&(r[u]=n.call(r,u,l))}for(let{length:s}=i,o=0;o<s;o++){let{k:a,a:u}=i[o];r[a]=n.call(r,a,Iae.apply(null,u))}return r},Pae=(t,e,r)=>{let n=Gd(e.push(r)-1);return t.set(r,n),n},Nae=(t,e)=>{let r=Tae(t,glt).map(hlt),n=r[0],i=e||Lae,s=typeof n===G1&&n?Iae(r,new Set,n,i):n;return i.call({"":s},"",s)};Kd.parse=Nae;var jae=(t,e,r)=>{let n=e&&typeof e===G1?(c,f)=>c===""||-1<e.indexOf(c)?f:void 0:e||Lae,i=new Map,s=[],o=[],a=+Pae(i,s,n.call({"":t},"",t)),u=!a;for(;a<s.length;)u=!0,o[a]=Mae(s[a++],l,r);return"["+o.join(",")+"]";function l(c,f){if(u)return u=!u,f;let d=n.call(this,c,f);switch(typeof d){case G1:if(d===null)return d;case Fae:return i.get(d)||Pae(i,s,d)}return d}};Kd.stringify=jae;var mlt=t=>Tae(jae(t));Kd.toJSON=mlt;var ylt=t=>Nae(Mae(t));Kd.fromJSON=ylt});var zae=m((lIt,Wae)=>{var vM=require("fs"),blt=require("path"),Bae=$ae();Wae.exports={tryParse:function(t,e){var r;try{r=this.readJSON(t)}catch{r=e}return r},readJSON:function(t){return Bae.parse(vM.readFileSync(t,{encoding:"utf8"}))},writeJSON:function(t,e){vM.mkdirSync(blt.dirname(t),{recursive:!0}),vM.writeFileSync(t,Bae.stringify(e))}}});var Uae=m(wM=>{var va=require("path"),ro=process.platform==="win32",to=require("fs"),vlt=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function wlt(){var t;if(vlt){var e=new Error;t=r}else t=n;return t;function r(i){i&&(e.message=i.message,i=e,n(i))}function n(i){if(i){if(process.throwDeprecation)throw i;if(!process.noDeprecation){var s="fs: missing callback "+(i.stack||i.message);process.traceDeprecation?console.trace(s):console.error(s)}}}}function _lt(t){return typeof t=="function"?t:wlt()}var cIt=va.normalize;ro?ds=/(.*?)(?:[\/\\]+|$)/g:ds=/(.*?)(?:[\/]+|$)/g;var ds;ro?Yd=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:Yd=/^[\/]*/;var Yd;wM.realpathSync=function(e,r){if(e=va.resolve(e),r&&Object.prototype.hasOwnProperty.call(r,e))return r[e];var n=e,i={},s={},o,a,u,l;c();function c(){var b=Yd.exec(e);o=b[0].length,a=b[0],u=b[0],l="",ro&&!s[u]&&(to.lstatSync(u),s[u]=!0)}for(;o<e.length;){ds.lastIndex=o;var f=ds.exec(e);if(l=a,a+=f[0],u=l+f[1],o=ds.lastIndex,!(s[u]||r&&r[u]===u)){var d;if(r&&Object.prototype.hasOwnProperty.call(r,u))d=r[u];else{var p=to.lstatSync(u);if(!p.isSymbolicLink()){s[u]=!0,r&&(r[u]=u);continue}var h=null;if(!ro){var y=p.dev.toString(32)+":"+p.ino.toString(32);i.hasOwnProperty(y)&&(h=i[y])}h===null&&(to.statSync(u),h=to.readlinkSync(u)),d=va.resolve(l,h),r&&(r[u]=d),ro||(i[y]=h)}e=va.resolve(d,e.slice(o)),c()}}return r&&(r[n]=e),e};wM.realpath=function(e,r,n){if(typeof n!="function"&&(n=_lt(r),r=null),e=va.resolve(e),r&&Object.prototype.hasOwnProperty.call(r,e))return process.nextTick(n.bind(null,null,r[e]));var i=e,s={},o={},a,u,l,c;f();function f(){var b=Yd.exec(e);a=b[0].length,u=b[0],l=b[0],c="",ro&&!o[l]?to.lstat(l,function(g){if(g)return n(g);o[l]=!0,d()}):process.nextTick(d)}function d(){if(a>=e.length)return r&&(r[i]=e),n(null,e);ds.lastIndex=a;var b=ds.exec(e);return c=u,u+=b[0],l=c+b[1],a=ds.lastIndex,o[l]||r&&r[l]===l?process.nextTick(d):r&&Object.prototype.hasOwnProperty.call(r,l)?y(r[l]):to.lstat(l,p)}function p(b,g){if(b)return n(b);if(!g.isSymbolicLink())return o[l]=!0,r&&(r[l]=l),process.nextTick(d);if(!ro){var v=g.dev.toString(32)+":"+g.ino.toString(32);if(s.hasOwnProperty(v))return h(null,s[v],l)}to.stat(l,function(w){if(w)return n(w);to.readlink(l,function(_,x){ro||(s[v]=x),h(_,x)})})}function h(b,g,v){if(b)return n(b);var w=va.resolve(c,g);r&&(r[v]=w),y(w)}function y(b){e=va.resolve(b,e.slice(a)),f()}}});var kM=m((dIt,Kae)=>{Kae.exports=no;no.realpath=no;no.sync=SM;no.realpathSync=SM;no.monkeypatch=Slt;no.unmonkeypatch=klt;var pl=require("fs"),_M=pl.realpath,xM=pl.realpathSync,xlt=process.version,Hae=/^v[0-5]\./.test(xlt),Vae=Uae();function Gae(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function no(t,e,r){if(Hae)return _M(t,e,r);typeof e=="function"&&(r=e,e=null),_M(t,e,function(n,i){Gae(n)?Vae.realpath(t,e,r):r(n,i)})}function SM(t,e){if(Hae)return xM(t,e);try{return xM(t,e)}catch(r){if(Gae(r))return Vae.realpathSync(t,e);throw r}}function Slt(){pl.realpath=no,pl.realpathSync=SM}function klt(){pl.realpath=_M,pl.realpathSync=xM}});var Qae=m((pIt,Yae)=>{Yae.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);Elt(i)?r.push.apply(r,i):r.push(i)}return r};var Elt=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var iue=m((hIt,nue)=>{var Clt=Qae(),Jae=$g();nue.exports=qlt;var Xae="\0SLASH"+Math.random()+"\0",Zae="\0OPEN"+Math.random()+"\0",CM="\0CLOSE"+Math.random()+"\0",eue="\0COMMA"+Math.random()+"\0",tue="\0PERIOD"+Math.random()+"\0";function EM(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function Dlt(t){return t.split("\\\\").join(Xae).split("\\{").join(Zae).split("\\}").join(CM).split("\\,").join(eue).split("\\.").join(tue)}function Olt(t){return t.split(Xae).join("\\").split(Zae).join("{").split(CM).join("}").split(eue).join(",").split(tue).join(".")}function rue(t){if(!t)return[""];var e=[],r=Jae("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=rue(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function qlt(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),hl(Dlt(t),!0).map(Olt)):[]}function Rlt(t){return"{"+t+"}"}function Alt(t){return/^-?0\d/.test(t)}function Plt(t,e){return t<=e}function Tlt(t,e){return t>=e}function hl(t,e){var r=[],n=Jae("{","}",t);if(!n||/\$$/.test(n.pre))return[t];var i=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),s=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),o=i||s,a=n.body.indexOf(",")>=0;if(!o&&!a)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+CM+n.post,hl(t)):[t];var u;if(o)u=n.body.split(/\.\./);else if(u=rue(n.body),u.length===1&&(u=hl(u[0],!1).map(Rlt),u.length===1)){var c=n.post.length?hl(n.post,!1):[""];return c.map(function($){return n.pre+u[0]+$})}var l=n.pre,c=n.post.length?hl(n.post,!1):[""],f;if(o){var d=EM(u[0]),p=EM(u[1]),h=Math.max(u[0].length,u[1].length),y=u.length==3?Math.abs(EM(u[2])):1,b=Plt,g=p<d;g&&(y*=-1,b=Tlt);var v=u.some(Alt);f=[];for(var w=d;b(w,p);w+=y){var _;if(s)_=String.fromCharCode(w),_==="\\"&&(_="");else if(_=String(w),v){var x=h-_.length;if(x>0){var C=new Array(x+1).join("0");w<0?_="-"+C+_.slice(1):_=C+_}}f.push(_)}}else f=Clt(u,function(z){return hl(z,!1)});for(var M=0;M<f.length;M++)for(var P=0;P<c.length;P++){var R=l+f[M]+c[P];(!e||o||R)&&r.push(R)}return r}});var Q1=m((gIt,lue)=>{lue.exports=_n;_n.Minimatch=Dr;var Qd=function(){try{return require("path")}catch{}}()||{sep:"/"};_n.sep=Qd.sep;var qM=_n.GLOBSTAR=Dr.GLOBSTAR={},Mlt=iue(),sue={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},DM="[^/]",OM=DM+"*?",Flt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Llt="(?:(?!(?:\\/|^)\\.).)*?",oue=Ilt("().*{}+?[]^$\\!");function Ilt(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var aue=/\/+/;_n.filter=Nlt;function Nlt(t,e){return e=e||{},function(r,n,i){return _n(r,t,e)}}function io(t,e){e=e||{};var r={};return Object.keys(t).forEach(function(n){r[n]=t[n]}),Object.keys(e).forEach(function(n){r[n]=e[n]}),r}_n.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return _n;var e=_n,r=function(i,s,o){return e(i,s,io(t,o))};return r.Minimatch=function(i,s){return new e.Minimatch(i,io(t,s))},r.Minimatch.defaults=function(i){return e.defaults(io(t,i)).Minimatch},r.filter=function(i,s){return e.filter(i,io(t,s))},r.defaults=function(i){return e.defaults(io(t,i))},r.makeRe=function(i,s){return e.makeRe(i,io(t,s))},r.braceExpand=function(i,s){return e.braceExpand(i,io(t,s))},r.match=function(n,i,s){return e.match(n,i,io(t,s))},r};Dr.defaults=function(t){return _n.defaults(t).Minimatch};function _n(t,e,r){return Y1(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Dr(e,r).match(t)}function Dr(t,e){if(!(this instanceof Dr))return new Dr(t,e);Y1(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Qd.sep!=="/"&&(t=t.split(Qd.sep).join("/")),this.options=e,this.set=[],this.pattern=t,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!e.partial,this.make()}Dr.prototype.debug=function(){};Dr.prototype.make=jlt;function jlt(){var t=this.pattern,e=this.options;if(!e.nocomment&&t.charAt(0)==="#"){this.comment=!0;return}if(!t){this.empty=!0;return}this.parseNegate();var r=this.globSet=this.braceExpand();e.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,r),r=this.globParts=r.map(function(n){return n.split(aue)}),this.debug(this.pattern,r),r=r.map(function(n,i,s){return n.map(this.parse,this)},this),this.debug(this.pattern,r),r=r.filter(function(n){return n.indexOf(!1)===-1}),this.debug(this.pattern,r),this.set=r}Dr.prototype.parseNegate=$lt;function $lt(){var t=this.pattern,e=!1,r=this.options,n=0;if(!r.nonegate){for(var i=0,s=t.length;i<s&&t.charAt(i)==="!";i++)e=!e,n++;n&&(this.pattern=t.substr(n)),this.negate=e}}_n.braceExpand=function(t,e){return uue(t,e)};Dr.prototype.braceExpand=uue;function uue(t,e){return e||(this instanceof Dr?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Y1(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Mlt(t)}var Blt=1024*64,Y1=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Blt)throw new TypeError("pattern is too long")};Dr.prototype.parse=Wlt;var K1={};function Wlt(t,e){Y1(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return qM;if(t==="")return"";var n="",i=!!r.nocase,s=!1,o=[],a=[],u,l=!1,c=-1,f=-1,d=t.charAt(0)==="."?"":r.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",p=this;function h(){if(u){switch(u){case"*":n+=OM,i=!0;break;case"?":n+=DM,i=!0;break;default:n+="\\"+u;break}p.debug("clearStateChar %j %j",u,n),u=!1}}for(var y=0,b=t.length,g;y<b&&(g=t.charAt(y));y++){if(this.debug("%s %s %s %j",t,y,n,g),s&&oue[g]){n+="\\"+g,s=!1;continue}switch(g){case"/":return!1;case"\\":h(),s=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",t,y,n,g),l){this.debug(" in class"),g==="!"&&y===f+1&&(g="^"),n+=g;continue}p.debug("call clearStateChar %j",u),h(),u=g,r.noext&&h();continue;case"(":if(l){n+="(";continue}if(!u){n+="\\(";continue}o.push({type:u,start:y-1,reStart:n.length,open:sue[u].open,close:sue[u].close}),n+=u==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",u,n),u=!1;continue;case")":if(l||!o.length){n+="\\)";continue}h(),i=!0;var v=o.pop();n+=v.close,v.type==="!"&&a.push(v),v.reEnd=n.length;continue;case"|":if(l||!o.length||s){n+="\\|",s=!1;continue}h(),n+="|";continue;case"[":if(h(),l){n+="\\"+g;continue}l=!0,f=y,c=n.length,n+=g;continue;case"]":if(y===f+1||!l){n+="\\"+g,s=!1;continue}var w=t.substring(f+1,y);try{RegExp("["+w+"]")}catch{var _=this.parse(w,K1);n=n.substr(0,c)+"\\["+_[0]+"\\]",i=i||_[1],l=!1;continue}i=!0,l=!1,n+=g;continue;default:h(),s?s=!1:oue[g]&&!(g==="^"&&l)&&(n+="\\"),n+=g}}for(l&&(w=t.substr(f+1),_=this.parse(w,K1),n=n.substr(0,c)+"\\["+_[0],i=i||_[1]),v=o.pop();v;v=o.pop()){var x=n.slice(v.reStart+v.open.length);this.debug("setting tail",n,v),x=x.replace(/((?:\\{2}){0,64})(\\?)\|/g,function(oe,ie,pe){return pe||(pe="\\"),ie+ie+pe+"|"}),this.debug(`tail=%j
|
|
318
|
+
%s`,x,x,v,n);var C=v.type==="*"?OM:v.type==="?"?DM:"\\"+v.type;i=!0,n=n.slice(0,v.reStart)+C+"\\("+x}h(),s&&(n+="\\\\");var M=!1;switch(n.charAt(0)){case"[":case".":case"(":M=!0}for(var P=a.length-1;P>-1;P--){var R=a[P],z=n.slice(0,R.reStart),$=n.slice(R.reStart,R.reEnd-8),ee=n.slice(R.reEnd-8,R.reEnd),G=n.slice(R.reEnd);ee+=G;var ae=z.split("(").length-1,F=G;for(y=0;y<ae;y++)F=F.replace(/\)[+*?]?/,"");G=F;var T="";G===""&&e!==K1&&(T="$");var ue=z+$+G+T+ee;n=ue}if(n!==""&&i&&(n="(?=.)"+n),M&&(n=d+n),e===K1)return[n,i];if(!i)return Ult(t);var re=r.nocase?"i":"";try{var fe=new RegExp("^"+n+"$",re)}catch{return new RegExp("$.")}return fe._glob=t,fe._src=n,fe}_n.makeRe=function(t,e){return new Dr(t,e||{}).makeRe()};Dr.prototype.makeRe=zlt;function zlt(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?OM:e.dot?Flt:Llt,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(o){return o===qM?r:typeof o=="string"?Hlt(o):o._src}).join("\\/")}).join("|");i="^(?:"+i+")$",this.negate&&(i="^(?!"+i+").*$");try{this.regexp=new RegExp(i,n)}catch{this.regexp=!1}return this.regexp}_n.match=function(t,e,r){r=r||{};var n=new Dr(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};Dr.prototype.match=function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var n=this.options;Qd.sep!=="/"&&(e=e.split(Qd.sep).join("/")),e=e.split(aue),this.debug(this.pattern,"split",e);var i=this.set;this.debug(this.pattern,"set",i);var s,o;for(o=e.length-1;o>=0&&(s=e[o],!s);o--);for(o=0;o<i.length;o++){var a=i[o],u=e;n.matchBase&&a.length===1&&(u=[s]);var l=this.matchOne(u,a,r);if(l)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate};Dr.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var i=0,s=0,o=t.length,a=e.length;i<o&&s<a;i++,s++){this.debug("matchOne loop");var u=e[s],l=t[i];if(this.debug(e,u,l),u===!1)return!1;if(u===qM){this.debug("GLOBSTAR",[e,u,l]);var c=i,f=s+1;if(f===a){for(this.debug("** at the end");i<o;i++)if(t[i]==="."||t[i]===".."||!n.dot&&t[i].charAt(0)===".")return!1;return!0}for(;c<o;){var d=t[c];if(this.debug(`
|
|
319
|
+
globstar while`,t,c,e,f,d),this.matchOne(t.slice(c),e.slice(f),r))return this.debug("globstar found match!",c,o,d),!0;if(d==="."||d===".."||!n.dot&&d.charAt(0)==="."){this.debug("dot detected!",t,c,e,f);break}this.debug("globstar swallow a segment, and continue"),c++}return!!(r&&(this.debug(`
|
|
320
|
+
>>> no match, partial?`,t,c,e,f),c===o))}var p;if(typeof u=="string"?(p=l===u,this.debug("string match",u,l,p)):(p=l.match(u),this.debug("pattern match",u,l,p)),!p)return!1}if(i===o&&s===a)return!0;if(i===o)return r;if(s===a)return i===o-1&&t[i]==="";throw new Error("wtf?")};function Ult(t){return t.replace(/\\(.)/g,"$1")}function Hlt(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var cue=m((mIt,RM)=>{typeof Object.create=="function"?RM.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:RM.exports=function(e,r){if(r){e.super_=r;var n=function(){};n.prototype=r.prototype,e.prototype=new n,e.prototype.constructor=e}}});var fue=m((yIt,PM)=>{try{if(AM=require("util"),typeof AM.inherits!="function")throw"";PM.exports=AM.inherits}catch{PM.exports=cue()}var AM});var X1=m((bIt,J1)=>{"use strict";function due(t){return t.charAt(0)==="/"}function pue(t){var e=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,r=e.exec(t),n=r[1]||"",i=Boolean(n&&n.charAt(1)!==":");return Boolean(r[2]||i)}J1.exports=process.platform==="win32"?pue:due;J1.exports.posix=due;J1.exports.win32=pue});var MM=m(so=>{so.setopts=Qlt;so.ownProp=hue;so.makeAbs=Jd;so.finish=Jlt;so.mark=Xlt;so.isIgnored=mue;so.childrenIgnored=Zlt;function hue(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var gl=require("path"),Vlt=Q1(),gue=X1(),TM=Vlt.Minimatch;function Glt(t,e){return t.localeCompare(e,"en")}function Klt(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(Ylt))}function Ylt(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new TM(r,{dot:!0})}return{matcher:new TM(t,{dot:!0}),gmatcher:e}}function Qlt(t,e,r){if(r||(r={}),r.matchBase&&e.indexOf("/")===-1){if(r.noglobstar)throw new Error("base matching requires globstar");e="**/"+e}t.silent=!!r.silent,t.pattern=e,t.strict=r.strict!==!1,t.realpath=!!r.realpath,t.realpathCache=r.realpathCache||Object.create(null),t.follow=!!r.follow,t.dot=!!r.dot,t.mark=!!r.mark,t.nodir=!!r.nodir,t.nodir&&(t.mark=!0),t.sync=!!r.sync,t.nounique=!!r.nounique,t.nonull=!!r.nonull,t.nosort=!!r.nosort,t.nocase=!!r.nocase,t.stat=!!r.stat,t.noprocess=!!r.noprocess,t.absolute=!!r.absolute,t.maxLength=r.maxLength||1/0,t.cache=r.cache||Object.create(null),t.statCache=r.statCache||Object.create(null),t.symlinks=r.symlinks||Object.create(null),Klt(t,r),t.changedCwd=!1;var n=process.cwd();hue(r,"cwd")?(t.cwd=gl.resolve(r.cwd),t.changedCwd=t.cwd!==n):t.cwd=n,t.root=r.root||gl.resolve(t.cwd,"/"),t.root=gl.resolve(t.root),process.platform==="win32"&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=gue(t.cwd)?t.cwd:Jd(t,t.cwd),process.platform==="win32"&&(t.cwdAbs=t.cwdAbs.replace(/\\/g,"/")),t.nomount=!!r.nomount,r.nonegate=!0,r.nocomment=!0,t.minimatch=new TM(e,r),t.options=t.minimatch.options}function Jlt(t){for(var e=t.nounique,r=e?[]:Object.create(null),n=0,i=t.matches.length;n<i;n++){var s=t.matches[n];if(!s||Object.keys(s).length===0){if(t.nonull){var o=t.minimatch.globSet[n];e?r.push(o):r[o]=!0}}else{var a=Object.keys(s);e?r.push.apply(r,a):a.forEach(function(u){r[u]=!0})}}if(e||(r=Object.keys(r)),t.nosort||(r=r.sort(Glt)),t.mark){for(var n=0;n<r.length;n++)r[n]=t._mark(r[n]);t.nodir&&(r=r.filter(function(u){var l=!/\/$/.test(u),c=t.cache[u]||t.cache[Jd(t,u)];return l&&c&&(l=c!=="DIR"&&!Array.isArray(c)),l}))}t.ignore.length&&(r=r.filter(function(u){return!mue(t,u)})),t.found=r}function Xlt(t,e){var r=Jd(t,e),n=t.cache[r],i=e;if(n){var s=n==="DIR"||Array.isArray(n),o=e.slice(-1)==="/";if(s&&!o?i+="/":!s&&o&&(i=i.slice(0,-1)),i!==e){var a=Jd(t,i);t.statCache[a]=t.statCache[r],t.cache[a]=t.cache[r]}}return i}function Jd(t,e){var r=e;return e.charAt(0)==="/"?r=gl.join(t.root,e):gue(e)||e===""?r=e:t.changedCwd?r=gl.resolve(t.cwd,e):r=gl.resolve(e),process.platform==="win32"&&(r=r.replace(/\\/g,"/")),r}function mue(t,e){return t.ignore.length?t.ignore.some(function(r){return r.matcher.match(e)||!!(r.gmatcher&&r.gmatcher.match(e))}):!1}function Zlt(t,e){return t.ignore.length?t.ignore.some(function(r){return!!(r.gmatcher&&r.gmatcher.match(e))}):!1}});var _ue=m((SIt,wue)=>{wue.exports=vue;vue.GlobSync=ir;var eS=require("fs"),ect=kM(),yue=Q1(),wIt=yue.Minimatch,_It=IM().Glob,xIt=require("util"),FM=require("path"),bue=require("assert"),Z1=X1(),wa=MM(),tct=wa.setopts,LM=wa.ownProp,rct=wa.childrenIgnored,nct=wa.isIgnored;function vue(t,e){if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
321
|
+
See: https://github.com/isaacs/node-glob/issues/167`);return new ir(t,e).found}function ir(t,e){if(!t)throw new Error("must provide pattern");if(typeof e=="function"||arguments.length===3)throw new TypeError(`callback provided to sync glob
|
|
322
|
+
See: https://github.com/isaacs/node-glob/issues/167`);if(!(this instanceof ir))return new ir(t,e);if(tct(this,t,e),this.noprocess)return this;var r=this.minimatch.set.length;this.matches=new Array(r);for(var n=0;n<r;n++)this._process(this.minimatch.set[n],n,!1);this._finish()}ir.prototype._finish=function(){if(bue(this instanceof ir),this.realpath){var t=this;this.matches.forEach(function(e,r){var n=t.matches[r]=Object.create(null);for(var i in e)try{i=t._makeAbs(i);var s=ect.realpathSync(i,t.realpathCache);n[s]=!0}catch(o){if(o.syscall==="stat")n[t._makeAbs(i)]=!0;else throw o}})}wa.finish(this)};ir.prototype._process=function(t,e,r){bue(this instanceof ir);for(var n=0;typeof t[n]=="string";)n++;var i;switch(n){case t.length:this._processSimple(t.join("/"),e);return;case 0:i=null;break;default:i=t.slice(0,n).join("/");break}var s=t.slice(n),o;i===null?o=".":((Z1(i)||Z1(t.join("/")))&&(!i||!Z1(i))&&(i="/"+i),o=i);var a=this._makeAbs(o);if(!rct(this,o)){var u=s[0]===yue.GLOBSTAR;u?this._processGlobStar(i,o,a,s,e,r):this._processReaddir(i,o,a,s,e,r)}};ir.prototype._processReaddir=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){for(var a=n[0],u=!!this.minimatch.negate,l=a._glob,c=this.dot||l.charAt(0)===".",f=[],d=0;d<o.length;d++){var p=o[d];if(p.charAt(0)!=="."||c){var h;u&&!t?h=!p.match(a):h=p.match(a),h&&f.push(p)}}var y=f.length;if(y!==0){if(n.length===1&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(var d=0;d<y;d++){var p=f[d];t&&(t.slice(-1)!=="/"?p=t+"/"+p:p=t+p),p.charAt(0)==="/"&&!this.nomount&&(p=FM.join(this.root,p)),this._emitMatch(i,p)}return}n.shift();for(var d=0;d<y;d++){var p=f[d],b;t?b=[t,p]:b=[p],this._process(b.concat(n),i,s)}}}};ir.prototype._emitMatch=function(t,e){if(!nct(this,e)){var r=this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[t][e]=!0,this.stat&&this._stat(e)}}};ir.prototype._readdirInGlobStar=function(t){if(this.follow)return this._readdir(t,!1);var e,r,n;try{r=eS.lstatSync(t)}catch(s){if(s.code==="ENOENT")return null}var i=r&&r.isSymbolicLink();return this.symlinks[t]=i,!i&&r&&!r.isDirectory()?this.cache[t]="FILE":e=this._readdir(t,!1),e};ir.prototype._readdir=function(t,e){var r;if(e&&!LM(this.symlinks,t))return this._readdirInGlobStar(t);if(LM(this.cache,t)){var n=this.cache[t];if(!n||n==="FILE")return null;if(Array.isArray(n))return n}try{return this._readdirEntries(t,eS.readdirSync(t))}catch(i){return this._readdirError(t,i),null}};ir.prototype._readdirEntries=function(t,e){if(!this.mark&&!this.stat)for(var r=0;r<e.length;r++){var n=e[r];t==="/"?n=t+n:n=t+"/"+n,this.cache[n]=!0}return this.cache[t]=e,e};ir.prototype._readdirError=function(t,e){switch(e.code){case"ENOTSUP":case"ENOTDIR":var r=this._makeAbs(t);if(this.cache[r]="FILE",r===this.cwdAbs){var n=new Error(e.code+" invalid cwd "+this.cwd);throw n.path=this.cwd,n.code=e.code,n}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:if(this.cache[this._makeAbs(t)]=!1,this.strict)throw e;this.silent||console.error("glob error",e);break}};ir.prototype._processGlobStar=function(t,e,r,n,i,s){var o=this._readdir(r,s);if(o){var a=n.slice(1),u=t?[t]:[],l=u.concat(a);this._process(l,i,!1);var c=o.length,f=this.symlinks[r];if(!(f&&s))for(var d=0;d<c;d++){var p=o[d];if(!(p.charAt(0)==="."&&!this.dot)){var h=u.concat(o[d],a);this._process(h,i,!0);var y=u.concat(o[d],n);this._process(y,i,!0)}}}};ir.prototype._processSimple=function(t,e){var r=this._stat(t);if(this.matches[e]||(this.matches[e]=Object.create(null)),!!r){if(t&&Z1(t)&&!this.nomount){var n=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=FM.join(this.root,t):(t=FM.resolve(this.root,t),n&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}};ir.prototype._stat=function(t){var e=this._makeAbs(t),r=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&LM(this.cache,e)){var o=this.cache[e];if(Array.isArray(o)&&(o="DIR"),!r||o==="DIR")return o;if(r&&o==="FILE")return!1}var n,i=this.statCache[e];if(!i){var s;try{s=eS.lstatSync(e)}catch(a){if(a&&(a.code==="ENOENT"||a.code==="ENOTDIR"))return this.statCache[e]=!1,!1}if(s&&s.isSymbolicLink())try{i=eS.statSync(e)}catch{i=s}else i=s}this.statCache[e]=i;var o=!0;return i&&(o=i.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,r&&o==="FILE"?!1:o};ir.prototype._mark=function(t){return wa.mark(this,t)};ir.prototype._makeAbs=function(t){return wa.makeAbs(this,t)}});var NM=m((kIt,Sue)=>{Sue.exports=xue;function xue(t,e){if(t&&e)return xue(t)(e);if(typeof t!="function")throw new TypeError("need wrapper function");return Object.keys(t).forEach(function(n){r[n]=t[n]}),r;function r(){for(var n=new Array(arguments.length),i=0;i<n.length;i++)n[i]=arguments[i];var s=t.apply(this,n),o=n[n.length-1];return typeof s=="function"&&s!==o&&Object.keys(o).forEach(function(a){s[a]=o[a]}),s}}});var $M=m((EIt,jM)=>{var kue=NM();jM.exports=kue(tS);jM.exports.strict=kue(Eue);tS.proto=tS(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return tS(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return Eue(this)},configurable:!0})});function tS(t){var e=function(){return e.called?e.value:(e.called=!0,e.value=t.apply(this,arguments))};return e.called=!1,e}function Eue(t){var e=function(){if(e.called)throw new Error(e.onceError);return e.called=!0,e.value=t.apply(this,arguments)},r=t.name||"Function wrapped with `once`";return e.onceError=r+" shouldn't be called more than once",e.called=!1,e}});var Due=m((CIt,Cue)=>{var ict=NM(),Xd=Object.create(null),sct=$M();Cue.exports=ict(oct);function oct(t,e){return Xd[t]?(Xd[t].push(e),null):(Xd[t]=[e],act(t))}function act(t){return sct(function e(){var r=Xd[t],n=r.length,i=uct(arguments);try{for(var s=0;s<n;s++)r[s].apply(null,i)}finally{r.length>n?(r.splice(0,n),process.nextTick(function(){e.apply(null,i)})):delete Xd[t]}})}function uct(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n]=t[n];return r}});var IM=m((qIt,que)=>{que.exports=_a;var rS=require("fs"),lct=kM(),Oue=Q1(),DIt=Oue.Minimatch,cct=fue(),fct=require("events").EventEmitter,BM=require("path"),WM=require("assert"),Zd=X1(),UM=_ue(),xa=MM(),dct=xa.setopts,zM=xa.ownProp,HM=Due(),OIt=require("util"),pct=xa.childrenIgnored,hct=xa.isIgnored,gct=$M();function _a(t,e,r){if(typeof e=="function"&&(r=e,e={}),e||(e={}),e.sync){if(r)throw new TypeError("callback provided to sync glob");return UM(t,e)}return new at(t,e,r)}_a.sync=UM;var mct=_a.GlobSync=UM.GlobSync;_a.glob=_a;function yct(t,e){if(e===null||typeof e!="object")return t;for(var r=Object.keys(e),n=r.length;n--;)t[r[n]]=e[r[n]];return t}_a.hasMagic=function(t,e){var r=yct({},e);r.noprocess=!0;var n=new at(t,r),i=n.minimatch.set;if(!t)return!1;if(i.length>1)return!0;for(var s=0;s<i[0].length;s++)if(typeof i[0][s]!="string")return!0;return!1};_a.Glob=at;cct(at,fct);function at(t,e,r){if(typeof e=="function"&&(r=e,e=null),e&&e.sync){if(r)throw new TypeError("callback provided to sync glob");return new mct(t,e)}if(!(this instanceof at))return new at(t,e,r);dct(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),typeof r=="function"&&(r=gct(r),this.on("error",r),this.on("end",function(u){r(null,u)}));var i=this;if(this._processing=0,this._emitQueue=[],this._processQueue=[],this.paused=!1,this.noprocess)return this;if(n===0)return a();for(var s=!0,o=0;o<n;o++)this._process(this.minimatch.set[o],o,!1,a);s=!1;function a(){--i._processing,i._processing<=0&&(s?process.nextTick(function(){i._finish()}):i._finish())}}at.prototype._finish=function(){if(WM(this instanceof at),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();xa.finish(this),this.emit("end",this.found)}};at.prototype._realpath=function(){if(this._didRealpath)return;this._didRealpath=!0;var t=this.matches.length;if(t===0)return this._finish();for(var e=this,r=0;r<this.matches.length;r++)this._realpathSet(r,n);function n(){--t===0&&e._finish()}};at.prototype._realpathSet=function(t,e){var r=this.matches[t];if(!r)return e();var n=Object.keys(r),i=this,s=n.length;if(s===0)return e();var o=this.matches[t]=Object.create(null);n.forEach(function(a,u){a=i._makeAbs(a),lct.realpath(a,i.realpathCache,function(l,c){l?l.syscall==="stat"?o[a]=!0:i.emit("error",l):o[c]=!0,--s===0&&(i.matches[t]=o,e())})})};at.prototype._mark=function(t){return xa.mark(this,t)};at.prototype._makeAbs=function(t){return xa.makeAbs(this,t)};at.prototype.abort=function(){this.aborted=!0,this.emit("abort")};at.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};at.prototype.resume=function(){if(this.paused){if(this.emit("resume"),this.paused=!1,this._emitQueue.length){var t=this._emitQueue.slice(0);this._emitQueue.length=0;for(var e=0;e<t.length;e++){var r=t[e];this._emitMatch(r[0],r[1])}}if(this._processQueue.length){var n=this._processQueue.slice(0);this._processQueue.length=0;for(var e=0;e<n.length;e++){var i=n[e];this._processing--,this._process(i[0],i[1],i[2],i[3])}}}};at.prototype._process=function(t,e,r,n){if(WM(this instanceof at),WM(typeof n=="function"),!this.aborted){if(this._processing++,this.paused){this._processQueue.push([t,e,r,n]);return}for(var i=0;typeof t[i]=="string";)i++;var s;switch(i){case t.length:this._processSimple(t.join("/"),e,n);return;case 0:s=null;break;default:s=t.slice(0,i).join("/");break}var o=t.slice(i),a;s===null?a=".":((Zd(s)||Zd(t.join("/")))&&(!s||!Zd(s))&&(s="/"+s),a=s);var u=this._makeAbs(a);if(pct(this,a))return n();var l=o[0]===Oue.GLOBSTAR;l?this._processGlobStar(s,a,u,o,e,r,n):this._processReaddir(s,a,u,o,e,r,n)}};at.prototype._processReaddir=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,function(u,l){return a._processReaddir2(t,e,r,n,i,s,l,o)})};at.prototype._processReaddir2=function(t,e,r,n,i,s,o,a){if(!o)return a();for(var u=n[0],l=!!this.minimatch.negate,c=u._glob,f=this.dot||c.charAt(0)===".",d=[],p=0;p<o.length;p++){var h=o[p];if(h.charAt(0)!=="."||f){var y;l&&!t?y=!h.match(u):y=h.match(u),y&&d.push(h)}}var b=d.length;if(b===0)return a();if(n.length===1&&!this.mark&&!this.stat){this.matches[i]||(this.matches[i]=Object.create(null));for(var p=0;p<b;p++){var h=d[p];t&&(t!=="/"?h=t+"/"+h:h=t+h),h.charAt(0)==="/"&&!this.nomount&&(h=BM.join(this.root,h)),this._emitMatch(i,h)}return a()}n.shift();for(var p=0;p<b;p++){var h=d[p],g;t&&(t!=="/"?h=t+"/"+h:h=t+h),this._process([h].concat(n),i,s,a)}a()};at.prototype._emitMatch=function(t,e){if(!this.aborted&&!hct(this,e)){if(this.paused){this._emitQueue.push([t,e]);return}var r=Zd(e)?e:this._makeAbs(e);if(this.mark&&(e=this._mark(e)),this.absolute&&(e=r),!this.matches[t][e]){if(this.nodir){var n=this.cache[r];if(n==="DIR"||Array.isArray(n))return}this.matches[t][e]=!0;var i=this.statCache[r];i&&this.emit("stat",e,i),this.emit("match",e)}}};at.prototype._readdirInGlobStar=function(t,e){if(this.aborted)return;if(this.follow)return this._readdir(t,!1,e);var r="lstat\0"+t,n=this,i=HM(r,s);i&&rS.lstat(t,i);function s(o,a){if(o&&o.code==="ENOENT")return e();var u=a&&a.isSymbolicLink();n.symlinks[t]=u,!u&&a&&!a.isDirectory()?(n.cache[t]="FILE",e()):n._readdir(t,!1,e)}};at.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=HM("readdir\0"+t+"\0"+e,r),!!r)){if(e&&!zM(this.symlinks,t))return this._readdirInGlobStar(t,r);if(zM(this.cache,t)){var n=this.cache[t];if(!n||n==="FILE")return r();if(Array.isArray(n))return r(null,n)}var i=this;rS.readdir(t,bct(this,t,r))}};function bct(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}at.prototype._readdirEntries=function(t,e,r){if(!this.aborted){if(!this.mark&&!this.stat)for(var n=0;n<e.length;n++){var i=e[n];t==="/"?i=t+i:i=t+"/"+i,this.cache[i]=!0}return this.cache[t]=e,r(null,e)}};at.prototype._readdirError=function(t,e,r){if(!this.aborted){switch(e.code){case"ENOTSUP":case"ENOTDIR":var n=this._makeAbs(t);if(this.cache[n]="FILE",n===this.cwdAbs){var i=new Error(e.code+" invalid cwd "+this.cwd);i.path=this.cwd,i.code=e.code,this.emit("error",i),this.abort()}break;case"ENOENT":case"ELOOP":case"ENAMETOOLONG":case"UNKNOWN":this.cache[this._makeAbs(t)]=!1;break;default:this.cache[this._makeAbs(t)]=!1,this.strict&&(this.emit("error",e),this.abort()),this.silent||console.error("glob error",e);break}return r()}};at.prototype._processGlobStar=function(t,e,r,n,i,s,o){var a=this;this._readdir(r,s,function(u,l){a._processGlobStar2(t,e,r,n,i,s,l,o)})};at.prototype._processGlobStar2=function(t,e,r,n,i,s,o,a){if(!o)return a();var u=n.slice(1),l=t?[t]:[],c=l.concat(u);this._process(c,i,!1,a);var f=this.symlinks[r],d=o.length;if(f&&s)return a();for(var p=0;p<d;p++){var h=o[p];if(!(h.charAt(0)==="."&&!this.dot)){var y=l.concat(o[p],u);this._process(y,i,!0,a);var b=l.concat(o[p],n);this._process(b,i,!0,a)}}a()};at.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,function(i,s){n._processSimple2(t,e,i,s,r)})};at.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return i();if(t&&Zd(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=BM.join(this.root,t):(t=BM.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()};at.prototype._stat=function(t,e){var r=this._makeAbs(t),n=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&zM(this.cache,r)){var i=this.cache[r];if(Array.isArray(i)&&(i="DIR"),!n||i==="DIR")return e(null,i);if(n&&i==="FILE")return e()}var s,o=this.statCache[r];if(o!==void 0){if(o===!1)return e(null,o);var a=o.isDirectory()?"DIR":"FILE";return n&&a==="FILE"?e():e(null,a,o)}var u=this,l=HM("stat\0"+r,c);l&&rS.lstat(r,l);function c(f,d){if(d&&d.isSymbolicLink())return rS.stat(r,function(p,h){p?u._stat2(t,r,null,d,e):u._stat2(t,r,p,h,e)});u._stat2(t,r,f,d,e)}};at.prototype._stat2=function(t,e,r,n,i){if(r&&(r.code==="ENOENT"||r.code==="ENOTDIR"))return this.statCache[e]=!1,i();var s=t.slice(-1)==="/";if(this.statCache[e]=n,e.slice(-1)==="/"&&n&&!n.isDirectory())return i(null,!1,n);var o=!0;return n&&(o=n.isDirectory()?"DIR":"FILE"),this.cache[e]=this.cache[e]||o,s&&o==="FILE"?i():i(null,o,n)}});var Iue=m((RIt,Lue)=>{var mt=require("assert"),Tue=require("path"),Rue=require("fs"),ml;try{ml=IM()}catch{}var vct={nosort:!0,silent:!0},VM=0,ep=process.platform==="win32",Mue=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(r=>{t[r]=t[r]||Rue[r],r=r+"Sync",t[r]=t[r]||Rue[r]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,t.glob===!1&&(t.disableGlob=!0),t.disableGlob!==!0&&ml===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||vct},KM=(t,e,r)=>{typeof e=="function"&&(r=e,e={}),mt(t,"rimraf: missing path"),mt.equal(typeof t,"string","rimraf: path should be a string"),mt.equal(typeof r,"function","rimraf: callback function required"),mt(e,"rimraf: invalid options argument provided"),mt.equal(typeof e,"object","rimraf: options should be object"),Mue(e);let n=0,i=null,s=0,o=u=>{i=i||u,--s===0&&r(i)},a=(u,l)=>{if(u)return r(u);if(s=l.length,s===0)return r();l.forEach(c=>{let f=d=>{if(d){if((d.code==="EBUSY"||d.code==="ENOTEMPTY"||d.code==="EPERM")&&n<e.maxBusyTries)return n++,setTimeout(()=>GM(c,e,f),n*100);if(d.code==="EMFILE"&&VM<e.emfileWait)return setTimeout(()=>GM(c,e,f),VM++);d.code==="ENOENT"&&(d=null)}VM=0,o(d)};GM(c,e,f)})};if(e.disableGlob||!ml.hasMagic(t))return a(null,[t]);e.lstat(t,(u,l)=>{if(!u)return a(null,[t]);ml(t,e.glob,a)})},GM=(t,e,r)=>{mt(t),mt(e),mt(typeof r=="function"),e.lstat(t,(n,i)=>{if(n&&n.code==="ENOENT")return r(null);if(n&&n.code==="EPERM"&&ep&&Aue(t,e,n,r),i&&i.isDirectory())return nS(t,e,n,r);e.unlink(t,s=>{if(s){if(s.code==="ENOENT")return r(null);if(s.code==="EPERM")return ep?Aue(t,e,s,r):nS(t,e,s,r);if(s.code==="EISDIR")return nS(t,e,s,r)}return r(s)})})},Aue=(t,e,r,n)=>{mt(t),mt(e),mt(typeof n=="function"),e.chmod(t,438,i=>{i?n(i.code==="ENOENT"?null:r):e.stat(t,(s,o)=>{s?n(s.code==="ENOENT"?null:r):o.isDirectory()?nS(t,e,r,n):e.unlink(t,n)})})},Pue=(t,e,r)=>{mt(t),mt(e);try{e.chmodSync(t,438)}catch(i){if(i.code==="ENOENT")return;throw r}let n;try{n=e.statSync(t)}catch(i){if(i.code==="ENOENT")return;throw r}n.isDirectory()?iS(t,e,r):e.unlinkSync(t)},nS=(t,e,r,n)=>{mt(t),mt(e),mt(typeof n=="function"),e.rmdir(t,i=>{i&&(i.code==="ENOTEMPTY"||i.code==="EEXIST"||i.code==="EPERM")?wct(t,e,n):i&&i.code==="ENOTDIR"?n(r):n(i)})},wct=(t,e,r)=>{mt(t),mt(e),mt(typeof r=="function"),e.readdir(t,(n,i)=>{if(n)return r(n);let s=i.length;if(s===0)return e.rmdir(t,r);let o;i.forEach(a=>{KM(Tue.join(t,a),e,u=>{if(!o){if(u)return r(o=u);--s===0&&e.rmdir(t,r)}})})})},Fue=(t,e)=>{e=e||{},Mue(e),mt(t,"rimraf: missing path"),mt.equal(typeof t,"string","rimraf: path should be a string"),mt(e,"rimraf: missing options"),mt.equal(typeof e,"object","rimraf: options should be object");let r;if(e.disableGlob||!ml.hasMagic(t))r=[t];else try{e.lstatSync(t),r=[t]}catch{r=ml.sync(t,e.glob)}if(r.length)for(let n=0;n<r.length;n++){let i=r[n],s;try{s=e.lstatSync(i)}catch(o){if(o.code==="ENOENT")return;o.code==="EPERM"&&ep&&Pue(i,e,o)}try{s&&s.isDirectory()?iS(i,e,null):e.unlinkSync(i)}catch(o){if(o.code==="ENOENT")return;if(o.code==="EPERM")return ep?Pue(i,e,o):iS(i,e,o);if(o.code!=="EISDIR")throw o;iS(i,e,o)}}},iS=(t,e,r)=>{mt(t),mt(e);try{e.rmdirSync(t)}catch(n){if(n.code==="ENOENT")return;if(n.code==="ENOTDIR")throw r;(n.code==="ENOTEMPTY"||n.code==="EEXIST"||n.code==="EPERM")&&_ct(t,e)}},_ct=(t,e)=>{mt(t),mt(e),e.readdirSync(t).forEach(i=>Fue(Tue.join(t,i),e));let r=ep?100:1,n=0;do{let i=!0;try{let s=e.rmdirSync(t,e);return i=!1,s}finally{if(++n<r&&i)continue}}while(!0)};Lue.exports=KM;KM.sync=Fue});var jue=m((AIt,Nue)=>{var xct=Iue().sync,Sct=require("fs");Nue.exports=function(e){return Sct.existsSync(e)?(xct(e,{glob:!1}),!0):!1}});var zue=m((PIt,Wue)=>{var oo=require("path"),kct=require("fs"),Bue=zae(),YM=jue(),Ect=Bue.writeJSON,$ue={load:function(t,e){var r=this;r._visited={},r._persisted={},r._pathToFile=e?oo.resolve(e,t):oo.resolve(__dirname,"../.cache/",t),kct.existsSync(r._pathToFile)&&(r._persisted=Bue.tryParse(r._pathToFile,{}))},loadFile:function(t){var e=this,r=oo.dirname(t),n=oo.basename(t);e.load(n,r)},all:function(){return this._persisted},keys:function(){return Object.keys(this._persisted)},setKey:function(t,e){this._visited[t]=!0,this._persisted[t]=e},removeKey:function(t){delete this._visited[t],delete this._persisted[t]},getKey:function(t){return this._visited[t]=!0,this._persisted[t]},_prune:function(){var t=this,e={},r=Object.keys(t._visited);r.length!==0&&(r.forEach(function(n){e[n]=t._persisted[n]}),t._visited={},t._persisted=e)},save:function(t){var e=this;!t&&e._prune(),Ect(e._pathToFile,e._persisted)},removeCacheFile:function(){return YM(this._pathToFile)},destroy:function(){var t=this;t._visited={},t._persisted={},t.removeCacheFile()}};Wue.exports={load:function(t,e){return this.create(t,e)},create:function(t,e){var r=Object.create($ue);return r.load(t,e),r},createFromFile:function(t){var e=Object.create($ue);return e.loadFile(t),e},clearCacheById:function(t,e){var r=e?oo.resolve(e,t):oo.resolve(__dirname,"../.cache/",t);return YM(r)},clearAll:function(t){var e=t?oo.resolve(t):oo.resolve(__dirname,"../.cache/");return YM(e)}}});var Vue=m((TIt,Hue)=>{var Uue=require("path"),Cct=require("crypto");Hue.exports={createFromFile:function(t,e){var r=Uue.basename(t),n=Uue.dirname(t);return this.create(r,n,e)},create:function(t,e,r){var n=require("fs"),i=zue(),s=i.load(t,e),o={},a=function(){s.keys().forEach(function(f){try{n.statSync(f)}catch(d){d.code==="ENOENT"&&s.removeKey(f)}})};return a(),{cache:s,getHash:function(u){return Cct.createHash("md5").update(u).digest("hex")},hasFileChanged:function(u){return this.getFileDescriptor(u).changed},analyzeFiles:function(u){var l=this;u=u||[];var c={changedFiles:[],notFoundFiles:[],notChangedFiles:[]};return l.normalizeEntries(u).forEach(function(f){if(f.changed){c.changedFiles.push(f.key);return}if(f.notFound){c.notFoundFiles.push(f.key);return}c.notChangedFiles.push(f.key)}),c},getFileDescriptor:function(u){var l;try{l=n.statSync(u)}catch(c){return this.removeEntry(u),{key:u,notFound:!0,err:c}}return r?this._getFileDescriptorUsingChecksum(u):this._getFileDescriptorUsingMtimeAndSize(u,l)},_getFileDescriptorUsingMtimeAndSize:function(u,l){var c=s.getKey(u),f=!!c,d=l.size,p=l.mtime.getTime(),h,y;c?(h=p!==c.mtime,y=d!==c.size):c={size:d,mtime:p};var b=o[u]={key:u,changed:!f||h||y,meta:c};return b},_getFileDescriptorUsingChecksum:function(u){var l=s.getKey(u),c=!!l,f;try{f=n.readFileSync(u)}catch{f=""}var d=!0,p=this.getHash(f);l?d=p!==l.hash:l={hash:p};var h=o[u]={key:u,changed:!c||d,meta:l};return h},getUpdatedFiles:function(u){var l=this;return u=u||[],l.normalizeEntries(u).filter(function(c){return c.changed}).map(function(c){return c.key})},normalizeEntries:function(u){u=u||[];var l=this,c=u.map(function(f){return l.getFileDescriptor(f)});return c},removeEntry:function(u){delete o[u],s.removeKey(u)},deleteCacheFile:function(){s.removeCacheFile()},destroy:function(){o={},s.destroy()},_getMetaForFileUsingCheckSum:function(u){var l=n.readFileSync(u.key),c=this.getHash(l),f=Object.assign(u.meta,{hash:c});return delete f.size,delete f.mtime,f},_getMetaForFileUsingMtimeAndSize:function(u){var l=n.statSync(u.key),c=Object.assign(u.meta,{size:l.size,mtime:l.mtime.getTime()});return delete c.hash,c},reconcile:function(u){a(),u=typeof u>"u"?!0:u;var l=o,c=Object.keys(l);if(c.length!==0){var f=this;c.forEach(function(d){var p=l[d];try{var h=r?f._getMetaForFileUsingCheckSum(p):f._getMetaForFileUsingMtimeAndSize(p);s.setKey(d,h)}catch(y){if(y.code!=="ENOENT")throw y}}),s.save(u)}}}}}});var JM=m((MIt,QM)=>{(function(){var t;function e(r,n){var i=this instanceof e?this:t;if(i.reset(n),typeof r=="string"&&r.length>0&&i.hash(r),i!==this)return i}e.prototype.hash=function(r){var n,i,s,o,a;switch(a=r.length,this.len+=a,i=this.k1,s=0,this.rem){case 0:i^=a>s?r.charCodeAt(s++)&65535:0;case 1:i^=a>s?(r.charCodeAt(s++)&65535)<<8:0;case 2:i^=a>s?(r.charCodeAt(s++)&65535)<<16:0;case 3:i^=a>s?(r.charCodeAt(s)&255)<<24:0,i^=a>s?(r.charCodeAt(s++)&65280)>>8:0}if(this.rem=a+this.rem&3,a-=this.rem,a>0){for(n=this.h1;i=i*11601+(i&65535)*3432906752&4294967295,i=i<<15|i>>>17,i=i*13715+(i&65535)*461832192&4294967295,n^=i,n=n<<13|n>>>19,n=n*5+3864292196&4294967295,!(s>=a);)i=r.charCodeAt(s++)&65535^(r.charCodeAt(s++)&65535)<<8^(r.charCodeAt(s++)&65535)<<16,o=r.charCodeAt(s++),i^=(o&255)<<24^(o&65280)>>8;switch(i=0,this.rem){case 3:i^=(r.charCodeAt(s+2)&65535)<<16;case 2:i^=(r.charCodeAt(s+1)&65535)<<8;case 1:i^=r.charCodeAt(s)&65535}this.h1=n}return this.k1=i,this},e.prototype.result=function(){var r,n;return r=this.k1,n=this.h1,r>0&&(r=r*11601+(r&65535)*3432906752&4294967295,r=r<<15|r>>>17,r=r*13715+(r&65535)*461832192&4294967295,n^=r),n^=this.len,n^=n>>>16,n=n*51819+(n&65535)*2246770688&4294967295,n^=n>>>13,n=n*44597+(n&65535)*3266445312&4294967295,n^=n>>>16,n>>>0},e.prototype.reset=function(r){return this.h1=typeof r=="number"?r:0,this.rem=this.k1=this.len=0,this},t=new e,typeof QM<"u"?QM.exports=e:this.MurmurHash3=e})()});var XM=m((FIt,Gue)=>{"use strict";var Dct=JM();Gue.exports=function(e){return Dct(e).result().toString(36)}});var Yue=m((LIt,Kue)=>{"use strict";var Oct=require("fs"),qct=XM(),sS=require("path");Kue.exports=function(e,r){e=sS.normalize(e);let n=sS.resolve(r,e),i=e[e.length-1]===sS.sep;function s(){return sS.join(n,`.stylelintcache_${qct(r)}`)}let o;try{o=Oct.lstatSync(n)}catch{o=null}return i||o&&o.isDirectory()?s():n}});var Que=m((IIt,Rct)=>{Rct.exports={name:"stylelint",version:"14.16.0",description:"A mighty, modern CSS linter.",keywords:["css-in-js","css","less","lint","linter","markdown","sass","scss","stylelint","sugarss"],homepage:"https://stylelint.io",repository:"stylelint/stylelint",funding:{type:"opencollective",url:"https://opencollective.com/stylelint"},license:"MIT",author:"stylelint",main:"lib/index.js",types:"types/stylelint/index.d.ts",bin:{stylelint:"bin/stylelint.js"},files:["bin/**/*.js","lib/**/*.js","!**/__tests__/**","!lib/testUtils/**","types/stylelint/index.d.ts"],scripts:{"benchmark-rule":"node scripts/benchmark-rule.mjs",format:"prettier . --write --cache",jest:"jest",lint:"npm-run-all --parallel --continue-on-error lint:*","lint:formatting":"prettier . --check --cache","lint:js":"eslint . --cache --max-warnings=0 --ext .js,.mjs","lint:md":"remark . --quiet --frail","lint:types":"tsc",prepare:"husky install && patch-package",release:"np --no-release-draft",pretest:"npm run lint",test:"jest --coverage",version:"changeset version",postversion:"git restore package.json",watch:"jest --watch","changelog-to-github-release":"remark --quiet --use ./scripts/remark-changelog-to-github-release.mjs CHANGELOG.md"},"lint-staged":{"*.{js,mjs}":"eslint --cache --fix","*.{js,json,md,mjs,ts,yml}":"prettier --write"},prettier:"@stylelint/prettier-config",eslintConfig:{extends:["stylelint"],globals:{__dirname:!0,module:!0,require:!0,testRule:!0},root:!0},remarkConfig:{plugins:["@stylelint/remark-preset"]},jest:{clearMocks:!0,collectCoverage:!1,collectCoverageFrom:["lib/**/*.js","!lib/**/{__tests__,testUtils}/**/*.js"],coverageDirectory:"./.coverage/",coverageReporters:["lcov","text-summary"],coverageThreshold:{global:{branches:75,functions:75,lines:75,statements:75}},moduleNameMapper:{"^stylelint$":"<rootDir>/lib/index.js","stylelint/lib/utils/getOsEol":"<rootDir>/lib/utils/getOsEol.js"},preset:"jest-preset-stylelint",roots:["lib","system-tests"],testEnvironment:"node",testRegex:".*\\.test\\.js$|rules/.*/__tests__/.*\\.js$",watchPlugins:["jest-watch-typeahead/filename","jest-watch-typeahead/testname"]},dependencies:{"@csstools/selector-specificity":"^2.0.2","balanced-match":"^2.0.0",colord:"^2.9.3",cosmiconfig:"^7.1.0","css-functions-list":"^3.1.0",debug:"^4.3.4","fast-glob":"^3.2.12","fastest-levenshtein":"^1.0.16","file-entry-cache":"^6.0.1","global-modules":"^2.0.0",globby:"^11.1.0",globjoin:"^0.1.4","html-tags":"^3.2.0",ignore:"^5.2.1","import-lazy":"^4.0.0",imurmurhash:"^0.1.4","is-plain-object":"^5.0.0","known-css-properties":"^0.26.0","mathml-tag-names":"^2.1.3",meow:"^9.0.0",micromatch:"^4.0.5","normalize-path":"^3.0.0",picocolors:"^1.0.0",postcss:"^8.4.19","postcss-media-query-parser":"^0.2.3","postcss-resolve-nested-selector":"^0.1.1","postcss-safe-parser":"^6.0.0","postcss-selector-parser":"^6.0.11","postcss-value-parser":"^4.2.0","resolve-from":"^5.0.0","string-width":"^4.2.3","strip-ansi":"^6.0.1","style-search":"^0.1.0","supports-hyperlinks":"^2.3.0","svg-tags":"^1.0.0",table:"^6.8.1","v8-compile-cache":"^2.3.0","write-file-atomic":"^4.0.2"},devDependencies:{"@changesets/cli":"^2.25.2","@changesets/get-github-info":"^0.5.1","@stylelint/prettier-config":"^2.0.0","@stylelint/remark-preset":"^4.0.0","@types/balanced-match":"^1.0.2","@types/debug":"^4.1.7","@types/file-entry-cache":"^5.0.2","@types/global-modules":"^2.0.0","@types/globjoin":"^0.1.0","@types/imurmurhash":"^0.1.1","@types/micromatch":"^4.0.2","@types/normalize-path":"^3.0.0","@types/postcss-less":"^4.0.2","@types/postcss-safe-parser":"^5.0.1","@types/style-search":"^0.1.3","@types/svg-tags":"^1.0.0","@types/write-file-atomic":"^4.0.0",benchmark:"^2.1.4","common-tags":"^1.8.2",deepmerge:"^4.2.2",eslint:"^8.28.0","eslint-config-stylelint":"^17.1.0",husky:"^8.0.2",jest:"^28.1.3","jest-preset-stylelint":"^5.0.4","jest-watch-typeahead":"^2.2.0","lint-staged":"^13.0.4","node-fetch":"^3.3.0",np:"^7.6.2","npm-run-all":"^4.1.5","patch-package":"^6.5.0","postcss-html":"^1.5.0","postcss-import":"^14.1.0","postcss-less":"^6.0.0","postcss-sass":"^0.5.0","postcss-scss":"^4.0.6","remark-cli":"^11.0.0",sugarss:"^4.0.1",typescript:"^4.9.3"},engines:{node:"^12.20.0 || ^14.13.1 || >=16.0.0"}}});var Zue=m((NIt,Xue)=>{"use strict";var Jue=bM()("stylelint:file-cache"),Act=Vue(),Pct=Yue(),Tct=XM(),Mct=Que(),Fct=require("path"),eF="metadata",ZM="content",Lct="./.stylelintcache",Ict=eF,tF=class{constructor(e=Lct,r=Ict,n=process.cwd()){if(![eF,ZM].includes(r))throw new Error(`"${r}" cache strategy is unsupported. Specify either "${eF}" or "${ZM}"`);let i=Fct.resolve(Pct(e,n)),s=r===ZM;Jue(`Cache file is created at ${i}`),this._fileCache=Act.create(i,void 0,s),this._hashOfConfig=""}calcHashOfConfig(e){if(this._hashOfConfig)return;let r=Mct.version,n=JSON.stringify(e||{});this._hashOfConfig=Tct(`${r}_${n}`)}hasFileChanged(e){let r=this._fileCache.getFileDescriptor(e),n=r.meta||{},i=r.changed||n.hashOfConfig!==this._hashOfConfig;return i||Jue(`Skip linting ${e}. File hasn't changed.`),n.hashOfConfig!==this._hashOfConfig&&(n.hashOfConfig=this._hashOfConfig),i}reconcile(){this._fileCache.reconcile()}destroy(){this._fileCache.destroy()}removeEntry(e){this._fileCache.removeEntry(e)}};Xue.exports=tF});var tp=m((jIt,ele)=>{"use strict";var{cosmiconfig:Nct}=tM(),jct=fM(),$ct=Zue(),Bct=process.env.NODE_ENV==="test",Wct=Bct?process.cwd():void 0;ele.exports=function(e={}){let r=e.cwd||process.cwd();return{_options:{...e,cwd:r},_extendExplorer:Nct("",{transform:jct.augmentConfigExtended(r),stopDir:Wct}),_specifiedConfigCache:new Map,_postcssResultCache:new Map,_fileCache:new $ct(e.cacheLocation,e.cacheStrategy,r)}}});var yl=m(($It,tle)=>{"use strict";tle.exports=function(e){for(let r of e.parseErrors||[])e.warnings.push(zct(r));for(let r of e.warnings)r.severity=Uct(r);return e.warnings.sort(Hct),e};function zct(t){return{line:t.line,column:t.column,rule:t.stylelintType,severity:"error",text:`${t.text} (${t.stylelintType})`}}function Uct(t){return t.severity||"error"}function Hct(t,e){return!t.line&&e.line?-1:t.line&&!e.line?1:t.line<e.line?-1:t.line>e.line?1:t.column<e.column?-1:t.column>e.column?1:0}});var nle=m((BIt,rle)=>{"use strict";var Vct=yl();rle.exports=function(e){return e.flatMap(r=>{let{warnings:n}=Vct(r);return n.map(i=>`${r.source}: line ${i.line}, col ${i.column}, ${i.severity} - ${i.text}`)}).join(`
|
|
323
|
+
`)}});var sle=m((WIt,ile)=>{"use strict";var Gct=yl();ile.exports=function(e,r){let n="Stylelint problem",i=r.ruleMetadata;return e.flatMap(s=>{let{source:o,warnings:a}=Gct(s);return a.map(({line:u,column:l,endLine:c,endColumn:f,text:d,severity:p,rule:h})=>{let y=Kct(d,i[h]);return c===void 0?`::${p} file=${o},line=${u},col=${l},title=${n}::${y}`:`::${p} file=${o},line=${u},col=${l},endLine=${c},endColumn=${f},title=${n}::${y}`})}).join(`
|
|
324
|
+
`)};function Kct(t,e){if(!e)return t;let r=e.url?` - ${e.url}`:"",n=e.fixable?" [maybe fixable]":"";return`${t}${n}${r}`}});var ale=m((zIt,ole)=>{"use strict";ole.exports=function(e){let r=e.map(n=>Object.entries(n).filter(([i])=>!i.startsWith("_")).reduce((i,[s,o])=>(i[s]=o,i),{}));return JSON.stringify(r)}});var lle=m((UIt,ule)=>{"use strict";ule.exports=({onlyFirst:t=!1}={})=>{let e=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(e,t?void 0:"g")}});var oS=m((HIt,cle)=>{"use strict";var Yct=lle();cle.exports=t=>typeof t=="string"?t.replace(Yct(),""):t});var nF=m((VIt,rF)=>{"use strict";var fle=t=>Number.isNaN(t)?!1:t>=4352&&(t<=4447||t===9001||t===9002||11904<=t&&t<=12871&&t!==12351||12880<=t&&t<=19903||19968<=t&&t<=42182||43360<=t&&t<=43388||44032<=t&&t<=55203||63744<=t&&t<=64255||65040<=t&&t<=65049||65072<=t&&t<=65131||65281<=t&&t<=65376||65504<=t&&t<=65510||110592<=t&&t<=110593||127488<=t&&t<=127569||131072<=t&&t<=262141);rF.exports=fle;rF.exports.default=fle});var ple=m((GIt,dle)=>{"use strict";dle.exports=function(){return/\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F|\uD83D\uDC68(?:\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68\uD83C\uDFFB|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFE])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D[\uDC68\uDC69])\u200D(?:\uD83D[\uDC66\uDC67])|[\u2695\u2696\u2708]\uFE0F|\uD83D[\uDC66\uDC67]|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|(?:\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708])\uFE0F|\uD83C\uDFFB\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C[\uDFFB-\uDFFF])|(?:\uD83E\uDDD1\uD83C\uDFFB\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)\uD83C\uDFFB|\uD83E\uDDD1(?:\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1)|(?:\uD83E\uDDD1\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFF\u200D\uD83E\uDD1D\u200D(?:\uD83D[\uDC68\uDC69]))(?:\uD83C[\uDFFB-\uDFFE])|(?:\uD83E\uDDD1\uD83C\uDFFC\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB\uDFFC])|\uD83D\uDC69(?:\uD83C\uDFFE\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFC\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFB\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFC-\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFD\u200D(?:\uD83E\uDD1D\u200D\uD83D\uDC68(?:\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C\uDFFF\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD]))|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67]))|(?:\uD83E\uDDD1\uD83C\uDFFD\u200D\uD83E\uDD1D\u200D\uD83E\uDDD1|\uD83D\uDC69\uD83C\uDFFE\u200D\uD83E\uDD1D\u200D\uD83D\uDC69)(?:\uD83C[\uDFFB-\uDFFD])|\uD83D\uDC69\u200D\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC69\u200D(?:\uD83D[\uDC66\uDC67])|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C\uDFFF\u200D[\u2695\u2696\u2708]|\uD83C\uDFFE\u200D[\u2695\u2696\u2708]|\uD83C\uDFFC\u200D[\u2695\u2696\u2708]|\uD83C\uDFFB\u200D[\u2695\u2696\u2708]|\uD83C\uDFFD\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708])|(?:(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)\uFE0F|\uD83D\uDC6F|\uD83E[\uDD3C\uDDDE\uDDDF])\u200D[\u2640\u2642]|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]|\u200D[\u2640\u2642])|\uD83C\uDFF4\u200D\u2620)\uFE0F|\uD83D\uDC69\u200D\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|\uD83D\uDC15\u200D\uD83E\uDDBA|\uD83D\uDC69\u200D\uD83D\uDC66|\uD83D\uDC69\u200D\uD83D\uDC67|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDF6\uD83C\uDDE6|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83E\uDDD1(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDB5\uDDB6\uDDBB\uDDD2-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDED5\uDEEB\uDEEC\uDEF4-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDED5\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEFA\uDFE0-\uDFEB]|\uD83E[\uDD0D-\uDD3A\uDD3C-\uDD45\uDD47-\uDD71\uDD73-\uDD76\uDD7A-\uDDA2\uDDA5-\uDDAA\uDDAE-\uDDCA\uDDCD-\uDDFF\uDE70-\uDE73\uDE78-\uDE7A\uDE80-\uDE82\uDE90-\uDE95])\uFE0F|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDC8F\uDC91\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD0F\uDD18-\uDD1F\uDD26\uDD30-\uDD39\uDD3C-\uDD3E\uDDB5\uDDB6\uDDB8\uDDB9\uDDBB\uDDCD-\uDDCF\uDDD1-\uDDDD])/g}});var Sa=m((KIt,iF)=>{"use strict";var Qct=oS(),Jct=nF(),Xct=ple(),hle=t=>{if(typeof t!="string"||t.length===0||(t=Qct(t),t.length===0))return 0;t=t.replace(Xct()," ");let e=0;for(let r=0;r<t.length;r++){let n=t.codePointAt(r);n<=31||n>=127&&n<=159||n>=768&&n<=879||(n>65535&&r++,e+=Jct(n)?2:1)}return e};iF.exports=hle;iF.exports.default=hle});var yle=m((YIt,mle)=>{"use strict";var gle="[\uD800-\uDBFF][\uDC00-\uDFFF]",Zct=t=>t&&t.exact?new RegExp(`^${gle}$`):new RegExp(gle,"g");mle.exports=Zct});var vle=m((QIt,ble)=>{"use strict";ble.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}});var sF=m((JIt,_le)=>{var rp=vle(),wle={};for(let t of Object.keys(rp))wle[rp[t]]=t;var ke={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};_le.exports=ke;for(let t of Object.keys(ke)){if(!("channels"in ke[t]))throw new Error("missing channels property: "+t);if(!("labels"in ke[t]))throw new Error("missing channel labels property: "+t);if(ke[t].labels.length!==ke[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=ke[t];delete ke[t].channels,delete ke[t].labels,Object.defineProperty(ke[t],"channels",{value:e}),Object.defineProperty(ke[t],"labels",{value:r})}ke.rgb.hsl=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(e,r,n),s=Math.max(e,r,n),o=s-i,a,u;s===i?a=0:e===s?a=(r-n)/o:r===s?a=2+(n-e)/o:n===s&&(a=4+(e-r)/o),a=Math.min(a*60,360),a<0&&(a+=360);let l=(i+s)/2;return s===i?u=0:l<=.5?u=o/(s+i):u=o/(2-s-i),[a,u*100,l*100]};ke.rgb.hsv=function(t){let e,r,n,i,s,o=t[0]/255,a=t[1]/255,u=t[2]/255,l=Math.max(o,a,u),c=l-Math.min(o,a,u),f=function(d){return(l-d)/6/c+1/2};return c===0?(i=0,s=0):(s=c/l,e=f(o),r=f(a),n=f(u),o===l?i=n-r:a===l?i=1/3+e-n:u===l&&(i=2/3+r-e),i<0?i+=1:i>1&&(i-=1)),[i*360,s*100,l*100]};ke.rgb.hwb=function(t){let e=t[0],r=t[1],n=t[2],i=ke.rgb.hsl(t)[0],s=1/255*Math.min(e,Math.min(r,n));return n=1-1/255*Math.max(e,Math.max(r,n)),[i,s*100,n*100]};ke.rgb.cmyk=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.min(1-e,1-r,1-n),s=(1-e-i)/(1-i)||0,o=(1-r-i)/(1-i)||0,a=(1-n-i)/(1-i)||0;return[s*100,o*100,a*100,i*100]};function eft(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}ke.rgb.keyword=function(t){let e=wle[t];if(e)return e;let r=1/0,n;for(let i of Object.keys(rp)){let s=rp[i],o=eft(t,s);o<r&&(r=o,n=i)}return n};ke.keyword.rgb=function(t){return rp[t]};ke.rgb.xyz=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255;e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92;let i=e*.4124+r*.3576+n*.1805,s=e*.2126+r*.7152+n*.0722,o=e*.0193+r*.1192+n*.9505;return[i*100,s*100,o*100]};ke.rgb.lab=function(t){let e=ke.rgb.xyz(t),r=e[0],n=e[1],i=e[2];r/=95.047,n/=100,i/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,i=i>.008856?i**(1/3):7.787*i+16/116;let s=116*n-16,o=500*(r-n),a=200*(n-i);return[s,o,a]};ke.hsl.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i,s,o;if(r===0)return o=n*255,[o,o,o];n<.5?i=n*(1+r):i=n+r-n*r;let a=2*n-i,u=[0,0,0];for(let l=0;l<3;l++)s=e+1/3*-(l-1),s<0&&s++,s>1&&s--,6*s<1?o=a+(i-a)*6*s:2*s<1?o=i:3*s<2?o=a+(i-a)*(2/3-s)*6:o=a,u[l]=o*255;return u};ke.hsl.hsv=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=r,s=Math.max(n,.01);n*=2,r*=n<=1?n:2-n,i*=s<=1?s:2-s;let o=(n+r)/2,a=n===0?2*i/(s+i):2*r/(n+r);return[e,a*100,o*100]};ke.hsv.rgb=function(t){let e=t[0]/60,r=t[1]/100,n=t[2]/100,i=Math.floor(e)%6,s=e-Math.floor(e),o=255*n*(1-r),a=255*n*(1-r*s),u=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,u,o];case 1:return[a,n,o];case 2:return[o,n,u];case 3:return[o,a,n];case 4:return[u,o,n];case 5:return[n,o,a]}};ke.hsv.hsl=function(t){let e=t[0],r=t[1]/100,n=t[2]/100,i=Math.max(n,.01),s,o;o=(2-r)*n;let a=(2-r)*i;return s=r*i,s/=a<=1?a:2-a,s=s||0,o/=2,[e,s*100,o*100]};ke.hwb.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100,i=r+n,s;i>1&&(r/=i,n/=i);let o=Math.floor(6*e),a=1-n;s=6*e-o,o&1&&(s=1-s);let u=r+s*(a-r),l,c,f;switch(o){default:case 6:case 0:l=a,c=u,f=r;break;case 1:l=u,c=a,f=r;break;case 2:l=r,c=a,f=u;break;case 3:l=r,c=u,f=a;break;case 4:l=u,c=r,f=a;break;case 5:l=a,c=r,f=u;break}return[l*255,c*255,f*255]};ke.cmyk.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i=t[3]/100,s=1-Math.min(1,e*(1-i)+i),o=1-Math.min(1,r*(1-i)+i),a=1-Math.min(1,n*(1-i)+i);return[s*255,o*255,a*255]};ke.xyz.rgb=function(t){let e=t[0]/100,r=t[1]/100,n=t[2]/100,i,s,o;return i=e*3.2406+r*-1.5372+n*-.4986,s=e*-.9689+r*1.8758+n*.0415,o=e*.0557+r*-.204+n*1.057,i=i>.0031308?1.055*i**(1/2.4)-.055:i*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,i=Math.min(Math.max(0,i),1),s=Math.min(Math.max(0,s),1),o=Math.min(Math.max(0,o),1),[i*255,s*255,o*255]};ke.xyz.lab=function(t){let e=t[0],r=t[1],n=t[2];e/=95.047,r/=100,n/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116;let i=116*r-16,s=500*(e-r),o=200*(r-n);return[i,s,o]};ke.lab.xyz=function(t){let e=t[0],r=t[1],n=t[2],i,s,o;s=(e+16)/116,i=r/500+s,o=s-n/200;let a=s**3,u=i**3,l=o**3;return s=a>.008856?a:(s-16/116)/7.787,i=u>.008856?u:(i-16/116)/7.787,o=l>.008856?l:(o-16/116)/7.787,i*=95.047,s*=100,o*=108.883,[i,s,o]};ke.lab.lch=function(t){let e=t[0],r=t[1],n=t[2],i;i=Math.atan2(n,r)*360/2/Math.PI,i<0&&(i+=360);let o=Math.sqrt(r*r+n*n);return[e,o,i]};ke.lch.lab=function(t){let e=t[0],r=t[1],i=t[2]/360*2*Math.PI,s=r*Math.cos(i),o=r*Math.sin(i);return[e,s,o]};ke.rgb.ansi16=function(t,e=null){let[r,n,i]=t,s=e===null?ke.rgb.hsv(t)[2]:e;if(s=Math.round(s/50),s===0)return 30;let o=30+(Math.round(i/255)<<2|Math.round(n/255)<<1|Math.round(r/255));return s===2&&(o+=60),o};ke.hsv.ansi16=function(t){return ke.rgb.ansi16(ke.hsv.rgb(t),t[2])};ke.rgb.ansi256=function(t){let e=t[0],r=t[1],n=t[2];return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)};ke.ansi16.rgb=function(t){let e=t%10;if(e===0||e===7)return t>50&&(e+=3.5),e=e/10.5*255,[e,e,e];let r=(~~(t>50)+1)*.5,n=(e&1)*r*255,i=(e>>1&1)*r*255,s=(e>>2&1)*r*255;return[n,i,s]};ke.ansi256.rgb=function(t){if(t>=232){let s=(t-232)*10+8;return[s,s,s]}t-=16;let e,r=Math.floor(t/36)/5*255,n=Math.floor((e=t%36)/6)/5*255,i=e%6/5*255;return[r,n,i]};ke.rgb.hex=function(t){let r=(((Math.round(t[0])&255)<<16)+((Math.round(t[1])&255)<<8)+(Math.round(t[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};ke.hex.rgb=function(t){let e=t.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!e)return[0,0,0];let r=e[0];e[0].length===3&&(r=r.split("").map(a=>a+a).join(""));let n=parseInt(r,16),i=n>>16&255,s=n>>8&255,o=n&255;return[i,s,o]};ke.rgb.hcg=function(t){let e=t[0]/255,r=t[1]/255,n=t[2]/255,i=Math.max(Math.max(e,r),n),s=Math.min(Math.min(e,r),n),o=i-s,a,u;return o<1?a=s/(1-o):a=0,o<=0?u=0:i===e?u=(r-n)/o%6:i===r?u=2+(n-e)/o:u=4+(e-r)/o,u/=6,u%=1,[u*360,o*100,a*100]};ke.hsl.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=r<.5?2*e*r:2*e*(1-r),i=0;return n<1&&(i=(r-.5*n)/(1-n)),[t[0],n*100,i*100]};ke.hsv.hcg=function(t){let e=t[1]/100,r=t[2]/100,n=e*r,i=0;return n<1&&(i=(r-n)/(1-n)),[t[0],n*100,i*100]};ke.hcg.rgb=function(t){let e=t[0]/360,r=t[1]/100,n=t[2]/100;if(r===0)return[n*255,n*255,n*255];let i=[0,0,0],s=e%1*6,o=s%1,a=1-o,u=0;switch(Math.floor(s)){case 0:i[0]=1,i[1]=o,i[2]=0;break;case 1:i[0]=a,i[1]=1,i[2]=0;break;case 2:i[0]=0,i[1]=1,i[2]=o;break;case 3:i[0]=0,i[1]=a,i[2]=1;break;case 4:i[0]=o,i[1]=0,i[2]=1;break;default:i[0]=1,i[1]=0,i[2]=a}return u=(1-r)*n,[(r*i[0]+u)*255,(r*i[1]+u)*255,(r*i[2]+u)*255]};ke.hcg.hsv=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e),i=0;return n>0&&(i=e/n),[t[0],i*100,n*100]};ke.hcg.hsl=function(t){let e=t[1]/100,n=t[2]/100*(1-e)+.5*e,i=0;return n>0&&n<.5?i=e/(2*n):n>=.5&&n<1&&(i=e/(2*(1-n))),[t[0],i*100,n*100]};ke.hcg.hwb=function(t){let e=t[1]/100,r=t[2]/100,n=e+r*(1-e);return[t[0],(n-e)*100,(1-n)*100]};ke.hwb.hcg=function(t){let e=t[1]/100,n=1-t[2]/100,i=n-e,s=0;return i<1&&(s=(n-i)/(1-i)),[t[0],i*100,s*100]};ke.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};ke.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};ke.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};ke.gray.hsl=function(t){return[0,0,t[0]]};ke.gray.hsv=ke.gray.hsl;ke.gray.hwb=function(t){return[0,100,t[0]]};ke.gray.cmyk=function(t){return[0,0,0,t[0]]};ke.gray.lab=function(t){return[t[0],0,0]};ke.gray.hex=function(t){let e=Math.round(t[0]/100*255)&255,n=((e<<16)+(e<<8)+e).toString(16).toUpperCase();return"000000".substring(n.length)+n};ke.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}});var Sle=m((XIt,xle)=>{var aS=sF();function tft(){let t={},e=Object.keys(aS);for(let r=e.length,n=0;n<r;n++)t[e[n]]={distance:-1,parent:null};return t}function rft(t){let e=tft(),r=[t];for(e[t].distance=0;r.length;){let n=r.pop(),i=Object.keys(aS[n]);for(let s=i.length,o=0;o<s;o++){let a=i[o],u=e[a];u.distance===-1&&(u.distance=e[n].distance+1,u.parent=n,r.unshift(a))}}return e}function nft(t,e){return function(r){return e(t(r))}}function ift(t,e){let r=[e[t].parent,t],n=aS[e[t].parent][t],i=e[t].parent;for(;e[i].parent;)r.unshift(e[i].parent),n=nft(aS[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}xle.exports=function(t){let e=rft(t),r={},n=Object.keys(e);for(let i=n.length,s=0;s<i;s++){let o=n[s];e[o].parent!==null&&(r[o]=ift(o,e))}return r}});var Ele=m((ZIt,kle)=>{var oF=sF(),sft=Sle(),bl={},oft=Object.keys(oF);function aft(t){let e=function(...r){let n=r[0];return n==null?n:(n.length>1&&(r=n),t(r))};return"conversion"in t&&(e.conversion=t.conversion),e}function uft(t){let e=function(...r){let n=r[0];if(n==null)return n;n.length>1&&(r=n);let i=t(r);if(typeof i=="object")for(let s=i.length,o=0;o<s;o++)i[o]=Math.round(i[o]);return i};return"conversion"in t&&(e.conversion=t.conversion),e}oft.forEach(t=>{bl[t]={},Object.defineProperty(bl[t],"channels",{value:oF[t].channels}),Object.defineProperty(bl[t],"labels",{value:oF[t].labels});let e=sft(t);Object.keys(e).forEach(n=>{let i=e[n];bl[t][n]=uft(i),bl[t][n].raw=aft(i)})});kle.exports=bl});var Ale=m((e3t,Rle)=>{"use strict";var Cle=(t,e)=>(...r)=>`\x1B[${t(...r)+e}m`,Dle=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};5;${n}m`},Ole=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};2;${n[0]};${n[1]};${n[2]}m`},uS=t=>t,qle=(t,e,r)=>[t,e,r],vl=(t,e,r)=>{Object.defineProperty(t,e,{get:()=>{let n=r();return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},aF,wl=(t,e,r,n)=>{aF===void 0&&(aF=Ele());let i=n?10:0,s={};for(let[o,a]of Object.entries(aF)){let u=o==="ansi16"?"ansi":o;o===e?s[u]=t(r,i):typeof a=="object"&&(s[u]=t(a[e],i))}return s};function lft(){let t=new Map,e={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};e.color.gray=e.color.blackBright,e.bgColor.bgGray=e.bgColor.bgBlackBright,e.color.grey=e.color.blackBright,e.bgColor.bgGrey=e.bgColor.bgBlackBright;for(let[r,n]of Object.entries(e)){for(let[i,s]of Object.entries(n))e[i]={open:`\x1B[${s[0]}m`,close:`\x1B[${s[1]}m`},n[i]=e[i],t.set(s[0],s[1]);Object.defineProperty(e,r,{value:n,enumerable:!1})}return Object.defineProperty(e,"codes",{value:t,enumerable:!1}),e.color.close="\x1B[39m",e.bgColor.close="\x1B[49m",vl(e.color,"ansi",()=>wl(Cle,"ansi16",uS,!1)),vl(e.color,"ansi256",()=>wl(Dle,"ansi256",uS,!1)),vl(e.color,"ansi16m",()=>wl(Ole,"rgb",qle,!1)),vl(e.bgColor,"ansi",()=>wl(Cle,"ansi16",uS,!0)),vl(e.bgColor,"ansi256",()=>wl(Dle,"ansi256",uS,!0)),vl(e.bgColor,"ansi16m",()=>wl(Ole,"rgb",qle,!0)),e}Object.defineProperty(Rle,"exports",{enumerable:!0,get:lft})});var cS=m((t3t,Fle)=>{"use strict";var cft=nF(),fft=yle(),Ple=Ale(),Mle=["\x1B","\x9B"],lS=t=>`${Mle[0]}[${t}m`,Tle=(t,e,r)=>{let n=[];t=[...t];for(let i of t){let s=i;i.includes(";")&&(i=i.split(";")[0][0]+"0");let o=Ple.codes.get(Number.parseInt(i,10));if(o){let a=t.indexOf(o.toString());a===-1?n.push(lS(e?o:s)):t.splice(a,1)}else if(e){n.push(lS(0));break}else n.push(lS(s))}if(e&&(n=n.filter((i,s)=>n.indexOf(i)===s),r!==void 0)){let i=lS(Ple.codes.get(Number.parseInt(r,10)));n=n.reduce((s,o)=>o===i?[o,...s]:[...s,o],[])}return n.join("")};Fle.exports=(t,e,r)=>{let n=[...t],i=[],s=typeof r=="number"?r:n.length,o=!1,a,u=0,l="";for(let[c,f]of n.entries()){let d=!1;if(Mle.includes(f)){let p=/\d[^m]*/.exec(t.slice(c,c+18));a=p&&p.length>0?p[0]:void 0,u<s&&(o=!0,a!==void 0&&i.push(a))}else o&&f==="m"&&(o=!1,d=!0);if(!o&&!d&&u++,!fft({exact:!0}).test(f)&&cft(f.codePointAt())&&(u++,typeof r!="number"&&s++),u>e&&u<=s)l+=f;else if(u===e&&!o&&a!==void 0)l=Tle(i);else if(u>=s){l+=Tle(i,!0,a);break}}return l}});var uF=m(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});fS.getBorderCharacters=void 0;var dft=t=>{if(t==="honeywell")return{topBody:"\u2550",topJoin:"\u2564",topLeft:"\u2554",topRight:"\u2557",bottomBody:"\u2550",bottomJoin:"\u2567",bottomLeft:"\u255A",bottomRight:"\u255D",bodyLeft:"\u2551",bodyRight:"\u2551",bodyJoin:"\u2502",headerJoin:"\u252C",joinBody:"\u2500",joinLeft:"\u255F",joinRight:"\u2562",joinJoin:"\u253C",joinMiddleDown:"\u252C",joinMiddleUp:"\u2534",joinMiddleLeft:"\u2524",joinMiddleRight:"\u251C"};if(t==="norc")return{topBody:"\u2500",topJoin:"\u252C",topLeft:"\u250C",topRight:"\u2510",bottomBody:"\u2500",bottomJoin:"\u2534",bottomLeft:"\u2514",bottomRight:"\u2518",bodyLeft:"\u2502",bodyRight:"\u2502",bodyJoin:"\u2502",headerJoin:"\u252C",joinBody:"\u2500",joinLeft:"\u251C",joinRight:"\u2524",joinJoin:"\u253C",joinMiddleDown:"\u252C",joinMiddleUp:"\u2534",joinMiddleLeft:"\u2524",joinMiddleRight:"\u251C"};if(t==="ramac")return{topBody:"-",topJoin:"+",topLeft:"+",topRight:"+",bottomBody:"-",bottomJoin:"+",bottomLeft:"+",bottomRight:"+",bodyLeft:"|",bodyRight:"|",bodyJoin:"|",headerJoin:"+",joinBody:"-",joinLeft:"|",joinRight:"|",joinJoin:"|",joinMiddleDown:"+",joinMiddleUp:"+",joinMiddleLeft:"+",joinMiddleRight:"+"};if(t==="void")return{topBody:"",topJoin:"",topLeft:"",topRight:"",bottomBody:"",bottomJoin:"",bottomLeft:"",bottomRight:"",bodyLeft:"",bodyRight:"",bodyJoin:"",headerJoin:"",joinBody:"",joinLeft:"",joinRight:"",joinJoin:"",joinMiddleDown:"",joinMiddleUp:"",joinMiddleLeft:"",joinMiddleRight:""};throw new Error('Unknown border template "'+t+'".')};fS.getBorderCharacters=dft});var fr=m(et=>{"use strict";var lF=et&&et.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(et,"__esModule",{value:!0});et.isCellInRange=et.areCellEqual=et.calculateRangeCoordinate=et.findOriginalRowIndex=et.flatten=et.extractTruncates=et.sumArray=et.sequence=et.distributeUnevenly=et.countSpaceSequence=et.groupBySizes=et.makeBorderConfig=et.splitAnsi=et.normalizeString=void 0;var pft=lF(cS()),hft=lF(Sa()),gft=lF(oS()),mft=uF(),yft=t=>t.replace(/\r\n/g,`
|
|
325
|
+
`);et.normalizeString=yft;var bft=t=>{let e=(0,gft.default)(t).split(`
|
|
326
|
+
`).map(hft.default),r=[],n=0;return e.forEach(i=>{r.push(i===0?"":(0,pft.default)(t,n,n+i)),n+=i+1}),r};et.splitAnsi=bft;var vft=t=>({...(0,mft.getBorderCharacters)("honeywell"),...t});et.makeBorderConfig=vft;var wft=(t,e)=>{let r=0;return e.map(n=>{let i=t.slice(r,r+n);return r+=n,i})};et.groupBySizes=wft;var _ft=t=>{var e,r;return(r=(e=t.match(/\s+/g))===null||e===void 0?void 0:e.length)!==null&&r!==void 0?r:0};et.countSpaceSequence=_ft;var xft=(t,e)=>Array.from({length:e}).fill(Math.floor(t/e)).map((n,i)=>n+(i<t%e?1:0));et.distributeUnevenly=xft;var Sft=(t,e)=>Array.from({length:e-t+1},(r,n)=>n+t);et.sequence=Sft;var kft=t=>t.reduce((e,r)=>e+r,0);et.sumArray=kft;var Eft=t=>t.columns.map(({truncate:e})=>e);et.extractTruncates=Eft;var Cft=t=>[].concat(...t);et.flatten=Cft;var Dft=(t,e)=>(0,et.flatten)(t.map((n,i)=>Array.from({length:n},()=>i)))[e];et.findOriginalRowIndex=Dft;var Oft=t=>{let{row:e,col:r,colSpan:n=1,rowSpan:i=1}=t;return{bottomRight:{col:r+n-1,row:e+i-1},topLeft:{col:r,row:e}}};et.calculateRangeCoordinate=Oft;var qft=(t,e)=>t.row===e.row&&t.col===e.col;et.areCellEqual=qft;var Rft=(t,{topLeft:e,bottomRight:r})=>e.row<=t.row&&t.row<=r.row&&e.col<=t.col&&t.col<=r.col;et.isCellInRange=Rft});var fF=m(_l=>{"use strict";var Aft=_l&&_l.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(_l,"__esModule",{value:!0});_l.alignString=void 0;var Pft=Aft(Sa()),Lle=fr(),cF=(t,e)=>t+" ".repeat(e),Tft=(t,e)=>" ".repeat(e)+t,Mft=(t,e)=>" ".repeat(Math.floor(e/2))+t+" ".repeat(Math.ceil(e/2)),Fft=(t,e)=>{let r=(0,Lle.countSpaceSequence)(t);if(r===0)return cF(t,e);let n=(0,Lle.distributeUnevenly)(e,r);if(Math.max(...n)>3)return cF(t,e);let i=0;return t.replace(/\s+/g,s=>s+" ".repeat(n[i++]))},Lft=(t,e,r)=>{let n=(0,Pft.default)(t);if(n===e)return t;if(n>e)throw new Error("Subject parameter value width cannot be greater than the container width.");if(n===0)return" ".repeat(e);let i=e-n;return r==="left"?cF(t,i):r==="right"?Tft(t,i):r==="justify"?Fft(t,i):Mft(t,i)};_l.alignString=Lft});var dF=m(dS=>{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});dS.alignTableData=void 0;var Ift=fF(),Nft=(t,e)=>t.map((r,n)=>r.map((i,s)=>{var o;let{width:a,alignment:u}=e.columns[s];return((o=e.spanningCellManager)===null||o===void 0?void 0:o.getContainingRange({col:s,row:n},{mapped:!0}))?i:(0,Ift.alignString)(i,a,u)}));dS.alignTableData=Nft});var jle=m(xl=>{"use strict";var Nle=xl&&xl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xl,"__esModule",{value:!0});xl.wrapString=void 0;var Ile=Nle(cS()),jft=Nle(Sa()),$ft=(t,e)=>{let r=t,n=[];do n.push((0,Ile.default)(r,0,e)),r=(0,Ile.default)(r,e).trim();while((0,jft.default)(r));return n};xl.wrapString=$ft});var Ble=m(Sl=>{"use strict";var $le=Sl&&Sl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.wrapWord=void 0;var Bft=$le(cS()),Wft=$le(oS()),zft=(t,e)=>{let r=(0,Wft.default)(t),n=[],i=new RegExp("(^.{1,"+String(Math.max(e,1))+"}(\\s+|$))|(^.{1,"+String(Math.max(e-1,1))+"}(\\\\|/|_|\\.|,|;|-))");do{let s,o=i.exec(r);if(o){s=o[0],r=r.slice(s.length);let a=s.trim().length,u=s.length-a;n.push([a,u])}else s=r.slice(0,e),r=r.slice(e),n.push([s.length,0])}while(r.length);return n},Uft=(t,e)=>{let r=[],n=0;return zft(t,e).forEach(([i,s])=>{r.push((0,Bft.default)(t,n,n+i)),n+=i+s}),r};Sl.wrapWord=Uft});var hS=m(pS=>{"use strict";Object.defineProperty(pS,"__esModule",{value:!0});pS.wrapCell=void 0;var Hft=fr(),Vft=jle(),Gft=Ble(),Kft=(t,e,r)=>{let n=(0,Hft.splitAnsi)(t);for(let i=0;i<n.length;){let s;r?s=(0,Gft.wrapWord)(n[i],e):s=(0,Vft.wrapString)(n[i],e),n.splice(i,1,...s),i+=s.length}return n};pS.wrapCell=Kft});var Wle=m(gS=>{"use strict";Object.defineProperty(gS,"__esModule",{value:!0});gS.calculateCellHeight=void 0;var Yft=hS(),Qft=(t,e,r=!1)=>(0,Yft.wrapCell)(t,e,r).length;gS.calculateCellHeight=Qft});var pF=m(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.calculateRowHeights=void 0;var Jft=Wle(),zle=fr(),Xft=(t,e)=>{let r=[];for(let[n,i]of t.entries()){let s=1;i.forEach((o,a)=>{var u;let l=(u=e.spanningCellManager)===null||u===void 0?void 0:u.getContainingRange({col:a,row:n});if(!l){let p=(0,Jft.calculateCellHeight)(o,e.columns[a].width,e.columns[a].wrapWord);s=Math.max(s,p);return}let{topLeft:c,bottomRight:f,height:d}=l;if(n===f.row){let p=(0,zle.sumArray)(r.slice(c.row)),h=f.row-c.row,y=(0,zle.sequence)(c.row+1,f.row).filter(g=>{var v;return!(!((v=e.drawHorizontalLine)===null||v===void 0)&&v.call(e,g,t.length))}).length,b=d-p-h+y;s=Math.max(s,b)}}),r.push(s)}return r};mS.calculateRowHeights=Xft});var bS=m(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0});yS.drawContent=void 0;var Zft=t=>{let{contents:e,separatorGetter:r,drawSeparator:n,spanningCellManager:i,rowIndex:s,elementType:o}=t,a=e.length,u=[];return n(0,a)&&u.push(r(0,a)),e.forEach((l,c)=>{if((!o||o==="border"||o==="row")&&u.push(l),o==="cell"&&s===void 0&&u.push(l),o==="cell"&&s!==void 0){let f=i?.getContainingRange({col:c,row:s});(!f||c===f.topLeft.col)&&u.push(l)}if(c+1<a&&n(c+1,a)){let f=r(c+1,a);if(o==="cell"&&s!==void 0){let d={col:c+1,row:s},p=i?.getContainingRange(d);(!p||p.topLeft.col===d.col)&&u.push(f)}else u.push(f)}}),n(a,a)&&u.push(r(a,a)),u.join("")};yS.drawContent=Zft});var hF=m(Lt=>{"use strict";Object.defineProperty(Lt,"__esModule",{value:!0});Lt.createTableBorderGetter=Lt.drawBorderBottom=Lt.drawBorderJoin=Lt.drawBorderTop=Lt.drawBorder=Lt.createSeparatorGetter=Lt.drawBorderSegments=void 0;var edt=bS(),tdt=(t,e)=>{let{separator:r,horizontalBorderIndex:n,spanningCellManager:i}=e;return t.map((s,o)=>{let a=r.body.repeat(s);if(n===void 0)return a;let u=i?.getContainingRange({col:o,row:n});if(!u)return a;let{topLeft:l}=u;return n===l.row?a:o!==l.col?"":u.extractBorderContent(n)})};Lt.drawBorderSegments=tdt;var rdt=t=>{let{separator:e,spanningCellManager:r,horizontalBorderIndex:n,rowCount:i}=t;return(s,o)=>{let a=r?.inSameRange;if(n!==void 0&&a){let u={col:s,row:n-1},l={col:s-1,row:n},c={col:s-1,row:n-1},f={col:s,row:n},d=[[c,u],[u,f],[f,l],[l,c]];if(s===0)return a(f,u)&&e.bodyJoinOuter?e.bodyJoinOuter:e.left;if(s===o)return a(c,l)&&e.bodyJoinOuter?e.bodyJoinOuter:e.right;if(n===0)return a(f,l)?e.body:e.join;if(n===i)return a(u,c)?e.body:e.join;let p=d.map(h=>a(...h)).filter(Boolean).length;if(p===0)return e.join;if(p===4)return"";if(p===2)return a(...d[1])&&a(...d[3])&&e.bodyJoinInner?e.bodyJoinInner:e.body;if(p===1){if(!e.joinRight||!e.joinLeft||!e.joinUp||!e.joinDown)throw new Error(`Can not get border separator for position [${n}, ${s}]`);return a(...d[0])?e.joinDown:a(...d[1])?e.joinLeft:a(...d[2])?e.joinUp:e.joinRight}throw new Error("Invalid case")}return s===0?e.left:s===o?e.right:e.join}};Lt.createSeparatorGetter=rdt;var ndt=(t,e)=>{let r=(0,Lt.drawBorderSegments)(t,e),{drawVerticalLine:n,horizontalBorderIndex:i,spanningCellManager:s}=e;return(0,edt.drawContent)({contents:r,drawSeparator:n,elementType:"border",rowIndex:i,separatorGetter:(0,Lt.createSeparatorGetter)(e),spanningCellManager:s})+`
|
|
327
|
+
`};Lt.drawBorder=ndt;var idt=(t,e)=>{let{border:r}=e,n=(0,Lt.drawBorder)(t,{...e,separator:{body:r.topBody,join:r.topJoin,left:r.topLeft,right:r.topRight}});return n===`
|
|
328
|
+
`?"":n};Lt.drawBorderTop=idt;var sdt=(t,e)=>{let{border:r}=e;return(0,Lt.drawBorder)(t,{...e,separator:{body:r.joinBody,bodyJoinInner:r.bodyJoin,bodyJoinOuter:r.bodyLeft,join:r.joinJoin,joinDown:r.joinMiddleDown,joinLeft:r.joinMiddleLeft,joinRight:r.joinMiddleRight,joinUp:r.joinMiddleUp,left:r.joinLeft,right:r.joinRight}})};Lt.drawBorderJoin=sdt;var odt=(t,e)=>{let{border:r}=e;return(0,Lt.drawBorder)(t,{...e,separator:{body:r.bottomBody,join:r.bottomJoin,left:r.bottomLeft,right:r.bottomRight}})};Lt.drawBorderBottom=odt;var adt=(t,e)=>(r,n)=>{let i={...e,horizontalBorderIndex:r};return r===0?(0,Lt.drawBorderTop)(t,i):r===n?(0,Lt.drawBorderBottom)(t,i):(0,Lt.drawBorderJoin)(t,i)};Lt.createTableBorderGetter=adt});var gF=m(vS=>{"use strict";Object.defineProperty(vS,"__esModule",{value:!0});vS.drawRow=void 0;var udt=bS(),ldt=(t,e)=>{let{border:r,drawVerticalLine:n,rowIndex:i,spanningCellManager:s}=e;return(0,udt.drawContent)({contents:t,drawSeparator:n,elementType:"cell",rowIndex:i,separatorGetter:(o,a)=>o===0?r.bodyLeft:o===a?r.bodyRight:r.bodyJoin,spanningCellManager:s})+`
|
|
329
|
+
`};vS.drawRow=ldt});var Hle=m((h3t,Ule)=>{"use strict";Ule.exports=function t(e,r){if(e===r)return!0;if(e&&r&&typeof e=="object"&&typeof r=="object"){if(e.constructor!==r.constructor)return!1;var n,i,s;if(Array.isArray(e)){if(n=e.length,n!=r.length)return!1;for(i=n;i--!==0;)if(!t(e[i],r[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===r.source&&e.flags===r.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===r.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===r.toString();if(s=Object.keys(e),n=s.length,n!==Object.keys(r).length)return!1;for(i=n;i--!==0;)if(!Object.prototype.hasOwnProperty.call(r,s[i]))return!1;for(i=n;i--!==0;){var o=s[i];if(!t(e[o],r[o]))return!1}return!0}return e!==e&&r!==r}});var Gle=m(mF=>{"use strict";Object.defineProperty(mF,"__esModule",{value:!0});var Vle=Hle();Vle.code='require("ajv/dist/runtime/equal").default';mF.default=Vle});var Zle=m(bF=>{"use strict";bF["config.json"]=Jle;var cdt={$id:"config.json",$schema:"http://json-schema.org/draft-07/schema#",type:"object",properties:{border:{$ref:"shared.json#/definitions/borders"},header:{type:"object",properties:{content:{type:"string"},alignment:{$ref:"shared.json#/definitions/alignment"},wrapWord:{type:"boolean"},truncate:{type:"integer"},paddingLeft:{type:"integer"},paddingRight:{type:"integer"}},required:["content"],additionalProperties:!1},columns:{$ref:"shared.json#/definitions/columns"},columnDefault:{$ref:"shared.json#/definitions/column"},drawVerticalLine:{typeof:"function"},drawHorizontalLine:{typeof:"function"},singleLine:{typeof:"boolean"},spanningCells:{type:"array",items:{type:"object",properties:{col:{type:"integer",minimum:0},row:{type:"integer",minimum:0},colSpan:{type:"integer",minimum:1},rowSpan:{type:"integer",minimum:1},alignment:{$ref:"shared.json#/definitions/alignment"},verticalAlignment:{$ref:"shared.json#/definitions/verticalAlignment"},wrapWord:{type:"boolean"},truncate:{type:"integer"},paddingLeft:{type:"integer"},paddingRight:{type:"integer"}},required:["row","col"],additionalProperties:!1}}},additionalProperties:!1},Kle={type:"object",properties:{topBody:{$ref:"#/definitions/border"},topJoin:{$ref:"#/definitions/border"},topLeft:{$ref:"#/definitions/border"},topRight:{$ref:"#/definitions/border"},bottomBody:{$ref:"#/definitions/border"},bottomJoin:{$ref:"#/definitions/border"},bottomLeft:{$ref:"#/definitions/border"},bottomRight:{$ref:"#/definitions/border"},bodyLeft:{$ref:"#/definitions/border"},bodyRight:{$ref:"#/definitions/border"},bodyJoin:{$ref:"#/definitions/border"},headerJoin:{$ref:"#/definitions/border"},joinBody:{$ref:"#/definitions/border"},joinLeft:{$ref:"#/definitions/border"},joinRight:{$ref:"#/definitions/border"},joinJoin:{$ref:"#/definitions/border"},joinMiddleUp:{$ref:"#/definitions/border"},joinMiddleDown:{$ref:"#/definitions/border"},joinMiddleLeft:{$ref:"#/definitions/border"},joinMiddleRight:{$ref:"#/definitions/border"}},additionalProperties:!1},yF=Object.prototype.hasOwnProperty;function Z(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}return Z.errors=s,o===0}function wS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!yF.call(Kle.properties,a)){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}t.topBody!==void 0&&(Z(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topJoin!==void 0&&(Z(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topLeft!==void 0&&(Z(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topRight!==void 0&&(Z(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomBody!==void 0&&(Z(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomJoin!==void 0&&(Z(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomLeft!==void 0&&(Z(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomRight!==void 0&&(Z(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyLeft!==void 0&&(Z(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyRight!==void 0&&(Z(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyJoin!==void 0&&(Z(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.headerJoin!==void 0&&(Z(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinBody!==void 0&&(Z(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinLeft!==void 0&&(Z(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinRight!==void 0&&(Z(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinJoin!==void 0&&(Z(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleUp!==void 0&&(Z(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleDown!==void 0&&(Z(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(Z(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleRight!==void 0&&(Z(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length))}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return wS.errors=s,o===0}var Yle={type:"string",enum:["left","right","center","justify"]},m3t=Gle().default;function ka(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Yle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return ka.errors=s,o===0}var DS=new RegExp("^[0-9]+$","u");function Li(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Yle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Li.errors=s,o===0}var Qle={type:"string",enum:["top","middle","bottom"]};function Ii(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="top"||t==="middle"||t==="bottom")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Qle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Ii.errors=s,o===0}function xn(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Li(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Li.errors:s.concat(Li.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return xn.errors=s,o===0}function _S(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0,a=o,u=!1,l=null,c=o;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let p in t)if(!DS.test(p)){let h={instancePath:e,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"};s===null?s=[h]:s.push(h),o++}for(let p in t)DS.test(p)&&(xn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length))}else{let p={instancePath:e,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[p]:s.push(p),o++}var d=c===o;d&&(u=!0,l=0);let f=o;if(Array.isArray(t)){let p=t.length;for(let h=0;h<p;h++)xn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length)}else{let p={instancePath:e,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[p]:s.push(p),o++}var d=f===o;if(d&&u?(u=!1,l=[l,1]):d&&(u=!0,l=1),u)o=a,s!==null&&(a?s.length=a:s=null);else{let p={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};s===null?s=[p]:s.push(p),o++}return _S.errors=s,o===0}function xS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Li(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Li.errors:s.concat(Li.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return xS.errors=s,o===0}function SS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(typeof t!="string"){let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[a]:s.push(a),o++}if(!(t==="top"||t==="middle"||t==="bottom")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Qle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return SS.errors=s,o===0}function Jle(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="border"||a==="header"||a==="columns"||a==="columnDefault"||a==="drawVerticalLine"||a==="drawHorizontalLine"||a==="singleLine"||a==="spanningCells")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.border!==void 0&&(wS(t.border,{instancePath:e+"/border",parentData:t,parentDataProperty:"border",rootData:i})||(s=s===null?wS.errors:s.concat(wS.errors),o=s.length)),t.header!==void 0){let a=t.header;if(a&&typeof a=="object"&&!Array.isArray(a)){if(a.content===void 0){let u={instancePath:e+"/header",schemaPath:"#/properties/header/required",keyword:"required",params:{missingProperty:"content"},message:"must have required property 'content'"};s===null?s=[u]:s.push(u),o++}for(let u in a)if(!(u==="content"||u==="alignment"||u==="wrapWord"||u==="truncate"||u==="paddingLeft"||u==="paddingRight")){let l={instancePath:e+"/header",schemaPath:"#/properties/header/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:u},message:"must NOT have additional properties"};s===null?s=[l]:s.push(l),o++}if(a.content!==void 0&&typeof a.content!="string"){let u={instancePath:e+"/header/content",schemaPath:"#/properties/header/properties/content/type",keyword:"type",params:{type:"string"},message:"must be string"};s===null?s=[u]:s.push(u),o++}if(a.alignment!==void 0&&(ka(a.alignment,{instancePath:e+"/header/alignment",parentData:a,parentDataProperty:"alignment",rootData:i})||(s=s===null?ka.errors:s.concat(ka.errors),o=s.length)),a.wrapWord!==void 0&&typeof a.wrapWord!="boolean"){let u={instancePath:e+"/header/wrapWord",schemaPath:"#/properties/header/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[u]:s.push(u),o++}if(a.truncate!==void 0){let u=a.truncate;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/truncate",schemaPath:"#/properties/header/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}if(a.paddingLeft!==void 0){let u=a.paddingLeft;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/paddingLeft",schemaPath:"#/properties/header/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}if(a.paddingRight!==void 0){let u=a.paddingRight;if(!(typeof u=="number"&&!(u%1)&&!isNaN(u)&&isFinite(u))){let l={instancePath:e+"/header/paddingRight",schemaPath:"#/properties/header/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[l]:s.push(l),o++}}}else{let u={instancePath:e+"/header",schemaPath:"#/properties/header/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[u]:s.push(u),o++}}if(t.columns!==void 0&&(_S(t.columns,{instancePath:e+"/columns",parentData:t,parentDataProperty:"columns",rootData:i})||(s=s===null?_S.errors:s.concat(_S.errors),o=s.length)),t.columnDefault!==void 0&&(xS(t.columnDefault,{instancePath:e+"/columnDefault",parentData:t,parentDataProperty:"columnDefault",rootData:i})||(s=s===null?xS.errors:s.concat(xS.errors),o=s.length)),t.drawVerticalLine!==void 0&&typeof t.drawVerticalLine!="function"){let a={instancePath:e+"/drawVerticalLine",schemaPath:"#/properties/drawVerticalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.drawHorizontalLine!==void 0&&typeof t.drawHorizontalLine!="function"){let a={instancePath:e+"/drawHorizontalLine",schemaPath:"#/properties/drawHorizontalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.singleLine!==void 0&&typeof t.singleLine!="boolean"){let a={instancePath:e+"/singleLine",schemaPath:"#/properties/singleLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}if(t.spanningCells!==void 0){let a=t.spanningCells;if(Array.isArray(a)){let u=a.length;for(let l=0;l<u;l++){let c=a[l];if(c&&typeof c=="object"&&!Array.isArray(c)){if(c.row===void 0){let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/required",keyword:"required",params:{missingProperty:"row"},message:"must have required property 'row'"};s===null?s=[f]:s.push(f),o++}if(c.col===void 0){let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/required",keyword:"required",params:{missingProperty:"col"},message:"must have required property 'col'"};s===null?s=[f]:s.push(f),o++}for(let f in c)if(!yF.call(cdt.properties.spanningCells.items.properties,f)){let d={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:f},message:"must NOT have additional properties"};s===null?s=[d]:s.push(d),o++}if(c.col!==void 0){let f=c.col;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/col",schemaPath:"#/properties/spanningCells/items/properties/col/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<0||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/col",schemaPath:"#/properties/spanningCells/items/properties/col/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"};s===null?s=[d]:s.push(d),o++}}if(c.row!==void 0){let f=c.row;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/row",schemaPath:"#/properties/spanningCells/items/properties/row/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<0||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/row",schemaPath:"#/properties/spanningCells/items/properties/row/minimum",keyword:"minimum",params:{comparison:">=",limit:0},message:"must be >= 0"};s===null?s=[d]:s.push(d),o++}}if(c.colSpan!==void 0){let f=c.colSpan;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/colSpan",schemaPath:"#/properties/spanningCells/items/properties/colSpan/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<1||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/colSpan",schemaPath:"#/properties/spanningCells/items/properties/colSpan/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[d]:s.push(d),o++}}if(c.rowSpan!==void 0){let f=c.rowSpan;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/rowSpan",schemaPath:"#/properties/spanningCells/items/properties/rowSpan/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}if(typeof f=="number"&&isFinite(f)&&(f<1||isNaN(f))){let d={instancePath:e+"/spanningCells/"+l+"/rowSpan",schemaPath:"#/properties/spanningCells/items/properties/rowSpan/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[d]:s.push(d),o++}}if(c.alignment!==void 0&&(ka(c.alignment,{instancePath:e+"/spanningCells/"+l+"/alignment",parentData:c,parentDataProperty:"alignment",rootData:i})||(s=s===null?ka.errors:s.concat(ka.errors),o=s.length)),c.verticalAlignment!==void 0&&(SS(c.verticalAlignment,{instancePath:e+"/spanningCells/"+l+"/verticalAlignment",parentData:c,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?SS.errors:s.concat(SS.errors),o=s.length)),c.wrapWord!==void 0&&typeof c.wrapWord!="boolean"){let f={instancePath:e+"/spanningCells/"+l+"/wrapWord",schemaPath:"#/properties/spanningCells/items/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[f]:s.push(f),o++}if(c.truncate!==void 0){let f=c.truncate;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/truncate",schemaPath:"#/properties/spanningCells/items/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}if(c.paddingLeft!==void 0){let f=c.paddingLeft;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/paddingLeft",schemaPath:"#/properties/spanningCells/items/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}if(c.paddingRight!==void 0){let f=c.paddingRight;if(!(typeof f=="number"&&!(f%1)&&!isNaN(f)&&isFinite(f))){let d={instancePath:e+"/spanningCells/"+l+"/paddingRight",schemaPath:"#/properties/spanningCells/items/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[d]:s.push(d),o++}}}else{let f={instancePath:e+"/spanningCells/"+l,schemaPath:"#/properties/spanningCells/items/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[f]:s.push(f),o++}}}else{let u={instancePath:e+"/spanningCells",schemaPath:"#/properties/spanningCells/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return Jle.errors=s,o===0}bF["streamConfig.json"]=Xle;function kS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!yF.call(Kle.properties,a)){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}t.topBody!==void 0&&(Z(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topJoin!==void 0&&(Z(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topLeft!==void 0&&(Z(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.topRight!==void 0&&(Z(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomBody!==void 0&&(Z(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomJoin!==void 0&&(Z(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomLeft!==void 0&&(Z(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bottomRight!==void 0&&(Z(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyLeft!==void 0&&(Z(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyRight!==void 0&&(Z(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.bodyJoin!==void 0&&(Z(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.headerJoin!==void 0&&(Z(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinBody!==void 0&&(Z(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinLeft!==void 0&&(Z(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinRight!==void 0&&(Z(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinJoin!==void 0&&(Z(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleUp!==void 0&&(Z(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleDown!==void 0&&(Z(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(Z(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length)),t.joinMiddleRight!==void 0&&(Z(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?Z.errors:s.concat(Z.errors),o=s.length))}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return kS.errors=s,o===0}function ES(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0,a=o,u=!1,l=null,c=o;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let p in t)if(!DS.test(p)){let h={instancePath:e,schemaPath:"#/oneOf/0/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:p},message:"must NOT have additional properties"};s===null?s=[h]:s.push(h),o++}for(let p in t)DS.test(p)&&(xn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length))}else{let p={instancePath:e,schemaPath:"#/oneOf/0/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[p]:s.push(p),o++}var d=c===o;d&&(u=!0,l=0);let f=o;if(Array.isArray(t)){let p=t.length;for(let h=0;h<p;h++)xn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?xn.errors:s.concat(xn.errors),o=s.length)}else{let p={instancePath:e,schemaPath:"#/oneOf/1/type",keyword:"type",params:{type:"array"},message:"must be array"};s===null?s=[p]:s.push(p),o++}var d=f===o;if(d&&u?(u=!1,l=[l,1]):d&&(u=!0,l=1),u)o=a,s!==null&&(a?s.length=a:s=null);else{let p={instancePath:e,schemaPath:"#/oneOf",keyword:"oneOf",params:{passingSchemas:l},message:"must match exactly one schema in oneOf"};s===null?s=[p]:s.push(p),o++}return ES.errors=s,o===0}function CS(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){for(let a in t)if(!(a==="alignment"||a==="verticalAlignment"||a==="width"||a==="wrapWord"||a==="truncate"||a==="paddingLeft"||a==="paddingRight")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.alignment!==void 0&&(Li(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Li.errors:s.concat(Li.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ii(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.width!==void 0){let a=t.width;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/width",schemaPath:"#/properties/width/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.wrapWord!==void 0&&typeof t.wrapWord!="boolean"){let a={instancePath:e+"/wrapWord",schemaPath:"#/properties/wrapWord/type",keyword:"type",params:{type:"boolean"},message:"must be boolean"};s===null?s=[a]:s.push(a),o++}if(t.truncate!==void 0){let a=t.truncate;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/truncate",schemaPath:"#/properties/truncate/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingLeft!==void 0){let a=t.paddingLeft;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingLeft",schemaPath:"#/properties/paddingLeft/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}if(t.paddingRight!==void 0){let a=t.paddingRight;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/paddingRight",schemaPath:"#/properties/paddingRight/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return CS.errors=s,o===0}function Xle(t,{instancePath:e="",parentData:r,parentDataProperty:n,rootData:i=t}={}){let s=null,o=0;if(t&&typeof t=="object"&&!Array.isArray(t)){if(t.columnDefault===void 0){let a={instancePath:e,schemaPath:"#/required",keyword:"required",params:{missingProperty:"columnDefault"},message:"must have required property 'columnDefault'"};s===null?s=[a]:s.push(a),o++}if(t.columnCount===void 0){let a={instancePath:e,schemaPath:"#/required",keyword:"required",params:{missingProperty:"columnCount"},message:"must have required property 'columnCount'"};s===null?s=[a]:s.push(a),o++}for(let a in t)if(!(a==="border"||a==="columns"||a==="columnDefault"||a==="columnCount"||a==="drawVerticalLine")){let u={instancePath:e,schemaPath:"#/additionalProperties",keyword:"additionalProperties",params:{additionalProperty:a},message:"must NOT have additional properties"};s===null?s=[u]:s.push(u),o++}if(t.border!==void 0&&(kS(t.border,{instancePath:e+"/border",parentData:t,parentDataProperty:"border",rootData:i})||(s=s===null?kS.errors:s.concat(kS.errors),o=s.length)),t.columns!==void 0&&(ES(t.columns,{instancePath:e+"/columns",parentData:t,parentDataProperty:"columns",rootData:i})||(s=s===null?ES.errors:s.concat(ES.errors),o=s.length)),t.columnDefault!==void 0&&(CS(t.columnDefault,{instancePath:e+"/columnDefault",parentData:t,parentDataProperty:"columnDefault",rootData:i})||(s=s===null?CS.errors:s.concat(CS.errors),o=s.length)),t.columnCount!==void 0){let a=t.columnCount;if(!(typeof a=="number"&&!(a%1)&&!isNaN(a)&&isFinite(a))){let u={instancePath:e+"/columnCount",schemaPath:"#/properties/columnCount/type",keyword:"type",params:{type:"integer"},message:"must be integer"};s===null?s=[u]:s.push(u),o++}if(typeof a=="number"&&isFinite(a)&&(a<1||isNaN(a))){let u={instancePath:e+"/columnCount",schemaPath:"#/properties/columnCount/minimum",keyword:"minimum",params:{comparison:">=",limit:1},message:"must be >= 1"};s===null?s=[u]:s.push(u),o++}}if(t.drawVerticalLine!==void 0&&typeof t.drawVerticalLine!="function"){let a={instancePath:e+"/drawVerticalLine",schemaPath:"#/properties/drawVerticalLine/typeof",keyword:"typeof",params:{},message:'must pass "typeof" keyword validation'};s===null?s=[a]:s.push(a),o++}}else{let a={instancePath:e,schemaPath:"#/type",keyword:"type",params:{type:"object"},message:"must be object"};s===null?s=[a]:s.push(a),o++}return Xle.errors=s,o===0}});var vF=m(kl=>{"use strict";var fdt=kl&&kl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kl,"__esModule",{value:!0});kl.validateConfig=void 0;var ddt=fdt(Zle()),pdt=(t,e)=>{let r=ddt.default[t];if(!r(e)&&r.errors){let n=r.errors.map(i=>({message:i.message,params:i.params,schemaPath:i.schemaPath}));throw console.log("config",e),console.log("errors",n),new Error("Invalid config.")}};kl.validateConfig=pdt});var ece=m(OS=>{"use strict";Object.defineProperty(OS,"__esModule",{value:!0});OS.makeStreamConfig=void 0;var hdt=fr(),gdt=vF(),mdt=(t,e={},r)=>Array.from({length:t}).map((n,i)=>({alignment:"left",paddingLeft:1,paddingRight:1,truncate:Number.POSITIVE_INFINITY,verticalAlignment:"top",wrapWord:!1,...r,...e[i]})),ydt=t=>{if((0,gdt.validateConfig)("streamConfig.json",t),t.columnDefault.width===void 0)throw new Error("Must provide config.columnDefault.width when creating a stream.");return{drawVerticalLine:()=>!0,...t,border:(0,hdt.makeBorderConfig)(t.border),columns:mdt(t.columnCount,t.columns,t.columnDefault)}};OS.makeStreamConfig=ydt});var RS=m(Ea=>{"use strict";Object.defineProperty(Ea,"__esModule",{value:!0});Ea.mapDataUsingRowHeights=Ea.padCellVertically=void 0;var bdt=fr(),vdt=hS(),qS=t=>new Array(t).fill(""),wdt=(t,e,r)=>{let n=e-t.length;return r==="top"?[...t,...qS(n)]:r==="bottom"?[...qS(n),...t]:[...qS(Math.floor(n/2)),...t,...qS(Math.ceil(n/2))]};Ea.padCellVertically=wdt;var _dt=(t,e,r)=>{let n=t[0].length,i=t.map((s,o)=>{let a=e[o],u=Array.from({length:a},()=>new Array(n).fill(""));return s.forEach((l,c)=>{var f;let d=(f=r.spanningCellManager)===null||f===void 0?void 0:f.getContainingRange({col:c,row:o});if(d){d.extractCellContent(o).forEach((y,b)=>{u[b][c]=y});return}let p=(0,vdt.wrapCell)(l,r.columns[c].width,r.columns[c].wrapWord);(0,Ea.padCellVertically)(p,a,r.columns[c].verticalAlignment).forEach((y,b)=>{u[b][c]=y})}),u});return(0,bdt.flatten)(i)};Ea.mapDataUsingRowHeights=_dt});var AS=m(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.padTableData=Ca.padString=void 0;var xdt=(t,e,r)=>" ".repeat(e)+t+" ".repeat(r);Ca.padString=xdt;var Sdt=(t,e)=>t.map((r,n)=>r.map((i,s)=>{var o;if((o=e.spanningCellManager)===null||o===void 0?void 0:o.getContainingRange({col:s,row:n},{mapped:!0}))return i;let{paddingLeft:u,paddingRight:l}=e.columns[s];return(0,Ca.padString)(i,u,l)}));Ca.padTableData=Sdt});var wF=m(PS=>{"use strict";Object.defineProperty(PS,"__esModule",{value:!0});PS.stringifyTableData=void 0;var kdt=fr(),Edt=t=>t.map(e=>e.map(r=>(0,kdt.normalizeString)(String(r))));PS.stringifyTableData=Edt});var Sce=m((np,El)=>{var Cdt=30,Ddt="...",_F=1/0,Odt=17976931348623157e292,tce=0/0,qdt="[object RegExp]",Rdt="[object Symbol]",Adt=/^\s+|\s+$/g,Pdt=/\w*$/,Tdt=/^[-+]0x[0-9a-f]+$/i,Mdt=/^0b[01]+$/i,Fdt=/^0o[0-7]+$/i,CF="\\ud800-\\udfff",cce="\\u0300-\\u036f\\ufe20-\\ufe23",fce="\\u20d0-\\u20f0",dce="\\ufe0e\\ufe0f",Ldt="["+CF+"]",xF="["+cce+fce+"]",SF="\\ud83c[\\udffb-\\udfff]",Idt="(?:"+xF+"|"+SF+")",pce="[^"+CF+"]",hce="(?:\\ud83c[\\udde6-\\uddff]){2}",gce="[\\ud800-\\udbff][\\udc00-\\udfff]",mce="\\u200d",yce=Idt+"?",bce="["+dce+"]?",Ndt="(?:"+mce+"(?:"+[pce,hce,gce].join("|")+")"+bce+yce+")*",jdt=bce+yce+Ndt,$dt="(?:"+[pce+xF+"?",xF,hce,gce,Ldt].join("|")+")",kF=RegExp(SF+"(?="+SF+")|"+$dt+jdt,"g"),Bdt=RegExp("["+mce+CF+cce+fce+dce+"]"),Wdt=parseInt,vce=typeof global=="object"&&global&&global.Object===Object&&global,zdt=typeof self=="object"&&self&&self.Object===Object&&self,Udt=vce||zdt||Function("return this")(),wce=typeof np=="object"&&np&&!np.nodeType&&np,rce=wce&&typeof El=="object"&&El&&!El.nodeType&&El,Hdt=rce&&rce.exports===wce,nce=Hdt&&vce.process,ice=function(){try{return nce&&nce.binding("util")}catch{}}(),sce=ice&&ice.isRegExp,Vdt=Kdt("length");function Gdt(t){return t.split("")}function Kdt(t){return function(e){return e?.[t]}}function Ydt(t){return function(e){return t(e)}}function DF(t){return Bdt.test(t)}function Qdt(t){return DF(t)?Xdt(t):Vdt(t)}function Jdt(t){return DF(t)?Zdt(t):Gdt(t)}function Xdt(t){for(var e=kF.lastIndex=0;kF.test(t);)e++;return e}function Zdt(t){return t.match(kF)||[]}var ept=Object.prototype,_ce=ept.toString,oce=Udt.Symbol,ace=oce?oce.prototype:void 0,uce=ace?ace.toString:void 0;function tpt(t){return TS(t)&&_ce.call(t)==qdt}function rpt(t,e,r){var n=-1,i=t.length;e<0&&(e=-e>i?0:i+e),r=r>i?i:r,r<0&&(r+=i),i=e>r?0:r-e>>>0,e>>>=0;for(var s=Array(i);++n<i;)s[n]=t[n+e];return s}function EF(t){if(typeof t=="string")return t;if(xce(t))return uce?uce.call(t):"";var e=t+"";return e=="0"&&1/t==-_F?"-0":e}function npt(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:rpt(t,e,r)}function TS(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function ipt(t){return!!t&&typeof t=="object"}var spt=sce?Ydt(sce):tpt;function xce(t){return typeof t=="symbol"||ipt(t)&&_ce.call(t)==Rdt}function opt(t){if(!t)return t===0?t:0;if(t=upt(t),t===_F||t===-_F){var e=t<0?-1:1;return e*Odt}return t===t?t:0}function apt(t){var e=opt(t),r=e%1;return e===e?r?e-r:e:0}function upt(t){if(typeof t=="number")return t;if(xce(t))return tce;if(TS(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=TS(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Adt,"");var r=Mdt.test(t);return r||Fdt.test(t)?Wdt(t.slice(2),r?2:8):Tdt.test(t)?tce:+t}function lce(t){return t==null?"":EF(t)}function lpt(t,e){var r=Cdt,n=Ddt;if(TS(e)){var i="separator"in e?e.separator:i;r="length"in e?apt(e.length):r,n="omission"in e?EF(e.omission):n}t=lce(t);var s=t.length;if(DF(t)){var o=Jdt(t);s=o.length}if(r>=s)return t;var a=r-Qdt(n);if(a<1)return n;var u=o?npt(o,0,a).join(""):t.slice(0,a);if(i===void 0)return u+n;if(o&&(a+=u.length-a),spt(i)){if(t.slice(a).search(i)){var l,c=u;for(i.global||(i=RegExp(i.source,lce(Pdt.exec(i))+"g")),i.lastIndex=0;l=i.exec(c);)var f=l.index;u=u.slice(0,f===void 0?a:f)}}else if(t.indexOf(EF(i),a)!=a){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+n}El.exports=lpt});var MS=m(ps=>{"use strict";var cpt=ps&&ps.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ps,"__esModule",{value:!0});ps.truncateTableData=ps.truncateString=void 0;var fpt=cpt(Sce()),dpt=(t,e)=>(0,fpt.default)(t,{length:e,omission:"\u2026"});ps.truncateString=dpt;var ppt=(t,e)=>t.map(r=>r.map((n,i)=>(0,ps.truncateString)(n,e[i])));ps.truncateTableData=ppt});var Cce=m(LS=>{"use strict";Object.defineProperty(LS,"__esModule",{value:!0});LS.createStream=void 0;var hpt=dF(),gpt=pF(),FS=hF(),kce=gF(),mpt=ece(),ypt=RS(),bpt=AS(),vpt=wF(),wpt=MS(),_pt=fr(),Ece=(t,e)=>{let r=(0,vpt.stringifyTableData)(t);r=(0,wpt.truncateTableData)(r,(0,_pt.extractTruncates)(e));let n=(0,gpt.calculateRowHeights)(r,e);return r=(0,ypt.mapDataUsingRowHeights)(r,n,e),r=(0,hpt.alignTableData)(r,e),r=(0,bpt.padTableData)(r,e),r},xpt=(t,e,r)=>{let i=Ece([t],r).map(o=>(0,kce.drawRow)(o,r)).join(""),s;s="",s+=(0,FS.drawBorderTop)(e,r),s+=i,s+=(0,FS.drawBorderBottom)(e,r),s=s.trimEnd(),process.stdout.write(s)},Spt=(t,e,r)=>{let i=Ece([t],r).map(a=>(0,kce.drawRow)(a,r)).join(""),s="",o=(0,FS.drawBorderBottom)(e,r);o!==`
|
|
330
|
+
`&&(s="\r\x1B[K"),s+=(0,FS.drawBorderJoin)(e,r),s+=i,s+=o,s=s.trimEnd(),process.stdout.write(s)},kpt=t=>{let e=(0,mpt.makeStreamConfig)(t),r=Object.values(e.columns).map(i=>i.width+i.paddingLeft+i.paddingRight),n=!0;return{write:i=>{if(i.length!==e.columnCount)throw new Error("Row cell count does not match the config.columnCount.");n?(n=!1,xpt(i,r,e)):Spt(i,r,e)}}};LS.createStream=kpt});var Dce=m(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});IS.calculateOutputColumnWidths=void 0;var Ept=t=>t.columns.map(e=>e.paddingLeft+e.width+e.paddingRight);IS.calculateOutputColumnWidths=Ept});var Oce=m(NS=>{"use strict";Object.defineProperty(NS,"__esModule",{value:!0});NS.drawTable=void 0;var Cpt=hF(),Dpt=bS(),Opt=gF(),qpt=fr(),Rpt=(t,e,r,n)=>{let{drawHorizontalLine:i,singleLine:s}=n,o=(0,qpt.groupBySizes)(t,r).map((a,u)=>a.map(l=>(0,Opt.drawRow)(l,{...n,rowIndex:u})).join(""));return(0,Dpt.drawContent)({contents:o,drawSeparator:(a,u)=>(a===0||a===u||!s)&&i(a,u),elementType:"row",rowIndex:-1,separatorGetter:(0,Cpt.createTableBorderGetter)(e,{...n,rowCount:o.length}),spanningCellManager:n.spanningCellManager})};NS.drawTable=Rpt});var qce=m(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});jS.injectHeaderConfig=void 0;var Apt=(t,e)=>{var r;let n=(r=e.spanningCells)!==null&&r!==void 0?r:[],i=e.header,s=[...t];if(i){n=n.map(({row:u,...l})=>({...l,row:u+1}));let{content:o,...a}=i;n.unshift({alignment:"center",col:0,colSpan:t[0].length,paddingLeft:1,paddingRight:1,row:0,wrapWord:!1,...a}),s.unshift([o,...Array.from({length:t[0].length-1}).fill("")])}return[s,n]};jS.injectHeaderConfig=Apt});var Ace=m(hs=>{"use strict";var Ppt=hs&&hs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hs,"__esModule",{value:!0});hs.calculateMaximumColumnWidths=hs.calculateMaximumCellWidth=void 0;var Tpt=Ppt(Sa()),Rce=fr(),Mpt=t=>Math.max(...t.split(`
|
|
331
|
+
`).map(Tpt.default));hs.calculateMaximumCellWidth=Mpt;var Fpt=(t,e=[])=>{let r=new Array(t[0].length).fill(0),n=e.map(Rce.calculateRangeCoordinate),i=(s,o)=>n.some(a=>(0,Rce.isCellInRange)({col:o,row:s},a));return t.forEach((s,o)=>{s.forEach((a,u)=>{i(o,u)||(r[u]=Math.max(r[u],(0,hs.calculateMaximumCellWidth)(a)))})}),r};hs.calculateMaximumColumnWidths=Fpt});var Tce=m(ao=>{"use strict";var Lpt=ao&&ao.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ao,"__esModule",{value:!0});ao.alignVerticalRangeContent=ao.wrapRangeContent=void 0;var Ipt=Lpt(Sa()),Npt=fF(),jpt=RS(),$pt=AS(),Bpt=MS(),Pce=fr(),Wpt=hS(),zpt=(t,e,r)=>{let{topLeft:n,paddingRight:i,paddingLeft:s,truncate:o,wrapWord:a,alignment:u}=t,l=r.rows[n.row][n.col],c=e-s-i;return(0,Wpt.wrapCell)((0,Bpt.truncateString)(l,o),c,a).map(f=>{let d=(0,Npt.alignString)(f,c,u);return(0,$pt.padString)(d,s,i)})};ao.wrapRangeContent=zpt;var Upt=(t,e,r)=>{let{rows:n,drawHorizontalLine:i,rowHeights:s}=r,{topLeft:o,bottomRight:a,verticalAlignment:u}=t;if(s.length===0)return[];let l=(0,Pce.sumArray)(s.slice(o.row,a.row+1)),c=a.row-o.row,f=(0,Pce.sequence)(o.row+1,a.row).filter(p=>!i(p,n.length)).length,d=l+c-f;return(0,jpt.padCellVertically)(e,d,u).map(p=>p.length===0?" ".repeat((0,Ipt.default)(e[0])):p)};ao.alignVerticalRangeContent=Upt});var Mce=m($S=>{"use strict";Object.defineProperty($S,"__esModule",{value:!0});$S.calculateSpanningCellWidth=void 0;var OF=fr(),Hpt=(t,e)=>{let{columnsConfig:r,drawVerticalLine:n}=e,{topLeft:i,bottomRight:s}=t,o=(0,OF.sumArray)(r.slice(i.col,s.col+1).map(({width:c})=>c)),a=i.col===s.col?r[i.col].paddingRight+r[s.col].paddingLeft:(0,OF.sumArray)(r.slice(i.col,s.col+1).map(({paddingLeft:c,paddingRight:f})=>c+f)),u=s.col-i.col,l=(0,OF.sequence)(i.col+1,s.col).filter(c=>!n(c,r.length)).length;return o+a+u-l};$S.calculateSpanningCellWidth=Hpt});var Fce=m(BS=>{"use strict";Object.defineProperty(BS,"__esModule",{value:!0});BS.makeRangeConfig=void 0;var Vpt=fr(),Gpt=(t,e)=>{var r;let{topLeft:n,bottomRight:i}=(0,Vpt.calculateRangeCoordinate)(t);return{...{...e[n.col],...t,paddingRight:(r=t.paddingRight)!==null&&r!==void 0?r:e[i.col].paddingRight},bottomRight:i,topLeft:n}};BS.makeRangeConfig=Gpt});var Nce=m(WS=>{"use strict";Object.defineProperty(WS,"__esModule",{value:!0});WS.createSpanningCellManager=void 0;var Lce=Tce(),Kpt=Mce(),Ypt=Fce(),Cl=fr(),qF=(t,e)=>e.find(r=>(0,Cl.isCellInRange)(t,r)),Ice=(t,e)=>{let r=(0,Kpt.calculateSpanningCellWidth)(t,e),n=(0,Lce.wrapRangeContent)(t,r,e),i=(0,Lce.alignVerticalRangeContent)(t,n,e);return{...t,extractBorderContent:a=>{let{topLeft:u}=t,l=(0,Cl.sumArray)(e.rowHeights.slice(u.row,a))+(a-u.row-1);return i[l]},extractCellContent:a=>{let{topLeft:u}=t,{drawHorizontalLine:l,rowHeights:c}=e,f=a-u.row,d=(0,Cl.sequence)(u.row+1,a).filter(h=>!l?.(h,c.length)).length,p=(0,Cl.sumArray)(c.slice(u.row,a))+f-d;return i.slice(p,p+c[a])},height:n.length,width:r}},Qpt=(t,e,r)=>{let n=qF(t,r),i=qF(e,r);return n&&i?(0,Cl.areCellEqual)(n.topLeft,i.topLeft):!1},Jpt=t=>{let{row:e,col:r}=t.topLeft;return`${e}/${r}`},Xpt=t=>{let{spanningCellConfigs:e,columnsConfig:r}=t,n=e.map(o=>(0,Ypt.makeRangeConfig)(o,r)),i={},s=[];return{getContainingRange:(o,a)=>{var u;let l=a?.mapped?(0,Cl.findOriginalRowIndex)(s,o.row):o.row,c=qF({...o,row:l},n);if(!c)return;if(s.length===0)return Ice(c,{...t,rowHeights:s});let f=Jpt(c);return(u=i[f])!==null&&u!==void 0||(i[f]=Ice(c,{...t,rowHeights:s})),i[f]},inSameRange:(o,a)=>Qpt(o,a,n),rowHeights:s,setRowHeights:o=>{s=o}}};WS.createSpanningCellManager=Xpt});var jce=m(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});US.validateSpanningCellConfig=void 0;var RF=fr(),zS=(t,e,r)=>t<=r&&r<=e,Zpt=(t,e)=>{let[r,n]=[t.length,t[0].length];e.forEach((o,a)=>{let{colSpan:u,rowSpan:l}=o;if(u===void 0&&l===void 0)throw new Error(`Expect at least colSpan or rowSpan is provided in config.spanningCells[${a}]`);if(u!==void 0&&u<1)throw new Error(`Expect colSpan is not equal zero, instead got: ${u} in config.spanningCells[${a}]`);if(l!==void 0&&l<1)throw new Error(`Expect rowSpan is not equal zero, instead got: ${l} in config.spanningCells[${a}]`)});let i=e.map(RF.calculateRangeCoordinate);i.forEach(({topLeft:o,bottomRight:a},u)=>{if(!zS(0,n-1,o.col)||!zS(0,r-1,o.row)||!zS(0,n-1,a.col)||!zS(0,r-1,a.row))throw new Error(`Some cells in config.spanningCells[${u}] are out of the table`)});let s=Array.from({length:r},()=>Array.from({length:n}));i.forEach(({topLeft:o,bottomRight:a},u)=>{(0,RF.sequence)(o.row,a.row).forEach(l=>{(0,RF.sequence)(o.col,a.col).forEach(c=>{if(s[l][c]!==void 0)throw new Error(`Spanning cells in config.spanningCells[${s[l][c]}] and config.spanningCells[${u}] are overlap each other`);s[l][c]=u})})})};US.validateSpanningCellConfig=Zpt});var $ce=m(HS=>{"use strict";Object.defineProperty(HS,"__esModule",{value:!0});HS.makeTableConfig=void 0;var eht=Ace(),tht=Nce(),rht=fr(),nht=vF(),iht=jce(),sht=(t,e,r,n)=>{let i=(0,eht.calculateMaximumColumnWidths)(t,n);return t[0].map((s,o)=>({alignment:"left",paddingLeft:1,paddingRight:1,truncate:Number.POSITIVE_INFINITY,verticalAlignment:"top",width:i[o],wrapWord:!1,...r,...e?.[o]}))},oht=(t,e={},r)=>{var n,i,s,o,a;(0,nht.validateConfig)("config.json",e),(0,iht.validateSpanningCellConfig)(t,(n=e.spanningCells)!==null&&n!==void 0?n:[]);let u=(i=r??e.spanningCells)!==null&&i!==void 0?i:[],l=sht(t,e.columns,e.columnDefault,u),c=(s=e.drawVerticalLine)!==null&&s!==void 0?s:()=>!0,f=(o=e.drawHorizontalLine)!==null&&o!==void 0?o:()=>!0;return{...e,border:(0,rht.makeBorderConfig)(e.border),columns:l,drawHorizontalLine:f,drawVerticalLine:c,singleLine:(a=e.singleLine)!==null&&a!==void 0?a:!1,spanningCellManager:(0,tht.createSpanningCellManager)({columnsConfig:l,drawHorizontalLine:f,drawVerticalLine:c,rows:t,spanningCellConfigs:u})}};HS.makeTableConfig=oht});var Bce=m(VS=>{"use strict";Object.defineProperty(VS,"__esModule",{value:!0});VS.validateTableData=void 0;var aht=fr(),uht=t=>{if(!Array.isArray(t))throw new TypeError("Table data must be an array.");if(t.length===0)throw new Error("Table must define at least one row.");if(t[0].length===0)throw new Error("Table must define at least one column.");let e=t[0].length;for(let r of t){if(!Array.isArray(r))throw new TypeError("Table row data must be an array.");if(r.length!==e)throw new Error("Table must have a consistent number of cells.");for(let n of r)if(/[\u0001-\u0006\u0008\u0009\u000B-\u001A]/.test((0,aht.normalizeString)(String(n))))throw new Error("Table data must not contain control characters.")}};VS.validateTableData=uht});var Wce=m(GS=>{"use strict";Object.defineProperty(GS,"__esModule",{value:!0});GS.table=void 0;var lht=dF(),cht=Dce(),fht=pF(),dht=Oce(),pht=qce(),hht=$ce(),ght=RS(),mht=AS(),yht=wF(),bht=MS(),vht=fr(),wht=Bce(),_ht=(t,e={})=>{(0,wht.validateTableData)(t);let r=(0,yht.stringifyTableData)(t),[n,i]=(0,pht.injectHeaderConfig)(r,e),s=(0,hht.makeTableConfig)(n,e,i);r=(0,bht.truncateTableData)(n,(0,vht.extractTruncates)(s));let o=(0,fht.calculateRowHeights)(r,s);s.spanningCellManager.setRowHeights(o),r=(0,ght.mapDataUsingRowHeights)(r,o,s),r=(0,lht.alignTableData)(r,s),r=(0,mht.padTableData)(r,s);let a=(0,cht.calculateOutputColumnWidths)(s);return(0,dht.drawTable)(r,a,o,s)};GS.table=_ht});var Uce=m(zce=>{"use strict";Object.defineProperty(zce,"__esModule",{value:!0})});var Hce=m(Sn=>{"use strict";var xht=Sn&&Sn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Sht=Sn&&Sn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&xht(e,t,r)};Object.defineProperty(Sn,"__esModule",{value:!0});Sn.getBorderCharacters=Sn.createStream=Sn.table=void 0;var kht=Cce();Object.defineProperty(Sn,"createStream",{enumerable:!0,get:function(){return kht.createStream}});var Eht=uF();Object.defineProperty(Sn,"getBorderCharacters",{enumerable:!0,get:function(){return Eht.getBorderCharacters}});var Cht=Wce();Object.defineProperty(Sn,"table",{enumerable:!0,get:function(){return Cht.table}});Sht(Uce(),Sn)});var AF=m((j3t,Vce)=>{"use strict";Vce.exports=function(e,r){switch(e){case"error":r.error+=1;break;case"warning":r.warning+=1;break;default:throw new Error(`Unknown severity: "${e}"`)}}});var KS=m(($3t,Gce)=>{"use strict";Gce.exports=function(e,r){return r===1?e:`${e}s`}});var Qce=m((B3t,Yce)=>{"use strict";var Dht=mM(),Dl=pM();function Kce(t){if(/^\d{3,4}$/.test(t)){let r=/(\d{1,2})(\d{2})/.exec(t);return{major:0,minor:parseInt(r[1],10),patch:parseInt(r[2],10)}}let e=(t||"").split(".").map(r=>parseInt(r,10));return{major:e[0],minor:e[1],patch:e[2]}}function PF(t){let{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&parseInt(e.FORCE_HYPERLINK,10)===0);if(Dl("no-hyperlink")||Dl("no-hyperlinks")||Dl("hyperlink=false")||Dl("hyperlink=never"))return!1;if(Dl("hyperlink=true")||Dl("hyperlink=always")||"NETLIFY"in e)return!0;if(!Dht.supportsColor(t)||t&&!t.isTTY||process.platform==="win32"||"CI"in e||"TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){let r=Kce(e.TERM_PROGRAM_VERSION);switch(e.TERM_PROGRAM){case"iTerm.app":return r.major===3?r.minor>=1:r.major>3;case"WezTerm":return r.major>=20200620;case"vscode":return r.major>1||r.major===1&&r.minor>=72}}if("VTE_VERSION"in e){if(e.VTE_VERSION==="0.50.0")return!1;let r=Kce(e.VTE_VERSION);return r.major>0||r.minor>=50}return!1}Yce.exports={supportsHyperlink:PF,stdout:PF(process.stdout),stderr:PF(process.stderr)}});var TF=m((W3t,Zce)=>{"use strict";var Oht=Qce(),Jce="\x1B]",Xce="\x07",YS=";";Zce.exports=function(e,r){return Oht.stdout?[Jce,"8",YS,YS,r,Xce,e,Jce,"8",YS,YS,Xce].join(""):e}});var FF=m((z3t,ufe)=>{"use strict";var efe=require("path"),qht=Sa(),tfe=Hce(),{yellow:JS,dim:QS,underline:sfe,blue:ofe,red:XS,green:Rht}=Bo(),Aht=AF(),MF=KS(),{assertNumber:afe}=te(),Pht=yl(),Tht=TF(),rfe=9;function Mht(t){return t}var Fht={info:ofe,warning:JS,error:XS,success:Mht},nfe={info:ofe("\u2139"),warning:JS("\u26A0"),error:XS("\u2716"),success:Rht("\u2714")};function Lht(t){let e=t.flatMap(n=>n.deprecations||[]);if(e.length===0)return"";let r=new Set;return e.reduce((n,i)=>r.has(i.text)?n:(r.add(i.text),n+=JS("Deprecation Warning: "),n+=i.text,i.reference&&(n+=QS(" See: "),n+=QS(sfe(i.reference))),`${n}
|
|
332
|
+
`),`
|
|
333
|
+
`)}function Iht(t){let e=t.flatMap(n=>(n.invalidOptionWarnings||[]).map(i=>i.text));return[...new Set(e)].reduce((n,i)=>(n+=XS("Invalid Option: "),n+=i,`${n}
|
|
334
|
+
`),`
|
|
335
|
+
`)}function Nht(t,e){if(t.startsWith("<"))return sfe(t);let r=efe.relative(e,t).split(efe.sep).join("/");return Tht(r,`file://${t}`)}function ife(t){let e=t[3];if(afe(e),!process.stdout.isTTY)return e;let r=process.stdout.columns<80?80:process.stdout.columns,n=Object.values(t).reduce((i,s)=>i+s);return r>n+rfe?e:r-(n-e+rfe)}function jht(t,e,r){if(t.length===0)return"";let n={0:1,1:1,2:1,3:1,4:1};function i(u){for(let[l,c]of Object.entries(u)){let f=c&&c.toString(),d=n[l];afe(d),n[l]=Math.max(d,qht(f))}return u}let s=`
|
|
336
|
+
`;e&&(s+=`${Nht(e,r)}
|
|
337
|
+
`);function o(u){let l=u.text;l=l.replace(/[\u0001-\u001A]+/g," ").replace(/\.$/,"");let c=` (${u.rule})`;return l.endsWith(c)&&(l=l.slice(0,l.lastIndexOf(c))),l}let a=t.map(u=>{let{line:l,column:c,severity:f}=u,d=[l?l.toString():"",c?c.toString():"",nfe[f]?Fht[f](nfe[f]):f,o(u),QS(u.rule||"")];return i(d),d});return s+=tfe.table(a,{border:tfe.getBorderCharacters("void"),columns:{0:{alignment:"right",width:n[0],paddingRight:0},1:{alignment:"left",width:n[1]},2:{alignment:"center",width:n[2]},3:{alignment:"left",width:ife(n),wrapWord:ife(n)>1},4:{alignment:"left",width:n[4],paddingRight:0}},drawHorizontalLine:()=>!1}).split(`
|
|
338
|
+
`).map(u=>u.replace(/(\d+)\s+(\d+)/,(l,c,f)=>QS(`${c}:${f}`)).trimEnd()).join(`
|
|
339
|
+
`),s}ufe.exports=function(e,r){let n=Iht(e);n+=Lht(e);let i={error:0,warning:0};if(n=e.reduce((s,o)=>{Pht(o),s+=jht(o.warnings,o.source||"",r&&r.cwd||process.cwd());for(let a of o.warnings)Aht(a.severity,i);return s},n),n=n.trim(),n!==""){n=`
|
|
340
|
+
${n}
|
|
341
|
+
|
|
342
|
+
`;let s=i.error,o=i.warning,a=s+o;if(a>0){let u=XS(`${s} ${MF("error",s)}`),l=JS(`${o} ${MF("warning",o)}`),c=`${a} ${MF("problem",a)} (${u}, ${l})`;n+=`${c}
|
|
343
|
+
|
|
344
|
+
`}}return n}});var cfe=m((U3t,lfe)=>{"use strict";var $ht=yl();lfe.exports=function(e){let r=[`TAP version 13
|
|
345
|
+
1..${e.length}`];for(let[n,i]of e.entries())if($ht(i),r.push(`${i.errored?"not ok":"ok"} ${n+1} - ${i.ignored?"ignored ":""}${i.source}`),i.warnings.length>0){r.push("---","messages:");for(let s of i.warnings)r.push(` - message: "${s.text}"`,` severity: ${s.severity}`," data:",` line: ${s.line}`,` column: ${s.column}`),typeof s.endLine=="number"&&r.push(` endLine: ${s.endLine}`),typeof s.endColumn=="number"&&r.push(` endColumn: ${s.endColumn}`),typeof s.rule=="string"&&r.push(` ruleId: ${s.rule}`);r.push("---")}return r.push(""),r.join(`
|
|
346
|
+
`)}});var dfe=m((H3t,ffe)=>{"use strict";var Bht=AF(),LF=KS(),Wht=yl();ffe.exports=function(e){let r={error:0,warning:0},n=e.flatMap(o=>(Wht(o),o.warnings.map(a=>(Bht(a.severity,r),`${o.source}:${a.line}:${a.column}: ${a.text} [${a.severity}]`)))),i=n.length,s=n.join(`
|
|
347
|
+
`);return i>0&&(s+=`
|
|
348
|
+
|
|
349
|
+
${i} ${LF("problem",i)}`,s+=` (${r.error} ${LF("error",r.error)}`,s+=`, ${r.warning} ${LF("warning",r.warning)})
|
|
350
|
+
`),s}});var wfe=m((V3t,vfe)=>{"use strict";var{underline:pfe,red:zht,yellow:hfe,dim:gfe,green:Uht}=Bo(),mfe=KS(),Hht=FF(),bfe=TF();vfe.exports=function(e,r){let n=Hht(e,r);n===""&&(n=`
|
|
351
|
+
`);let i=e.filter(a=>a.ignored).length,s=i?`${e.length-i} of ${e.length}`:e.length;n+=pfe(`${s} ${mfe("source",e.length)} checked
|
|
352
|
+
`);for(let a of e){let u=Uht;a.errored?u=zht:a.warnings.length?u=hfe:a.ignored&&(u=gfe);let l=Vht(a.source);a.ignored&&(l+=" (ignored)"),n+=u(` ${l}
|
|
353
|
+
`)}let o=e.flatMap(a=>a.warnings);if(o.length===0)n+=`
|
|
354
|
+
0 problems found
|
|
355
|
+
`;else{let a=yfe(o,c=>c.severity),u=!1,l=c=>{let f=a[c];if(f===void 0)return;n+=`
|
|
356
|
+
`,n+=pfe(`${f.length} ${mfe(c,f.length)} found
|
|
357
|
+
`);let d=yfe(f,h=>h.rule),p=r.ruleMetadata;for(let[h,y]of Object.entries(d)){let b=p[h],g=b&&b.fixable?" (maybe fixable)":"";n+=gfe(` ${Ght(h,b)}: ${y.length}${g}
|
|
358
|
+
`),!u&&b&&b.fixable&&(u=!0)}};l("error"),l("warning"),u&&(n+=hfe(`
|
|
359
|
+
You may fix some problems with the "--fix" option.
|
|
360
|
+
`))}return`${n}
|
|
361
|
+
`};function yfe(t,e){let r={};for(let n of t){let i=e(n),s=r[i];s===void 0&&(r[i]=s=[]),s.push(n)}return r}function Vht(t){return!t||t.startsWith("<")?`${t}`:bfe(t,`file://${t}`)}function Ght(t,e){return e&&e.url?bfe(t,e.url):t}});var ZS=m((G3t,_fe)=>{"use strict";var Da=h2(),Kht={compact:Da(()=>nle())(),github:Da(()=>sle())(),json:Da(()=>ale())(),string:Da(()=>FF())(),tap:Da(()=>cfe())(),unix:Da(()=>dfe())(),verbose:Da(()=>wfe())()};_fe.exports=Kht});var ip=m((K3t,Sfe)=>{"use strict";var Yht=Fc(),Qht=require("path"),{augmentConfigFull:xfe}=fM(),{cosmiconfig:Jht}=tM(),Xht=process.env.NODE_ENV==="test",Zht=Xht?process.cwd():void 0;Sfe.exports=async function(e,r=e._options.cwd,n){let i=e._options.config,s=e._options.cwd;if(i!==void 0){let u=e._specifiedConfigCache.get(i);if(u&&!i.overrides)return u;let l=xfe(e,n,{config:i,filepath:Qht.join(s,"argument-config")});return e._specifiedConfigCache.set(i,l),l}let o=Jht("stylelint",{transform:u=>xfe(e,n,u),stopDir:Zht}),a=e._options.configFile?await o.load(e._options.configFile):await o.search(r);return a||(a=await o.search(s)),a||Promise.reject(Yht(`No configuration provided${r?` for ${r}`:""}`))}});var ak=m((Y3t,Dfe)=>{"use strict";var IF="'".charCodeAt(0),kfe='"'.charCodeAt(0),ek="\\".charCodeAt(0),Efe="/".charCodeAt(0),tk=`
|
|
362
|
+
`.charCodeAt(0),sp=" ".charCodeAt(0),rk="\f".charCodeAt(0),nk=" ".charCodeAt(0),ik="\r".charCodeAt(0),egt="[".charCodeAt(0),tgt="]".charCodeAt(0),rgt="(".charCodeAt(0),ngt=")".charCodeAt(0),igt="{".charCodeAt(0),sgt="}".charCodeAt(0),ogt=";".charCodeAt(0),agt="*".charCodeAt(0),ugt=":".charCodeAt(0),lgt="@".charCodeAt(0),sk=/[\t\n\f\r "#'()/;[\\\]{}]/g,ok=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,cgt=/.[\n"'(/\\]/,Cfe=/[\da-f]/i;Dfe.exports=function(e,r={}){let n=e.css.valueOf(),i=r.ignoreErrors,s,o,a,u,l,c,f,d,p,h,y=n.length,b=0,g=[],v=[];function w(){return b}function _(P){throw e.error("Unclosed "+P,b)}function x(){return v.length===0&&b>=y}function C(P){if(v.length)return v.pop();if(b>=y)return;let R=P?P.ignoreUnclosed:!1;switch(s=n.charCodeAt(b),s){case tk:case sp:case nk:case ik:case rk:{o=b;do o+=1,s=n.charCodeAt(o);while(s===sp||s===tk||s===nk||s===ik||s===rk);h=["space",n.slice(b,o)],b=o-1;break}case egt:case tgt:case igt:case sgt:case ugt:case ogt:case ngt:{let z=String.fromCharCode(s);h=[z,z,b];break}case rgt:{if(d=g.length?g.pop()[1]:"",p=n.charCodeAt(b+1),d==="url"&&p!==IF&&p!==kfe&&p!==sp&&p!==tk&&p!==nk&&p!==rk&&p!==ik){o=b;do{if(c=!1,o=n.indexOf(")",o+1),o===-1)if(i||R){o=b;break}else _("bracket");for(f=o;n.charCodeAt(f-1)===ek;)f-=1,c=!c}while(c);h=["brackets",n.slice(b,o+1),b,o],b=o}else o=n.indexOf(")",b+1),u=n.slice(b,o+1),o===-1||cgt.test(u)?h=["(","(",b]:(h=["brackets",u,b,o],b=o);break}case IF:case kfe:{a=s===IF?"'":'"',o=b;do{if(c=!1,o=n.indexOf(a,o+1),o===-1)if(i||R){o=b+1;break}else _("string");for(f=o;n.charCodeAt(f-1)===ek;)f-=1,c=!c}while(c);h=["string",n.slice(b,o+1),b,o],b=o;break}case lgt:{sk.lastIndex=b+1,sk.test(n),sk.lastIndex===0?o=n.length-1:o=sk.lastIndex-2,h=["at-word",n.slice(b,o+1),b,o],b=o;break}case ek:{for(o=b,l=!0;n.charCodeAt(o+1)===ek;)o+=1,l=!l;if(s=n.charCodeAt(o+1),l&&s!==Efe&&s!==sp&&s!==tk&&s!==nk&&s!==ik&&s!==rk&&(o+=1,Cfe.test(n.charAt(o)))){for(;Cfe.test(n.charAt(o+1));)o+=1;n.charCodeAt(o+1)===sp&&(o+=1)}h=["word",n.slice(b,o+1),b,o],b=o;break}default:{s===Efe&&n.charCodeAt(b+1)===agt?(o=n.indexOf("*/",b+2)+1,o===0&&(i||R?o=n.length:_("comment")),h=["comment",n.slice(b,o+1),b,o],b=o):(ok.lastIndex=b+1,ok.test(n),ok.lastIndex===0?o=n.length-1:o=ok.lastIndex-2,h=["word",n.slice(b,o+1),b,o],g.push(h),b=o);break}}return b++,h}function M(P){v.push(P)}return{back:M,nextToken:C,endOfFile:x,position:w}}});var NF=m((Q3t,Rfe)=>{"use strict";var Kr=Bo(),fgt=ak(),Ofe;function dgt(t){Ofe=t}var pgt={brackets:Kr.cyan,"at-word":Kr.cyan,comment:Kr.gray,string:Kr.green,class:Kr.yellow,hash:Kr.magenta,call:Kr.cyan,"(":Kr.cyan,")":Kr.cyan,"{":Kr.yellow,"}":Kr.yellow,"[":Kr.yellow,"]":Kr.yellow,":":Kr.yellow,";":Kr.yellow};function hgt([t,e],r){if(t==="word"){if(e[0]===".")return"class";if(e[0]==="#")return"hash"}if(!r.endOfFile()){let n=r.nextToken();if(r.back(n),n[0]==="brackets"||n[0]==="(")return"call"}return t}function qfe(t){let e=fgt(new Ofe(t),{ignoreErrors:!0}),r="";for(;!e.endOfFile();){let n=e.nextToken(),i=pgt[hgt(n,e)];i?r+=n[1].split(/\r?\n/).map(s=>i(s)).join(`
|
|
363
|
+
`):r+=n[1]}return r}qfe.registerInput=dgt;Rfe.exports=qfe});var uk=m((J3t,Tfe)=>{"use strict";var Afe=Bo(),Pfe=NF(),Oa=class extends Error{constructor(e,r,n,i,s,o){super(e),this.name="CssSyntaxError",this.reason=e,s&&(this.file=s),i&&(this.source=i),o&&(this.plugin=o),typeof r<"u"&&typeof n<"u"&&(typeof r=="number"?(this.line=r,this.column=n):(this.line=r.line,this.column=r.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,Oa)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",typeof this.line<"u"&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let r=this.source;e==null&&(e=Afe.isColorSupported),Pfe&&e&&(r=Pfe(r));let n=r.split(/\r?\n/),i=Math.max(this.line-3,0),s=Math.min(this.line+2,n.length),o=String(s).length,a,u;if(e){let{bold:l,red:c,gray:f}=Afe.createColors(!0);a=d=>l(c(d)),u=d=>f(d)}else a=u=l=>l;return n.slice(i,s).map((l,c)=>{let f=i+1+c,d=" "+(" "+f).slice(-o)+" | ";if(f===this.line){let p=u(d.replace(/\d/g," "))+l.slice(0,this.column-1).replace(/[^\t]/g," ");return a(">")+u(d)+l+`
|
|
364
|
+
`+p+a("^")}return" "+u(d)+l}).join(`
|
|
365
|
+
`)}toString(){let e=this.showSourceCode();return e&&(e=`
|
|
366
|
+
|
|
367
|
+
`+e+`
|
|
368
|
+
`),this.name+": "+this.message+e}};Tfe.exports=Oa;Oa.default=Oa});var lk=m((X3t,jF)=>{"use strict";jF.exports.isClean=Symbol("isClean");jF.exports.my=Symbol("my")});var $F=m((Z3t,Ffe)=>{"use strict";var Mfe={colon:": ",indent:" ",beforeDecl:`
|
|
369
|
+
`,beforeRule:`
|
|
370
|
+
`,beforeOpen:" ",beforeClose:`
|
|
371
|
+
`,beforeComment:`
|
|
372
|
+
`,after:`
|
|
373
|
+
`,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function ggt(t){return t[0].toUpperCase()+t.slice(1)}var op=class{constructor(e){this.builder=e}stringify(e,r){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,r)}document(e){this.body(e)}root(e){this.body(e),e.raws.after&&this.builder(e.raws.after)}comment(e){let r=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+r+e.text+n+"*/",e)}decl(e,r){let n=this.raw(e,"between","colon"),i=e.prop+n+this.rawValue(e,"value");e.important&&(i+=e.raws.important||" !important"),r&&(i+=";"),this.builder(i,e)}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")}atrule(e,r){let n="@"+e.name,i=e.params?this.rawValue(e,"params"):"";if(typeof e.raws.afterName<"u"?n+=e.raws.afterName:i&&(n+=" "),e.nodes)this.block(e,n+i);else{let s=(e.raws.between||"")+(r?";":"");this.builder(n+i+s,e)}}body(e){let r=e.nodes.length-1;for(;r>0&&e.nodes[r].type==="comment";)r-=1;let n=this.raw(e,"semicolon");for(let i=0;i<e.nodes.length;i++){let s=e.nodes[i],o=this.raw(s,"before");o&&this.builder(o),this.stringify(s,r!==i||n)}}block(e,r){let n=this.raw(e,"between","beforeOpen");this.builder(r+n+"{",e,"start");let i;e.nodes&&e.nodes.length?(this.body(e),i=this.raw(e,"after")):i=this.raw(e,"after","emptyBody"),i&&this.builder(i),this.builder("}",e,"end")}raw(e,r,n){let i;if(n||(n=r),r&&(i=e.raws[r],typeof i<"u"))return i;let s=e.parent;if(n==="before"&&(!s||s.type==="root"&&s.first===e||s&&s.type==="document"))return"";if(!s)return Mfe[n];let o=e.root();if(o.rawCache||(o.rawCache={}),typeof o.rawCache[n]<"u")return o.rawCache[n];if(n==="before"||n==="after")return this.beforeAfter(e,n);{let a="raw"+ggt(n);this[a]?i=this[a](o,e):o.walk(u=>{if(i=u.raws[r],typeof i<"u")return!1})}return typeof i>"u"&&(i=Mfe[n]),o.rawCache[n]=i,i}rawSemicolon(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length&&n.last.type==="decl"&&(r=n.raws.semicolon,typeof r<"u"))return!1}),r}rawEmptyBody(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length===0&&(r=n.raws.after,typeof r<"u"))return!1}),r}rawIndent(e){if(e.raws.indent)return e.raws.indent;let r;return e.walk(n=>{let i=n.parent;if(i&&i!==e&&i.parent&&i.parent===e&&typeof n.raws.before<"u"){let s=n.raws.before.split(`
|
|
374
|
+
`);return r=s[s.length-1],r=r.replace(/\S/g,""),!1}}),r}rawBeforeComment(e,r){let n;return e.walkComments(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
|
|
375
|
+
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,r){let n;return e.walkDecls(i=>{if(typeof i.raws.before<"u")return n=i.raws.before,n.includes(`
|
|
376
|
+
`)&&(n=n.replace(/[^\n]+$/,"")),!1}),typeof n>"u"?n=this.raw(r,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeRule(e){let r;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&typeof n.raws.before<"u")return r=n.raws.before,r.includes(`
|
|
377
|
+
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeClose(e){let r;return e.walk(n=>{if(n.nodes&&n.nodes.length>0&&typeof n.raws.after<"u")return r=n.raws.after,r.includes(`
|
|
378
|
+
`)&&(r=r.replace(/[^\n]+$/,"")),!1}),r&&(r=r.replace(/\S/g,"")),r}rawBeforeOpen(e){let r;return e.walk(n=>{if(n.type!=="decl"&&(r=n.raws.between,typeof r<"u"))return!1}),r}rawColon(e){let r;return e.walkDecls(n=>{if(typeof n.raws.between<"u")return r=n.raws.between.replace(/[^\s:]/g,""),!1}),r}beforeAfter(e,r){let n;e.type==="decl"?n=this.raw(e,null,"beforeDecl"):e.type==="comment"?n=this.raw(e,null,"beforeComment"):r==="before"?n=this.raw(e,null,"beforeRule"):n=this.raw(e,null,"beforeClose");let i=e.parent,s=0;for(;i&&i.type!=="root";)s+=1,i=i.parent;if(n.includes(`
|
|
379
|
+
`)){let o=this.raw(e,null,"indent");if(o.length)for(let a=0;a<s;a++)n+=o}return n}rawValue(e,r){let n=e[r],i=e.raws[r];return i&&i.value===n?i.raw:n}};Ffe.exports=op;op.default=op});var ap=m((eNt,Lfe)=>{"use strict";var mgt=$F();function BF(t,e){new mgt(e).stringify(t)}Lfe.exports=BF;BF.default=BF});var lp=m((tNt,Ife)=>{"use strict";var{isClean:ck,my:ygt}=lk(),bgt=uk(),vgt=$F(),wgt=ap();function WF(t,e){let r=new t.constructor;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n)||n==="proxyCache")continue;let i=t[n],s=typeof i;n==="parent"&&s==="object"?e&&(r[n]=e):n==="source"?r[n]=i:Array.isArray(i)?r[n]=i.map(o=>WF(o,r)):(s==="object"&&i!==null&&(i=WF(i)),r[n]=i)}return r}var up=class{constructor(e={}){this.raws={},this[ck]=!1,this[ygt]=!0;for(let r in e)if(r==="nodes"){this.nodes=[];for(let n of e[r])typeof n.clone=="function"?this.append(n.clone()):this.append(n)}else this[r]=e[r]}error(e,r={}){if(this.source){let{start:n,end:i}=this.rangeBy(r);return this.source.input.error(e,{line:n.line,column:n.column},{line:i.line,column:i.column},r)}return new bgt(e)}warn(e,r,n){let i={node:this};for(let s in n)i[s]=n[s];return e.warn(r,i)}remove(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this}toString(e=wgt){e.stringify&&(e=e.stringify);let r="";return e(this,n=>{r+=n}),r}assign(e={}){for(let r in e)this[r]=e[r];return this}clone(e={}){let r=WF(this);for(let n in e)r[n]=e[n];return r}cloneBefore(e={}){let r=this.clone(e);return this.parent.insertBefore(this,r),r}cloneAfter(e={}){let r=this.clone(e);return this.parent.insertAfter(this,r),r}replaceWith(...e){if(this.parent){let r=this,n=!1;for(let i of e)i===this?n=!0:n?(this.parent.insertAfter(r,i),r=i):this.parent.insertBefore(r,i);n||this.remove()}return this}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}prev(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e-1]}before(e){return this.parent.insertBefore(this,e),this}after(e){return this.parent.insertAfter(this,e),this}root(){let e=this;for(;e.parent&&e.parent.type!=="document";)e=e.parent;return e}raw(e,r){return new vgt().raw(this,e,r)}cleanRaws(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between}toJSON(e,r){let n={},i=r==null;r=r||new Map;let s=0;for(let o in this){if(!Object.prototype.hasOwnProperty.call(this,o)||o==="parent"||o==="proxyCache")continue;let a=this[o];if(Array.isArray(a))n[o]=a.map(u=>typeof u=="object"&&u.toJSON?u.toJSON(null,r):u);else if(typeof a=="object"&&a.toJSON)n[o]=a.toJSON(null,r);else if(o==="source"){let u=r.get(a.input);u==null&&(u=s,r.set(a.input,s),s++),n[o]={inputId:u,start:a.start,end:a.end}}else n[o]=a}return i&&(n.inputs=[...r.keys()].map(o=>o.toJSON())),n}positionInside(e){let r=this.toString(),n=this.source.start.column,i=this.source.start.line;for(let s=0;s<e;s++)r[s]===`
|
|
380
|
+
`?(n=1,i+=1):n+=1;return{line:i,column:n}}positionBy(e){let r=this.source.start;if(e.index)r=this.positionInside(e.index);else if(e.word){let n=this.toString().indexOf(e.word);n!==-1&&(r=this.positionInside(n))}return r}rangeBy(e){let r={line:this.source.start.line,column:this.source.start.column},n=this.source.end?{line:this.source.end.line,column:this.source.end.column+1}:{line:r.line,column:r.column+1};if(e.word){let i=this.toString().indexOf(e.word);i!==-1&&(r=this.positionInside(i),n=this.positionInside(i+e.word.length))}else e.start?r={line:e.start.line,column:e.start.column}:e.index&&(r=this.positionInside(e.index)),e.end?n={line:e.end.line,column:e.end.column}:e.endIndex?n=this.positionInside(e.endIndex):e.index&&(n=this.positionInside(e.index+1));return(n.line<r.line||n.line===r.line&&n.column<=r.column)&&(n={line:r.line,column:r.column+1}),{start:r,end:n}}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="prop"||r==="value"||r==="name"||r==="params"||r==="important"||r==="text")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:r==="root"?()=>e.root().toProxy():e[r]}}}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}addToError(e){if(e.postcssNode=this,e.stack&&this.source&&/\n\s{4}at /.test(e.stack)){let r=this.source;e.stack=e.stack.replace(/\n\s{4}at /,`$&${r.input.from}:${r.start.line}:${r.start.column}$&`)}return e}markDirty(){if(this[ck]){this[ck]=!1;let e=this;for(;e=e.parent;)e[ck]=!1}}get proxyOf(){return this}};Ife.exports=up;up.default=up});var fp=m((rNt,Nfe)=>{"use strict";var _gt=lp(),cp=class extends _gt{constructor(e){e&&typeof e.value<"u"&&typeof e.value!="string"&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}get variable(){return this.prop.startsWith("--")||this.prop[0]==="$"}};Nfe.exports=cp;cp.default=cp});var UF=m((nNt,Bfe)=>{"use strict";var{SourceMapConsumer:jfe,SourceMapGenerator:$fe}=Ho(),{existsSync:xgt,readFileSync:Sgt}=require("fs"),{dirname:zF,join:kgt}=require("path");function Egt(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var dp=class{constructor(e,r){if(r.map===!1)return;this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=r.map?r.map.prev:void 0,i=this.loadMap(r.from,n);!this.mapFile&&r.from&&(this.mapFile=r.from),this.mapFile&&(this.root=zF(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new jfe(this.text)),this.consumerCache}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}startWith(e,r){return e?e.substr(0,r.length)===r:!1}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}loadAnnotation(e){let r=e.match(/\/\*\s*# sourceMappingURL=/gm);if(!r)return;let n=e.lastIndexOf(r.pop()),i=e.indexOf("*/",n);n>-1&&i>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,i)))}decodeInline(e){let r=/^data:application\/json;charset=utf-?8;base64,/,n=/^data:application\/json;base64,/,i=/^data:application\/json;charset=utf-?8,/,s=/^data:application\/json,/;if(i.test(e)||s.test(e))return decodeURIComponent(e.substr(RegExp.lastMatch.length));if(r.test(e)||n.test(e))return Egt(e.substr(RegExp.lastMatch.length));let o=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+o)}loadFile(e){if(this.root=zF(e),xgt(e))return this.mapFile=e,Sgt(e,"utf-8").toString().trim()}loadMap(e,r){if(r===!1)return!1;if(r){if(typeof r=="string")return r;if(typeof r=="function"){let n=r(e);if(n){let i=this.loadFile(n);if(!i)throw new Error("Unable to load previous source map: "+n.toString());return i}}else{if(r instanceof jfe)return $fe.fromSourceMap(r).toString();if(r instanceof $fe)return r.toString();if(this.isMap(r))return JSON.stringify(r);throw new Error("Unsupported previous source map format: "+r.toString())}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let n=this.annotation;return e&&(n=kgt(zF(e),n)),this.loadFile(n)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};Bfe.exports=dp;dp.default=dp});var pp=m((iNt,Hfe)=>{"use strict";var{SourceMapConsumer:Cgt,SourceMapGenerator:Dgt}=Ho(),{fileURLToPath:Wfe,pathToFileURL:fk}=require("url"),{resolve:GF,isAbsolute:KF}=require("path"),{nanoid:Ogt}=qR(),HF=NF(),zfe=uk(),qgt=UF(),VF=Symbol("fromOffsetCache"),Rgt=Boolean(Cgt&&Dgt),Ufe=Boolean(GF&&KF),Ol=class{constructor(e,r={}){if(e===null||typeof e>"u"||typeof e=="object"&&!e.toString)throw new Error(`PostCSS received ${e} instead of CSS string`);if(this.css=e.toString(),this.css[0]==="\uFEFF"||this.css[0]==="\uFFFE"?(this.hasBOM=!0,this.css=this.css.slice(1)):this.hasBOM=!1,r.from&&(!Ufe||/^\w+:\/\//.test(r.from)||KF(r.from)?this.file=r.from:this.file=GF(r.from)),Ufe&&Rgt){let n=new qgt(this.css,r);if(n.text){this.map=n;let i=n.consumer().file;!this.file&&i&&(this.file=this.mapResolve(i))}}this.file||(this.id="<input css "+Ogt(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[VF])n=this[VF];else{let s=this.css.split(`
|
|
381
|
+
`);n=new Array(s.length);let o=0;for(let a=0,u=s.length;a<u;a++)n[a]=o,o+=s[a].length+1;this[VF]=n}r=n[n.length-1];let i=0;if(e>=r)i=n.length-1;else{let s=n.length-2,o;for(;i<s;)if(o=i+(s-i>>1),e<n[o])s=o-1;else if(e>=n[o+1])i=o+1;else{i=o;break}}return{line:i+1,col:e-n[i]+1}}error(e,r,n,i={}){let s,o,a;if(r&&typeof r=="object"){let l=r,c=n;if(typeof r.offset=="number"){let f=this.fromOffset(l.offset);r=f.line,n=f.col}else r=l.line,n=l.column;if(typeof c.offset=="number"){let f=this.fromOffset(c.offset);o=f.line,a=f.col}else o=c.line,a=c.column}else if(!n){let l=this.fromOffset(r);r=l.line,n=l.col}let u=this.origin(r,n,o,a);return u?s=new zfe(e,u.endLine===void 0?u.line:{line:u.line,column:u.column},u.endLine===void 0?u.column:{line:u.endLine,column:u.endColumn},u.source,u.file,i.plugin):s=new zfe(e,o===void 0?r:{line:r,column:n},o===void 0?n:{line:o,column:a},this.css,this.file,i.plugin),s.input={line:r,column:n,endLine:o,endColumn:a,source:this.css},this.file&&(fk&&(s.input.url=fk(this.file).toString()),s.input.file=this.file),s}origin(e,r,n,i){if(!this.map)return!1;let s=this.map.consumer(),o=s.originalPositionFor({line:e,column:r});if(!o.source)return!1;let a;typeof n=="number"&&(a=s.originalPositionFor({line:n,column:i}));let u;KF(o.source)?u=fk(o.source):u=new URL(o.source,this.map.consumer().sourceRoot||fk(this.map.mapFile));let l={url:u.toString(),line:o.line,column:o.column,endLine:a&&a.line,endColumn:a&&a.column};if(u.protocol==="file:")if(Wfe)l.file=Wfe(u);else throw new Error("file: protocol is not available in this PostCSS build");let c=s.sourceContentFor(o.source);return c&&(l.source=c),l}mapResolve(e){return/^\w+:\/\//.test(e)?e:GF(this.map.consumer().sourceRoot||this.map.root||".",e)}get from(){return this.file||this.id}toJSON(){let e={};for(let r of["hasBOM","css","file","id"])this[r]!=null&&(e[r]=this[r]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}};Hfe.exports=Ol;Ol.default=Ol;HF&&HF.registerInput&&HF.registerInput(Ol)});var QF=m((sNt,Jfe)=>{"use strict";var{SourceMapConsumer:Gfe,SourceMapGenerator:dk}=Ho(),{dirname:pk,resolve:Kfe,relative:Yfe,sep:Qfe}=require("path"),{pathToFileURL:Vfe}=require("url"),Agt=pp(),Pgt=Boolean(Gfe&&dk),Tgt=Boolean(pk&&Kfe&&Yfe&&Qfe),YF=class{constructor(e,r,n,i){this.stringify=e,this.mapOpts=n.map||{},this.root=r,this.opts=n,this.css=i}isMap(){return typeof this.opts.map<"u"?!!this.opts.map:this.previous().length>0}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let r=e.source.input.map;this.previousMaps.includes(r)||this.previousMaps.push(r)}});else{let e=new Agt(this.css,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}isInline(){if(typeof this.mapOpts.inline<"u")return this.mapOpts.inline;let e=this.mapOpts.annotation;return typeof e<"u"&&e!==!0?!1:this.previous().length?this.previous().some(r=>r.inline):!0}isSourcesContent(){return typeof this.mapOpts.sourcesContent<"u"?this.mapOpts.sourcesContent:this.previous().length?this.previous().some(e=>e.withContent()):!0}clearAnnotation(){if(this.mapOpts.annotation!==!1)if(this.root){let e;for(let r=this.root.nodes.length-1;r>=0;r--)e=this.root.nodes[r],e.type==="comment"&&e.text.indexOf("# sourceMappingURL=")===0&&this.root.removeChild(r)}else this.css&&(this.css=this.css.replace(/(\n)?\/\*#[\S\s]*?\*\/$/gm,""))}setSourcesContent(){let e={};if(this.root)this.root.walk(r=>{if(r.source){let n=r.source.input.from;n&&!e[n]&&(e[n]=!0,this.map.setSourceContent(this.toUrl(this.path(n)),r.source.input.css))}});else if(this.css){let r=this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>";this.map.setSourceContent(r,this.css)}}applyPrevMaps(){for(let e of this.previous()){let r=this.toUrl(this.path(e.file)),n=e.root||pk(e.file),i;this.mapOpts.sourcesContent===!1?(i=new Gfe(e.text),i.sourcesContent&&(i.sourcesContent=i.sourcesContent.map(()=>null))):i=e.consumer(),this.map.applySourceMap(i,r,this.toUrl(this.path(n)))}}isAnnotation(){return this.isInline()?!0:typeof this.mapOpts.annotation<"u"?this.mapOpts.annotation:this.previous().length?this.previous().some(e=>e.annotation):!0}toBase64(e){return Buffer?Buffer.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}addAnnotation(){let e;this.isInline()?e="data:application/json;base64,"+this.toBase64(this.map.toString()):typeof this.mapOpts.annotation=="string"?e=this.mapOpts.annotation:typeof this.mapOpts.annotation=="function"?e=this.mapOpts.annotation(this.opts.to,this.root):e=this.outputFile()+".map";let r=`
|
|
382
|
+
`;this.css.includes(`\r
|
|
383
|
+
`)&&(r=`\r
|
|
384
|
+
`),this.css+=r+"/*# sourceMappingURL="+e+" */"}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}generateMap(){if(this.root)this.generateString();else if(this.previous().length===1){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=dk.fromSourceMap(e)}else this.map=new dk({file:this.outputFile()}),this.map.addMapping({source:this.opts.from?this.toUrl(this.path(this.opts.from)):"<no source>",generated:{line:1,column:0},original:{line:1,column:0}});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}path(e){if(e.indexOf("<")===0||/^\w+:\/\//.test(e)||this.mapOpts.absolute)return e;let r=this.opts.to?pk(this.opts.to):".";return typeof this.mapOpts.annotation=="string"&&(r=pk(Kfe(r,this.mapOpts.annotation))),e=Yfe(r,e),e}toUrl(e){return Qfe==="\\"&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}sourcePath(e){if(this.mapOpts.from)return this.toUrl(this.mapOpts.from);if(this.mapOpts.absolute){if(Vfe)return Vfe(e.source.input.from).toString();throw new Error("`map.absolute` option is not available in this PostCSS build")}else return this.toUrl(this.path(e.source.input.from))}generateString(){this.css="",this.map=new dk({file:this.outputFile()});let e=1,r=1,n="<no source>",i={source:"",generated:{line:0,column:0},original:{line:0,column:0}},s,o;this.stringify(this.root,(a,u,l)=>{if(this.css+=a,u&&l!=="end"&&(i.generated.line=e,i.generated.column=r-1,u.source&&u.source.start?(i.source=this.sourcePath(u),i.original.line=u.source.start.line,i.original.column=u.source.start.column-1,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,this.map.addMapping(i))),s=a.match(/\n/g),s?(e+=s.length,o=a.lastIndexOf(`
|
|
385
|
+
`),r=a.length-o):r+=a.length,u&&l!=="start"){let c=u.parent||{raws:{}};(u.type!=="decl"||u!==c.last||c.raws.semicolon)&&(u.source&&u.source.end?(i.source=this.sourcePath(u),i.original.line=u.source.end.line,i.original.column=u.source.end.column-1,i.generated.line=e,i.generated.column=r-2,this.map.addMapping(i)):(i.source=n,i.original.line=1,i.original.column=0,i.generated.line=e,i.generated.column=r-1,this.map.addMapping(i)))}})}generate(){if(this.clearAnnotation(),Tgt&&Pgt&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}};Jfe.exports=YF});var ql=m((oNt,Xfe)=>{"use strict";var Mgt=lp(),hp=class extends Mgt{constructor(e){super(e),this.type="comment"}};Xfe.exports=hp;hp.default=hp});var uo=m((aNt,ode)=>{"use strict";var{isClean:Zfe,my:ede}=lk(),tde=fp(),rde=ql(),Fgt=lp(),nde,JF,XF;function ide(t){return t.map(e=>(e.nodes&&(e.nodes=ide(e.nodes)),delete e.source,e))}function sde(t){if(t[Zfe]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)sde(e)}var Wn=class extends Fgt{push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}each(e){if(!this.proxyOf.nodes)return;let r=this.getIterator(),n,i;for(;this.indexes[r]<this.proxyOf.nodes.length&&(n=this.indexes[r],i=e(this.proxyOf.nodes[n],n),i!==!1);)this.indexes[r]+=1;return delete this.indexes[r],i}walk(e){return this.each((r,n)=>{let i;try{i=e(r,n)}catch(s){throw r.addToError(s)}return i!==!1&&r.walk&&(i=r.walk(e)),i})}walkDecls(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="decl"&&e.test(n.prop))return r(n,i)}):this.walk((n,i)=>{if(n.type==="decl"&&n.prop===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="decl")return r(n,i)}))}walkRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="rule"&&e.test(n.selector))return r(n,i)}):this.walk((n,i)=>{if(n.type==="rule"&&n.selector===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="rule")return r(n,i)}))}walkAtRules(e,r){return r?e instanceof RegExp?this.walk((n,i)=>{if(n.type==="atrule"&&e.test(n.name))return r(n,i)}):this.walk((n,i)=>{if(n.type==="atrule"&&n.name===e)return r(n,i)}):(r=e,this.walk((n,i)=>{if(n.type==="atrule")return r(n,i)}))}walkComments(e){return this.walk((r,n)=>{if(r.type==="comment")return e(r,n)})}append(...e){for(let r of e){let n=this.normalize(r,this.last);for(let i of n)this.proxyOf.nodes.push(i)}return this.markDirty(),this}prepend(...e){e=e.reverse();for(let r of e){let n=this.normalize(r,this.first,"prepend").reverse();for(let i of n)this.proxyOf.nodes.unshift(i);for(let i in this.indexes)this.indexes[i]=this.indexes[i]+n.length}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let r of this.nodes)r.cleanRaws(e)}insertBefore(e,r){e=this.index(e);let n=e===0?"prepend":!1,i=this.normalize(r,this.proxyOf.nodes[e],n).reverse();for(let o of i)this.proxyOf.nodes.splice(e,0,o);let s;for(let o in this.indexes)s=this.indexes[o],e<=s&&(this.indexes[o]=s+i.length);return this.markDirty(),this}insertAfter(e,r){e=this.index(e);let n=this.normalize(r,this.proxyOf.nodes[e]).reverse();for(let s of n)this.proxyOf.nodes.splice(e+1,0,s);let i;for(let s in this.indexes)i=this.indexes[s],e<i&&(this.indexes[s]=i+n.length);return this.markDirty(),this}removeChild(e){e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);let r;for(let n in this.indexes)r=this.indexes[n],r>=e&&(this.indexes[n]=r-1);return this.markDirty(),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}replaceValues(e,r,n){return n||(n=r,r={}),this.walkDecls(i=>{r.props&&!r.props.includes(i.prop)||r.fast&&!i.value.includes(r.fast)||(i.value=i.value.replace(e,n))}),this.markDirty(),this}every(e){return this.nodes.every(e)}some(e){return this.nodes.some(e)}index(e){return typeof e=="number"?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}normalize(e,r){if(typeof e=="string")e=ide(nde(e).nodes);else if(Array.isArray(e)){e=e.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type==="root"&&this.type!=="document"){e=e.nodes.slice(0);for(let i of e)i.parent&&i.parent.removeChild(i,"ignore")}else if(e.type)e=[e];else if(e.prop){if(typeof e.value>"u")throw new Error("Value field is missed in node creation");typeof e.value!="string"&&(e.value=String(e.value)),e=[new tde(e)]}else if(e.selector)e=[new JF(e)];else if(e.name)e=[new XF(e)];else if(e.text)e=[new rde(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[ede]||Wn.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Zfe]&&sde(i),typeof i.raws.before>"u"&&r&&typeof r.raws.before<"u"&&(i.raws.before=r.raws.before.replace(/\S/g,"")),i.parent=this.proxyOf,i))}getProxyProcessor(){return{set(e,r,n){return e[r]===n||(e[r]=n,(r==="name"||r==="params"||r==="selector")&&e.markDirty()),!0},get(e,r){return r==="proxyOf"?e:e[r]?r==="each"||typeof r=="string"&&r.startsWith("walk")?(...n)=>e[r](...n.map(i=>typeof i=="function"?(s,o)=>i(s.toProxy(),o):i)):r==="every"||r==="some"?n=>e[r]((i,...s)=>n(i.toProxy(),...s)):r==="root"?()=>e.root().toProxy():r==="nodes"?e.nodes.map(n=>n.toProxy()):r==="first"||r==="last"?e[r].toProxy():e[r]:e[r]}}}getIterator(){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;let e=this.lastEach;return this.indexes[e]=0,e}};Wn.registerParse=t=>{nde=t};Wn.registerRule=t=>{JF=t};Wn.registerAtRule=t=>{XF=t};ode.exports=Wn;Wn.default=Wn;Wn.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,XF.prototype):t.type==="rule"?Object.setPrototypeOf(t,JF.prototype):t.type==="decl"?Object.setPrototypeOf(t,tde.prototype):t.type==="comment"&&Object.setPrototypeOf(t,rde.prototype),t[ede]=!0,t.nodes&&t.nodes.forEach(e=>{Wn.rebuild(e)})}});var hk=m((uNt,lde)=>{"use strict";var Lgt=uo(),ade,ude,qa=class extends Lgt{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new ade(new ude,this,e).stringify()}};qa.registerLazyResult=t=>{ade=t};qa.registerProcessor=t=>{ude=t};lde.exports=qa;qa.default=qa});var ZF=m((lNt,fde)=>{"use strict";var cde={};fde.exports=function(e){cde[e]||(cde[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var eL=m((cNt,dde)=>{"use strict";var gp=class{constructor(e,r={}){if(this.type="warning",this.text=e,r.node&&r.node.source){let n=r.node.rangeBy(r);this.line=n.start.line,this.column=n.start.column,this.endLine=n.end.line,this.endColumn=n.end.column}for(let n in r)this[n]=r[n]}toString(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}};dde.exports=gp;gp.default=gp});var gk=m((fNt,pde)=>{"use strict";var Igt=eL(),mp=class{constructor(e,r,n){this.processor=e,this.messages=[],this.root=r,this.opts=n,this.css=void 0,this.map=void 0}toString(){return this.css}warn(e,r={}){r.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(r.plugin=this.lastPlugin.postcssPlugin);let n=new Igt(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};pde.exports=mp;mp.default=mp});var mk=m((dNt,gde)=>{"use strict";var hde=uo(),Rl=class extends hde{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}};gde.exports=Rl;Rl.default=Rl;hde.registerAtRule(Rl)});var Al=m((pNt,bde)=>{"use strict";var Ngt=uo(),mde,yde,Ra=class extends Ngt{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}removeChild(e,r){let n=this.index(e);return!r&&n===0&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}normalize(e,r,n){let i=super.normalize(e);if(r){if(n==="prepend")this.nodes.length>1?r.raws.before=this.nodes[1].raws.before:delete r.raws.before;else if(this.first!==r)for(let s of i)s.raws.before=r.raws.before}return i}toResult(e={}){return new mde(new yde,this,e).stringify()}};Ra.registerLazyResult=t=>{mde=t};Ra.registerProcessor=t=>{yde=t};bde.exports=Ra;Ra.default=Ra});var tL=m((hNt,vde)=>{"use strict";var yp={split(t,e,r){let n=[],i="",s=!1,o=0,a=!1,u=!1;for(let l of t)u?u=!1:l==="\\"?u=!0:a?l===a&&(a=!1):l==='"'||l==="'"?a=l:l==="("?o+=1:l===")"?o>0&&(o-=1):o===0&&e.includes(l)&&(s=!0),s?(i!==""&&n.push(i.trim()),i="",s=!1):i+=l;return(r||i!=="")&&n.push(i.trim()),n},space(t){let e=[" ",`
|
|
386
|
+
`," "];return yp.split(t,e)},comma(t){return yp.split(t,[","],!0)}};vde.exports=yp;yp.default=yp});var yk=m((gNt,_de)=>{"use strict";var wde=uo(),jgt=tL(),Pl=class extends wde{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return jgt.comma(this.selector)}set selectors(e){let r=this.selector?this.selector.match(/,\s*/):null,n=r?r[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}};_de.exports=Pl;Pl.default=Pl;wde.registerRule(Pl)});var nL=m((mNt,kde)=>{"use strict";var $gt=fp(),Bgt=ak(),Wgt=ql(),zgt=mk(),Ugt=Al(),xde=yk(),Sde={empty:!0,space:!0};function Hgt(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var rL=class{constructor(e){this.input=e,this.root=new Ugt,this.current=this.root,this.spaces="",this.semicolon=!1,this.customProperty=!1,this.createTokenizer(),this.root.source={input:e,start:{offset:0,line:1,column:1}}}createTokenizer(){this.tokenizer=Bgt(this.input)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e);break}this.endFile()}comment(e){let r=new Wgt;this.init(r,e[2]),r.source.end=this.getPosition(e[3]||e[2]);let n=e[1].slice(2,-2);if(/^\s*$/.test(n))r.text="",r.raws.left=n,r.raws.right="";else{let i=n.match(/^(\s*)([^]*\S)(\s*)$/);r.text=i[2],r.raws.left=i[1],r.raws.right=i[3]}}emptyRule(e){let r=new xde;this.init(r,e[2]),r.selector="",r.raws.between="",this.current=r}other(e){let r=!1,n=null,i=!1,s=null,o=[],a=e[1].startsWith("--"),u=[],l=e;for(;l;){if(n=l[0],u.push(l),n==="("||n==="[")s||(s=l),o.push(n==="("?")":"]");else if(a&&i&&n==="{")s||(s=l),o.push("}");else if(o.length===0)if(n===";")if(i){this.decl(u,a);return}else break;else if(n==="{"){this.rule(u);return}else if(n==="}"){this.tokenizer.back(u.pop()),r=!0;break}else n===":"&&(i=!0);else n===o[o.length-1]&&(o.pop(),o.length===0&&(s=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(r=!0),o.length>0&&this.unclosedBracket(s),r&&i){if(!a)for(;u.length&&(l=u[u.length-1][0],!(l!=="space"&&l!=="comment"));)this.tokenizer.back(u.pop());this.decl(u,a)}else this.unknownWord(u)}rule(e){e.pop();let r=new xde;this.init(r,e[0][2]),r.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(r,"selector",e),this.current=r}decl(e,r){let n=new $gt;this.init(n,e[0][2]);let i=e[e.length-1];for(i[0]===";"&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(i[3]||i[2]||Hgt(e));e[0][0]!=="word";)e.length===1&&this.unknownWord(e),n.raws.before+=e.shift()[1];for(n.source.start=this.getPosition(e[0][2]),n.prop="";e.length;){let l=e[0][0];if(l===":"||l==="space"||l==="comment")break;n.prop+=e.shift()[1]}n.raws.between="";let s;for(;e.length;)if(s=e.shift(),s[0]===":"){n.raws.between+=s[1];break}else s[0]==="word"&&/\w/.test(s[1])&&this.unknownWord([s]),n.raws.between+=s[1];(n.prop[0]==="_"||n.prop[0]==="*")&&(n.raws.before+=n.prop[0],n.prop=n.prop.slice(1));let o=[],a;for(;e.length&&(a=e[0][0],!(a!=="space"&&a!=="comment"));)o.push(e.shift());this.precheckMissedSemicolon(e);for(let l=e.length-1;l>=0;l--){if(s=e[l],s[1].toLowerCase()==="!important"){n.important=!0;let c=this.stringFrom(e,l);c=this.spacesFromEnd(e)+c,c!==" !important"&&(n.raws.important=c);break}else if(s[1].toLowerCase()==="important"){let c=e.slice(0),f="";for(let d=l;d>0;d--){let p=c[d][0];if(f.trim().indexOf("!")===0&&p!=="space")break;f=c.pop()[1]+f}f.trim().indexOf("!")===0&&(n.important=!0,n.raws.important=f,e=c)}if(s[0]!=="space"&&s[0]!=="comment")break}e.some(l=>l[0]!=="space"&&l[0]!=="comment")&&(n.raws.between+=o.map(l=>l[1]).join(""),o=[]),this.raw(n,"value",o.concat(e),r),n.value.includes(":")&&!r&&this.checkMissedSemicolon(e)}atrule(e){let r=new zgt;r.name=e[1].slice(1),r.name===""&&this.unnamedAtrule(r,e),this.init(r,e[2]);let n,i,s,o=!1,a=!1,u=[],l=[];for(;!this.tokenizer.endOfFile();){if(e=this.tokenizer.nextToken(),n=e[0],n==="("||n==="["?l.push(n==="("?")":"]"):n==="{"&&l.length>0?l.push("}"):n===l[l.length-1]&&l.pop(),l.length===0)if(n===";"){r.source.end=this.getPosition(e[2]),this.semicolon=!0;break}else if(n==="{"){a=!0;break}else if(n==="}"){if(u.length>0){for(s=u.length-1,i=u[s];i&&i[0]==="space";)i=u[--s];i&&(r.source.end=this.getPosition(i[3]||i[2]))}this.end(e);break}else u.push(e);else u.push(e);if(this.tokenizer.endOfFile()){o=!0;break}}r.raws.between=this.spacesAndCommentsFromEnd(u),u.length?(r.raws.afterName=this.spacesAndCommentsFromStart(u),this.raw(r,"params",u),o&&(e=u[u.length-1],r.source.end=this.getPosition(e[3]||e[2]),this.spaces=r.raws.between,r.raws.between="")):(r.raws.afterName="",r.params=""),a&&(r.nodes=[],this.current=r)}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let r=this.current.nodes[this.current.nodes.length-1];r&&r.type==="rule"&&!r.raws.ownSemicolon&&(r.raws.ownSemicolon=this.spaces,this.spaces="")}}getPosition(e){let r=this.input.fromOffset(e);return{offset:e,line:r.line,column:r.col}}init(e,r){this.current.push(e),e.source={start:this.getPosition(r),input:this.input},e.raws.before=this.spaces,this.spaces="",e.type!=="comment"&&(this.semicolon=!1)}raw(e,r,n,i){let s,o,a=n.length,u="",l=!0,c,f;for(let d=0;d<a;d+=1)s=n[d],o=s[0],o==="space"&&d===a-1&&!i?l=!1:o==="comment"?(f=n[d-1]?n[d-1][0]:"empty",c=n[d+1]?n[d+1][0]:"empty",!Sde[f]&&!Sde[c]?u.slice(-1)===","?l=!1:u+=s[1]:l=!1):u+=s[1];if(!l){let d=n.reduce((p,h)=>p+h[1],"");e.raws[r]={value:u,raw:d}}e[r]=u}spacesAndCommentsFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],!(r!=="space"&&r!=="comment"));)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let r,n="";for(;e.length&&(r=e[0][0],!(r!=="space"&&r!=="comment"));)n+=e.shift()[1];return n}spacesFromEnd(e){let r,n="";for(;e.length&&(r=e[e.length-1][0],r==="space");)n=e.pop()[1]+n;return n}stringFrom(e,r){let n="";for(let i=r;i<e.length;i++)n+=e[i][1];return e.splice(r,e.length-r),n}colon(e){let r=0,n,i,s;for(let[o,a]of e.entries()){if(n=a,i=n[0],i==="("&&(r+=1),i===")"&&(r-=1),r===0&&i===":")if(!s)this.doubleColon(n);else{if(s[0]==="word"&&s[1]==="progid")continue;return o}s=n}return!1}unclosedBracket(e){throw this.input.error("Unclosed bracket",{offset:e[2]},{offset:e[2]+1})}unknownWord(e){throw this.input.error("Unknown word",{offset:e[0][2]},{offset:e[0][2]+e[0][1].length})}unexpectedClose(e){throw this.input.error("Unexpected }",{offset:e[2]},{offset:e[2]+1})}unclosedBlock(){let e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}unnamedAtrule(e,r){throw this.input.error("At-rule without name",{offset:r[2]},{offset:r[2]+r[1].length})}precheckMissedSemicolon(){}checkMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n=0,i;for(let s=r-1;s>=0&&(i=e[s],!(i[0]!=="space"&&(n+=1,n===2)));s--);throw this.input.error("Missed semicolon",i[0]==="word"?i[3]+1:i[2])}};kde.exports=rL});var vk=m((yNt,Ede)=>{"use strict";var Vgt=uo(),Ggt=nL(),Kgt=pp();function bk(t,e){let r=new Kgt(t,e),n=new Ggt(r);try{n.parse()}catch(i){throw process.env.NODE_ENV!=="production"&&i.name==="CssSyntaxError"&&e&&e.from&&(/\.scss$/i.test(e.from)?i.message+=`
|
|
387
|
+
You tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser`:/\.sass/i.test(e.from)?i.message+=`
|
|
388
|
+
You tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser`:/\.less$/i.test(e.from)&&(i.message+=`
|
|
389
|
+
You tried to parse Less with the standard CSS parser; try again with the postcss-less parser`)),i}return n.root}Ede.exports=bk;bk.default=bk;Vgt.registerParse(bk)});var oL=m((bNt,qde)=>{"use strict";var{isClean:Ni,my:Ygt}=lk(),Qgt=QF(),Jgt=ap(),Xgt=uo(),Zgt=hk(),emt=ZF(),Cde=gk(),tmt=vk(),rmt=Al(),nmt={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},imt={postcssPlugin:!0,prepare:!0,Once:!0,Document:!0,Root:!0,Declaration:!0,Rule:!0,AtRule:!0,Comment:!0,DeclarationExit:!0,RuleExit:!0,AtRuleExit:!0,CommentExit:!0,RootExit:!0,DocumentExit:!0,OnceExit:!0},smt={postcssPlugin:!0,prepare:!0,Once:!0},Tl=0;function bp(t){return typeof t=="object"&&typeof t.then=="function"}function Ode(t){let e=!1,r=nmt[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,Tl,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,Tl,r+"Exit"]:[r,r+"Exit"]}function Dde(t){let e;return t.type==="document"?e=["Document",Tl,"DocumentExit"]:t.type==="root"?e=["Root",Tl,"RootExit"]:e=Ode(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function iL(t){return t[Ni]=!1,t.nodes&&t.nodes.forEach(e=>iL(e)),t}var sL={},ji=class{constructor(e,r,n){this.stringified=!1,this.processed=!1;let i;if(typeof r=="object"&&r!==null&&(r.type==="root"||r.type==="document"))i=iL(r);else if(r instanceof ji||r instanceof Cde)i=iL(r.root),r.map&&(typeof n.map>"u"&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=r.map);else{let s=tmt;n.syntax&&(s=n.syntax.parse),n.parser&&(s=n.parser),s.parse&&(s=s.parse);try{i=s(r,n)}catch(o){this.processed=!0,this.error=o}i&&!i[Ygt]&&Xgt.rebuild(i)}this.result=new Cde(e,i,n),this.helpers={...sL,result:this.result,postcss:sL},this.plugins=this.processor.plugins.map(s=>typeof s=="object"&&s.prepare?{...s,...s.prepare(this.result)}:s)}get[Symbol.toStringTag](){return"LazyResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.stringify().css}get content(){return this.stringify().content}get map(){return this.stringify().map}get root(){return this.sync().root}get messages(){return this.sync().messages}warnings(){return this.sync().warnings()}toString(){return this.css}then(e,r){return process.env.NODE_ENV!=="production"&&("from"in this.opts||emt("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,r)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){let r=this.runOnRoot(e);if(bp(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ni];)e[Ni]=!0,this.walkSync(e);if(this.listeners.OnceExit)if(e.type==="document")for(let r of e.nodes)this.visitSync(this.listeners.OnceExit,r);else this.visitSync(this.listeners.OnceExit,e)}return this.result}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,r=Jgt;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new Qgt(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(e){e[Ni]=!0;let r=Ode(e);for(let n of r)if(n===Tl)e.nodes&&e.each(i=>{i[Ni]||this.walkSync(i)});else{let i=this.listeners[n];if(i&&this.visitSync(i,e.toProxy()))return}}visitSync(e,r){for(let[n,i]of e){this.result.lastPlugin=n;let s;try{s=i(r,this.helpers)}catch(o){throw this.handleError(o,r.proxyOf)}if(r.type!=="root"&&r.type!=="document"&&!r.parent)return!0;if(bp(s))throw this.getAsyncError()}}runOnRoot(e){this.result.lastPlugin=e;try{if(typeof e=="object"&&e.Once){if(this.result.root.type==="document"){let r=this.result.root.nodes.map(n=>e.Once(n,this.helpers));return bp(r[0])?Promise.all(r):r}return e.Once(this.result.root,this.helpers)}else if(typeof e=="function")return e(this.result.root,this.result)}catch(r){throw this.handleError(r)}}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,r){let n=this.result.lastPlugin;try{if(r&&r.addToError(e),this.error=e,e.name==="CssSyntaxError"&&!e.plugin)e.plugin=n.postcssPlugin,e.setMessage();else if(n.postcssVersion&&process.env.NODE_ENV!=="production"){let i=n.postcssPlugin,s=n.postcssVersion,o=this.result.processor.version,a=s.split("."),u=o.split(".");(a[0]!==u[0]||parseInt(a[1])>parseInt(u[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+i+" uses "+s+". Perhaps this is the source of the error below.")}}catch(i){console&&console.error&&console.error(i)}return e}async runAsync(){this.plugin=0;for(let e=0;e<this.plugins.length;e++){let r=this.plugins[e],n=this.runOnRoot(r);if(bp(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Ni];){e[Ni]=!0;let r=[Dde(e)];for(;r.length>0;){let n=this.visitTick(r);if(bp(n))try{await n}catch(i){let s=r[r.length-1].node;throw this.handleError(i,s)}}}if(this.listeners.OnceExit)for(let[r,n]of this.listeners.OnceExit){this.result.lastPlugin=r;try{if(e.type==="document"){let i=e.nodes.map(s=>n(s,this.helpers));await Promise.all(i)}else await n(e,this.helpers)}catch(i){throw this.handleError(i)}}}return this.processed=!0,this.stringify()}prepareVisitors(){this.listeners={};let e=(r,n,i)=>{this.listeners[n]||(this.listeners[n]=[]),this.listeners[n].push([r,i])};for(let r of this.plugins)if(typeof r=="object")for(let n in r){if(!imt[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!smt[n])if(typeof r[n]=="object")for(let i in r[n])i==="*"?e(r,n,r[n][i]):e(r,n+"-"+i.toLowerCase(),r[n][i]);else typeof r[n]=="function"&&e(r,n,r[n])}this.hasListener=Object.keys(this.listeners).length>0}visitTick(e){let r=e[e.length-1],{node:n,visitors:i}=r;if(n.type!=="root"&&n.type!=="document"&&!n.parent){e.pop();return}if(i.length>0&&r.visitorIndex<i.length){let[o,a]=i[r.visitorIndex];r.visitorIndex+=1,r.visitorIndex===i.length&&(r.visitors=[],r.visitorIndex=0),this.result.lastPlugin=o;try{return a(n.toProxy(),this.helpers)}catch(u){throw this.handleError(u,n)}}if(r.iterator!==0){let o=r.iterator,a;for(;a=n.nodes[n.indexes[o]];)if(n.indexes[o]+=1,!a[Ni]){a[Ni]=!0,e.push(Dde(a));return}r.iterator=0,delete n.indexes[o]}let s=r.events;for(;r.eventIndex<s.length;){let o=s[r.eventIndex];if(r.eventIndex+=1,o===Tl){n.nodes&&n.nodes.length&&(n[Ni]=!0,r.iterator=n.getIterator());return}else if(this.listeners[o]){r.visitors=this.listeners[o];return}}e.pop()}};ji.registerPostcss=t=>{sL=t};qde.exports=ji;ji.default=ji;rmt.registerLazyResult(ji);Zgt.registerLazyResult(ji)});var Ade=m((vNt,Rde)=>{"use strict";var omt=QF(),amt=ap(),umt=ZF(),lmt=vk(),cmt=gk(),vp=class{constructor(e,r,n){r=r.toString(),this.stringified=!1,this._processor=e,this._css=r,this._opts=n,this._map=void 0;let i,s=amt;this.result=new cmt(this._processor,i,this._opts),this.result.css=r;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new omt(s,i,this._opts,r);if(a.isMap()){let[u,l]=a.generate();u&&(this.result.css=u),l&&(this.result.map=l)}}get[Symbol.toStringTag](){return"NoWorkResult"}get processor(){return this.result.processor}get opts(){return this.result.opts}get css(){return this.result.css}get content(){return this.result.css}get map(){return this.result.map}get root(){if(this._root)return this._root;let e,r=lmt;try{e=r(this._css,this._opts)}catch(n){this.error=n}if(this.error)throw this.error;return this._root=e,e}get messages(){return[]}warnings(){return[]}toString(){return this._css}then(e,r){return process.env.NODE_ENV!=="production"&&("from"in this._opts||umt("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.")),this.async().then(e,r)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}sync(){if(this.error)throw this.error;return this.result}};Rde.exports=vp;vp.default=vp});var Tde=m((wNt,Pde)=>{"use strict";var fmt=Ade(),dmt=oL(),pmt=hk(),hmt=Al(),Aa=class{constructor(e=[]){this.version="8.4.14",this.plugins=this.normalize(e)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}process(e,r={}){return this.plugins.length===0&&typeof r.parser>"u"&&typeof r.stringifier>"u"&&typeof r.syntax>"u"?new fmt(this,e,r):new dmt(this,e,r)}normalize(e){let r=[];for(let n of e)if(n.postcss===!0?n=n():n.postcss&&(n=n.postcss),typeof n=="object"&&Array.isArray(n.plugins))r=r.concat(n.plugins);else if(typeof n=="object"&&n.postcssPlugin)r.push(n);else if(typeof n=="function")r.push(n);else if(typeof n=="object"&&(n.parse||n.stringify)){if(process.env.NODE_ENV!=="production")throw new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation.")}else throw new Error(n+" is not a PostCSS plugin");return r}};Pde.exports=Aa;Aa.default=Aa;hmt.registerProcessor(Aa);pmt.registerProcessor(Aa)});var Fde=m((_Nt,Mde)=>{"use strict";var gmt=fp(),mmt=UF(),ymt=ql(),bmt=mk(),vmt=pp(),wmt=Al(),_mt=yk();function wp(t,e){if(Array.isArray(t))return t.map(i=>wp(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:vmt.prototype};s.map&&(s.map={...s.map,__proto__:mmt.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>wp(i,e))),n.source){let{inputId:i,...s}=n.source;n.source=s,i!=null&&(n.source.input=e[i])}if(n.type==="root")return new wmt(n);if(n.type==="decl")return new gmt(n);if(n.type==="rule")return new _mt(n);if(n.type==="comment")return new ymt(n);if(n.type==="atrule")return new bmt(n);throw new Error("Unknown node type: "+t.type)}Mde.exports=wp;wp.default=wp});var zde=m((xNt,Wde)=>{"use strict";var xmt=uk(),Lde=fp(),Smt=oL(),kmt=uo(),aL=Tde(),Emt=ap(),Cmt=Fde(),Ide=hk(),Dmt=eL(),Nde=ql(),jde=mk(),Omt=gk(),qmt=pp(),Rmt=vk(),Amt=tL(),$de=yk(),Bde=Al(),Pmt=lp();function ct(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new aL(t)}ct.plugin=function(e,r){let n=!1;function i(...o){console&&console.warn&&!n&&(n=!0,console.warn(e+`: postcss.plugin was deprecated. Migration guide:
|
|
390
|
+
https://evilmartians.com/chronicles/postcss-8-plugin-migration`),process.env.LANG&&process.env.LANG.startsWith("cn")&&console.warn(e+`: \u91CC\u9762 postcss.plugin \u88AB\u5F03\u7528. \u8FC1\u79FB\u6307\u5357:
|
|
391
|
+
https://www.w3ctech.com/topic/2226`));let a=r(...o);return a.postcssPlugin=e,a.postcssVersion=new aL().version,a}let s;return Object.defineProperty(i,"postcss",{get(){return s||(s=i()),s}}),i.process=function(o,a,u){return ct([i(u)]).process(o,a)},i};ct.stringify=Emt;ct.parse=Rmt;ct.fromJSON=Cmt;ct.list=Amt;ct.comment=t=>new Nde(t);ct.atRule=t=>new jde(t);ct.decl=t=>new Lde(t);ct.rule=t=>new $de(t);ct.root=t=>new Bde(t);ct.document=t=>new Ide(t);ct.CssSyntaxError=xmt;ct.Declaration=Lde;ct.Container=kmt;ct.Processor=aL;ct.Document=Ide;ct.Comment=Nde;ct.Warning=Dmt;ct.AtRule=jde;ct.Result=Omt;ct.Input=qmt;ct.Rule=$de;ct.Root=Bde;ct.Node=Pmt;Smt.registerPostcss(ct);Wde.exports=ct;ct.default=ct});var Hde=m((SNt,Ude)=>{var Tmt=ak(),Mmt=ql(),Fmt=nL(),uL=class extends Fmt{createTokenizer(){this.tokenizer=Tmt(this.input,{ignoreErrors:!0})}comment(e){let r=new Mmt;this.init(r,e[2]);let n=this.input.fromOffset(e[3])||this.input.fromOffset(this.input.css.length-1);r.source.end={offset:e[3],line:n.line,column:n.col};let i=e[1].slice(2);if(i.slice(-2)==="*/"&&(i=i.slice(0,-2)),/^\s*$/.test(i))r.text="",r.raws.left=i,r.raws.right="";else{let s=i.match(/^(\s*)([^]*\S)(\s*)$/);r.text=s[2],r.raws.left=s[1],r.raws.right=s[3]}}decl(e){e.length>1&&e.some(r=>r[0]==="word")&&super.decl(e)}unclosedBracket(){}unknownWord(e){this.spaces+=e.map(r=>r[1]).join("")}unexpectedClose(){this.current.raws.after+="}"}doubleColon(){}unnamedAtrule(e){e.name=""}precheckMissedSemicolon(e){let r=this.colon(e);if(r===!1)return;let n,i;for(n=r-1;n>=0&&e[n][0]!=="word";n--);if(n===0)return;for(i=n-1;i>=0;i--)if(e[i][0]!=="space"){i+=1;break}let s=e.slice(n),o=e.slice(i,n);e.splice(i,e.length-i),this.spaces=o.map(a=>a[1]).join(""),this.decl(s)}checkMissedSemicolon(){}endFile(){for(this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces;this.current.parent;)this.current=this.current.parent,this.current.raws.after=""}};Ude.exports=uL});var Gde=m((kNt,Vde)=>{var{Input:Lmt}=zde(),Imt=Hde();Vde.exports=function(e,r){let n=new Lmt(e,r),i=new Imt(n);return i.parse(),i.root}});var Qde=m((ENt,Yde)=>{"use strict";var Nmt=e0().default,jmt=require("path"),{default:wk}=t0(),{promises:$mt}=require("fs"),Bmt=wk();Yde.exports=async function(e,r={}){let n=r.filePath?e._postcssResultCache.get(r.filePath):void 0;if(n)return n;if(e._options.syntax){let u='The "syntax" option is no longer available. ';return u+=e._options.syntax==="css"?'You can remove the "--syntax" CLI flag as stylelint will now parse files as CSS by default':'You should install an appropriate syntax, e.g. postcss-scss, and use the "customSyntax" option',Promise.reject(new Error(u))}let i=r.customSyntax?Wmt(r.customSyntax):zmt(e,r.filePath),s={from:r.filePath,syntax:i},o;if(r.code!==void 0?o=r.code:r.filePath&&(o=await $mt.readFile(r.filePath,"utf8")),o===void 0)return Promise.reject(new Error("code or filePath required"));if(r.codeProcessors&&r.codeProcessors.length){e._options.fix&&(console.warn("Autofix is incompatible with processors and will be disabled. Are you sure you need a processor?"),e._options.fix=!1);let u=r.code?r.codeFilename:r.filePath;for(let l of r.codeProcessors)o=l(o,u)}let a=await new Nmt(Bmt,o,s);return r.filePath&&e._postcssResultCache.set(r.filePath,a),a};function Wmt(t){let e;if(typeof t=="string"){try{e=require(t)}catch(r){throw r&&typeof r=="object"&&r.code==="MODULE_NOT_FOUND"&&r.message.includes(t)?new Error(`Cannot resolve custom syntax module "${t}". Check that module "${t}" is available and spelled correctly.
|
|
392
|
+
|
|
393
|
+
Caused by: ${r}`):r}return e.parse||(e={parse:e,stringify:wk.stringify}),e}if(typeof t=="object"){if(typeof t.parse=="function")e={...t};else throw new TypeError('An object provided to the "customSyntax" option must have a "parse" property. Ensure the "parse" property exists and its value is a function.');return e}throw new Error("Custom syntax must be a string or a Syntax object")}var Kde={html:"postcss-html",js:"@stylelint/postcss-css-in-js",jsx:"@stylelint/postcss-css-in-js",less:"postcss-less",md:"postcss-markdown",sass:"postcss-sass",sss:"sugarss",scss:"postcss-scss",svelte:"postcss-html",ts:"@stylelint/postcss-css-in-js",tsx:"@stylelint/postcss-css-in-js",vue:"postcss-html",xml:"postcss-html",xst:"postcss-html"};function zmt(t,e){let r=e?jmt.extname(e).slice(1).toLowerCase():"",n=["css","pcss","postcss"];return Kde[r]&&console.warn(`${e}: When linting something other than CSS, you should install an appropriate syntax, e.g. "${Kde[r]}", and use the "customSyntax" option`),{parse:t._options.fix&&n.includes(r)?Gde():wk.parse,stringify:wk.stringify}}});var xk=m((CNt,spe)=>{function Jde(t){return Array.isArray(t)?t:[t]}var tpe="",Xde=" ",lL="\\",Umt=/^\s+$/,Hmt=/(?:[^\\]|^)\\$/,Vmt=/^\\!/,Gmt=/^\\#/,Kmt=/\r?\n/g,Ymt=/^\.*\/|^\.+$/,cL="/",rpe="node-ignore";typeof Symbol<"u"&&(rpe=Symbol.for("node-ignore"));var Zde=rpe,Qmt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),Jmt=/([0-z])-([0-z])/g,npe=()=>!1,Xmt=t=>t.replace(Jmt,(e,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?e:tpe),Zmt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},eyt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?Xde:tpe],[/\\\s/g,()=>Xde],[/[\\$.|*+(){^]/g,t=>`\\${t}`],[/(?!\\)\?/g,()=>"[^/]"],[/^\//,()=>"^"],[/\//g,()=>"\\/"],[/^\^*\\\*\\\*\\\//,()=>"^(?:.*\\/)?"],[/^(?=[^^])/,function(){return/\/(?!$)/.test(this)?"^":"(?:^|\\/)"}],[/\\\/\\\*\\\*(?=\\\/|$)/g,(t,e,r)=>e+6<r.length?"(?:\\/[^\\/]+)*":"\\/.+"],[/(^|[^\\]+)(\\\*)+(?=.+)/g,(t,e,r)=>{let n=r.replace(/\\\*/g,"[^\\/]*");return e+n}],[/\\\\\\(?=[$.|*+(){^])/g,()=>lL],[/\\\\/g,()=>lL],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,n,i)=>e===lL?`\\[${r}${Zmt(n)}${i}`:i==="]"&&n.length%2===0?`[${Xmt(r)}${n}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],epe=Object.create(null),tyt=(t,e)=>{let r=epe[t];return r||(r=eyt.reduce((n,i)=>n.replace(i[0],i[1].bind(t)),t),epe[t]=r),e?new RegExp(r,"i"):new RegExp(r)},pL=t=>typeof t=="string",ryt=t=>t&&pL(t)&&!Umt.test(t)&&!Hmt.test(t)&&t.indexOf("#")!==0,nyt=t=>t.split(Kmt),fL=class{constructor(e,r,n,i){this.origin=e,this.pattern=r,this.negative=n,this.regex=i}},iyt=(t,e)=>{let r=t,n=!1;t.indexOf("!")===0&&(n=!0,t=t.substr(1)),t=t.replace(Vmt,"!").replace(Gmt,"#");let i=tyt(t,e);return new fL(r,t,n,i)},syt=(t,e)=>{throw new e(t)},gs=(t,e,r)=>pL(t)?t?gs.isNotRelative(t)?r(`path should be a \`path.relative()\`d string, but got "${e}"`,RangeError):!0:r("path must not be empty",TypeError):r(`path must be a string, but got \`${e}\``,TypeError),ipe=t=>Ymt.test(t);gs.isNotRelative=ipe;gs.convert=t=>t;var dL=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:n=!1}={}){Qmt(this,Zde,!0),this._rules=[],this._ignoreCase=r,this._allowRelativePaths=n,this._initCache()}_initCache(){this._ignoreCache=Object.create(null),this._testCache=Object.create(null)}_addPattern(e){if(e&&e[Zde]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(ryt(e)){let r=iyt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,Jde(pL(e)?nyt(e):e).forEach(this._addPattern,this),this._added&&this._initCache(),this}addPattern(e){return this.add(e)}_testOne(e,r){let n=!1,i=!1;return this._rules.forEach(s=>{let{negative:o}=s;if(i===o&&n!==i||o&&!n&&!i&&!r)return;s.regex.test(e)&&(n=!o,i=o)}),{ignored:n,unignored:i}}_test(e,r,n,i){let s=e&&gs.convert(e);return gs(s,e,this._allowRelativePaths?npe:syt),this._t(s,r,n,i)}_t(e,r,n,i){if(e in r)return r[e];if(i||(i=e.split(cL)),i.pop(),!i.length)return r[e]=this._testOne(e,n);let s=this._t(i.join(cL)+cL,r,n,i);return r[e]=s.ignored?s:this._testOne(e,n)}ignores(e){return this._test(e,this._ignoreCache,!1).ignored}createFilter(){return e=>!this.ignores(e)}filter(e){return Jde(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},_k=t=>new dL(t),oyt=t=>gs(t&&gs.convert(t),t,npe);_k.isPathValid=oyt;_k.default=_k;spe.exports=_k;if(typeof process<"u"&&(process.env&&process.env.IGNORE_TEST_WIN32||process.platform==="win32")){let t=r=>/^\\\\\?\\/.test(r)||/["<>|\u0000-\u001F]+/u.test(r)?r:r.replace(/\\/g,"/");gs.convert=t;let e=/^[a-z]:\//i;gs.isNotRelative=r=>e.test(r)||ipe(r)}});var hL=m((DNt,ope)=>{"use strict";var{isPathValid:ayt}=xk().default;ope.exports=function(e,r){let n=r.filter(ayt),i=new Set(r.filter(o=>!n.includes(o))),s=new Set(e.filter(n));return r.filter(o=>i.has(o)||s.has(o))}});var gL=m((ONt,ape)=>{"use strict";var uyt=require("util");ape.exports=function(e){return uyt.types.isNativeError(e)&&e.code==="ENOENT"}});var mL=m((qNt,lpe)=>{"use strict";var lyt=require("fs"),upe=require("path"),{default:cyt}=xk(),fyt=gL(),dyt=".stylelintignore";lpe.exports=function(e){let r=cyt(),n=[e.ignorePath||[]].flat();n.length===0&&n.push(dyt);for(let i of n){let s=upe.isAbsolute(i)?i:upe.resolve(e.cwd,i);try{let o=lyt.readFileSync(s,"utf8");r.add(o)}catch(o){if(!fyt(o))throw o}}return r.add(e.ignorePattern||[]),r}});var fpe=m((RNt,cpe)=>{"use strict";var pyt=vg(),hyt=B1(),yL=require("path"),gyt=hL(),myt=ip(),yyt=mL();cpe.exports=async function(e,r){if(!r)return!1;let n=e._options.cwd,i=yyt(e._options),s=await myt(e,r,r);if(!s)return!0;let o=[s.config.ignoreFiles||[]].flat().map(u=>hyt(u)),a=yL.isAbsolute(r)?r:yL.resolve(n,r);return!!(pyt([a],o).length||gyt(i,[yL.relative(n,a)]).length===0)}});var bpe=m((ANt,ype)=>{"use strict";var dpe=Ou(),{DISABLE_COMMAND:ppe,DISABLE_LINE_COMMAND:hpe,DISABLE_NEXT_LINE_COMMAND:gpe,ENABLE_COMMAND:mpe,extractStylelintCommand:byt,isStylelintCommand:bL}=A2(),{assert:vyt,assertNumber:wyt,assertString:_yt}=te(),zn="all";function vL(t,e,r,n,i,s){return{comment:t,start:e,end:i||void 0,strictStart:r,strictEnd:typeof s=="boolean"?s:void 0,description:n}}ype.exports=function(e,r){r.stylelint=r.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}};let n={[zn]:[]};r.stylelint.disabledRanges=n;let i;return e.walkComments(g=>{if(i){i===g&&(i=null);return}let v=g.next();if(!(!dpe(g)&&bL(g)&&v&&v.type==="comment"&&(g.text.includes("--")||v.text.startsWith("--")))){c(g);return}let w=g.source&&g.source.end&&g.source.end.line||0,_=g.clone(),x=v;for(;!dpe(x)&&!bL(x);){let C=x.source&&x.source.end&&x.source.end.line||0;if(w+1!==C)break;_.text+=`
|
|
394
|
+
${x.text}`,_.source&&x.source&&(_.source.end=x.source.end),i=x;let M=x.next();if(!M||M.type!=="comment")break;x=M,w=C}c(_)}),r;function s(g){if(g.source&&g.source.start){let v=g.source.start.line,w=d(g.text);for(let _ of f(hpe,g.text))a(g,v,_,w)}}function o(g){if(g.source&&g.source.end){let v=g.source.end.line,w=d(g.text);for(let _ of f(gpe,g.text))a(g,v+1,_,w)}}function a(g,v,w,_){if(b(zn))throw g.error("All rules have already been disabled",{plugin:"stylelint"});if(w===zn)for(let x of Object.keys(n)){if(b(x))continue;let C=x===zn;p(g,v,x,C,_),h(v,x,C)}else{if(b(w))throw g.error(`"${w}" has already been disabled`,{plugin:"stylelint"});p(g,v,w,!0,_),h(v,w,!0)}}function u(g){let v=d(g.text);for(let w of f(ppe,g.text)){let _=w===zn;if(b(w))throw g.error(_?"All rules have already been disabled":`"${w}" has already been disabled`,{plugin:"stylelint"});if(g.source&&g.source.start){let x=g.source.start.line;if(_)for(let C of Object.keys(n))p(g,x,C,C===zn,v);else p(g,x,w,!0,v)}}}function l(g){for(let v of f(mpe,g.text)){let w=g.source&&g.source.end&&g.source.end.line;if(wyt(w),v===zn){if(Object.values(n).every(_=>{if(_.length===0)return!0;let x=_[_.length-1];return x&&typeof x.end=="number"}))throw g.error("No rules have been disabled",{plugin:"stylelint"});for(let[_,x]of Object.entries(n)){let C=x[x.length-1];(!C||!C.end)&&h(w,_,_===zn)}continue}if(b(zn)&&n[v]===void 0){n[v]=n[zn].map(({start:_,end:x,description:C})=>vL(g,_,!1,C,x,!1)),h(w,v,!0);continue}if(b(v)){h(w,v,!0);continue}throw g.error(`"${v}" has not been disabled`,{plugin:"stylelint"})}}function c(g){if(bL(g))switch(byt(g)){case hpe:s(g);break;case gpe:o(g);break;case ppe:u(g);break;case mpe:l(g);break}}function f(g,v){let w=v.slice(g.length).split(/\s-{2,}\s/u)[0];_yt(w);let _=w.trim().split(",").filter(Boolean).map(x=>x.trim());return _.length===0?[zn]:_}function d(g){let v=g.indexOf("--");if(v!==-1)return g.slice(v+2).trim()}function p(g,v,w,_,x){let C=vL(g,v,_,x);y(w);let M=n[w];vyt(M),M.push(C)}function h(g,v,w){let _=n[v],x=_?_[_.length-1]:null;x&&(x.end=g,x.strictEnd=w)}function y(g){n[g]||(n[g]=n[zn].map(({comment:v,start:w,end:_,description:x})=>vL(v,w,!1,x,_,!1)))}function b(g){let v=n[g];if(!v)return!1;let w=v[v.length-1];return w?!w.end:!1}}});var wpe=m((PNt,vpe)=>{"use strict";var xyt=require("os");function Syt(){return xyt.EOL}vpe.exports=Syt});var xpe=m(Ml=>{"use strict";Ml.__esModule=!0;Ml.distance=Ml.closest=void 0;var ms=new Uint32Array(65536),kyt=function(t,e){for(var r=t.length,n=e.length,i=1<<r-1,s=-1,o=0,a=r,u=r;u--;)ms[t.charCodeAt(u)]|=1<<u;for(u=0;u<n;u++){var l=ms[e.charCodeAt(u)],c=l|o;l|=(l&s)+s^s,o|=~(l|s),s&=l,o&i&&a++,s&i&&a--,o=o<<1|1,s=s<<1|~(c|o),o&=c}for(u=r;u--;)ms[t.charCodeAt(u)]=0;return a},Eyt=function(t,e){for(var r=e.length,n=t.length,i=[],s=[],o=Math.ceil(r/32),a=Math.ceil(n/32),u=0;u<o;u++)s[u]=-1,i[u]=0;for(var l=0;l<a-1;l++){for(var c=0,f=-1,d=l*32,p=Math.min(32,n)+d,h=d;h<p;h++)ms[t.charCodeAt(h)]|=1<<h;for(var u=0;u<r;u++){var y=ms[e.charCodeAt(u)],b=s[u/32|0]>>>u&1,g=i[u/32|0]>>>u&1,v=y|c,w=((y|g)&f)+f^f|y|g,_=c|~(w|f),x=f&w;_>>>31^b&&(s[u/32|0]^=1<<u),x>>>31^g&&(i[u/32|0]^=1<<u),_=_<<1|b,x=x<<1|g,f=x|~(v|_),c=_&v}for(var h=d;h<p;h++)ms[t.charCodeAt(h)]=0}for(var C=0,M=-1,P=l*32,R=Math.min(32,n-P)+P,h=P;h<R;h++)ms[t.charCodeAt(h)]|=1<<h;for(var z=n,u=0;u<r;u++){var y=ms[e.charCodeAt(u)],b=s[u/32|0]>>>u&1,g=i[u/32|0]>>>u&1,v=y|C,w=((y|g)&M)+M^M|y|g,_=C|~(w|M),x=M&w;z+=_>>>n-1&1,z-=x>>>n-1&1,_>>>31^b&&(s[u/32|0]^=1<<u),x>>>31^g&&(i[u/32|0]^=1<<u),_=_<<1|b,x=x<<1|g,M=x|~(v|_),C=_&v}for(var h=P;h<R;h++)ms[t.charCodeAt(h)]=0;return z},_pe=function(t,e){if(t.length<e.length){var r=e;e=t,t=r}return e.length===0?t.length:t.length<=32?kyt(t,e):Eyt(t,e)};Ml.distance=_pe;var Cyt=function(t,e){for(var r=1/0,n=0,i=0;i<e.length;i++){var s=_pe(t,e[i]);s<r&&(r=s,n=i)}return e[n]};Ml.closest=Cyt});var Cpe=m((MNt,Epe)=>{"use strict";var Dyt=xpe(),Oyt=Cd(),Spe=6,kpe=3;function qyt(t){let e=Array.from({length:Spe});for(let n=0;n<e.length;n++)e[n]=[];for(let n of Object.keys(Oyt)){let i=Dyt.distance(n,t);i<=Spe&&e[i-1].push(n)}let r=[];for(let[n,i]of e.entries())if(i.length>0){if(n<3)return i.slice(0,kpe);r=r.concat(i)}return r.slice(0,kpe)}function Ryt(t,e=[]){return`Unknown rule ${t}.${e.length>0?` Did you mean ${e.join(", ")}?`:""}`}var wL=new Map;Epe.exports=function(e,r,n){let i=wL.has(e)?wL.get(e):qyt(e);wL.set(e,i),n.warn(Ryt(e,i),{severity:"error",rule:e,node:r,index:0})}});var Ope=m((FNt,Dpe)=>{"use strict";var Ayt=bpe(),Pyt=wpe(),Tyt=Cpe(),Myt=Cd(),Fyt=s1();function Lyt(t,e,r){e.stylelint.ruleSeverities={},e.stylelint.customMessages={},e.stylelint.ruleMetadata={},e.stylelint.stylelintError=!1,e.stylelint.stylelintWarning=!1,e.stylelint.quiet=r.quiet,e.stylelint.config=r;let n,i=e.root;if(i){if(!("type"in i))throw new Error("Unexpected Postcss root object!");let c=i.source&&i.source.input.css.match(/\r?\n/);n=c?c[0]:Pyt(),Ayt(i,e)}let s=Iyt(e);s||(e.stylelint.disableWritingFix=!0);let o=i&&i.constructor.name==="Document"?i.nodes:[i],a=[],u=Object.keys(Myt),l=r.rules?Object.keys(r.rules).sort((c,f)=>u.indexOf(c)-u.indexOf(f)):[];for(let c of l){let f=Fyt(c,r);if(f===void 0){a.push(Promise.all(o.map(g=>Tyt(c,g,e))));continue}let d=r.rules&&r.rules[c];if(d===null||d[0]===null)continue;let p=d[0],h=d[1],y=r.defaultSeverity||"error",b=h&&h.disableFix===!0||!1;b&&(e.stylelint.ruleDisableFix=!0),e.stylelint.ruleSeverities[c]=h&&h.severity||y,e.stylelint.customMessages[c]=h&&h.message,e.stylelint.ruleMetadata[c]=f.meta||{},a.push(Promise.all(o.map(g=>f(p,h,{fix:!b&&t.fix&&s&&!e.stylelint.disabledRanges[c],newline:n})(g,e))))}return Promise.all(a)}function Iyt({stylelint:t}){return!(t.disabledRanges.all&&t.disabledRanges.all.length)}Dpe.exports=Lyt});var xL=m((LNt,Ppe)=>{"use strict";var Nyt=require("path"),qpe=ip(),jyt=Qde(),$yt=fpe(),Rpe=gL(),Byt=Ope();Ppe.exports=async function(e,r={}){if(!r.filePath&&r.code===void 0&&!r.existingPostcssResult)return Promise.reject(new Error("You must provide filePath, code, or existingPostcssResult"));let n=r.code!==void 0,i=n?r.codeFilename:r.filePath;if(i!==void 0&&!Nyt.isAbsolute(i))return n?Promise.reject(new Error("codeFilename must be an absolute path")):Promise.reject(new Error("filePath must be an absolute path"));if(await $yt(e,i).catch(h=>{if(n&&Rpe(h))return!1;throw h}))return r.existingPostcssResult?Object.assign(r.existingPostcssResult,{stylelint:_L()}):Ape(i);let o=e._options.configFile||i,a=e._options.cwd,u;try{u=await qpe(e,o,i)}catch(h){if(n&&Rpe(h))u=await qpe(e,a);else throw h}if(!u)return Promise.reject(new Error("Config file not found"));let l=u.config,c=r.existingPostcssResult;if(r.cache&&(e._fileCache.calcHashOfConfig(l),r.filePath&&!e._fileCache.hasFileChanged(r.filePath)))return c?Object.assign(c,{stylelint:_L()}):Ape(i);let f={ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{}},d=c||await jyt(e,{code:r.code,codeFilename:r.codeFilename,filePath:i,codeProcessors:l.codeProcessors,customSyntax:l.customSyntax}),p=Object.assign(d,{stylelint:f});return await Byt(e._options,p,l),p};function _L(){return{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:!0,stylelintError:!1,stylelintWarning:!1}}function Ape(t){return{root:{source:{input:{file:t}}},messages:[],opts:void 0,stylelint:_L(),warn:()=>{}}}});var Mpe=m((INt,SL)=>{"use strict";var Tpe=require("path"),Wyt=tp(),zyt=xL();SL.exports=(t={})=>{let[e,r]=Uyt(t)?[process.cwd(),{config:t}]:[t.cwd||process.cwd(),t],n=Wyt(r);return{postcssPlugin:"stylelint",Once(i,{result:s}){let o=i.source&&i.source.input.file;return o&&!Tpe.isAbsolute(o)&&(o=Tpe.join(e,o)),zyt(n,{filePath:o,existingPostcssResult:s})}}};SL.exports.postcss=!0;function Uyt(t){return"rules"in t}});var Lpe=m((NNt,Fpe)=>{"use strict";var kL=require("path"),Hyt=tp(),Vyt=ip();Fpe.exports=async function(e,{cwd:r=process.cwd(),config:n,configBasedir:i,configFile:s}={}){if(!e)return;let o=Hyt({config:n,configFile:s,configBasedir:i,cwd:r}),a=kL.isAbsolute(e)?kL.normalize(e):kL.join(r,e),u=o._options.configFile||a,l=await Vyt(o,u,a);if(l)return l.config}});var Npe=m((jNt,Ipe)=>{"use strict";Ipe.exports=(...t)=>[...new Set([].concat(...t))]});var zpe=m(($Nt,EL)=>{"use strict";var Pa=require("path"),jpe=YT(),$pe=t=>t.length>1?`{${t.join(",")}}`:t[0],Bpe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return Pa.isAbsolute(r)?r:Pa.join(e,r)},Gyt=(t,e)=>Pa.extname(t)?`**/${t}`:`**/${t}.${$pe(e)}`,Wpe=(t,e)=>{if(e.files&&!Array.isArray(e.files))throw new TypeError(`Expected \`files\` to be of type \`Array\` but received type \`${typeof e.files}\``);if(e.extensions&&!Array.isArray(e.extensions))throw new TypeError(`Expected \`extensions\` to be of type \`Array\` but received type \`${typeof e.extensions}\``);return e.files&&e.extensions?e.files.map(r=>Pa.posix.join(t,Gyt(r,e.extensions))):e.files?e.files.map(r=>Pa.posix.join(t,`**/${r}`)):e.extensions?[Pa.posix.join(t,`**/*.${$pe(e.extensions)}`)]:[Pa.posix.join(t,"**")]};EL.exports=async(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=await Promise.all([].concat(t).map(async n=>await jpe.isDirectory(Bpe(n,e.cwd))?Wpe(n,e):n));return[].concat.apply([],r)};EL.exports.sync=(t,e)=>{if(e={cwd:process.cwd(),...e},typeof e.cwd!="string")throw new TypeError(`Expected \`cwd\` to be of type \`string\` but received type \`${typeof e.cwd}\``);let r=[].concat(t).map(n=>jpe.isDirectorySync(Bpe(n,e.cwd))?Wpe(n,e):n);return[].concat.apply([],r)}});var Hpe=m((BNt,Upe)=>{"use strict";Upe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var Xpe=m((WNt,CL)=>{"use strict";var{promisify:Kyt}=require("util"),Vpe=require("fs"),ys=require("path"),Gpe=Ro(),Yyt=xk(),_p=Hpe(),Kpe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Qyt=Kyt(Vpe.readFile),Jyt=t=>e=>e.startsWith("!")?"!"+ys.posix.join(t,e.slice(1)):ys.posix.join(t,e),Xyt=(t,e)=>{let r=_p(ys.relative(e.cwd,ys.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(Jyt(r))},Ype=t=>{let e=Yyt();for(let r of t)e.add(Xyt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},Zyt=(t,e)=>{if(t=_p(t),ys.isAbsolute(e)){if(_p(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return ys.join(t,e)},Qpe=(t,e)=>r=>t.ignores(_p(ys.relative(e,Zyt(e,r.path||r)))),ebt=async(t,e)=>{let r=ys.join(e,t),n=await Qyt(r,"utf8");return{cwd:e,filePath:r,content:n}},tbt=(t,e)=>{let r=ys.join(e,t),n=Vpe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:n}},Jpe=({ignore:t=[],cwd:e=_p(process.cwd())}={})=>({ignore:t,cwd:e});CL.exports=async t=>{t=Jpe(t);let e=await Gpe("**/.gitignore",{ignore:Kpe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(i=>ebt(i,t.cwd))),n=Ype(r);return Qpe(n,t.cwd)};CL.exports.sync=t=>{t=Jpe(t);let r=Gpe.sync("**/.gitignore",{ignore:Kpe.concat(t.ignore),cwd:t.cwd}).map(i=>tbt(i,t.cwd)),n=Ype(r);return Qpe(n,t.cwd)}});var ehe=m((zNt,Zpe)=>{"use strict";var{Transform:rbt}=require("stream"),Sk=class extends rbt{constructor(){super({objectMode:!0})}},DL=class extends Sk{constructor(e){super(),this._filter=e}_transform(e,r,n){this._filter(e)&&this.push(e),n()}},OL=class extends Sk{constructor(){super(),this._pushed=new Set}_transform(e,r,n){this._pushed.has(e)||(this.push(e),this._pushed.add(e)),n()}};Zpe.exports={FilterStream:DL,UniqueStream:OL}});var she=m((UNt,Ta)=>{"use strict";var rhe=require("fs"),kk=Npe(),nbt=CO(),Ek=Ro(),Ck=zpe(),qL=Xpe(),{FilterStream:ibt,UniqueStream:sbt}=ehe(),nhe=()=>!1,the=t=>t[0]==="!",obt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},abt=(t={})=>{if(!t.cwd)return;let e;try{e=rhe.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},ubt=t=>t.stats instanceof rhe.Stats?t.path:t,Dk=(t,e)=>{t=kk([].concat(t)),obt(t),abt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[n,i]of t.entries()){if(the(i))continue;let s=t.slice(n).filter(a=>the(a)).map(a=>a.slice(1)),o={...e,ignore:e.ignore.concat(s)};r.push({pattern:i,options:o})}return r},lbt=(t,e)=>{let r={};return t.options.cwd&&(r.cwd=t.options.cwd),Array.isArray(t.options.expandDirectories)?r={...r,files:t.options.expandDirectories}:typeof t.options.expandDirectories=="object"&&(r={...r,...t.options.expandDirectories}),e(t.pattern,r)},RL=(t,e)=>t.options.expandDirectories?lbt(t,e):[t.pattern],ihe=t=>t&&t.gitignore?qL.sync({cwd:t.cwd,ignore:t.ignore}):nhe,AL=t=>e=>{let{options:r}=t;return r.ignore&&Array.isArray(r.ignore)&&r.expandDirectories&&(r.ignore=Ck.sync(r.ignore)),{pattern:e,options:r}};Ta.exports=async(t,e)=>{let r=Dk(t,e),n=async()=>e&&e.gitignore?qL({cwd:e.cwd,ignore:e.ignore}):nhe,i=async()=>{let u=await Promise.all(r.map(async l=>{let c=await RL(l,Ck);return Promise.all(c.map(AL(l)))}));return kk(...u)},[s,o]=await Promise.all([n(),i()]),a=await Promise.all(o.map(u=>Ek(u.pattern,u.options)));return kk(...a).filter(u=>!s(ubt(u)))};Ta.exports.sync=(t,e)=>{let r=Dk(t,e),n=[];for(let o of r){let a=RL(o,Ck.sync).map(AL(o));n.push(...a)}let i=ihe(e),s=[];for(let o of n)s=kk(s,Ek.sync(o.pattern,o.options));return s.filter(o=>!i(o))};Ta.exports.stream=(t,e)=>{let r=Dk(t,e),n=[];for(let a of r){let u=RL(a,Ck.sync).map(AL(a));n.push(...u)}let i=ihe(e),s=new ibt(a=>!i(a)),o=new sbt;return nbt(n.map(a=>Ek.stream(a.pattern,a.options))).pipe(s).pipe(o)};Ta.exports.generateGlobTasks=Dk;Ta.exports.hasMagic=(t,e)=>[].concat(t).some(r=>Ek.isDynamicPattern(r,e));Ta.exports.gitignore=qL});var ahe=m((HNt,ohe)=>{"use strict";ohe.exports=function(e,r){let n,i;if(e&&e.root){e.root.source&&(i=e.root.source.input.file,!i&&"id"in e.root.source.input&&(i=e.root.source.input.id));let o=e.messages.filter(c=>c.stylelintType==="deprecation").map(c=>({text:c.text,reference:c.stylelintReference})),u=e.messages.filter(c=>c.stylelintType==="invalidOption").map(c=>({text:c.text})),l=e.messages.filter(c=>c.stylelintType==="parseError");e.messages=e.messages.filter(c=>c.stylelintType!=="deprecation"&&c.stylelintType!=="invalidOption"&&c.stylelintType!=="parseError"),n={source:i,deprecations:o,invalidOptionWarnings:u,parseErrors:l,errored:e.stylelint.stylelintError,warnings:e.messages.map(c=>({line:c.line,column:c.column,endLine:c.endLine,endColumn:c.endColumn,rule:c.rule,severity:c.severity,text:c.text})),ignored:e.stylelint.ignored,_postcssResult:e}}else if(r){if(r.name!=="CssSyntaxError")throw r;n={source:r.file||"<input css 1>",deprecations:[],invalidOptionWarnings:[],parseErrors:[],errored:!0,warnings:[{line:r.line,column:r.column,endLine:r.endLine,endColumn:r.endColumn,rule:r.name,severity:"error",text:`${r.reason} (${r.name})`}]}}else throw new Error("createPartialStylelintResult must be called with either postcssResult or CssSyntaxError");return n}});var lhe=m((VNt,uhe)=>{"use strict";var cbt=ahe(),fbt=ip();uhe.exports=async function(e,r,n,i){let s=cbt(r,i),o=await fbt(e,n,n),a=o===null?{}:o.config,u=s.source||i&&i.file;if(a.resultProcessors)for(let l of a.resultProcessors){let c=l(s,u);c&&(s=c)}return s}});var fhe=m((GNt,che)=>{"use strict";var dbt=ZS();che.exports=function(e={}){let r=Object.keys(dbt).map(n=>`"${n}"`).join(", ");return e.useOr&&(r=r.replace(/, ([a-z"]+)$/u," or $1")),r}});var phe=m((KNt,dhe)=>{"use strict";var PL=class extends Error{constructor(e){super(),typeof e=="string"&&(e=[e]);let r=e.filter(n=>!n.startsWith("!")).join(", ");this.message=`No files matching the pattern "${r}" were found.`}};dhe.exports=PL});var ghe=m((YNt,hhe)=>{"use strict";var TL=class extends Error{constructor(){super(),this.message='All input files were ignored because of the ignore pattern. Either change your input, ignore pattern or use "--allow-empty-input" to allow no inputs'}};hhe.exports=TL});var Ok=m((QNt,mhe)=>{"use strict";var pbt=N(),{isRegExp:hbt,isString:gbt}=te();mhe.exports=function(e,r){if(!e)return null;let n=e.stylelint;if(!n.config)return null;let i=n.config[r],s,o;return Array.isArray(i)?(s=i[0],o=i[1]||{}):(s=i||!1,o={}),!pbt(e,r,{actual:s,possible:[!0,!1]},{actual:o,possible:{except:[gbt,hbt]}})||!s&&!o.except?null:[s,{except:o.except||[],severity:o.severity||n.config.defaultSeverity||"error"},n]}});var bhe=m((JNt,yhe)=>{"use strict";var mbt=_e(),ybt=Ok();yhe.exports=function(e){for(let r of e){let n=ybt(r._postcssResult,"reportDescriptionlessDisables");if(!n)continue;let[i,s,o]=n,a=new Set;for(let[u,l]of Object.entries(o.disabledRanges))for(let c of l)if(!c.description&&!a.has(c.comment)){if(i===mbt(s,"except",u)){!i&&u==="all"&&a.add(c.comment);continue}a.add(c.comment),!(!c.comment.source||!c.comment.source.start)&&r.warnings.push({text:`Disable for "${u}" is missing a description`,rule:"--report-descriptionless-disables",line:c.comment.source.start.line,column:c.comment.source.start.column,endLine:c.comment.source.end&&c.comment.source.end.line,endColumn:c.comment.source.end&&c.comment.source.end.column,severity:s.severity})}}}});var whe=m((XNt,vhe)=>{"use strict";var bbt=_e(),vbt=Ok();vhe.exports=function(e){for(let r of e){let n=vbt(r._postcssResult,"reportInvalidScopeDisables");if(!n)continue;let[i,s,o]=n,a=(o.config||{}).rules||{},u=new Set(Object.keys(a));u.add("all");for(let[l,c]of Object.entries(o.disabledRanges))if(!u.has(l)&&i!==bbt(s,"except",l))for(let f of c)!f.strictStart&&!f.strictEnd||!f.comment.source||!f.comment.source.start||r.warnings.push({text:`Rule "${l}" isn't enabled`,rule:"--report-invalid-scope-disables",line:f.comment.source.start.line,column:f.comment.source.start.column,endLine:f.comment.source.end&&f.comment.source.end.line,endColumn:f.comment.source.end&&f.comment.source.end.column,severity:s.severity})}}});var xhe=m((ZNt,_he)=>{"use strict";_he.exports=function(e,r,n){if(e.has(r))return e.get(r);let i=n();return e.set(r,i),i}});var Che=m((e5t,Ehe)=>{"use strict";var wbt=_e(),She=xhe(),_bt=Ok();Ehe.exports=function(e){for(let r of e){let n=_bt(r._postcssResult,"reportNeedlessDisables");if(!n)continue;let[i,s,o]=n,a=o.disabledRanges;if(!a)continue;let u=o.disabledWarnings||[],l=new Map;for(let f of u){let d=f.rule,p=a[d];if(p)for(let h of p)khe(f,h)&&She(l,h.comment,()=>new Set).add(d);for(let h of a.all||[])khe(f,h)&&She(l,h.comment,()=>new Set).add(d)}let c=new Set((a.all||[]).map(f=>f.comment));for(let[f,d]of Object.entries(a))for(let p of d){if(f!=="all"&&c.has(p.comment)||i===wbt(s,"except",f))continue;let h=l.get(p.comment)||new Set;(f==="all"?h.size!==0:h.has(f))||!p.comment.source||!p.comment.source.start||r.warnings.push({text:`Needless disable for "${f}"`,rule:"--report-needless-disables",line:p.comment.source.start.line,column:p.comment.source.start.column,endLine:p.comment.source.end&&p.comment.source.end.line,endColumn:p.comment.source.end&&p.comment.source.end.column,severity:s.severity})}}};function khe(t,e){let r=t.line;return e.start<=r&&(e.end!==void 0&&e.end>=r||e.end===void 0)}});var qhe=m((t5t,Ohe)=>{"use strict";Ohe.exports=function(e){for(let r of e){if(!r._postcssResult)continue;let n=r._postcssResult.stylelint.disabledRanges;if(!n)continue;let i=r._postcssResult.stylelint.config;if(!(!i||!i.rules)&&Object.values(i.rules).some(s=>Dhe(s)))for(let[s,o]of Object.entries(n))for(let a of o)Dhe(i.rules[s]||[])&&(!a.comment.source||!a.comment.source.start||r.warnings.push({text:`Rule "${s}" may not be disabled`,rule:"reportDisables",line:a.comment.source.start.line,column:a.comment.source.start.column,endLine:a.comment.source.end&&a.comment.source.end.line,endColumn:a.comment.source.end&&a.comment.source.end.column,severity:"error"}))}};function Dhe(t){return!t||!t[1]?!1:Boolean(t[1].reportDisables)}});var Ahe=m((r5t,Rhe)=>{"use strict";var xbt=bhe(),Sbt=whe(),kbt=Che(),Ebt=qhe();Rhe.exports=function(e,r,n,i){Ebt(e),kbt(e),Sbt(e),xbt(e);let s=e.some(a=>a.errored||a.parseErrors.length>0||a.warnings.some(u=>u.severity==="error")),o={cwd:i,errored:s,results:[],output:"",reportedDisables:[],ruleMetadata:Cbt(e)};if(r!==void 0){let a=e.reduce((u,l)=>u+l.warnings.length,0);a>r&&(o.maxWarningsExceeded={maxWarnings:r,foundWarnings:a})}return o.output=n(e,o),o.results=e,o};function Cbt(t){let[e]=t;return e===void 0?{}:e._postcssResult===void 0?{}:e._postcssResult.stylelint.ruleMetadata}});var Phe=m((n5t,qk)=>{qk.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"];process.platform!=="win32"&&qk.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT");process.platform==="linux"&&qk.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")});var Ihe=m((i5t,Il)=>{var It=global.process,Ma=function(t){return t&&typeof t=="object"&&typeof t.removeListener=="function"&&typeof t.emit=="function"&&typeof t.reallyExit=="function"&&typeof t.listeners=="function"&&typeof t.kill=="function"&&typeof t.pid=="number"&&typeof t.on=="function"};Ma(It)?(The=require("assert"),Fl=Phe(),Mhe=/^win/i.test(It.platform),xp=require("events"),typeof xp!="function"&&(xp=xp.EventEmitter),It.__signal_exit_emitter__?dr=It.__signal_exit_emitter__:(dr=It.__signal_exit_emitter__=new xp,dr.count=0,dr.emitted={}),dr.infinite||(dr.setMaxListeners(1/0),dr.infinite=!0),Il.exports=function(t,e){if(!Ma(global.process))return function(){};The.equal(typeof t,"function","a callback must be provided for exit handler"),Ll===!1&&ML();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){dr.removeListener(r,t),dr.listeners("exit").length===0&&dr.listeners("afterexit").length===0&&Rk()};return dr.on(r,t),n},Rk=function(){!Ll||!Ma(global.process)||(Ll=!1,Fl.forEach(function(e){try{It.removeListener(e,Ak[e])}catch{}}),It.emit=Pk,It.reallyExit=FL,dr.count-=1)},Il.exports.unload=Rk,Fa=function(e,r,n){dr.emitted[e]||(dr.emitted[e]=!0,dr.emit(e,r,n))},Ak={},Fl.forEach(function(t){Ak[t]=function(){if(Ma(global.process)){var r=It.listeners(t);r.length===dr.count&&(Rk(),Fa("exit",null,t),Fa("afterexit",null,t),Mhe&&t==="SIGHUP"&&(t="SIGINT"),It.kill(It.pid,t))}}}),Il.exports.signals=function(){return Fl},Ll=!1,ML=function(){Ll||!Ma(global.process)||(Ll=!0,dr.count+=1,Fl=Fl.filter(function(e){try{return It.on(e,Ak[e]),!0}catch{return!1}}),It.emit=Lhe,It.reallyExit=Fhe)},Il.exports.load=ML,FL=It.reallyExit,Fhe=function(e){Ma(global.process)&&(It.exitCode=e||0,Fa("exit",It.exitCode,null),Fa("afterexit",It.exitCode,null),FL.call(It,It.exitCode))},Pk=It.emit,Lhe=function(e,r){if(e==="exit"&&Ma(global.process)){r!==void 0&&(It.exitCode=r);var n=Pk.apply(this,arguments);return Fa("exit",It.exitCode,null),Fa("afterexit",It.exitCode,null),n}else return Pk.apply(this,arguments)}):Il.exports=function(){return function(){}};var The,Fl,Mhe,xp,dr,Rk,Fa,Ak,Ll,ML,FL,Fhe,Pk,Lhe});var jhe=m((s5t,Sp)=>{"use strict";Sp.exports=Tbt;Sp.exports.sync=Mbt;Sp.exports._getTmpname=LL;Sp.exports._cleanupOnExit=IL;var Nt=require("fs"),Dbt=JM(),Nhe=Ihe(),Obt=require("path"),{promisify:Un}=require("util"),lo={},qbt=function(){try{return require("worker_threads").threadId}catch{return 0}}(),Rbt=0;function LL(t){return t+"."+Dbt(__filename).hash(String(process.pid)).hash(String(qbt)).hash(String(++Rbt)).result()}function IL(t){return()=>{try{Nt.unlinkSync(typeof t=="function"?t():t)}catch{}}}function Abt(t){return new Promise(e=>{lo[t]||(lo[t]=[]),lo[t].push(e),lo[t].length===1&&e()})}function Tk(t){return t.code==="ENOSYS"||(!process.getuid||process.getuid()!==0)&&(t.code==="EINVAL"||t.code==="EPERM")}async function Pbt(t,e,r={}){typeof r=="string"&&(r={encoding:r});let n,i,s=Nhe(IL(()=>i)),o=Obt.resolve(t);try{await Abt(o);let a=await Un(Nt.realpath)(t).catch(()=>t);if(i=LL(a),!r.mode||!r.chown){let u=await Un(Nt.stat)(a).catch(()=>{});u&&(r.mode==null&&(r.mode=u.mode),r.chown==null&&process.getuid&&(r.chown={uid:u.uid,gid:u.gid}))}n=await Un(Nt.open)(i,"w",r.mode),r.tmpfileCreated&&await r.tmpfileCreated(i),ArrayBuffer.isView(e)?await Un(Nt.write)(n,e,0,e.length,0):e!=null&&await Un(Nt.write)(n,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&await Un(Nt.fsync)(n),await Un(Nt.close)(n),n=null,r.chown&&await Un(Nt.chown)(i,r.chown.uid,r.chown.gid).catch(u=>{if(!Tk(u))throw u}),r.mode&&await Un(Nt.chmod)(i,r.mode).catch(u=>{if(!Tk(u))throw u}),await Un(Nt.rename)(i,a)}finally{n&&await Un(Nt.close)(n).catch(()=>{}),s(),await Un(Nt.unlink)(i).catch(()=>{}),lo[o].shift(),lo[o].length>0?lo[o][0]():delete lo[o]}}async function Tbt(t,e,r,n){r instanceof Function&&(n=r,r={});let i=Pbt(t,e,r);if(n)try{let s=await i;return n(s)}catch(s){return n(s)}return i}function Mbt(t,e,r){typeof r=="string"?r={encoding:r}:r||(r={});try{t=Nt.realpathSync(t)}catch{}let n=LL(t);if(!r.mode||!r.chown)try{let u=Nt.statSync(t);r=Object.assign({},r),r.mode||(r.mode=u.mode),!r.chown&&process.getuid&&(r.chown={uid:u.uid,gid:u.gid})}catch{}let i,s=IL(n),o=Nhe(s),a=!0;try{if(i=Nt.openSync(n,"w",r.mode||438),r.tmpfileCreated&&r.tmpfileCreated(n),ArrayBuffer.isView(e)?Nt.writeSync(i,e,0,e.length,0):e!=null&&Nt.writeSync(i,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&Nt.fsyncSync(i),Nt.closeSync(i),i=null,r.chown)try{Nt.chownSync(n,r.chown.uid,r.chown.gid)}catch(u){if(!Tk(u))throw u}if(r.mode)try{Nt.chmodSync(n,r.mode)}catch(u){if(!Tk(u))throw u}Nt.renameSync(n,t),a=!1}finally{if(i)try{Nt.closeSync(i)}catch{}o(),a&&s()}}});var Uhe=m((o5t,zhe)=>{"use strict";var NL=bM()("stylelint:standalone"),Fbt=Ro(),Lbt=require("fs"),Ibt=she(),Nbt=B1(),$i=require("path"),jbt=tp(),BL=lhe(),$he=hL(),jL=ZS(),$bt=mL(),Bbt=fhe(),Bhe=xL(),Wbt=phe(),zbt=ghe(),{assert:Ubt}=te(),$L=Ahe(),Hbt=["**/node_modules/**"],Vbt=jhe();async function Gbt({allowEmptyInput:t=!1,cache:e=!1,cacheLocation:r,cacheStrategy:n,code:i,codeFilename:s,config:o,configBasedir:a,configFile:u,customSyntax:l,cwd:c=process.cwd(),disableDefaultIgnores:f,files:d,fix:p,formatter:h,globbyOptions:y,ignoreDisables:b,ignorePath:g,ignorePattern:v,maxWarnings:w,quiet:_,reportDescriptionlessDisables:x,reportInvalidScopeDisables:C,reportNeedlessDisables:M,syntax:P}){let R=Date.now(),z=typeof i=="string";if(!d&&!z||d&&(i||z))return Promise.reject(new Error("You must pass stylelint a `files` glob or a `code` string, though not both"));let $;try{$=$bt({cwd:c,ignorePath:g,ignorePattern:v})}catch(ie){return Promise.reject(ie)}let ee;try{ee=Kbt(h)}catch(ie){return Promise.reject(ie)}let G=jbt({cacheLocation:r,cacheStrategy:n,config:o,configFile:u,configBasedir:a,cwd:c,ignoreDisables:b,ignorePath:g,reportNeedlessDisables:M,reportInvalidScopeDisables:C,reportDescriptionlessDisables:x,syntax:P,customSyntax:l,fix:p,quiet:_});if(!d){let ie=s!==void 0&&!$i.isAbsolute(s)?$i.join(c,s):s;if(ie&&!$he($,[$i.relative(c,ie)]).length)return $L([],w,ee,c);let pe;try{let Qe=await Bhe(G,{code:i,codeFilename:ie});pe=await BL(G,Qe,ie)}catch(Qe){pe=await Whe(G,Qe)}let be=pe._postcssResult,Ce=$L([pe],w,ee,c);return p&&be&&!be.stylelint.ignored&&!be.stylelint.ruleDisableFix&&(Ce.output=!be.stylelint.disableWritingFix&&be.opts?be.root.toString(be.opts.syntax):i),Ce}let ae=[d].flat().map(ie=>{let pe=y&&y.cwd||c,be=$i.isAbsolute(ie)?$i.normalize(ie):$i.join(pe,ie);return Lbt.existsSync(be)?Fbt.escapePath(Nbt(ie)):ie});f||(ae=ae.concat(Hbt.map(ie=>`!${ie}`))),e||G._fileCache.destroy();let F={cwd:c,...y||{},absolute:!0},T=F.cwd,ue=await Ibt(ae,F),re=ue.length;ue=$he($,ue.map(ie=>$i.relative(T,ie)));let fe;if(ue.length){let pe=ue.map(be=>$i.isAbsolute(be)?$i.normalize(be):$i.join(T,be)).map(async be=>{NL(`Processing ${be}`);try{let Ce=await Bhe(G,{filePath:be,cache:e});if((Ce.stylelint.stylelintError||Ce.stylelint.stylelintWarning)&&e&&(NL(`${be} contains linting errors and will not be cached.`),G._fileCache.removeEntry(be)),Ce.root&&Ce.opts&&!Ce.stylelint.ignored&&p&&!Ce.stylelint.disableWritingFix){let Qe=Ce.root.toString(Ce.opts.syntax);Ce.root&&Ce.root.source&&Ce.root.source.input.css!==Qe&&await Vbt(be,Qe)}return BL(G,Ce,be)}catch(Ce){return G._fileCache.removeEntry(be),Whe(G,Ce,be)}});fe=await Promise.all(pe)}else t?fe=await Promise.all([]):re?fe=await Promise.reject(new zbt):fe=await Promise.reject(new Wbt(ae));e&&G._fileCache.reconcile();let oe=$L(fe,w,ee,c);return NL(`Linting complete in ${Date.now()-R}ms`),oe}function Kbt(t){if(typeof t=="string"){let e=jL[t];if(e===void 0)throw new Error(`You must use a valid formatter option: ${Bbt()} or a function`);return e}return typeof t=="function"?t:(Ubt(jL.json),jL.json)}function Whe(t,e,r=void 0){if(e.name==="CssSyntaxError")return BL(t,void 0,r,e);throw e}zhe.exports=Gbt});var Vhe=m((a5t,Hhe)=>{"use strict";var Ybt=nie(),Qbt=sie(),Jbt=tp(),Xbt=ZS(),Zbt=Mpe(),e0t=U(),t0t=Lpe(),r0t=j(),n0t=Cd(),{longhandSubPropertiesOfShorthandProperties:i0t}=ku(),s0t=Uhe(),o0t=N(),a0t=Object.assign(Zbt,{lint:s0t,rules:n0t,formatters:Xbt,createPlugin:Qbt,resolveConfig:t0t,createLinter:Jbt,utils:{report:e0t,ruleMessages:r0t,validateOptions:o0t,checkAgainstRule:Ybt},reference:{longhandSubPropertiesOfShorthandProperties:i0t}});Hhe.exports=a0t});var jk=m(Xt=>{"use strict";Object.defineProperty(Xt,"__esModule",{value:!0});Xt.thenable=Xt.typedArray=Xt.stringArray=Xt.array=Xt.func=Xt.error=Xt.number=Xt.string=Xt.boolean=void 0;function Q0t(t){return t===!0||t===!1}Xt.boolean=Q0t;function yge(t){return typeof t=="string"||t instanceof String}Xt.string=yge;function J0t(t){return typeof t=="number"||t instanceof Number}Xt.number=J0t;function X0t(t){return t instanceof Error}Xt.error=X0t;function bge(t){return typeof t=="function"}Xt.func=bge;function vge(t){return Array.isArray(t)}Xt.array=vge;function Z0t(t){return vge(t)&&t.every(e=>yge(e))}Xt.stringArray=Z0t;function evt(t,e){return Array.isArray(t)&&t.every(e)}Xt.typedArray=evt;function tvt(t){return t&&bge(t.then)}Xt.thenable=tvt});var bs=m(eI=>{"use strict";Object.defineProperty(eI,"__esModule",{value:!0});var XL;function ZL(){if(XL===void 0)throw new Error("No runtime abstraction layer installed");return XL}(function(t){function e(r){if(r===void 0)throw new Error("No runtime abstraction layer provided");XL=r}t.install=e})(ZL||(ZL={}));eI.default=ZL});var tI=m(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.Disposable=void 0;var rvt;(function(t){function e(r){return{dispose:r}}t.create=e})(rvt=Dp.Disposable||(Dp.Disposable={}))});var wge=m($k=>{"use strict";Object.defineProperty($k,"__esModule",{value:!0});$k.AbstractMessageBuffer=void 0;var nvt=13,ivt=10,svt=`\r
|
|
395
|
+
`,rI=class{constructor(e="utf-8"){this._encoding=e,this._chunks=[],this._totalLength=0}get encoding(){return this._encoding}append(e){let r=typeof e=="string"?this.fromString(e,this._encoding):e;this._chunks.push(r),this._totalLength+=r.byteLength}tryReadHeaders(){if(this._chunks.length===0)return;let e=0,r=0,n=0,i=0;e:for(;r<this._chunks.length;){let u=this._chunks[r];n=0;t:for(;n<u.length;){switch(u[n]){case nvt:switch(e){case 0:e=1;break;case 2:e=3;break;default:e=0}break;case ivt:switch(e){case 1:e=2;break;case 3:e=4,n++;break e;default:e=0}break;default:e=0}n++}i+=u.byteLength,r++}if(e!==4)return;let s=this._read(i+n),o=new Map,a=this.toString(s,"ascii").split(svt);if(a.length<2)return o;for(let u=0;u<a.length-2;u++){let l=a[u],c=l.indexOf(":");if(c===-1)throw new Error("Message header must separate key and value using :");let f=l.substr(0,c),d=l.substr(c+1).trim();o.set(f,d)}return o}tryReadBody(e){if(!(this._totalLength<e))return this._read(e)}get numberOfBytes(){return this._totalLength}_read(e){if(e===0)return this.emptyBuffer();if(e>this._totalLength)throw new Error("Cannot read so many bytes!");if(this._chunks[0].byteLength===e){let s=this._chunks[0];return this._chunks.shift(),this._totalLength-=e,this.asNative(s)}if(this._chunks[0].byteLength>e){let s=this._chunks[0],o=this.asNative(s,e);return this._chunks[0]=s.slice(e),this._totalLength-=e,o}let r=this.allocNative(e),n=0,i=0;for(;e>0;){let s=this._chunks[i];if(s.byteLength>e){let o=s.slice(0,e);r.set(o,n),n+=e,this._chunks[i]=s.slice(e),this._totalLength-=e,e-=e}else r.set(s,n),n+=s.byteLength,this._chunks.shift(),this._totalLength-=s.byteLength,e-=s.byteLength}return r}};$k.AbstractMessageBuffer=rI});var Sge=m(oI=>{"use strict";Object.defineProperty(oI,"__esModule",{value:!0});var ovt=bs(),_ge=require("util"),La=tI(),avt=wge(),$l=class extends avt.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return $l.emptyBuffer}fromString(e,r){return Buffer.from(e,r)}toString(e,r){return e instanceof Buffer?e.toString(r):new _ge.TextDecoder(r).decode(e)}asNative(e,r){return r===void 0?e instanceof Buffer?e:Buffer.from(e):e instanceof Buffer?e.slice(0,r):Buffer.from(e,0,r)}allocNative(e){return Buffer.allocUnsafe(e)}};$l.emptyBuffer=Buffer.allocUnsafe(0);var nI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),La.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),La.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),La.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),La.Disposable.create(()=>this.stream.off("data",e))}},iI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),La.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),La.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),La.Disposable.create(()=>this.stream.off("end",e))}write(e,r){return new Promise((n,i)=>{let s=o=>{o==null?n():i(o)};typeof e=="string"?this.stream.write(e,r,s):this.stream.write(e,s)})}end(){this.stream.end()}},xge=Object.freeze({messageBuffer:Object.freeze({create:t=>new $l(t)}),applicationJson:Object.freeze({encoder:Object.freeze({name:"application/json",encode:(t,e)=>{try{return Promise.resolve(Buffer.from(JSON.stringify(t,void 0,0),e.charset))}catch(r){return Promise.reject(r)}}}),decoder:Object.freeze({name:"application/json",decode:(t,e)=>{try{return t instanceof Buffer?Promise.resolve(JSON.parse(t.toString(e.charset))):Promise.resolve(JSON.parse(new _ge.TextDecoder(e.charset).decode(t)))}catch(r){return Promise.reject(r)}}})}),stream:Object.freeze({asReadableStream:t=>new nI(t),asWritableStream:t=>new iI(t)}),console,timer:Object.freeze({setTimeout(t,e,...r){return setTimeout(t,e,...r)},clearTimeout(t){clearTimeout(t)},setImmediate(t,...e){return setImmediate(t,...e)},clearImmediate(t){clearImmediate(t)}})});function sI(){return xge}(function(t){function e(){ovt.default.install(xge)}t.install=e})(sI||(sI={}));oI.default=sI});var Bl=m(jr=>{"use strict";Object.defineProperty(jr,"__esModule",{value:!0});jr.stringArray=jr.array=jr.func=jr.error=jr.number=jr.string=jr.boolean=void 0;function uvt(t){return t===!0||t===!1}jr.boolean=uvt;function kge(t){return typeof t=="string"||t instanceof String}jr.string=kge;function lvt(t){return typeof t=="number"||t instanceof Number}jr.number=lvt;function cvt(t){return t instanceof Error}jr.error=cvt;function fvt(t){return typeof t=="function"}jr.func=fvt;function Ege(t){return Array.isArray(t)}jr.array=Ege;function dvt(t){return Ege(t)&&t.every(e=>kge(e))}jr.stringArray=dvt});var qI=m(Ee=>{"use strict";Object.defineProperty(Ee,"__esModule",{value:!0});Ee.isResponseMessage=Ee.isNotificationMessage=Ee.isRequestMessage=Ee.NotificationType9=Ee.NotificationType8=Ee.NotificationType7=Ee.NotificationType6=Ee.NotificationType5=Ee.NotificationType4=Ee.NotificationType3=Ee.NotificationType2=Ee.NotificationType1=Ee.NotificationType0=Ee.NotificationType=Ee.RequestType9=Ee.RequestType8=Ee.RequestType7=Ee.RequestType6=Ee.RequestType5=Ee.RequestType4=Ee.RequestType3=Ee.RequestType2=Ee.RequestType1=Ee.RequestType=Ee.RequestType0=Ee.AbstractMessageSignature=Ee.ParameterStructures=Ee.ResponseError=Ee.ErrorCodes=void 0;var Ia=Bl(),Cge;(function(t){t.ParseError=-32700,t.InvalidRequest=-32600,t.MethodNotFound=-32601,t.InvalidParams=-32602,t.InternalError=-32603,t.jsonrpcReservedErrorRangeStart=-32099,t.serverErrorStart=t.jsonrpcReservedErrorRangeStart,t.MessageWriteError=-32099,t.MessageReadError=-32098,t.ServerNotInitialized=-32002,t.UnknownErrorCode=-32001,t.jsonrpcReservedErrorRangeEnd=-32e3,t.serverErrorEnd=t.jsonrpcReservedErrorRangeEnd})(Cge=Ee.ErrorCodes||(Ee.ErrorCodes={}));var Op=class extends Error{constructor(e,r,n){super(r),this.code=Ia.number(e)?e:Cge.UnknownErrorCode,this.data=n,Object.setPrototypeOf(this,Op.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}};Ee.ResponseError=Op;var pr=class{constructor(e){this.kind=e}static is(e){return e===pr.auto||e===pr.byName||e===pr.byPosition}toString(){return this.kind}};Ee.ParameterStructures=pr;pr.auto=new pr("auto");pr.byPosition=new pr("byPosition");pr.byName=new pr("byName");var kt=class{constructor(e,r){this.method=e,this.numberOfParams=r}get parameterStructures(){return pr.auto}};Ee.AbstractMessageSignature=kt;var aI=class extends kt{constructor(e){super(e,0)}};Ee.RequestType0=aI;var uI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.RequestType=uI;var lI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.RequestType1=lI;var cI=class extends kt{constructor(e){super(e,2)}};Ee.RequestType2=cI;var fI=class extends kt{constructor(e){super(e,3)}};Ee.RequestType3=fI;var dI=class extends kt{constructor(e){super(e,4)}};Ee.RequestType4=dI;var pI=class extends kt{constructor(e){super(e,5)}};Ee.RequestType5=pI;var hI=class extends kt{constructor(e){super(e,6)}};Ee.RequestType6=hI;var gI=class extends kt{constructor(e){super(e,7)}};Ee.RequestType7=gI;var mI=class extends kt{constructor(e){super(e,8)}};Ee.RequestType8=mI;var yI=class extends kt{constructor(e){super(e,9)}};Ee.RequestType9=yI;var bI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.NotificationType=bI;var vI=class extends kt{constructor(e){super(e,0)}};Ee.NotificationType0=vI;var wI=class extends kt{constructor(e,r=pr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ee.NotificationType1=wI;var _I=class extends kt{constructor(e){super(e,2)}};Ee.NotificationType2=_I;var xI=class extends kt{constructor(e){super(e,3)}};Ee.NotificationType3=xI;var SI=class extends kt{constructor(e){super(e,4)}};Ee.NotificationType4=SI;var kI=class extends kt{constructor(e){super(e,5)}};Ee.NotificationType5=kI;var EI=class extends kt{constructor(e){super(e,6)}};Ee.NotificationType6=EI;var CI=class extends kt{constructor(e){super(e,7)}};Ee.NotificationType7=CI;var DI=class extends kt{constructor(e){super(e,8)}};Ee.NotificationType8=DI;var OI=class extends kt{constructor(e){super(e,9)}};Ee.NotificationType9=OI;function pvt(t){let e=t;return e&&Ia.string(e.method)&&(Ia.string(e.id)||Ia.number(e.id))}Ee.isRequestMessage=pvt;function hvt(t){let e=t;return e&&Ia.string(e.method)&&t.id===void 0}Ee.isNotificationMessage=hvt;function gvt(t){let e=t;return e&&(e.result!==void 0||!!e.error)&&(Ia.string(e.id)||Ia.number(e.id)||e.id===null)}Ee.isResponseMessage=gvt});var zl=m(Na=>{"use strict";Object.defineProperty(Na,"__esModule",{value:!0});Na.Emitter=Na.Event=void 0;var mvt=bs(),yvt;(function(t){let e={dispose(){}};t.None=function(){return e}})(yvt=Na.Event||(Na.Event={}));var RI=class{add(e,r=null,n){this._callbacks||(this._callbacks=[],this._contexts=[]),this._callbacks.push(e),this._contexts.push(r),Array.isArray(n)&&n.push({dispose:()=>this.remove(e,r)})}remove(e,r=null){if(!this._callbacks)return;let n=!1;for(let i=0,s=this._callbacks.length;i<s;i++)if(this._callbacks[i]===e)if(this._contexts[i]===r){this._callbacks.splice(i,1),this._contexts.splice(i,1);return}else n=!0;if(n)throw new Error("When adding a listener with a context, you should remove it with the same context")}invoke(...e){if(!this._callbacks)return[];let r=[],n=this._callbacks.slice(0),i=this._contexts.slice(0);for(let s=0,o=n.length;s<o;s++)try{r.push(n[s].apply(i[s],e))}catch(a){mvt.default().console.error(a)}return r}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},Wl=class{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,r,n)=>{this._callbacks||(this._callbacks=new RI),this._options&&this._options.onFirstListenerAdd&&this._callbacks.isEmpty()&&this._options.onFirstListenerAdd(this),this._callbacks.add(e,r);let i={dispose:()=>{this._callbacks&&(this._callbacks.remove(e,r),i.dispose=Wl._noop,this._options&&this._options.onLastListenerRemove&&this._callbacks.isEmpty()&&this._options.onLastListenerRemove(this))}};return Array.isArray(n)&&n.push(i),i}),this._event}fire(e){this._callbacks&&this._callbacks.invoke.call(this._callbacks,e)}dispose(){this._callbacks&&(this._callbacks.dispose(),this._callbacks=void 0)}};Na.Emitter=Wl;Wl._noop=function(){}});var MI=m(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.CancellationTokenSource=ja.CancellationToken=void 0;var Dge=bs(),bvt=Bl(),AI=zl(),PI;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:AI.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:AI.Event.None});function e(r){let n=r;return n&&(n===t.None||n===t.Cancelled||bvt.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}t.is=e})(PI=ja.CancellationToken||(ja.CancellationToken={}));var vvt=Object.freeze(function(t,e){let r=Dge.default().timer.setTimeout(t.bind(e),0);return{dispose(){Dge.default().timer.clearTimeout(r)}}}),Bk=class{constructor(){this._isCancelled=!1}cancel(){this._isCancelled||(this._isCancelled=!0,this._emitter&&(this._emitter.fire(void 0),this.dispose()))}get isCancellationRequested(){return this._isCancelled}get onCancellationRequested(){return this._isCancelled?vvt:(this._emitter||(this._emitter=new AI.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},TI=class{get token(){return this._token||(this._token=new Bk),this._token}cancel(){this._token?this._token.cancel():this._token=PI.Cancelled}dispose(){this._token?this._token instanceof Bk&&this._token.dispose():this._token=PI.None}};ja.CancellationTokenSource=TI});var Oge=m(vs=>{"use strict";Object.defineProperty(vs,"__esModule",{value:!0});vs.ReadableStreamMessageReader=vs.AbstractMessageReader=vs.MessageReader=void 0;var Wk=bs(),Ul=Bl(),FI=zl(),wvt;(function(t){function e(r){let n=r;return n&&Ul.func(n.listen)&&Ul.func(n.dispose)&&Ul.func(n.onError)&&Ul.func(n.onClose)&&Ul.func(n.onPartialMessage)}t.is=e})(wvt=vs.MessageReader||(vs.MessageReader={}));var zk=class{constructor(){this.errorEmitter=new FI.Emitter,this.closeEmitter=new FI.Emitter,this.partialMessageEmitter=new FI.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e){this.errorEmitter.fire(this.asError(e))}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}get onPartialMessage(){return this.partialMessageEmitter.event}firePartialMessage(e){this.partialMessageEmitter.fire(e)}asError(e){return e instanceof Error?e:new Error(`Reader received error. Reason: ${Ul.string(e.message)?e.message:"unknown"}`)}};vs.AbstractMessageReader=zk;var LI;(function(t){function e(r){var n;let i,s,o,a=new Map,u,l=new Map;if(r===void 0||typeof r=="string")i=r??"utf-8";else{if(i=(n=r.charset)!==null&&n!==void 0?n:"utf-8",r.contentDecoder!==void 0&&(o=r.contentDecoder,a.set(o.name,o)),r.contentDecoders!==void 0)for(let c of r.contentDecoders)a.set(c.name,c);if(r.contentTypeDecoder!==void 0&&(u=r.contentTypeDecoder,l.set(u.name,u)),r.contentTypeDecoders!==void 0)for(let c of r.contentTypeDecoders)l.set(c.name,c)}return u===void 0&&(u=Wk.default().applicationJson.decoder,l.set(u.name,u)),{charset:i,contentDecoder:o,contentDecoders:a,contentTypeDecoder:u,contentTypeDecoders:l}}t.fromOptions=e})(LI||(LI={}));var II=class extends zk{constructor(e,r){super(),this.readable=e,this.options=LI.fromOptions(r),this.buffer=Wk.default().messageBuffer.create(this.options.charset),this._partialMessageTimeout=1e4,this.nextMessageLength=-1,this.messageToken=0}set partialMessageTimeout(e){this._partialMessageTimeout=e}get partialMessageTimeout(){return this._partialMessageTimeout}listen(e){this.nextMessageLength=-1,this.messageToken=0,this.partialMessageTimer=void 0,this.callback=e;let r=this.readable.onData(n=>{this.onData(n)});return this.readable.onError(n=>this.fireError(n)),this.readable.onClose(()=>this.fireClose()),r}onData(e){for(this.buffer.append(e);;){if(this.nextMessageLength===-1){let i=this.buffer.tryReadHeaders();if(!i)return;let s=i.get("Content-Length");if(!s)throw new Error("Header must provide a Content-Length property.");let o=parseInt(s);if(isNaN(o))throw new Error("Content-Length value must be a number.");this.nextMessageLength=o}let r=this.buffer.tryReadBody(this.nextMessageLength);if(r===void 0){this.setPartialMessageTimer();return}this.clearPartialMessageTimer(),this.nextMessageLength=-1;let n;this.options.contentDecoder!==void 0?n=this.options.contentDecoder.decode(r):n=Promise.resolve(r),n.then(i=>{this.options.contentTypeDecoder.decode(i,this.options).then(s=>{this.callback(s)},s=>{this.fireError(s)})},i=>{this.fireError(i)})}}clearPartialMessageTimer(){this.partialMessageTimer&&(Wk.default().timer.clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=Wk.default().timer.setTimeout((e,r)=>{this.partialMessageTimer=void 0,e===this.messageToken&&(this.firePartialMessage({messageToken:e,waitingTime:r}),this.setPartialMessageTimer())},this._partialMessageTimeout,this.messageToken,this._partialMessageTimeout))}};vs.ReadableStreamMessageReader=II});var qge=m(Uk=>{"use strict";Object.defineProperty(Uk,"__esModule",{value:!0});Uk.Semaphore=void 0;var _vt=bs(),NI=class{constructor(e=1){if(e<=0)throw new Error("Capacity must be greater than 0");this._capacity=e,this._active=0,this._waiting=[]}lock(e){return new Promise((r,n)=>{this._waiting.push({thunk:e,resolve:r,reject:n}),this.runNext()})}get active(){return this._active}runNext(){this._waiting.length===0||this._active===this._capacity||_vt.default().timer.setImmediate(()=>this.doRunNext())}doRunNext(){if(this._waiting.length===0||this._active===this._capacity)return;let e=this._waiting.shift();if(this._active++,this._active>this._capacity)throw new Error("To many thunks active");try{let r=e.thunk();r instanceof Promise?r.then(n=>{this._active--,e.resolve(n),this.runNext()},n=>{this._active--,e.reject(n),this.runNext()}):(this._active--,e.resolve(r),this.runNext())}catch(r){this._active--,e.reject(r),this.runNext()}}};Uk.Semaphore=NI});var Tge=m(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.WriteableStreamMessageWriter=ws.AbstractMessageWriter=ws.MessageWriter=void 0;var Rge=bs(),qp=Bl(),xvt=qge(),Age=zl(),Svt="Content-Length: ",Pge=`\r
|
|
396
|
+
`,kvt;(function(t){function e(r){let n=r;return n&&qp.func(n.dispose)&&qp.func(n.onClose)&&qp.func(n.onError)&&qp.func(n.write)}t.is=e})(kvt=ws.MessageWriter||(ws.MessageWriter={}));var Hk=class{constructor(){this.errorEmitter=new Age.Emitter,this.closeEmitter=new Age.Emitter}dispose(){this.errorEmitter.dispose(),this.closeEmitter.dispose()}get onError(){return this.errorEmitter.event}fireError(e,r,n){this.errorEmitter.fire([this.asError(e),r,n])}get onClose(){return this.closeEmitter.event}fireClose(){this.closeEmitter.fire(void 0)}asError(e){return e instanceof Error?e:new Error(`Writer received error. Reason: ${qp.string(e.message)?e.message:"unknown"}`)}};ws.AbstractMessageWriter=Hk;var jI;(function(t){function e(r){var n,i;return r===void 0||typeof r=="string"?{charset:r??"utf-8",contentTypeEncoder:Rge.default().applicationJson.encoder}:{charset:(n=r.charset)!==null&&n!==void 0?n:"utf-8",contentEncoder:r.contentEncoder,contentTypeEncoder:(i=r.contentTypeEncoder)!==null&&i!==void 0?i:Rge.default().applicationJson.encoder}}t.fromOptions=e})(jI||(jI={}));var $I=class extends Hk{constructor(e,r){super(),this.writable=e,this.options=jI.fromOptions(r),this.errorCount=0,this.writeSemaphore=new xvt.Semaphore(1),this.writable.onError(n=>this.fireError(n)),this.writable.onClose(()=>this.fireClose())}async write(e){return this.writeSemaphore.lock(async()=>this.options.contentTypeEncoder.encode(e,this.options).then(n=>this.options.contentEncoder!==void 0?this.options.contentEncoder.encode(n):n).then(n=>{let i=[];return i.push(Svt,n.byteLength.toString(),Pge),i.push(Pge),this.doWrite(e,i,n)},n=>{throw this.fireError(n),n}))}async doWrite(e,r,n){try{return await this.writable.write(r.join(""),"ascii"),this.writable.write(n)}catch(i){return this.handleError(i,e),Promise.reject(i)}}handleError(e,r){this.errorCount++,this.fireError(e,r,this.errorCount)}end(){this.writable.end()}};ws.WriteableStreamMessageWriter=$I});var Mge=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.LRUCache=_s.LinkedMap=_s.Touch=void 0;var Yr;(function(t){t.None=0,t.First=1,t.AsOld=t.First,t.Last=2,t.AsNew=t.Last})(Yr=_s.Touch||(_s.Touch={}));var Vk=class{constructor(){this[Symbol.toStringTag]="LinkedMap",this._map=new Map,this._head=void 0,this._tail=void 0,this._size=0,this._state=0}clear(){this._map.clear(),this._head=void 0,this._tail=void 0,this._size=0,this._state++}isEmpty(){return!this._head&&!this._tail}get size(){return this._size}get first(){var e;return(e=this._head)===null||e===void 0?void 0:e.value}get last(){var e;return(e=this._tail)===null||e===void 0?void 0:e.value}has(e){return this._map.has(e)}get(e,r=Yr.None){let n=this._map.get(e);if(n)return r!==Yr.None&&this.touch(n,r),n.value}set(e,r,n=Yr.None){let i=this._map.get(e);if(i)i.value=r,n!==Yr.None&&this.touch(i,n);else{switch(i={key:e,value:r,next:void 0,previous:void 0},n){case Yr.None:this.addItemLast(i);break;case Yr.First:this.addItemFirst(i);break;case Yr.Last:this.addItemLast(i);break;default:this.addItemLast(i);break}this._map.set(e,i),this._size++}return this}delete(e){return!!this.remove(e)}remove(e){let r=this._map.get(e);if(r)return this._map.delete(e),this.removeItem(r),this._size--,r.value}shift(){if(!this._head&&!this._tail)return;if(!this._head||!this._tail)throw new Error("Invalid list");let e=this._head;return this._map.delete(e.key),this.removeItem(e),this._size--,e.value}forEach(e,r){let n=this._state,i=this._head;for(;i;){if(r?e.bind(r)(i.value,i.key,this):e(i.value,i.key,this),this._state!==n)throw new Error("LinkedMap got modified during iteration.");i=i.next}}keys(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.key,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}values(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:n.value,done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}entries(){let e=this,r=this._state,n=this._head,i={[Symbol.iterator](){return i},next(){if(e._state!==r)throw new Error("LinkedMap got modified during iteration.");if(n){let s={value:[n.key,n.value],done:!1};return n=n.next,s}else return{value:void 0,done:!0}}};return i}[Symbol.iterator](){return this.entries()}trimOld(e){if(e>=this.size)return;if(e===0){this.clear();return}let r=this._head,n=this.size;for(;r&&n>e;)this._map.delete(r.key),r=r.next,n--;this._head=r,this._size=n,r&&(r.previous=void 0),this._state++}addItemFirst(e){if(!this._head&&!this._tail)this._tail=e;else if(this._head)e.next=this._head,this._head.previous=e;else throw new Error("Invalid list");this._head=e,this._state++}addItemLast(e){if(!this._head&&!this._tail)this._head=e;else if(this._tail)e.previous=this._tail,this._tail.next=e;else throw new Error("Invalid list");this._tail=e,this._state++}removeItem(e){if(e===this._head&&e===this._tail)this._head=void 0,this._tail=void 0;else if(e===this._head){if(!e.next)throw new Error("Invalid list");e.next.previous=void 0,this._head=e.next}else if(e===this._tail){if(!e.previous)throw new Error("Invalid list");e.previous.next=void 0,this._tail=e.previous}else{let r=e.next,n=e.previous;if(!r||!n)throw new Error("Invalid list");r.previous=n,n.next=r}e.next=void 0,e.previous=void 0,this._state++}touch(e,r){if(!this._head||!this._tail)throw new Error("Invalid list");if(!(r!==Yr.First&&r!==Yr.Last)){if(r===Yr.First){if(e===this._head)return;let n=e.next,i=e.previous;e===this._tail?(i.next=void 0,this._tail=i):(n.previous=i,i.next=n),e.previous=void 0,e.next=this._head,this._head.previous=e,this._head=e,this._state++}else if(r===Yr.Last){if(e===this._tail)return;let n=e.next,i=e.previous;e===this._head?(n.previous=void 0,this._head=n):(n.previous=i,i.next=n),e.next=void 0,e.previous=this._tail,this._tail.next=e,this._tail=e,this._state++}}}toJSON(){let e=[];return this.forEach((r,n)=>{e.push([n,r])}),e}fromJSON(e){this.clear();for(let[r,n]of e)this.set(r,n)}};_s.LinkedMap=Vk;var BI=class extends Vk{constructor(e,r=1){super(),this._limit=e,this._ratio=Math.min(Math.max(0,r),1)}get limit(){return this._limit}set limit(e){this._limit=e,this.checkTrim()}get ratio(){return this._ratio}set ratio(e){this._ratio=Math.min(Math.max(0,e),1),this.checkTrim()}get(e,r=Yr.AsNew){return super.get(e,r)}peek(e){return super.get(e,Yr.None)}set(e,r){return super.set(e,r,Yr.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};_s.LRUCache=BI});var jge=m(Be=>{"use strict";Object.defineProperty(Be,"__esModule",{value:!0});Be.createMessageConnection=Be.ConnectionOptions=Be.CancellationStrategy=Be.CancellationSenderStrategy=Be.CancellationReceiverStrategy=Be.ConnectionStrategy=Be.ConnectionError=Be.ConnectionErrors=Be.LogTraceNotification=Be.SetTraceNotification=Be.TraceFormat=Be.Trace=Be.NullLogger=Be.ProgressType=void 0;var Fge=bs(),hr=Bl(),Ie=qI(),Lge=Mge(),Rp=zl(),WI=MI(),Ap;(function(t){t.type=new Ie.NotificationType("$/cancelRequest")})(Ap||(Ap={}));var Kk;(function(t){t.type=new Ie.NotificationType("$/progress")})(Kk||(Kk={}));var zI=class{constructor(){}};Be.ProgressType=zI;var UI;(function(t){function e(r){return hr.func(r)}t.is=e})(UI||(UI={}));Be.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var Zt;(function(t){t[t.Off=0]="Off",t[t.Messages=1]="Messages",t[t.Verbose=2]="Verbose"})(Zt=Be.Trace||(Be.Trace={}));(function(t){function e(n){if(!hr.string(n))return t.Off;switch(n=n.toLowerCase(),n){case"off":return t.Off;case"messages":return t.Messages;case"verbose":return t.Verbose;default:return t.Off}}t.fromString=e;function r(n){switch(n){case t.Off:return"off";case t.Messages:return"messages";case t.Verbose:return"verbose";default:return"off"}}t.toString=r})(Zt=Be.Trace||(Be.Trace={}));var fi;(function(t){t.Text="text",t.JSON="json"})(fi=Be.TraceFormat||(Be.TraceFormat={}));(function(t){function e(r){return r=r.toLowerCase(),r==="json"?t.JSON:t.Text}t.fromString=e})(fi=Be.TraceFormat||(Be.TraceFormat={}));var Ige;(function(t){t.type=new Ie.NotificationType("$/setTrace")})(Ige=Be.SetTraceNotification||(Be.SetTraceNotification={}));var HI;(function(t){t.type=new Ie.NotificationType("$/logTrace")})(HI=Be.LogTraceNotification||(Be.LogTraceNotification={}));var Gk;(function(t){t[t.Closed=1]="Closed",t[t.Disposed=2]="Disposed",t[t.AlreadyListening=3]="AlreadyListening"})(Gk=Be.ConnectionErrors||(Be.ConnectionErrors={}));var co=class extends Error{constructor(e,r){super(r),this.code=e,Object.setPrototypeOf(this,co.prototype)}};Be.ConnectionError=co;var Nge;(function(t){function e(r){let n=r;return n&&hr.func(n.cancelUndispatched)}t.is=e})(Nge=Be.ConnectionStrategy||(Be.ConnectionStrategy={}));var VI;(function(t){t.Message=Object.freeze({createCancellationTokenSource(r){return new WI.CancellationTokenSource}});function e(r){let n=r;return n&&hr.func(n.createCancellationTokenSource)}t.is=e})(VI=Be.CancellationReceiverStrategy||(Be.CancellationReceiverStrategy={}));var GI;(function(t){t.Message=Object.freeze({sendCancellation(r,n){r.sendNotification(Ap.type,{id:n})},cleanup(r){}});function e(r){let n=r;return n&&hr.func(n.sendCancellation)&&hr.func(n.cleanup)}t.is=e})(GI=Be.CancellationSenderStrategy||(Be.CancellationSenderStrategy={}));var KI;(function(t){t.Message=Object.freeze({receiver:VI.Message,sender:GI.Message});function e(r){let n=r;return n&&VI.is(n.receiver)&&GI.is(n.sender)}t.is=e})(KI=Be.CancellationStrategy||(Be.CancellationStrategy={}));var Evt;(function(t){function e(r){let n=r;return n&&(KI.is(n.cancellationStrategy)||Nge.is(n.connectionStrategy))}t.is=e})(Evt=Be.ConnectionOptions||(Be.ConnectionOptions={}));var di;(function(t){t[t.New=1]="New",t[t.Listening=2]="Listening",t[t.Closed=3]="Closed",t[t.Disposed=4]="Disposed"})(di||(di={}));function Cvt(t,e,r,n){let i=r!==void 0?r:Be.NullLogger,s=0,o=0,a=0,u="2.0",l,c=Object.create(null),f,d=Object.create(null),p=new Map,h,y=new Lge.LinkedMap,b=Object.create(null),g=Object.create(null),v=Zt.Off,w=fi.Text,_,x=di.New,C=new Rp.Emitter,M=new Rp.Emitter,P=new Rp.Emitter,R=new Rp.Emitter,z=new Rp.Emitter,$=n&&n.cancellationStrategy?n.cancellationStrategy:KI.Message;function ee(L){if(L===null)throw new Error("Can't send requests with id null since the response can't be correlated.");return"req-"+L.toString()}function G(L){return L===null?"res-unknown-"+(++a).toString():"res-"+L.toString()}function ae(){return"not-"+(++o).toString()}function F(L,q){Ie.isRequestMessage(q)?L.set(ee(q.id),q):Ie.isResponseMessage(q)?L.set(G(q.id),q):L.set(ae(),q)}function T(L){}function ue(){return x===di.Listening}function re(){return x===di.Closed}function fe(){return x===di.Disposed}function oe(){(x===di.New||x===di.Listening)&&(x=di.Closed,M.fire(void 0))}function ie(L){C.fire([L,void 0,void 0])}function pe(L){C.fire(L)}t.onClose(oe),t.onError(ie),e.onClose(oe),e.onError(pe);function be(){h||y.size===0||(h=Fge.default().timer.setImmediate(()=>{h=void 0,Ce()}))}function Ce(){if(y.size===0)return;let L=y.shift();try{Ie.isRequestMessage(L)?ve(L):Ie.isNotificationMessage(L)?dt(L):Ie.isResponseMessage(L)?Ct(L):de(L)}finally{be()}}let Qe=L=>{try{if(Ie.isNotificationMessage(L)&&L.method===Ap.type.method){let q=ee(L.params.id),E=y.get(q);if(Ie.isRequestMessage(E)){let A=n?.connectionStrategy,W=A&&A.cancelUndispatched?A.cancelUndispatched(E,T):void 0;if(W&&(W.error!==void 0||W.result!==void 0)){y.delete(q),W.id=E.id,Fe(W,L.method,Date.now()),e.write(W);return}}}F(y,L)}finally{be()}};function ve(L){if(fe())return;function q(Y,ye,De){let He={jsonrpc:u,id:L.id};Y instanceof Ie.ResponseError?He.error=Y.toJson():He.result=Y===void 0?null:Y,Fe(He,ye,De),e.write(He)}function E(Y,ye,De){let He={jsonrpc:u,id:L.id,error:Y.toJson()};Fe(He,ye,De),e.write(He)}function A(Y,ye,De){Y===void 0&&(Y=null);let He={jsonrpc:u,id:L.id,result:Y};Fe(He,ye,De),e.write(He)}ot(L);let W=c[L.method],D,k;W&&(D=W.type,k=W.handler);let H=Date.now();if(k||l){let Y=String(L.id),ye=$.receiver.createCancellationTokenSource(Y);g[Y]=ye;try{let De;if(k)if(L.params===void 0){if(D!==void 0&&D.numberOfParams!==0){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${L.method} defines ${D.numberOfParams} params but recevied none.`),L.method,H);return}De=k(ye.token)}else if(Array.isArray(L.params)){if(D!==void 0&&D.parameterStructures===Ie.ParameterStructures.byName){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${L.method} defines parameters by name but received parameters by position`),L.method,H);return}De=k(...L.params,ye.token)}else{if(D!==void 0&&D.parameterStructures===Ie.ParameterStructures.byPosition){E(new Ie.ResponseError(Ie.ErrorCodes.InvalidParams,`Request ${L.method} defines parameters by position but received parameters by name`),L.method,H);return}De=k(L.params,ye.token)}else l&&(De=l(L.method,L.params,ye.token));let He=De;De?He.then?He.then(bt=>{delete g[Y],q(bt,L.method,H)},bt=>{delete g[Y],bt instanceof Ie.ResponseError?E(bt,L.method,H):bt&&hr.string(bt.message)?E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${L.method} failed with message: ${bt.message}`),L.method,H):E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${L.method} failed unexpectedly without providing any details.`),L.method,H)}):(delete g[Y],q(De,L.method,H)):(delete g[Y],A(De,L.method,H))}catch(De){delete g[Y],De instanceof Ie.ResponseError?q(De,L.method,H):De&&hr.string(De.message)?E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${L.method} failed with message: ${De.message}`),L.method,H):E(new Ie.ResponseError(Ie.ErrorCodes.InternalError,`Request ${L.method} failed unexpectedly without providing any details.`),L.method,H)}}else E(new Ie.ResponseError(Ie.ErrorCodes.MethodNotFound,`Unhandled method ${L.method}`),L.method,H)}function Ct(L){if(!fe())if(L.id===null)L.error?i.error(`Received response message without id: Error is:
|
|
397
|
+
${JSON.stringify(L.error,void 0,4)}`):i.error("Received response message without id. No further error information provided.");else{let q=String(L.id),E=b[q];if($t(L,E),E){delete b[q];try{if(L.error){let A=L.error;E.reject(new Ie.ResponseError(A.code,A.message,A.data))}else if(L.result!==void 0)E.resolve(L.result);else throw new Error("Should never happen.")}catch(A){A.message?i.error(`Response handler '${E.method}' failed with message: ${A.message}`):i.error(`Response handler '${E.method}' failed unexpectedly.`)}}}}function dt(L){if(fe())return;let q,E;if(L.method===Ap.type.method)E=A=>{let W=A.id,D=g[String(W)];D&&D.cancel()};else{let A=d[L.method];A&&(E=A.handler,q=A.type)}if(E||f)try{zt(L),E?L.params===void 0?(q!==void 0&&q.numberOfParams!==0&&q.parameterStructures!==Ie.ParameterStructures.byName&&i.error(`Notification ${L.method} defines ${q.numberOfParams} params but recevied none.`),E()):Array.isArray(L.params)?(q!==void 0&&(q.parameterStructures===Ie.ParameterStructures.byName&&i.error(`Notification ${L.method} defines parameters by name but received parameters by position`),q.numberOfParams!==L.params.length&&i.error(`Notification ${L.method} defines ${q.numberOfParams} params but received ${L.params.length} argumennts`)),E(...L.params)):(q!==void 0&&q.parameterStructures===Ie.ParameterStructures.byPosition&&i.error(`Notification ${L.method} defines parameters by position but received parameters by name`),E(L.params)):f&&f(L.method,L.params)}catch(A){A.message?i.error(`Notification handler '${L.method}' failed with message: ${A.message}`):i.error(`Notification handler '${L.method}' failed unexpectedly.`)}else P.fire(L)}function de(L){if(!L){i.error("Received empty message.");return}i.error(`Received message which is neither a response nor a notification message:
|
|
398
|
+
${JSON.stringify(L,null,4)}`);let q=L;if(hr.string(q.id)||hr.number(q.id)){let E=String(q.id),A=b[E];A&&A.reject(new Error("The received response has neither a result nor an error property."))}}function le(L){if(!(v===Zt.Off||!_))if(w===fi.Text){let q;v===Zt.Verbose&&L.params&&(q=`Params: ${JSON.stringify(L.params,null,4)}
|
|
399
|
+
|
|
400
|
+
`),_.log(`Sending request '${L.method} - (${L.id})'.`,q)}else qn("send-request",L)}function ne(L){if(!(v===Zt.Off||!_))if(w===fi.Text){let q;v===Zt.Verbose&&(L.params?q=`Params: ${JSON.stringify(L.params,null,4)}
|
|
401
|
+
|
|
402
|
+
`:q=`No parameters provided.
|
|
403
|
+
|
|
404
|
+
`),_.log(`Sending notification '${L.method}'.`,q)}else qn("send-notification",L)}function Fe(L,q,E){if(!(v===Zt.Off||!_))if(w===fi.Text){let A;v===Zt.Verbose&&(L.error&&L.error.data?A=`Error data: ${JSON.stringify(L.error.data,null,4)}
|
|
405
|
+
|
|
406
|
+
`:L.result?A=`Result: ${JSON.stringify(L.result,null,4)}
|
|
407
|
+
|
|
408
|
+
`:L.error===void 0&&(A=`No result returned.
|
|
409
|
+
|
|
410
|
+
`)),_.log(`Sending response '${q} - (${L.id})'. Processing request took ${Date.now()-E}ms`,A)}else qn("send-response",L)}function ot(L){if(!(v===Zt.Off||!_))if(w===fi.Text){let q;v===Zt.Verbose&&L.params&&(q=`Params: ${JSON.stringify(L.params,null,4)}
|
|
411
|
+
|
|
412
|
+
`),_.log(`Received request '${L.method} - (${L.id})'.`,q)}else qn("receive-request",L)}function zt(L){if(!(v===Zt.Off||!_||L.method===HI.type.method))if(w===fi.Text){let q;v===Zt.Verbose&&(L.params?q=`Params: ${JSON.stringify(L.params,null,4)}
|
|
413
|
+
|
|
414
|
+
`:q=`No parameters provided.
|
|
415
|
+
|
|
416
|
+
`),_.log(`Received notification '${L.method}'.`,q)}else qn("receive-notification",L)}function $t(L,q){if(!(v===Zt.Off||!_))if(w===fi.Text){let E;if(v===Zt.Verbose&&(L.error&&L.error.data?E=`Error data: ${JSON.stringify(L.error.data,null,4)}
|
|
417
|
+
|
|
418
|
+
`:L.result?E=`Result: ${JSON.stringify(L.result,null,4)}
|
|
419
|
+
|
|
420
|
+
`:L.error===void 0&&(E=`No result returned.
|
|
421
|
+
|
|
422
|
+
`)),q){let A=L.error?` Request failed: ${L.error.message} (${L.error.code}).`:"";_.log(`Received response '${q.method} - (${L.id})' in ${Date.now()-q.timerStart}ms.${A}`,E)}else _.log(`Received response ${L.id} without active response promise.`,E)}else qn("receive-response",L)}function qn(L,q){if(!_||v===Zt.Off)return;let E={isLSPMessage:!0,type:L,message:q,timestamp:Date.now()};_.log(E)}function Rn(){if(re())throw new co(Gk.Closed,"Connection is closed.");if(fe())throw new co(Gk.Disposed,"Connection is disposed.")}function WE(){if(ue())throw new co(Gk.AlreadyListening,"Connection is already listening")}function zE(){if(!ue())throw new Error("Call listen() first.")}function So(L){return L===void 0?null:L}function ah(L){if(L!==null)return L}function uh(L){return L!=null&&!Array.isArray(L)&&typeof L=="object"}function ec(L,q){switch(L){case Ie.ParameterStructures.auto:return uh(q)?ah(q):[So(q)];case Ie.ParameterStructures.byName:if(!uh(q))throw new Error("Recevied parameters by name but param is not an object literal.");return ah(q);case Ie.ParameterStructures.byPosition:return[So(q)];default:throw new Error(`Unknown parameter structure ${L.toString()}`)}}function lh(L,q){let E,A=L.numberOfParams;switch(A){case 0:E=void 0;break;case 1:E=ec(L.parameterStructures,q[0]);break;default:E=[];for(let W=0;W<q.length&&W<A;W++)E.push(So(q[W]));if(q.length<A)for(let W=q.length;W<A;W++)E.push(null);break}return E}let Es={sendNotification:(L,...q)=>{Rn();let E,A;if(hr.string(L)){E=L;let D=q[0],k=0,H=Ie.ParameterStructures.auto;Ie.ParameterStructures.is(D)&&(k=1,H=D);let Y=q.length,ye=Y-k;switch(ye){case 0:A=void 0;break;case 1:A=ec(H,q[k]);break;default:if(H===Ie.ParameterStructures.byName)throw new Error(`Recevied ${ye} parameters for 'by Name' notification parameter structure.`);A=q.slice(k,Y).map(De=>So(De));break}}else{let D=q;E=L.method,A=lh(L,D)}let W={jsonrpc:u,method:E,params:A};ne(W),e.write(W)},onNotification:(L,q)=>{Rn();let E;return hr.func(L)?f=L:q&&(hr.string(L)?(E=L,d[L]={type:void 0,handler:q}):(E=L.method,d[L.method]={type:L,handler:q})),{dispose:()=>{E!==void 0?delete d[E]:f=void 0}}},onProgress:(L,q,E)=>{if(p.has(q))throw new Error(`Progress handler for token ${q} already registered`);return p.set(q,E),{dispose:()=>{p.delete(q)}}},sendProgress:(L,q,E)=>{Es.sendNotification(Kk.type,{token:q,value:E})},onUnhandledProgress:R.event,sendRequest:(L,...q)=>{Rn(),zE();let E,A,W;if(hr.string(L)){E=L;let Y=q[0],ye=q[q.length-1],De=0,He=Ie.ParameterStructures.auto;Ie.ParameterStructures.is(Y)&&(De=1,He=Y);let bt=q.length;WI.CancellationToken.is(ye)&&(bt=bt-1,W=ye);let tr=bt-De;switch(tr){case 0:A=void 0;break;case 1:A=ec(He,q[De]);break;default:if(He===Ie.ParameterStructures.byName)throw new Error(`Recevied ${tr} parameters for 'by Name' request parameter structure.`);A=q.slice(De,bt).map(sr=>So(sr));break}}else{let Y=q;E=L.method,A=lh(L,Y);let ye=L.numberOfParams;W=WI.CancellationToken.is(Y[ye])?Y[ye]:void 0}let D=s++,k;return W&&(k=W.onCancellationRequested(()=>{$.sender.sendCancellation(Es,D)})),new Promise((Y,ye)=>{let De={jsonrpc:u,id:D,method:E,params:A},He=sr=>{Y(sr),$.sender.cleanup(D),k?.dispose()},bt=sr=>{ye(sr),$.sender.cleanup(D),k?.dispose()},tr={method:E,timerStart:Date.now(),resolve:He,reject:bt};le(De);try{e.write(De)}catch(sr){tr.reject(new Ie.ResponseError(Ie.ErrorCodes.MessageWriteError,sr.message?sr.message:"Unknown reason")),tr=null}tr&&(b[String(D)]=tr)})},onRequest:(L,q)=>{Rn();let E=null;return UI.is(L)?(E=void 0,l=L):hr.string(L)?(E=null,q!==void 0&&(E=L,c[L]={handler:q,type:void 0})):q!==void 0&&(E=L.method,c[L.method]={type:L,handler:q}),{dispose:()=>{E!==null&&(E!==void 0?delete c[E]:l=void 0)}}},trace:(L,q,E)=>{let A=!1,W=fi.Text;E!==void 0&&(hr.boolean(E)?A=E:(A=E.sendNotification||!1,W=E.traceFormat||fi.Text)),v=L,w=W,v===Zt.Off?_=void 0:_=q,A&&!re()&&!fe()&&Es.sendNotification(Ige.type,{value:Zt.toString(L)})},onError:C.event,onClose:M.event,onUnhandledNotification:P.event,onDispose:z.event,end:()=>{e.end()},dispose:()=>{if(fe())return;x=di.Disposed,z.fire(void 0);let L=new Error("Connection got disposed.");Object.keys(b).forEach(q=>{b[q].reject(L)}),b=Object.create(null),g=Object.create(null),y=new Lge.LinkedMap,hr.func(e.dispose)&&e.dispose(),hr.func(t.dispose)&&t.dispose()},listen:()=>{Rn(),WE(),x=di.Listening,t.listen(Qe)},inspect:()=>{Fge.default().console.log("inspect")}};return Es.onNotification(HI.type,L=>{v===Zt.Off||!_||_.log(L.message,v===Zt.Verbose?L.verbose:void 0)}),Es.onNotification(Kk.type,L=>{let q=p.get(L.token);q?q(L.value):R.fire(L)}),Es}Be.createMessageConnection=Cvt});var JI=m(se=>{"use strict";Object.defineProperty(se,"__esModule",{value:!0});se.CancellationSenderStrategy=se.CancellationReceiverStrategy=se.ConnectionError=se.ConnectionErrors=se.LogTraceNotification=se.SetTraceNotification=se.TraceFormat=se.Trace=se.ProgressType=se.createMessageConnection=se.NullLogger=se.ConnectionOptions=se.ConnectionStrategy=se.WriteableStreamMessageWriter=se.AbstractMessageWriter=se.MessageWriter=se.ReadableStreamMessageReader=se.AbstractMessageReader=se.MessageReader=se.CancellationToken=se.CancellationTokenSource=se.Emitter=se.Event=se.Disposable=se.ParameterStructures=se.NotificationType9=se.NotificationType8=se.NotificationType7=se.NotificationType6=se.NotificationType5=se.NotificationType4=se.NotificationType3=se.NotificationType2=se.NotificationType1=se.NotificationType0=se.NotificationType=se.ErrorCodes=se.ResponseError=se.RequestType9=se.RequestType8=se.RequestType7=se.RequestType6=se.RequestType5=se.RequestType4=se.RequestType3=se.RequestType2=se.RequestType1=se.RequestType0=se.RequestType=se.RAL=void 0;se.CancellationStrategy=void 0;var Et=qI();Object.defineProperty(se,"RequestType",{enumerable:!0,get:function(){return Et.RequestType}});Object.defineProperty(se,"RequestType0",{enumerable:!0,get:function(){return Et.RequestType0}});Object.defineProperty(se,"RequestType1",{enumerable:!0,get:function(){return Et.RequestType1}});Object.defineProperty(se,"RequestType2",{enumerable:!0,get:function(){return Et.RequestType2}});Object.defineProperty(se,"RequestType3",{enumerable:!0,get:function(){return Et.RequestType3}});Object.defineProperty(se,"RequestType4",{enumerable:!0,get:function(){return Et.RequestType4}});Object.defineProperty(se,"RequestType5",{enumerable:!0,get:function(){return Et.RequestType5}});Object.defineProperty(se,"RequestType6",{enumerable:!0,get:function(){return Et.RequestType6}});Object.defineProperty(se,"RequestType7",{enumerable:!0,get:function(){return Et.RequestType7}});Object.defineProperty(se,"RequestType8",{enumerable:!0,get:function(){return Et.RequestType8}});Object.defineProperty(se,"RequestType9",{enumerable:!0,get:function(){return Et.RequestType9}});Object.defineProperty(se,"ResponseError",{enumerable:!0,get:function(){return Et.ResponseError}});Object.defineProperty(se,"ErrorCodes",{enumerable:!0,get:function(){return Et.ErrorCodes}});Object.defineProperty(se,"NotificationType",{enumerable:!0,get:function(){return Et.NotificationType}});Object.defineProperty(se,"NotificationType0",{enumerable:!0,get:function(){return Et.NotificationType0}});Object.defineProperty(se,"NotificationType1",{enumerable:!0,get:function(){return Et.NotificationType1}});Object.defineProperty(se,"NotificationType2",{enumerable:!0,get:function(){return Et.NotificationType2}});Object.defineProperty(se,"NotificationType3",{enumerable:!0,get:function(){return Et.NotificationType3}});Object.defineProperty(se,"NotificationType4",{enumerable:!0,get:function(){return Et.NotificationType4}});Object.defineProperty(se,"NotificationType5",{enumerable:!0,get:function(){return Et.NotificationType5}});Object.defineProperty(se,"NotificationType6",{enumerable:!0,get:function(){return Et.NotificationType6}});Object.defineProperty(se,"NotificationType7",{enumerable:!0,get:function(){return Et.NotificationType7}});Object.defineProperty(se,"NotificationType8",{enumerable:!0,get:function(){return Et.NotificationType8}});Object.defineProperty(se,"NotificationType9",{enumerable:!0,get:function(){return Et.NotificationType9}});Object.defineProperty(se,"ParameterStructures",{enumerable:!0,get:function(){return Et.ParameterStructures}});var Dvt=tI();Object.defineProperty(se,"Disposable",{enumerable:!0,get:function(){return Dvt.Disposable}});var $ge=zl();Object.defineProperty(se,"Event",{enumerable:!0,get:function(){return $ge.Event}});Object.defineProperty(se,"Emitter",{enumerable:!0,get:function(){return $ge.Emitter}});var Bge=MI();Object.defineProperty(se,"CancellationTokenSource",{enumerable:!0,get:function(){return Bge.CancellationTokenSource}});Object.defineProperty(se,"CancellationToken",{enumerable:!0,get:function(){return Bge.CancellationToken}});var YI=Oge();Object.defineProperty(se,"MessageReader",{enumerable:!0,get:function(){return YI.MessageReader}});Object.defineProperty(se,"AbstractMessageReader",{enumerable:!0,get:function(){return YI.AbstractMessageReader}});Object.defineProperty(se,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return YI.ReadableStreamMessageReader}});var QI=Tge();Object.defineProperty(se,"MessageWriter",{enumerable:!0,get:function(){return QI.MessageWriter}});Object.defineProperty(se,"AbstractMessageWriter",{enumerable:!0,get:function(){return QI.AbstractMessageWriter}});Object.defineProperty(se,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return QI.WriteableStreamMessageWriter}});var sn=jge();Object.defineProperty(se,"ConnectionStrategy",{enumerable:!0,get:function(){return sn.ConnectionStrategy}});Object.defineProperty(se,"ConnectionOptions",{enumerable:!0,get:function(){return sn.ConnectionOptions}});Object.defineProperty(se,"NullLogger",{enumerable:!0,get:function(){return sn.NullLogger}});Object.defineProperty(se,"createMessageConnection",{enumerable:!0,get:function(){return sn.createMessageConnection}});Object.defineProperty(se,"ProgressType",{enumerable:!0,get:function(){return sn.ProgressType}});Object.defineProperty(se,"Trace",{enumerable:!0,get:function(){return sn.Trace}});Object.defineProperty(se,"TraceFormat",{enumerable:!0,get:function(){return sn.TraceFormat}});Object.defineProperty(se,"SetTraceNotification",{enumerable:!0,get:function(){return sn.SetTraceNotification}});Object.defineProperty(se,"LogTraceNotification",{enumerable:!0,get:function(){return sn.LogTraceNotification}});Object.defineProperty(se,"ConnectionErrors",{enumerable:!0,get:function(){return sn.ConnectionErrors}});Object.defineProperty(se,"ConnectionError",{enumerable:!0,get:function(){return sn.ConnectionError}});Object.defineProperty(se,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return sn.CancellationReceiverStrategy}});Object.defineProperty(se,"CancellationSenderStrategy",{enumerable:!0,get:function(){return sn.CancellationSenderStrategy}});Object.defineProperty(se,"CancellationStrategy",{enumerable:!0,get:function(){return sn.CancellationStrategy}});var Ovt=bs();se.RAL=Ovt.default});var Vl=m(st=>{"use strict";var qvt=st&&st.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Rvt=st&&st.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&qvt(e,t,r)};Object.defineProperty(st,"__esModule",{value:!0});st.createMessageConnection=st.createServerSocketTransport=st.createClientSocketTransport=st.createServerPipeTransport=st.createClientPipeTransport=st.generateRandomPipeName=st.StreamMessageWriter=st.StreamMessageReader=st.SocketMessageWriter=st.SocketMessageReader=st.IPCMessageWriter=st.IPCMessageReader=void 0;var Hl=Sge();Hl.default.install();var Ui=JI(),Wge=require("path"),Avt=require("os"),Pvt=require("crypto"),Jk=require("net");Rvt(JI(),st);var XI=class extends Ui.AbstractMessageReader{constructor(e){super(),this.process=e;let r=this.process;r.on("error",n=>this.fireError(n)),r.on("close",()=>this.fireClose())}listen(e){return this.process.on("message",e),Ui.Disposable.create(()=>this.process.off("message",e))}};st.IPCMessageReader=XI;var ZI=class extends Ui.AbstractMessageWriter{constructor(e){super(),this.process=e,this.errorCount=0;let r=this.process;r.on("error",n=>this.fireError(n)),r.on("close",()=>this.fireClose)}write(e){try{return typeof this.process.send=="function"&&this.process.send(e,void 0,void 0,r=>{r?(this.errorCount++,this.handleError(r,e)):this.errorCount=0}),Promise.resolve()}catch(r){return this.handleError(r,e),Promise.reject(r)}}handleError(e,r){this.errorCount++,this.fireError(e,r,this.errorCount)}end(){}};st.IPCMessageWriter=ZI;var $a=class extends Ui.ReadableStreamMessageReader{constructor(e,r="utf-8"){super(Hl.default().stream.asReadableStream(e),r)}};st.SocketMessageReader=$a;var Ba=class extends Ui.WriteableStreamMessageWriter{constructor(e,r){super(Hl.default().stream.asWritableStream(e),r),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};st.SocketMessageWriter=Ba;var Yk=class extends Ui.ReadableStreamMessageReader{constructor(e,r){super(Hl.default().stream.asReadableStream(e),r)}};st.StreamMessageReader=Yk;var Qk=class extends Ui.WriteableStreamMessageWriter{constructor(e,r){super(Hl.default().stream.asWritableStream(e),r)}};st.StreamMessageWriter=Qk;var zge=process.env.XDG_RUNTIME_DIR,Tvt=new Map([["linux",107],["darwin",103]]);function Mvt(){let t=Pvt.randomBytes(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${t}-sock`;let e;zge?e=Wge.join(zge,`vscode-ipc-${t}.sock`):e=Wge.join(Avt.tmpdir(),`vscode-${t}.sock`);let r=Tvt.get(process.platform);return r!==void 0&&e.length>=r&&Hl.default().console.warn(`WARNING: IPC handle "${e}" is longer than ${r} characters.`),e}st.generateRandomPipeName=Mvt;function Fvt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Jk.createServer(a=>{o.close(),r([new $a(a,e),new Ba(a,e)])});o.on("error",s),o.listen(t,()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}st.createClientPipeTransport=Fvt;function Lvt(t,e="utf-8"){let r=Jk.createConnection(t);return[new $a(r,e),new Ba(r,e)]}st.createServerPipeTransport=Lvt;function Ivt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Jk.createServer(a=>{o.close(),r([new $a(a,e),new Ba(a,e)])});o.on("error",s),o.listen(t,"127.0.0.1",()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}st.createClientSocketTransport=Ivt;function Nvt(t,e="utf-8"){let r=Jk.createConnection(t,"127.0.0.1");return[new $a(r,e),new Ba(r,e)]}st.createServerSocketTransport=Nvt;function jvt(t){let e=t;return e.read!==void 0&&e.addListener!==void 0}function $vt(t){let e=t;return e.write!==void 0&&e.addListener!==void 0}function Bvt(t,e,r,n){r||(r=Ui.NullLogger);let i=jvt(t)?new Yk(t):t,s=$vt(e)?new Qk(e):e;return Ui.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),Ui.createMessageConnection(i,s,r,n)}st.createMessageConnection=Bvt});var e3=m((P5t,Uge)=>{"use strict";Uge.exports=Vl()});var Vge=m((Hge,Xk)=>{(function(t){if(typeof Xk=="object"&&typeof Xk.exports=="object"){var e=t(require,Hge);e!==void 0&&(Xk.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],t)})(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=e.EOL=e.SelectionRange=e.DocumentLink=e.FormattingOptions=e.CodeLens=e.CodeAction=e.CodeActionContext=e.CodeActionKind=e.DocumentSymbol=e.SymbolInformation=e.SymbolTag=e.SymbolKind=e.DocumentHighlight=e.DocumentHighlightKind=e.SignatureInformation=e.ParameterInformation=e.Hover=e.MarkedString=e.CompletionList=e.CompletionItem=e.InsertTextMode=e.InsertReplaceEdit=e.CompletionItemTag=e.InsertTextFormat=e.CompletionItemKind=e.MarkupContent=e.MarkupKind=e.TextDocumentItem=e.OptionalVersionedTextDocumentIdentifier=e.VersionedTextDocumentIdentifier=e.TextDocumentIdentifier=e.WorkspaceChange=e.WorkspaceEdit=e.DeleteFile=e.RenameFile=e.CreateFile=e.TextDocumentEdit=e.AnnotatedTextEdit=e.ChangeAnnotationIdentifier=e.ChangeAnnotation=e.TextEdit=e.Command=e.Diagnostic=e.CodeDescription=e.DiagnosticTag=e.DiagnosticSeverity=e.DiagnosticRelatedInformation=e.FoldingRange=e.FoldingRangeKind=e.ColorPresentation=e.ColorInformation=e.Color=e.LocationLink=e.Location=e.Range=e.Position=e.uinteger=e.integer=void 0;var r;(function(E){E.MIN_VALUE=-2147483648,E.MAX_VALUE=2147483647})(r=e.integer||(e.integer={}));var n;(function(E){E.MIN_VALUE=0,E.MAX_VALUE=2147483647})(n=e.uinteger||(e.uinteger={}));var i;(function(E){function A(D,k){return D===Number.MAX_VALUE&&(D=n.MAX_VALUE),k===Number.MAX_VALUE&&(k=n.MAX_VALUE),{line:D,character:k}}E.create=A;function W(D){var k=D;return q.objectLiteral(k)&&q.uinteger(k.line)&&q.uinteger(k.character)}E.is=W})(i=e.Position||(e.Position={}));var s;(function(E){function A(D,k,H,Y){if(q.uinteger(D)&&q.uinteger(k)&&q.uinteger(H)&&q.uinteger(Y))return{start:i.create(D,k),end:i.create(H,Y)};if(i.is(D)&&i.is(k))return{start:D,end:k};throw new Error("Range#create called with invalid arguments["+D+", "+k+", "+H+", "+Y+"]")}E.create=A;function W(D){var k=D;return q.objectLiteral(k)&&i.is(k.start)&&i.is(k.end)}E.is=W})(s=e.Range||(e.Range={}));var o;(function(E){function A(D,k){return{uri:D,range:k}}E.create=A;function W(D){var k=D;return q.defined(k)&&s.is(k.range)&&(q.string(k.uri)||q.undefined(k.uri))}E.is=W})(o=e.Location||(e.Location={}));var a;(function(E){function A(D,k,H,Y){return{targetUri:D,targetRange:k,targetSelectionRange:H,originSelectionRange:Y}}E.create=A;function W(D){var k=D;return q.defined(k)&&s.is(k.targetRange)&&q.string(k.targetUri)&&(s.is(k.targetSelectionRange)||q.undefined(k.targetSelectionRange))&&(s.is(k.originSelectionRange)||q.undefined(k.originSelectionRange))}E.is=W})(a=e.LocationLink||(e.LocationLink={}));var u;(function(E){function A(D,k,H,Y){return{red:D,green:k,blue:H,alpha:Y}}E.create=A;function W(D){var k=D;return q.numberRange(k.red,0,1)&&q.numberRange(k.green,0,1)&&q.numberRange(k.blue,0,1)&&q.numberRange(k.alpha,0,1)}E.is=W})(u=e.Color||(e.Color={}));var l;(function(E){function A(D,k){return{range:D,color:k}}E.create=A;function W(D){var k=D;return s.is(k.range)&&u.is(k.color)}E.is=W})(l=e.ColorInformation||(e.ColorInformation={}));var c;(function(E){function A(D,k,H){return{label:D,textEdit:k,additionalTextEdits:H}}E.create=A;function W(D){var k=D;return q.string(k.label)&&(q.undefined(k.textEdit)||w.is(k))&&(q.undefined(k.additionalTextEdits)||q.typedArray(k.additionalTextEdits,w.is))}E.is=W})(c=e.ColorPresentation||(e.ColorPresentation={}));var f;(function(E){E.Comment="comment",E.Imports="imports",E.Region="region"})(f=e.FoldingRangeKind||(e.FoldingRangeKind={}));var d;(function(E){function A(D,k,H,Y,ye){var De={startLine:D,endLine:k};return q.defined(H)&&(De.startCharacter=H),q.defined(Y)&&(De.endCharacter=Y),q.defined(ye)&&(De.kind=ye),De}E.create=A;function W(D){var k=D;return q.uinteger(k.startLine)&&q.uinteger(k.startLine)&&(q.undefined(k.startCharacter)||q.uinteger(k.startCharacter))&&(q.undefined(k.endCharacter)||q.uinteger(k.endCharacter))&&(q.undefined(k.kind)||q.string(k.kind))}E.is=W})(d=e.FoldingRange||(e.FoldingRange={}));var p;(function(E){function A(D,k){return{location:D,message:k}}E.create=A;function W(D){var k=D;return q.defined(k)&&o.is(k.location)&&q.string(k.message)}E.is=W})(p=e.DiagnosticRelatedInformation||(e.DiagnosticRelatedInformation={}));var h;(function(E){E.Error=1,E.Warning=2,E.Information=3,E.Hint=4})(h=e.DiagnosticSeverity||(e.DiagnosticSeverity={}));var y;(function(E){E.Unnecessary=1,E.Deprecated=2})(y=e.DiagnosticTag||(e.DiagnosticTag={}));var b;(function(E){function A(W){var D=W;return D!=null&&q.string(D.href)}E.is=A})(b=e.CodeDescription||(e.CodeDescription={}));var g;(function(E){function A(D,k,H,Y,ye,De){var He={range:D,message:k};return q.defined(H)&&(He.severity=H),q.defined(Y)&&(He.code=Y),q.defined(ye)&&(He.source=ye),q.defined(De)&&(He.relatedInformation=De),He}E.create=A;function W(D){var k,H=D;return q.defined(H)&&s.is(H.range)&&q.string(H.message)&&(q.number(H.severity)||q.undefined(H.severity))&&(q.integer(H.code)||q.string(H.code)||q.undefined(H.code))&&(q.undefined(H.codeDescription)||q.string((k=H.codeDescription)===null||k===void 0?void 0:k.href))&&(q.string(H.source)||q.undefined(H.source))&&(q.undefined(H.relatedInformation)||q.typedArray(H.relatedInformation,p.is))}E.is=W})(g=e.Diagnostic||(e.Diagnostic={}));var v;(function(E){function A(D,k){for(var H=[],Y=2;Y<arguments.length;Y++)H[Y-2]=arguments[Y];var ye={title:D,command:k};return q.defined(H)&&H.length>0&&(ye.arguments=H),ye}E.create=A;function W(D){var k=D;return q.defined(k)&&q.string(k.title)&&q.string(k.command)}E.is=W})(v=e.Command||(e.Command={}));var w;(function(E){function A(H,Y){return{range:H,newText:Y}}E.replace=A;function W(H,Y){return{range:{start:H,end:H},newText:Y}}E.insert=W;function D(H){return{range:H,newText:""}}E.del=D;function k(H){var Y=H;return q.objectLiteral(Y)&&q.string(Y.newText)&&s.is(Y.range)}E.is=k})(w=e.TextEdit||(e.TextEdit={}));var _;(function(E){function A(D,k,H){var Y={label:D};return k!==void 0&&(Y.needsConfirmation=k),H!==void 0&&(Y.description=H),Y}E.create=A;function W(D){var k=D;return k!==void 0&&q.objectLiteral(k)&&q.string(k.label)&&(q.boolean(k.needsConfirmation)||k.needsConfirmation===void 0)&&(q.string(k.description)||k.description===void 0)}E.is=W})(_=e.ChangeAnnotation||(e.ChangeAnnotation={}));var x;(function(E){function A(W){var D=W;return typeof D=="string"}E.is=A})(x=e.ChangeAnnotationIdentifier||(e.ChangeAnnotationIdentifier={}));var C;(function(E){function A(H,Y,ye){return{range:H,newText:Y,annotationId:ye}}E.replace=A;function W(H,Y,ye){return{range:{start:H,end:H},newText:Y,annotationId:ye}}E.insert=W;function D(H,Y){return{range:H,newText:"",annotationId:Y}}E.del=D;function k(H){var Y=H;return w.is(Y)&&(_.is(Y.annotationId)||x.is(Y.annotationId))}E.is=k})(C=e.AnnotatedTextEdit||(e.AnnotatedTextEdit={}));var M;(function(E){function A(D,k){return{textDocument:D,edits:k}}E.create=A;function W(D){var k=D;return q.defined(k)&&ue.is(k.textDocument)&&Array.isArray(k.edits)}E.is=W})(M=e.TextDocumentEdit||(e.TextDocumentEdit={}));var P;(function(E){function A(D,k,H){var Y={kind:"create",uri:D};return k!==void 0&&(k.overwrite!==void 0||k.ignoreIfExists!==void 0)&&(Y.options=k),H!==void 0&&(Y.annotationId=H),Y}E.create=A;function W(D){var k=D;return k&&k.kind==="create"&&q.string(k.uri)&&(k.options===void 0||(k.options.overwrite===void 0||q.boolean(k.options.overwrite))&&(k.options.ignoreIfExists===void 0||q.boolean(k.options.ignoreIfExists)))&&(k.annotationId===void 0||x.is(k.annotationId))}E.is=W})(P=e.CreateFile||(e.CreateFile={}));var R;(function(E){function A(D,k,H,Y){var ye={kind:"rename",oldUri:D,newUri:k};return H!==void 0&&(H.overwrite!==void 0||H.ignoreIfExists!==void 0)&&(ye.options=H),Y!==void 0&&(ye.annotationId=Y),ye}E.create=A;function W(D){var k=D;return k&&k.kind==="rename"&&q.string(k.oldUri)&&q.string(k.newUri)&&(k.options===void 0||(k.options.overwrite===void 0||q.boolean(k.options.overwrite))&&(k.options.ignoreIfExists===void 0||q.boolean(k.options.ignoreIfExists)))&&(k.annotationId===void 0||x.is(k.annotationId))}E.is=W})(R=e.RenameFile||(e.RenameFile={}));var z;(function(E){function A(D,k,H){var Y={kind:"delete",uri:D};return k!==void 0&&(k.recursive!==void 0||k.ignoreIfNotExists!==void 0)&&(Y.options=k),H!==void 0&&(Y.annotationId=H),Y}E.create=A;function W(D){var k=D;return k&&k.kind==="delete"&&q.string(k.uri)&&(k.options===void 0||(k.options.recursive===void 0||q.boolean(k.options.recursive))&&(k.options.ignoreIfNotExists===void 0||q.boolean(k.options.ignoreIfNotExists)))&&(k.annotationId===void 0||x.is(k.annotationId))}E.is=W})(z=e.DeleteFile||(e.DeleteFile={}));var $;(function(E){function A(W){var D=W;return D&&(D.changes!==void 0||D.documentChanges!==void 0)&&(D.documentChanges===void 0||D.documentChanges.every(function(k){return q.string(k.kind)?P.is(k)||R.is(k)||z.is(k):M.is(k)}))}E.is=A})($=e.WorkspaceEdit||(e.WorkspaceEdit={}));var ee=function(){function E(A,W){this.edits=A,this.changeAnnotations=W}return E.prototype.insert=function(A,W,D){var k,H;if(D===void 0?k=w.insert(A,W):x.is(D)?(H=D,k=C.insert(A,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),H=this.changeAnnotations.manage(D),k=C.insert(A,W,H)),this.edits.push(k),H!==void 0)return H},E.prototype.replace=function(A,W,D){var k,H;if(D===void 0?k=w.replace(A,W):x.is(D)?(H=D,k=C.replace(A,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),H=this.changeAnnotations.manage(D),k=C.replace(A,W,H)),this.edits.push(k),H!==void 0)return H},E.prototype.delete=function(A,W){var D,k;if(W===void 0?D=w.del(A):x.is(W)?(k=W,D=C.del(A,W)):(this.assertChangeAnnotations(this.changeAnnotations),k=this.changeAnnotations.manage(W),D=C.del(A,k)),this.edits.push(D),k!==void 0)return k},E.prototype.add=function(A){this.edits.push(A)},E.prototype.all=function(){return this.edits},E.prototype.clear=function(){this.edits.splice(0,this.edits.length)},E.prototype.assertChangeAnnotations=function(A){if(A===void 0)throw new Error("Text edit change is not configured to manage change annotations.")},E}(),G=function(){function E(A){this._annotations=A===void 0?Object.create(null):A,this._counter=0,this._size=0}return E.prototype.all=function(){return this._annotations},Object.defineProperty(E.prototype,"size",{get:function(){return this._size},enumerable:!1,configurable:!0}),E.prototype.manage=function(A,W){var D;if(x.is(A)?D=A:(D=this.nextId(),W=A),this._annotations[D]!==void 0)throw new Error("Id "+D+" is already in use.");if(W===void 0)throw new Error("No annotation provided for id "+D);return this._annotations[D]=W,this._size++,D},E.prototype.nextId=function(){return this._counter++,this._counter.toString()},E}(),ae=function(){function E(A){var W=this;this._textEditChanges=Object.create(null),A!==void 0?(this._workspaceEdit=A,A.documentChanges?(this._changeAnnotations=new G(A.changeAnnotations),A.changeAnnotations=this._changeAnnotations.all(),A.documentChanges.forEach(function(D){if(M.is(D)){var k=new ee(D.edits,W._changeAnnotations);W._textEditChanges[D.textDocument.uri]=k}})):A.changes&&Object.keys(A.changes).forEach(function(D){var k=new ee(A.changes[D]);W._textEditChanges[D]=k})):this._workspaceEdit={}}return Object.defineProperty(E.prototype,"edit",{get:function(){return this.initDocumentChanges(),this._changeAnnotations!==void 0&&(this._changeAnnotations.size===0?this._workspaceEdit.changeAnnotations=void 0:this._workspaceEdit.changeAnnotations=this._changeAnnotations.all()),this._workspaceEdit},enumerable:!1,configurable:!0}),E.prototype.getTextEditChange=function(A){if(ue.is(A)){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var W={uri:A.uri,version:A.version},D=this._textEditChanges[W.uri];if(!D){var k=[],H={textDocument:W,edits:k};this._workspaceEdit.documentChanges.push(H),D=new ee(k,this._changeAnnotations),this._textEditChanges[W.uri]=D}return D}else{if(this.initChanges(),this._workspaceEdit.changes===void 0)throw new Error("Workspace edit is not configured for normal text edit changes.");var D=this._textEditChanges[A];if(!D){var k=[];this._workspaceEdit.changes[A]=k,D=new ee(k),this._textEditChanges[A]=D}return D}},E.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new G,this._workspaceEdit.documentChanges=[],this._workspaceEdit.changeAnnotations=this._changeAnnotations.all())},E.prototype.initChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._workspaceEdit.changes=Object.create(null))},E.prototype.createFile=function(A,W,D){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var k;_.is(W)||x.is(W)?k=W:D=W;var H,Y;if(k===void 0?H=P.create(A,D):(Y=x.is(k)?k:this._changeAnnotations.manage(k),H=P.create(A,D,Y)),this._workspaceEdit.documentChanges.push(H),Y!==void 0)return Y},E.prototype.renameFile=function(A,W,D,k){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var H;_.is(D)||x.is(D)?H=D:k=D;var Y,ye;if(H===void 0?Y=R.create(A,W,k):(ye=x.is(H)?H:this._changeAnnotations.manage(H),Y=R.create(A,W,k,ye)),this._workspaceEdit.documentChanges.push(Y),ye!==void 0)return ye},E.prototype.deleteFile=function(A,W,D){if(this.initDocumentChanges(),this._workspaceEdit.documentChanges===void 0)throw new Error("Workspace edit is not configured for document changes.");var k;_.is(W)||x.is(W)?k=W:D=W;var H,Y;if(k===void 0?H=z.create(A,D):(Y=x.is(k)?k:this._changeAnnotations.manage(k),H=z.create(A,D,Y)),this._workspaceEdit.documentChanges.push(H),Y!==void 0)return Y},E}();e.WorkspaceChange=ae;var F;(function(E){function A(D){return{uri:D}}E.create=A;function W(D){var k=D;return q.defined(k)&&q.string(k.uri)}E.is=W})(F=e.TextDocumentIdentifier||(e.TextDocumentIdentifier={}));var T;(function(E){function A(D,k){return{uri:D,version:k}}E.create=A;function W(D){var k=D;return q.defined(k)&&q.string(k.uri)&&q.integer(k.version)}E.is=W})(T=e.VersionedTextDocumentIdentifier||(e.VersionedTextDocumentIdentifier={}));var ue;(function(E){function A(D,k){return{uri:D,version:k}}E.create=A;function W(D){var k=D;return q.defined(k)&&q.string(k.uri)&&(k.version===null||q.integer(k.version))}E.is=W})(ue=e.OptionalVersionedTextDocumentIdentifier||(e.OptionalVersionedTextDocumentIdentifier={}));var re;(function(E){function A(D,k,H,Y){return{uri:D,languageId:k,version:H,text:Y}}E.create=A;function W(D){var k=D;return q.defined(k)&&q.string(k.uri)&&q.string(k.languageId)&&q.integer(k.version)&&q.string(k.text)}E.is=W})(re=e.TextDocumentItem||(e.TextDocumentItem={}));var fe;(function(E){E.PlainText="plaintext",E.Markdown="markdown"})(fe=e.MarkupKind||(e.MarkupKind={})),function(E){function A(W){var D=W;return D===E.PlainText||D===E.Markdown}E.is=A}(fe=e.MarkupKind||(e.MarkupKind={}));var oe;(function(E){function A(W){var D=W;return q.objectLiteral(W)&&fe.is(D.kind)&&q.string(D.value)}E.is=A})(oe=e.MarkupContent||(e.MarkupContent={}));var ie;(function(E){E.Text=1,E.Method=2,E.Function=3,E.Constructor=4,E.Field=5,E.Variable=6,E.Class=7,E.Interface=8,E.Module=9,E.Property=10,E.Unit=11,E.Value=12,E.Enum=13,E.Keyword=14,E.Snippet=15,E.Color=16,E.File=17,E.Reference=18,E.Folder=19,E.EnumMember=20,E.Constant=21,E.Struct=22,E.Event=23,E.Operator=24,E.TypeParameter=25})(ie=e.CompletionItemKind||(e.CompletionItemKind={}));var pe;(function(E){E.PlainText=1,E.Snippet=2})(pe=e.InsertTextFormat||(e.InsertTextFormat={}));var be;(function(E){E.Deprecated=1})(be=e.CompletionItemTag||(e.CompletionItemTag={}));var Ce;(function(E){function A(D,k,H){return{newText:D,insert:k,replace:H}}E.create=A;function W(D){var k=D;return k&&q.string(k.newText)&&s.is(k.insert)&&s.is(k.replace)}E.is=W})(Ce=e.InsertReplaceEdit||(e.InsertReplaceEdit={}));var Qe;(function(E){E.asIs=1,E.adjustIndentation=2})(Qe=e.InsertTextMode||(e.InsertTextMode={}));var ve;(function(E){function A(W){return{label:W}}E.create=A})(ve=e.CompletionItem||(e.CompletionItem={}));var Ct;(function(E){function A(W,D){return{items:W||[],isIncomplete:!!D}}E.create=A})(Ct=e.CompletionList||(e.CompletionList={}));var dt;(function(E){function A(D){return D.replace(/[\\`*_{}[\]()#+\-.!]/g,"\\$&")}E.fromPlainText=A;function W(D){var k=D;return q.string(k)||q.objectLiteral(k)&&q.string(k.language)&&q.string(k.value)}E.is=W})(dt=e.MarkedString||(e.MarkedString={}));var de;(function(E){function A(W){var D=W;return!!D&&q.objectLiteral(D)&&(oe.is(D.contents)||dt.is(D.contents)||q.typedArray(D.contents,dt.is))&&(W.range===void 0||s.is(W.range))}E.is=A})(de=e.Hover||(e.Hover={}));var le;(function(E){function A(W,D){return D?{label:W,documentation:D}:{label:W}}E.create=A})(le=e.ParameterInformation||(e.ParameterInformation={}));var ne;(function(E){function A(W,D){for(var k=[],H=2;H<arguments.length;H++)k[H-2]=arguments[H];var Y={label:W};return q.defined(D)&&(Y.documentation=D),q.defined(k)?Y.parameters=k:Y.parameters=[],Y}E.create=A})(ne=e.SignatureInformation||(e.SignatureInformation={}));var Fe;(function(E){E.Text=1,E.Read=2,E.Write=3})(Fe=e.DocumentHighlightKind||(e.DocumentHighlightKind={}));var ot;(function(E){function A(W,D){var k={range:W};return q.number(D)&&(k.kind=D),k}E.create=A})(ot=e.DocumentHighlight||(e.DocumentHighlight={}));var zt;(function(E){E.File=1,E.Module=2,E.Namespace=3,E.Package=4,E.Class=5,E.Method=6,E.Property=7,E.Field=8,E.Constructor=9,E.Enum=10,E.Interface=11,E.Function=12,E.Variable=13,E.Constant=14,E.String=15,E.Number=16,E.Boolean=17,E.Array=18,E.Object=19,E.Key=20,E.Null=21,E.EnumMember=22,E.Struct=23,E.Event=24,E.Operator=25,E.TypeParameter=26})(zt=e.SymbolKind||(e.SymbolKind={}));var $t;(function(E){E.Deprecated=1})($t=e.SymbolTag||(e.SymbolTag={}));var qn;(function(E){function A(W,D,k,H,Y){var ye={name:W,kind:D,location:{uri:H,range:k}};return Y&&(ye.containerName=Y),ye}E.create=A})(qn=e.SymbolInformation||(e.SymbolInformation={}));var Rn;(function(E){function A(D,k,H,Y,ye,De){var He={name:D,detail:k,kind:H,range:Y,selectionRange:ye};return De!==void 0&&(He.children=De),He}E.create=A;function W(D){var k=D;return k&&q.string(k.name)&&q.number(k.kind)&&s.is(k.range)&&s.is(k.selectionRange)&&(k.detail===void 0||q.string(k.detail))&&(k.deprecated===void 0||q.boolean(k.deprecated))&&(k.children===void 0||Array.isArray(k.children))&&(k.tags===void 0||Array.isArray(k.tags))}E.is=W})(Rn=e.DocumentSymbol||(e.DocumentSymbol={}));var WE;(function(E){E.Empty="",E.QuickFix="quickfix",E.Refactor="refactor",E.RefactorExtract="refactor.extract",E.RefactorInline="refactor.inline",E.RefactorRewrite="refactor.rewrite",E.Source="source",E.SourceOrganizeImports="source.organizeImports",E.SourceFixAll="source.fixAll"})(WE=e.CodeActionKind||(e.CodeActionKind={}));var zE;(function(E){function A(D,k){var H={diagnostics:D};return k!=null&&(H.only=k),H}E.create=A;function W(D){var k=D;return q.defined(k)&&q.typedArray(k.diagnostics,g.is)&&(k.only===void 0||q.typedArray(k.only,q.string))}E.is=W})(zE=e.CodeActionContext||(e.CodeActionContext={}));var So;(function(E){function A(D,k,H){var Y={title:D},ye=!0;return typeof k=="string"?(ye=!1,Y.kind=k):v.is(k)?Y.command=k:Y.edit=k,ye&&H!==void 0&&(Y.kind=H),Y}E.create=A;function W(D){var k=D;return k&&q.string(k.title)&&(k.diagnostics===void 0||q.typedArray(k.diagnostics,g.is))&&(k.kind===void 0||q.string(k.kind))&&(k.edit!==void 0||k.command!==void 0)&&(k.command===void 0||v.is(k.command))&&(k.isPreferred===void 0||q.boolean(k.isPreferred))&&(k.edit===void 0||$.is(k.edit))}E.is=W})(So=e.CodeAction||(e.CodeAction={}));var ah;(function(E){function A(D,k){var H={range:D};return q.defined(k)&&(H.data=k),H}E.create=A;function W(D){var k=D;return q.defined(k)&&s.is(k.range)&&(q.undefined(k.command)||v.is(k.command))}E.is=W})(ah=e.CodeLens||(e.CodeLens={}));var uh;(function(E){function A(D,k){return{tabSize:D,insertSpaces:k}}E.create=A;function W(D){var k=D;return q.defined(k)&&q.uinteger(k.tabSize)&&q.boolean(k.insertSpaces)}E.is=W})(uh=e.FormattingOptions||(e.FormattingOptions={}));var ec;(function(E){function A(D,k,H){return{range:D,target:k,data:H}}E.create=A;function W(D){var k=D;return q.defined(k)&&s.is(k.range)&&(q.undefined(k.target)||q.string(k.target))}E.is=W})(ec=e.DocumentLink||(e.DocumentLink={}));var lh;(function(E){function A(D,k){return{range:D,parent:k}}E.create=A;function W(D){var k=D;return k!==void 0&&s.is(k.range)&&(k.parent===void 0||E.is(k.parent))}E.is=W})(lh=e.SelectionRange||(e.SelectionRange={})),e.EOL=[`
|
|
423
|
+
`,`\r
|
|
424
|
+
`,"\r"];var Es;(function(E){function A(H,Y,ye,De){return new L(H,Y,ye,De)}E.create=A;function W(H){var Y=H;return!!(q.defined(Y)&&q.string(Y.uri)&&(q.undefined(Y.languageId)||q.string(Y.languageId))&&q.uinteger(Y.lineCount)&&q.func(Y.getText)&&q.func(Y.positionAt)&&q.func(Y.offsetAt))}E.is=W;function D(H,Y){for(var ye=H.getText(),De=k(Y,function(Qa,ch){var fN=Qa.range.start.line-ch.range.start.line;return fN===0?Qa.range.start.character-ch.range.start.character:fN}),He=ye.length,bt=De.length-1;bt>=0;bt--){var tr=De[bt],sr=H.offsetAt(tr.range.start),Je=H.offsetAt(tr.range.end);if(Je<=He)ye=ye.substring(0,sr)+tr.newText+ye.substring(Je,ye.length);else throw new Error("Overlapping edit");He=sr}return ye}E.applyEdits=D;function k(H,Y){if(H.length<=1)return H;var ye=H.length/2|0,De=H.slice(0,ye),He=H.slice(ye);k(De,Y),k(He,Y);for(var bt=0,tr=0,sr=0;bt<De.length&&tr<He.length;){var Je=Y(De[bt],He[tr]);Je<=0?H[sr++]=De[bt++]:H[sr++]=He[tr++]}for(;bt<De.length;)H[sr++]=De[bt++];for(;tr<He.length;)H[sr++]=He[tr++];return H}})(Es=e.TextDocument||(e.TextDocument={}));var L=function(){function E(A,W,D,k){this._uri=A,this._languageId=W,this._version=D,this._content=k,this._lineOffsets=void 0}return Object.defineProperty(E.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(E.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),E.prototype.getText=function(A){if(A){var W=this.offsetAt(A.start),D=this.offsetAt(A.end);return this._content.substring(W,D)}return this._content},E.prototype.update=function(A,W){this._content=A.text,this._version=W,this._lineOffsets=void 0},E.prototype.getLineOffsets=function(){if(this._lineOffsets===void 0){for(var A=[],W=this._content,D=!0,k=0;k<W.length;k++){D&&(A.push(k),D=!1);var H=W.charAt(k);D=H==="\r"||H===`
|
|
425
|
+
`,H==="\r"&&k+1<W.length&&W.charAt(k+1)===`
|
|
426
|
+
`&&k++}D&&W.length>0&&A.push(W.length),this._lineOffsets=A}return this._lineOffsets},E.prototype.positionAt=function(A){A=Math.max(Math.min(A,this._content.length),0);var W=this.getLineOffsets(),D=0,k=W.length;if(k===0)return i.create(0,A);for(;D<k;){var H=Math.floor((D+k)/2);W[H]>A?k=H:D=H+1}var Y=D-1;return i.create(Y,A-W[Y])},E.prototype.offsetAt=function(A){var W=this.getLineOffsets();if(A.line>=W.length)return this._content.length;if(A.line<0)return 0;var D=W[A.line],k=A.line+1<W.length?W[A.line+1]:this._content.length;return Math.max(Math.min(D+A.character,k),D)},Object.defineProperty(E.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),E}(),q;(function(E){var A=Object.prototype.toString;function W(Je){return typeof Je<"u"}E.defined=W;function D(Je){return typeof Je>"u"}E.undefined=D;function k(Je){return Je===!0||Je===!1}E.boolean=k;function H(Je){return A.call(Je)==="[object String]"}E.string=H;function Y(Je){return A.call(Je)==="[object Number]"}E.number=Y;function ye(Je,Qa,ch){return A.call(Je)==="[object Number]"&&Qa<=Je&&Je<=ch}E.numberRange=ye;function De(Je){return A.call(Je)==="[object Number]"&&-2147483648<=Je&&Je<=2147483647}E.integer=De;function He(Je){return A.call(Je)==="[object Number]"&&0<=Je&&Je<=2147483647}E.uinteger=He;function bt(Je){return A.call(Je)==="[object Function]"}E.func=bt;function tr(Je){return Je!==null&&typeof Je=="object"}E.objectLiteral=tr;function sr(Je,Qa){return Array.isArray(Je)&&Je.every(Qa)}E.typedArray=sr})(q||(q={}))})});var gr=m(Vn=>{"use strict";Object.defineProperty(Vn,"__esModule",{value:!0});Vn.ProtocolNotificationType=Vn.ProtocolNotificationType0=Vn.ProtocolRequestType=Vn.ProtocolRequestType0=Vn.RegistrationType=void 0;var Gl=Vl(),t3=class{constructor(e){this.method=e}};Vn.RegistrationType=t3;var r3=class extends Gl.RequestType0{constructor(e){super(e)}};Vn.ProtocolRequestType0=r3;var n3=class extends Gl.RequestType{constructor(e){super(e,Gl.ParameterStructures.byName)}};Vn.ProtocolRequestType=n3;var i3=class extends Gl.NotificationType0{constructor(e){super(e)}};Vn.ProtocolNotificationType0=i3;var s3=class extends Gl.NotificationType{constructor(e){super(e,Gl.ParameterStructures.byName)}};Vn.ProtocolNotificationType=s3});var Yge=m(er=>{"use strict";Object.defineProperty(er,"__esModule",{value:!0});er.objectLiteral=er.typedArray=er.stringArray=er.array=er.func=er.error=er.number=er.string=er.boolean=void 0;function Wvt(t){return t===!0||t===!1}er.boolean=Wvt;function Gge(t){return typeof t=="string"||t instanceof String}er.string=Gge;function zvt(t){return typeof t=="number"||t instanceof Number}er.number=zvt;function Uvt(t){return t instanceof Error}er.error=Uvt;function Hvt(t){return typeof t=="function"}er.func=Hvt;function Kge(t){return Array.isArray(t)}er.array=Kge;function Vvt(t){return Kge(t)&&t.every(e=>Gge(e))}er.stringArray=Vvt;function Gvt(t,e){return Array.isArray(t)&&t.every(e)}er.typedArray=Gvt;function Kvt(t){return t!==null&&typeof t=="object"}er.objectLiteral=Kvt});var Qge=m(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.ImplementationRequest=void 0;var Yvt=gr(),Qvt;(function(t){t.method="textDocument/implementation",t.type=new Yvt.ProtocolRequestType(t.method)})(Qvt=Pp.ImplementationRequest||(Pp.ImplementationRequest={}))});var Jge=m(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.TypeDefinitionRequest=void 0;var Jvt=gr(),Xvt;(function(t){t.method="textDocument/typeDefinition",t.type=new Jvt.ProtocolRequestType(t.method)})(Xvt=Tp.TypeDefinitionRequest||(Tp.TypeDefinitionRequest={}))});var Zge=m(fo=>{"use strict";Object.defineProperty(fo,"__esModule",{value:!0});fo.DidChangeWorkspaceFoldersNotification=fo.WorkspaceFoldersRequest=void 0;var Xge=gr(),Zvt;(function(t){t.type=new Xge.ProtocolRequestType0("workspace/workspaceFolders")})(Zvt=fo.WorkspaceFoldersRequest||(fo.WorkspaceFoldersRequest={}));var ewt;(function(t){t.type=new Xge.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")})(ewt=fo.DidChangeWorkspaceFoldersNotification||(fo.DidChangeWorkspaceFoldersNotification={}))});var eme=m(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.ConfigurationRequest=void 0;var twt=gr(),rwt;(function(t){t.type=new twt.ProtocolRequestType("workspace/configuration")})(rwt=Mp.ConfigurationRequest||(Mp.ConfigurationRequest={}))});var rme=m(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.ColorPresentationRequest=po.DocumentColorRequest=void 0;var tme=gr(),nwt;(function(t){t.method="textDocument/documentColor",t.type=new tme.ProtocolRequestType(t.method)})(nwt=po.DocumentColorRequest||(po.DocumentColorRequest={}));var iwt;(function(t){t.type=new tme.ProtocolRequestType("textDocument/colorPresentation")})(iwt=po.ColorPresentationRequest||(po.ColorPresentationRequest={}))});var nme=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.FoldingRangeRequest=ho.FoldingRangeKind=void 0;var swt=gr(),owt;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(owt=ho.FoldingRangeKind||(ho.FoldingRangeKind={}));var awt;(function(t){t.method="textDocument/foldingRange",t.type=new swt.ProtocolRequestType(t.method)})(awt=ho.FoldingRangeRequest||(ho.FoldingRangeRequest={}))});var ime=m(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.DeclarationRequest=void 0;var uwt=gr(),lwt;(function(t){t.method="textDocument/declaration",t.type=new uwt.ProtocolRequestType(t.method)})(lwt=Fp.DeclarationRequest||(Fp.DeclarationRequest={}))});var sme=m(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.SelectionRangeRequest=void 0;var cwt=gr(),fwt;(function(t){t.method="textDocument/selectionRange",t.type=new cwt.ProtocolRequestType(t.method)})(fwt=Lp.SelectionRangeRequest||(Lp.SelectionRangeRequest={}))});var ame=m(pi=>{"use strict";Object.defineProperty(pi,"__esModule",{value:!0});pi.WorkDoneProgressCancelNotification=pi.WorkDoneProgressCreateRequest=pi.WorkDoneProgress=void 0;var dwt=Vl(),ome=gr(),pwt;(function(t){t.type=new dwt.ProgressType;function e(r){return r===t.type}t.is=e})(pwt=pi.WorkDoneProgress||(pi.WorkDoneProgress={}));var hwt;(function(t){t.type=new ome.ProtocolRequestType("window/workDoneProgress/create")})(hwt=pi.WorkDoneProgressCreateRequest||(pi.WorkDoneProgressCreateRequest={}));var gwt;(function(t){t.type=new ome.ProtocolNotificationType("window/workDoneProgress/cancel")})(gwt=pi.WorkDoneProgressCancelNotification||(pi.WorkDoneProgressCancelNotification={}))});var ume=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.CallHierarchyOutgoingCallsRequest=hi.CallHierarchyIncomingCallsRequest=hi.CallHierarchyPrepareRequest=void 0;var o3=gr(),mwt;(function(t){t.method="textDocument/prepareCallHierarchy",t.type=new o3.ProtocolRequestType(t.method)})(mwt=hi.CallHierarchyPrepareRequest||(hi.CallHierarchyPrepareRequest={}));var ywt;(function(t){t.method="callHierarchy/incomingCalls",t.type=new o3.ProtocolRequestType(t.method)})(ywt=hi.CallHierarchyIncomingCallsRequest||(hi.CallHierarchyIncomingCallsRequest={}));var bwt;(function(t){t.method="callHierarchy/outgoingCalls",t.type=new o3.ProtocolRequestType(t.method)})(bwt=hi.CallHierarchyOutgoingCallsRequest||(hi.CallHierarchyOutgoingCallsRequest={}))});var lme=m(ft=>{"use strict";Object.defineProperty(ft,"__esModule",{value:!0});ft.SemanticTokensRefreshRequest=ft.SemanticTokensRangeRequest=ft.SemanticTokensDeltaRequest=ft.SemanticTokensRequest=ft.SemanticTokensRegistrationType=ft.TokenFormat=ft.SemanticTokens=ft.SemanticTokenModifiers=ft.SemanticTokenTypes=void 0;var Ip=gr(),vwt;(function(t){t.namespace="namespace",t.type="type",t.class="class",t.enum="enum",t.interface="interface",t.struct="struct",t.typeParameter="typeParameter",t.parameter="parameter",t.variable="variable",t.property="property",t.enumMember="enumMember",t.event="event",t.function="function",t.method="method",t.macro="macro",t.keyword="keyword",t.modifier="modifier",t.comment="comment",t.string="string",t.number="number",t.regexp="regexp",t.operator="operator"})(vwt=ft.SemanticTokenTypes||(ft.SemanticTokenTypes={}));var wwt;(function(t){t.declaration="declaration",t.definition="definition",t.readonly="readonly",t.static="static",t.deprecated="deprecated",t.abstract="abstract",t.async="async",t.modification="modification",t.documentation="documentation",t.defaultLibrary="defaultLibrary"})(wwt=ft.SemanticTokenModifiers||(ft.SemanticTokenModifiers={}));var _wt;(function(t){function e(r){let n=r;return n!==void 0&&(n.resultId===void 0||typeof n.resultId=="string")&&Array.isArray(n.data)&&(n.data.length===0||typeof n.data[0]=="number")}t.is=e})(_wt=ft.SemanticTokens||(ft.SemanticTokens={}));var xwt;(function(t){t.Relative="relative"})(xwt=ft.TokenFormat||(ft.TokenFormat={}));var Swt;(function(t){t.method="textDocument/semanticTokens",t.type=new Ip.RegistrationType(t.method)})(Swt=ft.SemanticTokensRegistrationType||(ft.SemanticTokensRegistrationType={}));var kwt;(function(t){t.method="textDocument/semanticTokens/full",t.type=new Ip.ProtocolRequestType(t.method)})(kwt=ft.SemanticTokensRequest||(ft.SemanticTokensRequest={}));var Ewt;(function(t){t.method="textDocument/semanticTokens/full/delta",t.type=new Ip.ProtocolRequestType(t.method)})(Ewt=ft.SemanticTokensDeltaRequest||(ft.SemanticTokensDeltaRequest={}));var Cwt;(function(t){t.method="textDocument/semanticTokens/range",t.type=new Ip.ProtocolRequestType(t.method)})(Cwt=ft.SemanticTokensRangeRequest||(ft.SemanticTokensRangeRequest={}));var Dwt;(function(t){t.method="workspace/semanticTokens/refresh",t.type=new Ip.ProtocolRequestType0(t.method)})(Dwt=ft.SemanticTokensRefreshRequest||(ft.SemanticTokensRefreshRequest={}))});var cme=m(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.ShowDocumentRequest=void 0;var Owt=gr(),qwt;(function(t){t.method="window/showDocument",t.type=new Owt.ProtocolRequestType(t.method)})(qwt=Np.ShowDocumentRequest||(Np.ShowDocumentRequest={}))});var fme=m(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.LinkedEditingRangeRequest=void 0;var Rwt=gr(),Awt;(function(t){t.method="textDocument/linkedEditingRange",t.type=new Rwt.ProtocolRequestType(t.method)})(Awt=jp.LinkedEditingRangeRequest||(jp.LinkedEditingRangeRequest={}))});var dme=m(Wt=>{"use strict";Object.defineProperty(Wt,"__esModule",{value:!0});Wt.WillDeleteFilesRequest=Wt.DidDeleteFilesNotification=Wt.DidRenameFilesNotification=Wt.WillRenameFilesRequest=Wt.DidCreateFilesNotification=Wt.WillCreateFilesRequest=Wt.FileOperationPatternKind=void 0;var Kl=gr(),Pwt;(function(t){t.file="file",t.folder="folder"})(Pwt=Wt.FileOperationPatternKind||(Wt.FileOperationPatternKind={}));var Twt;(function(t){t.method="workspace/willCreateFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Twt=Wt.WillCreateFilesRequest||(Wt.WillCreateFilesRequest={}));var Mwt;(function(t){t.method="workspace/didCreateFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Mwt=Wt.DidCreateFilesNotification||(Wt.DidCreateFilesNotification={}));var Fwt;(function(t){t.method="workspace/willRenameFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Fwt=Wt.WillRenameFilesRequest||(Wt.WillRenameFilesRequest={}));var Lwt;(function(t){t.method="workspace/didRenameFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Lwt=Wt.DidRenameFilesNotification||(Wt.DidRenameFilesNotification={}));var Iwt;(function(t){t.method="workspace/didDeleteFiles",t.type=new Kl.ProtocolNotificationType(t.method)})(Iwt=Wt.DidDeleteFilesNotification||(Wt.DidDeleteFilesNotification={}));var Nwt;(function(t){t.method="workspace/willDeleteFiles",t.type=new Kl.ProtocolRequestType(t.method)})(Nwt=Wt.WillDeleteFilesRequest||(Wt.WillDeleteFilesRequest={}))});var pme=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.MonikerRequest=gi.MonikerKind=gi.UniquenessLevel=void 0;var jwt=gr(),$wt;(function(t){t.document="document",t.project="project",t.group="group",t.scheme="scheme",t.global="global"})($wt=gi.UniquenessLevel||(gi.UniquenessLevel={}));var Bwt;(function(t){t.import="import",t.export="export",t.local="local"})(Bwt=gi.MonikerKind||(gi.MonikerKind={}));var Wwt;(function(t){t.method="textDocument/moniker",t.type=new jwt.ProtocolRequestType(t.method)})(Wwt=gi.MonikerRequest||(gi.MonikerRequest={}))});var bme=m(O=>{"use strict";Object.defineProperty(O,"__esModule",{value:!0});O.DocumentLinkRequest=O.CodeLensRefreshRequest=O.CodeLensResolveRequest=O.CodeLensRequest=O.WorkspaceSymbolRequest=O.CodeActionResolveRequest=O.CodeActionRequest=O.DocumentSymbolRequest=O.DocumentHighlightRequest=O.ReferencesRequest=O.DefinitionRequest=O.SignatureHelpRequest=O.SignatureHelpTriggerKind=O.HoverRequest=O.CompletionResolveRequest=O.CompletionRequest=O.CompletionTriggerKind=O.PublishDiagnosticsNotification=O.WatchKind=O.FileChangeType=O.DidChangeWatchedFilesNotification=O.WillSaveTextDocumentWaitUntilRequest=O.WillSaveTextDocumentNotification=O.TextDocumentSaveReason=O.DidSaveTextDocumentNotification=O.DidCloseTextDocumentNotification=O.DidChangeTextDocumentNotification=O.TextDocumentContentChangeEvent=O.DidOpenTextDocumentNotification=O.TextDocumentSyncKind=O.TelemetryEventNotification=O.LogMessageNotification=O.ShowMessageRequest=O.ShowMessageNotification=O.MessageType=O.DidChangeConfigurationNotification=O.ExitNotification=O.ShutdownRequest=O.InitializedNotification=O.InitializeError=O.InitializeRequest=O.WorkDoneProgressOptions=O.TextDocumentRegistrationOptions=O.StaticRegistrationOptions=O.FailureHandlingKind=O.ResourceOperationKind=O.UnregistrationRequest=O.RegistrationRequest=O.DocumentSelector=O.DocumentFilter=void 0;O.MonikerRequest=O.MonikerKind=O.UniquenessLevel=O.WillDeleteFilesRequest=O.DidDeleteFilesNotification=O.WillRenameFilesRequest=O.DidRenameFilesNotification=O.WillCreateFilesRequest=O.DidCreateFilesNotification=O.FileOperationPatternKind=O.LinkedEditingRangeRequest=O.ShowDocumentRequest=O.SemanticTokensRegistrationType=O.SemanticTokensRefreshRequest=O.SemanticTokensRangeRequest=O.SemanticTokensDeltaRequest=O.SemanticTokensRequest=O.TokenFormat=O.SemanticTokens=O.SemanticTokenModifiers=O.SemanticTokenTypes=O.CallHierarchyPrepareRequest=O.CallHierarchyOutgoingCallsRequest=O.CallHierarchyIncomingCallsRequest=O.WorkDoneProgressCancelNotification=O.WorkDoneProgressCreateRequest=O.WorkDoneProgress=O.SelectionRangeRequest=O.DeclarationRequest=O.FoldingRangeRequest=O.ColorPresentationRequest=O.DocumentColorRequest=O.ConfigurationRequest=O.DidChangeWorkspaceFoldersNotification=O.WorkspaceFoldersRequest=O.TypeDefinitionRequest=O.ImplementationRequest=O.ApplyWorkspaceEditRequest=O.ExecuteCommandRequest=O.PrepareRenameRequest=O.RenameRequest=O.PrepareSupportDefaultBehavior=O.DocumentOnTypeFormattingRequest=O.DocumentRangeFormattingRequest=O.DocumentFormattingRequest=O.DocumentLinkResolveRequest=void 0;var go=Yge(),ze=gr(),zwt=Qge();Object.defineProperty(O,"ImplementationRequest",{enumerable:!0,get:function(){return zwt.ImplementationRequest}});var Uwt=Jge();Object.defineProperty(O,"TypeDefinitionRequest",{enumerable:!0,get:function(){return Uwt.TypeDefinitionRequest}});var hme=Zge();Object.defineProperty(O,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return hme.WorkspaceFoldersRequest}});Object.defineProperty(O,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return hme.DidChangeWorkspaceFoldersNotification}});var Hwt=eme();Object.defineProperty(O,"ConfigurationRequest",{enumerable:!0,get:function(){return Hwt.ConfigurationRequest}});var gme=rme();Object.defineProperty(O,"DocumentColorRequest",{enumerable:!0,get:function(){return gme.DocumentColorRequest}});Object.defineProperty(O,"ColorPresentationRequest",{enumerable:!0,get:function(){return gme.ColorPresentationRequest}});var Vwt=nme();Object.defineProperty(O,"FoldingRangeRequest",{enumerable:!0,get:function(){return Vwt.FoldingRangeRequest}});var Gwt=ime();Object.defineProperty(O,"DeclarationRequest",{enumerable:!0,get:function(){return Gwt.DeclarationRequest}});var Kwt=sme();Object.defineProperty(O,"SelectionRangeRequest",{enumerable:!0,get:function(){return Kwt.SelectionRangeRequest}});var a3=ame();Object.defineProperty(O,"WorkDoneProgress",{enumerable:!0,get:function(){return a3.WorkDoneProgress}});Object.defineProperty(O,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return a3.WorkDoneProgressCreateRequest}});Object.defineProperty(O,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return a3.WorkDoneProgressCancelNotification}});var u3=ume();Object.defineProperty(O,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return u3.CallHierarchyIncomingCallsRequest}});Object.defineProperty(O,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return u3.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(O,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return u3.CallHierarchyPrepareRequest}});var xs=lme();Object.defineProperty(O,"SemanticTokenTypes",{enumerable:!0,get:function(){return xs.SemanticTokenTypes}});Object.defineProperty(O,"SemanticTokenModifiers",{enumerable:!0,get:function(){return xs.SemanticTokenModifiers}});Object.defineProperty(O,"SemanticTokens",{enumerable:!0,get:function(){return xs.SemanticTokens}});Object.defineProperty(O,"TokenFormat",{enumerable:!0,get:function(){return xs.TokenFormat}});Object.defineProperty(O,"SemanticTokensRequest",{enumerable:!0,get:function(){return xs.SemanticTokensRequest}});Object.defineProperty(O,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return xs.SemanticTokensDeltaRequest}});Object.defineProperty(O,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return xs.SemanticTokensRangeRequest}});Object.defineProperty(O,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return xs.SemanticTokensRefreshRequest}});Object.defineProperty(O,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return xs.SemanticTokensRegistrationType}});var Ywt=cme();Object.defineProperty(O,"ShowDocumentRequest",{enumerable:!0,get:function(){return Ywt.ShowDocumentRequest}});var Qwt=fme();Object.defineProperty(O,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return Qwt.LinkedEditingRangeRequest}});var Wa=dme();Object.defineProperty(O,"FileOperationPatternKind",{enumerable:!0,get:function(){return Wa.FileOperationPatternKind}});Object.defineProperty(O,"DidCreateFilesNotification",{enumerable:!0,get:function(){return Wa.DidCreateFilesNotification}});Object.defineProperty(O,"WillCreateFilesRequest",{enumerable:!0,get:function(){return Wa.WillCreateFilesRequest}});Object.defineProperty(O,"DidRenameFilesNotification",{enumerable:!0,get:function(){return Wa.DidRenameFilesNotification}});Object.defineProperty(O,"WillRenameFilesRequest",{enumerable:!0,get:function(){return Wa.WillRenameFilesRequest}});Object.defineProperty(O,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return Wa.DidDeleteFilesNotification}});Object.defineProperty(O,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return Wa.WillDeleteFilesRequest}});var l3=pme();Object.defineProperty(O,"UniquenessLevel",{enumerable:!0,get:function(){return l3.UniquenessLevel}});Object.defineProperty(O,"MonikerKind",{enumerable:!0,get:function(){return l3.MonikerKind}});Object.defineProperty(O,"MonikerRequest",{enumerable:!0,get:function(){return l3.MonikerRequest}});var mme;(function(t){function e(r){let n=r;return go.string(n.language)||go.string(n.scheme)||go.string(n.pattern)}t.is=e})(mme=O.DocumentFilter||(O.DocumentFilter={}));var yme;(function(t){function e(r){if(!Array.isArray(r))return!1;for(let n of r)if(!go.string(n)&&!mme.is(n))return!1;return!0}t.is=e})(yme=O.DocumentSelector||(O.DocumentSelector={}));var Jwt;(function(t){t.type=new ze.ProtocolRequestType("client/registerCapability")})(Jwt=O.RegistrationRequest||(O.RegistrationRequest={}));var Xwt;(function(t){t.type=new ze.ProtocolRequestType("client/unregisterCapability")})(Xwt=O.UnregistrationRequest||(O.UnregistrationRequest={}));var Zwt;(function(t){t.Create="create",t.Rename="rename",t.Delete="delete"})(Zwt=O.ResourceOperationKind||(O.ResourceOperationKind={}));var e_t;(function(t){t.Abort="abort",t.Transactional="transactional",t.TextOnlyTransactional="textOnlyTransactional",t.Undo="undo"})(e_t=O.FailureHandlingKind||(O.FailureHandlingKind={}));var t_t;(function(t){function e(r){let n=r;return n&&go.string(n.id)&&n.id.length>0}t.hasId=e})(t_t=O.StaticRegistrationOptions||(O.StaticRegistrationOptions={}));var r_t;(function(t){function e(r){let n=r;return n&&(n.documentSelector===null||yme.is(n.documentSelector))}t.is=e})(r_t=O.TextDocumentRegistrationOptions||(O.TextDocumentRegistrationOptions={}));var n_t;(function(t){function e(n){let i=n;return go.objectLiteral(i)&&(i.workDoneProgress===void 0||go.boolean(i.workDoneProgress))}t.is=e;function r(n){let i=n;return i&&go.boolean(i.workDoneProgress)}t.hasWorkDoneProgress=r})(n_t=O.WorkDoneProgressOptions||(O.WorkDoneProgressOptions={}));var i_t;(function(t){t.type=new ze.ProtocolRequestType("initialize")})(i_t=O.InitializeRequest||(O.InitializeRequest={}));var s_t;(function(t){t.unknownProtocolVersion=1})(s_t=O.InitializeError||(O.InitializeError={}));var o_t;(function(t){t.type=new ze.ProtocolNotificationType("initialized")})(o_t=O.InitializedNotification||(O.InitializedNotification={}));var a_t;(function(t){t.type=new ze.ProtocolRequestType0("shutdown")})(a_t=O.ShutdownRequest||(O.ShutdownRequest={}));var u_t;(function(t){t.type=new ze.ProtocolNotificationType0("exit")})(u_t=O.ExitNotification||(O.ExitNotification={}));var l_t;(function(t){t.type=new ze.ProtocolNotificationType("workspace/didChangeConfiguration")})(l_t=O.DidChangeConfigurationNotification||(O.DidChangeConfigurationNotification={}));var c_t;(function(t){t.Error=1,t.Warning=2,t.Info=3,t.Log=4})(c_t=O.MessageType||(O.MessageType={}));var f_t;(function(t){t.type=new ze.ProtocolNotificationType("window/showMessage")})(f_t=O.ShowMessageNotification||(O.ShowMessageNotification={}));var d_t;(function(t){t.type=new ze.ProtocolRequestType("window/showMessageRequest")})(d_t=O.ShowMessageRequest||(O.ShowMessageRequest={}));var p_t;(function(t){t.type=new ze.ProtocolNotificationType("window/logMessage")})(p_t=O.LogMessageNotification||(O.LogMessageNotification={}));var h_t;(function(t){t.type=new ze.ProtocolNotificationType("telemetry/event")})(h_t=O.TelemetryEventNotification||(O.TelemetryEventNotification={}));var g_t;(function(t){t.None=0,t.Full=1,t.Incremental=2})(g_t=O.TextDocumentSyncKind||(O.TextDocumentSyncKind={}));var m_t;(function(t){t.method="textDocument/didOpen",t.type=new ze.ProtocolNotificationType(t.method)})(m_t=O.DidOpenTextDocumentNotification||(O.DidOpenTextDocumentNotification={}));var y_t;(function(t){function e(n){let i=n;return i!=null&&typeof i.text=="string"&&i.range!==void 0&&(i.rangeLength===void 0||typeof i.rangeLength=="number")}t.isIncremental=e;function r(n){let i=n;return i!=null&&typeof i.text=="string"&&i.range===void 0&&i.rangeLength===void 0}t.isFull=r})(y_t=O.TextDocumentContentChangeEvent||(O.TextDocumentContentChangeEvent={}));var b_t;(function(t){t.method="textDocument/didChange",t.type=new ze.ProtocolNotificationType(t.method)})(b_t=O.DidChangeTextDocumentNotification||(O.DidChangeTextDocumentNotification={}));var v_t;(function(t){t.method="textDocument/didClose",t.type=new ze.ProtocolNotificationType(t.method)})(v_t=O.DidCloseTextDocumentNotification||(O.DidCloseTextDocumentNotification={}));var w_t;(function(t){t.method="textDocument/didSave",t.type=new ze.ProtocolNotificationType(t.method)})(w_t=O.DidSaveTextDocumentNotification||(O.DidSaveTextDocumentNotification={}));var __t;(function(t){t.Manual=1,t.AfterDelay=2,t.FocusOut=3})(__t=O.TextDocumentSaveReason||(O.TextDocumentSaveReason={}));var x_t;(function(t){t.method="textDocument/willSave",t.type=new ze.ProtocolNotificationType(t.method)})(x_t=O.WillSaveTextDocumentNotification||(O.WillSaveTextDocumentNotification={}));var S_t;(function(t){t.method="textDocument/willSaveWaitUntil",t.type=new ze.ProtocolRequestType(t.method)})(S_t=O.WillSaveTextDocumentWaitUntilRequest||(O.WillSaveTextDocumentWaitUntilRequest={}));var k_t;(function(t){t.type=new ze.ProtocolNotificationType("workspace/didChangeWatchedFiles")})(k_t=O.DidChangeWatchedFilesNotification||(O.DidChangeWatchedFilesNotification={}));var E_t;(function(t){t.Created=1,t.Changed=2,t.Deleted=3})(E_t=O.FileChangeType||(O.FileChangeType={}));var C_t;(function(t){t.Create=1,t.Change=2,t.Delete=4})(C_t=O.WatchKind||(O.WatchKind={}));var D_t;(function(t){t.type=new ze.ProtocolNotificationType("textDocument/publishDiagnostics")})(D_t=O.PublishDiagnosticsNotification||(O.PublishDiagnosticsNotification={}));var O_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.TriggerForIncompleteCompletions=3})(O_t=O.CompletionTriggerKind||(O.CompletionTriggerKind={}));var q_t;(function(t){t.method="textDocument/completion",t.type=new ze.ProtocolRequestType(t.method)})(q_t=O.CompletionRequest||(O.CompletionRequest={}));var R_t;(function(t){t.method="completionItem/resolve",t.type=new ze.ProtocolRequestType(t.method)})(R_t=O.CompletionResolveRequest||(O.CompletionResolveRequest={}));var A_t;(function(t){t.method="textDocument/hover",t.type=new ze.ProtocolRequestType(t.method)})(A_t=O.HoverRequest||(O.HoverRequest={}));var P_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.ContentChange=3})(P_t=O.SignatureHelpTriggerKind||(O.SignatureHelpTriggerKind={}));var T_t;(function(t){t.method="textDocument/signatureHelp",t.type=new ze.ProtocolRequestType(t.method)})(T_t=O.SignatureHelpRequest||(O.SignatureHelpRequest={}));var M_t;(function(t){t.method="textDocument/definition",t.type=new ze.ProtocolRequestType(t.method)})(M_t=O.DefinitionRequest||(O.DefinitionRequest={}));var F_t;(function(t){t.method="textDocument/references",t.type=new ze.ProtocolRequestType(t.method)})(F_t=O.ReferencesRequest||(O.ReferencesRequest={}));var L_t;(function(t){t.method="textDocument/documentHighlight",t.type=new ze.ProtocolRequestType(t.method)})(L_t=O.DocumentHighlightRequest||(O.DocumentHighlightRequest={}));var I_t;(function(t){t.method="textDocument/documentSymbol",t.type=new ze.ProtocolRequestType(t.method)})(I_t=O.DocumentSymbolRequest||(O.DocumentSymbolRequest={}));var N_t;(function(t){t.method="textDocument/codeAction",t.type=new ze.ProtocolRequestType(t.method)})(N_t=O.CodeActionRequest||(O.CodeActionRequest={}));var j_t;(function(t){t.method="codeAction/resolve",t.type=new ze.ProtocolRequestType(t.method)})(j_t=O.CodeActionResolveRequest||(O.CodeActionResolveRequest={}));var $_t;(function(t){t.method="workspace/symbol",t.type=new ze.ProtocolRequestType(t.method)})($_t=O.WorkspaceSymbolRequest||(O.WorkspaceSymbolRequest={}));var B_t;(function(t){t.method="textDocument/codeLens",t.type=new ze.ProtocolRequestType(t.method)})(B_t=O.CodeLensRequest||(O.CodeLensRequest={}));var W_t;(function(t){t.method="codeLens/resolve",t.type=new ze.ProtocolRequestType(t.method)})(W_t=O.CodeLensResolveRequest||(O.CodeLensResolveRequest={}));var z_t;(function(t){t.method="workspace/codeLens/refresh",t.type=new ze.ProtocolRequestType0(t.method)})(z_t=O.CodeLensRefreshRequest||(O.CodeLensRefreshRequest={}));var U_t;(function(t){t.method="textDocument/documentLink",t.type=new ze.ProtocolRequestType(t.method)})(U_t=O.DocumentLinkRequest||(O.DocumentLinkRequest={}));var H_t;(function(t){t.method="documentLink/resolve",t.type=new ze.ProtocolRequestType(t.method)})(H_t=O.DocumentLinkResolveRequest||(O.DocumentLinkResolveRequest={}));var V_t;(function(t){t.method="textDocument/formatting",t.type=new ze.ProtocolRequestType(t.method)})(V_t=O.DocumentFormattingRequest||(O.DocumentFormattingRequest={}));var G_t;(function(t){t.method="textDocument/rangeFormatting",t.type=new ze.ProtocolRequestType(t.method)})(G_t=O.DocumentRangeFormattingRequest||(O.DocumentRangeFormattingRequest={}));var K_t;(function(t){t.method="textDocument/onTypeFormatting",t.type=new ze.ProtocolRequestType(t.method)})(K_t=O.DocumentOnTypeFormattingRequest||(O.DocumentOnTypeFormattingRequest={}));var Y_t;(function(t){t.Identifier=1})(Y_t=O.PrepareSupportDefaultBehavior||(O.PrepareSupportDefaultBehavior={}));var Q_t;(function(t){t.method="textDocument/rename",t.type=new ze.ProtocolRequestType(t.method)})(Q_t=O.RenameRequest||(O.RenameRequest={}));var J_t;(function(t){t.method="textDocument/prepareRename",t.type=new ze.ProtocolRequestType(t.method)})(J_t=O.PrepareRenameRequest||(O.PrepareRenameRequest={}));var X_t;(function(t){t.type=new ze.ProtocolRequestType("workspace/executeCommand")})(X_t=O.ExecuteCommandRequest||(O.ExecuteCommandRequest={}));var Z_t;(function(t){t.type=new ze.ProtocolRequestType("workspace/applyEdit")})(Z_t=O.ApplyWorkspaceEditRequest||(O.ApplyWorkspaceEditRequest={}))});var wme=m(Zk=>{"use strict";Object.defineProperty(Zk,"__esModule",{value:!0});Zk.createProtocolConnection=void 0;var vme=Vl();function ext(t,e,r,n){return vme.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),vme.createMessageConnection(t,e,r,n)}Zk.createProtocolConnection=ext});var _me=m(Qr=>{"use strict";var txt=Qr&&Qr.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),eE=Qr&&Qr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&txt(e,t,r)};Object.defineProperty(Qr,"__esModule",{value:!0});Qr.LSPErrorCodes=Qr.createProtocolConnection=void 0;eE(Vl(),Qr);eE(Vge(),Qr);eE(gr(),Qr);eE(bme(),Qr);var rxt=wme();Object.defineProperty(Qr,"createProtocolConnection",{enumerable:!0,get:function(){return rxt.createProtocolConnection}});var nxt;(function(t){t.lspReservedErrorRangeStart=-32899,t.ContentModified=-32801,t.RequestCancelled=-32800,t.lspReservedErrorRangeEnd=-32800})(nxt=Qr.LSPErrorCodes||(Qr.LSPErrorCodes={}))});var En=m(Hi=>{"use strict";var ixt=Hi&&Hi.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),xme=Hi&&Hi.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&ixt(e,t,r)};Object.defineProperty(Hi,"__esModule",{value:!0});Hi.createProtocolConnection=void 0;var sxt=e3();xme(e3(),Hi);xme(_me(),Hi);function oxt(t,e,r,n){return sxt.createMessageConnection(t,e,r,n)}Hi.createProtocolConnection=oxt});var c3=m(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.generateUuid=Gn.parse=Gn.isUUID=Gn.v4=Gn.empty=void 0;var $p=class{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}},Ge=class extends $p{constructor(){super([Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-","4",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._oneOf(Ge._timeHighBits),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),"-",Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex(),Ge._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return Ge._oneOf(Ge._chars)}};Ge._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];Ge._timeHighBits=["8","9","a","b"];Gn.empty=new $p("00000000-0000-0000-0000-000000000000");function Sme(){return new Ge}Gn.v4=Sme;var axt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function kme(t){return axt.test(t)}Gn.isUUID=kme;function uxt(t){if(!kme(t))throw new Error("invalid uuid");return new $p(t)}Gn.parse=uxt;function lxt(){return Sme().asHex()}Gn.generateUuid=lxt});var Eme=m(yo=>{"use strict";Object.defineProperty(yo,"__esModule",{value:!0});yo.attachPartialResult=yo.ProgressFeature=yo.attachWorkDone=void 0;var mo=En(),cxt=c3(),Vi=class{constructor(e,r){this._connection=e,this._token=r,Vi.Instances.set(this._token,this)}begin(e,r,n,i){let s={kind:"begin",title:e,percentage:r,message:n,cancellable:i};this._connection.sendProgress(mo.WorkDoneProgress.type,this._token,s)}report(e,r){let n={kind:"report"};typeof e=="number"?(n.percentage=e,r!==void 0&&(n.message=r)):n.message=e,this._connection.sendProgress(mo.WorkDoneProgress.type,this._token,n)}done(){Vi.Instances.delete(this._token),this._connection.sendProgress(mo.WorkDoneProgress.type,this._token,{kind:"end"})}};Vi.Instances=new Map;var tE=class extends Vi{constructor(e,r){super(e,r),this._source=new mo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}},Bp=class{constructor(){}begin(){}report(){}done(){}},rE=class extends Bp{constructor(){super(),this._source=new mo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}};function fxt(t,e){if(e===void 0||e.workDoneToken===void 0)return new Bp;let r=e.workDoneToken;return delete e.workDoneToken,new Vi(t,r)}yo.attachWorkDone=fxt;var dxt=t=>class extends t{constructor(){super(),this._progressSupported=!1}initialize(e){var r;((r=e?.window)===null||r===void 0?void 0:r.workDoneProgress)===!0&&(this._progressSupported=!0,this.connection.onNotification(mo.WorkDoneProgressCancelNotification.type,n=>{let i=Vi.Instances.get(n.token);(i instanceof tE||i instanceof rE)&&i.cancel()}))}attachWorkDoneProgress(e){return e===void 0?new Bp:new Vi(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){let e=cxt.generateUuid();return this.connection.sendRequest(mo.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>new tE(this.connection,e))}else return Promise.resolve(new rE)}};yo.ProgressFeature=dxt;var f3;(function(t){t.type=new mo.ProgressType})(f3||(f3={}));var d3=class{constructor(e,r){this._connection=e,this._token=r}report(e){this._connection.sendProgress(f3.type,this._token,e)}};function pxt(t,e){if(e===void 0||e.partialResultToken===void 0)return;let r=e.partialResultToken;return delete e.partialResultToken,new d3(t,r)}yo.attachPartialResult=pxt});var Cme=m(nE=>{"use strict";Object.defineProperty(nE,"__esModule",{value:!0});nE.ConfigurationFeature=void 0;var hxt=En(),gxt=jk(),mxt=t=>class extends t{getConfiguration(e){return e?gxt.string(e)?this._getConfiguration({section:e}):this._getConfiguration(e):this._getConfiguration({})}_getConfiguration(e){let r={items:Array.isArray(e)?e:[e]};return this.connection.sendRequest(hxt.ConfigurationRequest.type,r).then(n=>Array.isArray(e)?n:n[0])}};nE.ConfigurationFeature=mxt});var Dme=m(sE=>{"use strict";Object.defineProperty(sE,"__esModule",{value:!0});sE.WorkspaceFoldersFeature=void 0;var iE=En(),yxt=t=>class extends t{initialize(e){let r=e.workspace;r&&r.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new iE.Emitter,this.connection.onNotification(iE.DidChangeWorkspaceFoldersNotification.type,n=>{this._onDidChangeWorkspaceFolders.fire(n.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(iE.WorkspaceFoldersRequest.type)}get onDidChangeWorkspaceFolders(){if(!this._onDidChangeWorkspaceFolders)throw new Error("Client doesn't support sending workspace folder change events.");return this._unregistration||(this._unregistration=this.connection.client.register(iE.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}};sE.WorkspaceFoldersFeature=yxt});var Ome=m(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.CallHierarchyFeature=void 0;var p3=En(),bxt=t=>class extends t{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(p3.CallHierarchyPrepareRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))},onIncomingCalls:e=>{let r=p3.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onOutgoingCalls:e=>{let r=p3.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};oE.CallHierarchyFeature=bxt});var m3=m(Yl=>{"use strict";Object.defineProperty(Yl,"__esModule",{value:!0});Yl.SemanticTokensBuilder=Yl.SemanticTokensFeature=void 0;var h3=En(),vxt=t=>class extends t{get semanticTokens(){return{on:e=>{let r=h3.SemanticTokensRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onDelta:e=>{let r=h3.SemanticTokensDeltaRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onRange:e=>{let r=h3.SemanticTokensRangeRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};Yl.SemanticTokensFeature=vxt;var g3=class{constructor(){this._prevData=void 0,this.initialize()}initialize(){this._id=Date.now(),this._prevLine=0,this._prevChar=0,this._data=[],this._dataLen=0}push(e,r,n,i,s){let o=e,a=r;this._dataLen>0&&(o-=this._prevLine,o===0&&(a-=this._prevChar)),this._data[this._dataLen++]=o,this._data[this._dataLen++]=a,this._data[this._dataLen++]=n,this._data[this._dataLen++]=i,this._data[this._dataLen++]=s,this._prevLine=e,this._prevChar=r}get id(){return this._id.toString()}previousResult(e){this.id===e&&(this._prevData=this._data),this.initialize()}build(){return this._prevData=void 0,{resultId:this.id,data:this._data}}canBuildEdits(){return this._prevData!==void 0}buildEdits(){if(this._prevData!==void 0){let e=this._prevData.length,r=this._data.length,n=0;for(;n<r&&n<e&&this._prevData[n]===this._data[n];)n++;if(n<r&&n<e){let i=0;for(;i<r&&i<e&&this._prevData[e-1-i]===this._data[r-1-i];)i++;let s=this._data.slice(n,r-i);return{resultId:this.id,edits:[{start:n,deleteCount:e-i-n,data:s}]}}else return n<r?{resultId:this.id,edits:[{start:n,deleteCount:0,data:this._data.slice(n)}]}:n<e?{resultId:this.id,edits:[{start:n,deleteCount:e-n}]}:{resultId:this.id,edits:[]}}else return this.build()}};Yl.SemanticTokensBuilder=g3});var qme=m(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.ShowDocumentFeature=void 0;var wxt=En(),_xt=t=>class extends t{showDocument(e){return this.connection.sendRequest(wxt.ShowDocumentRequest.type,e)}};aE.ShowDocumentFeature=_xt});var Rme=m(uE=>{"use strict";Object.defineProperty(uE,"__esModule",{value:!0});uE.FileOperationsFeature=void 0;var Ql=En(),xxt=t=>class extends t{onDidCreateFiles(e){this.connection.onNotification(Ql.DidCreateFilesNotification.type,r=>{e(r)})}onDidRenameFiles(e){this.connection.onNotification(Ql.DidRenameFilesNotification.type,r=>{e(r)})}onDidDeleteFiles(e){this.connection.onNotification(Ql.DidDeleteFilesNotification.type,r=>{e(r)})}onWillCreateFiles(e){return this.connection.onRequest(Ql.WillCreateFilesRequest.type,(r,n)=>e(r,n))}onWillRenameFiles(e){return this.connection.onRequest(Ql.WillRenameFilesRequest.type,(r,n)=>e(r,n))}onWillDeleteFiles(e){return this.connection.onRequest(Ql.WillDeleteFilesRequest.type,(r,n)=>e(r,n))}};uE.FileOperationsFeature=xxt});var Ame=m(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});lE.LinkedEditingRangeFeature=void 0;var Sxt=En(),kxt=t=>class extends t{onLinkedEditingRange(e){this.connection.onRequest(Sxt.LinkedEditingRangeRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))}};lE.LinkedEditingRangeFeature=kxt});var Pme=m(cE=>{"use strict";Object.defineProperty(cE,"__esModule",{value:!0});cE.MonikerFeature=void 0;var Ext=En(),Cxt=t=>class extends t{get moniker(){return{on:e=>{let r=Ext.MonikerRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};cE.MonikerFeature=Cxt});var S3=m(rt=>{"use strict";Object.defineProperty(rt,"__esModule",{value:!0});rt.createConnection=rt.combineFeatures=rt.combineLanguagesFeatures=rt.combineWorkspaceFeatures=rt.combineWindowFeatures=rt.combineClientFeatures=rt.combineTracerFeatures=rt.combineTelemetryFeatures=rt.combineConsoleFeatures=rt._LanguagesImpl=rt.BulkUnregistration=rt.BulkRegistration=rt.ErrorMessageTracker=rt.TextDocuments=void 0;var he=En(),Kn=jk(),b3=c3(),Ue=Eme(),Dxt=Cme(),Oxt=Dme(),qxt=Ome(),Rxt=m3(),Axt=qme(),Pxt=Rme(),Txt=Ame(),Mxt=Pme();function y3(t){if(t!==null)return t}var v3=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new he.Emitter,this._onDidOpen=new he.Emitter,this._onDidClose=new he.Emitter,this._onDidSave=new he.Emitter,this._onWillSave=new he.Emitter}get onDidChangeContent(){return this._onDidChangeContent.event}get onDidOpen(){return this._onDidOpen.event}get onWillSave(){return this._onWillSave.event}onWillSaveWaitUntil(e){this._willSaveWaitUntil=e}get onDidSave(){return this._onDidSave.event}get onDidClose(){return this._onDidClose.event}get(e){return this._documents[e]}all(){return Object.keys(this._documents).map(e=>this._documents[e])}keys(){return Object.keys(this._documents)}listen(e){e.__textDocumentSync=he.TextDocumentSyncKind.Full,e.onDidOpenTextDocument(r=>{let n=r.textDocument,i=this._configuration.create(n.uri,n.languageId,n.version,n.text);this._documents[n.uri]=i;let s=Object.freeze({document:i});this._onDidOpen.fire(s),this._onDidChangeContent.fire(s)}),e.onDidChangeTextDocument(r=>{let n=r.textDocument,i=r.contentChanges;if(i.length===0)return;let s=this._documents[n.uri],{version:o}=n;if(o==null)throw new Error(`Received document change event for ${n.uri} without valid version identifier`);s=this._configuration.update(s,i,o),this._documents[n.uri]=s,this._onDidChangeContent.fire(Object.freeze({document:s}))}),e.onDidCloseTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&(delete this._documents[r.textDocument.uri],this._onDidClose.fire(Object.freeze({document:n})))}),e.onWillSaveTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&this._onWillSave.fire(Object.freeze({document:n,reason:r.reason}))}),e.onWillSaveTextDocumentWaitUntil((r,n)=>{let i=this._documents[r.textDocument.uri];return i&&this._willSaveWaitUntil?this._willSaveWaitUntil(Object.freeze({document:i,reason:r.reason}),n):[]}),e.onDidSaveTextDocument(r=>{let n=this._documents[r.textDocument.uri];n&&this._onDidSave.fire(Object.freeze({document:n}))})}};rt.TextDocuments=v3;var w3=class{constructor(){this._messages=Object.create(null)}add(e){let r=this._messages[e];r||(r=0),r++,this._messages[e]=r}sendErrors(e){Object.keys(this._messages).forEach(r=>{e.window.showErrorMessage(r)})}};rt.ErrorMessageTracker=w3;var fE=class{constructor(){}rawAttach(e){this._rawConnection=e}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}fillServerCapabilities(e){}initialize(e){}error(e){this.send(he.MessageType.Error,e)}warn(e){this.send(he.MessageType.Warning,e)}info(e){this.send(he.MessageType.Info,e)}log(e){this.send(he.MessageType.Log,e)}send(e,r){this._rawConnection&&this._rawConnection.sendNotification(he.LogMessageNotification.type,{type:e,message:r})}},_3=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}showErrorMessage(e,...r){let n={type:he.MessageType.Error,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}showWarningMessage(e,...r){let n={type:he.MessageType.Warning,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}showInformationMessage(e,...r){let n={type:he.MessageType.Info,message:e,actions:r};return this.connection.sendRequest(he.ShowMessageRequest.type,n).then(y3)}},Tme=Axt.ShowDocumentFeature(Ue.ProgressFeature(_3)),Fxt;(function(t){function e(){return new dE}t.create=e})(Fxt=rt.BulkRegistration||(rt.BulkRegistration={}));var dE=class{constructor(){this._registrations=[],this._registered=new Set}add(e,r){let n=Kn.string(e)?e:e.method;if(this._registered.has(n))throw new Error(`${n} is already added to this registration`);let i=b3.generateUuid();this._registrations.push({id:i,method:n,registerOptions:r||{}}),this._registered.add(n)}asRegistrationParams(){return{registrations:this._registrations}}},Lxt;(function(t){function e(){return new Wp(void 0,[])}t.create=e})(Lxt=rt.BulkUnregistration||(rt.BulkUnregistration={}));var Wp=class{constructor(e,r){this._connection=e,this._unregistrations=new Map,r.forEach(n=>{this._unregistrations.set(n.method,n)})}get isAttached(){return!!this._connection}attach(e){this._connection=e}add(e){this._unregistrations.set(e.method,e)}dispose(){let e=[];for(let n of this._unregistrations.values())e.push(n);let r={unregisterations:e};this._connection.sendRequest(he.UnregistrationRequest.type,r).then(void 0,n=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){let r=Kn.string(e)?e:e.method,n=this._unregistrations.get(r);if(!n)return!1;let i={unregisterations:[n]};return this._connection.sendRequest(he.UnregistrationRequest.type,i).then(()=>{this._unregistrations.delete(r)},s=>{this._connection.console.info(`Un-registering request handler for ${n.id} failed.`)}),!0}},pE=class{attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}register(e,r,n){return e instanceof dE?this.registerMany(e):e instanceof Wp?this.registerSingle1(e,r,n):this.registerSingle2(e,r)}registerSingle1(e,r,n){let i=Kn.string(r)?r:r.method,s=b3.generateUuid(),o={registrations:[{id:s,method:i,registerOptions:n||{}}]};return e.isAttached||e.attach(this.connection),this.connection.sendRequest(he.RegistrationRequest.type,o).then(a=>(e.add({id:s,method:i}),e),a=>(this.connection.console.info(`Registering request handler for ${i} failed.`),Promise.reject(a)))}registerSingle2(e,r){let n=Kn.string(e)?e:e.method,i=b3.generateUuid(),s={registrations:[{id:i,method:n,registerOptions:r||{}}]};return this.connection.sendRequest(he.RegistrationRequest.type,s).then(o=>he.Disposable.create(()=>{this.unregisterSingle(i,n)}),o=>(this.connection.console.info(`Registering request handler for ${n} failed.`),Promise.reject(o)))}unregisterSingle(e,r){let n={unregisterations:[{id:e,method:r}]};return this.connection.sendRequest(he.UnregistrationRequest.type,n).then(void 0,i=>{this.connection.console.info(`Un-registering request handler for ${e} failed.`)})}registerMany(e){let r=e.asRegistrationParams();return this.connection.sendRequest(he.RegistrationRequest.type,r).then(()=>new Wp(this._connection,r.registrations.map(n=>({id:n.id,method:n.method}))),n=>(this.connection.console.info("Bulk registration failed."),Promise.reject(n)))}},x3=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}applyEdit(e){function r(i){return i&&!!i.edit}let n=r(e)?e:{edit:e};return this.connection.sendRequest(he.ApplyWorkspaceEditRequest.type,n)}},Mme=Pxt.FileOperationsFeature(Oxt.WorkspaceFoldersFeature(Dxt.ConfigurationFeature(x3))),hE=class{constructor(){this._trace=he.Trace.Off}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}set trace(e){this._trace=e}log(e,r){this._trace!==he.Trace.Off&&this.connection.sendNotification(he.LogTraceNotification.type,{message:e,verbose:this._trace===he.Trace.Verbose?r:void 0})}},gE=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}logEvent(e){this.connection.sendNotification(he.TelemetryEventNotification.type,e)}},mE=class{constructor(){}attach(e){this._connection=e}get connection(){if(!this._connection)throw new Error("Remote is not attached to a connection yet.");return this._connection}initialize(e){}fillServerCapabilities(e){}attachWorkDoneProgress(e){return Ue.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,r){return Ue.attachPartialResult(this.connection,r)}};rt._LanguagesImpl=mE;var Fme=Mxt.MonikerFeature(Txt.LinkedEditingRangeFeature(Rxt.SemanticTokensFeature(qxt.CallHierarchyFeature(mE))));function Lme(t,e){return function(r){return e(t(r))}}rt.combineConsoleFeatures=Lme;function Ime(t,e){return function(r){return e(t(r))}}rt.combineTelemetryFeatures=Ime;function Nme(t,e){return function(r){return e(t(r))}}rt.combineTracerFeatures=Nme;function jme(t,e){return function(r){return e(t(r))}}rt.combineClientFeatures=jme;function $me(t,e){return function(r){return e(t(r))}}rt.combineWindowFeatures=$me;function Bme(t,e){return function(r){return e(t(r))}}rt.combineWorkspaceFeatures=Bme;function Ixt(t,e){return function(r){return e(t(r))}}rt.combineLanguagesFeatures=Ixt;function Nxt(t,e){function r(i,s,o){return i&&s?o(i,s):i||s}return{__brand:"features",console:r(t.console,e.console,Lme),tracer:r(t.tracer,e.tracer,Nme),telemetry:r(t.telemetry,e.telemetry,Ime),client:r(t.client,e.client,jme),window:r(t.window,e.window,$me),workspace:r(t.workspace,e.workspace,Bme)}}rt.combineFeatures=Nxt;function jxt(t,e,r){let n=r&&r.console?new(r.console(fE)):new fE,i=t(n);n.rawAttach(i);let s=r&&r.tracer?new(r.tracer(hE)):new hE,o=r&&r.telemetry?new(r.telemetry(gE)):new gE,a=r&&r.client?new(r.client(pE)):new pE,u=r&&r.window?new(r.window(Tme)):new Tme,l=r&&r.workspace?new(r.workspace(Mme)):new Mme,c=r&&r.languages?new(r.languages(Fme)):new Fme,f=[n,s,o,a,u,l,c];function d(g){return g instanceof Promise?g:Kn.thenable(g)?new Promise((v,w)=>{g.then(_=>v(_),_=>w(_))}):Promise.resolve(g)}let p,h,y,b={listen:()=>i.listen(),sendRequest:(g,...v)=>i.sendRequest(Kn.string(g)?g:g.method,...v),onRequest:(g,v)=>i.onRequest(g,v),sendNotification:(g,v)=>{let w=Kn.string(g)?g:g.method;arguments.length===1?i.sendNotification(w):i.sendNotification(w,v)},onNotification:(g,v)=>i.onNotification(g,v),onProgress:i.onProgress,sendProgress:i.sendProgress,onInitialize:g=>h=g,onInitialized:g=>i.onNotification(he.InitializedNotification.type,g),onShutdown:g=>p=g,onExit:g=>y=g,get console(){return n},get telemetry(){return o},get tracer(){return s},get client(){return a},get window(){return u},get workspace(){return l},get languages(){return c},onDidChangeConfiguration:g=>i.onNotification(he.DidChangeConfigurationNotification.type,g),onDidChangeWatchedFiles:g=>i.onNotification(he.DidChangeWatchedFilesNotification.type,g),__textDocumentSync:void 0,onDidOpenTextDocument:g=>i.onNotification(he.DidOpenTextDocumentNotification.type,g),onDidChangeTextDocument:g=>i.onNotification(he.DidChangeTextDocumentNotification.type,g),onDidCloseTextDocument:g=>i.onNotification(he.DidCloseTextDocumentNotification.type,g),onWillSaveTextDocument:g=>i.onNotification(he.WillSaveTextDocumentNotification.type,g),onWillSaveTextDocumentWaitUntil:g=>i.onRequest(he.WillSaveTextDocumentWaitUntilRequest.type,g),onDidSaveTextDocument:g=>i.onNotification(he.DidSaveTextDocumentNotification.type,g),sendDiagnostics:g=>i.sendNotification(he.PublishDiagnosticsNotification.type,g),onHover:g=>i.onRequest(he.HoverRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),void 0)),onCompletion:g=>i.onRequest(he.CompletionRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onCompletionResolve:g=>i.onRequest(he.CompletionResolveRequest.type,g),onSignatureHelp:g=>i.onRequest(he.SignatureHelpRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),void 0)),onDeclaration:g=>i.onRequest(he.DeclarationRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onDefinition:g=>i.onRequest(he.DefinitionRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onTypeDefinition:g=>i.onRequest(he.TypeDefinitionRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onImplementation:g=>i.onRequest(he.ImplementationRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onReferences:g=>i.onRequest(he.ReferencesRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onDocumentHighlight:g=>i.onRequest(he.DocumentHighlightRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onDocumentSymbol:g=>i.onRequest(he.DocumentSymbolRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onWorkspaceSymbol:g=>i.onRequest(he.WorkspaceSymbolRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onCodeAction:g=>i.onRequest(he.CodeActionRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onCodeActionResolve:g=>i.onRequest(he.CodeActionResolveRequest.type,(v,w)=>g(v,w)),onCodeLens:g=>i.onRequest(he.CodeLensRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onCodeLensResolve:g=>i.onRequest(he.CodeLensResolveRequest.type,(v,w)=>g(v,w)),onDocumentFormatting:g=>i.onRequest(he.DocumentFormattingRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),void 0)),onDocumentRangeFormatting:g=>i.onRequest(he.DocumentRangeFormattingRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),void 0)),onDocumentOnTypeFormatting:g=>i.onRequest(he.DocumentOnTypeFormattingRequest.type,(v,w)=>g(v,w)),onRenameRequest:g=>i.onRequest(he.RenameRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),void 0)),onPrepareRename:g=>i.onRequest(he.PrepareRenameRequest.type,(v,w)=>g(v,w)),onDocumentLinks:g=>i.onRequest(he.DocumentLinkRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onDocumentLinkResolve:g=>i.onRequest(he.DocumentLinkResolveRequest.type,(v,w)=>g(v,w)),onDocumentColor:g=>i.onRequest(he.DocumentColorRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onColorPresentation:g=>i.onRequest(he.ColorPresentationRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onFoldingRanges:g=>i.onRequest(he.FoldingRangeRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onSelectionRanges:g=>i.onRequest(he.SelectionRangeRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),Ue.attachPartialResult(i,v))),onExecuteCommand:g=>i.onRequest(he.ExecuteCommandRequest.type,(v,w)=>g(v,w,Ue.attachWorkDone(i,v),void 0)),dispose:()=>i.dispose()};for(let g of f)g.attach(b);return i.onRequest(he.InitializeRequest.type,g=>{e.initialize(g),Kn.string(g.trace)&&(s.trace=he.Trace.fromString(g.trace));for(let v of f)v.initialize(g.capabilities);if(h){let v=h(g,new he.CancellationTokenSource().token,Ue.attachWorkDone(i,g),void 0);return d(v).then(w=>{if(w instanceof he.ResponseError)return w;let _=w;_||(_={capabilities:{}});let x=_.capabilities;x||(x={},_.capabilities=x),x.textDocumentSync===void 0||x.textDocumentSync===null?x.textDocumentSync=Kn.number(b.__textDocumentSync)?b.__textDocumentSync:he.TextDocumentSyncKind.None:!Kn.number(x.textDocumentSync)&&!Kn.number(x.textDocumentSync.change)&&(x.textDocumentSync.change=Kn.number(b.__textDocumentSync)?b.__textDocumentSync:he.TextDocumentSyncKind.None);for(let C of f)C.fillServerCapabilities(x);return _})}else{let v={capabilities:{textDocumentSync:he.TextDocumentSyncKind.None}};for(let w of f)w.fillServerCapabilities(v.capabilities);return v}}),i.onRequest(he.ShutdownRequest.type,()=>{if(e.shutdownReceived=!0,p)return p(new he.CancellationTokenSource().token)}),i.onNotification(he.ExitNotification.type,()=>{try{y&&y()}finally{e.shutdownReceived?e.exit(0):e.exit(1)}}),i.onNotification(he.SetTraceNotification.type,g=>{s.trace=he.Trace.fromString(g.value)}),b}rt.createConnection=jxt});var zme=m(Jr=>{"use strict";Object.defineProperty(Jr,"__esModule",{value:!0});Jr.resolveModulePath=Jr.FileSystem=Jr.resolveGlobalYarnPath=Jr.resolveGlobalNodePath=Jr.resolve=Jr.uriToFilePath=void 0;var $xt=require("url"),mi=require("path"),k3=require("fs"),D3=require("child_process");function Bxt(t){let e=$xt.parse(t);if(e.protocol!=="file:"||!e.path)return;let r=e.path.split("/");for(var n=0,i=r.length;n<i;n++)r[n]=decodeURIComponent(r[n]);if(process.platform==="win32"&&r.length>1){let s=r[0],o=r[1];s.length===0&&o.length>1&&o[1]===":"&&r.shift()}return mi.normalize(r.join("/"))}Jr.uriToFilePath=Bxt;function E3(){return process.platform==="win32"}function yE(t,e,r,n){let i="NODE_PATH",s=["var p = process;","p.on('message',function(m){","if(m.c==='e'){","p.exit(0);","}","else if(m.c==='rs'){","try{","var r=require.resolve(m.a);","p.send({c:'r',s:true,r:r});","}","catch(err){","p.send({c:'r',s:false});","}","}","});"].join("");return new Promise((o,a)=>{let u=process.env,l=Object.create(null);Object.keys(u).forEach(c=>l[c]=u[c]),e&&k3.existsSync(e)&&(l[i]?l[i]=e+mi.delimiter+l[i]:l[i]=e,n&&n(`NODE_PATH value is: ${l[i]}`)),l.ELECTRON_RUN_AS_NODE="1";try{let c=D3.fork("",[],{cwd:r,env:l,execArgv:["-e",s]});if(c.pid===void 0){a(new Error(`Starting process to resolve node module ${t} failed`));return}c.on("error",d=>{a(d)}),c.on("message",d=>{d.c==="r"&&(c.send({c:"e"}),d.s?o(d.r):a(new Error(`Failed to resolve module: ${t}`)))});let f={c:"rs",a:t};c.send(f)}catch(c){a(c)}})}Jr.resolve=yE;function C3(t){let e="npm",r=Object.create(null);Object.keys(process.env).forEach(s=>r[s]=process.env[s]),r.NO_UPDATE_NOTIFIER="true";let n={encoding:"utf8",env:r};E3()&&(e="npm.cmd",n.shell=!0);let i=()=>{};try{process.on("SIGPIPE",i);let s=D3.spawnSync(e,["config","get","prefix"],n).stdout;if(!s){t&&t("'npm config get prefix' didn't return a value.");return}let o=s.trim();return t&&t(`'npm config get prefix' value is: ${o}`),o.length>0?E3()?mi.join(o,"node_modules"):mi.join(o,"lib","node_modules"):void 0}catch{return}finally{process.removeListener("SIGPIPE",i)}}Jr.resolveGlobalNodePath=C3;function Wxt(t){let e="yarn",r={encoding:"utf8"};E3()&&(e="yarn.cmd",r.shell=!0);let n=()=>{};try{process.on("SIGPIPE",n);let i=D3.spawnSync(e,["global","dir","--json"],r),s=i.stdout;if(!s){t&&(t("'yarn global dir' didn't return a value."),i.stderr&&t(i.stderr));return}let o=s.trim().split(/\r?\n/);for(let a of o)try{let u=JSON.parse(a);if(u.type==="log")return mi.join(u.data,"node_modules")}catch{}return}catch{return}finally{process.removeListener("SIGPIPE",n)}}Jr.resolveGlobalYarnPath=Wxt;var Wme;(function(t){let e;function r(){return e!==void 0||(process.platform==="win32"?e=!1:e=!k3.existsSync(__filename.toUpperCase())||!k3.existsSync(__filename.toLowerCase())),e}t.isCaseSensitive=r;function n(i,s){return r()?mi.normalize(s).indexOf(mi.normalize(i))===0:mi.normalize(s).toLowerCase().indexOf(mi.normalize(i).toLowerCase())===0}t.isParent=n})(Wme=Jr.FileSystem||(Jr.FileSystem={}));function zxt(t,e,r,n){return r?(mi.isAbsolute(r)||(r=mi.join(t,r)),yE(e,r,r,n).then(i=>Wme.isParent(r,i)?i:Promise.reject(new Error(`Failed to load ${e} from node path location.`))).then(void 0,i=>yE(e,C3(n),t,n))):yE(e,C3(n),t,n)}Jr.resolveModulePath=zxt});var O3=m((_jt,Ume)=>{"use strict";Ume.exports=En()});var Vme=m(Cn=>{"use strict";var Uxt=Cn&&Cn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Hme=Cn&&Cn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Uxt(e,t,r)};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.ProposedFeatures=Cn.SemanticTokensBuilder=void 0;var Hxt=m3();Object.defineProperty(Cn,"SemanticTokensBuilder",{enumerable:!0,get:function(){return Hxt.SemanticTokensBuilder}});Hme(En(),Cn);Hme(S3(),Cn);var Vxt;(function(t){t.all={__brand:"features"}})(Vxt=Cn.ProposedFeatures||(Cn.ProposedFeatures={}))});var R3=m(Dn=>{"use strict";var Gxt=Dn&&Dn.__createBinding||(Object.create?function(t,e,r,n){n===void 0&&(n=r),Object.defineProperty(t,n,{enumerable:!0,get:function(){return e[r]}})}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]}),Kme=Dn&&Dn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Gxt(e,t,r)};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.createConnection=Dn.Files=void 0;var q3=jk(),Kxt=S3(),zp=zme(),za=O3();Kme(O3(),Dn);Kme(Vme(),Dn);var Yxt;(function(t){t.uriToFilePath=zp.uriToFilePath,t.resolveGlobalNodePath=zp.resolveGlobalNodePath,t.resolveGlobalYarnPath=zp.resolveGlobalYarnPath,t.resolve=zp.resolve,t.resolveModulePath=zp.resolveModulePath})(Yxt=Dn.Files||(Dn.Files={}));var Gme;function bE(){if(Gme!==void 0)try{Gme.end()}catch{}}var Jl=!1,Yme;function Qxt(){let t="--clientProcessId";function e(r){try{let n=parseInt(r);isNaN(n)||(Yme=setInterval(()=>{try{process.kill(n,0)}catch{bE(),process.exit(Jl?0:1)}},3e3))}catch{}}for(let r=2;r<process.argv.length;r++){let n=process.argv[r];if(n===t&&r+1<process.argv.length){e(process.argv[r+1]);return}else{let i=n.split("=");i[0]===t&&e(i[1])}}}Qxt();var Jxt={initialize:t=>{let e=t.processId;q3.number(e)&&Yme===void 0&&setInterval(()=>{try{process.kill(e,0)}catch{process.exit(Jl?0:1)}},3e3)},get shutdownReceived(){return Jl},set shutdownReceived(t){Jl=t},exit:t=>{bE(),process.exit(t)}};function Xxt(t,e,r,n){let i,s,o,a;return t!==void 0&&t.__brand==="features"&&(i=t,t=e,e=r,r=n),za.ConnectionStrategy.is(t)||za.ConnectionOptions.is(t)?a=t:(s=t,o=e,a=r),Zxt(s,o,a,i)}Dn.createConnection=Xxt;function Zxt(t,e,r,n){if(!t&&!e&&process.argv.length>2){let a,u,l=process.argv.slice(2);for(let c=0;c<l.length;c++){let f=l[c];if(f==="--node-ipc"){t=new za.IPCMessageReader(process),e=new za.IPCMessageWriter(process);break}else if(f==="--stdio"){t=process.stdin,e=process.stdout;break}else if(f==="--socket"){a=parseInt(l[c+1]);break}else if(f==="--pipe"){u=l[c+1];break}else{var i=f.split("=");if(i[0]==="--socket"){a=parseInt(i[1]);break}else if(i[0]==="--pipe"){u=i[1];break}}}if(a){let c=za.createServerSocketTransport(a);t=c[0],e=c[1]}else if(u){let c=za.createServerPipeTransport(u);t=c[0],e=c[1]}}var s="Use arguments of createConnection or set command line parameters: '--node-ipc', '--stdio' or '--socket={number}'";if(!t)throw new Error("Connection input stream is not set. "+s);if(!e)throw new Error("Connection output stream is not set. "+s);if(q3.func(t.read)&&q3.func(t.on)){let a=t;a.on("end",()=>{bE(),process.exit(Jl?0:1)}),a.on("close",()=>{bE(),process.exit(Jl?0:1)})}let o=a=>za.createProtocolConnection(t,e,a,r);return Kxt.createConnection(o,Jxt,n)}});var Up=m((kjt,Qme)=>{"use strict";Qme.exports=R3()});var Xme=m((Ejt,Jme)=>{"use strict";var vE=require("path");function e1t(t){if(typeof t!="string"||t.length<=7||t.substring(0,7)!=="file://")throw new TypeError("must pass in a file:// URI to convert to a file path");let e=decodeURI(t.substring(7)),r=e.indexOf("/"),n=e.substring(0,r),i=e.substring(r+1);return n==="localhost"&&(n=""),n&&(n=vE.sep+vE.sep+n),i=i.replace(/^(.+)\|/,"$1:"),vE.sep==="\\"&&(i=i.replace(/\//g,"\\")),/^.+:/.test(i)||(i=vE.sep+i),n+i}Jme.exports=e1t});var eye=m((Cjt,Zme)=>{var t1t=typeof process=="object"&&process&&process.platform==="win32";Zme.exports=t1t?{sep:"\\"}:{sep:"/"}});var uye=m((Djt,aye)=>{var tye=$g();aye.exports=i1t;var rye="\0SLASH"+Math.random()+"\0",nye="\0OPEN"+Math.random()+"\0",P3="\0CLOSE"+Math.random()+"\0",iye="\0COMMA"+Math.random()+"\0",sye="\0PERIOD"+Math.random()+"\0";function A3(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function r1t(t){return t.split("\\\\").join(rye).split("\\{").join(nye).split("\\}").join(P3).split("\\,").join(iye).split("\\.").join(sye)}function n1t(t){return t.split(rye).join("\\").split(nye).join("{").split(P3).join("}").split(iye).join(",").split(sye).join(".")}function oye(t){if(!t)return[""];var e=[],r=tye("{","}",t);if(!r)return t.split(",");var n=r.pre,i=r.body,s=r.post,o=n.split(",");o[o.length-1]+="{"+i+"}";var a=oye(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function i1t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Hp(r1t(t),!0).map(n1t)):[]}function s1t(t){return"{"+t+"}"}function o1t(t){return/^-?0\d/.test(t)}function a1t(t,e){return t<=e}function u1t(t,e){return t>=e}function Hp(t,e){var r=[],n=tye("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?Hp(n.post,!1):[""];if(/\$$/.test(n.pre))for(var o=0;o<s.length;o++){var a=i+"{"+n.body+"}"+s[o];r.push(a)}else{var u=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(n.body),l=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(n.body),c=u||l,f=n.body.indexOf(",")>=0;if(!c&&!f)return n.post.match(/,.*\}/)?(t=n.pre+"{"+n.body+P3+n.post,Hp(t)):[t];var d;if(c)d=n.body.split(/\.\./);else if(d=oye(n.body),d.length===1&&(d=Hp(d[0],!1).map(s1t),d.length===1))return s.map(function(z){return n.pre+d[0]+z});var p;if(c){var h=A3(d[0]),y=A3(d[1]),b=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(A3(d[2])):1,v=a1t,w=y<h;w&&(g*=-1,v=u1t);var _=d.some(o1t);p=[];for(var x=h;v(x,y);x+=g){var C;if(l)C=String.fromCharCode(x),C==="\\"&&(C="");else if(C=String(x),_){var M=b-C.length;if(M>0){var P=new Array(M+1).join("0");x<0?C="-"+P+C.slice(1):C=P+C}}p.push(C)}}else{p=[];for(var R=0;R<d.length;R++)p.push.apply(p,Hp(d[R],!1))}for(var R=0;R<p.length;R++)for(var o=0;o<s.length;o++){var a=i+p[R]+s[o];(!e||c||a)&&r.push(a)}}return r}});var hye=m((qjt,I3)=>{var On=I3.exports=(t,e,r={})=>(wE(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Xl(e,r).match(t));I3.exports=On;var F3=eye();On.sep=F3.sep;var yi=Symbol("globstar **");On.GLOBSTAR=yi;var l1t=uye(),lye={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},L3="[^/]",T3=L3+"*?",c1t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",f1t="(?:(?!(?:\\/|^)\\.).)*?",dye=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),cye=dye("().*{}+?[]^$\\!"),d1t=dye("[.("),fye=/\/+/;On.filter=(t,e={})=>(r,n,i)=>On(r,t,e);var bo=(t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r};On.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return On;let e=On,r=(n,i,s)=>e(n,i,bo(t,s));return r.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,bo(t,s))}},r.Minimatch.defaults=n=>e.defaults(bo(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,bo(t,i)),r.defaults=n=>e.defaults(bo(t,n)),r.makeRe=(n,i)=>e.makeRe(n,bo(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,bo(t,i)),r.match=(n,i,s)=>e.match(n,i,bo(t,s)),r};On.braceExpand=(t,e)=>pye(t,e);var pye=(t,e={})=>(wE(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:l1t(t)),p1t=1024*64,wE=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>p1t)throw new TypeError("pattern is too long")},M3=Symbol("subparse");On.makeRe=(t,e)=>new Xl(t,e||{}).makeRe();On.match=(t,e,r={})=>{let n=new Xl(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var h1t=t=>t.replace(/\\(.)/g,"$1"),g1t=t=>t.replace(/\\([^-\]])/g,"$1"),m1t=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),y1t=t=>t.replace(/[[\]\\]/g,"\\$&"),Xl=class{constructor(e,r){wE(e),r||(r={}),this.options=r,this.set=[],this.pattern=e,this.windowsPathsNoEscape=!!r.windowsPathsNoEscape||r.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!r.partial,this.make()}debug(){}make(){let e=this.pattern,r=this.options;if(!r.nocomment&&e.charAt(0)==="#"){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();let n=this.globSet=this.braceExpand();r.debug&&(this.debug=(...i)=>console.error(...i)),this.debug(this.pattern,n),n=this.globParts=n.map(i=>i.split(fye)),this.debug(this.pattern,n),n=n.map((i,s,o)=>i.map(this.parse,this)),this.debug(this.pattern,n),n=n.filter(i=>i.indexOf(!1)===-1),this.debug(this.pattern,n),this.set=n}parseNegate(){if(this.options.nonegate)return;let e=this.pattern,r=!1,n=0;for(let i=0;i<e.length&&e.charAt(i)==="!";i++)r=!r,n++;n&&(this.pattern=e.slice(n)),this.negate=r}matchOne(e,r,n){var i=this.options;this.debug("matchOne",{this:this,file:e,pattern:r}),this.debug("matchOne",e.length,r.length);for(var s=0,o=0,a=e.length,u=r.length;s<a&&o<u;s++,o++){this.debug("matchOne loop");var l=r[o],c=e[s];if(this.debug(r,l,c),l===!1)return!1;if(l===yi){this.debug("GLOBSTAR",[r,l,c]);var f=s,d=o+1;if(d===u){for(this.debug("** at the end");s<a;s++)if(e[s]==="."||e[s]===".."||!i.dot&&e[s].charAt(0)===".")return!1;return!0}for(;f<a;){var p=e[f];if(this.debug(`
|
|
427
|
+
globstar while`,e,f,r,d,p),this.matchOne(e.slice(f),r.slice(d),n))return this.debug("globstar found match!",f,a,p),!0;if(p==="."||p===".."||!i.dot&&p.charAt(0)==="."){this.debug("dot detected!",e,f,r,d);break}this.debug("globstar swallow a segment, and continue"),f++}return!!(n&&(this.debug(`
|
|
428
|
+
>>> no match, partial?`,e,f,r,d),f===a))}var h;if(typeof l=="string"?(h=c===l,this.debug("string match",l,c,h)):(h=c.match(l),this.debug("pattern match",l,c,h)),!h)return!1}if(s===a&&o===u)return!0;if(s===a)return n;if(o===u)return s===a-1&&e[s]==="";throw new Error("wtf?")}braceExpand(){return pye(this.pattern,this.options)}parse(e,r){wE(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return yi;if(e==="")return"";let i="",s=!!n.nocase,o=!1,a=[],u=[],l,c=!1,f=-1,d=-1,p,h,y,b=e.charAt(0)==="."?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",g=()=>{if(l){switch(l){case"*":i+=T3,s=!0;break;case"?":i+=L3,s=!0;break;default:i+="\\"+l;break}this.debug("clearStateChar %j %j",l,i),l=!1}};for(let _=0,x;_<e.length&&(x=e.charAt(_));_++){if(this.debug("%s %s %s %j",e,_,i,x),o){if(x==="/")return!1;cye[x]&&(i+="\\"),i+=x,o=!1;continue}switch(x){case"/":return!1;case"\\":if(c&&e.charAt(_+1)==="-"){i+=x;continue}g(),o=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s %s %s %j <-- stateChar",e,_,i,x),c){this.debug(" in class"),x==="!"&&_===d+1&&(x="^"),i+=x;continue}this.debug("call clearStateChar %j",l),g(),l=x,n.noext&&g();continue;case"(":if(c){i+="(";continue}if(!l){i+="\\(";continue}a.push({type:l,start:_-1,reStart:i.length,open:lye[l].open,close:lye[l].close}),i+=l==="!"?"(?:(?!(?:":"(?:",this.debug("plType %j %j",l,i),l=!1;continue;case")":if(c||!a.length){i+="\\)";continue}g(),s=!0,h=a.pop(),i+=h.close,h.type==="!"&&u.push(h),h.reEnd=i.length;continue;case"|":if(c||!a.length){i+="\\|";continue}g(),i+="|";continue;case"[":if(g(),c){i+="\\"+x;continue}c=!0,d=_,f=i.length,i+=x;continue;case"]":if(_===d+1||!c){i+="\\"+x;continue}p=e.substring(d+1,_);try{RegExp("["+y1t(g1t(p))+"]"),i+=x}catch{i=i.substring(0,f)+"(?:$.)"}s=!0,c=!1;continue;default:g(),cye[x]&&!(x==="^"&&c)&&(i+="\\"),i+=x;break}}for(c&&(p=e.slice(d+1),y=this.parse(p,M3),i=i.substring(0,f)+"\\["+y[0],s=s||y[1]),h=a.pop();h;h=a.pop()){let _;_=i.slice(h.reStart+h.open.length),this.debug("setting tail",i,h),_=_.replace(/((?:\\{2}){0,64})(\\?)\|/g,(C,M,P)=>(P||(P="\\"),M+M+P+"|")),this.debug(`tail=%j
|
|
429
|
+
%s`,_,_,h,i);let x=h.type==="*"?T3:h.type==="?"?L3:"\\"+h.type;s=!0,i=i.slice(0,h.reStart)+x+"\\("+_}g(),o&&(i+="\\\\");let v=d1t[i.charAt(0)];for(let _=u.length-1;_>-1;_--){let x=u[_],C=i.slice(0,x.reStart),M=i.slice(x.reStart,x.reEnd-8),P=i.slice(x.reEnd),R=i.slice(x.reEnd-8,x.reEnd)+P,z=C.split("(").length-1,$=P;for(let G=0;G<z;G++)$=$.replace(/\)[+*?]?/,"");P=$;let ee=P===""&&r!==M3?"$":"";i=C+M+P+ee+R}if(i!==""&&s&&(i="(?=.)"+i),v&&(i=b+i),r===M3)return[i,s];if(!s)return h1t(e);let w=n.nocase?"i":"";try{return Object.assign(new RegExp("^"+i+"$",w),{_glob:e,_src:i})}catch{return new RegExp("$.")}}makeRe(){if(this.regexp||this.regexp===!1)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let r=this.options,n=r.noglobstar?T3:r.dot?c1t:f1t,i=r.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?m1t(a):a===yi?yi:a._src).reduce((a,u)=>(a[a.length-1]===yi&&u===yi||a.push(u),a),[]),o.forEach((a,u)=>{a!==yi||o[u-1]===yi||(u===0?o.length>1?o[u+1]="(?:\\/|"+n+"\\/)?"+o[u+1]:o[u]=n:u===o.length-1?o[u-1]+="(?:\\/|"+n+")?":(o[u-1]+="(?:\\/|\\/"+n+"\\/)"+o[u+1],o[u+1]=yi))}),o.filter(a=>a!==yi).join("/"))).join("|");s="^(?:"+s+")$",this.negate&&(s="^(?!"+s+").*$");try{this.regexp=new RegExp(s,i)}catch{this.regexp=!1}return this.regexp}match(e,r=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;let n=this.options;F3.sep!=="/"&&(e=e.split(F3.sep).join("/")),e=e.split(fye),this.debug(this.pattern,"split",e);let i=this.set;this.debug(this.pattern,"set",i);let s;for(let o=e.length-1;o>=0&&(s=e[o],!s);o--);for(let o=0;o<i.length;o++){let a=i[o],u=e;if(n.matchBase&&a.length===1&&(u=[s]),this.matchOne(u,a,r))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return On.defaults(e).Minimatch}};On.Minimatch=Xl});var gye=m((xE,_E)=>{var b1t=xE&&xE.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))};(function(t){if(typeof _E=="object"&&typeof _E.exports=="object"){var e=t(require,xE);e!==void 0&&(_E.exports=e)}else typeof define=="function"&&define.amd&&define(["require","exports"],t)})(function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.TextDocument=void 0;var r=function(){function u(l,c,f,d){this._uri=l,this._languageId=c,this._version=f,this._content=d,this._lineOffsets=void 0}return Object.defineProperty(u.prototype,"uri",{get:function(){return this._uri},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"languageId",{get:function(){return this._languageId},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"version",{get:function(){return this._version},enumerable:!1,configurable:!0}),u.prototype.getText=function(l){if(l){var c=this.offsetAt(l.start),f=this.offsetAt(l.end);return this._content.substring(c,f)}return this._content},u.prototype.update=function(l,c){for(var f=0,d=l;f<d.length;f++){var p=d[f];if(u.isIncremental(p)){var h=o(p.range),y=this.offsetAt(h.start),b=this.offsetAt(h.end);this._content=this._content.substring(0,y)+p.text+this._content.substring(b,this._content.length);var g=Math.max(h.start.line,0),v=Math.max(h.end.line,0),w=this._lineOffsets,_=s(p.text,!1,y);if(v-g===_.length)for(var x=0,C=_.length;x<C;x++)w[x+g+1]=_[x];else _.length<1e4?w.splice.apply(w,b1t([g+1,v-g],_,!1)):this._lineOffsets=w=w.slice(0,g+1).concat(_,w.slice(v+1));var M=p.text.length-(b-y);if(M!==0)for(var x=g+1+_.length,C=w.length;x<C;x++)w[x]=w[x]+M}else if(u.isFull(p))this._content=p.text,this._lineOffsets=void 0;else throw new Error("Unknown change event received")}this._version=c},u.prototype.getLineOffsets=function(){return this._lineOffsets===void 0&&(this._lineOffsets=s(this._content,!0)),this._lineOffsets},u.prototype.positionAt=function(l){l=Math.max(Math.min(l,this._content.length),0);var c=this.getLineOffsets(),f=0,d=c.length;if(d===0)return{line:0,character:l};for(;f<d;){var p=Math.floor((f+d)/2);c[p]>l?d=p:f=p+1}var h=f-1;return{line:h,character:l-c[h]}},u.prototype.offsetAt=function(l){var c=this.getLineOffsets();if(l.line>=c.length)return this._content.length;if(l.line<0)return 0;var f=c[l.line],d=l.line+1<c.length?c[l.line+1]:this._content.length;return Math.max(Math.min(f+l.character,d),f)},Object.defineProperty(u.prototype,"lineCount",{get:function(){return this.getLineOffsets().length},enumerable:!1,configurable:!0}),u.isIncremental=function(l){var c=l;return c!=null&&typeof c.text=="string"&&c.range!==void 0&&(c.rangeLength===void 0||typeof c.rangeLength=="number")},u.isFull=function(l){var c=l;return c!=null&&typeof c.text=="string"&&c.range===void 0&&c.rangeLength===void 0},u}(),n;(function(u){function l(d,p,h,y){return new r(d,p,h,y)}u.create=l;function c(d,p,h){if(d instanceof r)return d.update(p,h),d;throw new Error("TextDocument.update: document must be created by TextDocument.create")}u.update=c;function f(d,p){for(var h=d.getText(),y=i(p.map(a),function(C,M){var P=C.range.start.line-M.range.start.line;return P===0?C.range.start.character-M.range.start.character:P}),b=0,g=[],v=0,w=y;v<w.length;v++){var _=w[v],x=d.offsetAt(_.range.start);if(x<b)throw new Error("Overlapping edit");x>b&&g.push(h.substring(b,x)),_.newText.length&&g.push(_.newText),b=d.offsetAt(_.range.end)}return g.push(h.substr(b)),g.join("")}u.applyEdits=f})(n=e.TextDocument||(e.TextDocument={}));function i(u,l){if(u.length<=1)return u;var c=u.length/2|0,f=u.slice(0,c),d=u.slice(c);i(f,l),i(d,l);for(var p=0,h=0,y=0;p<f.length&&h<d.length;){var b=l(f[p],d[h]);b<=0?u[y++]=f[p++]:u[y++]=d[h++]}for(;p<f.length;)u[y++]=f[p++];for(;h<d.length;)u[y++]=d[h++];return u}function s(u,l,c){c===void 0&&(c=0);for(var f=l?[c]:[],d=0;d<u.length;d++){var p=u.charCodeAt(d);(p===13||p===10)&&(p===13&&d+1<u.length&&u.charCodeAt(d+1)===10&&d++,f.push(c+d+1))}return f}function o(u){var l=u.start,c=u.end;return l.line>c.line||l.line===c.line&&l.character>c.character?{start:c,end:l}:u}function a(u){var l=o(u.range);return l!==u.range?{newText:u.newText,range:l}:u}})});var _ye={};Jbe(_ye,{__assign:()=>$3,__asyncDelegator:()=>A1t,__asyncGenerator:()=>R1t,__asyncValues:()=>P1t,__await:()=>Gp,__awaiter:()=>k1t,__classPrivateFieldGet:()=>I1t,__classPrivateFieldIn:()=>j1t,__classPrivateFieldSet:()=>N1t,__createBinding:()=>W3,__decorate:()=>_1t,__exportStar:()=>C1t,__extends:()=>v1t,__generator:()=>E1t,__importDefault:()=>L1t,__importStar:()=>F1t,__makeTemplateObject:()=>T1t,__metadata:()=>S1t,__param:()=>x1t,__read:()=>wye,__rest:()=>w1t,__spread:()=>D1t,__spreadArray:()=>q1t,__spreadArrays:()=>O1t,__values:()=>B3});function v1t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");j3(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function w1t(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(t);i<n.length;i++)e.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(t,n[i])&&(r[n[i]]=t[n[i]]);return r}function _1t(t,e,r,n){var i=arguments.length,s=i<3?e:n===null?n=Object.getOwnPropertyDescriptor(e,r):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(t,e,r,n);else for(var a=t.length-1;a>=0;a--)(o=t[a])&&(s=(i<3?o(s):i>3?o(e,r,s):o(e,r))||s);return i>3&&s&&Object.defineProperty(e,r,s),s}function x1t(t,e){return function(r,n){e(r,n,t)}}function S1t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function k1t(t,e,r,n){function i(s){return s instanceof r?s:new r(function(o){o(s)})}return new(r||(r=Promise))(function(s,o){function a(c){try{l(n.next(c))}catch(f){o(f)}}function u(c){try{l(n.throw(c))}catch(f){o(f)}}function l(c){c.done?s(c.value):i(c.value).then(a,u)}l((n=n.apply(t,e||[])).next())})}function E1t(t,e){var r={label:0,sent:function(){if(s[0]&1)throw s[1];return s[1]},trys:[],ops:[]},n,i,s,o;return o={next:a(0),throw:a(1),return:a(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function a(l){return function(c){return u([l,c])}}function u(l){if(n)throw new TypeError("Generator is already executing.");for(;o&&(o=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(s=l[0]&2?i.return:l[0]?i.throw||((s=i.return)&&s.call(i),0):i.next)&&!(s=s.call(i,l[1])).done)return s;switch(i=0,s&&(l=[l[0]&2,s.value]),l[0]){case 0:case 1:s=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(s=r.trys,!(s=s.length>0&&s[s.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!s||l[1]>s[0]&&l[1]<s[3])){r.label=l[1];break}if(l[0]===6&&r.label<s[1]){r.label=s[1],s=l;break}if(s&&r.label<s[2]){r.label=s[2],r.ops.push(l);break}s[2]&&r.ops.pop(),r.trys.pop();continue}l=e.call(t,r)}catch(c){l=[6,c],i=0}finally{n=s=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function C1t(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&W3(e,t,r)}function B3(t){var e=typeof Symbol=="function"&&Symbol.iterator,r=e&&t[e],n=0;if(r)return r.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function wye(t,e){var r=typeof Symbol=="function"&&t[Symbol.iterator];if(!r)return t;var n=r.call(t),i,s=[],o;try{for(;(e===void 0||e-- >0)&&!(i=n.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(o)throw o.error}}return s}function D1t(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(wye(arguments[e]));return t}function O1t(){for(var t=0,e=0,r=arguments.length;e<r;e++)t+=arguments[e].length;for(var n=Array(t),i=0,e=0;e<r;e++)for(var s=arguments[e],o=0,a=s.length;o<a;o++,i++)n[i]=s[o];return n}function q1t(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,s;n<i;n++)(s||!(n in e))&&(s||(s=Array.prototype.slice.call(e,0,n)),s[n]=e[n]);return t.concat(s||Array.prototype.slice.call(e))}function Gp(t){return this instanceof Gp?(this.v=t,this):new Gp(t)}function R1t(t,e,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(t,e||[]),i,s=[];return i={},o("next"),o("throw"),o("return"),i[Symbol.asyncIterator]=function(){return this},i;function o(d){n[d]&&(i[d]=function(p){return new Promise(function(h,y){s.push([d,p,h,y])>1||a(d,p)})})}function a(d,p){try{u(n[d](p))}catch(h){f(s[0][3],h)}}function u(d){d.value instanceof Gp?Promise.resolve(d.value.v).then(l,c):f(s[0][2],d)}function l(d){a("next",d)}function c(d){a("throw",d)}function f(d,p){d(p),s.shift(),s.length&&a(s[0][0],s[0][1])}}function A1t(t){var e,r;return e={},n("next"),n("throw",function(i){throw i}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(i,s){e[i]=t[i]?function(o){return(r=!r)?{value:Gp(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function P1t(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof B3=="function"?B3(t):t[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(s){r[s]=t[s]&&function(o){return new Promise(function(a,u){o=t[s](o),i(a,u,o.done,o.value)})}}function i(s,o,a,u){Promise.resolve(u).then(function(l){s({value:l,done:a})},o)}}function T1t(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function F1t(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&W3(e,t,r);return M1t(e,t),e}function L1t(t){return t&&t.__esModule?t:{default:t}}function I1t(t,e,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!n:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(t):n?n.value:e.get(t)}function N1t(t,e,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof e=="function"?t!==e||!i:!e.has(t))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(t,r):i?i.value=r:e.set(t,r),r}function j1t(t,e){if(e===null||typeof e!="object"&&typeof e!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof t=="function"?e===t:t.has(e)}var j3,$3,W3,M1t,xye=Qbe(()=>{j3=function(t,e){return j3=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},j3(t,e)};$3=function(){return $3=Object.assign||function(e){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var s in r)Object.prototype.hasOwnProperty.call(r,s)&&(e[s]=r[s])}return e},$3.apply(this,arguments)};W3=Object.create?function(t,e,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(e,r);(!i||("get"in i?!e.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return e[r]}}),Object.defineProperty(t,n,i)}:function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]};M1t=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var Sye=m(Zl=>{"use strict";Object.defineProperty(Zl,"__esModule",{value:!0});Zl.lowerCase=Zl.localeLowerCase=void 0;var $1t={tr:{regexp:/\u0130|\u0049|\u0049\u0307/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},az:{regexp:/\u0130/g,map:{\u0130:"i",I:"\u0131",I\u0307:"i"}},lt:{regexp:/\u0049|\u004A|\u012E|\u00CC|\u00CD|\u0128/g,map:{I:"i\u0307",J:"j\u0307",\u012E:"\u012F\u0307",\u00CC:"i\u0307\u0300",\u00CD:"i\u0307\u0301",\u0128:"i\u0307\u0303"}}};function B1t(t,e){var r=$1t[e.toLowerCase()];return z3(r?t.replace(r.regexp,function(n){return r.map[n]}):t)}Zl.localeLowerCase=B1t;function z3(t){return t.toLowerCase()}Zl.lowerCase=z3});var Eye=m(kE=>{"use strict";Object.defineProperty(kE,"__esModule",{value:!0});kE.noCase=void 0;var W1t=Sye(),z1t=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],U1t=/[^A-Z0-9]+/gi;function H1t(t,e){e===void 0&&(e={});for(var r=e.splitRegexp,n=r===void 0?z1t:r,i=e.stripRegexp,s=i===void 0?U1t:i,o=e.transform,a=o===void 0?W1t.lowerCase:o,u=e.delimiter,l=u===void 0?" ":u,c=kye(kye(t,n,"$1\0$2"),s,"\0"),f=0,d=c.length;c.charAt(f)==="\0";)f++;for(;c.charAt(d-1)==="\0";)d--;return c.slice(f,d).split("\0").map(a).join(l)}kE.noCase=H1t;function kye(t,e,r){return e instanceof RegExp?t.replace(e,r):e.reduce(function(n,i){return n.replace(i,r)},t)}});var Dye=m(vo=>{"use strict";Object.defineProperty(vo,"__esModule",{value:!0});vo.pascalCase=vo.pascalCaseTransformMerge=vo.pascalCaseTransform=void 0;var V1t=(xye(),Xbe(_ye)),G1t=Eye();function Cye(t,e){var r=t.charAt(0),n=t.substr(1).toLowerCase();return e>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}vo.pascalCaseTransform=Cye;function K1t(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}vo.pascalCaseTransformMerge=K1t;function Y1t(t,e){return e===void 0&&(e={}),G1t.noCase(t,V1t.__assign({delimiter:"",transform:Cye},e))}vo.pascalCase=Y1t});var EE=m((Bjt,Aye)=>{"use strict";function yr(t){this.__parent=t,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}yr.prototype.clone_empty=function(){var t=new yr(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t};yr.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]};yr.prototype.has_match=function(t){for(var e=this.__items.length-1;e>=0;e--)if(this.__items[e].match(t))return!0;return!1};yr.prototype.set_indent=function(t,e){this.is_empty()&&(this.__indent_count=t||0,this.__alignment_count=e||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))};yr.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)};yr.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count};yr.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var t=this.__parent.current_line;return t.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),t.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),t.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,t.__items[0]===" "&&(t.__items.splice(0,1),t.__character_count-=1),!0}return!1};yr.prototype.is_empty=function(){return this.__items.length===0};yr.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};yr.prototype.push=function(t){this.__items.push(t);var e=t.lastIndexOf(`
|
|
430
|
+
`);e!==-1?this.__character_count=t.length-e:this.__character_count+=t.length};yr.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t};yr.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)};yr.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)};yr.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1};yr.prototype.toString=function(){var t="";return this.is_empty()?this.__parent.indent_empty_lines&&(t=this.__parent.get_indent_string(this.__indent_count)):(t=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),t+=this.__items.join("")),t};function Yp(t,e){this.__cache=[""],this.__indent_size=t.indent_size,this.__indent_string=t.indent_char,t.indent_with_tabs||(this.__indent_string=new Array(t.indent_size+1).join(t.indent_char)),e=e||"",t.indent_level>0&&(e=new Array(t.indent_level+1).join(this.__indent_string)),this.__base_string=e,this.__base_string_length=e.length}Yp.prototype.get_indent_size=function(t,e){var r=this.__base_string_length;return e=e||0,t<0&&(r=0),r+=t*this.__indent_size,r+=e,r};Yp.prototype.get_indent_string=function(t,e){var r=this.__base_string;return e=e||0,t<0&&(t=0,r=""),e+=t*this.__indent_size,this.__ensure_cache(e),r+=this.__cache[e],r};Yp.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()};Yp.prototype.__add_column=function(){var t=this.__cache.length,e=0,r="";this.__indent_size&&t>=this.__indent_size&&(e=Math.floor(t/this.__indent_size),t-=e*this.__indent_size,r=new Array(e+1).join(this.__indent_string)),t&&(r+=new Array(t+1).join(" ")),this.__cache.push(r)};function br(t,e){this.__indent_cache=new Yp(t,e),this.raw=!1,this._end_with_newline=t.end_with_newline,this.indent_size=t.indent_size,this.wrap_line_length=t.wrap_line_length,this.indent_empty_lines=t.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new yr(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}br.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};br.prototype.get_line_number=function(){return this.__lines.length};br.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)};br.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)};br.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};br.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)};br.prototype.get_code=function(t){this.trim(!0);var e=this.current_line.pop();e&&(e[e.length-1]===`
|
|
431
|
+
`&&(e=e.replace(/\n+$/g,"")),this.current_line.push(e)),this._end_with_newline&&this.__add_outputline();var r=this.__lines.join(`
|
|
432
|
+
`);return t!==`
|
|
433
|
+
`&&(r=r.replace(/[\n]/g,t)),r};br.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};br.prototype.set_indent=function(t,e){return t=t||0,e=e||0,this.next_line.set_indent(t,e),this.__lines.length>1?(this.current_line.set_indent(t,e),!0):(this.current_line.set_indent(),!1)};br.prototype.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1};br.prototype.add_token=function(t){this.__add_space_before_token(),this.current_line.push(t),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()};br.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))};br.prototype.remove_indent=function(t){for(var e=this.__lines.length;t<e;)this.__lines[t]._remove_indent(),t++;this.current_line._remove_wrap_indent()};br.prototype.trim=function(t){for(t=t===void 0?!1:t,this.current_line.trim();t&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null};br.prototype.just_added_newline=function(){return this.current_line.is_empty()};br.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};br.prototype.ensure_empty_line_above=function(t,e){for(var r=this.__lines.length-2;r>=0;){var n=this.__lines[r];if(n.is_empty())break;if(n.item(0).indexOf(t)!==0&&n.item(-1)!==e){this.__lines.splice(r+1,0,new yr(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}};Aye.exports.Output=br});var U3=m((Wjt,Pye)=>{"use strict";function J1t(t,e,r,n){this.type=t,this.text=e,this.comments_before=null,this.newlines=r||0,this.whitespace_before=n||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}Pye.exports.Token=J1t});var V3=m(Ss=>{"use strict";var X1t="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",Tye="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",H3="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",Mye="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",Fye="(?:\\\\u[0-9a-fA-F]{4}|["+X1t+H3+"])",Z1t="(?:\\\\u[0-9a-fA-F]{4}|["+Tye+H3+Mye+"])*";Ss.identifier=new RegExp(Fye+Z1t,"g");Ss.identifierStart=new RegExp(Fye);Ss.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+Tye+H3+Mye+"])+");Ss.newline=/[\n\r\u2028\u2029]/;Ss.lineBreak=new RegExp(`\r
|
|
434
|
+
|`+Ss.newline.source);Ss.allLineBreaks=new RegExp(Ss.lineBreak.source,"g")});var DE=m((Ujt,CE)=>{"use strict";function wo(t,e){this.raw_options=Lye(t,e),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","django","erb","handlebars","php","smarty"],["auto"])}wo.prototype._get_array=function(t,e){var r=this.raw_options[t],n=e||[];return typeof r=="object"?r!==null&&typeof r.concat=="function"&&(n=r.concat()):typeof r=="string"&&(n=r.split(/[^a-zA-Z0-9_\/\-]+/)),n};wo.prototype._get_boolean=function(t,e){var r=this.raw_options[t],n=r===void 0?!!e:!!r;return n};wo.prototype._get_characters=function(t,e){var r=this.raw_options[t],n=e||"";return typeof r=="string"&&(n=r.replace(/\\r/,"\r").replace(/\\n/,`
|
|
435
|
+
`).replace(/\\t/," ")),n};wo.prototype._get_number=function(t,e){var r=this.raw_options[t];e=parseInt(e,10),isNaN(e)&&(e=0);var n=parseInt(r,10);return isNaN(n)&&(n=e),n};wo.prototype._get_selection=function(t,e,r){var n=this._get_selection_list(t,e,r);if(n.length!==1)throw new Error("Invalid Option Value: The option '"+t+`' can only be one of the following values:
|
|
436
|
+
`+e+`
|
|
437
|
+
You passed in: '`+this.raw_options[t]+"'");return n[0]};wo.prototype._get_selection_list=function(t,e,r){if(!e||e.length===0)throw new Error("Selection list cannot be empty.");if(r=r||[e[0]],!this._is_valid_selection(r,e))throw new Error("Invalid Default Value!");var n=this._get_array(t,r);if(!this._is_valid_selection(n,e))throw new Error("Invalid Option Value: The option '"+t+`' can contain only the following values:
|
|
438
|
+
`+e+`
|
|
439
|
+
You passed in: '`+this.raw_options[t]+"'");return n};wo.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some(function(r){return e.indexOf(r)===-1})};function Lye(t,e){var r={};t=Iye(t);var n;for(n in t)n!==e&&(r[n]=t[n]);if(e&&t[e])for(n in t[e])r[n]=t[e][n];return r}function Iye(t){var e={},r;for(r in t){var n=r.replace(/-/g,"_");e[n]=t[r]}return e}CE.exports.Options=wo;CE.exports.normalizeOpts=Iye;CE.exports.mergeOpts=Lye});var G3=m((Hjt,$ye)=>{"use strict";var Nye=DE().Options,eSt=["before-newline","after-newline","preserve-newline"];function jye(t){Nye.call(this,t,"js");var e=this.raw_options.brace_style||null;e==="expand-strict"?this.raw_options.brace_style="expand":e==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var r=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var n=0;n<r.length;n++)r[n]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=r[n];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",eSt),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}jye.prototype=new Nye;$ye.exports.Options=jye});var OE=m((Vjt,Wye)=>{"use strict";var Bye=RegExp.prototype.hasOwnProperty("sticky");function Or(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}Or.prototype.restart=function(){this.__position=0};Or.prototype.back=function(){this.__position>0&&(this.__position-=1)};Or.prototype.hasNext=function(){return this.__position<this.__input_length};Or.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t};Or.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__input_length&&(e=this.__input.charAt(t)),e};Or.prototype.__match=function(t,e){t.lastIndex=e;var r=t.exec(this.__input);return r&&!(Bye&&t.sticky)&&r.index!==e&&(r=null),r};Or.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length?!!this.__match(t,e):!1};Or.prototype.testChar=function(t,e){var r=this.peek(e);return t.lastIndex=0,r!==null&&t.test(r)};Or.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e};Or.prototype.read=function(t,e,r){var n="",i;return t&&(i=this.match(t),i&&(n+=i[0])),e&&(i||!t)&&(n+=this.readUntil(e,r)),n};Or.prototype.readUntil=function(t,e){var r="",n=this.__position;t.lastIndex=this.__position;var i=t.exec(this.__input);return i?(n=i.index,e&&(n+=i[0].length)):n=this.__input_length,r=this.__input.substring(this.__position,n),this.__position=n,r};Or.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)};Or.prototype.get_regexp=function(t,e){var r=null,n="g";return e&&Bye&&(n="y"),typeof t=="string"&&t!==""?r=new RegExp(t,n):t&&(r=new RegExp(t.source,n)),r};Or.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};Or.prototype.peekUntilAfter=function(t){var e=this.__position,r=this.readUntilAfter(t);return this.__position=e,r};Or.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t};Wye.exports.InputScanner=Or});var Uye=m((Gjt,zye)=>{"use strict";function Va(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}Va.prototype.restart=function(){this.__position=0};Va.prototype.isEmpty=function(){return this.__tokens_length===0};Va.prototype.hasNext=function(){return this.__position<this.__tokens_length};Va.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t};Va.prototype.peek=function(t){var e=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(e=this.__tokens[t]),e};Va.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1};zye.exports.TokenStream=Va});var Qp=m((Kjt,Hye)=>{"use strict";function Gi(t,e){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,e&&(this._starting_pattern=this._input.get_regexp(e._starting_pattern,!0),this._match_pattern=this._input.get_regexp(e._match_pattern,!0),this._until_pattern=this._input.get_regexp(e._until_pattern),this._until_after=e._until_after)}Gi.prototype.read=function(){var t=this._input.read(this._starting_pattern);return(!this._starting_pattern||t)&&(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t};Gi.prototype.read_match=function(){return this._input.match(this._match_pattern)};Gi.prototype.until_after=function(t){var e=this._create();return e._until_after=!0,e._until_pattern=this._input.get_regexp(t),e._update(),e};Gi.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e};Gi.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e};Gi.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e};Gi.prototype._create=function(){return new Gi(this._input,this)};Gi.prototype._update=function(){};Hye.exports.Pattern=Gi});var Kye=m((Yjt,Gye)=>{"use strict";var Vye=Qp().Pattern;function _o(t,e){Vye.call(this,t,e),e?this._line_regexp=this._input.get_regexp(e._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}_o.prototype=new Vye;_o.prototype.__set_whitespace_patterns=function(t,e){t+="\\t ",e+="\\n\\r",this._match_pattern=this._input.get_regexp("["+t+e+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+e+"]")};_o.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var t=this._input.read(this._match_pattern);if(t===" ")this.whitespace_before_token=" ";else if(t){var e=this.__split(this._newline_regexp,t);this.newline_count=e.length-1,this.whitespace_before_token=e[this.newline_count]}return t};_o.prototype.matching=function(t,e){var r=this._create();return r.__set_whitespace_patterns(t,e),r._update(),r};_o.prototype._create=function(){return new _o(this._input,this)};_o.prototype.__split=function(t,e){t.lastIndex=0;for(var r=0,n=[],i=t.exec(e);i;)n.push(e.substring(r,i.index)),r=i.index+i[0].length,i=t.exec(e);return r<e.length?n.push(e.substring(r,e.length)):n.push(""),n};Gye.exports.WhitespacePattern=_o});var Xp=m((Qjt,Y3)=>{"use strict";var tSt=OE().InputScanner,Yye=U3().Token,K3=Uye().TokenStream,rSt=Kye().WhitespacePattern,Jp={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Ki=function(t,e){this._input=new tSt(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new rSt(this._input)};Ki.prototype.tokenize=function(){this._input.restart(),this.__tokens=new K3,this._reset();for(var t,e=new Yye(Jp.START,""),r=null,n=[],i=new K3;e.type!==Jp.EOF;){for(t=this._get_next_token(e,r);this._is_comment(t);)i.add(t),t=this._get_next_token(e,r);i.isEmpty()||(t.comments_before=i,i=new K3),t.parent=r,this._is_opening(t)?(n.push(r),r=t):r&&this._is_closing(t,r)&&(t.opened=r,r.closed=t,r=n.pop(),t.parent=r),t.previous=e,e.next=t,this.__tokens.add(t),e=t}return this.__tokens};Ki.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Ki.prototype._reset=function(){};Ki.prototype._get_next_token=function(t,e){this._readWhitespace();var r=this._input.read(/.+/g);return r?this._create_token(Jp.RAW,r):this._create_token(Jp.EOF,"")};Ki.prototype._is_comment=function(t){return!1};Ki.prototype._is_opening=function(t){return!1};Ki.prototype._is_closing=function(t,e){return!1};Ki.prototype._create_token=function(t,e){var r=new Yye(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return r};Ki.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};Y3.exports.Tokenizer=Ki;Y3.exports.TOKEN=Jp});var qE=m((Jjt,Qye)=>{"use strict";function Q3(t,e){t=typeof t=="string"?t:t.source,e=typeof e=="string"?e:e.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+e,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+e,"g")}Q3.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var e={};this.__directive_pattern.lastIndex=0;for(var r=this.__directive_pattern.exec(t);r;)e[r[1]]=r[2],r=this.__directive_pattern.exec(t);return e};Q3.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)};Qye.exports.Directives=Q3});var Z3=m((Xjt,Jye)=>{"use strict";var J3=Qp().Pattern,X3={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function bi(t,e){J3.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},X3),this._excluded=Object.assign({},X3),e&&(this.__template_pattern=this._input.get_regexp(e.__template_pattern),this._excluded=Object.assign(this._excluded,e._excluded),this._disabled=Object.assign(this._disabled,e._disabled));var r=new J3(t);this.__patterns={handlebars_comment:r.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:r.starting_with(/{{{/).until_after(/}}}/),handlebars:r.starting_with(/{{/).until_after(/}}/),php:r.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:r.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:r.starting_with(/{%/).until_after(/%}/),django_value:r.starting_with(/{{/).until_after(/}}/),django_comment:r.starting_with(/{#/).until_after(/#}/),smarty:r.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:r.starting_with(/{\*/).until_after(/\*}/),smarty_literal:r.starting_with(/{literal}/).until_after(/{\/literal}/)}}bi.prototype=new J3;bi.prototype._create=function(){return new bi(this._input,this)};bi.prototype._update=function(){this.__set_templated_pattern()};bi.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e};bi.prototype.read_options=function(t){var e=this._create();for(var r in X3)e._disabled[r]=t.templating.indexOf(r)===-1;return e._update(),e};bi.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e};bi.prototype.read=function(){var t="";this._match_pattern?t=this._input.read(this._starting_pattern):t=this._input.read(this._starting_pattern,this.__template_pattern);for(var e=this._read_template();e;)this._match_pattern?e+=this._input.read(this._match_pattern):e+=this._input.readUntil(this.__template_pattern),t+=e,e=this._read_template();return this._until_after&&(t+=this._input.readUntilAfter(this._until_pattern)),t};bi.prototype.__set_templated_pattern=function(){var t=[];this._disabled.php||t.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||t.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||t.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(t.push(this.__patterns.django._starting_pattern.source),t.push(this.__patterns.django_value._starting_pattern.source),t.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||t.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&t.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+t.join("|")+")")};bi.prototype._read_template=function(){var t="",e=this._input.peek();if(e==="<"){var r=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&r==="?"&&(t=t||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&r==="%"&&(t=t||this.__patterns.erb.read())}else e==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(t=t||this.__patterns.handlebars_comment.read(),t=t||this.__patterns.handlebars_unescaped.read(),t=t||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(t=t||this.__patterns.django_value.read()),this._excluded.django||(t=t||this.__patterns.django_comment.read(),t=t||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(t=t||this.__patterns.smarty_comment.read(),t=t||this.__patterns.smarty_literal.read(),t=t||this.__patterns.smarty.read()));return t};Jye.exports.TemplatablePattern=bi});var eh=m((Zjt,Zp)=>{"use strict";var nSt=OE().InputScanner,Zye=Xp().Tokenizer,eN=Xp().TOKEN,iSt=qE().Directives,Yn=V3(),sSt=Qp().Pattern,oSt=Z3().TemplatablePattern;function tN(t,e){return e.indexOf(t)!==-1}var Pe={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:eN.START,RAW:eN.RAW,EOF:eN.EOF},Xye=new iSt(/\/\*/,/\*\//),aSt=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,uSt=/[0-9]/,lSt=/[^\d\.]/,cSt=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Ga=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Ga=Ga.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");Ga="\\?\\.(?!\\d) "+Ga;Ga=Ga.replace(/ /g,"|");var fSt=new RegExp(Ga),ebe="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),dSt=ebe.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),pSt=new RegExp("^(?:"+dSt.join("|")+")$"),RE,qr=function(t,e){Zye.call(this,t,e),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var r=new sSt(this._input),n=new oSt(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(Yn.identifier).matching(Yn.identifierMatch),number:r.matching(aSt),punct:r.matching(fSt),comment:r.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:r.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:r.matching(/<!--/),html_comment_end:r.matching(/-->/),include:r.starting_with(/#include/).until_after(Yn.lineBreak),shebang:r.starting_with(/#!/).until_after(Yn.lineBreak),xml:r.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:n.until(/['\\\n\r\u2028\u2029]/),double_quote:n.until(/["\\\n\r\u2028\u2029]/),template_text:n.until(/[`\\$]/),template_expression:n.until(/[`}\\]/)}};qr.prototype=new Zye;qr.prototype._is_comment=function(t){return t.type===Pe.COMMENT||t.type===Pe.BLOCK_COMMENT||t.type===Pe.UNKNOWN};qr.prototype._is_opening=function(t){return t.type===Pe.START_BLOCK||t.type===Pe.START_EXPR};qr.prototype._is_closing=function(t,e){return(t.type===Pe.END_BLOCK||t.type===Pe.END_EXPR)&&e&&(t.text==="]"&&e.text==="["||t.text===")"&&e.text==="("||t.text==="}"&&e.text==="{")};qr.prototype._reset=function(){RE=!1};qr.prototype._get_next_token=function(t,e){var r=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(Pe.EOF,""):(r=r||this._read_non_javascript(n),r=r||this._read_string(n),r=r||this._read_word(t),r=r||this._read_singles(n),r=r||this._read_comment(n),r=r||this._read_regexp(n,t),r=r||this._read_xml(n,t),r=r||this._read_punctuation(),r=r||this._create_token(Pe.UNKNOWN,this._input.next()),r)};qr.prototype._read_word=function(t){var e;if(e=this.__patterns.identifier.read(),e!=="")return e=e.replace(Yn.allLineBreaks,`
|
|
440
|
+
`),!(t.type===Pe.DOT||t.type===Pe.RESERVED&&(t.text==="set"||t.text==="get"))&&pSt.test(e)?(e==="in"||e==="of")&&(t.type===Pe.WORD||t.type===Pe.STRING)?this._create_token(Pe.OPERATOR,e):this._create_token(Pe.RESERVED,e):this._create_token(Pe.WORD,e);if(e=this.__patterns.number.read(),e!=="")return this._create_token(Pe.WORD,e)};qr.prototype._read_singles=function(t){var e=null;return t==="("||t==="["?e=this._create_token(Pe.START_EXPR,t):t===")"||t==="]"?e=this._create_token(Pe.END_EXPR,t):t==="{"?e=this._create_token(Pe.START_BLOCK,t):t==="}"?e=this._create_token(Pe.END_BLOCK,t):t===";"?e=this._create_token(Pe.SEMICOLON,t):t==="."&&lSt.test(this._input.peek(1))?e=this._create_token(Pe.DOT,t):t===","&&(e=this._create_token(Pe.COMMA,t)),e&&this._input.next(),e};qr.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(t!=="")return t==="="?this._create_token(Pe.EQUALS,t):t==="?."?this._create_token(Pe.DOT,t):this._create_token(Pe.OPERATOR,t)};qr.prototype._read_non_javascript=function(t){var e="";if(t==="#"){if(this._is_first_token()&&(e=this.__patterns.shebang.read(),e))return this._create_token(Pe.UNKNOWN,e.trim()+`
|
|
441
|
+
`);if(e=this.__patterns.include.read(),e)return this._create_token(Pe.UNKNOWN,e.trim()+`
|
|
442
|
+
`);t=this._input.next();var r="#";if(this._input.hasNext()&&this._input.testChar(uSt)){do t=this._input.next(),r+=t;while(this._input.hasNext()&&t!=="#"&&t!=="=");return t==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(r+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(r+="{}",this._input.next(),this._input.next())),this._create_token(Pe.WORD,r)}this._input.back()}else if(t==="<"&&this._is_first_token()){if(e=this.__patterns.html_comment_start.read(),e){for(;this._input.hasNext()&&!this._input.testChar(Yn.newline);)e+=this._input.next();return RE=!0,this._create_token(Pe.COMMENT,e)}}else if(RE&&t==="-"&&(e=this.__patterns.html_comment_end.read(),e))return RE=!1,this._create_token(Pe.COMMENT,e);return null};qr.prototype._read_comment=function(t){var e=null;if(t==="/"){var r="";if(this._input.peek(1)==="*"){r=this.__patterns.block_comment.read();var n=Xye.get_directives(r);n&&n.ignore==="start"&&(r+=Xye.readIgnored(this._input)),r=r.replace(Yn.allLineBreaks,`
|
|
443
|
+
`),e=this._create_token(Pe.BLOCK_COMMENT,r),e.directives=n}else this._input.peek(1)==="/"&&(r=this.__patterns.comment.read(),e=this._create_token(Pe.COMMENT,r))}return e};qr.prototype._read_string=function(t){if(t==="`"||t==="'"||t==='"'){var e=this._input.next();return this.has_char_escapes=!1,t==="`"?e+=this._read_string_recursive("`",!0,"${"):e+=this._read_string_recursive(t),this.has_char_escapes&&this._options.unescape_strings&&(e=hSt(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(Yn.allLineBreaks,`
|
|
444
|
+
`),this._create_token(Pe.STRING,e)}return null};qr.prototype._allow_regexp_or_xml=function(t){return t.type===Pe.RESERVED&&tN(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===Pe.END_EXPR&&t.text===")"&&t.opened.previous.type===Pe.RESERVED&&tN(t.opened.previous.text,["if","while","for"])||tN(t.type,[Pe.COMMENT,Pe.START_EXPR,Pe.START_BLOCK,Pe.START,Pe.END_BLOCK,Pe.OPERATOR,Pe.EQUALS,Pe.EOF,Pe.SEMICOLON,Pe.COMMA])};qr.prototype._read_regexp=function(t,e){if(t==="/"&&this._allow_regexp_or_xml(e)){for(var r=this._input.next(),n=!1,i=!1;this._input.hasNext()&&(n||i||this._input.peek()!==t)&&!this._input.testChar(Yn.newline);)r+=this._input.peek(),n?n=!1:(n=this._input.peek()==="\\",this._input.peek()==="["?i=!0:this._input.peek()==="]"&&(i=!1)),this._input.next();return this._input.peek()===t&&(r+=this._input.next(),r+=this._input.read(Yn.identifier)),this._create_token(Pe.STRING,r)}return null};qr.prototype._read_xml=function(t,e){if(this._options.e4x&&t==="<"&&this._allow_regexp_or_xml(e)){var r="",n=this.__patterns.xml.read_match();if(n){for(var i=n[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),s=i.indexOf("{")===0,o=0;n;){var a=!!n[1],u=n[2],l=!!n[n.length-1]||u.slice(0,8)==="![CDATA[";if(!l&&(u===i||s&&u.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(a?--o:++o),r+=n[0],o<=0)break;n=this.__patterns.xml.read_match()}return n||(r+=this._input.match(/[\s\S]*/g)[0]),r=r.replace(Yn.allLineBreaks,`
|
|
445
|
+
`),this._create_token(Pe.STRING,r)}}return null};function hSt(t){for(var e="",r=0,n=new nSt(t),i=null;n.hasNext();)if(i=n.match(/([\s]|[^\\]|\\\\)+/g),i&&(e+=i[0]),n.peek()==="\\"){if(n.next(),n.peek()==="x")i=n.match(/x([0-9A-Fa-f]{2})/g);else if(n.peek()==="u")i=n.match(/u([0-9A-Fa-f]{4})/g);else{e+="\\",n.hasNext()&&(e+=n.next());continue}if(!i||(r=parseInt(i[1],16),r>126&&r<=255&&i[0].indexOf("x")===0))return t;if(r>=0&&r<32){e+="\\"+i[0];continue}else r===34||r===39||r===92?e+="\\"+String.fromCharCode(r):e+=String.fromCharCode(r)}return e}qr.prototype._read_string_recursive=function(t,e,r){var n,i;t==="'"?i=this.__patterns.single_quote:t==='"'?i=this.__patterns.double_quote:t==="`"?i=this.__patterns.template_text:t==="}"&&(i=this.__patterns.template_expression);for(var s=i.read(),o="";this._input.hasNext();){if(o=this._input.next(),o===t||!e&&Yn.newline.test(o)){this._input.back();break}else o==="\\"&&this._input.hasNext()?(n=this._input.peek(),n==="x"||n==="u"?this.has_char_escapes=!0:n==="\r"&&this._input.peek(1)===`
|
|
446
|
+
`&&this._input.next(),o+=this._input.next()):r&&(r==="${"&&o==="$"&&this._input.peek()==="{"&&(o+=this._input.next()),r===o&&(t==="`"?o+=this._read_string_recursive("}",e,"`"):o+=this._read_string_recursive("`",e,"${"),this._input.hasNext()&&(o+=this._input.next())));o+=i.read(),s+=o}return s};Zp.exports.Tokenizer=qr;Zp.exports.TOKEN=Pe;Zp.exports.positionable_operators=cSt.slice();Zp.exports.line_starters=ebe.slice()});var ibe=m((e6t,nbe)=>{"use strict";var gSt=EE().Output,mSt=U3().Token,AE=V3(),ySt=G3().Options,bSt=eh().Tokenizer,ih=eh().line_starters,th=eh().positionable_operators,J=eh().TOKEN;function Ke(t,e){return e.indexOf(t)!==-1}function vSt(t){return t.replace(/^\s+/g,"")}function wSt(t){for(var e={},r=0;r<t.length;r++)e[t[r].replace(/-/g,"_")]=t[r];return e}function Qn(t,e){return t&&t.type===J.RESERVED&&t.text===e}function yt(t,e){return t&&t.type===J.RESERVED&&Ke(t.text,e)}var PE=["case","return","do","if","throw","else","await","break","continue","async"],_St=["before-newline","after-newline","preserve-newline"],rh=wSt(_St),tbe=[rh.before_newline,rh.preserve_newline],Me={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function rbe(t,e){e.multiline_frame||e.mode===Me.ForInitializer||e.mode===Me.Conditional||t.remove_indent(e.start_line_index)}function xSt(t){t=t.replace(AE.allLineBreaks,`
|
|
447
|
+
`);for(var e=[],r=t.indexOf(`
|
|
448
|
+
`);r!==-1;)e.push(t.substring(0,r)),t=t.substring(r+1),r=t.indexOf(`
|
|
449
|
+
`);return t.length&&e.push(t),e}function xo(t){return t===Me.ArrayLiteral}function nh(t){return Ke(t,[Me.Expression,Me.ForInitializer,Me.Conditional])}function SSt(t,e){for(var r=0;r<t.length;r++){var n=t[r].trim();if(n.charAt(0)!==e)return!1}return!0}function kSt(t,e){for(var r=0,n=t.length,i;r<n;r++)if(i=t[r],i&&i.indexOf(e)!==0)return!1;return!0}function nt(t,e){e=e||{},this._source_text=t||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new ySt(e)}nt.prototype.create_flags=function(t,e){var r=0;t&&(r=t.indentation_level,!this._output.just_added_newline()&&t.line_indent_level>r&&(r=t.line_indent_level));var n={mode:e,parent:t,last_token:t?t.last_token:new mSt(J.START_BLOCK,""),last_word:t?t.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:r,alignment:0,line_indent_level:t?t.line_indent_level:r,start_line_index:this._output.get_line_number(),ternary_depth:0};return n};nt.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new gSt(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(Me.BlockStatement);var r=new bSt(t,this._options);return this._tokens=r.tokenize(),t};nt.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t,e=this._reset(this._source_text),r=this._options.eol;this._options.eol==="auto"&&(r=`
|
|
450
|
+
`,e&&AE.lineBreak.test(e||"")&&(r=e.match(AE.lineBreak)[0]));for(var n=this._tokens.next();n;)this.handle_token(n),this._last_last_text=this._flags.last_token.text,this._flags.last_token=n,n=this._tokens.next();return t=this._output.get_code(r),t};nt.prototype.handle_token=function(t,e){t.type===J.START_EXPR?this.handle_start_expr(t):t.type===J.END_EXPR?this.handle_end_expr(t):t.type===J.START_BLOCK?this.handle_start_block(t):t.type===J.END_BLOCK?this.handle_end_block(t):t.type===J.WORD?this.handle_word(t):t.type===J.RESERVED?this.handle_word(t):t.type===J.SEMICOLON?this.handle_semicolon(t):t.type===J.STRING?this.handle_string(t):t.type===J.EQUALS?this.handle_equals(t):t.type===J.OPERATOR?this.handle_operator(t):t.type===J.COMMA?this.handle_comma(t):t.type===J.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===J.COMMENT?this.handle_comment(t,e):t.type===J.DOT?this.handle_dot(t):t.type===J.EOF?this.handle_eof(t):t.type===J.UNKNOWN?this.handle_unknown(t,e):this.handle_unknown(t,e)};nt.prototype.handle_whitespace_and_comments=function(t,e){var r=t.newlines,n=this._options.keep_array_indentation&&xo(this._flags.mode);if(t.comments_before)for(var i=t.comments_before.next();i;)this.handle_whitespace_and_comments(i,e),this.handle_token(i,e),i=t.comments_before.next();if(n)for(var s=0;s<r;s+=1)this.print_newline(s>0,e);else if(this._options.max_preserve_newlines&&r>this._options.max_preserve_newlines&&(r=this._options.max_preserve_newlines),this._options.preserve_newlines&&r>1){this.print_newline(!1,e);for(var o=1;o<r;o+=1)this.print_newline(!0,e)}};var rN=["async","break","continue","return","throw","yield"];nt.prototype.allow_wrap_or_preserved_newline=function(t,e){if(e=e===void 0?!1:e,!this._output.just_added_newline()){var r=this._options.preserve_newlines&&t.newlines||e,n=Ke(this._flags.last_token.text,th)||Ke(t.text,th);if(n){var i=Ke(this._flags.last_token.text,th)&&Ke(this._options.operator_position,tbe)||Ke(t.text,th);r=r&&i}if(r)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(yt(this._flags.last_token,rN))return;this._output.set_wrap_point()}}};nt.prototype.print_newline=function(t,e){if(!e&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==J.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var r=this._tokens.peek();this._flags.mode===Me.Statement&&!(this._flags.if_block&&Qn(r,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)};nt.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&(t.text==="["||xo(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(t.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))};nt.prototype.print_token=function(t){if(this._output.raw){this._output.add_raw_token(t);return}if(this._options.comma_first&&t.previous&&t.previous.type===J.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var e=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(e),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(t),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(t),this._output.non_breaking_space=!0,this._output.add_token(t.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)};nt.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};nt.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};nt.prototype.set_mode=function(t){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,t),this._flags=this.create_flags(this._previous_flags,t),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};nt.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Me.Statement&&rbe(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};nt.prototype.start_of_object_property=function(){return this._flags.parent.mode===Me.ObjectLiteral&&this._flags.mode===Me.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||yt(this._flags.last_token,["get","set"]))};nt.prototype.start_of_statement=function(t){var e=!1;return e=e||yt(this._flags.last_token,["var","let","const"])&&t.type===J.WORD,e=e||Qn(this._flags.last_token,"do"),e=e||!(this._flags.parent.mode===Me.ObjectLiteral&&this._flags.mode===Me.Statement)&&yt(this._flags.last_token,rN)&&!t.newlines,e=e||Qn(this._flags.last_token,"else")&&!(Qn(t,"if")&&!t.comments_before),e=e||this._flags.last_token.type===J.END_EXPR&&(this._previous_flags.mode===Me.ForInitializer||this._previous_flags.mode===Me.Conditional),e=e||this._flags.last_token.type===J.WORD&&this._flags.mode===Me.BlockStatement&&!this._flags.in_case&&!(t.text==="--"||t.text==="++")&&this._last_last_text!=="function"&&t.type!==J.WORD&&t.type!==J.RESERVED,e=e||this._flags.mode===Me.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||yt(this._flags.last_token,["get","set"])),e?(this.set_mode(Me.Statement),this.indent(),this.handle_whitespace_and_comments(t,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t,yt(t,["do","for","if","while"])),!0):!1};nt.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=Me.Expression;if(t.text==="["){if(this._flags.last_token.type===J.WORD||this._flags.last_token.text===")"){yt(this._flags.last_token,ih)&&(this._output.space_before_token=!0),this.print_token(t),this.set_mode(e),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}e=Me.ArrayLiteral,xo(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),Ke(this._flags.last_token.type,[J.START_EXPR,J.END_EXPR,J.WORD,J.OPERATOR,J.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===J.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,e=Me.ForInitializer):Ke(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,e=Me.Conditional):Ke(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&t.whitespace_before===""?this._output.space_before_token=!1:(Ke(this._flags.last_token.text,ih)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===J.EQUALS||this._flags.last_token.type===J.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===J.WORD){this._output.space_before_token=!1;var r=this._tokens.peek(-3);if(this._options.space_after_named_function&&r){var n=this._tokens.peek(-4);yt(r,["async","function"])||r.text==="*"&&yt(n,["async","function"])?this._output.space_before_token=!0:this._flags.mode===Me.ObjectLiteral?(r.text==="{"||r.text===","||r.text==="*"&&(n.text==="{"||n.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(t);(this._flags.last_token.type===J.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(Ke(this._last_last_text,["function","yield"])||this._flags.mode===Me.ObjectLiteral&&Ke(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===J.START_BLOCK?this.print_newline():(this._flags.last_token.type===J.END_EXPR||this._flags.last_token.type===J.START_EXPR||this._flags.last_token.type===J.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===J.COMMA)&&this.allow_wrap_or_preserved_newline(t,t.newlines),this.print_token(t),this.set_mode(e),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()};nt.prototype.handle_end_expr=function(t){for(;this._flags.mode===Me.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,t.text==="]"&&xo(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===J.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(t),this.restore_mode(),rbe(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Me.Conditional&&(this._previous_flags.mode=Me.Expression,this._flags.do_block=!1,this._flags.do_while=!1)};nt.prototype.handle_start_block=function(t){this.handle_whitespace_and_comments(t);var e=this._tokens.peek(),r=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===J.END_EXPR?(this.set_mode(Me.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Me.BlockStatement):r&&(Ke(r.text,[":",","])&&Ke(e.type,[J.STRING,J.WORD,J.RESERVED])||Ke(e.text,["get","set","..."])&&Ke(r.type,[J.WORD,J.RESERVED]))?Ke(this._last_last_text,["class","interface"])&&!Ke(r.text,[":",","])?this.set_mode(Me.BlockStatement):this.set_mode(Me.ObjectLiteral):this._flags.last_token.type===J.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(Me.BlockStatement):Ke(this._flags.last_token.type,[J.EQUALS,J.START_EXPR,J.COMMA,J.OPERATOR])||yt(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Me.ObjectLiteral):this.set_mode(Me.BlockStatement),this._flags.last_token&&yt(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var n=!e.comments_before&&e.text==="}",i=n&&this._flags.last_word==="function"&&this._flags.last_token.type===J.END_EXPR;if(this._options.brace_preserve_inline){var s=0,o=null;this._flags.inline_frame=!0;do if(s+=1,o=this._tokens.peek(s-1),o.newlines){this._flags.inline_frame=!1;break}while(o.type!==J.EOF&&!(o.type===J.END_BLOCK&&o.opened===t))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&t.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==J.OPERATOR&&(i||this._flags.last_token.type===J.EQUALS||yt(this._flags.last_token,PE)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(xo(this._previous_flags.mode)&&(this._flags.last_token.type===J.START_EXPR||this._flags.last_token.type===J.COMMA)&&((this._flags.last_token.type===J.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===J.COMMA||this._flags.last_token.type===J.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(t),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==J.OPERATOR&&this._flags.last_token.type!==J.START_EXPR&&(this._flags.last_token.type===J.START_BLOCK&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(t),this.indent(),!n&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()};nt.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===Me.Statement;)this.restore_mode();var e=this._flags.last_token.type===J.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:this._options.brace_style==="expand"?e||this.print_newline():e||(xo(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(t)};nt.prototype.handle_word=function(t){if(t.type===J.RESERVED){if(Ke(t.text,["set","get"])&&this._flags.mode!==Me.ObjectLiteral)t.type=J.WORD;else if(t.text==="import"&&Ke(this._tokens.peek().text,["(","."]))t.type=J.WORD;else if(Ke(t.text,["as","from"])&&!this._flags.import_block)t.type=J.WORD;else if(this._flags.mode===Me.ObjectLiteral){var e=this._tokens.peek();e.text===":"&&(t.type=J.WORD)}}if(this.start_of_statement(t)?yt(this._flags.last_token,["var","let","const"])&&t.type===J.WORD&&(this._flags.declaration_statement=!0):t.newlines&&!nh(this._flags.mode)&&(this._flags.last_token.type!==J.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==J.EQUALS&&(this._options.preserve_newlines||!yt(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(t),this.print_newline()):this.handle_whitespace_and_comments(t),this._flags.do_block&&!this._flags.do_while)if(Qn(t,"while")){this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&Qn(t,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Me.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&yt(t,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(t),this._flags.in_case=!0;return}if((this._flags.last_token.type===J.COMMA||this._flags.last_token.type===J.START_EXPR||this._flags.last_token.type===J.EQUALS||this._flags.last_token.type===J.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t)),Qn(t,"function")){(Ke(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(Ke(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===J.OPERATOR))&&!this._output.just_added_blankline()&&!t.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===J.RESERVED||this._flags.last_token.type===J.WORD?yt(this._flags.last_token,["get","set","new","export"])||yt(this._flags.last_token,rN)?this._output.space_before_token=!0:Qn(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===J.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(nh(this._flags.mode)||xo(this._flags.mode))||this.print_newline(),this.print_token(t),this._flags.last_word=t.text;return}var r="NONE";if(this._flags.last_token.type===J.END_BLOCK?this._previous_flags.inline_frame?r="SPACE":yt(t,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&t.newlines?r="NEWLINE":(r="SPACE",this._output.space_before_token=!0):r="NEWLINE":this._flags.last_token.type===J.SEMICOLON&&this._flags.mode===Me.BlockStatement?r="NEWLINE":this._flags.last_token.type===J.SEMICOLON&&nh(this._flags.mode)?r="SPACE":this._flags.last_token.type===J.STRING?r="NEWLINE":this._flags.last_token.type===J.RESERVED||this._flags.last_token.type===J.WORD||this._flags.last_token.text==="*"&&(Ke(this._last_last_text,["function","yield"])||this._flags.mode===Me.ObjectLiteral&&Ke(this._last_last_text,["{",","]))?r="SPACE":this._flags.last_token.type===J.START_BLOCK?this._flags.inline_frame?r="SPACE":r="NEWLINE":this._flags.last_token.type===J.END_EXPR&&(this._output.space_before_token=!0,r="NEWLINE"),yt(t,ih)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?r="SPACE":r="NEWLINE"),yt(t,["else","catch","finally"]))if((!(this._flags.last_token.type===J.END_BLOCK&&this._previous_flags.mode===Me.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&t.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var n=this._output.current_line;n.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else r==="NEWLINE"?yt(this._flags.last_token,PE)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&yt(t,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==J.END_EXPR?(this._flags.last_token.type!==J.START_EXPR||!yt(t,["var","let","const"]))&&this._flags.last_token.text!==":"&&(Qn(t,"if")&&Qn(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):yt(t,ih)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&xo(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():r==="SPACE"&&(this._output.space_before_token=!0);t.previous&&(t.previous.type===J.WORD||t.previous.type===J.RESERVED)&&(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===J.RESERVED&&(t.text==="do"?this._flags.do_block=!0:t.text==="if"?this._flags.if_block=!0:t.text==="import"?this._flags.import_block=!0:this._flags.import_block&&Qn(t,"from")&&(this._flags.import_block=!1))};nt.prototype.handle_semicolon=function(t){this.start_of_statement(t)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(t);for(var e=this._tokens.peek();this._flags.mode===Me.Statement&&!(this._flags.if_block&&Qn(e,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)};nt.prototype.handle_string=function(t){t.text.startsWith("`")&&t.newlines===0&&t.whitespace_before===""&&(t.previous.text===")"||this._flags.last_token.type===J.WORD)||(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===J.RESERVED||this._flags.last_token.type===J.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===J.COMMA||this._flags.last_token.type===J.START_EXPR||this._flags.last_token.type===J.EQUALS||this._flags.last_token.type===J.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):t.text.startsWith("`")&&this._flags.last_token.type===J.END_EXPR&&(t.previous.text==="]"||t.previous.text===")")&&t.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(t)};nt.prototype.handle_equals=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0};nt.prototype.handle_comma=function(t){this.handle_whitespace_and_comments(t,!0),this.print_token(t),this._output.space_before_token=!0,this._flags.declaration_statement?(nh(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)):this._flags.mode===Me.ObjectLiteral||this._flags.mode===Me.Statement&&this._flags.parent.mode===Me.ObjectLiteral?(this._flags.mode===Me.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)};nt.prototype.handle_operator=function(t){var e=t.text==="*"&&(yt(this._flags.last_token,["function","yield"])||Ke(this._flags.last_token.type,[J.START_BLOCK,J.COMMA,J.END_BLOCK,J.SEMICOLON])),r=Ke(t.text,["-","+"])&&(Ke(this._flags.last_token.type,[J.START_BLOCK,J.START_EXPR,J.EQUALS,J.OPERATOR])||Ke(this._flags.last_token.text,ih)||this._flags.last_token.text===",");if(!this.start_of_statement(t)){var n=!e;this.handle_whitespace_and_comments(t,n)}if(t.text==="*"&&this._flags.last_token.type===J.DOT){this.print_token(t);return}if(t.text==="::"){this.print_token(t);return}if(this._flags.last_token.type===J.OPERATOR&&Ke(this._options.operator_position,tbe)&&this.allow_wrap_or_preserved_newline(t),t.text===":"&&this._flags.in_case){this.print_token(t),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==J.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var i=!0,s=!0,o=!1;if(t.text===":"?this._flags.ternary_depth===0?i=!1:(this._flags.ternary_depth-=1,o=!0):t.text==="?"&&(this._flags.ternary_depth+=1),!r&&!e&&this._options.preserve_newlines&&Ke(t.text,th)){var a=t.text===":",u=a&&o,l=a&&!o;switch(this._options.operator_position){case rh.before_newline:this._output.space_before_token=!l,this.print_token(t),(!a||u)&&this.allow_wrap_or_preserved_newline(t),this._output.space_before_token=!0;return;case rh.after_newline:this._output.space_before_token=!0,!a||u?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(t):this._output.space_before_token=!1,this.print_token(t),this._output.space_before_token=!0;return;case rh.preserve_newline:l||this.allow_wrap_or_preserved_newline(t),i=!(this._output.just_added_newline()||l),this._output.space_before_token=i,this.print_token(t),this._output.space_before_token=!0;return}}if(e){this.allow_wrap_or_preserved_newline(t),i=!1;var c=this._tokens.peek();s=c&&Ke(c.type,[J.WORD,J.RESERVED])}else if(t.text==="...")this.allow_wrap_or_preserved_newline(t),i=this._flags.last_token.type===J.START_BLOCK,s=!1;else if(Ke(t.text,["--","++","!","~"])||r){if((this._flags.last_token.type===J.COMMA||this._flags.last_token.type===J.START_EXPR)&&this.allow_wrap_or_preserved_newline(t),i=!1,s=!1,t.newlines&&(t.text==="--"||t.text==="++"||t.text==="~")){var f=yt(this._flags.last_token,PE)&&t.newlines;f&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(f,!0)}this._flags.last_token.text===";"&&nh(this._flags.mode)&&(i=!0),this._flags.last_token.type===J.RESERVED?i=!0:this._flags.last_token.type===J.END_EXPR?i=!(this._flags.last_token.text==="]"&&(t.text==="--"||t.text==="++")):this._flags.last_token.type===J.OPERATOR&&(i=Ke(t.text,["--","-","++","+"])&&Ke(this._flags.last_token.text,["--","-","++","+"]),Ke(t.text,["+","-"])&&Ke(this._flags.last_token.text,["--","++"])&&(s=!0)),(this._flags.mode===Me.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Me.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||i,this.print_token(t),this._output.space_before_token=s};nt.prototype.handle_block_comment=function(t,e){if(this._output.raw){this._output.add_raw_token(t),t.directives&&t.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(t.directives){this.print_newline(!1,e),this.print_token(t),t.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!AE.newline.test(t.text)&&!t.newlines){this._output.space_before_token=!0,this.print_token(t),this._output.space_before_token=!0;return}else this.print_block_commment(t,e)};nt.prototype.print_block_commment=function(t,e){var r=xSt(t.text),n,i=!1,s=!1,o=t.whitespace_before,a=o.length;if(this.print_newline(!1,e),this.print_token_line_indentation(t),this._output.add_token(r[0]),this.print_newline(!1,e),r.length>1){for(r=r.slice(1),i=SSt(r,"*"),s=kSt(r,o),i&&(this._flags.alignment=1),n=0;n<r.length;n++)i?(this.print_token_line_indentation(t),this._output.add_token(vSt(r[n]))):s&&r[n]?(this.print_token_line_indentation(t),this._output.add_token(r[n].substring(a))):(this._output.current_line.set_indent(-1),this._output.add_token(r[n])),this.print_newline(!1,e);this._flags.alignment=0}};nt.prototype.handle_comment=function(t,e){t.newlines?this.print_newline(!1,e):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(t),this.print_newline(!1,e)};nt.prototype.handle_dot=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),yt(this._flags.last_token,PE)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(t,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(t)};nt.prototype.handle_unknown=function(t,e){this.print_token(t),t.text[t.text.length-1]===`
|
|
451
|
+
`&&this.print_newline(!1,e)};nt.prototype.handle_eof=function(t){for(;this._flags.mode===Me.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t)};nbe.exports.Beautifier=nt});var sbe=m((t6t,nN)=>{"use strict";var ESt=ibe().Beautifier,CSt=G3().Options;function DSt(t,e){var r=new ESt(t,e);return r.beautify()}nN.exports=DSt;nN.exports.defaultOptions=function(){return new CSt}});var iN=m((r6t,ube)=>{"use strict";var obe=DE().Options;function abe(t){obe.call(this,t,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var e=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||e;var r=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var n=0;n<r.length;n++)r[n]!=="expand"?this.brace_style="collapse":this.brace_style=r[n]}abe.prototype=new obe;ube.exports.Options=abe});var dbe=m((n6t,fbe)=>{"use strict";var OSt=iN().Options,qSt=EE().Output,RSt=OE().InputScanner,ASt=qE().Directives,lbe=new ASt(/\/\*/,/\*\//),cbe=/\r\n|[\r\n]/,PSt=/\r\n|[\r\n]/g,TE=/\s/,TSt=/(?:\s|\n)+/g,MSt=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,FSt=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function ks(t,e){this._source_text=t||"",this._options=new OSt(e),this._ch=null,this._input=null,this.NESTED_AT_RULE={"@page":!0,"@font-face":!0,"@keyframes":!0,"@media":!0,"@supports":!0,"@document":!0},this.CONDITIONAL_GROUP_RULE={"@media":!0,"@supports":!0,"@document":!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}ks.prototype.eatString=function(t){var e="";for(this._ch=this._input.next();this._ch;){if(e+=this._ch,this._ch==="\\")e+=this._input.next();else if(t.indexOf(this._ch)!==-1||this._ch===`
|
|
452
|
+
`)break;this._ch=this._input.next()}return e};ks.prototype.eatWhitespace=function(t){for(var e=TE.test(this._input.peek()),r=0;TE.test(this._input.peek());)this._ch=this._input.next(),t&&this._ch===`
|
|
453
|
+
`&&(r===0||r<this._options.max_preserve_newlines)&&(r++,this._output.add_new_line(!0));return e};ks.prototype.foundNestedPseudoClass=function(){for(var t=0,e=1,r=this._input.peek(e);r;){if(r==="{")return!0;if(r==="(")t+=1;else if(r===")"){if(t===0)return!1;t-=1}else if(r===";"||r==="}")return!1;e++,r=this._input.peek(e)}return!1};ks.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)};ks.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)};ks.prototype.indent=function(){this._indentLevel++};ks.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--};ks.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;e==="auto"&&(e=`
|
|
454
|
+
`,t&&cbe.test(t||"")&&(e=t.match(cbe)[0])),t=t.replace(PSt,`
|
|
455
|
+
`);var r=t.match(/^[\t ]*/)[0];this._output=new qSt(this._options,r),this._input=new RSt(t),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var n=0,i=!1,s=!1,o=!1,a=!1,u=!1,l=!1,c=this._ch,f=!1,d,p,h;d=this._input.read(TSt),p=d!=="",h=c,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),c=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var y=this._input.read(MSt),b=lbe.get_directives(y);b&&b.ignore==="start"&&(y+=lbe.readIgnored(this._input)),this.print_string(y),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(FSt)),this.eatWhitespace(!0);else if(this._ch==="@"||this._ch==="$")if(this.preserveSingleSpace(p),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var g=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);g.match(/[ :]$/)&&(g=this.eatString(": ").replace(/\s$/,""),this.print_string(g),this._output.space_before_token=!0),g=g.replace(/\s$/,""),g==="extend"?a=!0:g==="import"&&(u=!0),g in this.NESTED_AT_RULE?(this._nestedLevel+=1,g in this.CONDITIONAL_GROUP_RULE&&(o=!0)):!i&&n===0&&g.indexOf(":")!==-1&&(s=!0,this.indent())}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(p),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")s&&(s=!1,this.outdent()),o?(o=!1,i=this._indentLevel>=this._nestedLevel):i=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&i&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(h==="("?this._output.space_before_token=!1:h!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),h==="{"&&this._output.trim(!0),u=!1,a=!1,s&&(this.outdent(),s=!1),this.print_string(this._ch),i=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var v=0;v<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;v++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[v])){f=!0;break}(i||o)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!a&&n===0?(this.print_string(":"),s||(s=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var w=h==='"'||h==="'";this.preserveSingleSpace(w||p),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")f=!1,n===0?(s&&(this.outdent(),s=!1),a=!1,u=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),n++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),n&&(n--,this.outdent()));else{var _=!1;this._input.lookBack("with")&&(_=!0),this.preserveSingleSpace(p||_),this.print_string(this._ch),s&&h==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),l=!0):(this.eatWhitespace(),n++,this.indent())}else if(this._ch===")")n&&(n--,this.outdent()),l&&this._input.peek()===";"&&this._options.selector_separator_newline&&(l=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!s||l)&&n===0&&!u&&!a?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!s&&n===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&TE.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(p),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),TE.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var x=h==='"'||h==="'";this.preserveSingleSpace(x||p),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
456
|
+
`&&f&&this._output.add_new_line()}var C=this._output.get_code(e);return C};fbe.exports.Beautifier=ks});var pbe=m((i6t,sN)=>{"use strict";var LSt=dbe().Beautifier,ISt=iN().Options;function NSt(t,e){var r=new LSt(t,e);return r.beautify()}sN.exports=NSt;sN.exports.defaultOptions=function(){return new ISt}});var oN=m((s6t,mbe)=>{"use strict";var hbe=DE().Options;function gbe(t){hbe.call(this,t,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}gbe.prototype=new hbe;mbe.exports.Options=gbe});var lN=m((o6t,uN)=>{"use strict";var bbe=Xp().Tokenizer,aN=Xp().TOKEN,jSt=qE().Directives,$St=Z3().TemplatablePattern,BSt=Qp().Pattern,Gt={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:aN.START,RAW:aN.RAW,EOF:aN.EOF},ybe=new jSt(/<\!--/,/-->/),$r=function(t,e){bbe.call(this,t,e),this._current_tag_name="";var r=new $St(this._input).read_options(this._options),n=new BSt(this._input);if(this.__patterns={word:r.until(/[\n\r\t <]/),single_quote:r.until_after(/'/),double_quote:r.until_after(/"/),attribute:r.until(/[\n\r\t =>]|\/>/),element_name:r.until(/[\n\r\t >\/]/),handlebars_comment:n.starting_with(/{{!--/).until_after(/--}}/),handlebars:n.starting_with(/{{/).until_after(/}}/),handlebars_open:n.until(/[\n\r\t }]/),handlebars_raw_close:n.until(/}}/),comment:n.starting_with(/<!--/).until_after(/-->/),cdata:n.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:n.starting_with(/<!\[/).until_after(/]>/),processing:n.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var i=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=n.matching(i).until_after(i)}};$r.prototype=new bbe;$r.prototype._is_comment=function(t){return!1};$r.prototype._is_opening=function(t){return t.type===Gt.TAG_OPEN};$r.prototype._is_closing=function(t,e){return t.type===Gt.TAG_CLOSE&&e&&((t.text===">"||t.text==="/>")&&e.text[0]==="<"||t.text==="}}"&&e.text[0]==="{"&&e.text[1]==="{")};$r.prototype._reset=function(){this._current_tag_name=""};$r.prototype._get_next_token=function(t,e){var r=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(Gt.EOF,""):(r=r||this._read_open_handlebars(n,e),r=r||this._read_attribute(n,t,e),r=r||this._read_close(n,e),r=r||this._read_raw_content(n,t,e),r=r||this._read_content_word(n),r=r||this._read_comment_or_cdata(n),r=r||this._read_processing(n),r=r||this._read_open(n,e),r=r||this._create_token(Gt.UNKNOWN,this._input.next()),r)};$r.prototype._read_comment_or_cdata=function(t){var e=null,r=null,n=null;if(t==="<"){var i=this._input.peek(1);i==="!"&&(r=this.__patterns.comment.read(),r?(n=ybe.get_directives(r),n&&n.ignore==="start"&&(r+=ybe.readIgnored(this._input))):r=this.__patterns.cdata.read()),r&&(e=this._create_token(Gt.COMMENT,r),e.directives=n)}return e};$r.prototype._read_processing=function(t){var e=null,r=null,n=null;if(t==="<"){var i=this._input.peek(1);(i==="!"||i==="?")&&(r=this.__patterns.conditional_comment.read(),r=r||this.__patterns.processing.read()),r&&(e=this._create_token(Gt.COMMENT,r),e.directives=n)}return e};$r.prototype._read_open=function(t,e){var r=null,n=null;return e||t==="<"&&(r=this._input.next(),this._input.peek()==="/"&&(r+=this._input.next()),r+=this.__patterns.element_name.read(),n=this._create_token(Gt.TAG_OPEN,r)),n};$r.prototype._read_open_handlebars=function(t,e){var r=null,n=null;return e||this._options.indent_handlebars&&t==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(r=this.__patterns.handlebars_comment.read(),r=r||this.__patterns.handlebars.read(),n=this._create_token(Gt.COMMENT,r)):(r=this.__patterns.handlebars_open.read(),n=this._create_token(Gt.TAG_OPEN,r))),n};$r.prototype._read_close=function(t,e){var r=null,n=null;return e&&(e.text[0]==="<"&&(t===">"||t==="/"&&this._input.peek(1)===">")?(r=this._input.next(),t==="/"&&(r+=this._input.next()),n=this._create_token(Gt.TAG_CLOSE,r)):e.text[0]==="{"&&t==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),n=this._create_token(Gt.TAG_CLOSE,"}}"))),n};$r.prototype._read_attribute=function(t,e,r){var n=null,i="";if(r&&r.text[0]==="<")if(t==="=")n=this._create_token(Gt.EQUALS,this._input.next());else if(t==='"'||t==="'"){var s=this._input.next();t==='"'?s+=this.__patterns.double_quote.read():s+=this.__patterns.single_quote.read(),n=this._create_token(Gt.VALUE,s)}else i=this.__patterns.attribute.read(),i&&(e.type===Gt.EQUALS?n=this._create_token(Gt.VALUE,i):n=this._create_token(Gt.ATTRIBUTE,i));return n};$r.prototype._is_content_unformatted=function(t){return this._options.void_elements.indexOf(t)===-1&&(this._options.content_unformatted.indexOf(t)!==-1||this._options.unformatted.indexOf(t)!==-1)};$r.prototype._read_raw_content=function(t,e,r){var n="";if(r&&r.text[0]==="{")n=this.__patterns.handlebars_raw_close.read();else if(e.type===Gt.TAG_CLOSE&&e.opened.text[0]==="<"&&e.text[0]!=="/"){var i=e.opened.text.substr(1).toLowerCase();if(i==="script"||i==="style"){var s=this._read_comment_or_cdata(t);if(s)return s.type=Gt.TEXT,s;n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(i)&&(n=this._input.readUntil(new RegExp("</"+i+"[\\n\\r\\t ]*?>","ig")))}return n?this._create_token(Gt.TEXT,n):null};$r.prototype._read_content_word=function(t){var e="";if(this._options.unformatted_content_delimiter&&t===this._options.unformatted_content_delimiter[0]&&(e=this.__patterns.unformatted_content_delimiter.read()),e||(e=this.__patterns.word.read()),e)return this._create_token(Gt.TEXT,e)};uN.exports.Tokenizer=$r;uN.exports.TOKEN=Gt});var xbe=m((a6t,_be)=>{"use strict";var WSt=oN().Options,zSt=EE().Output,USt=lN().Tokenizer,ht=lN().TOKEN,vbe=/\r\n|[\r\n]/,HSt=/\r\n|[\r\n]/g,Xn=function(t,e){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=t.max_preserve_newlines,this.preserve_newlines=t.preserve_newlines,this._output=new zSt(t,e)};Xn.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)};Xn.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e};Xn.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};Xn.prototype.add_raw_token=function(t){this._output.add_raw_token(t)};Xn.prototype.print_preserved_newlines=function(t){var e=0;t.type!==ht.TEXT&&t.previous.type!==ht.TEXT&&(e=t.newlines?1:0),this.preserve_newlines&&(e=t.newlines<this.max_preserve_newlines+1?t.newlines:this.max_preserve_newlines+1);for(var r=0;r<e;r++)this.print_newline(r>0);return e!==0};Xn.prototype.traverse_whitespace=function(t){return t.whitespace_before||t.newlines?(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),!0):!1};Xn.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Xn.prototype.print_newline=function(t){this._output.add_new_line(t)};Xn.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))};Xn.prototype.indent=function(){this.indent_level++};Xn.prototype.get_full_indent=function(t){return t=this.indent_level+(t||0),t<1?"":this._output.get_indent_string(t)};var VSt=function(t){for(var e=null,r=t.next;r.type!==ht.EOF&&t.closed!==r;){if(r.type===ht.ATTRIBUTE&&r.text==="type"){r.next&&r.next.type===ht.EQUALS&&r.next.next&&r.next.next.type===ht.VALUE&&(e=r.next.next.text);break}r=r.next}return e},GSt=function(t,e){var r=null,n=null;return e.closed?(t==="script"?r="text/javascript":t==="style"&&(r="text/css"),r=VSt(e)||r,r.search("text/css")>-1?n="css":r.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?n="javascript":r.search(/(text|application|dojo)\/(x-)?(html)/)>-1?n="html":r.search(/test\/null/)>-1&&(n="null"),n):null};function sh(t,e){return e.indexOf(t)!==-1}function KSt(t,e,r){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=r||0,this.parser_token=e||null}function Ka(t){this._printer=t,this._current_frame=null}Ka.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};Ka.prototype.record_tag=function(t){var e=new KSt(this._current_frame,t,this._printer.indent_level);this._current_frame=e};Ka.prototype._try_pop_frame=function(t){var e=null;return t&&(e=t.parser_token,this._printer.indent_level=t.indent_level,this._current_frame=t.parent),e};Ka.prototype._get_frame=function(t,e){for(var r=this._current_frame;r&&t.indexOf(r.tag)===-1;){if(e&&e.indexOf(r.tag)!==-1){r=null;break}r=r.parent}return r};Ka.prototype.try_pop=function(t,e){var r=this._get_frame([t],e);return this._try_pop_frame(r)};Ka.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)};function Jn(t,e,r,n){this._source_text=t||"",e=e||{},this._js_beautify=r,this._css_beautify=n,this._tag_stack=null;var i=new WSt(e,"html");this._options=i,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}Jn.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var t=this._source_text,e=this._options.eol;this._options.eol==="auto"&&(e=`
|
|
457
|
+
`,t&&vbe.test(t)&&(e=t.match(vbe)[0])),t=t.replace(HSt,`
|
|
458
|
+
`);var r=t.match(/^[\t ]*/)[0],n={text:"",type:""},i=new wbe,s=new Xn(this._options,r),o=new USt(t,this._options).tokenize();this._tag_stack=new Ka(s);for(var a=null,u=o.next();u.type!==ht.EOF;)u.type===ht.TAG_OPEN||u.type===ht.COMMENT?(a=this._handle_tag_open(s,u,i,n),i=a):u.type===ht.ATTRIBUTE||u.type===ht.EQUALS||u.type===ht.VALUE||u.type===ht.TEXT&&!i.tag_complete?a=this._handle_inside_tag(s,u,i,o):u.type===ht.TAG_CLOSE?a=this._handle_tag_close(s,u,i):u.type===ht.TEXT?a=this._handle_text(s,u,i):s.add_raw_token(u),n=a,u=o.next();var l=s._output.get_code(e);return l};Jn.prototype._handle_tag_close=function(t,e,r){var n={text:e.text,type:e.type};return t.alignment_size=0,r.tag_complete=!0,t.set_space_before_token(e.newlines||e.whitespace_before!=="",!0),r.is_unformatted?t.add_raw_token(e):(r.tag_start_char==="<"&&(t.set_space_before_token(e.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&r.has_wrapped_attrs&&t.print_newline(!1)),t.print_token(e)),r.indent_content&&!(r.is_unformatted||r.is_content_unformatted)&&(t.indent(),r.indent_content=!1),!r.is_inline_element&&!(r.is_unformatted||r.is_content_unformatted)&&t.set_wrap_point(),n};Jn.prototype._handle_inside_tag=function(t,e,r,n){var i=r.has_wrapped_attrs,s={text:e.text,type:e.type};if(t.set_space_before_token(e.newlines||e.whitespace_before!=="",!0),r.is_unformatted)t.add_raw_token(e);else if(r.tag_start_char==="{"&&e.type===ht.TEXT)t.print_preserved_newlines(e)?(e.newlines=0,t.add_raw_token(e)):t.print_token(e);else{if(e.type===ht.ATTRIBUTE?(t.set_space_before_token(!0),r.attr_count+=1):(e.type===ht.EQUALS||e.type===ht.VALUE&&e.previous.type===ht.EQUALS)&&t.set_space_before_token(!1),e.type===ht.ATTRIBUTE&&r.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(t.traverse_whitespace(e),i=i||e.newlines!==0),this._is_wrap_attributes_force)){var o=r.attr_count>1;if(this._is_wrap_attributes_force_expand_multiline&&r.attr_count===1){var a=!0,u=0,l;do{if(l=n.peek(u),l.type===ht.ATTRIBUTE){a=!1;break}u+=1}while(u<4&&l.type!==ht.EOF&&l.type!==ht.TAG_CLOSE);o=!a}o&&(t.print_newline(!1),i=!0)}t.print_token(e),i=i||t.previous_token_wrapped(),r.has_wrapped_attrs=i}return s};Jn.prototype._handle_text=function(t,e,r){var n={text:e.text,type:"TK_CONTENT"};return r.custom_beautifier_name?this._print_custom_beatifier_text(t,e,r):r.is_unformatted||r.is_content_unformatted?t.add_raw_token(e):(t.traverse_whitespace(e),t.print_token(e)),n};Jn.prototype._print_custom_beatifier_text=function(t,e,r){var n=this;if(e.text!==""){var i=e.text,s,o=1,a="",u="";r.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?s=this._js_beautify:r.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?s=this._css_beautify:r.custom_beautifier_name==="html"&&(s=function(h,y){var b=new Jn(h,y,n._js_beautify,n._css_beautify);return b.beautify()}),this._options.indent_scripts==="keep"?o=0:this._options.indent_scripts==="separate"&&(o=-t.indent_level);var l=t.get_full_indent(o);if(i=i.replace(/\n[ \t]*$/,""),r.custom_beautifier_name!=="html"&&i[0]==="<"&&i.match(/^(<!--|<!\[CDATA\[)/)){var c=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(i);if(!c){t.add_raw_token(e);return}a=l+c[1]+`
|
|
459
|
+
`,i=c[4],c[5]&&(u=l+c[5]),i=i.replace(/\n[ \t]*$/,""),(c[2]||c[3].indexOf(`
|
|
460
|
+
`)!==-1)&&(c=c[3].match(/[ \t]+$/),c&&(e.whitespace_before=c[0]))}if(i)if(s){var f=function(){this.eol=`
|
|
461
|
+
`};f.prototype=this._options.raw_options;var d=new f;i=s(l+i,d)}else{var p=e.whitespace_before;p&&(i=i.replace(new RegExp(`
|
|
462
|
+
(`+p+")?","g"),`
|
|
463
|
+
`)),i=l+i.replace(/\n/g,`
|
|
464
|
+
`+l)}a&&(i?i=a+i+`
|
|
465
|
+
`+u:i=a+u),t.print_newline(!1),i&&(e.text=i,e.whitespace_before="",e.newlines=0,t.add_raw_token(e),t.print_newline(!0))}};Jn.prototype._handle_tag_open=function(t,e,r,n){var i=this._get_tag_open_token(e);return(r.is_unformatted||r.is_content_unformatted)&&!r.is_empty_element&&e.type===ht.TAG_OPEN&&e.text.indexOf("</")===0?(t.add_raw_token(e),i.start_tag_token=this._tag_stack.try_pop(i.tag_name)):(t.traverse_whitespace(e),this._set_tag_position(t,e,i,r,n),i.is_inline_element||t.set_wrap_point(),t.print_token(e)),(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(i.alignment_size=e.text.length+1),!i.tag_complete&&!i.is_unformatted&&(t.alignment_size=i.alignment_size),i};var wbe=function(t,e){if(this.parent=t||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!e)this.tag_complete=!0;else{var r;this.tag_start_char=e.text[0],this.text=e.text,this.tag_start_char==="<"?(r=e.text.match(/^<([^\s>]*)/),this.tag_check=r?r[1]:""):(r=e.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=r?r[1]:"",(e.text.startsWith("{{#>")||e.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&e.next!==null?this.tag_check=e.next.text.split(" ")[0]:this.tag_check=e.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),e.type===ht.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||e.closed&&e.closed.text==="/>";var n=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(n=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(n)))}};Jn.prototype._get_tag_open_token=function(t){var e=new wbe(this._tag_stack.get_parser_token(),t);return e.alignment_size=this._options.wrap_attributes_indent_size,e.is_end_tag=e.is_end_tag||sh(e.tag_check,this._options.void_elements),e.is_empty_element=e.tag_complete||e.is_start_tag&&e.is_end_tag,e.is_unformatted=!e.tag_complete&&sh(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&sh(e.tag_check,this._options.content_unformatted),e.is_inline_element=sh(e.tag_name,this._options.inline)||e.tag_name.includes("-")||e.tag_start_char==="{",e};Jn.prototype._set_tag_position=function(t,e,r,n,i){if(r.is_empty_element||(r.is_end_tag?r.start_tag_token=this._tag_stack.try_pop(r.tag_name):(this._do_optional_end_element(r)&&(r.is_inline_element||t.print_newline(!1)),this._tag_stack.record_tag(r),(r.tag_name==="script"||r.tag_name==="style")&&!(r.is_unformatted||r.is_content_unformatted)&&(r.custom_beautifier_name=GSt(r.tag_check,e)))),sh(r.tag_check,this._options.extra_liners)&&(t.print_newline(!1),t._output.just_added_blankline()||t.print_newline(!0)),r.is_empty_element){if(r.tag_start_char==="{"&&r.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),r.indent_content=!0;var s=t.current_line_has_match(/{{#if/);s||t.print_newline(!1)}r.tag_name==="!--"&&i.type===ht.TAG_CLOSE&&n.is_end_tag&&r.text.indexOf(`
|
|
466
|
+
`)===-1||(r.is_inline_element||r.is_unformatted||t.print_newline(!1),this._calcluate_parent_multiline(t,r))}else if(r.is_end_tag){var o=!1;o=r.start_tag_token&&r.start_tag_token.multiline_content,o=o||!r.is_inline_element&&!(n.is_inline_element||n.is_unformatted)&&!(i.type===ht.TAG_CLOSE&&r.start_tag_token===n)&&i.type!=="TK_CONTENT",(r.is_content_unformatted||r.is_unformatted)&&(o=!1),o&&t.print_newline(!1)}else r.indent_content=!r.custom_beautifier_name,r.tag_start_char==="<"&&(r.tag_name==="html"?r.indent_content=this._options.indent_inner_html:r.tag_name==="head"?r.indent_content=this._options.indent_head_inner_html:r.tag_name==="body"&&(r.indent_content=this._options.indent_body_inner_html)),!(r.is_inline_element||r.is_unformatted)&&(i.type!=="TK_CONTENT"||r.is_content_unformatted)&&t.print_newline(!1),this._calcluate_parent_multiline(t,r)};Jn.prototype._calcluate_parent_multiline=function(t,e){e.parent&&t._output.just_added_newline()&&!((e.is_inline_element||e.is_unformatted)&&e.parent.is_inline_element)&&(e.parent.multiline_content=!0)};var YSt=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","nav","ol","p","pre","section","table","ul"],QSt=["a","audio","del","ins","map","noscript","video"];Jn.prototype._do_optional_end_element=function(t){var e=null;if(!(t.is_empty_element||!t.is_start_tag||!t.parent)){if(t.tag_name==="body")e=e||this._tag_stack.try_pop("head");else if(t.tag_name==="li")e=e||this._tag_stack.try_pop("li",["ol","ul"]);else if(t.tag_name==="dd"||t.tag_name==="dt")e=e||this._tag_stack.try_pop("dt",["dl"]),e=e||this._tag_stack.try_pop("dd",["dl"]);else if(t.parent.tag_name==="p"&&YSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||QSt.indexOf(r.tag_name)===-1)&&(e=e||this._tag_stack.try_pop("p"))}else t.tag_name==="rp"||t.tag_name==="rt"?(e=e||this._tag_stack.try_pop("rt",["ruby","rtc"]),e=e||this._tag_stack.try_pop("rp",["ruby","rtc"])):t.tag_name==="optgroup"?e=e||this._tag_stack.try_pop("optgroup",["select"]):t.tag_name==="option"?e=e||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):t.tag_name==="colgroup"?e=e||this._tag_stack.try_pop("caption",["table"]):t.tag_name==="thead"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"])):t.tag_name==="tbody"||t.tag_name==="tfoot"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("thead",["table"]),e=e||this._tag_stack.try_pop("tbody",["table"])):t.tag_name==="tr"?(e=e||this._tag_stack.try_pop("caption",["table"]),e=e||this._tag_stack.try_pop("colgroup",["table"]),e=e||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(t.tag_name==="th"||t.tag_name==="td")&&(e=e||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),e=e||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return t.parent=this._tag_stack.get_parser_token(),e}};_be.exports.Beautifier=Jn});var Sbe=m((u6t,cN)=>{"use strict";var JSt=xbe().Beautifier,XSt=oN().Options;function ZSt(t,e,r,n){var i=new JSt(t,e,r,n);return i.beautify()}cN.exports=ZSt;cN.exports.defaultOptions=function(){return new XSt}});var Obe=m((l6t,ME)=>{"use strict";var kbe=sbe(),Ebe=pbe(),Cbe=Sbe();function Dbe(t,e,r,n){return r=r||kbe,n=n||Ebe,Cbe(t,e,r,n)}Dbe.defaultOptions=Cbe.defaultOptions;ME.exports.js=kbe;ME.exports.css=Ebe;ME.exports.html=Dbe});var Abe=m((c6t,Rbe)=>{"use strict";function qbe(t,e,r){var n=function(i,s){return t.js_beautify(i,s)};return n.js=t.js_beautify,n.css=e.css_beautify,n.html=r.html_beautify,n.js_beautify=t.js_beautify,n.css_beautify=e.css_beautify,n.html_beautify=r.html_beautify,n}typeof define=="function"&&define.amd?define(["./lib/beautify","./lib/beautify-css","./lib/beautify-html"],function(t,e,r){return qbe(t,e,r)}):function(t){var e=Obe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=qbe(e,e,e)}(Rbe)});var Mk=ut(ph(),1);var t0e=Object.defineProperty,r0e=(t,e,r)=>e in t?t0e(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,S=(t,e,r)=>(r0e(t,typeof e!="symbol"?e+"":e,r),r),ON=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},Za=(t,e,r)=>(ON(t,e,"read from private field"),r?r.call(t):e.get(t)),yN=(t,e,r)=>{if(e.has(t))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(t):e.set(t,r)},bN=(t,e,r,n)=>(ON(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),n0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},ZE=n0e;function hh(t){t.startsWith("#")&&(t=t.slice(1));let e=t.match(/.{1,2}/g);return[parseInt(e[0],16),parseInt(e[1],16),parseInt(e[2],16)]}function qN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Kt(t){typeof t=="string"&&(t={"":t});let e=""in t,r=!1;for(let n in t)if(n&&+n>=100){r=!0;break}if(!r&&(!e||Object.keys(t).length>1)){let n=0,i="0"in t?hh(t[0]):[0,0,0],s,o,a=[],u=()=>{let l=s-n,c=o.map((f,d)=>(f-i[d])/l);for(let f of a){let d=f-n,p=i.map((h,y)=>Math.round(h+c[y]*d));t[f]="#"+qN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=hh(t[l]),u(),a.length=0,i=o):i=hh(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?hh(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var i0e={slate:Kt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Kt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Kt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Kt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Kt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Kt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Kt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Kt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Kt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Kt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Kt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Kt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Kt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Kt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Kt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Kt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Kt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Kt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Kt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Kt({5:"#450001",10:"#490102",20:"#640304",30:"#800506",40:"#a11012",50:"#d11a1e",55:"#ed0a0e",60:"#f97476",70:"#fa8b8d",80:"#fdcfcf",95:"#fff1f1"}),black:"#000000",white:"#ffffff"},s0e=i0e,o0e=16,a0e="",u0e=a0e,l0e={"::scrollbar":"::-webkit-scrollbar","::scrollbar-button":"::-webkit-scrollbar-button","::scrollbar-thumb":"::-webkit-scrollbar-thumb","::scrollbar-track":"::-webkit-scrollbar-track","::scrollbar-track-piece":"::-webkit-scrollbar-track-piece","::scrollbar-corner":"::-webkit-scrollbar-corner","::slider-thumb":["::-webkit-slider-thumb","::-moz-range-thumb"],"::slider-runnable-track":["::-webkit-slider-runnable-track","::-moz-range-track"],"::meter":"::-webkit-meter","::resizer":"::-webkit-resizer","::progress":"::-webkit-progress",":first":":first-child",":last":":last-child",":even":":nth-child(2n)",":odd":":nth-child(odd)",":nth(":":nth-child("},c0e=l0e,f0e={square:{"aspect-ratio":"1/1"},video:{"aspect-ratio":"16/9"},rounded:{"border-radius":"1e9em"},round:{"border-radius":"50%"},hidden:{display:"none"},hide:{display:"none"},block:{display:"block"},table:{display:"table"},flex:{display:"flex"},grid:{display:"grid"},contents:{display:"contents"},inline:{display:"inline"},"inline-block":{display:"inline-block"},"inline-flex":{display:"inline-flex"},"inline-grid":{display:"inline-grid"},"inline-table":{display:"inline-table"},"table-cell":{display:"table-cell"},"table-caption":{display:"table-caption"},"flow-root":{display:"flow-root"},"list-item":{display:"list-item"},"table-row":{display:"table-row"},"table-column":{display:"table-column"},"table-row-group":{display:"table-row-group"},"table-column-group":{display:"table-column-group"},"table-header-group":{display:"table-header-group"},"table-footer-group":{display:"table-footer-group"},italic:{"font-style":"italic"},oblique:{"font-style":"oblique"},isolate:{isolation:"isolate"},overflow:{overflow:"visible"},untouchable:{"pointer-events":"none"},static:{position:"static"},fixed:{position:"fixed"},abs:{position:"absolute"},rel:{position:"relative"},sticky:{position:"sticky"},uppercase:{"text-transform":"uppercase"},lowercase:{"text-transform":"lowercase"},capitalize:{"text-transform":"capitalize"},visible:{visibility:"visible"},invisible:{visibility:"hidden"},vw:{width:"100vw"},vh:{height:"100vh"},"max-vw":{"max-width":"100vw"},"max-vh":{"max-height":"100vh"},"min-vw":{"min-width":"100vw"},"min-vh":{"min-height":"100vh"},"center-content":{"justify-content":"center","align-items":"center"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",clip:"rect(0,0,0,0)","white-space":"nowrap","border-width":"0"},full:{width:"100%",height:"100%"},center:{left:0,right:0,"margin-left":"auto","margin-right":"auto"},middle:{top:0,bottom:0,"margin-top":"auto","margin-bottom":"auto"},"break-spaces":{"white-space":"break-spaces"},"break-word":{"overflow-wrap":"break-word",overflow:"hidden"}},sO=f0e,d0e=["dark","light"],p0e=d0e,h0e={storage:{sync:!0,key:"scheme"}},g0e=h0e,nc={content:"content-box",border:"border-box",padding:"padding-box"},gh={min:"min-content",max:"max-content"},Cs={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in ZE)Cs[t]=ZE[t]/16+"rem";var m0e={BackgroundClip:nc,BackgroundOrigin:nc,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...nc,margin:"margin-box",fill:"fill-box",stroke:"stroke-box",view:"view-box"},FlexDirection:{col:"column","col-reverse":"column-reverse"},FontFamily:{mono:"ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace",sans:"ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji",serif:"ui-serif,Georgia,Cambria,Times New Roman,Times,serif"},FontWeight:{thin:100,extralight:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,heavy:900},GridAutoColumns:gh,GridAutoRows:gh,GridTemplateColumns:gh,GridTemplateRows:gh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...nc,margin:"margin-box"},TransformBox:{...nc,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Cs,MinWidth:Cs,MinHeight:Cs,MaxWidth:Cs,MaxHeight:Cs,Height:Cs,FlexBasis:Cs},y0e=m0e;function KE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var b0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function RN(t,e,r){if(r){let n="",i=t.match(b0e);if(i)if(t.includes("/")){let[s,o]=t.split("/");return{value:+s/+o*100+"%",unit:n}}else{let s=+i[1];return n=i[3]||"",n||((r==="rem"||r==="em")&&(s=s/e),n=r||""),{value:s,unit:n}}}}function v0e(t,e,r){let n=c=>c==="+"||c==="-"||c==="*"||c==="/",i="",s,o="",a=!1,u=!1;function l(c,f="",d=""){if(s===2&&!u){let p=RN(o,e,r);p&&(o=p.value+p.unit)}i+=o+f+c+d,s=null,u=!1,o=""}for(let c=0;c<t.length;c++){let f=t[c];if(f==="("||f===")")a=f===")",l(f);else if(f===",")l(f,""," ");else{switch(s){case 1:break;case 2:if(n(f)){l(f," "," ");continue}else/[0-9]/.test(f)||(u=!0);break;default:a&&(i+=" "),isNaN(+f)?n(f)||(s=1):s=2;break}s?o+=f:i+=f}}return o&&(i+=o),i}function YE(t,e,r,n,i,s){let o="",a="",u;if(typeof t=="number")o=t,a=e||"";else{if(n){let c=!1,f=!1;t=t.replace(new RegExp(`(^|,| |\\()((?:${r.join("|")})(?:-(?:[0-9A-Za-z-]+))?)(?:\\/(\\.?[0-9]+%?))?(?=(\\)|\\}|,| |$))`,"gm"),(d,p,h,y)=>{f=!0;let b=n[h];if(b){let g;for(let v of s)if(g=b[v])break;if(g){c=!0;let v=g;if(y){let w=y.endsWith("%")?parseFloat(y)/100:+y;w=isNaN(w)?1:Math.min(Math.max(w,0),1),v+=Math.round(w*255).toString(16).toUpperCase().padStart(2,"0")}return p+v}}return d}),f&&(u=c)}let l=RN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:v0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var ug={"(":")","'":"'",'"':'"',"{":"}"},w0e=["!","*",">","+","~",":","[","@","_"];function hc(t,e,r,n=[]){let i=[",",...n],s=[],o="",a=0;return function u(l,c,f,d=""){let p,h=!1;c&&(c===")"&&o.slice(-1)==="$"?p=o.length-1:(c==="'"||c==='"')&&(h=!0),o+=l[a++]);let y=()=>{let b=o;if(o="",e&&b in e){let g=a;a=0,u(e[b].toString()),a=g}else if(r&&b in r){let g=a;a=0,u(r[b].toString()),a=g}else s.push({value:b})};for(;a<l.length;a++){let b=l[a];if(b===c){if(o+=b,h){let g=0;for(let v=o.length-2;o[v]==="\\";v--)g++;if(g%2)continue}p!==void 0&&(o=o.slice(0,p)+o.slice(p).replace(/\$\((.*)\)/,"var(--$1)")),f||(h?s.push(o):y(),d="",o="");break}else if(!h&&b in ug)u(l,ug[b],f===void 0?0:f+1,d);else if((b==="|"||b===" ")&&c!=="}"&&(!h||d==="path"))c?o+=" ":y();else{if(!c){if(b==="."){if(isNaN(+l[a+1]))break;l[a-1]==="-"&&(o+="0")}else if(i.includes(b)){o&&y(),s.push(b);continue}else if(b==="#"&&(o||s.length&&l[a-1]!=="|"&&s[a-1]!==" ")||w0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&y()}(t),[s,t.slice(a)]}var vN=[":disabled",":active",":focus",":hover"],ic="matches",_0e="semantics",wN="symbol",AN="width",QE="max-"+AN,JE="min-"+AN,eC="motion",PN="reduce",_N=PN+"d-"+eC,XE="px",x0e="rem",S0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,k0e=t=>t.split(S0e).map((e,r)=>r%3?e:e.replace(/_/g," ")).join(""),I=class{constructor(t,e,r){this.className=t,this.matching=e,this.css=r;let n=this.constructor,{id:i,unit:s,colorful:o,prop:a}=n,{rootSize:u,scope:l,important:c}=r.config,{themeNames:f,colorNames:d,colorThemesMap:p,selectors:h,globalValues:y,breakpoints:b,mediaQueries:g}=r,v=r.values[i],w=r.relationThemesMap[t],_=t,x,C,M,P;if(e.origin===_0e){let[G,ae]=e.value;M=_.slice(G.length),x=ae}else if(this.analyzeToken)[C,P,M]=this.analyzeToken(_,v,y);else{let G;if(e.origin===ic){let ae=_.indexOf(":");this.prefix=_.slice(0,ae+1),this.prefix.includes("(")?(this.prefix=void 0,G=_):G=_.slice(ae+1)}else e.origin===wN&&(this.symbol=_[0],G=_.slice(1));[P,M]=hc(G,v,y)}M[0]==="!"&&(this.important=!0,M=M.slice(1));let R=G=>{let ae=k0e(G),F=[],T="",ue=0;for(let re=0;re<ae.length;re++){let fe=ae[re];if(fe==="\\"){T+=fe+ae[++re];continue}!ue&&fe===","?(F.push(T),T=""):(T+=fe,ue&&fe===")"?ue--:fe==="("&&ue++)}return T&&F.push(T),F};this.prefixSelectors=C?R(C):[""];let z=M.split("@"),$=z[0];if($){this.vendorSuffixSelectors={};let G=(re,fe,oe,ie)=>{for(let[pe,be]of fe)if(pe.test(re)){for(let Ce of be)G(re.replace(pe,Ce),fe,oe,!0);return}ie&&oe.push(re)},ae=[];""in h?G($,h[""],ae,!0):ae.push($);let F={};for(let[re,fe]of Object.entries(h)){if(!re)continue;let oe=[];for(let ie of ae)G(ie,fe,oe,!1);oe.length&&(F[re]=oe)}let T=(re,fe)=>{let oe=fe.reduce((ie,pe)=>(ie.push(...R(pe)),ie),[]);re in this.vendorSuffixSelectors?this.vendorSuffixSelectors[re].push(...oe):this.vendorSuffixSelectors[re]=oe},ue=Object.keys(F);if(ue.length)for(let re of ue)T(re,F[re]);else T("",ae);for(let re of Object.values(this.vendorSuffixSelectors))for(let fe of re){this.hasWhere!==!1&&(this.hasWhere=fe.includes(":where("));for(let oe=0;oe<vN.length;oe++)if(fe.includes(vN[oe])){(this.priority===-1||this.priority>oe)&&(this.priority=oe);break}}}else this.vendorSuffixSelectors={"":[""]};for(let G=1;G<z.length;G++){let ae=z[G];if(ae)if(f.includes(ae))this.theme=ae;else if(ae==="rtl"||ae==="ltr")this.direction=ae;else{let F,T,ue=ae.indexOf("_");if(ue!==-1)F=ae.slice(0,ue),T=ae.slice(ue);else{let re=ae.indexOf("(");re!==-1&&(F=ae.slice(0,re),T=ae.slice(re))}if(!F){F="media";let re=[];this.media={token:ae,features:{}};let fe=ae.split("&");for(let oe of fe)if(oe==="all"||oe==="print"||oe==="screen"||oe==="speech")this.media.type=oe;else if(oe==="\u{1F5A8}")this.media.type="print";else if(oe==="landscape"||oe==="portrait")re.push("(orientation:"+oe+")");else if(oe===eC||oe===_N)re.push("(prefers-"+_N+":"+(oe===eC?"no-preference":PN)+")");else if(g&&oe in g)re.push(g[oe]);else{let ie={token:oe},pe="",be="",Ce=0;oe.startsWith("<=")?(be="<=",pe=QE):oe.startsWith(">=")||b[oe]?(be=">=",pe=JE):oe.startsWith(">")?(be=">",pe=JE,Ce=.02):oe.startsWith("<")&&(be="<",pe=QE,Ce=-.02);let Qe=be?oe.replace(be,""):oe,ve=b[Qe];switch(pe){case QE:case JE:ve?Object.assign(ie,YE(ve,XE)):Object.assign(ie,YE(Qe,XE)),ie.unit===XE&&(ie.value+=Ce),this.media.features[pe]=ie,re.push("("+pe+":"+(ie.value+ie.unit)+")");break}}T="",this.media.type&&(T=this.media.type),re.length&&(T+=(T?" and ":"")+re.join(" and "))}T&&(this.at[F]=(F in this.at?this.at[F]+" and ":"")+T.replace(/_/g," "))}}this.order===void 0&&(this.order=0);let ee=(G,ae)=>{let F,T,ue=(fe,oe,ie)=>{let pe="";this.direction&&(pe+="[dir="+this.direction+"] ");let be=this.prefixSelectors.map(ve=>ve+pe),Ce=(ve,Ct)=>be.map(dt=>(ve?"."+ve+" ":"")+(l?l+" ":"")+dt).reduce((dt,de)=>(dt.push(ie.reduce((le,ne)=>(le.push(de+"."+CSS.escape(Ct)+ne),le),[]).join(",")),dt),[]).join(","),Qe=Ce(oe,t)+(w?Object.entries(w).filter(([ve])=>this.theme||!o||!oe||!ve||ve===oe).map(([ve,Ct])=>Ct.reduce((dt,de)=>dt+","+Ce(this.theme??((o||this.getThemeProps)&&oe||ve),de),"")).join(""):"")+"{"+fe+"}";for(let ve of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Qe="@"+ve+" "+this.at[ve]+"{"+Qe+"}";return Qe},re=[];if(P){let fe,oe;for(let ie of P)typeof ie=="string"?re.push(ie):(fe=YE(ie.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[G]),fe.colorMatched!==void 0&&oe!==!0&&(oe=fe.colorMatched),re.push(fe.value+fe.unit));if(ae&&(oe===void 0?G:!oe))return;if(re.length===1?fe?(F=fe.value,T=fe.unit):F=re[0]:F=re.reduce((ie,pe,be)=>ie+pe+(pe===","||P[be+1]===","||be===P.length-1?"":" "),""),typeof F!="object"){this.parseValue&&(F=this.parseValue(F,this.css.config)),o&&F==="current"&&(F="currentColor");let ie={unit:T,value:F,important:this.important};if(this.getThemeProps){let pe=this.getThemeProps(ie,r);for(let be in pe)for(let Ce of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:T,value:F,text:ue(Object.entries(pe[be]).map(([Qe,ve])=>KE(Qe,{important:(this.important||c)&&!ve.endsWith("!important"),unit:"",value:ve})).join(";"),be,Ce),theme:be});return}else this.get&&(F=this.get(ie))}}else F=x;for(let fe of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:T,value:F,text:ue(typeof F=="object"?Object.entries(F).map(([oe,ie])=>KE(oe,{...typeof ie=="object"?ie:{unit:"",value:ie},important:this.important||c})).join(";"):KE(a,{unit:T,value:F,important:this.important||c}),G,fe),theme:G})};if(this.getThemeProps)ee(void 0,!1);else if(this.theme)ee(this.theme,!1);else if(o)for(let G of f)ee(G,!0);else ee("",!1)}prefix;symbol;token;prefixSelectors;vendorSuffixSelectors;important;media;at={};direction;theme;unitToken;hasWhere;priority=-1;natives=[];static get prop(){return this.id?.replace(/(?!^)[A-Z]/g,t=>"-"+t).toLowerCase()}static match(t,e,r,n){let{colorStarts:i,symbol:s,prop:o}=this;if(e&&e.test(t))return{origin:ic};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:ic};if(n.length&&t.indexOf("|")===-1){let a=t.match("^"+i+"((?:"+n.join("|")+")[0-9a-zA-Z-]*)");if(a&&a[1]in r)return{origin:ic}}}if(s&&t.startsWith(s))return{origin:wN};if(o&&t.startsWith(o+":"))return{origin:ic}}get text(){return this.natives.map(t=>t.text).join("")}};S(I,"id"),S(I,"matches"),S(I,"colorStarts"),S(I,"symbol"),S(I,"unit",x0e),S(I,"colorful");var yh=class extends I{};S(yh,"id","FontWeight"),S(yh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),S(yh,"unit","");var tC=class extends I{};S(tC,"id","FontFamily"),S(tC,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var rC=class extends I{};S(rC,"id","FontSize"),S(rC,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var nC=class extends I{static get prop(){return""}get(t){let e=this.prefix[0]==="m"?"margin":"padding",r=e+"-left",n=e+"-right",i=e+"-top",s=e+"-bottom";switch(this.prefix[1]){case"x":return{[r]:t,[n]:t};case"y":return{[i]:t,[s]:t};case"l":return{[r]:t};case"r":return{[n]:t};case"t":return{[i]:t};case"b":return{[s]:t};default:return{[e]:t}}}get order(){return this.prefix==="p:"||this.prefix==="m:"?-1:0}};S(nC,"id","Spacing"),S(nC,"matches","^[pm][xytblr]?:.");var iC=class extends I{};S(iC,"id","Width"),S(iC,"matches","^w:.");var sC=class extends I{};S(sC,"id","Height"),S(sC,"matches","^h:.");var oC=class extends I{};S(oC,"id","MinWidth"),S(oC,"matches","^min-w:.");var aC=class extends I{};S(aC,"id","MinHeight"),S(aC,"matches","^min-h:.");var bh=class extends I{};S(bh,"id","LetterSpacing"),S(bh,"matches","^ls:."),S(bh,"unit","em");var E0e="subpixel-antialiased",xN="-webkit-font-smoothing",SN="-moz-osx-font-smoothing",vh=class extends I{static get prop(){return""}get(t){let e={};switch(t.value){case E0e:e[xN]=e[SN]={...t,value:"auto"};break;case"antialiased":e[xN]={...t,value:"antialiased"},e[SN]={...t,value:"grayscale"};break}return e}};S(vh,"id","FontSmoothing"),S(vh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),S(vh,"unit","");var wh=class extends I{};S(wh,"id","FontStyle"),S(wh,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),S(wh,"unit","deg");var uC=class extends I{};S(uC,"id","FontVariantNumeric"),S(uC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var lC=class extends I{};S(lC,"id","FontFeatureSettings"),S(lC,"matches","^font-feature:.");var _h=class extends I{};S(_h,"id","LineHeight"),S(_h,"matches","^lh:."),S(_h,"unit","");var cC=class extends I{};S(cC,"id","ObjectFit"),S(cC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var fC=class extends I{};S(fC,"id","ObjectPosition"),S(fC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var dC=class extends I{};S(dC,"id","TextAlign"),S(dC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var xh=class extends I{order=-1};S(xh,"id","TextDecoration"),S(xh,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),S(xh,"colorful",!0);var pC=class extends I{};S(pC,"id","TextTransform"),S(pC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var hC=class extends I{};S(hC,"id","VerticalAlign"),S(hC,"matches","^(?:v|vertical):.");var Sh=class extends I{static get prop(){return""}get(t){return{overflow:{...t,value:"hidden"},display:{...t,value:"-webkit-box"},"overflow-wrap":{...t,value:"break-word"},"text-overflow":{...t,value:"ellipsis"},"-webkit-box-orient":{...t,value:"vertical"},"-webkit-line-clamp":t}}};S(Sh,"id","Lines"),S(Sh,"matches","^lines:."),S(Sh,"unit","");var kh=class extends I{};S(kh,"id","TransformOrigin"),S(kh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),S(kh,"unit","px");var gC=class extends I{};S(gC,"id","TransformStyle"),S(gC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var mC=class extends I{};S(mC,"id","TransformBox"),S(mC,"matches","^transform:(?:$values)(?!\\|)");var Eh=class extends I{parseValue(t,{rootSize:e}){return t.replace(/(translate|scale|skew|rotate|perspective|matrix)(3d|[XYZ])?\((.*?)\)/g,(r,n,i,s)=>{let o,a;switch(n){case"translate":o="rem";break;case"skew":o="deg";break;case"rotate":i==="3d"&&(a=!0),o="deg";break;default:return r}let u=s.split(",");return r.replace(s,u.map((l,c)=>!a||u.length-1===c?Number.isNaN(+l)?l:l/(o==="rem"?e:1)+o:l).join(","))})}};S(Eh,"id","Transform"),S(Eh,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),S(Eh,"unit","");var yC=class extends I{order=-1};S(yC,"id","Transition"),S(yC,"symbol","~");var Ch=class extends I{};S(Ch,"id","TransitionDelay"),S(Ch,"matches","^~delay:."),S(Ch,"unit","ms");var Dh=class extends I{};S(Dh,"id","TransitionDuration"),S(Dh,"matches","^~duration:."),S(Dh,"unit","ms");var bC=class extends I{};S(bC,"id","TransitionProperty"),S(bC,"matches","^~property:.");var vC=class extends I{};S(vC,"id","TransitionTimingFunction"),S(vC,"matches","^~easing:.");var wC=class extends I{};S(wC,"id","MaxHeight"),S(wC,"matches","^max-h:.");var _C=class extends I{};S(_C,"id","MaxWidth"),S(_C,"matches","^max-w:.");var xC=class extends I{};S(xC,"id","Display"),S(xC,"matches","^d:.");var SC=class extends I{};S(SC,"id","BoxSizing"),S(SC,"matches","^box:(?:$values)(?!\\|)");var kC=class extends I{};S(kC,"id","Opacity"),S(kC,"unit","");var TN=class extends I{};S(TN,"id","Visibility");var MN=class extends I{};S(MN,"id","Clear");var FN=class extends I{};S(FN,"id","Float");var LN=class extends I{};S(LN,"id","Isolation");var EC=class extends I{static get prop(){return""}get(t){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":return{"overflow-x":t};case"y":return{"overflow-y":t}}return{overflow:t}}get order(){if(this.prefix)switch(this.prefix.slice(-2,-1)){case"x":case"y":return 0}return-1}};S(EC,"id","Overflow"),S(EC,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var CC=class extends I{static get prop(){return""}get(t){switch(this.prefix.slice(-2,-1)){case"x":return{"overscroll-behavior-x":t};case"y":return{"overscroll-behavior-y":t};default:return{"overscroll-behavior":t}}}};S(CC,"id","OverscrollBehavior"),S(CC,"matches","^overscroll-behavior(?:-[xy])?:");var Oh=class extends I{};S(Oh,"id","ZIndex"),S(Oh,"matches","^z:."),S(Oh,"unit","");var qh=class extends I{};S(qh,"id","AnimationDelay"),S(qh,"matches","^@delay:."),S(qh,"unit","ms");var DC=class extends I{};S(DC,"id","AnimationDirection"),S(DC,"matches","^@direction:.");var OC=class extends I{};S(OC,"id","AnimationFillMode"),S(OC,"matches","^@fill-mode:.");var Rh=class extends I{};S(Rh,"id","AnimationIterationCount"),S(Rh,"matches","^@iteration-count:."),S(Rh,"unit","");var qC=class extends I{};S(qC,"id","AnimationName"),S(qC,"matches","^@name:.");var RC=class extends I{};S(RC,"id","AnimationPlayState"),S(RC,"matches","^@play-state:.");var AC=class extends I{};S(AC,"id","AnimationTimingFunction"),S(AC,"matches","^@easing:.");var Ah=class extends I{order=-1};S(Ah,"id","Animation"),S(Ah,"symbol","@"),S(Ah,"unit","");var mh="border-";function cg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=mh+"left"+r,s=mh+"right"+r,o=mh+"top"+r,a=mh+"bottom"+r;switch(n){case"x":return{[i]:e,[s]:e};case"y":return{[o]:e,[a]:e};case"l":return{[i]:e};case"r":return{[s]:e};case"t":return{[o]:e};case"b":return{[a]:e};default:return{["border"+r]:e}}}var oc=class extends I{static get prop(){return""}get(t){return cg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};S(oc,"id","BorderColor"),S(oc,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),S(oc,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),S(oc,"colorful",!0);var Ph="border-top-left-radius",Th="border-top-right-radius",Mh="border-bottom-left-radius",Fh="border-bottom-right-radius",kN="border-radius",C0e=[Ph,Th,Mh,Fh],PC=class extends I{static get prop(){return""}get(t){if(this.prefix){let r="",n=this.prefix.split("-");if(n.length>1)for(let i=1;i<n.length-1;i++)r+=n[i][0];else r=this.prefix.slice(1,-1);switch(r){case"t":return{[Ph]:t,[Th]:t};case"tl":case"lt":return{[Ph]:t};case"rt":case"tr":return{[Th]:t};case"b":return{[Mh]:t,[Fh]:t};case"bl":case"lb":return{[Mh]:t};case"br":case"rb":return{[Fh]:t};case"l":return{[Ph]:t,[Mh]:t};case"r":return{[Th]:t,[Fh]:t};default:return{[kN]:t}}}let e=this.prefix?.slice(0,-1);return{[C0e.includes(e)?e:kN]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};S(PC,"id","BorderRadius"),S(PC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var TC=class extends I{static get prop(){return""}get(t){return cg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};S(TC,"id","BorderStyle"),S(TC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-style:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:none|hidden|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|))");var MC=class extends I{static get prop(){return""}get(t){return cg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};S(MC,"id","BorderWidth"),S(MC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Lh=class extends I{static get prop(){return""}get(t){return cg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};S(Lh,"id","Border"),S(Lh,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),S(Lh,"colorful",!0);var FC=class extends I{};S(FC,"id","BackgroundAttachment"),S(FC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var IN=class extends I{};S(IN,"id","BackgroundBlendMode");var LC=class extends I{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};S(LC,"id","BackgroundClip"),S(LC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var ac=class extends I{};S(ac,"id","BackgroundColor"),S(ac,"colorStarts","(?:bg|background):"),S(ac,"unit",""),S(ac,"colorful",!0);var IC=class extends I{};S(IC,"id","BackgroundOrigin"),S(IC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Ih=class extends I{};S(Ih,"id","BackgroundPosition"),S(Ih,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),S(Ih,"unit","px");var NC=class extends I{};S(NC,"id","BackgroundRepeat"),S(NC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var jC=class extends I{};S(jC,"id","BackgroundSize"),S(jC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var Nh=class extends I{};S(Nh,"id","BackgroundImage"),S(Nh,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),S(Nh,"colorful",!0);var jh=class extends I{order=-1};S(jh,"id","Background"),S(jh,"matches","^bg:."),S(jh,"colorful",!0);var $C=class extends I{};S($C,"id","MixBlendMode"),S($C,"matches","^blend:.");var NN=class extends I{};S(NN,"id","Position");function jN(t,e,{rootSize:r}){let n="",i=0;return function s(o,a){let u="",l=a?e(a):"",c=()=>{u&&(n+=!l||Number.isNaN(+u)?u:+u/(l==="rem"?r:1)+l,u="")};for(;i<t.length;i++){let f=t[i];if(f===o&&(o!=="'"||t[i+1]===")")){c(),n+=f;break}else f===","||f===" "?(c(),n+=f):!u&&f==="'"?(n+=f,i++,s(f),u=""):u&&f==="("?(n+=u+f,i++,s(")",u),u=""):u+=f}c()}(),n}var $h=class extends I{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};S($h,"id","BackdropFilter"),S($h,"matches","^bd:."),S($h,"colorful",!0);var Bh=class extends I{};S(Bh,"id","Fill"),S(Bh,"colorStarts","fill:"),S(Bh,"colorful",!0);var BC=class extends I{};S(BC,"id","Stroke"),S(BC,"colorful",!0);var WC=class extends I{};S(WC,"id","StrokeWidth"),S(WC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var Wh=class extends I{parseValue(t,e){return jN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};S(Wh,"id","Filter"),S(Wh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),S(Wh,"colorful",!0);var $N=class extends I{};S($N,"id","Cursor");var BN=class extends I{};S(BN,"id","PointerEvents");var WN=class extends I{};S(WN,"id","Resize");var zN=class extends I{};S(zN,"id","TouchAction");var UN=class extends I{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};S(UN,"id","UserDrag");var HN=class extends I{get(t){return{"user-select":t,"-webkit-user-select":t}}};S(HN,"id","UserSelect");var zh=class extends I{};S(zh,"id","BoxShadow"),S(zh,"matches","^s(?:hadow)?:."),S(zh,"colorful",!0);var zC=class extends I{};S(zC,"id","TextShadow"),S(zC,"colorful",!0);var EN=.5,UC=class extends I{static get prop(){return""}get(t){let{unit:e,value:r}=t;return{"font-size":t,"line-height":{...t,value:e==="rem"?r+EN+e:`calc(${r}${e} + ${EN}rem)`,unit:""}}}};S(UC,"id","TextSize"),S(UC,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var HC=class extends I{};S(HC,"id","WordBreak"),S(HC,"unit","");var Uh=class extends I{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};S(Uh,"id","GridColumns"),S(Uh,"matches","^grid-cols:."),S(Uh,"unit","");var VC=class extends I{get(t){return{display:{...t,value:"grid"},"grid-auto-flow":{...t,value:"column"},"grid-template-rows":{...t,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};S(VC,"id","GridRows"),S(VC,"unit","");var GC=class extends I{static get prop(){return""}get(t){switch(this.prefix[4]){case"x":return{"column-gap":t};case"y":return{"row-gap":t};default:return{gap:t}}}order=-1};S(GC,"id","Gap"),S(GC,"matches","^gap(?:-x|-y)?:.");var KC=class extends I{};S(KC,"id","WordSpacing"),S(KC,"unit","em");var Hh=class extends I{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};S(Hh,"id","Variable"),S(Hh,"matches","^\\$[^ {}A-Z]+:[^ ]"),S(Hh,"unit","");var Vh=class extends I{};S(Vh,"id","AspectRatio"),S(Vh,"matches","^aspect:."),S(Vh,"unit","");var YC=class extends I{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};S(YC,"id","BoxDecorationBreak"),S(YC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var VN=class extends I{};S(VN,"id","BreakAfter");var GN=class extends I{};S(GN,"id","BreakBefore");var KN=class extends I{};S(KN,"id","BreakInside");var QC=class extends I{};S(QC,"id","FlexShrink"),S(QC,"unit","");var JC=class extends I{};S(JC,"id","FlexDirection"),S(JC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var XC=class extends I{};S(XC,"id","FlexGrow"),S(XC,"unit","");var ZC=class extends I{};S(ZC,"id","FlexWrap"),S(ZC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var YN=class extends I{};S(YN,"id","FlexBasis");var eD=class extends I{order=-1};S(eD,"id","Flex"),S(eD,"unit","");var Gh=class extends I{};S(Gh,"id","Order"),S(Gh,"matches","^o:."),S(Gh,"unit","");var Kh=class extends I{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};S(Kh,"id","GridColumn"),S(Kh,"matches","^grid-col(?:umn)?(?:-span)?:."),S(Kh,"unit","");var tD=class extends I{};S(tD,"id","ColumnSpan"),S(tD,"matches","^col-span:.");var Yh=class extends I{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};S(Yh,"id","GridRow"),S(Yh,"matches","^grid-row-span:."),S(Yh,"unit","");var uc=class extends I{};S(uc,"id","Color"),S(uc,"matches","^(?:color|fg|foreground):."),S(uc,"colorful",!0),S(uc,"unit","");var rD=class extends I{};S(rD,"id","AlignContent"),S(rD,"matches","^ac:.");var nD=class extends I{};S(nD,"id","AlignItems"),S(nD,"matches","^ai:.");var iD=class extends I{};S(iD,"id","AlignSelf"),S(iD,"matches","^as:");var sD=class extends I{};S(sD,"id","GridAutoColumns"),S(sD,"matches","^grid-auto-cols:.");var oD=class extends I{};S(oD,"id","GridAutoFlow"),S(oD,"matches","^grid-flow:.");var QN=class extends I{};S(QN,"id","GridAutoRows");var aD=class extends I{};S(aD,"id","JustifyContent"),S(aD,"matches","^jc:.");var uD=class extends I{};S(uD,"id","JustifyItems"),S(uD,"matches","^ji:.");var lD=class extends I{};S(lD,"id","JustifySelf"),S(lD,"matches","^js:.");var JN=class extends I{order=-1};S(JN,"id","PlaceContent");var XN=class extends I{order=-1};S(XN,"id","PlaceItems");var ZN=class extends I{order=-1};S(ZN,"id","PlaceSelf");var cD=class extends I{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="padding:"?-1:0}};S(cD,"id","Padding"),S(cD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var fD=class extends I{static get prop(){return""}get(t){return{[this.prefix.slice(0,-1)]:t}}get order(){return this.prefix==="margin:"?-1:0}};S(fD,"id","Margin"),S(fD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var dD=class extends I{};S(dD,"id","TextOverflow"),S(dD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var pD=class extends I{};S(pD,"id","ListStylePosition"),S(pD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var hD=class extends I{};S(hD,"id","ListStyleType"),S(hD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var e5=class extends I{order=-1};S(e5,"id","ListStyle");var Qh=class extends I{};S(Qh,"id","TextDecorationColor"),S(Qh,"colorStarts","text-decoration:"),S(Qh,"colorful",!0);var gD=class extends I{};S(gD,"id","TextDecorationStyle"),S(gD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Jh=class extends I{};S(Jh,"id","TextDecorationThickness"),S(Jh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),S(Jh,"unit","em");var t5=class extends I{};S(t5,"id","TextIndent");var r5=class extends I{};S(r5,"id","Content");var Xh=class extends I{};S(Xh,"id","OutlineColor"),S(Xh,"colorStarts","outline:"),S(Xh,"colorful",!0);var n5=class extends I{};S(n5,"id","OutlineOffset");var mD=class extends I{};S(mD,"id","OutlineStyle"),S(mD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var yD=class extends I{};S(yD,"id","OutlineWidth"),S(yD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var bD=class extends I{order=-1};S(bD,"id","Outline"),S(bD,"colorful",!0);var vD=class extends I{};S(vD,"id","BorderCollapse"),S(vD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var i5=class extends I{};S(i5,"id","BorderSpacing");var s5=class extends I{};S(s5,"id","TableLayout");var Zh=class extends I{};S(Zh,"id","AccentColor"),S(Zh,"colorStarts","accent:"),S(Zh,"colorful",!0);var o5=class extends I{};S(o5,"id","Appearance");var eg=class extends I{};S(eg,"id","CaretColor"),S(eg,"colorStarts","caret:"),S(eg,"colorful",!0);var a5=class extends I{};S(a5,"id","ScrollBehavior");var wD=class extends I{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="m")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-margin-left":t,"scroll-margin-right":t};case"y":return{"scroll-margin-top":t,"scroll-margin-bottom":t};case"l":return{"scroll-margin-left":t};case"r":return{"scroll-margin-right":t};case"t":return{"scroll-margin-top":t};case"b":return{"scroll-margin-bottom":t}}else return{[this.prefix.replace(/-m(?!argin)/,"-margin").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-margin:"||this.prefix==="scroll-m:"?-1:0}};S(wD,"id","ScrollMargin"),S(wD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var _D=class extends I{static get prop(){return""}get(t){if(this.prefix.slice(-3,-2)==="p")switch(this.prefix.slice(-2,-1)){case"x":return{"scroll-padding-left":t,"scroll-padding-right":t};case"y":return{"scroll-padding-top":t,"scroll-padding-bottom":t};case"l":return{"scroll-padding-left":t};case"r":return{"scroll-padding-right":t};case"t":return{"scroll-padding-top":t};case"b":return{"scroll-padding-bottom":t}}else return{[this.prefix.replace(/-p(?!adding)/,"-padding").slice(0,-1)]:t}}get order(){return this.prefix==="scroll-padding:"||this.prefix==="scroll-p:"?-1:0}};S(_D,"id","ScrollPadding"),S(_D,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var xD=class extends I{};S(xD,"id","ScrollSnapAlign"),S(xD,"matches","^scroll-snap:(?:start|end|center|$values)");var SD=class extends I{};S(SD,"id","ScrollSnapStop"),S(SD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var kD=class extends I{};S(kD,"id","ScrollSnapType"),S(kD,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var u5=class extends I{};S(u5,"id","WillChange");var l5=class extends I{};S(l5,"id","TextUnderlineOffset");var ED=class extends I{get(t){return{[this.prefix.slice(0,-1)]:t}}};S(ED,"id","Inset"),S(ED,"matches","^(?:top|bottom|left|right):.");var tg=class extends I{order=-1};S(tg,"id","Columns"),S(tg,"matches","^(?:columns|cols):."),S(tg,"unit","");var CD=class extends I{};S(CD,"id","WhiteSpace"),S(CD,"unit","");var DD=class extends I{};S(DD,"id","TextOrientation"),S(DD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var OD=class extends I{};S(OD,"id","WritingMode"),S(OD,"matches","^writing:.");var c5=class extends I{};S(c5,"id","Contain");var rg=class extends I{};S(rg,"id","AnimationDuration"),S(rg,"matches","^@duration:."),S(rg,"unit","ms");var qD=class extends I{};S(qD,"id","TextRendering"),S(qD,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var f5=class extends I{};S(f5,"id","Direction");var RD=class extends I{};S(RD,"id","TextDecorationLine"),S(RD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var ng=class extends I{};S(ng,"id","GridColumnStart"),S(ng,"matches","^grid-col-start:."),S(ng,"unit","");var AD=class extends I{};S(AD,"id","ListStyleImage"),S(AD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var PD=class extends I{};S(PD,"id","ShapeOutside"),S(PD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var TD=class extends I{};S(TD,"id","ShapeMargin"),S(TD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var MD=class extends I{};S(MD,"id","ShapeImageThreshold"),S(MD,"unit","");var FD=class extends I{};S(FD,"id","ClipPath"),S(FD,"matches","^clip:.");var d5=class extends I{order=-1};S(d5,"id","Grid");var ig=class extends I{order=-1};S(ig,"id","Font"),S(ig,"matches","^f:."),S(ig,"unit","");var p5=class extends I{};S(p5,"id","Quotes");var h5=class extends I{order=-1};S(h5,"id","GridTemplate");var LD=class extends I{};S(LD,"id","GridRowStart"),S(LD,"unit","");var g5=class extends I{};S(g5,"id","GridTemplateAreas");var ID=class extends I{};S(ID,"id","GridTemplateColumns"),S(ID,"matches","^grid-template-cols:.");var m5=class extends I{};S(m5,"id","GridTemplateRows");var ND=class extends I{order=-1};S(ND,"id","GridArea"),S(ND,"unit","");var sg=class extends I{};S(sg,"id","GridColumnEnd"),S(sg,"matches","^grid-col-end:."),S(sg,"unit","");var jD=class extends I{};S(jD,"id","GridRowEnd"),S(jD,"unit","");var y5=class extends I{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};S(y5,"id","MaskImage");var lc=class extends I{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};S(lc,"id","TextFillColor"),S(lc,"matches","^text-fill-color:."),S(lc,"colorStarts","(?:text-fill|text|t):"),S(lc,"colorful",!0);var $D=class extends I{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};S($D,"id","TextStroke"),S($D,"matches","^text-stroke:.");var BD=class extends I{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};S(BD,"id","TextStrokeWidth"),S(BD,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var cc=class extends I{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};S(cc,"id","TextStrokeColor"),S(cc,"matches","^text-stroke-color:."),S(cc,"colorStarts","text-stroke:"),S(cc,"colorful",!0);var b5=class extends I{};S(b5,"id","StrokeDasharray");var v5=class extends I{};S(v5,"id","StrokeDashoffset");var WD=class extends I{};S(WD,"id","X"),S(WD,"unit","");var zD=class extends I{};S(zD,"id","Y"),S(zD,"unit","");var UD=class extends I{};S(UD,"id","Cx"),S(UD,"unit","");var HD=class extends I{};S(HD,"id","Cy"),S(HD,"unit","");var VD=class extends I{};S(VD,"id","Rx"),S(VD,"unit","");var GD=class extends I{};S(GD,"id","Ry"),S(GD,"unit","");var w5=class extends I{};S(w5,"id","BorderImageOutset");var KD=class extends I{};S(KD,"id","BorderImageRepeat"),S(KD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var YD=class extends I{};S(YD,"id","BorderImageSlice"),S(YD,"unit","");var QD=class extends I{};S(QD,"id","BorderImageSource"),S(QD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var JD=class extends I{};S(JD,"id","BorderImageWidth"),S(JD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var XD=class extends I{};S(XD,"id","BorderImage"),S(XD,"unit","");var D0e=/\{(.*)\}/,og=class extends I{static get prop(){return""}analyzeToken(t,e,r){let n=0;for(;n<t.length&&!(t[n]==="{"&&t[n-1]!=="\\");n++);return[t.slice(0,n),...hc(t.slice(n),e,r)]}getThemeProps(t,e){let r={},n=(l,c)=>{let f=c.indexOf(":");if(f!==-1){l in r||(r[l]={});let d=r[l],p=c.slice(0,f);p in d||(d[p]=c.slice(f+1))}},i=l=>{let c=(f,d)=>{let p=d.slice(CSS.escape(l.className).length).match(D0e)[1].split(";");for(let h of p)n(f,h)};if(this.theme){let f=l.natives.find(d=>d.theme===this.theme)??l.natives.find(d=>!d.theme);f&&c(this.theme,f.text)}else for(let f of l.natives)c(f.theme,f.text)},s=[],o="",a=()=>{o&&(s.push(o),o="")},u=1;(function l(c){for(;u<t.value.length;u++){let f=t.value[u];if(!c){if(f===";"){a();continue}if(f==="}")break}if(o+=f,c===f){if(c==="'"||c==='"'){let d=0;for(let p=o.length-2;o[p]==="\\";p--)d++;if(d%2)continue}break}else f in ug&&c!=="'"&&c!=='"'&&(u++,l(ug[f]))}})(void 0),a();for(let l of s){let c=e.create(l);if(Array.isArray(c))for(let f of c)i(f);else c?i(c):n(this.theme??"",l)}return r}};S(og,"id","Group"),S(og,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),S(og,"unit","");var ZD=class extends I{};S(ZD,"id","CounterIncrement"),S(ZD,"unit","");var eO=class extends I{};S(eO,"id","CounterReset"),S(eO,"unit","");var tO=class extends I{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};S(tO,"id","WH"),S(tO,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var rO=class extends I{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"min-width":{...t,value:e},"min-height":{...t,value:r}}}};S(rO,"id","MinWH"),S(rO,"matches","^min:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var nO=class extends I{static get prop(){return""}analyzeToken(t,e,r){return["",...hc(t.slice(4),e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{"max-width":{...t,value:e},"max-height":{...t,value:r}}}};S(nO,"id","MaxWH"),S(nO,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var O0e=[og,Hh,rC,yh,tC,vh,wh,uC,lC,ig,uc,nC,fD,cD,YN,ZC,XC,QC,JC,eD,xC,iC,sC,oC,aC,tO,rO,nO,c5,r5,ZD,eO,bh,_h,cC,fC,dC,Qh,gD,Jh,RD,xh,l5,dD,DD,pC,qD,t5,hC,tg,CD,ED,Sh,wC,_C,SC,kC,TN,MN,FN,LN,EC,CC,Oh,NN,$N,BN,WN,zN,HC,KC,UN,HN,zC,UC,lc,BD,cc,$D,zh,s5,mC,gC,kh,Eh,bC,vC,Dh,Ch,yC,qh,DC,rg,OC,Rh,qC,RC,AC,Ah,oc,PC,TC,MC,vD,i5,w5,KD,YD,QD,JD,XD,Lh,FC,IN,ac,LC,IC,Ih,NC,jC,Nh,jh,$C,$h,Wh,Bh,b5,v5,WC,BC,WD,zD,UD,HD,VD,GD,ng,sg,Kh,Uh,LD,jD,Yh,VC,sD,oD,QN,g5,ID,m5,h5,ND,d5,GC,Gh,KN,GN,VN,YC,Vh,tD,rD,nD,iD,aD,uD,lD,JN,XN,ZN,pD,hD,AD,e5,Xh,n5,mD,yD,bD,Zh,o5,eg,a5,wD,_D,xD,SD,kD,u5,OD,f5,PD,TD,MD,FD,p5,y5],q0e=O0e,R0e={colors:s0e,breakpoints:ZE,semantics:sO,values:y0e,selectors:c0e,themes:p0e,scheme:g0e,Rules:q0e,rootSize:o0e,scope:u0e},CN=R0e,iO=typeof Buffer<"u"?Buffer:null;function _5(t){return!!(iO&&t instanceof iO||t instanceof Date||t instanceof RegExp)}function x5(t){if(iO&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function S5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=S5(r):_5(r)?e[n]=x5(r):e[n]=dc({},r):e[n]=r}),e}function DN(t,e){return e==="__proto__"?void 0:t[e]}function dc(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=DN(e,s),r=DN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=S5(r);return}else if(_5(r)){e[s]=x5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=dc({},r);return}else{e[s]=dc(n,r);return}})}),e}var A0e=[",",".","#","[","!","*",">","+","~",":","@"],P0e=/^::-[a-z]+-/m,T0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,lg,pc=typeof window<"u";pc&&(lg=document.createElement("style"),lg.title="master");var Xr="max-width",Br="min-width",M0e="attributes",F0e=pc?window.MutationObserver:Object,fc,ko,ag=class extends F0e{constructor(t){super(e=>{let r={},n=[],i=[],s=[],o=(c,f)=>{f?c.classList.forEach(u):c.classList.forEach(a);let d=c.children;for(let p=0;p<d.length;p++){let h=d[p];h.classList&&(i.push(h),o(h,f))}},a=c=>{c in r?r[c]++:r[c]=1},u=c=>{c in r?r[c]--:c in this.countOfClass&&(r[c]=-1)},l=(c,f)=>{for(let d=0;d<c.length;d++){let p=c[d];p.classList&&!i.includes(p)&&!s.includes(p)&&(p.isConnected!==f?(i.push(p),o(p,f)):s.push(p))}};for(let c=0;c<e.length;c++){let f=e[c],{addedNodes:d,removedNodes:p,type:h,target:y,oldValue:b}=f;if(h===M0e){if(n.find(g=>g.target===y))continue;n.push(f)}else l(d,!1),(!y.isConnected||!i.includes(y))&&l(p,!0)}if(!(!n.length&&!Object.keys(r).length)){for(let{oldValue:c,target:f}of n){let d=i.includes(f),p=f.classList,h=c?c.split(" "):[];if(d){if(f.isConnected)continue;for(let y of h)p.contains(y)||u(y)}else if(f.isConnected){p.forEach(y=>{h.includes(y)||a(y)});for(let y of h)p.contains(y)||u(y)}}for(let c in r){let f=r[c],d=(this.countOfClass[c]||0)+f;d===0?(delete this.countOfClass[c],this.delete(c)):(c in this.countOfClass||this.insert(c),this.countOfClass[c]=d)}}}),this.options=t,S(this,"style"),S(this,"rules",[]),S(this,"ruleOfClass",{}),S(this,"countOfClass",{}),S(this,"host"),S(this,"root"),S(this,"ready",!1),S(this,"config"),S(this,"semantics"),S(this,"classes"),S(this,"colorThemesMap"),S(this,"colorNames"),S(this,"themeNames"),S(this,"relationThemesMap"),S(this,"relations"),S(this,"selectors"),S(this,"values"),S(this,"globalValues"),S(this,"breakpoints"),S(this,"mediaQueries"),S(this,"matches"),S(this,"schemeMQL"),yN(this,fc,void 0),yN(this,ko,void 0),S(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.options=dc({observe:!0},t),this.options.config&&!this.options.override?this.config=dc(CN,this.options.config):this.config=CN,this.cache(),pc&&this.options.observe&&this.observe(document),ag.instances.push(this),this.ready=!0}static refresh(t){for(let e of this.instances)e.refresh(t)}get storageScheme(){let{storage:t}=this.config.scheme;return localStorage.getItem(t.key)}set scheme(t){if(t!==Za(this,fc)){bN(this,fc,t);let{storage:e}=this.config.scheme;t==="system"?(this.schemeMQL=window.matchMedia("(prefers-color-scheme:dark)"),this.schemeMQL.addEventListener("change",this.onThemeChange),this.theme=this.schemeMQL.matches?"dark":"light"):(this.removeSchemeListener(),this.theme=t),this.storageScheme!==t&&e.sync&&localStorage.setItem(e.key,t),this.ready&&this.host.dispatchEvent(new CustomEvent("scheme",{detail:this}))}}get scheme(){return Za(this,fc)}set theme(t){t!==Za(this,ko)&&(Za(this,ko)&&this.host.classList.remove(Za(this,ko)),bN(this,ko,t),this.host===document.documentElement&&(this.host.style.colorScheme=t),this.host.classList.add(t),this.ready&&this.host.dispatchEvent(new CustomEvent("theme",{detail:this})))}get theme(){return Za(this,ko)}removeSchemeListener(){this.schemeMQL&&(this.schemeMQL.removeEventListener("change",this.onThemeChange),this.schemeMQL=null)}cache(){this.semantics=[],this.classes={},this.colorThemesMap={},this.relationThemesMap={},this.relations={},this.colorNames=[],this.themeNames=[""],this.selectors={},this.values={},this.globalValues={},this.breakpoints={},this.mediaQueries={},this.matches={};let{semantics:t,classes:e,selectors:r,themes:n,colors:i,values:s,breakpoints:o,mediaQueries:a,Rules:u}=this.config;function l(g){return g.replace(/[-/\\^$*+?.()|[\]{}]/g,"\\$&")}function c(g,v,w="",_={}){let x=R=>R?(w?w+"-":"")+R:w,C=Object.entries(g),M=[],P=[];for(let R of C){let z=R[1];(typeof z=="object"&&!Array.isArray(z)?M:P).push(R)}for(let[R,z]of M)c(z,v,x(R),_);if(v&&w)P.length&&(_[w]=P.reduce((R,[z,$])=>(R[z]=$,R),{}));else for(let[R,z]of P)_[x(R)]=z;return _}if(t)for(let[g,v]of Object.entries(c(t,!0)))this.semantics.push([new RegExp("^"+l(g)+"(?=!|\\*|>|\\+|~|:|\\[|@|_|\\.|$)","m"),[g,v]]);if(r)for(let[g,v]of Object.entries(c(r,!1))){let w=new RegExp(l(g)+"(?![a-z-])");for(let _ of Array.isArray(v)?v:[v]){let x=_.match(P0e)?.[0]??"",C=this.selectors[x];C||(C=this.selectors[x]=[]);let M=C.find(([P])=>P===w);M||(M=[w,[]],C.push(M)),M[1].push(_)}}if(s)for(let[g,v]of Object.entries(s))typeof v=="object"?this.values[g]=c(v,!1):this.globalValues[g]=v;o&&(this.breakpoints=c(o,!1)),a&&(this.mediaQueries=c(a,!1));let f=e?c(e,!1):{},d=n&&!Array.isArray(n)?Object.entries(n).filter(([,{classes:g}])=>g).reduce((g,[v,{classes:w}])=>(g[v]=c(w,!1),g),{}):{},p=[...Object.keys(f),...Object.entries(d).flatMap(([g,v])=>Object.keys(v))],h=g=>{if(g in this.classes)return;let v=this.classes[g]=[],w=(_,x)=>{if(!x)return;let C=Array.isArray(x)?x:x.replace(/(?:\n(?:\s*))+/g," ").trim().split(" ");for(let M of C){let P=R=>{R in this.relationThemesMap?_ in this.relationThemesMap[R]?this.relationThemesMap[R][_].push(g):this.relationThemesMap[R][_]=[g]:this.relationThemesMap[R]={[_]:[g]},v.includes(R)||v.push(R)};if(p.includes(M)){h(M);for(let R of this.classes[M])P(R)}else P(M)}};w("",f?.[g]);for(let[_,x]of Object.entries(d))w(_,x?.[g])};for(let g of p)h(g);for(let g in this.relationThemesMap){let v=this.relations[g]=[];for(let w of Object.values(this.relationThemesMap[g]))for(let _ of w)v.includes(_)||v.push(_)}let y=(g,v)=>{if(!v)return;let w=c(v,!0);for(let[_,x]of Object.entries(w)){let C=typeof x=="string"?{"":x}:x;for(let[M,P]of Object.entries(C)){let R=_+(M?"-"+M:"");R in this.colorThemesMap?this.colorThemesMap[R][g]=P:this.colorThemesMap[R]={[g]:P}}}for(let _ in v)this.colorNames.includes(_)||this.colorNames.push(_)};if(y("",i),n)if(Array.isArray(n))this.themeNames.push(...n);else for(let g in n){let v=n[g];y(g,v.colors),this.themeNames.push(g)}let b=g=>{for(let[v,w]of Object.entries(this.colorThemesMap))for(let[_,x]of Object.entries(w))x.startsWith("#")||g(v,w,_,x)};if(b((g,v,w,_)=>{let x=T0e.exec(_);if(x){let C="#"+qN(+x[1],+x[2],+x[3]);x[4]&&(C+=Math.round(255*+x[4]).toString(16)),v[w]=C}}),b((g,v,w,_)=>{let[x,C]=_.split("/"),M=this.colorThemesMap[x];if(M){let P=(w?M[w]:void 0)??M[""];v[w]=C?P.slice(0,7)+Math.round(255*+C).toString(16):P}else console.warn(`\`${_}\` doesn't exist in the extended config \`.colors\``),delete v[w],Object.keys(v).length||delete this.colorThemesMap[g]}),u)for(let g of u){let v=g.matches;if(v){let w=Object.keys(this.values[g.id]??{}),_=v.indexOf("$values");this.matches[g.id]=new RegExp(_===-1?v:w.length?v.slice(0,_)+w.join("|")+v.slice(_+7):v.slice(0,_-(v[_-1]==="|"?1:0))+v.slice(_+7+(v[_+7]==="|"?1:0)))}}}observe(t,e={subtree:!0,childList:!0}){if(pc&&t){this.root=t;let r=t===document;r&&(ag.root=this),this.host=r?document.documentElement:t.host,this.scheme=this.storageScheme||this.config.scheme.preference;let n=r?document.head:t,i=r?document.styleSheets:t.styleSheets;for(let o of i){let{title:a,href:u,ownerNode:l}=o;(a==="master"||u&&u.startsWith(window.location.origin)&&/master(?:\..+)?\.css/.test(u))&&(this.style=l)}if(this.style)for(let o=0;o<this.style.sheet.cssRules.length;o++){let a=l=>{if(l.selectorText){let c=l.selectorText.split(", ")[0].split(" ");for(let f=0;f<c.length;f++){let d=c[f];if(d[0]==="."){let p=d.slice(1),h="";for(let y=0;y<p.length;y++){let b=p[y],g=p[y+1];if(b==="\\"){if(y++,g!=="\\"){h+=g;continue}}else if(A0e.includes(b))break;h+=b}if(!(h in this.ruleOfClass)&&!(h in this.classes)){let y=this.create(h)[0];if(y)return y}}}}else if(l.cssRules)for(let c=0;c<l.cssRules.length;c++){let f=a(l.cssRules[c]);if(f)return f}},u=a(this.style.sheet.cssRules[o]);if(u){this.rules.push(u),this.ruleOfClass[u.className]=u;for(let l=0;l<u.natives.length;l++)u.natives[l].cssRule=this.style.sheet.cssRules[o+l];o+=u.natives.length-1}}else this.style=lg.cloneNode(),n.prepend(this.style);let s=o=>{o.forEach(a=>{a in this.countOfClass?this.countOfClass[a]++:(this.countOfClass[a]=1,this.insert(a))})};s(this.host.classList),e.subtree&&this.host.querySelectorAll("[class]").forEach(o=>s(o.classList)),super.observe(t,{...e,attributes:!0,attributeOldValue:!0,attributeFilter:["class"]})}return this}disconnect(){super.disconnect(),this.ruleOfClass={},this.countOfClass={},this.rules.length=0;let t=this.style.sheet;if(t)for(let e=t.cssRules.length-1;e>=0;e--)t.deleteRule(e)}match(t){for(let e of this.config.Rules){let r=e.match(t,this.matches[e.id],this.colorThemesMap,this.colorNames);if(r)return{...r,Rule:e}}for(let e of this.semantics)if(t.match(e[0]))return{origin:"semantics",value:e[1],Rule:I}}create(t){let e=r=>{if(r in this.ruleOfClass)return this.ruleOfClass[r];let n=this.match(r);if(n)return new n.Rule(r,n,this)};return(t in this.classes?this.classes[t].map(r=>e(r)):[e(t)]).filter(r=>r&&r.text)}refresh(t){if(this.config=t,this.cache(),!this.style)return;let e=lg.cloneNode();this.style.replaceWith(e),this.style=style,this.rules.length=0,this.ruleOfClass={};for(let r in this.countOfClass)this.insert(r)}destroy(){let t=ag.instances;this.disconnect(),t.splice(t.indexOf(this),1),this.style.remove(),this.removeSchemeListener()}delete(t){let e=this.style.sheet,r=n=>{let i=this.ruleOfClass[n];if(!(!i||n in this.relations&&this.relations[n].some(s=>s in this.countOfClass))){if(i.natives.length){let s=i.natives[0];for(let o=0;o<e.cssRules.length;o++)if(e.cssRules[o]===s.cssRule){for(let a=0;a<i.natives.length;a++)e.deleteRule(o);this.rules.splice(this.rules.indexOf(i),1);break}}delete this.ruleOfClass[n]}};if(t in this.classes){for(let n of this.classes[t])n in this.countOfClass||r(n);delete this.ruleOfClass[t]}else r(t)}insert(t){let e=this.create(t);return e.length?(this.insertRules(e),!0):!1}insertRules(t){for(let e of t){if(this.ruleOfClass[e.className])continue;let r,n=this.rules.length-1,{media:i,order:s,priority:o,hasWhere:a,className:u}=e,l=(c,f,d,p)=>{let h=0,y;f&&(h=c.findIndex(f)),d&&(y=c.findIndex(d)),h===-1&&(h=c.length),(y===void 0||y===-1)&&(y=c.length);let b=c.slice(h,y);for(let g=0;g<b.length;g++){let v=b[g];if(!(v.priority===-1||p&&p(v))&&(v.priority<o||v.priority===o&&(a&&!v.hasWhere||v.order>=s)))return h+g}return h+b.length};if(i){let c=this.rules.findIndex(f=>f.media);if(c!==-1){let f=i.features[Xr],d=i.features[Br];if(f&&d){let p=f.value-d.value;for(let h=n;h>=c;h--){r=h;let y=this.rules[h],b=y.media,g=b.features[Xr],v=b.features[Br];if(!g||!v){r++;break}let w=g.value-v.value;if(w===p){if(a!==y.hasWhere)continue;if(o!==-1){let _=[this.rules[h]];for(let x=h-1;x>=c;x--){let C=this.rules[x];if(C.hasWhere!==a)break;let M=C.media,P=M.features[Xr],R=M.features[Br];if(!P||!R||P.value-R.value!==w)break;_.unshift(this.rules[x])}r=l(this.rules,x=>x.media&&x.priority!==-1&&x.media.features[Br]&&x.media.features[Xr])}break}else if(w>p)break}}else if(d)for(let p=c;p<=n;p++){r=p;let h=this.rules[p],y=h.media,b=y.features[Xr],g=y.features[Br];if(b){if(g)break;continue}let v=g?.value;if(v===d.value){if(!a&&h.hasWhere){r++;continue}if(o!==-1)r=l(this.rules,w=>w.media,w=>w.media&&w.priority!==-1&&w.media.features[Br]&&w.media.features[Xr],w=>!w.media.features[Br]&&!w.media.features[Xr]);else for(let w=p;w<=n;w++){let _=this.rules[w],x=_.media,C=x.features[Br];if(!x.features[Xr]){if(_.hasWhere!==a||C.value!==v||_.order>=s)break;r=w+1}}break}else{if(v>d.value)break;r++}}else if(f)for(let p=n;p>=c;p--){r=p;let h=this.rules[p],y=h.media,b=y.features[Xr];if(y.features[Br])continue;let g=b?.value;if(!g||g>f.value){r++;break}else if(g===f.value){if(a&&!h.hasWhere)continue;if(o!==-1)r=l(this.rules,v=>v.media,v=>v.media&&v.priority!==-1&&v.media.features[Br]&&v.media.features[Xr],v=>!v.media.features[Br]&&!v.media.features[Xr]);else{let v=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],x=_.media,C=x.features[Br],M=x.features[Xr];if(!C&&(!M||M.value!==g||_.hasWhere!==a))break;v.unshift(_)}for(let w=0;w<v.length;w++){let _=v[w];if(!_.media.features[Br]){if(_.order>=s)break;r=p-v.length+2+w}}}break}}}if(r===void 0)if(c===-1)r=n+1;else if(o!==-1)r=c+l(this.rules.slice(c),void 0,f=>f.media.features[Xr]||f.media.features[Br]);else if(a){let f=c;for(;f<this.rules.length;f++){let d=this.rules[f];if(d.priority!==-1||!d.hasWhere||d.order>=s){r=f;break}}r===void 0&&(r=f)}else for(let f=c;f<=n;f++){r=f;let d=this.rules[f],p=d.media;if(d.priority!==-1||p.features[Xr]||p.features[Br])break;if(d.hasWhere)r++;else if(d.order>=s)break}}else if(o===-1)if(a)r=this.rules.findIndex(c=>!c.hasWhere||c.media||c.priority!==-1||c.order>=s),r===-1&&(r=n+1);else{let c=0;for(;c<this.rules.length;c++){let f=this.rules[c];if(f.media||!f.hasWhere&&(f.order>=s||f.priority!==-1)){r=c;break}}r===void 0&&(r=c)}else r=l(this.rules,void 0,c=>c.media);if(this.rules.splice(r,0,e),this.ruleOfClass[u]=e,this.style){let c=this.style.sheet,f=0,d=p=>{let h=this.rules[p];if(h){if(!h.natives.length)return d(p-1);let y=h.natives[h.natives.length-1].cssRule;for(let b=0;b<c.cssRules.length;b++)if(c.cssRules[b]===y){f=b+1;break}}};d(r-1);for(let p=0;p<e.natives.length;)try{let h=e.natives[p];c.insertRule(h.text,f),h.cssRule=c.cssRules[f++],p++}catch(h){console.error(h),e.natives.splice(p,1)}}}}get text(){return this.rules.map(t=>t.text).join("")}},wr=ag;fc=new WeakMap,ko=new WeakMap,S(wr,"instances",[]),S(wr,"root");pc&&(window.MasterCSS=wr);var sc=typeof global<"u"?global:window;if(!sc.CSS&&!sc.CSS?.escape){let t=function(e){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),n=r.length,i=-1,s="",o,a=r.charCodeAt(0);if(n==1&&a==45)return"\\"+r;for(;++i<n;){if(o=r.charCodeAt(i),o==0){s+="\uFFFD";continue}if(o>=1&&o<=31||o==127||i==0&&o>=48&&o<=57||i==1&&o>=48&&o<=57&&a==45){s+="\\"+o.toString(16)+" ";continue}if(o>=128||o==45||o==95||o>=48&&o<=57||o>=65&&o<=90||o>=97&&o<=122){s+=r.charAt(i);continue}s+="\\"+r.charAt(i)}return s};sc.CSS||(sc.CSS={}),sc.CSS.escape=t}function k5(t,e){if(!t?.length)return;let r=new wr({observe:!1,config:e});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}var UL=require("perf_hooks");var lge=ut(require("fs"),1),GL=ut(Ro(),1),Fk=ut(O$(),1);var DB=ut(ph(),1);var Ug=ut(require("node:process"),1),z$=ut(require("node:os"),1),Jq=ut(require("node:tty"),1),t1e=Object.create,B$=Object.defineProperty,r1e=Object.getOwnPropertyDescriptor,n1e=Object.getOwnPropertyNames,i1e=Object.getPrototypeOf,s1e=Object.prototype.hasOwnProperty,o1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),a1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of n1e(e))!s1e.call(t,i)&&i!==r&&B$(t,i,{get:()=>e[i],enumerable:!(n=r1e(e,i))||n.enumerable});return t},u1e=(t,e,r)=>(r=t!=null?t1e(i1e(t)):{},a1e(e||!t||!t.__esModule?B$(r,"default",{value:t,enumerable:!0}):r,t)),l1e=o1e((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
467
|
+
`),u=null;return a.forEach(function(l){var c=l.match(/^(\s+)\S+/);if(c){var f=c[1].length;u?u=Math.min(u,f):u=f}}),u!==null&&(s=a.map(function(l){return l[0]===" "?l.slice(u):l}).join(`
|
|
468
|
+
`)),s=s.trim(),s.replace(/\\n/g,`
|
|
469
|
+
`)}typeof e<"u"&&(e.exports=r)}),ki=(t,e)=>{if(!t)throw new Error(e)},c1e=t=>{let e={joined:!0,spacerNoNeighbour:" ",spacerNeighbour:"\u2502 ",keyNoNeighbour:"\u2514\u2500 ",keyNeighbour:"\u251C\u2500 ",separator:": ",renderFn:r=>["boolean","string","number"].includes(typeof r)?r:void 0,sortFn:null,breakCircularWith:" (circular ref.)",...t};return ki(Object.keys(e).length===9,"Unexpected Option(s) provided"),ki(typeof e.joined=="boolean",'Option "joined" has invalid format'),ki(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),ki(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),ki(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),ki(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),ki(typeof e.separator=="string",'Option "separator" has invalid format'),ki(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),ki(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),ki(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},W$=(t,e={})=>{let r=c1e(e),n=[],i=r.renderFn(t);i!==void 0&&n.push(String(i));let s=l=>r.sortFn===null?l.reverse():l.sort((c,f)=>r.sortFn(f,c)),o=[],a=s(Object.keys(t)).map(l=>[l]),u=[t];for(;a.length!==0;){let l=a.pop(),c=u[l.length-1][l[l.length-1]],f=r.breakCircularWith!==null&&u.includes(c);o[l.length-1]=a.length!==0&&a[a.length-1].length===l.length;let d=r.renderFn(c);n.push([o.slice(0,l.length-1).map(p=>p?r.spacerNeighbour:r.spacerNoNeighbour).join(""),o[l.length-1]?r.keyNeighbour:r.keyNoNeighbour,l[l.length-1],d===void 0?"":`${r.separator}${c}`,f?r.breakCircularWith:""].join("")),c instanceof Object&&!Array.isArray(c)&&!f&&(a.push(...s(Object.keys(c)).map(p=>l.concat(p))),u[l.length]=c)}return r.joined===!0?n.join(`
|
|
470
|
+
`):n},q$=(t=0)=>e=>`\x1B[${e+t}m`,R$=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,A$=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,Ot={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},gqt=Object.keys(Ot.modifier),f1e=Object.keys(Ot.color),d1e=Object.keys(Ot.bgColor),mqt=[...f1e,...d1e];function p1e(){let t=new Map;for(let[e,r]of Object.entries(Ot)){for(let[n,i]of Object.entries(r))Ot[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=Ot[n],t.set(i[0],i[1]);Object.defineProperty(Ot,e,{value:r,enumerable:!1})}return Object.defineProperty(Ot,"codes",{value:t,enumerable:!1}),Ot.color.close="\x1B[39m",Ot.bgColor.close="\x1B[49m",Ot.color.ansi=q$(),Ot.color.ansi256=R$(),Ot.color.ansi16m=A$(),Ot.bgColor.ansi=q$(10),Ot.bgColor.ansi256=R$(10),Ot.bgColor.ansi16m=A$(10),Object.defineProperties(Ot,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>Ot.rgbToAnsi256(...Ot.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>Ot.ansi256ToAnsi(Ot.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>Ot.ansi256ToAnsi(Ot.hexToAnsi256(e)),enumerable:!1}}),Ot}var h1e=p1e(),Ei=h1e;function Tn(t,e=globalThis.Deno?globalThis.Deno.args:Ug.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:Ut}=Ug.default,Wg;Tn("no-color")||Tn("no-colors")||Tn("color=false")||Tn("color=never")?Wg=0:(Tn("color")||Tn("colors")||Tn("color=true")||Tn("color=always"))&&(Wg=1);function g1e(){if("FORCE_COLOR"in Ut)return Ut.FORCE_COLOR==="true"?1:Ut.FORCE_COLOR==="false"?0:Ut.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Ut.FORCE_COLOR,10),3)}function m1e(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function y1e(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=g1e();n!==void 0&&(Wg=n);let i=r?Wg:n;if(i===0)return 0;if(r){if(Tn("color=16m")||Tn("color=full")||Tn("color=truecolor"))return 3;if(Tn("color=256"))return 2}if("TF_BUILD"in Ut&&"AGENT_NAME"in Ut)return 1;if(t&&!e&&i===void 0)return 0;let s=i||0;if(Ut.TERM==="dumb")return s;if(Ug.default.platform==="win32"){let o=z$.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Ut)return"GITHUB_ACTIONS"in Ut?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Ut)||Ut.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Ut)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ut.TEAMCITY_VERSION)?1:0;if(Ut.COLORTERM==="truecolor"||Ut.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in Ut){let o=Number.parseInt((Ut.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ut.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ut.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ut.TERM)||"COLORTERM"in Ut?1:s}function P$(t,e={}){let r=y1e(t,{streamIsTTY:t&&t.isTTY,...e});return m1e(r)}var b1e={stdout:P$({isTTY:Jq.default.isatty(1)}),stderr:P$({isTTY:Jq.default.isatty(2)})},v1e=b1e;function w1e(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,s=0,o="";do o+=t.slice(s,n)+e+r,s=n+i,n=t.indexOf(e,s);while(n!==-1);return o+=t.slice(s),o}function _1e(t,e,r,n){let i=0,s="";do{let o=t[n-1]==="\r";s+=t.slice(i,o?n-1:n)+e+(o?`\r
|
|
471
|
+
`:`
|
|
472
|
+
`)+r,i=n+1,n=t.indexOf(`
|
|
473
|
+
`,i)}while(n!==-1);return s+=t.slice(i),s}var{stdout:T$,stderr:M$}=v1e,Xq=Symbol("GENERATOR"),fu=Symbol("STYLER"),wc=Symbol("IS_EMPTY"),F$=["ansi","ansi","ansi256","ansi16m"],du=Object.create(null),x1e=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=T$?T$.level:0;t.level=e.level===void 0?r:e.level},S1e=t=>{let e=(...r)=>r.join(" ");return x1e(e,t),Object.setPrototypeOf(e,_c.prototype),e};function _c(t){return S1e(t)}Object.setPrototypeOf(_c.prototype,Function.prototype);for(let[t,e]of Object.entries(Ei))du[t]={get(){let r=zg(this,e2(e.open,e.close,this[fu]),this[wc]);return Object.defineProperty(this,t,{value:r}),r}};du.visible={get(){let t=zg(this,this[fu],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var Zq=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?Ei[r].ansi16m(...n):e==="ansi256"?Ei[r].ansi256(Ei.rgbToAnsi256(...n)):Ei[r].ansi(Ei.rgbToAnsi(...n)):t==="hex"?Zq("rgb",e,r,...Ei.hexToRgb(...n)):Ei[r][t](...n),k1e=["rgb","hex","ansi256"];for(let t of k1e){du[t]={get(){let{level:r}=this;return function(...n){let i=e2(Zq(t,F$[r],"color",...n),Ei.color.close,this[fu]);return zg(this,i,this[wc])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);du[e]={get(){let{level:r}=this;return function(...n){let i=e2(Zq(t,F$[r],"bgColor",...n),Ei.bgColor.close,this[fu]);return zg(this,i,this[wc])}}}}var E1e=Object.defineProperties(()=>{},{...du,level:{enumerable:!0,get(){return this[Xq].level},set(t){this[Xq].level=t}}}),e2=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},zg=(t,e,r)=>{let n=(...i)=>C1e(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,E1e),n[Xq]=t,n[fu]=e,n[wc]=r,n},C1e=(t,e)=>{if(t.level<=0||!e)return t[wc]?"":e;let r=t[fu];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=w1e(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
|
|
474
|
+
`);return s!==-1&&(e=_1e(e,i,n,s)),n+e+i};Object.defineProperties(_c.prototype,du);var D1e=_c(),yqt=_c({level:M$?M$.level:0}),Te=D1e;function Ci(t){return t.split(" ").map(e=>e.replace(/^(\d*\.?\d*)$/g,`${Te.blue("$1")}`).replace(/^(\d*\.?\d*)(YB|ZB|EB|PB|TB|GB|MB|KB|B|mb|kb|bit|zs|as|fs|ps|ns|µs|ms|s|m|h|d|m|y)$/g,`${Te.cyan("$1")}${Te.magenta("$2")}`).replace(/^((?:[0-1]?[0-9]|[2][0-3]):[0-5][0-9]:[0-5][0-9] (?:AM|PM)?)$/g,`${Te.dim("$1")}`).replace(/^\[(.*?)\]$/g,`${Te.dim("[")}${Te.magenta("$1")}${Te.dim("]")}`).replace(/^`(.*?)`$/g,`${Te.dim("`")}$1${Te.dim("`")}`).replace(/^\((.*?)\)$/g,`${Te.dim("(")}$1${Te.dim(")")}`).replace(/^<(.*?)>$/g,`${Te.dim("<")}${Te.gray("$1")}${Te.dim(">")}`).replace(/->/g,Te.dim("\u2192")).replace(/<-/g,Te.dim("\u2190")).replace(/^\$t$/g,`${Te.dim(new Date().toLocaleTimeString())}`).replace(/^\*\*(.*?)\*\*$/g,`${Te.bold.white("$1")}`).replace(/^~~(.*?)~~$/g,`${Te.strikethrough("$1")}`).replace(/^__(.*?)__$/g,`${Te.underline("$1")}`).replace(/^\.\.(.*?)\.\.$/g,`${Te.dim("$1")}`).replace(/^!!(.*?)!!$/g,`${Te.yellow("$1")}`).replace(/^\*(.*?)\*$/g,`${Te.italic("$1")}`).replace(/^_(.*?)_$/g,`${Te.italic("$1")}`).replace(/^\+(.*?)\+$/g,`${Te.green("$1")}`).replace(/^-(.*?)-$/g,`${Te.red("$1")}`)).join(" ")}function dn(t,e){let r="";if(Array.isArray(t))for(let n=0;n<t.length;n++)r+=Yq(t[n])+Yq(e[n]);else r=[t,...e].map(n=>Yq(n)).join(" ");return Ci(r)}var Yq=t=>t?Array.isArray(t)?t.map(e=>{switch(typeof e){case"string":return`'${Te.yellow(e)}'`;case"number":case"boolean":return Te.blue(e);default:return e}}).join(Te.gray(", ")):t:"",L$=(t,...e)=>{let r=Te.green("+")+" "+dn(t,e);return console.log(r),r},I$=(t,...e)=>{let r=Te.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+dn(t,e);return console.log(r),r},O1e=(t,...e)=>{let r=Te.bgYellow.bold.white(" \u26A0\uFE0F CONFLICT ")+" "+Te.yellow(dn(t,e));return console.log(r),r},q1e=(t,...e)=>{let r=Te.green("\u2713 ")+dn(t,e);return console.log(r),r},Qq=(t,...e)=>{let r=Te.red("-")+" "+dn(t,e);return console.log(r),r},N$=(t,...e)=>{let r=Te.green("\u25CB ")+dn(t,e);return console.log(r),r},j$=(t,...e)=>{let r=Te.red("\u2717 ")+dn(t,e);return console.log(r),r},$$=(t,...e)=>{let r=Ci("$t ")+dn(t,e);return console.log(r),r},R1e=(t,...e)=>{let r=Te.green("\u23FA Success ")+dn(t,e);return console.log(r),r},A1e=(t,...e)=>{let r=Te.yellow("\u23FA Warn ")+dn(t,e);return console.log(r),r},P1e=(t,...e)=>{let r=Te.bgGreen.bold.white(" \u2713 PASS ")+" "+dn(t,e);return console.log(r),r},T1e=t=>{console.log(W$(U$(JSON.parse(JSON.stringify(t))),{spacerNeighbour:Ci("..\u2502..")+" ",keyNoNeighbour:Ci("..\u2514\u2500..")+" ",keyNeighbour:Ci("..\u251C\u2500..")+" ",separator:Ci("..:..")+" "}))};function U$(t){for(let e in t){let r=t[e];Array.isArray(r)?t[e]=r.map(n=>Ci(`**${n}**`)).join(Ci("..,..")):typeof r=="object"?U$(r):t[e]=Ci(`**${r}**`)}return t}var M1e=(t,...e)=>{let r=Te.red("\u23FA Fail ")+dn(t,e);return console.log(r),r},F1e=u1e(l1e());function L1e(t){let{message:e,stack:r}=typeof t=="string"?new Error(t):t,n={};return(0,F1e.default)(r.replace(e,"").replace(/^Error: /,"")).split(`
|
|
475
|
+
`).forEach(i=>{n[i.split(" ").map(s=>s.replace(/^\((.+)\)$/,`${Te.cyan("$1")}`).replace(/\./g,`${Te.dim(".")}`).replace(/^at$/,o=>Te.dim(o))).join(" ")]=null}),{message:e.trim().replace(/Error: /g,""),stackTree:n}}var H$=(t,...e)=>{if(t instanceof Error){let{message:r,stackTree:n}=L1e(t);return console.log(""),console.log(Te.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+Te.bold.red(r)),console.log(W$(n,{spacerNeighbour:Te.redBright.dim("\u2502\u2000\u2000"),keyNoNeighbour:Te.redBright.dim("\u2514\u2500\u2000"),keyNeighbour:Te.redBright.dim("\u251C\u2500 "),separator:Te.redBright.dim(":\u2000")})),console.log(""),r}else{let r=dn(t,e);return console.log(r),r}};Object.assign(H$,{a:L$,add:L$,d:Qq,del:Qq,delete:Qq,o:N$,valid:N$,x:j$,invalid:j$,i:$$,info:$$,e:I$,error:I$,success:R1e,fail:M1e,warn:A1e,pass:P1e,conflict:O1e,ok:q1e,tree:T1e,paint:Ci});var xc=H$;var OB=ut(Ro(),1);var l2=ut(ph(),1),SB=ut(G$(),1),kB=ut(Ro(),1);var r2=typeof Buffer<"u"?Buffer:null;function Y$(t){return!!(r2&&t instanceof r2||t instanceof Date||t instanceof RegExp)}function Q$(t){if(r2&&t instanceof Buffer){let e=Buffer.alloc(t.length);return t.copy(e),e}else{if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp)return new RegExp(t);throw new Error("Unexpected situation")}}function J$(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=J$(r):Y$(r)?e[n]=Q$(r):e[n]=Ao({},r):e[n]=r}),e}function K$(t,e){return e==="__proto__"?void 0:t[e]}function Ao(...t){let e={},r,n;return t.forEach(function(i){typeof i!="object"||i===null||Array.isArray(i)||Object.keys(i).forEach(function(s){if(n=K$(e,s),r=K$(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=J$(r);return}else if(Y$(r)){e[s]=Q$(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=Ao({},r);return}else{e[s]=Ao(n,r);return}})}),e}var EB=ut(u2(),1);function CB(t,e){if(e=Ao({cwd:process.cwd()},e),!t)return;let r=kB.default.sync(t,e)[0];if(!r)return;let n=l2.default.resolve(e.cwd,r),i=(0,EB.buildSync)({entryPoints:[n],logLevel:"silent",bundle:!0,format:"cjs",write:!1}),{text:s}=i.outputFiles[0];return(0,SB.default)(s,l2.default.changeExt(n,".js"))}var CSe={cwd:process.cwd()},DSe=CSe,qB=class{options;constructor(...t){this.options=Ao(DSe,...t)}readConfig(){let{config:t,cwd:e}=this.options;if(typeof t=="object")return t;let r;try{let n=this.configPath;if(n){let i=CB(n,{cwd:e});r=i.default||i,xc.ok`Import **${n}** config`}else t?xc.x`Cannot find -${t}- config`:xc.ok`No config file`}catch(n){xc.error(n)}return r}get configPath(){let{cwd:t,config:e}=this.options;if(!(!e||typeof e!="string"))return OB.default.sync(e,{cwd:t})[0]}get resolvedConfigPath(){let t=this.configPath;return t?DB.default.resolve(this.options.cwd,t):""}};var Nk=ut(require("node:process"),1),cge=ut(require("node:os"),1),KL=ut(require("node:tty"),1),gge=ut(Vhe(),1),u0t={module:"master.css",config:"master.css.{ts,js,mjs,cjs}",sources:[],include:["**/*.{html,js,jsx,ts,tsx,svelte,astro,vue,md,mdx,pug,php}"],exclude:["**/node_modules/**","**/*.d.ts","**/*.test.*","node_modules","master.css.{js,ts,mjs,cjs}","dist","out","README.md"],fixedClasses:[],ignoredClasses:[]},l0t=u0t;function c0t({content:t},{config:e,classes:r}){t=f0t(t);let n=[...new Set(Object.keys(e.semantics??sO).concat(Object.keys(r)))],i=t.match(/\S+/g)??[],s=new Set;for(let o of i){s.add(HL(o,n));let a=uge(o);if(a.size)for(let u of a)s.add(HL(u,n))}return[...s].filter(o=>o&&!d0t(o,n))}var HL=(t,e)=>{let r=t,n=t.match(/(?:calc\(.*\)|\d+(?:%|ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmax|vmin|vw|deg|grad|rad|turn|s)?)x(?:calc\(.*\)|\d+(?:%|ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmax|vmin|vw|deg|grad|rad|turn|s)?)/g);return(n?.length?e.concat(n):e).find(i=>r.startsWith(i))?t=VL(t,i=>i.replace(/^[^:@~(]*(?<!@>?)=/,"").replace(/(?:[([{\\:#=.]+|["'`].*)$/,"")):t=VL(t,i=>i.replace(/^[^:@~(]*(?:["'`]|(?<!@>?)=)/,"").replace(/(?:[([{\\:#=.]+|["'`].*)$/,"")),r===t||!t?t:HL(t,e)},oge=t=>t.match(/((?<!\\)["'`])(?:\\\1|(?:(?!\1))[\S\s])*(?<!\\)\1/g),age=(t,e)=>(e?.forEach((r,n)=>{t=t.replace(r,`COMPLETE-STRING--${n}--`)}),t),VL=(t,e)=>{let r=oge(t);return t=age(t,r),t=e(t),r?.forEach((n,i)=>{t=t.replace(`COMPLETE-STRING--${i}--`,n)}),t},uge=t=>{let e=new Set,r=/((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)/g,n;for(;(n=r.exec(t))!==null;){n.index===r.lastIndex&&r.lastIndex++,e.add(n[2]);let i=uge(n[2]);if(i.size)for(let s of i)e.add(s)}return e},f0t=t=>VL(t,e=>e.replace(/\/\*(?:(?!\*\/)[\S\s])*\*\//g,"").replace(/<!--(?:(?!-->)[\S\s])*-->/g,"").replace(/<style[^>]*>(?:(?!<\/style>)[\S\s])*<\/style>/g,"").replace(/import.*from\s*COMPLETE-STRING--\d+--/g,"").replace(/import\s*(?:COMPLETE-STRING--\d+--|\([^;\s]*\))/g,"").replace(/require\([^;\s]*\)/g,"")),d0t=(t,e)=>{let r=oge(t),n=age(t,r),i=/{(.*)}/,s;for(;(s=i.exec(n))!==null;)return s[1].split(";").find(o=>Ghe(o,e))!==void 0;return Ghe(n,e)||p0t(t)},Ghe=(t,e)=>!t||!t.match(/(?:\S*\{\S*\})|(?:^[\w\-()]+:\S+)|(?:^[\w-]+\(\S+\))|(?:^[@~]\S+$)/)&&!t.match(/^(?:calc\(.*\)|\d+(?:%|ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmax|vmin|vw|deg|grad|rad|turn|s)?)x(?:calc\(.*\)|\d+(?:%|ch|cm|em|ex|in|mm|pc|pt|px|rem|vh|vmax|vmin|vw|deg|grad|rad|turn|s)?)$/)&&!e.find(r=>t.startsWith(r))||t.match(/\*\*/)||t.match(/:\[/)||t.match(/\$\{/)||t.match(/\{\{/)||t.match(/\(\{[^}]*\}/)||t.match(/<\w+>|<\/\w+>/)||t.match(/;$/)||t.match(/^\w+:\/\//)||t.match(/^@(?:ts-[^\s]+|charset|import|namespace|media|supports|document|page|font-face|keyframes|counter-style|font-feature-values|property|layer)$/)||t.match(/^~\/.+.\w+$/)||t.match(/function\(|\(.*\)=>/),p0t=t=>{let e=[],r;for(let n=0;n<t.length;n++)switch(t[n]){case"(":case"[":case"{":e.push(t[n]);break;case")":case"]":case"}":if(r=e.pop(),t[n]===")"&&r!=="("||t[n]==="]"&&r!=="["||t[n]==="}"&&r!=="{")return!0;break}return e.length>0},h0t=Object.create,fge=Object.defineProperty,g0t=Object.getOwnPropertyDescriptor,m0t=Object.getOwnPropertyNames,y0t=Object.getPrototypeOf,b0t=Object.prototype.hasOwnProperty,v0t=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),w0t=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of m0t(e))!b0t.call(t,i)&&i!==r&&fge(t,i,{get:()=>e[i],enumerable:!(n=g0t(e,i))||n.enumerable});return t},_0t=(t,e,r)=>(r=t!=null?h0t(y0t(t)):{},w0t(e||!t||!t.__esModule?fge(r,"default",{value:t,enumerable:!0}):r,t)),x0t=v0t((t,e)=>{"use strict";function r(n){var i=void 0;typeof n=="string"?i=[n]:i=n.raw;for(var s="",o=0;o<i.length;o++)s+=i[o].replace(/\\\n[ \t]*/g,"").replace(/\\`/g,"`"),o<(arguments.length<=1?0:arguments.length-1)&&(s+=arguments.length<=o+1?void 0:arguments[o+1]);var a=s.split(`
|
|
476
|
+
`),u=null;return a.forEach(function(l){var c=l.match(/^(\s+)\S+/);if(c){var f=c[1].length;u?u=Math.min(u,f):u=f}}),u!==null&&(s=a.map(function(l){return l[0]===" "?l.slice(u):l}).join(`
|
|
477
|
+
`)),s=s.trim(),s.replace(/\\n/g,`
|
|
478
|
+
`)}typeof e<"u"&&(e.exports=r)}),Bi=(t,e)=>{if(!t)throw new Error(e)},S0t=t=>{let e={joined:!0,spacerNoNeighbour:" ",spacerNeighbour:"\u2502 ",keyNoNeighbour:"\u2514\u2500 ",keyNeighbour:"\u251C\u2500 ",separator:": ",renderFn:r=>["boolean","string","number"].includes(typeof r)?r:void 0,sortFn:null,breakCircularWith:" (circular ref.)",...t};return Bi(Object.keys(e).length===9,"Unexpected Option(s) provided"),Bi(typeof e.joined=="boolean",'Option "joined" has invalid format'),Bi(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),Bi(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),Bi(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),Bi(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),Bi(typeof e.separator=="string",'Option "separator" has invalid format'),Bi(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),Bi(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),Bi(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},dge=(t,e={})=>{let r=S0t(e),n=[],i=r.renderFn(t);i!==void 0&&n.push(String(i));let s=l=>r.sortFn===null?l.reverse():l.sort((c,f)=>r.sortFn(f,c)),o=[],a=s(Object.keys(t)).map(l=>[l]),u=[t];for(;a.length!==0;){let l=a.pop(),c=u[l.length-1][l[l.length-1]],f=r.breakCircularWith!==null&&u.includes(c);o[l.length-1]=a.length!==0&&a[a.length-1].length===l.length;let d=r.renderFn(c);n.push([o.slice(0,l.length-1).map(p=>p?r.spacerNeighbour:r.spacerNoNeighbour).join(""),o[l.length-1]?r.keyNeighbour:r.keyNoNeighbour,l[l.length-1],d===void 0?"":`${r.separator}${c}`,f?r.breakCircularWith:""].join("")),c instanceof Object&&!Array.isArray(c)&&!f&&(a.push(...s(Object.keys(c)).map(p=>l.concat(p))),u[l.length]=c)}return r.joined===!0?n.join(`
|
|
479
|
+
`):n},Khe=(t=0)=>e=>`\x1B[${e+t}m`,Yhe=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,Qhe=(t=0)=>(e,r,n)=>`\x1B[${38+t};2;${e};${r};${n}m`,jt={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],gray:[90,39],grey:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgGray:[100,49],bgGrey:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}},f5t=Object.keys(jt.modifier),k0t=Object.keys(jt.color),E0t=Object.keys(jt.bgColor),d5t=[...k0t,...E0t];function C0t(){let t=new Map;for(let[e,r]of Object.entries(jt)){for(let[n,i]of Object.entries(r))jt[n]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},r[n]=jt[n],t.set(i[0],i[1]);Object.defineProperty(jt,e,{value:r,enumerable:!1})}return Object.defineProperty(jt,"codes",{value:t,enumerable:!1}),jt.color.close="\x1B[39m",jt.bgColor.close="\x1B[49m",jt.color.ansi=Khe(),jt.color.ansi256=Yhe(),jt.color.ansi16m=Qhe(),jt.bgColor.ansi=Khe(10),jt.bgColor.ansi256=Yhe(10),jt.bgColor.ansi16m=Qhe(10),Object.defineProperties(jt,{rgbToAnsi256:{value(e,r,n){return e===r&&r===n?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5)},enumerable:!1},hexToRgb:{value(e){let r=/[a-f\d]{6}|[a-f\d]{3}/i.exec(e.toString(16));if(!r)return[0,0,0];let[n]=r;n.length===3&&(n=[...n].map(s=>s+s).join(""));let i=Number.parseInt(n,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:e=>jt.rgbToAnsi256(...jt.hexToRgb(e)),enumerable:!1},ansi256ToAnsi:{value(e){if(e<8)return 30+e;if(e<16)return 90+(e-8);let r,n,i;if(e>=232)r=((e-232)*10+8)/255,n=r,i=r;else{e-=16;let a=e%36;r=Math.floor(e/36)/5,n=Math.floor(a/6)/5,i=a%6/5}let s=Math.max(r,n,i)*2;if(s===0)return 30;let o=30+(Math.round(i)<<2|Math.round(n)<<1|Math.round(r));return s===2&&(o+=60),o},enumerable:!1},rgbToAnsi:{value:(e,r,n)=>jt.ansi256ToAnsi(jt.rgbToAnsi256(e,r,n)),enumerable:!1},hexToAnsi:{value:e=>jt.ansi256ToAnsi(jt.hexToAnsi256(e)),enumerable:!1}}),jt}var D0t=C0t(),Wi=D0t;function Hn(t,e=globalThis.Deno?globalThis.Deno.args:Nk.default.argv){let r=t.startsWith("-")?"":t.length===1?"-":"--",n=e.indexOf(r+t),i=e.indexOf("--");return n!==-1&&(i===-1||n<i)}var{env:Ht}=Nk.default,Lk;Hn("no-color")||Hn("no-colors")||Hn("color=false")||Hn("color=never")?Lk=0:(Hn("color")||Hn("colors")||Hn("color=true")||Hn("color=always"))&&(Lk=1);function O0t(){if("FORCE_COLOR"in Ht)return Ht.FORCE_COLOR==="true"?1:Ht.FORCE_COLOR==="false"?0:Ht.FORCE_COLOR.length===0?1:Math.min(Number.parseInt(Ht.FORCE_COLOR,10),3)}function q0t(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function R0t(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=O0t();n!==void 0&&(Lk=n);let i=r?Lk:n;if(i===0)return 0;if(r){if(Hn("color=16m")||Hn("color=full")||Hn("color=truecolor"))return 3;if(Hn("color=256"))return 2}if("TF_BUILD"in Ht&&"AGENT_NAME"in Ht)return 1;if(t&&!e&&i===void 0)return 0;let s=i||0;if(Ht.TERM==="dumb")return s;if(Nk.default.platform==="win32"){let o=cge.default.release().split(".");return Number(o[0])>=10&&Number(o[2])>=10586?Number(o[2])>=14931?3:2:1}if("CI"in Ht)return"GITHUB_ACTIONS"in Ht?3:["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","BUILDKITE","DRONE"].some(o=>o in Ht)||Ht.CI_NAME==="codeship"?1:s;if("TEAMCITY_VERSION"in Ht)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Ht.TEAMCITY_VERSION)?1:0;if(Ht.COLORTERM==="truecolor"||Ht.TERM==="xterm-kitty")return 3;if("TERM_PROGRAM"in Ht){let o=Number.parseInt((Ht.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Ht.TERM_PROGRAM){case"iTerm.app":return o>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Ht.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Ht.TERM)||"COLORTERM"in Ht?1:s}function Jhe(t,e={}){let r=R0t(t,{streamIsTTY:t&&t.isTTY,...e});return q0t(r)}var A0t={stdout:Jhe({isTTY:KL.default.isatty(1)}),stderr:Jhe({isTTY:KL.default.isatty(2)})},P0t=A0t;function T0t(t,e,r){let n=t.indexOf(e);if(n===-1)return t;let i=e.length,s=0,o="";do o+=t.slice(s,n)+e+r,s=n+i,n=t.indexOf(e,s);while(n!==-1);return o+=t.slice(s),o}function M0t(t,e,r,n){let i=0,s="";do{let o=t[n-1]==="\r";s+=t.slice(i,o?n-1:n)+e+(o?`\r
|
|
480
|
+
`:`
|
|
481
|
+
`)+r,i=n+1,n=t.indexOf(`
|
|
482
|
+
`,i)}while(n!==-1);return s+=t.slice(i),s}var{stdout:Xhe,stderr:Zhe}=P0t,YL=Symbol("GENERATOR"),Nl=Symbol("STYLER"),Ep=Symbol("IS_EMPTY"),ege=["ansi","ansi","ansi256","ansi16m"],jl=Object.create(null),F0t=(t,e={})=>{if(e.level&&!(Number.isInteger(e.level)&&e.level>=0&&e.level<=3))throw new Error("The `level` option should be an integer from 0 to 3");let r=Xhe?Xhe.level:0;t.level=e.level===void 0?r:e.level},L0t=t=>{let e=(...r)=>r.join(" ");return F0t(e,t),Object.setPrototypeOf(e,Cp.prototype),e};function Cp(t){return L0t(t)}Object.setPrototypeOf(Cp.prototype,Function.prototype);for(let[t,e]of Object.entries(Wi))jl[t]={get(){let r=Ik(this,JL(e.open,e.close,this[Nl]),this[Ep]);return Object.defineProperty(this,t,{value:r}),r}};jl.visible={get(){let t=Ik(this,this[Nl],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var QL=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?Wi[r].ansi16m(...n):e==="ansi256"?Wi[r].ansi256(Wi.rgbToAnsi256(...n)):Wi[r].ansi(Wi.rgbToAnsi(...n)):t==="hex"?QL("rgb",e,r,...Wi.hexToRgb(...n)):Wi[r][t](...n),I0t=["rgb","hex","ansi256"];for(let t of I0t){jl[t]={get(){let{level:r}=this;return function(...n){let i=JL(QL(t,ege[r],"color",...n),Wi.color.close,this[Nl]);return Ik(this,i,this[Ep])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);jl[e]={get(){let{level:r}=this;return function(...n){let i=JL(QL(t,ege[r],"bgColor",...n),Wi.bgColor.close,this[Nl]);return Ik(this,i,this[Ep])}}}}var N0t=Object.defineProperties(()=>{},{...jl,level:{enumerable:!0,get(){return this[YL].level},set(t){this[YL].level=t}}}),JL=(t,e,r)=>{let n,i;return r===void 0?(n=t,i=e):(n=r.openAll+t,i=e+r.closeAll),{open:t,close:e,openAll:n,closeAll:i,parent:r}},Ik=(t,e,r)=>{let n=(...i)=>j0t(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,N0t),n[YL]=t,n[Nl]=e,n[Ep]=r,n},j0t=(t,e)=>{if(t.level<=0||!e)return t[Ep]?"":e;let r=t[Nl];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=T0t(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
|
|
483
|
+
`);return s!==-1&&(e=M0t(e,i,n,s)),n+e+i};Object.defineProperties(Cp.prototype,jl);var $0t=Cp(),p5t=Cp({level:Zhe?Zhe.level:0}),Ae=$0t;function zi(t){return t.split(" ").map(e=>e.replace(/^(\d*\.?\d*)$/g,`${Ae.blue("$1")}`).replace(/^(\d*\.?\d*)(YB|ZB|EB|PB|TB|GB|MB|KB|B|mb|kb|bit|zs|as|fs|ps|ns|µs|ms|s|m|h|d|m|y)$/g,`${Ae.cyan("$1")}${Ae.magenta("$2")}`).replace(/^((?:[0-1]?[0-9]|[2][0-3]):[0-5][0-9]:[0-5][0-9] (?:AM|PM)?)$/g,`${Ae.dim("$1")}`).replace(/^\[(.*?)\]$/g,`${Ae.dim("[")}${Ae.magenta("$1")}${Ae.dim("]")}`).replace(/^`(.*?)`$/g,`${Ae.dim("`")}$1${Ae.dim("`")}`).replace(/^\((.*?)\)$/g,`${Ae.dim("(")}$1${Ae.dim(")")}`).replace(/^<(.*?)>$/g,`${Ae.dim("<")}${Ae.gray("$1")}${Ae.dim(">")}`).replace(/->/g,Ae.dim("\u2192")).replace(/<-/g,Ae.dim("\u2190")).replace(/^\$t$/g,`${Ae.dim(new Date().toLocaleTimeString())}`).replace(/^\*\*(.*?)\*\*$/g,`${Ae.bold.white("$1")}`).replace(/^~~(.*?)~~$/g,`${Ae.strikethrough("$1")}`).replace(/^__(.*?)__$/g,`${Ae.underline("$1")}`).replace(/^\.\.(.*?)\.\.$/g,`${Ae.dim("$1")}`).replace(/^!!(.*?)!!$/g,`${Ae.yellow("$1")}`).replace(/^\*(.*?)\*$/g,`${Ae.italic("$1")}`).replace(/^_(.*?)_$/g,`${Ae.italic("$1")}`).replace(/^\+(.*?)\+$/g,`${Ae.green("$1")}`).replace(/^-(.*?)-$/g,`${Ae.red("$1")}`)).join(" ")}function kn(t,e){let r="";if(Array.isArray(t))for(let n=0;n<t.length;n++)r+=WL(t[n])+WL(e[n]);else r=[t,...e].map(n=>WL(n)).join(" ");return zi(r)}var WL=t=>t?Array.isArray(t)?t.map(e=>{switch(typeof e){case"string":return`'${Ae.yellow(e)}'`;case"number":case"boolean":return Ae.blue(e);default:return e}}).join(Ae.gray(", ")):t:"",tge=(t,...e)=>{let r=Ae.green("+")+" "+kn(t,e);return console.log(r),r},rge=(t,...e)=>{let r=Ae.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+kn(t,e);return console.log(r),r},B0t=(t,...e)=>{let r=Ae.bgYellow.bold.white(" \u26A0\uFE0F CONFLICT ")+" "+Ae.yellow(kn(t,e));return console.log(r),r},W0t=(t,...e)=>{let r=Ae.green("\u2713 ")+kn(t,e);return console.log(r),r},zL=(t,...e)=>{let r=Ae.red("-")+" "+kn(t,e);return console.log(r),r},nge=(t,...e)=>{let r=Ae.green("\u25CB ")+kn(t,e);return console.log(r),r},ige=(t,...e)=>{let r=Ae.red("\u2717 ")+kn(t,e);return console.log(r),r},sge=(t,...e)=>{let r=zi("$t ")+kn(t,e);return console.log(r),r},z0t=(t,...e)=>{let r=Ae.green("\u23FA Success ")+kn(t,e);return console.log(r),r},U0t=(t,...e)=>{let r=Ae.yellow("\u23FA Warn ")+kn(t,e);return console.log(r),r},H0t=(t,...e)=>{let r=Ae.bgGreen.bold.white(" \u2713 PASS ")+" "+kn(t,e);return console.log(r),r},V0t=t=>{console.log(dge(pge(JSON.parse(JSON.stringify(t))),{spacerNeighbour:zi("..\u2502..")+" ",keyNoNeighbour:zi("..\u2514\u2500..")+" ",keyNeighbour:zi("..\u251C\u2500..")+" ",separator:zi("..:..")+" "}))};function pge(t){for(let e in t){let r=t[e];Array.isArray(r)?t[e]=r.map(n=>zi(`**${n}**`)).join(zi("..,..")):typeof r=="object"?pge(r):t[e]=zi(`**${r}**`)}return t}var G0t=(t,...e)=>{let r=Ae.red("\u23FA Fail ")+kn(t,e);return console.log(r),r},K0t=_0t(x0t());function Y0t(t){let{message:e,stack:r}=typeof t=="string"?new Error(t):t,n={};return(0,K0t.default)(r.replace(e,"").replace(/^Error: /,"")).split(`
|
|
484
|
+
`).forEach(i=>{n[i.split(" ").map(s=>s.replace(/^\((.+)\)$/,`${Ae.cyan("$1")}`).replace(/\./g,`${Ae.dim(".")}`).replace(/^at$/,o=>Ae.dim(o))).join(" ")]=null}),{message:e.trim().replace(/Error: /g,""),stackTree:n}}var hge=(t,...e)=>{if(t instanceof Error){let{message:r,stackTree:n}=Y0t(t);return console.log(""),console.log(Ae.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+Ae.bold.red(r)),console.log(dge(n,{spacerNeighbour:Ae.redBright.dim("\u2502\u2000\u2000"),keyNoNeighbour:Ae.redBright.dim("\u2514\u2500\u2000"),keyNeighbour:Ae.redBright.dim("\u251C\u2500 "),separator:Ae.redBright.dim(":\u2000")})),console.log(""),r}else{let r=kn(t,e);return console.log(r),r}};Object.assign(hge,{a:tge,add:tge,d:zL,del:zL,delete:zL,o:nge,valid:nge,x:ige,invalid:ige,i:sge,info:sge,e:rge,error:rge,success:z0t,fail:G0t,warn:U0t,pass:H0t,conflict:B0t,ok:W0t,tree:V0t,paint:zi});var kp=hge,mge=class extends qB{constructor(t){super(l0t,t)}css;extractions=new Set;get resolvedModuleId(){return"\0"+this.options.module}get moduleHMREvent(){return`HMR:${this.options.module}`}async init(){return this.extractions.clear(),console.log(""),this.css=new wr({config:this.readConfig()}),await this.compile(),this}async compile(){if(this.options.fixedClasses?.length)for(let t of this.options.fixedClasses)this.css.insert(t);return await Promise.all(this.sources.map(async t=>{let e=lge.default.readFileSync(Mk.default.resolve(this.options.cwd,t),{encoding:"utf-8"}).toString();await this.insert(t,e)})),this}extract(t,e){if(!t||!e||!this.checkSourcePath(t))return[];let r=[];for(let n of c0t({content:e,name:t},this.css))this.extractions.has(n)||(this.extractions.add(n),r.push(n));return r}async insert(t,e){let r=this.extract(t,e);if(!r.length)return!1;let n=UL.performance.now(),i=[];await Promise.all(r.map(async o=>{let a=await this.createRules(o);a.length&&(this.css.insertRules(a),i.push(o))}));let s=Math.round((UL.performance.now()-n)*100)/100;if(r.length&&(console.log(""),kp`**${Mk.default.relative(this.options.cwd,t)}** ..${Mk.default.resolve(this.options.cwd,t)}..`,kp`[extract] ${r.length} potential`),this.css.rules.length){let o=i.filter(a=>!r.includes(a));o.length&&kp`[exclude] ${o.length} unknow ${o}`,kp`[compile] +${i.length}+ valid inserted ${Ae.gray("in")} ${s}ms ${i}`,kp`[virtual] ${this.css.rules.length} total ${Ae.gray("in")} ${this.options.module}`}return this.options.ignoredClasses?.length&&(r=r.filter(o=>{for(let a of this.options.ignoredClasses)if(typeof a=="string"){if(a===o)return!1}else if(a.test(o))return!1;return!0})),!0}async createRules(t){return(await Promise.all(this.css.create(t).map(async e=>(await gge.default.lint({code:e.text,cache:!1,config:{rules:{"color-no-invalid-hex":!0,"named-grid-areas-no-invalid":!0,"at-rule-no-unknown":!0,"function-no-unknown":!0,"media-feature-name-no-unknown":!0,"property-no-unknown":!0,"selector-pseudo-class-no-unknown":!0,"selector-pseudo-element-no-unknown":!0,"selector-type-no-unknown":!0,"unit-no-unknown":!0}}})).errored?null:e))).filter(e=>e)}get sources(){let{include:t,exclude:e,sources:r}=this.options,n=GL.default.sync(t,{cwd:this.options.cwd,ignore:e});return r?.length&&n.push(...GL.default.sync(r,{cwd:this.options.cwd})),n}checkSourcePath(t){let{include:e,exclude:r,sources:n}=this.options;for(let i of n)if((0,Fk.default)(t,i))return!0;for(let i of e)if(!(0,Fk.default)(t,i))return!1;for(let i of r)if((0,Fk.default)(t,i))return!1;return!0}get config(){return this.css.config}};var Ji=ut(Up());var jbe=ut(Xme()),$be=ut(hye()),Bbe=ut(gye());var Q=ut(R3()),SE=[{label:"lang()",kind:Q.CompletionItemKind.Function},{label:"has()",kind:Q.CompletionItemKind.Function},"any-link","link","visited","target","scope","hover","active","focus","focus-visible","focus-within","autofill","enabled","disabled","read-only","read-write","placeholder-shown","default","checked","indeterminate","valid","invalid","in-range","out-of-range","required","optional","root","empty",{label:"nth-child()",kind:Q.CompletionItemKind.Function},{label:"nth-last-child()",kind:Q.CompletionItemKind.Function},"first-child","last-child","only-child",{label:"nth-of-type()",kind:Q.CompletionItemKind.Function},{label:"nth-last-of-type()",kind:Q.CompletionItemKind.Function},"first-of-type","last-of-type","only-of-type","defined","first","fullscreen",{label:"host()",kind:Q.CompletionItemKind.Function},{label:"host-context()",kind:Q.CompletionItemKind.Function},{label:"is()",kind:Q.CompletionItemKind.Function},"left",{label:"not()",kind:Q.CompletionItemKind.Function},"right",{label:"where()",kind:Q.CompletionItemKind.Function}],N3=["after","before","backdrop","cue","first-letter","first-line","file-selector-button","marker",{label:"part()",kind:Q.CompletionItemKind.Function},"placeholder","selection",{label:"slotted()",kind:Q.CompletionItemKind.Function},"resizer","search-cancel-button","search-results-button"],mye=["all","print","screen","portrait","landscape","motion","reduced-motion",{label:"media()",kind:Q.CompletionItemKind.Function}],yye=["ext","gap","ont","ovf","quotes","bottom","center","left","middle","top","right","px","py","pt","pb","pl","pr","mx","my","mt","mb","ml","mr"],bye=[{label:"var()",kind:Q.CompletionItemKind.Function},{label:"calc()",kind:Q.CompletionItemKind.Function},"inherit","initial","unset"],Vp=[{key:["color","fg","foreground"],colorful:!0,values:[]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["accent-color","accent"],colorful:!0,values:[]},{key:["appearance"],colorful:!1,values:["none","auto","menulist-button","textfield","button","searchfield","textarea","push-button","slider-horizontal","checkbox","radio","square-button","menulist","listbox","meter","progress-bar"]},{key:["caret-color","caret"],colorful:!0,values:["transparent"]},{key:["cursor"],colorful:!1,values:["auto","alias","all-scroll","cell","col-resize","context-menu","copy","crosshair","default","e-resize","ew-resize","grab","grabbing","help","move","n-resize","ne-resize","nesw-resize","no-drop","none","not-allowed","ns-resize","nw-resize","nwse-resize","pointer","progress","row-resize","s-resize","se-resize","sw-resize","text","vertical-text","w-resize","wait","zoom-in","zoom-out"]},{key:["box-decoration-break","box"],colorful:!1,values:["slice","clone"]},{key:["break-after","break-before"],colorful:!1,values:["avoid-column","column","left","page","recto","right","recto","verso","auto","avoid","avoid-column","avoid-page","revert"]},{key:["break-inside"],colorful:!1,values:["auto","avoid","avoid-column","avoid-page","revert"]},{key:["clear"],colorful:!1,values:["both","left","none","right"]},{key:["columns","cols"],colorful:!1,values:[]},{key:["column-span","col-span"],colorful:!1,values:["all","none"]},{key:["direction"],colorful:!1,values:["ltr","rtl"]},{key:["display","d"],colorful:!1,values:["hidden","hide","flex","grid","inline","none","block","table","contents","inline-block","inline-flex","inline-grid","inline-table","table-cell","table-caption","flow-root","list-item","table-row","table-column","table-row-group","table-column-group","table-header-group","table-footer-group"]},{key:["float"],colorful:!1,values:["left","none","right"]},{key:["inset"],colorful:!1,values:[]},{key:["isolation"],colorful:!1,values:["auto","isolate"]},{key:["overflow","overflow-x","overflow-y"],colorful:!1,values:["auto","hidden","overlay","scroll","visible","clip"]},{key:["position"],colorful:!1,values:["absolute","relative","static","fixed","sticky"]},{key:["z-index","z"],colorful:!1,values:[]},{key:["flex"],colorful:!1,values:[]},{key:["flex-basis"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["flex-direction","flex"],colorful:!1,values:["column","row","column-reverse","row-reverse"]},{key:["flex-grow","flex-shrink"],colorful:!1,values:[]},{key:["flex-wrap","flex"],colorful:!1,values:["wrap","wrap-reverse","nowrap"]},{key:["grid"],colorful:!1,values:[]},{key:["grid-auto-columns","grid-auto-cols"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:Q.CompletionItemKind.Function}]},{key:["grid-auto-flow"],colorful:!1,values:["row","column","dense","row|dense","column|dense"]},{key:["grid-auto-rows"],colorful:!1,values:["auto","min-content","max-content",{label:"minmax(,)",kind:Q.CompletionItemKind.Function}]},{key:["grid-column","grid-col","grid-column-span","grid-col-span","grid-column-start","grid-col-start","grid-column-end","grid-col-end"],colorful:!1,values:[]},{key:["grid-columns","grid-cols"],colorful:!1,values:[]},{key:["grid-row","grid-row-span","grid-row-start","grid-row-end"],colorful:!1,values:[]},{key:["grid-rows"],colorful:!1,values:[]},{key:["grid-template"],colorful:!1,values:["none"]},{key:["grid-template-areas","grid-area"],colorful:!1,values:["none"]},{key:["grid-template-columns","grid-template-cols"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:Q.CompletionItemKind.Function},{label:"fit-content()",kind:Q.CompletionItemKind.Function},{label:"minmax()",kind:Q.CompletionItemKind.Function}]},{key:["grid-template-rows"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:Q.CompletionItemKind.Function},{label:"fit-content()",kind:Q.CompletionItemKind.Function},{label:"minmax()",kind:Q.CompletionItemKind.Function}]},{key:["align-content","ac"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-items","ai"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["align-self","as"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["justify-content","jc"],colorful:!1,values:["space-around","space-between","space-evenly","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-items","ji"],colorful:!1,values:["self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["justify-self","js"],colorful:!1,values:["auto","self-start","self-end","normal","left","center","right","stretch","start","end","flex-start","flex-end"]},{key:["order","o"],colorful:!1,values:[]},{key:["place-content"],colorful:!1,values:["space-around","space-between","space-evenly","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-items"],colorful:!1,values:["self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["place-self"],colorful:!1,values:["auto","self-start","self-end","normal","baseline","center","stretch","start","end","flex-start","flex-end"]},{key:["border-collapse","border"],colorful:!1,values:["collapse","separate"]},{key:["table-layout"],colorful:!1,values:["auto","fixed"]},{key:["object-fit"],colorful:!1,values:["none"]},{key:["object-fit","object","obj"],colorful:!1,values:["contain","cover","fill","scale-down"]},{key:["object-position","object","obj"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["font","f"],colorful:!1,values:["caption","icon","menu","message-box","small-caption","status-bar"]},{key:["font-color","font","f"],colorful:!0,values:[]},{key:["font-family","font","f"],colorful:!1,values:["'CourierNew',Courier,monospace","'FranklinGothicMedium','ArialNarrow',Arial,sans-serif","'GillSans','GillSansMT',Calibri,'TrebuchetMS',sans-serif","'LucidaSans','LucidaSansRegular','LucidaGrande','LucidaSansUnicode',Geneva,Verdana,sans-serif","'SegoeUI',Tahoma,Geneva,Verdana,sans-serif","'TimesNewRoman',Times,serif","'TrebuchetMS','LucidaSansUnicode','LucidaGrande','LucidaSans',Arial,sans-serif","Arial,Helvetica,sans-serif","Cambria,Cochin,Georgia,Times,'TimesNewRoman',serif","Georgia,'TimesNewRoman',Times,serif","Impact,Haettenschweiler,'ArialNarrowBold',sans-serif","Verdana,Geneva,Tahoma,sans-serif","cursive","fantasy","monospace","sans-serif","serif","-apple-system,BlinkMacSystemFont,'SegoeUI',Roboto,Oxygen,Ubuntu,Cantarell,'OpenSans','HelveticaNeue',sans-serif"]},{key:["font-size","font","f"],colorful:!1,values:[{label:"8",kind:Q.CompletionItemKind.Unit,sortText:"!0"},{label:"9",kind:Q.CompletionItemKind.Unit,sortText:"!1"},{label:"10",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"11",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"12",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"14",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"16",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"18",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"20",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"22",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"24",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"26",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"28",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"36",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"48",kind:Q.CompletionItemKind.Unit,sortText:"!2"},{label:"72",kind:Q.CompletionItemKind.Unit,sortText:"!2"}]},{key:["font-style"],colorful:!1,values:["oblique|deg"]},{key:["font-style","font","f"],colorful:!1,values:["normal","italic","oblique"]},{key:["font-variant-numeric","font","f"],colorful:!1,values:["normal","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]},{key:["font-weight","font","f"],colorful:!1,values:["100","200","300","400","500","600","700","800","900"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-align","text","t"],colorful:!1,values:["start","end","left","right","center","justify"]},{key:["text-decoration","text","t"],colorful:!1,values:["underline","line-through","overline"]},{key:["text-decoration-color","text-decoration"],colorful:!0,values:[]},{key:["text-decoration-line","text","t"],colorful:!1,values:["none","underline","overline","line-through"]},{key:["text-decoration-style","text","t"],colorful:!1,values:["dashed","dotted","double","solid","wavy"]},{key:["text-decoration-thickness"],colorful:!1,values:[]},{key:["text-fill-color","text-fill"],colorful:!0,values:[]},{key:["text-indent"],colorful:!1,values:[]},{key:["text-orientation","text","t"],colorful:!1,values:["mixed","sideways","sideways-right","upright","use-glyph-orientation"]},{key:["text-overflow","text","t"],colorful:!1,values:["clip","ellipsis"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["text","t"],colorful:!1,values:[]},{key:["text-stroke"],colorful:!1,values:[]},{key:["text-stroke-color","text-stroke"],colorful:!0,values:[]},{key:["text-stroke-width","text-stroke"],colorful:!1,values:[]},{key:["text-transform"],colorful:!1,values:["none"]},{key:["text-transform","text","t"],colorful:!1,values:["capitalize","lowercase","uppercase"]},{key:["text-underline-offset"],colorful:!1,values:[]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["list-style"],colorful:!1,values:[]},{key:["list-style-image","list-style"],colorful:!1,values:[{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"conic-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["list-style-position","list-style"],colorful:!1,values:["inside","outside"]},{key:["list-style-type"],colorful:!1,values:["circle","square","decimal-leading-zero","lower-roman","lower-greek","lower-alpha","lower-latin","upper-roman","upper-alpha","upper-latin","arabic-indic","armenian","bengali","cambodian/khmer","cjk-earthly-branch","cjk-heavenly-stem","devanagari","georgian","gurmukhi","kannada","lao","malayalam","myanmar","oriya","telugu","thai"]},{key:["list-style-type","list-style"],colorful:!1,values:["none","disc","decimal"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["lines"],colorful:!1,values:[]},{key:["line-height","lh"],colorful:!1,values:[]},{key:["content"],colorful:!1,values:["normal","none","no-open-quote","no-close-quote",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"image-set()",kind:Q.CompletionItemKind.Function},{label:"counter()",kind:Q.CompletionItemKind.Function},{label:"attr()",kind:Q.CompletionItemKind.Function}]},{key:["vertical-align","v"],colorful:!1,values:["baseline","bottom","middle","sub","super","text-bottom","text-top","top"]},{key:["white-space"],colorful:!1,values:["break-spaces","normal","nowrap","pre","pre-line","pre-wrap"]},{key:["word-break"],colorful:!1,values:["normal","break-all","keep-all"]},{key:["word-spacing"],colorful:!1,values:[]},{key:["writing-mode"],colorful:!1,values:["horizontal-tb","vertical-rl","vertical-lr","lr","lr-tb","rl","rl-tb","tb","tb-rl"]},{key:["background","bg"],colorful:!1,values:[]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function}]},{key:["background-attachment","background","bg"],colorful:!1,values:["fixed","local","scroll"]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["background-clip","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-color","background","bg"],colorful:!0,values:["transparent"]},{key:["background-image","background","bg"],colorful:!1,values:[{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:Q.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:Q.CompletionItemKind.Function},{label:"conic-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["background-origin","bg"],colorful:!1,values:["content-box","border-box","padding-box"]},{key:["background-position","bg"],colorful:!1,values:["top","bottom","left","right","center"]},{key:["background-repeat","bg"],colorful:!1,values:["repeat","no-repeat","repeat-x","repeat-y"]},{key:["background-size","background","bg"],colorful:!1,values:["auto","cover","contain"]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["border","border-top","border-bottom","border-left","border-right","b","bt","bb","bl","br","bx","by"],colorful:!1,values:[]},{key:["border-spacing"],colorful:!1,values:[]},{key:["border-color","border","border-top-color","border-bottom-color","border-left-color","border-right-color","b","bt","bb","bl","br","bx","by"],colorful:!0,values:[]},{key:["border-radius","r","rt","rb","rl","rr","border-top-left-radius","rlt","rtl","border-top-right-radius","rrt","rtr","border-bottom-left-radius","rlb","rbl","border-bottom-right-radius","rbr","rrb"],colorful:!1,values:[]},{key:["border-style","border","b","border-top-style","border-top","bt","border-bottom-style","border-bottom","bb","border-left-style","border-left","bl","border-right-style","border-right","br","bx","by"],colorful:!1,values:["none","hidden","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["border-width","border","b","border-top-width","border-top","bt","border-bottom-width","border-bottom","bb","border-left-width","border-left","bl","border-right-width","border-right","br","bx","by"],colorful:!1,values:[]},{key:["outline"],colorful:!1,values:[]},{key:["outline-color","outline"],colorful:!0,values:[]},{key:["outline-offset"],colorful:!1,values:[]},{key:["outline-style","outline"],colorful:!1,values:["none","dotted","dashed","solid","double","groove","ridge","inset","outset"]},{key:["outline-width","outline"],colorful:!1,values:["medium","thick","thin"]},{key:["shape-image-threshold"],colorful:!1,values:[]},{key:["shape-margin","shape"],colorful:!1,values:[{label:"max()",kind:Q.CompletionItemKind.Function},{label:"min()",kind:Q.CompletionItemKind.Function},{label:"calc()",kind:Q.CompletionItemKind.Function},{label:"clamp()",kind:Q.CompletionItemKind.Function}]},{key:["shape-outside","shape"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box",{label:"inset()",kind:Q.CompletionItemKind.Function},{label:"circle()",kind:Q.CompletionItemKind.Function},{label:"ellipse()",kind:Q.CompletionItemKind.Function},{label:"polygon()",kind:Q.CompletionItemKind.Function},{label:"url()",kind:Q.CompletionItemKind.Function},{label:"linear-gradient()",kind:Q.CompletionItemKind.Function}]},{key:["clip-path","clip"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box","fill-box","stroke-box","view-box",{label:"inset()",kind:Q.CompletionItemKind.Function},{label:"circle()",kind:Q.CompletionItemKind.Function},{label:"ellipse()",kind:Q.CompletionItemKind.Function},{label:"polygon()",kind:Q.CompletionItemKind.Function},{label:"path()",kind:Q.CompletionItemKind.Function},{label:"url()",kind:Q.CompletionItemKind.Function}]},{key:["aspect-ratio","aspect"],colorful:!1,values:[]},{key:["box-sizing","box"],colorful:!1,values:["content-box","border-box"]},{key:["width","w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-width","min-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-width","max-w"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["height","h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["min-height","min-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["max-height","max-h"],colorful:!1,values:["100%","fit-content","max-content","min-content"]},{key:["letter-spacing","ls"],colorful:!1,values:[]},{key:["margin-top","mt","margin-bottom","mb","margin-left","ml","margin-right","mr","margin","m","mx","my"],colorful:!1,values:[]},{key:["padding-top","pt","padding-bottom","pb","padding-left","pl","padding-right","pr","padding","p","px","py"],colorful:!1,values:[]},{key:["word-spacing"],colorful:!1,values:[]},{key:["transition"],colorful:!1,values:[]},{key:["transition-delay","~delay"],colorful:!1,values:[]},{key:["transition-duration","~duration"],colorful:!1,values:[]},{key:["transition-property","~property"],colorful:!1,values:[]},{key:["transition-timing-function","~easing"],colorful:!1,values:["ease","ease-in","ease-out","linear","step-start","step-end",{label:"steps(,)",kind:Q.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:Q.CompletionItemKind.Function},{label:"frames()",kind:Q.CompletionItemKind.Function}]},{key:["transform"],colorful:!1,values:[{label:"translate()",kind:Q.CompletionItemKind.Function},{label:"translate3d()",kind:Q.CompletionItemKind.Function},{label:"translateX()",kind:Q.CompletionItemKind.Function},{label:"translateY()",kind:Q.CompletionItemKind.Function},{label:"translateZ()",kind:Q.CompletionItemKind.Function},{label:"scale()",kind:Q.CompletionItemKind.Function},{label:"scale3d()",kind:Q.CompletionItemKind.Function},{label:"scaleX()",kind:Q.CompletionItemKind.Function},{label:"scaleY()",kind:Q.CompletionItemKind.Function},{label:"scaleZ()",kind:Q.CompletionItemKind.Function},{label:"skew()",kind:Q.CompletionItemKind.Function},{label:"skewX()",kind:Q.CompletionItemKind.Function},{label:"skewY()",kind:Q.CompletionItemKind.Function},{label:"rotate()",kind:Q.CompletionItemKind.Function},{label:"rotate3d()",kind:Q.CompletionItemKind.Function},{label:"rotateX()",kind:Q.CompletionItemKind.Function},{label:"rotateY()",kind:Q.CompletionItemKind.Function},{label:"rotateZ()",kind:Q.CompletionItemKind.Function},{label:"perspective()",kind:Q.CompletionItemKind.Function},{label:"matrix()",kind:Q.CompletionItemKind.Function},{label:"matrix3d()",kind:Q.CompletionItemKind.Function}]},{key:["transform-box","transform"],colorful:!1,values:["content-box","fill-box","stroke-box","view-box","border-box"]},{key:["transform-origin","transform"],colorful:!1,values:["top","bottom","right","left","center"]},{key:["transform-style","transform"],colorful:!1,values:["flat","preserve-3d"]},{key:["animation"],colorful:!1,values:[]},{key:["animation-delay","@delay"],colorful:!1,values:[]},{key:["animation-direction","@direction"],colorful:!1,values:["normal","reverse","alternate","alternate-reverse"]},{key:["animation-duration","@duration"],colorful:!1,values:[]},{key:["animation-fill-mode","@fill-mode"],colorful:!1,values:["none","forwards","backwards","both"]},{key:["animation-iteration-count","@iteration-count"],colorful:!1,values:["infinite"]},{key:["animation-name","@name"],colorful:!1,values:[]},{key:["animation-play-state","@play-state"],colorful:!1,values:["running","paused"]},{key:["animation-timing-function","@easing"],colorful:!1,values:["ease","ease-in","ease-out","ease-in-out","linear","step-start","step-end",{label:"steps(,)",kind:Q.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:Q.CompletionItemKind.Function},{label:"frames()",kind:Q.CompletionItemKind.Function}]},{key:["fill"],colorful:!0,values:[]},{key:["stroke"],colorful:!0,values:[]},{key:["stroke-width"],colorful:!1,values:[]},{key:["opacity"],colorful:!1,values:[]},{key:["visibility"],colorful:!1,values:["visible","invisible","collapse"]},{key:["backdrop-filter","bd"],colorful:!1,values:["none",{label:"url(svg)",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function}]},{key:["background-blend-mode"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["box-shadow","shadow","s"],colorful:!0,values:["inset"]},{key:["filter"],colorful:!1,values:["none",{label:"url()",kind:Q.CompletionItemKind.Function},{label:"blur()",kind:Q.CompletionItemKind.Function},{label:"brightness()",kind:Q.CompletionItemKind.Function},{label:"contrast()",kind:Q.CompletionItemKind.Function},{label:"drop-shadow()",kind:Q.CompletionItemKind.Function},{label:"grayscale()",kind:Q.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:Q.CompletionItemKind.Function},{label:"invert()",kind:Q.CompletionItemKind.Function},{label:"opacity()",kind:Q.CompletionItemKind.Function},{label:"saturate()",kind:Q.CompletionItemKind.Function},{label:"sepia()",kind:Q.CompletionItemKind.Function}]},{key:["mask-image"],colorful:!1,values:[]},{key:["mix-blend-mode","blend"],colorful:!1,values:["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]},{key:["text-shadow"],colorful:!1,values:[]},{key:["overscroll-behavior","overscroll-behavior-x","overscroll-behavior-y"],colorful:!1,values:["auto","none","contain"]},{key:["scroll-behavior"],colorful:!1,values:["auto","smooth"]},{key:["scroll-margin","scroll-m","scroll-margin-top","scroll-mt","scroll-margin-bottom","scroll-mb","scroll-margin-left","scroll-ml","scroll-margin-right","scroll-mr","scroll-mx","scroll-my"],colorful:!1,values:[]},{key:["scroll-padding","scroll-p","scroll-padding","scroll-padding-top","scroll-pt","scroll-padding-bottom","scroll-pb","scroll-padding-left","scroll-pl","scroll-padding-right","scroll-pr","scroll-px","scroll-py"],colorful:!1,values:[]},{key:["scroll-snap-align","scroll-snap"],colorful:!1,values:["center","end","start","none"]},{key:["scroll-snap-stop","scroll-snap"],colorful:!1,values:["always","normal"]},{key:["scroll-snap-type"],colorful:!1,values:["none"]},{key:["scroll-snap-type","scroll-snap"],colorful:!1,values:["x","y","both","block","inline","x|mandatory","y|proximity","both|mandatory"]},{key:["pointer-events"],colorful:!1,values:["auto","none","visiblePainted","visibleFill","visibleStroke","visible","painted","fill","stroke","all","bounding-box"]},{key:["resize"],colorful:!1,values:["auto","none","both","horizontal","vertical","block","inline"]},{key:["touch-action"],colorful:!1,values:["auto","none","pan-x","pan-left","pan-right","pan-y","pan-up","pan-down","pinch-zoom","manipulation"]},{key:["user-drag"],colorful:!1,values:["auto","none","element"]},{key:["user-select"],colorful:!1,values:["all","auto","none","text"]},{key:["contain"],colorful:!1,values:["none","strict","content","size","layout","style","paint"]},{key:["font","f"],colorful:!1,values:["antialiased","subpixel-antialiased"]},{key:["text-rendering"],colorful:!1,values:["auto"]},{key:["text-rendering","t"],colorful:!1,values:["optimizeSpeed","optimizeLegibility","geometricPrecision"]},{key:["will-change"],colorful:!1,values:[]},{key:["$"],colorful:!1,values:[]}],vye=[{type:"color",values:["#",{label:"rgb()",kind:Q.CompletionItemKind.Function},{label:"hsl()",kind:Q.CompletionItemKind.Function}]}];var mr=ut(Up());var Oye=ut(Dye()),Kp=[];Kp=Kp.concat(yye);Vp.forEach(t=>{Kp=Kp.concat(t.key)});var Ua=[...new Set(Kp)];function qye(t,e){let r=t.textDocument.uri,n=r.substring(r.lastIndexOf(".")+1),i=t.position,s=/(?:[^"{'\s])+(?=>\s|\b)/g,o,a="",u=e.get(r),l=u?.getText({start:{line:i.line,character:0},end:{line:i.line,character:i.character}}),c=l??"";c=c.trim();let f=u?.getText({start:{line:0,character:0},end:{line:i.line,character:i.character}});if(c.match(s)===null)return{isInstance:!1,lastKey:"",triggerKey:"",isStart:!1,language:n};for(;(o=s.exec(c))!==null;)a=o[0];let d=c.charAt(c.length-1),p=i.character==1||c.charAt(c.length-2)===" "||c.charAt(c.length-2)===""||c.charAt(c.length-2)==='"'||c.charAt(c.length-2)==="'"||c.charAt(c.length-2)==="{";return c.charAt(c.length-2)===":"&&c.charAt(c.length-1)===":"&&(d="::",p=!1),{isInstance:!0,lastKey:a,triggerKey:d,isStart:p,language:n}}function Rye(t,e,r,n,i=new wr){let s=[],o=t.split(":").length,a=t.split(":")[0];a=a.trim();let u=t.split(":|@").length,l=t.split(":|@")[u-1],c=/[^\\s"]+@+([^\\s:"@]+)/g,f=/[^\\s"]+::+([^\\s:"@]+)/g,d=!1,p=!(c.exec(t)===null&&e!=="@"),h=!(f.exec(t)===null&&e!=="::"),y=[],b=Object.keys(i.config.selectors??{}).map(v=>v.endsWith("(")?`${v})`:v).filter(v=>v.match(/:[^:]+/)&&!SE.find(w=>(typeof w=="string"?w:w.label)===`:${v}`)).map(v=>(v=v.substring(1),v.endsWith(")")?{label:v,kind:mr.CompletionItemKind.Function}:v)),g=Object.keys(i.config.selectors??{}).map(v=>v.endsWith("(")?`${v})`:v).filter(v=>v.match(/::[^:]+/)&&!N3.find(w=>(typeof w=="string"?w:w.label)===`::${v}`)).map(v=>(v=v.substring(2),v.endsWith(")")?{label:v,kind:mr.CompletionItemKind.Function}:v));return Vp.forEach(v=>{if(v.key.includes(a)){y=y.concat(v.values.filter(_=>!y.find(x=>(typeof x=="string"?x:x.label)===(typeof _=="string"?_:_.label))));let w=(0,Oye.pascalCase)(v.key[0]);if(i.config.values?.[w]){let _=Object.keys(i.config.values[w]);y=y.concat(_.filter(x=>!y.find(C=>(typeof C=="string"?C:C.label)===x)))}if(v.colorful){d=!0;let _=vye.find(x=>x.type==="color")?.values.filter(x=>!y.find(C=>(typeof C=="string"?C:C.label)===(typeof x=="string"?x:x.label)));_&&(y=y.concat(_))}}}),r==!0&&e!=="@"&&e!==":"?(s=s.concat(on(Ua,mr.CompletionItemKind.Property,":")),s=s.concat(on(Object.keys(i.config.semantics??{}),mr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Ha(a,s):s):r==!0?[]:!Ua.includes(a)&&e!==":"?(s=s.concat(on(Ua,mr.CompletionItemKind.Property,":")),s=s.concat(on(Object.keys(i.config.semantics??{}),mr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Ha(a,s):s):Ua.includes(a)&&a!==null&&h===!0?(s=s.concat(on(N3,mr.CompletionItemKind.Property)),s=s.concat(on(g,mr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ha(l,s):s):Ua.includes(a)&&a!==null&&p===!0?(s=s.concat(on(mye,mr.CompletionItemKind.Property)),s=s.concat(on(Object.keys(i.config.breakpoints??{}),mr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ha("@"+l,s):s):Object.keys(i.config.semantics??{}).includes(a)&&!Vp.find(v=>v.key.includes(a))?(s=s.concat(on(SE,mr.CompletionItemKind.Property)),s=s.concat(on(b,mr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ha(l,s):s):Ua.includes(a)&&o<=2&&!(o==2&&e===":")?(s=s.concat(on(y,mr.CompletionItemKind.Enum)),s=s.concat(on(bye,mr.CompletionItemKind.Enum).map(v=>(v.sortText="z"+v,v))),d&&(s=s.concat(Q1t(i))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ha(l,s):s):((Ua.includes(a)&&(o==2&&e===":"||o>=3)||Vp.find(v=>v.values.includes(a)))&&(s=s.concat(on(SE,mr.CompletionItemKind.Function)),s=s.concat(on(b,mr.CompletionItemKind.Property))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Ha(l,s):s)}function on(t,e,r=""){let n=[];return t.forEach(i=>{typeof i=="string"?n.push({label:i+r,kind:e,insertText:i+r,insertTextMode:2,command:r===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0}):n.push({insertText:i.label+r,insertTextMode:2,command:r===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0,...i})}),n}function Q1t(t=new wr){let e=[];return Object.keys(t.colorThemesMap).forEach(r=>{let n=t.colorThemesMap[r];e.push({label:r,documentation:Object.values(n)[0],kind:mr.CompletionItemKind.Color,sortText:`${r}`})}),e}function Ha(t,e){let r=[];if(t.split("-").length-1<=0)return e;{let n=t.split("-")[0]+"-";return e.map(i=>{i.label.includes(n)&&r.push({label:i.label,kind:i.kind,insertText:i.insertText?.substring(n.length),insertTextMode:i.insertTextMode,command:i.command})}),r}}var Pbe=ut(Abe());function Tbe(t,e,r=new wr){let n=k5(t.split(" "),r.config);return!n||n==" "?null:{contents:{language:"css",value:(0,Pbe.css_beautify)(n,{newline_between_rules:!0,end_with_newline:!0})},range:e}}var Ya=ut(Up());var FE=/[^\s:]+:\w*\(?((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)\)?|[^\s"'`]+/g;function LE(t,e,r,n){let i={IsMatch:!1,PositionIndex:0,classStartIndex:0,classEndIndex:0,classString:"",instance:{range:{start:Ya.Position.create(0,0),end:Ya.Position.create(0,0)},instanceString:""},instanceList:[]},s=r.get(t),o=s?.getText()??"",a=s?.offsetAt(e)??0,u=s?.offsetAt({line:e.line-100,character:0})??0,l=s?.offsetAt({line:e.line+100,character:0})??void 0;o=o.substring(u,l);let c,f;return i.PositionIndex=a,n.forEach(d=>{let p=new RegExp(d,"g");for(;(f=p.exec(o))!==null;)if(f.index<=a&&f.index+f[0].length-1>=a){for(i.IsMatch=!0,i.PositionIndex=a,i.classStartIndex=f.index,i.classEndIndex=f.index+f[0].length-1,i.classString=f[0];(c=FE.exec(f[2]))!==null;)i.instanceList.push({range:{start:s?.positionAt(f.index+f[1].length+c.index)??Ya.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Ya.Position.create(0,0)},instanceString:c[0]}),f.index+f[1].length+c.index<=a&&f.index+f[1].length+c.index+c[0].length>=a&&(i.instance={range:{start:s?.positionAt(f.index+f[1].length+c.index)??Ya.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Ya.Position.create(0,0)},instanceString:c[0]});return i}else if(f.index>a)break}),i}var vr=ut(Up());function IE(t){let e=t.replace("#","").match(/.{1,2}/g);return{red:parseInt(e?.[0]??"0",16),green:parseInt(e?.[1]??"0",16),blue:parseInt(e?.[2]??"0",16),alpha:parseInt(e?.[3]??"FF",16)}}async function Fbe(t,e){let r=[],n=t.textDocument.uri,i=e.get(n),s=i?.getText()??"";if(typeof i==null)return[];let o,a=/(:\s*)'#([0-9a-fA-F]{6,8})'/g,u,l=new RegExp("(?<=colors:\\s*{\\s*.*)([^}]*)}","g");for(;(o=l.exec(s))!==null;)for(;u=a.exec(o[0]);){let c={range:{start:i?.positionAt(o.index+u.index+u[1].length)??vr.Position.create(0,0),end:i?.positionAt(o.index+u.index+u[0].length-1)??vr.Position.create(0,0)},color:NE(IE(u[2]))};r.push(c)}return r}async function Lbe(t,e,r,n=new wr){let i=[],s=t.textDocument.uri,o=e.get(s),a=o?.getText()??"";if(typeof o==null)return[];let u=Object.keys(n.colorThemesMap),l;for(;(l=FE.exec(a))!==null;){let f=l.index,d=n.themeNames.find(C=>l?.[0]?.endsWith(`@${C}`))??"",p=/(?<=[:;|])(?:#?\w+(?:-[\d]{1,2})?(?:\/.?[\d]*)?(?:\([^\s)]+\))?)/g,h=/rgba?\(([\d.]+),([\d.]+),([\d.]+)(?:,([\d.]+))?\)/g,y=/hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,([\d.]+))?\)/g,b=/#([0-9a-fA-F]{6,8})/g,g,v,w,_,x;for(;(g=p.exec(l[0]))!==null;){if(v=h.exec(g[0])){let C={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:NE({red:Number(v[1]),green:Number(v[2]),blue:Number(v[3]),alpha:v[4]==null?1:Number(v[4])})};i.push(C)}else if(v=y.exec(g[0])){let C={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:NE(tkt(Number(v[1]),Number(v[2]),Number(v[3]),v[4]==null?1:Number(v[4])))};i.push(C)}else if(v=b.exec(g[0])){let C={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:NE(IE(v[1]))};i.push(C)}if(x=1,g[0].split("/").length==2&&(x=Number("0"+g[0].split("/")[1])),g[0].split("-").length==1){if(w=g[0].split("/")[0],w=w.endsWith("_")?w.replace("_",""):w,u.find(C=>C==w)){let C={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:Mbe(w,x,d,n)};i.push(C)}}else if(g[0].split("-").length==2){if(w=g[0],u.find(C=>C==w)){let C={range:{start:o?.positionAt(f+g.index)??vr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??vr.Position.create(0,0)},color:Mbe(w,x,d,n)};i.push(C)}}else if(g[0].split("-").length!=2)continue}}let c=new Set;return i=i.filter(f=>c.has(o?.offsetAt(f.range.start))?!1:(c.add(o?.offsetAt(f.range.start)),!0)),i}function Mbe(t,e=1,r="",n=new wr){try{let i=n.colorThemesMap[t],s=IE(i[r]??i[""]??Object.values(i)[0]);return{red:s.red/255,green:s.green/255,blue:s.blue/255,alpha:e}}catch{return{red:0,green:0,blue:0,alpha:1}}}function an(t){let e=t.toString(16);return e.length!==2?"0"+e:e}function ekt(t){let e=t.red,r=t.green,n=t.blue,i=t.alpha,s=Math.max(e,r,n),o=Math.min(e,r,n),a=0,u=0,l=(o+s)/2,c=s-o;if(c>0){switch(u=Math.min(l<=.5?c/(2*l):c/(2-2*l),1),s){case e:a=(r-n)/c+(r<n?6:0);break;case r:a=(n-e)/c+2;break;case n:a=(e-r)/c+4;break}a*=60,a=Math.round(a)}return{h:a,s:u,l,a:i}}function tkt(t,e,r,n){r/=100;let i=a=>(a+t/30)%12,s=e/100*Math.min(r,1-r),o=a=>r-s*Math.max(-1,Math.min(i(a)-3,Math.min(9-i(a),1)));return{red:255*o(0),green:255*o(8),blue:255*o(4),alpha:n??1}}function NE(t){return{red:t.red/255,green:t.green/255,blue:t.blue/255,alpha:t.alpha}}function Ibe(t,e=!1){let r=[],n=t.color,i=t.range,s=Math.round(n.red*255),o=Math.round(n.green*255),a=Math.round(n.blue*255),u;if(e)return n.alpha===1?u=`'#${an(s)}${an(o)}${an(a)}`:u=`'#${an(s)}${an(o)}${an(a)}${an(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)}),r;n.alpha===1?u=`rgb(${s},${o},${a})`:u=`rgba(${s},${o},${a},${n.alpha})`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)}),n.alpha===1?u=`#${an(s)}${an(o)}${an(a)}`:u=`#${an(s)}${an(o)}${an(a)}${an(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)});let l=ekt(n);return l.a===1?u=`hsl(${l.h},${Math.round(l.s*100)}%,${Math.round(l.l*100)}%)`:u=`hsla(${l.h},${Math.round(l.s*100)}%,${Math.round(l.l*100)}%,${l.a})`,r.push({label:u,textEdit:vr.TextEdit.replace(i,u)}),r}var un=(0,Ji.createConnection)(Ji.ProposedFeatures.all),Qi=new Ji.TextDocuments(Bbe.TextDocument),$E=!1,Nbe=!1,rkt=!1,Yi,oh,Wbe={languages:["html","php","javascript","typescript","javascriptreact","typescriptreact","vue","svelte","rust"],classNameMatches:["(class(?:Name)?\\s?=\\s?)((?:\"[^\"]+\")|(?:'[^']+')|(?:`[^`]+`))","(class(?:Name)?={)([^}]*)}","(?:(\\$|(?:element\\.[^\\s.`]+)`)([^`]+)`)","(classList.(?:add|remove|replace|replace|toggle)\\()([^)]*)\\)"],files:{exclude:["**/.git/**","**/node_modules/**","**/.hg/**"]},suggestions:!0,PreviewOnHovers:!0,PreviewColor:!0},zbe=Wbe,jE=new Map;un.onDidChangeConfiguration(t=>{$E?jE.clear():zbe=t.settings.languageServerExample||Wbe,Qi.all().forEach(Ube)});async function nkt(t){if(!$E)return Promise.resolve(zbe);let e=jE.get(t);e||(e=un.workspace.getConfiguration({scopeUri:t,section:"masterCSS"}),jE.set(t,e)),un.workspace.getWorkspaceFolders();let r=await un.workspace.getWorkspaceFolders(),n;if(r?.length===1?n=r[0]:n=r?.find(i=>t.includes(i.uri)),n?.uri)try{try{let s=(await new mge({cwd:(0,jbe.default)(n.uri.replace("%3A",":"))})).readConfig();console.log(s),oh=new wr(s)}catch{oh=new wr}}catch{}return e}Qi.onDidClose(t=>{jE.delete(t.document.uri)});Qi.onDidOpen(t=>{Ube(t.document)});async function Ube(t){Yi=await nkt(t.uri)}un.onInitialize(t=>{let e=t.capabilities;$E=!!(e.workspace&&e.workspace.configuration),Nbe=!!(e.workspace&&e.workspace.workspaceFolders),rkt=!!(e.textDocument&&e.textDocument.publishDiagnostics&&e.textDocument.publishDiagnostics.relatedInformation);let r={capabilities:{textDocumentSync:Ji.TextDocumentSyncKind.Incremental,completionProvider:{resolveProvider:!0,workDoneProgress:!1,triggerCharacters:[":","@","~"]},colorProvider:{},hoverProvider:!0}};return Nbe&&(r.capabilities.workspace={workspaceFolders:{supported:!0}}),r});un.onInitialized(()=>{$E&&un.client.register(Ji.DidChangeConfigurationNotification.type,void 0)});un.onCompletion(t=>{if(Yi.suggestions==!0&&BE(t.textDocument.uri)){let e=LE(t.textDocument.uri,t.position,Qi,Yi.classNameMatches).IsMatch,r=qye(t,Qi);if(r.isInstance==!0&&e==!0)return Rye(r.lastKey,r.triggerKey,r.isStart,r.language,oh)}return[]});un.onCompletionResolve(t=>t);un.onDocumentColor(async t=>{if(Yi==null)return[];if(Yi.PreviewColor==!0&&BE(t.textDocument.uri)){let e=await Lbe(t,Qi,Yi.classNameMatches,oh);return e=e.concat(await Fbe(t,Qi)),e}return[]});un.onColorPresentation(t=>{if(Yi.PreviewColor==!0&&BE(t.textDocument.uri)){let e=["(?<=colors:\\s*{\\s*.*)([^}]*)}"],r=LE(t.textDocument.uri,t.range.start,Qi,e);return Ibe(t,r.IsMatch)}return[]});un.onHover(t=>{if(Yi.PreviewOnHovers==!0&&BE(t.textDocument.uri)){let e=LE(t.textDocument.uri,t.position,Qi,Yi.classNameMatches);if(e.IsMatch)return Tbe(e.instance.instanceString,e.instance.range,oh)}return null});function BE(t){for(let e of Yi.files.exclude)if((0,$be.default)(t,e))return!1;return!0}Qi.listen(un);un.listen();
|
|
485
|
+
/*! Bundled license information:
|
|
486
|
+
|
|
487
|
+
is-extglob/index.js:
|
|
488
|
+
(*!
|
|
489
|
+
* is-extglob <https://github.com/jonschlinkert/is-extglob>
|
|
490
|
+
*
|
|
491
|
+
* Copyright (c) 2014-2016, Jon Schlinkert.
|
|
492
|
+
* Licensed under the MIT License.
|
|
493
|
+
*)
|
|
494
|
+
|
|
495
|
+
is-glob/index.js:
|
|
496
|
+
(*!
|
|
497
|
+
* is-glob <https://github.com/jonschlinkert/is-glob>
|
|
498
|
+
*
|
|
499
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
500
|
+
* Released under the MIT License.
|
|
501
|
+
*)
|
|
502
|
+
|
|
503
|
+
is-number/index.js:
|
|
504
|
+
(*!
|
|
505
|
+
* is-number <https://github.com/jonschlinkert/is-number>
|
|
506
|
+
*
|
|
507
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
508
|
+
* Released under the MIT License.
|
|
509
|
+
*)
|
|
510
|
+
|
|
511
|
+
to-regex-range/index.js:
|
|
512
|
+
(*!
|
|
513
|
+
* to-regex-range <https://github.com/micromatch/to-regex-range>
|
|
514
|
+
*
|
|
515
|
+
* Copyright (c) 2015-present, Jon Schlinkert.
|
|
516
|
+
* Released under the MIT License.
|
|
517
|
+
*)
|
|
518
|
+
|
|
519
|
+
fill-range/index.js:
|
|
520
|
+
(*!
|
|
521
|
+
* fill-range <https://github.com/jonschlinkert/fill-range>
|
|
522
|
+
*
|
|
523
|
+
* Copyright (c) 2014-present, Jon Schlinkert.
|
|
524
|
+
* Licensed under the MIT License.
|
|
525
|
+
*)
|
|
526
|
+
|
|
527
|
+
queue-microtask/index.js:
|
|
528
|
+
(*! queue-microtask. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
529
|
+
|
|
530
|
+
run-parallel/index.js:
|
|
531
|
+
(*! run-parallel. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
|
|
532
|
+
|
|
533
|
+
is-plain-object/dist/is-plain-object.js:
|
|
534
|
+
(*!
|
|
535
|
+
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
|
536
|
+
*
|
|
537
|
+
* Copyright (c) 2014-2017, Jon Schlinkert.
|
|
538
|
+
* Released under the MIT License.
|
|
539
|
+
*)
|
|
540
|
+
|
|
541
|
+
cssesc/cssesc.js:
|
|
542
|
+
(*! https://mths.be/cssesc v3.0.0 by @mathias *)
|
|
543
|
+
|
|
544
|
+
global-prefix/index.js:
|
|
545
|
+
(*!
|
|
546
|
+
* global-prefix <https://github.com/jonschlinkert/global-prefix>
|
|
547
|
+
*
|
|
548
|
+
* Copyright (c) 2015-present Jon Schlinkert.
|
|
549
|
+
* Licensed under the MIT license.
|
|
550
|
+
*)
|
|
551
|
+
|
|
552
|
+
global-modules/index.js:
|
|
553
|
+
(*!
|
|
554
|
+
* global-modules <https://github.com/jonschlinkert/global-modules>
|
|
555
|
+
*
|
|
556
|
+
* Copyright (c) 2015-2017 Jon Schlinkert.
|
|
557
|
+
* Licensed under the MIT license.
|
|
558
|
+
*)
|
|
559
|
+
|
|
560
|
+
normalize-path/index.js:
|
|
561
|
+
(*!
|
|
562
|
+
* normalize-path <https://github.com/jonschlinkert/normalize-path>
|
|
563
|
+
*
|
|
564
|
+
* Copyright (c) 2014-2018, Jon Schlinkert.
|
|
565
|
+
* Released under the MIT License.
|
|
566
|
+
*)
|
|
567
|
+
|
|
568
|
+
flatted/cjs/index.js:
|
|
569
|
+
(*! (c) 2020 Andrea Giammarchi *)
|
|
570
|
+
|
|
571
|
+
imurmurhash/imurmurhash.js:
|
|
572
|
+
(**
|
|
573
|
+
* @preserve
|
|
574
|
+
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
|
|
575
|
+
*
|
|
576
|
+
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
|
|
577
|
+
* @see http://github.com/homebrewing/brauhaus-diff
|
|
578
|
+
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
|
|
579
|
+
* @see http://github.com/garycourt/murmurhash-js
|
|
580
|
+
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
|
|
581
|
+
* @see http://sites.google.com/site/murmurhash/
|
|
582
|
+
*)
|
|
583
|
+
*/
|