!function(){function e(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter((function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable}))),t.push.apply(t,n)}return t}function r(r){for(var n=1;n<arguments.length;n++){var a=null!=arguments[n]?arguments[n]:{};n%2?e(Object(a),!0).forEach((function(e){t(r,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(r,e,Object.getOwnPropertyDescriptor(a,e))}))}return r}function t(e,r,t){return r in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e}function n(e,r){return function(e){if(Array.isArray(e))return e}(e)||function(e,r){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==t)return;var n,a,o=[],c=!0,i=!1;try{for(t=t.call(e);!(c=(n=t.next()).done)&&(o.push(n.value),!r||o.length!==r);c=!0);}catch(u){i=!0,a=u}finally{try{c||null==t.return||t.return()}finally{if(i)throw a}}return o}(e,r)||function(e,r){if(!e)return;if("string"==typeof e)return a(e,r);var t=Object.prototype.toString.call(e).slice(8,-1);"Object"===t&&e.constructor&&(t=e.constructor.name);if("Map"===t||"Set"===t)return Array.from(e);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return a(e,r)}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function a(e,r){(null==r||r>e.length)&&(r=e.length);for(var t=0,n=new Array(r);t<r;t++)n[t]=e[t];return n}System.register(["./vendor-legacy.046e8265.js","./index-legacy.b746a8e2.js","./lodash.default-legacy.f530bf3e.js"],(function(e){"use strict";var t,a,o,c,i,u;return{setters:[function(e){t=e.R,a=e.aa,o=e.r,c=e.j,i=e.ab},function(e){u=e.b},function(){}],execute:function(){function s(e){return e.endsWith("/")?e:"".concat(e,"/")}e("U",t.memo((function(e){var t=n(o.exports.useState(!1),2),a=t[0],f=t[1],l=e.imageSize||{mini:35,tiny:80,small:150,medium:300,large:450,big:600,huge:800,massive:960}[e.size]||80,b=function(e,r){switch(e.type){case"gravatar":return"".concat(s(window.gravatarCdn||u.serverPreference.misc.gravatarCdn),"avatar/").concat(e.key,"?size=").concat(r,"&default=404");case"qq":var t;return t=r<=40?1:r<=100?3:r<=140?4:5,"https://q1.qlogo.cn/g?b=qq&nk=".concat(e.key,"&s=").concat(t);case"github":return"".concat(s(window.ghAvatarCdn||"https://github.com")).concat(e.key,".png?size=").concat(r)}}(e.userAvatar,Math.ceil(window.devicePixelRatio*l)),y=o.exports.useRef();o.exports.useEffect((function(){y.current=b})),y.current!==b&&a&&f(!1);var p=Object.fromEntries(Object.entries(e).filter((function(e){var r=n(e,1)[0];return!["userAvatar","placeholder","imageSize","errorRef"].includes(r)})));return a||e.placeholder?c(i,r({src:window.publicPath+"assets/default-avatar.a1f2bf2b.svg"},p)):c(i,r(r({src:b},p),{},{onError:function(){f(!0),e.onError&&e.onError()}}))}),a.isEqual))}}}))}()