%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/properties-R7STg5xB.chunk.mjs.map |
{"version":3,"file":"properties-R7STg5xB.chunk.mjs","sources":["../node_modules/highlight.js/lib/languages/properties.js"],"sourcesContent":["/*\nLanguage: .properties\nContributors: Valentin Aitken <valentin@nalisbg.com>, Egor Rogov <e.rogov@postgrespro.ru>\nWebsite: https://en.wikipedia.org/wiki/.properties\nCategory: config\n*/\n\n/** @type LanguageFn */\nfunction properties(hljs) {\n // whitespaces: space, tab, formfeed\n const WS0 = '[ \\\\t\\\\f]*';\n const WS1 = '[ \\\\t\\\\f]+';\n // delimiter\n const EQUAL_DELIM = WS0 + '[:=]' + WS0;\n const WS_DELIM = WS1;\n const DELIM = '(' + EQUAL_DELIM + '|' + WS_DELIM + ')';\n const KEY = '([^\\\\\\\\:= \\\\t\\\\f\\\\n]|\\\\\\\\.)+';\n\n const DELIM_AND_VALUE = {\n // skip DELIM\n end: DELIM,\n relevance: 0,\n starts: {\n // value: everything until end of line (again, taking into account backslashes)\n className: 'string',\n end: /$/,\n relevance: 0,\n contains: [\n { begin: '\\\\\\\\\\\\\\\\' },\n { begin: '\\\\\\\\\\\\n' }\n ]\n }\n };\n\n return {\n name: '.properties',\n disableAutodetect: true,\n case_insensitive: true,\n illegal: /\\S/,\n contains: [\n hljs.COMMENT('^\\\\s*[!#]', '$'),\n // key: everything until whitespace or = or : (taking into account backslashes)\n // case of a key-value pair\n {\n returnBegin: true,\n variants: [\n { begin: KEY + EQUAL_DELIM },\n { begin: KEY + WS_DELIM }\n ],\n contains: [\n {\n className: 'attr',\n begin: KEY,\n endsParent: true\n }\n ],\n starts: DELIM_AND_VALUE\n },\n // case of an empty key\n {\n className: 'attr',\n begin: KEY + WS0 + '$'\n }\n ]\n };\n}\n\nmodule.exports = properties;\n"],"names":["properties","hljs","WS0","WS1","EQUAL_DELIM","WS_DELIM","DELIM","KEY","DELIM_AND_VALUE","properties_1"],"mappings":";4YAQA,SAASA,EAAWC,EAAM,CAExB,MAAMC,EAAM,aACNC,EAAM,aAENC,EAAcF,EAAM,OAASA,EAC7BG,EAAWF,EACXG,EAAQ,IAAMF,EAAc,IAAMC,EAAW,IAC7CE,EAAM,+BAENC,EAAkB,CAEtB,IAAKF,EACL,UAAW,EACX,OAAQ,CAEN,UAAW,SACX,IAAK,IACL,UAAW,EACX,SAAU,CACR,CAAE,MAAO,UAAY,EACrB,CAAE,MAAO,SAAW,CACrB,CACF,CACL,EAEE,MAAO,CACL,KAAM,cACN,kBAAmB,GACnB,iBAAkB,GAClB,QAAS,KACT,SAAU,CACRL,EAAK,QAAQ,YAAa,GAAG,EAG7B,CACE,YAAa,GACb,SAAU,CACR,CAAE,MAAOM,EAAMH,CAAa,EAC5B,CAAE,MAAOG,EAAMF,CAAU,CAC1B,EACD,SAAU,CACR,CACE,UAAW,OACX,MAAOE,EACP,WAAY,EACb,CACF,EACD,OAAQC,CACT,EAED,CACE,UAAW,OACX,MAAOD,EAAML,EAAM,GACpB,CACF,CACL,CACA,CAEA,IAAAO,EAAiBT","x_google_ignoreList":[0]}