@univerjs-pro/exchange-client 1.0.0-alpha.3 → 1.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +0 -4
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +0 -4
- package/lib/types/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/exchange.controller.d.ts +3 -5
- package/lib/types/facade/f-univer.d.ts +45 -16
- package/lib/types/index.d.ts +2 -1
- package/lib/types/services/exchange.service.d.ts +16 -2
- package/lib/types/services/request.service.d.ts +0 -2
- package/lib/types/services/utils/content-type.d.ts +1 -0
- package/lib/types/services/utils/snapshot.d.ts +6 -2
- package/lib/types/services/utils/tool.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -12
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1f4438=_0x7004;(function(_0x3f3528,_0x1a8b5b){const _0x1db93c=_0x7004,_0x500b5b=_0x3f3528();while(!![]){try{const _0x947c83=parseInt(_0x1db93c(0x2af))/0x1+-parseInt(_0x1db93c(0x2b8))/0x2+-parseInt(_0x1db93c(0x1f8))/0x3*(-parseInt(_0x1db93c(0x202))/0x4)+parseInt(_0x1db93c(0x1dd))/0x5+-parseInt(_0x1db93c(0x206))/0x6+-parseInt(_0x1db93c(0x283))/0x7*(-parseInt(_0x1db93c(0x194))/0x8)+parseInt(_0x1db93c(0x29c))/0x9*(-parseInt(_0x1db93c(0x24e))/0xa);if(_0x947c83===_0x1a8b5b)break;else _0x500b5b['push'](_0x500b5b['shift']());}catch(_0x5c3730){_0x500b5b['push'](_0x500b5b['shift']());}}}(_0x39bd,0xc1191));import{UniverLicensePlugin as _0x10fb1d}from'@univerjs-pro/license';import{DependentOn as _0x148dc9,Disposable as _0x2fe81a,IConfigService as _0x3e68f8,ILogService as _0x569823,IResourceLoaderService as _0x20ebf2,IUniverInstanceService as _0x4fcce2,Inject as _0x385976,Injector as _0x10f435,LocaleService as _0x544c4f,Plugin as _0x25589f,UniverInstanceType as _0x1205ec,createIdentifier as _0x3b572e,merge as _0x4e12da,registerDependencies as _0x3cefd4,resolveWithBasePath as _0x596ed2,toDisposable as _0x588f34,touchDependencies as _0x150101}from'@univerjs/core';function _0x39bd(){const _0x163236=['Warning','_getUnitJson','resources','_configService','_getUnitSlideJson','FileId','progress$','shift','registerComponent','&source=','exportServerUrl','post','univer-text-sm\x20univer-text-gray-500','exchange-client.uploadSuccessTip','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','_getSignURL','Error\x20fetching\x20file\x20from\x20URL:','Failed\x20to\x20transform\x20snapshot\x20to\x20string','getSnapshot','originalMeta','createUnit','title','_logService','_iconManager','revokeObjectURL','_taskInterrupted','saveSnapshot','_export','unsubscribe','appendChild','_buildHttpErrorMessage','UNIVER_BASE','2538571kRRxjh',':\x20HTTP\x20','_exportBySnapshot','_extractErrorDetail','_import','No\x20file\x20selected','_refresh','_list','exchange-client.unknownMistake','toString','onReady','origin','version','_totalUploadTaskCount','_localeService','set','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','subscribe','state$','downloadEndpointUrl','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','sheetBlocks','searchParams','_getUnitIDSlide','exchange-client.internalError','78147MHqqIK','has','application/vnd.ms-excel.sheet.macroEnabled.12','join','CONNECTOR_DATA_TOO_LARGE','workbook.json','_registerComponents','createElement','_uiPartsService','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','importServerUrl','change','HttpImport','univer-pro.exchange-client.upload-notification.service','univer-pl-2\x20univer-pr-4','headers','_getUnitName','stringify','symbol','1052057HlzCqS','_exchangeService','addEventListener','_getMaxPollingTime','exchange-client.uploadAgain','_showUploadMessage','values','_buildProtocolErrorMessage','outputType','2930538JsEprW','importFileToUnitIdByCurrentType','_importTaskId','univer-flex','name','Failed\x20to\x20get\x20file\x20from\x20url','_getUnitDocJson','getTask','body','click','importPPTXToSnapshot','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_univerInstanceService','getCurrentUnitOfType','interruptImportTask','Failed\x20to\x20get\x20text\x20from\x20url','exportPPTXBySnapshot','_showNetworkError','trim','saveChangeset','Error','Failed\x20to\x20get\x20jsonID\x20from\x20task','application/vnd.openxmlformats-officedocument.wordprocessingml.document','Content-Type','import\x20error','?size=','_signUrl','@univerjs-pro/exchange-client','_messageService','call','noreferrer','_uploadNotificationService','keys','button','_importFileToUnitId','disposeWithMe','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','xlsx','sheets','_showDownloadMessage','UNIVER_EXCHANGE_CLIENT_PLUGIN','_list$','INTERNAL_ERROR','success','upload\x20failed:\x20FileId\x20is\x20empty','files','decode','getConfig','importDOCXToSnapshot','uploadFileServerUrl','multiple','map','complete','catch','hide','UNRECOGNIZED','24VHDBVw','Method\x20not\x20implemented.','exchange-client.wait','UNIVER_BOARD','_getEnableServerSideComputing','split','object','UNIVER_SHEET','workbook','_httpService','updateState','_state$','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','Failed\x20to\x20get\x20fileID\x20from\x20task','createObjectURL','min','file.json','toPrimitive','Success','_clearProgress','span','function','pushLink','_addTotalCount','/universer-api/exchange/{type}/export','getUnitId','import','currentTarget','UNIVER_UNKNOWN','link','parse','application/json','univer-text-red-500','exportXLSXBySnapshot','_progress$','dispose','1.0.0-alpha.3','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_injector','block\x20is\x20required','_getMinSheetColumnCount','_getDownloadEndpointURL','_upload','decorate','clear','taskID','Error\x20getting\x20file\x20name\x20from\x20URL:','exchange-client.tooLarge','importXLSXToUnitId','_resourceLoaderService','exchange-client.uploadSuccess','_getDisableCellImageConversion','pathname','_getUnitID','_getMinSheetRowCount','number','docx','getUnitOnRev','Get\x20outputType\x20error','error','disableCellImageConversion','default','statusText','upload\x20request\x20failed','requestState$','importPPTXToUnitId','application/vnd.openxmlformats-officedocument.presentationml.presentation','_requestService','getSheetBlock','message','UNDEFINED','{fileID}','rev','5603130wmJbKQ','univer-mt-5\x20univer-flex\x20univer-flex-col','slide','_getUnitIDDoc','_getLinkByUnitId','maxTimeoutTime','next','input','isArray','application/vnd.openxmlformats-officedocument.spreadsheetml.template','blockID','data','add','toLowerCase','show','exchange-client.cancel','importXLSXToSnapshot','register','pending','options','_getImportURL','_getIgnoreTableExport','content-disposition','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','_blank','_visible$','div','1071MiscvF','string','exchange-client.downloading','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','application/octet-stream','exchange-client.networkError','status','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','UNIVER_SLIDE','get','13500cXBHLa','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_sheetBlockCache','getResourcesRequest','5805900ZcBUsP','.json','_uploadTaskNotDone','append','getDeserializedSheetBlock','export','clearTaskInterrupted','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getUnitNameByType','_doneUploadTaskCount','href','getTextFromUrl','getUnitType','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','univer-h-6\x20univer-text-2xl','&flate=','exchange-client.config','buffer','getLatestCsReqIdBySid','filter','sign\x20url\x20error','replace','type','updateSnapshot','UNIVER_DOC','Failed\x20to\x20get\x20unitID\x20from\x20task','exportDOCXByUnitId','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','list$','code','text','importFileToJson','Failed\x20to\x20parse\x20json','UNIVER_PROJECT','univer-flex\x20univer-h-5\x20univer-text-xl','exportXLSXByUnitId','getOwnPropertyDescriptor','{taskID}','pop','enableServerSideComputing','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','_getUploadFileURL','download','exportDOCXBySnapshot','done','snapshot','upload','_config','importFileToUnitId','forEach','removeChild','exchange-client.uploading','_getTaskURL','_requestState$','univer-text-blue-500','_refreshSlide','url','setTaskInterrupted','_getExportURL','resolve','blob','/universer-api/file/{fileID}/sign-url','accept','onStarting','encode','none','jsonID','visible$','defineProperty','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','_registerIcons','1430SoveCa','uploadFileToUnitId','signUrlServerUrl','Info','/universer-api/exchange/task/{taskID}','style','_emitProgress','asObservable','_completeProgress','pptx','fileID','copyFileMeta','pluginName','exportPPTXByUnitId','getFocusedUnit','file','_addDoneTask','floor','_importToJson','prototype','length'];_0x39bd=function(){return _0x163236;};return _0x39bd();}import{HTTPResponseError as _0xc679f,HTTPService as _0x4f83f3,UniverNetworkPlugin as _0x5376f4}from'@univerjs/network';import{ClockIcon as _0x2c35fc,CloseIcon as _0x417ce3,DirectExportIcon as _0x5b1712,DocsMultiIcon as _0x286c27,ErrorIcon as _0x19b7a,ShareRangeIcon as _0xef3059,SheetsMultiIcon as _0x3817ac,SlidesMultiIcon as _0x52c450,SuccessIcon as _0x1756d9}from'@univerjs/icons';import{BuiltInUIPart as _0x15dce3,IMessageService as _0x246a95,IUIPartsService as _0x47cd9f,IconManager as _0x188500,connectInjector as _0xba57be,useDependency as _0xd2c43d,useObservable as _0x23b6ff}from'@univerjs/ui';import{useEffect as _0x46a984,useState as _0x5dd614}from'react';import{BehaviorSubject as _0x405bce,Subject as _0x347e9d}from'rxjs';import{MessageType as _0x1367cd,Tooltip as _0x274258,clsx as _0x34026c,scrollbarClassName as _0x57a21b}from'@univerjs/design';import{jsx as _0x2ee3b3,jsxs as _0x5dac55}from'react/jsx-runtime';import{ErrorCode as _0x1e5b34,FileSource as _0x1cce2a}from'@univerjs/protocol';import{b64DecodeUnicode as _0x56c5d7,b64EncodeUnicode as _0x320974,getSheetBlocksFromSnapshot as _0x2f0d0b,textDecoder as _0x3cad68,textEncoder as _0x141b75,transformDocumentDataToSnapshot as _0x2f0018,transformSlideDataToSnapshot as _0x401634,transformSnapshotToDocumentData as _0x1ca21f,transformSnapshotToSlideData as _0x843469,transformSnapshotToWorkbookData as _0xebe4f1,transformWorkbookDataToSnapshot as _0x5781a5}from'@univerjs-pro/collaboration';import{deflateSync as _0x474f57}from'fflate';var Ie=_0x1f4438(0x2d3),Le=_0x1f4438(0x1b8);const T=_0x1f4438(0x217),E={};function D(_0x481c58){'@babel/helpers - typeof';const _0x404717=_0x1f4438;return D=typeof Symbol==_0x404717(0x1a9)&&typeof Symbol['iterator']==_0x404717(0x2ae)?function(_0x2d1eff){return typeof _0x2d1eff;}:function(_0x4461e2){const _0x1d57b8=_0x404717;return _0x4461e2&&typeof Symbol==_0x1d57b8(0x1a9)&&_0x4461e2['constructor']===Symbol&&_0x4461e2!==Symbol[_0x1d57b8(0x261)]?_0x1d57b8(0x2ae):typeof _0x4461e2;},D(_0x481c58);}function Re(_0xe63464,_0x211774){const _0x1e21ac=_0x1f4438;if(D(_0xe63464)!=_0x1e21ac(0x19a)||!_0xe63464)return _0xe63464;var _0x142c82=_0xe63464[Symbol[_0x1e21ac(0x1a5)]];if(_0x142c82!==void 0x0){var _0x2fd464=_0x142c82[_0x1e21ac(0x2d5)](_0xe63464,_0x211774||_0x1e21ac(0x1d1));if(D(_0x2fd464)!=_0x1e21ac(0x19a))return _0x2fd464;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x211774===_0x1e21ac(0x1f9)?String:Number)(_0xe63464);}function ze(_0x39d515){const _0xc9c9aa=_0x1f4438;var _0xfaf2b4=Re(_0x39d515,_0xc9c9aa(0x1f9));return D(_0xfaf2b4)==_0xc9c9aa(0x2ae)?_0xfaf2b4:_0xfaf2b4+'';}function O(_0x38646b,_0x4f16f1,_0x58f6b6){const _0x3d48df=_0x1f4438;return(_0x4f16f1=ze(_0x4f16f1))in _0x38646b?Object[_0x3d48df(0x24b)](_0x38646b,_0x4f16f1,{'value':_0x58f6b6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x38646b[_0x4f16f1]=_0x58f6b6,_0x38646b;}const k=_0x3b572e(_0x1f4438(0x2a9));var Be=class extends _0x2fe81a{constructor(){const _0x309082=_0x1f4438;super(),O(this,_0x309082(0x1f6),new _0x347e9d()),O(this,'_state$',new _0x347e9d()),O(this,_0x309082(0x185),new _0x347e9d()),O(this,'visible$',this[_0x309082(0x1f6)]['asObservable']()),O(this,_0x309082(0x295),this['_state$'][_0x309082(0x255)]()),O(this,_0x309082(0x223),this[_0x309082(0x185)]['asObservable']()),O(this,'_list',[]);}[_0x1f4438(0x1b7)](){const _0x40888e=_0x1f4438;super[_0x40888e(0x1b7)](),this[_0x40888e(0x1f6)][_0x40888e(0x190)](),this['_state$'][_0x40888e(0x190)](),this[_0x40888e(0x185)][_0x40888e(0x190)]();}['show'](){const _0x33bc3b=_0x1f4438;this['_visible$'][_0x33bc3b(0x1e3)](!0x0);}[_0x1f4438(0x192)](){const _0x4d39b7=_0x1f4438;this[_0x4d39b7(0x1f6)]['next'](!0x1);}[_0x1f4438(0x19e)](_0x128cf7){const _0x1a5277=_0x1f4438;this[_0x1a5277(0x19f)][_0x1a5277(0x1e3)](_0x128cf7);}[_0x1f4438(0x1aa)](_0x11b5cb){const _0x33dec6=_0x1f4438;this[_0x33dec6(0x28a)]['unshift'](_0x11b5cb),this[_0x33dec6(0x185)]['next'](this[_0x33dec6(0x28a)]);}};function Ve(_0x52ee0d){const _0x32777a=_0x1f4438;let {list:_0x4b3662}=_0x52ee0d;function _0x255f93(_0x27f0b4){switch(_0x27f0b4){case 0x1:return _0x2ee3b3(_0x286c27,{});case 0x2:return _0x2ee3b3(_0x3817ac,{});case 0x3:return _0x2ee3b3(_0x52c450,{});default:return null;}}return _0x2ee3b3('div',{'className':_0x34026c(_0x32777a(0x20d),_0x57a21b),'children':_0x2ee3b3('ul',{'className':_0x32777a(0x1f4),'children':_0x4b3662[_0x32777a(0x18f)]((_0x18ed06,_0x1f33df)=>_0x2ee3b3('li',{'children':_0x5dac55('a',{'className':_0x32777a(0x24c),'href':_0x18ed06[_0x32777a(0x1b1)],'target':_0x32777a(0x1f5),'rel':_0x32777a(0x2d6),'children':[_0x5dac55(_0x32777a(0x1a8),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x2ee3b3('span',{'className':_0x32777a(0x229),'children':_0x255f93(_0x18ed06[_0x32777a(0x21d)])}),_0x2ee3b3(_0x274258,{'showIfEllipsis':!0x0,'title':_0x18ed06[_0x32777a(0x2bc)],'asChild':!0x0,'children':_0x2ee3b3(_0x32777a(0x1a8),{'className':_0x32777a(0x2dc),'children':_0x18ed06[_0x32777a(0x2bc)]})})]}),_0x2ee3b3(_0x32777a(0x1a8),{'className':_0x32777a(0x1ff),'children':_0x2ee3b3(_0xef3059,{})})]})},_0x1f33df))})});}const A=_0x1f4438(0x2ce),j=_0x1f4438(0x2c3),M=_0x1f4438(0x29e),N=_0x1f4438(0x1e6),P=_0x1f4438(0x1d6),F={[_0x1205ec[_0x1f4438(0x1b0)]]:[''],[_0x1205ec[_0x1f4438(0x21f)]]:[A],[_0x1205ec[_0x1f4438(0x19b)]]:[j,M,N],[_0x1205ec[_0x1f4438(0x200)]]:[P],[_0x1205ec[_0x1f4438(0x282)]]:[''],[_0x1205ec[_0x1f4438(0x197)]]:[''],[_0x1205ec[_0x1f4438(0x228)]]:[''],[_0x1205ec['UNRECOGNIZED']]:['']},I={[A]:_0x1f4438(0x1cc),[j]:_0x1f4438(0x181),[M]:'xlsm',[N]:'xltx',[P]:_0x1f4438(0x257)};function He(_0x3292e7,_0x343237,_0x44be96){const _0x2a19a0=_0x1f4438;let _0x430d2f=document[_0x2a19a0(0x2a3)]('a');_0x430d2f[_0x2a19a0(0x211)]=_0x3292e7,_0x430d2f[_0x2a19a0(0x253)]['display']=_0x2a19a0(0x248),_0x430d2f[_0x2a19a0(0x231)]=_0x343237+'.'+_0x44be96,document[_0x2a19a0(0x2c0)][_0x2a19a0(0x280)](_0x430d2f),_0x430d2f['click'](),document[_0x2a19a0(0x2c0)][_0x2a19a0(0x239)](_0x430d2f);}function L(_0x29771b,_0x475379,_0x5d947f){const _0x5039a3=_0x1f4438;let _0x6d7a5b=URL[_0x5039a3(0x1a2)](_0x29771b);He(_0x6d7a5b,_0x475379,_0x5d947f),URL[_0x5039a3(0x27b)](_0x6d7a5b);}function Ue(_0x4f13f7){const _0x2befb3=_0x1f4438;let _0x4defd9=_0x4f13f7[_0x2befb3(0x2bc)][_0x2befb3(0x199)]('.')[_0x2befb3(0x22d)]();if(!_0x4defd9)return _0x1205ec[_0x2befb3(0x1b0)];let _0x549e41=We(),_0x2c3ace=_0x1205ec['UNIVER_UNKNOWN'];return _0x549e41['some'](_0x21f212=>Ge(_0x4defd9,_0x21f212)?(_0x2c3ace=_0x21f212,!0x0):!0x1),_0x2c3ace;}function We(){const _0x435912=_0x1f4438;return Object[_0x435912(0x2b5)](_0x1205ec)[_0x435912(0x21a)](_0x40dc4d=>typeof _0x40dc4d==_0x435912(0x1cb));}function Ge(_0x4bbc48,_0xcd64f){const _0x4d5f2d=_0x1f4438;var _0x4b98d5;return((_0x4b98d5=F[_0xcd64f])==null?[]:_0x4b98d5)[_0x4d5f2d(0x18f)](_0x533ba5=>(I[_0x533ba5]||'')['toLowerCase']())['includes'](_0x4bbc48[_0x4d5f2d(0x1ea)]());}function R(_0x4b4b65,_0x1ef1cc=!0x1){const _0x507e3e=_0x1f4438;let _0x268180=_0x4b4b65[_0x507e3e(0x18f)](_0x306cc8=>{var _0x49350c;return(_0x49350c=F[_0x306cc8])==null?[]:_0x49350c;})[_0x507e3e(0x29f)](',');return new Promise((_0x315a4b,_0x21a0fc)=>{const _0x10d3fa=_0x507e3e;let _0x4fe6b0=document[_0x10d3fa(0x2a3)](_0x10d3fa(0x1e4));_0x4fe6b0[_0x10d3fa(0x21d)]=_0x10d3fa(0x25d),_0x4fe6b0[_0x10d3fa(0x245)]=_0x268180,_0x4fe6b0[_0x10d3fa(0x18e)]=_0x1ef1cc,_0x4fe6b0[_0x10d3fa(0x2b1)](_0x10d3fa(0x2a7),_0x197129=>{const _0x2cb088=_0x10d3fa;let _0xcf5c20=_0x197129[_0x2cb088(0x1af)];if(!_0xcf5c20[_0x2cb088(0x189)]||_0xcf5c20[_0x2cb088(0x189)]['length']===0x0)throw _0x21a0fc(null),Error(_0x2cb088(0x288));_0x315a4b(_0xcf5c20[_0x2cb088(0x189)]);}),_0x4fe6b0[_0x10d3fa(0x2c1)]();});}async function z(_0x3eefdc,_0x1d020d){const _0x10afcf=_0x1f4438;try{var _0x2e9b8b,_0x3326e2,_0x1433c2;let _0x2b5d8c=await _0x1d020d[_0x10afcf(0x201)](_0x3eefdc,{'responseType':_0x10afcf(0x243)}),_0x290e25=_0x2b5d8c[_0x10afcf(0x2c0)],_0x230a76=(_0x2e9b8b=(_0x3326e2=_0x2b5d8c[_0x10afcf(0x2ab)][_0x10afcf(0x201)](_0x10afcf(0x2cf)))==null?void 0x0:_0x3326e2[_0x10afcf(0x29f)](',\x20'))==null?_0x10afcf(0x1fc):_0x2e9b8b,_0x3595aa='file.'+(I[_0x230a76]||'xlsx'),_0x3dc40e=(_0x1433c2=_0x2b5d8c['headers'][_0x10afcf(0x201)](_0x10afcf(0x1f3)))==null?void 0x0:_0x1433c2[_0x10afcf(0x29f)](',\x20');if(_0x3dc40e){let _0x1734a5=_0x3dc40e['match'](/filename=(.+)/);_0x1734a5&&_0x1734a5[0x1]&&(_0x3595aa=_0x1734a5[0x1]);}else _0x3595aa=Ke(_0x3eefdc)||_0x3595aa;return new File([_0x290e25],_0x3595aa,{'type':_0x230a76});}catch(_0x42bb23){console['error'](_0x10afcf(0x273),_0x42bb23);return;}}function Ke(_0x1d5ec6){const _0x30d25a=_0x1f4438;try{return new URL(_0x1d5ec6)[_0x30d25a(0x1c8)]['split']('/')[_0x30d25a(0x22d)]();}catch(_0x6be783){console['error'](_0x30d25a(0x1c2),_0x6be783);return;}}function qe(_0xea7a92){const _0x262547=_0x1f4438;let _0xecc74=new Blob([_0xea7a92[_0x262547(0x218)]],{'type':_0x262547(0x1b3)});return new File([_0xecc74],_0x262547(0x1a4));}function B(_0x7e37c3,_0x1a7e17){return _0x7e37c3['replace']('{type}',_0x1a7e17);}function Je(_0x4496db,_0x13f400){const _0xfedbea=_0x1f4438;return _0x4496db[_0xfedbea(0x21c)](_0xfedbea(0x22c),_0x13f400);}function Ye(_0x28169a,_0x457008){const _0x327d4c=_0x1f4438;return _0x28169a[_0x327d4c(0x21c)](_0x327d4c(0x1db),_0x457008);}function V(_0x3ae43e,_0x1a3fa3){return function(_0x40e205,_0x18292d){_0x1a3fa3(_0x40e205,_0x18292d,_0x3ae43e);};}function H(_0xf56c12,_0x3fa9f3,_0x5d3dff,_0x4a8283){const _0x2dc9ae=_0x1f4438;var _0x503c94=arguments['length'],_0x4ef4f8=_0x503c94<0x3?_0x3fa9f3:_0x4a8283===null?_0x4a8283=Object[_0x2dc9ae(0x22b)](_0x3fa9f3,_0x5d3dff):_0x4a8283,_0x281548;if(typeof Reflect==_0x2dc9ae(0x19a)&&typeof Reflect[_0x2dc9ae(0x1bf)]==_0x2dc9ae(0x1a9))_0x4ef4f8=Reflect[_0x2dc9ae(0x1bf)](_0xf56c12,_0x3fa9f3,_0x5d3dff,_0x4a8283);else{for(var _0x1e0464=_0xf56c12[_0x2dc9ae(0x262)]-0x1;_0x1e0464>=0x0;_0x1e0464--)(_0x281548=_0xf56c12[_0x1e0464])&&(_0x4ef4f8=(_0x503c94<0x3?_0x281548(_0x4ef4f8):_0x503c94>0x3?_0x281548(_0x3fa9f3,_0x5d3dff,_0x4ef4f8):_0x281548(_0x3fa9f3,_0x5d3dff))||_0x4ef4f8);}return _0x503c94>0x3&&_0x4ef4f8&&Object[_0x2dc9ae(0x24b)](_0x3fa9f3,_0x5d3dff,_0x4ef4f8),_0x4ef4f8;}const U=_0x3b572e('univer-pro.exchange-client.request.service');let W=class{constructor(_0x32ca0c,_0x5db2c3){const _0xa7c974=_0x1f4438;this['_configService']=_0x32ca0c,this[_0xa7c974(0x19d)]=_0x5db2c3,O(this,_0xa7c974(0x27c),new Set());}['dispose'](){}[_0x1f4438(0x240)](_0x8bb55b){const _0x90efea=_0x1f4438;this[_0x90efea(0x27c)][_0x90efea(0x1e9)](_0x8bb55b);}[_0x1f4438(0x20c)](){const _0x41353a=_0x1f4438;this[_0x41353a(0x27c)][_0x41353a(0x1c0)]();}async[_0x1f4438(0x235)](_0x29d4f1,_0x305071=0x0,_0xf1739d=!0x1){const _0x3bf764=_0x1f4438;if(typeof _0x29d4f1==_0x3bf764(0x1f9)){let _0xd17191=await z(_0x29d4f1,this[_0x3bf764(0x19d)]);if(!_0xd17191)throw Error(_0x3bf764(0x214));_0x29d4f1=_0xd17191;}_0x305071=_0x305071||_0x29d4f1['size'];let _0x2b2edb=new FormData();_0x2b2edb[_0x3bf764(0x209)]('file',_0x29d4f1);try{let _0x3e3a8a=this[_0x3bf764(0x230)]()+_0x3bf764(0x2d1)+_0x305071+_0x3bf764(0x26c)+_0x1cce2a[_0x3bf764(0x2a8)]+_0x3bf764(0x216)+_0xf1739d,_0xfab331={'body':_0x2b2edb},_0x533664=(await this[_0x3bf764(0x19d)][_0x3bf764(0x26e)](_0x3e3a8a,_0xfab331))[_0x3bf764(0x2c0)];if(_0x533664[_0x3bf764(0x1cf)]&&_0x533664[_0x3bf764(0x1cf)][_0x3bf764(0x224)]!==_0x1e5b34['OK'])throw Error(this['_buildProtocolErrorMessage'](_0x3bf764(0x1d3),_0x533664['error']));return _0x533664;}catch(_0x3be16a){throw _0x3be16a instanceof Error?_0x3be16a:Error(this[_0x3bf764(0x281)](_0x3bf764(0x1d3),_0x3be16a));}}async[_0x1f4438(0x1ae)](_0x2088fc){const _0x3c129d=_0x1f4438;let {fileID:_0xb2d6e2,type:_0x30e92c,outputType:_0x59e665,minSheetColumnCount:_0x14d72f,minSheetRowCount:_0x5006ec}=_0x2088fc;try{let _0x1c1e24=B(this[_0x3c129d(0x1f1)](),''+_0x30e92c),_0x1d3f0e={'body':{'fileID':_0xb2d6e2,'outputType':_0x59e665,'minSheetColumnCount':_0x14d72f,'minSheetRowCount':_0x5006ec}},_0x44c142=(await this['_httpService']['post'](_0x1c1e24,_0x1d3f0e))['body'];return _0x44c142['error']&&_0x44c142[_0x3c129d(0x1cf)][_0x3c129d(0x224)]!==_0x1e5b34['OK']?void 0x0:_0x44c142;}catch{return;}}async[_0x1f4438(0x20b)](_0xdfbc18){const _0x5d7b6a=_0x1f4438;let {unitID:_0x44defb,jsonID:_0x32a403,type:_0x28ea02,sscSwitch:_0x49e328,useImageUrl:_0x4ee796,ignoreTableExport:_0x3ad996}=_0xdfbc18;try{let _0x59f598=B(this[_0x5d7b6a(0x241)](),''+_0x28ea02),_0x4bfba3={'body':{'unitID':_0x44defb,'jsonID':_0x32a403,'type':_0x28ea02,'sscSwitch':_0x49e328,'useImageUrl':_0x4ee796,'ignoreTableExport':_0x3ad996}},_0x28211e=(await this[_0x5d7b6a(0x19d)][_0x5d7b6a(0x26e)](_0x59f598,_0x4bfba3))['body'];return _0x28211e[_0x5d7b6a(0x1cf)]&&_0x28211e[_0x5d7b6a(0x1cf)][_0x5d7b6a(0x224)]!==_0x1e5b34['OK']?void 0x0:_0x28211e;}catch{return;}}async[_0x1f4438(0x2bf)](_0x4f14cb){return new Promise((_0x24ea72,_0x34f663)=>{const _0x106040=_0x7004;try{let _0x6e2c0d=0x0,_0x50c4cd=Je(this[_0x106040(0x23b)](),''+_0x4f14cb),_0x3e7402=this['_getMaxPollingTime'](),_0x1b286f=async()=>{const _0x87db19=_0x106040;if(this[_0x87db19(0x27c)][_0x87db19(0x29d)](_0x4f14cb))return;let _0x4893fd=(await this[_0x87db19(0x19d)][_0x87db19(0x201)](_0x50c4cd))['body'];if(_0x4893fd[_0x87db19(0x1cf)]&&_0x4893fd['error'][_0x87db19(0x224)]===_0x1e5b34['OK']){if(_0x4893fd[_0x87db19(0x1fe)]===_0x87db19(0x233))_0x24ea72(_0x4893fd);else{if(_0x4893fd['status']===_0x87db19(0x1ef)){let _0x2613d6=0x3e8;if(_0x6e2c0d>=_0x3e7402){_0x34f663(_0x4893fd);return;}else _0x6e2c0d>=0x7530&&(_0x2613d6=0x1388);_0x6e2c0d+=_0x2613d6,setTimeout(_0x1b286f,_0x2613d6);}else _0x34f663(_0x4893fd);}}else _0x34f663(_0x4893fd);};_0x1b286f();}catch(_0x5b3dc9){_0x34f663(_0x5b3dc9 instanceof Error?_0x5b3dc9:Error(String(_0x5b3dc9)));}});}async['signUrl'](_0x42d2b9){const _0x4e0d59=_0x1f4438;try{let _0x37054a=Ye(this[_0x4e0d59(0x272)](),''+_0x42d2b9);return(await this[_0x4e0d59(0x19d)][_0x4e0d59(0x201)](_0x37054a))['body'];}catch{return;}}async[_0x1f4438(0x212)](_0x5990e0){const _0x53261c=_0x1f4438;try{return(await this[_0x53261c(0x19d)]['get'](_0x5990e0,{'responseType':_0x53261c(0x225)}))['body'];}catch{return;}}[_0x1f4438(0x2b6)](_0x36e6f9,_0x540faa){const _0x34d644=_0x1f4438;let _0x2dcaa2=this[_0x34d644(0x286)](_0x540faa);return _0x2dcaa2?_0x36e6f9+':\x20'+_0x2dcaa2:_0x36e6f9;}[_0x1f4438(0x281)](_0x4dc69b,_0x1ab2e0){const _0x5114ca=_0x1f4438;if(_0x1ab2e0 instanceof _0xc679f){let _0x190bf3=typeof _0x1ab2e0[_0x5114ca(0x1fe)]==_0x5114ca(0x1cb)?''+_0x1ab2e0[_0x5114ca(0x1fe)]+(_0x1ab2e0[_0x5114ca(0x1d2)]?'\x20'+_0x1ab2e0['statusText']:''):void 0x0,_0x40c0e0=this['_extractErrorDetail'](_0x1ab2e0['error']);return _0x190bf3&&_0x40c0e0?_0x4dc69b+':\x20HTTP\x20'+_0x190bf3+'\x20-\x20'+_0x40c0e0:_0x190bf3?_0x4dc69b+_0x5114ca(0x284)+_0x190bf3:_0x40c0e0?_0x4dc69b+':\x20'+_0x40c0e0:_0x4dc69b;}let _0x4b50d1=this[_0x5114ca(0x286)](_0x1ab2e0);return _0x4b50d1?_0x4dc69b+':\x20'+_0x4b50d1:_0x4dc69b;}[_0x1f4438(0x286)](_0x3673e5){const _0x1373a3=_0x1f4438;if(typeof _0x3673e5==_0x1373a3(0x1f9)){let _0x1f7e16=_0x3673e5['trim']();return _0x1f7e16[_0x1373a3(0x262)]>0x0?_0x1f7e16:void 0x0;}if(_0x3673e5 instanceof Error)return this[_0x1373a3(0x286)](_0x3673e5[_0x1373a3(0x1d9)]);if(!_0x3673e5||typeof _0x3673e5!='object'||Array[_0x1373a3(0x1e5)](_0x3673e5))return;let _0x48a327=_0x3673e5,_0x2f238a=this['_extractErrorDetail'](_0x48a327[_0x1373a3(0x1d9)]);if(_0x2f238a)return _0x2f238a;if(_0x48a327[_0x1373a3(0x1cf)]&&typeof _0x48a327[_0x1373a3(0x1cf)]==_0x1373a3(0x19a)&&!Array['isArray'](_0x48a327[_0x1373a3(0x1cf)])){let _0x385e87=this[_0x1373a3(0x286)](_0x48a327[_0x1373a3(0x1cf)]);if(_0x385e87)return _0x385e87;}}[_0x1f4438(0x230)](){const _0x442727=_0x1f4438;var _0x14de78;let _0x15a469=this[_0x442727(0x266)][_0x442727(0x18b)](T);return(_0x14de78=_0x15a469==null?void 0x0:_0x15a469[_0x442727(0x18d)])==null?'/universer-api/stream/file/upload':_0x14de78;}['_getImportURL'](){const _0x40f457=_0x1f4438;var _0x9cd196;let _0xcd5aa5=this['_configService']['getConfig'](T);return(_0x9cd196=_0xcd5aa5==null?void 0x0:_0xcd5aa5[_0x40f457(0x2a6)])==null?'/universer-api/exchange/{type}/import':_0x9cd196;}[_0x1f4438(0x241)](){const _0x11c14a=_0x1f4438;var _0x3c4759;let _0x2adb65=this['_configService'][_0x11c14a(0x18b)](T);return(_0x3c4759=_0x2adb65==null?void 0x0:_0x2adb65[_0x11c14a(0x26d)])==null?_0x11c14a(0x1ac):_0x3c4759;}[_0x1f4438(0x23b)](){const _0x3a8424=_0x1f4438;var _0x1310c7;let _0x45ceb2=this[_0x3a8424(0x266)][_0x3a8424(0x18b)](T);return(_0x1310c7=_0x45ceb2==null?void 0x0:_0x45ceb2['getTaskServerUrl'])==null?_0x3a8424(0x252):_0x1310c7;}[_0x1f4438(0x272)](){const _0x5e1caf=_0x1f4438;var _0x14633f;let _0x56567d=this[_0x5e1caf(0x266)]['getConfig'](T);return(_0x14633f=_0x56567d==null?void 0x0:_0x56567d[_0x5e1caf(0x250)])==null?_0x5e1caf(0x244):_0x14633f;}[_0x1f4438(0x2b2)](){const _0x12fe05=_0x1f4438;var _0x34b57a;let _0x5261bf=this['_configService'][_0x12fe05(0x18b)](T);return(_0x34b57a=_0x5261bf==null?void 0x0:_0x5261bf[_0x12fe05(0x1e2)])==null?0x1d4c0:_0x34b57a;}};W=H([V(0x0,_0x3e68f8),V(0x1,_0x385976(_0x4f83f3))],W);function Xe(_0x4adfb0){const _0x34a196=_0x1f4438;let _0x20c478=_0x4adfb0[_0x34a196(0x19c)];if(!_0x20c478)return null;let _0x429180={};_0x20c478[_0x34a196(0x182)]&&Object[_0x34a196(0x2d8)](_0x20c478['sheets'])[_0x34a196(0x238)](_0x2bf5f1=>{const _0x2998e8=_0x34a196;let _0x1520af=_0x20c478[_0x2998e8(0x182)][_0x2bf5f1];_0x429180[_0x2bf5f1]={..._0x1520af,'originalMeta':_0x320974(_0x3cad68[_0x2998e8(0x18a)](_0x1520af[_0x2998e8(0x276)]))};});let _0x3c1b01=_0x320974(_0x3cad68[_0x34a196(0x18a)](_0x20c478[_0x34a196(0x276)]));return{..._0x4adfb0,'workbook':{..._0x20c478,'originalMeta':_0x3c1b01,'sheets':_0x429180},'doc':{},'slide':void 0x0,'board':void 0x0};}function Ze(_0x3f9ddc){const _0x1f2171=_0x1f4438;let _0x111969=_0x3f9ddc['doc'];if(!_0x111969)return null;let _0x3a26b3=_0x320974(_0x3cad68[_0x1f2171(0x18a)](_0x111969[_0x1f2171(0x276)]));return{..._0x3f9ddc,'workbook':{},'doc':{..._0x111969,'originalMeta':_0x3a26b3},'slide':void 0x0,'board':void 0x0};}function Qe(_0x158690){const _0x1e864a=_0x1f4438;var _0x2f6b6f;let _0x2a1d9f=(_0x2f6b6f=_0x158690[_0x1e864a(0x1df)])==null?_0x158690['doc']:_0x2f6b6f;if(!_0x2a1d9f)return null;let _0x578d85=typeof _0x2a1d9f['originalMeta']==_0x1e864a(0x1f9)?_0x2a1d9f[_0x1e864a(0x276)]:_0x320974(_0x3cad68[_0x1e864a(0x18a)](_0x2a1d9f[_0x1e864a(0x276)]));return{..._0x158690,'workbook':{},'doc':{},'slide':{..._0x2a1d9f,'originalMeta':_0x578d85},'board':void 0x0};}function _0x7004(_0x341d19,_0x29fd20){_0x341d19=_0x341d19-0x181;const _0x39bd92=_0x39bd();let _0x7004e1=_0x39bd92[_0x341d19];return _0x7004e1;}function $e(_0x4ecffc){const _0x3b7455=_0x1f4438;let _0x1733c7={};return _0x4ecffc[_0x3b7455(0x238)](_0x1d8e92=>{const _0x5f4415=_0x3b7455;_0x1733c7[_0x1d8e92['id']]={..._0x1d8e92,'data':_0x320974(_0x3cad68[_0x5f4415(0x18a)](_0x1d8e92[_0x5f4415(0x1e8)]))};}),_0x1733c7;}async function G(_0x2d7ba1){const _0x83be11=_0x1f4438;var _0x25c52e;let _0x1d18da={'metadata':void 0x0},_0x335f2f=_0x2d7ba1['id'],_0x1ca0af=(_0x25c52e=_0x2d7ba1[_0x83be11(0x1dc)])==null?0x0:_0x25c52e,_0x1347d8=new K(),{snapshot:_0x3116da}=await _0x5781a5(_0x1d18da,_0x2d7ba1,_0x335f2f,_0x1ca0af,_0x1347d8),_0x3e9c8e=await _0x2f0d0b(_0x3116da,_0x1347d8),_0x5d1ad5=Xe(_0x3116da);if(!_0x5d1ad5)throw Error(_0x83be11(0x274));return{'snapshot':_0x5d1ad5,'sheetBlocks':$e(_0x3e9c8e)};}async function et(_0x340845){const _0x3f375c=_0x1f4438;var _0x39abe9;let _0x4548e1={'metadata':void 0x0},_0x35996e=_0x340845['id'],{snapshot:_0x453478}=await _0x2f0018(_0x4548e1,_0x340845,_0x35996e,(_0x39abe9=_0x340845[_0x3f375c(0x1dc)])==null?0x0:_0x39abe9,new K()),_0x47029c=Ze(_0x453478);if(!_0x47029c)throw Error(_0x3f375c(0x274));return{'snapshot':_0x47029c,'sheetBlocks':{}};}async function tt(_0x3259df){const _0x12be65=_0x1f4438;var _0x3e8521;let _0x138086=_0x3259df['id'],_0x10aece=(_0x3e8521=_0x3259df[_0x12be65(0x1dc)])==null?0x0:_0x3e8521,_0x1c78c0=new K(),{snapshot:_0x161b81}=await _0x401634(_0x3259df[_0x12be65(0x265)],_0x3259df,_0x138086,_0x10aece,_0x1c78c0),_0x565948=Qe(_0x161b81);if(!_0x565948)throw Error(_0x12be65(0x274));return{'snapshot':_0x565948,'sheetBlocks':{}};}async function nt(_0x3c908f){const _0x1dd10d=_0x1f4438;let _0x43d74f=_0x3c908f[_0x1dd10d(0x234)],_0x5bee77=_0x3c908f[_0x1dd10d(0x298)]||{};return await _0xebe4f1(_0x43d74f,Object[_0x1dd10d(0x2d8)](_0x5bee77)['map'](_0x5c65e7=>_0x5bee77[_0x5c65e7])[_0x1dd10d(0x18f)](_0x5038cf=>({..._0x5038cf,'data':_0x5038cf['data']?JSON[_0x1dd10d(0x1b2)](_0x56c5d7(_0x5038cf['data'])):void 0x0})));}function rt(_0x135d58){let _0x2bfe81=_0x135d58['snapshot'];return _0x1ca21f(_0x2bfe81);}function it(_0x5a2961){let _0x4b997a=_0x5a2961['snapshot'];return _0x843469(_0x4b997a);}var K=class{constructor(){const _0x3de720=_0x1f4438;O(this,_0x3de720(0x204),new Map());}[_0x1f4438(0x1cd)](){const _0x25aef4=_0x1f4438;return Promise[_0x25aef4(0x242)]({'snapshot':{'unitID':'','type':_0x1205ec['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x1d8)](_0x517001,_0x1fb58e){const _0x132810=_0x1f4438;let _0x38b90c=this[_0x132810(0x204)][_0x132810(0x201)](_0x1fb58e['blockID']);return Promise[_0x132810(0x242)]({'block':_0x38b90c,'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x20a)](_0x15e5e7,_0xc5761){const _0x10e6a9=_0x1f4438;let _0x3e0a14=this[_0x10e6a9(0x204)][_0x10e6a9(0x201)](_0xc5761[_0x10e6a9(0x1e7)]);return Promise[_0x10e6a9(0x242)]({'block':_0x3e0a14===void 0x0?void 0x0:{..._0x3e0a14,'data':JSON['parse'](_0x3cad68['decode'](_0x3e0a14[_0x10e6a9(0x1e8)]))},'error':{'code':_0x1e5b34['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x2d3f0a=_0x1f4438;return Promise[_0x2d3f0a(0x242)]({'changesets':[],'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x205)](){const _0x136fb3=_0x1f4438;return Promise[_0x136fb3(0x242)]({'resources':{},'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x27d)](){const _0x357d53=_0x1f4438;return Promise[_0x357d53(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x21e)](){const _0x4e36ec=_0x1f4438;return Promise[_0x4e36ec(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''}});}['saveSheetBlock'](_0xdd48c3,_0x54e7e3){const _0x6eef18=_0x1f4438;let {block:_0x54804b}=_0x54e7e3;return _0x54804b?(this['_sheetBlockCache'][_0x6eef18(0x292)](_0x54804b['id'],_0x54804b),Promise[_0x6eef18(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''},'blockID':_0x54804b['id']})):Promise['resolve']({'error':{'code':_0x1e5b34[_0x6eef18(0x1da)],'message':_0x6eef18(0x1bb)},'blockID':''});}[_0x1f4438(0x2cb)](){const _0x4a93d5=_0x1f4438;return Promise[_0x4a93d5(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''},'concurrent':[]});}[_0x1f4438(0x259)](){return Promise['resolve']({'error':void 0x0,'fileMetaId':''});}[_0x1f4438(0x219)](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};const q=_0x3b572e('univer-pro.exchange-client.exchange.service');let J=class extends _0x2fe81a{constructor(_0x1db8df,_0x3d109b,_0xc89b39){const _0x4135ce=_0x1f4438;super(),this[_0x4135ce(0x266)]=_0x1db8df,this[_0x4135ce(0x19d)]=_0x3d109b,this[_0x4135ce(0x1d7)]=_0xc89b39,O(this,'_importTaskId',null),O(this,_0x4135ce(0x23c),new _0x347e9d()),O(this,_0x4135ce(0x1d4),this['_requestState$']['asObservable']());}['dispose'](){const _0x4bb8c0=_0x1f4438;super[_0x4bb8c0(0x1b7)](),this[_0x4bb8c0(0x23c)][_0x4bb8c0(0x190)]();}async[_0x1f4438(0x18c)](_0x409e77){const _0x4ffe6d=_0x1f4438;let _0x44f3bc=await this[_0x4ffe6d(0x226)](_0x409e77,_0x1205ec[_0x4ffe6d(0x21f)]);if(!_0x44f3bc||!_0x44f3bc[_0x4ffe6d(0x234)])return;let _0x14e533=rt(_0x44f3bc);if(_0x14e533)return _0x14e533;}async[_0x1f4438(0x221)](_0x26f2f7){return this['_export'](_0x26f2f7,0x1,_0x1205ec['UNIVER_DOC']);}async[_0x1f4438(0x232)](_0x31a571){const _0x2cf7a8=_0x1f4438;let _0x501853=await et(_0x31a571);return this['_exportBySnapshot'](_0x501853,_0x1205ec[_0x2cf7a8(0x21f)]);}async['importPPTXToSnapshot'](_0x1d7da5){const _0x23ac5f=_0x1f4438;let _0x51df23=await this[_0x23ac5f(0x226)](_0x1d7da5,_0x1205ec[_0x23ac5f(0x200)]);if(!(!_0x51df23||!_0x51df23[_0x23ac5f(0x234)]))return it(_0x51df23);}async[_0x1f4438(0x25b)](_0x507cfa){const _0x2522bf=_0x1f4438;return this[_0x2522bf(0x27e)](_0x507cfa,0x1,_0x1205ec[_0x2522bf(0x200)]);}async[_0x1f4438(0x2c8)](_0x402379){const _0x5a69ce=_0x1f4438;let _0x1b8534=await tt(_0x402379);return this[_0x5a69ce(0x285)](_0x1b8534,_0x1205ec['UNIVER_SLIDE']);}async[_0x1f4438(0x1ed)](_0x219d01){const _0x30d915=_0x1f4438;let _0xd07c82=await this[_0x30d915(0x226)](_0x219d01,_0x1205ec[_0x30d915(0x19b)]);if(!_0xd07c82)return;let _0x4c4fe6=await nt(_0xd07c82);if(_0x4c4fe6)return _0x4c4fe6;}async[_0x1f4438(0x22a)](_0x1ad3a4){const _0x1e7ac8=_0x1f4438;return this['_export'](_0x1ad3a4,0x1,_0x1205ec[_0x1e7ac8(0x19b)]);}async['exportXLSXBySnapshot'](_0x3eac3c){const _0x45de71=_0x1f4438;let _0x167263=await G(_0x3eac3c);return this[_0x45de71(0x285)](_0x167263,_0x1205ec['UNIVER_SHEET']);}async['importFileToUnitId'](_0xae14fd,_0x5a7129){const _0x37c64f=_0x1f4438;var _0x4274e3,_0x147d2b;let _0x3a2b1d=await this[_0x37c64f(0x1be)](_0xae14fd);if(!_0x3a2b1d)return;let _0x133856=await this[_0x37c64f(0x287)](_0x3a2b1d,0x1,_0x5a7129);if(!_0x133856)return;this['_importTaskId']=_0x133856,this[_0x37c64f(0x1d7)][_0x37c64f(0x20c)]();let _0x266181=await this['_requestService'][_0x37c64f(0x2bf)](_0x133856)[_0x37c64f(0x191)](_0x5517da=>{const _0xcf4cdc=_0x37c64f;var _0x91149a;let _0x5475fd=_0x5517da instanceof Error?_0x5517da[_0xcf4cdc(0x1d9)]:(_0x91149a=_0x5517da['error'])==null?void 0x0:_0x91149a['message'];this['_requestState$']['next']({'error':{'code':_0x1e5b34[_0xcf4cdc(0x193)],'message':_0x5475fd||''},'state':0x3});});if(!_0x266181)return;let _0x36f781=(_0x4274e3=_0x266181['import'])==null?void 0x0:_0x4274e3['outputType'],_0x192983=((_0x147d2b=_0x266181[_0x37c64f(0x1ae)])==null?void 0x0:_0x147d2b['unitID'])||'';if(_0x36f781!==0x1){this[_0x37c64f(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x37c64f(0x193)],'message':_0x37c64f(0x1ce)},'state':0x3});return;}if(_0x192983[_0x37c64f(0x262)]===0x0){this[_0x37c64f(0x23c)][_0x37c64f(0x1e3)]({'error':{'code':_0x1e5b34[_0x37c64f(0x193)],'message':_0x37c64f(0x220)},'state':0x3});return;}return this['_requestState$'][_0x37c64f(0x1e3)]({'error':_0x266181['error'],'state':0x3}),_0x192983;}async[_0x1f4438(0x226)](_0x2bee13,_0x2d5412){const _0x210a2b=_0x1f4438;return this[_0x210a2b(0x260)](_0x2bee13,_0x2d5412);}async['importWorkbookDataToUnitId'](_0x38040e){const _0x1b731d=_0x1f4438;let _0x3a25b9=await G(_0x38040e),_0x3c3045=typeof _0x38040e['id']=='string'&&_0x38040e['id']['trim']()?_0x38040e['id']['trim']()+_0x1b731d(0x207):_0x1b731d(0x2a1),_0x183449=new File([JSON[_0x1b731d(0x2ad)](_0x3a25b9)],_0x3c3045,{'type':_0x1b731d(0x1b3)});return this[_0x1b731d(0x237)](_0x183449,_0x1205ec[_0x1b731d(0x19b)]);}[_0x1f4438(0x2c6)](){const _0x489c26=_0x1f4438;this[_0x489c26(0x2ba)]&&this[_0x489c26(0x1d7)]['setTaskInterrupted'](this[_0x489c26(0x2ba)]);}async[_0x1f4438(0x260)](_0x364fa1,_0x4dfd57){const _0x1dce40=_0x1f4438;var _0x3f5c5f,_0x516a46;let _0x4c4b7a=await this['_upload'](_0x364fa1);if(!_0x4c4b7a)return;let _0x1c0c16=await this[_0x1dce40(0x287)](_0x4c4b7a,0x2,_0x4dfd57);if(!_0x1c0c16)return;this[_0x1dce40(0x2ba)]=_0x1c0c16,this[_0x1dce40(0x1d7)][_0x1dce40(0x20c)]();let _0x5280e1=await this[_0x1dce40(0x1d7)][_0x1dce40(0x2bf)](_0x1c0c16)[_0x1dce40(0x191)](_0xec4395=>{const _0x1c8b0e=_0x1dce40;var _0x8dca03;let _0x3dca20=_0xec4395 instanceof Error?_0xec4395[_0x1c8b0e(0x1d9)]:(_0x8dca03=_0xec4395[_0x1c8b0e(0x1cf)])==null?void 0x0:_0x8dca03[_0x1c8b0e(0x1d9)];this[_0x1c8b0e(0x23c)][_0x1c8b0e(0x1e3)]({'error':{'code':_0x1e5b34[_0x1c8b0e(0x193)],'message':_0x3dca20||''},'state':0x3});});if(!_0x5280e1)return;let _0x18b5a4=(_0x3f5c5f=_0x5280e1['import'])==null?void 0x0:_0x3f5c5f[_0x1dce40(0x2b7)],_0x103675=((_0x516a46=_0x5280e1['import'])==null?void 0x0:_0x516a46[_0x1dce40(0x249)])||'';if(_0x18b5a4!==0x2){this['_requestState$'][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34[_0x1dce40(0x193)],'message':_0x1dce40(0x1ce)},'state':0x3});return;}if(_0x103675[_0x1dce40(0x262)]===0x0){this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34[_0x1dce40(0x193)],'message':_0x1dce40(0x2cd)},'state':0x3});return;}this[_0x1dce40(0x23c)]['next']({'error':_0x5280e1[_0x1dce40(0x1cf)],'state':0x3});let _0x10bf06=await this[_0x1dce40(0x2d2)](_0x103675);if(!_0x10bf06)return;let _0x19c9b3=await this[_0x1dce40(0x1d7)]['getTextFromUrl'](_0x10bf06);if(!_0x19c9b3){this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34[_0x1dce40(0x193)],'message':_0x1dce40(0x2c7)},'state':0x5});return;}try{let _0x20791f=JSON[_0x1dce40(0x1b2)](_0x19c9b3);return this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34['OK'],'message':_0x1dce40(0x187)},'state':0x5}),_0x20791f;}catch{this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34['UNRECOGNIZED'],'message':_0x1dce40(0x227)},'state':0x5});}}async[_0x1f4438(0x285)](_0x5a7615,_0x454bed){const _0x475467=_0x1f4438;let _0x24dc13=JSON['stringify'](_0x5a7615),_0x196d5d=_0x141b75[_0x475467(0x247)](_0x24dc13),_0x53d330=_0x474f57(_0x196d5d),_0x2211f6=_0x196d5d[_0x475467(0x262)],_0x14aea5=qe(_0x53d330),_0x2a023d=await this[_0x475467(0x1be)](_0x14aea5,_0x2211f6,!0x0);if(_0x2a023d)return this[_0x475467(0x27e)](_0x2a023d,0x2,_0x454bed);}async[_0x1f4438(0x27e)](_0x49be88,_0x15bdc9,_0x30b531){const _0x285f23=_0x1f4438;var _0x546518;let _0x9b0597=await this[_0x285f23(0x1d7)][_0x285f23(0x20b)]({'unitID':_0x15bdc9===0x1?_0x49be88:'','jsonID':_0x15bdc9===0x2?_0x49be88:'','type':_0x30b531,'sscSwitch':this[_0x285f23(0x198)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x285f23(0x1f2)]()});if(!_0x9b0597){this[_0x285f23(0x23c)][_0x285f23(0x1e3)]({'error':{'code':_0x1e5b34[_0x285f23(0x193)],'message':'export\x20error'},'state':0x2});return;}if(this[_0x285f23(0x23c)]['next']({'error':_0x9b0597[_0x285f23(0x1cf)],'state':0x2}),_0x9b0597[_0x285f23(0x1cf)]&&_0x9b0597['error'][_0x285f23(0x224)]!==_0x1e5b34['OK'])return;let _0x117f79=_0x9b0597[_0x285f23(0x1c1)],_0x14265c=await this[_0x285f23(0x1d7)][_0x285f23(0x2bf)](_0x117f79)['catch'](_0x47e36c=>{const _0x40c301=_0x285f23;var _0x26e698;let _0x34001f=_0x47e36c instanceof Error?_0x47e36c[_0x40c301(0x1d9)]:(_0x26e698=_0x47e36c[_0x40c301(0x1cf)])==null?void 0x0:_0x26e698['message'];this[_0x40c301(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x40c301(0x193)],'message':_0x34001f||''},'state':0x3});});if(!_0x14265c)return;let _0x2a8ba9=((_0x546518=_0x14265c[_0x285f23(0x20b)])==null?void 0x0:_0x546518[_0x285f23(0x258)])||'';if(_0x2a8ba9[_0x285f23(0x262)]===0x0){this[_0x285f23(0x23c)][_0x285f23(0x1e3)]({'error':{'code':_0x1e5b34['UNRECOGNIZED'],'message':_0x285f23(0x1a1)},'state':0x3});return;}this[_0x285f23(0x23c)][_0x285f23(0x1e3)]({'error':_0x14265c[_0x285f23(0x1cf)],'state':0x3});let _0x44b031=await this[_0x285f23(0x2d2)](_0x2a8ba9);if(!_0x44b031)return;let _0x11e2d2=await z(_0x44b031,this[_0x285f23(0x19d)]);if(!_0x11e2d2){this[_0x285f23(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x285f23(0x193)],'message':_0x285f23(0x2bd)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':_0x1e5b34['OK'],'message':_0x285f23(0x187)},'state':0x6}),_0x11e2d2;}async['_upload'](_0x6a9e4b,_0x211f56,_0x5a5e7d){const _0x310bba=_0x1f4438;let _0xd842ca;try{_0xd842ca=await this[_0x310bba(0x1d7)][_0x310bba(0x235)](_0x6a9e4b,_0x211f56,_0x5a5e7d);}catch(_0x179da8){let _0x4c6b70=_0x179da8 instanceof Error?_0x179da8[_0x310bba(0x1d9)]:String(_0x179da8);this['_requestState$'][_0x310bba(0x1e3)]({'error':{'code':_0x1e5b34[_0x310bba(0x193)],'message':_0x4c6b70},'state':0x0});return;}if(!_0xd842ca||typeof _0xd842ca[_0x310bba(0x268)]!=_0x310bba(0x1f9)){this[_0x310bba(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x310bba(0x193)],'message':_0x310bba(0x20e)},'state':0x0});return;}let _0x3f34b6=_0xd842ca[_0x310bba(0x268)];if(_0x3f34b6[_0x310bba(0x262)]===0x0){this[_0x310bba(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x310bba(0x193)],'message':_0x310bba(0x188)},'state':0x0});return;}return this[_0x310bba(0x23c)][_0x310bba(0x1e3)]({'error':{'code':_0x1e5b34['OK'],'message':'success'},'state':0x0}),_0x3f34b6;}async[_0x1f4438(0x287)](_0xc420cb,_0x451828,_0x24637f){const _0x568122=_0x1f4438;let _0x2fcc3a={'fileID':_0xc420cb,'type':_0x24637f,'outputType':_0x451828,'fileUrl':'','minSheetRowCount':this[_0x568122(0x1ca)](),'minSheetColumnCount':this[_0x568122(0x1bc)]()},_0x162537=await this[_0x568122(0x1d7)][_0x568122(0x1ae)](_0x2fcc3a);if(!_0x162537){this['_requestState$'][_0x568122(0x1e3)]({'error':{'code':_0x1e5b34[_0x568122(0x193)],'message':_0x568122(0x2d0)},'state':0x1});return;}if(_0x162537[_0x568122(0x1cf)]&&_0x162537['error']['code']!==_0x1e5b34['OK']){this[_0x568122(0x23c)][_0x568122(0x1e3)]({'error':_0x162537[_0x568122(0x1cf)],'state':0x1});return;}let _0x1b308b=_0x162537['taskID'];if(_0x1b308b[_0x568122(0x262)]===0x0){this[_0x568122(0x23c)]['next']({'error':{'code':_0x1e5b34['UNRECOGNIZED'],'message':_0x568122(0x222)},'state':0x1});return;}return this[_0x568122(0x23c)]['next']({'error':_0x162537[_0x568122(0x1cf)],'state':0x1}),_0x1b308b;}async[_0x1f4438(0x2d2)](_0x4863ee){const _0x106b13=_0x1f4438;let _0x59d662=await this['_requestService']['signUrl'](_0x4863ee);if(!_0x59d662){this['_requestState$']['next']({'error':{'code':_0x1e5b34[_0x106b13(0x193)],'message':_0x106b13(0x21b)},'state':0x4});return;}if(_0x59d662[_0x106b13(0x1cf)]&&_0x59d662['error'][_0x106b13(0x224)]!==_0x1e5b34['OK']){this['_requestState$'][_0x106b13(0x1e3)]({'error':_0x59d662[_0x106b13(0x1cf)],'state':0x4});return;}let _0x258c3c=_0x596ed2(_0x59d662[_0x106b13(0x23f)],this[_0x106b13(0x1bd)]());if(_0x258c3c[_0x106b13(0x262)]===0x0){this[_0x106b13(0x23c)][_0x106b13(0x1e3)]({'error':{'code':_0x1e5b34[_0x106b13(0x193)],'message':_0x106b13(0x21b)},'state':0x4});return;}return this[_0x106b13(0x23c)][_0x106b13(0x1e3)]({'error':_0x59d662[_0x106b13(0x1cf)],'state':0x4}),_0x258c3c;}[_0x1f4438(0x1bd)](){const _0x1c6a35=_0x1f4438;var _0x25cc6d;let _0x1c3668=this[_0x1c6a35(0x266)][_0x1c6a35(0x18b)](T);return(_0x25cc6d=_0x1c3668==null?void 0x0:_0x1c3668[_0x1c6a35(0x296)])==null?location[_0x1c6a35(0x28e)]:_0x25cc6d;}[_0x1f4438(0x1ca)](){const _0x19de6f=_0x1f4438;var _0x368ce2,_0x22046b;let _0x25a219=this[_0x19de6f(0x266)][_0x19de6f(0x18b)](T);return(_0x368ce2=_0x25a219==null||(_0x22046b=_0x25a219[_0x19de6f(0x1f0)])==null?void 0x0:_0x22046b['minSheetRowCount'])==null?0x1:_0x368ce2;}['_getMinSheetColumnCount'](){const _0x32f2a3=_0x1f4438;var _0x102060,_0x590cfd;let _0x139846=this['_configService'][_0x32f2a3(0x18b)](T);return(_0x102060=_0x139846==null||(_0x590cfd=_0x139846['options'])==null?void 0x0:_0x590cfd['minSheetColumnCount'])==null?0x1:_0x102060;}['_getEnableServerSideComputing'](){const _0x2a8d06=_0x1f4438;var _0xc1f7ee,_0x352690;let _0x1cdd47=this[_0x2a8d06(0x266)][_0x2a8d06(0x18b)](T);return(_0xc1f7ee=_0x1cdd47==null||(_0x352690=_0x1cdd47[_0x2a8d06(0x1f0)])==null?void 0x0:_0x352690[_0x2a8d06(0x22e)])==null?!0x1:_0xc1f7ee;}[_0x1f4438(0x1c7)](){const _0x18f14a=_0x1f4438;var _0x24e0aa,_0xd312e7;let _0xf65760=this[_0x18f14a(0x266)][_0x18f14a(0x18b)](T);return(_0x24e0aa=_0xf65760==null||(_0xd312e7=_0xf65760[_0x18f14a(0x1f0)])==null?void 0x0:_0xd312e7[_0x18f14a(0x1d0)])==null?!0x0:_0x24e0aa;}[_0x1f4438(0x1f2)](){const _0x5e0d7b=_0x1f4438;var _0x31fa98,_0xe32896;let _0x513f3a=this[_0x5e0d7b(0x266)][_0x5e0d7b(0x18b)](T);return(_0x31fa98=_0x513f3a==null||(_0xe32896=_0x513f3a[_0x5e0d7b(0x1f0)])==null?void 0x0:_0xe32896['ignoreTableExport'])==null?!0x1:_0x31fa98;}};J=H([V(0x0,_0x3e68f8),V(0x1,_0x385976(_0x4f83f3)),V(0x2,_0x385976(U))],J);const at={'done':0x0,'count':0x0},Y=_0x3b572e('univer-pro.exchange-client.operate.service');let X=class extends _0x2fe81a{constructor(_0x39e0af,_0x1494c6,_0x44e6cd,_0x227f2b,_0x550285,_0x4ef07a,_0x5c5a67){const _0x299421=_0x1f4438;super(),this['_univerInstanceService']=_0x39e0af,this[_0x299421(0x2d4)]=_0x1494c6,this[_0x299421(0x291)]=_0x44e6cd,this[_0x299421(0x2b0)]=_0x227f2b,this['_uploadNotificationService']=_0x550285,this[_0x299421(0x279)]=_0x4ef07a,this[_0x299421(0x1c5)]=_0x5c5a67,O(this,_0x299421(0x1b6),new _0x405bce(at)),O(this,_0x299421(0x269),this[_0x299421(0x1b6)][_0x299421(0x255)]()),O(this,_0x299421(0x290),0x0),O(this,'_doneUploadTaskCount',0x0),this[_0x299421(0x2db)](_0x588f34(this[_0x299421(0x2b0)][_0x299421(0x1d4)][_0x299421(0x294)](_0x4c0aba=>{const _0x4eed9c=_0x299421;var _0x1f4122;((_0x1f4122=_0x4c0aba[_0x4eed9c(0x1cf)])==null?void 0x0:_0x1f4122[_0x4eed9c(0x224)])===_0x1e5b34['OK']?this['_addDoneTask'](0x1):this[_0x4eed9c(0x2c9)](_0x4c0aba[_0x4eed9c(0x1cf)]);})));}['interrupt'](){const _0x4bd161=_0x1f4438;this[_0x4bd161(0x1a7)](),this[_0x4bd161(0x2d7)][_0x4bd161(0x19e)](0x2),this[_0x4bd161(0x2b0)][_0x4bd161(0x2c6)]();}async[_0x1f4438(0x24f)](_0x489f95){throw Error('Method\x20not\x20implemented.');}async[_0x1f4438(0x2b9)](){const _0x4c1b53=_0x1f4438;let _0x1142fa=this['_univerInstanceService'][_0x4c1b53(0x25c)]();switch(_0x1142fa?this[_0x4c1b53(0x2c4)][_0x4c1b53(0x213)](_0x1142fa[_0x4c1b53(0x1ad)]()):_0x1205ec['UNRECOGNIZED']){case _0x1205ec[_0x4c1b53(0x200)]:return this[_0x4c1b53(0x1d5)]();case _0x1205ec[_0x4c1b53(0x21f)]:return this['importDOCXToUnitId']();case _0x1205ec[_0x4c1b53(0x19b)]:default:return this[_0x4c1b53(0x1c4)]();}}async['importDOCXToUnitId'](){const _0x3f4fd0=_0x1f4438;let _0x152778=await R([_0x1205ec[_0x3f4fd0(0x21f)]]);if(_0x152778&&!this['_fileTypeError'](_0x152778,_0x1205ec[_0x3f4fd0(0x21f)]))return this[_0x3f4fd0(0x2da)](_0x152778[0x0],_0x1205ec[_0x3f4fd0(0x21f)]);}[_0x1f4438(0x18c)](){const _0x47d50d=_0x1f4438;throw Error(_0x47d50d(0x195));}async[_0x1f4438(0x221)](_0x48d01b,_0x1ca527,_0x334669){const _0x11f444=_0x1f4438;this[_0x11f444(0x183)](_0x1367cd[_0x11f444(0x251)]);let _0x4727f2=await this['_exchangeService'][_0x11f444(0x221)](_0x48d01b||this[_0x11f444(0x1e0)]());_0x4727f2&&(L(_0x4727f2,_0x1ca527||this[_0x11f444(0x2ac)](_0x4727f2),_0x11f444(0x1cc)),this['_showDownloadMessage'](_0x1367cd[_0x11f444(0x1a6)]));}async[_0x1f4438(0x232)](){const _0x30bf98=_0x1f4438;this[_0x30bf98(0x183)](_0x1367cd['Info']);let _0x237835=await this[_0x30bf98(0x2be)](),_0x4a79ba=await this[_0x30bf98(0x2b0)][_0x30bf98(0x232)](_0x237835);_0x4a79ba&&(L(_0x4a79ba,this[_0x30bf98(0x2ac)](_0x4a79ba),_0x30bf98(0x1cc)),this[_0x30bf98(0x183)](_0x1367cd[_0x30bf98(0x1a6)]));}async[_0x1f4438(0x1d5)](){const _0x4ad04a=_0x1f4438;if(this[_0x4ad04a(0x208)]()){this['_messageService'][_0x4ad04a(0x1eb)]({'type':_0x1367cd[_0x4ad04a(0x263)],'content':this['_localeService']['t'](_0x4ad04a(0x23a))});return;}let _0x2bdaba=await R([_0x1205ec[_0x4ad04a(0x200)]]);if(_0x2bdaba&&!this['_fileTypeError'](_0x2bdaba,_0x1205ec['UNIVER_SLIDE']))return this[_0x4ad04a(0x2da)](_0x2bdaba[0x0],_0x1205ec[_0x4ad04a(0x200)]);}async[_0x1f4438(0x2c2)](){const _0x17c9e3=_0x1f4438;if(this[_0x17c9e3(0x208)]()){this['_messageService'][_0x17c9e3(0x1eb)]({'type':_0x1367cd['Warning'],'content':this[_0x17c9e3(0x291)]['t']('exchange-client.uploading')});return;}let _0x11d949=await R([_0x1205ec[_0x17c9e3(0x200)]]);if(!_0x11d949)return;this['_showUploadMessage'](_0x1367cd[_0x17c9e3(0x251)]);let _0x5d8e71=await this[_0x17c9e3(0x2b0)][_0x17c9e3(0x2c2)](_0x11d949[0x0]);_0x5d8e71&&(this[_0x17c9e3(0x23e)](_0x5d8e71),this[_0x17c9e3(0x2b4)](_0x1367cd['Success']));}async[_0x1f4438(0x25b)](_0x1f9940,_0x5b0cb4,_0x52f57c){const _0x70f433=_0x1f4438;this[_0x70f433(0x183)](_0x1367cd[_0x70f433(0x251)]);let _0x5368fc=await this[_0x70f433(0x2b0)]['exportPPTXByUnitId'](_0x1f9940||this['_getUnitIDSlide']());_0x5368fc&&(L(_0x5368fc,_0x5b0cb4||this[_0x70f433(0x20f)](_0x5368fc,_0x52f57c==null?_0x1205ec[_0x70f433(0x200)]:_0x52f57c),_0x70f433(0x257)),this[_0x70f433(0x183)](_0x1367cd[_0x70f433(0x1a6)]));}async[_0x1f4438(0x2c8)](){const _0x3075dc=_0x1f4438;this[_0x3075dc(0x183)](_0x1367cd[_0x3075dc(0x251)]);let _0x3f29b0=await this[_0x3075dc(0x267)](),_0x5db204=await this[_0x3075dc(0x2b0)]['exportPPTXBySnapshot'](_0x3f29b0);_0x5db204&&(L(_0x5db204,this[_0x3075dc(0x20f)](_0x5db204,_0x1205ec[_0x3075dc(0x200)]),_0x3075dc(0x257)),this[_0x3075dc(0x183)](_0x1367cd[_0x3075dc(0x1a6)]));}async[_0x1f4438(0x1c4)](){const _0x18c0a9=_0x1f4438;if(this[_0x18c0a9(0x208)]()){this[_0x18c0a9(0x2d4)]['show']({'type':_0x1367cd[_0x18c0a9(0x263)],'content':this[_0x18c0a9(0x291)]['t'](_0x18c0a9(0x23a))});return;}let _0x430736=await R([_0x1205ec[_0x18c0a9(0x19b)]]);if(_0x430736&&!this['_fileTypeError'](_0x430736,_0x1205ec[_0x18c0a9(0x19b)]))return this[_0x18c0a9(0x2da)](_0x430736[0x0],_0x1205ec['UNIVER_SHEET']);}async[_0x1f4438(0x1ed)](){const _0x393118=_0x1f4438;if(this[_0x393118(0x208)]()){this[_0x393118(0x2d4)][_0x393118(0x1eb)]({'type':_0x1367cd[_0x393118(0x263)],'content':this['_localeService']['t'](_0x393118(0x23a))});return;}let _0x580b46=await R([_0x1205ec[_0x393118(0x19b)]]);if(!_0x580b46)return;this[_0x393118(0x2b4)](_0x1367cd[_0x393118(0x251)]);let _0x1a6381=await this[_0x393118(0x2b0)][_0x393118(0x1ed)](_0x580b46[0x0]);_0x1a6381&&(this[_0x393118(0x289)](_0x1a6381),this[_0x393118(0x2b4)](_0x1367cd[_0x393118(0x1a6)]));}async[_0x1f4438(0x22a)](_0x28857d,_0x484bba,_0xd0d05e){const _0x3ba47e=_0x1f4438;this[_0x3ba47e(0x183)](_0x1367cd[_0x3ba47e(0x251)]);let _0x1cc639=await this[_0x3ba47e(0x2b0)][_0x3ba47e(0x22a)](_0x28857d||this[_0x3ba47e(0x1c9)]());_0x1cc639&&(L(_0x1cc639,_0x484bba||this['_getUnitName'](_0x1cc639),_0x3ba47e(0x181)),this[_0x3ba47e(0x183)](_0x1367cd[_0x3ba47e(0x1a6)]));}async[_0x1f4438(0x1b5)](){const _0x5b991c=_0x1f4438;this[_0x5b991c(0x183)](_0x1367cd[_0x5b991c(0x251)]);let _0x5ae6a9=await this['_getUnitJson'](),_0x57ec0c=await this['_exchangeService'][_0x5b991c(0x1b5)](_0x5ae6a9);_0x57ec0c&&(L(_0x57ec0c,this[_0x5b991c(0x2ac)](_0x57ec0c),_0x5b991c(0x181)),this[_0x5b991c(0x183)](_0x1367cd[_0x5b991c(0x1a6)]));}['registerLink'](_0xa757a6){const _0x2bdf27=_0x1f4438;this[_0x2bdf27(0x1e1)]=_0xa757a6;}async[_0x1f4438(0x2da)](_0x379f59,_0x109f27){const _0xf36b34=_0x1f4438;this[_0xf36b34(0x2d7)][_0xf36b34(0x1eb)](),this[_0xf36b34(0x2d7)][_0xf36b34(0x19e)](0x0),this[_0xf36b34(0x1ab)](0x4),this['_addDoneTask'](0x1);let _0x23aef7=await this['_exchangeService'][_0xf36b34(0x237)](_0x379f59,_0x109f27);if(!_0x23aef7){this[_0xf36b34(0x1a7)](),this[_0xf36b34(0x2d7)][_0xf36b34(0x19e)](0x2);return;}let _0x51acc5={'link':this['_getLinkByUnitId'](_0x23aef7,_0x109f27),'name':_0x379f59['name'],'type':_0x109f27};return this[_0xf36b34(0x2d7)][_0xf36b34(0x1aa)](_0x51acc5),this[_0xf36b34(0x256)](),this[_0xf36b34(0x2d7)][_0xf36b34(0x19e)](0x1),_0x23aef7;}[_0x1f4438(0x1c9)](){const _0x18d54e=_0x1f4438;return this[_0x18d54e(0x2c4)][_0x18d54e(0x2c5)](_0x1205ec['UNIVER_SHEET'])[_0x18d54e(0x1ad)]();}[_0x1f4438(0x1e0)](){const _0xbcd076=_0x1f4438;return this['_univerInstanceService'][_0xbcd076(0x2c5)](_0x1205ec[_0xbcd076(0x21f)])['getUnitId']();}[_0x1f4438(0x29a)](){const _0xd82903=_0x1f4438;return this['_univerInstanceService'][_0xd82903(0x2c5)](_0x1205ec[_0xd82903(0x200)])[_0xd82903(0x1ad)]();}[_0x1f4438(0x2ac)](_0x1cf403){return this['_getUnitNameByType'](_0x1cf403,_0x1205ec['UNIVER_SHEET']);}[_0x1f4438(0x20f)](_0x61c11b,_0x173b06){const _0x2ed269=_0x1f4438;var _0x432fa5;let _0x57014d=(_0x432fa5=this[_0x2ed269(0x2c4)][_0x2ed269(0x2c5)](_0x173b06))==null?void 0x0:_0x432fa5[_0x2ed269(0x275)](),_0x2212fd=_0x57014d==null?void 0x0:_0x57014d[_0x2ed269(0x2bc)];return typeof _0x2212fd=='string'&&_0x2212fd[_0x2ed269(0x2ca)]()?_0x2212fd:_0x61c11b[_0x2ed269(0x2bc)][_0x2ed269(0x199)]('.')[_0x2ed269(0x26a)]()||document[_0x2ed269(0x278)];}async[_0x1f4438(0x264)](){const _0x4d7a9b=_0x1f4438;return this[_0x4d7a9b(0x2c4)][_0x4d7a9b(0x2c5)](_0x1205ec[_0x4d7a9b(0x19b)])[_0x4d7a9b(0x275)]();}async[_0x1f4438(0x2be)](){const _0x3108d6=_0x1f4438;return this[_0x3108d6(0x2c4)][_0x3108d6(0x2c5)](_0x1205ec[_0x3108d6(0x21f)])[_0x3108d6(0x275)]();}async[_0x1f4438(0x267)](){const _0x157836=_0x1f4438;let _0x3de732=this[_0x157836(0x2c4)]['getCurrentUnitOfType'](_0x1205ec[_0x157836(0x200)]),_0x33d949=this[_0x157836(0x1c5)]['saveUnit'](_0x3de732['getUnitId']());return _0x33d949==null?_0x3de732[_0x157836(0x275)]():_0x33d949;}[_0x1f4438(0x1e1)](_0x39d919,_0xdbbd5c){const _0x427da8=_0x1f4438;let _0x1f8662=new URL(window['location'][_0x427da8(0x211)]);return _0x1f8662[_0x427da8(0x299)][_0x427da8(0x292)]('unit',_0x39d919),_0x1f8662[_0x427da8(0x299)][_0x427da8(0x292)](_0x427da8(0x21d),''+_0xdbbd5c),_0x1f8662[_0x427da8(0x28c)]();}[_0x1f4438(0x289)](_0xa9ae9){const _0x51c4d3=_0x1f4438;let _0x2a267c=this[_0x51c4d3(0x2c4)][_0x51c4d3(0x2c5)](_0x1205ec[_0x51c4d3(0x19b)])['getUnitId']();this['_univerInstanceService']['disposeUnit'](_0x2a267c),this[_0x51c4d3(0x2c4)][_0x51c4d3(0x277)](_0x1205ec[_0x51c4d3(0x19b)],_0xa9ae9);}[_0x1f4438(0x23e)](_0x31a2ec){const _0x49ac54=_0x1f4438;let _0x5f4281=this[_0x49ac54(0x2c4)][_0x49ac54(0x2c5)](_0x1205ec['UNIVER_SLIDE'])[_0x49ac54(0x1ad)]();this[_0x49ac54(0x2c4)]['disposeUnit'](_0x5f4281),this[_0x49ac54(0x2c4)]['createUnit'](_0x1205ec[_0x49ac54(0x200)],_0x31a2ec);}[_0x1f4438(0x2c9)](_0x1c5d50){const _0x1db6ca=_0x1f4438;if(_0x1c5d50){let {code:_0x2ff890}=_0x1c5d50;switch(_0x2ff890){case _0x1e5b34[_0x1db6ca(0x2a0)]:this[_0x1db6ca(0x2d4)]['show']({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t'](_0x1db6ca(0x1c3))});break;case _0x1e5b34[_0x1db6ca(0x186)]:this['_messageService'][_0x1db6ca(0x1eb)]({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t'](_0x1db6ca(0x29b))});break;default:this['_messageService'][_0x1db6ca(0x1eb)]({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t'](_0x1db6ca(0x1fd))});break;}return null;}return this[_0x1db6ca(0x2d4)][_0x1db6ca(0x1eb)]({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t']('exchange-client.networkError')}),null;}[_0x1f4438(0x183)](_0x2f5075){const _0x4a14d2=_0x1f4438;let _0x11573d='';switch(_0x2f5075){case _0x1367cd['Success']:_0x11573d=this[_0x4a14d2(0x291)]['t']('exchange-client.downloadSuccess');break;case _0x1367cd[_0x4a14d2(0x251)]:_0x11573d=this['_localeService']['t'](_0x4a14d2(0x1fa));break;default:break;}this['_messageService'][_0x4a14d2(0x1eb)]({'type':_0x2f5075,'content':_0x11573d});}[_0x1f4438(0x2b4)](_0x1cb006){const _0x5f35c2=_0x1f4438;let _0x5c2ac8='';switch(_0x1cb006){case _0x1367cd[_0x5f35c2(0x1a6)]:_0x5c2ac8=this[_0x5f35c2(0x291)]['t']('exchange-client.uploadSuccess');break;case _0x1367cd[_0x5f35c2(0x251)]:_0x5c2ac8=this[_0x5f35c2(0x291)]['t'](_0x5f35c2(0x23a));break;default:break;}this['_messageService'][_0x5f35c2(0x1eb)]({'type':_0x1cb006,'content':_0x5c2ac8});}[_0x1f4438(0x254)](){const _0x22f3e7=_0x1f4438;this[_0x22f3e7(0x1b6)][_0x22f3e7(0x1e3)]({'done':this[_0x22f3e7(0x210)],'count':this[_0x22f3e7(0x290)]});}[_0x1f4438(0x1ab)](_0x267d3e){const _0x90e0ee=_0x1f4438;this['_totalUploadTaskCount']+=_0x267d3e,this[_0x90e0ee(0x254)]();}[_0x1f4438(0x25e)](_0x48828b){const _0x115813=_0x1f4438;this[_0x115813(0x210)]+=_0x48828b,this[_0x115813(0x210)]=Math[_0x115813(0x1a3)](this[_0x115813(0x210)],this[_0x115813(0x290)]),this[_0x115813(0x254)]();}[_0x1f4438(0x256)](){const _0x390166=_0x1f4438;this['_doneUploadTaskCount']=this[_0x390166(0x290)],this[_0x390166(0x254)]();}['_clearProgress'](){const _0x1747f4=_0x1f4438;this['_doneUploadTaskCount']=0x0,this[_0x1747f4(0x290)]=0x0,this[_0x1747f4(0x254)]();}['_fileTypeError'](_0x468984,_0x3570c9){const _0x56c202=_0x1f4438;let _0x193cb7=_0x468984[0x0],_0xa605b4=_0x193cb7[_0x56c202(0x2bc)];return Ue(_0x193cb7)===_0x3570c9?!0x1:(this[_0x56c202(0x2d4)][_0x56c202(0x1eb)]({'type':_0x1367cd[_0x56c202(0x2cc)],'content':this[_0x56c202(0x291)]['t']('exchange-client.fileTypeError',_0xa605b4)}),!0x0);}[_0x1f4438(0x208)](){const _0x4861a4=_0x1f4438;return this[_0x4861a4(0x290)]!==0x0&&this[_0x4861a4(0x210)]!==this[_0x4861a4(0x290)];}};X=H([V(0x0,_0x385976(_0x4fcce2)),V(0x1,_0x246a95),V(0x2,_0x385976(_0x544c4f)),V(0x3,_0x385976(q)),V(0x4,_0x385976(k)),V(0x5,_0x569823),V(0x6,_0x385976(_0x20ebf2))],X);function ot(_0x2b408f){const _0x570c58=_0x1f4438;let {onClick:_0x26e808,children:_0x3f7f2a,className:_0xd0549d}=_0x2b408f;return _0x2ee3b3(_0x570c58(0x2d9),{'className':_0x34026c(_0x570c58(0x2a5),_0xd0549d),'type':_0x570c58(0x2d9),'onClick':_0x26e808,'children':_0x3f7f2a});}function Z(){const _0x374325=_0x1f4438;let _0x31eb1d=_0xd2c43d(Y),_0x3ab20a=_0xd2c43d(_0x544c4f);function _0x8b15bf(){_0x31eb1d['importFileToUnitIdByCurrentType']();}return _0x2ee3b3(ot,{'onClick':_0x8b15bf,'children':_0x3ab20a['t'](_0x374325(0x2b3))});}function st(){const _0x3af344=_0x1f4438;return _0x5dac55(_0x3af344(0x1f7),{'className':_0x3af344(0x1de),'children':[_0x2ee3b3(_0x3af344(0x1a8),{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0xd2c43d(_0x544c4f)['t']('exchange-client.interrupt')}),_0x2ee3b3(Z,{})]});}function ct(_0x958592){const _0x21ee11=_0x1f4438;let {count:_0x55a55a}=_0x958592;return _0x5dac55(_0x21ee11(0x1f7),{'className':_0x21ee11(0x1b9),'children':[_0x2ee3b3('span',{'className':_0x21ee11(0x26f),'children':_0xd2c43d(_0x544c4f)['t'](_0x21ee11(0x270),''+_0x55a55a)}),_0x2ee3b3(Z,{})]});}function lt(){const _0x4b18ff=_0x1f4438;let _0x4fc90d=_0xd2c43d(Y),_0x54ee57=_0xd2c43d(_0x544c4f);function _0x4d2886(){_0x4fc90d['interrupt']();}return _0x2ee3b3(ot,{'onClick':_0x4d2886,'children':_0x54ee57['t'](_0x4b18ff(0x1ec))});}function ut(){const _0x49c5da=_0x1f4438;let {count:_0x591caa,done:_0x11aa97}=_0x23b6ff(_0xd2c43d(Y)[_0x49c5da(0x269)]),[_0x3dba78,_0x2ff17b]=_0x5dd614(_0x591caa>0x0?_0x11aa97/_0x591caa:0x0);return _0x46a984(()=>{_0x2ff17b(_0x591caa>0x0?_0x11aa97/_0x591caa:0x0);},[_0x591caa,_0x11aa97]),_0x2ee3b3(_0x49c5da(0x1f7),{'className':_0x49c5da(0x297),'children':_0x2ee3b3(_0x49c5da(0x1f7),{'className':_0x49c5da(0x1fb),'style':{'width':Math[_0x49c5da(0x25f)](_0x3dba78*0x64)+'%'}})});}function dt(){const _0x238411=_0x1f4438;return _0x5dac55(_0x238411(0x1f7),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x2ee3b3(_0x238411(0x1a8),{'className':_0x238411(0x203),'children':_0xd2c43d(_0x544c4f)['t'](_0x238411(0x196))}),_0x2ee3b3(_0x238411(0x1f7),{'className':_0x238411(0x2aa),'children':_0x2ee3b3(ut,{})}),_0x2ee3b3(lt,{})]});}const ft={0x1:_0x2ee3b3(_0x1756d9,{'className':'univer-text-green-500'}),0x0:_0x2ee3b3(_0x2c35fc,{'className':_0x1f4438(0x23d)}),0x2:_0x2ee3b3(_0x19b7a,{'className':_0x1f4438(0x1b4)})};function pt(){const _0x57bcc9=_0x1f4438;let [_0x1863c7,_0x23c18b]=_0x5dd614(0x0),[_0x487b44,_0x53cb72]=_0x5dd614(!0x1),[_0x48c4ef,_0x4d2011]=_0x5dd614([]),_0x45a884=_0xd2c43d(k),_0x396f1f=_0xd2c43d(_0x544c4f);_0x46a984(()=>{const _0x122ae6=_0x7004;let _0x4c272f=_0x45a884[_0x122ae6(0x24a)][_0x122ae6(0x294)](_0xa6fb8f=>{_0x53cb72(_0xa6fb8f);}),_0x509747=_0x45a884[_0x122ae6(0x223)][_0x122ae6(0x294)](_0x334d90=>{_0x4d2011(_0x334d90);}),_0xd749a2=_0x45a884['state$']['subscribe'](_0x59b104=>{_0x23c18b(_0x59b104);});return()=>{const _0x35b748=_0x122ae6;_0x4c272f[_0x35b748(0x27f)](),_0x509747['unsubscribe'](),_0xd749a2[_0x35b748(0x27f)]();};},[]);function _0x2aaf09(){_0x53cb72(!0x1);}function _0x14f94d(_0x4da5aa){const _0x28a1ac=_0x7004;switch(_0x4da5aa){case 0x1:return _0x396f1f['t'](_0x28a1ac(0x1c6));case 0x0:return _0x396f1f['t'](_0x28a1ac(0x23a));case 0x2:return _0x396f1f['t'](_0x28a1ac(0x28b));default:return'';}}return _0x487b44&&_0x5dac55(_0x57bcc9(0x1f7),{'className':_0x57bcc9(0x271),'children':[_0x5dac55(_0x57bcc9(0x1f7),{'className':_0x57bcc9(0x22f),'children':[_0x5dac55(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x2bb),'children':[_0x2ee3b3(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x215),'children':ft[_0x1863c7]}),_0x2ee3b3(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x293),'children':_0x14f94d(_0x1863c7)})]}),_0x2ee3b3(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x1a0),'onClick':_0x2aaf09,'children':_0x2ee3b3(_0x417ce3,{})})]}),_0x5dac55(_0x57bcc9(0x1f7),{'children':[_0x1863c7===0x0&&_0x2ee3b3(dt,{}),_0x1863c7===0x2&&_0x2ee3b3(st,{}),_0x48c4ef[_0x57bcc9(0x262)]>0x0&&_0x2ee3b3(Ve,{'list':_0x48c4ef}),_0x1863c7===0x1&&_0x2ee3b3(ct,{'count':_0x48c4ef[_0x57bcc9(0x262)]})]})]});}function mt(){return _0x2ee3b3(pt,{});}let Q=class extends _0x2fe81a{constructor(_0x645e76,_0x31978f,_0x5d4ac6){const _0x28322a=_0x1f4438;super(),this['_injector']=_0x645e76,this[_0x28322a(0x2a4)]=_0x31978f,this[_0x28322a(0x27a)]=_0x5d4ac6,this[_0x28322a(0x24d)](),this[_0x28322a(0x2a2)]();}[_0x1f4438(0x24d)](){const _0x3f76c8=_0x1f4438;this[_0x3f76c8(0x2db)](this['_iconManager'][_0x3f76c8(0x1ee)]({'DirectExportIcon':_0x5b1712}));}['_registerComponents'](){const _0xcaead0=_0x1f4438;this[_0xcaead0(0x2db)](this[_0xcaead0(0x2a4)][_0xcaead0(0x26b)](_0x15dce3['CONTENT'],()=>_0xba57be(mt,this[_0xcaead0(0x1ba)])));}};Q=H([V(0x0,_0x385976(_0x10f435)),V(0x1,_0x47cd9f),V(0x2,_0x385976(_0x188500))],Q);let $=class extends _0x25589f{constructor(_0x1912cf=E,_0x25c94d,_0x4a0dfb){const _0x49a0ad=_0x1f4438;super(),this[_0x49a0ad(0x236)]=_0x1912cf,this[_0x49a0ad(0x1ba)]=_0x25c94d,this[_0x49a0ad(0x266)]=_0x4a0dfb;let {..._0xad65aa}=_0x4e12da({},E,this['_config']);this[_0x49a0ad(0x266)]['setConfig'](T,_0xad65aa);}[_0x1f4438(0x246)](){const _0x2a4ef7=_0x1f4438;_0x3cefd4(this[_0x2a4ef7(0x1ba)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[U,{'useClass':W}],[k,{'useClass':Be}]]);}[_0x1f4438(0x28d)](){_0x150101(this['_injector'],[[Q],[Y]]);}};O($,_0x1f4438(0x25a),_0x1f4438(0x184)),O($,'packageName',Ie),O($,_0x1f4438(0x28f),Le),$=H([_0x148dc9(_0x5376f4,_0x10fb1d),V(0x1,_0x385976(_0x10f435)),V(0x2,_0x3e68f8)],$);export{Y as IExchangeOperateService,q as IExchangeService,$ as UniverExchangeClientPlugin,L as downloadFile};
|
|
1
|
+
const _0x23d669=_0x1e38;(function(_0x57f23f,_0x7c4c10){const _0x3aed9b=_0x1e38,_0x5d558a=_0x57f23f();while(!![]){try{const _0x16c5dc=-parseInt(_0x3aed9b(0x271))/0x1+-parseInt(_0x3aed9b(0x25a))/0x2+parseInt(_0x3aed9b(0x27f))/0x3+parseInt(_0x3aed9b(0x2ad))/0x4*(-parseInt(_0x3aed9b(0x2a9))/0x5)+parseInt(_0x3aed9b(0x2a1))/0x6*(-parseInt(_0x3aed9b(0x2b5))/0x7)+-parseInt(_0x3aed9b(0x27e))/0x8*(-parseInt(_0x3aed9b(0x213))/0x9)+parseInt(_0x3aed9b(0x245))/0xa*(parseInt(_0x3aed9b(0x1d8))/0xb);if(_0x16c5dc===_0x7c4c10)break;else _0x5d558a['push'](_0x5d558a['shift']());}catch(_0x130812){_0x5d558a['push'](_0x5d558a['shift']());}}}(_0x1858,0x77103));import{UniverLicensePlugin as _0x3e389e}from'@univerjs-pro/license';import{DependentOn as _0x1569cc,Disposable as _0x52bca0,IConfigService as _0x3d8792,ILogService as _0x3a0011,IResourceLoaderService as _0x157fb9,IUniverInstanceService as _0x5339d7,Inject as _0x4a5a40,Injector as _0x567ddb,LocaleService as _0x272894,Plugin as _0x41f81a,UniverInstanceType as _0x2d6c67,createIdentifier as _0x80f77a,merge as _0x4e3ddb,registerDependencies as _0x183bc4,resolveWithBasePath as _0x1c36ea,toDisposable as _0x3fea9b,touchDependencies as _0x5af7e6}from'@univerjs/core';import{HTTPResponseError as _0x5210cd,HTTPService as _0x4d8820,UniverNetworkPlugin as _0x5408c6}from'@univerjs/network';import{ClockIcon as _0x2706de,CloseIcon as _0x33d7e6,DirectExportIcon as _0x14b262,DocsMultiIcon as _0x53c355,ErrorIcon as _0x24fa5b,ShareRangeIcon as _0x46f9e8,SheetsMultiIcon as _0x3d35da,SlidesMultiIcon as _0x1a3297,SuccessIcon as _0x3e9272}from'@univerjs/icons';import{BuiltInUIPart as _0x5092be,IMessageService as _0x314cf6,IUIPartsService as _0x2ba4ee,IconManager as _0x3a6c35,connectInjector as _0x5566e3,useDependency as _0x34ce1b,useObservable as _0xe4fe28}from'@univerjs/ui';import{BehaviorSubject as _0x27b5e3,Subject as _0x27b580}from'rxjs';import{MessageType as _0x2849b7,Tooltip as _0x1e8df0,clsx as _0x4079bb,scrollbarClassName as _0x5808d7}from'@univerjs/design';import{jsx as _0x44e330,jsxs as _0x4de0df}from'react/jsx-runtime';import{ErrorCode as _0x18b2f3,FileSource as _0x58c9ac}from'@univerjs/protocol';import{b64DecodeUnicode as _0x2569a2,b64EncodeUnicode as _0x226c59,getSheetBlocksFromSnapshot as _0x43e137,textDecoder as _0x2a36ef,textEncoder as _0x493234,transformDocumentDataToSnapshot as _0x59b499,transformSlideDataToSnapshot as _0x23bc36,transformSnapshotToDocumentData as _0x1b12c6,transformSnapshotToSlideData as _0x5711f7,transformSnapshotToWorkbookData as _0x4cef1f,transformWorkbookDataToSnapshot as _0x2cfb44}from'@univerjs-pro/collaboration';import{deflateSync as _0x2b1f2b}from'fflate';var Pe=_0x23d669(0x18c),Fe='1.0.0-alpha.4';const T=_0x23d669(0x1f9),Ie={};function E(_0x1cef7b,_0x22f767){return function(_0x49f6d3,_0x41911f){_0x22f767(_0x49f6d3,_0x41911f,_0x1cef7b);};}function D(_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9){const _0x66da43=_0x23d669;var _0x26863d=arguments[_0x66da43(0x1ed)],_0x39d67c=_0x26863d<0x3?_0x1c837f:_0x4c21b9===null?_0x4c21b9=Object[_0x66da43(0x247)](_0x1c837f,_0xcf509e):_0x4c21b9,_0x59bb94;if(typeof Reflect==_0x66da43(0x1a4)&&typeof Reflect['decorate']==_0x66da43(0x241))_0x39d67c=Reflect[_0x66da43(0x292)](_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9);else{for(var _0x2597e0=_0x4d33e8[_0x66da43(0x1ed)]-0x1;_0x2597e0>=0x0;_0x2597e0--)(_0x59bb94=_0x4d33e8[_0x2597e0])&&(_0x39d67c=(_0x26863d<0x3?_0x59bb94(_0x39d67c):_0x26863d>0x3?_0x59bb94(_0x1c837f,_0xcf509e,_0x39d67c):_0x59bb94(_0x1c837f,_0xcf509e))||_0x39d67c);}return _0x26863d>0x3&&_0x39d67c&&Object[_0x66da43(0x2bc)](_0x1c837f,_0xcf509e,_0x39d67c),_0x39d67c;}let O=class extends _0x52bca0{constructor(_0x56f903){const _0x2f9e8b=_0x23d669;super(),this['_iconManager']=_0x56f903,this[_0x2f9e8b(0x23f)]();}['_registerIcons'](){const _0xb6663d=_0x23d669;this[_0xb6663d(0x1d6)](this['_iconManager'][_0xb6663d(0x16e)]({'DirectExportIcon':_0x14b262}));}};O=D([E(0x0,_0x4a5a40(_0x3a6c35))],O);function k(_0x5aa360){'@babel/helpers - typeof';const _0x412bbb=_0x23d669;return k=typeof Symbol==_0x412bbb(0x241)&&typeof Symbol[_0x412bbb(0x173)]==_0x412bbb(0x1ba)?function(_0x46eb2a){return typeof _0x46eb2a;}:function(_0x327781){const _0x4f8616=_0x412bbb;return _0x327781&&typeof Symbol==_0x4f8616(0x241)&&_0x327781[_0x4f8616(0x2b3)]===Symbol&&_0x327781!==Symbol['prototype']?_0x4f8616(0x1ba):typeof _0x327781;},k(_0x5aa360);}function Le(_0x5bcd63,_0x5b003f){const _0x594559=_0x23d669;if(k(_0x5bcd63)!=_0x594559(0x1a4)||!_0x5bcd63)return _0x5bcd63;var _0x268b67=_0x5bcd63[Symbol[_0x594559(0x1a9)]];if(_0x268b67!==void 0x0){var _0x567a8c=_0x268b67[_0x594559(0x1ce)](_0x5bcd63,_0x5b003f||'default');if(k(_0x567a8c)!=_0x594559(0x1a4))return _0x567a8c;throw TypeError(_0x594559(0x28f));}return(_0x5b003f===_0x594559(0x1a8)?String:Number)(_0x5bcd63);}function Re(_0x3a0f68){const _0x39b142=_0x23d669;var _0xb3e0be=Le(_0x3a0f68,_0x39b142(0x1a8));return k(_0xb3e0be)==_0x39b142(0x1ba)?_0xb3e0be:_0xb3e0be+'';}function A(_0x254850,_0x402b85,_0xc91001){const _0x4c2414=_0x23d669;return(_0x402b85=Re(_0x402b85))in _0x254850?Object[_0x4c2414(0x2bc)](_0x254850,_0x402b85,{'value':_0xc91001,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x254850[_0x402b85]=_0xc91001,_0x254850;}const j=_0x80f77a(_0x23d669(0x19f));var ze=class extends _0x52bca0{constructor(){const _0x56035e=_0x23d669;super(),A(this,_0x56035e(0x2c4),new _0x27b580()),A(this,_0x56035e(0x194),new _0x27b580()),A(this,'_list$',new _0x27b580()),A(this,_0x56035e(0x23b),this[_0x56035e(0x2c4)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x178),this[_0x56035e(0x194)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x1c5),this[_0x56035e(0x28e)]['asObservable']()),A(this,_0x56035e(0x1e5),[]);}['dispose'](){const _0xdc955c=_0x23d669;super[_0xdc955c(0x244)](),this['_visible$'][_0xdc955c(0x1d9)](),this[_0xdc955c(0x194)][_0xdc955c(0x1d9)](),this['_list$'][_0xdc955c(0x1d9)]();}[_0x23d669(0x1e3)](){const _0x1a000a=_0x23d669;this[_0x1a000a(0x2c4)]['next'](!0x0);}['hide'](){const _0x3ac8e2=_0x23d669;this['_visible$'][_0x3ac8e2(0x21f)](!0x1);}['updateState'](_0x64dba2){const _0x37502c=_0x23d669;this[_0x37502c(0x194)][_0x37502c(0x21f)](_0x64dba2);}[_0x23d669(0x1bd)](_0x2a2ded){const _0x348ce0=_0x23d669;this[_0x348ce0(0x1e5)][_0x348ce0(0x177)](_0x2a2ded),this[_0x348ce0(0x28e)]['next'](this['_list']);}};function Be(_0x155452){const _0x5e6f0e=_0x23d669;let {list:_0x3c21cc}=_0x155452;function _0x310dd3(_0x1320e1){switch(_0x1320e1){case 0x1:return _0x44e330(_0x53c355,{});case 0x2:return _0x44e330(_0x3d35da,{});case 0x3:return _0x44e330(_0x1a3297,{});default:return null;}}return _0x44e330(_0x5e6f0e(0x203),{'className':_0x4079bb('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x5808d7),'children':_0x44e330('ul',{'className':_0x5e6f0e(0x2b1),'children':_0x3c21cc['map']((_0x38df06,_0x572f37)=>_0x44e330('li',{'children':_0x4de0df('a',{'className':_0x5e6f0e(0x20d),'href':_0x38df06[_0x5e6f0e(0x26b)],'target':_0x5e6f0e(0x22e),'rel':_0x5e6f0e(0x211),'children':[_0x4de0df(_0x5e6f0e(0x246),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x16b),'children':_0x310dd3(_0x38df06['type'])}),_0x44e330(_0x1e8df0,{'showIfEllipsis':!0x0,'title':_0x38df06['name'],'asChild':!0x0,'children':_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x270),'children':_0x38df06[_0x5e6f0e(0x265)]})})]}),_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x200),'children':_0x44e330(_0x46f9e8,{})})]})},_0x572f37))})});}const M=_0x23d669(0x1bb),N=_0x23d669(0x249),P=_0x23d669(0x17d),F=_0x23d669(0x192),I=_0x23d669(0x1eb),L=_0x23d669(0x1a0),R={[_0x2d6c67[_0x23d669(0x2c2)]]:[''],[_0x2d6c67[_0x23d669(0x169)]]:[M],[_0x2d6c67['UNIVER_SHEET']]:[N,P,F],[_0x2d6c67[_0x23d669(0x26c)]]:[I],[_0x2d6c67['UNIVER_BASE']]:[''],[_0x2d6c67[_0x23d669(0x24b)]]:[''],[_0x2d6c67[_0x23d669(0x20e)]]:[''],[_0x2d6c67['UNIVER_PDF']]:[L],[_0x2d6c67['UNRECOGNIZED']]:['']},z={[M]:'docx',[N]:'xlsx',[P]:_0x23d669(0x170),[F]:_0x23d669(0x18b),[I]:_0x23d669(0x236),[L]:_0x23d669(0x229)};function B(_0x20bcaf,_0xf64b7c,_0x4ca062){const _0x37fb81=_0x23d669;let _0x1c339f=document[_0x37fb81(0x1d5)]('a');_0x1c339f[_0x37fb81(0x1f0)]=_0x20bcaf,_0x1c339f['style'][_0x37fb81(0x2bd)]=_0x37fb81(0x20f),_0x1c339f[_0x37fb81(0x248)]=_0xf64b7c+'.'+_0x4ca062,document['body']['appendChild'](_0x1c339f),_0x1c339f['click'](),document[_0x37fb81(0x18d)][_0x37fb81(0x219)](_0x1c339f);}function Ve(_0x560b7a,_0x342f3d,_0xe351b){const _0x5928c2=_0x23d669;let _0x5bc312=URL['createObjectURL'](_0x560b7a);B(_0x5bc312,_0x342f3d,_0xe351b),URL[_0x5928c2(0x188)](_0x5bc312);}function He(_0x561a9b){const _0xab3392=_0x23d669;let _0x428925=_0x561a9b[_0xab3392(0x265)]['split']('.')[_0xab3392(0x24f)]();if(!_0x428925)return _0x2d6c67[_0xab3392(0x2c2)];let _0x14360d=Ue(),_0x19dc0f=_0x2d6c67[_0xab3392(0x2c2)];return _0x14360d[_0xab3392(0x257)](_0x5d76b2=>We(_0x428925,_0x5d76b2)?(_0x19dc0f=_0x5d76b2,!0x0):!0x1),_0x19dc0f;}function Ue(){const _0x5243cc=_0x23d669;return Object[_0x5243cc(0x20b)](_0x2d6c67)[_0x5243cc(0x187)](_0x2739d3=>typeof _0x2739d3==_0x5243cc(0x298));}function We(_0x202315,_0x44ce92){const _0x5e0660=_0x23d669;var _0x5cc4cb;return((_0x5cc4cb=R[_0x44ce92])==null?[]:_0x5cc4cb)[_0x5e0660(0x214)](_0x477705=>(z[_0x477705]||'')[_0x5e0660(0x2c3)]())['includes'](_0x202315[_0x5e0660(0x2c3)]());}function V(_0x15c911,_0x59433f=!0x1){const _0x1baee=_0x23d669;let _0x1bb4be=_0x15c911[_0x1baee(0x214)](_0x538fa0=>{var _0x38d36f;return(_0x38d36f=R[_0x538fa0])==null?[]:_0x38d36f;})[_0x1baee(0x1c8)](',');return new Promise((_0x28215d,_0x149775)=>{const _0x15c3ca=_0x1baee;let _0x304cf6=document['createElement']('input');_0x304cf6['type']=_0x15c3ca(0x287),_0x304cf6[_0x15c3ca(0x1c7)]=_0x1bb4be,_0x304cf6[_0x15c3ca(0x238)]=_0x59433f,_0x304cf6[_0x15c3ca(0x209)](_0x15c3ca(0x16a),_0x58b4e4=>{const _0x253db8=_0x15c3ca;let _0x103f27=_0x58b4e4[_0x253db8(0x1ca)];if(!_0x103f27['files']||_0x103f27[_0x253db8(0x28a)][_0x253db8(0x1ed)]===0x0)throw _0x149775(null),Error(_0x253db8(0x180));_0x28215d(_0x103f27[_0x253db8(0x28a)]);}),_0x304cf6[_0x15c3ca(0x21a)]();});}async function H(_0x2c1ce0,_0x1bc9a4){const _0x496075=_0x23d669;try{var _0x34759,_0x3ffa28,_0x103024;let _0xee082b=await _0x1bc9a4[_0x496075(0x207)](_0x2c1ce0,{'responseType':_0x496075(0x2a0)}),_0x15eecd=_0xee082b[_0x496075(0x18d)],_0x525b73=(_0x34759=(_0x3ffa28=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x227)))==null?void 0x0:_0x3ffa28['join'](',\x20'))==null?_0x496075(0x21c):_0x34759,_0x30bba0=_0x496075(0x297)+(z[_0x525b73]||_0x496075(0x22f)),_0x5991c3=(_0x103024=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x25b)))==null?void 0x0:_0x103024[_0x496075(0x1c8)](',\x20');if(_0x5991c3){let _0x4c178f=_0x5991c3['match'](/filename=(.+)/);_0x4c178f&&_0x4c178f[0x1]&&(_0x30bba0=_0x4c178f[0x1]);}else _0x30bba0=Ge(_0x2c1ce0)||_0x30bba0;return new File([_0x15eecd],_0x30bba0,{'type':_0x525b73});}catch(_0x3bff96){console[_0x496075(0x293)](_0x496075(0x260),_0x3bff96);return;}}function Ge(_0x4f292f){const _0x369081=_0x23d669;try{return new URL(_0x4f292f)['pathname'][_0x369081(0x24c)]('/')[_0x369081(0x24f)]();}catch(_0x4cd5fa){console[_0x369081(0x293)](_0x369081(0x1e7),_0x4cd5fa);return;}}function Ke(_0x5454ca){const _0x5e5468=_0x23d669;let _0x2b71fb=new Blob([_0x5454ca[_0x5e5468(0x206)]],{'type':_0x5e5468(0x221)});return new File([_0x2b71fb],'file.json');}function U(_0x382062,_0x4ea589){const _0x28664e=_0x23d669;return _0x382062[_0x28664e(0x225)](_0x28664e(0x21d),_0x4ea589);}function _0x1e38(_0x199163,_0x108e34){_0x199163=_0x199163-0x168;const _0x18581d=_0x1858();let _0x1e38b5=_0x18581d[_0x199163];return _0x1e38b5;}function qe(_0x312aa2,_0x137fcc){const _0x115592=_0x23d669;return _0x312aa2[_0x115592(0x225)]('{taskID}',_0x137fcc);}function Je(_0x199f30,_0x105df4){const _0x7953fe=_0x23d669;return _0x199f30['replace'](_0x7953fe(0x237),_0x105df4);}const W=_0x80f77a('univer-pro.exchange-client.request.service');let G=class{constructor(_0xfda3aa,_0x23c274){const _0x53dfaf=_0x23d669;this[_0x53dfaf(0x275)]=_0xfda3aa,this[_0x53dfaf(0x181)]=_0x23c274,A(this,_0x53dfaf(0x16c),new Set());}[_0x23d669(0x244)](){}[_0x23d669(0x1ab)](_0x2647f6){const _0x24164d=_0x23d669;this['_taskInterrupted'][_0x24164d(0x28c)](_0x2647f6);}[_0x23d669(0x1fc)](){const _0x2c0c1f=_0x23d669;this[_0x2c0c1f(0x16c)][_0x2c0c1f(0x19d)]();}async[_0x23d669(0x2bb)](_0x21a951,_0x1bae94=0x0,_0x301b8d=!0x1){const _0x453eb3=_0x23d669;if(typeof _0x21a951=='string'){let _0x1cc8ce=await H(_0x21a951,this['_httpService']);if(!_0x1cc8ce)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x21a951=_0x1cc8ce;}_0x1bae94=_0x1bae94||_0x21a951['size'];let _0x5dcfa9=new FormData();_0x5dcfa9[_0x453eb3(0x1ec)](_0x453eb3(0x287),_0x21a951);try{let _0x21dff8=this[_0x453eb3(0x2bf)]()+_0x453eb3(0x291)+_0x1bae94+_0x453eb3(0x2b6)+_0x58c9ac[_0x453eb3(0x289)]+_0x453eb3(0x26f)+_0x301b8d,_0x46e8c0={'body':_0x5dcfa9},_0x1bca53=(await this[_0x453eb3(0x181)][_0x453eb3(0x26d)](_0x21dff8,_0x46e8c0))[_0x453eb3(0x18d)];if(_0x1bca53[_0x453eb3(0x293)]&&_0x1bca53[_0x453eb3(0x293)][_0x453eb3(0x1f6)]!==_0x18b2f3['OK'])throw Error(this[_0x453eb3(0x2be)](_0x453eb3(0x299),_0x1bca53[_0x453eb3(0x293)]));return _0x1bca53;}catch(_0xc1b1fb){throw _0xc1b1fb instanceof Error?_0xc1b1fb:Error(this[_0x453eb3(0x1e0)](_0x453eb3(0x299),_0xc1b1fb));}}async[_0x23d669(0x296)](_0x30bcbf){const _0x30c84d=_0x23d669;let {fileID:_0x2e832,type:_0x4af2a9,outputType:_0x2a99b8,minSheetColumnCount:_0x38b00f,minSheetRowCount:_0x54529d}=_0x30bcbf;try{let _0x29dbfd=U(this[_0x30c84d(0x1bc)](),''+_0x4af2a9),_0x20f8b3={'body':{'fileID':_0x2e832,'outputType':_0x2a99b8,'minSheetColumnCount':_0x38b00f,'minSheetRowCount':_0x54529d}},_0xe4f91b=(await this['_httpService']['post'](_0x29dbfd,_0x20f8b3))['body'];return _0xe4f91b[_0x30c84d(0x293)]&&_0xe4f91b['error'][_0x30c84d(0x1f6)]!==_0x18b2f3['OK']?void 0x0:_0xe4f91b;}catch{return;}}async[_0x23d669(0x26a)](_0x2599ca){const _0xac73e1=_0x23d669;let {unitID:_0x417fd7,jsonID:_0x3ae10b,type:_0x7157f8,useImageUrl:_0x13115a,ignoreTableExport:_0x2e03a9}=_0x2599ca;try{let _0x34dc3a=U(this[_0xac73e1(0x22d)](),''+_0x7157f8),_0x20d302={'body':{'unitID':_0x417fd7,'jsonID':_0x3ae10b,'type':_0x7157f8,'useImageUrl':_0x13115a,'ignoreTableExport':_0x2e03a9}},_0x23feca=(await this[_0xac73e1(0x181)][_0xac73e1(0x26d)](_0x34dc3a,_0x20d302))[_0xac73e1(0x18d)];return _0x23feca['error']&&_0x23feca[_0xac73e1(0x293)]['code']!==_0x18b2f3['OK']?void 0x0:_0x23feca;}catch{return;}}async[_0x23d669(0x28b)](_0x4ebd78){return new Promise((_0x194845,_0x1a7205)=>{const _0x318637=_0x1e38;try{let _0x37f5f4=0x0,_0x3c6fab=qe(this[_0x318637(0x1b2)](),''+_0x4ebd78),_0x275a44=this['_getMaxPollingTime'](),_0x21cf48=async()=>{const _0x2dc3e2=_0x318637;if(this[_0x2dc3e2(0x16c)]['has'](_0x4ebd78))return;let _0x56e252=(await this['_httpService'][_0x2dc3e2(0x207)](_0x3c6fab))[_0x2dc3e2(0x18d)];if(_0x56e252[_0x2dc3e2(0x293)]&&_0x56e252[_0x2dc3e2(0x293)][_0x2dc3e2(0x1f6)]===_0x18b2f3['OK']){if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1e8))_0x194845(_0x56e252);else{if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1cf)){let _0x2682fc=0x3e8;if(_0x37f5f4>=_0x275a44){_0x1a7205(_0x56e252);return;}else _0x37f5f4>=0x7530&&(_0x2682fc=0x1388);_0x37f5f4+=_0x2682fc,setTimeout(_0x21cf48,_0x2682fc);}else _0x1a7205(_0x56e252);}}else _0x1a7205(_0x56e252);};_0x21cf48();}catch(_0x30e682){_0x1a7205(_0x30e682 instanceof Error?_0x30e682:Error(String(_0x30e682)));}});}async[_0x23d669(0x230)](_0xc15347){const _0x41625a=_0x23d669;try{let _0x565e27=Je(this[_0x41625a(0x23e)](),''+_0xc15347);return(await this[_0x41625a(0x181)][_0x41625a(0x207)](_0x565e27))[_0x41625a(0x18d)];}catch{return;}}async['getTextFromUrl'](_0x1a370b){const _0x15a564=_0x23d669;try{return(await this[_0x15a564(0x181)][_0x15a564(0x207)](_0x1a370b,{'responseType':_0x15a564(0x1d3)}))[_0x15a564(0x18d)];}catch{return;}}[_0x23d669(0x2be)](_0x5569c4,_0x735759){const _0x45ae9f=_0x23d669;let _0x19bcfc=this[_0x45ae9f(0x17f)](_0x735759);return _0x19bcfc?_0x5569c4+':\x20'+_0x19bcfc:_0x5569c4;}[_0x23d669(0x1e0)](_0x3d0a67,_0x30f000){const _0x5eb241=_0x23d669;if(_0x30f000 instanceof _0x5210cd){let _0x575718=typeof _0x30f000[_0x5eb241(0x253)]==_0x5eb241(0x298)?''+_0x30f000[_0x5eb241(0x253)]+(_0x30f000['statusText']?'\x20'+_0x30f000[_0x5eb241(0x25d)]:''):void 0x0,_0x2d8fb2=this[_0x5eb241(0x17f)](_0x30f000['error']);return _0x575718&&_0x2d8fb2?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718+'\x20-\x20'+_0x2d8fb2:_0x575718?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718:_0x2d8fb2?_0x3d0a67+':\x20'+_0x2d8fb2:_0x3d0a67;}let _0x4fc283=this['_extractErrorDetail'](_0x30f000);return _0x4fc283?_0x3d0a67+':\x20'+_0x4fc283:_0x3d0a67;}[_0x23d669(0x17f)](_0x4f1444){const _0x46bfd4=_0x23d669;if(typeof _0x4f1444=='string'){let _0x20d384=_0x4f1444[_0x46bfd4(0x171)]();return _0x20d384[_0x46bfd4(0x1ed)]>0x0?_0x20d384:void 0x0;}if(_0x4f1444 instanceof Error)return this[_0x46bfd4(0x17f)](_0x4f1444['message']);if(!_0x4f1444||typeof _0x4f1444!='object'||Array[_0x46bfd4(0x273)](_0x4f1444))return;let _0x240bf8=_0x4f1444,_0xb0ad9a=this['_extractErrorDetail'](_0x240bf8[_0x46bfd4(0x21e)]);if(_0xb0ad9a)return _0xb0ad9a;if(_0x240bf8[_0x46bfd4(0x293)]&&typeof _0x240bf8['error']=='object'&&!Array[_0x46bfd4(0x273)](_0x240bf8[_0x46bfd4(0x293)])){let _0x1d6846=this[_0x46bfd4(0x17f)](_0x240bf8[_0x46bfd4(0x293)]);if(_0x1d6846)return _0x1d6846;}}['_getUploadFileURL'](){const _0x4319b2=_0x23d669;var _0x22cd47;let _0x1ddf0e=this['_configService']['getConfig'](T);return(_0x22cd47=_0x1ddf0e==null?void 0x0:_0x1ddf0e[_0x4319b2(0x29d)])==null?_0x4319b2(0x195):_0x22cd47;}['_getImportURL'](){const _0x103b29=_0x23d669;var _0xc0808a;let _0x42fab8=this['_configService']['getConfig'](T);return(_0xc0808a=_0x42fab8==null?void 0x0:_0x42fab8[_0x103b29(0x198)])==null?_0x103b29(0x285):_0xc0808a;}[_0x23d669(0x22d)](){const _0x5d606c=_0x23d669;var _0x42414e;let _0x1a3188=this[_0x5d606c(0x275)]['getConfig'](T);return(_0x42414e=_0x1a3188==null?void 0x0:_0x1a3188[_0x5d606c(0x284)])==null?_0x5d606c(0x1a1):_0x42414e;}[_0x23d669(0x1b2)](){const _0x420c28=_0x23d669;var _0x9e58b9;let _0x2fa6f8=this[_0x420c28(0x275)][_0x420c28(0x190)](T);return(_0x9e58b9=_0x2fa6f8==null?void 0x0:_0x2fa6f8['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x9e58b9;}['_getSignURL'](){const _0x1bb105=_0x23d669;var _0x442531;let _0x20a03e=this[_0x1bb105(0x275)][_0x1bb105(0x190)](T);return(_0x442531=_0x20a03e==null?void 0x0:_0x20a03e[_0x1bb105(0x2b8)])==null?_0x1bb105(0x196):_0x442531;}[_0x23d669(0x280)](){const _0x2d8045=_0x23d669;var _0x5163fb;let _0x58acc7=this[_0x2d8045(0x275)][_0x2d8045(0x190)](T);return(_0x5163fb=_0x58acc7==null?void 0x0:_0x58acc7[_0x2d8045(0x176)])==null?0x1d4c0:_0x5163fb;}};G=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820))],G);function Ye(_0x4f11a3){const _0x4d5580=_0x23d669;let _0x3195b7=_0x4f11a3['workbook'];if(!_0x3195b7)return null;let _0x2ec7b4={};_0x3195b7[_0x4d5580(0x1fe)]&&Object[_0x4d5580(0x2aa)](_0x3195b7['sheets'])[_0x4d5580(0x2ba)](_0x21360f=>{const _0x355625=_0x4d5580;let _0x32db3c=_0x3195b7[_0x355625(0x1fe)][_0x21360f];_0x2ec7b4[_0x21360f]={..._0x32db3c,'originalMeta':_0x226c59(_0x2a36ef[_0x355625(0x25e)](_0x32db3c[_0x355625(0x2ac)]))};});let _0x30394e=_0x226c59(_0x2a36ef[_0x4d5580(0x25e)](_0x3195b7[_0x4d5580(0x2ac)]));return{..._0x4f11a3,'workbook':{..._0x3195b7,'originalMeta':_0x30394e,'sheets':_0x2ec7b4},'doc':{},'slide':void 0x0,'board':void 0x0};}function Xe(_0x21aa0c){const _0xfb1fa9=_0x23d669;let _0x501509=_0x21aa0c[_0xfb1fa9(0x1ff)];if(!_0x501509)return null;let _0x45914e=_0x226c59(_0x2a36ef[_0xfb1fa9(0x25e)](_0x501509[_0xfb1fa9(0x2ac)]));return{..._0x21aa0c,'workbook':{},'doc':{..._0x501509,'originalMeta':_0x45914e},'slide':void 0x0,'board':void 0x0};}function Ze(_0x5f2687){const _0x431db0=_0x23d669;var _0x358855;let _0x59fba9=(_0x358855=_0x5f2687[_0x431db0(0x16d)])==null?_0x5f2687['doc']:_0x358855;if(!_0x59fba9)return null;let _0x14e06a=typeof _0x59fba9['originalMeta']==_0x431db0(0x1a8)?_0x59fba9[_0x431db0(0x2ac)]:_0x226c59(_0x2a36ef[_0x431db0(0x25e)](_0x59fba9[_0x431db0(0x2ac)]));return{..._0x5f2687,'workbook':{},'doc':{},'slide':{..._0x59fba9,'originalMeta':_0x14e06a},'board':void 0x0};}function K(_0x4e0070){const _0x3b5c6a=_0x23d669;let _0x127ab7={};return _0x4e0070[_0x3b5c6a(0x2ba)](_0x4f6911=>{const _0x3494cc=_0x3b5c6a;_0x127ab7[_0x4f6911['id']]={..._0x4f6911,'data':_0x226c59(_0x2a36ef[_0x3494cc(0x25e)](_0x4f6911['data']))};}),_0x127ab7;}async function Qe(_0x3c0413){const _0x1581c2=_0x23d669;var _0x2dd6cb;let _0x8d4ade={'metadata':void 0x0},_0x58948e=_0x3c0413['id'],_0x51b07f=(_0x2dd6cb=_0x3c0413[_0x1581c2(0x1b5)])==null?0x0:_0x2dd6cb,_0x34201f=new q(),{snapshot:_0x5bf8c4}=await _0x2cfb44(_0x8d4ade,_0x3c0413,_0x58948e,_0x51b07f,_0x34201f),_0x2720cb=await _0x43e137(_0x5bf8c4,_0x34201f),_0x29c0b7=Ye(_0x5bf8c4);if(!_0x29c0b7)throw Error(_0x1581c2(0x279));return{'snapshot':_0x29c0b7,'sheetBlocks':K(_0x2720cb)};}async function $e(_0x34a6ea){const _0x5db97b=_0x23d669;var _0x5cb861;let _0x57434c={'metadata':void 0x0},_0x547f0a=_0x34a6ea['id'],{snapshot:_0x2b6f61}=await _0x59b499(_0x57434c,_0x34a6ea,_0x547f0a,(_0x5cb861=_0x34a6ea[_0x5db97b(0x1b5)])==null?0x0:_0x5cb861,new q()),_0x4839a0=Xe(_0x2b6f61);if(!_0x4839a0)throw Error(_0x5db97b(0x279));return{'snapshot':_0x4839a0,'sheetBlocks':{}};}async function et(_0x265754){const _0xc696fd=_0x23d669;var _0x1977e1;let _0x1346f2=_0x265754['id'],_0x9c2710=(_0x1977e1=_0x265754[_0xc696fd(0x1b5)])==null?0x0:_0x1977e1,_0x5662ab=new q(),{snapshot:_0x1d2e00}=await _0x23bc36(_0x265754[_0xc696fd(0x232)],_0x265754,_0x1346f2,_0x9c2710,_0x5662ab),_0x292241=Ze(_0x1d2e00);if(!_0x292241)throw Error(_0xc696fd(0x279));return{'snapshot':_0x292241,'sheetBlocks':{}};}async function tt(_0xc32aa6){const _0x5f5a56=_0x23d669;let _0x1ff5dc=_0xc32aa6[_0x5f5a56(0x1d0)],_0x4f7384=_0xc32aa6[_0x5f5a56(0x1c6)]||{};return await _0x4cef1f(_0x1ff5dc,Object[_0x5f5a56(0x2aa)](_0x4f7384)[_0x5f5a56(0x214)](_0x42756c=>_0x4f7384[_0x42756c])[_0x5f5a56(0x214)](_0x26c1dd=>({..._0x26c1dd,'data':_0x26c1dd[_0x5f5a56(0x228)]?JSON[_0x5f5a56(0x201)](_0x2569a2(_0x26c1dd[_0x5f5a56(0x228)])):void 0x0})));}function nt(_0x445fcd){const _0x3ded0b=_0x23d669;let _0x473ca4=_0x445fcd[_0x3ded0b(0x1d0)];return _0x1b12c6(_0x473ca4);}function rt(_0x5ace33){const _0x151cd7=_0x23d669;let _0x2e4374=_0x5ace33[_0x151cd7(0x1d0)];return _0x5711f7(_0x2e4374);}function _0x1858(){const _0x63b75a=['importFileToUnitIdByCurrentType','headers','href','createUnit','exportDOCXBySnapshot','set','univer-pro.exchange-client.exchange.service','univer-pl-2\x20univer-pr-4','code','getUnitOnRev','univer-mt-5\x20univer-flex\x20univer-flex-col','exchange-client.config','_exportBySnapshot','shift','clearTaskInterrupted','exportXLSXBySnapshot','sheets','doc','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','parse','_showUploadMessage','div','getFocusedUnit','stringify','buffer','get','fetchMissingChangesets','addEventListener','CONTENT','values','_refreshSlide','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','UNIVER_PROJECT','none','importPPTXToUnitId','noreferrer','packageName','9729MggFCA','map','_injector','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getUnitDocJson','univer-flex','removeChild','click','_emitProgress','application/octet-stream','{type}','message','next','_getDisableCellImageConversion','application/json','Info','_getUnitID','exportXLSXByUnitId','replace','_logService','Content-Type','data','pdf','blockID','ignoreTableExport','outputType','_getExportURL','_blank','xlsx','signUrl','_signUrl','resources','_config','importDOCXToSnapshot','Get\x20outputType\x20error','pptx','{fileID}','multiple','UNIVER_SHEET','url','visible$','importXLSXToSnapshot','_getMinSheetRowCount','_getSignURL','_registerIcons','registerLink','function','exportDOCXByUnitId','getTextFromUrl','dispose','3110aLZAJg','span','getOwnPropertyDescriptor','download','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_import','UNIVER_BOARD','split','Failed\x20to\x20get\x20unitID\x20from\x20task','univer-text-green-500','pop','options','downloadEndpointUrl','_localeService','status','_getUnitName','importXLSXToUnitId','hide','some','copyFileMeta','getSnapshot','1191720SwrTrB','content-disposition','setConfig','statusText','decode','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Error\x20fetching\x20file\x20from\x20URL:','_getUnitSlideJson','CONNECTOR_DATA_TOO_LARGE','registerComponent','UNDEFINED','name','_upload','importFileToUnitId','getUnitId','jsonID','export','link','UNIVER_SLIDE','post','getCurrentUnitOfType','&flate=','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','815140LpyRwP','_getUnitIDDoc','isArray','onStarting','_configService','importFileToJson','getLatestCsReqIdBySid','_clearProgress','Failed\x20to\x20transform\x20snapshot\x20to\x20string','block\x20is\x20required','_registerUIParts','taskID','importDOCXToUnitId','5176DlmLrO','2292279KMRqjj','_getMaxPollingTime','sign\x20url\x20error','fileID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','exportServerUrl','/universer-api/exchange/{type}/import','_showNetworkError','file','exchange-client.tooLarge','HttpImport','files','getTask','add','title','_list$','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Success','?size=','decorate','error','version','_resourceLoaderService','import','file.','number','upload\x20request\x20failed','_getDownloadEndpointURL','Failed\x20to\x20get\x20jsonID\x20from\x20task','saveSnapshot','uploadFileServerUrl','exchange-client.interrupt','_getIgnoreTableExport','blob','6sdYrCN','min','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','type','_doneUploadTaskCount','_exchangeService','resolve','updateSnapshot','3033750snJvbL','keys','_addTotalCount','originalMeta','4GxldLz','import\x20error','_requestService','catch','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','asObservable','constructor','pluginName','3615416kFVfVz','&source=','exchange-client.fileTypeError','signUrlServerUrl','univer-h-6\x20univer-text-2xl','forEach','upload','defineProperty','display','_buildProtocolErrorMessage','_getUploadFileURL',':\x20HTTP\x20','.json','UNIVER_UNKNOWN','toLowerCase','_visible$','_requestState$','_importTaskId','transformSnapshotJsonToWorkbookData','UNIVER_DOC','change','univer-flex\x20univer-h-5\x20univer-text-xl','_taskInterrupted','slide','register','_showDownloadMessage','xlsm','trim','UNRECOGNIZED','iterator','searchParams','_fileTypeError','maxTimeoutTime','unshift','state$','_importFileToUnitId','exchange-client.internalError','_uploadTaskNotDone','unitID','application/vnd.ms-excel.sheet.macroEnabled.12','_getUnitIDSlide','_extractErrorDetail','No\x20file\x20selected','_httpService','progress$','origin','docx','requestState$','Error','filter','revokeObjectURL','_totalUploadTaskCount','importPPTXToSnapshot','xltx','@univerjs-pro/exchange-client','body','exchange-client.uploadSuccess','_addDoneTask','getConfig','INTERNAL_ERROR','application/vnd.openxmlformats-officedocument.spreadsheetml.template','saveUnit','_state$','/universer-api/stream/file/upload','/universer-api/file/{fileID}/sign-url','exchange-client.wait','importServerUrl','_getUnitJson','minSheetRowCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','clear','toString','univer-pro.exchange-client.upload-notification.service','application/pdf','/universer-api/exchange/{type}/export','exchange-client.uploading','interruptImportTask','object','_getLinkByUnitId','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_refresh','string','toPrimitive','success','setTaskInterrupted','encode','_getMinSheetColumnCount','upload\x20failed:\x20FileId\x20is\x20empty','location','_univerInstanceService','Failed\x20to\x20get\x20text\x20from\x20url','_getTaskURL','disableCellImageConversion','updateState','rev','downloadFile','_messageService','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getResourcesRequest','symbol','application/vnd.openxmlformats-officedocument.wordprocessingml.document','_getImportURL','pushLink','floor','_export','univer-text-red-500','_completeProgress','exportPPTXBySnapshot','button','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','list$','sheetBlocks','accept','join','exchange-client.networkError','currentTarget','_uiPartsService','Failed\x20to\x20parse\x20json','_getUnitNameByType','call','pending','snapshot','Failed\x20to\x20get\x20fileID\x20from\x20task','exportPPTXByUnitId','text','minSheetColumnCount','createElement','disposeWithMe','subscribe','55121QohURV','complete','getSheetBlock','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Method\x20not\x20implemented.','transformWorkbookDataToSnapshotJson','Warning','_sheetBlockCache','_buildHttpErrorMessage','_uploadNotificationService','_importToJson','show','_progress$','_list','interrupt','Error\x20getting\x20file\x20name\x20from\x20URL:','done','univer-text-sm\x20univer-text-gray-500','exchange-client.uploadAgain','application/vnd.openxmlformats-officedocument.presentationml.presentation','append','length'];_0x1858=function(){return _0x63b75a;};return _0x1858();}var q=class{constructor(){const _0x578764=_0x23d669;A(this,_0x578764(0x1df),new Map());}[_0x23d669(0x1f7)](){const _0x5f058c=_0x23d669;return Promise[_0x5f058c(0x2a7)]({'snapshot':{'unitID':'','type':_0x2d6c67[_0x5f058c(0x239)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1da)](_0xbe1a22,_0x1434ba){const _0xfc2a3=_0x23d669;let _0x2d82f9=this['_sheetBlockCache']['get'](_0x1434ba[_0xfc2a3(0x22a)]);return Promise[_0xfc2a3(0x2a7)]({'block':_0x2d82f9,'error':{'code':_0x18b2f3['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x47b2f5,_0x4d17c2){const _0x5a66ac=_0x23d669;let _0x5c6528=this[_0x5a66ac(0x1df)][_0x5a66ac(0x207)](_0x4d17c2[_0x5a66ac(0x22a)]);return Promise[_0x5a66ac(0x2a7)]({'block':_0x5c6528===void 0x0?void 0x0:{..._0x5c6528,'data':JSON[_0x5a66ac(0x201)](_0x2a36ef[_0x5a66ac(0x25e)](_0x5c6528[_0x5a66ac(0x228)]))},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x208)](){const _0x383cd5=_0x23d669;return Promise[_0x383cd5(0x2a7)]({'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1b9)](){const _0x17bd59=_0x23d669;return Promise[_0x17bd59(0x2a7)]({'resources':{},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x29c)](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x2a8)](){const _0x24b4a4=_0x23d669;return Promise[_0x24b4a4(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''}});}['saveSheetBlock'](_0x1120f6,_0x2da708){const _0x39d11e=_0x23d669;let {block:_0x2f939d}=_0x2da708;return _0x2f939d?(this[_0x39d11e(0x1df)]['set'](_0x2f939d['id'],_0x2f939d),Promise[_0x39d11e(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''},'blockID':_0x2f939d['id']})):Promise['resolve']({'error':{'code':_0x18b2f3[_0x39d11e(0x264)],'message':_0x39d11e(0x27a)},'blockID':''});}['saveChangeset'](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''},'concurrent':[]});}[_0x23d669(0x258)](){const _0x59bba6=_0x23d669;return Promise[_0x59bba6(0x2a7)]({'error':void 0x0,'fileMetaId':''});}[_0x23d669(0x277)](){const _0x5cf05d=_0x23d669;return Promise[_0x5cf05d(0x2a7)]({'error':void 0x0,'latestReqID':0x0});}};const J=_0x80f77a(_0x23d669(0x1f4));let Y=class extends _0x52bca0{constructor(_0x2c8542,_0x18c1fa,_0x1a8239){const _0x386309=_0x23d669;super(),this[_0x386309(0x275)]=_0x2c8542,this[_0x386309(0x181)]=_0x18c1fa,this[_0x386309(0x2af)]=_0x1a8239,A(this,_0x386309(0x2c6),null),A(this,'_requestState$',new _0x27b580()),A(this,_0x386309(0x185),this[_0x386309(0x2c5)][_0x386309(0x2b2)]());}[_0x23d669(0x244)](){const _0x5b070b=_0x23d669;super[_0x5b070b(0x244)](),this[_0x5b070b(0x2c5)][_0x5b070b(0x1d9)]();}['downloadFile'](_0x50ab98,_0x56e47d,_0x3ae48d){const _0x52771c=_0x23d669;let _0x335578=URL['createObjectURL'](_0x50ab98);B(_0x335578,_0x56e47d,_0x3ae48d),URL[_0x52771c(0x188)](_0x335578);}async[_0x23d669(0x168)](_0x1a5333){const _0x4409f1=_0x23d669;let _0x458dec=_0x1a5333[_0x4409f1(0x1d0)],_0x10b3da=_0x1a5333[_0x4409f1(0x1c6)]||{};return _0x4cef1f(_0x458dec,Object[_0x4409f1(0x2aa)](_0x10b3da)[_0x4409f1(0x214)](_0xfb8f89=>_0x10b3da[_0xfb8f89])[_0x4409f1(0x214)](_0x7939bf=>({..._0x7939bf,'data':_0x7939bf[_0x4409f1(0x228)]?JSON[_0x4409f1(0x201)](_0x2569a2(_0x7939bf[_0x4409f1(0x228)])):void 0x0})));}async[_0x23d669(0x1dd)](_0xa8e85a){const _0x3efea1=_0x23d669;var _0x27810d;let _0x9f1b2={'metadata':void 0x0},_0x38bd97=_0xa8e85a['id'],_0x1efd53=(_0x27810d=_0xa8e85a['rev'])==null?0x0:_0x27810d,_0x190824=new q(),{snapshot:_0x16e8ec}=await _0x2cfb44(_0x9f1b2,_0xa8e85a,_0x38bd97,_0x1efd53,_0x190824),_0x21142e=await _0x43e137(_0x16e8ec,_0x190824),_0xf7c9e2=Ye(_0x16e8ec);if(!_0xf7c9e2)throw Error(_0x3efea1(0x279));return{'snapshot':_0xf7c9e2,'sheetBlocks':K(_0x21142e)};}async[_0x23d669(0x234)](_0x9c5c2e){const _0x1e1cec=_0x23d669;let _0x2abfe5=await this[_0x1e1cec(0x276)](_0x9c5c2e,_0x2d6c67[_0x1e1cec(0x169)]);if(!_0x2abfe5||!_0x2abfe5[_0x1e1cec(0x1d0)])return;let _0x2e26fc=nt(_0x2abfe5);if(_0x2e26fc)return _0x2e26fc;}async['exportDOCXByUnitId'](_0xb9d2af){const _0xa58161=_0x23d669;return this[_0xa58161(0x1bf)](_0xb9d2af,0x1,_0x2d6c67[_0xa58161(0x169)]);}async[_0x23d669(0x1f2)](_0x5bdcb1){const _0x5b0bb3=_0x23d669;let _0xe79a4=await $e(_0x5bdcb1);return this[_0x5b0bb3(0x1fa)](_0xe79a4,_0x2d6c67[_0x5b0bb3(0x169)]);}async['importPPTXToSnapshot'](_0x22c3db){const _0x1f996f=_0x23d669;let _0x2cf6c7=await this[_0x1f996f(0x276)](_0x22c3db,_0x2d6c67[_0x1f996f(0x26c)]);if(!(!_0x2cf6c7||!_0x2cf6c7[_0x1f996f(0x1d0)]))return rt(_0x2cf6c7);}async[_0x23d669(0x1d2)](_0x17a8a2){const _0x10c00a=_0x23d669;return this[_0x10c00a(0x1bf)](_0x17a8a2,0x1,_0x2d6c67[_0x10c00a(0x26c)]);}async[_0x23d669(0x1c2)](_0x1cb24a){const _0x14a1f2=_0x23d669;let _0x49b4e4=await et(_0x1cb24a);return this[_0x14a1f2(0x1fa)](_0x49b4e4,_0x2d6c67[_0x14a1f2(0x26c)]);}async[_0x23d669(0x23c)](_0x521906){const _0x575fd9=_0x23d669;let _0x288b70=await this[_0x575fd9(0x276)](_0x521906,_0x2d6c67[_0x575fd9(0x239)]);if(!_0x288b70)return;let _0x4d6e2a=await this[_0x575fd9(0x168)](_0x288b70);if(_0x4d6e2a)return _0x4d6e2a;}async[_0x23d669(0x224)](_0x1ab696){return this['_export'](_0x1ab696,0x1,_0x2d6c67['UNIVER_SHEET']);}async[_0x23d669(0x1fd)](_0x546df9){const _0x27b53c=_0x23d669;let _0x517167=await this[_0x27b53c(0x1dd)](_0x546df9);return this[_0x27b53c(0x1fa)](_0x517167,_0x2d6c67[_0x27b53c(0x239)]);}async[_0x23d669(0x267)](_0x535dc2,_0x17ed84){const _0x557f23=_0x23d669;var _0x56aa50,_0x914758;let _0xb2e2fd=await this[_0x557f23(0x266)](_0x535dc2);if(!_0xb2e2fd)return;let _0x56d916=await this[_0x557f23(0x24a)](_0xb2e2fd,0x1,_0x17ed84);if(!_0x56d916)return;this['_importTaskId']=_0x56d916,this[_0x557f23(0x2af)][_0x557f23(0x1fc)]();let _0x1b4dd0=await this[_0x557f23(0x2af)][_0x557f23(0x28b)](_0x56d916)[_0x557f23(0x2b0)](_0xa0a543=>{const _0x4433e1=_0x557f23;var _0x47792b;let _0x7de22=_0xa0a543 instanceof Error?_0xa0a543[_0x4433e1(0x21e)]:(_0x47792b=_0xa0a543[_0x4433e1(0x293)])==null?void 0x0:_0x47792b[_0x4433e1(0x21e)];this[_0x4433e1(0x2c5)][_0x4433e1(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x7de22||''},'state':0x3});});if(!_0x1b4dd0)return;let _0x218637=(_0x56aa50=_0x1b4dd0['import'])==null?void 0x0:_0x56aa50['outputType'],_0x5912f3=((_0x914758=_0x1b4dd0[_0x557f23(0x296)])==null?void 0x0:_0x914758[_0x557f23(0x17c)])||'';if(_0x218637!==0x1){this[_0x557f23(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x235)},'state':0x3});return;}if(_0x5912f3[_0x557f23(0x1ed)]===0x0){this[_0x557f23(0x2c5)][_0x557f23(0x21f)]({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x24d)},'state':0x3});return;}return this['_requestState$'][_0x557f23(0x21f)]({'error':_0x1b4dd0[_0x557f23(0x293)],'state':0x3}),_0x5912f3;}async['importFileToJson'](_0x4f2b6c,_0xd6e77a){return this['_importToJson'](_0x4f2b6c,_0xd6e77a);}async['importWorkbookDataToUnitId'](_0x110e70){const _0x2aec08=_0x23d669;let _0x34a966=await this[_0x2aec08(0x1dd)](_0x110e70),_0x2f8ae2=typeof _0x110e70['id']=='string'&&_0x110e70['id'][_0x2aec08(0x171)]()?_0x110e70['id'][_0x2aec08(0x171)]()+_0x2aec08(0x2c1):'workbook.json',_0x110ea6=new File([JSON[_0x2aec08(0x205)](_0x34a966)],_0x2f8ae2,{'type':_0x2aec08(0x221)});return this[_0x2aec08(0x267)](_0x110ea6,_0x2d6c67[_0x2aec08(0x239)]);}['interruptImportTask'](){const _0x44201d=_0x23d669;this[_0x44201d(0x2c6)]&&this[_0x44201d(0x2af)][_0x44201d(0x1ab)](this[_0x44201d(0x2c6)]);}async[_0x23d669(0x1e2)](_0x23b49a,_0x297fb3){const _0x65ad9e=_0x23d669;var _0x31075c,_0x495999;let _0x4fa8bb=await this['_upload'](_0x23b49a);if(!_0x4fa8bb)return;let _0xfa8155=await this[_0x65ad9e(0x24a)](_0x4fa8bb,0x2,_0x297fb3);if(!_0xfa8155)return;this[_0x65ad9e(0x2c6)]=_0xfa8155,this['_requestService'][_0x65ad9e(0x1fc)]();let _0x308ac4=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x28b)](_0xfa8155)[_0x65ad9e(0x2b0)](_0x40ba0e=>{const _0x543748=_0x65ad9e;var _0x55f1d1;let _0x5ddac0=_0x40ba0e instanceof Error?_0x40ba0e[_0x543748(0x21e)]:(_0x55f1d1=_0x40ba0e['error'])==null?void 0x0:_0x55f1d1['message'];this[_0x543748(0x2c5)][_0x543748(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x5ddac0||''},'state':0x3});});if(!_0x308ac4)return;let _0x4ba2a2=(_0x31075c=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x31075c[_0x65ad9e(0x22c)],_0x2a67c8=((_0x495999=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x495999[_0x65ad9e(0x269)])||'';if(_0x4ba2a2!==0x2){this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x235)},'state':0x3});return;}if(_0x2a67c8[_0x65ad9e(0x1ed)]===0x0){this['_requestState$']['next']({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x29b)},'state':0x3});return;}this['_requestState$'][_0x65ad9e(0x21f)]({'error':_0x308ac4[_0x65ad9e(0x293)],'state':0x3});let _0x37ec96=await this[_0x65ad9e(0x231)](_0x2a67c8);if(!_0x37ec96)return;let _0x55d85a=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x243)](_0x37ec96);if(!_0x55d85a){this[_0x65ad9e(0x2c5)][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1b1)},'state':0x5});return;}try{let _0x44b6c9=JSON[_0x65ad9e(0x201)](_0x55d85a);return this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':'success'},'state':0x5}),_0x44b6c9;}catch{this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1cc)},'state':0x5});}}async[_0x23d669(0x1fa)](_0x284dd2,_0x198522){const _0x36bc6c=_0x23d669;let _0x2b4944=JSON[_0x36bc6c(0x205)](_0x284dd2),_0xce7257=_0x493234[_0x36bc6c(0x1ac)](_0x2b4944),_0x11d479=_0x2b1f2b(_0xce7257),_0x4c4478=_0xce7257[_0x36bc6c(0x1ed)],_0x454e5d=Ke(_0x11d479),_0x423241=await this[_0x36bc6c(0x266)](_0x454e5d,_0x4c4478,!0x0);if(_0x423241)return this[_0x36bc6c(0x1bf)](_0x423241,0x2,_0x198522);}async[_0x23d669(0x1bf)](_0x4d07be,_0x525f89,_0x3ce77d){const _0x1adb94=_0x23d669;var _0x3b6d7e;let _0x2663dd=await this['_requestService']['export']({'unitID':_0x525f89===0x1?_0x4d07be:'','jsonID':_0x525f89===0x2?_0x4d07be:'','type':_0x3ce77d,'useImageUrl':this[_0x1adb94(0x220)](),'ignoreTableExport':this[_0x1adb94(0x29f)]()});if(!_0x2663dd){this['_requestState$'][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'export\x20error'},'state':0x2});return;}if(this['_requestState$'][_0x1adb94(0x21f)]({'error':_0x2663dd['error'],'state':0x2}),_0x2663dd[_0x1adb94(0x293)]&&_0x2663dd[_0x1adb94(0x293)][_0x1adb94(0x1f6)]!==_0x18b2f3['OK'])return;let _0x149e8f=_0x2663dd[_0x1adb94(0x27c)],_0x4d01c8=await this['_requestService'][_0x1adb94(0x28b)](_0x149e8f)[_0x1adb94(0x2b0)](_0x373a17=>{const _0x38bd9c=_0x1adb94;var _0x17f930;let _0x25a26f=_0x373a17 instanceof Error?_0x373a17[_0x38bd9c(0x21e)]:(_0x17f930=_0x373a17[_0x38bd9c(0x293)])==null?void 0x0:_0x17f930[_0x38bd9c(0x21e)];this[_0x38bd9c(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x38bd9c(0x172)],'message':_0x25a26f||''},'state':0x3});});if(!_0x4d01c8)return;let _0x4a6ef4=((_0x3b6d7e=_0x4d01c8[_0x1adb94(0x26a)])==null?void 0x0:_0x3b6d7e[_0x1adb94(0x282)])||'';if(_0x4a6ef4[_0x1adb94(0x1ed)]===0x0){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x1adb94(0x1d1)},'state':0x3});return;}this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':_0x4d01c8[_0x1adb94(0x293)],'state':0x3});let _0x56be3e=await this[_0x1adb94(0x231)](_0x4a6ef4);if(!_0x56be3e)return;let _0x286084=await H(_0x56be3e,this[_0x1adb94(0x181)]);if(!_0x286084){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x1adb94(0x1aa)},'state':0x6}),_0x286084;}async[_0x23d669(0x266)](_0x426f2b,_0x3b44b1,_0x42d751){const _0x720183=_0x23d669;let _0x37d7c9;try{_0x37d7c9=await this[_0x720183(0x2af)][_0x720183(0x2bb)](_0x426f2b,_0x3b44b1,_0x42d751);}catch(_0x216ea4){let _0x452deb=_0x216ea4 instanceof Error?_0x216ea4[_0x720183(0x21e)]:String(_0x216ea4);this['_requestState$'][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x452deb},'state':0x0});return;}if(!_0x37d7c9||typeof _0x37d7c9['FileId']!=_0x720183(0x1a8)){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x216)},'state':0x0});return;}let _0xc7a435=_0x37d7c9['FileId'];if(_0xc7a435[_0x720183(0x1ed)]===0x0){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x1ae)},'state':0x0});return;}return this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x720183(0x1aa)},'state':0x0}),_0xc7a435;}async[_0x23d669(0x24a)](_0xcbb723,_0x590f42,_0x34520d){const _0x2d8ef0=_0x23d669;let _0x56d45a={'fileID':_0xcbb723,'type':_0x34520d,'outputType':_0x590f42,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this[_0x2d8ef0(0x1ad)]()},_0x59b88f=await this['_requestService'][_0x2d8ef0(0x296)](_0x56d45a);if(!_0x59b88f){this['_requestState$'][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x2ae)},'state':0x1});return;}if(_0x59b88f['error']&&_0x59b88f[_0x2d8ef0(0x293)][_0x2d8ef0(0x1f6)]!==_0x18b2f3['OK']){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':_0x59b88f['error'],'state':0x1});return;}let _0xa52280=_0x59b88f[_0x2d8ef0(0x27c)];if(_0xa52280[_0x2d8ef0(0x1ed)]===0x0){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x1db)},'state':0x1});return;}return this[_0x2d8ef0(0x2c5)]['next']({'error':_0x59b88f[_0x2d8ef0(0x293)],'state':0x1}),_0xa52280;}async[_0x23d669(0x231)](_0x4e219e){const _0x348913=_0x23d669;let _0x5854b9=await this[_0x348913(0x2af)][_0x348913(0x230)](_0x4e219e);if(!_0x5854b9){this['_requestState$'][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}if(_0x5854b9[_0x348913(0x293)]&&_0x5854b9[_0x348913(0x293)]['code']!==_0x18b2f3['OK']){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':_0x5854b9[_0x348913(0x293)],'state':0x4});return;}let _0xb6d441=_0x1c36ea(_0x5854b9[_0x348913(0x23a)],this['_getDownloadEndpointURL']());if(_0xb6d441[_0x348913(0x1ed)]===0x0){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}return this[_0x348913(0x2c5)]['next']({'error':_0x5854b9[_0x348913(0x293)],'state':0x4}),_0xb6d441;}[_0x23d669(0x29a)](){const _0x439729=_0x23d669;var _0x28c070;let _0x561575=this[_0x439729(0x275)][_0x439729(0x190)](T);return(_0x28c070=_0x561575==null?void 0x0:_0x561575[_0x439729(0x251)])==null?location[_0x439729(0x183)]:_0x28c070;}[_0x23d669(0x23d)](){const _0x440e97=_0x23d669;var _0x5e47c6,_0xec36b7;let _0x139b25=this[_0x440e97(0x275)]['getConfig'](T);return(_0x5e47c6=_0x139b25==null||(_0xec36b7=_0x139b25[_0x440e97(0x250)])==null?void 0x0:_0xec36b7[_0x440e97(0x19a)])==null?0x1:_0x5e47c6;}['_getMinSheetColumnCount'](){const _0x2b33ed=_0x23d669;var _0x160dae,_0x4e9725;let _0x39bc62=this[_0x2b33ed(0x275)][_0x2b33ed(0x190)](T);return(_0x160dae=_0x39bc62==null||(_0x4e9725=_0x39bc62[_0x2b33ed(0x250)])==null?void 0x0:_0x4e9725[_0x2b33ed(0x1d4)])==null?0x1:_0x160dae;}[_0x23d669(0x220)](){const _0x4b6ddd=_0x23d669;var _0x164915,_0x5144e9;let _0xf194a7=this['_configService'][_0x4b6ddd(0x190)](T);return(_0x164915=_0xf194a7==null||(_0x5144e9=_0xf194a7[_0x4b6ddd(0x250)])==null?void 0x0:_0x5144e9[_0x4b6ddd(0x1b3)])==null?!0x0:_0x164915;}[_0x23d669(0x29f)](){const _0x34f43a=_0x23d669;var _0x2e6dc0,_0x440701;let _0x3ce428=this[_0x34f43a(0x275)][_0x34f43a(0x190)](T);return(_0x2e6dc0=_0x3ce428==null||(_0x440701=_0x3ce428['options'])==null?void 0x0:_0x440701[_0x34f43a(0x22b)])==null?!0x1:_0x2e6dc0;}};Y=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820)),E(0x2,_0x4a5a40(W))],Y);const it={'done':0x0,'count':0x0},X=_0x80f77a('univer-pro.exchange-client.operate.service');let Z=class extends _0x52bca0{constructor(_0x3d1142,_0x433c18,_0x5c213e,_0x201175,_0x26539f,_0x13385d,_0x1d7701){const _0x1d9087=_0x23d669;super(),this[_0x1d9087(0x1b0)]=_0x3d1142,this[_0x1d9087(0x1b7)]=_0x433c18,this[_0x1d9087(0x252)]=_0x5c213e,this[_0x1d9087(0x2a6)]=_0x201175,this[_0x1d9087(0x1e1)]=_0x26539f,this[_0x1d9087(0x226)]=_0x13385d,this[_0x1d9087(0x295)]=_0x1d7701,A(this,_0x1d9087(0x1e4),new _0x27b5e3(it)),A(this,_0x1d9087(0x182),this[_0x1d9087(0x1e4)][_0x1d9087(0x2b2)]()),A(this,_0x1d9087(0x189),0x0),A(this,_0x1d9087(0x2a5),0x0),this[_0x1d9087(0x1d6)](_0x3fea9b(this[_0x1d9087(0x2a6)][_0x1d9087(0x185)][_0x1d9087(0x1d7)](_0x3b1778=>{const _0x3880aa=_0x1d9087;var _0x280dcf;((_0x280dcf=_0x3b1778['error'])==null?void 0x0:_0x280dcf[_0x3880aa(0x1f6)])===_0x18b2f3['OK']?this['_addDoneTask'](0x1):this[_0x3880aa(0x286)](_0x3b1778[_0x3880aa(0x293)]);})));}['interrupt'](){const _0x5ef8a0=_0x23d669;this['_clearProgress'](),this['_uploadNotificationService'][_0x5ef8a0(0x1b4)](0x2),this['_exchangeService'][_0x5ef8a0(0x1a3)]();}async['uploadFileToUnitId'](_0x198f8d){const _0x4b5046=_0x23d669;throw Error(_0x4b5046(0x1dc));}async[_0x23d669(0x1ee)](){const _0x10e950=_0x23d669;let _0x36d7cb=this[_0x10e950(0x1b0)][_0x10e950(0x204)]();switch(_0x36d7cb?this[_0x10e950(0x1b0)]['getUnitType'](_0x36d7cb['getUnitId']()):_0x2d6c67['UNRECOGNIZED']){case _0x2d6c67[_0x10e950(0x26c)]:return this[_0x10e950(0x210)]();case _0x2d6c67[_0x10e950(0x169)]:return this['importDOCXToUnitId']();case _0x2d6c67['UNIVER_SHEET']:default:return this[_0x10e950(0x255)]();}}async[_0x23d669(0x27d)](){const _0x5c7eb6=_0x23d669;let _0x3e9194=await V([_0x2d6c67[_0x5c7eb6(0x169)]]);if(_0x3e9194&&!this[_0x5c7eb6(0x175)](_0x3e9194,_0x2d6c67['UNIVER_DOC']))return this[_0x5c7eb6(0x179)](_0x3e9194[0x0],_0x2d6c67[_0x5c7eb6(0x169)]);}['importDOCXToSnapshot'](){throw Error('Method\x20not\x20implemented.');}async[_0x23d669(0x242)](_0x2f0e0c,_0x1b7efc,_0x2521ba){const _0x5a6c36=_0x23d669;this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x222)]);let _0x4af797=await this[_0x5a6c36(0x2a6)][_0x5a6c36(0x242)](_0x2f0e0c||this[_0x5a6c36(0x272)]());_0x4af797&&(this[_0x5a6c36(0x2a6)][_0x5a6c36(0x1b6)](_0x4af797,_0x1b7efc||this[_0x5a6c36(0x254)](_0x4af797),_0x5a6c36(0x184)),this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x290)]));}async[_0x23d669(0x1f2)](){const _0x512397=_0x23d669;this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x222)]);let _0x1b7e35=await this[_0x512397(0x217)](),_0x535e50=await this['_exchangeService'][_0x512397(0x1f2)](_0x1b7e35);_0x535e50&&(this[_0x512397(0x2a6)]['downloadFile'](_0x535e50,this[_0x512397(0x254)](_0x535e50),_0x512397(0x184)),this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x290)]));}async[_0x23d669(0x210)](){const _0x328bfe=_0x23d669;if(this[_0x328bfe(0x17b)]()){this['_messageService'][_0x328bfe(0x1e3)]({'type':_0x2849b7['Warning'],'content':this[_0x328bfe(0x252)]['t']('exchange-client.uploading')});return;}let _0x3b6e4b=await V([_0x2d6c67[_0x328bfe(0x26c)]]);if(_0x3b6e4b&&!this[_0x328bfe(0x175)](_0x3b6e4b,_0x2d6c67[_0x328bfe(0x26c)]))return this['_importFileToUnitId'](_0x3b6e4b[0x0],_0x2d6c67[_0x328bfe(0x26c)]);}async[_0x23d669(0x18a)](){const _0x55fd25=_0x23d669;if(this['_uploadTaskNotDone']()){this[_0x55fd25(0x1b7)][_0x55fd25(0x1e3)]({'type':_0x2849b7[_0x55fd25(0x1de)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x257070=await V([_0x2d6c67['UNIVER_SLIDE']]);if(!_0x257070)return;this['_showUploadMessage'](_0x2849b7[_0x55fd25(0x222)]);let _0x5f2138=await this[_0x55fd25(0x2a6)]['importPPTXToSnapshot'](_0x257070[0x0]);_0x5f2138&&(this[_0x55fd25(0x20c)](_0x5f2138),this['_showUploadMessage'](_0x2849b7['Success']));}async[_0x23d669(0x1d2)](_0x12aa3d,_0x222d1c,_0x2b3a95){const _0x119208=_0x23d669;this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x222)]);let _0xfa760e=await this['_exchangeService'][_0x119208(0x1d2)](_0x12aa3d||this[_0x119208(0x17e)]());_0xfa760e&&(this[_0x119208(0x2a6)][_0x119208(0x1b6)](_0xfa760e,_0x222d1c||this[_0x119208(0x1cd)](_0xfa760e,_0x2b3a95==null?_0x2d6c67[_0x119208(0x26c)]:_0x2b3a95),_0x119208(0x236)),this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x290)]));}async[_0x23d669(0x1c2)](){const _0x5d9148=_0x23d669;this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x222)]);let _0x41adbc=await this[_0x5d9148(0x261)](),_0x2fa52e=await this['_exchangeService'][_0x5d9148(0x1c2)](_0x41adbc);_0x2fa52e&&(this[_0x5d9148(0x2a6)]['downloadFile'](_0x2fa52e,this[_0x5d9148(0x1cd)](_0x2fa52e,_0x2d6c67[_0x5d9148(0x26c)]),_0x5d9148(0x236)),this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x290)]));}async[_0x23d669(0x255)](){const _0x4e8929=_0x23d669;if(this[_0x4e8929(0x17b)]()){this[_0x4e8929(0x1b7)][_0x4e8929(0x1e3)]({'type':_0x2849b7[_0x4e8929(0x1de)],'content':this['_localeService']['t'](_0x4e8929(0x1a2))});return;}let _0x4d6ccc=await V([_0x2d6c67[_0x4e8929(0x239)]]);if(_0x4d6ccc&&!this[_0x4e8929(0x175)](_0x4d6ccc,_0x2d6c67[_0x4e8929(0x239)]))return this[_0x4e8929(0x179)](_0x4d6ccc[0x0],_0x2d6c67[_0x4e8929(0x239)]);}async['importXLSXToSnapshot'](){const _0x59b341=_0x23d669;if(this[_0x59b341(0x17b)]()){this[_0x59b341(0x1b7)]['show']({'type':_0x2849b7[_0x59b341(0x1de)],'content':this[_0x59b341(0x252)]['t'](_0x59b341(0x1a2))});return;}let _0x31648e=await V([_0x2d6c67[_0x59b341(0x239)]]);if(!_0x31648e)return;this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x222)]);let _0x5388c4=await this['_exchangeService'][_0x59b341(0x23c)](_0x31648e[0x0]);_0x5388c4&&(this['_refresh'](_0x5388c4),this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x290)]));}async[_0x23d669(0x224)](_0x3aa45e,_0x2899c7,_0x564067){const _0x23a693=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x23a693(0x222)]);let _0x495dbb=await this['_exchangeService'][_0x23a693(0x224)](_0x3aa45e||this[_0x23a693(0x223)]());_0x495dbb&&(this[_0x23a693(0x2a6)]['downloadFile'](_0x495dbb,_0x2899c7||this[_0x23a693(0x254)](_0x495dbb),_0x23a693(0x22f)),this[_0x23a693(0x16f)](_0x2849b7['Success']));}async['exportXLSXBySnapshot'](){const _0x43034a=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x43034a(0x222)]);let _0x4ae6a2=await this[_0x43034a(0x199)](),_0x57bb3e=await this[_0x43034a(0x2a6)][_0x43034a(0x1fd)](_0x4ae6a2);_0x57bb3e&&(this['_exchangeService'][_0x43034a(0x1b6)](_0x57bb3e,this[_0x43034a(0x254)](_0x57bb3e),'xlsx'),this[_0x43034a(0x16f)](_0x2849b7[_0x43034a(0x290)]));}[_0x23d669(0x240)](_0x460eec){const _0x3741b7=_0x23d669;this[_0x3741b7(0x1a5)]=_0x460eec;}async[_0x23d669(0x179)](_0x4c117a,_0x5333e7){const _0x2695a4=_0x23d669;this[_0x2695a4(0x1e1)][_0x2695a4(0x1e3)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x0),this[_0x2695a4(0x2ab)](0x4),this[_0x2695a4(0x18f)](0x1);let _0x3deadc=await this[_0x2695a4(0x2a6)][_0x2695a4(0x267)](_0x4c117a,_0x5333e7);if(!_0x3deadc){this[_0x2695a4(0x278)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x2);return;}let _0x5b7149={'link':this[_0x2695a4(0x1a5)](_0x3deadc,_0x5333e7),'name':_0x4c117a[_0x2695a4(0x265)],'type':_0x5333e7};return this[_0x2695a4(0x1e1)][_0x2695a4(0x1bd)](_0x5b7149),this['_completeProgress'](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x1),_0x3deadc;}[_0x23d669(0x223)](){const _0x1b86f8=_0x23d669;return this[_0x1b86f8(0x1b0)][_0x1b86f8(0x26e)](_0x2d6c67[_0x1b86f8(0x239)])[_0x1b86f8(0x268)]();}['_getUnitIDDoc'](){const _0x2c194b=_0x23d669;return this['_univerInstanceService']['getCurrentUnitOfType'](_0x2d6c67['UNIVER_DOC'])[_0x2c194b(0x268)]();}[_0x23d669(0x17e)](){const _0x196a67=_0x23d669;return this[_0x196a67(0x1b0)][_0x196a67(0x26e)](_0x2d6c67['UNIVER_SLIDE'])[_0x196a67(0x268)]();}[_0x23d669(0x254)](_0x50d594){const _0x2829d=_0x23d669;return this[_0x2829d(0x1cd)](_0x50d594,_0x2d6c67['UNIVER_SHEET']);}[_0x23d669(0x1cd)](_0x1f53b5,_0x52b0c6){const _0x310794=_0x23d669;var _0x5178ed;let _0x4bd5a2=(_0x5178ed=this[_0x310794(0x1b0)][_0x310794(0x26e)](_0x52b0c6))==null?void 0x0:_0x5178ed[_0x310794(0x259)](),_0xcfe4e=_0x4bd5a2==null?void 0x0:_0x4bd5a2[_0x310794(0x265)];return typeof _0xcfe4e==_0x310794(0x1a8)&&_0xcfe4e['trim']()?_0xcfe4e:_0x1f53b5[_0x310794(0x265)]['split']('.')[_0x310794(0x1fb)]()||document[_0x310794(0x28d)];}async[_0x23d669(0x199)](){const _0x4af984=_0x23d669;return this[_0x4af984(0x1b0)][_0x4af984(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x4af984(0x259)]();}async[_0x23d669(0x217)](){const _0x382625=_0x23d669;return this['_univerInstanceService'][_0x382625(0x26e)](_0x2d6c67[_0x382625(0x169)])['getSnapshot']();}async[_0x23d669(0x261)](){const _0x195a26=_0x23d669;let _0x47409c=this[_0x195a26(0x1b0)]['getCurrentUnitOfType'](_0x2d6c67[_0x195a26(0x26c)]),_0x4cfa94=this[_0x195a26(0x295)][_0x195a26(0x193)](_0x47409c[_0x195a26(0x268)]());return _0x4cfa94==null?_0x47409c[_0x195a26(0x259)]():_0x4cfa94;}[_0x23d669(0x1a5)](_0x3c4b72,_0x5e2008){const _0x25b605=_0x23d669;let _0xb54fad=new URL(window[_0x25b605(0x1af)][_0x25b605(0x1f0)]);return _0xb54fad[_0x25b605(0x174)]['set']('unit',_0x3c4b72),_0xb54fad[_0x25b605(0x174)][_0x25b605(0x1f3)](_0x25b605(0x2a4),''+_0x5e2008),_0xb54fad[_0x25b605(0x19e)]();}[_0x23d669(0x1a7)](_0x165ed){const _0x10fc1a=_0x23d669;let _0x55c4a3=this[_0x10fc1a(0x1b0)][_0x10fc1a(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x10fc1a(0x268)]();this[_0x10fc1a(0x1b0)]['disposeUnit'](_0x55c4a3),this[_0x10fc1a(0x1b0)][_0x10fc1a(0x1f1)](_0x2d6c67[_0x10fc1a(0x239)],_0x165ed);}['_refreshSlide'](_0x3ab6ba){const _0x244689=_0x23d669;let _0xf0abe3=this[_0x244689(0x1b0)][_0x244689(0x26e)](_0x2d6c67[_0x244689(0x26c)])[_0x244689(0x268)]();this[_0x244689(0x1b0)]['disposeUnit'](_0xf0abe3),this[_0x244689(0x1b0)][_0x244689(0x1f1)](_0x2d6c67[_0x244689(0x26c)],_0x3ab6ba);}[_0x23d669(0x286)](_0x2a8221){const _0x7b98c=_0x23d669;if(_0x2a8221){let {code:_0x4622ac}=_0x2a8221;switch(_0x4622ac){case _0x18b2f3[_0x7b98c(0x262)]:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x288))});break;case _0x18b2f3[_0x7b98c(0x191)]:this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x17a))});break;default:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x1c9))});break;}return null;}return this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t']('exchange-client.networkError')}),null;}['_showDownloadMessage'](_0xa388f){const _0x10e0ec=_0x23d669;let _0x45ddf1='';switch(_0xa388f){case _0x2849b7[_0x10e0ec(0x290)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloadSuccess');break;case _0x2849b7[_0x10e0ec(0x222)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this['_messageService']['show']({'type':_0xa388f,'content':_0x45ddf1});}['_showUploadMessage'](_0x2129b2){const _0x3da9d2=_0x23d669;let _0x13bdb0='';switch(_0x2129b2){case _0x2849b7[_0x3da9d2(0x290)]:_0x13bdb0=this['_localeService']['t'](_0x3da9d2(0x18e));break;case _0x2849b7[_0x3da9d2(0x222)]:_0x13bdb0=this[_0x3da9d2(0x252)]['t']('exchange-client.uploading');break;default:break;}this[_0x3da9d2(0x1b7)][_0x3da9d2(0x1e3)]({'type':_0x2129b2,'content':_0x13bdb0});}[_0x23d669(0x21b)](){const _0x235c24=_0x23d669;this[_0x235c24(0x1e4)]['next']({'done':this[_0x235c24(0x2a5)],'count':this[_0x235c24(0x189)]});}['_addTotalCount'](_0x164d54){const _0x440fa9=_0x23d669;this[_0x440fa9(0x189)]+=_0x164d54,this['_emitProgress']();}['_addDoneTask'](_0x1ff2b4){const _0x4e5b84=_0x23d669;this[_0x4e5b84(0x2a5)]+=_0x1ff2b4,this[_0x4e5b84(0x2a5)]=Math[_0x4e5b84(0x2a2)](this[_0x4e5b84(0x2a5)],this[_0x4e5b84(0x189)]),this[_0x4e5b84(0x21b)]();}[_0x23d669(0x1c1)](){const _0x2efdf3=_0x23d669;this[_0x2efdf3(0x2a5)]=this['_totalUploadTaskCount'],this[_0x2efdf3(0x21b)]();}[_0x23d669(0x278)](){const _0x2ab693=_0x23d669;this[_0x2ab693(0x2a5)]=0x0,this[_0x2ab693(0x189)]=0x0,this[_0x2ab693(0x21b)]();}[_0x23d669(0x175)](_0x5b490f,_0x189892){const _0x14e080=_0x23d669;let _0x111ac8=_0x5b490f[0x0],_0x19a475=_0x111ac8[_0x14e080(0x265)];return He(_0x111ac8)===_0x189892?!0x1:(this['_messageService'][_0x14e080(0x1e3)]({'type':_0x2849b7[_0x14e080(0x186)],'content':this[_0x14e080(0x252)]['t'](_0x14e080(0x2b7),_0x19a475)}),!0x0);}[_0x23d669(0x17b)](){const _0x56880c=_0x23d669;return this['_totalUploadTaskCount']!==0x0&&this[_0x56880c(0x2a5)]!==this[_0x56880c(0x189)];}};Z=D([E(0x0,_0x4a5a40(_0x5339d7)),E(0x1,_0x314cf6),E(0x2,_0x4a5a40(_0x272894)),E(0x3,_0x4a5a40(J)),E(0x4,_0x4a5a40(j)),E(0x5,_0x3a0011),E(0x6,_0x4a5a40(_0x157fb9))],Z);function at(_0x1bfa6a){const _0x5e6863=_0x23d669;let {onClick:_0x20928a,children:_0xc6debb,className:_0x4a93f0}=_0x1bfa6a;return _0x44e330(_0x5e6863(0x1c3),{'className':_0x4079bb(_0x5e6863(0x1a6),_0x4a93f0),'type':_0x5e6863(0x1c3),'onClick':_0x20928a,'children':_0xc6debb});}function ot(){const _0x867327=_0x23d669;let _0x3e9e8a=_0x34ce1b(X),_0x531745=_0x34ce1b(_0x272894);function _0x3f0776(){_0x3e9e8a['importFileToUnitIdByCurrentType']();}return _0x44e330(at,{'onClick':_0x3f0776,'children':_0x531745['t'](_0x867327(0x1ea))});}function st(){const _0x446545=_0x23d669;return _0x4de0df(_0x446545(0x203),{'className':_0x446545(0x1f8),'children':[_0x44e330(_0x446545(0x246),{'className':_0x446545(0x25f),'children':_0x34ce1b(_0x272894)['t'](_0x446545(0x29e))}),_0x44e330(ot,{})]});}function ct(_0x483d15){const _0x3f5d6b=_0x23d669;let {count:_0x24ea75}=_0x483d15;return _0x4de0df(_0x3f5d6b(0x203),{'className':_0x3f5d6b(0x1b8),'children':[_0x44e330('span',{'className':_0x3f5d6b(0x1e9),'children':_0x34ce1b(_0x272894)['t']('exchange-client.uploadSuccessTip',''+_0x24ea75)}),_0x44e330(ot,{})]});}function lt(){let _0x2efb40=_0x34ce1b(X),_0x2aa39d=_0x34ce1b(_0x272894);function _0x568d4a(){const _0x3e08f6=_0x1e38;_0x2efb40[_0x3e08f6(0x1e6)]();}return _0x44e330(at,{'onClick':_0x568d4a,'children':_0x2aa39d['t']('exchange-client.cancel')});}function ut(){const _0xaff6fc=_0x23d669;let {count:_0x48cf18,done:_0x3abac2}=_0xe4fe28(_0x34ce1b(X)[_0xaff6fc(0x182)]),_0x4428ba=_0x48cf18>0x0?_0x3abac2/_0x48cf18:0x0;return _0x44e330('div',{'className':_0xaff6fc(0x283),'children':_0x44e330(_0xaff6fc(0x203),{'className':_0xaff6fc(0x19c),'style':{'width':Math[_0xaff6fc(0x1be)](_0x4428ba*0x64)+'%'}})});}function dt(){const _0x1007b8=_0x23d669;return _0x4de0df(_0x1007b8(0x203),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x44e330(_0x1007b8(0x246),{'className':_0x1007b8(0x2a3),'children':_0x34ce1b(_0x272894)['t'](_0x1007b8(0x197))}),_0x44e330(_0x1007b8(0x203),{'className':_0x1007b8(0x1f5),'children':_0x44e330(ut,{})}),_0x44e330(lt,{})]});}const ft={0x1:_0x44e330(_0x3e9272,{'className':_0x23d669(0x24e)}),0x0:_0x44e330(_0x2706de,{'className':'univer-text-blue-500'}),0x2:_0x44e330(_0x24fa5b,{'className':_0x23d669(0x1c0)})};function pt(){const _0x493c50=_0x23d669;let _0x270a81=_0x34ce1b(j),_0x4eda31=_0x34ce1b(_0x272894),_0x49b397=_0xe4fe28(_0x270a81['state$'],0x0),_0x48d080=_0xe4fe28(_0x270a81[_0x493c50(0x23b)],!0x1),_0x52ae50=_0xe4fe28(_0x270a81[_0x493c50(0x1c5)],[]);function _0x1e766e(){const _0x4c30fa=_0x493c50;_0x270a81[_0x4c30fa(0x256)]();}function _0x4ce4f7(_0x3a76bd){const _0x2a1af6=_0x493c50;switch(_0x3a76bd){case 0x1:return _0x4eda31['t'](_0x2a1af6(0x18e));case 0x0:return _0x4eda31['t'](_0x2a1af6(0x1a2));case 0x2:return _0x4eda31['t']('exchange-client.unknownMistake');default:return'';}}return _0x48d080&&_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x1c4),'children':[_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x19b),'children':[_0x4de0df(_0x493c50(0x246),{'className':_0x493c50(0x218),'children':[_0x44e330(_0x493c50(0x246),{'className':_0x493c50(0x2b9),'children':ft[_0x49b397]}),_0x44e330(_0x493c50(0x246),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4ce4f7(_0x49b397)})]}),_0x44e330(_0x493c50(0x246),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x1e766e,'children':_0x44e330(_0x33d7e6,{})})]}),_0x4de0df(_0x493c50(0x203),{'children':[_0x49b397===0x0&&_0x44e330(dt,{}),_0x49b397===0x2&&_0x44e330(st,{}),_0x52ae50[_0x493c50(0x1ed)]>0x0&&_0x44e330(Be,{'list':_0x52ae50}),_0x49b397===0x1&&_0x44e330(ct,{'count':_0x52ae50[_0x493c50(0x1ed)]})]})]});}function mt(){return _0x44e330(pt,{});}let Q=class extends _0x52bca0{constructor(_0x461882,_0x433ba3){const _0x9435e5=_0x23d669;super(),this[_0x9435e5(0x215)]=_0x461882,this[_0x9435e5(0x1cb)]=_0x433ba3,this[_0x9435e5(0x27b)]();}[_0x23d669(0x27b)](){const _0x13fa5d=_0x23d669;this[_0x13fa5d(0x1d6)](this[_0x13fa5d(0x1cb)][_0x13fa5d(0x263)](_0x5092be[_0x13fa5d(0x20a)],()=>_0x5566e3(mt,this[_0x13fa5d(0x215)])));}};Q=D([E(0x0,_0x4a5a40(_0x567ddb)),E(0x1,_0x2ba4ee)],Q);let $=class extends _0x41f81a{constructor(_0x123845=Ie,_0x4f668b,_0x5cd3cc){const _0x12853f=_0x23d669;super(),this[_0x12853f(0x233)]=_0x123845,this[_0x12853f(0x215)]=_0x4f668b,this[_0x12853f(0x275)]=_0x5cd3cc;let {..._0x626326}=_0x4e3ddb({},Ie,this['_config']);this[_0x12853f(0x275)][_0x12853f(0x25c)](T,_0x626326);}[_0x23d669(0x274)](){const _0x28acb7=_0x23d669;_0x183bc4(this[_0x28acb7(0x215)],[[O],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[W,{'useClass':G}],[j,{'useClass':ze}]]);}['onReady'](){_0x5af7e6(this['_injector'],[[O],[Q],[X]]);}};A($,_0x23d669(0x2b4),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),A($,_0x23d669(0x212),Pe),A($,_0x23d669(0x294),Fe),$=D([_0x1569cc(_0x5408c6,_0x3e389e),E(0x1,_0x4a5a40(_0x567ddb)),E(0x2,_0x3d8792)],$);export{X as IExchangeOperateService,J as IExchangeService,$ as UniverExchangeClientPlugin,Ve as downloadFile,tt as transformSnapshotJsonToWorkbookData,Qe as transformWorkbookDataToSnapshotJson};
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3a4aa6=_0x3924;(function(_0x425301,_0xa4c1a0){const _0x4258fd=_0x3924,_0x90160c=_0x425301();while(!![]){try{const _0x4998a1=parseInt(_0x4258fd(0xbd))/0x1*(parseInt(_0x4258fd(0xb9))/0x2)+parseInt(_0x4258fd(0xba))/0x3*(-parseInt(_0x4258fd(0xb2))/0x4)+-parseInt(_0x4258fd(0xbf))/0x5+-parseInt(_0x4258fd(0xbb))/0x6*(-parseInt(_0x4258fd(0xc6))/0x7)+parseInt(_0x4258fd(0xb5))/0x8+parseInt(_0x4258fd(0xb7))/0x9*(-parseInt(_0x4258fd(0xb4))/0xa)+-parseInt(_0x4258fd(0xb8))/0xb*(-parseInt(_0x4258fd(0xb3))/0xc);if(_0x4998a1===_0xa4c1a0)break;else _0x90160c['push'](_0x90160c['shift']());}catch(_0x4695c7){_0x90160c['push'](_0x90160c['shift']());}}}(_0x558b,0xc6245));function _0x558b(){const _0x3fd900=['89073GFuaRf','22BermFF','6janhUw','3rkzBrT','61038aORTbB','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','58105KaYhBl','إلغاء','6076365IUHgPP','البيانات\x20كبيرة\x20جداً','إعادة\x20الرفع','خطأ\x20غير\x20معروف','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','تم\x20رفع\x20الملف\x20بنجاح','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','679uVcOuW','جارٍ\x20الرفع','خطأ\x20داخلي\x20غير\x20معروف','742152pZzKzB','4942416favjSu','520IYTIuV','5937696KjvYlC','يرجى\x20الانتظار...'];_0x558b=function(){return _0x3fd900;};return _0x558b();}function _0x3924(_0x5a3738,_0x6b90ea){_0x5a3738=_0x5a3738-0xb0;const _0x558ba6=_0x558b();let _0x392430=_0x558ba6[_0x5a3738];return _0x392430;}const e={'exchange-client':{'uploading':_0x3a4aa6(0xb0),'uploadSuccess':_0x3a4aa6(0xc4),'uploadSuccessTip':_0x3a4aa6(0xbc),'downloading':'جارٍ\x20التحميل','downloadSuccess':'تم\x20التحميل\x20بنجاح','unknownMistake':_0x3a4aa6(0xc2),'networkError':'خطأ\x20في\x20الشبكة','tooLarge':_0x3a4aa6(0xc0),'internalError':_0x3a4aa6(0xb1),'interrupt':_0x3a4aa6(0xc3),'fileTypeError':_0x3a4aa6(0xc5),'wait':_0x3a4aa6(0xb6),'cancel':_0x3a4aa6(0xbe),'uploadAgain':_0x3a4aa6(0xc1)}};export{e as default};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x4350(_0x56b11b,_0x50df88){_0x56b11b=_0x56b11b-0x1a2;const _0x45d2fa=_0x45d2();let _0x4350f1=_0x45d2fa[_0x56b11b];return _0x4350f1;}const _0x3e9ba9=_0x4350;(function(_0x7a7039,_0x2c2eda){const _0xc812c1=_0x4350,_0x437da7=_0x7a7039();while(!![]){try{const _0x36eebd=-parseInt(_0xc812c1(0x1b0))/0x1+-parseInt(_0xc812c1(0x1a8))/0x2*(parseInt(_0xc812c1(0x1a4))/0x3)+-parseInt(_0xc812c1(0x1a7))/0x4*(-parseInt(_0xc812c1(0x1af))/0x5)+parseInt(_0xc812c1(0x1aa))/0x6+parseInt(_0xc812c1(0x1a6))/0x7+-parseInt(_0xc812c1(0x1b3))/0x8*(-parseInt(_0xc812c1(0x1a2))/0x9)+-parseInt(_0xc812c1(0x1ad))/0xa*(parseInt(_0xc812c1(0x1b2))/0xb);if(_0x36eebd===_0x2c2eda)break;else _0x437da7['push'](_0x437da7['shift']());}catch(_0x418a98){_0x437da7['push'](_0x437da7['shift']());}}}(_0x45d2,0x481d9));const e={'exchange-client':{'uploading':_0x3e9ba9(0x1ab),'uploadSuccess':'Fitxer\x20pujat\x20correctament','uploadSuccessTip':'{0}\x20fitxer(s)\x20pujat(s)\x20correctament','downloading':_0x3e9ba9(0x1b4),'downloadSuccess':_0x3e9ba9(0x1a5),'unknownMistake':'Error\x20desconegut','networkError':_0x3e9ba9(0x1b5),'tooLarge':_0x3e9ba9(0x1b1),'internalError':_0x3e9ba9(0x1ae),'interrupt':'La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','fileTypeError':_0x3e9ba9(0x1ac),'wait':_0x3e9ba9(0x1a9),'cancel':'Cancel·lar','uploadAgain':_0x3e9ba9(0x1a3)}};function _0x45d2(){const _0x2ca6a4=['Pujant','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','10wEZMMR','Error\x20intern\x20desconegut','376250eDxZed','32247uldcKo','Les\x20dades\x20són\x20massa\x20grans','6418588EGSZVm','6112xLuDlX','Descarregant','Error\x20de\x20xarxa','315yyLxkk','Tornar\x20a\x20pujar','6ZgrNSo','Descàrrega\x20correcta','1730302OTpEXA','20AuSQsM','102434esvGbs','Espereu...','2180388rpLlwl'];_0x45d2=function(){return _0x2ca6a4;};return _0x45d2();}export{e as default};
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x2dd1(_0x503711,_0x177ad9){_0x503711=_0x503711-0x151;const _0x2b2b08=_0x2b2b();let _0x2dd198=_0x2b2b08[_0x503711];return _0x2dd198;}function _0x2b2b(){const _0xfc6a7a=['7LsHzJD','Datei\x20erfolgreich\x20hochgeladen','4641016ZZndfx','7728561vcnDmb','5365348oxXvNX','Erneut\x20hochladen','Abbrechen','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','1QmzDgo','Unbekannter\x20Fehler','3397830eqbocy','5788920ZfomHu','1112715PYXsYc','Bitte\x20warten...','Interner\x20unbekannter\x20Fehler','Download\x20erfolgreich','Netzwerkfehler','94854TXQGzs','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','Daten\x20sind\x20zu\x20groß','Wird\x20hochgeladen'];_0x2b2b=function(){return _0xfc6a7a;};return _0x2b2b();}const _0x23d24d=_0x2dd1;(function(_0x36a998,_0x55241f){const _0x3080ca=_0x2dd1,_0x3cd735=_0x36a998();while(!![]){try{const _0x45231f=parseInt(_0x3080ca(0x163))/0x1*(-parseInt(_0x3080ca(0x156))/0x2)+parseInt(_0x3080ca(0x151))/0x3+parseInt(_0x3080ca(0x15f))/0x4+parseInt(_0x3080ca(0x166))/0x5+-parseInt(_0x3080ca(0x165))/0x6*(parseInt(_0x3080ca(0x15b))/0x7)+-parseInt(_0x3080ca(0x15d))/0x8+-parseInt(_0x3080ca(0x15e))/0x9;if(_0x45231f===_0x55241f)break;else _0x3cd735['push'](_0x3cd735['shift']());}catch(_0x5413f2){_0x3cd735['push'](_0x3cd735['shift']());}}}(_0x2b2b,0xc791e));const e={'exchange-client':{'uploading':_0x23d24d(0x15a),'uploadSuccess':_0x23d24d(0x15c),'uploadSuccessTip':_0x23d24d(0x162),'downloading':'Wird\x20heruntergeladen','downloadSuccess':_0x23d24d(0x154),'unknownMistake':_0x23d24d(0x164),'networkError':_0x23d24d(0x155),'tooLarge':_0x23d24d(0x159),'internalError':_0x23d24d(0x153),'interrupt':_0x23d24d(0x158),'fileTypeError':_0x23d24d(0x157),'wait':_0x23d24d(0x152),'cancel':_0x23d24d(0x161),'uploadAgain':_0x23d24d(0x160)}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x470a(){const _0x1167a9=['File\x20uploaded\x20successfully','9129176NXRpBe','Upload\x20again','11800591vxqooW','Uploading','4JETXia','1199011TtvEHQ','9xsiXxx','13164570wuGdLd','Please\x20wait...','Unknown\x20mistake','Download\x20success','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','3589458dDgGNF','{0}\x20file(s)\x20uploaded\x20successfully','14lvzSzM','2760935KAJxXK','524289IPDPRg','Downloading','16Tautpg','Network\x20error','Data\x20is\x20too\x20large'];_0x470a=function(){return _0x1167a9;};return _0x470a();}const _0x402d8d=_0x2e52;(function(_0x4ba874,_0x3285fb){const _0xcf3fbc=_0x2e52,_0x30b785=_0x4ba874();while(!![]){try{const _0x314539=-parseInt(_0xcf3fbc(0xf0))/0x1+parseInt(_0xcf3fbc(0xe7))/0x2*(parseInt(_0xcf3fbc(0xe5))/0x3)+parseInt(_0xcf3fbc(0xef))/0x4*(parseInt(_0xcf3fbc(0xe4))/0x5)+parseInt(_0xcf3fbc(0xf7))/0x6*(parseInt(_0xcf3fbc(0xe3))/0x7)+-parseInt(_0xcf3fbc(0xeb))/0x8*(-parseInt(_0xcf3fbc(0xf1))/0x9)+-parseInt(_0xcf3fbc(0xf2))/0xa+-parseInt(_0xcf3fbc(0xed))/0xb;if(_0x314539===_0x3285fb)break;else _0x30b785['push'](_0x30b785['shift']());}catch(_0x5469ad){_0x30b785['push'](_0x30b785['shift']());}}}(_0x470a,0xaad1b));function _0x2e52(_0x1bf786,_0x59e56a){_0x1bf786=_0x1bf786-0xe3;const _0x470a48=_0x470a();let _0x2e52ab=_0x470a48[_0x1bf786];return _0x2e52ab;}const e={'exchange-client':{'uploading':_0x402d8d(0xee),'uploadSuccess':_0x402d8d(0xea),'uploadSuccessTip':_0x402d8d(0xf8),'downloading':_0x402d8d(0xe6),'downloadSuccess':_0x402d8d(0xf5),'unknownMistake':_0x402d8d(0xf4),'networkError':_0x402d8d(0xe8),'tooLarge':_0x402d8d(0xe9),'internalError':'Internal\x20unknown\x20error','interrupt':_0x402d8d(0xf6),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x402d8d(0xf3),'cancel':'Cancel','uploadAgain':_0x402d8d(0xec)}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x57e0(){const _0x483a73=['15FXfUnL','Subiendo','268482SsVKyw','984168mHQoYp','565830mlLJNU','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','942tHKTDZ','24232QqCRqy','548vOnPNj','Error\x20de\x20red','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Cancelar','Error\x20interno\x20desconocido','1252016PWAXfl','525iIHlAJ','624189VNNlsO','165vVVsDW','Espere...','Archivo\x20subido\x20exitosamente','Error\x20desconocido'];_0x57e0=function(){return _0x483a73;};return _0x57e0();}function _0x5893(_0x2834c0,_0x5c46f0){_0x2834c0=_0x2834c0-0x146;const _0x57e051=_0x57e0();let _0x589364=_0x57e051[_0x2834c0];return _0x589364;}const _0xe125c5=_0x5893;(function(_0x541ae3,_0xbaf2aa){const _0x2a30a5=_0x5893,_0x1a136c=_0x541ae3();while(!![]){try{const _0x2cb447=-parseInt(_0x2a30a5(0x149))/0x1*(parseInt(_0x2a30a5(0x14b))/0x2)+parseInt(_0x2a30a5(0x152))/0x3+-parseInt(_0x2a30a5(0x150))/0x4+-parseInt(_0x2a30a5(0x157))/0x5*(parseInt(_0x2a30a5(0x159))/0x6)+-parseInt(_0x2a30a5(0x151))/0x7*(parseInt(_0x2a30a5(0x14a))/0x8)+parseInt(_0x2a30a5(0x146))/0x9+-parseInt(_0x2a30a5(0x147))/0xa*(-parseInt(_0x2a30a5(0x153))/0xb);if(_0x2cb447===_0xbaf2aa)break;else _0x1a136c['push'](_0x1a136c['shift']());}catch(_0x403b0){_0x1a136c['push'](_0x1a136c['shift']());}}}(_0x57e0,0x390a0));const e={'exchange-client':{'uploading':_0xe125c5(0x158),'uploadSuccess':_0xe125c5(0x155),'uploadSuccessTip':_0xe125c5(0x148),'downloading':'Descargando','downloadSuccess':'Descarga\x20exitosa','unknownMistake':_0xe125c5(0x156),'networkError':_0xe125c5(0x14c),'tooLarge':'Los\x20datos\x20son\x20demasiado\x20grandes','internalError':_0xe125c5(0x14f),'interrupt':_0xe125c5(0x14d),'fileTypeError':'El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','wait':_0xe125c5(0x154),'cancel':_0xe125c5(0x14e),'uploadAgain':'Subir\x20de\x20nuevo'}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x37d0a9=_0x5091;function _0x5091(_0x5d0d95,_0x539e79){_0x5d0d95=_0x5d0d95-0x6d;const _0x5dd66a=_0x5dd6();let _0x5091a6=_0x5dd66a[_0x5d0d95];return _0x5091a6;}function _0x5dd6(){const _0x6097b6=['3992464XassPl','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','26742GHevcd','9BxCvzG','822543QLkkrn','بارگذاری\x20مجدد','در\x20حال\x20دانلود','8374390HZxJdd','11FRwFmf','3604182nvQLRe','523008HmVyfz','در\x20حال\x20بارگذاری','دانلود\x20موفقیت\x20آمیز','2761536zxcRFu','داده\x20خیلی\x20بزرگ\x20است','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','5CVPkhh','2LrWOCu'];_0x5dd6=function(){return _0x6097b6;};return _0x5dd6();}(function(_0xf65ef3,_0x482286){const _0x19e936=_0x5091,_0x530929=_0xf65ef3();while(!![]){try{const _0x1675e1=-parseInt(_0x19e936(0x6d))/0x1*(parseInt(_0x19e936(0x70))/0x2)+-parseInt(_0x19e936(0x72))/0x3+parseInt(_0x19e936(0x78))/0x4+parseInt(_0x19e936(0x7e))/0x5*(parseInt(_0x19e936(0x77))/0x6)+-parseInt(_0x19e936(0x6e))/0x7+-parseInt(_0x19e936(0x7b))/0x8*(parseInt(_0x19e936(0x71))/0x9)+-parseInt(_0x19e936(0x75))/0xa*(-parseInt(_0x19e936(0x76))/0xb);if(_0x1675e1===_0x482286)break;else _0x530929['push'](_0x530929['shift']());}catch(_0x4d926d){_0x530929['push'](_0x530929['shift']());}}}(_0x5dd6,0x560a5));const e={'exchange-client':{'uploading':_0x37d0a9(0x79),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0x37d0a9(0x7d),'downloading':_0x37d0a9(0x74),'downloadSuccess':_0x37d0a9(0x7a),'unknownMistake':'خطای\x20ناشناخته','networkError':'خطای\x20شبکه','tooLarge':_0x37d0a9(0x7c),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x37d0a9(0x6f),'wait':'لطفا\x20صبر\x20کنید...','cancel':'لغو','uploadAgain':_0x37d0a9(0x73)}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x532cd3=_0x2d52;function _0x18b9(){const _0x27112d=['Fichier\x20téléchargé\x20avec\x20succès','Erreur\x20inconnue','4GvgVRf','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','Erreur\x20réseau','Veuillez\x20patienter...','Téléchargement\x20réussi','12123408CyzOpm','2DLXWJf','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','6571134lNsWct','932658qhwKRX','259016pkfvat','2471646obUmrD','8727124zYiabO','Annuler','6245005vAGZlP'];_0x18b9=function(){return _0x27112d;};return _0x18b9();}function _0x2d52(_0x1ead4c,_0x28e15b){_0x1ead4c=_0x1ead4c-0xf4;const _0x18b9f9=_0x18b9();let _0x2d5207=_0x18b9f9[_0x1ead4c];return _0x2d5207;}(function(_0x3aecb0,_0x461437){const _0x2710ba=_0x2d52,_0x5ec862=_0x3aecb0();while(!![]){try{const _0xf058b4=parseInt(_0x2710ba(0x101))/0x1*(parseInt(_0x2710ba(0xf4))/0x2)+-parseInt(_0x2710ba(0xf5))/0x3+-parseInt(_0x2710ba(0xfb))/0x4*(-parseInt(_0x2710ba(0xf8))/0x5)+-parseInt(_0x2710ba(0x104))/0x6+parseInt(_0x2710ba(0xf6))/0x7+-parseInt(_0x2710ba(0x100))/0x8+parseInt(_0x2710ba(0x103))/0x9;if(_0xf058b4===_0x461437)break;else _0x5ec862['push'](_0x5ec862['shift']());}catch(_0x3a75f0){_0x5ec862['push'](_0x5ec862['shift']());}}}(_0x18b9,0xf1bac));const e={'exchange-client':{'uploading':'Téléchargement\x20en\x20cours','uploadSuccess':_0x532cd3(0xf9),'uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':'Téléchargement','downloadSuccess':_0x532cd3(0xff),'unknownMistake':_0x532cd3(0xfa),'networkError':_0x532cd3(0xfd),'tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x532cd3(0x102),'fileTypeError':_0x532cd3(0xfc),'wait':_0x532cd3(0xfe),'cancel':_0x532cd3(0xf7),'uploadAgain':'Télécharger\x20à\x20nouveau'}};export{e as default};
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x264f(_0x3efbf4,_0x5edf57){_0x3efbf4=_0x3efbf4-0x89;const _0x1102e7=_0x1102();let _0x264f1c=_0x1102e7[_0x3efbf4];return _0x264f1c;}function _0x1102(){const _0x4da183=['Data\x20terlalu\x20besar','296910zzXSIN','76797bHjCBZ','336979brqGLW','Kesalahan\x20internal\x20tidak\x20diketahui','Unggah\x20ulang','280VSAjed','290756nSEQKv','Mengunggah','5CjPcpM','Kesalahan\x20jaringan','268246POaaYN','Harap\x20tunggu...','2103031VlICVK','176DxRQQJ','Batal','File\x20berhasil\x20diunggah','1593519hmlrQT','6ePITJq','Unduhan\x20berhasil','{0}\x20file\x20berhasil\x20diunggah','Kesalahan\x20tidak\x20diketahui'];_0x1102=function(){return _0x4da183;};return _0x1102();}const _0x160e86=_0x264f;(function(_0x51438e,_0x83ddd2){const _0x5185d2=_0x264f,_0x43e5bd=_0x51438e();while(!![]){try{const _0x418289=-parseInt(_0x5185d2(0x91))/0x1+parseInt(_0x5185d2(0x99))/0x2+-parseInt(_0x5185d2(0x89))/0x3+-parseInt(_0x5185d2(0x95))/0x4*(parseInt(_0x5185d2(0x97))/0x5)+-parseInt(_0x5185d2(0x8a))/0x6*(-parseInt(_0x5185d2(0x9b))/0x7)+-parseInt(_0x5185d2(0x94))/0x8*(-parseInt(_0x5185d2(0x90))/0x9)+-parseInt(_0x5185d2(0x8f))/0xa*(-parseInt(_0x5185d2(0x9c))/0xb);if(_0x418289===_0x83ddd2)break;else _0x43e5bd['push'](_0x43e5bd['shift']());}catch(_0x5134d8){_0x43e5bd['push'](_0x43e5bd['shift']());}}}(_0x1102,0x414a2));const e={'exchange-client':{'uploading':_0x160e86(0x96),'uploadSuccess':_0x160e86(0x9e),'uploadSuccessTip':_0x160e86(0x8c),'downloading':'Mengunduh','downloadSuccess':_0x160e86(0x8b),'unknownMistake':_0x160e86(0x8d),'networkError':_0x160e86(0x98),'tooLarge':_0x160e86(0x8e),'internalError':_0x160e86(0x92),'interrupt':'Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','fileTypeError':'File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','wait':_0x160e86(0x9a),'cancel':_0x160e86(0x9d),'uploadAgain':_0x160e86(0x93)}};export{e as default};
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xe2b5ec=_0x213b;function _0x213b(_0x20794f,_0x515f18){_0x20794f=_0x20794f-0x1c9;const _0x459f98=_0x459f();let _0x213ba9=_0x459f98[_0x20794f];return _0x213ba9;}function _0x459f(){const _0x365a55=['69ZzzvXl','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','22592jVftSZ','Errore\x20interno\x20sconosciuto','{0}\x20file\x20caricati\x20con\x20successo','18kTUpFE','303834pZYkdy','Errore\x20di\x20rete','24KbWSIn','Annulla','Download\x20riuscito','580358DYlyjE','Errore\x20sconosciuto','709775ToWdWz','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','803915xGfvpG','210380iUSklC','129216ZGAgVm','Caricamento\x20in\x20corso'];_0x459f=function(){return _0x365a55;};return _0x459f();}(function(_0x4e0c29,_0xe912c7){const _0xde1feb=_0x213b,_0x38398c=_0x4e0c29();while(!![]){try{const _0x465bfb=parseInt(_0xde1feb(0x1d8))/0x1+-parseInt(_0xde1feb(0x1d2))/0x2+-parseInt(_0xde1feb(0x1da))/0x3*(parseInt(_0xde1feb(0x1c9))/0x4)+parseInt(_0xde1feb(0x1d4))/0x5+parseInt(_0xde1feb(0x1cd))/0x6+parseInt(_0xde1feb(0x1d6))/0x7*(parseInt(_0xde1feb(0x1cf))/0x8)+parseInt(_0xde1feb(0x1cc))/0x9*(-parseInt(_0xde1feb(0x1d7))/0xa);if(_0x465bfb===_0xe912c7)break;else _0x38398c['push'](_0x38398c['shift']());}catch(_0x58bf3a){_0x38398c['push'](_0x38398c['shift']());}}}(_0x459f,0x31d9a));const e={'exchange-client':{'uploading':_0xe2b5ec(0x1d9),'uploadSuccess':'File\x20caricato\x20con\x20successo','uploadSuccessTip':_0xe2b5ec(0x1cb),'downloading':'Download\x20in\x20corso','downloadSuccess':_0xe2b5ec(0x1d1),'unknownMistake':_0xe2b5ec(0x1d3),'networkError':_0xe2b5ec(0x1ce),'tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':_0xe2b5ec(0x1ca),'interrupt':_0xe2b5ec(0x1d5),'fileTypeError':_0xe2b5ec(0x1db),'wait':'Attendi...','cancel':_0xe2b5ec(0x1d0),'uploadAgain':'Carica\x20di\x20nuovo'}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4439fb=_0xee69;(function(_0x26f4be,_0x5df7da){const _0x2302fb=_0xee69,_0x261ae6=_0x26f4be();while(!![]){try{const _0x278a99=parseInt(_0x2302fb(0x11e))/0x1+parseInt(_0x2302fb(0x12e))/0x2*(-parseInt(_0x2302fb(0x12c))/0x3)+-parseInt(_0x2302fb(0x128))/0x4*(parseInt(_0x2302fb(0x123))/0x5)+parseInt(_0x2302fb(0x130))/0x6*(-parseInt(_0x2302fb(0x129))/0x7)+parseInt(_0x2302fb(0x12f))/0x8*(parseInt(_0x2302fb(0x121))/0x9)+parseInt(_0x2302fb(0x124))/0xa+parseInt(_0x2302fb(0x131))/0xb;if(_0x278a99===_0x5df7da)break;else _0x261ae6['push'](_0x261ae6['shift']());}catch(_0x598dff){_0x261ae6['push'](_0x261ae6['shift']());}}}(_0x453d,0x2ebe1));function _0xee69(_0x4e9435,_0x2a1681){_0x4e9435=_0x4e9435-0x11e;const _0x453dc2=_0x453d();let _0xee6907=_0x453dc2[_0x4e9435];return _0xee6907;}const e={'exchange-client':{'uploading':_0x4439fb(0x12a),'uploadSuccess':_0x4439fb(0x11f),'uploadSuccessTip':_0x4439fb(0x125),'downloading':'ダウンロード中','downloadSuccess':_0x4439fb(0x126),'unknownMistake':_0x4439fb(0x132),'networkError':_0x4439fb(0x12d),'tooLarge':_0x4439fb(0x122),'internalError':_0x4439fb(0x12b),'interrupt':'ネットワーク接続が中断され、ファイルのアップロードに失敗しました','fileTypeError':_0x4439fb(0x120),'wait':'お待ちください...','cancel':_0x4439fb(0x133),'uploadAgain':_0x4439fb(0x127)}};function _0x453d(){const _0x349c7f=['不明なエラー','キャンセル','76696PLWNpa','ファイルが正常にアップロードされました','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','18GfZYKd','データが大きすぎます','1151660NcIBaF','775650tGEfmx','{0}\x20個のファイルが正常にアップロードされました','ダウンロードが完了しました','再度アップロード','4yjsmdA','24969NluPpW','アップロード中','内部エラーが発生しました','27ctHUCu','ネットワークエラー','78502ihfvoT','1332512bmPCIr','24GLWDXB','3321197KHeRHn'];_0x453d=function(){return _0x349c7f;};return _0x453d();}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3018d8=_0x52c0;(function(_0x178bb8,_0x141b86){const _0xc2fa65=_0x52c0,_0x483a6c=_0x178bb8();while(!![]){try{const _0x333595=parseInt(_0xc2fa65(0x1ed))/0x1+parseInt(_0xc2fa65(0x1fe))/0x2*(parseInt(_0xc2fa65(0x1f4))/0x3)+parseInt(_0xc2fa65(0x1ef))/0x4*(parseInt(_0xc2fa65(0x1f3))/0x5)+parseInt(_0xc2fa65(0x1eb))/0x6*(parseInt(_0xc2fa65(0x1f0))/0x7)+-parseInt(_0xc2fa65(0x1f6))/0x8+-parseInt(_0xc2fa65(0x1fa))/0x9+-parseInt(_0xc2fa65(0x1f1))/0xa*(parseInt(_0xc2fa65(0x200))/0xb);if(_0x333595===_0x141b86)break;else _0x483a6c['push'](_0x483a6c['shift']());}catch(_0xf0507f){_0x483a6c['push'](_0x483a6c['shift']());}}}(_0x27f2,0xd8101));function _0x52c0(_0x12a397,_0x4c496d){_0x12a397=_0x12a397-0x1eb;const _0x27f221=_0x27f2();let _0x52c0fb=_0x27f221[_0x12a397];return _0x52c0fb;}const e={'exchange-client':{'uploading':_0x3018d8(0x1f8),'uploadSuccess':_0x3018d8(0x1fb),'uploadSuccessTip':_0x3018d8(0x1f7),'downloading':_0x3018d8(0x1fc),'downloadSuccess':_0x3018d8(0x202),'unknownMistake':_0x3018d8(0x1ff),'networkError':_0x3018d8(0x1f9),'tooLarge':_0x3018d8(0x1f2),'internalError':_0x3018d8(0x1fd),'interrupt':_0x3018d8(0x1f5),'fileTypeError':_0x3018d8(0x201),'wait':_0x3018d8(0x1ec),'cancel':'취소','uploadAgain':_0x3018d8(0x1ee)}};export{e as default};function _0x27f2(){const _0x560b61=['2SNOKtb','알\x20수\x20없는\x20오류','319EYTLOy','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','다운로드가\x20완료되었습니다','138azKHWn','잠시만\x20기다려\x20주세요...','337757SjGJJC','다시\x20업로드','124HdcFvT','443023bVjAHJ','570300zpCqGn','데이터가\x20너무\x20큽니다','162805yjUgoy','2164659TaHFdy','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','3578160XCkcVb','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','업로드\x20중','네트워크\x20오류','4843935MDXuHf','파일이\x20성공적으로\x20업로드되었습니다','다운로드\x20중','내부\x20오류가\x20발생했습니다'];_0x27f2=function(){return _0x560b61;};return _0x27f2();}
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x8499d4=_0xef08;function _0xef08(_0x2ef062,_0x4448b5){_0x2ef062=_0x2ef062-0x134;const _0xf40ebf=_0xf40e();let _0xef0879=_0xf40ebf[_0x2ef062];return _0xef0879;}function _0xf40e(){const _0x189b59=['Pobieranie','3886059BBvCFu','38682336ldLASi','2105405SGLNJS','12rkICnO','Proszę\x20czekać...','9393248vIwRrh','Błąd\x20sieci','45426sNeGhE','9hvBpoD','2soQWVX','Dane\x20są\x20zbyt\x20duże','35uIlZMx','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Plik\x20przesłany\x20pomyślnie','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','865139Neawui','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','Wewnętrzny\x20nieznany\x20błąd','Pobieranie\x20zakończone\x20sukcesem','4983530zPAgXd','Prześlij\x20ponownie','Nieznany\x20błąd'];_0xf40e=function(){return _0x189b59;};return _0xf40e();}(function(_0x5436f9,_0x510c27){const _0x5a3e6e=_0xef08,_0x4442fb=_0x5436f9();while(!![]){try{const _0x55cca8=-parseInt(_0x5a3e6e(0x135))/0x1+-parseInt(_0x5a3e6e(0x146))/0x2*(-parseInt(_0x5a3e6e(0x13d))/0x3)+parseInt(_0x5a3e6e(0x140))/0x4*(-parseInt(_0x5a3e6e(0x13f))/0x5)+-parseInt(_0x5a3e6e(0x144))/0x6*(parseInt(_0x5a3e6e(0x148))/0x7)+-parseInt(_0x5a3e6e(0x142))/0x8+parseInt(_0x5a3e6e(0x145))/0x9*(-parseInt(_0x5a3e6e(0x139))/0xa)+parseInt(_0x5a3e6e(0x13e))/0xb;if(_0x55cca8===_0x510c27)break;else _0x4442fb['push'](_0x4442fb['shift']());}catch(_0x110b8a){_0x4442fb['push'](_0x4442fb['shift']());}}}(_0xf40e,0xed97f));const e={'exchange-client':{'uploading':'Przesyłanie','uploadSuccess':_0x8499d4(0x14a),'uploadSuccessTip':_0x8499d4(0x134),'downloading':_0x8499d4(0x13c),'downloadSuccess':_0x8499d4(0x138),'unknownMistake':_0x8499d4(0x13b),'networkError':_0x8499d4(0x143),'tooLarge':_0x8499d4(0x147),'internalError':_0x8499d4(0x137),'interrupt':_0x8499d4(0x136),'fileTypeError':_0x8499d4(0x149),'wait':_0x8499d4(0x141),'cancel':'Anuluj','uploadAgain':_0x8499d4(0x13a)}};export{e as default};
|