!function(){function e(e,r,t,n,a,s,u){try{var i=e[s](u),c=i.value}catch(o){return void t(o)}i.done?r(c):Promise.resolve(c).then(n,a)}var r=document.createElement("style");r.innerHTML="._result_134em_1{display:flex;align-items:center}._result_134em_1 ._avatar_134em_5{width:27.5px!important;height:27.5px!important;flex-shrink:0}._result_134em_1 ._username_134em_10{font-weight:bolder;margin-left:10px;flex-shrink:1;overflow:hidden;text-overflow:ellipsis}\n",document.head.appendChild(r),System.register(["./vendor-legacy.046e8265.js","./index-legacy.b746a8e2.js","./UserAvatar-legacy.2dcf9402.js","./PreviewSearch-legacy.58d47faf.js"],(function(r){"use strict";var t,n,a,s,u,i,c;return{setters:[function(e){t=e.j,n=e.h},function(e){a=e.u,s=e.a,u=e.t},function(e){i=e.U},function(e){c=e.P}],execute:function(){var o="_result_134em_1",l="_avatar_134em_5",d="_username_134em_10";r("U",(function(r){var f,m,h=a("components.user_search");return t(c,{className:r.className,placeholder:r.placeholder||h(".placeholder"),noResultsMessage:h(".no_result"),onGetResultKey:function(e){return e.id},onSearch:(f=regeneratorRuntime.mark((function e(r){var t,n,a,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if((t=r.startsWith("*"))&&(r=r.substr(1)),r){e.next=4;break}return e.abrupt("return",[]);case 4:return e.next=6,s.user.searchUser({query:r,wildcard:t?"Both":"End"});case 6:if(n=e.sent,a=n.requestError,i=n.response,!a){e.next=13;break}u.error(a(h)),e.next=14;break;case 13:return e.abrupt("return",i.userMetas);case 14:return e.abrupt("return",[]);case 15:case"end":return e.stop()}}),e)})),m=function(){var r=this,t=arguments;return new Promise((function(n,a){var s=f.apply(r,t);function u(r){e(s,n,a,u,i,"next",r)}function i(r){e(s,n,a,u,i,"throw",r)}u(void 0)}))},function(e){return m.apply(this,arguments)}),onRenderResult:function(e){return n("div",{className:o,children:[t(i,{className:l,userAvatar:e.avatar,imageSize:27.5,rounded:!0}),t("div",{className:d,children:e.username})]})},onResultSelect:r.onResultSelect})}))}}}))}();
