@univerjs-pro/exchange-client 0.25.0 → 1.0.0-alpha.0
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.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/controllers/exchange.controller.d.ts +4 -2
- package/lib/types/facade/f-univer.d.ts +88 -0
- package/lib/types/index.d.ts +6 -5
- package/lib/types/locale/types.d.ts +3 -0
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/exchange.service.d.ts +20 -0
- package/lib/types/services/operate.service.d.ts +34 -2
- package/lib/types/services/utils/content-type.d.ts +1 -0
- package/lib/types/services/utils/snapshot.d.ts +21 -2
- package/lib/types/views/UploadNotificationContainer.d.ts +1 -1
- package/lib/types/views/link-list/LinkList.d.ts +1 -1
- package/lib/types/views/upload-again/UploadAgain.d.ts +1 -1
- package/lib/types/views/upload-button/UploadButton.d.ts +1 -1
- package/lib/types/views/upload-error/UploadError.d.ts +1 -1
- package/lib/types/views/upload-notification/UploadNotification.d.ts +1 -1
- package/lib/types/views/upload-success/UploadSuccess.d.ts +1 -1
- package/lib/types/views/uploading/Uploading.d.ts +1 -1
- package/lib/types/views/uploading/upload-cancel/UploadCancel.d.ts +1 -1
- package/lib/types/views/uploading/upload-progress/UploadProgress.d.ts +1 -1
- 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 -13
- /package/lib/types/{controllers/config.schema.d.ts → config/config.d.ts} +0 -0
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b8e1a=_0x3be9;(function(_0xc0f12,_0x3af0f1){const _0x29117d=_0x3be9,_0x423963=_0xc0f12();while(!![]){try{const _0x315d50=-parseInt(_0x29117d(0xdb))/0x1+-parseInt(_0x29117d(0xbc))/0x2+parseInt(_0x29117d(0xdc))/0x3+-parseInt(_0x29117d(0xcf))/0x4*(parseInt(_0x29117d(0xd8))/0x5)+parseInt(_0x29117d(0xd2))/0x6+parseInt(_0x29117d(0xd1))/0x7*(-parseInt(_0x29117d(0xc4))/0x8)+-parseInt(_0x29117d(0xda))/0x9*(-parseInt(_0x29117d(0xd9))/0xa);if(_0x315d50===_0x3af0f1)break;else _0x423963['push'](_0x423963['shift']());}catch(_0x3e112a){_0x423963['push'](_0x423963['shift']());}}}(_0x5834,0xe1bd0));function _0x3be9(_0x5d7bd0,_0x133bbd){_0x5d7bd0=_0x5d7bd0-0xb9;const _0x583466=_0x5834();let _0x3be964=_0x583466[_0x5d7bd0];return _0x3be964;}function _0x5834(){const _0x2c84af=['importPPTXToSnapshot','125780HkabDh','extend','UNIVER_SLIDE','FUniver','UNIVER_SHEET','IExchangeService','importPPTXToSnapshotAsync','importDOCXToUnitIdAsync','6728uObJWx','importXLSXToUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','importDOCXToSnapshotAsync','exportPPTXByUnitIdAsync','get','importPPTXToUnitIdAsync','exportXLSXByUnitIdAsync','exportDOCXBySnapshotAsync','UniverInstanceType','exportPPTXBySnapshotAsync','12ySJHWB','_injector','3535OIGVWB','1727586asEddE','exportXLSXBySnapshotAsync','exportPPTXByUnitId','exportXLSXByUnitId','importFileToUnitId','importXLSXToSnapshotAsync','1100425HOBmke','254470njGZjI','909ZTehyI','956308RZmLsG','512112zmUlHl','exportPPTXBySnapshot','exportDOCXByUnitIdAsync'];_0x5834=function(){return _0x2c84af;};return _0x5834();}let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x3b8e1a(0xbf)]{async[_0x3b8e1a(0xc5)](_0x4e541c){const _0x3e166f=_0x3b8e1a;let _0x3ba293=this[_0x3e166f(0xd0)][_0x3e166f(0xc9)](e['IExchangeService']);if(!_0x3ba293)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3ba293['importFileToUnitId'](_0x4e541c,t[_0x3e166f(0xcd)][_0x3e166f(0xc0)]);}async[_0x3b8e1a(0xd7)](_0x3d6aeb){const _0x1ab1cb=_0x3b8e1a;let _0x32fa30=this['_injector'][_0x1ab1cb(0xc9)](e[_0x1ab1cb(0xc1)]);if(!_0x32fa30)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x32fa30['importXLSXToSnapshot'](_0x3d6aeb);}async[_0x3b8e1a(0xcb)](_0x1dd6e0){const _0x23bb5d=_0x3b8e1a;let _0x455c12=this[_0x23bb5d(0xd0)][_0x23bb5d(0xc9)](e[_0x23bb5d(0xc1)]);if(!_0x455c12)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x455c12[_0x23bb5d(0xd5)](_0x1dd6e0);}async[_0x3b8e1a(0xd3)](_0x7650c2){const _0x4be635=_0x3b8e1a;let _0x2408d3=this[_0x4be635(0xd0)][_0x4be635(0xc9)](e[_0x4be635(0xc1)]);if(!_0x2408d3)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2408d3['exportXLSXBySnapshot'](_0x7650c2);}async[_0x3b8e1a(0xc3)](_0x4c30a5){const _0x284a95=_0x3b8e1a;let _0x2aa347=this[_0x284a95(0xd0)][_0x284a95(0xc9)](e['IExchangeService']);if(!_0x2aa347)throw Error(_0x284a95(0xc6));return _0x2aa347[_0x284a95(0xd6)](_0x4c30a5,t[_0x284a95(0xcd)]['UNIVER_DOC']);}async[_0x3b8e1a(0xc7)](_0x5b2842){const _0x4d8d54=_0x3b8e1a;let _0x464e58=this[_0x4d8d54(0xd0)]['get'](e['IExchangeService']);if(!_0x464e58)throw Error(_0x4d8d54(0xc6));return _0x464e58['importDOCXToSnapshot'](_0x5b2842);}async[_0x3b8e1a(0xcc)](_0x6cd047){const _0x3ed3d3=_0x3b8e1a;let _0x3bdc57=this[_0x3ed3d3(0xd0)]['get'](e[_0x3ed3d3(0xc1)]);if(!_0x3bdc57)throw Error(_0x3ed3d3(0xc6));return _0x3bdc57['exportDOCXBySnapshot'](_0x6cd047);}async[_0x3b8e1a(0xba)](_0x404507){const _0x488d88=_0x3b8e1a;let _0x1829f4=this[_0x488d88(0xd0)][_0x488d88(0xc9)](e['IExchangeService']);if(!_0x1829f4)throw Error(_0x488d88(0xc6));return _0x1829f4['exportDOCXByUnitId'](_0x404507);}async[_0x3b8e1a(0xca)](_0x656f7){const _0x2c9071=_0x3b8e1a;let _0x41e7f0=this['_injector'][_0x2c9071(0xc9)](e[_0x2c9071(0xc1)]);if(!_0x41e7f0)throw Error(_0x2c9071(0xc6));return _0x41e7f0[_0x2c9071(0xd6)](_0x656f7,t[_0x2c9071(0xcd)][_0x2c9071(0xbe)]);}async[_0x3b8e1a(0xc2)](_0x3ad5b4){const _0x53c5e4=_0x3b8e1a;let _0x337802=this[_0x53c5e4(0xd0)][_0x53c5e4(0xc9)](e[_0x53c5e4(0xc1)]);if(!_0x337802)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x337802[_0x53c5e4(0xbb)](_0x3ad5b4);}async[_0x3b8e1a(0xc8)](_0x472dc4){const _0x3918ec=_0x3b8e1a;let _0x5c8487=this[_0x3918ec(0xd0)][_0x3918ec(0xc9)](e['IExchangeService']);if(!_0x5c8487)throw Error(_0x3918ec(0xc6));return _0x5c8487[_0x3918ec(0xd4)](_0x472dc4);}async[_0x3b8e1a(0xce)](_0x15d12d){const _0x5328c4=_0x3b8e1a;let _0x1021d1=this[_0x5328c4(0xd0)][_0x5328c4(0xc9)](e[_0x5328c4(0xc1)]);if(!_0x1021d1)throw Error(_0x5328c4(0xc6));return _0x1021d1[_0x5328c4(0xb9)](_0x15d12d);}};n[_0x3b8e1a(0xbf)][_0x3b8e1a(0xbd)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3fbc(){const _0x536d26=['_getUploadFileURL','_getMinSheetRowCount','exportXLSXBySnapshot','exportServerUrl','application/octet-stream','clsx','ShareRangeIcon','_buildHttpErrorMessage','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','call','taskID','some','Success','copyFileMeta','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','jsxs','href','univer-text-sm\x20univer-text-gray-500','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-text-green-500','transformSnapshotToDocumentData','jsx','isArray','none','Tooltip','useObservable','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','HTTPResponseError','scrollbarClassName','pending','transformSnapshotToWorkbookData','version','_list$','touchDependencies','min','_buildProtocolErrorMessage','_messageService','getSheetBlock','url','docx','application/vnd.openxmlformats-officedocument.spreadsheetml.template','list$','_getIgnoreTableExport','application/vnd.openxmlformats-officedocument.wordprocessingml.document','IConfigService','_showDownloadMessage','encode','/universer-api/file/{fileID}/sign-url','import\x20error','saveSnapshot','6FEEORC','string','onStarting','_getLinkByUnitId','exchange-client.uploadSuccessTip','FileSource','packageName','IUniverInstanceService','_configService','default','/universer-api/exchange/task/{taskID}','LocaleService','iterator','_getDownloadEndpointURL','45783jayCAu','{type}','univer-pro.exchange-client.exchange.service','b64EncodeUnicode','CONTENT','get','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','Plugin','_taskInterrupted','values','createUnit','Info','getSnapshot','export','add','useState','Error','Inject','revokeObjectURL','workbook','span','resolveWithBasePath','_doneUploadTaskCount','_registerComponents','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','headers','_getExportURL','Error\x20fetching\x20file\x20from\x20URL:','resolve','clearTaskInterrupted','exchange-client.downloadSuccess','exchange-client.unknownMistake','useDependency','getResourcesRequest','length','_getUnitID','trim','Disposable','catch','IExchangeService','maxTimeoutTime','_emitProgress','2701358fmBWoT','minSheetRowCount','origin','importDOCXToSnapshot','rev','CloseIcon','setTaskInterrupted','exchange-client.tooLarge','type','_exportBySnapshot','unshift','_sheetBlockCache','fetchMissingChangesets','transformDocumentDataToSnapshotJson','Method\x20not\x20implemented.','parse','_completeProgress','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','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','style','Failed\x20to\x20get\x20unitID\x20from\x20task','connectInjector','transformSnapshotJsonToDocumentData','HTTPService','_getImportURL','importWorkbookDataToUnitId','Get\x20outputType\x20error','UNIVER_SHEET','error','floor','disableCellImageConversion','FileId','uploadFileToUnitId','exchange-client.uploading','477460YUqiLz','getTask','complete','UniverNetworkPlugin','disposeWithMe','merge','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','_blank','_addTotalCount','upload\x20failed:\x20FileId\x20is\x20empty','saveChangeset','toStringTag','&source=','file','unitID','outputType','Failed\x20to\x20get\x20file\x20from\x20url','CONNECTOR_DATA_TOO_LARGE','_signUrl','xlsx','includes','status','Failed\x20to\x20get\x20fileID\x20from\x20task','minSheetColumnCount','link','change','state$','statusText','_clearProgress','filter','_exchangeService','univer-pl-2\x20univer-pr-4','input','exchange-client.networkError','_requestState$','post','download','_localeService','HttpImport','UNIVER_UNKNOWN','defineProperty','453273sBNvdY','416678TFItua','_refresh','_httpService','getConfig','_visible$','univer-pro.exchange-client.operate.service','Failed\x20to\x20get\x20text\x20from\x20url','exportDOCXByUnitId','application/json','textDecoder','signUrlServerUrl','getDeserializedSheetBlock','UPLOADING','Injector','ILogService','exchange-client.uploadAgain','_getUnitName','application/vnd.openxmlformats-officedocument.presentationml.presentation','setConfig','number','disposeUnit','createObjectURL','exchange-client.uploadSuccess','unit','useEffect','xlsm','_uploadTaskNotDone','updateState','799014KSsnFV','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','/universer-api/exchange/{type}/import','_importToSnapshot','updateSnapshot','exchange-client.cancel','_addDoneTask','_getSignURL','blockID','export\x20error','interrupt','_config','.json','shift','Warning','_showUploadMessage','deflateSync','subscribe','_showNetworkError','univer-text-red-500','_progress$','show','enableServerSideComputing','multiple','getTextFromUrl','upload\x20request\x20failed','SlideMultiIcon','?size=','xltx','UploadNotificationState','_upload','keys','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','b64DecodeUnicode','function','getCurrentUnitOfType','dispose','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','message','{fileID}','BehaviorSubject','snapshot','createElement','45tRoGED','_totalUploadTaskCount','name','prototype','removeChild','ignoreTableExport','done','_importFileToUnitId','requestState$','UNIVER_PROJECT','getUnitId','signUrl','20560PFGIdu','univer-pro.exchange-client.request.service','UNIVER_DOC','replace','ClockIcon','searchParams','exchange-client.interrupt','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_export','_getEnableServerSideComputing','workbook.json','match','accept','IMessageService','forEach','getOwnPropertyDescriptor','asObservable','upload','file.','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','decode','_getUnitJson','stringify','originalMeta','currentTarget','UNRECOGNIZED','_getMinSheetColumnCount','has','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','ExchangeOperateService','appendChild','object','_injector','XlsxMultiIcon','UploadNotificationService','div','Failed\x20to\x20transform\x20snapshot\x20to\x20string','map','importDOCXToUnitId','ErrorCode','SUCCESS','import','sheets','toDisposable','display','getTaskServerUrl','jsonID','getUploadFile','DocMultiIcon','univer-h-6\x20univer-text-2xl','Subject','files','UploadNotificationContainer','ERROR','_requestService','_getDisableCellImageConversion','options','sheetBlocks','970JemQqg',':\x20HTTP\x20','exportXLSXByUnitId','getUnitOnRev','blob','ErrorIcon','location','univer-mt-5\x20univer-flex\x20univer-flex-col','_import','interruptImportTask','_getUnitIDDoc','unsubscribe','importXLSXToSnapshot','importXLSXToUnitId','MessageType','_getTaskURL','hide','IRequestService','exchange-client.wait','importFileToUnitId','sign\x20url\x20error','pptx','_getUnitDocJson','downloadEndpointUrl','symbol','Error\x20getting\x20file\x20name\x20from\x20URL:','data','transformWorkbookDataToSnapshot','registerComponent','_uploadNotificationService','IUIPartsService','code','body','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','doc','exchange-client.internalError','_extractErrorDetail','content-disposition','pushLink','progress$','set','toPrimitive','_list','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','importServerUrl','button','_importTaskId','uploadFileServerUrl','decorate','exchange-client.config','_fileTypeError','1232JbUPiB','_uiPartsService','transformDocumentDataToSnapshot','toString','pathname','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','createIdentifier','_state$','visible$','buffer','next','84wzkplR','join','pop','_getMaxPollingTime','append','_univerInstanceService','success','Failed\x20to\x20parse\x20json','0.25.0','transformSnapshotJsonToWorkbookData','getUniverInstanceTypeByFile','split','UniverInstanceType','pluginName','exportDOCXBySnapshot','univer-text-blue-500'];_0x3fbc=function(){return _0x536d26;};return _0x3fbc();}function _0x36cb(_0x9ec21e,_0x210aab){_0x9ec21e=_0x9ec21e-0xcf;const _0x3fbc90=_0x3fbc();let _0x36cb94=_0x3fbc90[_0x9ec21e];return _0x36cb94;}const _0x4c791d=_0x36cb;(function(_0x4edec8,_0x19119e){const _0xb5ff21=_0x36cb,_0x2593fc=_0x4edec8();while(!![]){try{const _0x19172d=parseInt(_0xb5ff21(0x11a))/0x1+parseInt(_0xb5ff21(0x227))/0x2*(parseInt(_0xb5ff21(0x119))/0x3)+parseInt(_0xb5ff21(0xf0))/0x4*(-parseInt(_0xb5ff21(0x161))/0x5)+parseInt(_0xb5ff21(0x136))/0x6+parseInt(_0xb5ff21(0x1da))/0x7*(-parseInt(_0xb5ff21(0x16d))/0x8)+parseInt(_0xb5ff21(0x235))/0x9*(-parseInt(_0xb5ff21(0x1a7))/0xa)+-parseInt(_0xb5ff21(0x25f))/0xb*(-parseInt(_0xb5ff21(0x1e5))/0xc);if(_0x19172d===_0x19119e)break;else _0x2593fc['push'](_0x2593fc['shift']());}catch(_0x5147ab){_0x2593fc['push'](_0x2593fc['shift']());}}}(_0x3fbc,0xab6aa),Object['defineProperty'](exports,Symbol[_0x4c791d(0xfb)],{'value':'Module'}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f=_0x4c791d(0x1d8),p={};var m='@univerjs-pro/exchange-client',h=_0x4c791d(0x1ed);function g(_0x32eb7e){'@babel/helpers - typeof';const _0x14fb3e=_0x4c791d;return g=typeof Symbol==_0x14fb3e(0x158)&&typeof Symbol[_0x14fb3e(0x233)]=='symbol'?function(_0x42a8df){return typeof _0x42a8df;}:function(_0x4ed800){const _0x2bf96f=_0x14fb3e;return _0x4ed800&&typeof Symbol=='function'&&_0x4ed800['constructor']===Symbol&&_0x4ed800!==Symbol[_0x2bf96f(0x164)]?'symbol':typeof _0x4ed800;},g(_0x32eb7e);}function ee(_0x4c1fc1,_0x455c34){const _0x190ace=_0x4c791d;if(g(_0x4c1fc1)!='object'||!_0x4c1fc1)return _0x4c1fc1;var _0x563574=_0x4c1fc1[Symbol[_0x190ace(0x1d0)]];if(_0x563574!==void 0x0){var _0x15ae5d=_0x563574[_0x190ace(0x1fe)](_0x4c1fc1,_0x455c34||_0x190ace(0x230));if(g(_0x15ae5d)!=_0x190ace(0x18c))return _0x15ae5d;throw TypeError(_0x190ace(0x156));}return(_0x455c34===_0x190ace(0x228)?String:Number)(_0x4c1fc1);}function te(_0xf8455d){const _0x15410a=_0x4c791d;var _0x4a4da6=ee(_0xf8455d,'string');return g(_0x4a4da6)==_0x15410a(0x1bf)?_0x4a4da6:_0x4a4da6+'';}function _(_0x237ec7,_0x353c46,_0x3b40bb){return(_0x353c46=te(_0x353c46))in _0x237ec7?Object['defineProperty'](_0x237ec7,_0x353c46,{'value':_0x3b40bb,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x237ec7[_0x353c46]=_0x3b40bb,_0x237ec7;}let ne=function(_0x21a74d){const _0x22be8b=_0x4c791d;return _0x21a74d[_0x21a74d[_0x22be8b(0x126)]=0x0]='UPLOADING',_0x21a74d[_0x21a74d['SUCCESS']=0x1]=_0x22be8b(0x195),_0x21a74d[_0x21a74d[_0x22be8b(0x1a2)]=0x2]='ERROR',_0x21a74d;}({});const v=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var y=class extends t['Disposable']{constructor(){const _0x5f3032=_0x4c791d;super(),_(this,_0x5f3032(0x11e),new o[(_0x5f3032(0x19f))]()),_(this,_0x5f3032(0x1e1),new o[(_0x5f3032(0x19f))]()),_(this,'_list$',new o[(_0x5f3032(0x19f))]()),_(this,'visible$',this[_0x5f3032(0x11e)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x10a),this[_0x5f3032(0x1e1)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x21e),this[_0x5f3032(0x215)][_0x5f3032(0x17d)]()),_(this,_0x5f3032(0x1d1),[]);}[_0x4c791d(0x15a)](){const _0x314ccf=_0x4c791d;super[_0x314ccf(0x15a)](),this[_0x314ccf(0x11e)]['complete'](),this[_0x314ccf(0x1e1)][_0x314ccf(0xf2)](),this[_0x314ccf(0x215)][_0x314ccf(0xf2)]();}['show'](){const _0x31a372=_0x4c791d;this[_0x31a372(0x11e)][_0x31a372(0x1e4)](!0x0);}[_0x4c791d(0x1b7)](){const _0x3113bf=_0x4c791d;this[_0x3113bf(0x11e)]['next'](!0x1);}[_0x4c791d(0x135)](_0x226120){const _0x293c07=_0x4c791d;this['_state$'][_0x293c07(0x1e4)](_0x226120);}['pushLink'](_0x5e3349){const _0x477fa7=_0x4c791d;this['_list'][_0x477fa7(0xd8)](_0x5e3349),this[_0x477fa7(0x215)][_0x477fa7(0x1e4)](this[_0x477fa7(0x1d1)]);}};function re(_0x388149){const _0x20f5a1=_0x4c791d;let {list:_0xafa1f1}=_0x388149;function _0x3cdf09(_0x234c1a){const _0x532bec=_0x36cb;switch(_0x234c1a){case 0x1:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x19d)],{});case 0x2:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x18e)],{});case 0x3:return(0x0,c[_0x532bec(0x20a)])(i[_0x532bec(0x150)],{});default:return null;}}return(0x0,c['jsx'])('div',{'className':(0x0,s['clsx'])(_0x20f5a1(0x189),s[_0x20f5a1(0x211)]),'children':(0x0,c[_0x20f5a1(0x20a)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0xafa1f1[_0x20f5a1(0x192)]((_0x303107,_0x3bec97)=>(0x0,c[_0x20f5a1(0x20a)])('li',{'children':(0x0,c[_0x20f5a1(0x204)])('a',{'className':_0x20f5a1(0x15b),'href':_0x303107[_0x20f5a1(0x108)],'target':_0x20f5a1(0xf7),'rel':'noreferrer','children':[(0x0,c[_0x20f5a1(0x204)])(_0x20f5a1(0x249),{'className':_0x20f5a1(0x24d),'children':[(0x0,c[_0x20f5a1(0x20a)])(_0x20f5a1(0x249),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x3cdf09(_0x303107[_0x20f5a1(0xd6)])}),(0x0,c[_0x20f5a1(0x20a)])(s[_0x20f5a1(0x20d)],{'showIfEllipsis':!0x0,'title':_0x303107[_0x20f5a1(0x163)],'asChild':!0x0,'children':(0x0,c[_0x20f5a1(0x20a)])('span',{'className':_0x20f5a1(0x174),'children':_0x303107['name']})})]}),(0x0,c[_0x20f5a1(0x20a)])('span',{'className':_0x20f5a1(0x207),'children':(0x0,c[_0x20f5a1(0x20a)])(i[_0x20f5a1(0x1fb)],{})})]})},_0x3bec97))})});}const b=_0x4c791d(0x220),x=_0x4c791d(0xe0),S='application/vnd.ms-excel.sheet.macroEnabled.12',C=_0x4c791d(0x21d),w=_0x4c791d(0x12b),T={[t['UniverInstanceType'][_0x4c791d(0x117)]]:[''],[t['UniverInstanceType']['UNIVER_DOC']]:[b],[t['UniverInstanceType'][_0x4c791d(0xe9)]]:[x,S,C],[t[_0x4c791d(0x1f1)]['UNIVER_SLIDE']]:[w],[t[_0x4c791d(0x1f1)][_0x4c791d(0x16a)]]:[''],[t[_0x4c791d(0x1f1)]['UNRECOGNIZED']]:['']},E={[b]:'docx',[x]:_0x4c791d(0x103),[S]:_0x4c791d(0x133),[C]:_0x4c791d(0x152),[w]:_0x4c791d(0x1bc)};function D(_0x222418,_0x112859,_0x582897){const _0x1ef9e5=_0x4c791d;let _0xbd3676=document[_0x1ef9e5(0x160)]('a');_0xbd3676['href']=_0x222418,_0xbd3676[_0x1ef9e5(0xe1)][_0x1ef9e5(0x199)]=_0x1ef9e5(0x20c),_0xbd3676[_0x1ef9e5(0x114)]=_0x112859+'.'+_0x582897,document[_0x1ef9e5(0x1c7)][_0x1ef9e5(0x18b)](_0xbd3676),_0xbd3676['click'](),document[_0x1ef9e5(0x1c7)][_0x1ef9e5(0x165)](_0xbd3676);}function O(_0x37252b,_0x409b79,_0x4f5427){const _0x5377d7=_0x4c791d;let _0x448d40=URL[_0x5377d7(0x12f)](_0x37252b);D(_0x448d40,_0x409b79,_0x4f5427),URL[_0x5377d7(0x247)](_0x448d40);}function k(_0x481a8d){const _0xad34c9=_0x4c791d;let _0x270a78=_0x481a8d['name']['split']('.')['pop']();if(!_0x270a78)return t[_0xad34c9(0x1f1)][_0xad34c9(0x117)];let _0x240b20=ie(),_0x40dfd0=t[_0xad34c9(0x1f1)][_0xad34c9(0x117)];return _0x240b20[_0xad34c9(0x200)](_0x329ad1=>ae(_0x270a78,_0x329ad1)?(_0x40dfd0=_0x329ad1,!0x0):!0x1),_0x40dfd0;}function ie(){const _0xe2d9f2=_0x4c791d;return Object[_0xe2d9f2(0x23e)](t[_0xe2d9f2(0x1f1)])[_0xe2d9f2(0x10d)](_0x36306c=>typeof _0x36306c=='number');}function ae(_0x33e529,_0x2fabce){const _0x2a635b=_0x4c791d;return T[_0x2fabce][_0x2a635b(0x192)](_0x2ce4cc=>(E[_0x2ce4cc]||'')['toLowerCase']())[_0x2a635b(0x104)](_0x33e529['toLowerCase']());}function A(_0x1d40b9,_0xd8554a=!0x1){const _0x1c069d=_0x4c791d;let _0x49c74e=_0x1d40b9[_0x1c069d(0x192)](_0x17091c=>T[_0x17091c])['join'](',');return new Promise((_0x592c72,_0x800f00)=>{const _0x5b2d5f=_0x1c069d;let _0x27702f=document[_0x5b2d5f(0x160)](_0x5b2d5f(0x110));_0x27702f['type']=_0x5b2d5f(0xfd),_0x27702f[_0x5b2d5f(0x179)]=_0x49c74e,_0x27702f[_0x5b2d5f(0x14d)]=_0xd8554a,_0x27702f['addEventListener'](_0x5b2d5f(0x109),_0x14a7fb=>{const _0x3b4784=_0x5b2d5f;let _0x29fefe=_0x14a7fb[_0x3b4784(0x185)];if(!_0x29fefe['files']||_0x29fefe[_0x3b4784(0x1a0)][_0x3b4784(0x257)]===0x0)throw _0x800f00(null),Error('No\x20file\x20selected');_0x592c72(_0x29fefe[_0x3b4784(0x1a0)]);}),_0x27702f['click']();});}async function j(_0x1a2462,_0x309130){const _0x3992a4=_0x4c791d;try{var _0x2520d0,_0x1b9015,_0x4c227f;let _0x5316e1=await _0x309130[_0x3992a4(0x23a)](_0x1a2462,{'responseType':_0x3992a4(0x1ab)}),_0x2a212a=_0x5316e1[_0x3992a4(0x1c7)],_0x5e51f9=(_0x2520d0=(_0x1b9015=_0x5316e1['headers'][_0x3992a4(0x23a)]('Content-Type'))==null?void 0x0:_0x1b9015[_0x3992a4(0x1e6)](',\x20'))==null?_0x3992a4(0x1f9):_0x2520d0,_0x4856b0=_0x3992a4(0x17f)+(E[_0x5e51f9]||_0x3992a4(0x103)),_0x162f33=(_0x4c227f=_0x5316e1[_0x3992a4(0x24e)][_0x3992a4(0x23a)](_0x3992a4(0x1cc)))==null?void 0x0:_0x4c227f[_0x3992a4(0x1e6)](',\x20');if(_0x162f33){let _0x2e0922=_0x162f33[_0x3992a4(0x178)](/filename=(.+)/);_0x2e0922&&_0x2e0922[0x1]&&(_0x4856b0=_0x2e0922[0x1]);}else _0x4856b0=M(_0x1a2462)||_0x4856b0;return new File([_0x2a212a],_0x4856b0,{'type':_0x5e51f9});}catch(_0x26fb43){console[_0x3992a4(0xea)](_0x3992a4(0x250),_0x26fb43);return;}}function M(_0x469279){const _0x16fe97=_0x4c791d;try{return new URL(_0x469279)[_0x16fe97(0x1de)]['split']('/')[_0x16fe97(0x1e7)]();}catch(_0x4cbbb1){console[_0x16fe97(0xea)](_0x16fe97(0x1c0),_0x4cbbb1);return;}}function N(_0x5a229a){const _0x26e247=_0x4c791d;let _0x27d9d0=new Blob([_0x5a229a[_0x26e247(0x1e3)]],{'type':_0x26e247(0x122)});return new File([_0x27d9d0],'file.json');}function P(_0x4fb95c,_0xf80c6d){const _0x101048=_0x4c791d;return _0x4fb95c[_0x101048(0x170)](_0x101048(0x236),_0xf80c6d);}function oe(_0x8ff3ad,_0x123f43){const _0x312b35=_0x4c791d;return _0x8ff3ad[_0x312b35(0x170)]('{taskID}',_0x123f43);}function se(_0x4175a4,_0x49cc71){const _0x5b9750=_0x4c791d;return _0x4175a4['replace'](_0x5b9750(0x15d),_0x49cc71);}function F(_0x3ad715,_0x24d892){return function(_0x1e89a7,_0x47dfe6){_0x24d892(_0x1e89a7,_0x47dfe6,_0x3ad715);};}function I(_0x471a09,_0x1e3a4f,_0x537f7b,_0x43ef17){const _0x3cadd6=_0x4c791d;var _0x3503b1=arguments[_0x3cadd6(0x257)],_0x5912be=_0x3503b1<0x3?_0x1e3a4f:_0x43ef17===null?_0x43ef17=Object[_0x3cadd6(0x17c)](_0x1e3a4f,_0x537f7b):_0x43ef17,_0x59dcb7;if(typeof Reflect==_0x3cadd6(0x18c)&&typeof Reflect[_0x3cadd6(0x1d7)]==_0x3cadd6(0x158))_0x5912be=Reflect[_0x3cadd6(0x1d7)](_0x471a09,_0x1e3a4f,_0x537f7b,_0x43ef17);else{for(var _0x28be26=_0x471a09[_0x3cadd6(0x257)]-0x1;_0x28be26>=0x0;_0x28be26--)(_0x59dcb7=_0x471a09[_0x28be26])&&(_0x5912be=(_0x3503b1<0x3?_0x59dcb7(_0x5912be):_0x3503b1>0x3?_0x59dcb7(_0x1e3a4f,_0x537f7b,_0x5912be):_0x59dcb7(_0x1e3a4f,_0x537f7b))||_0x5912be);}return _0x3503b1>0x3&&_0x5912be&&Object['defineProperty'](_0x1e3a4f,_0x537f7b,_0x5912be),_0x5912be;}const L=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x16e));let R=class{constructor(_0x4eee81,_0x3a10c9){const _0x164751=_0x4c791d;this[_0x164751(0x22f)]=_0x4eee81,this['_httpService']=_0x3a10c9,_(this,_0x164751(0x23d),new Set());}['dispose'](){}[_0x4c791d(0xd4)](_0x505ddb){const _0x22a0c7=_0x4c791d;this['_taskInterrupted'][_0x22a0c7(0x243)](_0x505ddb);}[_0x4c791d(0x252)](){const _0x180760=_0x4c791d;this[_0x180760(0x23d)]['clear']();}async[_0x4c791d(0x17e)](_0x597f24,_0x2d01ab=0x0,_0xe47562=!0x1){const _0x33a1ba=_0x4c791d;if(typeof _0x597f24==_0x33a1ba(0x228)){let _0x27c7fe=await j(_0x597f24,this[_0x33a1ba(0x11c)]);if(!_0x27c7fe)throw Error(_0x33a1ba(0x203));_0x597f24=_0x27c7fe;}_0x2d01ab=_0x2d01ab||_0x597f24['size'];let _0xc52b19=new FormData();_0xc52b19[_0x33a1ba(0x1e9)](_0x33a1ba(0xfd),_0x597f24);try{let _0x5e9378=this[_0x33a1ba(0x1f5)]()+_0x33a1ba(0x151)+_0x2d01ab+_0x33a1ba(0xfc)+l[_0x33a1ba(0x22c)][_0x33a1ba(0x116)]+'&flate='+_0xe47562,_0x1a58da={'body':_0xc52b19},_0x12c6ca=(await this[_0x33a1ba(0x11c)][_0x33a1ba(0x113)](_0x5e9378,_0x1a58da))['body'];if(_0x12c6ca[_0x33a1ba(0xea)]&&_0x12c6ca['error'][_0x33a1ba(0x1c6)]!==l[_0x33a1ba(0x194)]['OK'])throw Error(this[_0x33a1ba(0x218)](_0x33a1ba(0x14f),_0x12c6ca[_0x33a1ba(0xea)]));return _0x12c6ca;}catch(_0x23ffb1){throw _0x23ffb1 instanceof Error?_0x23ffb1:Error(this[_0x33a1ba(0x1fc)]('upload\x20request\x20failed',_0x23ffb1));}}async['import'](_0x5d8cf0){const _0x467ae2=_0x4c791d;let {fileID:_0x33d194,type:_0x42d478,outputType:_0x3aadd0,minSheetColumnCount:_0x26f6fa,minSheetRowCount:_0x544453}=_0x5d8cf0;try{let _0x12955f=P(this[_0x467ae2(0xe6)](),''+_0x42d478),_0x239fac={'body':{'fileID':_0x33d194,'outputType':_0x3aadd0,'minSheetColumnCount':_0x26f6fa,'minSheetRowCount':_0x544453}},_0xc05b8f=(await this['_httpService']['post'](_0x12955f,_0x239fac))[_0x467ae2(0x1c7)];return _0xc05b8f['error']&&_0xc05b8f[_0x467ae2(0xea)][_0x467ae2(0x1c6)]!==l[_0x467ae2(0x194)]['OK']?void 0x0:_0xc05b8f;}catch{return;}}async[_0x4c791d(0x242)](_0x1ec88a){const _0x16c314=_0x4c791d;let {unitID:_0xd832f3,jsonID:_0x9a117f,type:_0x1ea946,sscSwitch:_0x732b97,useImageUrl:_0x5ce812,ignoreTableExport:_0x44e3cf}=_0x1ec88a;try{let _0x4ef788=P(this[_0x16c314(0x24f)](),''+_0x1ea946),_0x121561={'body':{'unitID':_0xd832f3,'jsonID':_0x9a117f,'type':_0x1ea946,'sscSwitch':_0x732b97,'useImageUrl':_0x5ce812,'ignoreTableExport':_0x44e3cf}},_0x500d9c=(await this[_0x16c314(0x11c)][_0x16c314(0x113)](_0x4ef788,_0x121561))[_0x16c314(0x1c7)];return _0x500d9c[_0x16c314(0xea)]&&_0x500d9c[_0x16c314(0xea)][_0x16c314(0x1c6)]!==l[_0x16c314(0x194)]['OK']?void 0x0:_0x500d9c;}catch{return;}}async[_0x4c791d(0xf1)](_0x12faeb){return new Promise((_0x3160a1,_0x4361ab)=>{const _0x1e93f4=_0x36cb;try{let _0x4ce1d4=0x0,_0xa25ca7=oe(this[_0x1e93f4(0x1b6)](),''+_0x12faeb),_0x247781=this[_0x1e93f4(0x1e8)](),_0x47ee04=async()=>{const _0x3c4cbb=_0x1e93f4;if(this[_0x3c4cbb(0x23d)][_0x3c4cbb(0x188)](_0x12faeb))return;let _0x24dd71=(await this['_httpService'][_0x3c4cbb(0x23a)](_0xa25ca7))['body'];if(_0x24dd71[_0x3c4cbb(0xea)]&&_0x24dd71['error']['code']===l['ErrorCode']['OK']){if(_0x24dd71['status']===_0x3c4cbb(0x167))_0x3160a1(_0x24dd71);else{if(_0x24dd71[_0x3c4cbb(0x105)]===_0x3c4cbb(0x212)){let _0x4e1092=0x3e8;if(_0x4ce1d4>=_0x247781){_0x4361ab(_0x24dd71);return;}else _0x4ce1d4>=0x7530&&(_0x4e1092=0x1388);_0x4ce1d4+=_0x4e1092,setTimeout(_0x47ee04,_0x4e1092);}else _0x4361ab(_0x24dd71);}}else _0x4361ab(_0x24dd71);};_0x47ee04();}catch(_0x455716){_0x4361ab(_0x455716 instanceof Error?_0x455716:Error(String(_0x455716)));}});}async['signUrl'](_0x3f1a6c){const _0x54aacc=_0x4c791d;try{let _0x11e6e4=se(this[_0x54aacc(0x13d)](),''+_0x3f1a6c);return(await this[_0x54aacc(0x11c)]['get'](_0x11e6e4))['body'];}catch{return;}}async[_0x4c791d(0x14e)](_0x4effe9){const _0x242243=_0x4c791d;try{return(await this[_0x242243(0x11c)]['get'](_0x4effe9,{'responseType':'text'}))[_0x242243(0x1c7)];}catch{return;}}[_0x4c791d(0x218)](_0xdcf9cc,_0x3a21ac){let _0xce611f=this['_extractErrorDetail'](_0x3a21ac);return _0xce611f?_0xdcf9cc+':\x20'+_0xce611f:_0xdcf9cc;}[_0x4c791d(0x1fc)](_0x3592dc,_0x58a9d1){const _0x346b6f=_0x4c791d;if(_0x58a9d1 instanceof n[_0x346b6f(0x210)]){let _0x273514=typeof _0x58a9d1[_0x346b6f(0x105)]==_0x346b6f(0x12d)?''+_0x58a9d1[_0x346b6f(0x105)]+(_0x58a9d1[_0x346b6f(0x10b)]?'\x20'+_0x58a9d1[_0x346b6f(0x10b)]:''):void 0x0,_0x36714c=this[_0x346b6f(0x1cb)](_0x58a9d1[_0x346b6f(0xea)]);return _0x273514&&_0x36714c?_0x3592dc+':\x20HTTP\x20'+_0x273514+'\x20-\x20'+_0x36714c:_0x273514?_0x3592dc+_0x346b6f(0x1a8)+_0x273514:_0x36714c?_0x3592dc+':\x20'+_0x36714c:_0x3592dc;}let _0x27cc19=this[_0x346b6f(0x1cb)](_0x58a9d1);return _0x27cc19?_0x3592dc+':\x20'+_0x27cc19:_0x3592dc;}[_0x4c791d(0x1cb)](_0x5ec5ef){const _0x330924=_0x4c791d;if(typeof _0x5ec5ef==_0x330924(0x228)){let _0x545bba=_0x5ec5ef['trim']();return _0x545bba[_0x330924(0x257)]>0x0?_0x545bba:void 0x0;}if(_0x5ec5ef instanceof Error)return this[_0x330924(0x1cb)](_0x5ec5ef[_0x330924(0x15c)]);if(!_0x5ec5ef||typeof _0x5ec5ef!=_0x330924(0x18c)||Array[_0x330924(0x20b)](_0x5ec5ef))return;let _0x452245=_0x5ec5ef,_0x16934d=this[_0x330924(0x1cb)](_0x452245[_0x330924(0x15c)]);if(_0x16934d)return _0x16934d;if(_0x452245[_0x330924(0xea)]&&typeof _0x452245['error']==_0x330924(0x18c)&&!Array[_0x330924(0x20b)](_0x452245[_0x330924(0xea)])){let _0x406d3e=this[_0x330924(0x1cb)](_0x452245['error']);if(_0x406d3e)return _0x406d3e;}}[_0x4c791d(0x1f5)](){const _0x1a28af=_0x4c791d;var _0x1b0659;let _0x1f6c14=this[_0x1a28af(0x22f)][_0x1a28af(0x11d)](f);return(_0x1b0659=_0x1f6c14==null?void 0x0:_0x1f6c14[_0x1a28af(0x1d6)])==null?'/universer-api/stream/file/upload':_0x1b0659;}[_0x4c791d(0xe6)](){const _0x213996=_0x4c791d;var _0x4a7a3b;let _0x38bfba=this['_configService'][_0x213996(0x11d)](f);return(_0x4a7a3b=_0x38bfba==null?void 0x0:_0x38bfba[_0x213996(0x1d3)])==null?_0x213996(0x138):_0x4a7a3b;}[_0x4c791d(0x24f)](){const _0xec9b08=_0x4c791d;var _0x32fa3e;let _0x336e8c=this[_0xec9b08(0x22f)]['getConfig'](f);return(_0x32fa3e=_0x336e8c==null?void 0x0:_0x336e8c[_0xec9b08(0x1f8)])==null?'/universer-api/exchange/{type}/export':_0x32fa3e;}[_0x4c791d(0x1b6)](){const _0x4362d8=_0x4c791d;var _0x1a999a;let _0x546393=this['_configService']['getConfig'](f);return(_0x1a999a=_0x546393==null?void 0x0:_0x546393[_0x4362d8(0x19a)])==null?_0x4362d8(0x231):_0x1a999a;}[_0x4c791d(0x13d)](){const _0x6c96b7=_0x4c791d;var _0x5c9bb0;let _0x18012e=this[_0x6c96b7(0x22f)][_0x6c96b7(0x11d)](f);return(_0x5c9bb0=_0x18012e==null?void 0x0:_0x18012e[_0x6c96b7(0x124)])==null?_0x6c96b7(0x224):_0x5c9bb0;}[_0x4c791d(0x1e8)](){const _0x21dde9=_0x4c791d;var _0x1ff7a9;let _0x5f020b=this[_0x21dde9(0x22f)][_0x21dde9(0x11d)](f);return(_0x1ff7a9=_0x5f020b==null?void 0x0:_0x5f020b[_0x21dde9(0x25d)])==null?0x1d4c0:_0x1ff7a9;}};R=I([F(0x0,t['IConfigService']),F(0x1,(0x0,t[_0x4c791d(0x246)])(n['HTTPService']))],R);function ce(_0x14f8f2){const _0x589043=_0x4c791d;let _0x1f4364=_0x14f8f2[_0x589043(0x248)];if(!_0x1f4364)return null;let _0x57d14d={};_0x1f4364[_0x589043(0x197)]&&Object[_0x589043(0x155)](_0x1f4364['sheets'])[_0x589043(0x17b)](_0x2a06c5=>{const _0x35c611=_0x589043;let _0x3b6913=_0x1f4364[_0x35c611(0x197)][_0x2a06c5];_0x57d14d[_0x2a06c5]={..._0x3b6913,'originalMeta':(0x0,u[_0x35c611(0x238)])(u[_0x35c611(0x123)][_0x35c611(0x181)](_0x3b6913['originalMeta']))};});let _0x22d0eb=(0x0,u[_0x589043(0x238)])(u[_0x589043(0x123)][_0x589043(0x181)](_0x1f4364['originalMeta']));return{..._0x14f8f2,'workbook':{..._0x1f4364,'originalMeta':_0x22d0eb,'sheets':_0x57d14d},'doc':{}};}function le(_0x1427ea){const _0x5e519b=_0x4c791d;let _0x3054ba=_0x1427ea[_0x5e519b(0x1c9)];if(!_0x3054ba)return null;let _0x50639a=(0x0,u[_0x5e519b(0x238)])(u[_0x5e519b(0x123)][_0x5e519b(0x181)](_0x3054ba[_0x5e519b(0x184)]));return{..._0x1427ea,'workbook':{},'doc':{..._0x3054ba,'originalMeta':_0x50639a}};}function ue(_0x234605){const _0x34f4bd=_0x4c791d;let _0x198960={};return _0x234605[_0x34f4bd(0x17b)](_0x48776b=>{const _0x5dd725=_0x34f4bd;_0x198960[_0x48776b['id']]={..._0x48776b,'data':(0x0,u['b64EncodeUnicode'])(u[_0x5dd725(0x123)][_0x5dd725(0x181)](_0x48776b['data']))};}),_0x198960;}async function z(_0x3f4927){const _0x45c825=_0x4c791d;var _0x4bd413;let _0x35eba={'metadata':void 0x0},_0x19e56b=_0x3f4927['id'],_0x265eeb=(_0x4bd413=_0x3f4927['rev'])==null?0x0:_0x4bd413,_0x462f5c=new U(),{snapshot:_0x560eba}=await(0x0,u[_0x45c825(0x1c2)])(_0x35eba,_0x3f4927,_0x19e56b,_0x265eeb,_0x462f5c),_0x3c2d2a=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x560eba,_0x462f5c),_0x2458b4=ce(_0x560eba);if(!_0x2458b4)throw Error(_0x45c825(0x191));return{'snapshot':_0x2458b4,'sheetBlocks':ue(_0x3c2d2a)};}async function B(_0x17ecd2){const _0x4b69a0=_0x4c791d;var _0x147eb2;let _0x3d9341={'metadata':void 0x0},_0x9497e3=_0x17ecd2['id'],{snapshot:_0x456840}=await(0x0,u[_0x4b69a0(0x1dc)])(_0x3d9341,_0x17ecd2,_0x9497e3,(_0x147eb2=_0x17ecd2[_0x4b69a0(0xd2)])==null?0x0:_0x147eb2,new U()),_0x2fe196=le(_0x456840);if(!_0x2fe196)throw Error(_0x4b69a0(0x191));return{'snapshot':_0x2fe196,'sheetBlocks':{}};}async function V(_0x509f12){const _0x4af2dd=_0x4c791d;let _0x106569=_0x509f12[_0x4af2dd(0x15f)],_0x30b253=_0x509f12[_0x4af2dd(0x1a6)]||{};return await(0x0,u[_0x4af2dd(0x213)])(_0x106569,Object[_0x4af2dd(0x155)](_0x30b253)['map'](_0x851102=>_0x30b253[_0x851102])['map'](_0x4f9f88=>({..._0x4f9f88,'data':_0x4f9f88[_0x4af2dd(0x1c1)]?JSON[_0x4af2dd(0xdd)]((0x0,u[_0x4af2dd(0x157)])(_0x4f9f88[_0x4af2dd(0x1c1)])):void 0x0})));}function H(_0x5273bb){const _0x42cfb9=_0x4c791d;let _0x3607b1=_0x5273bb[_0x42cfb9(0x15f)];return(0x0,u[_0x42cfb9(0x209)])(_0x3607b1);}var U=class{constructor(){const _0x274d95=_0x4c791d;_(this,_0x274d95(0xd9),new Map());}[_0x4c791d(0x1aa)](){const _0x38c6ef=_0x4c791d;return Promise[_0x38c6ef(0x251)]({'snapshot':{'unitID':'','type':t[_0x38c6ef(0x1f1)][_0x38c6ef(0xe9)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':l[_0x38c6ef(0x194)]['OK'],'message':''}});}[_0x4c791d(0x21a)](_0x59f4c6,_0x21d258){const _0x4beedc=_0x4c791d;let _0x354569=this['_sheetBlockCache']['get'](_0x21d258[_0x4beedc(0x13e)]);return Promise[_0x4beedc(0x251)]({'block':_0x354569,'error':{'code':l[_0x4beedc(0x194)]['OK'],'message':''}});}[_0x4c791d(0x125)](_0x4ab056,_0x3629f0){const _0x1b481e=_0x4c791d;let _0xde2057=this[_0x1b481e(0xd9)][_0x1b481e(0x23a)](_0x3629f0[_0x1b481e(0x13e)]);return Promise[_0x1b481e(0x251)]({'block':_0xde2057===void 0x0?void 0x0:{..._0xde2057,'data':JSON[_0x1b481e(0xdd)](u['textDecoder']['decode'](_0xde2057[_0x1b481e(0x1c1)]))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x4c791d(0xda)](){const _0x3a059f=_0x4c791d;return Promise[_0x3a059f(0x251)]({'changesets':[],'error':{'code':l[_0x3a059f(0x194)]['OK'],'message':''}});}[_0x4c791d(0x256)](){const _0x19c859=_0x4c791d;return Promise['resolve']({'resources':{},'error':{'code':l[_0x19c859(0x194)]['OK'],'message':''}});}[_0x4c791d(0x226)](){const _0x317fcd=_0x4c791d;return Promise[_0x317fcd(0x251)]({'error':{'code':l[_0x317fcd(0x194)]['OK'],'message':''}});}[_0x4c791d(0x13a)](){const _0x3cf5ee=_0x4c791d;return Promise['resolve']({'error':{'code':l[_0x3cf5ee(0x194)]['OK'],'message':''}});}['saveSheetBlock'](_0x383043,_0x1b7c11){const _0x28b0f9=_0x4c791d;let {block:_0x2b4335}=_0x1b7c11;return _0x2b4335?(this[_0x28b0f9(0xd9)][_0x28b0f9(0x1cf)](_0x2b4335['id'],_0x2b4335),Promise[_0x28b0f9(0x251)]({'error':{'code':l[_0x28b0f9(0x194)]['OK'],'message':''},'blockID':_0x2b4335['id']})):Promise['resolve']({'error':{'code':l[_0x28b0f9(0x194)]['UNDEFINED'],'message':'block\x20is\x20required'},'blockID':''});}[_0x4c791d(0xfa)](){const _0x1cab67=_0x4c791d;return Promise[_0x1cab67(0x251)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x4c791d(0x202)](){const _0x20c594=_0x4c791d;return Promise[_0x20c594(0x251)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x551045=_0x4c791d;return Promise[_0x551045(0x251)]({'error':void 0x0,'latestReqID':0x0});}};const W=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x237));let G=class extends t[_0x4c791d(0x25a)]{constructor(_0x1a547e,_0x14c71c,_0x1cba9e){const _0x33b02e=_0x4c791d;super(),this[_0x33b02e(0x22f)]=_0x1a547e,this[_0x33b02e(0x11c)]=_0x14c71c,this[_0x33b02e(0x1a3)]=_0x1cba9e,_(this,_0x33b02e(0x1d5),null),_(this,_0x33b02e(0x112),new o['Subject']()),_(this,_0x33b02e(0x169),this[_0x33b02e(0x112)][_0x33b02e(0x17d)]());}[_0x4c791d(0x15a)](){const _0x3eee5c=_0x4c791d;super[_0x3eee5c(0x15a)](),this[_0x3eee5c(0x112)]['complete']();}async[_0x4c791d(0xd1)](_0x555c72){const _0x2f0201=_0x4c791d;let _0x1baeea=await this[_0x2f0201(0x139)](_0x555c72,t['UniverInstanceType'][_0x2f0201(0x16f)]);if(!_0x1baeea||!_0x1baeea[_0x2f0201(0x15f)])return;let _0x4dd810=H(_0x1baeea);if(_0x4dd810)return _0x4dd810;}async['exportDOCXByUnitId'](_0x27cb98){const _0x48027e=_0x4c791d;return this[_0x48027e(0x175)](_0x27cb98,0x1,t[_0x48027e(0x1f1)]['UNIVER_DOC']);}async[_0x4c791d(0x1f3)](_0x36a350){const _0x2acf65=_0x4c791d;let _0x1ae48c=await B(_0x36a350);return this[_0x2acf65(0xd7)](_0x1ae48c,t[_0x2acf65(0x1f1)][_0x2acf65(0x16f)]);}async[_0x4c791d(0x1b3)](_0x5ab060){const _0x17fabf=_0x4c791d;let _0xa0b451=await this[_0x17fabf(0x139)](_0x5ab060,t['UniverInstanceType']['UNIVER_SHEET']);if(!_0xa0b451)return;let _0x4f3342=await V(_0xa0b451);if(_0x4f3342)return _0x4f3342;}async[_0x4c791d(0x1a9)](_0x125a2d){return this['_export'](_0x125a2d,0x1,t['UniverInstanceType']['UNIVER_SHEET']);}async['exportXLSXBySnapshot'](_0x2618d9){const _0x477744=_0x4c791d;let _0x382300=await z(_0x2618d9);return this['_exportBySnapshot'](_0x382300,t[_0x477744(0x1f1)][_0x477744(0xe9)]);}async[_0x4c791d(0x1ba)](_0x2ae510,_0x178e2b){const _0x14a06b=_0x4c791d;var _0x1b17cf,_0x2950b9;let _0x1f4fde=await this[_0x14a06b(0x154)](_0x2ae510);if(!_0x1f4fde)return;let _0x3cba43=await this[_0x14a06b(0x1af)](_0x1f4fde,0x1,_0x178e2b);if(!_0x3cba43)return;this[_0x14a06b(0x1d5)]=_0x3cba43,this[_0x14a06b(0x1a3)]['clearTaskInterrupted']();let _0x2927b5=await this['_requestService']['getTask'](_0x3cba43)[_0x14a06b(0x25b)](_0x2fde17=>{const _0xd0eaa1=_0x14a06b;var _0x175181;let _0x15da77=_0x2fde17 instanceof Error?_0x2fde17[_0xd0eaa1(0x15c)]:(_0x175181=_0x2fde17[_0xd0eaa1(0xea)])==null?void 0x0:_0x175181[_0xd0eaa1(0x15c)];this[_0xd0eaa1(0x112)]['next']({'error':{'code':l[_0xd0eaa1(0x194)][_0xd0eaa1(0x186)],'message':_0x15da77||''},'state':0x3});});if(!_0x2927b5)return;let _0x4c535c=(_0x1b17cf=_0x2927b5[_0x14a06b(0x196)])==null?void 0x0:_0x1b17cf['outputType'],_0x22bbd8=((_0x2950b9=_0x2927b5['import'])==null?void 0x0:_0x2950b9[_0x14a06b(0xfe)])||'';if(_0x4c535c!==0x1){this[_0x14a06b(0x112)][_0x14a06b(0x1e4)]({'error':{'code':l[_0x14a06b(0x194)][_0x14a06b(0x186)],'message':_0x14a06b(0xe8)},'state':0x3});return;}if(_0x22bbd8[_0x14a06b(0x257)]===0x0){this[_0x14a06b(0x112)]['next']({'error':{'code':l[_0x14a06b(0x194)][_0x14a06b(0x186)],'message':_0x14a06b(0xe2)},'state':0x3});return;}return this[_0x14a06b(0x112)]['next']({'error':_0x2927b5[_0x14a06b(0xea)],'state':0x3}),_0x22bbd8;}async[_0x4c791d(0xe7)](_0x583b00){const _0x2a1fc5=_0x4c791d;let _0x2941c6=await z(_0x583b00),_0x57711a=typeof _0x583b00['id']==_0x2a1fc5(0x228)&&_0x583b00['id'][_0x2a1fc5(0x259)]()?_0x583b00['id'][_0x2a1fc5(0x259)]()+_0x2a1fc5(0x142):_0x2a1fc5(0x177),_0x37d15d=new File([JSON[_0x2a1fc5(0x183)](_0x2941c6)],_0x57711a,{'type':_0x2a1fc5(0x122)});return this['importFileToUnitId'](_0x37d15d,t[_0x2a1fc5(0x1f1)]['UNIVER_SHEET']);}[_0x4c791d(0x1b0)](){const _0x33e905=_0x4c791d;this[_0x33e905(0x1d5)]&&this[_0x33e905(0x1a3)][_0x33e905(0xd4)](this['_importTaskId']);}async[_0x4c791d(0x139)](_0x490ce9,_0x359901){const _0xd3b4fd=_0x4c791d;var _0xbf8fd7,_0x2ce668;let _0x13b760=await this[_0xd3b4fd(0x154)](_0x490ce9);if(!_0x13b760)return;let _0x4e029d=await this[_0xd3b4fd(0x1af)](_0x13b760,0x2,_0x359901);if(!_0x4e029d)return;this['_importTaskId']=_0x4e029d,this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0x252)]();let _0x30e3d3=await this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0xf1)](_0x4e029d)[_0xd3b4fd(0x25b)](_0x1baa18=>{const _0x54d18d=_0xd3b4fd;var _0x9951b4;let _0x62fa3a=_0x1baa18 instanceof Error?_0x1baa18[_0x54d18d(0x15c)]:(_0x9951b4=_0x1baa18['error'])==null?void 0x0:_0x9951b4[_0x54d18d(0x15c)];this[_0x54d18d(0x112)][_0x54d18d(0x1e4)]({'error':{'code':l['ErrorCode'][_0x54d18d(0x186)],'message':_0x62fa3a||''},'state':0x3});});if(!_0x30e3d3)return;let _0x18cb51=(_0xbf8fd7=_0x30e3d3[_0xd3b4fd(0x196)])==null?void 0x0:_0xbf8fd7[_0xd3b4fd(0xff)],_0x2358e6=((_0x2ce668=_0x30e3d3[_0xd3b4fd(0x196)])==null?void 0x0:_0x2ce668[_0xd3b4fd(0x19b)])||'';if(_0x18cb51!==0x2){this[_0xd3b4fd(0x112)]['next']({'error':{'code':l['ErrorCode'][_0xd3b4fd(0x186)],'message':_0xd3b4fd(0xe8)},'state':0x3});return;}if(_0x2358e6['length']===0x0){this[_0xd3b4fd(0x112)]['next']({'error':{'code':l[_0xd3b4fd(0x194)][_0xd3b4fd(0x186)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this[_0xd3b4fd(0x112)][_0xd3b4fd(0x1e4)]({'error':_0x30e3d3[_0xd3b4fd(0xea)],'state':0x3});let _0x25ead9=await this[_0xd3b4fd(0x102)](_0x2358e6);if(!_0x25ead9)return;let _0x3d4b72=await this[_0xd3b4fd(0x1a3)][_0xd3b4fd(0x14e)](_0x25ead9);if(!_0x3d4b72){this['_requestState$'][_0xd3b4fd(0x1e4)]({'error':{'code':l[_0xd3b4fd(0x194)]['UNRECOGNIZED'],'message':_0xd3b4fd(0x120)},'state':0x5});return;}try{let _0x5c5694=JSON[_0xd3b4fd(0xdd)](_0x3d4b72);return this[_0xd3b4fd(0x112)]['next']({'error':{'code':l[_0xd3b4fd(0x194)]['OK'],'message':_0xd3b4fd(0x1eb)},'state':0x5}),_0x5c5694;}catch{this[_0xd3b4fd(0x112)][_0xd3b4fd(0x1e4)]({'error':{'code':l[_0xd3b4fd(0x194)]['UNRECOGNIZED'],'message':_0xd3b4fd(0x1ec)},'state':0x5});}}async[_0x4c791d(0xd7)](_0x5da3c0,_0x1dce04){const _0x53ef87=_0x4c791d;let _0x2f80b7=JSON['stringify'](_0x5da3c0),_0x3f945a=u['textEncoder'][_0x53ef87(0x223)](_0x2f80b7),_0x3c7eb7=(0x0,d[_0x53ef87(0x146)])(_0x3f945a),_0x2430fc=_0x3f945a[_0x53ef87(0x257)],_0x64bb4=N(_0x3c7eb7),_0x56daca=await this[_0x53ef87(0x154)](_0x64bb4,_0x2430fc,!0x0);if(_0x56daca)return this[_0x53ef87(0x175)](_0x56daca,0x2,_0x1dce04);}async[_0x4c791d(0x175)](_0x2a9015,_0x175a68,_0x5b9ef5){const _0x15232e=_0x4c791d;var _0x33b07f;let _0x15651c=await this['_requestService'][_0x15232e(0x242)]({'unitID':_0x175a68===0x1?_0x2a9015:'','jsonID':_0x175a68===0x2?_0x2a9015:'','type':_0x5b9ef5,'sscSwitch':this[_0x15232e(0x176)](),'useImageUrl':this[_0x15232e(0x1a4)](),'ignoreTableExport':this[_0x15232e(0x21f)]()});if(!_0x15651c){this[_0x15232e(0x112)]['next']({'error':{'code':l[_0x15232e(0x194)][_0x15232e(0x186)],'message':_0x15232e(0x13f)},'state':0x2});return;}if(this[_0x15232e(0x112)][_0x15232e(0x1e4)]({'error':_0x15651c[_0x15232e(0xea)],'state':0x2}),_0x15651c[_0x15232e(0xea)]&&_0x15651c[_0x15232e(0xea)]['code']!==l[_0x15232e(0x194)]['OK'])return;let _0x373917=_0x15651c[_0x15232e(0x1ff)],_0x8ef7e=await this[_0x15232e(0x1a3)]['getTask'](_0x373917)['catch'](_0x56bff8=>{const _0x1cd8f7=_0x15232e;var _0x446a95;let _0x1cf5a5=_0x56bff8 instanceof Error?_0x56bff8['message']:(_0x446a95=_0x56bff8[_0x1cd8f7(0xea)])==null?void 0x0:_0x446a95[_0x1cd8f7(0x15c)];this[_0x1cd8f7(0x112)][_0x1cd8f7(0x1e4)]({'error':{'code':l[_0x1cd8f7(0x194)][_0x1cd8f7(0x186)],'message':_0x1cf5a5||''},'state':0x3});});if(!_0x8ef7e)return;let _0x8391a3=((_0x33b07f=_0x8ef7e[_0x15232e(0x242)])==null?void 0x0:_0x33b07f['fileID'])||'';if(_0x8391a3[_0x15232e(0x257)]===0x0){this[_0x15232e(0x112)]['next']({'error':{'code':l[_0x15232e(0x194)][_0x15232e(0x186)],'message':_0x15232e(0x106)},'state':0x3});return;}this['_requestState$'][_0x15232e(0x1e4)]({'error':_0x8ef7e[_0x15232e(0xea)],'state':0x3});let _0x26d1ee=await this[_0x15232e(0x102)](_0x8391a3);if(!_0x26d1ee)return;let _0x5c23b0=await j(_0x26d1ee,this[_0x15232e(0x11c)]);if(!_0x5c23b0){this[_0x15232e(0x112)][_0x15232e(0x1e4)]({'error':{'code':l[_0x15232e(0x194)]['UNRECOGNIZED'],'message':_0x15232e(0x100)},'state':0x6});return;}return this['_requestState$'][_0x15232e(0x1e4)]({'error':{'code':l[_0x15232e(0x194)]['OK'],'message':_0x15232e(0x1eb)},'state':0x6}),_0x5c23b0;}async[_0x4c791d(0x154)](_0x1b63cf,_0x3ca006,_0x397b2d){const _0xc03956=_0x4c791d;let _0x58e8ab;try{_0x58e8ab=await this[_0xc03956(0x1a3)][_0xc03956(0x17e)](_0x1b63cf,_0x3ca006,_0x397b2d);}catch(_0x667bb9){let _0x16dda3=_0x667bb9 instanceof Error?_0x667bb9[_0xc03956(0x15c)]:String(_0x667bb9);this[_0xc03956(0x112)][_0xc03956(0x1e4)]({'error':{'code':l['ErrorCode'][_0xc03956(0x186)],'message':_0x16dda3},'state':0x0});return;}if(!_0x58e8ab||typeof _0x58e8ab['FileId']!=_0xc03956(0x228)){this['_requestState$'][_0xc03956(0x1e4)]({'error':{'code':l[_0xc03956(0x194)][_0xc03956(0x186)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x42dcb0=_0x58e8ab[_0xc03956(0xed)];if(_0x42dcb0[_0xc03956(0x257)]===0x0){this[_0xc03956(0x112)][_0xc03956(0x1e4)]({'error':{'code':l[_0xc03956(0x194)]['UNRECOGNIZED'],'message':_0xc03956(0xf9)},'state':0x0});return;}return this[_0xc03956(0x112)]['next']({'error':{'code':l['ErrorCode']['OK'],'message':_0xc03956(0x1eb)},'state':0x0}),_0x42dcb0;}async['_import'](_0x254f3d,_0x5d78c6,_0x49cff3){const _0x4c93d6=_0x4c791d;let _0x57b2f6={'fileID':_0x254f3d,'type':_0x49cff3,'outputType':_0x5d78c6,'fileUrl':'','minSheetRowCount':this[_0x4c93d6(0x1f6)](),'minSheetColumnCount':this[_0x4c93d6(0x187)]()},_0x533dcb=await this[_0x4c93d6(0x1a3)][_0x4c93d6(0x196)](_0x57b2f6);if(!_0x533dcb){this[_0x4c93d6(0x112)][_0x4c93d6(0x1e4)]({'error':{'code':l[_0x4c93d6(0x194)][_0x4c93d6(0x186)],'message':_0x4c93d6(0x225)},'state':0x1});return;}if(_0x533dcb[_0x4c93d6(0xea)]&&_0x533dcb[_0x4c93d6(0xea)]['code']!==l[_0x4c93d6(0x194)]['OK']){this[_0x4c93d6(0x112)][_0x4c93d6(0x1e4)]({'error':_0x533dcb[_0x4c93d6(0xea)],'state':0x1});return;}let _0x25cb78=_0x533dcb[_0x4c93d6(0x1ff)];if(_0x25cb78['length']===0x0){this['_requestState$'][_0x4c93d6(0x1e4)]({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x4c93d6(0x1c8)},'state':0x1});return;}return this['_requestState$']['next']({'error':_0x533dcb[_0x4c93d6(0xea)],'state':0x1}),_0x25cb78;}async['_signUrl'](_0xd8fa42){const _0x43e6f8=_0x4c791d;let _0x537da2=await this[_0x43e6f8(0x1a3)][_0x43e6f8(0x16c)](_0xd8fa42);if(!_0x537da2){this[_0x43e6f8(0x112)][_0x43e6f8(0x1e4)]({'error':{'code':l['ErrorCode'][_0x43e6f8(0x186)],'message':_0x43e6f8(0x1bb)},'state':0x4});return;}if(_0x537da2[_0x43e6f8(0xea)]&&_0x537da2['error']['code']!==l['ErrorCode']['OK']){this['_requestState$']['next']({'error':_0x537da2[_0x43e6f8(0xea)],'state':0x4});return;}let _0x103df0=(0x0,t[_0x43e6f8(0x24a)])(_0x537da2[_0x43e6f8(0x21b)],this[_0x43e6f8(0x234)]());if(_0x103df0[_0x43e6f8(0x257)]===0x0){this['_requestState$'][_0x43e6f8(0x1e4)]({'error':{'code':l['ErrorCode'][_0x43e6f8(0x186)],'message':_0x43e6f8(0x1bb)},'state':0x4});return;}return this['_requestState$'][_0x43e6f8(0x1e4)]({'error':_0x537da2[_0x43e6f8(0xea)],'state':0x4}),_0x103df0;}['_getDownloadEndpointURL'](){const _0x2cebe3=_0x4c791d;var _0x2d7033;let _0x18afbb=this[_0x2cebe3(0x22f)]['getConfig'](f);return(_0x2d7033=_0x18afbb==null?void 0x0:_0x18afbb[_0x2cebe3(0x1be)])==null?location[_0x2cebe3(0xd0)]:_0x2d7033;}[_0x4c791d(0x1f6)](){const _0x52ad04=_0x4c791d;var _0x3c3758,_0x3aaba0;let _0x32e32e=this[_0x52ad04(0x22f)][_0x52ad04(0x11d)](f);return(_0x3c3758=_0x32e32e==null||(_0x3aaba0=_0x32e32e['options'])==null?void 0x0:_0x3aaba0[_0x52ad04(0xcf)])==null?0x1:_0x3c3758;}[_0x4c791d(0x187)](){const _0xa522f4=_0x4c791d;var _0x46c3b7,_0x52ba55;let _0x406701=this[_0xa522f4(0x22f)][_0xa522f4(0x11d)](f);return(_0x46c3b7=_0x406701==null||(_0x52ba55=_0x406701[_0xa522f4(0x1a5)])==null?void 0x0:_0x52ba55[_0xa522f4(0x107)])==null?0x1:_0x46c3b7;}[_0x4c791d(0x176)](){const _0x25648e=_0x4c791d;var _0x5efc10,_0x56c008;let _0x123ec5=this[_0x25648e(0x22f)][_0x25648e(0x11d)](f);return(_0x5efc10=_0x123ec5==null||(_0x56c008=_0x123ec5[_0x25648e(0x1a5)])==null?void 0x0:_0x56c008[_0x25648e(0x14c)])==null?!0x1:_0x5efc10;}[_0x4c791d(0x1a4)](){const _0x258ab6=_0x4c791d;var _0x185dbe,_0x2f7159;let _0x3f9f33=this['_configService'][_0x258ab6(0x11d)](f);return(_0x185dbe=_0x3f9f33==null||(_0x2f7159=_0x3f9f33[_0x258ab6(0x1a5)])==null?void 0x0:_0x2f7159[_0x258ab6(0xec)])==null?!0x0:_0x185dbe;}[_0x4c791d(0x21f)](){const _0x1c3f27=_0x4c791d;var _0x306ef5,_0x49063b;let _0x2d90d1=this[_0x1c3f27(0x22f)]['getConfig'](f);return(_0x306ef5=_0x2d90d1==null||(_0x49063b=_0x2d90d1[_0x1c3f27(0x1a5)])==null?void 0x0:_0x49063b[_0x1c3f27(0x166)])==null?!0x1:_0x306ef5;}};G=I([F(0x0,t[_0x4c791d(0x221)]),F(0x1,(0x0,t[_0x4c791d(0x246)])(n[_0x4c791d(0xe5)])),F(0x2,(0x0,t[_0x4c791d(0x246)])(L))],G);const de={'done':0x0,'count':0x0},K=(0x0,t[_0x4c791d(0x1e0)])(_0x4c791d(0x11f));let q=class extends t[_0x4c791d(0x25a)]{constructor(_0x4bf67d,_0x3888ad,_0x235420,_0x51ee40,_0x53d229,_0x5ec17f){const _0x426a25=_0x4c791d;super(),this[_0x426a25(0x1ea)]=_0x4bf67d,this[_0x426a25(0x219)]=_0x3888ad,this[_0x426a25(0x115)]=_0x235420,this[_0x426a25(0x10e)]=_0x51ee40,this[_0x426a25(0x1c4)]=_0x53d229,this['_logService']=_0x5ec17f,_(this,_0x426a25(0x14a),new o[(_0x426a25(0x15e))](de)),_(this,_0x426a25(0x1ce),this['_progress$'][_0x426a25(0x17d)]()),_(this,_0x426a25(0x162),0x0),_(this,'_doneUploadTaskCount',0x0),this[_0x426a25(0xf4)]((0x0,t[_0x426a25(0x198)])(this[_0x426a25(0x10e)][_0x426a25(0x169)][_0x426a25(0x147)](_0x4b4947=>{const _0x320ac3=_0x426a25;var _0xa109f6;((_0xa109f6=_0x4b4947[_0x320ac3(0xea)])==null?void 0x0:_0xa109f6[_0x320ac3(0x1c6)])===l[_0x320ac3(0x194)]['OK']?this[_0x320ac3(0x13c)](0x1):this[_0x320ac3(0x148)](_0x4b4947[_0x320ac3(0xea)]);})));}[_0x4c791d(0x140)](){const _0x64a3c4=_0x4c791d;this[_0x64a3c4(0x10c)](),this['_uploadNotificationService'][_0x64a3c4(0x135)](0x2),this[_0x64a3c4(0x10e)][_0x64a3c4(0x1b0)]();}async[_0x4c791d(0xee)](_0x5395f6){const _0x2ed4db=_0x4c791d;throw Error(_0x2ed4db(0xdc));}async[_0x4c791d(0x193)](){const _0x4230b0=_0x4c791d;let _0x56d579=await A([t[_0x4230b0(0x1f1)][_0x4230b0(0x16f)]]);if(_0x56d579&&!this[_0x4230b0(0x1d9)](_0x56d579,t[_0x4230b0(0x1f1)]['UNIVER_DOC']))return this['_importFileToUnitId'](_0x56d579[0x0],t['UniverInstanceType'][_0x4230b0(0x16f)]);}[_0x4c791d(0xd1)](){const _0x22f285=_0x4c791d;throw Error(_0x22f285(0xdc));}async[_0x4c791d(0x121)](_0x2f240a,_0x3ad13f,_0x388de8){const _0x1d036d=_0x4c791d;this[_0x1d036d(0x222)](s[_0x1d036d(0x1b5)][_0x1d036d(0x240)]);let _0x1d6524=await this['_exchangeService']['exportDOCXByUnitId'](_0x2f240a||this[_0x1d036d(0x1b1)]());_0x1d6524&&(O(_0x1d6524,_0x3ad13f||this[_0x1d036d(0x12a)](_0x1d6524),_0x1d036d(0x21c)),this['_showDownloadMessage'](s[_0x1d036d(0x1b5)]['Success']));}async['exportDOCXBySnapshot'](){const _0xc44028=_0x4c791d;this['_showDownloadMessage'](s[_0xc44028(0x1b5)][_0xc44028(0x240)]);let _0x14ac65=await this[_0xc44028(0x1bd)](),_0x32ba14=await this[_0xc44028(0x10e)][_0xc44028(0x1f3)](_0x14ac65);_0x32ba14&&(O(_0x32ba14,this[_0xc44028(0x12a)](_0x32ba14),_0xc44028(0x21c)),this[_0xc44028(0x222)](s[_0xc44028(0x1b5)]['Success']));}async[_0x4c791d(0x1b4)](){const _0x885486=_0x4c791d;if(this[_0x885486(0x134)]()){this[_0x885486(0x219)][_0x885486(0x14b)]({'type':s[_0x885486(0x1b5)][_0x885486(0x144)],'content':this[_0x885486(0x115)]['t'](_0x885486(0xef))});return;}let _0x761cdd=await A([t[_0x885486(0x1f1)][_0x885486(0xe9)]]);if(_0x761cdd&&!this['_fileTypeError'](_0x761cdd,t[_0x885486(0x1f1)][_0x885486(0xe9)]))return this[_0x885486(0x168)](_0x761cdd[0x0],t[_0x885486(0x1f1)]['UNIVER_SHEET']);}async[_0x4c791d(0x1b3)](){const _0x57a613=_0x4c791d;if(this[_0x57a613(0x134)]()){this[_0x57a613(0x219)][_0x57a613(0x14b)]({'type':s[_0x57a613(0x1b5)]['Warning'],'content':this[_0x57a613(0x115)]['t'](_0x57a613(0xef))});return;}let _0x485ec6=await A([t[_0x57a613(0x1f1)][_0x57a613(0xe9)]]);if(!_0x485ec6)return;this[_0x57a613(0x145)](s[_0x57a613(0x1b5)][_0x57a613(0x240)]);let _0x172601=await this[_0x57a613(0x10e)][_0x57a613(0x1b3)](_0x485ec6[0x0]);_0x172601&&(this['_refresh'](_0x172601),this[_0x57a613(0x145)](s['MessageType']['Success']));}async[_0x4c791d(0x1a9)](_0x3bf11e,_0x27df9e,_0x3ed626){const _0x595684=_0x4c791d;this[_0x595684(0x222)](s[_0x595684(0x1b5)]['Info']);let _0x1122c4=await this[_0x595684(0x10e)][_0x595684(0x1a9)](_0x3bf11e||this[_0x595684(0x258)]());_0x1122c4&&(O(_0x1122c4,_0x27df9e||this[_0x595684(0x12a)](_0x1122c4),_0x595684(0x103)),this[_0x595684(0x222)](s[_0x595684(0x1b5)][_0x595684(0x201)]));}async[_0x4c791d(0x1f7)](){const _0x555805=_0x4c791d;this[_0x555805(0x222)](s['MessageType'][_0x555805(0x240)]);let _0x5ced0c=await this[_0x555805(0x182)](),_0x2a3b3c=await this[_0x555805(0x10e)][_0x555805(0x1f7)](_0x5ced0c);_0x2a3b3c&&(O(_0x2a3b3c,this[_0x555805(0x12a)](_0x2a3b3c),_0x555805(0x103)),this['_showDownloadMessage'](s['MessageType'][_0x555805(0x201)]));}['registerLink'](_0x59febf){const _0x41a492=_0x4c791d;this[_0x41a492(0x22a)]=_0x59febf;}async['_importFileToUnitId'](_0x12055c,_0x145cf0){const _0x5f4ef4=_0x4c791d;this[_0x5f4ef4(0x1c4)][_0x5f4ef4(0x14b)](),this['_uploadNotificationService'][_0x5f4ef4(0x135)](0x0),this['_addTotalCount'](0x4),this[_0x5f4ef4(0x13c)](0x1);let _0x28a59f=await this[_0x5f4ef4(0x10e)][_0x5f4ef4(0x1ba)](_0x12055c,_0x145cf0);if(!_0x28a59f){this['_clearProgress'](),this[_0x5f4ef4(0x1c4)]['updateState'](0x2);return;}let _0x29c7a7={'link':this['_getLinkByUnitId'](_0x28a59f,_0x145cf0),'name':_0x12055c[_0x5f4ef4(0x163)],'type':_0x145cf0};return this['_uploadNotificationService'][_0x5f4ef4(0x1cd)](_0x29c7a7),this['_completeProgress'](),this[_0x5f4ef4(0x1c4)][_0x5f4ef4(0x135)](0x1),_0x28a59f;}['_getUnitID'](){const _0x2c5bc7=_0x4c791d;return this['_univerInstanceService']['getCurrentUnitOfType'](t[_0x2c5bc7(0x1f1)][_0x2c5bc7(0xe9)])[_0x2c5bc7(0x16b)]();}[_0x4c791d(0x1b1)](){const _0x2786ac=_0x4c791d;return this[_0x2786ac(0x1ea)][_0x2786ac(0x159)](t['UniverInstanceType']['UNIVER_DOC'])['getUnitId']();}[_0x4c791d(0x12a)](_0x3ea4bc){const _0x174d67=_0x4c791d;var _0x147f9f;return((_0x147f9f=this[_0x174d67(0x1ea)]['getCurrentUnitOfType'](t[_0x174d67(0x1f1)][_0x174d67(0xe9)]))==null?void 0x0:_0x147f9f[_0x174d67(0x163)])||_0x3ea4bc[_0x174d67(0x163)][_0x174d67(0x1f0)]('.')[_0x174d67(0x143)]()||document['title'];}async['_getUnitJson'](){const _0x1b0156=_0x4c791d;return this[_0x1b0156(0x1ea)]['getCurrentUnitOfType'](t[_0x1b0156(0x1f1)]['UNIVER_SHEET'])[_0x1b0156(0x241)]();}async['_getUnitDocJson'](){const _0x5e5cad=_0x4c791d;return this[_0x5e5cad(0x1ea)]['getCurrentUnitOfType'](t['UniverInstanceType']['UNIVER_DOC'])[_0x5e5cad(0x241)]();}[_0x4c791d(0x22a)](_0x5015a7,_0xe71bda){const _0x115629=_0x4c791d;let _0x418106=new URL(window[_0x115629(0x1ad)][_0x115629(0x205)]);return _0x418106[_0x115629(0x172)]['set'](_0x115629(0x131),_0x5015a7),_0x418106[_0x115629(0x172)]['set'](_0x115629(0xd6),''+_0xe71bda),_0x418106[_0x115629(0x1dd)]();}[_0x4c791d(0x11b)](_0x335ed9){const _0x515889=_0x4c791d;let _0x327315=this[_0x515889(0x1ea)]['getCurrentUnitOfType'](t[_0x515889(0x1f1)][_0x515889(0xe9)])[_0x515889(0x16b)]();this[_0x515889(0x1ea)][_0x515889(0x12e)](_0x327315),this['_univerInstanceService'][_0x515889(0x23f)](t[_0x515889(0x1f1)][_0x515889(0xe9)],_0x335ed9);}[_0x4c791d(0x148)](_0x466e12){const _0x1114f6=_0x4c791d;if(_0x466e12){let {code:_0x59b107}=_0x466e12;switch(_0x59b107){case l['ErrorCode'][_0x1114f6(0x101)]:this[_0x1114f6(0x219)][_0x1114f6(0x14b)]({'type':s['MessageType'][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0xd5))});break;case l[_0x1114f6(0x194)]['INTERNAL_ERROR']:this[_0x1114f6(0x219)][_0x1114f6(0x14b)]({'type':s[_0x1114f6(0x1b5)][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x1ca))});break;default:this[_0x1114f6(0x219)]['show']({'type':s[_0x1114f6(0x1b5)][_0x1114f6(0x245)],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x111))});break;}return null;}return this['_messageService'][_0x1114f6(0x14b)]({'type':s[_0x1114f6(0x1b5)]['Error'],'content':this[_0x1114f6(0x115)]['t'](_0x1114f6(0x111))}),null;}[_0x4c791d(0x222)](_0x21bd4e){const _0x293763=_0x4c791d;let _0x268cb9='';switch(_0x21bd4e){case s['MessageType'][_0x293763(0x201)]:_0x268cb9=this[_0x293763(0x115)]['t'](_0x293763(0x253));break;case s[_0x293763(0x1b5)][_0x293763(0x240)]:_0x268cb9=this[_0x293763(0x115)]['t']('exchange-client.downloading');break;default:break;}this[_0x293763(0x219)][_0x293763(0x14b)]({'type':_0x21bd4e,'content':_0x268cb9});}[_0x4c791d(0x145)](_0x2fda90){const _0x2427aa=_0x4c791d;let _0x4c87aa='';switch(_0x2fda90){case s[_0x2427aa(0x1b5)]['Success']:_0x4c87aa=this[_0x2427aa(0x115)]['t'](_0x2427aa(0x130));break;case s['MessageType'][_0x2427aa(0x240)]:_0x4c87aa=this[_0x2427aa(0x115)]['t'](_0x2427aa(0xef));break;default:break;}this[_0x2427aa(0x219)][_0x2427aa(0x14b)]({'type':_0x2fda90,'content':_0x4c87aa});}['_emitProgress'](){const _0x2c8200=_0x4c791d;this[_0x2c8200(0x14a)]['next']({'done':this['_doneUploadTaskCount'],'count':this[_0x2c8200(0x162)]});}[_0x4c791d(0xf8)](_0x377dd3){const _0x1f0a93=_0x4c791d;this[_0x1f0a93(0x162)]+=_0x377dd3,this['_emitProgress']();}[_0x4c791d(0x13c)](_0x332098){const _0x190fbf=_0x4c791d;this[_0x190fbf(0x24b)]+=_0x332098,this['_doneUploadTaskCount']=Math[_0x190fbf(0x217)](this[_0x190fbf(0x24b)],this[_0x190fbf(0x162)]),this[_0x190fbf(0x25e)]();}[_0x4c791d(0xde)](){const _0x23cbcf=_0x4c791d;this[_0x23cbcf(0x24b)]=this[_0x23cbcf(0x162)],this['_emitProgress']();}[_0x4c791d(0x10c)](){const _0x3603d0=_0x4c791d;this['_doneUploadTaskCount']=0x0,this[_0x3603d0(0x162)]=0x0,this[_0x3603d0(0x25e)]();}[_0x4c791d(0x1d9)](_0x4bd84e,_0x1260ee){const _0x22fe7c=_0x4c791d;let _0x2783cc=_0x4bd84e[0x0],_0x34a82a=_0x2783cc['name'];return k(_0x2783cc)===_0x1260ee?!0x1:(this['_messageService'][_0x22fe7c(0x14b)]({'type':s[_0x22fe7c(0x1b5)][_0x22fe7c(0x245)],'content':this[_0x22fe7c(0x115)]['t']('exchange-client.fileTypeError',_0x34a82a)}),!0x0);}['_uploadTaskNotDone'](){const _0x55ad2b=_0x4c791d;return this[_0x55ad2b(0x162)]!==0x0&&this[_0x55ad2b(0x24b)]!==this[_0x55ad2b(0x162)];}};q=I([F(0x0,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x22e)])),F(0x1,r[_0x4c791d(0x17a)]),F(0x2,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x232)])),F(0x3,(0x0,t[_0x4c791d(0x246)])(W)),F(0x4,(0x0,t[_0x4c791d(0x246)])(v)),F(0x5,t[_0x4c791d(0x128)])],q);function J(_0x2eaa7e){const _0x1830b1=_0x4c791d;let {onClick:_0x3c0e6d,children:_0x38dd40,className:_0xc4ad22}=_0x2eaa7e;return(0x0,c[_0x1830b1(0x20a)])(_0x1830b1(0x1d4),{'className':(0x0,s[_0x1830b1(0x1fa)])(_0x1830b1(0x1fd),_0xc4ad22),'type':_0x1830b1(0x1d4),'onClick':_0x3c0e6d,'children':_0x38dd40});}function Y(){const _0x386d9b=_0x4c791d;let _0x57afef=(0x0,r[_0x386d9b(0x255)])(K),_0x589abe=(0x0,r[_0x386d9b(0x255)])(t[_0x386d9b(0x232)]);function _0x3d5592(){const _0x29a11b=_0x386d9b;_0x57afef[_0x29a11b(0x1b4)]();}return(0x0,c[_0x386d9b(0x20a)])(J,{'onClick':_0x3d5592,'children':_0x589abe['t'](_0x386d9b(0x129))});}function X(){const _0x482b17=_0x4c791d;return(0x0,c[_0x482b17(0x204)])(_0x482b17(0x190),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x482b17(0x20a)])(_0x482b17(0x249),{'className':_0x482b17(0x1d2),'children':(0x0,r[_0x482b17(0x255)])(t[_0x482b17(0x232)])['t'](_0x482b17(0x173))}),(0x0,c[_0x482b17(0x20a)])(Y,{})]});}function fe(_0xf9d602){const _0x2d92a5=_0x4c791d;let {count:_0x41c54c}=_0xf9d602;return(0x0,c['jsxs'])(_0x2d92a5(0x190),{'className':_0x2d92a5(0x137),'children':[(0x0,c['jsx'])(_0x2d92a5(0x249),{'className':_0x2d92a5(0x206),'children':(0x0,r[_0x2d92a5(0x255)])(t[_0x2d92a5(0x232)])['t'](_0x2d92a5(0x22b),''+_0x41c54c)}),(0x0,c[_0x2d92a5(0x20a)])(Y,{})]});}function pe(){const _0x4a042c=_0x4c791d;let _0xd73d8d=(0x0,r[_0x4a042c(0x255)])(K),_0x25c571=(0x0,r[_0x4a042c(0x255)])(t[_0x4a042c(0x232)]);function _0x2aea43(){const _0x1b786e=_0x4a042c;_0xd73d8d[_0x1b786e(0x140)]();}return(0x0,c[_0x4a042c(0x20a)])(J,{'onClick':_0x2aea43,'children':_0x25c571['t'](_0x4a042c(0x13b))});}function me(){const _0x1400ba=_0x4c791d;let {count:_0x337095,done:_0x525366}=(0x0,r[_0x1400ba(0x20e)])((0x0,r['useDependency'])(K)['progress$']),[_0x3b71c0,_0x342b54]=(0x0,a[_0x1400ba(0x244)])(_0x337095>0x0?_0x525366/_0x337095:0x0);return(0x0,a[_0x1400ba(0x132)])(()=>{_0x342b54(_0x337095>0x0?_0x525366/_0x337095:0x0);},[_0x337095,_0x525366]),(0x0,c[_0x1400ba(0x20a)])(_0x1400ba(0x190),{'className':_0x1400ba(0x20f),'children':(0x0,c[_0x1400ba(0x20a)])(_0x1400ba(0x190),{'className':_0x1400ba(0x1df),'style':{'width':Math[_0x1400ba(0xeb)](_0x3b71c0*0x64)+'%'}})});}function he(){const _0x288c27=_0x4c791d;return(0x0,c[_0x288c27(0x204)])(_0x288c27(0x190),{'className':_0x288c27(0x1ae),'children':[(0x0,c[_0x288c27(0x20a)])(_0x288c27(0x249),{'className':_0x288c27(0x180),'children':(0x0,r['useDependency'])(t['LocaleService'])['t'](_0x288c27(0x1b9))}),(0x0,c['jsx'])(_0x288c27(0x190),{'className':_0x288c27(0x10f),'children':(0x0,c[_0x288c27(0x20a)])(me,{})}),(0x0,c['jsx'])(pe,{})]});}const ge={0x1:(0x0,c[_0x4c791d(0x20a)])(i['SuccessIcon'],{'className':_0x4c791d(0x208)}),0x0:(0x0,c['jsx'])(i[_0x4c791d(0x171)],{'className':_0x4c791d(0x1f4)}),0x2:(0x0,c[_0x4c791d(0x20a)])(i[_0x4c791d(0x1ac)],{'className':_0x4c791d(0x149)})};function _e(){const _0xe16661=_0x4c791d;let [_0x27f0a8,_0x151afd]=(0x0,a[_0xe16661(0x244)])(0x0),[_0x59655b,_0x3fd4a3]=(0x0,a[_0xe16661(0x244)])(!0x1),[_0x53cf5f,_0x2f6aee]=(0x0,a['useState'])([]),_0x113d04=(0x0,r['useDependency'])(v),_0x491b97=(0x0,r[_0xe16661(0x255)])(t[_0xe16661(0x232)]);(0x0,a[_0xe16661(0x132)])(()=>{const _0x82dd6d=_0xe16661;let _0x23924b=_0x113d04[_0x82dd6d(0x1e2)][_0x82dd6d(0x147)](_0x15012f=>{_0x3fd4a3(_0x15012f);}),_0x2da14a=_0x113d04[_0x82dd6d(0x21e)][_0x82dd6d(0x147)](_0x4daef9=>{_0x2f6aee(_0x4daef9);}),_0x2494be=_0x113d04[_0x82dd6d(0x10a)][_0x82dd6d(0x147)](_0x29b944=>{_0x151afd(_0x29b944);});return()=>{const _0x1fc767=_0x82dd6d;_0x23924b[_0x1fc767(0x1b2)](),_0x2da14a['unsubscribe'](),_0x2494be[_0x1fc767(0x1b2)]();};},[]);function _0x1ff8c7(){_0x3fd4a3(!0x1);}function _0x27b2e7(_0x3fc832){const _0x173b4a=_0xe16661;switch(_0x3fc832){case 0x1:return _0x491b97['t'](_0x173b4a(0x130));case 0x0:return _0x491b97['t'](_0x173b4a(0xef));case 0x2:return _0x491b97['t'](_0x173b4a(0x254));default:return'';}}return _0x59655b&&(0x0,c[_0xe16661(0x204)])(_0xe16661(0x190),{'className':_0xe16661(0xdf),'children':[(0x0,c['jsxs'])(_0xe16661(0x190),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0xe16661(0x204)])(_0xe16661(0x249),{'className':'univer-flex','children':[(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':_0xe16661(0x19e),'children':ge[_0x27f0a8]}),(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x27b2e7(_0x27f0a8)})]}),(0x0,c[_0xe16661(0x20a)])(_0xe16661(0x249),{'className':_0xe16661(0xf6),'onClick':_0x1ff8c7,'children':(0x0,c[_0xe16661(0x20a)])(i[_0xe16661(0xd3)],{})})]}),(0x0,c[_0xe16661(0x204)])(_0xe16661(0x190),{'children':[_0x27f0a8===0x0&&(0x0,c['jsx'])(he,{}),_0x27f0a8===0x2&&(0x0,c['jsx'])(X,{}),_0x53cf5f[_0xe16661(0x257)]>0x0&&(0x0,c[_0xe16661(0x20a)])(re,{'list':_0x53cf5f}),_0x27f0a8===0x1&&(0x0,c[_0xe16661(0x20a)])(fe,{'count':_0x53cf5f['length']})]})]});}function Z(){return(0x0,c['jsx'])(_e,{});}let Q=class extends t[_0x4c791d(0x25a)]{constructor(_0x3e3f18,_0x3e3dbd){const _0x34bb49=_0x4c791d;super(),this[_0x34bb49(0x18d)]=_0x3e3f18,this[_0x34bb49(0x1db)]=_0x3e3dbd,this[_0x34bb49(0x24c)]();}[_0x4c791d(0x24c)](){const _0x28884a=_0x4c791d;this[_0x28884a(0xf4)](this[_0x28884a(0x1db)][_0x28884a(0x1c3)](r['BuiltInUIPart'][_0x28884a(0x239)],()=>(0x0,r[_0x28884a(0xe3)])(Z,this[_0x28884a(0x18d)])));}};Q=I([F(0x0,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x127)])),F(0x1,r[_0x4c791d(0x1c5)])],Q);let $=class extends t[_0x4c791d(0x23c)]{constructor(_0x4dadce=p,_0x5815b8,_0x351055){const _0x58ca04=_0x4c791d;super(),this[_0x58ca04(0x141)]=_0x4dadce,this[_0x58ca04(0x18d)]=_0x5815b8,this[_0x58ca04(0x22f)]=_0x351055;let {..._0x69d8a1}=(0x0,t[_0x58ca04(0xf5)])({},p,this[_0x58ca04(0x141)]);this[_0x58ca04(0x22f)][_0x58ca04(0x12c)](f,_0x69d8a1);}[_0x4c791d(0x229)](){const _0xd5410a=_0x4c791d;(0x0,t['registerDependencies'])(this[_0xd5410a(0x18d)],[[Q],[K,{'useClass':q}],[W,{'useClass':G}],[L,{'useClass':R}],[v,{'useClass':y}]]);}['onReady'](){const _0x5a3ca8=_0x4c791d;(0x0,t[_0x5a3ca8(0x216)])(this['_injector'],[[Q],[K]]);}};_($,_0x4c791d(0x1f2),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),_($,_0x4c791d(0x22d),m),_($,_0x4c791d(0x214),h),$=I([(0x0,t['DependentOn'])(n[_0x4c791d(0xf3)],e['UniverLicensePlugin']),F(0x1,(0x0,t[_0x4c791d(0x246)])(t[_0x4c791d(0x127)])),F(0x2,t['IConfigService'])],$),exports[_0x4c791d(0x23b)]=f,Object[_0x4c791d(0x118)](exports,_0x4c791d(0x18a),{'enumerable':!0x0,'get':function(){return q;}}),Object['defineProperty'](exports,'ExchangeService',{'enumerable':!0x0,'get':function(){return G;}}),exports['IExchangeOperateService']=K,exports[_0x4c791d(0x25c)]=W,exports[_0x4c791d(0x1b8)]=L,exports['IUploadNotificationService']=v,Object['defineProperty'](exports,'RequestService',{'enumerable':!0x0,'get':function(){return R;}}),Object['defineProperty'](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x4c791d(0x1a1)]=Z,exports[_0x4c791d(0x18f)]=y,exports[_0x4c791d(0x153)]=ne,exports['downloadFile']=O,exports[_0x4c791d(0x1ef)]=k,exports[_0x4c791d(0x19c)]=A,exports[_0x4c791d(0xdb)]=B,exports[_0x4c791d(0xe4)]=H,exports[_0x4c791d(0x1ee)]=V,exports['transformWorkbookDataToSnapshotJson']=z;
|
|
1
|
+
const _0x43367a=_0x1cc0;(function(_0x18e2bb,_0x156371){const _0x3f0371=_0x1cc0,_0x2b59a0=_0x18e2bb();while(!![]){try{const _0x4774d2=parseInt(_0x3f0371(0x1cd))/0x1*(parseInt(_0x3f0371(0xc4))/0x2)+parseInt(_0x3f0371(0x217))/0x3+-parseInt(_0x3f0371(0x188))/0x4*(parseInt(_0x3f0371(0x209))/0x5)+parseInt(_0x3f0371(0xcf))/0x6*(-parseInt(_0x3f0371(0x1f0))/0x7)+parseInt(_0x3f0371(0xe4))/0x8+parseInt(_0x3f0371(0x116))/0x9*(-parseInt(_0x3f0371(0x228))/0xa)+parseInt(_0x3f0371(0x216))/0xb;if(_0x4774d2===_0x156371)break;else _0x2b59a0['push'](_0x2b59a0['shift']());}catch(_0x3f9801){_0x2b59a0['push'](_0x2b59a0['shift']());}}}(_0x15ca,0xed180),Object[_0x43367a(0x1ea)](exports,Symbol[_0x43367a(0x1fd)],{'value':_0x43367a(0x17f)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');const f=_0x43367a(0x236),p={};var m='@univerjs-pro/exchange-client',ee='1.0.0-alpha.0';function h(_0x20e135){'@babel/helpers - typeof';const _0x351299=_0x43367a;return h=typeof Symbol==_0x351299(0x1dd)&&typeof Symbol[_0x351299(0xbb)]==_0x351299(0x233)?function(_0x1317e7){return typeof _0x1317e7;}:function(_0x552f87){const _0x140ae6=_0x351299;return _0x552f87&&typeof Symbol==_0x140ae6(0x1dd)&&_0x552f87[_0x140ae6(0xa4)]===Symbol&&_0x552f87!==Symbol[_0x140ae6(0xd6)]?_0x140ae6(0x233):typeof _0x552f87;},h(_0x20e135);}function te(_0x5c3b36,_0x4d434d){const _0x3c7429=_0x43367a;if(h(_0x5c3b36)!=_0x3c7429(0x1f8)||!_0x5c3b36)return _0x5c3b36;var _0x31d5d3=_0x5c3b36[Symbol['toPrimitive']];if(_0x31d5d3!==void 0x0){var _0x391bc2=_0x31d5d3[_0x3c7429(0x1e7)](_0x5c3b36,_0x4d434d||_0x3c7429(0x198));if(h(_0x391bc2)!=_0x3c7429(0x1f8))return _0x391bc2;throw TypeError(_0x3c7429(0x170));}return(_0x4d434d===_0x3c7429(0x150)?String:Number)(_0x5c3b36);}function ne(_0x3da61d){const _0x349348=_0x43367a;var _0x396d4e=te(_0x3da61d,_0x349348(0x150));return h(_0x396d4e)==_0x349348(0x233)?_0x396d4e:_0x396d4e+'';}function g(_0x3ed0ff,_0x15dfae,_0x87e0b){const _0x4551f4=_0x43367a;return(_0x15dfae=ne(_0x15dfae))in _0x3ed0ff?Object[_0x4551f4(0x1ea)](_0x3ed0ff,_0x15dfae,{'value':_0x87e0b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3ed0ff[_0x15dfae]=_0x87e0b,_0x3ed0ff;}let re=function(_0x39ec31){const _0x439808=_0x43367a;return _0x39ec31[_0x39ec31[_0x439808(0x225)]=0x0]=_0x439808(0x225),_0x39ec31[_0x39ec31[_0x439808(0x120)]=0x1]=_0x439808(0x120),_0x39ec31[_0x39ec31[_0x439808(0x1c1)]=0x2]=_0x439808(0x1c1),_0x39ec31;}({});const _=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var v=class extends t[_0x43367a(0x1b9)]{constructor(){const _0x183531=_0x43367a;super(),g(this,_0x183531(0x1df),new o['Subject']()),g(this,'_state$',new o['Subject']()),g(this,'_list$',new o['Subject']()),g(this,'visible$',this['_visible$'][_0x183531(0x15b)]()),g(this,_0x183531(0x10a),this[_0x183531(0x15c)][_0x183531(0x15b)]()),g(this,_0x183531(0x17b),this[_0x183531(0x219)]['asObservable']()),g(this,'_list',[]);}[_0x43367a(0x1f1)](){const _0x22bb25=_0x43367a;super['dispose'](),this[_0x22bb25(0x1df)]['complete'](),this[_0x22bb25(0x15c)]['complete'](),this[_0x22bb25(0x219)]['complete']();}[_0x43367a(0x1ed)](){const _0x26edf2=_0x43367a;this[_0x26edf2(0x1df)][_0x26edf2(0x15a)](!0x0);}['hide'](){const _0x57f4fe=_0x43367a;this['_visible$'][_0x57f4fe(0x15a)](!0x1);}[_0x43367a(0x147)](_0x164bd7){const _0xa1acd4=_0x43367a;this[_0xa1acd4(0x15c)][_0xa1acd4(0x15a)](_0x164bd7);}[_0x43367a(0x191)](_0x28b2d8){const _0x3a63cb=_0x43367a;this[_0x3a63cb(0x193)]['unshift'](_0x28b2d8),this[_0x3a63cb(0x219)]['next'](this[_0x3a63cb(0x193)]);}};function ie(_0x11d0f9){const _0xac6748=_0x43367a;let {list:_0x3894fa}=_0x11d0f9;function _0x585874(_0x269251){const _0xb09b8=_0x1cc0;switch(_0x269251){case 0x1:return(0x0,c[_0xb09b8(0x127)])(r['DocMultiIcon'],{});case 0x2:return(0x0,c['jsx'])(r[_0xb09b8(0xad)],{});case 0x3:return(0x0,c['jsx'])(r['SlideMultiIcon'],{});default:return null;}}return(0x0,c['jsx'])(_0xac6748(0xed),{'className':(0x0,s[_0xac6748(0x164)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',s[_0xac6748(0x1e1)]),'children':(0x0,c[_0xac6748(0x127)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x3894fa[_0xac6748(0xb5)]((_0x4d31e0,_0x25896d)=>(0x0,c[_0xac6748(0x127)])('li',{'children':(0x0,c[_0xac6748(0xe9)])('a',{'className':_0xac6748(0x1d5),'href':_0x4d31e0[_0xac6748(0x180)],'target':_0xac6748(0xba),'rel':'noreferrer','children':[(0x0,c[_0xac6748(0xe9)])(_0xac6748(0x14d),{'className':_0xac6748(0xd7),'children':[(0x0,c['jsx'])(_0xac6748(0x14d),{'className':_0xac6748(0x184),'children':_0x585874(_0x4d31e0[_0xac6748(0x21c)])}),(0x0,c[_0xac6748(0x127)])(s[_0xac6748(0x21b)],{'showIfEllipsis':!0x0,'title':_0x4d31e0[_0xac6748(0x14f)],'asChild':!0x0,'children':(0x0,c['jsx'])(_0xac6748(0x14d),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4d31e0['name']})})]}),(0x0,c['jsx'])(_0xac6748(0x14d),{'className':_0xac6748(0xa9),'children':(0x0,c[_0xac6748(0x127)])(r['ShareRangeIcon'],{})})]})},_0x25896d))})});}const y=_0x43367a(0x162),b=_0x43367a(0x134),x=_0x43367a(0xff),S=_0x43367a(0x1e2),C=_0x43367a(0xd9),w={[t[_0x43367a(0xb3)][_0x43367a(0xd5)]]:[''],[t[_0x43367a(0xb3)]['UNIVER_DOC']]:[y],[t[_0x43367a(0xb3)][_0x43367a(0xf6)]]:[b,x,S],[t['UniverInstanceType'][_0x43367a(0x13e)]]:[C],[t[_0x43367a(0xb3)][_0x43367a(0x103)]]:[''],[t[_0x43367a(0xb3)]['UNIVER_PROJECT']]:[''],[t['UniverInstanceType'][_0x43367a(0x200)]]:['']},T={[y]:'docx',[b]:_0x43367a(0x152),[x]:_0x43367a(0x1a0),[S]:_0x43367a(0x153),[C]:_0x43367a(0x183)};function ae(_0x9425c5,_0x37e74a,_0x2558ad){const _0x4598d2=_0x43367a;let _0x43bcd2=document[_0x4598d2(0xcd)]('a');_0x43bcd2[_0x4598d2(0x21a)]=_0x9425c5,_0x43bcd2['style'][_0x4598d2(0x14b)]=_0x4598d2(0x1ac),_0x43bcd2[_0x4598d2(0x199)]=_0x37e74a+'.'+_0x2558ad,document['body'][_0x4598d2(0x11a)](_0x43bcd2),_0x43bcd2[_0x4598d2(0x224)](),document[_0x4598d2(0x1c4)]['removeChild'](_0x43bcd2);}function E(_0x2a15e1,_0x3ed962,_0x2c56b5){const _0x1a39d6=_0x43367a;let _0x46dc48=URL[_0x1a39d6(0x1c5)](_0x2a15e1);ae(_0x46dc48,_0x3ed962,_0x2c56b5),URL[_0x1a39d6(0x20d)](_0x46dc48);}function D(_0x4e34aa){const _0x3cc0a3=_0x43367a;let _0x89c3f5=_0x4e34aa[_0x3cc0a3(0x14f)][_0x3cc0a3(0x167)]('.')[_0x3cc0a3(0x1b1)]();if(!_0x89c3f5)return t['UniverInstanceType'][_0x3cc0a3(0xd5)];let _0x427bcf=oe(),_0x4f442e=t['UniverInstanceType'][_0x3cc0a3(0xd5)];return _0x427bcf[_0x3cc0a3(0x1ba)](_0x4ceda7=>O(_0x89c3f5,_0x4ceda7)?(_0x4f442e=_0x4ceda7,!0x0):!0x1),_0x4f442e;}function oe(){const _0x4beb05=_0x43367a;return Object['values'](t[_0x4beb05(0xb3)])['filter'](_0x2d4982=>typeof _0x2d4982==_0x4beb05(0x182));}function O(_0x33cfd3,_0x3eb7ec){const _0x48c497=_0x43367a;var _0x1fb0c0;return((_0x1fb0c0=w[_0x3eb7ec])==null?[]:_0x1fb0c0)[_0x48c497(0xb5)](_0x677822=>(T[_0x677822]||'')[_0x48c497(0x1cb)]())['includes'](_0x33cfd3[_0x48c497(0x1cb)]());}function k(_0x4946d9,_0x410b5d=!0x1){const _0x8cf8ee=_0x43367a;let _0x583f05=_0x4946d9[_0x8cf8ee(0xb5)](_0x3ea310=>{var _0x59b695;return(_0x59b695=w[_0x3ea310])==null?[]:_0x59b695;})[_0x8cf8ee(0x208)](',');return new Promise((_0x80793,_0x1e6c3a)=>{const _0xb74320=_0x8cf8ee;let _0x1d4e14=document[_0xb74320(0xcd)](_0xb74320(0x168));_0x1d4e14['type']=_0xb74320(0xe8),_0x1d4e14[_0xb74320(0x202)]=_0x583f05,_0x1d4e14[_0xb74320(0x144)]=_0x410b5d,_0x1d4e14[_0xb74320(0xbe)](_0xb74320(0xab),_0x51e199=>{const _0x403a92=_0xb74320;let _0x56ea19=_0x51e199['currentTarget'];if(!_0x56ea19[_0x403a92(0x232)]||_0x56ea19[_0x403a92(0x232)][_0x403a92(0x1db)]===0x0)throw _0x1e6c3a(null),Error(_0x403a92(0x186));_0x80793(_0x56ea19[_0x403a92(0x232)]);}),_0x1d4e14[_0xb74320(0x224)]();});}async function A(_0x577292,_0x48d7d0){const _0x496de6=_0x43367a;try{var _0xc21b0e,_0x3a8d6e,_0x5f20c8;let _0x15522e=await _0x48d7d0[_0x496de6(0xb6)](_0x577292,{'responseType':'blob'}),_0x2bd1e7=_0x15522e[_0x496de6(0x1c4)],_0x3a6634=(_0xc21b0e=(_0x3a8d6e=_0x15522e[_0x496de6(0x1a6)][_0x496de6(0xb6)]('Content-Type'))==null?void 0x0:_0x3a8d6e[_0x496de6(0x208)](',\x20'))==null?_0x496de6(0x1ab):_0xc21b0e,_0x393303='file.'+(T[_0x3a6634]||_0x496de6(0x152)),_0x4d3131=(_0x5f20c8=_0x15522e[_0x496de6(0x1a6)][_0x496de6(0xb6)](_0x496de6(0xe0)))==null?void 0x0:_0x5f20c8[_0x496de6(0x208)](',\x20');if(_0x4d3131){let _0x2b68a7=_0x4d3131[_0x496de6(0x197)](/filename=(.+)/);_0x2b68a7&&_0x2b68a7[0x1]&&(_0x393303=_0x2b68a7[0x1]);}else _0x393303=se(_0x577292)||_0x393303;return new File([_0x2bd1e7],_0x393303,{'type':_0x3a6634});}catch(_0x275ada){console[_0x496de6(0xfb)](_0x496de6(0x1a1),_0x275ada);return;}}function se(_0x5031f8){const _0x3c88d0=_0x43367a;try{return new URL(_0x5031f8)['pathname']['split']('/')[_0x3c88d0(0x1b1)]();}catch(_0x3eedbc){console[_0x3c88d0(0xfb)](_0x3c88d0(0x18c),_0x3eedbc);return;}}function ce(_0x20e44c){const _0x372d6d=_0x43367a;let _0x3c6708=new Blob([_0x20e44c['buffer']],{'type':_0x372d6d(0x112)});return new File([_0x3c6708],'file.json');}function j(_0x158b95,_0x4d33d5){const _0x575a13=_0x43367a;return _0x158b95[_0x575a13(0x192)]('{type}',_0x4d33d5);}function M(_0x3f8596,_0x30569c){const _0x3a3168=_0x43367a;return _0x3f8596[_0x3a3168(0x192)](_0x3a3168(0x19f),_0x30569c);}function le(_0x1e58cd,_0x46ed14){const _0x149363=_0x43367a;return _0x1e58cd[_0x149363(0x192)](_0x149363(0x20c),_0x46ed14);}function N(_0x13c74a,_0x36d8cf){return function(_0x2513c3,_0x3a75a3){_0x36d8cf(_0x2513c3,_0x3a75a3,_0x13c74a);};}function P(_0x27df53,_0x1c597a,_0x4db335,_0x5ab919){const _0x17d244=_0x43367a;var _0x667565=arguments[_0x17d244(0x1db)],_0xa40438=_0x667565<0x3?_0x1c597a:_0x5ab919===null?_0x5ab919=Object[_0x17d244(0x1fa)](_0x1c597a,_0x4db335):_0x5ab919,_0x4793b3;if(typeof Reflect==_0x17d244(0x1f8)&&typeof Reflect[_0x17d244(0xcc)]==_0x17d244(0x1dd))_0xa40438=Reflect[_0x17d244(0xcc)](_0x27df53,_0x1c597a,_0x4db335,_0x5ab919);else{for(var _0x4fb269=_0x27df53[_0x17d244(0x1db)]-0x1;_0x4fb269>=0x0;_0x4fb269--)(_0x4793b3=_0x27df53[_0x4fb269])&&(_0xa40438=(_0x667565<0x3?_0x4793b3(_0xa40438):_0x667565>0x3?_0x4793b3(_0x1c597a,_0x4db335,_0xa40438):_0x4793b3(_0x1c597a,_0x4db335))||_0xa40438);}return _0x667565>0x3&&_0xa40438&&Object[_0x17d244(0x1ea)](_0x1c597a,_0x4db335,_0xa40438),_0xa40438;}const F=(0x0,t[_0x43367a(0x1e8)])(_0x43367a(0x1dc));let I=class{constructor(_0x2458eb,_0x28dc89){const _0xcbc3e2=_0x43367a;this[_0xcbc3e2(0x203)]=_0x2458eb,this[_0xcbc3e2(0xf3)]=_0x28dc89,g(this,_0xcbc3e2(0xbf),new Set());}[_0x43367a(0x1f1)](){}[_0x43367a(0x14e)](_0x450c5a){const _0x3f0664=_0x43367a;this[_0x3f0664(0xbf)][_0x3f0664(0x229)](_0x450c5a);}[_0x43367a(0x18e)](){const _0xb10648=_0x43367a;this[_0xb10648(0xbf)][_0xb10648(0xf2)]();}async[_0x43367a(0x1da)](_0x20f211,_0x1efcb9=0x0,_0x4c86a7=!0x1){const _0x180cec=_0x43367a;if(typeof _0x20f211==_0x180cec(0x150)){let _0x3416d0=await A(_0x20f211,this[_0x180cec(0xf3)]);if(!_0x3416d0)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x20f211=_0x3416d0;}_0x1efcb9=_0x1efcb9||_0x20f211[_0x180cec(0x1d1)];let _0x5dddbb=new FormData();_0x5dddbb[_0x180cec(0x1f6)]('file',_0x20f211);try{let _0x405cbc=this['_getUploadFileURL']()+_0x180cec(0x206)+_0x1efcb9+_0x180cec(0xce)+l['FileSource'][_0x180cec(0x185)]+_0x180cec(0x19a)+_0x4c86a7,_0x17be79={'body':_0x5dddbb},_0x36eb00=(await this[_0x180cec(0xf3)]['post'](_0x405cbc,_0x17be79))[_0x180cec(0x1c4)];if(_0x36eb00[_0x180cec(0xfb)]&&_0x36eb00['error'][_0x180cec(0xfa)]!==l[_0x180cec(0x155)]['OK'])throw Error(this[_0x180cec(0x15d)]('upload\x20request\x20failed',_0x36eb00['error']));return _0x36eb00;}catch(_0x408cf6){throw _0x408cf6 instanceof Error?_0x408cf6:Error(this[_0x180cec(0x113)](_0x180cec(0xe7),_0x408cf6));}}async[_0x43367a(0x109)](_0x474044){const _0x92b8e2=_0x43367a;let {fileID:_0xd01bbc,type:_0x46abfb,outputType:_0x522ac7,minSheetColumnCount:_0x5bc4a1,minSheetRowCount:_0xd92855}=_0x474044;try{let _0x5b9bd0=j(this['_getImportURL'](),''+_0x46abfb),_0x3bea2a={'body':{'fileID':_0xd01bbc,'outputType':_0x522ac7,'minSheetColumnCount':_0x5bc4a1,'minSheetRowCount':_0xd92855}},_0x10b7ca=(await this['_httpService']['post'](_0x5b9bd0,_0x3bea2a))['body'];return _0x10b7ca[_0x92b8e2(0xfb)]&&_0x10b7ca[_0x92b8e2(0xfb)][_0x92b8e2(0xfa)]!==l['ErrorCode']['OK']?void 0x0:_0x10b7ca;}catch{return;}}async[_0x43367a(0x13a)](_0x349c02){const _0x2e43e5=_0x43367a;let {unitID:_0xf8e6a6,jsonID:_0x54c071,type:_0x363c0e,sscSwitch:_0x2c13fc,useImageUrl:_0x66538d,ignoreTableExport:_0x1721ef}=_0x349c02;try{let _0x12044e=j(this[_0x2e43e5(0x1d2)](),''+_0x363c0e),_0x2572d9={'body':{'unitID':_0xf8e6a6,'jsonID':_0x54c071,'type':_0x363c0e,'sscSwitch':_0x2c13fc,'useImageUrl':_0x66538d,'ignoreTableExport':_0x1721ef}},_0x183acb=(await this[_0x2e43e5(0xf3)]['post'](_0x12044e,_0x2572d9))['body'];return _0x183acb[_0x2e43e5(0xfb)]&&_0x183acb[_0x2e43e5(0xfb)][_0x2e43e5(0xfa)]!==l[_0x2e43e5(0x155)]['OK']?void 0x0:_0x183acb;}catch{return;}}async['getTask'](_0x51f621){return new Promise((_0xfc18f4,_0x38fdec)=>{const _0x1a50e6=_0x1cc0;try{let _0x3ce041=0x0,_0x2a951b=M(this[_0x1a50e6(0x1aa)](),''+_0x51f621),_0x54089f=this[_0x1a50e6(0x18a)](),_0x421d53=async()=>{const _0x37473f=_0x1a50e6;if(this['_taskInterrupted'][_0x37473f(0x201)](_0x51f621))return;let _0x1cd9ba=(await this['_httpService'][_0x37473f(0xb6)](_0x2a951b))[_0x37473f(0x1c4)];if(_0x1cd9ba[_0x37473f(0xfb)]&&_0x1cd9ba['error'][_0x37473f(0xfa)]===l['ErrorCode']['OK']){if(_0x1cd9ba['status']===_0x37473f(0x13d))_0xfc18f4(_0x1cd9ba);else{if(_0x1cd9ba['status']===_0x37473f(0x1e3)){let _0x177084=0x3e8;if(_0x3ce041>=_0x54089f){_0x38fdec(_0x1cd9ba);return;}else _0x3ce041>=0x7530&&(_0x177084=0x1388);_0x3ce041+=_0x177084,setTimeout(_0x421d53,_0x177084);}else _0x38fdec(_0x1cd9ba);}}else _0x38fdec(_0x1cd9ba);};_0x421d53();}catch(_0xa51ec){_0x38fdec(_0xa51ec instanceof Error?_0xa51ec:Error(String(_0xa51ec)));}});}async[_0x43367a(0x1f2)](_0xf7baa0){const _0x3261c1=_0x43367a;try{let _0x5e4ecd=le(this[_0x3261c1(0x1d7)](),''+_0xf7baa0);return(await this[_0x3261c1(0xf3)]['get'](_0x5e4ecd))[_0x3261c1(0x1c4)];}catch{return;}}async[_0x43367a(0xec)](_0x4fc062){const _0x2cbf7e=_0x43367a;try{return(await this['_httpService'][_0x2cbf7e(0xb6)](_0x4fc062,{'responseType':_0x2cbf7e(0x1a7)}))['body'];}catch{return;}}['_buildProtocolErrorMessage'](_0x5ad8ac,_0x9d1b7b){const _0x199d48=_0x43367a;let _0xf63f4f=this[_0x199d48(0xfd)](_0x9d1b7b);return _0xf63f4f?_0x5ad8ac+':\x20'+_0xf63f4f:_0x5ad8ac;}[_0x43367a(0x113)](_0x13f6f3,_0x3c0076){const _0x39a91c=_0x43367a;if(_0x3c0076 instanceof n[_0x39a91c(0xb8)]){let _0x6722db=typeof _0x3c0076[_0x39a91c(0xa7)]=='number'?''+_0x3c0076[_0x39a91c(0xa7)]+(_0x3c0076['statusText']?'\x20'+_0x3c0076['statusText']:''):void 0x0,_0x17e561=this[_0x39a91c(0xfd)](_0x3c0076['error']);return _0x6722db&&_0x17e561?_0x13f6f3+':\x20HTTP\x20'+_0x6722db+_0x39a91c(0x181)+_0x17e561:_0x6722db?_0x13f6f3+_0x39a91c(0x159)+_0x6722db:_0x17e561?_0x13f6f3+':\x20'+_0x17e561:_0x13f6f3;}let _0xcdfe79=this[_0x39a91c(0xfd)](_0x3c0076);return _0xcdfe79?_0x13f6f3+':\x20'+_0xcdfe79:_0x13f6f3;}[_0x43367a(0xfd)](_0x341999){const _0x5de884=_0x43367a;if(typeof _0x341999==_0x5de884(0x150)){let _0x6ce902=_0x341999[_0x5de884(0x176)]();return _0x6ce902[_0x5de884(0x1db)]>0x0?_0x6ce902:void 0x0;}if(_0x341999 instanceof Error)return this[_0x5de884(0xfd)](_0x341999['message']);if(!_0x341999||typeof _0x341999!='object'||Array[_0x5de884(0x1e4)](_0x341999))return;let _0x42364b=_0x341999,_0x59aed2=this['_extractErrorDetail'](_0x42364b[_0x5de884(0xcb)]);if(_0x59aed2)return _0x59aed2;if(_0x42364b[_0x5de884(0xfb)]&&typeof _0x42364b['error']=='object'&&!Array['isArray'](_0x42364b['error'])){let _0x1ec3d7=this['_extractErrorDetail'](_0x42364b['error']);if(_0x1ec3d7)return _0x1ec3d7;}}[_0x43367a(0x1c7)](){const _0x6d4a39=_0x43367a;var _0x3a82f1;let _0x372324=this['_configService']['getConfig'](f);return(_0x3a82f1=_0x372324==null?void 0x0:_0x372324[_0x6d4a39(0x12d)])==null?_0x6d4a39(0xea):_0x3a82f1;}['_getImportURL'](){const _0x590b35=_0x43367a;var _0x5dc9e1;let _0x457915=this[_0x590b35(0x203)][_0x590b35(0x22e)](f);return(_0x5dc9e1=_0x457915==null?void 0x0:_0x457915[_0x590b35(0xc3)])==null?'/universer-api/exchange/{type}/import':_0x5dc9e1;}[_0x43367a(0x1d2)](){const _0x336c02=_0x43367a;var _0x1144f1;let _0x25ae22=this[_0x336c02(0x203)][_0x336c02(0x22e)](f);return(_0x1144f1=_0x25ae22==null?void 0x0:_0x25ae22['exportServerUrl'])==null?_0x336c02(0xb7):_0x1144f1;}['_getTaskURL'](){const _0x1e8397=_0x43367a;var _0x63defb;let _0x2a5574=this[_0x1e8397(0x203)][_0x1e8397(0x22e)](f);return(_0x63defb=_0x2a5574==null?void 0x0:_0x2a5574[_0x1e8397(0x1ef)])==null?'/universer-api/exchange/task/{taskID}':_0x63defb;}[_0x43367a(0x1d7)](){const _0x51e89e=_0x43367a;var _0x20497b;let _0x2a0b5d=this[_0x51e89e(0x203)][_0x51e89e(0x22e)](f);return(_0x20497b=_0x2a0b5d==null?void 0x0:_0x2a0b5d[_0x51e89e(0x19c)])==null?_0x51e89e(0x1e9):_0x20497b;}['_getMaxPollingTime'](){const _0x341b60=_0x43367a;var _0x231b43;let _0x5dfe62=this[_0x341b60(0x203)][_0x341b60(0x22e)](f);return(_0x231b43=_0x5dfe62==null?void 0x0:_0x5dfe62[_0x341b60(0x20a)])==null?0x1d4c0:_0x231b43;}};I=P([N(0x0,t[_0x43367a(0xd8)]),N(0x1,(0x0,t[_0x43367a(0x146)])(n[_0x43367a(0x139)]))],I);function ue(_0x3a5262){const _0x1f7674=_0x43367a;let _0x574ffc=_0x3a5262[_0x1f7674(0x1f9)];if(!_0x574ffc)return null;let _0x200263={};_0x574ffc[_0x1f7674(0x1c0)]&&Object['keys'](_0x574ffc[_0x1f7674(0x1c0)])['forEach'](_0x58ff28=>{const _0x56b483=_0x1f7674;let _0x3f2899=_0x574ffc[_0x56b483(0x1c0)][_0x58ff28];_0x200263[_0x58ff28]={..._0x3f2899,'originalMeta':(0x0,u[_0x56b483(0x13c)])(u[_0x56b483(0xf8)]['decode'](_0x3f2899[_0x56b483(0xd1)]))};});let _0xe90a01=(0x0,u[_0x1f7674(0x13c)])(u['textDecoder'][_0x1f7674(0x157)](_0x574ffc[_0x1f7674(0xd1)]));return{..._0x3a5262,'workbook':{..._0x574ffc,'originalMeta':_0xe90a01,'sheets':_0x200263},'doc':{},'slide':void 0x0};}function de(_0x2e5a57){const _0xb7d16f=_0x43367a;let _0x39fce5=_0x2e5a57['doc'];if(!_0x39fce5)return null;let _0x7aaf31=(0x0,u['b64EncodeUnicode'])(u[_0xb7d16f(0xf8)][_0xb7d16f(0x157)](_0x39fce5['originalMeta']));return{..._0x2e5a57,'workbook':{},'doc':{..._0x39fce5,'originalMeta':_0x7aaf31},'slide':void 0x0};}function fe(_0x5e38d9){const _0x5407d5=_0x43367a;var _0x1b1412;let _0x47d708=(_0x1b1412=_0x5e38d9[_0x5407d5(0x11f)])==null?_0x5e38d9[_0x5407d5(0xe3)]:_0x1b1412;if(!_0x47d708)return null;let _0x3d840b=typeof _0x47d708[_0x5407d5(0xd1)]==_0x5407d5(0x150)?_0x47d708[_0x5407d5(0xd1)]:(0x0,u[_0x5407d5(0x13c)])(u[_0x5407d5(0xf8)][_0x5407d5(0x157)](_0x47d708[_0x5407d5(0xd1)]));return{..._0x5e38d9,'workbook':{},'doc':{},'slide':{..._0x47d708,'originalMeta':_0x3d840b}};}function L(_0x1d1779){const _0x5c724a=_0x43367a;let _0x5d6b55={};return _0x1d1779[_0x5c724a(0xd0)](_0x388963=>{const _0x5528b7=_0x5c724a;_0x5d6b55[_0x388963['id']]={..._0x388963,'data':(0x0,u[_0x5528b7(0x13c)])(u[_0x5528b7(0xf8)]['decode'](_0x388963['data']))};}),_0x5d6b55;}async function R(_0x37328f){const _0x23457e=_0x43367a;var _0x3f1e18;let _0x243a00={'metadata':void 0x0},_0x5aa884=_0x37328f['id'],_0x53de84=(_0x3f1e18=_0x37328f[_0x23457e(0x115)])==null?0x0:_0x3f1e18,_0x439492=new W(),{snapshot:_0x28499c}=await(0x0,u[_0x23457e(0x126)])(_0x243a00,_0x37328f,_0x5aa884,_0x53de84,_0x439492),_0x1d0727=await(0x0,u['getSheetBlocksFromSnapshot'])(_0x28499c,_0x439492),_0x4c2e3f=ue(_0x28499c);if(!_0x4c2e3f)throw Error(_0x23457e(0x131));return{'snapshot':_0x4c2e3f,'sheetBlocks':L(_0x1d0727)};}async function z(_0x2836f2){const _0x5b7193=_0x43367a;var _0x58fb;let _0x5b8cad={'metadata':void 0x0},_0x49ae7d=_0x2836f2['id'],{snapshot:_0x5f1016}=await(0x0,u[_0x5b7193(0x169)])(_0x5b8cad,_0x2836f2,_0x49ae7d,(_0x58fb=_0x2836f2['rev'])==null?0x0:_0x58fb,new W()),_0x396432=de(_0x5f1016);if(!_0x396432)throw Error(_0x5b7193(0x131));return{'snapshot':_0x396432,'sheetBlocks':{}};}async function B(_0x47f547){const _0x5399cd=_0x43367a;var _0x4d9956;let _0x36d73c=_0x47f547['id'],_0x3bac39=(_0x4d9956=_0x47f547[_0x5399cd(0x115)])==null?0x0:_0x4d9956,_0x392553=new W(),{snapshot:_0x15e378}=await(0x0,u[_0x5399cd(0x12e)])(_0x47f547['resources'],_0x47f547,_0x36d73c,_0x3bac39,_0x392553),_0x2332b6=fe(_0x15e378);if(!_0x2332b6)throw Error(_0x5399cd(0x131));return{'snapshot':_0x2332b6,'sheetBlocks':{}};}async function V(_0x359d9c){const _0x1779de=_0x43367a;let _0xb068c4=_0x359d9c[_0x1779de(0x1ae)],_0xa98e1c=_0x359d9c['sheetBlocks']||{};return await(0x0,u[_0x1779de(0xfe)])(_0xb068c4,Object[_0x1779de(0xe1)](_0xa98e1c)[_0x1779de(0xb5)](_0x381f16=>_0xa98e1c[_0x381f16])['map'](_0x1be44f=>({..._0x1be44f,'data':_0x1be44f['data']?JSON[_0x1779de(0xc1)]((0x0,u[_0x1779de(0xc0)])(_0x1be44f['data'])):void 0x0})));}function H(_0x14e17a){const _0x34ca0b=_0x43367a;let _0x272a91=_0x14e17a[_0x34ca0b(0x1ae)];return(0x0,u[_0x34ca0b(0x223)])(_0x272a91);}function U(_0x1fbd2e){const _0x461c5b=_0x43367a;let _0xc5349f=_0x1fbd2e[_0x461c5b(0x1ae)];return(0x0,u['transformSnapshotToSlideData'])(_0xc5349f);}var W=class{constructor(){const _0x5591e9=_0x43367a;g(this,_0x5591e9(0x205),new Map());}[_0x43367a(0x136)](){const _0x2d9498=_0x43367a;return Promise[_0x2d9498(0x213)]({'snapshot':{'unitID':'','type':t[_0x2d9498(0xb3)][_0x2d9498(0xf6)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0},'changesets':[],'error':{'code':l[_0x2d9498(0x155)]['OK'],'message':''}});}[_0x43367a(0x1c8)](_0x2f0c1d,_0x5c261f){const _0x4a7691=_0x43367a;let _0x1c4187=this['_sheetBlockCache'][_0x4a7691(0xb6)](_0x5c261f[_0x4a7691(0x175)]);return Promise[_0x4a7691(0x213)]({'block':_0x1c4187,'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x43367a(0x187)](_0x38d3ff,_0x17d112){const _0x27f1cb=_0x43367a;let _0x20a7fb=this[_0x27f1cb(0x205)][_0x27f1cb(0xb6)](_0x17d112[_0x27f1cb(0x175)]);return Promise[_0x27f1cb(0x213)]({'block':_0x20a7fb===void 0x0?void 0x0:{..._0x20a7fb,'data':JSON['parse'](u[_0x27f1cb(0xf8)]['decode'](_0x20a7fb[_0x27f1cb(0x101)]))},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x43367a(0x118)](){return Promise['resolve']({'changesets':[],'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x43367a(0x16f)](){const _0x5a1541=_0x43367a;return Promise[_0x5a1541(0x213)]({'resources':{},'error':{'code':l[_0x5a1541(0x155)]['OK'],'message':''}});}[_0x43367a(0x212)](){const _0xef624d=_0x43367a;return Promise[_0xef624d(0x213)]({'error':{'code':l[_0xef624d(0x155)]['OK'],'message':''}});}[_0x43367a(0xf0)](){const _0x1b97de=_0x43367a;return Promise['resolve']({'error':{'code':l[_0x1b97de(0x155)]['OK'],'message':''}});}[_0x43367a(0x13f)](_0x42db48,_0x360ee5){const _0x4d257b=_0x43367a;let {block:_0x359027}=_0x360ee5;return _0x359027?(this['_sheetBlockCache']['set'](_0x359027['id'],_0x359027),Promise[_0x4d257b(0x213)]({'error':{'code':l[_0x4d257b(0x155)]['OK'],'message':''},'blockID':_0x359027['id']})):Promise[_0x4d257b(0x213)]({'error':{'code':l['ErrorCode'][_0x4d257b(0x230)],'message':_0x4d257b(0x1fb)},'blockID':''});}['saveChangeset'](){const _0x5344ce=_0x43367a;return Promise[_0x5344ce(0x213)]({'error':{'code':l[_0x5344ce(0x155)]['OK'],'message':''},'concurrent':[]});}[_0x43367a(0xbc)](){const _0x123191=_0x43367a;return Promise[_0x123191(0x213)]({'error':void 0x0,'fileMetaId':''});}[_0x43367a(0x14a)](){const _0x4f4cf5=_0x43367a;return Promise[_0x4f4cf5(0x213)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t['createIdentifier'])(_0x43367a(0x1d4));function _0x15ca(){const _0x415a0c=['Module','link','\x20-\x20','number','pptx','univer-flex\x20univer-h-5\x20univer-text-xl','HttpImport','No\x20file\x20selected','getDeserializedSheetBlock','36LycHdm','Get\x20outputType\x20error','_getMaxPollingTime','searchParams','Error\x20getting\x20file\x20name\x20from\x20URL:','IRequestService','clearTaskInterrupted','unit','_showUploadMessage','pushLink','replace','_list','_progress$','univer-text-blue-500','UploadNotificationState','match','default','download','&flate=','_addTotalCount','signUrlServerUrl','complete','useDependency','{taskID}','xlsm','Error\x20fetching\x20file\x20from\x20URL:','exchange-client.uploadSuccessTip','requestState$','_config','UNIVER_DOC','headers','text','url','univer-text-green-500','_getTaskURL','application/octet-stream','none','connectInjector','snapshot','_registerIcons','floor','pop','disposeWithMe','importWorkbookDataToUnitId','touchDependencies','options','exportPPTXByUnitId','_clearProgress','_getDisableCellImageConversion','Disposable','some','ignoreTableExport','getUnitId','_messageService','CONNECTOR_DATA_TOO_LARGE','_addDoneTask','sheets','ERROR','Failed\x20to\x20parse\x20json','importDOCXToUnitId','body','createObjectURL','disposeUnit','_getUploadFileURL','getSheetBlock','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','toLowerCase','merge','18155TKRyTX','UniverLicensePlugin','transformSlideDataToSnapshotJson','_injector','size','_getExportURL','getFocusedUnit','univer-pro.exchange-client.exchange.service','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','Error','_getSignURL','.json','exportXLSXBySnapshot','upload','length','univer-pro.exchange-client.request.service','function','_exchangeService','_visible$','_completeProgress','scrollbarClassName','application/vnd.openxmlformats-officedocument.spreadsheetml.template','pending','isArray','unitID','Success','call','createIdentifier','/universer-api/file/{fileID}/sign-url','defineProperty','_iconManager','unsubscribe','show','LocaleService','getTaskServerUrl','77gkaqzc','dispose','signUrl','progress$','subscribe','_exportBySnapshot','append','pluginName','object','workbook','getOwnPropertyDescriptor','block\x20is\x20required','_emitProgress','toStringTag','BehaviorSubject','BuiltInUIPart','UNRECOGNIZED','has','accept','_configService','_registerComponents','_sheetBlockCache','?size=','visible$','join','489875xjqAUH','maxTimeoutTime','_getUnitName','{fileID}','revokeObjectURL','catch','Plugin','Injector','_resourceLoaderService','saveSnapshot','resolve','_showDownloadMessage','textEncoder','34412961IlLczP','1085163akyQXL','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','_list$','href','Tooltip','type','jsonID','exchange-client.networkError','_requestState$','UNIVER_EXCHANGE_CLIENT_PLUGIN','_getEnableServerSideComputing','Method\x20not\x20implemented.','transformSnapshotToDocumentData','click','UPLOADING','exchange-client.downloadSuccess','button','16538630gSyNrM','add','UniverExchangeClientPlugin','_getUnitIDSlide','getTask','Failed\x20to\x20get\x20unitID\x20from\x20task','getConfig','exportXLSXByUnitId','UNDEFINED','upload\x20failed:\x20FileId\x20is\x20empty','files','symbol','FileId','getUnitType','exchange-client.config','RequestService','constructor','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','onReady','status','exchange-client.wait','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','_signUrl','change','_getUnitDocJson','XlsxMultiIcon','success','exchange-client.unknownMistake','resolveWithBasePath','transformWorkbookDataToSnapshotJson','exchange-client.internalError','UniverInstanceType','univer-text-sm\x20univer-text-gray-500','map','get','/universer-api/exchange/{type}/export','HTTPResponseError','Failed\x20to\x20get\x20fileID\x20from\x20task','_blank','iterator','copyFileMeta','Info','addEventListener','_taskInterrupted','b64DecodeUnicode','parse','IUniverInstanceService','importServerUrl','38jhiMzl','taskID','getUniverInstanceTypeByFile','_localeService','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','IUIPartsService','_uploadTaskNotDone','message','decorate','createElement','&source=','954978eiPdLh','forEach','originalMeta','shift','ExchangeService','importPPTXToUnitId','UNIVER_UNKNOWN','prototype','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','IConfigService','application/vnd.openxmlformats-officedocument.presentationml.presentation','Warning','_import','_uploadNotificationService','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','workbook.json','uploadFileToUnitId','content-disposition','keys','IUploadNotificationService','doc','11379600HXUyuk','deflateSync','exportDOCXByUnitId','upload\x20request\x20failed','file','jsxs','/universer-api/stream/file/upload','enableServerSideComputing','getTextFromUrl','div','_getUnitSlideJson','univer-text-red-500','updateSnapshot','DirectExportIcon','clear','_httpService','exchange-client.tooLarge','_importFileToUnitId','UNIVER_SHEET','importFileToUnitIdByCurrentType','textDecoder','_fileTypeError','code','error','_getMinSheetRowCount','_extractErrorDetail','transformSnapshotToWorkbookData','application/vnd.ms-excel.sheet.macroEnabled.12','importXLSXToUnitId','data','IconManager','UNIVER_BASE','interruptImportTask','location','_logService','_getUnitJson','_doneUploadTaskCount','import','state$','exchange-client.uploading','stringify','_export','importPPTXToSnapshot','_showNetworkError','useEffect','exchange-client.uploadSuccess','application/json','_buildHttpErrorMessage','_uiPartsService','rev','9jcuqcX','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','fetchMissingChangesets','disableCellImageConversion','appendChild','_univerInstanceService','_getMinSheetColumnCount','_refreshSlide','exportPPTXBySnapshot','slide','SUCCESS','univer-mt-5\x20univer-flex\x20univer-flex-col','min','_getUnitID','origin','outputType','transformWorkbookDataToSnapshot','jsx','Failed\x20to\x20get\x20file\x20from\x20url','_getUnitNameByType','downloadEndpointUrl','_getDownloadEndpointURL','UploadNotificationService','uploadFileServerUrl','transformSlideDataToSnapshot','getCurrentUnitOfType','_requestService','Failed\x20to\x20transform\x20snapshot\x20to\x20string','CONTENT','SuccessIcon','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','minSheetRowCount','getUnitOnRev','Failed\x20to\x20get\x20jsonID\x20from\x20task','_getIgnoreTableExport','HTTPService','export','_totalUploadTaskCount','b64EncodeUnicode','done','UNIVER_SLIDE','saveSheetBlock','interrupt','_importToSnapshot','_getUnitIDDoc','getSnapshot','multiple','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Inject','updateState','importXLSXToSnapshot','UniverNetworkPlugin','getLatestCsReqIdBySid','display','_importTaskId','span','setTaskInterrupted','name','string','transformSnapshotJsonToSlideData','xlsx','xltx','register','ErrorCode','ClockIcon','decode','upload\x20failed:\x20missing\x20FileId\x20in\x20response',':\x20HTTP\x20','next','asObservable','_state$','_buildProtocolErrorMessage','useState','docx','MessageType','transformSnapshotJsonToWorkbookData','application/vnd.openxmlformats-officedocument.wordprocessingml.document','importFileToUnitId','clsx','importDOCXToSnapshot','_refresh','split','input','transformDocumentDataToSnapshot','Subject','DependentOn','registerComponent','sign\x20url\x20error','_getLinkByUnitId','getResourcesRequest','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','exchange-client.interrupt','createUnit','getUploadFile','_upload','blockID','trim','fileID','exportDOCXBySnapshot','registerDependencies','onStarting','list$','IResourceLoaderService','transformDocumentDataToSnapshotJson','exchange-client.fileTypeError'];_0x15ca=function(){return _0x415a0c;};return _0x15ca();}let K=class extends t['Disposable']{constructor(_0x30c655,_0x464a4b,_0x5e2900){const _0x5df642=_0x43367a;super(),this[_0x5df642(0x203)]=_0x30c655,this[_0x5df642(0xf3)]=_0x464a4b,this[_0x5df642(0x130)]=_0x5e2900,g(this,_0x5df642(0x14c),null),g(this,'_requestState$',new o[(_0x5df642(0x16a))]()),g(this,_0x5df642(0x1a3),this['_requestState$']['asObservable']());}['dispose'](){const _0x287291=_0x43367a;super['dispose'](),this[_0x287291(0x21f)][_0x287291(0x19d)]();}async[_0x43367a(0x165)](_0x35d34f){const _0x173a57=_0x43367a;let _0x17bb53=await this[_0x173a57(0x141)](_0x35d34f,t['UniverInstanceType'][_0x173a57(0x1a5)]);if(!_0x17bb53||!_0x17bb53[_0x173a57(0x1ae)])return;let _0x314c6a=H(_0x17bb53);if(_0x314c6a)return _0x314c6a;}async[_0x43367a(0xe6)](_0x21d3a1){const _0x40e082=_0x43367a;return this[_0x40e082(0x10d)](_0x21d3a1,0x1,t['UniverInstanceType'][_0x40e082(0x1a5)]);}async[_0x43367a(0x178)](_0x4ab206){const _0x37298f=_0x43367a;let _0x2932b9=await z(_0x4ab206);return this[_0x37298f(0x1f5)](_0x2932b9,t[_0x37298f(0xb3)]['UNIVER_DOC']);}async[_0x43367a(0x10e)](_0x89862d){const _0x15a957=_0x43367a;let _0x315d32=await this['_importToSnapshot'](_0x89862d,t[_0x15a957(0xb3)]['UNIVER_SLIDE']);if(!(!_0x315d32||!_0x315d32[_0x15a957(0x1ae)]))return U(_0x315d32);}async[_0x43367a(0x1b6)](_0x2b291b){const _0x47954a=_0x43367a;return this[_0x47954a(0x10d)](_0x2b291b,0x1,t['UniverInstanceType'][_0x47954a(0x13e)]);}async['exportPPTXBySnapshot'](_0x1b509d){const _0x165e56=_0x43367a;let _0x8cfd1a=await B(_0x1b509d);return this[_0x165e56(0x1f5)](_0x8cfd1a,t['UniverInstanceType'][_0x165e56(0x13e)]);}async['importXLSXToSnapshot'](_0x495e28){const _0x20848a=_0x43367a;let _0x3e8194=await this[_0x20848a(0x141)](_0x495e28,t[_0x20848a(0xb3)]['UNIVER_SHEET']);if(!_0x3e8194)return;let _0x23b1d6=await V(_0x3e8194);if(_0x23b1d6)return _0x23b1d6;}async[_0x43367a(0x22f)](_0x874a04){const _0x589181=_0x43367a;return this[_0x589181(0x10d)](_0x874a04,0x1,t[_0x589181(0xb3)][_0x589181(0xf6)]);}async[_0x43367a(0x1d9)](_0x954ecd){const _0x17d7a7=_0x43367a;let _0xb5f19d=await R(_0x954ecd);return this[_0x17d7a7(0x1f5)](_0xb5f19d,t[_0x17d7a7(0xb3)]['UNIVER_SHEET']);}async[_0x43367a(0x163)](_0x3a0c88,_0x5ee054){const _0x14f41b=_0x43367a;var _0x5a2376,_0x1fae7f;let _0x5c2129=await this['_upload'](_0x3a0c88);if(!_0x5c2129)return;let _0x2abe26=await this[_0x14f41b(0xdb)](_0x5c2129,0x1,_0x5ee054);if(!_0x2abe26)return;this[_0x14f41b(0x14c)]=_0x2abe26,this[_0x14f41b(0x130)][_0x14f41b(0x18e)]();let _0x42854f=await this['_requestService'][_0x14f41b(0x22c)](_0x2abe26)['catch'](_0x36453b=>{const _0x114632=_0x14f41b;var _0x376130;let _0x307ef4=_0x36453b instanceof Error?_0x36453b[_0x114632(0xcb)]:(_0x376130=_0x36453b['error'])==null?void 0x0:_0x376130['message'];this[_0x114632(0x21f)][_0x114632(0x15a)]({'error':{'code':l['ErrorCode'][_0x114632(0x200)],'message':_0x307ef4||''},'state':0x3});});if(!_0x42854f)return;let _0x1f1180=(_0x5a2376=_0x42854f[_0x14f41b(0x109)])==null?void 0x0:_0x5a2376[_0x14f41b(0x125)],_0x1c170b=((_0x1fae7f=_0x42854f['import'])==null?void 0x0:_0x1fae7f[_0x14f41b(0x1e5)])||'';if(_0x1f1180!==0x1){this[_0x14f41b(0x21f)][_0x14f41b(0x15a)]({'error':{'code':l[_0x14f41b(0x155)][_0x14f41b(0x200)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x1c170b['length']===0x0){this[_0x14f41b(0x21f)]['next']({'error':{'code':l[_0x14f41b(0x155)][_0x14f41b(0x200)],'message':_0x14f41b(0x22d)},'state':0x3});return;}return this[_0x14f41b(0x21f)][_0x14f41b(0x15a)]({'error':_0x42854f[_0x14f41b(0xfb)],'state':0x3}),_0x1c170b;}async[_0x43367a(0x1b3)](_0x2de50c){const _0x21e911=_0x43367a;let _0x2cfcca=await R(_0x2de50c),_0x1e0878=typeof _0x2de50c['id']=='string'&&_0x2de50c['id']['trim']()?_0x2de50c['id'][_0x21e911(0x176)]()+_0x21e911(0x1d8):_0x21e911(0xde),_0x4c60f5=new File([JSON[_0x21e911(0x10c)](_0x2cfcca)],_0x1e0878,{'type':_0x21e911(0x112)});return this[_0x21e911(0x163)](_0x4c60f5,t[_0x21e911(0xb3)][_0x21e911(0xf6)]);}[_0x43367a(0x104)](){const _0x3a86e4=_0x43367a;this[_0x3a86e4(0x14c)]&&this[_0x3a86e4(0x130)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x43367a(0x141)](_0x5e3da2,_0x35fd9d){const _0xb69e09=_0x43367a;var _0x232b58,_0x2de9ad;let _0x34b3bd=await this[_0xb69e09(0x174)](_0x5e3da2);if(!_0x34b3bd)return;let _0x2514d1=await this['_import'](_0x34b3bd,0x2,_0x35fd9d);if(!_0x2514d1)return;this['_importTaskId']=_0x2514d1,this['_requestService']['clearTaskInterrupted']();let _0x5c3f2d=await this['_requestService']['getTask'](_0x2514d1)[_0xb69e09(0x20e)](_0x1be5c9=>{const _0x167556=_0xb69e09;var _0x173150;let _0x300b64=_0x1be5c9 instanceof Error?_0x1be5c9[_0x167556(0xcb)]:(_0x173150=_0x1be5c9[_0x167556(0xfb)])==null?void 0x0:_0x173150[_0x167556(0xcb)];this[_0x167556(0x21f)][_0x167556(0x15a)]({'error':{'code':l[_0x167556(0x155)][_0x167556(0x200)],'message':_0x300b64||''},'state':0x3});});if(!_0x5c3f2d)return;let _0x5e6216=(_0x232b58=_0x5c3f2d[_0xb69e09(0x109)])==null?void 0x0:_0x232b58[_0xb69e09(0x125)],_0x1edc61=((_0x2de9ad=_0x5c3f2d[_0xb69e09(0x109)])==null?void 0x0:_0x2de9ad[_0xb69e09(0x21d)])||'';if(_0x5e6216!==0x2){this[_0xb69e09(0x21f)]['next']({'error':{'code':l[_0xb69e09(0x155)][_0xb69e09(0x200)],'message':_0xb69e09(0x189)},'state':0x3});return;}if(_0x1edc61[_0xb69e09(0x1db)]===0x0){this[_0xb69e09(0x21f)][_0xb69e09(0x15a)]({'error':{'code':l[_0xb69e09(0x155)][_0xb69e09(0x200)],'message':_0xb69e09(0x137)},'state':0x3});return;}this['_requestState$'][_0xb69e09(0x15a)]({'error':_0x5c3f2d[_0xb69e09(0xfb)],'state':0x3});let _0x45cbbf=await this[_0xb69e09(0xaa)](_0x1edc61);if(!_0x45cbbf)return;let _0x12c991=await this[_0xb69e09(0x130)][_0xb69e09(0xec)](_0x45cbbf);if(!_0x12c991){this[_0xb69e09(0x21f)][_0xb69e09(0x15a)]({'error':{'code':l['ErrorCode'][_0xb69e09(0x200)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x197d8a=JSON['parse'](_0x12c991);return this['_requestState$'][_0xb69e09(0x15a)]({'error':{'code':l[_0xb69e09(0x155)]['OK'],'message':_0xb69e09(0xae)},'state':0x5}),_0x197d8a;}catch{this[_0xb69e09(0x21f)]['next']({'error':{'code':l[_0xb69e09(0x155)][_0xb69e09(0x200)],'message':_0xb69e09(0x1c2)},'state':0x5});}}async[_0x43367a(0x1f5)](_0x233fa0,_0x48a499){const _0x1d3f30=_0x43367a;let _0x1d3c00=JSON[_0x1d3f30(0x10c)](_0x233fa0),_0x9d6c=u[_0x1d3f30(0x215)]['encode'](_0x1d3c00),_0x35c42d=(0x0,d[_0x1d3f30(0xe5)])(_0x9d6c),_0x545612=_0x9d6c[_0x1d3f30(0x1db)],_0x5efaa3=ce(_0x35c42d),_0x59b19a=await this[_0x1d3f30(0x174)](_0x5efaa3,_0x545612,!0x0);if(_0x59b19a)return this[_0x1d3f30(0x10d)](_0x59b19a,0x2,_0x48a499);}async[_0x43367a(0x10d)](_0x22be4e,_0x4c6a91,_0x60f5ac){const _0x4aac54=_0x43367a;var _0x1eb333;let _0x304e5f=await this[_0x4aac54(0x130)][_0x4aac54(0x13a)]({'unitID':_0x4c6a91===0x1?_0x22be4e:'','jsonID':_0x4c6a91===0x2?_0x22be4e:'','type':_0x60f5ac,'sscSwitch':this[_0x4aac54(0x221)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x304e5f){this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l[_0x4aac54(0x155)][_0x4aac54(0x200)],'message':'export\x20error'},'state':0x2});return;}if(this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':_0x304e5f[_0x4aac54(0xfb)],'state':0x2}),_0x304e5f[_0x4aac54(0xfb)]&&_0x304e5f[_0x4aac54(0xfb)][_0x4aac54(0xfa)]!==l[_0x4aac54(0x155)]['OK'])return;let _0x358bf8=_0x304e5f['taskID'],_0x10e1bd=await this[_0x4aac54(0x130)][_0x4aac54(0x22c)](_0x358bf8)['catch'](_0x574e1f=>{const _0x17791c=_0x4aac54;var _0xf5c0bc;let _0x58fef4=_0x574e1f instanceof Error?_0x574e1f['message']:(_0xf5c0bc=_0x574e1f[_0x17791c(0xfb)])==null?void 0x0:_0xf5c0bc[_0x17791c(0xcb)];this[_0x17791c(0x21f)]['next']({'error':{'code':l[_0x17791c(0x155)][_0x17791c(0x200)],'message':_0x58fef4||''},'state':0x3});});if(!_0x10e1bd)return;let _0x93d292=((_0x1eb333=_0x10e1bd[_0x4aac54(0x13a)])==null?void 0x0:_0x1eb333[_0x4aac54(0x177)])||'';if(_0x93d292[_0x4aac54(0x1db)]===0x0){this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l[_0x4aac54(0x155)]['UNRECOGNIZED'],'message':_0x4aac54(0xb9)},'state':0x3});return;}this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':_0x10e1bd[_0x4aac54(0xfb)],'state':0x3});let _0x14f02a=await this[_0x4aac54(0xaa)](_0x93d292);if(!_0x14f02a)return;let _0x19d4ea=await A(_0x14f02a,this[_0x4aac54(0xf3)]);if(!_0x19d4ea){this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l[_0x4aac54(0x155)][_0x4aac54(0x200)],'message':_0x4aac54(0x128)},'state':0x6});return;}return this[_0x4aac54(0x21f)][_0x4aac54(0x15a)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x4aac54(0xae)},'state':0x6}),_0x19d4ea;}async['_upload'](_0x35c798,_0x4b7b27,_0x53262f){const _0x269639=_0x43367a;let _0x1ed4ec;try{_0x1ed4ec=await this[_0x269639(0x130)][_0x269639(0x1da)](_0x35c798,_0x4b7b27,_0x53262f);}catch(_0x34423d){let _0x329569=_0x34423d instanceof Error?_0x34423d['message']:String(_0x34423d);this['_requestState$'][_0x269639(0x15a)]({'error':{'code':l[_0x269639(0x155)]['UNRECOGNIZED'],'message':_0x329569},'state':0x0});return;}if(!_0x1ed4ec||typeof _0x1ed4ec[_0x269639(0x234)]!='string'){this[_0x269639(0x21f)][_0x269639(0x15a)]({'error':{'code':l[_0x269639(0x155)]['UNRECOGNIZED'],'message':_0x269639(0x158)},'state':0x0});return;}let _0x592965=_0x1ed4ec['FileId'];if(_0x592965[_0x269639(0x1db)]===0x0){this[_0x269639(0x21f)][_0x269639(0x15a)]({'error':{'code':l[_0x269639(0x155)][_0x269639(0x200)],'message':_0x269639(0x231)},'state':0x0});return;}return this[_0x269639(0x21f)][_0x269639(0x15a)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x269639(0xae)},'state':0x0}),_0x592965;}async[_0x43367a(0xdb)](_0x2f302f,_0x2d74e0,_0x395868){const _0x29d3d4=_0x43367a;let _0x47a78c={'fileID':_0x2f302f,'type':_0x395868,'outputType':_0x2d74e0,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this[_0x29d3d4(0x11c)]()},_0xc4d8e8=await this['_requestService'][_0x29d3d4(0x109)](_0x47a78c);if(!_0xc4d8e8){this[_0x29d3d4(0x21f)]['next']({'error':{'code':l[_0x29d3d4(0x155)][_0x29d3d4(0x200)],'message':'import\x20error'},'state':0x1});return;}if(_0xc4d8e8[_0x29d3d4(0xfb)]&&_0xc4d8e8[_0x29d3d4(0xfb)][_0x29d3d4(0xfa)]!==l[_0x29d3d4(0x155)]['OK']){this[_0x29d3d4(0x21f)][_0x29d3d4(0x15a)]({'error':_0xc4d8e8[_0x29d3d4(0xfb)],'state':0x1});return;}let _0x127707=_0xc4d8e8[_0x29d3d4(0xc5)];if(_0x127707['length']===0x0){this[_0x29d3d4(0x21f)][_0x29d3d4(0x15a)]({'error':{'code':l['ErrorCode'][_0x29d3d4(0x200)],'message':_0x29d3d4(0x145)},'state':0x1});return;}return this[_0x29d3d4(0x21f)][_0x29d3d4(0x15a)]({'error':_0xc4d8e8[_0x29d3d4(0xfb)],'state':0x1}),_0x127707;}async[_0x43367a(0xaa)](_0x17e7df){const _0x3e8184=_0x43367a;let _0x85a95d=await this[_0x3e8184(0x130)][_0x3e8184(0x1f2)](_0x17e7df);if(!_0x85a95d){this[_0x3e8184(0x21f)][_0x3e8184(0x15a)]({'error':{'code':l[_0x3e8184(0x155)][_0x3e8184(0x200)],'message':_0x3e8184(0x16d)},'state':0x4});return;}if(_0x85a95d[_0x3e8184(0xfb)]&&_0x85a95d[_0x3e8184(0xfb)][_0x3e8184(0xfa)]!==l[_0x3e8184(0x155)]['OK']){this[_0x3e8184(0x21f)][_0x3e8184(0x15a)]({'error':_0x85a95d[_0x3e8184(0xfb)],'state':0x4});return;}let _0x12a178=(0x0,t[_0x3e8184(0xb0)])(_0x85a95d[_0x3e8184(0x1a8)],this[_0x3e8184(0x12b)]());if(_0x12a178[_0x3e8184(0x1db)]===0x0){this['_requestState$']['next']({'error':{'code':l[_0x3e8184(0x155)]['UNRECOGNIZED'],'message':_0x3e8184(0x16d)},'state':0x4});return;}return this[_0x3e8184(0x21f)][_0x3e8184(0x15a)]({'error':_0x85a95d[_0x3e8184(0xfb)],'state':0x4}),_0x12a178;}[_0x43367a(0x12b)](){const _0x27897f=_0x43367a;var _0xec8e4c;let _0x4e3d0a=this['_configService']['getConfig'](f);return(_0xec8e4c=_0x4e3d0a==null?void 0x0:_0x4e3d0a[_0x27897f(0x12a)])==null?location[_0x27897f(0x124)]:_0xec8e4c;}[_0x43367a(0xfc)](){const _0x25639f=_0x43367a;var _0x2ae937,_0x2b6e3f;let _0x2838d5=this[_0x25639f(0x203)][_0x25639f(0x22e)](f);return(_0x2ae937=_0x2838d5==null||(_0x2b6e3f=_0x2838d5[_0x25639f(0x1b5)])==null?void 0x0:_0x2b6e3f[_0x25639f(0x135)])==null?0x1:_0x2ae937;}[_0x43367a(0x11c)](){const _0x631ae=_0x43367a;var _0x857a48,_0x6a1756;let _0x4552cf=this['_configService'][_0x631ae(0x22e)](f);return(_0x857a48=_0x4552cf==null||(_0x6a1756=_0x4552cf[_0x631ae(0x1b5)])==null?void 0x0:_0x6a1756['minSheetColumnCount'])==null?0x1:_0x857a48;}[_0x43367a(0x221)](){const _0x577d05=_0x43367a;var _0x83f9fe,_0x4dabe1;let _0x2d2c97=this[_0x577d05(0x203)][_0x577d05(0x22e)](f);return(_0x83f9fe=_0x2d2c97==null||(_0x4dabe1=_0x2d2c97[_0x577d05(0x1b5)])==null?void 0x0:_0x4dabe1[_0x577d05(0xeb)])==null?!0x1:_0x83f9fe;}[_0x43367a(0x1b8)](){const _0x4e8b36=_0x43367a;var _0x1762b9,_0x479d77;let _0x810b0e=this['_configService'][_0x4e8b36(0x22e)](f);return(_0x1762b9=_0x810b0e==null||(_0x479d77=_0x810b0e[_0x4e8b36(0x1b5)])==null?void 0x0:_0x479d77[_0x4e8b36(0x119)])==null?!0x0:_0x1762b9;}[_0x43367a(0x138)](){const _0x43d21c=_0x43367a;var _0x511a77,_0xf4c50;let _0x3dc4db=this[_0x43d21c(0x203)][_0x43d21c(0x22e)](f);return(_0x511a77=_0x3dc4db==null||(_0xf4c50=_0x3dc4db[_0x43d21c(0x1b5)])==null?void 0x0:_0xf4c50[_0x43d21c(0x1bb)])==null?!0x1:_0x511a77;}};K=P([N(0x0,t[_0x43367a(0xd8)]),N(0x1,(0x0,t[_0x43367a(0x146)])(n[_0x43367a(0x139)])),N(0x2,(0x0,t['Inject'])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x43367a(0x1e8)])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x43367a(0x1b9)]{constructor(_0xde15e5,_0x1db837,_0x3de658,_0x9ff9e6,_0x7d0287,_0x5673af,_0x1c1d36){const _0x577b02=_0x43367a;super(),this[_0x577b02(0x11b)]=_0xde15e5,this[_0x577b02(0x1bd)]=_0x1db837,this[_0x577b02(0xc7)]=_0x3de658,this['_exchangeService']=_0x9ff9e6,this['_uploadNotificationService']=_0x7d0287,this[_0x577b02(0x106)]=_0x5673af,this[_0x577b02(0x211)]=_0x1c1d36,g(this,_0x577b02(0x194),new o[(_0x577b02(0x1fe))](pe)),g(this,_0x577b02(0x1f3),this[_0x577b02(0x194)][_0x577b02(0x15b)]()),g(this,_0x577b02(0x13b),0x0),g(this,_0x577b02(0x108),0x0),this[_0x577b02(0x1b2)]((0x0,t['toDisposable'])(this[_0x577b02(0x1de)][_0x577b02(0x1a3)]['subscribe'](_0x5730b7=>{const _0x19f47a=_0x577b02;var _0x5b2b53;((_0x5b2b53=_0x5730b7[_0x19f47a(0xfb)])==null?void 0x0:_0x5b2b53[_0x19f47a(0xfa)])===l[_0x19f47a(0x155)]['OK']?this['_addDoneTask'](0x1):this[_0x19f47a(0x10f)](_0x5730b7[_0x19f47a(0xfb)]);})));}['interrupt'](){const _0x17ca69=_0x43367a;this['_clearProgress'](),this['_uploadNotificationService'][_0x17ca69(0x147)](0x2),this[_0x17ca69(0x1de)][_0x17ca69(0x104)]();}async[_0x43367a(0xdf)](_0xb37546){throw Error('Method\x20not\x20implemented.');}async[_0x43367a(0xf7)](){const _0x1b8731=_0x43367a;let _0x64132a=this[_0x1b8731(0x11b)][_0x1b8731(0x1d3)]();switch(_0x64132a?this['_univerInstanceService'][_0x1b8731(0x235)](_0x64132a[_0x1b8731(0x1bc)]()):t['UniverInstanceType']['UNRECOGNIZED']){case t['UniverInstanceType'][_0x1b8731(0x13e)]:return this[_0x1b8731(0xd4)]();case t[_0x1b8731(0xb3)]['UNIVER_DOC']:return this['importDOCXToUnitId']();case t['UniverInstanceType'][_0x1b8731(0xf6)]:default:return this[_0x1b8731(0x100)]();}}async[_0x43367a(0x1c3)](){const _0x44d25b=_0x43367a;let _0x3e7622=await k([t['UniverInstanceType']['UNIVER_DOC']]);if(_0x3e7622&&!this[_0x44d25b(0xf9)](_0x3e7622,t[_0x44d25b(0xb3)]['UNIVER_DOC']))return this[_0x44d25b(0xf5)](_0x3e7622[0x0],t[_0x44d25b(0xb3)][_0x44d25b(0x1a5)]);}[_0x43367a(0x165)](){const _0x1ee150=_0x43367a;throw Error(_0x1ee150(0x222));}async[_0x43367a(0xe6)](_0x35849f,_0x1332b9,_0x5f6603){const _0x4d7a3e=_0x43367a;this[_0x4d7a3e(0x214)](s[_0x4d7a3e(0x160)][_0x4d7a3e(0xbd)]);let _0x3dd003=await this['_exchangeService'][_0x4d7a3e(0xe6)](_0x35849f||this[_0x4d7a3e(0x142)]());_0x3dd003&&(E(_0x3dd003,_0x1332b9||this[_0x4d7a3e(0x20b)](_0x3dd003),_0x4d7a3e(0x15f)),this[_0x4d7a3e(0x214)](s[_0x4d7a3e(0x160)][_0x4d7a3e(0x1e6)]));}async[_0x43367a(0x178)](){const _0x48a829=_0x43367a;this[_0x48a829(0x214)](s[_0x48a829(0x160)]['Info']);let _0x67d366=await this[_0x48a829(0xac)](),_0x189ea2=await this[_0x48a829(0x1de)][_0x48a829(0x178)](_0x67d366);_0x189ea2&&(E(_0x189ea2,this[_0x48a829(0x20b)](_0x189ea2),'docx'),this[_0x48a829(0x214)](s[_0x48a829(0x160)]['Success']));}async['importPPTXToUnitId'](){const _0x3c2dd6=_0x43367a;if(this[_0x3c2dd6(0xca)]()){this['_messageService'][_0x3c2dd6(0x1ed)]({'type':s[_0x3c2dd6(0x160)]['Warning'],'content':this[_0x3c2dd6(0xc7)]['t'](_0x3c2dd6(0x10b))});return;}let _0x5b8073=await k([t[_0x3c2dd6(0xb3)][_0x3c2dd6(0x13e)]]);if(_0x5b8073&&!this['_fileTypeError'](_0x5b8073,t[_0x3c2dd6(0xb3)][_0x3c2dd6(0x13e)]))return this[_0x3c2dd6(0xf5)](_0x5b8073[0x0],t[_0x3c2dd6(0xb3)]['UNIVER_SLIDE']);}async['importPPTXToSnapshot'](){const _0x188f49=_0x43367a;if(this[_0x188f49(0xca)]()){this[_0x188f49(0x1bd)][_0x188f49(0x1ed)]({'type':s[_0x188f49(0x160)][_0x188f49(0xda)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x4eaf3f=await k([t[_0x188f49(0xb3)][_0x188f49(0x13e)]]);if(!_0x4eaf3f)return;this['_showUploadMessage'](s['MessageType']['Info']);let _0x45925e=await this[_0x188f49(0x1de)]['importPPTXToSnapshot'](_0x4eaf3f[0x0]);_0x45925e&&(this[_0x188f49(0x11d)](_0x45925e),this['_showUploadMessage'](s[_0x188f49(0x160)]['Success']));}async[_0x43367a(0x1b6)](_0x1fd829,_0x13cbd7,_0x342737){const _0xcbcd71=_0x43367a;this[_0xcbcd71(0x214)](s['MessageType']['Info']);let _0x1dd8eb=await this[_0xcbcd71(0x1de)][_0xcbcd71(0x1b6)](_0x1fd829||this[_0xcbcd71(0x22b)]());_0x1dd8eb&&(E(_0x1dd8eb,_0x13cbd7||this[_0xcbcd71(0x129)](_0x1dd8eb,_0x342737==null?t['UniverInstanceType'][_0xcbcd71(0x13e)]:_0x342737),_0xcbcd71(0x183)),this['_showDownloadMessage'](s[_0xcbcd71(0x160)][_0xcbcd71(0x1e6)]));}async[_0x43367a(0x11e)](){const _0x416041=_0x43367a;this[_0x416041(0x214)](s[_0x416041(0x160)][_0x416041(0xbd)]);let _0x553941=await this['_getUnitSlideJson'](),_0x51d31e=await this[_0x416041(0x1de)][_0x416041(0x11e)](_0x553941);_0x51d31e&&(E(_0x51d31e,this['_getUnitNameByType'](_0x51d31e,t[_0x416041(0xb3)][_0x416041(0x13e)]),_0x416041(0x183)),this[_0x416041(0x214)](s[_0x416041(0x160)][_0x416041(0x1e6)]));}async['importXLSXToUnitId'](){const _0x1685d5=_0x43367a;if(this[_0x1685d5(0xca)]()){this['_messageService'][_0x1685d5(0x1ed)]({'type':s[_0x1685d5(0x160)][_0x1685d5(0xda)],'content':this[_0x1685d5(0xc7)]['t'](_0x1685d5(0x10b))});return;}let _0x17c306=await k([t['UniverInstanceType'][_0x1685d5(0xf6)]]);if(_0x17c306&&!this[_0x1685d5(0xf9)](_0x17c306,t[_0x1685d5(0xb3)][_0x1685d5(0xf6)]))return this[_0x1685d5(0xf5)](_0x17c306[0x0],t[_0x1685d5(0xb3)]['UNIVER_SHEET']);}async[_0x43367a(0x148)](){const _0x18b570=_0x43367a;if(this[_0x18b570(0xca)]()){this['_messageService'][_0x18b570(0x1ed)]({'type':s['MessageType'][_0x18b570(0xda)],'content':this['_localeService']['t'](_0x18b570(0x10b))});return;}let _0x16070c=await k([t[_0x18b570(0xb3)][_0x18b570(0xf6)]]);if(!_0x16070c)return;this['_showUploadMessage'](s[_0x18b570(0x160)][_0x18b570(0xbd)]);let _0x5e0eae=await this[_0x18b570(0x1de)][_0x18b570(0x148)](_0x16070c[0x0]);_0x5e0eae&&(this[_0x18b570(0x166)](_0x5e0eae),this[_0x18b570(0x190)](s[_0x18b570(0x160)][_0x18b570(0x1e6)]));}async[_0x43367a(0x22f)](_0x296e84,_0x313eae,_0x44edfa){const _0xf979d5=_0x43367a;this['_showDownloadMessage'](s['MessageType']['Info']);let _0x45784f=await this[_0xf979d5(0x1de)][_0xf979d5(0x22f)](_0x296e84||this['_getUnitID']());_0x45784f&&(E(_0x45784f,_0x313eae||this[_0xf979d5(0x20b)](_0x45784f),'xlsx'),this[_0xf979d5(0x214)](s[_0xf979d5(0x160)][_0xf979d5(0x1e6)]));}async[_0x43367a(0x1d9)](){const _0x5b22c4=_0x43367a;this['_showDownloadMessage'](s[_0x5b22c4(0x160)][_0x5b22c4(0xbd)]);let _0x2fdfcc=await this[_0x5b22c4(0x107)](),_0x53d3cb=await this[_0x5b22c4(0x1de)][_0x5b22c4(0x1d9)](_0x2fdfcc);_0x53d3cb&&(E(_0x53d3cb,this[_0x5b22c4(0x20b)](_0x53d3cb),_0x5b22c4(0x152)),this[_0x5b22c4(0x214)](s[_0x5b22c4(0x160)]['Success']));}['registerLink'](_0x69ad1e){this['_getLinkByUnitId']=_0x69ad1e;}async[_0x43367a(0xf5)](_0x43fe3f,_0x377ed3){const _0x8b0c84=_0x43367a;this[_0x8b0c84(0xdc)][_0x8b0c84(0x1ed)](),this[_0x8b0c84(0xdc)][_0x8b0c84(0x147)](0x0),this[_0x8b0c84(0x19b)](0x4),this[_0x8b0c84(0x1bf)](0x1);let _0x29bb3c=await this[_0x8b0c84(0x1de)][_0x8b0c84(0x163)](_0x43fe3f,_0x377ed3);if(!_0x29bb3c){this[_0x8b0c84(0x1b7)](),this[_0x8b0c84(0xdc)][_0x8b0c84(0x147)](0x2);return;}let _0x4a356b={'link':this[_0x8b0c84(0x16e)](_0x29bb3c,_0x377ed3),'name':_0x43fe3f[_0x8b0c84(0x14f)],'type':_0x377ed3};return this['_uploadNotificationService'][_0x8b0c84(0x191)](_0x4a356b),this[_0x8b0c84(0x1e0)](),this[_0x8b0c84(0xdc)][_0x8b0c84(0x147)](0x1),_0x29bb3c;}[_0x43367a(0x123)](){const _0x340a26=_0x43367a;return this[_0x340a26(0x11b)][_0x340a26(0x12f)](t[_0x340a26(0xb3)][_0x340a26(0xf6)])[_0x340a26(0x1bc)]();}[_0x43367a(0x142)](){const _0xa51804=_0x43367a;return this[_0xa51804(0x11b)]['getCurrentUnitOfType'](t[_0xa51804(0xb3)][_0xa51804(0x1a5)])[_0xa51804(0x1bc)]();}['_getUnitIDSlide'](){const _0x471def=_0x43367a;return this[_0x471def(0x11b)]['getCurrentUnitOfType'](t[_0x471def(0xb3)][_0x471def(0x13e)])[_0x471def(0x1bc)]();}[_0x43367a(0x20b)](_0x412c6c){const _0x1e0bce=_0x43367a;return this['_getUnitNameByType'](_0x412c6c,t[_0x1e0bce(0xb3)][_0x1e0bce(0xf6)]);}[_0x43367a(0x129)](_0x3fa9ca,_0x11cbce){const _0x573bb0=_0x43367a;var _0x3f7e5b;let _0x7d1f5a=(_0x3f7e5b=this[_0x573bb0(0x11b)]['getCurrentUnitOfType'](_0x11cbce))==null?void 0x0:_0x3f7e5b[_0x573bb0(0x143)](),_0x5e6a80=_0x7d1f5a==null?void 0x0:_0x7d1f5a[_0x573bb0(0x14f)];return typeof _0x5e6a80=='string'&&_0x5e6a80[_0x573bb0(0x176)]()?_0x5e6a80:_0x3fa9ca[_0x573bb0(0x14f)][_0x573bb0(0x167)]('.')[_0x573bb0(0xd2)]()||document['title'];}async[_0x43367a(0x107)](){const _0x1961ce=_0x43367a;return this[_0x1961ce(0x11b)]['getCurrentUnitOfType'](t[_0x1961ce(0xb3)][_0x1961ce(0xf6)])[_0x1961ce(0x143)]();}async['_getUnitDocJson'](){const _0x48e435=_0x43367a;return this[_0x48e435(0x11b)][_0x48e435(0x12f)](t[_0x48e435(0xb3)][_0x48e435(0x1a5)])[_0x48e435(0x143)]();}async[_0x43367a(0xee)](){const _0x12fd10=_0x43367a;let _0x26c7fe=this['_univerInstanceService'][_0x12fd10(0x12f)](t[_0x12fd10(0xb3)][_0x12fd10(0x13e)]),_0x360a76=this[_0x12fd10(0x211)]['saveUnit'](_0x26c7fe[_0x12fd10(0x1bc)]());return _0x360a76==null?_0x26c7fe[_0x12fd10(0x143)]():_0x360a76;}[_0x43367a(0x16e)](_0x11399d,_0x5ea015){const _0x207c46=_0x43367a;let _0x364b11=new URL(window[_0x207c46(0x105)]['href']);return _0x364b11[_0x207c46(0x18b)]['set'](_0x207c46(0x18f),_0x11399d),_0x364b11[_0x207c46(0x18b)]['set'](_0x207c46(0x21c),''+_0x5ea015),_0x364b11['toString']();}[_0x43367a(0x166)](_0x1dd07b){const _0x297a24=_0x43367a;let _0x5b333e=this['_univerInstanceService'][_0x297a24(0x12f)](t[_0x297a24(0xb3)][_0x297a24(0xf6)])['getUnitId']();this[_0x297a24(0x11b)][_0x297a24(0x1c6)](_0x5b333e),this[_0x297a24(0x11b)][_0x297a24(0x172)](t[_0x297a24(0xb3)][_0x297a24(0xf6)],_0x1dd07b);}[_0x43367a(0x11d)](_0x3a5a84){const _0x394584=_0x43367a;let _0x42ca90=this[_0x394584(0x11b)][_0x394584(0x12f)](t[_0x394584(0xb3)][_0x394584(0x13e)])['getUnitId']();this['_univerInstanceService'][_0x394584(0x1c6)](_0x42ca90),this['_univerInstanceService'][_0x394584(0x172)](t[_0x394584(0xb3)][_0x394584(0x13e)],_0x3a5a84);}[_0x43367a(0x10f)](_0x4b04a4){const _0x165fb7=_0x43367a;if(_0x4b04a4){let {code:_0x51692a}=_0x4b04a4;switch(_0x51692a){case l[_0x165fb7(0x155)][_0x165fb7(0x1be)]:this[_0x165fb7(0x1bd)][_0x165fb7(0x1ed)]({'type':s[_0x165fb7(0x160)]['Error'],'content':this['_localeService']['t'](_0x165fb7(0xf4))});break;case l[_0x165fb7(0x155)]['INTERNAL_ERROR']:this[_0x165fb7(0x1bd)][_0x165fb7(0x1ed)]({'type':s['MessageType']['Error'],'content':this['_localeService']['t'](_0x165fb7(0xb2))});break;default:this[_0x165fb7(0x1bd)]['show']({'type':s[_0x165fb7(0x160)]['Error'],'content':this[_0x165fb7(0xc7)]['t'](_0x165fb7(0x21e))});break;}return null;}return this[_0x165fb7(0x1bd)]['show']({'type':s[_0x165fb7(0x160)]['Error'],'content':this[_0x165fb7(0xc7)]['t']('exchange-client.networkError')}),null;}[_0x43367a(0x214)](_0x382003){const _0x3409b6=_0x43367a;let _0x3582f7='';switch(_0x382003){case s[_0x3409b6(0x160)]['Success']:_0x3582f7=this[_0x3409b6(0xc7)]['t'](_0x3409b6(0x226));break;case s[_0x3409b6(0x160)]['Info']:_0x3582f7=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this[_0x3409b6(0x1bd)][_0x3409b6(0x1ed)]({'type':_0x382003,'content':_0x3582f7});}[_0x43367a(0x190)](_0xf7cfb4){const _0x39a4f5=_0x43367a;let _0xf387d4='';switch(_0xf7cfb4){case s[_0x39a4f5(0x160)][_0x39a4f5(0x1e6)]:_0xf387d4=this[_0x39a4f5(0xc7)]['t'](_0x39a4f5(0x111));break;case s[_0x39a4f5(0x160)][_0x39a4f5(0xbd)]:_0xf387d4=this['_localeService']['t']('exchange-client.uploading');break;default:break;}this[_0x39a4f5(0x1bd)]['show']({'type':_0xf7cfb4,'content':_0xf387d4});}[_0x43367a(0x1fc)](){const _0x38a15d=_0x43367a;this[_0x38a15d(0x194)][_0x38a15d(0x15a)]({'done':this['_doneUploadTaskCount'],'count':this[_0x38a15d(0x13b)]});}[_0x43367a(0x19b)](_0x5d07e7){const _0x2fe832=_0x43367a;this[_0x2fe832(0x13b)]+=_0x5d07e7,this[_0x2fe832(0x1fc)]();}['_addDoneTask'](_0x9d0686){const _0x237a98=_0x43367a;this['_doneUploadTaskCount']+=_0x9d0686,this[_0x237a98(0x108)]=Math[_0x237a98(0x122)](this[_0x237a98(0x108)],this['_totalUploadTaskCount']),this[_0x237a98(0x1fc)]();}[_0x43367a(0x1e0)](){const _0x261e55=_0x43367a;this[_0x261e55(0x108)]=this[_0x261e55(0x13b)],this[_0x261e55(0x1fc)]();}['_clearProgress'](){const _0x5009a9=_0x43367a;this[_0x5009a9(0x108)]=0x0,this['_totalUploadTaskCount']=0x0,this['_emitProgress']();}['_fileTypeError'](_0x3717c6,_0x7d8865){const _0x14c498=_0x43367a;let _0x4282f5=_0x3717c6[0x0],_0x3dbb8a=_0x4282f5['name'];return D(_0x4282f5)===_0x7d8865?!0x1:(this[_0x14c498(0x1bd)]['show']({'type':s[_0x14c498(0x160)][_0x14c498(0x1d6)],'content':this['_localeService']['t'](_0x14c498(0x17e),_0x3dbb8a)}),!0x0);}[_0x43367a(0xca)](){const _0x470a96=_0x43367a;return this['_totalUploadTaskCount']!==0x0&&this['_doneUploadTaskCount']!==this[_0x470a96(0x13b)];}};J=P([N(0x0,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0xc2)])),N(0x1,i['IMessageService']),N(0x2,(0x0,t['Inject'])(t[_0x43367a(0x1ee)])),N(0x3,(0x0,t['Inject'])(G)),N(0x4,(0x0,t[_0x43367a(0x146)])(_)),N(0x5,t['ILogService']),N(0x6,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0x17c)]))],J);function _0x1cc0(_0x3aeaa2,_0x24ff54){_0x3aeaa2=_0x3aeaa2-0xa3;const _0x15ca9f=_0x15ca();let _0x1cc0fa=_0x15ca9f[_0x3aeaa2];return _0x1cc0fa;}function Y(_0x3ede31){const _0x4a3ad3=_0x43367a;let {onClick:_0x157fb0,children:_0x3f2727,className:_0x52aef4}=_0x3ede31;return(0x0,c[_0x4a3ad3(0x127)])(_0x4a3ad3(0x227),{'className':(0x0,s['clsx'])(_0x4a3ad3(0x117),_0x52aef4),'type':_0x4a3ad3(0x227),'onClick':_0x157fb0,'children':_0x3f2727});}function X(){const _0x2883b3=_0x43367a;let _0x4a5e15=(0x0,i[_0x2883b3(0x19e)])(q),_0x31d013=(0x0,i[_0x2883b3(0x19e)])(t[_0x2883b3(0x1ee)]);function _0x41431a(){const _0x330c5c=_0x2883b3;_0x4a5e15[_0x330c5c(0xf7)]();}return(0x0,c[_0x2883b3(0x127)])(Y,{'onClick':_0x41431a,'children':_0x31d013['t']('exchange-client.uploadAgain')});}function me(){const _0x1300ee=_0x43367a;return(0x0,c[_0x1300ee(0xe9)])(_0x1300ee(0xed),{'className':_0x1300ee(0x121),'children':[(0x0,c['jsx'])(_0x1300ee(0x14d),{'className':_0x1300ee(0xc8),'children':(0x0,i[_0x1300ee(0x19e)])(t[_0x1300ee(0x1ee)])['t'](_0x1300ee(0x171))}),(0x0,c[_0x1300ee(0x127)])(X,{})]});}function he(_0x3ac68){const _0x140990=_0x43367a;let {count:_0x1dcb09}=_0x3ac68;return(0x0,c[_0x140990(0xe9)])('div',{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c[_0x140990(0x127)])(_0x140990(0x14d),{'className':_0x140990(0xb4),'children':(0x0,i[_0x140990(0x19e)])(t[_0x140990(0x1ee)])['t'](_0x140990(0x1a2),''+_0x1dcb09)}),(0x0,c[_0x140990(0x127)])(X,{})]});}function ge(){const _0x7b561e=_0x43367a;let _0x34e56c=(0x0,i[_0x7b561e(0x19e)])(q),_0xb52380=(0x0,i[_0x7b561e(0x19e)])(t['LocaleService']);function _0x155035(){const _0x22c8b8=_0x7b561e;_0x34e56c[_0x22c8b8(0x140)]();}return(0x0,c[_0x7b561e(0x127)])(Y,{'onClick':_0x155035,'children':_0xb52380['t']('exchange-client.cancel')});}function _e(){const _0x4058a0=_0x43367a;let {count:_0x52ba0a,done:_0x20e023}=(0x0,i['useObservable'])((0x0,i['useDependency'])(q)[_0x4058a0(0x1f3)]),[_0x376b2d,_0x222c9b]=(0x0,a[_0x4058a0(0x15e)])(_0x52ba0a>0x0?_0x20e023/_0x52ba0a:0x0);return(0x0,a[_0x4058a0(0x110)])(()=>{_0x222c9b(_0x52ba0a>0x0?_0x20e023/_0x52ba0a:0x0);},[_0x52ba0a,_0x20e023]),(0x0,c[_0x4058a0(0x127)])(_0x4058a0(0xed),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c[_0x4058a0(0x127)])(_0x4058a0(0xed),{'className':_0x4058a0(0xdd),'style':{'width':Math[_0x4058a0(0x1b0)](_0x376b2d*0x64)+'%'}})});}function ve(){const _0x171470=_0x43367a;return(0x0,c[_0x171470(0xe9)])(_0x171470(0xed),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x171470(0x127)])(_0x171470(0x14d),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x171470(0x19e)])(t[_0x171470(0x1ee)])['t'](_0x171470(0xa8))}),(0x0,c[_0x171470(0x127)])(_0x171470(0xed),{'className':'univer-pl-2\x20univer-pr-4','children':(0x0,c['jsx'])(_e,{})}),(0x0,c[_0x171470(0x127)])(ge,{})]});}const ye={0x1:(0x0,c['jsx'])(r[_0x43367a(0x133)],{'className':_0x43367a(0x1a9)}),0x0:(0x0,c['jsx'])(r[_0x43367a(0x156)],{'className':_0x43367a(0x195)}),0x2:(0x0,c[_0x43367a(0x127)])(r['ErrorIcon'],{'className':_0x43367a(0xef)})};function be(){const _0x4820d3=_0x43367a;let [_0x594709,_0x573b08]=(0x0,a[_0x4820d3(0x15e)])(0x0),[_0xe1f153,_0x4f55af]=(0x0,a[_0x4820d3(0x15e)])(!0x1),[_0x14a19c,_0x19f179]=(0x0,a[_0x4820d3(0x15e)])([]),_0x3a723f=(0x0,i[_0x4820d3(0x19e)])(_),_0x168787=(0x0,i[_0x4820d3(0x19e)])(t['LocaleService']);(0x0,a[_0x4820d3(0x110)])(()=>{const _0x1aca5a=_0x4820d3;let _0x5d8f06=_0x3a723f[_0x1aca5a(0x207)][_0x1aca5a(0x1f4)](_0x526de8=>{_0x4f55af(_0x526de8);}),_0x44052e=_0x3a723f[_0x1aca5a(0x17b)]['subscribe'](_0x473006=>{_0x19f179(_0x473006);}),_0x380bc1=_0x3a723f[_0x1aca5a(0x10a)][_0x1aca5a(0x1f4)](_0x4ba701=>{_0x573b08(_0x4ba701);});return()=>{const _0x54213b=_0x1aca5a;_0x5d8f06[_0x54213b(0x1ec)](),_0x44052e[_0x54213b(0x1ec)](),_0x380bc1[_0x54213b(0x1ec)]();};},[]);function _0x2ad5af(){_0x4f55af(!0x1);}function _0x2bbba2(_0x363582){const _0x14d56e=_0x4820d3;switch(_0x363582){case 0x1:return _0x168787['t']('exchange-client.uploadSuccess');case 0x0:return _0x168787['t'](_0x14d56e(0x10b));case 0x2:return _0x168787['t'](_0x14d56e(0xaf));default:return'';}}return _0xe1f153&&(0x0,c[_0x4820d3(0xe9)])('div',{'className':'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','children':[(0x0,c[_0x4820d3(0xe9)])('div',{'className':_0x4820d3(0x1c9),'children':[(0x0,c[_0x4820d3(0xe9)])(_0x4820d3(0x14d),{'className':'univer-flex','children':[(0x0,c[_0x4820d3(0x127)])(_0x4820d3(0x14d),{'className':'univer-h-6\x20univer-text-2xl','children':ye[_0x594709]}),(0x0,c[_0x4820d3(0x127)])('span',{'className':_0x4820d3(0xa5),'children':_0x2bbba2(_0x594709)})]}),(0x0,c[_0x4820d3(0x127)])(_0x4820d3(0x14d),{'className':_0x4820d3(0x218),'onClick':_0x2ad5af,'children':(0x0,c[_0x4820d3(0x127)])(r['CloseIcon'],{})})]}),(0x0,c[_0x4820d3(0xe9)])(_0x4820d3(0xed),{'children':[_0x594709===0x0&&(0x0,c[_0x4820d3(0x127)])(ve,{}),_0x594709===0x2&&(0x0,c[_0x4820d3(0x127)])(me,{}),_0x14a19c[_0x4820d3(0x1db)]>0x0&&(0x0,c[_0x4820d3(0x127)])(ie,{'list':_0x14a19c}),_0x594709===0x1&&(0x0,c['jsx'])(he,{'count':_0x14a19c[_0x4820d3(0x1db)]})]})]});}function Z(){const _0x581f44=_0x43367a;return(0x0,c[_0x581f44(0x127)])(be,{});}let Q=class extends t[_0x43367a(0x1b9)]{constructor(_0x251dc3,_0x55dbca,_0x1a50ee){const _0xc9295f=_0x43367a;super(),this[_0xc9295f(0x1d0)]=_0x251dc3,this[_0xc9295f(0x114)]=_0x55dbca,this['_iconManager']=_0x1a50ee,this[_0xc9295f(0x1af)](),this[_0xc9295f(0x204)]();}[_0x43367a(0x1af)](){const _0x25da3d=_0x43367a;this[_0x25da3d(0x1b2)](this[_0x25da3d(0x1eb)][_0x25da3d(0x154)]({'DirectExportIcon':r[_0x25da3d(0xf1)]}));}[_0x43367a(0x204)](){const _0x4ba47a=_0x43367a;this[_0x4ba47a(0x1b2)](this[_0x4ba47a(0x114)][_0x4ba47a(0x16c)](i[_0x4ba47a(0x1ff)][_0x4ba47a(0x132)],()=>(0x0,i[_0x4ba47a(0x1ad)])(Z,this[_0x4ba47a(0x1d0)])));}};Q=P([N(0x0,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0x210)])),N(0x1,i[_0x43367a(0xc9)]),N(0x2,(0x0,t[_0x43367a(0x146)])(i[_0x43367a(0x102)]))],Q);let $=class extends t[_0x43367a(0x20f)]{constructor(_0x2e2b07=p,_0x5334ca,_0x294f75){const _0x5975ac=_0x43367a;super(),this[_0x5975ac(0x1a4)]=_0x2e2b07,this['_injector']=_0x5334ca,this['_configService']=_0x294f75;let {..._0x2367b9}=(0x0,t[_0x5975ac(0x1cc)])({},p,this[_0x5975ac(0x1a4)]);this[_0x5975ac(0x203)]['setConfig'](f,_0x2367b9);}[_0x43367a(0x17a)](){const _0x52a13c=_0x43367a;(0x0,t[_0x52a13c(0x179)])(this[_0x52a13c(0x1d0)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[_,{'useClass':v}]]);}[_0x43367a(0xa6)](){const _0x5c4ae0=_0x43367a;(0x0,t[_0x5c4ae0(0x1b4)])(this[_0x5c4ae0(0x1d0)],[[Q],[q]]);}};g($,_0x43367a(0x1f7),_0x43367a(0x220)),g($,'packageName',m),g($,'version',ee),$=P([(0x0,t[_0x43367a(0x16b)])(n[_0x43367a(0x149)],e[_0x43367a(0x1ce)]),N(0x1,(0x0,t[_0x43367a(0x146)])(t[_0x43367a(0x210)])),N(0x2,t[_0x43367a(0xd8)])],$),exports[_0x43367a(0x1ca)]=f,Object[_0x43367a(0x1ea)](exports,'ExchangeOperateService',{'enumerable':!0x0,'get':function(){return J;}}),Object[_0x43367a(0x1ea)](exports,_0x43367a(0xd3),{'enumerable':!0x0,'get':function(){return K;}}),exports['IExchangeOperateService']=q,exports['IExchangeService']=G,exports[_0x43367a(0x18d)]=F,exports[_0x43367a(0xe2)]=_,Object[_0x43367a(0x1ea)](exports,_0x43367a(0xa3),{'enumerable':!0x0,'get':function(){return I;}}),Object[_0x43367a(0x1ea)](exports,_0x43367a(0x22a),{'enumerable':!0x0,'get':function(){return $;}}),exports['UploadNotificationContainer']=Z,exports[_0x43367a(0x12c)]=v,exports[_0x43367a(0x196)]=re,exports['downloadFile']=E,exports[_0x43367a(0xc6)]=D,exports[_0x43367a(0x173)]=k,exports[_0x43367a(0x17d)]=z,exports[_0x43367a(0x1cf)]=B,exports['transformSnapshotJsonToDocumentData']=H,exports[_0x43367a(0x151)]=U,exports[_0x43367a(0x161)]=V,exports[_0x43367a(0xb1)]=R;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x179560=_0x457b;(function(_0x2b4271,_0x3f4519){const _0x4e5f79=_0x457b,_0x5015fe=_0x2b4271();while(!![]){try{const _0x3d38f1=-parseInt(_0x4e5f79(0x177))/0x1+-parseInt(_0x4e5f79(0x16f))/0x2*(parseInt(_0x4e5f79(0x170))/0x3)+parseInt(_0x4e5f79(0x172))/0x4*(parseInt(_0x4e5f79(0x16e))/0x5)+-parseInt(_0x4e5f79(0x17b))/0x6+-parseInt(_0x4e5f79(0x175))/0x7+parseInt(_0x4e5f79(0x171))/0x8*(-parseInt(_0x4e5f79(0x176))/0x9)+parseInt(_0x4e5f79(0x17f))/0xa;if(_0x3d38f1===_0x3f4519)break;else _0x5015fe['push'](_0x5015fe['shift']());}catch(_0xd69ddf){_0x5015fe['push'](_0x5015fe['shift']());}}}(_0x35c6,0x7fadf));function _0x457b(_0x15d2e8,_0x360ef2){_0x15d2e8=_0x15d2e8-0x16d;const _0x35c6c9=_0x35c6();let _0x457b54=_0x35c6c9[_0x15d2e8];return _0x457b54;}const e={'exchange-client':{'uploading':_0x179560(0x16d),'uploadSuccess':_0x179560(0x17a),'uploadSuccessTip':'تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','downloading':_0x179560(0x179),'downloadSuccess':_0x179560(0x178),'unknownMistake':_0x179560(0x17e),'networkError':_0x179560(0x181),'tooLarge':_0x179560(0x173),'internalError':_0x179560(0x17d),'interrupt':_0x179560(0x180),'fileTypeError':'نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','wait':'يرجى\x20الانتظار...','cancel':'إلغاء','uploadAgain':_0x179560(0x17c)}};function _0x35c6(){const _0x1809c9=['البيانات\x20كبيرة\x20جداً','exports','2295972gSlVab','801zXrjjP','536543synzPo','تم\x20التحميل\x20بنجاح','جارٍ\x20التحميل','تم\x20رفع\x20الملف\x20بنجاح','101358VlaaJw','إعادة\x20الرفع','خطأ\x20داخلي\x20غير\x20معروف','خطأ\x20غير\x20معروف','22268050xIoQvT','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','خطأ\x20في\x20الشبكة','جارٍ\x20الرفع','5ATrRlh','3194XIWjrl','537urNPRC','58216MSsUkY','444472epDNWu'];_0x35c6=function(){return _0x1809c9;};return _0x35c6();}module[_0x179560(0x174)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x21de68=_0x58bc;(function(_0x84def4,_0x23a847){const _0x3fd4ec=_0x58bc,_0x10aee3=_0x84def4();while(!![]){try{const _0x2b38c4=parseInt(_0x3fd4ec(0xb2))/0x1+parseInt(_0x3fd4ec(0xb1))/0x2+-parseInt(_0x3fd4ec(0xad))/0x3+parseInt(_0x3fd4ec(0xbb))/0x4+parseInt(_0x3fd4ec(0xb3))/0x5*(parseInt(_0x3fd4ec(0xac))/0x6)+-parseInt(_0x3fd4ec(0xaf))/0x7*(-parseInt(_0x3fd4ec(0xab))/0x8)+-parseInt(_0x3fd4ec(0xbc))/0x9;if(_0x2b38c4===_0x23a847)break;else _0x10aee3['push'](_0x10aee3['shift']());}catch(_0x3758ea){_0x10aee3['push'](_0x10aee3['shift']());}}}(_0x57c0,0x41ccd));function _0x57c0(){const _0x5199c2=['Descarregant','Error\x20intern\x20desconegut','Tornar\x20a\x20pujar','Descàrrega\x20correcta','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Error\x20desconegut','exports','424864WxlJwM','2253690gSalBO','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Fitxer\x20pujat\x20correctament','80rojtBL','4866qwynVp','686190qruJuo','Error\x20de\x20xarxa','228977MQZyKT','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','63502wddHUb','162741IHSrin','745iEgwHd'];_0x57c0=function(){return _0x5199c2;};return _0x57c0();}function _0x58bc(_0x5ab1fd,_0x439bd8){_0x5ab1fd=_0x5ab1fd-0xaa;const _0x57c0d0=_0x57c0();let _0x58bc56=_0x57c0d0[_0x5ab1fd];return _0x58bc56;}const e={'exchange-client':{'uploading':'Pujant','uploadSuccess':_0x21de68(0xaa),'uploadSuccessTip':_0x21de68(0xbd),'downloading':_0x21de68(0xb4),'downloadSuccess':_0x21de68(0xb7),'unknownMistake':_0x21de68(0xb9),'networkError':_0x21de68(0xae),'tooLarge':'Les\x20dades\x20són\x20massa\x20grans','internalError':_0x21de68(0xb5),'interrupt':_0x21de68(0xb0),'fileTypeError':_0x21de68(0xb8),'wait':'Espereu...','cancel':'Cancel·lar','uploadAgain':_0x21de68(0xb6)}};module[_0x21de68(0xba)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3be5c3=_0x5a8b;(function(_0x17d15b,_0x20579d){const _0x215f56=_0x5a8b,_0x5d461c=_0x17d15b();while(!![]){try{const _0x240747=-parseInt(_0x215f56(0x148))/0x1+-parseInt(_0x215f56(0x14b))/0x2+-parseInt(_0x215f56(0x141))/0x3+-parseInt(_0x215f56(0x14a))/0x4+parseInt(_0x215f56(0x145))/0x5+parseInt(_0x215f56(0x147))/0x6+parseInt(_0x215f56(0x149))/0x7;if(_0x240747===_0x20579d)break;else _0x5d461c['push'](_0x5d461c['shift']());}catch(_0x1b8938){_0x5d461c['push'](_0x5d461c['shift']());}}}(_0x5cb3,0x57476));const e={'exchange-client':{'uploading':'Wird\x20hochgeladen','uploadSuccess':'Datei\x20erfolgreich\x20hochgeladen','uploadSuccessTip':_0x3be5c3(0x14c),'downloading':'Wird\x20heruntergeladen','downloadSuccess':'Download\x20erfolgreich','unknownMistake':'Unbekannter\x20Fehler','networkError':_0x3be5c3(0x142),'tooLarge':_0x3be5c3(0x14e),'internalError':_0x3be5c3(0x144),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0x3be5c3(0x14d),'wait':_0x3be5c3(0x143),'cancel':_0x3be5c3(0x146),'uploadAgain':'Erneut\x20hochladen'}};function _0x5cb3(){const _0x2f84a6=['Interner\x20unbekannter\x20Fehler','1217075NythwH','Abbrechen','426054elfIcD','166761WIUujm','7548520TuXrqt','2461248EDBoBz','369630bbQVcf','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','Daten\x20sind\x20zu\x20groß','205206tNTnAY','Netzwerkfehler','Bitte\x20warten...'];_0x5cb3=function(){return _0x2f84a6;};return _0x5cb3();}function _0x5a8b(_0x1d7a05,_0x281961){_0x1d7a05=_0x1d7a05-0x141;const _0x5cb356=_0x5cb3();let _0x5a8bbb=_0x5cb356[_0x1d7a05];return _0x5a8bbb;}module['exports']=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2a6dd8=_0x46c8;(function(_0xc46c33,_0x149722){const _0x3ec9c0=_0x46c8,_0x755b79=_0xc46c33();while(!![]){try{const _0x2f0d2a=-parseInt(_0x3ec9c0(0x159))/0x1+parseInt(_0x3ec9c0(0x161))/0x2+parseInt(_0x3ec9c0(0x15e))/0x3*(-parseInt(_0x3ec9c0(0x163))/0x4)+parseInt(_0x3ec9c0(0x154))/0x5+parseInt(_0x3ec9c0(0x158))/0x6+-parseInt(_0x3ec9c0(0x160))/0x7*(-parseInt(_0x3ec9c0(0x157))/0x8)+parseInt(_0x3ec9c0(0x15b))/0x9*(-parseInt(_0x3ec9c0(0x164))/0xa);if(_0x2f0d2a===_0x149722)break;else _0x755b79['push'](_0x755b79['shift']());}catch(_0x5e1077){_0x755b79['push'](_0x755b79['shift']());}}}(_0x4932,0xd5058));function _0x46c8(_0x1c0c21,_0x5ca0dd){_0x1c0c21=_0x1c0c21-0x153;const _0x4932fb=_0x4932();let _0x46c8d5=_0x4932fb[_0x1c0c21];return _0x46c8d5;}function _0x4932(){const _0x2562b7=['28oNSBTT','411156PRhREP','Please\x20wait...','4CdhAyy','5770qRigyw','exports','Unknown\x20mistake','5931915lYmWVs','Uploading','Downloading','3192368Ayyqrw','8495922kmYxzn','73570IjCNIT','File\x20uploaded\x20successfully','43983XBNxva','Network\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','1914681tvvpsc','{0}\x20file(s)\x20uploaded\x20successfully'];_0x4932=function(){return _0x2562b7;};return _0x4932();}const e={'exchange-client':{'uploading':_0x2a6dd8(0x155),'uploadSuccess':_0x2a6dd8(0x15a),'uploadSuccessTip':_0x2a6dd8(0x15f),'downloading':_0x2a6dd8(0x156),'downloadSuccess':'Download\x20success','unknownMistake':_0x2a6dd8(0x153),'networkError':_0x2a6dd8(0x15c),'tooLarge':'Data\x20is\x20too\x20large','internalError':'Internal\x20unknown\x20error','interrupt':_0x2a6dd8(0x15d),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x2a6dd8(0x162),'cancel':'Cancel','uploadAgain':'Upload\x20again'}};module[_0x2a6dd8(0x165)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2f53(){const _0x5d31f1=['Descargando','Error\x20desconocido','12399486oisTtc','12wLsiFf','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Subir\x20de\x20nuevo','138533gMwGEb','10QWdgQE','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','42190eJMKMt','Error\x20interno\x20desconocido','Archivo\x20subido\x20exitosamente','1333661pjSeZq','Error\x20de\x20red','1951844pJPuHC','Cancelar','Espere...','2854296iBQiZB','exports','1363464bZVgnN','780MmuQZB','56zWFDuR','Descarga\x20exitosa'];_0x2f53=function(){return _0x5d31f1;};return _0x2f53();}const _0x4cc9aa=_0x45f3;(function(_0x1d5507,_0x29ab2a){const _0x5cb8ef=_0x45f3,_0x29d511=_0x1d5507();while(!![]){try{const _0x53c022=-parseInt(_0x5cb8ef(0x166))/0x1+parseInt(_0x5cb8ef(0x16f))/0x2+parseInt(_0x5cb8ef(0x15a))/0x3+-parseInt(_0x5cb8ef(0x15d))/0x4*(-parseInt(_0x5cb8ef(0x16a))/0x5)+parseInt(_0x5cb8ef(0x163))/0x6*(-parseInt(_0x5cb8ef(0x16d))/0x7)+-parseInt(_0x5cb8ef(0x15e))/0x8*(parseInt(_0x5cb8ef(0x15c))/0x9)+parseInt(_0x5cb8ef(0x167))/0xa*(-parseInt(_0x5cb8ef(0x162))/0xb);if(_0x53c022===_0x29ab2a)break;else _0x29d511['push'](_0x29d511['shift']());}catch(_0x2bc8ec){_0x29d511['push'](_0x29d511['shift']());}}}(_0x2f53,0xd34cf));const e={'exchange-client':{'uploading':'Subiendo','uploadSuccess':_0x4cc9aa(0x16c),'uploadSuccessTip':_0x4cc9aa(0x168),'downloading':_0x4cc9aa(0x160),'downloadSuccess':_0x4cc9aa(0x15f),'unknownMistake':_0x4cc9aa(0x161),'networkError':_0x4cc9aa(0x16e),'tooLarge':'Los\x20datos\x20son\x20demasiado\x20grandes','internalError':_0x4cc9aa(0x16b),'interrupt':_0x4cc9aa(0x164),'fileTypeError':_0x4cc9aa(0x169),'wait':_0x4cc9aa(0x159),'cancel':_0x4cc9aa(0x170),'uploadAgain':_0x4cc9aa(0x165)}};function _0x45f3(_0x14a6c8,_0x4ad085){_0x14a6c8=_0x14a6c8-0x159;const _0x2f534b=_0x2f53();let _0x45f37c=_0x2f534b[_0x14a6c8];return _0x45f37c;}module[_0x4cc9aa(0x15b)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3e26(_0x500ef5,_0x26a84f){_0x500ef5=_0x500ef5-0x1a1;const _0x5b19c2=_0x5b19();let _0x3e262f=_0x5b19c2[_0x500ef5];return _0x3e262f;}function _0x5b19(){const _0x16fb09=['16877179ovZiPF','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1004996QRDjen','14liiVlE','لطفا\x20صبر\x20کنید...','54725iAnJlx','57159cixhBr','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','174lPWbTN','در\x20حال\x20بارگذاری','دانلود\x20موفقیت\x20آمیز','exports','3RnOPxC','12tmQGmh','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','1141576Whyeey','خطای\x20ناشناخته','1070XsXoZh','لغو','2540792fWaciD','خطای\x20داخلی\x20ناشناخته','خطای\x20شبکه','599426aKOJiO','در\x20حال\x20دانلود'];_0x5b19=function(){return _0x16fb09;};return _0x5b19();}const _0x3bb00d=_0x3e26;(function(_0x463a06,_0x567c05){const _0xc776a=_0x3e26,_0x130cce=_0x463a06();while(!![]){try{const _0xa87b00=parseInt(_0xc776a(0x1ab))/0x1+parseInt(_0xc776a(0x1af))/0x2*(-parseInt(_0xc776a(0x1a1))/0x3)+-parseInt(_0xc776a(0x1a4))/0x4+parseInt(_0xc776a(0x1b2))/0x5*(parseInt(_0xc776a(0x1b5))/0x6)+-parseInt(_0xc776a(0x1b0))/0x7*(parseInt(_0xc776a(0x1a8))/0x8)+parseInt(_0xc776a(0x1b3))/0x9*(-parseInt(_0xc776a(0x1a6))/0xa)+parseInt(_0xc776a(0x1ad))/0xb*(parseInt(_0xc776a(0x1a2))/0xc);if(_0xa87b00===_0x567c05)break;else _0x130cce['push'](_0x130cce['shift']());}catch(_0x360dc7){_0x130cce['push'](_0x130cce['shift']());}}}(_0x5b19,0x55139));const e={'exchange-client':{'uploading':_0x3bb00d(0x1b6),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0x3bb00d(0x1ae),'downloading':_0x3bb00d(0x1ac),'downloadSuccess':_0x3bb00d(0x1b7),'unknownMistake':_0x3bb00d(0x1a5),'networkError':_0x3bb00d(0x1aa),'tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x3bb00d(0x1a9),'interrupt':_0x3bb00d(0x1b4),'fileTypeError':_0x3bb00d(0x1a3),'wait':_0x3bb00d(0x1b1),'cancel':_0x3bb00d(0x1a7),'uploadAgain':'بارگذاری\x20مجدد'}};module[_0x3bb00d(0x1b8)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x566e(_0x597c3c,_0x4a7a5c){_0x597c3c=_0x597c3c-0x11f;const _0x357e6f=_0x357e();let _0x566e73=_0x357e6f[_0x597c3c];return _0x566e73;}const _0x43af50=_0x566e;(function(_0x3d8541,_0x3c3f8d){const _0x454426=_0x566e,_0x158579=_0x3d8541();while(!![]){try{const _0x4d34e6=parseInt(_0x454426(0x126))/0x1+-parseInt(_0x454426(0x133))/0x2+-parseInt(_0x454426(0x12c))/0x3*(parseInt(_0x454426(0x12b))/0x4)+-parseInt(_0x454426(0x122))/0x5+parseInt(_0x454426(0x12f))/0x6+-parseInt(_0x454426(0x120))/0x7*(parseInt(_0x454426(0x121))/0x8)+parseInt(_0x454426(0x131))/0x9*(parseInt(_0x454426(0x125))/0xa);if(_0x4d34e6===_0x3c3f8d)break;else _0x158579['push'](_0x158579['shift']());}catch(_0x16b33a){_0x158579['push'](_0x158579['shift']());}}}(_0x357e,0x86d78));const e={'exchange-client':{'uploading':_0x43af50(0x134),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x43af50(0x130),'downloading':'Téléchargement','downloadSuccess':_0x43af50(0x128),'unknownMistake':_0x43af50(0x129),'networkError':_0x43af50(0x12d),'tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':_0x43af50(0x11f),'interrupt':_0x43af50(0x132),'fileTypeError':_0x43af50(0x12a),'wait':_0x43af50(0x127),'cancel':_0x43af50(0x12e),'uploadAgain':_0x43af50(0x124)}};function _0x357e(){const _0xd24b11=['5852448qPAjHI','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','1910862wiUbii','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','939714wIOcQP','Téléchargement\x20en\x20cours','Erreur\x20interne\x20inconnue','4927349HEtUIr','8Zkagff','3664485qqkhQz','exports','Télécharger\x20à\x20nouveau','70CEiZKr','667384bTMAOL','Veuillez\x20patienter...','Téléchargement\x20réussi','Erreur\x20inconnue','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','18484VKfwUI','435gbqcqe','Erreur\x20réseau','Annuler'];_0x357e=function(){return _0xd24b11;};return _0x357e();}module[_0x43af50(0x123)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xcfa7c8=_0x2953;(function(_0x671959,_0x324854){const _0xe3a847=_0x2953,_0x400423=_0x671959();while(!![]){try{const _0x4e66e0=-parseInt(_0xe3a847(0x1d8))/0x1*(-parseInt(_0xe3a847(0x1d4))/0x2)+-parseInt(_0xe3a847(0x1db))/0x3+parseInt(_0xe3a847(0x1d5))/0x4+parseInt(_0xe3a847(0x1e4))/0x5+-parseInt(_0xe3a847(0x1df))/0x6+parseInt(_0xe3a847(0x1da))/0x7+parseInt(_0xe3a847(0x1d9))/0x8*(-parseInt(_0xe3a847(0x1e2))/0x9);if(_0x4e66e0===_0x324854)break;else _0x400423['push'](_0x400423['shift']());}catch(_0x3f59f3){_0x400423['push'](_0x400423['shift']());}}}(_0x1ac3,0xd0a19));function _0x1ac3(){const _0x3c6720=['2oLHwds','1271092TVVFgZ','Kesalahan\x20jaringan','Harap\x20tunggu...','1205770AWoTtS','1808bMZxQp','9843141zFzMis','1871922UHCYhb','Kesalahan\x20tidak\x20diketahui','Batal','Mengunggah','2675388hEPwAj','Data\x20terlalu\x20besar','File\x20berhasil\x20diunggah','93033vfVxfn','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','6654405SDhait','Mengunduh'];_0x1ac3=function(){return _0x3c6720;};return _0x1ac3();}function _0x2953(_0xe00248,_0x1036d9){_0xe00248=_0xe00248-0x1d3;const _0x1ac3b0=_0x1ac3();let _0x2953e6=_0x1ac3b0[_0xe00248];return _0x2953e6;}const e={'exchange-client':{'uploading':_0xcfa7c8(0x1de),'uploadSuccess':_0xcfa7c8(0x1e1),'uploadSuccessTip':'{0}\x20file\x20berhasil\x20diunggah','downloading':_0xcfa7c8(0x1d3),'downloadSuccess':'Unduhan\x20berhasil','unknownMistake':_0xcfa7c8(0x1dc),'networkError':_0xcfa7c8(0x1d6),'tooLarge':_0xcfa7c8(0x1e0),'internalError':'Kesalahan\x20internal\x20tidak\x20diketahui','interrupt':_0xcfa7c8(0x1e3),'fileTypeError':'File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','wait':_0xcfa7c8(0x1d7),'cancel':_0xcfa7c8(0x1dd),'uploadAgain':'Unggah\x20ulang'}};module['exports']=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1fa7fc=_0x4188;(function(_0x5eb329,_0x2df402){const _0x3fc216=_0x4188,_0x1fb3b9=_0x5eb329();while(!![]){try{const _0x4f4af0=parseInt(_0x3fc216(0x131))/0x1+-parseInt(_0x3fc216(0x133))/0x2*(parseInt(_0x3fc216(0x13d))/0x3)+parseInt(_0x3fc216(0x12d))/0x4*(-parseInt(_0x3fc216(0x13c))/0x5)+parseInt(_0x3fc216(0x137))/0x6*(parseInt(_0x3fc216(0x139))/0x7)+parseInt(_0x3fc216(0x138))/0x8*(parseInt(_0x3fc216(0x132))/0x9)+-parseInt(_0x3fc216(0x13a))/0xa+parseInt(_0x3fc216(0x13b))/0xb;if(_0x4f4af0===_0x2df402)break;else _0x1fb3b9['push'](_0x1fb3b9['shift']());}catch(_0x29807e){_0x1fb3b9['push'](_0x1fb3b9['shift']());}}}(_0x2278,0xc208b));const e={'exchange-client':{'uploading':_0x1fa7fc(0x12a),'uploadSuccess':_0x1fa7fc(0x135),'uploadSuccessTip':_0x1fa7fc(0x134),'downloading':_0x1fa7fc(0x12f),'downloadSuccess':_0x1fa7fc(0x136),'unknownMistake':'Errore\x20sconosciuto','networkError':'Errore\x20di\x20rete','tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':_0x1fa7fc(0x13f),'interrupt':_0x1fa7fc(0x130),'fileTypeError':_0x1fa7fc(0x13e),'wait':'Attendi...','cancel':_0x1fa7fc(0x12b),'uploadAgain':_0x1fa7fc(0x12c)}};module[_0x1fa7fc(0x12e)]=e;function _0x4188(_0x4c5ed7,_0x31b54e){_0x4c5ed7=_0x4c5ed7-0x12a;const _0x22787b=_0x2278();let _0x418873=_0x22787b[_0x4c5ed7];return _0x418873;}function _0x2278(){const _0x4cadb0=['Caricamento\x20in\x20corso','Annulla','Carica\x20di\x20nuovo','69112rhFBRv','exports','Download\x20in\x20corso','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','1123728YRsMZc','426051GgOMjL','866094MaVhWI','{0}\x20file\x20caricati\x20con\x20successo','File\x20caricato\x20con\x20successo','Download\x20riuscito','6PBVSvm','176ydBqRc','1763426sMvimO','1675720ECUZrB','14252964JYfbmz','420TvMsCA','9FuhMRp','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','Errore\x20interno\x20sconosciuto'];_0x2278=function(){return _0x4cadb0;};return _0x2278();}
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3b59e1=_0x167a;function _0x167a(_0x5f0e62,_0x424d87){_0x5f0e62=_0x5f0e62-0x7b;const _0x4a48e6=_0x4a48();let _0x167a00=_0x4a48e6[_0x5f0e62];return _0x167a00;}(function(_0x27bbbb,_0x10174a){const _0x2f11f8=_0x167a,_0x254330=_0x27bbbb();while(!![]){try{const _0x5725cb=parseInt(_0x2f11f8(0x7d))/0x1*(parseInt(_0x2f11f8(0x7e))/0x2)+parseInt(_0x2f11f8(0x85))/0x3+-parseInt(_0x2f11f8(0x88))/0x4+-parseInt(_0x2f11f8(0x80))/0x5*(-parseInt(_0x2f11f8(0x8b))/0x6)+-parseInt(_0x2f11f8(0x86))/0x7+parseInt(_0x2f11f8(0x7c))/0x8+parseInt(_0x2f11f8(0x87))/0x9;if(_0x5725cb===_0x10174a)break;else _0x254330['push'](_0x254330['shift']());}catch(_0x22a399){_0x254330['push'](_0x254330['shift']());}}}(_0x4a48,0x3e8bb));function _0x4a48(){const _0xa1bb78=['不明なエラー','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','exports','データが大きすぎます','1019271RXdXyc','1777013VxABfA','449847CJtFBM','745512mqhFOA','お待ちください...','再度アップロード','234IbYbHH','ダウンロードが完了しました','ファイルが正常にアップロードされました','内部エラーが発生しました','497400euENxA','5spzDCW','2784vCwcls','キャンセル','30455JuOYWf'];_0x4a48=function(){return _0xa1bb78;};return _0x4a48();}const e={'exchange-client':{'uploading':'アップロード中','uploadSuccess':_0x3b59e1(0x8d),'uploadSuccessTip':'{0}\x20個のファイルが正常にアップロードされました','downloading':'ダウンロード中','downloadSuccess':_0x3b59e1(0x8c),'unknownMistake':_0x3b59e1(0x81),'networkError':'ネットワークエラー','tooLarge':_0x3b59e1(0x84),'internalError':_0x3b59e1(0x7b),'interrupt':_0x3b59e1(0x82),'fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':_0x3b59e1(0x89),'cancel':_0x3b59e1(0x7f),'uploadAgain':_0x3b59e1(0x8a)}};module[_0x3b59e1(0x83)]=e;
|