"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["89034"],{34869:function(e,t,r){function i(e){e?(t=/^(exx?|(ld|cp)([di]r?)?|[lp]ea|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|[de]i|halt|im|in([di]mr?|ir?|irx|2r?)|ot(dmr?|[id]rx|imr?)|out(0?|[di]r?|[di]2r?)|tst(io)?|slp)(\.([sl]?i)?[sl])?\b/i,r=/^(((call|j[pr]|rst|ret[in]?)(\.([sl]?i)?[sl])?)|(rs|st)mix)\b/i):(t=/^(exx?|(ld|cp|in)([di]r?)?|pop|push|ad[cd]|cpl|daa|dec|inc|neg|sbc|sub|and|bit|[cs]cf|x?or|res|set|r[lr]c?a?|r[lr]d|s[lr]a|srl|djnz|nop|rst|[de]i|halt|im|ot[di]r|out[di]?)\b/i,r=/^(call|j[pr]|ret[in]?|b_?(call|jump))\b/i);var t,r,i=/^(af?|bc?|c|de?|e|hl?|l|i[xy]?|r|sp)\b/i,n=/^(n?[zc]|p[oe]?|m)\b/i,l=/^([hl][xy]|i[xy][hl]|slia|sll)\b/i,s=/^([\da-f]+h|[0-7]+o|[01]+b|\d+d?)\b/i;return{name:"z80",startState:function(){return{context:0}},token:function(a,c){var o;if(a.column()||(c.context=0),a.eatSpace())return null;if(a.eatWhile(/\w/)){if(e&&a.eat(".")&&a.eatWhile(/\w/),o=a.current(),a.indentation()){if((1==c.context||4==c.context)&&i.test(o))return c.context=4,"variable";if(2==c.context&&n.test(o))return c.context=4,"variableName.special";if(t.test(o))return c.context=1,"keyword";if(r.test(o))return c.context=2,"keyword";if(4==c.context&&s.test(o))return"number";if(l.test(o))return"error"}else if(a.match(s))return"number"}else if(a.eat(";"))return a.skipToEnd(),"comment";else if(a.eat('"')){for(;(o=a.next())&&'"'!=o;)"\\"==o&&a.next();return"string"}else if(a.eat("'")){if(a.match(/\\?.'/))return"number"}else if(a.eat(".")||a.sol()&&a.eat("#")){if(c.context=5,a.eatWhile(/\w/))return"def"}else if(a.eat("$")){if(a.eatWhile(/[\da-f]/i))return"number"}else if(a.eat("%")){if(a.eatWhile(/[01]/))return"number"}else a.next();return null}}}r.r(t),r.d(t,{ez80:()=>l,z80:()=>n});let n=i(!1),l=i(!0)}}]);
//# sourceMappingURL=89034.js.map