"use strict";(self.webpackChunk_client_app_store=self.webpackChunk_client_app_store||[]).push([[642],{777:function(){},92826:function(t,e,n){n.r(e),n.d(e,{default:function(){return E}});var i=function(){var t=this._self._c;return t("AuthLayout",{},["SUCCESS"===this.stage?[t("AuthInfoTip",{attrs:{title:n(11974).nI().t("应用添加成功，你可在企业微信工作台查看和使用"),content:"","btn-text":this.successBtnText},on:{confirm:this.successConfirm}})]:"INFO"===this.stage?[t("AppBeforeAuth",{attrs:{app:this.appInfo,info:this.beforeAuthInfo}})]:"ERROR"===this.stage?[t("AuthError",{attrs:{title:this.errText.title,content:this.errText.content,"btn-text":this.errText.btn},on:{confirm:this.errorConfirm}})]:[t("AppAuthHead",{attrs:{apps:this.apps,"is-admin":this.isAdmin}},[t("template",{slot:"desc"},[t("PriceInfo",{attrs:{versions:this.displayVersions,"app-id":this.appId,"app-info":this.serviceCorpApp,"price-info":this.priceInfo,"paid-info":this.paidAppInfo,"is-pay-open":this.settings.isPayOpen,"can-manage":""}})],1)],2),this._v(" "),t("AuthDesc",{attrs:{"text-list":this.isUsageModeAdminOnly?[n(11974).nI().t("添加后，仅超级管理员及有应用管理权限的分级管理员可在工作台使用该应用。")]:[n(11974).nI().t("添加后，应用将出现在可见范围员工的工作台。")]}}),this._v(" "),t("AppRange",{attrs:{title:this.isUsageModeAdminOnly?n(11974).nI().t("使用范围"):n(11974).nI().t("可见范围")},on:{headClick:this.selectContact}},[t("AuthRangeText",{attrs:{slot:"head_right",scope:this.range.scope,"user-count":this.range.count},slot:"head_right"}),this._v(" "),t("template",{slot:"content"},[t("div",{staticClass:"auth_section_cnt"},[t("AppPriceInfoText",{attrs:{"user-count":this.range.count,versions:this.versions,"price-info":this.priceInfo,"paid-info":this.paidAppInfo}})],1)])],2),this._v(" "),t("PermissionInfo",{attrs:{config:this.privilegeConfig,apps:this.apps,"brand-name":this.brandName,"auth-mode":this.authMode,"oper-table":this.operTable}}),this._v(" "),t("PermissionCheck",{ref:"permissionCheck",attrs:{apps:this.apps,config:this.privilegeConfig,"brand-name":this.brandName}}),this._v(" "),t("AuthFooter",{attrs:{agreements:[this.appInfo.agreement_entry_control],submitting:this.btnDisabled,"btn-desc":n(11974).nI().t("添加后，应用将出现在你的工作台"),"btn-disabled":this.btnDisabled},on:{submit:this.authSubmit}})]],2)};i._withStripped=!0,n(3082);var r=n(34108),o=n(53930),s=n(19796),a=n(87879),u=n(79394),c=n(97161),p=n(58092),l=n(40217),f=n(93646),d=n(2271),h=n(9084),v=n(86055),m=n(38425),y=n(15057),g=n(39171),b=n(17457),_=n(72945),A=n(89536),I=n(48394),w=n(17272),S=n(15682),C=n(51786),x=n(6497),k=n(61899),P=n(62330),O=n(73848);function j(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=Array(e);n<e;n++)i[n]=t[n];return i}function T(t,e,n,i,r,o,s){try{var a=t[o](s),u=a.value}catch(c){n(c);return}a.done?e(u):Promise.resolve(u).then(i,r)}function Z(t){return function(){var e=this,n=arguments;return new Promise(function(i,r){var o=t.apply(e,n);function s(t){T(o,i,r,s,a,"next",t)}function a(t){T(o,i,r,s,a,"throw",t)}s(void 0)})}}function q(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){var i,r;i=t,r=n[e],e in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r})}return t}function M(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n,i,r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var o=[],s=!0,a=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(o.push(n.value),!e||o.length!==e);s=!0);}catch(u){a=!0,i=u}finally{try{s||null==r.return||r.return()}finally{if(a)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return j(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if("Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(t,e)}}(t,e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var R=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(a){o=[6,a],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},U={name:"AppAdminAuth",components:{AuthLayout:f.Z,AppAuthHead:g.Z,AuthInfoTip:S.Z,AuthError:I.Z,AuthDesc:A.Z,AppRange:_.Z,PermissionInfo:k.Z,PermissionCheck:x.Z,AuthFooter:w.Z,PriceInfo:P.Z,AppPriceInfoText:b.Z,AppBeforeAuth:y.Z,AuthRangeText:C.Z},asyncData:function(t){return Z(function(){var e,n,i,r;return R(this,function(o){switch(o.label){case 0:return[4,Promise.all([t.$ctrl.auth.appAuthAdmin({appid:t.query.appid,scene_val:t.query.scene_val}),t.$request(p.Gi)])];case 1:return n=(e=M.apply(void 0,[o.sent(),2]))[0],r={scope:{members:[i=e[1].authMember],parties:[],tags:[]},app_perm:{vid_item:[i.vid]},scopeStr:i.name,count:1},[2,{settings:n,query:t.query,range:r}]}})})()},data:function(){return{stage:"",settings:null,error:{},btnDisabled:!1,infoText:{}}},head:function(){return{title:n(11974).nI().t("添加应用"),bodyAttrs:{class:["appStore_body_WhiteDesktop2"]}}},computed:{ctrl:function(){return this.$ctrl.auth},appInfo:function(){var t;return(null===(t=this.settings)||void 0===t?void 0:t.appInfo)||{}},serviceCorpApp:function(){return this.appInfo.servicecorp_app},apps:function(){return[this.serviceCorpApp]},appId:function(){return this.query.thirdapp_id},brandName:function(){var t;return null===(t=this.appInfo.servicecorp_info)||void 0===t?void 0:t.brand_name},isAdmin:function(){return!!this.settings.isAdmin},errText:function(){var t,e;return{title:(null===(t=this.error)||void 0===t?void 0:t.title)||n(11974).nI().t("应用添加失败"),content:(null===(e=this.error)||void 0===e?void 0:e.humanMessage)||n(11974).nI().t("系统繁忙，请稍后再试"),btn:n(11974).nI().t("返回")}},successBtnText:function(){return this.isAdmin?n(11974).nI().t("确定"):""},isInstall:function(){var t;return null===(t=this.serviceCorpApp)||void 0===t?void 0:t.is_installed},from:function(){return this.settings.from},authMode:function(){return v.vB.AuthMode_Manager},operTable:function(){return this.appInfo.oper_table},canManage:function(){if(!this.isAdmin)return!1;if(this.settings.is_superadmin)return!0;var t=this.settings.role||{},e=!!((null==t?void 0:t.auth_flags)&32),n=(0,c.some)(this.apps,function(e){var n;return(0,c.some)(null===(n=t.app_auth_list)||void 0===n?void 0:n.item,function(t){return e.corp_app_id===t.app_id&&2&t.flags})});return e||n},contactSensitiveFlag:function(){var t,e;return null===(t=this.appInfo)||void 0===t?void 0:null===(e=t.servicecorp_app)||void 0===e?void 0:e.contact_sensitive_flag_new},privilegeConfig:function(){var t;return null===(t=this.appInfo.app_config_list)||void 0===t?void 0:t.config},corpHadInstall:function(){return!!(0,c.filter)(this.apps,"corp_app_id").length},versions:function(){var t,e,n,i;return(0,d.ko)((null===(t=this.settings)||void 0===t?void 0:null===(e=t.priceInfo)||void 0===e?void 0:null===(n=e.list)||void 0===n?void 0:n.standardpriceinfo)||[],{canManage:!0,isPayOpen:null===(i=this.settings)||void 0===i?void 0:i.isPayOpen})},displayVersions:function(){return this.settings.isPayAccountRegisted?this.versions:this.versions.filter(function(t){return t.priceinfo_type===o.y})},paidAppInfo:function(){var t;return(null===(t=this.settings.paidInfo)||void 0===t?void 0:t.paid_app_info)||{}},priceInfo:function(){return this.ctrl.getPriceInfo({versions:this.versions,paidInfo:this.paidAppInfo})},appAuthStatus:function(){return this.settings.appAuthStatus||{}},beforeAuthInfo:function(){return(0,h.$V)(this,{recommendApp:q({app_logo:this.serviceCorpApp.logo,app_name:this.serviceCorpApp.name,is_forbidden:this.appAuthStatus.isAppForbidden},this.serviceCorpApp),hasLogin:!0,canMemberAuth:this.appAuthStatus.isMemberAuthOpen,installMode:l.gm[this.appAuthStatus.currentAuthMode],isInAppScope:this.appAuthStatus.isInPerm,hasAddAppPrivilege:this.appAuthStatus.canCreateApp,isSuperAdmin:this.settings.is_superadmin})},installScene:function(){var t=this.$route.query.install_scene;return t&&Object.values(s).includes(+t)?+t:l.j2[this.from||"Market"]},isUsageModeAdminOnly:function(){var t;return(null===(t=this.serviceCorpApp)||void 0===t?void 0:t.usage_mode)===v.Cr.MODE_ONLY_APP_MANAGER}},created:function(){var t;(null===(t=this.appAuthStatus)||void 0===t?void 0:t.canAuth)===!1&&(this.stage="INFO")},mounted:function(){this.$reportStat({key:this.$clientEnv.statKey,item:"admin_addapp_page_show"}),this.contactPicker=(0,r.G)({config:{allowEmpty:!0,needCount:!0,title:n(11974).nI().t("设置可见范围"),selectable:{parties:!0,members:!0,tags:!0},searchable:{parties:!0,members:!0,tags:!0}}})},methods:{errorConfirm:function(){this.stage="",this.error.canRetry&&(this.stage="")},selectContact:function(){return Z(function(){var t,e;return R(this,function(i){switch(i.label){case 0:var r;return[4,this.contactPicker.select({checked:this.range.scope,validate:(r=Z(function(t){return R(this,function(e){return t.count?t.hasRoot?[2,u.Vq.confirm({title:n(11974).nI().t("已选择企业全部通讯录"),message:n(11974).nI().t("确认后，应用服务商将获得企业全部的部门和成员信息 (不含手机号和邮箱地址)。"),zIndex:2e3})]:[2,!0]:((0,a.Z)({message:n(11974).nI().t("请至少选择一个部门/成员"),position:"top"}),[2,!1])})}),function(t){return r.apply(this,arguments)})})];case 1:if(!(t=i.sent()))return[2];return e=t.vptids,this.range={scopeStr:t.scopeStr,count:t.count,scope:t.scope,app_perm:{vid_item:e.vids,pid_item:e.pids,tag_item:e.tids}},[2]}})}).apply(this)},authSubmit:function(){return Z(function(){var t,e,i,r,o,s;return R(this,function(u){switch(u.label){case 0:return t=this,this.btnDisabled=!0,this.$reportStat({key:this.$clientEnv.statKey,item:"admin_addapp_auth_click"}),[4,this.ctrl.addAppAuthAdmin({redirect_uri:this.query.redirect_uri,pre_auth_code:this.query.pre_auth_code,suite_id:this.serviceCorpApp.wx_app_id||this.serviceCorpApp.suite_id,install_app_item:[q({thirdapp_id:this.serviceCorpApp.thirdapp_id},null===(e=this.range)||void 0===e?void 0:e.app_perm)],opt:(null===(i=this.$refs.permissionCheck)||void 0===i?void 0:i.getOpt())||[],scene:this.installScene,groupid:this.query.crop_group_id,scene_val:null===(r=this.$route.query)||void 0===r?void 0:r.scene_val},{silent:!0}).catch(function(t){var e;return null==t?void 0:null===(e=t.data)||void 0===e?void 0:e.result}).finally(function(){t.btnDisabled=!1})];case 1:if(o=u.sent(),(null==(s=(0,m.IH)(this,{appInfo:this.serviceCorpApp,installRes:o}))?void 0:s.type)==="modal")return(0,O.a)({title:s.title,message:s.body}),[2];if((null==s?void 0:s.type)==="toast")return(0,a.Z)({message:s.message,position:"middle"}),[2];return this.$router.replace({name:"/app",query:{appId:this.serviceCorpApp.thirdapp_id}}),(0,a.Z)({message:n(11974).nI().t("已添加"),position:"middle"}),[2]}})}).apply(this)}}},E=(0,n(6080).Z)(U,i,[],!1,null,null,null).exports},17457:function(t,e,n){n.d(e,{Z:function(){return s}});var i=function(){return(0,this._self._c)("span",{staticClass:"app_priceInfo_text",class:{app_priceInfo_text_warn:this.isUserOverflow}},[this._v("\n  "+n(11974).nI().t("已选{0}人",[this.userCount])+"\n  "),this.showVerison?[this.isUserOverflow?[this._v(" "+n(11974).nI().t("，超过购买人数")+" ")]:this.paidInfo.paid_user_count?[this._v("\n      "+n(11974).nI().t("，可用人数{0}",[this._f("formatUserCount")(this.paidInfo)])+"\n    ")]:[1===this.curPriceInfo.priceinfo_type&&this.versions.length>=1?[this._v("\n        "+n(11974).nI().t("，{0}",[this.curPriceInfo.priceText.rule])+"\n      ")]:this._e(),this._v(" "),2===this.curPriceInfo.priceinfo_type&&this.curPriceInfo.price_rule&&1!==this.curPriceInfo.price_rule.rule_type?[this._v("\n        "+n(11974).nI().t("，可用人数{0}",[this._f("formatUserCount")(this.priceInfo)])+"\n      ")]:this._e()]]:this._e()],2)};i._withStripped=!0;var r=n(40217),o=n(2271),s=(0,n(6080).Z)({name:"AppPriceInfoText",components:{},filters:{formatUserCount:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return t.paid_user_count===r.Aj?n(11974).nI().t("无限制"):n(11974).nI().t("{0}人",[t.paid_user_count])}},props:{versions:{type:Array,default:function(){return[]}},priceInfo:{type:Object,default:function(){}},paidInfo:{type:Object,default:function(){}},userCount:{type:Number},showVerison:{type:Boolean,default:!0}},data:function(){return{}},computed:{curPriceInfo:function(){return(0,o.Ig)(this.priceInfo)},paidUserCount:function(){return this.paidInfo?this.paidInfo.paid_user_count:r.Aj},isUserOverflow:function(){return this.userCount>this.paidUserCount}}},i,[],!1,null,"795bf238",null).exports},34108:function(t,e,n){n.d(e,{G:function(){return a}});var i={body:"style-module__body--iiSdm",picker:"style-module__picker--aZPS1",show:"style-module__show--F2P_9","fade-in":"style-module__fade-in--VZueY"};function r(t,e,n,i,r,o,s){try{var a=t[o](s),u=a.value}catch(c){n(c);return}a.done?e(u):Promise.resolve(u).then(i,r)}function o(t){return function(){var e=this,n=arguments;return new Promise(function(i,o){var s=t.apply(e,n);function a(t){r(s,i,o,a,u,"next",t)}function u(t){r(s,i,o,a,u,"throw",t)}a(void 0)})}}var s=function(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(a){o=[6,a],i=0}finally{n=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};function a(t){var e,n,r,a,c,p=function(){u(m,{type:"show",data:t.config}),r()},l=function(){a()},f=function(t){c(t)},d=function(){c(null)},h=function(){if(!m.classList.contains(i.show)){var t,e;t=document.body,e=i.body,t.className+=" ".concat(e),m.classList.add(i.show)}},v=function(){if(m.classList.contains(i.show)){var t,e,n,r;m.classList.remove(i.show),t=document.body,e=i.body,(r=(n=t.className.split(/\s/g)).indexOf(e))<0||(n.splice(r,1),t.className=n.join(" "))}},m=document.createElement("iframe"),y=!1,g=new Promise(function(t){r=t}),b=(e=function(t){var e;switch(null===(e=t.data)||void 0===e?void 0:e.type){case"uicontacts:ready":p();break;case"uicontacts:checkSetReady":l();break;case"uicontacts:submit":f(t.data.data);break;case"uicontacts:cancel":d()}},n=function(t){t.source===m.contentWindow&&e(t)},window.addEventListener("message",n),function(){window.removeEventListener("message",n)});return m.src="https://work.weixin.qq.com/wework_admin/third/selectContacts",m.setAttribute("frameborder","0"),m.setAttribute("allowtransparency","true"),m.setAttribute("scrolling","no"),null!=t.zIndex&&(m.style.zIndex=String(t.zIndex)),m.className=i.picker,document.body.appendChild(m),{select:function(t){return o(function(){var e;return s(this,function(n){switch(n.label){case 0:if(y)return[2];return[4,g];case 1:var i;return n.sent(),[4,(i=t.checked,new Promise(function(t){a=t,u(m,{type:"check",data:i})}))];case 2:if(n.sent(),y)return[2];return h(),[4,new Promise(function(e){var n;n=o(function(n){var i;return s(this,function(r){switch(r.label){case 0:if(i=!n||!t.validate)return[3,2];return[4,t.validate(n)];case 1:i=r.sent(),r.label=2;case 2:return i&&e(n),[2]}})}),c=function(t){return n.apply(this,arguments)}})];case 3:return e=n.sent(),v(),[2,e]}})})()},dispose:function(){y=!0,b(),document.body.removeChild(m)}}}function u(t,e){t.contentWindow.postMessage(e,"https://work.weixin.qq.com")}},26014:function(t,e,n){var i=n(7552),r=n(89622),o=n.n(r),s=n(59050),a=n(94816),u=n(43740),c=n(63498),p=n(11278),l=n(22142),f=(0,s.d)("button"),d=f[0],h=f[1];function v(t,e,n,i){var r,s,f,d=function(){return A?n.loading?n.loading():t(l.Z,{class:h("loading"),attrs:{size:e.loadingSize,type:e.loadingType,color:"currentColor"}}):n.icon?t("div",{class:h("icon")},[n.icon()]):m?t(p.Z,{attrs:{name:m,classPrefix:e.iconPrefix},class:h("icon")}):void 0},v=e.tag,m=e.icon,y=e.type,g=e.color,b=e.plain,_=e.disabled,A=e.loading,I=e.hairline,w=e.loadingText,S=e.iconPosition,C={};g&&(C.color=b?g:"white",b||(C.background=g),-1!==g.indexOf("gradient")?C.border=0:C.borderColor=g);var x=[h([{red:"danger",green:"primary",white:"default",blue:"info",gray:"warning"}[y]||y,{middle:"normal",xs:"mini"}[e.size]||e.size,{plain:b,loading:A,disabled:_,hairline:I,block:e.block,round:e.round,square:e.square}]),((r={})[u._K]=I,r)];return t(v,o()([{style:C,class:x,attrs:{type:e.nativeType,disabled:_},on:{click:function(t){e.loading&&t.preventDefault(),A||_||((0,a.j8)(i,"click",t),(0,c.fz)(i))},touchstart:function(t){(0,a.j8)(i,"touchstart",t)}}},(0,a.ED)(i)]),[t("div",{class:h("content")},[(f=[],"left"===S&&f.push(d()),(s=A?w:n.default?n.default():e.text)&&f.push(t("span",{class:h("text")},[s])),"right"===S&&f.push(d()),f)])])}v.props=(0,i.Z)({},c.g2,{text:String,icon:String,color:String,block:Boolean,plain:Boolean,round:Boolean,square:Boolean,loading:Boolean,hairline:Boolean,disabled:Boolean,iconPrefix:String,nativeType:String,loadingText:String,loadingType:String,tag:{type:String,default:"button"},type:{type:String,default:"default"},size:{type:String,default:"normal"},loadingSize:{type:String,default:"20px"},iconPosition:{type:String,default:"left"}}),e.Z=d(v)},34846:function(t,e,n){n(59651),n(9605),n(53319),n(63648),n(777)},43740:function(t,e,n){n.d(e,{_K:function(){return s},a8:function(){return o},k7:function(){return r},r5:function(){return a}});var i="van-hairline",r=i+"--top",o=i+"--left",s=i+"--surround",a=i+"--top-bottom"},63498:function(t,e,n){function i(t,e){var n=e.to,i=e.url,r=e.replace;if(n&&t){var o=t[r?"replace":"push"](n);o&&o.catch&&o.catch(function(t){if(t&&!("NavigationDuplicated"===t.name||t.message&&-1!==t.message.indexOf("redundant navigation")))throw t})}else i&&(r?location.replace(i):location.href=i)}function r(t){i(t.parent&&t.parent.$router,t.props)}n.d(e,{BC:function(){return i},fz:function(){return r},g2:function(){return o}});var o={url:String,replace:Boolean,to:[String,Object]}},92021:function(t){t.exports=function(t,n,i,r){n=n||"&",i=i||"=";var o={};if("string"!=typeof t||0===t.length)return o;var s=/\+/g;t=t.split(n);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var u=t.length;a>0&&u>a&&(u=a);for(var c=0;c<u;++c){var p,l,f,d,h=t[c].replace(s,"%20"),v=h.indexOf(i);(v>=0?(p=h.substr(0,v),l=h.substr(v+1)):(p=h,l=""),f=decodeURIComponent(p),d=decodeURIComponent(l),Object.prototype.hasOwnProperty.call(o,f))?e(o[f])?o[f].push(d):o[f]=[o[f],d]:o[f]=d}return o};var e=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)}},95268:function(t){var e=function(t){switch(void 0===t?"undefined":t&&"undefined"!=typeof Symbol&&t.constructor===Symbol?"symbol":typeof t){case"string":return t;case"boolean":return t?"true":"false";case"number":return isFinite(t)?t:"";default:return""}};t.exports=function(t,o,s,a){return(o=o||"&",s=s||"=",null===t&&(t=void 0),"object"==typeof t)?i(r(t),function(r){var a=encodeURIComponent(e(r))+s;return n(t[r])?i(t[r],function(t){return a+encodeURIComponent(e(t))}).join(o):a+encodeURIComponent(e(t[r]))}).join(o):a?encodeURIComponent(e(a))+s+encodeURIComponent(e(t)):""};var n=Array.isArray||function(t){return"[object Array]"===Object.prototype.toString.call(t)};function i(t,e){if(t.map)return t.map(e);for(var n=[],i=0;i<t.length;i++)n.push(e(t[i],i));return n}var r=Object.keys||function(t){var e=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.push(n);return e}},55517:function(t,e,n){e.decode=e.parse=n(92021),e.encode=e.stringify=n(95268)}}]);