%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/apache-CGx9G6f9.chunk.mjs.map |
{"version":3,"file":"apache-CGx9G6f9.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/apache.js"],"sourcesContent":["/*\nLanguage: Apache config\nAuthor: Ruslan Keba <rukeba@gmail.com>\nContributors: Ivan Sagalaev <maniac@softwaremaniacs.org>\nWebsite: https://httpd.apache.org\nDescription: language definition for Apache configuration files (httpd.conf & .htaccess)\nCategory: config, web\nAudit: 2020\n*/\n\n/** @type LanguageFn */\nfunction apache(hljs) {\n const NUMBER_REF = {\n className: 'number',\n begin: /[$%]\\d+/\n };\n const NUMBER = {\n className: 'number',\n begin: /\\b\\d+/\n };\n const IP_ADDRESS = {\n className: \"number\",\n begin: /\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?/\n };\n const PORT_NUMBER = {\n className: \"number\",\n begin: /:\\d{1,5}/\n };\n return {\n name: 'Apache config',\n aliases: [ 'apacheconf' ],\n case_insensitive: true,\n contains: [\n hljs.HASH_COMMENT_MODE,\n {\n className: 'section',\n begin: /<\\/?/,\n end: />/,\n contains: [\n IP_ADDRESS,\n PORT_NUMBER,\n // low relevance prevents us from claming XML/HTML where this rule would\n // match strings inside of XML tags\n hljs.inherit(hljs.QUOTE_STRING_MODE, { relevance: 0 })\n ]\n },\n {\n className: 'attribute',\n begin: /\\w+/,\n relevance: 0,\n // keywords aren’t needed for highlighting per se, they only boost relevance\n // for a very generally defined mode (starts with a word, ends with line-end\n keywords: { _: [\n \"order\",\n \"deny\",\n \"allow\",\n \"setenv\",\n \"rewriterule\",\n \"rewriteengine\",\n \"rewritecond\",\n \"documentroot\",\n \"sethandler\",\n \"errordocument\",\n \"loadmodule\",\n \"options\",\n \"header\",\n \"listen\",\n \"serverroot\",\n \"servername\"\n ] },\n starts: {\n end: /$/,\n relevance: 0,\n keywords: { literal: 'on off all deny allow' },\n contains: [\n {\n className: 'meta',\n begin: /\\s\\[/,\n end: /\\]$/\n },\n {\n className: 'variable',\n begin: /[\\$%]\\{/,\n end: /\\}/,\n contains: [\n 'self',\n NUMBER_REF\n ]\n },\n IP_ADDRESS,\n NUMBER,\n hljs.QUOTE_STRING_MODE\n ]\n }\n }\n ],\n illegal: /\\S/\n };\n}\n\nmodule.exports = apache;\n"],"names":["apache","hljs","NUMBER_REF","NUMBER","IP_ADDRESS","PORT_NUMBER","apache_1"],"mappings":";4YAWA,SAASA,EAAOC,EAAM,CACpB,MAAMC,EAAa,CACjB,UAAW,SACX,MAAO,SACX,EACQC,EAAS,CACb,UAAW,SACX,MAAO,OACX,EACQC,EAAa,CACjB,UAAW,SACX,MAAO,+CACX,EACQC,EAAc,CAClB,UAAW,SACX,MAAO,UACX,EACE,MAAO,CACL,KAAM,gBACN,QAAS,CAAE,YAAc,EACzB,iBAAkB,GAClB,SAAU,CACRJ,EAAK,kBACL,CACE,UAAW,UACX,MAAO,OACP,IAAK,IACL,SAAU,CACRG,EACAC,EAGAJ,EAAK,QAAQA,EAAK,kBAAmB,CAAE,UAAW,EAAG,CACtD,CACF,EACD,CACE,UAAW,YACX,MAAO,MACP,UAAW,EAGX,SAAU,CAAE,EAAG,CACb,QACA,OACA,QACA,SACA,cACA,gBACA,cACA,eACA,aACA,gBACA,aACA,UACA,SACA,SACA,aACA,YACV,CAAW,EACH,OAAQ,CACN,IAAK,IACL,UAAW,EACX,SAAU,CAAE,QAAS,uBAAyB,EAC9C,SAAU,CACR,CACE,UAAW,OACX,MAAO,OACP,IAAK,KACN,EACD,CACE,UAAW,WACX,MAAO,UACP,IAAK,KACL,SAAU,CACR,OACAC,CACD,CACF,EACDE,EACAD,EACAF,EAAK,iBACN,CACF,CACF,CACF,EACD,QAAS,IACb,CACA,CAEA,IAAAK,EAAiBN","x_google_ignoreList":[0]}