import{p as n}from"./vendor-lezer-sass-Dnm2lY4t.js";import{L as s,b as i,g as t,h as m,c as a,d as p}from"./vendor-codemirror-language-BgPj_McA.js";import{defineCSSCompletionSource as d}from"./vendor-codemirror-lang-css-O0cZX78y.js";import"./vendor-lezer-lr-bhwg1HMg.js";import"./vendor-lezer-common-B3-cUCR_.js";import"./vendor-lezer-highlight-CDMHUZ74.js";import"./vendor-codemirror-state-C9awkmn-.js";import"./vendor-marijn-find-cluster-break-DXwl3gUT.js";import"./vendor-codemirror-view-CiLROUVV.js";import"./vendor-style-mod-NZ5MEPvj.js";import"./vendor-w3c-keyname-Vcq4gwWv.js";import"./vendor-crelt-C8TCjufn.js";import"./vendor-lezer-css-C5xB6jxd.js";const e=i.define({name:"sass",parser:n.configure({props:[t.add({Block:m,Comment(o,r){return{from:o.from+2,to:r.sliceDoc(o.to-2,o.to)=="*/"?o.to-2:o.to}}}),a.add({Declaration:p()})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"$-"}}),l=e.configure({dialect:"indented",props:[a.add({"Block RuleSet":o=>o.baseIndent+o.unit}),t.add({Block:o=>({from:o.from,to:o.to})})]}),u=d(o=>o.name=="VariableName"||o.name=="SassVariableName");function v(o){return new s(o?.indented?l:e,e.data.of({autocomplete:u}))}export{v as sass,u as sassCompletionSource,e as sassLanguage};
