%PDF- %PDF-
Direktori : /www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/ |
Current File : //www/varak.net/nextcloud.varak.net/apps_old/apps/text/js/nginx-Bm1KButR.chunk.mjs.map |
{"version":3,"file":"nginx-Bm1KButR.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/nginx.js"],"sourcesContent":["/*\nLanguage: Nginx config\nAuthor: Peter Leonov <gojpeg@yandex.ru>\nContributors: Ivan Sagalaev <maniac@softwaremaniacs.org>\nCategory: config, web\nWebsite: https://www.nginx.com\n*/\n\n/** @type LanguageFn */\nfunction nginx(hljs) {\n const regex = hljs.regex;\n const VAR = {\n className: 'variable',\n variants: [\n { begin: /\\$\\d+/ },\n { begin: /\\$\\{\\w+\\}/ },\n { begin: regex.concat(/[$@]/, hljs.UNDERSCORE_IDENT_RE) }\n ]\n };\n const LITERALS = [\n \"on\",\n \"off\",\n \"yes\",\n \"no\",\n \"true\",\n \"false\",\n \"none\",\n \"blocked\",\n \"debug\",\n \"info\",\n \"notice\",\n \"warn\",\n \"error\",\n \"crit\",\n \"select\",\n \"break\",\n \"last\",\n \"permanent\",\n \"redirect\",\n \"kqueue\",\n \"rtsig\",\n \"epoll\",\n \"poll\",\n \"/dev/poll\"\n ];\n const DEFAULT = {\n endsWithParent: true,\n keywords: {\n $pattern: /[a-z_]{2,}|\\/dev\\/poll/,\n literal: LITERALS\n },\n relevance: 0,\n illegal: '=>',\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'string',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR\n ],\n variants: [\n {\n begin: /\"/,\n end: /\"/\n },\n {\n begin: /'/,\n end: /'/\n }\n ]\n },\n // this swallows entire URLs to avoid detecting numbers within\n {\n begin: '([a-z]+):/',\n end: '\\\\s',\n endsWithParent: true,\n excludeEnd: true,\n contains: [ VAR ]\n },\n {\n className: 'regexp',\n contains: [\n hljs.BACKSLASH_ESCAPE,\n VAR\n ],\n variants: [\n {\n begin: \"\\\\s\\\\^\",\n end: \"\\\\s|\\\\{|;\",\n returnEnd: true\n },\n // regexp locations (~, ~*)\n {\n begin: \"~\\\\*?\\\\s+\",\n end: \"\\\\s|\\\\{|;\",\n returnEnd: true\n },\n // *.example.com\n { begin: \"\\\\*(\\\\.[a-z\\\\-]+)+\" },\n // sub.example.*\n { begin: \"([a-z\\\\-]+\\\\.)+\\\\*\" }\n ]\n },\n // IP\n {\n className: 'number',\n begin: '\\\\b\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}\\\\.\\\\d{1,3}(:\\\\d{1,5})?\\\\b'\n },\n // units\n {\n className: 'number',\n begin: '\\\\b\\\\d+[kKmMgGdshdwy]?\\\\b',\n relevance: 0\n },\n VAR\n ]\n };\n\n return {\n name: 'Nginx config',\n aliases: [ 'nginxconf' ],\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n beginKeywords: \"upstream location\",\n end: /;|\\{/,\n contains: DEFAULT.contains,\n keywords: { section: \"upstream location\" }\n },\n {\n className: 'section',\n begin: regex.concat(hljs.UNDERSCORE_IDENT_RE + regex.lookahead(/\\s+\\{/)),\n relevance: 0\n },\n {\n begin: regex.lookahead(hljs.UNDERSCORE_IDENT_RE + '\\\\s'),\n end: ';|\\\\{',\n contains: [\n {\n className: 'attribute',\n begin: hljs.UNDERSCORE_IDENT_RE,\n starts: DEFAULT\n }\n ],\n relevance: 0\n }\n ],\n illegal: '[^\\\\s\\\\}\\\\{]'\n };\n}\n\nmodule.exports = nginx;\n"],"names":["nginx","hljs","regex","VAR","DEFAULT","nginx_1"],"mappings":";4YASA,SAASA,EAAMC,EAAM,CACnB,MAAMC,EAAQD,EAAK,MACbE,EAAM,CACV,UAAW,WACX,SAAU,CACR,CAAE,MAAO,OAAS,EAClB,CAAE,MAAO,WAAa,EACtB,CAAE,MAAOD,EAAM,OAAO,OAAQD,EAAK,mBAAmB,CAAG,CAC1D,CACL,EA2BQG,EAAU,CACd,eAAgB,GAChB,SAAU,CACR,SAAU,yBACV,QA9Ba,CACf,KACA,MACA,MACA,KACA,OACA,QACA,OACA,UACA,QACA,OACA,SACA,OACA,QACA,OACA,SACA,QACA,OACA,YACA,WACA,SACA,QACA,QACA,OACA,WACJ,CAMK,EACD,UAAW,EACX,QAAS,KACT,SAAU,CACRH,EAAK,kBACL,CACE,UAAW,SACX,SAAU,CACRA,EAAK,iBACLE,CACD,EACD,SAAU,CACR,CACE,MAAO,IACP,IAAK,GACN,EACD,CACE,MAAO,IACP,IAAK,GACN,CACF,CACF,EAED,CACE,MAAO,aACP,IAAK,MACL,eAAgB,GAChB,WAAY,GACZ,SAAU,CAAEA,CAAK,CAClB,EACD,CACE,UAAW,SACX,SAAU,CACRF,EAAK,iBACLE,CACD,EACD,SAAU,CACR,CACE,MAAO,SACP,IAAK,YACL,UAAW,EACZ,EAED,CACE,MAAO,YACP,IAAK,YACL,UAAW,EACZ,EAED,CAAE,MAAO,oBAAsB,EAE/B,CAAE,MAAO,oBAAsB,CAChC,CACF,EAED,CACE,UAAW,SACX,MAAO,6DACR,EAED,CACE,UAAW,SACX,MAAO,4BACP,UAAW,CACZ,EACDA,CACD,CACL,EAEE,MAAO,CACL,KAAM,eACN,QAAS,CAAE,WAAa,EACxB,SAAU,CACRF,EAAK,kBACL,CACE,cAAe,oBACf,IAAK,OACL,SAAUG,EAAQ,SAClB,SAAU,CAAE,QAAS,mBAAqB,CAC3C,EACD,CACE,UAAW,UACX,MAAOF,EAAM,OAAOD,EAAK,oBAAsBC,EAAM,UAAU,OAAO,CAAC,EACvE,UAAW,CACZ,EACD,CACE,MAAOA,EAAM,UAAUD,EAAK,oBAAsB,KAAK,EACvD,IAAK,QACL,SAAU,CACR,CACE,UAAW,YACX,MAAOA,EAAK,oBACZ,OAAQG,CACT,CACF,EACD,UAAW,CACZ,CACF,EACD,QAAS,cACb,CACA,CAEA,IAAAC,EAAiBL","x_google_ignoreList":[0]}