export const __webpack_ids__=["9568"];export const __webpack_modules__={38885:function(){!function(e){var t=e.languages.javascript["template-string"],n=t.pattern.source,r=t.inside.interpolation,a=r.inside["interpolation-punctuation"],o=r.pattern.source;function i(t,r){if(e.languages[t])return{pattern:RegExp("((?:"+r+")\\s*)"+n),lookbehind:!0,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},"embedded-code":{pattern:/[\s\S]+/,alias:t}}}}function s(t,n,r){var a={code:t,grammar:n,language:r};return e.hooks.run("before-tokenize",a),a.tokens=e.tokenize(a.code,a.grammar),e.hooks.run("after-tokenize",a),a.tokens}e.languages.javascript["template-string"]=[i("css",/\b(?:styled(?:\([^)]*\))?(?:\s*\.\s*\w+(?:\([^)]*\))*)*|css(?:\s*\.\s*(?:global|resolve))?|createGlobalStyle|keyframes)/.source),i("html",/\bhtml|\.\s*(?:inner|outer)HTML\s*\+?=/.source),i("svg",/\bsvg/.source),i("markdown",/\b(?:markdown|md)/.source),i("graphql",/\b(?:gql|graphql(?:\s*\.\s*experimental)?)/.source),i("sql",/\bsql/.source),t].filter(Boolean);var p={javascript:!0,js:!0,typescript:!0,ts:!0,jsx:!0,tsx:!0};e.hooks.add("after-tokenize",function(t){t.language in p&&function t(n){for(var i=0,p=n.length;i<p;i++){var l=n[i];if("string"!=typeof l){var c=l.content;if(!Array.isArray(c)){"string"!=typeof c&&t([c]);continue}if("template-string"===l.type){var u=c[1];if(3===c.length&&"string"!=typeof u&&"embedded-code"===u.type){var g=function e(t){return"string"==typeof t?t:Array.isArray(t)?t.map(e).join(""):e(t.content)}(u),f=u.alias,y=Array.isArray(f)?f[0]:f,v=e.languages[y];if(!v)continue;c[1]=function(t,n,i){var p=e.tokenize(t,{interpolation:{pattern:RegExp(o),lookbehind:!0}}),l=0,c={},u=s(p.map(function(e){if("string"==typeof e)return e;for(var n,r,a=e.content;-1!==t.indexOf((n=l++,r="___"+i.toUpperCase()+"_"+n+"___")););return c[r]=a,r}).join(""),n,i),g=Object.keys(c);return l=0,!function t(n){for(var o=0;o<n.length;o++){if(l>=g.length)return;var i=n[o];if("string"==typeof i||"string"==typeof i.content){var p=g[l],u="string"==typeof i?i:i.content,f=u.indexOf(p);if(-1!==f){++l;var y=u.substring(0,f),v=function(t){var n={};n["interpolation-punctuation"]=a;var o=e.tokenize(t,n);if(3===o.length){var i=[1,1];i.push.apply(i,s(o[1],e.languages.javascript,"javascript")),o.splice.apply(o,i)}return new e.Token("interpolation",o,r.alias,t)}(c[p]),d=u.substring(f+p.length),k=[];if(y&&k.push(y),k.push(v),d){var m=[d];t(m),k.push.apply(k,m)}"string"==typeof i?(n.splice.apply(n,[o,1].concat(k)),o+=k.length-1):i.content=k}}else{var h=i.content;Array.isArray(h)?t(h):t([h])}}}(u),new e.Token(i,u,"language-"+i,t)}(g,v,y)}}else t(c)}}}(t.tokens)})}(Prism)}};
//# sourceMappingURL=prism-js-templates-js.js.map