"use strict";(self.webpackChunksc_components=self.webpackChunksc_components||[]).push([[9058],{89058(h,u,s){s.d(u,{pascal:()=>b});var f=function p(r){for(var n={},e=r.split(" "),t=0;t<e.length;++t)n[e[t]]=!0;return n}("absolute and array asm begin case const constructor destructor div do downto else end file for function goto if implementation in inherited inline interface label mod nil not object of operator or packed procedure program record reintroduce repeat self set shl shr string then to type unit until uses var while with xor as class dispinterface except exports finalization finally initialization inline is library on out packed property raise resourcestring threadvar try absolute abstract alias assembler bitpacked break cdecl continue cppdecl cvar default deprecated dynamic enumerator experimental export external far far16 forward generic helper implements index interrupt iocheck local message name near nodefault noreturn nostackframe oldfpccall otherwise overload override pascal platform private protected public published read register reintroduce result safecall saveregisters softfloat specialize static stdcall stored strict unaligned unimplemented varargs virtual write"),d={null:!0},o=/[+\-*&%=<>!?|\/]/;function k(r,n){var e=r.next();if("#"==e&&n.startOfLine)return r.skipToEnd(),"meta";if('"'==e||"'"==e)return n.tokenize=function m(r){return function(n,e){for(var i,t=!1,c=!1;null!=(i=n.next());){if(i==r&&!t){c=!0;break}t=!t&&"\\"==i}return(c||!t)&&(e.tokenize=null),"string"}}(e),n.tokenize(r,n);if("("==e&&r.eat("*"))return n.tokenize=a,a(r,n);if("{"==e)return n.tokenize=l,l(r,n);if(/[\[\]\(\),;\:\.]/.test(e))return null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if("/"==e&&r.eat("/"))return r.skipToEnd(),"comment";if(o.test(e))return r.eatWhile(o),"operator";r.eatWhile(/[\w\$_]/);var t=r.current().toLowerCase();return f.propertyIsEnumerable(t)?"keyword":d.propertyIsEnumerable(t)?"atom":"variable"}function a(r,n){for(var t,e=!1;t=r.next();){if(")"==t&&e){n.tokenize=null;break}e="*"==t}return"comment"}function l(r,n){for(var e;e=r.next();)if("}"==e){n.tokenize=null;break}return"comment"}const b={name:"pascal",startState:function(){return{tokenize:null}},token:function(r,n){return r.eatSpace()?null:(n.tokenize||k)(r,n)},languageData:{indentOnInput:/^\s*[{}]$/,commentTokens:{block:{open:"(*",close:"*)"}}}}}}]);