"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[4190],{4190(a,r,i){i.d(r,{spreadsheet:()=>t});const t={name:"spreadsheet",startState:function(){return{stringType:null,stack:[]}},token:function(e,c){if(e){switch(0===c.stack.length&&('"'==e.peek()||"'"==e.peek())&&(c.stringType=e.peek(),e.next(),c.stack.unshift("string")),c.stack[0]){case"string":for(;"string"===c.stack[0]&&!e.eol();)e.peek()===c.stringType?(e.next(),c.stack.shift()):"\\"===e.peek()?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;"characterClass"===c.stack[0]&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||c.stack.shift();return"operator"}var n=e.peek();switch(n){case"[":return e.next(),c.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string.special":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable":-1!=["[","]","(",")","{","}"].indexOf(n)?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}}]);