{"version":3,"sources":["jsdelivr-header.js","/npm/hexo-theme-next@8.18.0/source/js/third-party/math/mathjax.js"],"names":[],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,ACJA,SAAS,iBAAiB,eAAe,KAClC,OAAO,aAEW,oBAAZ,SACT,OAAO,QAAU,CACf,IAAK,CACH,WAAY,CAAE,MAAO,CAAC,CAAC,IAAK,OAC5B,KAAY,OAAO,QAAQ,MAE7B,QAAS,CACP,cAAe,CACb,eAAgB,CAAC,IAAK,KACpB,SAAS,iBAAiB,iBAAiB,SAAQ,IACjD,MAAM,EAAS,EAAK,WACkB,OAAlC,EAAO,SAAS,eAClB,EAAO,WAAW,UAAU,IAAI,UAClC,GACA,EACD,IAAI,MAIb,KAAK,MAAM,UAAU,OAAO,QAAQ,GAAI,CACtC,WAAY,CACV,OAAO,OAIX,QAAQ,QAAQ,SAAS,MAAM,GAC/B,QAAQ,eACR,QAAQ,WACR,QAAQ,kBACV","file":"/npm/hexo-theme-next@8.18.0/source/js/third-party/math/mathjax.js","sourceRoot":"","sourcesContent":["/**\n * Minified by jsDelivr using Terser v5.39.0.\n * Original file: /npm/hexo-theme-next@8.18.0/source/js/third-party/math/mathjax.js\n *\n * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files\n */\n","/* global NexT, CONFIG, MathJax */\n\ndocument.addEventListener('page:loaded', () => {\n  if (!CONFIG.enableMath) return;\n\n  if (typeof MathJax === 'undefined') {\n    window.MathJax = {\n      tex: {\n        inlineMath: { '[+]': [['$', '$']] },\n        tags      : CONFIG.mathjax.tags\n      },\n      options: {\n        renderActions: {\n          insertedScript: [200, () => {\n            document.querySelectorAll('mjx-container').forEach(node => {\n              const target = node.parentNode;\n              if (target.nodeName.toLowerCase() === 'li') {\n                target.parentNode.classList.add('has-jax');\n              }\n            });\n          }, '', false]\n        }\n      }\n    };\n    NexT.utils.getScript(CONFIG.mathjax.js, {\n      attributes: {\n        defer: true\n      }\n    });\n  } else {\n    MathJax.startup.document.state(0);\n    MathJax.typesetClear();\n    MathJax.texReset();\n    MathJax.typesetPromise();\n  }\n});\n"]}