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