import{A as $}from"./index.f4d41e67.entry.js";import{a as I}from"./clike.b91f6614.js";function j(a,d){return d.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(i){if(i!=="default"&&!(i in a)){var l=Object.getOwnPropertyDescriptor(r,i);Object.defineProperty(a,i,l.get?l:{enumerable:!0,get:function(){return r[i]}})}})}),Object.freeze(Object.defineProperty(a,Symbol.toStringTag,{value:"Module"}))}var w={exports:{}};(function(a,d){(function(r){r($.exports,I.exports)})(function(r){var i="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required".split(" "),l="try catch finally do else for if switch while".split(" "),v="true false null".split(" "),h="void bool num int double dynamic var String Null Never".split(" ");function u(e){for(var n={},t=0;t<e.length;++t)n[e[t]]=!0;return n}function x(e){(e.interpolationStack||(e.interpolationStack=[])).push(e.tokenize)}function b(e){return(e.interpolationStack||(e.interpolationStack=[])).pop()}function m(e){return e.interpolationStack?e.interpolationStack.length:0}r.defineMIME("application/dart",{name:"clike",keywords:u(i),blockKeywords:u(l),builtin:u(h),atoms:u(v),hooks:{"@":function(e){return e.eatWhile(/[\w\$_\.]/),"meta"},"'":function(e,n){return p("'",e,n,!1)},'"':function(e,n){return p('"',e,n,!1)},r:function(e,n){var t=e.peek();return t=="'"||t=='"'?p(e.next(),e,n,!0):!1},"}":function(e,n){return m(n)>0?(n.tokenize=b(n),null):!1},"/":function(e,n){return e.eat("*")?(n.tokenize=k(1),n.tokenize(e,n)):!1},token:function(e,n,t){if(t=="variable"){var o=RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g");if(o.test(e.current()))return"variable-2"}}}});function p(e,n,t,o){var y=!1;if(n.eat(e))if(n.eat(e))y=!0;else return"string";function g(c,s){for(var f=!1;!c.eol();){if(!o&&!f&&c.peek()=="$")return x(s),s.tokenize=S,"string";var z=c.next();if(z==e&&!f&&(!y||c.match(e+e))){s.tokenize=null;break}f=!o&&!f&&z=="\\"}return"string"}return t.tokenize=g,g(n,t)}function S(e,n){return e.eat("$"),e.eat("{")?n.tokenize=null:n.tokenize=_,null}function _(e,n){return e.eatWhile(/[\w_]/),n.tokenize=b(n),"variable"}function k(e){return function(n,t){for(var o;o=n.next();)if(o=="*"&&n.eat("/"))if(e==1){t.tokenize=null;break}else return t.tokenize=k(e-1),t.tokenize(n,t);else if(o=="/"&&n.eat("*"))return t.tokenize=k(e+1),t.tokenize(n,t);return"comment"}}r.registerHelper("hintWords","application/dart",i.concat(v).concat(h)),r.defineMode("dart",function(e){return r.getMode(e,"application/dart")},"clike")})})();var O=w.exports,N=j({__proto__:null,default:O},[w.exports]);export{N as d};
