(self["webpackChunkluckperms_web"]=self["webpackChunkluckperms_web"]||[]).push([[740],{5115:function(t,e,i){"use strict";i.d(e,{A:function(){return u}});var s=function(){var t=this,e=t._self._c;return e("img",{staticClass:"avatar",attrs:{src:"Hytale"===t.platform?`https://crafthead.net/hytale/helm/${t.key}/24`:`https://crafthead.net/helm/${t.key}/24`,alt:t.$t("avatar",{name:t.name}),title:t.title?t.$t("avatar",{name:t.name}):""},on:{error:t.replaceWithDefault}})},r=[],n="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAA9klEQVR4nEWOvUoDQRSFv5nN7mQVsyISg0KwFgQ7K+sExEJ8AbUQDAiWWmmlIoKdPoFWYqOIheRFFGQ1oIKykCXETXZmMpAip7mXe8+fWJyPrDbgCUlP5+S5RkqJX/CwFsRCNXJjCBUUKCmJQfKXZmijh4TTvU0CPyAsluh22s5Okvx8cXH3hLg52rWhUnSzDM9TJO2E6kyZOH51ni7i/mTfrh9eslY/Y3v5EzUxzvXLFA/PB9weNxBXO6u2XJnDVxGPzabTwEZ9hdbHG+/fv4jzrZoNhCFupe41QmV2jLTTRzRqS9YYw/Rk5M6Q9XuEqug2XK9/BgqfVAJK5487AAAAAElFTkSuQmCC",a={props:{id:{required:!0},name:{required:!1},title:{type:Boolean,default:!0}},computed:{key(){return this.id.replace(/-/g,"")},platform(){var t,e,i,s,r;return(null===(t=this.$store.getters.metaData)||void 0===t?void 0:t.platform)??(null===(e=this.$store.getters.verbose)||void 0===e||null===(i=e.metadata)||void 0===i?void 0:i.platform)??(null===(s=this.$store.getters.tree)||void 0===s||null===(r=s.metadata)||void 0===r?void 0:r.platform)??"Minecraft"}},methods:{replaceWithDefault(t){t.target.src=n}}},o=a,l=i(845),h=(0,l.A)(o,s,r,!1,null,null,null),u=h.exports},5952:function(t,e,i){"use strict";i.d(e,{A:function(){return r}});var s=i(649);async function r(t,e){const{params:{id:i},query:r,hash:n}=t,a=Object.keys(r);let o;if(i)o=t.params.id;else if(a.length>0){const[t]=a;o=`?${t}`}else n&&(o=n);o&&await s.A.dispatch(e,o)}},7929:function(t,e,i){ /*! * vue-virtual-scroll-list v2.3.4 * open source under the MIT license * https://github.com/tangbc/vue-virtual-scroll-list#readme */ (function(e,s){t.exports=s(i(5471))})(0,(function(t){"use strict";function e(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function i(t){for(var i=1;it.length)&&(e=t.length);for(var i=0,s=new Array(e);ithis.range.start)){var e=Math.max(t-this.param.buffer,0);this.checkRange(e,this.getEndByStart(e))}}},{key:"handleBehind",value:function(){var t=this.getScrollOvers();tt&&(r=i-1)}return e>0?--e:0}},{key:"getIndexOffset",value:function(t){if(!t)return 0;for(var e=0,i=0,s=0;s=this.dataSources.length-1)this.scrollToBottom();else{var e=this.virtual.getOffset(t);this.scrollToOffset(e)}},scrollToBottom:function(){var t=this,e=this.$refs.shepherd;if(e){var i=e[this.isHorizontal?"offsetLeft":"offsetTop"];this.scrollToOffset(i),setTimeout((function(){t.getOffset()+t.getClientSize()+1s+1||!s||(this.virtual.handleScroll(e),this.emitEvent(e,i,s,t))},emitEvent:function(t,e,i,s){this.$emit("scroll",s,this.virtual.getRange()),this.virtual.isFront()&&this.dataSources.length&&t-this.topThreshold<=0?this.$emit("totop"):this.virtual.isBehind()&&t+e+this.bottomThreshold>=i&&this.$emit("tobottom")},getRenderSlots:function(t){for(var e=[],i=this.range,s=i.start,r=i.end,n=this.dataSources,a=this.dataKey,o=this.itemClass,l=this.itemTag,h=this.itemStyle,u=this.isHorizontal,c=this.extraProps,d=this.dataComponent,f=this.itemScopedSlots,p=this.$scopedSlots&&this.$scopedSlots.item,g=s;g<=r;g++){var y=n[g];if(y){var m="function"===typeof a?a(y):y[a];"string"===typeof m||"number"===typeof m?e.push(t(b,{props:{index:g,tag:l,event:T.ITEM,horizontal:u,uniqueKey:m,source:y,extraProps:c,component:d,slotComponent:p,scopedSlots:f},style:h,class:"".concat(o).concat(this.itemClassAdd?" "+this.itemClassAdd(g):"")})):console.warn("Cannot get the data-key '".concat(a,"' from data-sources."))}else console.warn("Cannot get the index '".concat(g,"' from data-sources."))}return e}},render:function(t){var e=this.$slots,i=e.header,s=e.footer,r=this.range,n=r.padFront,a=r.padBehind,o=this.isHorizontal,l=this.pageMode,h=this.rootTag,u=this.wrapTag,c=this.wrapClass,d=this.wrapStyle,f=this.headerTag,p=this.headerClass,g=this.headerStyle,y=this.footerTag,m=this.footerClass,v=this.footerStyle,S={padding:o?"0px ".concat(a,"px 0px ").concat(n,"px"):"".concat(n,"px 0px ").concat(a,"px")},z=d?Object.assign({},d,S):S;return t(h,{ref:"root",on:{"&scroll":!l&&this.onScroll}},[i?t(O,{class:p,style:g,props:{tag:f,event:T.SLOT,uniqueKey:k.HEADER}},i):null,t(u,{class:c,attrs:{role:"group"},style:z},this.getRenderSlots(t)),s?t(O,{class:m,style:v,props:{tag:y,event:T.SLOT,uniqueKey:k.FOOTER}},s):null,t("div",{ref:"shepherd",style:{width:o?"0px":"100%",height:o?"100%":"0px"}})])}});return I}))}}]); //# sourceMappingURL=740.78e44f80.js.map