(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,426226,e=>{"use strict";var t=e.i(453687);function a(e){e.register(t.default);function a(e,t){return"___"+e.toUpperCase()+t+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(t,n,r,i){if(t.language===n){var s=t.tokenStack=[];t.code=t.code.replace(r,function(e){if("function"==typeof i&&!i(e))return e;for(var r,o=s.length;-1!==t.code.indexOf(r=a(n,o));)++o;return s[o]=e,r}),t.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(t,n){if(t.language===n&&t.tokenStack){t.grammar=e.languages[n];var r=0,i=Object.keys(t.tokenStack);!function s(o){for(var l=0;l<o.length&&!(r>=i.length);l++){var u=o[l];if("string"==typeof u||u.content&&"string"==typeof u.content){var g=i[r],c=t.tokenStack[g],p="string"==typeof u?u:u.content,d=a(n,g),f=p.indexOf(d);if(f>-1){++r;var k=p.substring(0,f),E=new e.Token(n,e.tokenize(c,t.grammar),"language-"+n,c),m=p.substring(f+d.length),S=[];k&&S.push.apply(S,s([k])),S.push(E),m&&S.push.apply(S,s([m])),"string"==typeof u?o.splice.apply(o,[l,1].concat(S)):u.content=S}}else u.content&&s(u.content)}return o}(t.tokens)}}}})}a.displayName="markup-templating",a.aliases=[],e.s(["default",0,a])},234215,e=>{"use strict";var t=e.i(860958),a=e.i(426226);function n(e){e.register(t.default),e.register(a.default),e.languages.tt2=e.languages.extend("clike",{comment:/#.*|\[%#[\s\S]*?%\]/,keyword:/\b(?:BLOCK|CALL|CASE|CATCH|CLEAR|DEBUG|DEFAULT|ELSE|ELSIF|END|FILTER|FINAL|FOREACH|GET|IF|IN|INCLUDE|INSERT|LAST|MACRO|META|NEXT|PERL|PROCESS|RAWPERL|RETURN|SET|STOP|SWITCH|TAGS|THROW|TRY|UNLESS|USE|WHILE|WRAPPER)\b/,punctuation:/[[\]{},()]/}),e.languages.insertBefore("tt2","number",{operator:/=[>=]?|!=?|<=?|>=?|&&|\|\|?|\b(?:and|not|or)\b/,variable:{pattern:/\b[a-z]\w*(?:\s*\.\s*(?:\d+|\$?[a-z]\w*))*\b/i}}),e.languages.insertBefore("tt2","keyword",{delimiter:{pattern:/^(?:\[%|%%)-?|-?%\]$/,alias:"punctuation"}}),e.languages.insertBefore("tt2","string",{"single-quoted-string":{pattern:/'[^\\']*(?:\\[\s\S][^\\']*)*'/,greedy:!0,alias:"string"},"double-quoted-string":{pattern:/"[^\\"]*(?:\\[\s\S][^\\"]*)*"/,greedy:!0,alias:"string",inside:{variable:{pattern:/\$(?:[a-z]\w*(?:\.(?:\d+|\$?[a-z]\w*))*)/i}}}}),delete e.languages.tt2.string,e.hooks.add("before-tokenize",function(t){e.languages["markup-templating"].buildPlaceholders(t,"tt2",/\[%[\s\S]+?%\]/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"tt2")})}n.displayName="tt2",n.aliases=[],e.s(["default",0,n])}]);