blob: df13b2a9f389ca828ca4a330d858f11492744ed9 [file] [log] [blame]
{"version":3,"sources":["webpack:///./node_modules/react-syntax-highlighter/node_modules/highlight.js/lib/languages/csp.js"],"names":["module","exports","hljs","name","case_insensitive","keywords","$pattern","keyword","contains","className","begin","end","excludeEnd"],"mappings":"8EA+BAA,EAAOC,QArBP,SAAaC,GACX,MAAO,CACLC,KAAM,MACNC,kBAAkB,EAClBC,SAAU,CACRC,SAAU,yBACVC,QAAS,+KAEXC,SAAU,CAAC,CACTC,UAAW,SACXC,MAAO,IACPC,IAAK,KACJ,CACDF,UAAW,YACXC,MAAO,WACPC,IAAK,IACLC,YAAY","file":"react-syntax-highlighter_languages_highlight_csp-6bf234fd94d62fcc5367.js","sourcesContent":["/*\nLanguage: CSP\nDescription: Content Security Policy definition highlighting\nAuthor: Taras <oxdef@oxdef.info>\nWebsite: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP\n\nvim: ts=2 sw=2 st=2\n*/\n\n/** @type LanguageFn */\nfunction csp(hljs) {\n return {\n name: 'CSP',\n case_insensitive: false,\n keywords: {\n $pattern: '[a-zA-Z][a-zA-Z0-9_-]*',\n keyword: 'base-uri child-src connect-src default-src font-src form-action ' + 'frame-ancestors frame-src img-src media-src object-src plugin-types ' + 'report-uri sandbox script-src style-src'\n },\n contains: [{\n className: 'string',\n begin: \"'\",\n end: \"'\"\n }, {\n className: 'attribute',\n begin: '^Content',\n end: ':',\n excludeEnd: true\n }]\n };\n}\n\nmodule.exports = csp;"],"sourceRoot":""}