import{g as e}from"./vendor-react-Dp9pL_Wn.js";import{r as a}from"./ce37e8d91-DX1WBIeC.js";function r(e,a){for(var r=0;r<a.length;r++){const t=a[r];if("string"!=typeof t&&!Array.isArray(t))for(const a in t)if("default"!==a&&!(a in e)){const r=Object.getOwnPropertyDescriptor(t,a);r&&Object.defineProperty(e,a,r.get?r:{enumerable:!0,get:()=>t[a]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var t,n;var s=function(){if(n)return t;n=1;var e=a();function r(a){var r;a.register(e),(r=a).languages.handlebars={comment:/\{\{![\s\S]*?\}\}/,delimiter:{pattern:/^\{\{\{?|\}\}\}?$/,alias:"punctuation"},string:/(["'])(?:\\.|(?!\1)[^\\\r\n])*\1/,number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][+-]?\d+)?/,boolean:/\b(?:false|true)\b/,block:{pattern:/^(\s*(?:~\s*)?)[#\/]\S+?(?=\s*(?:~\s*)?$|\s)/,lookbehind:!0,alias:"keyword"},brackets:{pattern:/\[[^\]]+\]/,inside:{punctuation:/\[|\]/,variable:/[\s\S]+/}},punctuation:/[!"#%&':()*+,.\/;<=>@\[\\\]^`{|}~]/,variable:/[^!"#%&'()*+,\/;<=>@\[\\\]^`{|}~\s]+/},r.hooks.add("before-tokenize",function(e){r.languages["markup-templating"].buildPlaceholders(e,"handlebars",/\{\{\{[\s\S]+?\}\}\}|\{\{[\s\S]+?\}\}/g)}),r.hooks.add("after-tokenize",function(e){r.languages["markup-templating"].tokenizePlaceholders(e,"handlebars")}),r.languages.hbs=r.languages.handlebars}return t=r,r.displayName="handlebars",r.aliases=["hbs"],t}();const o=r({__proto__:null,default:e(s)},[s]);export{o as h};
