!function(e){"object"==typeof exports&&"object"==typeof module?e(require("../../lib/codemirror"),require("../clike/clike")):"function"==typeof define&&define.amd?define(["../../lib/codemirror","../clike/clike"],e):e(CodeMirror)}(function(e){"use strict";function t(e){for(var t={},i=0;i<e.length;++i)t[e[i]]=!0;return t}var i="this super static final const abstract class extends external factory implements get native operator set typedef with enum throw rethrow assert break case continue default in return new deferred async await try catch finally do else for if switch while import library export part of show hide is".split(" "),r="try catch finally do else for if switch while".split(" "),o="true false null".split(" "),n="void bool num int double dynamic var String".split(" ");e.defineMIME("application/dart",{name:"clike",keywords:t(i),multiLineStrings:!0,blockKeywords:t(r),builtin:t(n),atoms:t(o),hooks:{"@":function(e){return e.eatWhile(/[\w\$_]/),"meta"}}}),e.registerHelper("hintWords","application/dart",i.concat(o).concat(n)),e.defineMode("dart",function(t){return e.getMode(t,"application/dart")},"clike")});