PageSourceSearch

https://httpie.io/_next/static/chunks/react-syntax-highlighter_languages_refractor_smarty.0c39f4e8d3257c11.js

js httpie.io collected 2026-09-24 08:28:01 UTC 3,558 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[849,3047],{93205:function(e){function markupTemplating(e){!function(e){function getPlaceholder(e,n){return"___"+e.toUpperCase()+n+"___"}Object.defineProperties(e.languages["markup-templating"]={},{buildPlaceholders:{value:function(n,t,a,r){if(n.language===t){var s=n.tokenStack=[];n.code=n.code.replace(a,function(e){if("function"==typeof r&&!r(e))return e;for(var a,i=s.length;-1!==n.code.indexOf(a=getPlaceholder(t,i));)++i;return s[i]=e,a}),n.grammar=e.languages.markup}}},tokenizePlaceholders:{value:function(n,t){if(n.language===t&&n.tokenStack){n.grammar=e.languages[t];var a=0,r=Object.keys(n.tokenStack);!function walkTokens(s){for(var i=0;i<s.length&&!(a>=r.length);i++){var o=s[i];if("string"==typeof o||o.content&&"string"==typeof o.content){var p=r[a],l=n.tokenStack[p],u="string"==typeof o?o:o.content,g=getPlaceholder(t,p),d=u.indexOf(g);if(d>-1){++a;var c=u.substring(0,d),m=new e.Token(t,e.tokenize(l,n.grammar),"language-"+t,l),k=u.substring(d+g.length),f=[];c&&f.push.apply(f,walkTokens([c])),f.push(m),k&&f.push.apply(f,walkTokens([k])),"string"==typeof o?s.splice.apply(s,[i,1].concat(f)):o.content=f}}else o.content&&walkTokens(o.content)}return s}(n.tokens)}}}})}(e)}e.exports=markupTemplating,markupTemplating.displayName="markupTemplating",markupTemplating.aliases=[]},64020:function(e,n,t){var a=t(93205);function smarty(e){var n,t;e.register(a),e.languages.smarty={comment:{pattern:/^\{\*[\s\S]*?\*\}/,greedy:!0},"embedded-php":{pattern:/^\{php\}[\s\S]*?\{\/php\}/,greedy:!0,inside:{smarty:{pattern:/^\{php\}|\{\/php\}$/,inside:null},php:{pattern:/[\s\S]+/,alias:"language-php",inside:e.languages.php}}},string:[{pattern:/"(?:\\.|[^"\\\r\n])*"/,greedy:!0,inside:{interpolation:{pattern:/\{[^{}]*\}|`[^`]*`/,inside:{"interpolation-punctuation":{pattern:/^[{`]|[`}]$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}},variable:/\$\w+/}},{pattern:/'(?:\\.|[^'\\\r\n])*'/,greedy:!0}],keyword:{pattern:/(^\{\/?)[a-z_]\w*\b(?!\()/i,lookbehind:!0,greedy:!0},delimiter:{pattern:/^\{\/?|\}$/,greedy:!0,alias:"punctuation"},number:/\b0x[\dA-Fa-f]+|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee][-+]?\d+)?/,variable:[/\$(?!\d)\w+/,/#(?!\d)\w+#/,{pattern:/(\.|->|\w\s*=)(?!\d)\w+\b(?!\()/,lookbehind:!0},{pattern:/(\[)(?!\d)\w+(?=\])/,lookbehind:!0}],function:{pattern:/(\|\s*)@?[a-z_]\w*|\b[a-z_]\w*(?=\()/i,lookbehind:!0},"attr-name":/\b[a-z_]\w*(?=\s*=)/i,boolean:/\b(?:false|no|off|on|true|yes)\b/,punctuation:/[\[\](){}.,:`]|->/,operator:[/[+\-*\/%]|==?=?|[!<>]=?|&&|\|\|?/,/\bis\s+(?:not\s+)?(?:div|even|odd)(?:\s+by)?\b/,/\b(?:and|eq|gt?e|gt|lt?e|lt|mod|neq?|not|or)\b/]},e.languages.smarty["embedded-php"].inside.smarty.inside=e.languages.smarty,e.languages.smarty.string[0].inside.interpolation.inside.expression.inside=e.languages.smarty,n=/"(?:\\.|[^"\\\r\n])*"|'(?:\\.|[^'\\\r\n])*'/,t=RegExp(/\{\*[\s\S]*?\*\}/.source+"|"+/\{php\}[\s\S]*?\{\/php\}/.source+"|"+/\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>|\{(?:[^{}"']|<str>)*\})*\})*\}/.source.replace(/<str>/g,function(){return n.source}),"g"),e.hooks.add("before-tokenize",function(n){var a=!1;e.languages["markup-templating"].buildPlaceholders(n,"smarty",t,function(e){return"{/literal}"===e&&(a=!1),!a&&("{literal}"===e&&(a=!0),!0)})}),e.hooks.add("after-tokenize",function(n){e.languages["markup-templating"].tokenizePlaceholders(n,"smarty")})}e.exports=smarty,smarty.displayName="smarty",smarty.aliases=[]}}]);
2//# sourceMappingURL=react-syntax-highlighter_languages_refractor_smarty.0c39f4e8d3257c11.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.