找回密码
 立即注册
搜索
热搜: 丝袜 魅魔 黑丝
查看: 7|回复: 0

19963608_女犬の家-森麻美的17歲生日禮物

[复制链接]

13万

主题

343

回帖

22万

积分

管理员

站长

UID
1
积分
224400
余额
13 R
Moe币
84881
在线时间
279 小时
注册时间
2025-12-28
最后登录
2026-11-9
发表于 2026-9-3 23:00:59 | 显示全部楼层 |阅读模式
(()=>{var e={9941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>U});var i=n(2833),s=n(3087),r=n(2482),a=(n(2419),n(1299),n(4363)),o=n(2040),c=n(3967),u=(n(6647),n(3710),n(1539),n(9714),n(2217)),l=(n(2222),n(4553),n(9554),n(561),n(7941),n(4916),n(5306),n(4747),n(8963)),p=n(2300);function f(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var d=function(e){function t(){var e;return(0,s.Z)(this,t),e=f(this,t,[p.cv]),(0,r.Z)(e,"apis",void 0),(0,r.Z)(e,"mapping",void 0),(0,r.Z)(e,"encode",void 0),(0,r.Z)(e,"decode",void 0),(0,r.Z)(e,"baseApis",void 0),e.mapping={},e.encode=p.cv,e.decode=p.Jx,e.apis={},e.setQtAsyncQueryKey("qwebkit"),e.baseApis={addEventListener:"common.event.addEventListener",removeEventListener:"common.event.removeEventListener",removeEventListenerByCallbackName:"common.event.removeEventListenerByCallbackName"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"clientExec",value:function(e){var t=e.cbName,n=e.eventName,i=e.cb,s=e.params,r=e.keepAlive;t||(t="callback"+this.getOnlyKey());try{return window[t]=function(e){!0===!r&&window[t]&&delete window[t];try{e?i&&i(JSON.parse((0,p.Jx)(e))):(i&&i(),console.log("response_else",e))}catch(s){e&&i&&i((0,p.Jx)(e)),console.log("ex_"+n,s,(0,p.Jx)(e))}},this.exec({method:n,callback:t,params:s})}catch(a){console.log("clientExec.error",a)}}},{key:"clientExecPromise",value:function(e){var t=this;return new Promise((function(n,i){var s=e.cbName,r=e.eventName,a=e.params,o=e.keepAlive;s||(s="callback"+t.getOnlyKey());try{return window[s]=function(e){o||window[s]&&delete window[s];try{e?n(JSON.parse((0,p.Jx)(e))):i(null)}catch(t){console.log("ex_"+r,(0,p.Jx)(e)),i(null)}},t.exec({method:r,callback:s,params:a})}catch(c){console.log("clientExec.error",c)}}))}},{key:"addEventListener",value:function(e,t,n){var i=n||"".concat(e).concat(String.fromCharCode(Math.ceil(25*Math.random())+97));i=i.replace(/\./g,""),this.mapping[e]||(this.mapping[e]=[]),this.mapping[e].push(i);var s={eventName:e,callbackName:i},r={cbName:i,eventName:this.baseApis.addEventListener,cb:t,params:s,keepAlive:!0};return console.log("注册客户端事件",r),this.clientExec(r)}},{key:"removeEventListener",value:function(e,t){var n=this.mapping[e];if(n){if(!t){var i=(0,u.Z)(n);n.length=0,i.forEach((function(e){window[e]=function(){console.log(e+" is removed")}}));var s={eventName:e,callbackName:t},r={eventName:this.baseApis.removeEventListener,params:s};return this.clientExec(r)}t=t.replace(/\./g,"");var a=n.findIndex((function(e){return e===t}));a>-1&&n.splice(a,1);var o={eventName:e,callbackName:t},c={eventName:this.baseApis.removeEventListenerByCallbackName,params:o},l=t;window[l]=function(){console.log(l+" is removed")},this.clientExecPromise(c).then((function(e){console.log("移除客户端事件removeEventListenerByCallbackName",c,e)}))["catch"]((function(e){console.log(e)}))}}},{key:"cleanupAllEventListeners",value:function(){for(var e=0,t=Object.keys(this.mapping);e<t.length;e++){var n=t[e],i=this.mapping[n];if(i&&i.length>0){i.forEach((function(e){window[e]=function(){console.log(e+" is removed")}}));try{this.clientExec({eventName:this.baseApis.removeEventListener,params:{eventName:n}})}catch(s){}}}this.mapping={}}},{key:"getOnlyKey",value:function(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:15,t="",n=0;n<e;n++)t+="".concat(String.fromCharCode(Math.ceil(25*Math.random())+97));return t}}])}(l.Z);const g=d;function h(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var m=function(e){function t(){var e;return(0,s.Z)(this,t),e=h(this,t),e.apis={httpRequest:"common.network.httpRequestQing",dataWarehouseSend:"common.report.dataWarehouseSend"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"http",value:function(e){var t=this;return new Promise((function(n,i){var s={timeout:1e4,url:e.url,method:e.method};s.content_type=e.content_type||"application/json",e.cookie&&(s.cookie={wps_sid:e.cookie}),e.request_key&&(s.request_key="wps_sync_assistant_".concat(e.request_key)),e.api&&(s.api=e.api),e.host&&(s.host=e.host),e.data&&(s.data=e.data);var r="3";e.auth_type||(e.auth_type=r),s.auth_type=e.auth_type,e.header&&(s.header=e.header),console.log("发送http请求",s),t.clientExec({eventName:t.apis.httpRequest,params:s,cb:function(e){try{n(e)}catch(t){i(null)}}})}))}},{key:"dataWarehouseSend",value:function(e,t){var n=[];if(this.isObject(t))for(var i in t)t.hasOwnProperty(i)&&n.push({attribute:i,value:t[i]});var s={eventName:e,content:n};this.clientExec({eventName:this.apis.dataWarehouseSend,params:s})}},{key:"isObject",value:function(e){return"[object object]"===Object.prototype.toString.call(e).toLowerCase()}}])}(g),v=n(5082),y=n(6389);function S(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var b=function(e){function t(){var e;return(0,s.Z)(this,t),e=S(this,t),e.apis={getUserInfo:"common.account.getUserInfo",getCompanyInfo:"syncAssist.mainwin.getCompanyInfo",checkLoginStatus:"common.account.checkLoginState",login:"common.account.login",logout:"common.account.logout",getVipType:"userframe.api.getVipType",switchAccount:"common.account.showAccountListDlg",getVipExpiredInfoList:"syncAssist.mainwin.getVipExpiredInfoList",getCloudSpaceSize:"userframe.api.getCloudSpaceSize",getCloudSpaceInfo:"common.account.getCloudSpaceInfo",updateCloudSpaceInfo:"common.account.updateCloudSpaceInfo",sendCompanyPackageInfo:"syncAssist.mainwin.getCompanyVipInfo"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"sendCompanyPackageInfo",value:function(){return this.clientExecPromise({eventName:this.apis.sendCompanyPackageInfo,params:{callbackName:"syncAssist.mainwin.getCompanyVipInfo"}})}},{key:"getUserInfo",value:function(){var e=this;return new Promise((function(t,n){e.clientExec({eventName:e.apis.getUserInfo,cb:function(e){try{t(e)}catch(i){n(null)}}})}))}},{key:"getCompanyInfo",value:function(){return this.clientExecPromise({eventName:this.apis.getCompanyInfo,params:{callbackName:"syncAssist.mainwin.getCompanyInfo"}})}},{key:"getVipType",value:function(){return this.clientExecPromise({eventName:this.apis.getVipType,params:{callbackName:"userframe.api.getVipType"}})}},{key:"getVipExpiredInfoList",value:function(e){return this.clientExecPromise({eventName:this.apis.getVipExpiredInfoList,params:e})}},{key:"login",value:function(e){return console.log(e),this.clientExecPromise({eventName:this.apis.login,params:e})}},{key:"logout",value:function(){return this.clientExecPromise({eventName:this.apis.logout})}},{key:"switchAccount",value:function(){return this.clientExecPromise({eventName:this.apis.switchAccount,params:{source:"syncassistant"}})}},{key:"checkLoginStatus",value:function(){var e=this;return new Promise((function(t,n){e.clientExec({eventName:e.apis.checkLoginStatus,cb:function(e){try{t(e)}catch(i){n(null)}}})}))}},{key:"getCloudSpaceSize",value:function(e){return this.clientExecPromise({eventName:this.apis.getCloudSpaceSize,params:(0,v.Z)({callbackName:"getCloudSpaceSize"},e)})}},{key:"getCloudSpaceInfo",value:function(){return this.clientExecPromise({eventName:this.apis.getCloudSpaceInfo,params:{source:y.yA}})}},{key:"updateCloudSpaceInfo",value:function(){return this.clientExecPromise({eventName:this.apis.updateCloudSpaceInfo,params:{source:y.yA}})}}])}(g);function C(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var k=function(e){function t(){var e;return(0,s.Z)(this,t),e=C(this,t),e.apis={notifyRenderFinshed:"syncAssist.framework.notifyRenderFinshed",regHeartbeatMonitor:"common.util.regHeartbeatMonitor",heartbeat:"common.util.heartbeat",closeWin:"common.webview.close",openFileAction:"syncAssist.mainwin.openFile",openSecretFileAction:"syncAssist.mainwin.openSecretFile",openLocationAction:"syncAssist.mainwin.explorerTo",openCloudDisk:"syncAssist.mainwin.openCloudDisk",openYunboxSetting:"syncAssist.mainwin.openYunboxSetting",openYunboxStartPage:"syncAssist.mainwin.openYunboxStartPage",openYunboxSyncFolder:"syncAssist.mainwin.openYunboxSyncFolder",openSyncFolder:"syncAssist.mainwin.openSyncFolder",openShareFolder:"syncAssist.mainwin.openShareFolder",enableShowCoworkEntry:"syncAssist.mainwin.enableShowCoworkEntry",callCowork:"syncAssist.mainwin.callCowork",openSearchPage:"syncAssist.mainwin.openSearchPage",openToolBox:"syncAssist.mainwin.openToolBox",openWebview:"syncAssist.mainwin.openInnerUrl",openUrl:"common.util.openUrl",openPaneUrl:"syncAssist.mainwin.showBannerRecommandDlg",showFuncNotAvailableTips:"syncAssist.mainwin.showFuncNotAvailableTips",addDragArea:"common.webview.addDragArea",resizeWindow:"showMenu",cancelSyncFolderDlg:"syncAssist.mainwin.cancelSyncFolderDlg",getSyncFolderState:"syncAssist.mainwin.getSyncFolderListState",getDesktopSyncState:"syncAssist.mainwin.getDesktopSyncState",isSupportSyncAssistantOpt:"syncAssist.mainwin.supportSyncAssistantOpt",enableShowSyncFolderDetailInfo:"syncAssist.mainwin.enableShowSyncFolderDetailInfo",showSyncFolderDetailDlg:"syncAssist.mainwin.showSyncFolderDetailDlg",applyDownload:"syncAssist.mainwin.filePermApproval",isNeedBlockEnterprise:"syncAssist.mainwin.isNeedBlockEnterprise",openYunboxUploadFileDlg:"syncAssist.mainwin.openYunboxUploadFileDlg",uploadDragEnterFiles:"syncAssist.mainwin.uploadDragEnterFiles",notifyTransferPageReady:"syncAssist.framework.notifyTransferPageReady",getCurrentFilterType:"syncAssist.mainwin.getCurrentFilterType"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"getisNeedBlockEnterprise",value:function(){return this.clientExecPromise({eventName:this.apis.isNeedBlockEnterprise}).then((function(e){var t;return null!==(t=e.result)&&void 0!==t&&t}))["catch"]((function(){return!1}))}},{key:"getSyncFolderState",value:function(e){return this.clientExecPromise({eventName:this.apis.getSyncFolderState,params:{localPath:e}})}},{key:"getDesktopSyncState",value:function(){return this.clientExecPromise({eventName:this.apis.getDesktopSyncState,params:{name:"getDesktopSyncState"}}).then((function(e){var t;return null!==(t=e.status)&&void 0!==t&&t}))["catch"]((function(){return!1}))}},{key:"cancelSyncFolderDlg",value:function(e){return this.clientExecPromise({eventName:this.apis.cancelSyncFolderDlg,params:{syncTaskId:e}})}},{key:"showFuncNotAvailableTips",value:function(){return this.clientExecPromise({eventName:this.apis.showFuncNotAvailableTips,params:{callbackName:"showFuncNotAvailableTips"}})}},{key:"addDragArea",value:function(e){return this.clientExecPromise({eventName:this.apis.addDragArea,params:e})}},{key:"resizeWindow",value:function(e){return this.clientExecPromise({eventName:this.apis.resizeWindow,params:e})}},{key:"notifyRenderFinshed",value:function(){return this.clientExecPromise({eventName:this.apis.notifyRenderFinshed})}},{key:"regHeartbeatMonitor",value:function(e){return this.clientExecPromise({eventName:this.apis.regHeartbeatMonitor,params:{interval:e}})}},{key:"heartbeat",value:function(){return this.clientExecPromise({eventName:this.apis.heartbeat})}},{key:"closeWin",value:function(){return this.clientExecPromise({eventName:this.apis.closeWin})}},{key:"openFileAction",value:function(e){return this.clientExecPromise({eventName:this.apis.openFileAction,params:e})}},{key:"openSecretFileAction",value:function(e){return this.clientExecPromise({eventName:this.apis.openSecretFileAction,params:e})}},{key:"openLocationAction",value:function(e){return this.clientExecPromise({eventName:this.apis.openLocationAction,params:e})}},{key:"openCloudDisk",value:function(){return this.clientExecPromise({eventName:this.apis.openCloudDisk,params:{callbackName:"openCloudDisk"}})}},{key:"openYunboxSetting",value:function(){return this.clientExecPromise({eventName:this.apis.openYunboxSetting,params:{callbackName:"openYunboxSetting"}})}},{key:"openYunboxStartPage",value:function(){return this.clientExecPromise({eventName:this.apis.openYunboxStartPage,params:{callbackName:"openYunboxStartPage"}})}},{key:"openYunboxSyncFolder",value:function(){return this.clientExecPromise({eventName:this.apis.openYunboxSyncFolder,params:{callbackName:"openYunboxSyncFolder"}})}},{key:"openSyncFolder",value:function(){return this.clientExecPromise({eventName:this.apis.openSyncFolder})}},{key:"openShareFolder",value:function(){return this.clientExecPromise({eventName:this.apis.openShareFolder})}},{key:"enableShowCoworkEntry",value:function(){return this.clientExecPromise({eventName:this.apis.enableShowCoworkEntry})}},{key:"callCowork",value:function(){return this.clientExecPromise({eventName:this.apis.callCowork})}},{key:"openSearchPage",value:function(){return this.clientExecPromise({eventName:this.apis.openSearchPage})}},{key:"openToolBox",value:function(){return this.clientExecPromise({eventName:this.apis.openToolBox})}},{key:"openWebview",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.openWebview,params:e})}},{key:"openUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.openUrl,params:e})}},{key:"openPaneUrl",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.openPaneUrl,params:e})}},{key:"isSupportSyncAssistantOpt",value:function(){return this.clientExecPromise({eventName:this.apis.isSupportSyncAssistantOpt,params:{name:"isSupportSyncAssistantOpt"}}).then((function(e){var t;return null!==(t=e.status)&&void 0!==t&&t}))["catch"]((function(){return!1}))}},{key:"enableShowSyncFolderDetailInfo",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.enableShowSyncFolderDetailInfo,params:e}).then((function(e){var t;return null!==(t=e.result)&&void 0!==t&&t}))["catch"]((function(){return!1}))}},{key:"showSyncFolderDetailDlg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.showSyncFolderDetailDlg,params:e})}},{key:"applyDownload",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.applyDownload,params:e})}},{key:"openYunboxUploadFileDlg",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.openYunboxUploadFileDlg,params:e})}},{key:"uploadFilesToYunbox",value:function(e){return this.clientExecPromise({eventName:this.apis.uploadDragEnterFiles,params:e})}},{key:"notifyTransferPageReady",value:function(){return this.clientExecPromise({eventName:this.apis.notifyTransferPageReady})}},{key:"getCurrentFilterType",value:function(){return this.clientExecPromise({eventName:this.apis.getCurrentFilterType})}}])}(g);function E(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var w=function(e){function t(){var e;return(0,s.Z)(this,t),e=E(this,t),e.apis={getGeneralStatus:"syncAssist.mainwin.getSyncListSummary",getSyncConfigInfo:"syncAssist.setting.getSyncConfigInfo",getTaskIdList:"syncAssist.mainwin.getSyncListTaskIdList",getTransFileInfoList:"syncAssist.mainwin.getSyncListRecord",sendTransAction:"syncAssist.mainwin.doFileAction",showFileConflictDlg:"syncAssist.mainwin.showFileConflictDlg",getFileOplogEntryState:"syncAssist.mainwin.getFileOplogEntryState",getHistoryOperations:"syncAssist.mainwin.getOperHistoryInfo",registerProgressChange:"syncAssist.mainwin.subscribeProgressChangeNotify",getProgramIcon:"syncAssist.mainwin.getProgramIcon",getFileIcon:"wpsbox.resource.getFileIcon"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"getGeneralStatus",value:function(){var e=this;return new Promise((function(t,n){e.clientExec({eventName:e.apis.getGeneralStatus,params:{callbackName:"getGeneralStatus"},cb:function(e){try{t(e)}catch(i){n(null)}}})}))}},{key:"getSyncConfigInfo",value:function(){var e=this;return new Promise((function(t,n){e.clientExec({eventName:e.apis.getSyncConfigInfo,params:{callback:"getSyncConfigInfo"},cb:function(e){try{t(e)}catch(i){n(null)}}})}))}},{key:"getTaskIdList",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:t.apis.getTaskIdList,params:e,cb:function(e){try{n(e)}catch(t){console.log(t),i(null)}}})}))}},{key:"getTransFileInfoList",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:t.apis.getTransFileInfoList,params:e,cb:function(e){try{n(e)}catch(t){i(null)}}})}))}},{key:"sendTransAction",value:function(e){return this.clientExecPromise({eventName:this.apis.sendTransAction,params:e})}},{key:"showFileConflictDlg",value:function(e){return this.clientExecPromise({eventName:this.apis.showFileConflictDlg,params:e})}},{key:"getHistoryOperations",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:t.apis.getHistoryOperations,params:(0,v.Z)({callback:"getHistoryOperations"},e),cb:function(e){try{n(e)}catch(t){i(null)}}})}))}},{key:"getFileOplogEntryState",value:function(){return this.clientExecPromise({eventName:this.apis.getFileOplogEntryState})}},{key:"registerProgressChange",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:t.apis.registerProgressChange,params:e,cb:function(e){try{n(e)}catch(t){i(null)}}})}))}},{key:"getProgramIcon",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:t.apis.getProgramIcon,params:e,cb:function(e){try{n(e)}catch(t){i(null)}}})}))}},{key:"getFileIcon",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:t.apis.getFileIcon,params:e,cb:function(e){try{n(e)}catch(t){i(null)}}})}))}}])}(g);function _(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var x=function(e){function t(){var e;return(0,s.Z)(this,t),e=_(this,t),e.apis={getUnreadMsgCount:"syncAssist.mainwin.getUnreadMsgCount",openMsgChannel:"syncAssist.mainwin.openMsgChannel",getMsgEntryStatus:"syncAssist.mainwin.getMsgEntryStatus",openMessagePanel:"syncAssist.mainwin.openMessagePanel"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"getUnreadMsgCount",value:function(){return this.clientExecPromise({eventName:this.apis.getUnreadMsgCount,params:{callbackName:"getUnreadMsgCount"}})}},{key:"openMsgChannel",value:function(){return this.clientExecPromise({eventName:this.apis.openMsgChannel})}},{key:"getMsgEntryStatus",value:function(){return this.clientExecPromise({eventName:this.apis.getMsgEntryStatus})}},{key:"openMessagePanel",value:function(){return this.clientExecPromise({eventName:this.apis.openMessagePanel,params:{source:"cloudDrivePerson"}})}}])}(g),I=n(4185);function R(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var P=function(e){function t(){var e;(0,s.Z)(this,t);for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];return e=R(this,t,[].concat(i)),(0,r.Z)(e,"apis",{getCloudFileSyncStatus:"getCloudFileSyncStatus",setCloudFileSyncStatus:"setCloudFileSyncStatus",getAddSyncFolderDlgEnable:"getAddSyncFolderDlgEnable",showAddSyncFolderDlg:"showAddSyncFolderDlg",getCloudFileSyncTitle:"getCloudFileSyncTitle",openPrometheusBrowser:"openPrometheusBrowser",getDesktopFileSyncEnable:"getDesktopFileSyncEnable",showDesktopFileSyncDlg:"showDesktopFileSyncDlg",getRightMenuItemVisible:"getRightMenuItemVisible",setRightMenuItemVisible:"setRightMenuItemVisible",getOfficeAssistantAutoRunStatus:"getOfficeAssistantAutoRunStatus",setOfficeAssistantAutoRunStatus:"setOfficeAssistantAutoRunStatus",getOfficeAssistantStartWithWpsStatus:"getOfficeAssistantStartWithWpsStatus",setOfficeAssistantStartWithWpsStatus:"setOfficeAssistantStartWithWpsStatus",getOfficeAssistantMiniAutoRunEntryVisible:"getOfficeAssistantMiniAutoRunEntryVisible",getOfficeAssistantMiniAutoRunStatus:"getOfficeAssistantMiniAutoRunStatus",setOfficeAssistantMiniAutoRunStatus:"setOfficeAssistantMiniAutoRunStatus",getCloudFileCachePath:"getCloudFileCachePath",changeCacheFolderPath:"changeCacheFolderPath",getCloudFileCacheSize:"getCloudFileCacheSize",clearCloudFileCache:"clearCloudFileCache",getCloudDiskEntryVisible:"getCloudDiskEntryVisible",setCloudDiskEntryVisible:"setCloudDiskEntryVisible",openVirtualCloudDiskMyDevice:"openVirtualCloudDiskMyDevice",supportToDeleteFileWidget:"supportToDeleteFileWidget",getToDeleteFileSwitchStatus:"getToDeleteFileSwitchStatus",setToDeleteFileSwitchStatus:"setToDeleteFileSwitchStatus",openAutoUpdateBox:"openAutoUpdateBox",getLocalDeleteReminderStatus:"getLocalDeleteReminderStatus",setLocalDeleteReminderStatus:"setLocalDeleteReminderStatus",getLocalDeleteReminderEnable:"getLocalDeleteReminderEnable",getTrayIconFlickEnable:"getTrayIconFlickEnable",setTrayIconFlickEnable:"setTrayIconFlickEnable",getIsNeedRepairOverlayIcon:"getIsNeedRepairOverlayIcon",doRepairOverlayIcon:"doRepairOverlayIcon",getDriveCloudDiskEntryVisible:"getDriveCloudDiskEntryVisible",openDriveCloudDisk:"openDriveCloudDisk",setDriveCloudDiskEntryVisible:"setDriveCloudDiskEntryVisible",getWPSDriveMultipleAccountCloudDiskEntry:"getWPSDriveMultipleAccountCloudDiskEntry",setSceneModel:"setSceneModel",getSceneModel:"getSceneModel",isMsgCenterV2Enable:"isMsgCenterV2Enable",getUploadProgressPromptEnable:"isShowUploadProgressTip",setUploadProgressPromptEnable:"setShowUploadProgressTip",getUploadProgressPromptCopywriting:"getLoadYunBoxCopywriting",getSyncProcessPreventSleepStatus:"getSyncProcessPreventSleepStatus",setSyncProcessPreventSleepStatus:"setSyncProcessPreventSleepStatus",showPreventSleepEntry:"showPreventSleepEntry"}),e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"settingClientApi",value:function(e){var t=this;return new Promise((function(n,i){t.clientExec({eventName:"syncAssist.setting.".concat(e.eventName),params:e.params,cb:function(e){"string"===typeof e.callstatus?"ok"===e.callstatus?n(e):i(null):n(e)}})}))}},{key:"openPrometheusBrowser",value:function(e){return this.settingClientApi({eventName:this.apis.openPrometheusBrowser,params:e})}},{key:"getCloudFileSyncStatus",value:function(){return this.settingClientApi({eventName:this.apis.getCloudFileSyncStatus}).then((function(e){return console.log("getCloudFileSyncStatus:",e),{autoSync:!(null===e||void 0===e||!e.autoSync),fileUploadControl:null===e||void 0===e?void 0:e.fileUploadControl}}))["catch"]((function(){return{autoSync:!1}}))}},{key:"setCloudFileSyncStatus",value:function(e){return this.settingClientApi({eventName:this.apis.setCloudFileSyncStatus,params:{autoSync:e}})}},{key:"getCloudFileSyncTitle",value:function(){return this.settingClientApi({eventName:this.apis.getCloudFileSyncTitle}).then((function(e){return null===e||void 0===e?void 0:e.title}))["catch"]((function(){return I["default"].t("e5915c1704")}))}},{key:"getAddSyncFolderDlgEnable",value:function(){return this.settingClientApi({eventName:this.apis.getAddSyncFolderDlgEnable}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!0}))}},{key:"getDesktopFileSyncEnable",value:function(){return this.settingClientApi({eventName:this.apis.getDesktopFileSyncEnable}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!0}))}},{key:"showAddSyncFolderDlg",value:function(e){return this.settingClientApi({eventName:this.apis.showAddSyncFolderDlg,params:{folderPath:e}})}},{key:"showDesktopFileSyncDlg",value:function(){return this.settingClientApi({eventName:this.apis.showDesktopFileSyncDlg})}},{key:"getRightMenuItemVisible",value:function(e){return this.settingClientApi({eventName:this.apis.getRightMenuItemVisible,params:{itemNames:[e]}}).then((function(t){var n;return!(null===t||void 0===t||null===(n=t.callstatus)||void 0===n||!n[e].visible)}))["catch"]((function(){return!1}))}},{key:"setRightMenuItemVisible",value:function(e,t){return this.settingClientApi({eventName:this.apis.setRightMenuItemVisible,params:{itemName:e,visible:t}})}},{key:"getOfficeAssistantAutoRunStatus",value:function(){return this.settingClientApi({eventName:this.apis.getOfficeAssistantAutoRunStatus}).then((function(e){return!(null===e||void 0===e||!e.autoRun)}))["catch"]((function(){return!1}))}},{key:"setOfficeAssistantAutoRunStatus",value:function(e){return this.settingClientApi({eventName:this.apis.setOfficeAssistantAutoRunStatus,params:{autoRun:e}})}},{key:"getOfficeAssistantStartWithWpsStatus",value:function(){return this.settingClientApi({eventName:this.apis.getOfficeAssistantStartWithWpsStatus}).then((function(e){return!(null===e||void 0===e||!e.startWithWps)}))["catch"]((function(){return!1}))}},{key:"setOfficeAssistantStartWithWpsStatus",value:function(e){return this.settingClientApi({eventName:this.apis.setOfficeAssistantStartWithWpsStatus,params:{startWithWps:e}})}},{key:"getOfficeAssistantMiniAutoRunEntryVisible",value:function(){return this.settingClientApi({eventName:this.apis.getOfficeAssistantMiniAutoRunEntryVisible}).then((function(e){return!(null===e||void 0===e||!e.visible)}))["catch"]((function(){return!1}))}},{key:"getOfficeAssistantMiniAutoRunStatus",value:function(){return this.settingClientApi({eventName:this.apis.getOfficeAssistantMiniAutoRunStatus}).then((function(e){return!(null===e||void 0===e||!e.autoRun)}))["catch"]((function(){return!1}))}},{key:"setOfficeAssistantMiniAutoRunStatus",value:function(e){return this.settingClientApi({eventName:this.apis.setOfficeAssistantMiniAutoRunStatus,params:{autoRun:e}})}},{key:"getCloudFileCachePath",value:function(){return this.settingClientApi({eventName:this.apis.getCloudFileCachePath}).then((function(e){return null===e||void 0===e?void 0:e.path}))["catch"]((function(){return""}))}},{key:"changeCacheFolderPath",value:function(){return this.settingClientApi({eventName:this.apis.changeCacheFolderPath})}},{key:"getCloudFileCacheSize",value:function(){return this.settingClientApi({eventName:this.apis.getCloudFileCacheSize}).then((function(e){return null===e||void 0===e?void 0:e.size}))["catch"]((function(){return 0}))}},{key:"clearCloudFileCache",value:function(){return this.settingClientApi({eventName:this.apis.clearCloudFileCache})}},{key:"getCloudDiskEntryVisible",value:function(){return this.settingClientApi({eventName:this.apis.getCloudDiskEntryVisible}).then((function(e){return!(null===e||void 0===e||!e.visible)}))["catch"]((function(){return!1}))}},{key:"setCloudDiskEntryVisible",value:function(e){return this.settingClientApi({eventName:this.apis.setCloudDiskEntryVisible,params:{visible:e}})}},{key:"openVirtualCloudDiskMyDevice",value:function(){return this.settingClientApi({eventName:this.apis.openVirtualCloudDiskMyDevice})}},{key:"supportToDeleteFileWidget",value:function(){return this.settingClientApi({eventName:this.apis.supportToDeleteFileWidget}).then((function(e){return!(null===e||void 0===e||!e.result)}))["catch"]((function(){return!1}))}},{key:"getToDeleteFileSwitchStatus",value:function(){return this.settingClientApi({eventName:this.apis.getToDeleteFileSwitchStatus}).then((function(e){return!(null===e||void 0===e||!e.result)}))["catch"]((function(){return!1}))}},{key:"setToDeleteFileSwitchStatus",value:function(e){return this.settingClientApi({eventName:this.apis.setToDeleteFileSwitchStatus,params:{status:e}})}},{key:"openAutoUpdateBox",value:function(){return this.settingClientApi({eventName:this.apis.openAutoUpdateBox})}},{key:"getLocalDeleteReminderStatus",value:function(){return this.settingClientApi({eventName:this.apis.getLocalDeleteReminderStatus}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!1}))}},{key:"setLocalDeleteReminderStatus",value:function(e){return this.settingClientApi({eventName:this.apis.setLocalDeleteReminderStatus,params:{enable:e}})}},{key:"getLocalDeleteReminderEnable",value:function(){return this.settingClientApi({eventName:this.apis.getLocalDeleteReminderEnable}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!0}))}},{key:"getTrayIconFlickEnable",value:function(){return this.settingClientApi({eventName:this.apis.getTrayIconFlickEnable}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!1}))}},{key:"setTrayIconFlickEnable",value:function(e){return this.settingClientApi({eventName:this.apis.setTrayIconFlickEnable,params:{enable:e}})}},{key:"getIsNeedRepairOverlayIcon",value:function(){return this.settingClientApi({eventName:this.apis.getIsNeedRepairOverlayIcon}).then((function(e){return null===e||void 0===e?void 0:e.needRepair}))["catch"]((function(){return""}))}},{key:"doRepairOverlayIcon",value:function(){return this.settingClientApi({eventName:this.apis.doRepairOverlayIcon})}},{key:"getDriveCloudDiskEntryVisible",value:function(){return this.settingClientApi({eventName:this.apis.getDriveCloudDiskEntryVisible})}},{key:"openDriveCloudDisk",value:function(e){return this.settingClientApi({eventName:this.apis.openDriveCloudDisk,params:e})}},{key:"setDriveCloudDiskEntryVisible",value:function(e){return this.settingClientApi({eventName:this.apis.setDriveCloudDiskEntryVisible,params:e})}},{key:"getWPSDriveMultipleAccountCloudDiskEntry",value:function(){return this.settingClientApi({eventName:this.apis.getWPSDriveMultipleAccountCloudDiskEntry}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!1}))}},{key:"setSceneModel",value:function(e){return this.settingClientApi({eventName:this.apis.setSceneModel,params:e})["catch"]((function(){return!1}))}},{key:"getSceneModel",value:function(){return this.settingClientApi({eventName:this.apis.getSceneModel}).then((function(e){return e.sceneModel}))["catch"]((function(){return 0}))}},{key:"getIsMsgCenterV2Enable",value:function(){return this.settingClientApi({eventName:this.apis.isMsgCenterV2Enable}).then((function(e){return!(null!==e&&void 0!==e&&e.isMsgCenterV2Enable)}))["catch"]((function(){return!0}))}},{key:"getUploadProgressPromptEnable",value:function(){return this.settingClientApi({eventName:this.apis.getUploadProgressPromptEnable}).then((function(e){var t;return null!==(t=null===e||void 0===e?void 0:e.show)&&void 0!==t&&t}))["catch"]((function(){return!1}))}},{key:"setUploadProgressPromptEnable",value:function(e){return this.settingClientApi({eventName:this.apis.setUploadProgressPromptEnable,params:{show:e}}).then((function(e){return!!e}))["catch"]((function(){return!1}))}},{key:"getUploadProgressPromptCopywriting",value:function(){return this.settingClientApi({eventName:this.apis.getUploadProgressPromptCopywriting}).then((function(e){return e}))["catch"]((function(){return{title:"",desc:""}}))}},{key:"getSyncProcessPreventSleepStatus",value:function(){return console.log("getSyncProcessPreventSleepStatus:"),this.settingClientApi({eventName:this.apis.getSyncProcessPreventSleepStatus}).then((function(e){return!(null===e||void 0===e||!e.enable)}))["catch"]((function(){return!1}))}},{key:"setSyncProcessPreventSleepStatus",value:function(e){return console.log("setSyncProcessPreventSleepStatus:",e),this.settingClientApi({eventName:this.apis.setSyncProcessPreventSleepStatus,params:{enable:e}})}},{key:"showPreventSleepEntry",value:function(){return this.settingClientApi({eventName:this.apis.showPreventSleepEntry}).then((function(e){return!(null===e||void 0===e||!e.showEntry)}))["catch"]((function(){return!1}))}}])}(g),N=n(8534),A=(n(5735),n(8862),n(5666),n(619)),Z=n(5252),D=n(267);function F(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var O=function(e){function t(){var e;return(0,s.Z)(this,t),e=F(this,t),e.apis={openPayWindow:"userframe.api.upgradeVip",dataWarehouseSend:"common.report.dataWarehouseSend",getAppInfo:"common.wpsoffice.getAppInfo",getRegValue:"common.util.readRegValue",writeRegValue:"common.util.writeRegValue",getFuncSwitchState:"common.util.getFuncSwitchState",broadcastChannel:"syncAssist.mainwin.sendCrossPageMsg",openUrl:"common.util.openUrl",getWPSDriveDisplayName:"syncAssist.mainwin.getWPSDriveDisplayName",isWin10WpsDriveModeOn:"common.util.isWin10WpsDriveModeOn",getPrivilegeText:"common.util.getPrivilegeText",getPrivilegeIcon:"common.util.getPrivilegeIcon",getTianCeConfig:"common.util.getTianCeConfig",getPayConfig:"common.util.getPrivilegePayInfo",getUserPrivilege:"common.account.getPrivilegeInfo",collectTianceClicked:"common.util.collectTianceClicked",collectTianceShow:"common.util.collectTianceShow",showVipPrivilegesPanel:"syncAssist.mainwin.showVipPrivilegesPanel",createWebWidget:"yunbox.util.createWebWidget",getValueFromFpccombYunbox:"yunbox.util.getValueFromFpccomb",getValueFromFpccombWpsbox:"syncAssist.mainwin.getValueFromFpccomb",getEntryControlStatus:"common.util.getEntryControlStatus",isSupportConfig:"common.util.isSupportConfig",getSourceFrom:"syncAssist.mainwin.getSourceFrom",getOemString:"getOemString",getSortedValidMerchandises:"common.account.getSortedValidMerchandises",getMostApplicableGroupConfig:"common.fpccomb.getMostApplicableGroupConfig"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"getEntryControlStatus",value:function(e){return this.clientExecPromise({eventName:this.apis.getEntryControlStatus,params:{entryPosition:e}})}},{key:"isHideFeedback",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.getEntryControlStatus("wps_sync_assistant/feedback");case 3:return t=e.sent,e.abrupt("return","ok"===t.callstatus&&t.result);case 7:e.prev=7,e.t0=e["catch"](0),console.error(e.t0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"isHideTools",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.getEntryControlStatus("wps_sync_assistant/tools");case 3:return t=e.sent,e.abrupt("return","ok"===t.callstatus&&t.result);case 7:e.prev=7,e.t0=e["catch"](0),console.error(e.t0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"isHideCompanyIcon",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.getEntryControlStatus("wps_sync_assistant/company_icon");case 3:return t=e.sent,e.abrupt("return","ok"===t.callstatus&&t.result);case 7:e.prev=7,e.t0=e["catch"](0),console.error(e.t0);case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this,[[0,7]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"isWin10WpsDriveModeOn",value:function(){return this.clientExecPromise({eventName:this.apis.isWin10WpsDriveModeOn})}},{key:"getWPSDriveDisplayName",value:function(){return this.clientExecPromise({eventName:this.apis.getWPSDriveDisplayName})}},{key:"openPayWindow",value:function(e){return this.clientExecPromise({eventName:this.apis.openPayWindow,params:e})}},{key:"sendUserActiveLog",value:function(e,t){var n=[];if(this.isObject(t))for(var i in t)t.hasOwnProperty(i)&&n.push({attribute:i,value:t[i]});var s={eventName:e,content:n};console.table("[log] dw",(0,v.Z)({eventName:e},t)),this.clientExec({eventName:this.apis.dataWarehouseSend,params:s})}},{key:"getDomainUrl",value:function(e){return A.Z.getDomainUrl(e)}},{key:"getAppInfo",value:function(){return this.clientExecPromise({eventName:this.apis.getAppInfo})}},{key:"getRegValue",value:function(e,t){return this.clientExecPromise({eventName:this.apis.getRegValue,params:(0,v.Z)({regPath:t||Z.Z.registerPath},e)})}},{key:"getFuncSwitchState",value:function(e){return this.clientExecPromise({eventName:this.apis.getFuncSwitchState,params:(0,v.Z)({},e)})}},{key:"writeRegValue",value:function(e){return this.clientExecPromise({eventName:this.apis.writeRegValue,params:(0,v.Z)({regPath:Z.Z.registerPath},e)})}},{key:"broadcastChannel",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.broadcastChannel,params:{callFrom:"syncAssistMainWindow",data:JSON.stringify(e)}})}},{key:"openUrl",value:function(e){return this.clientExecPromise({eventName:this.apis.openUrl,params:{url:e}})}},{key:"isObject",value:function(e){return"[object object]"===Object.prototype.toString.call(e).toLowerCase()}},{key:"getPrivilegeText",value:function(e){return this.clientExecPromise({eventName:this.apis.getPrivilegeText,params:e})}},{key:"getPrivilegeIcon",value:function(e){return this.clientExecPromise({eventName:this.apis.getPrivilegeIcon,params:e})}},{key:"getFolderCounts",value:function(e){return this.clientExecPromise({eventName:this.apis.getRegValue,params:e})}},{key:"getTianCeData",value:function(e){return this.clientExecPromise({eventName:this.apis.getTianCeConfig,params:e})}},{key:"getPrivilegePayConfig",value:function(e){return this.clientExecPromise({eventName:this.apis.getPayConfig,params:e})}},{key:"getUserPrivilege",value:function(e){return this.clientExecPromise({eventName:this.apis.getUserPrivilege,params:e})}},{key:"showVipPrivilegesPanel",value:function(e){return this.clientExecPromise({eventName:this.apis.showVipPrivilegesPanel,params:e})}},{key:"getPrivilegePayInfo",value:function(e){return this.clientExecPromise({eventName:this.apis.getPayConfig,params:e})}},{key:"getPrivilegeInfo",value:function(e){return this.clientExecPromise({eventName:this.apis.getUserPrivilege,params:{privilege_ids:e}})}},{key:"tianceShowReport",value:function(e){return this.clientExecPromise({eventName:this.apis.collectTianceShow,params:e})}},{key:"tianceClickReport",value:function(e){return this.clientExecPromise({eventName:this.apis.collectTianceClicked,params:e})}},{key:"openWebview",value:function(e,t){return this.clientExecPromise({eventName:this.apis.createWebWidget,params:(0,v.Z)({startupurl:e,isModal:!0,middleofscreen:!0,showclosebutton:!0},t)})}},{key:"wpsClientApiRequest",value:function(e){var t=D.Z.getters.getWpssid,n="wps_sid=".concat(t);return new Promise((function(i,s){A.Z.httpRequest((0,v.Z)({cookie:n,header:{"X-Requested-Source":"pc-vip-recommend-#mod",cookie:"wps_sid=".concat(t)}},e)).then((function(e){i(e)}))["catch"]((function(e){s(e)}))}))}},{key:"getValueFromFpccombYunbox",value:function(e){return this.clientExecPromise({eventName:this.apis.getValueFromFpccombYunbox,params:e})}},{key:"getValueFromFpccombWpsbox",value:function(e){return this.clientExecPromise({eventName:this.apis.getValueFromFpccombWpsbox,params:e})}},{key:"getSourceFrom",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.clientExecPromise({eventName:this.apis.getSourceFrom,params:{}});case 3:if(t=e.sent,"ok"===t.callstatus){e.next=6;break}return e.abrupt("return","");case 6:return e.abrupt("return",t.result||"");case 9:e.prev=9,e.t0=e["catch"](0),console.error("获取页面打开来源失败:",e.t0);case 12:return e.abrupt("return","");case 13:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(){return e.apply(this,arguments)}return t}()},{key:"getOemString",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(t,n){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.clientExecPromise({eventName:this.apis.getOemString,params:{key:t,subkey:n}});case 3:if(i=e.sent,"ok"===i.callstatus){e.next=6;break}return e.abrupt("return","");case 6:return e.abrupt("return",i.data);case 9:e.prev=9,e.t0=e["catch"](0),console.error("获取客户端配置失败:",e.t0,"key: ",t,"subkey: ",n);case 12:return e.abrupt("return","");case 13:case"end":return e.stop()}}),e,this,[[0,9]])})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"getMostApplicableGroupConfig",value:function(e){return this.clientExecPromise({eventName:this.apis.getMostApplicableGroupConfig,params:e})}},{key:"getSortedValidMerchandises",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,this.clientExecPromise({eventName:this.apis.getSortedValidMerchandises});case 3:if(t=e.sent,"ok"===t.callstatus){e.next=8;break}return e.abrupt("return",[]);case 8:return e.abrupt("return",null===(n=t.data)||void 0===n?void 0:n.merchandises);case 9:e.next=14;break;case 11:return e.prev=11,e.t0=e["catch"](0),e.abrupt("return",[]);case 14:case"end":return e.stop()}}),e,this,[[0,11]])})));function t(){return e.apply(this,arguments)}return t}()}])}(g);function T(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,o.Z)(t),(0,a.Z)(e,i()?Reflect.construct(t,n||[],(0,o.Z)(e).constructor):t.apply(e,n))}var L=function(e){function t(){var e;return(0,s.Z)(this,t),e=T(this,t),e.apis={openWPSOffice:"openWPSOffice",startDesktop:"startDesktop",openSettingPage:"openSettingPage",exitContextMenu:"exitContextMenu",sendVipExpiredInfoList:"getVipExpiredInfoList",getCompanyInfo:"getCompanyInfo",sendCompanyPackageInfoChange:"getCompanyVipInfo",openCloudDisk:"openCloudDisk",sendCloudSpaceSize:"getCloudSpaceSize",openPayWindow:"upgradeVip",openWebview:"openInnerUrl",broadcastChannel:"sendCrossPageMsg",getTrayIconFlickEnable:"getTrayIconFlickEnable",setTrayIconFlickEnable:"setTrayIconFlickEnable",getWpsDesktopStatus:"getWpsDesktopStatus",ignoreAllMessages:"ignoreAllMessages",getVipType:"getVipType",isSupportSyncAssistantOpt:"supportSyncAssistantOpt"},e}return(0,c.Z)(t,e),(0,i.Z)(t,[{key:"openCloudDisk",value:function(){return this.clientExecPromise({eventName:this.apis.openCloudDisk,params:{callbackName:"openCloudDisk"}})}},{key:"getTrayIconFlickEnable",value:function(){return this.clientExecPromise({eventName:this.apis.getTrayIconFlickEnable})}},{key:"setTrayIconFlickEnable",value:function(e){return this.clientExecPromise({eventName:this.apis.setTrayIconFlickEnable,params:{enable:e}})}},{key:"getWpsDesktopStatus",value:function(){return this.clientExecPromise({eventName:this.apis.getWpsDesktopStatus,params:{callbackName:"getWpsDesktopStatus"}})}},{key:"ignoreAllMessages",value:function(){return this.clientExecPromise({eventName:this.apis.ignoreAllMessages})}},{key:"openPayWindow",value:function(e){return this.clientExecPromise({eventName:this.apis.openPayWindow,params:e})}},{key:"openWebview",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.openWebview,params:e})}},{key:"openWPSOffice",value:function(){return this.clientExecPromise({eventName:this.apis.openWPSOffice,params:{callbackName:"openWPSOffice"}})}},{key:"startDesktop",value:function(){return this.clientExecPromise({eventName:this.apis.startDesktop,params:{callbackName:"startDesktop"}})}},{key:"openSettingPage",value:function(){return this.clientExecPromise({eventName:this.apis.openSettingPage,params:{callbackName:"openSettingPage"}})}},{key:"exitContextMenu",value:function(){return this.clientExecPromise({eventName:this.apis.exitContextMenu,params:{callbackName:"exitContextMenu"}})}},{key:"sendVipExpiredInfoList",value:function(e){return this.clientExecPromise({eventName:this.apis.sendVipExpiredInfoList,params:e})}},{key:"sendCompanyPackageInfoChange",value:function(e){return this.clientExecPromise({eventName:this.apis.sendCompanyPackageInfoChange,params:e})}},{key:"getCompanyInfo",value:function(){return this.clientExecPromise({eventName:this.apis.getCompanyInfo,params:{callbackName:"getCompanyInfo"}})}},{key:"sendCloudSpaceSize",value:function(e){return this.clientExecPromise({eventName:this.apis.sendCloudSpaceSize,params:(0,v.Z)({callbackName:"sendCloudSpaceSize"},e)})}},{key:"broadcast",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.clientExecPromise({eventName:this.apis.broadcastChannel,params:{callFrom:"syncAssistcontextMenu",data:JSON.stringify(e)}})}},{key:"getVipType",value:function(){return this.clientExecPromise({eventName:this.apis.getVipType,params:{callbackName:"getVipType"}})}},{key:"isSupportSyncAssistantOpt",value:function(){return this.clientExecPromise({eventName:this.apis.isSupportSyncAssistantOpt,params:{callbackName:"isSupportSyncAssistantOpt"}}).then((function(e){var t;return null!==(t=e.status)&&void 0!==t&&t}))["catch"]((function(){return!1}))}}])}(g),M=(0,i.Z)((function e(){var t=this;(0,s.Z)(this,e),(0,r.Z)(this,"clientRequest",void 0),(0,r.Z)(this,"user",void 0),(0,r.Z)(this,"framework",void 0),(0,r.Z)(this,"transRecordRequest",void 0),(0,r.Z)(this,"messageRequest",void 0),(0,r.Z)(this,"settingRequest",void 0),(0,r.Z)(this,"commonRequest",void 0),(0,r.Z)(this,"menuRequest",void 0),this.clientRequest=new m,this.user=new b,this.framework=new k,this.transRecordRequest=new w,this.messageRequest=new x,this.settingRequest=new P,this.commonRequest=new O,this.menuRequest=new L,window.addEventListener("beforeunload",(function(){t.clientRequest.cleanupAllEventListeners()}))}));const U=new M},5252:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var i=n(3087),s=n(2833),r=n(2482),a=n(4185),o=function(){function e(){(0,i.Z)(this,e),(0,r.Z)(this,"mode",void 0),(0,r.Z)(this,"default_title",a["default"].t("common_app_title")),(0,r.Z)(this,"default_short_title",a["default"].t("7aafaa7ca5")),(0,r.Z)(this,"fileSizeLimit",2147483648),(0,r.Z)(this,"exeIcons",["msi","exe","apk","dmg","lnk"]),(0,r.Z)(this,"heartBeatInterval",1e4),(0,r.Z)(this,"feedBackProductId",1000127),(0,r.Z)(this,"cb",void 0),(0,r.Z)(this,"registerPath","HKEY_CURRENT_USER\\Software\\kingsoft\\Office\\6.0"),(0,r.Z)(this,"wpscloudRegisterPath","HKEY_CURRENT_USER\\Software\\Kingsoft\\wpscloud"),this.mode="full"}return(0,s.Z)(e,[{key:"registerCb",value:function(e){this.cb=e}},{key:"changeMode",value:function(){this.mode="full"===this.mode?"float":"full",this.cb&&this.cb(this.mode)}},{key:"getMode",value:function(){return this.mode}}])}();const c=new o},6389:(e,t,n)=>{"use strict";n.d(t,{$$:()=>h,WU:()=>s,XR:()=>k,YZ:()=>m,eD:()=>S,qu:()=>i,vA:()=>a,yA:()=>E});n(1532),n(1539),n(8783),n(3948);var i,s,r=n(4185);(function(e){e[e["DEFAULT"]=-1]="DEFAULT",e[e["NORMAL"]=0]="NORMAL",e[e["DK_VIP"]=1]="DK_VIP",e[e["WPS_VIP"]=2]="WPS_VIP",e[e["BROZEN_VIP"]=4]="BROZEN_VIP",e[e["SUPER_VIP"]=8]="SUPER_VIP",e[e["ENTERPRISE_VIP"]=16]="ENTERPRISE_VIP"})(i||(i={})),function(e){e[e["NORMAL_VIP"]=10]="NORMAL_VIP",e[e["WPS_VIP"]=20]="WPS_VIP",e[e["SUPER_VIP"]=40]="SUPER_VIP",e[e["DK_VIP"]=12]="DK_VIP",e[e["ENTERPRISE_VIP"]=104]="ENTERPRISE_VIP"}(s||(s={}));var a,o,c,u,l,p,f,d,g,h,m,v,y,S;(new Map).set("NORMAL_VIP",r["default"].t("f72737b0f1")).set("WPS_VIP",r["default"].t("b6c2ec7ca5")).set("SUPER_VIP",r["default"].t("49bb2d199c")).set("DK_VIP",r["default"].t("f7612a3514")).set("ENTERPRISE_VIP",r["default"].t("3b1063fec2"));(function(e){e[e["ALL"]=1]="ALL",e[e["COMPLETE"]=2]="COMPLETE",e[e["RUNNING"]=3]="RUNNING",e[e["ERROR"]=4]="ERROR",e[e["PAUSE"]=6]="PAUSE"})(a||(a={})),function(e){e[e["NORMAL"]=0]="NORMAL",e[e["EXPIRING"]=1]="EXPIRING",e[e["EXPIRED"]=2]="EXPIRED"}(o||(o={})),function(e){e[e["QUERY"]=0]="QUERY",e[e["WAITING"]=1]="WAITING",e[e["PAUSE"]=2]="PAUSE",e[e["RUNNING"]=3]="RUNNING",e[e["COMPLETE"]=4]="COMPLETE",e[e["ERROR"]=5]="ERROR"}(c||(c={})),function(e){e[e["QUERY"]=0]="QUERY",e[e["WAITING"]=1]="WAITING",e[e["PAUSE"]=2]="PAUSE",e[e["RUNNING"]=3]="RUNNING",e[e["SUCCESS"]=4]="SUCCESS",e[e["ERROR"]=5]="ERROR",e[e["SAVING"]=6]="SAVING",e[e["SCANNING"]=7]="SCANNING"}(u||(u={})),function(e){e[e["UNKNOW"]=0]="UNKNOW",e[e["UPLOAD_FILE"]=1]="UPLOAD_FILE",e[e["DOWNLOAD_FILE"]=2]="DOWNLOAD_FILE",e[e["UPLOAD_FOLDER"]=3]="UPLOAD_FOLDER",e[e["DOWNLOAD_FOLDER"]=4]="DOWNLOAD_FOLDER",e[e["SYNC_FOLDER"]=5]="SYNC_FOLDER",e[e["DESKTOP_SYNC"]=6]="DESKTOP_SYNC",e[e["RADAR_BAK"]=7]="RADAR_BAK",e[e["AUTO_DOWNLOAD"]=8]="AUTO_DOWNLOAD",e[e["FILE_CREATE_OPT"]=9]="FILE_CREATE_OPT",e[e["FILE_RENAME_OPT"]=10]="FILE_RENAME_OPT",e[e["FILE_MOVE_OPT"]=11]="FILE_MOVE_OPT",e[e["FILE_DELETE_OPT"]=12]="FILE_DELETE_OPT",e[e["FILE_RECOVERY_OPT"]=13]="FILE_RECOVERY_OPT",e[e["FOLDER_CREATE_OPT"]=14]="FOLDER_CREATE_OPT",e[e["FOLDER_RENAME_OPT"]=15]="FOLDER_RENAME_OPT",e[e["FOLDER_MOVE_OPT"]=16]="FOLDER_MOVE_OPT",e[e["FOLDER_DELETE_OPT"]=17]="FOLDER_DELETE_OPT",e[e["FOLDER_RECOVERY_OPT"]=18]="FOLDER_RECOVERY_OPT",e[e["SYNC_FOLDER_UPLOAD"]=19]="SYNC_FOLDER_UPLOAD",e[e["PRIVATE_FOLDER"]=20]="PRIVATE_FOLDER",e[e["FILE_COPY"]=100]="FILE_COPY",e[e["FILE_UPDATE"]=101]="FILE_UPDATE",e[e["FILE_COPY_SAVE"]=102]="FILE_COPY_SAVE",e[e["FILE_RECOVERY_AGAIN"]=103]="FILE_RECOVERY_AGAIN",e[e["FOLDER_COPY"]=200]="FOLDER_COPY",e[e["FOLDER_UPDATE"]=201]="FOLDER_UPDATE",e[e["FOLDER_COPY_SAVE"]=202]="FOLDER_COPY_SAVE",e[e["FOLDER_RECOVERY_AGAIN"]=203]="FOLDER_RECOVERY_AGAIN"}(l||(l={})),function(e){e[e["UNKNOW"]=0]="UNKNOW",e[e["CREATE"]=1]="CREATE",e[e["UPDATE"]=2]="UPDATE",e[e["DELETE"]=3]="DELETE",e[e["MOVE_IN"]=4]="MOVE_IN",e[e["MOVE_OUT"]=5]="MOVE_OUT",e[e["RECOVERY"]=6]="RECOVERY",e[e["RENAME"]=7]="RENAME",e[e["COPY"]=8]="COPY",e[e["RESAVE"]=9]="RESAVE",e[e["SECOND_RECOVERED"]=10]="SECOND_RECOVERED",e[e["DOWNLOAD"]=11]="DOWNLOAD"}(p||(p={})),function(e){e[e["SPACE_FULL"]=32]="SPACE_FULL",e[e["FILE_SIZE_LIMIT"]=19]="FILE_SIZE_LIMIT",e[e["SYNC_FOLDER_EXPIRED"]=1001]="SYNC_FOLDER_EXPIRED",e[e["FILE_TOO_LARGE"]=-4]="FILE_TOO_LARGE",e[e["CACHE_PATH_LIMIT"]=-2]="CACHE_PATH_LIMIT",e[e["TEAM_OWNER_SPACE_FULL"]=1003]="TEAM_OWNER_SPACE_FULL",e[e["CACHE_DIR_SPACE_FULL"]=-6]="CACHE_DIR_SPACE_FULL",e[e["FILE_NOT_UPLOADED"]=27]="FILE_NOT_UPLOADED",e[e["METAITEM_INFO_ERROR"]=-1106]="METAITEM_INFO_ERROR",e[e["METAITEM_LOCAL_ABSOLUTE_PATH_NOT_MATCH"]=-1105]="METAITEM_LOCAL_ABSOLUTE_PATH_NOT_MATCH",e[e["METAITEM_FILEID_IS_NULL"]=-1104]="METAITEM_FILEID_IS_NULL",e[e["CACHEITEM_NOT_FOUND"]=-1103]="CACHEITEM_NOT_FOUND",e[e["METAITEM_NOT_FOUND"]=-1102]="METAITEM_NOT_FOUND",e[e["METAITEM_CREATE_FAILED"]=-1101]="METAITEM_CREATE_FAILED",e[e["META_CONTAINER_IS_NULL"]=-1100]="META_CONTAINER_IS_NULL",e[e["INTERNAL_ERROR"]=-1e3]="INTERNAL_ERROR",e[e["INVALID_ARGUMENT"]=20]="INVALID_ARGUMENT",e[e["LOCAL_INVALID_ARGUMENT"]=1202]="LOCAL_INVALID_ARGUMENT",e[e["API_LIMIT_EXCEED"]=33]="API_LIMIT_EXCEED",e[e["NOT_ALLOW_TYPE"]=-9]="NOT_ALLOW_TYPE",e[e["FOLDER_NOT_EXISTS"]=22]="FOLDER_NOT_EXISTS",e[e["GROUP_NOT_EXIST"]=16]="GROUP_NOT_EXIST",e[e["NAME_LENGTH_EXCEED"]=28]="NAME_LENGTH_EXCEED",e[e["GROUP_DENY"]=21]="GROUP_DENY",e[e["LOCAL_FILE_NOT_EXIST"]=-5]="LOCAL_FILE_NOT_EXIST",e[e["FILE_VERSION_CONFICT"]=2]="FILE_VERSION_CONFICT",e[e["ICBC_DIRTY_DATA"]=34]="ICBC_DIRTY_DATA",e[e["MAX_CLOUD_FILE_NUM_LIMIT"]=17]="MAX_CLOUD_FILE_NUM_LIMIT",e[e["FILE_NAME_CONFLICT"]=23]="FILE_NAME_CONFLICT",e[e["FILE_EXISTS"]=15]="FILE_EXISTS",e[e["MAX_FILE_NUM_LIMIT"]=14]="MAX_FILE_NUM_LIMIT",e[e["NOT_GROUP_MEMBER"]=12]="NOT_GROUP_MEMBER",e[e["NO_OPERATION_AUTH"]=-8]="NO_OPERATION_AUTH",e[e["PERMISSION_DENIED"]=5]="PERMISSION_DENIED",e[e["SYNC_FOLDER_CLOUD_PATH_DELETED"]=1002]="SYNC_FOLDER_CLOUD_PATH_DELETED",e[e["FAILED"]=-1]="FAILED",e[e["LOCAL_ILLEGAL_NAME"]=-1200]="LOCAL_ILLEGAL_NAME",e[e["ILLEGAL_NAME"]=29]="ILLEGAL_NAME",e[e["LOCAL_FOLDER_EXIST"]=-1209]="LOCAL_FOLDER_EXIST",e[e["LOCAL_FILE_NAME_CONFLICT"]=-1201]="LOCAL_FILE_NAME_CONFLICT",e[e["FILE_NAME_EMPTY"]=35]="FILE_NAME_EMPTY",e[e["LOCAL_TRANSFERING"]=-1010]="LOCAL_TRANSFERING",e[e["LOCAL_FILE_IS_OCCUPY"]=-1008]="LOCAL_FILE_IS_OCCUPY",e[e["SOURCE_FILE_NOT_EXIST"]=4]="SOURCE_FILE_NOT_EXIST",e[e["SECRET_FOLDER_LOCKED"]=-1303]="SECRET_FOLDER_LOCKED",e[e["ENT_SPACE_FULL"]=10036]="ENT_SPACE_FULL"}(f||(f={})),function(e){e[e["UNKNOW"]=-1]="UNKNOW",e[e["PAUSE"]=1]="PAUSE",e[e["CONTINUE"]=2]="CONTINUE",e[e["REMOVE"]=3]="REMOVE",e[e["RETRY"]=4]="RETRY",e[e["OPEN_FILE"]=5]="OPEN_FILE",e[e["OPEN_LOCATION"]=6]="OPEN_LOCATION",e[e["OPEN_HISTORY"]=103]="OPEN_HISTORY",e[e["OPEN_FEEDBACK"]=104]="OPEN_FEEDBACK",e[e["OPEN_PRIVATE_FOLDER"]=1019]="OPEN_PRIVATE_FOLDER",e[e["APPLY_DOWNLOAD"]=105]="APPLY_DOWNLOAD"}(d||(d={})),function(e){e[e["NOTIFY"]=1]="NOTIFY",e[e["DEFAULT_LOGIN"]=2]="DEFAULT_LOGIN",e[e["DEFAULT_NOT_LOGIN"]=3]="DEFAULT_NOT_LOGIN"}(g||(g={})),function(e){e[e["SUFFICIENT"]=0]="SUFFICIENT",e[e["INSUFFICIENT"]=1]="INSUFFICIENT",e[e["FULL"]=2]="FULL",e[e["SUFFICIENT_HOVER"]=4]="SUFFICIENT_HOVER",e[e["INSUFFICIENT_HOVER"]=5]="INSUFFICIENT_HOVER",e[e["FULL_HOVER"]=6]="FULL_HOVER",e[e["SUFFICIENT_CLICK"]=7]="SUFFICIENT_CLICK",e[e["INSUFFICIENT_CLICK"]=8]="INSUFFICIENT_CLICK",e[e["FULL_CLICK"]=9]="FULL_CLICK"}(h||(h={})),function(e){e["FILE_SIZE_LIMIT"]="filesize_limit",e["CLOUD_SPACE"]="cloud_space",e["SYNC_FOLDER"]="sync_folder",e["NET_DOC_AUTO_UPDATE"]="net_doc_auto_update"}(m||(m={})),function(e){e["NORMAL_LINK"]="goto_h5",e["PAY_LINK"]="goto_pay"}(v||(v={})),function(e){e["DAILY"]="1",e["BIG_SALE"]="2"}(y||(y={})),function(e){e[e["DEFAULT"]=0]="DEFAULT",e[e["NORMAL"]=1]="NORMAL",e[e["HIGHTEST"]=2]="HIGHTEST",e[e["NO_RETAIL"]=3]="NO_RETAIL"}(S||(S={}));var b,C,k={SUPER_ADMIN:1,ADMIN:2,MEMBER:3,1:"superadmin",2:"admin",3:"member"};(function(e){e["NORMAL"]="normal",e["HOVER"]="hover",e["CLICK"]="click"})(b||(b={})),function(e){e["DEVICE_OTHER_ERROR"]="40315000",e["IP_LIMIT"]="40315001",e["DEVICE_LIMIT"]="40315002",e["DEVICE_LIMIT_WITH_TIPS"]="40315003",e["CLIENT_LIMIT"]="40315004",e["DOWNLOAD_LIMIT"]="40315005"}(C||(C={}));var E="wps_sync_assistant_business"},4185:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>c});var i=n(7389),s=n(144),r=n(7152),a=n(7773);s["default"].use(r.Z);var o=new r.Z({locale:"zh-CN",fallbackLocale:"zh-CN",messages:{"zh-CN":a["default"]}});(0,i.jQ)({locale:o.locale});const c=o},1804:(e,t,n)=>{"use strict";n.r(t),n.d(t,{loadLanguageAsync:()=>u});var i=n(8534),s=(n(5666),n(6699),n(1539),n(189),n(8783),n(3948),n(4185)),r=n(5761),a=n(7389),o=["zh-CN"];function c(e){s["default"].locale=e,(0,a.jQ)({locale:e});var t=new Set(["ar","he"]);return document.documentElement.setAttribute("dir",t.has(e.split("-")[0])?"rtl":"ltr"),e}function u(e){return l.apply(this,arguments)}function l(){return l=(0,i.Z)(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,r.Z.isHideTools();case 3:window._hideTools=e.sent,e.next=9;break;case 6:e.prev=6,e.t0=e["catch"](0),console.error(e.t0);case 9:if(s["default"].locale!==t){e.next=11;break}return e.abrupt("return",Promise.resolve(c(t)));case 11:if(!o.includes(t)){e.next=13;break}return e.abrupt("return",Promise.resolve(c(t)));case 13:return e.abrupt("return",n(4051)("./".concat(t)).then((function(e){return s["default"].setLocaleMessage(t,e["default"]),o.push(t),c(t)})));case 14:case"end":return e.stop()}}),e,null,[[0,6]])}))),l.apply(this,arguments)}},1811:(e,t,n)=>{"use strict";n.r(t),n.d(t,{getLang:()=>o});n(4916),n(4723);var i=n(4629),s=(n(6699),n(2772),n(2023),window.navigator.userAgent.toLowerCase().includes("ios-pad")),r=window.navigator.userAgent.toLowerCase().includes("mac-office"),a=(window.navigator.userAgent.toLowerCase().includes("android-pad"),window.navigator.userAgent.toLowerCase().includes("android-pc-office"),window.navigator.userAgent.toLowerCase().includes("win"),["en-US","zh-CN","zh-HK","ja-JP","es-MX","id-ID","de-DE","es-ES","fr-CA","fr-FR","th-TH","pl-PL","pt-BR","pt-PT","ru-RU","tr-TR","ko-KR","it-IT","ms-MY","vi-VN","ar-SA"]);function o(){var e=location.href.match(/[?&]lang=([^&]+)/);if(e&&e[1])return e[1];if(navigator&&navigator.language){var t=s&&r&&"ja"===navigator.language?"ja-JP":navigator.language;return(0,i.s)(a,t)}return"zh-CN"}},7773:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>ke});var i=n(5082),s=n(2542),r=n(9492),a=n(7315),o=n(8391),c=n(3227),u=n(3702),l=n(3906),p=n(9211),f=n(5130),d=n(3308),g=n(3388),h=n(7304),m=n(816),v=n(52),y=n(4992),S=n(7380),b=n(585),C=n(2924),k=n(557),E=n(7250),w=n(1339),_=n(8604),x=n(3518),I=n(4650),R=n(9290),P=n(5062),N=n(9708),A=n(8826),Z=n(2528),D=n(7490),F=n(4313),O=n(7372),T=n(6619),L=n(852),M=n(83),U=n(3697),V=n(9156),W=n(7694),z=n(1991),H=n(1938),B=n(7730),j=n(8123),q=n(5706),K=n(8591),Y=n(6804),G=n(6302),$=n(7128),J=n(321),X=n(2184),Q=n(6439),ee=n(3978),te=n(8842),ne=n(9503),ie=n(5029),se=n(8370),re=n(1394),ae=n(8422),oe=n(5316),ce=n(812),ue=n(6592),le=n(1987),pe=n(888),fe=n(8420),de=n(8211),ge=n(7489),he=n(6312),me=n(1855),ve=n(3041),ye=n(2468),Se=n(801),be=n(7382),Ce=n(4004);const ke=(0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)((0,i.Z)({},s),r),a),o),c),u),l),p),f),d),g),h),m),v),y),S),b),C),k),E),w),_),x),I),R),P),N),A),Z),D),F),O),T),L),M),U),V),W),z),H),B),j),q),K),Y),G),$),J),X),Q),ee),te),ne),ie),se),re),ae),oe),ce),ue),le),pe),fe),de),ge),he),me),ve),ye),Se),be),Ce)},975:(e,t,n)=>{"use strict";var i=n(6892),s=n.n(i),r=n(8813),a=n.n(r),o=n(1506),c=n.n(o),u=n(9362),l=n.n(u),p=n(1275),f=n.n(p),d=n(9471),g=n.n(d),h=n(6002),m=n.n(h),v=n(6905),y=n.n(v),S=n(3018),b=n.n(S),C=n(4901),k=n.n(C),E=n(9806),w=n.n(E),_=(n(6992),n(8674),n(9601),n(7727),n(9554),n(8309),n(1539),n(189),n(8783),n(4747),n(3948),n(144)),x=n(4185),I=n(8345),R=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-page"},[n("SettingTabs")],1)},P=[],N=(n(2419),n(1299),n(8534)),A=n(3087),Z=n(2833),D=n(4363),F=n(2040),O=n(3967),T=(n(5666),n(1703),n(6647),n(655)),L=n(600),M=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-tabs"},[n("div",{staticClass:"setting-tabs-nav"},[e.title?n("div",{staticClass:"setting-tabs-title"},[e._v(e._s(e.title))]):e._e(),e._l(e.settings,(function(t){return n("SettingTabsItem",{directives:[{name:"show",rawName:"v-show",value:!t.needLogin||t.needLogin&&e.isLogin,expression:"!item.needLogin || (item.needLogin && isLogin)"}],key:t.key,attrs:{label:t.label,description:t.desc,icon:t.icon,activeIcon:t.activeIcon,tabKey:t.key,active:e.activeTab===t.key},on:{onClick:e.handleChangeTabs}})}))],2),n("SettingTabsPanel",[n(e.activeTab,{tag:"component"})],1)],1)},U=[],V=n(2482),W=(n(2222),n(6699),n(2023),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-tab-item",class:{"active-item":e.active},on:{click:e.handleClick}},[e.icon&&!e.active?n("img",{staticClass:"setting-tab-item_icon",attrs:{src:e.icon,alt:""}}):e._e(),e.activeIcon&&e.active?n("img",{staticClass:"setting-tab-item_icon",attrs:{src:e.activeIcon,alt:""}}):e._e(),n("div",{staticClass:"setting-tab-item_content",class:{"active-txt":e.active}},[n("div",{staticClass:"content-title"},[e._v(e._s(e.label))]),e.description?n("div",{staticClass:"content-desc"},[e._v(e._s(e.description))]):e._e()])])}),z=[];function H(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,F.Z)(t),(0,D.Z)(e,i()?Reflect.construct(t,n||[],(0,F.Z)(e).constructor):t.apply(e,n))}var B=function(e){function t(){var e;(0,A.Z)(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e=H(this,t,[].concat(i)),(0,V.Z)(e,"tabKey",void 0),(0,V.Z)(e,"active",void 0),(0,V.Z)(e,"icon",void 0),(0,V.Z)(e,"activeIcon",void 0),(0,V.Z)(e,"label",void 0),(0,V.Z)(e,"description",void 0),e}return(0,O.Z)(t,e),(0,Z.Z)(t,[{key:"handleClick",value:function(){return this.tabKey}}])}(L.w3);(0,T.gn)([(0,L.fI)({default:"",required:!0})],B.prototype,"tabKey",void 0),(0,T.gn)([(0,L.fI)({default:!1})],B.prototype,"active",void 0),(0,T.gn)([(0,L.fI)({default:""})],B.prototype,"icon",void 0),(0,T.gn)([(0,L.fI)({default:""})],B.prototype,"activeIcon",void 0),(0,T.gn)([(0,L.fI)({default:"",required:!0})],B.prototype,"label",void 0),(0,T.gn)([(0,L.fI)({default:""})],B.prototype,"description",void 0),(0,T.gn)([(0,L.y1)("onClick")],B.prototype,"handleClick",null),B=(0,T.gn)([L.wA],B);const j=B,q=j;var K=n(3736),Y=(0,K.Z)(q,W,z,!1,null,"6a8cade4",null);const G=Y.exports;var $=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-tabs-panel"},[e._t("default")],2)},J=[];const X={},Q=X;var ee=(0,K.Z)(Q,$,J,!1,null,"7f8c02e0",null);const te=ee.exports;var ne=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("SettingBlock",{ref:"SettingBlock",attrs:{title:e.$t("c06fd35514")}},[i("SettingItem",{attrs:{title:e.cloudFileSyncTitle}},[i("div",{staticClass:"cloud_sync_switch",staticStyle:{position:"relative"}},[i("KwPopover",{attrs:{placement:"left",trigger:"hover",visiblePopover:!!e.fileUploadControlTips,isPopoverFixed:!0}},[i("KwSwitch",{attrs:{disabled:!!e.fileUploadControlTips},on:{change:e.setCloudFileSyncStatus},model:{value:e.cloundFileSyncStatus,callback:function(t){e.cloundFileSyncStatus=t},expression:"cloundFileSyncStatus"}}),i("template",{slot:"content"},[i("div",{staticClass:"cloud_sync_switch__popover"},[i("span",{staticClass:"cloud_sync_switch__popover__warn"}),i("span",[e._v(e._s(e.fileUploadControlTips))])])])],2),e.isLogin?e._e():i("div",{staticClass:"login-mask",on:{click:e.handleCloudFileSyncLogin}})],1),i("template",{slot:"footer"},[i("div",{staticClass:"body-description"},[e._v(" "+e._s(e.$t("e0674a6738"))+e._s(e.isCompanyAccount?e.$t("022a88803b"):e.$t("333ebedd73"))+e._s(e.$t("6beead33ca"))+" ")]),i("div",{staticClass:"body-save"},[i("span",{staticClass:"body-description"},[e._v(e._s(e.$t("594b6c1a07")))]),i("span",{staticClass:"body-link",on:{click:e.openFolderUrl}},[e._v(e._s(e.isCompanyAccount?e.$t("6c27d3ba64"):e.$t("8eeeef5c7d")))])])])],2),i("SplitLine"),e.folderSyncEnable?i("SettingItem",{attrs:{title:e.$t("c45222e9b1")}},[e.isCompanyAccount?e._e():i("template",{slot:"after"},[i("span",{staticClass:"header-title--toast clickable",on:{click:e.openSyncVip}},[i("img",{staticClass:"header-title--toast--img",attrs:{src:e.memberFillSvip,alt:""}}),i("span",[e._v(e._s(e.folderTextCounts))])])]),i("span",{staticClass:"body-link",on:{click:e.showAddSyncFolderDlg}},[e._v(e._s(e.$t("6b09f94642")))]),i("template",{slot:"footer"},[i("div",{staticClass:"body-description know-more"},[e._v(" "+e._s(e.$t("7761ca9afe"))),i("span",{staticClass:"information-toast",attrs:{title:e.$t("c2a2d80c39")},on:{click:e.getMoreInfo}})]),e.needRepairOverlayIcon?i("div",{staticClass:"body-description body-repair"},[i("img",{attrs:{src:n(9881)}}),i("div",{staticClass:"des"},[e._v(e._s(e.$t("5020756a2b")))]),i("span",{staticClass:"body-link",on:{click:e.doRepairOverlayIcon}},[e._v(e._s(e.$t("9715eea427")))])]):e._e(),e.hasCompanyPermissions&&e.supportCompanySyncFolder?i("div",{staticClass:"tip",on:{click:e.buyCompanyUpgradePackage}},[i("img",{attrs:{src:n(5433)}}),i("span",[e._v(e._s(e.$t("dfce060b2f")))])]):e._e()])],2):e._e(),i("SplitLine"),e.addSyncFolderDlgEnable&&!e.isCompanyAccount?i("SettingItem",{attrs:{title:e.$t("a791a80ed6")}},[i("span",{staticClass:"body-link",on:{click:e.showDesktopFileSync}},[e._v(e._s(e.$t("8e121e7bc1")))]),i("template",{slot:"footer"},[i("div",{staticClass:"body-description"},[e._v(e._s(e.$t("8c9e1cfbd5")))])])],2):e._e(),i("SplitLine"),i("SettingItem",{attrs:{title:e.$t("b7b4e3633a")}},[e.isCompanyAccount?e._e():i("template",{slot:"after"},[i("span",{staticClass:"header-title--toast clickable",on:{click:e.openAutoUpdateVip}},[i("img",{staticClass:"header-title--toast--img",attrs:{src:e.memberFillSvip,alt:""}}),i("span",[e._v(e._s(e.autoDownloadText))])])]),i("span",{staticClass:"body-link",on:{click:e.openDownloadNewFileSetting}},[e._v(e._s(e.$t("8e121e7bc1")))]),i("template",{slot:"footer"},[i("div",{staticClass:"body-description"},[e._v(e._s(e.$t("f988d39207")))])])],2)],1)},ie=[],se=(n(4553),n(1249),n(7922),function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-block"},[n("div",{staticClass:"setting-block--title"},[e._v(" "+e._s(e.title)+" ")]),n("div",{ref:"setting-content",staticClass:"setting-block--content"},[e._t("default")],2)])}),re=[],ae=n(5082);function oe(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,F.Z)(t),(0,D.Z)(e,i()?Reflect.construct(t,n||[],(0,F.Z)(e).constructor):t.apply(e,n))}var ce=function(e){function t(){var e;(0,A.Z)(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e=oe(this,t,[].concat(i)),(0,V.Z)(e,"title",void 0),(0,V.Z)(e,"isActive",!0),(0,V.Z)(e,"currentHeight",0),(0,V.Z)(e,"contentHeight","auto"),(0,V.Z)(e,"contentStyle",{}),e}return(0,O.Z)(t,e),(0,Z.Z)(t,[{key:"currentStatus",get:function(){return this.isActive?"open":"close"}},{key:"mounted",value:function(){this.initHeight()}},{key:"initHeight",value:function(){var e=this.$refs["setting-content"];this.currentHeight=e.scrollHeight,this.contentStyle={height:"".concat(this.currentHeight,"px"),overflow:"auto"}}},{key:"toggleActive",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(this.isActive=!this.isActive,!this.isActive){e.next=5;break}this.contentStyle=(0,ae.Z)((0,ae.Z)({},this.contentStyle),{},{height:"".concat(this.currentHeight,"px"),overflow:"auto"}),e.next=10;break;case 5:if(null!==(t=this.contentStyle)&&void 0!==t&&t.transition){e.next=9;break}return this.contentStyle={transition:"height 0.3s ease-in-out"},e.next=9,this.$nextTick();case 9:this.contentStyle=(0,ae.Z)((0,ae.Z)({},this.contentStyle),{},{height:"0",overflow:"hidden"});case 10:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}])}(L.w3);(0,T.gn)([(0,L.fI)()],ce.prototype,"title",void 0),ce=(0,T.gn)([L.wA],ce);const ue=ce,le=ue;var pe=(0,K.Z)(le,se,re,!1,null,"6bc47ac2",null);const fe=pe.exports;var de=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"setting-row"},[n("div",{staticClass:"setting-row--header"},[n("div",{staticClass:"header-title"},[n("span",[e._v(e._s(e.title))]),e._t("after")],2),e._t("default")],2),n("div",{staticClass:"setting-row--body"},[e._t("footer")],2)])},ge=[];function he(e,t,n){function i(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){return!1}}return t=(0,F.Z)(t),(0,D.Z)(e,i()?Reflect.construct(t,n||[],(0,F.Z)(e).constructor):t.apply(e,n))}var me=function(e){function t(){var e;(0,A.Z)(this,t);for(var n=arguments.length,i=new Array(n),s=0;s<n;s++)i[s]=arguments[s];return e=he(this,t,[].concat(i)),(0,V.Z)(e,"title",void 0),e}return(0,O.Z)(t,e),(0,Z.Z)(t)}(L.w3);(0,T.gn)([(0,L.fI)({type:String})],me.prototype,"title",void 0),me=(0,T.gn)([(0,L.wA)({name:"SettingItem"})],me);const ve=me,ye=ve;var Se=(0,K.Z)(ye,de,ge,!1,null,"67473191",null);const be=Se.exports;var Ce=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"split-line"})},ke=[];const Ee={},we=Ee;var _e=(0,K.Z)(we,Ce,ke,!1,null,"19540d03",null);const xe=_e.exports;var Ie=n(2122),Re=n(4538),Pe=(n(3710),n(1058),n(9714),n(6389)),Ne=n(9941),Ae=n(5761),Ze=(n(5735),n(8862),n(7941),function(){function e(){(0,A.Z)(this,e)}return(0,Z.Z)(e,[{key:"getLocalStorage",value:function(e){var t=localStorage.getItem(e);if(!t)return{status:!1};try{return{status:!0,data:JSON.parse(t)}}catch(n){return{status:!1}}}},{key:"setLocalStorage",value:function(e,t){try{return localStorage.setItem(e,JSON.stringify(t)),!0}catch(n){return!1}}},{key:"getRegValue",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(t,n){var i,s;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Ne.Z.commonRequest.getRegValue({regKey:t},n)["catch"]((function(e){return console.log(e),!1}));case 2:if(i=e.sent,s=i.regValue,s){e.next=6;break}return e.abrupt("return",{status:!1});case 6:return e.prev=6,e.abrupt("return",{status:!0,data:JSON.parse(s)});case 10:return e.prev=10,e.t0=e["catch"](6),e.abrupt("return",{status:!1});case 13:case"end":return e.stop()}}),e,null,[[6,10]])})));function t(t,n){return e.apply(this,arguments)}return t}()},{key:"setRegValue",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(t,n){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,Ne.Z.commonRequest.writeRegValue({regKey:t,regValue:JSON.stringify(n)})["catch"]((function(e){return console.log(e),!1}));case 3:return e.abrupt("return",e.sent);case 6:return e.prev=6,e.t0=e["catch"](0),e.abrupt("return",!1);case 9:case"end":return e.stop()}}),e,null,[[0,6]])})));function t(t,n){return e.apply(this,arguments)}return t}()}])}());const De=new Ze;var Fe=function(){function e(){(0,A.Z)(this,e)}return(0,Z.Z)(e,[{key:"expireTimeCache",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(t,n){var i,s,r,a,o,c=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=c.length>2&&void 0!==c[2]?c[2]:900,s=(new Date).getTime()+1e3*i,e.next=4,De.getLocalStorage(n);case 4:if(r=e.sent,r.status&&!(r.status&&r.data.expireTime<(new Date).getTime())){e.next=19;break}return e.next=8,t();case 8:if(a=e.sent,"ok"!==a.callstatus){e.next=16;break}return e.next=12,De.setLocalStorage(n,{expireTime:s,data:a});case 12:return console.log("获取的数据》》》",a),e.abrupt("return",a);case 16:return e.abrupt("return",!1);case 17:e.next=22;break;case 19:return o=r.data,console.log("缓存的数据》》》",o.data),e.abrupt("return",o.data);case 22:case"end":return e.stop()}}),e)})));function t(t,n){return e.apply(this,arguments)}return t}()}])}();const Oe=new Fe;var Te=n(298),Le=n(267),Me=n(6930),Ue=function(){function e(){var t=this;(0,A.Z)(this,e),(0,V.Z)(this,"bannerConfig","/vas_label_svr/v2/vip/box_recommend"),(0,V.Z)(this,"policyConfig","/vipapi/banner/v1/config?position=pc_sync_panel"),(0,V.Z)(this,"spaceRulesConfig","/vipapi/banner/v1/config?position=personal_center_cloud_card"),(0,V.Z)(this,"httpGetSpaceRulesConfig",(function(){var e=(0,Me.X)("s1vipwpscdn")+t.spaceRulesConfig;return Ne.Z.clientRequest.http({url:e,method:"GET",timeout:1e4})})),(0,V.Z)(this,"csourceObj",{panel:"pc_cloud_sync_panel",transfer:"pc_cloud_sync_transfer"}),(0,V.Z)(this,"httpGetPolicyConfig",(function(){var e=(0,Me.X)("s1vipwpscdn")+t.policyConfig;return Ne.Z.clientRequest.http({url:e,method:"GET",timeout:1e4,request_key:"getPolicyConfig"})}))}return(0,Z.Z)(e,[{key:"httpGetBannerConfig",value:function(e){var t=Le.Z.getters.getWpssid,n=(0,Me.X)("vipapi")+this.bannerConfig+"?"+Te.Z.obj2QueryStr(e);return Ne.Z.clientRequest.http({url:n,method:"GET",header:{"X-Requested-Source":"pc-vip-recommend-#mod",cookie:"wps_sid=".concat(t)},auth_type:"3",request_key:"getWpsboxBannerRecommendData",timeout:1e4})}},{key:"getAdShow",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t="",e.next=3,Ae.Z.getAppInfo();case 3:return n=e.sent,n.hdid3&&(t=n.hdid3),e.abrupt("return",this.httpGetBannerConfig({mod:"scenes_sync_text",position:"scenes_sync_text",limit_mod:"scene_free_limit",hdid:t}));case 6:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getAdShowLocalValue",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t,n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Re.Z.getUserInfo();case 2:return t=e.sent,e.next=5,De.getRegValue("adHiddenExpireTime_"+t.userId);case 5:if(n=e.sent,n.status){e.next=10;break}return e.abrupt("return",!0);case 10:return i=n.data,e.abrupt("return",parseInt(i)<(new Date).getTime());case 12:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"setAdShowLocalValue",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Re.Z.getUserInfo();case 2:return t=e.sent,e.abrupt("return",De.setRegValue("adHiddenExpireTime_"+t.userId,(new Date((new Date).toLocaleDateString()).getTime()+864e5-1).toString()));case 4:case"end":return e.stop()}}),e)})));function t(){return e.apply(this,arguments)}return t}()},{key:"openVipCashier",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"panel",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";console.log("998",e,t,n,i);var s=["pc_sync_backup","pc_cloud_svip","pc_cloud_wps_svip","pc_cloud_pack"],r={component:"sync_out",csource:this.csourceObj[e],payconfig:i||s[t],position:n};console.log("打开支付框",r),this.openPayWindow(r)}},{key:"openPayWindow",value:function(e){console.log("params",e),Ne.Z.commonRequest.openPayWindow(e)}},{key:"getPolicyConfigRequest",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Oe.expireTimeCache(this.httpGetPolicyConfig,"httpGetPolicyConfig",900);case 2:if(t=e.sent,!t){e.next=7;break}return e.abrupt("return",t);case 7:return e.abrupt("return",this.httpGetPolicyConfig());case 8:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()},{key:"getPolicyConfig",value:function(){var e=(0,N.Z)(regeneratorRuntime.mark((function e(){var t,n,i,s,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getPolicyConfigRequest();case 2:if(t=e.sent,console.log("getPolicyConfig-个人面板",t),"ok"!==t.callstatus||"ok"!==t.data.result||!t.data.data||t.data.data instanceof Array||!t.data.data.data||!(t.data.data.data.length>0)){e.next=10;break}for(n=Le.Z.getters.getMemberInfo,console.log("memberInfo----",n),i=n.isSvip?"svip":n.isWps&&n.isDocer?"wps_docer":n.isWps?"wps":n.isDocer?"docer":n.finalMemberId===Pe.WU.SUPER_VIP&&2===n.status?"svip_expired":n.finalMemberId===Pe.WU.WPS_VIP&&2===n.status?"wps_expired":"register",s=0;s<t.data.data.data.length;s++)r=t.data.data.data[s],1===r.enable&&1e3*r.start_time<=(new Date).getTime()&&(new Date).getTime()<=1e3*r.end_time&&r.act_id===i?r.is_show=!0:r.is_show=!1;return e.abrupt("return",new Promise((function(e){e(t.data.data)})));case 10:return e.abrupt("return",!1);case 11:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}()}])}();const Ve=new Ue;n(4916),n(5306),n(8757);var We=n(6317),ze=function(){function e(){(0,A.Z)(this,e)}return(0,Z.Z)(e,[{key:"add",value:function(e,t,n){console.log("注册",e,n);var i=n||e.replaceAll(".","");Ne.Z.clientRequest.addEventListener(e,t,i)}},{key:"remove",value:function(e,t){console.log("移除",e,t);var n=t||e.replaceAll(".","");Ne.Z.clientRequest.removeEventListener(e,n)}},{key:"registerCloseWin",value:function(e,t){this.add("event.syncAssist.windowClose",e,t)}},{key:"removeCloseWin",value:function(e){this.remove("event.syncAssist.windowClose",e)}},{key:"registerOpenWin",value:function(e,t){this.add("event.syncAssist.mainWinInfoCollect",e,t)}},{key:"removeOpenWin",value:function(e){this.remove("event.syncAssist.mainWinInfoCollect",e)}},{key:"registerLogin",value:function(e,t){this.add("event.account.login",e,t)}},{key:"removeLogin",value:function(e){this.remove("event.account.login",e)}},{key:"registerLogout",value:function(e,t){this.add("event.account.logout",e,t)}},{key:"removeLogout",value:function(e){this.remove("event.account.logout",e)}},{key:"registerLoginStatusChange",value:function(e,t){this.add("event.userFrame.loginStatusChange",e,t)}},{key:"removeLoginStatusChange",value:function(e){this.remove("event.userFrame.loginStatusChange",e)}},{key:"registerRightMenuLoginStatusChange",value:function(e,t){this.add("event.syncAssistMenu.loginStatusChange",e,t)}},{key:"removeRightMenuLoginStatusChange",value:function(e){this.remove("event.syncAssistMenu.loginStatusChange",e)}},{key:"registerGeneralStatus",value:function(e,t){console.log("添加全局状态变更通知"),this.add("event.syncAssist.syncListSummaryChange",e,t)}},{key:"removeGeneralStatus",value:function(e){this.remove("event.syncAssist.syncListSummaryChange",e)}},{key:"registerTaskChange",value:function(e,t){console.log("注册TaskChange监听事件:",t),this.add("event.syncAssist.syncListStatusChange",e,t)}},{key:"removeTaskChange",value:function(e){this.remove("event.syncAssist.syncListStatusChange",e)}},{key:"registerProgressChange",value:function(e,t){this.add("event.syncAssist.syncListProgressChange",e,t)}},{key:"removeProgressChange",value:function(e){this.remove("event.syncAssist.syncListProgressChange",e)}},{key:"registerUnreadMsgNotify",value:function(e,t){this.add("event.syncAssist.unreadMsgCountChanged",e,t)}},{key:"removeUnreadMsgNotify",value:function(e){this.remove("event.syncAssist.unreadMsgCountChanged",e)}},{key:"registerUnShownMsgNotify",value:function(e,t){this.add("event.syncAssist.unShownMsgCntChanged",e,t)}},{key:"removeUnShownMsgNotify",value:function(e){this.remove("event.syncAssist.unShownMsgCntChanged",e)}},{key:"registerMsgEntryStatusChanged",value:function(e,t){this.add("event.syncAssist.msgEntryStatusChanged",e,t)}},{key:"removeMsgEntryStatusChanged",value:function(e){this.remove("event.syncAssist.msgEntryStatusChanged",e)}},{key:"registerUserInfoChange",value:function(e,t){this.add("event.user.info.changed",e,t)}},{key:"removeUserInfoChange",value:function(e){this.remove("event.user.info.changed",e)}},{key:"registerVipStatusChange",value:function(e,t){this.add("event.payment.upatevip",e,t)}},{key:"removeVipStatusChange",value:function(e){this.remove("event.payment.upatevip",e)}},{key:"registerOpenSetting",value:function(e,t){console.log("订阅打开设置页通知"),this.add("event.syncAssist.enterSettingPage",e,t)}},{key:"removeOpenSetting",value:function(e){this.remove("event.syncAssist.enterSettingPage",e)}},{key:"registerVipExpiredStatus",value:function(e,t){console.log("添加会员信息变更通知",t),this.add("event.syncAssist.vipExpiredDataChange",e,t)}},{key:"removeVipExpiredStatus",value:function(e){console.log("移除会员信息变更通知"),this.remove("event.syncAssist.vipExpiredDataChange",e)}},{key:"registerCloudSpaceSizeChange",value:function(e,t){this.add("event.userFrame.cloudSpaceSize",e,t)}},{key:"removeCloudSpaceSizeChange",value:function(e){this.remove("event.userFrame.cloudSpaceSize",e)}},{key:"registerCloudSpaceInfoUpdated",value:function(e,t){this.add("event.account.cloudSpaceInfoUpdated",e,t)}},{key:"removeCloudSpaceInfoUpdated",value:function(e){this.remove("event.account.cloudSpaceInfoUpdated",e)}},{key:"registerClientSpaceListener",value:function(e){this.add("event.account.login",e)}},{key:"registerCloudFileSyncStatusChanged",value:function(e,t){this.add("event.syncAssistSetting.cloudFileSyncStatusChanged",e,t)}},{key:"removeCloudFileSyncStatusChanged",value:function(e){this.remove("event.syncAssistSetting.cloudFileSyncStatusChanged",e)}},{key:"registerIsHistoryShow",value:function(e,t){this.add("event.syncAssist.fileOplogEntryChange",e,t)}},{key:"removeIsHistoryShow",value:function(e){this.remove("event.syncAssist.fileOplogEntryChange",e)}},{key:"registerCompanyVipInfo",value:function(e,t){this.add("event.syncAssist.companyVipInfo",e,t)}},{key:"removeCompanyVipInfo",value:function(e){this.remove("event.syncAssist.companyVipInfo",e)}},{key:"registerContextVipStatus",value:function(e,t){console.log("右键弹窗添加会员信息变更通知",t),this.add("event.syncAssistMenu.vipExpiredDataChange",e,t)}},{key:"removeContextVipStatus",value:function(e){console.log("右键弹窗移除会员信息变更通知"),this.remove("event.syncAssistMenu.vipExpiredDataChange",e)}},{key:"registerContextCompanyVipInfoChange",value:function(e,t){console.log("右键弹窗添加企业套餐变更通知",t),this.add("event.syncAssistMenu.companyVipInfo",e,t)}},{key:"removeContextCompanyVipInfoChange",value:function(e){console.log("右键弹窗移除企业套餐变更通知"),this.remove("event.syncAssistMenu.companyVipInfo",e)}},{key:"registerContextCloudSpaceSizeChange",value:function(e,t){console.log("添加云空间大小变更通知",t),this.add("event.syncAssistMenu.cloudSpaceSize",e,t)}},{key:"removeContextCloudSpaceSizeChange",value:function(e){console.log("移除云空间大小变更通知"),this.remove("event.syncAssistMenu.cloudSpaceSize",e)}},{key:"registerCacheFileClear",value:function(e,t){console.log("添加缓存清理通知",t),this.add("event.syncAssistSetting.cacheFileClear",e,t)}},{key:"removeCacheFileClear",value:function(e){console.log("移除缓存清理通知"),this.remove("event.syncAssistSetting.cacheFileClear",e)}},{key:"registerBroadcast",value:function(e,t){console.log("添加订阅广播事件",t),this.add("crossPageMsg",e,t)}},{key:"removeBroadcast",value:function(e){console.log("移除订阅广播事件",e),this.remove("crossPageMsg",e)}},{key:"registerRightMenuChange",value:function(e,t){console.log("订阅右键菜单类型变化",t),this.add("event.syncAssistMenu.switchPage",e,t)}},{key:"removeRightMenuChange",value:function(e){console.log("移除订阅右键菜单类型变化",e),this.remove("event.syncAssistMenu.switchPage",e)}},{key:"registerCacheFolderPathChange",value:function(e,t){console.log("订阅网盘文件存储路径位置更改通知",t),this.add("event.syncAssistSetting.cacheFolderPathChange",e,t)}},{key:"removeCacheFolderPathChange",value:function(e){console.log("取消订阅网盘文件存储路径位置更改通知",e),this.remove("event.syncAssistSetting.cacheFolderPathChange",e)}},{key:"registerCancelSyncFolder",value:function(e,t){console.log("订阅取消同步文件夹通知",t),this.add("event.syncAssist.cancelSyncFolder",e,t)}},{key:"removeCancelSyncFolder",value:function(e){console.log("取消订阅取消同步文件夹通知",e),this.remove("event.syncAssist.cancelSyncFolder",e)}},{key:"registerYunboxFilterTypeChange",value:function(e,t){console.log("订阅筛选文件类型变化通知",t),this.add("event.yunbox.filterTasks",e,t)}},{key:"removeYunboxFilterTypeChange",value:function(e){console.log("取消订阅筛选文件类型变化通知",e),this.remove("event.yunbox.filterTasks",e)}},{key:"registerFilterTypeChange",value:function(e,t){console.log("订阅筛选文件类型变化通知",t),this.add("event.syncAssist.changeTransferPage",e,t)}},{k
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|M男之家

GMT+8, 2026-11-12 04:41 , Processed in 0.045921 second(s), 22 queries , Gzip On.

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表