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EAAMxD,IAAO,GAAKwD,GAAOvD,GAEzC+B,EAAIgB,IAAO,SAAUP,EAAGxC,EAAGc,EAAG2B,EAAGa,EAAGC,EAAGpS,GACrC,IAAI4O,EAAIyC,GAAKxC,EAAIc,EAAI2B,IAAMa,IAAM,GAAKnS,EACtC,OAAS4O,GAAKwD,EAAMxD,IAAO,GAAKwD,GAAOvD,GAEzC+B,EAAIkB,IAAO,SAAUT,EAAGxC,EAAGc,EAAG2B,EAAGa,EAAGC,EAAGpS,GACrC,IAAI4O,EAAIyC,GAAK1B,GAAKd,GAAKyC,KAAOa,IAAM,GAAKnS,EACzC,OAAS4O,GAAKwD,EAAMxD,IAAO,GAAKwD,GAAOvD,GAIzC+B,EAAIyB,WAAa,GACjBzB,EAAI0B,YAAc,GAElB9D,EAAO3X,QAAU,SAAUiV,EAAS+E,GAClC,GAAI/E,QACF,MAAM,IAAIhI,MAAM,oBAAsBgI,GAExC,IAAIyG,EAAc7D,EAAMa,aAAaqB,EAAI9E,EAAS+E,IAClD,OAAOA,GAAWA,EAAQ2B,QAAUD,EAChC1B,GAAWA,EAAQ4B,SAAW5E,EAAIE,cAAcwE,GAChD7D,EAAMc,WAAW+C","sources":["webpack://sakurairo-scripts/./node_modules/@mui/utils/debounce.js","webpack://sakurairo-scripts/./src/page/global-func.js","webpack://sakurairo-scripts/./src/page/article_attach.ts","webpack://sakurairo-scripts/./src/page/gravatar.ts","webpack://sakurairo-scripts/./src/page/getqqinfo.js","webpack://sakurairo-scripts/./src/page/AddComment.ts","webpack://sakurairo-scripts/./src/page/code_highlight.js","webpack://sakurairo-scripts/./src/page/bangumi.ts","webpack://sakurairo-scripts/./src/page/index.js","webpack://sakurairo-scripts/./node_modules/charenc/charenc.js","webpack://sakurairo-scripts/./node_modules/crypt/crypt.js","webpack://sakurairo-scripts/./node_modules/is-buffer/index.js","webpack://sakurairo-scripts/./node_modules/md5/md5.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = debounce;\n\n// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nfunction debounce(func, wait = 166) {\n let timeout;\n\n function debounced(...args) {\n const later = () => {\n func.apply(this, args);\n };\n\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n\n return debounced;\n}","\nconst motionEles = [\".bili\", \".menhera\", \".tieba\"];\nfunction motionSwitch(ele) {\n for (let i = 0; i < motionEles.length; i++) {\n document.querySelector(motionEles[i] + '-bar').classList.remove('on-hover');\n document.querySelector(motionEles[i] + '-container').style.display = 'none';\n }\n document.querySelector(ele + '-bar').classList.add(\"on-hover\");\n document.querySelector(ele + '-container').style.display = 'block';\n}\nfunction grin(tag, type, before, after) {\n let myField;\n switch (type) {\n case \"custom\": tag = before + tag + after; break;\n case \"Img\": tag = '[img]' + tag + '[/img]'; break;\n case \"Math\": tag = ' {{' + tag + '}} '; break;\n case \"tieba\": tag = ' ::' + tag + ':: '; break;\n default: tag = ' :' + tag + ': ';\n }\n if (document.getElementById('comment') && document.getElementById('comment').type == 'textarea') {\n myField = document.getElementById('comment');\n } else {\n return false;\n }\n if (document.selection) {\n myField.focus();\n sel = document.selection.createRange();\n sel.text = tag;\n myField.focus();\n } else if (myField.selectionStart || myField.selectionStart == '0') {\n let startPos = myField.selectionStart,\n endPos = myField.selectionEnd,\n cursorPos = endPos;\n myField.value = myField.value.substring(0, startPos) + tag + myField.value.substring(endPos, myField.value.length);\n cursorPos += tag.length;\n myField.focus();\n myField.selectionStart = cursorPos;\n myField.selectionEnd = cursorPos;\n } else {\n myField.value += tag;\n myField.focus();\n }\n}\nwindow.motionSwitch = motionSwitch\nwindow.grin = grin","import { loadCSS } from 'fg-loadcss';\nimport { slideToggle } from '../common/util';\nimport { resolvePath, importExternal } from '../common/npmLib';\nfunction collapse() {\n //收缩、展开\n /* jQuery(document).ready(\n function(jQuery){\n jQuery('.collapseButton').click(function(){\n jQuery(this).parent().parent().find('.xContent').slideToggle('slow');\n });\n }) */\n const collapseButtons = document.getElementsByClassName('collapseButton');\n if (collapseButtons.length > 0) {\n const collapseListener = (e) => {\n slideToggle(e.target.parentNode.parentNode.parentNode.querySelector(\".xContent\"));\n // e.parentNode.parentNode.querySelector(\".xContent\")\n };\n for (const ele of collapseButtons) {\n ele.addEventListener(\"click\", collapseListener);\n }\n // import('jquery').then(({ default: jQuery }) => {\n // jQuery('.collapseButton').on(\"click\", function () {\n // jQuery(this).parent().parent().find('.xContent').slideToggle('slow');\n // })\n // })\n }\n}\nlet lightBoxCSS;\nasync function lightbox() {\n //init lightbox\n if (_iro.baguetteBoxON) {\n if (!lightBoxCSS)\n lightBoxCSS = loadCSS(resolvePath('dist/baguetteBox.min.css', 'baguettebox.js', '1.11.1'));\n //@ts-ignore\n const { default: baguetteBox } = await import('baguettebox.js');\n baguetteBox.run('.entry-content', {\n captions: function (element) {\n return element.getElementsByTagName('img')[0].alt;\n },\n ignoreClass: 'fancybox',\n });\n }\n else if (_iro.fancybox) {\n if (!lightBoxCSS)\n lightBoxCSS = loadCSS(resolvePath('dist/jquery.fancybox.min.css', '@fancyapps/fancybox', '3.5.7'));\n if (!((window.jQuery instanceof Function) || (window.$ instanceof Function))) {\n if (_iro.ext_shared_lib) {\n importExternal('dist/jquery.slim.min.js', 'jquery');\n importExternal('dist/jquery.fancybox.min.js', '@fancyapps/fancybox');\n }\n else {\n //@ts-ignore\n const { default: jQuery } = await import('jquery');\n window.$ = jQuery;\n window.jQuery = jQuery;\n //@ts-ignore\n import('@fancyapps/fancybox');\n }\n }\n }\n else if (_iro.lightGallery) {\n //lightGallery的umd导入有点问题\n /* if (_iro.ext_shared_lib) {\n if (!window.lightGallery) {\n loadCSS(resolvePath('css/lightgallery-bundle.min.css', 'lightgallery', '2.3.0'))\n await importExternal('lightgallery.umd.js', 'lightgallery')\n }\n const { plugins } = _iro.lightGallery\n if (plugins) {\n (await Promise\n .allSettled(\n plugins.map((name: string) => importExternal('plugins/' + solvePluginName(name)+'.umd.js', 'lightgallery'))\n ))\n .map(handleResult)\n }\n window.lightGallery(\n document.querySelector('.entry-content'),\n _iro.lightGallery);\n } else {\n //@ts-ignore\n const { default: initLightGallery } = await import('./lightGallery/import')\n initLightGallery()\n } */\n const { default: initLightGallery } = await import('./lightGallery/import');\n initLightGallery();\n }\n}\nasync function math() {\n if (document.getElementsByTagName('math').length > 0) {\n if (!('MathJax' in window)) {\n //@ts-ignore\n window.MathJax = {\n svg: {\n fontCache: 'global'\n }, startup: {\n typeset: false, // Perform initial typeset?\n }, chtml: {\n fontURL: resolvePath('es5/output/chtml/fonts/woff-v2', 'mathjax', '2.3.0'),\n mathmlSpacing: true // true for MathML spacing rules, false for TeX rules\n }\n };\n }\n //@ts-ignore\n await import('mathjax/es5/mml-chtml');\n //@ts-ignore\n window.MathJax.typeset();\n }\n}\nexport default function article_attach() {\n collapse();\n lightbox();\n math();\n}\n","import MD5 from 'md5';\n/**\n * Gravatar\n * from a6cd66c 11.third-part-functions.js\n */\nexport const get_gravatar = (email, size = 80) => 'https://' + _iro.gravatar_url + '/' + MD5(email) + '.jpg?s=' + size + '&d=mm';\n","import { buildAPI } from '../common/util'\nimport { get_gravatar } from './gravatar'\n\nexport default function getqqinfo() {\n let is_get_by_qq = false;\n const i_author = document.querySelector(\"input#author\"),\n i_qq = document.querySelector(\"input#qq\"),\n i_email = document.querySelector(\"input#email\"),\n i_url = document.querySelector(\"input#url\"),\n qq_check = document.querySelector(\".qq-check\"),\n gravatar_check = document.querySelector(\".gravatar-check\"),\n user_avatar_img = document.querySelector(\"div.comment-user-avatar img\");\n if (i_author == null) return;\n if (!localStorage.getItem('user_qq') && !localStorage.getItem('user_qq_email') && !localStorage.getItem('user_author')) {\n i_qq.value = i_author.value = i_email.value = i_url.value = \"\";\n }\n if (localStorage.getItem('user_avatar') && localStorage.getItem('user_qq') && localStorage.getItem('user_qq_email')) {\n user_avatar_img.setAttribute('src', localStorage.getItem('user_avatar'));\n i_author.value = localStorage.getItem('user_author');\n i_email.value = localStorage.getItem('user_qq') + '@qq.com';\n i_qq.value = localStorage.getItem('user_qq');\n if (_iro.qzone_autocomplete) {\n i_url.value = 'https://user.qzone.qq.com/' + localStorage.getItem('user_qq');\n }\n if (i_qq.value) {\n qq_check.style.display = \"block\";\n gravatar_check.style.display = \"none\";\n }\n }\n let emailAddressFlag = i_email.value;\n //var emailAddressFlag = cached.filter('#email').val();\n i_author.addEventListener('blur', () => {\n // })\n //cached.filter('#author').on('blur', function () {\n const qq = i_author.value,\n reg_QQ = /^[1-9]\\d{4,9}$/;\n if (reg_QQ.test(qq)) {\n const whileFailed = () => {\n i_qq.value = '';\n qq_check.style.display = 'none';\n gravatar_check.style.display = 'block';\n user_avatar_img.setAttribute('src', get_gravatar(i_email.value, 80));\n localStorage.setItem('user_qq', '');\n localStorage.setItem('user_email', i_email.value);\n localStorage.setItem('user_avatar', get_gravatar(i_email.value, 80));\n /***/\n /* qq.value = email.value = url.value = \"\";\n if (!qq.value) {\n qq_check.style.display = 'none';\n gravatar_check.style.display = 'block';\n setCookie('user_qq', '', 30);\n user_avatar_img.setAttribute('src', get_gravatar(email.value, 80));\n setCookie('user_avatar', get_gravatar(email.value, 80), 30);\n } */\n }\n fetch(buildAPI(_iro.qq_api_url, { qq: qq }))\n .then(async resp => {\n if (resp.ok) {\n //success\n try {\n const data = await resp.json()\n i_author.value = data.name;\n i_email.value = qq.trim() + '@qq.com';\n if (_iro.qzone_autocomplete) {\n i_url.value = 'https://user.qzone.qq.com/' + qq.trim();\n }\n user_avatar_img.setAttribute('src', 'https://q2.qlogo.cn/headimg_dl?dst_uin=' + qq + '&spec=100');\n is_get_by_qq = true;\n i_qq.value = qq.trim();\n if (i_qq.value) {\n qq_check.style.display = 'block';\n gravatar_check.style.display = 'none';\n }\n localStorage.setItem('user_author', data.name);\n localStorage.setItem('user_qq', qq);\n localStorage.setItem('is_user_qq', 'yes');\n localStorage.setItem('user_qq_email', qq + '@qq.com');\n localStorage.setItem('user_email', qq + '@qq.com');\n emailAddressFlag = i_email.value;\n /***/\n user_avatar_img.setAttribute('src', data.avatar);\n localStorage.setItem('user_avatar', data.avatar);\n } catch (e) {\n console.warn(e)\n whileFailed()\n }\n } else {\n whileFailed()\n }\n })\n }\n });\n if (localStorage.getItem('user_avatar') && localStorage.getItem('user_email') && localStorage.getItem('is_user_qq') == 'no' && !localStorage.getItem('user_qq_email')) {\n user_avatar_img.setAttribute(\"src\", localStorage.getItem('user_avatar'));\n i_email.value = localStorage.getItem('user_mail');\n i_qq.value = '';\n if (!i_qq.value) {\n qq_check.style.display = \"none\";\n gravatar_check.style.display = \"block\";\n }\n // $('div.comment-user-avatar img').attr('src', getCookie('user_avatar'));\n // cached.filter('#email').val(getCookie('user_email'));\n // cached.filter('#qq').val('');\n // if (!cached.filter('#qq').val()) {\n // $('.qq-check').css('display', 'none');\n // $('.gravatar-check').css('display', 'block');\n // }\n }\n i_email.addEventListener(\"blur\", function () {\n //cached.filter('#email').on('blur', function () {\n let emailAddress = i_email.value;\n // var emailAddress = cached.filter('#email').val();\n if ((is_get_by_qq == false || emailAddressFlag != emailAddress) && emailAddress != '') {\n user_avatar_img.setAttribute(\"src\", get_gravatar(emailAddress, 80));\n //$('div.comment-user-avatar img').attr('src', get_gravatar(emailAddress, 80));\n localStorage.setItem('user_avatar', get_gravatar(emailAddress, 80));\n localStorage.setItem('user_email', emailAddress);\n localStorage.setItem('user_qq_email', '');\n localStorage.setItem('is_user_qq', 'no');\n i_qq.value = '';\n // cached.filter('#qq').val('');\n if (!i_qq.value) {\n qq_check.style.display = \"none\";\n gravatar_check.style.display = \"block\";\n // $('.qq-check').css('display', 'none');\n // $('.gravatar-check').css('display', 'block');\n }\n }\n });\n if (localStorage.getItem('user_url')) {\n i_url.value = localStorage.getItem(\"user_url\");\n // cached.filter('#url').val(getCookie('user_url'));\n }\n i_url.addEventListener(\"blur\", function () {\n //cached.filter('#url').on('blur', function () {\n let URL_Address = i_url.value;\n i_url.value = URL_Address;\n // var URL_Address = cached.filter('#url').val();\n // cached.filter('#url').val(URL_Address);\n localStorage.setItem('user_url', URL_Address);\n });\n if (localStorage.getItem('user_author')) {\n i_author.value = localStorage.getItem('user_author');\n // cached.filter('#author').val(getCookie('user_author'));\n }\n i_author.addEventListener(\"blur\", function () {\n // cached.filter('#author').on('blur', function () {\n let user_name = i_author.value;\n i_author.value = user_name;\n // var user_name = cached.filter('#author').val();\n // cached.filter('#author').val(user_name);\n localStorage.setItem('user_author', user_name);\n });\n}","const AddComment = {\n respondId: '',\n moveForm: function (commId, parentId, respondId) {\n const comm = document.getElementById(commId), respond = document.getElementById(respondId), cancel = document.getElementById('cancel-comment-reply-link'), parent = document.getElementById('comment_parent');\n //post = document.getElementById('comment_post_ID');\n this.respondId = respondId;\n if (!document.getElementById('wp-temp-form-div')) {\n const div = document.createElement('div');\n div.id = 'wp-temp-form-div';\n div.style.display = 'none';\n respond.parentNode.insertBefore(div, respond);\n }\n if (!comm) {\n const temp = document.getElementById('wp-temp-form-div');\n document.getElementById('comment_parent').value = '0';\n temp.parentNode.insertBefore(respond, temp);\n temp.remove();\n }\n else {\n comm.parentNode.insertBefore(respond, comm.nextSibling);\n }\n const _respond = document.getElementById(\"respond\");\n window.scrollTo({\n top: _respond.getBoundingClientRect().top + window.pageYOffset - _respond.clientTop - 100,\n behavior: \"smooth\"\n });\n parent.value = parentId;\n cancel.style.display = '';\n cancel.onclick = function (e) {\n var t = AddComment, temp = document.getElementById('wp-temp-form-div'), respond = document.getElementById(t.respondId);\n document.getElementById('comment_parent').value = '0';\n if (temp && respond) {\n temp.parentNode.insertBefore(respond, temp);\n temp.remove();\n //temp.parentNode.removeChild(temp);\n }\n this.style.display = 'none';\n this.onclick = null;\n return false;\n };\n try {\n document.getElementById('comment').focus();\n }\n catch (e) { }\n return false;\n },\n};\nexport default AddComment;\n","import { isInDarkMode } from '../app/darkmode'\nimport { loadCSS } from 'fg-loadcss'\nimport { importExternal, resolvePath } from '../common/npmLib';\nconst PRISM_VERSION = PKG_INFO['prismjs']\nconst attributes = {\n 'autocomplete': 'off',\n 'autocorrect': 'off',\n 'autocapitalize': 'off',\n 'spellcheck': 'false',\n 'contenteditable': 'false',\n 'design': 'by Mashiro'\n}\nfunction gen_top_bar(pre, code_a) {\n if (!pre.children[0]) return\n let lang = 'text'\n const className = pre.children[0].className\n const matchResult = className.match(/language-(\\w+)/i)\n if (matchResult) {\n lang = matchResult[1]\n }\n pre.classList.add(\"highlight-wrap\");\n for (const t in attributes) {\n pre.setAttribute(t, attributes[t]);\n }\n code_a.setAttribute('data-rel', lang.toUpperCase());\n}\nasync function importHighlightjs() {\n try {\n if (!window.hljs) {\n window.hljs = (await import('highlight.js')).default\n await import('highlightjs-line-numbers.js')\n }\n } catch (e) {\n console.warn(e)\n }\n}\nconst hljs_click_callback = (e) => {\n const element = e.target\n if (!element.classList.contains(\"highlight-wrap\")) return;\n if (element.classList.contains('code-block-fullscreen')) {\n element.remove()\n } else {\n const cloneElement = element.cloneNode(true)\n cloneElement.classList.toggle(\"code-block-fullscreen\")\n document.body.append(cloneElement)\n }\n document.documentElement.classList.toggle('code-block-fullscreen-html-scroll');\n}\nexport function deattachHljsCallback() {\n document.body.removeEventListener(\"click\", hljs_click_callback)\n}\nexport async function hljs_process(pre, code) {\n try {\n await importHighlightjs()\n for (let i = 0; i < code.length; i++) {\n hljs.highlightElement(code[i]);\n }\n for (let i = 0; i < pre.length; i++) {\n gen_top_bar(pre[i], code[i]);\n }\n hljs.initLineNumbersOnLoad();\n document.body.addEventListener(\"click\", hljs_click_callback)\n } catch (e) {\n console.warn(e)\n }\n}\n//Prism\nconst PrismBaseUrl = _iro.code_highlight_prism?.autoload_path || resolvePath('', 'prismjs', PRISM_VERSION)\nlet currentPrismThemeCSS = undefined\nconst themeCSS = (() => {\n const { light, dark } = _iro.code_highlight_prism?.theme || {}\n const theme = {\n light: light || 'themes/prism.min.css',\n dark: dark || 'themes/prism-tomorrow.min.css',\n }\n for (const theme_name in theme) {\n theme[theme_name] = new URL(theme[theme_name], PrismBaseUrl).toString()\n }\n return theme\n})()\n\nfunction loadPrismCSS(darkmodeOn) {\n const nextCSS = darkmodeOn ? themeCSS.dark : themeCSS.light\n if (currentPrismThemeCSS) {\n if (currentPrismThemeCSS.href !== nextCSS) {\n const nextCSSElement = loadCSS(nextCSS)\n nextCSSElement.addEventListener('load', () => {\n currentPrismThemeCSS.remove()\n currentPrismThemeCSS = nextCSSElement\n })\n }\n } else {\n currentPrismThemeCSS = loadCSS(nextCSS)\n }\n}\n\nconst prism_darkmode_callback = (e) => {\n loadPrismCSS(e.detail)\n}\nexport const deattachPrismCallback = () => document.removeEventListener('darkmode', prism_darkmode_callback)\nasync function importPrismJS() {\n try {\n if (!window.Prism) {\n loadPrismCSS(isInDarkMode())\n document.addEventListener('darkmode', prism_darkmode_callback)\n //必备插件全家桶\n loadCSS(new URL('plugins/toolbar/prism-toolbar.min.css', PrismBaseUrl).toString())\n loadCSS(new URL('plugins/previewers/prism-previewers.min.css', PrismBaseUrl).toString())\n if (_iro.ext_shared_lib) {\n await Promise.all([importExternal('components/prism-core.min.js', 'prismjs', PRISM_VERSION),\n importExternal('plugins/autoloader/prism-autoloader.min.js', 'prismjs', PRISM_VERSION),\n importExternal('plugins/toolbar/prism-toolbar.min.js', 'prismjs', PRISM_VERSION),\n importExternal('plugins/previewers/prism-previewers.min.js', 'prismjs', PRISM_VERSION),\n importExternal('plugins/show-language/prism-show-language.min.js', 'prismjs', PRISM_VERSION)])\n } else await import('./prism_pack')\n Prism.plugins.autoloader.languages_path = new URL('components/', PrismBaseUrl).toString()\n }\n } catch (reason) {\n console.warn(reason)\n }\n}\nfunction loadPrismPluginLineNumbers() {\n loadCSS(new URL('plugins/line-numbers/prism-line-numbers.min.css', PrismBaseUrl).toString())\n if (_iro.ext_shared_lib) {\n return importExternal('plugins/line-numbers/prism-line-numbers.min.js', 'prismjs', PRISM_VERSION)\n } else {\n return import('prismjs/plugins/line-numbers/prism-line-numbers')\n }\n}\nfunction loadPrismMatchBraces() {\n loadCSS(new URL('plugins/match-braces/prism-match-braces.min.css', PrismBaseUrl).toString())\n if (_iro.ext_shared_lib) {\n return importExternal('plugins/match-braces/prism-match-braces.min.js', 'prismjs', PRISM_VERSION)\n } else {\n return import('prismjs/plugins/match-braces/prism-match-braces')\n }\n}\nfunction loadPrismCommandLine() {\n loadCSS(new URL('plugins/command-line/prism-command-line.css', PrismBaseUrl).toString())\n if (_iro.ext_shared_lib) {\n return importExternal('plugins/command-line/prism-command-line.min.js', 'prismjs', PRISM_VERSION)\n } else {\n return import('prismjs/plugins/command-line/prism-command-line')\n }\n}\n/**\n * \n * @param {NodeListOf<HTMLElement>} code document.querySelectorAll(\"pre code\")\n */\nexport async function prism_process(code) {\n try {\n let loadLineNumber = false\n let loadMatchBraces = false\n let loadCommandLine = false\n if (_iro.code_highlight_prism.line_number_all) {\n document.querySelector('.entry-content').classList.add('line-numbers')\n loadLineNumber = true\n }\n for (const ele of code) {\n if (ele.parentElement.classList.contains('line-numbers')) {\n loadLineNumber = true\n }\n if (ele.classList.contains('match-braces')) {\n loadMatchBraces = true\n }\n if (ele.dataset.prompt || ele.dataset.host || ele.dataset.user) {\n //cli\n loadCommandLine = true\n }\n }\n await Promise.all([\n importPrismJS(),\n loadLineNumber && loadPrismPluginLineNumbers(),\n loadMatchBraces && loadPrismMatchBraces(),\n loadCommandLine && loadPrismCommandLine()\n ])\n for (const ele of code) {\n Prism.highlightElement(ele)\n }\n Prism.plugins.fileHighlight && Prism.plugins.fileHighlight.highlight()\n } catch (error) {\n console.warn(error)\n }\n}","import { createButterbar } from \"../common/butterbar\";\nimport { lazyload } from 'lazyload';\nconst bgmlistener = (e) => {\n const target = e.target;\n if (target === document.querySelector(\"#bangumi-pagination a\")) {\n e.preventDefault();\n e.stopPropagation();\n if (target.classList.contains(\"loading\"))\n return;\n target.classList.add(\"loading\");\n target.textContent = \"\";\n fetch(target.dataset.href + \"&_wpnonce=\" + _iro.nonce, {\n method: \"POST\"\n })\n .then(async (res) => {\n const data = await res.json();\n if (res.ok) {\n document.getElementById(\"bangumi-pagination\").remove();\n document.querySelector(\".row\").insertAdjacentHTML('beforeend', data);\n //@ts-ignore\n lazyload();\n }\n else {\n throw Error(`Error,Status:${res.status}`);\n }\n })\n .catch(e => {\n console.error(e);\n createButterbar(e);\n target.classList.remove(\"loading\");\n target.innerHTML = '<i class=\"fa fa-exclamation-triangle\" aria-hidden=\"true\"></i> ERROR ';\n });\n }\n};\nexport default function load_bangumi() {\n const sections = document.getElementsByTagName(\"section\");\n let _flag = false;\n for (let i = 0; i < sections.length; i++) {\n if (sections[i].classList.contains(\"bangumi\")) {\n _flag = true;\n break;\n }\n }\n if (_flag) {\n document.addEventListener('click', bgmlistener);\n }\n}\n","import article_attach from './article_attach'\nimport { ready, slideToggle, buildAPI } from '../common/util'\nimport { lazyload } from 'lazyload'\nimport { createButterbar } from '../common/butterbar'\nimport './global-func'\nimport getqqinfo from './getqqinfo'\nimport addComment from './AddComment'\nimport { hljs_process, prism_process, deattachPrismCallback, deattachHljsCallback } from './code_highlight'\nimport { _$, __ } from '../common/sakurairo_global'\nimport load_bangumi from './bangumi'\nimport { importExternal } from '../common/npmLib'\nimport debounce from '@mui/utils/debounce'\nasync function code_highlight_style() {\n const pre = document.getElementsByTagName(\"pre\"),\n code = document.querySelectorAll(\"pre code\");\n if (!pre.length) {\n switch (_iro.code_highlight) {\n case 'hljs':\n deattachHljsCallback()\n return\n case 'prism':\n deattachPrismCallback()\n return\n default:\n }\n }\n switch (_iro.code_highlight) {\n case 'hljs':\n await hljs_process(pre, code)\n break\n case 'prism':\n await prism_process(code)\n break\n case 'custom': return\n default:\n console.warn(`_iro.code_highlight这咋填的是个${_iro.code_highlight}啊🤔`)\n }\n //copy_code_block\n if (code.length > 0) {\n for (let j = 0; j < code.length; j++) {\n code[j].setAttribute('id', 'code-block-' + j);\n code[j].insertAdjacentHTML('afterend', '<a class=\"copy-code\" href=\"javascript:\" data-clipboard-target=\"#code-block-' + j + '\" title=\"' + __(\"拷贝代码\") + '\"><i class=\"fa fa-clipboard\" aria-hidden=\"true\"></i>');\n };\n if (_iro.ext_shared_lib) {\n await importExternal('dist/clipboard.min.js', 'clipboard')\n new ClipboardJS('.copy-code')\n } else {\n const ClipboardJS = (await import('clipboard')).default\n new ClipboardJS('.copy-code');\n }\n }\n}\nfunction click_to_view_image() {\n const comment_inline = document.getElementsByClassName('comment_inline_img');\n if (!comment_inline.length) return;\n document.getElementsByClassName(\"comments-main\")[0].addEventListener(\"click\", function (e) {\n if (e.target.classList.contains(\"comment_inline_img\")) {\n window.open(e.target.src);\n }\n })\n}\nfunction clean_upload_images() {\n document.getElementById(\"upload-img-show\").innerHTML = '';\n}\nfunction original_emoji_click() {\n const emoji = document.getElementsByClassName('emoji-item');\n if (!emoji.length) return;\n document.querySelector(\".menhera-container\").addEventListener(\"click\", function (e) {\n if (e.target.classList.contains(\"emoji-item\")) {\n grin(e.target.innerText, \"custom\", \"`\", \"` \");\n }\n })\n}\nfunction XCS() {\n const __list = 'commentwrap';\n const form = document.getElementById(\"commentform\")\n if (form) {\n let statusSubmitting = false\n form.addEventListener('submit', function (event) {\n event.stopPropagation()\n event.preventDefault();\n if (statusSubmitting) return\n const butterBarRef = createButterbar(__(\"提交中....\"), true)\n const form = new FormData(this)\n form.append('action', 'ajax_comment')\n statusSubmitting = true\n fetch(_iro.ajaxurl, {\n method: this.attributes.method.value,\n body: form\n }).then(async resp => {\n const data = await resp.text()\n if (resp.ok) {\n Array.from(document.getElementsByTagName('textarea'))\n .forEach((e) => e.value = '')\n const cancel = document.getElementById('cancel-comment-reply-link'),\n temp = document.getElementById('wp-temp-form-div'),\n respond = document.getElementById(addComment.respondId),\n //post = document.getElementById('comment_post_ID').value,\n parent = document.getElementById('comment_parent').value;\n if (parent != '0') {\n //jQuery('#respond').before('<ol class=\"children\">' + data + '</ol>');\n document.getElementById(\"respond\").insertAdjacentHTML('beforebegin', '<ol class=\"children\">' + data + '</ol>');\n } else if (!document.getElementsByClassName(__list).length) {\n if (_iro.formpostion == 'bottom') {\n document.getElementById(\"respond\").insertAdjacentHTML('beforebegin', '<ol class=\"' + __list + '\">' + data + '</ol>');\n //jQuery('#respond').before('<ol class=\"' + __list + '\">' + data + '</ol>');\n } else {\n document.getElementById(\"respond\").insertAdjacentHTML('afterend', '<ol class=\"' + __list + '\">' + data + '</ol>');\n //jQuery('#respond').after('<ol class=\"' + __list + '\">' + data + '</ol>');\n }\n } else {\n if (_iro.order == 'asc') {\n document.getElementsByClassName(\"commentwrap\")[1].insertAdjacentHTML('beforeend', data);\n //jQuery('.' + __list).append(data);\n } else {\n document.getElementsByClassName(\"commentwrap\")[1].insertAdjacentHTML('afterbegin', data);\n //jQuery('.' + __list).prepend(data);\n }\n }\n createButterbar(__(\"提交成功\"));\n document.dispatchEvent(new CustomEvent('ajax_comment_complete',))\n cancel.style.display = 'none';\n cancel.onclick = null;\n document.getElementById('comment_parent').value = '0';\n if (temp && respond) {\n temp.parentNode.insertBefore(respond, temp);\n temp.remove();\n //temp.parentNode.removeChild(temp)\n }\n } else {\n createButterbar(data || 'HTTP' + resp.status + ':' + resp.statusText);\n }\n }).catch(reason => {\n createButterbar(reason);\n }).finally(() => {\n butterBarRef.remove()\n statusSubmitting = false\n })\n /* jQuery.ajax({\n url: _iro.ajaxurl,\n data: jQuery(this).serialize() + \"&action=ajax_comment\",\n type: jQuery(this).attr('method'),\n beforeSend: createButterbar(\"提交中(Commiting)....\"),\n error: function (request) {\n var t = addComment;\n t.createButterbar(request.responseText);\n },\n success: function (data) {\n jQuery('textarea').each(function () {\n this.value = ''\n });\n var t = addComment,\n cancel = t.I('cancel-comment-reply-link'),\n temp = t.I('wp-temp-form-div'),\n respond = t.I(t.respondId),\n post = t.I('comment_post_ID').value,\n parent = t.I('comment_parent').value;\n if (parent != '0') {\n jQuery('#respond').before('<ol class=\"children\">' + data + '</ol>');\n } else if (!jQuery('.' + __list).length) {\n if (_iro.formpostion == 'bottom') {\n jQuery('#respond').before('<ol class=\"' + __list + '\">' + data + '</ol>');\n } else {\n jQuery('#respond').after('<ol class=\"' + __list + '\">' + data + '</ol>');\n }\n } else {\n if (_iro.order == 'asc') {\n jQuery('.' + __list).append(data);\n } else {\n jQuery('.' + __list).prepend(data);\n }\n }\n t.createButterbar(\"提交成功(Succeed)\");\n lazyload();\n code_highlight_style();\n click_to_view_image();\n clean_upload_images();\n cancel.style.display = 'none';\n cancel.onclick = null;\n t.I('comment_parent').value = '0';\n if (temp && respond) {\n temp.parentNode.insertBefore(respond, temp);\n temp.remove();\n //temp.parentNode.removeChild(temp)\n }\n }\n }); */\n })\n }\n}\n\nfunction XCP() {\n document.body.addEventListener('click', function (e) {\n if (e.target.parentNode == document.getElementById(\"comments-navi\") && e.target.nodeName.toLowerCase() == \"a\") {\n e.preventDefault();\n e.stopPropagation();\n let _this = e.target,\n path = _this.pathname,\n _xhr = new XMLHttpRequest();\n _xhr.open(\"GET\", _this.getAttribute('href'), true);\n _xhr.responseType = \"document\";\n _xhr.onloadstart = () => {\n let comments_navi = document.getElementById(\"comments-navi\"),\n commentwrap = document.querySelector(\"ul.commentwrap\"),\n loading_comments = document.getElementById(\"loading-comments\"),\n comments_list = document.getElementById(\"comments-list-title\");\n comments_navi.remove();\n commentwrap.remove();\n //comments_navi.parentNode.removeChild(comments_navi);\n //commentwrap.parentNode.removeChild(commentwrap);\n loading_comments.style.display = \"block\";\n slideToggle(loading_comments, 500, \"show\");\n window.scrollTo({\n top: comments_list.getBoundingClientRect().top + window.pageYOffset - comments_list.clientTop - 65,\n behavior: \"smooth\"\n });\n }\n _xhr.onreadystatechange = function () {\n if (_xhr.readyState == 4 && _xhr.status == 200) {\n let json = _xhr.response,\n result = json.querySelector(\"ul.commentwrap\"),\n nextlink = json.getElementById(\"comments-navi\"),\n loading_comments = document.getElementById(\"loading-comments\");\n slideToggle(loading_comments, 200, \"hide\");\n document.getElementById(\"loading-comments\").insertAdjacentHTML('afterend', result.outerHTML);\n document.querySelector(\"ul.commentwrap\").insertAdjacentHTML('afterend', nextlink.outerHTML);\n lazyload();\n if (window.gtag) {\n gtag('config', _iro.google_analytics_id, {\n 'page_path': path\n });\n }\n code_highlight_style();\n click_to_view_image();\n let commentwrap = document.querySelector(\"ul.commentwrap\");\n window.scrollTo({\n top: commentwrap && (commentwrap.getBoundingClientRect().top + window.pageYOffset - commentwrap.clientTop - 200),\n behavior: \"smooth\"\n });\n }\n }\n _xhr.send();\n }\n });\n}\nfunction sm() {\n let sm = document.getElementsByClassName('sm'),\n cm = document.querySelector(\".comments-main\");\n if (!sm.length) return;\n if (cm) {\n cm.addEventListener(\"click\", function (e) {\n if (e.target.classList.contains(\"comment-reply-link\")) {\n e.preventDefault();\n e.stopPropagation();\n let data_commentid = e.target.getAttribute(\"data-commentid\");\n addComment.moveForm(\"comment-\" + data_commentid, data_commentid, \"respond\", this.getAttribute(\"data-postid\"));\n }\n })\n cm.addEventListener(\"click\", (e) => {\n let list = e.target.parentNode;\n if (list.classList.contains(\"sm\")) {\n let msg = __(\"您真的要设为私密吗?\");\n if (confirm(msg) == true) {\n if (list.classList.contains('private_now')) {\n alert(__('您之前已设过私密评论'));\n return false;\n } else {\n list.classList.add('private_now');\n let idp = list.getAttribute(\"data-idp\"),\n actionp = list.getAttribute(\"data-actionp\"),\n rateHolderp = list.getElementsByClassName('has_set_private')[0];\n let ajax_data = \"action=siren_private&p_id=\" + idp + \"&p_action=\" + actionp;\n let request = new XMLHttpRequest();\n request.onreadystatechange = function () {\n if (this.readyState == 4 && this.status == 200) {\n rateHolderp.innerHTML = request.responseText;\n }\n };\n request.open('POST', '/wp-admin/admin-ajax.php', true);\n request.setRequestHeader(\"Content-type\", \"application/x-www-form-urlencoded\");\n request.send(ajax_data);\n return false;\n }\n }\n }\n })\n }\n}\nfunction throttling(fn, wait, maxTimelong) {\n let timeout = null,\n startTime = Date.parse(new Date);\n return function() {\n if(timeout !== null) clearTimeout(timeout);\n let curTime = Date.parse(new Date);\n if(curTime-startTime>=maxTimelong) {\n fn();\n startTime = curTime;\n } else {\n timeout = setTimeout(fn, wait);\n }\n }\n}\nfunction resizeTOC() {\n const toc_container = document.querySelector(\".toc-container\"),\n sc = document.querySelector(\".site-content\")\n if (toc_container && sc) {\n const resize = () => {\n toc_container.style.height = Math.min(sc.getBoundingClientRect()[\"height\"], document.documentElement.offsetHeight - toc_container.offsetTop) + \"px\";\n }\n resize()\n //TODO:性能\n window.addEventListener('resize', debounce(resize), { passive: true })\n document.addEventListener('scroll',throttling(resize, 200, 1000))\n }\n}\nfunction tableOfContentScroll(flag) {\n if (document.body.clientWidth <= 1200) {\n return;\n } else if (!document.querySelector(\"div.have-toc\") && !document.querySelector(\"div.has-toc\")) {\n let ele = document.getElementsByClassName(\"toc-container\")[0];\n if (ele) {\n ele.remove();\n ele = null;\n }\n } else {\n if (flag && document.getElementsByClassName('toc').length > 0) {\n import('tocbot').then(({ default: tocbot }) => {\n tocbot.init({\n tocSelector: '.toc',\n contentSelector: ['.entry-content', '.links'],\n headingSelector: 'h1,h2,h3,h4,h5',\n headingsOffset: heading_fix - window.innerHeight / 2,\n onClick: null\n });\n })\n const heading_fix = _iro.entry_content_style == \"sakurairo\" ? (document.querySelector(\"article.type-post\") ? (document.querySelector(\"div.pattern-attachment\") ? -75 : 200) : 375) : window.innerHeight / 2;\n const _els = document.querySelectorAll('.entry-content,.links');\n const idSet = new Set()\n let id = 1\n for (let i = 0; i < _els.length; i++) {\n let _el = _els[i].querySelectorAll('h1,h2,h3,h4,h5');\n for (const title of _el) {\n const innerText = encodeURIComponent(title.innerText.replace(' ', '-'))\n if (idSet.has(innerText)) {\n title.id = \"toc-head-\" + id++;\n } else {\n title.id = innerText\n idSet.add(innerText)\n }\n }\n }\n }\n }\n}\n/**\n * 上传图片提示\n */\nfunction attach_image() {\n let cached = document.getElementsByClassName(\"insert-image-tips\")[0],\n upload_img = document.getElementById('upload-img-file');\n if (!upload_img) return;\n upload_img.addEventListener(\"change\", (function () {\n if (this.files.length > 10) {\n createButterbar(__(\"每次上传上限为10张\"));\n return 0;\n }\n for (let i = 0; i < this.files.length; i++) {\n if (this.files[i].size >= 5242880) {\n alert(_$('图片上传大小限制为5 MB\\n\\n「{0}」\\n\\n这张图太大啦~请重新上传噢!', this.files[i].name));\n return;\n }\n }\n for (let i = 0; i < this.files.length; i++) {\n let f = this.files[i],\n formData = new FormData(),\n xhr = new XMLHttpRequest();\n formData.append('cmt_img_file', f);\n xhr.addEventListener('loadstart', function () {\n cached.innerHTML = '<i class=\"fa fa-spinner rotating\" aria-hidden=\"true\"></i>';\n createButterbar(__(\"上传中...\"));\n });\n xhr.open(\"POST\", buildAPI(_iro.api + 'sakura/v1/image/upload'), true);\n xhr.send(formData);\n xhr.onreadystatechange = function () {\n if (xhr.readyState == 4 && (xhr.status == 200 || xhr.status == 304)) {\n cached.innerHTML = '<i class=\"fa fa-check\" aria-hidden=\"true\"></i>';\n setTimeout(function () {\n cached.innerHTML = '<i class=\"fa fa-picture-o\" aria-hidden=\"true\"></i>';\n }, 1000);\n let res = JSON.parse(xhr.responseText);\n if (res.status == 200) {\n let get_the_url = res.proxy;\n document.getElementById(\"upload-img-show\").insertAdjacentHTML('afterend', '<img class=\"lazyload upload-image-preview\" src=\"' + _iro.loading_ph + '\" data-src=\"' + get_the_url + '\" onclick=\"window.open(\\'' + get_the_url + '\\')\" onerror=\"imgError(this)\" />');\n lazyload();\n createButterbar(__(\"图片上传成功~\"));\n grin(get_the_url, type = 'Img');\n } else {\n createButterbar(_$('上传失败!\\n文件名: {0}\\ncode: {1}\\n{2}', f.name, res.status, res.message), 3000)\n }\n } else if (xhr.readyState == 4) {\n cached.innerHTML = '<i class=\"fa fa-times\" aria-hidden=\"true\" style=\"color:red\"></i>';\n alert(__(\"上传失败,请重试.\"));\n setTimeout(function () {\n cached.innerHTML = '<i class=\"fa fa-picture-o\" aria-hidden=\"true\"></i>';\n }, 1000);\n }\n }\n };\n }));\n}\nfunction smileBoxToggle() {\n let et = document.getElementById(\"emotion-toggle\");\n et && et.addEventListener('click', function () {\n document.querySelector('.emotion-toggle-off').classList.toggle(\"emotion-hide\");\n document.querySelector('.emotion-toggle-on').classList.toggle(\"emotion-show\");\n document.querySelector('.emotion-box').classList.toggle(\"emotion-box-show\");\n })\n}\n/**\n * 添加上传图片的提示\n */\nfunction add_upload_tips() {\n const form_submit = document.querySelector('.form-submit #submit');\n if (form_submit == null) return;\n if (!_iro.comment_upload_img) {\n form_submit.style.width = '100%'\n return\n }\n form_submit.insertAdjacentHTML('afterend', '<div class=\"insert-image-tips popup\"><i class=\"fa fa-picture-o\" aria-hidden=\"true\"></i><span class=\"insert-img-popuptext\" id=\"uploadTipPopup\">上传图片</span></div><input id=\"upload-img-file\" type=\"file\" accept=\"image/*\" multiple=\"multiple\" class=\"insert-image-button\">');\n attach_image();\n\n const file_submit = document.getElementById('upload-img-file'),\n hover = document.getElementsByClassName('insert-image-tips')[0],\n Tip = document.getElementById('uploadTipPopup');\n if (!file_submit) return;\n file_submit.addEventListener(\"mouseenter\", function () {\n hover.classList.toggle('insert-image-tips-hover');\n Tip.classList.toggle('show');\n });\n file_submit.addEventListener(\"mouseleave\", function () {\n hover.classList.toggle('insert-image-tips-hover');\n Tip.classList.toggle('show');\n });\n}\nfunction addComtListener() {\n document.querySelectorAll(\".comt-addsmilies\").forEach((e) => {\n e.addEventListener(\"click\", () => {\n if (e.stlye.display == \"block\") {\n e.style.display = \"none\";\n } else {\n e.style.display = \"block\";\n }\n })\n })\n document.querySelectorAll(\".comt-smilies a\").forEach((e) => {\n e.addEventListener(\"click\", () => {\n e.parentNode.style.display = \"none\";\n })\n })\n}\nfunction afterAjaxCommentComplete() {\n lazyload();\n code_highlight_style();\n click_to_view_image();\n clean_upload_images();\n}\n\n// #region LifeCycle\nfunction whilePopstate() {\n article_attach()\n sm()\n}\nfunction whileReady() {\n article_attach()\n XCS()\n XCP()\n getqqinfo()\n add_upload_tips()\n resizeTOC()\n}\nfunction whilePjaxComplete() {\n try {\n add_upload_tips()\n article_attach()\n load_bangumi();\n tableOfContentScroll(true);\n click_to_view_image()\n getqqinfo()\n sm()\n original_emoji_click()\n code_highlight_style()\n smileBoxToggle()\n XCS()\n resizeTOC()\n } catch (e) {\n console.warn(e)\n }\n}\nfunction whileLoaded() {\n window.addEventListener('popstate', whilePopstate)\n click_to_view_image()\n code_highlight_style()\n load_bangumi();\n sm()\n original_emoji_click()\n smileBoxToggle()\n tableOfContentScroll(true);\n addComtListener()\n document.addEventListener('ajax_comment_complete', afterAjaxCommentComplete)\n}\nwhileLoaded()\ndocument.addEventListener('pjax:complete', whilePjaxComplete)\nready(whileReady)\n//#endregion","var charenc = {\n // UTF-8 encoding\n utf8: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n return charenc.bin.stringToBytes(unescape(encodeURIComponent(str)));\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n return decodeURIComponent(escape(charenc.bin.bytesToString(bytes)));\n }\n },\n\n // Binary encoding\n bin: {\n // Convert a string to a byte array\n stringToBytes: function(str) {\n for (var bytes = [], i = 0; i < str.length; i++)\n bytes.push(str.charCodeAt(i) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a string\n bytesToString: function(bytes) {\n for (var str = [], i = 0; i < bytes.length; i++)\n str.push(String.fromCharCode(bytes[i]));\n return str.join('');\n }\n }\n};\n\nmodule.exports = charenc;\n","(function() {\n var base64map\n = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/',\n\n crypt = {\n // Bit-wise rotation left\n rotl: function(n, b) {\n return (n << b) | (n >>> (32 - b));\n },\n\n // Bit-wise rotation right\n rotr: function(n, b) {\n return (n << (32 - b)) | (n >>> b);\n },\n\n // Swap big-endian to little-endian and vice versa\n endian: function(n) {\n // If number given, swap endian\n if (n.constructor == Number) {\n return crypt.rotl(n, 8) & 0x00FF00FF | crypt.rotl(n, 24) & 0xFF00FF00;\n }\n\n // Else, assume array and swap all items\n for (var i = 0; i < n.length; i++)\n n[i] = crypt.endian(n[i]);\n return n;\n },\n\n // Generate an array of any length of random bytes\n randomBytes: function(n) {\n for (var bytes = []; n > 0; n--)\n bytes.push(Math.floor(Math.random() * 256));\n return bytes;\n },\n\n // Convert a byte array to big-endian 32-bit words\n bytesToWords: function(bytes) {\n for (var words = [], i = 0, b = 0; i < bytes.length; i++, b += 8)\n words[b >>> 5] |= bytes[i] << (24 - b % 32);\n return words;\n },\n\n // Convert big-endian 32-bit words to a byte array\n wordsToBytes: function(words) {\n for (var bytes = [], b = 0; b < words.length * 32; b += 8)\n bytes.push((words[b >>> 5] >>> (24 - b % 32)) & 0xFF);\n return bytes;\n },\n\n // Convert a byte array to a hex string\n bytesToHex: function(bytes) {\n for (var hex = [], i = 0; i < bytes.length; i++) {\n hex.push((bytes[i] >>> 4).toString(16));\n hex.push((bytes[i] & 0xF).toString(16));\n }\n return hex.join('');\n },\n\n // Convert a hex string to a byte array\n hexToBytes: function(hex) {\n for (var bytes = [], c = 0; c < hex.length; c += 2)\n bytes.push(parseInt(hex.substr(c, 2), 16));\n return bytes;\n },\n\n // Convert a byte array to a base-64 string\n bytesToBase64: function(bytes) {\n for (var base64 = [], i = 0; i < bytes.length; i += 3) {\n var triplet = (bytes[i] << 16) | (bytes[i + 1] << 8) | bytes[i + 2];\n for (var j = 0; j < 4; j++)\n if (i * 8 + j * 6 <= bytes.length * 8)\n base64.push(base64map.charAt((triplet >>> 6 * (3 - j)) & 0x3F));\n else\n base64.push('=');\n }\n return base64.join('');\n },\n\n // Convert a base-64 string to a byte array\n base64ToBytes: function(base64) {\n // Remove non-base-64 characters\n base64 = base64.replace(/[^A-Z0-9+\\/]/ig, '');\n\n for (var bytes = [], i = 0, imod4 = 0; i < base64.length;\n imod4 = ++i % 4) {\n if (imod4 == 0) continue;\n bytes.push(((base64map.indexOf(base64.charAt(i - 1))\n & (Math.pow(2, -2 * imod4 + 8) - 1)) << (imod4 * 2))\n | (base64map.indexOf(base64.charAt(i)) >>> (6 - imod4 * 2)));\n }\n return bytes;\n }\n };\n\n module.exports = crypt;\n})();\n","/*!\n * Determine if an object is a Buffer\n *\n * @author Feross Aboukhadijeh <https://feross.org>\n * @license MIT\n */\n\n// The _isBuffer check is for Safari 5-7 support, because it's missing\n// Object.prototype.constructor. Remove this eventually\nmodule.exports = function (obj) {\n return obj != null && (isBuffer(obj) || isSlowBuffer(obj) || !!obj._isBuffer)\n}\n\nfunction isBuffer (obj) {\n return !!obj.constructor && typeof obj.constructor.isBuffer === 'function' && obj.constructor.isBuffer(obj)\n}\n\n// For Node v0.10 support. Remove this eventually.\nfunction isSlowBuffer (obj) {\n return typeof obj.readFloatLE === 'function' && typeof obj.slice === 'function' && isBuffer(obj.slice(0, 0))\n}\n","(function(){\r\n var crypt = require('crypt'),\r\n utf8 = require('charenc').utf8,\r\n isBuffer = require('is-buffer'),\r\n bin = require('charenc').bin,\r\n\r\n // The core\r\n md5 = function (message, options) {\r\n // Convert to byte array\r\n if (message.constructor == String)\r\n if (options && options.encoding === 'binary')\r\n message = bin.stringToBytes(message);\r\n else\r\n message = utf8.stringToBytes(message);\r\n else if (isBuffer(message))\r\n message = Array.prototype.slice.call(message, 0);\r\n else if (!Array.isArray(message) && message.constructor !== Uint8Array)\r\n message = message.toString();\r\n // else, assume byte array already\r\n\r\n var m = crypt.bytesToWords(message),\r\n l = message.length * 8,\r\n a = 1732584193,\r\n b = -271733879,\r\n c = -1732584194,\r\n d = 271733878;\r\n\r\n // Swap endian\r\n for (var i = 0; i < m.length; i++) {\r\n m[i] = ((m[i] << 8) | (m[i] >>> 24)) & 0x00FF00FF |\r\n ((m[i] << 24) | (m[i] >>> 8)) & 0xFF00FF00;\r\n }\r\n\r\n // Padding\r\n m[l >>> 5] |= 0x80 << (l % 32);\r\n m[(((l + 64) >>> 9) << 4) + 14] = l;\r\n\r\n // Method shortcuts\r\n var FF = md5._ff,\r\n GG = md5._gg,\r\n HH = md5._hh,\r\n II = md5._ii;\r\n\r\n for (var i = 0; i < m.length; i += 16) {\r\n\r\n var aa = a,\r\n bb = b,\r\n cc = c,\r\n dd = d;\r\n\r\n a = FF(a, b, c, d, m[i+ 0], 7, -680876936);\r\n d = FF(d, a, b, c, m[i+ 1], 12, -389564586);\r\n c = FF(c, d, a, b, m[i+ 2], 17, 606105819);\r\n b = FF(b, c, d, a, m[i+ 3], 22, -1044525330);\r\n a = FF(a, b, c, d, m[i+ 4], 7, -176418897);\r\n d = FF(d, a, b, c, m[i+ 5], 12, 1200080426);\r\n c = FF(c, d, a, b, m[i+ 6], 17, -1473231341);\r\n b = FF(b, c, d, a, m[i+ 7], 22, -45705983);\r\n a = FF(a, b, c, d, m[i+ 8], 7, 1770035416);\r\n d = FF(d, a, b, c, m[i+ 9], 12, -1958414417);\r\n c = FF(c, d, a, b, m[i+10], 17, -42063);\r\n b = FF(b, c, d, a, m[i+11], 22, -1990404162);\r\n a = FF(a, b, c, d, m[i+12], 7, 1804603682);\r\n d = FF(d, a, b, c, m[i+13], 12, -40341101);\r\n c = FF(c, d, a, b, m[i+14], 17, -1502002290);\r\n b = FF(b, c, d, a, m[i+15], 22, 1236535329);\r\n\r\n a = GG(a, b, c, d, m[i+ 1], 5, -165796510);\r\n d = GG(d, a, b, c, m[i+ 6], 9, -1069501632);\r\n c = GG(c, d, a, b, m[i+11], 14, 643717713);\r\n b = GG(b, c, d, a, m[i+ 0], 20, -373897302);\r\n a = GG(a, b, c, d, m[i+ 5], 5, -701558691);\r\n d = GG(d, a, b, c, m[i+10], 9, 38016083);\r\n c = GG(c, d, a, b, m[i+15], 14, -660478335);\r\n b = GG(b, c, d, a, m[i+ 4], 20, -405537848);\r\n a = GG(a, b, c, d, m[i+ 9], 5, 568446438);\r\n d = GG(d, a, b, c, m[i+14], 9, -1019803690);\r\n c = GG(c, d, a, b, m[i+ 3], 14, -187363961);\r\n b = GG(b, c, d, a, m[i+ 8], 20, 1163531501);\r\n a = GG(a, b, c, d, m[i+13], 5, -1444681467);\r\n d = GG(d, a, b, c, m[i+ 2], 9, -51403784);\r\n c = GG(c, d, a, b, m[i+ 7], 14, 1735328473);\r\n b = GG(b, c, d, a, m[i+12], 20, -1926607734);\r\n\r\n a = HH(a, b, c, d, m[i+ 5], 4, -378558);\r\n d = HH(d, a, b, c, m[i+ 8], 11, -2022574463);\r\n c = HH(c, d, a, b, m[i+11], 16, 1839030562);\r\n b = HH(b, c, d, a, m[i+14], 23, -35309556);\r\n a = HH(a, b, c, d, m[i+ 1], 4, -1530992060);\r\n d = HH(d, a, b, c, m[i+ 4], 11, 1272893353);\r\n c = HH(c, d, a, b, m[i+ 7], 16, -155497632);\r\n b = HH(b, c, d, a, m[i+10], 23, -1094730640);\r\n a = HH(a, b, c, d, m[i+13], 4, 681279174);\r\n d = HH(d, a, b, c, m[i+ 0], 11, -358537222);\r\n c = HH(c, d, a, b, m[i+ 3], 16, -722521979);\r\n b = HH(b, c, d, a, m[i+ 6], 23, 76029189);\r\n a = HH(a, b, c, d, m[i+ 9], 4, -640364487);\r\n d = HH(d, a, b, c, m[i+12], 11, -421815835);\r\n c = HH(c, d, a, b, m[i+15], 16, 530742520);\r\n b = HH(b, c, d, a, m[i+ 2], 23, -995338651);\r\n\r\n a = II(a, b, c, d, m[i+ 0], 6, -198630844);\r\n d = II(d, a, b, c, m[i+ 7], 10, 1126891415);\r\n c = II(c, d, a, b, m[i+14], 15, -1416354905);\r\n b = II(b, c, d, a, m[i+ 5], 21, -57434055);\r\n a = II(a, b, c, d, m[i+12], 6, 1700485571);\r\n d = II(d, a, b, c, m[i+ 3], 10, -1894986606);\r\n c = II(c, d, a, b, m[i+10], 15, -1051523);\r\n b = II(b, c, d, a, m[i+ 1], 21, -2054922799);\r\n a = II(a, b, c, d, m[i+ 8], 6, 1873313359);\r\n d = II(d, a, b, c, m[i+15], 10, -30611744);\r\n c = II(c, d, a, b, m[i+ 6], 15, -1560198380);\r\n b = II(b, c, d, a, m[i+13], 21, 1309151649);\r\n a = II(a, b, c, d, m[i+ 4], 6, -145523070);\r\n d = II(d, a, b, c, m[i+11], 10, -1120210379);\r\n c = II(c, d, a, b, m[i+ 2], 15, 718787259);\r\n b = II(b, c, d, a, m[i+ 9], 21, -343485551);\r\n\r\n a = (a + aa) >>> 0;\r\n b = (b + bb) >>> 0;\r\n c = (c + cc) >>> 0;\r\n d = (d + dd) >>> 0;\r\n }\r\n\r\n return crypt.endian([a, b, c, d]);\r\n };\r\n\r\n // Auxiliary functions\r\n md5._ff = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & c | ~b & d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._gg = function (a, b, c, d, x, s, t) {\r\n var n = a + (b & d | c & ~d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._hh = function (a, b, c, d, x, s, t) {\r\n var n = a + (b ^ c ^ d) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n md5._ii = function (a, b, c, d, x, s, t) {\r\n var n = a + (c ^ (b | ~d)) + (x >>> 0) + t;\r\n return ((n << s) | (n >>> (32 - s))) + b;\r\n };\r\n\r\n // Package private blocksize\r\n md5._blocksize = 16;\r\n md5._digestsize = 16;\r\n\r\n module.exports = function (message, options) {\r\n if (message === undefined || message === null)\r\n throw new Error('Illegal argument ' + message);\r\n\r\n var digestbytes = crypt.wordsToBytes(md5(message, options));\r\n return options && options.asBytes ? digestbytes :\r\n options && options.asString ? bin.bytesToString(digestbytes) :\r\n crypt.bytesToHex(digestbytes);\r\n };\r\n\r\n})();\r\n"],"names":["exports","func","wait","timeout","debounced","args","clearTimeout","setTimeout","apply","this","clear","motionEles","window","motionSwitch","ele","i","length","document","querySelector","classList","remove","style","display","add","grin","tag","type","before","after","myField","getElementById","selection","focus","sel","createRange","text","selectionStart","startPos","endPos","selectionEnd","cursorPos","value","substring","lightBoxCSS","article_attach","collapseButtons","getElementsByClassName","collapseListener","e","slideToggle","target","parentNode","addEventListener","collapse","async","_iro","baguetteBoxON","loadCSS","resolvePath","default","baguetteBox","run","captions","element","getElementsByTagName","alt","ignoreClass","fancybox","jQuery","Function","$","ext_shared_lib","importExternal","lightGallery","initLightGallery","lightbox","MathJax","svg","fontCache","startup","typeset","chtml","fontURL","mathmlSpacing","math","get_gravatar","email","size","gravatar_url","MD5","getqqinfo","is_get_by_qq","i_author","i_qq","i_email","i_url","qq_check","gravatar_check","user_avatar_img","localStorage","getItem","setAttribute","qzone_autocomplete","emailAddressFlag","qq","test","whileFailed","setItem","fetch","buildAPI","qq_api_url","then","resp","ok","data","json","name","trim","avatar","console","warn","emailAddress","URL_Address","user_name","AddComment","respondId","moveForm","commId","parentId","comm","respond","cancel","parent","div","createElement","id","insertBefore","nextSibling","temp","_respond","scrollTo","top","getBoundingClientRect","pageYOffset","clientTop","behavior","onclick","t","PRISM_VERSION","PKG_INFO","attributes","gen_top_bar","pre","code_a","children","lang","matchResult","className","match","toUpperCase","hljs_click_callback","contains","cloneElement","cloneNode","toggle","body","append","documentElement","hljs_process","code","hljs","importHighlightjs","highlightElement","initLineNumbersOnLoad","PrismBaseUrl","code_highlight_prism","autoload_path","currentPrismThemeCSS","themeCSS","light","dark","theme","theme_name","URL","toString","loadPrismCSS","darkmodeOn","nextCSS","href","nextCSSElement","prism_darkmode_callback","detail","importPrismJS","Prism","isInDarkMode","Promise","all","plugins","autoloader","languages_path","reason","bgmlistener","preventDefault","stopPropagation","textContent","dataset","nonce","method","res","Error","status","insertAdjacentHTML","lazyload","catch","error","createButterbar","innerHTML","load_bangumi","sections","_flag","code_highlight_style","querySelectorAll","code_highlight","removeEventListener","loadLineNumber","loadMatchBraces","loadCommandLine","line_number_all","parentElement","prompt","host","user","fileHighlight","highlight","prism_process","j","__","ClipboardJS","click_to_view_image","open","src","original_emoji_click","innerText","XCS","__list","form","statusSubmitting","event","butterBarRef","FormData","ajaxurl","Array","from","forEach","addComment","order","formpostion","dispatchEvent","CustomEvent","statusText","finally","sm","cm","data_commentid","getAttribute","list","msg","confirm","alert","idp","actionp","rateHolderp","ajax_data","request","XMLHttpRequest","onreadystatechange","readyState","responseText","setRequestHeader","send","resizeTOC","toc_container","sc","resize","height","Math","min","offsetHeight","offsetTop","debounce","passive","fn","maxTimelong","startTime","Date","parse","curTime","throttling","tableOfContentScroll","flag","clientWidth","tocbot","init","tocSelector","contentSelector","headingSelector","headingsOffset","heading_fix","innerHeight","onClick","entry_content_style","_els","idSet","Set","_el","title","encodeURIComponent","replace","has","smileBoxToggle","et","add_upload_tips","form_submit","comment_upload_img","width","cached","upload_img","files","_$","f","formData","xhr","api","JSON","get_the_url","proxy","loading_ph","message","attach_image","file_submit","hover","Tip","afterAjaxCommentComplete","whilePopstate","stlye","ready","nodeName","toLowerCase","_this","path","pathname","_xhr","responseType","onloadstart","comments_navi","commentwrap","loading_comments","comments_list","response","result","nextlink","outerHTML","gtag","google_analytics_id","charenc","utf8","stringToBytes","str","bin","unescape","bytesToString","bytes","decodeURIComponent","escape","push","charCodeAt","String","fromCharCode","join","module","base64map","crypt","rotl","n","b","rotr","endian","constructor","Number","randomBytes","floor","random","bytesToWords","words","wordsToBytes","bytesToHex","hex","hexToBytes","c","parseInt","substr","bytesToBase64","base64","triplet","charAt","base64ToBytes","imod4","indexOf","pow","isBuffer","obj","readFloatLE","slice","isSlowBuffer","_isBuffer","md5","options","encoding","prototype","call","isArray","Uint8Array","m","l","a","d","FF","_ff","GG","_gg","HH","_hh","II","_ii","aa","bb","cc","dd","x","s","_blocksize","_digestsize","digestbytes","asBytes","asString"],"sourceRoot":""}
|