(self.webpackChunkbit_workspace=self.webpackChunkbit_workspace||[]).push([["33036"],{935930(e){function n(e){return e?"string"==typeof e?e:e.source:null}function a(...e){return e.map(e=>n(e)).join("")}e.exports=function(e){var t,s;let i,l,r,c,o,m,d,b,g,u,p,h,N,k,w=(t=e,i={"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"]},c=function(...e){return"("+e.map(e=>n(e)).join("|")+")"}(/""|"[^"]+"/,/''|'[^']+'/,l=/\[\]|\[[^\]]+\]/,r=/[^\s!"#%&'()*+,.\/;<=>@\[\\\]^`{|}~]+/),o=a(a("(",/\.|\.\/|\//,")?"),c,(s=a(/(\.|\/)/,c),a("(",s,")*"))),m=a("(",l,"|",r,")(?==)"),d={begin:o,lexemes:/[\w.\/]+/},b=t.inherit(d,{keywords:{literal:["true","false","undefined","null"]}}),g={begin:/\(/,end:/\)/},u={className:"attr",begin:m,relevance:0,starts:{begin:/=/,end:/=/,starts:{contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,b,g]}}},p={contains:[t.NUMBER_MODE,t.QUOTE_STRING_MODE,t.APOS_STRING_MODE,{begin:/as\s+\|/,keywords:{keyword:"as"},end:/\|/,contains:[{begin:/\w+/}]},u,b,g],returnEnd:!0},g.contains=[t.inherit(d,{className:"name",keywords:i,starts:t.inherit(p,{end:/\)/})})],h=t.inherit(d,{keywords:i,className:"name",starts:t.inherit(p,{end:/\}\}/})}),N=t.inherit(d,{keywords:i,className:"name"}),k=t.inherit(d,{className:"name",keywords:i,starts:t.inherit(p,{end:/\}\}/})}),{name:"Handlebars",aliases:["hbs","html.hbs","html.handlebars","htmlbars"],case_insensitive:!0,subLanguage:"xml",contains:[{begin:/\\\{\{/,skip:!0},{begin:/\\\\(?=\{\{)/,skip:!0},t.COMMENT(/\{\{!--/,/--\}\}/),t.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:[k]},{className:"template-variable",begin:/\{\{/,end:/\}\}/,contains:[k]}]});return w.name="HTMLbars",e.getLanguage("handlebars")&&(w.disableAutodetect=!0),w}}}]);