(window.webpackJsonp=window.webpackJsonp||[]).push([["app"],{"+Bsb":function(e,t,n){"use strict";var a=n("7/2J");n.n(a).a},"+aF5":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);t.default=s},"/H2a":function(e,t,n){"use strict";var a=n("COcF");n.n(a).a},"0Fbn":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-people",use:"icon-people-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"1+ww":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-eye-open",use:"icon-eye-open-usage",viewBox:"0 0 1024 1024",content:''});o.a.add(s);t.default=s},"28eg":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-exit-fullscreen",use:"icon-exit-fullscreen-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"3PhE":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-nested",use:"icon-nested-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"5TQQ":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-theme",use:"icon-theme-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"6xvN":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-form",use:"icon-form-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"7/2J":function(e,t,n){},"94Jb":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-dashboard",use:"icon-dashboard-usage",viewBox:"0 0 128 100",content:''});o.a.add(s);t.default=s},COcF:function(e,t,n){},EqXK:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-shopping",use:"icon-shopping-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},F3lI:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-bug",use:"icon-bug-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"F9+T":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-international",use:"icon-international-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},FDDl:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-qq",use:"icon-qq-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},GPBF:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-link",use:"icon-link-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},ICep:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-guide 2",use:"icon-guide 2-usage",viewBox:"0 0 1000 1000",content:''});o.a.add(s);t.default=s},JYDz:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-language",use:"icon-language-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},Kcm3:function(e,t,n){},Kj24:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-password",use:"icon-password-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},LxGF:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-peoples",use:"icon-peoples-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},MEYL:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-money",use:"icon-money-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},MMMJ:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-example",use:"icon-example-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},MokB:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-list",use:"icon-list-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},OeYi:function(e,t,n){"use strict";var a=n("yDdW");n.n(a).a},"R/8a":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},"R/Hx":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-table",use:"icon-table-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},RVVg:function(e,t,n){},SZWj:function(e,t,n){"use strict";var a=n("Xm3t");n.n(a).a},TfVu:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-eye",use:"icon-eye-usage",viewBox:"0 0 128 64",content:''});o.a.add(s);t.default=s},"Uf/o":function(e,t,n){var a={"./404.svg":"oUrx","./bug.svg":"F3lI","./chart.svg":"yCkv","./clipboard.svg":"vDVG","./component.svg":"VtY+","./dashboard.svg":"94Jb","./documentation.svg":"kPu2","./drag.svg":"m7++","./edit.svg":"qkZ8","./email.svg":"y7eQ","./example.svg":"MMMJ","./excel.svg":"ZZmv","./exit-fullscreen.svg":"28eg","./eye-open.svg":"1+ww","./eye.svg":"TfVu","./form.svg":"6xvN","./fullscreen.svg":"mSHS","./guide 2.svg":"ICep","./guide.svg":"ZoO1","./icon.svg":"nZHn","./international.svg":"F9+T","./language.svg":"JYDz","./link.svg":"GPBF","./list.svg":"MokB","./lock.svg":"qwAt","./message.svg":"R/8a","./money.svg":"MEYL","./nested.svg":"3PhE","./password.svg":"Kj24","./pdf.svg":"+aF5","./people.svg":"0Fbn","./peoples.svg":"LxGF","./qq.svg":"FDDl","./search.svg":"jo2x","./shopping.svg":"EqXK","./size.svg":"hkRB","./star.svg":"cIpu","./tab.svg":"j7e1","./table.svg":"R/Hx","./theme.svg":"5TQQ","./tree.svg":"k80C","./user.svg":"s7Vf","./wechat.svg":"gNoN","./zip.svg":"iqZD"};function i(e){var t=r(e);return n(t)}function r(e){if(!n.o(a,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return a[e]}i.keys=function(){return Object.keys(a)},i.resolve=r,e.exports=i,i.id="Uf/o"},"VtY+":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-component",use:"icon-component-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},Vtdi:function(e,t,n){"use strict";n.r(t);var a={};n.r(a),n.d(a,"parseTime",function(){return C}),n.d(a,"formatTime",function(){return L}),n.d(a,"timeAgo",function(){return bt}),n.d(a,"numberFormatter",function(){return xt}),n.d(a,"toThousandFilter",function(){return yt});var i=n("Kw5r"),r=n("p46w"),o=n.n(r),s=(n("9d8Q"),n("XJYT")),c=n.n(s),u=(n("D66Q"),n("sg+I"),{name:"App"}),l=n("KHd+"),d=Object(l.a)(u,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{attrs:{id:"app"}},[t("router-view")],1)},[],!1,null,null,null);d.options.__file="App.vue";var h=d.exports,p=n("L2JU"),m={state:{sidebar:{opened:!o.a.get("sidebarStatus")||!!+o.a.get("sidebarStatus"),withoutAnimation:!1},device:"desktop",language:o.a.get("language")||"en",size:o.a.get("size")||"medium"},mutations:{TOGGLE_SIDEBAR:function(e){e.sidebar.opened=!e.sidebar.opened,e.sidebar.withoutAnimation=!1,e.sidebar.opened?o.a.set("sidebarStatus",1):o.a.set("sidebarStatus",0)},CLOSE_SIDEBAR:function(e,t){o.a.set("sidebarStatus",0),e.sidebar.opened=!1,e.sidebar.withoutAnimation=t},TOGGLE_DEVICE:function(e,t){e.device=t},SET_LANGUAGE:function(e,t){e.language=t,o.a.set("language",t)},SET_SIZE:function(e,t){e.size=t,o.a.set("size",t)}},actions:{toggleSideBar:function(e){(0,e.commit)("TOGGLE_SIDEBAR")},closeSideBar:function(e,t){(0,e.commit)("CLOSE_SIDEBAR",t.withoutAnimation)},toggleDevice:function(e,t){(0,e.commit)("TOGGLE_DEVICE",t)},setLanguage:function(e,t){(0,e.commit)("SET_LANGUAGE",t)},setSize:function(e,t){(0,e.commit)("SET_SIZE",t)}}},f={state:{logs:[]},mutations:{ADD_ERROR_LOG:function(e,t){e.logs.push(t)}},actions:{addErrorLog:function(e,t){(0,e.commit)("ADD_ERROR_LOG",t)}}},v=n("MVZn"),g=n.n(v),w=n("jE9Z"),b={name:"Hamburger",props:{isActive:{type:Boolean,default:!1},toggleClick:{type:Function,default:null}}},x=(n("+Bsb"),Object(l.a)(b,function(){var e=this.$createElement,t=this._self._c||e;return t("div",{staticStyle:{padding:"0 15px"},on:{click:this.toggleClick}},[t("svg",{staticClass:"hamburger",class:{"is-active":this.isActive},attrs:{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",width:"64",height:"64"}},[t("path",{attrs:{d:"M408 442h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8zm-8 204c0 4.4 3.6 8 8 8h480c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8H408c-4.4 0-8 3.6-8 8v56zm504-486H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 632H120c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM142.4 642.1L298.7 519a8.84 8.84 0 0 0 0-13.9L142.4 381.9c-5.8-4.6-14.4-.5-14.4 6.9v246.3a8.9 8.9 0 0 0 14.4 7z"}})])])},[],!1,null,"3ee86d44",null));x.options.__file="index.vue";var y={components:{Hamburger:x.exports},computed:g()({},Object(p.b)(["sidebar","name","avatar","device"])),methods:{toggleSideBar:function(){this.$store.dispatch("toggleSideBar")},logout:function(){this.$store.dispatch("LogOut").then(function(){location.reload()})}}},T=(n("krgV"),Object(l.a)(y,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"navbar"},[n("hamburger",{staticClass:"hamburger-container",attrs:{"toggle-click":e.toggleSideBar,"is-active":e.sidebar.opened}}),e._v(" "),n("div",{staticClass:"right-menu"},[n("el-dropdown",{staticClass:"avatar-container right-menu-item hover-effect",attrs:{trigger:"click"}},[n("div",{staticClass:"avatar-wrapper"},[n("img",{staticClass:"user-avatar",attrs:{src:e.avatar+"?imageView2/1/w/80/h/80"}})]),e._v(" "),n("el-dropdown-menu",{attrs:{slot:"dropdown"},slot:"dropdown"},[n("router-link",{attrs:{to:"/"}},[n("el-dropdown-item",[e._v("\n "+e._s(e.$t("navbar.dashboard"))+"\n ")])],1),e._v(" "),n("el-dropdown-item",{attrs:{divided:""}},[n("span",{staticStyle:{display:"block"},on:{click:e.logout}},[e._v(e._s(e.$t("navbar.logOut")))])])],1)],1)],1)],1)},[],!1,null,"5e8599dc",null));T.options.__file="Navbar.vue";var E=T.exports,S=n("33yf"),V=n.n(S);function _(e){return this.$te("route."+e)?this.$t("route."+e):e}var k=n("cDf5"),z=n.n(k);function C(e,t){if(0===arguments.length)return null;var n,a=t||"{y}-{m}-{d} {h}:{i}:{s}";"object"===z()(e)?n=e:("string"==typeof e&&/^[0-9]+$/.test(e)&&(e=parseInt(e)),"number"==typeof e&&10===e.toString().length&&(e*=1e3),n=new Date(e));var i={y:n.getFullYear(),m:n.getMonth()+1,d:n.getDate(),h:n.getHours(),i:n.getMinutes(),s:n.getSeconds(),a:n.getDay()};return a.replace(/{(y|m|d|h|i|s|a)+}/g,function(e,t){var n=i[t];return"a"===t?["日","一","二","三","四","五","六"][n]:(e.length>0&&n<10&&(n="0"+n),n||0)})}function L(e,t){e=1e3*+e;var n=new Date(e),a=(Date.now()-n)/1e3;return a<30?"刚刚":a<3600?Math.ceil(a/60)+"分钟前":a<86400?Math.ceil(a/3600)+"小时前":a<172800?"1天前":t?C(e,t):n.getMonth()+1+"月"+n.getDate()+"日"+n.getHours()+"时"+n.getMinutes()+"分"}function M(e){return/^(https?:|mailto:|tel:)/.test(e)}var I={name:"MenuItem",functional:!0,props:{icon:{type:String,default:""},title:{type:String,default:""}},render:function(e,t){var n=t.props,a=n.icon,i=n.title,r=[];return a&&r.push(e("svg-icon",{attrs:{"icon-class":a}})),i&&r.push(e("span",{slot:"title"},[i])),r}},B=Object(l.a)(I,void 0,void 0,!1,null,null,null);B.options.__file="Item.vue";var A=B.exports,H={props:{to:{type:String,required:!0}},methods:{linkProps:function(e){return M(e)?{is:"a",href:e,target:"_blank",rel:"noopener"}:{is:"router-link",to:e}}}},D=Object(l.a)(H,function(){var e=this.$createElement;return(this._self._c||e)("component",this._b({},"component",this.linkProps(this.to),!1),[this._t("default")],2)},[],!1,null,null,null);D.options.__file="Link.vue";var R={name:"SidebarItem",components:{Item:A,AppLink:D.exports},mixins:[{computed:{device:function(){return this.$store.state.app.device}},mounted:function(){this.fixBugIniOS()},methods:{fixBugIniOS:function(){var e=this,t=this.$refs.subMenu;if(t){var n=t.handleMouseleave;t.handleMouseleave=function(t){"mobile"!==e.device&&n(t)}}}}}],props:{item:{type:Object,required:!0},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},data:function(){return{onlyOneChild:null}},methods:{hasOneShowingChild:function(e,t){var n=this,a=e.filter(function(e){return!e.hidden&&(n.onlyOneChild=e,!0)});return 1===a.length||0===a.length&&(this.onlyOneChild=g()({},t,{path:"",noShowingChildren:!0}),!0)},resolvePath:function(e){return this.isExternalLink(e)?e:V.a.resolve(this.basePath,e)},isExternalLink:function(e){return M(e)},generateTitle:_}},O=Object(l.a)(R,function(){var e=this,t=e.$createElement,n=e._self._c||t;return!e.item.hidden&&e.item.children?n("div",{staticClass:"menu-wrapper"},[!e.hasOneShowingChild(e.item.children,e.item)||e.onlyOneChild.children&&!e.onlyOneChild.noShowingChildren||e.item.alwaysShow?n("el-submenu",{ref:"subMenu",attrs:{index:e.resolvePath(e.item.path)}},[n("template",{slot:"title"},[e.item.meta?n("item",{attrs:{icon:e.item.meta.icon,title:e.generateTitle(e.item.meta.title)}}):e._e()],1),e._v(" "),e._l(e.item.children,function(t){return[t.hidden?e._e():[t.children&&t.children.length>0?n("sidebar-item",{key:t.path,staticClass:"nest-menu",attrs:{"is-nest":!0,item:t,"base-path":e.resolvePath(t.path)}}):n("app-link",{key:t.name,attrs:{to:e.resolvePath(t.path)}},[n("el-menu-item",{attrs:{index:e.resolvePath(t.path)}},[t.meta?n("item",{attrs:{icon:t.meta.icon,title:e.generateTitle(t.meta.title)}}):e._e()],1)],1)]]})],2):[n("app-link",{attrs:{to:e.resolvePath(e.onlyOneChild.path)}},[n("el-menu-item",{class:{"submenu-title-noDropdown":!e.isNest},attrs:{index:e.resolvePath(e.onlyOneChild.path)}},[e.onlyOneChild.meta?n("item",{attrs:{icon:e.onlyOneChild.meta.icon||e.item.meta.icon,title:e.generateTitle(e.onlyOneChild.meta.title)}}):e._e()],1)],1)]],2):e._e()},[],!1,null,null,null);O.options.__file="SidebarItem.vue";var P=O.exports,F=n("zx4i"),U=n.n(F),$={components:{SidebarItem:P},computed:g()({},Object(p.b)(["permission_routers","sidebar"]),{variables:function(){return U.a},isCollapse:function(){return!this.sidebar.opened}})},Y=Object(l.a)($,function(){var e=this.$createElement,t=this._self._c||e;return t("el-scrollbar",{attrs:{"wrap-class":"scrollbar-wrapper"}},[t("el-menu",{attrs:{"default-active":this.$route.path,collapse:this.isCollapse,"background-color":this.variables.menuBg,"text-color":this.variables.menuText,"active-text-color":this.variables.menuActiveText,mode:"vertical"}},this._l(this.permission_routers,function(e){return t("sidebar-item",{key:e.path,attrs:{item:e,"base-path":e.path}})}),1)],1)},[],!1,null,null,null);Y.options.__file="index.vue";var N=Y.exports,j=n("RIqP"),G=n.n(j),q={name:"ScrollPane",data:function(){return{left:0}},methods:{handleScroll:function(e){var t=e.wheelDelta||40*-e.deltaY,n=this.$refs.scrollContainer.$refs.wrap;n.scrollLeft=n.scrollLeft+t/4},moveToTarget:function(e){var t=this.$refs.scrollContainer.$el.offsetWidth,n=this.$refs.scrollContainer.$refs.wrap,a=this.$parent.$refs.tag,i=null,r=null;if(a.length>0&&(i=a[0],r=a[a.length-1]),i===e)n.scrollLeft=0;else if(r===e)n.scrollLeft=n.scrollWidth-t;else{var o=a.findIndex(function(t){return t===e}),s=a[o-1],c=a[o+1],u=c.$el.offsetLeft+c.$el.offsetWidth+4,l=s.$el.offsetLeft-4;u>n.scrollLeft+t?n.scrollLeft=u-t:l1&&void 0!==arguments[1]?arguments[1]:"/",a=[];return e.forEach(function(e){if(e.meta&&e.meta.affix&&a.push({path:V.a.resolve(n,e.path),name:e.name,meta:g()({},e.meta)}),e.children){var i=t.filterAffixTags(e.children,e.path);i.length>=1&&(a=[].concat(G()(a),G()(i)))}}),a},initTags:function(){var e=this.affixTags=this.filterAffixTags(this.routers),t=!0,n=!1,a=void 0;try{for(var i,r=e[Symbol.iterator]();!(t=(i=r.next()).done);t=!0){var o=i.value;o.name&&this.$store.dispatch("addVisitedView",o)}}catch(e){n=!0,a=e}finally{try{t||null==r.return||r.return()}finally{if(n)throw a}}},addTags:function(){return this.$route.name&&this.$store.dispatch("addView",this.$route),!1},moveToCurrentTag:function(){var e=this,t=this.$refs.tag;this.$nextTick(function(){var n=!0,a=!1,i=void 0;try{for(var r,o=t[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;if(s.to.path===e.$route.path){e.$refs.scrollPane.moveToTarget(s),s.to.fullPath!==e.$route.fullPath&&e.$store.dispatch("updateVisitedView",e.$route);break}}}catch(e){a=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw i}}})},refreshSelectedTag:function(e){var t=this;this.$store.dispatch("delCachedView",e).then(function(){var n=e.fullPath;t.$nextTick(function(){t.$router.replace({path:"/redirect"+n})})})},closeSelectedTag:function(e){var t=this;this.$store.dispatch("delView",e).then(function(n){var a=n.visitedViews;t.isActive(e)&&t.toLastView(a)})},closeOthersTags:function(){var e=this;this.$router.push(this.selectedTag),this.$store.dispatch("delOthersViews",this.selectedTag).then(function(){e.moveToCurrentTag()})},closeAllTags:function(e){var t=this;this.$store.dispatch("delAllViews").then(function(n){var a=n.visitedViews;t.affixTags.some(function(t){return t.path===e.path})||t.toLastView(a)})},toLastView:function(e){var t=e.slice(-1)[0];t?this.$router.push(t):this.$router.push("/")},openMenu:function(e,t){var n=this.$el.getBoundingClientRect().left,a=this.$el.offsetWidth-105,i=t.clientX-n+15;this.left=i>a?a:i,this.top=t.clientY,this.visible=!0,this.selectedTag=e},closeMenu:function(){this.visible=!1}}},K=(n("/H2a"),n("Yymj"),Object(l.a)(Z,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tags-view-container"},[n("scroll-pane",{ref:"scrollPane",staticClass:"tags-view-wrapper"},e._l(e.visitedViews,function(t){return n("router-link",{key:t.path,ref:"tag",refInFor:!0,staticClass:"tags-view-item",class:e.isActive(t)?"active":"",attrs:{to:{path:t.path,query:t.query,fullPath:t.fullPath},tag:"span"},nativeOn:{mouseup:function(n){return"button"in n&&1!==n.button?null:e.closeSelectedTag(t)},contextmenu:function(n){return n.preventDefault(),e.openMenu(t,n)}}},[e._v("\n "+e._s(e.generateTitle(t.title))+"\n "),t.meta.affix?e._e():n("span",{staticClass:"el-icon-close",on:{click:function(n){return n.preventDefault(),n.stopPropagation(),e.closeSelectedTag(t)}}})])}),1),e._v(" "),n("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"contextmenu",style:{left:e.left+"px",top:e.top+"px"}},[n("li",{on:{click:function(t){return e.refreshSelectedTag(e.selectedTag)}}},[e._v(e._s(e.$t("tagsView.refresh")))]),e._v(" "),e.selectedTag.meta&&e.selectedTag.meta.affix?e._e():n("li",{on:{click:function(t){return e.closeSelectedTag(e.selectedTag)}}},[e._v(e._s(e.$t("tagsView.close")))]),e._v(" "),n("li",{on:{click:e.closeOthersTags}},[e._v(e._s(e.$t("tagsView.closeOthers")))]),e._v(" "),n("li",{on:{click:function(t){return e.closeAllTags(e.selectedTag)}}},[e._v(e._s(e.$t("tagsView.closeAll")))])])],1)},[],!1,null,"67e96c42",null));K.options.__file="TagsView.vue";var J=K.exports,Q={name:"AppMain",computed:{cachedViews:function(){return this.$store.state.tagsView.cachedViews},key:function(){return this.$route.fullPath}}},X=(n("Z+gY"),Object(l.a)(Q,function(){var e=this.$createElement,t=this._self._c||e;return t("section",{staticClass:"app-main"},[t("transition",{attrs:{name:"fade-transform",mode:"out-in"}},[t("keep-alive",{attrs:{include:this.cachedViews}},[t("router-view",{key:this.key})],1)],1)],1)},[],!1,null,"f852c4f2",null));X.options.__file="AppMain.vue";var ee=X.exports,te=document.body,ne={name:"Layout",components:{Navbar:E,Sidebar:N,AppMain:ee,TagsView:J},mixins:[{watch:{$route:function(e){"mobile"===this.device&&this.sidebar.opened&&ht.dispatch("closeSideBar",{withoutAnimation:!1})}},beforeMount:function(){window.addEventListener("resize",this.resizeHandler)},mounted:function(){this.isMobile()&&(ht.dispatch("toggleDevice","mobile"),ht.dispatch("closeSideBar",{withoutAnimation:!0}))},methods:{isMobile:function(){return te.getBoundingClientRect().width-3<1024},resizeHandler:function(){if(!document.hidden){var e=this.isMobile();ht.dispatch("toggleDevice",e?"mobile":"desktop"),e&&ht.dispatch("closeSideBar",{withoutAnimation:!0})}}}}],computed:{sidebar:function(){return this.$store.state.app.sidebar},device:function(){return this.$store.state.app.device},classObj:function(){return{hideSidebar:!this.sidebar.opened,openSidebar:this.sidebar.opened,withoutAnimation:this.sidebar.withoutAnimation,mobile:"mobile"===this.device}}},methods:{handleClickOutside:function(){this.$store.dispatch("closeSideBar",{withoutAnimation:!1})}}},ae=(n("SZWj"),Object(l.a)(ne,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"app-wrapper",class:e.classObj},["mobile"===e.device&&e.sidebar.opened?n("div",{staticClass:"drawer-bg",on:{click:e.handleClickOutside}}):e._e(),e._v(" "),n("sidebar",{staticClass:"sidebar-container"}),e._v(" "),n("div",{staticClass:"main-container"},[n("navbar"),e._v(" "),n("app-main")],1)],1)},[],!1,null,"767d264f",null));ae.options.__file="Layout.vue";var ie=ae.exports;i.default.use(w.a);var re=[{path:"/redirect",component:ie,hidden:!0,children:[{path:"/redirect/:path*",component:function(){return n.e("7zzA").then(n.bind(null,"7zzA"))}}]},{path:"/login",component:function(){return n.e("chunk-8b70").then(n.bind(null,"ntYl"))},hidden:!0},{path:"/auth-redirect",component:function(){return n.e("JEtC").then(n.bind(null,"JEtC"))},hidden:!0},{path:"/404",component:function(){return n.e("chunk-f018").then(n.bind(null,"/eX4"))},hidden:!0},{path:"/401",component:function(){return n.e("chunk-18e1").then(n.bind(null,"UUO+"))},hidden:!0},{path:"",component:ie,redirect:"/users/index"}],oe=new w.a({scrollBehavior:function(){return{y:0}},routes:re}),se=[{path:"/users",component:ie,children:[{path:"index",component:function(){return Promise.all([n.e("chunk-0620"),n.e("chunk-5eaf")]).then(n.bind(null,"RGjw"))},name:"Users",meta:{title:"users",icon:"peoples",noCache:!0}}]},{path:"/reports",component:ie,children:[{path:"index",component:function(){return Promise.all([n.e("chunk-02a0"),n.e("chunk-56c9")]).then(n.bind(null,"cEOe"))},name:"Reports",meta:{title:"reports",icon:"documentation",noCache:!0}}]},{path:"*",redirect:"/404",hidden:!0}];var ce={state:{routers:[],addRouters:[]},mutations:{SET_ROUTERS:function(e,t){e.addRouters=t,e.routers=re.concat(t)}},actions:{GenerateRoutes:function(e,t){var n=e.commit;return new Promise(function(e){var a,i=t.roles;a=i.includes("admin")?se:function e(t,n){var a=[];return t.forEach(function(t){var i=g()({},t);(function(e,t){return!t.meta||!t.meta.roles||e.some(function(e){return t.meta.roles.includes(e)})})(n,i)&&(i.children&&(i.children=e(i.children,n)),a.push(i))}),a}(se,i),n("SET_ROUTERS",a),e()})}}},ue=n("o0o1"),le=n.n(ue),de=n("yXPU"),he=n.n(de),pe=n("vDqi"),me=n.n(pe).a.create({timeout:5e3});me.interceptors.response.use(function(e){return e},function(e){return console.log("err"+e),Object(s.Message)({message:e.message,type:"error",duration:5e3}),Promise.reject(e)});var fe=me,ve="Admin-Token",ge="Auth-Host";function we(){return o.a.get(ve)}function be(){return o.a.remove(ve)}function xe(){return o.a.remove(ge)}var ye=function(e){return function(e){return e.startsWith("localhost:")||e.startsWith("127.0.0.1:")}(e)?"http://".concat(e):"https://".concat(e)};function Te(e,t,n,a){return Ee.apply(this,arguments)}function Ee(){return(Ee=he()(le.a.mark(function e(t,n,a,i){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/pleroma/admin/reports/".concat(n),method:"put",headers:Ie(i),data:{state:t}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Se(e,t,n,a,i){return Ve.apply(this,arguments)}function Ve(){return(Ve=he()(le.a.mark(function e(t,n,a,i,r){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(i),url:"/api/pleroma/admin/statuses/".concat(t),method:"put",headers:Ie(r),data:{sensitive:n,visibility:a}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function _e(e,t,n){return ke.apply(this,arguments)}function ke(){return(ke=he()(le.a.mark(function e(t,n,a){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(n),url:"/api/pleroma/admin/statuses/".concat(t),method:"delete",headers:Ie(a)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function ze(e,t,n,a){return Ce.apply(this,arguments)}function Ce(){return(Ce=he()(le.a.mark(function e(t,n,a,i){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/pleroma/admin/reports?limit=".concat(t,"&max_id=").concat(n),method:"get",headers:Ie(i)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Le(e,t,n,a,i){return Me.apply(this,arguments)}function Me(){return(Me=he()(le.a.mark(function e(t,n,a,i,r){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(i),url:"/api/pleroma/admin/reports?state=".concat(t,"&limit=").concat(n,"&max_id=").concat(a),method:"get",headers:Ie(r)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}var Ie=function(e){return e?{Authorization:"Bearer ".concat(we())}:{}},Be={state:{fetchedReports:[],idOfLastReport:"",page_limit:5,stateFilter:"",loading:!0},mutations:{SET_LAST_REPORT_ID:function(e,t){e.idOfLastReport=t},SET_LOADING:function(e,t){e.loading=t},SET_REPORTS:function(e,t){e.fetchedReports=t},SET_REPORTS_FILTER:function(e,t){e.stateFilter=t}},actions:{ChangeReportState:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s,c,u,l;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.getters,r=t.state,o=n.reportState,s=n.reportId,e.next=4,Te(o,s,i.authHost,i.token);case 4:c=e.sent,u=c.data,l=r.fetchedReports.map(function(e){return e.id===s?u:e}),a("SET_REPORTS",l);case 8:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ChangeStatusScope:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s,c,u,l,d,h;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.getters,r=t.state,o=n.statusId,s=n.isSensitive,c=n.visibility,u=n.reportId,e.next=4,Se(o,s,c,i.authHost,i.token);case 4:l=e.sent,d=l.data,h=r.fetchedReports.map(function(e){if(e.id===u){var t=e.statuses.map(function(e){return e.id===o?d:e});return g()({},e,{statuses:t})}return e}),a("SET_REPORTS",h);case 8:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ClearFetchedReports:function(e){var t=e.commit;t("SET_REPORTS",[]),t("SET_LAST_REPORT_ID","")},DeleteStatus:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s,c;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=t.commit,i=t.getters,r=t.state,o=n.statusId,s=n.reportId,_e(o,i.authHost,i.token),c=r.fetchedReports.map(function(e){if(e.id===s){var t=e.statuses.filter(function(e){return e.id!==o});return g()({},e,{statuses:t})}return e}),a("SET_REPORTS",c);case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),FetchReports:function(){var e=he()(le.a.mark(function e(t){var n,a,i,r,o,s;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.commit,a=t.getters,i=t.state,n("SET_LOADING",!0),0!==i.stateFilter.length){e.next=8;break}return e.next=5,ze(i.page_limit,i.idOfLastReport,a.authHost,a.token);case 5:e.t0=e.sent,e.next=11;break;case 8:return e.next=10,Le(i.stateFilter,i.page_limit,i.idOfLastReport,a.authHost,a.token);case 10:e.t0=e.sent;case 11:r=e.t0,o=i.fetchedReports.concat(r.data.reports),s=o.length>0?o[o.length-1].id:i.idOfLastReport,n("SET_REPORTS",o),n("SET_LAST_REPORT_ID",s),n("SET_LOADING",!1);case 17:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),SetFilter:function(e,t){(0,e.commit)("SET_REPORTS_FILTER",t)}}},Ae=n("J4zp"),He=n.n(Ae),De={state:{visitedViews:[],cachedViews:[]},mutations:{ADD_VISITED_VIEW:function(e,t){e.visitedViews.some(function(e){return e.path===t.path})||e.visitedViews.push(Object.assign({},t,{title:t.meta.title||"no-name"}))},ADD_CACHED_VIEW:function(e,t){e.cachedViews.includes(t.name)||t.meta.noCache||e.cachedViews.push(t.name)},DEL_VISITED_VIEW:function(e,t){var n=!0,a=!1,i=void 0;try{for(var r,o=e.visitedViews.entries()[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=He()(r.value,2),c=s[0];if(s[1].path===t.path){e.visitedViews.splice(c,1);break}}}catch(e){a=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw i}}},DEL_CACHED_VIEW:function(e,t){var n=!0,a=!1,i=void 0;try{for(var r,o=e.cachedViews[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;if(s===t.name){var c=e.cachedViews.indexOf(s);e.cachedViews.splice(c,1);break}}}catch(e){a=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw i}}},DEL_OTHERS_VISITED_VIEWS:function(e,t){e.visitedViews=e.visitedViews.filter(function(e){return e.meta.affix||e.path===t.path})},DEL_OTHERS_CACHED_VIEWS:function(e,t){var n=!0,a=!1,i=void 0;try{for(var r,o=e.cachedViews[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;if(s===t.name){var c=e.cachedViews.indexOf(s);e.cachedViews=e.cachedViews.slice(c,c+1);break}}}catch(e){a=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw i}}},DEL_ALL_VISITED_VIEWS:function(e){var t=e.visitedViews.filter(function(e){return e.meta.affix});e.visitedViews=t},DEL_ALL_CACHED_VIEWS:function(e){e.cachedViews=[]},UPDATE_VISITED_VIEW:function(e,t){var n=!0,a=!1,i=void 0;try{for(var r,o=e.visitedViews[Symbol.iterator]();!(n=(r=o.next()).done);n=!0){var s=r.value;if(s.path===t.path){s=Object.assign(s,t);break}}}catch(e){a=!0,i=e}finally{try{n||null==o.return||o.return()}finally{if(a)throw i}}}},actions:{addView:function(e,t){var n=e.dispatch;n("addVisitedView",t),n("addCachedView",t)},addVisitedView:function(e,t){(0,e.commit)("ADD_VISITED_VIEW",t)},addCachedView:function(e,t){(0,e.commit)("ADD_CACHED_VIEW",t)},delView:function(e,t){var n=e.dispatch,a=e.state;return new Promise(function(e){n("delVisitedView",t),n("delCachedView",t),e({visitedViews:G()(a.visitedViews),cachedViews:G()(a.cachedViews)})})},delVisitedView:function(e,t){var n=e.commit,a=e.state;return new Promise(function(e){n("DEL_VISITED_VIEW",t),e(G()(a.visitedViews))})},delCachedView:function(e,t){var n=e.commit,a=e.state;return new Promise(function(e){n("DEL_CACHED_VIEW",t),e(G()(a.cachedViews))})},delOthersViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise(function(e){n("delOthersVisitedViews",t),n("delOthersCachedViews",t),e({visitedViews:G()(a.visitedViews),cachedViews:G()(a.cachedViews)})})},delOthersVisitedViews:function(e,t){var n=e.commit,a=e.state;return new Promise(function(e){n("DEL_OTHERS_VISITED_VIEWS",t),e(G()(a.visitedViews))})},delOthersCachedViews:function(e,t){var n=e.commit,a=e.state;return new Promise(function(e){n("DEL_OTHERS_CACHED_VIEWS",t),e(G()(a.cachedViews))})},delAllViews:function(e,t){var n=e.dispatch,a=e.state;return new Promise(function(e){n("delAllVisitedViews",t),n("delAllCachedViews",t),e({visitedViews:G()(a.visitedViews),cachedViews:G()(a.cachedViews)})})},delAllVisitedViews:function(e){var t=e.commit,n=e.state;return new Promise(function(e){t("DEL_ALL_VISITED_VIEWS"),e(G()(n.visitedViews))})},delAllCachedViews:function(e){var t=e.commit,n=e.state;return new Promise(function(e){t("DEL_ALL_CACHED_VIEWS"),e(G()(n.cachedViews))})},updateVisitedView:function(e,t){(0,e.commit)("UPDATE_VISITED_VIEW",t)}}};function Re(e,t,n){return Oe.apply(this,arguments)}function Oe(){return(Oe=he()(le.a.mark(function e(t,n,a){var i,r;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/v1/apps",method:"post",data:{client_name:"AdminFE_".concat(Math.random()),redirect_uris:"".concat(window.location.origin,"/oauth-callback"),scopes:"read write follow"}});case 2:return i=e.sent,r=i.data,e.abrupt("return",fe({baseURL:ye(a),url:"/oauth/token",method:"post",data:{client_id:r.client_id,client_secret:r.client_secret,grant_type:"password",username:t,password:n}}));case 5:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Pe(e,t){return fe({baseURL:ye(t),url:"/api/v1/accounts/verify_credentials",method:"get",headers:e?{Authorization:"Bearer ".concat(e)}:{}})}var Fe={state:{user:"",id:"",status:"",code:"",token:we(),authHost:o.a.get(ge),name:"",avatar:"",introduction:"",roles:[],setting:{articlePlatform:[]}},mutations:{SET_CODE:function(e,t){e.code=t},SET_TOKEN:function(e,t){e.token=t},SET_INTRODUCTION:function(e,t){e.introduction=t},SET_SETTING:function(e,t){e.setting=t},SET_STATUS:function(e,t){e.status=t},SET_NAME:function(e,t){e.name=t},SET_AVATAR:function(e,t){e.avatar=t},SET_ROLES:function(e,t){e.roles=t},SET_ID:function(e,t){e.id=t},SET_AUTH_HOST:function(e,t){e.authHost=t}},actions:{LoginByUsername:function(e,t){var n=e.commit,a=e.dispatch,i=t.username,r=t.authHost,s=t.password;return new Promise(function(e,t){Re(i,s,r).then(function(t){var a=t.data;n("SET_TOKEN",a.access_token),n("SET_AUTH_HOST",r),function(e){o.a.set(ve,e)}(a.access_token),function(e){o.a.set(ge,e)}(r),e()}).catch(function(e){a("addErrorLog",{message:e.message}),t(e)})})},GetUserInfo:function(e){var t=e.commit,n=e.state;return new Promise(function(e,a){Pe(n.token,n.authHost).then(function(n){var i=n.data;i||a("Verification failed, please login again."),i.pleroma&&i.pleroma.is_admin?t("SET_ROLES",["admin"]):a("getInfo: roles must be a non-null array!"),t("SET_NAME",i.username),t("SET_ID",i.id),t("SET_AVATAR",i.avatar),t("SET_INTRODUCTION",""),e(n)}).catch(function(e){a(e)})})},LogOut:function(e){var t=e.commit;t("SET_TOKEN",""),t("SET_ROLES",[]),be(),xe()},FedLogOut:function(e){var t=e.commit;return new Promise(function(e){t("SET_TOKEN",""),be(),xe(),e()})}}},Ue=n("lSNA"),$e=n.n(Ue);function Ye(e,t,n,a){return Ne.apply(this,arguments)}function Ne(){return(Ne=he()(le.a.mark(function e(t,n,a,i){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/pleroma/admin/users/".concat(t,"/permission_group/").concat(n),method:"post",headers:st(i)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function je(e,t,n,a,i){return Ge.apply(this,arguments)}function Ge(){return(Ge=he()(le.a.mark(function e(t,n,a,i,r){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(i),url:"/api/pleroma/admin/users",method:"post",headers:st(r),data:{nickname:t,email:n,password:a}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function qe(e,t,n,a){return We.apply(this,arguments)}function We(){return(We=he()(le.a.mark(function e(t,n,a,i){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/pleroma/admin/users/".concat(t,"/permission_group/").concat(n),method:"delete",headers:st(i)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Ze(e,t,n){return Ke.apply(this,arguments)}function Ke(){return(Ke=he()(le.a.mark(function e(t,n,a){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(n),url:"/api/pleroma/admin/users?nickname=".concat(t),method:"delete",headers:st(a)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Je(e,t,n){return Qe.apply(this,arguments)}function Qe(){return(Qe=he()(le.a.mark(function e(t,n,a){var i,r=arguments;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return i=r.length>3&&void 0!==r[3]?r[3]:1,e.next=3,fe({baseURL:ye(n),url:"/api/pleroma/admin/users?page=".concat(i,"&filters=").concat(t),method:"get",headers:st(a)});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function Xe(e,t,n,a){return et.apply(this,arguments)}function et(){return(et=he()(le.a.mark(function e(t,n,a,i){var r,o=arguments;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return r=o.length>4&&void 0!==o[4]?o[4]:1,e.next=3,fe({baseURL:ye(a),url:"/api/pleroma/admin/users?query=".concat(t,"&page=").concat(r,"&filters=").concat(n),method:"get",headers:st(i)});case 3:return e.abrupt("return",e.sent);case 4:case"end":return e.stop()}},e)}))).apply(this,arguments)}function tt(e,t,n,a){return nt.apply(this,arguments)}function nt(){return(nt=he()(le.a.mark(function e(t,n,a,i){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/pleroma/admin/users/tag",method:"put",headers:st(i),data:{nicknames:t,tags:n}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function at(e,t,n){return it.apply(this,arguments)}function it(){return(it=he()(le.a.mark(function e(t,n,a){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(n),url:"/api/pleroma/admin/users/".concat(t,"/toggle_activation"),method:"patch",headers:st(a)});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}function rt(e,t,n,a){return ot.apply(this,arguments)}function ot(){return(ot=he()(le.a.mark(function e(t,n,a,i){return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe({baseURL:ye(a),url:"/api/pleroma/admin/users/tag",method:"delete",headers:st(i),data:{nicknames:t,tags:n}});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}var st=function(e){return e?{Authorization:"Bearer ".concat(we())}:{}},ct={state:{fetchedUsers:[],loading:!0,searchQuery:"",totalUsersCount:0,currentPage:1,filters:{local:!1,external:!1,active:!1,deactivated:!1}},mutations:{SET_USERS:function(e,t){e.fetchedUsers=t},SET_LOADING:function(e,t){e.loading=t},SWAP_USER:function(e,t){var n=e.fetchedUsers.map(function(e){return e.id===t.id?t:e});e.fetchedUsers=n.sort(function(e,t){return e.nickname.localeCompare(t.nickname)})},SWAP_USERS:function(e,t){var n=t.reduce(function(e,t){return e.filter(function(e){return e.id!==t.id})},e.fetchedUsers);e.fetchedUsers=[].concat(G()(n),G()(t)).sort(function(e,t){return e.nickname.localeCompare(t.nickname)})},SET_COUNT:function(e,t){e.totalUsersCount=t},SET_PAGE:function(e,t){e.currentPage=t},SET_PAGE_SIZE:function(e,t){e.pageSize=t},SET_SEARCH_QUERY:function(e,t){e.searchQuery=t},SET_USERS_FILTERS:function(e,t){e.filters=t}},actions:{AddTag:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.getters,r=n.users,o=n.tag,s=r.map(function(e){return e.nickname}),e.next=5,tt(s,[o],i.authHost,i.token);case 5:a("SWAP_USERS",r.map(function(e){return g()({},e,{tags:[].concat(G()(e.tags),[o])})}));case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ClearFilters:function(){var e=he()(le.a.mark(function e(t){var n,a,i;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:n=t.commit,a=t.dispatch,i=t.state,n("CLEAR_USERS_FILTERS"),a("SearchUsers",{query:i.searchQuery,page:1});case 3:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}(),CreateNewAccount:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s,c;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.dispatch,i=t.getters,r=t.state,o=n.nickname,s=n.email,c=n.password,e.next=4,je(o,s,c,i.authHost,i.token);case 4:a("FetchUsers",{page:r.currentPage});case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),DeleteUser:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.getters,e.next=3,Ze(n.nickname,i.authHost,i.token);case 3:r=g()({},n,{deactivated:!0}),a("SWAP_USER",r);case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),FetchUsers:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s,c;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.state,r=t.getters,o=n.page,a("SET_LOADING",!0),s=Object.keys(i.filters).filter(function(e){return i.filters[e]}).join(),e.next=6,Je(s,r.authHost,r.token,o);case 6:c=e.sent,ut(a,o,c.data);case 8:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),RemoveTag:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.getters,r=n.users,o=n.tag,s=r.map(function(e){return e.nickname}),e.next=5,rt(s,[o],i.authHost,i.token);case 5:a("SWAP_USERS",r.map(function(e){return g()({},e,{tags:e.tags.filter(function(e){return e!==o})})}));case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),SearchUsers:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s,c,u,l;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.commit,i=t.dispatch,r=t.state,o=t.getters,s=n.query,c=n.page,0!==s.length){e.next=7;break}a("SET_SEARCH_QUERY",s),i("FetchUsers",{page:c}),e.next=14;break;case 7:return a("SET_LOADING",!0),a("SET_SEARCH_QUERY",s),u=Object.keys(r.filters).filter(function(e){return r.filters[e]}).join(),e.next=12,Xe(s,u,o.authHost,o.token,c);case 12:l=e.sent,ut(a,c,l.data);case 14:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ToggleUserActivation:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return a=t.commit,i=t.getters,e.next=3,at(n,i.authHost,i.token);case 3:r=e.sent,o=r.data,a("SWAP_USER",o);case 6:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ToggleUsersFilter:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:a=t.commit,i=t.dispatch,r=t.state,o={local:!1,external:!1,active:!1,deactivated:!1},s=g()({},o,n),a("SET_USERS_FILTERS",s),i("SearchUsers",{query:r.searchQuery,page:1});case 5:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}(),ToggleRight:function(){var e=he()(le.a.mark(function e(t,n){var a,i,r,o,s;return le.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=t.commit,i=t.getters,r=n.user,o=n.right,!r.roles[o]){e.next=7;break}return e.next=5,qe(r.nickname,o,i.authHost,i.token);case 5:e.next=9;break;case 7:return e.next=9,Ye(r.nickname,o,i.authHost,i.token);case 9:s=g()({},r,{roles:g()({},r.roles,$e()({},o,!r.roles[o]))}),a("SWAP_USER",s);case 11:case"end":return e.stop()}},e)}));return function(t,n){return e.apply(this,arguments)}}()}},ut=function(e,t,n){var a=n.users,i=n.count,r=n.page_size;e("SET_USERS",a),e("SET_COUNT",i),e("SET_PAGE",t),e("SET_PAGE_SIZE",r),e("SET_LOADING",!1)},lt=ct,dt={sidebar:function(e){return e.app.sidebar},language:function(e){return e.app.language},size:function(e){return e.app.size},device:function(e){return e.app.device},visitedViews:function(e){return e.tagsView.visitedViews},cachedViews:function(e){return e.tagsView.cachedViews},token:function(e){return e.user.token},avatar:function(e){return e.user.avatar},name:function(e){return e.user.name},introduction:function(e){return e.user.introduction},status:function(e){return e.user.status},roles:function(e){return e.user.roles},setting:function(e){return e.user.setting},permission_routers:function(e){return e.permission.routers},addRouters:function(e){return e.permission.addRouters},errorLogs:function(e){return e.errorLog.logs},users:function(e){return e.users.fetchedUsers},authHost:function(e){return e.user.authHost}};i.default.use(p.a);var ht=new p.a.Store({modules:{app:m,errorLog:f,permission:ce,reports:Be,tagsView:De,user:Fe,users:lt},getters:dt}),pt=n("mSNy"),mt=n("wAo7");i.default.component("svg-icon",mt.a);!function(e){e.keys().map(e)}(n("Uf/o")),i.default.config.errorHandler=function(e,t,n,a){i.default.nextTick(function(){ht.dispatch("addErrorLog",{err:e,vm:t,info:n,url:window.location.href}),console.error(e,n)})};var ft=n("Mj6V"),vt=n.n(ft);n("pdi6");vt.a.configure({showSpinner:!1});var gt=["/login","/auth-redirect"];function wt(e,t){return 1===e?e+t:e+t+"s"}function bt(e){var t=Date.now()/1e3-Number(e);return t<3600?wt(~~(t/60)," minute"):t<86400?wt(~~(t/3600)," hour"):wt(~~(t/86400)," day")}function xt(e,t){for(var n=[{value:1e18,symbol:"E"},{value:1e15,symbol:"P"},{value:1e12,symbol:"T"},{value:1e9,symbol:"G"},{value:1e6,symbol:"M"},{value:1e3,symbol:"k"}],a=0;a=n[a].value)return(e/n[a].value+.1).toFixed(t).replace(/\.0+$|(\.[0-9]*[1-9])0+$/,"$1")+n[a].symbol;return e.toString()}function yt(e){return(+e||0).toString().replace(/^-?\d+/g,function(e){return e.replace(/(?=(?!\b)(\d{3})+$)/g,",")})}oe.beforeEach(function(e,t,n){vt.a.start(),we()?"/login"===e.path?(n({path:"/"}),vt.a.done()):0===ht.getters.roles.length?ht.dispatch("GetUserInfo").then(function(t){var a=t.data.pleroma.is_admin?["admin"]:[];ht.dispatch("GenerateRoutes",{roles:a}).then(function(){oe.addRoutes(ht.getters.addRouters),n(g()({},e,{replace:!0}))})}).catch(function(e){ht.dispatch("FedLogOut").then(function(){s.Message.error(e),n({path:"/"})})}):function(e,t){return e.indexOf("admin")>=0||!t||e.some(function(e){return t.indexOf(e)>=0})}(ht.getters.roles,e.meta.roles)?n():n({path:"/401",replace:!0,query:{noGoBack:!0}}):-1!==gt.indexOf(e.path)?n():(n("/login?redirect=".concat(e.path)),vt.a.done())}),oe.afterEach(function(){vt.a.done()}),i.default.use(c.a,{size:o.a.get("size")||"medium",i18n:function(e,t){return pt.a.t(e,t)}}),Object.keys(a).forEach(function(e){i.default.filter(e,a[e])}),i.default.config.productionTip=!1,new i.default({el:"#app",router:oe,store:ht,i18n:pt.a,render:function(e){return e(h)}})},Xm3t:function(e,t,n){},Yymj:function(e,t,n){"use strict";var a=n("jf83");n.n(a).a},"Z+gY":function(e,t,n){"use strict";var a=n("Kcm3");n.n(a).a},ZZmv:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-excel",use:"icon-excel-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},ZoO1:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-guide",use:"icon-guide-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},bndD:function(e,t,n){"use strict";var a=n("y+Q6");n.n(a).a},cIpu:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-star",use:"icon-star-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},gNoN:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-wechat",use:"icon-wechat-usage",viewBox:"0 0 128 110",content:''});o.a.add(s);t.default=s},hkRB:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-size",use:"icon-size-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},iqZD:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-zip",use:"icon-zip-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},j7e1:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-tab",use:"icon-tab-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},jf83:function(e,t,n){},jo2x:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-search",use:"icon-search-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},k80C:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-tree",use:"icon-tree-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},kPu2:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-documentation",use:"icon-documentation-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},krgV:function(e,t,n){"use strict";var a=n("RVVg");n.n(a).a},"m7++":function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-drag",use:"icon-drag-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},mSHS:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-fullscreen",use:"icon-fullscreen-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},mSNy:function(e,t,n){"use strict";var a=n("MVZn"),i=n.n(a),r=n("Kw5r"),o=n("qSUR"),s=n("p46w"),c=n.n(s),u=n("stYL"),l=n.n(u),d=n("8NkQ"),h=n.n(d),p=n("PtZe"),m=n.n(p);r.default.use(o.a);var f={en:i()({},{route:{dashboard:"Dashboard",introduction:"Introduction",documentation:"Documentation",guide:"Guide",permission:"Permission",pagePermission:"Page Permission",directivePermission:"Directive Permission",icons:"Icons",components:"Components",componentIndex:"Introduction",tinymce:"Tinymce",markdown:"Markdown",jsonEditor:"JSON Editor",dndList:"Dnd List",splitPane:"SplitPane",avatarUpload:"Avatar Upload",dropzone:"Dropzone",sticky:"Sticky",countTo:"CountTo",componentMixin:"Mixin",backToTop:"BackToTop",dragDialog:"Drag Dialog",dragSelect:"Drag Select",dragKanban:"Drag Kanban",charts:"Charts",keyboardChart:"Keyboard Chart",lineChart:"Line Chart",mixChart:"Mix Chart",example:"Example",nested:"Nested Routes",menu1:"Menu 1","menu1-1":"Menu 1-1","menu1-2":"Menu 1-2","menu1-2-1":"Menu 1-2-1","menu1-2-2":"Menu 1-2-2","menu1-3":"Menu 1-3",menu2:"Menu 2",Table:"Table",dynamicTable:"Dynamic Table",dragTable:"Drag Table",inlineEditTable:"Inline Edit",complexTable:"Complex Table",treeTable:"Tree Table",customTreeTable:"Custom TreeTable",tab:"Tab",form:"Form",createArticle:"Create Article",editArticle:"Edit Article",articleList:"Article List",errorPages:"Error Pages",page401:"401",page404:"404",errorLog:"Error Log",excel:"Excel",exportExcel:"Export Excel",selectExcel:"Export Selected",uploadExcel:"Upload Excel",zip:"Zip",pdf:"PDF",exportZip:"Export Zip",theme:"Theme",clipboardDemo:"Clipboard",i18n:"I18n",externalLink:"External Link",users:"Users",reports:"Reports"},navbar:{logOut:"Log Out",dashboard:"Dashboard",github:"Github",theme:"Theme",size:"Global Size"},login:{title:"Login Form",logIn:"Log in",username:"Username@Host",password:"Password",errorMessage:"Username must contain username and host, e.g. john@pleroma.social",any:"any",thirdparty:"Or connect with",thirdpartyTips:"Can not be simulated on local, so please combine you own business simulation! ! !"},documentation:{documentation:"Documentation",github:"Github Repository"},permission:{roles:"Your roles",switchRoles:"Switch roles",tips:"In some cases it is not suitable to use v-permission, such as element Tab component or el-table-column and other asynchronous rendering dom cases which can only be achieved by manually setting the v-if."},guide:{description:"The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ",button:"Show Guide"},components:{documentation:"Documentation",tinymceTips:"Rich text editor is a core part of management system, but at the same time is a place with lots of problems. In the process of selecting rich texts, I also walked a lot of detours. The common rich text editors in the market are basically used, and the finally chose Tinymce. See documentation for more detailed rich text editor comparisons and introductions.",dropzoneTips:"Because my business has special needs, and has to upload images to qiniu, so instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the detail code in @/components/Dropzone.",stickyTips:"when the page is scrolled to the preset position will be sticky on the top.",backToTopTips1:"When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner",backToTopTips2:"You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally",imageUploadTips:"Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself, and if you are going to use it, it is better to use official version."},table:{dynamicTips1:"Fixed header, sorted by header order",dynamicTips2:"Not fixed header, sorted by click order",dragTips1:"The default order",dragTips2:"The after dragging order",title:"Title",importance:"Imp",type:"Type",remark:"Remark",search:"Search",add:"Add",export:"Export",reviewer:"reviewer",id:"ID",date:"Date",author:"Author",readings:"Readings",status:"Status",actions:"Actions",edit:"Edit",publish:"Publish",draft:"Draft",delete:"Delete",cancel:"Cancel",confirm:"Confirm"},errorLog:{tips:"Please click the bug icon in the upper right corner",description:"Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions.",documentation:"Document introduction"},excel:{export:"Export",selectedExport:"Export Selected Items",placeholder:"Please enter the file name(default excel-list)"},zip:{export:"Export",placeholder:"Please enter the file name(default file)"},pdf:{tips:"Here we use window.print() to implement the feature of downloading pdf."},theme:{change:"Change Theme",documentation:"Theme documentation",tips:"Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details."},tagsView:{refresh:"Refresh",close:"Close",closeOthers:"Close Others",closeAll:"Close All"},users:{users:"Users",localUsersOnly:"Local users only",search:"Search",id:"ID",name:"Name",status:"Status",local:"local",external:"external",deactivated:"deactivated",active:"active",actions:"Actions",activate:"Activate",deactivate:"Deactivate",admin:"admin",moderator:"moderator",moderation:"Moderation",revokeAdmin:"Revoke Admin",grantAdmin:"Grant Admin",revokeModerator:"Revoke Moderator",grantModerator:"Grant Moderator",activateAccount:"Activate Account",activateAccounts:"Activate Accounts",deactivateAccount:"Deactivate Account",deactivateAccounts:"Deactivate Accounts",deleteAccount:"Delete Account",deleteAccounts:"Delete Accounts",forceNsfw:"Force posts to be NSFW",stripMedia:"Force posts not to have media",forceUnlisted:"Force posts to be unlisted",sandbox:"Force posts to be followers-only",disableRemoteSubscription:"Disallow following user from remote instances",disableRemoteSubscriptionForMultiple:"Disallow following users from remote instances",disableAnySubscription:"Disallow following user at all",disableAnySubscriptionForMultiple:"Disallow following users at all",selectUsers:"Select users to apply actions to multiple users",moderateUsers:"Moderate multiple users",createAccount:"Create new user account",apply:"apply",remove:"remove",grantRightConfirmation:"Are you sure you want to grant {right} rights to all selected users?",revokeRightConfirmation:"Are you sure you want to revoke {right} rights from all selected users?",activateMultipleUsersConfirmation:"Are you sure you want to activate accounts of all selected users?",deactivateMultipleUsersConfirmation:"Are you sure you want to deactivate accounts of all selected users?",deleteMultipleUsersConfirmation:"Are you sure you want to delete accounts of all selected users?",addTagForMultipleUsersConfirmation:"Are you sure you want to apply tag to all selected users?",removeTagFromMultipleUsersConfirmation:"Are you sure you want to remove tag from all selected users?",ok:"Okay",completed:"Completed",cancel:"Cancel",canceled:"Canceled",username:"Username",email:"E-mail",password:"Password",create:"Create",submitFormError:"There are errors on the form. Please fix them before continuing.",emptyEmailError:"Please input the e-mail",invalidEmailError:"Please input valid e-mail",emptyPasswordError:"Please input the password",emptyNicknameError:"Please input the username",invalidNicknameError:'Username can include "a-z", "A-Z" and "0-9" characters'},usersFilter:{inputPlaceholder:"Select filter",byUserType:"By user type",local:"Local",external:"External",byStatus:"By status",active:"Active",deactivated:"Deactivated"},reports:{reports:"Reports",reply:"Reply",from:"From",showNotes:"Show notes",newNote:"New note",submit:"Submit",confirmMsg:"Are you sure you want to delete this note?",delete:"Delete",cancel:"Cancel",deleteCompleted:"Delete comleted",deleteCanceled:"Delete canceled",noNotes:"No notes to display",changeState:"Change state",changeScope:"Change scope",resolve:"Resolve",reopen:"Reopen",close:"Close",addSensitive:"Add Sensitive flag",removeSensitive:"Remove Sensitive flag",public:"Make status public",private:"Make status private",unlisted:"Make status unlisted",sensitive:"Sensitive",deleteStatus:"Delete status"},reportsFilter:{inputPlaceholder:"Select filter",open:"Open",closed:"Closed",resolved:"Resolved"}},l.a),zh:i()({},{route:{dashboard:"首页",introduction:"简述",documentation:"文档",guide:"引导页",permission:"权限测试页",pagePermission:"页面权限",directivePermission:"指令权限",icons:"图标",components:"组件",componentIndex:"介绍",tinymce:"富文本编辑器",markdown:"Markdown",jsonEditor:"JSON编辑器",dndList:"列表拖拽",splitPane:"Splitpane",avatarUpload:"头像上传",dropzone:"Dropzone",sticky:"Sticky",countTo:"CountTo",componentMixin:"小组件",backToTop:"返回顶部",dragDialog:"拖拽 Dialog",dragSelect:"拖拽 Select",dragKanban:"可拖拽看板",charts:"图表",keyboardChart:"键盘图表",lineChart:"折线图",mixChart:"混合图表",example:"综合实例",nested:"路由嵌套",menu1:"菜单1","menu1-1":"菜单1-1","menu1-2":"菜单1-2","menu1-2-1":"菜单1-2-1","menu1-2-2":"菜单1-2-2","menu1-3":"菜单1-3",menu2:"菜单2",Table:"Table",dynamicTable:"动态Table",dragTable:"拖拽Table",inlineEditTable:"Table内编辑",complexTable:"综合Table",treeTable:"树形表格",customTreeTable:"自定义树表",tab:"Tab",form:"表单",createArticle:"创建文章",editArticle:"编辑文章",articleList:"文章列表",errorPages:"错误页面",page401:"401",page404:"404",errorLog:"错误日志",excel:"Excel",exportExcel:"Export Excel",selectExcel:"Export Selected",uploadExcel:"Upload Excel",zip:"Zip",pdf:"PDF",exportZip:"Export Zip",theme:"换肤",clipboardDemo:"Clipboard",i18n:"国际化",externalLink:"外链"},navbar:{logOut:"退出登录",dashboard:"首页",github:"项目地址",theme:"换肤",size:"布局大小"},login:{title:"系统登录",logIn:"登录",username:"账号",password:"密码",any:"随便填",thirdparty:"第三方登录",thirdpartyTips:"本地不能模拟,请结合自己业务进行模拟!!!"},documentation:{documentation:"文档",github:"Github 地址"},permission:{roles:"你的权限",switchRoles:"切换权限",tips:"在某些情况下,不适合使用 v-permission。例如:Element-UI 的 Tab 组件或 el-table-column 以及其它动态渲染 dom 的场景。你只能通过手动设置 v-if 来实现。"},guide:{description:"引导页对于一些第一次进入项目的人很有用,你可以简单介绍下项目的功能。本 Demo 是基于",button:"打开引导"},components:{documentation:"文档",tinymceTips:"富文本是管理后台一个核心的功能,但同时又是一个有很多坑的地方。在选择富文本的过程中我也走了不少的弯路,市面上常见的富文本都基本用过了,最终权衡了一下选择了Tinymce。更详细的富文本比较和介绍见",dropzoneTips:"由于我司业务有特殊需求,而且要传七牛 所以没用第三方,选择了自己封装。代码非常的简单,具体代码你可以在这里看到 @/components/Dropzone",stickyTips:"当页面滚动到预设的位置会吸附在顶部",backToTopTips1:"页面滚动到指定位置会在右下角出现返回顶部按钮",backToTopTips2:"可自定义按钮的样式、show/hide、出现的高度、返回的位置 如需文字提示,可在外部使用Element的el-tooltip元素",imageUploadTips:"由于我在使用时它只有vue@1版本,而且和mockjs不兼容,所以自己改造了一下,如果大家要使用的话,优先还是使用官方版本。"},table:{dynamicTips1:"固定表头, 按照表头顺序排序",dynamicTips2:"不固定表头, 按照点击顺序排序",dragTips1:"默认顺序",dragTips2:"拖拽后顺序",title:"标题",importance:"重要性",type:"类型",remark:"点评",search:"搜索",add:"添加",export:"导出",reviewer:"审核人",id:"序号",date:"时间",author:"作者",readings:"阅读数",status:"状态",actions:"操作",edit:"编辑",publish:"发布",draft:"草稿",delete:"删除",cancel:"取 消",confirm:"确 定"},errorLog:{tips:"请点击右上角bug小图标",description:"现在的管理后台基本都是spa的形式了,它增强了用户体验,但同时也会增加页面出问题的可能性,可能一个小小的疏忽就导致整个页面的死锁。好在 Vue 官网提供了一个方法来捕获处理异常,你可以在其中进行错误处理或者异常上报。",documentation:"文档介绍"},excel:{export:"导出",selectedExport:"导出已选择项",placeholder:"请输入文件名(默认excel-list)"},zip:{export:"导出",placeholder:"请输入文件名(默认file)"},pdf:{tips:"这里使用 window.print() 来实现下载pdf的功能"},theme:{change:"换肤",documentation:"换肤文档",tips:"Tips: 它区别于 navbar 上的 theme-pick, 是两种不同的换肤方法,各自有不同的应用场景,具体请参考文档。"},tagsView:{refresh:"刷新",close:"关闭",closeOthers:"关闭其它",closeAll:"关闭所有"}},h.a),es:i()({},{route:{dashboard:"Panel de control",introduction:"Introducción",documentation:"Documentación",guide:"Guía",permission:"Permisos",pagePermission:"Permisos de la página",directivePermission:"Permisos de la directiva",icons:"Iconos",components:"Componentes",componentIndex:"Introducción",tinymce:"Tinymce",markdown:"Markdown",jsonEditor:"Editor JSON",dndList:"Lista Dnd",splitPane:"Panel dividido",avatarUpload:"Subir avatar",dropzone:"Subir ficheros",sticky:"Sticky",countTo:"CountTo",componentMixin:"Mixin",backToTop:"Ir arriba",dragDialog:"Drag Dialog",dragSelect:"Drag Select",dragKanban:"Drag Kanban",charts:"Gráficos",keyboardChart:"Keyboard Chart",lineChart:"Gráfico de líneas",mixChart:"Mix Chart",example:"Ejemplo",nested:"Rutas anidadass",menu1:"Menu 1","menu1-1":"Menu 1-1","menu1-2":"Menu 1-2","menu1-2-1":"Menu 1-2-1","menu1-2-2":"Menu 1-2-2","menu1-3":"Menu 1-3",menu2:"Menu 2",Table:"Tabla",dynamicTable:"Tabla dinámica",dragTable:"Arrastrar tabla",inlineEditTable:"Editor",complexTable:"Complex Table",treeTable:"Tree Table",customTreeTable:"Custom TreeTable",tab:"Pestaña",form:"Formulario",createArticle:"Crear artículo",editArticle:"Editar artículo",articleList:"Listado de artículos",errorPages:"Páginas de error",page401:"401",page404:"404",errorLog:"Registro de errores",excel:"Excel",exportExcel:"Exportar a Excel",selectExcel:"Export seleccionado",uploadExcel:"Subir Excel",zip:"Zip",pdf:"PDF",exportZip:"Exportar a Zip",theme:"Tema",clipboardDemo:"Clipboard",i18n:"I18n",externalLink:"Enlace externo"},navbar:{logOut:"Salir",dashboard:"Panel de control",github:"Github",theme:"Tema",size:"Tamaño global"},login:{title:"Formulario de acceso",logIn:"Acceso",username:"Usuario",password:"Contraseña",any:"nada",thirdparty:"Conectar con",thirdpartyTips:"No se puede simular en local, así que combine su propia simulación de negocios. ! !"},documentation:{documentation:"Documentación",github:"Repositorio Github"},permission:{roles:"Tus permisos",switchRoles:"Cambiar permisos",tips:"In some cases it is not suitable to use v-permission, such as element Tab component or el-table-column and other asynchronous rendering dom cases which can only be achieved by manually setting the v-if."},guide:{description:"The guide page is useful for some people who entered the project for the first time. You can briefly introduce the features of the project. Demo is based on ",button:"Ver guía"},components:{documentation:"Documentación",tinymceTips:"Rich text editor is a core part of management system, but at the same time is a place with lots of problems. In the process of selecting rich texts, I also walked a lot of detours. The common rich text editors in the market are basically used, and the finally chose Tinymce. See documentation for more detailed rich text editor comparisons and introductions.",dropzoneTips:"Because my business has special needs, and has to upload images to qiniu, so instead of a third party, I chose encapsulate it by myself. It is very simple, you can see the detail code in @/components/Dropzone.",stickyTips:"when the page is scrolled to the preset position will be sticky on the top.",backToTopTips1:"When the page is scrolled to the specified position, the Back to Top button appears in the lower right corner",backToTopTips2:"You can customize the style of the button, show / hide, height of appearance, height of the return. If you need a text prompt, you can use element-ui el-tooltip elements externally",imageUploadTips:"Since I was using only the vue@1 version, and it is not compatible with mockjs at the moment, I modified it myself, and if you are going to use it, it is better to use official version."},table:{dynamicTips1:"Fixed header, sorted by header order",dynamicTips2:"Not fixed header, sorted by click order",dragTips1:"Orden por defecto",dragTips2:"The after dragging order",title:"Título",importance:"Importancia",type:"Tipo",remark:"Remark",search:"Buscar",add:"Añadir",export:"Exportar",reviewer:"reviewer",id:"ID",date:"Fecha",author:"Autor",readings:"Lector",status:"Estado",actions:"Acciones",edit:"Editar",publish:"Publicar",draft:"Draft",delete:"Eliminar",cancel:"Cancelar",confirm:"Confirmar"},errorLog:{tips:"Please click the bug icon in the upper right corner",description:"Now the management system are basically the form of the spa, it enhances the user experience, but it also increases the possibility of page problems, a small negligence may lead to the entire page deadlock. Fortunately Vue provides a way to catch handling exceptions, where you can handle errors or report exceptions.",documentation:"Documento de introducción"},excel:{export:"Exportar",selectedExport:"Exportar seleccionados",placeholder:"Por favor escribe un nombre de fichero"},zip:{export:"Exportar",placeholder:"Por favor escribe un nombre de fichero"},pdf:{tips:"Here we use window.print() to implement the feature of downloading pdf."},theme:{change:"Cambiar tema",documentation:"Documentación del tema",tips:"Tips: It is different from the theme-pick on the navbar is two different skinning methods, each with different application scenarios. Refer to the documentation for details."},tagsView:{refresh:"Actualizar",close:"Cerrar",closeOthers:"Cerrar otros",closeAll:"Cerrar todos"}},m.a)},v=new o.a({locale:c.a.get("language")||"en",messages:f});t.a=v},nZHn:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-icon",use:"icon-icon-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},oUrx:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-404",use:"icon-404-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},qkZ8:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-edit",use:"icon-edit-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},qwAt:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-lock",use:"icon-lock-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},s7Vf:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-user",use:"icon-user-usage",viewBox:"0 0 130 130",content:''});o.a.add(s);t.default=s},"sg+I":function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"180px"}},vDVG:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-clipboard",use:"icon-clipboard-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},wAo7:function(e,t,n){"use strict";var a={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName:function(){return"#icon-".concat(this.iconClass)},svgClass:function(){return this.className?"svg-icon "+this.className:"svg-icon"}}},i=(n("bndD"),n("KHd+")),r=Object(i.a)(a,function(){var e=this.$createElement,t=this._self._c||e;return t("svg",this._g({class:this.svgClass,attrs:{"aria-hidden":"true"}},this.$listeners),[t("use",{attrs:{"xlink:href":this.iconName}})])},[],!1,null,"4e710b96",null);r.options.__file="index.vue";t.a=r.exports},"y+Q6":function(e,t,n){},y7eQ:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-email",use:"icon-email-usage",viewBox:"0 0 128 96",content:''});o.a.add(s);t.default=s},yCkv:function(e,t,n){"use strict";n.r(t);var a=n("4BeY"),i=n.n(a),r=n("IaFt"),o=n.n(r),s=new i.a({id:"icon-chart",use:"icon-chart-usage",viewBox:"0 0 128 128",content:''});o.a.add(s);t.default=s},yDdW:function(e,t,n){},zx4i:function(e,t,n){e.exports={menuText:"#bfcbd9",menuActiveText:"#409EFF",subMenuActiveText:"#f4f4f5",menuBg:"#304156",menuHover:"#263445",subMenuBg:"#1f2d3d",subMenuHover:"#001528",sideBarWidth:"180px"}}},[["Vtdi","runtime","chunk-elementUI","chunk-libs"]]]);