@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.mjs CHANGED
@@ -1 +1,583 @@
1
- import he from"@master/css-compiler";import{createConnection as ye,TextDocuments as xe,ProposedFeatures as ve,DidChangeConfigurationNotification as we,TextDocumentSyncKind as Ce}from"vscode-languageserver/node";import ae from"@master/css";import Fe from"file-uri-to-path";import Ie from"minimatch";import{TextDocument as Se}from"vscode-languageserver-textdocument";import{CompletionItemKind as e}from"vscode-languageserver";var R=[{label:"lang()",kind:e.Function},{label:"has()",kind:e.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.Function},{label:"nth-last-child()",kind:e.Function},"first-child","last-child","only-child",{label:"nth-of-type()",kind:e.Function},{label:"nth-last-of-type()",kind:e.Function},"first-of-type","last-of-type","only-of-type","defined","first","fullscreen",{label:"host()",kind:e.Function},{label:"host-context()",kind:e.Function},{label:"is()",kind:e.Function},"left",{label:"not()",kind:e.Function},"right",{label:"where()",kind:e.Function}],B=["after","before","backdrop","cue","first-letter","first-line","file-selector-button","marker",{label:"part()",kind:e.Function},"placeholder","selection",{label:"slotted()",kind:e.Function},"resizer","search-cancel-button","search-results-button"],K=["all","print","screen","portrait","landscape","motion","reduced-motion",{label:"media()",kind:e.Function}],V=["ext","gap","ont","ovf","quotes","bottom","center","left","middle","top","right","px","py","pt","pb","pl","pr","mx","my","mt","mb","ml","mr"],X=[{label:"var()",kind:e.Function},{label:"calc()",kind:e.Function},"inherit","initial","unset"],z=[{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.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.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.Function},{label:"fit-content()",kind:e.Function},{label:"minmax()",kind:e.Function}]},{key:["grid-template-rows"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:e.Function},{label:"fit-content()",kind:e.Function},{label:"minmax()",kind:e.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.Unit,sortText:"!0"},{label:"9",kind:e.Unit,sortText:"!1"},{label:"10",kind:e.Unit,sortText:"!2"},{label:"11",kind:e.Unit,sortText:"!2"},{label:"12",kind:e.Unit,sortText:"!2"},{label:"14",kind:e.Unit,sortText:"!2"},{label:"16",kind:e.Unit,sortText:"!2"},{label:"18",kind:e.Unit,sortText:"!2"},{label:"20",kind:e.Unit,sortText:"!2"},{label:"22",kind:e.Unit,sortText:"!2"},{label:"24",kind:e.Unit,sortText:"!2"},{label:"26",kind:e.Unit,sortText:"!2"},{label:"28",kind:e.Unit,sortText:"!2"},{label:"36",kind:e.Unit,sortText:"!2"},{label:"48",kind:e.Unit,sortText:"!2"},{label:"72",kind:e.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.Function},{label:"linear-gradient()",kind:e.Function},{label:"radial-gradient()",kind:e.Function},{label:"repeating-linear-gradient()",kind:e.Function},{label:"repeating-radial-gradient()",kind:e.Function},{label:"conic-gradient()",kind:e.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.Function},{label:"linear-gradient()",kind:e.Function},{label:"image-set()",kind:e.Function},{label:"counter()",kind:e.Function},{label:"attr()",kind:e.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.Function},{label:"blur()",kind:e.Function},{label:"brightness()",kind:e.Function},{label:"contrast()",kind:e.Function},{label:"grayscale()",kind:e.Function},{label:"hue-rotate(degree)",kind:e.Function},{label:"invert()",kind:e.Function},{label:"sepia()",kind:e.Function},{label:"saturate()",kind:e.Function},{label:"opacity()",kind:e.Function},{label:"drop-shadow()",kind:e.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.Function},{label:"linear-gradient()",kind:e.Function},{label:"radial-gradient()",kind:e.Function},{label:"repeating-linear-gradient()",kind:e.Function},{label:"repeating-radial-gradient()",kind:e.Function},{label:"conic-gradient()",kind:e.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.Function},{label:"min()",kind:e.Function},{label:"calc()",kind:e.Function},{label:"clamp()",kind:e.Function}]},{key:["shape-outside","shape"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box",{label:"inset()",kind:e.Function},{label:"circle()",kind:e.Function},{label:"ellipse()",kind:e.Function},{label:"polygon()",kind:e.Function},{label:"url()",kind:e.Function},{label:"linear-gradient()",kind:e.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.Function},{label:"circle()",kind:e.Function},{label:"ellipse()",kind:e.Function},{label:"polygon()",kind:e.Function},{label:"path()",kind:e.Function},{label:"url()",kind:e.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.Function},{label:"cubic-bezier(,,,)",kind:e.Function},{label:"frames()",kind:e.Function}]},{key:["transform"],colorful:!1,values:[{label:"translate()",kind:e.Function},{label:"translate3d()",kind:e.Function},{label:"translateX()",kind:e.Function},{label:"translateY()",kind:e.Function},{label:"translateZ()",kind:e.Function},{label:"scale()",kind:e.Function},{label:"scale3d()",kind:e.Function},{label:"scaleX()",kind:e.Function},{label:"scaleY()",kind:e.Function},{label:"scaleZ()",kind:e.Function},{label:"skew()",kind:e.Function},{label:"skewX()",kind:e.Function},{label:"skewY()",kind:e.Function},{label:"rotate()",kind:e.Function},{label:"rotate3d()",kind:e.Function},{label:"rotateX()",kind:e.Function},{label:"rotateY()",kind:e.Function},{label:"rotateZ()",kind:e.Function},{label:"perspective()",kind:e.Function},{label:"matrix()",kind:e.Function},{label:"matrix3d()",kind:e.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.Function},{label:"cubic-bezier(,,,)",kind:e.Function},{label:"frames()",kind:e.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.Function},{label:"blur()",kind:e.Function},{label:"brightness()",kind:e.Function},{label:"contrast()",kind:e.Function},{label:"grayscale()",kind:e.Function},{label:"hue-rotate(degree)",kind:e.Function},{label:"invert()",kind:e.Function},{label:"sepia()",kind:e.Function},{label:"saturate()",kind:e.Function},{label:"opacity()",kind:e.Function},{label:"drop-shadow()",kind:e.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.Function},{label:"blur()",kind:e.Function},{label:"brightness()",kind:e.Function},{label:"contrast()",kind:e.Function},{label:"drop-shadow()",kind:e.Function},{label:"grayscale()",kind:e.Function},{label:"hue-rotate(degree)",kind:e.Function},{label:"invert()",kind:e.Function},{label:"opacity()",kind:e.Function},{label:"saturate()",kind:e.Function},{label:"sepia()",kind:e.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:[]}],Y=[{type:"color",values:["#",{label:"rgb()",kind:e.Function},{label:"hsl()",kind:e.Function}]}];import{CompletionItemKind as k}from"vscode-languageserver/node";import Z from"@master/css";import{pascalCase as fe}from"pascal-case";var E=[];E=E.concat(V);z.forEach(t=>{E=E.concat(t.key)});var P=[...new Set(E)];function Q(t,l){let a=t.textDocument.uri,r=a.substring(a.lastIndexOf(".")+1),o=t.position,n=/(?:[^"{'\s])+(?=>\s|\b)/g,u,i="",d=l.get(a),m=d?.getText({start:{line:o.line,character:0},end:{line:o.line,character:o.character}}),c=m??"";c=c.trim();let f=d?.getText({start:{line:0,character:0},end:{line:o.line,character:o.character}});if(c.match(n)===null)return{isInstance:!1,lastKey:"",triggerKey:"",isStart:!1,language:r};for(;(u=n.exec(c))!==null;)i=u[0];let F=c.charAt(c.length-1),M=o.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="::",M=!1),{isInstance:!0,lastKey:i,triggerKey:F,isStart:M,language:r}}function J(t,l,a,r,o=new Z){let n=[],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,M=!(c.exec(t)===null&&l!=="@"),_=!(f.exec(t)===null&&l!=="::"),w=[],j=Object.keys(o.config.selectors??{}).map(s=>s.endsWith("(")?`${s})`:s).filter(s=>s.match(/:[^:]+/)&&!R.find(g=>(typeof g=="string"?g:g.label)===`:${s}`)).map(s=>(s=s.substring(1),s.endsWith(")")?{label:s,kind:k.Function}:s)),b=Object.keys(o.config.selectors??{}).map(s=>s.endsWith("(")?`${s})`:s).filter(s=>s.match(/::[^:]+/)&&!B.find(g=>(typeof g=="string"?g:g.label)===`::${s}`)).map(s=>(s=s.substring(2),s.endsWith(")")?{label:s,kind:k.Function}:s));return z.forEach(s=>{if(s.key.includes(i)){w=w.concat(s.values.filter(T=>!w.find(h=>(typeof h=="string"?h:h.label)===(typeof T=="string"?T:T.label))));let g=fe(s.key[0]);if(o.config.values?.[g]){let T=Object.keys(o.config.values[g]);w=w.concat(T.filter(h=>!w.find(p=>(typeof p=="string"?p:p.label)===h)))}if(s.colorful){F=!0;let T=Y.find(h=>h.type==="color")?.values.filter(h=>!w.find(p=>(typeof p=="string"?p:p.label)===(typeof h=="string"?h:h.label)));T&&(w=w.concat(T))}}}),a==!0&&l!=="@"&&l!==":"?(n=n.concat(y(P,k.Property,":")),n=n.concat(y(Object.keys(o.config.semantics??{}),k.Property)),r=="tsx"||r=="vue"||r=="jsx"?A(i,n):n):a==!0?[]:!P.includes(i)&&l!==":"?(n=n.concat(y(P,k.Property,":")),n=n.concat(y(Object.keys(o.config.semantics??{}),k.Property)),r=="tsx"||r=="vue"||r=="jsx"?A(i,n):n):P.includes(i)&&i!==null&&_===!0?(n=n.concat(y(B,k.Property)),n=n.concat(y(b,k.Property)),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?A(m,n):n):P.includes(i)&&i!==null&&M===!0?(n=n.concat(y(K,k.Property)),n=n.concat(y(Object.keys(o.config.breakpoints??{}),k.Property)),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?A("@"+m,n):n):Object.keys(o.config.semantics??{}).includes(i)&&!z.find(s=>s.key.includes(i))?(n=n.concat(y(R,k.Property)),n=n.concat(y(j,k.Property)),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?A(m,n):n):P.includes(i)&&u<=2&&!(u==2&&l===":")?(n=n.concat(y(w,k.Enum)),n=n.concat(y(X,k.Enum).map(s=>(s.sortText="z"+s,s))),F&&(n=n.concat(de(o))),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?A(m,n):n):((P.includes(i)&&(u==2&&l===":"||u>=3)||z.find(s=>s.values.includes(i)))&&(n=n.concat(y(R,k.Function)),n=n.concat(y(j,k.Property))),(r=="tsx"||r=="vue"||r=="jsx")&&l!=="@"&&l!==":"?A(m,n):n)}function y(t,l,a=""){let r=[];return t.forEach(o=>{typeof o=="string"?r.push({label:o+a,kind:l,insertText:o+a,insertTextMode:2,command:a===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0}):r.push({insertText:o.label+a,insertTextMode:2,command:a===":"?{title:"triggerSuggest",command:"editor.action.triggerSuggest"}:void 0,...o})}),r}function de(t=new Z){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.Color,sortText:`${a}`})}),l}function A(t,l){let a=[];if(t.split("-").length-1<=0)return l;{let r=t.split("-")[0]+"-";return l.map(o=>{o.label.includes(r)&&a.push({label:o.label,kind:o.kind,insertText:o.insertText?.substring(r.length),insertTextMode:o.insertTextMode,command:o.command})}),a}}import me,{render as be}from"@master/css";import{css_beautify as pe}from"js-beautify";function ee(t,l,a=new me){let r=be(t.split(" "),a.config);return!r||r==" "?null:{contents:{language:"css",value:pe(r,{newline_between_rules:!0,end_with_newline:!0})},range:l}}import{Position as D}from"vscode-languageserver/node";var $=/[^\s:]+:\w*\(?((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)\)?|[^\s"'`]+/g;function N(t,l,a,r){let o={IsMatch:!1,PositionIndex:0,classStartIndex:0,classEndIndex:0,classString:"",instance:{range:{start:D.create(0,0),end:D.create(0,0)},instanceString:""},instanceList:[]},n=a.get(t),u=n?.getText()??"",i=n?.offsetAt(l)??0,d=n?.offsetAt({line:l.line-100,character:0})??0,m=n?.offsetAt({line:l.line+100,character:0})??void 0;u=u.substring(d,m);let c,f;return o.PositionIndex=i,r.forEach(F=>{let M=new RegExp(F,"g");for(;(f=M.exec(u))!==null;)if(f.index<=i&&f.index+f[0].length-1>=i){for(o.IsMatch=!0,o.PositionIndex=i,o.classStartIndex=f.index,o.classEndIndex=f.index+f[0].length-1,o.classString=f[0];(c=$.exec(f[2]))!==null;)o.instanceList.push({range:{start:n?.positionAt(f.index+f[1].length+c.index)??D.create(0,0),end:n?.positionAt(f.index+f[1].length+c.index+c[0].length)??D.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&&(o.instance={range:{start:n?.positionAt(f.index+f[1].length+c.index)??D.create(0,0),end:n?.positionAt(f.index+f[1].length+c.index+c[0].length)??D.create(0,0)},instanceString:c[0]});return o}else if(f.index>i)break}),o}import{Position as C,TextEdit as G}from"vscode-languageserver/node";import le from"@master/css";function U(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 ne(t,l){let a=[],r=t.textDocument.uri,o=l.get(r),n=o?.getText()??"";if(typeof o==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(n))!==null;)for(;d=i.exec(u[0]);){let c={range:{start:o?.positionAt(u.index+d.index+d[1].length)??C.create(0,0),end:o?.positionAt(u.index+d.index+d[0].length-1)??C.create(0,0)},color:H(U(d[2]))};a.push(c)}return a}async function oe(t,l,a,r=new le){let o=[],n=t.textDocument.uri,u=l.get(n),i=u?.getText()??"";if(typeof u==null)return[];let d=Object.keys(r.colorThemesMap),m;for(;(m=$.exec(i))!==null;){let f=m.index,F=r.themeNames.find(p=>m?.[0]?.endsWith(`@${p}`))??"",M=/(?<=[:;|])(?:#?\w+(?:-[\d]{1,2})?(?:\/.?[\d]*)?(?:\([^\s)]+\))?)/g,_=/rgba?\(([\d.]+),([\d.]+),([\d.]+)(?:,([\d.]+))?\)/g,w=/hsla?\(([\d.]+),([\d.]+)%,([\d.]+)%(?:,([\d.]+))?\)/g,j=/#([0-9a-fA-F]{6,8})/g,b,s,g,T,h;for(;(b=M.exec(m[0]))!==null;){if(s=_.exec(b[0])){let p={range:{start:u?.positionAt(f+b.index)??C.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??C.create(0,0)},color:H({red:Number(s[1]),green:Number(s[2]),blue:Number(s[3]),alpha:s[4]==null?1:Number(s[4])})};o.push(p)}else if(s=w.exec(b[0])){let p={range:{start:u?.positionAt(f+b.index)??C.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??C.create(0,0)},color:H(ke(Number(s[1]),Number(s[2]),Number(s[3]),s[4]==null?1:Number(s[4])))};o.push(p)}else if(s=j.exec(b[0])){let p={range:{start:u?.positionAt(f+b.index)??C.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??C.create(0,0)},color:H(U(s[1]))};o.push(p)}if(h=1,b[0].split("/").length==2&&(h=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)??C.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??C.create(0,0)},color:te(g,h,F,r)};o.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)??C.create(0,0),end:u?.positionAt(f+b.index+b[0].length)??C.create(0,0)},color:te(g,h,F,r)};o.push(p)}}else if(b[0].split("-").length!=2)continue}}let c=new Set;return o=o.filter(f=>c.has(u?.offsetAt(f.range.start))?!1:(c.add(u?.offsetAt(f.range.start)),!0)),o}function te(t,l=1,a="",r=new le){try{let o=r.colorThemesMap[t],n=U(o[a]??o[""]??Object.values(o)[0]);return{red:n.red/255,green:n.green/255,blue:n.blue/255,alpha:l}}catch{return{red:0,green:0,blue:0,alpha:1}}}function x(t){let l=t.toString(16);return l.length!==2?"0"+l:l}function ge(t){let l=t.red,a=t.green,r=t.blue,o=t.alpha,n=Math.max(l,a,r),u=Math.min(l,a,r),i=0,d=0,m=(u+n)/2,c=n-u;if(c>0){switch(d=Math.min(m<=.5?c/(2*m):c/(2-2*m),1),n){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:o}}function ke(t,l,a,r){a/=100;let o=i=>(i+t/30)%12,n=l/100*Math.min(a,1-a),u=i=>a-n*Math.max(-1,Math.min(o(i)-3,Math.min(9-o(i),1)));return{red:255*u(0),green:255*u(8),blue:255*u(4),alpha:r??1}}function H(t){return{red:t.red/255,green:t.green/255,blue:t.blue/255,alpha:t.alpha}}function re(t,l=!1){let a=[],r=t.color,o=t.range,n=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=`'#${x(n)}${x(u)}${x(i)}`:d=`'#${x(n)}${x(u)}${x(i)}${x(Math.round(r.alpha*255))}`,a.push({label:d,textEdit:G.replace(o,d)}),a;r.alpha===1?d=`rgb(${n},${u},${i})`:d=`rgba(${n},${u},${i},${r.alpha})`,a.push({label:d,textEdit:G.replace(o,d)}),r.alpha===1?d=`#${x(n)}${x(u)}${x(i)}`:d=`#${x(n)}${x(u)}${x(i)}${x(Math.round(r.alpha*255))}`,a.push({label:d,textEdit:G.replace(o,d)});let m=ge(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:G.replace(o,d)}),a}var v=ye(ve.all),S=new xe(Se),W=!1,se=!1,Te=!1,I,O,ie={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},ce=ie,L=new Map;v.onDidChangeConfiguration(t=>{W?L.clear():ce=t.settings.languageServerExample||ie,S.all().forEach(ue)});async function Me(t){if(!W)return Promise.resolve(ce);let l=L.get(t);l||(l=v.workspace.getConfiguration({scopeUri:t,section:"masterCSS"}),L.set(t,l)),v.workspace.getWorkspaceFolders();let a=await v.workspace.getWorkspaceFolders(),r;if(a?.length===1?r=a[0]:r=a?.find(o=>t.includes(o.uri)),r?.uri)try{try{let o=await new he({cwd:Fe(r.uri.replace("%3A",":"))}).init();O=new ae(o.css.config)}catch{O=new ae}}catch{}return l}S.onDidClose(t=>{L.delete(t.document.uri)});S.onDidOpen(t=>{ue(t.document)});async function ue(t){I=await Me(t.uri)}v.onInitialize(t=>{let l=t.capabilities;W=!!(l.workspace&&l.workspace.configuration),se=!!(l.workspace&&l.workspace.workspaceFolders),Te=!!(l.textDocument&&l.textDocument.publishDiagnostics&&l.textDocument.publishDiagnostics.relatedInformation);let a={capabilities:{textDocumentSync:Ce.Incremental,completionProvider:{resolveProvider:!0,workDoneProgress:!1,triggerCharacters:[":","@","~"]},colorProvider:{},hoverProvider:!0}};return se&&(a.capabilities.workspace={workspaceFolders:{supported:!0}}),a});v.onInitialized(()=>{W&&v.client.register(we.type,void 0)});v.onCompletion(t=>{if(I.suggestions==!0&&q(t.textDocument.uri)){let l=N(t.textDocument.uri,t.position,S,I.classNameMatches).IsMatch,a=Q(t,S);if(a.isInstance==!0&&l==!0)return J(a.lastKey,a.triggerKey,a.isStart,a.language,O)}return[]});v.onCompletionResolve(t=>t);v.onDocumentColor(async t=>{if(I==null)return[];if(I.PreviewColor==!0&&q(t.textDocument.uri)){let l=await oe(t,S,I.classNameMatches,O);return l=l.concat(await ne(t,S)),l}return[]});v.onColorPresentation(t=>{if(I.PreviewColor==!0&&q(t.textDocument.uri)){let l=["(?<=colors:\\s*{\\s*.*)([^}]*)}"],a=N(t.textDocument.uri,t.range.start,S,l);return re(t,a.IsMatch)}return[]});v.onHover(t=>{if(I.PreviewOnHovers==!0&&q(t.textDocument.uri)){let l=N(t.textDocument.uri,t.position,S,I.classNameMatches);if(l.IsMatch)return ee(l.instance.instanceString,l.instance.range,O)}return null});function q(t){for(let l of I.files.exclude)if(Ie(t,l))return!1;return!0}S.listen(v);v.listen();
1
+ var zbe=Object.create;var dh=Object.defineProperty;var Ube=Object.getOwnPropertyDescriptor;var Hbe=Object.getOwnPropertyNames;var Vbe=Object.getPrototypeOf,Gbe=Object.prototype.hasOwnProperty;var H=(t=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(t,{get:(e,r)=>(typeof require<"u"?require:e)[r]}):t)(function(t){if(typeof require<"u")return require.apply(this,arguments);throw new Error('Dynamic require of "'+t+'" is not supported')});var Kbe=(t,e)=>()=>(t&&(e=t(t=0)),e);var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),Ybe=(t,e)=>{for(var r in e)dh(t,r,{get:e[r],enumerable:!0})},lN=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of Hbe(e))!Gbe.call(t,i)&&i!==r&&dh(t,i,{get:()=>e[i],enumerable:!(n=Ube(e,i))||n.enumerable});return t};var Kt=(t,e,r)=>(r=t!=null?zbe(Vbe(t)):{},lN(e||!t||!t.__esModule?dh(r,"default",{value:t,enumerable:!0}):r,t)),Qbe=t=>lN(dh({},"__esModule",{value:!0}),t);var hh=m(pN=>{var zE="2.0.1",cN,ph,fN,HE,VE,Xa,nc,rc,UE,Za,Ar,dN=[].slice,Jbe=[].indexOf||function(t){for(var e=0,r=this.length;e<r;e++)if(e in this&&this[e]===t)return e;return-1},Xbe={}.hasOwnProperty;nc=H("path");fN=function(t){return typeof t=="function"};HE=function(t){return typeof t=="string"||!!t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object String]"};Ar=pN;Ar.VERSION=typeof zE<"u"&&zE!==null?zE:"NO-VERSION";Za=function(t){return t=t.replace(/\\/g,"/"),t=t.replace(/(?<!^)\/+/g,"/"),t};for(rc in nc)UE=nc[rc],fN(UE)?Ar[rc]=function(t){return function(){var e,r;return e=1<=arguments.length?dN.call(arguments,0):[],e=e.map(function(n){return HE(n)?Za(n):n}),r=nc[t].apply(nc,e),HE(r)?Za(r):r}}(rc):Ar[rc]=UE;Ar.sep="/";ph={toUnix:Za,normalizeSafe:function(t){var e;return t=Za(t),e=Ar.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=Ar.normalizeSafe(t),t.endsWith("/")?t.slice(0,+(t.length-2)+1||9e9):t},joinSafe:function(){var t,e,r;return t=1<=arguments.length?dN.call(arguments,0):[],r=Ar.join.apply(null,t),t.length>0&&(e=Za(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=Ar.extname(t),VE(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,Ar.extname(t)===e?Ar.trimExt(t,[],e.length):t):t},changeExt:function(t,e,r,n){return n==null&&(n=7),Ar.trimExt(t,r,n)+(e?e[0]==="."?e:"."+e:"")},defaultExt:function(t,e,r,n){var i;return n==null&&(n=7),i=Ar.extname(t),VE(i,r,n)?t:Ar.addExt(t,e)}};VE=function(t,e,r){return e==null&&(e=[]),t&&t.length<=r&&Jbe.call(e.map(function(n){return(n&&n[0]!=="."?".":"")+n}),t)<0};for(Xa in ph)if(Xbe.call(ph,Xa)){if(cN=ph[Xa],Ar[Xa]!==void 0)throw new Error("path."+Xa+" already exists.");Ar[Xa]=cN}});var x5=m(tu=>{"use strict";Object.defineProperty(tu,"__esModule",{value:!0});tu.splitWhen=tu.flatten=void 0;function M0e(t){return t.reduce((e,r)=>[].concat(e,r),[])}tu.flatten=M0e;function F0e(t,e){let r=[[]],n=0;for(let i of t)e(i)?(n++,r[n]=[]):r[n].push(i);return r}tu.splitWhen=F0e});var S5=m(dg=>{"use strict";Object.defineProperty(dg,"__esModule",{value:!0});dg.isEnoentCodeError=void 0;function L0e(t){return t.code==="ENOENT"}dg.isEnoentCodeError=L0e});var k5=m(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});pg.createDirentFromStats=void 0;var sO=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 I0e(t,e){return new sO(t,e)}pg.createDirentFromStats=I0e});var E5=m(wi=>{"use strict";Object.defineProperty(wi,"__esModule",{value:!0});wi.removeLeadingDotSegment=wi.escape=wi.makeAbsolute=wi.unixify=void 0;var N0e=H("path"),j0e=2,$0e=/(\\?)([()*?[\]{|}]|^!|[!+@](?=\())/g;function B0e(t){return t.replace(/\\/g,"/")}wi.unixify=B0e;function W0e(t,e){return N0e.resolve(t,e)}wi.makeAbsolute=W0e;function z0e(t){return t.replace($0e,"\\$2")}wi.escape=z0e;function U0e(t){if(t.charAt(0)==="."){let e=t.charAt(1);if(e==="/"||e==="\\")return t.slice(j0e)}return t}wi.removeLeadingDotSegment=U0e});var D5=m((YDt,C5)=>{C5.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 R5=m((QDt,q5)=>{var H0e=D5(),O5={"{":"}","(":")","[":"]"},V0e=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=O5[a];if(u){var l=t.indexOf(u,e);l!==-1&&(e=l+1)}if(t[e]==="!")return!0}else e++}return!1},G0e=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=O5[r];if(n){var i=t.indexOf(n,e);i!==-1&&(e=i+1)}if(t[e]==="!")return!0}else e++}return!1};q5.exports=function(e,r){if(typeof e!="string"||e==="")return!1;if(H0e(e))return!0;var n=V0e;return r&&r.strict===!1&&(n=G0e),n(e)}});var P5=m((JDt,A5)=>{"use strict";var K0e=R5(),Y0e=H("path").posix.dirname,Q0e=H("os").platform()==="win32",oO="/",J0e=/\\/g,X0e=/[\{\[].*[\}\]]$/,Z0e=/(^|[^\\])([\{\[]|\([^\)]+$)/,eve=/\\([\!\*\?\|\[\]\(\)\{\}])/g;A5.exports=function(e,r){var n=Object.assign({flipBackslashes:!0},r);n.flipBackslashes&&Q0e&&e.indexOf(oO)<0&&(e=e.replace(J0e,oO)),X0e.test(e)&&(e+=oO),e+="a";do e=Y0e(e);while(K0e(e)||Z0e.test(e));return e.replace(eve,"$1")}});var hg=m(Pn=>{"use strict";Pn.isInteger=t=>typeof t=="number"?Number.isInteger(t):typeof t=="string"&&t.trim()!==""?Number.isInteger(Number(t)):!1;Pn.find=(t,e)=>t.nodes.find(r=>r.type===e);Pn.exceedsLimit=(t,e,r=1,n)=>n===!1||!Pn.isInteger(t)||!Pn.isInteger(e)?!1:(Number(e)-Number(t))/Number(r)>=n;Pn.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)};Pn.encloseBrace=t=>t.type!=="brace"||t.commas>>0+t.ranges>>0?!1:(t.invalid=!0,!0);Pn.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;Pn.isOpenOrClose=t=>t.type==="open"||t.type==="close"?!0:t.open===!0||t.close===!0;Pn.reduce=t=>t.reduce((e,r)=>(r.type==="text"&&e.push(r.value),r.type==="range"&&(r.type="text"),e),[]);Pn.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 gg=m((ZDt,M5)=>{"use strict";var T5=hg();M5.exports=(t,e={})=>{let r=(n,i={})=>{let s=e.escapeInvalid&&T5.isInvalidBrace(i),o=n.invalid===!0&&e.escapeInvalid===!0,a="";if(n.value)return(s||o)&&T5.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 L5=m((eOt,F5)=>{"use strict";F5.exports=function(t){return typeof t=="number"?t-t===0:typeof t=="string"&&t.trim()!==""?Number.isFinite?Number.isFinite(+t):isFinite(+t):!1}});var H5=m((tOt,U5)=>{"use strict";var I5=L5(),Co=(t,e,r)=>{if(I5(t)===!1)throw new TypeError("toRegexRange: expected the first argument to be a number");if(e===void 0||t===e)return String(t);if(I5(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(Co.cache.hasOwnProperty(u))return Co.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=z5(t)||z5(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=N5(y,Math.abs(l),d,n),l=d.a=0}return c>=0&&(p=N5(l,c,d,n)),d.negatives=h,d.positives=p,d.result=tve(h,p,n),n.capture===!0?d.result=`(${d.result})`:n.wrap!==!1&&p.length+h.length>1&&(d.result=`(?:${d.result})`),Co.cache[u]=d,d.result};function tve(t,e,r){let n=aO(t,e,"-",!1,r)||[],i=aO(e,t,"",!1,r)||[],s=aO(t,e,"-?",!0,r)||[];return n.concat(s).concat(i).join("|")}function rve(t,e){let r=1,n=1,i=$5(t,r),s=new Set([e]);for(;t<=i&&i<=e;)s.add(i),r+=1,i=$5(t,r);for(i=B5(e+1,n)-1;t<i&&i<=e;)s.add(i),n+=1,i=B5(e+1,n)-1;return s=[...s],s.sort(sve),s}function nve(t,e,r){if(t===e)return{pattern:t,count:[],digits:0};let n=ive(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+=ove(u,l,r):o++}return o&&(s+=r.shorthand===!0?"\\d":"[0-9]"),{pattern:s,count:[o],digits:i}}function N5(t,e,r,n){let i=rve(t,e),s=[],o=t,a;for(let u=0;u<i.length;u++){let l=i[u],c=nve(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+W5(a.count),o=l+1;continue}r.isPadded&&(f=ave(l,r,n)),c.string=f+c.pattern+W5(c.count),s.push(c),o=l+1,a=c}return s}function aO(t,e,r,n,i){let s=[];for(let o of t){let{string:a}=o;!n&&!j5(e,"string",a)&&s.push(r+a),n&&j5(e,"string",a)&&s.push(r+a)}return s}function ive(t,e){let r=[];for(let n=0;n<t.length;n++)r.push([t[n],e[n]]);return r}function sve(t,e){return t>e?1:e>t?-1:0}function j5(t,e,r){return t.some(n=>n[e]===r)}function $5(t,e){return Number(String(t).slice(0,-e)+"9".repeat(e))}function B5(t,e){return t-t%Math.pow(10,e)}function W5(t){let[e=0,r=""]=t;return r||e>1?`{${e+(r?","+r:"")}}`:""}function ove(t,e,r){return`[${t}${e-t===1?"":"-"}${e}]`}function z5(t){return/^-?(0+)\d/.test(t)}function ave(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}}`}}Co.cache={};Co.clearCache=()=>Co.cache={};U5.exports=Co});var cO=m((rOt,Z5)=>{"use strict";var uve=H("util"),K5=H5(),V5=t=>t!==null&&typeof t=="object"&&!Array.isArray(t),lve=t=>e=>t===!0?Number(e):String(e),uO=t=>typeof t=="number"||typeof t=="string"&&t!=="",mc=t=>Number.isInteger(+t),lO=t=>{let e=`${t}`,r=-1;if(e[0]==="-"&&(e=e.slice(1)),e==="0")return!1;for(;e[++r]==="0";);return r>0},cve=(t,e,r)=>typeof t=="string"||typeof e=="string"?!0:r.stringify===!0,fve=(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},G5=(t,e)=>{let r=t[0]==="-"?"-":"";for(r&&(t=t.slice(1),e--);t.length<e;)t="0"+t;return r?"-"+t:t},dve=(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},Y5=(t,e,r,n)=>{if(r)return K5(t,e,{wrap:!1,...n});let i=String.fromCharCode(t);if(t===e)return i;let s=String.fromCharCode(e);return`[${i}-${s}]`},Q5=(t,e,r)=>{if(Array.isArray(t)){let n=r.wrap===!0,i=r.capture?"":"?:";return n?`(${i}${t.join("|")})`:t.join("|")}return K5(t,e,r)},J5=(...t)=>new RangeError("Invalid range arguments: "+uve.inspect(...t)),X5=(t,e,r)=>{if(r.strictRanges===!0)throw J5([t,e]);return[]},pve=(t,e)=>{if(e.strictRanges===!0)throw new TypeError(`Expected step "${t}" to be a number`);return[]},hve=(t,e,r=1,n={})=>{let i=Number(t),s=Number(e);if(!Number.isInteger(i)||!Number.isInteger(s)){if(n.strictRanges===!0)throw J5([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=lO(a)||lO(u)||lO(l),f=c?Math.max(a.length,u.length,l.length):0,d=c===!1&&cve(t,e,n)===!1,p=n.transform||lve(d);if(n.toRegex&&r===1)return Y5(G5(t,f),G5(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(fve(p(i,g),f,d)),i=o?i-r:i+r,g++;return n.toRegex===!0?r>1?dve(h,n):Q5(b,null,{wrap:!1,...n}):b},gve=(t,e,r=1,n={})=>{if(!mc(t)&&t.length>1||!mc(e)&&e.length>1)return X5(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 Y5(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?Q5(c,null,{wrap:!1,options:n}):c},mg=(t,e,r,n={})=>{if(e==null&&uO(t))return[t];if(!uO(t)||!uO(e))return X5(t,e,n);if(typeof r=="function")return mg(t,e,1,{transform:r});if(V5(r))return mg(t,e,0,r);let i={...n};return i.capture===!0&&(i.wrap=!0),r=r||i.step||1,mc(r)?mc(t)&&mc(e)?hve(t,e,r,i):gve(t,e,Math.max(Math.abs(r),1),i):r!=null&&!V5(r)?pve(r,i):mg(t,e,1,r)};Z5.exports=mg});var rj=m((nOt,tj)=>{"use strict";var mve=cO(),ej=hg(),yve=(t,e={})=>{let r=(n,i={})=>{let s=ej.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=ej.reduce(n.nodes),f=mve(...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)};tj.exports=yve});var sj=m((iOt,ij)=>{"use strict";var bve=cO(),nj=gg(),ru=hg(),Do=(t="",e="",r=!1)=>{let n=[];if(t=[].concat(t),e=[].concat(e),!e.length)return t;if(!t.length)return r?ru.flatten(e).map(i=>`{${i}}`):e;for(let i of t)if(Array.isArray(i))for(let s of i)n.push(Do(s,e,r));else for(let s of e)r===!0&&typeof s=="string"&&(s=`{${s}}`),n.push(Array.isArray(s)?Do(i,s,r):i+s);return ru.flatten(n)},vve=(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(Do(a.pop(),nj(i,e)));return}if(i.type==="brace"&&i.invalid!==!0&&i.nodes.length===2){a.push(Do(a.pop(),["{}"]));return}if(i.nodes&&i.ranges>0){let f=ru.reduce(i.nodes);if(ru.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=bve(...f,e);d.length===0&&(d=nj(i,e)),a.push(Do(a.pop(),d)),i.nodes=[];return}let u=ru.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(Do(a.pop(),l,u));continue}if(d.value&&d.type!=="open"){l.push(Do(l.pop(),d.value));continue}d.nodes&&n(d,i)}return l};return ru.flatten(n(t))};ij.exports=vve});var aj=m((sOt,oj)=>{"use strict";oj.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 dj=m((oOt,fj)=>{"use strict";var wve=gg(),{MAX_LENGTH:uj,CHAR_BACKSLASH:fO,CHAR_BACKTICK:_ve,CHAR_COMMA:xve,CHAR_DOT:Sve,CHAR_LEFT_PARENTHESES:kve,CHAR_RIGHT_PARENTHESES:Eve,CHAR_LEFT_CURLY_BRACE:Cve,CHAR_RIGHT_CURLY_BRACE:Dve,CHAR_LEFT_SQUARE_BRACKET:lj,CHAR_RIGHT_SQUARE_BRACKET:cj,CHAR_DOUBLE_QUOTE:Ove,CHAR_SINGLE_QUOTE:qve,CHAR_NO_BREAK_SPACE:Rve,CHAR_ZERO_WIDTH_NOBREAK_SPACE:Ave}=aj(),Pve=(t,e={})=>{if(typeof t!="string")throw new TypeError("Expected a string");let r=e||{},n=typeof r.maxLength=="number"?Math.min(uj,r.maxLength):uj;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===Ave||d===Rve)){if(d===fO){y({type:"text",value:(e.keepEscaping?d:"")+h()});continue}if(d===cj){y({type:"text",value:"\\"+d});continue}if(d===lj){u++;let b=!0,g;for(;c<l&&(g=h());){if(d+=g,g===lj){u++;continue}if(g===fO){d+=h();continue}if(g===cj&&(u--,u===0))break}y({type:"text",value:d});continue}if(d===kve){o=y({type:"paren",nodes:[]}),s.push(o),y({type:"text",value:d});continue}if(d===Eve){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===Ove||d===qve||d===_ve){let b=d,g;for(e.keepQuotes!==!0&&(d="");c<l&&(g=h());){if(g===fO){d+=g+h();continue}if(g===b){e.keepQuotes===!0&&(d+=g);break}d+=g}y({type:"text",value:d});continue}if(d===Cve){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===Dve){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===xve&&f>0){if(o.ranges>0){o.ranges=0;let b=o.nodes.shift();o.nodes=[b,{type:"text",value:wve(o)}]}y({type:"comma",value:d}),o.commas++;continue}if(d===Sve&&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};fj.exports=Pve});var gj=m((aOt,hj)=>{"use strict";var pj=gg(),Tve=rj(),Mve=sj(),Fve=dj(),cn=(t,e={})=>{let r=[];if(Array.isArray(t))for(let n of t){let i=cn.create(n,e);Array.isArray(i)?r.push(...i):r.push(i)}else r=[].concat(cn.create(t,e));return e&&e.expand===!0&&e.nodupes===!0&&(r=[...new Set(r)]),r};cn.parse=(t,e={})=>Fve(t,e);cn.stringify=(t,e={})=>pj(typeof t=="string"?cn.parse(t,e):t,e);cn.compile=(t,e={})=>(typeof t=="string"&&(t=cn.parse(t,e)),Tve(t,e));cn.expand=(t,e={})=>{typeof t=="string"&&(t=cn.parse(t,e));let r=Mve(t,e);return e.noempty===!0&&(r=r.filter(Boolean)),e.nodupes===!0&&(r=[...new Set(r)]),r};cn.create=(t,e={})=>t===""||t.length<3?[t]:e.expand!==!0?cn.compile(t,e):cn.expand(t,e);hj.exports=cn});var yc=m((uOt,wj)=>{"use strict";var Lve=H("path"),_i="\\\\/",mj=`[^${_i}]`,Zi="\\.",Ive="\\+",Nve="\\?",yg="\\/",jve="(?=.)",yj="[^/]",dO=`(?:${yg}|$)`,bj=`(?:^|${yg})`,pO=`${Zi}{1,2}${dO}`,$ve=`(?!${Zi})`,Bve=`(?!${bj}${pO})`,Wve=`(?!${Zi}{0,1}${dO})`,zve=`(?!${pO})`,Uve=`[^.${yg}]`,Hve=`${yj}*?`,vj={DOT_LITERAL:Zi,PLUS_LITERAL:Ive,QMARK_LITERAL:Nve,SLASH_LITERAL:yg,ONE_CHAR:jve,QMARK:yj,END_ANCHOR:dO,DOTS_SLASH:pO,NO_DOT:$ve,NO_DOTS:Bve,NO_DOT_SLASH:Wve,NO_DOTS_SLASH:zve,QMARK_NO_DOT:Uve,STAR:Hve,START_ANCHOR:bj},Vve={...vj,SLASH_LITERAL:`[${_i}]`,QMARK:mj,STAR:`${mj}*?`,DOTS_SLASH:`${Zi}{1,2}(?:[${_i}]|$)`,NO_DOT:`(?!${Zi})`,NO_DOTS:`(?!(?:^|[${_i}])${Zi}{1,2}(?:[${_i}]|$))`,NO_DOT_SLASH:`(?!${Zi}{0,1}(?:[${_i}]|$))`,NO_DOTS_SLASH:`(?!${Zi}{1,2}(?:[${_i}]|$))`,QMARK_NO_DOT:`[^.${_i}]`,START_ANCHOR:`(?:^|[${_i}])`,END_ANCHOR:`(?:[${_i}]|$)`},Gve={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"};wj.exports={MAX_LENGTH:1024*64,POSIX_REGEX_SOURCE:Gve,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:Lve.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?Vve:vj}}});var bc=m(en=>{"use strict";var Kve=H("path"),Yve=process.platform==="win32",{REGEX_BACKSLASH:Qve,REGEX_REMOVE_BACKSLASH:Jve,REGEX_SPECIAL_CHARS:Xve,REGEX_SPECIAL_CHARS_GLOBAL:Zve}=yc();en.isObject=t=>t!==null&&typeof t=="object"&&!Array.isArray(t);en.hasRegexChars=t=>Xve.test(t);en.isRegexChar=t=>t.length===1&&en.hasRegexChars(t);en.escapeRegex=t=>t.replace(Zve,"\\$1");en.toPosixSlashes=t=>t.replace(Qve,"/");en.removeBackslashes=t=>t.replace(Jve,e=>e==="\\"?"":e);en.supportsLookbehinds=()=>{let t=process.version.slice(1).split(".").map(Number);return t.length===3&&t[0]>=9||t[0]===8&&t[1]>=10};en.isWindows=t=>t&&typeof t.windows=="boolean"?t.windows:Yve===!0||Kve.sep==="\\";en.escapeLast=(t,e,r)=>{let n=t.lastIndexOf(e,r);return n===-1?t:t[n-1]==="\\"?en.escapeLast(t,e,n-1):`${t.slice(0,n)}\\${t.slice(n)}`};en.removePrefix=(t,e={})=>{let r=t;return r.startsWith("./")&&(r=r.slice(2),e.prefix="./"),r};en.wrapOutput=(t,e={},r={})=>{let n=r.contains?"":"^",i=r.contains?"":"$",s=`${n}(?:${t})${i}`;return e.negated===!0&&(s=`(?:^(?!${s}).*$)`),s}});var Oj=m((cOt,Dj)=>{"use strict";var _j=bc(),{CHAR_ASTERISK:hO,CHAR_AT:ewe,CHAR_BACKWARD_SLASH:vc,CHAR_COMMA:twe,CHAR_DOT:gO,CHAR_EXCLAMATION_MARK:mO,CHAR_FORWARD_SLASH:Cj,CHAR_LEFT_CURLY_BRACE:yO,CHAR_LEFT_PARENTHESES:bO,CHAR_LEFT_SQUARE_BRACKET:rwe,CHAR_PLUS:nwe,CHAR_QUESTION_MARK:xj,CHAR_RIGHT_CURLY_BRACE:iwe,CHAR_RIGHT_PARENTHESES:Sj,CHAR_RIGHT_SQUARE_BRACKET:swe}=yc(),kj=t=>t===Cj||t===vc,Ej=t=>{t.isPrefix!==!0&&(t.depth=t.isGlobstar?1/0:1)},owe=(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),te=()=>(M=P,u.charCodeAt(++l));for(;l<n;){P=te();let le;if(P===vc){v=R.backslashes=!0,P=te(),P===yO&&(g=!0);continue}if(g===!0||P===yO){for(C++;z()!==!0&&(P=te());){if(P===vc){v=R.backslashes=!0,te();continue}if(P===yO){C++;continue}if(g!==!0&&P===gO&&(P=te())===gO){if(d=R.isBrace=!0,h=R.isGlob=!0,x=!0,i===!0)continue;break}if(g!==!0&&P===twe){if(d=R.isBrace=!0,h=R.isGlob=!0,x=!0,i===!0)continue;break}if(P===iwe&&(C--,C===0)){g=!1,d=R.isBrace=!0,x=!0;break}}if(i===!0)continue;break}if(P===Cj){if(s.push(l),o.push(R),R={value:"",depth:0,isGlob:!1},x===!0)continue;if(M===gO&&l===c+1){c+=2;continue}f=l+1;continue}if(r.noext!==!0&&(P===nwe||P===ewe||P===hO||P===xj||P===mO)===!0&&$()===bO){if(h=R.isGlob=!0,y=R.isExtglob=!0,x=!0,P===mO&&l===c&&(_=!0),i===!0){for(;z()!==!0&&(P=te());){if(P===vc){v=R.backslashes=!0,P=te();continue}if(P===Sj){h=R.isGlob=!0,x=!0;break}}continue}break}if(P===hO){if(M===hO&&(b=R.isGlobstar=!0),h=R.isGlob=!0,x=!0,i===!0)continue;break}if(P===xj){if(h=R.isGlob=!0,x=!0,i===!0)continue;break}if(P===rwe){for(;z()!==!0&&(le=te());){if(le===vc){v=R.backslashes=!0,te();continue}if(le===swe){p=R.isBracket=!0,h=R.isGlob=!0,x=!0;break}}if(i===!0)continue;break}if(r.nonegate!==!0&&P===mO&&l===c){w=R.negated=!0,c++;continue}if(r.noparen!==!0&&P===bO){if(h=R.isGlob=!0,i===!0){for(;z()!==!0&&(P=te());){if(P===bO){v=R.backslashes=!0,P=te();continue}if(P===Sj){x=!0;break}}continue}break}if(h===!0){if(x=!0,i===!0)continue;break}}r.noext===!0&&(y=!1,h=!1);let K=u,ue="",F="";c>0&&(ue=u.slice(0,c),u=u.slice(c),f-=c),K&&h===!0&&f>0?(K=u.slice(0,f),F=u.slice(f)):h===!0?(K="",F=u):K=u,K&&K!==""&&K!=="/"&&K!==u&&kj(K.charCodeAt(K.length-1))&&(K=K.slice(0,-1)),r.unescape===!0&&(F&&(F=_j.removeBackslashes(F)),K&&v===!0&&(K=_j.removeBackslashes(K)));let T={prefix:ue,input:t,start:c,base:K,glob:F,isBrace:d,isBracket:p,isGlob:h,isExtglob:y,isGlobstar:b,negated:w,negatedExtglob:_};if(r.tokens===!0&&(T.maxDepth=0,kj(P)||o.push(R),T.tokens=o),r.parts===!0||r.tokens===!0){let le;for(let ne=0;ne<s.length;ne++){let de=le?le+1:c,ae=s[ne],se=t.slice(de,ae);r.tokens&&(ne===0&&c!==0?(o[ne].isPrefix=!0,o[ne].value=ue):o[ne].value=se,Ej(o[ne]),T.maxDepth+=o[ne].depth),(ne!==0||se!=="")&&a.push(se),le=ae}if(le&&le+1<t.length){let ne=t.slice(le+1);a.push(ne),r.tokens&&(o[o.length-1].value=ne,Ej(o[o.length-1]),T.maxDepth+=o[o.length-1].depth)}T.slashes=s,T.parts=a}return T};Dj.exports=owe});var Aj=m((fOt,Rj)=>{"use strict";var bg=yc(),fn=bc(),{MAX_LENGTH:vg,POSIX_REGEX_SOURCE:awe,REGEX_NON_SPECIAL_CHARS:uwe,REGEX_SPECIAL_CHARS_BACKREF:lwe,REPLACEMENTS:qj}=bg,cwe=(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=>fn.escapeRegex(i)).join("..")}return r},nu=(t,e)=>`Missing ${t}: "${e}" - use "\\\\${e}" to match literal characters`,vO=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");t=qj[t]||t;let r={...e},n=typeof r.maxLength=="number"?Math.min(vg,r.maxLength):vg,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=fn.isWindows(e),l=bg.globChars(u),c=bg.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=pe=>`(${a}(?:(?!${C}${pe.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=fn.removePrefix(t,$),i=t.length;let te=[],K=[],ue=[],F=s,T,le=()=>$.index===i-1,ne=$.peek=(pe=1)=>t[$.index+pe],de=$.advance=()=>t[++$.index]||"",ae=()=>t.slice($.index+1),se=(pe="",ce=0)=>{$.consumed+=pe,$.index+=ce},he=pe=>{$.output+=pe.output!=null?pe.output:pe.value,se(pe.value)},ve=()=>{let pe=1;for(;ne()==="!"&&(ne(2)!=="("||ne(3)==="?");)de(),$.start++,pe++;return pe%2===0?!1:($.negated=!0,$.start++,!0)},De=pe=>{$[pe]++,ue.push(pe)},Je=pe=>{$[pe]--,ue.pop()},we=pe=>{if(F.type==="globstar"){let ce=$.braces>0&&(pe.type==="comma"||pe.type==="brace"),ie=pe.extglob===!0||te.length&&(pe.type==="pipe"||pe.type==="paren");pe.type!=="slash"&&pe.type!=="paren"&&!ce&&!ie&&($.output=$.output.slice(0,-F.output.length),F.type="star",F.value="*",F.output=z,$.output+=F.output)}if(te.length&&pe.type!=="paren"&&(te[te.length-1].inner+=pe.value),(pe.value||pe.output)&&he(pe),F&&F.type==="text"&&pe.type==="text"){F.value+=pe.value,F.output=(F.output||"")+pe.value;return}pe.prev=F,o.push(pe),F=pe},Ct=(pe,ce)=>{let ie={...c[ce],conditions:1,inner:""};ie.prev=F,ie.parens=$.parens,ie.output=$.output;let Le=(r.capture?"(":"")+ie.open;De("parens"),we({type:pe,value:ce,output:$.output?"":h}),we({type:"paren",extglob:!0,value:de(),output:Le}),te.push(ie)},dt=pe=>{let ce=pe.close+(r.capture?")":""),ie;if(pe.type==="negate"){let Le=z;if(pe.inner&&pe.inner.length>1&&pe.inner.includes("/")&&(Le=M(r)),(Le!==z||le()||/^\)+$/.test(ae()))&&(ce=pe.close=`)$))${Le}`),pe.inner.includes("*")&&(ie=ae())&&/^\.[^\\/.]+$/.test(ie)){let at=vO(ie,{...e,fastpaths:!1}).output;ce=pe.close=`)${at})${Le})`}pe.prev.type==="bos"&&($.negatedExtglob=!0)}we({type:"paren",extglob:!0,value:T,output:ce}),Je("parens")};if(r.fastpaths!==!1&&!/(^[*!]|[/()[\]{}"])/.test(t)){let pe=!1,ce=t.replace(lwe,(ie,Le,at,zt,$t,Rn)=>zt==="\\"?(pe=!0,ie):zt==="?"?Le?Le+zt+($t?w.repeat($t.length):""):Rn===0?R+($t?w.repeat($t.length):""):w.repeat(at.length):zt==="."?f.repeat(at.length):zt==="*"?Le?Le+zt+($t?z:""):z:Le?ie:`\\${ie}`);return pe===!0&&(r.unescape===!0?ce=ce.replace(/\\/g,""):ce=ce.replace(/\\+/g,ie=>ie.length%2===0?"\\\\":ie?"\\":"")),ce===t&&r.contains===!0?($.output=t,$):($.output=fn.wrapOutput(ce,$,e),$)}for(;!le();){if(T=de(),T==="\0")continue;if(T==="\\"){let ie=ne();if(ie==="/"&&r.bash!==!0||ie==="."||ie===";")continue;if(!ie){T+="\\",we({type:"text",value:T});continue}let Le=/^\\+/.exec(ae()),at=0;if(Le&&Le[0].length>2&&(at=Le[0].length,$.index+=at,at%2!==0&&(T+="\\")),r.unescape===!0?T=de():T+=de(),$.brackets===0){we({type:"text",value:T});continue}}if($.brackets>0&&(T!=="]"||F.value==="["||F.value==="[^")){if(r.posix!==!1&&T===":"){let ie=F.value.slice(1);if(ie.includes("[")&&(F.posix=!0,ie.includes(":"))){let Le=F.value.lastIndexOf("["),at=F.value.slice(0,Le),zt=F.value.slice(Le+2),$t=awe[zt];if($t){F.value=at+$t,$.backtrack=!0,de(),!s.output&&o.indexOf(F)===1&&(s.output=h);continue}}}(T==="["&&ne()!==":"||T==="-"&&ne()==="]")&&(T=`\\${T}`),T==="]"&&(F.value==="["||F.value==="[^")&&(T=`\\${T}`),r.posix===!0&&T==="!"&&F.value==="["&&(T="^"),F.value+=T,he({value:T});continue}if($.quotes===1&&T!=='"'){T=fn.escapeRegex(T),F.value+=T,he({value:T});continue}if(T==='"'){$.quotes=$.quotes===1?0:1,r.keepQuotes===!0&&we({type:"text",value:T});continue}if(T==="("){De("parens"),we({type:"paren",value:T});continue}if(T===")"){if($.parens===0&&r.strictBrackets===!0)throw new SyntaxError(nu("opening","("));let ie=te[te.length-1];if(ie&&$.parens===ie.parens+1){dt(te.pop());continue}we({type:"paren",value:T,output:$.parens?")":"\\)"}),Je("parens");continue}if(T==="["){if(r.nobracket===!0||!ae().includes("]")){if(r.nobracket!==!0&&r.strictBrackets===!0)throw new SyntaxError(nu("closing","]"));T=`\\${T}`}else De("brackets");we({type:"bracket",value:T});continue}if(T==="]"){if(r.nobracket===!0||F&&F.type==="bracket"&&F.value.length===1){we({type:"text",value:T,output:`\\${T}`});continue}if($.brackets===0){if(r.strictBrackets===!0)throw new SyntaxError(nu("opening","["));we({type:"text",value:T,output:`\\${T}`});continue}Je("brackets");let ie=F.value.slice(1);if(F.posix!==!0&&ie[0]==="^"&&!ie.includes("/")&&(T=`/${T}`),F.value+=T,he({value:T}),r.literalBrackets===!1||fn.hasRegexChars(ie))continue;let Le=fn.escapeRegex(F.value);if($.output=$.output.slice(0,-F.value.length),r.literalBrackets===!0){$.output+=Le,F.value=Le;continue}F.value=`(${a}${Le}|${F.value})`,$.output+=F.value;continue}if(T==="{"&&r.nobrace!==!0){De("braces");let ie={type:"brace",value:T,output:"(",outputIndex:$.output.length,tokensIndex:$.tokens.length};K.push(ie),we(ie);continue}if(T==="}"){let ie=K[K.length-1];if(r.nobrace===!0||!ie){we({type:"text",value:T,output:T});continue}let Le=")";if(ie.dots===!0){let at=o.slice(),zt=[];for(let $t=at.length-1;$t>=0&&(o.pop(),at[$t].type!=="brace");$t--)at[$t].type!=="dots"&&zt.unshift(at[$t].value);Le=cwe(zt,r),$.backtrack=!0}if(ie.comma!==!0&&ie.dots!==!0){let at=$.output.slice(0,ie.outputIndex),zt=$.tokens.slice(ie.tokensIndex);ie.value=ie.output="\\{",T=Le="\\}",$.output=at;for(let $t of zt)$.output+=$t.output||$t.value}we({type:"brace",value:T,output:Le}),Je("braces"),K.pop();continue}if(T==="|"){te.length>0&&te[te.length-1].conditions++,we({type:"text",value:T});continue}if(T===","){let ie=T,Le=K[K.length-1];Le&&ue[ue.length-1]==="braces"&&(Le.comma=!0,ie="|"),we({type:"comma",value:T,output:ie});continue}if(T==="/"){if(F.type==="dot"&&$.index===$.start+1){$.start=$.index+1,$.consumed="",$.output="",o.pop(),F=s;continue}we({type:"slash",value:T,output:p});continue}if(T==="."){if($.braces>0&&F.type==="dot"){F.value==="."&&(F.output=f);let ie=K[K.length-1];F.type="dots",F.output+=T,F.value+=T,ie.dots=!0;continue}if($.braces+$.parens===0&&F.type!=="bos"&&F.type!=="slash"){we({type:"text",value:T,output:f});continue}we({type:"dot",value:T,output:f});continue}if(T==="?"){if(!(F&&F.value==="(")&&r.noextglob!==!0&&ne()==="("&&ne(2)!=="?"){Ct("qmark",T);continue}if(F&&F.type==="paren"){let Le=ne(),at=T;if(Le==="<"&&!fn.supportsLookbehinds())throw new Error("Node.js v10 or higher is required for regex lookbehinds");(F.value==="("&&!/[!=<:]/.test(Le)||Le==="<"&&!/<([!=]|\w+>)/.test(ae()))&&(at=`\\${T}`),we({type:"text",value:T,output:at});continue}if(r.dot!==!0&&(F.type==="slash"||F.type==="bos")){we({type:"qmark",value:T,output:_});continue}we({type:"qmark",value:T,output:w});continue}if(T==="!"){if(r.noextglob!==!0&&ne()==="("&&(ne(2)!=="?"||!/[!=<:]/.test(ne(3)))){Ct("negate",T);continue}if(r.nonegate!==!0&&$.index===0){ve();continue}}if(T==="+"){if(r.noextglob!==!0&&ne()==="("&&ne(2)!=="?"){Ct("plus",T);continue}if(F&&F.value==="("||r.regex===!1){we({type:"plus",value:T,output:d});continue}if(F&&(F.type==="bracket"||F.type==="paren"||F.type==="brace")||$.parens>0){we({type:"plus",value:T});continue}we({type:"plus",value:d});continue}if(T==="@"){if(r.noextglob!==!0&&ne()==="("&&ne(2)!=="?"){we({type:"at",extglob:!0,value:T,output:""});continue}we({type:"text",value:T});continue}if(T!=="*"){(T==="$"||T==="^")&&(T=`\\${T}`);let ie=uwe.exec(ae());ie&&(T+=ie[0],$.index+=ie[0].length),we({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,se(T);continue}let pe=ae();if(r.noextglob!==!0&&/^\([^?]/.test(pe)){Ct("star",T);continue}if(F.type==="star"){if(r.noglobstar===!0){se(T);continue}let ie=F.prev,Le=ie.prev,at=ie.type==="slash"||ie.type==="bos",zt=Le&&(Le.type==="star"||Le.type==="globstar");if(r.bash===!0&&(!at||pe[0]&&pe[0]!=="/")){we({type:"star",value:T,output:""});continue}let $t=$.braces>0&&(ie.type==="comma"||ie.type==="brace"),Rn=te.length&&(ie.type==="pipe"||ie.type==="paren");if(!at&&ie.type!=="paren"&&!$t&&!Rn){we({type:"star",value:T,output:""});continue}for(;pe.slice(0,3)==="/**";){let An=t[$.index+4];if(An&&An!=="/")break;pe=pe.slice(3),se("/**",3)}if(ie.type==="bos"&&le()){F.type="globstar",F.value+=T,F.output=M(r),$.output=F.output,$.globstar=!0,se(T);continue}if(ie.type==="slash"&&ie.prev.type!=="bos"&&!zt&&le()){$.output=$.output.slice(0,-(ie.output+F.output).length),ie.output=`(?:${ie.output}`,F.type="globstar",F.output=M(r)+(r.strictSlashes?")":"|$)"),F.value+=T,$.globstar=!0,$.output+=ie.output+F.output,se(T);continue}if(ie.type==="slash"&&ie.prev.type!=="bos"&&pe[0]==="/"){let An=pe[1]!==void 0?"|$":"";$.output=$.output.slice(0,-(ie.output+F.output).length),ie.output=`(?:${ie.output}`,F.type="globstar",F.output=`${M(r)}${p}|${p}${An})`,F.value+=T,$.output+=ie.output+F.output,$.globstar=!0,se(T+de()),we({type:"slash",value:"/",output:""});continue}if(ie.type==="bos"&&pe[0]==="/"){F.type="globstar",F.value+=T,F.output=`(?:^|${p}|${M(r)}${p})`,$.output=F.output,$.globstar=!0,se(T+de()),we({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,se(T);continue}let ce={type:"star",value:T,output:z};if(r.bash===!0){ce.output=".*?",(F.type==="bos"||F.type==="slash")&&(ce.output=P+ce.output),we(ce);continue}if(F&&(F.type==="bracket"||F.type==="paren")&&r.regex===!0){ce.output=T,we(ce);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),ne()!=="*"&&($.output+=h,F.output+=h)),we(ce)}for(;$.brackets>0;){if(r.strictBrackets===!0)throw new SyntaxError(nu("closing","]"));$.output=fn.escapeLast($.output,"["),Je("brackets")}for(;$.parens>0;){if(r.strictBrackets===!0)throw new SyntaxError(nu("closing",")"));$.output=fn.escapeLast($.output,"("),Je("parens")}for(;$.braces>0;){if(r.strictBrackets===!0)throw new SyntaxError(nu("closing","}"));$.output=fn.escapeLast($.output,"{"),Je("braces")}if(r.strictSlashes!==!0&&(F.type==="star"||F.type==="bracket")&&we({type:"maybe_slash",value:"",output:`${p}?`}),$.backtrack===!0){$.output="";for(let pe of $.tokens)$.output+=pe.output!=null?pe.output:pe.value,pe.suffix&&($.output+=pe.suffix)}return $};vO.fastpaths=(t,e)=>{let r={...e},n=typeof r.maxLength=="number"?Math.min(vg,r.maxLength):vg,i=t.length;if(i>n)throw new SyntaxError(`Input length: ${i}, exceeds maximum allowed length: ${n}`);t=qj[t]||t;let s=fn.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}=bg.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=fn.removePrefix(t,v),M=x(C);return M&&r.strictSlashes!==!0&&(M+=`${a}?`),M};Rj.exports=vO});var Tj=m((dOt,Pj)=>{"use strict";var fwe=H("path"),dwe=Oj(),wO=Aj(),_O=bc(),pwe=yc(),hwe=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=hwe(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=_O.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?_O.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=_O.isWindows(r))=>(e instanceof RegExp?e:Vt.makeRe(e,r)).test(fwe.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)):wO(t,{...e,fastpaths:!1});Vt.scan=(t,e)=>dwe(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=wO.fastpaths(t,e)),i.output||(i=wO(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=pwe;Pj.exports=Vt});var Fj=m((pOt,Mj)=>{"use strict";Mj.exports=Tj()});var wg=m((hOt,jj)=>{"use strict";var Ij=H("util"),Nj=gj(),xi=Fj(),xO=bc(),Lj=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=xi(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)=>xi(t,e);Dt.isMatch=(t,e,r)=>xi(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: "${Ij.inspect(t)}"`);if(Array.isArray(e))return e.some(n=>Dt.contains(t,n,r));if(typeof e=="string"){if(Lj(t)||Lj(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(!xO.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=xi(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=xi(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: "${Ij.inspect(t)}"`);return[].concat(e).every(n=>xi(n,r)(t))};Dt.capture=(t,e,r)=>{let n=xO.isWindows(r),s=xi.makeRe(String(t),{...r,capture:!0}).exec(n?xO.toPosixSlashes(e):e);if(s)return s.slice(1).map(o=>o===void 0?"":o)};Dt.makeRe=(...t)=>xi.makeRe(...t);Dt.scan=(...t)=>xi.scan(...t);Dt.parse=(t,e)=>{let r=[];for(let n of[].concat(t||[]))for(let i of Nj(String(n),e))r.push(xi.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]:Nj(t,e)};Dt.braceExpand=(t,e)=>{if(typeof t!="string")throw new TypeError("Expected a string");return Dt.braces(t,{...e,expand:!0})};jj.exports=Dt});var Gj=m(ze=>{"use strict";Object.defineProperty(ze,"__esModule",{value:!0});ze.matchAny=ze.convertPatternsToRe=ze.makeRe=ze.getPatternParts=ze.expandBraceExpansion=ze.expandPatternsWithBraceExpansion=ze.isAffectDepthOfReadingPattern=ze.endsWithSlashGlobStar=ze.hasGlobStar=ze.getBaseDirectory=ze.isPatternRelatedToParentDirectory=ze.getPatternsOutsideCurrentDirectory=ze.getPatternsInsideCurrentDirectory=ze.getPositivePatterns=ze.getNegativePatterns=ze.isPositivePattern=ze.isNegativePattern=ze.convertToNegativePattern=ze.convertToPositivePattern=ze.isDynamicPattern=ze.isStaticPattern=void 0;var gwe=H("path"),mwe=P5(),SO=wg(),$j="**",ywe="\\",bwe=/[*?]|^!/,vwe=/\[[^[]*]/,wwe=/(?:^|[^!*+?@])\([^(]*\|[^|]*\)/,_we=/[!*+?@]\([^(]*\)/,xwe=/,|\.\./;function Bj(t,e={}){return!Wj(t,e)}ze.isStaticPattern=Bj;function Wj(t,e={}){return t===""?!1:!!(e.caseSensitiveMatch===!1||t.includes(ywe)||bwe.test(t)||vwe.test(t)||wwe.test(t)||e.extglob!==!1&&_we.test(t)||e.braceExpansion!==!1&&Swe(t))}ze.isDynamicPattern=Wj;function Swe(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 xwe.test(n)}function kwe(t){return _g(t)?t.slice(1):t}ze.convertToPositivePattern=kwe;function Ewe(t){return"!"+t}ze.convertToNegativePattern=Ewe;function _g(t){return t.startsWith("!")&&t[1]!=="("}ze.isNegativePattern=_g;function zj(t){return!_g(t)}ze.isPositivePattern=zj;function Cwe(t){return t.filter(_g)}ze.getNegativePatterns=Cwe;function Dwe(t){return t.filter(zj)}ze.getPositivePatterns=Dwe;function Owe(t){return t.filter(e=>!kO(e))}ze.getPatternsInsideCurrentDirectory=Owe;function qwe(t){return t.filter(kO)}ze.getPatternsOutsideCurrentDirectory=qwe;function kO(t){return t.startsWith("..")||t.startsWith("./..")}ze.isPatternRelatedToParentDirectory=kO;function Rwe(t){return mwe(t,{flipBackslashes:!1})}ze.getBaseDirectory=Rwe;function Awe(t){return t.includes($j)}ze.hasGlobStar=Awe;function Uj(t){return t.endsWith("/"+$j)}ze.endsWithSlashGlobStar=Uj;function Pwe(t){let e=gwe.basename(t);return Uj(t)||Bj(e)}ze.isAffectDepthOfReadingPattern=Pwe;function Twe(t){return t.reduce((e,r)=>e.concat(Hj(r)),[])}ze.expandPatternsWithBraceExpansion=Twe;function Hj(t){return SO.braces(t,{expand:!0,nodupes:!0})}ze.expandBraceExpansion=Hj;function Mwe(t,e){let{parts:r}=SO.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}ze.getPatternParts=Mwe;function Vj(t,e){return SO.makeRe(t,e)}ze.makeRe=Vj;function Fwe(t,e){return t.map(r=>Vj(r,e))}ze.convertPatternsToRe=Fwe;function Lwe(t,e){return e.some(r=>r.test(t))}ze.matchAny=Lwe});var EO=m((mOt,Qj)=>{"use strict";var Iwe=H("stream"),Kj=Iwe.PassThrough,Nwe=Array.prototype.slice;Qj.exports=jwe;function jwe(){let t=[],e=Nwe.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=Kj(n);function a(){for(let c=0,f=arguments.length;c<f;c++)t.push(Yj(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 Yj(t,e){if(Array.isArray(t))for(let r=0,n=t.length;r<n;r++)t[r]=Yj(t[r],e);else{if(!t._readableState&&t.pipe&&(t=t.pipe(Kj(e))),!t._readableState||!t.pause||!t.pipe)throw new Error("Only readable stream can be merged.");t.pause()}return t}});var Xj=m(xg=>{"use strict";Object.defineProperty(xg,"__esModule",{value:!0});xg.merge=void 0;var $we=EO();function Bwe(t){let e=$we(t);return t.forEach(r=>{r.once("error",n=>e.emit("error",n))}),e.once("close",()=>Jj(t)),e.once("end",()=>Jj(t)),e}xg.merge=Bwe;function Jj(t){t.forEach(e=>e.emit("close"))}});var Zj=m(iu=>{"use strict";Object.defineProperty(iu,"__esModule",{value:!0});iu.isEmpty=iu.isString=void 0;function Wwe(t){return typeof t=="string"}iu.isString=Wwe;function zwe(t){return t===""}iu.isEmpty=zwe});var es=m(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.string=Pr.stream=Pr.pattern=Pr.path=Pr.fs=Pr.errno=Pr.array=void 0;var Uwe=x5();Pr.array=Uwe;var Hwe=S5();Pr.errno=Hwe;var Vwe=k5();Pr.fs=Vwe;var Gwe=E5();Pr.path=Gwe;var Kwe=Gj();Pr.pattern=Kwe;var Ywe=Xj();Pr.stream=Ywe;var Qwe=Zj();Pr.string=Qwe});var r6=m(Tr=>{"use strict";Object.defineProperty(Tr,"__esModule",{value:!0});Tr.convertPatternGroupToTask=Tr.convertPatternGroupsToTasks=Tr.groupPatternsByBaseDirectory=Tr.getNegativePatternsAsPositive=Tr.getPositivePatterns=Tr.convertPatternsToTasks=Tr.generate=void 0;var ts=es();function Jwe(t,e){let r=e6(t),n=t6(t,e.ignore),i=r.filter(u=>ts.pattern.isStaticPattern(u,e)),s=r.filter(u=>ts.pattern.isDynamicPattern(u,e)),o=CO(i,n,!1),a=CO(s,n,!0);return o.concat(a)}Tr.generate=Jwe;function CO(t,e,r){let n=[],i=ts.pattern.getPatternsOutsideCurrentDirectory(t),s=ts.pattern.getPatternsInsideCurrentDirectory(t),o=DO(i),a=DO(s);return n.push(...OO(o,e,r)),"."in a?n.push(qO(".",s,e,r)):n.push(...OO(a,e,r)),n}Tr.convertPatternsToTasks=CO;function e6(t){return ts.pattern.getPositivePatterns(t)}Tr.getPositivePatterns=e6;function t6(t,e){return ts.pattern.getNegativePatterns(t).concat(e).map(ts.pattern.convertToPositivePattern)}Tr.getNegativePatternsAsPositive=t6;function DO(t){let e={};return t.reduce((r,n)=>{let i=ts.pattern.getBaseDirectory(n);return i in r?r[i].push(n):r[i]=[n],r},e)}Tr.groupPatternsByBaseDirectory=DO;function OO(t,e,r){return Object.keys(t).map(n=>qO(n,t[n],e,r))}Tr.convertPatternGroupsToTasks=OO;function qO(t,e,r,n){return{dynamic:n,positive:e,negative:r,base:t,patterns:[].concat(e,r.map(ts.pattern.convertToNegativePattern))}}Tr.convertPatternGroupToTask=qO});var i6=m(su=>{"use strict";Object.defineProperty(su,"__esModule",{value:!0});su.removeDuplicateSlashes=su.transform=void 0;var Xwe=/(?!^)\/{2,}/g;function Zwe(t){return t.map(e=>n6(e))}su.transform=Zwe;function n6(t){return t.replace(Xwe,"/")}su.removeDuplicateSlashes=n6});var o6=m(Sg=>{"use strict";Object.defineProperty(Sg,"__esModule",{value:!0});Sg.read=void 0;function e_e(t,e,r){e.fs.lstat(t,(n,i)=>{if(n!==null){s6(r,n);return}if(!i.isSymbolicLink()||!e.followSymbolicLink){RO(r,i);return}e.fs.stat(t,(s,o)=>{if(s!==null){if(e.throwErrorOnBrokenSymbolicLink){s6(r,s);return}RO(r,i);return}e.markSymbolicLink&&(o.isSymbolicLink=()=>!0),RO(r,o)})})}Sg.read=e_e;function s6(t,e){t(e)}function RO(t,e){t(null,e)}});var a6=m(kg=>{"use strict";Object.defineProperty(kg,"__esModule",{value:!0});kg.read=void 0;function t_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}}kg.read=t_e});var u6=m(Os=>{"use strict";Object.defineProperty(Os,"__esModule",{value:!0});Os.createFileSystemAdapter=Os.FILE_SYSTEM_ADAPTER=void 0;var Eg=H("fs");Os.FILE_SYSTEM_ADAPTER={lstat:Eg.lstat,stat:Eg.stat,lstatSync:Eg.lstatSync,statSync:Eg.statSync};function r_e(t){return t===void 0?Os.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Os.FILE_SYSTEM_ADAPTER),t)}Os.createFileSystemAdapter=r_e});var l6=m(PO=>{"use strict";Object.defineProperty(PO,"__esModule",{value:!0});var n_e=u6(),AO=class{constructor(e={}){this._options=e,this.followSymbolicLink=this._getValue(this._options.followSymbolicLink,!0),this.fs=n_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}};PO.default=AO});var Oo=m(qs=>{"use strict";Object.defineProperty(qs,"__esModule",{value:!0});qs.statSync=qs.stat=qs.Settings=void 0;var c6=o6(),i_e=a6(),TO=l6();qs.Settings=TO.default;function s_e(t,e,r){if(typeof e=="function"){c6.read(t,MO(),e);return}c6.read(t,MO(e),r)}qs.stat=s_e;function o_e(t,e){let r=MO(e);return i_e.read(t,r)}qs.statSync=o_e;function MO(t={}){return t instanceof TO.default?t:new TO.default(t)}});var p6=m((DOt,d6)=>{var f6;d6.exports=typeof queueMicrotask=="function"?queueMicrotask.bind(typeof window<"u"?window:global):t=>(f6||(f6=Promise.resolve())).then(t).catch(e=>setTimeout(()=>{throw e},0))});var g6=m((OOt,h6)=>{h6.exports=u_e;var a_e=p6();function u_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?a_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 FO=m(Dg=>{"use strict";Object.defineProperty(Dg,"__esModule",{value:!0});Dg.IS_SUPPORT_READDIR_WITH_FILE_TYPES=void 0;var Cg=process.versions.node.split(".");if(Cg[0]===void 0||Cg[1]===void 0)throw new Error(`Unexpected behavior. The 'process.versions.node' variable has invalid value: ${process.versions.node}`);var m6=Number.parseInt(Cg[0],10),l_e=Number.parseInt(Cg[1],10),y6=10,c_e=10,f_e=m6>y6,d_e=m6===y6&&l_e>=c_e;Dg.IS_SUPPORT_READDIR_WITH_FILE_TYPES=f_e||d_e});var b6=m(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});Og.createDirentFromStats=void 0;var LO=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 p_e(t,e){return new LO(t,e)}Og.createDirentFromStats=p_e});var IO=m(qg=>{"use strict";Object.defineProperty(qg,"__esModule",{value:!0});qg.fs=void 0;var h_e=b6();qg.fs=h_e});var NO=m(Rg=>{"use strict";Object.defineProperty(Rg,"__esModule",{value:!0});Rg.joinPathSegments=void 0;function g_e(t,e,r){return t.endsWith(r)?t+e:t+r+e}Rg.joinPathSegments=g_e});var k6=m(Rs=>{"use strict";Object.defineProperty(Rs,"__esModule",{value:!0});Rs.readdir=Rs.readdirWithFileTypes=Rs.read=void 0;var m_e=Oo(),v6=g6(),y_e=FO(),w6=IO(),_6=NO();function b_e(t,e,r){if(!e.stats&&y_e.IS_SUPPORT_READDIR_WITH_FILE_TYPES){x6(t,e,r);return}S6(t,e,r)}Rs.read=b_e;function x6(t,e,r){e.fs.readdir(t,{withFileTypes:!0},(n,i)=>{if(n!==null){Ag(r,n);return}let s=i.map(a=>({dirent:a,name:a.name,path:_6.joinPathSegments(t,a.name,e.pathSegmentSeparator)}));if(!e.followSymbolicLinks){jO(r,s);return}let o=s.map(a=>v_e(a,e));v6(o,(a,u)=>{if(a!==null){Ag(r,a);return}jO(r,u)})})}Rs.readdirWithFileTypes=x6;function v_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=w6.fs.createDirentFromStats(t.name,i),r(null,t)})}}function S6(t,e,r){e.fs.readdir(t,(n,i)=>{if(n!==null){Ag(r,n);return}let s=i.map(o=>{let a=_6.joinPathSegments(t,o,e.pathSegmentSeparator);return u=>{m_e.stat(a,e.fsStatSettings,(l,c)=>{if(l!==null){u(l);return}let f={name:o,path:a,dirent:w6.fs.createDirentFromStats(o,c)};e.stats&&(f.stats=c),u(null,f)})}});v6(s,(o,a)=>{if(o!==null){Ag(r,o);return}jO(r,a)})})}Rs.readdir=S6;function Ag(t,e){t(e)}function jO(t,e){t(null,e)}});var q6=m(As=>{"use strict";Object.defineProperty(As,"__esModule",{value:!0});As.readdir=As.readdirWithFileTypes=As.read=void 0;var w_e=Oo(),__e=FO(),E6=IO(),C6=NO();function x_e(t,e){return!e.stats&&__e.IS_SUPPORT_READDIR_WITH_FILE_TYPES?D6(t,e):O6(t,e)}As.read=x_e;function D6(t,e){return e.fs.readdirSync(t,{withFileTypes:!0}).map(n=>{let i={dirent:n,name:n.name,path:C6.joinPathSegments(t,n.name,e.pathSegmentSeparator)};if(i.dirent.isSymbolicLink()&&e.followSymbolicLinks)try{let s=e.fs.statSync(i.path);i.dirent=E6.fs.createDirentFromStats(i.name,s)}catch(s){if(e.throwErrorOnBrokenSymbolicLink)throw s}return i})}As.readdirWithFileTypes=D6;function O6(t,e){return e.fs.readdirSync(t).map(n=>{let i=C6.joinPathSegments(t,n,e.pathSegmentSeparator),s=w_e.statSync(i,e.fsStatSettings),o={name:n,path:i,dirent:E6.fs.createDirentFromStats(n,s)};return e.stats&&(o.stats=s),o})}As.readdir=O6});var R6=m(Ps=>{"use strict";Object.defineProperty(Ps,"__esModule",{value:!0});Ps.createFileSystemAdapter=Ps.FILE_SYSTEM_ADAPTER=void 0;var ou=H("fs");Ps.FILE_SYSTEM_ADAPTER={lstat:ou.lstat,stat:ou.stat,lstatSync:ou.lstatSync,statSync:ou.statSync,readdir:ou.readdir,readdirSync:ou.readdirSync};function S_e(t){return t===void 0?Ps.FILE_SYSTEM_ADAPTER:Object.assign(Object.assign({},Ps.FILE_SYSTEM_ADAPTER),t)}Ps.createFileSystemAdapter=S_e});var A6=m(BO=>{"use strict";Object.defineProperty(BO,"__esModule",{value:!0});var k_e=H("path"),E_e=Oo(),C_e=R6(),$O=class{constructor(e={}){this._options=e,this.followSymbolicLinks=this._getValue(this._options.followSymbolicLinks,!1),this.fs=C_e.createFileSystemAdapter(this._options.fs),this.pathSegmentSeparator=this._getValue(this._options.pathSegmentSeparator,k_e.sep),this.stats=this._getValue(this._options.stats,!1),this.throwErrorOnBrokenSymbolicLink=this._getValue(this._options.throwErrorOnBrokenSymbolicLink,!0),this.fsStatSettings=new E_e.Settings({followSymbolicLink:this.followSymbolicLinks,fs:this.fs,throwErrorOnBrokenSymbolicLink:this.throwErrorOnBrokenSymbolicLink})}_getValue(e,r){return e??r}};BO.default=$O});var Pg=m(Ts=>{"use strict";Object.defineProperty(Ts,"__esModule",{value:!0});Ts.Settings=Ts.scandirSync=Ts.scandir=void 0;var P6=k6(),D_e=q6(),WO=A6();Ts.Settings=WO.default;function O_e(t,e,r){if(typeof e=="function"){P6.read(t,zO(),e);return}P6.read(t,zO(e),r)}Ts.scandir=O_e;function q_e(t,e){let r=zO(e);return D_e.read(t,r)}Ts.scandirSync=q_e;function zO(t={}){return t instanceof WO.default?t:new WO.default(t)}});var M6=m((NOt,T6)=>{"use strict";function R_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}}T6.exports=R_e});var L6=m((jOt,UO)=>{"use strict";var A_e=M6();function F6(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=A_e(P_e),i=null,s=null,o=0,a=null,u={push:y,drain:Tn,saturated:Tn,pause:c,paused:!1,concurrency:r,running:l,resume:p,idle:h,length:f,getQueue:d,unshift:b,empty:Tn,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||Tn,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||Tn,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=Tn}function w(){i=null,s=null,u.drain(),u.drain=Tn}function _(x){a=x}}function Tn(){}function P_e(){this.value=null,this.callback=Tn,this.next=null,this.release=Tn,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=Tn,t.errorHandler&&s(r,o),i.call(t.context,r,n),t.release(t)}}function T_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=F6(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(Tn),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(Tn),f}function l(){var c=i.drain,f=new Promise(function(d){i.drain=function(){c(),d()}});return f}}UO.exports=F6;UO.exports.promise=T_e});var Tg=m(Si=>{"use strict";Object.defineProperty(Si,"__esModule",{value:!0});Si.joinPathSegments=Si.replacePathSegmentSeparator=Si.isAppliedFilter=Si.isFatalError=void 0;function M_e(t,e){return t.errorFilter===null?!0:!t.errorFilter(e)}Si.isFatalError=M_e;function F_e(t,e){return t===null||t(e)}Si.isAppliedFilter=F_e;function L_e(t,e){return t.split(/[/\\]/).join(e)}Si.replacePathSegmentSeparator=L_e;function I_e(t,e,r){return t===""?e:t.endsWith(r)?t+e:t+r+e}Si.joinPathSegments=I_e});var GO=m(VO=>{"use strict";Object.defineProperty(VO,"__esModule",{value:!0});var N_e=Tg(),HO=class{constructor(e,r){this._root=e,this._settings=r,this._root=N_e.replacePathSegmentSeparator(e,r.pathSegmentSeparator)}};VO.default=HO});var QO=m(YO=>{"use strict";Object.defineProperty(YO,"__esModule",{value:!0});var j_e=H("events"),$_e=Pg(),B_e=L6(),Mg=Tg(),W_e=GO(),KO=class extends W_e.default{constructor(e,r){super(e,r),this._settings=r,this._scandir=$_e.scandir,this._emitter=new j_e.EventEmitter,this._queue=B_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||!Mg.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=Mg.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),Mg.isAppliedFilter(this._settings.entryFilter,e)&&this._emitEntry(e),e.dirent.isDirectory()&&Mg.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_emitEntry(e){this._emitter.emit("entry",e)}};YO.default=KO});var I6=m(XO=>{"use strict";Object.defineProperty(XO,"__esModule",{value:!0});var z_e=QO(),JO=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new z_e.default(this._root,this._settings),this._storage=[]}read(e){this._reader.onError(r=>{U_e(e,r)}),this._reader.onEntry(r=>{this._storage.push(r)}),this._reader.onEnd(()=>{H_e(e,this._storage)}),this._reader.read()}};XO.default=JO;function U_e(t,e){t(e)}function H_e(t,e){t(null,e)}});var N6=m(eq=>{"use strict";Object.defineProperty(eq,"__esModule",{value:!0});var V_e=H("stream"),G_e=QO(),ZO=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new G_e.default(this._root,this._settings),this._stream=new V_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}};eq.default=ZO});var j6=m(rq=>{"use strict";Object.defineProperty(rq,"__esModule",{value:!0});var K_e=Pg(),Fg=Tg(),Y_e=GO(),tq=class extends Y_e.default{constructor(){super(...arguments),this._scandir=K_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(Fg.isFatalError(this._settings,e))throw e}_handleEntry(e,r){let n=e.path;r!==void 0&&(e.path=Fg.joinPathSegments(r,e.name,this._settings.pathSegmentSeparator)),Fg.isAppliedFilter(this._settings.entryFilter,e)&&this._pushToStorage(e),e.dirent.isDirectory()&&Fg.isAppliedFilter(this._settings.deepFilter,e)&&this._pushToQueue(n,r===void 0?void 0:e.path)}_pushToStorage(e){this._storage.push(e)}};rq.default=tq});var $6=m(iq=>{"use strict";Object.defineProperty(iq,"__esModule",{value:!0});var Q_e=j6(),nq=class{constructor(e,r){this._root=e,this._settings=r,this._reader=new Q_e.default(this._root,this._settings)}read(){return this._reader.read()}};iq.default=nq});var B6=m(oq=>{"use strict";Object.defineProperty(oq,"__esModule",{value:!0});var J_e=H("path"),X_e=Pg(),sq=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,J_e.sep),this.fsScandirSettings=new X_e.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}};oq.default=sq});var Ig=m(ki=>{"use strict";Object.defineProperty(ki,"__esModule",{value:!0});ki.Settings=ki.walkStream=ki.walkSync=ki.walk=void 0;var W6=I6(),Z_e=N6(),exe=$6(),aq=B6();ki.Settings=aq.default;function txe(t,e,r){if(typeof e=="function"){new W6.default(t,Lg()).read(e);return}new W6.default(t,Lg(e)).read(r)}ki.walk=txe;function rxe(t,e){let r=Lg(e);return new exe.default(t,r).read()}ki.walkSync=rxe;function nxe(t,e){let r=Lg(e);return new Z_e.default(t,r).read()}ki.walkStream=nxe;function Lg(t={}){return t instanceof aq.default?t:new aq.default(t)}});var Ng=m(lq=>{"use strict";Object.defineProperty(lq,"__esModule",{value:!0});var ixe=H("path"),sxe=Oo(),z6=es(),uq=class{constructor(e){this._settings=e,this._fsStatSettings=new sxe.Settings({followSymbolicLink:this._settings.followSymbolicLinks,fs:this._settings.fs,throwErrorOnBrokenSymbolicLink:this._settings.followSymbolicLinks})}_getFullEntryPath(e){return ixe.resolve(this._settings.cwd,e)}_makeEntry(e,r){let n={name:r,path:r,dirent:z6.fs.createDirentFromStats(r,e)};return this._settings.stats&&(n.stats=e),n}_isFatalError(e){return!z6.errno.isEnoentCodeError(e)&&!this._settings.suppressErrors}};lq.default=uq});var dq=m(fq=>{"use strict";Object.defineProperty(fq,"__esModule",{value:!0});var oxe=H("stream"),axe=Oo(),uxe=Ig(),lxe=Ng(),cq=class extends lxe.default{constructor(){super(...arguments),this._walkStream=uxe.walkStream,this._stat=axe.stat}dynamic(e,r){return this._walkStream(e,r)}static(e,r){let n=e.map(this._getFullEntryPath,this),i=new oxe.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))})}};fq.default=cq});var U6=m(hq=>{"use strict";Object.defineProperty(hq,"__esModule",{value:!0});var cxe=Ig(),fxe=Ng(),dxe=dq(),pq=class extends fxe.default{constructor(){super(...arguments),this._walkAsync=cxe.walk,this._readerStream=new dxe.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))})}};hq.default=pq});var H6=m(mq=>{"use strict";Object.defineProperty(mq,"__esModule",{value:!0});var au=es(),gq=class{constructor(e,r,n){this._patterns=e,this._settings=r,this._micromatchOptions=n,this._storage=[],this._fillStorage()}_fillStorage(){let e=au.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 au.pattern.getPatternParts(e,this._micromatchOptions).map(n=>au.pattern.isDynamicPattern(n,this._settings)?{dynamic:!0,pattern:n,patternRe:au.pattern.makeRe(n,this._micromatchOptions)}:{dynamic:!1,pattern:n})}_splitSegmentsIntoSections(e){return au.array.splitWhen(e,r=>r.dynamic&&au.pattern.hasGlobStar(r.pattern))}};mq.default=gq});var V6=m(bq=>{"use strict";Object.defineProperty(bq,"__esModule",{value:!0});var pxe=H6(),yq=class extends pxe.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}};bq.default=yq});var G6=m(wq=>{"use strict";Object.defineProperty(wq,"__esModule",{value:!0});var jg=es(),hxe=V6(),vq=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 hxe.default(e,this._settings,this._micromatchOptions)}_getNegativePatternsRe(e){let r=e.filter(jg.pattern.isAffectDepthOfReadingPattern);return jg.pattern.convertPatternsToRe(r,this._micromatchOptions)}_filter(e,r,n,i){if(this._isSkippedByDeep(e,r.path)||this._isSkippedSymbolicLink(r))return!1;let s=jg.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!jg.pattern.matchAny(e,r)}};wq.default=vq});var K6=m(xq=>{"use strict";Object.defineProperty(xq,"__esModule",{value:!0});var qo=es(),_q=class{constructor(e,r){this._settings=e,this._micromatchOptions=r,this.index=new Map}getFilter(e,r){let n=qo.pattern.convertPatternsToRe(e,this._micromatchOptions),i=qo.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=qo.path.makeAbsolute(this._settings.cwd,e);return qo.pattern.matchAny(n,r)}_isMatchToPatterns(e,r,n){let i=qo.path.removeLeadingDotSegment(e),s=qo.pattern.matchAny(i,r);return!s&&n?qo.pattern.matchAny(i+"/",r):s}};xq.default=_q});var Y6=m(kq=>{"use strict";Object.defineProperty(kq,"__esModule",{value:!0});var gxe=es(),Sq=class{constructor(e){this._settings=e}getFilter(){return e=>this._isNonFatalError(e)}_isNonFatalError(e){return gxe.errno.isEnoentCodeError(e)||this._settings.suppressErrors}};kq.default=Sq});var J6=m(Cq=>{"use strict";Object.defineProperty(Cq,"__esModule",{value:!0});var Q6=es(),Eq=class{constructor(e){this._settings=e}getTransformer(){return e=>this._transform(e)}_transform(e){let r=e.path;return this._settings.absolute&&(r=Q6.path.makeAbsolute(this._settings.cwd,r),r=Q6.path.unixify(r)),this._settings.markDirectories&&e.dirent.isDirectory()&&(r+="/"),this._settings.objectMode?Object.assign(Object.assign({},e),{path:r}):r}};Cq.default=Eq});var $g=m(Oq=>{"use strict";Object.defineProperty(Oq,"__esModule",{value:!0});var mxe=H("path"),yxe=G6(),bxe=K6(),vxe=Y6(),wxe=J6(),Dq=class{constructor(e){this._settings=e,this.errorFilter=new vxe.default(this._settings),this.entryFilter=new bxe.default(this._settings,this._getMicromatchOptions()),this.deepFilter=new yxe.default(this._settings,this._getMicromatchOptions()),this.entryTransformer=new wxe.default(this._settings)}_getRootDirectory(e){return mxe.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}}};Oq.default=Dq});var X6=m(Rq=>{"use strict";Object.defineProperty(Rq,"__esModule",{value:!0});var _xe=U6(),xxe=$g(),qq=class extends xxe.default{constructor(){super(...arguments),this._reader=new _xe.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)}};Rq.default=qq});var Z6=m(Pq=>{"use strict";Object.defineProperty(Pq,"__esModule",{value:!0});var Sxe=H("stream"),kxe=dq(),Exe=$g(),Aq=class extends Exe.default{constructor(){super(...arguments),this._reader=new kxe.default(this._settings)}read(e){let r=this._getRootDirectory(e),n=this._getReaderOptions(e),i=this.api(r,e,n),s=new Sxe.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)}};Pq.default=Aq});var e$=m(Mq=>{"use strict";Object.defineProperty(Mq,"__esModule",{value:!0});var Cxe=Oo(),Dxe=Ig(),Oxe=Ng(),Tq=class extends Oxe.default{constructor(){super(...arguments),this._walkSync=Dxe.walkSync,this._statSync=Cxe.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)}};Mq.default=Tq});var t$=m(Lq=>{"use strict";Object.defineProperty(Lq,"__esModule",{value:!0});var qxe=e$(),Rxe=$g(),Fq=class extends Rxe.default{constructor(){super(...arguments),this._reader=new qxe.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)}};Lq.default=Fq});var r$=m(lu=>{"use strict";Object.defineProperty(lu,"__esModule",{value:!0});lu.DEFAULT_FILE_SYSTEM_ADAPTER=void 0;var uu=H("fs"),Axe=H("os"),Pxe=Math.max(Axe.cpus().length,1);lu.DEFAULT_FILE_SYSTEM_ADAPTER={lstat:uu.lstat,lstatSync:uu.lstatSync,stat:uu.stat,statSync:uu.statSync,readdir:uu.readdir,readdirSync:uu.readdirSync};var Iq=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,Pxe),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({},lu.DEFAULT_FILE_SYSTEM_ADAPTER),e)}};lu.default=Iq});var Ao=m((cqt,s$)=>{"use strict";var n$=r6(),i$=i6(),Txe=X6(),Mxe=Z6(),Fxe=t$(),Nq=r$(),Ro=es();async function jq(t,e){cu(t);let r=$q(t,Txe.default,e),n=await Promise.all(r);return Ro.array.flatten(n)}(function(t){function e(o,a){cu(o);let u=$q(o,Fxe.default,a);return Ro.array.flatten(u)}t.sync=e;function r(o,a){cu(o);let u=$q(o,Mxe.default,a);return Ro.stream.merge(u)}t.stream=r;function n(o,a){cu(o);let u=i$.transform([].concat(o)),l=new Nq.default(a);return n$.generate(u,l)}t.generateTasks=n;function i(o,a){cu(o);let u=new Nq.default(a);return Ro.pattern.isDynamicPattern(o,u)}t.isDynamicPattern=i;function s(o){return cu(o),Ro.path.escape(o)}t.escapePath=s})(jq||(jq={}));function $q(t,e,r){let n=i$.transform([].concat(t)),i=new Nq.default(r),s=n$.generate(n,i),o=new e(i);return s.map(o.read,o)}function cu(t){if(![].concat(t).every(n=>Ro.string.isString(n)&&!Ro.string.isEmpty(n)))throw new TypeError("Patterns must be a string (non empty) or an array of strings")}s$.exports=jq});var a$=m((fqt,o$)=>{var Lxe=typeof process=="object"&&process&&process.platform==="win32";o$.exports=Lxe?{sep:"\\"}:{sep:"/"}});var Bg=m((dqt,f$)=>{"use strict";f$.exports=l$;function l$(t,e,r){t instanceof RegExp&&(t=u$(t,r)),e instanceof RegExp&&(e=u$(e,r));var n=c$(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 u$(t,e){var r=e.match(t);return r?r[0]:null}l$.range=c$;function c$(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 v$=m((pqt,b$)=>{var d$=Bg();b$.exports=jxe;var p$="\0SLASH"+Math.random()+"\0",h$="\0OPEN"+Math.random()+"\0",Wq="\0CLOSE"+Math.random()+"\0",g$="\0COMMA"+Math.random()+"\0",m$="\0PERIOD"+Math.random()+"\0";function Bq(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function Ixe(t){return t.split("\\\\").join(p$).split("\\{").join(h$).split("\\}").join(Wq).split("\\,").join(g$).split("\\.").join(m$)}function Nxe(t){return t.split(p$).join("\\").split(h$).join("{").split(Wq).join("}").split(g$).join(",").split(m$).join(".")}function y$(t){if(!t)return[""];var e=[],r=d$("{","}",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=y$(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function jxe(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),wc(Ixe(t),!0).map(Nxe)):[]}function $xe(t){return"{"+t+"}"}function Bxe(t){return/^-?0\d/.test(t)}function Wxe(t,e){return t<=e}function zxe(t,e){return t>=e}function wc(t,e){var r=[],n=d$("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?wc(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+Wq+n.post,wc(t)):[t];var d;if(c)d=n.body.split(/\.\./);else if(d=y$(n.body),d.length===1&&(d=wc(d[0],!1).map($xe),d.length===1))return s.map(function(z){return n.pre+d[0]+z});var p;if(c){var h=Bq(d[0]),y=Bq(d[1]),b=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(Bq(d[2])):1,v=Wxe,w=y<h;w&&(g*=-1,v=zxe);var _=d.some(Bxe);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,wc(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 E$=m((gqt,Gq)=>{var dn=Gq.exports=(t,e,r={})=>(Wg(e),!r.nocomment&&e.charAt(0)==="#"?!1:new fu(e,r).match(t));Gq.exports=dn;var Hq=a$();dn.sep=Hq.sep;var ei=Symbol("globstar **");dn.GLOBSTAR=ei;var Uxe=v$(),w$={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},Vq="[^/]",zq=Vq+"*?",Hxe="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Vxe="(?:(?!(?:\\/|^)\\.).)*?",S$=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),_$=S$("().*{}+?[]^$\\!"),Gxe=S$("[.("),x$=/\/+/;dn.filter=(t,e={})=>(r,n,i)=>dn(r,t,e);var Ms=(t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r};dn.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return dn;let e=dn,r=(n,i,s)=>e(n,i,Ms(t,s));return r.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,Ms(t,s))}},r.Minimatch.defaults=n=>e.defaults(Ms(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,Ms(t,i)),r.defaults=n=>e.defaults(Ms(t,n)),r.makeRe=(n,i)=>e.makeRe(n,Ms(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,Ms(t,i)),r.match=(n,i,s)=>e.match(n,i,Ms(t,s)),r};dn.braceExpand=(t,e)=>k$(t,e);var k$=(t,e={})=>(Wg(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Uxe(t)),Kxe=1024*64,Wg=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>Kxe)throw new TypeError("pattern is too long")},Uq=Symbol("subparse");dn.makeRe=(t,e)=>new fu(t,e||{}).makeRe();dn.match=(t,e,r={})=>{let n=new fu(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var Yxe=t=>t.replace(/\\(.)/g,"$1"),Qxe=t=>t.replace(/\\([^-\]])/g,"$1"),Jxe=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),Xxe=t=>t.replace(/[[\]\\]/g,"\\$&"),fu=class{constructor(e,r){Wg(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(x$)),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===ei){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 k$(this.pattern,this.options)}parse(e,r){Wg(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return ei;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+=zq,s=!0;break;case"?":i+=Vq,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;_$[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:w$[l].open,close:w$[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("["+Xxe(Qxe(p))+"]"),i+=x}catch{i=i.substring(0,f)+"(?:$.)"}s=!0,c=!1;continue;default:g(),_$[x]&&!(x==="^"&&c)&&(i+="\\"),i+=x;break}}for(c&&(p=e.slice(d+1),y=this.parse(p,Uq),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==="*"?zq:h.type==="?"?Vq:"\\"+h.type;s=!0,i=i.slice(0,h.reStart)+x+"\\("+_}g(),o&&(i+="\\\\");let v=Gxe[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 K=0;K<z;K++)$=$.replace(/\)[+*?]?/,"");P=$;let te=P===""&&r!==Uq?"$":"";i=C+M+P+te+R}if(i!==""&&s&&(i="(?=.)"+i),v&&(i=b+i),r===Uq)return[i,s];if(!s)return Yxe(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?zq:r.dot?Hxe:Vxe,i=r.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?Jxe(a):a===ei?ei:a._src).reduce((a,u)=>(a[a.length-1]===ei&&u===ei||a.push(u),a),[]),o.forEach((a,u)=>{a!==ei||o[u-1]===ei||(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]=ei))}),o.filter(a=>a!==ei).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;Hq.sep!=="/"&&(e=e.split(Hq.sep).join("/")),e=e.split(x$),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 dn.defaults(e).Minimatch}};dn.Minimatch=fu});var U$=m((Sqt,e2)=>{"use strict";var z$=H("module"),L1e=H("path");e2.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=z$._nodeModulePaths(L1e.dirname(r)),s=e2.parent,o=new z$(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 wB=m((Eqt,vB)=>{"use strict";var s2=Object.defineProperty,I1e=Object.getOwnPropertyDescriptor,N1e=Object.getOwnPropertyNames,j1e=Object.prototype.hasOwnProperty,$1e=(t,e)=>{for(var r in e)s2(t,r,{get:e[r],enumerable:!0})},B1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of N1e(e))!j1e.call(t,i)&&i!==r&&s2(t,i,{get:()=>e[i],enumerable:!(n=I1e(e,i))||n.enumerable});return t},W1e=t=>B1e(s2({},"__esModule",{value:!0}),t),Ec={};$1e(Ec,{analyzeMetafile:()=>ySe,analyzeMetafileSync:()=>_Se,build:()=>pSe,buildSync:()=>bSe,default:()=>kSe,formatMessages:()=>mSe,formatMessagesSync:()=>wSe,initialize:()=>xSe,serve:()=>hSe,transform:()=>gSe,transformSync:()=>vSe,version:()=>dSe});vB.exports=W1e(Ec);function Y$(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(ri(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(ri(s)),e(n[s])}},r=new aB;return r.write32(0),r.write32(t.id<<1|+!t.isRequest),e(t.value),n2(r.buf,r.len-4,0),r.buf.subarray(0,r.len)}function z1e(t){let e=()=>{switch(r.read8()){case 0:return null;case 1:return!!r.read8();case 2:return r.read32();case 3:return yu(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[yu(r.read())]=e();return a}default:throw new Error("Invalid packet")}},r=new aB(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 aB=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);n2(this.buf,t,e)}write(t){let e=this._write(4+t.length);n2(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 uB(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}},ri,yu,r2;if(typeof TextEncoder<"u"&&typeof TextDecoder<"u"){let t=new TextEncoder,e=new TextDecoder;ri=r=>t.encode(r),yu=r=>e.decode(r),r2='new TextEncoder().encode("")'}else if(typeof Buffer<"u")ri=t=>Buffer.from(t),yu=t=>{let{buffer:e,byteOffset:r,byteLength:n}=t;return Buffer.from(e,r,n).toString()},r2='Buffer.from("")';else throw new Error("No UTF-8 codec found");if(!(ri("")instanceof Uint8Array))throw new Error(`Invariant violation: "${r2} 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 uB(t,e){return t[e++]|t[e++]<<8|t[e++]<<16|t[e++]<<24}function n2(t,e,r){t[r++]=e,t[r++]=e>>8,t[r++]=e>>16,t[r++]=e>>24}var Mr=JSON.stringify,Q$="warning",J$="silent";function X$(t){if(xr(t,"target"),t.indexOf(",")>=0)throw new Error(`Invalid target: ${t}`);return t}var Kg=()=>null,xt=t=>typeof t=="boolean"?null:"a boolean",U1e=t=>typeof t=="boolean"||typeof t=="object"&&!Array.isArray(t)?null:"a boolean or an object",qe=t=>typeof t=="string"?null:"a string",Yg=t=>t instanceof RegExp?null:"a RegExp object",gu=t=>typeof t=="number"&&t===(t|0)?null:"an integer",o2=t=>typeof t=="function"?null:"a function",nr=t=>Array.isArray(t)?null:"an array",ti=t=>typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"an object",H1e=t=>t instanceof WebAssembly.Module?null:"a WebAssembly.Module",V1e=t=>typeof t=="object"&&t!==null?null:"an array or an object",Z$=t=>typeof t=="object"&&!Array.isArray(t)?null:"an object or null",lB=t=>typeof t=="string"||typeof t=="boolean"?null:"a string or a boolean",G1e=t=>typeof t=="string"||typeof t=="object"&&t!==null&&!Array.isArray(t)?null:"a string or an object",K1e=t=>typeof t=="string"||Array.isArray(t)?null:"a string or an array",cB=t=>typeof t=="string"||t instanceof Uint8Array?null:"a string or a Uint8Array",Y1e=t=>typeof t=="string"||t instanceof URL?null:"a string or a URL";function Y(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(`${Mr(r)} must be ${s}`);return i}function ar(t,e,r){for(let n in t)if(!(n in e))throw new Error(`Invalid option ${r}: ${Mr(n)}`)}function Q1e(t){let e=Object.create(null),r=Y(t,e,"wasmURL",Y1e),n=Y(t,e,"wasmModule",H1e),i=Y(t,e,"worker",xt);return ar(t,e,"in initialize() call"),{wasmURL:r,wasmModule:n,worker:i}}function fB(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 ${Mr(r)} in mangle cache to map to either a string or false`)}}return e}function Zg(t,e,r,n,i){let s=Y(e,r,"color",xt),o=Y(e,r,"logLevel",qe),a=Y(e,r,"logLimit",gu);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 xr(t,e,r){if(typeof t!="string")throw new Error(`Expected value for ${e}${r!==void 0?" "+Mr(r):""} to be a string, got ${typeof t} instead`);return t}function dB(t,e,r){let n=Y(e,r,"legalComments",qe),i=Y(e,r,"sourceRoot",qe),s=Y(e,r,"sourcesContent",xt),o=Y(e,r,"target",K1e),a=Y(e,r,"format",qe),u=Y(e,r,"globalName",qe),l=Y(e,r,"mangleProps",Yg),c=Y(e,r,"reserveProps",Yg),f=Y(e,r,"mangleQuoted",xt),d=Y(e,r,"minify",xt),p=Y(e,r,"minifySyntax",xt),h=Y(e,r,"minifyWhitespace",xt),y=Y(e,r,"minifyIdentifiers",xt),b=Y(e,r,"drop",nr),g=Y(e,r,"charset",qe),v=Y(e,r,"treeShaking",xt),w=Y(e,r,"ignoreAnnotations",xt),_=Y(e,r,"jsx",qe),x=Y(e,r,"jsxFactory",qe),C=Y(e,r,"jsxFragment",qe),M=Y(e,r,"jsxImportSource",qe),P=Y(e,r,"jsxDev",xt),R=Y(e,r,"jsxSideEffects",xt),z=Y(e,r,"define",ti),$=Y(e,r,"logOverride",ti),te=Y(e,r,"supported",ti),K=Y(e,r,"pure",nr),ue=Y(e,r,"keepNames",xt),F=Y(e,r,"platform",qe);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(X$).join(",")}`):t.push(`--target=${X$(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:${xr(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}=${xr(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}=${xr($[T],"log override",T)}`)}if(te)for(let T in te){if(T.indexOf("=")>=0)throw new Error(`Invalid supported: ${T}`);let le=te[T];if(typeof le!="boolean")throw new Error(`Expected value for supported ${Mr(T)} to be a boolean, got ${typeof le} instead`);t.push(`--supported:${T}=${le}`)}if(K)for(let T of K)t.push(`--pure:${xr(T,"pure")}`);ue&&t.push("--keep-names")}function J1e(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),dB(o,e,u);let d=Y(e,u,"sourcemap",lB),p=Y(e,u,"bundle",xt),h=Y(e,u,"watch",U1e),y=Y(e,u,"splitting",xt),b=Y(e,u,"preserveSymlinks",xt),g=Y(e,u,"metafile",xt),v=Y(e,u,"outfile",qe),w=Y(e,u,"outdir",qe),_=Y(e,u,"outbase",qe),x=Y(e,u,"tsconfig",qe),C=Y(e,u,"resolveExtensions",nr),M=Y(e,u,"nodePaths",nr),P=Y(e,u,"mainFields",nr),R=Y(e,u,"conditions",nr),z=Y(e,u,"external",nr),$=Y(e,u,"packages",qe),te=Y(e,u,"alias",ti),K=Y(e,u,"loader",ti),ue=Y(e,u,"outExtension",ti),F=Y(e,u,"publicPath",qe),T=Y(e,u,"entryNames",qe),le=Y(e,u,"chunkNames",qe),ne=Y(e,u,"assetNames",qe),de=Y(e,u,"inject",nr),ae=Y(e,u,"banner",ti),se=Y(e,u,"footer",ti),he=Y(e,u,"entryPoints",V1e),ve=Y(e,u,"absWorkingDir",qe),De=Y(e,u,"stdin",ti),Je=(s=Y(e,u,"write",xt))!=null?s:i,we=Y(e,u,"allowOverwrite",xt),Ct=Y(e,u,"incremental",xt)===!0,dt=Y(e,u,"mangleCache",ti);if(u.plugins=!0,ar(e,u,`in ${t}() call`),d&&o.push(`--sourcemap${d===!0?"":`=${d}`}`),p&&o.push("--bundle"),we&&o.push("--allow-overwrite"),h)if(o.push("--watch"),typeof h=="boolean")f={};else{let ce=Object.create(null),ie=Y(h,ce,"onRebuild",o2);ar(h,ce,`on "watch" in ${t}() call`),f={onRebuild:ie}}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 ce=[];for(let ie of C){if(xr(ie,"resolve extension"),ie.indexOf(",")>=0)throw new Error(`Invalid resolve extension: ${ie}`);ce.push(ie)}o.push(`--resolve-extensions=${ce.join(",")}`)}if(F&&o.push(`--public-path=${F}`),T&&o.push(`--entry-names=${T}`),le&&o.push(`--chunk-names=${le}`),ne&&o.push(`--asset-names=${ne}`),P){let ce=[];for(let ie of P){if(xr(ie,"main field"),ie.indexOf(",")>=0)throw new Error(`Invalid main field: ${ie}`);ce.push(ie)}o.push(`--main-fields=${ce.join(",")}`)}if(R){let ce=[];for(let ie of R){if(xr(ie,"condition"),ie.indexOf(",")>=0)throw new Error(`Invalid condition: ${ie}`);ce.push(ie)}o.push(`--conditions=${ce.join(",")}`)}if(z)for(let ce of z)o.push(`--external:${xr(ce,"external")}`);if(te)for(let ce in te){if(ce.indexOf("=")>=0)throw new Error(`Invalid package name in alias: ${ce}`);o.push(`--alias:${ce}=${xr(te[ce],"alias",ce)}`)}if(ae)for(let ce in ae){if(ce.indexOf("=")>=0)throw new Error(`Invalid banner file type: ${ce}`);o.push(`--banner:${ce}=${xr(ae[ce],"banner",ce)}`)}if(se)for(let ce in se){if(ce.indexOf("=")>=0)throw new Error(`Invalid footer file type: ${ce}`);o.push(`--footer:${ce}=${xr(se[ce],"footer",ce)}`)}if(de)for(let ce of de)o.push(`--inject:${xr(ce,"inject")}`);if(K)for(let ce in K){if(ce.indexOf("=")>=0)throw new Error(`Invalid loader extension: ${ce}`);o.push(`--loader:${ce}=${xr(K[ce],"loader",ce)}`)}if(ue)for(let ce in ue){if(ce.indexOf("=")>=0)throw new Error(`Invalid out extension: ${ce}`);o.push(`--out-extension:${ce}=${xr(ue[ce],"out extension",ce)}`)}if(he)if(Array.isArray(he))for(let ce of he)a.push(["",xr(ce,"entry point")]);else for(let ce in he)a.push([ce,xr(he[ce],"entry point",ce)]);if(De){let ce=Object.create(null),ie=Y(De,ce,"contents",cB),Le=Y(De,ce,"resolveDir",qe),at=Y(De,ce,"sourcefile",qe),zt=Y(De,ce,"loader",qe);ar(De,ce,'in "stdin" object'),at&&o.push(`--sourcefile=${at}`),zt&&o.push(`--loader=${zt}`),Le&&(c=Le),typeof ie=="string"?l=ri(ie):ie instanceof Uint8Array&&(l=ie)}let pe=[];if(M)for(let ce of M)ce+="",pe.push(ce);return{entries:a,flags:o,write:Je,stdinContents:l,stdinResolveDir:c,absWorkingDir:ve,incremental:Ct,nodePaths:pe,watch:f,mangleCache:fB(dt)}}function X1e(t,e,r,n){let i=[],s=Object.create(null);Zg(i,e,s,r,n),dB(i,e,s);let o=Y(e,s,"sourcemap",lB),a=Y(e,s,"tsconfigRaw",G1e),u=Y(e,s,"sourcefile",qe),l=Y(e,s,"loader",qe),c=Y(e,s,"banner",qe),f=Y(e,s,"footer",qe),d=Y(e,s,"mangleCache",ti);return ar(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:fB(d)}}function pB(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=uB(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(Y$({id:C,isRequest:!0,value:_}))},f=(w,_)=>{if(r.didClose)throw new Error("The service is no longer running"+r.reason);t.writeToStdin(Y$({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:[mu(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 ${Mr(x)}`);return}let _=z1e(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++,te={},K={ref(){++z===1&&_&&_.ref()},unref(){--z===0&&(delete e[$],_&&_.unref())}};e[$]=te,K.ref(),Z1e(w,$,c,f,K,t,te,C,x,M,P,r,(ue,F)=>{try{R(ue,F)}finally{K.unref()}})},transform:({callName:w,refs:_,input:x,options:C,isTTY:M,fs:P,callback:R})=>{let z=hB(),$=te=>{try{if(typeof x!="string"&&!(x instanceof Uint8Array))throw new Error('The input to "transform" must be a string or a Uint8Array');let{flags:K,mangleCache:ue}=X1e(w,C,M,J$),F={command:"transform",flags:K,inputFS:te!==null,input:te!==null?ri(te):typeof x=="string"?ri(x):x};ue&&(F.mangleCache=ue),c(_,F,(T,le)=>{if(T)return R(new Error(T),null);let ne=Fs(le.errors,z),de=Fs(le.warnings,z),ae=1,se=()=>{if(--ae===0){let he={warnings:de,code:le.code,map:le.map};"legalComments"in le&&(he.legalComments=le?.legalComments),le.mangleCache&&(he.mangleCache=le?.mangleCache),R(null,he)}};if(ne.length>0)return R(hu("Transform failed",ne,de),null);le.codeFS&&(ae++,P.readFile(le.code,(he,ve)=>{he!==null?R(he,null):(le.code=ve,se())})),le.mapFS&&(ae++,P.readFile(le.map,(he,ve)=>{he!==null?R(he,null):(le.map=ve,se())})),se()})}catch(K){let ue=[];try{Zg(ue,C,{},M,J$)}catch{}let F=mu(K,t,z,void 0,"");c(_,{command:"error",flags:ue,error:F},()=>{F.detail=z.load(F.detail),R(hu("Transform failed",[F],[]),null)})}};if((typeof x=="string"||x instanceof Uint8Array)&&x.length>1024*1024){let te=$;$=()=>P.writeFile(x,te)}$(null)},formatMessages:({callName:w,refs:_,messages:x,options:C,callback:M})=>{let P=To(x,"messages",null,"");if(!C)throw new Error(`Missing second argument in ${w}() call`);let R={},z=Y(C,R,"kind",qe),$=Y(C,R,"color",xt),te=Y(C,R,"terminalWidth",gu);if(ar(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 K={command:"format-msgs",messages:P,isWarning:z==="warning"};$!==void 0&&(K.color=$),te!==void 0&&(K.terminalWidth=te),c(_,K,(ue,F)=>{if(ue)return M(new Error(ue),null);M(null,F.messages)})},analyzeMetafile:({callName:w,refs:_,metafile:x,options:C,callback:M})=>{C===void 0&&(C={});let P={},R=Y(C,P,"color",xt),z=Y(C,P,"verbose",xt);ar(C,P,`in ${w}() call`);let $={command:"analyze-metafile",metafile:x};R!==void 0&&($.color=R),z!==void 0&&($.verbose=z),c(_,$,(te,K)=>{if(te)return M(new Error(te),null);M(null,K.result)})}}}}function Z1e(t,e,r,n,i,s,o,a,u,l,c,f,d){let p=hB(),h=(v,w,_,x)=>{let C=[];try{Zg(C,a,{},l,Q$)}catch{}let M=mu(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(hu("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}tSe(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:te,watch:K,mangleCache:ue}=J1e(t,a,l,Q$,_),F={command:"build",key:e,entries:x,flags:C,write:M,stdinContents:P,stdinResolveDir:R,absWorkingDir:z||c,incremental:$,nodePaths:te};v&&(F.plugins=v),ue&&(F.mangleCache=ue);let T=u&&eSe(e,r,n,i,o,u,F),le,ne,de=(se,he)=>{se.outputFiles&&(he.outputFiles=se.outputFiles.map(rSe)),se.metafile&&(he.metafile=JSON.parse(se.metafile)),se.mangleCache&&(he.mangleCache=se.mangleCache),se.writeToStdout!==void 0&&console.log(yu(se.writeToStdout).replace(/\n$/,""))},ae=(se,he)=>{let ve={errors:Fs(se.errors,p),warnings:Fs(se.warnings,p)};de(se,ve),w(ve,h,()=>{if(ve.errors.length>0)return he(hu("Build failed",ve.errors,ve.warnings),null);if(se.rebuild){if(!le){let De=!1;le=()=>new Promise((Je,we)=>{if(De||f.didClose)throw new Error("Cannot rebuild");r(i,{command:"rebuild",key:e},(Ct,dt)=>{if(Ct)return he(hu("Build failed",[{id:"",pluginName:"",text:Ct,location:null,notes:[],detail:void 0}],[]),null);ae(dt,(pe,ce)=>{pe?we(pe):Je(ce)})})}),i.ref(),le.dispose=()=>{De||(De=!0,r(i,{command:"rebuild-dispose",key:e},()=>{}),i.unref())}}ve.rebuild=le}if(se.watch){if(!ne){let De=!1;i.ref(),ne=()=>{De||(De=!0,delete o["watch-rebuild"],r(i,{command:"watch-stop",key:e},()=>{}),i.unref())},K&&(o["watch-rebuild"]=(Je,we)=>{try{let Ct=we.args,dt={errors:Fs(Ct.errors,p),warnings:Fs(Ct.warnings,p)};de(Ct,dt),w(dt,h,()=>{if(dt.errors.length>0){K.onRebuild&&K.onRebuild(hu("Build failed",dt.errors,dt.warnings),null);return}dt.stop=ne,K.onRebuild&&K.onRebuild(null,dt)})}catch(Ct){console.error(Ct)}n(Je,{})})}ve.stop=ne}he(null,ve)})};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(K&&s.isSync)throw new Error('Cannot use "watch" with a synchronous build');r(i,F,(se,he)=>{if(se)return d(new Error(se),null);if(T){let ve=he,De=!1;i.ref();let Je={port:ve.port,host:ve.host,wait:T.wait,stop(){De||(De=!0,T.stop(),i.unref())}};return i.ref(),T.wait.then(i.unref,i.unref),d(null,Je)}return ae(he,d)})}}var eSe=(t,e,r,n,i,s,o)=>{let a={},u=Y(s,a,"port",gu),l=Y(s,a,"host",qe),c=Y(s,a,"servedir",qe),f=Y(s,a,"onRequest",o2),d=new Promise((p,h)=>{i["serve-wait"]=(y,b)=>{b.error!==null?h(new Error(b.error)):p(),r(y,{})}});return o.serve={},ar(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},()=>{})}}},tSe=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 _=Y(v,w,"name",qe);if(typeof _!="string"||_==="")throw new Error(`Plugin at index ${h} is missing a name`);try{let x=Y(v,w,"setup",o2);if(typeof x!="function")throw new Error("Plugin is missing a setup function");ar(v,w,`on plugin ${Mr(_)}`);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),te=Y(z,$,"pluginName",qe),K=Y(z,$,"importer",qe),ue=Y(z,$,"namespace",qe),F=Y(z,$,"resolveDir",qe),T=Y(z,$,"kind",qe),le=Y(z,$,"pluginData",Kg);return ar(z,$,"in resolve() call"),new Promise((ne,de)=>{let ae={command:"resolve",path:R,key:t,pluginName:_};if(te!=null&&(ae.pluginName=te),K!=null&&(ae.importer=K),ue!=null&&(ae.namespace=ue),F!=null&&(ae.resolveDir=F),T!=null)ae.kind=T;else throw new Error('Must specify "kind" when calling "resolve"');le!=null&&(ae.pluginData=u.store(le)),e(n,ae,(se,he)=>{se!==null?de(new Error(se)):ne({errors:Fs(he.errors,u),warnings:Fs(he.warnings,u),path:he.path,external:he.external,sideEffects:he.sideEffects,namespace:he.namespace,suffix:he.suffix,pluginData:u.load(he.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:',te=Hg(new Error($),i,"onResolve"),K={},ue=Y(R,K,"filter",Yg),F=Y(R,K,"namespace",qe);if(ar(R,K,`in onResolve() call for plugin ${Mr(_)}`),ue==null)throw new Error("onResolve() call is missing a filter");let T=p++;f[T]={name:_,callback:z,note:te},C.onResolve.push({id:T,filter:ue.source,namespace:F||""})},onLoad(R,z){let $='This error came from the "onLoad" callback registered here:',te=Hg(new Error($),i,"onLoad"),K={},ue=Y(R,K,"filter",Yg),F=Y(R,K,"namespace",qe);if(ar(R,K,`in onLoad() call for plugin ${Mr(_)}`),ue==null)throw new Error("onLoad() call is missing a filter");let T=p++;d[T]={name:_,callback:z,note:te},C.onLoad.push({id:T,filter:ue.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 ${Mr(x)} to return an object`);let R={},z=Y(P,R,"errors",nr),$=Y(P,R,"warnings",nr);ar(P,R,`from onStart() callback in plugin ${Mr(x)}`),z!=null&&_.errors.push(...To(z,"errors",u,x)),$!=null&&_.warnings.push(...To($,"warnings",u,x))}}catch(P){_.errors.push(mu(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 ${Mr(x)} to return an object`);let z={},$=Y(R,z,"pluginName",qe),te=Y(R,z,"path",qe),K=Y(R,z,"namespace",qe),ue=Y(R,z,"suffix",qe),F=Y(R,z,"external",xt),T=Y(R,z,"sideEffects",xt),le=Y(R,z,"pluginData",Kg),ne=Y(R,z,"errors",nr),de=Y(R,z,"warnings",nr),ae=Y(R,z,"watchFiles",nr),se=Y(R,z,"watchDirs",nr);ar(R,z,`from onResolve() callback in plugin ${Mr(x)}`),_.id=P,$!=null&&(_.pluginName=$),te!=null&&(_.path=te),K!=null&&(_.namespace=K),ue!=null&&(_.suffix=ue),F!=null&&(_.external=F),T!=null&&(_.sideEffects=T),le!=null&&(_.pluginData=u.store(le)),ne!=null&&(_.errors=To(ne,"errors",u,x)),de!=null&&(_.warnings=To(de,"warnings",u,x)),ae!=null&&(_.watchFiles=Vg(ae,"watchFiles")),se!=null&&(_.watchDirs=Vg(se,"watchDirs"));break}}catch(R){_={id:P,errors:[mu(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 ${Mr(x)} to return an object`);let z={},$=Y(R,z,"pluginName",qe),te=Y(R,z,"contents",cB),K=Y(R,z,"resolveDir",qe),ue=Y(R,z,"pluginData",Kg),F=Y(R,z,"loader",qe),T=Y(R,z,"errors",nr),le=Y(R,z,"warnings",nr),ne=Y(R,z,"watchFiles",nr),de=Y(R,z,"watchDirs",nr);ar(R,z,`from onLoad() callback in plugin ${Mr(x)}`),_.id=P,$!=null&&(_.pluginName=$),te instanceof Uint8Array?_.contents=te:te!=null&&(_.contents=ri(te)),K!=null&&(_.resolveDir=K),ue!=null&&(_.pluginData=u.store(ue)),F!=null&&(_.loader=F),T!=null&&(_.errors=To(T,"errors",u,x)),le!=null&&(_.warnings=To(le,"warnings",u,x)),ne!=null&&(_.watchFiles=Vg(ne,"watchFiles")),de!=null&&(_.watchDirs=Vg(de,"watchDirs"));break}}catch(R){_={id:P,errors:[mu(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 hB(){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=gB(e,s,r);if(o)return n={text:t.message,location:o},n}catch{}}}function mu(t,e,r,n,i){let s="Internal error",o=null;try{s=(t&&t.message||t)+""}catch{}try{o=gB(e,(t.stack+"").split(`
12
+ `),"")}catch{}return{id:"",pluginName:i,text:s,location:o,notes:n?[n]:[],detail:r?r.store(t):-1}}function gB(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:ri(u.slice(0,l)).length,length:ri(u.slice(l,l+c)).length,lineText:u+`
13
+ `+e.slice(1).join(`
14
+ `),suggestion:""}}break}}return null}function hu(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 Fs(t,e){for(let r of t)r.detail=e.load(r.detail);return t}function eB(t,e){if(t==null)return null;let r={},n=Y(t,r,"file",qe),i=Y(t,r,"namespace",qe),s=Y(t,r,"line",gu),o=Y(t,r,"column",gu),a=Y(t,r,"length",gu),u=Y(t,r,"lineText",qe),l=Y(t,r,"suggestion",qe);return ar(t,r,e),{file:n||"",namespace:i||"",line:s||0,column:o||0,length:a||0,lineText:u||"",suggestion:l||""}}function To(t,e,r,n){let i=[],s=0;for(let o of t){let a={},u=Y(o,a,"id",qe),l=Y(o,a,"pluginName",qe),c=Y(o,a,"text",qe),f=Y(o,a,"location",Z$),d=Y(o,a,"notes",nr),p=Y(o,a,"detail",Kg),h=`in element ${s} of "${e}"`;ar(o,a,h);let y=[];if(d)for(let b of d){let g={},v=Y(b,g,"text",qe),w=Y(b,g,"location",Z$);ar(b,g,h),y.push({text:v||"",location:eB(w,h)})}i.push({id:u||"",pluginName:l||n,text:c||"",location:eB(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(`${Mr(e)} must be an array of strings`);r.push(n)}return r}function rSe({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=yu(n)),r}}}var Mo=H("fs"),tB=H("os"),Fn=H("path"),Qg=process.env.ESBUILD_BINARY_PATH||Qg,rB="@esbuild/darwin-arm64",nB="@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"},iB={"android arm LE":"@esbuild/android-arm","android x64 LE":"@esbuild/android-x64"};function nSe(){let t,e,r=!1,n=`${process.platform} ${tB.arch()} ${tB.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 iB)t=iB[n],e="bin/esbuild",r=!0;else throw new Error(`Unsupported platform: ${n}`);return{pkg:t,subpath:e,isWASM:r}}function iSe(){let t=H.resolve("esbuild"),e=Fn.dirname(Fn.dirname(Fn.dirname(t)));if(Fn.basename(e)==="node_modules"){for(let r in Xg)try{let n=Xg[r];if(Mo.existsSync(Fn.join(e,n)))return n}catch{}for(let r in Jg)try{let n=Jg[r];if(Mo.existsSync(Fn.join(e,n)))return n}catch{}}return null}function sSe(t,e){let r=Fn.dirname(H.resolve("esbuild"));return Fn.join(r,`downloaded-${t.replace("/","-")}-${Fn.basename(e)}`)}function oSe(){if(Qg)return{binPath:Qg,isWASM:!1};let{pkg:t,subpath:e,isWASM:r}=nSe(),n;try{n=H.resolve(`${t}/${e}`)}catch(i){if(n=sSe(t,e),!Mo.existsSync(n)){try{H.resolve(t)}catch{let s=iSe();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===nB&&s===rB||t===rB&&s===nB)&&(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=H("pnpapi")}catch{}if(i){let s=i.getPackageInformation(i.topLevel).packageLocation,o=Fn.join(s,"node_modules",".cache","esbuild",`pnpapi-${t.replace("/","-")}-0.16.10-${Fn.basename(e)}`);return Mo.existsSync(o)||(Mo.mkdirSync(Fn.dirname(o),{recursive:!0}),Mo.copyFileSync(n,o),Mo.chmodSync(o,493)),{binPath:o,isWASM:r}}}return{binPath:n,isWASM:r}}var mB=H("child_process"),aSe=H("crypto"),i2=H("path"),Fo=H("fs"),uSe=H("os"),lSe=H("tty"),zr;if(process.env.ESBUILD_WORKER_THREADS!=="0"){try{zr=H("worker_threads")}catch{}let[t,e]=process.versions.node.split(".");(+t<12||+t==12&&+e<17||+t==13&&+e<13)&&(zr=void 0)}var sB,Cc=((sB=zr?.workerData)==null?void 0:sB.esbuildVersion)==="0.16.10",yB=()=>{if(!Qg&&(i2.basename(__filename)!=="main.js"||i2.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}=oSe();return e?["node",[t]]:[t,[]]}},kc=()=>lSe.isatty(2),cSe={readFile(t,e){try{let r=Fo.readFileSync(t,"utf8");try{Fo.unlinkSync(t)}catch{}e(null,r)}catch(r){e(r,null)}},writeFile(t,e){try{let r=bB();Fo.writeFileSync(r,t),e(r)}catch{e(null)}}},fSe={readFile(t,e){try{Fo.readFile(t,"utf8",(r,n)=>{try{Fo.unlink(t,()=>e(r,n))}catch{e(r,n)}})}catch(r){e(r,null)}},writeFile(t,e){try{let r=bB();Fo.writeFile(r,t,n=>e(n!==null?null:r))}catch{e(null)}}},dSe="0.16.10",pSe=t=>Io().build(t),hSe=(t,e)=>Io().serve(t,e),gSe=(t,e)=>Io().transform(t,e),mSe=(t,e)=>Io().formatMessages(t,e),ySe=(t,e)=>Io().analyzeMetafile(t,e),bSe=t=>{if(zr&&!Cc)return Ln||(Ln=tm(zr)),Ln.buildSync(t);let e;return em(r=>r.buildOrServe({callName:"buildSync",refs:null,serveOptions:null,options:t,isTTY:kc(),defaultWD:Lo,callback:(n,i)=>{if(n)throw n;e=i}})),e},vSe=(t,e)=>{if(zr&&!Cc)return Ln||(Ln=tm(zr)),Ln.transformSync(t,e);let r;return em(n=>n.transform({callName:"transformSync",refs:null,input:t,options:e||{},isTTY:kc(),fs:cSe,callback:(i,s)=>{if(i)throw i;r=s}})),r},wSe=(t,e)=>{if(zr&&!Cc)return Ln||(Ln=tm(zr)),Ln.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},_Se=(t,e)=>{if(zr&&!Cc)return Ln||(Ln=tm(zr)),Ln.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},oB=!1,xSe=t=>{if(t=Q1e(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(oB)throw new Error('Cannot call "initialize" more than once');return Io(),oB=!0,Promise.resolve()},Lo=process.cwd(),Gg,Io=()=>{if(Gg)return Gg;let[t,e]=yB(),r=mB.spawn(t,e.concat("--service=0.16.10","--ping"),{windowsHide:!0,stdio:["pipe","pipe","inherit"],cwd:Lo}),{readFromStdout:n,afterClose:i,service:s}=pB({writeToStdin(c){r.stdin.write(c,f=>{f&&i(f)})},readFileSync:Fo.readFileSync,isSync:!1,isWriteUnavailable:!1,esbuild:Ec});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:kc(),defaultWD:Lo,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:kc(),defaultWD:Lo,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:kc(),fs:fSe,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]=yB(),n=new Uint8Array,{readFromStdout:i,afterClose:s,service:o}=pB({writeToStdin(u){if(n.length!==0)throw new Error("Must run at most one command");n=u},isSync:!0,isWriteUnavailable:!1,esbuild:Ec});t(o);let a=mB.execFileSync(e,r.concat("--service=0.16.10"),{cwd:Lo,windowsHide:!0,input:n,maxBuffer:+process.env.ESBUILD_MAX_BUFFER||16*1024*1024});i(a),s(null)},bB=()=>i2.join(uSe.tmpdir(),`esbuild-${aSe.randomBytes(32).toString("hex")}`),Ln=null,tm=t=>{let{port1:e,port2:r}=new t.MessageChannel,n=new t.Worker(__filename,{workerData:{workerPort:r,defaultWD:Lo,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])}}},SSe=()=>{let t=zr.workerData.workerPort,e=zr.parentPort,r=n=>{let i={};if(n&&typeof n=="object")for(let s in n)i[s]=n[s];return i};try{let n=Io();Lo=zr.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)})}};Cc&&SSe();var kSe=Ec});var qB=m(u2=>{"use strict";Object.defineProperty(u2,"__esModule",{value:!0});function OB(t){return Object.prototype.toString.call(t)==="[object Object]"}function DSe(t){var e,r;return OB(t)===!1?!1:(e=t.constructor,e===void 0?!0:(r=e.prototype,!(OB(r)===!1||r.hasOwnProperty("isPrototypeOf")===!1)))}u2.isPlainObject=DSe});var re=m((Lqt,TB)=>{"use strict";var{isPlainObject:OSe}=qB();function qSe(t){return typeof t=="boolean"||t instanceof Boolean}function RB(t){return typeof t=="function"||t instanceof Function}function RSe(t){return t==null}function AB(t){return typeof t=="number"||t instanceof Number}function ASe(t){return t instanceof RegExp}function PB(t){return typeof t=="string"||t instanceof String}function PSe(t){return OSe(t)}function TSe(t,e=void 0){e?console.assert(t,e):console.assert(t)}function MSe(t){console.assert(RB(t),`"${t}" must be a function`)}function FSe(t){console.assert(AB(t),`"${t}" must be a number`)}function LSe(t){console.assert(PB(t),`"${t}" must be a string`)}TB.exports={isBoolean:qSe,isFunction:RB,isNullish:RSe,isNumber:AB,isRegExp:ASe,isString:PB,isPlainObject:PSe,assert:TSe,assertFunction:MSe,assertNumber:FSe,assertString:LSe}});var l2=m((Iqt,FB)=>{"use strict";var{isPlainObject:MB}=re();FB.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&&!MB(n)&&MB(i)?e:[e]}});var c2=m((Nqt,LB)=>{"use strict";var Dc=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}};LB.exports=Dc;Dc.default=Dc});var qc=m((jqt,IB)=>{"use strict";var ISe=c2(),Oc=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 ISe(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};IB.exports=Oc;Oc.default=Oc});var d2=m(($qt,NB)=>{"use strict";var f2=(t,e,r)=>t===void 0?e(r):t;NB.exports=t=>e=>{let r,n={get:(i,s)=>(r=f2(r,t,e),Reflect.get(r,s)),apply:(i,s,o)=>(r=f2(r,t,e),Reflect.apply(r,s,o)),construct:(i,s)=>(r=f2(r,t,e),Reflect.construct(r,s))};return new Proxy(function(){},n)}});var $B=m((Bqt,jB)=>{var p2="(".charCodeAt(0),h2=")".charCodeAt(0),rm="'".charCodeAt(0),g2='"'.charCodeAt(0),m2="\\".charCodeAt(0),bu="/".charCodeAt(0),y2=",".charCodeAt(0),b2=":".charCodeAt(0),nm="*".charCodeAt(0),NSe="u".charCodeAt(0),jSe="U".charCodeAt(0),$Se="+".charCodeAt(0),BSe=/^[a-f0-9?-]+$/i;jB.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===h2&&y?w=o:s&&s.type==="div"?(s.after=o,s.sourceEndIndex+=o.length):d===y2||d===b2||d===bu&&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===g2){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)===m2;)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===bu&&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===bu||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===bu||d===y2||d===b2)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(p2===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!==g2){n-=1;do if(a=!1,n=r.indexOf(")",n+1),~n)for(u=n;r.charCodeAt(u-1)===m2;)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(h2===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===m2&&(n+=1),n+=1,d=r.charCodeAt(n);while(n<p&&!(d<=32||d===rm||d===g2||d===y2||d===b2||d===bu||d===p2||d===nm&&b&&b.type==="function"&&b.value==="calc"||d===bu&&b.type==="function"&&b.value==="calc"||d===h2&&y));o=r.slice(f,n),p2===d?g=o:(NSe===o.charCodeAt(0)||jSe===o.charCodeAt(0))&&$Se===o.charCodeAt(1)&&BSe.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 WB=m((Wqt,BB)=>{BB.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 VB=m((zqt,HB)=>{function zB(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=UB(t.nodes,e),r!=="function"?i:n+"("+(t.before||"")+i+(t.after||"")+(t.unclosed?"":")")):n}function UB(t,e){var r,n;if(Array.isArray(t)){for(r="",n=t.length-1;~n;n-=1)r=zB(t[n],e)+r;return r}return zB(t,e)}HB.exports=UB});var KB=m((Uqt,GB)=>{var im="-".charCodeAt(0),sm="+".charCodeAt(0),v2=".".charCodeAt(0),WSe="e".charCodeAt(0),zSe="E".charCodeAt(0);function USe(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===v2&&n>=48&&n<=57}return e===v2?(r=t.charCodeAt(1),r>=48&&r<=57):e>=48&&e<=57}GB.exports=function(t){var e=0,r=t.length,n,i,s;if(r===0||!USe(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===v2&&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===WSe||n===zSe)&&(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 Ae=m((Hqt,JB)=>{var HSe=$B(),YB=WB(),QB=VB();function Ls(t){return this instanceof Ls?(this.nodes=HSe(t),this):new Ls(t)}Ls.prototype.toString=function(){return Array.isArray(this.nodes)?QB(this.nodes):""};Ls.prototype.walk=function(t,e){return YB(this.nodes,t,e),this};Ls.unit=KB();Ls.walk=YB;Ls.stringify=QB;JB.exports=Ls});var Re=m((Vqt,XB)=>{"use strict";XB.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((Gqt,ZB)=>{"use strict";ZB.exports=function(e){let r=e.raws;return r.value&&r.value.raw||e.value}});var w2=m((Kqt,e8)=>{"use strict";e8.exports=function(e){return/@\{.+?\}/.test(e)}});var _2=m((Yqt,t8)=>{"use strict";t8.exports=function(e){return/\$\(.+?\)/.test(e)}});var x2=m((Qqt,r8)=>{"use strict";r8.exports=function(e){return/#\{.+?\}/.test(e)}});var S2=m((Jqt,n8)=>{"use strict";n8.exports=function(e){return/\{.+?\}/.test(e)}});var Rc=m((Xqt,i8)=>{"use strict";var VSe=w2(),GSe=_2(),KSe=x2(),YSe=S2();i8.exports=function(e){return!!(VSe(e)||KSe(e)||YSe(e)||GSe(e))}});var hn=m((Zqt,s8)=>{"use strict";var QSe=Rc();s8.exports=function(e){let r=e;return/^[-+*/]/.test(e.charAt(0))&&(r=r.slice(1)),!(r.startsWith("$")||/^.+\.\$/.test(e)||r.startsWith("@")||QSe(r)||/__MSG_\S+__/.test(e))}});var qt=m((e2t,u8)=>{"use strict";u8.exports=function(e,r){if(!Array.isArray(e))return o8(e,r);for(let n of e){let i=o8(n,r);if(i)return i}return!1};function o8(t,e){if(!Array.isArray(e))return a8(t,e);for(let r of e){let n=a8(t,r);if(n)return n}return!1}function a8(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 xe=m((t2t,l8)=>{"use strict";var JSe=qt();l8.exports=function(e,r,n){return Boolean(e&&e[r]&&typeof n=="string"&&JSe(n,e[r]))}});var U=m((r2t,c8)=>{"use strict";c8.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=XSe(g&&g[r]||i,s);n.warn(v,b)};function XSe(t,e){let r=e||[];return typeof t=="string"?ZSe(t,...r):t(...r)}function ZSe(t,...e){return e.reduce((r,n)=>r.replace(/%[ds]/,String(n)),t)}});var j=m((n2t,f8)=>{"use strict";function eke(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}f8.exports=eke});var Bt=m((i2t,d8)=>{"use strict";d8.exports=function(e,r){let n=e.raws;return n.value?n.value.raw=r:e.value=r,e}});var om=m((s2t,p8)=>{"use strict";p8.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((o2t,g8)=>{"use strict";var tke=om(),{isPlainObject:rke}=re(),nke=new Set(["severity","message","reportDisables","disableFix"]);function ike(t,e,...r){let n=!0;for(let s of r)ske(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 ske(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||tke(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 ${Ac(i)} for rule "${e}"`);return}if(typeof n=="function"){n(i)||r(`Invalid option ${Ac(i)} for rule "${e}"`);return}if(Array.isArray(n)){for(let a of[i].flat())h8(n,a)||r(`Invalid option value ${Ac(a)} for rule "${e}"`);return}if(!rke(i)||typeof i!="object"||i==null){r(`Invalid option value ${Ac(i)} for rule "${e}": should be an object`);return}for(let[a,u]of Object.entries(i)){if(nke.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())h8(l,c)||r(`Invalid value ${Ac(c)} for option "${a}" of rule "${e}"`)}}}function h8(t,e){for(let r of[t].flat())if(typeof r=="function"&&r(e)||e===r)return!0;return!1}function Ac(t){return typeof t=="string"?`"${t}"`:`"${JSON.stringify(t)}"`}g8.exports=ike});var w8=m((a2t,v8)=>{"use strict";var um=Ae(),oke=Re(),ake=vt(),uke=hn(),lke=xe(),cke=U(),fke=j(),dke=Bt(),pke=N(),{isRegExp:hke,isString:gke,assert:mke}=re(),am="alpha-value-notation",b8=fke(am,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),yke={url:"https://stylelint.io/user-guide/rules/alpha-value-notation",fixable:!0},bke=new Set(["opacity","shape-image-threshold","fill-opacity","flood-opacity","stop-opacity","stroke-opacity"]),vke=new Set(["hsl","hsla","hwb","lab","lch","rgb","rgba"]),lm=(t,e,r)=>(n,i)=>{if(!pke(i,am,{actual:t,possible:["number","percentage"]},{actual:e,possible:{exceptProperties:[gke,hke]},optional:!0}))return;let o=Object.freeze({number:{expFunc:y8,fixFunc:_ke},percentage:{expFunc:m8,fixFunc:wke}});n.walkDecls(a=>{let u=!1,l=um(ake(a));l.walk(c=>{let f;if(bke.has(a.prop.toLowerCase()))f=xke(c);else{if(c.type!=="function"||!vke.has(c.value.toLowerCase()))return;f=Ske(c)}if(!f)return;let{value:d}=f;if(!uke(d)||!y8(d)&&!m8(d))return;let p=t;if(lke(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=oke(a)+f.sourceIndex,g=b+f.value.length;cke({message:b8.expected(y,h),node:a,index:b,endIndex:g,result:i,ruleName:am})}),u&&dke(a,l.toString())})};function wke(t){let e=Number(t);return`${Number((e*100).toPrecision(3))}%`}function _ke(t){let e=um.unit(t);mke(e);let r=Number(e.number);return Number((r/100).toPrecision(3)).toString()}function xke(t){return t.type==="word"||t.type==="function"?t:void 0}function Ske(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 m8(t){let e=um.unit(t);return e&&e.unit==="%"}function y8(t){let e=um.unit(t);return e&&e.unit===""}lm.ruleName=am;lm.messages=b8;lm.meta=yke;v8.exports=lm});var S8=m((u2t,x8)=>{"use strict";var kke=Ae(),Eke=vt(),Cke=xe(),Dke=U(),Oke=j(),qke=N(),{isRegExp:Rke,isString:Ake}=re(),cm="annotation-no-unknown",_8=Oke(cm,{rejected:t=>`Unexpected unknown annotation "${t}"`}),Pke={url:"https://stylelint.io/user-guide/rules/annotation-no-unknown"},fm=(t,e)=>(r,n)=>{if(!qke(n,cm,{actual:t},{actual:e,possible:{ignoreAnnotations:[Ake,Rke]},optional:!0}))return;r.walkDecls(s);function s(a){if(a.important||!a.value.includes("!"))return;kke(Eke(a)).walk(l=>{if(!o(l))return;let c=l.value,f=c.slice(1);Cke(e,"ignoreAnnotations",f)||Dke({message:_8.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=_8;fm.meta=Pke;x8.exports=fm});var Fr=m((l2t,k8)=>{"use strict";k8.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 rt=m((c2t,E8)=>{"use strict";E8.exports={prefix(t){let e=t.match(/^(-\w+-)/);return e&&e[0]||""},unprefixed(t){return t.replace(/^-\w+-/,"")}}});var O8=m((f2t,D8)=>{"use strict";var Tke=Fr(),Mke=U(),Fke=j(),Lke=N(),Ike=rt(),{isString:Nke}=re(),dm="at-rule-allowed-list",C8=Fke(dm,{rejected:t=>`Unexpected at-rule "${t}"`}),jke={url:"https://stylelint.io/user-guide/rules/at-rule-allowed-list"},Pc=t=>(e,r)=>{if(!Lke(r,dm,{actual:t,possible:[Nke]}))return;let i=[t].flat();e.walkAtRules(s=>{let o=s.name;Tke(s)&&(i.includes(Ike.unprefixed(o).toLowerCase())||Mke({message:C8.rejected(o),node:s,result:r,ruleName:dm,word:`@${o}`}))})};Pc.primaryOptionArray=!0;Pc.ruleName=dm;Pc.messages=C8;Pc.meta=jke;D8.exports=Pc});var A8=m((d2t,R8)=>{"use strict";var $ke=Fr(),Bke=U(),Wke=j(),zke=N(),Uke=rt(),{isString:Hke}=re(),pm="at-rule-disallowed-list",q8=Wke(pm,{rejected:t=>`Unexpected at-rule "${t}"`}),Vke={url:"https://stylelint.io/user-guide/rules/at-rule-disallowed-list"},Tc=t=>(e,r)=>{if(!zke(r,pm,{actual:t,possible:[Hke]}))return;let i=[t].flat();e.walkAtRules(s=>{let o=s.name;$ke(s)&&i.includes(Uke.unprefixed(o).toLowerCase())&&Bke({message:q8.rejected,messageArgs:[o],node:s,result:r,ruleName:pm,word:`@${s.name}`})})};Tc.primaryOptionArray=!0;Tc.ruleName=pm;Tc.messages=q8;Tc.meta=Vke;R8.exports=Tc});var vu=m((p2t,P8)=>{"use strict";P8.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 Is=m((h2t,T8)=>{"use strict";function hm(t){return t.source&&t.source.start&&t.source.start.line}T8.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 No=m((g2t,M8)=>{"use strict";M8.exports=function(e){return e===""||e===void 0?!1:/\n[\r\t ]*\n/.test(e)}});var L8=m((m2t,F8)=>{"use strict";function gm(t){return t&&t.source&&t.source.start&&t.source.start.line}F8.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 Qe=m((y2t,Ns)=>{"use strict";Ns.exports.isRoot=function(e){return e.type==="root"};Ns.exports.isRule=function(e){return e.type==="rule"};Ns.exports.isAtRule=function(e){return e.type==="atrule"};Ns.exports.isComment=function(e){return e.type==="comment"};Ns.exports.isDeclaration=function(e){return e.type==="decl"};Ns.exports.isValueFunction=function(e){return e.type==="function"};Ns.exports.hasSource=function(e){return Boolean(e.source)}});var mm=m((b2t,N8)=>{"use strict";var Gke=L8(),Kke=Is(),{isRoot:Yke,isComment:Qke}=Qe();function I8(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}N8.exports=function(e){if(!Qke(e))return!1;let r=Kke(e);if(I8(r,e))return!0;let n=Gke(e);if(n&&I8(e,n))return!0;let i=e.parent;return i!==void 0&&!Yke(i)&&i.index(e)===0&&e.raws.before!==void 0&&!e.raws.before.includes(`
70
+ `)}});var Mc=m((v2t,j8)=>{"use strict";var Jke=mm();j8.exports=function(e){let r=e.prev();return!r||r.type!=="comment"?!1:!Jke(r)}});var ir=m((w2t,$8)=>{"use strict";$8.exports=function(e){return e.nodes!==void 0}});var k2=m((_2t,W8)=>{"use strict";var Xke=Is(),B8=ir(),{isAtRule:Zke}=Qe();W8.exports=function(e){if(e.type!=="atrule")return!1;let r=Xke(e);return r===void 0?!1:Zke(r)&&!B8(r)&&!B8(e)}});var U8=m((x2t,z8)=>{"use strict";var eEe=Is(),tEe=k2(),{isAtRule:rEe}=Qe();z8.exports=function(e){if(!tEe(e))return!1;let r=eEe(e);return r&&rEe(r)?r.name===e.name:!1}});var wu=m((S2t,G8)=>{"use strict";var{isComment:H8,hasSource:V8}=Qe();G8.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||!H8(i)||typeof i.raws.before=="string"&&i.raws.before.includes(`
71
+ `)||!V8(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(!H8(a)||V8(a)&&a.source.end&&a.source.end.line!==s)return!1}return!1}});var Fc=m((k2t,Y8)=>{"use strict";var{isRoot:K8}=Qe();Y8.exports=function(e){if(K8(e))return!1;let r=e.parent;return r?K8(r)&&e===r.first:!1}});var _u=m((E2t,Q8)=>{"use strict";Q8.exports=function(e,r){return e.raws.before=e.raws.before?e.raws.before.replace(/(\r?\n\s*\n)+/g,r):"",e}});var t9=m((C2t,e9)=>{"use strict";var nEe=vu(),iEe=Is(),sEe=No(),oEe=Mc(),J8=k2(),X8=U8(),Z8=wu(),aEe=Fc(),uEe=Fr(),ni=xe(),lEe=_u(),cEe=U(),fEe=j(),{isAtRule:dEe}=Qe(),pEe=N(),{isString:hEe}=re(),ym="at-rule-empty-line-before",E2=fEe(ym,{expected:"Expected empty line before at-rule",rejected:"Unexpected empty line before at-rule"}),gEe={url:"https://stylelint.io/user-guide/rules/at-rule-empty-line-before",fixable:!0},bm=(t,e,r)=>(n,i)=>{if(!pEe(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:[hEe]},optional:!0}))return;let o=t;n.walkAtRules(a=>{let u=a.parent&&a.parent.type!=="root";if(aEe(a)||!uEe(a)||ni(e,"ignoreAtRules",a.name)||ni(e,"ignore","blockless-after-blockless")&&J8(a)||ni(e,"ignore","first-nested")&&Z8(a)||ni(e,"ignore","blockless-after-same-name-blockless")&&X8(a)||ni(e,"ignore","inside-block")&&u||ni(e,"ignore","after-comment")&&oEe(a))return;let l=sEe(a.raws.before),c=o==="always";if((ni(e,"except","after-same-name")&&mEe(a)||ni(e,"except","inside-block")&&u||ni(e,"except","first-nested")&&Z8(a)||ni(e,"except","blockless-after-blockless")&&J8(a)||ni(e,"except","blockless-after-same-name-blockless")&&X8(a))&&(c=!c),c===l)return;if(r.fix&&r.newline){c?nEe(a,r.newline):lEe(a,r.newline);return}let f=c?E2.expected:E2.rejected;cEe({message:f,node:a,result:i,ruleName:ym})})};function mEe(t){let e=iEe(t);return e&&dEe(e)&&e.name===t.name}bm.ruleName=ym;bm.messages=E2;bm.meta=gEe;e9.exports=bm});var i9=m((D2t,n9)=>{"use strict";var yEe=Fr(),bEe=U(),vEe=j(),wEe=N(),vm="at-rule-name-case",r9=vEe(vm,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),_Ee={url:"https://stylelint.io/user-guide/rules/at-rule-name-case",fixable:!0},wm=(t,e,r)=>(n,i)=>{if(!wEe(i,vm,{actual:t,possible:["lower","upper"]}))return;let o=t;n.walkAtRules(a=>{if(!yEe(a))return;let u=a.name,l=o==="lower"?u.toLowerCase():u.toUpperCase();if(u!==l){if(r.fix){a.name=l;return}bEe({message:r9.expected(u,l),node:a,ruleName:vm,result:i})}})};wm.ruleName=vm;wm.messages=r9;wm.meta=_Ee;n9.exports=wm});var C2=m((O2t,s9)=>{"use strict";var xEe=Fr(),SEe=U();s9.exports=function(e){e.root.walkAtRules(n=>{xEe(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}SEe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})},errTarget:`@${s.name}`})}}});var Lc=m((q2t,o9)=>{"use strict";o9.exports=function(e){let r=new Error(e);return r.code=78,r}});var Oi=m((R2t,a9)=>{"use strict";a9.exports=function(e){return!/[\n\r]/.test(e)}});var Ic=m((A2t,u9)=>{"use strict";u9.exports=function(e){return[" ",`
72
+ `," ","\r","\f"].includes(e)}});var $e=m((P2t,c9)=>{"use strict";var l9=Lc(),js=Oi(),xu=Ic(),{assertFunction:Nc,isNullish:$s}=re();c9.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(!js(v||h))return;u(n.expectedBeforeSingleLine);break;case"never-single-line":if(!js(v||h))return;c(n.rejectedBeforeSingleLine);break;case"always-multi-line":if(js(v||h))return;u(n.expectedBeforeMultiLine);break;case"never-multi-line":if(js(v||h))return;c(n.rejectedBeforeMultiLine);break;default:throw l9(`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(!js(v||h))return;d(n.expectedAfterSingleLine);break;case"never-single-line":if(!js(v||h))return;p(n.rejectedAfterSingleLine);break;case"always-multi-line":if(js(v||h))return;d(n.expectedAfterMultiLine);break;case"never-multi-line":if(js(v||h))return;p(n.rejectedAfterMultiLine);break;default:throw l9(`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];$s(v)||e==="space"&&v===" "&&(i.onlyOneChar||$s(w)||!xu(w))||(Nc(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}Nc(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];!$s(v)&&xu(v)&&(Nc(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];$s(v)||e==="newline"&&(v==="\r"&&w===`
74
+ `&&(i.onlyOneChar||$s(_)||!xu(_))||v===`
75
+ `&&(i.onlyOneChar||$s(w)||!xu(w)))||e==="space"&&v===" "&&(i.onlyOneChar||$s(w)||!xu(w))||(Nc(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];!$s(v)&&xu(v)&&(Nc(h),i.err(h(i.errTarget||b.charAt(g))))}return{before:s,beforeAllowingIndentation:a,after:o,afterOneOnly:f}}});var p9=m((T2t,d9)=>{"use strict";var kEe=C2(),EEe=j(),CEe=N(),DEe=$e(),_m="at-rule-name-newline-after",f9=EEe(_m,{expectedAfter:t=>`Expected newline after at-rule name "${t}"`}),OEe={url:"https://stylelint.io/user-guide/rules/at-rule-name-newline-after"},xm=t=>{let e=DEe("newline",t,f9);return(r,n)=>{CEe(n,_m,{actual:t,possible:["always","always-multi-line"]})&&kEe({root:r,result:n,locationChecker:e.afterOneOnly,checkedRuleName:_m})}};xm.ruleName=_m;xm.messages=f9;xm.meta=OEe;d9.exports=xm});var rs=m((M2t,h9)=>{"use strict";h9.exports=function(e){let r="";return e.raws.before&&(r+=e.raws.before),r+=e.toString(),r}});var y9=m((F2t,m9)=>{"use strict";var qEe=ir(),REe=Fr(),AEe=rs(),PEe=U(),TEe=j(),MEe=N(),FEe=$e(),Sm="at-rule-semicolon-space-before",g9=TEe(Sm,{expectedBefore:()=>'Expected single space before ";"',rejectedBefore:()=>'Unexpected whitespace before ";"'}),LEe={url:"https://stylelint.io/user-guide/rules/at-rule-semicolon-space-before"},km=t=>{let e=FEe("space",t,g9);return(r,n)=>{MEe(n,Sm,{actual:t,possible:["always","never"]})&&r.walkAtRules(s=>{if(qEe(s)||!REe(s))return;let o=AEe(s);e.before({source:o,index:o.length,err:a=>{PEe({message:a,node:s,index:o.length-1,result:n,ruleName:Sm})}})})}};km.ruleName=Sm;km.messages=g9;km.meta=LEe;m9.exports=km});var w9=m((L2t,v9)=>{"use strict";var IEe=C2(),NEe=j(),jEe=N(),$Ee=$e(),Em="at-rule-name-space-after",b9=NEe(Em,{expectedAfter:t=>`Expected single space after at-rule name "${t}"`}),BEe={url:"https://stylelint.io/user-guide/rules/at-rule-name-space-after",fixable:!0},Cm=(t,e,r)=>{let n=$Ee("space",t,b9);return(i,s)=>{jEe(s,Em,{actual:t,possible:["always","always-single-line"]})&&IEe({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=b9;Cm.meta=BEe;v9.exports=Cm});var Su=m((I2t,_9)=>{_9.exports=function(...e){return new Set([...e].reduce((r,n)=>[...r,...n],[]))}});var S9=m((N2t,x9)=>{"use strict";var WEe=Su(),zEe=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"]),UEe=WEe(zEe,["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"]);x9.exports={atKeywords:UEe}});var C9=m((j2t,E9)=>{"use strict";var HEe=Fr(),{atKeywords:VEe}=S9(),GEe=xe(),KEe=U(),YEe=j(),QEe=N(),JEe=rt(),{isRegExp:XEe,isString:ZEe}=re(),Dm="at-rule-no-unknown",k9=YEe(Dm,{rejected:t=>`Unexpected unknown at-rule "${t}"`}),eCe={url:"https://stylelint.io/user-guide/rules/at-rule-no-unknown"},Om=(t,e)=>(r,n)=>{QEe(n,Dm,{actual:t},{actual:e,possible:{ignoreAtRules:[ZEe,XEe]},optional:!0})&&r.walkAtRules(s=>{if(!HEe(s))return;let o=s.name;if(GEe(e,"ignoreAtRules",s.name)||JEe.prefix(o)||VEe.has(o.toLowerCase()))return;let a=`@${o}`;KEe({message:k9.rejected(a),node:s,ruleName:Dm,result:n,word:a})})};Om.ruleName=Dm;Om.messages=k9;Om.meta=eCe;E9.exports=Om});var ku=m(($2t,O9)=>{"use strict";var D9=rt(),tCe=new Set(["@-khtml-keyframes","@-moz-keyframes","@-ms-keyframes","@-ms-viewport","@-o-keyframes","@-o-viewport","@-webkit-keyframes","@resolution"]),rCe=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"]),nCe=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"]),iCe=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"]);O9.exports={atRuleName(t){return tCe.has(`@${t.toLowerCase()}`)},selector(t){return rCe.has(t.toLowerCase())},mediaFeatureName(t){return t.toLowerCase().includes("device-pixel-ratio")},property(t){let e=t.toLowerCase();return e==="-ms-interpolation-mode"?!0:D9.prefix(e).length===0?!1:nCe.has(D9.unprefixed(e))},propertyValue(t){return iCe.has(t.toLowerCase())},unprefix(t){return t.replace(/-\w+-/,"")}}});var P9=m((B2t,A9)=>{"use strict";var q9=ku(),sCe=Fr(),oCe=U(),aCe=j(),uCe=N(),qm="at-rule-no-vendor-prefix",R9=aCe(qm,{rejected:t=>`Unexpected vendor-prefixed at-rule "@${t}"`}),lCe={url:"https://stylelint.io/user-guide/rules/at-rule-no-vendor-prefix",fixable:!0},Rm=(t,e,r)=>(n,i)=>{uCe(i,qm,{actual:t})&&n.walkAtRules(o=>{if(!sCe(o))return;let a=o.name;if(a.startsWith("-")&&q9.atRuleName(a)){if(r.fix){o.name=q9.unprefix(o.name);return}oCe({message:R9.rejected(a),node:o,word:`@${a}`,result:i,ruleName:qm})}})};Rm.ruleName=qm;Rm.messages=R9;Rm.meta=lCe;A9.exports=Rm});var Am=m((W2t,T9)=>{"use strict";T9.exports=function(e){if(e!=null)return Array.isArray(e)?e:[e]}});var qi=m((z2t,M9)=>{"use strict";var{isPlainObject:cCe}=re();M9.exports=function(...e){return r=>cCe(r)?Object.values(r).flat().every(n=>e.some(i=>i(n))):!1}});var I9=m((U2t,L9)=>{"use strict";var fCe=Am(),dCe=Fr(),pCe=U(),hCe=j(),gCe=qi(),mCe=N(),{isString:yCe}=re(),Pm="at-rule-property-required-list",F9=hCe(Pm,{expected:(t,e)=>`Expected property "${t}" for at-rule "${e}"`}),bCe={url:"https://stylelint.io/user-guide/rules/at-rule-property-required-list"},Tm=t=>(e,r)=>{mCe(r,Pm,{actual:t,possible:[gCe(yCe)]})&&e.walkAtRules(i=>{if(!dCe(i))return;let{name:s,nodes:o}=i,a=s.toLowerCase(),u=fCe(t[a]);if(u)for(let l of u){let c=l.toLowerCase();o.find(d=>d.type==="decl"&&d.prop.toLowerCase()===c)||pCe({message:F9.expected(c,a),node:i,word:`@${i.name}`,result:r,ruleName:Pm})}})};Tm.ruleName=Pm;Tm.messages=F9;Tm.meta=bCe;L9.exports=Tm});var D2=m((H2t,N9)=>{"use strict";N9.exports=function t(e){return!e||!e.next?null:e.type==="comment"?t(e.next()):e}});var B9=m((V2t,$9)=>{"use strict";var vCe=ir(),wCe=Fr(),_Ce=D2(),xCe=rs(),SCe=U(),kCe=j(),ECe=N(),CCe=$e(),Mm="at-rule-semicolon-newline-after",j9=kCe(Mm,{expectedAfter:()=>'Expected newline after ";"'}),DCe={url:"https://stylelint.io/user-guide/rules/at-rule-semicolon-newline-after",fixable:!0},Fm=(t,e,r)=>{let n=CCe("newline",t,j9);return(i,s)=>{ECe(s,Mm,{actual:t,possible:["always"]})&&i.walkAtRules(a=>{let u=a.next();if(!u||vCe(a)||!wCe(a))return;let l=_Ce(u);l&&n.afterOneOnly({source:xCe(l),index:-1,err:c=>{r.fix?l.raws.before=r.newline+l.raws.before:SCe({message:c,node:a,index:a.toString().length+1,result:s,ruleName:Mm})}})})}};Fm.ruleName=Mm;Fm.messages=j9;Fm.meta=DCe;$9.exports=Fm});var z9=m((G2t,W9)=>{"use strict";W9.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 Bs=m((K2t,U9)=>{"use strict";var{isAtRule:OCe,isRule:qCe}=Qe();U9.exports=function(e,{noRawBefore:r}={noRawBefore:!1}){let n="",i=e.raws.before||"";if(r||(n+=i),qCe(e))n+=e.selector;else if(OCe(e))n+=`@${e.name}${e.raws.afterName||""}${e.params}`;else return"";return n+=e.raws.between||"",n}});var Sr=m((Y2t,H9)=>{"use strict";var RCe=Bs(),ACe=ir(),PCe=rs();H9.exports=function(e){return ACe(e)?PCe(e).slice(RCe(e).length):""}});var Ws=m((Q2t,V9)=>{"use strict";var TCe=ir();V9.exports=function(e){return TCe(e)&&e.nodes.length===0}});var K9=m((J2t,G9)=>{"use strict";G9.exports=function(e,r){return e.raws.after=e.raws.after?e.raws.after.replace(/(\r?\n\s*\n)+/g,r):"",e}});var Q9=m((X2t,Y9)=>{"use strict";var MCe=z9(),FCe=Sr(),LCe=ir(),ICe=Ws(),NCe=No(),jCe=Oi(),$Ce=xe(),BCe=K9(),WCe=U(),zCe=j(),UCe=N(),Lm="block-closing-brace-empty-line-before",O2=zCe(Lm,{expected:"Expected empty line before closing brace",rejected:"Unexpected empty line before closing brace"}),HCe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-empty-line-before",fixable:!0},Im=(t,e,r)=>(n,i)=>{if(!UCe(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(!LCe(a)||ICe(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 $Ce(e,"except","after-closing-brace")&&a.type==="atrule"&&!h.includes("decl")?t==="never":t==="always-multi-line"&&!jCe(FCe(a))})(),d=NCe(u);if(f===d)return;if(r.fix){let{newline:h}=r;if(typeof h!="string")return;f?MCe(a,h):BCe(a,h);return}let p=f?O2.expected:O2.rejected;WCe({message:p,result:i,ruleName:Lm,node:a,index:c})}};Im.ruleName=Lm;Im.messages=O2;Im.meta=HCe;Y9.exports=Im});var Z9=m((Z2t,X9)=>{"use strict";var VCe=Sr(),GCe=ir(),KCe=xe(),YCe=rs(),QCe=U(),JCe=j(),XCe=N(),ZCe=$e(),{isString:eDe}=re(),Nm="block-closing-brace-newline-after",J9=JCe(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'}),tDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-newline-after",fixable:!0},jm=(t,e,r)=>{let n=ZCe("newline",t,J9);return(i,s)=>{if(!XCe(s,Nm,{actual:t,possible:["always","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[eDe]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!GCe(u)||u.type==="atrule"&&KCe(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=YCe(f);p&&p.startsWith(";")&&(p=p.slice(1),d++),n.afterOneOnly({source:p,index:-1,lineCheckStr:VCe(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}}QCe({message:h,node:u,index:d,result:s,ruleName:Nm})}})}}};jm.ruleName=Nm;jm.messages=J9;jm.meta=tDe;X9.exports=jm});var t4=m((eRt,e4)=>{"use strict";var rDe=Sr(),nDe=ir(),iDe=Ws(),sDe=Oi(),oDe=U(),aDe=j(),uDe=N(),Bm="block-closing-brace-newline-before",$m=aDe(Bm,{expectedBefore:'Expected newline before "}"',expectedBeforeMultiLine:'Expected newline before "}" of a multi-line block',rejectedBeforeMultiLine:'Unexpected whitespace before "}" of a multi-line block'}),lDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-newline-before",fixable:!0},Wm=(t,e,r)=>(n,i)=>{if(!uDe(i,Bm,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;n.walkRules(o),n.walkAtRules(o);function o(a){if(!nDe(a)||iDe(a))return;let u=(a.raws.after||"").replace(/;+/,"");if(u===void 0)return;let l=!sDe(rDe(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}}oDe({message:p,result:i,ruleName:Bm,node:a,index:f})}}};Wm.ruleName=Bm;Wm.messages=$m;Wm.meta=lDe;e4.exports=Wm});var i4=m((tRt,n4)=>{"use strict";var cDe=Sr(),fDe=ir(),dDe=rs(),pDe=U(),hDe=j(),gDe=N(),mDe=$e(),zm="block-closing-brace-space-after",r4=hDe(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'}),yDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-after"},Um=t=>{let e=mDe("space",t,r4);return(r,n)=>{if(!gDe(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||!fDe(o))return;let u=o.toString().length,l=dDe(a);l&&l.startsWith(";")&&(l=l.slice(1),u++),e.after({source:l,index:-1,lineCheckStr:cDe(o),err:c=>{pDe({message:c,node:o,index:u,result:n,ruleName:zm})}})}}};Um.ruleName=zm;Um.messages=r4;Um.meta=yDe;n4.exports=Um});var a4=m((rRt,o4)=>{"use strict";var bDe=Sr(),vDe=ir(),wDe=Ws(),_De=U(),xDe=j(),SDe=N(),kDe=$e(),Hm="block-closing-brace-space-before",s4=xDe(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'}),EDe={url:"https://stylelint.io/user-guide/rules/block-closing-brace-space-before",fixable:!0},Vm=(t,e,r)=>{let n=kDe("space",t,s4);return(i,s)=>{if(!SDe(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(!vDe(u)||wDe(u))return;let l=bDe(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}}_De({message:d,node:u,index:f,result:s,ruleName:Hm})}})}}};Vm.ruleName=Hm;Vm.messages=s4;Vm.meta=EDe;o4.exports=Vm});var q2=m((nRt,p4)=>{"use strict";var{assertString:CDe}=re(),u4="stylelint-disable",l4="stylelint-disable-line",c4="stylelint-disable-next-line",f4="stylelint-enable",DDe=new Set([u4,l4,c4,f4]);function d4(t){let[e]=t.text.split(/\s/,1);return CDe(e),e}function ODe(t){let e=d4(t);return e!==void 0&&DDe.has(e)}p4.exports={DISABLE_COMMAND:u4,DISABLE_LINE_COMMAND:l4,DISABLE_NEXT_LINE_COMMAND:c4,ENABLE_COMMAND:f4,extractStylelintCommand:d4,isStylelintCommand:ODe}});var m4=m((iRt,g4)=>{"use strict";var qDe=Bs(),RDe=ir(),ADe=xe(),PDe=U(),TDe=j(),{isStylelintCommand:MDe}=q2(),{isComment:FDe}=Qe(),LDe=N(),{isBoolean:IDe}=re(),Gm="block-no-empty",h4=TDe(Gm,{rejected:"Unexpected empty block"}),NDe={url:"https://stylelint.io/user-guide/rules/block-no-empty"},Km=(t,e)=>(r,n)=>{if(!LDe(n,Gm,{actual:t,possible:IDe},{actual:e,possible:{ignore:["comments"]},optional:!0}))return;let s=ADe(e,"ignore","comments");r.walkRules(o),r.walkAtRules(o);function o(u){if(!RDe(u)||a(u))return;let l=qDe(u,{noRawBefore:!0}).length;u.raws.between===void 0&&l--,PDe({message:h4.rejected,node:u,start:u.positionBy({index:l}),result:n,ruleName:Gm})}function a(u){return u.nodes.some(l=>!(FDe(l)&&(s||MDe(l))))}};Km.ruleName=Gm;Km.messages=h4;Km.meta=NDe;g4.exports=Km});var v4=m((sRt,b4)=>{"use strict";var jDe=Bs(),$De=Sr(),BDe=ir(),WDe=Ws(),zDe=xe(),UDe=rs(),HDe=U(),VDe=j(),GDe=N(),KDe=$e(),Ym="block-opening-brace-newline-after",y4=VDe(Ym,{expectedAfter:()=>'Expected newline after "{"',expectedAfterMultiLine:()=>'Expected newline after "{" of a multi-line block',rejectedAfterMultiLine:()=>'Unexpected whitespace after "{" of a multi-line block'}),YDe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-after",fixable:!0},Qm=(t,e,r)=>{let n=KDe("newline",t,y4);return(i,s)=>{if(!GDe(s,Ym,{actual:t,possible:["always","rules","always-multi-line","never-multi-line"]},{actual:e,possible:{ignore:["rules"]},optional:!0}))return;zDe(e,"ignore","rules")||i.walkRules(a),i.walkAtRules(a);function a(u){if(!BDe(u)||WDe(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:UDe(f),index:-1,lineCheckStr:$De(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}}HDe({message:d,node:u,index:jDe(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=y4;Qm.meta=YDe;b4.exports=Qm});var S4=m((oRt,x4)=>{"use strict";var w4=Bs(),QDe=Sr(),JDe=ir(),XDe=Ws(),ZDe=U(),eOe=j(),tOe=N(),rOe=$e(),Jm="block-opening-brace-newline-before",_4=eOe(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'}),nOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-newline-before",fixable:!0},Xm=(t,e,r)=>{let n=rOe("newline",t,_4);return(i,s)=>{if(!tOe(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(!JDe(u)||XDe(u))return;let l=w4(u),c=w4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.beforeAllowingIndentation({lineCheckStr:QDe(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}}ZDe({message:d,node:u,index:f,result:s,ruleName:Jm})}})}}};Xm.ruleName=Jm;Xm.messages=_4;Xm.meta=nOe;x4.exports=Xm});var C4=m((aRt,E4)=>{"use strict";var iOe=Bs(),sOe=Sr(),oOe=ir(),aOe=Ws(),uOe=xe(),lOe=U(),cOe=j(),fOe=N(),dOe=$e(),Zm="block-opening-brace-space-after",k4=cOe(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'}),pOe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-after",fixable:!0},ey=(t,e,r)=>{let n=dOe("space",t,k4);return(i,s)=>{if(!fOe(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),uOe(e,"ignore","at-rules")||i.walkAtRules(a);function a(u){!oOe(u)||aOe(u)||n.after({source:sOe(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}}lOe({message:l,node:u,index:iOe(u,{noRawBefore:!0}).length+1,result:s,ruleName:Zm})}})}}};ey.ruleName=Zm;ey.messages=k4;ey.meta=pOe;E4.exports=ey});var T4=m((uRt,P4)=>{"use strict";var D4=Bs(),hOe=Sr(),gOe=ir(),mOe=Ws(),O4=xe(),yOe=U(),bOe=j(),vOe=N(),wOe=$e(),{isRegExp:q4,isString:R4}=re(),ty="block-opening-brace-space-before",A4=bOe(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'}),_Oe={url:"https://stylelint.io/user-guide/rules/block-opening-brace-space-before",fixable:!0},ry=(t,e,r)=>{let n=wOe("space",t,A4);return(i,s)=>{if(!vOe(s,ty,{actual:t,possible:["always","never","always-single-line","never-single-line","always-multi-line","never-multi-line"]},{actual:e,possible:{ignoreAtRules:[R4,q4],ignoreSelectors:[R4,q4]},optional:!0}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(!gOe(u)||mOe(u)||u.type==="atrule"&&O4(e,"ignoreAtRules",u.name)||u.type==="rule"&&O4(e,"ignoreSelectors",u.selector))return;let l=D4(u),c=D4(u,{noRawBefore:!0}),f=c.length-1;c[f-1]==="\r"&&(f-=1),n.before({source:l,index:l.length,lineCheckStr:hOe(u),err:d=>{if(r.fix){if(t.startsWith("always")){u.raws.between=" ";return}if(t.startsWith("never")){u.raws.between="";return}}yOe({message:d,node:u,index:f,result:s,ruleName:ty})}})}}};ry.ruleName=ty;ry.messages=A4;ry.meta=_Oe;P4.exports=ry});var Ri=m((lRt,M4)=>{"use strict";M4.exports=function(e){return!(!e.value||e.value.startsWith("#{"))}});var L4=m((cRt,F4)=>{"use strict";var xOe=Ri();F4.exports=function t(e){if(!xOe(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 B4=m((fRt,$4)=>{"use strict";var SOe=Ae(),kOe=Re(),EOe=vt(),COe=L4(),DOe=U(),OOe=j(),qOe=Bt(),{isValueFunction:ROe}=Qe(),AOe=N(),ny="color-function-notation",N4=OOe(ny,{expected:t=>`Expected ${t} color-function notation`}),POe={url:"https://stylelint.io/user-guide/rules/color-function-notation",fixable:!0},TOe=new Set(["rgba","hsla"]),MOe=new Set(["rgb","rgba","hsl","hsla"]),iy=(t,e,r)=>(n,i)=>{AOe(i,ny,{actual:t,possible:["modern","legacy"]})&&n.walkDecls(o=>{let a=!1,u=SOe(EOe(o));u.walk(l=>{if(!ROe(l)||!COe(l))return;let{value:c,sourceIndex:f,sourceEndIndex:d,nodes:p}=l;if(!MOe.has(c.toLowerCase())||t==="modern"&&!I4(l)||t==="legacy"&&I4(l))return;if(r.fix&&t==="modern"){let b=0;l.nodes=p.map(g=>(j4(g)&&(b<2?(g.type="space",g.value=R2(g.after),b++):(g.value="/",g.before=R2(g.before),g.after=R2(g.after))),g)),TOe.has(l.value.toLowerCase())&&(l.value=l.value.slice(0,-1)),a=!0;return}let h=kOe(o)+f,y=h+(d-f);DOe({message:N4.expected(t),node:o,index:h,endIndex:y,result:i,ruleName:ny})}),a&&qOe(o,u.toString())})};function R2(t){return t!==""?t:" "}function j4(t){return t.type==="div"&&t.value===","}function I4(t){return t.nodes&&t.nodes.some(e=>j4(e))}iy.ruleName=ny;iy.messages=N4;iy.meta=POe;$4.exports=iy});var U4=m((dRt,z4)=>{"use strict";var FOe=Re(),LOe=U(),IOe=j(),NOe=N(),jOe=Ae(),sy="color-hex-alpha",A2=IOe(sy,{expected:t=>`Expected alpha channel in "${t}"`,unexpected:t=>`Unexpected alpha channel in "${t}"`}),$Oe={url:"https://stylelint.io/user-guide/rules/color-hex-alpha"},BOe=/^#(?:[\da-f]{3,4}|[\da-f]{6}|[\da-f]{8})$/i,oy=t=>(e,r)=>{NOe(r,sy,{actual:t,possible:["always","never"]})&&e.walkDecls(i=>{jOe(i.value).walk(o=>{if(WOe(o))return!1;if(!zOe(o))return;let{value:a}=o;if(t==="always"&&W4(a)||t==="never"&&!W4(a))return;let u=FOe(i)+o.sourceIndex,l=u+a.length;LOe({message:t==="never"?A2.unexpected(a):A2.expected(a),node:i,index:u,endIndex:l,result:r,ruleName:sy})})})};function WOe({type:t,value:e}){return t==="function"&&e==="url"}function zOe({type:t,value:e}){return t==="word"&&BOe.test(e)}function W4(t){return t.length===5||t.length===9}oy.ruleName=sy;oy.messages=A2;oy.meta=$Oe;z4.exports=oy});var G4=m((pRt,V4)=>{"use strict";var UOe=Ae(),HOe=Re(),VOe=vt(),GOe=U(),KOe=j(),YOe=Bt(),QOe=N(),ay="color-hex-case",H4=KOe(ay,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),JOe={url:"https://stylelint.io/user-guide/rules/color-hex-case",fixable:!0},XOe=/^#[0-9A-Za-z]+/,ZOe=new Set(["url"]),uy=(t,e,r)=>(n,i)=>{QOe(i,ay,{actual:t,possible:["lower","upper"]})&&n.walkDecls(o=>{let a=UOe(VOe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(eqe(l))return!1;if(!tqe(l))return;let f=t==="lower"?c.toLowerCase():c.toUpperCase();if(c!==f){if(r.fix){l.value=f,u=!0;return}GOe({message:H4.expected(c,f),node:o,index:HOe(o)+l.sourceIndex,result:i,ruleName:ay})}}),u&&YOe(o,a.toString())})};function eqe({type:t,value:e}){return t==="function"&&ZOe.has(e.toLowerCase())}function tqe({type:t,value:e}){return t==="word"&&XOe.test(e)}uy.ruleName=ay;uy.messages=H4;uy.meta=JOe;V4.exports=uy});var Q4=m((hRt,Y4)=>{"use strict";var rqe=Ae(),nqe=Re(),iqe=vt(),sqe=U(),oqe=j(),aqe=Bt(),uqe=N(),ly="color-hex-length",K4=oqe(ly,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),lqe={url:"https://stylelint.io/user-guide/rules/color-hex-length",fixable:!0},cqe=/^#[0-9A-Za-z]+/,fqe=new Set(["url"]),cy=(t,e,r)=>(n,i)=>{uqe(i,ly,{actual:t,possible:["short","long"]})&&n.walkDecls(o=>{let a=rqe(iqe(o)),u=!1;a.walk(l=>{let{value:c}=l;if(gqe(l))return!1;if(!mqe(l)||t==="long"&&c.length!==4&&c.length!==5||t==="short"&&(c.length<6||!dqe(c)))return;let d=(t==="long"?hqe:pqe)(c);if(r.fix){l.value=d,u=!0;return}let p=nqe(o)+l.sourceIndex,h=p+l.value.length;sqe({message:K4.expected(c,d),node:o,index:p,endIndex:h,result:i,ruleName:ly})}),u&&aqe(o,a.toString())})};function dqe(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 pqe(t){let e="#";for(let r=1;r<t.length;r+=2)e+=t[r];return e}function hqe(t){let e="#";for(let r=1;r<t.length;r++)e+=t.charAt(r).repeat(2);return e}function gqe({type:t,value:e}){return t==="function"&&fqe.has(e.toLowerCase())}function mqe({type:t,value:e}){return t==="word"&&cqe.test(e)}cy.ruleName=ly;cy.messages=K4;cy.meta=lqe;Y4.exports=cy});var Eu=m((gRt,J4)=>{"use strict";var yqe=new Set(["animation","animation-name","font","font-family","counter-increment","grid-row","grid-column","grid-area","list-style","list-style-type"]),bqe=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"])]]),vqe=new Set(["transition-duration","transition-delay","animation-duration","animation-delay"]),wqe=new Set(["transition","animation"]);J4.exports={acceptCustomIdentsProperties:yqe,longhandSubPropertiesOfShorthandProperties:bqe,longhandTimeProperties:vqe,shorthandTimeProperties:wqe}});var l7=m(jo=>{Object.defineProperty(jo,"__esModule",{value:!0});var _qe={grad:.9,turn:360,rad:360/(2*Math.PI)},ns=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},ur=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},In=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},s7=function(t){return(t=isFinite(t)?t%360:0)>0?t:t+360},X4=function(t){return{r:In(t.r,0,255),g:In(t.g,0,255),b:In(t.b,0,255),a:In(t.a)}},P2=function(t){return{r:ur(t.r),g:ur(t.g),b:ur(t.b),a:ur(t.a,3)}},xqe=/^#([0-9a-f]{3,8})$/i,fy=function(t){var e=t.toString(16);return e.length<2?"0"+e:e},o7=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}},a7=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}},Z4=function(t){return{h:s7(t.h),s:In(t.s,0,100),l:In(t.l,0,100),a:In(t.a)}},e7=function(t){return{h:ur(t.h),s:ur(t.s),l:ur(t.l),a:ur(t.a,3)}},t7=function(t){return a7((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},jc=function(t){return{h:(e=o7(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},Sqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,kqe=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Eqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Cqe=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,F2={string:[[function(t){var e=xqe.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?ur(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?ur(parseInt(t.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(t){var e=Eqe.exec(t)||Cqe.exec(t);return e?e[2]!==e[4]||e[4]!==e[6]?null:X4({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=Sqe.exec(t)||kqe.exec(t);if(!e)return null;var r,n,i=Z4({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(_qe[n]||1)),s:Number(e[3]),l:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return t7(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 ns(e)&&ns(r)&&ns(n)?X4({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(!ns(e)||!ns(r)||!ns(n))return null;var o=Z4({h:Number(e),s:Number(r),l:Number(n),a:Number(s)});return t7(o)},"hsl"],[function(t){var e=t.h,r=t.s,n=t.v,i=t.a,s=i===void 0?1:i;if(!ns(e)||!ns(r)||!ns(n))return null;var o=function(a){return{h:s7(a.h),s:In(a.s,0,100),v:In(a.v,0,100),a:In(a.a)}}({h:Number(e),s:Number(r),v:Number(n),a:Number(s)});return a7(o)},"hsv"]]},r7=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]},u7=function(t){return typeof t=="string"?r7(t.trim(),F2.string):typeof t=="object"&&t!==null?r7(t,F2.object):[null,void 0]},T2=function(t,e){var r=jc(t);return{h:r.h,s:In(r.s+100*e,0,100),l:r.l,a:r.a}},M2=function(t){return(299*t.r+587*t.g+114*t.b)/1e3/255},n7=function(t,e){var r=jc(t);return{h:r.h,s:r.s,l:In(r.l+100*e,0,100),a:r.a}},$c=function(){function t(e){this.parsed=u7(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 ur(M2(this.rgba),2)},t.prototype.isDark=function(){return M2(this.rgba)<.5},t.prototype.isLight=function(){return M2(this.rgba)>=.5},t.prototype.toHex=function(){return e=P2(this.rgba),r=e.r,n=e.g,i=e.b,o=(s=e.a)<1?fy(ur(255*s)):"","#"+fy(r)+fy(n)+fy(i)+o;var e,r,n,i,s,o},t.prototype.toRgb=function(){return P2(this.rgba)},t.prototype.toRgbString=function(){return e=P2(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 e7(jc(this.rgba))},t.prototype.toHslString=function(){return e=e7(jc(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=o7(this.rgba),{h:ur(e.h),s:ur(e.s),v:ur(e.v),a:ur(e.a,3)};var e},t.prototype.invert=function(){return Ai({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),Ai(T2(this.rgba,e))},t.prototype.desaturate=function(e){return e===void 0&&(e=.1),Ai(T2(this.rgba,-e))},t.prototype.grayscale=function(){return Ai(T2(this.rgba,-1))},t.prototype.lighten=function(e){return e===void 0&&(e=.1),Ai(n7(this.rgba,e))},t.prototype.darken=function(e){return e===void 0&&(e=.1),Ai(n7(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"?Ai({r:(r=this.rgba).r,g:r.g,b:r.b,a:e}):ur(this.rgba.a,3);var r},t.prototype.hue=function(e){var r=jc(this.rgba);return typeof e=="number"?Ai({h:e,s:r.s,l:r.l,a:r.a}):ur(r.h)},t.prototype.isEqual=function(e){return this.toHex()===Ai(e).toHex()},t}(),Ai=function(t){return t instanceof $c?t:new $c(t)},i7=[];jo.Colord=$c,jo.colord=Ai,jo.extend=function(t){t.forEach(function(e){i7.indexOf(e)<0&&(e($c,F2),i7.push(e))})},jo.getFormat=function(t){return u7(t)[1]},jo.random=function(){return new $c({r:255*Math.random(),g:255*Math.random(),b:255*Math.random()})}});var f7=m((yRt,c7)=>{c7.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 y7=m((bRt,m7)=>{var Dqe={grad:.9,turn:360,rad:360/(2*Math.PI)},L2=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},I2=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},h7=function(t){return{h:(e=t.h,(e=isFinite(e)?e%360:0)>0?e:e+360),w:I2(t.w,0,100),b:I2(t.b,0,100),a:I2(t.a)};var e},d7=function(t){return{h:dy(t.h),w:dy(t.w),b:dy(t.b),a:dy(t.a,3)}},p7=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}},g7=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})},Oqe=function(t){var e=t.h,r=t.w,n=t.b,i=t.a,s=i===void 0?1:i;if(!L2(e)||!L2(r)||!L2(n))return null;var o=h7({h:Number(e),w:Number(r),b:Number(n),a:Number(s)});return g7(o)},qqe=/^hwb\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,Rqe=function(t){var e=qqe.exec(t);if(!e)return null;var r,n,i=h7({h:(r=e[1],n=e[2],n===void 0&&(n="deg"),Number(r)*(Dqe[n]||1)),w:Number(e[3]),b:Number(e[4]),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return g7(i)};m7.exports=function(t,e){t.prototype.toHwb=function(){return d7(p7(this.rgba))},t.prototype.toHwbString=function(){return r=d7(p7(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([Rqe,"hwb"]),e.object.push([Oqe,"hwb"])}});var v7=m((vRt,b7)=>{var N2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},Bc=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},ii=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},j2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},$2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,.4166666666666667)-.055:12.92*t)},B2=96.422,W2=100,z2=82.521,Aqe=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:$2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:$2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:$2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:ii(r.r,0,255),g:ii(r.g,0,255),b:ii(r.b,0,255),a:ii(r.a)}},Pqe=function(t){var e=j2(t.r),r=j2(t.g),n=j2(t.b);return function(i){return{x:ii(i.x,0,B2),y:ii(i.y,0,W2),z:ii(i.z,0,z2),a:ii(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,Cu=24389/27,Tqe=function(t){var e=t.l,r=t.a,n=t.b,i=t.alpha,s=i===void 0?1:i;if(!N2(e)||!N2(r)||!N2(n))return null;var o=function(a){return{l:ii(a.l,0,400),a:a.a,b:a.b,alpha:ii(a.alpha)}}({l:Number(e),a:Number(r),b:Number(n),alpha:Number(s)});return Mqe(o)},Mqe=function(t){var e=(t.l+16)/116,r=t.a/500+e,n=e-t.b/200;return Aqe({x:(Math.pow(r,3)>Wc?Math.pow(r,3):(116*r-16)/Cu)*B2,y:(t.l>8?Math.pow((t.l+16)/116,3):t.l/Cu)*W2,z:(Math.pow(n,3)>Wc?Math.pow(n,3):(116*n-16)/Cu)*z2,a:t.alpha})};b7.exports=function(t,e){t.prototype.toLab=function(){return n=Pqe(this.rgba),s=n.y/W2,o=n.z/z2,i=(i=n.x/B2)>Wc?Math.cbrt(i):(Cu*i+16)/116,r={l:116*(s=s>Wc?Math.cbrt(s):(Cu*s+16)/116)-16,a:500*(i-s),b:200*(s-(o=o>Wc?Math.cbrt(o):(Cu*o+16)/116)),alpha:n.a},{l:Bc(r.l,2),a:Bc(r.a,2),b:Bc(r.b,2),alpha:Bc(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,te=Math.abs(z-R);te>180&&z<=R?$+=360:te>180&&z>R&&($-=360);var K=R+z;te<=180?K/=2:K=(R+z<360?K+360:K-360)/2;var ue=1-.17*Math.cos(h*(K-30))+.24*Math.cos(2*h*K)+.32*Math.cos(h*(3*K+6))-.2*Math.cos(h*(4*K-63)),F=c-a,T=M-C,le=2*Math.sin(h*$/2)*Math.pow(C*M,.5),ne=1+.015*Math.pow(g-50,2)/Math.pow(20+Math.pow(g-50,2),.5),de=1+.045*P,ae=1+.015*P*ue,se=30*Math.exp(-1*Math.pow((K-275)/25,2)),he=-2*Math.pow(v/(v+Math.pow(25,7)),.5)*Math.sin(2*h*se);return Math.pow(Math.pow(F/1/ne,2)+Math.pow(T/1/de,2)+Math.pow(le/1/ae,2)+he*T*le/(1*de*1*ae),.5)}(this.toLab(),n.toLab())/100;return ii(Bc(i,3))},e.object.push([Tqe,"lab"])}});var E7=m((wRt,k7)=>{var Fqe={grad:.9,turn:360,rad:360/(2*Math.PI)},U2=function(t){return typeof t=="string"?t.length>0:typeof t=="number"},Du=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=Math.pow(10,e)),Math.round(r*t)/r+0},is=function(t,e,r){return e===void 0&&(e=0),r===void 0&&(r=1),t>r?r:t>e?t:e},H2=function(t){var e=t/255;return e<.04045?e/12.92:Math.pow((e+.055)/1.055,2.4)},V2=function(t){return 255*(t>.0031308?1.055*Math.pow(t,1/2.4)-.055:12.92*t)},G2=96.422,K2=100,Y2=82.521,Lqe=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:V2(.032404542*n.x-.015371385*n.y-.004985314*n.z),g:V2(-.00969266*n.x+.018760108*n.y+41556e-8*n.z),b:V2(556434e-9*n.x-.002040259*n.y+.010572252*n.z),a:t.a},{r:is(r.r,0,255),g:is(r.g,0,255),b:is(r.b,0,255),a:is(r.a)}},Iqe=function(t){var e=H2(t.r),r=H2(t.g),n=H2(t.b);return function(i){return{x:is(i.x,0,G2),y:is(i.y,0,K2),z:is(i.z,0,Y2),a:is(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}))},zc=216/24389,Ou=24389/27,x7=function(t){return{l:is(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},w7=function(t){return{l:Du(t.l,2),c:Du(t.c,2),h:Du(t.h,2),a:Du(t.a,3)}},Nqe=function(t){var e=t.l,r=t.c,n=t.h,i=t.a,s=i===void 0?1:i;if(!U2(e)||!U2(r)||!U2(n))return null;var o=x7({l:Number(e),c:Number(r),h:Number(n),a:Number(s)});return S7(o)},_7=function(t){var e=function(s){var o=Iqe(s),a=o.x/G2,u=o.y/K2,l=o.z/Y2;return a=a>zc?Math.cbrt(a):(Ou*a+16)/116,{l:116*(u=u>zc?Math.cbrt(u):(Ou*u+16)/116)-16,a:500*(a-u),b:200*(u-(l=l>zc?Math.cbrt(l):(Ou*l+16)/116)),alpha:o.a}}(t),r=Du(e.a,3),n=Du(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}},S7=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,Lqe({x:(Math.pow(n,3)>zc?Math.pow(n,3):(116*n-16)/Ou)*G2,y:(e.l>8?Math.pow((e.l+16)/116,3):e.l/Ou)*K2,z:(Math.pow(i,3)>zc?Math.pow(i,3):(116*i-16)/Ou)*Y2,a:e.alpha});var e,r,n,i},jqe=/^lch\(\s*([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)\s+([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,$qe=function(t){var e=jqe.exec(t);if(!e)return null;var r,n,i=x7({l:Number(e[1]),c:Number(e[2]),h:(r=e[3],n=e[4],n===void 0&&(n="deg"),Number(r)*(Fqe[n]||1)),a:e[5]===void 0?1:Number(e[5])/(e[6]?100:1)});return S7(i)};k7.exports=function(t,e){t.prototype.toLch=function(){return w7(_7(this.rgba))},t.prototype.toLchString=function(){return r=w7(_7(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([$qe,"lch"]),e.object.push([Nqe,"lch"])}});var O7=m((_Rt,D7)=>{var{colord:Q2,extend:Bqe}=l7(),C7=Ae(),Wqe=f7(),zqe=y7(),Uqe=v7(),Hqe=E7();Bqe([Wqe,zqe,Uqe,Hqe,(t,e)=>{e.string.push([Vqe,"hwb-with-comma"])},(t,e)=>{e.string.push([Gqe,"gray"])}]);D7.exports={colord:Q2};function Vqe(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=Q2(`hwb(${e} ${r} ${n}${i?` / ${i}`:""})`);return o.isValid()?o.rgba:null}function Gqe(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=C7.unit(e.trim());if(!i||!["","%"].includes(i.unit))return null;let s={l:Number(i.number),a:0,b:0};if(r){let o=C7.unit(r.trim());if(!o||!["","%"].includes(o.unit))return null;s={...s,alpha:Number(o.number)/(o.unit?100:1)}}return Q2(s).rgba}});var M7=m((xRt,T7)=>{"use strict";var q7=Re(),Kqe=Ri(),Yqe=hn(),R7=xe(),{acceptCustomIdentsProperties:Qqe}=Eu(),Jqe=U(),Xqe=j(),Zqe=N(),A7=Ae(),{isRegExp:e2e,isString:t2e}=re(),{colord:P7}=O7(),py="color-named",J2=Xqe(py,{expected:(t,e)=>`Expected "${e}" to be "${t}"`,rejected:t=>`Unexpected named color "${t}"`}),r2e={url:"https://stylelint.io/user-guide/rules/color-named"},n2e=new Set(["word","function"]),hy=(t,e)=>(r,n)=>{if(!Zqe(n,py,{actual:t,possible:["never","always-where-possible"]},{actual:e,possible:{ignoreProperties:[t2e,e2e],ignore:["inside-function"]},optional:!0}))return;r.walkDecls(o=>{Qqe.has(o.prop)||R7(e,"ignoreProperties",o.prop)||A7(o.value).walk(a=>{let u=a.value,l=a.type,c=a.sourceIndex;if(R7(e,"ignore","inside-function")&&l==="function"||!Kqe(a))return!1;if(!Yqe(u)||!n2e.has(l))return;if(t==="never"&&l==="word"&&/^[a-z]+$/iu.test(u)&&u.toLowerCase()!=="transparent"&&P7(u).isValid()){s(J2.rejected(u),o,q7(o)+c,u.length);return}if(t!=="always-where-possible")return;let f=null,d=null;if(l==="function")f=A7.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=P7(d);if(!p.isValid())return;let h=p.toName();h&&h.toLowerCase()!=="transparent"&&s(J2.expected(h,d),o,q7(o)+c,f.length)})});function s(o,a,u,l){Jqe({result:n,ruleName:py,message:o,node:a,index:u,endIndex:u+l})}};hy.ruleName=py;hy.messages=J2;hy.meta=r2e;T7.exports=hy});var I7=m((SRt,L7)=>{"use strict";var i2e=Ae(),s2e=Re(),o2e=vt(),a2e=U(),u2e=j(),l2e=N(),gy="color-no-hex",F7=u2e(gy,{rejected:t=>`Unexpected hex color "${t}"`}),c2e={url:"https://stylelint.io/user-guide/rules/color-no-hex"},f2e=/^#[0-9A-Za-z]+/,d2e=new Set(["url"]),my=t=>(e,r)=>{l2e(r,gy,{actual:t})&&e.walkDecls(i=>{i2e(o2e(i)).walk(o=>{if(p2e(o))return!1;if(!h2e(o))return;let a=s2e(i)+o.sourceIndex,u=a+o.value.length;a2e({message:F7.rejected,messageArgs:[o.value],node:i,index:a,endIndex:u,result:r,ruleName:gy})})})};function p2e({type:t,value:e}){return t==="function"&&d2e.has(e.toLowerCase())}function h2e({type:t,value:e}){return t==="word"&&f2e.test(e)}my.ruleName=gy;my.messages=F7;my.meta=c2e;L7.exports=my});var j7=m((kRt,N7)=>{"use strict";N7.exports=function(e){return!e.includes("[")}});var B7=m((ERt,$7)=>{"use strict";$7.exports=function(e){return/^#(?:[0-9a-fA-F]{3,4}|[0-9a-fA-F]{6}|[0-9a-fA-F]{8})$/.test(e)}});var U7=m((CRt,z7)=>{"use strict";var g2e=Re(),m2e=j7(),y2e=B7(),b2e=U(),v2e=j(),w2e=N(),_2e=Ae(),yy="color-no-invalid-hex",W7=v2e(yy,{rejected:t=>`Unexpected invalid hex color "${t}"`}),x2e={url:"https://stylelint.io/user-guide/rules/color-no-invalid-hex"},by=t=>(e,r)=>{w2e(r,yy,{actual:t})&&e.walkDecls(i=>{m2e(i.value)&&_2e(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||y2e(l))return;let c=g2e(i)+a,f=c+l.length;b2e({message:W7.rejected(l),node:i,index:c,endIndex:f,result:r,ruleName:yy})})})};by.ruleName=yy;by.messages=W7;by.meta=x2e;z7.exports=by});var qu=m((DRt,H7)=>{"use strict";H7.exports=function(e){return!("inline"in e||"inline"in e.raws)}});var G7=m((ORt,V7)=>{"use strict";var S2e=vu(),k2e=No(),E2e=Mc(),C2e=wu(),D2e=Fc(),O2e=mm(),q2e=qu(),vy=xe(),R2e=_u(),A2e=U(),P2e=j(),T2e=N(),{isRegExp:M2e,isString:F2e}=re(),wy="comment-empty-line-before",X2=P2e(wy,{expected:"Expected empty line before comment",rejected:"Unexpected empty line before comment"}),L2e={url:"https://stylelint.io/user-guide/rules/comment-empty-line-before",fixable:!0},I2e="stylelint-",_y=(t,e,r)=>(n,i)=>{T2e(i,wy,{actual:t,possible:["always","never"]},{actual:e,possible:{except:["first-nested"],ignore:["stylelint-commands","after-comment"],ignoreComments:[F2e,M2e]},optional:!0})&&n.walkComments(o=>{if(D2e(o)||o.text.startsWith(I2e)&&vy(e,"ignore","stylelint-commands")||vy(e,"ignore","after-comment")&&E2e(o)||vy(e,"ignoreComments",o.text)||O2e(o)||!q2e(o))return;let a=(()=>vy(e,"except","first-nested")&&C2e(o)?!1:t==="always")(),u=o.raws.before||"",l=k2e(u);if(a===l)return;if(r.fix){if(typeof r.newline!="string")return;a?S2e(o,r.newline):R2e(o,r.newline);return}let c=a?X2.expected:X2.rejected;A2e({message:c,node:o,result:i,ruleName:wy})})};_y.ruleName=wy;_y.messages=X2;_y.meta=L2e;V7.exports=_y});var Q7=m((qRt,Y7)=>{"use strict";var N2e=qu(),j2e=U(),$2e=j(),B2e=N(),xy="comment-no-empty",K7=$2e(xy,{rejected:"Unexpected empty comment"}),W2e={url:"https://stylelint.io/user-guide/rules/comment-no-empty"},Sy=t=>(e,r)=>{B2e(r,xy,{actual:t})&&e.walkComments(i=>{N2e(i)&&(i.text&&i.text.length!==0||j2e({message:K7.rejected,node:i,result:r,ruleName:xy}))})};Sy.ruleName=xy;Sy.messages=K7;Sy.meta=W2e;Y7.exports=Sy});var eW=m((RRt,Z7)=>{"use strict";var z2e=U(),U2e=j(),H2e=N(),{isRegExp:V2e,isString:J7}=re(),ky="comment-pattern",X7=U2e(ky,{expected:t=>`Expected comment to match pattern "${t}"`}),G2e={url:"https://stylelint.io/user-guide/rules/comment-pattern"},Ey=t=>(e,r)=>{if(!H2e(r,ky,{actual:t,possible:[V2e,J7]}))return;let i=J7(t)?new RegExp(t):t;e.walkComments(s=>{let o=s.text;i.test(o)||z2e({message:X7.expected(t),node:s,result:r,ruleName:ky})})};Ey.ruleName=ky;Ey.messages=X7;Ey.meta=G2e;Z7.exports=Ey});var nW=m((ARt,rW)=>{"use strict";var K2e=qu(),tW=Ic(),Y2e=U(),Q2e=j(),J2e=N(),Cy="comment-whitespace-inside",Uc=Q2e(Cy,{expectedOpening:'Expected whitespace after "/*"',rejectedOpening:'Unexpected whitespace after "/*"',expectedClosing:'Expected whitespace before "*/"',rejectedClosing:'Unexpected whitespace before "*/"'}),X2e={url:"https://stylelint.io/user-guide/rules/comment-whitespace-inside",fixable:!0};function Z2e(t){t.text.startsWith("*")?t.text=t.text.replace(/^(\*+)/,"$1 "):t.raws.left=" "}function eRe(t){t.text[t.text.length-1]==="*"?t.text=t.text.replace(/(\*+)$/," $1"):t.raws.right=" "}var Dy=(t,e,r)=>(n,i)=>{J2e(i,Cy,{actual:t,possible:["always","never"]})&&n.walkComments(o=>{if(!K2e(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(Uc.rejectedOpening,f.length),t==="always"&&!tW(d)&&y(Uc.expectedOpening,f.length),t==="never"&&p!==""&&y(Uc.rejectedClosing,o.toString().length-h.length-1),t==="always"&&!tW(p)&&y(Uc.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||Z2e(o),p||eRe(o));return}Y2e({message:b,index:g,result:i,ruleName:Cy,node:o})}})};Dy.ruleName=Cy;Dy.messages=Uc;Dy.meta=X2e;rW.exports=Dy});var oW=m((PRt,sW)=>{"use strict";var{isString:tRe}=re();sW.exports=function(e,r){if(!Array.isArray(r))return iW(e,r);for(let n of r){let i=iW(e,n);if(i)return i}return!1};function iW(t,e){return!e||!tRe(e)||e.startsWith("/")&&e.endsWith("/")?!1:t.includes(e)?{match:t,pattern:e,substring:e}:!1}});var lW=m((TRt,uW)=>{"use strict";var rRe=oW(),nRe=qt(),iRe=U(),sRe=j(),oRe=N(),{isRegExp:aRe,isString:uRe}=re(),Oy="comment-word-disallowed-list",aW=sRe(Oy,{rejected:t=>`Unexpected word matching pattern "${t}"`}),lRe={url:"https://stylelint.io/user-guide/rules/comment-word-disallowed-list"},Hc=t=>(e,r)=>{oRe(r,Oy,{actual:t,possible:[uRe,aRe]})&&e.walkComments(i=>{let s=i.text;if(i.toString().slice(0,4)==="/*# ")return;let u=nRe(s,t)||rRe(s,t);u&&iRe({message:aW.rejected(u.pattern),node:i,word:u.substring,result:r,ruleName:Oy})})};Hc.primaryOptionArray=!0;Hc.ruleName=Oy;Hc.messages=aW;Hc.meta=lRe;uW.exports=Hc});var et=m((MRt,cW)=>{"use strict";cW.exports=function(e){let r=1+e.name.length;return e.raws.afterName&&(r+=e.raws.afterName.length),r}});var hW=m((FRt,pW)=>{"use strict";var cRe=et(),fRe=U(),dRe=j(),pRe=N(),{isRegExp:hRe,isString:fW}=re(),qy="custom-media-pattern",dW=dRe(qy,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),gRe={url:"https://stylelint.io/user-guide/rules/custom-media-pattern"},Ry=t=>(e,r)=>{if(!pRe(r,qy,{actual:t,possible:[hRe,fW]}))return;let i=fW(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=cRe(s);fRe({message:dW.expected,messageArgs:[o,t],node:s,index:u,endIndex:u+o.length,result:r,ruleName:qy})})};Ry.ruleName=qy;Ry.messages=dW;Ry.meta=gRe;pW.exports=Ry});var gn=m((LRt,gW)=>{"use strict";gW.exports=function(e){return e.startsWith("--")}});var Z2=m((IRt,mW)=>{"use strict";mW.exports=function(e){return!!(e.startsWith("$")||e.includes(".$"))}});var si=m((NRt,bW)=>{"use strict";var mRe=Z2(),{isRoot:yRe,isRule:yW}=Qe();function bRe(t){return t&&(t==="css"||t==="custom-template"||t==="template-literal")}bW.exports=function(e){let r=e.prop,n=e.parent;return!(n&&yRe(n)&&n.source&&!bRe(n.source.lang)||mRe(r)||r[0]==="@"&&r[1]!=="{"||n&&n.type==="atrule"&&n.raws.afterName===":"||n&&yW(n)&&n.selector&&n.selector.startsWith("#")&&n.selector.endsWith("()")||n&&yW(n)&&n.selector&&n.selector[n.selector.length-1]===":"&&n.selector.substring(0,2)!=="--"||"extend"in e&&e.extend)}});var SW=m((jRt,xW)=>{"use strict";var vRe=vu(),wRe=Sr(),_Re=Is(),xRe=No(),vW=Mc(),_W=gn(),wW=wu(),SRe=Oi(),kRe=si(),Ru=xe(),ERe=_u(),CRe=U(),DRe=j(),ORe=N(),{isAtRule:qRe,isDeclaration:RRe,isRule:ARe}=Qe(),Ay="custom-property-empty-line-before",eR=DRe(Ay,{expected:"Expected empty line before custom property",rejected:"Unexpected empty line before custom property"}),PRe={url:"https://stylelint.io/user-guide/rules/custom-property-empty-line-before",fixable:!0},Py=(t,e,r)=>(n,i)=>{ORe(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(!kRe(o)||!_W(a)||Ru(e,"ignore","after-comment")&&vW(o)||Ru(e,"ignore","first-nested")&&wW(o)||Ru(e,"ignore","inside-single-line-block")&&u!=null&&(qRe(u)||ARe(u))&&SRe(wRe(u)))return;let l=t==="always";(Ru(e,"except","first-nested")&&wW(o)||Ru(e,"except","after-comment")&&vW(o)||Ru(e,"except","after-custom-property")&&TRe(o))&&(l=!l);let c=xRe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?vRe(o,r.newline):ERe(o,r.newline);return}let f=l?eR.expected:eR.rejected;CRe({message:f,node:o,result:i,ruleName:Ay})})};function TRe(t){let e=_Re(t);return e!=null&&RRe(e)&&_W(e.prop)}Py.ruleName=Ay;Py.messages=eR;Py.meta=PRe;xW.exports=Py});var CW=m(($Rt,EW)=>{"use strict";var MRe=Ae(),FRe=Re(),LRe=gn(),IRe=U(),NRe=j(),jRe=N(),Ty="custom-property-no-missing-var-function",kW=NRe(Ty,{rejected:t=>`Unexpected missing var function for "${t}"`}),$Re={url:"https://stylelint.io/user-guide/rules/custom-property-no-missing-var-function"},My=t=>(e,r)=>{if(!jRe(r,Ty,{actual:t}))return;let i=new Set;e.walkAtRules(/^property$/i,s=>{i.add(s.params)}),e.walkDecls(({prop:s})=>{LRe(s)&&i.add(s)}),e.walkDecls(s=>{let{value:o}=s;MRe(o).walk(u=>{if(WRe(u))return!1;if(!BRe(u)||!i.has(u.value))return;let l=FRe(s)+u.sourceIndex,c=l+u.value.length;return IRe({message:kW.rejected(u.value),node:s,index:l,endIndex:c,result:r,ruleName:Ty}),!1})})};function BRe({type:t,value:e}){return t==="word"&&e.startsWith("--")}function WRe({type:t,value:e}){return t==="function"&&e==="var"}My.ruleName=Ty;My.messages=kW;My.meta=$Re;EW.exports=My});var oi=m((BRt,DW)=>{"use strict";var zRe=Rc(),URe=Z2();DW.exports=function(e){return!(URe(e)||e.startsWith("@")||e.endsWith("+")||e.endsWith("+_")||zRe(e))}});var AW=m((WRt,RW)=>{"use strict";var HRe=Ae(),VRe=gn(),GRe=U(),KRe=j(),YRe=N(),QRe=Re(),{isRegExp:JRe,isString:OW}=re(),{isValueFunction:XRe}=Qe(),ZRe=oi(),Fy="custom-property-pattern",qW=KRe(Fy,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),eAe={url:"https://stylelint.io/user-guide/rules/custom-property-pattern"},Ly=t=>(e,r)=>{if(!YRe(r,Fy,{actual:t,possible:[JRe,OW]}))return;let i=OW(t)?new RegExp(t):t;function s(a){return!ZRe(a)||!VRe(a)||i.test(a.slice(2))}e.walkDecls(a=>{let{prop:u,value:l}=a;HRe(l).walk(f=>{if(!XRe(f)||f.value.toLowerCase()!=="var")return;let{nodes:d}=f,p=d[0];!p||s(p.value)||o(QRe(a)+p.sourceIndex,p.value,a)}),!s(u)&&o(0,u,a)});function o(a,u,l){GRe({result:r,ruleName:Fy,message:qW.expected,messageArgs:[u,t],node:l,index:a,endIndex:a+u.length})}};Ly.ruleName=Fy;Ly.messages=qW;Ly.meta=eAe;RW.exports=Ly});var Lr=m((zRt,PW)=>{var Vc="skip",Au="only";PW.exports=function(t,e){var r=t.source,n=t.target,i=t.comments?t.comments===Vc:!0,s=t.strings?t.strings===Vc:!0,o=t.functionNames?t.functionNames===Vc:!0,a=t.functionArguments===Vc,u=t.parentheticals===Vc,l=!1;Object.keys(t).forEach(function(T){if(t[T]===Au)if(!l)l=!0;else throw new Error('Only one syntax feature option can be the "only" one to check')});var c=t.comments===Au,f=t.strings===Au,d=t.functionNames===Au,p=t.functionArguments===Au,h=t.parentheticals===Au,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 le=0,ne=n.length;le<ne;le++){var de=R(n[le],T);if(de)return de}return!1}:R.bind(null,n)}();function R(T,le){var ne=T.length;return ne===1&&r[le]!==T||r.substr(le,ne)!==T?!1:{insideParens:v,insideFunctionArguments:w,insideComment:b,insideString:y,startIndex:le,endIndex:le+ne,target:T}}for(var z=0,$=r.length;z<$;z++){var te=r[z];if(!y&&!b&&te==="/"&&r[z-1]!=="\\"){if(r[z+1]==="*"){b=!0;continue}if(r[z+1]==="/"){b=!0,g=!0;continue}}if(b){if(!g&&te==="*"&&r[z-1]!=="\\"&&r[z+1]==="/"&&r[z-1]!=="/"){b=!1;continue}if(g&&te===`
79
+ `&&(b=!1,g=!1),i)continue}if(!b&&!y&&(te==='"'||te==="'")){if(r[z-1]==="\\")continue;C=te,y=!0,n===te&&F(P(z));continue}if(y){if(te===C){if(r[z-1]==="\\")continue;y=!1;continue}if(s)continue}if(!y&&!b&&te==="("){_++,v=!0,/[a-zA-Z]/.test(r[z-1])&&(w=!0),n==="("&&F(P(z));continue}if(v&&te===")"){_--,n===")"&&F(P(z)),_===0&&(v=!1,w=!1);continue}var K=/^[a-zA-Z]*\(/.test(r.slice(z));if(!(o&&K)&&!(d&&!K)){var ue=P(z);if(ue&&(F(ue),t.once))return}}function F(T){h&&!v||u&&v||p&&!w||a&&w||f&&!y||c&&!b||(x++,e(T,x))}}});var tR=m((URt,TW)=>{"use strict";var tAe=Re(),rAe=U(),nAe=Lr();TW.exports=function(e){e.root.walkDecls(n=>{let i=tAe(n),s=n.toString(),o=n.toString().slice(i);o.includes("!")&&nAe({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)||rAe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var LW=m((HRt,FW)=>{"use strict";var iAe=tR(),sAe=Re(),oAe=vt(),aAe=j(),uAe=Bt(),lAe=N(),cAe=$e(),Iy="declaration-bang-space-after",MW=aAe(Iy,{expectedAfter:()=>'Expected single space after "!"',rejectedAfter:()=>'Unexpected whitespace after "!"'}),fAe={url:"https://stylelint.io/user-guide/rules/declaration-bang-space-after",fixable:!0},Ny=(t,e,r)=>{let n=cAe("space",t,MW);return(i,s)=>{lAe(s,Iy,{actual:t,possible:["always","never"]})&&iAe({root:i,result:s,locationChecker:n.after,checkedRuleName:Iy,fix:r.fix?(a,u)=>{let l=u-sAe(a),c=oAe(a),f,d;if(l<c.length)f=c,d=y=>{uAe(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=MW;Ny.meta=fAe;FW.exports=Ny});var jW=m((VRt,NW)=>{"use strict";var dAe=tR(),pAe=Re(),hAe=vt(),gAe=j(),mAe=Bt(),yAe=N(),bAe=$e(),jy="declaration-bang-space-before",IW=gAe(jy,{expectedBefore:()=>'Expected single space before "!"',rejectedBefore:()=>'Unexpected whitespace before "!"'}),vAe={url:"https://stylelint.io/user-guide/rules/declaration-bang-space-before",fixable:!0},$y=(t,e,r)=>{let n=bAe("space",t,IW);return(i,s)=>{yAe(s,jy,{actual:t,possible:["always","never"]})&&dAe({root:i,result:s,locationChecker:n.before,checkedRuleName:jy,fix:r.fix?(a,u)=>{let l=u-pAe(a),c=hAe(a),f,d;if(l<c.length)f=c,d=y=>{mAe(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=IW;$y.meta=vAe;NW.exports=$y});var Gc=m((GRt,$W)=>{"use strict";var{isRoot:wAe,isAtRule:_Ae,isRule:xAe}=Qe();function SAe(t){return xAe(t)||_Ae(t)||wAe(t)}$W.exports=function(e,r){function n(i){if(SAe(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 zW=m((KRt,WW)=>{"use strict";var kAe=Gc(),EAe=gn(),CAe=oi(),DAe=U(),OAe=j(),qAe=N(),By="declaration-block-no-duplicate-custom-properties",BW=OAe(By,{rejected:t=>`Unexpected duplicate "${t}"`}),RAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-custom-properties"},Wy=t=>(e,r)=>{qAe(r,By,{actual:t})&&kAe(e,i=>{let s=new Set;i(o=>{let a=o.prop;if(!CAe(a)||!EAe(a))return;if(s.has(a)){DAe({message:BW.rejected(a),node:o,result:r,ruleName:By,word:a});return}s.add(a)})})};Wy.ruleName=By;Wy.messages=BW;Wy.meta=RAe;WW.exports=Wy});var VW=m((YRt,HW)=>{"use strict";var AAe=Gc(),PAe=gn(),TAe=oi(),zy=xe(),Uy=U(),MAe=j(),FAe=N(),{isString:LAe}=re(),UW=rt(),$o="declaration-block-no-duplicate-properties",Kc=MAe($o,{rejected:t=>`Unexpected duplicate "${t}"`}),IAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-duplicate-properties",fixable:!0},Vy=(t,e,r)=>(n,i)=>{if(!FAe(i,$o,{actual:t},{actual:e,possible:{ignore:["consecutive-duplicates","consecutive-duplicates-with-different-values","consecutive-duplicates-with-same-prefixless-values"],ignoreProperties:[LAe]},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");AAe(n,l=>{let c=[];l(f=>{let d=f.prop,p=f.prop.toLowerCase(),h=f.value;if(!TAe(d)||PAe(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:Kc.rejected(d),node:f,result:i,ruleName:$o,word:d});return}let b=c[y],g=b?b.value:"";if(u&&UW.unprefixed(h)!==UW.unprefixed(g)){if(r.fix){Hy(c,p);return}Uy({message:Kc.rejected(d),node:f,result:i,ruleName:$o,word:d});return}if(h===g){if(r.fix){Hy(c,p);return}Uy({message:Kc.rejected(d),node:f,result:i,ruleName:$o,word:d});return}return}if(o&&y===c.length-1)return;if(r.fix){Hy(c,p);return}Uy({message:Kc.rejected(d),node:f,result:i,ruleName:$o,word:d})}c.push(f)})})};function Hy(t,e){let r=t.find(n=>n.prop.toLowerCase()===e);r&&r.remove()}Vy.ruleName=$o;Vy.messages=Kc;Vy.meta=IAe;HW.exports=Vy});var JW=m((QRt,QW)=>{"use strict";var NAe=om(),jAe=Gc(),$Ae=xe(),BAe=U(),WAe=j(),{longhandSubPropertiesOfShorthandProperties:GW}=Eu(),zAe=N(),KW=rt(),{isRegExp:UAe,isString:HAe}=re(),Gy="declaration-block-no-redundant-longhand-properties",YW=WAe(Gy,{expected:t=>`Expected shorthand property "${t}"`}),VAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-redundant-longhand-properties"},GAe=new Set(["inherit"]),Ky=(t,e)=>(r,n)=>{if(!zAe(n,Gy,{actual:t},{actual:e,possible:{ignoreShorthands:[HAe,UAe]},optional:!0}))return;let s=new Map;for(let[o,a]of GW.entries())if(!$Ae(e,"ignoreShorthands",o))for(let u of a){let l=s.get(u)||[];l.push(o),s.set(u,l)}jAe(r,o=>{let a=new Map;o(u=>{if(GAe.has(u.value))return;let l=u.prop.toLowerCase(),c=KW.unprefixed(l),f=KW.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=GW.get(p),g=Array.from(b||[]).map(v=>f+v);NAe(g.sort(),y.sort())&&BAe({ruleName:Gy,result:n,node:u,word:u.prop,message:YW.expected(h)})}})})};Ky.ruleName=Gy;Ky.messages=YW;Ky.meta=VAe;QW.exports=Ky});var tz=m((JRt,ez)=>{"use strict";var KAe=Gc(),YAe=U(),QAe=j(),{longhandSubPropertiesOfShorthandProperties:JAe}=Eu(),XAe=N(),XW=rt(),Yy="declaration-block-no-shorthand-property-overrides",ZW=QAe(Yy,{rejected:(t,e)=>`Unexpected shorthand "${t}" after "${e}"`}),ZAe={url:"https://stylelint.io/user-guide/rules/declaration-block-no-shorthand-property-overrides"},Qy=t=>(e,r)=>{XAe(r,Yy,{actual:t})&&KAe(e,i=>{let s=new Map;i(o=>{let a=o.prop,u=XW.unprefixed(a).toLowerCase(),l=XW.prefix(a).toLowerCase(),c=JAe.get(u);if(!c){s.set(a.toLowerCase(),a);return}for(let f of c){let d=s.get(l+f);d&&YAe({ruleName:Yy,result:r,node:o,message:ZW.rejected(a,d||""),word:a})}})})};Qy.ruleName=Yy;Qy.messages=ZW;Qy.meta=ZAe;ez.exports=Qy});var iz=m((XRt,nz)=>{"use strict";var ePe=Sr(),tPe=D2(),rPe=rs(),nPe=U(),iPe=j(),sPe=N(),oPe=$e(),{isAtRule:aPe,isRule:uPe}=Qe(),Jy="declaration-block-semicolon-newline-after",rz=iPe(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'}),lPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-after",fixable:!0},Xy=(t,e,r)=>{let n=oPe("newline",t,rz);return(i,s)=>{sPe(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(!aPe(u)&&!uPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.next();if(!l)return;let c=tPe(l);c&&n.afterOneOnly({source:rPe(c),index:-1,lineCheckStr:ePe(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}}nPe({message:f,node:a,index:a.toString().length+1,result:s,ruleName:Jy})}})})}};Xy.ruleName=Jy;Xy.messages=rz;Xy.meta=lPe;nz.exports=Xy});var az=m((ZRt,oz)=>{"use strict";var cPe=Sr(),fPe=U(),dPe=j(),pPe=N(),hPe=$e(),{isAtRule:gPe,isRule:mPe}=Qe(),Zy="declaration-block-semicolon-newline-before",sz=dPe(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'}),yPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-newline-before"},eb=t=>{let e=hPe("newline",t,sz);return(r,n)=>{pPe(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(!gPe(o)&&!mPe(o)||!o.raws.semicolon&&o.last===s)return;let a=s.toString();e.beforeAllowingIndentation({source:a,index:a.length,lineCheckStr:cPe(o),err:u=>{fPe({message:u,node:s,index:s.toString().length-1,result:n,ruleName:Zy})}})})}};eb.ruleName=Zy;eb.messages=sz;eb.meta=yPe;oz.exports=eb});var cz=m((eAt,lz)=>{"use strict";var bPe=Sr(),vPe=rs(),wPe=U(),_Pe=j(),xPe=N(),SPe=$e(),{isAtRule:kPe,isRule:EPe}=Qe(),tb="declaration-block-semicolon-space-after",uz=_Pe(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'}),CPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-after",fixable:!0},rb=(t,e,r)=>{let n=SPe("space",t,uz);return(i,s)=>{xPe(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(!kPe(u)&&!EPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.next();l&&n.after({source:vPe(l),index:-1,lineCheckStr:bPe(u),err:c=>{if(r.fix){if(t.startsWith("always")){l.raws.before=" ";return}if(t.startsWith("never")){l.raws.before="";return}}wPe({message:c,node:a,index:a.toString().length+1,result:s,ruleName:tb})}})})}};rb.ruleName=tb;rb.messages=uz;rb.meta=CPe;lz.exports=rb});var hz=m((tAt,pz)=>{"use strict";var DPe=Sr(),OPe=vt(),qPe=U(),RPe=j(),fz=Bt(),APe=N(),PPe=$e(),{isAtRule:TPe,isRule:MPe}=Qe(),nb="declaration-block-semicolon-space-before",dz=RPe(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'}),FPe={url:"https://stylelint.io/user-guide/rules/declaration-block-semicolon-space-before",fixable:!0},ib=(t,e,r)=>{let n=PPe("space",t,dz);return(i,s)=>{APe(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(!TPe(u)&&!MPe(u)||!u.raws.semicolon&&u.last===a)return;let l=a.toString();n.before({source:l,index:l.length,lineCheckStr:DPe(u),err:c=>{if(r.fix){let f=OPe(a);if(t.startsWith("always")){a.important?a.raws.important=" !important ":fz(a,f.replace(/\s*$/," "));return}if(t.startsWith("never")){a.raws.important?a.raws.important=a.raws.important.replace(/\s*$/,""):fz(a,f.replace(/\s*$/,""));return}}qPe({message:c,node:a,index:a.toString().length-1,result:s,ruleName:nb})}})})}};ib.ruleName=nb;ib.messages=dz;ib.meta=FPe;pz.exports=ib});var yz=m((rAt,mz)=>{"use strict";var LPe=Sr(),IPe=Oi(),NPe=U(),jPe=j(),$Pe=N(),{isNumber:BPe}=re(),sb="declaration-block-single-line-max-declarations",gz=jPe(sb,{expected:t=>`Expected no more than ${t} ${t===1?"declaration":"declarations"}`}),WPe={url:"https://stylelint.io/user-guide/rules/declaration-block-single-line-max-declarations"},ob=t=>(e,r)=>{$Pe(r,sb,{actual:t,possible:[BPe]})&&e.walkRules(i=>{let s=LPe(i);!IPe(s)||!i.nodes||i.nodes.filter(a=>a.type==="decl").length<=t||NPe({message:gz.expected(t),node:i,word:s,result:r,ruleName:sb})})};ob.ruleName=sb;ob.messages=gz;ob.meta=WPe;mz.exports=ob});var vz=m((nAt,bz)=>{"use strict";var zPe=ir(),UPe=xe(),HPe=U(),VPe=j(),{isAtRule:GPe}=Qe(),KPe=N(),ab="declaration-block-trailing-semicolon",rR=VPe(ab,{expected:"Expected a trailing semicolon",rejected:"Unexpected trailing semicolon"}),YPe={url:"https://stylelint.io/user-guide/rules/declaration-block-trailing-semicolon",fixable:!0},ub=(t,e,r)=>(n,i)=>{if(!KPe(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&&(zPe(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(UPe(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,GPe(a)&&(a.raws.between="",a.parent.raws.after=" ");return}c=rR.expected}else if(t==="never"){if(!u)return;if(r.fix){a.parent.raws.semicolon=!1;return}c=rR.rejected}else throw new Error(`Unexpected primary option: "${t}"`);HPe({message:c,node:a,index:a.toString().trim().length-1,result:i,ruleName:ab})}};ub.ruleName=ab;ub.messages=rR;ub.meta=YPe;bz.exports=ub});var Sz=m((iAt,xz)=>{"use strict";var wz=Re(),QPe=si(),JPe=U(),XPe=j(),ZPe=N(),eTe=$e(),lb="declaration-colon-newline-after",_z=XPe(lb,{expectedAfter:()=>'Expected newline after ":"',expectedAfterMultiLine:()=>'Expected newline after ":" with a multi-line declaration'}),tTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-newline-after",fixable:!0},cb=(t,e,r)=>{let n=eTe("newline",t,_z);return(i,s)=>{ZPe(s,lb,{actual:t,possible:["always","always-multi-line"]})&&i.walkDecls(a=>{if(!QPe(a))return;let u=wz(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=wz(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}JPe({message:p,node:a,index:d,result:s,ruleName:lb})}})}})}};cb.ruleName=lb;cb.messages=_z;cb.meta=tTe;xz.exports=cb});var nR=m((sAt,kz)=>{"use strict";var rTe=Re(),nTe=si(),iTe=U();kz.exports=function(e){e.root.walkDecls(r=>{if(!nTe(r))return;let n=rTe(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)||iTe({message:a,node:r,index:r.prop.toString().length+1,result:e.result,ruleName:e.checkedRuleName})}});break}})}});var Dz=m((oAt,Cz)=>{"use strict";var sTe=nR(),oTe=Re(),aTe=j(),uTe=N(),lTe=$e(),fb="declaration-colon-space-after",Ez=aTe(fb,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"',expectedAfterSingleLine:()=>'Expected single space after ":" with a single-line declaration'}),cTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-space-after",fixable:!0},db=(t,e,r)=>{let n=lTe("space",t,Ez);return(i,s)=>{uTe(s,fb,{actual:t,possible:["always","never","always-single-line"]})&&sTe({root:i,result:s,locationChecker:n.after,checkedRuleName:fb,fix:r.fix?(a,u)=>{let l=u-oTe(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=Ez;db.meta=cTe;Cz.exports=db});var Rz=m((aAt,qz)=>{"use strict";var fTe=nR(),dTe=Re(),pTe=j(),hTe=N(),gTe=$e(),pb="declaration-colon-space-before",Oz=pTe(pb,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),mTe={url:"https://stylelint.io/user-guide/rules/declaration-colon-space-before",fixable:!0},hb=(t,e,r)=>{let n=gTe("space",t,Oz);return(i,s)=>{hTe(s,pb,{actual:t,possible:["always","never"]})&&fTe({root:i,result:s,locationChecker:n.before,checkedRuleName:pb,fix:r.fix?(a,u)=>{let l=u-dTe(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=Oz;hb.meta=mTe;qz.exports=hb});var Pz=m((uAt,Az)=>{"use strict";var yTe=Is(),bTe=gn(),vTe=si(),{isDeclaration:wTe}=Qe();Az.exports=function(e){let r=yTe(e);return r!==void 0&&wTe(r)&&vTe(r)&&!bTe(r.prop||"")}});var Iz=m((lAt,Lz)=>{"use strict";var _Te=vu(),xTe=Sr(),STe=No(),Tz=Mc(),Mz=Pz(),kTe=gn(),Fz=wu(),ETe=Fc(),CTe=Oi(),DTe=si(),Bo=xe(),OTe=_u(),qTe=U(),RTe=j(),ATe=N(),{isAtRule:PTe,isRule:TTe,isRoot:MTe}=Qe(),gb="declaration-empty-line-before",iR=RTe(gb,{expected:"Expected empty line before declaration",rejected:"Unexpected empty line before declaration"}),FTe={url:"https://stylelint.io/user-guide/rules/declaration-empty-line-before",fixable:!0},mb=(t,e,r)=>(n,i)=>{ATe(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||ETe(o)||!PTe(u)&&!TTe(u)&&!MTe(u)||!DTe(o)||kTe(a)||Bo(e,"ignore","after-comment")&&Tz(o)||Bo(e,"ignore","after-declaration")&&Mz(o)||Bo(e,"ignore","first-nested")&&Fz(o)||Bo(e,"ignore","inside-single-line-block")&&CTe(xTe(u)))return;let l=t==="always";(Bo(e,"except","first-nested")&&Fz(o)||Bo(e,"except","after-comment")&&Tz(o)||Bo(e,"except","after-declaration")&&Mz(o))&&(l=!l);let c=STe(o.raws.before);if(l===c)return;if(r.fix){if(r.newline==null)return;l?_Te(o,r.newline):OTe(o,r.newline);return}let f=l?iR.expected:iR.rejected;qTe({message:f,node:o,result:i,ruleName:gb})})};mb.ruleName=gb;mb.messages=iR;mb.meta=FTe;Lz.exports=mb});var sR=m((cAt,Nz)=>{"use strict";Nz.exports=function(e){let r=/!\s*important\b/gi,n=r.exec(e);if(n)return{index:n.index,endIndex:r.lastIndex}}});var Bz=m((fAt,$z)=>{"use strict";var LTe=sR(),ITe=U(),NTe=j(),jTe=N(),{assert:$Te}=re(),yb="declaration-no-important",jz=NTe(yb,{rejected:"Unexpected !important"}),BTe={url:"https://stylelint.io/user-guide/rules/declaration-no-important"},bb=t=>(e,r)=>{jTe(r,yb,{actual:t})&&e.walkDecls(i=>{if(!i.important)return;let s=LTe(i.toString());$Te(s),ITe({message:jz.rejected,node:i,index:s.index,endIndex:s.endIndex,result:r,ruleName:yb})})};bb.ruleName=yb;bb.messages=jz;bb.meta=BTe;$z.exports=bb});var zz=m((dAt,Wz)=>{"use strict";var{isPlainObject:WTe}=re();Wz.exports=t=>e=>WTe(e)?Object.values(e).every(r=>t(r)):!1});var Vz=m((pAt,Hz)=>{"use strict";var zTe=Ae(),UTe=qt(),HTe=U(),VTe=j(),GTe=rt(),KTe=N(),{isNumber:YTe,assertNumber:QTe}=re(),JTe=zz(),vb="declaration-property-max-values",Uz=VTe(vb,{rejected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"value":"values"}`}),XTe={url:"https://stylelint.io/user-guide/rules/declaration-property-max-values"},ZTe=t=>t.type==="word"||t.type==="function"||t.type==="string",wb=t=>(e,r)=>{KTe(r,vb,{actual:t,possible:[JTe(YTe)]})&&e.walkDecls(i=>{let{prop:s,value:o}=i,a=zTe(o).nodes.filter(ZTe).length,u=GTe.unprefixed(s),l=Object.keys(t).find(f=>UTe(u,f));if(!l)return;let c=t[l];QTe(c),!(a<=c)&&HTe({message:Uz.rejected(s,c),node:i,result:r,ruleName:vb})})};wb.ruleName=vb;wb.messages=Uz;wb.meta=XTe;Hz.exports=wb});var Kz=m((hAt,Gz)=>{"use strict";Gz.exports=function(e,r=" "){return e.replace(/[#@{}]+/g,r)}});var ai=m((gAt,Yz)=>{"use strict";var eMe=Kz(),tMe=hn(),rMe=Ae();Yz.exports=function(e){if(!e||!e.value)return{unit:null,number:null};if(e.type!=="word")return{unit:null,number:null};if(!tMe(e.value))return{unit:null,number:null};if(e.value.startsWith("#"))return{unit:null,number:null};let r=eMe(e.value,"").replace("\\0","").replace("\\9",""),n=rMe.unit(r);return n||{unit:null,number:null}}});var Xz=m((mAt,Jz)=>{"use strict";var nMe=Ae(),iMe=Re(),sMe=Am(),oMe=ai(),aMe=qt(),uMe=xe(),lMe=U(),cMe=j(),fMe=qi(),dMe=N(),{isString:pMe}=re(),hMe=rt(),_b="declaration-property-unit-allowed-list",Qz=cMe(_b,{rejected:(t,e)=>`Unexpected unit "${e}" for property "${t}"`}),gMe={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-allowed-list"},xb=(t,e)=>(r,n)=>{dMe(n,_b,{actual:t,possible:[fMe(pMe)]},{actual:e,possible:{ignore:["inside-function"]},optional:!0})&&r.walkDecls(s=>{let o=s.prop,a=s.value,u=hMe.unprefixed(o),l=Object.keys(t).find(f=>aMe(u,f));if(!l)return;let c=sMe(t[l]);c&&nMe(a).walk(f=>{if(f.type==="function"&&(f.value.toLowerCase()==="url"||uMe(e,"ignore","inside-function")))return!1;if(f.type==="string")return;let{unit:d}=oMe(f);if(!d||d&&c.includes(d.toLowerCase()))return;let p=iMe(s)+f.sourceIndex,h=p+f.value.length;lMe({message:Qz.rejected(o,d),node:s,index:p,endIndex:h,result:n,ruleName:_b})})})};xb.ruleName=_b;xb.messages=Qz;xb.meta=gMe;Jz.exports=xb});var tU=m((yAt,eU)=>{"use strict";var mMe=Ae(),yMe=Re(),bMe=Am(),vMe=ai(),wMe=qt(),_Me=U(),xMe=j(),SMe=qi(),kMe=N(),{isString:EMe}=re(),CMe=rt(),Sb="declaration-property-unit-disallowed-list",Zz=xMe(Sb,{rejected:(t,e)=>`Unexpected unit "${e}" for property "${t}"`}),DMe={url:"https://stylelint.io/user-guide/rules/declaration-property-unit-disallowed-list"},kb=t=>(e,r)=>{kMe(r,Sb,{actual:t,possible:[SMe(EMe)]})&&e.walkDecls(i=>{let s=i.prop,o=i.value,a=CMe.unprefixed(s),u=Object.keys(t).find(c=>wMe(a,c));if(!u)return;let l=bMe(t[u]);l&&mMe(o).walk(c=>{if(c.type==="function"&&c.value.toLowerCase()==="url")return!1;if(c.type==="string")return;let{unit:f}=vMe(c);if(!f||f&&!l.includes(f.toLowerCase()))return;let d=yMe(i)+c.sourceIndex,p=d+c.value.length;_Me({message:Zz.rejected,messageArgs:[s,f],node:i,index:d,endIndex:p,result:r,ruleName:Sb})})})};kb.ruleName=Sb;kb.messages=Zz;kb.meta=DMe;eU.exports=kb});var iU=m((bAt,nU)=>{"use strict";var OMe=Re(),qMe=qt(),RMe=xe(),AMe=U(),PMe=j(),TMe=qi(),MMe=N(),{isString:FMe,isRegExp:LMe}=re(),IMe=rt(),Eb="declaration-property-value-allowed-list",rU=PMe(Eb,{rejected:(t,e)=>`Unexpected value "${e}" for property "${t}"`}),NMe={url:"https://stylelint.io/user-guide/rules/declaration-property-value-allowed-list"},Cb=t=>(e,r)=>{if(!MMe(r,Eb,{actual:t,possible:[TMe(FMe,LMe)]}))return;let i=Object.keys(t);e.walkDecls(s=>{let{prop:o,value:a}=s,u=IMe.unprefixed(o),l=i.filter(d=>qMe(u,d));if(l.length===0||l.some(d=>RMe(t,d,a)))return;let c=OMe(s),f=c+s.value.length;AMe({message:rU.rejected(o,a),node:s,index:c,endIndex:f,result:r,ruleName:Eb})})};Cb.ruleName=Eb;Cb.messages=rU;Cb.meta=NMe;nU.exports=Cb});var aU=m((vAt,oU)=>{"use strict";var jMe=Re(),$Me=qt(),BMe=xe(),WMe=U(),zMe=j(),UMe=qi(),HMe=N(),{isString:VMe,isRegExp:GMe}=re(),KMe=rt(),Db="declaration-property-value-disallowed-list",sU=zMe(Db,{rejected:(t,e)=>`Unexpected value "${e}" for property "${t}"`}),YMe={url:"https://stylelint.io/user-guide/rules/declaration-property-value-disallowed-list"},Ob=t=>(e,r)=>{if(!HMe(r,Db,{actual:t,possible:[UMe(VMe,GMe)]}))return;let i=Object.keys(t);e.walkDecls(s=>{let{prop:o,value:a}=s,u=KMe.unprefixed(o),l=i.filter(d=>$Me(u,d));if(l.length===0||l.every(d=>!BMe(t,d,a)))return;let c=jMe(s),f=c+s.value.length;WMe({message:sU.rejected,messageArgs:[o,a],node:s,index:c,endIndex:f,result:r,ruleName:Db})})};Ob.ruleName=Db;Ob.messages=sU;Ob.meta=YMe;oU.exports=Ob});var oR=m((wAt,uU)=>{"use strict";uU.exports=function(e){return e.toString().trim().length!==0&&Number(e)==e}});var mn=m((_At,vU)=>{"use strict";var Rt=Su(),At=new Set(["initial","inherit","revert","revert-layer","unset"]),QMe=Rt(At,["caption","icon","menu","message-box","small-caption","status-bar"]),lU=Rt(At,["serif","sans-serif","cursive","fantasy","monospace","system-ui","ui-serif","ui-sans-serif","ui-monospace","ui-rounded"]),cU=new Set(["bolder","lighter"]),fU=new Set(["normal","bold"]),dU=Rt(cU,fU),JMe=new Set(["100","200","300","400","500","600","700","800","900"]),pU=Rt(At,dU,JMe),XMe=Rt(At,["normal","italic","oblique"]),ZMe=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"]),eFe=Rt(At,["semi-condensed","condensed","extra-condensed","ultra-condensed","semi-expanded","expanded","extra-expanded","ultra-expanded"]),hU=Rt(At,["xx-small","x-small","small","medium","large","x-large","xx-large","larger","smaller"]),tFe=Rt(At,["normal"]),rFe=Rt(At,XMe,ZMe,pU,eFe,hU,tFe,lU),gU=Rt(At,["none"]),nFe=Rt(At,["linear","ease","ease-in","ease-in-out","ease-out","step-start","step-end","steps","cubic-bezier"]),iFe=new Set(["infinite"]),sFe=Rt(At,["normal","reverse","alternate","alternate-reverse"]),oFe=new Set(["none","forwards","backwards","both"]),aFe=Rt(At,["running","paused"]),uFe=Rt(At,gU,nFe,iFe,sFe,oFe,aFe),lFe=Rt(At,["auto","span"]),cFe=Rt(At,["auto","span"]),fFe=Rt(At,["auto","span"]),dFe=Rt(At,["none"]),pFe=Rt(At,["none"]),mU=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"]),yU=Rt(At,["inside","outside"]),bU=Rt(At,["none"]),hFe=Rt(At,mU,yU,bU),gFe=new Set(["optimizeSpeed","optimizeQuality","optimizeLegibility","geometricPrecision","currentColor","crispEdges","visiblePainted","visibleFill","visibleStroke","sRGB","linearRGB"]),mFe=new Set(["from","to"]),yFe=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"]);vU.exports={animationNameKeywords:gU,animationShorthandKeywords:uFe,basicKeywords:At,camelCaseKeywords:gFe,counterIncrementKeywords:dFe,counterResetKeywords:pFe,fontFamilyKeywords:lU,fontShorthandKeywords:rFe,fontSizeKeywords:hU,fontWeightAbsoluteKeywords:fU,fontWeightKeywords:pU,fontWeightNonNumericKeywords:dU,fontWeightRelativeKeywords:cU,gridAreaKeywords:fFe,gridColumnKeywords:cFe,gridRowKeywords:lFe,keyframeSelectorKeywords:mFe,listStyleImageKeywords:bU,listStylePositionKeywords:yU,listStyleShorthandKeywords:hFe,listStyleTypeKeywords:mU,systemColorsKeywords:yFe,systemFontKeywords:QMe}});var qb=m((xAt,_U)=>{"use strict";var bFe=Su(),wU=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"]),vFe=bFe(wU,["%","s","ms","deg","grad","turn","rad","Hz","kHz","dpi","dpcm","dppx"]);_U.exports={lengthUnits:wU,units:vFe}});var SU=m((SAt,xU)=>{"use strict";var{fontSizeKeywords:wFe}=mn(),{lengthUnits:_Fe}=qb(),xFe=Ae();xU.exports=function(e){if(!e)return!1;if(wFe.has(e))return!0;let r=xFe.unit(e);if(!r)return!1;let n=r.unit;return!!(n==="%"||_Fe.has(n.toLowerCase()))}});var Pu=m((kAt,kU)=>{"use strict";kU.exports=function(e){return e.toLowerCase().startsWith("var(")}});var Rb=m((EAt,CU)=>{"use strict";var SFe=Ae(),kFe=oR(),EFe=hn(),EU=SU(),CFe=Pu(),{assert:DFe}=re(),{basicKeywords:OFe,fontFamilyKeywords:qFe,fontShorthandKeywords:RFe}=mn(),AFe=new Set(["word","string","space","div"]);function PFe(t,e,r){return t.value=t.value+r+e.value,t}CU.exports=function(e){let r=[],n=SFe(e),{nodes:i}=n;if(i.length===1&&i[0]&&OFe.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(!AFe.has(a.type))return;let c=a.value.toLowerCase();if(!EFe(c)||CFe(c)||RFe.has(c)&&!qFe.has(c)||EU(a.value))return;let f=l[u-1],d=l[u-2];if(f&&f.value==="/"&&d&&EU(d.value)||kFe(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];DFe(h),PFe(h,p,o),s=!1,o=null}else r.push(p)}),r}});var Wo=m((CAt,aR)=>{var TFe=H("tty"),MFe=!("NO_COLOR"in process.env||process.argv.includes("--no-color"))&&("FORCE_COLOR"in process.env||process.argv.includes("--color")||process.platform==="win32"||TFe.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+DU(i,e,r,s)+e:t+i+e},DU=(t,e,r,n)=>{let i=t.substring(0,n)+r,s=t.substring(n+e.length),o=s.indexOf(e);return~o?i+DU(s,e,r,o):i+s},OU=(t=MFe)=>({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});aR.exports=OU();aR.exports.createColors=OU});var lR=m((DAt,PU)=>{"use strict";var uR="'".charCodeAt(0),qU='"'.charCodeAt(0),Ab="\\".charCodeAt(0),RU="/".charCodeAt(0),Pb=`
80
+ `.charCodeAt(0),Yc=" ".charCodeAt(0),Tb="\f".charCodeAt(0),Mb=" ".charCodeAt(0),Fb="\r".charCodeAt(0),FFe="[".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),Lb=/[\t\n\f\r "#'()/;[\\\]{}]/g,Ib=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,HFe=/.[\n"'(/\\]/,AU=/[\da-f]/i;PU.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 Yc:case Mb:case Fb:case Tb:{o=b;do o+=1,s=n.charCodeAt(o);while(s===Yc||s===Pb||s===Mb||s===Fb||s===Tb);h=["space",n.slice(b,o)],b=o-1;break}case FFe:case LFe:case jFe:case $Fe:case zFe:case BFe:case NFe:{let z=String.fromCharCode(s);h=[z,z,b];break}case IFe:{if(d=g.length?g.pop()[1]:"",p=n.charCodeAt(b+1),d==="url"&&p!==uR&&p!==qU&&p!==Yc&&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||HFe.test(u)?h=["(","(",b]:(h=["brackets",u,b,o],b=o);break}case uR:case qU:{a=s===uR?"'":'"',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 UFe:{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!==RU&&s!==Yc&&s!==Pb&&s!==Mb&&s!==Fb&&s!==Tb&&(o+=1,AU.test(n.charAt(o)))){for(;AU.test(n.charAt(o+1));)o+=1;n.charCodeAt(o+1)===Yc&&(o+=1)}h=["word",n.slice(b,o+1),b,o],b=o;break}default:{s===RU&&n.charCodeAt(b+1)===WFe?(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 cR=m((OAt,FU)=>{"use strict";var Ur=Wo(),VFe=lR(),TU;function GFe(t){TU=t}var KFe={brackets:Ur.cyan,"at-word":Ur.cyan,comment:Ur.gray,string:Ur.green,class:Ur.yellow,hash:Ur.magenta,call:Ur.cyan,"(":Ur.cyan,")":Ur.cyan,"{":Ur.yellow,"}":Ur.yellow,"[":Ur.yellow,"]":Ur.yellow,":":Ur.yellow,";":Ur.yellow};function YFe([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 MU(t){let e=VFe(new TU(t),{ignoreErrors:!0}),r="";for(;!e.endOfFile();){let n=e.nextToken(),i=KFe[YFe(n,e)];i?r+=n[1].split(/\r?\n/).map(s=>i(s)).join(`
81
+ `):r+=n[1]}return r}MU.registerInput=GFe;FU.exports=MU});var Nb=m((qAt,NU)=>{"use strict";var LU=Wo(),IU=cR(),zo=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,zo)}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=LU.isColorSupported),IU&&e&&(r=IU(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}=LU.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}};NU.exports=zo;zo.default=zo});var jb=m((RAt,fR)=>{"use strict";fR.exports.isClean=Symbol("isClean");fR.exports.my=Symbol("my")});var dR=m((AAt,$U)=>{"use strict";var jU={colon:": ",indent:" ",beforeDecl:`
87
+ `,beforeRule:`
88
+ `,beforeOpen:" ",beforeClose:`
89
+ `,beforeComment:`
90
+ `,after:`
91
+ `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function QFe(t){return t[0].toUpperCase()+t.slice(1)}var Qc=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 jU[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"+QFe(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=jU[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}};$U.exports=Qc;Qc.default=Qc});var Jc=m((PAt,BU)=>{"use strict";var JFe=dR();function pR(t,e){new JFe(e).stringify(t)}BU.exports=pR;pR.default=pR});var Zc=m((TAt,WU)=>{"use strict";var{isClean:$b,my:XFe}=jb(),ZFe=Nb(),eLe=dR(),tLe=Jc();function hR(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=>hR(o,r)):(s==="object"&&i!==null&&(i=hR(i)),r[n]=i)}return r}var Xc=class{constructor(e={}){this.raws={},this[$b]=!1,this[XFe]=!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 ZFe(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=tLe){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=hR(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 eLe().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}};WU.exports=Xc;Xc.default=Xc});var tf=m((MAt,zU)=>{"use strict";var rLe=Zc(),ef=class extends rLe{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]==="$"}};zU.exports=ef;ef.default=ef});var HU=m(gR=>{var UU="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");gR.encode=function(t){if(0<=t&&t<UU.length)return UU[t];throw new TypeError("Must be between 0 and 63: "+t)};gR.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 bR=m(yR=>{var VU=HU(),mR=5,GU=1<<mR,KU=GU-1,YU=GU;function nLe(t){return t<0?(-t<<1)+1:(t<<1)+0}function iLe(t){var e=(t&1)===1,r=t>>1;return e?-r:r}yR.encode=function(e){var r="",n,i=nLe(e);do n=i&KU,i>>>=mR,i>0&&(n|=YU),r+=VU.encode(n);while(i>0);return r};yR.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=VU.decode(e.charCodeAt(r++)),u===-1)throw new Error("Invalid base64 digit: "+e.charAt(r-1));a=!!(u&YU),u&=KU,s=s+(u<<o),o+=mR}while(a);n.value=iLe(s),n.rest=r}});var Mu=m(lr=>{function sLe(t,e,r){if(e in t)return t[e];if(arguments.length===3)return r;throw new Error('"'+e+'" is a required argument.')}lr.getArg=sLe;var QU=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,oLe=/^data:.+\,.+$/;function rf(t){var e=t.match(QU);return e?{scheme:e[1],auth:e[2],host:e[3],port:e[4],path:e[5]}:null}lr.urlParse=rf;function Tu(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}lr.urlGenerate=Tu;var aLe=32;function uLe(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>aLe&&e.pop(),s}}var vR=uLe(function(e){var r=e,n=rf(e);if(n){if(!n.path)return e;r=n.path}for(var i=lr.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,Tu(n)):r});lr.normalize=vR;function JU(t,e){t===""&&(t="."),e===""&&(e=".");var r=rf(e),n=rf(t);if(n&&(t=n.path||"/"),r&&!r.scheme)return n&&(r.scheme=n.scheme),Tu(r);if(r||e.match(oLe))return e;if(n&&!n.host&&!n.path)return n.host=e,Tu(n);var i=e.charAt(0)==="/"?e:vR(t.replace(/\/+$/,"")+"/"+e);return n?(n.path=i,Tu(n)):i}lr.join=JU;lr.isAbsolute=function(t){return t.charAt(0)==="/"||QU.test(t)};function lLe(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)}lr.relative=lLe;var XU=function(){var t=Object.create(null);return!("__proto__"in t)}();function ZU(t){return t}function cLe(t){return eH(t)?"$"+t:t}lr.toSetString=XU?ZU:cLe;function fLe(t){return eH(t)?t.slice(1):t}lr.fromSetString=XU?ZU:fLe;function eH(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 dLe(t,e,r){var n=ss(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:ss(t.name,e.name)}lr.compareByOriginalPositions=dLe;function pLe(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:ss(t.name,e.name)}lr.compareByOriginalPositionsNoSource=pLe;function hLe(t,e,r){var n=t.generatedLine-e.generatedLine;return n!==0||(n=t.generatedColumn-e.generatedColumn,n!==0||r)||(n=ss(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ss(t.name,e.name)}lr.compareByGeneratedPositionsDeflated=hLe;function gLe(t,e,r){var n=t.generatedColumn-e.generatedColumn;return n!==0||r||(n=ss(t.source,e.source),n!==0)||(n=t.originalLine-e.originalLine,n!==0)||(n=t.originalColumn-e.originalColumn,n!==0)?n:ss(t.name,e.name)}lr.compareByGeneratedPositionsDeflatedNoLine=gLe;function ss(t,e){return t===e?0:t===null?1:e===null?-1:t>e?1:-1}function mLe(t,e){var r=t.generatedLine-e.generatedLine;return r!==0||(r=t.generatedColumn-e.generatedColumn,r!==0)||(r=ss(t.source,e.source),r!==0)||(r=t.originalLine-e.originalLine,r!==0)||(r=t.originalColumn-e.originalColumn,r!==0)?r:ss(t.name,e.name)}lr.compareByGeneratedPositionsInflated=mLe;function yLe(t){return JSON.parse(t.replace(/^\)]}'[^\n]*\n/,""))}lr.parseSourceMapInput=yLe;function bLe(t,e,r){if(e=e||"",t&&(t[t.length-1]!=="/"&&e[0]!=="/"&&(t+="/"),e=t+e),r){var n=rf(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=JU(Tu(n),e)}return vR(e)}lr.computeSourceURL=bLe});var xR=m(tH=>{var wR=Mu(),_R=Object.prototype.hasOwnProperty,Uo=typeof Map<"u";function os(){this._array=[],this._set=Uo?new Map:Object.create(null)}os.fromArray=function(e,r){for(var n=new os,i=0,s=e.length;i<s;i++)n.add(e[i],r);return n};os.prototype.size=function(){return Uo?this._set.size:Object.getOwnPropertyNames(this._set).length};os.prototype.add=function(e,r){var n=Uo?e:wR.toSetString(e),i=Uo?this.has(e):_R.call(this._set,n),s=this._array.length;(!i||r)&&this._array.push(e),i||(Uo?this._set.set(e,s):this._set[n]=s)};os.prototype.has=function(e){if(Uo)return this._set.has(e);var r=wR.toSetString(e);return _R.call(this._set,r)};os.prototype.indexOf=function(e){if(Uo){var r=this._set.get(e);if(r>=0)return r}else{var n=wR.toSetString(e);if(_R.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')};os.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)};os.prototype.toArray=function(){return this._array.slice()};tH.ArraySet=os});var iH=m(nH=>{var rH=Mu();function vLe(t,e){var r=t.generatedLine,n=e.generatedLine,i=t.generatedColumn,s=e.generatedColumn;return n>r||n==r&&s>=i||rH.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){vLe(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(rH.compareByGeneratedPositionsInflated),this._sorted=!0),this._array};nH.MappingList=Bb});var SR=m(sH=>{var nf=bR(),Qt=Mu(),Wb=xR().ArraySet,wLe=iH().MappingList;function Nn(t){t||(t={}),this._file=Qt.getArg(t,"file",null),this._sourceRoot=Qt.getArg(t,"sourceRoot",null),this._skipValidation=Qt.getArg(t,"skipValidation",!1),this._sources=new Wb,this._names=new Wb,this._mappings=new wLe,this._sourcesContents=null}Nn.prototype._version=3;Nn.fromSourceMap=function(e){var r=e.sourceRoot,n=new Nn({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=Qt.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=Qt.relative(r,i)),n._sources.has(s)||n._sources.add(s);var o=e.sourceContentFor(i);o!=null&&n.setSourceContent(i,o)}),n};Nn.prototype.addMapping=function(e){var r=Qt.getArg(e,"generated"),n=Qt.getArg(e,"original",null),i=Qt.getArg(e,"source",null),s=Qt.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})};Nn.prototype.setSourceContent=function(e,r){var n=e;this._sourceRoot!=null&&(n=Qt.relative(this._sourceRoot,n)),r!=null?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[Qt.toSetString(n)]=r):this._sourcesContents&&(delete this._sourcesContents[Qt.toSetString(n)],Object.keys(this._sourcesContents).length===0&&(this._sourcesContents=null))};Nn.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=Qt.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=Qt.join(n,u.source)),s!=null&&(u.source=Qt.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=Qt.join(n,u)),s!=null&&(u=Qt.relative(s,u)),this.setSourceContent(u,l))},this)};Nn.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}))}};Nn.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(!Qt.compareByGeneratedPositionsInflated(l,d[p-1]))continue;u+=","}u+=nf.encode(l.generatedColumn-e),e=l.generatedColumn,l.source!=null&&(f=this._sources.indexOf(l.source),u+=nf.encode(f-o),o=f,u+=nf.encode(l.originalLine-1-i),i=l.originalLine-1,u+=nf.encode(l.originalColumn-n),n=l.originalColumn,l.name!=null&&(c=this._names.indexOf(l.name),u+=nf.encode(c-s),s=c)),a+=u}return a};Nn.prototype._generateSourcesContent=function(e,r){return e.map(function(n){if(!this._sourcesContents)return null;r!=null&&(n=Qt.relative(r,n));var i=Qt.toSetString(n);return Object.prototype.hasOwnProperty.call(this._sourcesContents,i)?this._sourcesContents[i]:null},this)};Nn.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};Nn.prototype.toString=function(){return JSON.stringify(this.toJSON())};sH.SourceMapGenerator=Nn});var oH=m(Ho=>{Ho.GREATEST_LOWER_BOUND=1;Ho.LEAST_UPPER_BOUND=2;function kR(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?kR(o,e,r,n,i,s):s==Ho.LEAST_UPPER_BOUND?e<n.length?e:-1:o:o-t>1?kR(t,o,r,n,i,s):s==Ho.LEAST_UPPER_BOUND?o:t<0?-1:t}Ho.search=function(e,r,n,i){if(r.length===0)return-1;var s=kR(-1,r.length,e,r,n,i||Ho.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&n(r[s],r[s-1],!0)===0;)--s;return s}});var lH=m(uH=>{function _Le(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 xLe(t){let e=_Le.toString();return new Function(`return ${e}`)()(t)}var aH=new WeakMap;uH.quickSort=function(t,e,r=0){let n=aH.get(e);n===void 0&&(n=xLe(e),aH.set(e,n)),n(t,e,r,t.length-1)}});var dH=m(zb=>{var Se=Mu(),CR=oH(),Fu=xR().ArraySet,SLe=bR(),sf=lH().quickSort;function St(t,e){var r=t;return typeof t=="string"&&(r=Se.parseSourceMapInput(t)),r.sections!=null?new ui(r,e):new kr(r,e)}St.fromSourceMap=function(t,e){return kr.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=Se.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=Se.getArg(e,"line"),n={source:Se.getArg(e,"source"),originalLine:r,originalColumn:Se.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",Se.compareByOriginalPositions,CR.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:Se.getArg(o,"generatedLine",null),column:Se.getArg(o,"generatedColumn",null),lastColumn:Se.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s];else for(var u=o.originalColumn;o&&o.originalLine===r&&o.originalColumn==u;)i.push({line:Se.getArg(o,"generatedLine",null),column:Se.getArg(o,"generatedColumn",null),lastColumn:Se.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++s]}return i};zb.SourceMapConsumer=St;function kr(t,e){var r=t;typeof t=="string"&&(r=Se.parseSourceMapInput(t));var n=Se.getArg(r,"version"),i=Se.getArg(r,"sources"),s=Se.getArg(r,"names",[]),o=Se.getArg(r,"sourceRoot",null),a=Se.getArg(r,"sourcesContent",null),u=Se.getArg(r,"mappings"),l=Se.getArg(r,"file",null);if(n!=this._version)throw new Error("Unsupported version: "+n);o&&(o=Se.normalize(o)),i=i.map(String).map(Se.normalize).map(function(c){return o&&Se.isAbsolute(o)&&Se.isAbsolute(c)?Se.relative(o,c):c}),this._names=Fu.fromArray(s.map(String),!0),this._sources=Fu.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map(function(c){return Se.computeSourceURL(o,c,e)}),this.sourceRoot=o,this.sourcesContent=a,this._mappings=u,this._sourceMapURL=e,this.file=l}kr.prototype=Object.create(St.prototype);kr.prototype.consumer=St;kr.prototype._findSourceIndex=function(t){var e=t;if(this.sourceRoot!=null&&(e=Se.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};kr.fromSourceMap=function(e,r){var n=Object.create(kr.prototype),i=n._names=Fu.fromArray(e._names.toArray(),!0),s=n._sources=Fu.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 Se.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 fH;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 sf(n.__originalMappings,Se.compareByOriginalPositions),n};kr.prototype._version=3;Object.defineProperty(kr.prototype,"sources",{get:function(){return this._absoluteSources.slice()}});function fH(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}var ER=Se.compareByGeneratedPositionsDeflatedNoLine;function cH(t,e){let r=t.length,n=t.length-e;if(!(n<=1))if(n==2){let i=t[e],s=t[e+1];ER(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(ER(o,a)<=0)break;t[s-1]=a,t[s]=o}else sf(t,ER,e)}kr.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,cH(h,_),_=h.length;else if(e.charAt(c)===",")c++;else{for(y=new fH,y.generatedLine=n,v=c;v<l&&!this._charIsMappingSeparator(e,v);v++);for(b=e.slice(c,v),g=[];c<v;)SLe.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)}}cH(h,_),this.__generatedMappings=h;for(var x=0;x<p.length;x++)p[x]!=null&&sf(p[x],Se.compareByOriginalPositionsNoSource);this.__originalMappings=[].concat(...p)};kr.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 CR.search(e,r,s,o)};kr.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}};kr.prototype.originalPositionFor=function(e){var r={generatedLine:Se.getArg(e,"line"),generatedColumn:Se.getArg(e,"column")},n=this._findMapping(r,this._generatedMappings,"generatedLine","generatedColumn",Se.compareByGeneratedPositionsDeflated,Se.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(n>=0){var i=this._generatedMappings[n];if(i.generatedLine===r.generatedLine){var s=Se.getArg(i,"source",null);s!==null&&(s=this._sources.at(s),s=Se.computeSourceURL(this.sourceRoot,s,this._sourceMapURL));var o=Se.getArg(i,"name",null);return o!==null&&(o=this._names.at(o)),{source:s,line:Se.getArg(i,"originalLine",null),column:Se.getArg(i,"originalColumn",null),name:o}}}return{source:null,line:null,column:null,name:null}};kr.prototype.hasContentsOfAllSources=function(){return this.sourcesContent?this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some(function(e){return e==null}):!1};kr.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=Se.relative(this.sourceRoot,i));var s;if(this.sourceRoot!=null&&(s=Se.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.')};kr.prototype.generatedPositionFor=function(e){var r=Se.getArg(e,"source");if(r=this._findSourceIndex(r),r<0)return{line:null,column:null,lastColumn:null};var n={source:r,originalLine:Se.getArg(e,"line"),originalColumn:Se.getArg(e,"column")},i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",Se.compareByOriginalPositions,Se.getArg(e,"bias",St.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===n.source)return{line:Se.getArg(s,"generatedLine",null),column:Se.getArg(s,"generatedColumn",null),lastColumn:Se.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}};zb.BasicSourceMapConsumer=kr;function ui(t,e){var r=t;typeof t=="string"&&(r=Se.parseSourceMapInput(t));var n=Se.getArg(r,"version"),i=Se.getArg(r,"sections");if(n!=this._version)throw new Error("Unsupported version: "+n);this._sources=new Fu,this._names=new Fu;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=Se.getArg(o,"offset"),u=Se.getArg(a,"line"),l=Se.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(Se.getArg(o,"map"),e)}})}ui.prototype=Object.create(St.prototype);ui.prototype.constructor=St;ui.prototype._version=3;Object.defineProperty(ui.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}});ui.prototype.originalPositionFor=function(e){var r={generatedLine:Se.getArg(e,"line"),generatedColumn:Se.getArg(e,"column")},n=CR.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}};ui.prototype.hasContentsOfAllSources=function(){return this._sections.every(function(e){return e.consumer.hasContentsOfAllSources()})};ui.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.')};ui.prototype.generatedPositionFor=function(e){for(var r=0;r<this._sections.length;r++){var n=this._sections[r];if(n.consumer._findSourceIndex(Se.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}};ui.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=Se.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)}sf(this.__generatedMappings,Se.compareByGeneratedPositionsDeflated),sf(this.__originalMappings,Se.compareByOriginalPositions)};zb.IndexedSourceMapConsumer=ui});var hH=m(pH=>{var kLe=SR().SourceMapGenerator,Ub=Mu(),ELe=/(\r?\n)/,CLe=10,Lu="$$$isSourceNode$$$";function yn(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[Lu]=!0,n!=null&&this.add(n)}yn.fromStringWithSourceMap=function(e,r,n){var i=new yn,s=e.split(ELe),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 yn(d.originalLine,d.originalColumn,h,p,d.name))}}};yn.prototype.add=function(e){if(Array.isArray(e))e.forEach(function(r){this.add(r)},this);else if(e[Lu]||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};yn.prototype.prepend=function(e){if(Array.isArray(e))for(var r=e.length-1;r>=0;r--)this.prepend(e[r]);else if(e[Lu]||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};yn.prototype.walk=function(e){for(var r,n=0,i=this.children.length;n<i;n++)r=this.children[n],r[Lu]?r.walk(e):r!==""&&e(r,{source:this.source,line:this.line,column:this.column,name:this.name})};yn.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};yn.prototype.replaceRight=function(e,r){var n=this.children[this.children.length-1];return n[Lu]?n.replaceRight(e,r):typeof n=="string"?this.children[this.children.length-1]=n.replace(e,r):this.children.push("".replace(e,r)),this};yn.prototype.setSourceContent=function(e,r){this.sourceContents[Ub.toSetString(e)]=r};yn.prototype.walkSourceContents=function(e){for(var r=0,n=this.children.length;r<n;r++)this.children[r][Lu]&&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]])};yn.prototype.toString=function(){var e="";return this.walk(function(r){e+=r}),e};yn.prototype.toStringWithSourceMap=function(e){var r={code:"",line:1,column:0},n=new kLe(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)===CLe?(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}};pH.SourceNode=yn});var Vo=m(Hb=>{Hb.SourceMapGenerator=SR().SourceMapGenerator;Hb.SourceMapConsumer=dH().SourceMapConsumer;Hb.SourceNode=hH().SourceNode});var DR=m((VAt,gH)=>{var DLe="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict",OLe=(t,e=21)=>(r=e)=>{let n="",i=r;for(;i--;)n+=t[Math.random()*t.length|0];return n},qLe=(t=21)=>{let e="",r=t;for(;r--;)e+=DLe[Math.random()*64|0];return e};gH.exports={nanoid:qLe,customAlphabet:OLe}});var qR=m((GAt,bH)=>{"use strict";var{SourceMapConsumer:mH,SourceMapGenerator:yH}=Vo(),{existsSync:RLe,readFileSync:ALe}=H("fs"),{dirname:OR,join:PLe}=H("path");function TLe(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var of=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=OR(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new mH(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 TLe(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=OR(e),RLe(e))return this.mapFile=e,ALe(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 mH)return yH.fromSourceMap(r).toString();if(r instanceof yH)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=PLe(OR(e),n)),this.loadFile(n)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};bH.exports=of;of.default=of});var af=m((KAt,xH)=>{"use strict";var{SourceMapConsumer:MLe,SourceMapGenerator:FLe}=Vo(),{fileURLToPath:vH,pathToFileURL:Vb}=H("url"),{resolve:PR,isAbsolute:TR}=H("path"),{nanoid:LLe}=DR(),RR=cR(),wH=Nb(),ILe=qR(),AR=Symbol("fromOffsetCache"),NLe=Boolean(MLe&&FLe),_H=Boolean(PR&&TR),Iu=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&&(!_H||/^\w+:\/\//.test(r.from)||TR(r.from)?this.file=r.from:this.file=PR(r.from)),_H&&NLe){let n=new ILe(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 "+LLe(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[AR])n=this[AR];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[AR]=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 wH(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 wH(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;TR(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(vH)l.file=vH(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:PR(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}};xH.exports=Iu;Iu.default=Iu;RR&&RR.registerInput&&RR.registerInput(Iu)});var FR=m((YAt,OH)=>{"use strict";var{SourceMapConsumer:kH,SourceMapGenerator:Gb}=Vo(),{dirname:Kb,resolve:EH,relative:CH,sep:DH}=H("path"),{pathToFileURL:SH}=H("url"),jLe=af(),$Le=Boolean(kH&&Gb),BLe=Boolean(Kb&&EH&&CH&&DH),MR=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 jLe(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 kH(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(EH(r,this.mapOpts.annotation))),e=CH(r,e),e}toUrl(e){return DH==="\\"&&(e=e.replace(/\\/g,"/")),encodeURI(e).replace(/[#?]/g,encodeURIComponent)}toFileUrl(e){if(SH)return SH(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(),BLe&&$Le&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}};OH.exports=MR});var lf=m((QAt,qH)=>{"use strict";var WLe=Zc(),uf=class extends WLe{constructor(e){super(e),this.type="comment"}};qH.exports=uf;uf.default=uf});var zs=m((JAt,NH)=>{"use strict";var{isClean:RH,my:AH}=jb(),PH=tf(),TH=lf(),zLe=Zc(),MH,LR,IR,FH;function LH(t){return t.map(e=>(e.nodes&&(e.nodes=LH(e.nodes)),delete e.source,e))}function IH(t){if(t[RH]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)IH(e)}var bn=class extends zLe{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=LH(MH(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 PH(e)]}else if(e.selector)e=[new LR(e)];else if(e.name)e=[new IR(e)];else if(e.text)e=[new TH(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[AH]||bn.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[RH]&&IH(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}};bn.registerParse=t=>{MH=t};bn.registerRule=t=>{LR=t};bn.registerAtRule=t=>{IR=t};bn.registerRoot=t=>{FH=t};NH.exports=bn;bn.default=bn;bn.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,IR.prototype):t.type==="rule"?Object.setPrototypeOf(t,LR.prototype):t.type==="decl"?Object.setPrototypeOf(t,PH.prototype):t.type==="comment"?Object.setPrototypeOf(t,TH.prototype):t.type==="root"&&Object.setPrototypeOf(t,FH.prototype),t[AH]=!0,t.nodes&&t.nodes.forEach(e=>{bn.rebuild(e)})}});var Yb=m((XAt,BH)=>{"use strict";var ULe=zs(),jH,$H,Go=class extends ULe{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new jH(new $H,this,e).stringify()}};Go.registerLazyResult=t=>{jH=t};Go.registerProcessor=t=>{$H=t};BH.exports=Go;Go.default=Go});var NR=m((ZAt,zH)=>{"use strict";var WH={};zH.exports=function(e){WH[e]||(WH[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var Qb=m((ePt,HH)=>{"use strict";var UH=zs(),Nu=class extends UH{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)}};HH.exports=Nu;Nu.default=Nu;UH.registerAtRule(Nu)});var ju=m((tPt,YH)=>{"use strict";var VH=zs(),GH,KH,Us=class extends VH{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 GH(new KH,this,e).stringify()}};Us.registerLazyResult=t=>{GH=t};Us.registerProcessor=t=>{KH=t};YH.exports=Us;Us.default=Us;VH.registerRoot(Us)});var jR=m((rPt,QH)=>{"use strict";var cf={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 cf.split(t,e)},comma(t){return cf.split(t,[","],!0)}};QH.exports=cf;cf.default=cf});var Jb=m((nPt,XH)=>{"use strict";var JH=zs(),HLe=jR(),$u=class extends JH{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return HLe.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)}};XH.exports=$u;$u.default=$u;JH.registerRule($u)});var rV=m((iPt,tV)=>{"use strict";var VLe=tf(),GLe=lR(),KLe=lf(),YLe=Qb(),QLe=ju(),ZH=Jb(),eV={empty:!0,space:!0};function JLe(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var $R=class{constructor(e){this.input=e,this.root=new QLe,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=GLe(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 KLe;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 ZH;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 ZH;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 VLe;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]||JLe(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 YLe;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",!eV[f]&&!eV[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])}};tV.exports=$R});var Zb=m((sPt,nV)=>{"use strict";var XLe=zs(),ZLe=rV(),eIe=af();function Xb(t,e){let r=new eIe(t,e),n=new ZLe(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}nV.exports=Xb;Xb.default=Xb;XLe.registerParse(Xb)});var e0=m((oPt,aV)=>{"use strict";var{isClean:Pi,my:tIe}=jb(),rIe=FR(),nIe=Jc(),iIe=zs(),sIe=Yb(),oIe=NR(),iV=qc(),aIe=Zb(),uIe=ju(),lIe={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},cIe={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},fIe={postcssPlugin:!0,prepare:!0,Once:!0},Bu=0;function ff(t){return typeof t=="object"&&typeof t.then=="function"}function oV(t){let e=!1,r=lIe[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,Bu,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,Bu,r+"Exit"]:[r,r+"Exit"]}function sV(t){let e;return t.type==="document"?e=["Document",Bu,"DocumentExit"]:t.type==="root"?e=["Root",Bu,"RootExit"]:e=oV(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function BR(t){return t[Pi]=!1,t.nodes&&t.nodes.forEach(e=>BR(e)),t}var WR={},Ti=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=BR(r);else if(r instanceof Ti||r instanceof iV)i=BR(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=aIe;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[tIe]&&iIe.rebuild(i)}this.result=new iV(e,i,n),this.helpers={...WR,result:this.result,postcss:WR},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||oIe("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(ff(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Pi];)e[Pi]=!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=nIe;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new rIe(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(e){e[Pi]=!0;let r=oV(e);for(let n of r)if(n===Bu)e.nodes&&e.each(i=>{i[Pi]||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(ff(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 ff(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(ff(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[Pi];){e[Pi]=!0;let r=[sV(e)];for(;r.length>0;){let n=this.visitTick(r);if(ff(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(!cIe[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!fIe[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[Pi]){a[Pi]=!0,e.push(sV(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===Bu){n.nodes&&n.nodes.length&&(n[Pi]=!0,r.iterator=n.getIterator());return}else if(this.listeners[o]){r.visitors=this.listeners[o];return}}e.pop()}};Ti.registerPostcss=t=>{WR=t};aV.exports=Ti;Ti.default=Ti;uIe.registerLazyResult(Ti);sIe.registerLazyResult(Ti)});var lV=m((aPt,uV)=>{"use strict";var dIe=FR(),pIe=Jc(),hIe=NR(),gIe=Zb(),mIe=qc(),df=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=pIe;this.result=new mIe(this._processor,i,this._opts),this.result.css=r;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new dIe(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=gIe;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||hIe("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}};uV.exports=df;df.default=df});var fV=m((uPt,cV)=>{"use strict";var yIe=lV(),bIe=e0(),vIe=Yb(),wIe=ju(),Ko=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 yIe(this,e,r):new bIe(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}};cV.exports=Ko;Ko.default=Ko;wIe.registerProcessor(Ko);vIe.registerProcessor(Ko)});var pV=m((lPt,dV)=>{"use strict";var _Ie=tf(),xIe=qR(),SIe=lf(),kIe=Qb(),EIe=af(),CIe=ju(),DIe=Jb();function pf(t,e){if(Array.isArray(t))return t.map(i=>pf(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:EIe.prototype};s.map&&(s.map={...s.map,__proto__:xIe.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>pf(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 CIe(n);if(n.type==="decl")return new _Ie(n);if(n.type==="rule")return new DIe(n);if(n.type==="comment")return new SIe(n);if(n.type==="atrule")return new kIe(n);throw new Error("Unknown node type: "+t.type)}dV.exports=pf;pf.default=pf});var t0=m((cPt,wV)=>{"use strict";var OIe=Nb(),hV=tf(),qIe=e0(),RIe=zs(),zR=fV(),AIe=Jc(),PIe=pV(),gV=Yb(),TIe=c2(),mV=lf(),yV=Qb(),MIe=qc(),FIe=af(),LIe=Zb(),IIe=jR(),bV=Jb(),vV=ju(),NIe=Zc();function lt(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new zR(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 zR().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=AIe;lt.parse=LIe;lt.fromJSON=PIe;lt.list=IIe;lt.comment=t=>new mV(t);lt.atRule=t=>new yV(t);lt.decl=t=>new hV(t);lt.rule=t=>new bV(t);lt.root=t=>new vV(t);lt.document=t=>new gV(t);lt.CssSyntaxError=OIe;lt.Declaration=hV;lt.Container=RIe;lt.Processor=zR;lt.Document=gV;lt.Comment=mV;lt.Warning=TIe;lt.AtRule=yV;lt.Result=MIe;lt.Input=FIe;lt.Rule=bV;lt.Root=vV;lt.Node=NIe;qIe.registerPostcss(lt);wV.exports=lt;lt.default=lt});var SV=m((fPt,xV)=>{"use strict";var jIe=Re(),$Ie=Rb(),BIe=hn(),WIe=Pu(),{systemFontKeywords:zIe,fontFamilyKeywords:UIe}=mn(),HIe=xe(),VIe=t0(),GIe=U(),KIe=j(),YIe=N(),{isAtRule:QIe}=Qe(),{isRegExp:JIe,isString:XIe,assert:ZIe}=re(),r0="font-family-no-missing-generic-family-keyword",_V=KIe(r0,{rejected:"Unexpected missing generic font family"}),e3e={url:"https://stylelint.io/user-guide/rules/font-family-no-missing-generic-family-keyword"},t3e=t=>!("quote"in t)&&UIe.has(t.value.toLowerCase()),r3e=t=>{let e=VIe.list.comma(t).pop();return e!=null&&(WIe(e)||!BIe(e))},n0=(t,e)=>(r,n)=>{YIe(n,r0,{actual:t},{actual:e,possible:{ignoreFontFamilies:[XIe,JIe]},optional:!0})&&r.walkDecls(/^font(-family)?$/i,s=>{let o=s.parent;if(o&&QIe(o)&&o.name.toLowerCase()==="font-face"||s.prop==="font"&&zIe.has(s.value.toLowerCase())||r3e(s.value))return;let a=$Ie(s.value);if(a.length===0||a.some(d=>t3e(d))||a.some(d=>HIe(e,"ignoreFontFamilies",d.value)))return;let u=a[a.length-1];ZIe(u);let l=jIe(s),c=l+u.sourceIndex,f=l+u.sourceEndIndex;GIe({result:n,ruleName:r0,message:_V.rejected,node:s,index:c,endIndex:f})})};n0.ruleName=r0;n0.messages=_V;n0.meta=e3e;xV.exports=n0});var EV=m((dPt,kV)=>{"use strict";var n3e=Rb(),i3e=hn(),s3e=Pu(),{fontFamilyKeywords:o3e}=mn(),a3e=U(),u3e=j(),l3e=N(),i0="font-family-name-quotes",Yo=u3e(i0,{expected:t=>`Expected quotes around "${t}"`,rejected:t=>`Unexpected quotes around "${t}"`}),c3e={url:"https://stylelint.io/user-guide/rules/font-family-name-quotes",fixable:!0};function f3e(t){return!!(t.startsWith("-apple-")||t==="BlinkMacSystemFont")}function d3e(t){return!/^[-a-zA-Z]+$/.test(t)}function p3e(t){return t.split(/\s+/).some(e=>/^(?:-?\d|--)/.test(e)||!/^[-\w\u{00A0}-\u{10FFFF}]+$/u.test(e))}var h3e=(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(!l3e(i,i0,{actual:t,possible:["always-where-required","always-where-recommended","always-unless-keyword"]}))return;n.walkDecls(/^font(-family)?$/i,u=>{if(!i3e(u.value))return;let l=h3e(n3e(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(s3e(f))return;if(o3e.has(c.toLowerCase())||f3e(c)){if(d){if(r.fix){u.removeQuotes();return}return a(Yo.rejected(c),f,l)}return}let p=p3e(c),h=d3e(c);switch(t){case"always-unless-keyword":if(!d){if(r.fix){u.addQuotes();return}return a(Yo.expected(c),f,l)}return;case"always-where-recommended":if(!h&&d){if(r.fix){u.removeQuotes();return}return a(Yo.rejected(c),f,l)}if(h&&!d){if(r.fix){u.addQuotes();return}return a(Yo.expected(c),f,l)}return;case"always-where-required":if(!p&&d){if(r.fix){u.removeQuotes();return}return a(Yo.rejected(c),f,l)}if(p&&!d){if(r.fix){u.addQuotes();return}return a(Yo.expected(c),f,l)}}}function a(u,l,c){a3e({result:i,ruleName:i0,message:u,node:c,word:l})}};s0.ruleName=i0;s0.messages=Yo;s0.meta=c3e;kV.exports=s0});var OV=m((pPt,DV)=>{"use strict";var CV=Re(),g3e=Rb(),{fontFamilyKeywords:m3e}=mn(),y3e=xe(),b3e=U(),v3e=j(),w3e=N(),{isRegExp:_3e,isString:x3e}=re(),o0="font-family-no-duplicate-names",UR=v3e(o0,{rejected:t=>`Unexpected duplicate name ${t}`}),S3e={url:"https://stylelint.io/user-guide/rules/font-family-no-duplicate-names"},k3e=t=>!("quote"in t)&&m3e.has(t.value.toLowerCase()),a0=(t,e)=>(r,n)=>{if(!w3e(n,o0,{actual:t},{actual:e,possible:{ignoreFontFamilyNames:[x3e,_3e]},optional:!0}))return;r.walkDecls(/^font(-family)?$/i,o=>{let a=new Set,u=new Set,l=g3e(o.value);if(l.length!==0)for(let c of l){let f=c.value.trim();if(y3e(e,"ignoreFontFamilyNames",f))continue;let d="quote"in c?c.quote+f+c.quote:f;if(k3e(c)){if(a.has(f.toLowerCase())){s(UR.rejected(f),CV(o)+c.sourceIndex,d.length,o);continue}a.add(f);continue}if(u.has(f)){s(UR.rejected(f),CV(o)+c.sourceIndex,d.length,o);continue}u.add(f)}});function s(o,a,u,l){b3e({result:n,ruleName:o0,message:o,node:l,index:a,endIndex:a+u})}};a0.ruleName=o0;a0.messages=UR;a0.meta=S3e;DV.exports=a0});var AV=m((hPt,RV)=>{"use strict";var E3e=Ae(),C3e=Re(),D3e=vt(),HR=oR(),O3e=hn(),q3e=Pu(),{fontWeightNonNumericKeywords:R3e,fontWeightRelativeKeywords:A3e}=mn(),P3e=xe(),T3e=U(),M3e=j(),F3e=Bt(),L3e=N(),{assertString:I3e}=re(),l0="font-weight-notation",u0=M3e(l0,{expected:t=>`Expected ${t} font-weight notation`,expectedWithActual:(t,e)=>`Expected "${t}" to be "${e}"`}),N3e={url:"https://stylelint.io/user-guide/rules/font-weight-notation",fixable:!0},j3e="normal",$3e=new Map([["normal","400"],["bold","700"]]),qV=new Map([["400","normal"],["700","bold"]]),c0=(t,e,r)=>(n,i)=>{if(!L3e(i,l0,{actual:t,possible:["numeric","named-where-possible"]},{actual:e,possible:{ignore:["relative"]},optional:!0}))return;let o=P3e(e,"ignore","relative");n.walkDecls(/^font(-weight)?$/i,u=>{let l=u.prop.toLowerCase()==="font",c=E3e(D3e(u)),f=c.nodes,d=f.some((p,h,y)=>HR(p.value)&&!VR(y[h-1]));for(let[p,h]of f.entries()){if(!B3e(h,p,f))continue;let{value:y}=h;if(l){if(y.toLowerCase()===j3e&&d)continue;if(a(u,h))break}a(u,h)}r.fix&&F3e(u,c.toString())});function a(u,l){let c=l.value;if(!O3e(c)||q3e(c))return;let f=c.toLowerCase();if(o&&A3e.has(f))return;if(t==="numeric"&&!HR(f)&&R3e.has(f)){let p=$3e.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"&&HR(f)&&qV.has(f)){let p=qV.get(f);return I3e(p),r.fix?(l.value=p,!0):(d(u0.expectedWithActual(c,p),l),!0)}function d(p,h){let y=C3e(u)+h.sourceIndex,b=y+h.value.length;T3e({ruleName:l0,result:i,message:p,node:u,index:y,endIndex:b})}}};function VR(t){return t!==void 0&&t.type==="div"}function B3e(t,e,r){return!(t.type!=="word"||VR(r[e-1])||VR(r[e+1]))}c0.ruleName=l0;c0.messages=u0;c0.meta=N3e;RV.exports=c0});var MV=m((gPt,TV)=>{"use strict";var W3e=Re(),z3e=Ri(),U3e=qt(),H3e=U(),V3e=j(),G3e=N(),K3e=Ae(),Y3e=rt(),{isRegExp:Q3e,isString:J3e}=re(),f0="function-allowed-list",PV=V3e(f0,{rejected:t=>`Unexpected function "${t}"`}),X3e={url:"https://stylelint.io/user-guide/rules/function-allowed-list"},hf=t=>(e,r)=>{G3e(r,f0,{actual:t,possible:[J3e,Q3e]})&&e.walkDecls(i=>{K3e(i.value).walk(s=>{if(s.type!=="function"||!z3e(s)||U3e(Y3e.unprefixed(s.value),t))return;let o=W3e(i)+s.sourceIndex,a=o+s.value.length;H3e({message:PV.rejected(s.value),node:i,index:o,endIndex:a,result:r,ruleName:f0})})})};hf.primaryOptionArray=!0;hf.ruleName=f0;hf.messages=PV;hf.meta=X3e;TV.exports=hf});var jV=m((mPt,NV)=>{"use strict";var Z3e=Ae(),eNe=Re(),tNe=vt(),rNe=hn(),nNe=U(),iNe=j(),sNe=Bt(),oNe=N(),{assert:FV}=re(),p0="function-calc-no-unspaced-operator",Ir=iNe(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}"`}),aNe={url:"https://stylelint.io/user-guide/rules/function-calc-no-unspaced-operator",fixable:!0},zu=new Set(["+","-"]),LV=/[+-]/,uNe=new Set([...zu,"*","/"]),h0=(t,e,r)=>(n,i)=>{if(!oNe(i,p0,{actual:t}))return;function o(a,u,l,c){let f=l+c.length;nNe({message:a,node:u,index:l,endIndex:f,result:i,ruleName:p0})}n.walkDecls(a=>{let u=!1,l=eNe(a),c=Z3e(tNe(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(zu.has(_))return r.fix?(b.value=`${b.value.slice(0,-1)} ${_}`,!0):(o(Ir.expectedOperatorBeforeSign(v),a,w,v),!0)}else{let _=b.value.slice(0,1);if(zu.has(_))return r.fix?(b.value=`${_} ${b.value.slice(1)}`,!0):(o(Ir.expectedAfter(v),a,w,v),!0)}return r.fix?(u=!0,b.value=g?`${b.value} `:` ${b.value}`,!0):(o(g?Ir.expectedBefore(v):Ir.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?Ir.expectedBefore(v):Ir.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?Ir.expectedBefore(v):Ir.expectedAfter(v);return o(_,a,l+w,v),!0}}return!1}function d(y){let b=y[0];if(FV(b),b.type!=="word"||!rNe(b.value))return!1;let g=b.value.search(LV),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=Wu(b.value,g+1," "),b.value=Wu(b.value,g," ")):(o(Ir.expectedBefore(v),a,l+b.sourceIndex+g,v),o(Ir.expectedAfter(v),a,l+b.sourceIndex+g+1,v)):w&&w!==" "?r.fix?(u=!0,b.value=Wu(b.value,g," ")):o(Ir.expectedBefore(v),a,l+b.sourceIndex+g,v):_&&_!==" "&&(r.fix?(u=!0,b.value=Wu(b.value,g," ")):o(Ir.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(FV(b),b.type!=="word")return!1;let g=b.value.search(LV);if(g===-1||b.value.charAt(g-1)===" "||IV(y[y.length-3],uNe)&&d0(y[y.length-2]))return!1;if(r.fix)return u=!0,b.value=Wu(b.value,g+1," ").trim(),b.value=Wu(b.value,g," ").trim(),!0;let v=b.value.charAt(g);return o(Ir.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&&zu.has(v)){if(r.fix){g.value=`${g.value.slice(0,-1)} ${v}`;continue}o(Ir.expectedBefore(v),a,g.sourceIndex,v)}else if(b===y.length&&zu.has(w)){if(r.fix){g.value=`${w} ${g.value.slice(1)}`;continue}o(Ir.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(!IV(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&&sNe(a,c.toString())})};function Wu(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 IV(t,e=zu){return t!=null&&t.type==="word"&&e.has(t.value)}h0.ruleName=p0;h0.messages=Ir;h0.meta=aNe;NV.exports=h0});var gf=m((yPt,$V)=>{"use strict";$V.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 mf=m((bPt,WV)=>{"use strict";var lNe=Re(),cNe=vt(),fNe=Ri(),dNe=U(),pNe=Bt(),BV=Ae();WV.exports=function(e){e.root.walkDecls(r=>{let n=cNe(r),i,s=BV(n);s.walk(o=>{if(o.type!=="function"||!fNe(o)||o.value.toLowerCase()==="url")return;let a=o.nodes.map(f=>BV.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=lNe(r)+f.sourceIndex+f.before.length;if(e.fix&&e.fix(f,p,o.nodes)){i=!0;return}dNe({index:y,message:h,node:r,result:e.result,ruleName:e.checkedRuleName})}})}),i&&pNe(r,s.toString())})}});var HV=m((vPt,UV)=>{"use strict";var hNe=gf(),gNe=mf(),mNe=j(),yNe=N(),bNe=$e(),g0="function-comma-newline-after",zV=mNe(g0,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line function',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line function'}),vNe={url:"https://stylelint.io/user-guide/rules/function-comma-newline-after",fixable:!0},m0=(t,e,r)=>{let n=bNe("newline",t,zV);return(i,s)=>{yNe(s,g0,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&gNe({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:g0,fix:r.fix?(a,u,l)=>hNe({div:a,index:u,nodes:l,expectation:t,position:"after",symb:r.newline||""}):null})}};m0.ruleName=g0;m0.messages=zV;m0.meta=vNe;UV.exports=m0});var KV=m((wPt,GV)=>{"use strict";var wNe=gf(),_Ne=mf(),xNe=j(),SNe=N(),kNe=$e(),y0="function-comma-newline-before",VV=xNe(y0,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line function',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line function'}),ENe={url:"https://stylelint.io/user-guide/rules/function-comma-newline-before",fixable:!0},b0=(t,e,r)=>{let n=kNe("newline",t,VV);return(i,s)=>{SNe(s,y0,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&_Ne({root:i,result:s,locationChecker:n.beforeAllowingIndentation,checkedRuleName:y0,fix:r.fix?(a,u,l)=>wNe({div:a,index:u,nodes:l,expectation:t,position:"before",symb:r.newline||""}):null})}};b0.ruleName=y0;b0.messages=VV;b0.meta=ENe;GV.exports=b0});var JV=m((_Pt,QV)=>{"use strict";var CNe=gf(),DNe=mf(),ONe=j(),qNe=N(),RNe=$e(),v0="function-comma-space-after",YV=ONe(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'}),ANe={url:"https://stylelint.io/user-guide/rules/function-comma-space-after",fixable:!0},w0=(t,e,r)=>{let n=RNe("space",t,YV);return(i,s)=>{qNe(s,v0,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&DNe({root:i,result:s,locationChecker:n.after,checkedRuleName:v0,fix:r.fix?(a,u,l)=>CNe({div:a,index:u,nodes:l,expectation:t,position:"after",symb:" "}):null})}};w0.ruleName=v0;w0.messages=YV;w0.meta=ANe;QV.exports=w0});var eG=m((xPt,ZV)=>{"use strict";var PNe=gf(),TNe=mf(),MNe=j(),FNe=N(),LNe=$e(),_0="function-comma-space-before",XV=MNe(_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'}),INe={url:"https://stylelint.io/user-guide/rules/function-comma-space-before",fixable:!0},x0=(t,e,r)=>{let n=LNe("space",t,XV);return(i,s)=>{FNe(s,_0,{actual:t,possible:["always","never","always-single-line","never-single-line"]})&&TNe({root:i,result:s,locationChecker:n.before,checkedRuleName:_0,fix:r.fix?(a,u,l)=>PNe({div:a,index:u,nodes:l,expectation:t,position:"before",symb:" "}):null})}};x0.ruleName=_0;x0.messages=XV;x0.meta=INe;ZV.exports=x0});var nG=m((SPt,rG)=>{"use strict";var NNe=Re(),jNe=Ri(),$Ne=qt(),BNe=U(),WNe=j(),zNe=N(),UNe=Ae(),HNe=rt(),{isRegExp:VNe,isString:GNe}=re(),S0="function-disallowed-list",tG=WNe(S0,{rejected:t=>`Unexpected function "${t}"`}),KNe={url:"https://stylelint.io/user-guide/rules/function-disallowed-list"},yf=t=>(e,r)=>{zNe(r,S0,{actual:t,possible:[GNe,VNe]})&&e.walkDecls(i=>{UNe(i.value).walk(s=>{if(s.type!=="function"||!jNe(s)||!$Ne(HNe.unprefixed(s.value),t))return;let o=NNe(i)+s.sourceIndex,a=o+s.value.length;BNe({message:tG.rejected,messageArgs:[s.value],node:i,index:o,endIndex:a,result:r,ruleName:S0})})})};yf.primaryOptionArray=!0;yf.ruleName=S0;yf.messages=tG;yf.meta=KNe;rG.exports=yf});var uG=m((kPt,aG)=>{"use strict";aG.exports=sG;function sG(t,e,r){t instanceof RegExp&&(t=iG(t,r)),e instanceof RegExp&&(e=iG(e,r));let n=oG(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 iG(t,e){let r=e.match(t);return r?r[0]:null}sG.range=oG;function oG(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 Uu=m((EPt,lG)=>{"use strict";var YNe=uG(),QNe=Ae(),{assert:JNe,isString:XNe,isRegExp:ZNe}=re();lG.exports=function(e,r,n){QNe(e).walk(i=>{if(i.type!=="function")return;let{value:s}=i;if(XNe(r)&&s!==r||ZNe(r)&&!r.test(i.value))return;let o=YNe("(",")",e.slice(i.sourceIndex));JNe(o);let a=o.body,u=1,l=i.sourceIndex+s.length+u;n(a,l)})}});var pG=m((CPt,dG)=>{"use strict";var e5e=Re(),t5e=Uu(),r5e=hn(),n5e=U(),i5e=j(),s5e=N(),cG=Ae(),o5e=rt(),k0="function-linear-gradient-no-nonstandard-direction",fG=i5e(k0,{rejected:"Unexpected nonstandard direction"}),a5e={url:"https://stylelint.io/user-guide/rules/function-linear-gradient-no-nonstandard-direction"};function u5e(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)=>{s5e(r,k0,{actual:t})&&e.walkDecls(i=>{cG(i.value).walk(s=>{s.type==="function"&&t5e(cG.stringify(s).toLowerCase(),/^(-webkit-|-moz-|-o-|-ms-)?linear-gradient$/i,(o,a)=>{let u=o.split(","),l=(u[0]||"").trim();if(!r5e(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=!o5e.prefix(s.value);u5e(l,c)||f();function f(){let d=e5e(i)+s.sourceIndex+a,p=d+(u[0]||"").trimEnd().length;n5e({message:fG.rejected,node:i,index:d,endIndex:p,result:r,ruleName:k0})}})})})};E0.ruleName=k0;E0.messages=fG;E0.meta=a5e;dG.exports=E0});var yG=m((DPt,mG)=>{"use strict";var l5e=vt(),c5e=U(),f5e=j(),d5e=Bt(),p5e=N(),hG=Ae(),{isNumber:h5e}=re(),C0="function-max-empty-lines",gG=f5e(C0,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),g5e={url:"https://stylelint.io/user-guide/rules/function-max-empty-lines",fixable:!0};function m5e(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(!p5e(s,C0,{actual:t,possible:h5e}))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=l5e(f),p=[],h=0;if(hG(d).walk(y=>{if(y.type!=="function"||y.value.length===0)return;let b=hG.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 c5e({message:gG.expected(t),node:f,index:m5e(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);d5e(f,y)}})}};D0.ruleName=C0;D0.messages=gG;D0.meta=g5e;mG.exports=D0});var GR=m((OPt,bG)=>{"use strict";var y5e=new Set(["translateX","translateY","translateZ","scaleX","scaleY","scaleZ","rotateX","rotateY","rotateZ","skewX","skewY"]),b5e=new Set(["calc","clamp","max","min"]);bG.exports={camelCaseFunctions:y5e,mathFunctions:b5e}});var _G=m((qPt,wG)=>{"use strict";var v5e=Re(),w5e=vt(),_5e=Ri(),{camelCaseFunctions:x5e}=GR(),S5e=xe(),k5e=U(),E5e=j(),C5e=Bt(),D5e=N(),O5e=Ae(),{isRegExp:q5e,isString:R5e}=re(),O0="function-name-case",vG=E5e(O0,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),A5e={url:"https://stylelint.io/user-guide/rules/function-name-case",fixable:!0},KR=new Map;for(let t of x5e)KR.set(t.toLowerCase(),t);var q0=(t,e,r)=>(n,i)=>{D5e(i,O0,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreFunctions:[R5e,q5e]},optional:!0})&&n.walkDecls(o=>{let a=!1,u=O5e(w5e(o));u.walk(l=>{if(l.type!=="function"||!_5e(l))return;let c=l.value,f=c.toLowerCase();if(S5e(e,"ignoreFunctions",c))return;let d=null;if(t==="lower"&&KR.has(f)?d=KR.get(f):t==="lower"?d=f:d=c.toUpperCase(),c!==d){if(r.fix){a=!0,l.value=d;return}k5e({message:vG.expected(c,d),node:o,index:v5e(o)+l.sourceIndex,result:i,ruleName:O0})}}),r.fix&&a&&C5e(o,u.toString())})};q0.ruleName=O0;q0.messages=vG;q0.meta=A5e;wG.exports=q0});var kG=m((RPt,SG)=>{"use strict";var xG=H("url"),P5e=xG.fileURLToPath(new xG.URL("index.json",typeof document>"u"?new(H("url")).URL("file:"+__filename).href:document.currentScript&&document.currentScript.src||new URL("index.js",document.baseURI).href));SG.exports=P5e});var CG=m((APt,EG)=>{"use strict";EG.exports=function(e){return e.startsWith("--")}});var qG=m((PPt,OG)=>{"use strict";var T5e=H("fs"),M5e=Ae(),F5e=kG(),L5e=Re(),I5e=xe(),N5e=U(),j5e=j(),$5e=N(),B5e=Ri(),W5e=CG(),{isRegExp:z5e,isString:U5e}=re(),R0="function-no-unknown",DG=j5e(R0,{rejected:t=>`Unexpected unknown function "${t}"`}),H5e={url:"https://stylelint.io/user-guide/rules/function-no-unknown"},A0=(t,e)=>(r,n)=>{if(!$5e(n,R0,{actual:t},{actual:e,possible:{ignoreFunctions:[U5e,z5e]},optional:!0}))return;let s=JSON.parse(T5e.readFileSync(F5e.toString(),"utf8"));r.walkDecls(o=>{let{value:a}=o;M5e(a).walk(u=>{let l=u.value;u.type==="function"&&B5e(u)&&(W5e(l)||I5e(e,"ignoreFunctions",l)||s.includes(l.toLowerCase())||N5e({message:DG.rejected(l),node:o,index:L5e(o)+u.sourceIndex,result:n,ruleName:R0,word:l}))})})};A0.ruleName=R0;A0.messages=DG;A0.meta=H5e;OG.exports=A0});var MG=m((TPt,TG)=>{"use strict";var V5e=Re(),G5e=vt(),K5e=Oi(),Y5e=Ri(),Q5e=U(),J5e=j(),X5e=Bt(),Z5e=N(),RG=Ae(),P0="function-parentheses-newline-inside",Qo=J5e(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'}),eje={url:"https://stylelint.io/user-guide/rules/function-parentheses-newline-inside",fixable:!0},T0=(t,e,r)=>(n,i)=>{Z5e(i,P0,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&n.walkDecls(o=>{if(!o.value.includes("("))return;let a=!1,u=G5e(o),l=RG(u);l.walk(f=>{if(f.type!=="function"||!Y5e(f))return;let d=RG.stringify(f),p=!K5e(d),h=w=>w.includes(`
114
+ `),y=f.sourceIndex+f.value.length+1,b=tje(f);t==="always"&&!h(b)&&(r.fix?(a=!0,AG(f,r.newline||"")):c(Qo.expectedOpening,y)),p&&t==="always-multi-line"&&!h(b)&&(r.fix?(a=!0,AG(f,r.newline||"")):c(Qo.expectedOpeningMultiLine,y)),p&&t==="never-multi-line"&&b!==""&&(r.fix?(a=!0,nje(f)):c(Qo.rejectedOpeningMultiLine,y));let g=f.sourceIndex+d.length-2,v=rje(f);t==="always"&&!h(v)&&(r.fix?(a=!0,PG(f,r.newline||"")):c(Qo.expectedClosing,g)),p&&t==="always-multi-line"&&!h(v)&&(r.fix?(a=!0,PG(f,r.newline||"")):c(Qo.expectedClosingMultiLine,g)),p&&t==="never-multi-line"&&v!==""&&(r.fix?(a=!0,ije(f)):c(Qo.rejectedClosingMultiLine,g))}),a&&X5e(o,l.toString());function c(f,d){Q5e({ruleName:P0,result:i,message:f,node:o,index:V5e(o)+d})}})};function tje(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 rje(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 AG(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 nje(t){t.before="";for(let e of t.nodes)if(e.type!=="comment"){if(e.type==="space"){e.value="";continue}break}}function PG(t,e){t.after=e+t.after}function ije(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=Qo;T0.meta=eje;TG.exports=T0});var IG=m((MPt,LG)=>{"use strict";var sje=Re(),oje=vt(),aje=Oi(),uje=Ri(),lje=U(),cje=j(),fje=Bt(),dje=N(),FG=Ae(),M0="function-parentheses-space-inside",as=cje(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'}),pje={url:"https://stylelint.io/user-guide/rules/function-parentheses-space-inside",fixable:!0},F0=(t,e,r)=>(n,i)=>{dje(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=oje(o),l=FG(u);l.walk(f=>{if(f.type!=="function"||!uje(f)||!f.nodes.length)return;let d=FG.stringify(f),p=aje(d),h=f.sourceIndex+f.value.length+1;t==="always"&&f.before!==" "&&(r.fix?(a=!0,f.before=" "):c(as.expectedOpening,h)),t==="never"&&f.before!==""&&(r.fix?(a=!0,f.before=""):c(as.rejectedOpening,h)),p&&t==="always-single-line"&&f.before!==" "&&(r.fix?(a=!0,f.before=" "):c(as.expectedOpeningSingleLine,h)),p&&t==="never-single-line"&&f.before!==""&&(r.fix?(a=!0,f.before=""):c(as.rejectedOpeningSingleLine,h));let y=f.sourceIndex+d.length-2;t==="always"&&f.after!==" "&&(r.fix?(a=!0,f.after=" "):c(as.expectedClosing,y)),t==="never"&&f.after!==""&&(r.fix?(a=!0,f.after=""):c(as.rejectedClosing,y)),p&&t==="always-single-line"&&f.after!==" "&&(r.fix?(a=!0,f.after=" "):c(as.expectedClosingSingleLine,y)),p&&t==="never-single-line"&&f.after!==""&&(r.fix?(a=!0,f.after=""):c(as.rejectedClosingSingleLine,y))}),a&&fje(o,l.toString());function c(f,d){lje({ruleName:M0,result:i,message:f,node:o,index:sje(o)+d})}})};F0.ruleName=M0;F0.messages=as;F0.meta=pje;LG.exports=F0});var bf=m((FPt,NG)=>{"use strict";var hje=w2(),gje=_2(),mje=x2(),yje=S2();NG.exports=function(e){return e.length===0?!0:mje(e)||yje(e)||gje(e)?!1:e.startsWith("'")&&e.endsWith("'")||e.startsWith('"')&&e.endsWith('"')?!hje(e):!(e.startsWith("@")&&/^@@?[\w-]+$/.test(e)||e.includes("$")&&/^[$\s\w+\-,./*'"]+$/.test(e)&&!e.endsWith("/"))}});var BG=m((LPt,$G)=>{"use strict";var bje=Uu(),vje=bf(),wje=U(),_je=j(),xje=N(),L0="function-url-no-scheme-relative",jG=_je(L0,{rejected:"Unexpected scheme-relative url"}),Sje={url:"https://stylelint.io/user-guide/rules/function-url-no-scheme-relative"},I0=t=>(e,r)=>{xje(r,L0,{actual:t})&&e.walkDecls(i=>{bje(i.toString().toLowerCase(),"url",(s,o)=>{let a=s.trim().replace(/^['"]+|['"]+$/g,"");!vje(a)||!a.startsWith("//")||wje({message:jG.rejected,node:i,index:o,endIndex:o+s.length,result:r,ruleName:L0})})})};I0.ruleName=L0;I0.messages=jG;I0.meta=Sje;$G.exports=I0});var zG=m((IPt,WG)=>{"use strict";var YR=et(),N0=Uu(),kje=bf(),Eje=xe(),Cje=U(),Dje=j(),Oje=N(),j0="function-url-quotes",QR=Dje(j0,{expected:t=>`Expected quotes around "${t}" function argument`,rejected:t=>`Unexpected quotes around "${t}" function argument`}),qje={url:"https://stylelint.io/user-guide/rules/function-url-quotes"},$0=(t,e)=>(r,n)=>{if(!Oje(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+YR(l),"url")}),N0(c,"url-prefix",(f,d)=>{a(f,l,d+YR(l),"url-prefix")}),N0(c,"domain",(f,d)=>{a(f,l,d+YR(l),"domain")})}function a(l,c,f,d){let p=t==="always",h=l.trimStart();if(!kje(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(Eje(e,"except","empty")&&w&&(p=!p),p){if(g)return;u(QR.expected(d),c,y,b)}else{if(!g)return;u(QR.rejected(d),c,y,b)}}function u(l,c,f,d){Cje({message:l,node:c,index:f,endIndex:d,result:n,ruleName:j0})}};$0.ruleName=j0;$0.messages=QR;$0.meta=qje;WG.exports=$0});var JR=m((NPt,UG)=>{"use strict";var{URL:Rje}=H("url");UG.exports=function(e){let r=null;try{r=new Rje(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 GG=m((jPt,VG)=>{"use strict";var Aje=Uu(),Pje=JR(),Tje=bf(),Mje=qt(),Fje=U(),Lje=j(),Ije=N(),{isRegExp:Nje,isString:jje}=re(),B0="function-url-scheme-allowed-list",HG=Lje(B0,{rejected:t=>`Unexpected URL scheme "${t}:"`}),$je={url:"https://stylelint.io/user-guide/rules/function-url-scheme-allowed-list"},vf=t=>(e,r)=>{Ije(r,B0,{actual:t,possible:[jje,Nje]})&&e.walkDecls(i=>{Aje(i.toString().toLowerCase(),"url",(s,o)=>{let a=s.trim();if(!Tje(a))return;let u=a.replace(/^['"]+|['"]+$/g,""),l=Pje(u);l!==null&&(Mje(l,t)||Fje({message:HG.rejected(l),node:i,index:o,endIndex:o+s.length,result:r,ruleName:B0}))})})};vf.primaryOptionArray=!0;vf.ruleName=B0;vf.messages=HG;vf.meta=$je;VG.exports=vf});var QG=m(($Pt,YG)=>{"use strict";var Bje=Uu(),Wje=JR(),zje=bf(),Uje=qt(),Hje=U(),Vje=j(),Gje=N(),{isRegExp:Kje,isString:Yje}=re(),W0="function-url-scheme-disallowed-list",KG=Vje(W0,{rejected:t=>`Unexpected URL scheme "${t}:"`}),Qje={url:"https://stylelint.io/user-guide/rules/function-url-scheme-disallowed-list"},wf=t=>(e,r)=>{Gje(r,W0,{actual:t,possible:[Yje,Kje]})&&e.walkDecls(i=>{Bje(i.toString().toLowerCase(),"url",(s,o)=>{let a=s.trim();if(!zje(a))return;let u=a.replace(/^['"]+|['"]+$/g,""),l=Wje(u);l!==null&&Uje(l,t)&&Hje({message:KG.rejected(l),node:i,index:o,endIndex:o+s.length,result:r,ruleName:W0})})})};wf.primaryOptionArray=!0;wf.ruleName=W0;wf.messages=KG;wf.meta=Qje;YG.exports=wf});var eK=m((BPt,ZG)=>{"use strict";var Jje=et(),Xje=Re(),Zje=vt(),JG=Ic(),XG=U(),e6e=j(),t6e=Bt(),r6e=Lr(),n6e=N(),_f="function-whitespace-after",XR=e6e(_f,{expected:'Expected whitespace after ")"',rejected:'Unexpected whitespace after ")"'}),i6e={url:"https://stylelint.io/user-guide/rules/function-whitespace-after",fixable:!0},s6e=new Set([")",",","}",":","/",void 0]),z0=(t,e,r)=>(n,i)=>{if(!n6e(i,_f,{actual:t,possible:["always","never"]}))return;function o(l,c,f,d){r6e({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
+ `||s6e.has(h))return;if(p){p(c);return}XG({message:XR.expected,node:f,index:d+c,result:i,ruleName:_f})}else if(t==="never"&&JG(h)){if(p){p(c);return}XG({message:XR.rejected,node:f,index:d+c,result:i,ruleName:_f})}}}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&&JG(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,Jje(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=Zje(l),f=r.fix&&u(c);o(l,c,Xje(l),f?f.applyFix:void 0),f&&f.hasFixed&&t6e(l,f.fixed)})};z0.ruleName=_f;z0.messages=XR;z0.meta=i6e;ZG.exports=z0});var aK=m((WPt,oK)=>{"use strict";var H0=Ae(),o6e=Re(),a6e=vt(),u6e=hn(),l6e=U(),c6e=j(),f6e=Bt(),d6e=N(),U0="hue-degree-notation",nK=c6e(U0,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),p6e={url:"https://stylelint.io/user-guide/rules/hue-degree-notation",fixable:!0},iK=["hsl","hsla","hwb"],sK=["lch"],h6e=new Set([...iK,...sK]),V0=(t,e,r)=>(n,i)=>{d6e(i,U0,{actual:t,possible:["angle","number"]})&&n.walkDecls(o=>{let a=!1,u=H0(a6e(o));u.walk(l=>{if(l.type!=="function"||!h6e.has(l.value.toLowerCase()))return;let c=y6e(l);if(!c)return;let{value:f}=c;if(!u6e(f)||!tK(f)&&!rK(f)||t==="angle"&&tK(f)||t==="number"&&rK(f))return;let d=t==="angle"?g6e(f):m6e(f),p=f;if(r.fix){c.value=d,a=!0;return}let h=o6e(o);l6e({message:nK.expected(p,d),node:o,index:h+c.sourceIndex,endIndex:h+c.sourceEndIndex,result:i,ruleName:U0})}),a&&f6e(o,u.toString())})};function g6e(t){return`${t}deg`}function m6e(t){let e=H0.unit(t);if(e)return e.number;throw new TypeError(`The "${t}" value must have a unit`)}function y6e(t){let e=t.nodes.filter(({type:n})=>n==="word"||n==="function"),r=t.value.toLowerCase();if(iK.includes(r))return e[0];if(sK.includes(r))return e[2]}function tK(t){let e=H0.unit(t);return e&&e.unit.toLowerCase()==="deg"}function rK(t){let e=H0.unit(t);return e&&e.unit===""}V0.ruleName=U0;V0.messages=nK;V0.meta=p6e;oK.exports=V0});var ZR=m((zPt,uK)=>{"use strict";uK.exports=function(e,r){let n=e.raws;return n.params?n.params.raw=r:e.params=r,e}});var eA=m((UPt,lK)=>{"use strict";lK.exports=function(e){let r=e.raws;return r.params&&r.params.raw||e.params}});var dK=m((HPt,fK)=>{"use strict";var G0=Ae(),b6e=U(),v6e=j(),w6e=N(),cK=ZR(),_6e=eA(),x6e=et(),K0="import-notation",tA=v6e(K0,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),S6e={url:"https://stylelint.io/user-guide/rules/import-notation",fixable:!0},Y0=(t,e,r)=>(n,i)=>{if(!w6e(i,K0,{actual:t,possible:["string","url"]}))return;n.walkAtRules(/^import$/i,o);function o(u){let l=_6e(u),c=G0(l);for(let f of c.nodes){let d=x6e(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);cK(u,`${b}${g}`);return}a(tA.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);cK(u,`${y}${g}`);return}let b=f.type==="word"?`"${f.value}"`:`${f.quote}${f.value}${f.quote}`;a(tA.expected(b,y),u,d,p);return}}}}function a(u,l,c,f){b6e({message:u,node:l,index:c,endIndex:f,result:i,ruleName:K0})}};Y0.ruleName=K0;Y0.messages=tA;Y0.meta=S6e;fK.exports=Y0});var Hr=m((VPt,pK)=>{"use strict";var k6e=Rc();pK.exports=function(e){return!(k6e(e)||e.startsWith("%")||e.endsWith(":")||/:extend(?:\(.*?\))?/.test(e)||/\.[\w-]+\(.*\).+/.test(e)||e.endsWith(")")&&!e.includes(":")||/\(@.*\)$/.test(e)||e.includes("<%")||e.includes("%>")||e.includes("//"))}});var mK=m((GPt,gK)=>{"use strict";var E6e=Hr(),C6e=U(),D6e=j(),O6e=N(),Q0="keyframe-block-no-duplicate-selectors",hK=D6e(Q0,{rejected:t=>`Unexpected duplicate "${t}"`}),q6e={url:"https://stylelint.io/user-guide/rules/keyframe-block-no-duplicate-selectors"},J0=t=>(e,r)=>{O6e(r,Q0,{actual:t})&&e.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,i=>{let s=new Set;i.walkRules(o=>{o.selectors.forEach(u=>{if(!E6e(u))return;let l=u.toLowerCase();if(s.has(l)){C6e({message:hK.rejected(u),node:o,result:r,ruleName:Q0,word:u});return}s.add(l)})})})};J0.ruleName=Q0;J0.messages=hK;J0.meta=q6e;gK.exports=J0});var vK=m((KPt,bK)=>{"use strict";var R6e=sR(),A6e=U(),P6e=j(),T6e=N(),{assert:M6e}=re(),X0="keyframe-declaration-no-important",yK=P6e(X0,{rejected:"Unexpected !important"}),F6e={url:"https://stylelint.io/user-guide/rules/keyframe-declaration-no-important"},Z0=t=>(e,r)=>{T6e(r,X0,{actual:t})&&e.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,i=>{i.walkDecls(s=>{if(!s.important)return;let o=R6e(s.toString());M6e(o),A6e({message:yK.rejected,node:s,index:o.index,endIndex:o.endIndex,result:r,ruleName:X0})})})};Z0.ruleName=X0;Z0.messages=yK;Z0.meta=F6e;bK.exports=Z0});var rA=m((ev,wK)=>{"use strict";ev.__esModule=!0;ev.default=N6e;function L6e(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 I6e=/\\/;function N6e(t){var e=I6e.test(t);if(!e)return t;for(var r="",n=0;n<t.length;n++){if(t[n]==="\\"){var i=L6e(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}wK.exports=ev.default});var xK=m((tv,_K)=>{"use strict";tv.__esModule=!0;tv.default=j6e;function j6e(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}_K.exports=tv.default});var kK=m((rv,SK)=>{"use strict";rv.__esModule=!0;rv.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();t[i]||(t[i]={}),t=t[i]}}SK.exports=rv.default});var CK=m((nv,EK)=>{"use strict";nv.__esModule=!0;nv.default=B6e;function B6e(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}EK.exports=nv.default});var xf=m(Mi=>{"use strict";Mi.__esModule=!0;Mi.stripComments=Mi.ensureObject=Mi.getProp=Mi.unesc=void 0;var W6e=iv(rA());Mi.unesc=W6e.default;var z6e=iv(xK());Mi.getProp=z6e.default;var U6e=iv(kK());Mi.ensureObject=U6e.default;var H6e=iv(CK());Mi.stripComments=H6e.default;function iv(t){return t&&t.__esModule?t:{default:t}}});var us=m((Sf,qK)=>{"use strict";Sf.__esModule=!0;Sf.default=void 0;var DK=xf();function OK(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 V6e(t,e,r){return e&&OK(t.prototype,e),r&&OK(t,r),t}var G6e=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},K6e=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=G6e(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("")},V6e(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,DK.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,DK.ensureObject)(this,"raws","spaces"),this.raws.spaces.after=n}}]),t}();Sf.default=K6e;qK.exports=Sf.default});var Er=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 Y6e="tag";wt.TAG=Y6e;var Q6e="string";wt.STRING=Q6e;var J6e="selector";wt.SELECTOR=J6e;var X6e="root";wt.ROOT=X6e;var Z6e="pseudo";wt.PSEUDO=Z6e;var e$e="nesting";wt.NESTING=e$e;var t$e="id";wt.ID=t$e;var r$e="comment";wt.COMMENT=r$e;var n$e="combinator";wt.COMBINATOR=n$e;var i$e="class";wt.CLASS=i$e;var s$e="attribute";wt.ATTRIBUTE=s$e;var o$e="universal";wt.UNIVERSAL=o$e});var sv=m((kf,TK)=>{"use strict";kf.__esModule=!0;kf.default=void 0;var a$e=l$e(us()),ls=u$e(Er());function PK(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return PK=function(){return t},t}function u$e(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=PK();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 l$e(t){return t&&t.__esModule?t:{default:t}}function c$e(t,e){var r;if(typeof Symbol>"u"||t[Symbol.iterator]==null){if(Array.isArray(t)||(r=f$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 f$e(t,e){if(t){if(typeof t=="string")return RK(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 RK(t,e)}}function RK(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 AK(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 d$e(t,e,r){return e&&AK(t.prototype,e),r&&AK(t,r),t}function p$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,nA(t,e)}function nA(t,e){return nA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},nA(t,e)}var h$e=function(t){p$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=c$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===ls.ATTRIBUTE)return i.call(s,o)})},r.walkClasses=function(i){var s=this;return this.walk(function(o){if(o.type===ls.CLASS)return i.call(s,o)})},r.walkCombinators=function(i){var s=this;return this.walk(function(o){if(o.type===ls.COMBINATOR)return i.call(s,o)})},r.walkComments=function(i){var s=this;return this.walk(function(o){if(o.type===ls.COMMENT)return i.call(s,o)})},r.walkIds=function(i){var s=this;return this.walk(function(o){if(o.type===ls.ID)return i.call(s,o)})},r.walkNesting=function(i){var s=this;return this.walk(function(o){if(o.type===ls.NESTING)return i.call(s,o)})},r.walkPseudos=function(i){var s=this;return this.walk(function(o){if(o.type===ls.PSEUDO)return i.call(s,o)})},r.walkTags=function(i){var s=this;return this.walk(function(o){if(o.type===ls.TAG)return i.call(s,o)})},r.walkUniversals=function(i){var s=this;return this.walk(function(o){if(o.type===ls.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("")},d$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}(a$e.default);kf.default=h$e;TK.exports=kf.default});var sA=m((Ef,FK)=>{"use strict";Ef.__esModule=!0;Ef.default=void 0;var g$e=y$e(sv()),m$e=Er();function y$e(t){return t&&t.__esModule?t:{default:t}}function MK(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 b$e(t,e,r){return e&&MK(t.prototype,e),r&&MK(t,r),t}function v$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,iA(t,e)}function iA(t,e){return iA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},iA(t,e)}var w$e=function(t){v$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=m$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)},b$e(e,[{key:"errorGenerator",set:function(i){this._error=i}}]),e}(g$e.default);Ef.default=w$e;FK.exports=Ef.default});var aA=m((Cf,LK)=>{"use strict";Cf.__esModule=!0;Cf.default=void 0;var _$e=S$e(sv()),x$e=Er();function S$e(t){return t&&t.__esModule?t:{default:t}}function k$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$e=function(t){k$e(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=x$e.SELECTOR,n}return e}(_$e.default);Cf.default=E$e;LK.exports=Cf.default});var ov=m((JPt,IK)=>{"use strict";var C$e={},D$e=C$e.hasOwnProperty,O$e=function(e,r){if(!e)return r;var n={};for(var i in r)n[i]=D$e.call(e,i)?e[i]:r[i];return n},q$e=/[ -,\.\/:-@\[-\^`\{-~]/,R$e=/[ -,\.\/:-@\[\]\^`\{-~]/,A$e=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g,uA=function t(e,r){r=O$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?q$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&&R$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(A$e,function(p,h,y){return h&&h.length%2?p:(h||"")+y}),!i&&r.wrap?n+o+n:o};uA.options={escapeEverything:!1,isIdentifier:!1,quotes:"single",wrap:!1};uA.version="3.0.0";IK.exports=uA});var cA=m((Df,$K)=>{"use strict";Df.__esModule=!0;Df.default=void 0;var P$e=jK(ov()),T$e=xf(),M$e=jK(us()),F$e=Er();function jK(t){return t&&t.__esModule?t:{default:t}}function NK(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 L$e(t,e,r){return e&&NK(t.prototype,e),r&&NK(t,r),t}function I$e(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,lA(t,e)}function lA(t,e){return lA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},lA(t,e)}var N$e=function(t){I$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=F$e.CLASS,i._constructed=!0,i}var r=e.prototype;return r.valueToString=function(){return"."+t.prototype.valueToString.call(this)},L$e(e,[{key:"value",get:function(){return this._value},set:function(i){if(this._constructed){var s=(0,P$e.default)(i,{isIdentifier:!0});s!==i?((0,T$e.ensureObject)(this,"raws"),this.raws.value=s):this.raws&&delete this.raws.value}this._value=i}}]),e}(M$e.default);Df.default=N$e;$K.exports=Df.default});var dA=m((Of,BK)=>{"use strict";Of.__esModule=!0;Of.default=void 0;var j$e=B$e(us()),$$e=Er();function B$e(t){return t&&t.__esModule?t:{default:t}}function W$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 z$e=function(t){W$e(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=$$e.COMMENT,n}return e}(j$e.default);Of.default=z$e;BK.exports=Of.default});var hA=m((qf,WK)=>{"use strict";qf.__esModule=!0;qf.default=void 0;var U$e=V$e(us()),H$e=Er();function V$e(t){return t&&t.__esModule?t:{default:t}}function G$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 K$e=function(t){G$e(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=H$e.ID,i}var r=e.prototype;return r.valueToString=function(){return"#"+t.prototype.valueToString.call(this)},e}(U$e.default);qf.default=K$e;WK.exports=qf.default});var av=m((Rf,HK)=>{"use strict";Rf.__esModule=!0;Rf.default=void 0;var Y$e=UK(ov()),Q$e=xf(),J$e=UK(us());function UK(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 X$e(t,e,r){return e&&zK(t.prototype,e),r&&zK(t,r),t}function Z$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 eBe=function(t){Z$e(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))},X$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,Y$e.default)(i,{isIdentifier:!0});this._namespace=i,s!==i?((0,Q$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}(J$e.default);Rf.default=eBe;HK.exports=Rf.default});var yA=m((Af,VK)=>{"use strict";Af.__esModule=!0;Af.default=void 0;var tBe=nBe(av()),rBe=Er();function nBe(t){return t&&t.__esModule?t:{default:t}}function iBe(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 sBe=function(t){iBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=rBe.TAG,n}return e}(tBe.default);Af.default=sBe;VK.exports=Af.default});var vA=m((Pf,GK)=>{"use strict";Pf.__esModule=!0;Pf.default=void 0;var oBe=uBe(us()),aBe=Er();function uBe(t){return t&&t.__esModule?t:{default:t}}function lBe(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 cBe=function(t){lBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=aBe.STRING,n}return e}(oBe.default);Pf.default=cBe;GK.exports=Pf.default});var _A=m((Tf,KK)=>{"use strict";Tf.__esModule=!0;Tf.default=void 0;var fBe=pBe(sv()),dBe=Er();function pBe(t){return t&&t.__esModule?t:{default:t}}function hBe(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 gBe=function(t){hBe(e,t);function e(n){var i;return i=t.call(this,n)||this,i.type=dBe.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}(fBe.default);Tf.default=gBe;KK.exports=Tf.default});var QK=m((XPt,YK)=>{YK.exports=H("util").deprecate});var DA=m(Lf=>{"use strict";Lf.__esModule=!0;Lf.unescapeValue=CA;Lf.default=void 0;var Mf=EA(ov()),mBe=EA(rA()),yBe=EA(av()),bBe=Er(),xA;function EA(t){return t&&t.__esModule?t:{default:t}}function JK(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 vBe(t,e,r){return e&&JK(t.prototype,e),r&&JK(t,r),t}function wBe(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,kA(t,e)}function kA(t,e){return kA=Object.setPrototypeOf||function(n,i){return n.__proto__=i,n},kA(t,e)}var Ff=QK(),_Be=/^('|")([^]*)\1$/,xBe=Ff(function(){},"Assigning an attribute a value containing characters that might need to be escaped is deprecated. Call attribute.setValue() instead."),SBe=Ff(function(){},"Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."),kBe=Ff(function(){},"Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");function CA(t){var e=!1,r=null,n=t,i=n.match(_Be);return i&&(r=i[1],n=i[2]),n=(0,mBe.default)(n),n!==t&&(e=!0),{deprecatedUsage:e,unescaped:n,quoteMark:r}}function EBe(t){if(t.quoteMark!==void 0||t.value===void 0)return t;kBe();var e=CA(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){wBe(e,t);function e(n){var i;return n===void 0&&(n={}),i=t.call(this,EBe(n))||this,i.type=bBe.ATTRIBUTE,i.raws=i.raws||{},Object.defineProperty(i.raws,"unquoted",{get:Ff(function(){return i.value},"attr.raws.unquoted is deprecated. Call attr.value instead."),set:Ff(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=SA[s],a=(0,Mf.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,Mf.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=SA[c],d=(0,Mf.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,Mf.default)(this._value,SA[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,Mf.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=XK);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=" "),XK(o,a)}))),s.push("]"),s.push(this.rawSpaceAfter),s.join("")},vBe(e,[{key:"quoted",get:function(){var i=this.quoteMark;return i==="'"||i==='"'},set:function(i){SBe()}},{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=CA(i),o=s.deprecatedUsage,a=s.unescaped,u=s.quoteMark;if(o&&xBe(),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}(yBe.default);Lf.default=uv;uv.NO_QUOTE=null;uv.SINGLE_QUOTE="'";uv.DOUBLE_QUOTE='"';var SA=(xA={"'":{quotes:"single",wrap:!0},'"':{quotes:"double",wrap:!0}},xA[null]={isIdentifier:!0},xA);function XK(t,e){return""+e.before+t+e.after}});var qA=m((If,ZK)=>{"use strict";If.__esModule=!0;If.default=void 0;var CBe=OBe(av()),DBe=Er();function OBe(t){return t&&t.__esModule?t:{default:t}}function qBe(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 RBe=function(t){qBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=DBe.UNIVERSAL,n.value="*",n}return e}(CBe.default);If.default=RBe;ZK.exports=If.default});var AA=m((Nf,eY)=>{"use strict";Nf.__esModule=!0;Nf.default=void 0;var ABe=TBe(us()),PBe=Er();function TBe(t){return t&&t.__esModule?t:{default:t}}function MBe(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 FBe=function(t){MBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=PBe.COMBINATOR,n}return e}(ABe.default);Nf.default=FBe;eY.exports=Nf.default});var TA=m((jf,tY)=>{"use strict";jf.__esModule=!0;jf.default=void 0;var LBe=NBe(us()),IBe=Er();function NBe(t){return t&&t.__esModule?t:{default:t}}function jBe(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 $Be=function(t){jBe(e,t);function e(r){var n;return n=t.call(this,r)||this,n.type=IBe.NESTING,n.value="&",n}return e}(LBe.default);jf.default=$Be;tY.exports=jf.default});var nY=m((lv,rY)=>{"use strict";lv.__esModule=!0;lv.default=BBe;function BBe(t){return t.sort(function(e,r){return e-r})}rY.exports=lv.default});var MA=m(_e=>{"use strict";_e.__esModule=!0;_e.combinator=_e.word=_e.comment=_e.str=_e.tab=_e.newline=_e.feed=_e.cr=_e.backslash=_e.bang=_e.slash=_e.doubleQuote=_e.singleQuote=_e.space=_e.greaterThan=_e.pipe=_e.equals=_e.plus=_e.caret=_e.tilde=_e.dollar=_e.closeSquare=_e.openSquare=_e.closeParenthesis=_e.openParenthesis=_e.semicolon=_e.colon=_e.comma=_e.at=_e.asterisk=_e.ampersand=void 0;var WBe=38;_e.ampersand=WBe;var zBe=42;_e.asterisk=zBe;var UBe=64;_e.at=UBe;var HBe=44;_e.comma=HBe;var VBe=58;_e.colon=VBe;var GBe=59;_e.semicolon=GBe;var KBe=40;_e.openParenthesis=KBe;var YBe=41;_e.closeParenthesis=YBe;var QBe=91;_e.openSquare=QBe;var JBe=93;_e.closeSquare=JBe;var XBe=36;_e.dollar=XBe;var ZBe=126;_e.tilde=ZBe;var e8e=94;_e.caret=e8e;var t8e=43;_e.plus=t8e;var r8e=61;_e.equals=r8e;var n8e=124;_e.pipe=n8e;var i8e=62;_e.greaterThan=i8e;var s8e=32;_e.space=s8e;var iY=39;_e.singleQuote=iY;var o8e=34;_e.doubleQuote=o8e;var a8e=47;_e.slash=a8e;var u8e=33;_e.bang=u8e;var l8e=92;_e.backslash=l8e;var c8e=13;_e.cr=c8e;var f8e=12;_e.feed=f8e;var d8e=10;_e.newline=d8e;var p8e=9;_e.tab=p8e;var h8e=iY;_e.str=h8e;var g8e=-1;_e.comment=g8e;var m8e=-2;_e.word=m8e;var y8e=-3;_e.combinator=y8e});var aY=m($f=>{"use strict";$f.__esModule=!0;$f.default=k8e;$f.FIELDS=void 0;var me=b8e(MA()),Hu,gt;function oY(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return oY=function(){return t},t}function b8e(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=oY();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 v8e=(Hu={},Hu[me.tab]=!0,Hu[me.newline]=!0,Hu[me.cr]=!0,Hu[me.feed]=!0,Hu),w8e=(gt={},gt[me.space]=!0,gt[me.tab]=!0,gt[me.newline]=!0,gt[me.cr]=!0,gt[me.feed]=!0,gt[me.ampersand]=!0,gt[me.asterisk]=!0,gt[me.bang]=!0,gt[me.comma]=!0,gt[me.colon]=!0,gt[me.semicolon]=!0,gt[me.openParenthesis]=!0,gt[me.closeParenthesis]=!0,gt[me.openSquare]=!0,gt[me.closeSquare]=!0,gt[me.singleQuote]=!0,gt[me.doubleQuote]=!0,gt[me.plus]=!0,gt[me.pipe]=!0,gt[me.tilde]=!0,gt[me.greaterThan]=!0,gt[me.equals]=!0,gt[me.dollar]=!0,gt[me.caret]=!0,gt[me.slash]=!0,gt),FA={},sY="0123456789abcdefABCDEF";for(cv=0;cv<sY.length;cv++)FA[sY.charCodeAt(cv)]=!0;var cv;function _8e(t,e){var r=e,n;do{if(n=t.charCodeAt(r),w8e[n])return r-1;n===me.backslash?r=x8e(t,r)+1:r++}while(r<t.length);return r-1}function x8e(t,e){var r=e,n=t.charCodeAt(r+1);if(!v8e[n])if(FA[n]){var i=0;do r++,i++,n=t.charCodeAt(r+1);while(FA[n]&&i<6);i<6&&n===me.space&&r++}else r++;return r}var S8e={TYPE:0,START_LINE:1,START_COL:2,END_LINE:3,END_COL:4,START_POS:5,END_POS:6};$f.FIELDS=S8e;function k8e(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===me.newline&&(s=a,o+=1),l){case me.space:case me.tab:case me.newline:case me.cr:case me.feed:g=a;do g+=1,l=r.charCodeAt(g),l===me.newline&&(s=g,o+=1);while(l===me.space||l===me.newline||l===me.tab||l===me.cr||l===me.feed);x=me.space,d=o,f=g-s-1,u=g;break;case me.plus:case me.greaterThan:case me.tilde:case me.pipe:g=a;do g+=1,l=r.charCodeAt(g);while(l===me.plus||l===me.greaterThan||l===me.tilde||l===me.pipe);x=me.combinator,d=o,f=a-s,u=g;break;case me.asterisk:case me.ampersand:case me.bang:case me.comma:case me.equals:case me.dollar:case me.caret:case me.openSquare:case me.closeSquare:case me.colon:case me.semicolon:case me.openParenthesis:case me.closeParenthesis:g=a,x=l,d=o,f=a-s,u=g+1;break;case me.singleQuote:case me.doubleQuote:_=l===me.singleQuote?"'":'"',g=a;do for(p=!1,g=r.indexOf(_,g+1),g===-1&&C("quote",_),h=g;r.charCodeAt(h-1)===me.backslash;)h-=1,p=!p;while(p);x=me.str,d=o,f=a-s,u=g+1;break;default:l===me.slash&&r.charCodeAt(a+1)===me.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=me.comment,o=v,d=v,f=g-w):l===me.slash?(g=a,x=l,d=o,f=a-s,u=g+1):(g=_8e(r,a),x=me.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 gY=m((Bf,hY)=>{"use strict";Bf.__esModule=!0;Bf.default=void 0;var E8e=jn(sA()),LA=jn(aA()),C8e=jn(cA()),uY=jn(dA()),D8e=jn(hA()),O8e=jn(yA()),IA=jn(vA()),q8e=jn(_A()),lY=fv(DA()),R8e=jn(qA()),NA=jn(AA()),A8e=jn(TA()),P8e=jn(nY()),fe=fv(aY()),ye=fv(MA()),T8e=fv(Er()),Tt=xf(),Jo,jA;function pY(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return pY=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=pY();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 jn(t){return t&&t.__esModule?t:{default:t}}function cY(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 M8e(t,e,r){return e&&cY(t.prototype,e),r&&cY(t,r),t}var WA=(Jo={},Jo[ye.space]=!0,Jo[ye.cr]=!0,Jo[ye.feed]=!0,Jo[ye.newline]=!0,Jo[ye.tab]=!0,Jo),F8e=Object.assign({},WA,(jA={},jA[ye.comment]=!0,jA));function fY(t){return{line:t[fe.FIELDS.START_LINE],column:t[fe.FIELDS.START_COL]}}function dY(t){return{line:t[fe.FIELDS.END_LINE],column:t[fe.FIELDS.END_COL]}}function Xo(t,e,r,n){return{start:{line:t,column:e},end:{line:r,column:n}}}function Vu(t){return Xo(t[fe.FIELDS.START_LINE],t[fe.FIELDS.START_COL],t[fe.FIELDS.END_LINE],t[fe.FIELDS.END_COL])}function $A(t,e){if(t)return Xo(t[fe.FIELDS.START_LINE],t[fe.FIELDS.START_COL],e[fe.FIELDS.END_LINE],e[fe.FIELDS.END_COL])}function Gu(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 BA(t,e){for(var r=-1,n=[];(r=t.indexOf(e,r+1))!==-1;)n.push(r);return n}function L8e(){var t=Array.prototype.concat.apply([],arguments);return t.filter(function(e,r){return r===t.indexOf(e)})}var I8e=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,fe.default)({css:this.css,error:this._errorGenerator(),safe:this.options.safe});var i=$A(this.tokens[0],this.tokens[this.tokens.length-1]);this.root=new E8e.default({source:i}),this.root.errorGenerator=this._errorGenerator();var s=new LA.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[fe.FIELDS.TYPE]!==ye.closeSquare;)n.push(this.currToken),this.position++;if(this.currToken[fe.FIELDS.TYPE]!==ye.closeSquare)return this.expected("closing square bracket",this.currToken[fe.FIELDS.START_POS]);var s=n.length,o={source:Xo(i[1],i[2],this.currToken[3],this.currToken[4]),sourceIndex:i[fe.FIELDS.START_POS]};if(s===1&&!~[ye.word].indexOf(n[0][fe.FIELDS.TYPE]))return this.expected("attribute",n[0][fe.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[fe.FIELDS.TYPE]){case ye.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 ye.asterisk:if(h[fe.FIELDS.TYPE]===ye.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 ye.dollar:if(c==="value"){var v=(0,Tt.getProp)(o,"raws","value");o.value+="$",v&&(o.raws.value=v+"$");break}case ye.caret:h[fe.FIELDS.TYPE]===ye.equals&&(o.operator=p,c="operator"),f=!1;break;case ye.combinator:if(p==="~"&&h[fe.FIELDS.TYPE]===ye.equals&&(o.operator=p,c="operator"),p!=="|"){f=!1;break}h[fe.FIELDS.TYPE]===ye.equals?(o.operator=p,c="operator"):!o.namespace&&!o.attribute&&(o.namespace=!0),f=!1;break;case ye.word:if(h&&this.content(h)==="|"&&n[a+2]&&n[a+2][fe.FIELDS.TYPE]!==ye.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 ye.str:if(!o.attribute||!o.operator)return this.error("Expected an attribute followed by an operator preceding the string.",{index:d[fe.FIELDS.START_POS]});var P=(0,lY.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 ye.equals:if(!o.attribute)return this.expected("attribute",d[fe.FIELDS.START_POS],p);if(o.value)return this.error('Unexpected "=" found; an operator was already defined.',{index:d[fe.FIELDS.START_POS]});o.operator=o.operator?o.operator+p:p,c="operator",f=!1;break;case ye.comment:if(c)if(f||h&&h[fe.FIELDS.TYPE]===ye.space||c==="insensitive"){var $=(0,Tt.getProp)(o,"spaces",c,"after")||"",te=(0,Tt.getProp)(o,"raws","spaces",c,"after")||$;(0,Tt.ensureObject)(o,"raws","spaces",c),o.raws.spaces[c].after=te+p}else{var K=o[c]||"",ue=(0,Tt.getProp)(o,"raws",c)||K;(0,Tt.ensureObject)(o,"raws"),o.raws[c]=ue+p}else l=l+p;break;default:return this.error('Unexpected "'+p+'" found.',{index:d[fe.FIELDS.START_POS]})}a++}Gu(o,"attribute"),Gu(o,"namespace"),this.newNode(new lY.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(WA[this.currToken[fe.FIELDS.TYPE]])this.options.lossy||(o+=this.content());else if(this.currToken[fe.FIELDS.TYPE]===ye.comment){var u={};o&&(u.before=o,o=""),a=new uY.default({value:this.content(),source:Vu(this.currToken),sourceIndex:this.currToken[fe.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 IA.default({value:"",source:Xo(l[fe.FIELDS.START_LINE],l[fe.FIELDS.START_COL],c[fe.FIELDS.END_LINE],c[fe.FIELDS.END_COL]),sourceIndex:l[fe.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][fe.FIELDS.TYPE]===ye.slash&&this.tokens[n+1]&&this.tokens[n+1][fe.FIELDS.TYPE]===ye.word&&this.tokens[n+2]&&this.tokens[n+2][fe.FIELDS.TYPE]===ye.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 NA.default({value:"/"+i+"/",source:Xo(this.currToken[fe.FIELDS.START_LINE],this.currToken[fe.FIELDS.START_COL],this.tokens[this.position+2][fe.FIELDS.END_LINE],this.tokens[this.position+2][fe.FIELDS.END_COL]),sourceIndex:this.currToken[fe.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][fe.FIELDS.TYPE]===ye.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[fe.FIELDS.TYPE]===ye.combinator?(d=new NA.default({value:this.content(),source:Vu(this.currToken),sourceIndex:this.currToken[fe.FIELDS.START_POS]}),this.position++):WA[this.currToken[fe.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 NA.default({value:" ",source:$A(c,this.tokens[this.position-1]),sourceIndex:c[fe.FIELDS.START_POS],spaces:w,raws:_})}return this.currToken&&this.currToken[fe.FIELDS.TYPE]===ye.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 LA.default({source:{start:fY(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 uY.default({value:this.content(),source:Vu(n),sourceIndex:n[fe.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[fe.FIELDS.START_POS]})},e.missingParenthesis=function(){return this.expected("opening parenthesis",this.currToken[fe.FIELDS.START_POS])},e.missingSquareBracket=function(){return this.expected("opening square bracket",this.currToken[fe.FIELDS.START_POS])},e.unexpected=function(){return this.error("Unexpected '"+this.content()+"'. Escaping special characters with \\ may help.",this.currToken[fe.FIELDS.START_POS])},e.namespace=function(){var n=this.prevToken&&this.content(this.prevToken)||!0;if(this.nextToken[fe.FIELDS.TYPE]===ye.word)return this.position++,this.word(n);if(this.nextToken[fe.FIELDS.TYPE]===ye.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 A8e.default({value:this.content(),source:Vu(i),sourceIndex:i[fe.FIELDS.START_POS]})),this.position++},e.parentheses=function(){var n=this.current.last,i=1;if(this.position++,n&&n.type===T8e.PSEUDO){var s=new LA.default({source:{start:fY(this.tokens[this.position-1])}}),o=this.current;for(n.append(s),this.current=s;this.position<this.tokens.length&&i;)this.currToken[fe.FIELDS.TYPE]===ye.openParenthesis&&i++,this.currToken[fe.FIELDS.TYPE]===ye.closeParenthesis&&i--,i?this.parse():(this.current.source.end=dY(this.currToken),this.current.parent.source.end=dY(this.currToken),this.position++);this.current=o}else{for(var a=this.currToken,u="(",l;this.position<this.tokens.length&&i;)this.currToken[fe.FIELDS.TYPE]===ye.openParenthesis&&i++,this.currToken[fe.FIELDS.TYPE]===ye.closeParenthesis&&i--,l=this.currToken,u+=this.parseParenthesisToken(this.currToken),this.position++;n?n.appendToPropertyAndEscape("value",u,u):this.newNode(new IA.default({value:u,source:Xo(a[fe.FIELDS.START_LINE],a[fe.FIELDS.START_COL],l[fe.FIELDS.END_LINE],l[fe.FIELDS.END_COL]),sourceIndex:a[fe.FIELDS.START_POS]}))}if(i)return this.expected("closing parenthesis",this.currToken[fe.FIELDS.START_POS])},e.pseudo=function(){for(var n=this,i="",s=this.currToken;this.currToken&&this.currToken[fe.FIELDS.TYPE]===ye.colon;)i+=this.content(),this.position++;if(!this.currToken)return this.expected(["pseudo-class","pseudo-element"],this.position-1);if(this.currToken[fe.FIELDS.TYPE]===ye.word)this.splitWord(!1,function(o,a){i+=o,n.newNode(new q8e.default({value:i,source:$A(s,n.currToken),sourceIndex:s[fe.FIELDS.START_POS]})),a>1&&n.nextToken&&n.nextToken[fe.FIELDS.TYPE]===ye.openParenthesis&&n.error("Misplaced parenthesis.",{index:n.nextToken[fe.FIELDS.START_POS]})});else return this.expected(["pseudo-class","pseudo-element"],this.currToken[fe.FIELDS.START_POS])},e.space=function(){var n=this.content();this.position===0||this.prevToken[fe.FIELDS.TYPE]===ye.comma||this.prevToken[fe.FIELDS.TYPE]===ye.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[fe.FIELDS.TYPE]===ye.comma||this.nextToken[fe.FIELDS.TYPE]===ye.closeParenthesis?(this.current.last.spaces.after=this.optionalSpace(n),this.position++):this.combinator()},e.string=function(){var n=this.currToken;this.newNode(new IA.default({value:this.content(),source:Vu(n),sourceIndex:n[fe.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 R8e.default({value:this.content(),source:Vu(s),sourceIndex:s[fe.FIELDS.START_POS]}),n),this.position++},e.splitWord=function(n,i){for(var s=this,o=this.nextToken,a=this.content();o&&~[ye.dollar,ye.caret,ye.equals,ye.word].indexOf(o[fe.FIELDS.TYPE]);){this.position++;var u=this.content();if(a+=u,u.lastIndexOf("\\")===u.length-1){var l=this.nextToken;l&&l[fe.FIELDS.TYPE]===ye.space&&(a+=this.requiredSpace(this.content(l)),this.position++)}o=this.nextToken}var c=BA(a,".").filter(function(h){var y=a[h-1]==="\\",b=/^\d+\.\d+%$/.test(a);return!y&&!b}),f=BA(a,"#").filter(function(h){return a[h-1]!=="\\"}),d=BA(a,"#{");d.length&&(f=f.filter(function(h){return!~d.indexOf(h)}));var p=(0,P8e.default)(L8e([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[fe.FIELDS.START_POS]+p[y],x=Xo(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 C8e.default(Gu(C,"value"))}else if(~f.indexOf(h)){var M={value:g.slice(1),source:x,sourceIndex:_};v=new D8e.default(Gu(M,"value"))}else{var P={value:g,source:x,sourceIndex:_};Gu(P,"value"),v=new O8e.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[fe.FIELDS.TYPE]){case ye.space:this.space();break;case ye.comment:this.comment();break;case ye.openParenthesis:this.parentheses();break;case ye.closeParenthesis:n&&this.missingParenthesis();break;case ye.openSquare:this.attribute();break;case ye.dollar:case ye.caret:case ye.equals:case ye.word:this.word();break;case ye.colon:this.pseudo();break;case ye.comma:this.comma();break;case ye.asterisk:this.universal();break;case ye.ampersand:this.nesting();break;case ye.slash:case ye.combinator:this.combinator();break;case ye.str:this.string();break;case ye.closeSquare:this.missingSquareBracket();case ye.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[fe.FIELDS.TYPE]===ye.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,Gu(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[fe.FIELDS.START_POS],n[fe.FIELDS.END_POS])},e.locateNextMeaningfulToken=function(n){n===void 0&&(n=this.position+1);for(var i=n;i<this.tokens.length;)if(F8e[this.tokens[i][fe.FIELDS.TYPE]]){i++;continue}else return i;return-1},M8e(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}();Bf.default=I8e;hY.exports=Bf.default});var yY=m((Wf,mY)=>{"use strict";Wf.__esModule=!0;Wf.default=void 0;var N8e=j8e(gY());function j8e(t){return t&&t.__esModule?t:{default:t}}var $8e=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 N8e.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}();Wf.default=$8e;mY.exports=Wf.default});var bY=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 B8e=$n(DA()),W8e=$n(cA()),z8e=$n(AA()),U8e=$n(dA()),H8e=$n(hA()),V8e=$n(TA()),G8e=$n(_A()),K8e=$n(sA()),Y8e=$n(aA()),Q8e=$n(vA()),J8e=$n(yA()),X8e=$n(qA());function $n(t){return t&&t.__esModule?t:{default:t}}var Z8e=function(e){return new B8e.default(e)};_t.attribute=Z8e;var e9e=function(e){return new W8e.default(e)};_t.className=e9e;var t9e=function(e){return new z8e.default(e)};_t.combinator=t9e;var r9e=function(e){return new U8e.default(e)};_t.comment=r9e;var n9e=function(e){return new H8e.default(e)};_t.id=n9e;var i9e=function(e){return new V8e.default(e)};_t.nesting=i9e;var s9e=function(e){return new G8e.default(e)};_t.pseudo=s9e;var o9e=function(e){return new K8e.default(e)};_t.root=o9e;var a9e=function(e){return new Y8e.default(e)};_t.selector=a9e;var u9e=function(e){return new Q8e.default(e)};_t.string=u9e;var l9e=function(e){return new J8e.default(e)};_t.tag=l9e;var c9e=function(e){return new X8e.default(e)};_t.universal=c9e});var xY=m(st=>{"use strict";st.__esModule=!0;st.isNode=zA;st.isPseudoElement=_Y;st.isPseudoClass=_9e;st.isContainer=x9e;st.isNamespace=S9e;st.isUniversal=st.isTag=st.isString=st.isSelector=st.isRoot=st.isPseudo=st.isNesting=st.isIdentifier=st.isComment=st.isCombinator=st.isClassName=st.isAttribute=void 0;var Mt=Er(),tn,f9e=(tn={},tn[Mt.ATTRIBUTE]=!0,tn[Mt.CLASS]=!0,tn[Mt.COMBINATOR]=!0,tn[Mt.COMMENT]=!0,tn[Mt.ID]=!0,tn[Mt.NESTING]=!0,tn[Mt.PSEUDO]=!0,tn[Mt.ROOT]=!0,tn[Mt.SELECTOR]=!0,tn[Mt.STRING]=!0,tn[Mt.TAG]=!0,tn[Mt.UNIVERSAL]=!0,tn);function zA(t){return typeof t=="object"&&f9e[t.type]}function Bn(t,e){return zA(e)&&e.type===t}var vY=Bn.bind(null,Mt.ATTRIBUTE);st.isAttribute=vY;var d9e=Bn.bind(null,Mt.CLASS);st.isClassName=d9e;var p9e=Bn.bind(null,Mt.COMBINATOR);st.isCombinator=p9e;var h9e=Bn.bind(null,Mt.COMMENT);st.isComment=h9e;var g9e=Bn.bind(null,Mt.ID);st.isIdentifier=g9e;var m9e=Bn.bind(null,Mt.NESTING);st.isNesting=m9e;var UA=Bn.bind(null,Mt.PSEUDO);st.isPseudo=UA;var y9e=Bn.bind(null,Mt.ROOT);st.isRoot=y9e;var b9e=Bn.bind(null,Mt.SELECTOR);st.isSelector=b9e;var v9e=Bn.bind(null,Mt.STRING);st.isString=v9e;var wY=Bn.bind(null,Mt.TAG);st.isTag=wY;var w9e=Bn.bind(null,Mt.UNIVERSAL);st.isUniversal=w9e;function _Y(t){return UA(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 _9e(t){return UA(t)&&!_Y(t)}function x9e(t){return!!(zA(t)&&t.walk)}function S9e(t){return vY(t)||wY(t)}});var SY=m(li=>{"use strict";li.__esModule=!0;var HA=Er();Object.keys(HA).forEach(function(t){t==="default"||t==="__esModule"||t in li&&li[t]===HA[t]||(li[t]=HA[t])});var VA=bY();Object.keys(VA).forEach(function(t){t==="default"||t==="__esModule"||t in li&&li[t]===VA[t]||(li[t]=VA[t])});var GA=xY();Object.keys(GA).forEach(function(t){t==="default"||t==="__esModule"||t in li&&li[t]===GA[t]||(li[t]=GA[t])})});var Hs=m((zf,EY)=>{"use strict";zf.__esModule=!0;zf.default=void 0;var k9e=D9e(yY()),E9e=C9e(SY());function kY(){if(typeof WeakMap!="function")return null;var t=new WeakMap;return kY=function(){return t},t}function C9e(t){if(t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var e=kY();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 D9e(t){return t&&t.__esModule?t:{default:t}}var KA=function(e){return new k9e.default(e)};Object.assign(KA,E9e);delete KA.__esModule;var O9e=KA;zf.default=O9e;EY.exports=zf.default});var YA=m((sTt,CY)=>{"use strict";var q9e=Hs();CY.exports=function(e,r,n){try{return q9e(n).processSync(r,{updateSelector:!0})}catch{e.warn("Cannot parse selector",{node:r,stylelintType:"parseError"});return}}});var RY=m((oTt,qY)=>{"use strict";var R9e=U(),A9e=j(),P9e=YA(),T9e=N(),{assertString:M9e}=re(),dv="keyframe-selector-notation",OY=A9e(dv,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),F9e={url:"https://stylelint.io/user-guide/rules/keyframe-selector-notation",fixable:!0},QA=new Set(["0%","100%"]),JA=new Set(["from","to"]),L9e=new Map([["0%","from"],["100%","to"]]),DY=new Map([["from","0%"],["to","100%"]]),pv=(t,e,r)=>(n,i)=>{if(!T9e(i,dv,{actual:t,possible:["keyword","percentage","percentage-unless-within-keyword-only-block"]}))return;let o=Object.freeze({keyword:{expFunc:a=>JA.has(a),fixFunc:a=>XA(L9e,a)},percentage:{expFunc:a=>QA.has(a),fixFunc:a=>XA(DY,a)},"percentage-unless-within-keyword-only-block":{expFunc:(a,u)=>u.every(l=>JA.has(l))?!0:QA.has(a),fixFunc:a=>XA(DY,a)}});n.walkAtRules(/^(-(moz|webkit)-)?keyframes$/i,a=>{let u=t==="percentage-unless-within-keyword-only-block"?I9e(a):[];a.walkRules(l=>{P9e(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(!JA.has(y)&&!QA.has(y)||d(f,u))return;let b=p(f);if(r.fix){h(b);return}R9e({message:OY.expected(f,b),node:l,result:i,ruleName:dv,word:f})}})})};function XA(t,e){let r=t.get(e);return M9e(r),r}function I9e(t){let e=[];return t.walkRules(r=>{e.push(...r.selectors)}),e}pv.ruleName=dv;pv.messages=OY;pv.meta=F9e;qY.exports=pv});var PY=m((aTt,AY)=>{"use strict";var N9e=Rc();AY.exports=function(e){return!N9e(e)}});var LY=m((uTt,FY)=>{"use strict";var j9e=et(),$9e=PY(),B9e=U(),W9e=j(),z9e=N(),{isRegExp:U9e,isString:TY}=re(),hv="keyframes-name-pattern",MY=W9e(hv,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),H9e={url:"https://stylelint.io/user-guide/rules/keyframes-name-pattern"},gv=t=>(e,r)=>{if(!z9e(r,hv,{actual:t,possible:[U9e,TY]}))return;let i=TY(t)?new RegExp(t):t;e.walkAtRules(/keyframes/i,s=>{let o=s.params;if(!$9e(o)||i.test(o))return;let a=j9e(s),u=a+o.length;B9e({index:a,endIndex:u,message:MY.expected,messageArgs:[o,t],node:s,ruleName:hv,result:r})})};gv.ruleName=hv;gv.messages=MY;gv.meta=H9e;FY.exports=gv});var NY=m((lTt,IY)=>{"use strict";var{mathFunctions:V9e}=GR();IY.exports=function(e){return e.type==="function"&&V9e.has(e.value.toLowerCase())}});var WY=m((cTt,BY)=>{"use strict";var ZA=Ae(),G9e=et(),K9e=Re(),Y9e=eA(),Q9e=vt(),J9e=gn(),X9e=NY(),Z9e=Fr(),{lengthUnits:e4e}=qb(),jY=xe(),t4e=U(),r4e=j(),n4e=ZR(),i4e=Bt(),s4e=N(),{isRegExp:o4e,isString:a4e}=re(),mv="length-zero-no-unit",$Y=r4e(mv,{rejected:"Unexpected unit"}),u4e={url:"https://stylelint.io/user-guide/rules/length-zero-no-unit",fixable:!0},yv=(t,e,r)=>(n,i)=>{if(!s4e(i,mv,{actual:t},{actual:e,possible:{ignore:["custom-properties"],ignoreFunctions:[a4e,o4e]},optional:!0}))return;let o;function a(c,f,d){let{value:p,sourceIndex:h}=d;if(X9e(d)||h4e(d)&&jY(e,"ignoreFunctions",p))return!1;if(!d4e(d))return;let y=ZA.unit(p);if(y===!1)return;let{number:b,unit:g}=y;if(g===""||!p4e(g)||g4e(g)||!m4e(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;t4e({index:v,endIndex:w,message:$Y.rejected,node:c,result:i,ruleName:mv})}function u(c){if(!Z9e(c))return;o=!1;let f=G9e(c),d=ZA(Y9e(c));d.walk(p=>a(c,f,p)),o&&n4e(c,d.toString())}function l(c){o=!1;let{prop:f}=c;if(c4e(f)||f4e(f)||jY(e,"ignore","custom-properties")&&J9e(f))return;let d=K9e(c),p=ZA(Q9e(c));p.walk((h,y,b)=>{if(!l4e(c,b,y))return a(c,d,h)}),o&&i4e(c,p.toString())}n.walkAtRules(u),n.walkDecls(l)};function l4e({prop:t},e,r){let n=e[r-1];return t.toLowerCase()==="font"&&n&&n.type==="div"&&n.value==="/"}function c4e(t){return t.toLowerCase()==="line-height"}function f4e(t){return t.toLowerCase()==="flex"}function d4e({type:t}){return t==="word"}function p4e(t){return e4e.has(t.toLowerCase())}function h4e({type:t}){return t==="function"}function g4e(t){return t.toLowerCase()==="fr"}function m4e(t){return Number.parseFloat(t)===0}yv.ruleName=mv;yv.messages=$Y;yv.meta=u4e;BY.exports=yv});var VY=m((fTt,HY)=>{"use strict";var zY=t0(),y4e=U(),b4e=j(),v4e=N(),bv="linebreaks",UY=b4e(bv,{expected:t=>`Expected linebreak to be ${t}`}),w4e={url:"https://stylelint.io/user-guide/rules/linebreaks",fixable:!0},vv=(t,e,r)=>(n,i)=>{if(!v4e(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=zY.rule({source:{start:{line:c,column:f,offset:0},input:new zY.Input("")}});y4e({message:UY.expected(t),node:d,result:i,ruleName:bv})}};vv.ruleName=bv;vv.messages=UY;vv.meta=w4e;HY.exports=vv});var YY=m((dTt,KY)=>{"use strict";var _4e=xe(),GY=U(),x4e=j(),S4e=Lr(),k4e=N(),{isNumber:E4e}=re(),Uf="max-empty-lines",eP=x4e(Uf,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),C4e={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(!k4e(o,Uf,{actual:t,possible:E4e},{actual:e,possible:{ignore:["comments"]},optional:!0}))return;let u=_4e(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();S4e({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&&GY({message:eP.expected(t),node:b,index:h,result:o,ruleName:Uf}),g&&t&&(n++,n>t&&D4e(o.root,b)&&GY({message:eP.expected(t),node:b,index:y,result:o,ruleName:Uf})))}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 D4e(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=Uf;wv.messages=eP;wv.meta=C4e;KY.exports=wv});var XY=m((pTt,JY)=>{"use strict";var tP=xe(),O4e=U(),q4e=j(),R4e=Lr(),A4e=N(),{isNumber:P4e,isRegExp:T4e,isString:M4e,assert:F4e}=re(),_v="max-line-length",QY=q4e(_v,{expected:t=>`Expected line length to be no more than ${t} ${t===1?"character":"characters"}`}),L4e={url:"https://stylelint.io/user-guide/rules/max-line-length"},xv=(t,e,r)=>(n,i)=>{if(!A4e(i,_v,{actual:t,possible:P4e},{actual:e,possible:{ignore:["non-comments","comments"],ignorePattern:[M4e,T4e]},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=tP(e,"ignore","non-comments"),u=tP(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}),R4e({source:l,target:[`
126
+ `],comments:"check"},y=>h(y));function d(y){O4e({index:y,result:i,ruleName:_v,message:QY.expected(t),node:n})}function p(y,b){let g=c[f];F4e(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(tP(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=QY;xv.meta=L4e;JY.exports=xv});var Ie=m((hTt,ZY)=>{"use strict";var I4e=Hr();ZY.exports=function(e){return!(e.type!=="rule"||"extend"in e&&e.extend||!I4e(e.selector))}});var oQ=m((gTt,sQ)=>{"use strict";var N4e=ir(),j4e=Ie(),Sv=xe(),$4e=Hs(),B4e=U(),W4e=j(),z4e=N(),{isAtRule:rP,isDeclaration:U4e,isRoot:eQ,isRule:nP}=Qe(),{isNumber:H4e,isRegExp:tQ,isString:rQ}=re(),kv="max-nesting-depth",iQ=W4e(kv,{expected:t=>`Expected nesting depth to be no more than ${t}`}),V4e={url:"https://stylelint.io/user-guide/rules/max-nesting-depth"},Ev=(t,e)=>{let r=i=>rP(i)&&Sv(e,"ignoreAtRules",i.name);return(i,s)=>{if(!z4e(s,kv,{actual:t,possible:[H4e]},{optional:!0,actual:e,possible:{ignore:["blockless-at-rules","pseudo-classes"],ignoreAtRules:[rQ,tQ],ignorePseudoClasses:[rQ,tQ]}}))return;i.walkRules(a),i.walkAtRules(a);function a(u){if(r(u)||!N4e(u)||nP(u)&&!j4e(u))return;n(u,0)>t&&B4e({ruleName:kv,result:s,node:u,message:iQ.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(eQ(o)||rP(o)&&o.parent&&eQ(o.parent))return s;function a(l){return $4e().processSync(l,{lossless:!1}).split(",").every(d=>nQ(d))}function u(l){return e&&e.ignorePseudoClasses?l.every(c=>{let f=nQ(c);return f?Sv(e,"ignorePseudoClasses",f):!1}):!1}return Sv(e,"ignore","blockless-at-rules")&&rP(i)&&i.every(l=>!U4e(l))||Sv(e,"ignore","pseudo-classes")&&nP(i)&&a(i.selector)||nP(i)&&u(i.selectors)?n(o,s):n(o,s+1)}};function nQ(t){return t.startsWith("&:")&&t[2]!==":"?t.slice(2):void 0}Ev.ruleName=kv;Ev.messages=iQ;Ev.meta=V4e;sQ.exports=Ev});var iP=m((mTt,aQ)=>{"use strict";var G4e=et(),K4e=U(),Y4e=Lr();aQ.exports=function(e){e.root.walkAtRules(/^media$/i,n=>{let i=n.raws.params?n.raws.params.raw:n.params;Y4e({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+G4e(s);e.fix&&e.fix(s,a)||K4e({message:o,node:s,index:a,result:e.result,ruleName:e.checkedRuleName})}})}}});var cQ=m((yTt,lQ)=>{"use strict";var Q4e=et(),J4e=iP(),X4e=j(),Z4e=N(),e7e=$e(),Cv="media-feature-colon-space-after",uQ=X4e(Cv,{expectedAfter:()=>'Expected single space after ":"',rejectedAfter:()=>'Unexpected whitespace after ":"'}),t7e={url:"https://stylelint.io/user-guide/rules/media-feature-colon-space-after",fixable:!0},Dv=(t,e,r)=>{let n=e7e("space",t,uQ);return(i,s)=>{if(!Z4e(s,Cv,{actual:t,possible:["always","never"]}))return;let a;if(J4e({root:i,result:s,locationChecker:n.after,checkedRuleName:Cv,fix:r.fix?(u,l)=>{let c=l-Q4e(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=uQ;Dv.meta=t7e;lQ.exports=Dv});var pQ=m((bTt,dQ)=>{"use strict";var r7e=et(),n7e=iP(),i7e=j(),s7e=N(),o7e=$e(),Ov="media-feature-colon-space-before",fQ=i7e(Ov,{expectedBefore:()=>'Expected single space before ":"',rejectedBefore:()=>'Unexpected whitespace before ":"'}),a7e={url:"https://stylelint.io/user-guide/rules/media-feature-colon-space-before",fixable:!0},qv=(t,e,r)=>{let n=o7e("space",t,fQ);return(i,s)=>{if(!s7e(s,Ov,{actual:t,possible:["always","never"]}))return;let a;if(n7e({root:i,result:s,locationChecker:n.before,checkedRuleName:Ov,fix:r.fix?(u,l)=>{let c=l-r7e(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=fQ;qv.meta=a7e;dQ.exports=qv});var Hf=m((vTt,hQ)=>{"use strict";hQ.exports=function(e){return e.startsWith("--")}});var Zo=m((wTt,gQ)=>{"use strict";gQ.exports=function(e){return e.includes("=")||e.includes("<")||e.includes(">")}});var Ku=m((_Tt,mQ)=>{"use strict";mQ.exports=function(e){return!/#\{.+?\}|\$.+/.test(e)}});var oP=m(sP=>{"use strict";Object.defineProperty(sP,"__esModule",{value:!0});function u7e(t){this.after=t.after,this.before=t.before,this.type=t.type,this.value=t.value,this.sourceIndex=t.sourceIndex}sP.default=u7e});var uP=m(aP=>{"use strict";Object.defineProperty(aP,"__esModule",{value:!0});var l7e=oP(),yQ=c7e(l7e);function c7e(t){return t&&t.__esModule?t:{default:t}}function Vf(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})}Vf.prototype=Object.create(yQ.default.prototype);Vf.constructor=yQ.default;Vf.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};Vf.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};aP.default=Vf});var _Q=m(Gf=>{"use strict";Object.defineProperty(Gf,"__esModule",{value:!0});Gf.parseMediaFeature=wQ;Gf.parseMediaQuery=cP;Gf.parseMediaList=p7e;var f7e=oP(),bQ=vQ(f7e),d7e=uP(),lP=vQ(d7e);function vQ(t){return t&&t.__esModule?t:{default:t}}function wQ(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 cP(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=wQ(s.value,s.sourceIndex)),r.push(Array.isArray(s.nodes)?new lP.default(s):new bQ.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 p7e(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 bQ.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 lP.default({type:"media-query",value:c.trim(),sourceIndex:r+f.length,nodes:cP(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 lP.default({type:"media-query",value:d.trim(),sourceIndex:r+p.length,nodes:cP(d,r),before:p,after:/(\s*)$/.exec(d)[1]})),e}});var Fi=m(fP=>{"use strict";Object.defineProperty(fP,"__esModule",{value:!0});fP.default=b7e;var h7e=uP(),g7e=y7e(h7e),m7e=_Q();function y7e(t){return t&&t.__esModule?t:{default:t}}function b7e(t){return new g7e.default({nodes:(0,m7e.parseMediaList)(t),type:"media-query-list",value:t.trim()})}});var Yu=m((CTt,xQ)=>{"use strict";var v7e=Ae(),{assert:w7e}=re(),_7e=new Set([">=","<=",">","<","="]);function x7e(t){return/^(?!--)\D/.test(t)||/^--./.test(t)}xQ.exports=function(e){let r,n=[];return v7e(e.value).walk(i=>{if(i.type==="word"&&!_7e.has(i.value)){if(r==null&&x7e(i.value)){r=i;return}n.push(i)}}),w7e(r),{name:{value:r.value,sourceIndex:e.sourceIndex+r.sourceIndex},values:n.map(i=>({value:i.value,sourceIndex:e.sourceIndex+i.sourceIndex}))}}});var EQ=m((DTt,kQ)=>{"use strict";var S7e=et(),k7e=Hf(),E7e=Zo(),C7e=Ku(),D7e=qt(),O7e=Fi().default,q7e=Yu(),R7e=U(),A7e=j(),P7e=N(),{isRegExp:T7e,isString:M7e}=re(),Rv="media-feature-name-allowed-list",SQ=A7e(Rv,{rejected:t=>`Unexpected media feature name "${t}"`}),F7e={url:"https://stylelint.io/user-guide/rules/media-feature-name-allowed-list"},Kf=t=>(e,r)=>{P7e(r,Rv,{actual:t,possible:[M7e,T7e]})&&e.walkAtRules(/^media$/i,i=>{O7e(i.params).walk(/^media-feature$/i,s=>{let o=s.parent,a=E7e(o.value),u,l;if(a){let d=q7e(s);u=d.name.value,l=d.name.sourceIndex}else u=s.value,l=s.sourceIndex;if(!C7e(u)||k7e(u)||D7e(u,t))return;let c=S7e(i)+l,f=c+u.length;R7e({index:c,endIndex:f,message:SQ.rejected(u),node:i,ruleName:Rv,result:r})})})};Kf.primaryOptionArray=!0;Kf.ruleName=Rv;Kf.messages=SQ;Kf.meta=F7e;kQ.exports=Kf});var OQ=m((OTt,DQ)=>{"use strict";var L7e=et(),I7e=Hf(),N7e=Zo(),j7e=Ku(),$7e=Fi().default,B7e=Yu(),W7e=U(),z7e=j(),U7e=N(),Av="media-feature-name-case",CQ=z7e(Av,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),H7e={url:"https://stylelint.io/user-guide/rules/media-feature-name-case",fixable:!0},Pv=(t,e,r)=>(n,i)=>{U7e(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;$7e(u).walk(/^media-feature$/i,l=>{let c=l.parent,f=N7e(c.value),d,p;if(f){let y=B7e(l);d=y.name.value,p=y.name.sourceIndex}else d=l.value,p=l.sourceIndex;if(!j7e(d)||I7e(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}W7e({index:L7e(o)+p,message:CQ.expected(d,h),node:o,ruleName:Av,result:i})}})})};Pv.ruleName=Av;Pv.messages=CQ;Pv.meta=H7e;DQ.exports=Pv});var AQ=m((qTt,RQ)=>{"use strict";var V7e=et(),G7e=Hf(),K7e=Zo(),Y7e=Ku(),Q7e=qt(),J7e=Fi().default,X7e=Yu(),Z7e=U(),eWe=j(),tWe=N(),{isRegExp:rWe,isString:nWe}=re(),Tv="media-feature-name-disallowed-list",qQ=eWe(Tv,{rejected:t=>`Unexpected media feature name "${t}"`}),iWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-disallowed-list"},Yf=t=>(e,r)=>{tWe(r,Tv,{actual:t,possible:[nWe,rWe]})&&e.walkAtRules(/^media$/i,i=>{J7e(i.params).walk(/^media-feature$/i,s=>{let o=s.parent,a=K7e(o.value),u,l;if(a){let d=X7e(s);u=d.name.value,l=d.name.sourceIndex}else u=s.value,l=s.sourceIndex;if(!Y7e(u)||G7e(u)||!Q7e(u,t))return;let c=V7e(i)+l,f=c+u.length;Z7e({index:c,endIndex:f,message:qQ.rejected(u),node:i,ruleName:Tv,result:r})})})};Yf.primaryOptionArray=!0;Yf.ruleName=Tv;Yf.messages=qQ;Yf.meta=iWe;RQ.exports=Yf});var dP=m((RTt,TQ)=>{"use strict";var sWe=Su(),oWe=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"]),PQ=new Set(["aspect-ratio","color-index","color","height","monochrome","resolution","width"]),aWe=sWe(oWe,PQ,["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"]);TQ.exports={rangeTypeMediaFeatureNames:PQ,mediaFeatureNames:aWe}});var LQ=m((ATt,FQ)=>{"use strict";var uWe=et(),lWe=Hf(),cWe=Zo(),fWe=Ku(),{mediaFeatureNames:dWe}=dP(),pWe=Fi().default,hWe=xe(),gWe=Yu(),mWe=U(),yWe=j(),bWe=N(),vWe=rt(),{isRegExp:wWe,isString:_We}=re(),Mv="media-feature-name-no-unknown",MQ=yWe(Mv,{rejected:t=>`Unexpected unknown media feature name "${t}"`}),xWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-unknown"},Fv=(t,e)=>(r,n)=>{bWe(n,Mv,{actual:t},{actual:e,possible:{ignoreMediaFeatureNames:[_We,wWe]},optional:!0})&&r.walkAtRules(/^media$/i,s=>{pWe(s.params).walk(/^media-feature$/i,o=>{let a=o.parent,u=cWe(a.value),l,c;if(u){let p=gWe(o);l=p.name.value,c=p.name.sourceIndex}else l=o.value,c=o.sourceIndex;if(!fWe(l)||lWe(l)||hWe(e,"ignoreMediaFeatureNames",l)||vWe.prefix(l)||dWe.has(l.toLowerCase()))return;let f=uWe(s)+c,d=f+l.length;mWe({index:f,endIndex:d,message:MQ.rejected(l),node:s,ruleName:Mv,result:n})})})};Fv.ruleName=Mv;Fv.messages=MQ;Fv.meta=xWe;FQ.exports=Fv});var $Q=m((PTt,jQ)=>{"use strict";var IQ=ku(),SWe=U(),kWe=j(),EWe=N(),Lv="media-feature-name-no-vendor-prefix",NQ=kWe(Lv,{rejected:"Unexpected vendor-prefix"}),CWe={url:"https://stylelint.io/user-guide/rules/media-feature-name-no-vendor-prefix",fixable:!0},Iv=(t,e,r)=>(n,i)=>{EWe(i,Lv,{actual:t})&&n.walkAtRules(/^media$/i,o=>{let a=o.params;if(!IQ.mediaFeatureName(a))return;let u=o.toString().match(/-[a-z-]+device-pixel-ratio/gi);if(u){if(r.fix){o.params=IQ.unprefix(o.params);return}for(let l of u)SWe({message:NQ.rejected,node:o,word:l,result:i,ruleName:Lv})}})};Iv.ruleName=Lv;Iv.messages=NQ;Iv.meta=CWe;jQ.exports=Iv});var zQ=m((TTt,WQ)=>{"use strict";var DWe=Fi().default,OWe=et(),qWe=Zo(),RWe=qt(),AWe=xe(),PWe=Yu(),TWe=U(),MWe=j(),FWe=qi(),LWe=N(),{isString:IWe,isRegExp:NWe}=re(),jWe=rt(),Nv="media-feature-name-value-allowed-list",BQ=MWe(Nv,{rejected:(t,e)=>`Unexpected value "${e}" for name "${t}"`}),$We={url:"https://stylelint.io/user-guide/rules/media-feature-name-value-allowed-list"},jv=t=>(e,r)=>{LWe(r,Nv,{actual:t,possible:[FWe(IWe,NWe)]})&&e.walkAtRules(/^media$/i,i=>{DWe(i.params).walk(/^media-feature-expression$/i,s=>{if(!s.nodes)return;let o=qWe(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=PWe(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=jWe.unprefixed(u),p=Object.keys(t).find(b=>RWe(d,b));if(p==null||AWe(t,p,f))return;let h=OWe(i)+c.sourceIndex,y=h+f.length;TWe({index:h,endIndex:y,message:BQ.rejected(u,f),node:i,ruleName:Nv,result:r})}})})};jv.ruleName=Nv;jv.messages=BQ;jv.meta=$We;WQ.exports=jv});var VQ=m((MTt,HQ)=>{"use strict";var BWe=et(),WWe=U(),zWe=j(),UWe=N(),UQ=Ae(),$v="media-feature-parentheses-space-inside",Qf=zWe($v,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),HWe={url:"https://stylelint.io/user-guide/rules/media-feature-parentheses-space-inside",fixable:!0},Bv=(t,e,r)=>(n,i)=>{UWe(i,$v,{actual:t,possible:["always","never"]})&&n.walkAtRules(/^media$/i,o=>{let a=o.raws.params&&o.raws.params.raw||o.params,u=BWe(o),l=[],c=UQ(a).walk(f=>{if(f.type==="function"){let d=UQ.stringify(f).length;t==="never"?(/[ \t]/.test(f.before)&&(r.fix&&(f.before=""),l.push({message:Qf.rejectedOpening,index:f.sourceIndex+1+u})),/[ \t]/.test(f.after)&&(r.fix&&(f.after=""),l.push({message:Qf.rejectedClosing,index:f.sourceIndex-2+d+u}))):t==="always"&&(f.before===""&&(r.fix&&(f.before=" "),l.push({message:Qf.expectedOpening,index:f.sourceIndex+1+u})),f.after===""&&(r.fix&&(f.after=" "),l.push({message:Qf.expectedClosing,index:f.sourceIndex-2+d+u})))}});if(l.length){if(r.fix){o.params=c.toString();return}for(let f of l)WWe({message:f.message,node:o,index:f.index,result:i,ruleName:$v})}})};Bv.ruleName=$v;Bv.messages=Qf;Bv.meta=HWe;HQ.exports=Bv});var YQ=m((FTt,KQ)=>{"use strict";var VWe=Fi().default,{rangeTypeMediaFeatureNames:GWe}=dP(),KWe=et(),pP=Zo(),YWe=Ku(),QWe=U(),JWe=j(),XWe=N(),Wv="media-feature-range-notation",GQ=JWe(Wv,{expected:t=>`Expected "${t}" media feature range notation`}),ZWe={url:"https://stylelint.io/user-guide/rules/media-feature-range-notation"},zv=t=>(e,r)=>{XWe(r,Wv,{actual:t,possible:["prefix","context"]})&&e.walkAtRules(/^media$/i,i=>{VWe(i.params).walk(/^media-feature$/i,({parent:s,value:o})=>{if(!YWe(o)||!pP(o)&&rze(s)||!pP(o)&&!tze(o)||t==="prefix"&&eze(o)||t==="context"&&pP(o))return;let a=KWe(i)+s.sourceIndex,u=a+s.value.length;QWe({message:GQ.expected(t),node:i,index:a,endIndex:u,result:r,ruleName:Wv})})})};function eze(t){return t.startsWith("min-")||t.startsWith("max-")}function tze(t){let e=t.replace(/^(?:min|max)-/,"");return GWe.has(e)}function rze({nodes:t}){return t&&t.length===1}zv.ruleName=Wv;zv.messages=GQ;zv.meta=ZWe;KQ.exports=zv});var hP=m((LTt,QQ)=>{"use strict";var nze=Lr(),ize=[">=","<=",">","<","="];QQ.exports=function(e,r){if(e.name.toLowerCase()!=="media")return;let n=e.raws.params?e.raws.params.raw:e.params;nze({source:n,target:ize},i=>{let s=n[i.startIndex-1];s===">"||s==="<"||r(i,n,e)})}});var ZQ=m((ITt,XQ)=>{"use strict";var sze=et(),oze=hP(),aze=U(),uze=j(),lze=N(),cze=$e(),Uv="media-feature-range-operator-space-after",JQ=uze(Uv,{expectedAfter:()=>"Expected single space after range operator",rejectedAfter:()=>"Unexpected whitespace after range operator"}),fze={url:"https://stylelint.io/user-guide/rules/media-feature-range-operator-space-after",fixable:!0},Hv=(t,e,r)=>{let n=cze("space",t,JQ);return(i,s)=>{if(!lze(s,Uv,{actual:t,possible:["always","never"]}))return;i.walkAtRules(/^media$/i,u=>{let l=[],c=r.fix?f=>l.push(f):null;if(oze(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}aze({message:p,node:c,index:d+sze(c)+1,result:s,ruleName:Uv})}})}}};Hv.ruleName=Uv;Hv.messages=JQ;Hv.meta=fze;XQ.exports=Hv});var rJ=m((NTt,tJ)=>{"use strict";var dze=et(),pze=hP(),hze=U(),gze=j(),mze=N(),yze=$e(),Vv="media-feature-range-operator-space-before",eJ=gze(Vv,{expectedBefore:()=>"Expected single space before range operator",rejectedBefore:()=>"Unexpected whitespace before range operator"}),bze={url:"https://stylelint.io/user-guide/rules/media-feature-range-operator-space-before",fixable:!0},Gv=(t,e,r)=>{let n=yze("space",t,eJ);return(i,s)=>{if(!mze(s,Vv,{actual:t,possible:["always","never"]}))return;i.walkAtRules(/^media$/i,u=>{let l=[],c=r.fix?f=>l.push(f):null;if(pze(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}hze({message:d,node:c,index:u.startIndex-1+dze(c),result:s,ruleName:Vv})}})}}};Gv.ruleName=Vv;Gv.messages=eJ;Gv.meta=bze;tJ.exports=Gv});var Jf=m((jTt,iJ)=>{"use strict";var vze=Lr(),wze=et(),_ze=U(),{assertString:nJ}=re();iJ.exports=function(e){e.root.walkAtRules(/^media$/i,n=>{let i=n.raws.params?n.raws.params.raw:n.params;vze({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));)nJ(a[0]),o+=a[0].length;(a=/^([^\S\r\n]*\/\/[\s\S]*?)\r?\n/.exec(i.slice(o+1)))&&(nJ(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+wze(s);e.fix&&e.fix(s,a)||_ze({message:o,node:s,index:a,result:e.result,ruleName:e.checkedRuleName})}})}}});var aJ=m(($Tt,oJ)=>{"use strict";var xze=et(),Sze=Jf(),kze=j(),Eze=N(),Cze=$e(),Kv="media-query-list-comma-newline-after",sJ=kze(Kv,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),Dze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-newline-after",fixable:!0},Yv=(t,e,r)=>{let n=Cze("newline",t,sJ);return(i,s)=>{if(!Eze(s,Kv,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;let a;if(Sze({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:Kv,allowTrailingComments:t.startsWith("always"),fix:r.fix?(u,l)=>{let c=l-xze(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=sJ;Yv.meta=Dze;oJ.exports=Yv});var cJ=m((BTt,lJ)=>{"use strict";var Oze=Jf(),qze=j(),Rze=N(),Aze=$e(),Qv="media-query-list-comma-newline-before",uJ=qze(Qv,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),Pze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-newline-before"},Jv=t=>{let e=Aze("newline",t,uJ);return(r,n)=>{Rze(n,Qv,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&Oze({root:r,result:n,locationChecker:e.beforeAllowingIndentation,checkedRuleName:Qv})}};Jv.ruleName=Qv;Jv.messages=uJ;Jv.meta=Pze;lJ.exports=Jv});var pJ=m((WTt,dJ)=>{"use strict";var Tze=et(),Mze=Jf(),Fze=j(),Lze=N(),Ize=$e(),Xv="media-query-list-comma-space-after",fJ=Fze(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'}),Nze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-space-after",fixable:!0},Zv=(t,e,r)=>{let n=Ize("space",t,fJ);return(i,s)=>{if(!Lze(s,Xv,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(Mze({root:i,result:s,locationChecker:n.after,checkedRuleName:Xv,fix:r.fix?(u,l)=>{let c=l-Tze(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=fJ;Zv.meta=Nze;dJ.exports=Zv});var mJ=m((zTt,gJ)=>{"use strict";var jze=et(),$ze=Jf(),Bze=j(),Wze=N(),zze=$e(),ew="media-query-list-comma-space-before",hJ=Bze(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'}),Uze={url:"https://stylelint.io/user-guide/rules/media-query-list-comma-space-before",fixable:!0},tw=(t,e,r)=>{let n=zze("space",t,hJ);return(i,s)=>{if(!Wze(s,ew,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if($ze({root:i,result:s,locationChecker:n.before,checkedRuleName:ew,fix:r.fix?(u,l)=>{let c=l-jze(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=hJ;tw.meta=Uze;gJ.exports=tw});var bJ=m((UTt,yJ)=>{"use strict";var Hze=om();function Vze(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)&&!Hze(s,o))return!1}return!0}function Gze(t){let e=new Set(t.flat());return e.delete("."),[...e]}function Kze(t){return Gze(t).filter(e=>!Vze(t,e))}yJ.exports=Kze});var wJ=m((HTt,vJ)=>{"use strict";var Yze=Ae(),Qze=Re(),Jze=bJ(),Xze=U(),Zze=j(),eUe=N(),{assert:tUe}=re(),nw="named-grid-areas-no-invalid",rw=Zze(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}"`}),rUe={url:"https://stylelint.io/user-guide/rules/named-grid-areas-no-invalid"},iw=t=>(e,r)=>{eUe(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(Yze(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=Jze(o.map(d=>d.values));for(let d of c.sort()){let p=o.find(h=>h.values.includes(d));tUe(p),f(rw.expectedRectangle(d),p.index,p.endIndex)}function f(d,p,h){let y=Qze(i);Xze({message:d,node:i,index:y+p,endIndex:y+h,result:r,ruleName:nw})}})};iw.ruleName=nw;iw.messages=rw;iw.meta=rUe;vJ.exports=iw});var rn=m((VTt,_J)=>{_J.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 gP=m(aw=>{"use strict";function nUe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}Object.defineProperty(aw,"__esModule",{value:!0});var sw=nUe(Hs());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=xJ(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=xJ(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 xJ(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 mP=m((KTt,SJ)=>{"use strict";var{isAtRule:iUe,isRule:sUe}=Qe();SJ.exports=function t(e){let r=e.parent;return r?iUe(r)?r:sUe(r)?t(r):null:null}});var kJ=m((YTt,oUe)=>{oUe.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 CJ=m((QTt,EJ)=>{"use strict";EJ.exports=kJ()});var nn=m((JTt,MJ)=>{"use strict";var aUe=CJ(),uw=Su(),uUe=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"]),lUe=new Set(aUe),cUe=uw(uUe,lUe),fUe=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"]),DJ=new Set(["before","after","first-line","first-letter"]),OJ=new Set(["part"]),qJ=new Set(["-webkit-resizer","-webkit-scrollbar","-webkit-scrollbar-button","-webkit-scrollbar-corner","-webkit-scrollbar-thumb","-webkit-scrollbar-track","-webkit-scrollbar-track-piece"]),dUe=uw(qJ,["-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"]),pUe=uw(DJ,dUe,OJ,["backdrop","content","cue","file-selector-button","grammar-error","highlight","marker","placeholder","selection","shadow","slotted","spelling-error","target-text"]),RJ=new Set(["nth-column","nth-last-column","nth-last-of-type","nth-of-type"]),AJ=new Set(["nth-child","nth-last-child"]),hUe=new Set(["first","right","left","blank"]),PJ=new Set(["dir","lang"]),TJ=new Set(["has","is","matches","not","where"]),gUe=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"]),mUe=new Set(["horizontal","vertical","decrement","increment","start","end","double-button","single-button","no-button","corner-present","window-inactive"]),yUe=uw(RJ,PJ,TJ,AJ,gUe,["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"]);MJ.exports={aNPlusBNotationPseudoClasses:RJ,aNPlusBOfSNotationPseudoClasses:AJ,atRulePagePseudoClasses:hUe,levelOneAndTwoPseudoElements:DJ,linguisticPseudoClasses:PJ,logicalCombinationsPseudoClasses:TJ,mixedCaseSvgTypeSelectors:fUe,pseudoClasses:yUe,pseudoElements:pUe,shadowTreePseudoElements:OJ,htmlTypeSelectors:cUe,webkitScrollbarPseudoClasses:mUe,webkitScrollbarPseudoElements:qJ}});var yP=m((XTt,LJ)=>{"use strict";LJ.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=FJ(e,i);return n.reduce((o,a)=>FJ(o,a),s)}}};function FJ(t,e){return t.has(e)||t.set(e,new Map),t.get(e)}});var Ge=m((ZTt,IJ)=>{"use strict";var bUe=Hs();IJ.exports=function(e,r,n,i){try{return bUe(i).processSync(e)}catch(s){r.warn(`Cannot parse selector (${s})`,{node:n,stylelintType:"parseError"});return}}});var BJ=m((eMt,$J)=>{"use strict";var vUe=rn(),{selectorSpecificity:wUe,compare:_Ue}=gP(),xUe=mP(),SUe=Ie(),kUe=Hr(),{pseudoElements:EUe}=nn(),CUe=yP(),DUe=xe(),OUe=Ge(),qUe=U(),RUe=j(),AUe=N(),{assert:NJ}=re(),lw="no-descending-specificity",jJ=RUe(lw,{rejected:(t,e)=>`Expected selector "${t}" to come before selector "${e}"`}),PUe={url:"https://stylelint.io/user-guide/rules/no-descending-specificity"},cw=(t,e)=>(r,n)=>{if(!AUe(n,lw,{actual:t},{optional:!0,actual:e,possible:{ignore:["selectors-within-list"]}}))return;let s=DUe(e,"ignore","selectors-within-list"),o=CUe();r.walkRules(u=>{if(!SUe(u)||s&&u.selectors.length>1)return;let l=o.getContext(u,xUe(u));for(let c of u.selectors)if(c.trim()!=="")for(let d of vUe(c,u))OUe(d,n,u,p=>{kUe(d)&&a(p,u,l)})});function a(u,l,c){let f=u.toString(),d=TUe(u);if(d===void 0)return;let p=wUe(u),h={selector:f,specificity:p},y=c.get(d);if(y===void 0){c.set(d,[h]);return}for(let b of y)_Ue(p,b.specificity)<0&&qUe({ruleName:lw,result:n,node:l,message:jJ.rejected(f,b.selector),word:f});y.push(h)}};function TUe(t){let e=t.nodes[0];NJ(e);let r=e.split(s=>s.type==="combinator"),n=r[r.length-1];NJ(n);let i=n.filter(s=>s.type!=="pseudo"||s.value.startsWith("::")||EUe.has(s.value.replace(/:/g,"")));if(i.length!==0)return i.join("")}cw.ruleName=lw;cw.messages=jJ;cw.meta=PUe;$J.exports=cw});var HJ=m((tMt,UJ)=>{"use strict";var MUe=Fi().default,FUe=U(),LUe=j(),IUe=N(),WJ=Ae(),fw="no-duplicate-at-import-rules",zJ=LUe(fw,{rejected:t=>`Unexpected duplicate @import rule ${t}`}),NUe={url:"https://stylelint.io/user-guide/rules/no-duplicate-at-import-rules"},dw=t=>(e,r)=>{if(!IUe(r,fw,{actual:t}))return;let i={};e.walkAtRules(/^import$/i,s=>{let[o,...a]=WJ(s.params).nodes;if(!o)return;let u=o.type==="function"&&o.value==="url"&&o.nodes[0]?o.nodes[0].value:o.value,l=(MUe(WJ.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){FUe({message:zJ.rejected(u),node:s,result:r,ruleName:fw,word:s.toString()});return}c||(c=i[u]=[]),c.push(...l)})};dw.ruleName=fw;dw.messages=zJ;dw.meta=NUe;UJ.exports=dw});var bP=m((rMt,VJ)=>{"use strict";var{isAtRule:jUe}=Qe();VJ.exports=function(e){let r=e.parent;return r?jUe(r)&&r.name.toLowerCase()==="keyframes":!1}});var QJ=m((nMt,YJ)=>{"use strict";var $Ue=rn(),BUe=Hs(),WUe=mP(),zUe=bP(),UUe=Hr(),HUe=yP(),VUe=Ge(),GJ=U(),GUe=j(),KUe=N(),{isBoolean:YUe}=re(),Xf="no-duplicate-selectors",vP=GUe(Xf,{rejected:(t,e)=>`Unexpected duplicate selector "${t}", first used at line ${e}`}),QUe={url:"https://stylelint.io/user-guide/rules/no-duplicate-selectors"},pw=(t,e)=>(r,n)=>{if(!KUe(n,Xf,{actual:t},{actual:e,possible:{disallowInList:[YUe]},optional:!0}))return;let s=e&&e.disallowInList,o=HUe();r.walkRules(a=>{if(zUe(a))return;let u=o.getContext(a,WUe(a)),l=[...new Set(a.selectors.flatMap(g=>$Ue(g,a)))],f=[...l.map(KJ)].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?VUe(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 GJ({result:n,ruleName:Xf,node:a,message:vP.rejected(v,p),word:v})}let y=new Set,b=new Set;for(let g of a.selectors){let v=KJ(g);if(y.has(v)){if(b.has(v))continue;GJ({result:n,ruleName:Xf,node:a,message:vP.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 KJ(t){return UUe(t)?BUe().processSync(t,{lossless:!1}):t}pw.ruleName=Xf;pw.messages=vP;pw.meta=QUe;YJ.exports=pw});var ZJ=m((iMt,XJ)=>{"use strict";var JUe=U(),XUe=j(),ZUe=N(),hw="no-empty-source",JJ=XUe(hw,{rejected:"Unexpected empty source"}),eHe={url:"https://stylelint.io/user-guide/rules/no-empty-source"},gw=(t,e,r)=>(n,i)=>{!ZUe(i,hw,{actual:t})||(r.fix?n.toString():n.source&&n.source.input.css||"").trim()||JUe({message:JJ.rejected,node:n,result:i,ruleName:hw})};gw.ruleName=hw;gw.messages=JJ;gw.meta=eHe;XJ.exports=gw});var rX=m((sMt,tX)=>{"use strict";var tHe=U(),rHe=j(),nHe=N(),mw="no-empty-first-line",iHe=/^\s*[\r\n]/,eX=rHe(mw,{rejected:"Unexpected empty line"}),sHe={url:"https://stylelint.io/user-guide/rules/no-empty-first-line",fixable:!0},yw=(t,e,r)=>(n,i)=>{if(!nHe(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()&&iHe.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}tHe({message:eX.rejected,node:n,result:i,ruleName:mw})}};yw.ruleName=mw;yw.messages=eX;yw.meta=sHe;tX.exports=yw});var wP=m((oMt,nX)=>{"use strict";var oHe=Ic();nX.exports=function(e){for(let r of e)if(!oHe(r))return!1;return!0}});var uX=m((aMt,aX)=>{"use strict";var aHe=Lr(),uHe=wP(),lHe=qu(),cHe=xe(),fHe=U(),dHe=j(),{isAtRule:_P,isComment:pHe,isDeclaration:iX,isRule:xP}=Qe(),hHe=N(),bw="no-eol-whitespace",oX=dHe(bw,{rejected:"Unexpected whitespace at end of line"}),gHe={url:"https://stylelint.io/user-guide/rules/no-eol-whitespace",fixable:!0},mHe=new Set([" "," "]);function SP(t){return t.replace(/[ \t]+$/,"")}function sX(t,e,{ignoreEmptyLines:r,isRootFirst:n}){let i=t-1;if(!mHe.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(uHe(o))return-1}}return i}var vw=(t,e,r)=>(n,i)=>{if(!hHe(i,bw,{actual:t},{optional:!0,actual:e,possible:{ignore:["empty-lines"]}}))return;let o=cHe(e,"ignore","empty-lines");r.fix&&f(n);let a=r.fix?n.toString():n.source&&n.source.input.css||"",u=p=>{fHe({message:oX.rejected,node:n,index:p,result:i,ruleName:bw})};c(a,u,!0);let l=sX(a.length,a,{ignoreEmptyLines:o,isRootFirst:!0});l>-1&&u(l);function c(p,h,y){aHe({source:p,target:[`
129
+ `,"\r"],comments:"check"},b=>{let g=sX(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,_P(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(xP(y)){let b=y.raws.selector;b?d(b.raw,g=>{b.raw=g}):d(y.selector,g=>{y.selector=g})}if((_P(y)||xP(y)||iX(y))&&d(y.raws.between,b=>{y.raws.between=b}),iX(y)){let b=y.raws.value;b?d(b.raw,g=>{b.raw=g}):d(y.value,g=>{y.value=g})}pHe(y)&&(d(y.raws.left,b=>{y.raws.left=b}),lHe(y)?d(y.raws.right,b=>{y.raws.right=b}):y.raws.right=y.raws.right&&SP(y.raws.right),d(y.text,b=>{y.text=b})),(_P(y)||xP(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)+SP(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+=SP(p.slice(g,w)),g=w},y),g&&(b+=p.slice(g),h(b))}};vw.ruleName=bw;vw.messages=oX;vw.meta=gHe;aX.exports=vw});var dX=m((uMt,fX)=>{"use strict";var lX=Fr(),yHe=Ie(),bHe=U(),vHe=j(),ww=Lr(),wHe=N(),{isAtRule:_He}=Qe(),_w="no-extra-semicolons",cX=vHe(_w,{rejected:"Unexpected extra semicolon"}),xHe={url:"https://stylelint.io/user-guide/rules/no-extra-semicolons",fixable:!0};function kP(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(!wHe(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(!(_He(u)&&!lX(u))&&!(u.type==="rule"&&!yHe(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(kP(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"&&!lX(u.last))return;let c=[];ww({source:l,target:";"},f=>{if(r.fix){c.push(f.startIndex);return}let d=kP(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=kP(u)+u.toString().length-l.length+d.startIndex;o(h)}),f.length&&(u.raws.ownSemicolon=a(l,f))}}});function o(u){bHe({message:cX.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=cX;xw.meta=xHe;fX.exports=xw});var gX=m((lMt,hX)=>{"use strict";var pX=U(),SHe=j(),kHe=N(),Zf="no-invalid-double-slash-comments",EP=SHe(Zf,{rejected:"Unexpected double-slash CSS comment"}),EHe={url:"https://stylelint.io/user-guide/rules/no-invalid-double-slash-comments"},Sw=t=>(e,r)=>{kHe(r,Zf,{actual:t})&&(e.walkDecls(i=>{i.prop.startsWith("//")&&pX({message:EP.rejected,node:i,result:r,ruleName:Zf,word:i.toString()})}),e.walkRules(i=>{for(let s of i.selectors)s.startsWith("//")&&pX({message:EP.rejected,node:i,result:r,ruleName:Zf,word:i.toString()})}))};Sw.ruleName=Zf;Sw.messages=EP;Sw.meta=EHe;hX.exports=Sw});var vX=m((cMt,bX)=>{"use strict";var CHe=Fr(),DHe=Ie(),OHe=xe(),qHe=U(),RHe=j(),{isAtRule:mX}=Qe(),AHe=N(),{isRegExp:PHe,isString:THe}=re(),kw="no-invalid-position-at-import-rule",yX=RHe(kw,{rejected:"Unexpected invalid position @import rule"}),MHe={url:"https://stylelint.io/user-guide/rules/no-invalid-position-at-import-rule"},Ew=(t,e)=>(r,n)=>{if(!AHe(n,kw,{actual:t},{actual:e,possible:{ignoreAtRules:[THe,PHe]},optional:!0}))return;let s=!1;r.walk(o=>{let a="name"in o&&o.name&&o.name.toLowerCase()||"";if(mX(o)&&a!=="charset"&&a!=="import"&&a!=="layer"&&!OHe(e,"ignoreAtRules",o.name)&&CHe(o)||o.type==="rule"&&DHe(o)){s=!0;return}mX(o)&&a==="import"&&s&&qHe({message:yX.rejected,node:o,result:n,ruleName:kw,word:o.toString()})})};Ew.ruleName=kw;Ew.messages=yX;Ew.meta=MHe;bX.exports=Ew});var xX=m((fMt,_X)=>{"use strict";var FHe=U(),LHe=j(),IHe=N(),Cw="no-irregular-whitespace",wX=LHe(Cw,{unexpected:"Unexpected irregular whitespace"}),NHe={url:"https://stylelint.io/user-guide/rules/no-irregular-whitespace"},jHe=["\v","\f","\xA0","\x85","\u1680","\u180E","\uFEFF","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005","\u2006","\u2007","\u2008","\u2009","\u200A","\u200B","\u2028","\u2029","\u202F","\u205F","\u3000"],$He=new RegExp(`([${jHe.join("")}])`),BHe=t=>{let e=$He.exec(t);return e&&e[1]||null},Dw=t=>(e,r)=>{if(!IHe(r,Cw,{actual:t}))return;let i=(s,o)=>{let a=o&&BHe(o);a&&FHe({ruleName:Cw,result:r,message:wX.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=wX;Dw.meta=NHe;_X.exports=Dw});var EX=m((dMt,kX)=>{"use strict";var WHe=U(),zHe=j(),UHe=N(),Ow="no-missing-end-of-source-newline",SX=zHe(Ow,{rejected:"Unexpected missing end-of-source newline"}),HHe={url:"https://stylelint.io/user-guide/rules/no-missing-end-of-source-newline",fixable:!0},qw=(t,e,r)=>(n,i)=>{if(!UHe(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}WHe({message:SX.rejected,node:n,index:o.length-1,result:i,ruleName:Ow})}};qw.ruleName=Ow;qw.messages=SX;qw.meta=HHe;kX.exports=qw});var DX=m((pMt,CX)=>{"use strict";var VHe=ai(),GHe=hn(),KHe=Pu(),{animationShorthandKeywords:YHe,basicKeywords:QHe}=mn(),JHe=Ae();CX.exports=function(e){let r=[],n=JHe(e),{nodes:i}=n;if(i.length===1&&i[0]&&QHe.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(!GHe(a)){s=!0,r.length=0;return}if(KHe(a)||YHe.has(a))return;let{unit:u}=VHe(o);u||u===""||r.push(o)}),r}});var RX=m((hMt,qX)=>{"use strict";var XHe=Re(),ZHe=DX(),{animationNameKeywords:eVe}=mn(),tVe=U(),rVe=j(),nVe=N(),Rw="no-unknown-animations",OX=rVe(Rw,{rejected:t=>`Unexpected unknown animation name "${t}"`}),iVe={url:"https://stylelint.io/user-guide/rules/no-unknown-animations"},Aw=t=>(e,r)=>{if(!nVe(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=ZHe(s.value);if(o.length===0)return;for(let a of o){if(eVe.has(a.value.toLowerCase())||i.has(a.value))continue;let u=XHe(s);tVe({result:r,ruleName:Rw,message:OX.rejected(a.value),node:s,index:u+a.sourceIndex,endIndex:u+a.sourceEndIndex})}}})};Aw.ruleName=Rw;Aw.messages=OX;Aw.meta=iVe;qX.exports=Aw});var LX=m((gMt,FX)=>{"use strict";var sVe=Ae(),AX=et(),PX=Re(),oVe=U(),aVe=j(),{isAtRule:Pw}=Qe(),uVe=N(),Tw="number-leading-zero",CP=aVe(Tw,{expected:"Expected a leading zero",rejected:"Unexpected leading zero"}),lVe={url:"https://stylelint.io/user-guide/rules/number-leading-zero",fixable:!0},Mw=(t,e,r)=>(n,i)=>{if(!uVe(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(sVe(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)?AX(u):PX(u);a(CP.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)?AX(u):PX(u);a(CP.rejected,u,b+y)}}}),f.length)for(let d of f){let p=d.index;Pw(u)?u.params=TX(u.params,p):u.value=TX(u.value,p)}if(c.length)for(let d of c){let p=d.startIndex,h=d.endIndex;Pw(u)?u.params=MX(u.params,p,h):u.value=MX(u.value,p,h)}}}function a(u,l,c){oVe({result:i,ruleName:Tw,message:u,node:l,index:c})}};function TX(t,e){return t.slice(0,e)+"0"+t.slice(e)}function MX(t,e,r){return t.slice(0,e)+t.slice(r)}Mw.ruleName=Tw;Mw.messages=CP;Mw.meta=lVe;FX.exports=Mw});var WX=m((mMt,BX)=>{"use strict";var cVe=Ae(),fVe=et(),dVe=Re(),pVe=ai(),IX=xe(),hVe=U(),gVe=j(),{isAtRule:mVe}=Qe(),yVe=N(),{isNumber:bVe,isRegExp:NX,isString:jX}=re(),Fw="number-max-precision",$X=gVe(Fw,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),vVe={url:"https://stylelint.io/user-guide/rules/number-max-precision"},Lw=(t,e)=>(r,n)=>{if(!yVe(n,Fw,{actual:t,possible:[bVe]},{optional:!0,actual:e,possible:{ignoreProperties:[jX,NX],ignoreUnits:[jX,NX]}}))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;IX(e,"ignoreProperties",u)||cVe(a).walk(l=>{let{unit:c}=pVe(l);if(IX(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=mVe(o)?fVe(o):dVe(o),p=Number.parseFloat(f[0]);hVe({result:n,ruleName:Fw,node:o,index:d+l.sourceIndex+f.index,word:p.toString(),message:$X.expected(p,p.toFixed(t))})})}};Lw.ruleName=Fw;Lw.messages=$X;Lw.meta=vVe;BX.exports=Lw});var GX=m((yMt,VX)=>{"use strict";var wVe=Ae(),_Ve=et(),xVe=Re(),SVe=U(),kVe=j(),{isAtRule:zX}=Qe(),EVe=N(),Iw="number-no-trailing-zeros",HX=kVe(Iw,{rejected:"Unexpected trailing zero(s)"}),CVe={url:"https://stylelint.io/user-guide/rules/number-no-trailing-zeros",fixable:!0},Nw=(t,e,r)=>(n,i)=>{if(!EVe(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(".")&&(wVe(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=zX(a)?_Ve(a):xVe(a);SVe({message:HX.rejected,node:a,index:y+d,result:i,ruleName:Iw})}),l.length))for(let c of l){let f=c.startIndex,d=c.endIndex;zX(a)?a.params=UX(a.params,f,d):a.value=UX(a.value,f,d)}}};function UX(t,e,r){return t.slice(0,e)+t.slice(r)}Nw.ruleName=Iw;Nw.messages=HX;Nw.meta=CVe;VX.exports=Nw});var QX=m((bMt,YX)=>{"use strict";var DVe=gn(),OVe=oi(),qVe=qt(),RVe=U(),AVe=j(),PVe=N(),TVe=rt(),{isRegExp:MVe,isString:FVe}=re(),jw="property-allowed-list",KX=AVe(jw,{rejected:t=>`Unexpected property "${t}"`}),LVe={url:"https://stylelint.io/user-guide/rules/property-allowed-list"},ed=t=>(e,r)=>{PVe(r,jw,{actual:t,possible:[FVe,MVe]})&&e.walkDecls(i=>{let s=i.prop;OVe(s)&&(DVe(s)||qVe([s,TVe.unprefixed(s)],t)||RVe({message:KX.rejected(s),word:s,node:i,result:r,ruleName:jw}))})};ed.primaryOptionArray=!0;ed.ruleName=jw;ed.messages=KX;ed.meta=LVe;YX.exports=ed});var ZX=m((vMt,XX)=>{"use strict";var IVe=gn(),NVe=oi(),jVe=U(),$Ve=j(),BVe=N(),WVe=xe(),{isRegExp:zVe,isString:UVe}=re(),{isRule:HVe}=Qe(),$w="property-case",JX=$Ve($w,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),VVe={url:"https://stylelint.io/user-guide/rules/property-case",fixable:!0},Bw=(t,e,r)=>(n,i)=>{BVe(i,$w,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreSelectors:[UVe,zVe]},optional:!0})&&n.walkDecls(o=>{let a=o.prop;if(!NVe(a)||IVe(a))return;let{parent:u}=o;if(!u)throw new Error("A parent node must be present");if(HVe(u)){let{selector:c}=u;if(c&&WVe(e,"ignoreSelectors",c))return}let l=t==="lower"?a.toLowerCase():a.toUpperCase();if(a!==l){if(r.fix){o.prop=l;return}jVe({message:JX.expected(a,l),word:a,node:o,ruleName:$w,result:i})}})};Bw.ruleName=$w;Bw.messages=JX;Bw.meta=VVe;XX.exports=Bw});var rZ=m((wMt,tZ)=>{"use strict";var GVe=gn(),KVe=oi(),YVe=qt(),QVe=U(),JVe=j(),XVe=N(),ZVe=rt(),{isRegExp:eGe,isString:tGe}=re(),Ww="property-disallowed-list",eZ=JVe(Ww,{rejected:t=>`Unexpected property "${t}"`}),rGe={url:"https://stylelint.io/user-guide/rules/property-disallowed-list"},td=t=>(e,r)=>{XVe(r,Ww,{actual:t,possible:[tGe,eGe]})&&e.walkDecls(i=>{let s=i.prop;KVe(s)&&(GVe(s)||YVe([s,ZVe.unprefixed(s)],t)&&QVe({message:eZ.rejected,messageArgs:[s],word:s,node:i,result:r,ruleName:Ww}))})};td.primaryOptionArray=!0;td.ruleName=Ww;td.messages=eZ;td.meta=rGe;tZ.exports=td});var nZ=m((_Mt,nGe)=>{nGe.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 sZ=m((xMt,iZ)=>{iZ.exports.all=nZ().properties});var uZ=m((SMt,aZ)=>{"use strict";var iGe=gn(),sGe=si(),oGe=oi(),DP=xe(),aGe=sZ().all,uGe=U(),lGe=j(),{isAtRule:cGe,isRule:fGe}=Qe(),dGe=N(),pGe=rt(),{isBoolean:hGe,isRegExp:OP,isString:qP}=re(),zw="property-no-unknown",oZ=lGe(zw,{rejected:t=>`Unexpected unknown property "${t}"`}),gGe={url:"https://stylelint.io/user-guide/rules/property-no-unknown"},Uw=(t,e)=>{let r=new Set(aGe);return(n,i)=>{if(!dGe(i,zw,{actual:t},{actual:e,possible:{ignoreProperties:[qP,OP],checkPrefixed:[hGe],ignoreSelectors:[qP,OP],ignoreAtRules:[qP,OP]},optional:!0}))return;let o=e&&e.checkPrefixed;n.walkDecls(a);function a(u){let l=u.prop;if(!oGe(l)||!sGe(u)||iGe(l)||!o&&pGe.prefix(l)||DP(e,"ignoreProperties",l))return;let c=u.parent;if(c&&fGe(c)&&DP(e,"ignoreSelectors",c.selector))return;let f=c;for(;f&&f.type!=="root";){if(cGe(f)&&DP(e,"ignoreAtRules",f.name))return;f=f.parent}r.has(l.toLowerCase())||uGe({message:oZ.rejected(l),node:u,result:i,ruleName:zw,word:l})}}};Uw.ruleName=zw;Uw.messages=oZ;Uw.meta=gGe;aZ.exports=Uw});var dZ=m((kMt,fZ)=>{"use strict";var lZ=ku(),mGe=xe(),yGe=U(),bGe=j(),vGe=N(),wGe=rt(),{isRegExp:_Ge,isString:xGe}=re(),Hw="property-no-vendor-prefix",cZ=bGe(Hw,{rejected:t=>`Unexpected vendor-prefix "${t}"`}),SGe={url:"https://stylelint.io/user-guide/rules/property-no-vendor-prefix",fixable:!0},Vw=(t,e,r)=>(n,i)=>{vGe(i,Hw,{actual:t},{optional:!0,actual:e,possible:{ignoreProperties:[xGe,_Ge]}})&&n.walkDecls(o=>{let a=o.prop,u=wGe.unprefixed(a);if(!mGe(e,"ignoreProperties",u)&&!(a[0]!=="-"||a[1]==="-")&&lZ.property(a)){if(r.fix){o.prop=lZ.unprefix(o.prop);return}yGe({message:cZ.rejected(a),word:a,node:o,result:i,ruleName:Hw})}})};Vw.ruleName=Hw;Vw.messages=cZ;Vw.meta=SGe;fZ.exports=Vw});var hZ=m((EMt,pZ)=>{"use strict";var kGe=mm();function EGe(t){let e=t.prev();return e!==void 0&&e.type==="comment"&&!kGe(e)&&e.source&&e.source.start&&e.source.end&&e.source.start.line===e.source.end.line}pZ.exports=EGe});var bZ=m((CMt,yZ)=>{"use strict";var CGe=vu(),DGe=Is(),OGe=No(),qGe=hZ(),gZ=wu(),RGe=Fc(),AGe=Oi(),PGe=Ie(),Vs=xe(),TGe=_u(),MGe=U(),FGe=j(),LGe=N(),Gw="rule-empty-line-before",RP=FGe(Gw,{expected:"Expected empty line before rule",rejected:"Unexpected empty line before rule"}),IGe={url:"https://stylelint.io/user-guide/rules/rule-empty-line-before",fixable:!0},Kw=(t,e,r)=>(n,i)=>{if(!LGe(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(!PGe(a)||RGe(a))return;if(Vs(e,"ignore","after-comment")){let d=a.prev();if(d&&d.type==="comment")return}if(Vs(e,"ignore","first-nested")&&gZ(a))return;let u=a.parent&&a.parent.type!=="root";if(Vs(e,"ignore","inside-block")&&u||o.includes("multi-line")&&AGe(a.toString()))return;let l=o.includes("always");(Vs(e,"except","first-nested")&&gZ(a)||Vs(e,"except","after-rule")&&mZ(a)||Vs(e,"except","inside-block-and-after-rule")&&u&&mZ(a)||Vs(e,"except","after-single-line-comment")&&qGe(a)||Vs(e,"except","inside-block")&&u)&&(l=!l);let c=OGe(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?CGe(a,d):TGe(a,d);return}let f=l?RP.expected:RP.rejected;MGe({message:f,node:a,result:i,ruleName:Gw})})};function mZ(t){let e=DGe(t);return e!=null&&e.type==="rule"}Kw.ruleName=Gw;Kw.messages=RP;Kw.meta=IGe;yZ.exports=Kw});var xZ=m((DMt,_Z)=>{"use strict";var NGe=Ie(),vZ=qt(),jGe=U(),$Ge=j(),BGe=qi(),WGe=N(),{isString:zGe,isRegExp:UGe}=re(),Yw="rule-selector-property-disallowed-list",wZ=$Ge(Yw,{rejected:(t,e)=>`Unexpected property "${t}" for selector "${e}"`}),HGe={url:"https://stylelint.io/user-guide/rules/rule-selector-property-disallowed-list"},rd=t=>(e,r)=>{if(!WGe(r,Yw,{actual:t,possible:[BGe(zGe,UGe)]}))return;let i=Object.keys(t);e.walkRules(s=>{if(!NGe(s))return;let o=i.find(u=>vZ(s.selector,u));if(!o)return;let a=t[o];a&&s.walkDecls(u=>{let{prop:l}=u;vZ(l,a)&&jGe({message:wZ.rejected(l,s.selector),node:u,result:r,ruleName:Yw,word:l})})})};rd.primaryOptionArray=!0;rd.ruleName=Yw;rd.messages=wZ;rd.meta=HGe;_Z.exports=rd});var EZ=m((OMt,kZ)=>{"use strict";var VGe=Ie(),GGe=Ge(),KGe=U(),YGe=j(),SZ=Lr(),QGe=N(),Qw="selector-attribute-brackets-space-inside",nd=YGe(Qw,{expectedOpening:'Expected single space after "["',rejectedOpening:'Unexpected whitespace after "["',expectedClosing:'Expected single space before "]"',rejectedClosing:'Unexpected whitespace before "]"'}),JGe={url:"https://stylelint.io/user-guide/rules/selector-attribute-brackets-space-inside",fixable:!0},Jw=(t,e,r)=>{return(s,o)=>{QGe(o,Qw,{actual:t,possible:["always","never"]})&&s.walkRules(u=>{if(!VGe(u)||!u.selector.includes("["))return;let l=u.raws.selector?u.raws.selector.raw:u.selector,c,f=GGe(l,o,u,p=>{p.walkAttributes(h=>{let y=h.toString();SZ({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(nd.rejectedOpening,v)}if(!g&&t==="always"){if(r.fix){c=!0,n(h);return}d(nd.expectedOpening,v)}}),SZ({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(nd.rejectedClosing,v)}if(!g&&t==="always"){if(r.fix){c=!0,i(h);return}d(nd.expectedClosing,v)}})})});c&&f&&(u.raws.selector?u.raws.selector.raw=f:u.selector=f);function d(p,h){KGe({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=nd;Jw.meta=JGe;kZ.exports=Jw});var OZ=m((qMt,DZ)=>{"use strict";var XGe=Ie(),ZGe=qt(),eKe=Ge(),tKe=U(),rKe=j(),nKe=N(),{isRegExp:iKe,isString:sKe}=re(),Xw="selector-attribute-name-disallowed-list",CZ=rKe(Xw,{rejected:t=>`Unexpected name "${t}"`}),oKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-name-disallowed-list"},id=t=>(e,r)=>{nKe(r,Xw,{actual:t,possible:[sKe,iKe]})&&e.walkRules(i=>{XGe(i)&&i.selector.includes("[")&&eKe(i.selector,r,i,s=>{s.walkAttributes(o=>{let a=o.qualifiedAttribute;if(!ZGe(a,t))return;let u=o.sourceIndex+o.offsetOf("attribute"),l=u+a.length;tKe({message:CZ.rejected(a),node:i,index:u,endIndex:l,result:r,ruleName:Xw})})})})};id.primaryOptionArray=!0;id.ruleName=Xw;id.messages=CZ;id.meta=oKe;DZ.exports=id});var AZ=m((RMt,RZ)=>{"use strict";var aKe=Ie(),uKe=Ge(),lKe=U(),cKe=j(),fKe=N(),{isString:dKe}=re(),Zw="selector-attribute-operator-allowed-list",qZ=cKe(Zw,{rejected:t=>`Unexpected operator "${t}"`}),pKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-allowed-list"},sd=t=>(e,r)=>{if(!fKe(r,Zw,{actual:t,possible:[dKe]}))return;let i=new Set([t].flat());e.walkRules(s=>{if(!aKe(s))return;let{selector:o}=s;!o.includes("[")||!o.includes("=")||uKe(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;lKe({message:qZ.rejected(l),node:s,index:c,endIndex:f,result:r,ruleName:Zw})})})})};sd.primaryOptionArray=!0;sd.ruleName=Zw;sd.messages=qZ;sd.meta=pKe;RZ.exports=sd});var MZ=m((AMt,TZ)=>{"use strict";var hKe=Ie(),gKe=Ge(),mKe=U(),yKe=j(),bKe=N(),{isString:vKe}=re(),e_="selector-attribute-operator-disallowed-list",PZ=yKe(e_,{rejected:t=>`Unexpected operator "${t}"`}),wKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-disallowed-list"},od=t=>(e,r)=>{if(!bKe(r,e_,{actual:t,possible:[vKe]}))return;let i=new Set([t].flat());e.walkRules(s=>{if(!hKe(s))return;let{selector:o}=s;!o.includes("[")||!o.includes("=")||gKe(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;mKe({message:PZ.rejected(l),node:s,index:c,endIndex:f,result:r,ruleName:e_})})})})};od.primaryOptionArray=!0;od.ruleName=e_;od.messages=PZ;od.meta=wKe;TZ.exports=od});var AP=m((PMt,FZ)=>{"use strict";var _Ke=Ie(),xKe=Ge(),SKe=U(),kKe=Lr();FZ.exports=function(e){e.root.walkRules(r=>{if(!_Ke(r)||!r.selector.includes("[")||!r.selector.includes("="))return;let n=!1,i=r.raws.selector?r.raws.selector.raw:r.selector,s=xKe(i,e.result,r,a=>{a.walkAttributes(u=>{let l=u.operator;if(!l)return;let c=u.toString();kKe({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}SKe({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 NZ=m((TMt,IZ)=>{"use strict";var EKe=j(),CKe=AP(),DKe=N(),OKe=$e(),t_="selector-attribute-operator-space-after",LZ=EKe(t_,{expectedAfter:t=>`Expected single space after "${t}"`,rejectedAfter:t=>`Unexpected whitespace after "${t}"`}),qKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-space-after",fixable:!0},r_=(t,e,r)=>(n,i)=>{let s=OKe("space",t,LZ);DKe(i,t_,{actual:t,possible:["always","never"]})&&CKe({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=LZ;r_.meta=qKe;IZ.exports=r_});var BZ=m((MMt,$Z)=>{"use strict";var RKe=j(),AKe=AP(),PKe=N(),TKe=$e(),n_="selector-attribute-operator-space-before",jZ=RKe(n_,{expectedBefore:t=>`Expected single space before "${t}"`,rejectedBefore:t=>`Unexpected whitespace before "${t}"`}),MKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-operator-space-before",fixable:!0},i_=(t,e,r)=>{let n=TKe("space",t,jZ);return(i,s)=>{PKe(s,n_,{actual:t,possible:["always","never"]})&&AKe({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=jZ;i_.meta=MKe;$Z.exports=i_});var zZ=m((FMt,WZ)=>{"use strict";WZ.exports=function(e){let r=e.raws;return r.selector&&r.selector.raw||e.selector}});var HZ=m((LMt,UZ)=>{"use strict";var FKe=zZ(),LKe=Ie(),IKe=Ge(),NKe=U(),jKe=j(),$Ke=N(),s_="selector-attribute-quotes",PP=jKe(s_,{expected:t=>`Expected quotes around "${t}"`,rejected:t=>`Unexpected quotes around "${t}"`}),BKe={url:"https://stylelint.io/user-guide/rules/selector-attribute-quotes",fixable:!0},WKe='"',o_=(t,e,r)=>(n,i)=>{$Ke(i,s_,{actual:t,possible:["always","never"]})&&n.walkRules(o=>{if(!LKe(o))return;let{selector:a}=o;if(!a.includes("[")||!a.includes("="))return;IKe(FKe(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=WKe):u(PP.expected(p),f)),h&&t==="never"&&(r.fix?(c=!0,f.quoteMark=null):u(PP.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;NKe({message:l,index:f,endIndex:p,result:i,ruleName:s_,node:o})}})};o_.ruleName=s_;o_.messages=PP;o_.meta=BKe;UZ.exports=o_});var ad=m((IMt,VZ)=>{"use strict";var{keyframeSelectorKeywords:zKe}=mn();VZ.exports=function(e){return!!(zKe.has(e)||/^(?:\d+|\d*\.\d+)%$/.test(e))}});var XZ=m((NMt,JZ)=>{"use strict";var UKe=ad(),HKe=Ie(),VKe=Hr(),GZ=Ge(),GKe=U(),KKe=rn(),YKe=j(),QKe=N(),{isBoolean:JKe,isRegExp:XKe,isString:KZ}=re(),a_="selector-class-pattern",QZ=YKe(a_,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),ZKe={url:"https://stylelint.io/user-guide/rules/selector-class-pattern"},u_=(t,e)=>(r,n)=>{if(!QKe(n,a_,{actual:t,possible:[XKe,KZ]},{actual:e,possible:{resolveNestedSelectors:[JKe]},optional:!0}))return;let s=Boolean(e&&e.resolveNestedSelectors),o=KZ(t)?new RegExp(t):t;r.walkRules(u=>{let{selector:l,selectors:c}=u;if(HKe(u)&&!c.some(f=>UKe(f)))if(s&&eYe(l))for(let f of KKe(l,u))VKe(f)&&GZ(f,n,u,d=>a(d,u));else GZ(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;GKe({result:n,ruleName:a_,message:QZ.expected,messageArgs:[p,t],node:l,index:d,endIndex:h})})}};function eYe(t){for(let[e,r]of Array.from(t).entries()){if(r!=="&")continue;let n=t.charAt(e-1);if(n&&!YZ(n))return!0;let i=t.charAt(e+1);if(i&&!YZ(i))return!0}return!1}function YZ(t){return/[\s+>~]/.test(t)}u_.ruleName=a_;u_.messages=QZ;u_.meta=ZKe;JZ.exports=u_});var l_=m((jMt,ZZ)=>{"use strict";ZZ.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 ree=m(($Mt,tee)=>{"use strict";var tYe=l_(),rYe=Ie(),nYe=Ge(),iYe=U(),sYe=j(),oYe=N(),{isString:aYe}=re(),c_="selector-combinator-allowed-list",eee=sYe(c_,{rejected:t=>`Unexpected combinator "${t}"`}),uYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-allowed-list"},ud=t=>(e,r)=>{oYe(r,c_,{actual:t,possible:[aYe]})&&e.walkRules(i=>{if(!rYe(i))return;let s=i.selector;nYe(s,r,i,o=>{o.walkCombinators(a=>{if(!tYe(a))return;let{value:u}=a,l=lYe(u);if(t.includes(l))return;let{sourceIndex:c,raws:f}=a,d=c+(f&&f.value||u).length;iYe({result:r,ruleName:c_,message:eee.rejected(l),node:i,index:c,endIndex:d})})})})};function lYe(t){return t.replace(/\s+/g," ")}ud.primaryOptionArray=!0;ud.ruleName=c_;ud.messages=eee;ud.meta=uYe;tee.exports=ud});var see=m((BMt,iee)=>{"use strict";var cYe=l_(),fYe=Ie(),dYe=Ge(),pYe=U(),hYe=j(),gYe=N(),{isString:mYe}=re(),f_="selector-combinator-disallowed-list",nee=hYe(f_,{rejected:t=>`Unexpected combinator "${t}"`}),yYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-disallowed-list"},ld=t=>(e,r)=>{gYe(r,f_,{actual:t,possible:[mYe]})&&e.walkRules(i=>{if(!fYe(i))return;let s=i.selector;dYe(s,r,i,o=>{o.walkCombinators(a=>{if(!cYe(a))return;let{value:u}=a,l=bYe(u);if(!t.includes(l))return;let{sourceIndex:c,raws:f}=a,d=c+(f&&f.value||u).length;pYe({result:r,ruleName:f_,message:nee.rejected(l),node:i,index:c,endIndex:d})})})})};function bYe(t){return t.replace(/\s+/g," ")}ld.primaryOptionArray=!0;ld.ruleName=f_;ld.messages=nee;ld.meta=yYe;iee.exports=ld});var TP=m((WMt,oee)=>{"use strict";var vYe=l_(),wYe=Ie(),_Ye=Ge(),xYe=U();oee.exports=function(e){let r;e.root.walkRules(i=>{if(!wYe(i))return;r=!1;let s=i.raws.selector?i.raws.selector.raw:i.selector,o=_Ye(s,e.result,i,a=>{a.walkCombinators(u=>{if(!vYe(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}xYe({message:l,node:a,index:u,result:e.result,ruleName:e.checkedRuleName})}})}}});var lee=m((zMt,uee)=>{"use strict";var SYe=j(),kYe=TP(),EYe=N(),CYe=$e(),d_="selector-combinator-space-after",aee=SYe(d_,{expectedAfter:t=>`Expected single space after "${t}"`,rejectedAfter:t=>`Unexpected whitespace after "${t}"`}),DYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-space-after",fixable:!0},p_=(t,e,r)=>{let n=CYe("space",t,aee);return(i,s)=>{EYe(s,d_,{actual:t,possible:["always","never"]})&&kYe({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=aee;p_.meta=DYe;uee.exports=p_});var dee=m((UMt,fee)=>{"use strict";var OYe=j(),qYe=TP(),RYe=N(),AYe=$e(),h_="selector-combinator-space-before",cee=OYe(h_,{expectedBefore:t=>`Expected single space before "${t}"`,rejectedBefore:t=>`Unexpected whitespace before "${t}"`}),PYe={url:"https://stylelint.io/user-guide/rules/selector-combinator-space-before",fixable:!0},g_=(t,e,r)=>{let n=AYe("space",t,cee);return(i,s)=>{RYe(s,h_,{actual:t,possible:["always","never"]})&&qYe({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=cee;g_.meta=PYe;fee.exports=g_});var gee=m((HMt,hee)=>{"use strict";var TYe=Ie(),MYe=Ge(),FYe=U(),LYe=j(),IYe=N(),m_="selector-descendant-combinator-no-non-space",pee=LYe(m_,{rejected:t=>`Unexpected "${t}"`}),NYe={url:"https://stylelint.io/user-guide/rules/selector-descendant-combinator-no-non-space",fixable:!0},y_=(t,e,r)=>(n,i)=>{IYe(i,m_,{actual:t})&&n.walkRules(o=>{if(!TYe(o))return;let a=!1,u=o.raws.selector?o.raws.selector.raw:o.selector;if(u.includes("/*"))return;let l=MYe(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}FYe({result:i,ruleName:m_,message:pee.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=pee;y_.meta=NYe;hee.exports=y_});var vee=m((VMt,bee)=>{"use strict";var jYe=Ie(),mee=qt(),yee=U(),$Ye=xe(),BYe=j(),WYe=N(),{isRegExp:zYe,isString:UYe,isBoolean:HYe}=re(),cd="selector-disallowed-list",MP=BYe(cd,{rejected:t=>`Unexpected selector "${t}"`}),VYe={url:"https://stylelint.io/user-guide/rules/selector-disallowed-list"},fd=(t,e)=>(r,n)=>{if(!WYe(n,cd,{actual:t,possible:[UYe,zYe]},{actual:e,possible:{ignore:["inside-block"],splitList:[HYe]},optional:!0}))return;let s=$Ye(e,"ignore","inside-block"),o=e&&e.splitList;r.walkRules(a=>{if(jYe(a)){if(s){let{parent:u}=a;if(u&&u.type!=="root")return}if(o)a.selectors.forEach(u=>{mee(u,t)&&yee({result:n,ruleName:cd,message:MP.rejected(u),node:a,word:u})});else{let{selector:u,raws:l}=a;if(mee(u,t)){let c=l.selector&&l.selector.raw||u;yee({result:n,ruleName:cd,message:MP.rejected(u),node:a,word:c})}}}})};fd.primaryOptionArray=!0;fd.ruleName=cd;fd.messages=MP;fd.meta=VYe;bee.exports=fd});var See=m((GMt,xee)=>{"use strict";var GYe=Ie(),KYe=Ge(),YYe=U(),QYe=j(),JYe=N(),{isRegExp:XYe,isString:wee}=re(),b_="selector-id-pattern",_ee=QYe(b_,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),ZYe={url:"https://stylelint.io/user-guide/rules/selector-id-pattern"},v_=t=>(e,r)=>{if(!JYe(r,b_,{actual:t,possible:[XYe,wee]}))return;let i=wee(t)?new RegExp(t):t;e.walkRules(s=>{GYe(s)&&KYe(s.selector,r,s,o=>{o.walkIds(a=>{if(i.test(a.value))return;let u=String(a);YYe({result:r,ruleName:b_,message:_ee.expected,messageArgs:[u,t],node:s,word:u})})})})};v_.ruleName=b_;v_.messages=_ee;v_.meta=ZYe;xee.exports=v_});var Cee=m((KMt,Eee)=>{"use strict";var eQe=Ie(),tQe=U(),rQe=j(),nQe=Lr(),iQe=N(),sQe=$e(),w_="selector-list-comma-newline-after",kee=rQe(w_,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),oQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-newline-after",fixable:!0},__=(t,e,r)=>{let n=sQe("newline",t,kee);return(i,s)=>{iQe(s,w_,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&i.walkRules(a=>{if(!eQe(a))return;let u=a.raws.selector?a.raws.selector.raw:a.selector,l=[];if(nQe({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}tQe({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=kee;__.meta=oQe;Eee.exports=__});var x_=m((YMt,Dee)=>{"use strict";var aQe=Ie(),uQe=U(),lQe=Lr();Dee.exports=function(e){e.root.walkRules(n=>{if(!aQe(n))return;let i=n.raws.selector?n.raws.selector.raw:n.selector;lQe({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)||uQe({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var Ree=m((QMt,qee)=>{"use strict";var cQe=j(),fQe=x_(),dQe=N(),pQe=$e(),S_="selector-list-comma-newline-before",Oee=cQe(S_,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),hQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-newline-before",fixable:!0},k_=(t,e,r)=>{let n=pQe("newline",t,Oee);return(i,s)=>{if(!dQe(s,S_,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;let a;if(fQe({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=Oee;k_.meta=hQe;qee.exports=k_});var Tee=m((JMt,Pee)=>{"use strict";var gQe=j(),mQe=x_(),yQe=N(),bQe=$e(),E_="selector-list-comma-space-after",Aee=gQe(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'}),vQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-space-after",fixable:!0},C_=(t,e,r)=>{let n=bQe("space",t,Aee);return(i,s)=>{if(!yQe(s,E_,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(mQe({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=Aee;C_.meta=vQe;Pee.exports=C_});var Lee=m((XMt,Fee)=>{"use strict";var wQe=j(),_Qe=x_(),xQe=N(),SQe=$e(),D_="selector-list-comma-space-before",Mee=wQe(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'}),kQe={url:"https://stylelint.io/user-guide/rules/selector-list-comma-space-before",fixable:!0},O_=(t,e,r)=>{let n=SQe("space",t,Mee);return(i,s)=>{if(!xQe(s,D_,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(_Qe({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=Mee;O_.meta=kQe;Fee.exports=O_});var ea=m((ZMt,Iee)=>{"use strict";var{aNPlusBOfSNotationPseudoClasses:EQe,logicalCombinationsPseudoClasses:CQe}=nn();Iee.exports=function(e){if(e.type==="pseudo"){let r=e.value.toLowerCase().replace(/:+/,"");return CQe.has(r)||EQe.has(r)}return!1}});var cs=m((eFt,Nee)=>{"use strict";Nee.exports=function(e){return Number.isInteger(e)&&typeof e=="number"&&e>=0}});var Bee=m((tFt,$ee)=>{"use strict";var DQe=ea(),OQe=cs(),qQe=Ie(),RQe=xe(),AQe=Ge(),PQe=U(),TQe=rn(),MQe=j(),FQe=N(),{isRegExp:LQe,isString:IQe}=re(),q_="selector-max-attribute",jee=MQe(q_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} attribute ${e===1?"selector":"selectors"}`}),NQe={url:"https://stylelint.io/user-guide/rules/selector-max-attribute"},R_=(t,e)=>(r,n)=>{if(!FQe(n,q_,{actual:t,possible:OQe},{actual:e,possible:{ignoreAttributes:[IQe,LQe]},optional:!0}))return;function s(o,a){let u=o.reduce((l,c)=>((c.type==="selector"||DQe(c))&&s(c,a),c.type!=="attribute"||RQe(e,"ignoreAttributes",c.attribute)||(l+=1),l),0);if(o.type!=="root"&&o.type!=="pseudo"&&u>t){let l=o.toString();PQe({ruleName:q_,result:n,node:a,message:jee.expected(l,t),word:l})}}r.walkRules(o=>{if(qQe(o))for(let a of o.selectors)for(let u of TQe(a,o))AQe(u,n,o,l=>s(l,o))})};R_.ruleName=q_;R_.messages=jee;R_.meta=NQe;$ee.exports=R_});var Uee=m((rFt,zee)=>{"use strict";var jQe=ea(),$Qe=cs(),BQe=Ie(),WQe=Ge(),zQe=U(),UQe=rn(),HQe=j(),VQe=N(),A_="selector-max-class",Wee=HQe(A_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"class":"classes"}`}),GQe={url:"https://stylelint.io/user-guide/rules/selector-max-class"},P_=t=>(e,r)=>{if(!VQe(r,A_,{actual:t,possible:$Qe}))return;function i(s,o){let a=s.reduce((u,l)=>((l.type==="selector"||jQe(l))&&i(l,o),l.type==="class"&&(u+=1),u),0);if(s.type!=="root"&&s.type!=="pseudo"&&a>t){let u=s.toString();zQe({ruleName:A_,result:r,node:o,message:Wee.expected(u,t),word:u})}}e.walkRules(s=>{if(BQe(s))for(let o of s.selectors)for(let a of UQe(o,s))WQe(a,r,s,u=>i(u,s))})};P_.ruleName=A_;P_.messages=Wee;P_.meta=GQe;zee.exports=P_});var Gee=m((nFt,Vee)=>{"use strict";var KQe=cs(),YQe=Ie(),QQe=Ge(),JQe=U(),XQe=rn(),ZQe=j(),eJe=N(),T_="selector-max-combinators",Hee=ZQe(T_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} ${e===1?"combinator":"combinators"}`}),tJe={url:"https://stylelint.io/user-guide/rules/selector-max-combinators"},M_=t=>(e,r)=>{if(!eJe(r,T_,{actual:t,possible:KQe}))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();JQe({ruleName:T_,result:r,node:o,message:Hee.expected(u,t),word:u})}}e.walkRules(s=>{if(YQe(s))for(let o of s.selectors)for(let a of XQe(o,s))QQe(a,r,s,u=>i(u,s))})};M_.ruleName=T_;M_.messages=Hee;M_.meta=tJe;Vee.exports=M_});var Qee=m((iFt,Yee)=>{"use strict";var rJe=ea(),nJe=cs(),iJe=Ie(),sJe=Ge(),oJe=U(),aJe=rn(),uJe=j(),lJe=N(),F_="selector-max-compound-selectors",Kee=uJe(F_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} compound ${e===1?"selector":"selectors"}`}),cJe={url:"https://stylelint.io/user-guide/rules/selector-max-compound-selectors"},L_=t=>(e,r)=>{if(!lJe(r,F_,{actual:t,possible:nJe}))return;function i(s,o){let a=1;if(s.each(u=>{(u.type==="selector"||rJe(u))&&i(u,o),u.type==="combinator"&&a++}),s.type!=="root"&&s.type!=="pseudo"&&a>t){let u=s.toString();oJe({ruleName:F_,result:r,node:o,message:Kee.expected(u,t),word:u})}}e.walkRules(s=>{if(iJe(s))for(let o of s.selectors)for(let a of aJe(o,s))sJe(a,r,s,u=>i(u,s))})};L_.ruleName=F_;L_.messages=Kee;L_.meta=cJe;Yee.exports=L_});var Zee=m((sFt,Xee)=>{"use strict";var fJe=U(),dJe=j(),pJe=N(),{isNumber:hJe}=re(),I_="selector-max-empty-lines",Jee=dJe(I_,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),gJe={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(!pJe(s,I_,{actual:t,possible:hJe}))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))&&fJe({message:Jee.expected(t),node:f,index:0,result:s,ruleName:I_})})}};N_.ruleName=I_;N_.messages=Jee;N_.meta=gJe;Xee.exports=N_});var rte=m((oFt,tte)=>{"use strict";var mJe=ea(),yJe=cs(),bJe=Ie(),vJe=xe(),wJe=Ge(),_Je=U(),xJe=rn(),SJe=j(),kJe=N(),{isRegExp:EJe,isString:CJe}=re(),j_="selector-max-id",ete=SJe(j_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} ID ${e===1?"selector":"selectors"}`}),DJe={url:"https://stylelint.io/user-guide/rules/selector-max-id"},$_=(t,e)=>(r,n)=>{if(!kJe(n,j_,{actual:t,possible:yJe},{actual:e,possible:{ignoreContextFunctionalPseudoClasses:[CJe,EJe]},optional:!0}))return;function s(a,u){let l=a.reduce((c,f)=>((f.type==="selector"||mJe(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();_Je({ruleName:j_,result:n,node:u,message:ete.expected(c,t),word:c})}}function o(a){return a.type==="pseudo"&&vJe(e,"ignoreContextFunctionalPseudoClasses",a.value)}r.walkRules(a=>{if(bJe(a))for(let u of a.selectors)for(let l of xJe(u,a))wJe(l,n,a,c=>s(c,a))})};$_.ruleName=j_;$_.messages=ete;$_.meta=DJe;tte.exports=$_});var ste=m((aFt,ite)=>{"use strict";var OJe=ea(),qJe=cs(),RJe=Ie(),{levelOneAndTwoPseudoElements:AJe}=nn(),PJe=Ge(),TJe=U(),MJe=rn(),FJe=j(),LJe=N(),B_="selector-max-pseudo-class",nte=FJe(B_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} pseudo-${e===1?"class":"classes"}`}),IJe={url:"https://stylelint.io/user-guide/rules/selector-max-pseudo-class"},W_=t=>(e,r)=>{if(!LJe(r,B_,{actual:t,possible:qJe}))return;function i(s,o){if(s.reduce((u,l)=>((l.type==="selector"||OJe(l))&&i(l,o),l.type==="pseudo"&&(l.value.includes("::")||AJe.has(l.value.toLowerCase().slice(1)))||l.type==="pseudo"&&(u+=1),u),0)>t){let u=s.toString();TJe({ruleName:B_,result:r,node:o,message:nte.expected(u,t),word:u})}}e.walkRules(s=>{if(RJe(s))for(let o of s.selectors)for(let a of MJe(o,s))PJe(a,r,s,u=>{i(u,s)})})};W_.ruleName=B_;W_.messages=nte;W_.meta=IJe;ite.exports=W_});var dte=m((uFt,fte)=>{"use strict";var NJe=rn(),{selectorSpecificity:FP,compare:ote}=gP(),jJe=Ie(),$Je=Hr(),{aNPlusBOfSNotationPseudoClasses:BJe,aNPlusBNotationPseudoClasses:WJe,linguisticPseudoClasses:zJe}=nn(),ate=xe(),UJe=Ge(),HJe=U(),VJe=j(),GJe=N(),{isRegExp:KJe,isString:ute,assertNumber:LP}=re(),z_="selector-max-specificity",cte=VJe(z_,{expected:(t,e)=>`Expected "${t}" to have a specificity no more than "${e}"`}),YJe={url:"https://stylelint.io/user-guide/rules/selector-max-specificity"},ta=()=>({a:0,b:0,c:0}),lte=t=>{let e=ta();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(!GJe(n,z_,{actual:t,possible:[h=>ute(h)&&/^\d+,\d+,\d+$/.test(h)]},{actual:e,possible:{ignoreSelectors:[ute,KJe]},optional:!0}))return;let s=h=>ate(e,"ignoreSelectors",h.toString())?ta():FP(h),o=h=>h.reduce((y,b)=>{let g=l(b);return ote(g,y)>0?g:y},ta()),a=h=>{let y=h.value.toLowerCase();if(y===":where")return ta();let b;if(ate(e,"ignoreSelectors",y))b=ta();else{if(BJe.has(y.replace(/^:/,"")))return FP(h);b=FP(h.clone({nodes:[]}))}return lte([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 WJe.has(b)||zJe.has(b)}return!1},l=h=>{if(u(h))return ta();switch(h.type){case"attribute":case"class":case"id":case"tag":return s(h);case"pseudo":return a(h);case"selector":return lte(h.map(y=>l(y)));default:return ta()}},[c,f,d]=t.split(",").map(h=>Number.parseFloat(h));LP(c),LP(f),LP(d);let p={a:c,b:f,c:d};r.walkRules(h=>{if(jJe(h))for(let y of h.selectors)for(let b of NJe(y,h))$Je(b)&&UJe(b,n,h,g=>{ote(o(g),p)>0&&HJe({ruleName:z_,result:n,node:h,message:cte.expected(b,t),word:y})})})};U_.ruleName=z_;U_.messages=cte;U_.meta=YJe;fte.exports=U_});var dd=m((lFt,pte)=>{"use strict";var{aNPlusBNotationPseudoClasses:QJe,aNPlusBOfSNotationPseudoClasses:JJe,linguisticPseudoClasses:XJe,shadowTreePseudoElements:ZJe}=nn();pte.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"&&(QJe.has(s)||JJe.has(s)||XJe.has(s)||ZJe.has(s)))return!1}return!(e.prev()&&e.prev().type==="nesting"||e.value.startsWith("%")||e.value.startsWith("/")&&e.value.endsWith("/"))}});var yte=m((cFt,mte)=>{"use strict";var eXe=ea(),tXe=ad(),rXe=cs(),nXe=wP(),iXe=Ie(),sXe=Hr(),oXe=dd(),pd=xe(),aXe=Ge(),uXe=U(),lXe=rn(),cXe=j(),fXe=N(),{isRegExp:dXe,isString:hte}=re(),H_="selector-max-type",gte=cXe(H_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} type ${e===1?"selector":"selectors"}`}),pXe={url:"https://stylelint.io/user-guide/rules/selector-max-type"},V_=(t,e)=>(r,n)=>{if(!fXe(n,H_,{actual:t,possible:rXe},{actual:e,possible:{ignore:["descendant","child","compounded","next-sibling"],ignoreTypes:[hte,dXe]},optional:!0}))return;let s=pd(e,"ignore","descendant"),o=pd(e,"ignore","child"),a=pd(e,"ignore","compounded"),u=pd(e,"ignore","next-sibling");function l(c,f){let d=c.reduce((p,h)=>((h.type==="selector"||eXe(h))&&l(h,f),pd(e,"ignoreTypes",h.value)||s&&hXe(h)||o&&gXe(h)||a&&mXe(h)||u&&yXe(h)||h.type==="tag"&&!oXe(h)?p:h.type==="tag"?p+1:p),0);if(c.type!=="root"&&c.type!=="pseudo"&&d>t){let p=c.toString();uXe({ruleName:H_,result:n,node:f,message:gte.expected(p,t),word:p})}}r.walkRules(c=>{let f=c.selectors;if(iXe(c)&&!f.some(d=>tXe(d)))for(let d of c.selectors)for(let p of lXe(d,c))sXe(p)&&aXe(p,n,c,h=>l(h,c))})};function hXe(t){if(!t.parent)return!1;let e=t.parent.nodes.indexOf(t);return t.parent.nodes.slice(0,e).some(r=>bXe(r))}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){return t.prev()&&!hd(t.prev())?!0:t.next()&&!hd(t.next())}function yXe(t){return t.prev()&&wXe(t.prev())}function hd(t){return t?t.type==="combinator":!1}function bXe(t){return t?hd(t)&&hte(t.value)&&nXe(t.value):!1}function vXe(t){return t?hd(t)&&t.value===">":!1}function wXe(t){return hd(t)&&t.value==="+"}V_.ruleName=H_;V_.messages=gte;V_.meta=pXe;mte.exports=V_});var wte=m((fFt,vte)=>{"use strict";var _Xe=cs(),xXe=Ie(),SXe=Ge(),kXe=U(),EXe=rn(),CXe=j(),DXe=Hs(),OXe=N(),qXe=xe(),{isString:RXe}=re(),G_="selector-max-universal",bte=CXe(G_,{expected:(t,e)=>`Expected "${t}" to have no more than ${e} universal ${e===1?"selector":"selectors"}`}),AXe={url:"https://stylelint.io/user-guide/rules/selector-max-universal"},K_=(t,e)=>(r,n)=>{if(!OXe(n,G_,{actual:t,possible:_Xe},{actual:e,possible:{ignoreAfterCombinators:[RXe]},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"&&(qXe(e,"ignoreAfterCombinators",d)||(l+=1)),l},0);if(o.type!=="root"&&o.type!=="pseudo"&&u>t){let l=o.toString();kXe({ruleName:G_,result:n,node:a,message:bte.expected(l,t),word:l})}}r.walkRules(o=>{if(!xXe(o))return;let a=[];DXe().astSync(o.selector).walk(u=>{u.type==="selector"&&a.push(String(u).trim())});for(let u of a)for(let l of EXe(u,o))SXe(l,n,o,c=>s(c,o))})};K_.ruleName=G_;K_.messages=bte;K_.meta=AXe;vte.exports=K_});var kte=m((dFt,Ste)=>{"use strict";var PXe=Ie(),TXe=U(),MXe=j(),FXe=N(),{isRegExp:LXe,isString:_te}=re(),Y_="selector-nested-pattern",xte=MXe(Y_,{expected:(t,e)=>`Expected "${t}" to match pattern "${e}"`}),IXe={url:"https://stylelint.io/user-guide/rules/selector-nested-pattern"},Q_=t=>(e,r)=>{if(!FXe(r,Y_,{actual:t,possible:[LXe,_te]}))return;let i=_te(t)?new RegExp(t):t;e.walkRules(s=>{if(s.parent&&s.parent.type!=="rule"||!PXe(s))return;let o=s.selector;i.test(o)||TXe({result:r,ruleName:Y_,message:xte.expected,messageArgs:[o,t],node:s,word:o})})};Q_.ruleName=Y_;Q_.messages=xte;Q_.meta=IXe;Ste.exports=Q_});var Dte=m((pFt,Cte)=>{"use strict";var NXe=rn(),jXe=bP(),$Xe=Ie(),BXe=Hr(),WXe=dd(),IP=xe(),zXe=Ge(),UXe=U(),HXe=j(),VXe=N(),J_="selector-no-qualifying-type",Ete=HXe(J_,{rejected:t=>`Unexpected qualifying type selector "${t}"`}),GXe={url:"https://stylelint.io/user-guide/rules/selector-no-qualifying-type"},KXe=["#",".","["];function YXe(t){return KXe.some(e=>t.includes(e))}function QXe(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(!VXe(n,J_,{actual:t,possible:[!0]},{actual:e,possible:{ignore:["attribute","class","id"]},optional:!0}))return;let s=IP(e,"ignore","id"),o=IP(e,"ignore","class"),a=IP(e,"ignore","attribute");r.walkRules(u=>{if(!$Xe(u)||jXe(u)||!YXe(u.selector))return;function l(f){f.walkTags(d=>{if(!WXe(d))return;let p=d.parent;if(p&&p.nodes.length===1)return;let h=QXe(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 NXe(u.selector,u))BXe(f)&&zXe(f,n,u,l);function c(f){UXe({ruleName:J_,result:n,node:u,message:Ete.rejected(f),word:f})}})};X_.ruleName=J_;X_.messages=Ete;X_.meta=GXe;Cte.exports=X_});var Ate=m((hFt,Rte)=>{"use strict";var Ote=ku(),JXe=Ie(),XXe=xe(),ZXe=Ge(),eZe=U(),tZe=j(),rZe=N(),{isString:nZe,isRegExp:iZe}=re(),Z_="selector-no-vendor-prefix",qte=tZe(Z_,{rejected:t=>`Unexpected vendor-prefix "${t}"`}),sZe={url:"https://stylelint.io/user-guide/rules/selector-no-vendor-prefix",fixable:!0},ex=(t,e,r)=>(n,i)=>{rZe(i,Z_,{actual:t},{actual:e,possible:{ignoreSelectors:[nZe,iZe]},optional:!0})&&n.walkRules(o=>{if(!JXe(o))return;let a=o.selector;ZXe(a,i,o,u=>{u.walkPseudos(l=>{let{value:c}=l;if(Ote.selector(c)&&!XXe(e,"ignoreSelectors",c)){if(r.fix){o.selector=Ote.unprefix(a);return}eZe({result:i,ruleName:Z_,message:qte.rejected(c),node:o,word:c})}})})})};ex.ruleName=Z_;ex.messages=qte;ex.meta=sZe;Rte.exports=ex});var Lte=m((gFt,Fte)=>{"use strict";var oZe=Ie(),aZe=Hr(),uZe=Ge(),lZe=U(),cZe=j(),fZe=N(),{isPseudoClass:Pte,isAttribute:dZe,isClassName:pZe,isUniversal:hZe,isIdentifier:gZe,isTag:mZe}=Hs(),{assert:ra}=re(),tx="selector-not-notation",Tte=cZe(tx,{expected:t=>`Expected ${t} :not() pseudo-class notation`}),yZe={url:"https://stylelint.io/user-guide/rules/selector-not-notation",fixable:!0},Mte=t=>Pte(t)||dZe(t)||pZe(t)||hZe(t)||gZe(t)||mZe(t),rx=t=>Pte(t)&&t.value!==void 0&&t.value.toLowerCase()===":not",bZe=t=>{if(t.length>1)return!1;ra(t[0],"list is never empty");let[e,r]=t[0].nodes;return e?r?!1:Mte(e)&&!rx(e):!0},nx=(t,e,r)=>(n,i)=>{fZe(i,tx,{actual:t,possible:["simple","complex"]})&&n.walkRules(o=>{if(!oZe(o))return;let a=o.selector;if(!a.includes(":not(")||!aZe(a))return;let u=uZe(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 wZe(f)}else{let f=c.nodes;if(bZe(f))return;if(r.fix&&f.length>1&&f[1]&&(f[1].nodes.length===0||f.every(({nodes:p})=>p.length===1)))return vZe(c)}ra(c.source&&c.source.end),lZe({message:Tte.expected(t),node:o,index:c.sourceIndex,endIndex:c.source.end.column,result:i,ruleName:tx})}})});r.fix&&u&&(o.selector=u)})};function vZe(t){let e=t.nodes.filter(({nodes:n})=>n[0]&&Mte(n[0])).map(n=>(ra(n.nodes[0]),n.nodes[0].rawSpaceBefore="",n.nodes[0].rawSpaceAfter="",n)),r=e.shift();ra(r),ra(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 wZe(t){let e=s=>{for(let o of s)ra(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(ra(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=Tte;nx.meta=yZe;Fte.exports=nx});var jte=m((mFt,Nte)=>{"use strict";var _Ze=Ie(),xZe=qt(),SZe=Ge(),kZe=U(),EZe=j(),CZe=N(),DZe=rt(),{isRegExp:OZe,isString:qZe}=re(),ix="selector-pseudo-class-allowed-list",Ite=EZe(ix,{rejected:t=>`Unexpected pseudo-class "${t}"`}),RZe={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-allowed-list"},gd=t=>(e,r)=>{CZe(r,ix,{actual:t,possible:[qZe,OZe]})&&e.walkRules(i=>{if(!_Ze(i))return;let s=i.selector;s.includes(":")&&SZe(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.slice(0,2)==="::")return;let l=u.slice(1);xZe(DZe.unprefixed(l),t)||kZe({word:u,message:Ite.rejected(u),node:i,result:r,ruleName:ix})})})})};gd.primaryOptionArray=!0;gd.ruleName=ix;gd.messages=Ite;gd.meta=RZe;Nte.exports=gd});var Wte=m((yFt,Bte)=>{"use strict";var AZe=Ie(),PZe=Hr(),{levelOneAndTwoPseudoElements:TZe}=nn(),MZe=Ge(),FZe=U(),LZe=j(),IZe=N(),sx="selector-pseudo-class-case",$te=LZe(sx,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),NZe={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-case",fixable:!0},ox=(t,e,r)=>(n,i)=>{IZe(i,sx,{actual:t,possible:["lower","upper"]})&&n.walkRules(o=>{if(!AZe(o)||!o.selector.includes(":"))return;let u=MZe(o.raws.selector?o.raws.selector.raw:o.selector,i,o,l=>{l.walkPseudos(c=>{let f=c.value;if(!PZe(f)||f.includes("::")||TZe.has(f.toLowerCase().slice(1)))return;let d=t==="lower"?f.toLowerCase():f.toUpperCase();if(f!==d){if(r.fix){c.value=d;return}FZe({message:$te.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=$te;ox.meta=NZe;Bte.exports=ox});var Hte=m((bFt,Ute)=>{"use strict";var jZe=Ie(),$Ze=qt(),BZe=Ge(),WZe=U(),zZe=j(),UZe=N(),HZe=rt(),{isRegExp:VZe,isString:GZe}=re(),ax="selector-pseudo-class-disallowed-list",zte=zZe(ax,{rejected:t=>`Unexpected pseudo-class "${t}"`}),KZe={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-disallowed-list"},md=t=>(e,r)=>{UZe(r,ax,{actual:t,possible:[GZe,VZe]})&&e.walkRules(i=>{if(!jZe(i))return;let s=i.selector;s.includes(":")&&BZe(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.slice(0,2)==="::")return;let l=u.slice(1);$Ze(HZe.unprefixed(l),t)&&WZe({word:u,message:zte.rejected(u),node:i,result:r,ruleName:ax})})})})};md.primaryOptionArray=!0;md.ruleName=ax;md.messages=zte;md.meta=KZe;Ute.exports=md});var Gte=m((vFt,Vte)=>{"use strict";Vte.exports=function(e){return e.startsWith(":--")}});var Jte=m((wFt,Qte)=>{"use strict";var YZe=et(),QZe=Gte(),JZe=Fr(),XZe=Ie(),ZZe=Hr(),{atRulePagePseudoClasses:eet,pseudoClasses:tet,pseudoElements:ret,webkitScrollbarPseudoClasses:net,webkitScrollbarPseudoElements:iet}=nn(),set=xe(),oet=Ge(),aet=U(),uet=j(),cet=N(),fet=rt(),{isString:det,isRegExp:pet}=re(),{isAtRule:Kte}=Qe(),ux="selector-pseudo-class-no-unknown",Yte=uet(ux,{rejected:t=>`Unexpected unknown pseudo-class selector "${t}"`}),het={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-no-unknown"},lx=(t,e)=>(r,n)=>{if(!cet(n,ux,{actual:t},{actual:e,possible:{ignorePseudoClasses:[det,pet]},optional:!0}))return;function s(o,a){oet(o,n,a,u=>{u.walkPseudos(l=>{let c=l.value;if(!ZZe(c)||QZe(c)||c.slice(0,2)==="::"||set(e,"ignorePseudoClasses",l.value.slice(1)))return;let f=null,d=c.slice(1).toLowerCase();if(Kte(a)&&a.name==="page"){if(eet.has(d))return;f=YZe(a)+l.sourceIndex}else{if(fet.prefix(d)||tet.has(d)||ret.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(iet.has(h)&&net.has(d))return}f=l.sourceIndex}aet({message:Yte.rejected(c),node:a,index:f,ruleName:ux,result:n,word:c})})})}r.walk(o=>{let a=null;if(o.type==="rule"){if(!XZe(o))return;a=o.selector}else if(Kte(o)&&o.name==="page"&&o.params){if(!JZe(o))return;a=o.params}a&&a.includes(":")&&s(a,o)})};lx.ruleName=ux;lx.messages=Yte;lx.meta=het;Qte.exports=lx});var Zte=m((_Ft,Xte)=>{"use strict";var get=Ie(),met=Ge(),yet=U(),bet=j(),vet=N(),cx="selector-pseudo-class-parentheses-space-inside",yd=bet(cx,{expectedOpening:'Expected single space after "("',rejectedOpening:'Unexpected whitespace after "("',expectedClosing:'Expected single space before ")"',rejectedClosing:'Unexpected whitespace before ")"'}),wet={url:"https://stylelint.io/user-guide/rules/selector-pseudo-class-parentheses-space-inside",fixable:!0},fx=(t,e,r)=>(n,i)=>{vet(i,cx,{actual:t,possible:["always","never"]})&&n.walkRules(o=>{if(!get(o)||!o.selector.includes("("))return;let a=!1,u=o.raws.selector?o.raws.selector.raw:o.selector,l=met(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,NP(d,"")):c(yd.rejectedOpening,y)),!h&&t==="always"&&(r.fix?(a=!0,NP(d," ")):c(yd.expectedOpening,y));let b=p.endsWith(" "),g=y+p.length-1;b&&t==="never"&&(r.fix?(a=!0,jP(d,"")):c(yd.rejectedClosing,g)),!b&&t==="always"&&(r.fix?(a=!0,jP(d," ")):c(yd.expectedClosing,g))})});a&&l&&(o.raws.selector?o.raws.selector.raw=l:o.selector=l);function c(f,d){yet({message:f,index:d,result:i,ruleName:cx,node:o})}})};function NP(t,e){let r=t.first;r.type==="selector"?NP(r,e):r.spaces.before=e}function jP(t,e){let r=t.last;r.type==="selector"?jP(r,e):r.spaces.after=e}fx.ruleName=cx;fx.messages=yd;fx.meta=wet;Xte.exports=fx});var rre=m((xFt,tre)=>{"use strict";var _et=Ie(),xet=qt(),ket=Ge(),Eet=U(),Cet=j(),Det=N(),Oet=rt(),{isRegExp:qet,isString:Ret}=re(),dx="selector-pseudo-element-allowed-list",ere=Cet(dx,{rejected:t=>`Unexpected pseudo-element "${t}"`}),Aet={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-allowed-list"},bd=t=>(e,r)=>{Det(r,dx,{actual:t,possible:[Ret,qet]})&&e.walkRules(i=>{if(!_et(i))return;let s=i.selector;s.includes("::")&&ket(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.charAt(1)!==":")return;let l=u.slice(2);xet(Oet.unprefixed(l),t)||Eet({index:a.sourceIndex,message:ere.rejected(u),node:i,word:u,result:r,ruleName:dx})})})})};bd.primaryOptionArray=!0;bd.ruleName=dx;bd.messages=ere;bd.meta=Aet;tre.exports=bd});var sre=m((SFt,ire)=>{"use strict";var Pet=Ie(),Tet=Hr(),{levelOneAndTwoPseudoElements:Met}=nn(),Fet=U(),Let=j(),Iet=YA(),Net=N(),px="selector-pseudo-element-case",nre=Let(px,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),jet={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-case",fixable:!0},hx=(t,e,r)=>(n,i)=>{Net(i,px,{actual:t,possible:["lower","upper"]})&&n.walkRules(o=>{!Pet(o)||!o.selector.includes(":")||Iet(i,o,u=>{u.walkPseudos(l=>{let c=l.value;if(!Tet(c)||!c.includes("::")&&!Met.has(c.toLowerCase().slice(1)))return;let f=t==="lower"?c.toLowerCase():c.toUpperCase();if(c!==f){if(r.fix){l.value=f;return}Fet({message:nre.expected(c,f),node:o,index:l.sourceIndex,ruleName:px,result:i})}})})})};hx.ruleName=px;hx.messages=nre;hx.meta=jet;ire.exports=hx});var ure=m((kFt,are)=>{"use strict";var $et=Ie(),{levelOneAndTwoPseudoElements:Bet}=nn(),Wet=Ge(),zet=U(),Uet=j(),Het=N(),gx="selector-pseudo-element-colon-notation",ore=Uet(gx,{expected:t=>`Expected ${t} colon pseudo-element notation`}),Vet={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-colon-notation",fixable:!0},mx=(t,e,r)=>(n,i)=>{if(!Het(i,gx,{actual:t,possible:["single","double"]}))return;let o="";t==="single"?o=":":t==="double"&&(o="::"),n.walkRules(a=>{if(!$et(a))return;let u=a.selector;if(!u.includes(":"))return;let l=Wet(u,i,a,c=>{c.walkPseudos(f=>{let d=f.value.replace(/:/g,"");if(!Bet.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}zet({message:ore.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=ore;mx.meta=Vet;are.exports=mx});var fre=m((EFt,cre)=>{"use strict";var Get=Ie(),Ket=qt(),Yet=Ge(),Qet=U(),Jet=j(),Xet=N(),Zet=rt(),{isRegExp:ett,isString:ttt}=re(),yx="selector-pseudo-element-disallowed-list",lre=Jet(yx,{rejected:t=>`Unexpected pseudo-element "${t}"`}),rtt={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-disallowed-list"},vd=t=>(e,r)=>{Xet(r,yx,{actual:t,possible:[ttt,ett]})&&e.walkRules(i=>{if(!Get(i))return;let s=i.selector;s.includes("::")&&Yet(s,r,i,o=>{o.walkPseudos(a=>{let u=a.value;if(u.charAt(1)!==":")return;let l=u.slice(2);Ket(Zet.unprefixed(l),t)&&Qet({index:a.sourceIndex,message:lre.rejected(u),node:i,word:u,result:r,ruleName:yx})})})})};vd.primaryOptionArray=!0;vd.ruleName=yx;vd.messages=lre;vd.meta=rtt;cre.exports=vd});var hre=m((CFt,pre)=>{"use strict";var ntt=Ie(),itt=Hr(),{pseudoElements:stt}=nn(),ott=xe(),att=Ge(),utt=U(),ltt=j(),ctt=N(),ftt=rt(),{isString:dtt,isRegExp:ptt}=re(),bx="selector-pseudo-element-no-unknown",dre=ltt(bx,{rejected:t=>`Unexpected unknown pseudo-element selector "${t}"`}),htt={url:"https://stylelint.io/user-guide/rules/selector-pseudo-element-no-unknown"},vx=(t,e)=>(r,n)=>{ctt(n,bx,{actual:t},{actual:e,possible:{ignorePseudoElements:[dtt,ptt]},optional:!0})&&r.walkRules(s=>{if(!ntt(s))return;let o=s.selector;o.includes(":")&&att(o,n,s,a=>{a.walkPseudos(u=>{let l=u.value;if(!itt(l)||l.slice(0,2)!=="::"||ott(e,"ignorePseudoElements",u.value.slice(2)))return;let c=l.slice(2);ftt.prefix(c)||stt.has(c.toLowerCase())||utt({message:dre.rejected(l),node:s,index:u.sourceIndex,ruleName:bx,result:n,word:l})})})})};vx.ruleName=bx;vx.messages=dre;vx.meta=htt;pre.exports=vx});var yre=m((DFt,mre)=>{"use strict";var gtt=ad(),mtt=Ie(),ytt=dd(),btt=xe(),vtt=Ge(),wtt=U(),_tt=j(),xtt=N(),{isString:Stt,isRegExp:ktt}=re(),{mixedCaseSvgTypeSelectors:Ett}=nn(),wx="selector-type-case",gre=_tt(wx,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),Ctt={url:"https://stylelint.io/user-guide/rules/selector-type-case",fixable:!0},_x=(t,e,r)=>(n,i)=>{xtt(i,wx,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreTypes:[Stt,ktt]},optional:!0})&&n.walkRules(o=>{let a=o.raws.selector&&o.raws.selector.raw,u=a||o.selector,l=o.selectors;mtt(o)&&(l.some(c=>gtt(c))||vtt(u,i,o,c=>{c.walkTags(f=>{if(!ytt(f)||Ett.has(f.value)||btt(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}wtt({message:gre.expected(p,h),node:o,index:d,ruleName:wx,result:i})}})}))})};_x.ruleName=wx;_x.messages=gre;_x.meta=Ctt;mre.exports=_x});var $P=m((OFt,Dtt)=>{Dtt.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 bre=m((qFt,Ott)=>{Ott.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 BP=m((RFt,vre)=>{vre.exports=bre()});var _re=m((AFt,wre)=>{"use strict";var{htmlTypeSelectors:qtt}=nn(),Rtt=$P(),Att=BP();wre.exports=function(e){if(!/^[a-z]/.test(e)||!e.includes("-"))return!1;let r=e.toLowerCase();return!(r!==e||Att.includes(r)||qtt.has(r)||Rtt.includes(r))}});var Cre=m((PFt,Ere)=>{"use strict";var Ptt=_re(),Ttt=ad(),Mtt=Ie(),Ftt=dd(),{htmlTypeSelectors:Ltt}=nn(),Itt=$P(),xx=xe(),Ntt=Ge(),jtt=U(),$tt=j(),Btt=BP(),Wtt=N(),{isRegExp:xre,isString:Sre}=re(),Sx="selector-type-no-unknown",kre=$tt(Sx,{rejected:t=>`Unexpected unknown type selector "${t}"`}),ztt={url:"https://stylelint.io/user-guide/rules/selector-type-no-unknown"},kx=(t,e)=>(r,n)=>{Wtt(n,Sx,{actual:t},{actual:e,possible:{ignore:["custom-elements","default-namespace"],ignoreNamespaces:[Sre,xre],ignoreTypes:[Sre,xre]},optional:!0})&&r.walkRules(s=>{let o=s.selector,a=s.selectors;Mtt(s)&&(a.some(u=>Ttt(u))||Ntt(o,n,s,u=>{u.walkTags(l=>{if(!Ftt(l)||xx(e,"ignore","custom-elements")&&Ptt(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();Ltt.has(f)||Btt.includes(c)||Itt.includes(f)||jtt({message:kre.rejected(c),node:s,index:l.sourceIndex,ruleName:Sx,result:n,word:c})})}))})};kx.ruleName=Sx;kx.messages=kre;kx.meta=ztt;Ere.exports=kx});var Rre=m((TFt,qre)=>{"use strict";var Utt=si(),Htt=oi(),Vtt=U(),Gtt=j(),Ktt=N(),Dre=Ae(),Ytt=rt(),Ex="shorthand-property-no-redundant-values",Ore=Gtt(Ex,{rejected:(t,e)=>`Expected "${t}" to be "${e}"`}),Qtt={url:"https://stylelint.io/user-guide/rules/shorthand-property-no-redundant-values",fixable:!0},Jtt=new Set(["margin","padding","border-color","border-radius","border-style","border-width","grid-gap"]),Xtt=["+","*","/","(",")","$","@","--","var("];function Ztt(t){return Xtt.some(e=>t.includes(e))}function ert(t){return Jtt.has(t)}function trt(t,e,r,n){let i=t.toLowerCase(),s=e.toLowerCase(),o=r&&r.toLowerCase(),a=n&&n.toLowerCase();return rrt(i,s,o,a)?[t]:nrt(i,s,o,a)?[t,e]:irt(i,s,o,a)?[t,e,r]:[t,e,r,n]}function rrt(t,e,r,n){return t!==e?!1:t===r&&(r===n||!n)||!r&&!n}function nrt(t,e,r,n){return t===r&&e===n||t===r&&!n&&t!==e}function irt(t,e,r,n){return e===n}var Cx=(t,e,r)=>(n,i)=>{Ktt(i,Ex,{actual:t})&&n.walkDecls(o=>{if(!Utt(o)||!Htt(o.prop))return;let a=o.prop,u=o.value,l=Ytt.unprefixed(a.toLowerCase());if(Ztt(u)||!ert(l))return;let c=[];if(Dre(u).walk(h=>{h.type==="word"&&c.push(Dre.stringify(h))}),c.length<=1||c.length>4)return;let d=trt(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):Vtt({message:Ore.rejected(u,d),node:o,result:i,ruleName:Ex}))})};Cx.ruleName=Ex;Cx.messages=Ore;Cx.meta=Qtt;qre.exports=Cx});var Tre=m((MFt,Pre)=>{"use strict";var srt=et(),ort=Re(),art=Hr(),urt=Ge(),Are=U(),lrt=j(),crt=N(),frt=Ae(),wd="string-no-newline",Dx=/\r?\n/,WP=lrt(wd,{rejected:"Unexpected newline in string"}),drt={url:"https://stylelint.io/user-guide/rules/string-no-newline"},Ox=t=>(e,r)=>{if(!crt(r,wd,{actual:t}))return;e.walk(o=>{switch(o.type){case"atrule":s(o,o.params,srt);break;case"decl":s(o,o.value,ort);break;case"rule":i(o);break}});function i(o){Dx.test(o.selector)&&art(o.selector)&&urt(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;Are({message:WP.rejected,node:o,index:f,endIndex:f+d,result:r,ruleName:wd})})})}function s(o,a,u){Dx.test(a)&&frt(a).walk(l=>{if(l.type!=="string"||!Dx.test(l.value))return;let c=u(o);Are({message:WP.rejected,node:o,index:c+l.sourceIndex,endIndex:c+l.sourceEndIndex,result:r,ruleName:wd})})}};Ox.ruleName=wd;Ox.messages=WP;Ox.meta=drt;Pre.exports=Ox});var jre=m((FFt,Nre)=>{"use strict";var prt=et(),hrt=Re(),grt=Ie(),mrt=Ge(),qx=U(),yrt=j(),brt=N(),vrt=Ae(),{isBoolean:wrt,assertString:Mre}=re(),{isAtRule:Fre}=Qe(),na="string-quotes",_d=yrt(na,{expected:t=>`Expected ${t} quotes`}),_rt={url:"https://stylelint.io/user-guide/rules/string-quotes",fixable:!0},Lre="'",Ire='"',Rx=(t,e,r)=>{let n=t==="single"?Lre:Ire,i=t==="single"?Ire:Lre;return(s,o)=>{if(!brt(o,na,{actual:t,possible:["single","double"]},{actual:e,possible:{avoidEscape:[wrt]},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,prt);break;case"decl":c(f,f.value,hrt);break;case"rule":l(f);break}});function l(f){if(!grt(f)||!f.selector.includes("[")||!f.selector.includes("="))return;let d=[];mrt(f.selector,o,f,p=>{let h=!1;p.walkAttributes(y=>{if(y.quoted){if(y.quoteMark===n&&u){Mre(y.value);let b=y.value.includes(n);if(y.value.includes(i))return;b&&(r.fix?(h=!0,y.quoteMark=i):qx({message:_d.expected(t==="single"?"double":t),node:f,index:y.sourceIndex+y.offsetOf("value"),result:o,ruleName:na}))}if(y.quoteMark===i){if(u){Mre(y.value);let b=y.value.includes(n);if(y.value.includes(i)){r.fix?(h=!0,y.quoteMark=n):qx({message:_d.expected(t),node:f,index:y.sourceIndex+y.offsetOf("value"),result:o,ruleName:na});return}if(b)return}r.fix?(h=!0,y.quoteMark=n):qx({message:_d.expected(t),node:f,index:y.sourceIndex+y.offsetOf("value"),result:o,ruleName:na})}}}),h&&(f.selector=p.toString())});for(let p of d)f.selector=zP(f.selector,p,n)}function c(f,d,p){let h=[];if(d.includes(i)&&!(Fre(f)&&f.name==="charset")){vrt(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:_d.expected(t),node:f,index:p(f)+g,result:o,ruleName:na})}});for(let y of h)Fre(f)?f.params=zP(f.params,y,n):f.value=zP(f.value,y,n)}}}};function zP(t,e,r){return t.substring(0,e)+r+t.substring(e+r.length)}Rx.ruleName=na;Rx.messages=_d;Rx.meta=_rt;Nre.exports=Rx});var Wre=m((LFt,Bre)=>{"use strict";var xrt=Re(),{longhandTimeProperties:Srt,shorthandTimeProperties:krt}=Eu(),Ert=xe(),Crt=U(),Drt=j(),Ort=N(),qrt=Ae(),Rrt=rt(),{isNumber:Art}=re(),Prt=vt(),Trt=ai(),Ax="time-min-milliseconds",$re=Drt(Ax,{expected:t=>`Expected a minimum of ${t} milliseconds`}),Mrt={url:"https://stylelint.io/user-guide/rules/time-min-milliseconds"},Frt=new Set(["animation-delay","transition-delay"]),Px=(t,e)=>(r,n)=>{if(!Ort(n,Ax,{actual:t,possible:Art},{actual:e,possible:{ignore:["delay"]},optional:!0}))return;let s=t,o=Ert(e,"ignore","delay");r.walkDecls(f=>{let d=Rrt.unprefixed(f.prop.toLowerCase()),p=f.value,h=qrt(Prt(f)),y=0;h.walk(b=>{let{value:g,sourceIndex:v}=b,w=Trt(b);Srt.has(d)&&!u(d)&&!l(w)&&c(f,0,p.length),krt.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&&Frt.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=xrt(f)+d,y=h+p;Crt({result:n,ruleName:Ax,message:$re.expected(s),index:h,endIndex:y,node:f})}};Px.ruleName=Ax;Px.messages=$re;Px.meta=Mrt;Bre.exports=Px});var Hre=m((IFt,Ure)=>{"use strict";var zre=U(),Lrt=j(),Irt=N(),xd="unicode-bom",UP=Lrt(xd,{expected:"Expected Unicode BOM",rejected:"Unexpected Unicode BOM"}),Nrt={url:"https://stylelint.io/user-guide/rules/unicode-bom"},Tx=t=>(e,r)=>{if(!Irt(r,xd,{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&&zre({result:r,ruleName:xd,message:UP.expected,node:e,line:1}),t==="never"&&i&&zre({result:r,ruleName:xd,message:UP.rejected,node:e,line:1})};Tx.ruleName=xd;Tx.messages=UP;Tx.meta=Nrt;Ure.exports=Tx});var Qre=m((NFt,Yre)=>{"use strict";var jrt=et(),$rt=Re(),Brt=ai(),Vre=xe(),Wrt=U(),zrt=j(),Urt=qi(),Hrt=N(),Vrt=Ae(),{isRegExp:Gre,isString:HP}=re(),Mx="unit-allowed-list",Kre=zrt(Mx,{rejected:t=>`Unexpected unit "${t}"`}),Grt={url:"https://stylelint.io/user-guide/rules/unit-allowed-list"},Sd=(t,e)=>(r,n)=>{if(!Hrt(n,Mx,{actual:t,possible:[HP]},{optional:!0,actual:e,possible:{ignoreFunctions:[HP,Gre],ignoreProperties:[Urt(HP,Gre)]}}))return;let s=[t].flat();function o(a,u,l){u=u.replace(/\*/g,","),Vrt(u).walk(c=>{if(c.type==="function"){let h=c.value.toLowerCase();if(h==="url"||Vre(e,"ignoreFunctions",h))return!1}let{number:f,unit:d}=Brt(c);if(!d||!f||d&&s.includes(d.toLowerCase())||"prop"in a&&e&&Vre(e.ignoreProperties,d.toLowerCase(),a.prop))return;let p=l(a);Wrt({index:p+c.sourceIndex+f.length,endIndex:p+c.sourceEndIndex,message:Kre.rejected(d),node:a,result:n,ruleName:Mx})})}r.walkAtRules(/^media$/i,a=>o(a,a.params,jrt)),r.walkDecls(a=>o(a,a.value,$rt))};Sd.primaryOptionArray=!0;Sd.ruleName=Mx;Sd.messages=Kre;Sd.meta=Grt;Yre.exports=Sd});var Zre=m((jFt,Xre)=>{"use strict";var Krt=et(),Yrt=Re(),Qrt=ai(),Jrt=U(),Xrt=j(),Zrt=N(),ent=Ae(),Fx="unit-case",Jre=Xrt(Fx,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),tnt={url:"https://stylelint.io/user-guide/rules/unit-case",fixable:!0},Lx=(t,e,r)=>(n,i)=>{if(!Zrt(i,Fx,{actual:t,possible:["lower","upper"]}))return;function o(a,u,l){let c=[];function f(p){let{number:h,unit:y}=Qrt(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:Jre.expected(y,b)}),!0}let d=ent(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)Jrt({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,Krt)}),n.walkDecls(a=>o(a,a.value,Yrt))};Lx.ruleName=Fx;Lx.messages=Jre;Lx.meta=tnt;Xre.exports=Lx});var sne=m(($Ft,ine)=>{"use strict";var rnt=et(),nnt=Re(),int=ai(),snt=Fi().default,ont=xe(),ant=U(),unt=j(),ene=qi(),lnt=N(),tne=Ae(),{isRegExp:rne,isString:VP}=re(),Ix="unit-disallowed-list",nne=unt(Ix,{rejected:t=>`Unexpected unit "${t}"`}),cnt={url:"https://stylelint.io/user-guide/rules/unit-disallowed-list"},fnt=t=>{let e=t.value.toLowerCase(),r=/((?:-?\w*)*)/.exec(e);return r?r[1]:void 0},kd=(t,e)=>(r,n)=>{if(!lnt(n,Ix,{actual:t,possible:[VP]},{optional:!0,actual:e,possible:{ignoreProperties:[ene(VP,rne)],ignoreMediaFeatureNames:[ene(VP,rne)]}}))return;let s=[t].flat();function o(l,c,f,d,p){let{number:h,unit:y}=int(f);!y||!h||y&&!s.includes(y.toLowerCase())||ont(p,y.toLowerCase(),d)||ant({index:c+f.sourceIndex+h.length,endIndex:c+f.sourceEndIndex,message:nne.rejected(y),node:l,result:n,ruleName:Ix})}function a(l,c,f){snt(l.params).walk(/^media-feature$/i,d=>{let p=fnt(d),h=d.parent.value;tne(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,","),tne(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,rnt)),r.walkDecls(l=>u(l,l.value,nnt))};kd.primaryOptionArray=!0;kd.ruleName=Ix;kd.messages=nne;kd.meta=cnt;ine.exports=kd});var fne=m((BFt,cne)=>{"use strict";var dnt=et(),pnt=Re(),hnt=ai(),gnt=Fr(),mnt=si(),{units:ynt}=qb(),bnt=Fi().default,one=xe(),vnt=U(),wnt=j(),_nt=N(),xnt=Ae(),Snt=rt(),{isRegExp:ane,isString:une,assert:GP}=re(),{isAtRule:knt}=Qe(),Nx="unit-no-unknown",lne=wnt(Nx,{rejected:t=>`Unexpected unknown unit "${t}"`}),Ent={url:"https://stylelint.io/user-guide/rules/unit-no-unknown"},jx=(t,e)=>(r,n)=>{if(!_nt(n,Nx,{actual:t},{actual:e,possible:{ignoreUnits:[une,ane],ignoreFunctions:[une,ane]},optional:!0}))return;function s(o,a,u){a=a.replace(/\*/g,",");let l=xnt(a);l.walk(c=>{if(c.type==="function"&&(c.value.toLowerCase()==="url"||one(e,"ignoreFunctions",c.value)))return!1;let{number:f,unit:d}=hnt(c);if(!f||!d||one(e,"ignoreUnits",d)||ynt.has(d.toLowerCase())&&d.toLowerCase()!=="x")return;if(d.toLowerCase()==="x"){if(knt(o)&&o.name==="media"&&o.params.toLowerCase().includes("resolution")){let h=!1;if(bnt(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=>Snt.unprefixed(g.value)==="image-set");GP(h),GP("nodes"in h);let y=h.nodes[h.nodes.length-1];if(GP(y),y.sourceIndex>=c.sourceIndex)return}}}let p=u(o);vnt({index:p+c.sourceIndex+f.length,endIndex:p+c.sourceEndIndex,message:lne.rejected(d),node:o,result:n,ruleName:Nx})})}r.walkAtRules(/^media$/i,o=>{gnt(o)&&s(o,o.params,dnt)}),r.walkDecls(o=>{mnt(o)&&s(o,o.value,pnt)})};jx.ruleName=Nx;jx.messages=lne;jx.meta=Ent;cne.exports=jx});var pne=m((WFt,dne)=>{"use strict";var{counterIncrementKeywords:Cnt}=mn();dne.exports=function(e){let r=e.toLowerCase();return!(Cnt.has(r)||Number.isFinite(Number.parseInt(r,10)))}});var gne=m((zFt,hne)=>{"use strict";var{counterResetKeywords:Dnt}=mn();hne.exports=function(e){let r=e.toLowerCase();return!(Dnt.has(r)||Number.isFinite(Number.parseInt(r,10)))}});var _ne=m((UFt,wne)=>{"use strict";var Ont=Re(),qnt=vt(),Rnt=ai(),Ant=pne(),Pnt=gne(),Tnt=hn(),{animationNameKeywords:mne,animationShorthandKeywords:Mnt,camelCaseKeywords:Fnt,fontFamilyKeywords:yne,fontShorthandKeywords:Lnt,gridAreaKeywords:Int,gridColumnKeywords:Nnt,gridRowKeywords:jnt,listStyleShorthandKeywords:$nt,listStyleTypeKeywords:bne,systemColorsKeywords:Bnt}=mn(),KP=xe(),Wnt=U(),znt=j(),Unt=N(),Hnt=Ae(),{isBoolean:Vnt,isRegExp:YP,isString:QP}=re(),$x="value-keyword-case",vne=znt($x,{expected:(t,e)=>`Expected "${t}" to be "${e}"`}),Gnt={url:"https://stylelint.io/user-guide/rules/value-keyword-case",fixable:!0},Knt=new Set(["+","-","/","*","%"]),Ynt=new Set(["grid-row","grid-row-start","grid-row-end"]),Qnt=new Set(["grid-column","grid-column-start","grid-column-end"]),JP=new Map;for(let t of Fnt)JP.set(t.toLowerCase(),t);var Bx=(t,e,r)=>(n,i)=>{Unt(i,$x,{actual:t,possible:["lower","upper"]},{actual:e,possible:{ignoreProperties:[QP,YP],ignoreKeywords:[QP,YP],ignoreFunctions:[QP,YP],camelCaseSvgKeywords:[Vnt]},optional:!0})&&n.walkDecls(o=>{let a=o.prop,u=o.prop.toLowerCase(),l=o.value,c=Hnt(qnt(o)),f=!1;c.walk(d=>{let p=d.value.toLowerCase();if(Bnt.has(p))return;if(d.type==="function"&&(p==="url"||p==="var"||p==="counter"||p==="counters"||p==="attr")||d.type==="function"&&KP(e,"ignoreFunctions",p))return!1;let h=d.value,{unit:y}=Rnt(d);if(d.type!=="word"||!Tnt(d.value)||l.includes("#")||Knt.has(h)||y||u==="animation"&&!Mnt.has(p)&&!mne.has(p)||u==="animation-name"&&!mne.has(p)||u==="font"&&!Lnt.has(p)&&!yne.has(p)||u==="font-family"&&!yne.has(p)||u==="counter-increment"&&Ant(p)||u==="counter-reset"&&Pnt(p)||Ynt.has(u)&&!jnt.has(p)||Qnt.has(u)&&!Nnt.has(p)||u==="grid-area"&&!Int.has(p)||u==="list-style"&&!$nt.has(p)&&!bne.has(p)||u==="list-style-type"&&!bne.has(p)||KP(e,"ignoreKeywords",h)||KP(e,"ignoreProperties",a))return;let b=h.toLocaleLowerCase(),g=null,v=e&&e.camelCaseSvgKeywords||!1;if(t==="lower"&&JP.has(b)&&v?g=JP.get(b):t==="lower"?g=h.toLowerCase():g=h.toUpperCase(),h!==g){if(r.fix){f=!0,d.value=g;return}Wnt({message:vne.expected(h,g),node:o,index:Ont(o)+d.sourceIndex,result:i,ruleName:$x})}}),r.fix&&f&&(o.value=c.toString())})};Bx.ruleName=$x;Bx.messages=vne;Bx.meta=Gnt;wne.exports=Bx});var Ed=m((HFt,xne)=>{"use strict";var Jnt=si(),Xnt=oi(),Znt=U(),eit=Lr();xne.exports=function(e){e.root.walkDecls(n=>{if(!Jnt(n)||!Xnt(n.prop))return;let i=n.toString();eit({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)||Znt({message:o,node:s,index:i,result:e.result,ruleName:e.checkedRuleName})}})}}});var Cne=m((VFt,Ene)=>{"use strict";var Sne=Re(),tit=vt(),rit=j(),nit=Bt(),iit=N(),sit=Ed(),oit=$e(),Wx="value-list-comma-newline-after",kne=rit(Wx,{expectedAfter:()=>'Expected newline after ","',expectedAfterMultiLine:()=>'Expected newline after "," in a multi-line list',rejectedAfterMultiLine:()=>'Unexpected whitespace after "," in a multi-line list'}),ait={url:"https://stylelint.io/user-guide/rules/value-list-comma-newline-after",fixable:!0},zx=(t,e,r)=>{let n=oit("newline",t,kne);return(i,s)=>{if(!iit(s,Wx,{actual:t,possible:["always","always-multi-line","never-multi-line"]}))return;let a;if(sit({root:i,result:s,locationChecker:n.afterOneOnly,checkedRuleName:Wx,fix:r.fix?(u,l)=>{let c=Sne(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=tit(u),d=c-Sne(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*/,"")),nit(u,p+h)}}};zx.ruleName=Wx;zx.messages=kne;zx.meta=ait;Ene.exports=zx});var qne=m((GFt,One)=>{"use strict";var uit=j(),lit=N(),cit=Ed(),fit=$e(),Ux="value-list-comma-newline-before",Dne=uit(Ux,{expectedBefore:()=>'Expected newline before ","',expectedBeforeMultiLine:()=>'Expected newline before "," in a multi-line list',rejectedBeforeMultiLine:()=>'Unexpected whitespace before "," in a multi-line list'}),dit={url:"https://stylelint.io/user-guide/rules/value-list-comma-newline-before"},Hx=t=>{let e=fit("newline",t,Dne);return(r,n)=>{lit(n,Ux,{actual:t,possible:["always","always-multi-line","never-multi-line"]})&&cit({root:r,result:n,locationChecker:e.beforeAllowingIndentation,checkedRuleName:Ux})}};Hx.ruleName=Ux;Hx.messages=Dne;Hx.meta=dit;One.exports=Hx});var Tne=m((KFt,Pne)=>{"use strict";var Rne=Re(),pit=vt(),hit=j(),git=Bt(),mit=N(),yit=Ed(),bit=$e(),Vx="value-list-comma-space-after",Ane=hit(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'}),vit={url:"https://stylelint.io/user-guide/rules/value-list-comma-space-after",fixable:!0},Gx=(t,e,r)=>{let n=bit("space",t,Ane);return(i,s)=>{if(!mit(s,Vx,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(yit({root:i,result:s,locationChecker:n.after,checkedRuleName:Vx,fix:r.fix?(u,l)=>{let c=Rne(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=pit(u),d=c-Rne(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*/,"")),git(u,p+h)}}};Gx.ruleName=Vx;Gx.messages=Ane;Gx.meta=vit;Pne.exports=Gx});var Ine=m((YFt,Lne)=>{"use strict";var Mne=Re(),wit=vt(),_it=j(),xit=Bt(),Sit=N(),kit=Ed(),Eit=$e(),Kx="value-list-comma-space-before",Fne=_it(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'}),Cit={url:"https://stylelint.io/user-guide/rules/value-list-comma-space-before",fixable:!0},Yx=(t,e,r)=>{let n=Eit("space",t,Fne);return(i,s)=>{if(!Sit(s,Kx,{actual:t,possible:["always","never","always-single-line","never-single-line"]}))return;let a;if(kit({root:i,result:s,locationChecker:n.before,checkedRuleName:Kx,fix:r.fix?(u,l)=>{let c=Mne(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=wit(u),d=c-Mne(u),p=f.slice(0,d),h=f.slice(d);t.startsWith("always")?p=p.replace(/\s*$/," "):t.startsWith("never")&&(p=p.replace(/\s*$/,"")),xit(u,p+h)}}};Yx.ruleName=Kx;Yx.messages=Fne;Yx.meta=Cit;Lne.exports=Yx});var $ne=m((QFt,jne)=>{"use strict";var Dit=vt(),Oit=U(),qit=j(),Rit=Bt(),Ait=N(),{isNumber:Pit}=re(),Qx="value-list-max-empty-lines",Nne=qit(Qx,{expected:t=>`Expected no more than ${t} empty ${t===1?"line":"lines"}`}),Tit={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(!Ait(s,Qx,{actual:t,possible:Pit}))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=Dit(f);if(r.fix){let p=d.replace(new RegExp(u,"gm"),l).replace(new RegExp(a,"gm"),c);Rit(f,p)}else(u.test(d)||a.test(d))&&Oit({message:Nne.expected(t),node:f,index:0,result:s,ruleName:Qx})})}};Jx.ruleName=Qx;Jx.messages=Nne;Jx.meta=Tit;jne.exports=Jx});var Une=m((JFt,zne)=>{"use strict";var Mit=Ae(),Bne=ku(),Fit=si(),Lit=oi(),Iit=xe(),Nit=U(),jit=j(),$it=Bt(),Bit=N(),Wit=rt(),{isString:zit}=re(),Xx="value-no-vendor-prefix",Wne=jit(Xx,{rejected:t=>`Unexpected vendor-prefix "${t}"`}),Uit={url:"https://stylelint.io/user-guide/rules/value-no-vendor-prefix",fixable:!0},Hit=["-webkit-","-moz-","-ms-","-o-"],Vit=t=>{let e=t.toLowerCase();return Hit.some(r=>e.startsWith(r))},Zx=(t,e,r)=>(n,i)=>{Bit(i,Xx,{actual:t},{optional:!0,actual:e,possible:{ignoreValues:[zit]}})&&n.walkDecls(o=>{let{value:a}=o;if(!Fit(o)||!Lit(o.prop)||!a.startsWith("-")||Iit(e,"ignoreValues",Wit.unprefixed(a)))return;let u=Mit(a);u.walk(l=>{if(!Vit(l.value)||!Bne.propertyValue(l.value))return;if(r.fix){l.value=Bne.unprefix(l.value);return}let c=o.prop.length+(o.raws.between||"").length+l.sourceIndex;Nit({message:Wne.rejected(l.value),node:o,index:c,endIndex:c+l.value.length,result:i,ruleName:Xx})}),$it(o,u.toString())})};Zx.ruleName=Xx;Zx.messages=Wne;Zx.meta=Uit;zne.exports=Zx});var Jne=m((XFt,Qne)=>{"use strict";var Git=Bs(),Hne=ir(),Qu=xe(),XP=U(),Kit=j(),Yit=Lr(),Qit=N(),{isAtRule:e1,isDeclaration:Vne,isRoot:Gne,isRule:t1}=Qe(),{isBoolean:Jit,isNumber:Xu,isString:r1,assertString:Xit}=re(),Ju="indentation",n1=Kit(Ju,{expected:t=>`Expected indentation of ${t}`}),Zit={url:"https://stylelint.io/user-guide/rules/indentation",fixable:!0},i1=(t,e={},r)=>(n,i)=>{if(!Qit(i,Ju,{actual:t,possible:[Xu,"tab"]},{actual:e,possible:{baseIndentLevel:[Xu,"auto"],except:["block","value","param"],ignore:["value","param","inside-parens"],indentInsideParens:["twice","once-at-root-twice-in-block"],indentClosingBrace:[Jit]},optional:!0}))return;let o=Xu(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(Gne(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&&(!Yne(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=Kne(g.raws.before,C)):XP({message:n1.expected(f(v)),node:g,result:i,ruleName:Ju}));let R=c?v+1:v,z=a.repeat(R);(t1(g)||e1(g))&&Hne(g)&&_&&_.includes(`
144
+ `)&&_.slice(_.lastIndexOf(`
145
+ `)+1)!==z&&(r.fix?g.raws.after=Kne(g.raws.after,z):XP({message:n1.expected(f(R)),node:g,index:g.toString().length-1,result:i,ruleName:Ju})),Vne(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(Gne(g.parent))return v+est(g.parent,l,t);let w;return w=d(g.parent,v+1),Qu(e,"except","block")&&(t1(g)||e1(g))&&Hne(g)&&w--,w}function p(g,v){if(!g.value.includes(`
146
+ `)||Qu(e,"ignore","value"))return;let w=g.toString(),_=Qu(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(Qu(e,"ignore","param"))return;let w=Qu(e,"except","param")||g.name==="nest"||g.name==="at-root"?v:v+1;b(Git(g).trim(),w,g)}function b(g,v,w){if(!g.includes(`
147
+ `))return;let _=[],x=0,C=Qu(e,"ignore","inside-parens");if(Yit({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 ue=M.startIndex;switch(g[M.startIndex-1]==="\r"&&ue--,/\([ \t]*$/.test(g.slice(0,ue))&&(x+=1),/\{[ \t]*$/.test(g.slice(0,ue))&&(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 te=$[1]||"",K=a.repeat(z>0?z:0);te!==K&&(r.fix?_.unshift({expectedIndentation:K,currentIndentation:te,startIndex:M.startIndex}):XP({message:n1.expected(f(z)),node:w,index:M.startIndex+te.length+1,result:i,ruleName:Ju}))}),_.length){if(t1(w))for(let M of _)w.selector=Cd(w.selector,M.currentIndentation,M.expectedIndentation,M.startIndex);if(Vne(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=Cd(P,R.currentIndentation,R.expectedIndentation,R.startIndex-M.length):w.value=Cd(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=Cd(P,z.currentIndentation,z.expectedIndentation,z.startIndex-M.length-1):w.params=Cd(R,z.currentIndentation,z.expectedIndentation,z.startIndex-M.length-P.length-1)}}}};function est(t,e,r){let n=Yne(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(Xu(s)&&Number.isSafeInteger(s))return s;let o=rst(t,e,()=>tst(n,r));return i.baseIndentLevel=o,o}function Yne(t){let e=t.document;if(e)return e;let r=t.root();return r&&r.document}function tst(t,e){if(!t.source)throw new Error("The document node must have a source");let r=t.source,n=r.indentSize;if(Xu(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 rst(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(!Xu(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];Xit(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 Kne(t,e){return r1(t)?t.replace(/\n[ \t]*(?=\S|$)/g,`
150
+ ${e}`):t}function Cd(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=Ju;i1.messages=n1;i1.meta=Zit;Qne.exports=i1});var Dd=m((ZFt,Xne)=>{"use strict";var B=d2(),nst={"alpha-value-notation":B(()=>w8())(),"annotation-no-unknown":B(()=>S8())(),"at-rule-allowed-list":B(()=>O8())(),"at-rule-disallowed-list":B(()=>A8())(),"at-rule-empty-line-before":B(()=>t9())(),"at-rule-name-case":B(()=>i9())(),"at-rule-name-newline-after":B(()=>p9())(),"at-rule-semicolon-space-before":B(()=>y9())(),"at-rule-name-space-after":B(()=>w9())(),"at-rule-no-unknown":B(()=>C9())(),"at-rule-no-vendor-prefix":B(()=>P9())(),"at-rule-property-required-list":B(()=>I9())(),"at-rule-semicolon-newline-after":B(()=>B9())(),"block-closing-brace-empty-line-before":B(()=>Q9())(),"block-closing-brace-newline-after":B(()=>Z9())(),"block-closing-brace-newline-before":B(()=>t4())(),"block-closing-brace-space-after":B(()=>i4())(),"block-closing-brace-space-before":B(()=>a4())(),"block-no-empty":B(()=>m4())(),"block-opening-brace-newline-after":B(()=>v4())(),"block-opening-brace-newline-before":B(()=>S4())(),"block-opening-brace-space-after":B(()=>C4())(),"block-opening-brace-space-before":B(()=>T4())(),"color-function-notation":B(()=>B4())(),"color-hex-alpha":B(()=>U4())(),"color-hex-case":B(()=>G4())(),"color-hex-length":B(()=>Q4())(),"color-named":B(()=>M7())(),"color-no-hex":B(()=>I7())(),"color-no-invalid-hex":B(()=>U7())(),"comment-empty-line-before":B(()=>G7())(),"comment-no-empty":B(()=>Q7())(),"comment-pattern":B(()=>eW())(),"comment-whitespace-inside":B(()=>nW())(),"comment-word-disallowed-list":B(()=>lW())(),"custom-media-pattern":B(()=>hW())(),"custom-property-empty-line-before":B(()=>SW())(),"custom-property-no-missing-var-function":B(()=>CW())(),"custom-property-pattern":B(()=>AW())(),"declaration-bang-space-after":B(()=>LW())(),"declaration-bang-space-before":B(()=>jW())(),"declaration-block-no-duplicate-custom-properties":B(()=>zW())(),"declaration-block-no-duplicate-properties":B(()=>VW())(),"declaration-block-no-redundant-longhand-properties":B(()=>JW())(),"declaration-block-no-shorthand-property-overrides":B(()=>tz())(),"declaration-block-semicolon-newline-after":B(()=>iz())(),"declaration-block-semicolon-newline-before":B(()=>az())(),"declaration-block-semicolon-space-after":B(()=>cz())(),"declaration-block-semicolon-space-before":B(()=>hz())(),"declaration-block-single-line-max-declarations":B(()=>yz())(),"declaration-block-trailing-semicolon":B(()=>vz())(),"declaration-colon-newline-after":B(()=>Sz())(),"declaration-colon-space-after":B(()=>Dz())(),"declaration-colon-space-before":B(()=>Rz())(),"declaration-empty-line-before":B(()=>Iz())(),"declaration-no-important":B(()=>Bz())(),"declaration-property-max-values":B(()=>Vz())(),"declaration-property-unit-allowed-list":B(()=>Xz())(),"declaration-property-unit-disallowed-list":B(()=>tU())(),"declaration-property-value-allowed-list":B(()=>iU())(),"declaration-property-value-disallowed-list":B(()=>aU())(),"font-family-no-missing-generic-family-keyword":B(()=>SV())(),"font-family-name-quotes":B(()=>EV())(),"font-family-no-duplicate-names":B(()=>OV())(),"font-weight-notation":B(()=>AV())(),"function-allowed-list":B(()=>MV())(),"function-calc-no-unspaced-operator":B(()=>jV())(),"function-comma-newline-after":B(()=>HV())(),"function-comma-newline-before":B(()=>KV())(),"function-comma-space-after":B(()=>JV())(),"function-comma-space-before":B(()=>eG())(),"function-disallowed-list":B(()=>nG())(),"function-linear-gradient-no-nonstandard-direction":B(()=>pG())(),"function-max-empty-lines":B(()=>yG())(),"function-name-case":B(()=>_G())(),"function-no-unknown":B(()=>qG())(),"function-parentheses-newline-inside":B(()=>MG())(),"function-parentheses-space-inside":B(()=>IG())(),"function-url-no-scheme-relative":B(()=>BG())(),"function-url-quotes":B(()=>zG())(),"function-url-scheme-allowed-list":B(()=>GG())(),"function-url-scheme-disallowed-list":B(()=>QG())(),"function-whitespace-after":B(()=>eK())(),"hue-degree-notation":B(()=>aK())(),"import-notation":B(()=>dK())(),"keyframe-block-no-duplicate-selectors":B(()=>mK())(),"keyframe-declaration-no-important":B(()=>vK())(),"keyframe-selector-notation":B(()=>RY())(),"keyframes-name-pattern":B(()=>LY())(),"length-zero-no-unit":B(()=>WY())(),linebreaks:B(()=>VY())(),"max-empty-lines":B(()=>YY())(),"max-line-length":B(()=>XY())(),"max-nesting-depth":B(()=>oQ())(),"media-feature-colon-space-after":B(()=>cQ())(),"media-feature-colon-space-before":B(()=>pQ())(),"media-feature-name-allowed-list":B(()=>EQ())(),"media-feature-name-case":B(()=>OQ())(),"media-feature-name-disallowed-list":B(()=>AQ())(),"media-feature-name-no-unknown":B(()=>LQ())(),"media-feature-name-no-vendor-prefix":B(()=>$Q())(),"media-feature-name-value-allowed-list":B(()=>zQ())(),"media-feature-parentheses-space-inside":B(()=>VQ())(),"media-feature-range-notation":B(()=>YQ())(),"media-feature-range-operator-space-after":B(()=>ZQ())(),"media-feature-range-operator-space-before":B(()=>rJ())(),"media-query-list-comma-newline-after":B(()=>aJ())(),"media-query-list-comma-newline-before":B(()=>cJ())(),"media-query-list-comma-space-after":B(()=>pJ())(),"media-query-list-comma-space-before":B(()=>mJ())(),"named-grid-areas-no-invalid":B(()=>wJ())(),"no-descending-specificity":B(()=>BJ())(),"no-duplicate-at-import-rules":B(()=>HJ())(),"no-duplicate-selectors":B(()=>QJ())(),"no-empty-source":B(()=>ZJ())(),"no-empty-first-line":B(()=>rX())(),"no-eol-whitespace":B(()=>uX())(),"no-extra-semicolons":B(()=>dX())(),"no-invalid-double-slash-comments":B(()=>gX())(),"no-invalid-position-at-import-rule":B(()=>vX())(),"no-irregular-whitespace":B(()=>xX())(),"no-missing-end-of-source-newline":B(()=>EX())(),"no-unknown-animations":B(()=>RX())(),"number-leading-zero":B(()=>LX())(),"number-max-precision":B(()=>WX())(),"number-no-trailing-zeros":B(()=>GX())(),"property-allowed-list":B(()=>QX())(),"property-case":B(()=>ZX())(),"property-disallowed-list":B(()=>rZ())(),"property-no-unknown":B(()=>uZ())(),"property-no-vendor-prefix":B(()=>dZ())(),"rule-empty-line-before":B(()=>bZ())(),"rule-selector-property-disallowed-list":B(()=>xZ())(),"selector-attribute-brackets-space-inside":B(()=>EZ())(),"selector-attribute-name-disallowed-list":B(()=>OZ())(),"selector-attribute-operator-allowed-list":B(()=>AZ())(),"selector-attribute-operator-disallowed-list":B(()=>MZ())(),"selector-attribute-operator-space-after":B(()=>NZ())(),"selector-attribute-operator-space-before":B(()=>BZ())(),"selector-attribute-quotes":B(()=>HZ())(),"selector-class-pattern":B(()=>XZ())(),"selector-combinator-allowed-list":B(()=>ree())(),"selector-combinator-disallowed-list":B(()=>see())(),"selector-combinator-space-after":B(()=>lee())(),"selector-combinator-space-before":B(()=>dee())(),"selector-descendant-combinator-no-non-space":B(()=>gee())(),"selector-disallowed-list":B(()=>vee())(),"selector-id-pattern":B(()=>See())(),"selector-list-comma-newline-after":B(()=>Cee())(),"selector-list-comma-newline-before":B(()=>Ree())(),"selector-list-comma-space-after":B(()=>Tee())(),"selector-list-comma-space-before":B(()=>Lee())(),"selector-max-attribute":B(()=>Bee())(),"selector-max-class":B(()=>Uee())(),"selector-max-combinators":B(()=>Gee())(),"selector-max-compound-selectors":B(()=>Qee())(),"selector-max-empty-lines":B(()=>Zee())(),"selector-max-id":B(()=>rte())(),"selector-max-pseudo-class":B(()=>ste())(),"selector-max-specificity":B(()=>dte())(),"selector-max-type":B(()=>yte())(),"selector-max-universal":B(()=>wte())(),"selector-nested-pattern":B(()=>kte())(),"selector-no-qualifying-type":B(()=>Dte())(),"selector-no-vendor-prefix":B(()=>Ate())(),"selector-not-notation":B(()=>Lte())(),"selector-pseudo-class-allowed-list":B(()=>jte())(),"selector-pseudo-class-case":B(()=>Wte())(),"selector-pseudo-class-disallowed-list":B(()=>Hte())(),"selector-pseudo-class-no-unknown":B(()=>Jte())(),"selector-pseudo-class-parentheses-space-inside":B(()=>Zte())(),"selector-pseudo-element-allowed-list":B(()=>rre())(),"selector-pseudo-element-case":B(()=>sre())(),"selector-pseudo-element-colon-notation":B(()=>ure())(),"selector-pseudo-element-disallowed-list":B(()=>fre())(),"selector-pseudo-element-no-unknown":B(()=>hre())(),"selector-type-case":B(()=>yre())(),"selector-type-no-unknown":B(()=>Cre())(),"shorthand-property-no-redundant-values":B(()=>Rre())(),"string-no-newline":B(()=>Tre())(),"string-quotes":B(()=>jre())(),"time-min-milliseconds":B(()=>Wre())(),"unicode-bom":B(()=>Hre())(),"unit-allowed-list":B(()=>Qre())(),"unit-case":B(()=>Zre())(),"unit-disallowed-list":B(()=>sne())(),"unit-no-unknown":B(()=>fne())(),"value-keyword-case":B(()=>_ne())(),"value-list-comma-newline-after":B(()=>Cne())(),"value-list-comma-newline-before":B(()=>qne())(),"value-list-comma-space-after":B(()=>Tne())(),"value-list-comma-space-before":B(()=>Ine())(),"value-list-max-empty-lines":B(()=>$ne())(),"value-no-vendor-prefix":B(()=>Une())(),indentation:B(()=>Jne())()};Xne.exports=nst});var s1=m((eLt,Zne)=>{var ist=Dd();Zne.exports=function(e,r){return ist[e]||r&&r.pluginFunctions&&r.pluginFunctions[e]}});var tie=m((tLt,eie)=>{"use strict";var sst=l2(),ost=qc(),{isPlainObject:ast}=re(),ust=s1();function lst(t,e){if(!ast(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=ust(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=sst(n,a);if(!u)return;let l=new ost;a(u[0],u[1],o)(i,l);for(let c of l.warnings())e(c)}eie.exports=lst});var nie=m((rLt,rie)=>{"use strict";rie.exports=function(e,r){return{ruleName:e,rule:r}}});var aie=m((nLt,ZP)=>{"use strict";var iie=H("path"),sie=H("module"),cst=H("fs"),oie=(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=cst.realpathSync(t)}catch(s){if(s.code==="ENOENT")t=iie.resolve(t);else{if(r)return null;throw s}}let n=iie.join(t,"noop.js"),i=()=>sie._resolveFilename(e,{id:n,filename:n,paths:sie._nodeModulePaths(t)});if(r)try{return i()}catch{return null}return i()};ZP.exports=(t,e)=>oie(t,e);ZP.exports.silent=(t,e)=>oie(t,e,!0)});var lie=m((iLt,eT)=>{"use strict";var uie=()=>{let t=Error.prepareStackTrace;Error.prepareStackTrace=(r,n)=>n;let e=new Error().stack.slice(1);return Error.prepareStackTrace=t,e};eT.exports=uie;eT.exports.default=uie});var fie=m((sLt,cie)=>{"use strict";var fst=lie();cie.exports=t=>{let e=fst();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 pie=m((oLt,die)=>{"use strict";var dst=H("path"),pst=aie(),hst=fie();die.exports=t=>{if(typeof t!="string")throw new TypeError("Expected a string");let e=hst(__filename),r=e?dst.dirname(e):__dirname,n=pst(r,t),i=H.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 H.cache[n];let s=H.cache[e];return s===void 0?H(n):s.require(n)}});var gie=m((uLt,hie)=>{"use strict";hie.exports=function(e){return e?e instanceof Array||Array.isArray(e)||e.length>=0&&e.splice instanceof Function:!1}});var yie=m((lLt,mie)=>{"use strict";var gst=H("util"),mst=gie(),tT=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,mst(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)):gst.inherits(n,Error),n};tT.append=function(t,e){return{message:function(r,n){return r=r||e,r&&(n[0]+=" "+t.replace("%s",r.toString())),n}}};tT.line=function(t,e){return{line:function(r){return r=r||e,r?t.replace("%s",r.toString()):null}}};mie.exports=tT});var wie=m((cLt,vie)=>{"use strict";var yst=t=>{let e=t.charCodeAt(0).toString(16).toUpperCase();return"0x"+(e.length%2?"0":"")+e},bst=(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])} (${yst(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=bst(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}},vst=Symbol.for("indent"),wst=Symbol.for("newline"),_st=/^\s*[{\[]((?:\r?\n)+)([\s\t]*)/,xst=/^(?:\{\}|\[\])((?:\r?\n)+)?$/,a1=(t,e,r)=>{let n=bie(t);r=r||20;try{let[,i=`
153
+ `,s=" "]=n.match(xst)||n.match(_st)||[,"",""],o=JSON.parse(n,e);return o&&typeof o=="object"&&(o[wst]=i,o[vst]=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)}},bie=t=>String(t).replace(/^\uFEFF/,"");vie.exports=a1;a1.JSONParseError=o1;a1.noExceptions=(t,e)=>{try{return JSON.parse(bie(t),e)}catch{}}});var Sie=m(Od=>{"use strict";Od.__esModule=!0;Od.LinesAndColumns=void 0;var u1=`
154
+ `,_ie="\r",xie=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 _ie:n+=_ie.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}();Od.LinesAndColumns=xie;Od.default=xie});var kie=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 qie=m(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.isIdentifierChar=Oie;qd.isIdentifierName=Cst;qd.isIdentifierStart=Die;var nT="\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",Eie="\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",Sst=new RegExp("["+nT+"]"),kst=new RegExp("["+nT+Eie+"]");nT=Eie=null;var Cie=[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],Est=[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 rT(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 Die(t){return t<65?t===36:t<=90?!0:t<97?t===95:t<=122?!0:t<=65535?t>=170&&Sst.test(String.fromCharCode(t)):rT(t,Cie)}function Oie(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&&kst.test(String.fromCharCode(t)):rT(t,Cie)||rT(t,Est)}function Cst(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,!Die(n))return!1}else if(!Oie(n))return!1}return!e}});var Tie=m(ia=>{"use strict";Object.defineProperty(ia,"__esModule",{value:!0});ia.isKeyword=Ast;ia.isReservedWord=Rie;ia.isStrictBindOnlyReservedWord=Pie;ia.isStrictBindReservedWord=Rst;ia.isStrictReservedWord=Aie;var iT={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"]},Dst=new Set(iT.keyword),Ost=new Set(iT.strict),qst=new Set(iT.strictBind);function Rie(t,e){return e&&t==="await"||t==="enum"}function Aie(t,e){return Rie(t,e)||Ost.has(t)}function Pie(t){return qst.has(t)}function Rst(t,e){return Aie(t,e)||Pie(t)}function Ast(t){return Dst.has(t)}});var Mie=m(Li=>{"use strict";Object.defineProperty(Li,"__esModule",{value:!0});Object.defineProperty(Li,"isIdentifierChar",{enumerable:!0,get:function(){return sT.isIdentifierChar}});Object.defineProperty(Li,"isIdentifierName",{enumerable:!0,get:function(){return sT.isIdentifierName}});Object.defineProperty(Li,"isIdentifierStart",{enumerable:!0,get:function(){return sT.isIdentifierStart}});Object.defineProperty(Li,"isKeyword",{enumerable:!0,get:function(){return Rd.isKeyword}});Object.defineProperty(Li,"isReservedWord",{enumerable:!0,get:function(){return Rd.isReservedWord}});Object.defineProperty(Li,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return Rd.isStrictBindOnlyReservedWord}});Object.defineProperty(Li,"isStrictBindReservedWord",{enumerable:!0,get:function(){return Rd.isStrictBindReservedWord}});Object.defineProperty(Li,"isStrictReservedWord",{enumerable:!0,get:function(){return Rd.isStrictReservedWord}});var sT=qie(),Rd=Tie()});var Lie=m((mLt,Fie)=>{"use strict";var Pst=/[|\\{}()[\]^$+*?.]/g;Fie.exports=function(t){if(typeof t!="string")throw new TypeError("Expected a string");return t.replace(Pst,"\\$&")}});var Nie=m((yLt,Iie)=>{"use strict";Iie.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 oT=m((bLt,Wie)=>{var sa=Nie(),Bie={};for(c1 in sa)sa.hasOwnProperty(c1)&&(Bie[sa[c1]]=c1);var c1,ke=Wie.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(Vr in ke)if(ke.hasOwnProperty(Vr)){if(!("channels"in ke[Vr]))throw new Error("missing channels property: "+Vr);if(!("labels"in ke[Vr]))throw new Error("missing channel labels property: "+Vr);if(ke[Vr].labels.length!==ke[Vr].channels)throw new Error("channel and label counts mismatch: "+Vr);jie=ke[Vr].channels,$ie=ke[Vr].labels,delete ke[Vr].channels,delete ke[Vr].labels,Object.defineProperty(ke[Vr],"channels",{value:jie}),Object.defineProperty(ke[Vr],"labels",{value:$ie})}var jie,$ie,Vr;ke.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]};ke.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]};ke.rgb.hwb=function(t){var 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){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 Tst(t,e){return Math.pow(t[0]-e[0],2)+Math.pow(t[1]-e[1],2)+Math.pow(t[2]-e[2],2)}ke.rgb.keyword=function(t){var e=Bie[t];if(e)return e;var r=1/0,n;for(var i in sa)if(sa.hasOwnProperty(i)){var s=sa[i],o=Tst(t,s);o<r&&(r=o,n=i)}return n};ke.keyword.rgb=function(t){return sa[t]};ke.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]};ke.rgb.lab=function(t){var e=ke.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]};ke.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};ke.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]};ke.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]}};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.rgb.ansi16=function(t){var e=t[0],r=t[1],n=t[2],i=1 in arguments?arguments[1]:ke.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};ke.hsv.ansi16=function(t){return ke.rgb.ansi16(ke.hsv.rgb(t),t[2])};ke.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};ke.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]};ke.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]};ke.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};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};ke.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]};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=ke.gray.hsv=function(t){return[0,0,t[0]]};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){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};ke.rgb.gray=function(t){var e=(t[0]+t[1]+t[2])/3;return[e/255*100]}});var Uie=m((vLt,zie)=>{var f1=oT();function Mst(){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 Fst(t){var e=Mst(),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 Lst(t,e){return function(r){return e(t(r))}}function Ist(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=Lst(f1[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}zie.exports=function(t){for(var e=Fst(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]=Ist(o,e))}return r}});var Vie=m((wLt,Hie)=>{var aT=oT(),Nst=Uie(),Zu={},jst=Object.keys(aT);function $st(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 Bst(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}jst.forEach(function(t){Zu[t]={},Object.defineProperty(Zu[t],"channels",{value:aT[t].channels}),Object.defineProperty(Zu[t],"labels",{value:aT[t].labels});var e=Nst(t),r=Object.keys(e);r.forEach(function(n){var i=e[n];Zu[t][n]=Bst(i),Zu[t][n].raw=$st(i)})});Hie.exports=Zu});var Kie=m((_Lt,Gie)=>{"use strict";var el=Vie(),d1=(t,e)=>function(){return`\x1B[${t.apply(el,arguments)+e}m`},p1=(t,e)=>function(){let r=t.apply(el,arguments);return`\x1B[${38+e};5;${r}m`},h1=(t,e)=>function(){let r=t.apply(el,arguments);return`\x1B[${38+e};2;${r[0]};${r[1]};${r[2]}m`};function Wst(){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(el)){if(typeof el[i]!="object")continue;let s=el[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(Gie,"exports",{enumerable:!0,get:Wst})});var Qie=m((xLt,Yie)=>{"use strict";Yie.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 Xie=m((SLt,Jie)=>{"use strict";var zst=H("os"),ci=Qie(),Nr=process.env,tl;ci("no-color")||ci("no-colors")||ci("color=false")?tl=!1:(ci("color")||ci("colors")||ci("color=true")||ci("color=always"))&&(tl=!0);"FORCE_COLOR"in Nr&&(tl=Nr.FORCE_COLOR.length===0||parseInt(Nr.FORCE_COLOR,10)!==0);function Ust(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function Hst(t){if(tl===!1)return 0;if(ci("color=16m")||ci("color=full")||ci("color=truecolor"))return 3;if(ci("color=256"))return 2;if(t&&!t.isTTY&&tl!==!0)return 0;let e=tl?1:0;if(process.platform==="win32"){let r=zst.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 Nr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(r=>r in Nr)||Nr.CI_NAME==="codeship"?1:e;if("TEAMCITY_VERSION"in Nr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(Nr.TEAMCITY_VERSION)?1:0;if(Nr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in Nr){let r=parseInt((Nr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(Nr.TERM_PROGRAM){case"iTerm.app":return r>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(Nr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(Nr.TERM)||"COLORTERM"in Nr?1:(Nr.TERM==="dumb",e)}function uT(t){let e=Hst(t);return Ust(e)}Jie.exports={supportsColor:uT,stdout:uT(process.stdout),stderr:uT(process.stderr)}});var nse=m((kLt,rse)=>{"use strict";var Vst=/(?:\\(u[a-f\d]{4}|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,Zie=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,Gst=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,Kst=/\\(u[a-f\d]{4}|x[a-f\d]{2}|.)|([^\\])/gi,Yst=new Map([["n",`
155
+ `],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function tse(t){return t[0]==="u"&&t.length===5||t[0]==="x"&&t.length===3?String.fromCharCode(parseInt(t.slice(1),16)):Yst.get(t)||t}function Qst(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(Gst))r.push(i[2].replace(Kst,(o,a,u)=>a?tse(a):u));else throw new Error(`Invalid Chalk template style argument: ${s} (in style '${t}')`);return r}function Jst(t){Zie.lastIndex=0;let e=[],r;for(;(r=Zie.exec(t))!==null;){let n=r[1];if(r[2]){let i=Qst(n,r[2]);e.push([n].concat(i))}else e.push([n])}return e}function ese(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}rse.exports=(t,e)=>{let r=[],n=[],i=[];if(e.replace(Vst,(s,o,a,u,l,c)=>{if(o)i.push(tse(o));else if(u){let f=i.join("");i=[],n.push(r.length===0?f:ese(t,r)(f)),r.push({inverse:a,styles:Jst(u)})}else if(l){if(r.length===0)throw new Error("Found extraneous } in Chalk template literal");n.push(ese(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 use=m((ELt,Pd)=>{"use strict";var cT=Lie(),Jt=Kie(),lT=Xie().stdout,Xst=nse(),sse=process.platform==="win32"&&!(process.env.TERM||"").toLowerCase().startsWith("xterm"),ose=["ansi","ansi","ansi256","ansi16m"],ase=new Set(["gray"]),rl=Object.create(null);function ise(t,e){e=e||{};let r=lT?lT.level:0;t.level=e.level===void 0?r:e.level,t.enabled="enabled"in e?e.enabled:t.level>0}function Ad(t){if(!this||!(this instanceof Ad)||this.template){let e={};return ise(e,t),e.template=function(){let r=[].slice.call(arguments);return tot.apply(null,[e.template].concat(r))},Object.setPrototypeOf(e,Ad.prototype),Object.setPrototypeOf(e.template,e),e.template.constructor=Ad,e.template}ise(this,t)}sse&&(Jt.blue.open="\x1B[94m");for(let t of Object.keys(Jt))Jt[t].closeRe=new RegExp(cT(Jt[t].close),"g"),rl[t]={get(){let e=Jt[t];return g1.call(this,this._styles?this._styles.concat(e):[e],this._empty,t)}};rl.visible={get(){return g1.call(this,this._styles||[],!0,"visible")}};Jt.color.closeRe=new RegExp(cT(Jt.color.close),"g");for(let t of Object.keys(Jt.color.ansi))ase.has(t)||(rl[t]={get(){let e=this.level;return function(){let n={open:Jt.color[ose[e]][t].apply(null,arguments),close:Jt.color.close,closeRe:Jt.color.closeRe};return g1.call(this,this._styles?this._styles.concat(n):[n],this._empty,t)}}});Jt.bgColor.closeRe=new RegExp(cT(Jt.bgColor.close),"g");for(let t of Object.keys(Jt.bgColor.ansi)){if(ase.has(t))continue;let e="bg"+t[0].toUpperCase()+t.slice(1);rl[e]={get(){let r=this.level;return function(){let i={open:Jt.bgColor[ose[r]][t].apply(null,arguments),close:Jt.bgColor.close,closeRe:Jt.bgColor.closeRe};return g1.call(this,this._styles?this._styles.concat(i):[i],this._empty,t)}}}}var Zst=Object.defineProperties(()=>{},rl);function g1(t,e,r){let n=function(){return eot.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__=Zst,n}function eot(){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=Jt.dim.open;sse&&this.hasGrey&&(Jt.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 Jt.dim.open=n,r}function tot(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 Xst(t,n.join(""))}Object.defineProperties(Ad.prototype,rl);Pd.exports=Ad();Pd.exports.supportsColor=lT;Pd.exports.default=Pd.exports});var hse=m(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.default=aot;Td.getChalk=pse;Td.shouldHighlight=dse;var lse=kie(),cse=Mie(),fT=use(),rot=new Set(["as","async","from","get","of","set"]);function not(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 iot=/\r\n|[\n\r\u2028\u2029]/,sot=/^[()[\]{}]$/,fse;{let t=/^[a-z][\w-]*$/i,e=function(r,n,i){if(r.type==="name"){if((0,cse.isKeyword)(r.value)||(0,cse.isStrictReservedWord)(r.value,!0)||rot.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"&&sot.test(r.value)?"bracket":r.type==="invalid"&&(r.value==="@"||r.value==="#")?"punctuator":r.type};fse=function*(r){let n;for(;n=lse.default.exec(r);){let i=lse.matchToToken(n);yield{type:e(i,n.index,r),value:i.value}}}}function oot(t,e){let r="";for(let{type:n,value:i}of fse(e)){let s=t[n];s?r+=i.split(iot).map(o=>s(o)).join(`
156
+ `):r+=i}return r}function dse(t){return!!fT.supportsColor||t.forceColor}function pse(t){return t.forceColor?new fT.constructor({enabled:!0,level:1}):fT}function aot(t,e={}){if(t!==""&&dse(e)){let r=pse(e),n=not(r);return oot(n,t)}else return t}});var bse=m(m1=>{"use strict";Object.defineProperty(m1,"__esModule",{value:!0});m1.codeFrameColumns=yse;m1.default=cot;var dT=hse(),gse=!1;function uot(t){return{gutter:t.grey,marker:t.red.bold,message:t.red.bold}}var mse=/\r\n|[\n\r\u2028\u2029]/;function lot(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 yse(t,e,r={}){let n=(r.highlightCode||r.forceColor)&&(0,dT.shouldHighlight)(r),i=(0,dT.getChalk)(r),s=uot(i),o=(y,b)=>n?y(b):b,a=t.split(mse),{start:u,end:l,markerLines:c}=lot(e,a,r),f=e.start&&typeof e.start.column=="number",d=String(l).length,h=(n?(0,dT.default)(t,r):t).split(mse,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 cot(t,e,r,n={}){if(!gse){gse=!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),yse(t,{start:{column:r,line:e}},n)}});var xse=m((OLt,_se)=>{"use strict";var pT=yie(),fot=wie(),{default:dot}=Sie(),{codeFrameColumns:pot}=bse(),vse=pT("JSONError",{fileName:pT.append("in %s"),codeFrame:pT.append(`
160
+
161
+ %s
162
+ `)}),wse=(t,e,r)=>{typeof e=="string"&&(r=e,e=null);try{try{return JSON.parse(t,e)}catch(n){throw fot(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 vse(n);if(r&&(s.fileName=r),i&&i.length>0){let o=new dot(t),a=Number(i[1]),u=o.locationForIndex(a),l=pot(t,{start:{line:u.line+1,column:u.column+1}},{highlightCode:!0});s.codeFrame=l}throw s}};wse.JSONError=vse;_se.exports=wse});var aa=m(sn=>{"use strict";var fs={ANCHOR:"&",COMMENT:"#",TAG:"!",DIRECTIVES_END:"-",DOCUMENT_END:"."},Md={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"},hot="tag:yaml.org,2002:",got={MAP:"tag:yaml.org,2002:map",SEQ:"tag:yaml.org,2002:seq",STR:"tag:yaml.org,2002:str"};function Sse(t){let e=[0],r=t.indexOf(`
163
+ `);for(;r!==-1;)r+=1,e.push(r),r=t.indexOf(`
164
+ `,r);return e}function kse(t){let e,r;return typeof t=="string"?(e=Sse(t),r=t):(Array.isArray(t)&&(t=t[0]),t&&t.context&&(t.lineStarts||(t.lineStarts=Sse(t.context.src)),e=t.lineStarts,r=t.context.src)),{lineStarts:e,src:r}}function hT(t,e){if(typeof t!="number"||t<0)return null;let{lineStarts:r,src:n}=kse(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 mot(t,e){let{lineStarts:r,src:n}=kse(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 yot({start:t,end:e},r,n=80){let i=mot(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 Gs=class{static copy(e){return new Gs(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}},cr=class{static addStringTerminator(e,r,n){if(n[n.length-1]===`
167
+ `)return n;let i=cr.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!==fs.DIRECTIVES_END&&i!==fs.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=cr.endOfIndent(e,n);if(i>n+r)return i;{let s=cr.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:cr.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=cr.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,fs.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,fs.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||cr.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]===fs.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]!==fs.COMMENT)return!0}return!1}get includesTrailingLines(){return!1}get jsonLike(){return[Md.FLOW_MAP,Md.FLOW_SEQ,Md.QUOTE_DOUBLE,Md.QUOTE_SINGLE].indexOf(this.type)!==-1}get rangeAsLinePos(){if(!this.range||!this.context)return;let e=hT(this.range.start,this.context.root);if(!e)return;let r=hT(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,fs.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]===fs.COMMENT){let n=cr.endOfLine(r,e+1),i=new Gs(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 cr.addStringTerminator(e,r.end,i)}},oa=class extends Error{constructor(e,r,n){if(!n||!(r instanceof cr))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 Gs(this.offset,this.offset+1);let r=e&&hT(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&&yot(this.linePos,e);i&&(this.message+=`:
186
+
187
+ ${i}
188
+ `)}delete this.source}},gT=class extends oa{constructor(e,r){super("YAMLReferenceError",e,r)}},Fd=class extends oa{constructor(e,r){super("YAMLSemanticError",e,r)}},mT=class extends oa{constructor(e,r){super("YAMLSyntaxError",e,r)}},yT=class extends oa{constructor(e,r){super("YAMLWarning",e,r)}};function bot(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var nl=class extends cr{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}=cr.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 Fd(this,a)],str:s}}case"@":case"`":{let a=`Plain value cannot start with reserved character ${o}`;return{errors:[new Fd(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
+ `&&!cr.atDocumentBoundary(i,s+1);a=i[s]){let u=cr.endOfBlockIndent(i,r,s+1);if(u===null||i[u]==="#")break;i[u]===`
195
+ `?s=u:(o=nl.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=nl.endOfLine(i,r,n)),this.valueRange=new Gs(r,s),s=cr.endOfWhiteSpace(i,s),s=this.parseComment(s),(!this.hasComment||this.valueRange.isEmpty())&&(s=this.parseBlockValue(s)),s}};sn.Char=fs;sn.Node=cr;sn.PlainValue=nl;sn.Range=Gs;sn.Type=Md;sn.YAMLError=oa;sn.YAMLReferenceError=gT;sn.YAMLSemanticError=Fd;sn.YAMLSyntaxError=mT;sn.YAMLWarning=yT;sn._defineProperty=bot;sn.defaultTagPrefix=hot;sn.defaultTags=got});var Cse=m(Ese=>{"use strict";var G=aa(),ca=class extends G.Node{constructor(){super(G.Type.BLANK_LINE)}get includesTrailingLines(){return!0}parse(e,r){return this.context=e,this.range=new G.Range(r,r+1),r+1}},Ld=class extends G.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===G.Type.SEQ_ITEM&&(this.error=new G.YAMLSemanticError(this,"Sequence items must not have preceding content on the same line"));let a=s?r-o:e.indent,u=G.Node.endOfWhiteSpace(i,r+1),l=i[u],c=l==="#",f=[],d=null;for(;l===`
197
+ `||l==="#";){if(l==="#"){let h=G.Node.endOfLine(i,u+1);f.push(new G.Range(u,h)),u=h}else{s=!0,o=u+1;let h=G.Node.endOfWhiteSpace(i,o);i[h]===`
198
+ `&&f.length===0&&(d=new ca,o=d.parse({src:i},o)),u=G.Node.endOfIndent(i,o)}l=i[u]}if(G.Node.nextNodeIsIndented(l,u-(o+a),this.type!==G.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=G.Node.endOfLine(i,r+1);let p=this.node?this.node.valueRange.end:u;return this.valueRange=new G.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 G.Node.addStringTerminator(e,n.end,s)}},ua=class extends G.Node{constructor(){super(G.Type.COMMENT)}parse(e,r){this.context=e;let n=this.parseComment(r);return this.range=new G.Range(r,n),n}};function bT(t){let e=t;for(;e instanceof Ld;)e=e.node;if(!(e instanceof fa))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===G.Type.COMMENT){let{indent:u,lineStart:l}=a.context;if(u>0&&a.range.start>=l+u)break;n=o}else if(a.type===G.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 fa=class extends G.Node{static nextContentHasIndent(e,r,n){let i=G.Node.endOfLine(e,r)+1;r=G.Node.endOfWhiteSpace(e,i);let s=e[r];return s?r>=i+n?!0:s!=="#"&&s!==`
199
+ `?!1:fa.nextContentHasIndent(e,r,n):!1}constructor(e){super(e.type===G.Type.SEQ_ITEM?G.Type.SEQ:G.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=bT(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=G.Node.startOfLine(i,r),o=this.items[0];o.context.parent=this,this.valueRange=G.Range.copy(o.valueRange);let a=o.range.start-o.context.lineStart,u=r;u=G.Node.normalizeOffset(i,u);let l=i[u],c=G.Node.endOfWhiteSpace(i,s)===u,f=!1;for(;l;){for(;l===`
200
+ `||l==="#";){if(c&&l===`
201
+ `&&!f){let h=new ca;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&&!fa.nextContentHasIndent(i,u,a))return u;let h=new ua;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=G.Node.endOfIndent(i,s),G.Node.atBlank(i,u)){let h=G.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 G.YAMLSyntaxError(this,h)}}if(o.type===G.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 G.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=G.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=bT(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 G.Node.addStringTerminator(e,n.end,s)}},vT=class extends G.Node{constructor(){super(G.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 G.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 G.Range(r,n),n}},il=class extends G.Node{static startCommentOrEndBlankLine(e,r){let n=G.Node.endOfWhiteSpace(e,r),i=e[n];return i==="#"||i===`
207
+ `?n:r}constructor(){super(G.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(;!G.Node.atDocumentBoundary(r,s,G.Char.DIRECTIVES_END);)switch(s=il.startCommentOrEndBlankLine(r,s),r[s]){case`
208
+ `:if(n){let o=new ca;s=o.parse({src:r},s),s<r.length&&this.directives.push(o)}else s+=1,n=!0;break;case"#":{let o=new ua;s=o.parse({src:r},s),this.directives.push(o),n=!1}break;case"%":{let o=new vT;s=o.parse({parent:this,src:r},s),this.directives.push(o),i=!0,n=!1}break;default:return i?this.error=new G.YAMLSemanticError(this,"Missing directives-end indicator line"):this.directives.length>0&&(this.contents=this.directives,this.directives=[]),s}return r[s]?(this.directivesEndMarker=new G.Range(s,s+3),s+3):(i?this.error=new G.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=G.Node.endOfWhiteSpace(n,e),o=i===e;for(this.valueRange=new G.Range(s);!G.Node.atDocumentBoundary(n,s,G.Char.DOCUMENT_END);){switch(n[s]){case`
209
+ `:if(o){let a=new ca;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 ua;s=a.parse({src:n},s),this.contents.push(a),o=!1}break;default:{let a=G.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=bT(l);c&&Array.prototype.push.apply(this.contents,c)}}s=il.startCommentOrEndBlankLine(n,s)}if(this.valueRange.end=s,n[s]&&(this.documentEndMarker=new G.Range(s,s+3),s+=3,n[s])){if(s=G.Node.endOfWhiteSpace(n,s),n[s]==="#"){let a=new ua;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 G.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===G.Type.COMMENT)&&(i+=`---
211
+ `),i+=e.join("")),i[i.length-1]!==`
212
+ `&&(i+=`
213
+ `),i}},wT=class extends G.Node{parse(e,r){this.context=e;let{src:n}=e,i=G.Node.endOfIdentifier(n,r+1);return this.valueRange=new G.Range(r+1,i),i=G.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},Ks={CLIP:"CLIP",KEEP:"KEEP",STRIP:"STRIP"},_T=class extends G.Node{constructor(e,r){super(e,r),this.blockIndent=null,this.chomping=Ks.CLIP,this.header=null}get includesTrailingLines(){return this.chomping===Ks.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===Ks.KEEP)break;return""}o===`
215
+ `&&(s=r),o=i[r-1]}let a=r+1;s&&(this.chomping===Ks.KEEP?(a=s,r=this.valueRange.end):r=s);let u=n+this.blockIndent,l=this.type===G.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=G.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===Ks.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=Ks.STRIP;break;case"+":this.chomping=Ks.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 G.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,!G.Node.atDocumentBoundary(n,s));u=n[s]){let l=G.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 G.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 G.YAMLSemanticError(this,d)}this.blockIndent=f}else f>a&&(a=f);n[l]===`
229
+ `?s=l:s=o=G.Node.endOfLine(n,l)}return this.chomping!==Ks.KEEP&&(s=n[o]?o+1:o),this.valueRange=new G.Range(e+1,s),s}parse(e,r){this.context=e;let{src:n}=e,i=this.parseBlockHeader(r);return i=G.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}},xT=class extends G.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===G.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=G.Node.endOfWhiteSpace(i,r+1);for(a=i[u];a&&a!=="]"&&a!=="}";){switch(a){case`
230
+ `:{o=u+1;let l=G.Node.endOfWhiteSpace(i,o);if(i[l]===`
231
+ `){let c=new ca;o=c.parse({src:i},o),this.items.push(c)}if(u=G.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 G.YAMLSemanticError(this,c)}}break;case",":this.items.push({char:a,offset:u}),u+=1;break;case"#":{let l=new ua;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 G.Range(r,u),u;this.items.push(l),u=G.Node.normalizeOffset(i,l.range.end)}}u=G.Node.endOfWhiteSpace(i,u),a=i[u]}return this.valueRange=new G.Range(r,u+1),a&&(this.items.push({char:a,offset:u}),u=G.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 G.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 G.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),G.Node.addStringTerminator(e,n.end,o)}},Id=class extends G.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 G.YAMLSyntaxError(this,'Missing closing "quote'));let o="";for(let a=r+1;a<n-1;++a){let u=s[a];if(u===`
236
+ `){G.Node.atDocumentBoundary(s,a+1)&&e.push(new G.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:l,offset:c,error:f}=G.Node.foldNewline(s,a,i);o+=l,a=c,f&&e.push(new G.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 G.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 G.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=Id.endOfQuote(n,r+1);return this.valueRange=new G.Range(r,i),i=G.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}},Nd=class extends G.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 G.YAMLSyntaxError(this,"Missing closing 'quote"));let o="";for(let a=r+1;a<n-1;++a){let u=s[a];if(u===`
240
+ `){G.Node.atDocumentBoundary(s,a+1)&&e.push(new G.YAMLSemanticError(this,"Document boundary indicators are not allowed within string values"));let{fold:l,offset:c,error:f}=G.Node.foldNewline(s,a,i);o+=l,a=c,f&&e.push(new G.YAMLSemanticError(this,"Multi-line single-quoted string needs to be sufficiently indented"))}else if(u==="'")o+=u,a+=1,s[a]!=="'"&&e.push(new G.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=Nd.endOfQuote(n,r+1);return this.valueRange=new G.Range(r,i),i=G.Node.endOfWhiteSpace(n,i),i=this.parseComment(i),i}};function vot(t,e){switch(t){case G.Type.ALIAS:return new wT(t,e);case G.Type.BLOCK_FOLDED:case G.Type.BLOCK_LITERAL:return new _T(t,e);case G.Type.FLOW_MAP:case G.Type.FLOW_SEQ:return new xT(t,e);case G.Type.MAP_KEY:case G.Type.MAP_VALUE:case G.Type.SEQ_ITEM:return new Ld(t,e);case G.Type.COMMENT:case G.Type.PLAIN:return new G.PlainValue(t,e);case G.Type.QUOTE_DOUBLE:return new Id(t,e);case G.Type.QUOTE_SINGLE:return new Nd(t,e);default:return null}}var la=class{static parseType(e,r,n){switch(e[r]){case"*":return G.Type.ALIAS;case">":return G.Type.BLOCK_FOLDED;case"|":return G.Type.BLOCK_LITERAL;case"{":return G.Type.FLOW_MAP;case"[":return G.Type.FLOW_SEQ;case"?":return!n&&G.Node.atBlank(e,r+1,!0)?G.Type.MAP_KEY:G.Type.PLAIN;case":":return!n&&G.Node.atBlank(e,r+1,!0)?G.Type.MAP_VALUE:G.Type.PLAIN;case"-":return!n&&G.Node.atBlank(e,r+1,!0)?G.Type.SEQ_ITEM:G.Type.PLAIN;case'"':return G.Type.QUOTE_DOUBLE;case"'":return G.Type.QUOTE_SINGLE;default:return G.Type.PLAIN}}constructor(e={},{atLineStart:r,inCollection:n,inFlow:i,indent:s,lineStart:o,parent:a}={}){G._defineProperty(this,"parseNode",(u,l)=>{if(G.Node.atDocumentBoundary(this.src,l))return null;let c=new la(this,u),{props:f,type:d,valueStart:p}=c.parseProps(l),h=vot(d,f),y=h.parse(c,p);if(h.range=new G.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===G.Type.DOCUMENT&&(h.error=new G.YAMLSyntaxError(h,"Block collection must not have preceding content here (e.g. directives-end indicator)"));let b=new fa(h);return y=b.parse(new la(c),y),b.range=new G.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 Ld)return!0;let s=e.range.end;return i[s]===`
242
+ `||i[s-1]===`
243
+ `?!1:(s=G.Node.endOfWhiteSpace(i,s),i[s]===":")}parseProps(e){let{inFlow:r,parent:n,src:i}=this,s=[],o=!1;e=this.atLineStart?G.Node.endOfIndent(i,e):G.Node.endOfWhiteSpace(i,e);let a=i[e];for(;a===G.Char.ANCHOR||a===G.Char.COMMENT||a===G.Char.TAG||a===`
244
+ `;){if(a===`
245
+ `){let l=e,c;do c=l+1,l=G.Node.endOfIndent(i,c);while(i[l]===`
246
+ `);let f=l-(c+this.indent),d=n.type===G.Type.SEQ_ITEM&&n.context.atLineStart;if(i[l]!=="#"&&!G.Node.nextNodeIsIndented(i[l],f,!d))break;this.atLineStart=!0,this.lineStart=c,o=!1,e=l}else if(a===G.Char.COMMENT){let l=G.Node.endOfLine(i,e+1);s.push(new G.Range(e,l)),e=l}else{let l=G.Node.endOfIdentifier(i,e+1);a===G.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=G.Node.endOfIdentifier(i,l+5)),s.push(new G.Range(e,l)),o=!0,e=G.Node.endOfWhiteSpace(i,l)}a=i[e]}o&&a===":"&&G.Node.atBlank(i,e+1,!0)&&(e-=1);let u=la.parseType(i,e,r);return{props:s,type:u,valueStart:e}}};function wot(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 il,s=new la({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}Ese.parse=wot});var Bd=m(Ft=>{"use strict";var Z=aa();function _ot(t,e,r){return r?`#${r.replace(/[\s\S]^/gm,`$&${e}#`)}
249
+ ${e}${t}`:t}function sl(t,e,r){return r?r.indexOf(`
250
+ `)===-1?`${t} #${r}`:`${t}
251
+ `+r.replace(/^/gm,`${e||""}#`):t}var vn=class{};function Ys(t,e,r){if(Array.isArray(t))return t.map((n,i)=>Ys(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 jr=class extends vn{constructor(e){super(),this.value=e}toJSON(e,r){return r&&r.keep?this.value:Ys(this.value,e,r)}toString(){return String(this.value)}};function Dse(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 Rse=t=>t==null||typeof t=="object"&&t[Symbol.iterator]().next().done,Xt=class extends vn{constructor(e){super(),Z._defineProperty(this,"items",[]),this.schema=e}addIn(e,r){if(Rse(e))this.add(r);else{let[n,...i]=e,s=this.get(n,!0);if(s instanceof Xt)s.addIn(i,r);else if(s===void 0&&this.schema)this.set(n,Dse(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 Xt)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 jr?i.value:i:i instanceof Xt?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 jr&&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 Xt?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 Xt)i.setIn(r,n);else if(i===void 0&&this.schema)this.set(e,Dse(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===Z.Type.FLOW_MAP||this.type===Z.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=sl(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)>Xt.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}};Z._defineProperty(Xt,"maxFlowStringSingleLineLength",60);function y1(t){let e=t instanceof jr?t.value:t;return e&&typeof e=="string"&&(e=Number(e)),Number.isInteger(e)&&e>=0?e:null}var Qs=class extends Xt{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 jr?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(Ys(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)}},xot=(t,e,r)=>e===null?"":typeof e!="object"?String(e):t instanceof vn&&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 vn{constructor(e,r=null){super(),this.key=e,this.value=r,this.type=pt.Type.PAIR}get commentBefore(){return this.key instanceof vn?this.key.commentBefore:void 0}set commentBefore(e){if(this.key==null&&(this.key=new jr(null)),this.key instanceof vn)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=Ys(this.key,"",e);if(r instanceof Map){let i=Ys(this.value,n,e);r.set(n,i)}else if(r instanceof Set)r.add(n);else{let i=xot(this.key,n,e),s=Ys(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 vn&&a.comment;if(o){if(l)throw new Error("With simple keys, key nodes cannot have comments");if(a instanceof Xt){let x="With simple keys, collection cannot be used as a key value";throw new Error(x)}}let c=!o&&(!a||l||(a instanceof vn?a instanceof Xt||a.type===Z.Type.BLOCK_FOLDED||a.type===Z.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=sl(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=sl(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=sl(b,e.indent,this.comment),r&&r());let g="",v=null;if(u instanceof vn){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 jr&&(e.indentAtStart=b.length+1),y=!1,!s&&i>=2&&!e.inFlow&&!c&&u instanceof Qs&&u.type!==Z.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 Xt?(!(w[0]==="["||w[0]==="{")||w.includes(`
263
+ `))&&(_=`
264
+ ${e.indent}`):w[0]===`
265
+ `&&(_=""),y&&!v&&n&&n(),sl(b+_+w,e.indent,v)}};Z._defineProperty(pt,"Type",{PAIR:"PAIR",MERGE_PAIR:"MERGE_PAIR"});var b1=(t,e)=>{if(t instanceof ds){let r=e.get(t.source);return r.count*r.aliasCount}else if(t instanceof Xt){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},ds=class extends vn{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=Z.Type.ALIAS}set tag(e){throw new Error("Alias nodes cannot have tags")}toJSON(e,r){if(!r)return Ys(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 Z.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 Z.YAMLReferenceError(this.cstNode,o):new ReferenceError(o)}return s.res}toString(e){return ds.stringify(this,e)}};Z._defineProperty(ds,"default",!0);function jd(t,e){let r=e instanceof jr?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 $d=class extends Xt{add(e,r){e?e instanceof pt||(e=new pt(e.key||e,e.value)):e=new pt(e);let n=jd(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=jd(this.items,e);return r?this.items.splice(this.items.indexOf(r),1).length>0:!1}get(e,r){let n=jd(this.items,e),i=n&&n.value;return!r&&i instanceof jr?i.value:i}has(e){return!!jd(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)}},Ase="<<",_1=class extends pt{constructor(e){if(e instanceof pt){let r=e.value;r instanceof Qs||(r=new Qs,r.items.push(e.value),r.range=e.value.range),super(e.key,r),this.range=e.range}else super(new jr(Ase),new Qs);this.type=pt.Type.MERGE_PAIR}addToJSMap(e,r){for(let{source:n}of this.value.items){if(!(n instanceof $d))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}},Sot={defaultType:Z.Type.BLOCK_LITERAL,lineWidth:76},kot={trueStr:"true",falseStr:"false"},Eot={asBigInt:!1},Cot={nullStr:"null"},pa={defaultType:Z.Type.PLAIN,doubleQuoted:{jsonEncoding:!1,minMultiLineLength:40},fold:{lineWidth:80,minContentWidth:20}};function kT(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 jr||(a=new jr(a)),n&&(a.format=n),a}}return r&&(t=r(t)),new jr(t)}var Pse="flow",ST="block",v1="quoted",Ose=(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===ST&&(y=Ose(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===ST&&(y=Ose(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 ET=({indentAtStart:t})=>t?Object.assign({indentAtStart:t},pa.fold):pa.fold,S1=t=>/^(%|---|\.\.\.)/m.test(t);function Dot(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 da(t,e){let{implicitKey:r}=e,{jsonEncoding:n,minMultiLineLength:i}=pa.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,ET(e))}function Tse(t,e){if(e.implicitKey){if(/\n/.test(t))return da(t,e)}else if(/[ \t]\n|\n[ \t]/.test(t))return da(t,e);let r=e.indent||(S1(t)?" ":""),n="'"+t.replace(/'/g,"''").replace(/\n+/g,`$&
276
+ ${r}`)+"'";return e.implicitKey?n:x1(n,r,Pse,ET(e))}function w1({comment:t,type:e,value:r},n,i,s){if(/\n[\t ]+$/.test(r)||/^\s*$/.test(r))return da(r,n);let o=n.indent||(n.forceBlockIndent||S1(r)?" ":""),a=o?"2":"1",u=e===Z.Type.BLOCK_FOLDED?!1:e===Z.Type.BLOCK_LITERAL?!0:!Dot(r,pa.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,ST,pa.fold);return`${l}
282
+ ${o}${d}`}function Oot(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 da(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?Tse(o,e):da(o,e):w1(t,e,r,n);if(!u&&!c&&s!==Z.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 kT(f,p,p.scalarFallback).value!="string")return da(o,e)}let d=u?f:x1(f,l,Pse,ET(e));return i&&!c&&(d.indexOf(`
286
+ `)!==-1||i.indexOf(`
287
+ `)!==-1)?(r&&r(),_ot(d,l,i)):d}function qot(t,e,r,n){let{defaultType:i}=pa,{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 Z.Type.BLOCK_FOLDED:case Z.Type.BLOCK_LITERAL:return w1(t,e,r,n);case Z.Type.QUOTE_DOUBLE:return da(u,e);case Z.Type.QUOTE_SINGLE:return Tse(u,e);case Z.Type.PLAIN:return Oot(t,e,r,n);default:return null}};(a!==Z.Type.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f]/.test(u)||(s||o)&&(a===Z.Type.BLOCK_FOLDED||a===Z.Type.BLOCK_LITERAL))&&(a=Z.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 Rot({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 Mse(t,e){let r,n;switch(e.type){case Z.Type.FLOW_MAP:r="}",n="flow map";break;case Z.Type.FLOW_SEQ:r="]",n="flow sequence";break;default:t.push(new Z.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!==Z.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 Z.YAMLSemanticError(e,s),o.offset=i.offset+1):(o=new Z.YAMLSemanticError(i,s),i.range&&i.range.end&&(o.offset=i.range.end-i.range.start)),t.push(o)}}function Fse(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 Z.YAMLSemanticError(e,n))}}function Lse(t,e){let r=String(e),n=r.substr(0,8)+"..."+r.substr(-8);return new Z.YAMLSemanticError(t,`The "${n}" key is too long`)}function Ise(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 CT(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 Aot(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 Z.YAMLSemanticError(e,`The ${r} tag handle is non-default and was not declared.`)}if(!n)throw new Z.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 Z.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 Pot(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 Z.YAMLSemanticError(e,u))}else if(s==="!"&&!o)i=!0;else try{return Aot(t,e)}catch(u){t.errors.push(u)}}switch(n){case Z.Type.BLOCK_FOLDED:case Z.Type.BLOCK_LITERAL:case Z.Type.QUOTE_DOUBLE:case Z.Type.QUOTE_SINGLE:return Z.defaultTags.STR;case Z.Type.FLOW_MAP:case Z.Type.MAP:return Z.defaultTags.MAP;case Z.Type.FLOW_SEQ:case Z.Type.SEQ:return Z.defaultTags.SEQ;case Z.Type.PLAIN:return i?Z.defaultTags.STR:null;default:return null}}function qse(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 Xt?a:new jr(a)}let s=CT(t,e);return typeof s=="string"&&i.length>0?kT(s,i,n.scalarFallback):null}function Tot({type:t}){switch(t){case Z.Type.FLOW_MAP:case Z.Type.MAP:return Z.defaultTags.MAP;case Z.Type.FLOW_SEQ:case Z.Type.SEQ:return Z.defaultTags.SEQ;default:return Z.defaultTags.STR}}function Mot(t,e,r){try{let n=qse(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=Tot(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 Z.YAMLWarning(e,i));let s=qse(t,e,n);return s.tag=r,s}catch(n){let i=new Z.YAMLReferenceError(e,n.message);return i.stack=n.stack,t.errors.push(i),null}}var Fot=t=>{if(!t)return!1;let{type:e}=t;return e===Z.Type.MAP_KEY||e===Z.Type.MAP_VALUE||e===Z.Type.SEQ_ITEM};function Lot(t,e){let r={before:[],after:[]},n=!1,i=!1,s=Fot(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 Z.Char.COMMENT:{if(!e.commentHasRequiredWhitespace(o)){let f="Comments must be separated from other tokens by white space characters";t.push(new Z.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 Z.Char.ANCHOR:if(n){let u="A node can have at most one anchor";t.push(new Z.YAMLSemanticError(e,u))}n=!0;break;case Z.Char.TAG:if(i){let u="A node can have at most one tag";t.push(new Z.YAMLSemanticError(e,u))}i=!0;break}return{comments:r,hasAnchor:n,hasTag:i}}function Iot(t,e){let{anchors:r,errors:n,schema:i}=t;if(e.type===Z.Type.ALIAS){let o=e.rawValue,a=r.getNode(o);if(!a){let l=`Aliased anchor not found: ${o}`;return n.push(new Z.YAMLReferenceError(e,l)),null}let u=new ds(a);return r._cstAliases.push(u),u}let s=Pot(t,e);if(s)return Mot(t,e,s);if(e.type!==Z.Type.PLAIN){let o=`Failed to resolve ${e.type} node here`;return n.push(new Z.YAMLSyntaxError(e,o)),null}try{let o=CT(t,e);return kT(o,i.tags,i.tags.scalarFallback)}catch(o){return o.source||(o.source=e),n.push(o),null}}function Js(t,e){if(!e)return null;e.error&&t.errors.push(e.error);let{comments:r,hasAnchor:n,hasTag:i}=Lot(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===Z.Type.ALIAS&&(n||i)){let o="An alias node must not specify any properties";t.errors.push(new Z.YAMLSemanticError(e,o))}let s=Iot(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 Not(t,e){if(e.type!==Z.Type.MAP&&e.type!==Z.Type.FLOW_MAP){let o=`A ${e.type} node cannot be resolved as a mapping`;return t.errors.push(new Z.YAMLSyntaxError(e,o)),null}let{comments:r,items:n}=e.type===Z.Type.FLOW_MAP?Wot(t,e):Bot(t,e),i=new $d;i.items=n,Ise(i,r);let s=!1;for(let o=0;o<n.length;++o){let{key:a}=n[o];if(a instanceof Xt&&(s=!0),t.schema.merge&&a&&a.value===Ase){n[o]=new _1(n[o]);let u=n[o].value.items,l=null;u.some(c=>{if(c instanceof ds){let{type:f}=c.source;return f===Z.Type.MAP||f===Z.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 Z.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 Z.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 Z.YAMLWarning(e,o))}return e.resolved=i,i}var jot=({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]!==Z.Char.COMMENT)return!1;for(let s=t;s<i;++s)if(r[s]===`
295
+ `)return!1;return!0};function $ot(t,e){if(!jot(t))return;let r=t.getPropValue(0,Z.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 Bot(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 Z.Type.BLANK_LINE:r.push({afterKey:!!i,before:n.length});break;case Z.Type.COMMENT:r.push({afterKey:!!i,before:n.length,comment:a.comment});break;case Z.Type.MAP_KEY:i!==void 0&&n.push(new pt(i)),a.error&&t.errors.push(a.error),i=Js(t,a.node),s=null;break;case Z.Type.MAP_VALUE:{if(i===void 0&&(i=null),a.error&&t.errors.push(a.error),!a.context.atLineStart&&a.node&&a.node.type===Z.Type.MAP&&!a.node.context.atLineStart){let c="Nested mappings are not allowed in compact mappings";t.errors.push(new Z.YAMLSemanticError(a.node,c))}let u=a.node;if(!u&&a.props.length>0){u=new Z.PlainValue(Z.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,Js(t,u));$ot(a,l),n.push(l),i&&typeof s=="number"&&a.range.start>s+1024&&t.errors.push(Lse(e,i)),i=void 0,s=null}break;default:i!==void 0&&n.push(new pt(i)),i=Js(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 Z.Type.BLANK_LINE:case Z.Type.COMMENT:continue e;case Z.Type.MAP_VALUE:break e;default:{let c="Implicit map keys need to be followed by map values";t.errors.push(new Z.YAMLSemanticError(a,c));break e}}}if(a.valueRangeContainsNewline){let u="Implicit map keys need to be on a single line";t.errors.push(new Z.YAMLSemanticError(a,u))}}}return i!==void 0&&n.push(new pt(i)),{comments:r,items:n}}function Wot(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 Z.YAMLSyntaxError(e,f);d.offset=c,t.errors.push(d)}else u.type===Z.Type.BLANK_LINE?r.push({afterKey:!!i,before:n.length}):u.type===Z.Type.COMMENT?(Fse(t.errors,u),r.push({afterKey:!!i,before:n.length,comment:u.comment})):i===void 0?(o===","&&t.errors.push(new Z.YAMLSemanticError(u,"Separator , missing in flow map")),i=Js(t,u)):(o!==","&&t.errors.push(new Z.YAMLSemanticError(u,"Indicator : missing in flow map entry")),n.push(new pt(i,Js(t,u))),i=void 0,s=!1)}return Mse(t.errors,e),i!==void 0&&n.push(new pt(i)),{comments:r,items:n}}function zot(t,e){if(e.type!==Z.Type.SEQ&&e.type!==Z.Type.FLOW_SEQ){let s=`A ${e.type} node cannot be resolved as a sequence`;return t.errors.push(new Z.YAMLSyntaxError(e,s)),null}let{comments:r,items:n}=e.type===Z.Type.FLOW_SEQ?Hot(t,e):Uot(t,e),i=new Qs;if(i.items=n,Ise(i,r),!t.options.mapAsMap&&n.some(s=>s instanceof pt&&s.key instanceof Xt)){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 Z.YAMLWarning(e,s))}return e.resolved=i,i}function Uot(t,e){let r=[],n=[];for(let i=0;i<e.items.length;++i){let s=e.items[i];switch(s.type){case Z.Type.BLANK_LINE:r.push({before:n.length});break;case Z.Type.COMMENT:r.push({comment:s.comment,before:n.length});break;case Z.Type.SEQ_ITEM:if(s.error&&t.errors.push(s.error),n.push(Js(t,s.node)),s.hasProps){let o="Sequence items cannot have tags or anchors before the - indicator";t.errors.push(new Z.YAMLSemanticError(s,o))}break;default:s.error&&t.errors.push(s.error),t.errors.push(new Z.YAMLSyntaxError(s,`Unexpected ${s.type} node in sequence`))}}return{comments:r,items:n}}function Hot(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 Z.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(Lse(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 Z.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 Z.YAMLSyntaxError(e,p);h.offset=d,t.errors.push(h)}}else if(c.type===Z.Type.BLANK_LINE)r.push({before:n.length});else if(c.type===Z.Type.COMMENT)Fse(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 Z.YAMLSemanticError(c,d))}let f=Js(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 Mse(t.errors,e),s!==void 0&&n.push(new pt(s)),{comments:r,items:n}}Ft.Alias=ds;Ft.Collection=Xt;Ft.Merge=_1;Ft.Node=vn;Ft.Pair=pt;Ft.Scalar=jr;Ft.YAMLMap=$d;Ft.YAMLSeq=Qs;Ft.addComment=sl;Ft.binaryOptions=Sot;Ft.boolOptions=kot;Ft.findPair=jd;Ft.intOptions=Eot;Ft.isEmptyPath=Rse;Ft.nullOptions=Cot;Ft.resolveMap=Not;Ft.resolveNode=Js;Ft.resolveSeq=zot;Ft.resolveString=CT;Ft.strOptions=pa;Ft.stringifyNumber=Rot;Ft.stringifyString=qot;Ft.toJSON=Ys});var RT=m(fi=>{"use strict";var wn=aa(),Ze=Bd(),Vot={identify:t=>t instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve:(t,e)=>{let r=Ze.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 wn.YAMLReferenceError(e,n)),null}},options:Ze.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=Ze.binaryOptions.defaultType),e===wn.Type.QUOTE_DOUBLE)r=o;else{let{lineWidth:a}=Ze.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===wn.Type.BLOCK_LITERAL?`
297
+ `:" ")}return Ze.stringifyString({comment:t,type:e,value:r},n,i,s)}};function jse(t,e){let r=Ze.resolveSeq(t,e);for(let n=0;n<r.items.length;++n){let i=r.items[n];if(!(i instanceof Ze.Pair)){if(i instanceof Ze.YAMLMap){if(i.items.length>1){let o="Each pair must have its own sequence indicator";throw new wn.YAMLSemanticError(e,o)}let s=i.items[0]||new Ze.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 Ze.Pair?i:new Ze.Pair(i)}}return r}function $se(t,e,r){let n=new Ze.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 Got={default:!1,tag:"tag:yaml.org,2002:pairs",resolve:jse,createNode:$se},Xs=class extends Ze.YAMLSeq{constructor(){super(),wn._defineProperty(this,"add",Ze.YAMLMap.prototype.add.bind(this)),wn._defineProperty(this,"delete",Ze.YAMLMap.prototype.delete.bind(this)),wn._defineProperty(this,"get",Ze.YAMLMap.prototype.get.bind(this)),wn._defineProperty(this,"has",Ze.YAMLMap.prototype.has.bind(this)),wn._defineProperty(this,"set",Ze.YAMLMap.prototype.set.bind(this)),this.tag=Xs.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 Ze.Pair?(s=Ze.toJSON(i.key,"",r),o=Ze.toJSON(i.value,s,r)):s=Ze.toJSON(i,"",r),n.has(s))throw new Error("Ordered maps must not include duplicate keys");n.set(s,o)}return n}};wn._defineProperty(Xs,"tag","tag:yaml.org,2002:omap");function Kot(t,e){let r=jse(t,e),n=[];for(let{key:i}of r.items)if(i instanceof Ze.Scalar)if(n.includes(i.value)){let s="Ordered maps must not include duplicate keys";throw new wn.YAMLSemanticError(e,s)}else n.push(i.value);return Object.assign(new Xs,r)}function Yot(t,e,r){let n=$se(t,e,r),i=new Xs;return i.items=n.items,i}var Qot={identify:t=>t instanceof Map,nodeClass:Xs,default:!1,tag:"tag:yaml.org,2002:omap",resolve:Kot,createNode:Yot},Zs=class extends Ze.YAMLMap{constructor(){super(),this.tag=Zs.tag}add(e){let r=e instanceof Ze.Pair?e:new Ze.Pair(e);Ze.findPair(this.items,r.key)||this.items.push(r)}get(e,r){let n=Ze.findPair(this.items,e);return!r&&n instanceof Ze.Pair?n.key instanceof Ze.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=Ze.findPair(this.items,e);n&&!r?this.items.splice(this.items.indexOf(n),1):!n&&r&&this.items.push(new Ze.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")}};wn._defineProperty(Zs,"tag","tag:yaml.org,2002:set");function Jot(t,e){let r=Ze.resolveMap(t,e);if(!r.hasAllNullValues())throw new wn.YAMLSemanticError(e,"Set items must all have null values");return Object.assign(new Zs,r)}function Xot(t,e,r){let n=new Zs;for(let i of e)n.items.push(t.createPair(i,null,r));return n}var Zot={identify:t=>t instanceof Set,nodeClass:Zs,default:!1,tag:"tag:yaml.org,2002:set",resolve:Jot,createNode:Xot},DT=(t,e)=>{let r=e.split(":").reduce((n,i)=>n*60+Number(i),0);return t==="-"?-r:r},Bse=({value:t})=>{if(isNaN(t)||!isFinite(t))return Ze.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*$/,"")},eat={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)=>DT(e,r.replace(/_/g,"")),stringify:Bse},tat={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)=>DT(e,r.replace(/_/g,"")),stringify:Bse},rat={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=DT(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 OT(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 qT(t,e){if(OT(!1)){let r=typeof process<"u"&&process.emitWarning;r?r(t,e):console.warn(e?`${e}: ${t}`:t)}}function nat(t){if(OT(!0)){let e=t.replace(/.*yaml[/\\]/i,"").replace(/\.js$/,"").replace(/\\/g,"/");qT(`The endpoint 'yaml/${e}' will be removed in a future release.`,"DeprecationWarning")}}var Nse={};function iat(t,e){if(!Nse[t]&&OT(!0)){Nse[t]=!0;let r=`The option '${t}' will be removed in a future release`;r+=e?`, use '${e}' instead.`:".",qT(r,"DeprecationWarning")}}fi.binary=Vot;fi.floatTime=tat;fi.intTime=eat;fi.omap=Qot;fi.pairs=Got;fi.set=Zot;fi.timestamp=rat;fi.warn=qT;fi.warnFileDeprecation=nat;fi.warnOptionDeprecation=iat});var MT=m(eoe=>{"use strict";var C1=aa(),je=Bd(),Gr=RT();function sat(t,e,r){let n=new je.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 zd={createNode:sat,default:!0,nodeClass:je.YAMLMap,tag:"tag:yaml.org,2002:map",resolve:je.resolveMap};function oat(t,e,r){let n=new je.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:oat,default:!0,nodeClass:je.YAMLSeq,tag:"tag:yaml.org,2002:seq",resolve:je.resolveSeq},aat={identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:je.resolveString,stringify(t,e,r,n){return e=Object.assign({actualString:!0},e),je.stringifyString(t,e,r,n)},options:je.strOptions},PT=[zd,D1,aat],O1=t=>typeof t=="bigint"||Number.isInteger(t),TT=(t,e,r)=>je.intOptions.asBigInt?BigInt(t):parseInt(e,r);function Use(t,e,r){let{value:n}=t;return O1(n)&&n>=0?r+n.toString(e):je.stringifyNumber(t)}var Hse={identify:t=>t==null,createNode:(t,e,r)=>r.wrapScalars?new je.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:je.nullOptions,stringify:()=>je.nullOptions.nullStr},Vse={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:je.boolOptions,stringify:({value:t})=>t?je.boolOptions.trueStr:je.boolOptions.falseStr},Gse={identify:t=>O1(t)&&t>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o([0-7]+)$/,resolve:(t,e)=>TT(t,e,8),options:je.intOptions,stringify:t=>Use(t,8,"0o")},Kse={identify:O1,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:t=>TT(t,t,10),options:je.intOptions,stringify:je.stringifyNumber},Yse={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)=>TT(t,e,16),options:je.intOptions,stringify:t=>Use(t,16,"0x")},Qse={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:je.stringifyNumber},Jse={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()},Xse={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 je.Scalar(parseFloat(t));return n&&n[n.length-1]==="0"&&(i.minFractionDigits=n.length),i},stringify:je.stringifyNumber},uat=PT.concat([Hse,Vse,Gse,Kse,Yse,Qse,Jse,Xse]),Wse=t=>typeof t=="bigint"||Number.isInteger(t),k1=({value:t})=>JSON.stringify(t),Zse=[zd,D1,{identify:t=>typeof t=="string",default:!0,tag:"tag:yaml.org,2002:str",resolve:je.resolveString,stringify:k1},{identify:t=>t==null,createNode:(t,e,r)=>r.wrapScalars?new je.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:Wse,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:t=>je.intOptions.asBigInt?BigInt(t):parseInt(t,10),stringify:({value:t})=>Wse(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}];Zse.scalarFallback=t=>{throw new SyntaxError(`Unresolved plain scalar ${JSON.stringify(t)}`)};var zse=({value:t})=>t?je.boolOptions.trueStr:je.boolOptions.falseStr,Wd=t=>typeof t=="bigint"||Number.isInteger(t);function E1(t,e,r){let n=e.replace(/_/g,"");if(je.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 AT(t,e,r){let{value:n}=t;if(Wd(n)){let i=n.toString(e);return n<0?"-"+r+i.substr(1):r+i}return je.stringifyNumber(t)}var lat=PT.concat([{identify:t=>t==null,createNode:(t,e,r)=>r.wrapScalars?new je.Scalar(null):null,default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>null,options:je.nullOptions,stringify:()=>je.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:je.boolOptions,stringify:zse},{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:je.boolOptions,stringify:zse},{identify:Wd,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^([-+]?)0b([0-1_]+)$/,resolve:(t,e,r)=>E1(e,r,2),stringify:t=>AT(t,2,"0b")},{identify:Wd,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^([-+]?)0([0-7_]+)$/,resolve:(t,e,r)=>E1(e,r,8),stringify:t=>AT(t,8,"0")},{identify:Wd,default:!0,tag:"tag:yaml.org,2002:int",test:/^([-+]?)([0-9][0-9_]*)$/,resolve:(t,e,r)=>E1(e,r,10),stringify:je.stringifyNumber},{identify:Wd,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=>AT(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:je.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 je.Scalar(parseFloat(t.replace(/_/g,"")));if(e){let n=e.replace(/_/g,"");n[n.length-1]==="0"&&(r.minFractionDigits=n.length)}return r},stringify:je.stringifyNumber}],Gr.binary,Gr.omap,Gr.pairs,Gr.set,Gr.intTime,Gr.floatTime,Gr.timestamp),cat={core:uat,failsafe:PT,json:Zse,yaml11:lat},fat={binary:Gr.binary,bool:Vse,float:Xse,floatExp:Jse,floatNaN:Qse,floatTime:Gr.floatTime,int:Kse,intHex:Yse,intOct:Gse,intTime:Gr.intTime,map:zd,null:Hse,omap:Gr.omap,pairs:Gr.pairs,seq:D1,set:Gr.set,timestamp:Gr.timestamp};function dat(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 pat(t,e,r){if(t instanceof je.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=dat(t,e,o.tags);if(!u){if(typeof t.toJSON=="function"&&(t=t.toJSON()),!t||typeof t!="object")return a?new je.Scalar(t):t;u=t instanceof Map?zd:t[Symbol.iterator]?D1:zd}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 je.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 je.Scalar(t):t,e&&l.node instanceof je.Node&&(l.node.tag=e),l.node}function hat(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 gat=(t,e)=>t.key<e.key?-1:t.key>e.key?1:0,ha=class{constructor({customTags:e,merge:r,schema:n,sortMapEntries:i,tags:s}){this.merge=!!r,this.name=n,this.sortMapEntries=i===!0?gat:i||null,!e&&s&&Gr.warnOptionDeprecation("tags","customTags"),this.tags=hat(cat,fat,e||s,n)}createNode(e,r,n,i){let s={defaultPrefix:ha.defaultPrefix,schema:this,wrapScalars:r},o=i?Object.assign(i,s):s;return pat(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 je.Pair(i,s)}};C1._defineProperty(ha,"defaultPrefix",C1.defaultTagPrefix);C1._defineProperty(ha,"defaultTags",C1.defaultTags);eoe.Schema=ha});var ioe=m(A1=>{"use strict";var Kr=aa(),Be=Bd(),toe=MT(),mat={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"},yat={get binary(){return Be.binaryOptions},set binary(t){Object.assign(Be.binaryOptions,t)},get bool(){return Be.boolOptions},set bool(t){Object.assign(Be.boolOptions,t)},get int(){return Be.intOptions},set int(t){Object.assign(Be.intOptions,t)},get null(){return Be.nullOptions},set null(t){Object.assign(Be.nullOptions,t)},get str(){return Be.strOptions},set str(t){Object.assign(Be.strOptions,t)}},noe={"1.0":{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:Kr.defaultTagPrefix},{handle:"!!",prefix:"tag:private.yaml.org,2002:"}]},1.1:{schema:"yaml-1.1",merge:!0,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Kr.defaultTagPrefix}]},1.2:{schema:"core",merge:!1,tagPrefixes:[{handle:"!",prefix:"!"},{handle:"!!",prefix:Kr.defaultTagPrefix}]}};function roe(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 bat(t,e){if(e instanceof Be.Alias)return Be.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 Be.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 vat(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(roe(n,t.tag)):e.default||i.push(roe(n,e.tag)),i.join(" ")}function q1(t,e,r,n){let{anchors:i,schema:s}=e.doc,o;if(!(t instanceof Be.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 Be.Pair)return t.toString(e,r,n);o||(o=bat(s.tags,t));let a=vat(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 Be.Scalar?Be.stringifyString(t,e,r,n):t.toString(e,r,n);return a?t instanceof Be.Scalar||u[0]==="{"||u[0]==="["?`${a} ${u}`:`${a}
300
+ ${e.indent}${u}`:u}var Ud=class{static validAnchorNode(e){return e instanceof Be.Scalar||e instanceof Be.YAMLSeq||e instanceof Be.YAMLMap}constructor(e){Kr._defineProperty(this,"map",Object.create(null)),this.prefix=e}createAlias(e,r){return this.setAnchor(e,r),new Be.Alias(e)}createMergePair(...e){let r=new Be.Merge;return r.value.items=e.map(n=>{if(n instanceof Be.Alias){if(n.source instanceof Be.YAMLMap)return n}else if(n instanceof Be.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&&!Ud.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 Be.Collection?(r&&(e[r]=!0),t.items.forEach(n=>R1(n,e))):t instanceof Be.Pair?(R1(t.key,e),R1(t.value,e)):t instanceof Be.Scalar&&r&&(e[r]=!0)}return e},wat=t=>Object.keys(R1(t,{}));function _at(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 Kr.YAMLSyntaxError(s,a));break}let o=Be.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===Kr.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 Be.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 xat({tagPrefixes:t},e){let[r,n]=e.parameters;if(!r||!n){let i="Insufficient parameters given for %TAG directive";throw new Kr.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 Kr.YAMLSemanticError(e,i)}return{handle:r,prefix:n}}function Sat(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 Kr.YAMLSemanticError(e,n)}if(!noe[r]){let i=`Document will be parsed as YAML ${t.version||t.options.version} rather than YAML ${r}`;t.warnings.push(new Kr.YAMLWarning(e,i))}return r}function kat(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(xat(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 Kr.YAMLSemanticError(s,u))}try{t.version=Sat(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 Kr.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 ol(t){if(t instanceof Be.Collection)return!0;throw new Error("Expected a YAML collection as document contents")}var ga=class{constructor(e){this.anchors=new Ud(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 ol(this.contents),this.contents.add(e)}addIn(e,r){ol(this.contents),this.contents.addIn(e,r)}delete(e){return ol(this.contents),this.contents.delete(e)}deleteIn(e){return Be.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):(ol(this.contents),this.contents.deleteIn(e))}getDefaults(){return ga.defaults[this.version]||ga.defaults[this.options.version]||{}}get(e,r){return this.contents instanceof Be.Collection?this.contents.get(e,r):void 0}getIn(e,r){return Be.isEmptyPath(e)?!r&&this.contents instanceof Be.Scalar?this.contents.value:this.contents:this.contents instanceof Be.Collection?this.contents.getIn(e,r):void 0}has(e){return this.contents instanceof Be.Collection?this.contents.has(e):!1}hasIn(e){return Be.isEmptyPath(e)?this.contents!==void 0:this.contents instanceof Be.Collection?this.contents.hasIn(e):!1}set(e,r){ol(this.contents),this.contents.set(e,r)}setIn(e,r){Be.isEmptyPath(e)?this.contents=r:(ol(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 toe.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)),kat(this,n,r),s&&(this.directivesEndMarker=!0),this.range=a?[a.start,a.end]:null,this.setSchema(),this.anchors._cstAliases=[],_at(this,i),this.anchors.resolveNodes(),this.options.prettyErrors){for(let u of this.errors)u instanceof Kr.YAMLError&&u.makePretty();for(let u of this.warnings)u instanceof Kr.YAMLError&&u.makePretty()}return this}listNonDefaultTags(){return wat(this.contents).filter(e=>e.indexOf(toe.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 Be.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=Be.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 Be.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(Be.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
+ `}};Kr._defineProperty(ga,"defaults",noe);A1.Document=ga;A1.defaultOptions=mat;A1.scalarOptions=yat});var aoe=m(ooe=>{"use strict";var FT=Cse(),ma=ioe(),Eat=MT(),Cat=aa(),Dat=RT();Bd();function Oat(t,e=!0,r){r===void 0&&typeof e=="string"&&(r=e,e=!0);let n=Object.assign({},ma.Document.defaults[ma.defaultOptions.version],ma.defaultOptions);return new Eat.Schema(n).createNode(t,e,r)}var al=class extends ma.Document{constructor(e){super(Object.assign({},ma.defaultOptions,e))}};function qat(t,e){let r=[],n;for(let i of FT.parse(t)){let s=new al(e);s.parse(i,n),r.push(s),n=s}return r}function soe(t,e){let r=FT.parse(t),n=new al(e).parse(r[0]);if(r.length>1){let i="Source contains multiple documents; please use YAML.parseAllDocuments()";n.errors.unshift(new Cat.YAMLSemanticError(r[1],i))}return n}function Rat(t,e){let r=soe(t,e);if(r.warnings.forEach(n=>Dat.warn(n)),r.errors.length>0)throw r.errors[0];return r.toJSON()}function Aat(t,e){let r=new al(e);return r.contents=t,String(r)}var Pat={createNode:Oat,defaultOptions:ma.defaultOptions,Document:al,parse:Rat,parseAllDocuments:qat,parseCST:FT.parse,parseDocument:soe,scalarOptions:ma.scalarOptions,stringify:Aat};ooe.YAML=Pat});var loe=m((LLt,uoe)=>{uoe.exports=aoe().YAML});var jT=m(P1=>{"use strict";Object.defineProperty(P1,"__esModule",{value:!0});P1.loaders=void 0;var LT,Tat=function(e){return LT===void 0&&(LT=pie()),LT(e)},IT,Mat=function(e,r){IT===void 0&&(IT=xse());try{return IT(r)}catch(n){throw n.message=`JSON Error in ${e}:
309
+ ${n.message}`,n}},NT,Fat=function(e,r){NT===void 0&&(NT=loe());try{return NT.parse(r,{prettyErrors:!0})}catch(n){throw n.message=`YAML Error in ${e}:
310
+ ${n.message}`,n}},Lat={loadJs:Tat,loadJson:Mat,loadYaml:Fat};P1.loaders=Lat});var coe=m($T=>{"use strict";Object.defineProperty($T,"__esModule",{value:!0});$T.getPropertyByPath=Iat;function Iat(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 WT=m(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.ExplorerBase=void 0;Vd.getExtensionDescription=T1;var Hd=$at(H("path")),Nat=jT(),jat=coe();function $at(t){return t&&t.__esModule?t:{default:t}}var BT=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=Hd.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=Bat(e);return n===e||e===this.config.stopDir?null:n}loadPackageProp(e,r){let n=Nat.loaders.loadJson(e,r);return(0,jat.getPropertyByPath)(n,this.config.packageProp)||null}getLoaderEntryForFile(e){if(Hd.default.basename(e)==="package.json")return this.loadPackageProp.bind(this);let r=Hd.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")}};Vd.ExplorerBase=BT;function Bat(t){return Hd.default.dirname(t)}function T1(t){let e=Hd.default.extname(t);return e?`extension "${e}"`:"files without extensions"}});var zT=m(M1=>{"use strict";Object.defineProperty(M1,"__esModule",{value:!0});M1.readFile=Uat;M1.readFileSync=Hat;var foe=Wat(H("fs"));function Wat(t){return t&&t.__esModule?t:{default:t}}async function zat(t,e){return new Promise((r,n)=>{foe.default.readFile(t,e,(i,s)=>{if(i){n(i);return}r(s)})})}async function Uat(t,e={}){let r=e.throwNotFound===!0;try{return await zat(t,"utf8")}catch(n){if(r===!1&&(n.code==="ENOENT"||n.code==="EISDIR"))return null;throw n}}function Hat(t,e={}){let r=e.throwNotFound===!0;try{return foe.default.readFileSync(t,"utf8")}catch(n){if(r===!1&&(n.code==="ENOENT"||n.code==="EISDIR"))return null;throw n}}});var UT=m(F1=>{"use strict";Object.defineProperty(F1,"__esModule",{value:!0});F1.cacheWrapper=Vat;F1.cacheWrapperSync=Gat;async function Vat(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 Gat(t,e,r){let n=t.get(e);if(n!==void 0)return n;let i=r();return t.set(e,i),i}});var GT=m(ya=>{"use strict";var{promisify:Kat}=H("util"),doe=H("fs");async function HT(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return(await Kat(doe[t])(r))[e]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}function VT(t,e,r){if(typeof r!="string")throw new TypeError(`Expected a string, got ${typeof r}`);try{return doe[t](r)[e]()}catch(n){if(n.code==="ENOENT")return!1;throw n}}ya.isFile=HT.bind(null,"stat","isFile");ya.isDirectory=HT.bind(null,"stat","isDirectory");ya.isSymlink=HT.bind(null,"lstat","isSymbolicLink");ya.isFileSync=VT.bind(null,"statSync","isFile");ya.isDirectorySync=VT.bind(null,"statSync","isDirectory");ya.isSymlinkSync=VT.bind(null,"lstatSync","isSymbolicLink")});var KT=m(L1=>{"use strict";Object.defineProperty(L1,"__esModule",{value:!0});L1.getDirectory=Qat;L1.getDirectorySync=Jat;var poe=Yat(H("path")),hoe=GT();function Yat(t){return t&&t.__esModule?t:{default:t}}async function Qat(t){return await(0,hoe.isDirectory)(t)===!0?t:poe.default.dirname(t)}function Jat(t){return(0,hoe.isDirectorySync)(t)===!0?t:poe.default.dirname(t)}});var yoe=m(I1=>{"use strict";Object.defineProperty(I1,"__esModule",{value:!0});I1.Explorer=void 0;var YT=eut(H("path")),Xat=WT(),goe=zT(),moe=UT(),Zat=KT();function eut(t){return t&&t.__esModule?t:{default:t}}var QT=class extends Xat.ExplorerBase{constructor(e){super(e)}async search(e=process.cwd()){let r=await(0,Zat.getDirectory)(e);return await this.searchFromDirectory(r)}async searchFromDirectory(e){let r=YT.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,moe.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=YT.default.join(e,r),i=await(0,goe.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=YT.default.resolve(process.cwd(),e),n=async()=>{let i=await(0,goe.readFile)(r,{throwNotFound:!0}),s=await this.createCosmiconfigResult(r,i);return await this.config.transform(s)};return this.loadCache?(0,moe.cacheWrapper)(this.loadCache,r,n):n()}};I1.Explorer=QT});var woe=m(N1=>{"use strict";Object.defineProperty(N1,"__esModule",{value:!0});N1.ExplorerSync=void 0;var JT=nut(H("path")),tut=WT(),boe=zT(),voe=UT(),rut=KT();function nut(t){return t&&t.__esModule?t:{default:t}}var XT=class extends tut.ExplorerBase{constructor(e){super(e)}searchSync(e=process.cwd()){let r=(0,rut.getDirectorySync)(e);return this.searchFromDirectorySync(r)}searchFromDirectorySync(e){let r=JT.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,voe.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=JT.default.join(e,r),i=(0,boe.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=JT.default.resolve(process.cwd(),e),n=()=>{let i=(0,boe.readFileSync)(r,{throwNotFound:!0}),s=this.createCosmiconfigResultSync(r,i);return this.config.transform(s)};return this.loadCache?(0,voe.cacheWrapperSync)(this.loadCache,r,n):n()}};N1.ExplorerSync=XT});var xoe=m(_oe=>{"use strict";Object.defineProperty(_oe,"__esModule",{value:!0})});var ZT=m(ll=>{"use strict";Object.defineProperty(ll,"__esModule",{value:!0});ll.cosmiconfig=uut;ll.cosmiconfigSync=lut;ll.defaultLoaders=void 0;var iut=aut(H("os")),sut=yoe(),out=woe(),ul=jT(),GLt=xoe();function aut(t){return t&&t.__esModule?t:{default:t}}function uut(t,e={}){let r=koe(t,e),n=new sut.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 lut(t,e={}){let r=koe(t,e),n=new out.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 Soe=Object.freeze({".cjs":ul.loaders.loadJs,".js":ul.loaders.loadJs,".json":ul.loaders.loadJson,".yaml":ul.loaders.loadYaml,".yml":ul.loaders.loadYaml,noExt:ul.loaders.loadYaml});ll.defaultLoaders=Soe;var cut=function(e){return e};function koe(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:iut.default.homedir(),cache:!0,transform:cut,loaders:Soe};return{...r,...e,loaders:{...r.loaders,...e.loaders}}}});var Ooe=m(ba=>{ba.parse=ba.decode=fut;ba.stringify=ba.encode=Eoe;ba.safe=cl;ba.unsafe=j1;var eM=typeof process<"u"&&process.platform==="win32"?`\r
311
+ `:`
312
+ `;function Eoe(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+=cl(s+"[]")+i+cl(l)+`
313
+ `}):u&&typeof u=="object"?r.push(s):n+=cl(s)+i+cl(u)+eM}),e.section&&n.length&&(n="["+cl(e.section)+"]"+eM+n),r.forEach(function(s,o,a){var u=Coe(s).join("\\."),l=(e.section?e.section+".":"")+u,c=Eoe(t[s],{section:l,whitespace:e.whitespace});n.length&&c.length&&(n+=eM),n+=c}),n}function Coe(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 fut(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=Coe(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 Doe(t){return t.charAt(0)==='"'&&t.slice(-1)==='"'||t.charAt(0)==="'"&&t.slice(-1)==="'"}function cl(t){return typeof t!="string"||t.match(/[=\r\n]/)||t.match(/^\[/)||t.length>1&&Doe(t)||t!==t.trim()?JSON.stringify(t):t.replace(/;/g,"\\;").replace(/#/g,"\\#")}function j1(t,e){if(t=(t||"").trim(),Doe(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 Toe=m((QLt,Poe)=>{Poe.exports=Aoe;Aoe.sync=put;var qoe=H("fs");function dut(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 Roe(t,e,r){return!t.isSymbolicLink()&&!t.isFile()?!1:dut(e,r)}function Aoe(t,e,r){qoe.stat(t,function(n,i){r(n,n?!1:Roe(i,t,e))})}function put(t,e){return Roe(qoe.statSync(t),t,e)}});var Noe=m((JLt,Ioe)=>{Ioe.exports=Foe;Foe.sync=hut;var Moe=H("fs");function Foe(t,e,r){Moe.stat(t,function(n,i){r(n,n?!1:Loe(i,e))})}function hut(t,e){return Loe(Moe.statSync(t),e)}function Loe(t,e){return t.isFile()&&gut(t,e)}function gut(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 $oe=m((ZLt,joe)=>{var XLt=H("fs"),$1;process.platform==="win32"||global.TESTING_WINDOWS?$1=Toe():$1=Noe();joe.exports=tM;tM.sync=mut;function tM(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){tM(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 mut(t,e){try{return $1.sync(t,e||{})}catch(r){if(e&&e.ignoreErrors||r.code==="EACCES")return!1;throw r}}});var Goe=m((eIt,Voe)=>{Voe.exports=Hoe;Hoe.sync=but;var rM=process.platform==="win32"||process.env.OSTYPE==="cygwin"||process.env.OSTYPE==="msys",Boe=H("path"),yut=rM?";":":",Woe=$oe();function zoe(t){var e=new Error("not found: "+t);return e.code="ENOENT",e}function Uoe(t,e){var r=e.colon||yut,n=e.path||process.env.PATH||"",i=[""];n=n.split(r);var s="";return rM&&(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(/\//)||rM&&t.match(/\\/))&&(n=[""]),{env:n,ext:i,extExe:s}}function Hoe(t,e,r){typeof e=="function"&&(r=e,e={});var n=Uoe(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(zoe(t));var f=i[l];f.charAt(0)==='"'&&f.slice(-1)==='"'&&(f=f.slice(1,-1));var d=Boe.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];Woe(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 but(t,e){e=e||{};for(var r=Uoe(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=Boe.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=Woe.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 zoe(t)}});var Qoe=m((tIt,Yoe)=>{"use strict";var Koe=H("fs"),vut=H("os"),eo=H("path"),wut=Ooe(),Cr,_ut=()=>{if(process.env.PREFIX)return process.env.PREFIX;if(Cr)return Cr;let t=vut.homedir();if(t&&(Cr=nM(eo.resolve(t,".npmrc"))),Cr)return Cr;let e=xut();if(e&&(Cr=nM(eo.resolve(e,"..","..","npmrc")),Cr&&(Cr=nM(eo.resolve(Cr,"etc","npmrc"))||Cr)),!Cr){let{APPDATA:r,DESTDIR:n,OSTYPE:i}=process.env;if(process.platform==="win32"||i==="msys"||i==="cygwin")return Cr=r?eo.join(r,"npm"):eo.dirname(process.execPath),Cr;Cr=eo.dirname(eo.dirname(process.execPath)),n&&(Cr=eo.join(n,Cr))}return Cr};function xut(){try{return Koe.realpathSync(Goe().sync("npm"))}catch{}}function nM(t){try{return wut.parse(Koe.readFileSync(t,"utf-8")).prefix}catch{}}Reflect.defineProperty(Yoe,"exports",{get(){return _ut()}})});var tae=m((rIt,eae)=>{"use strict";var Joe=H("path"),Xoe=Qoe(),Zoe;function Sut(){return process.platform==="win32"||process.env.OSTYPE==="msys"||process.env.OSTYPE==="cygwin"?Joe.resolve(Xoe,"node_modules"):Joe.resolve(Xoe,"lib/node_modules")}Reflect.defineProperty(eae,"exports",{get(){return Zoe||(Zoe=Sut())}})});var sae=m((nIt,iM)=>{"use strict";var rae=H("path"),nae=H("module"),kut=H("fs"),iae=(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=kut.realpathSync(t)}catch(s){if(s.code==="ENOENT")t=rae.resolve(t);else{if(r)return;throw s}}let n=rae.join(t,"noop.js"),i=()=>nae._resolveFilename(e,{id:n,filename:n,paths:nae._nodeModulePaths(t)});if(r)try{return i()}catch{return}return i()};iM.exports=(t,e)=>iae(t,e);iM.exports.silent=(t,e)=>iae(t,e,!0)});var aae=m((iIt,oae)=>{"use strict";var Eut=Lc(),Cut=tae(),sM=sae();oae.exports=function(e,r,n=process.cwd()){let i=sM.silent(e,r);if(i||(i=sM.silent(n,r)),i||(i=sM.silent(Cut,r)),!i)throw Eut(`Could not find "${r}". Do you need a \`configBasedir\`?`);return i}});var fae=m((sIt,cae)=>{"use strict";var uae=H("path"),Dut=Array.prototype.slice;function Out(){var t;return t=Dut.call(arguments,0),t.reduce(function(e,r){return lae(e,function(n){return lae(r,function(i){return qut(n,i)})})},"")}function lae(t,e){return Array.isArray(t)?t.reduce(function(r,n){return r.concat(e(n))},[]):e(t)}function qut(t,e){var r,n;return e[0]==="!"?(n=e.substr(1),t[0]==="!"?r="":r="!",r+uae.join(t,n)):uae.join(t,e)}cae.exports=Out});var pae=m((oIt,dae)=>{"use strict";var Rut=l2(),Aut=s1();function Put(t){if(!t.rules)return t;let e={};for(let[r,n]of Object.entries(t.rules)){let i=Aut(r,t);i?e[r]=Rut(n,i):e[r]=[]}return t.rules=e,t}dae.exports=Put});var B1=m((aIt,hae)=>{hae.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 lM=m((uIt,vae)=>{"use strict";var aM=Lc(),W1=aae(),gae=fae(),Tut=wg(),Mut=pae(),Fut=B1(),Gd=H("path");async function mae(t,e,r,n,i,s){let o=e;n&&(o=zut(t,o)),s&&(o=bae(o,i,s)),o=await jut(t,o,r,i,s);let a=t._options.cwd;return yae(o,r,a)}function Lut(t){return async e=>{if(!e)return null;let r=Gd.dirname(e.filepath||""),{config:n}=e;return{config:yae(n,r,t),filepath:e.filepath}}}async function Iut(t,e,r){if(!r)return null;let n=r.config,i=r.filepath,s=t._options.configBasedir||Gd.dirname(i||""),o=await mae(t,n,s,!0,s,e);if(o=But(o),o=Wut(o),!o.rules)throw aM('No rules found within configuration. Have you provided a "rules" property?');return o=Mut(o),{config:o,filepath:r.filepath}}function yae(t,e,r){return t.ignoreFiles&&(t.ignoreFiles=[t.ignoreFiles].flat().map(n=>Gd.isAbsolute(n.replace(/^!/,""))?n:gae(e,n))),t.plugins&&(t.plugins=[t.plugins].flat().map(n=>typeof n=="string"?W1(e,n,r):n)),t.processors&&(t.processors=Nut(t.processors,e)),t}function Nut(t,e){return(Array.isArray(t)?t:[t]).map(n=>typeof n=="string"?W1(e,n):[W1(e,n[0]),n[1]])}async function jut(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 $ut(t,r,l);if(c){let f=c.config,d=Gd.dirname(c.filepath||"");f=await mae(t,f,d,!1,n,i),u=uM(u,f)}}return uM(u,o)}function $ut(t,e,r){let n=W1(e,r,t._options.cwd);return t._extendExplorer.load(n)}function uM(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 But(t){if(!t.plugins)return t;let e=[t.plugins].flat(),r={};for(let n of e){let i;typeof n=="string"?i=H(n):i=n,i=i.default||i;let s=[i].flat();for(let o of s){if(!o.ruleName)throw aM(`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 aM(`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 oM=new Map;function Wut(t){if(!t.processors)return t;let e=[],r=[];for(let n of[t.processors].flat()){let i=JSON.stringify(n),s;if(oM.has(i))s=oM.get(i);else{let o=typeof n=="string"?n:n[0],a=typeof n=="string"?void 0:n[1],u=H(o);u=u.default||u,s=u(a),oM.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 bae(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=>Gd.isAbsolute(l.replace(/^!/,""))?l:gae(e,l)).map(l=>Fut(l));Tut.isMatch(r,u,{dot:!0})&&(i=uM(i,a))}return i}function zut(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}vae.exports={augmentConfigExtended:Lut,augmentConfigFull:Iut,applyOverrides:bae}});var _ae=m((cIt,wae)=>{var fl=1e3,dl=fl*60,pl=dl*60,va=pl*24,Uut=va*7,Hut=va*365.25;wae.exports=function(t,e){e=e||{};var r=typeof t;if(r==="string"&&t.length>0)return Vut(t);if(r==="number"&&isFinite(t))return e.long?Kut(t):Gut(t);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function Vut(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*Hut;case"weeks":case"week":case"w":return r*Uut;case"days":case"day":case"d":return r*va;case"hours":case"hour":case"hrs":case"hr":case"h":return r*pl;case"minutes":case"minute":case"mins":case"min":case"m":return r*dl;case"seconds":case"second":case"secs":case"sec":case"s":return r*fl;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Gut(t){var e=Math.abs(t);return e>=va?Math.round(t/va)+"d":e>=pl?Math.round(t/pl)+"h":e>=dl?Math.round(t/dl)+"m":e>=fl?Math.round(t/fl)+"s":t+"ms"}function Kut(t){var e=Math.abs(t);return e>=va?z1(t,e,va,"day"):e>=pl?z1(t,e,pl,"hour"):e>=dl?z1(t,e,dl,"minute"):e>=fl?z1(t,e,fl,"second"):t+" ms"}function z1(t,e,r,n){var i=e>=r*1.5;return Math.round(t/r)+" "+n+(i?"s":"")}});var cM=m((fIt,xae)=>{function Yut(t){r.debug=r,r.default=r,r.coerce=u,r.disable=s,r.enable=i,r.enabled=o,r.humanize=_ae(),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}xae.exports=Yut});var Sae=m((_n,U1)=>{_n.formatArgs=Jut;_n.save=Xut;_n.load=Zut;_n.useColors=Qut;_n.storage=elt();_n.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`."))}})();_n.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 Qut(){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 Jut(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)}_n.log=console.debug||console.log||(()=>{});function Xut(t){try{t?_n.storage.setItem("debug",t):_n.storage.removeItem("debug")}catch{}}function Zut(){let t;try{t=_n.storage.getItem("debug")}catch{}return!t&&typeof process<"u"&&"env"in process&&(t=process.env.DEBUG),t}function elt(){try{return localStorage}catch{}}U1.exports=cM()(_n);var{formatters:tlt}=U1.exports;tlt.j=function(t){try{return JSON.stringify(t)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}});var fM=m((dIt,kae)=>{"use strict";kae.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 hM=m((pIt,Cae)=>{"use strict";var rlt=H("os"),Eae=H("tty"),Wn=fM(),{env:fr}=process,to;Wn("no-color")||Wn("no-colors")||Wn("color=false")||Wn("color=never")?to=0:(Wn("color")||Wn("colors")||Wn("color=true")||Wn("color=always"))&&(to=1);"FORCE_COLOR"in fr&&(fr.FORCE_COLOR==="true"?to=1:fr.FORCE_COLOR==="false"?to=0:to=fr.FORCE_COLOR.length===0?1:Math.min(parseInt(fr.FORCE_COLOR,10),3));function dM(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function pM(t,e){if(to===0)return 0;if(Wn("color=16m")||Wn("color=full")||Wn("color=truecolor"))return 3;if(Wn("color=256"))return 2;if(t&&!e&&to===void 0)return 0;let r=to||0;if(fr.TERM==="dumb")return r;if(process.platform==="win32"){let n=rlt.release().split(".");return Number(n[0])>=10&&Number(n[2])>=10586?Number(n[2])>=14931?3:2:1}if("CI"in fr)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(n=>n in fr)||fr.CI_NAME==="codeship"?1:r;if("TEAMCITY_VERSION"in fr)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(fr.TEAMCITY_VERSION)?1:0;if(fr.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in fr){let n=parseInt((fr.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(fr.TERM_PROGRAM){case"iTerm.app":return n>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(fr.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(fr.TERM)||"COLORTERM"in fr?1:r}function nlt(t){let e=pM(t,t&&t.isTTY);return dM(e)}Cae.exports={supportsColor:nlt,stdout:dM(pM(!0,Eae.isatty(1))),stderr:dM(pM(!0,Eae.isatty(2)))}});var Oae=m((Dr,V1)=>{var ilt=H("tty"),H1=H("util");Dr.init=flt;Dr.log=ult;Dr.formatArgs=olt;Dr.save=llt;Dr.load=clt;Dr.useColors=slt;Dr.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`.");Dr.colors=[6,2,3,4,5,1];try{let t=hM();t&&(t.stderr||t).level>=2&&(Dr.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{}Dr.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 slt(){return"colors"in Dr.inspectOpts?Boolean(Dr.inspectOpts.colors):ilt.isatty(process.stderr.fd)}function olt(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]=alt()+e+" "+t[0]}function alt(){return Dr.inspectOpts.hideDate?"":new Date().toISOString()+" "}function ult(...t){return process.stderr.write(H1.format(...t)+`
316
+ `)}function llt(t){t?process.env.DEBUG=t:delete process.env.DEBUG}function clt(){return process.env.DEBUG}function flt(t){t.inspectOpts={};let e=Object.keys(Dr.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Dr.inspectOpts[e[r]]}V1.exports=cM()(Dr);var{formatters:Dae}=V1.exports;Dae.o=function(t){return this.inspectOpts.colors=this.useColors,H1.inspect(t,this.inspectOpts).split(`
317
+ `).map(e=>e.trim()).join(" ")};Dae.O=function(t){return this.inspectOpts.colors=this.useColors,H1.inspect(t,this.inspectOpts)}});var mM=m((hIt,gM)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?gM.exports=Sae():gM.exports=Oae()});var Nae=m(Yd=>{"use strict";var{parse:Aae,stringify:Pae}=JSON,{keys:dlt}=Object,Kd=String,Tae="string",qae={},G1="object",Mae=(t,e)=>e,plt=t=>t instanceof Kd?Kd(t):t,hlt=(t,e)=>typeof e===Tae?new Kd(e):e,Fae=(t,e,r,n)=>{let i=[];for(let s=dlt(r),{length:o}=s,a=0;a<o;a++){let u=s[a],l=r[u];if(l instanceof Kd){let c=t[l];typeof c===G1&&!e.has(c)?(e.add(c),r[u]=qae,i.push({k:u,a:[t,e,c,n]})):r[u]=n.call(r,u,c)}else r[u]!==qae&&(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,Fae.apply(null,u))}return r},Rae=(t,e,r)=>{let n=Kd(e.push(r)-1);return t.set(r,n),n},Lae=(t,e)=>{let r=Aae(t,hlt).map(plt),n=r[0],i=e||Mae,s=typeof n===G1&&n?Fae(r,new Set,n,i):n;return i.call({"":s},"",s)};Yd.parse=Lae;var Iae=(t,e,r)=>{let n=e&&typeof e===G1?(c,f)=>c===""||-1<e.indexOf(c)?f:void 0:e||Mae,i=new Map,s=[],o=[],a=+Rae(i,s,n.call({"":t},"",t)),u=!a;for(;a<s.length;)u=!0,o[a]=Pae(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 Tae:return i.get(d)||Rae(i,s,d)}return d}};Yd.stringify=Iae;var glt=t=>Aae(Iae(t));Yd.toJSON=glt;var mlt=t=>Lae(Pae(t));Yd.fromJSON=mlt});var Bae=m((mIt,$ae)=>{var yM=H("fs"),ylt=H("path"),jae=Nae();$ae.exports={tryParse:function(t,e){var r;try{r=this.readJSON(t)}catch{r=e}return r},readJSON:function(t){return jae.parse(yM.readFileSync(t,{encoding:"utf8"}))},writeJSON:function(t,e){yM.mkdirSync(ylt.dirname(t),{recursive:!0}),yM.writeFileSync(t,jae.stringify(e))}}});var Wae=m(bM=>{var wa=H("path"),no=process.platform==="win32",ro=H("fs"),blt=process.env.NODE_DEBUG&&/fs/.test(process.env.NODE_DEBUG);function vlt(){var t;if(blt){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 wlt(t){return typeof t=="function"?t:vlt()}var yIt=wa.normalize;no?ps=/(.*?)(?:[\/\\]+|$)/g:ps=/(.*?)(?:[\/]+|$)/g;var ps;no?Qd=/^(?:[a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/][^\\\/]+)?[\\\/]*/:Qd=/^[\/]*/;var Qd;bM.realpathSync=function(e,r){if(e=wa.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=Qd.exec(e);o=b[0].length,a=b[0],u=b[0],l="",no&&!s[u]&&(ro.lstatSync(u),s[u]=!0)}for(;o<e.length;){ps.lastIndex=o;var f=ps.exec(e);if(l=a,a+=f[0],u=l+f[1],o=ps.lastIndex,!(s[u]||r&&r[u]===u)){var d;if(r&&Object.prototype.hasOwnProperty.call(r,u))d=r[u];else{var p=ro.lstatSync(u);if(!p.isSymbolicLink()){s[u]=!0,r&&(r[u]=u);continue}var h=null;if(!no){var y=p.dev.toString(32)+":"+p.ino.toString(32);i.hasOwnProperty(y)&&(h=i[y])}h===null&&(ro.statSync(u),h=ro.readlinkSync(u)),d=wa.resolve(l,h),r&&(r[u]=d),no||(i[y]=h)}e=wa.resolve(d,e.slice(o)),c()}}return r&&(r[n]=e),e};bM.realpath=function(e,r,n){if(typeof n!="function"&&(n=wlt(r),r=null),e=wa.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=Qd.exec(e);a=b[0].length,u=b[0],l=b[0],c="",no&&!o[l]?ro.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);ps.lastIndex=a;var b=ps.exec(e);return c=u,u+=b[0],l=c+b[1],a=ps.lastIndex,o[l]||r&&r[l]===l?process.nextTick(d):r&&Object.prototype.hasOwnProperty.call(r,l)?y(r[l]):ro.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(!no){var v=g.dev.toString(32)+":"+g.ino.toString(32);if(s.hasOwnProperty(v))return h(null,s[v],l)}ro.stat(l,function(w){if(w)return n(w);ro.readlink(l,function(_,x){no||(s[v]=x),h(_,x)})})}function h(b,g,v){if(b)return n(b);var w=wa.resolve(c,g);r&&(r[v]=w),y(w)}function y(b){e=wa.resolve(b,e.slice(a)),f()}}});var xM=m((vIt,Vae)=>{Vae.exports=io;io.realpath=io;io.sync=_M;io.realpathSync=_M;io.monkeypatch=xlt;io.unmonkeypatch=Slt;var hl=H("fs"),vM=hl.realpath,wM=hl.realpathSync,_lt=process.version,zae=/^v[0-5]\./.test(_lt),Uae=Wae();function Hae(t){return t&&t.syscall==="realpath"&&(t.code==="ELOOP"||t.code==="ENOMEM"||t.code==="ENAMETOOLONG")}function io(t,e,r){if(zae)return vM(t,e,r);typeof e=="function"&&(r=e,e=null),vM(t,e,function(n,i){Hae(n)?Uae.realpath(t,e,r):r(n,i)})}function _M(t,e){if(zae)return wM(t,e);try{return wM(t,e)}catch(r){if(Hae(r))return Uae.realpathSync(t,e);throw r}}function xlt(){hl.realpath=io,hl.realpathSync=_M}function Slt(){hl.realpath=vM,hl.realpathSync=wM}});var Kae=m((wIt,Gae)=>{Gae.exports=function(t,e){for(var r=[],n=0;n<t.length;n++){var i=e(t[n],n);klt(i)?r.push.apply(r,i):r.push(i)}return r};var klt=Array.isArray||function(t){return Object.prototype.toString.call(t)==="[object Array]"}});var rue=m((_It,tue)=>{var Elt=Kae(),Yae=Bg();tue.exports=Olt;var Qae="\0SLASH"+Math.random()+"\0",Jae="\0OPEN"+Math.random()+"\0",kM="\0CLOSE"+Math.random()+"\0",Xae="\0COMMA"+Math.random()+"\0",Zae="\0PERIOD"+Math.random()+"\0";function SM(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function Clt(t){return t.split("\\\\").join(Qae).split("\\{").join(Jae).split("\\}").join(kM).split("\\,").join(Xae).split("\\.").join(Zae)}function Dlt(t){return t.split(Qae).join("\\").split(Jae).join("{").split(kM).join("}").split(Xae).join(",").split(Zae).join(".")}function eue(t){if(!t)return[""];var e=[],r=Yae("{","}",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=eue(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function Olt(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),gl(Clt(t),!0).map(Dlt)):[]}function qlt(t){return"{"+t+"}"}function Rlt(t){return/^-?0\d/.test(t)}function Alt(t,e){return t<=e}function Plt(t,e){return t>=e}function gl(t,e){var r=[],n=Yae("{","}",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+kM+n.post,gl(t)):[t];var u;if(o)u=n.body.split(/\.\./);else if(u=eue(n.body),u.length===1&&(u=gl(u[0],!1).map(qlt),u.length===1)){var c=n.post.length?gl(n.post,!1):[""];return c.map(function($){return n.pre+u[0]+$})}var l=n.pre,c=n.post.length?gl(n.post,!1):[""],f;if(o){var d=SM(u[0]),p=SM(u[1]),h=Math.max(u[0].length,u[1].length),y=u.length==3?Math.abs(SM(u[2])):1,b=Alt,g=p<d;g&&(y*=-1,b=Plt);var v=u.some(Rlt);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=Elt(u,function(z){return gl(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((xIt,aue)=>{aue.exports=xn;xn.Minimatch=Or;var Jd=function(){try{return H("path")}catch{}}()||{sep:"/"};xn.sep=Jd.sep;var DM=xn.GLOBSTAR=Or.GLOBSTAR={},Tlt=rue(),nue={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},EM="[^/]",CM=EM+"*?",Mlt="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",Flt="(?:(?!(?:\\/|^)\\.).)*?",iue=Llt("().*{}+?[]^$\\!");function Llt(t){return t.split("").reduce(function(e,r){return e[r]=!0,e},{})}var sue=/\/+/;xn.filter=Ilt;function Ilt(t,e){return e=e||{},function(r,n,i){return xn(r,t,e)}}function so(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}xn.defaults=function(t){if(!t||typeof t!="object"||!Object.keys(t).length)return xn;var e=xn,r=function(i,s,o){return e(i,s,so(t,o))};return r.Minimatch=function(i,s){return new e.Minimatch(i,so(t,s))},r.Minimatch.defaults=function(i){return e.defaults(so(t,i)).Minimatch},r.filter=function(i,s){return e.filter(i,so(t,s))},r.defaults=function(i){return e.defaults(so(t,i))},r.makeRe=function(i,s){return e.makeRe(i,so(t,s))},r.braceExpand=function(i,s){return e.braceExpand(i,so(t,s))},r.match=function(n,i,s){return e.match(n,i,so(t,s))},r};Or.defaults=function(t){return xn.defaults(t).Minimatch};function xn(t,e,r){return Y1(e),r||(r={}),!r.nocomment&&e.charAt(0)==="#"?!1:new Or(e,r).match(t)}function Or(t,e){if(!(this instanceof Or))return new Or(t,e);Y1(t),e||(e={}),t=t.trim(),!e.allowWindowsEscape&&Jd.sep!=="/"&&(t=t.split(Jd.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()}Or.prototype.debug=function(){};Or.prototype.make=Nlt;function Nlt(){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(sue)}),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}Or.prototype.parseNegate=jlt;function jlt(){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}}xn.braceExpand=function(t,e){return oue(t,e)};Or.prototype.braceExpand=oue;function oue(t,e){return e||(this instanceof Or?e=this.options:e={}),t=typeof t>"u"?this.pattern:t,Y1(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:Tlt(t)}var $lt=1024*64,Y1=function(t){if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>$lt)throw new TypeError("pattern is too long")};Or.prototype.parse=Blt;var K1={};function Blt(t,e){Y1(t);var r=this.options;if(t==="**")if(r.noglobstar)t="*";else return DM;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+=CM,i=!0;break;case"?":n+=EM,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&&iue[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:nue[u].open,close:nue[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:iue[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(ae,se,he){return he||(he="\\"),se+se+he+"|"}),this.debug(`tail=%j
318
+ %s`,x,x,v,n);var C=v.type==="*"?CM:v.type==="?"?EM:"\\"+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),te=n.slice(R.reEnd-8,R.reEnd),K=n.slice(R.reEnd);te+=K;var ue=z.split("(").length-1,F=K;for(y=0;y<ue;y++)F=F.replace(/\)[+*?]?/,"");K=F;var T="";K===""&&e!==K1&&(T="$");var le=z+$+K+T+te;n=le}if(n!==""&&i&&(n="(?=.)"+n),M&&(n=d+n),e===K1)return[n,i];if(!i)return zlt(t);var ne=r.nocase?"i":"";try{var de=new RegExp("^"+n+"$",ne)}catch{return new RegExp("$.")}return de._glob=t,de._src=n,de}xn.makeRe=function(t,e){return new Or(t,e||{}).makeRe()};Or.prototype.makeRe=Wlt;function Wlt(){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?CM:e.dot?Mlt:Flt,n=e.nocase?"i":"",i=t.map(function(s){return s.map(function(o){return o===DM?r:typeof o=="string"?Ult(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}xn.match=function(t,e,r){r=r||{};var n=new Or(e,r);return t=t.filter(function(i){return n.match(i)}),n.options.nonull&&!t.length&&t.push(e),t};Or.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;Jd.sep!=="/"&&(e=e.split(Jd.sep).join("/")),e=e.split(sue),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};Or.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===DM){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 zlt(t){return t.replace(/\\(.)/g,"$1")}function Ult(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}});var uue=m((SIt,OM)=>{typeof Object.create=="function"?OM.exports=function(e,r){r&&(e.super_=r,e.prototype=Object.create(r.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:OM.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 lue=m((kIt,RM)=>{try{if(qM=H("util"),typeof qM.inherits!="function")throw"";RM.exports=qM.inherits}catch{RM.exports=uue()}var qM});var X1=m((EIt,J1)=>{"use strict";function cue(t){return t.charAt(0)==="/"}function fue(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"?fue:cue;J1.exports.posix=cue;J1.exports.win32=fue});var PM=m(oo=>{oo.setopts=Ylt;oo.ownProp=due;oo.makeAbs=Xd;oo.finish=Qlt;oo.mark=Jlt;oo.isIgnored=hue;oo.childrenIgnored=Xlt;function due(t,e){return Object.prototype.hasOwnProperty.call(t,e)}var ml=H("path"),Hlt=Q1(),pue=X1(),AM=Hlt.Minimatch;function Vlt(t,e){return t.localeCompare(e,"en")}function Glt(t,e){t.ignore=e.ignore||[],Array.isArray(t.ignore)||(t.ignore=[t.ignore]),t.ignore.length&&(t.ignore=t.ignore.map(Klt))}function Klt(t){var e=null;if(t.slice(-3)==="/**"){var r=t.replace(/(\/\*\*)+$/,"");e=new AM(r,{dot:!0})}return{matcher:new AM(t,{dot:!0}),gmatcher:e}}function Ylt(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),Glt(t,r),t.changedCwd=!1;var n=process.cwd();due(r,"cwd")?(t.cwd=ml.resolve(r.cwd),t.changedCwd=t.cwd!==n):t.cwd=n,t.root=r.root||ml.resolve(t.cwd,"/"),t.root=ml.resolve(t.root),process.platform==="win32"&&(t.root=t.root.replace(/\\/g,"/")),t.cwdAbs=pue(t.cwd)?t.cwd:Xd(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 AM(e,r),t.options=t.minimatch.options}function Qlt(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(Vlt)),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[Xd(t,u)];return l&&c&&(l=c!=="DIR"&&!Array.isArray(c)),l}))}t.ignore.length&&(r=r.filter(function(u){return!hue(t,u)})),t.found=r}function Jlt(t,e){var r=Xd(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=Xd(t,i);t.statCache[a]=t.statCache[r],t.cache[a]=t.cache[r]}}return i}function Xd(t,e){var r=e;return e.charAt(0)==="/"?r=ml.join(t.root,e):pue(e)||e===""?r=e:t.changedCwd?r=ml.resolve(t.cwd,e):r=ml.resolve(e),process.platform==="win32"&&(r=r.replace(/\\/g,"/")),r}function hue(t,e){return t.ignore.length?t.ignore.some(function(r){return r.matcher.match(e)||!!(r.gmatcher&&r.gmatcher.match(e))}):!1}function Xlt(t,e){return t.ignore.length?t.ignore.some(function(r){return!!(r.gmatcher&&r.gmatcher.match(e))}):!1}});var vue=m((RIt,bue)=>{bue.exports=yue;yue.GlobSync=sr;var eS=H("fs"),Zlt=xM(),gue=Q1(),DIt=gue.Minimatch,OIt=FM().Glob,qIt=H("util"),TM=H("path"),mue=H("assert"),Z1=X1(),_a=PM(),ect=_a.setopts,MM=_a.ownProp,tct=_a.childrenIgnored,rct=_a.isIgnored;function yue(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 sr(t,e).found}function sr(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 sr))return new sr(t,e);if(ect(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()}sr.prototype._finish=function(){if(mue(this instanceof sr),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=Zlt.realpathSync(i,t.realpathCache);n[s]=!0}catch(o){if(o.syscall==="stat")n[t._makeAbs(i)]=!0;else throw o}})}_a.finish(this)};sr.prototype._process=function(t,e,r){mue(this instanceof sr);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(!tct(this,o)){var u=s[0]===gue.GLOBSTAR;u?this._processGlobStar(i,o,a,s,e,r):this._processReaddir(i,o,a,s,e,r)}};sr.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=TM.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)}}}};sr.prototype._emitMatch=function(t,e){if(!rct(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)}}};sr.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};sr.prototype._readdir=function(t,e){var r;if(e&&!MM(this.symlinks,t))return this._readdirInGlobStar(t);if(MM(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}};sr.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};sr.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}};sr.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)}}}};sr.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=TM.join(this.root,t):(t=TM.resolve(this.root,t),n&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t)}};sr.prototype._stat=function(t){var e=this._makeAbs(t),r=t.slice(-1)==="/";if(t.length>this.maxLength)return!1;if(!this.stat&&MM(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};sr.prototype._mark=function(t){return _a.mark(this,t)};sr.prototype._makeAbs=function(t){return _a.makeAbs(this,t)}});var LM=m((AIt,_ue)=>{_ue.exports=wue;function wue(t,e){if(t&&e)return wue(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 NM=m((PIt,IM)=>{var xue=LM();IM.exports=xue(tS);IM.exports.strict=xue(Sue);tS.proto=tS(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return tS(this)},configurable:!0}),Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return Sue(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 Sue(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 Eue=m((TIt,kue)=>{var nct=LM(),Zd=Object.create(null),ict=NM();kue.exports=nct(sct);function sct(t,e){return Zd[t]?(Zd[t].push(e),null):(Zd[t]=[e],oct(t))}function oct(t){return ict(function e(){var r=Zd[t],n=r.length,i=act(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 Zd[t]}})}function act(t){for(var e=t.length,r=[],n=0;n<e;n++)r[n]=t[n];return r}});var FM=m((LIt,Due)=>{Due.exports=xa;var rS=H("fs"),uct=xM(),Cue=Q1(),MIt=Cue.Minimatch,lct=lue(),cct=H("events").EventEmitter,jM=H("path"),$M=H("assert"),ep=X1(),WM=vue(),Sa=PM(),fct=Sa.setopts,BM=Sa.ownProp,zM=Eue(),FIt=H("util"),dct=Sa.childrenIgnored,pct=Sa.isIgnored,hct=NM();function xa(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 WM(t,e)}return new ut(t,e,r)}xa.sync=WM;var gct=xa.GlobSync=WM.GlobSync;xa.glob=xa;function mct(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}xa.hasMagic=function(t,e){var r=mct({},e);r.noprocess=!0;var n=new ut(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};xa.Glob=ut;lct(ut,cct);function ut(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 gct(t,e)}if(!(this instanceof ut))return new ut(t,e,r);fct(this,t,e),this._didRealPath=!1;var n=this.minimatch.set.length;this.matches=new Array(n),typeof r=="function"&&(r=hct(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())}}ut.prototype._finish=function(){if($M(this instanceof ut),!this.aborted){if(this.realpath&&!this._didRealpath)return this._realpath();Sa.finish(this),this.emit("end",this.found)}};ut.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()}};ut.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),uct.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())})})};ut.prototype._mark=function(t){return Sa.mark(this,t)};ut.prototype._makeAbs=function(t){return Sa.makeAbs(this,t)};ut.prototype.abort=function(){this.aborted=!0,this.emit("abort")};ut.prototype.pause=function(){this.paused||(this.paused=!0,this.emit("pause"))};ut.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])}}}};ut.prototype._process=function(t,e,r,n){if($M(this instanceof ut),$M(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=".":((ep(s)||ep(t.join("/")))&&(!s||!ep(s))&&(s="/"+s),a=s);var u=this._makeAbs(a);if(dct(this,a))return n();var l=o[0]===Cue.GLOBSTAR;l?this._processGlobStar(s,a,u,o,e,r,n):this._processReaddir(s,a,u,o,e,r,n)}};ut.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)})};ut.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=jM.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()};ut.prototype._emitMatch=function(t,e){if(!this.aborted&&!pct(this,e)){if(this.paused){this._emitQueue.push([t,e]);return}var r=ep(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)}}};ut.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=zM(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)}};ut.prototype._readdir=function(t,e,r){if(!this.aborted&&(r=zM("readdir\0"+t+"\0"+e,r),!!r)){if(e&&!BM(this.symlinks,t))return this._readdirInGlobStar(t,r);if(BM(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,yct(this,t,r))}};function yct(t,e,r){return function(n,i){n?t._readdirError(e,n,r):t._readdirEntries(e,i,r)}}ut.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)}};ut.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()}};ut.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)})};ut.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()};ut.prototype._processSimple=function(t,e,r){var n=this;this._stat(t,function(i,s){n._processSimple2(t,e,i,s,r)})};ut.prototype._processSimple2=function(t,e,r,n,i){if(this.matches[e]||(this.matches[e]=Object.create(null)),!n)return i();if(t&&ep(t)&&!this.nomount){var s=/[\/\\]$/.test(t);t.charAt(0)==="/"?t=jM.join(this.root,t):(t=jM.resolve(this.root,t),s&&(t+="/"))}process.platform==="win32"&&(t=t.replace(/\\/g,"/")),this._emitMatch(e,t),i()};ut.prototype._stat=function(t,e){var r=this._makeAbs(t),n=t.slice(-1)==="/";if(t.length>this.maxLength)return e();if(!this.stat&&BM(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=zM("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)}};ut.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 Fue=m((IIt,Mue)=>{var mt=H("assert"),Aue=H("path"),Oue=H("fs"),yl;try{yl=FM()}catch{}var bct={nosort:!0,silent:!0},UM=0,tp=process.platform==="win32",Pue=t=>{if(["unlink","chmod","stat","lstat","rmdir","readdir"].forEach(r=>{t[r]=t[r]||Oue[r],r=r+"Sync",t[r]=t[r]||Oue[r]}),t.maxBusyTries=t.maxBusyTries||3,t.emfileWait=t.emfileWait||1e3,t.glob===!1&&(t.disableGlob=!0),t.disableGlob!==!0&&yl===void 0)throw Error("glob dependency not found, set `options.disableGlob = true` if intentional");t.disableGlob=t.disableGlob||!1,t.glob=t.glob||bct},VM=(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"),Pue(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(()=>HM(c,e,f),n*100);if(d.code==="EMFILE"&&UM<e.emfileWait)return setTimeout(()=>HM(c,e,f),UM++);d.code==="ENOENT"&&(d=null)}UM=0,o(d)};HM(c,e,f)})};if(e.disableGlob||!yl.hasMagic(t))return a(null,[t]);e.lstat(t,(u,l)=>{if(!u)return a(null,[t]);yl(t,e.glob,a)})},HM=(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"&&tp&&que(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 tp?que(t,e,s,r):nS(t,e,s,r);if(s.code==="EISDIR")return nS(t,e,s,r)}return r(s)})})},que=(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)})})},Rue=(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")?vct(t,e,n):i&&i.code==="ENOTDIR"?n(r):n(i)})},vct=(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=>{VM(Aue.join(t,a),e,u=>{if(!o){if(u)return r(o=u);--s===0&&e.rmdir(t,r)}})})})},Tue=(t,e)=>{e=e||{},Pue(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||!yl.hasMagic(t))r=[t];else try{e.lstatSync(t),r=[t]}catch{r=yl.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"&&tp&&Rue(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 tp?Rue(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")&&wct(t,e)}},wct=(t,e)=>{mt(t),mt(e),e.readdirSync(t).forEach(i=>Tue(Aue.join(t,i),e));let r=tp?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)};Mue.exports=VM;VM.sync=Tue});var Iue=m((NIt,Lue)=>{var _ct=Fue().sync,xct=H("fs");Lue.exports=function(e){return xct.existsSync(e)?(_ct(e,{glob:!1}),!0):!1}});var Bue=m((jIt,$ue)=>{var ao=H("path"),Sct=H("fs"),jue=Bae(),GM=Iue(),kct=jue.writeJSON,Nue={load:function(t,e){var r=this;r._visited={},r._persisted={},r._pathToFile=e?ao.resolve(e,t):ao.resolve(__dirname,"../.cache/",t),Sct.existsSync(r._pathToFile)&&(r._persisted=jue.tryParse(r._pathToFile,{}))},loadFile:function(t){var e=this,r=ao.dirname(t),n=ao.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(),kct(e._pathToFile,e._persisted)},removeCacheFile:function(){return GM(this._pathToFile)},destroy:function(){var t=this;t._visited={},t._persisted={},t.removeCacheFile()}};$ue.exports={load:function(t,e){return this.create(t,e)},create:function(t,e){var r=Object.create(Nue);return r.load(t,e),r},createFromFile:function(t){var e=Object.create(Nue);return e.loadFile(t),e},clearCacheById:function(t,e){var r=e?ao.resolve(e,t):ao.resolve(__dirname,"../.cache/",t);return GM(r)},clearAll:function(t){var e=t?ao.resolve(t):ao.resolve(__dirname,"../.cache/");return GM(e)}}});var Uue=m(($It,zue)=>{var Wue=H("path"),Ect=H("crypto");zue.exports={createFromFile:function(t,e){var r=Wue.basename(t),n=Wue.dirname(t);return this.create(r,n,e)},create:function(t,e,r){var n=H("fs"),i=Bue(),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 Ect.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 YM=m((BIt,KM)=>{(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 KM<"u"?KM.exports=e:this.MurmurHash3=e})()});var QM=m((WIt,Hue)=>{"use strict";var Cct=YM();Hue.exports=function(e){return Cct(e).result().toString(36)}});var Gue=m((zIt,Vue)=>{"use strict";var Dct=H("fs"),Oct=QM(),sS=H("path");Vue.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_${Oct(r)}`)}let o;try{o=Dct.lstatSync(n)}catch{o=null}return i||o&&o.isDirectory()?s():n}});var Kue=m((UIt,qct)=>{qct.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 Jue=m((HIt,Que)=>{"use strict";var Yue=mM()("stylelint:file-cache"),Rct=Uue(),Act=Gue(),Pct=QM(),Tct=Kue(),Mct=H("path"),XM="metadata",JM="content",Fct="./.stylelintcache",Lct=XM,ZM=class{constructor(e=Fct,r=Lct,n=process.cwd()){if(![XM,JM].includes(r))throw new Error(`"${r}" cache strategy is unsupported. Specify either "${XM}" or "${JM}"`);let i=Mct.resolve(Act(e,n)),s=r===JM;Yue(`Cache file is created at ${i}`),this._fileCache=Rct.create(i,void 0,s),this._hashOfConfig=""}calcHashOfConfig(e){if(this._hashOfConfig)return;let r=Tct.version,n=JSON.stringify(e||{});this._hashOfConfig=Pct(`${r}_${n}`)}hasFileChanged(e){let r=this._fileCache.getFileDescriptor(e),n=r.meta||{},i=r.changed||n.hashOfConfig!==this._hashOfConfig;return i||Yue(`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)}};Que.exports=ZM});var rp=m((VIt,Xue)=>{"use strict";var{cosmiconfig:Ict}=ZT(),Nct=lM(),jct=Jue(),$ct=process.env.NODE_ENV==="test",Bct=$ct?process.cwd():void 0;Xue.exports=function(e={}){let r=e.cwd||process.cwd();return{_options:{...e,cwd:r},_extendExplorer:Ict("",{transform:Nct.augmentConfigExtended(r),stopDir:Bct}),_specifiedConfigCache:new Map,_postcssResultCache:new Map,_fileCache:new jct(e.cacheLocation,e.cacheStrategy,r)}}});var bl=m((GIt,Zue)=>{"use strict";Zue.exports=function(e){for(let r of e.parseErrors||[])e.warnings.push(Wct(r));for(let r of e.warnings)r.severity=zct(r);return e.warnings.sort(Uct),e};function Wct(t){return{line:t.line,column:t.column,rule:t.stylelintType,severity:"error",text:`${t.text} (${t.stylelintType})`}}function zct(t){return t.severity||"error"}function Uct(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 tle=m((KIt,ele)=>{"use strict";var Hct=bl();ele.exports=function(e){return e.flatMap(r=>{let{warnings:n}=Hct(r);return n.map(i=>`${r.source}: line ${i.line}, col ${i.column}, ${i.severity} - ${i.text}`)}).join(`
323
+ `)}});var nle=m((YIt,rle)=>{"use strict";var Vct=bl();rle.exports=function(e,r){let n="Stylelint problem",i=r.ruleMetadata;return e.flatMap(s=>{let{source:o,warnings:a}=Vct(s);return a.map(({line:u,column:l,endLine:c,endColumn:f,text:d,severity:p,rule:h})=>{let y=Gct(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 Gct(t,e){if(!e)return t;let r=e.url?` - ${e.url}`:"",n=e.fixable?" [maybe fixable]":"";return`${t}${n}${r}`}});var sle=m((QIt,ile)=>{"use strict";ile.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 ale=m((JIt,ole)=>{"use strict";ole.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((XIt,ule)=>{"use strict";var Kct=ale();ule.exports=t=>typeof t=="string"?t.replace(Kct(),""):t});var tF=m((ZIt,eF)=>{"use strict";var lle=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);eF.exports=lle;eF.exports.default=lle});var fle=m((e3t,cle)=>{"use strict";cle.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 ka=m((t3t,rF)=>{"use strict";var Yct=oS(),Qct=tF(),Jct=fle(),dle=t=>{if(typeof t!="string"||t.length===0||(t=Yct(t),t.length===0))return 0;t=t.replace(Jct()," ");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+=Qct(n)?2:1)}return e};rF.exports=dle;rF.exports.default=dle});var gle=m((r3t,hle)=>{"use strict";var ple="[\uD800-\uDBFF][\uDC00-\uDFFF]",Xct=t=>t&&t.exact?new RegExp(`^${ple}$`):new RegExp(ple,"g");hle.exports=Xct});var yle=m((n3t,mle)=>{"use strict";mle.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 nF=m((i3t,vle)=>{var np=yle(),ble={};for(let t of Object.keys(np))ble[np[t]]=t;var Ee={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"]}};vle.exports=Ee;for(let t of Object.keys(Ee)){if(!("channels"in Ee[t]))throw new Error("missing channels property: "+t);if(!("labels"in Ee[t]))throw new Error("missing channel labels property: "+t);if(Ee[t].labels.length!==Ee[t].channels)throw new Error("channel and label counts mismatch: "+t);let{channels:e,labels:r}=Ee[t];delete Ee[t].channels,delete Ee[t].labels,Object.defineProperty(Ee[t],"channels",{value:e}),Object.defineProperty(Ee[t],"labels",{value:r})}Ee.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]};Ee.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]};Ee.rgb.hwb=function(t){let e=t[0],r=t[1],n=t[2],i=Ee.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]};Ee.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 Zct(t,e){return(t[0]-e[0])**2+(t[1]-e[1])**2+(t[2]-e[2])**2}Ee.rgb.keyword=function(t){let e=ble[t];if(e)return e;let r=1/0,n;for(let i of Object.keys(np)){let s=np[i],o=Zct(t,s);o<r&&(r=o,n=i)}return n};Ee.keyword.rgb=function(t){return np[t]};Ee.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]};Ee.rgb.lab=function(t){let e=Ee.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]};Ee.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};Ee.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]};Ee.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]}};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.rgb.ansi16=function(t,e=null){let[r,n,i]=t,s=e===null?Ee.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};Ee.hsv.ansi16=function(t){return Ee.rgb.ansi16(Ee.hsv.rgb(t),t[2])};Ee.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)};Ee.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]};Ee.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]};Ee.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};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.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]};Ee.apple.rgb=function(t){return[t[0]/65535*255,t[1]/65535*255,t[2]/65535*255]};Ee.rgb.apple=function(t){return[t[0]/255*65535,t[1]/255*65535,t[2]/255*65535]};Ee.gray.rgb=function(t){return[t[0]/100*255,t[0]/100*255,t[0]/100*255]};Ee.gray.hsl=function(t){return[0,0,t[0]]};Ee.gray.hsv=Ee.gray.hsl;Ee.gray.hwb=function(t){return[0,100,t[0]]};Ee.gray.cmyk=function(t){return[0,0,0,t[0]]};Ee.gray.lab=function(t){return[t[0],0,0]};Ee.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};Ee.rgb.gray=function(t){return[(t[0]+t[1]+t[2])/3/255*100]}});var _le=m((s3t,wle)=>{var aS=nF();function eft(){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 tft(t){let e=eft(),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 rft(t,e){return function(r){return e(t(r))}}function nft(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=rft(aS[e[i].parent][i],n),i=e[i].parent;return n.conversion=r,n}wle.exports=function(t){let e=tft(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]=nft(o,e))}return r}});var Sle=m((o3t,xle)=>{var iF=nF(),ift=_le(),vl={},sft=Object.keys(iF);function oft(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 aft(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}sft.forEach(t=>{vl[t]={},Object.defineProperty(vl[t],"channels",{value:iF[t].channels}),Object.defineProperty(vl[t],"labels",{value:iF[t].labels});let e=ift(t);Object.keys(e).forEach(n=>{let i=e[n];vl[t][n]=aft(i),vl[t][n].raw=oft(i)})});xle.exports=vl});var qle=m((a3t,Ole)=>{"use strict";var kle=(t,e)=>(...r)=>`\x1B[${t(...r)+e}m`,Ele=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};5;${n}m`},Cle=(t,e)=>(...r)=>{let n=t(...r);return`\x1B[${38+e};2;${n[0]};${n[1]};${n[2]}m`},uS=t=>t,Dle=(t,e,r)=>[t,e,r],wl=(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})},sF,_l=(t,e,r,n)=>{sF===void 0&&(sF=Sle());let i=n?10:0,s={};for(let[o,a]of Object.entries(sF)){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 uft(){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",wl(e.color,"ansi",()=>_l(kle,"ansi16",uS,!1)),wl(e.color,"ansi256",()=>_l(Ele,"ansi256",uS,!1)),wl(e.color,"ansi16m",()=>_l(Cle,"rgb",Dle,!1)),wl(e.bgColor,"ansi",()=>_l(kle,"ansi16",uS,!0)),wl(e.bgColor,"ansi256",()=>_l(Ele,"ansi256",uS,!0)),wl(e.bgColor,"ansi16m",()=>_l(Cle,"rgb",Dle,!0)),e}Object.defineProperty(Ole,"exports",{enumerable:!0,get:uft})});var cS=m((u3t,Tle)=>{"use strict";var lft=tF(),cft=gle(),Rle=qle(),Ple=["\x1B","\x9B"],lS=t=>`${Ple[0]}[${t}m`,Ale=(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=Rle.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(Rle.codes.get(Number.parseInt(r,10)));n=n.reduce((s,o)=>o===i?[o,...s]:[...s,o],[])}return n.join("")};Tle.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(Ple.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++,!cft({exact:!0}).test(f)&&lft(f.codePointAt())&&(u++,typeof r!="number"&&s++),u>e&&u<=s)l+=f;else if(u===e&&!o&&a!==void 0)l=Ale(i);else if(u>=s){l+=Ale(i,!0,a);break}}return l}});var oF=m(fS=>{"use strict";Object.defineProperty(fS,"__esModule",{value:!0});fS.getBorderCharacters=void 0;var fft=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=fft});var dr=m(tt=>{"use strict";var aF=tt&&tt.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(tt,"__esModule",{value:!0});tt.isCellInRange=tt.areCellEqual=tt.calculateRangeCoordinate=tt.findOriginalRowIndex=tt.flatten=tt.extractTruncates=tt.sumArray=tt.sequence=tt.distributeUnevenly=tt.countSpaceSequence=tt.groupBySizes=tt.makeBorderConfig=tt.splitAnsi=tt.normalizeString=void 0;var dft=aF(cS()),pft=aF(ka()),hft=aF(oS()),gft=oF(),mft=t=>t.replace(/\r\n/g,`
325
+ `);tt.normalizeString=mft;var yft=t=>{let e=(0,hft.default)(t).split(`
326
+ `).map(pft.default),r=[],n=0;return e.forEach(i=>{r.push(i===0?"":(0,dft.default)(t,n,n+i)),n+=i+1}),r};tt.splitAnsi=yft;var bft=t=>({...(0,gft.getBorderCharacters)("honeywell"),...t});tt.makeBorderConfig=bft;var vft=(t,e)=>{let r=0;return e.map(n=>{let i=t.slice(r,r+n);return r+=n,i})};tt.groupBySizes=vft;var wft=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};tt.countSpaceSequence=wft;var _ft=(t,e)=>Array.from({length:e}).fill(Math.floor(t/e)).map((n,i)=>n+(i<t%e?1:0));tt.distributeUnevenly=_ft;var xft=(t,e)=>Array.from({length:e-t+1},(r,n)=>n+t);tt.sequence=xft;var Sft=t=>t.reduce((e,r)=>e+r,0);tt.sumArray=Sft;var kft=t=>t.columns.map(({truncate:e})=>e);tt.extractTruncates=kft;var Eft=t=>[].concat(...t);tt.flatten=Eft;var Cft=(t,e)=>(0,tt.flatten)(t.map((n,i)=>Array.from({length:n},()=>i)))[e];tt.findOriginalRowIndex=Cft;var Dft=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}}};tt.calculateRangeCoordinate=Dft;var Oft=(t,e)=>t.row===e.row&&t.col===e.col;tt.areCellEqual=Oft;var qft=(t,{topLeft:e,bottomRight:r})=>e.row<=t.row&&t.row<=r.row&&e.col<=t.col&&t.col<=r.col;tt.isCellInRange=qft});var lF=m(xl=>{"use strict";var Rft=xl&&xl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(xl,"__esModule",{value:!0});xl.alignString=void 0;var Aft=Rft(ka()),Mle=dr(),uF=(t,e)=>t+" ".repeat(e),Pft=(t,e)=>" ".repeat(e)+t,Tft=(t,e)=>" ".repeat(Math.floor(e/2))+t+" ".repeat(Math.ceil(e/2)),Mft=(t,e)=>{let r=(0,Mle.countSpaceSequence)(t);if(r===0)return uF(t,e);let n=(0,Mle.distributeUnevenly)(e,r);if(Math.max(...n)>3)return uF(t,e);let i=0;return t.replace(/\s+/g,s=>s+" ".repeat(n[i++]))},Fft=(t,e,r)=>{let n=(0,Aft.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"?uF(t,i):r==="right"?Pft(t,i):r==="justify"?Mft(t,i):Tft(t,i)};xl.alignString=Fft});var cF=m(dS=>{"use strict";Object.defineProperty(dS,"__esModule",{value:!0});dS.alignTableData=void 0;var Lft=lF(),Ift=(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,Lft.alignString)(i,a,u)}));dS.alignTableData=Ift});var Ile=m(Sl=>{"use strict";var Lle=Sl&&Sl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Sl,"__esModule",{value:!0});Sl.wrapString=void 0;var Fle=Lle(cS()),Nft=Lle(ka()),jft=(t,e)=>{let r=t,n=[];do n.push((0,Fle.default)(r,0,e)),r=(0,Fle.default)(r,e).trim();while((0,Nft.default)(r));return n};Sl.wrapString=jft});var jle=m(kl=>{"use strict";var Nle=kl&&kl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(kl,"__esModule",{value:!0});kl.wrapWord=void 0;var $ft=Nle(cS()),Bft=Nle(oS()),Wft=(t,e)=>{let r=(0,Bft.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},zft=(t,e)=>{let r=[],n=0;return Wft(t,e).forEach(([i,s])=>{r.push((0,$ft.default)(t,n,n+i)),n+=i+s}),r};kl.wrapWord=zft});var hS=m(pS=>{"use strict";Object.defineProperty(pS,"__esModule",{value:!0});pS.wrapCell=void 0;var Uft=dr(),Hft=Ile(),Vft=jle(),Gft=(t,e,r)=>{let n=(0,Uft.splitAnsi)(t);for(let i=0;i<n.length;){let s;r?s=(0,Vft.wrapWord)(n[i],e):s=(0,Hft.wrapString)(n[i],e),n.splice(i,1,...s),i+=s.length}return n};pS.wrapCell=Gft});var $le=m(gS=>{"use strict";Object.defineProperty(gS,"__esModule",{value:!0});gS.calculateCellHeight=void 0;var Kft=hS(),Yft=(t,e,r=!1)=>(0,Kft.wrapCell)(t,e,r).length;gS.calculateCellHeight=Yft});var fF=m(mS=>{"use strict";Object.defineProperty(mS,"__esModule",{value:!0});mS.calculateRowHeights=void 0;var Qft=$le(),Ble=dr(),Jft=(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,Qft.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,Ble.sumArray)(r.slice(c.row)),h=f.row-c.row,y=(0,Ble.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=Jft});var bS=m(yS=>{"use strict";Object.defineProperty(yS,"__esModule",{value:!0});yS.drawContent=void 0;var Xft=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=Xft});var dF=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 Zft=bS(),edt=(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=edt;var tdt=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=tdt;var rdt=(t,e)=>{let r=(0,Lt.drawBorderSegments)(t,e),{drawVerticalLine:n,horizontalBorderIndex:i,spanningCellManager:s}=e;return(0,Zft.drawContent)({contents:r,drawSeparator:n,elementType:"border",rowIndex:i,separatorGetter:(0,Lt.createSeparatorGetter)(e),spanningCellManager:s})+`
327
+ `};Lt.drawBorder=rdt;var ndt=(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=ndt;var idt=(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=idt;var sdt=(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=sdt;var odt=(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=odt});var pF=m(vS=>{"use strict";Object.defineProperty(vS,"__esModule",{value:!0});vS.drawRow=void 0;var adt=bS(),udt=(t,e)=>{let{border:r,drawVerticalLine:n,rowIndex:i,spanningCellManager:s}=e;return(0,adt.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=udt});var zle=m((_3t,Wle)=>{"use strict";Wle.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 Hle=m(hF=>{"use strict";Object.defineProperty(hF,"__esModule",{value:!0});var Ule=zle();Ule.code='require("ajv/dist/runtime/equal").default';hF.default=Ule});var Jle=m(mF=>{"use strict";mF["config.json"]=Yle;var ldt={$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},Vle={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},gF=Object.prototype.hasOwnProperty;function ee(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 ee.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(!gF.call(Vle.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&&(ee(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.topJoin!==void 0&&(ee(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.topLeft!==void 0&&(ee(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.topRight!==void 0&&(ee(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomBody!==void 0&&(ee(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomJoin!==void 0&&(ee(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomLeft!==void 0&&(ee(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomRight!==void 0&&(ee(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bodyLeft!==void 0&&(ee(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bodyRight!==void 0&&(ee(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bodyJoin!==void 0&&(ee(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.headerJoin!==void 0&&(ee(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinBody!==void 0&&(ee(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinLeft!==void 0&&(ee(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinRight!==void 0&&(ee(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinJoin!==void 0&&(ee(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleUp!==void 0&&(ee(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleDown!==void 0&&(ee(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(ee(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleRight!==void 0&&(ee(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.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 Gle={type:"string",enum:["left","right","center","justify"]},S3t=Hle().default;function Ea(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:Gle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Ea.errors=s,o===0}var DS=new RegExp("^[0-9]+$","u");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==="left"||t==="right"||t==="center"||t==="justify")){let a={instancePath:e,schemaPath:"#/enum",keyword:"enum",params:{allowedValues:Gle.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}var Kle={type:"string",enum:["top","middle","bottom"]};function Ni(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:Kle.enum},message:"must be equal to one of the allowed values"};s===null?s=[a]:s.push(a),o++}return Ni.errors=s,o===0}function Sn(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&&(Ii(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ni(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ni.errors:s.concat(Ni.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 Sn.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)&&(Sn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?Sn.errors:s.concat(Sn.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++)Sn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?Sn.errors:s.concat(Sn.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&&(Ii(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ni(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ni.errors:s.concat(Ni.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:Kle.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 Yle(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&&(Ea(a.alignment,{instancePath:e+"/header/alignment",parentData:a,parentDataProperty:"alignment",rootData:i})||(s=s===null?Ea.errors:s.concat(Ea.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(!gF.call(ldt.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&&(Ea(c.alignment,{instancePath:e+"/spanningCells/"+l+"/alignment",parentData:c,parentDataProperty:"alignment",rootData:i})||(s=s===null?Ea.errors:s.concat(Ea.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 Yle.errors=s,o===0}mF["streamConfig.json"]=Qle;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(!gF.call(Vle.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&&(ee(t.topBody,{instancePath:e+"/topBody",parentData:t,parentDataProperty:"topBody",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.topJoin!==void 0&&(ee(t.topJoin,{instancePath:e+"/topJoin",parentData:t,parentDataProperty:"topJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.topLeft!==void 0&&(ee(t.topLeft,{instancePath:e+"/topLeft",parentData:t,parentDataProperty:"topLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.topRight!==void 0&&(ee(t.topRight,{instancePath:e+"/topRight",parentData:t,parentDataProperty:"topRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomBody!==void 0&&(ee(t.bottomBody,{instancePath:e+"/bottomBody",parentData:t,parentDataProperty:"bottomBody",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomJoin!==void 0&&(ee(t.bottomJoin,{instancePath:e+"/bottomJoin",parentData:t,parentDataProperty:"bottomJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomLeft!==void 0&&(ee(t.bottomLeft,{instancePath:e+"/bottomLeft",parentData:t,parentDataProperty:"bottomLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bottomRight!==void 0&&(ee(t.bottomRight,{instancePath:e+"/bottomRight",parentData:t,parentDataProperty:"bottomRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bodyLeft!==void 0&&(ee(t.bodyLeft,{instancePath:e+"/bodyLeft",parentData:t,parentDataProperty:"bodyLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bodyRight!==void 0&&(ee(t.bodyRight,{instancePath:e+"/bodyRight",parentData:t,parentDataProperty:"bodyRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.bodyJoin!==void 0&&(ee(t.bodyJoin,{instancePath:e+"/bodyJoin",parentData:t,parentDataProperty:"bodyJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.headerJoin!==void 0&&(ee(t.headerJoin,{instancePath:e+"/headerJoin",parentData:t,parentDataProperty:"headerJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinBody!==void 0&&(ee(t.joinBody,{instancePath:e+"/joinBody",parentData:t,parentDataProperty:"joinBody",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinLeft!==void 0&&(ee(t.joinLeft,{instancePath:e+"/joinLeft",parentData:t,parentDataProperty:"joinLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinRight!==void 0&&(ee(t.joinRight,{instancePath:e+"/joinRight",parentData:t,parentDataProperty:"joinRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinJoin!==void 0&&(ee(t.joinJoin,{instancePath:e+"/joinJoin",parentData:t,parentDataProperty:"joinJoin",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleUp!==void 0&&(ee(t.joinMiddleUp,{instancePath:e+"/joinMiddleUp",parentData:t,parentDataProperty:"joinMiddleUp",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleDown!==void 0&&(ee(t.joinMiddleDown,{instancePath:e+"/joinMiddleDown",parentData:t,parentDataProperty:"joinMiddleDown",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleLeft!==void 0&&(ee(t.joinMiddleLeft,{instancePath:e+"/joinMiddleLeft",parentData:t,parentDataProperty:"joinMiddleLeft",rootData:i})||(s=s===null?ee.errors:s.concat(ee.errors),o=s.length)),t.joinMiddleRight!==void 0&&(ee(t.joinMiddleRight,{instancePath:e+"/joinMiddleRight",parentData:t,parentDataProperty:"joinMiddleRight",rootData:i})||(s=s===null?ee.errors:s.concat(ee.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)&&(Sn(t[p],{instancePath:e+"/"+p.replace(/~/g,"~0").replace(/\//g,"~1"),parentData:t,parentDataProperty:p,rootData:i})||(s=s===null?Sn.errors:s.concat(Sn.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++)Sn(t[h],{instancePath:e+"/"+h,parentData:t,parentDataProperty:h,rootData:i})||(s=s===null?Sn.errors:s.concat(Sn.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&&(Ii(t.alignment,{instancePath:e+"/alignment",parentData:t,parentDataProperty:"alignment",rootData:i})||(s=s===null?Ii.errors:s.concat(Ii.errors),o=s.length)),t.verticalAlignment!==void 0&&(Ni(t.verticalAlignment,{instancePath:e+"/verticalAlignment",parentData:t,parentDataProperty:"verticalAlignment",rootData:i})||(s=s===null?Ni.errors:s.concat(Ni.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 Qle(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 Qle.errors=s,o===0}});var yF=m(El=>{"use strict";var cdt=El&&El.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(El,"__esModule",{value:!0});El.validateConfig=void 0;var fdt=cdt(Jle()),ddt=(t,e)=>{let r=fdt.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.")}};El.validateConfig=ddt});var Xle=m(OS=>{"use strict";Object.defineProperty(OS,"__esModule",{value:!0});OS.makeStreamConfig=void 0;var pdt=dr(),hdt=yF(),gdt=(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]})),mdt=t=>{if((0,hdt.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,pdt.makeBorderConfig)(t.border),columns:gdt(t.columnCount,t.columns,t.columnDefault)}};OS.makeStreamConfig=mdt});var RS=m(Ca=>{"use strict";Object.defineProperty(Ca,"__esModule",{value:!0});Ca.mapDataUsingRowHeights=Ca.padCellVertically=void 0;var ydt=dr(),bdt=hS(),qS=t=>new Array(t).fill(""),vdt=(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))]};Ca.padCellVertically=vdt;var wdt=(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,bdt.wrapCell)(l,r.columns[c].width,r.columns[c].wrapWord);(0,Ca.padCellVertically)(p,a,r.columns[c].verticalAlignment).forEach((y,b)=>{u[b][c]=y})}),u});return(0,ydt.flatten)(i)};Ca.mapDataUsingRowHeights=wdt});var AS=m(Da=>{"use strict";Object.defineProperty(Da,"__esModule",{value:!0});Da.padTableData=Da.padString=void 0;var _dt=(t,e,r)=>" ".repeat(e)+t+" ".repeat(r);Da.padString=_dt;var xdt=(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,Da.padString)(i,u,l)}));Da.padTableData=xdt});var bF=m(PS=>{"use strict";Object.defineProperty(PS,"__esModule",{value:!0});PS.stringifyTableData=void 0;var Sdt=dr(),kdt=t=>t.map(e=>e.map(r=>(0,Sdt.normalizeString)(String(r))));PS.stringifyTableData=kdt});var _ce=m((ip,Cl)=>{var Edt=30,Cdt="...",vF=1/0,Ddt=17976931348623157e292,Zle=0/0,Odt="[object RegExp]",qdt="[object Symbol]",Rdt=/^\s+|\s+$/g,Adt=/\w*$/,Pdt=/^[-+]0x[0-9a-f]+$/i,Tdt=/^0b[01]+$/i,Mdt=/^0o[0-7]+$/i,kF="\\ud800-\\udfff",uce="\\u0300-\\u036f\\ufe20-\\ufe23",lce="\\u20d0-\\u20f0",cce="\\ufe0e\\ufe0f",Fdt="["+kF+"]",wF="["+uce+lce+"]",_F="\\ud83c[\\udffb-\\udfff]",Ldt="(?:"+wF+"|"+_F+")",fce="[^"+kF+"]",dce="(?:\\ud83c[\\udde6-\\uddff]){2}",pce="[\\ud800-\\udbff][\\udc00-\\udfff]",hce="\\u200d",gce=Ldt+"?",mce="["+cce+"]?",Idt="(?:"+hce+"(?:"+[fce,dce,pce].join("|")+")"+mce+gce+")*",Ndt=mce+gce+Idt,jdt="(?:"+[fce+wF+"?",wF,dce,pce,Fdt].join("|")+")",xF=RegExp(_F+"(?="+_F+")|"+jdt+Ndt,"g"),$dt=RegExp("["+hce+kF+uce+lce+cce+"]"),Bdt=parseInt,yce=typeof global=="object"&&global&&global.Object===Object&&global,Wdt=typeof self=="object"&&self&&self.Object===Object&&self,zdt=yce||Wdt||Function("return this")(),bce=typeof ip=="object"&&ip&&!ip.nodeType&&ip,ece=bce&&typeof Cl=="object"&&Cl&&!Cl.nodeType&&Cl,Udt=ece&&ece.exports===bce,tce=Udt&&yce.process,rce=function(){try{return tce&&tce.binding("util")}catch{}}(),nce=rce&&rce.isRegExp,Hdt=Gdt("length");function Vdt(t){return t.split("")}function Gdt(t){return function(e){return e?.[t]}}function Kdt(t){return function(e){return t(e)}}function EF(t){return $dt.test(t)}function Ydt(t){return EF(t)?Jdt(t):Hdt(t)}function Qdt(t){return EF(t)?Xdt(t):Vdt(t)}function Jdt(t){for(var e=xF.lastIndex=0;xF.test(t);)e++;return e}function Xdt(t){return t.match(xF)||[]}var Zdt=Object.prototype,vce=Zdt.toString,ice=zdt.Symbol,sce=ice?ice.prototype:void 0,oce=sce?sce.toString:void 0;function ept(t){return TS(t)&&vce.call(t)==Odt}function tpt(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 SF(t){if(typeof t=="string")return t;if(wce(t))return oce?oce.call(t):"";var e=t+"";return e=="0"&&1/t==-vF?"-0":e}function rpt(t,e,r){var n=t.length;return r=r===void 0?n:r,!e&&r>=n?t:tpt(t,e,r)}function TS(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function npt(t){return!!t&&typeof t=="object"}var ipt=nce?Kdt(nce):ept;function wce(t){return typeof t=="symbol"||npt(t)&&vce.call(t)==qdt}function spt(t){if(!t)return t===0?t:0;if(t=apt(t),t===vF||t===-vF){var e=t<0?-1:1;return e*Ddt}return t===t?t:0}function opt(t){var e=spt(t),r=e%1;return e===e?r?e-r:e:0}function apt(t){if(typeof t=="number")return t;if(wce(t))return Zle;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(Rdt,"");var r=Tdt.test(t);return r||Mdt.test(t)?Bdt(t.slice(2),r?2:8):Pdt.test(t)?Zle:+t}function ace(t){return t==null?"":SF(t)}function upt(t,e){var r=Edt,n=Cdt;if(TS(e)){var i="separator"in e?e.separator:i;r="length"in e?opt(e.length):r,n="omission"in e?SF(e.omission):n}t=ace(t);var s=t.length;if(EF(t)){var o=Qdt(t);s=o.length}if(r>=s)return t;var a=r-Ydt(n);if(a<1)return n;var u=o?rpt(o,0,a).join(""):t.slice(0,a);if(i===void 0)return u+n;if(o&&(a+=u.length-a),ipt(i)){if(t.slice(a).search(i)){var l,c=u;for(i.global||(i=RegExp(i.source,ace(Adt.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(SF(i),a)!=a){var d=u.lastIndexOf(i);d>-1&&(u=u.slice(0,d))}return u+n}Cl.exports=upt});var MS=m(hs=>{"use strict";var lpt=hs&&hs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(hs,"__esModule",{value:!0});hs.truncateTableData=hs.truncateString=void 0;var cpt=lpt(_ce()),fpt=(t,e)=>(0,cpt.default)(t,{length:e,omission:"\u2026"});hs.truncateString=fpt;var dpt=(t,e)=>t.map(r=>r.map((n,i)=>(0,hs.truncateString)(n,e[i])));hs.truncateTableData=dpt});var kce=m(LS=>{"use strict";Object.defineProperty(LS,"__esModule",{value:!0});LS.createStream=void 0;var ppt=cF(),hpt=fF(),FS=dF(),xce=pF(),gpt=Xle(),mpt=RS(),ypt=AS(),bpt=bF(),vpt=MS(),wpt=dr(),Sce=(t,e)=>{let r=(0,bpt.stringifyTableData)(t);r=(0,vpt.truncateTableData)(r,(0,wpt.extractTruncates)(e));let n=(0,hpt.calculateRowHeights)(r,e);return r=(0,mpt.mapDataUsingRowHeights)(r,n,e),r=(0,ppt.alignTableData)(r,e),r=(0,ypt.padTableData)(r,e),r},_pt=(t,e,r)=>{let i=Sce([t],r).map(o=>(0,xce.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)},xpt=(t,e,r)=>{let i=Sce([t],r).map(a=>(0,xce.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)},Spt=t=>{let e=(0,gpt.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,_pt(i,r,e)):xpt(i,r,e)}}};LS.createStream=Spt});var Ece=m(IS=>{"use strict";Object.defineProperty(IS,"__esModule",{value:!0});IS.calculateOutputColumnWidths=void 0;var kpt=t=>t.columns.map(e=>e.paddingLeft+e.width+e.paddingRight);IS.calculateOutputColumnWidths=kpt});var Cce=m(NS=>{"use strict";Object.defineProperty(NS,"__esModule",{value:!0});NS.drawTable=void 0;var Ept=dF(),Cpt=bS(),Dpt=pF(),Opt=dr(),qpt=(t,e,r,n)=>{let{drawHorizontalLine:i,singleLine:s}=n,o=(0,Opt.groupBySizes)(t,r).map((a,u)=>a.map(l=>(0,Dpt.drawRow)(l,{...n,rowIndex:u})).join(""));return(0,Cpt.drawContent)({contents:o,drawSeparator:(a,u)=>(a===0||a===u||!s)&&i(a,u),elementType:"row",rowIndex:-1,separatorGetter:(0,Ept.createTableBorderGetter)(e,{...n,rowCount:o.length}),spanningCellManager:n.spanningCellManager})};NS.drawTable=qpt});var Dce=m(jS=>{"use strict";Object.defineProperty(jS,"__esModule",{value:!0});jS.injectHeaderConfig=void 0;var Rpt=(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=Rpt});var qce=m(gs=>{"use strict";var Apt=gs&&gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(gs,"__esModule",{value:!0});gs.calculateMaximumColumnWidths=gs.calculateMaximumCellWidth=void 0;var Ppt=Apt(ka()),Oce=dr(),Tpt=t=>Math.max(...t.split(`
331
+ `).map(Ppt.default));gs.calculateMaximumCellWidth=Tpt;var Mpt=(t,e=[])=>{let r=new Array(t[0].length).fill(0),n=e.map(Oce.calculateRangeCoordinate),i=(s,o)=>n.some(a=>(0,Oce.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,gs.calculateMaximumCellWidth)(a)))})}),r};gs.calculateMaximumColumnWidths=Mpt});var Ace=m(uo=>{"use strict";var Fpt=uo&&uo.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(uo,"__esModule",{value:!0});uo.alignVerticalRangeContent=uo.wrapRangeContent=void 0;var Lpt=Fpt(ka()),Ipt=lF(),Npt=RS(),jpt=AS(),$pt=MS(),Rce=dr(),Bpt=hS(),Wpt=(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,Bpt.wrapCell)((0,$pt.truncateString)(l,o),c,a).map(f=>{let d=(0,Ipt.alignString)(f,c,u);return(0,jpt.padString)(d,s,i)})};uo.wrapRangeContent=Wpt;var zpt=(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,Rce.sumArray)(s.slice(o.row,a.row+1)),c=a.row-o.row,f=(0,Rce.sequence)(o.row+1,a.row).filter(p=>!i(p,n.length)).length,d=l+c-f;return(0,Npt.padCellVertically)(e,d,u).map(p=>p.length===0?" ".repeat((0,Lpt.default)(e[0])):p)};uo.alignVerticalRangeContent=zpt});var Pce=m($S=>{"use strict";Object.defineProperty($S,"__esModule",{value:!0});$S.calculateSpanningCellWidth=void 0;var CF=dr(),Upt=(t,e)=>{let{columnsConfig:r,drawVerticalLine:n}=e,{topLeft:i,bottomRight:s}=t,o=(0,CF.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,CF.sumArray)(r.slice(i.col,s.col+1).map(({paddingLeft:c,paddingRight:f})=>c+f)),u=s.col-i.col,l=(0,CF.sequence)(i.col+1,s.col).filter(c=>!n(c,r.length)).length;return o+a+u-l};$S.calculateSpanningCellWidth=Upt});var Tce=m(BS=>{"use strict";Object.defineProperty(BS,"__esModule",{value:!0});BS.makeRangeConfig=void 0;var Hpt=dr(),Vpt=(t,e)=>{var r;let{topLeft:n,bottomRight:i}=(0,Hpt.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=Vpt});var Lce=m(WS=>{"use strict";Object.defineProperty(WS,"__esModule",{value:!0});WS.createSpanningCellManager=void 0;var Mce=Ace(),Gpt=Pce(),Kpt=Tce(),Dl=dr(),DF=(t,e)=>e.find(r=>(0,Dl.isCellInRange)(t,r)),Fce=(t,e)=>{let r=(0,Gpt.calculateSpanningCellWidth)(t,e),n=(0,Mce.wrapRangeContent)(t,r,e),i=(0,Mce.alignVerticalRangeContent)(t,n,e);return{...t,extractBorderContent:a=>{let{topLeft:u}=t,l=(0,Dl.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,Dl.sequence)(u.row+1,a).filter(h=>!l?.(h,c.length)).length,p=(0,Dl.sumArray)(c.slice(u.row,a))+f-d;return i.slice(p,p+c[a])},height:n.length,width:r}},Ypt=(t,e,r)=>{let n=DF(t,r),i=DF(e,r);return n&&i?(0,Dl.areCellEqual)(n.topLeft,i.topLeft):!1},Qpt=t=>{let{row:e,col:r}=t.topLeft;return`${e}/${r}`},Jpt=t=>{let{spanningCellConfigs:e,columnsConfig:r}=t,n=e.map(o=>(0,Kpt.makeRangeConfig)(o,r)),i={},s=[];return{getContainingRange:(o,a)=>{var u;let l=a?.mapped?(0,Dl.findOriginalRowIndex)(s,o.row):o.row,c=DF({...o,row:l},n);if(!c)return;if(s.length===0)return Fce(c,{...t,rowHeights:s});let f=Qpt(c);return(u=i[f])!==null&&u!==void 0||(i[f]=Fce(c,{...t,rowHeights:s})),i[f]},inSameRange:(o,a)=>Ypt(o,a,n),rowHeights:s,setRowHeights:o=>{s=o}}};WS.createSpanningCellManager=Jpt});var Ice=m(US=>{"use strict";Object.defineProperty(US,"__esModule",{value:!0});US.validateSpanningCellConfig=void 0;var OF=dr(),zS=(t,e,r)=>t<=r&&r<=e,Xpt=(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(OF.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,OF.sequence)(o.row,a.row).forEach(l=>{(0,OF.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=Xpt});var Nce=m(HS=>{"use strict";Object.defineProperty(HS,"__esModule",{value:!0});HS.makeTableConfig=void 0;var Zpt=qce(),eht=Lce(),tht=dr(),rht=yF(),nht=Ice(),iht=(t,e,r,n)=>{let i=(0,Zpt.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]}))},sht=(t,e={},r)=>{var n,i,s,o,a;(0,rht.validateConfig)("config.json",e),(0,nht.validateSpanningCellConfig)(t,(n=e.spanningCells)!==null&&n!==void 0?n:[]);let u=(i=r??e.spanningCells)!==null&&i!==void 0?i:[],l=iht(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,tht.makeBorderConfig)(e.border),columns:l,drawHorizontalLine:f,drawVerticalLine:c,singleLine:(a=e.singleLine)!==null&&a!==void 0?a:!1,spanningCellManager:(0,eht.createSpanningCellManager)({columnsConfig:l,drawHorizontalLine:f,drawVerticalLine:c,rows:t,spanningCellConfigs:u})}};HS.makeTableConfig=sht});var jce=m(VS=>{"use strict";Object.defineProperty(VS,"__esModule",{value:!0});VS.validateTableData=void 0;var oht=dr(),aht=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,oht.normalizeString)(String(n))))throw new Error("Table data must not contain control characters.")}};VS.validateTableData=aht});var $ce=m(GS=>{"use strict";Object.defineProperty(GS,"__esModule",{value:!0});GS.table=void 0;var uht=cF(),lht=Ece(),cht=fF(),fht=Cce(),dht=Dce(),pht=Nce(),hht=RS(),ght=AS(),mht=bF(),yht=MS(),bht=dr(),vht=jce(),wht=(t,e={})=>{(0,vht.validateTableData)(t);let r=(0,mht.stringifyTableData)(t),[n,i]=(0,dht.injectHeaderConfig)(r,e),s=(0,pht.makeTableConfig)(n,e,i);r=(0,yht.truncateTableData)(n,(0,bht.extractTruncates)(s));let o=(0,cht.calculateRowHeights)(r,s);s.spanningCellManager.setRowHeights(o),r=(0,hht.mapDataUsingRowHeights)(r,o,s),r=(0,uht.alignTableData)(r,s),r=(0,ght.padTableData)(r,s);let a=(0,lht.calculateOutputColumnWidths)(s);return(0,fht.drawTable)(r,a,o,s)};GS.table=wht});var Wce=m(Bce=>{"use strict";Object.defineProperty(Bce,"__esModule",{value:!0})});var zce=m(kn=>{"use strict";var _ht=kn&&kn.__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]}),xht=kn&&kn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&_ht(e,t,r)};Object.defineProperty(kn,"__esModule",{value:!0});kn.getBorderCharacters=kn.createStream=kn.table=void 0;var Sht=kce();Object.defineProperty(kn,"createStream",{enumerable:!0,get:function(){return Sht.createStream}});var kht=oF();Object.defineProperty(kn,"getBorderCharacters",{enumerable:!0,get:function(){return kht.getBorderCharacters}});var Eht=$ce();Object.defineProperty(kn,"table",{enumerable:!0,get:function(){return Eht.table}});xht(Wce(),kn)});var qF=m((V3t,Uce)=>{"use strict";Uce.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((G3t,Hce)=>{"use strict";Hce.exports=function(e,r){return r===1?e:`${e}s`}});var Kce=m((K3t,Gce)=>{"use strict";var Cht=hM(),Ol=fM();function Vce(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 RF(t){let{env:e}=process;if("FORCE_HYPERLINK"in e)return!(e.FORCE_HYPERLINK.length>0&&parseInt(e.FORCE_HYPERLINK,10)===0);if(Ol("no-hyperlink")||Ol("no-hyperlinks")||Ol("hyperlink=false")||Ol("hyperlink=never"))return!1;if(Ol("hyperlink=true")||Ol("hyperlink=always")||"NETLIFY"in e)return!0;if(!Cht.supportsColor(t)||t&&!t.isTTY||process.platform==="win32"||"CI"in e||"TEAMCITY_VERSION"in e)return!1;if("TERM_PROGRAM"in e){let r=Vce(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=Vce(e.VTE_VERSION);return r.major>0||r.minor>=50}return!1}Gce.exports={supportsHyperlink:RF,stdout:RF(process.stdout),stderr:RF(process.stderr)}});var AF=m((Y3t,Jce)=>{"use strict";var Dht=Kce(),Yce="\x1B]",Qce="\x07",YS=";";Jce.exports=function(e,r){return Dht.stdout?[Yce,"8",YS,YS,r,Qce,e,Yce,"8",YS,YS,Qce].join(""):e}});var TF=m((Q3t,ofe)=>{"use strict";var Xce=H("path"),Oht=ka(),Zce=zce(),{yellow:JS,dim:QS,underline:nfe,blue:ife,red:XS,green:qht}=Wo(),Rht=qF(),PF=KS(),{assertNumber:sfe}=re(),Aht=bl(),Pht=AF(),efe=9;function Tht(t){return t}var Mht={info:ife,warning:JS,error:XS,success:Tht},tfe={info:ife("\u2139"),warning:JS("\u26A0"),error:XS("\u2716"),success:qht("\u2714")};function Fht(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(nfe(i.reference))),`${n}
332
+ `),`
333
+ `)}function Lht(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 Iht(t,e){if(t.startsWith("<"))return nfe(t);let r=Xce.relative(e,t).split(Xce.sep).join("/");return Pht(r,`file://${t}`)}function rfe(t){let e=t[3];if(sfe(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+efe?e:r-(n-e+efe)}function Nht(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];sfe(d),n[l]=Math.max(d,Oht(f))}return u}let s=`
336
+ `;e&&(s+=`${Iht(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():"",tfe[f]?Mht[f](tfe[f]):f,o(u),QS(u.rule||"")];return i(d),d});return s+=Zce.table(a,{border:Zce.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:rfe(n),wrapWord:rfe(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}ofe.exports=function(e,r){let n=Lht(e);n+=Fht(e);let i={error:0,warning:0};if(n=e.reduce((s,o)=>{Aht(o),s+=Nht(o.warnings,o.source||"",r&&r.cwd||process.cwd());for(let a of o.warnings)Rht(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} ${PF("error",s)}`),l=JS(`${o} ${PF("warning",o)}`),c=`${a} ${PF("problem",a)} (${u}, ${l})`;n+=`${c}
343
+
344
+ `}}return n}});var ufe=m((J3t,afe)=>{"use strict";var jht=bl();afe.exports=function(e){let r=[`TAP version 13
345
+ 1..${e.length}`];for(let[n,i]of e.entries())if(jht(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 cfe=m((X3t,lfe)=>{"use strict";var $ht=qF(),MF=KS(),Bht=bl();lfe.exports=function(e){let r={error:0,warning:0},n=e.flatMap(o=>(Bht(o),o.warnings.map(a=>($ht(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} ${MF("problem",i)}`,s+=` (${r.error} ${MF("error",r.error)}`,s+=`, ${r.warning} ${MF("warning",r.warning)})
350
+ `),s}});var bfe=m((Z3t,yfe)=>{"use strict";var{underline:ffe,red:Wht,yellow:dfe,dim:pfe,green:zht}=Wo(),hfe=KS(),Uht=TF(),mfe=AF();yfe.exports=function(e,r){let n=Uht(e,r);n===""&&(n=`
351
+ `);let i=e.filter(a=>a.ignored).length,s=i?`${e.length-i} of ${e.length}`:e.length;n+=ffe(`${s} ${hfe("source",e.length)} checked
352
+ `);for(let a of e){let u=zht;a.errored?u=Wht:a.warnings.length?u=dfe:a.ignored&&(u=pfe);let l=Hht(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=gfe(o,c=>c.severity),u=!1,l=c=>{let f=a[c];if(f===void 0)return;n+=`
356
+ `,n+=ffe(`${f.length} ${hfe(c,f.length)} found
357
+ `);let d=gfe(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+=pfe(` ${Vht(h,b)}: ${y.length}${g}
358
+ `),!u&&b&&b.fixable&&(u=!0)}};l("error"),l("warning"),u&&(n+=dfe(`
359
+ You may fix some problems with the "--fix" option.
360
+ `))}return`${n}
361
+ `};function gfe(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 Hht(t){return!t||t.startsWith("<")?`${t}`:mfe(t,`file://${t}`)}function Vht(t,e){return e&&e.url?mfe(t,e.url):t}});var ZS=m((eNt,vfe)=>{"use strict";var Oa=d2(),Ght={compact:Oa(()=>tle())(),github:Oa(()=>nle())(),json:Oa(()=>sle())(),string:Oa(()=>TF())(),tap:Oa(()=>ufe())(),unix:Oa(()=>cfe())(),verbose:Oa(()=>bfe())()};vfe.exports=Ght});var sp=m((tNt,_fe)=>{"use strict";var Kht=Lc(),Yht=H("path"),{augmentConfigFull:wfe}=lM(),{cosmiconfig:Qht}=ZT(),Jht=process.env.NODE_ENV==="test",Xht=Jht?process.cwd():void 0;_fe.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=wfe(e,n,{config:i,filepath:Yht.join(s,"argument-config")});return e._specifiedConfigCache.set(i,l),l}let o=Qht("stylelint",{transform:u=>wfe(e,n,u),stopDir:Xht}),a=e._options.configFile?await o.load(e._options.configFile):await o.search(r);return a||(a=await o.search(s)),a||Promise.reject(Kht(`No configuration provided${r?` for ${r}`:""}`))}});var ak=m((rNt,Efe)=>{"use strict";var FF="'".charCodeAt(0),xfe='"'.charCodeAt(0),ek="\\".charCodeAt(0),Sfe="/".charCodeAt(0),tk=`
362
+ `.charCodeAt(0),op=" ".charCodeAt(0),rk="\f".charCodeAt(0),nk=" ".charCodeAt(0),ik="\r".charCodeAt(0),Zht="[".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),sk=/[\t\n\f\r "#'()/;[\\\]{}]/g,ok=/[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g,lgt=/.[\n"'(/\\]/,kfe=/[\da-f]/i;Efe.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 op:case nk:case ik:case rk:{o=b;do o+=1,s=n.charCodeAt(o);while(s===op||s===tk||s===nk||s===ik||s===rk);h=["space",n.slice(b,o)],b=o-1;break}case Zht:case egt:case ngt:case igt:case agt:case sgt:case rgt:{let z=String.fromCharCode(s);h=[z,z,b];break}case tgt:{if(d=g.length?g.pop()[1]:"",p=n.charCodeAt(b+1),d==="url"&&p!==FF&&p!==xfe&&p!==op&&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||lgt.test(u)?h=["(","(",b]:(h=["brackets",u,b,o],b=o);break}case FF:case xfe:{a=s===FF?"'":'"',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 ugt:{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!==Sfe&&s!==op&&s!==tk&&s!==nk&&s!==ik&&s!==rk&&(o+=1,kfe.test(n.charAt(o)))){for(;kfe.test(n.charAt(o+1));)o+=1;n.charCodeAt(o+1)===op&&(o+=1)}h=["word",n.slice(b,o+1),b,o],b=o;break}default:{s===Sfe&&n.charCodeAt(b+1)===ogt?(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 LF=m((nNt,Ofe)=>{"use strict";var Yr=Wo(),cgt=ak(),Cfe;function fgt(t){Cfe=t}var dgt={brackets:Yr.cyan,"at-word":Yr.cyan,comment:Yr.gray,string:Yr.green,class:Yr.yellow,hash:Yr.magenta,call:Yr.cyan,"(":Yr.cyan,")":Yr.cyan,"{":Yr.yellow,"}":Yr.yellow,"[":Yr.yellow,"]":Yr.yellow,":":Yr.yellow,";":Yr.yellow};function pgt([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 Dfe(t){let e=cgt(new Cfe(t),{ignoreErrors:!0}),r="";for(;!e.endOfFile();){let n=e.nextToken(),i=dgt[pgt(n,e)];i?r+=n[1].split(/\r?\n/).map(s=>i(s)).join(`
363
+ `):r+=n[1]}return r}Dfe.registerInput=fgt;Ofe.exports=Dfe});var uk=m((iNt,Afe)=>{"use strict";var qfe=Wo(),Rfe=LF(),qa=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,qa)}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=qfe.isColorSupported),Rfe&&e&&(r=Rfe(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}=qfe.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}};Afe.exports=qa;qa.default=qa});var lk=m((sNt,IF)=>{"use strict";IF.exports.isClean=Symbol("isClean");IF.exports.my=Symbol("my")});var NF=m((oNt,Tfe)=>{"use strict";var Pfe={colon:": ",indent:" ",beforeDecl:`
369
+ `,beforeRule:`
370
+ `,beforeOpen:" ",beforeClose:`
371
+ `,beforeComment:`
372
+ `,after:`
373
+ `,emptyBody:"",commentLeft:" ",commentRight:" ",semicolon:!1};function hgt(t){return t[0].toUpperCase()+t.slice(1)}var ap=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 Pfe[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"+hgt(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=Pfe[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}};Tfe.exports=ap;ap.default=ap});var up=m((aNt,Mfe)=>{"use strict";var ggt=NF();function jF(t,e){new ggt(e).stringify(t)}Mfe.exports=jF;jF.default=jF});var cp=m((uNt,Ffe)=>{"use strict";var{isClean:ck,my:mgt}=lk(),ygt=uk(),bgt=NF(),vgt=up();function $F(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=>$F(o,r)):(s==="object"&&i!==null&&(i=$F(i)),r[n]=i)}return r}var lp=class{constructor(e={}){this.raws={},this[ck]=!1,this[mgt]=!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 ygt(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=vgt){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=$F(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 bgt().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}};Ffe.exports=lp;lp.default=lp});var dp=m((lNt,Lfe)=>{"use strict";var wgt=cp(),fp=class extends wgt{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]==="$"}};Lfe.exports=fp;fp.default=fp});var WF=m((cNt,jfe)=>{"use strict";var{SourceMapConsumer:Ife,SourceMapGenerator:Nfe}=Vo(),{existsSync:_gt,readFileSync:xgt}=H("fs"),{dirname:BF,join:Sgt}=H("path");function kgt(t){return Buffer?Buffer.from(t,"base64").toString():window.atob(t)}var pp=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=BF(this.mapFile)),i&&(this.text=i)}consumer(){return this.consumerCache||(this.consumerCache=new Ife(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 kgt(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=BF(e),_gt(e))return this.mapFile=e,xgt(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 Ife)return Nfe.fromSourceMap(r).toString();if(r instanceof Nfe)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=Sgt(BF(e),n)),this.loadFile(n)}}}isMap(e){return typeof e!="object"?!1:typeof e.mappings=="string"||typeof e._mappings=="string"||Array.isArray(e.sections)}};jfe.exports=pp;pp.default=pp});var hp=m((fNt,zfe)=>{"use strict";var{SourceMapConsumer:Egt,SourceMapGenerator:Cgt}=Vo(),{fileURLToPath:$fe,pathToFileURL:fk}=H("url"),{resolve:HF,isAbsolute:VF}=H("path"),{nanoid:Dgt}=DR(),zF=LF(),Bfe=uk(),Ogt=WF(),UF=Symbol("fromOffsetCache"),qgt=Boolean(Egt&&Cgt),Wfe=Boolean(HF&&VF),ql=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&&(!Wfe||/^\w+:\/\//.test(r.from)||VF(r.from)?this.file=r.from:this.file=HF(r.from)),Wfe&&qgt){let n=new Ogt(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 "+Dgt(6)+">"),this.map&&(this.map.file=this.from)}fromOffset(e){let r,n;if(this[UF])n=this[UF];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[UF]=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 Bfe(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 Bfe(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;VF(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($fe)l.file=$fe(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:HF(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}};zfe.exports=ql;ql.default=ql;zF&&zF.registerInput&&zF.registerInput(ql)});var KF=m((dNt,Yfe)=>{"use strict";var{SourceMapConsumer:Hfe,SourceMapGenerator:dk}=Vo(),{dirname:pk,resolve:Vfe,relative:Gfe,sep:Kfe}=H("path"),{pathToFileURL:Ufe}=H("url"),Rgt=hp(),Agt=Boolean(Hfe&&dk),Pgt=Boolean(pk&&Vfe&&Gfe&&Kfe),GF=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 Rgt(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 Hfe(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(Vfe(r,this.mapOpts.annotation))),e=Gfe(r,e),e}toUrl(e){return Kfe==="\\"&&(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(Ufe)return Ufe(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(),Pgt&&Agt&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,r=>{e+=r}),[e]}}};Yfe.exports=GF});var Rl=m((pNt,Qfe)=>{"use strict";var Tgt=cp(),gp=class extends Tgt{constructor(e){super(e),this.type="comment"}};Qfe.exports=gp;gp.default=gp});var lo=m((hNt,ide)=>{"use strict";var{isClean:Jfe,my:Xfe}=lk(),Zfe=dp(),ede=Rl(),Mgt=cp(),tde,YF,QF;function rde(t){return t.map(e=>(e.nodes&&(e.nodes=rde(e.nodes)),delete e.source,e))}function nde(t){if(t[Jfe]=!1,t.proxyOf.nodes)for(let e of t.proxyOf.nodes)nde(e)}var zn=class extends Mgt{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=rde(tde(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 Zfe(e)]}else if(e.selector)e=[new YF(e)];else if(e.name)e=[new QF(e)];else if(e.text)e=[new ede(e)];else throw new Error("Unknown node type in node creation");return e.map(i=>(i[Xfe]||zn.rebuild(i),i=i.proxyOf,i.parent&&i.parent.removeChild(i),i[Jfe]&&nde(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}};zn.registerParse=t=>{tde=t};zn.registerRule=t=>{YF=t};zn.registerAtRule=t=>{QF=t};ide.exports=zn;zn.default=zn;zn.rebuild=t=>{t.type==="atrule"?Object.setPrototypeOf(t,QF.prototype):t.type==="rule"?Object.setPrototypeOf(t,YF.prototype):t.type==="decl"?Object.setPrototypeOf(t,Zfe.prototype):t.type==="comment"&&Object.setPrototypeOf(t,ede.prototype),t[Xfe]=!0,t.nodes&&t.nodes.forEach(e=>{zn.rebuild(e)})}});var hk=m((gNt,ade)=>{"use strict";var Fgt=lo(),sde,ode,Ra=class extends Fgt{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new sde(new ode,this,e).stringify()}};Ra.registerLazyResult=t=>{sde=t};Ra.registerProcessor=t=>{ode=t};ade.exports=Ra;Ra.default=Ra});var JF=m((mNt,lde)=>{"use strict";var ude={};lde.exports=function(e){ude[e]||(ude[e]=!0,typeof console<"u"&&console.warn&&console.warn(e))}});var XF=m((yNt,cde)=>{"use strict";var mp=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}};cde.exports=mp;mp.default=mp});var gk=m((bNt,fde)=>{"use strict";var Lgt=XF(),yp=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 Lgt(e,r);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>e.type==="warning")}get content(){return this.css}};fde.exports=yp;yp.default=yp});var mk=m((vNt,pde)=>{"use strict";var dde=lo(),Al=class extends dde{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)}};pde.exports=Al;Al.default=Al;dde.registerAtRule(Al)});var Pl=m((wNt,mde)=>{"use strict";var Igt=lo(),hde,gde,Aa=class extends Igt{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 hde(new gde,this,e).stringify()}};Aa.registerLazyResult=t=>{hde=t};Aa.registerProcessor=t=>{gde=t};mde.exports=Aa;Aa.default=Aa});var ZF=m((_Nt,yde)=>{"use strict";var bp={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 bp.split(t,e)},comma(t){return bp.split(t,[","],!0)}};yde.exports=bp;bp.default=bp});var yk=m((xNt,vde)=>{"use strict";var bde=lo(),Ngt=ZF(),Tl=class extends bde{constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}get selectors(){return Ngt.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)}};vde.exports=Tl;Tl.default=Tl;bde.registerRule(Tl)});var tL=m((SNt,xde)=>{"use strict";var jgt=dp(),$gt=ak(),Bgt=Rl(),Wgt=mk(),zgt=Pl(),wde=yk(),_de={empty:!0,space:!0};function Ugt(t){for(let e=t.length-1;e>=0;e--){let r=t[e],n=r[3]||r[2];if(n)return n}}var eL=class{constructor(e){this.input=e,this.root=new zgt,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=$gt(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 Bgt;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 wde;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 wde;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 jgt;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]||Ugt(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 Wgt;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",!_de[f]&&!_de[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])}};xde.exports=eL});var vk=m((kNt,Sde)=>{"use strict";var Hgt=lo(),Vgt=tL(),Ggt=hp();function bk(t,e){let r=new Ggt(t,e),n=new Vgt(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}Sde.exports=bk;bk.default=bk;Hgt.registerParse(bk)});var iL=m((ENt,Dde)=>{"use strict";var{isClean:ji,my:Kgt}=lk(),Ygt=KF(),Qgt=up(),Jgt=lo(),Xgt=hk(),Zgt=JF(),kde=gk(),emt=vk(),tmt=Pl(),rmt={document:"Document",root:"Root",atrule:"AtRule",rule:"Rule",decl:"Declaration",comment:"Comment"},nmt={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},imt={postcssPlugin:!0,prepare:!0,Once:!0},Ml=0;function vp(t){return typeof t=="object"&&typeof t.then=="function"}function Cde(t){let e=!1,r=rmt[t.type];return t.type==="decl"?e=t.prop.toLowerCase():t.type==="atrule"&&(e=t.name.toLowerCase()),e&&t.append?[r,r+"-"+e,Ml,r+"Exit",r+"Exit-"+e]:e?[r,r+"-"+e,r+"Exit",r+"Exit-"+e]:t.append?[r,Ml,r+"Exit"]:[r,r+"Exit"]}function Ede(t){let e;return t.type==="document"?e=["Document",Ml,"DocumentExit"]:t.type==="root"?e=["Root",Ml,"RootExit"]:e=Cde(t),{node:t,events:e,eventIndex:0,visitors:[],visitorIndex:0,iterator:0}}function rL(t){return t[ji]=!1,t.nodes&&t.nodes.forEach(e=>rL(e)),t}var nL={},$i=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=rL(r);else if(r instanceof $i||r instanceof kde)i=rL(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=emt;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[Kgt]&&Jgt.rebuild(i)}this.result=new kde(e,i,n),this.helpers={...nL,result:this.result,postcss:nL},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||Zgt("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(vp(r))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ji];)e[ji]=!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=Qgt;e.syntax&&(r=e.syntax.stringify),e.stringifier&&(r=e.stringifier),r.stringify&&(r=r.stringify);let i=new Ygt(r,this.result.root,this.result.opts).generate();return this.result.css=i[0],this.result.map=i[1],this.result}walkSync(e){e[ji]=!0;let r=Cde(e);for(let n of r)if(n===Ml)e.nodes&&e.each(i=>{i[ji]||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(vp(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 vp(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(vp(n))try{await n}catch(i){throw this.handleError(i)}}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[ji];){e[ji]=!0;let r=[Ede(e)];for(;r.length>0;){let n=this.visitTick(r);if(vp(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(!nmt[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${r.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!imt[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[ji]){a[ji]=!0,e.push(Ede(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===Ml){n.nodes&&n.nodes.length&&(n[ji]=!0,r.iterator=n.getIterator());return}else if(this.listeners[o]){r.visitors=this.listeners[o];return}}e.pop()}};$i.registerPostcss=t=>{nL=t};Dde.exports=$i;$i.default=$i;tmt.registerLazyResult($i);Xgt.registerLazyResult($i)});var qde=m((CNt,Ode)=>{"use strict";var smt=KF(),omt=up(),amt=JF(),umt=vk(),lmt=gk(),wp=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=omt;this.result=new lmt(this._processor,i,this._opts),this.result.css=r;let o=this;Object.defineProperty(this.result,"root",{get(){return o.root}});let a=new smt(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=umt;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||amt("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}};Ode.exports=wp;wp.default=wp});var Ade=m((DNt,Rde)=>{"use strict";var cmt=qde(),fmt=iL(),dmt=hk(),pmt=Pl(),Pa=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 cmt(this,e,r):new fmt(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}};Rde.exports=Pa;Pa.default=Pa;pmt.registerProcessor(Pa);dmt.registerProcessor(Pa)});var Tde=m((ONt,Pde)=>{"use strict";var hmt=dp(),gmt=WF(),mmt=Rl(),ymt=mk(),bmt=hp(),vmt=Pl(),wmt=yk();function _p(t,e){if(Array.isArray(t))return t.map(i=>_p(i));let{inputs:r,...n}=t;if(r){e=[];for(let i of r){let s={...i,__proto__:bmt.prototype};s.map&&(s.map={...s.map,__proto__:gmt.prototype}),e.push(s)}}if(n.nodes&&(n.nodes=t.nodes.map(i=>_p(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 vmt(n);if(n.type==="decl")return new hmt(n);if(n.type==="rule")return new wmt(n);if(n.type==="comment")return new mmt(n);if(n.type==="atrule")return new ymt(n);throw new Error("Unknown node type: "+t.type)}Pde.exports=_p;_p.default=_p});var Bde=m((qNt,$de)=>{"use strict";var _mt=uk(),Mde=dp(),xmt=iL(),Smt=lo(),sL=Ade(),kmt=up(),Emt=Tde(),Fde=hk(),Cmt=XF(),Lde=Rl(),Ide=mk(),Dmt=gk(),Omt=hp(),qmt=vk(),Rmt=ZF(),Nde=yk(),jde=Pl(),Amt=cp();function ct(...t){return t.length===1&&Array.isArray(t[0])&&(t=t[0]),new sL(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 sL().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=kmt;ct.parse=qmt;ct.fromJSON=Emt;ct.list=Rmt;ct.comment=t=>new Lde(t);ct.atRule=t=>new Ide(t);ct.decl=t=>new Mde(t);ct.rule=t=>new Nde(t);ct.root=t=>new jde(t);ct.document=t=>new Fde(t);ct.CssSyntaxError=_mt;ct.Declaration=Mde;ct.Container=Smt;ct.Processor=sL;ct.Document=Fde;ct.Comment=Lde;ct.Warning=Cmt;ct.AtRule=Ide;ct.Result=Dmt;ct.Input=Omt;ct.Rule=Nde;ct.Root=jde;ct.Node=Amt;xmt.registerPostcss(ct);$de.exports=ct;ct.default=ct});var zde=m((RNt,Wde)=>{var Pmt=ak(),Tmt=Rl(),Mmt=tL(),oL=class extends Mmt{createTokenizer(){this.tokenizer=Pmt(this.input,{ignoreErrors:!0})}comment(e){let r=new Tmt;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=""}};Wde.exports=oL});var Hde=m((ANt,Ude)=>{var{Input:Fmt}=Bde(),Lmt=zde();Ude.exports=function(e,r){let n=new Fmt(e,r),i=new Lmt(n);return i.parse(),i.root}});var Kde=m((PNt,Gde)=>{"use strict";var Imt=e0().default,Nmt=H("path"),{default:wk}=t0(),{promises:jmt}=H("fs"),$mt=wk();Gde.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?Bmt(r.customSyntax):Wmt(e,r.filePath),s={from:r.filePath,syntax:i},o;if(r.code!==void 0?o=r.code:r.filePath&&(o=await jmt.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 Imt($mt,o,s);return r.filePath&&e._postcssResultCache.set(r.filePath,a),a};function Bmt(t){let e;if(typeof t=="string"){try{e=H(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 Vde={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 Wmt(t,e){let r=e?Nmt.extname(e).slice(1).toLowerCase():"",n=["css","pcss","postcss"];return Vde[r]&&console.warn(`${e}: When linting something other than CSS, you should install an appropriate syntax, e.g. "${Vde[r]}", and use the "customSyntax" option`),{parse:t._options.fix&&n.includes(r)?Hde():wk.parse,stringify:wk.stringify}}});var xk=m((MNt,npe)=>{function Yde(t){return Array.isArray(t)?t:[t]}var Zde="",Qde=" ",aL="\\",zmt=/^\s+$/,Umt=/(?:[^\\]|^)\\$/,Hmt=/^\\!/,Vmt=/^\\#/,Gmt=/\r?\n/g,Kmt=/^\.*\/|^\.+$/,uL="/",epe="node-ignore";typeof Symbol<"u"&&(epe=Symbol.for("node-ignore"));var Jde=epe,Ymt=(t,e,r)=>Object.defineProperty(t,e,{value:r}),Qmt=/([0-z])-([0-z])/g,tpe=()=>!1,Jmt=t=>t.replace(Qmt,(e,r,n)=>r.charCodeAt(0)<=n.charCodeAt(0)?e:Zde),Xmt=t=>{let{length:e}=t;return t.slice(0,e-e%2)},Zmt=[[/\\?\s+$/,t=>t.indexOf("\\")===0?Qde:Zde],[/\\\s/g,()=>Qde],[/[\\$.|*+(){^]/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,()=>aL],[/\\\\/g,()=>aL],[/(\\)?\[([^\]/]*?)(\\*)($|\])/g,(t,e,r,n,i)=>e===aL?`\\[${r}${Xmt(n)}${i}`:i==="]"&&n.length%2===0?`[${Jmt(r)}${n}]`:"[]"],[/(?:[^*])$/,t=>/\/$/.test(t)?`${t}$`:`${t}(?=$|\\/$)`],[/(\^|\\\/)?\\\*$/,(t,e)=>`${e?`${e}[^/]+`:"[^/]*"}(?=$|\\/$)`]],Xde=Object.create(null),eyt=(t,e)=>{let r=Xde[t];return r||(r=Zmt.reduce((n,i)=>n.replace(i[0],i[1].bind(t)),t),Xde[t]=r),e?new RegExp(r,"i"):new RegExp(r)},fL=t=>typeof t=="string",tyt=t=>t&&fL(t)&&!zmt.test(t)&&!Umt.test(t)&&t.indexOf("#")!==0,ryt=t=>t.split(Gmt),lL=class{constructor(e,r,n,i){this.origin=e,this.pattern=r,this.negative=n,this.regex=i}},nyt=(t,e)=>{let r=t,n=!1;t.indexOf("!")===0&&(n=!0,t=t.substr(1)),t=t.replace(Hmt,"!").replace(Vmt,"#");let i=eyt(t,e);return new lL(r,t,n,i)},iyt=(t,e)=>{throw new e(t)},ms=(t,e,r)=>fL(t)?t?ms.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),rpe=t=>Kmt.test(t);ms.isNotRelative=rpe;ms.convert=t=>t;var cL=class{constructor({ignorecase:e=!0,ignoreCase:r=e,allowRelativePaths:n=!1}={}){Ymt(this,Jde,!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[Jde]){this._rules=this._rules.concat(e._rules),this._added=!0;return}if(tyt(e)){let r=nyt(e,this._ignoreCase);this._added=!0,this._rules.push(r)}}add(e){return this._added=!1,Yde(fL(e)?ryt(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&&ms.convert(e);return ms(s,e,this._allowRelativePaths?tpe:iyt),this._t(s,r,n,i)}_t(e,r,n,i){if(e in r)return r[e];if(i||(i=e.split(uL)),i.pop(),!i.length)return r[e]=this._testOne(e,n);let s=this._t(i.join(uL)+uL,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 Yde(e).filter(this.createFilter())}test(e){return this._test(e,this._testCache,!0)}},_k=t=>new cL(t),syt=t=>ms(t&&ms.convert(t),t,tpe);_k.isPathValid=syt;_k.default=_k;npe.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,"/");ms.convert=t;let e=/^[a-z]:\//i;ms.isNotRelative=r=>e.test(r)||rpe(r)}});var dL=m((FNt,ipe)=>{"use strict";var{isPathValid:oyt}=xk().default;ipe.exports=function(e,r){let n=r.filter(oyt),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 pL=m((LNt,spe)=>{"use strict";var ayt=H("util");spe.exports=function(e){return ayt.types.isNativeError(e)&&e.code==="ENOENT"}});var hL=m((INt,ape)=>{"use strict";var uyt=H("fs"),ope=H("path"),{default:lyt}=xk(),cyt=pL(),fyt=".stylelintignore";ape.exports=function(e){let r=lyt(),n=[e.ignorePath||[]].flat();n.length===0&&n.push(fyt);for(let i of n){let s=ope.isAbsolute(i)?i:ope.resolve(e.cwd,i);try{let o=uyt.readFileSync(s,"utf8");r.add(o)}catch(o){if(!cyt(o))throw o}}return r.add(e.ignorePattern||[]),r}});var lpe=m((NNt,upe)=>{"use strict";var dyt=wg(),pyt=B1(),gL=H("path"),hyt=dL(),gyt=sp(),myt=hL();upe.exports=async function(e,r){if(!r)return!1;let n=e._options.cwd,i=myt(e._options),s=await gyt(e,r,r);if(!s)return!0;let o=[s.config.ignoreFiles||[]].flat().map(u=>pyt(u)),a=gL.isAbsolute(r)?r:gL.resolve(n,r);return!!(dyt([a],o).length||hyt(i,[gL.relative(n,a)]).length===0)}});var mpe=m((jNt,gpe)=>{"use strict";var cpe=qu(),{DISABLE_COMMAND:fpe,DISABLE_LINE_COMMAND:dpe,DISABLE_NEXT_LINE_COMMAND:ppe,ENABLE_COMMAND:hpe,extractStylelintCommand:yyt,isStylelintCommand:mL}=q2(),{assert:byt,assertNumber:vyt,assertString:wyt}=re(),Un="all";function yL(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}}gpe.exports=function(e,r){r.stylelint=r.stylelint||{disabledRanges:{},ruleSeverities:{},customMessages:{},ruleMetadata:{}};let n={[Un]:[]};r.stylelint.disabledRanges=n;let i;return e.walkComments(g=>{if(i){i===g&&(i=null);return}let v=g.next();if(!(!cpe(g)&&mL(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(;!cpe(x)&&!mL(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(dpe,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(ppe,g.text))a(g,v+1,_,w)}}function a(g,v,w,_){if(b(Un))throw g.error("All rules have already been disabled",{plugin:"stylelint"});if(w===Un)for(let x of Object.keys(n)){if(b(x))continue;let C=x===Un;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(fpe,g.text)){let _=w===Un;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===Un,v);else p(g,x,w,!0,v)}}}function l(g){for(let v of f(hpe,g.text)){let w=g.source&&g.source.end&&g.source.end.line;if(vyt(w),v===Un){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,_,_===Un)}continue}if(b(Un)&&n[v]===void 0){n[v]=n[Un].map(({start:_,end:x,description:C})=>yL(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(mL(g))switch(yyt(g)){case dpe:s(g);break;case ppe:o(g);break;case fpe:u(g);break;case hpe:l(g);break}}function f(g,v){let w=v.slice(g.length).split(/\s-{2,}\s/u)[0];wyt(w);let _=w.trim().split(",").filter(Boolean).map(x=>x.trim());return _.length===0?[Un]:_}function d(g){let v=g.indexOf("--");if(v!==-1)return g.slice(v+2).trim()}function p(g,v,w,_,x){let C=yL(g,v,_,x);y(w);let M=n[w];byt(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[Un].map(({comment:v,start:w,end:_,description:x})=>yL(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 bpe=m(($Nt,ype)=>{"use strict";var _yt=H("os");function xyt(){return _yt.EOL}ype.exports=xyt});var wpe=m(Fl=>{"use strict";Fl.__esModule=!0;Fl.distance=Fl.closest=void 0;var ys=new Uint32Array(65536),Syt=function(t,e){for(var r=t.length,n=e.length,i=1<<r-1,s=-1,o=0,a=r,u=r;u--;)ys[t.charCodeAt(u)]|=1<<u;for(u=0;u<n;u++){var l=ys[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--;)ys[t.charCodeAt(u)]=0;return a},kyt=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++)ys[t.charCodeAt(h)]|=1<<h;for(var u=0;u<r;u++){var y=ys[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++)ys[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++)ys[t.charCodeAt(h)]|=1<<h;for(var z=n,u=0;u<r;u++){var y=ys[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++)ys[t.charCodeAt(h)]=0;return z},vpe=function(t,e){if(t.length<e.length){var r=e;e=t,t=r}return e.length===0?t.length:t.length<=32?Syt(t,e):kyt(t,e)};Fl.distance=vpe;var Eyt=function(t,e){for(var r=1/0,n=0,i=0;i<e.length;i++){var s=vpe(t,e[i]);s<r&&(r=s,n=i)}return e[n]};Fl.closest=Eyt});var kpe=m((WNt,Spe)=>{"use strict";var Cyt=wpe(),Dyt=Dd(),_pe=6,xpe=3;function Oyt(t){let e=Array.from({length:_pe});for(let n=0;n<e.length;n++)e[n]=[];for(let n of Object.keys(Dyt)){let i=Cyt.distance(n,t);i<=_pe&&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,xpe);r=r.concat(i)}return r.slice(0,xpe)}function qyt(t,e=[]){return`Unknown rule ${t}.${e.length>0?` Did you mean ${e.join(", ")}?`:""}`}var bL=new Map;Spe.exports=function(e,r,n){let i=bL.has(e)?bL.get(e):Oyt(e);bL.set(e,i),n.warn(qyt(e,i),{severity:"error",rule:e,node:r,index:0})}});var Cpe=m((zNt,Epe)=>{"use strict";var Ryt=mpe(),Ayt=bpe(),Pyt=kpe(),Tyt=Dd(),Myt=s1();function Fyt(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]:Ayt(),Ryt(i,e)}let s=Lyt(e);s||(e.stylelint.disableWritingFix=!0);let o=i&&i.constructor.name==="Document"?i.nodes:[i],a=[],u=Object.keys(Tyt),l=r.rules?Object.keys(r.rules).sort((c,f)=>u.indexOf(c)-u.indexOf(f)):[];for(let c of l){let f=Myt(c,r);if(f===void 0){a.push(Promise.all(o.map(g=>Pyt(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 Lyt({stylelint:t}){return!(t.disabledRanges.all&&t.disabledRanges.all.length)}Epe.exports=Fyt});var wL=m((UNt,Rpe)=>{"use strict";var Iyt=H("path"),Dpe=sp(),Nyt=Kde(),jyt=lpe(),Ope=pL(),$yt=Cpe();Rpe.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&&!Iyt.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 jyt(e,i).catch(h=>{if(n&&Ope(h))return!1;throw h}))return r.existingPostcssResult?Object.assign(r.existingPostcssResult,{stylelint:vL()}):qpe(i);let o=e._options.configFile||i,a=e._options.cwd,u;try{u=await Dpe(e,o,i)}catch(h){if(n&&Ope(h))u=await Dpe(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:vL()}):qpe(i);let f={ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{}},d=c||await Nyt(e,{code:r.code,codeFilename:r.codeFilename,filePath:i,codeProcessors:l.codeProcessors,customSyntax:l.customSyntax}),p=Object.assign(d,{stylelint:f});return await $yt(e._options,p,l),p};function vL(){return{ruleSeverities:{},customMessages:{},ruleMetadata:{},disabledRanges:{},ignored:!0,stylelintError:!1,stylelintWarning:!1}}function qpe(t){return{root:{source:{input:{file:t}}},messages:[],opts:void 0,stylelint:vL(),warn:()=>{}}}});var Ppe=m((HNt,_L)=>{"use strict";var Ape=H("path"),Byt=rp(),Wyt=wL();_L.exports=(t={})=>{let[e,r]=zyt(t)?[process.cwd(),{config:t}]:[t.cwd||process.cwd(),t],n=Byt(r);return{postcssPlugin:"stylelint",Once(i,{result:s}){let o=i.source&&i.source.input.file;return o&&!Ape.isAbsolute(o)&&(o=Ape.join(e,o)),Wyt(n,{filePath:o,existingPostcssResult:s})}}};_L.exports.postcss=!0;function zyt(t){return"rules"in t}});var Mpe=m((VNt,Tpe)=>{"use strict";var xL=H("path"),Uyt=rp(),Hyt=sp();Tpe.exports=async function(e,{cwd:r=process.cwd(),config:n,configBasedir:i,configFile:s}={}){if(!e)return;let o=Uyt({config:n,configFile:s,configBasedir:i,cwd:r}),a=xL.isAbsolute(e)?xL.normalize(e):xL.join(r,e),u=o._options.configFile||a,l=await Hyt(o,u,a);if(l)return l.config}});var Lpe=m((GNt,Fpe)=>{"use strict";Fpe.exports=(...t)=>[...new Set([].concat(...t))]});var Bpe=m((KNt,SL)=>{"use strict";var Ta=H("path"),Ipe=GT(),Npe=t=>t.length>1?`{${t.join(",")}}`:t[0],jpe=(t,e)=>{let r=t[0]==="!"?t.slice(1):t;return Ta.isAbsolute(r)?r:Ta.join(e,r)},Vyt=(t,e)=>Ta.extname(t)?`**/${t}`:`**/${t}.${Npe(e)}`,$pe=(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=>Ta.posix.join(t,Vyt(r,e.extensions))):e.files?e.files.map(r=>Ta.posix.join(t,`**/${r}`)):e.extensions?[Ta.posix.join(t,`**/*.${Npe(e.extensions)}`)]:[Ta.posix.join(t,"**")]};SL.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 Ipe.isDirectory(jpe(n,e.cwd))?$pe(n,e):n));return[].concat.apply([],r)};SL.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=>Ipe.isDirectorySync(jpe(n,e.cwd))?$pe(n,e):n);return[].concat.apply([],r)}});var zpe=m((YNt,Wpe)=>{"use strict";Wpe.exports=t=>{let e=/^\\\\\?\\/.test(t),r=/[^\u0000-\u0080]+/.test(t);return e||r?t:t.replace(/\\/g,"/")}});var Qpe=m((QNt,kL)=>{"use strict";var{promisify:Gyt}=H("util"),Upe=H("fs"),bs=H("path"),Hpe=Ao(),Kyt=xk(),xp=zpe(),Vpe=["**/node_modules/**","**/flow-typed/**","**/coverage/**","**/.git"],Yyt=Gyt(Upe.readFile),Qyt=t=>e=>e.startsWith("!")?"!"+bs.posix.join(t,e.slice(1)):bs.posix.join(t,e),Jyt=(t,e)=>{let r=xp(bs.relative(e.cwd,bs.dirname(e.fileName)));return t.split(/\r?\n/).filter(Boolean).filter(n=>!n.startsWith("#")).map(Qyt(r))},Gpe=t=>{let e=Kyt();for(let r of t)e.add(Jyt(r.content,{cwd:r.cwd,fileName:r.filePath}));return e},Xyt=(t,e)=>{if(t=xp(t),bs.isAbsolute(e)){if(xp(e).startsWith(t))return e;throw new Error(`Path ${e} is not in cwd ${t}`)}return bs.join(t,e)},Kpe=(t,e)=>r=>t.ignores(xp(bs.relative(e,Xyt(e,r.path||r)))),Zyt=async(t,e)=>{let r=bs.join(e,t),n=await Yyt(r,"utf8");return{cwd:e,filePath:r,content:n}},ebt=(t,e)=>{let r=bs.join(e,t),n=Upe.readFileSync(r,"utf8");return{cwd:e,filePath:r,content:n}},Ype=({ignore:t=[],cwd:e=xp(process.cwd())}={})=>({ignore:t,cwd:e});kL.exports=async t=>{t=Ype(t);let e=await Hpe("**/.gitignore",{ignore:Vpe.concat(t.ignore),cwd:t.cwd}),r=await Promise.all(e.map(i=>Zyt(i,t.cwd))),n=Gpe(r);return Kpe(n,t.cwd)};kL.exports.sync=t=>{t=Ype(t);let r=Hpe.sync("**/.gitignore",{ignore:Vpe.concat(t.ignore),cwd:t.cwd}).map(i=>ebt(i,t.cwd)),n=Gpe(r);return Kpe(n,t.cwd)}});var Xpe=m((JNt,Jpe)=>{"use strict";var{Transform:tbt}=H("stream"),Sk=class extends tbt{constructor(){super({objectMode:!0})}},EL=class extends Sk{constructor(e){super(),this._filter=e}_transform(e,r,n){this._filter(e)&&this.push(e),n()}},CL=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()}};Jpe.exports={FilterStream:EL,UniqueStream:CL}});var nhe=m((XNt,Ma)=>{"use strict";var ehe=H("fs"),kk=Lpe(),rbt=EO(),Ek=Ao(),Ck=Bpe(),DL=Qpe(),{FilterStream:nbt,UniqueStream:ibt}=Xpe(),the=()=>!1,Zpe=t=>t[0]==="!",sbt=t=>{if(!t.every(e=>typeof e=="string"))throw new TypeError("Patterns must be a string or an array of strings")},obt=(t={})=>{if(!t.cwd)return;let e;try{e=ehe.statSync(t.cwd)}catch{return}if(!e.isDirectory())throw new Error("The `cwd` option must be a path to a directory")},abt=t=>t.stats instanceof ehe.Stats?t.path:t,Dk=(t,e)=>{t=kk([].concat(t)),sbt(t),obt(e);let r=[];e={ignore:[],expandDirectories:!0,...e};for(let[n,i]of t.entries()){if(Zpe(i))continue;let s=t.slice(n).filter(a=>Zpe(a)).map(a=>a.slice(1)),o={...e,ignore:e.ignore.concat(s)};r.push({pattern:i,options:o})}return r},ubt=(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)},OL=(t,e)=>t.options.expandDirectories?ubt(t,e):[t.pattern],rhe=t=>t&&t.gitignore?DL.sync({cwd:t.cwd,ignore:t.ignore}):the,qL=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}};Ma.exports=async(t,e)=>{let r=Dk(t,e),n=async()=>e&&e.gitignore?DL({cwd:e.cwd,ignore:e.ignore}):the,i=async()=>{let u=await Promise.all(r.map(async l=>{let c=await OL(l,Ck);return Promise.all(c.map(qL(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(abt(u)))};Ma.exports.sync=(t,e)=>{let r=Dk(t,e),n=[];for(let o of r){let a=OL(o,Ck.sync).map(qL(o));n.push(...a)}let i=rhe(e),s=[];for(let o of n)s=kk(s,Ek.sync(o.pattern,o.options));return s.filter(o=>!i(o))};Ma.exports.stream=(t,e)=>{let r=Dk(t,e),n=[];for(let a of r){let u=OL(a,Ck.sync).map(qL(a));n.push(...u)}let i=rhe(e),s=new nbt(a=>!i(a)),o=new ibt;return rbt(n.map(a=>Ek.stream(a.pattern,a.options))).pipe(s).pipe(o)};Ma.exports.generateGlobTasks=Dk;Ma.exports.hasMagic=(t,e)=>[].concat(t).some(r=>Ek.isDynamicPattern(r,e));Ma.exports.gitignore=DL});var she=m((ZNt,ihe)=>{"use strict";ihe.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 ahe=m((e5t,ohe)=>{"use strict";var lbt=she(),cbt=sp();ohe.exports=async function(e,r,n,i){let s=lbt(r,i),o=await cbt(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 lhe=m((t5t,uhe)=>{"use strict";var fbt=ZS();uhe.exports=function(e={}){let r=Object.keys(fbt).map(n=>`"${n}"`).join(", ");return e.useOr&&(r=r.replace(/, ([a-z"]+)$/u," or $1")),r}});var fhe=m((r5t,che)=>{"use strict";var RL=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.`}};che.exports=RL});var phe=m((n5t,dhe)=>{"use strict";var AL=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'}};dhe.exports=AL});var Ok=m((i5t,hhe)=>{"use strict";var dbt=N(),{isRegExp:pbt,isString:hbt}=re();hhe.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={}),!dbt(e,r,{actual:s,possible:[!0,!1]},{actual:o,possible:{except:[hbt,pbt]}})||!s&&!o.except?null:[s,{except:o.except||[],severity:o.severity||n.config.defaultSeverity||"error"},n]}});var mhe=m((s5t,ghe)=>{"use strict";var gbt=xe(),mbt=Ok();ghe.exports=function(e){for(let r of e){let n=mbt(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===gbt(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 bhe=m((o5t,yhe)=>{"use strict";var ybt=xe(),bbt=Ok();yhe.exports=function(e){for(let r of e){let n=bbt(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!==ybt(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 whe=m((a5t,vhe)=>{"use strict";vhe.exports=function(e,r,n){if(e.has(r))return e.get(r);let i=n();return e.set(r,i),i}});var khe=m((u5t,She)=>{"use strict";var vbt=xe(),_he=whe(),wbt=Ok();She.exports=function(e){for(let r of e){let n=wbt(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)xhe(f,h)&&_he(l,h.comment,()=>new Set).add(d);for(let h of a.all||[])xhe(f,h)&&_he(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===vbt(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 xhe(t,e){let r=t.line;return e.start<=r&&(e.end!==void 0&&e.end>=r||e.end===void 0)}});var Dhe=m((l5t,Che)=>{"use strict";Che.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=>Ehe(s)))for(let[s,o]of Object.entries(n))for(let a of o)Ehe(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 Ehe(t){return!t||!t[1]?!1:Boolean(t[1].reportDisables)}});var qhe=m((c5t,Ohe)=>{"use strict";var _bt=mhe(),xbt=bhe(),Sbt=khe(),kbt=Dhe();Ohe.exports=function(e,r,n,i){kbt(e),Sbt(e),xbt(e),_bt(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:Ebt(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 Ebt(t){let[e]=t;return e===void 0?{}:e._postcssResult===void 0?{}:e._postcssResult.stylelint.ruleMetadata}});var Rhe=m((f5t,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 Fhe=m((d5t,Nl)=>{var It=global.process,Fa=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"};Fa(It)?(Ahe=H("assert"),Ll=Rhe(),Phe=/^win/i.test(It.platform),Sp=H("events"),typeof Sp!="function"&&(Sp=Sp.EventEmitter),It.__signal_exit_emitter__?pr=It.__signal_exit_emitter__:(pr=It.__signal_exit_emitter__=new Sp,pr.count=0,pr.emitted={}),pr.infinite||(pr.setMaxListeners(1/0),pr.infinite=!0),Nl.exports=function(t,e){if(!Fa(global.process))return function(){};Ahe.equal(typeof t,"function","a callback must be provided for exit handler"),Il===!1&&PL();var r="exit";e&&e.alwaysLast&&(r="afterexit");var n=function(){pr.removeListener(r,t),pr.listeners("exit").length===0&&pr.listeners("afterexit").length===0&&Rk()};return pr.on(r,t),n},Rk=function(){!Il||!Fa(global.process)||(Il=!1,Ll.forEach(function(e){try{It.removeListener(e,Ak[e])}catch{}}),It.emit=Pk,It.reallyExit=TL,pr.count-=1)},Nl.exports.unload=Rk,La=function(e,r,n){pr.emitted[e]||(pr.emitted[e]=!0,pr.emit(e,r,n))},Ak={},Ll.forEach(function(t){Ak[t]=function(){if(Fa(global.process)){var r=It.listeners(t);r.length===pr.count&&(Rk(),La("exit",null,t),La("afterexit",null,t),Phe&&t==="SIGHUP"&&(t="SIGINT"),It.kill(It.pid,t))}}}),Nl.exports.signals=function(){return Ll},Il=!1,PL=function(){Il||!Fa(global.process)||(Il=!0,pr.count+=1,Ll=Ll.filter(function(e){try{return It.on(e,Ak[e]),!0}catch{return!1}}),It.emit=Mhe,It.reallyExit=The)},Nl.exports.load=PL,TL=It.reallyExit,The=function(e){Fa(global.process)&&(It.exitCode=e||0,La("exit",It.exitCode,null),La("afterexit",It.exitCode,null),TL.call(It,It.exitCode))},Pk=It.emit,Mhe=function(e,r){if(e==="exit"&&Fa(global.process)){r!==void 0&&(It.exitCode=r);var n=Pk.apply(this,arguments);return La("exit",It.exitCode,null),La("afterexit",It.exitCode,null),n}else return Pk.apply(this,arguments)}):Nl.exports=function(){return function(){}};var Ahe,Ll,Phe,Sp,pr,Rk,La,Ak,Il,PL,TL,The,Pk,Mhe});var Ihe=m((p5t,kp)=>{"use strict";kp.exports=Pbt;kp.exports.sync=Tbt;kp.exports._getTmpname=ML;kp.exports._cleanupOnExit=FL;var Nt=H("fs"),Cbt=YM(),Lhe=Fhe(),Dbt=H("path"),{promisify:Hn}=H("util"),co={},Obt=function(){try{return H("worker_threads").threadId}catch{return 0}}(),qbt=0;function ML(t){return t+"."+Cbt(__filename).hash(String(process.pid)).hash(String(Obt)).hash(String(++qbt)).result()}function FL(t){return()=>{try{Nt.unlinkSync(typeof t=="function"?t():t)}catch{}}}function Rbt(t){return new Promise(e=>{co[t]||(co[t]=[]),co[t].push(e),co[t].length===1&&e()})}function Tk(t){return t.code==="ENOSYS"||(!process.getuid||process.getuid()!==0)&&(t.code==="EINVAL"||t.code==="EPERM")}async function Abt(t,e,r={}){typeof r=="string"&&(r={encoding:r});let n,i,s=Lhe(FL(()=>i)),o=Dbt.resolve(t);try{await Rbt(o);let a=await Hn(Nt.realpath)(t).catch(()=>t);if(i=ML(a),!r.mode||!r.chown){let u=await Hn(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 Hn(Nt.open)(i,"w",r.mode),r.tmpfileCreated&&await r.tmpfileCreated(i),ArrayBuffer.isView(e)?await Hn(Nt.write)(n,e,0,e.length,0):e!=null&&await Hn(Nt.write)(n,String(e),0,String(r.encoding||"utf8")),r.fsync!==!1&&await Hn(Nt.fsync)(n),await Hn(Nt.close)(n),n=null,r.chown&&await Hn(Nt.chown)(i,r.chown.uid,r.chown.gid).catch(u=>{if(!Tk(u))throw u}),r.mode&&await Hn(Nt.chmod)(i,r.mode).catch(u=>{if(!Tk(u))throw u}),await Hn(Nt.rename)(i,a)}finally{n&&await Hn(Nt.close)(n).catch(()=>{}),s(),await Hn(Nt.unlink)(i).catch(()=>{}),co[o].shift(),co[o].length>0?co[o][0]():delete co[o]}}async function Pbt(t,e,r,n){r instanceof Function&&(n=r,r={});let i=Abt(t,e,r);if(n)try{let s=await i;return n(s)}catch(s){return n(s)}return i}function Tbt(t,e,r){typeof r=="string"?r={encoding:r}:r||(r={});try{t=Nt.realpathSync(t)}catch{}let n=ML(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=FL(n),o=Lhe(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 Whe=m((h5t,Bhe)=>{"use strict";var LL=mM()("stylelint:standalone"),Mbt=Ao(),Fbt=H("fs"),Lbt=nhe(),Ibt=B1(),Bi=H("path"),Nbt=rp(),jL=ahe(),Nhe=dL(),IL=ZS(),jbt=hL(),$bt=lhe(),jhe=wL(),Bbt=fhe(),Wbt=phe(),{assert:zbt}=re(),NL=qhe(),Ubt=["**/node_modules/**"],Hbt=Ihe();async function Vbt({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{$=jbt({cwd:c,ignorePath:g,ignorePattern:v})}catch(se){return Promise.reject(se)}let te;try{te=Gbt(h)}catch(se){return Promise.reject(se)}let K=Nbt({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 se=s!==void 0&&!Bi.isAbsolute(s)?Bi.join(c,s):s;if(se&&!Nhe($,[Bi.relative(c,se)]).length)return NL([],w,te,c);let he;try{let Je=await jhe(K,{code:i,codeFilename:se});he=await jL(K,Je,se)}catch(Je){he=await $he(K,Je)}let ve=he._postcssResult,De=NL([he],w,te,c);return p&&ve&&!ve.stylelint.ignored&&!ve.stylelint.ruleDisableFix&&(De.output=!ve.stylelint.disableWritingFix&&ve.opts?ve.root.toString(ve.opts.syntax):i),De}let ue=[d].flat().map(se=>{let he=y&&y.cwd||c,ve=Bi.isAbsolute(se)?Bi.normalize(se):Bi.join(he,se);return Fbt.existsSync(ve)?Mbt.escapePath(Ibt(se)):se});f||(ue=ue.concat(Ubt.map(se=>`!${se}`))),e||K._fileCache.destroy();let F={cwd:c,...y||{},absolute:!0},T=F.cwd,le=await Lbt(ue,F),ne=le.length;le=Nhe($,le.map(se=>Bi.relative(T,se)));let de;if(le.length){let he=le.map(ve=>Bi.isAbsolute(ve)?Bi.normalize(ve):Bi.join(T,ve)).map(async ve=>{LL(`Processing ${ve}`);try{let De=await jhe(K,{filePath:ve,cache:e});if((De.stylelint.stylelintError||De.stylelint.stylelintWarning)&&e&&(LL(`${ve} contains linting errors and will not be cached.`),K._fileCache.removeEntry(ve)),De.root&&De.opts&&!De.stylelint.ignored&&p&&!De.stylelint.disableWritingFix){let Je=De.root.toString(De.opts.syntax);De.root&&De.root.source&&De.root.source.input.css!==Je&&await Hbt(ve,Je)}return jL(K,De,ve)}catch(De){return K._fileCache.removeEntry(ve),$he(K,De,ve)}});de=await Promise.all(he)}else t?de=await Promise.all([]):ne?de=await Promise.reject(new Wbt):de=await Promise.reject(new Bbt(ue));e&&K._fileCache.reconcile();let ae=NL(de,w,te,c);return LL(`Linting complete in ${Date.now()-R}ms`),ae}function Gbt(t){if(typeof t=="string"){let e=IL[t];if(e===void 0)throw new Error(`You must use a valid formatter option: ${$bt()} or a function`);return e}return typeof t=="function"?t:(zbt(IL.json),IL.json)}function $he(t,e,r=void 0){if(e.name==="CssSyntaxError")return jL(t,void 0,r,e);throw e}Bhe.exports=Vbt});var Uhe=m((g5t,zhe)=>{"use strict";var Kbt=tie(),Ybt=nie(),Qbt=rp(),Jbt=ZS(),Xbt=Ppe(),Zbt=U(),e0t=Mpe(),t0t=j(),r0t=Dd(),{longhandSubPropertiesOfShorthandProperties:n0t}=Eu(),i0t=Whe(),s0t=N(),o0t=Object.assign(Xbt,{lint:i0t,rules:r0t,formatters:Jbt,createPlugin:Ybt,resolveConfig:e0t,createLinter:Qbt,utils:{report:Zbt,ruleMessages:t0t,validateOptions:s0t,checkAgainstRule:Kbt},reference:{longhandSubPropertiesOfShorthandProperties:n0t}});zhe.exports=o0t});var Nk=m(Zt=>{"use strict";Object.defineProperty(Zt,"__esModule",{value:!0});Zt.thenable=Zt.typedArray=Zt.stringArray=Zt.array=Zt.func=Zt.error=Zt.number=Zt.string=Zt.boolean=void 0;function J0t(t){return t===!0||t===!1}Zt.boolean=J0t;function gge(t){return typeof t=="string"||t instanceof String}Zt.string=gge;function X0t(t){return typeof t=="number"||t instanceof Number}Zt.number=X0t;function Z0t(t){return t instanceof Error}Zt.error=Z0t;function mge(t){return typeof t=="function"}Zt.func=mge;function yge(t){return Array.isArray(t)}Zt.array=yge;function evt(t){return yge(t)&&t.every(e=>gge(e))}Zt.stringArray=evt;function tvt(t,e){return Array.isArray(t)&&t.every(e)}Zt.typedArray=tvt;function rvt(t){return t&&mge(t.then)}Zt.thenable=rvt});var vs=m(JL=>{"use strict";Object.defineProperty(JL,"__esModule",{value:!0});var YL;function QL(){if(YL===void 0)throw new Error("No runtime abstraction layer installed");return YL}(function(t){function e(r){if(r===void 0)throw new Error("No runtime abstraction layer provided");YL=r}t.install=e})(QL||(QL={}));JL.default=QL});var XL=m(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.Disposable=void 0;var nvt;(function(t){function e(r){return{dispose:r}}t.create=e})(nvt=Op.Disposable||(Op.Disposable={}))});var bge=m(jk=>{"use strict";Object.defineProperty(jk,"__esModule",{value:!0});jk.AbstractMessageBuffer=void 0;var ivt=13,svt=10,ovt=`\r
395
+ `,ZL=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 ivt:switch(e){case 0:e=1;break;case 2:e=3;break;default:e=0}break;case svt: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(ovt);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}};jk.AbstractMessageBuffer=ZL});var _ge=m(nI=>{"use strict";Object.defineProperty(nI,"__esModule",{value:!0});var avt=vs(),vge=H("util"),Ia=XL(),uvt=bge(),Bl=class extends uvt.AbstractMessageBuffer{constructor(e="utf-8"){super(e)}emptyBuffer(){return Bl.emptyBuffer}fromString(e,r){return Buffer.from(e,r)}toString(e,r){return e instanceof Buffer?e.toString(r):new vge.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)}};Bl.emptyBuffer=Buffer.allocUnsafe(0);var eI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),Ia.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),Ia.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),Ia.Disposable.create(()=>this.stream.off("end",e))}onData(e){return this.stream.on("data",e),Ia.Disposable.create(()=>this.stream.off("data",e))}},tI=class{constructor(e){this.stream=e}onClose(e){return this.stream.on("close",e),Ia.Disposable.create(()=>this.stream.off("close",e))}onError(e){return this.stream.on("error",e),Ia.Disposable.create(()=>this.stream.off("error",e))}onEnd(e){return this.stream.on("end",e),Ia.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()}},wge=Object.freeze({messageBuffer:Object.freeze({create:t=>new Bl(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 vge.TextDecoder(e.charset).decode(t)))}catch(r){return Promise.reject(r)}}})}),stream:Object.freeze({asReadableStream:t=>new eI(t),asWritableStream:t=>new tI(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 rI(){return wge}(function(t){function e(){avt.default.install(wge)}t.install=e})(rI||(rI={}));nI.default=rI});var Wl=m($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.stringArray=$r.array=$r.func=$r.error=$r.number=$r.string=$r.boolean=void 0;function lvt(t){return t===!0||t===!1}$r.boolean=lvt;function xge(t){return typeof t=="string"||t instanceof String}$r.string=xge;function cvt(t){return typeof t=="number"||t instanceof Number}$r.number=cvt;function fvt(t){return t instanceof Error}$r.error=fvt;function dvt(t){return typeof t=="function"}$r.func=dvt;function Sge(t){return Array.isArray(t)}$r.array=Sge;function pvt(t){return Sge(t)&&t.every(e=>xge(e))}$r.stringArray=pvt});var CI=m(Ce=>{"use strict";Object.defineProperty(Ce,"__esModule",{value:!0});Ce.isResponseMessage=Ce.isNotificationMessage=Ce.isRequestMessage=Ce.NotificationType9=Ce.NotificationType8=Ce.NotificationType7=Ce.NotificationType6=Ce.NotificationType5=Ce.NotificationType4=Ce.NotificationType3=Ce.NotificationType2=Ce.NotificationType1=Ce.NotificationType0=Ce.NotificationType=Ce.RequestType9=Ce.RequestType8=Ce.RequestType7=Ce.RequestType6=Ce.RequestType5=Ce.RequestType4=Ce.RequestType3=Ce.RequestType2=Ce.RequestType1=Ce.RequestType=Ce.RequestType0=Ce.AbstractMessageSignature=Ce.ParameterStructures=Ce.ResponseError=Ce.ErrorCodes=void 0;var Na=Wl(),kge;(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})(kge=Ce.ErrorCodes||(Ce.ErrorCodes={}));var qp=class extends Error{constructor(e,r,n){super(r),this.code=Na.number(e)?e:kge.UnknownErrorCode,this.data=n,Object.setPrototypeOf(this,qp.prototype)}toJson(){return{code:this.code,message:this.message,data:this.data}}};Ce.ResponseError=qp;var hr=class{constructor(e){this.kind=e}static is(e){return e===hr.auto||e===hr.byName||e===hr.byPosition}toString(){return this.kind}};Ce.ParameterStructures=hr;hr.auto=new hr("auto");hr.byPosition=new hr("byPosition");hr.byName=new hr("byName");var kt=class{constructor(e,r){this.method=e,this.numberOfParams=r}get parameterStructures(){return hr.auto}};Ce.AbstractMessageSignature=kt;var iI=class extends kt{constructor(e){super(e,0)}};Ce.RequestType0=iI;var sI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ce.RequestType=sI;var oI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ce.RequestType1=oI;var aI=class extends kt{constructor(e){super(e,2)}};Ce.RequestType2=aI;var uI=class extends kt{constructor(e){super(e,3)}};Ce.RequestType3=uI;var lI=class extends kt{constructor(e){super(e,4)}};Ce.RequestType4=lI;var cI=class extends kt{constructor(e){super(e,5)}};Ce.RequestType5=cI;var fI=class extends kt{constructor(e){super(e,6)}};Ce.RequestType6=fI;var dI=class extends kt{constructor(e){super(e,7)}};Ce.RequestType7=dI;var pI=class extends kt{constructor(e){super(e,8)}};Ce.RequestType8=pI;var hI=class extends kt{constructor(e){super(e,9)}};Ce.RequestType9=hI;var gI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ce.NotificationType=gI;var mI=class extends kt{constructor(e){super(e,0)}};Ce.NotificationType0=mI;var yI=class extends kt{constructor(e,r=hr.auto){super(e,1),this._parameterStructures=r}get parameterStructures(){return this._parameterStructures}};Ce.NotificationType1=yI;var bI=class extends kt{constructor(e){super(e,2)}};Ce.NotificationType2=bI;var vI=class extends kt{constructor(e){super(e,3)}};Ce.NotificationType3=vI;var wI=class extends kt{constructor(e){super(e,4)}};Ce.NotificationType4=wI;var _I=class extends kt{constructor(e){super(e,5)}};Ce.NotificationType5=_I;var xI=class extends kt{constructor(e){super(e,6)}};Ce.NotificationType6=xI;var SI=class extends kt{constructor(e){super(e,7)}};Ce.NotificationType7=SI;var kI=class extends kt{constructor(e){super(e,8)}};Ce.NotificationType8=kI;var EI=class extends kt{constructor(e){super(e,9)}};Ce.NotificationType9=EI;function hvt(t){let e=t;return e&&Na.string(e.method)&&(Na.string(e.id)||Na.number(e.id))}Ce.isRequestMessage=hvt;function gvt(t){let e=t;return e&&Na.string(e.method)&&t.id===void 0}Ce.isNotificationMessage=gvt;function mvt(t){let e=t;return e&&(e.result!==void 0||!!e.error)&&(Na.string(e.id)||Na.number(e.id)||e.id===null)}Ce.isResponseMessage=mvt});var Ul=m(ja=>{"use strict";Object.defineProperty(ja,"__esModule",{value:!0});ja.Emitter=ja.Event=void 0;var yvt=vs(),bvt;(function(t){let e={dispose(){}};t.None=function(){return e}})(bvt=ja.Event||(ja.Event={}));var DI=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){yvt.default().console.error(a)}return r}isEmpty(){return!this._callbacks||this._callbacks.length===0}dispose(){this._callbacks=void 0,this._contexts=void 0}},zl=class{constructor(e){this._options=e}get event(){return this._event||(this._event=(e,r,n)=>{this._callbacks||(this._callbacks=new DI),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=zl._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)}};ja.Emitter=zl;zl._noop=function(){}});var AI=m($a=>{"use strict";Object.defineProperty($a,"__esModule",{value:!0});$a.CancellationTokenSource=$a.CancellationToken=void 0;var Ege=vs(),vvt=Wl(),OI=Ul(),qI;(function(t){t.None=Object.freeze({isCancellationRequested:!1,onCancellationRequested:OI.Event.None}),t.Cancelled=Object.freeze({isCancellationRequested:!0,onCancellationRequested:OI.Event.None});function e(r){let n=r;return n&&(n===t.None||n===t.Cancelled||vvt.boolean(n.isCancellationRequested)&&!!n.onCancellationRequested)}t.is=e})(qI=$a.CancellationToken||($a.CancellationToken={}));var wvt=Object.freeze(function(t,e){let r=Ege.default().timer.setTimeout(t.bind(e),0);return{dispose(){Ege.default().timer.clearTimeout(r)}}}),$k=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?wvt:(this._emitter||(this._emitter=new OI.Emitter),this._emitter.event)}dispose(){this._emitter&&(this._emitter.dispose(),this._emitter=void 0)}},RI=class{get token(){return this._token||(this._token=new $k),this._token}cancel(){this._token?this._token.cancel():this._token=qI.Cancelled}dispose(){this._token?this._token instanceof $k&&this._token.dispose():this._token=qI.None}};$a.CancellationTokenSource=RI});var Cge=m(ws=>{"use strict";Object.defineProperty(ws,"__esModule",{value:!0});ws.ReadableStreamMessageReader=ws.AbstractMessageReader=ws.MessageReader=void 0;var Bk=vs(),Hl=Wl(),PI=Ul(),_vt;(function(t){function e(r){let n=r;return n&&Hl.func(n.listen)&&Hl.func(n.dispose)&&Hl.func(n.onError)&&Hl.func(n.onClose)&&Hl.func(n.onPartialMessage)}t.is=e})(_vt=ws.MessageReader||(ws.MessageReader={}));var Wk=class{constructor(){this.errorEmitter=new PI.Emitter,this.closeEmitter=new PI.Emitter,this.partialMessageEmitter=new PI.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: ${Hl.string(e.message)?e.message:"unknown"}`)}};ws.AbstractMessageReader=Wk;var TI;(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=Bk.default().applicationJson.decoder,l.set(u.name,u)),{charset:i,contentDecoder:o,contentDecoders:a,contentTypeDecoder:u,contentTypeDecoders:l}}t.fromOptions=e})(TI||(TI={}));var MI=class extends Wk{constructor(e,r){super(),this.readable=e,this.options=TI.fromOptions(r),this.buffer=Bk.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&&(Bk.default().timer.clearTimeout(this.partialMessageTimer),this.partialMessageTimer=void 0)}setPartialMessageTimer(){this.clearPartialMessageTimer(),!(this._partialMessageTimeout<=0)&&(this.partialMessageTimer=Bk.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))}};ws.ReadableStreamMessageReader=MI});var Dge=m(zk=>{"use strict";Object.defineProperty(zk,"__esModule",{value:!0});zk.Semaphore=void 0;var xvt=vs(),FI=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||xvt.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()}}};zk.Semaphore=FI});var Age=m(_s=>{"use strict";Object.defineProperty(_s,"__esModule",{value:!0});_s.WriteableStreamMessageWriter=_s.AbstractMessageWriter=_s.MessageWriter=void 0;var Oge=vs(),Rp=Wl(),Svt=Dge(),qge=Ul(),kvt="Content-Length: ",Rge=`\r
396
+ `,Evt;(function(t){function e(r){let n=r;return n&&Rp.func(n.dispose)&&Rp.func(n.onClose)&&Rp.func(n.onError)&&Rp.func(n.write)}t.is=e})(Evt=_s.MessageWriter||(_s.MessageWriter={}));var Uk=class{constructor(){this.errorEmitter=new qge.Emitter,this.closeEmitter=new qge.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: ${Rp.string(e.message)?e.message:"unknown"}`)}};_s.AbstractMessageWriter=Uk;var LI;(function(t){function e(r){var n,i;return r===void 0||typeof r=="string"?{charset:r??"utf-8",contentTypeEncoder:Oge.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:Oge.default().applicationJson.encoder}}t.fromOptions=e})(LI||(LI={}));var II=class extends Uk{constructor(e,r){super(),this.writable=e,this.options=LI.fromOptions(r),this.errorCount=0,this.writeSemaphore=new Svt.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(kvt,n.byteLength.toString(),Rge),i.push(Rge),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()}};_s.WriteableStreamMessageWriter=II});var Pge=m(xs=>{"use strict";Object.defineProperty(xs,"__esModule",{value:!0});xs.LRUCache=xs.LinkedMap=xs.Touch=void 0;var Qr;(function(t){t.None=0,t.First=1,t.AsOld=t.First,t.Last=2,t.AsNew=t.Last})(Qr=xs.Touch||(xs.Touch={}));var Hk=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=Qr.None){let n=this._map.get(e);if(n)return r!==Qr.None&&this.touch(n,r),n.value}set(e,r,n=Qr.None){let i=this._map.get(e);if(i)i.value=r,n!==Qr.None&&this.touch(i,n);else{switch(i={key:e,value:r,next:void 0,previous:void 0},n){case Qr.None:this.addItemLast(i);break;case Qr.First:this.addItemFirst(i);break;case Qr.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!==Qr.First&&r!==Qr.Last)){if(r===Qr.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===Qr.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)}};xs.LinkedMap=Hk;var NI=class extends Hk{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=Qr.AsNew){return super.get(e,r)}peek(e){return super.get(e,Qr.None)}set(e,r){return super.set(e,r,Qr.Last),this.checkTrim(),this}checkTrim(){this.size>this._limit&&this.trimOld(Math.round(this._limit*this._ratio))}};xs.LRUCache=NI});var Ige=m(We=>{"use strict";Object.defineProperty(We,"__esModule",{value:!0});We.createMessageConnection=We.ConnectionOptions=We.CancellationStrategy=We.CancellationSenderStrategy=We.CancellationReceiverStrategy=We.ConnectionStrategy=We.ConnectionError=We.ConnectionErrors=We.LogTraceNotification=We.SetTraceNotification=We.TraceFormat=We.Trace=We.NullLogger=We.ProgressType=void 0;var Tge=vs(),gr=Wl(),Ne=CI(),Mge=Pge(),Ap=Ul(),jI=AI(),Pp;(function(t){t.type=new Ne.NotificationType("$/cancelRequest")})(Pp||(Pp={}));var Gk;(function(t){t.type=new Ne.NotificationType("$/progress")})(Gk||(Gk={}));var $I=class{constructor(){}};We.ProgressType=$I;var BI;(function(t){function e(r){return gr.func(r)}t.is=e})(BI||(BI={}));We.NullLogger=Object.freeze({error:()=>{},warn:()=>{},info:()=>{},log:()=>{}});var er;(function(t){t[t.Off=0]="Off",t[t.Messages=1]="Messages",t[t.Verbose=2]="Verbose"})(er=We.Trace||(We.Trace={}));(function(t){function e(n){if(!gr.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})(er=We.Trace||(We.Trace={}));var di;(function(t){t.Text="text",t.JSON="json"})(di=We.TraceFormat||(We.TraceFormat={}));(function(t){function e(r){return r=r.toLowerCase(),r==="json"?t.JSON:t.Text}t.fromString=e})(di=We.TraceFormat||(We.TraceFormat={}));var Fge;(function(t){t.type=new Ne.NotificationType("$/setTrace")})(Fge=We.SetTraceNotification||(We.SetTraceNotification={}));var WI;(function(t){t.type=new Ne.NotificationType("$/logTrace")})(WI=We.LogTraceNotification||(We.LogTraceNotification={}));var Vk;(function(t){t[t.Closed=1]="Closed",t[t.Disposed=2]="Disposed",t[t.AlreadyListening=3]="AlreadyListening"})(Vk=We.ConnectionErrors||(We.ConnectionErrors={}));var fo=class extends Error{constructor(e,r){super(r),this.code=e,Object.setPrototypeOf(this,fo.prototype)}};We.ConnectionError=fo;var Lge;(function(t){function e(r){let n=r;return n&&gr.func(n.cancelUndispatched)}t.is=e})(Lge=We.ConnectionStrategy||(We.ConnectionStrategy={}));var zI;(function(t){t.Message=Object.freeze({createCancellationTokenSource(r){return new jI.CancellationTokenSource}});function e(r){let n=r;return n&&gr.func(n.createCancellationTokenSource)}t.is=e})(zI=We.CancellationReceiverStrategy||(We.CancellationReceiverStrategy={}));var UI;(function(t){t.Message=Object.freeze({sendCancellation(r,n){r.sendNotification(Pp.type,{id:n})},cleanup(r){}});function e(r){let n=r;return n&&gr.func(n.sendCancellation)&&gr.func(n.cleanup)}t.is=e})(UI=We.CancellationSenderStrategy||(We.CancellationSenderStrategy={}));var HI;(function(t){t.Message=Object.freeze({receiver:zI.Message,sender:UI.Message});function e(r){let n=r;return n&&zI.is(n.receiver)&&UI.is(n.sender)}t.is=e})(HI=We.CancellationStrategy||(We.CancellationStrategy={}));var Cvt;(function(t){function e(r){let n=r;return n&&(HI.is(n.cancellationStrategy)||Lge.is(n.connectionStrategy))}t.is=e})(Cvt=We.ConnectionOptions||(We.ConnectionOptions={}));var pi;(function(t){t[t.New=1]="New",t[t.Listening=2]="Listening",t[t.Closed=3]="Closed",t[t.Disposed=4]="Disposed"})(pi||(pi={}));function Dvt(t,e,r,n){let i=r!==void 0?r:We.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 Mge.LinkedMap,b=Object.create(null),g=Object.create(null),v=er.Off,w=di.Text,_,x=pi.New,C=new Ap.Emitter,M=new Ap.Emitter,P=new Ap.Emitter,R=new Ap.Emitter,z=new Ap.Emitter,$=n&&n.cancellationStrategy?n.cancellationStrategy:HI.Message;function te(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 K(L){return L===null?"res-unknown-"+(++a).toString():"res-"+L.toString()}function ue(){return"not-"+(++o).toString()}function F(L,q){Ne.isRequestMessage(q)?L.set(te(q.id),q):Ne.isResponseMessage(q)?L.set(K(q.id),q):L.set(ue(),q)}function T(L){}function le(){return x===pi.Listening}function ne(){return x===pi.Closed}function de(){return x===pi.Disposed}function ae(){(x===pi.New||x===pi.Listening)&&(x=pi.Closed,M.fire(void 0))}function se(L){C.fire([L,void 0,void 0])}function he(L){C.fire(L)}t.onClose(ae),t.onError(se),e.onClose(ae),e.onError(he);function ve(){h||y.size===0||(h=Tge.default().timer.setImmediate(()=>{h=void 0,De()}))}function De(){if(y.size===0)return;let L=y.shift();try{Ne.isRequestMessage(L)?we(L):Ne.isNotificationMessage(L)?dt(L):Ne.isResponseMessage(L)?Ct(L):pe(L)}finally{ve()}}let Je=L=>{try{if(Ne.isNotificationMessage(L)&&L.method===Pp.type.method){let q=te(L.params.id),E=y.get(q);if(Ne.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,Le(W,L.method,Date.now()),e.write(W);return}}}F(y,L)}finally{ve()}};function we(L){if(de())return;function q(Q,be,Oe){let Ve={jsonrpc:u,id:L.id};Q instanceof Ne.ResponseError?Ve.error=Q.toJson():Ve.result=Q===void 0?null:Q,Le(Ve,be,Oe),e.write(Ve)}function E(Q,be,Oe){let Ve={jsonrpc:u,id:L.id,error:Q.toJson()};Le(Ve,be,Oe),e.write(Ve)}function A(Q,be,Oe){Q===void 0&&(Q=null);let Ve={jsonrpc:u,id:L.id,result:Q};Le(Ve,be,Oe),e.write(Ve)}at(L);let W=c[L.method],D,k;W&&(D=W.type,k=W.handler);let V=Date.now();if(k||l){let Q=String(L.id),be=$.receiver.createCancellationTokenSource(Q);g[Q]=be;try{let Oe;if(k)if(L.params===void 0){if(D!==void 0&&D.numberOfParams!==0){E(new Ne.ResponseError(Ne.ErrorCodes.InvalidParams,`Request ${L.method} defines ${D.numberOfParams} params but recevied none.`),L.method,V);return}Oe=k(be.token)}else if(Array.isArray(L.params)){if(D!==void 0&&D.parameterStructures===Ne.ParameterStructures.byName){E(new Ne.ResponseError(Ne.ErrorCodes.InvalidParams,`Request ${L.method} defines parameters by name but received parameters by position`),L.method,V);return}Oe=k(...L.params,be.token)}else{if(D!==void 0&&D.parameterStructures===Ne.ParameterStructures.byPosition){E(new Ne.ResponseError(Ne.ErrorCodes.InvalidParams,`Request ${L.method} defines parameters by position but received parameters by name`),L.method,V);return}Oe=k(L.params,be.token)}else l&&(Oe=l(L.method,L.params,be.token));let Ve=Oe;Oe?Ve.then?Ve.then(bt=>{delete g[Q],q(bt,L.method,V)},bt=>{delete g[Q],bt instanceof Ne.ResponseError?E(bt,L.method,V):bt&&gr.string(bt.message)?E(new Ne.ResponseError(Ne.ErrorCodes.InternalError,`Request ${L.method} failed with message: ${bt.message}`),L.method,V):E(new Ne.ResponseError(Ne.ErrorCodes.InternalError,`Request ${L.method} failed unexpectedly without providing any details.`),L.method,V)}):(delete g[Q],q(Oe,L.method,V)):(delete g[Q],A(Oe,L.method,V))}catch(Oe){delete g[Q],Oe instanceof Ne.ResponseError?q(Oe,L.method,V):Oe&&gr.string(Oe.message)?E(new Ne.ResponseError(Ne.ErrorCodes.InternalError,`Request ${L.method} failed with message: ${Oe.message}`),L.method,V):E(new Ne.ResponseError(Ne.ErrorCodes.InternalError,`Request ${L.method} failed unexpectedly without providing any details.`),L.method,V)}}else E(new Ne.ResponseError(Ne.ErrorCodes.MethodNotFound,`Unhandled method ${L.method}`),L.method,V)}function Ct(L){if(!de())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 Ne.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(de())return;let q,E;if(L.method===Pp.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!==Ne.ParameterStructures.byName&&i.error(`Notification ${L.method} defines ${q.numberOfParams} params but recevied none.`),E()):Array.isArray(L.params)?(q!==void 0&&(q.parameterStructures===Ne.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===Ne.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 pe(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(gr.string(q.id)||gr.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 ce(L){if(!(v===er.Off||!_))if(w===di.Text){let q;v===er.Verbose&&L.params&&(q=`Params: ${JSON.stringify(L.params,null,4)}
399
+
400
+ `),_.log(`Sending request '${L.method} - (${L.id})'.`,q)}else Rn("send-request",L)}function ie(L){if(!(v===er.Off||!_))if(w===di.Text){let q;v===er.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 Rn("send-notification",L)}function Le(L,q,E){if(!(v===er.Off||!_))if(w===di.Text){let A;v===er.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 Rn("send-response",L)}function at(L){if(!(v===er.Off||!_))if(w===di.Text){let q;v===er.Verbose&&L.params&&(q=`Params: ${JSON.stringify(L.params,null,4)}
411
+
412
+ `),_.log(`Received request '${L.method} - (${L.id})'.`,q)}else Rn("receive-request",L)}function zt(L){if(!(v===er.Off||!_||L.method===WI.type.method))if(w===di.Text){let q;v===er.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 Rn("receive-notification",L)}function $t(L,q){if(!(v===er.Off||!_))if(w===di.Text){let E;if(v===er.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 Rn("receive-response",L)}function Rn(L,q){if(!_||v===er.Off)return;let E={isLSPMessage:!0,type:L,message:q,timestamp:Date.now()};_.log(E)}function An(){if(ne())throw new fo(Vk.Closed,"Connection is closed.");if(de())throw new fo(Vk.Disposed,"Connection is disposed.")}function BE(){if(le())throw new fo(Vk.AlreadyListening,"Connection is already listening")}function WE(){if(!le())throw new Error("Call listen() first.")}function ko(L){return L===void 0?null:L}function uh(L){if(L!==null)return L}function lh(L){return L!=null&&!Array.isArray(L)&&typeof L=="object"}function tc(L,q){switch(L){case Ne.ParameterStructures.auto:return lh(q)?uh(q):[ko(q)];case Ne.ParameterStructures.byName:if(!lh(q))throw new Error("Recevied parameters by name but param is not an object literal.");return uh(q);case Ne.ParameterStructures.byPosition:return[ko(q)];default:throw new Error(`Unknown parameter structure ${L.toString()}`)}}function ch(L,q){let E,A=L.numberOfParams;switch(A){case 0:E=void 0;break;case 1:E=tc(L.parameterStructures,q[0]);break;default:E=[];for(let W=0;W<q.length&&W<A;W++)E.push(ko(q[W]));if(q.length<A)for(let W=q.length;W<A;W++)E.push(null);break}return E}let Cs={sendNotification:(L,...q)=>{An();let E,A;if(gr.string(L)){E=L;let D=q[0],k=0,V=Ne.ParameterStructures.auto;Ne.ParameterStructures.is(D)&&(k=1,V=D);let Q=q.length,be=Q-k;switch(be){case 0:A=void 0;break;case 1:A=tc(V,q[k]);break;default:if(V===Ne.ParameterStructures.byName)throw new Error(`Recevied ${be} parameters for 'by Name' notification parameter structure.`);A=q.slice(k,Q).map(Oe=>ko(Oe));break}}else{let D=q;E=L.method,A=ch(L,D)}let W={jsonrpc:u,method:E,params:A};ie(W),e.write(W)},onNotification:(L,q)=>{An();let E;return gr.func(L)?f=L:q&&(gr.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)=>{Cs.sendNotification(Gk.type,{token:q,value:E})},onUnhandledProgress:R.event,sendRequest:(L,...q)=>{An(),WE();let E,A,W;if(gr.string(L)){E=L;let Q=q[0],be=q[q.length-1],Oe=0,Ve=Ne.ParameterStructures.auto;Ne.ParameterStructures.is(Q)&&(Oe=1,Ve=Q);let bt=q.length;jI.CancellationToken.is(be)&&(bt=bt-1,W=be);let rr=bt-Oe;switch(rr){case 0:A=void 0;break;case 1:A=tc(Ve,q[Oe]);break;default:if(Ve===Ne.ParameterStructures.byName)throw new Error(`Recevied ${rr} parameters for 'by Name' request parameter structure.`);A=q.slice(Oe,bt).map(or=>ko(or));break}}else{let Q=q;E=L.method,A=ch(L,Q);let be=L.numberOfParams;W=jI.CancellationToken.is(Q[be])?Q[be]:void 0}let D=s++,k;return W&&(k=W.onCancellationRequested(()=>{$.sender.sendCancellation(Cs,D)})),new Promise((Q,be)=>{let Oe={jsonrpc:u,id:D,method:E,params:A},Ve=or=>{Q(or),$.sender.cleanup(D),k?.dispose()},bt=or=>{be(or),$.sender.cleanup(D),k?.dispose()},rr={method:E,timerStart:Date.now(),resolve:Ve,reject:bt};ce(Oe);try{e.write(Oe)}catch(or){rr.reject(new Ne.ResponseError(Ne.ErrorCodes.MessageWriteError,or.message?or.message:"Unknown reason")),rr=null}rr&&(b[String(D)]=rr)})},onRequest:(L,q)=>{An();let E=null;return BI.is(L)?(E=void 0,l=L):gr.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=di.Text;E!==void 0&&(gr.boolean(E)?A=E:(A=E.sendNotification||!1,W=E.traceFormat||di.Text)),v=L,w=W,v===er.Off?_=void 0:_=q,A&&!ne()&&!de()&&Cs.sendNotification(Fge.type,{value:er.toString(L)})},onError:C.event,onClose:M.event,onUnhandledNotification:P.event,onDispose:z.event,end:()=>{e.end()},dispose:()=>{if(de())return;x=pi.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 Mge.LinkedMap,gr.func(e.dispose)&&e.dispose(),gr.func(t.dispose)&&t.dispose()},listen:()=>{An(),BE(),x=pi.Listening,t.listen(Je)},inspect:()=>{Tge.default().console.log("inspect")}};return Cs.onNotification(WI.type,L=>{v===er.Off||!_||_.log(L.message,v===er.Verbose?L.verbose:void 0)}),Cs.onNotification(Gk.type,L=>{let q=p.get(L.token);q?q(L.value):R.fire(L)}),Cs}We.createMessageConnection=Dvt});var KI=m(oe=>{"use strict";Object.defineProperty(oe,"__esModule",{value:!0});oe.CancellationSenderStrategy=oe.CancellationReceiverStrategy=oe.ConnectionError=oe.ConnectionErrors=oe.LogTraceNotification=oe.SetTraceNotification=oe.TraceFormat=oe.Trace=oe.ProgressType=oe.createMessageConnection=oe.NullLogger=oe.ConnectionOptions=oe.ConnectionStrategy=oe.WriteableStreamMessageWriter=oe.AbstractMessageWriter=oe.MessageWriter=oe.ReadableStreamMessageReader=oe.AbstractMessageReader=oe.MessageReader=oe.CancellationToken=oe.CancellationTokenSource=oe.Emitter=oe.Event=oe.Disposable=oe.ParameterStructures=oe.NotificationType9=oe.NotificationType8=oe.NotificationType7=oe.NotificationType6=oe.NotificationType5=oe.NotificationType4=oe.NotificationType3=oe.NotificationType2=oe.NotificationType1=oe.NotificationType0=oe.NotificationType=oe.ErrorCodes=oe.ResponseError=oe.RequestType9=oe.RequestType8=oe.RequestType7=oe.RequestType6=oe.RequestType5=oe.RequestType4=oe.RequestType3=oe.RequestType2=oe.RequestType1=oe.RequestType0=oe.RequestType=oe.RAL=void 0;oe.CancellationStrategy=void 0;var Et=CI();Object.defineProperty(oe,"RequestType",{enumerable:!0,get:function(){return Et.RequestType}});Object.defineProperty(oe,"RequestType0",{enumerable:!0,get:function(){return Et.RequestType0}});Object.defineProperty(oe,"RequestType1",{enumerable:!0,get:function(){return Et.RequestType1}});Object.defineProperty(oe,"RequestType2",{enumerable:!0,get:function(){return Et.RequestType2}});Object.defineProperty(oe,"RequestType3",{enumerable:!0,get:function(){return Et.RequestType3}});Object.defineProperty(oe,"RequestType4",{enumerable:!0,get:function(){return Et.RequestType4}});Object.defineProperty(oe,"RequestType5",{enumerable:!0,get:function(){return Et.RequestType5}});Object.defineProperty(oe,"RequestType6",{enumerable:!0,get:function(){return Et.RequestType6}});Object.defineProperty(oe,"RequestType7",{enumerable:!0,get:function(){return Et.RequestType7}});Object.defineProperty(oe,"RequestType8",{enumerable:!0,get:function(){return Et.RequestType8}});Object.defineProperty(oe,"RequestType9",{enumerable:!0,get:function(){return Et.RequestType9}});Object.defineProperty(oe,"ResponseError",{enumerable:!0,get:function(){return Et.ResponseError}});Object.defineProperty(oe,"ErrorCodes",{enumerable:!0,get:function(){return Et.ErrorCodes}});Object.defineProperty(oe,"NotificationType",{enumerable:!0,get:function(){return Et.NotificationType}});Object.defineProperty(oe,"NotificationType0",{enumerable:!0,get:function(){return Et.NotificationType0}});Object.defineProperty(oe,"NotificationType1",{enumerable:!0,get:function(){return Et.NotificationType1}});Object.defineProperty(oe,"NotificationType2",{enumerable:!0,get:function(){return Et.NotificationType2}});Object.defineProperty(oe,"NotificationType3",{enumerable:!0,get:function(){return Et.NotificationType3}});Object.defineProperty(oe,"NotificationType4",{enumerable:!0,get:function(){return Et.NotificationType4}});Object.defineProperty(oe,"NotificationType5",{enumerable:!0,get:function(){return Et.NotificationType5}});Object.defineProperty(oe,"NotificationType6",{enumerable:!0,get:function(){return Et.NotificationType6}});Object.defineProperty(oe,"NotificationType7",{enumerable:!0,get:function(){return Et.NotificationType7}});Object.defineProperty(oe,"NotificationType8",{enumerable:!0,get:function(){return Et.NotificationType8}});Object.defineProperty(oe,"NotificationType9",{enumerable:!0,get:function(){return Et.NotificationType9}});Object.defineProperty(oe,"ParameterStructures",{enumerable:!0,get:function(){return Et.ParameterStructures}});var Ovt=XL();Object.defineProperty(oe,"Disposable",{enumerable:!0,get:function(){return Ovt.Disposable}});var Nge=Ul();Object.defineProperty(oe,"Event",{enumerable:!0,get:function(){return Nge.Event}});Object.defineProperty(oe,"Emitter",{enumerable:!0,get:function(){return Nge.Emitter}});var jge=AI();Object.defineProperty(oe,"CancellationTokenSource",{enumerable:!0,get:function(){return jge.CancellationTokenSource}});Object.defineProperty(oe,"CancellationToken",{enumerable:!0,get:function(){return jge.CancellationToken}});var VI=Cge();Object.defineProperty(oe,"MessageReader",{enumerable:!0,get:function(){return VI.MessageReader}});Object.defineProperty(oe,"AbstractMessageReader",{enumerable:!0,get:function(){return VI.AbstractMessageReader}});Object.defineProperty(oe,"ReadableStreamMessageReader",{enumerable:!0,get:function(){return VI.ReadableStreamMessageReader}});var GI=Age();Object.defineProperty(oe,"MessageWriter",{enumerable:!0,get:function(){return GI.MessageWriter}});Object.defineProperty(oe,"AbstractMessageWriter",{enumerable:!0,get:function(){return GI.AbstractMessageWriter}});Object.defineProperty(oe,"WriteableStreamMessageWriter",{enumerable:!0,get:function(){return GI.WriteableStreamMessageWriter}});var on=Ige();Object.defineProperty(oe,"ConnectionStrategy",{enumerable:!0,get:function(){return on.ConnectionStrategy}});Object.defineProperty(oe,"ConnectionOptions",{enumerable:!0,get:function(){return on.ConnectionOptions}});Object.defineProperty(oe,"NullLogger",{enumerable:!0,get:function(){return on.NullLogger}});Object.defineProperty(oe,"createMessageConnection",{enumerable:!0,get:function(){return on.createMessageConnection}});Object.defineProperty(oe,"ProgressType",{enumerable:!0,get:function(){return on.ProgressType}});Object.defineProperty(oe,"Trace",{enumerable:!0,get:function(){return on.Trace}});Object.defineProperty(oe,"TraceFormat",{enumerable:!0,get:function(){return on.TraceFormat}});Object.defineProperty(oe,"SetTraceNotification",{enumerable:!0,get:function(){return on.SetTraceNotification}});Object.defineProperty(oe,"LogTraceNotification",{enumerable:!0,get:function(){return on.LogTraceNotification}});Object.defineProperty(oe,"ConnectionErrors",{enumerable:!0,get:function(){return on.ConnectionErrors}});Object.defineProperty(oe,"ConnectionError",{enumerable:!0,get:function(){return on.ConnectionError}});Object.defineProperty(oe,"CancellationReceiverStrategy",{enumerable:!0,get:function(){return on.CancellationReceiverStrategy}});Object.defineProperty(oe,"CancellationSenderStrategy",{enumerable:!0,get:function(){return on.CancellationSenderStrategy}});Object.defineProperty(oe,"CancellationStrategy",{enumerable:!0,get:function(){return on.CancellationStrategy}});var qvt=vs();oe.RAL=qvt.default});var Gl=m(ot=>{"use strict";var Rvt=ot&&ot.__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]}),Avt=ot&&ot.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Rvt(e,t,r)};Object.defineProperty(ot,"__esModule",{value:!0});ot.createMessageConnection=ot.createServerSocketTransport=ot.createClientSocketTransport=ot.createServerPipeTransport=ot.createClientPipeTransport=ot.generateRandomPipeName=ot.StreamMessageWriter=ot.StreamMessageReader=ot.SocketMessageWriter=ot.SocketMessageReader=ot.IPCMessageWriter=ot.IPCMessageReader=void 0;var Vl=_ge();Vl.default.install();var Hi=KI(),$ge=H("path"),Pvt=H("os"),Tvt=H("crypto"),Qk=H("net");Avt(KI(),ot);var YI=class extends Hi.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),Hi.Disposable.create(()=>this.process.off("message",e))}};ot.IPCMessageReader=YI;var QI=class extends Hi.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(){}};ot.IPCMessageWriter=QI;var Ba=class extends Hi.ReadableStreamMessageReader{constructor(e,r="utf-8"){super(Vl.default().stream.asReadableStream(e),r)}};ot.SocketMessageReader=Ba;var Wa=class extends Hi.WriteableStreamMessageWriter{constructor(e,r){super(Vl.default().stream.asWritableStream(e),r),this.socket=e}dispose(){super.dispose(),this.socket.destroy()}};ot.SocketMessageWriter=Wa;var Kk=class extends Hi.ReadableStreamMessageReader{constructor(e,r){super(Vl.default().stream.asReadableStream(e),r)}};ot.StreamMessageReader=Kk;var Yk=class extends Hi.WriteableStreamMessageWriter{constructor(e,r){super(Vl.default().stream.asWritableStream(e),r)}};ot.StreamMessageWriter=Yk;var Bge=process.env.XDG_RUNTIME_DIR,Mvt=new Map([["linux",107],["darwin",103]]);function Fvt(){let t=Tvt.randomBytes(21).toString("hex");if(process.platform==="win32")return`\\\\.\\pipe\\vscode-jsonrpc-${t}-sock`;let e;Bge?e=$ge.join(Bge,`vscode-ipc-${t}.sock`):e=$ge.join(Pvt.tmpdir(),`vscode-${t}.sock`);let r=Mvt.get(process.platform);return r!==void 0&&e.length>=r&&Vl.default().console.warn(`WARNING: IPC handle "${e}" is longer than ${r} characters.`),e}ot.generateRandomPipeName=Fvt;function Lvt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Qk.createServer(a=>{o.close(),r([new Ba(a,e),new Wa(a,e)])});o.on("error",s),o.listen(t,()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}ot.createClientPipeTransport=Lvt;function Ivt(t,e="utf-8"){let r=Qk.createConnection(t);return[new Ba(r,e),new Wa(r,e)]}ot.createServerPipeTransport=Ivt;function Nvt(t,e="utf-8"){let r,n=new Promise((i,s)=>{r=i});return new Promise((i,s)=>{let o=Qk.createServer(a=>{o.close(),r([new Ba(a,e),new Wa(a,e)])});o.on("error",s),o.listen(t,"127.0.0.1",()=>{o.removeListener("error",s),i({onConnected:()=>n})})})}ot.createClientSocketTransport=Nvt;function jvt(t,e="utf-8"){let r=Qk.createConnection(t,"127.0.0.1");return[new Ba(r,e),new Wa(r,e)]}ot.createServerSocketTransport=jvt;function $vt(t){let e=t;return e.read!==void 0&&e.addListener!==void 0}function Bvt(t){let e=t;return e.write!==void 0&&e.addListener!==void 0}function Wvt(t,e,r,n){r||(r=Hi.NullLogger);let i=$vt(t)?new Kk(t):t,s=Bvt(e)?new Yk(e):e;return Hi.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),Hi.createMessageConnection(i,s,r,n)}ot.createMessageConnection=Wvt});var JI=m((H5t,Wge)=>{"use strict";Wge.exports=Gl()});var Uge=m((zge,Jk)=>{(function(t){if(typeof Jk=="object"&&typeof Jk.exports=="object"){var e=t(H,zge);e!==void 0&&(Jk.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,V,Q){if(q.uinteger(D)&&q.uinteger(k)&&q.uinteger(V)&&q.uinteger(Q))return{start:i.create(D,k),end:i.create(V,Q)};if(i.is(D)&&i.is(k))return{start:D,end:k};throw new Error("Range#create called with invalid arguments["+D+", "+k+", "+V+", "+Q+"]")}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,V,Q){return{targetUri:D,targetRange:k,targetSelectionRange:V,originSelectionRange:Q}}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,V,Q){return{red:D,green:k,blue:V,alpha:Q}}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,V){return{label:D,textEdit:k,additionalTextEdits:V}}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,V,Q,be){var Oe={startLine:D,endLine:k};return q.defined(V)&&(Oe.startCharacter=V),q.defined(Q)&&(Oe.endCharacter=Q),q.defined(be)&&(Oe.kind=be),Oe}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,V,Q,be,Oe){var Ve={range:D,message:k};return q.defined(V)&&(Ve.severity=V),q.defined(Q)&&(Ve.code=Q),q.defined(be)&&(Ve.source=be),q.defined(Oe)&&(Ve.relatedInformation=Oe),Ve}E.create=A;function W(D){var k,V=D;return q.defined(V)&&s.is(V.range)&&q.string(V.message)&&(q.number(V.severity)||q.undefined(V.severity))&&(q.integer(V.code)||q.string(V.code)||q.undefined(V.code))&&(q.undefined(V.codeDescription)||q.string((k=V.codeDescription)===null||k===void 0?void 0:k.href))&&(q.string(V.source)||q.undefined(V.source))&&(q.undefined(V.relatedInformation)||q.typedArray(V.relatedInformation,p.is))}E.is=W})(g=e.Diagnostic||(e.Diagnostic={}));var v;(function(E){function A(D,k){for(var V=[],Q=2;Q<arguments.length;Q++)V[Q-2]=arguments[Q];var be={title:D,command:k};return q.defined(V)&&V.length>0&&(be.arguments=V),be}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(V,Q){return{range:V,newText:Q}}E.replace=A;function W(V,Q){return{range:{start:V,end:V},newText:Q}}E.insert=W;function D(V){return{range:V,newText:""}}E.del=D;function k(V){var Q=V;return q.objectLiteral(Q)&&q.string(Q.newText)&&s.is(Q.range)}E.is=k})(w=e.TextEdit||(e.TextEdit={}));var _;(function(E){function A(D,k,V){var Q={label:D};return k!==void 0&&(Q.needsConfirmation=k),V!==void 0&&(Q.description=V),Q}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(V,Q,be){return{range:V,newText:Q,annotationId:be}}E.replace=A;function W(V,Q,be){return{range:{start:V,end:V},newText:Q,annotationId:be}}E.insert=W;function D(V,Q){return{range:V,newText:"",annotationId:Q}}E.del=D;function k(V){var Q=V;return w.is(Q)&&(_.is(Q.annotationId)||x.is(Q.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)&&le.is(k.textDocument)&&Array.isArray(k.edits)}E.is=W})(M=e.TextDocumentEdit||(e.TextDocumentEdit={}));var P;(function(E){function A(D,k,V){var Q={kind:"create",uri:D};return k!==void 0&&(k.overwrite!==void 0||k.ignoreIfExists!==void 0)&&(Q.options=k),V!==void 0&&(Q.annotationId=V),Q}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,V,Q){var be={kind:"rename",oldUri:D,newUri:k};return V!==void 0&&(V.overwrite!==void 0||V.ignoreIfExists!==void 0)&&(be.options=V),Q!==void 0&&(be.annotationId=Q),be}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,V){var Q={kind:"delete",uri:D};return k!==void 0&&(k.recursive!==void 0||k.ignoreIfNotExists!==void 0)&&(Q.options=k),V!==void 0&&(Q.annotationId=V),Q}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 te=function(){function E(A,W){this.edits=A,this.changeAnnotations=W}return E.prototype.insert=function(A,W,D){var k,V;if(D===void 0?k=w.insert(A,W):x.is(D)?(V=D,k=C.insert(A,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),V=this.changeAnnotations.manage(D),k=C.insert(A,W,V)),this.edits.push(k),V!==void 0)return V},E.prototype.replace=function(A,W,D){var k,V;if(D===void 0?k=w.replace(A,W):x.is(D)?(V=D,k=C.replace(A,W,D)):(this.assertChangeAnnotations(this.changeAnnotations),V=this.changeAnnotations.manage(D),k=C.replace(A,W,V)),this.edits.push(k),V!==void 0)return V},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}(),K=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}(),ue=function(){function E(A){var W=this;this._textEditChanges=Object.create(null),A!==void 0?(this._workspaceEdit=A,A.documentChanges?(this._changeAnnotations=new K(A.changeAnnotations),A.changeAnnotations=this._changeAnnotations.all(),A.documentChanges.forEach(function(D){if(M.is(D)){var k=new te(D.edits,W._changeAnnotations);W._textEditChanges[D.textDocument.uri]=k}})):A.changes&&Object.keys(A.changes).forEach(function(D){var k=new te(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(le.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=[],V={textDocument:W,edits:k};this._workspaceEdit.documentChanges.push(V),D=new te(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 te(k),this._textEditChanges[A]=D}return D}},E.prototype.initDocumentChanges=function(){this._workspaceEdit.documentChanges===void 0&&this._workspaceEdit.changes===void 0&&(this._changeAnnotations=new K,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 V,Q;if(k===void 0?V=P.create(A,D):(Q=x.is(k)?k:this._changeAnnotations.manage(k),V=P.create(A,D,Q)),this._workspaceEdit.documentChanges.push(V),Q!==void 0)return Q},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 V;_.is(D)||x.is(D)?V=D:k=D;var Q,be;if(V===void 0?Q=R.create(A,W,k):(be=x.is(V)?V:this._changeAnnotations.manage(V),Q=R.create(A,W,k,be)),this._workspaceEdit.documentChanges.push(Q),be!==void 0)return be},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 V,Q;if(k===void 0?V=z.create(A,D):(Q=x.is(k)?k:this._changeAnnotations.manage(k),V=z.create(A,D,Q)),this._workspaceEdit.documentChanges.push(V),Q!==void 0)return Q},E}();e.WorkspaceChange=ue;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 le;(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})(le=e.OptionalVersionedTextDocumentIdentifier||(e.OptionalVersionedTextDocumentIdentifier={}));var ne;(function(E){function A(D,k,V,Q){return{uri:D,languageId:k,version:V,text:Q}}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})(ne=e.TextDocumentItem||(e.TextDocumentItem={}));var de;(function(E){E.PlainText="plaintext",E.Markdown="markdown"})(de=e.MarkupKind||(e.MarkupKind={})),function(E){function A(W){var D=W;return D===E.PlainText||D===E.Markdown}E.is=A}(de=e.MarkupKind||(e.MarkupKind={}));var ae;(function(E){function A(W){var D=W;return q.objectLiteral(W)&&de.is(D.kind)&&q.string(D.value)}E.is=A})(ae=e.MarkupContent||(e.MarkupContent={}));var se;(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})(se=e.CompletionItemKind||(e.CompletionItemKind={}));var he;(function(E){E.PlainText=1,E.Snippet=2})(he=e.InsertTextFormat||(e.InsertTextFormat={}));var ve;(function(E){E.Deprecated=1})(ve=e.CompletionItemTag||(e.CompletionItemTag={}));var De;(function(E){function A(D,k,V){return{newText:D,insert:k,replace:V}}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})(De=e.InsertReplaceEdit||(e.InsertReplaceEdit={}));var Je;(function(E){E.asIs=1,E.adjustIndentation=2})(Je=e.InsertTextMode||(e.InsertTextMode={}));var we;(function(E){function A(W){return{label:W}}E.create=A})(we=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 pe;(function(E){function A(W){var D=W;return!!D&&q.objectLiteral(D)&&(ae.is(D.contents)||dt.is(D.contents)||q.typedArray(D.contents,dt.is))&&(W.range===void 0||s.is(W.range))}E.is=A})(pe=e.Hover||(e.Hover={}));var ce;(function(E){function A(W,D){return D?{label:W,documentation:D}:{label:W}}E.create=A})(ce=e.ParameterInformation||(e.ParameterInformation={}));var ie;(function(E){function A(W,D){for(var k=[],V=2;V<arguments.length;V++)k[V-2]=arguments[V];var Q={label:W};return q.defined(D)&&(Q.documentation=D),q.defined(k)?Q.parameters=k:Q.parameters=[],Q}E.create=A})(ie=e.SignatureInformation||(e.SignatureInformation={}));var Le;(function(E){E.Text=1,E.Read=2,E.Write=3})(Le=e.DocumentHighlightKind||(e.DocumentHighlightKind={}));var at;(function(E){function A(W,D){var k={range:W};return q.number(D)&&(k.kind=D),k}E.create=A})(at=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 Rn;(function(E){function A(W,D,k,V,Q){var be={name:W,kind:D,location:{uri:V,range:k}};return Q&&(be.containerName=Q),be}E.create=A})(Rn=e.SymbolInformation||(e.SymbolInformation={}));var An;(function(E){function A(D,k,V,Q,be,Oe){var Ve={name:D,detail:k,kind:V,range:Q,selectionRange:be};return Oe!==void 0&&(Ve.children=Oe),Ve}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})(An=e.DocumentSymbol||(e.DocumentSymbol={}));var BE;(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"})(BE=e.CodeActionKind||(e.CodeActionKind={}));var WE;(function(E){function A(D,k){var V={diagnostics:D};return k!=null&&(V.only=k),V}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})(WE=e.CodeActionContext||(e.CodeActionContext={}));var ko;(function(E){function A(D,k,V){var Q={title:D},be=!0;return typeof k=="string"?(be=!1,Q.kind=k):v.is(k)?Q.command=k:Q.edit=k,be&&V!==void 0&&(Q.kind=V),Q}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})(ko=e.CodeAction||(e.CodeAction={}));var uh;(function(E){function A(D,k){var V={range:D};return q.defined(k)&&(V.data=k),V}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})(uh=e.CodeLens||(e.CodeLens={}));var lh;(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})(lh=e.FormattingOptions||(e.FormattingOptions={}));var tc;(function(E){function A(D,k,V){return{range:D,target:k,data:V}}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})(tc=e.DocumentLink||(e.DocumentLink={}));var ch;(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})(ch=e.SelectionRange||(e.SelectionRange={})),e.EOL=[`
423
+ `,`\r
424
+ `,"\r"];var Cs;(function(E){function A(V,Q,be,Oe){return new L(V,Q,be,Oe)}E.create=A;function W(V){var Q=V;return!!(q.defined(Q)&&q.string(Q.uri)&&(q.undefined(Q.languageId)||q.string(Q.languageId))&&q.uinteger(Q.lineCount)&&q.func(Q.getText)&&q.func(Q.positionAt)&&q.func(Q.offsetAt))}E.is=W;function D(V,Q){for(var be=V.getText(),Oe=k(Q,function(Ja,fh){var uN=Ja.range.start.line-fh.range.start.line;return uN===0?Ja.range.start.character-fh.range.start.character:uN}),Ve=be.length,bt=Oe.length-1;bt>=0;bt--){var rr=Oe[bt],or=V.offsetAt(rr.range.start),Xe=V.offsetAt(rr.range.end);if(Xe<=Ve)be=be.substring(0,or)+rr.newText+be.substring(Xe,be.length);else throw new Error("Overlapping edit");Ve=or}return be}E.applyEdits=D;function k(V,Q){if(V.length<=1)return V;var be=V.length/2|0,Oe=V.slice(0,be),Ve=V.slice(be);k(Oe,Q),k(Ve,Q);for(var bt=0,rr=0,or=0;bt<Oe.length&&rr<Ve.length;){var Xe=Q(Oe[bt],Ve[rr]);Xe<=0?V[or++]=Oe[bt++]:V[or++]=Ve[rr++]}for(;bt<Oe.length;)V[or++]=Oe[bt++];for(;rr<Ve.length;)V[or++]=Ve[rr++];return V}})(Cs=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 V=W.charAt(k);D=V==="\r"||V===`
425
+ `,V==="\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 V=Math.floor((D+k)/2);W[V]>A?k=V:D=V+1}var Q=D-1;return i.create(Q,A-W[Q])},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(Xe){return typeof Xe<"u"}E.defined=W;function D(Xe){return typeof Xe>"u"}E.undefined=D;function k(Xe){return Xe===!0||Xe===!1}E.boolean=k;function V(Xe){return A.call(Xe)==="[object String]"}E.string=V;function Q(Xe){return A.call(Xe)==="[object Number]"}E.number=Q;function be(Xe,Ja,fh){return A.call(Xe)==="[object Number]"&&Ja<=Xe&&Xe<=fh}E.numberRange=be;function Oe(Xe){return A.call(Xe)==="[object Number]"&&-2147483648<=Xe&&Xe<=2147483647}E.integer=Oe;function Ve(Xe){return A.call(Xe)==="[object Number]"&&0<=Xe&&Xe<=2147483647}E.uinteger=Ve;function bt(Xe){return A.call(Xe)==="[object Function]"}E.func=bt;function rr(Xe){return Xe!==null&&typeof Xe=="object"}E.objectLiteral=rr;function or(Xe,Ja){return Array.isArray(Xe)&&Xe.every(Ja)}E.typedArray=or})(q||(q={}))})});var mr=m(Gn=>{"use strict";Object.defineProperty(Gn,"__esModule",{value:!0});Gn.ProtocolNotificationType=Gn.ProtocolNotificationType0=Gn.ProtocolRequestType=Gn.ProtocolRequestType0=Gn.RegistrationType=void 0;var Kl=Gl(),XI=class{constructor(e){this.method=e}};Gn.RegistrationType=XI;var ZI=class extends Kl.RequestType0{constructor(e){super(e)}};Gn.ProtocolRequestType0=ZI;var e3=class extends Kl.RequestType{constructor(e){super(e,Kl.ParameterStructures.byName)}};Gn.ProtocolRequestType=e3;var t3=class extends Kl.NotificationType0{constructor(e){super(e)}};Gn.ProtocolNotificationType0=t3;var r3=class extends Kl.NotificationType{constructor(e){super(e,Kl.ParameterStructures.byName)}};Gn.ProtocolNotificationType=r3});var Gge=m(tr=>{"use strict";Object.defineProperty(tr,"__esModule",{value:!0});tr.objectLiteral=tr.typedArray=tr.stringArray=tr.array=tr.func=tr.error=tr.number=tr.string=tr.boolean=void 0;function zvt(t){return t===!0||t===!1}tr.boolean=zvt;function Hge(t){return typeof t=="string"||t instanceof String}tr.string=Hge;function Uvt(t){return typeof t=="number"||t instanceof Number}tr.number=Uvt;function Hvt(t){return t instanceof Error}tr.error=Hvt;function Vvt(t){return typeof t=="function"}tr.func=Vvt;function Vge(t){return Array.isArray(t)}tr.array=Vge;function Gvt(t){return Vge(t)&&t.every(e=>Hge(e))}tr.stringArray=Gvt;function Kvt(t,e){return Array.isArray(t)&&t.every(e)}tr.typedArray=Kvt;function Yvt(t){return t!==null&&typeof t=="object"}tr.objectLiteral=Yvt});var Kge=m(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.ImplementationRequest=void 0;var Qvt=mr(),Jvt;(function(t){t.method="textDocument/implementation",t.type=new Qvt.ProtocolRequestType(t.method)})(Jvt=Tp.ImplementationRequest||(Tp.ImplementationRequest={}))});var Yge=m(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.TypeDefinitionRequest=void 0;var Xvt=mr(),Zvt;(function(t){t.method="textDocument/typeDefinition",t.type=new Xvt.ProtocolRequestType(t.method)})(Zvt=Mp.TypeDefinitionRequest||(Mp.TypeDefinitionRequest={}))});var Jge=m(po=>{"use strict";Object.defineProperty(po,"__esModule",{value:!0});po.DidChangeWorkspaceFoldersNotification=po.WorkspaceFoldersRequest=void 0;var Qge=mr(),ewt;(function(t){t.type=new Qge.ProtocolRequestType0("workspace/workspaceFolders")})(ewt=po.WorkspaceFoldersRequest||(po.WorkspaceFoldersRequest={}));var twt;(function(t){t.type=new Qge.ProtocolNotificationType("workspace/didChangeWorkspaceFolders")})(twt=po.DidChangeWorkspaceFoldersNotification||(po.DidChangeWorkspaceFoldersNotification={}))});var Xge=m(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.ConfigurationRequest=void 0;var rwt=mr(),nwt;(function(t){t.type=new rwt.ProtocolRequestType("workspace/configuration")})(nwt=Fp.ConfigurationRequest||(Fp.ConfigurationRequest={}))});var eme=m(ho=>{"use strict";Object.defineProperty(ho,"__esModule",{value:!0});ho.ColorPresentationRequest=ho.DocumentColorRequest=void 0;var Zge=mr(),iwt;(function(t){t.method="textDocument/documentColor",t.type=new Zge.ProtocolRequestType(t.method)})(iwt=ho.DocumentColorRequest||(ho.DocumentColorRequest={}));var swt;(function(t){t.type=new Zge.ProtocolRequestType("textDocument/colorPresentation")})(swt=ho.ColorPresentationRequest||(ho.ColorPresentationRequest={}))});var tme=m(go=>{"use strict";Object.defineProperty(go,"__esModule",{value:!0});go.FoldingRangeRequest=go.FoldingRangeKind=void 0;var owt=mr(),awt;(function(t){t.Comment="comment",t.Imports="imports",t.Region="region"})(awt=go.FoldingRangeKind||(go.FoldingRangeKind={}));var uwt;(function(t){t.method="textDocument/foldingRange",t.type=new owt.ProtocolRequestType(t.method)})(uwt=go.FoldingRangeRequest||(go.FoldingRangeRequest={}))});var rme=m(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.DeclarationRequest=void 0;var lwt=mr(),cwt;(function(t){t.method="textDocument/declaration",t.type=new lwt.ProtocolRequestType(t.method)})(cwt=Lp.DeclarationRequest||(Lp.DeclarationRequest={}))});var nme=m(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.SelectionRangeRequest=void 0;var fwt=mr(),dwt;(function(t){t.method="textDocument/selectionRange",t.type=new fwt.ProtocolRequestType(t.method)})(dwt=Ip.SelectionRangeRequest||(Ip.SelectionRangeRequest={}))});var sme=m(hi=>{"use strict";Object.defineProperty(hi,"__esModule",{value:!0});hi.WorkDoneProgressCancelNotification=hi.WorkDoneProgressCreateRequest=hi.WorkDoneProgress=void 0;var pwt=Gl(),ime=mr(),hwt;(function(t){t.type=new pwt.ProgressType;function e(r){return r===t.type}t.is=e})(hwt=hi.WorkDoneProgress||(hi.WorkDoneProgress={}));var gwt;(function(t){t.type=new ime.ProtocolRequestType("window/workDoneProgress/create")})(gwt=hi.WorkDoneProgressCreateRequest||(hi.WorkDoneProgressCreateRequest={}));var mwt;(function(t){t.type=new ime.ProtocolNotificationType("window/workDoneProgress/cancel")})(mwt=hi.WorkDoneProgressCancelNotification||(hi.WorkDoneProgressCancelNotification={}))});var ome=m(gi=>{"use strict";Object.defineProperty(gi,"__esModule",{value:!0});gi.CallHierarchyOutgoingCallsRequest=gi.CallHierarchyIncomingCallsRequest=gi.CallHierarchyPrepareRequest=void 0;var n3=mr(),ywt;(function(t){t.method="textDocument/prepareCallHierarchy",t.type=new n3.ProtocolRequestType(t.method)})(ywt=gi.CallHierarchyPrepareRequest||(gi.CallHierarchyPrepareRequest={}));var bwt;(function(t){t.method="callHierarchy/incomingCalls",t.type=new n3.ProtocolRequestType(t.method)})(bwt=gi.CallHierarchyIncomingCallsRequest||(gi.CallHierarchyIncomingCallsRequest={}));var vwt;(function(t){t.method="callHierarchy/outgoingCalls",t.type=new n3.ProtocolRequestType(t.method)})(vwt=gi.CallHierarchyOutgoingCallsRequest||(gi.CallHierarchyOutgoingCallsRequest={}))});var ame=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 Np=mr(),wwt;(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"})(wwt=ft.SemanticTokenTypes||(ft.SemanticTokenTypes={}));var _wt;(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"})(_wt=ft.SemanticTokenModifiers||(ft.SemanticTokenModifiers={}));var xwt;(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})(xwt=ft.SemanticTokens||(ft.SemanticTokens={}));var Swt;(function(t){t.Relative="relative"})(Swt=ft.TokenFormat||(ft.TokenFormat={}));var kwt;(function(t){t.method="textDocument/semanticTokens",t.type=new Np.RegistrationType(t.method)})(kwt=ft.SemanticTokensRegistrationType||(ft.SemanticTokensRegistrationType={}));var Ewt;(function(t){t.method="textDocument/semanticTokens/full",t.type=new Np.ProtocolRequestType(t.method)})(Ewt=ft.SemanticTokensRequest||(ft.SemanticTokensRequest={}));var Cwt;(function(t){t.method="textDocument/semanticTokens/full/delta",t.type=new Np.ProtocolRequestType(t.method)})(Cwt=ft.SemanticTokensDeltaRequest||(ft.SemanticTokensDeltaRequest={}));var Dwt;(function(t){t.method="textDocument/semanticTokens/range",t.type=new Np.ProtocolRequestType(t.method)})(Dwt=ft.SemanticTokensRangeRequest||(ft.SemanticTokensRangeRequest={}));var Owt;(function(t){t.method="workspace/semanticTokens/refresh",t.type=new Np.ProtocolRequestType0(t.method)})(Owt=ft.SemanticTokensRefreshRequest||(ft.SemanticTokensRefreshRequest={}))});var ume=m(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.ShowDocumentRequest=void 0;var qwt=mr(),Rwt;(function(t){t.method="window/showDocument",t.type=new qwt.ProtocolRequestType(t.method)})(Rwt=jp.ShowDocumentRequest||(jp.ShowDocumentRequest={}))});var lme=m($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.LinkedEditingRangeRequest=void 0;var Awt=mr(),Pwt;(function(t){t.method="textDocument/linkedEditingRange",t.type=new Awt.ProtocolRequestType(t.method)})(Pwt=$p.LinkedEditingRangeRequest||($p.LinkedEditingRangeRequest={}))});var cme=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 Yl=mr(),Twt;(function(t){t.file="file",t.folder="folder"})(Twt=Wt.FileOperationPatternKind||(Wt.FileOperationPatternKind={}));var Mwt;(function(t){t.method="workspace/willCreateFiles",t.type=new Yl.ProtocolRequestType(t.method)})(Mwt=Wt.WillCreateFilesRequest||(Wt.WillCreateFilesRequest={}));var Fwt;(function(t){t.method="workspace/didCreateFiles",t.type=new Yl.ProtocolNotificationType(t.method)})(Fwt=Wt.DidCreateFilesNotification||(Wt.DidCreateFilesNotification={}));var Lwt;(function(t){t.method="workspace/willRenameFiles",t.type=new Yl.ProtocolRequestType(t.method)})(Lwt=Wt.WillRenameFilesRequest||(Wt.WillRenameFilesRequest={}));var Iwt;(function(t){t.method="workspace/didRenameFiles",t.type=new Yl.ProtocolNotificationType(t.method)})(Iwt=Wt.DidRenameFilesNotification||(Wt.DidRenameFilesNotification={}));var Nwt;(function(t){t.method="workspace/didDeleteFiles",t.type=new Yl.ProtocolNotificationType(t.method)})(Nwt=Wt.DidDeleteFilesNotification||(Wt.DidDeleteFilesNotification={}));var jwt;(function(t){t.method="workspace/willDeleteFiles",t.type=new Yl.ProtocolRequestType(t.method)})(jwt=Wt.WillDeleteFilesRequest||(Wt.WillDeleteFilesRequest={}))});var fme=m(mi=>{"use strict";Object.defineProperty(mi,"__esModule",{value:!0});mi.MonikerRequest=mi.MonikerKind=mi.UniquenessLevel=void 0;var $wt=mr(),Bwt;(function(t){t.document="document",t.project="project",t.group="group",t.scheme="scheme",t.global="global"})(Bwt=mi.UniquenessLevel||(mi.UniquenessLevel={}));var Wwt;(function(t){t.import="import",t.export="export",t.local="local"})(Wwt=mi.MonikerKind||(mi.MonikerKind={}));var zwt;(function(t){t.method="textDocument/moniker",t.type=new $wt.ProtocolRequestType(t.method)})(zwt=mi.MonikerRequest||(mi.MonikerRequest={}))});var mme=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 mo=Gge(),Ue=mr(),Uwt=Kge();Object.defineProperty(O,"ImplementationRequest",{enumerable:!0,get:function(){return Uwt.ImplementationRequest}});var Hwt=Yge();Object.defineProperty(O,"TypeDefinitionRequest",{enumerable:!0,get:function(){return Hwt.TypeDefinitionRequest}});var dme=Jge();Object.defineProperty(O,"WorkspaceFoldersRequest",{enumerable:!0,get:function(){return dme.WorkspaceFoldersRequest}});Object.defineProperty(O,"DidChangeWorkspaceFoldersNotification",{enumerable:!0,get:function(){return dme.DidChangeWorkspaceFoldersNotification}});var Vwt=Xge();Object.defineProperty(O,"ConfigurationRequest",{enumerable:!0,get:function(){return Vwt.ConfigurationRequest}});var pme=eme();Object.defineProperty(O,"DocumentColorRequest",{enumerable:!0,get:function(){return pme.DocumentColorRequest}});Object.defineProperty(O,"ColorPresentationRequest",{enumerable:!0,get:function(){return pme.ColorPresentationRequest}});var Gwt=tme();Object.defineProperty(O,"FoldingRangeRequest",{enumerable:!0,get:function(){return Gwt.FoldingRangeRequest}});var Kwt=rme();Object.defineProperty(O,"DeclarationRequest",{enumerable:!0,get:function(){return Kwt.DeclarationRequest}});var Ywt=nme();Object.defineProperty(O,"SelectionRangeRequest",{enumerable:!0,get:function(){return Ywt.SelectionRangeRequest}});var i3=sme();Object.defineProperty(O,"WorkDoneProgress",{enumerable:!0,get:function(){return i3.WorkDoneProgress}});Object.defineProperty(O,"WorkDoneProgressCreateRequest",{enumerable:!0,get:function(){return i3.WorkDoneProgressCreateRequest}});Object.defineProperty(O,"WorkDoneProgressCancelNotification",{enumerable:!0,get:function(){return i3.WorkDoneProgressCancelNotification}});var s3=ome();Object.defineProperty(O,"CallHierarchyIncomingCallsRequest",{enumerable:!0,get:function(){return s3.CallHierarchyIncomingCallsRequest}});Object.defineProperty(O,"CallHierarchyOutgoingCallsRequest",{enumerable:!0,get:function(){return s3.CallHierarchyOutgoingCallsRequest}});Object.defineProperty(O,"CallHierarchyPrepareRequest",{enumerable:!0,get:function(){return s3.CallHierarchyPrepareRequest}});var Ss=ame();Object.defineProperty(O,"SemanticTokenTypes",{enumerable:!0,get:function(){return Ss.SemanticTokenTypes}});Object.defineProperty(O,"SemanticTokenModifiers",{enumerable:!0,get:function(){return Ss.SemanticTokenModifiers}});Object.defineProperty(O,"SemanticTokens",{enumerable:!0,get:function(){return Ss.SemanticTokens}});Object.defineProperty(O,"TokenFormat",{enumerable:!0,get:function(){return Ss.TokenFormat}});Object.defineProperty(O,"SemanticTokensRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRequest}});Object.defineProperty(O,"SemanticTokensDeltaRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensDeltaRequest}});Object.defineProperty(O,"SemanticTokensRangeRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRangeRequest}});Object.defineProperty(O,"SemanticTokensRefreshRequest",{enumerable:!0,get:function(){return Ss.SemanticTokensRefreshRequest}});Object.defineProperty(O,"SemanticTokensRegistrationType",{enumerable:!0,get:function(){return Ss.SemanticTokensRegistrationType}});var Qwt=ume();Object.defineProperty(O,"ShowDocumentRequest",{enumerable:!0,get:function(){return Qwt.ShowDocumentRequest}});var Jwt=lme();Object.defineProperty(O,"LinkedEditingRangeRequest",{enumerable:!0,get:function(){return Jwt.LinkedEditingRangeRequest}});var za=cme();Object.defineProperty(O,"FileOperationPatternKind",{enumerable:!0,get:function(){return za.FileOperationPatternKind}});Object.defineProperty(O,"DidCreateFilesNotification",{enumerable:!0,get:function(){return za.DidCreateFilesNotification}});Object.defineProperty(O,"WillCreateFilesRequest",{enumerable:!0,get:function(){return za.WillCreateFilesRequest}});Object.defineProperty(O,"DidRenameFilesNotification",{enumerable:!0,get:function(){return za.DidRenameFilesNotification}});Object.defineProperty(O,"WillRenameFilesRequest",{enumerable:!0,get:function(){return za.WillRenameFilesRequest}});Object.defineProperty(O,"DidDeleteFilesNotification",{enumerable:!0,get:function(){return za.DidDeleteFilesNotification}});Object.defineProperty(O,"WillDeleteFilesRequest",{enumerable:!0,get:function(){return za.WillDeleteFilesRequest}});var o3=fme();Object.defineProperty(O,"UniquenessLevel",{enumerable:!0,get:function(){return o3.UniquenessLevel}});Object.defineProperty(O,"MonikerKind",{enumerable:!0,get:function(){return o3.MonikerKind}});Object.defineProperty(O,"MonikerRequest",{enumerable:!0,get:function(){return o3.MonikerRequest}});var hme;(function(t){function e(r){let n=r;return mo.string(n.language)||mo.string(n.scheme)||mo.string(n.pattern)}t.is=e})(hme=O.DocumentFilter||(O.DocumentFilter={}));var gme;(function(t){function e(r){if(!Array.isArray(r))return!1;for(let n of r)if(!mo.string(n)&&!hme.is(n))return!1;return!0}t.is=e})(gme=O.DocumentSelector||(O.DocumentSelector={}));var Xwt;(function(t){t.type=new Ue.ProtocolRequestType("client/registerCapability")})(Xwt=O.RegistrationRequest||(O.RegistrationRequest={}));var Zwt;(function(t){t.type=new Ue.ProtocolRequestType("client/unregisterCapability")})(Zwt=O.UnregistrationRequest||(O.UnregistrationRequest={}));var e_t;(function(t){t.Create="create",t.Rename="rename",t.Delete="delete"})(e_t=O.ResourceOperationKind||(O.ResourceOperationKind={}));var t_t;(function(t){t.Abort="abort",t.Transactional="transactional",t.TextOnlyTransactional="textOnlyTransactional",t.Undo="undo"})(t_t=O.FailureHandlingKind||(O.FailureHandlingKind={}));var r_t;(function(t){function e(r){let n=r;return n&&mo.string(n.id)&&n.id.length>0}t.hasId=e})(r_t=O.StaticRegistrationOptions||(O.StaticRegistrationOptions={}));var n_t;(function(t){function e(r){let n=r;return n&&(n.documentSelector===null||gme.is(n.documentSelector))}t.is=e})(n_t=O.TextDocumentRegistrationOptions||(O.TextDocumentRegistrationOptions={}));var i_t;(function(t){function e(n){let i=n;return mo.objectLiteral(i)&&(i.workDoneProgress===void 0||mo.boolean(i.workDoneProgress))}t.is=e;function r(n){let i=n;return i&&mo.boolean(i.workDoneProgress)}t.hasWorkDoneProgress=r})(i_t=O.WorkDoneProgressOptions||(O.WorkDoneProgressOptions={}));var s_t;(function(t){t.type=new Ue.ProtocolRequestType("initialize")})(s_t=O.InitializeRequest||(O.InitializeRequest={}));var o_t;(function(t){t.unknownProtocolVersion=1})(o_t=O.InitializeError||(O.InitializeError={}));var a_t;(function(t){t.type=new Ue.ProtocolNotificationType("initialized")})(a_t=O.InitializedNotification||(O.InitializedNotification={}));var u_t;(function(t){t.type=new Ue.ProtocolRequestType0("shutdown")})(u_t=O.ShutdownRequest||(O.ShutdownRequest={}));var l_t;(function(t){t.type=new Ue.ProtocolNotificationType0("exit")})(l_t=O.ExitNotification||(O.ExitNotification={}));var c_t;(function(t){t.type=new Ue.ProtocolNotificationType("workspace/didChangeConfiguration")})(c_t=O.DidChangeConfigurationNotification||(O.DidChangeConfigurationNotification={}));var f_t;(function(t){t.Error=1,t.Warning=2,t.Info=3,t.Log=4})(f_t=O.MessageType||(O.MessageType={}));var d_t;(function(t){t.type=new Ue.ProtocolNotificationType("window/showMessage")})(d_t=O.ShowMessageNotification||(O.ShowMessageNotification={}));var p_t;(function(t){t.type=new Ue.ProtocolRequestType("window/showMessageRequest")})(p_t=O.ShowMessageRequest||(O.ShowMessageRequest={}));var h_t;(function(t){t.type=new Ue.ProtocolNotificationType("window/logMessage")})(h_t=O.LogMessageNotification||(O.LogMessageNotification={}));var g_t;(function(t){t.type=new Ue.ProtocolNotificationType("telemetry/event")})(g_t=O.TelemetryEventNotification||(O.TelemetryEventNotification={}));var m_t;(function(t){t.None=0,t.Full=1,t.Incremental=2})(m_t=O.TextDocumentSyncKind||(O.TextDocumentSyncKind={}));var y_t;(function(t){t.method="textDocument/didOpen",t.type=new Ue.ProtocolNotificationType(t.method)})(y_t=O.DidOpenTextDocumentNotification||(O.DidOpenTextDocumentNotification={}));var b_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})(b_t=O.TextDocumentContentChangeEvent||(O.TextDocumentContentChangeEvent={}));var v_t;(function(t){t.method="textDocument/didChange",t.type=new Ue.ProtocolNotificationType(t.method)})(v_t=O.DidChangeTextDocumentNotification||(O.DidChangeTextDocumentNotification={}));var w_t;(function(t){t.method="textDocument/didClose",t.type=new Ue.ProtocolNotificationType(t.method)})(w_t=O.DidCloseTextDocumentNotification||(O.DidCloseTextDocumentNotification={}));var __t;(function(t){t.method="textDocument/didSave",t.type=new Ue.ProtocolNotificationType(t.method)})(__t=O.DidSaveTextDocumentNotification||(O.DidSaveTextDocumentNotification={}));var x_t;(function(t){t.Manual=1,t.AfterDelay=2,t.FocusOut=3})(x_t=O.TextDocumentSaveReason||(O.TextDocumentSaveReason={}));var S_t;(function(t){t.method="textDocument/willSave",t.type=new Ue.ProtocolNotificationType(t.method)})(S_t=O.WillSaveTextDocumentNotification||(O.WillSaveTextDocumentNotification={}));var k_t;(function(t){t.method="textDocument/willSaveWaitUntil",t.type=new Ue.ProtocolRequestType(t.method)})(k_t=O.WillSaveTextDocumentWaitUntilRequest||(O.WillSaveTextDocumentWaitUntilRequest={}));var E_t;(function(t){t.type=new Ue.ProtocolNotificationType("workspace/didChangeWatchedFiles")})(E_t=O.DidChangeWatchedFilesNotification||(O.DidChangeWatchedFilesNotification={}));var C_t;(function(t){t.Created=1,t.Changed=2,t.Deleted=3})(C_t=O.FileChangeType||(O.FileChangeType={}));var D_t;(function(t){t.Create=1,t.Change=2,t.Delete=4})(D_t=O.WatchKind||(O.WatchKind={}));var O_t;(function(t){t.type=new Ue.ProtocolNotificationType("textDocument/publishDiagnostics")})(O_t=O.PublishDiagnosticsNotification||(O.PublishDiagnosticsNotification={}));var q_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.TriggerForIncompleteCompletions=3})(q_t=O.CompletionTriggerKind||(O.CompletionTriggerKind={}));var R_t;(function(t){t.method="textDocument/completion",t.type=new Ue.ProtocolRequestType(t.method)})(R_t=O.CompletionRequest||(O.CompletionRequest={}));var A_t;(function(t){t.method="completionItem/resolve",t.type=new Ue.ProtocolRequestType(t.method)})(A_t=O.CompletionResolveRequest||(O.CompletionResolveRequest={}));var P_t;(function(t){t.method="textDocument/hover",t.type=new Ue.ProtocolRequestType(t.method)})(P_t=O.HoverRequest||(O.HoverRequest={}));var T_t;(function(t){t.Invoked=1,t.TriggerCharacter=2,t.ContentChange=3})(T_t=O.SignatureHelpTriggerKind||(O.SignatureHelpTriggerKind={}));var M_t;(function(t){t.method="textDocument/signatureHelp",t.type=new Ue.ProtocolRequestType(t.method)})(M_t=O.SignatureHelpRequest||(O.SignatureHelpRequest={}));var F_t;(function(t){t.method="textDocument/definition",t.type=new Ue.ProtocolRequestType(t.method)})(F_t=O.DefinitionRequest||(O.DefinitionRequest={}));var L_t;(function(t){t.method="textDocument/references",t.type=new Ue.ProtocolRequestType(t.method)})(L_t=O.ReferencesRequest||(O.ReferencesRequest={}));var I_t;(function(t){t.method="textDocument/documentHighlight",t.type=new Ue.ProtocolRequestType(t.method)})(I_t=O.DocumentHighlightRequest||(O.DocumentHighlightRequest={}));var N_t;(function(t){t.method="textDocument/documentSymbol",t.type=new Ue.ProtocolRequestType(t.method)})(N_t=O.DocumentSymbolRequest||(O.DocumentSymbolRequest={}));var j_t;(function(t){t.method="textDocument/codeAction",t.type=new Ue.ProtocolRequestType(t.method)})(j_t=O.CodeActionRequest||(O.CodeActionRequest={}));var $_t;(function(t){t.method="codeAction/resolve",t.type=new Ue.ProtocolRequestType(t.method)})($_t=O.CodeActionResolveRequest||(O.CodeActionResolveRequest={}));var B_t;(function(t){t.method="workspace/symbol",t.type=new Ue.ProtocolRequestType(t.method)})(B_t=O.WorkspaceSymbolRequest||(O.WorkspaceSymbolRequest={}));var W_t;(function(t){t.method="textDocument/codeLens",t.type=new Ue.ProtocolRequestType(t.method)})(W_t=O.CodeLensRequest||(O.CodeLensRequest={}));var z_t;(function(t){t.method="codeLens/resolve",t.type=new Ue.ProtocolRequestType(t.method)})(z_t=O.CodeLensResolveRequest||(O.CodeLensResolveRequest={}));var U_t;(function(t){t.method="workspace/codeLens/refresh",t.type=new Ue.ProtocolRequestType0(t.method)})(U_t=O.CodeLensRefreshRequest||(O.CodeLensRefreshRequest={}));var H_t;(function(t){t.method="textDocument/documentLink",t.type=new Ue.ProtocolRequestType(t.method)})(H_t=O.DocumentLinkRequest||(O.DocumentLinkRequest={}));var V_t;(function(t){t.method="documentLink/resolve",t.type=new Ue.ProtocolRequestType(t.method)})(V_t=O.DocumentLinkResolveRequest||(O.DocumentLinkResolveRequest={}));var G_t;(function(t){t.method="textDocument/formatting",t.type=new Ue.ProtocolRequestType(t.method)})(G_t=O.DocumentFormattingRequest||(O.DocumentFormattingRequest={}));var K_t;(function(t){t.method="textDocument/rangeFormatting",t.type=new Ue.ProtocolRequestType(t.method)})(K_t=O.DocumentRangeFormattingRequest||(O.DocumentRangeFormattingRequest={}));var Y_t;(function(t){t.method="textDocument/onTypeFormatting",t.type=new Ue.ProtocolRequestType(t.method)})(Y_t=O.DocumentOnTypeFormattingRequest||(O.DocumentOnTypeFormattingRequest={}));var Q_t;(function(t){t.Identifier=1})(Q_t=O.PrepareSupportDefaultBehavior||(O.PrepareSupportDefaultBehavior={}));var J_t;(function(t){t.method="textDocument/rename",t.type=new Ue.ProtocolRequestType(t.method)})(J_t=O.RenameRequest||(O.RenameRequest={}));var X_t;(function(t){t.method="textDocument/prepareRename",t.type=new Ue.ProtocolRequestType(t.method)})(X_t=O.PrepareRenameRequest||(O.PrepareRenameRequest={}));var Z_t;(function(t){t.type=new Ue.ProtocolRequestType("workspace/executeCommand")})(Z_t=O.ExecuteCommandRequest||(O.ExecuteCommandRequest={}));var ext;(function(t){t.type=new Ue.ProtocolRequestType("workspace/applyEdit")})(ext=O.ApplyWorkspaceEditRequest||(O.ApplyWorkspaceEditRequest={}))});var bme=m(Xk=>{"use strict";Object.defineProperty(Xk,"__esModule",{value:!0});Xk.createProtocolConnection=void 0;var yme=Gl();function txt(t,e,r,n){return yme.ConnectionStrategy.is(n)&&(n={connectionStrategy:n}),yme.createMessageConnection(t,e,r,n)}Xk.createProtocolConnection=txt});var vme=m(Jr=>{"use strict";var rxt=Jr&&Jr.__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]}),Zk=Jr&&Jr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&rxt(e,t,r)};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.LSPErrorCodes=Jr.createProtocolConnection=void 0;Zk(Gl(),Jr);Zk(Uge(),Jr);Zk(mr(),Jr);Zk(mme(),Jr);var nxt=bme();Object.defineProperty(Jr,"createProtocolConnection",{enumerable:!0,get:function(){return nxt.createProtocolConnection}});var ixt;(function(t){t.lspReservedErrorRangeStart=-32899,t.ContentModified=-32801,t.RequestCancelled=-32800,t.lspReservedErrorRangeEnd=-32800})(ixt=Jr.LSPErrorCodes||(Jr.LSPErrorCodes={}))});var Cn=m(Vi=>{"use strict";var sxt=Vi&&Vi.__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]}),wme=Vi&&Vi.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&sxt(e,t,r)};Object.defineProperty(Vi,"__esModule",{value:!0});Vi.createProtocolConnection=void 0;var oxt=JI();wme(JI(),Vi);wme(vme(),Vi);function axt(t,e,r,n){return oxt.createMessageConnection(t,e,r,n)}Vi.createProtocolConnection=axt});var a3=m(Kn=>{"use strict";Object.defineProperty(Kn,"__esModule",{value:!0});Kn.generateUuid=Kn.parse=Kn.isUUID=Kn.v4=Kn.empty=void 0;var Bp=class{constructor(e){this._value=e}asHex(){return this._value}equals(e){return this.asHex()===e.asHex()}},Ke=class extends Bp{constructor(){super([Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),"-",Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),"-","4",Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),"-",Ke._oneOf(Ke._timeHighBits),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),"-",Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex(),Ke._randomHex()].join(""))}static _oneOf(e){return e[Math.floor(e.length*Math.random())]}static _randomHex(){return Ke._oneOf(Ke._chars)}};Ke._chars=["0","1","2","3","4","5","6","6","7","8","9","a","b","c","d","e","f"];Ke._timeHighBits=["8","9","a","b"];Kn.empty=new Bp("00000000-0000-0000-0000-000000000000");function _me(){return new Ke}Kn.v4=_me;var uxt=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function xme(t){return uxt.test(t)}Kn.isUUID=xme;function lxt(t){if(!xme(t))throw new Error("invalid uuid");return new Bp(t)}Kn.parse=lxt;function cxt(){return _me().asHex()}Kn.generateUuid=cxt});var Sme=m(bo=>{"use strict";Object.defineProperty(bo,"__esModule",{value:!0});bo.attachPartialResult=bo.ProgressFeature=bo.attachWorkDone=void 0;var yo=Cn(),fxt=a3(),Gi=class{constructor(e,r){this._connection=e,this._token=r,Gi.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(yo.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(yo.WorkDoneProgress.type,this._token,n)}done(){Gi.Instances.delete(this._token),this._connection.sendProgress(yo.WorkDoneProgress.type,this._token,{kind:"end"})}};Gi.Instances=new Map;var eE=class extends Gi{constructor(e,r){super(e,r),this._source=new yo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose(),super.done()}cancel(){this._source.cancel()}},Wp=class{constructor(){}begin(){}report(){}done(){}},tE=class extends Wp{constructor(){super(),this._source=new yo.CancellationTokenSource}get token(){return this._source.token}done(){this._source.dispose()}cancel(){this._source.cancel()}};function dxt(t,e){if(e===void 0||e.workDoneToken===void 0)return new Wp;let r=e.workDoneToken;return delete e.workDoneToken,new Gi(t,r)}bo.attachWorkDone=dxt;var pxt=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(yo.WorkDoneProgressCancelNotification.type,n=>{let i=Gi.Instances.get(n.token);(i instanceof eE||i instanceof tE)&&i.cancel()}))}attachWorkDoneProgress(e){return e===void 0?new Wp:new Gi(this.connection,e)}createWorkDoneProgress(){if(this._progressSupported){let e=fxt.generateUuid();return this.connection.sendRequest(yo.WorkDoneProgressCreateRequest.type,{token:e}).then(()=>new eE(this.connection,e))}else return Promise.resolve(new tE)}};bo.ProgressFeature=pxt;var u3;(function(t){t.type=new yo.ProgressType})(u3||(u3={}));var l3=class{constructor(e,r){this._connection=e,this._token=r}report(e){this._connection.sendProgress(u3.type,this._token,e)}};function hxt(t,e){if(e===void 0||e.partialResultToken===void 0)return;let r=e.partialResultToken;return delete e.partialResultToken,new l3(t,r)}bo.attachPartialResult=hxt});var kme=m(rE=>{"use strict";Object.defineProperty(rE,"__esModule",{value:!0});rE.ConfigurationFeature=void 0;var gxt=Cn(),mxt=Nk(),yxt=t=>class extends t{getConfiguration(e){return e?mxt.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(gxt.ConfigurationRequest.type,r).then(n=>Array.isArray(e)?n:n[0])}};rE.ConfigurationFeature=yxt});var Eme=m(iE=>{"use strict";Object.defineProperty(iE,"__esModule",{value:!0});iE.WorkspaceFoldersFeature=void 0;var nE=Cn(),bxt=t=>class extends t{initialize(e){let r=e.workspace;r&&r.workspaceFolders&&(this._onDidChangeWorkspaceFolders=new nE.Emitter,this.connection.onNotification(nE.DidChangeWorkspaceFoldersNotification.type,n=>{this._onDidChangeWorkspaceFolders.fire(n.event)}))}getWorkspaceFolders(){return this.connection.sendRequest(nE.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(nE.DidChangeWorkspaceFoldersNotification.type)),this._onDidChangeWorkspaceFolders.event}};iE.WorkspaceFoldersFeature=bxt});var Cme=m(sE=>{"use strict";Object.defineProperty(sE,"__esModule",{value:!0});sE.CallHierarchyFeature=void 0;var c3=Cn(),vxt=t=>class extends t{get callHierarchy(){return{onPrepare:e=>{this.connection.onRequest(c3.CallHierarchyPrepareRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))},onIncomingCalls:e=>{let r=c3.CallHierarchyIncomingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onOutgoingCalls:e=>{let r=c3.CallHierarchyOutgoingCallsRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};sE.CallHierarchyFeature=vxt});var p3=m(Ql=>{"use strict";Object.defineProperty(Ql,"__esModule",{value:!0});Ql.SemanticTokensBuilder=Ql.SemanticTokensFeature=void 0;var f3=Cn(),wxt=t=>class extends t{get semanticTokens(){return{on:e=>{let r=f3.SemanticTokensRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onDelta:e=>{let r=f3.SemanticTokensDeltaRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))},onRange:e=>{let r=f3.SemanticTokensRangeRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};Ql.SemanticTokensFeature=wxt;var d3=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()}};Ql.SemanticTokensBuilder=d3});var Dme=m(oE=>{"use strict";Object.defineProperty(oE,"__esModule",{value:!0});oE.ShowDocumentFeature=void 0;var _xt=Cn(),xxt=t=>class extends t{showDocument(e){return this.connection.sendRequest(_xt.ShowDocumentRequest.type,e)}};oE.ShowDocumentFeature=xxt});var Ome=m(aE=>{"use strict";Object.defineProperty(aE,"__esModule",{value:!0});aE.FileOperationsFeature=void 0;var Jl=Cn(),Sxt=t=>class extends t{onDidCreateFiles(e){this.connection.onNotification(Jl.DidCreateFilesNotification.type,r=>{e(r)})}onDidRenameFiles(e){this.connection.onNotification(Jl.DidRenameFilesNotification.type,r=>{e(r)})}onDidDeleteFiles(e){this.connection.onNotification(Jl.DidDeleteFilesNotification.type,r=>{e(r)})}onWillCreateFiles(e){return this.connection.onRequest(Jl.WillCreateFilesRequest.type,(r,n)=>e(r,n))}onWillRenameFiles(e){return this.connection.onRequest(Jl.WillRenameFilesRequest.type,(r,n)=>e(r,n))}onWillDeleteFiles(e){return this.connection.onRequest(Jl.WillDeleteFilesRequest.type,(r,n)=>e(r,n))}};aE.FileOperationsFeature=Sxt});var qme=m(uE=>{"use strict";Object.defineProperty(uE,"__esModule",{value:!0});uE.LinkedEditingRangeFeature=void 0;var kxt=Cn(),Ext=t=>class extends t{onLinkedEditingRange(e){this.connection.onRequest(kxt.LinkedEditingRangeRequest.type,(r,n)=>e(r,n,this.attachWorkDoneProgress(r),void 0))}};uE.LinkedEditingRangeFeature=Ext});var Rme=m(lE=>{"use strict";Object.defineProperty(lE,"__esModule",{value:!0});lE.MonikerFeature=void 0;var Cxt=Cn(),Dxt=t=>class extends t{get moniker(){return{on:e=>{let r=Cxt.MonikerRequest.type;this.connection.onRequest(r,(n,i)=>e(n,i,this.attachWorkDoneProgress(n),this.attachPartialResultProgress(r,n)))}}}};lE.MonikerFeature=Dxt});var w3=m(nt=>{"use strict";Object.defineProperty(nt,"__esModule",{value:!0});nt.createConnection=nt.combineFeatures=nt.combineLanguagesFeatures=nt.combineWorkspaceFeatures=nt.combineWindowFeatures=nt.combineClientFeatures=nt.combineTracerFeatures=nt.combineTelemetryFeatures=nt.combineConsoleFeatures=nt._LanguagesImpl=nt.BulkUnregistration=nt.BulkRegistration=nt.ErrorMessageTracker=nt.TextDocuments=void 0;var ge=Cn(),Yn=Nk(),g3=a3(),He=Sme(),Oxt=kme(),qxt=Eme(),Rxt=Cme(),Axt=p3(),Pxt=Dme(),Txt=Ome(),Mxt=qme(),Fxt=Rme();function h3(t){if(t!==null)return t}var m3=class{constructor(e){this._documents=Object.create(null),this._configuration=e,this._onDidChangeContent=new ge.Emitter,this._onDidOpen=new ge.Emitter,this._onDidClose=new ge.Emitter,this._onDidSave=new ge.Emitter,this._onWillSave=new ge.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=ge.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}))})}};nt.TextDocuments=m3;var y3=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)})}};nt.ErrorMessageTracker=y3;var cE=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(ge.MessageType.Error,e)}warn(e){this.send(ge.MessageType.Warning,e)}info(e){this.send(ge.MessageType.Info,e)}log(e){this.send(ge.MessageType.Log,e)}send(e,r){this._rawConnection&&this._rawConnection.sendNotification(ge.LogMessageNotification.type,{type:e,message:r})}},b3=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:ge.MessageType.Error,message:e,actions:r};return this.connection.sendRequest(ge.ShowMessageRequest.type,n).then(h3)}showWarningMessage(e,...r){let n={type:ge.MessageType.Warning,message:e,actions:r};return this.connection.sendRequest(ge.ShowMessageRequest.type,n).then(h3)}showInformationMessage(e,...r){let n={type:ge.MessageType.Info,message:e,actions:r};return this.connection.sendRequest(ge.ShowMessageRequest.type,n).then(h3)}},Ame=Pxt.ShowDocumentFeature(He.ProgressFeature(b3)),Lxt;(function(t){function e(){return new fE}t.create=e})(Lxt=nt.BulkRegistration||(nt.BulkRegistration={}));var fE=class{constructor(){this._registrations=[],this._registered=new Set}add(e,r){let n=Yn.string(e)?e:e.method;if(this._registered.has(n))throw new Error(`${n} is already added to this registration`);let i=g3.generateUuid();this._registrations.push({id:i,method:n,registerOptions:r||{}}),this._registered.add(n)}asRegistrationParams(){return{registrations:this._registrations}}},Ixt;(function(t){function e(){return new zp(void 0,[])}t.create=e})(Ixt=nt.BulkUnregistration||(nt.BulkUnregistration={}));var zp=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(ge.UnregistrationRequest.type,r).then(void 0,n=>{this._connection.console.info("Bulk unregistration failed.")})}disposeSingle(e){let r=Yn.string(e)?e:e.method,n=this._unregistrations.get(r);if(!n)return!1;let i={unregisterations:[n]};return this._connection.sendRequest(ge.UnregistrationRequest.type,i).then(()=>{this._unregistrations.delete(r)},s=>{this._connection.console.info(`Un-registering request handler for ${n.id} failed.`)}),!0}},dE=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 fE?this.registerMany(e):e instanceof zp?this.registerSingle1(e,r,n):this.registerSingle2(e,r)}registerSingle1(e,r,n){let i=Yn.string(r)?r:r.method,s=g3.generateUuid(),o={registrations:[{id:s,method:i,registerOptions:n||{}}]};return e.isAttached||e.attach(this.connection),this.connection.sendRequest(ge.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=Yn.string(e)?e:e.method,i=g3.generateUuid(),s={registrations:[{id:i,method:n,registerOptions:r||{}}]};return this.connection.sendRequest(ge.RegistrationRequest.type,s).then(o=>ge.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(ge.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(ge.RegistrationRequest.type,r).then(()=>new zp(this._connection,r.registrations.map(n=>({id:n.id,method:n.method}))),n=>(this.connection.console.info("Bulk registration failed."),Promise.reject(n)))}},v3=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(ge.ApplyWorkspaceEditRequest.type,n)}},Pme=Txt.FileOperationsFeature(qxt.WorkspaceFoldersFeature(Oxt.ConfigurationFeature(v3))),pE=class{constructor(){this._trace=ge.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!==ge.Trace.Off&&this.connection.sendNotification(ge.LogTraceNotification.type,{message:e,verbose:this._trace===ge.Trace.Verbose?r:void 0})}},hE=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(ge.TelemetryEventNotification.type,e)}},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){}attachWorkDoneProgress(e){return He.attachWorkDone(this.connection,e)}attachPartialResultProgress(e,r){return He.attachPartialResult(this.connection,r)}};nt._LanguagesImpl=gE;var Tme=Fxt.MonikerFeature(Mxt.LinkedEditingRangeFeature(Axt.SemanticTokensFeature(Rxt.CallHierarchyFeature(gE))));function Mme(t,e){return function(r){return e(t(r))}}nt.combineConsoleFeatures=Mme;function Fme(t,e){return function(r){return e(t(r))}}nt.combineTelemetryFeatures=Fme;function Lme(t,e){return function(r){return e(t(r))}}nt.combineTracerFeatures=Lme;function Ime(t,e){return function(r){return e(t(r))}}nt.combineClientFeatures=Ime;function Nme(t,e){return function(r){return e(t(r))}}nt.combineWindowFeatures=Nme;function jme(t,e){return function(r){return e(t(r))}}nt.combineWorkspaceFeatures=jme;function Nxt(t,e){return function(r){return e(t(r))}}nt.combineLanguagesFeatures=Nxt;function jxt(t,e){function r(i,s,o){return i&&s?o(i,s):i||s}return{__brand:"features",console:r(t.console,e.console,Mme),tracer:r(t.tracer,e.tracer,Lme),telemetry:r(t.telemetry,e.telemetry,Fme),client:r(t.client,e.client,Ime),window:r(t.window,e.window,Nme),workspace:r(t.workspace,e.workspace,jme)}}nt.combineFeatures=jxt;function $xt(t,e,r){let n=r&&r.console?new(r.console(cE)):new cE,i=t(n);n.rawAttach(i);let s=r&&r.tracer?new(r.tracer(pE)):new pE,o=r&&r.telemetry?new(r.telemetry(hE)):new hE,a=r&&r.client?new(r.client(dE)):new dE,u=r&&r.window?new(r.window(Ame)):new Ame,l=r&&r.workspace?new(r.workspace(Pme)):new Pme,c=r&&r.languages?new(r.languages(Tme)):new Tme,f=[n,s,o,a,u,l,c];function d(g){return g instanceof Promise?g:Yn.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(Yn.string(g)?g:g.method,...v),onRequest:(g,v)=>i.onRequest(g,v),sendNotification:(g,v)=>{let w=Yn.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(ge.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(ge.DidChangeConfigurationNotification.type,g),onDidChangeWatchedFiles:g=>i.onNotification(ge.DidChangeWatchedFilesNotification.type,g),__textDocumentSync:void 0,onDidOpenTextDocument:g=>i.onNotification(ge.DidOpenTextDocumentNotification.type,g),onDidChangeTextDocument:g=>i.onNotification(ge.DidChangeTextDocumentNotification.type,g),onDidCloseTextDocument:g=>i.onNotification(ge.DidCloseTextDocumentNotification.type,g),onWillSaveTextDocument:g=>i.onNotification(ge.WillSaveTextDocumentNotification.type,g),onWillSaveTextDocumentWaitUntil:g=>i.onRequest(ge.WillSaveTextDocumentWaitUntilRequest.type,g),onDidSaveTextDocument:g=>i.onNotification(ge.DidSaveTextDocumentNotification.type,g),sendDiagnostics:g=>i.sendNotification(ge.PublishDiagnosticsNotification.type,g),onHover:g=>i.onRequest(ge.HoverRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),void 0)),onCompletion:g=>i.onRequest(ge.CompletionRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onCompletionResolve:g=>i.onRequest(ge.CompletionResolveRequest.type,g),onSignatureHelp:g=>i.onRequest(ge.SignatureHelpRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),void 0)),onDeclaration:g=>i.onRequest(ge.DeclarationRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onDefinition:g=>i.onRequest(ge.DefinitionRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onTypeDefinition:g=>i.onRequest(ge.TypeDefinitionRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onImplementation:g=>i.onRequest(ge.ImplementationRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onReferences:g=>i.onRequest(ge.ReferencesRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onDocumentHighlight:g=>i.onRequest(ge.DocumentHighlightRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onDocumentSymbol:g=>i.onRequest(ge.DocumentSymbolRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onWorkspaceSymbol:g=>i.onRequest(ge.WorkspaceSymbolRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onCodeAction:g=>i.onRequest(ge.CodeActionRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onCodeActionResolve:g=>i.onRequest(ge.CodeActionResolveRequest.type,(v,w)=>g(v,w)),onCodeLens:g=>i.onRequest(ge.CodeLensRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onCodeLensResolve:g=>i.onRequest(ge.CodeLensResolveRequest.type,(v,w)=>g(v,w)),onDocumentFormatting:g=>i.onRequest(ge.DocumentFormattingRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),void 0)),onDocumentRangeFormatting:g=>i.onRequest(ge.DocumentRangeFormattingRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),void 0)),onDocumentOnTypeFormatting:g=>i.onRequest(ge.DocumentOnTypeFormattingRequest.type,(v,w)=>g(v,w)),onRenameRequest:g=>i.onRequest(ge.RenameRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),void 0)),onPrepareRename:g=>i.onRequest(ge.PrepareRenameRequest.type,(v,w)=>g(v,w)),onDocumentLinks:g=>i.onRequest(ge.DocumentLinkRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onDocumentLinkResolve:g=>i.onRequest(ge.DocumentLinkResolveRequest.type,(v,w)=>g(v,w)),onDocumentColor:g=>i.onRequest(ge.DocumentColorRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onColorPresentation:g=>i.onRequest(ge.ColorPresentationRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onFoldingRanges:g=>i.onRequest(ge.FoldingRangeRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onSelectionRanges:g=>i.onRequest(ge.SelectionRangeRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),He.attachPartialResult(i,v))),onExecuteCommand:g=>i.onRequest(ge.ExecuteCommandRequest.type,(v,w)=>g(v,w,He.attachWorkDone(i,v),void 0)),dispose:()=>i.dispose()};for(let g of f)g.attach(b);return i.onRequest(ge.InitializeRequest.type,g=>{e.initialize(g),Yn.string(g.trace)&&(s.trace=ge.Trace.fromString(g.trace));for(let v of f)v.initialize(g.capabilities);if(h){let v=h(g,new ge.CancellationTokenSource().token,He.attachWorkDone(i,g),void 0);return d(v).then(w=>{if(w instanceof ge.ResponseError)return w;let _=w;_||(_={capabilities:{}});let x=_.capabilities;x||(x={},_.capabilities=x),x.textDocumentSync===void 0||x.textDocumentSync===null?x.textDocumentSync=Yn.number(b.__textDocumentSync)?b.__textDocumentSync:ge.TextDocumentSyncKind.None:!Yn.number(x.textDocumentSync)&&!Yn.number(x.textDocumentSync.change)&&(x.textDocumentSync.change=Yn.number(b.__textDocumentSync)?b.__textDocumentSync:ge.TextDocumentSyncKind.None);for(let C of f)C.fillServerCapabilities(x);return _})}else{let v={capabilities:{textDocumentSync:ge.TextDocumentSyncKind.None}};for(let w of f)w.fillServerCapabilities(v.capabilities);return v}}),i.onRequest(ge.ShutdownRequest.type,()=>{if(e.shutdownReceived=!0,p)return p(new ge.CancellationTokenSource().token)}),i.onNotification(ge.ExitNotification.type,()=>{try{y&&y()}finally{e.shutdownReceived?e.exit(0):e.exit(1)}}),i.onNotification(ge.SetTraceNotification.type,g=>{s.trace=ge.Trace.fromString(g.value)}),b}nt.createConnection=$xt});var Bme=m(Xr=>{"use strict";Object.defineProperty(Xr,"__esModule",{value:!0});Xr.resolveModulePath=Xr.FileSystem=Xr.resolveGlobalYarnPath=Xr.resolveGlobalNodePath=Xr.resolve=Xr.uriToFilePath=void 0;var Bxt=H("url"),yi=H("path"),_3=H("fs"),k3=H("child_process");function Wxt(t){let e=Bxt.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 yi.normalize(r.join("/"))}Xr.uriToFilePath=Wxt;function x3(){return process.platform==="win32"}function mE(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&&_3.existsSync(e)&&(l[i]?l[i]=e+yi.delimiter+l[i]:l[i]=e,n&&n(`NODE_PATH value is: ${l[i]}`)),l.ELECTRON_RUN_AS_NODE="1";try{let c=k3.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)}})}Xr.resolve=mE;function S3(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};x3()&&(e="npm.cmd",n.shell=!0);let i=()=>{};try{process.on("SIGPIPE",i);let s=k3.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?x3()?yi.join(o,"node_modules"):yi.join(o,"lib","node_modules"):void 0}catch{return}finally{process.removeListener("SIGPIPE",i)}}Xr.resolveGlobalNodePath=S3;function zxt(t){let e="yarn",r={encoding:"utf8"};x3()&&(e="yarn.cmd",r.shell=!0);let n=()=>{};try{process.on("SIGPIPE",n);let i=k3.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 yi.join(u.data,"node_modules")}catch{}return}catch{return}finally{process.removeListener("SIGPIPE",n)}}Xr.resolveGlobalYarnPath=zxt;var $me;(function(t){let e;function r(){return e!==void 0||(process.platform==="win32"?e=!1:e=!_3.existsSync(__filename.toUpperCase())||!_3.existsSync(__filename.toLowerCase())),e}t.isCaseSensitive=r;function n(i,s){return r()?yi.normalize(s).indexOf(yi.normalize(i))===0:yi.normalize(s).toLowerCase().indexOf(yi.normalize(i).toLowerCase())===0}t.isParent=n})($me=Xr.FileSystem||(Xr.FileSystem={}));function Uxt(t,e,r,n){return r?(yi.isAbsolute(r)||(r=yi.join(t,r)),mE(e,r,r,n).then(i=>$me.isParent(r,i)?i:Promise.reject(new Error(`Failed to load ${e} from node path location.`))).then(void 0,i=>mE(e,S3(n),t,n))):mE(e,S3(n),t,n)}Xr.resolveModulePath=Uxt});var E3=m((Fjt,Wme)=>{"use strict";Wme.exports=Cn()});var Ume=m(Dn=>{"use strict";var Hxt=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]}),zme=Dn&&Dn.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Hxt(e,t,r)};Object.defineProperty(Dn,"__esModule",{value:!0});Dn.ProposedFeatures=Dn.SemanticTokensBuilder=void 0;var Vxt=p3();Object.defineProperty(Dn,"SemanticTokensBuilder",{enumerable:!0,get:function(){return Vxt.SemanticTokensBuilder}});zme(Cn(),Dn);zme(w3(),Dn);var Gxt;(function(t){t.all={__brand:"features"}})(Gxt=Dn.ProposedFeatures||(Dn.ProposedFeatures={}))});var D3=m(On=>{"use strict";var Kxt=On&&On.__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]}),Vme=On&&On.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Kxt(e,t,r)};Object.defineProperty(On,"__esModule",{value:!0});On.createConnection=On.Files=void 0;var C3=Nk(),Yxt=w3(),Up=Bme(),Ua=E3();Vme(E3(),On);Vme(Ume(),On);var Qxt;(function(t){t.uriToFilePath=Up.uriToFilePath,t.resolveGlobalNodePath=Up.resolveGlobalNodePath,t.resolveGlobalYarnPath=Up.resolveGlobalYarnPath,t.resolve=Up.resolve,t.resolveModulePath=Up.resolveModulePath})(Qxt=On.Files||(On.Files={}));var Hme;function yE(){if(Hme!==void 0)try{Hme.end()}catch{}}var Xl=!1,Gme;function Jxt(){let t="--clientProcessId";function e(r){try{let n=parseInt(r);isNaN(n)||(Gme=setInterval(()=>{try{process.kill(n,0)}catch{yE(),process.exit(Xl?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])}}}Jxt();var Xxt={initialize:t=>{let e=t.processId;C3.number(e)&&Gme===void 0&&setInterval(()=>{try{process.kill(e,0)}catch{process.exit(Xl?0:1)}},3e3)},get shutdownReceived(){return Xl},set shutdownReceived(t){Xl=t},exit:t=>{yE(),process.exit(t)}};function Zxt(t,e,r,n){let i,s,o,a;return t!==void 0&&t.__brand==="features"&&(i=t,t=e,e=r,r=n),Ua.ConnectionStrategy.is(t)||Ua.ConnectionOptions.is(t)?a=t:(s=t,o=e,a=r),e1t(s,o,a,i)}On.createConnection=Zxt;function e1t(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 Ua.IPCMessageReader(process),e=new Ua.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=Ua.createServerSocketTransport(a);t=c[0],e=c[1]}else if(u){let c=Ua.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(C3.func(t.read)&&C3.func(t.on)){let a=t;a.on("end",()=>{yE(),process.exit(Xl?0:1)}),a.on("close",()=>{yE(),process.exit(Xl?0:1)})}let o=a=>Ua.createProtocolConnection(t,e,a,r);return Yxt.createConnection(o,Xxt,n)}});var Hp=m((Njt,Kme)=>{"use strict";Kme.exports=D3()});var Qme=m((jjt,Yme)=>{"use strict";var bE=H("path");function t1t(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=bE.sep+bE.sep+n),i=i.replace(/^(.+)\|/,"$1:"),bE.sep==="\\"&&(i=i.replace(/\//g,"\\")),/^.+:/.test(i)||(i=bE.sep+i),n+i}Yme.exports=t1t});var Xme=m(($jt,Jme)=>{var r1t=typeof process=="object"&&process&&process.platform==="win32";Jme.exports=r1t?{sep:"\\"}:{sep:"/"}});var oye=m((Bjt,sye)=>{var Zme=Bg();sye.exports=s1t;var eye="\0SLASH"+Math.random()+"\0",tye="\0OPEN"+Math.random()+"\0",q3="\0CLOSE"+Math.random()+"\0",rye="\0COMMA"+Math.random()+"\0",nye="\0PERIOD"+Math.random()+"\0";function O3(t){return parseInt(t,10)==t?parseInt(t,10):t.charCodeAt(0)}function n1t(t){return t.split("\\\\").join(eye).split("\\{").join(tye).split("\\}").join(q3).split("\\,").join(rye).split("\\.").join(nye)}function i1t(t){return t.split(eye).join("\\").split(tye).join("{").split(q3).join("}").split(rye).join(",").split(nye).join(".")}function iye(t){if(!t)return[""];var e=[],r=Zme("{","}",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=iye(s);return s.length&&(o[o.length-1]+=a.shift(),o.push.apply(o,a)),e.push.apply(e,o),e}function s1t(t){return t?(t.substr(0,2)==="{}"&&(t="\\{\\}"+t.substr(2)),Vp(n1t(t),!0).map(i1t)):[]}function o1t(t){return"{"+t+"}"}function a1t(t){return/^-?0\d/.test(t)}function u1t(t,e){return t<=e}function l1t(t,e){return t>=e}function Vp(t,e){var r=[],n=Zme("{","}",t);if(!n)return[t];var i=n.pre,s=n.post.length?Vp(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+q3+n.post,Vp(t)):[t];var d;if(c)d=n.body.split(/\.\./);else if(d=iye(n.body),d.length===1&&(d=Vp(d[0],!1).map(o1t),d.length===1))return s.map(function(z){return n.pre+d[0]+z});var p;if(c){var h=O3(d[0]),y=O3(d[1]),b=Math.max(d[0].length,d[1].length),g=d.length==3?Math.abs(O3(d[2])):1,v=u1t,w=y<h;w&&(g*=-1,v=l1t);var _=d.some(a1t);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,Vp(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 dye=m((zjt,M3)=>{var qn=M3.exports=(t,e,r={})=>(vE(e),!r.nocomment&&e.charAt(0)==="#"?!1:new Zl(e,r).match(t));M3.exports=qn;var P3=Xme();qn.sep=P3.sep;var bi=Symbol("globstar **");qn.GLOBSTAR=bi;var c1t=oye(),aye={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},T3="[^/]",R3=T3+"*?",f1t="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?",d1t="(?:(?!(?:\\/|^)\\.).)*?",cye=t=>t.split("").reduce((e,r)=>(e[r]=!0,e),{}),uye=cye("().*{}+?[]^$\\!"),p1t=cye("[.("),lye=/\/+/;qn.filter=(t,e={})=>(r,n,i)=>qn(r,t,e);var vo=(t,e={})=>{let r={};return Object.keys(t).forEach(n=>r[n]=t[n]),Object.keys(e).forEach(n=>r[n]=e[n]),r};qn.defaults=t=>{if(!t||typeof t!="object"||!Object.keys(t).length)return qn;let e=qn,r=(n,i,s)=>e(n,i,vo(t,s));return r.Minimatch=class extends e.Minimatch{constructor(i,s){super(i,vo(t,s))}},r.Minimatch.defaults=n=>e.defaults(vo(t,n)).Minimatch,r.filter=(n,i)=>e.filter(n,vo(t,i)),r.defaults=n=>e.defaults(vo(t,n)),r.makeRe=(n,i)=>e.makeRe(n,vo(t,i)),r.braceExpand=(n,i)=>e.braceExpand(n,vo(t,i)),r.match=(n,i,s)=>e.match(n,i,vo(t,s)),r};qn.braceExpand=(t,e)=>fye(t,e);var fye=(t,e={})=>(vE(t),e.nobrace||!/\{(?:(?!\{).)*\}/.test(t)?[t]:c1t(t)),h1t=1024*64,vE=t=>{if(typeof t!="string")throw new TypeError("invalid pattern");if(t.length>h1t)throw new TypeError("pattern is too long")},A3=Symbol("subparse");qn.makeRe=(t,e)=>new Zl(t,e||{}).makeRe();qn.match=(t,e,r={})=>{let n=new Zl(e,r);return t=t.filter(i=>n.match(i)),n.options.nonull&&!t.length&&t.push(e),t};var g1t=t=>t.replace(/\\(.)/g,"$1"),m1t=t=>t.replace(/\\([^-\]])/g,"$1"),y1t=t=>t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),b1t=t=>t.replace(/[[\]\\]/g,"\\$&"),Zl=class{constructor(e,r){vE(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(lye)),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===bi){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 fye(this.pattern,this.options)}parse(e,r){vE(e);let n=this.options;if(e==="**")if(n.noglobstar)e="*";else return bi;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+=R3,s=!0;break;case"?":i+=T3,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;uye[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:aye[l].open,close:aye[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("["+b1t(m1t(p))+"]"),i+=x}catch{i=i.substring(0,f)+"(?:$.)"}s=!0,c=!1;continue;default:g(),uye[x]&&!(x==="^"&&c)&&(i+="\\"),i+=x;break}}for(c&&(p=e.slice(d+1),y=this.parse(p,A3),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==="*"?R3:h.type==="?"?T3:"\\"+h.type;s=!0,i=i.slice(0,h.reStart)+x+"\\("+_}g(),o&&(i+="\\\\");let v=p1t[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 K=0;K<z;K++)$=$.replace(/\)[+*?]?/,"");P=$;let te=P===""&&r!==A3?"$":"";i=C+M+P+te+R}if(i!==""&&s&&(i="(?=.)"+i),v&&(i=b+i),r===A3)return[i,s];if(!s)return g1t(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?R3:r.dot?f1t:d1t,i=r.nocase?"i":"",s=e.map(o=>(o=o.map(a=>typeof a=="string"?y1t(a):a===bi?bi:a._src).reduce((a,u)=>(a[a.length-1]===bi&&u===bi||a.push(u),a),[]),o.forEach((a,u)=>{a!==bi||o[u-1]===bi||(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]=bi))}),o.filter(a=>a!==bi).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;P3.sep!=="/"&&(e=e.split(P3.sep).join("/")),e=e.split(lye),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 qn.defaults(e).Minimatch}};qn.Minimatch=Zl});var pye=m((_E,wE)=>{var v1t=_E&&_E.__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 wE=="object"&&typeof wE.exports=="object"){var e=t(H,_E);e!==void 0&&(wE.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,v1t([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 vye={};Ybe(vye,{__assign:()=>I3,__asyncDelegator:()=>P1t,__asyncGenerator:()=>A1t,__asyncValues:()=>T1t,__await:()=>Kp,__awaiter:()=>E1t,__classPrivateFieldGet:()=>N1t,__classPrivateFieldIn:()=>$1t,__classPrivateFieldSet:()=>j1t,__createBinding:()=>j3,__decorate:()=>x1t,__exportStar:()=>D1t,__extends:()=>w1t,__generator:()=>C1t,__importDefault:()=>I1t,__importStar:()=>L1t,__makeTemplateObject:()=>M1t,__metadata:()=>k1t,__param:()=>S1t,__read:()=>bye,__rest:()=>_1t,__spread:()=>O1t,__spreadArray:()=>R1t,__spreadArrays:()=>q1t,__values:()=>N3});function w1t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");L3(t,e);function r(){this.constructor=t}t.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function _1t(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 x1t(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 S1t(t,e){return function(r,n){e(r,n,t)}}function k1t(t,e){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(t,e)}function E1t(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 C1t(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 D1t(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&j3(e,t,r)}function N3(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 bye(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 O1t(){for(var t=[],e=0;e<arguments.length;e++)t=t.concat(bye(arguments[e]));return t}function q1t(){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 R1t(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 Kp(t){return this instanceof Kp?(this.v=t,this):new Kp(t)}function A1t(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 Kp?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 P1t(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:Kp(t[i](o)),done:i==="return"}:s?s(o):o}:s}}function T1t(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 N3=="function"?N3(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 M1t(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function L1t(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)&&j3(e,t,r);return F1t(e,t),e}function I1t(t){return t&&t.__esModule?t:{default:t}}function N1t(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 j1t(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 $1t(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 L3,I3,j3,F1t,wye=Kbe(()=>{L3=function(t,e){return L3=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])},L3(t,e)};I3=function(){return I3=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},I3.apply(this,arguments)};j3=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]};F1t=Object.create?function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}:function(t,e){t.default=e}});var _ye=m(ec=>{"use strict";Object.defineProperty(ec,"__esModule",{value:!0});ec.lowerCase=ec.localeLowerCase=void 0;var B1t={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 W1t(t,e){var r=B1t[e.toLowerCase()];return $3(r?t.replace(r.regexp,function(n){return r.map[n]}):t)}ec.localeLowerCase=W1t;function $3(t){return t.toLowerCase()}ec.lowerCase=$3});var Sye=m(SE=>{"use strict";Object.defineProperty(SE,"__esModule",{value:!0});SE.noCase=void 0;var z1t=_ye(),U1t=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],H1t=/[^A-Z0-9]+/gi;function V1t(t,e){e===void 0&&(e={});for(var r=e.splitRegexp,n=r===void 0?U1t:r,i=e.stripRegexp,s=i===void 0?H1t:i,o=e.transform,a=o===void 0?z1t.lowerCase:o,u=e.delimiter,l=u===void 0?" ":u,c=xye(xye(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)}SE.noCase=V1t;function xye(t,e,r){return e instanceof RegExp?t.replace(e,r):e.reduce(function(n,i){return n.replace(i,r)},t)}});var Eye=m(wo=>{"use strict";Object.defineProperty(wo,"__esModule",{value:!0});wo.pascalCase=wo.pascalCaseTransformMerge=wo.pascalCaseTransform=void 0;var G1t=(wye(),Qbe(vye)),K1t=Sye();function kye(t,e){var r=t.charAt(0),n=t.substr(1).toLowerCase();return e>0&&r>="0"&&r<="9"?"_"+r+n:""+r.toUpperCase()+n}wo.pascalCaseTransform=kye;function Y1t(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}wo.pascalCaseTransformMerge=Y1t;function Q1t(t,e){return e===void 0&&(e={}),K1t.noCase(t,G1t.__assign({delimiter:"",transform:kye},e))}wo.pascalCase=Q1t});var kE=m((r6t,qye)=>{"use strict";function br(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=[]}br.prototype.clone_empty=function(){var t=new br(this.__parent);return t.set_indent(this.__indent_count,this.__alignment_count),t};br.prototype.item=function(t){return t<0?this.__items[this.__items.length+t]:this.__items[t]};br.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};br.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))};br.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)};br.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};br.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};br.prototype.is_empty=function(){return this.__items.length===0};br.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]};br.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};br.prototype.pop=function(){var t=null;return this.is_empty()||(t=this.__items.pop(),this.__character_count-=t.length),t};br.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)};br.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)};br.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1};br.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 Qp(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}Qp.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};Qp.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};Qp.prototype.__ensure_cache=function(t){for(;t>=this.__cache.length;)this.__add_column()};Qp.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 vr(t,e){this.__indent_cache=new Qp(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 br(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}vr.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)};vr.prototype.get_line_number=function(){return this.__lines.length};vr.prototype.get_indent_string=function(t,e){return this.__indent_cache.get_indent_string(t,e)};vr.prototype.get_indent_size=function(t,e){return this.__indent_cache.get_indent_size(t,e)};vr.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()};vr.prototype.add_new_line=function(t){return this.is_empty()||!t&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)};vr.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};vr.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()};vr.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)};vr.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};vr.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()};vr.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(" "))};vr.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()};vr.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};vr.prototype.just_added_newline=function(){return this.current_line.is_empty()};vr.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()};vr.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 br(this)),this.previous_line=this.__lines[this.__lines.length-2];break}r--}};qye.exports.Output=vr});var B3=m((n6t,Rye)=>{"use strict";function X1t(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}Rye.exports.Token=X1t});var z3=m(ks=>{"use strict";var Z1t="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",Aye="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",W3="\\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",Pye="\\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",Tye="(?:\\\\u[0-9a-fA-F]{4}|["+Z1t+W3+"])",eSt="(?:\\\\u[0-9a-fA-F]{4}|["+Aye+W3+Pye+"])*";ks.identifier=new RegExp(Tye+eSt,"g");ks.identifierStart=new RegExp(Tye);ks.identifierMatch=new RegExp("(?:\\\\u[0-9a-fA-F]{4}|["+Aye+W3+Pye+"])+");ks.newline=/[\n\r\u2028\u2029]/;ks.lineBreak=new RegExp(`\r
434
+ |`+ks.newline.source);ks.allLineBreaks=new RegExp(ks.lineBreak.source,"g")});var CE=m((s6t,EE)=>{"use strict";function _o(t,e){this.raw_options=Mye(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"])}_o.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};_o.prototype._get_boolean=function(t,e){var r=this.raw_options[t],n=r===void 0?!!e:!!r;return n};_o.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};_o.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};_o.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]};_o.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};_o.prototype._is_valid_selection=function(t,e){return t.length&&e.length&&!t.some(function(r){return e.indexOf(r)===-1})};function Mye(t,e){var r={};t=Fye(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 Fye(t){var e={},r;for(r in t){var n=r.replace(/-/g,"_");e[n]=t[r]}return e}EE.exports.Options=_o;EE.exports.normalizeOpts=Fye;EE.exports.mergeOpts=Mye});var U3=m((o6t,Nye)=>{"use strict";var Lye=CE().Options,tSt=["before-newline","after-newline","preserve-newline"];function Iye(t){Lye.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",tSt),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}Iye.prototype=new Lye;Nye.exports.Options=Iye});var DE=m((a6t,$ye)=>{"use strict";var jye=RegExp.prototype.hasOwnProperty("sticky");function qr(t){this.__input=t||"",this.__input_length=this.__input.length,this.__position=0}qr.prototype.restart=function(){this.__position=0};qr.prototype.back=function(){this.__position>0&&(this.__position-=1)};qr.prototype.hasNext=function(){return this.__position<this.__input_length};qr.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__input.charAt(this.__position),this.__position+=1),t};qr.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};qr.prototype.__match=function(t,e){t.lastIndex=e;var r=t.exec(this.__input);return r&&!(jye&&t.sticky)&&r.index!==e&&(r=null),r};qr.prototype.test=function(t,e){return e=e||0,e+=this.__position,e>=0&&e<this.__input_length?!!this.__match(t,e):!1};qr.prototype.testChar=function(t,e){var r=this.peek(e);return t.lastIndex=0,r!==null&&t.test(r)};qr.prototype.match=function(t){var e=this.__match(t,this.__position);return e?this.__position+=e[0].length:e=null,e};qr.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};qr.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};qr.prototype.readUntilAfter=function(t){return this.readUntil(t,!0)};qr.prototype.get_regexp=function(t,e){var r=null,n="g";return e&&jye&&(n="y"),typeof t=="string"&&t!==""?r=new RegExp(t,n):t&&(r=new RegExp(t.source,n)),r};qr.prototype.get_literal_regexp=function(t){return RegExp(t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))};qr.prototype.peekUntilAfter=function(t){var e=this.__position,r=this.readUntilAfter(t);return this.__position=e,r};qr.prototype.lookBack=function(t){var e=this.__position-1;return e>=t.length&&this.__input.substring(e-t.length,e).toLowerCase()===t};$ye.exports.InputScanner=qr});var Wye=m((u6t,Bye)=>{"use strict";function Ga(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}Ga.prototype.restart=function(){this.__position=0};Ga.prototype.isEmpty=function(){return this.__tokens_length===0};Ga.prototype.hasNext=function(){return this.__position<this.__tokens_length};Ga.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t};Ga.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};Ga.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1};Bye.exports.TokenStream=Ga});var Jp=m((l6t,zye)=>{"use strict";function Ki(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)}Ki.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};Ki.prototype.read_match=function(){return this._input.match(this._match_pattern)};Ki.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};Ki.prototype.until=function(t){var e=this._create();return e._until_after=!1,e._until_pattern=this._input.get_regexp(t),e._update(),e};Ki.prototype.starting_with=function(t){var e=this._create();return e._starting_pattern=this._input.get_regexp(t,!0),e._update(),e};Ki.prototype.matching=function(t){var e=this._create();return e._match_pattern=this._input.get_regexp(t,!0),e._update(),e};Ki.prototype._create=function(){return new Ki(this._input,this)};Ki.prototype._update=function(){};zye.exports.Pattern=Ki});var Vye=m((c6t,Hye)=>{"use strict";var Uye=Jp().Pattern;function xo(t,e){Uye.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=""}xo.prototype=new Uye;xo.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+"]")};xo.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};xo.prototype.matching=function(t,e){var r=this._create();return r.__set_whitespace_patterns(t,e),r._update(),r};xo.prototype._create=function(){return new xo(this._input,this)};xo.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};Hye.exports.WhitespacePattern=xo});var Zp=m((f6t,V3)=>{"use strict";var rSt=DE().InputScanner,Gye=B3().Token,H3=Wye().TokenStream,nSt=Vye().WhitespacePattern,Xp={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},Yi=function(t,e){this._input=new rSt(t),this._options=e||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new nSt(this._input)};Yi.prototype.tokenize=function(){this._input.restart(),this.__tokens=new H3,this._reset();for(var t,e=new Gye(Xp.START,""),r=null,n=[],i=new H3;e.type!==Xp.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 H3),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};Yi.prototype._is_first_token=function(){return this.__tokens.isEmpty()};Yi.prototype._reset=function(){};Yi.prototype._get_next_token=function(t,e){this._readWhitespace();var r=this._input.read(/.+/g);return r?this._create_token(Xp.RAW,r):this._create_token(Xp.EOF,"")};Yi.prototype._is_comment=function(t){return!1};Yi.prototype._is_opening=function(t){return!1};Yi.prototype._is_closing=function(t,e){return!1};Yi.prototype._create_token=function(t,e){var r=new Gye(t,e,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return r};Yi.prototype._readWhitespace=function(){return this._patterns.whitespace.read()};V3.exports.Tokenizer=Yi;V3.exports.TOKEN=Xp});var OE=m((d6t,Kye)=>{"use strict";function G3(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")}G3.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};G3.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)};Kye.exports.Directives=G3});var Q3=m((p6t,Yye)=>{"use strict";var K3=Jp().Pattern,Y3={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1};function vi(t,e){K3.call(this,t,e),this.__template_pattern=null,this._disabled=Object.assign({},Y3),this._excluded=Object.assign({},Y3),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 K3(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}/)}}vi.prototype=new K3;vi.prototype._create=function(){return new vi(this._input,this)};vi.prototype._update=function(){this.__set_templated_pattern()};vi.prototype.disable=function(t){var e=this._create();return e._disabled[t]=!0,e._update(),e};vi.prototype.read_options=function(t){var e=this._create();for(var r in Y3)e._disabled[r]=t.templating.indexOf(r)===-1;return e._update(),e};vi.prototype.exclude=function(t){var e=this._create();return e._excluded[t]=!0,e._update(),e};vi.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};vi.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("|")+")")};vi.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};Yye.exports.TemplatablePattern=vi});var th=m((h6t,eh)=>{"use strict";var iSt=DE().InputScanner,Jye=Zp().Tokenizer,J3=Zp().TOKEN,sSt=OE().Directives,Qn=z3(),oSt=Jp().Pattern,aSt=Q3().TemplatablePattern;function X3(t,e){return e.indexOf(t)!==-1}var Te={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:J3.START,RAW:J3.RAW,EOF:J3.EOF},Qye=new sSt(/\/\*/,/\*\//),uSt=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,lSt=/[0-9]/,cSt=/[^\d\.]/,fSt=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),Ka=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";Ka=Ka.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&");Ka="\\?\\.(?!\\d) "+Ka;Ka=Ka.replace(/ /g,"|");var dSt=new RegExp(Ka),Xye="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),pSt=Xye.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),hSt=new RegExp("^(?:"+pSt.join("|")+")$"),qE,Rr=function(t,e){Jye.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 oSt(this._input),n=new aSt(this._input).read_options(this._options);this.__patterns={template:n,identifier:n.starting_with(Qn.identifier).matching(Qn.identifierMatch),number:r.matching(uSt),punct:r.matching(dSt),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(Qn.lineBreak),shebang:r.starting_with(/#!/).until_after(Qn.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(/[`}\\]/)}};Rr.prototype=new Jye;Rr.prototype._is_comment=function(t){return t.type===Te.COMMENT||t.type===Te.BLOCK_COMMENT||t.type===Te.UNKNOWN};Rr.prototype._is_opening=function(t){return t.type===Te.START_BLOCK||t.type===Te.START_EXPR};Rr.prototype._is_closing=function(t,e){return(t.type===Te.END_BLOCK||t.type===Te.END_EXPR)&&e&&(t.text==="]"&&e.text==="["||t.text===")"&&e.text==="("||t.text==="}"&&e.text==="{")};Rr.prototype._reset=function(){qE=!1};Rr.prototype._get_next_token=function(t,e){var r=null;this._readWhitespace();var n=this._input.peek();return n===null?this._create_token(Te.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(Te.UNKNOWN,this._input.next()),r)};Rr.prototype._read_word=function(t){var e;if(e=this.__patterns.identifier.read(),e!=="")return e=e.replace(Qn.allLineBreaks,`
440
+ `),!(t.type===Te.DOT||t.type===Te.RESERVED&&(t.text==="set"||t.text==="get"))&&hSt.test(e)?(e==="in"||e==="of")&&(t.type===Te.WORD||t.type===Te.STRING)?this._create_token(Te.OPERATOR,e):this._create_token(Te.RESERVED,e):this._create_token(Te.WORD,e);if(e=this.__patterns.number.read(),e!=="")return this._create_token(Te.WORD,e)};Rr.prototype._read_singles=function(t){var e=null;return t==="("||t==="["?e=this._create_token(Te.START_EXPR,t):t===")"||t==="]"?e=this._create_token(Te.END_EXPR,t):t==="{"?e=this._create_token(Te.START_BLOCK,t):t==="}"?e=this._create_token(Te.END_BLOCK,t):t===";"?e=this._create_token(Te.SEMICOLON,t):t==="."&&cSt.test(this._input.peek(1))?e=this._create_token(Te.DOT,t):t===","&&(e=this._create_token(Te.COMMA,t)),e&&this._input.next(),e};Rr.prototype._read_punctuation=function(){var t=this.__patterns.punct.read();if(t!=="")return t==="="?this._create_token(Te.EQUALS,t):t==="?."?this._create_token(Te.DOT,t):this._create_token(Te.OPERATOR,t)};Rr.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(Te.UNKNOWN,e.trim()+`
441
+ `);if(e=this.__patterns.include.read(),e)return this._create_token(Te.UNKNOWN,e.trim()+`
442
+ `);t=this._input.next();var r="#";if(this._input.hasNext()&&this._input.testChar(lSt)){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(Te.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(Qn.newline);)e+=this._input.next();return qE=!0,this._create_token(Te.COMMENT,e)}}else if(qE&&t==="-"&&(e=this.__patterns.html_comment_end.read(),e))return qE=!1,this._create_token(Te.COMMENT,e);return null};Rr.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=Qye.get_directives(r);n&&n.ignore==="start"&&(r+=Qye.readIgnored(this._input)),r=r.replace(Qn.allLineBreaks,`
443
+ `),e=this._create_token(Te.BLOCK_COMMENT,r),e.directives=n}else this._input.peek(1)==="/"&&(r=this.__patterns.comment.read(),e=this._create_token(Te.COMMENT,r))}return e};Rr.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=gSt(e)),this._input.peek()===t&&(e+=this._input.next()),e=e.replace(Qn.allLineBreaks,`
444
+ `),this._create_token(Te.STRING,e)}return null};Rr.prototype._allow_regexp_or_xml=function(t){return t.type===Te.RESERVED&&X3(t.text,["return","case","throw","else","do","typeof","yield"])||t.type===Te.END_EXPR&&t.text===")"&&t.opened.previous.type===Te.RESERVED&&X3(t.opened.previous.text,["if","while","for"])||X3(t.type,[Te.COMMENT,Te.START_EXPR,Te.START_BLOCK,Te.START,Te.END_BLOCK,Te.OPERATOR,Te.EQUALS,Te.EOF,Te.SEMICOLON,Te.COMMA])};Rr.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(Qn.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(Qn.identifier)),this._create_token(Te.STRING,r)}return null};Rr.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(Qn.allLineBreaks,`
445
+ `),this._create_token(Te.STRING,r)}}return null};function gSt(t){for(var e="",r=0,n=new iSt(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}Rr.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&&Qn.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};eh.exports.Tokenizer=Rr;eh.exports.TOKEN=Te;eh.exports.positionable_operators=fSt.slice();eh.exports.line_starters=Xye.slice()});var rbe=m((g6t,tbe)=>{"use strict";var mSt=kE().Output,ySt=B3().Token,RE=z3(),bSt=U3().Options,vSt=th().Tokenizer,sh=th().line_starters,rh=th().positionable_operators,X=th().TOKEN;function Ye(t,e){return e.indexOf(t)!==-1}function wSt(t){return t.replace(/^\s+/g,"")}function _St(t){for(var e={},r=0;r<t.length;r++)e[t[r].replace(/-/g,"_")]=t[r];return e}function Jn(t,e){return t&&t.type===X.RESERVED&&t.text===e}function yt(t,e){return t&&t.type===X.RESERVED&&Ye(t.text,e)}var AE=["case","return","do","if","throw","else","await","break","continue","async"],xSt=["before-newline","after-newline","preserve-newline"],nh=_St(xSt),Zye=[nh.before_newline,nh.preserve_newline],Fe={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function ebe(t,e){e.multiline_frame||e.mode===Fe.ForInitializer||e.mode===Fe.Conditional||t.remove_indent(e.start_line_index)}function SSt(t){t=t.replace(RE.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 So(t){return t===Fe.ArrayLiteral}function ih(t){return Ye(t,[Fe.Expression,Fe.ForInitializer,Fe.Conditional])}function kSt(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 ESt(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 it(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 bSt(e)}it.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 ySt(X.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};it.prototype._reset=function(t){var e=t.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new mSt(this._options,e),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(Fe.BlockStatement);var r=new vSt(t,this._options);return this._tokens=r.tokenize(),t};it.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&&RE.lineBreak.test(e||"")&&(r=e.match(RE.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};it.prototype.handle_token=function(t,e){t.type===X.START_EXPR?this.handle_start_expr(t):t.type===X.END_EXPR?this.handle_end_expr(t):t.type===X.START_BLOCK?this.handle_start_block(t):t.type===X.END_BLOCK?this.handle_end_block(t):t.type===X.WORD?this.handle_word(t):t.type===X.RESERVED?this.handle_word(t):t.type===X.SEMICOLON?this.handle_semicolon(t):t.type===X.STRING?this.handle_string(t):t.type===X.EQUALS?this.handle_equals(t):t.type===X.OPERATOR?this.handle_operator(t):t.type===X.COMMA?this.handle_comma(t):t.type===X.BLOCK_COMMENT?this.handle_block_comment(t,e):t.type===X.COMMENT?this.handle_comment(t,e):t.type===X.DOT?this.handle_dot(t):t.type===X.EOF?this.handle_eof(t):t.type===X.UNKNOWN?this.handle_unknown(t,e):this.handle_unknown(t,e)};it.prototype.handle_whitespace_and_comments=function(t,e){var r=t.newlines,n=this._options.keep_array_indentation&&So(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 Z3=["async","break","continue","return","throw","yield"];it.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=Ye(this._flags.last_token.text,rh)||Ye(t.text,rh);if(n){var i=Ye(this._flags.last_token.text,rh)&&Ye(this._options.operator_position,Zye)||Ye(t.text,rh);r=r&&i}if(r)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(yt(this._flags.last_token,Z3))return;this._output.set_wrap_point()}}};it.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!==X.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var r=this._tokens.peek();this._flags.mode===Fe.Statement&&!(this._flags.if_block&&Jn(r,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(t)&&(this._flags.multiline_frame=!0)};it.prototype.print_token_line_indentation=function(t){this._output.just_added_newline()&&(this._options.keep_array_indentation&&t.newlines&&(t.text==="["||So(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))};it.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===X.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)};it.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)};it.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))};it.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)};it.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===Fe.Statement&&ebe(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))};it.prototype.start_of_object_property=function(){return this._flags.parent.mode===Fe.ObjectLiteral&&this._flags.mode===Fe.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||yt(this._flags.last_token,["get","set"]))};it.prototype.start_of_statement=function(t){var e=!1;return e=e||yt(this._flags.last_token,["var","let","const"])&&t.type===X.WORD,e=e||Jn(this._flags.last_token,"do"),e=e||!(this._flags.parent.mode===Fe.ObjectLiteral&&this._flags.mode===Fe.Statement)&&yt(this._flags.last_token,Z3)&&!t.newlines,e=e||Jn(this._flags.last_token,"else")&&!(Jn(t,"if")&&!t.comments_before),e=e||this._flags.last_token.type===X.END_EXPR&&(this._previous_flags.mode===Fe.ForInitializer||this._previous_flags.mode===Fe.Conditional),e=e||this._flags.last_token.type===X.WORD&&this._flags.mode===Fe.BlockStatement&&!this._flags.in_case&&!(t.text==="--"||t.text==="++")&&this._last_last_text!=="function"&&t.type!==X.WORD&&t.type!==X.RESERVED,e=e||this._flags.mode===Fe.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||yt(this._flags.last_token,["get","set"])),e?(this.set_mode(Fe.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};it.prototype.handle_start_expr=function(t){this.start_of_statement(t)||this.handle_whitespace_and_comments(t);var e=Fe.Expression;if(t.text==="["){if(this._flags.last_token.type===X.WORD||this._flags.last_token.text===")"){yt(this._flags.last_token,sh)&&(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=Fe.ArrayLiteral,So(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()),Ye(this._flags.last_token.type,[X.START_EXPR,X.END_EXPR,X.WORD,X.OPERATOR,X.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===X.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,e=Fe.ForInitializer):Ye(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,e=Fe.Conditional):Ye(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:(Ye(this._flags.last_token.text,sh)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===X.EQUALS||this._flags.last_token.type===X.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t);else if(this._flags.last_token.type===X.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===Fe.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===X.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(Ye(this._last_last_text,["function","yield"])||this._flags.mode===Fe.ObjectLiteral&&Ye(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===X.START_BLOCK?this.print_newline():(this._flags.last_token.type===X.END_EXPR||this._flags.last_token.type===X.START_EXPR||this._flags.last_token.type===X.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===X.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()};it.prototype.handle_end_expr=function(t){for(;this._flags.mode===Fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(t,t.text==="]"&&So(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===X.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(),ebe(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===Fe.Conditional&&(this._previous_flags.mode=Fe.Expression,this._flags.do_block=!1,this._flags.do_while=!1)};it.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===X.END_EXPR?(this.set_mode(Fe.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(Fe.BlockStatement):r&&(Ye(r.text,[":",","])&&Ye(e.type,[X.STRING,X.WORD,X.RESERVED])||Ye(e.text,["get","set","..."])&&Ye(r.type,[X.WORD,X.RESERVED]))?Ye(this._last_last_text,["class","interface"])&&!Ye(r.text,[":",","])?this.set_mode(Fe.BlockStatement):this.set_mode(Fe.ObjectLiteral):this._flags.last_token.type===X.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(Fe.BlockStatement):Ye(this._flags.last_token.type,[X.EQUALS,X.START_EXPR,X.COMMA,X.OPERATOR])||yt(this._flags.last_token,["return","throw","import","default"])?this.set_mode(Fe.ObjectLiteral):this.set_mode(Fe.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===X.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!==X.EOF&&!(o.type===X.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!==X.OPERATOR&&(i||this._flags.last_token.type===X.EQUALS||yt(this._flags.last_token,AE)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(So(this._previous_flags.mode)&&(this._flags.last_token.type===X.START_EXPR||this._flags.last_token.type===X.COMMA)&&((this._flags.last_token.type===X.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===X.COMMA||this._flags.last_token.type===X.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!==X.OPERATOR&&this._flags.last_token.type!==X.START_EXPR&&(this._flags.last_token.type===X.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()};it.prototype.handle_end_block=function(t){for(this.handle_whitespace_and_comments(t);this._flags.mode===Fe.Statement;)this.restore_mode();var e=this._flags.last_token.type===X.START_BLOCK;this._flags.inline_frame&&!e?this._output.space_before_token=!0:this._options.brace_style==="expand"?e||this.print_newline():e||(So(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)};it.prototype.handle_word=function(t){if(t.type===X.RESERVED){if(Ye(t.text,["set","get"])&&this._flags.mode!==Fe.ObjectLiteral)t.type=X.WORD;else if(t.text==="import"&&Ye(this._tokens.peek().text,["(","."]))t.type=X.WORD;else if(Ye(t.text,["as","from"])&&!this._flags.import_block)t.type=X.WORD;else if(this._flags.mode===Fe.ObjectLiteral){var e=this._tokens.peek();e.text===":"&&(t.type=X.WORD)}}if(this.start_of_statement(t)?yt(this._flags.last_token,["var","let","const"])&&t.type===X.WORD&&(this._flags.declaration_statement=!0):t.newlines&&!ih(this._flags.mode)&&(this._flags.last_token.type!==X.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==X.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(Jn(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&&Jn(t,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===Fe.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===X.COMMA||this._flags.last_token.type===X.START_EXPR||this._flags.last_token.type===X.EQUALS||this._flags.last_token.type===X.OPERATOR)&&(this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t)),Jn(t,"function")){(Ye(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(Ye(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===X.OPERATOR))&&!this._output.just_added_blankline()&&!t.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===X.RESERVED||this._flags.last_token.type===X.WORD?yt(this._flags.last_token,["get","set","new","export"])||yt(this._flags.last_token,Z3)?this._output.space_before_token=!0:Jn(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===X.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(ih(this._flags.mode)||So(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===X.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===X.SEMICOLON&&this._flags.mode===Fe.BlockStatement?r="NEWLINE":this._flags.last_token.type===X.SEMICOLON&&ih(this._flags.mode)?r="SPACE":this._flags.last_token.type===X.STRING?r="NEWLINE":this._flags.last_token.type===X.RESERVED||this._flags.last_token.type===X.WORD||this._flags.last_token.text==="*"&&(Ye(this._last_last_text,["function","yield"])||this._flags.mode===Fe.ObjectLiteral&&Ye(this._last_last_text,["{",","]))?r="SPACE":this._flags.last_token.type===X.START_BLOCK?this._flags.inline_frame?r="SPACE":r="NEWLINE":this._flags.last_token.type===X.END_EXPR&&(this._output.space_before_token=!0,r="NEWLINE"),yt(t,sh)&&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===X.END_BLOCK&&this._previous_flags.mode===Fe.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,AE)?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!==X.END_EXPR?(this._flags.last_token.type!==X.START_EXPR||!yt(t,["var","let","const"]))&&this._flags.last_token.text!==":"&&(Jn(t,"if")&&Jn(t.previous,"else")?this._output.space_before_token=!0:this.print_newline()):yt(t,sh)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&So(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===X.WORD||t.previous.type===X.RESERVED)&&(this._output.space_before_token=!0),this.print_token(t),this._flags.last_word=t.text,t.type===X.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&&Jn(t,"from")&&(this._flags.import_block=!1))};it.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===Fe.Statement&&!(this._flags.if_block&&Jn(e,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(t)};it.prototype.handle_string=function(t){t.text.startsWith("`")&&t.newlines===0&&t.whitespace_before===""&&(t.previous.text===")"||this._flags.last_token.type===X.WORD)||(this.start_of_statement(t)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(t),this._flags.last_token.type===X.RESERVED||this._flags.last_token.type===X.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===X.COMMA||this._flags.last_token.type===X.START_EXPR||this._flags.last_token.type===X.EQUALS||this._flags.last_token.type===X.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(t):t.text.startsWith("`")&&this._flags.last_token.type===X.END_EXPR&&(t.previous.text==="]"||t.previous.text===")")&&t.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(t)};it.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};it.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?(ih(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===Fe.ObjectLiteral||this._flags.mode===Fe.Statement&&this._flags.parent.mode===Fe.ObjectLiteral?(this._flags.mode===Fe.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(t)};it.prototype.handle_operator=function(t){var e=t.text==="*"&&(yt(this._flags.last_token,["function","yield"])||Ye(this._flags.last_token.type,[X.START_BLOCK,X.COMMA,X.END_BLOCK,X.SEMICOLON])),r=Ye(t.text,["-","+"])&&(Ye(this._flags.last_token.type,[X.START_BLOCK,X.START_EXPR,X.EQUALS,X.OPERATOR])||Ye(this._flags.last_token.text,sh)||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===X.DOT){this.print_token(t);return}if(t.text==="::"){this.print_token(t);return}if(this._flags.last_token.type===X.OPERATOR&&Ye(this._options.operator_position,Zye)&&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!==X.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&&Ye(t.text,rh)){var a=t.text===":",u=a&&o,l=a&&!o;switch(this._options.operator_position){case nh.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 nh.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 nh.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&&Ye(c.type,[X.WORD,X.RESERVED])}else if(t.text==="...")this.allow_wrap_or_preserved_newline(t),i=this._flags.last_token.type===X.START_BLOCK,s=!1;else if(Ye(t.text,["--","++","!","~"])||r){if((this._flags.last_token.type===X.COMMA||this._flags.last_token.type===X.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,AE)&&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===";"&&ih(this._flags.mode)&&(i=!0),this._flags.last_token.type===X.RESERVED?i=!0:this._flags.last_token.type===X.END_EXPR?i=!(this._flags.last_token.text==="]"&&(t.text==="--"||t.text==="++")):this._flags.last_token.type===X.OPERATOR&&(i=Ye(t.text,["--","-","++","+"])&&Ye(this._flags.last_token.text,["--","-","++","+"]),Ye(t.text,["+","-"])&&Ye(this._flags.last_token.text,["--","++"])&&(s=!0)),(this._flags.mode===Fe.BlockStatement&&!this._flags.inline_frame||this._flags.mode===Fe.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};it.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(!RE.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)};it.prototype.print_block_commment=function(t,e){var r=SSt(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=kSt(r,"*"),s=ESt(r,o),i&&(this._flags.alignment=1),n=0;n<r.length;n++)i?(this.print_token_line_indentation(t),this._output.add_token(wSt(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}};it.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)};it.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,AE)?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)};it.prototype.handle_unknown=function(t,e){this.print_token(t),t.text[t.text.length-1]===`
451
+ `&&this.print_newline(!1,e)};it.prototype.handle_eof=function(t){for(;this._flags.mode===Fe.Statement;)this.restore_mode();this.handle_whitespace_and_comments(t)};tbe.exports.Beautifier=it});var nbe=m((m6t,eN)=>{"use strict";var CSt=rbe().Beautifier,DSt=U3().Options;function OSt(t,e){var r=new CSt(t,e);return r.beautify()}eN.exports=OSt;eN.exports.defaultOptions=function(){return new DSt}});var tN=m((y6t,obe)=>{"use strict";var ibe=CE().Options;function sbe(t){ibe.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]}sbe.prototype=new ibe;obe.exports.Options=sbe});var cbe=m((b6t,lbe)=>{"use strict";var qSt=tN().Options,RSt=kE().Output,ASt=DE().InputScanner,PSt=OE().Directives,abe=new PSt(/\/\*/,/\*\//),ube=/\r\n|[\r\n]/,TSt=/\r\n|[\r\n]/g,PE=/\s/,MSt=/(?:\s|\n)+/g,FSt=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,LSt=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function Es(t,e){this._source_text=t||"",this._options=new qSt(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"]}Es.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};Es.prototype.eatWhitespace=function(t){for(var e=PE.test(this._input.peek()),r=0;PE.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};Es.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};Es.prototype.print_string=function(t){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(t)};Es.prototype.preserveSingleSpace=function(t){t&&(this._output.space_before_token=!0)};Es.prototype.indent=function(){this._indentLevel++};Es.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--};Es.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&&ube.test(t||"")&&(e=t.match(ube)[0])),t=t.replace(TSt,`
455
+ `);var r=t.match(/^[\t ]*/)[0];this._output=new RSt(this._options,r),this._input=new ASt(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(MSt),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(FSt),b=abe.get_directives(y);b&&b.ignore==="start"&&(y+=abe.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(LSt)),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&&PE.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("="),PE.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};lbe.exports.Beautifier=Es});var fbe=m((v6t,rN)=>{"use strict";var ISt=cbe().Beautifier,NSt=tN().Options;function jSt(t,e){var r=new ISt(t,e);return r.beautify()}rN.exports=jSt;rN.exports.defaultOptions=function(){return new NSt}});var nN=m((w6t,hbe)=>{"use strict";var dbe=CE().Options;function pbe(t){dbe.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"])}pbe.prototype=new dbe;hbe.exports.Options=pbe});var oN=m((_6t,sN)=>{"use strict";var mbe=Zp().Tokenizer,iN=Zp().TOKEN,$St=OE().Directives,BSt=Q3().TemplatablePattern,WSt=Jp().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:iN.START,RAW:iN.RAW,EOF:iN.EOF},gbe=new $St(/<\!--/,/-->/),Br=function(t,e){mbe.call(this,t,e),this._current_tag_name="";var r=new BSt(this._input).read_options(this._options),n=new WSt(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)}};Br.prototype=new mbe;Br.prototype._is_comment=function(t){return!1};Br.prototype._is_opening=function(t){return t.type===Gt.TAG_OPEN};Br.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]==="{")};Br.prototype._reset=function(){this._current_tag_name=""};Br.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)};Br.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=gbe.get_directives(r),n&&n.ignore==="start"&&(r+=gbe.readIgnored(this._input))):r=this.__patterns.cdata.read()),r&&(e=this._create_token(Gt.COMMENT,r),e.directives=n)}return e};Br.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};Br.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};Br.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};Br.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};Br.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};Br.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)};Br.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};Br.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)};sN.exports.Tokenizer=Br;sN.exports.TOKEN=Gt});var wbe=m((x6t,vbe)=>{"use strict";var zSt=nN().Options,USt=kE().Output,HSt=oN().Tokenizer,ht=oN().TOKEN,ybe=/\r\n|[\r\n]/,VSt=/\r\n|[\r\n]/g,Zn=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 USt(t,e)};Zn.prototype.current_line_has_match=function(t){return this._output.current_line.has_match(t)};Zn.prototype.set_space_before_token=function(t,e){this._output.space_before_token=t,this._output.non_breaking_space=e};Zn.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()};Zn.prototype.add_raw_token=function(t){this._output.add_raw_token(t)};Zn.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};Zn.prototype.traverse_whitespace=function(t){return t.whitespace_before||t.newlines?(this.print_preserved_newlines(t)||(this._output.space_before_token=!0),!0):!1};Zn.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped};Zn.prototype.print_newline=function(t){this._output.add_new_line(t)};Zn.prototype.print_token=function(t){t.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(t.text))};Zn.prototype.indent=function(){this.indent_level++};Zn.prototype.get_full_indent=function(t){return t=this.indent_level+(t||0),t<1?"":this._output.get_indent_string(t)};var GSt=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},KSt=function(t,e){var r=null,n=null;return e.closed?(t==="script"?r="text/javascript":t==="style"&&(r="text/css"),r=GSt(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 oh(t,e){return e.indexOf(t)!==-1}function YSt(t,e,r){this.parent=t||null,this.tag=e?e.tag_name:"",this.indent_level=r||0,this.parser_token=e||null}function Ya(t){this._printer=t,this._current_frame=null}Ya.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null};Ya.prototype.record_tag=function(t){var e=new YSt(this._current_frame,t,this._printer.indent_level);this._current_frame=e};Ya.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};Ya.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};Ya.prototype.try_pop=function(t,e){var r=this._get_frame([t],e);return this._try_pop_frame(r)};Ya.prototype.indent_to_tag=function(t){var e=this._get_frame(t);e&&(this._printer.indent_level=e.indent_level)};function Xn(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 zSt(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"}Xn.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&&ybe.test(t)&&(e=t.match(ybe)[0])),t=t.replace(VSt,`
458
+ `);var r=t.match(/^[\t ]*/)[0],n={text:"",type:""},i=new bbe,s=new Zn(this._options,r),o=new HSt(t,this._options).tokenize();this._tag_stack=new Ya(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};Xn.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};Xn.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};Xn.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};Xn.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 Xn(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))}};Xn.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 bbe=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)))}};Xn.prototype._get_tag_open_token=function(t){var e=new bbe(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||oh(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&&oh(e.tag_check,this._options.unformatted),e.is_content_unformatted=!e.is_empty_element&&oh(e.tag_check,this._options.content_unformatted),e.is_inline_element=oh(e.tag_name,this._options.inline)||e.tag_name.includes("-")||e.tag_start_char==="{",e};Xn.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=KSt(r.tag_check,e)))),oh(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)};Xn.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 QSt=["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"],JSt=["a","audio","del","ins","map","noscript","video"];Xn.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"&&QSt.indexOf(t.tag_name)!==-1){var r=t.parent.parent;(!r||JSt.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}};vbe.exports.Beautifier=Xn});var _be=m((S6t,aN)=>{"use strict";var XSt=wbe().Beautifier,ZSt=nN().Options;function ekt(t,e,r,n){var i=new XSt(t,e,r,n);return i.beautify()}aN.exports=ekt;aN.exports.defaultOptions=function(){return new ZSt}});var Cbe=m((k6t,TE)=>{"use strict";var xbe=nbe(),Sbe=fbe(),kbe=_be();function Ebe(t,e,r,n){return r=r||xbe,n=n||Sbe,kbe(t,e,r,n)}Ebe.defaultOptions=kbe.defaultOptions;TE.exports.js=xbe;TE.exports.css=Sbe;TE.exports.html=Ebe});var qbe=m((E6t,Obe)=>{"use strict";function Dbe(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 Dbe(t,e,r)}):function(t){var e=Cbe();e.js_beautify=e.js,e.css_beautify=e.css,e.html_beautify=e.html,t.exports=Dbe(e,e,e)}(Obe)});var Mk=Kt(hh(),1);var Zbe=Object.defineProperty,e0e=(t,e,r)=>e in t?Zbe(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r,S=(t,e,r)=>(e0e(t,typeof e!="symbol"?e+"":e,r),r),EN=(t,e,r)=>{if(!e.has(t))throw TypeError("Cannot "+r)},eu=(t,e,r)=>(EN(t,e,"read from private field"),r?r.call(t):e.get(t)),hN=(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)},gN=(t,e,r,n)=>(EN(t,e,"write to private field"),n?n.call(t,r):e.set(t,r),r),t0e={"3xs":360,"2xs":480,xs:600,sm:768,md:1024,lg:1280,xl:1440,"2xl":1600,"3xl":1920,"4xl":2560},XE=t0e;function gh(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 CN(t,e,r){return((1<<24)+(t<<16)+(e<<8)+r).toString(16).slice(1)}function Yt(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?gh(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]="#"+CN.call(this,...p)}};for(let l=1;l<100;l++)l in t?(a.length?(s=l,o=gh(t[l]),u(),a.length=0,i=o):i=gh(t[l]),n=l):a.push(l);a.length&&(s=100,o="100"in t?gh(t[100]):[255,255,255],u())}return e||(t[""]=t[r?"500":"50"]),t}var r0e={slate:Yt({5:"#141e2b",10:"#19212d",20:"#262f3e",30:"#323e52",40:"#41516b",50:"#616a84",55:"#6c7693",60:"#959db3",70:"#a3abbf",80:"#d7dae3",95:"#f6f7f8"}),gray:Yt({5:"#1e1d1f",10:"#212022",20:"#2f2e30",30:"#3e3d40",40:"#504f52",50:"#6b6a6d",55:"#777679",60:"#9e9da0",70:"#abaaae",80:"#dad9db",95:"#f5f4f7"}),brown:Yt({5:"#271b15",10:"#2b1e18",20:"#3c2b22",30:"#50382c",40:"#694839",50:"#8d604b",55:"#9d6b53",60:"#b79788",70:"#c1a598",80:"#efd5c9",95:"#faf2ef"}),orange:Yt({5:"#2e1907",10:"#331b07",20:"#47260b",30:"#5d320e",40:"#7a4111",50:"#a15717",55:"#b4611a",60:"#e38739",70:"#e79855",80:"#f7d4b5",95:"#fcf1e7"}),gold:Yt({5:"#281b00",10:"#2d1e01",20:"#3f2a00",30:"#543800",40:"#6d4900",50:"#906000",55:"#9c6d00",60:"#d09100",70:"#dca000",80:"#fbd67f",95:"#fff3d8"}),yellow:Yt({5:"#251d00",10:"#282000",20:"#3a2e01",30:"#4b3b00",40:"#624e00",50:"#806700",55:"#8e7200",60:"#be9900",70:"#d0a700",80:"#edda8f",95:"#fff5ca"}),grass:Yt({5:"#162106",10:"#182406",20:"#223308",30:"#2c4408",40:"#3a570b",50:"#4e750e",60:"#74ae15",70:"#7dbc17",80:"#bfe87c",95:"#ebfad4"}),green:Yt({5:"#042311",10:"#032611",20:"#023717",30:"#03481f",40:"#025d26",50:"#067b34",55:"#07883a",60:"#09b64d",70:"#0ac553",80:"#80f1a4",95:"#e0fae8"}),beryl:Yt({5:"#002319",10:"#00271c",20:"#003626",30:"#004732",40:"#005c41",50:"#007954",55:"#00875e",60:"#00b37c",70:"#00c387",80:"#72f0c5",95:"#d6fcef"}),teal:Yt({5:"#012220",10:"#012624",20:"#003532",30:"#004541",40:"#005a54",50:"#00776f",55:"#00857c",60:"#00b1a5",70:"#00bfb2",80:"#6aeee5",95:"#d4fcf8"}),cyan:Yt({5:"#00222b",10:"#00252e",20:"#013340",30:"#004457",40:"#00576f",50:"#007391",55:"#0080a1",60:"#00abd7",70:"#00b9e9",80:"#97e6fa",95:"#dff8ff"}),sky:Yt({5:"#031f34",10:"#032339",20:"#04314e",30:"#044169",40:"#065386",50:"#086eb3",55:"#097ac5",60:"#29a4f5",70:"#4db3f7",80:"#b3e0ff",95:"#eaf6fe"}),blue:Yt({5:"#07194a",10:"#081c53",20:"#0a2773",30:"#0e3496",40:"#1146b6",50:"#175fe9",55:"#2671ea",60:"#6b9ef1",70:"#81acf3",80:"#c6dbfe",95:"#edf4fe"}),indigo:Yt({5:"#1f1645",10:"#20174f",20:"#2b1f74",30:"#37289d",40:"#463fb1",50:"#5a5bd5",55:"#6464f1",60:"#9393f5",70:"#a1a5ee",80:"#d5d7fe",95:"#f1f2ff"}),violet:Yt({5:"#2b0a4e",10:"#2e0b57",20:"#3d1179",30:"#4e169f",40:"#5f2eba",50:"#7949e5",55:"#8755f5",60:"#ac8af8",70:"#b89bf9",80:"#e1d4fe",95:"#f5f1ff"}),purple:Yt({5:"#2e0c47",10:"#330c4e",20:"#460f6c",30:"#5b1390",40:"#7421b1",50:"#9832e4",55:"#a348e7",60:"#c184ef",70:"#ca96f1",80:"#ead1fe",95:"#f9f0ff"}),fuchsia:Yt({5:"#39092a",10:"#400932",20:"#560d4a",30:"#6f1165",40:"#8c158a",50:"#b61cbb",55:"#ca1fce",60:"#e66ee9",70:"#ea86ed",80:"#facbfb",95:"#feefff"}),pink:Yt({5:"#3d0722",10:"#430725",20:"#5d0933",30:"#790d44",40:"#9a1058",50:"#ca1473",55:"#e11681",60:"#f170b4",70:"#f388c0",80:"#fdcde6",95:"#fff0f8"}),crimson:Yt({5:"#430213",10:"#470314",20:"#62041c",30:"#800524",40:"#9f1036",50:"#ce1a4b",55:"#e8144c",60:"#f37596",70:"#f58ba7",80:"#fdceda",95:"#fff1f4"}),red:Yt({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"},n0e=r0e,i0e=16,s0e="",o0e=s0e,a0e={"::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("},u0e=a0e,l0e={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"}},iO=l0e,c0e=["dark","light"],f0e=c0e,d0e={storage:{sync:!0,key:"scheme"}},p0e=d0e,ic={content:"content-box",border:"border-box",padding:"padding-box"},mh={min:"min-content",max:"max-content"},Ds={full:"100%",fit:"fit-content",max:"max-content",min:"min-content"};for(let t in XE)Ds[t]=XE[t]/16+"rem";var h0e={BackgroundClip:ic,BackgroundOrigin:ic,BoxSizing:{content:"content-box",border:"border-box"},ClipPath:{...ic,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:mh,GridAutoRows:mh,GridTemplateColumns:mh,GridTemplateRows:mh,Order:{first:-999999,last:999999},Position:{abs:"absolute",rel:"relative"},ShapeOutside:{...ic,margin:"margin-box"},TransformBox:{...ic,fill:"fill-box",stroke:"stroke-box",view:"view-box"},Width:Ds,MinWidth:Ds,MinHeight:Ds,MaxWidth:Ds,MaxHeight:Ds,Height:Ds,FlexBasis:Ds},g0e=h0e;function GE(t,e){return(t?t+":":"")+(e.unit?e.value+e.unit:e.value)+(e.important?"!important":"")}var m0e=/^([+-.]?\d+(\.?\d+)?)(.*)?/;function DN(t,e,r){if(r){let n="",i=t.match(m0e);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 y0e(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=DN(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 KE(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=DN(t,i,e);if(l)return l;o=(t.indexOf("calc(")===-1?t:y0e(t,i,e)).replace(/\$\(((\w|-)+)\)/g,"var(--$1)")}return{value:o,unit:a,colorMatched:u}}var lg={"(":")","'":"'",'"':'"',"{":"}"},b0e=["!","*",">","+","~",":","[","@","_"];function gc(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 lg)u(l,lg[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]!==" ")||b0e.includes(b))break;d+=b}o+=b}}f===void 0&&o&&y()}(t),[s,t.slice(a)]}var mN=[":disabled",":active",":focus",":hover"],sc="matches",v0e="semantics",yN="symbol",ON="width",YE="max-"+ON,QE="min-"+ON,ZE="motion",qN="reduce",bN=qN+"d-"+ZE,JE="px",w0e="rem",_0e=/(\\'(?:.*?)[^\\]\\')(?=[*_>~+,)])|(\[[^=]+='(?:.*?)[^\\]'\])/,x0e=t=>t.split(_0e).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===v0e){let[K,ue]=e.value;M=_.slice(K.length),x=ue}else if(this.analyzeToken)[C,P,M]=this.analyzeToken(_,v,y);else{let K;if(e.origin===sc){let ue=_.indexOf(":");this.prefix=_.slice(0,ue+1),this.prefix.includes("(")?(this.prefix=void 0,K=_):K=_.slice(ue+1)}else e.origin===yN&&(this.symbol=_[0],K=_.slice(1));[P,M]=gc(K,v,y)}M[0]==="!"&&(this.important=!0,M=M.slice(1));let R=K=>{let ue=x0e(K),F=[],T="",le=0;for(let ne=0;ne<ue.length;ne++){let de=ue[ne];if(de==="\\"){T+=de+ue[++ne];continue}!le&&de===","?(F.push(T),T=""):(T+=de,le&&de===")"?le--:de==="("&&le++)}return T&&F.push(T),F};this.prefixSelectors=C?R(C):[""];let z=M.split("@"),$=z[0];if($){this.vendorSuffixSelectors={};let K=(ne,de,ae,se)=>{for(let[he,ve]of de)if(he.test(ne)){for(let De of ve)K(ne.replace(he,De),de,ae,!0);return}se&&ae.push(ne)},ue=[];""in h?K($,h[""],ue,!0):ue.push($);let F={};for(let[ne,de]of Object.entries(h)){if(!ne)continue;let ae=[];for(let se of ue)K(se,de,ae,!1);ae.length&&(F[ne]=ae)}let T=(ne,de)=>{let ae=de.reduce((se,he)=>(se.push(...R(he)),se),[]);ne in this.vendorSuffixSelectors?this.vendorSuffixSelectors[ne].push(...ae):this.vendorSuffixSelectors[ne]=ae},le=Object.keys(F);if(le.length)for(let ne of le)T(ne,F[ne]);else T("",ue);for(let ne of Object.values(this.vendorSuffixSelectors))for(let de of ne){this.hasWhere!==!1&&(this.hasWhere=de.includes(":where("));for(let ae=0;ae<mN.length;ae++)if(de.includes(mN[ae])){(this.priority===-1||this.priority>ae)&&(this.priority=ae);break}}}else this.vendorSuffixSelectors={"":[""]};for(let K=1;K<z.length;K++){let ue=z[K];if(ue)if(f.includes(ue))this.theme=ue;else if(ue==="rtl"||ue==="ltr")this.direction=ue;else{let F,T,le=ue.indexOf("_");if(le!==-1)F=ue.slice(0,le),T=ue.slice(le);else{let ne=ue.indexOf("(");ne!==-1&&(F=ue.slice(0,ne),T=ue.slice(ne))}if(!F){F="media";let ne=[];this.media={token:ue,features:{}};let de=ue.split("&");for(let ae of de)if(ae==="all"||ae==="print"||ae==="screen"||ae==="speech")this.media.type=ae;else if(ae==="\u{1F5A8}")this.media.type="print";else if(ae==="landscape"||ae==="portrait")ne.push("(orientation:"+ae+")");else if(ae===ZE||ae===bN)ne.push("(prefers-"+bN+":"+(ae===ZE?"no-preference":qN)+")");else if(g&&ae in g)ne.push(g[ae]);else{let se={token:ae},he="",ve="",De=0;ae.startsWith("<=")?(ve="<=",he=YE):ae.startsWith(">=")||b[ae]?(ve=">=",he=QE):ae.startsWith(">")?(ve=">",he=QE,De=.02):ae.startsWith("<")&&(ve="<",he=YE,De=-.02);let Je=ve?ae.replace(ve,""):ae,we=b[Je];switch(he){case YE:case QE:we?Object.assign(se,KE(we,JE)):Object.assign(se,KE(Je,JE)),se.unit===JE&&(se.value+=De),this.media.features[he]=se,ne.push("("+he+":"+(se.value+se.unit)+")");break}}T="",this.media.type&&(T=this.media.type),ne.length&&(T+=(T?" and ":"")+ne.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 te=(K,ue)=>{let F,T,le=(de,ae,se)=>{let he="";this.direction&&(he+="[dir="+this.direction+"] ");let ve=this.prefixSelectors.map(we=>we+he),De=(we,Ct)=>ve.map(dt=>(we?"."+we+" ":"")+(l?l+" ":"")+dt).reduce((dt,pe)=>(dt.push(se.reduce((ce,ie)=>(ce.push(pe+"."+CSS.escape(Ct)+ie),ce),[]).join(",")),dt),[]).join(","),Je=De(ae,t)+(w?Object.entries(w).filter(([we])=>this.theme||!o||!ae||!we||we===ae).map(([we,Ct])=>Ct.reduce((dt,pe)=>dt+","+De(this.theme??((o||this.getThemeProps)&&ae||we),pe),"")).join(""):"")+"{"+de+"}";for(let we of Object.keys(this.at).sort((Ct,dt)=>dt==="supports"?-1:1))Je="@"+we+" "+this.at[we]+"{"+Je+"}";return Je},ne=[];if(P){let de,ae;for(let se of P)typeof se=="string"?ne.push(se):(de=KE(se.value,s,o&&d,o&&p,u,this.theme?[this.theme,""]:[K]),de.colorMatched!==void 0&&ae!==!0&&(ae=de.colorMatched),ne.push(de.value+de.unit));if(ue&&(ae===void 0?K:!ae))return;if(ne.length===1?de?(F=de.value,T=de.unit):F=ne[0]:F=ne.reduce((se,he,ve)=>se+he+(he===","||P[ve+1]===","||ve===P.length-1?"":" "),""),typeof F!="object"){this.parseValue&&(F=this.parseValue(F,this.css.config)),o&&F==="current"&&(F="currentColor");let se={unit:T,value:F,important:this.important};if(this.getThemeProps){let he=this.getThemeProps(se,r);for(let ve in he)for(let De of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:T,value:F,text:le(Object.entries(he[ve]).map(([Je,we])=>GE(Je,{important:(this.important||c)&&!we.endsWith("!important"),unit:"",value:we})).join(";"),ve,De),theme:ve});return}else this.get&&(F=this.get(se))}}else F=x;for(let de of Object.values(this.vendorSuffixSelectors))this.natives.push({unit:T,value:F,text:le(typeof F=="object"?Object.entries(F).map(([ae,se])=>GE(ae,{...typeof se=="object"?se:{unit:"",value:se},important:this.important||c})).join(";"):GE(a,{unit:T,value:F,important:this.important||c}),K,de),theme:K})};if(this.getThemeProps)te(void 0,!1);else if(this.theme)te(this.theme,!1);else if(o)for(let K of f)te(K,!0);else te("",!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:sc};if(i){if(t.match("^"+i+"(?:(?:#|(rgb|hsl)\\(.*\\))((?!\\|).)*$|(?:transparent|current|inherit))"))return{origin:sc};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:sc}}}if(s&&t.startsWith(s))return{origin:yN};if(o&&t.startsWith(o+":"))return{origin:sc}}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",w0e),S(I,"colorful");var bh=class extends I{};S(bh,"id","FontWeight"),S(bh,"matches","^f(?:ont)?:(?:bolder|$values)(?!\\|)"),S(bh,"unit","");var eC=class extends I{};S(eC,"id","FontFamily"),S(eC,"matches","^f(?:ont)?:(?:$values)(?!\\|)");var tC=class extends I{};S(tC,"id","FontSize"),S(tC,"matches","^f(?:ont)?:(?:[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var rC=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(rC,"id","Spacing"),S(rC,"matches","^[pm][xytblr]?:.");var nC=class extends I{};S(nC,"id","Width"),S(nC,"matches","^w:.");var iC=class extends I{};S(iC,"id","Height"),S(iC,"matches","^h:.");var sC=class extends I{};S(sC,"id","MinWidth"),S(sC,"matches","^min-w:.");var oC=class extends I{};S(oC,"id","MinHeight"),S(oC,"matches","^min-h:.");var vh=class extends I{};S(vh,"id","LetterSpacing"),S(vh,"matches","^ls:."),S(vh,"unit","em");var S0e="subpixel-antialiased",vN="-webkit-font-smoothing",wN="-moz-osx-font-smoothing",wh=class extends I{static get prop(){return""}get(t){let e={};switch(t.value){case S0e:e[vN]=e[wN]={...t,value:"auto"};break;case"antialiased":e[vN]={...t,value:"antialiased"},e[wN]={...t,value:"grayscale"};break}return e}};S(wh,"id","FontSmoothing"),S(wh,"matches","^f(?:ont)?:(?:antialiased|subpixel-antialiased|$values)(?!\\|)"),S(wh,"unit","");var _h=class extends I{};S(_h,"id","FontStyle"),S(_h,"matches","^f(?:ont)?:(?:normal|italic|oblique|$values)(?!\\|)"),S(_h,"unit","deg");var aC=class extends I{};S(aC,"id","FontVariantNumeric"),S(aC,"matches","^f(?:ont)?:(?:ordinal|slashed-zero|lining-nums|oldstyle-nums|proportional-nums|tabular-nums|diagonal-fractions|stacked-fractions|$values)(?!\\|)");var uC=class extends I{};S(uC,"id","FontFeatureSettings"),S(uC,"matches","^font-feature:.");var xh=class extends I{};S(xh,"id","LineHeight"),S(xh,"matches","^lh:."),S(xh,"unit","");var lC=class extends I{};S(lC,"id","ObjectFit"),S(lC,"matches","^(?:object|obj):(?:contain|cover|fill|scale-down|$values)");var cC=class extends I{};S(cC,"id","ObjectPosition"),S(cC,"matches","^(?:object|obj):(?:top|bottom|right|left|center|$values)");var fC=class extends I{};S(fC,"id","TextAlign"),S(fC,"matches","^t(?:ext)?:(?:justify|center|left|right|start|end|$values)(?!\\|)");var Sh=class extends I{order=-1};S(Sh,"id","TextDecoration"),S(Sh,"matches","^t(?:ext)?:(?:underline|line-through|overline|$values)"),S(Sh,"colorful",!0);var dC=class extends I{};S(dC,"id","TextTransform"),S(dC,"matches","^t(?:ext)?:(?:uppercase|lowercase|capitalize|$values)(?!\\|)");var pC=class extends I{};S(pC,"id","VerticalAlign"),S(pC,"matches","^(?:v|vertical):.");var kh=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(kh,"id","Lines"),S(kh,"matches","^lines:."),S(kh,"unit","");var Eh=class extends I{};S(Eh,"id","TransformOrigin"),S(Eh,"matches","^transform:(?:top|bottom|right|left|center|[0-9]|$values)"),S(Eh,"unit","px");var hC=class extends I{};S(hC,"id","TransformStyle"),S(hC,"matches","^transform:(?:flat|preserve-3d|$values)(?!\\|)");var gC=class extends I{};S(gC,"id","TransformBox"),S(gC,"matches","^transform:(?:$values)(?!\\|)");var Ch=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(Ch,"id","Transform"),S(Ch,"matches","^(?:translate|scale|skew|rotate|perspective|matrix)(?:3d|[XYZ])?\\("),S(Ch,"unit","");var mC=class extends I{order=-1};S(mC,"id","Transition"),S(mC,"symbol","~");var Dh=class extends I{};S(Dh,"id","TransitionDelay"),S(Dh,"matches","^~delay:."),S(Dh,"unit","ms");var Oh=class extends I{};S(Oh,"id","TransitionDuration"),S(Oh,"matches","^~duration:."),S(Oh,"unit","ms");var yC=class extends I{};S(yC,"id","TransitionProperty"),S(yC,"matches","^~property:.");var bC=class extends I{};S(bC,"id","TransitionTimingFunction"),S(bC,"matches","^~easing:.");var vC=class extends I{};S(vC,"id","MaxHeight"),S(vC,"matches","^max-h:.");var wC=class extends I{};S(wC,"id","MaxWidth"),S(wC,"matches","^max-w:.");var _C=class extends I{};S(_C,"id","Display"),S(_C,"matches","^d:.");var xC=class extends I{};S(xC,"id","BoxSizing"),S(xC,"matches","^box:(?:$values)(?!\\|)");var SC=class extends I{};S(SC,"id","Opacity"),S(SC,"unit","");var RN=class extends I{};S(RN,"id","Visibility");var AN=class extends I{};S(AN,"id","Clear");var PN=class extends I{};S(PN,"id","Float");var TN=class extends I{};S(TN,"id","Isolation");var kC=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(kC,"id","Overflow"),S(kC,"matches","^overflow(?:-x|-y)?:(?:visible|overlay|hidden|scroll|auto|clip|inherit|initial|revert|revert-layer|unset|\\$|var|$values)");var EC=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(EC,"id","OverscrollBehavior"),S(EC,"matches","^overscroll-behavior(?:-[xy])?:");var qh=class extends I{};S(qh,"id","ZIndex"),S(qh,"matches","^z:."),S(qh,"unit","");var Rh=class extends I{};S(Rh,"id","AnimationDelay"),S(Rh,"matches","^@delay:."),S(Rh,"unit","ms");var CC=class extends I{};S(CC,"id","AnimationDirection"),S(CC,"matches","^@direction:.");var DC=class extends I{};S(DC,"id","AnimationFillMode"),S(DC,"matches","^@fill-mode:.");var Ah=class extends I{};S(Ah,"id","AnimationIterationCount"),S(Ah,"matches","^@iteration-count:."),S(Ah,"unit","");var OC=class extends I{};S(OC,"id","AnimationName"),S(OC,"matches","^@name:.");var qC=class extends I{};S(qC,"id","AnimationPlayState"),S(qC,"matches","^@play-state:.");var RC=class extends I{};S(RC,"id","AnimationTimingFunction"),S(RC,"matches","^@easing:.");var Ph=class extends I{order=-1};S(Ph,"id","Animation"),S(Ph,"symbol","@"),S(Ph,"unit","");var yh="border-";function fg(t,e,r=""){r&&(r="-"+r);let n=/^b(order)?-?(.)?/.exec(t)[2],i=yh+"left"+r,s=yh+"right"+r,o=yh+"top"+r,a=yh+"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 ac=class extends I{static get prop(){return""}get(t){return fg(this.prefix,t,"color")}get order(){return this.prefix==="border-color:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};S(ac,"id","BorderColor"),S(ac,"matches","^border(?:-(?:left|right|top|bottom))?-color:."),S(ac,"colorStarts","b(?:[xytblr]|(?:order(?:-(?:left|right|top|bottom))?))?:"),S(ac,"colorful",!0);var Th="border-top-left-radius",Mh="border-top-right-radius",Fh="border-bottom-left-radius",Lh="border-bottom-right-radius",_N="border-radius",k0e=[Th,Mh,Fh,Lh],AC=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{[Th]:t,[Mh]:t};case"tl":case"lt":return{[Th]:t};case"rt":case"tr":return{[Mh]:t};case"b":return{[Fh]:t,[Lh]:t};case"bl":case"lb":return{[Fh]:t};case"br":case"rb":return{[Lh]:t};case"l":return{[Th]:t,[Fh]:t};case"r":return{[Mh]:t,[Lh]:t};default:return{[_N]:t}}}let e=this.prefix?.slice(0,-1);return{[k0e.includes(e)?e:_N]:t}}get order(){return this.prefix==="border-radius:"||this.prefix==="r:"?-1:0}};S(AC,"id","BorderRadius"),S(AC,"matches","^(?:r[tblr]?[tblr]?|border(?:-(?:top|bottom)-(?:left|right))?-radius):.");var PC=class extends I{static get prop(){return""}get(t){return fg(this.prefix,t,"style")}get order(){return this.prefix==="border-style:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};S(PC,"id","BorderStyle"),S(PC,"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 TC=class extends I{static get prop(){return""}get(t){return fg(this.prefix,t,"width")}get order(){return this.prefix==="border-width:"||this.prefix==="b:"||this.prefix==="border:"?-1:0}};S(TC,"id","BorderWidth"),S(TC,"matches","^(?:border(?:-(?:left|right|top|bottom))?-width:.|b(?:[xytblr]|order(?:-(?:left|right|top|bottom))?)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$)");var Ih=class extends I{static get prop(){return""}get(t){return fg(this.prefix,t)}get order(){return this.prefix==="border:"||this.prefix==="b:"?-2:-1}};S(Ih,"id","Border"),S(Ih,"matches","^b(?:[xytblr]?|order(?:-(?:left|right|top|bottom))?):."),S(Ih,"colorful",!0);var MC=class extends I{};S(MC,"id","BackgroundAttachment"),S(MC,"matches","^(?:bg|background):(?:fixed|local|scroll|$values)(?!\\|)");var MN=class extends I{};S(MN,"id","BackgroundBlendMode");var FC=class extends I{get(t){return{"-webkit-background-clip":t,"background-clip":t}}};S(FC,"id","BackgroundClip"),S(FC,"matches","^(?:bg|background):(?:text|$values)(?!\\|)");var uc=class extends I{};S(uc,"id","BackgroundColor"),S(uc,"colorStarts","(?:bg|background):"),S(uc,"unit",""),S(uc,"colorful",!0);var LC=class extends I{};S(LC,"id","BackgroundOrigin"),S(LC,"matches","^(?:bg|background):(?:$values)(?!\\|)");var Nh=class extends I{};S(Nh,"id","BackgroundPosition"),S(Nh,"matches","^(?:bg|background):(?:top|bottom|right|left|center|$values)(?!\\|)"),S(Nh,"unit","px");var IC=class extends I{};S(IC,"id","BackgroundRepeat"),S(IC,"matches","^(?:bg|background):(?:space|round|repeat|no-repeat|repeat-x|repeat-y|$values)(?![|a-zA-Z])");var NC=class extends I{};S(NC,"id","BackgroundSize"),S(NC,"matches","^(?:bg|background):(?:\\.?\\[0-9]+|auto|cover|contain|$values)(?!\\|)");var jh=class extends I{};S(jh,"id","BackgroundImage"),S(jh,"matches","^(?:bg|background):(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)"),S(jh,"colorful",!0);var $h=class extends I{order=-1};S($h,"id","Background"),S($h,"matches","^bg:."),S($h,"colorful",!0);var jC=class extends I{};S(jC,"id","MixBlendMode"),S(jC,"matches","^blend:.");var FN=class extends I{};S(FN,"id","Position");function LN(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 Bh=class extends I{get(t){return{"backdrop-filter":t,"-webkit-backdrop-filter":t}}parseValue(t,e){return LN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};S(Bh,"id","BackdropFilter"),S(Bh,"matches","^bd:."),S(Bh,"colorful",!0);var Wh=class extends I{};S(Wh,"id","Fill"),S(Wh,"colorStarts","fill:"),S(Wh,"colorful",!0);var $C=class extends I{};S($C,"id","Stroke"),S($C,"colorful",!0);var BC=class extends I{};S(BC,"id","StrokeWidth"),S(BC,"matches","^stroke:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var zh=class extends I{parseValue(t,e){return LN(t,r=>{switch(r){case"blur":case"drop-shadow":return"rem";case"hue-rotate":return"deg"}return""},e)}};S(zh,"id","Filter"),S(zh,"matches","^(?:blur|brightness|contrast|drop-shadow|grayscale|hue-rotate|invert|opacity|saturate|sepia)\\("),S(zh,"colorful",!0);var IN=class extends I{};S(IN,"id","Cursor");var NN=class extends I{};S(NN,"id","PointerEvents");var jN=class extends I{};S(jN,"id","Resize");var $N=class extends I{};S($N,"id","TouchAction");var BN=class extends I{get(t){return{"user-drag":t,"-webkit-user-drag":t}}};S(BN,"id","UserDrag");var WN=class extends I{get(t){return{"user-select":t,"-webkit-user-select":t}}};S(WN,"id","UserSelect");var Uh=class extends I{};S(Uh,"id","BoxShadow"),S(Uh,"matches","^s(?:hadow)?:."),S(Uh,"colorful",!0);var WC=class extends I{};S(WC,"id","TextShadow"),S(WC,"colorful",!0);var xN=.5,zC=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+xN+e:`calc(${r}${e} + ${xN}rem)`,unit:""}}}};S(zC,"id","TextSize"),S(zC,"matches","^t(?:ext)?:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var UC=class extends I{};S(UC,"id","WordBreak"),S(UC,"unit","");var Hh=class extends I{get(t){return{display:{...t,value:"grid"},"grid-template-columns":{...this,value:"repeat("+t.value+",minmax("+0+","+1+"fr))"}}}};S(Hh,"id","GridColumns"),S(Hh,"matches","^grid-cols:."),S(Hh,"unit","");var HC=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(HC,"id","GridRows"),S(HC,"unit","");var VC=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(VC,"id","Gap"),S(VC,"matches","^gap(?:-x|-y)?:.");var GC=class extends I{};S(GC,"id","WordSpacing"),S(GC,"unit","em");var Vh=class extends I{static get prop(){return""}get(t){return{["--"+this.prefix.slice(1,-1)]:t}}};S(Vh,"id","Variable"),S(Vh,"matches","^\\$[^ {}A-Z]+:[^ ]"),S(Vh,"unit","");var Gh=class extends I{};S(Gh,"id","AspectRatio"),S(Gh,"matches","^aspect:."),S(Gh,"unit","");var KC=class extends I{get(t){return{"box-decoration-break":t,"-webkit-box-decoration-break":t}}};S(KC,"id","BoxDecorationBreak"),S(KC,"matches","^box:(?:slice|clone|$values)(?!\\|)");var zN=class extends I{};S(zN,"id","BreakAfter");var UN=class extends I{};S(UN,"id","BreakBefore");var HN=class extends I{};S(HN,"id","BreakInside");var YC=class extends I{};S(YC,"id","FlexShrink"),S(YC,"unit","");var QC=class extends I{};S(QC,"id","FlexDirection"),S(QC,"matches","^flex:(?:(?:row|column)(?:-reverse)?|$values)(?!\\|)");var JC=class extends I{};S(JC,"id","FlexGrow"),S(JC,"unit","");var XC=class extends I{};S(XC,"id","FlexWrap"),S(XC,"matches","^flex:(?:wrap(?:-reverse)?|nowrap|$values)(?!\\|)");var VN=class extends I{};S(VN,"id","FlexBasis");var ZC=class extends I{order=-1};S(ZC,"id","Flex"),S(ZC,"unit","");var Kh=class extends I{};S(Kh,"id","Order"),S(Kh,"matches","^o:."),S(Kh,"unit","");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","GridColumn"),S(Yh,"matches","^grid-col(?:umn)?(?:-span)?:."),S(Yh,"unit","");var eD=class extends I{};S(eD,"id","ColumnSpan"),S(eD,"matches","^col-span:.");var Qh=class extends I{parseValue(t){return this.prefix.slice(-5,-1)==="span"&&t!=="auto"?"span "+t+"/span "+t:t}order=-1};S(Qh,"id","GridRow"),S(Qh,"matches","^grid-row-span:."),S(Qh,"unit","");var lc=class extends I{};S(lc,"id","Color"),S(lc,"matches","^(?:color|fg|foreground):."),S(lc,"colorful",!0),S(lc,"unit","");var tD=class extends I{};S(tD,"id","AlignContent"),S(tD,"matches","^ac:.");var rD=class extends I{};S(rD,"id","AlignItems"),S(rD,"matches","^ai:.");var nD=class extends I{};S(nD,"id","AlignSelf"),S(nD,"matches","^as:");var iD=class extends I{};S(iD,"id","GridAutoColumns"),S(iD,"matches","^grid-auto-cols:.");var sD=class extends I{};S(sD,"id","GridAutoFlow"),S(sD,"matches","^grid-flow:.");var GN=class extends I{};S(GN,"id","GridAutoRows");var oD=class extends I{};S(oD,"id","JustifyContent"),S(oD,"matches","^jc:.");var aD=class extends I{};S(aD,"id","JustifyItems"),S(aD,"matches","^ji:.");var uD=class extends I{};S(uD,"id","JustifySelf"),S(uD,"matches","^js:.");var KN=class extends I{order=-1};S(KN,"id","PlaceContent");var YN=class extends I{order=-1};S(YN,"id","PlaceItems");var QN=class extends I{order=-1};S(QN,"id","PlaceSelf");var lD=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(lD,"id","Padding"),S(lD,"matches","^padding(?:-(?:left|right|top|bottom))?:.");var cD=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(cD,"id","Margin"),S(cD,"matches","^margin(?:-(?:left|right|top|bottom))?:.");var fD=class extends I{};S(fD,"id","TextOverflow"),S(fD,"matches","^(?:text-(?:overflow|ovf):.|t(?:ext)?:(?:ellipsis|clip|$values)(?!\\|))");var dD=class extends I{};S(dD,"id","ListStylePosition"),S(dD,"matches","^list-style:(?:inside|outside|$values)(?!\\|)");var pD=class extends I{};S(pD,"id","ListStyleType"),S(pD,"matches","^list-style:(?:disc|decimal|$values)(?!\\|)");var JN=class extends I{order=-1};S(JN,"id","ListStyle");var Jh=class extends I{};S(Jh,"id","TextDecorationColor"),S(Jh,"colorStarts","text-decoration:"),S(Jh,"colorful",!0);var hD=class extends I{};S(hD,"id","TextDecorationStyle"),S(hD,"matches","^t(?:ext)?:(?:solid|double|dotted|dashed|wavy|$values)(?!\\|)");var Xh=class extends I{};S(Xh,"id","TextDecorationThickness"),S(Xh,"matches","^text-decoration:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|from-font|$values)[^|]*$"),S(Xh,"unit","em");var XN=class extends I{};S(XN,"id","TextIndent");var ZN=class extends I{};S(ZN,"id","Content");var Zh=class extends I{};S(Zh,"id","OutlineColor"),S(Zh,"colorStarts","outline:"),S(Zh,"colorful",!0);var e5=class extends I{};S(e5,"id","OutlineOffset");var gD=class extends I{};S(gD,"id","OutlineStyle"),S(gD,"matches","^outline:(?:none|dotted|dashed|solid|double|groove|ridge|inset|outset|$values)(?!\\|)");var mD=class extends I{};S(mD,"id","OutlineWidth"),S(mD,"matches","^outline:(?:\\.?[0-9]|medium|thick|thin|(max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var yD=class extends I{order=-1};S(yD,"id","Outline"),S(yD,"colorful",!0);var bD=class extends I{};S(bD,"id","BorderCollapse"),S(bD,"matches","^b(?:order)?:(?:collapse|separate|$values)(?!\\|)");var t5=class extends I{};S(t5,"id","BorderSpacing");var r5=class extends I{};S(r5,"id","TableLayout");var eg=class extends I{};S(eg,"id","AccentColor"),S(eg,"colorStarts","accent:"),S(eg,"colorful",!0);var n5=class extends I{};S(n5,"id","Appearance");var tg=class extends I{};S(tg,"id","CaretColor"),S(tg,"colorStarts","caret:"),S(tg,"colorful",!0);var i5=class extends I{};S(i5,"id","ScrollBehavior");var vD=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(vD,"id","ScrollMargin"),S(vD,"matches","^scroll-m(?:[xytblr]|argin(?:-(?:top|bottom|left|right))?)?:.");var wD=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(wD,"id","ScrollPadding"),S(wD,"matches","^scroll-p(?:[xytblr]|adding(?:-(?:top|bottom|left|right))?)?:.");var _D=class extends I{};S(_D,"id","ScrollSnapAlign"),S(_D,"matches","^scroll-snap:(?:start|end|center|$values)");var xD=class extends I{};S(xD,"id","ScrollSnapStop"),S(xD,"matches","^scroll-snap:(?:normal|always|$values)(?!\\|)");var SD=class extends I{};S(SD,"id","ScrollSnapType"),S(SD,"matches","^scroll-snap:(?:(?:[xy]|block|inline|both)(?:\\|(?:proximity|mandatory))?|$values)(?!\\|)");var s5=class extends I{};S(s5,"id","WillChange");var o5=class extends I{};S(o5,"id","TextUnderlineOffset");var kD=class extends I{get(t){return{[this.prefix.slice(0,-1)]:t}}};S(kD,"id","Inset"),S(kD,"matches","^(?:top|bottom|left|right):.");var rg=class extends I{order=-1};S(rg,"id","Columns"),S(rg,"matches","^(?:columns|cols):."),S(rg,"unit","");var ED=class extends I{};S(ED,"id","WhiteSpace"),S(ED,"unit","");var CD=class extends I{};S(CD,"id","TextOrientation"),S(CD,"matches","^t(?:ext)?:(?:mixed|upright|sideways-right|sideways|use-glyph-orientation|$values)(?!\\|)");var DD=class extends I{};S(DD,"id","WritingMode"),S(DD,"matches","^writing:.");var a5=class extends I{};S(a5,"id","Contain");var ng=class extends I{};S(ng,"id","AnimationDuration"),S(ng,"matches","^@duration:."),S(ng,"unit","ms");var OD=class extends I{};S(OD,"id","TextRendering"),S(OD,"matches","^t(?:ext)?:(?:optimizeSpeed|optimizeLegibility|geometricPrecision|$values)(?!\\|)");var u5=class extends I{};S(u5,"id","Direction");var qD=class extends I{};S(qD,"id","TextDecorationLine"),S(qD,"matches","^t(?:ext)?:(?:none|underline|overline|line-through|$values)(?!\\|)");var ig=class extends I{};S(ig,"id","GridColumnStart"),S(ig,"matches","^grid-col-start:."),S(ig,"unit","");var RD=class extends I{};S(RD,"id","ListStyleImage"),S(RD,"matches","^list-style:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var AD=class extends I{};S(AD,"id","ShapeOutside"),S(AD,"matches","^shape:(?:(?:inset|circle|ellipse|polygon|url|linear-gradient)\\(.*\\)|$values)(?!\\|)");var PD=class extends I{};S(PD,"id","ShapeMargin"),S(PD,"matches","^shape:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var TD=class extends I{};S(TD,"id","ShapeImageThreshold"),S(TD,"unit","");var MD=class extends I{};S(MD,"id","ClipPath"),S(MD,"matches","^clip:.");var l5=class extends I{order=-1};S(l5,"id","Grid");var sg=class extends I{order=-1};S(sg,"id","Font"),S(sg,"matches","^f:."),S(sg,"unit","");var c5=class extends I{};S(c5,"id","Quotes");var f5=class extends I{order=-1};S(f5,"id","GridTemplate");var FD=class extends I{};S(FD,"id","GridRowStart"),S(FD,"unit","");var d5=class extends I{};S(d5,"id","GridTemplateAreas");var LD=class extends I{};S(LD,"id","GridTemplateColumns"),S(LD,"matches","^grid-template-cols:.");var p5=class extends I{};S(p5,"id","GridTemplateRows");var ID=class extends I{order=-1};S(ID,"id","GridArea"),S(ID,"unit","");var og=class extends I{};S(og,"id","GridColumnEnd"),S(og,"matches","^grid-col-end:."),S(og,"unit","");var ND=class extends I{};S(ND,"id","GridRowEnd"),S(ND,"unit","");var h5=class extends I{get(t){return{"mask-image":t,"-webkit-mask-image":t}}};S(h5,"id","MaskImage");var cc=class extends I{static get prop(){return""}get(t){return{"-webkit-text-fill-color":t}}};S(cc,"id","TextFillColor"),S(cc,"matches","^text-fill-color:."),S(cc,"colorStarts","(?:text-fill|text|t):"),S(cc,"colorful",!0);var jD=class extends I{static get prop(){return""}get(t){return{"-webkit-text-stroke":t}}};S(jD,"id","TextStroke"),S(jD,"matches","^text-stroke:.");var $D=class extends I{static get prop(){return""}get(t){return{"-webkit-text-stroke-width":t}}};S($D,"id","TextStrokeWidth"),S($D,"matches","^text-stroke(:(thin|medium|thick|\\.?[0-9]+|$values)(?!\\|)|-width:.)");var fc=class extends I{static get prop(){return""}get(t){return{"-webkit-text-stroke-color":t}}};S(fc,"id","TextStrokeColor"),S(fc,"matches","^text-stroke-color:."),S(fc,"colorStarts","text-stroke:"),S(fc,"colorful",!0);var g5=class extends I{};S(g5,"id","StrokeDasharray");var m5=class extends I{};S(m5,"id","StrokeDashoffset");var BD=class extends I{};S(BD,"id","X"),S(BD,"unit","");var WD=class extends I{};S(WD,"id","Y"),S(WD,"unit","");var zD=class extends I{};S(zD,"id","Cx"),S(zD,"unit","");var UD=class extends I{};S(UD,"id","Cy"),S(UD,"unit","");var HD=class extends I{};S(HD,"id","Rx"),S(HD,"unit","");var VD=class extends I{};S(VD,"id","Ry"),S(VD,"unit","");var y5=class extends I{};S(y5,"id","BorderImageOutset");var GD=class extends I{};S(GD,"id","BorderImageRepeat"),S(GD,"matches","^border-image:(?:stretch|repeat|round|space|$values)(?!\\|)");var KD=class extends I{};S(KD,"id","BorderImageSlice"),S(KD,"unit","");var YD=class extends I{};S(YD,"id","BorderImageSource"),S(YD,"matches","^border-image:(?:(?:url|linear-gradient|radial-gradient|repeating-linear-gradient|repeating-radial-gradient|conic-gradient)\\(.*\\)|$values)(?!\\|)");var QD=class extends I{};S(QD,"id","BorderImageWidth"),S(QD,"matches","^border-image:(?:\\.?[0-9]|(?:max|min|calc|clamp)\\(.*\\)|$values)[^|]*$");var JD=class extends I{};S(JD,"id","BorderImage"),S(JD,"unit","");var E0e=/\{(.*)\}/,ag=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),...gc(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(E0e)[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 lg&&c!=="'"&&c!=='"'&&(u++,l(lg[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(ag,"id","Group"),S(ag,"matches","^(?:.+?[*_>~+])?\\{.+?\\}"),S(ag,"unit","");var XD=class extends I{};S(XD,"id","CounterIncrement"),S(XD,"unit","");var ZD=class extends I{};S(ZD,"id","CounterReset"),S(ZD,"unit","");var eO=class extends I{static get prop(){return""}analyzeToken(t,e,r){return["",...gc(t,e,r,["x"])]}get(t){let[e,r]=t.value.split(" x ");return{width:{...t,value:e},height:{...t,value:r}}}};S(eO,"id","WH"),S(eO,"matches","^(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var tO=class extends I{static get prop(){return""}analyzeToken(t,e,r){return["",...gc(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(tO,"id","MinWH"),S(tO,"matches","^min:(?:(?: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["",...gc(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(rO,"id","MaxWH"),S(rO,"matches","^max:(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)x(?:(?:max|min|clamp|calc)\\(.+\\)|[0-9]+[a-z]*?)");var C0e=[ag,Vh,tC,bh,eC,wh,_h,aC,uC,sg,lc,rC,cD,lD,VN,XC,JC,YC,QC,ZC,_C,nC,iC,sC,oC,eO,tO,rO,a5,ZN,XD,ZD,vh,xh,lC,cC,fC,Jh,hD,Xh,qD,Sh,o5,fD,CD,dC,OD,XN,pC,rg,ED,kD,kh,vC,wC,xC,SC,RN,AN,PN,TN,kC,EC,qh,FN,IN,NN,jN,$N,UC,GC,BN,WN,WC,zC,cc,$D,fc,jD,Uh,r5,gC,hC,Eh,Ch,yC,bC,Oh,Dh,mC,Rh,CC,ng,DC,Ah,OC,qC,RC,Ph,ac,AC,PC,TC,bD,t5,y5,GD,KD,YD,QD,JD,Ih,MC,MN,uc,FC,LC,Nh,IC,NC,jh,$h,jC,Bh,zh,Wh,g5,m5,BC,$C,BD,WD,zD,UD,HD,VD,ig,og,Yh,Hh,FD,ND,Qh,HC,iD,sD,GN,d5,LD,p5,f5,ID,l5,VC,Kh,HN,UN,zN,KC,Gh,eD,tD,rD,nD,oD,aD,uD,KN,YN,QN,dD,pD,RD,JN,Zh,e5,gD,mD,yD,eg,n5,tg,i5,vD,wD,_D,xD,SD,s5,DD,u5,AD,PD,TD,MD,c5,h5],D0e=C0e,O0e={colors:n0e,breakpoints:XE,semantics:iO,values:g0e,selectors:u0e,themes:f0e,scheme:p0e,Rules:D0e,rootSize:i0e,scope:o0e},SN=O0e,nO=typeof Buffer<"u"?Buffer:null;function b5(t){return!!(nO&&t instanceof nO||t instanceof Date||t instanceof RegExp)}function v5(t){if(nO&&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 w5(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=w5(r):b5(r)?e[n]=v5(r):e[n]=pc({},r):e[n]=r}),e}function kN(t,e){return e==="__proto__"?void 0:t[e]}function pc(...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=kN(e,s),r=kN(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=w5(r);return}else if(b5(r)){e[s]=v5(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=pc({},r);return}else{e[s]=pc(n,r);return}})}),e}var q0e=[",",".","#","[","!","*",">","+","~",":","@"],R0e=/^::-[a-z]+-/m,A0e=/^rgba?\( *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?: |,) *([0-9]{1,3}) *(?:(?:\/|,) *0?(\.[0-9]))?\)$/,cg,hc=typeof window<"u";hc&&(cg=document.createElement("style"),cg.title="master");var Zr="max-width",Wr="min-width",P0e="attributes",T0e=hc?window.MutationObserver:Object,dc,Eo,ug=class extends T0e{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===P0e){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"),hN(this,dc,void 0),hN(this,Eo,void 0),S(this,"onThemeChange",e=>{this.theme=e.matches?"dark":"light"}),this.options=pc({observe:!0},t),this.options.config&&!this.options.override?this.config=pc(SN,this.options.config):this.config=SN,this.cache(),hc&&this.options.observe&&this.observe(document),ug.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!==eu(this,dc)){gN(this,dc,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 eu(this,dc)}set theme(t){t!==eu(this,Eo)&&(eu(this,Eo)&&this.host.classList.remove(eu(this,Eo)),gN(this,Eo,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 eu(this,Eo)}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(R0e)?.[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=A0e.exec(_);if(x){let C="#"+CN(+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(hc&&t){this.root=t;let r=t===document;r&&(ug.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(q0e.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=cg.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=cg.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=ug.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[Zr],d=i.features[Wr];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[Zr],v=b.features[Wr];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[Zr],R=M.features[Wr];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[Wr]&&x.media.features[Zr])}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[Zr],g=y.features[Wr];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[Wr]&&w.media.features[Zr],w=>!w.media.features[Wr]&&!w.media.features[Zr]);else for(let w=p;w<=n;w++){let _=this.rules[w],x=_.media,C=x.features[Wr];if(!x.features[Zr]){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[Zr];if(y.features[Wr])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[Wr]&&v.media.features[Zr],v=>!v.media.features[Wr]&&!v.media.features[Zr]);else{let v=[this.rules[p]];for(let w=p-1;w>=c;w--){let _=this.rules[w],x=_.media,C=x.features[Wr],M=x.features[Zr];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[Wr]){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[Zr]||f.media.features[Wr]);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[Zr]||p.features[Wr])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("")}},_r=ug;dc=new WeakMap,Eo=new WeakMap,S(_r,"instances",[]),S(_r,"root");hc&&(window.MasterCSS=_r);var oc=typeof global<"u"?global:window;if(!oc.CSS&&!oc.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};oc.CSS||(oc.CSS={}),oc.CSS.escape=t}function _5(t,e){if(!t?.length)return;let r=new _r({observe:!1,config:e});for(let n of t)n in r.countOfClass||r.insert(n)&&(r.countOfClass[n]=1);return r.text}import{performance as Hhe}from"perf_hooks";var UL=Kt(Ao(),1),Fk=Kt(E$(),1);import p0t from"fs";var EB=Kt(hh(),1);import Zq from"node:process";import p1e from"node:os";import q$ from"node:tty";var Zxe=Object.create,j$=Object.defineProperty,e1e=Object.getOwnPropertyDescriptor,t1e=Object.getOwnPropertyNames,r1e=Object.getPrototypeOf,n1e=Object.prototype.hasOwnProperty,i1e=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),s1e=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of t1e(e))!n1e.call(t,i)&&i!==r&&j$(t,i,{get:()=>e[i],enumerable:!(n=e1e(e,i))||n.enumerable});return t},o1e=(t,e,r)=>(r=t!=null?Zxe(r1e(t)):{},s1e(e||!t||!t.__esModule?j$(r,"default",{value:t,enumerable:!0}):r,t)),a1e=i1e((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)}),Ei=(t,e)=>{if(!t)throw new Error(e)},u1e=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 Ei(Object.keys(e).length===9,"Unexpected Option(s) provided"),Ei(typeof e.joined=="boolean",'Option "joined" has invalid format'),Ei(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),Ei(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),Ei(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),Ei(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),Ei(typeof e.separator=="string",'Option "separator" has invalid format'),Ei(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),Ei(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),Ei(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},$$=(t,e={})=>{let r=u1e(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},C$=(t=0)=>e=>`\x1B[${e+t}m`,D$=(t=0)=>e=>`\x1B[${38+t};5;${e}m`,O$=(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]}},mqt=Object.keys(Ot.modifier),l1e=Object.keys(Ot.color),c1e=Object.keys(Ot.bgColor),yqt=[...l1e,...c1e];function f1e(){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=C$(),Ot.color.ansi256=D$(),Ot.color.ansi16m=O$(),Ot.bgColor.ansi=C$(10),Ot.bgColor.ansi256=D$(10),Ot.bgColor.ansi16m=O$(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 d1e=f1e(),Ci=d1e;function Mn(t,e=globalThis.Deno?globalThis.Deno.args:Zq.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}=Zq,zg;Mn("no-color")||Mn("no-colors")||Mn("color=false")||Mn("color=never")?zg=0:(Mn("color")||Mn("colors")||Mn("color=true")||Mn("color=always"))&&(zg=1);function h1e(){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 g1e(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function m1e(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=h1e();n!==void 0&&(zg=n);let i=r?zg:n;if(i===0)return 0;if(r){if(Mn("color=16m")||Mn("color=full")||Mn("color=truecolor"))return 3;if(Mn("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(Zq.platform==="win32"){let o=p1e.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 R$(t,e={}){let r=m1e(t,{streamIsTTY:t&&t.isTTY,...e});return g1e(r)}var y1e={stdout:R$({isTTY:q$.isatty(1)}),stderr:R$({isTTY:q$.isatty(2)})},b1e=y1e;function v1e(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 w1e(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:A$,stderr:P$}=b1e,Qq=Symbol("GENERATOR"),du=Symbol("STYLER"),_c=Symbol("IS_EMPTY"),T$=["ansi","ansi","ansi256","ansi16m"],pu=Object.create(null),_1e=(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=A$?A$.level:0;t.level=e.level===void 0?r:e.level},x1e=t=>{let e=(...r)=>r.join(" ");return _1e(e,t),Object.setPrototypeOf(e,xc.prototype),e};function xc(t){return x1e(t)}Object.setPrototypeOf(xc.prototype,Function.prototype);for(let[t,e]of Object.entries(Ci))pu[t]={get(){let r=Ug(this,Xq(e.open,e.close,this[du]),this[_c]);return Object.defineProperty(this,t,{value:r}),r}};pu.visible={get(){let t=Ug(this,this[du],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var Jq=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?Ci[r].ansi16m(...n):e==="ansi256"?Ci[r].ansi256(Ci.rgbToAnsi256(...n)):Ci[r].ansi(Ci.rgbToAnsi(...n)):t==="hex"?Jq("rgb",e,r,...Ci.hexToRgb(...n)):Ci[r][t](...n),S1e=["rgb","hex","ansi256"];for(let t of S1e){pu[t]={get(){let{level:r}=this;return function(...n){let i=Xq(Jq(t,T$[r],"color",...n),Ci.color.close,this[du]);return Ug(this,i,this[_c])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);pu[e]={get(){let{level:r}=this;return function(...n){let i=Xq(Jq(t,T$[r],"bgColor",...n),Ci.bgColor.close,this[du]);return Ug(this,i,this[_c])}}}}var k1e=Object.defineProperties(()=>{},{...pu,level:{enumerable:!0,get(){return this[Qq].level},set(t){this[Qq].level=t}}}),Xq=(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}},Ug=(t,e,r)=>{let n=(...i)=>E1e(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,k1e),n[Qq]=t,n[du]=e,n[_c]=r,n},E1e=(t,e)=>{if(t.level<=0||!e)return t[_c]?"":e;let r=t[du];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=v1e(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
474
+ `);return s!==-1&&(e=w1e(e,i,n,s)),n+e+i};Object.defineProperties(xc.prototype,pu);var C1e=xc(),_qt=xc({level:P$?P$.level:0}),Me=C1e;function Di(t){return t.split(" ").map(e=>e.replace(/^(\d*\.?\d*)$/g,`${Me.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,`${Me.cyan("$1")}${Me.magenta("$2")}`).replace(/^((?:[0-1]?[0-9]|[2][0-3]):[0-5][0-9]:[0-5][0-9] (?:AM|PM)?)$/g,`${Me.dim("$1")}`).replace(/^\[(.*?)\]$/g,`${Me.dim("[")}${Me.magenta("$1")}${Me.dim("]")}`).replace(/^`(.*?)`$/g,`${Me.dim("`")}$1${Me.dim("`")}`).replace(/^\((.*?)\)$/g,`${Me.dim("(")}$1${Me.dim(")")}`).replace(/^<(.*?)>$/g,`${Me.dim("<")}${Me.gray("$1")}${Me.dim(">")}`).replace(/->/g,Me.dim("\u2192")).replace(/<-/g,Me.dim("\u2190")).replace(/^\$t$/g,`${Me.dim(new Date().toLocaleTimeString())}`).replace(/^\*\*(.*?)\*\*$/g,`${Me.bold.white("$1")}`).replace(/^~~(.*?)~~$/g,`${Me.strikethrough("$1")}`).replace(/^__(.*?)__$/g,`${Me.underline("$1")}`).replace(/^\.\.(.*?)\.\.$/g,`${Me.dim("$1")}`).replace(/^!!(.*?)!!$/g,`${Me.yellow("$1")}`).replace(/^\*(.*?)\*$/g,`${Me.italic("$1")}`).replace(/^_(.*?)_$/g,`${Me.italic("$1")}`).replace(/^\+(.*?)\+$/g,`${Me.green("$1")}`).replace(/^-(.*?)-$/g,`${Me.red("$1")}`)).join(" ")}function pn(t,e){let r="";if(Array.isArray(t))for(let n=0;n<t.length;n++)r+=Kq(t[n])+Kq(e[n]);else r=[t,...e].map(n=>Kq(n)).join(" ");return Di(r)}var Kq=t=>t?Array.isArray(t)?t.map(e=>{switch(typeof e){case"string":return`'${Me.yellow(e)}'`;case"number":case"boolean":return Me.blue(e);default:return e}}).join(Me.gray(", ")):t:"",M$=(t,...e)=>{let r=Me.green("+")+" "+pn(t,e);return console.log(r),r},F$=(t,...e)=>{let r=Me.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+pn(t,e);return console.log(r),r},D1e=(t,...e)=>{let r=Me.bgYellow.bold.white(" \u26A0\uFE0F CONFLICT ")+" "+Me.yellow(pn(t,e));return console.log(r),r},O1e=(t,...e)=>{let r=Me.green("\u2713 ")+pn(t,e);return console.log(r),r},Yq=(t,...e)=>{let r=Me.red("-")+" "+pn(t,e);return console.log(r),r},L$=(t,...e)=>{let r=Me.green("\u25CB ")+pn(t,e);return console.log(r),r},I$=(t,...e)=>{let r=Me.red("\u2717 ")+pn(t,e);return console.log(r),r},N$=(t,...e)=>{let r=Di("$t ")+pn(t,e);return console.log(r),r},q1e=(t,...e)=>{let r=Me.green("\u23FA Success ")+pn(t,e);return console.log(r),r},R1e=(t,...e)=>{let r=Me.yellow("\u23FA Warn ")+pn(t,e);return console.log(r),r},A1e=(t,...e)=>{let r=Me.bgGreen.bold.white(" \u2713 PASS ")+" "+pn(t,e);return console.log(r),r},P1e=t=>{console.log($$(B$(JSON.parse(JSON.stringify(t))),{spacerNeighbour:Di("..\u2502..")+" ",keyNoNeighbour:Di("..\u2514\u2500..")+" ",keyNeighbour:Di("..\u251C\u2500..")+" ",separator:Di("..:..")+" "}))};function B$(t){for(let e in t){let r=t[e];Array.isArray(r)?t[e]=r.map(n=>Di(`**${n}**`)).join(Di("..,..")):typeof r=="object"?B$(r):t[e]=Di(`**${r}**`)}return t}var T1e=(t,...e)=>{let r=Me.red("\u23FA Fail ")+pn(t,e);return console.log(r),r},M1e=o1e(a1e());function F1e(t){let{message:e,stack:r}=typeof t=="string"?new Error(t):t,n={};return(0,M1e.default)(r.replace(e,"").replace(/^Error: /,"")).split(`
475
+ `).forEach(i=>{n[i.split(" ").map(s=>s.replace(/^\((.+)\)$/,`${Me.cyan("$1")}`).replace(/\./g,`${Me.dim(".")}`).replace(/^at$/,o=>Me.dim(o))).join(" ")]=null}),{message:e.trim().replace(/Error: /g,""),stackTree:n}}var W$=(t,...e)=>{if(t instanceof Error){let{message:r,stackTree:n}=F1e(t);return console.log(""),console.log(Me.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+Me.bold.red(r)),console.log($$(n,{spacerNeighbour:Me.redBright.dim("\u2502\u2000\u2000"),keyNoNeighbour:Me.redBright.dim("\u2514\u2500\u2000"),keyNeighbour:Me.redBright.dim("\u251C\u2500 "),separator:Me.redBright.dim(":\u2000")})),console.log(""),r}else{let r=pn(t,e);return console.log(r),r}};Object.assign(W$,{a:M$,add:M$,d:Yq,del:Yq,delete:Yq,o:L$,valid:L$,x:I$,invalid:I$,i:N$,info:N$,e:F$,error:F$,success:q1e,fail:T1e,warn:R1e,pass:A1e,conflict:D1e,ok:O1e,tree:P1e,paint:Di});var Sc=W$;var CB=Kt(Ao(),1);var a2=Kt(hh(),1),_B=Kt(U$(),1),xB=Kt(Ao(),1);var t2=typeof Buffer<"u"?Buffer:null;function V$(t){return!!(t2&&t instanceof t2||t instanceof Date||t instanceof RegExp)}function G$(t){if(t2&&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 K$(t){let e=[];return t.forEach(function(r,n){typeof r=="object"&&r!==null?Array.isArray(r)?e[n]=K$(r):V$(r)?e[n]=G$(r):e[n]=Po({},r):e[n]=r}),e}function H$(t,e){return e==="__proto__"?void 0:t[e]}function Po(...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=H$(e,s),r=H$(i,s),r!==e)if(typeof r!="object"||r===null){e[s]=r;return}else if(Array.isArray(r)){e[s]=K$(r);return}else if(V$(r)){e[s]=G$(r);return}else if(typeof n!="object"||n===null||Array.isArray(n)){e[s]=Po({},r);return}else{e[s]=Po(n,r);return}})}),e}var SB=Kt(wB(),1);function kB(t,e){if(e=Po({cwd:process.cwd()},e),!t)return;let r=xB.default.sync(t,e)[0];if(!r)return;let n=a2.default.resolve(e.cwd,r),i=(0,SB.buildSync)({entryPoints:[n],logLevel:"silent",bundle:!0,format:"cjs",write:!1}),{text:s}=i.outputFiles[0];return(0,_B.default)(s,a2.default.changeExt(n,".js"))}var ESe={cwd:process.cwd()},CSe=ESe,DB=class{options;constructor(...t){this.options=Po(CSe,...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=kB(n,{cwd:e});r=i.default||i,Sc.ok`Import **${n}** config`}else t?Sc.x`Cannot find -${t}- config`:Sc.ok`No config file`}catch(n){Sc.error(n)}return r}get configPath(){let{cwd:t,config:e}=this.options;if(!(!e||typeof e!="string"))return CB.default.sync(e,{cwd:t})[0]}get resolvedConfigPath(){let t=this.configPath;return t?EB.default.resolve(this.options.cwd,t):""}};var pge=Kt(Uhe(),1);import KL from"node:process";import h0t from"node:os";import Ghe from"node:tty";var a0t={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:[]},u0t=a0t;function l0t({content:t},{config:e,classes:r}){t=c0t(t);let n=[...new Set(Object.keys(e.semantics??iO).concat(Object.keys(r)))],i=t.match(/\S+/g)??[],s=new Set;for(let o of i){s.add(WL(o,n));let a=uge(o);if(a.size)for(let u of a)s.add(WL(u,n))}return[...s].filter(o=>o&&!f0t(o,n))}var WL=(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=zL(t,i=>i.replace(/^[^:@~(]*(?<!@>?)=/,"").replace(/(?:[([{\\:#=.]+|["'`].*)$/,"")):t=zL(t,i=>i.replace(/^[^:@~(]*(?:["'`]|(?<!@>?)=)/,"").replace(/(?:[([{\\:#=.]+|["'`].*)$/,"")),r===t||!t?t:WL(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),zL=(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},c0t=t=>zL(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,"")),f0t=(t,e)=>{let r=oge(t),n=age(t,r),i=/{(.*)}/,s;for(;(s=i.exec(n))!==null;)return s[1].split(";").find(o=>Vhe(o,e))!==void 0;return Vhe(n,e)||d0t(t)},Vhe=(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\(|\(.*\)=>/),d0t=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},g0t=Object.create,lge=Object.defineProperty,m0t=Object.getOwnPropertyDescriptor,y0t=Object.getOwnPropertyNames,b0t=Object.getPrototypeOf,v0t=Object.prototype.hasOwnProperty,w0t=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),_0t=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let i of y0t(e))!v0t.call(t,i)&&i!==r&&lge(t,i,{get:()=>e[i],enumerable:!(n=m0t(e,i))||n.enumerable});return t},x0t=(t,e,r)=>(r=t!=null?g0t(b0t(t)):{},_0t(e||!t||!t.__esModule?lge(r,"default",{value:t,enumerable:!0}):r,t)),S0t=w0t((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)}),Wi=(t,e)=>{if(!t)throw new Error(e)},k0t=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 Wi(Object.keys(e).length===9,"Unexpected Option(s) provided"),Wi(typeof e.joined=="boolean",'Option "joined" has invalid format'),Wi(typeof e.spacerNoNeighbour=="string",'Option "spacerNoNeighbour" has invalid format'),Wi(typeof e.spacerNeighbour=="string",'Option "spacerNeighbour" has invalid format'),Wi(typeof e.keyNoNeighbour=="string",'Option "keyNoNeighbour" has invalid format'),Wi(typeof e.keyNeighbour=="string",'Option "keyNeighbour" has invalid format'),Wi(typeof e.separator=="string",'Option "separator" has invalid format'),Wi(typeof e.renderFn=="function",'Option "renderFn" has invalid format'),Wi(typeof e.sortFn=="function"||e.sortFn===null,'Option "sortFn" has invalid format'),Wi(typeof e.breakCircularWith=="string"||e.breakCircularWith===null,'Option "breakCircularWith" has invalid format'),e},cge=(t,e={})=>{let r=k0t(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]}},k5t=Object.keys(jt.modifier),E0t=Object.keys(jt.color),C0t=Object.keys(jt.bgColor),E5t=[...E0t,...C0t];function D0t(){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 O0t=D0t(),zi=O0t;function Vn(t,e=globalThis.Deno?globalThis.Deno.args:KL.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}=KL,Lk;Vn("no-color")||Vn("no-colors")||Vn("color=false")||Vn("color=never")?Lk=0:(Vn("color")||Vn("colors")||Vn("color=true")||Vn("color=always"))&&(Lk=1);function q0t(){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 R0t(t){return t===0?!1:{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}function A0t(t,{streamIsTTY:e,sniffFlags:r=!0}={}){let n=q0t();n!==void 0&&(Lk=n);let i=r?Lk:n;if(i===0)return 0;if(r){if(Vn("color=16m")||Vn("color=full")||Vn("color=truecolor"))return 3;if(Vn("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(KL.platform==="win32"){let o=h0t.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=A0t(t,{streamIsTTY:t&&t.isTTY,...e});return R0t(r)}var P0t={stdout:Jhe({isTTY:Ghe.isatty(1)}),stderr:Jhe({isTTY:Ghe.isatty(2)})},T0t=P0t;function M0t(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 F0t(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}=T0t,HL=Symbol("GENERATOR"),jl=Symbol("STYLER"),Cp=Symbol("IS_EMPTY"),ege=["ansi","ansi","ansi256","ansi16m"],$l=Object.create(null),L0t=(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},I0t=t=>{let e=(...r)=>r.join(" ");return L0t(e,t),Object.setPrototypeOf(e,Dp.prototype),e};function Dp(t){return I0t(t)}Object.setPrototypeOf(Dp.prototype,Function.prototype);for(let[t,e]of Object.entries(zi))$l[t]={get(){let r=Ik(this,GL(e.open,e.close,this[jl]),this[Cp]);return Object.defineProperty(this,t,{value:r}),r}};$l.visible={get(){let t=Ik(this,this[jl],!0);return Object.defineProperty(this,"visible",{value:t}),t}};var VL=(t,e,r,...n)=>t==="rgb"?e==="ansi16m"?zi[r].ansi16m(...n):e==="ansi256"?zi[r].ansi256(zi.rgbToAnsi256(...n)):zi[r].ansi(zi.rgbToAnsi(...n)):t==="hex"?VL("rgb",e,r,...zi.hexToRgb(...n)):zi[r][t](...n),N0t=["rgb","hex","ansi256"];for(let t of N0t){$l[t]={get(){let{level:r}=this;return function(...n){let i=GL(VL(t,ege[r],"color",...n),zi.color.close,this[jl]);return Ik(this,i,this[Cp])}}};let e="bg"+t[0].toUpperCase()+t.slice(1);$l[e]={get(){let{level:r}=this;return function(...n){let i=GL(VL(t,ege[r],"bgColor",...n),zi.bgColor.close,this[jl]);return Ik(this,i,this[Cp])}}}}var j0t=Object.defineProperties(()=>{},{...$l,level:{enumerable:!0,get(){return this[HL].level},set(t){this[HL].level=t}}}),GL=(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)=>$0t(n,i.length===1?""+i[0]:i.join(" "));return Object.setPrototypeOf(n,j0t),n[HL]=t,n[jl]=e,n[Cp]=r,n},$0t=(t,e)=>{if(t.level<=0||!e)return t[Cp]?"":e;let r=t[jl];if(r===void 0)return e;let{openAll:n,closeAll:i}=r;if(e.includes("\x1B"))for(;r!==void 0;)e=M0t(e,r.close,r.open),r=r.parent;let s=e.indexOf(`
483
+ `);return s!==-1&&(e=F0t(e,i,n,s)),n+e+i};Object.defineProperties(Dp.prototype,$l);var B0t=Dp(),C5t=Dp({level:Zhe?Zhe.level:0}),Pe=B0t;function Ui(t){return t.split(" ").map(e=>e.replace(/^(\d*\.?\d*)$/g,`${Pe.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,`${Pe.cyan("$1")}${Pe.magenta("$2")}`).replace(/^((?:[0-1]?[0-9]|[2][0-3]):[0-5][0-9]:[0-5][0-9] (?:AM|PM)?)$/g,`${Pe.dim("$1")}`).replace(/^\[(.*?)\]$/g,`${Pe.dim("[")}${Pe.magenta("$1")}${Pe.dim("]")}`).replace(/^`(.*?)`$/g,`${Pe.dim("`")}$1${Pe.dim("`")}`).replace(/^\((.*?)\)$/g,`${Pe.dim("(")}$1${Pe.dim(")")}`).replace(/^<(.*?)>$/g,`${Pe.dim("<")}${Pe.gray("$1")}${Pe.dim(">")}`).replace(/->/g,Pe.dim("\u2192")).replace(/<-/g,Pe.dim("\u2190")).replace(/^\$t$/g,`${Pe.dim(new Date().toLocaleTimeString())}`).replace(/^\*\*(.*?)\*\*$/g,`${Pe.bold.white("$1")}`).replace(/^~~(.*?)~~$/g,`${Pe.strikethrough("$1")}`).replace(/^__(.*?)__$/g,`${Pe.underline("$1")}`).replace(/^\.\.(.*?)\.\.$/g,`${Pe.dim("$1")}`).replace(/^!!(.*?)!!$/g,`${Pe.yellow("$1")}`).replace(/^\*(.*?)\*$/g,`${Pe.italic("$1")}`).replace(/^_(.*?)_$/g,`${Pe.italic("$1")}`).replace(/^\+(.*?)\+$/g,`${Pe.green("$1")}`).replace(/^-(.*?)-$/g,`${Pe.red("$1")}`)).join(" ")}function En(t,e){let r="";if(Array.isArray(t))for(let n=0;n<t.length;n++)r+=$L(t[n])+$L(e[n]);else r=[t,...e].map(n=>$L(n)).join(" ");return Ui(r)}var $L=t=>t?Array.isArray(t)?t.map(e=>{switch(typeof e){case"string":return`'${Pe.yellow(e)}'`;case"number":case"boolean":return Pe.blue(e);default:return e}}).join(Pe.gray(", ")):t:"",tge=(t,...e)=>{let r=Pe.green("+")+" "+En(t,e);return console.log(r),r},rge=(t,...e)=>{let r=Pe.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+En(t,e);return console.log(r),r},W0t=(t,...e)=>{let r=Pe.bgYellow.bold.white(" \u26A0\uFE0F CONFLICT ")+" "+Pe.yellow(En(t,e));return console.log(r),r},z0t=(t,...e)=>{let r=Pe.green("\u2713 ")+En(t,e);return console.log(r),r},BL=(t,...e)=>{let r=Pe.red("-")+" "+En(t,e);return console.log(r),r},nge=(t,...e)=>{let r=Pe.green("\u25CB ")+En(t,e);return console.log(r),r},ige=(t,...e)=>{let r=Pe.red("\u2717 ")+En(t,e);return console.log(r),r},sge=(t,...e)=>{let r=Ui("$t ")+En(t,e);return console.log(r),r},U0t=(t,...e)=>{let r=Pe.green("\u23FA Success ")+En(t,e);return console.log(r),r},H0t=(t,...e)=>{let r=Pe.yellow("\u23FA Warn ")+En(t,e);return console.log(r),r},V0t=(t,...e)=>{let r=Pe.bgGreen.bold.white(" \u2713 PASS ")+" "+En(t,e);return console.log(r),r},G0t=t=>{console.log(cge(fge(JSON.parse(JSON.stringify(t))),{spacerNeighbour:Ui("..\u2502..")+" ",keyNoNeighbour:Ui("..\u2514\u2500..")+" ",keyNeighbour:Ui("..\u251C\u2500..")+" ",separator:Ui("..:..")+" "}))};function fge(t){for(let e in t){let r=t[e];Array.isArray(r)?t[e]=r.map(n=>Ui(`**${n}**`)).join(Ui("..,..")):typeof r=="object"?fge(r):t[e]=Ui(`**${r}**`)}return t}var K0t=(t,...e)=>{let r=Pe.red("\u23FA Fail ")+En(t,e);return console.log(r),r},Y0t=x0t(S0t());function Q0t(t){let{message:e,stack:r}=typeof t=="string"?new Error(t):t,n={};return(0,Y0t.default)(r.replace(e,"").replace(/^Error: /,"")).split(`
484
+ `).forEach(i=>{n[i.split(" ").map(s=>s.replace(/^\((.+)\)$/,`${Pe.cyan("$1")}`).replace(/\./g,`${Pe.dim(".")}`).replace(/^at$/,o=>Pe.dim(o))).join(" ")]=null}),{message:e.trim().replace(/Error: /g,""),stackTree:n}}var dge=(t,...e)=>{if(t instanceof Error){let{message:r,stackTree:n}=Q0t(t);return console.log(""),console.log(Pe.bgRed.bold.white(" \u{1D5EB} ERROR ")+" "+Pe.bold.red(r)),console.log(cge(n,{spacerNeighbour:Pe.redBright.dim("\u2502\u2000\u2000"),keyNoNeighbour:Pe.redBright.dim("\u2514\u2500\u2000"),keyNeighbour:Pe.redBright.dim("\u251C\u2500 "),separator:Pe.redBright.dim(":\u2000")})),console.log(""),r}else{let r=En(t,e);return console.log(r),r}};Object.assign(dge,{a:tge,add:tge,d:BL,del:BL,delete:BL,o:nge,valid:nge,x:ige,invalid:ige,i:sge,info:sge,e:rge,error:rge,success:U0t,fail:K0t,warn:H0t,pass:V0t,conflict:W0t,ok:z0t,tree:G0t,paint:Ui});var Ep=dge,hge=class extends DB{constructor(t){super(u0t,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 _r({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=p0t.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 l0t({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=Hhe.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((Hhe.now()-n)*100)/100;if(r.length&&(console.log(""),Ep`**${Mk.default.relative(this.options.cwd,t)}** ..${Mk.default.resolve(this.options.cwd,t)}..`,Ep`[extract] ${r.length} potential`),this.css.rules.length){let o=i.filter(a=>!r.includes(a));o.length&&Ep`[exclude] ${o.length} unknow ${o}`,Ep`[compile] +${i.length}+ valid inserted ${Pe.gray("in")} ${s}ms ${i}`,Ep`[virtual] ${this.css.rules.length} total ${Pe.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 pge.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=UL.default.sync(t,{cwd:this.options.cwd,ignore:e});return r?.length&&n.push(...UL.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 Xi=Kt(Hp());var Ibe=Kt(Qme()),Nbe=Kt(dye()),jbe=Kt(pye());var J=Kt(D3()),xE=[{label:"lang()",kind:J.CompletionItemKind.Function},{label:"has()",kind:J.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:J.CompletionItemKind.Function},{label:"nth-last-child()",kind:J.CompletionItemKind.Function},"first-child","last-child","only-child",{label:"nth-of-type()",kind:J.CompletionItemKind.Function},{label:"nth-last-of-type()",kind:J.CompletionItemKind.Function},"first-of-type","last-of-type","only-of-type","defined","first","fullscreen",{label:"host()",kind:J.CompletionItemKind.Function},{label:"host-context()",kind:J.CompletionItemKind.Function},{label:"is()",kind:J.CompletionItemKind.Function},"left",{label:"not()",kind:J.CompletionItemKind.Function},"right",{label:"where()",kind:J.CompletionItemKind.Function}],F3=["after","before","backdrop","cue","first-letter","first-line","file-selector-button","marker",{label:"part()",kind:J.CompletionItemKind.Function},"placeholder","selection",{label:"slotted()",kind:J.CompletionItemKind.Function},"resizer","search-cancel-button","search-results-button"],hye=["all","print","screen","portrait","landscape","motion","reduced-motion",{label:"media()",kind:J.CompletionItemKind.Function}],gye=["ext","gap","ont","ovf","quotes","bottom","center","left","middle","top","right","px","py","pt","pb","pl","pr","mx","my","mt","mb","ml","mr"],mye=[{label:"var()",kind:J.CompletionItemKind.Function},{label:"calc()",kind:J.CompletionItemKind.Function},"inherit","initial","unset"],Gp=[{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:J.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:J.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:J.CompletionItemKind.Function},{label:"fit-content()",kind:J.CompletionItemKind.Function},{label:"minmax()",kind:J.CompletionItemKind.Function}]},{key:["grid-template-rows"],colorful:!1,values:["none","min-content","max-content",{label:"repeat(,)",kind:J.CompletionItemKind.Function},{label:"fit-content()",kind:J.CompletionItemKind.Function},{label:"minmax()",kind:J.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:J.CompletionItemKind.Unit,sortText:"!0"},{label:"9",kind:J.CompletionItemKind.Unit,sortText:"!1"},{label:"10",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"11",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"12",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"14",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"16",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"18",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"20",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"22",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"24",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"26",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"28",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"36",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"48",kind:J.CompletionItemKind.Unit,sortText:"!2"},{label:"72",kind:J.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:J.CompletionItemKind.Function},{label:"linear-gradient()",kind:J.CompletionItemKind.Function},{label:"radial-gradient()",kind:J.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:J.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:J.CompletionItemKind.Function},{label:"conic-gradient()",kind:J.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:J.CompletionItemKind.Function},{label:"linear-gradient()",kind:J.CompletionItemKind.Function},{label:"image-set()",kind:J.CompletionItemKind.Function},{label:"counter()",kind:J.CompletionItemKind.Function},{label:"attr()",kind:J.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:J.CompletionItemKind.Function},{label:"blur()",kind:J.CompletionItemKind.Function},{label:"brightness()",kind:J.CompletionItemKind.Function},{label:"contrast()",kind:J.CompletionItemKind.Function},{label:"grayscale()",kind:J.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:J.CompletionItemKind.Function},{label:"invert()",kind:J.CompletionItemKind.Function},{label:"sepia()",kind:J.CompletionItemKind.Function},{label:"saturate()",kind:J.CompletionItemKind.Function},{label:"opacity()",kind:J.CompletionItemKind.Function},{label:"drop-shadow()",kind:J.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:J.CompletionItemKind.Function},{label:"linear-gradient()",kind:J.CompletionItemKind.Function},{label:"radial-gradient()",kind:J.CompletionItemKind.Function},{label:"repeating-linear-gradient()",kind:J.CompletionItemKind.Function},{label:"repeating-radial-gradient()",kind:J.CompletionItemKind.Function},{label:"conic-gradient()",kind:J.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:J.CompletionItemKind.Function},{label:"min()",kind:J.CompletionItemKind.Function},{label:"calc()",kind:J.CompletionItemKind.Function},{label:"clamp()",kind:J.CompletionItemKind.Function}]},{key:["shape-outside","shape"],colorful:!1,values:["none","content-box","border-box","padding-box","margin-box",{label:"inset()",kind:J.CompletionItemKind.Function},{label:"circle()",kind:J.CompletionItemKind.Function},{label:"ellipse()",kind:J.CompletionItemKind.Function},{label:"polygon()",kind:J.CompletionItemKind.Function},{label:"url()",kind:J.CompletionItemKind.Function},{label:"linear-gradient()",kind:J.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:J.CompletionItemKind.Function},{label:"circle()",kind:J.CompletionItemKind.Function},{label:"ellipse()",kind:J.CompletionItemKind.Function},{label:"polygon()",kind:J.CompletionItemKind.Function},{label:"path()",kind:J.CompletionItemKind.Function},{label:"url()",kind:J.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:J.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:J.CompletionItemKind.Function},{label:"frames()",kind:J.CompletionItemKind.Function}]},{key:["transform"],colorful:!1,values:[{label:"translate()",kind:J.CompletionItemKind.Function},{label:"translate3d()",kind:J.CompletionItemKind.Function},{label:"translateX()",kind:J.CompletionItemKind.Function},{label:"translateY()",kind:J.CompletionItemKind.Function},{label:"translateZ()",kind:J.CompletionItemKind.Function},{label:"scale()",kind:J.CompletionItemKind.Function},{label:"scale3d()",kind:J.CompletionItemKind.Function},{label:"scaleX()",kind:J.CompletionItemKind.Function},{label:"scaleY()",kind:J.CompletionItemKind.Function},{label:"scaleZ()",kind:J.CompletionItemKind.Function},{label:"skew()",kind:J.CompletionItemKind.Function},{label:"skewX()",kind:J.CompletionItemKind.Function},{label:"skewY()",kind:J.CompletionItemKind.Function},{label:"rotate()",kind:J.CompletionItemKind.Function},{label:"rotate3d()",kind:J.CompletionItemKind.Function},{label:"rotateX()",kind:J.CompletionItemKind.Function},{label:"rotateY()",kind:J.CompletionItemKind.Function},{label:"rotateZ()",kind:J.CompletionItemKind.Function},{label:"perspective()",kind:J.CompletionItemKind.Function},{label:"matrix()",kind:J.CompletionItemKind.Function},{label:"matrix3d()",kind:J.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:J.CompletionItemKind.Function},{label:"cubic-bezier(,,,)",kind:J.CompletionItemKind.Function},{label:"frames()",kind:J.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:J.CompletionItemKind.Function},{label:"blur()",kind:J.CompletionItemKind.Function},{label:"brightness()",kind:J.CompletionItemKind.Function},{label:"contrast()",kind:J.CompletionItemKind.Function},{label:"grayscale()",kind:J.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:J.CompletionItemKind.Function},{label:"invert()",kind:J.CompletionItemKind.Function},{label:"sepia()",kind:J.CompletionItemKind.Function},{label:"saturate()",kind:J.CompletionItemKind.Function},{label:"opacity()",kind:J.CompletionItemKind.Function},{label:"drop-shadow()",kind:J.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:J.CompletionItemKind.Function},{label:"blur()",kind:J.CompletionItemKind.Function},{label:"brightness()",kind:J.CompletionItemKind.Function},{label:"contrast()",kind:J.CompletionItemKind.Function},{label:"drop-shadow()",kind:J.CompletionItemKind.Function},{label:"grayscale()",kind:J.CompletionItemKind.Function},{label:"hue-rotate(degree)",kind:J.CompletionItemKind.Function},{label:"invert()",kind:J.CompletionItemKind.Function},{label:"opacity()",kind:J.CompletionItemKind.Function},{label:"saturate()",kind:J.CompletionItemKind.Function},{label:"sepia()",kind:J.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:[]}],yye=[{type:"color",values:["#",{label:"rgb()",kind:J.CompletionItemKind.Function},{label:"hsl()",kind:J.CompletionItemKind.Function}]}];var yr=Kt(Hp());var Cye=Kt(Eye()),Yp=[];Yp=Yp.concat(gye);Gp.forEach(t=>{Yp=Yp.concat(t.key)});var Ha=[...new Set(Yp)];function Dye(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 Oye(t,e,r,n,i=new _r){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(/:[^:]+/)&&!xE.find(w=>(typeof w=="string"?w:w.label)===`:${v}`)).map(v=>(v=v.substring(1),v.endsWith(")")?{label:v,kind:yr.CompletionItemKind.Function}:v)),g=Object.keys(i.config.selectors??{}).map(v=>v.endsWith("(")?`${v})`:v).filter(v=>v.match(/::[^:]+/)&&!F3.find(w=>(typeof w=="string"?w:w.label)===`::${v}`)).map(v=>(v=v.substring(2),v.endsWith(")")?{label:v,kind:yr.CompletionItemKind.Function}:v));return Gp.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,Cye.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 _=yye.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(an(Ha,yr.CompletionItemKind.Property,":")),s=s.concat(an(Object.keys(i.config.semantics??{}),yr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Va(a,s):s):r==!0?[]:!Ha.includes(a)&&e!==":"?(s=s.concat(an(Ha,yr.CompletionItemKind.Property,":")),s=s.concat(an(Object.keys(i.config.semantics??{}),yr.CompletionItemKind.Property)),n=="tsx"||n=="vue"||n=="jsx"?Va(a,s):s):Ha.includes(a)&&a!==null&&h===!0?(s=s.concat(an(F3,yr.CompletionItemKind.Property)),s=s.concat(an(g,yr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Va(l,s):s):Ha.includes(a)&&a!==null&&p===!0?(s=s.concat(an(hye,yr.CompletionItemKind.Property)),s=s.concat(an(Object.keys(i.config.breakpoints??{}),yr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Va("@"+l,s):s):Object.keys(i.config.semantics??{}).includes(a)&&!Gp.find(v=>v.key.includes(a))?(s=s.concat(an(xE,yr.CompletionItemKind.Property)),s=s.concat(an(b,yr.CompletionItemKind.Property)),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Va(l,s):s):Ha.includes(a)&&o<=2&&!(o==2&&e===":")?(s=s.concat(an(y,yr.CompletionItemKind.Enum)),s=s.concat(an(mye,yr.CompletionItemKind.Enum).map(v=>(v.sortText="z"+v,v))),d&&(s=s.concat(J1t(i))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Va(l,s):s):((Ha.includes(a)&&(o==2&&e===":"||o>=3)||Gp.find(v=>v.values.includes(a)))&&(s=s.concat(an(xE,yr.CompletionItemKind.Function)),s=s.concat(an(b,yr.CompletionItemKind.Property))),(n=="tsx"||n=="vue"||n=="jsx")&&e!=="@"&&e!==":"?Va(l,s):s)}function an(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 J1t(t=new _r){let e=[];return Object.keys(t.colorThemesMap).forEach(r=>{let n=t.colorThemesMap[r];e.push({label:r,documentation:Object.values(n)[0],kind:yr.CompletionItemKind.Color,sortText:`${r}`})}),e}function Va(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 Rbe=Kt(qbe());function Abe(t,e,r=new _r){let n=_5(t.split(" "),r.config);return!n||n==" "?null:{contents:{language:"css",value:(0,Rbe.css_beautify)(n,{newline_between_rules:!0,end_with_newline:!0})},range:e}}var Qa=Kt(Hp());var ME=/[^\s:]+:\w*\(?((?<!\\)["'`])((?:\\\1|(?:(?!\1))[\S\s])*)((?<!\\)\1)\)?|[^\s"'`]+/g;function FE(t,e,r,n){let i={IsMatch:!1,PositionIndex:0,classStartIndex:0,classEndIndex:0,classString:"",instance:{range:{start:Qa.Position.create(0,0),end:Qa.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=ME.exec(f[2]))!==null;)i.instanceList.push({range:{start:s?.positionAt(f.index+f[1].length+c.index)??Qa.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Qa.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)??Qa.Position.create(0,0),end:s?.positionAt(f.index+f[1].length+c.index+c[0].length)??Qa.Position.create(0,0)},instanceString:c[0]});return i}else if(f.index>a)break}),i}var wr=Kt(Hp());function LE(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 Tbe(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)??wr.Position.create(0,0),end:i?.positionAt(o.index+u.index+u[0].length-1)??wr.Position.create(0,0)},color:IE(LE(u[2]))};r.push(c)}return r}async function Mbe(t,e,r,n=new _r){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=ME.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)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:IE({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)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:IE(rkt(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)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:IE(LE(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)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:Pbe(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)??wr.Position.create(0,0),end:o?.positionAt(f+g.index+g[0].length)??wr.Position.create(0,0)},color:Pbe(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 Pbe(t,e=1,r="",n=new _r){try{let i=n.colorThemesMap[t],s=LE(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 un(t){let e=t.toString(16);return e.length!==2?"0"+e:e}function tkt(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 rkt(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 IE(t){return{red:t.red/255,green:t.green/255,blue:t.blue/255,alpha:t.alpha}}function Fbe(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=`'#${un(s)}${un(o)}${un(a)}`:u=`'#${un(s)}${un(o)}${un(a)}${un(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:wr.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:wr.TextEdit.replace(i,u)}),n.alpha===1?u=`#${un(s)}${un(o)}${un(a)}`:u=`#${un(s)}${un(o)}${un(a)}${un(Math.round(n.alpha*255))}`,r.push({label:u,textEdit:wr.TextEdit.replace(i,u)});let l=tkt(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:wr.TextEdit.replace(i,u)}),r}var ln=(0,Xi.createConnection)(Xi.ProposedFeatures.all),Ji=new Xi.TextDocuments(jbe.TextDocument),jE=!1,Lbe=!1,nkt=!1,Qi,ah,$be={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},Bbe=$be,NE=new Map;ln.onDidChangeConfiguration(t=>{jE?NE.clear():Bbe=t.settings.languageServerExample||$be,Ji.all().forEach(Wbe)});async function ikt(t){if(!jE)return Promise.resolve(Bbe);let e=NE.get(t);e||(e=ln.workspace.getConfiguration({scopeUri:t,section:"masterCSS"}),NE.set(t,e)),ln.workspace.getWorkspaceFolders();let r=await ln.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 hge({cwd:(0,Ibe.default)(n.uri.replace("%3A",":"))})).readConfig();console.log(s),ah=new _r(s)}catch{ah=new _r}}catch{}return e}Ji.onDidClose(t=>{NE.delete(t.document.uri)});Ji.onDidOpen(t=>{Wbe(t.document)});async function Wbe(t){Qi=await ikt(t.uri)}ln.onInitialize(t=>{let e=t.capabilities;jE=!!(e.workspace&&e.workspace.configuration),Lbe=!!(e.workspace&&e.workspace.workspaceFolders),nkt=!!(e.textDocument&&e.textDocument.publishDiagnostics&&e.textDocument.publishDiagnostics.relatedInformation);let r={capabilities:{textDocumentSync:Xi.TextDocumentSyncKind.Incremental,completionProvider:{resolveProvider:!0,workDoneProgress:!1,triggerCharacters:[":","@","~"]},colorProvider:{},hoverProvider:!0}};return Lbe&&(r.capabilities.workspace={workspaceFolders:{supported:!0}}),r});ln.onInitialized(()=>{jE&&ln.client.register(Xi.DidChangeConfigurationNotification.type,void 0)});ln.onCompletion(t=>{if(Qi.suggestions==!0&&$E(t.textDocument.uri)){let e=FE(t.textDocument.uri,t.position,Ji,Qi.classNameMatches).IsMatch,r=Dye(t,Ji);if(r.isInstance==!0&&e==!0)return Oye(r.lastKey,r.triggerKey,r.isStart,r.language,ah)}return[]});ln.onCompletionResolve(t=>t);ln.onDocumentColor(async t=>{if(Qi==null)return[];if(Qi.PreviewColor==!0&&$E(t.textDocument.uri)){let e=await Mbe(t,Ji,Qi.classNameMatches,ah);return e=e.concat(await Tbe(t,Ji)),e}return[]});ln.onColorPresentation(t=>{if(Qi.PreviewColor==!0&&$E(t.textDocument.uri)){let e=["(?<=colors:\\s*{\\s*.*)([^}]*)}"],r=FE(t.textDocument.uri,t.range.start,Ji,e);return Fbe(t,r.IsMatch)}return[]});ln.onHover(t=>{if(Qi.PreviewOnHovers==!0&&$E(t.textDocument.uri)){let e=FE(t.textDocument.uri,t.position,Ji,Qi.classNameMatches);if(e.IsMatch)return Abe(e.instance.instanceString,e.instance.range,ah)}return null});function $E(t){for(let e of Qi.files.exclude)if((0,Nbe.default)(t,e))return!1;return!0}Ji.listen(ln);ln.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
+ */