f7cloud_client/apps/text/js/properties-q8asBERA.chunk.mjs.map
root 8b6a0139db f7cloud_client
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-17 22:59:26 +00:00

1 line
2.5 KiB
Plaintext

{"version":3,"file":"properties-q8asBERA.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":"uCAQA,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,UAAU,EACnB,CAAE,MAAO,SAAS,CAC1B,CACA,GAGE,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,CAAW,EAC1B,CAAE,MAAOG,EAAMF,CAAQ,GAEzB,SAAU,CACR,CACE,UAAW,OACX,MAAOE,EACP,WAAY,EACxB,GAEQ,OAAQC,GAGV,CACE,UAAW,OACX,MAAOD,EAAML,EAAM,GAC3B,CACA,EAEA,CAEA,OAAAO,EAAiBT","x_google_ignoreList":[0]}