%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/nestedtext-C09_HbWP.chunk.mjs.map |
{"version":3,"file":"nestedtext-C09_HbWP.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/nestedtext.js"],"sourcesContent":["/*\nLanguage: NestedText\nDescription: NestedText is a file format for holding data that is to be entered, edited, or viewed by people.\nWebsite: https://nestedtext.org/\nCategory: config\n*/\n\n/** @type LanguageFn */\nfunction nestedtext(hljs) {\n const NESTED = {\n match: [\n /^\\s*(?=\\S)/, // have to look forward here to avoid polynomial backtracking\n /[^:]+/,\n /:\\s*/,\n /$/\n ],\n className: {\n 2: \"attribute\",\n 3: \"punctuation\"\n }\n };\n const DICTIONARY_ITEM = {\n match: [\n /^\\s*(?=\\S)/, // have to look forward here to avoid polynomial backtracking\n /[^:]*[^: ]/,\n /[ ]*:/,\n /[ ]/,\n /.*$/\n ],\n className: {\n 2: \"attribute\",\n 3: \"punctuation\",\n 5: \"string\"\n }\n };\n const STRING = {\n match: [\n /^\\s*/,\n />/,\n /[ ]/,\n /.*$/\n ],\n className: {\n 2: \"punctuation\",\n 4: \"string\"\n }\n };\n const LIST_ITEM = {\n variants: [\n { match: [\n /^\\s*/,\n /-/,\n /[ ]/,\n /.*$/\n ] },\n { match: [\n /^\\s*/,\n /-$/\n ] }\n ],\n className: {\n 2: \"bullet\",\n 4: \"string\"\n }\n };\n\n return {\n name: 'Nested Text',\n aliases: [ 'nt' ],\n contains: [\n hljs.inherit(hljs.HASH_COMMENT_MODE, {\n begin: /^\\s*(?=#)/,\n excludeBegin: true\n }),\n LIST_ITEM,\n STRING,\n NESTED,\n DICTIONARY_ITEM\n ]\n };\n}\n\nmodule.exports = nestedtext;\n"],"names":["nestedtext","hljs","NESTED","DICTIONARY_ITEM","STRING","LIST_ITEM","nestedtext_1"],"mappings":";4YAQA,SAASA,EAAWC,EAAM,CACxB,MAAMC,EAAS,CACb,MAAO,CACL,aACA,QACA,OACA,GACD,EACD,UAAW,CACT,EAAG,YACH,EAAG,aACJ,CACL,EACQC,EAAkB,CACtB,MAAO,CACL,aACA,aACA,QACA,MACA,KACD,EACD,UAAW,CACT,EAAG,YACH,EAAG,cACH,EAAG,QACJ,CACL,EACQC,EAAS,CACb,MAAO,CACL,OACA,IACA,MACA,KACD,EACD,UAAW,CACT,EAAG,cACH,EAAG,QACJ,CACL,EACQC,EAAY,CAChB,SAAU,CACR,CAAE,MAAO,CACP,OACA,IACA,MACA,KACR,CAAS,EACH,CAAE,MAAO,CACP,OACA,IACR,CAAS,CACJ,EACD,UAAW,CACT,EAAG,SACH,EAAG,QACJ,CACL,EAEE,MAAO,CACL,KAAM,cACN,QAAS,CAAE,IAAM,EACjB,SAAU,CACRJ,EAAK,QAAQA,EAAK,kBAAmB,CACnC,MAAO,YACP,aAAc,EACtB,CAAO,EACDI,EACAD,EACAF,EACAC,CACD,CACL,CACA,CAEA,IAAAG,EAAiBN","x_google_ignoreList":[0]}