import{g as e}from"./vendor-react-Dp9pL_Wn.js";import{r}from"./c72812e30-Dt73lnnt.js";import{r as n}from"./ce37e8d91-DX1WBIeC.js";function t(e,r){for(var n=0;n<r.length;n++){const t=r[n];if("string"!=typeof t&&!Array.isArray(t))for(const r in t)if("default"!==r&&!(r in e)){const n=Object.getOwnPropertyDescriptor(t,r);n&&Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return Object.freeze(Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}))}var a,o;var i=function(){if(o)return a;o=1;var e=r(),t=n();function i(r){var n;r.register(e),r.register(t),(n=r).languages.erb={delimiter:{pattern:/^(\s*)<%=?|%>(?=\s*$)/,lookbehind:!0,alias:"punctuation"},ruby:{pattern:/\s*\S[\s\S]*/,alias:"language-ruby",inside:n.languages.ruby}},n.hooks.add("before-tokenize",function(e){n.languages["markup-templating"].buildPlaceholders(e,"erb",/<%=?(?:[^\r\n]|[\r\n](?!=begin)|[\r\n]=begin\s(?:[^\r\n]|[\r\n](?!=end))*[\r\n]=end)+?%>/g)}),n.hooks.add("after-tokenize",function(e){n.languages["markup-templating"].tokenizePlaceholders(e,"erb")})}return a=i,i.displayName="erb",i.aliases=[],a}();const s=t({__proto__:null,default:e(i)},[i]);export{s as e};
