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IgB,IAAO,SAAUP,EAAG1C,EAAGe,EAAG4B,EAAGa,EAAGC,EAAG1P,GACrC,IAAIgM,EAAI2C,GAAK1C,EAAIe,EAAI4B,IAAMa,IAAM,GAAKzP,EACtC,OAASgM,GAAK0D,EAAM1D,IAAO,GAAK0D,GAAOzD,CACzC,EACAiC,EAAIkB,IAAO,SAAUT,EAAG1C,EAAGe,EAAG4B,EAAGa,EAAGC,EAAG1P,GACrC,IAAIgM,EAAI2C,GAAK3B,GAAKf,GAAK2C,KAAOa,IAAM,GAAKzP,EACzC,OAASgM,GAAK0D,EAAM1D,IAAO,GAAK0D,GAAOzD,CACzC,EAGAiC,EAAIyB,WAAa,GACjBzB,EAAI0B,YAAc,GAElBjE,EAAOC,QAAU,SAAU5C,EAASmF,GAClC,GAAInF,QACF,MAAM,IAAIpI,MAAM,oBAAsBoI,GAExC,IAAI6G,EAAc/D,EAAMa,aAAauB,EAAIlF,EAASmF,IAClD,OAAOA,GAAWA,EAAQ2B,QAAUD,EAChC1B,GAAWA,EAAQ4B,SAAW/E,EAAIE,cAAc2E,GAChD/D,EAAMc,WAAWiD,EACvB","sources":["webpack://sakurairo-scripts/./src/page/global-func.js","webpack://sakurairo-scripts/./src/page/artile_attachment/index.ts","webpack://sakurairo-scripts/./src/page/artile_attachment/math.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/bangumi.ts","webpack://sakurairo-scripts/./src/page/emoji.ts","webpack://sakurairo-scripts/./src/page/index.js","webpack://sakurairo-scripts/./node_modules/.pnpm/@mui+utils@6.1.1_react@18.2.0/node_modules/@mui/utils/esm/debounce/debounce.js","webpack://sakurairo-scripts/./node_modules/.pnpm/charenc@0.0.2/node_modules/charenc/charenc.js","webpack://sakurairo-scripts/./node_modules/.pnpm/crypt@0.0.2/node_modules/crypt/crypt.js","webpack://sakurairo-scripts/./node_modules/.pnpm/is-buffer@1.1.6/node_modules/is-buffer/index.js","webpack://sakurairo-scripts/./node_modules/.pnpm/md5@2.3.0/node_modules/md5/md5.js"],"sourcesContent":["function grin(tag, type, before, after) {\n const myField = document.getElementById('comment');\n if (!myField || myField.type != 'textarea') {\n return false;\n }\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.selection) {\n myField.focus();\n const 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.grin = grin\n","import { loadCSS } from 'fg-loadcss';\nimport { slideToggle } from '../../common/util';\nimport { resolvePath, importExternal } from '../../common/npmLib';\nimport math from './math';\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'));\n if (!((window.jQuery instanceof Function) || (window.$ instanceof Function))) {\n if (_iro.ext_shared_lib) {\n importExternal('dist/jquery.slim.min.js', 'jquery');\n }\n else {\n //@ts-ignore\n const { default: jQuery } = await import('jquery');\n window.$ = jQuery;\n window.jQuery = jQuery;\n }\n }\n if (_iro.ext_shared_lib) {\n importExternal('dist/jquery.fancybox.min.js', '@fancyapps/fancybox');\n }\n else {\n //@ts-ignore\n import('@fancyapps/fancybox');\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}\nexport default function article_attach() {\n collapse();\n lightbox();\n math();\n}\n","import { resolvePath } from '../../common/npmLib';\nexport default async function math() {\n if (document.getElementsByTagName('math').length > 0 || document.querySelector('article > div.entry-content')?.textContent.match(/(?:\\$|\\\\\\(|\\\\\\[|\\\\begin\\{.*?})/)) {\n const mathjaxConfig = {\n tex: {\n inlineMath: [['$', '$'], ['\\\\(', '\\\\)']]\n },\n startup: {\n typeset: false, // Perform initial typeset?\n },\n chtml: {\n fontURL: resolvePath('es5/output/chtml/fonts/woff-v2', 'mathjax'),\n mathmlSpacing: true // true for MathML spacing rules, false for TeX rules\n }\n };\n if (!('MathJax' in window)) {\n //@ts-ignore\n window.MathJax = mathjaxConfig;\n }\n //@ts-ignore\n await import('mathjax/es5/tex-mml-chtml'); //@ts-ignore\n window.MathJax.typesetPromise();\n }\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 const 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 { createButterbar } from \"../common/butterbar\";\nimport lazyload from \"../common/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-solid fa-triangle-exclamation\"></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","export default function prepareEmoji() {\n const ele = document.getElementById(\"emotion-toggle\");\n ele && ele.addEventListener('click', () => {\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 const row = document.querySelector('.emotion-box>table tr');\n if (!row)\n return;\n row.addEventListener('click', (e) => {\n if (e.target.tagName === 'TH') {\n for (const element of row.querySelectorAll('th')) {\n const container = document.querySelector(`.${element.className.match(/(\\S+)-bar/)[1]}-container`);\n if (element === e.target) {\n element.classList.add('on-hover');\n container.style.display = 'block';\n }\n else {\n element.classList.remove('on-hover');\n container.style.display = 'none';\n }\n }\n }\n });\n}\n","import article_attach from './artile_attachment'\nimport { ready, slideToggle, buildAPI } from '../common/util'\nimport lazyload from \"../common/lazyload\"\nimport { createButterbar } from '../common/butterbar'\nimport './global-func'\nimport getqqinfo from './getqqinfo'\nimport addComment from './AddComment'\nimport { _$, __ } from '../common/sakurairo_global'\nimport load_bangumi from './bangumi'\nimport debounce from '@mui/utils/debounce'\nimport { code_highlight_style } from '../common/code-highlight'\nimport prepareEmoji from './emoji'\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', _iro.ajaxurl, 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-solid fa-circle-notch fa-spin\"></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-solid fa-check\"></i>';\n setTimeout(function () {\n cached.innerHTML = '<i class=\"fa-regular fa-image\"></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-regular fa-clock\" aria-hidden=\"true\" style=\"color:red\"></i>';\n alert(__(\"上传失败,请重试.\"));\n setTimeout(function () {\n cached.innerHTML = '<i class=\"fa-regular fa-image\"></i>';\n }, 1000);\n }\n }\n }\n }));\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-regular fa-image\"></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 prepareEmoji()\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 prepareEmoji()\n tableOfContentScroll(true);\n addComtListener()\n document.addEventListener('ajax_comment_complete', afterAjaxCommentComplete)\n}\nwhileLoaded()\ndocument.addEventListener('pjax:complete', whilePjaxComplete)\nready(whileReady)\n//#endregion","// Corresponds to 10 frames at 60 Hz.\n// A few bytes payload overhead when lodash/debounce is ~3 kB and debounce ~300 B.\nexport default function debounce(func, wait = 166) {\n let timeout;\n function debounced(...args) {\n const later = () => {\n // @ts-ignore\n func.apply(this, args);\n };\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n }\n debounced.clear = () => {\n clearTimeout(timeout);\n };\n return debounced;\n}","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":["window","grin","tag","type","before","after","myField","document","getElementById","selectionStart","startPos","endPos","selectionEnd","cursorPos","value","substring","length","focus","lightBoxCSS","article_attach","collapseButtons","getElementsByClassName","collapseListener","e","slideToggle","target","parentNode","querySelector","ele","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","textContent","match","mathjaxConfig","tex","inlineMath","startup","typeset","chtml","fontURL","mathmlSpacing","MathJax","typesetPromise","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","style","display","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","this","div","createElement","id","insertBefore","nextSibling","temp","remove","_respond","scrollTo","top","getBoundingClientRect","pageYOffset","clientTop","behavior","onclick","t","bgmlistener","preventDefault","stopPropagation","classList","contains","add","dataset","href","nonce","method","res","Error","status","insertAdjacentHTML","lazyload","catch","error","createButterbar","innerHTML","load_bangumi","sections","_flag","i","prepareEmoji","toggle","row","tagName","querySelectorAll","container","className","click_to_view_image","open","src","original_emoji_click","innerText","XCS","__list","form","statusSubmitting","event","butterBarRef","__","FormData","append","ajaxurl","attributes","body","text","Array","from","forEach","addComment","order","formpostion","dispatchEvent","CustomEvent","statusText","reason","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","documentElement","offsetHeight","offsetTop","func","wait","timeout","debounced","args","clearTimeout","setTimeout","apply","clear","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","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","code_highlight_style","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","exports","base64map","crypt","rotl","n","b","rotr","endian","constructor","Number","randomBytes","floor","random","bytesToWords","words","wordsToBytes","bytesToHex","hex","toString","hexToBytes","c","parseInt","substr","bytesToBase64","base64","triplet","j","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":""}