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GC,EAAGtP,GACrC,IAAI4L,EAAI2C,GAAK1C,EAAI2C,EAAI5B,GAAK4B,IAAMa,IAAM,GAAKrP,EAC3C,OAAS4L,GAAK0D,EAAM1D,IAAO,GAAK0D,GAAOzD,CACzC,EACAiC,EAAIgB,IAAO,SAAUP,EAAG1C,EAAGe,EAAG4B,EAAGa,EAAGC,EAAGtP,GACrC,IAAI4L,EAAI2C,GAAK1C,EAAIe,EAAI4B,IAAMa,IAAM,GAAKrP,EACtC,OAAS4L,GAAK0D,EAAM1D,IAAO,GAAK0D,GAAOzD,CACzC,EACAiC,EAAIkB,IAAO,SAAUT,EAAG1C,EAAGe,EAAG4B,EAAGa,EAAGC,EAAGtP,GACrC,IAAI4L,EAAI2C,GAAK3B,GAAKf,GAAK2C,KAAOa,IAAM,GAAKrP,EACzC,OAAS4L,GAAK0D,EAAM1D,IAAO,GAAK0D,GAAOzD,CACzC,EAGAiC,EAAIyB,WAAa,GACjBzB,EAAI0B,YAAc,GAElBjE,EAAOC,QAAU,SAAU5C,EAASmF,GAClC,GAAInF,QACF,MAAM,IAAIjI,MAAM,oBAAsBiI,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/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/bangumi.ts","webpack://sakurairo-scripts/./src/page/index.js","webpack://sakurairo-scripts/./node_modules/.pnpm/@mui+utils@5.14.12_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":["\nconst motionEles = [\".bili\", \".menhera\", \".tieba\", \".custom\"];\nfunction motionSwitch(ele) {\n for (const clsName of motionEles) {\n if(clsName === ele) continue;\n const smilies = document.querySelector(clsName + '-bar');\n if (smilies !== null) {\n smilies.classList.remove('on-hover');\n document.querySelector(clsName + '-container').style.display = 'none';\n }\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 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.motionSwitch = motionSwitch\nwindow.grin = grin\n","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 }\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}\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'\r\nimport { get_gravatar } from './gravatar'\r\n\r\nexport default function getqqinfo() {\r\n let is_get_by_qq = false;\r\n const i_author = document.querySelector(\"input#author\"),\r\n i_qq = document.querySelector(\"input#qq\"),\r\n i_email = document.querySelector(\"input#email\"),\r\n i_url = document.querySelector(\"input#url\"),\r\n qq_check = document.querySelector(\".qq-check\"),\r\n gravatar_check = document.querySelector(\".gravatar-check\"),\r\n user_avatar_img = document.querySelector(\"div.comment-user-avatar img\");\r\n if (i_author == null) return;\r\n if (!localStorage.getItem('user_qq') && !localStorage.getItem('user_qq_email') && !localStorage.getItem('user_author')) {\r\n i_qq.value = i_author.value = i_email.value = i_url.value = \"\";\r\n }\r\n if (localStorage.getItem('user_avatar') && localStorage.getItem('user_qq') && localStorage.getItem('user_qq_email')) {\r\n user_avatar_img.setAttribute('src', localStorage.getItem('user_avatar'));\r\n i_author.value = localStorage.getItem('user_author');\r\n i_email.value = localStorage.getItem('user_qq') + '@qq.com';\r\n i_qq.value = localStorage.getItem('user_qq');\r\n if (_iro.qzone_autocomplete) {\r\n i_url.value = 'https://user.qzone.qq.com/' + localStorage.getItem('user_qq');\r\n }\r\n if (i_qq.value) {\r\n qq_check.style.display = \"block\";\r\n gravatar_check.style.display = \"none\";\r\n }\r\n }\r\n let emailAddressFlag = i_email.value;\r\n //var emailAddressFlag = cached.filter('#email').val();\r\n i_author.addEventListener('blur', () => {\r\n // })\r\n //cached.filter('#author').on('blur', function () {\r\n const qq = i_author.value,\r\n reg_QQ = /^[1-9]\\d{4,9}$/;\r\n if (reg_QQ.test(qq)) {\r\n const whileFailed = () => {\r\n i_qq.value = '';\r\n qq_check.style.display = 'none';\r\n gravatar_check.style.display = 'block';\r\n user_avatar_img.setAttribute('src', get_gravatar(i_email.value, 80));\r\n localStorage.setItem('user_qq', '');\r\n localStorage.setItem('user_email', i_email.value);\r\n localStorage.setItem('user_avatar', get_gravatar(i_email.value, 80));\r\n /***/\r\n /* qq.value = email.value = url.value = \"\";\r\n if (!qq.value) {\r\n qq_check.style.display = 'none';\r\n gravatar_check.style.display = 'block';\r\n setCookie('user_qq', '', 30);\r\n user_avatar_img.setAttribute('src', get_gravatar(email.value, 80));\r\n setCookie('user_avatar', get_gravatar(email.value, 80), 30);\r\n } */\r\n }\r\n fetch(buildAPI(_iro.qq_api_url, { qq: qq }))\r\n .then(async resp => {\r\n if (resp.ok) {\r\n //success\r\n try {\r\n const data = await resp.json()\r\n i_author.value = data.name;\r\n i_email.value = qq.trim() + '@qq.com';\r\n if (_iro.qzone_autocomplete) {\r\n i_url.value = 'https://user.qzone.qq.com/' + qq.trim();\r\n }\r\n user_avatar_img.setAttribute('src', 'https://q2.qlogo.cn/headimg_dl?dst_uin=' + qq + '&spec=100');\r\n is_get_by_qq = true;\r\n i_qq.value = qq.trim();\r\n if (i_qq.value) {\r\n qq_check.style.display = 'block';\r\n gravatar_check.style.display = 'none';\r\n }\r\n localStorage.setItem('user_author', data.name);\r\n localStorage.setItem('user_qq', qq);\r\n localStorage.setItem('is_user_qq', 'yes');\r\n localStorage.setItem('user_qq_email', qq + '@qq.com');\r\n localStorage.setItem('user_email', qq + '@qq.com');\r\n emailAddressFlag = i_email.value;\r\n /***/\r\n user_avatar_img.setAttribute('src', data.avatar);\r\n localStorage.setItem('user_avatar', data.avatar);\r\n } catch (e) {\r\n console.warn(e)\r\n whileFailed()\r\n }\r\n } else {\r\n whileFailed()\r\n }\r\n })\r\n }\r\n });\r\n if (localStorage.getItem('user_avatar') && localStorage.getItem('user_email') && localStorage.getItem('is_user_qq') == 'no' && !localStorage.getItem('user_qq_email')) {\r\n user_avatar_img.setAttribute(\"src\", localStorage.getItem('user_avatar'));\r\n i_email.value = localStorage.getItem('user_mail');\r\n i_qq.value = '';\r\n if (!i_qq.value) {\r\n qq_check.style.display = \"none\";\r\n gravatar_check.style.display = \"block\";\r\n }\r\n // $('div.comment-user-avatar img').attr('src', getCookie('user_avatar'));\r\n // cached.filter('#email').val(getCookie('user_email'));\r\n // cached.filter('#qq').val('');\r\n // if (!cached.filter('#qq').val()) {\r\n // $('.qq-check').css('display', 'none');\r\n // $('.gravatar-check').css('display', 'block');\r\n // }\r\n }\r\n i_email.addEventListener(\"blur\", function () {\r\n //cached.filter('#email').on('blur', function () {\r\n let emailAddress = i_email.value;\r\n // var emailAddress = cached.filter('#email').val();\r\n if ((is_get_by_qq == false || emailAddressFlag != emailAddress) && emailAddress != '') {\r\n user_avatar_img.setAttribute(\"src\", get_gravatar(emailAddress, 80));\r\n //$('div.comment-user-avatar img').attr('src', get_gravatar(emailAddress, 80));\r\n localStorage.setItem('user_avatar', get_gravatar(emailAddress, 80));\r\n localStorage.setItem('user_email', emailAddress);\r\n localStorage.setItem('user_qq_email', '');\r\n localStorage.setItem('is_user_qq', 'no');\r\n i_qq.value = '';\r\n // cached.filter('#qq').val('');\r\n if (!i_qq.value) {\r\n qq_check.style.display = \"none\";\r\n gravatar_check.style.display = \"block\";\r\n // $('.qq-check').css('display', 'none');\r\n // $('.gravatar-check').css('display', 'block');\r\n }\r\n }\r\n });\r\n if (localStorage.getItem('user_url')) {\r\n i_url.value = localStorage.getItem(\"user_url\");\r\n // cached.filter('#url').val(getCookie('user_url'));\r\n }\r\n i_url.addEventListener(\"blur\", function () {\r\n //cached.filter('#url').on('blur', function () {\r\n let URL_Address = i_url.value;\r\n i_url.value = URL_Address;\r\n // var URL_Address = cached.filter('#url').val();\r\n // cached.filter('#url').val(URL_Address);\r\n localStorage.setItem('user_url', URL_Address);\r\n });\r\n if (localStorage.getItem('user_author')) {\r\n i_author.value = localStorage.getItem('user_author');\r\n // cached.filter('#author').val(getCookie('user_author'));\r\n }\r\n i_author.addEventListener(\"blur\", function () {\r\n // cached.filter('#author').on('blur', function () {\r\n let user_name = i_author.value;\r\n i_author.value = user_name;\r\n // var user_name = cached.filter('#author').val();\r\n // cached.filter('#author').val(user_name);\r\n localStorage.setItem('user_author', user_name);\r\n });\r\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 '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","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 { _$, __ } from '../common/sakurairo_global'\nimport load_bangumi from './bangumi'\nimport debounce from '@mui/utils/debounce'\nimport { code_highlight_style } from '../common/code-highlight'\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}\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-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 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","// 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":["motionEles","window","motionSwitch","ele","clsName","smilies","document","querySelector","classList","remove","style","display","add","grin","tag","type","before","after","myField","getElementById","selection","focus","createRange","text","selectionStart","startPos","endPos","selectionEnd","cursorPos","value","substring","length","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","arguments","undefined","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","this","div","createElement","id","insertBefore","nextSibling","temp","_respond","scrollTo","top","getBoundingClientRect","pageYOffset","clientTop","behavior","onclick","t","bgmlistener","preventDefault","stopPropagation","contains","textContent","dataset","href","nonce","method","res","Error","status","insertAdjacentHTML","lazyload","catch","error","createButterbar","innerHTML","load_bangumi","sections","_flag","i","click_to_view_image","open","src","original_emoji_click","innerText","XCS","__list","form","statusSubmitting","event","butterBarRef","__","FormData","append","ajaxurl","attributes","body","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","_ref","tocbot","init","tocSelector","contentSelector","headingSelector","headingsOffset","heading_fix","innerHeight","onClick","entry_content_style","_els","querySelectorAll","idSet","Set","_el","title","encodeURIComponent","replace","has","smileBoxToggle","et","toggle","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","code_highlight_style","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":""}