(window.textWebpackJsonp=window.textWebpackJsonp||[]).push([[78],{484:function(e,n,a){"use strict";function t(e){return e?"string"==typeof e?e:e.source:null}function s(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var s=n.map((function(e){return t(e)})).join("");return s}function i(e){var n={"builtin-name":["action","bindattr","collection","component","concat","debugger","each","each-in","get","hash","if","in","input","link-to","loc","log","lookup","mut","outlet","partial","query-params","render","template","textarea","unbound","unless","view","with","yield"].join(" ")},a={literal:["true","false","undefined","null"].join(" ")},i=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/,l=function(){for(var e=arguments.length,n=new Array(e),a=0;a<e;a++)n[a]=arguments[a];var s="("+n.map((function(e){return t(e)})).join("|")+")";return s}(/""|"[^"]+"/,/''|'[^']+'/,i,r),o=s(s("(",/\.|\.\/|\//,")?"),l,function(e){return s("(",e,")*")}(s(/(\.|\/)/,l))),c=s("(",i,"|",r,")(?==)"),u={begin:o,lexemes:/[\w.\/]+/},d=e.inherit(u,{keywords:a}),m={begin:/\(/,end:/\)/},g={className:"attr",begin:c,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,d,m]}}},b={contains:[e.NUMBER_MODE,e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},g,d,m],returnEnd:!0},p=e.inherit(u,{className:"name",keywords:n,starts:e.inherit(b,{end:/\)/})});m.contains=[p];var h=e.inherit(u,{keywords:n,className:"name",starts:e.inherit(b,{end:/\}\}/})}),N=e.inherit(u,{keywords:n,className:"name"}),w=e.inherit(u,{className:"name",keywords:n,starts:e.inherit(b,{end:/\}\}/})});return{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},e.COMMENT(/\{\{!--/,/--\}\}/),e.COMMENT(/\{\{!/,/\}\}/),{className:"template-tag",begin:/\{\{\{\{(?!\/)/,end:/\}\}\}\}/,contains:[h],starts:{end:/\{\{\{\{\//,returnEnd:!0,subLanguage:"xml"}},{className:"template-tag",begin:/\{\{\{\{\//,end:/\}\}\}\}/,contains:[N]},{className:"template-tag",begin:/\{\{#/,end:/\}\}/,contains:[h]},{className:"template-tag",begin:/\{\{(?=else\}\})/,end:/\}\}/,keywords:"else"},{className:"template-tag",begin:/\{\{(?=else if)/,end:/\}\}/,keywords:"else if"},{className:"template-tag",begin:/\{\{\//,end:/\}\}/,contains:[N]},{className:"template-variable",begin:/\{\{\{/,end:/\}\}\}/,contains:[w]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[w]}]}}e.exports=function(e){var n=i(e);return n.name="HTMLbars",e.getLanguage("handlebars")&&(n.disableAutodetect=!0),n}}}]);
//# sourceMappingURL=htmlbars.js.map?v=4a5ce460da4ea33569ee