@univerjs-pro/exchange-client 1.0.0-alpha.8 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +46 -38
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +0 -23
- package/lib/types/controllers/components.controller.d.ts +3 -3
- package/lib/types/facade/f-univer.d.ts +5 -279
- package/lib/types/index.d.ts +5 -2
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/types/services/exchange.service.d.ts +15 -82
- package/lib/types/services/operate.service.d.ts +17 -96
- package/lib/types/services/request.service.d.ts +78 -10
- package/lib/types/services/utils/content-type.d.ts +6 -2
- package/lib/types/services/utils/snapshot.d.ts +7 -39
- package/lib/types/services/utils/tool.d.ts +3 -0
- package/lib/types/views/export-format-dialog/ExportFormatDialog.d.ts +14 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -12
- package/lib/types/views/UploadNotificationContainer.d.ts +0 -1
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4565d7=_0x3875;(function(_0x249313,_0x887531){const _0x52b1fc=_0x3875,_0x2f4d90=_0x249313();while(!![]){try{const _0xf95831=-parseInt(_0x52b1fc(0xb4))/0x1+parseInt(_0x52b1fc(0xb9))/0x2*(parseInt(_0x52b1fc(0xbc))/0x3)+parseInt(_0x52b1fc(0xbd))/0x4*(-parseInt(_0x52b1fc(0xaf))/0x5)+parseInt(_0x52b1fc(0xbb))/0x6*(-parseInt(_0x52b1fc(0xbe))/0x7)+parseInt(_0x52b1fc(0xae))/0x8*(parseInt(_0x52b1fc(0xb7))/0x9)+parseInt(_0x52b1fc(0xb6))/0xa+parseInt(_0x52b1fc(0xb3))/0xb;if(_0xf95831===_0x887531)break;else _0x2f4d90['push'](_0x2f4d90['shift']());}catch(_0x26bd1f){_0x2f4d90['push'](_0x2f4d90['shift']());}}}(_0x433f,0x43561));const e={'exchange-client':{'uploading':_0x4565d7(0xb5),'uploadSuccess':_0x4565d7(0xb2),'uploadSuccessTip':'{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','downloading':'다운로드\x20중','downloadSuccess':_0x4565d7(0xbf),'unknownMistake':'알\x20수\x20없는\x20오류','networkError':_0x4565d7(0xb8),'tooLarge':'데이터가\x20너무\x20큽니다','internalError':_0x4565d7(0xb1),'interrupt':_0x4565d7(0xba),'fileTypeError':'선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','wait':_0x4565d7(0xb0),'cancel':'취소','confirm':'확인','uploadAgain':'다시\x20업로드'}};function _0x3875(_0x184501,_0x3a3f89){_0x184501=_0x184501-0xae;const _0x433ff4=_0x433f();let _0x3875e7=_0x433ff4[_0x184501];return _0x3875e7;}function _0x433f(){const _0x1c53ce=['다운로드가\x20완료되었습니다','8FTapsl','5UHupTu','잠시만\x20기다려\x20주세요...','내부\x20오류가\x20발생했습니다','파일이\x20성공적으로\x20업로드되었습니다','8215900sLNsyO','497343QiLDQn','업로드\x20중','3147930kAsLRt','609471jFImwY','네트워크\x20오류','44300fLPmPq','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','1062KQlYHj','39hIGaJI','1158716EdUQhI','14021RVUTyj'];_0x433f=function(){return _0x1c53ce;};return _0x433f();}module['exports']=e;
|
package/lib/cjs/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x38ab5c=_0x5649;(function(_0x5cd8da,_0x42cb21){const _0x5978c9=_0x5649,_0x1126f7=_0x5cd8da();while(!![]){try{const _0x5453bf=-parseInt(_0x5978c9(0xf7))/0x1*(parseInt(_0x5978c9(0xf4))/0x2)+-parseInt(_0x5978c9(0x101))/0x3*(parseInt(_0x5978c9(0xf6))/0x4)+parseInt(_0x5978c9(0xfb))/0x5+parseInt(_0x5978c9(0xfc))/0x6*(-parseInt(_0x5978c9(0xf9))/0x7)+parseInt(_0x5978c9(0x103))/0x8*(parseInt(_0x5978c9(0x105))/0x9)+parseInt(_0x5978c9(0xf5))/0xa+-parseInt(_0x5978c9(0x100))/0xb;if(_0x5453bf===_0x42cb21)break;else _0x1126f7['push'](_0x1126f7['shift']());}catch(_0x2cbb1b){_0x1126f7['push'](_0x1126f7['shift']());}}}(_0x5a57,0x788bf));function _0x5649(_0x9fa89c,_0x311b3f){_0x9fa89c=_0x9fa89c-0xf3;const _0x5a57cd=_0x5a57();let _0x56490b=_0x5a57cd[_0x9fa89c];return _0x56490b;}function _0x5a57(){const _0x14bb00=['4TrEoOo','4855950ucSqAe','388YYHuXq','187487uknShY','Wewnętrzny\x20nieznany\x20błąd','42lxmJuW','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','3380585DPnWvl','607308PouRob','Pobieranie','Plik\x20przesłany\x20pomyślnie','Pobieranie\x20zakończone\x20sukcesem','5211547syAQNY','5223KKeNpE','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','7655864XIYNXo','Błąd\x20sieci','9IBVcHy','Proszę\x20czekać...','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','Dane\x20są\x20zbyt\x20duże','Prześlij\x20ponownie','Anuluj'];_0x5a57=function(){return _0x14bb00;};return _0x5a57();}const e={'exchange-client':{'uploading':'Przesyłanie','uploadSuccess':_0x38ab5c(0xfe),'uploadSuccessTip':_0x38ab5c(0x102),'downloading':_0x38ab5c(0xfd),'downloadSuccess':_0x38ab5c(0xff),'unknownMistake':'Nieznany\x20błąd','networkError':_0x38ab5c(0x104),'tooLarge':_0x38ab5c(0x108),'internalError':_0x38ab5c(0xf8),'interrupt':_0x38ab5c(0xfa),'fileTypeError':_0x38ab5c(0x107),'wait':_0x38ab5c(0x106),'cancel':_0x38ab5c(0xf3),'confirm':'Potwierdź','uploadAgain':_0x38ab5c(0x109)}};module['exports']=e;
|
package/lib/cjs/locale/pt-BR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1b98e8=_0x596a;function _0x596a(_0x323031,_0x1abc39){_0x323031=_0x323031-0x16a;const _0x13cee8=_0x13ce();let _0x596a88=_0x13cee8[_0x323031];return _0x596a88;}function _0x13ce(){const _0x542b43=['159718rvEJJT','7ctmibo','Enviando','6280001sRfATw','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','Cancelar','Download\x20concluído\x20com\x20sucesso','387VatHqZ','818334SebNwP','Arquivo\x20enviado\x20com\x20sucesso','Erro\x20de\x20rede','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','20vOKCbX','Confirmar','Baixando','Os\x20dados\x20são\x20muito\x20grandes','337390jldrTo','18621090QmFByA','Erro\x20interno\x20desconhecido','Aguarde...','145768TJpQmh','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','exports','4000938BUMBvM'];_0x13ce=function(){return _0x542b43;};return _0x13ce();}(function(_0x4e227f,_0x41c2a0){const _0x52656e=_0x596a,_0x26cc14=_0x4e227f();while(!![]){try{const _0x1eee7c=-parseInt(_0x52656e(0x17b))/0x1*(-parseInt(_0x52656e(0x17a))/0x2)+-parseInt(_0x52656e(0x179))/0x3+parseInt(_0x52656e(0x16e))/0x4*(-parseInt(_0x52656e(0x172))/0x5)+-parseInt(_0x52656e(0x16a))/0x6+parseInt(_0x52656e(0x17d))/0x7+-parseInt(_0x52656e(0x176))/0x8*(parseInt(_0x52656e(0x181))/0x9)+parseInt(_0x52656e(0x173))/0xa;if(_0x1eee7c===_0x41c2a0)break;else _0x26cc14['push'](_0x26cc14['shift']());}catch(_0x5f4b72){_0x26cc14['push'](_0x26cc14['shift']());}}}(_0x13ce,0xb1929));const e={'exchange-client':{'uploading':_0x1b98e8(0x17c),'uploadSuccess':_0x1b98e8(0x16b),'uploadSuccessTip':_0x1b98e8(0x17e),'downloading':_0x1b98e8(0x170),'downloadSuccess':_0x1b98e8(0x180),'unknownMistake':'Erro\x20desconhecido','networkError':_0x1b98e8(0x16c),'tooLarge':_0x1b98e8(0x171),'internalError':_0x1b98e8(0x174),'interrupt':_0x1b98e8(0x177),'fileTypeError':_0x1b98e8(0x16d),'wait':_0x1b98e8(0x175),'cancel':_0x1b98e8(0x17f),'confirm':_0x1b98e8(0x16f),'uploadAgain':'Enviar\x20novamente'}};module[_0x1b98e8(0x178)]=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x4a79(_0x33b5c5,_0x3820c5){_0x33b5c5=_0x33b5c5-0x162;const _0x418cea=_0x418c();let _0x4a79fb=_0x418cea[_0x33b5c5];return _0x4a79fb;}const _0x1b0151=_0x4a79;(function(_0x4cf2e1,_0x7c41fb){const _0x2b7b52=_0x4a79,_0xf433c0=_0x4cf2e1();while(!![]){try{const _0x417218=parseInt(_0x2b7b52(0x176))/0x1*(-parseInt(_0x2b7b52(0x16f))/0x2)+parseInt(_0x2b7b52(0x168))/0x3*(parseInt(_0x2b7b52(0x166))/0x4)+-parseInt(_0x2b7b52(0x165))/0x5+parseInt(_0x2b7b52(0x16b))/0x6+parseInt(_0x2b7b52(0x170))/0x7+-parseInt(_0x2b7b52(0x173))/0x8+parseInt(_0x2b7b52(0x162))/0x9*(parseInt(_0x2b7b52(0x16e))/0xa);if(_0x417218===_0x7c41fb)break;else _0xf433c0['push'](_0xf433c0['shift']());}catch(_0x423b92){_0xf433c0['push'](_0xf433c0['shift']());}}}(_0x418c,0x1d99d));const e={'exchange-client':{'uploading':_0x1b0151(0x174),'uploadSuccess':_0x1b0151(0x16a),'uploadSuccessTip':_0x1b0151(0x164),'downloading':_0x1b0151(0x167),'downloadSuccess':_0x1b0151(0x16c),'unknownMistake':_0x1b0151(0x172),'networkError':'Сетевая\x20ошибка','tooLarge':_0x1b0151(0x16d),'internalError':'Внутренняя\x20неизвестная\x20ошибка','interrupt':_0x1b0151(0x175),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x1b0151(0x169),'cancel':_0x1b0151(0x171),'confirm':'Подтвердить','uploadAgain':'Загрузить\x20снова'}};function _0x418c(){const _0x24a15b=['702ZPjgbi','exports','{0}\x20файл(ов)\x20успешно\x20загружен(о)','183040HpnPRf','7564NzHraW','Скачивание','210EtuEOw','Пожалуйста,\x20подождите...','Файл\x20успешно\x20загружен','1125822VZsifY','Скачивание\x20успешно','Данные\x20слишком\x20большие','3070PzxFWZ','44KVSmoT','247695zGJjxg','Отмена','Неизвестная\x20ошибка','1032328xbNJTd','Загрузка','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','4202ozNihk'];_0x418c=function(){return _0x24a15b;};return _0x418c();}module[_0x1b0151(0x163)]=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2e39ca=_0x2b6e;(function(_0x319806,_0x18ccb7){const _0x31d8fe=_0x2b6e,_0x442425=_0x319806();while(!![]){try{const _0x3f91e2=parseInt(_0x31d8fe(0x131))/0x1*(-parseInt(_0x31d8fe(0x127))/0x2)+-parseInt(_0x31d8fe(0x136))/0x3*(-parseInt(_0x31d8fe(0x133))/0x4)+-parseInt(_0x31d8fe(0x12d))/0x5+-parseInt(_0x31d8fe(0x138))/0x6*(parseInt(_0x31d8fe(0x126))/0x7)+parseInt(_0x31d8fe(0x137))/0x8+parseInt(_0x31d8fe(0x12a))/0x9+parseInt(_0x31d8fe(0x13a))/0xa;if(_0x3f91e2===_0x18ccb7)break;else _0x442425['push'](_0x442425['shift']());}catch(_0x5ebe6e){_0x442425['push'](_0x442425['shift']());}}}(_0x5797,0x55b9b));function _0x5797(){const _0x41f5f6=['3335688YkWrxJ','2038002cwpIkr','Sieťová\x20chyba','1631370IfNgXw','7UCZeiu','54276JZgrUY','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','Súbor\x20bol\x20úspešne\x20nahraný','1472256asAWqe','Sťahovanie\x20úspešné','Sťahovanie','262090XgkNzt','Zrušiť','Dáta\x20sú\x20príliš\x20veľké','Interná\x20neznáma\x20chyba','4fsHpkx','Potvrdiť','136lnRqnW','Nahrávanie','Nahrať\x20znova','9537jNwFfP'];_0x5797=function(){return _0x41f5f6;};return _0x5797();}const e={'exchange-client':{'uploading':_0x2e39ca(0x134),'uploadSuccess':_0x2e39ca(0x129),'uploadSuccessTip':'Úspešne\x20nahraných\x20{0}\x20súborov','downloading':_0x2e39ca(0x12c),'downloadSuccess':_0x2e39ca(0x12b),'unknownMistake':'Neznáma\x20chyba','networkError':_0x2e39ca(0x139),'tooLarge':_0x2e39ca(0x12f),'internalError':_0x2e39ca(0x130),'interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':_0x2e39ca(0x128),'wait':'Prosím\x20počkajte...','cancel':_0x2e39ca(0x12e),'confirm':_0x2e39ca(0x132),'uploadAgain':_0x2e39ca(0x135)}};function _0x2b6e(_0x5c7936,_0x482453){_0x5c7936=_0x5c7936-0x126;const _0x579794=_0x5797();let _0x2b6ecc=_0x579794[_0x5c7936];return _0x2b6ecc;}module['exports']=e;
|
package/lib/cjs/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x5570(){const _0x256a8f=['Đang\x20tải\x20xuống','3hVKwdM','3alVTYw','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','5883741VfvCFt','Luồng\x20dữ\x20liệu\x20quá\x20lớn','7951510ifKbKG','16GAlGnS','Tải\x20lên\x20lại','1991646HgLPvO','Hủy\x20bỏ','30286570JfbEll','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','485636uVTIas','2449310PaDMWI','Xác\x20nhận','851416uKvmgf','Vui\x20lòng\x20đợi...','Đang\x20tải\x20lên'];_0x5570=function(){return _0x256a8f;};return _0x5570();}const _0x88f2bb=_0x4ca8;function _0x4ca8(_0x4c7b44,_0xa7562){_0x4c7b44=_0x4c7b44-0x18b;const _0x557033=_0x5570();let _0x4ca86d=_0x557033[_0x4c7b44];return _0x4ca86d;}(function(_0x3b4c40,_0xae8a9c){const _0x53d530=_0x4ca8,_0x178ae5=_0x3b4c40();while(!![]){try{const _0x4f0df5=-parseInt(_0x53d530(0x196))/0x1*(parseInt(_0x53d530(0x191))/0x2)+parseInt(_0x53d530(0x195))/0x3*(parseInt(_0x53d530(0x18e))/0x4)+-parseInt(_0x53d530(0x18f))/0x5+-parseInt(_0x53d530(0x19d))/0x6+parseInt(_0x53d530(0x19a))/0x7+parseInt(_0x53d530(0x19b))/0x8*(-parseInt(_0x53d530(0x198))/0x9)+parseInt(_0x53d530(0x18b))/0xa;if(_0x4f0df5===_0xae8a9c)break;else _0x178ae5['push'](_0x178ae5['shift']());}catch(_0x28d03e){_0x178ae5['push'](_0x178ae5['shift']());}}}(_0x5570,0xd6bd3));const e={'exchange-client':{'uploading':_0x88f2bb(0x193),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':_0x88f2bb(0x197),'downloading':_0x88f2bb(0x194),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':'Lỗi\x20mạng','tooLarge':_0x88f2bb(0x199),'internalError':_0x88f2bb(0x18d),'interrupt':_0x88f2bb(0x18c),'fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':_0x88f2bb(0x192),'cancel':_0x88f2bb(0x19e),'confirm':_0x88f2bb(0x190),'uploadAgain':_0x88f2bb(0x19c)}};module['exports']=e;
|
package/lib/cjs/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x33abe2=_0x47ca;function _0x4572(){const _0x5e51b1=['1434555VlQRRN','再次上传','未知错误','14NxqvOg','{0}个文件上传成功','1926545NiSRed','下载成功','100eUxGLq','exports','内部未知错误','617877WXXIdM','705030aIBmCo','数据流过大','153eGPhVR','2471522rJjeix','网络连接中断,文件上传失败','1182648PMVjTB','59120GqHxVD','请稍等...'];_0x4572=function(){return _0x5e51b1;};return _0x4572();}(function(_0x229eb5,_0x520647){const _0x36cf57=_0x47ca,_0x21615b=_0x229eb5();while(!![]){try{const _0x53afc3=-parseInt(_0x36cf57(0x122))/0x1+parseInt(_0x36cf57(0x126))/0x2+-parseInt(_0x36cf57(0x125))/0x3*(parseInt(_0x36cf57(0x129))/0x4)+-parseInt(_0x36cf57(0x130))/0x5+parseInt(_0x36cf57(0x123))/0x6*(-parseInt(_0x36cf57(0x12e))/0x7)+-parseInt(_0x36cf57(0x128))/0x8+-parseInt(_0x36cf57(0x12b))/0x9*(-parseInt(_0x36cf57(0x132))/0xa);if(_0x53afc3===_0x520647)break;else _0x21615b['push'](_0x21615b['shift']());}catch(_0x1c2e46){_0x21615b['push'](_0x21615b['shift']());}}}(_0x4572,0xa86f0));function _0x47ca(_0x398e25,_0x4977c0){_0x398e25=_0x398e25-0x120;const _0x457214=_0x4572();let _0x47ca0f=_0x457214[_0x398e25];return _0x47ca0f;}const e={'exchange-client':{'uploading':'上传中','uploadSuccess':'文件上传成功','uploadSuccessTip':_0x33abe2(0x12f),'downloading':'下载中','downloadSuccess':_0x33abe2(0x131),'unknownMistake':_0x33abe2(0x12d),'networkError':'网络异常','tooLarge':_0x33abe2(0x124),'internalError':_0x33abe2(0x121),'interrupt':_0x33abe2(0x127),'fileTypeError':'所选文件\x20[{0}]\x20不支持上传','wait':_0x33abe2(0x12a),'cancel':'取消','confirm':'确认','uploadAgain':_0x33abe2(0x12c)}};module[_0x33abe2(0x120)]=e;
|
package/lib/cjs/locale/zh-HK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1d0f(_0x2b2c8c,_0x2362ff){_0x2b2c8c=_0x2b2c8c-0xab;const _0x59fd47=_0x59fd();let _0x1d0f45=_0x59fd47[_0x2b2c8c];return _0x1d0f45;}const _0x2b6c18=_0x1d0f;(function(_0x3eff94,_0x39c4d7){const _0x2e641a=_0x1d0f,_0x25e627=_0x3eff94();while(!![]){try{const _0x47cf72=parseInt(_0x2e641a(0xbf))/0x1*(parseInt(_0x2e641a(0xb9))/0x2)+-parseInt(_0x2e641a(0xb2))/0x3*(parseInt(_0x2e641a(0xb4))/0x4)+-parseInt(_0x2e641a(0xb7))/0x5*(-parseInt(_0x2e641a(0xad))/0x6)+-parseInt(_0x2e641a(0xb6))/0x7*(-parseInt(_0x2e641a(0xb8))/0x8)+-parseInt(_0x2e641a(0xbe))/0x9+-parseInt(_0x2e641a(0xc0))/0xa+parseInt(_0x2e641a(0xb0))/0xb;if(_0x47cf72===_0x39c4d7)break;else _0x25e627['push'](_0x25e627['shift']());}catch(_0x4c7c58){_0x25e627['push'](_0x25e627['shift']());}}}(_0x59fd,0xc35af));function _0x59fd(){const _0x4b8d40=['6118674cqQUSz','下載中','資料流過大','13110999DrkwGh','上傳中','604197mymKlL','所選檔案\x20[{0}]\x20不支援上傳','8OCjXex','網絡異常','622090IrCIJy','5HvGvsj','8yMSQan','2926518aAPabt','檔案上傳成功','網絡連線中斷,檔案上傳失敗','未知錯誤','再次上傳','9936090nERNBG','1mDbJmK','14568340oVJTiE','下載成功','內部未知錯誤'];_0x59fd=function(){return _0x4b8d40;};return _0x59fd();}const e={'exchange-client':{'uploading':_0x2b6c18(0xb1),'uploadSuccess':_0x2b6c18(0xba),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x2b6c18(0xae),'downloadSuccess':_0x2b6c18(0xab),'unknownMistake':_0x2b6c18(0xbc),'networkError':_0x2b6c18(0xb5),'tooLarge':_0x2b6c18(0xaf),'internalError':_0x2b6c18(0xac),'interrupt':_0x2b6c18(0xbb),'fileTypeError':_0x2b6c18(0xb3),'wait':'請稍等...','cancel':'取消','confirm':'確認','uploadAgain':_0x2b6c18(0xbd)}};module['exports']=e;
|
package/lib/cjs/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4d71(){const _0x112a38=['2575090tjCZTy','所選檔案\x20[{0}]\x20不支援上傳','695256zSDhIw','845832ISwFrx','網路連線中斷,檔案上傳失敗','上傳中','3811451gnxECI','請稍等...','內部未知錯誤','檔案上傳成功','{0}個檔案上傳成功','資料流過大','566496rdashi','再次上傳','772968OQxKvv','下載成功','下載中','未知錯誤','172876CDmgMw','exports'];_0x4d71=function(){return _0x112a38;};return _0x4d71();}function _0x5a16(_0x552243,_0x3f69f5){_0x552243=_0x552243-0x1e3;const _0x4d712a=_0x4d71();let _0x5a16cb=_0x4d712a[_0x552243];return _0x5a16cb;}const _0xa64f1d=_0x5a16;(function(_0x393daf,_0x24eac7){const _0x36faa9=_0x5a16,_0xa745f6=_0x393daf();while(!![]){try{const _0x326a8b=-parseInt(_0x36faa9(0x1ea))/0x1+parseInt(_0x36faa9(0x1ef))/0x2+parseInt(_0x36faa9(0x1ee))/0x3+-parseInt(_0x36faa9(0x1e6))/0x4+parseInt(_0x36faa9(0x1ec))/0x5+parseInt(_0x36faa9(0x1e4))/0x6+-parseInt(_0x36faa9(0x1f2))/0x7;if(_0x326a8b===_0x24eac7)break;else _0xa745f6['push'](_0xa745f6['shift']());}catch(_0x16b54f){_0xa745f6['push'](_0xa745f6['shift']());}}}(_0x4d71,0x564d3));const e={'exchange-client':{'uploading':_0xa64f1d(0x1f1),'uploadSuccess':_0xa64f1d(0x1f5),'uploadSuccessTip':_0xa64f1d(0x1f6),'downloading':_0xa64f1d(0x1e8),'downloadSuccess':_0xa64f1d(0x1e7),'unknownMistake':_0xa64f1d(0x1e9),'networkError':'網路異常','tooLarge':_0xa64f1d(0x1e3),'internalError':_0xa64f1d(0x1f4),'interrupt':_0xa64f1d(0x1f0),'fileTypeError':_0xa64f1d(0x1ed),'wait':_0xa64f1d(0x1f3),'cancel':'取消','confirm':'確認','uploadAgain':_0xa64f1d(0x1e5)}};module[_0xa64f1d(0x1eb)]=e;
|
package/lib/es/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var
|
|
1
|
+
var _0x1dd778=_0x16fa;(function(_0x589f79,_0x136c16){var _0x131c6f=_0x16fa,_0xe601a8=_0x589f79();while(!![]){try{var _0x4e7c5b=-parseInt(_0x131c6f(0xbf))/0x1+parseInt(_0x131c6f(0xc7))/0x2*(parseInt(_0x131c6f(0xbd))/0x3)+-parseInt(_0x131c6f(0xc2))/0x4*(parseInt(_0x131c6f(0xc3))/0x5)+parseInt(_0x131c6f(0xc6))/0x6+-parseInt(_0x131c6f(0xc0))/0x7+-parseInt(_0x131c6f(0xbe))/0x8*(parseInt(_0x131c6f(0xc4))/0x9)+parseInt(_0x131c6f(0xc1))/0xa;if(_0x4e7c5b===_0x136c16)break;else _0xe601a8['push'](_0xe601a8['shift']());}catch(_0x1890bd){_0xe601a8['push'](_0xe601a8['shift']());}}}(_0x410f,0xc5a48));import{IExchangeService as _0x3c3197}from'@univerjs-pro/exchange-client';import{FUniver as _0x268703}from'@univerjs/core/facade';function _0x410f(){var _0x371c45=['downloadFile','9162150PrSFTz','4FslUox','extend','get','616017SDGVWP','55592uCHRII','1136752lTZYRh','6644554deBXLz','26008290hfvdCL','2597228qeRWVq','5XrrpxT','1287UzNpLU'];_0x410f=function(){return _0x371c45;};return _0x410f();}var n=class extends _0x268703{[_0x1dd778(0xc5)](_0x353bb6,_0x4c3c4d,_0x439d3e){var _0x71bce=_0x1dd778;this['_injector'][_0x71bce(0xbc)](_0x3c3197)[_0x71bce(0xc5)](_0x353bb6,_0x4c3c4d,_0x439d3e);}};function _0x16fa(_0x53ebc3,_0x509967){_0x53ebc3=_0x53ebc3-0xbc;var _0x410f0a=_0x410f();var _0x16fad4=_0x410f0a[_0x53ebc3];return _0x16fad4;}_0x268703[_0x1dd778(0xc8)](n);export{};
|
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x222254=_0x5ef7;(function(_0x18c733,_0x294b14){const _0xfa64fe=_0x5ef7,_0x4d6216=_0x18c733();while(!![]){try{const _0x1fbf8e=parseInt(_0xfa64fe(0x18d))/0x1*(-parseInt(_0xfa64fe(0x1be))/0x2)+parseInt(_0xfa64fe(0x169))/0x3*(-parseInt(_0xfa64fe(0x226))/0x4)+-parseInt(_0xfa64fe(0x159))/0x5+parseInt(_0xfa64fe(0x257))/0x6+parseInt(_0xfa64fe(0x161))/0x7*(-parseInt(_0xfa64fe(0x1a2))/0x8)+parseInt(_0xfa64fe(0x1ff))/0x9+parseInt(_0xfa64fe(0x1a4))/0xa;if(_0x1fbf8e===_0x294b14)break;else _0x4d6216['push'](_0x4d6216['shift']());}catch(_0x4bca76){_0x4d6216['push'](_0x4d6216['shift']());}}}(_0x4aac,0xcd30e));import{UniverLicensePlugin as _0x5101d5}from'@univerjs-pro/license';import{DependentOn as _0x478567,Disposable as _0x5b5c70,IConfigService as _0x55d0d4,ILogService as _0x4ed4b7,IResourceLoaderService as _0x56b3b9,IUniverInstanceService as _0x432a12,Inject as _0x412acd,Injector as _0x328aba,LocaleService as _0x51b184,Plugin as _0x2a7ab1,UniverInstanceType as _0x151766,createIdentifier as _0x18097c,merge as _0x17799a,registerDependencies as _0x27dbb6,resolveWithBasePath as _0xd7c7a9,toDisposable as _0x1e4bdd,touchDependencies as _0x4959dc}from'@univerjs/core';import{HTTPResponseError as _0xa14227,HTTPService as _0x2c82c0,UniverNetworkPlugin as _0x417308}from'@univerjs/network';import{BuiltInUIPart as _0x552673,IMessageService as _0x4f4a53,IUIPartsService as _0x37052e,IconManager as _0x3c6ba6,UniverUIPlugin as _0x35b6ef,connectInjector as _0x1d0427,useDependency as _0x1e3628,useObservable as _0x4079b5}from'@univerjs/ui';import{ClockIcon as _0xd88cde,CloseIcon as _0x5d7771,DirectExportIcon as _0x441350,DocsMultiIcon as _0x546a32,ErrorIcon as _0x4cd45e,ShareRangeIcon as _0x256f52,SheetsMultiIcon as _0x311260,SlidesMultiIcon as _0x5ce95e,SuccessIcon as _0x5ab502}from'@univerjs/icons';import{BehaviorSubject as _0x213ee6,Subject as _0x34e63b}from'rxjs';import{MessageType as _0x30a331,Tooltip as _0x1496db,clsx as _0x2c1e21,scrollbarClassName as _0x5223d9}from'@univerjs/design';import{jsx as _0x314104,jsxs as _0x525f8d}from'react/jsx-runtime';import{ErrorCode as _0x1889ed,FileSource as _0x5723fe}from'@univerjs/protocol';import{SnapshotService as _0x1c35f5,b64DecodeUnicode as _0x3ca26b,b64EncodeUnicode as _0x117463,getSheetBlocksFromSnapshot as _0x5ca6b,textDecoder as _0x4d8b4a,textEncoder as _0x53514b,transformDocumentDataToSnapshot as _0x3600cc,transformPdfDataToSnapshot as _0x554ea5,transformSlideDataToSnapshot as _0x1b47d4,transformSnapshotToDocumentData as _0x1903a0,transformSnapshotToPdfData as _0x52625d,transformSnapshotToSlideData as _0x5f4b94,transformSnapshotToWorkbookData as _0x401a94,transformWorkbookDataToSnapshot as _0xc55962}from'@univerjs-pro/collaboration';import{deflateSync as _0xcd5c59}from'fflate';var Re=_0x222254(0x27b),ze='1.0.0-alpha.8';const T=_0x222254(0x1a7),E={};function D(_0x1ab5f3,_0x448d04){return function(_0x3d6e54,_0x22cbe5){_0x448d04(_0x3d6e54,_0x22cbe5,_0x1ab5f3);};}function O(_0x304c8b,_0xd4c64b,_0x34537d,_0x5ceef3){const _0x2f5137=_0x222254;var _0x11e5ab=arguments['length'],_0x3c7e33=_0x11e5ab<0x3?_0xd4c64b:_0x5ceef3===null?_0x5ceef3=Object[_0x2f5137(0x12c)](_0xd4c64b,_0x34537d):_0x5ceef3,_0x282807;if(typeof Reflect==_0x2f5137(0x21e)&&typeof Reflect[_0x2f5137(0x281)]==_0x2f5137(0x1d5))_0x3c7e33=Reflect[_0x2f5137(0x281)](_0x304c8b,_0xd4c64b,_0x34537d,_0x5ceef3);else{for(var _0x422843=_0x304c8b[_0x2f5137(0x194)]-0x1;_0x422843>=0x0;_0x422843--)(_0x282807=_0x304c8b[_0x422843])&&(_0x3c7e33=(_0x11e5ab<0x3?_0x282807(_0x3c7e33):_0x11e5ab>0x3?_0x282807(_0xd4c64b,_0x34537d,_0x3c7e33):_0x282807(_0xd4c64b,_0x34537d))||_0x3c7e33);}return _0x11e5ab>0x3&&_0x3c7e33&&Object[_0x2f5137(0x18a)](_0xd4c64b,_0x34537d,_0x3c7e33),_0x3c7e33;}let k=class extends _0x5b5c70{constructor(_0x1dcfa9){const _0x5e087d=_0x222254;super(),this[_0x5e087d(0x155)]=_0x1dcfa9,this['_registerIcons']();}[_0x222254(0x1a8)](){const _0x19330a=_0x222254;this[_0x19330a(0x237)](this[_0x19330a(0x155)][_0x19330a(0x1e5)]({'DirectExportIcon':_0x441350}));}};k=O([D(0x0,_0x412acd(_0x3c6ba6))],k);function A(_0x571b34){'@babel/helpers - typeof';const _0x11ead2=_0x222254;return A=typeof Symbol=='function'&&typeof Symbol[_0x11ead2(0x258)]==_0x11ead2(0x140)?function(_0x15ce47){return typeof _0x15ce47;}:function(_0xf39f6a){const _0x26ad05=_0x11ead2;return _0xf39f6a&&typeof Symbol==_0x26ad05(0x1d5)&&_0xf39f6a['constructor']===Symbol&&_0xf39f6a!==Symbol['prototype']?_0x26ad05(0x140):typeof _0xf39f6a;},A(_0x571b34);}function Be(_0x19e92f,_0x1ac037){const _0x48eed5=_0x222254;if(A(_0x19e92f)!='object'||!_0x19e92f)return _0x19e92f;var _0x544050=_0x19e92f[Symbol[_0x48eed5(0x211)]];if(_0x544050!==void 0x0){var _0x94066d=_0x544050[_0x48eed5(0x245)](_0x19e92f,_0x1ac037||_0x48eed5(0x265));if(A(_0x94066d)!=_0x48eed5(0x21e))return _0x94066d;throw TypeError(_0x48eed5(0x1ba));}return(_0x1ac037===_0x48eed5(0x27c)?String:Number)(_0x19e92f);}function Ve(_0x49647e){const _0x2933b7=_0x222254;var _0x3b409e=Be(_0x49647e,_0x2933b7(0x27c));return A(_0x3b409e)=='symbol'?_0x3b409e:_0x3b409e+'';}function j(_0x2037bf,_0x2e8d01,_0x55f5b4){const _0x14ba1e=_0x222254;return(_0x2e8d01=Ve(_0x2e8d01))in _0x2037bf?Object[_0x14ba1e(0x18a)](_0x2037bf,_0x2e8d01,{'value':_0x55f5b4,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x2037bf[_0x2e8d01]=_0x55f5b4,_0x2037bf;}const M=_0x18097c(_0x222254(0x18b));var He=class extends _0x5b5c70{constructor(){const _0x6123fb=_0x222254;super(),j(this,'_visible$',new _0x34e63b()),j(this,_0x6123fb(0x266),new _0x34e63b()),j(this,_0x6123fb(0x186),new _0x34e63b()),j(this,'visible$',this[_0x6123fb(0x213)][_0x6123fb(0x239)]()),j(this,_0x6123fb(0x1c9),this['_state$'][_0x6123fb(0x239)]()),j(this,_0x6123fb(0x1bd),this['_list$'][_0x6123fb(0x239)]()),j(this,_0x6123fb(0x17c),[]);}[_0x222254(0x1f4)](){const _0x5f52e4=_0x222254;super[_0x5f52e4(0x1f4)](),this[_0x5f52e4(0x213)][_0x5f52e4(0x263)](),this[_0x5f52e4(0x266)][_0x5f52e4(0x263)](),this[_0x5f52e4(0x186)][_0x5f52e4(0x263)]();}[_0x222254(0x17f)](){const _0x427151=_0x222254;this[_0x427151(0x213)][_0x427151(0x138)](!0x0);}[_0x222254(0x22e)](){const _0x2e2646=_0x222254;this[_0x2e2646(0x213)][_0x2e2646(0x138)](!0x1);}[_0x222254(0x143)](_0x4e2043){const _0x5ce012=_0x222254;this[_0x5ce012(0x266)][_0x5ce012(0x138)](_0x4e2043);}[_0x222254(0x240)](_0x551e82){const _0x2e5cd4=_0x222254;this['_list'][_0x2e5cd4(0x27d)](_0x551e82),this[_0x2e5cd4(0x186)][_0x2e5cd4(0x138)](this[_0x2e5cd4(0x17c)]);}};function Ue(_0x12e54b){const _0xb2edaf=_0x222254;let {list:_0x9f2c35}=_0x12e54b;function _0x110140(_0x3e4690){switch(_0x3e4690){case 0x1:return _0x314104(_0x546a32,{});case 0x2:return _0x314104(_0x311260,{});case 0x3:return _0x314104(_0x5ce95e,{});default:return null;}}return _0x314104(_0xb2edaf(0x26d),{'className':_0x2c1e21(_0xb2edaf(0x1a9),_0x5223d9),'children':_0x314104('ul',{'className':_0xb2edaf(0x16a),'children':_0x9f2c35[_0xb2edaf(0x196)]((_0x340c1d,_0x57bae8)=>_0x314104('li',{'children':_0x525f8d('a',{'className':_0xb2edaf(0x174),'href':_0x340c1d[_0xb2edaf(0x183)],'target':_0xb2edaf(0x1e9),'rel':_0xb2edaf(0x20b),'children':[_0x525f8d(_0xb2edaf(0x269),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x314104(_0xb2edaf(0x269),{'className':_0xb2edaf(0x23c),'children':_0x110140(_0x340c1d[_0xb2edaf(0x15e)])}),_0x314104(_0x1496db,{'showIfEllipsis':!0x0,'title':_0x340c1d[_0xb2edaf(0x1b2)],'asChild':!0x0,'children':_0x314104(_0xb2edaf(0x269),{'className':_0xb2edaf(0x21c),'children':_0x340c1d['name']})})]}),_0x314104(_0xb2edaf(0x269),{'className':_0xb2edaf(0x1a6),'children':_0x314104(_0x256f52,{})})]})},_0x57bae8))})});}function _0x5ef7(_0x40e9c7,_0x15fbd7){_0x40e9c7=_0x40e9c7-0x125;const _0x4aacd2=_0x4aac();let _0x5ef77a=_0x4aacd2[_0x40e9c7];return _0x5ef77a;}const N=_0x222254(0x19e),P=_0x222254(0x273),F='application/vnd.ms-excel.sheet.macroEnabled.12',I=_0x222254(0x1b3),L=_0x222254(0x1d7),R='application/pdf',We={[_0x151766[_0x222254(0x270)]]:[''],[_0x151766[_0x222254(0x22d)]]:[N],[_0x151766[_0x222254(0x274)]]:[P,F,I],[_0x151766[_0x222254(0x1a3)]]:[L],[_0x151766[_0x222254(0x173)]]:[R],[_0x151766[_0x222254(0x200)]]:[''],[_0x151766[_0x222254(0x15c)]]:[''],[_0x151766['UNIVER_PROJECT']]:[''],[_0x151766[_0x222254(0x195)]]:['']},z={[N]:_0x222254(0x158),[P]:_0x222254(0x1f1),[F]:'xlsm',[I]:_0x222254(0x1b9),[L]:'pptx',[R]:_0x222254(0x1d0)};function Ge(_0x3b2b56,_0x587e4f,_0x4b328c){const _0x255f19=_0x222254;let _0x61a9a6=document[_0x255f19(0x1cf)]('a');_0x61a9a6['href']=_0x3b2b56,_0x61a9a6[_0x255f19(0x1e4)][_0x255f19(0x216)]='none',_0x61a9a6[_0x255f19(0x185)]=_0x587e4f+'.'+_0x4b328c,document['body'][_0x255f19(0x279)](_0x61a9a6),_0x61a9a6['click'](),document[_0x255f19(0x17e)]['removeChild'](_0x61a9a6);}function Ke(_0x257d85){const _0x3fd19c=_0x222254;let _0x14d71d=_0x257d85[_0x3fd19c(0x1b2)][_0x3fd19c(0x218)]('.')[_0x3fd19c(0x215)]();if(!_0x14d71d)return _0x151766['UNIVER_UNKNOWN'];let _0x697ded=qe(),_0x5ede55=_0x151766[_0x3fd19c(0x270)];return _0x697ded['some'](_0x2043e0=>Je(_0x14d71d,_0x2043e0)?(_0x5ede55=_0x2043e0,!0x0):!0x1),_0x5ede55;}function qe(){const _0x49dc8e=_0x222254;return Object['values'](_0x151766)[_0x49dc8e(0x167)](_0x258ff9=>typeof _0x258ff9==_0x49dc8e(0x24d));}function Je(_0x2d0cdb,_0x3675f6){const _0x519fcb=_0x222254;var _0x5e1725;return((_0x5e1725=We[_0x3675f6])==null?[]:_0x5e1725)['map'](_0x3b4540=>(z[_0x3b4540]||'')[_0x519fcb(0x1d3)]())[_0x519fcb(0x145)](_0x2d0cdb[_0x519fcb(0x1d3)]());}function B(_0x587e5d,_0x52be59=!0x1){const _0x1cbe57=_0x222254;let _0x36e04b=_0x587e5d[_0x1cbe57(0x196)](_0x4e3dfd=>{var _0x3ad7be;return(_0x3ad7be=We[_0x4e3dfd])==null?[]:_0x3ad7be;})[_0x1cbe57(0x125)](',');return new Promise(_0x42aa6a=>{const _0x137bcb=_0x1cbe57;let _0x52ee91=document[_0x137bcb(0x1cf)](_0x137bcb(0x255));_0x52ee91[_0x137bcb(0x15e)]=_0x137bcb(0x234),_0x52ee91[_0x137bcb(0x209)]=_0x36e04b,_0x52ee91[_0x137bcb(0x227)]=_0x52be59;let _0x441f12=()=>{const _0xb89435=_0x137bcb;var _0x374c13;return _0x42aa6a((_0x374c13=_0x52ee91['files'])!=null&&_0x374c13[_0xb89435(0x194)]?_0x52ee91[_0xb89435(0x18e)]:null);};_0x52ee91['addEventListener'](_0x137bcb(0x23e),_0x441f12,{'once':!0x0}),_0x52ee91[_0x137bcb(0x25b)](_0x137bcb(0x1e7),_0x441f12,{'once':!0x0}),_0x52ee91[_0x137bcb(0x259)]();});}async function V(_0x32801a,_0x505fb1){const _0x12ce15=_0x222254;try{var _0x4fc690,_0x479561,_0x2db3f5;let _0x36d661=await _0x505fb1[_0x12ce15(0x197)](_0x32801a,{'responseType':_0x12ce15(0x166)}),_0x1cd9f0=_0x36d661[_0x12ce15(0x17e)],_0x254a64=(_0x4fc690=(_0x479561=_0x36d661[_0x12ce15(0x149)][_0x12ce15(0x197)]('Content-Type'))==null?void 0x0:_0x479561[_0x12ce15(0x125)](',\x20'))==null?_0x12ce15(0x180):_0x4fc690,_0x247fa4='file.'+(z[_0x254a64]||_0x12ce15(0x1f1)),_0x879679=(_0x2db3f5=_0x36d661[_0x12ce15(0x149)][_0x12ce15(0x197)]('content-disposition'))==null?void 0x0:_0x2db3f5['join'](',\x20');if(_0x879679){let _0x22e291=_0x879679['match'](/filename=(.+)/);_0x22e291&&_0x22e291[0x1]&&(_0x247fa4=_0x22e291[0x1]);}else _0x247fa4=Ye(_0x32801a)||_0x247fa4;return new File([_0x1cd9f0],_0x247fa4,{'type':_0x254a64});}catch(_0xcc0291){console[_0x12ce15(0x22f)](_0x12ce15(0x141),_0xcc0291);return;}}function Ye(_0x1163e1){const _0x4c9977=_0x222254;try{return new URL(_0x1163e1)[_0x4c9977(0x19c)][_0x4c9977(0x218)]('/')[_0x4c9977(0x215)]();}catch(_0x5073fc){console[_0x4c9977(0x22f)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x5073fc);return;}}function Xe(_0x30f103){const _0x581687=_0x222254;let _0xa55534=new Blob([_0x30f103[_0x581687(0x267)]],{'type':_0x581687(0x1f7)});return new File([_0xa55534],'file.json');}function H(_0x4a35af,_0x37a558){const _0x54897a=_0x222254;return _0x4a35af[_0x54897a(0x222)](_0x54897a(0x248),_0x37a558);}function _0x4aac(){const _0x396d05=['workbook','511396VSJMmb','multiple','_clearProgress','getCurrentUnitOfType','ignoreTableExport','_showNetworkError','disableCellImageConversion','UNIVER_DOC','hide','error','univer-text-sm\x20univer-text-gray-500','UNDEFINED','clearTaskInterrupted','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','file','exportServerUrl','progress$','disposeWithMe','importServerUrl','asObservable','_getDownloadEndpointURL','_getUnitID','univer-flex\x20univer-h-5\x20univer-text-xl','encode','change','&source=','pushLink','Failed\x20to\x20parse\x20json','toString','Failed\x20to\x20get\x20fileID\x20from\x20task','/universer-api/stream/file/upload','call','_importTaskId','_upload','{type}','upload\x20failed:\x20missing\x20FileId\x20in\x20response','.json','Failed\x20to\x20transform\x20PDF\x20snapshot\x20to\x20string','resources','number','import\x20error','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','workbook.json','INTERNAL_ERROR','_importFileToUnitId','exportDOCXBySnapshot','getSnapshot','input','snapshot','1189206bGcxpA','iterator','click','setConfig','addEventListener','decode','_requestService','uploadFileServerUrl','copyFileMeta','Info','done','append','complete','exchange-client.internalError','default','_state$','buffer','href','span','location','blockID','outputType','div','has','FileId','UNIVER_UNKNOWN','export\x20error','title','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','UNIVER_SHEET','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','_addDoneTask','_getUnitJson','createUnit','appendChild','size','@univerjs-pro/exchange-client','string','unshift','upload','registerLink','_getExportURL','decorate','join','_getMinSheetRowCount','import','data','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','catch','exportDOCXByUnitId','getOwnPropertyDescriptor','univer-pro.exchange-client.operate.service','_signUrl','block\x20is\x20required','updateSnapshot','interrupt','downloadFile','exchange-client.interrupt','_exportBySnapshot','minSheetColumnCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','interruptImportTask','next','_refreshUnit','_resourceLoaderService','_buildProtocolErrorMessage','Method\x20not\x20implemented.','doc','importXLSXToSnapshot','{fileID}','symbol','Error\x20fetching\x20file\x20from\x20URL:','_uiPartsService','updateState','sign\x20url\x20error','includes','isArray','/universer-api/exchange/{type}/export','_showUploadMessage','headers','min','_progress$','_totalUploadTaskCount','_httpService','upload\x20failed:\x20FileId\x20is\x20empty','\x20is\x20currently\x20active.','exportXLSXByUnitId','button','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','saveChangeset','exchange-client.uploadAgain','_iconManager','keys','visible$','docx','7583305ooLeeP','statusText','_uploadTaskNotDone','UNIVER_BOARD','_registerUIParts','type','_buildHttpErrorMessage','exchange-client.downloadSuccess','2850589BOYHVe','exchange-client.networkError','trim','univer-text-green-500','options','blob','filter','set','12SqYOBD','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','univer-pro.exchange-client.exchange.service','_addTotalCount','signUrlServerUrl','clear','setTaskInterrupted','exportPPTXByUnitId','_config','originalMeta','UNIVER_PDF','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','registerComponent','add','message','_doneUploadTaskCount','fetchMissingChangesets','revokeObjectURL','uploadFileToUnitId','_list','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','body','show','application/octet-stream','getUnitId','univer-mt-5\x20univer-flex\x20univer-flex-col','link','exportPPTXBySnapshot','download','_list$','isUnitLoadedFromServer','saveUnit','floor','defineProperty','univer-pro.exchange-client.upload-notification.service','importPDFToUnitId','6567AZSRdX','files','UNIVER_EXCHANGE_CLIENT_PLUGIN','exchange-client.tooLarge','_requestState$','signUrl','exportXLSXBySnapshot','length','UNRECOGNIZED','map','get','transformSnapshotJsonToWorkbookData','getTaskServerUrl','sheets','pptx','pathname','_getTaskURL','application/vnd.openxmlformats-officedocument.wordprocessingml.document','exchange-client.uploadSuccessTip','/universer-api/file/{fileID}/sign-url','/universer-api/exchange/task/{taskID}','8vsJKec','UNIVER_SLIDE','26087000CUAVVP','minSheetRowCount','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','exchange-client.config','_registerIcons','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','getResourcesRequest','Warning','exchange-client.wait','searchParams','univer-pl-2\x20univer-pr-4','Failed\x20to\x20transform\x20snapshot\x20to\x20string','Failed\x20to\x20get\x20file\x20from\x20url','_injector','name','application/vnd.openxmlformats-officedocument.spreadsheetml.template','getTextFromUrl','Success','/universer-api/exchange/{type}/import','_logService','code','xltx','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','getDeserializedSheetBlock','importPDFToSnapshot','list$','110ZGicPc','univer-pro.exchange-client.request.service','Get\x20outputType\x20error','export','importDOCXToUnitId','Failed\x20to\x20get\x20jsonID\x20from\x20task','exportPDFBySnapshot','importFileToUnitId','_getUnitNameByType','stringify','_configService','state$','CONTENT','importFileToJson','importWorkbookDataToUnitId','No\x20unit\x20of\x20type\x20','importPPTXToSnapshot','createElement','pdf','_completeProgress','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','toLowerCase','univer-text-blue-500','function','_univerInstanceService','application/vnd.openxmlformats-officedocument.presentationml.presentation','_uploadNotificationService','onStarting','\x20-\x20','createObjectURL','saveSheetBlock','_fileTypeError','_getIgnoreTableExport','transformWorkbookDataToSnapshotJson','_emitProgress','parse','pluginName','_importToJson','style','register','importXLSXToUnitId','cancel','upload\x20request\x20failed','_blank',':\x20HTTP\x20','_getMinSheetColumnCount','_localeService','getUnitOnRev','post','rev','success','xlsx','_messageService','packageName','dispose','_getUploadFileURL','CONNECTOR_DATA_TOO_LARGE','application/json','_export','_getLinkByUnitId','exportPDFByUnitId','status','_getImportURL','text','{taskID}','7470270CalFaP','UNIVER_BASE','_showDownloadMessage','getUnitType','_getSignURL','getTask','Error','_extractErrorDetail','subscribe','Failed\x20to\x20get\x20unitID\x20from\x20task','accept','getConfig','noreferrer','importPPTXToUnitId','_exchangeService','importFileToUnitIdByCurrentType','getFocusedUnit','requestState$','toPrimitive','univer-flex','_visible$','origin','pop','display','shift','split','importDOCXToSnapshot','exchange-client.uploading','_sheetBlockCache','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','saveSnapshot','object','taskID','getSheetBlock','_taskInterrupted','replace','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','resolve'];_0x4aac=function(){return _0x396d05;};return _0x4aac();}function Ze(_0x252cdf,_0x5cc0e4){const _0x18a35c=_0x222254;return _0x252cdf[_0x18a35c(0x222)](_0x18a35c(0x1fe),_0x5cc0e4);}function Qe(_0x3bafa6,_0x5328e0){const _0x3980e9=_0x222254;return _0x3bafa6[_0x3980e9(0x222)](_0x3980e9(0x13f),_0x5328e0);}const U=_0x18097c(_0x222254(0x1bf));let W=class{constructor(_0x4c935d,_0x1af2a6){const _0x3d9bb7=_0x222254;this['_configService']=_0x4c935d,this[_0x3d9bb7(0x14d)]=_0x1af2a6,j(this,'_taskInterrupted',new Set());}['dispose'](){}[_0x222254(0x16f)](_0x28c085){const _0x27f278=_0x222254;this[_0x27f278(0x221)][_0x27f278(0x176)](_0x28c085);}[_0x222254(0x232)](){const _0x48d01d=_0x222254;this[_0x48d01d(0x221)][_0x48d01d(0x16e)]();}async['upload'](_0x4927d2,_0x13ffcc=0x0,_0x17cdbe=!0x1){const _0x1b9b6a=_0x222254;if(typeof _0x4927d2==_0x1b9b6a(0x27c)){let _0x10da8a=await V(_0x4927d2,this[_0x1b9b6a(0x14d)]);if(!_0x10da8a)throw Error(_0x1b9b6a(0x129));_0x4927d2=_0x10da8a;}_0x13ffcc=_0x13ffcc||_0x4927d2[_0x1b9b6a(0x27a)];let _0xceac8a=new FormData();_0xceac8a[_0x1b9b6a(0x262)]('file',_0x4927d2);try{let _0x33cb0c=this['_getUploadFileURL']()+'?size='+_0x13ffcc+_0x1b9b6a(0x23f)+_0x5723fe['HttpImport']+'&flate='+_0x17cdbe,_0x1e4157={'body':_0xceac8a},_0x1d5364=(await this[_0x1b9b6a(0x14d)][_0x1b9b6a(0x1ee)](_0x33cb0c,_0x1e4157))[_0x1b9b6a(0x17e)];if(_0x1d5364[_0x1b9b6a(0x22f)]&&_0x1d5364[_0x1b9b6a(0x22f)][_0x1b9b6a(0x1b8)]!==_0x1889ed['OK'])throw Error(this[_0x1b9b6a(0x13b)]('upload\x20request\x20failed',_0x1d5364[_0x1b9b6a(0x22f)]));return _0x1d5364;}catch(_0x50a654){throw _0x50a654 instanceof Error?_0x50a654:Error(this[_0x1b9b6a(0x15f)](_0x1b9b6a(0x1e8),_0x50a654));}}async[_0x222254(0x127)](_0x182b02){const _0x54de7c=_0x222254;let {fileID:_0x5e4a65,type:_0x44e2a4,outputType:_0x121907,minSheetColumnCount:_0x2776dc,minSheetRowCount:_0x56a390}=_0x182b02;try{let _0x234d1c=H(this[_0x54de7c(0x1fc)](),''+_0x44e2a4),_0x461e1e={'body':{'fileID':_0x5e4a65,'outputType':_0x121907,'minSheetColumnCount':_0x2776dc,'minSheetRowCount':_0x56a390}},_0x129fdc=(await this['_httpService'][_0x54de7c(0x1ee)](_0x234d1c,_0x461e1e))[_0x54de7c(0x17e)];return _0x129fdc[_0x54de7c(0x22f)]&&_0x129fdc[_0x54de7c(0x22f)][_0x54de7c(0x1b8)]!==_0x1889ed['OK']?void 0x0:_0x129fdc;}catch{return;}}async[_0x222254(0x1c1)](_0x176430){const _0x2a3adb=_0x222254;let {unitID:_0x8b9b6c,jsonID:_0x4cfd68,type:_0x37eefe,useImageUrl:_0x4a5434,ignoreTableExport:_0x5645bb}=_0x176430;try{let _0x13053a=H(this[_0x2a3adb(0x280)](),''+_0x37eefe),_0x25df7c={'body':{'unitID':_0x8b9b6c,'jsonID':_0x4cfd68,'type':_0x37eefe,'useImageUrl':_0x4a5434,'ignoreTableExport':_0x5645bb}},_0x1c0c1f=(await this[_0x2a3adb(0x14d)]['post'](_0x13053a,_0x25df7c))[_0x2a3adb(0x17e)];return _0x1c0c1f[_0x2a3adb(0x22f)]&&_0x1c0c1f[_0x2a3adb(0x22f)][_0x2a3adb(0x1b8)]!==_0x1889ed['OK']?void 0x0:_0x1c0c1f;}catch{return;}}async[_0x222254(0x204)](_0x6e3095){return new Promise((_0x179be5,_0x199d6a)=>{const _0x5bafed=_0x5ef7;try{let _0x242ae1=0x0,_0x16950d=Ze(this[_0x5bafed(0x19d)](),''+_0x6e3095),_0x52d283=this['_getMaxPollingTime'](),_0x58e309=async()=>{const _0x209056=_0x5bafed;if(this[_0x209056(0x221)][_0x209056(0x26e)](_0x6e3095))return;let _0x3db141=(await this[_0x209056(0x14d)][_0x209056(0x197)](_0x16950d))[_0x209056(0x17e)];if(_0x3db141['error']&&_0x3db141[_0x209056(0x22f)][_0x209056(0x1b8)]===_0x1889ed['OK']){if(_0x3db141[_0x209056(0x1fb)]===_0x209056(0x261))_0x179be5(_0x3db141);else{if(_0x3db141[_0x209056(0x1fb)]==='pending'){let _0x5b7786=0x3e8;if(_0x242ae1>=_0x52d283){_0x199d6a(_0x3db141);return;}else _0x242ae1>=0x7530&&(_0x5b7786=0x1388);_0x242ae1+=_0x5b7786,setTimeout(_0x58e309,_0x5b7786);}else _0x199d6a(_0x3db141);}}else _0x199d6a(_0x3db141);};_0x58e309();}catch(_0x363474){_0x199d6a(_0x363474 instanceof Error?_0x363474:Error(String(_0x363474)));}});}async[_0x222254(0x192)](_0x30610a){const _0x5c2da5=_0x222254;try{let _0x590681=Qe(this['_getSignURL'](),''+_0x30610a);return(await this['_httpService'][_0x5c2da5(0x197)](_0x590681))[_0x5c2da5(0x17e)];}catch{return;}}async[_0x222254(0x1b4)](_0x842383){const _0x2ea528=_0x222254;try{return(await this[_0x2ea528(0x14d)][_0x2ea528(0x197)](_0x842383,{'responseType':_0x2ea528(0x1fd)}))['body'];}catch{return;}}[_0x222254(0x13b)](_0x4aef2f,_0x4978a4){const _0x358cee=_0x222254;let _0x36f703=this[_0x358cee(0x206)](_0x4978a4);return _0x36f703?_0x4aef2f+':\x20'+_0x36f703:_0x4aef2f;}[_0x222254(0x15f)](_0x1f4780,_0x4637f4){const _0x41541a=_0x222254;if(_0x4637f4 instanceof _0xa14227){let _0x37351e=typeof _0x4637f4[_0x41541a(0x1fb)]=='number'?''+_0x4637f4[_0x41541a(0x1fb)]+(_0x4637f4[_0x41541a(0x15a)]?'\x20'+_0x4637f4[_0x41541a(0x15a)]:''):void 0x0,_0x1fb53e=this[_0x41541a(0x206)](_0x4637f4['error']);return _0x37351e&&_0x1fb53e?_0x1f4780+_0x41541a(0x1ea)+_0x37351e+_0x41541a(0x1da)+_0x1fb53e:_0x37351e?_0x1f4780+_0x41541a(0x1ea)+_0x37351e:_0x1fb53e?_0x1f4780+':\x20'+_0x1fb53e:_0x1f4780;}let _0x2fa076=this['_extractErrorDetail'](_0x4637f4);return _0x2fa076?_0x1f4780+':\x20'+_0x2fa076:_0x1f4780;}[_0x222254(0x206)](_0x2509f4){const _0x1b1a1f=_0x222254;if(typeof _0x2509f4=='string'){let _0x2dc1a5=_0x2509f4[_0x1b1a1f(0x163)]();return _0x2dc1a5[_0x1b1a1f(0x194)]>0x0?_0x2dc1a5:void 0x0;}if(_0x2509f4 instanceof Error)return this['_extractErrorDetail'](_0x2509f4[_0x1b1a1f(0x177)]);if(!_0x2509f4||typeof _0x2509f4!=_0x1b1a1f(0x21e)||Array[_0x1b1a1f(0x146)](_0x2509f4))return;let _0x578dc6=_0x2509f4,_0x21b4f4=this[_0x1b1a1f(0x206)](_0x578dc6['message']);if(_0x21b4f4)return _0x21b4f4;if(_0x578dc6[_0x1b1a1f(0x22f)]&&typeof _0x578dc6[_0x1b1a1f(0x22f)]==_0x1b1a1f(0x21e)&&!Array[_0x1b1a1f(0x146)](_0x578dc6[_0x1b1a1f(0x22f)])){let _0x258c13=this[_0x1b1a1f(0x206)](_0x578dc6[_0x1b1a1f(0x22f)]);if(_0x258c13)return _0x258c13;}}[_0x222254(0x1f5)](){const _0x2566f2=_0x222254;var _0x31f5bb;let _0x190fd7=this[_0x2566f2(0x1c8)][_0x2566f2(0x20a)](T);return(_0x31f5bb=_0x190fd7==null?void 0x0:_0x190fd7[_0x2566f2(0x25e)])==null?_0x2566f2(0x244):_0x31f5bb;}['_getImportURL'](){const _0x36d7d7=_0x222254;var _0x3fb027;let _0x5a74fb=this[_0x36d7d7(0x1c8)][_0x36d7d7(0x20a)](T);return(_0x3fb027=_0x5a74fb==null?void 0x0:_0x5a74fb[_0x36d7d7(0x238)])==null?_0x36d7d7(0x1b6):_0x3fb027;}[_0x222254(0x280)](){const _0x698297=_0x222254;var _0x1c5ccb;let _0x137e79=this[_0x698297(0x1c8)][_0x698297(0x20a)](T);return(_0x1c5ccb=_0x137e79==null?void 0x0:_0x137e79[_0x698297(0x235)])==null?_0x698297(0x147):_0x1c5ccb;}[_0x222254(0x19d)](){const _0x867ec8=_0x222254;var _0x4ea2dd;let _0x533f51=this[_0x867ec8(0x1c8)][_0x867ec8(0x20a)](T);return(_0x4ea2dd=_0x533f51==null?void 0x0:_0x533f51[_0x867ec8(0x199)])==null?_0x867ec8(0x1a1):_0x4ea2dd;}[_0x222254(0x203)](){const _0x4ccca2=_0x222254;var _0x735906;let _0x41e01e=this[_0x4ccca2(0x1c8)][_0x4ccca2(0x20a)](T);return(_0x735906=_0x41e01e==null?void 0x0:_0x41e01e[_0x4ccca2(0x16d)])==null?_0x4ccca2(0x1a0):_0x735906;}['_getMaxPollingTime'](){const _0xc3ef82=_0x222254;var _0x142db5;let _0x1e8e05=this[_0xc3ef82(0x1c8)]['getConfig'](T);return(_0x142db5=_0x1e8e05==null?void 0x0:_0x1e8e05['maxTimeoutTime'])==null?0x1d4c0:_0x142db5;}};W=O([D(0x0,_0x55d0d4),D(0x1,_0x412acd(_0x2c82c0))],W);function $e(_0x19c3d8){const _0x2529ef=_0x222254;let _0x47a427=_0x19c3d8[_0x2529ef(0x225)];if(!_0x47a427)return null;let _0x2bd480={};_0x47a427[_0x2529ef(0x19a)]&&Object[_0x2529ef(0x156)](_0x47a427[_0x2529ef(0x19a)])['forEach'](_0x316e71=>{const _0x59875a=_0x2529ef;let _0x5e83ad=_0x47a427[_0x59875a(0x19a)][_0x316e71];_0x2bd480[_0x316e71]={..._0x5e83ad,'originalMeta':_0x117463(_0x4d8b4a[_0x59875a(0x25c)](_0x5e83ad[_0x59875a(0x172)]))};});let _0x169ec0=_0x117463(_0x4d8b4a[_0x2529ef(0x25c)](_0x47a427[_0x2529ef(0x172)]));return{..._0x19c3d8,'workbook':{..._0x47a427,'originalMeta':_0x169ec0,'sheets':_0x2bd480},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function et(_0x1d668c){const _0x154277=_0x222254;let _0x528c5f=_0x1d668c[_0x154277(0x13d)];if(!_0x528c5f)return null;let _0x5a72fe=_0x117463(_0x4d8b4a[_0x154277(0x25c)](_0x528c5f[_0x154277(0x172)]));return{..._0x1d668c,'workbook':{},'doc':{..._0x528c5f,'originalMeta':_0x5a72fe},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function tt(_0x1e79be){const _0x334d4d=_0x222254;var _0x1ab161;let _0x2ae009=(_0x1ab161=_0x1e79be['slide'])==null?_0x1e79be[_0x334d4d(0x13d)]:_0x1ab161;if(!_0x2ae009)return null;let _0x531372=typeof _0x2ae009[_0x334d4d(0x172)]==_0x334d4d(0x27c)?_0x2ae009[_0x334d4d(0x172)]:_0x117463(_0x4d8b4a['decode'](_0x2ae009['originalMeta']));return{..._0x1e79be,'workbook':{},'doc':{},'slide':{..._0x2ae009,'originalMeta':_0x531372},'board':void 0x0,'pdf':void 0x0};}function nt(_0x46490c){const _0xad6577=_0x222254;let _0x134ec6=_0x46490c[_0xad6577(0x1d0)];if(!_0x134ec6)return null;let _0x2a0637=typeof _0x134ec6[_0xad6577(0x172)]=='string'?_0x134ec6[_0xad6577(0x172)]:_0x117463(_0x4d8b4a['decode'](_0x134ec6[_0xad6577(0x172)]));return{..._0x46490c,'workbook':{},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':{..._0x134ec6,'originalMeta':_0x2a0637}};}function rt(_0x16d54c){let _0x325242={};return _0x16d54c['forEach'](_0x11e7ff=>{const _0x4def20=_0x5ef7;_0x325242[_0x11e7ff['id']]={..._0x11e7ff,'data':_0x117463(_0x4d8b4a[_0x4def20(0x25c)](_0x11e7ff[_0x4def20(0x128)]))};}),_0x325242;}async function it(_0x97b738){const _0x3577e5=_0x222254;var _0x1df6bc;let _0xf5349e={'metadata':void 0x0},_0x4375c6=_0x97b738['id'],{snapshot:_0x14290a}=await _0x3600cc(_0xf5349e,_0x97b738,_0x4375c6,(_0x1df6bc=_0x97b738[_0x3577e5(0x1ef)])==null?0x0:_0x1df6bc,new G()),_0x2dccfa=et(_0x14290a);if(!_0x2dccfa)throw Error(_0x3577e5(0x1af));return{'snapshot':_0x2dccfa,'sheetBlocks':{}};}async function at(_0x77db18){const _0x33ed1f=_0x222254;var _0x58cae1;let _0x47b6d2=_0x77db18['id'],_0x1b442d=(_0x58cae1=_0x77db18[_0x33ed1f(0x1ef)])==null?0x0:_0x58cae1,_0x3e4f09=new G(),{snapshot:_0x549c11}=await _0x1b47d4(_0x77db18[_0x33ed1f(0x24c)],_0x77db18,_0x47b6d2,_0x1b442d,_0x3e4f09),_0x2358b4=tt(_0x549c11);if(!_0x2358b4)throw Error(_0x33ed1f(0x1af));return{'snapshot':_0x2358b4,'sheetBlocks':{}};}async function ot(_0x37b6f8){const _0x11e373=_0x222254;var _0x260a1f;let _0x51ebcd=new G(),{snapshot:_0x567980}=await _0x554ea5(_0x37b6f8,_0x37b6f8['id'],(_0x260a1f=_0x37b6f8[_0x11e373(0x1ef)])==null?0x0:_0x260a1f,_0x51ebcd),_0xc89fa0=nt(_0x567980);if(!_0xc89fa0)throw Error(_0x11e373(0x24b));return{'snapshot':_0xc89fa0,'sheetBlocks':{}};}function st(_0x3eb319){const _0x48cc40=_0x222254;let _0x14a990=_0x3eb319[_0x48cc40(0x256)];return _0x1903a0(_0x14a990);}function ct(_0x16ae57){let _0x55cca5=_0x16ae57['snapshot'];return _0x5f4b94(_0x55cca5);}function lt(_0x9b77ca){return _0x52625d(_0x9b77ca['snapshot']);}var G=class{constructor(){const _0xb42ee6=_0x222254;j(this,_0xb42ee6(0x21b),new Map());}[_0x222254(0x1ed)](){const _0x37fa4e=_0x222254;return Promise[_0x37fa4e(0x224)]({'snapshot':{'unitID':'','type':_0x151766[_0x37fa4e(0x274)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x220)](_0x31de5c,_0x572433){const _0x29a727=_0x222254;let _0x17cdf5=this['_sheetBlockCache'][_0x29a727(0x197)](_0x572433[_0x29a727(0x26b)]);return Promise[_0x29a727(0x224)]({'block':_0x17cdf5,'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x1bb)](_0x3f5798,_0x1c85cc){const _0x46aa2d=_0x222254;let _0x41192c=this[_0x46aa2d(0x21b)][_0x46aa2d(0x197)](_0x1c85cc[_0x46aa2d(0x26b)]);return Promise['resolve']({'block':_0x41192c===void 0x0?void 0x0:{..._0x41192c,'data':JSON[_0x46aa2d(0x1e1)](_0x4d8b4a[_0x46aa2d(0x25c)](_0x41192c['data']))},'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x179)](){const _0x479a1e=_0x222254;return Promise[_0x479a1e(0x224)]({'changesets':[],'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x1aa)](){const _0x10eea2=_0x222254;return Promise[_0x10eea2(0x224)]({'resources':{},'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x21d)](){return Promise['resolve']({'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x130)](){const _0x1e9cda=_0x222254;return Promise[_0x1e9cda(0x224)]({'error':{'code':_0x1889ed['OK'],'message':''}});}[_0x222254(0x1dc)](_0x35510b,_0x332193){const _0x44df2e=_0x222254;let {block:_0x5d7483}=_0x332193;return _0x5d7483?(this[_0x44df2e(0x21b)][_0x44df2e(0x168)](_0x5d7483['id'],_0x5d7483),Promise[_0x44df2e(0x224)]({'error':{'code':_0x1889ed['OK'],'message':''},'blockID':_0x5d7483['id']})):Promise[_0x44df2e(0x224)]({'error':{'code':_0x1889ed[_0x44df2e(0x231)],'message':_0x44df2e(0x12f)},'blockID':''});}[_0x222254(0x153)](){return Promise['resolve']({'error':{'code':_0x1889ed['OK'],'message':''},'concurrent':[]});}[_0x222254(0x25f)](){const _0x4940be=_0x222254;return Promise[_0x4940be(0x224)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x428f93=_0x222254;return Promise[_0x428f93(0x224)]({'error':void 0x0,'latestReqID':0x0});}};const K=_0x18097c(_0x222254(0x16b));let q=class extends _0x5b5c70{constructor(_0x4bb122,_0x54f6a7,_0xf75546){const _0x103669=_0x222254;super(),this[_0x103669(0x1c8)]=_0x4bb122,this[_0x103669(0x14d)]=_0x54f6a7,this[_0x103669(0x25d)]=_0xf75546,j(this,_0x103669(0x246),null),j(this,'_requestState$',new _0x34e63b()),j(this,_0x103669(0x210),this['_requestState$']['asObservable']());}[_0x222254(0x1f4)](){const _0x3bb15b=_0x222254;super['dispose'](),this[_0x3bb15b(0x191)][_0x3bb15b(0x263)]();}[_0x222254(0x132)](_0x300217,_0x2d43aa,_0x5878b9){const _0x22ddd8=_0x222254;let _0x2f848a=URL[_0x22ddd8(0x1db)](_0x300217);Ge(_0x2f848a,_0x2d43aa,_0x5878b9),URL[_0x22ddd8(0x17a)](_0x2f848a);}async[_0x222254(0x198)](_0x1057d4){const _0x36a0f8=_0x222254;let _0x10c1a6=_0x1057d4['snapshot'],_0x1e80a4=_0x1057d4['sheetBlocks']||{};return _0x401a94(_0x10c1a6,Object[_0x36a0f8(0x156)](_0x1e80a4)[_0x36a0f8(0x196)](_0x44aefa=>_0x1e80a4[_0x44aefa])[_0x36a0f8(0x196)](_0x1fed52=>({..._0x1fed52,'data':_0x1fed52[_0x36a0f8(0x128)]?JSON['parse'](_0x3ca26b(_0x1fed52['data'])):void 0x0})));}async[_0x222254(0x1df)](_0xa4ac){const _0x11acee=_0x222254;var _0x248752;let _0x19d398={'metadata':void 0x0},_0x1e3c44=_0xa4ac['id'],_0x25bf1a=(_0x248752=_0xa4ac[_0x11acee(0x1ef)])==null?0x0:_0x248752,_0x4bcecf=new G(),{snapshot:_0x191db6}=await _0xc55962(_0x19d398,_0xa4ac,_0x1e3c44,_0x25bf1a,_0x4bcecf),_0x3d54b8=await _0x5ca6b(_0x191db6,_0x4bcecf),_0x29f473=$e(_0x191db6);if(!_0x29f473)throw Error(_0x11acee(0x1af));return{'snapshot':_0x29f473,'sheetBlocks':rt(_0x3d54b8)};}async[_0x222254(0x219)](_0x30a075){const _0x28e9ef=_0x222254;let _0x9b4632=await this[_0x28e9ef(0x1cb)](_0x30a075,_0x151766[_0x28e9ef(0x22d)]);if(!_0x9b4632||!_0x9b4632[_0x28e9ef(0x256)])return;let _0x29175c=st(_0x9b4632);if(_0x29175c)return _0x29175c;}async[_0x222254(0x12b)](_0xb5b669){const _0x2365a2=_0x222254;return this[_0x2365a2(0x1f8)](_0xb5b669,0x1,_0x151766[_0x2365a2(0x22d)]);}async[_0x222254(0x253)](_0x389e7a){const _0x12b521=_0x222254;let _0x2efb7e=await it(_0x389e7a);return this[_0x12b521(0x134)](_0x2efb7e,_0x151766[_0x12b521(0x22d)]);}async['importPPTXToSnapshot'](_0x2a491f){const _0x1a97f9=_0x222254;let _0x3b51f6=await this[_0x1a97f9(0x1cb)](_0x2a491f,_0x151766[_0x1a97f9(0x1a3)]);if(!(!_0x3b51f6||!_0x3b51f6['snapshot']))return ct(_0x3b51f6);}async[_0x222254(0x170)](_0x4fce55){const _0x30e53a=_0x222254;return this[_0x30e53a(0x1f8)](_0x4fce55,0x1,_0x151766['UNIVER_SLIDE']);}async[_0x222254(0x184)](_0x2a317b){const _0x272c88=_0x222254;let _0xed3f05=await at(_0x2a317b);return this[_0x272c88(0x134)](_0xed3f05,_0x151766[_0x272c88(0x1a3)]);}async[_0x222254(0x1bc)](_0x4d1c23){const _0x5a9004=_0x222254;let _0x57d391=await this[_0x5a9004(0x1cb)](_0x4d1c23,_0x151766[_0x5a9004(0x173)]);if(_0x57d391!=null&&_0x57d391['snapshot'])return lt(_0x57d391);}async['exportPDFByUnitId'](_0x2e71b8){const _0x3f36f9=_0x222254;return this[_0x3f36f9(0x1f8)](_0x2e71b8,0x1,_0x151766[_0x3f36f9(0x173)]);}async[_0x222254(0x1c4)](_0x895315){const _0xd8ca99=_0x222254;let _0x36504f=await ot(_0x895315);return this[_0xd8ca99(0x134)](_0x36504f,_0x151766['UNIVER_PDF']);}async[_0x222254(0x13e)](_0x36af3e){const _0xe3a72a=_0x222254;let _0x504f29=await this[_0xe3a72a(0x1cb)](_0x36af3e,_0x151766[_0xe3a72a(0x274)]);if(!_0x504f29)return;let _0x332d8d=await this[_0xe3a72a(0x198)](_0x504f29);if(_0x332d8d)return _0x332d8d;}async[_0x222254(0x150)](_0x4fd373){const _0x26a9b7=_0x222254;return this[_0x26a9b7(0x1f8)](_0x4fd373,0x1,_0x151766['UNIVER_SHEET']);}async[_0x222254(0x193)](_0x5830b5){const _0x53eeb8=_0x222254;let _0x527df6=await this['transformWorkbookDataToSnapshotJson'](_0x5830b5);return this[_0x53eeb8(0x134)](_0x527df6,_0x151766[_0x53eeb8(0x274)]);}async[_0x222254(0x1c5)](_0x5e8b69,_0x46e62d){const _0x59ccfc=_0x222254;var _0x4012d6,_0x29b499;let _0xe4824f=await this['_upload'](_0x5e8b69);if(!_0xe4824f)return;let _0x3d2235=await this['_import'](_0xe4824f,0x1,_0x46e62d);if(!_0x3d2235)return;this['_importTaskId']=_0x3d2235,this[_0x59ccfc(0x25d)][_0x59ccfc(0x232)]();let _0x14b295=await this[_0x59ccfc(0x25d)]['getTask'](_0x3d2235)[_0x59ccfc(0x12a)](_0x322b19=>{const _0x49a70b=_0x59ccfc;var _0x173dc6;let _0x18f8b6=_0x322b19 instanceof Error?_0x322b19[_0x49a70b(0x177)]:(_0x173dc6=_0x322b19[_0x49a70b(0x22f)])==null?void 0x0:_0x173dc6[_0x49a70b(0x177)];this[_0x49a70b(0x191)]['next']({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x18f8b6||''},'state':0x3});});if(!_0x14b295)return;let _0x4e3a56=(_0x4012d6=_0x14b295[_0x59ccfc(0x127)])==null?void 0x0:_0x4012d6['outputType'],_0x76fb2c=((_0x29b499=_0x14b295[_0x59ccfc(0x127)])==null?void 0x0:_0x29b499['unitID'])||'';if(_0x4e3a56!==0x1){this[_0x59ccfc(0x191)][_0x59ccfc(0x138)]({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x59ccfc(0x1c0)},'state':0x3});return;}if(_0x76fb2c[_0x59ccfc(0x194)]===0x0){this[_0x59ccfc(0x191)]['next']({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x59ccfc(0x208)},'state':0x3});return;}return this[_0x59ccfc(0x191)]['next']({'error':_0x14b295[_0x59ccfc(0x22f)],'state':0x3}),_0x76fb2c;}async[_0x222254(0x1cb)](_0xd008d,_0x4430c6){const _0x21d09b=_0x222254;return this[_0x21d09b(0x1e3)](_0xd008d,_0x4430c6);}async[_0x222254(0x1cc)](_0x20c22f){const _0x3524b1=_0x222254;let _0x3606c6=await this['transformWorkbookDataToSnapshotJson'](_0x20c22f),_0x17460c=typeof _0x20c22f['id']==_0x3524b1(0x27c)&&_0x20c22f['id'][_0x3524b1(0x163)]()?_0x20c22f['id'][_0x3524b1(0x163)]()+_0x3524b1(0x24a):_0x3524b1(0x250),_0x2018c1=new File([JSON['stringify'](_0x3606c6)],_0x17460c,{'type':_0x3524b1(0x1f7)});return this['importFileToUnitId'](_0x2018c1,_0x151766['UNIVER_SHEET']);}[_0x222254(0x137)](){const _0x49356b=_0x222254;this['_importTaskId']&&this[_0x49356b(0x25d)][_0x49356b(0x16f)](this[_0x49356b(0x246)]);}async[_0x222254(0x1e3)](_0x5ba3bc,_0x37a43b){const _0x7217e7=_0x222254;var _0x58a5df,_0x6daf41;let _0x47f81e=await this[_0x7217e7(0x247)](_0x5ba3bc);if(!_0x47f81e)return;let _0x550c6e=await this['_import'](_0x47f81e,0x2,_0x37a43b);if(!_0x550c6e)return;this[_0x7217e7(0x246)]=_0x550c6e,this['_requestService']['clearTaskInterrupted']();let _0x75f19f=await this[_0x7217e7(0x25d)][_0x7217e7(0x204)](_0x550c6e)['catch'](_0x7fb70b=>{const _0x4a7d4f=_0x7217e7;var _0x58669e;let _0x1910e1=_0x7fb70b instanceof Error?_0x7fb70b[_0x4a7d4f(0x177)]:(_0x58669e=_0x7fb70b['error'])==null?void 0x0:_0x58669e[_0x4a7d4f(0x177)];this[_0x4a7d4f(0x191)][_0x4a7d4f(0x138)]({'error':{'code':_0x1889ed[_0x4a7d4f(0x195)],'message':_0x1910e1||''},'state':0x3});});if(!_0x75f19f)return;let _0x1e2f5c=(_0x58a5df=_0x75f19f[_0x7217e7(0x127)])==null?void 0x0:_0x58a5df[_0x7217e7(0x26c)],_0x4c185c=((_0x6daf41=_0x75f19f['import'])==null?void 0x0:_0x6daf41['jsonID'])||'';if(_0x1e2f5c!==0x2){this[_0x7217e7(0x191)]['next']({'error':{'code':_0x1889ed[_0x7217e7(0x195)],'message':_0x7217e7(0x1c0)},'state':0x3});return;}if(_0x4c185c[_0x7217e7(0x194)]===0x0){this['_requestState$']['next']({'error':{'code':_0x1889ed[_0x7217e7(0x195)],'message':_0x7217e7(0x1c3)},'state':0x3});return;}this[_0x7217e7(0x191)]['next']({'error':_0x75f19f['error'],'state':0x3});let _0x2eea82=await this[_0x7217e7(0x12e)](_0x4c185c);if(!_0x2eea82)return;let _0x1e877e=await this[_0x7217e7(0x25d)][_0x7217e7(0x1b4)](_0x2eea82);if(!_0x1e877e){this[_0x7217e7(0x191)]['next']({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x1309e3=JSON[_0x7217e7(0x1e1)](_0x1e877e);return this[_0x7217e7(0x191)][_0x7217e7(0x138)]({'error':{'code':_0x1889ed['OK'],'message':'success'},'state':0x5}),_0x1309e3;}catch{this[_0x7217e7(0x191)][_0x7217e7(0x138)]({'error':{'code':_0x1889ed[_0x7217e7(0x195)],'message':_0x7217e7(0x241)},'state':0x5});}}async[_0x222254(0x134)](_0xae05a8,_0x1a1683){const _0x5ba9c7=_0x222254;let _0x4cf7db=JSON[_0x5ba9c7(0x1c7)](_0xae05a8),_0x1de25d=_0x53514b[_0x5ba9c7(0x23d)](_0x4cf7db),_0x3f6064=_0xcd5c59(_0x1de25d),_0x56ef2b=_0x1de25d['length'],_0x4585a7=Xe(_0x3f6064),_0xedbd4e=await this[_0x5ba9c7(0x247)](_0x4585a7,_0x56ef2b,!0x0);if(_0xedbd4e)return this[_0x5ba9c7(0x1f8)](_0xedbd4e,0x2,_0x1a1683);}async[_0x222254(0x1f8)](_0x1d3f5b,_0x5f816d,_0x285656){const _0x599207=_0x222254;var _0x52a01c;let _0x545a63=await this[_0x599207(0x25d)][_0x599207(0x1c1)]({'unitID':_0x5f816d===0x1?_0x1d3f5b:'','jsonID':_0x5f816d===0x2?_0x1d3f5b:'','type':_0x285656,'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x599207(0x1de)]()});if(!_0x545a63){this[_0x599207(0x191)][_0x599207(0x138)]({'error':{'code':_0x1889ed[_0x599207(0x195)],'message':_0x599207(0x271)},'state':0x2});return;}if(this[_0x599207(0x191)]['next']({'error':_0x545a63[_0x599207(0x22f)],'state':0x2}),_0x545a63[_0x599207(0x22f)]&&_0x545a63[_0x599207(0x22f)][_0x599207(0x1b8)]!==_0x1889ed['OK'])return;let _0x3e97fc=_0x545a63[_0x599207(0x21f)],_0x3fc1ea=await this[_0x599207(0x25d)][_0x599207(0x204)](_0x3e97fc)[_0x599207(0x12a)](_0x5220b6=>{const _0x5ab29d=_0x599207;var _0x3a1ddb;let _0x8bed71=_0x5220b6 instanceof Error?_0x5220b6[_0x5ab29d(0x177)]:(_0x3a1ddb=_0x5220b6[_0x5ab29d(0x22f)])==null?void 0x0:_0x3a1ddb['message'];this[_0x5ab29d(0x191)][_0x5ab29d(0x138)]({'error':{'code':_0x1889ed[_0x5ab29d(0x195)],'message':_0x8bed71||''},'state':0x3});});if(!_0x3fc1ea)return;let _0x2a03d6=((_0x52a01c=_0x3fc1ea[_0x599207(0x1c1)])==null?void 0x0:_0x52a01c['fileID'])||'';if(_0x2a03d6[_0x599207(0x194)]===0x0){this['_requestState$'][_0x599207(0x138)]({'error':{'code':_0x1889ed[_0x599207(0x195)],'message':_0x599207(0x243)},'state':0x3});return;}this[_0x599207(0x191)][_0x599207(0x138)]({'error':_0x3fc1ea[_0x599207(0x22f)],'state':0x3});let _0x47d0ea=await this['_signUrl'](_0x2a03d6);if(!_0x47d0ea)return;let _0x2a1abb=await V(_0x47d0ea,this[_0x599207(0x14d)]);if(!_0x2a1abb){this[_0x599207(0x191)][_0x599207(0x138)]({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x599207(0x1b0)},'state':0x6});return;}return this[_0x599207(0x191)][_0x599207(0x138)]({'error':{'code':_0x1889ed['OK'],'message':_0x599207(0x1f0)},'state':0x6}),_0x2a1abb;}async[_0x222254(0x247)](_0x522da0,_0x193c2f,_0xe478ff){const _0x478c67=_0x222254;let _0x46dfe7;try{_0x46dfe7=await this[_0x478c67(0x25d)][_0x478c67(0x27e)](_0x522da0,_0x193c2f,_0xe478ff);}catch(_0x4a7011){let _0x1b1607=_0x4a7011 instanceof Error?_0x4a7011[_0x478c67(0x177)]:String(_0x4a7011);this[_0x478c67(0x191)][_0x478c67(0x138)]({'error':{'code':_0x1889ed[_0x478c67(0x195)],'message':_0x1b1607},'state':0x0});return;}if(!_0x46dfe7||typeof _0x46dfe7[_0x478c67(0x26f)]!=_0x478c67(0x27c)){this[_0x478c67(0x191)]['next']({'error':{'code':_0x1889ed[_0x478c67(0x195)],'message':_0x478c67(0x249)},'state':0x0});return;}let _0x2a30e3=_0x46dfe7[_0x478c67(0x26f)];if(_0x2a30e3[_0x478c67(0x194)]===0x0){this[_0x478c67(0x191)][_0x478c67(0x138)]({'error':{'code':_0x1889ed[_0x478c67(0x195)],'message':_0x478c67(0x14e)},'state':0x0});return;}return this['_requestState$']['next']({'error':{'code':_0x1889ed['OK'],'message':'success'},'state':0x0}),_0x2a30e3;}async['_import'](_0x2d2b68,_0x457e11,_0x1f3e45){const _0x36c212=_0x222254;let _0x544694={'fileID':_0x2d2b68,'type':_0x1f3e45,'outputType':_0x457e11,'fileUrl':'','minSheetRowCount':this[_0x36c212(0x126)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0xd47a8e=await this[_0x36c212(0x25d)][_0x36c212(0x127)](_0x544694);if(!_0xd47a8e){this[_0x36c212(0x191)][_0x36c212(0x138)]({'error':{'code':_0x1889ed['UNRECOGNIZED'],'message':_0x36c212(0x24e)},'state':0x1});return;}if(_0xd47a8e[_0x36c212(0x22f)]&&_0xd47a8e[_0x36c212(0x22f)][_0x36c212(0x1b8)]!==_0x1889ed['OK']){this['_requestState$'][_0x36c212(0x138)]({'error':_0xd47a8e[_0x36c212(0x22f)],'state':0x1});return;}let _0x46eb41=_0xd47a8e[_0x36c212(0x21f)];if(_0x46eb41['length']===0x0){this['_requestState$'][_0x36c212(0x138)]({'error':{'code':_0x1889ed[_0x36c212(0x195)],'message':'Failed\x20to\x20get\x20taskID\x20from\x20import\x20response'},'state':0x1});return;}return this[_0x36c212(0x191)][_0x36c212(0x138)]({'error':_0xd47a8e[_0x36c212(0x22f)],'state':0x1}),_0x46eb41;}async['_signUrl'](_0x49d430){const _0x314544=_0x222254;let _0x58cb98=await this['_requestService']['signUrl'](_0x49d430);if(!_0x58cb98){this[_0x314544(0x191)][_0x314544(0x138)]({'error':{'code':_0x1889ed[_0x314544(0x195)],'message':_0x314544(0x144)},'state':0x4});return;}if(_0x58cb98[_0x314544(0x22f)]&&_0x58cb98[_0x314544(0x22f)]['code']!==_0x1889ed['OK']){this[_0x314544(0x191)][_0x314544(0x138)]({'error':_0x58cb98[_0x314544(0x22f)],'state':0x4});return;}let _0x57d284=_0xd7c7a9(_0x58cb98['url'],this[_0x314544(0x23a)]());if(_0x57d284['length']===0x0){this[_0x314544(0x191)][_0x314544(0x138)]({'error':{'code':_0x1889ed[_0x314544(0x195)],'message':_0x314544(0x144)},'state':0x4});return;}return this[_0x314544(0x191)]['next']({'error':_0x58cb98['error'],'state':0x4}),_0x57d284;}[_0x222254(0x23a)](){const _0x56c118=_0x222254;var _0x7123c6;let _0x2394bf=this['_configService'][_0x56c118(0x20a)](T);return(_0x7123c6=_0x2394bf==null?void 0x0:_0x2394bf['downloadEndpointUrl'])==null?location[_0x56c118(0x214)]:_0x7123c6;}[_0x222254(0x126)](){const _0xb5cced=_0x222254;var _0x3a6dff,_0x3c38ef;let _0x63e2d=this[_0xb5cced(0x1c8)][_0xb5cced(0x20a)](T);return(_0x3a6dff=_0x63e2d==null||(_0x3c38ef=_0x63e2d[_0xb5cced(0x165)])==null?void 0x0:_0x3c38ef[_0xb5cced(0x1a5)])==null?0x1:_0x3a6dff;}[_0x222254(0x1eb)](){const _0x45e171=_0x222254;var _0x44262f,_0x4e0d98;let _0xd5410a=this['_configService'][_0x45e171(0x20a)](T);return(_0x44262f=_0xd5410a==null||(_0x4e0d98=_0xd5410a[_0x45e171(0x165)])==null?void 0x0:_0x4e0d98[_0x45e171(0x135)])==null?0x1:_0x44262f;}['_getDisableCellImageConversion'](){const _0x1a9db6=_0x222254;var _0x5482bf,_0x25a435;let _0x39416d=this[_0x1a9db6(0x1c8)][_0x1a9db6(0x20a)](T);return(_0x5482bf=_0x39416d==null||(_0x25a435=_0x39416d[_0x1a9db6(0x165)])==null?void 0x0:_0x25a435[_0x1a9db6(0x22c)])==null||_0x5482bf;}[_0x222254(0x1de)](){const _0x23db99=_0x222254;var _0x351e51,_0x4e81f5;let _0x171604=this['_configService']['getConfig'](T);return(_0x351e51=_0x171604==null||(_0x4e81f5=_0x171604[_0x23db99(0x165)])==null?void 0x0:_0x4e81f5[_0x23db99(0x22a)])!=null&&_0x351e51;}};q=O([D(0x0,_0x55d0d4),D(0x1,_0x412acd(_0x2c82c0)),D(0x2,_0x412acd(U))],q);const ut={'done':0x0,'count':0x0},J=_0x18097c(_0x222254(0x12d));let Y=class extends _0x5b5c70{constructor(_0x58b087,_0x4e9704,_0x229fb4,_0x525982,_0x20f69a,_0x373528,_0x4ac9dd){const _0x4a19d9=_0x222254;super(),this[_0x4a19d9(0x1d6)]=_0x58b087,this[_0x4a19d9(0x1f2)]=_0x4e9704,this[_0x4a19d9(0x1ec)]=_0x229fb4,this[_0x4a19d9(0x20d)]=_0x525982,this[_0x4a19d9(0x1d8)]=_0x20f69a,this[_0x4a19d9(0x1b7)]=_0x373528,this['_resourceLoaderService']=_0x4ac9dd,j(this,_0x4a19d9(0x14b),new _0x213ee6(ut)),j(this,_0x4a19d9(0x236),this[_0x4a19d9(0x14b)]['asObservable']()),j(this,_0x4a19d9(0x14c),0x0),j(this,'_doneUploadTaskCount',0x0),this['disposeWithMe'](_0x1e4bdd(this['_exchangeService'][_0x4a19d9(0x210)][_0x4a19d9(0x207)](_0x2b2110=>{const _0x536c26=_0x4a19d9;var _0x12d468;((_0x12d468=_0x2b2110['error'])==null?void 0x0:_0x12d468[_0x536c26(0x1b8)])===_0x1889ed['OK']?this[_0x536c26(0x276)](0x1):this['_showNetworkError'](_0x2b2110[_0x536c26(0x22f)]);})));}[_0x222254(0x131)](){const _0x151814=_0x222254;this['_clearProgress'](),this['_uploadNotificationService'][_0x151814(0x143)](0x2),this[_0x151814(0x20d)][_0x151814(0x137)]();}async[_0x222254(0x1e6)](){const _0x50717d=_0x222254;if(this[_0x50717d(0x15b)]()){this[_0x50717d(0x1f2)][_0x50717d(0x17f)]({'type':_0x30a331[_0x50717d(0x1ab)],'content':this[_0x50717d(0x1ec)]['t'](_0x50717d(0x21a))});return;}let _0x5d5f37=await B([_0x151766['UNIVER_SHEET']]);if(_0x5d5f37&&!this[_0x50717d(0x1dd)](_0x5d5f37,_0x151766['UNIVER_SHEET']))return this['_importFileToUnitId'](_0x5d5f37[0x0],_0x151766[_0x50717d(0x274)]);}async['importXLSXToSnapshot'](){const _0x1338ad=_0x222254;if(this['_uploadTaskNotDone']()){this[_0x1338ad(0x1f2)][_0x1338ad(0x17f)]({'type':_0x30a331[_0x1338ad(0x1ab)],'content':this[_0x1338ad(0x1ec)]['t'](_0x1338ad(0x21a))});return;}let _0x4abee2=await B([_0x151766[_0x1338ad(0x274)]]);if(!_0x4abee2)return;this[_0x1338ad(0x148)](_0x30a331[_0x1338ad(0x260)]);let _0x93443b=await this[_0x1338ad(0x20d)]['importXLSXToSnapshot'](_0x4abee2[0x0]);_0x93443b&&(this[_0x1338ad(0x139)](_0x151766[_0x1338ad(0x274)],_0x93443b),this[_0x1338ad(0x148)](_0x30a331[_0x1338ad(0x1b5)]));}async[_0x222254(0x150)](_0x5f0283,_0x1fd63b){const _0x275dc9=_0x222254;this[_0x275dc9(0x201)](_0x30a331['Info']);let _0xab0d3f=await this[_0x275dc9(0x20d)]['exportXLSXByUnitId'](_0x5f0283||this[_0x275dc9(0x23b)](_0x151766['UNIVER_SHEET']));_0xab0d3f&&(this['_exchangeService']['downloadFile'](_0xab0d3f,_0x1fd63b||this[_0x275dc9(0x1c6)](_0xab0d3f,_0x151766['UNIVER_SHEET']),_0x275dc9(0x1f1)),this[_0x275dc9(0x201)](_0x30a331[_0x275dc9(0x1b5)]));}async[_0x222254(0x193)](){const _0x59fdd4=_0x222254;this[_0x59fdd4(0x201)](_0x30a331[_0x59fdd4(0x260)]);let _0x241d79=await this[_0x59fdd4(0x277)](_0x151766['UNIVER_SHEET']),_0x561e99=await this['_exchangeService']['exportXLSXBySnapshot'](_0x241d79);_0x561e99&&(this[_0x59fdd4(0x20d)][_0x59fdd4(0x132)](_0x561e99,this['_getUnitNameByType'](_0x561e99,_0x151766[_0x59fdd4(0x274)]),_0x59fdd4(0x1f1)),this['_showDownloadMessage'](_0x30a331['Success']));}async[_0x222254(0x1c2)](){const _0xbc4d0d=_0x222254;if(this[_0xbc4d0d(0x15b)]()){this[_0xbc4d0d(0x1f2)]['show']({'type':_0x30a331[_0xbc4d0d(0x1ab)],'content':this[_0xbc4d0d(0x1ec)]['t']('exchange-client.uploading')});return;}let _0x3cf0d1=await B([_0x151766[_0xbc4d0d(0x22d)]]);if(_0x3cf0d1&&!this[_0xbc4d0d(0x1dd)](_0x3cf0d1,_0x151766['UNIVER_DOC']))return this[_0xbc4d0d(0x252)](_0x3cf0d1[0x0],_0x151766[_0xbc4d0d(0x22d)]);}async[_0x222254(0x219)](){const _0x538664=_0x222254;if(this[_0x538664(0x15b)]()){this[_0x538664(0x1f2)][_0x538664(0x17f)]({'type':_0x30a331[_0x538664(0x1ab)],'content':this[_0x538664(0x1ec)]['t'](_0x538664(0x21a))});return;}let _0x167b3e=await B([_0x151766['UNIVER_DOC']]);if(!_0x167b3e||this['_fileTypeError'](_0x167b3e,_0x151766[_0x538664(0x22d)]))return;this[_0x538664(0x148)](_0x30a331['Info']);let _0x425497=await this[_0x538664(0x20d)]['importDOCXToSnapshot'](_0x167b3e[0x0]);_0x425497&&(this[_0x538664(0x139)](_0x151766[_0x538664(0x22d)],_0x425497),this[_0x538664(0x148)](_0x30a331[_0x538664(0x1b5)]));}async[_0x222254(0x12b)](_0x286cbf,_0x740a57){const _0x2f8697=_0x222254;this[_0x2f8697(0x201)](_0x30a331[_0x2f8697(0x260)]);let _0x308ed2=await this['_exchangeService'][_0x2f8697(0x12b)](_0x286cbf||this[_0x2f8697(0x23b)](_0x151766[_0x2f8697(0x22d)]));_0x308ed2&&(this[_0x2f8697(0x20d)]['downloadFile'](_0x308ed2,_0x740a57||this['_getUnitNameByType'](_0x308ed2,_0x151766[_0x2f8697(0x22d)]),_0x2f8697(0x158)),this[_0x2f8697(0x201)](_0x30a331[_0x2f8697(0x1b5)]));}async[_0x222254(0x253)](_0x3294d2){const _0x26d599=_0x222254;this[_0x26d599(0x201)](_0x30a331['Info']);let _0x4b1f84=_0x3294d2==null?await this[_0x26d599(0x277)](_0x151766[_0x26d599(0x22d)]):_0x3294d2,_0x3fc33d=await this[_0x26d599(0x20d)]['exportDOCXBySnapshot'](_0x4b1f84);_0x3fc33d&&(this[_0x26d599(0x20d)]['downloadFile'](_0x3fc33d,this[_0x26d599(0x1c6)](_0x3fc33d,_0x151766['UNIVER_DOC']),'docx'),this[_0x26d599(0x201)](_0x30a331[_0x26d599(0x1b5)]));}async[_0x222254(0x20c)](){const _0x53ef19=_0x222254;if(this[_0x53ef19(0x15b)]()){this['_messageService'][_0x53ef19(0x17f)]({'type':_0x30a331['Warning'],'content':this[_0x53ef19(0x1ec)]['t'](_0x53ef19(0x21a))});return;}let _0x35e5e7=await B([_0x151766[_0x53ef19(0x1a3)]]);if(_0x35e5e7&&!this[_0x53ef19(0x1dd)](_0x35e5e7,_0x151766[_0x53ef19(0x1a3)]))return this[_0x53ef19(0x252)](_0x35e5e7[0x0],_0x151766['UNIVER_SLIDE']);}async[_0x222254(0x18c)](){const _0x2408e4=_0x222254;if(this[_0x2408e4(0x15b)]()){this[_0x2408e4(0x1f2)][_0x2408e4(0x17f)]({'type':_0x30a331[_0x2408e4(0x1ab)],'content':this[_0x2408e4(0x1ec)]['t']('exchange-client.uploading')});return;}let _0x513e67=await B([_0x151766['UNIVER_PDF']]);if(!(!_0x513e67||this[_0x2408e4(0x1dd)](_0x513e67,_0x151766[_0x2408e4(0x173)])))return this[_0x2408e4(0x252)](_0x513e67[0x0],_0x151766[_0x2408e4(0x173)]);}async['importPDFToSnapshot'](){const _0x192eb2=_0x222254;if(this['_uploadTaskNotDone']()){this[_0x192eb2(0x1f2)][_0x192eb2(0x17f)]({'type':_0x30a331[_0x192eb2(0x1ab)],'content':this['_localeService']['t'](_0x192eb2(0x21a))});return;}let _0x4d84d3=await B([_0x151766[_0x192eb2(0x173)]]);if(!_0x4d84d3||this[_0x192eb2(0x1dd)](_0x4d84d3,_0x151766[_0x192eb2(0x173)]))return;this[_0x192eb2(0x148)](_0x30a331[_0x192eb2(0x260)]);let _0x34489f=await this[_0x192eb2(0x20d)][_0x192eb2(0x1bc)](_0x4d84d3[0x0]);if(_0x34489f)return this['_showUploadMessage'](_0x30a331[_0x192eb2(0x1b5)]),_0x34489f;}async[_0x222254(0x1fa)](_0x367a8c,_0x2b8f00,_0x3fafe7){const _0x53d47c=_0x222254;this[_0x53d47c(0x201)](_0x30a331['Info']);let _0x1b9b17=await this['_exchangeService'][_0x53d47c(0x1fa)](_0x367a8c||this[_0x53d47c(0x23b)](_0x151766[_0x53d47c(0x173)]));_0x1b9b17&&(this['_exchangeService'][_0x53d47c(0x132)](_0x1b9b17,_0x2b8f00||this['_getUnitNameByType'](_0x1b9b17,_0x3fafe7==null?_0x151766['UNIVER_PDF']:_0x3fafe7),_0x53d47c(0x1d0)),this[_0x53d47c(0x201)](_0x30a331['Success']));}async[_0x222254(0x1c4)](){const _0x2e3153=_0x222254;this['_showDownloadMessage'](_0x30a331['Info']);let _0x295c0a=await this[_0x2e3153(0x277)](_0x151766[_0x2e3153(0x173)]),_0x1cb4a7=await this[_0x2e3153(0x20d)][_0x2e3153(0x1c4)](_0x295c0a);_0x1cb4a7&&(this[_0x2e3153(0x20d)][_0x2e3153(0x132)](_0x1cb4a7,this['_getUnitNameByType'](_0x1cb4a7,_0x151766[_0x2e3153(0x173)]),_0x2e3153(0x1d0)),this[_0x2e3153(0x201)](_0x30a331['Success']));}async[_0x222254(0x1ce)](){const _0x3739fa=_0x222254;if(this[_0x3739fa(0x15b)]()){this[_0x3739fa(0x1f2)]['show']({'type':_0x30a331[_0x3739fa(0x1ab)],'content':this[_0x3739fa(0x1ec)]['t'](_0x3739fa(0x21a))});return;}let _0x42701a=await B([_0x151766[_0x3739fa(0x1a3)]]);if(!_0x42701a)return;this[_0x3739fa(0x148)](_0x30a331[_0x3739fa(0x260)]);let _0x2ca0a0=await this[_0x3739fa(0x20d)][_0x3739fa(0x1ce)](_0x42701a[0x0]);_0x2ca0a0&&(this[_0x3739fa(0x139)](_0x151766['UNIVER_SLIDE'],_0x2ca0a0),this[_0x3739fa(0x148)](_0x30a331[_0x3739fa(0x1b5)]));}async[_0x222254(0x170)](_0xf93437,_0xb0c706){const _0x4e8af4=_0x222254;this['_showDownloadMessage'](_0x30a331['Info']);let _0x2eb82b=await this[_0x4e8af4(0x20d)][_0x4e8af4(0x170)](_0xf93437||this[_0x4e8af4(0x23b)](_0x151766[_0x4e8af4(0x1a3)]));_0x2eb82b&&(this['_exchangeService'][_0x4e8af4(0x132)](_0x2eb82b,_0xb0c706||this['_getUnitNameByType'](_0x2eb82b,_0x151766['UNIVER_SLIDE']),_0x4e8af4(0x19b)),this[_0x4e8af4(0x201)](_0x30a331[_0x4e8af4(0x1b5)]));}async['exportPPTXBySnapshot'](){const _0x4d85c0=_0x222254;this[_0x4d85c0(0x201)](_0x30a331[_0x4d85c0(0x260)]);let _0x3d0b49=await this[_0x4d85c0(0x277)](_0x151766[_0x4d85c0(0x1a3)]),_0x23e893=await this[_0x4d85c0(0x20d)][_0x4d85c0(0x184)](_0x3d0b49);_0x23e893&&(this[_0x4d85c0(0x20d)][_0x4d85c0(0x132)](_0x23e893,this[_0x4d85c0(0x1c6)](_0x23e893,_0x151766[_0x4d85c0(0x1a3)]),_0x4d85c0(0x19b)),this[_0x4d85c0(0x201)](_0x30a331[_0x4d85c0(0x1b5)]));}async[_0x222254(0x17b)](_0x48d7a1){const _0x58e1b5=_0x222254;throw Error(_0x58e1b5(0x13c));}async[_0x222254(0x20e)](){const _0x3934ec=_0x222254;let _0x407e97=this[_0x3934ec(0x1d6)][_0x3934ec(0x20f)]();switch(_0x407e97?this[_0x3934ec(0x1d6)][_0x3934ec(0x202)](_0x407e97[_0x3934ec(0x181)]()):_0x151766['UNRECOGNIZED']){case _0x151766[_0x3934ec(0x173)]:return this['importPDFToUnitId']();case _0x151766['UNIVER_SLIDE']:return this['importPPTXToUnitId']();case _0x151766['UNIVER_DOC']:return this[_0x3934ec(0x1c2)]();case _0x151766['UNIVER_SHEET']:default:return this[_0x3934ec(0x1e6)]();}}[_0x222254(0x27f)](_0x3895c2){const _0x4f1a25=_0x222254;this[_0x4f1a25(0x1f9)]=_0x3895c2;}async['_importFileToUnitId'](_0x3bd246,_0x2f1d06){const _0x3ee26f=_0x222254;this['_uploadNotificationService'][_0x3ee26f(0x17f)](),this['_uploadNotificationService'][_0x3ee26f(0x143)](0x0),this[_0x3ee26f(0x16c)](0x4),this[_0x3ee26f(0x276)](0x1);let _0x2887bb=await this[_0x3ee26f(0x20d)][_0x3ee26f(0x1c5)](_0x3bd246,_0x2f1d06);if(!_0x2887bb){this[_0x3ee26f(0x228)](),this[_0x3ee26f(0x1d8)][_0x3ee26f(0x143)](0x2);return;}let _0x52da1f={'link':this[_0x3ee26f(0x1f9)](_0x2887bb,_0x2f1d06),'name':_0x3bd246[_0x3ee26f(0x1b2)],'type':_0x2f1d06};return this['_uploadNotificationService'][_0x3ee26f(0x240)](_0x52da1f),this[_0x3ee26f(0x1d1)](),this['_uploadNotificationService'][_0x3ee26f(0x143)](0x1),_0x2887bb;}['_getUnitID'](_0x3e5555){const _0xbe8cd8=_0x222254;let _0x258f1f=this[_0xbe8cd8(0x1d6)]['getCurrentUnitOfType'](_0x3e5555);if(!_0x258f1f)throw Error(_0xbe8cd8(0x1cd)+_0x3e5555+_0xbe8cd8(0x14f));return _0x258f1f['getUnitId']();}[_0x222254(0x1c6)](_0x214d44,_0x141b6a){const _0x387278=_0x222254;let _0x27db7f=this[_0x387278(0x1d6)]['getCurrentUnitOfType'](_0x141b6a);if(_0x27db7f){let _0x4de9b1='';switch(_0x141b6a){case _0x151766[_0x387278(0x274)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()['name'];break;case _0x151766[_0x387278(0x22d)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()[_0x387278(0x272)];break;case _0x151766[_0x387278(0x1a3)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()[_0x387278(0x1b2)];break;case _0x151766[_0x387278(0x173)]:_0x4de9b1=_0x27db7f[_0x387278(0x254)]()['name'];break;default:break;}if(typeof _0x4de9b1==_0x387278(0x27c)&&_0x4de9b1[_0x387278(0x163)]())return _0x4de9b1;}return _0x214d44[_0x387278(0x1b2)][_0x387278(0x218)]('.')[_0x387278(0x217)]()||document[_0x387278(0x272)];}async[_0x222254(0x277)](_0x56b7ec){const _0x5340e8=_0x222254;let _0x1883de=this[_0x5340e8(0x1d6)]['getCurrentUnitOfType'](_0x56b7ec);if(!_0x1883de)throw Error(_0x5340e8(0x1cd)+_0x56b7ec+_0x5340e8(0x14f));if(_0x56b7ec===_0x151766[_0x5340e8(0x274)]){let _0x5df617=this[_0x5340e8(0x13a)][_0x5340e8(0x188)](_0x1883de[_0x5340e8(0x181)]());return _0x5df617==null?_0x1883de[_0x5340e8(0x254)]():_0x5df617;}if(_0x56b7ec===_0x151766['UNIVER_DOC']){let _0x21b928=this[_0x5340e8(0x13a)][_0x5340e8(0x188)](_0x1883de[_0x5340e8(0x181)]());return _0x21b928==null?_0x1883de['getSnapshot']():_0x21b928;}if(_0x56b7ec===_0x151766['UNIVER_SLIDE']){let _0xe05c0f=this[_0x5340e8(0x13a)]['saveUnit'](_0x1883de[_0x5340e8(0x181)]());return _0xe05c0f==null?_0x1883de[_0x5340e8(0x254)]():_0xe05c0f;}return _0x56b7ec===_0x151766[_0x5340e8(0x173)]?_0x1883de[_0x5340e8(0x254)]():null;}[_0x222254(0x139)](...[_0x41604c,_0x1907e4]){const _0x4b7ac0=_0x222254;let _0x2d1594=this[_0x4b7ac0(0x1d6)][_0x4b7ac0(0x229)](_0x41604c);if(!_0x2d1594)throw Error(_0x4b7ac0(0x1cd)+_0x41604c+_0x4b7ac0(0x14f));switch(this[_0x4b7ac0(0x1d6)]['disposeUnit'](_0x2d1594['getUnitId']()),_0x41604c){case _0x151766[_0x4b7ac0(0x274)]:this[_0x4b7ac0(0x1d6)]['createUnit'](_0x41604c,_0x1907e4);break;case _0x151766['UNIVER_DOC']:this[_0x4b7ac0(0x1d6)]['createUnit'](_0x41604c,_0x1907e4);break;case _0x151766['UNIVER_SLIDE']:this[_0x4b7ac0(0x1d6)][_0x4b7ac0(0x278)](_0x41604c,_0x1907e4);break;}}[_0x222254(0x1f9)](_0xb65d72,_0x513617){const _0x56c31c=_0x222254;let _0x5931ca=new URL(window[_0x56c31c(0x26a)][_0x56c31c(0x268)]);return _0x5931ca[_0x56c31c(0x1ad)]['set']('unit',_0xb65d72),_0x5931ca[_0x56c31c(0x1ad)][_0x56c31c(0x168)]('type',''+_0x513617),_0x5931ca[_0x56c31c(0x242)]();}[_0x222254(0x22b)](_0x50efb4){const _0x14b52c=_0x222254;if(_0x50efb4){let {code:_0x29e060}=_0x50efb4;switch(_0x29e060){case _0x1889ed[_0x14b52c(0x1f6)]:this[_0x14b52c(0x1f2)][_0x14b52c(0x17f)]({'type':_0x30a331[_0x14b52c(0x205)],'content':this[_0x14b52c(0x1ec)]['t'](_0x14b52c(0x190))});break;case _0x1889ed[_0x14b52c(0x251)]:this[_0x14b52c(0x1f2)]['show']({'type':_0x30a331['Error'],'content':this[_0x14b52c(0x1ec)]['t'](_0x14b52c(0x264))});break;default:this[_0x14b52c(0x1f2)]['show']({'type':_0x30a331[_0x14b52c(0x205)],'content':this[_0x14b52c(0x1ec)]['t']('exchange-client.networkError')});break;}return null;}return this[_0x14b52c(0x1f2)][_0x14b52c(0x17f)]({'type':_0x30a331['Error'],'content':this[_0x14b52c(0x1ec)]['t'](_0x14b52c(0x162))}),null;}[_0x222254(0x201)](_0x510c3e){const _0x3950c6=_0x222254;let _0x4f3933='';switch(_0x510c3e){case _0x30a331[_0x3950c6(0x1b5)]:_0x4f3933=this[_0x3950c6(0x1ec)]['t'](_0x3950c6(0x160));break;case _0x30a331[_0x3950c6(0x260)]:_0x4f3933=this[_0x3950c6(0x1ec)]['t']('exchange-client.downloading');break;default:break;}this[_0x3950c6(0x1f2)][_0x3950c6(0x17f)]({'type':_0x510c3e,'content':_0x4f3933});}[_0x222254(0x148)](_0x2d54c2){const _0x57d9bd=_0x222254;let _0x140b98='';switch(_0x2d54c2){case _0x30a331[_0x57d9bd(0x1b5)]:_0x140b98=this[_0x57d9bd(0x1ec)]['t']('exchange-client.uploadSuccess');break;case _0x30a331[_0x57d9bd(0x260)]:_0x140b98=this[_0x57d9bd(0x1ec)]['t'](_0x57d9bd(0x21a));break;default:break;}this[_0x57d9bd(0x1f2)]['show']({'type':_0x2d54c2,'content':_0x140b98});}[_0x222254(0x1e0)](){const _0xa81966=_0x222254;this['_progress$'][_0xa81966(0x138)]({'done':this[_0xa81966(0x178)],'count':this['_totalUploadTaskCount']});}[_0x222254(0x16c)](_0x5719fd){const _0x5618a4=_0x222254;this[_0x5618a4(0x14c)]+=_0x5719fd,this[_0x5618a4(0x1e0)]();}[_0x222254(0x276)](_0x3ddb4b){const _0x2dbb39=_0x222254;this[_0x2dbb39(0x178)]+=_0x3ddb4b,this['_doneUploadTaskCount']=Math[_0x2dbb39(0x14a)](this[_0x2dbb39(0x178)],this[_0x2dbb39(0x14c)]),this[_0x2dbb39(0x1e0)]();}[_0x222254(0x1d1)](){const _0x1da138=_0x222254;this[_0x1da138(0x178)]=this[_0x1da138(0x14c)],this['_emitProgress']();}[_0x222254(0x228)](){const _0x520f95=_0x222254;this['_doneUploadTaskCount']=0x0,this[_0x520f95(0x14c)]=0x0,this[_0x520f95(0x1e0)]();}[_0x222254(0x1dd)](_0x2963e7,_0x450957){const _0x41a20c=_0x222254;let _0x227160=_0x2963e7[0x0],_0xed5ef1=_0x227160['name'];return Ke(_0x227160)===_0x450957?!0x1:(this[_0x41a20c(0x1f2)][_0x41a20c(0x17f)]({'type':_0x30a331[_0x41a20c(0x205)],'content':this[_0x41a20c(0x1ec)]['t']('exchange-client.fileTypeError',_0xed5ef1)}),!0x0);}['_uploadTaskNotDone'](){const _0x436927=_0x222254;return this[_0x436927(0x14c)]!==0x0&&this[_0x436927(0x178)]!==this[_0x436927(0x14c)];}};Y=O([D(0x0,_0x412acd(_0x432a12)),D(0x1,_0x4f4a53),D(0x2,_0x412acd(_0x51b184)),D(0x3,_0x412acd(K)),D(0x4,_0x412acd(M)),D(0x5,_0x4ed4b7),D(0x6,_0x412acd(_0x56b3b9))],Y);function X(_0x1c6ea7){const _0x542ca3=_0x222254;let {onClick:_0x41ee4e,children:_0x53f49c,className:_0x10a0a2}=_0x1c6ea7;return _0x314104(_0x542ca3(0x151),{'className':_0x2c1e21(_0x542ca3(0x1d2),_0x10a0a2),'type':_0x542ca3(0x151),'onClick':_0x41ee4e,'children':_0x53f49c});}function Z(){const _0x18957e=_0x222254;let _0x3f22b2=_0x1e3628(J),_0x5578eb=_0x1e3628(_0x51b184);function _0x5e07ee(){_0x3f22b2['importFileToUnitIdByCurrentType']();}return _0x314104(X,{'onClick':_0x5e07ee,'children':_0x5578eb['t'](_0x18957e(0x154))});}function dt(){const _0x355536=_0x222254;return _0x525f8d(_0x355536(0x26d),{'className':_0x355536(0x182),'children':[_0x314104('span',{'className':_0x355536(0x17d),'children':_0x1e3628(_0x51b184)['t'](_0x355536(0x133))}),_0x314104(Z,{})]});}function ft(_0x3dd86d){const _0x2f929b=_0x222254;let {count:_0x29ceb3}=_0x3dd86d;return _0x525f8d(_0x2f929b(0x26d),{'className':_0x2f929b(0x233),'children':[_0x314104(_0x2f929b(0x269),{'className':_0x2f929b(0x230),'children':_0x1e3628(_0x51b184)['t'](_0x2f929b(0x19f),''+_0x29ceb3)}),_0x314104(Z,{})]});}function pt(){let _0x3c898b=_0x1e3628(J),_0x11ceaf=_0x1e3628(_0x51b184);function _0x198ead(){_0x3c898b['interrupt']();}return _0x314104(X,{'onClick':_0x198ead,'children':_0x11ceaf['t']('exchange-client.cancel')});}function mt(){const _0x48a009=_0x222254;let {count:_0x2623ef,done:_0x386dd1}=_0x4079b5(_0x1e3628(J)[_0x48a009(0x236)]),_0xedbc05=_0x2623ef>0x0?_0x386dd1/_0x2623ef:0x0;return _0x314104(_0x48a009(0x26d),{'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':_0x314104(_0x48a009(0x26d),{'className':_0x48a009(0x223),'style':{'width':Math[_0x48a009(0x189)](_0xedbc05*0x64)+'%'}})});}function ht(){const _0x3c3f35=_0x222254;return _0x525f8d(_0x3c3f35(0x26d),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x314104(_0x3c3f35(0x269),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x1e3628(_0x51b184)['t'](_0x3c3f35(0x1ac))}),_0x314104(_0x3c3f35(0x26d),{'className':_0x3c3f35(0x1ae),'children':_0x314104(mt,{})}),_0x314104(pt,{})]});}const gt={0x1:_0x314104(_0x5ab502,{'className':_0x222254(0x164)}),0x0:_0x314104(_0xd88cde,{'className':_0x222254(0x1d4)}),0x2:_0x314104(_0x4cd45e,{'className':'univer-text-red-500'})};function _t(){const _0x227764=_0x222254;let _0x32cb0e=_0x1e3628(M),_0x2da04f=_0x1e3628(_0x51b184),_0x5966ac=_0x4079b5(_0x32cb0e[_0x227764(0x1c9)],0x0),_0x4739b8=_0x4079b5(_0x32cb0e[_0x227764(0x157)],!0x1),_0x5078ca=_0x4079b5(_0x32cb0e[_0x227764(0x1bd)],[]);function _0x52064f(){_0x32cb0e['hide']();}function _0x260a13(_0x402b17){const _0x279884=_0x227764;switch(_0x402b17){case 0x1:return _0x2da04f['t']('exchange-client.uploadSuccess');case 0x0:return _0x2da04f['t'](_0x279884(0x21a));case 0x2:return _0x2da04f['t']('exchange-client.unknownMistake');default:return'';}}return _0x4739b8&&_0x525f8d(_0x227764(0x26d),{'className':_0x227764(0x24f),'children':[_0x525f8d(_0x227764(0x26d),{'className':_0x227764(0x136),'children':[_0x525f8d('span',{'className':_0x227764(0x212),'children':[_0x314104(_0x227764(0x269),{'className':'univer-h-6\x20univer-text-2xl','children':gt[_0x5966ac]}),_0x314104('span',{'className':_0x227764(0x275),'children':_0x260a13(_0x5966ac)})]}),_0x314104(_0x227764(0x269),{'className':_0x227764(0x152),'onClick':_0x52064f,'children':_0x314104(_0x5d7771,{})})]}),_0x525f8d('div',{'children':[_0x5966ac===0x0&&_0x314104(ht,{}),_0x5966ac===0x2&&_0x314104(dt,{}),_0x5078ca['length']>0x0&&_0x314104(Ue,{'list':_0x5078ca}),_0x5966ac===0x1&&_0x314104(ft,{'count':_0x5078ca[_0x227764(0x194)]})]})]});}function vt(){return _0x314104(_t,{});}let Q=class extends _0x5b5c70{constructor(_0x12b2f0,_0x4b01ba){const _0x2196b3=_0x222254;super(),this['_injector']=_0x12b2f0,this[_0x2196b3(0x142)]=_0x4b01ba,this['_registerUIParts']();}[_0x222254(0x15d)](){const _0x30b9cf=_0x222254;this['disposeWithMe'](this[_0x30b9cf(0x142)][_0x30b9cf(0x175)](_0x552673[_0x30b9cf(0x1ca)],()=>_0x1d0427(vt,this[_0x30b9cf(0x1b1)])));}};Q=O([D(0x0,_0x412acd(_0x328aba)),D(0x1,_0x37052e)],Q);let $=class extends _0x2a7ab1{constructor(_0x309792=E,_0x51db24,_0xd3ec60){const _0x19f586=_0x222254;super(),this[_0x19f586(0x171)]=_0x309792,this[_0x19f586(0x1b1)]=_0x51db24,this[_0x19f586(0x1c8)]=_0xd3ec60;let {..._0x1ef2f4}=_0x17799a({},E,this[_0x19f586(0x171)]);this[_0x19f586(0x1c8)][_0x19f586(0x25a)](T,_0x1ef2f4);}[_0x222254(0x1d9)](){_0x27dbb6(this['_injector'],[[k],[Q],[J,{'useClass':Y}],[K,{'useClass':q}],[U,{'useClass':W}],[M,{'useClass':He}]]);}['onReady'](){const _0x4f159e=_0x222254;_0x4959dc(this[_0x4f159e(0x1b1)],[[k],[Q],[J]]);}};j($,_0x222254(0x1e2),_0x222254(0x18f)),j($,_0x222254(0x1f3),Re),j($,'version',ze),$=O([_0x478567(_0x5101d5,_0x417308,_0x35b6ef),D(0x1,_0x412acd(_0x328aba)),D(0x2,_0x55d0d4)],$);function yt(_0x419363,_0x1ea14d){const _0x35d74c=_0x222254;let _0x2e6c8e=_0x419363[_0x35d74c(0x197)](_0x432a12)[_0x35d74c(0x229)](_0x1ea14d);return!_0x2e6c8e||!_0x419363[_0x35d74c(0x26e)](_0x1c35f5)?!0x1:_0x419363[_0x35d74c(0x197)](_0x1c35f5)[_0x35d74c(0x187)](_0x2e6c8e);}export{J as IExchangeOperateService,K as IExchangeService,$ as UniverExchangeClientPlugin,yt as isCurrentUnitLoadedFromServer};
|
|
1
|
+
const _0x67af43=_0x11c6;(function(_0x21395e,_0x469d6f){const _0x10b628=_0x11c6,_0xaf0e7=_0x21395e();while(!![]){try{const _0x140865=parseInt(_0x10b628(0x269))/0x1+-parseInt(_0x10b628(0x291))/0x2*(-parseInt(_0x10b628(0x1cd))/0x3)+-parseInt(_0x10b628(0x1f2))/0x4*(parseInt(_0x10b628(0x206))/0x5)+-parseInt(_0x10b628(0x189))/0x6+-parseInt(_0x10b628(0x162))/0x7*(parseInt(_0x10b628(0x1df))/0x8)+parseInt(_0x10b628(0x27f))/0x9+parseInt(_0x10b628(0x18e))/0xa*(-parseInt(_0x10b628(0x215))/0xb);if(_0x140865===_0x469d6f)break;else _0xaf0e7['push'](_0xaf0e7['shift']());}catch(_0x459413){_0xaf0e7['push'](_0xaf0e7['shift']());}}}(_0x3725,0xb633c));import{UniverLicensePlugin as _0x4879c3}from'@univerjs-pro/license';import{DependentOn as _0x169aab,Disposable as _0x2f4977,IConfigService as _0x360230,ILogService as _0x145bdb,IUniverInstanceService as _0x5a04e6,Inject as _0x5ac304,Injector as _0x48222c,LocaleService as _0x529199,Plugin as _0x31cf87,UniverInstanceType as _0x55e920,createIdentifier as _0x389ad7,merge as _0x444f78,registerDependencies as _0x4b5e80,resolveWithBasePath as _0xf66e2a,toDisposable as _0xd5290e,touchDependencies as _0x4c55e9}from'@univerjs/core';import{HTTPEventType as _0x34d7f3,HTTPResponseError as _0x27964e,HTTPService as _0x33297d,UniverNetworkPlugin as _0x5186fe}from'@univerjs/network';import{ClockIcon as _0x5c74c8,CloseIcon as _0x43b669,DirectExportIcon as _0x182b8d,DocsMultiIcon as _0x4d6ad0,ErrorIcon as _0x470829,ExportIcon as _0x171c7d,FolderIcon as _0x11e05d,LoadingMultiIcon as _0x5f5516,ShareRangeIcon as _0x493990,SheetsMultiIcon as _0x4aa68b,SlidesMultiIcon as _0x3aaeee,SuccessIcon as _0x548550}from'@univerjs/icons';import{BuiltInUIPart as _0x116151,ComponentManager as _0x5ab250,IMessageService as _0x1a9b3a,IUIPartsService as _0x4d8bd7,IconManager as _0xaaf83a,connectInjector as _0x539370,useDependency as _0x293a00,useObservable as _0x47df85}from'@univerjs/ui';import{Button as _0x1e8c04,MessageType as _0x4e76a4,Radio as _0x5688eb,Select as _0x310297,Tooltip as _0x54f859,clsx as _0x4eb781,scrollbarClassName as _0x295247}from'@univerjs/design';import{useRef as _0x2fc96b,useState as _0x4060a3}from'react';import{ErrorCode as _0x261329,FileSource as _0x598305}from'@univerjs/protocol';import{jsx as _0x4e3b3f,jsxs as _0x2034a5}from'react/jsx-runtime';import{BehaviorSubject as _0x3e98f7,Subject as _0x2ee755}from'rxjs';import{ISnapshotServerService as _0x909ffc,SnapshotService as _0x1cdb69,b64EncodeUnicode as _0x4c5e06,textDecoder as _0xb1d071,textEncoder as _0x2da458}from'@univerjs-pro/collaboration';import{deflateSync as _0x4de99a}from'fflate';var Pe=_0x67af43(0x226),Fe=_0x67af43(0x187);const O=_0x67af43(0x1ff),k={},A='application/vnd.openxmlformats-officedocument.wordprocessingml.document',j=_0x67af43(0x1d8),M='application/vnd.ms-excel',N='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',P='text/csv',F=_0x67af43(0x1ec),I=_0x67af43(0x19d),L=_0x67af43(0x219),R=_0x67af43(0x181),Ie={[_0x55e920[_0x67af43(0x1db)]]:[''],[_0x55e920[_0x67af43(0x285)]]:[j,A],[_0x55e920[_0x67af43(0x1a7)]]:[M,N,P,F],[_0x55e920[_0x67af43(0x1c2)]]:[I,L],[_0x55e920[_0x67af43(0x2b7)]]:[R],[_0x55e920['UNIVER_BASE']]:[M,N,P,F],[_0x55e920[_0x67af43(0x260)]]:[''],[_0x55e920[_0x67af43(0x17e)]]:[''],[_0x55e920[_0x67af43(0x24c)]]:['']},z={[j]:_0x67af43(0x267),[A]:_0x67af43(0x264),[M]:_0x67af43(0x266),[N]:_0x67af43(0x249),[P]:_0x67af43(0x1b4),[F]:_0x67af43(0x16a),[I]:'ppt',[L]:'pptx',[R]:_0x67af43(0x21e)},Le=Object['fromEntries'](Object[_0x67af43(0x27a)](Ie)[_0x67af43(0x160)](([_0x2d1b8a,_0x21e153])=>[_0x2d1b8a,_0x21e153[_0x67af43(0x160)](_0x25e5f7=>z[_0x25e5f7])['filter'](Boolean)]));function Re(_0x550616,_0x2f2827,_0x1153f2){const _0xe2060a=_0x67af43;let _0x2671b1=document[_0xe2060a(0x265)]('a');_0x2671b1[_0xe2060a(0x2a3)]=_0x550616,_0x2671b1[_0xe2060a(0x1fb)][_0xe2060a(0x1f0)]=_0xe2060a(0x167),_0x2671b1[_0xe2060a(0x20b)]=_0x2f2827+'.'+_0x1153f2,document['body'][_0xe2060a(0x2b9)](_0x2671b1),_0x2671b1[_0xe2060a(0x19c)](),document[_0xe2060a(0x1e5)][_0xe2060a(0x18c)](_0x2671b1);}function ze(_0x134f3d,_0x2b1b2b){const _0x300c67=_0x67af43;var _0x5e3d49;let _0x3d20c0=(_0x5e3d49=_0x134f3d['name'][_0x300c67(0x21a)]('.')[_0x300c67(0x277)]())==null?void 0x0:_0x5e3d49[_0x300c67(0x28b)]();return!!(_0x3d20c0&&(Le[_0x2b1b2b]??[])[_0x300c67(0x211)](_0x3d20c0));}function B(_0x2516a1,_0x1ebadc=!0x1){const _0x284fd4=_0x67af43;let _0xf3af78=_0x2516a1[_0x284fd4(0x1ba)](_0x2efa91=>Le[_0x2efa91]??[])[_0x284fd4(0x160)](_0x5e62a1=>'.'+_0x5e62a1)[_0x284fd4(0x1a2)](',');return new Promise(_0x167db1=>{const _0x8efe68=_0x284fd4;let _0xa49dc8=document[_0x8efe68(0x265)](_0x8efe68(0x212));_0xa49dc8[_0x8efe68(0x1b5)]=_0x8efe68(0x1f1),_0xa49dc8[_0x8efe68(0x1d6)]=_0xf3af78,_0xa49dc8[_0x8efe68(0x210)]=_0x1ebadc;let _0x350d2e=()=>{const _0x430f6e=_0x8efe68;var _0x77c3c;return _0x167db1((_0x77c3c=_0xa49dc8[_0x430f6e(0x220)])!=null&&_0x77c3c[_0x430f6e(0x172)]?_0xa49dc8[_0x430f6e(0x220)]:null);};_0xa49dc8[_0x8efe68(0x1c0)](_0x8efe68(0x280),_0x350d2e,{'once':!0x0}),_0xa49dc8[_0x8efe68(0x1c0)](_0x8efe68(0x19b),_0x350d2e,{'once':!0x0}),_0xa49dc8[_0x8efe68(0x19c)]();});}async function Be(_0x7c76d,_0x1ec9eb){const _0x1e782f=_0x67af43;try{return await Ve(_0x7c76d,_0x1ec9eb);}catch(_0x729453){console[_0x1e782f(0x2b5)](_0x1e782f(0x29f),_0x729453);return;}}async function Ve(_0x27df75,_0x13d098,_0x16a64d){const _0x20b5a9=_0x67af43;var _0x28a9f7,_0x5d9fcd;let _0x1918d3=_0x16a64d?await He(_0x27df75,_0x13d098,_0x16a64d):await _0x13d098[_0x20b5a9(0x218)](_0x27df75,{'responseType':_0x20b5a9(0x177)}),_0x275f71=_0x1918d3[_0x20b5a9(0x1e5)],_0x2c6398=((_0x28a9f7=_0x1918d3[_0x20b5a9(0x1e3)][_0x20b5a9(0x218)]('Content-Type'))==null?void 0x0:_0x28a9f7['join'](',\x20'))??_0x20b5a9(0x203),_0x20e736=_0x20b5a9(0x1f3)+(z[_0x2c6398]||_0x20b5a9(0x249)),_0x3611c3=(_0x5d9fcd=_0x1918d3[_0x20b5a9(0x1e3)][_0x20b5a9(0x218)]('content-disposition'))==null?void 0x0:_0x5d9fcd[_0x20b5a9(0x1a2)](',\x20');if(_0x3611c3){let _0x452e3d=_0x3611c3[_0x20b5a9(0x17f)](/filename=(.+)/);_0x452e3d&&_0x452e3d[0x1]&&(_0x20e736=_0x452e3d[0x1]);}else _0x20e736=Ue(_0x27df75)||_0x20e736;return new File([_0x275f71],_0x20e736,{'type':_0x2c6398});}function He(_0xfe7be,_0x485786,_0x36cb2d){return new Promise((_0x35f907,_0x11eb89)=>{const _0x23b737=_0x11c6;let _0x13ac02=!0x1,_0x37a196,_0x16df74=()=>_0x36cb2d[_0x23b737(0x198)](_0x23b737(0x29a),_0x2c30b0),_0x2c30b0=()=>{const _0x19683b=_0x23b737;if(_0x13ac02)return;_0x13ac02=!0x0,_0x37a196==null||_0x37a196[_0x19683b(0x1a8)](),_0x16df74();let _0x558531=Error(_0x19683b(0x22a));_0x558531['name']=_0x19683b(0x23a),_0x11eb89(_0x558531);};if(_0x36cb2d[_0x23b737(0x1c0)](_0x23b737(0x29a),_0x2c30b0,{'once':!0x0}),_0x36cb2d[_0x23b737(0x1a1)]){_0x2c30b0();return;}_0x37a196=_0x485786[_0x23b737(0x297)](_0x23b737(0x202),_0xfe7be,{'responseType':'blob'})[_0x23b737(0x18b)]({'next'(_0x26cf20){const _0x2fcaed=_0x23b737;_0x13ac02||_0x26cf20[_0x2fcaed(0x1b5)]!==_0x34d7f3[_0x2fcaed(0x16e)]||(_0x13ac02=!0x0,_0x16df74(),_0x37a196==null||_0x37a196[_0x2fcaed(0x1a8)](),_0x35f907(_0x26cf20));},'error'(_0x1347b2){_0x13ac02||(_0x13ac02=!0x0,_0x16df74(),_0x11eb89(_0x1347b2));},'complete'(){const _0xd6d9c=_0x23b737;_0x13ac02||(_0x13ac02=!0x0,_0x16df74(),_0x11eb89(Error(_0xd6d9c(0x234))));}}),_0x13ac02&&_0x37a196[_0x23b737(0x1a8)]();});}function Ue(_0x12b64a){const _0x3389e0=_0x67af43;try{return new URL(_0x12b64a)[_0x3389e0(0x15e)][_0x3389e0(0x21a)]('/')[_0x3389e0(0x277)]();}catch(_0x3f2a11){console[_0x3389e0(0x2b5)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x3f2a11);return;}}function We(_0x32bc26){const _0x283a49=_0x67af43;let _0x5db22d=new Blob([_0x32bc26['buffer']],{'type':_0x283a49(0x1cb)});return new File([_0x5db22d],_0x283a49(0x23e));}function Ge(_0x2cddbb,_0x36c4f6){const _0x18336d=_0x67af43;return _0x2cddbb[_0x18336d(0x2ab)](_0x18336d(0x17d),_0x36c4f6);}function Ke(_0x2b1d37,_0x39dd8c){const _0x1f8723=_0x67af43;return _0x2b1d37[_0x1f8723(0x2ab)](_0x1f8723(0x25b),_0x39dd8c);}function qe(_0x445bfd,_0x27be33){const _0x26eb8b=_0x67af43;return _0x445bfd[_0x26eb8b(0x2ab)](_0x26eb8b(0x191),_0x27be33);}function V(_0x399292){'@babel/helpers - typeof';const _0x229388=_0x67af43;return V=typeof Symbol==_0x229388(0x26f)&&typeof Symbol[_0x229388(0x169)]==_0x229388(0x22c)?function(_0x3cd5e4){return typeof _0x3cd5e4;}:function(_0x11c8ed){const _0x2401af=_0x229388;return _0x11c8ed&&typeof Symbol==_0x2401af(0x26f)&&_0x11c8ed[_0x2401af(0x2c1)]===Symbol&&_0x11c8ed!==Symbol[_0x2401af(0x254)]?_0x2401af(0x22c):typeof _0x11c8ed;},V(_0x399292);}function Je(_0x52ffb6,_0x5b1206){const _0x46e3c2=_0x67af43;if(V(_0x52ffb6)!=_0x46e3c2(0x163)||!_0x52ffb6)return _0x52ffb6;var _0x38fa89=_0x52ffb6[Symbol[_0x46e3c2(0x1d4)]];if(_0x38fa89!==void 0x0){var _0x15aa33=_0x38fa89[_0x46e3c2(0x298)](_0x52ffb6,_0x5b1206||_0x46e3c2(0x29d));if(V(_0x15aa33)!='object')return _0x15aa33;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5b1206==='string'?String:Number)(_0x52ffb6);}function Ye(_0x41f74a){const _0x240dea=_0x67af43;var _0x1a856f=Je(_0x41f74a,_0x240dea(0x2bc));return V(_0x1a856f)==_0x240dea(0x22c)?_0x1a856f:_0x1a856f+'';}function H(_0x487cb3,_0xce49b0,_0x41341b){const _0x358ad2=_0x67af43;return(_0xce49b0=Ye(_0xce49b0))in _0x487cb3?Object[_0x358ad2(0x1b2)](_0x487cb3,_0xce49b0,{'value':_0x41341b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x487cb3[_0xce49b0]=_0x41341b,_0x487cb3;}function U(_0x430919,_0x43fc95){return function(_0x12ff54,_0x28efc7){_0x43fc95(_0x12ff54,_0x28efc7,_0x430919);};}function W(_0x499c5b,_0x47e1e8,_0x27dde2,_0x57f1e5){const _0x3e498a=_0x67af43;var _0x43cc87=arguments[_0x3e498a(0x172)],_0x229d4b=_0x43cc87<0x3?_0x47e1e8:_0x57f1e5===null?_0x57f1e5=Object['getOwnPropertyDescriptor'](_0x47e1e8,_0x27dde2):_0x57f1e5,_0x3848d1;if(typeof Reflect=='object'&&typeof Reflect[_0x3e498a(0x19e)]==_0x3e498a(0x26f))_0x229d4b=Reflect[_0x3e498a(0x19e)](_0x499c5b,_0x47e1e8,_0x27dde2,_0x57f1e5);else{for(var _0x4c85d6=_0x499c5b[_0x3e498a(0x172)]-0x1;_0x4c85d6>=0x0;_0x4c85d6--)(_0x3848d1=_0x499c5b[_0x4c85d6])&&(_0x229d4b=(_0x43cc87<0x3?_0x3848d1(_0x229d4b):_0x43cc87>0x3?_0x3848d1(_0x47e1e8,_0x27dde2,_0x229d4b):_0x3848d1(_0x47e1e8,_0x27dde2))||_0x229d4b);}return _0x43cc87>0x3&&_0x229d4b&&Object[_0x3e498a(0x1b2)](_0x47e1e8,_0x27dde2,_0x229d4b),_0x229d4b;}let Xe=function(_0x44c309){const _0x3ced31=_0x67af43;return _0x44c309[_0x44c309['UNDEFINED']=0x0]=_0x3ced31(0x25e),_0x44c309[_0x44c309[_0x3ced31(0x1ab)]=0x1]=_0x3ced31(0x1ab),_0x44c309[_0x44c309[_0x3ced31(0x200)]=0x2]='JSON',_0x44c309[_0x44c309['UNRECOGNIZED']=-0x1]=_0x3ced31(0x24c),_0x44c309;}({}),Ze=function(_0x10112b){const _0x47c537=_0x67af43;return _0x10112b[_0x47c537(0x17b)]=_0x47c537(0x249),_0x10112b['CSV']='csv',_0x10112b[_0x47c537(0x233)]=_0x47c537(0x16a),_0x10112b['DOCX']='docx',_0x10112b['PPTX']='pptx',_0x10112b[_0x47c537(0x1a3)]=_0x47c537(0x21e),_0x10112b;}({}),Qe=function(_0x52076f){const _0x36d1e5=_0x67af43;return _0x52076f[_0x36d1e5(0x213)]=_0x36d1e5(0x16f),_0x52076f[_0x36d1e5(0x287)]=_0x36d1e5(0x270),_0x52076f[_0x36d1e5(0x24e)]=_0x36d1e5(0x23f),_0x52076f['HYBRID']=_0x36d1e5(0x262),_0x52076f;}({}),$e=function(_0xd4554e){const _0x47d288=_0x67af43;return _0xd4554e[_0x47d288(0x1d9)]=_0x47d288(0x204),_0xd4554e[_0x47d288(0x29e)]=_0x47d288(0x1f5),_0xd4554e[_0x47d288(0x1c7)]=_0x47d288(0x289),_0xd4554e['FAIL']='fail',_0xd4554e;}({}),et=function(_0x5dd810){const _0x193b27=_0x67af43;return _0x5dd810[_0x193b27(0x287)]=_0x193b27(0x270),_0x5dd810[_0x193b27(0x16d)]=_0x193b27(0x2c5),_0x5dd810;}({});function _0x3725(){const _0xf0df18=['GET','application/octet-stream','convert-then-values','sign\x20url\x20error','5wxFgkr','success','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','_getUploadFileURL','isArray','download','_refreshUnit','_addDoneTask','complete','_progress$','multiple','includes','input','AUTO','_requestService','171116XBVAYM','encode','getLatestCsReqIdBySid','get','application/vnd.openxmlformats-officedocument.presentationml.presentation','split','requestState$','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','title','pdf','_registerUIParts','files','exchange-client.downloadSuccess','clear','exchange-client.tooLarge','_getSignURL','setConfig','@univerjs-pro/exchange-client','&source=','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','uploadFileServerUrl','File\x20request\x20aborted.','upload\x20failed:\x20FileId\x20is\x20empty','symbol','code','unit','stringify','_uiPartsService','statusText','trim','TSV','File\x20request\x20completed\x20without\x20a\x20response.','getTaskServerUrl','UNIVER_BASE','exchange-client.wait','_importToJson','workbook','AbortError','dispose','&flate=','pluginName','file.json','sheets','_getExportURL','_sheetBlockCache','/universer-api/exchange/{type}/import','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','registerLink','CONNECTOR_DATA_TOO_LARGE','univer-pro.exchange-client.exchange.service','_upload','_import','xlsx','status','getUnitId','UNRECOGNIZED','Error','SHEETS','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','interrupt','_totalUploadTaskCount','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','createObjectURL','prototype','export','list$','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','_importTaskId','_injector','\x20is\x20currently\x20active.','{taskID}','exportFileBySnapshot','Success','UNDEFINED','floor','UNIVER_BOARD','exchange-client.internalError','hybrid','exchange-client.uploadAgain','docx','createElement','xls','doc','INTERNAL_ERROR','685420hiDSxR','_extractErrorDetail','univer-flex\x20univer-h-5\x20univer-text-xl','getDeserializedSheetBlock','searchParams','_doneUploadTaskCount','function','tables','forEach','univer-pro.exchange-client.upload-notification.service','focusUnit','_taskInterrupted','retryImportFileToUnitId','pending','pop','asObservable','?size=','entries','maxTimeoutTime','univer-flex\x20univer-items-center','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','_visible$','6466446wRowgR','change','message','_uploadNotificationService','CONTENT','_univerInstanceService','UNIVER_DOC','disposeWithMe','TABLES','parse','text','_isSelectingUnitImportFile','toLowerCase','jsonID','_buildProtocolErrorMessage','_showUploadMessage','div','getResourcesRequest','1398qyaniH','unitID','_localeService','small','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','hide','stream','call','set','abort','resolve','/universer-api/file/{fileID}/sign-url','default','VALUES','Error\x20fetching\x20file\x20from\x20URL:','getTask','_buildHttpErrorMessage','_signUrl','href','Failed\x20to\x20get\x20text\x20from\x20url','_importFileToUnitId','number','importFileToJson','univer-flex\x20univer-flex-col\x20univer-gap-4','saveChangeset','_iconManager','replace','setTaskInterrupted','downloadEndpointUrl','_blank','originalMeta','registerComponent','interruptImportTask','_getMaxPollingTime','upload\x20request\x20failed','getUnitOnRev','error','Warning','UNIVER_PDF','_httpService','appendChild','Info','import\x20error','string','univer-text-green-500','revokeObjectURL','_showDownloadMessage','_componentManager','constructor','_showNetworkError','exportServerUrl','clearTaskInterrupted','ranges','fileID','pathname','univer-flex\x20univer-items-center\x20univer-gap-3','map','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','2184mJbfDZ','object','univer-mt-5\x20univer-flex\x20univer-flex-col','_completeProgress','saveSnapshot','none','Failed\x20to\x20get\x20unitID\x20from\x20task','iterator','tsv','fetchMissingChangesets','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','RANGES','Response','auto','saveSheetBlock','onStarting','length','univer-text-primary-600','univer-flex\x20univer-justify-end\x20univer-gap-2','_lastUnitImportContext','exchange-client.interrupt','blob','version','import','_clearProgress','XLSX','signUrlServerUrl','{type}','UNIVER_PROJECT','match','UNIVER_EXCHANGE_CLIENT_PLUGIN','application/pdf','exchange-client.export-format-dialog','_getDownloadEndpointURL','state$','_config','keys','1.0.0-beta.1','button','314082xVtncS','importFileToUnitId','subscribe','removeChild','append','30bpMaUn','blockID','disposeUnit','{fileID}','/universer-api/exchange/{type}/export','univer-text-sm\x20univer-text-gray-500','progress$','span','_logService','getFileById','removeEventListener','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-gray-0\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','downloadFile','cancel','click','application/vnd.ms-powerpoint','decorate','add','exchange-client.uploadSuccess','aborted','join','PDF','_addTotalCount','/universer-api/exchange/task/{taskID}','importer','UNIVER_SHEET','unsubscribe','Failed\x20to\x20parse\x20json','_getLinkByUnitId','UNIT',':\x20HTTP\x20','done','_messageService','min','updateState','next','defineProperty','origin','csv','type','/universer-api/stream/file/upload','_state$','getConfig','_exportBySnapshot','flatMap','_fileTypeError','exportFile','_export','FileId','Failed\x20to\x20get\x20jsonID\x20from\x20task','addEventListener','name','UNIVER_SLIDE','visible$','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','exchange-client.uploading','signUrl','TEXT','primary','importServerUrl','univer-pl-2\x20univer-pr-4','application/json','has','6339vhUMKR','decode','exchange-client.unknownMistake','_requestState$','noreferrer','_list$','block\x20is\x20required','toPrimitive','_exchangeService','accept','_configService','application/msword','CONVERT_THEN_VALUES','post','UNIVER_UNKNOWN','export\x20error','getTextFromUrl','size','28984bOVRHV','importFileAsSnapshot','_list','univer-w-48','headers','taskID','body','Get\x20outputType\x20error','createUnit','exchange-client.uploadSuccessTip','getCurrentUnitOfType','show','catch','text/tab-separated-values','pushLink','_getTaskURL','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','display','file','3620840ZJWhKS','file.','outputType','values','_uploadTaskNotDone','current','upload','exchange-client.networkError','HttpImport','style','isUnitLoadedFromServer','exchange-client.cancel','_emitProgress','exchange-client.config','JSON','_getImportURL'];_0x3725=function(){return _0xf0df18;};return _0x3725();}const tt=_0x389ad7('univer-pro.exchange-client.request.service');let G=class{constructor(_0x4aafc1,_0x414ef7){const _0x54d981=_0x67af43;this['_configService']=_0x4aafc1,this[_0x54d981(0x2b8)]=_0x414ef7,H(this,_0x54d981(0x274),new Set());}[_0x67af43(0x23b)](){}[_0x67af43(0x2ac)](_0x558065){const _0x53bc5b=_0x67af43;this['_taskInterrupted'][_0x53bc5b(0x19f)](_0x558065);}[_0x67af43(0x2c4)](){const _0x510a7e=_0x67af43;this['_taskInterrupted'][_0x510a7e(0x222)]();}async[_0x67af43(0x1f8)](_0x4314c8,_0x561958=0x0,_0x1f0e42=!0x1){const _0x4d265f=_0x67af43;if(typeof _0x4314c8=='string'){let _0x2586ac=await Be(_0x4314c8,this['_httpService']);if(!_0x2586ac)throw Error(_0x4d265f(0x243));_0x4314c8=_0x2586ac;}_0x561958||=_0x4314c8[_0x4d265f(0x1de)];let _0x5e0eca=new FormData();_0x5e0eca[_0x4d265f(0x18d)](_0x4d265f(0x1f1),_0x4314c8);try{let _0x2216d5=this[_0x4d265f(0x209)]()+_0x4d265f(0x279)+_0x561958+_0x4d265f(0x227)+_0x598305[_0x4d265f(0x1fa)]+_0x4d265f(0x23c)+_0x1f0e42,_0x2fc992={'body':_0x5e0eca},_0x1a5ea4=(await this[_0x4d265f(0x2b8)]['post'](_0x2216d5,_0x2fc992))[_0x4d265f(0x1e5)];if(_0x1a5ea4[_0x4d265f(0x2b5)]&&_0x1a5ea4[_0x4d265f(0x2b5)][_0x4d265f(0x22d)]!==_0x261329['OK'])throw Error(this[_0x4d265f(0x28d)]('upload\x20request\x20failed',_0x1a5ea4[_0x4d265f(0x2b5)]));return _0x1a5ea4;}catch(_0x279ff1){throw _0x279ff1 instanceof Error?_0x279ff1:Error(this[_0x4d265f(0x2a1)](_0x4d265f(0x2b3),_0x279ff1));}}async[_0x67af43(0x179)](_0x2b654d){const _0x36d551=_0x67af43;let {type:_0x14cdc9,..._0x47f0da}=_0x2b654d;try{let _0x5d8eab=Ge(this[_0x36d551(0x201)](),''+_0x14cdc9),_0x15a523={'body':_0x47f0da},_0x316074=(await this[_0x36d551(0x2b8)][_0x36d551(0x1da)](_0x5d8eab,_0x15a523))[_0x36d551(0x1e5)];return _0x316074[_0x36d551(0x2b5)]&&_0x316074[_0x36d551(0x2b5)][_0x36d551(0x22d)]!==_0x261329['OK']?void 0x0:_0x316074;}catch{return;}}async[_0x67af43(0x255)](_0x5bea79){const _0x54d77b=_0x67af43;let {type:_0x3ff92a}=_0x5bea79;try{let _0x29d129=Ge(this[_0x54d77b(0x240)](),''+_0x3ff92a),_0x5de39c={'body':_0x5bea79},_0x3cac0b=(await this[_0x54d77b(0x2b8)]['post'](_0x29d129,_0x5de39c))['body'];return _0x3cac0b[_0x54d77b(0x2b5)]&&_0x3cac0b[_0x54d77b(0x2b5)]['code']!==_0x261329['OK']?void 0x0:_0x3cac0b;}catch{return;}}async[_0x67af43(0x2a0)](_0x49a939){return new Promise((_0x99e8f0,_0x5e7a6a)=>{const _0x12215f=_0x11c6;try{let _0x5ea21d=0x0,_0x5ccaff=Ke(this[_0x12215f(0x1ee)](),''+_0x49a939),_0x5340e6=this['_getMaxPollingTime'](),_0x30d130=async()=>{const _0x25f8ea=_0x12215f;if(this[_0x25f8ea(0x274)]['has'](_0x49a939))return;let _0x361f6f=(await this[_0x25f8ea(0x2b8)]['get'](_0x5ccaff))['body'];if(_0x361f6f[_0x25f8ea(0x2b5)]&&_0x361f6f[_0x25f8ea(0x2b5)][_0x25f8ea(0x22d)]===_0x261329['OK']){if(_0x361f6f[_0x25f8ea(0x24a)]===_0x25f8ea(0x1ad))_0x99e8f0(_0x361f6f);else{if(_0x361f6f[_0x25f8ea(0x24a)]===_0x25f8ea(0x276)){let _0x54c5ed=0x3e8;if(_0x5ea21d>=_0x5340e6){_0x5e7a6a(_0x361f6f);return;}else _0x5ea21d>=0x7530&&(_0x54c5ed=0x1388);_0x5ea21d+=_0x54c5ed,setTimeout(_0x30d130,_0x54c5ed);}else _0x5e7a6a(_0x361f6f);}}else _0x5e7a6a(_0x361f6f);};_0x30d130();}catch(_0x343f99){_0x5e7a6a(_0x343f99 instanceof Error?_0x343f99:Error(String(_0x343f99)));}});}async[_0x67af43(0x1c6)](_0x1dd7c4){const _0x1d82ff=_0x67af43;try{let _0x219f2b=qe(this[_0x1d82ff(0x224)](),''+_0x1dd7c4);return(await this[_0x1d82ff(0x2b8)][_0x1d82ff(0x218)](_0x219f2b))[_0x1d82ff(0x1e5)];}catch{return;}}async['getTextFromUrl'](_0x45455b){const _0x17c379=_0x67af43;try{return(await this[_0x17c379(0x2b8)]['get'](_0x45455b,{'responseType':_0x17c379(0x289)}))[_0x17c379(0x1e5)];}catch{return;}}[_0x67af43(0x28d)](_0x1c05de,_0x550d2d){let _0x2ff25f=this['_extractErrorDetail'](_0x550d2d);return _0x2ff25f?_0x1c05de+':\x20'+_0x2ff25f:_0x1c05de;}['_buildHttpErrorMessage'](_0x391385,_0x36c73d){const _0x24f90a=_0x67af43;if(_0x36c73d instanceof _0x27964e){let _0x496f74=typeof _0x36c73d[_0x24f90a(0x24a)]==_0x24f90a(0x2a6)?''+_0x36c73d[_0x24f90a(0x24a)]+(_0x36c73d[_0x24f90a(0x231)]?'\x20'+_0x36c73d[_0x24f90a(0x231)]:''):void 0x0,_0x156afc=this[_0x24f90a(0x26a)](_0x36c73d[_0x24f90a(0x2b5)]);return _0x496f74&&_0x156afc?_0x391385+_0x24f90a(0x1ac)+_0x496f74+'\x20-\x20'+_0x156afc:_0x496f74?_0x391385+':\x20HTTP\x20'+_0x496f74:_0x156afc?_0x391385+':\x20'+_0x156afc:_0x391385;}let _0x2d3221=this[_0x24f90a(0x26a)](_0x36c73d);return _0x2d3221?_0x391385+':\x20'+_0x2d3221:_0x391385;}['_extractErrorDetail'](_0x319764){const _0x130be4=_0x67af43;if(typeof _0x319764==_0x130be4(0x2bc)){let _0x250cb5=_0x319764[_0x130be4(0x232)]();return _0x250cb5['length']>0x0?_0x250cb5:void 0x0;}if(_0x319764 instanceof Error)return this[_0x130be4(0x26a)](_0x319764[_0x130be4(0x281)]);if(!_0x319764||typeof _0x319764!=_0x130be4(0x163)||Array[_0x130be4(0x20a)](_0x319764))return;let _0x5aa6f6=_0x319764,_0x4f3866=this['_extractErrorDetail'](_0x5aa6f6[_0x130be4(0x281)]);if(_0x4f3866)return _0x4f3866;if(_0x5aa6f6[_0x130be4(0x2b5)]&&typeof _0x5aa6f6[_0x130be4(0x2b5)]==_0x130be4(0x163)&&!Array[_0x130be4(0x20a)](_0x5aa6f6[_0x130be4(0x2b5)])){let _0x597573=this[_0x130be4(0x26a)](_0x5aa6f6[_0x130be4(0x2b5)]);if(_0x597573)return _0x597573;}}[_0x67af43(0x209)](){const _0x255e90=_0x67af43;let _0x341343=this[_0x255e90(0x1d7)][_0x255e90(0x1b8)](O);return(_0x341343==null?void 0x0:_0x341343[_0x255e90(0x229)])??_0x255e90(0x1b6);}['_getImportURL'](){const _0xc804fa=_0x67af43;let _0x3cfb64=this[_0xc804fa(0x1d7)][_0xc804fa(0x1b8)](O);return(_0x3cfb64==null?void 0x0:_0x3cfb64[_0xc804fa(0x1c9)])??_0xc804fa(0x242);}[_0x67af43(0x240)](){const _0x73ffa0=_0x67af43;let _0x5e5b93=this[_0x73ffa0(0x1d7)]['getConfig'](O);return(_0x5e5b93==null?void 0x0:_0x5e5b93[_0x73ffa0(0x2c3)])??_0x73ffa0(0x192);}[_0x67af43(0x1ee)](){const _0x3680db=_0x67af43;let _0x338849=this['_configService'][_0x3680db(0x1b8)](O);return(_0x338849==null?void 0x0:_0x338849[_0x3680db(0x235)])??_0x3680db(0x1a5);}['_getSignURL'](){const _0x414e02=_0x67af43;let _0x49d0d7=this[_0x414e02(0x1d7)][_0x414e02(0x1b8)](O);return(_0x49d0d7==null?void 0x0:_0x49d0d7[_0x414e02(0x17c)])??_0x414e02(0x29c);}[_0x67af43(0x2b2)](){const _0x597fc9=_0x67af43;let _0x149c7b=this[_0x597fc9(0x1d7)][_0x597fc9(0x1b8)](O);return(_0x149c7b==null?void 0x0:_0x149c7b[_0x597fc9(0x27b)])??0x1d4c0;}};G=W([U(0x0,_0x360230),U(0x1,_0x5ac304(_0x33297d))],G);const nt=_0x67af43(0x182);function rt({formats:_0x4ecfc3,items:_0x3a9065,selectedId:_0x45f87f,onCancel:_0x5d2168,onConfirm:_0xffa9c7}){const _0x110cd5=_0x67af43;let _0x50e030=_0x293a00(_0x529199),[_0x52c074,_0x55f568]=_0x4060a3(_0x4ecfc3[0x0]),[_0x2f43cc,_0xb1b58f]=_0x4060a3(_0x45f87f),[_0x20a351,_0x1e0e3e]=_0x4060a3(!0x1),_0x3212a9=_0x2fc96b(!0x1);return _0x2034a5(_0x110cd5(0x28f),{'className':_0x110cd5(0x1c4),'children':[_0x4e3b3f(_0x110cd5(0x28f),{'className':_0x110cd5(0x2a8),'children':_0x4ecfc3[_0x110cd5(0x160)](_0x36b75a=>_0x2034a5('div',{'className':_0x110cd5(0x15f),'children':[_0x4e3b3f(_0x5688eb,{'value':_0x36b75a,'checked':_0x52c074===_0x36b75a,'onChange':_0x20ce9b=>_0x55f568(_0x20ce9b),'children':_0x4e3b3f(_0x110cd5(0x195),{'className':'univer-w-10','children':_0x36b75a['toUpperCase']()})}),_0x36b75a!==_0x110cd5(0x249)&&_0x4e3b3f(_0x310297,{'className':_0x110cd5(0x1e2),'value':_0x2f43cc,'options':_0x3a9065,'onChange':_0x3e8784=>_0xb1b58f(String(_0x3e8784))})]},_0x36b75a))}),_0x2034a5('div',{'className':_0x110cd5(0x174),'children':[_0x4e3b3f(_0x1e8c04,{'type':_0x110cd5(0x188),'variant':'default','onClick':_0x5d2168,'children':_0x50e030['t'](_0x110cd5(0x1fd))}),_0x2034a5(_0x1e8c04,{'type':'button','variant':_0x110cd5(0x1c8),'aria-busy':_0x20a351,'disabled':_0x20a351||!_0x52c074||_0x52c074!==_0x110cd5(0x249)&&!_0x2f43cc,'onClick':async()=>{const _0x4926f2=_0x110cd5;if(!_0x3212a9[_0x4926f2(0x1f7)]){_0x3212a9[_0x4926f2(0x1f7)]=!0x0,_0x1e0e3e(!0x0);try{await _0xffa9c7(_0x52c074,_0x2f43cc);}finally{_0x3212a9[_0x4926f2(0x1f7)]=!0x1,_0x1e0e3e(!0x1);}}},'children':[_0x20a351&&_0x4e3b3f(_0x5f5516,{'className':'univer-animate-spin'}),_0x50e030['t']('exchange-client.confirm')]})]})]});}let K=class extends _0x2f4977{constructor(_0x33e251,_0xf21338){const _0x770258=_0x67af43;super(),this['_iconManager']=_0x33e251,this[_0x770258(0x2c0)]=_0xf21338,this[_0x770258(0x286)](this[_0x770258(0x2aa)]['register']({'DirectExportIcon':_0x182b8d,'ExportIcon':_0x171c7d,'FolderIcon':_0x11e05d})),this[_0x770258(0x286)](this[_0x770258(0x2c0)]['register'](nt,rt));}};K=W([U(0x0,_0x5ac304(_0xaaf83a)),U(0x1,_0x5ac304(_0x5ab250))],K);const q=_0x389ad7(_0x67af43(0x272));var it=class extends _0x2f4977{constructor(){const _0x22b476=_0x67af43;super(),H(this,'_visible$',new _0x2ee755()),H(this,'_state$',new _0x2ee755()),H(this,'_list$',new _0x2ee755()),H(this,_0x22b476(0x1c3),this[_0x22b476(0x27e)][_0x22b476(0x278)]()),H(this,_0x22b476(0x184),this[_0x22b476(0x1b7)][_0x22b476(0x278)]()),H(this,_0x22b476(0x256),this[_0x22b476(0x1d2)][_0x22b476(0x278)]()),H(this,_0x22b476(0x1e1),[]);}[_0x67af43(0x23b)](){const _0x275733=_0x67af43;super[_0x275733(0x23b)](),this['_visible$'][_0x275733(0x20e)](),this['_state$'][_0x275733(0x20e)](),this[_0x275733(0x1d2)]['complete']();}[_0x67af43(0x1ea)](){const _0x2913ca=_0x67af43;this[_0x2913ca(0x27e)][_0x2913ca(0x1b1)](!0x0);}[_0x67af43(0x296)](){const _0x1e0d6b=_0x67af43;this[_0x1e0d6b(0x27e)][_0x1e0d6b(0x1b1)](!0x1);}[_0x67af43(0x1b0)](_0x735260){const _0x414828=_0x67af43;this[_0x414828(0x1b7)][_0x414828(0x1b1)](_0x735260);}[_0x67af43(0x1ed)](_0x5b1801){const _0x39b6f5=_0x67af43;this[_0x39b6f5(0x1e1)]['unshift'](_0x5b1801),this[_0x39b6f5(0x1d2)][_0x39b6f5(0x1b1)](this['_list']);}};function at(_0x4a775e){const _0x17597f=_0x67af43;let {list:_0xe40d94}=_0x4a775e;function _0x13ba32(_0x50f4c1){const _0x42be03=_0x11c6;switch(_0x50f4c1){case _0x55e920['UNIVER_DOC']:return _0x4e3b3f(_0x4d6ad0,{});case _0x55e920[_0x42be03(0x1a7)]:case _0x55e920[_0x42be03(0x236)]:return _0x4e3b3f(_0x4aa68b,{});case _0x55e920['UNIVER_SLIDE']:return _0x4e3b3f(_0x3aaeee,{});default:return null;}}return _0x4e3b3f(_0x17597f(0x28f),{'className':_0x4eb781(_0x17597f(0x21c),_0x295247),'children':_0x4e3b3f('ul',{'className':_0x17597f(0x27d),'children':_0xe40d94[_0x17597f(0x160)]((_0x3b9631,_0x4e4c56)=>_0x4e3b3f('li',{'children':_0x2034a5('a',{'className':'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-gray-0\x20dark:hover:!univer-bg-gray-600','href':_0x3b9631['link'],'target':_0x17597f(0x2ae),'rel':_0x17597f(0x1d1),'children':[_0x2034a5('span',{'className':_0x17597f(0x295),'children':[_0x4e3b3f(_0x17597f(0x195),{'className':_0x17597f(0x26b),'children':_0x13ba32(_0x3b9631[_0x17597f(0x1b5)])}),_0x4e3b3f(_0x54f859,{'showIfEllipsis':!0x0,'title':_0x3b9631['name'],'asChild':!0x0,'children':_0x4e3b3f(_0x17597f(0x195),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x3b9631[_0x17597f(0x1c1)]})})]}),_0x4e3b3f(_0x17597f(0x195),{'className':_0x17597f(0x228),'children':_0x4e3b3f(_0x493990,{})})]})},_0x4e4c56))})});}const J=_0x389ad7(_0x67af43(0x246));let Y=class extends _0x2f4977{constructor(_0x4485c8,_0x5f2ffa,_0x2d7e34){const _0x1bb80f=_0x67af43;super(),this['_configService']=_0x4485c8,this[_0x1bb80f(0x2b8)]=_0x5f2ffa,this[_0x1bb80f(0x214)]=_0x2d7e34,H(this,_0x1bb80f(0x258),null),H(this,_0x1bb80f(0x1d0),new _0x2ee755()),H(this,_0x1bb80f(0x21b),this['_requestState$'][_0x1bb80f(0x278)]());}[_0x67af43(0x23b)](){const _0x32e651=_0x67af43;super[_0x32e651(0x23b)](),this[_0x32e651(0x1d0)][_0x32e651(0x20e)]();}[_0x67af43(0x19a)](_0x2bc3b8,_0x11fc85,_0x1f1475){const _0xf15ad4=_0x67af43;let _0x3d6038=URL[_0xf15ad4(0x253)](_0x2bc3b8);Re(_0x3d6038,_0x11fc85,_0x1f1475),URL[_0xf15ad4(0x2be)](_0x3d6038);}async[_0x67af43(0x197)](_0x18d8a7,_0x491038){const _0x3d7d0f=_0x67af43;if(_0x491038!=null&&_0x491038[_0x3d7d0f(0x1a1)])return;let _0x2b16c8=await this['_signUrl'](_0x18d8a7);if(!(!_0x2b16c8||_0x491038!=null&&_0x491038['aborted']))return Ve(_0x2b16c8,this[_0x3d7d0f(0x2b8)],_0x491038);}async[_0x67af43(0x18a)](_0xc668b,_0x43fe9c,_0x4b1af4){const _0x1bd0ba=_0x67af43;var _0x46456b,_0x323058;let _0x39b00e=await this[_0x1bd0ba(0x247)](_0xc668b);if(!_0x39b00e)return;let _0x7b2674=await this[_0x1bd0ba(0x248)](_0x39b00e,0x1,_0x43fe9c,_0x4b1af4);if(!_0x7b2674)return;this[_0x1bd0ba(0x258)]=_0x7b2674,this['_requestService']['clearTaskInterrupted']();let _0x38431f=await this['_requestService'][_0x1bd0ba(0x2a0)](_0x7b2674)[_0x1bd0ba(0x1eb)](_0x6e0db4=>{const _0x9957c6=_0x1bd0ba;var _0x31189d;let _0x26b76b=_0x6e0db4 instanceof Error?_0x6e0db4[_0x9957c6(0x281)]:(_0x31189d=_0x6e0db4[_0x9957c6(0x2b5)])==null?void 0x0:_0x31189d[_0x9957c6(0x281)];this[_0x9957c6(0x1d0)]['next']({'error':{'code':_0x261329[_0x9957c6(0x24c)],'message':_0x26b76b||''},'state':0x3});});if(!_0x38431f)return;let _0x5a087f=(_0x46456b=_0x38431f[_0x1bd0ba(0x179)])==null?void 0x0:_0x46456b[_0x1bd0ba(0x1f4)],_0x2b6f65=((_0x323058=_0x38431f[_0x1bd0ba(0x179)])==null?void 0x0:_0x323058[_0x1bd0ba(0x292)])||'';if(_0x5a087f!==0x1){this['_requestState$']['next']({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x1bd0ba(0x1e6)},'state':0x3});return;}if(_0x2b6f65[_0x1bd0ba(0x172)]===0x0){this[_0x1bd0ba(0x1d0)][_0x1bd0ba(0x1b1)]({'error':{'code':_0x261329[_0x1bd0ba(0x24c)],'message':_0x1bd0ba(0x168)},'state':0x3});return;}return this[_0x1bd0ba(0x1d0)]['next']({'error':_0x38431f[_0x1bd0ba(0x2b5)],'state':0x3}),_0x2b6f65;}async[_0x67af43(0x2a7)](_0x3e71ee,_0x42dab8,_0x5281d9){const _0x295a8c=_0x67af43;return this[_0x295a8c(0x238)](_0x3e71ee,_0x42dab8,_0x5281d9);}async['exportFileByUnitId'](_0x585951,_0x3ef491,_0x3ba6d0,_0x47ac73){const _0xcca45a=_0x67af43;return this[_0xcca45a(0x1bd)](_0x585951,0x1,_0x3ef491,_0x3ba6d0,_0x47ac73);}async[_0x67af43(0x25c)](_0x1d11c6,_0x1a840e,_0x24072a,_0xc1052f){const _0x2e260b=_0x67af43;return this[_0x2e260b(0x1b9)](_0x1d11c6,_0x1a840e,_0x24072a,_0xc1052f);}[_0x67af43(0x2b1)](){const _0x50dc61=_0x67af43;this[_0x50dc61(0x258)]&&this['_requestService'][_0x50dc61(0x2ac)](this['_importTaskId']);}async[_0x67af43(0x238)](_0x3a8480,_0x53cfac,_0x1427bd){const _0x45ca14=_0x67af43;var _0x25fa1f,_0x13f9b2;let _0x557597=await this[_0x45ca14(0x247)](_0x3a8480);if(!_0x557597)return;let _0x23e4c4=await this[_0x45ca14(0x248)](_0x557597,0x2,_0x53cfac,_0x1427bd);if(!_0x23e4c4)return;this[_0x45ca14(0x258)]=_0x23e4c4,this[_0x45ca14(0x214)][_0x45ca14(0x2c4)]();let _0x2af9fe=await this[_0x45ca14(0x214)]['getTask'](_0x23e4c4)[_0x45ca14(0x1eb)](_0x399b85=>{const _0x4a7fa8=_0x45ca14;var _0x1f5489;let _0x31e35c=_0x399b85 instanceof Error?_0x399b85[_0x4a7fa8(0x281)]:(_0x1f5489=_0x399b85['error'])==null?void 0x0:_0x1f5489['message'];this[_0x4a7fa8(0x1d0)][_0x4a7fa8(0x1b1)]({'error':{'code':_0x261329[_0x4a7fa8(0x24c)],'message':_0x31e35c||''},'state':0x3});});if(!_0x2af9fe)return;let _0x359711=(_0x25fa1f=_0x2af9fe[_0x45ca14(0x179)])==null?void 0x0:_0x25fa1f[_0x45ca14(0x1f4)],_0xde083b=((_0x13f9b2=_0x2af9fe[_0x45ca14(0x179)])==null?void 0x0:_0x13f9b2[_0x45ca14(0x28c)])||'';if(_0x359711!==0x2){this[_0x45ca14(0x1d0)][_0x45ca14(0x1b1)]({'error':{'code':_0x261329[_0x45ca14(0x24c)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0xde083b['length']===0x0){this[_0x45ca14(0x1d0)][_0x45ca14(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x45ca14(0x1bf)},'state':0x3});return;}this['_requestState$'][_0x45ca14(0x1b1)]({'error':_0x2af9fe[_0x45ca14(0x2b5)],'state':0x3});let _0x5f2244=await this[_0x45ca14(0x2a2)](_0xde083b);if(!_0x5f2244)return;let _0x466ecc=await this[_0x45ca14(0x214)][_0x45ca14(0x1dd)](_0x5f2244);if(!_0x466ecc){this['_requestState$'][_0x45ca14(0x1b1)]({'error':{'code':_0x261329[_0x45ca14(0x24c)],'message':_0x45ca14(0x2a4)},'state':0x5});return;}try{let _0x28aa90=JSON[_0x45ca14(0x288)](_0x466ecc);return this['_requestState$'][_0x45ca14(0x1b1)]({'error':{'code':_0x261329['OK'],'message':_0x45ca14(0x207)},'state':0x5}),_0x28aa90;}catch{this[_0x45ca14(0x1d0)]['next']({'error':{'code':_0x261329[_0x45ca14(0x24c)],'message':_0x45ca14(0x1a9)},'state':0x5});}}async[_0x67af43(0x1b9)](_0xf3a833,_0x17c5b8,_0x35facf,_0x17286f){const _0x48a8bc=_0x67af43;let _0x54a749=JSON[_0x48a8bc(0x22f)](_0xf3a833),_0xdcf607=_0x2da458[_0x48a8bc(0x216)](_0x54a749),_0xf5056e=_0x4de99a(_0xdcf607),_0x54f67b=_0xdcf607[_0x48a8bc(0x172)],_0x3bccbe=We(_0xf5056e),_0x4ddb0f=await this[_0x48a8bc(0x247)](_0x3bccbe,_0x54f67b,!0x0);if(_0x4ddb0f)return this[_0x48a8bc(0x1bd)](_0x4ddb0f,0x2,_0x17c5b8,_0x35facf,_0x17286f);}async[_0x67af43(0x1bd)](_0x413c4a,_0x1e6e8c,_0x2864ab,_0x332f8e,_0x31b75d){const _0x1c604a=_0x67af43;var _0x450628;let _0x5cce39=await this[_0x1c604a(0x214)][_0x1c604a(0x255)]({..._0x1e6e8c===0x1?{'unitID':_0x413c4a}:{'jsonID':_0x413c4a},'type':_0x2864ab,'format':_0x332f8e,'options':_0x31b75d});if(!_0x5cce39){this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x1c604a(0x1dc)},'state':0x2});return;}if(this[_0x1c604a(0x1d0)]['next']({'error':_0x5cce39[_0x1c604a(0x2b5)],'state':0x2}),_0x5cce39[_0x1c604a(0x2b5)]&&_0x5cce39[_0x1c604a(0x2b5)][_0x1c604a(0x22d)]!==_0x261329['OK'])return;let _0x3f7aa8=_0x5cce39['taskID'],_0xd24d6b=await this[_0x1c604a(0x214)][_0x1c604a(0x2a0)](_0x3f7aa8)['catch'](_0x908791=>{const _0x39e237=_0x1c604a;var _0x1466ca;let _0x3bc9e8=_0x908791 instanceof Error?_0x908791[_0x39e237(0x281)]:(_0x1466ca=_0x908791[_0x39e237(0x2b5)])==null?void 0x0:_0x1466ca[_0x39e237(0x281)];this['_requestState$'][_0x39e237(0x1b1)]({'error':{'code':_0x261329[_0x39e237(0x24c)],'message':_0x3bc9e8||''},'state':0x3});});if(!_0xd24d6b)return;let _0x6faca2=((_0x450628=_0xd24d6b['export'])==null?void 0x0:_0x450628[_0x1c604a(0x2c6)])||'';if(_0x6faca2['length']===0x0){this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x1c604a(0x1d0)][_0x1c604a(0x1b1)]({'error':_0xd24d6b[_0x1c604a(0x2b5)],'state':0x3});let _0x46fc23=await this['_signUrl'](_0x6faca2);if(!_0x46fc23)return;let _0x1588aa=await Be(_0x46fc23,this['_httpService']);if(!_0x1588aa){this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329[_0x1c604a(0x24c)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x1c604a(0x1b1)]({'error':{'code':_0x261329['OK'],'message':_0x1c604a(0x207)},'state':0x6}),_0x1588aa;}async[_0x67af43(0x247)](_0x59aa7c,_0x247373,_0x40b422){const _0x5a05d8=_0x67af43;let _0x30d66e;try{_0x30d66e=await this[_0x5a05d8(0x214)][_0x5a05d8(0x1f8)](_0x59aa7c,_0x247373,_0x40b422);}catch(_0x47418c){let _0x431994=_0x47418c instanceof Error?_0x47418c['message']:String(_0x47418c);this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329[_0x5a05d8(0x24c)],'message':_0x431994},'state':0x0});return;}if(!_0x30d66e||typeof _0x30d66e[_0x5a05d8(0x1be)]!=_0x5a05d8(0x2bc)){this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x269da2=_0x30d66e[_0x5a05d8(0x1be)];if(_0x269da2[_0x5a05d8(0x172)]===0x0){this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329[_0x5a05d8(0x24c)],'message':_0x5a05d8(0x22b)},'state':0x0});return;}return this[_0x5a05d8(0x1d0)][_0x5a05d8(0x1b1)]({'error':{'code':_0x261329['OK'],'message':_0x5a05d8(0x207)},'state':0x0}),_0x269da2;}async[_0x67af43(0x248)](_0x523e96,_0x19c4c6,_0xbeb917,_0x44bbc1){const _0x2f665d=_0x67af43;let _0xff85fc={'fileID':_0x523e96,'type':_0xbeb917,'outputType':_0x19c4c6,'options':_0x44bbc1},_0x52a1dc=await this[_0x2f665d(0x214)][_0x2f665d(0x179)](_0xff85fc);if(!_0x52a1dc){this[_0x2f665d(0x1d0)]['next']({'error':{'code':_0x261329[_0x2f665d(0x24c)],'message':_0x2f665d(0x2bb)},'state':0x1});return;}if(_0x52a1dc['error']&&_0x52a1dc[_0x2f665d(0x2b5)][_0x2f665d(0x22d)]!==_0x261329['OK']){this[_0x2f665d(0x1d0)][_0x2f665d(0x1b1)]({'error':_0x52a1dc['error'],'state':0x1});return;}let _0x141fb9=_0x52a1dc[_0x2f665d(0x1e4)];if(_0x141fb9[_0x2f665d(0x172)]===0x0){this['_requestState$'][_0x2f665d(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x2f665d(0x16c)},'state':0x1});return;}return this[_0x2f665d(0x1d0)]['next']({'error':_0x52a1dc[_0x2f665d(0x2b5)],'state':0x1}),_0x141fb9;}async[_0x67af43(0x2a2)](_0x3940d6){const _0x47ce48=_0x67af43;let _0x157907=await this[_0x47ce48(0x214)][_0x47ce48(0x1c6)](_0x3940d6);if(!_0x157907){this[_0x47ce48(0x1d0)][_0x47ce48(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x47ce48(0x205)},'state':0x4});return;}if(_0x157907[_0x47ce48(0x2b5)]&&_0x157907[_0x47ce48(0x2b5)]['code']!==_0x261329['OK']){this[_0x47ce48(0x1d0)]['next']({'error':_0x157907[_0x47ce48(0x2b5)],'state':0x4});return;}let _0x5cd590=_0xf66e2a(_0x157907['url'],this[_0x47ce48(0x183)]());if(_0x5cd590[_0x47ce48(0x172)]===0x0){this[_0x47ce48(0x1d0)][_0x47ce48(0x1b1)]({'error':{'code':_0x261329['UNRECOGNIZED'],'message':_0x47ce48(0x205)},'state':0x4});return;}return this['_requestState$'][_0x47ce48(0x1b1)]({'error':_0x157907[_0x47ce48(0x2b5)],'state':0x4}),_0x5cd590;}[_0x67af43(0x183)](){const _0x4300e5=_0x67af43;let _0x212295=this[_0x4300e5(0x1d7)][_0x4300e5(0x1b8)](O);return(_0x212295==null?void 0x0:_0x212295[_0x4300e5(0x2ad)])??location[_0x4300e5(0x1b3)];}};Y=W([U(0x0,_0x360230),U(0x1,_0x5ac304(_0x33297d)),U(0x2,_0x5ac304(tt))],Y);const ot={'done':0x0,'count':0x0},X=_0x389ad7('univer-pro.exchange-client.operate.service');let Z=class extends _0x2f4977{constructor(_0x1881f3,_0x480ecd,_0x269181,_0x4d0bec,_0x435d5d,_0x15fed4){const _0x29f31d=_0x67af43;super(),this['_univerInstanceService']=_0x1881f3,this[_0x29f31d(0x1ae)]=_0x480ecd,this['_localeService']=_0x269181,this[_0x29f31d(0x1d5)]=_0x4d0bec,this[_0x29f31d(0x282)]=_0x435d5d,this[_0x29f31d(0x196)]=_0x15fed4,H(this,_0x29f31d(0x20f),new _0x3e98f7(ot)),H(this,_0x29f31d(0x194),this[_0x29f31d(0x20f)][_0x29f31d(0x278)]()),H(this,_0x29f31d(0x251),0x0),H(this,'_doneUploadTaskCount',0x0),H(this,_0x29f31d(0x28a),!0x1),H(this,_0x29f31d(0x175),null),this[_0x29f31d(0x286)](_0xd5290e(this[_0x29f31d(0x1d5)][_0x29f31d(0x21b)]['subscribe'](_0x45718c=>{const _0x3ade0b=_0x29f31d;var _0x4c8802;((_0x4c8802=_0x45718c['error'])==null?void 0x0:_0x4c8802[_0x3ade0b(0x22d)])===_0x261329['OK']?this[_0x3ade0b(0x20d)](0x1):this[_0x3ade0b(0x2c2)](_0x45718c['error']);})));}[_0x67af43(0x250)](){const _0x5a338d=_0x67af43;this[_0x5a338d(0x17a)](),this[_0x5a338d(0x282)][_0x5a338d(0x1b0)](0x2),this['_exchangeService'][_0x5a338d(0x2b1)]();}async[_0x67af43(0x18a)](_0x16044b,_0x15c6a0){const _0x10c67f=_0x67af43;if(this[_0x10c67f(0x28a)]||this[_0x10c67f(0x1f6)]()){this[_0x10c67f(0x1ae)][_0x10c67f(0x1ea)]({'type':_0x4e76a4['Warning'],'content':this[_0x10c67f(0x293)]['t'](_0x10c67f(0x1c5))});return;}let _0x25941e;this[_0x10c67f(0x28a)]=!0x0;try{_0x25941e=await B([_0x16044b]);}finally{this['_isSelectingUnitImportFile']=!0x1;}if(_0x25941e&&!this[_0x10c67f(0x1bb)](_0x25941e,_0x16044b))return this[_0x10c67f(0x175)]={'type':_0x16044b,'importer':_0x15c6a0},this['_importFileToUnitId'](_0x25941e[0x0],_0x16044b,_0x15c6a0);}async[_0x67af43(0x275)](){const _0x31f786=_0x67af43;let _0x37bf83=this[_0x31f786(0x175)];if(_0x37bf83)return this[_0x31f786(0x18a)](_0x37bf83[_0x31f786(0x1b5)],_0x37bf83[_0x31f786(0x1a6)]);}async['importFileToSnapshot'](_0x17d357,_0x2a9260){const _0x34ce05=_0x67af43;if(this['_uploadTaskNotDone']()){this['_messageService'][_0x34ce05(0x1ea)]({'type':_0x4e76a4[_0x34ce05(0x2b6)],'content':this['_localeService']['t'](_0x34ce05(0x1c5))});return;}let _0x1206f5=await B([_0x17d357]);if(!_0x1206f5||this[_0x34ce05(0x1bb)](_0x1206f5,_0x17d357))return;this[_0x34ce05(0x28e)](_0x4e76a4[_0x34ce05(0x2ba)]);let _0x1dd72a=await _0x2a9260(_0x1206f5[0x0]);_0x1dd72a&&(this[_0x34ce05(0x20c)](_0x17d357,_0x1dd72a),this[_0x34ce05(0x28e)](_0x4e76a4[_0x34ce05(0x25d)]));}async[_0x67af43(0x1e0)](_0x4ae984,_0x2e9a12){const _0xc22425=_0x67af43;if(this['_uploadTaskNotDone']()){this[_0xc22425(0x1ae)][_0xc22425(0x1ea)]({'type':_0x4e76a4['Warning'],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x146fea=await B([_0x4ae984]);if(!_0x146fea||this['_fileTypeError'](_0x146fea,_0x4ae984))return;this[_0xc22425(0x28e)](_0x4e76a4[_0xc22425(0x2ba)]);let _0x386534=await _0x2e9a12(_0x146fea[0x0]);if(_0x386534)return this['_showUploadMessage'](_0x4e76a4[_0xc22425(0x25d)]),_0x386534;}async[_0x67af43(0x1bc)](_0x2472fa,_0x171afa,_0x1c45d2){const _0x169393=_0x67af43;this[_0x169393(0x2bf)](_0x4e76a4[_0x169393(0x2ba)]);let _0x26dc58=await _0x2472fa();_0x26dc58&&(this[_0x169393(0x1d5)]['downloadFile'](_0x26dc58,_0x171afa||_0x26dc58[_0x169393(0x1c1)][_0x169393(0x21a)]('.')['shift']()||document[_0x169393(0x21d)],_0x1c45d2),this[_0x169393(0x2bf)](_0x4e76a4[_0x169393(0x25d)]));}[_0x67af43(0x244)](_0x2f29fc){const _0x405e58=_0x67af43;this[_0x405e58(0x1aa)]=_0x2f29fc;}async[_0x67af43(0x2a5)](_0x5acae3,_0x3278af,_0x28796a){const _0x1736cd=_0x67af43;this[_0x1736cd(0x282)][_0x1736cd(0x1ea)](),this[_0x1736cd(0x282)]['updateState'](0x0),this[_0x1736cd(0x1a4)](0x4),this['_addDoneTask'](0x1);let _0x454f6d=await _0x28796a(_0x5acae3);if(!_0x454f6d){this['_clearProgress'](),this['_uploadNotificationService'][_0x1736cd(0x1b0)](0x2);return;}let _0x437040={'link':this[_0x1736cd(0x1aa)](_0x454f6d,_0x3278af),'name':_0x5acae3['name'],'type':_0x3278af};return this[_0x1736cd(0x282)][_0x1736cd(0x1ed)](_0x437040),this[_0x1736cd(0x165)](),this[_0x1736cd(0x282)]['updateState'](0x1),_0x454f6d;}[_0x67af43(0x20c)](_0x2a5858,_0x16a22c){const _0x3728b1=_0x67af43;let _0x47bb63=this['_univerInstanceService']['getCurrentUnitOfType'](_0x2a5858);if(!_0x47bb63)throw Error('No\x20unit\x20of\x20type\x20'+_0x2a5858+_0x3728b1(0x25a));this['_univerInstanceService'][_0x3728b1(0x190)](_0x47bb63[_0x3728b1(0x24b)]());let _0x37b250=this['_univerInstanceService'][_0x3728b1(0x1e7)](_0x2a5858,_0x16a22c);this[_0x3728b1(0x284)][_0x3728b1(0x273)](_0x37b250[_0x3728b1(0x24b)]());}[_0x67af43(0x1aa)](_0x3183ad,_0x244522){const _0x5130ef=_0x67af43;let _0x46a515=new URL(window['location'][_0x5130ef(0x2a3)]);return _0x46a515[_0x5130ef(0x26d)][_0x5130ef(0x299)](_0x5130ef(0x22e),_0x3183ad),_0x46a515[_0x5130ef(0x26d)][_0x5130ef(0x299)]('type',''+_0x244522),_0x46a515['toString']();}[_0x67af43(0x2c2)](_0x413a48){const _0x357545=_0x67af43;if(_0x413a48){let {code:_0x4c7f93}=_0x413a48;switch(_0x4c7f93){case _0x261329[_0x357545(0x245)]:this[_0x357545(0x1ae)][_0x357545(0x1ea)]({'type':_0x4e76a4[_0x357545(0x24d)],'content':this[_0x357545(0x293)]['t'](_0x357545(0x223))});break;case _0x261329[_0x357545(0x268)]:this[_0x357545(0x1ae)][_0x357545(0x1ea)]({'type':_0x4e76a4['Error'],'content':this['_localeService']['t'](_0x357545(0x261))});break;default:this[_0x357545(0x1ae)]['show']({'type':_0x4e76a4[_0x357545(0x24d)],'content':this[_0x357545(0x293)]['t'](_0x357545(0x1f9))});break;}return null;}return this['_messageService'][_0x357545(0x1ea)]({'type':_0x4e76a4[_0x357545(0x24d)],'content':this[_0x357545(0x293)]['t'](_0x357545(0x1f9))}),null;}[_0x67af43(0x2bf)](_0x337275){const _0x17e5ed=_0x67af43;let _0x31da34='';switch(_0x337275){case _0x4e76a4[_0x17e5ed(0x25d)]:_0x31da34=this[_0x17e5ed(0x293)]['t'](_0x17e5ed(0x221));break;case _0x4e76a4[_0x17e5ed(0x2ba)]:_0x31da34=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this['_messageService'][_0x17e5ed(0x1ea)]({'type':_0x337275,'content':_0x31da34});}[_0x67af43(0x28e)](_0x35d860){const _0x9f9617=_0x67af43;let _0x4cd779='';switch(_0x35d860){case _0x4e76a4[_0x9f9617(0x25d)]:_0x4cd779=this[_0x9f9617(0x293)]['t'](_0x9f9617(0x1a0));break;case _0x4e76a4['Info']:_0x4cd779=this[_0x9f9617(0x293)]['t'](_0x9f9617(0x1c5));break;default:break;}this[_0x9f9617(0x1ae)][_0x9f9617(0x1ea)]({'type':_0x35d860,'content':_0x4cd779});}[_0x67af43(0x1fe)](){const _0x284e88=_0x67af43;this[_0x284e88(0x20f)][_0x284e88(0x1b1)]({'done':this['_doneUploadTaskCount'],'count':this[_0x284e88(0x251)]});}['_addTotalCount'](_0x333511){const _0x18c6b1=_0x67af43;this[_0x18c6b1(0x251)]+=_0x333511,this[_0x18c6b1(0x1fe)]();}[_0x67af43(0x20d)](_0x498e6f){const _0x46ce2d=_0x67af43;this[_0x46ce2d(0x26e)]+=_0x498e6f,this[_0x46ce2d(0x26e)]=Math[_0x46ce2d(0x1af)](this[_0x46ce2d(0x26e)],this[_0x46ce2d(0x251)]),this[_0x46ce2d(0x1fe)]();}[_0x67af43(0x165)](){const _0x2a89ff=_0x67af43;this[_0x2a89ff(0x26e)]=this[_0x2a89ff(0x251)],this[_0x2a89ff(0x1fe)]();}[_0x67af43(0x17a)](){const _0x4acb26=_0x67af43;this[_0x4acb26(0x26e)]=0x0,this['_totalUploadTaskCount']=0x0,this['_emitProgress']();}['_fileTypeError'](_0x8ef5e2,_0x525047){const _0x44929f=_0x67af43;let _0x130a08=_0x8ef5e2[0x0],_0x2938b5=_0x130a08[_0x44929f(0x1c1)];return ze(_0x130a08,_0x525047)?!0x1:(this[_0x44929f(0x1ae)][_0x44929f(0x1ea)]({'type':_0x4e76a4[_0x44929f(0x24d)],'content':this[_0x44929f(0x293)]['t']('exchange-client.fileTypeError',_0x2938b5)}),!0x0);}[_0x67af43(0x1f6)](){const _0x1e5e97=_0x67af43;return this[_0x1e5e97(0x251)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x1e5e97(0x251)];}};Z=W([U(0x0,_0x5ac304(_0x5a04e6)),U(0x1,_0x1a9b3a),U(0x2,_0x5ac304(_0x529199)),U(0x3,_0x5ac304(J)),U(0x4,_0x5ac304(q)),U(0x5,_0x145bdb)],Z);function st(_0x1f2799){const _0x3ee17a=_0x67af43;let {onClick:_0x107ddf,children:_0x4aee13,className:_0x424a9a}=_0x1f2799;return _0x4e3b3f(_0x1e8c04,{'size':_0x3ee17a(0x294),'variant':_0x3ee17a(0x289),'className':_0x4eb781(_0x3ee17a(0x173),_0x424a9a),'type':_0x3ee17a(0x188),'onClick':_0x107ddf,'children':_0x4aee13});}function _0x11c6(_0x10c442,_0x441e13){_0x10c442=_0x10c442-0x15e;const _0x372555=_0x3725();let _0x11c688=_0x372555[_0x10c442];return _0x11c688;}function ct(){const _0x2c79a4=_0x67af43;let _0x3510ba=_0x293a00(X),_0x102d8b=_0x293a00(_0x529199);function _0x1fd6b9(){const _0x15723b=_0x11c6;return _0x3510ba[_0x15723b(0x275)]();}return _0x4e3b3f(st,{'onClick':_0x1fd6b9,'children':_0x102d8b['t'](_0x2c79a4(0x263))});}function lt(){const _0x55231d=_0x67af43;return _0x2034a5(_0x55231d(0x28f),{'className':_0x55231d(0x164),'children':[_0x4e3b3f(_0x55231d(0x195),{'className':_0x55231d(0x161),'children':_0x293a00(_0x529199)['t'](_0x55231d(0x176))}),_0x4e3b3f(ct,{})]});}function ut(_0x39f560){const _0x4203d5=_0x67af43;let {count:_0x530cbb}=_0x39f560;return _0x2034a5(_0x4203d5(0x28f),{'className':_0x4203d5(0x24f),'children':[_0x4e3b3f(_0x4203d5(0x195),{'className':_0x4203d5(0x193),'children':_0x293a00(_0x529199)['t'](_0x4203d5(0x1e8),''+_0x530cbb)}),_0x4e3b3f(ct,{})]});}function dt(){let _0x2dc958=_0x293a00(X),_0x2b62ed=_0x293a00(_0x529199);function _0x24e161(){const _0x1eba4b=_0x11c6;_0x2dc958[_0x1eba4b(0x250)]();}return _0x4e3b3f(st,{'onClick':_0x24e161,'children':_0x2b62ed['t']('exchange-client.cancel')});}function ft(){const _0x1d9b7f=_0x67af43;let {count:_0x4cdec9,done:_0xcffe27}=_0x47df85(_0x293a00(X)[_0x1d9b7f(0x194)]),_0x4aa7fc=_0x4cdec9>0x0?_0xcffe27/_0x4cdec9:0x0;return _0x4e3b3f('div',{'className':_0x1d9b7f(0x208),'children':_0x4e3b3f(_0x1d9b7f(0x28f),{'className':_0x1d9b7f(0x252),'style':{'width':Math[_0x1d9b7f(0x25f)](_0x4aa7fc*0x64)+'%'}})});}function pt(){const _0xd4e9df=_0x67af43;return _0x2034a5(_0xd4e9df(0x28f),{'className':_0xd4e9df(0x164),'children':[_0x4e3b3f('span',{'className':_0xd4e9df(0x1ef),'children':_0x293a00(_0x529199)['t'](_0xd4e9df(0x237))}),_0x4e3b3f('div',{'className':_0xd4e9df(0x1ca),'children':_0x4e3b3f(ft,{})}),_0x4e3b3f(dt,{})]});}const mt={0x1:_0x4e3b3f(_0x548550,{'className':_0x67af43(0x2bd)}),0x0:_0x4e3b3f(_0x5c74c8,{'className':'univer-text-blue-500'}),0x2:_0x4e3b3f(_0x470829,{'className':'univer-text-red-500'})};function ht(){const _0x4e71d5=_0x67af43;let _0x210b24=_0x293a00(q),_0x98b128=_0x293a00(_0x529199),_0x24c46f=_0x47df85(_0x210b24['state$'],0x0),_0x489bc6=_0x47df85(_0x210b24[_0x4e71d5(0x1c3)],!0x1),_0x5b65e9=_0x47df85(_0x210b24['list$'],[]);function _0x1dad2b(){_0x210b24['hide']();}function _0xb6c5f2(_0x53e9c2){const _0x34fc6f=_0x4e71d5;switch(_0x53e9c2){case 0x1:return _0x98b128['t'](_0x34fc6f(0x1a0));case 0x0:return _0x98b128['t']('exchange-client.uploading');case 0x2:return _0x98b128['t'](_0x34fc6f(0x1cf));default:return'';}}return _0x489bc6&&_0x2034a5(_0x4e71d5(0x28f),{'className':_0x4e71d5(0x199),'children':[_0x2034a5(_0x4e71d5(0x28f),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[_0x2034a5('span',{'className':_0x4e71d5(0x27c),'children':[_0x4e3b3f(_0x4e71d5(0x195),{'className':_0x4e71d5(0x257),'children':mt[_0x24c46f]}),_0x4e3b3f('span',{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0xb6c5f2(_0x24c46f)})]}),_0x4e3b3f(_0x4e71d5(0x195),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x1dad2b,'children':_0x4e3b3f(_0x43b669,{})})]}),_0x2034a5(_0x4e71d5(0x28f),{'children':[_0x24c46f===0x0&&_0x4e3b3f(pt,{}),_0x24c46f===0x2&&_0x4e3b3f(lt,{}),_0x5b65e9[_0x4e71d5(0x172)]>0x0&&_0x4e3b3f(at,{'list':_0x5b65e9}),_0x24c46f===0x1&&_0x4e3b3f(ut,{'count':_0x5b65e9[_0x4e71d5(0x172)]})]})]});}let Q=class extends _0x2f4977{constructor(_0x813bac,_0x296168){const _0x49aeb3=_0x67af43;super(),this['_injector']=_0x813bac,this[_0x49aeb3(0x230)]=_0x296168,this[_0x49aeb3(0x21f)]();}[_0x67af43(0x21f)](){const _0x5c5246=_0x67af43;this[_0x5c5246(0x286)](this[_0x5c5246(0x230)][_0x5c5246(0x2b0)](_0x116151[_0x5c5246(0x283)],()=>_0x539370(ht,this[_0x5c5246(0x259)])));}};Q=W([U(0x0,_0x5ac304(_0x48222c)),U(0x1,_0x4d8bd7)],Q);let $=class extends _0x31cf87{constructor(_0x5efdd9=k,_0x3e9b22,_0x51fafa){const _0x478954=_0x67af43;super(),this[_0x478954(0x185)]=_0x5efdd9,this[_0x478954(0x259)]=_0x3e9b22,this[_0x478954(0x1d7)]=_0x51fafa;let {..._0x311ea0}=_0x444f78({},k,this['_config']);this[_0x478954(0x1d7)][_0x478954(0x225)](O,_0x311ea0);}[_0x67af43(0x171)](){const _0x118343=_0x67af43;_0x4b5e80(this[_0x118343(0x259)],[[K],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[tt,{'useClass':G}],[q,{'useClass':it}]]);}['onReady'](){const _0x280121=_0x67af43;_0x4c55e9(this[_0x280121(0x259)],[[K],[Q],[X]]);}};H($,_0x67af43(0x23d),_0x67af43(0x180)),H($,'packageName',Pe),H($,_0x67af43(0x178),Fe),$=W([_0x169aab(_0x4879c3,_0x5186fe),U(0x1,_0x5ac304(_0x48222c)),U(0x2,_0x360230)],$);function gt(_0x208d73,_0x42cd57){const _0x12f75c=_0x67af43;let _0x39d22e=_0x208d73[_0x12f75c(0x218)](_0x5a04e6)[_0x12f75c(0x1e9)](_0x42cd57);return!_0x39d22e||!_0x208d73[_0x12f75c(0x1cc)](_0x1cdb69)||!_0x208d73[_0x12f75c(0x1cc)](_0x909ffc)?!0x1:_0x208d73[_0x12f75c(0x218)](_0x1cdb69)[_0x12f75c(0x1fc)](_0x39d22e);}function _t(_0x176010){const _0x55bdcf=_0x67af43;let _0x319c18=_0x176010[_0x55bdcf(0x239)];if(!_0x319c18)return null;let _0x5c4ed6={};_0x319c18[_0x55bdcf(0x23f)]&&Object[_0x55bdcf(0x186)](_0x319c18[_0x55bdcf(0x23f)])['forEach'](_0x3d4ca6=>{const _0x4ac56d=_0x55bdcf;let _0x471614=_0x319c18[_0x4ac56d(0x23f)][_0x3d4ca6];_0x5c4ed6[_0x3d4ca6]={..._0x471614,'originalMeta':_0x4c5e06(_0xb1d071[_0x4ac56d(0x1ce)](_0x471614[_0x4ac56d(0x2af)]))};});let _0x3114a2=_0x4c5e06(_0xb1d071[_0x55bdcf(0x1ce)](_0x319c18['originalMeta']));return{..._0x176010,'workbook':{..._0x319c18,'originalMeta':_0x3114a2,'sheets':_0x5c4ed6},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function vt(_0x164100){const _0x2d12d5=_0x67af43;let _0x32dfbf={};return _0x164100[_0x2d12d5(0x271)](_0xc275de=>{const _0x36da54=_0x2d12d5;_0x32dfbf[_0xc275de['id']]={..._0xc275de,'data':_0x4c5e06(_0xb1d071[_0x36da54(0x1ce)](_0xc275de['data']))};}),_0x32dfbf;}var yt=class{constructor(){const _0x598ef9=_0x67af43;H(this,_0x598ef9(0x241),new Map());}[_0x67af43(0x2b4)](){return Promise['resolve']({'snapshot':{'unitID':'','type':_0x55e920['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x261329['OK'],'message':''}});}['getSheetBlock'](_0x4ce6cd,_0x284987){const _0x3cf476=_0x67af43;let _0x514e95=this[_0x3cf476(0x241)][_0x3cf476(0x218)](_0x284987[_0x3cf476(0x18f)]);return Promise[_0x3cf476(0x29b)]({'block':_0x514e95,'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x26c)](_0x1c63d9,_0x534037){const _0xf7043b=_0x67af43;let _0x4a8c54=this[_0xf7043b(0x241)][_0xf7043b(0x218)](_0x534037[_0xf7043b(0x18f)]);return Promise['resolve']({'block':_0x4a8c54===void 0x0?void 0x0:{..._0x4a8c54,'data':JSON[_0xf7043b(0x288)](_0xb1d071[_0xf7043b(0x1ce)](_0x4a8c54['data']))},'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x16b)](){const _0x2be927=_0x67af43;return Promise[_0x2be927(0x29b)]({'changesets':[],'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x290)](){return Promise['resolve']({'resources':{},'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x166)](){const _0x343ae8=_0x67af43;return Promise[_0x343ae8(0x29b)]({'error':{'code':_0x261329['OK'],'message':''}});}['updateSnapshot'](){return Promise['resolve']({'error':{'code':_0x261329['OK'],'message':''}});}[_0x67af43(0x170)](_0x3b446c,_0x159ba7){const _0x14817b=_0x67af43;let {block:_0x221f47}=_0x159ba7;return _0x221f47?(this[_0x14817b(0x241)][_0x14817b(0x299)](_0x221f47['id'],_0x221f47),Promise[_0x14817b(0x29b)]({'error':{'code':_0x261329['OK'],'message':''},'blockID':_0x221f47['id']})):Promise['resolve']({'error':{'code':_0x261329[_0x14817b(0x25e)],'message':_0x14817b(0x1d3)},'blockID':''});}[_0x67af43(0x2a9)](){return Promise['resolve']({'error':{'code':_0x261329['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x3db675=_0x67af43;return Promise[_0x3db675(0x29b)]({'error':void 0x0,'fileMetaId':''});}[_0x67af43(0x217)](){const _0x13b9c7=_0x67af43;return Promise[_0x13b9c7(0x29b)]({'error':void 0x0,'latestReqID':0x0});}};export{yt as ClientSnapshotServerService,nt as EXPORT_FORMAT_DIALOG,et as ExchangeBaseExportMode,$e as ExchangeBaseFormulaPolicy,Qe as ExchangeBaseImportMode,Ze as ExchangeFormat,X as IExchangeOperateService,J as IExchangeService,Xe as ImportOutputType,$ as UniverExchangeClientPlugin,gt as isCurrentUnitLoadedFromServer,vt as transformSheetBlockMetaToString,_t as transformWorkbookSnapshotMetaToString};
|
package/lib/es/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x334310=_0x1f7d;function _0x3d3d(){const _0x5ec9bb=['يرجى\x20الانتظار...','187513kPXPrw','10665EYfoDn','68hfqAtz','تم\x20رفع\x20الملف\x20بنجاح','البيانات\x20كبيرة\x20جداً','خطأ\x20في\x20الشبكة','70530VFNsSK','1624EWwVtq','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','خطأ\x20غير\x20معروف','14273RHxWSK','جارٍ\x20الرفع','1734170SxfrhJ','6100vCZHTF','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','319500ceFyKn','2808606pfaDtZ','إلغاء','خطأ\x20داخلي\x20غير\x20معروف','جارٍ\x20التحميل','تأكيد'];_0x3d3d=function(){return _0x5ec9bb;};return _0x3d3d();}(function(_0x5e4512,_0x1c337c){const _0x54d6c6=_0x1f7d,_0x15277e=_0x5e4512();while(!![]){try{const _0x4379b0=-parseInt(_0x54d6c6(0x7b))/0x1+-parseInt(_0x54d6c6(0x74))/0x2+-parseInt(_0x54d6c6(0x6b))/0x3*(-parseInt(_0x54d6c6(0x7d))/0x4)+-parseInt(_0x54d6c6(0x71))/0x5+-parseInt(_0x54d6c6(0x75))/0x6+parseInt(_0x54d6c6(0x6f))/0x7*(parseInt(_0x54d6c6(0x6c))/0x8)+parseInt(_0x54d6c6(0x7c))/0x9*(parseInt(_0x54d6c6(0x72))/0xa);if(_0x4379b0===_0x1c337c)break;else _0x15277e['push'](_0x15277e['shift']());}catch(_0x194582){_0x15277e['push'](_0x15277e['shift']());}}}(_0x3d3d,0x5b5df));function _0x1f7d(_0x5d56a1,_0x53fa3a){_0x5d56a1=_0x5d56a1-0x68;const _0x3d3d50=_0x3d3d();let _0x1f7d6e=_0x3d3d50[_0x5d56a1];return _0x1f7d6e;}const e={'exchange-client':{'uploading':_0x334310(0x70),'uploadSuccess':_0x334310(0x68),'uploadSuccessTip':'تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','downloading':_0x334310(0x78),'downloadSuccess':'تم\x20التحميل\x20بنجاح','unknownMistake':_0x334310(0x6e),'networkError':_0x334310(0x6a),'tooLarge':_0x334310(0x69),'internalError':_0x334310(0x77),'interrupt':_0x334310(0x73),'fileTypeError':_0x334310(0x6d),'wait':_0x334310(0x7a),'cancel':_0x334310(0x76),'confirm':_0x334310(0x79),'uploadAgain':'إعادة\x20الرفع'}};export{e as default};
|
package/lib/es/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x40ad2b=_0xa971;function _0x379a(){const _0x2fc7ca=['{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Descarregant','214003hPRjke','240TlVLwO','160IzjsPg','Les\x20dades\x20són\x20massa\x20grans','Confirmar','830785fZWWYh','3ZlRWnu','203189kzMyBB','Descàrrega\x20correcta','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','1460652tiMOUI','Error\x20desconegut','83025OyHkuQ','Espereu...','801980LbHPDH','Pujant','Error\x20de\x20xarxa','17484910vIklvJ'];_0x379a=function(){return _0x2fc7ca;};return _0x379a();}(function(_0x2e5148,_0x129bf6){const _0x45e1ee=_0xa971,_0x24e4ca=_0x2e5148();while(!![]){try{const _0x31523c=parseInt(_0x45e1ee(0x11b))/0x1+parseInt(_0x45e1ee(0x129))/0x2+parseInt(_0x45e1ee(0x121))/0x3*(-parseInt(_0x45e1ee(0x125))/0x4)+-parseInt(_0x45e1ee(0x120))/0x5+-parseInt(_0x45e1ee(0x11c))/0x6*(parseInt(_0x45e1ee(0x122))/0x7)+-parseInt(_0x45e1ee(0x11d))/0x8*(-parseInt(_0x45e1ee(0x127))/0x9)+parseInt(_0x45e1ee(0x118))/0xa;if(_0x31523c===_0x129bf6)break;else _0x24e4ca['push'](_0x24e4ca['shift']());}catch(_0x5a0027){_0x24e4ca['push'](_0x24e4ca['shift']());}}}(_0x379a,0xd0e20));const e={'exchange-client':{'uploading':_0x40ad2b(0x116),'uploadSuccess':'Fitxer\x20pujat\x20correctament','uploadSuccessTip':_0x40ad2b(0x119),'downloading':_0x40ad2b(0x11a),'downloadSuccess':_0x40ad2b(0x123),'unknownMistake':_0x40ad2b(0x126),'networkError':_0x40ad2b(0x117),'tooLarge':_0x40ad2b(0x11e),'internalError':'Error\x20intern\x20desconegut','interrupt':'La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','fileTypeError':_0x40ad2b(0x124),'wait':_0x40ad2b(0x128),'cancel':'Cancel·lar','confirm':_0x40ad2b(0x11f),'uploadAgain':'Tornar\x20a\x20pujar'}};function _0xa971(_0x1c7cb5,_0x98ee07){_0x1c7cb5=_0x1c7cb5-0x116;const _0x379aa4=_0x379a();let _0xa971ad=_0x379aa4[_0x1c7cb5];return _0xa971ad;}export{e as default};
|