1
|
{"version":3,"sources":["webpack:///./node_modules/highlight.js/lib/languages/dns.js"],"names":["module","exports","hljs","name","aliases","keywords","keyword","contains","COMMENT","relevance","className","begin","inherit","NUMBER_MODE"],"mappings":"mGA6CAA,EAAOC,QArCP,SAAaC,GACX,MAAO,CACLC,KAAM,WACNC,QAAS,CACP,OACA,QAEFC,SAAU,CACRC,QACE,2LAGJC,SAAU,CACRL,EAAKM,QAAQ,IAAK,IAAK,CACrBC,UAAW,IAEb,CACEC,UAAW,OACXC,MAAO,sCAGT,CACED,UAAW,SACXC,MAAO,+mCAGT,CACED,UAAW,SACXC,MAAO,+FAETT,EAAKU,QAAQV,EAAKW,YAAa,CAC7BF,MAAO","file":"highlight/dns.js?v=cc7c0a5ad094295bfdb8","sourcesContent":["/*\nLanguage: DNS Zone\nAuthor: Tim Schumacher <tim@datenknoten.me>\nCategory: config\nWebsite: https://en.wikipedia.org/wiki/Zone_file\n*/\n\n/** @type LanguageFn */\nfunction dns(hljs) {\n return {\n name: 'DNS Zone',\n aliases: [\n 'bind',\n 'zone'\n ],\n keywords: {\n keyword:\n 'IN A AAAA AFSDB APL CAA CDNSKEY CDS CERT CNAME DHCID DLV DNAME DNSKEY DS HIP IPSECKEY KEY KX ' +\n 'LOC MX NAPTR NS NSEC NSEC3 NSEC3PARAM PTR RRSIG RP SIG SOA SRV SSHFP TA TKEY TLSA TSIG TXT'\n },\n contains: [\n hljs.COMMENT(';', '$', {\n relevance: 0\n }),\n {\n className: 'meta',\n begin: /^\\$(TTL|GENERATE|INCLUDE|ORIGIN)\\b/\n },\n // IPv6\n {\n className: 'number',\n begin: '((([0-9A-Fa-f]{1,4}:){7}([0-9A-Fa-f]{1,4}|:))|(([0-9A-Fa-f]{1,4}:){6}(:[0-9A-Fa-f]{1,4}|((25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)(\\\\.(25[0-5]|2[0-4]\\\\d|1\\\\d\\\\d|[1-9]?\\\\d)){3})|:))|(([0-9A-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in: '((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\\\\b'\n },\n hljs.inherit(hljs.NUMBER_MODE, {\n begin: /\\b\\d+[dhwm]?/\n })\n ]\n };\n}\n\nmodule.exports = dns;\n"],"sourceRoot":""}
|