@univerjs-pro/exchange-client 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/locale/ko-KR.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-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.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-TW.js +1 -1
- package/package.json +10 -10
package/lib/es/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x338aeb=_0xf9d3;function _0x5b8e(){const _0x17138b=['7ykHqyq','583692dWcXPa','160VvOkqJ','Загрузка','Данные\x20слишком\x20большие','Скачивание\x20успешно','Скачивание','15bBDvss','Файл','Неизвестная\x20ошибка','Загрузить\x20снова','Открыть(Файл)','Файл\x20успешно\x20загружен','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','6937288qVkfZF','Сетевая\x20ошибка','Пожалуйста,\x20подождите...','3985632XJrxJB','Внутренняя\x20неизвестная\x20ошибка','894453NapOej','878916gnkgJR','4341545usxyre','{0}\x20файл(ов)\x20успешно\x20загружен(о)','1242234uDSxXd'];_0x5b8e=function(){return _0x17138b;};return _0x5b8e();}function _0xf9d3(_0x2bcf17,_0x2a60b7){_0x2bcf17=_0x2bcf17-0xda;const _0x5b8e10=_0x5b8e();let _0xf9d3a8=_0x5b8e10[_0x2bcf17];return _0xf9d3a8;}(function(_0x2a188e,_0x5ca667){const _0x149e45=_0xf9d3,_0x5d9a78=_0x2a188e();while(!![]){try{const _0x52a9b6=parseInt(_0x149e45(0xe3))/0x1+parseInt(_0x149e45(0xe4))/0x2+parseInt(_0x149e45(0xef))/0x3*(parseInt(_0x149e45(0xe9))/0x4)+parseInt(_0x149e45(0xe5))/0x5+parseInt(_0x149e45(0xe1))/0x6+parseInt(_0x149e45(0xe8))/0x7*(-parseInt(_0x149e45(0xde))/0x8)+-parseInt(_0x149e45(0xe7))/0x9*(parseInt(_0x149e45(0xea))/0xa);if(_0x52a9b6===_0x5ca667)break;else _0x5d9a78['push'](_0x5d9a78['shift']());}catch(_0xb5bb71){_0x5d9a78['push'](_0x5d9a78['shift']());}}}(_0x5b8e,0x7f152));const e={'exchange':{'file':_0x338aeb(0xf0),'upload':_0x338aeb(0xdb),'download':'Сохранить\x20как','uploading':_0x338aeb(0xeb),'uploadSuccess':_0x338aeb(0xdc),'uploadSuccessTip':_0x338aeb(0xe6),'downloading':_0x338aeb(0xee),'downloadSuccess':_0x338aeb(0xed),'unknownMistake':_0x338aeb(0xf1),'networkError':_0x338aeb(0xdf),'tooLarge':_0x338aeb(0xec),'internalError':_0x338aeb(0xe2),'interrupt':_0x338aeb(0xdd),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x338aeb(0xe0),'cancel':'Отмена','uploadAgain':_0x338aeb(0xda)}};export{e as default};
|
package/lib/es/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x130d25=_0x220b;(function(_0x4137e6,_0x2a27b6){const _0x3054cc=_0x220b,_0xe22eab=_0x4137e6();while(!![]){try{const _0x47cf75=parseInt(_0x3054cc(0x146))/0x1+parseInt(_0x3054cc(0x147))/0x2*(-parseInt(_0x3054cc(0x139))/0x3)+parseInt(_0x3054cc(0x133))/0x4*(-parseInt(_0x3054cc(0x13b))/0x5)+parseInt(_0x3054cc(0x130))/0x6*(-parseInt(_0x3054cc(0x13f))/0x7)+-parseInt(_0x3054cc(0x131))/0x8+-parseInt(_0x3054cc(0x142))/0x9+parseInt(_0x3054cc(0x134))/0xa;if(_0x47cf75===_0x2a27b6)break;else _0xe22eab['push'](_0xe22eab['shift']());}catch(_0x5d46bf){_0xe22eab['push'](_0xe22eab['shift']());}}}(_0x2d17,0xae6c6));const e={'exchange':{'file':_0x130d25(0x141),'upload':_0x130d25(0x136),'download':_0x130d25(0x143),'uploading':_0x130d25(0x135),'uploadSuccess':_0x130d25(0x13d),'uploadSuccessTip':_0x130d25(0x13a),'downloading':_0x130d25(0x145),'downloadSuccess':_0x130d25(0x144),'unknownMistake':'Neznáma\x20chyba','networkError':_0x130d25(0x137),'tooLarge':_0x130d25(0x132),'internalError':'Interná\x20neznáma\x20chyba','interrupt':_0x130d25(0x13e),'fileTypeError':_0x130d25(0x138),'wait':_0x130d25(0x140),'cancel':'Zrušiť','uploadAgain':_0x130d25(0x13c)}};export{e as default};function _0x220b(_0x6fefb3,_0x17fe27){_0x6fefb3=_0x6fefb3-0x130;const _0x2d1715=_0x2d17();let _0x220b6c=_0x2d1715[_0x6fefb3];return _0x220b6c;}function _0x2d17(){const _0x314399=['Sťahovanie','531221Yqxmox','58234yUWfVO','30xpdeHh','1771672cfeWYt','Dáta\x20sú\x20príliš\x20veľké','204cApYJD','33400860bnItiJ','Nahrávanie','Otvoriť\x20(súbor)','Sieťová\x20chyba','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','111jRAsoI','Úspešne\x20nahraných\x20{0}\x20súborov','60110OvuwuS','Nahrať\x20znova','Súbor\x20bol\x20úspešne\x20nahraný','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','633367wiJSUa','Prosím\x20počkajte...','Súbor','7132986yYZREq','Uložiť\x20ako','Sťahovanie\x20úspešné'];_0x2d17=function(){return _0x314399;};return _0x2d17();}
|
package/lib/es/locale/vi-VN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2da62a=_0xd05a;(function(_0x1e2320,_0x14121c){const _0x1fa6a9=_0xd05a,_0x74e44d=_0x1e2320();while(!![]){try{const _0x4bafb6=-parseInt(_0x1fa6a9(0x152))/0x1*(-parseInt(_0x1fa6a9(0x15c))/0x2)+parseInt(_0x1fa6a9(0x161))/0x3*(-parseInt(_0x1fa6a9(0x15e))/0x4)+-parseInt(_0x1fa6a9(0x14f))/0x5+parseInt(_0x1fa6a9(0x155))/0x6+parseInt(_0x1fa6a9(0x14c))/0x7+parseInt(_0x1fa6a9(0x154))/0x8*(parseInt(_0x1fa6a9(0x15d))/0x9)+-parseInt(_0x1fa6a9(0x151))/0xa;if(_0x4bafb6===_0x14121c)break;else _0x74e44d['push'](_0x74e44d['shift']());}catch(_0x18ef38){_0x74e44d['push'](_0x74e44d['shift']());}}}(_0x1ce8,0x88c6f));const e={'exchange':{'file':_0x2da62a(0x15a),'upload':_0x2da62a(0x14d),'download':_0x2da62a(0x14b),'uploading':_0x2da62a(0x160),'uploadSuccess':_0x2da62a(0x15b),'uploadSuccessTip':_0x2da62a(0x150),'downloading':_0x2da62a(0x158),'downloadSuccess':_0x2da62a(0x14e),'unknownMistake':'Lỗi\x20không\x20xác\x20định','networkError':_0x2da62a(0x159),'tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0x2da62a(0x156),'interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':'Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','wait':_0x2da62a(0x153),'cancel':_0x2da62a(0x157),'uploadAgain':_0x2da62a(0x15f)}};function _0xd05a(_0x173c3a,_0x17c523){_0x173c3a=_0x173c3a-0x14b;const _0x1ce84f=_0x1ce8();let _0xd05a32=_0x1ce84f[_0x173c3a];return _0xd05a32;}export{e as default};function _0x1ce8(){const _0x26a5df=['2169030XtsvtA','{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','5866360pYwbMe','1olVPNC','Vui\x20lòng\x20đợi...','8xJtWZq','4772532qWAtPa','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Hủy\x20bỏ','Đang\x20tải\x20xuống','Lỗi\x20mạng','Tệp','Tải\x20lên\x20tệp\x20thành\x20công','582614rPlfbY','6214563vXrtlc','65692FHTGWE','Tải\x20lên\x20lại','Đang\x20tải\x20lên','78RHJleQ','Lưu\x20dưới\x20dạng','1613101xkUDdQ','Mở\x20(Tệp)','Tải\x20xuống\x20thành\x20công'];_0x1ce8=function(){return _0x26a5df;};return _0x1ce8();}
|
package/lib/es/locale/zh-CN.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x78ad30=_0x2f1e;(function(_0xc0a807,_0x32e709){const _0x55b12e=_0x2f1e,_0x16b317=_0xc0a807();while(!![]){try{const _0x500985=parseInt(_0x55b12e(0xdd))/0x1*(-parseInt(_0x55b12e(0xd9))/0x2)+-parseInt(_0x55b12e(0xe4))/0x3*(-parseInt(_0x55b12e(0xdf))/0x4)+-parseInt(_0x55b12e(0xdb))/0x5+-parseInt(_0x55b12e(0xd8))/0x6*(parseInt(_0x55b12e(0xe5))/0x7)+-parseInt(_0x55b12e(0xd0))/0x8*(parseInt(_0x55b12e(0xe0))/0x9)+parseInt(_0x55b12e(0xd5))/0xa+parseInt(_0x55b12e(0xd3))/0xb*(parseInt(_0x55b12e(0xd4))/0xc);if(_0x500985===_0x32e709)break;else _0x16b317['push'](_0x16b317['shift']());}catch(_0x3a686c){_0x16b317['push'](_0x16b317['shift']());}}}(_0x55d7,0x9245a));const e={'exchange':{'file':'文件','upload':'打开(文件)','download':_0x78ad30(0xdc),'uploading':_0x78ad30(0xe2),'uploadSuccess':'文件上传成功','uploadSuccessTip':_0x78ad30(0xd6),'downloading':'下载中','downloadSuccess':_0x78ad30(0xd1),'unknownMistake':_0x78ad30(0xda),'networkError':'网络异常','tooLarge':_0x78ad30(0xd7),'internalError':_0x78ad30(0xde),'interrupt':_0x78ad30(0xe1),'fileTypeError':_0x78ad30(0xe3),'wait':_0x78ad30(0xd2),'cancel':'取消','uploadAgain':'再次上传'}};export{e as default};function _0x2f1e(_0x115951,_0x355753){_0x115951=_0x115951-0xd0;const _0x55d75e=_0x55d7();let _0x2f1efd=_0x55d75e[_0x115951];return _0x2f1efd;}function _0x55d7(){const _0x2908d2=['4233540BzeAZY','另存为','888634FWgUoi','内部未知错误','188SOfzoN','9921438MBsqFC','网络连接中断,文件上传失败','上传中','所选文件\x20[{0}]\x20不支持上传','14697SJBVhT','277403ePpqUv','8GCLoCE','下载成功','请稍等...','23676059BcCHij','12RApjTK','11731190eocfen','{0}个文件上传成功','数据流过大','18wteaTs','2LwjJqt','未知错误'];_0x55d7=function(){return _0x2908d2;};return _0x55d7();}
|
package/lib/es/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4e6903=_0x4759;function _0x4759(_0x24d6fb,_0x3fe8fe){_0x24d6fb=_0x24d6fb-0x157;const _0x20f9db=_0x20f9();let _0x4759fd=_0x20f9db[_0x24d6fb];return _0x4759fd;}(function(_0xcb6647,_0x182796){const _0x16e280=_0x4759,_0xcb04a7=_0xcb6647();while(!![]){try{const _0x88a194=-parseInt(_0x16e280(0x164))/0x1*(parseInt(_0x16e280(0x16a))/0x2)+-parseInt(_0x16e280(0x15b))/0x3+parseInt(_0x16e280(0x161))/0x4*(parseInt(_0x16e280(0x15d))/0x5)+-parseInt(_0x16e280(0x167))/0x6+-parseInt(_0x16e280(0x168))/0x7+parseInt(_0x16e280(0x15a))/0x8+parseInt(_0x16e280(0x157))/0x9;if(_0x88a194===_0x182796)break;else _0xcb04a7['push'](_0xcb04a7['shift']());}catch(_0x3fa865){_0xcb04a7['push'](_0xcb04a7['shift']());}}}(_0x20f9,0x82fe8));const e={'exchange':{'file':'檔案','upload':_0x4e6903(0x158),'download':_0x4e6903(0x163),'uploading':_0x4e6903(0x160),'uploadSuccess':_0x4e6903(0x15e),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x4e6903(0x159),'downloadSuccess':_0x4e6903(0x162),'unknownMistake':_0x4e6903(0x165),'networkError':_0x4e6903(0x166),'tooLarge':'資料流過大','internalError':_0x4e6903(0x15f),'interrupt':_0x4e6903(0x169),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':'請稍等...','cancel':'取消','uploadAgain':_0x4e6903(0x15c)}};function _0x20f9(){const _0x22123d=['網路異常','4354890zhwtGY','1767402SGUEnf','網路連線中斷,檔案上傳失敗','4tQUrJq','18804951SMJZqq','開啟(檔案)','下載中','319648gIhcde','2078970xeFUZI','再次上傳','5YWJgdf','檔案上傳成功','內部未知錯誤','上傳中','1884952GTPxKZ','下載成功','另存為','196395vtauck','未知錯誤'];_0x20f9=function(){return _0x22123d;};return _0x20f9();}export{e as default};
|
package/lib/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x570807=_0x3210;(function(_0x53f828,_0x116de9){const _0x3c430a=_0x3210,_0x30876b=_0x53f828();while(!![]){try{const _0x510e48=parseInt(_0x3c430a(0x9f))/0x1*(parseInt(_0x3c430a(0x99))/0x2)+parseInt(_0x3c430a(0x94))/0x3+parseInt(_0x3c430a(0xaa))/0x4+-parseInt(_0x3c430a(0xab))/0x5+parseInt(_0x3c430a(0x92))/0x6+-parseInt(_0x3c430a(0x9a))/0x7+-parseInt(_0x3c430a(0x98))/0x8;if(_0x510e48===_0x116de9)break;else _0x30876b['push'](_0x30876b['shift']());}catch(_0x4c5c8e){_0x30876b['push'](_0x30876b['shift']());}}}(_0x26ca,0x4db45));import{IExchangeService as _0x882af5}from'@univerjs-pro/exchange-client';import{FUniver as _0x23db0c}from'@univerjs/core/facade';import{UniverType as _0x59c278}from'@univerjs/protocol';function _0x26ca(){const _0x59c022=['exportDOCXByUnitId','UNIVER_DOC','_injector','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','1381212IJrgVx','878745ArdyeT','importDOCXToUnitId','exportXLSXBySnapshot','extend','3427884viGOTF','importDOCXToSnapshot','1658928WWEDqJ','exportDOCXBySnapshot','UNIVER_SHEET','exportDOCXBySnapshotAsync','8502040SVcBjh','1772DVdzYO','363398MfiICY','The\x20exchange\x20service\x20is\x20not\x20available','importFileToUnitId','exportXLSXByUnitId','importXLSXToSnapshot','157MfPQXx','importXLSXToUnitId','get','importXLSXToSnapshotAsync','exportXLSXBySnapshotAsync','exportDOCXByUnitIdAsync'];_0x26ca=function(){return _0x59c022;};return _0x26ca();}var r=class extends _0x23db0c{async[_0x570807(0xa0)](_0x2f03c2){const _0x18aece=_0x570807;return this[_0x18aece(0xa9)](_0x2f03c2);}async[_0x570807(0xa9)](_0x5a23a3){const _0x490f4a=_0x570807;let _0x494150=this[_0x490f4a(0xa7)]['get'](_0x882af5);if(!_0x494150)throw Error(_0x490f4a(0x9b));return _0x494150[_0x490f4a(0x9c)](_0x5a23a3,_0x59c278[_0x490f4a(0x96)]);}async['importXLSXToSnapshot'](_0x1b36fb){const _0x107f45=_0x570807;return this[_0x107f45(0xa2)](_0x1b36fb);}async['importXLSXToSnapshotAsync'](_0x49bc1a){const _0x49c884=_0x570807;let _0x5a57f8=this[_0x49c884(0xa7)][_0x49c884(0xa1)](_0x882af5);if(!_0x5a57f8)throw Error(_0x49c884(0x9b));return _0x5a57f8[_0x49c884(0x9e)](_0x49bc1a);}async['exportXLSXByUnitId'](_0x5ae6f0){const _0x14ff4e=_0x570807;return this[_0x14ff4e(0xa8)](_0x5ae6f0);}async['exportXLSXByUnitIdAsync'](_0x1df820){const _0x118a00=_0x570807;let _0xd0635e=this['_injector'][_0x118a00(0xa1)](_0x882af5);if(!_0xd0635e)throw Error(_0x118a00(0x9b));return _0xd0635e[_0x118a00(0x9d)](_0x1df820);}async[_0x570807(0x90)](_0x475612){const _0x8a4b94=_0x570807;return this[_0x8a4b94(0xa3)](_0x475612);}async[_0x570807(0xa3)](_0x2a6b0f){const _0x3aa57e=_0x570807;let _0x43f676=this[_0x3aa57e(0xa7)][_0x3aa57e(0xa1)](_0x882af5);if(!_0x43f676)throw Error(_0x3aa57e(0x9b));return _0x43f676[_0x3aa57e(0x90)](_0x2a6b0f);}async[_0x570807(0xac)](_0x282d02){return this['importDOCXToUnitIdAsync'](_0x282d02);}async['importDOCXToUnitIdAsync'](_0xc795d8){const _0x58957a=_0x570807;let _0x312934=this[_0x58957a(0xa7)][_0x58957a(0xa1)](_0x882af5);if(!_0x312934)throw Error(_0x58957a(0x9b));return _0x312934[_0x58957a(0x9c)](_0xc795d8,_0x59c278[_0x58957a(0xa6)]);}async[_0x570807(0x93)](_0x3d1938){return this['importDOCXToSnapshotAsync'](_0x3d1938);}async['importDOCXToSnapshotAsync'](_0x18c0e0){const _0x224783=_0x570807;let _0x31a975=this[_0x224783(0xa7)][_0x224783(0xa1)](_0x882af5);if(!_0x31a975)throw Error(_0x224783(0x9b));return _0x31a975[_0x224783(0x93)](_0x18c0e0);}async[_0x570807(0x97)](_0x2ba9c5){const _0x3b08cf=_0x570807;let _0x590280=this['_injector']['get'](_0x882af5);if(!_0x590280)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x590280[_0x3b08cf(0x95)](_0x2ba9c5);}async[_0x570807(0xa4)](_0x4865c5){const _0x8f88a=_0x570807;let _0x3064d8=this[_0x8f88a(0xa7)][_0x8f88a(0xa1)](_0x882af5);if(!_0x3064d8)throw Error(_0x8f88a(0x9b));return _0x3064d8[_0x8f88a(0xa5)](_0x4865c5);}};function _0x3210(_0x3714d6,_0x4e8308){_0x3714d6=_0x3714d6-0x90;const _0x26ca29=_0x26ca();let _0x3210e4=_0x26ca29[_0x3714d6];return _0x3210e4;}_0x23db0c[_0x570807(0x91)](r);export{};
|
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2b998a=_0x6682;(function(_0x36c311,_0x4a7305){const _0x4f6236=_0x6682,_0x100a34=_0x36c311();while(!![]){try{const _0x565d55=parseInt(_0x4f6236(0x15e))/0x1*(parseInt(_0x4f6236(0x1b8))/0x2)+-parseInt(_0x4f6236(0x172))/0x3*(parseInt(_0x4f6236(0x16a))/0x4)+parseInt(_0x4f6236(0x184))/0x5*(-parseInt(_0x4f6236(0x13c))/0x6)+parseInt(_0x4f6236(0x1d3))/0x7*(-parseInt(_0x4f6236(0x140))/0x8)+parseInt(_0x4f6236(0x13f))/0x9*(-parseInt(_0x4f6236(0x241))/0xa)+parseInt(_0x4f6236(0x22b))/0xb*(-parseInt(_0x4f6236(0x17d))/0xc)+parseInt(_0x4f6236(0x13d))/0xd*(parseInt(_0x4f6236(0x1aa))/0xe);if(_0x565d55===_0x4a7305)break;else _0x100a34['push'](_0x100a34['shift']());}catch(_0x277f1a){_0x100a34['push'](_0x100a34['shift']());}}}(_0x4a9b,0xeaacc));import{UniverLicensePlugin as _0x28b177}from'@univerjs-pro/license';import{DependentOn as _0x21c5e8,Disposable as _0x4b61fc,IConfigService as _0x193798,ILogService as _0x37080f,IUniverInstanceService as _0x2a416d,Inject as _0x8c9620,Injector as _0x3a7164,LocaleService as _0x2fd4e0,Plugin as _0x3b8746,UniverInstanceType as _0x10f1d7,createIdentifier as _0x121668,merge as _0x2709db,registerDependencies as _0x4b17b4,resolveWithBasePath as _0x1973d0,toDisposable as _0x5f2a17,touchDependencies as _0x1dbd07}from'@univerjs/core';import{HTTPResponseError as _0x4cfd20,HTTPService as _0xa66fa4,UniverNetworkPlugin as _0x25466c}from'@univerjs/network';import{BuiltInUIPart as _0x3afd3c,IMessageService as _0x31879f,IUIPartsService as _0x323eb9,connectInjector as _0x60fcc4,useDependency as _0x5f3810,useObservable as _0x160843}from'@univerjs/ui';import{ClockIcon as _0x5ebd9e,CloseIcon as _0x63394,DocMultiIcon as _0xca53b8,ErrorIcon as _0x3bf699,ShareRangeIcon as _0x24e88a,SlideMultiIcon as _0x403a9c,SuccessIcon as _0x38e1b5,XlsxMultiIcon as _0x52ede1}from'@univerjs/icons';import{useEffect as _0x5e2ab8,useState as _0x5c3184}from'react';function _0x4a9b(){const _0x238be1=['getConfig','blockID','exportXLSXBySnapshot','_list','error','_messageService','setConfig','sheetBlocks','unshift','_blank','registerComponent','body','_extractErrorDetail','includes','onReady','univer-pro.exchange-client.upload-notification.service','signUrl','_totalUploadTaskCount','originalMeta','exportDOCXBySnapshot','type','?size=','style','UNIVER_EXCHANGE_CLIENT_PLUGIN','univer-flex','default','_buildHttpErrorMessage','/universer-api/file/{fileID}/sign-url','exchange.downloadSuccess','complete','none','UNIT','&flate=','encode','UPLOADING','&source=','onStarting','univer-pl-2\x20univer-pr-4','file','name','_completeProgress','taskID','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','export','_univerInstanceService','_logService','xlsx','catch','saveChangeset','_getImportURL','pending','get','_clearProgress','CONNECTOR_DATA_TOO_LARGE','text','options','upload\x20request\x20failed','Error\x20fetching\x20file\x20from\x20URL:','visible$','location','toString','sign\x20url\x20error','progress$','_config','3258761mphGzf','deflateRaw','_getDisableCellImageConversion','IMPORT','0.18.0','_getUnitDocJson','defineProperty','downloadEndpointUrl','_addDoneTask','file.json','UPLOAD','_configService','Failed\x20to\x20get\x20fileID\x20from\x20task','Warning','outputType','sheets','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','filter','GET_JSON','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-outline-none\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','application/vnd.ms-excel.sheet.macroEnabled.12','Failed\x20to\x20get\x20unitID\x20from\x20task','20820RploXV','Get\x20outputType\x20error','packageName','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','getUnitId','ERROR','exchange.tooLarge','clearTaskInterrupted','_getEnableServerSideComputing','requestState$','{fileID}','_getDownloadEndpointURL','buffer','show','No\x20file\x20selected','getDeserializedSheetBlock','application/vnd.openxmlformats-officedocument.presentationml.presentation','upload\x20failed:\x20missing\x20FileId\x20in\x20response','exportServerUrl','prototype','exportXLSXByUnitId','importXLSXToUnitId','exchange.uploading','asObservable','Failed\x20to\x20parse\x20json','symbol','getSnapshot','_showDownloadMessage','SUCCESS','_emitProgress','JSON','parse','_list$','importServerUrl','message','exchange.networkError','toLowerCase','join','_getSignURL','CONTENT','createElement','univer-h-6\x20univer-text-2xl','FileId','_exchangeService','getResourcesRequest','EXPORT','_uploadNotificationService','_injector','download','snapshot','import\x20error','Error\x20getting\x20file\x20name\x20from\x20URL:','fetchMissingChangesets','split','UNIVER_PROJECT','_fileTypeError','href','_getMinSheetColumnCount','content-disposition','Failed\x20to\x20transform\x20snapshot\x20to\x20string','getTask','object','Content-Type','accept','exchange.internalError','_requestService','docx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_uiPartsService','exportDOCXByUnitId','state$','_getMinSheetRowCount','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','565914tvcveK','862329UDHhwt','trim','1233aPEdXZ','320744XsOESS','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','exchange.unknownMistake','exchange.uploadSuccessTip','signUrlServerUrl','_getUploadFileURL','{taskID}','_state$','_importFileToUnitId','Method\x20not\x20implemented.','importFileToUnitId','/universer-api/stream/file/upload','append','_visible$','next','updateState','display','replace','workbook','GET_FILE','code','copyFileMeta','doc','enableServerSideComputing','workbook.json','forEach','function','interrupt','289BAbXEv','upload\x20failed:\x20FileId\x20is\x20empty','@univerjs-pro/exchange-client','list$','dispose','blob','_buildProtocolErrorMessage','Failed\x20to\x20get\x20jsonID\x20from\x20task','GET_TASK','pop','exchange.fileTypeError','Success','44eyXOre','unsubscribe','pushLink','searchParams','_progress$','_getUnitJson','getLatestCsReqIdBySid','application/octet-stream','386580ELsUhw','UNIVER_SHEET','files','_getLinkByUnitId','revokeObjectURL','success','_export','number','string','univer-mt-5\x20univer-flex\x20univer-flex-col','_showUploadMessage','36jXbExN','univer-text-red-500','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_taskInterrupted','INTERNAL_ERROR','upload','/universer-api/exchange/{type}/import','20KxXNdj','_requestState$','click','xltx','ignoreTableExport','application/vnd.openxmlformats-officedocument.wordprocessingml.document','setTaskInterrupted','origin','keys','_import','hide','input','decorate','_importToSnapshot','_getUnitID','status','Error','exchange.cancel','post','univer-pro.exchange-client.operate.service','file.','decode','version','_getUnitName','block\x20is\x20required','univer-pro.exchange-client.request.service','importDOCXToSnapshot','exchange.uploadAgain','UNDEFINED','clear','Info','_sheetBlockCache','iterator','call','getOwnPropertyDescriptor','{type}','minSheetColumnCount','noreferrer','1036rcHzhK','title','span','UNIVER_DOC','Failed\x20to\x20get\x20text\x20from\x20url','application/json','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_localeService','div','univer-text-blue-500','getSheetBlock','done','_signUrl','importXLSXToSnapshot','4048IctyLf','_upload','_exportBySnapshot','unit','length','import','resolve','statusText','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','UNRECOGNIZED','disposeWithMe','_getIgnoreTableExport','removeChild','set','headers','UNIVER_SLIDE','Failed\x20to\x20get\x20file\x20from\x20url','_getTaskURL','_getUnitIDDoc','rev','exchange.interrupt','_doneUploadTaskCount','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','univer-text-sm\x20univer-text-gray-500','_refresh','data','min','273bsEqJB','exchange.wait','_importTaskId','SIGN_URL','disposeUnit','_httpService','_uploadTaskNotDone','_getExportURL','stringify','_getMaxPollingTime','_registerComponents','saveSnapshot','uploadFileServerUrl','getTextFromUrl','/universer-api/exchange/{type}/export','multiple','map','univer-pro.exchange-client.exchange.service','getCurrentUnitOfType','UNIVER_UNKNOWN','pluginName','subscribe','.json','\x20-\x20'];_0x4a9b=function(){return _0x238be1;};return _0x4a9b();}import{BehaviorSubject as _0x4ad178,Subject as _0x53fd27}from'rxjs';import{MessageType as _0x39b12d,Tooltip as _0x523557,clsx as _0x1b02ba,scrollbarClassName as _0x30a967}from'@univerjs/design';import{jsx as _0x5c3c42,jsxs as _0x2d7603}from'react/jsx-runtime';import{ErrorCode as _0x5e7506,FileSource as _0x13bc75,UniverType as _0x3d923b}from'@univerjs/protocol';import{b64DecodeUnicode as _0x20e7fb,b64EncodeUnicode as _0x53e3bb,getSheetBlocksFromSnapshot as _0x3f984f,textDecoder as _0x351350,textEncoder as _0x5cc35b,transformDocumentDataToSnapshot as _0x3882de,transformSnapshotToDocumentData as _0x445c2e,transformSnapshotToWorkbookData as _0x11e66e,transformWorkbookDataToSnapshot as _0x5db85a}from'@univerjs-pro/collaboration';import _0x3b7854 from'pako';const C='exchange-client.config';Symbol(C);const w={};var Pe=_0x2b998a(0x160),Fe=_0x2b998a(0x22f);function T(_0x50e817){'@babel/helpers - typeof';const _0x6b6698=_0x2b998a;return T=typeof Symbol==_0x6b6698(0x15c)&&typeof Symbol[_0x6b6698(0x1a4)]=='symbol'?function(_0x473e6a){return typeof _0x473e6a;}:function(_0x32bab1){const _0x178610=_0x6b6698;return _0x32bab1&&typeof Symbol=='function'&&_0x32bab1['constructor']===Symbol&&_0x32bab1!==Symbol[_0x178610(0x254)]?_0x178610(0x25a):typeof _0x32bab1;},T(_0x50e817);}function Ie(_0x12c2b4,_0x32b9f7){const _0x337d66=_0x2b998a;if(T(_0x12c2b4)!='object'||!_0x12c2b4)return _0x12c2b4;var _0x12701e=_0x12c2b4[Symbol['toPrimitive']];if(_0x12701e!==void 0x0){var _0x347ef1=_0x12701e[_0x337d66(0x1a5)](_0x12c2b4,_0x32b9f7||_0x337d66(0x204));if(T(_0x347ef1)!=_0x337d66(0x27e))return _0x347ef1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x32b9f7==='string'?String:Number)(_0x12c2b4);}function Le(_0x42a042){const _0x56d256=_0x2b998a;var _0x313529=Ie(_0x42a042,_0x56d256(0x17a));return T(_0x313529)==_0x56d256(0x25a)?_0x313529:_0x313529+'';}function E(_0x201bab,_0xf5bac6,_0x1dab94){const _0x5d56de=_0x2b998a;return(_0xf5bac6=Le(_0xf5bac6))in _0x201bab?Object[_0x5d56de(0x231)](_0x201bab,_0xf5bac6,{'value':_0x1dab94,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x201bab[_0xf5bac6]=_0x1dab94,_0x201bab;}let D=function(_0x2632a8){const _0x5b5f88=_0x2b998a;return _0x2632a8[_0x2632a8[_0x5b5f88(0x20d)]=0x0]=_0x5b5f88(0x20d),_0x2632a8[_0x2632a8[_0x5b5f88(0x25d)]=0x1]=_0x5b5f88(0x25d),_0x2632a8[_0x2632a8[_0x5b5f88(0x246)]=0x2]=_0x5b5f88(0x246),_0x2632a8;}({});const O=_0x121668(_0x2b998a(0x1fa));var k=class extends _0x4b61fc{constructor(){const _0x312ef5=_0x2b998a;super(),E(this,'_visible$',new _0x53fd27()),E(this,_0x312ef5(0x149),new _0x53fd27()),E(this,_0x312ef5(0x261),new _0x53fd27()),E(this,'visible$',this[_0x312ef5(0x14f)][_0x312ef5(0x258)]()),E(this,_0x312ef5(0x139),this['_state$'][_0x312ef5(0x258)]()),E(this,_0x312ef5(0x161),this[_0x312ef5(0x261)]['asObservable']()),E(this,_0x312ef5(0x1ee),[]);}[_0x2b998a(0x162)](){const _0xf37550=_0x2b998a;super[_0xf37550(0x162)](),this['_visible$'][_0xf37550(0x208)](),this[_0xf37550(0x149)][_0xf37550(0x208)](),this['_list$'][_0xf37550(0x208)]();}[_0x2b998a(0x24e)](){const _0xcdb7cb=_0x2b998a;this[_0xcdb7cb(0x14f)][_0xcdb7cb(0x150)](!0x0);}[_0x2b998a(0x18e)](){const _0x65beb8=_0x2b998a;this['_visible$'][_0x65beb8(0x150)](!0x1);}['updateState'](_0xd408e6){const _0x22f402=_0x2b998a;this['_state$'][_0x22f402(0x150)](_0xd408e6);}['pushLink'](_0x27816d){const _0x27a682=_0x2b998a;this[_0x27a682(0x1ee)][_0x27a682(0x1f3)](_0x27816d),this[_0x27a682(0x261)]['next'](this[_0x27a682(0x1ee)]);}};function Re(_0xb54a16){const _0x1bbcc4=_0x2b998a;let {list:_0x95236a}=_0xb54a16;function _0x132165(_0x97751a){switch(_0x97751a){case 0x1:return _0x5c3c42(_0xca53b8,{});case 0x2:return _0x5c3c42(_0x52ede1,{});case 0x3:return _0x5c3c42(_0x403a9c,{});default:return null;}}return _0x5c3c42(_0x1bbcc4(0x1b2),{'className':_0x1b02ba('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x30a967),'children':_0x5c3c42('ul',{'className':_0x1bbcc4(0x1c0),'children':_0x95236a[_0x1bbcc4(0x1e3)]((_0x3b6738,_0x285ccb)=>_0x5c3c42('li',{'children':_0x2d7603('a',{'className':_0x1bbcc4(0x23e),'href':_0x3b6738['link'],'target':_0x1bbcc4(0x1f4),'rel':_0x1bbcc4(0x1a9),'children':[_0x2d7603(_0x1bbcc4(0x1ac),{'className':_0x1bbcc4(0x13b),'children':[_0x5c3c42(_0x1bbcc4(0x1ac),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x132165(_0x3b6738[_0x1bbcc4(0x1ff)])}),_0x5c3c42(_0x523557,{'showIfEllipsis':!0x0,'title':_0x3b6738['name'],'asChild':!0x0,'children':_0x5c3c42(_0x1bbcc4(0x1ac),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x3b6738[_0x1bbcc4(0x212)]})})]}),_0x5c3c42(_0x1bbcc4(0x1ac),{'className':_0x1bbcc4(0x1b0),'children':_0x5c3c42(_0x24e88a,{})})]})},_0x285ccb))})});}const A=_0x2b998a(0x189),j=_0x2b998a(0x244),M=_0x2b998a(0x23f),N='application/vnd.openxmlformats-officedocument.spreadsheetml.template',P=_0x2b998a(0x251),F={[_0x3d923b['UNIVER_UNKNOWN']]:[''],[_0x3d923b[_0x2b998a(0x1ad)]]:[A],[_0x3d923b['UNIVER_SHEET']]:[j,M,N],[_0x3d923b[_0x2b998a(0x1c7)]]:[P],[_0x3d923b[_0x2b998a(0x277)]]:[''],[_0x3d923b[_0x2b998a(0x1c1)]]:['']},I={[A]:_0x2b998a(0x135),[j]:'xlsx',[M]:'xlsm',[N]:_0x2b998a(0x187),[P]:'pptx'};function ze(_0x28e0ed,_0x2816a2,_0x3d18a6){const _0x282cd8=_0x2b998a;let _0x152caa=document[_0x282cd8(0x269)]('a');_0x152caa[_0x282cd8(0x279)]=_0x28e0ed,_0x152caa[_0x282cd8(0x201)][_0x282cd8(0x152)]=_0x282cd8(0x209),_0x152caa[_0x282cd8(0x271)]=_0x2816a2+'.'+_0x3d18a6,document[_0x282cd8(0x1f6)]['appendChild'](_0x152caa),_0x152caa[_0x282cd8(0x186)](),document[_0x282cd8(0x1f6)][_0x282cd8(0x1c4)](_0x152caa);}function L(_0x500e57,_0x2618c9,_0x405623){const _0xe14367=_0x2b998a;let _0x50f9c3=URL['createObjectURL'](_0x500e57);ze(_0x50f9c3,_0x2618c9,_0x405623),URL[_0xe14367(0x176)](_0x50f9c3);}function R(_0x8c72f1){const _0x4e15df=_0x2b998a;let _0x530e4f=_0x8c72f1[_0x4e15df(0x212)][_0x4e15df(0x276)]('.')['pop']();if(!_0x530e4f)return _0x3d923b[_0x4e15df(0x1e6)];let _0xb505b2=Be(),_0x3e1005=_0x3d923b[_0x4e15df(0x1e6)];return _0xb505b2['some'](_0x4d4cf1=>Ve(_0x530e4f,_0x4d4cf1)?(_0x3e1005=_0x4d4cf1,!0x0):!0x1),_0x3e1005;}function Be(){const _0x307407=_0x2b998a;return Object['values'](_0x3d923b)[_0x307407(0x23c)](_0x2167af=>typeof _0x2167af=='number');}function Ve(_0x20cb0e,_0x2f6de5){const _0xb5be42=_0x2b998a;return F[_0x2f6de5][_0xb5be42(0x1e3)](_0x418723=>(I[_0x418723]||'')['toLowerCase']())[_0xb5be42(0x1f8)](_0x20cb0e[_0xb5be42(0x265)]());}function z(_0x45611b,_0xa59734=!0x1){const _0xc7835e=_0x2b998a;let _0xf85248=_0x45611b[_0xc7835e(0x1e3)](_0x5208e1=>F[_0x5208e1])[_0xc7835e(0x266)](',');return new Promise((_0x127554,_0x3de5c5)=>{const _0x30808a=_0xc7835e;let _0x502f5d=document[_0x30808a(0x269)](_0x30808a(0x18f));_0x502f5d[_0x30808a(0x1ff)]=_0x30808a(0x211),_0x502f5d[_0x30808a(0x280)]=_0xf85248,_0x502f5d[_0x30808a(0x1e2)]=_0xa59734,_0x502f5d['addEventListener']('change',_0x335e96=>{const _0x2adf83=_0x30808a;let _0x33fab6=_0x335e96['currentTarget'];if(!_0x33fab6[_0x2adf83(0x174)]||_0x33fab6[_0x2adf83(0x174)][_0x2adf83(0x1bc)]===0x0)throw _0x3de5c5(null),Error(_0x2adf83(0x24f));_0x127554(_0x33fab6[_0x2adf83(0x174)]);}),_0x502f5d[_0x30808a(0x186)]();});}async function He(_0x249be9,_0x28364c){const _0x37946e=_0x2b998a;try{var _0x547906,_0x3941f5,_0x3e664b;let _0xed60b4=await _0x28364c[_0x37946e(0x21e)](_0x249be9,{'responseType':_0x37946e(0x163)}),_0xa21d16=_0xed60b4['body'],_0x3ea845=(_0x547906=(_0x3941f5=_0xed60b4['headers'][_0x37946e(0x21e)](_0x37946e(0x27f)))==null?void 0x0:_0x3941f5[_0x37946e(0x266)](',\x20'))==null?_0x37946e(0x171):_0x547906,_0x3880e7=_0x37946e(0x198)+(I[_0x3ea845]||_0x37946e(0x219)),_0x2fca44=(_0x3e664b=_0xed60b4[_0x37946e(0x1c6)]['get'](_0x37946e(0x27b)))==null?void 0x0:_0x3e664b[_0x37946e(0x266)](',\x20');if(_0x2fca44){let _0x21de4c=_0x2fca44['match'](/filename=(.+)/);_0x21de4c&&_0x21de4c[0x1]&&(_0x3880e7=_0x21de4c[0x1]);}else _0x3880e7=Ue(_0x249be9)||_0x3880e7;return new File([_0xa21d16],_0x3880e7,{'type':_0x3ea845});}catch(_0x5733dd){console[_0x37946e(0x1ef)](_0x37946e(0x224),_0x5733dd);return;}}function Ue(_0x5b0320){const _0x56df55=_0x2b998a;try{return new URL(_0x5b0320)['pathname'][_0x56df55(0x276)]('/')[_0x56df55(0x167)]();}catch(_0x3a9462){console[_0x56df55(0x1ef)](_0x56df55(0x274),_0x3a9462);return;}}function _0x6682(_0x15e113,_0x2b145f){_0x15e113=_0x15e113-0x133;const _0x4a9b62=_0x4a9b();let _0x6682e9=_0x4a9b62[_0x15e113];return _0x6682e9;}function We(_0x333c22){const _0xedb4f7=_0x2b998a;let _0x143e89=new Blob([_0x333c22[_0xedb4f7(0x24d)]],{'type':_0xedb4f7(0x1af)});return new File([_0x143e89],_0xedb4f7(0x234));}function Ge(_0x33df87,_0x22b685){const _0x28ddfd=_0x2b998a;return _0x33df87[_0x28ddfd(0x153)](_0x28ddfd(0x1a7),_0x22b685);}function Ke(_0x1b8eb4,_0x303f51){const _0x1cf0ef=_0x2b998a;return _0x1b8eb4[_0x1cf0ef(0x153)](_0x1cf0ef(0x148),_0x303f51);}function qe(_0x3864ff,_0x599084){const _0x5dd0fc=_0x2b998a;return _0x3864ff[_0x5dd0fc(0x153)](_0x5dd0fc(0x24b),_0x599084);}function B(_0x1a4a40,_0x5786ea){return function(_0x26db41,_0x1e0a72){_0x5786ea(_0x26db41,_0x1e0a72,_0x1a4a40);};}function V(_0x467f11,_0x2fcf74,_0x53c737,_0x3c4c95){const _0x2f1543=_0x2b998a;var _0x152d53=arguments[_0x2f1543(0x1bc)],_0x248d16=_0x152d53<0x3?_0x2fcf74:_0x3c4c95===null?_0x3c4c95=Object[_0x2f1543(0x1a6)](_0x2fcf74,_0x53c737):_0x3c4c95,_0x175912;if(typeof Reflect=='object'&&typeof Reflect[_0x2f1543(0x190)]=='function')_0x248d16=Reflect[_0x2f1543(0x190)](_0x467f11,_0x2fcf74,_0x53c737,_0x3c4c95);else{for(var _0x58da50=_0x467f11[_0x2f1543(0x1bc)]-0x1;_0x58da50>=0x0;_0x58da50--)(_0x175912=_0x467f11[_0x58da50])&&(_0x248d16=(_0x152d53<0x3?_0x175912(_0x248d16):_0x152d53>0x3?_0x175912(_0x2fcf74,_0x53c737,_0x248d16):_0x175912(_0x2fcf74,_0x53c737))||_0x248d16);}return _0x152d53>0x3&&_0x248d16&&Object[_0x2f1543(0x231)](_0x2fcf74,_0x53c737,_0x248d16),_0x248d16;}let H=function(_0x5d1f3f){const _0x362de5=_0x2b998a;return _0x5d1f3f[_0x5d1f3f[_0x362de5(0x1a0)]=0x0]=_0x362de5(0x1a0),_0x5d1f3f[_0x5d1f3f[_0x362de5(0x20a)]=0x1]='UNIT',_0x5d1f3f[_0x5d1f3f[_0x362de5(0x25f)]=0x2]=_0x362de5(0x25f),_0x5d1f3f[_0x5d1f3f[_0x362de5(0x1c1)]=-0x1]='UNRECOGNIZED',_0x5d1f3f;}({});const U=_0x121668(_0x2b998a(0x19d));let W=class{constructor(_0x145a05,_0x930b33){const _0xa973ca=_0x2b998a;this[_0xa973ca(0x236)]=_0x145a05,this[_0xa973ca(0x1d8)]=_0x930b33,E(this,_0xa973ca(0x180),new Set());}[_0x2b998a(0x162)](){}[_0x2b998a(0x18a)](_0x2764be){const _0x5108a9=_0x2b998a;this[_0x5108a9(0x180)]['add'](_0x2764be);}[_0x2b998a(0x248)](){const _0x419595=_0x2b998a;this[_0x419595(0x180)][_0x419595(0x1a1)]();}async['upload'](_0x4955a9,_0x1aaa7e=0x0,_0x4ab3b8=!0x1){const _0x57b512=_0x2b998a;if(typeof _0x4955a9==_0x57b512(0x17a)){let _0x5c3838=await He(_0x4955a9,this[_0x57b512(0x1d8)]);if(!_0x5c3838)throw Error(_0x57b512(0x142));_0x4955a9=_0x5c3838;}_0x1aaa7e=_0x1aaa7e||_0x4955a9['size'];let _0x510c48=new FormData();_0x510c48[_0x57b512(0x14e)](_0x57b512(0x211),_0x4955a9);try{let _0x4c4d52=this[_0x57b512(0x147)]()+_0x57b512(0x200)+_0x1aaa7e+_0x57b512(0x20e)+_0x13bc75['HttpImport']+_0x57b512(0x20b)+_0x4ab3b8,_0x417859={'body':_0x510c48},_0x279f19=(await this['_httpService'][_0x57b512(0x196)](_0x4c4d52,_0x417859))['body'];if(_0x279f19[_0x57b512(0x1ef)]&&_0x279f19['error'][_0x57b512(0x156)]!==_0x5e7506['OK'])throw Error(this[_0x57b512(0x164)](_0x57b512(0x223),_0x279f19[_0x57b512(0x1ef)]));return _0x279f19;}catch(_0x176e9e){throw _0x176e9e instanceof Error?_0x176e9e:Error(this[_0x57b512(0x205)](_0x57b512(0x223),_0x176e9e));}}async[_0x2b998a(0x1bd)](_0x1b9da3){const _0x32a217=_0x2b998a;let {fileID:_0x50df21,type:_0x373807,outputType:_0x5eea06,minSheetColumnCount:_0x8029f,minSheetRowCount:_0x38d1d6}=_0x1b9da3;try{let _0x510778=Ge(this[_0x32a217(0x21c)](),''+_0x373807),_0x22a956={'body':{'fileID':_0x50df21,'outputType':_0x5eea06,'minSheetColumnCount':_0x8029f,'minSheetRowCount':_0x38d1d6}},_0x340a2d=(await this['_httpService'][_0x32a217(0x196)](_0x510778,_0x22a956))[_0x32a217(0x1f6)];return _0x340a2d['error']&&_0x340a2d[_0x32a217(0x1ef)][_0x32a217(0x156)]!==_0x5e7506['OK']?void 0x0:_0x340a2d;}catch{return;}}async[_0x2b998a(0x216)](_0x182a7f){const _0x4c122b=_0x2b998a;let {unitID:_0x578167,jsonID:_0x549ef1,type:_0x8c4116,sscSwitch:_0x138e2d,useImageUrl:_0x22e3c6,ignoreTableExport:_0x4e8d18}=_0x182a7f;try{let _0x2fa420=Ge(this['_getExportURL'](),''+_0x8c4116),_0xd6b633={'body':{'unitID':_0x578167,'jsonID':_0x549ef1,'type':_0x8c4116,'sscSwitch':_0x138e2d,'useImageUrl':_0x22e3c6,'ignoreTableExport':_0x4e8d18}},_0x13bbcb=(await this[_0x4c122b(0x1d8)]['post'](_0x2fa420,_0xd6b633))['body'];return _0x13bbcb['error']&&_0x13bbcb['error'][_0x4c122b(0x156)]!==_0x5e7506['OK']?void 0x0:_0x13bbcb;}catch{return;}}async[_0x2b998a(0x27d)](_0x2e49c1){return new Promise((_0x3c25ac,_0x197949)=>{const _0x2ddaed=_0x6682;try{let _0x49d5fa=0x0,_0x50a6b9=Ke(this[_0x2ddaed(0x1c9)](),''+_0x2e49c1),_0x33322f=this[_0x2ddaed(0x1dc)](),_0x30819c=async()=>{const _0x52005a=_0x2ddaed;if(this[_0x52005a(0x180)]['has'](_0x2e49c1))return;let _0x32aef3=(await this[_0x52005a(0x1d8)]['get'](_0x50a6b9))[_0x52005a(0x1f6)];if(_0x32aef3[_0x52005a(0x1ef)]&&_0x32aef3[_0x52005a(0x1ef)][_0x52005a(0x156)]===_0x5e7506['OK']){if(_0x32aef3[_0x52005a(0x193)]===_0x52005a(0x1b5))_0x3c25ac(_0x32aef3);else{if(_0x32aef3[_0x52005a(0x193)]===_0x52005a(0x21d)){let _0x58824b=0x3e8;if(_0x49d5fa>=_0x33322f){_0x197949(_0x32aef3);return;}else _0x49d5fa>=0x7530&&(_0x58824b=0x1388);_0x49d5fa+=_0x58824b,setTimeout(_0x30819c,_0x58824b);}else _0x197949(_0x32aef3);}}else _0x197949(_0x32aef3);};_0x30819c();}catch(_0x39c5d1){_0x197949(_0x39c5d1 instanceof Error?_0x39c5d1:Error(String(_0x39c5d1)));}});}async[_0x2b998a(0x1fb)](_0x40b71a){const _0x195886=_0x2b998a;try{let _0x399667=qe(this[_0x195886(0x267)](),''+_0x40b71a);return(await this[_0x195886(0x1d8)][_0x195886(0x21e)](_0x399667))['body'];}catch{return;}}async[_0x2b998a(0x1e0)](_0x26aa6a){const _0x1a152c=_0x2b998a;try{return(await this[_0x1a152c(0x1d8)][_0x1a152c(0x21e)](_0x26aa6a,{'responseType':_0x1a152c(0x221)}))[_0x1a152c(0x1f6)];}catch{return;}}['_buildProtocolErrorMessage'](_0x2209ba,_0x2e1aee){const _0xfd3eb1=_0x2b998a;let _0x207a12=this[_0xfd3eb1(0x1f7)](_0x2e1aee);return _0x207a12?_0x2209ba+':\x20'+_0x207a12:_0x2209ba;}[_0x2b998a(0x205)](_0x38d462,_0x4424a2){const _0x25ead=_0x2b998a;if(_0x4424a2 instanceof _0x4cfd20){let _0x381c7f=typeof _0x4424a2[_0x25ead(0x193)]==_0x25ead(0x179)?''+_0x4424a2[_0x25ead(0x193)]+(_0x4424a2['statusText']?'\x20'+_0x4424a2[_0x25ead(0x1bf)]:''):void 0x0,_0xe8cffd=this[_0x25ead(0x1f7)](_0x4424a2[_0x25ead(0x1ef)]);return _0x381c7f&&_0xe8cffd?_0x38d462+':\x20HTTP\x20'+_0x381c7f+_0x25ead(0x1ea)+_0xe8cffd:_0x381c7f?_0x38d462+':\x20HTTP\x20'+_0x381c7f:_0xe8cffd?_0x38d462+':\x20'+_0xe8cffd:_0x38d462;}let _0x217eeb=this[_0x25ead(0x1f7)](_0x4424a2);return _0x217eeb?_0x38d462+':\x20'+_0x217eeb:_0x38d462;}[_0x2b998a(0x1f7)](_0xa8da9c){const _0x535d14=_0x2b998a;if(typeof _0xa8da9c==_0x535d14(0x17a)){let _0x26bf78=_0xa8da9c[_0x535d14(0x13e)]();return _0x26bf78['length']>0x0?_0x26bf78:void 0x0;}if(_0xa8da9c instanceof Error)return this[_0x535d14(0x1f7)](_0xa8da9c['message']);if(!_0xa8da9c||typeof _0xa8da9c!=_0x535d14(0x27e)||Array['isArray'](_0xa8da9c))return;let _0xe889ea=_0xa8da9c,_0x3d125e=this['_extractErrorDetail'](_0xe889ea[_0x535d14(0x263)]);if(_0x3d125e)return _0x3d125e;if(_0xe889ea[_0x535d14(0x1ef)]&&typeof _0xe889ea[_0x535d14(0x1ef)]==_0x535d14(0x27e)&&!Array['isArray'](_0xe889ea[_0x535d14(0x1ef)])){let _0x4a3b51=this[_0x535d14(0x1f7)](_0xe889ea['error']);if(_0x4a3b51)return _0x4a3b51;}}['_getUploadFileURL'](){const _0x15a07c=_0x2b998a;var _0x3222b3;let _0x3ea97d=this[_0x15a07c(0x236)][_0x15a07c(0x1eb)](C);return(_0x3222b3=_0x3ea97d==null?void 0x0:_0x3ea97d[_0x15a07c(0x1df)])==null?_0x15a07c(0x14d):_0x3222b3;}[_0x2b998a(0x21c)](){const _0x51df89=_0x2b998a;var _0x49241d;let _0x1e4862=this['_configService'][_0x51df89(0x1eb)](C);return(_0x49241d=_0x1e4862==null?void 0x0:_0x1e4862[_0x51df89(0x262)])==null?_0x51df89(0x183):_0x49241d;}[_0x2b998a(0x1da)](){const _0x25160f=_0x2b998a;var _0x268f8f;let _0x4a2da3=this[_0x25160f(0x236)][_0x25160f(0x1eb)](C);return(_0x268f8f=_0x4a2da3==null?void 0x0:_0x4a2da3[_0x25160f(0x253)])==null?_0x25160f(0x1e1):_0x268f8f;}['_getTaskURL'](){const _0x567631=_0x2b998a;var _0x246241;let _0x47649a=this[_0x567631(0x236)]['getConfig'](C);return(_0x246241=_0x47649a==null?void 0x0:_0x47649a['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x246241;}[_0x2b998a(0x267)](){const _0x1b3ef0=_0x2b998a;var _0x269f99;let _0x62358c=this[_0x1b3ef0(0x236)][_0x1b3ef0(0x1eb)](C);return(_0x269f99=_0x62358c==null?void 0x0:_0x62358c[_0x1b3ef0(0x146)])==null?_0x1b3ef0(0x206):_0x269f99;}[_0x2b998a(0x1dc)](){const _0x199e23=_0x2b998a;var _0xa97ffe;let _0x3be4f1=this[_0x199e23(0x236)]['getConfig'](C);return(_0xa97ffe=_0x3be4f1==null?void 0x0:_0x3be4f1['maxTimeoutTime'])==null?0x1d4c0:_0xa97ffe;}};W=V([B(0x0,_0x193798),B(0x1,_0x8c9620(_0xa66fa4))],W);function Je(_0xa5fa52){const _0x2157f1=_0x2b998a;let _0x2a4f18=_0xa5fa52[_0x2157f1(0x154)];if(!_0x2a4f18)return null;let _0xb3eb7f={};_0x2a4f18[_0x2157f1(0x23a)]&&Object[_0x2157f1(0x18c)](_0x2a4f18[_0x2157f1(0x23a)])[_0x2157f1(0x15b)](_0x33a145=>{const _0xae2b19=_0x2157f1;let _0x56a5a5=_0x2a4f18['sheets'][_0x33a145];_0xb3eb7f[_0x33a145]={..._0x56a5a5,'originalMeta':_0x53e3bb(_0x351350[_0xae2b19(0x199)](_0x56a5a5[_0xae2b19(0x1fd)]))};});let _0x18bc0b=_0x53e3bb(_0x351350['decode'](_0x2a4f18['originalMeta']));return{..._0xa5fa52,'workbook':{..._0x2a4f18,'originalMeta':_0x18bc0b,'sheets':_0xb3eb7f},'doc':{}};}function Ye(_0x15a4f0){const _0x323d5a=_0x2b998a;let _0x5db0ef=_0x15a4f0[_0x323d5a(0x158)];if(!_0x5db0ef)return null;let _0x542aaf=_0x53e3bb(_0x351350[_0x323d5a(0x199)](_0x5db0ef['originalMeta']));return{..._0x15a4f0,'workbook':{},'doc':{..._0x5db0ef,'originalMeta':_0x542aaf}};}function Xe(_0x1b7d91){const _0xdc36d5=_0x2b998a;let _0x45662f={};return _0x1b7d91[_0xdc36d5(0x15b)](_0x8eb940=>{const _0x23d8f9=_0xdc36d5;_0x45662f[_0x8eb940['id']]={..._0x8eb940,'data':_0x53e3bb(_0x351350[_0x23d8f9(0x199)](_0x8eb940['data']))};}),_0x45662f;}async function G(_0x39c37a){const _0x1dafbb=_0x2b998a;var _0x9e7b8d;let _0x62a8dd={'metadata':void 0x0},_0x56a1ee=_0x39c37a['id'],_0xf4da49=(_0x9e7b8d=_0x39c37a[_0x1dafbb(0x1cb)])==null?0x0:_0x9e7b8d,_0x15d828=new et(),{snapshot:_0x488c09}=await _0x5db85a(_0x62a8dd,_0x39c37a,_0x56a1ee,_0xf4da49,_0x15d828),_0x2efb53=await _0x3f984f(_0x488c09,_0x15d828),_0x34ecb8=Je(_0x488c09);if(!_0x34ecb8)throw Error(_0x1dafbb(0x27c));return{'snapshot':_0x34ecb8,'sheetBlocks':Xe(_0x2efb53)};}async function Ze(_0x12f25e){const _0x30fad6=_0x2b998a;var _0x457280;let _0x16d0ff={'metadata':void 0x0},_0x47f308=_0x12f25e['id'],{snapshot:_0x58885c}=await _0x3882de(_0x16d0ff,_0x12f25e,_0x47f308,(_0x457280=_0x12f25e[_0x30fad6(0x1cb)])==null?0x0:_0x457280,new et()),_0x32d6ae=Ye(_0x58885c);if(!_0x32d6ae)throw Error(_0x30fad6(0x27c));return{'snapshot':_0x32d6ae,'sheetBlocks':{}};}async function Qe(_0x510cc1){const _0x236308=_0x2b998a;let _0x10e825=_0x510cc1[_0x236308(0x272)],_0x2b7fa7=_0x510cc1[_0x236308(0x1f2)];return await _0x11e66e(_0x10e825,Object[_0x236308(0x18c)](_0x2b7fa7)[_0x236308(0x1e3)](_0x1539d4=>_0x2b7fa7[_0x1539d4])['map'](_0x180030=>({..._0x180030,'data':_0x180030['data']?JSON[_0x236308(0x260)](_0x20e7fb(_0x180030[_0x236308(0x1d1)])):void 0x0})));}function $e(_0x4d60ee){const _0x43ad21=_0x2b998a;let _0x53ea1a=_0x4d60ee[_0x43ad21(0x272)];return _0x445c2e(_0x53ea1a);}var et=class{constructor(){const _0x41637b=_0x2b998a;E(this,_0x41637b(0x1a3),new Map());}['getUnitOnRev'](){const _0x50b41a=_0x2b998a;return Promise['resolve']({'snapshot':{'unitID':'','type':_0x3d923b[_0x50b41a(0x173)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_0x5e7506['OK'],'message':''}});}[_0x2b998a(0x1b4)](_0xcc1f45,_0x5d2461){const _0x4db56c=_0x2b998a;let _0x5f152c=this['_sheetBlockCache']['get'](_0x5d2461[_0x4db56c(0x1ec)]);return Promise[_0x4db56c(0x1be)]({'block':_0x5f152c,'error':{'code':_0x5e7506['OK'],'message':''}});}[_0x2b998a(0x250)](_0x54d605,_0x1413f3){const _0x4cafa4=_0x2b998a;let _0x3e844d=this[_0x4cafa4(0x1a3)]['get'](_0x1413f3[_0x4cafa4(0x1ec)]);return Promise[_0x4cafa4(0x1be)]({'block':_0x3e844d===void 0x0?void 0x0:{..._0x3e844d,'data':JSON['parse'](_0x351350[_0x4cafa4(0x199)](_0x3e844d['data']))},'error':{'code':_0x5e7506['OK'],'message':''}});}[_0x2b998a(0x275)](){const _0x41bc02=_0x2b998a;return Promise[_0x41bc02(0x1be)]({'changesets':[],'error':{'code':_0x5e7506['OK'],'message':''}});}[_0x2b998a(0x26d)](){const _0x1e1b2=_0x2b998a;return Promise[_0x1e1b2(0x1be)]({'resources':{},'error':{'code':_0x5e7506['OK'],'message':''}});}[_0x2b998a(0x1de)](){return Promise['resolve']({'error':{'code':_0x5e7506['OK'],'message':''}});}['updateSnapshot'](){const _0x3ef25c=_0x2b998a;return Promise[_0x3ef25c(0x1be)]({'error':{'code':_0x5e7506['OK'],'message':''}});}['saveSheetBlock'](_0x4dc0f7,_0x47fe8f){const _0x17a1c5=_0x2b998a;let {block:_0x4a6531}=_0x47fe8f;return _0x4a6531?(this['_sheetBlockCache'][_0x17a1c5(0x1c5)](_0x4a6531['id'],_0x4a6531),Promise['resolve']({'error':{'code':_0x5e7506['OK'],'message':''},'blockID':_0x4a6531['id']})):Promise[_0x17a1c5(0x1be)]({'error':{'code':_0x5e7506['UNDEFINED'],'message':_0x17a1c5(0x19c)},'blockID':''});}[_0x2b998a(0x21b)](){const _0x394ae1=_0x2b998a;return Promise[_0x394ae1(0x1be)]({'error':{'code':_0x5e7506['OK'],'message':''},'concurrent':[]});}[_0x2b998a(0x157)](){const _0x49a636=_0x2b998a;return Promise[_0x49a636(0x1be)]({'error':void 0x0,'fileMetaId':''});}[_0x2b998a(0x170)](){const _0x5618cf=_0x2b998a;return Promise[_0x5618cf(0x1be)]({'error':void 0x0,'latestReqID':0x0});}};let K=function(_0x23a88f){const _0x1ae6e9=_0x2b998a;return _0x23a88f[_0x23a88f['UPLOAD']=0x0]=_0x1ae6e9(0x235),_0x23a88f[_0x23a88f[_0x1ae6e9(0x22e)]=0x1]=_0x1ae6e9(0x22e),_0x23a88f[_0x23a88f[_0x1ae6e9(0x26e)]=0x2]=_0x1ae6e9(0x26e),_0x23a88f[_0x23a88f['GET_TASK']=0x3]='GET_TASK',_0x23a88f[_0x23a88f[_0x1ae6e9(0x1d6)]=0x4]='SIGN_URL',_0x23a88f[_0x23a88f[_0x1ae6e9(0x23d)]=0x5]='GET_JSON',_0x23a88f[_0x23a88f[_0x1ae6e9(0x155)]=0x6]=_0x1ae6e9(0x155),_0x23a88f;}({});const q=_0x121668(_0x2b998a(0x1e4));let J=class extends _0x4b61fc{constructor(_0x218616,_0x3cc7c4,_0xf6cf75){const _0x979c78=_0x2b998a;super(),this[_0x979c78(0x236)]=_0x218616,this[_0x979c78(0x1d8)]=_0x3cc7c4,this['_requestService']=_0xf6cf75,E(this,_0x979c78(0x1d5),null),E(this,'_requestState$',new _0x53fd27()),E(this,'requestState$',this['_requestState$'][_0x979c78(0x258)]());}[_0x2b998a(0x162)](){const _0x752747=_0x2b998a;super[_0x752747(0x162)](),this['_requestState$'][_0x752747(0x208)]();}async[_0x2b998a(0x19e)](_0x21161f){const _0x386507=_0x2b998a;let _0x4c9048=await this[_0x386507(0x191)](_0x21161f,_0x3d923b[_0x386507(0x1ad)]);if(!_0x4c9048||!_0x4c9048[_0x386507(0x272)])return;let _0x35ba1c=$e(_0x4c9048);if(_0x35ba1c)return _0x35ba1c;}async[_0x2b998a(0x138)](_0x656c45){const _0xf46561=_0x2b998a;return this['_export'](_0x656c45,H[_0xf46561(0x20a)],_0x3d923b[_0xf46561(0x1ad)]);}async['exportDOCXBySnapshot'](_0x3a05c2){const _0x4b6780=_0x2b998a;let _0x56a196=await Ze(_0x3a05c2);return this[_0x4b6780(0x1ba)](_0x56a196,_0x3d923b[_0x4b6780(0x1ad)]);}async[_0x2b998a(0x1b7)](_0x166b55){const _0x434326=_0x2b998a;let _0x302c26=await this[_0x434326(0x191)](_0x166b55,_0x3d923b[_0x434326(0x173)]);if(!_0x302c26)return;let _0x1b0d3e=await Qe(_0x302c26);if(_0x1b0d3e)return _0x1b0d3e;}async[_0x2b998a(0x255)](_0x503920){const _0x475d99=_0x2b998a;return this[_0x475d99(0x178)](_0x503920,H[_0x475d99(0x20a)],_0x3d923b[_0x475d99(0x173)]);}async[_0x2b998a(0x1ed)](_0x45aa37){const _0x23a328=_0x2b998a;let _0x29a3c3=await G(_0x45aa37);return this['_exportBySnapshot'](_0x29a3c3,_0x3d923b[_0x23a328(0x173)]);}async['importFileToUnitId'](_0x4ea136,_0x248761){const _0xdf8055=_0x2b998a;var _0xa6134f,_0x26544b;let _0x308a29=await this[_0xdf8055(0x1b9)](_0x4ea136);if(!_0x308a29)return;let _0x2a542d=await this[_0xdf8055(0x18d)](_0x308a29,H[_0xdf8055(0x20a)],_0x248761);if(!_0x2a542d)return;this[_0xdf8055(0x1d5)]=_0x2a542d,this['_requestService']['clearTaskInterrupted']();let _0x27593e=await this['_requestService'][_0xdf8055(0x27d)](_0x2a542d)[_0xdf8055(0x21a)](_0x176610=>{const _0x45ff69=_0xdf8055;var _0x43acc2;let _0x5955e8=_0x176610 instanceof Error?_0x176610[_0x45ff69(0x263)]:(_0x43acc2=_0x176610[_0x45ff69(0x1ef)])==null?void 0x0:_0x43acc2[_0x45ff69(0x263)];this[_0x45ff69(0x185)]['next']({'error':{'code':_0x5e7506['UNRECOGNIZED'],'message':_0x5955e8||''},'state':K['GET_TASK']});});if(!_0x27593e)return;let _0x331e65=(_0xa6134f=_0x27593e[_0xdf8055(0x1bd)])==null?void 0x0:_0xa6134f[_0xdf8055(0x239)],_0x3528ae=((_0x26544b=_0x27593e[_0xdf8055(0x1bd)])==null?void 0x0:_0x26544b['unitID'])||'';if(_0x331e65!==H[_0xdf8055(0x20a)]){this[_0xdf8055(0x185)][_0xdf8055(0x150)]({'error':{'code':_0x5e7506[_0xdf8055(0x1c1)],'message':_0xdf8055(0x242)},'state':K['GET_TASK']});return;}if(_0x3528ae[_0xdf8055(0x1bc)]===0x0){this[_0xdf8055(0x185)][_0xdf8055(0x150)]({'error':{'code':_0x5e7506[_0xdf8055(0x1c1)],'message':_0xdf8055(0x240)},'state':K[_0xdf8055(0x166)]});return;}return this['_requestState$'][_0xdf8055(0x150)]({'error':_0x27593e[_0xdf8055(0x1ef)],'state':K['GET_TASK']}),_0x3528ae;}async['importWorkbookDataToUnitId'](_0x5d7391){const _0x4346f4=_0x2b998a;let _0x93fefb=await G(_0x5d7391),_0x544531=typeof _0x5d7391['id']==_0x4346f4(0x17a)&&_0x5d7391['id'][_0x4346f4(0x13e)]()?_0x5d7391['id'][_0x4346f4(0x13e)]()+_0x4346f4(0x1e9):_0x4346f4(0x15a),_0x2a00b5=new File([JSON[_0x4346f4(0x1db)](_0x93fefb)],_0x544531,{'type':_0x4346f4(0x1af)});return this['importFileToUnitId'](_0x2a00b5,_0x3d923b[_0x4346f4(0x173)]);}['interruptImportTask'](){const _0x359577=_0x2b998a;this[_0x359577(0x1d5)]&&this[_0x359577(0x134)][_0x359577(0x18a)](this[_0x359577(0x1d5)]);}async[_0x2b998a(0x191)](_0x16aa34,_0x335430){const _0x37f132=_0x2b998a;var _0x3d84e7,_0x9d9368;let _0x352c8d=await this['_upload'](_0x16aa34);if(!_0x352c8d)return;let _0x55c6dd=await this[_0x37f132(0x18d)](_0x352c8d,H[_0x37f132(0x25f)],_0x335430);if(!_0x55c6dd)return;this[_0x37f132(0x1d5)]=_0x55c6dd,this[_0x37f132(0x134)][_0x37f132(0x248)]();let _0x13339c=await this[_0x37f132(0x134)]['getTask'](_0x55c6dd)['catch'](_0xb834c5=>{const _0x3cffc4=_0x37f132;var _0x5587f7;let _0x289886=_0xb834c5 instanceof Error?_0xb834c5[_0x3cffc4(0x263)]:(_0x5587f7=_0xb834c5[_0x3cffc4(0x1ef)])==null?void 0x0:_0x5587f7[_0x3cffc4(0x263)];this[_0x3cffc4(0x185)][_0x3cffc4(0x150)]({'error':{'code':_0x5e7506[_0x3cffc4(0x1c1)],'message':_0x289886||''},'state':K['GET_TASK']});});if(!_0x13339c)return;let _0x20608d=(_0x3d84e7=_0x13339c['import'])==null?void 0x0:_0x3d84e7[_0x37f132(0x239)],_0x1a691f=((_0x9d9368=_0x13339c[_0x37f132(0x1bd)])==null?void 0x0:_0x9d9368['jsonID'])||'';if(_0x20608d!==H[_0x37f132(0x25f)]){this[_0x37f132(0x185)][_0x37f132(0x150)]({'error':{'code':_0x5e7506['UNRECOGNIZED'],'message':_0x37f132(0x242)},'state':K[_0x37f132(0x166)]});return;}if(_0x1a691f[_0x37f132(0x1bc)]===0x0){this[_0x37f132(0x185)][_0x37f132(0x150)]({'error':{'code':_0x5e7506[_0x37f132(0x1c1)],'message':_0x37f132(0x165)},'state':K[_0x37f132(0x166)]});return;}this[_0x37f132(0x185)][_0x37f132(0x150)]({'error':_0x13339c[_0x37f132(0x1ef)],'state':K[_0x37f132(0x166)]});let _0x23d760=await this['_signUrl'](_0x1a691f);if(!_0x23d760)return;let _0x3d0fe3=await this[_0x37f132(0x134)][_0x37f132(0x1e0)](_0x23d760);if(!_0x3d0fe3){this[_0x37f132(0x185)][_0x37f132(0x150)]({'error':{'code':_0x5e7506[_0x37f132(0x1c1)],'message':_0x37f132(0x1ae)},'state':K['GET_JSON']});return;}try{let _0xc4cbba=JSON['parse'](_0x3d0fe3);return this['_requestState$']['next']({'error':{'code':_0x5e7506['OK'],'message':'success'},'state':K['GET_JSON']}),_0xc4cbba;}catch{this[_0x37f132(0x185)][_0x37f132(0x150)]({'error':{'code':_0x5e7506['UNRECOGNIZED'],'message':_0x37f132(0x259)},'state':K[_0x37f132(0x23d)]});}}async[_0x2b998a(0x1ba)](_0x4bef9f,_0x221208){const _0x3a56bd=_0x2b998a;let _0x52e9a8=JSON[_0x3a56bd(0x1db)](_0x4bef9f),_0x1ddbfa=_0x3b7854[_0x3a56bd(0x22c)](_0x52e9a8),_0x5104a4=_0x5cc35b[_0x3a56bd(0x20c)](_0x52e9a8)['length'],_0x3877ba=We(_0x1ddbfa),_0x329567=await this[_0x3a56bd(0x1b9)](_0x3877ba,_0x5104a4,!0x0);if(_0x329567)return this['_export'](_0x329567,H['JSON'],_0x221208);}async[_0x2b998a(0x178)](_0x14696c,_0x2a84ba,_0x4c2ed6){const _0x13e88e=_0x2b998a;var _0x53cb04;let _0x43668e=await this[_0x13e88e(0x134)][_0x13e88e(0x216)]({'unitID':_0x2a84ba===H[_0x13e88e(0x20a)]?_0x14696c:'','jsonID':_0x2a84ba===H[_0x13e88e(0x25f)]?_0x14696c:'','type':_0x4c2ed6,'sscSwitch':this[_0x13e88e(0x249)](),'useImageUrl':this[_0x13e88e(0x22d)](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x43668e){this[_0x13e88e(0x185)][_0x13e88e(0x150)]({'error':{'code':_0x5e7506[_0x13e88e(0x1c1)],'message':'export\x20error'},'state':K['EXPORT']});return;}if(this[_0x13e88e(0x185)][_0x13e88e(0x150)]({'error':_0x43668e[_0x13e88e(0x1ef)],'state':K[_0x13e88e(0x26e)]}),_0x43668e[_0x13e88e(0x1ef)]&&_0x43668e[_0x13e88e(0x1ef)][_0x13e88e(0x156)]!==_0x5e7506['OK'])return;let _0x4d7952=_0x43668e['taskID'],_0x1eb9bf=await this[_0x13e88e(0x134)][_0x13e88e(0x27d)](_0x4d7952)['catch'](_0x1f69e2=>{const _0x3479ce=_0x13e88e;var _0x4750bb;let _0x9fbbec=_0x1f69e2 instanceof Error?_0x1f69e2[_0x3479ce(0x263)]:(_0x4750bb=_0x1f69e2[_0x3479ce(0x1ef)])==null?void 0x0:_0x4750bb[_0x3479ce(0x263)];this[_0x3479ce(0x185)][_0x3479ce(0x150)]({'error':{'code':_0x5e7506[_0x3479ce(0x1c1)],'message':_0x9fbbec||''},'state':K['GET_TASK']});});if(!_0x1eb9bf)return;let _0x4030ad=((_0x53cb04=_0x1eb9bf[_0x13e88e(0x216)])==null?void 0x0:_0x53cb04['fileID'])||'';if(_0x4030ad['length']===0x0){this[_0x13e88e(0x185)][_0x13e88e(0x150)]({'error':{'code':_0x5e7506['UNRECOGNIZED'],'message':_0x13e88e(0x237)},'state':K[_0x13e88e(0x166)]});return;}this[_0x13e88e(0x185)]['next']({'error':_0x1eb9bf[_0x13e88e(0x1ef)],'state':K[_0x13e88e(0x166)]});let _0x48a1c7=await this[_0x13e88e(0x1b6)](_0x4030ad);if(!_0x48a1c7)return;let _0x1b6d77=await He(_0x48a1c7,this[_0x13e88e(0x1d8)]);if(!_0x1b6d77){this[_0x13e88e(0x185)][_0x13e88e(0x150)]({'error':{'code':_0x5e7506[_0x13e88e(0x1c1)],'message':_0x13e88e(0x1c8)},'state':K['GET_FILE']});return;}return this[_0x13e88e(0x185)][_0x13e88e(0x150)]({'error':{'code':_0x5e7506['OK'],'message':_0x13e88e(0x177)},'state':K[_0x13e88e(0x155)]}),_0x1b6d77;}async[_0x2b998a(0x1b9)](_0x41f445,_0x20ce3a,_0x51354b){const _0x19a41c=_0x2b998a;let _0x2c11f5;try{_0x2c11f5=await this[_0x19a41c(0x134)][_0x19a41c(0x182)](_0x41f445,_0x20ce3a,_0x51354b);}catch(_0x16ef5a){let _0x26c386=_0x16ef5a instanceof Error?_0x16ef5a[_0x19a41c(0x263)]:String(_0x16ef5a);this['_requestState$']['next']({'error':{'code':_0x5e7506[_0x19a41c(0x1c1)],'message':_0x26c386},'state':K[_0x19a41c(0x235)]});return;}if(!_0x2c11f5||typeof _0x2c11f5[_0x19a41c(0x26b)]!=_0x19a41c(0x17a)){this['_requestState$'][_0x19a41c(0x150)]({'error':{'code':_0x5e7506[_0x19a41c(0x1c1)],'message':_0x19a41c(0x252)},'state':K['UPLOAD']});return;}let _0x998f8e=_0x2c11f5['FileId'];if(_0x998f8e[_0x19a41c(0x1bc)]===0x0){this[_0x19a41c(0x185)][_0x19a41c(0x150)]({'error':{'code':_0x5e7506['UNRECOGNIZED'],'message':_0x19a41c(0x15f)},'state':K['UPLOAD']});return;}return this[_0x19a41c(0x185)]['next']({'error':{'code':_0x5e7506['OK'],'message':_0x19a41c(0x177)},'state':K['UPLOAD']}),_0x998f8e;}async['_import'](_0x544535,_0x48fa49,_0x372b13){const _0x27d194=_0x2b998a;let _0x186dea={'fileID':_0x544535,'type':_0x372b13,'outputType':_0x48fa49,'fileUrl':'','minSheetRowCount':this[_0x27d194(0x13a)](),'minSheetColumnCount':this[_0x27d194(0x27a)]()},_0x6d2857=await this[_0x27d194(0x134)][_0x27d194(0x1bd)](_0x186dea);if(!_0x6d2857){this[_0x27d194(0x185)][_0x27d194(0x150)]({'error':{'code':_0x5e7506[_0x27d194(0x1c1)],'message':_0x27d194(0x273)},'state':K[_0x27d194(0x22e)]});return;}if(_0x6d2857['error']&&_0x6d2857[_0x27d194(0x1ef)][_0x27d194(0x156)]!==_0x5e7506['OK']){this[_0x27d194(0x185)][_0x27d194(0x150)]({'error':_0x6d2857[_0x27d194(0x1ef)],'state':K['IMPORT']});return;}let _0x50f563=_0x6d2857[_0x27d194(0x214)];if(_0x50f563[_0x27d194(0x1bc)]===0x0){this['_requestState$'][_0x27d194(0x150)]({'error':{'code':_0x5e7506[_0x27d194(0x1c1)],'message':_0x27d194(0x1ce)},'state':K[_0x27d194(0x22e)]});return;}return this[_0x27d194(0x185)][_0x27d194(0x150)]({'error':_0x6d2857[_0x27d194(0x1ef)],'state':K[_0x27d194(0x22e)]}),_0x50f563;}async[_0x2b998a(0x1b6)](_0xa57888){const _0x48e214=_0x2b998a;let _0x31fc94=await this[_0x48e214(0x134)]['signUrl'](_0xa57888);if(!_0x31fc94){this[_0x48e214(0x185)]['next']({'error':{'code':_0x5e7506[_0x48e214(0x1c1)],'message':'sign\x20url\x20error'},'state':K['SIGN_URL']});return;}if(_0x31fc94[_0x48e214(0x1ef)]&&_0x31fc94['error']['code']!==_0x5e7506['OK']){this[_0x48e214(0x185)][_0x48e214(0x150)]({'error':_0x31fc94[_0x48e214(0x1ef)],'state':K['SIGN_URL']});return;}let _0xe67019=_0x1973d0(_0x31fc94['url'],this[_0x48e214(0x24c)]());if(_0xe67019['length']===0x0){this[_0x48e214(0x185)][_0x48e214(0x150)]({'error':{'code':_0x5e7506[_0x48e214(0x1c1)],'message':_0x48e214(0x228)},'state':K['SIGN_URL']});return;}return this['_requestState$'][_0x48e214(0x150)]({'error':_0x31fc94['error'],'state':K[_0x48e214(0x1d6)]}),_0xe67019;}['_getDownloadEndpointURL'](){const _0x500d96=_0x2b998a;var _0x2a2ee8;let _0x516ca8=this[_0x500d96(0x236)][_0x500d96(0x1eb)](C);return(_0x2a2ee8=_0x516ca8==null?void 0x0:_0x516ca8[_0x500d96(0x232)])==null?location[_0x500d96(0x18b)]:_0x2a2ee8;}[_0x2b998a(0x13a)](){const _0x731a87=_0x2b998a;var _0x5e9b7a,_0xf4d93e;let _0x24b727=this[_0x731a87(0x236)]['getConfig'](C);return(_0x5e9b7a=_0x24b727==null||(_0xf4d93e=_0x24b727[_0x731a87(0x222)])==null?void 0x0:_0xf4d93e['minSheetRowCount'])==null?0x1:_0x5e9b7a;}['_getMinSheetColumnCount'](){const _0x57f3e5=_0x2b998a;var _0x334736,_0x172a74;let _0x19de36=this['_configService']['getConfig'](C);return(_0x334736=_0x19de36==null||(_0x172a74=_0x19de36[_0x57f3e5(0x222)])==null?void 0x0:_0x172a74[_0x57f3e5(0x1a8)])==null?0x1:_0x334736;}[_0x2b998a(0x249)](){const _0x5942e2=_0x2b998a;var _0x2dc213,_0x552a16;let _0x38f57f=this[_0x5942e2(0x236)][_0x5942e2(0x1eb)](C);return(_0x2dc213=_0x38f57f==null||(_0x552a16=_0x38f57f[_0x5942e2(0x222)])==null?void 0x0:_0x552a16[_0x5942e2(0x159)])==null?!0x1:_0x2dc213;}['_getDisableCellImageConversion'](){const _0x506388=_0x2b998a;var _0x1976a8,_0x42b392;let _0x32ca9c=this[_0x506388(0x236)]['getConfig'](C);return(_0x1976a8=_0x32ca9c==null||(_0x42b392=_0x32ca9c[_0x506388(0x222)])==null?void 0x0:_0x42b392['disableCellImageConversion'])==null?!0x0:_0x1976a8;}[_0x2b998a(0x1c3)](){const _0x454a96=_0x2b998a;var _0x2f784b,_0x4846c4;let _0x2a9de0=this[_0x454a96(0x236)][_0x454a96(0x1eb)](C);return(_0x2f784b=_0x2a9de0==null||(_0x4846c4=_0x2a9de0[_0x454a96(0x222)])==null?void 0x0:_0x4846c4[_0x454a96(0x188)])==null?!0x1:_0x2f784b;}};J=V([B(0x0,_0x193798),B(0x1,_0x8c9620(_0xa66fa4)),B(0x2,_0x8c9620(U))],J);const tt={'done':0x0,'count':0x0},Y=_0x121668(_0x2b998a(0x197));let X=class extends _0x4b61fc{constructor(_0x1a8be6,_0x322e8c,_0x514a43,_0x181701,_0x1d78ed,_0x2a399e){const _0x15aa1c=_0x2b998a;super(),this[_0x15aa1c(0x217)]=_0x1a8be6,this[_0x15aa1c(0x1f0)]=_0x322e8c,this[_0x15aa1c(0x1b1)]=_0x514a43,this[_0x15aa1c(0x26c)]=_0x181701,this[_0x15aa1c(0x26f)]=_0x1d78ed,this[_0x15aa1c(0x218)]=_0x2a399e,E(this,'_progress$',new _0x4ad178(tt)),E(this,_0x15aa1c(0x229),this['_progress$']['asObservable']()),E(this,'_totalUploadTaskCount',0x0),E(this,_0x15aa1c(0x1cd),0x0),this[_0x15aa1c(0x1c2)](_0x5f2a17(this[_0x15aa1c(0x26c)][_0x15aa1c(0x24a)][_0x15aa1c(0x1e8)](_0x227d7d=>{const _0x406b58=_0x15aa1c;var _0x484f23;((_0x484f23=_0x227d7d[_0x406b58(0x1ef)])==null?void 0x0:_0x484f23[_0x406b58(0x156)])===_0x5e7506['OK']?this[_0x406b58(0x233)](0x1):this['_showNetworkError'](_0x227d7d[_0x406b58(0x1ef)]);})));}[_0x2b998a(0x15d)](){const _0x4a5a2e=_0x2b998a;this['_clearProgress'](),this[_0x4a5a2e(0x26f)][_0x4a5a2e(0x151)](D['ERROR']),this[_0x4a5a2e(0x26c)]['interruptImportTask']();}async['uploadFileToUnitId'](_0x79c6a){const _0x3f3065=_0x2b998a;throw Error(_0x3f3065(0x14b));}async['importDOCXToUnitId'](){const _0x2ac316=_0x2b998a;let _0x4c4de4=await z([_0x3d923b[_0x2ac316(0x1ad)]]);if(_0x4c4de4&&!this[_0x2ac316(0x278)](_0x4c4de4,_0x3d923b[_0x2ac316(0x1ad)]))return this[_0x2ac316(0x14a)](_0x4c4de4[0x0],_0x3d923b[_0x2ac316(0x1ad)]);}[_0x2b998a(0x19e)](){throw Error('Method\x20not\x20implemented.');}async[_0x2b998a(0x138)](_0xed65f5,_0x1d60d8,_0x1c37f6){const _0x158376=_0x2b998a;this['_showDownloadMessage'](_0x39b12d[_0x158376(0x1a2)]);let _0x2ddb13=await this[_0x158376(0x26c)][_0x158376(0x138)](_0xed65f5||this[_0x158376(0x1ca)]());_0x2ddb13&&(L(_0x2ddb13,_0x1d60d8||this[_0x158376(0x19b)](_0x2ddb13),_0x158376(0x135)),this['_showDownloadMessage'](_0x39b12d[_0x158376(0x169)]));}async[_0x2b998a(0x1fe)](){const _0x5edaa8=_0x2b998a;this['_showDownloadMessage'](_0x39b12d[_0x5edaa8(0x1a2)]);let _0xe54355=await this[_0x5edaa8(0x230)](),_0x46317f=await this[_0x5edaa8(0x26c)][_0x5edaa8(0x1fe)](_0xe54355);_0x46317f&&(L(_0x46317f,this[_0x5edaa8(0x19b)](_0x46317f),'docx'),this['_showDownloadMessage'](_0x39b12d[_0x5edaa8(0x169)]));}async[_0x2b998a(0x256)](){const _0x100b4a=_0x2b998a;if(this[_0x100b4a(0x1d9)]()){this[_0x100b4a(0x1f0)]['show']({'type':_0x39b12d[_0x100b4a(0x238)],'content':this[_0x100b4a(0x1b1)]['t']('exchange.uploading')});return;}let _0x16678f=await z([_0x3d923b[_0x100b4a(0x173)]]);if(_0x16678f&&!this[_0x100b4a(0x278)](_0x16678f,_0x3d923b[_0x100b4a(0x173)]))return this[_0x100b4a(0x14a)](_0x16678f[0x0],_0x3d923b[_0x100b4a(0x173)]);}async[_0x2b998a(0x1b7)](){const _0x1f57f3=_0x2b998a;if(this[_0x1f57f3(0x1d9)]()){this['_messageService'][_0x1f57f3(0x24e)]({'type':_0x39b12d[_0x1f57f3(0x238)],'content':this[_0x1f57f3(0x1b1)]['t'](_0x1f57f3(0x257))});return;}let _0x560558=await z([_0x3d923b[_0x1f57f3(0x173)]]);if(!_0x560558)return;this[_0x1f57f3(0x17c)](_0x39b12d[_0x1f57f3(0x1a2)]);let _0x13b3a1=await this[_0x1f57f3(0x26c)][_0x1f57f3(0x1b7)](_0x560558[0x0]);_0x13b3a1&&(this[_0x1f57f3(0x1d0)](_0x13b3a1),this[_0x1f57f3(0x17c)](_0x39b12d[_0x1f57f3(0x169)]));}async['exportXLSXByUnitId'](_0x247c42,_0x5a00e9,_0x380a99){const _0xf8cef2=_0x2b998a;this[_0xf8cef2(0x25c)](_0x39b12d[_0xf8cef2(0x1a2)]);let _0x3a8792=await this[_0xf8cef2(0x26c)][_0xf8cef2(0x255)](_0x247c42||this[_0xf8cef2(0x192)]());_0x3a8792&&(L(_0x3a8792,_0x5a00e9||this[_0xf8cef2(0x19b)](_0x3a8792),_0xf8cef2(0x219)),this[_0xf8cef2(0x25c)](_0x39b12d[_0xf8cef2(0x169)]));}async[_0x2b998a(0x1ed)](){const _0x532942=_0x2b998a;this[_0x532942(0x25c)](_0x39b12d['Info']);let _0x275c36=await this[_0x532942(0x16f)](),_0x3dd486=await this[_0x532942(0x26c)]['exportXLSXBySnapshot'](_0x275c36);_0x3dd486&&(L(_0x3dd486,this['_getUnitName'](_0x3dd486),'xlsx'),this[_0x532942(0x25c)](_0x39b12d[_0x532942(0x169)]));}['registerLink'](_0x3c9c8c){const _0x582084=_0x2b998a;this[_0x582084(0x175)]=_0x3c9c8c;}async['_importFileToUnitId'](_0x7ffa31,_0xe4539c){const _0xa30b1b=_0x2b998a;this[_0xa30b1b(0x26f)][_0xa30b1b(0x24e)](),this['_uploadNotificationService'][_0xa30b1b(0x151)](D[_0xa30b1b(0x20d)]),this['_addTotalCount'](0x4),this[_0xa30b1b(0x233)](0x1);let _0x46e142=await this['_exchangeService'][_0xa30b1b(0x14c)](_0x7ffa31,_0xe4539c);if(!_0x46e142){this[_0xa30b1b(0x21f)](),this[_0xa30b1b(0x26f)]['updateState'](D[_0xa30b1b(0x246)]);return;}let _0x112b1f={'link':this[_0xa30b1b(0x175)](_0x46e142,_0xe4539c),'name':_0x7ffa31[_0xa30b1b(0x212)],'type':_0xe4539c};return this[_0xa30b1b(0x26f)][_0xa30b1b(0x16c)](_0x112b1f),this['_completeProgress'](),this['_uploadNotificationService'][_0xa30b1b(0x151)](D['SUCCESS']),_0x46e142;}[_0x2b998a(0x192)](){const _0x4e8598=_0x2b998a;return this[_0x4e8598(0x217)][_0x4e8598(0x1e5)](_0x10f1d7[_0x4e8598(0x173)])['getUnitId']();}['_getUnitIDDoc'](){const _0x2be147=_0x2b998a;return this['_univerInstanceService'][_0x2be147(0x1e5)](_0x10f1d7[_0x2be147(0x1ad)])['getUnitId']();}[_0x2b998a(0x19b)](_0x2927f5){const _0xdc39da=_0x2b998a;var _0x30f25d;return((_0x30f25d=this[_0xdc39da(0x217)]['getCurrentUnitOfType'](_0x10f1d7[_0xdc39da(0x173)]))==null?void 0x0:_0x30f25d[_0xdc39da(0x212)])||_0x2927f5[_0xdc39da(0x212)]['split']('.')['shift']()||document[_0xdc39da(0x1ab)];}async[_0x2b998a(0x16f)](){const _0x52b5c8=_0x2b998a;return this['_univerInstanceService'][_0x52b5c8(0x1e5)](_0x10f1d7[_0x52b5c8(0x173)])[_0x52b5c8(0x25b)]();}async['_getUnitDocJson'](){const _0x2db29d=_0x2b998a;return this[_0x2db29d(0x217)][_0x2db29d(0x1e5)](_0x10f1d7[_0x2db29d(0x1ad)])[_0x2db29d(0x25b)]();}['_getLinkByUnitId'](_0x43083a,_0x5689e7){const _0x3b5cfe=_0x2b998a;let _0x12cc1d=new URL(window[_0x3b5cfe(0x226)][_0x3b5cfe(0x279)]);return _0x12cc1d[_0x3b5cfe(0x16d)][_0x3b5cfe(0x1c5)](_0x3b5cfe(0x1bb),_0x43083a),_0x12cc1d[_0x3b5cfe(0x16d)][_0x3b5cfe(0x1c5)](_0x3b5cfe(0x1ff),''+_0x5689e7),_0x12cc1d[_0x3b5cfe(0x227)]();}[_0x2b998a(0x1d0)](_0x2cd8c0){const _0x5d9248=_0x2b998a;let _0x2ec40a=this['_univerInstanceService']['getCurrentUnitForType'](_0x10f1d7[_0x5d9248(0x173)])[_0x5d9248(0x245)]();this[_0x5d9248(0x217)][_0x5d9248(0x1d7)](_0x2ec40a),this[_0x5d9248(0x217)]['createUnit'](_0x10f1d7[_0x5d9248(0x173)],_0x2cd8c0);}['_showNetworkError'](_0x20fd20){const _0x535e28=_0x2b998a;if(_0x20fd20){let {code:_0x3eb6f1}=_0x20fd20;switch(_0x3eb6f1){case _0x5e7506[_0x535e28(0x220)]:this[_0x535e28(0x1f0)][_0x535e28(0x24e)]({'type':_0x39b12d[_0x535e28(0x194)],'content':this[_0x535e28(0x1b1)]['t'](_0x535e28(0x247))});break;case _0x5e7506[_0x535e28(0x181)]:this[_0x535e28(0x1f0)][_0x535e28(0x24e)]({'type':_0x39b12d[_0x535e28(0x194)],'content':this[_0x535e28(0x1b1)]['t'](_0x535e28(0x133))});break;default:this[_0x535e28(0x1f0)][_0x535e28(0x24e)]({'type':_0x39b12d[_0x535e28(0x194)],'content':this[_0x535e28(0x1b1)]['t'](_0x535e28(0x264))});break;}return null;}return this[_0x535e28(0x1f0)][_0x535e28(0x24e)]({'type':_0x39b12d[_0x535e28(0x194)],'content':this[_0x535e28(0x1b1)]['t'](_0x535e28(0x264))}),null;}[_0x2b998a(0x25c)](_0x471ae1){const _0x1d1cec=_0x2b998a;let _0x184daa='';switch(_0x471ae1){case _0x39b12d[_0x1d1cec(0x169)]:_0x184daa=this[_0x1d1cec(0x1b1)]['t'](_0x1d1cec(0x207));break;case _0x39b12d[_0x1d1cec(0x1a2)]:_0x184daa=this[_0x1d1cec(0x1b1)]['t']('exchange.downloading');break;default:break;}this[_0x1d1cec(0x1f0)][_0x1d1cec(0x24e)]({'type':_0x471ae1,'content':_0x184daa});}[_0x2b998a(0x17c)](_0x4963d5){const _0x5564ec=_0x2b998a;let _0x111795='';switch(_0x4963d5){case _0x39b12d[_0x5564ec(0x169)]:_0x111795=this['_localeService']['t']('exchange.uploadSuccess');break;case _0x39b12d[_0x5564ec(0x1a2)]:_0x111795=this[_0x5564ec(0x1b1)]['t'](_0x5564ec(0x257));break;default:break;}this[_0x5564ec(0x1f0)][_0x5564ec(0x24e)]({'type':_0x4963d5,'content':_0x111795});}[_0x2b998a(0x25e)](){const _0x59cd3e=_0x2b998a;this[_0x59cd3e(0x16e)]['next']({'done':this[_0x59cd3e(0x1cd)],'count':this['_totalUploadTaskCount']});}['_addTotalCount'](_0x345c88){const _0x3de428=_0x2b998a;this[_0x3de428(0x1fc)]+=_0x345c88,this['_emitProgress']();}[_0x2b998a(0x233)](_0x48b519){const _0x53036c=_0x2b998a;this[_0x53036c(0x1cd)]+=_0x48b519,this[_0x53036c(0x1cd)]=Math[_0x53036c(0x1d2)](this[_0x53036c(0x1cd)],this[_0x53036c(0x1fc)]),this[_0x53036c(0x25e)]();}[_0x2b998a(0x213)](){const _0x924da2=_0x2b998a;this[_0x924da2(0x1cd)]=this[_0x924da2(0x1fc)],this[_0x924da2(0x25e)]();}[_0x2b998a(0x21f)](){const _0x520f55=_0x2b998a;this[_0x520f55(0x1cd)]=0x0,this[_0x520f55(0x1fc)]=0x0,this[_0x520f55(0x25e)]();}[_0x2b998a(0x278)](_0x20c410,_0x166a2a){const _0x2feaaa=_0x2b998a;let _0x18fe8b=_0x20c410[0x0],_0x527c90=_0x18fe8b[_0x2feaaa(0x212)];return R(_0x18fe8b)===_0x166a2a?!0x1:(this[_0x2feaaa(0x1f0)][_0x2feaaa(0x24e)]({'type':_0x39b12d[_0x2feaaa(0x194)],'content':this[_0x2feaaa(0x1b1)]['t'](_0x2feaaa(0x168),_0x527c90)}),!0x0);}[_0x2b998a(0x1d9)](){const _0x2f24cb=_0x2b998a;return this[_0x2f24cb(0x1fc)]!==0x0&&this['_doneUploadTaskCount']!==this['_totalUploadTaskCount'];}};X=V([B(0x0,_0x8c9620(_0x2a416d)),B(0x1,_0x31879f),B(0x2,_0x8c9620(_0x2fd4e0)),B(0x3,_0x8c9620(q)),B(0x4,_0x8c9620(O)),B(0x5,_0x37080f)],X);function nt(_0x33280d){let {onClick:_0x336e79,children:_0x295fd4,className:_0x245029}=_0x33280d;return _0x5c3c42('button',{'className':_0x1b02ba('\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-primary-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20',_0x245029),'type':'button','onClick':_0x336e79,'children':_0x295fd4});}function rt(){const _0x1eee54=_0x2b998a;let _0x56ed88=_0x5f3810(Y),_0x58f336=_0x5f3810(_0x2fd4e0);function _0xda18a5(){const _0x5d3df5=_0x6682;_0x56ed88[_0x5d3df5(0x256)]();}return _0x5c3c42(nt,{'onClick':_0xda18a5,'children':_0x58f336['t'](_0x1eee54(0x19f))});}function it(){const _0x5aaa64=_0x2b998a;return _0x2d7603(_0x5aaa64(0x1b2),{'className':_0x5aaa64(0x17b),'children':[_0x5c3c42(_0x5aaa64(0x1ac),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x5f3810(_0x2fd4e0)['t'](_0x5aaa64(0x1cc))}),_0x5c3c42(rt,{})]});}function at(_0x376cf6){const _0x1f52c7=_0x2b998a;let {count:_0x2d5c9e}=_0x376cf6;return _0x2d7603(_0x1f52c7(0x1b2),{'className':_0x1f52c7(0x23b),'children':[_0x5c3c42(_0x1f52c7(0x1ac),{'className':_0x1f52c7(0x1cf),'children':_0x5f3810(_0x2fd4e0)['t'](_0x1f52c7(0x145),''+_0x2d5c9e)}),_0x5c3c42(rt,{})]});}function ot(){const _0x250fbe=_0x2b998a;let _0x44177f=_0x5f3810(Y),_0x6ceba2=_0x5f3810(_0x2fd4e0);function _0x3fd534(){_0x44177f['interrupt']();}return _0x5c3c42(nt,{'onClick':_0x3fd534,'children':_0x6ceba2['t'](_0x250fbe(0x195))});}function st(){const _0x41ba68=_0x2b998a;let {count:_0x6b7078,done:_0x4e4edc}=_0x160843(_0x5f3810(Y)[_0x41ba68(0x229)]),[_0x16a6d3,_0x2a48ca]=_0x5c3184(_0x6b7078>0x0?_0x4e4edc/_0x6b7078:0x0);return _0x5e2ab8(()=>{_0x2a48ca(_0x6b7078>0x0?_0x4e4edc/_0x6b7078:0x0);},[_0x6b7078,_0x4e4edc]),_0x5c3c42(_0x41ba68(0x1b2),{'className':_0x41ba68(0x143),'children':_0x5c3c42(_0x41ba68(0x1b2),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','style':{'width':Math['floor'](_0x16a6d3*0x64)+'%'}})});}function ct(){const _0x533e40=_0x2b998a;return _0x2d7603('div',{'className':_0x533e40(0x17b),'children':[_0x5c3c42('span',{'className':_0x533e40(0x136),'children':_0x5f3810(_0x2fd4e0)['t'](_0x533e40(0x1d4))}),_0x5c3c42(_0x533e40(0x1b2),{'className':_0x533e40(0x210),'children':_0x5c3c42(st,{})}),_0x5c3c42(ot,{})]});}const lt={[D['SUCCESS']]:_0x5c3c42(_0x38e1b5,{'className':'univer-text-green-500'}),[D[_0x2b998a(0x20d)]]:_0x5c3c42(_0x5ebd9e,{'className':_0x2b998a(0x1b3)}),[D[_0x2b998a(0x246)]]:_0x5c3c42(_0x3bf699,{'className':_0x2b998a(0x17e)})};function ut(){const _0x5b5068=_0x2b998a;let [_0x2cdce9,_0x503e7a]=_0x5c3184(D[_0x5b5068(0x20d)]),[_0x50c669,_0x2eaad9]=_0x5c3184(!0x1),[_0x18f3be,_0x335163]=_0x5c3184([]),_0x85c1ee=_0x5f3810(O),_0x49c6e3=_0x5f3810(_0x2fd4e0);_0x5e2ab8(()=>{const _0x56a05a=_0x5b5068;let _0x23e74f=_0x85c1ee[_0x56a05a(0x225)]['subscribe'](_0x143a19=>{_0x2eaad9(_0x143a19);}),_0x3decdd=_0x85c1ee[_0x56a05a(0x161)][_0x56a05a(0x1e8)](_0x3fb2d3=>{_0x335163(_0x3fb2d3);}),_0x3f6f00=_0x85c1ee[_0x56a05a(0x139)][_0x56a05a(0x1e8)](_0x40305d=>{_0x503e7a(_0x40305d);});return()=>{const _0x170cb9=_0x56a05a;_0x23e74f[_0x170cb9(0x16b)](),_0x3decdd[_0x170cb9(0x16b)](),_0x3f6f00[_0x170cb9(0x16b)]();};},[]);function _0x3546b1(){_0x2eaad9(!0x1);}function _0x222589(_0x2af206){const _0x1fac6d=_0x5b5068;switch(_0x2af206){case D['SUCCESS']:return _0x49c6e3['t']('exchange.uploadSuccess');case D[_0x1fac6d(0x20d)]:return _0x49c6e3['t'](_0x1fac6d(0x257));case D['ERROR']:return _0x49c6e3['t'](_0x1fac6d(0x144));default:return'';}}return _0x50c669&&_0x2d7603(_0x5b5068(0x1b2),{'className':_0x5b5068(0x17f),'children':[_0x2d7603('div',{'className':_0x5b5068(0x141),'children':[_0x2d7603('span',{'className':_0x5b5068(0x203),'children':[_0x5c3c42(_0x5b5068(0x1ac),{'className':_0x5b5068(0x26a),'children':lt[_0x2cdce9]}),_0x5c3c42('span',{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':_0x222589(_0x2cdce9)})]}),_0x5c3c42('span',{'className':_0x5b5068(0x215),'onClick':_0x3546b1,'children':_0x5c3c42(_0x63394,{})})]}),_0x2d7603(_0x5b5068(0x1b2),{'children':[_0x2cdce9===D[_0x5b5068(0x20d)]&&_0x5c3c42(ct,{}),_0x2cdce9===D['ERROR']&&_0x5c3c42(it,{}),_0x18f3be[_0x5b5068(0x1bc)]>0x0&&_0x5c3c42(Re,{'list':_0x18f3be}),_0x2cdce9===D[_0x5b5068(0x25d)]&&_0x5c3c42(at,{'count':_0x18f3be[_0x5b5068(0x1bc)]})]})]});}function Z(){return _0x5c3c42(ut,{});}let Q=class extends _0x4b61fc{constructor(_0x1c4827,_0x3129b5){const _0x5f3361=_0x2b998a;super(),this[_0x5f3361(0x270)]=_0x1c4827,this[_0x5f3361(0x137)]=_0x3129b5,this[_0x5f3361(0x1dd)]();}['_registerComponents'](){const _0x67ae69=_0x2b998a;this['disposeWithMe'](this['_uiPartsService'][_0x67ae69(0x1f5)](_0x3afd3c[_0x67ae69(0x268)],()=>_0x60fcc4(Z,this[_0x67ae69(0x270)])));}};Q=V([B(0x0,_0x8c9620(_0x3a7164)),B(0x1,_0x323eb9)],Q);let $=class extends _0x3b8746{constructor(_0x3ee54d=w,_0x675a7a,_0x48c0cc){const _0x5dbeb0=_0x2b998a;super(),this[_0x5dbeb0(0x22a)]=_0x3ee54d,this[_0x5dbeb0(0x270)]=_0x675a7a,this['_configService']=_0x48c0cc;let {..._0x7ced85}=_0x2709db({},w,this[_0x5dbeb0(0x22a)]);this[_0x5dbeb0(0x236)][_0x5dbeb0(0x1f1)](C,_0x7ced85);}[_0x2b998a(0x20f)](){const _0x3ae4e6=_0x2b998a;_0x4b17b4(this[_0x3ae4e6(0x270)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[U,{'useClass':W}],[O,{'useClass':k}]]);}[_0x2b998a(0x1f9)](){const _0xc5724=_0x2b998a;_0x1dbd07(this[_0xc5724(0x270)],[[Q],[Y]]);}};E($,_0x2b998a(0x1e7),_0x2b998a(0x202)),E($,_0x2b998a(0x243),Pe),E($,_0x2b998a(0x19a),Fe),$=V([_0x21c5e8(_0x25466c,_0x28b177),B(0x1,_0x8c9620(_0x3a7164)),B(0x2,_0x193798)],$);export{C as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,U as IRequestService,O as IUploadNotificationService,W as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,D as UploadNotificationState,L as downloadFile,R as getUniverTypeByFile,z as getUploadFile,Ze as transformDocumentDataToSnapshotJson,$e as transformSnapshotJsonToDocumentData,Qe as transformSnapshotJsonToWorkbookData,G as transformWorkbookDataToSnapshotJson};
|
|
1
|
+
const _0x13592d=_0x29de;(function(_0x48390a,_0x1fda32){const _0x30b497=_0x29de,_0x3fc33c=_0x48390a();while(!![]){try{const _0xc2f0ab=-parseInt(_0x30b497(0x16c))/0x1+-parseInt(_0x30b497(0xaf))/0x2*(parseInt(_0x30b497(0x187))/0x3)+-parseInt(_0x30b497(0x91))/0x4*(parseInt(_0x30b497(0x108))/0x5)+-parseInt(_0x30b497(0xb5))/0x6*(parseInt(_0x30b497(0x185))/0x7)+parseInt(_0x30b497(0x176))/0x8+-parseInt(_0x30b497(0x11c))/0x9+-parseInt(_0x30b497(0x1be))/0xa*(-parseInt(_0x30b497(0xce))/0xb);if(_0xc2f0ab===_0x1fda32)break;else _0x3fc33c['push'](_0x3fc33c['shift']());}catch(_0x2c42bd){_0x3fc33c['push'](_0x3fc33c['shift']());}}}(_0x50ce,0xa5bc7));import{UniverLicensePlugin as _0x1951d8}from'@univerjs-pro/license';import{DependentOn as _0x3d34df,Disposable as _0x27498b,IConfigService as _0x2ce7f3,ILogService as _0x160774,IUniverInstanceService as _0x4a966e,Inject as _0x38d816,Injector as _0x498f3d,LocaleService as _0x483539,Plugin as _0x23106f,UniverInstanceType as _0x4ff47f,createIdentifier as _0x23a1bc,merge as _0x5cd26a,registerDependencies as _0x540990,resolveWithBasePath as _0x4f1d76,toDisposable as _0x24338b,touchDependencies as _0x5c8bf5}from'@univerjs/core';import{HTTPResponseError as _0x4a28cd,HTTPService as _0xfb482b,UniverNetworkPlugin as _0x25057e}from'@univerjs/network';import{BuiltInUIPart as _0x48a611,IMessageService as _0x18e00f,IUIPartsService as _0xdca652,connectInjector as _0x5d181d,useDependency as _0x4c6ad3,useObservable as _0x31f857}from'@univerjs/ui';import{ClockIcon as _0x19c2d6,CloseIcon as _0x40821a,DocMultiIcon as _0x3d2bed,ErrorIcon as _0x986a,ShareRangeIcon as _0x3916c8,SlideMultiIcon as _0x532abb,SuccessIcon as _0x2d2951,XlsxMultiIcon as _0x5b5fd8}from'@univerjs/icons';import{useEffect as _0x5577e5,useState as _0x2f7635}from'react';import{BehaviorSubject as _0x5f09f7,Subject as _0x4da9b5}from'rxjs';import{MessageType as _0x45229d,Tooltip as _0x8e302a,clsx as _0x15d61d,scrollbarClassName as _0x2f7f2e}from'@univerjs/design';import{jsx as _0x4066ec,jsxs as _0x1bbb51}from'react/jsx-runtime';import{ErrorCode as _0x1ceaca,FileSource as _0x1ab568,UniverType as _0xe384f0}from'@univerjs/protocol';import{b64DecodeUnicode as _0x575632,b64EncodeUnicode as _0x202e0c,getSheetBlocksFromSnapshot as _0x4455b3,textDecoder as _0x53426c,textEncoder as _0x303673,transformDocumentDataToSnapshot as _0x5e4311,transformSnapshotToDocumentData as _0x202a5e,transformSnapshotToWorkbookData as _0xef73b4,transformWorkbookDataToSnapshot as _0xd55745}from'@univerjs-pro/collaboration';import _0x48167a from'pako';const C='exchange-client.config';Symbol(C);const w={};var Pe=_0x13592d(0x11e),Fe=_0x13592d(0x146);function T(_0x359644){'@babel/helpers - typeof';const _0x4471ae=_0x13592d;return T=typeof Symbol==_0x4471ae(0x15a)&&typeof Symbol[_0x4471ae(0x125)]==_0x4471ae(0x180)?function(_0x5d0ad3){return typeof _0x5d0ad3;}:function(_0x38050d){const _0x258e91=_0x4471ae;return _0x38050d&&typeof Symbol==_0x258e91(0x15a)&&_0x38050d[_0x258e91(0xd5)]===Symbol&&_0x38050d!==Symbol[_0x258e91(0x17c)]?'symbol':typeof _0x38050d;},T(_0x359644);}function _0x50ce(){const _0x28d3c0=['get','div','UNIT','_showUploadMessage','_injector','error','importDOCXToSnapshot','onStarting','application/octet-stream','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','searchParams','stringify','_localeService','application/vnd.openxmlformats-officedocument.presentationml.presentation','.json','file','Failed\x20to\x20get\x20jsonID\x20from\x20task','EXPORT','defineProperty','_configService','getCurrentUnitOfType','list$','outputType','statusText','includes','_getUnitID','string','_getMinSheetColumnCount','0.19.0','Failed\x20to\x20transform\x20snapshot\x20to\x20string','call','complete','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','pending','FileId','shift','origin','copyFileMeta','_getUnitName','data','Error','getUnitOnRev','span','UNRECOGNIZED','_buildHttpErrorMessage','JSON','state$','{taskID}','function','workbook','type','link','fileID','decode','exchange.tooLarge','pluginName','getUnitId','_sheetBlockCache','SUCCESS','GET_JSON','buffer','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','download','uploadFileServerUrl','doc','exchange.uploadAgain','1121935XTZYOU','xlsm','object','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','file.','dispose','_getExportURL','toString','_addTotalCount','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','8597928gpWpZM','sheets','Failed\x20to\x20get\x20fileID\x20from\x20task','taskID','downloadEndpointUrl','_httpService','prototype','_getUploadFileURL','univer-h-6\x20univer-text-2xl','/universer-api/exchange/{type}/export','symbol','parse','disableCellImageConversion','application/vnd.openxmlformats-officedocument.spreadsheetml.template','univer-pl-2\x20univer-pr-4','2319149inWFBX','/universer-api/exchange/task/{taskID}','60585HLPbuu','block\x20is\x20required','progress$','unitID','createUnit','ERROR','HttpImport','_importFileToUnitId','isArray','text','_getDownloadEndpointURL','_fileTypeError','removeChild','originalMeta','_uiPartsService','exchange.fileTypeError','show','importWorkbookDataToUnitId','hide','exportXLSXByUnitId','set','floor','fetchMissingChangesets','univer-pro.exchange-client.upload-notification.service','Failed\x20to\x20get\x20file\x20from\x20url','SIGN_URL','decorate','_registerComponents','match','resolve','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','minSheetRowCount','keys','registerLink','success','exchange.internalError','UNIVER_PROJECT','UNIVER_DOC','message','ignoreTableExport','univer-text-red-500','sheetBlocks','_requestService','getLatestCsReqIdBySid','_exchangeService','version','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_getIgnoreTableExport','Success','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_taskInterrupted','pathname','Failed\x20to\x20get\x20text\x20from\x20url','jsonID','some','20540iTrjnp',':\x20HTTP\x20','upload\x20request\x20failed','_emitProgress','exchange.downloading','export\x20error','packageName','_showNetworkError','_getUnitDocJson','_getDisableCellImageConversion','button','univer-mt-5\x20univer-flex\x20univer-flex-col','size','input','replace','exchange.uploading','_messageService','_importTaskId','/universer-api/file/{fileID}/sign-url','_getLinkByUnitId','addEventListener','_univerInstanceService','_progress$','exportDOCXByUnitId','createElement','getSheetBlock','&source=','_getImportURL','change','_config','upload\x20failed:\x20FileId\x20is\x20empty','minSheetColumnCount','Failed\x20to\x20get\x20unitID\x20from\x20task','/universer-api/stream/file/upload','options','importServerUrl','univer-text-sm\x20univer-text-gray-500','CONTENT','createObjectURL','pop','clearTaskInterrupted','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','164guvJCe','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_showDownloadMessage','IMPORT','values','unsubscribe','_uploadTaskNotDone','forEach','_clearProgress','number','_uploadNotificationService','exportDOCXBySnapshot','_requestState$','_getSignURL','Warning','No\x20file\x20selected','blob','UNIVER_SHEET','headers','_list','encode','url','setTaskInterrupted','_getTaskURL','file.json','toLowerCase','currentTarget','import','length','updateSnapshot','38LCKLbY','_getUnitIDDoc','next','split','_importToSnapshot','status','18dQEMza','disposeWithMe','Get\x20outputType\x20error','univer-pro.exchange-client.exchange.service','getConfig','getTaskServerUrl','_import','export','UNDEFINED','docx','code','files','getTextFromUrl','map','name','univer-flex\x20univer-h-5\x20univer-text-xl','subscribe','_getMinSheetRowCount','sign\x20url\x20error','UNIVER_UNKNOWN','_extractErrorDetail','min','title','importXLSXToUnitId','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','19382vjCluy','interruptImportTask','rev','Content-Type','xltx','toPrimitive','join','constructor','_getMaxPollingTime','unshift','_getUnitJson','application/vnd.openxmlformats-officedocument.wordprocessingml.document','catch','_getEnableServerSideComputing','GET_TASK','body','saveSnapshot','exchange.interrupt','trim','exchange.uploadSuccess','snapshot','application/json','upload','exchange.uploadSuccessTip','_upload','univer-text-green-500','blockID','univer-flex','_visible$','interrupt','signUrlServerUrl','_signUrl','setConfig','add','workbook.json','href','clear','UNIVER_SLIDE','append','maxTimeoutTime','display','Method\x20not\x20implemented.','_logService','enableServerSideComputing','accept','style','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','_state$','importDOCXToUnitId','exportXLSXBySnapshot','univer-text-blue-500','post','appendChild','_export','_totalUploadTaskCount','visible$','updateState','pptx','121535tzMkCb','_addDoneTask','UPLOADING','import\x20error','importFileToUnitId','getTask','registerComponent','importXLSXToSnapshot','saveChangeset','xlsx','asObservable','_completeProgress','\x20-\x20','exchange.networkError','UPLOAD','Info','filter','univer-pro.exchange-client.request.service','pushLink','unit','4669974LsCwbb','_exportBySnapshot','@univerjs-pro/exchange-client','exchange.cancel','getOwnPropertyDescriptor','_blank','getCurrentUnitForType','_list$','content-disposition','iterator','click','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','_doneUploadTaskCount','signUrl'];_0x50ce=function(){return _0x28d3c0;};return _0x50ce();}function Ie(_0x38038e,_0x5a3660){const _0x4da291=_0x13592d;if(T(_0x38038e)!=_0x4da291(0x16e)||!_0x38038e)return _0x38038e;var _0x5407cb=_0x38038e[Symbol[_0x4da291(0xd3)]];if(_0x5407cb!==void 0x0){var _0x494670=_0x5407cb[_0x4da291(0x148)](_0x38038e,_0x5a3660||'default');if(T(_0x494670)!='object')return _0x494670;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5a3660===_0x4da291(0x144)?String:Number)(_0x38038e);}function Le(_0x3b7c46){const _0xe8dd58=_0x13592d;var _0x4b1986=Ie(_0x3b7c46,_0xe8dd58(0x144));return T(_0x4b1986)=='symbol'?_0x4b1986:_0x4b1986+'';}function E(_0x4e8e62,_0x4d6f01,_0x4c3dd8){const _0x1cadf6=_0x13592d;return(_0x4d6f01=Le(_0x4d6f01))in _0x4e8e62?Object[_0x1cadf6(0x13c)](_0x4e8e62,_0x4d6f01,{'value':_0x4c3dd8,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4e8e62[_0x4d6f01]=_0x4c3dd8,_0x4e8e62;}let D=function(_0x5dcbba){const _0x56c22c=_0x13592d;return _0x5dcbba[_0x5dcbba[_0x56c22c(0x10a)]=0x0]=_0x56c22c(0x10a),_0x5dcbba[_0x5dcbba[_0x56c22c(0x164)]=0x1]=_0x56c22c(0x164),_0x5dcbba[_0x5dcbba[_0x56c22c(0x18c)]=0x2]='ERROR',_0x5dcbba;}({});const O=_0x23a1bc(_0x13592d(0x19e));var k=class extends _0x27498b{constructor(){const _0x59db31=_0x13592d;super(),E(this,_0x59db31(0xea),new _0x4da9b5()),E(this,_0x59db31(0xfd),new _0x4da9b5()),E(this,'_list$',new _0x4da9b5()),E(this,_0x59db31(0x105),this[_0x59db31(0xea)][_0x59db31(0x112)]()),E(this,_0x59db31(0x158),this['_state$'][_0x59db31(0x112)]()),E(this,_0x59db31(0x13f),this[_0x59db31(0x123)]['asObservable']()),E(this,'_list',[]);}[_0x13592d(0x171)](){const _0x4ae1cf=_0x13592d;super[_0x4ae1cf(0x171)](),this[_0x4ae1cf(0xea)][_0x4ae1cf(0x149)](),this['_state$'][_0x4ae1cf(0x149)](),this[_0x4ae1cf(0x123)][_0x4ae1cf(0x149)]();}['show'](){this['_visible$']['next'](!0x0);}[_0x13592d(0x199)](){const _0x2c9df7=_0x13592d;this['_visible$'][_0x2c9df7(0xb1)](!0x1);}[_0x13592d(0x106)](_0x4a61f0){const _0x2565fc=_0x13592d;this[_0x2565fc(0xfd)][_0x2565fc(0xb1)](_0x4a61f0);}[_0x13592d(0x11a)](_0x271a57){const _0x2deddc=_0x13592d;this[_0x2deddc(0xa4)][_0x2deddc(0xd7)](_0x271a57),this[_0x2deddc(0x123)][_0x2deddc(0xb1)](this[_0x2deddc(0xa4)]);}};function Re(_0x5d8e20){const _0x1f0596=_0x13592d;let {list:_0x1366da}=_0x5d8e20;function _0x1242ce(_0x451e82){switch(_0x451e82){case 0x1:return _0x4066ec(_0x3d2bed,{});case 0x2:return _0x4066ec(_0x5b5fd8,{});case 0x3:return _0x4066ec(_0x532abb,{});default:return null;}}return _0x4066ec(_0x1f0596(0x12b),{'className':_0x15d61d('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x2f7f2e),'children':_0x4066ec('ul',{'className':_0x1f0596(0x14a),'children':_0x1366da[_0x1f0596(0xc2)]((_0x7a9314,_0x5f0e2c)=>_0x4066ec('li',{'children':_0x1bbb51('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-white\x20dark:hover:!univer-bg-gray-600','href':_0x7a9314[_0x1f0596(0x15d)],'target':_0x1f0596(0x121),'rel':'noreferrer','children':[_0x1bbb51('span',{'className':_0x1f0596(0x175),'children':[_0x4066ec(_0x1f0596(0x154),{'className':_0x1f0596(0xc4),'children':_0x1242ce(_0x7a9314[_0x1f0596(0x15c)])}),_0x4066ec(_0x8e302a,{'showIfEllipsis':!0x0,'title':_0x7a9314[_0x1f0596(0xc3)],'asChild':!0x0,'children':_0x4066ec('span',{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x7a9314[_0x1f0596(0xc3)]})})]}),_0x4066ec(_0x1f0596(0x154),{'className':'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','children':_0x4066ec(_0x3916c8,{})})]})},_0x5f0e2c))})});}const A=_0x13592d(0xd9),j=_0x13592d(0x167),M='application/vnd.ms-excel.sheet.macroEnabled.12',N=_0x13592d(0x183),P=_0x13592d(0x137),F={[_0xe384f0[_0x13592d(0xc8)]]:[''],[_0xe384f0[_0x13592d(0x1ac)]]:[A],[_0xe384f0[_0x13592d(0xa2)]]:[j,M,N],[_0xe384f0[_0x13592d(0xf3)]]:[P],[_0xe384f0[_0x13592d(0x1ab)]]:[''],[_0xe384f0[_0x13592d(0x155)]]:['']},I={[A]:_0x13592d(0xbe),[j]:_0x13592d(0x111),[M]:_0x13592d(0x16d),[N]:_0x13592d(0xd2),[P]:_0x13592d(0x107)};function ze(_0x29119e,_0x201bca,_0x226766){const _0x365fa8=_0x13592d;let _0x126d43=document['createElement']('a');_0x126d43[_0x365fa8(0xf1)]=_0x29119e,_0x126d43[_0x365fa8(0xfb)][_0x365fa8(0xf6)]='none',_0x126d43[_0x365fa8(0x168)]=_0x201bca+'.'+_0x226766,document[_0x365fa8(0xdd)][_0x365fa8(0x102)](_0x126d43),_0x126d43['click'](),document[_0x365fa8(0xdd)][_0x365fa8(0x193)](_0x126d43);}function L(_0x1946cf,_0x4877e3,_0x1b6029){const _0x35bcdf=_0x13592d;let _0x2b03a3=URL[_0x35bcdf(0x8d)](_0x1946cf);ze(_0x2b03a3,_0x4877e3,_0x1b6029),URL['revokeObjectURL'](_0x2b03a3);}function R(_0x519205){const _0x52167f=_0x13592d;let _0x45d654=_0x519205[_0x52167f(0xc3)][_0x52167f(0xb2)]('.')[_0x52167f(0x8e)]();if(!_0x45d654)return _0xe384f0[_0x52167f(0xc8)];let _0x31bc8a=Be(),_0x44c104=_0xe384f0[_0x52167f(0xc8)];return _0x31bc8a[_0x52167f(0x1bd)](_0x253eff=>Ve(_0x45d654,_0x253eff)?(_0x44c104=_0x253eff,!0x0):!0x1),_0x44c104;}function Be(){const _0x2b6559=_0x13592d;return Object[_0x2b6559(0x95)](_0xe384f0)[_0x2b6559(0x118)](_0x1b670c=>typeof _0x1b670c==_0x2b6559(0x9a));}function Ve(_0x359855,_0x5daa05){const _0x16623f=_0x13592d;return F[_0x5daa05]['map'](_0x4b2d45=>(I[_0x4b2d45]||'')[_0x16623f(0xaa)]())[_0x16623f(0x142)](_0x359855['toLowerCase']());}function z(_0x1db06c,_0x5ab6ed=!0x1){const _0x5d18b3=_0x13592d;let _0x36faea=_0x1db06c[_0x5d18b3(0xc2)](_0x2b5b2f=>F[_0x2b5b2f])['join'](',');return new Promise((_0x4e07da,_0x24b3d1)=>{const _0x4d5123=_0x5d18b3;let _0xfa0c01=document[_0x4d5123(0x1d6)](_0x4d5123(0x1cb));_0xfa0c01['type']=_0x4d5123(0x139),_0xfa0c01[_0x4d5123(0xfa)]=_0x36faea,_0xfa0c01['multiple']=_0x5ab6ed,_0xfa0c01[_0x4d5123(0x1d2)](_0x4d5123(0x83),_0x3047e8=>{const _0x49b75f=_0x4d5123;let _0x3a504e=_0x3047e8[_0x49b75f(0xab)];if(!_0x3a504e[_0x49b75f(0xc0)]||_0x3a504e[_0x49b75f(0xc0)][_0x49b75f(0xad)]===0x0)throw _0x24b3d1(null),Error(_0x49b75f(0xa0));_0x4e07da(_0x3a504e[_0x49b75f(0xc0)]);}),_0xfa0c01[_0x4d5123(0x126)]();});}function _0x29de(_0x3ae1a1,_0x4f282f){_0x3ae1a1=_0x3ae1a1-0x80;const _0x50ce99=_0x50ce();let _0x29decf=_0x50ce99[_0x3ae1a1];return _0x29decf;}async function He(_0x4f9304,_0x59d191){const _0x3a97a2=_0x13592d;try{var _0x34188d,_0xd3f723,_0x1cb81a;let _0x1aae1b=await _0x59d191['get'](_0x4f9304,{'responseType':_0x3a97a2(0xa1)}),_0x4de727=_0x1aae1b[_0x3a97a2(0xdd)],_0x81e5b2=(_0x34188d=(_0xd3f723=_0x1aae1b[_0x3a97a2(0xa3)][_0x3a97a2(0x12a)](_0x3a97a2(0xd1)))==null?void 0x0:_0xd3f723[_0x3a97a2(0xd4)](',\x20'))==null?_0x3a97a2(0x132):_0x34188d,_0x432086=_0x3a97a2(0x170)+(I[_0x81e5b2]||_0x3a97a2(0x111)),_0x1d96fe=(_0x1cb81a=_0x1aae1b[_0x3a97a2(0xa3)][_0x3a97a2(0x12a)](_0x3a97a2(0x124)))==null?void 0x0:_0x1cb81a[_0x3a97a2(0xd4)](',\x20');if(_0x1d96fe){let _0x23641b=_0x1d96fe[_0x3a97a2(0x1a3)](/filename=(.+)/);_0x23641b&&_0x23641b[0x1]&&(_0x432086=_0x23641b[0x1]);}else _0x432086=Ue(_0x4f9304)||_0x432086;return new File([_0x4de727],_0x432086,{'type':_0x81e5b2});}catch(_0x3aa279){console[_0x3a97a2(0x12f)]('Error\x20fetching\x20file\x20from\x20URL:',_0x3aa279);return;}}function Ue(_0x344785){const _0x26efdd=_0x13592d;try{return new URL(_0x344785)[_0x26efdd(0x1ba)][_0x26efdd(0xb2)]('/')[_0x26efdd(0x8e)]();}catch(_0x46cccb){console[_0x26efdd(0x12f)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x46cccb);return;}}function We(_0x237e1a){const _0x5911fc=_0x13592d;let _0xffea31=new Blob([_0x237e1a[_0x5911fc(0x166)]],{'type':'application/json'});return new File([_0xffea31],_0x5911fc(0xa9));}function Ge(_0x3dc365,_0x2c72f7){return _0x3dc365['replace']('{type}',_0x2c72f7);}function Ke(_0xd383bf,_0x483dfc){const _0x43d06c=_0x13592d;return _0xd383bf[_0x43d06c(0x1cc)](_0x43d06c(0x159),_0x483dfc);}function qe(_0x340c97,_0x28b86c){const _0x21010d=_0x13592d;return _0x340c97[_0x21010d(0x1cc)]('{fileID}',_0x28b86c);}function B(_0x48c8a6,_0x10370b){return function(_0x4a2e41,_0x4fa580){_0x10370b(_0x4a2e41,_0x4fa580,_0x48c8a6);};}function V(_0x347686,_0x11b9cf,_0x2b3ded,_0x25213f){const _0x7c537a=_0x13592d;var _0x2c5a5f=arguments[_0x7c537a(0xad)],_0x3aedd0=_0x2c5a5f<0x3?_0x11b9cf:_0x25213f===null?_0x25213f=Object[_0x7c537a(0x120)](_0x11b9cf,_0x2b3ded):_0x25213f,_0x5c970f;if(typeof Reflect==_0x7c537a(0x16e)&&typeof Reflect[_0x7c537a(0x1a1)]=='function')_0x3aedd0=Reflect[_0x7c537a(0x1a1)](_0x347686,_0x11b9cf,_0x2b3ded,_0x25213f);else{for(var _0x2ccfad=_0x347686[_0x7c537a(0xad)]-0x1;_0x2ccfad>=0x0;_0x2ccfad--)(_0x5c970f=_0x347686[_0x2ccfad])&&(_0x3aedd0=(_0x2c5a5f<0x3?_0x5c970f(_0x3aedd0):_0x2c5a5f>0x3?_0x5c970f(_0x11b9cf,_0x2b3ded,_0x3aedd0):_0x5c970f(_0x11b9cf,_0x2b3ded))||_0x3aedd0);}return _0x2c5a5f>0x3&&_0x3aedd0&&Object['defineProperty'](_0x11b9cf,_0x2b3ded,_0x3aedd0),_0x3aedd0;}let H=function(_0x1577ad){const _0x5c4de2=_0x13592d;return _0x1577ad[_0x1577ad[_0x5c4de2(0xbd)]=0x0]='UNDEFINED',_0x1577ad[_0x1577ad[_0x5c4de2(0x12c)]=0x1]='UNIT',_0x1577ad[_0x1577ad[_0x5c4de2(0x157)]=0x2]=_0x5c4de2(0x157),_0x1577ad[_0x1577ad['UNRECOGNIZED']=-0x1]=_0x5c4de2(0x155),_0x1577ad;}({});const U=_0x23a1bc(_0x13592d(0x119));let W=class{constructor(_0x2a0bc0,_0x52b591){const _0xedf405=_0x13592d;this[_0xedf405(0x13d)]=_0x2a0bc0,this[_0xedf405(0x17b)]=_0x52b591,E(this,_0xedf405(0x1b9),new Set());}[_0x13592d(0x171)](){}[_0x13592d(0xa7)](_0x3d3139){const _0x5ba7a9=_0x13592d;this['_taskInterrupted'][_0x5ba7a9(0xef)](_0x3d3139);}[_0x13592d(0x8f)](){const _0xace795=_0x13592d;this[_0xace795(0x1b9)][_0xace795(0xf2)]();}async[_0x13592d(0xe4)](_0x330360,_0x4b53b0=0x0,_0x1ad61e=!0x1){const _0x33b966=_0x13592d;if(typeof _0x330360==_0x33b966(0x144)){let _0x13789c=await He(_0x330360,this['_httpService']);if(!_0x13789c)throw Error(_0x33b966(0x92));_0x330360=_0x13789c;}_0x4b53b0=_0x4b53b0||_0x330360[_0x33b966(0x1ca)];let _0x3918bb=new FormData();_0x3918bb[_0x33b966(0xf4)]('file',_0x330360);try{let _0x17b6c8=this['_getUploadFileURL']()+'?size='+_0x4b53b0+_0x33b966(0x81)+_0x1ab568[_0x33b966(0x18d)]+'&flate='+_0x1ad61e,_0x368c36={'body':_0x3918bb},_0x3e5516=(await this[_0x33b966(0x17b)]['post'](_0x17b6c8,_0x368c36))['body'];if(_0x3e5516[_0x33b966(0x12f)]&&_0x3e5516[_0x33b966(0x12f)]['code']!==_0x1ceaca['OK'])throw Error(this['_buildProtocolErrorMessage']('upload\x20request\x20failed',_0x3e5516[_0x33b966(0x12f)]));return _0x3e5516;}catch(_0x5b4652){throw _0x5b4652 instanceof Error?_0x5b4652:Error(this[_0x33b966(0x156)](_0x33b966(0x1c0),_0x5b4652));}}async['import'](_0x513216){const _0x3a9902=_0x13592d;let {fileID:_0x1063c6,type:_0x1048ca,outputType:_0x2ee6f0,minSheetColumnCount:_0x452da7,minSheetRowCount:_0xee7b41}=_0x513216;try{let _0x4ca393=Ge(this[_0x3a9902(0x82)](),''+_0x1048ca),_0x2ef0dc={'body':{'fileID':_0x1063c6,'outputType':_0x2ee6f0,'minSheetColumnCount':_0x452da7,'minSheetRowCount':_0xee7b41}},_0x4698d1=(await this[_0x3a9902(0x17b)][_0x3a9902(0x101)](_0x4ca393,_0x2ef0dc))[_0x3a9902(0xdd)];return _0x4698d1['error']&&_0x4698d1[_0x3a9902(0x12f)]['code']!==_0x1ceaca['OK']?void 0x0:_0x4698d1;}catch{return;}}async[_0x13592d(0xbc)](_0x47ee22){const _0x2860fe=_0x13592d;let {unitID:_0x34e933,jsonID:_0x42ec94,type:_0x511bca,sscSwitch:_0x1f077a,useImageUrl:_0x286bff,ignoreTableExport:_0x4cb789}=_0x47ee22;try{let _0x56f410=Ge(this[_0x2860fe(0x172)](),''+_0x511bca),_0x3d2b1d={'body':{'unitID':_0x34e933,'jsonID':_0x42ec94,'type':_0x511bca,'sscSwitch':_0x1f077a,'useImageUrl':_0x286bff,'ignoreTableExport':_0x4cb789}},_0x3a90ac=(await this[_0x2860fe(0x17b)]['post'](_0x56f410,_0x3d2b1d))[_0x2860fe(0xdd)];return _0x3a90ac[_0x2860fe(0x12f)]&&_0x3a90ac['error'][_0x2860fe(0xbf)]!==_0x1ceaca['OK']?void 0x0:_0x3a90ac;}catch{return;}}async['getTask'](_0xb089d7){return new Promise((_0x486ef8,_0x5967c0)=>{const _0x48f1a6=_0x29de;try{let _0x1210ba=0x0,_0x4d03b0=Ke(this[_0x48f1a6(0xa8)](),''+_0xb089d7),_0x30dffa=this[_0x48f1a6(0xd6)](),_0x2f09b8=async()=>{const _0x50683b=_0x48f1a6;if(this['_taskInterrupted']['has'](_0xb089d7))return;let _0x3d6f24=(await this['_httpService'][_0x50683b(0x12a)](_0x4d03b0))[_0x50683b(0xdd)];if(_0x3d6f24[_0x50683b(0x12f)]&&_0x3d6f24[_0x50683b(0x12f)][_0x50683b(0xbf)]===_0x1ceaca['OK']){if(_0x3d6f24[_0x50683b(0xb4)]==='done')_0x486ef8(_0x3d6f24);else{if(_0x3d6f24[_0x50683b(0xb4)]===_0x50683b(0x14b)){let _0x994d87=0x3e8;if(_0x1210ba>=_0x30dffa){_0x5967c0(_0x3d6f24);return;}else _0x1210ba>=0x7530&&(_0x994d87=0x1388);_0x1210ba+=_0x994d87,setTimeout(_0x2f09b8,_0x994d87);}else _0x5967c0(_0x3d6f24);}}else _0x5967c0(_0x3d6f24);};_0x2f09b8();}catch(_0x4918e7){_0x5967c0(_0x4918e7 instanceof Error?_0x4918e7:Error(String(_0x4918e7)));}});}async[_0x13592d(0x129)](_0x144fee){const _0xd8f365=_0x13592d;try{let _0x392b76=qe(this['_getSignURL'](),''+_0x144fee);return(await this[_0xd8f365(0x17b)][_0xd8f365(0x12a)](_0x392b76))[_0xd8f365(0xdd)];}catch{return;}}async[_0x13592d(0xc1)](_0x293c1e){const _0x32f6cd=_0x13592d;try{return(await this[_0x32f6cd(0x17b)][_0x32f6cd(0x12a)](_0x293c1e,{'responseType':_0x32f6cd(0x190)}))[_0x32f6cd(0xdd)];}catch{return;}}['_buildProtocolErrorMessage'](_0x2fbbb7,_0x1aa883){const _0xc4d835=_0x13592d;let _0x4e5d59=this[_0xc4d835(0xc9)](_0x1aa883);return _0x4e5d59?_0x2fbbb7+':\x20'+_0x4e5d59:_0x2fbbb7;}[_0x13592d(0x156)](_0x1efc90,_0x3ea877){const _0x3efc43=_0x13592d;if(_0x3ea877 instanceof _0x4a28cd){let _0x462dc6=typeof _0x3ea877['status']==_0x3efc43(0x9a)?''+_0x3ea877[_0x3efc43(0xb4)]+(_0x3ea877[_0x3efc43(0x141)]?'\x20'+_0x3ea877[_0x3efc43(0x141)]:''):void 0x0,_0x37d0a9=this[_0x3efc43(0xc9)](_0x3ea877['error']);return _0x462dc6&&_0x37d0a9?_0x1efc90+_0x3efc43(0x1bf)+_0x462dc6+_0x3efc43(0x114)+_0x37d0a9:_0x462dc6?_0x1efc90+_0x3efc43(0x1bf)+_0x462dc6:_0x37d0a9?_0x1efc90+':\x20'+_0x37d0a9:_0x1efc90;}let _0x1fcaf5=this[_0x3efc43(0xc9)](_0x3ea877);return _0x1fcaf5?_0x1efc90+':\x20'+_0x1fcaf5:_0x1efc90;}[_0x13592d(0xc9)](_0x8e4d9f){const _0x378d05=_0x13592d;if(typeof _0x8e4d9f==_0x378d05(0x144)){let _0x167c1c=_0x8e4d9f['trim']();return _0x167c1c[_0x378d05(0xad)]>0x0?_0x167c1c:void 0x0;}if(_0x8e4d9f instanceof Error)return this[_0x378d05(0xc9)](_0x8e4d9f[_0x378d05(0x1ad)]);if(!_0x8e4d9f||typeof _0x8e4d9f!=_0x378d05(0x16e)||Array[_0x378d05(0x18f)](_0x8e4d9f))return;let _0x30c238=_0x8e4d9f,_0x5b707f=this[_0x378d05(0xc9)](_0x30c238['message']);if(_0x5b707f)return _0x5b707f;if(_0x30c238[_0x378d05(0x12f)]&&typeof _0x30c238[_0x378d05(0x12f)]=='object'&&!Array[_0x378d05(0x18f)](_0x30c238[_0x378d05(0x12f)])){let _0x93b056=this[_0x378d05(0xc9)](_0x30c238[_0x378d05(0x12f)]);if(_0x93b056)return _0x93b056;}}[_0x13592d(0x17d)](){const _0x4ee96c=_0x13592d;var _0x3c42c1;let _0x72d653=this[_0x4ee96c(0x13d)][_0x4ee96c(0xb9)](C);return(_0x3c42c1=_0x72d653==null?void 0x0:_0x72d653[_0x4ee96c(0x169)])==null?_0x4ee96c(0x88):_0x3c42c1;}[_0x13592d(0x82)](){const _0xf1fce0=_0x13592d;var _0x383711;let _0x7f676=this['_configService'][_0xf1fce0(0xb9)](C);return(_0x383711=_0x7f676==null?void 0x0:_0x7f676[_0xf1fce0(0x8a)])==null?'/universer-api/exchange/{type}/import':_0x383711;}[_0x13592d(0x172)](){const _0x4df951=_0x13592d;var _0x595208;let _0x5c733a=this[_0x4df951(0x13d)]['getConfig'](C);return(_0x595208=_0x5c733a==null?void 0x0:_0x5c733a['exportServerUrl'])==null?_0x4df951(0x17f):_0x595208;}['_getTaskURL'](){const _0x518f9b=_0x13592d;var _0x2df88a;let _0xc500fb=this[_0x518f9b(0x13d)][_0x518f9b(0xb9)](C);return(_0x2df88a=_0xc500fb==null?void 0x0:_0xc500fb[_0x518f9b(0xba)])==null?_0x518f9b(0x186):_0x2df88a;}[_0x13592d(0x9e)](){const _0x23be3c=_0x13592d;var _0x42d7b6;let _0xbd96b=this['_configService'][_0x23be3c(0xb9)](C);return(_0x42d7b6=_0xbd96b==null?void 0x0:_0xbd96b[_0x23be3c(0xec)])==null?_0x23be3c(0x1d0):_0x42d7b6;}[_0x13592d(0xd6)](){const _0x28b6f5=_0x13592d;var _0x36459a;let _0x302932=this[_0x28b6f5(0x13d)][_0x28b6f5(0xb9)](C);return(_0x36459a=_0x302932==null?void 0x0:_0x302932[_0x28b6f5(0xf5)])==null?0x1d4c0:_0x36459a;}};W=V([B(0x0,_0x2ce7f3),B(0x1,_0x38d816(_0xfb482b))],W);function Je(_0x37ff98){const _0x316f72=_0x13592d;let _0x18d1f7=_0x37ff98[_0x316f72(0x15b)];if(!_0x18d1f7)return null;let _0x2df1f7={};_0x18d1f7[_0x316f72(0x177)]&&Object[_0x316f72(0x1a7)](_0x18d1f7[_0x316f72(0x177)])[_0x316f72(0x98)](_0x52adaf=>{const _0x18374b=_0x316f72;let _0x3bb79c=_0x18d1f7['sheets'][_0x52adaf];_0x2df1f7[_0x52adaf]={..._0x3bb79c,'originalMeta':_0x202e0c(_0x53426c[_0x18374b(0x15f)](_0x3bb79c['originalMeta']))};});let _0x336d53=_0x202e0c(_0x53426c[_0x316f72(0x15f)](_0x18d1f7[_0x316f72(0x194)]));return{..._0x37ff98,'workbook':{..._0x18d1f7,'originalMeta':_0x336d53,'sheets':_0x2df1f7},'doc':{}};}function Ye(_0x4ad5e9){const _0x5adfbe=_0x13592d;let _0x5abea7=_0x4ad5e9[_0x5adfbe(0x16a)];if(!_0x5abea7)return null;let _0x3e9cb3=_0x202e0c(_0x53426c[_0x5adfbe(0x15f)](_0x5abea7[_0x5adfbe(0x194)]));return{..._0x4ad5e9,'workbook':{},'doc':{..._0x5abea7,'originalMeta':_0x3e9cb3}};}function Xe(_0x3033cc){const _0x44f208=_0x13592d;let _0x1ebab0={};return _0x3033cc[_0x44f208(0x98)](_0xa84129=>{const _0x1ca244=_0x44f208;_0x1ebab0[_0xa84129['id']]={..._0xa84129,'data':_0x202e0c(_0x53426c['decode'](_0xa84129[_0x1ca244(0x151)]))};}),_0x1ebab0;}async function G(_0x206ff2){const _0x1f23d1=_0x13592d;var _0x2c7bb5;let _0x263a47={'metadata':void 0x0},_0x4e1fde=_0x206ff2['id'],_0x39c07e=(_0x2c7bb5=_0x206ff2['rev'])==null?0x0:_0x2c7bb5,_0x237c10=new et(),{snapshot:_0x3e53b0}=await _0xd55745(_0x263a47,_0x206ff2,_0x4e1fde,_0x39c07e,_0x237c10),_0x44e345=await _0x4455b3(_0x3e53b0,_0x237c10),_0x43c595=Je(_0x3e53b0);if(!_0x43c595)throw Error(_0x1f23d1(0x147));return{'snapshot':_0x43c595,'sheetBlocks':Xe(_0x44e345)};}async function Ze(_0xfed7ec){const _0x38fa7c=_0x13592d;var _0x25a1d3;let _0xfa04e0={'metadata':void 0x0},_0x16725f=_0xfed7ec['id'],{snapshot:_0x582fbf}=await _0x5e4311(_0xfa04e0,_0xfed7ec,_0x16725f,(_0x25a1d3=_0xfed7ec[_0x38fa7c(0xd0)])==null?0x0:_0x25a1d3,new et()),_0xf8df03=Ye(_0x582fbf);if(!_0xf8df03)throw Error(_0x38fa7c(0x147));return{'snapshot':_0xf8df03,'sheetBlocks':{}};}async function Qe(_0x273cf5){const _0x4a8391=_0x13592d;let _0x52ccd7=_0x273cf5[_0x4a8391(0xe2)],_0x121da5=_0x273cf5[_0x4a8391(0x1b0)];return await _0xef73b4(_0x52ccd7,Object['keys'](_0x121da5)['map'](_0x37a44d=>_0x121da5[_0x37a44d])[_0x4a8391(0xc2)](_0x1967e8=>({..._0x1967e8,'data':_0x1967e8[_0x4a8391(0x151)]?JSON[_0x4a8391(0x181)](_0x575632(_0x1967e8[_0x4a8391(0x151)])):void 0x0})));}function $e(_0x3773db){const _0x4643d3=_0x13592d;let _0x32fc90=_0x3773db[_0x4643d3(0xe2)];return _0x202a5e(_0x32fc90);}var et=class{constructor(){const _0x52a3cc=_0x13592d;E(this,_0x52a3cc(0x163),new Map());}[_0x13592d(0x153)](){const _0x405743=_0x13592d;return Promise[_0x405743(0x1a4)]({'snapshot':{'unitID':'','type':_0xe384f0['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0x80)](_0x17eb90,_0x4692ed){const _0x1dcddd=_0x13592d;let _0x4bd58e=this['_sheetBlockCache'][_0x1dcddd(0x12a)](_0x4692ed[_0x1dcddd(0xe8)]);return Promise['resolve']({'block':_0x4bd58e,'error':{'code':_0x1ceaca['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x305ac4,_0x458302){const _0x10e0cf=_0x13592d;let _0x49ff3d=this[_0x10e0cf(0x163)]['get'](_0x458302['blockID']);return Promise[_0x10e0cf(0x1a4)]({'block':_0x49ff3d===void 0x0?void 0x0:{..._0x49ff3d,'data':JSON['parse'](_0x53426c[_0x10e0cf(0x15f)](_0x49ff3d[_0x10e0cf(0x151)]))},'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0x19d)](){const _0x194d10=_0x13592d;return Promise[_0x194d10(0x1a4)]({'changesets':[],'error':{'code':_0x1ceaca['OK'],'message':''}});}['getResourcesRequest'](){const _0x25fce1=_0x13592d;return Promise[_0x25fce1(0x1a4)]({'resources':{},'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0xde)](){const _0x1d92f7=_0x13592d;return Promise[_0x1d92f7(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''}});}[_0x13592d(0xae)](){const _0x418736=_0x13592d;return Promise[_0x418736(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''}});}['saveSheetBlock'](_0x50dafd,_0x8453d){const _0x204a03=_0x13592d;let {block:_0x13d5a6}=_0x8453d;return _0x13d5a6?(this[_0x204a03(0x163)][_0x204a03(0x19b)](_0x13d5a6['id'],_0x13d5a6),Promise[_0x204a03(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''},'blockID':_0x13d5a6['id']})):Promise['resolve']({'error':{'code':_0x1ceaca[_0x204a03(0xbd)],'message':_0x204a03(0x188)},'blockID':''});}[_0x13592d(0x110)](){const _0x3cbfb5=_0x13592d;return Promise[_0x3cbfb5(0x1a4)]({'error':{'code':_0x1ceaca['OK'],'message':''},'concurrent':[]});}[_0x13592d(0x14f)](){const _0x55262d=_0x13592d;return Promise[_0x55262d(0x1a4)]({'error':void 0x0,'fileMetaId':''});}[_0x13592d(0x1b2)](){const _0x40e247=_0x13592d;return Promise[_0x40e247(0x1a4)]({'error':void 0x0,'latestReqID':0x0});}};let K=function(_0xa18fa9){const _0x222543=_0x13592d;return _0xa18fa9[_0xa18fa9[_0x222543(0x116)]=0x0]='UPLOAD',_0xa18fa9[_0xa18fa9[_0x222543(0x94)]=0x1]=_0x222543(0x94),_0xa18fa9[_0xa18fa9[_0x222543(0x13b)]=0x2]=_0x222543(0x13b),_0xa18fa9[_0xa18fa9[_0x222543(0xdc)]=0x3]=_0x222543(0xdc),_0xa18fa9[_0xa18fa9[_0x222543(0x1a0)]=0x4]=_0x222543(0x1a0),_0xa18fa9[_0xa18fa9[_0x222543(0x165)]=0x5]='GET_JSON',_0xa18fa9[_0xa18fa9['GET_FILE']=0x6]='GET_FILE',_0xa18fa9;}({});const q=_0x23a1bc(_0x13592d(0xb8));let J=class extends _0x27498b{constructor(_0x21760f,_0x3c3581,_0x3c6386){const _0xb975d3=_0x13592d;super(),this[_0xb975d3(0x13d)]=_0x21760f,this['_httpService']=_0x3c3581,this[_0xb975d3(0x1b1)]=_0x3c6386,E(this,_0xb975d3(0x1cf),null),E(this,_0xb975d3(0x9d),new _0x4da9b5()),E(this,'requestState$',this['_requestState$'][_0xb975d3(0x112)]());}[_0x13592d(0x171)](){const _0x521d4f=_0x13592d;super[_0x521d4f(0x171)](),this[_0x521d4f(0x9d)][_0x521d4f(0x149)]();}async[_0x13592d(0x130)](_0x32e1e7){const _0x598a04=_0x13592d;let _0x150007=await this[_0x598a04(0xb3)](_0x32e1e7,_0xe384f0[_0x598a04(0x1ac)]);if(!_0x150007||!_0x150007[_0x598a04(0xe2)])return;let _0x272ee2=$e(_0x150007);if(_0x272ee2)return _0x272ee2;}async[_0x13592d(0x1d5)](_0x1ab268){const _0x2a7a62=_0x13592d;return this[_0x2a7a62(0x103)](_0x1ab268,H[_0x2a7a62(0x12c)],_0xe384f0[_0x2a7a62(0x1ac)]);}async['exportDOCXBySnapshot'](_0x32d5a6){const _0x516cd8=_0x13592d;let _0x1d9666=await Ze(_0x32d5a6);return this[_0x516cd8(0x11d)](_0x1d9666,_0xe384f0['UNIVER_DOC']);}async[_0x13592d(0x10f)](_0x753bbe){const _0x53dc75=_0x13592d;let _0x219f5f=await this[_0x53dc75(0xb3)](_0x753bbe,_0xe384f0[_0x53dc75(0xa2)]);if(!_0x219f5f)return;let _0x181eb6=await Qe(_0x219f5f);if(_0x181eb6)return _0x181eb6;}async[_0x13592d(0x19a)](_0x191b69){const _0x1dcb8b=_0x13592d;return this[_0x1dcb8b(0x103)](_0x191b69,H[_0x1dcb8b(0x12c)],_0xe384f0[_0x1dcb8b(0xa2)]);}async[_0x13592d(0xff)](_0x3a3c3c){const _0x3b2f76=_0x13592d;let _0x3f5c04=await G(_0x3a3c3c);return this[_0x3b2f76(0x11d)](_0x3f5c04,_0xe384f0[_0x3b2f76(0xa2)]);}async[_0x13592d(0x10c)](_0xa4eae3,_0x2adcc9){const _0x3b0f8b=_0x13592d;var _0x46ba8b,_0x2cf293;let _0x1d35f1=await this[_0x3b0f8b(0xe6)](_0xa4eae3);if(!_0x1d35f1)return;let _0x1b84d1=await this[_0x3b0f8b(0xbb)](_0x1d35f1,H['UNIT'],_0x2adcc9);if(!_0x1b84d1)return;this['_importTaskId']=_0x1b84d1,this[_0x3b0f8b(0x1b1)][_0x3b0f8b(0x8f)]();let _0x3a30ff=await this[_0x3b0f8b(0x1b1)]['getTask'](_0x1b84d1)['catch'](_0x3018b7=>{const _0x23a085=_0x3b0f8b;var _0xb6c8d;let _0xd00440=_0x3018b7 instanceof Error?_0x3018b7[_0x23a085(0x1ad)]:(_0xb6c8d=_0x3018b7['error'])==null?void 0x0:_0xb6c8d[_0x23a085(0x1ad)];this[_0x23a085(0x9d)][_0x23a085(0xb1)]({'error':{'code':_0x1ceaca[_0x23a085(0x155)],'message':_0xd00440||''},'state':K['GET_TASK']});});if(!_0x3a30ff)return;let _0x372a4d=(_0x46ba8b=_0x3a30ff['import'])==null?void 0x0:_0x46ba8b[_0x3b0f8b(0x140)],_0x564405=((_0x2cf293=_0x3a30ff[_0x3b0f8b(0xac)])==null?void 0x0:_0x2cf293[_0x3b0f8b(0x18a)])||'';if(_0x372a4d!==H[_0x3b0f8b(0x12c)]){this[_0x3b0f8b(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3b0f8b(0x155)],'message':_0x3b0f8b(0xb7)},'state':K[_0x3b0f8b(0xdc)]});return;}if(_0x564405[_0x3b0f8b(0xad)]===0x0){this[_0x3b0f8b(0x9d)][_0x3b0f8b(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x3b0f8b(0x87)},'state':K['GET_TASK']});return;}return this[_0x3b0f8b(0x9d)][_0x3b0f8b(0xb1)]({'error':_0x3a30ff[_0x3b0f8b(0x12f)],'state':K[_0x3b0f8b(0xdc)]}),_0x564405;}async[_0x13592d(0x198)](_0x37b7ab){const _0x4c3be9=_0x13592d;let _0x40019a=await G(_0x37b7ab),_0x305738=typeof _0x37b7ab['id']=='string'&&_0x37b7ab['id'][_0x4c3be9(0xe0)]()?_0x37b7ab['id']['trim']()+_0x4c3be9(0x138):_0x4c3be9(0xf0),_0xd04bd4=new File([JSON[_0x4c3be9(0x135)](_0x40019a)],_0x305738,{'type':_0x4c3be9(0xe3)});return this[_0x4c3be9(0x10c)](_0xd04bd4,_0xe384f0[_0x4c3be9(0xa2)]);}[_0x13592d(0xcf)](){const _0x1c495e=_0x13592d;this[_0x1c495e(0x1cf)]&&this[_0x1c495e(0x1b1)]['setTaskInterrupted'](this['_importTaskId']);}async[_0x13592d(0xb3)](_0x295148,_0x2199ed){const _0x1138ed=_0x13592d;var _0x3a6659,_0x9e2166;let _0x41ab9d=await this[_0x1138ed(0xe6)](_0x295148);if(!_0x41ab9d)return;let _0x595c39=await this[_0x1138ed(0xbb)](_0x41ab9d,H[_0x1138ed(0x157)],_0x2199ed);if(!_0x595c39)return;this['_importTaskId']=_0x595c39,this[_0x1138ed(0x1b1)][_0x1138ed(0x8f)]();let _0x15df19=await this['_requestService'][_0x1138ed(0x10d)](_0x595c39)[_0x1138ed(0xda)](_0x3f4fc9=>{const _0x28d427=_0x1138ed;var _0x433c2a;let _0x5ca2ad=_0x3f4fc9 instanceof Error?_0x3f4fc9[_0x28d427(0x1ad)]:(_0x433c2a=_0x3f4fc9['error'])==null?void 0x0:_0x433c2a[_0x28d427(0x1ad)];this[_0x28d427(0x9d)][_0x28d427(0xb1)]({'error':{'code':_0x1ceaca[_0x28d427(0x155)],'message':_0x5ca2ad||''},'state':K[_0x28d427(0xdc)]});});if(!_0x15df19)return;let _0x48a184=(_0x3a6659=_0x15df19[_0x1138ed(0xac)])==null?void 0x0:_0x3a6659[_0x1138ed(0x140)],_0x2ac273=((_0x9e2166=_0x15df19[_0x1138ed(0xac)])==null?void 0x0:_0x9e2166[_0x1138ed(0x1bc)])||'';if(_0x48a184!==H[_0x1138ed(0x157)]){this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca[_0x1138ed(0x155)],'message':_0x1138ed(0xb7)},'state':K[_0x1138ed(0xdc)]});return;}if(_0x2ac273['length']===0x0){this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca[_0x1138ed(0x155)],'message':_0x1138ed(0x13a)},'state':K[_0x1138ed(0xdc)]});return;}this['_requestState$']['next']({'error':_0x15df19[_0x1138ed(0x12f)],'state':K[_0x1138ed(0xdc)]});let _0x3fea4b=await this[_0x1138ed(0xed)](_0x2ac273);if(!_0x3fea4b)return;let _0x14ef9b=await this[_0x1138ed(0x1b1)][_0x1138ed(0xc1)](_0x3fea4b);if(!_0x14ef9b){this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x1138ed(0x1bb)},'state':K[_0x1138ed(0x165)]});return;}try{let _0x5b414a=JSON['parse'](_0x14ef9b);return this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca['OK'],'message':'success'},'state':K[_0x1138ed(0x165)]}),_0x5b414a;}catch{this[_0x1138ed(0x9d)][_0x1138ed(0xb1)]({'error':{'code':_0x1ceaca[_0x1138ed(0x155)],'message':'Failed\x20to\x20parse\x20json'},'state':K[_0x1138ed(0x165)]});}}async[_0x13592d(0x11d)](_0x2b48f3,_0x5de1a3){const _0x3e14b3=_0x13592d;let _0x4ca4ae=JSON['stringify'](_0x2b48f3),_0x5071e3=_0x48167a['deflateRaw'](_0x4ca4ae),_0x525691=_0x303673[_0x3e14b3(0xa5)](_0x4ca4ae)[_0x3e14b3(0xad)],_0x17b974=We(_0x5071e3),_0x32ae93=await this[_0x3e14b3(0xe6)](_0x17b974,_0x525691,!0x0);if(_0x32ae93)return this[_0x3e14b3(0x103)](_0x32ae93,H['JSON'],_0x5de1a3);}async[_0x13592d(0x103)](_0xc57662,_0x2db851,_0x4d1baa){const _0x136a1e=_0x13592d;var _0x1e091c;let _0x48448d=await this['_requestService']['export']({'unitID':_0x2db851===H[_0x136a1e(0x12c)]?_0xc57662:'','jsonID':_0x2db851===H[_0x136a1e(0x157)]?_0xc57662:'','type':_0x4d1baa,'sscSwitch':this[_0x136a1e(0xdb)](),'useImageUrl':this[_0x136a1e(0x1c7)](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x48448d){this[_0x136a1e(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x136a1e(0x155)],'message':_0x136a1e(0x1c3)},'state':K[_0x136a1e(0x13b)]});return;}if(this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':_0x48448d[_0x136a1e(0x12f)],'state':K['EXPORT']}),_0x48448d[_0x136a1e(0x12f)]&&_0x48448d[_0x136a1e(0x12f)][_0x136a1e(0xbf)]!==_0x1ceaca['OK'])return;let _0x12fab0=_0x48448d[_0x136a1e(0x179)],_0x123050=await this[_0x136a1e(0x1b1)][_0x136a1e(0x10d)](_0x12fab0)[_0x136a1e(0xda)](_0x17acab=>{const _0x3d49a2=_0x136a1e;var _0x302f80;let _0x40dc3a=_0x17acab instanceof Error?_0x17acab['message']:(_0x302f80=_0x17acab[_0x3d49a2(0x12f)])==null?void 0x0:_0x302f80[_0x3d49a2(0x1ad)];this[_0x3d49a2(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3d49a2(0x155)],'message':_0x40dc3a||''},'state':K[_0x3d49a2(0xdc)]});});if(!_0x123050)return;let _0x53d24d=((_0x1e091c=_0x123050[_0x136a1e(0xbc)])==null?void 0x0:_0x1e091c[_0x136a1e(0x15e)])||'';if(_0x53d24d[_0x136a1e(0xad)]===0x0){this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x136a1e(0x178)},'state':K[_0x136a1e(0xdc)]});return;}this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':_0x123050[_0x136a1e(0x12f)],'state':K[_0x136a1e(0xdc)]});let _0x1c459a=await this[_0x136a1e(0xed)](_0x53d24d);if(!_0x1c459a)return;let _0x4286ef=await He(_0x1c459a,this[_0x136a1e(0x17b)]);if(!_0x4286ef){this['_requestState$'][_0x136a1e(0xb1)]({'error':{'code':_0x1ceaca['UNRECOGNIZED'],'message':_0x136a1e(0x19f)},'state':K['GET_FILE']});return;}return this[_0x136a1e(0x9d)][_0x136a1e(0xb1)]({'error':{'code':_0x1ceaca['OK'],'message':_0x136a1e(0x1a9)},'state':K['GET_FILE']}),_0x4286ef;}async['_upload'](_0x195059,_0x4c25ae,_0x5c5a7b){const _0x3a3e23=_0x13592d;let _0x202c7a;try{_0x202c7a=await this[_0x3a3e23(0x1b1)][_0x3a3e23(0xe4)](_0x195059,_0x4c25ae,_0x5c5a7b);}catch(_0x4ac020){let _0x51d035=_0x4ac020 instanceof Error?_0x4ac020[_0x3a3e23(0x1ad)]:String(_0x4ac020);this[_0x3a3e23(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3a3e23(0x155)],'message':_0x51d035},'state':K[_0x3a3e23(0x116)]});return;}if(!_0x202c7a||typeof _0x202c7a[_0x3a3e23(0x14c)]!=_0x3a3e23(0x144)){this[_0x3a3e23(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x3a3e23(0x155)],'message':_0x3a3e23(0x1b8)},'state':K[_0x3a3e23(0x116)]});return;}let _0x5802e7=_0x202c7a[_0x3a3e23(0x14c)];if(_0x5802e7[_0x3a3e23(0xad)]===0x0){this[_0x3a3e23(0x9d)][_0x3a3e23(0xb1)]({'error':{'code':_0x1ceaca[_0x3a3e23(0x155)],'message':_0x3a3e23(0x85)},'state':K[_0x3a3e23(0x116)]});return;}return this[_0x3a3e23(0x9d)][_0x3a3e23(0xb1)]({'error':{'code':_0x1ceaca['OK'],'message':_0x3a3e23(0x1a9)},'state':K['UPLOAD']}),_0x5802e7;}async[_0x13592d(0xbb)](_0x15b224,_0x51edcb,_0x4ee2de){const _0x211d9a=_0x13592d;let _0x33f1da={'fileID':_0x15b224,'type':_0x4ee2de,'outputType':_0x51edcb,'fileUrl':'','minSheetRowCount':this[_0x211d9a(0xc6)](),'minSheetColumnCount':this[_0x211d9a(0x145)]()},_0x3e60ab=await this[_0x211d9a(0x1b1)][_0x211d9a(0xac)](_0x33f1da);if(!_0x3e60ab){this[_0x211d9a(0x9d)][_0x211d9a(0xb1)]({'error':{'code':_0x1ceaca[_0x211d9a(0x155)],'message':_0x211d9a(0x10b)},'state':K['IMPORT']});return;}if(_0x3e60ab[_0x211d9a(0x12f)]&&_0x3e60ab[_0x211d9a(0x12f)][_0x211d9a(0xbf)]!==_0x1ceaca['OK']){this[_0x211d9a(0x9d)][_0x211d9a(0xb1)]({'error':_0x3e60ab[_0x211d9a(0x12f)],'state':K[_0x211d9a(0x94)]});return;}let _0x3120fb=_0x3e60ab['taskID'];if(_0x3120fb[_0x211d9a(0xad)]===0x0){this[_0x211d9a(0x9d)][_0x211d9a(0xb1)]({'error':{'code':_0x1ceaca[_0x211d9a(0x155)],'message':_0x211d9a(0x16f)},'state':K['IMPORT']});return;}return this['_requestState$'][_0x211d9a(0xb1)]({'error':_0x3e60ab['error'],'state':K[_0x211d9a(0x94)]}),_0x3120fb;}async[_0x13592d(0xed)](_0x18aa77){const _0x42220d=_0x13592d;let _0x164e5f=await this[_0x42220d(0x1b1)]['signUrl'](_0x18aa77);if(!_0x164e5f){this[_0x42220d(0x9d)]['next']({'error':{'code':_0x1ceaca[_0x42220d(0x155)],'message':_0x42220d(0xc7)},'state':K[_0x42220d(0x1a0)]});return;}if(_0x164e5f[_0x42220d(0x12f)]&&_0x164e5f[_0x42220d(0x12f)]['code']!==_0x1ceaca['OK']){this[_0x42220d(0x9d)][_0x42220d(0xb1)]({'error':_0x164e5f[_0x42220d(0x12f)],'state':K['SIGN_URL']});return;}let _0xe1c748=_0x4f1d76(_0x164e5f[_0x42220d(0xa6)],this[_0x42220d(0x191)]());if(_0xe1c748['length']===0x0){this['_requestState$'][_0x42220d(0xb1)]({'error':{'code':_0x1ceaca[_0x42220d(0x155)],'message':_0x42220d(0xc7)},'state':K['SIGN_URL']});return;}return this[_0x42220d(0x9d)][_0x42220d(0xb1)]({'error':_0x164e5f[_0x42220d(0x12f)],'state':K[_0x42220d(0x1a0)]}),_0xe1c748;}[_0x13592d(0x191)](){const _0x55b4bd=_0x13592d;var _0x5321e5;let _0x335302=this[_0x55b4bd(0x13d)][_0x55b4bd(0xb9)](C);return(_0x5321e5=_0x335302==null?void 0x0:_0x335302[_0x55b4bd(0x17a)])==null?location[_0x55b4bd(0x14e)]:_0x5321e5;}[_0x13592d(0xc6)](){const _0x2bbe4c=_0x13592d;var _0x25e727,_0x5ec193;let _0x40ac3c=this[_0x2bbe4c(0x13d)][_0x2bbe4c(0xb9)](C);return(_0x25e727=_0x40ac3c==null||(_0x5ec193=_0x40ac3c[_0x2bbe4c(0x89)])==null?void 0x0:_0x5ec193[_0x2bbe4c(0x1a6)])==null?0x1:_0x25e727;}[_0x13592d(0x145)](){const _0x5105b3=_0x13592d;var _0x56bf0c,_0x1fc364;let _0x14e312=this[_0x5105b3(0x13d)][_0x5105b3(0xb9)](C);return(_0x56bf0c=_0x14e312==null||(_0x1fc364=_0x14e312[_0x5105b3(0x89)])==null?void 0x0:_0x1fc364[_0x5105b3(0x86)])==null?0x1:_0x56bf0c;}['_getEnableServerSideComputing'](){const _0x32d00b=_0x13592d;var _0x5b865c,_0x5db97c;let _0x856272=this[_0x32d00b(0x13d)]['getConfig'](C);return(_0x5b865c=_0x856272==null||(_0x5db97c=_0x856272[_0x32d00b(0x89)])==null?void 0x0:_0x5db97c[_0x32d00b(0xf9)])==null?!0x1:_0x5b865c;}[_0x13592d(0x1c7)](){const _0x5b919c=_0x13592d;var _0x3f9c81,_0x8e0795;let _0x4aaab1=this[_0x5b919c(0x13d)][_0x5b919c(0xb9)](C);return(_0x3f9c81=_0x4aaab1==null||(_0x8e0795=_0x4aaab1[_0x5b919c(0x89)])==null?void 0x0:_0x8e0795[_0x5b919c(0x182)])==null?!0x0:_0x3f9c81;}[_0x13592d(0x1b6)](){const _0x231d3b=_0x13592d;var _0x128f9e,_0x245668;let _0x4ae7a1=this[_0x231d3b(0x13d)][_0x231d3b(0xb9)](C);return(_0x128f9e=_0x4ae7a1==null||(_0x245668=_0x4ae7a1[_0x231d3b(0x89)])==null?void 0x0:_0x245668[_0x231d3b(0x1ae)])==null?!0x1:_0x128f9e;}};J=V([B(0x0,_0x2ce7f3),B(0x1,_0x38d816(_0xfb482b)),B(0x2,_0x38d816(U))],J);const tt={'done':0x0,'count':0x0},Y=_0x23a1bc('univer-pro.exchange-client.operate.service');let X=class extends _0x27498b{constructor(_0x516741,_0x2c6bf7,_0xa3359a,_0x55d61b,_0x5ea0fc,_0x37cd74){const _0x203a61=_0x13592d;super(),this['_univerInstanceService']=_0x516741,this['_messageService']=_0x2c6bf7,this[_0x203a61(0x136)]=_0xa3359a,this['_exchangeService']=_0x55d61b,this[_0x203a61(0x9b)]=_0x5ea0fc,this[_0x203a61(0xf8)]=_0x37cd74,E(this,_0x203a61(0x1d4),new _0x5f09f7(tt)),E(this,_0x203a61(0x189),this[_0x203a61(0x1d4)][_0x203a61(0x112)]()),E(this,_0x203a61(0x104),0x0),E(this,_0x203a61(0x128),0x0),this[_0x203a61(0xb6)](_0x24338b(this[_0x203a61(0x1b3)]['requestState$']['subscribe'](_0x58fa5c=>{const _0x318ca5=_0x203a61;var _0x28a9a7;((_0x28a9a7=_0x58fa5c[_0x318ca5(0x12f)])==null?void 0x0:_0x28a9a7[_0x318ca5(0xbf)])===_0x1ceaca['OK']?this['_addDoneTask'](0x1):this[_0x318ca5(0x1c5)](_0x58fa5c[_0x318ca5(0x12f)]);})));}[_0x13592d(0xeb)](){const _0x487710=_0x13592d;this[_0x487710(0x99)](),this['_uploadNotificationService'][_0x487710(0x106)](D[_0x487710(0x18c)]),this[_0x487710(0x1b3)]['interruptImportTask']();}async['uploadFileToUnitId'](_0x194f33){const _0x3d3202=_0x13592d;throw Error(_0x3d3202(0xf7));}async[_0x13592d(0xfe)](){const _0x4b5c72=_0x13592d;let _0x52a58b=await z([_0xe384f0['UNIVER_DOC']]);if(_0x52a58b&&!this[_0x4b5c72(0x192)](_0x52a58b,_0xe384f0['UNIVER_DOC']))return this[_0x4b5c72(0x18e)](_0x52a58b[0x0],_0xe384f0[_0x4b5c72(0x1ac)]);}[_0x13592d(0x130)](){const _0x1f947a=_0x13592d;throw Error(_0x1f947a(0xf7));}async[_0x13592d(0x1d5)](_0x4b19be,_0x261486,_0x3617c8){const _0xe60dd1=_0x13592d;this['_showDownloadMessage'](_0x45229d[_0xe60dd1(0x117)]);let _0x11a0f1=await this['_exchangeService'][_0xe60dd1(0x1d5)](_0x4b19be||this[_0xe60dd1(0xb0)]());_0x11a0f1&&(L(_0x11a0f1,_0x261486||this['_getUnitName'](_0x11a0f1),_0xe60dd1(0xbe)),this[_0xe60dd1(0x93)](_0x45229d[_0xe60dd1(0x1b7)]));}async[_0x13592d(0x9c)](){const _0x5d859c=_0x13592d;this[_0x5d859c(0x93)](_0x45229d[_0x5d859c(0x117)]);let _0x504689=await this[_0x5d859c(0x1c6)](),_0x1fb75f=await this['_exchangeService'][_0x5d859c(0x9c)](_0x504689);_0x1fb75f&&(L(_0x1fb75f,this[_0x5d859c(0x150)](_0x1fb75f),_0x5d859c(0xbe)),this[_0x5d859c(0x93)](_0x45229d[_0x5d859c(0x1b7)]));}async[_0x13592d(0xcc)](){const _0xd98d58=_0x13592d;if(this[_0xd98d58(0x97)]()){this[_0xd98d58(0x1ce)]['show']({'type':_0x45229d[_0xd98d58(0x9f)],'content':this[_0xd98d58(0x136)]['t'](_0xd98d58(0x1cd))});return;}let _0x1cbd8e=await z([_0xe384f0[_0xd98d58(0xa2)]]);if(_0x1cbd8e&&!this[_0xd98d58(0x192)](_0x1cbd8e,_0xe384f0['UNIVER_SHEET']))return this[_0xd98d58(0x18e)](_0x1cbd8e[0x0],_0xe384f0[_0xd98d58(0xa2)]);}async['importXLSXToSnapshot'](){const _0x41cae9=_0x13592d;if(this[_0x41cae9(0x97)]()){this[_0x41cae9(0x1ce)][_0x41cae9(0x197)]({'type':_0x45229d[_0x41cae9(0x9f)],'content':this[_0x41cae9(0x136)]['t'](_0x41cae9(0x1cd))});return;}let _0x5e8826=await z([_0xe384f0[_0x41cae9(0xa2)]]);if(!_0x5e8826)return;this['_showUploadMessage'](_0x45229d[_0x41cae9(0x117)]);let _0x621568=await this['_exchangeService'][_0x41cae9(0x10f)](_0x5e8826[0x0]);_0x621568&&(this['_refresh'](_0x621568),this['_showUploadMessage'](_0x45229d[_0x41cae9(0x1b7)]));}async[_0x13592d(0x19a)](_0x21a144,_0x15d22d,_0x37e4d3){const _0x4ac48f=_0x13592d;this[_0x4ac48f(0x93)](_0x45229d[_0x4ac48f(0x117)]);let _0x40ea8f=await this[_0x4ac48f(0x1b3)][_0x4ac48f(0x19a)](_0x21a144||this[_0x4ac48f(0x143)]());_0x40ea8f&&(L(_0x40ea8f,_0x15d22d||this['_getUnitName'](_0x40ea8f),_0x4ac48f(0x111)),this[_0x4ac48f(0x93)](_0x45229d[_0x4ac48f(0x1b7)]));}async[_0x13592d(0xff)](){const _0x2ad5cb=_0x13592d;this['_showDownloadMessage'](_0x45229d['Info']);let _0x36c139=await this[_0x2ad5cb(0xd8)](),_0x3eeafa=await this['_exchangeService'][_0x2ad5cb(0xff)](_0x36c139);_0x3eeafa&&(L(_0x3eeafa,this[_0x2ad5cb(0x150)](_0x3eeafa),_0x2ad5cb(0x111)),this[_0x2ad5cb(0x93)](_0x45229d['Success']));}[_0x13592d(0x1a8)](_0x1373c1){const _0x2d019d=_0x13592d;this[_0x2d019d(0x1d1)]=_0x1373c1;}async[_0x13592d(0x18e)](_0x29ce84,_0x46a955){const _0x1f0a35=_0x13592d;this[_0x1f0a35(0x9b)][_0x1f0a35(0x197)](),this['_uploadNotificationService'][_0x1f0a35(0x106)](D['UPLOADING']),this[_0x1f0a35(0x174)](0x4),this[_0x1f0a35(0x109)](0x1);let _0x3f7852=await this['_exchangeService']['importFileToUnitId'](_0x29ce84,_0x46a955);if(!_0x3f7852){this[_0x1f0a35(0x99)](),this[_0x1f0a35(0x9b)]['updateState'](D['ERROR']);return;}let _0x2f5078={'link':this[_0x1f0a35(0x1d1)](_0x3f7852,_0x46a955),'name':_0x29ce84['name'],'type':_0x46a955};return this['_uploadNotificationService'][_0x1f0a35(0x11a)](_0x2f5078),this['_completeProgress'](),this[_0x1f0a35(0x9b)][_0x1f0a35(0x106)](D[_0x1f0a35(0x164)]),_0x3f7852;}['_getUnitID'](){const _0xe09a3f=_0x13592d;return this['_univerInstanceService'][_0xe09a3f(0x13e)](_0x4ff47f['UNIVER_SHEET'])[_0xe09a3f(0x162)]();}[_0x13592d(0xb0)](){const _0xf36390=_0x13592d;return this[_0xf36390(0x1d3)][_0xf36390(0x13e)](_0x4ff47f[_0xf36390(0x1ac)])[_0xf36390(0x162)]();}['_getUnitName'](_0x5592a5){const _0x30c19f=_0x13592d;var _0x25da4b;return((_0x25da4b=this[_0x30c19f(0x1d3)][_0x30c19f(0x13e)](_0x4ff47f[_0x30c19f(0xa2)]))==null?void 0x0:_0x25da4b[_0x30c19f(0xc3)])||_0x5592a5[_0x30c19f(0xc3)][_0x30c19f(0xb2)]('.')[_0x30c19f(0x14d)]()||document[_0x30c19f(0xcb)];}async[_0x13592d(0xd8)](){const _0x42a3f2=_0x13592d;return this[_0x42a3f2(0x1d3)][_0x42a3f2(0x13e)](_0x4ff47f[_0x42a3f2(0xa2)])['getSnapshot']();}async[_0x13592d(0x1c6)](){const _0x697b27=_0x13592d;return this[_0x697b27(0x1d3)][_0x697b27(0x13e)](_0x4ff47f[_0x697b27(0x1ac)])['getSnapshot']();}[_0x13592d(0x1d1)](_0x594c75,_0x12edc2){const _0x4d164c=_0x13592d;let _0xf0f6f6=new URL(window['location'][_0x4d164c(0xf1)]);return _0xf0f6f6[_0x4d164c(0x134)][_0x4d164c(0x19b)](_0x4d164c(0x11b),_0x594c75),_0xf0f6f6[_0x4d164c(0x134)][_0x4d164c(0x19b)](_0x4d164c(0x15c),''+_0x12edc2),_0xf0f6f6[_0x4d164c(0x173)]();}['_refresh'](_0x5ee26d){const _0x30c224=_0x13592d;let _0x5dd6c4=this['_univerInstanceService'][_0x30c224(0x122)](_0x4ff47f['UNIVER_SHEET'])[_0x30c224(0x162)]();this[_0x30c224(0x1d3)]['disposeUnit'](_0x5dd6c4),this[_0x30c224(0x1d3)][_0x30c224(0x18b)](_0x4ff47f[_0x30c224(0xa2)],_0x5ee26d);}[_0x13592d(0x1c5)](_0x5ae460){const _0x359180=_0x13592d;if(_0x5ae460){let {code:_0x2b72e9}=_0x5ae460;switch(_0x2b72e9){case _0x1ceaca['CONNECTOR_DATA_TOO_LARGE']:this[_0x359180(0x1ce)][_0x359180(0x197)]({'type':_0x45229d[_0x359180(0x152)],'content':this[_0x359180(0x136)]['t'](_0x359180(0x160))});break;case _0x1ceaca['INTERNAL_ERROR']:this[_0x359180(0x1ce)][_0x359180(0x197)]({'type':_0x45229d[_0x359180(0x152)],'content':this['_localeService']['t'](_0x359180(0x1aa))});break;default:this['_messageService'][_0x359180(0x197)]({'type':_0x45229d['Error'],'content':this['_localeService']['t'](_0x359180(0x115))});break;}return null;}return this[_0x359180(0x1ce)][_0x359180(0x197)]({'type':_0x45229d['Error'],'content':this[_0x359180(0x136)]['t'](_0x359180(0x115))}),null;}['_showDownloadMessage'](_0x29502a){const _0x50e17b=_0x13592d;let _0x33c4e2='';switch(_0x29502a){case _0x45229d['Success']:_0x33c4e2=this[_0x50e17b(0x136)]['t']('exchange.downloadSuccess');break;case _0x45229d[_0x50e17b(0x117)]:_0x33c4e2=this[_0x50e17b(0x136)]['t'](_0x50e17b(0x1c2));break;default:break;}this[_0x50e17b(0x1ce)][_0x50e17b(0x197)]({'type':_0x29502a,'content':_0x33c4e2});}[_0x13592d(0x12d)](_0x327764){const _0x1ca82c=_0x13592d;let _0x34f858='';switch(_0x327764){case _0x45229d['Success']:_0x34f858=this[_0x1ca82c(0x136)]['t'](_0x1ca82c(0xe1));break;case _0x45229d[_0x1ca82c(0x117)]:_0x34f858=this['_localeService']['t']('exchange.uploading');break;default:break;}this[_0x1ca82c(0x1ce)][_0x1ca82c(0x197)]({'type':_0x327764,'content':_0x34f858});}[_0x13592d(0x1c1)](){const _0x142e66=_0x13592d;this[_0x142e66(0x1d4)][_0x142e66(0xb1)]({'done':this['_doneUploadTaskCount'],'count':this[_0x142e66(0x104)]});}[_0x13592d(0x174)](_0x1ebb92){const _0x452c69=_0x13592d;this[_0x452c69(0x104)]+=_0x1ebb92,this[_0x452c69(0x1c1)]();}[_0x13592d(0x109)](_0x53db98){const _0x10839a=_0x13592d;this[_0x10839a(0x128)]+=_0x53db98,this[_0x10839a(0x128)]=Math[_0x10839a(0xca)](this[_0x10839a(0x128)],this[_0x10839a(0x104)]),this['_emitProgress']();}[_0x13592d(0x113)](){const _0x39a4ee=_0x13592d;this[_0x39a4ee(0x128)]=this[_0x39a4ee(0x104)],this[_0x39a4ee(0x1c1)]();}[_0x13592d(0x99)](){const _0x301b67=_0x13592d;this[_0x301b67(0x128)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x301b67(0x1c1)]();}[_0x13592d(0x192)](_0x1498c3,_0xeaac88){const _0x510dee=_0x13592d;let _0x494bf2=_0x1498c3[0x0],_0x45d1ba=_0x494bf2[_0x510dee(0xc3)];return R(_0x494bf2)===_0xeaac88?!0x1:(this[_0x510dee(0x1ce)][_0x510dee(0x197)]({'type':_0x45229d['Error'],'content':this[_0x510dee(0x136)]['t'](_0x510dee(0x196),_0x45d1ba)}),!0x0);}[_0x13592d(0x97)](){const _0x3a16a0=_0x13592d;return this[_0x3a16a0(0x104)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x3a16a0(0x104)];}};X=V([B(0x0,_0x38d816(_0x4a966e)),B(0x1,_0x18e00f),B(0x2,_0x38d816(_0x483539)),B(0x3,_0x38d816(q)),B(0x4,_0x38d816(O)),B(0x5,_0x160774)],X);function nt(_0x2949ad){const _0x3524cb=_0x13592d;let {onClick:_0x292027,children:_0x3d9162,className:_0x32d2e2}=_0x2949ad;return _0x4066ec(_0x3524cb(0x1c8),{'className':_0x15d61d(_0x3524cb(0xfc),_0x32d2e2),'type':'button','onClick':_0x292027,'children':_0x3d9162});}function rt(){const _0x1df2c8=_0x13592d;let _0x2f6915=_0x4c6ad3(Y),_0x1c4fc9=_0x4c6ad3(_0x483539);function _0x473358(){_0x2f6915['importXLSXToUnitId']();}return _0x4066ec(nt,{'onClick':_0x473358,'children':_0x1c4fc9['t'](_0x1df2c8(0x16b))});}function it(){const _0x47b903=_0x13592d;return _0x1bbb51('div',{'className':_0x47b903(0x1c9),'children':[_0x4066ec(_0x47b903(0x154),{'className':_0x47b903(0x1b5),'children':_0x4c6ad3(_0x483539)['t'](_0x47b903(0xdf))}),_0x4066ec(rt,{})]});}function at(_0x492c87){const _0x56dd60=_0x13592d;let {count:_0xa299e7}=_0x492c87;return _0x1bbb51(_0x56dd60(0x12b),{'className':_0x56dd60(0x1a5),'children':[_0x4066ec(_0x56dd60(0x154),{'className':_0x56dd60(0x8b),'children':_0x4c6ad3(_0x483539)['t'](_0x56dd60(0xe5),''+_0xa299e7)}),_0x4066ec(rt,{})]});}function ot(){const _0x28c71a=_0x13592d;let _0x2e10ce=_0x4c6ad3(Y),_0x44a929=_0x4c6ad3(_0x483539);function _0x1438c9(){_0x2e10ce['interrupt']();}return _0x4066ec(nt,{'onClick':_0x1438c9,'children':_0x44a929['t'](_0x28c71a(0x11f))});}function st(){const _0x3c50bf=_0x13592d;let {count:_0x1c7b90,done:_0x11821a}=_0x31f857(_0x4c6ad3(Y)[_0x3c50bf(0x189)]),[_0x5da1ab,_0x44b234]=_0x2f7635(_0x1c7b90>0x0?_0x11821a/_0x1c7b90:0x0);return _0x5577e5(()=>{_0x44b234(_0x1c7b90>0x0?_0x11821a/_0x1c7b90:0x0);},[_0x1c7b90,_0x11821a]),_0x4066ec('div',{'className':_0x3c50bf(0x133),'children':_0x4066ec(_0x3c50bf(0x12b),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x3c50bf(0x19c)](_0x5da1ab*0x64)+'%'}})});}function ct(){const _0x30fb51=_0x13592d;return _0x1bbb51(_0x30fb51(0x12b),{'className':_0x30fb51(0x1c9),'children':[_0x4066ec('span',{'className':_0x30fb51(0x90),'children':_0x4c6ad3(_0x483539)['t']('exchange.wait')}),_0x4066ec(_0x30fb51(0x12b),{'className':_0x30fb51(0x184),'children':_0x4066ec(st,{})}),_0x4066ec(ot,{})]});}const lt={[D[_0x13592d(0x164)]]:_0x4066ec(_0x2d2951,{'className':_0x13592d(0xe7)}),[D[_0x13592d(0x10a)]]:_0x4066ec(_0x19c2d6,{'className':_0x13592d(0x100)}),[D[_0x13592d(0x18c)]]:_0x4066ec(_0x986a,{'className':_0x13592d(0x1af)})};function ut(){const _0x36ce90=_0x13592d;let [_0x10cb87,_0x12ec16]=_0x2f7635(D[_0x36ce90(0x10a)]),[_0x3fef16,_0x2250ff]=_0x2f7635(!0x1),[_0x4f984e,_0x163a2f]=_0x2f7635([]),_0xa619c3=_0x4c6ad3(O),_0x4e3950=_0x4c6ad3(_0x483539);_0x5577e5(()=>{const _0x2c5550=_0x36ce90;let _0x3895d1=_0xa619c3[_0x2c5550(0x105)][_0x2c5550(0xc5)](_0xd4158a=>{_0x2250ff(_0xd4158a);}),_0xa753cf=_0xa619c3['list$'][_0x2c5550(0xc5)](_0x236d4c=>{_0x163a2f(_0x236d4c);}),_0x2d02cc=_0xa619c3['state$'][_0x2c5550(0xc5)](_0x4349b8=>{_0x12ec16(_0x4349b8);});return()=>{const _0x244629=_0x2c5550;_0x3895d1[_0x244629(0x96)](),_0xa753cf['unsubscribe'](),_0x2d02cc[_0x244629(0x96)]();};},[]);function _0x2ff365(){_0x2250ff(!0x1);}function _0xb4396f(_0x7ce0b){const _0x7219a4=_0x36ce90;switch(_0x7ce0b){case D[_0x7219a4(0x164)]:return _0x4e3950['t']('exchange.uploadSuccess');case D[_0x7219a4(0x10a)]:return _0x4e3950['t']('exchange.uploading');case D[_0x7219a4(0x18c)]:return _0x4e3950['t']('exchange.unknownMistake');default:return'';}}return _0x3fef16&&_0x1bbb51('div',{'className':_0x36ce90(0x127),'children':[_0x1bbb51(_0x36ce90(0x12b),{'className':_0x36ce90(0xcd),'children':[_0x1bbb51('span',{'className':_0x36ce90(0xe9),'children':[_0x4066ec(_0x36ce90(0x154),{'className':_0x36ce90(0x17e),'children':lt[_0x10cb87]}),_0x4066ec(_0x36ce90(0x154),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0xb4396f(_0x10cb87)})]}),_0x4066ec(_0x36ce90(0x154),{'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':_0x2ff365,'children':_0x4066ec(_0x40821a,{})})]}),_0x1bbb51(_0x36ce90(0x12b),{'children':[_0x10cb87===D[_0x36ce90(0x10a)]&&_0x4066ec(ct,{}),_0x10cb87===D['ERROR']&&_0x4066ec(it,{}),_0x4f984e[_0x36ce90(0xad)]>0x0&&_0x4066ec(Re,{'list':_0x4f984e}),_0x10cb87===D[_0x36ce90(0x164)]&&_0x4066ec(at,{'count':_0x4f984e[_0x36ce90(0xad)]})]})]});}function Z(){return _0x4066ec(ut,{});}let Q=class extends _0x27498b{constructor(_0x50e4e7,_0x47e706){const _0x17d030=_0x13592d;super(),this['_injector']=_0x50e4e7,this[_0x17d030(0x195)]=_0x47e706,this[_0x17d030(0x1a2)]();}[_0x13592d(0x1a2)](){const _0x23dbe4=_0x13592d;this['disposeWithMe'](this['_uiPartsService'][_0x23dbe4(0x10e)](_0x48a611[_0x23dbe4(0x8c)],()=>_0x5d181d(Z,this[_0x23dbe4(0x12e)])));}};Q=V([B(0x0,_0x38d816(_0x498f3d)),B(0x1,_0xdca652)],Q);let $=class extends _0x23106f{constructor(_0xa7549=w,_0xdef5a2,_0xfd4fb2){const _0x3ff12f=_0x13592d;super(),this[_0x3ff12f(0x84)]=_0xa7549,this[_0x3ff12f(0x12e)]=_0xdef5a2,this[_0x3ff12f(0x13d)]=_0xfd4fb2;let {..._0x10a243}=_0x5cd26a({},w,this['_config']);this['_configService'][_0x3ff12f(0xee)](C,_0x10a243);}[_0x13592d(0x131)](){const _0x35112a=_0x13592d;_0x540990(this[_0x35112a(0x12e)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[U,{'useClass':W}],[O,{'useClass':k}]]);}['onReady'](){const _0x49a00f=_0x13592d;_0x5c8bf5(this[_0x49a00f(0x12e)],[[Q],[Y]]);}};E($,_0x13592d(0x161),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),E($,_0x13592d(0x1c4),Pe),E($,_0x13592d(0x1b4),Fe),$=V([_0x3d34df(_0x25057e,_0x1951d8),B(0x1,_0x38d816(_0x498f3d)),B(0x2,_0x2ce7f3)],$);export{C as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,U as IRequestService,O as IUploadNotificationService,W as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,D as UploadNotificationState,L as downloadFile,R as getUniverTypeByFile,z as getUploadFile,Ze as transformDocumentDataToSnapshotJson,$e as transformSnapshotJsonToDocumentData,Qe as transformSnapshotJsonToWorkbookData,G as transformWorkbookDataToSnapshotJson};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0xbbc6(){const _0x560725=['Unknown\x20mistake','Internal\x20unknown\x20error','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','28515ojxxgE','1089626BuKvqo','244JGrihg','406524txXiix','File\x20uploaded\x20successfully','1861563ZfzyLn','45LzVmxF','Network\x20error','Cancel','33705kYwpdC','Open(File)','Download\x20success','Upload\x20again','File','2780zdZPJU','33952BFKMtR','70JaAAlS','11109008TKeytg','Data\x20is\x20too\x20large','Downloading'];_0xbbc6=function(){return _0x560725;};return _0xbbc6();}function _0x1233(_0x4e4571,_0x480898){_0x4e4571=_0x4e4571-0x78;const _0xbbc678=_0xbbc6();let _0x1233b0=_0xbbc678[_0x4e4571];return _0x1233b0;}const _0x59cf3a=_0x1233;(function(_0x199461,_0x3c5310){const _0x4b6363=_0x1233,_0x21a659=_0x199461();while(!![]){try{const _0xe46627=-parseInt(_0x4b6363(0x86))/0x1+parseInt(_0x4b6363(0x7d))/0x2*(parseInt(_0x4b6363(0x8b))/0x3)+-parseInt(_0x4b6363(0x87))/0x4*(parseInt(_0x4b6363(0x85))/0x5)+parseInt(_0x4b6363(0x88))/0x6*(-parseInt(_0x4b6363(0x7e))/0x7)+parseInt(_0x4b6363(0x7f))/0x8+parseInt(_0x4b6363(0x8e))/0x9*(parseInt(_0x4b6363(0x7c))/0xa)+parseInt(_0x4b6363(0x8a))/0xb;if(_0xe46627===_0x3c5310)break;else _0x21a659['push'](_0x21a659['shift']());}catch(_0x249b59){_0x21a659['push'](_0x21a659['shift']());}}}(_0xbbc6,0xb4500));const e={'exchange':{'file':_0x59cf3a(0x7b),'upload':_0x59cf3a(0x78),'download':'Save\x20As','uploading':'Uploading','uploadSuccess':_0x59cf3a(0x89),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x59cf3a(0x81),'downloadSuccess':_0x59cf3a(0x79),'unknownMistake':_0x59cf3a(0x82),'networkError':_0x59cf3a(0x8c),'tooLarge':_0x59cf3a(0x80),'internalError':_0x59cf3a(0x83),'interrupt':_0x59cf3a(0x84),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':_0x59cf3a(0x8d),'uploadAgain':_0x59cf3a(0x7a)}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4f551a=_0x5bd2;function _0x32d5(){const _0x5f3c95=['39nYBfgI','198iQBRfb','Please\x20wait...','Cancel','Uploading','Network\x20error','1475164mliAij','{0}\x20file(s)\x20uploaded\x20successfully','27252coUDiI','1397136NXHXqH','425187rBIFBR','5lieCEC','250180zWmKyN','64281EeGctQ','File','Open(File)','File\x20uploaded\x20successfully','Downloading','Save\x20As','314132QeKHKq','Download\x20success'];_0x32d5=function(){return _0x5f3c95;};return _0x32d5();}(function(_0x1ed8e0,_0x2e6477){const _0x590868=_0x5bd2,_0x1c17b9=_0x1ed8e0();while(!![]){try{const _0x1b3de5=parseInt(_0x590868(0xe3))/0x1+parseInt(_0x590868(0xed))/0x2*(-parseInt(_0x590868(0xe5))/0x3)+parseInt(_0x590868(0xeb))/0x4*(-parseInt(_0x590868(0xf0))/0x5)+parseInt(_0x590868(0xe6))/0x6*(parseInt(_0x590868(0xf2))/0x7)+parseInt(_0x590868(0xee))/0x8+-parseInt(_0x590868(0xef))/0x9+parseInt(_0x590868(0xf1))/0xa;if(_0x1b3de5===_0x2e6477)break;else _0x1c17b9['push'](_0x1c17b9['shift']());}catch(_0x2dd4a2){_0x1c17b9['push'](_0x1c17b9['shift']());}}}(_0x32d5,0x369ab));const e={'exchange':{'file':_0x4f551a(0xde),'upload':_0x4f551a(0xdf),'download':_0x4f551a(0xe2),'uploading':_0x4f551a(0xe9),'uploadSuccess':_0x4f551a(0xe0),'uploadSuccessTip':_0x4f551a(0xec),'downloading':_0x4f551a(0xe1),'downloadSuccess':_0x4f551a(0xe4),'unknownMistake':'Unknown\x20mistake','networkError':_0x4f551a(0xea),'tooLarge':'Data\x20is\x20too\x20large','internalError':'Internal\x20unknown\x20error','interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':_0x4f551a(0xe7),'cancel':_0x4f551a(0xe8),'uploadAgain':'Upload\x20again'}};function _0x5bd2(_0xc75e8b,_0x39672e){_0xc75e8b=_0xc75e8b-0xde;const _0x32d54f=_0x32d5();let _0x5bd2b6=_0x32d54f[_0xc75e8b];return _0x5bd2b6;}export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3852ad=_0x21f8;(function(_0x2d438f,_0x3c5a4f){const _0x504153=_0x21f8,_0x29811c=_0x2d438f();while(!![]){try{const _0x14dbc0=parseInt(_0x504153(0x1b7))/0x1+-parseInt(_0x504153(0x1a8))/0x2+parseInt(_0x504153(0x1a5))/0x3+-parseInt(_0x504153(0x1b3))/0x4*(-parseInt(_0x504153(0x1af))/0x5)+parseInt(_0x504153(0x1a6))/0x6*(parseInt(_0x504153(0x1b1))/0x7)+-parseInt(_0x504153(0x1ab))/0x8*(-parseInt(_0x504153(0x1a9))/0x9)+-parseInt(_0x504153(0x1b6))/0xa;if(_0x14dbc0===_0x3c5a4f)break;else _0x29811c['push'](_0x29811c['shift']());}catch(_0x379d2a){_0x29811c['push'](_0x29811c['shift']());}}}(_0x1391,0xefd42));const e={'exchange':{'file':'File','upload':_0x3852ad(0x1b2),'download':_0x3852ad(0x1b9),'uploading':_0x3852ad(0x1ba),'uploadSuccess':_0x3852ad(0x1aa),'uploadSuccessTip':_0x3852ad(0x1b5),'downloading':_0x3852ad(0x1b8),'downloadSuccess':'Download\x20success','unknownMistake':_0x3852ad(0x1ae),'networkError':'Network\x20error','tooLarge':_0x3852ad(0x1bb),'internalError':_0x3852ad(0x1ad),'interrupt':_0x3852ad(0x1ac),'fileTypeError':_0x3852ad(0x1b0),'wait':_0x3852ad(0x1a7),'cancel':'Cancel','uploadAgain':_0x3852ad(0x1b4)}};function _0x21f8(_0x38e889,_0x155bd5){_0x38e889=_0x38e889-0x1a5;const _0x13913c=_0x1391();let _0x21f81b=_0x13913c[_0x38e889];return _0x21f81b;}export{e as default};function _0x1391(){const _0x41394b=['6fIbilD','Please\x20wait...','922752HPaADT','1944kSpFrc','File\x20uploaded\x20successfully','31792tINDfE','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Internal\x20unknown\x20error','Unknown\x20mistake','8307670BYimZA','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','5848759isTAgG','Open(File)','4DHMlPU','Upload\x20again','{0}\x20file(s)\x20uploaded\x20successfully','31410070ljrPcD','994783nZJbIq','Downloading','Save\x20As','Uploading','Data\x20is\x20too\x20large','703449mTKaoN'];_0x1391=function(){return _0x41394b;};return _0x1391();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x47ed(){const _0x35528c=['4384359gOzciL','ذخیره\x20به\x20عنوان','در\x20حال\x20بارگذاری','3MlKspb','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','4586700TsmgJz','خطای\x20داخلی\x20ناشناخته','داده\x20خیلی\x20بزرگ\x20است','خطای\x20ناشناخته','در\x20حال\x20دانلود','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','2455710TTyKSK','3854754VDeYFY','فایل','549134iFCLlj','لغو','8530mviboR','دانلود\x20موفقیت\x20آمیز','لطفا\x20صبر\x20کنید...','بازکردن(فایل)','7DLQHLD','خطای\x20شبکه','بارگذاری\x20مجدد','376rfokll','572544ZqkyPs'];_0x47ed=function(){return _0x35528c;};return _0x47ed();}function _0x32ed(_0x47cb04,_0x51fdd9){_0x47cb04=_0x47cb04-0xc0;const _0x47edb7=_0x47ed();let _0x32edc5=_0x47edb7[_0x47cb04];return _0x32edc5;}const _0x2b6b41=_0x32ed;(function(_0x4bbec3,_0xc225f4){const _0x4d618e=_0x32ed,_0x1f3a83=_0x4bbec3();while(!![]){try{const _0x1ed01f=parseInt(_0x4d618e(0xc3))/0x1*(-parseInt(_0x4d618e(0xcf))/0x2)+parseInt(_0x4d618e(0xcc))/0x3+parseInt(_0x4d618e(0xd8))/0x4*(-parseInt(_0x4d618e(0xd1))/0x5)+parseInt(_0x4d618e(0xcd))/0x6*(parseInt(_0x4d618e(0xd5))/0x7)+-parseInt(_0x4d618e(0xd9))/0x8+parseInt(_0x4d618e(0xc0))/0x9+-parseInt(_0x4d618e(0xc5))/0xa;if(_0x1ed01f===_0xc225f4)break;else _0x1f3a83['push'](_0x1f3a83['shift']());}catch(_0x1a2136){_0x1f3a83['push'](_0x1f3a83['shift']());}}}(_0x47ed,0x69ed5));const e={'exchange':{'file':_0x2b6b41(0xce),'upload':_0x2b6b41(0xd4),'download':_0x2b6b41(0xc1),'uploading':_0x2b6b41(0xc2),'uploadSuccess':_0x2b6b41(0xcb),'uploadSuccessTip':_0x2b6b41(0xc4),'downloading':_0x2b6b41(0xc9),'downloadSuccess':_0x2b6b41(0xd2),'unknownMistake':_0x2b6b41(0xc8),'networkError':_0x2b6b41(0xd6),'tooLarge':_0x2b6b41(0xc7),'internalError':_0x2b6b41(0xc6),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x2b6b41(0xca),'wait':_0x2b6b41(0xd3),'cancel':_0x2b6b41(0xd0),'uploadAgain':_0x2b6b41(0xd7)}};export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5dbc9a=_0x54be;function _0x54be(_0x5088db,_0x3446dc){_0x5088db=_0x5088db-0x15c;const _0x59e558=_0x59e5();let _0x54be3c=_0x59e558[_0x5088db];return _0x54be3c;}(function(_0x11ccb1,_0x9fb542){const _0x347420=_0x54be,_0x192ecc=_0x11ccb1();while(!![]){try{const _0x35780e=-parseInt(_0x347420(0x16e))/0x1+-parseInt(_0x347420(0x15c))/0x2*(-parseInt(_0x347420(0x16f))/0x3)+parseInt(_0x347420(0x165))/0x4+-parseInt(_0x347420(0x173))/0x5+parseInt(_0x347420(0x16b))/0x6*(parseInt(_0x347420(0x168))/0x7)+parseInt(_0x347420(0x172))/0x8*(parseInt(_0x347420(0x169))/0x9)+-parseInt(_0x347420(0x16c))/0xa*(parseInt(_0x347420(0x15d))/0xb);if(_0x35780e===_0x9fb542)break;else _0x192ecc['push'](_0x192ecc['shift']());}catch(_0x32bcb8){_0x192ecc['push'](_0x192ecc['shift']());}}}(_0x59e5,0xb985e));const e={'exchange':{'file':_0x5dbc9a(0x160),'upload':_0x5dbc9a(0x167),'download':_0x5dbc9a(0x16a),'uploading':_0x5dbc9a(0x175),'uploadSuccess':_0x5dbc9a(0x15e),'uploadSuccessTip':_0x5dbc9a(0x164),'downloading':'Téléchargement','downloadSuccess':_0x5dbc9a(0x16d),'unknownMistake':_0x5dbc9a(0x174),'networkError':_0x5dbc9a(0x162),'tooLarge':_0x5dbc9a(0x163),'internalError':_0x5dbc9a(0x166),'interrupt':_0x5dbc9a(0x170),'fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x5dbc9a(0x15f),'cancel':_0x5dbc9a(0x161),'uploadAgain':_0x5dbc9a(0x171)}};export{e as default};function _0x59e5(){const _0x5d8965=['Enregistrer\x20sous','14298aVtXWr','30pnznCB','Téléchargement\x20réussi','911133CQOCdG','493569itxlGk','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Télécharger\x20à\x20nouveau','6712XEMnXB','4040050iNRgNa','Erreur\x20inconnue','Téléchargement\x20en\x20cours','14jaGdhU','2152403kDASrM','Fichier\x20téléchargé\x20avec\x20succès','Veuillez\x20patienter...','Fichier','Annuler','Erreur\x20réseau','Les\x20données\x20sont\x20trop\x20volumineuses','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','2662504WsEYDd','Erreur\x20interne\x20inconnue','Ouvrir\x20(Fichier)','1253JchnPu','8820vQoCMk'];_0x59e5=function(){return _0x5d8965;};return _0x59e5();}
|