{"version":3,"sources":["jsdelivr-header.js","/npm/gitbook-plugin-katex-pp@1.0.2/index.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACNA,IAAI,MAAQ,QAAQ,SAEpB,OAAO,QAAU,CACb,KAAM,CACF,OAAQ,WACR,GAAI,GACJ,IAAK,CACD,kBAGR,MAAO,CACH,OAAQ,WACR,IAAK,CACD,kBAGR,OAAQ,CACJ,KAAM,CACF,UAAW,CACP,QAAS,CAAC,WAAY,WAAY,oBAClC,MAAO,KACP,IAAK,MAET,QAAS,SAAS,GACd,IAAI,EAAM,EAAI,KACV,IAAuB,MAAV,EAAI,IAOrB,OANa,MAAM,eAAe,EAAK,CACnC,aAAc,EACd,OAAO,EACP,OAAQ,iBAIhB","file":"/npm/gitbook-plugin-katex-pp@1.0.2/index.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/gitbook-plugin-katex-pp@1.0.2/index.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","var katex = require(\"katex\");\n\nmodule.exports = {\n    book: {\n        assets: \"./static\",\n        js: [],\n        css: [\n            \"katex.min.css\"\n        ]\n    },\n    ebook: {\n        assets: \"./static\",\n        css: [\n            \"katex.min.css\"\n        ]\n    },\n    blocks: {\n        math: {\n            shortcuts: {\n                parsers: [\"markdown\", \"asciidoc\", \"restructuredtext\"],\n                start: \"$$\",\n                end: \"$$\"\n            },\n            process: function(blk) {\n                var tex = blk.body;\n                var isInline = !(tex[0] == \"\\n\");\n                var output = katex.renderToString(tex, {\n                    displayMode: !isInline,\n                    leqno: false,\n                    output: \"htmlAndMathml\"\n                });\n\n                return output;\n            }\n        }\n    }\n};\n"]}