(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,426226,e=>{"use strict";var t=e.i(453687);function n(e){e.register(t.default);function n(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(t,a,r,o){if(t.language===a){var i=t.tokenStack=[];t.code=t.code.replace(r,function(e){if("function"==typeof o&&!o(e))return e;for(var r,u=i.length;-1!==t.code.indexOf(r=n(a,u));)++u;return i[u]=e,r}),t.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(t,a){if(t.language===a&&t.tokenStack){t.grammar=e.languages[a];var r=0,o=Object.keys(t.tokenStack);!function i(u){for(var c=0;c<u.length&&!(r>=o.length);c++){var l=u[c];if("string"==typeof l||l.content&&"string"==typeof l.content){var s=o[r],g=t.tokenStack[s],p="string"==typeof l?l:l.content,f=n(a,s),k=p.indexOf(f);if(k>-1){++r;var d=p.substring(0,k),m=new e.Token(a,e.tokenize(g,t.grammar),"language-"+a,g),h=p.substring(k+f.length),v=[];d&&v.push.apply(v,i([d])),v.push(m),h&&v.push.apply(v,i([h])),"string"==typeof l?u.splice.apply(u,[c,1].concat(v)):l.content=v}}else l.content&&i(l.content)}return u}(t.tokens)}}}})}n.displayName="markup-templating",n.aliases=[],e.s(["default",0,n])}]);