mirror of
https://github.com/owncast/owncast.git
synced 2024-12-23 09:40:49 +03:00
1 line
No EOL
2.1 KiB
JavaScript
Vendored
1 line
No EOL
2.1 KiB
JavaScript
Vendored
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7988],{17988:function(e,t,$){function n(e){return RegExp("^(("+e.join(")|(")+"))\\b","i")}$.r(t),$.d(t,{mumps:function(){return d}});var o=RegExp("^[\\+\\-\\*/&#!_?\\\\<>=\\'\\[\\]]"),a=RegExp("^(('=)|(<=)|(>=)|('>)|('<)|([[)|(]])|(^$))"),r=RegExp("^[\\.,:]"),c=/[()]/,m=RegExp("^[%A-Za-z][A-Za-z0-9]*"),i=n(["\\$ascii","\\$char","\\$data","\\$ecode","\\$estack","\\$etrap","\\$extract","\\$find","\\$fnumber","\\$get","\\$horolog","\\$io","\\$increment","\\$job","\\$justify","\\$length","\\$name","\\$next","\\$order","\\$piece","\\$qlength","\\$qsubscript","\\$query","\\$quit","\\$random","\\$reverse","\\$select","\\$stack","\\$test","\\$text","\\$translate","\\$view","\\$x","\\$y","\\$a","\\$c","\\$d","\\$e","\\$ec","\\$es","\\$et","\\$f","\\$fn","\\$g","\\$h","\\$i","\\$j","\\$l","\\$n","\\$na","\\$o","\\$p","\\$q","\\$ql","\\$qs","\\$r","\\$re","\\$s","\\$st","\\$t","\\$tr","\\$v","\\$z"]),l=n(["break","close","do","else","for","goto","halt","hang","if","job","kill","lock","merge","new","open","quit","read","set","tcommit","trollback","tstart","use","view","write","xecute","b","c","d","e","f","g","h","i","j","k","l","m","n","o","q","r","s","tc","tro","ts","u","v","w","x"]);let d={name:"mumps",startState:function(){return{label:!1,commandMode:0}},token:function(e,t){var $,n,d=($=t,e.sol()&&($.label=!0,$.commandMode=0),(" "==(n=e.peek())||" "==n?($.label=!1,0==$.commandMode?$.commandMode=1:($.commandMode<0||2==$.commandMode)&&($.commandMode=0)):"."!=n&&$.commandMode>0&&(":"==n?$.commandMode=-1:$.commandMode=2),("("===n||" "===n)&&($.label=!1),";"===n)?(e.skipToEnd(),"comment"):e.match(/^[-+]?\d+(\.\d+)?([eE][-+]?\d+)?/)?"number":'"'==n?e.skipTo('"')?(e.next(),"string"):(e.skipToEnd(),"error"):e.match(a)||e.match(o)?"operator":e.match(r)?null:c.test(n)?(e.next(),"bracket"):$.commandMode>0&&e.match(l)?"controlKeyword":e.match(i)?"builtin":e.match(m)?"variable":"$"===n||"^"===n?(e.next(),"builtin"):"@"===n?(e.next(),"string.special"):/[\w%]/.test(n)?(e.eatWhile(/[\w%]/),"variable"):(e.next(),"error"));return t.label?"tag":d}}}}]); |