%PDF- %PDF-
Direktori : /proc/thread-self/root/www/varak.net/nextcloud.varak.net/apps/text/js/ |
Current File : //proc/thread-self/root/www/varak.net/nextcloud.varak.net/apps/text/js/http-5BfNNQc0.chunk.mjs.map |
{"version":3,"file":"http-5BfNNQc0.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/http.js"],"sourcesContent":["/*\nLanguage: HTTP\nDescription: HTTP request and response headers with automatic body highlighting\nAuthor: Ivan Sagalaev <maniac@softwaremaniacs.org>\nCategory: protocols, web\nWebsite: https://developer.mozilla.org/en-US/docs/Web/HTTP/Overview\n*/\n\nfunction http(hljs) {\n const regex = hljs.regex;\n const VERSION = 'HTTP/([32]|1\\\\.[01])';\n const HEADER_NAME = /[A-Za-z][A-Za-z0-9-]*/;\n const HEADER = {\n className: 'attribute',\n begin: regex.concat('^', HEADER_NAME, '(?=\\\\:\\\\s)'),\n starts: { contains: [\n {\n className: \"punctuation\",\n begin: /: /,\n relevance: 0,\n starts: {\n end: '$',\n relevance: 0\n }\n }\n ] }\n };\n const HEADERS_AND_BODY = [\n HEADER,\n {\n begin: '\\\\n\\\\n',\n starts: {\n subLanguage: [],\n endsWithParent: true\n }\n }\n ];\n\n return {\n name: 'HTTP',\n aliases: [ 'https' ],\n illegal: /\\S/,\n contains: [\n // response\n {\n begin: '^(?=' + VERSION + \" \\\\d{3})\",\n end: /$/,\n contains: [\n {\n className: \"meta\",\n begin: VERSION\n },\n {\n className: 'number',\n begin: '\\\\b\\\\d{3}\\\\b'\n }\n ],\n starts: {\n end: /\\b\\B/,\n illegal: /\\S/,\n contains: HEADERS_AND_BODY\n }\n },\n // request\n {\n begin: '(?=^[A-Z]+ (.*?) ' + VERSION + '$)',\n end: /$/,\n contains: [\n {\n className: 'string',\n begin: ' ',\n end: ' ',\n excludeBegin: true,\n excludeEnd: true\n },\n {\n className: \"meta\",\n begin: VERSION\n },\n {\n className: 'keyword',\n begin: '[A-Z]+'\n }\n ],\n starts: {\n end: /\\b\\B/,\n illegal: /\\S/,\n contains: HEADERS_AND_BODY\n }\n },\n // to allow headers to work even without a preamble\n hljs.inherit(HEADER, { relevance: 0 })\n ]\n };\n}\n\nmodule.exports = http;\n"],"names":["http","hljs","regex","VERSION","HEADER_NAME","HEADER","HEADERS_AND_BODY","http_1"],"mappings":";4YAQA,SAASA,EAAKC,EAAM,CAClB,MAAMC,EAAQD,EAAK,MACbE,EAAU,uBACVC,EAAc,wBACdC,EAAS,CACb,UAAW,YACX,MAAOH,EAAM,OAAO,IAAKE,EAAa,YAAY,EAClD,OAAQ,CAAE,SAAU,CAClB,CACE,UAAW,cACX,MAAO,KACP,UAAW,EACX,OAAQ,CACN,IAAK,IACL,UAAW,CACZ,CACF,CACP,CAAO,CACP,EACQE,EAAmB,CACvBD,EACA,CACE,MAAO,SACP,OAAQ,CACN,YAAa,CAAE,EACf,eAAgB,EACjB,CACF,CACL,EAEE,MAAO,CACL,KAAM,OACN,QAAS,CAAE,OAAS,EACpB,QAAS,KACT,SAAU,CAER,CACE,MAAO,OAASF,EAAU,WAC1B,IAAK,IACL,SAAU,CACR,CACE,UAAW,OACX,MAAOA,CACR,EACD,CACE,UAAW,SACX,MAAO,cACR,CACF,EACD,OAAQ,CACN,IAAK,OACL,QAAS,KACT,SAAUG,CACX,CACF,EAED,CACE,MAAO,oBAAsBH,EAAU,KACvC,IAAK,IACL,SAAU,CACR,CACE,UAAW,SACX,MAAO,IACP,IAAK,IACL,aAAc,GACd,WAAY,EACb,EACD,CACE,UAAW,OACX,MAAOA,CACR,EACD,CACE,UAAW,UACX,MAAO,QACR,CACF,EACD,OAAQ,CACN,IAAK,OACL,QAAS,KACT,SAAUG,CACX,CACF,EAEDL,EAAK,QAAQI,EAAQ,CAAE,UAAW,CAAC,CAAE,CACtC,CACL,CACA,CAEA,IAAAE,EAAiBP","x_google_ignoreList":[0]}