(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-421680a2"],{"0447":function(t,e,a){},1129:function(t,e,a){t.exports=a.p+"img/avatar.3232b437.png"},"192b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAAXNSR0IArs4c6QAAAMRJREFUOE9jZKASYISZ4+f2JJ6BgVGBOHP/P9i0S2Yhslq4Qf6uT/YzMDI6EGcQA8N/BoaGTbukG2HqsRn0gOH//wdEGfifqWPjHqmdILUYBqHbRJSBdDHI1/W5PRPjvwN4XfT//4GNu2Uc8Xpt8Bnk4/5En/kfwwR8XvvPyHBh0y6ZwtFYwxNK2KLf1/VpORMjQwcsZZMd/SB7/dye1oNoUGakyCCQIV5Oz+S37ZN6CKJZWP4n4M9riOIEnmmJzZy41AEATYKmE3vmSq0AAAAASUVORK5CYII="},"1fa1":function(t,e,a){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"user-shell-page"},[e("header",{staticClass:"topbar"},[e("div",{staticClass:"topbar-inner"},[e("button",{staticClass:"brand",attrs:{type:"button"},on:{click:function(e){return t.go("/home")}}},[e("img",{staticClass:"brand-logo",attrs:{src:t.brandLogo,alt:"COG"}})]),e("nav",{staticClass:"top-nav"},t._l(t.navItems,(function(a){return e("button",{key:a.label,class:["top-nav-item",{active:a.active}],attrs:{type:"button"},on:{click:function(e){return t.go(a.path)}}},[t._v(" "+t._s(a.label)+" ")])})),0),e("div",{staticClass:"top-actions"},[e("button",{staticClass:"center-link",attrs:{type:"button"},on:{click:function(e){return t.go(t.centerPath)}}},[e("img",{staticClass:"center-avatar",attrs:{src:t.profile.avatar,alt:"头像"}}),e("span",[t._v("个人中心")])]),e("button",{staticClass:"apply-btn",attrs:{type:"button"},on:{click:t.openApplyDialog}},[t._v("立即申请")])])])]),e("main",{staticClass:"page-body"},[e("div",{staticClass:"page-inner"},[e("aside",{staticClass:"sidebar"},[e("div",{staticClass:"profile-card",style:t.profileCardStyle},[e("img",{staticClass:"profile-avatar",attrs:{src:t.profile.avatar,alt:"头像"}}),e("div",{staticClass:"profile-meta"},[e("div",{staticClass:"profile-name"},[t._v(t._s(t.profile.name))]),e("div",{staticClass:"profile-role"},[t._v(t._s(t.profile.role))])])]),e("div",{staticClass:"menu-card"},t._l(t.menuItems,(function(a){return e("button",{key:a.key,class:["menu-item",{active:a.key===t.activeKey}],attrs:{type:"button"},on:{click:function(e){return t.go(a.path)}}},[e("img",{staticClass:"menu-icon",attrs:{src:a.key===t.activeKey?a.activeIcon:a.inactiveIcon||a.activeIcon,alt:a.label}}),e("span",[t._v(t._s(a.label))])])})),0)]),e("section",{staticClass:"content-card"},[e("div",{staticClass:"content-header"},[e("h1",[t._v(t._s(t.title))]),t.subtitle?e("p",[t._v(t._s(t.subtitle))]):t._e()]),t._t("default")],2)])])])},r=[],i=(a("14d9"),a("4ffd")),s=a.n(i),o={name:"UserShell",props:{title:{type:String,required:!0},subtitle:{type:String,default:""},profile:{type:Object,required:!0},menuItems:{type:Array,default:()=>[]},activeKey:{type:String,default:""},centerPath:{type:String,default:"/user/personal"}},computed:{brandLogo(){return s.a},profileCardStyle(){return this.profile.background?{backgroundImage:`url(${this.profile.background})`}:{}},navItems(){return[{label:"首页",path:"/home",active:!1},{label:"任务",path:"/home",active:!1},{label:"主播",path:"/home",active:!1},{label:"扶持政策",path:"/home",active:!1},{label:"数字资产",path:"/home",active:!1},{label:"金融服务",path:"/home",active:!1}]}},methods:{openApplyDialog(){this.$openApplyDialog({source:"user-shell-apply",roleType:"MCN机构"===this.profile.role?"MCN机构":"个人主播",organization:"MCN机构"===this.profile.role?this.profile.name:""})},go(t){t&&this.$route.path!==t&&this.$router.push(t)}}},c=o,l=(a("b136"),a("2877")),u=Object(l["a"])(c,n,r,!1,null,"ae1cf232",null);e["a"]=u.exports},2382:function(t,e,a){"use strict";a("910d")},"271a":function(t,e,a){"use strict";var n=a("cb2d"),r=a("e330"),i=a("577e"),s=a("d6d6"),o=URLSearchParams,c=o.prototype,l=r(c.getAll),u=r(c.has),d=new o("a=1");!d.has("a",2)&&d.has("a",void 0)||n(c,"has",(function(t){var e=arguments.length,a=e<2?void 0:arguments[1];if(e&&void 0===a)return u(this,t);var n=l(this,t);s(e,1);var r=i(a),o=0;while(o[e.name,e.mobile,e.platformCode].some(e=>String(e||"").toLowerCase().includes(t)))}},created(){this.loadTalents()},methods:{loadTalents(){this.talents=B()},handleSearch(){this.searchKeyword=this.keyword},goTalentForm(t){const e=t?{id:String(t)}:{};this.$router.push({path:"/user/org/talents/form",query:e})},removeTalent(t){this.talents=this.talents.filter(e=>e.id!==t),E(this.talents),this.$message.success("已删除,接口待接入:"+this.apiEndpoints.delete)},triggerBatchUpload(){this.$refs.batchUploader.click()},handleBatchUpload(t){const e=Array.from(t.target.files||[]),a=e.some(t=>t.size>10485760);if(a)return this.$message.warning("单个文件大小不能超过10M"),void(t.target.value="");this.uploadedBatchFiles=e.slice(0,30).map(t=>({name:t.name})),t.target.value=""},downloadTemplate(){const t="主播姓名,手机号,身份证号,全网粉丝总数,全网作品点击量,近一年利润,近一年直播场次,授权截止日期,平台名称,垂类赛道,平台ID,粉丝数量,主播昵称",e=new Blob([t],{type:"application/msword;charset=utf-8"}),a=URL.createObjectURL(e),n=document.createElement("a");n.href=a,n.download="主播信息模板.doc",n.click(),URL.revokeObjectURL(a)},submitBatch(){this.uploadedBatchFiles.length?(this.batchDialogVisible=!1,this.$message.success("批量导入已提交,接口待接入:"+this.apiEndpoints.batchImport)):this.$message.warning("请先上传主播信息表")}},watch:{"$route.fullPath"(){this.loadTalents()}}},O=R,x=(a("4eed"),a("2877")),F=Object(x["a"])(O,n,r,!1,null,"1706cd54",null);e["default"]=F.exports},c5cc:function(t,e,a){"use strict";var n=a("c65b"),r=a("7c73"),i=a("9112"),s=a("6964"),o=a("b622"),c=a("69f3"),l=a("dc4a"),u=a("ae93").IteratorPrototype,d=a("4754"),p=a("2a62"),h=o("toStringTag"),A="IteratorHelper",f="WrapForValidIterator",b=c.set,g=function(t){var e=c.getterFor(t?f:A);return s(r(u),{next:function(){var a=e(this);if(t)return a.nextHandler();if(a.done)return d(void 0,!0);try{var n=a.nextHandler();return a.returnHandlerResult?n:d(n,a.done)}catch(r){throw a.done=!0,r}},return:function(){var a=e(this),r=a.iterator;if(a.done=!0,t){var i=l(r,"return");return i?n(i,r):d(void 0,!0)}if(a.inner)try{p(a.inner.iterator,"normal")}catch(s){return p(r,"throw",s)}return r&&p(r,"normal"),d(void 0,!0)}})},v=g(!0),m=g(!1);i(m,h,"Iterator Helper"),t.exports=function(t,e,a){var n=function(n,r){r?(r.iterator=n.iterator,r.next=n.next):r=n,r.type=e?f:A,r.returnHandlerResult=!!a,r.nextHandler=t,r.counter=0,r.done=!1,b(this,r)};return n.prototype=e?v:m,n}},d024:function(t,e,a){"use strict";var n=a("c65b"),r=a("59ed"),i=a("825a"),s=a("46c4"),o=a("c5cc"),c=a("9bdd"),l=o((function(){var t=this.iterator,e=i(n(this.next,t)),a=this.done=!!e.done;if(!a)return c(t,this.mapper,[e.value,this.counter++],!0)}));t.exports=function(t){return i(this),r(t),new l(s(this),{mapper:t})}},d6d6:function(t,e,a){"use strict";var n=TypeError;t.exports=function(t,e){if(t