@univerjs-pro/exchange-client 1.0.0-alpha.2 → 1.0.0-alpha.3

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.
Files changed (89) hide show
  1. package/README.md +9 -2
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/types/index.d.ts +4 -10
  66. package/lib/types/services/exchange.service.d.ts +8 -1
  67. package/lib/types/services/utils/snapshot.d.ts +2 -1
  68. package/lib/umd/facade.js +1 -1
  69. package/lib/umd/index.js +1 -1
  70. package/lib/umd/locale/ar-SA.js +1 -1
  71. package/lib/umd/locale/ca-ES.js +1 -1
  72. package/lib/umd/locale/de-DE.js +1 -1
  73. package/lib/umd/locale/en-US.js +1 -1
  74. package/lib/umd/locale/es-ES.js +1 -1
  75. package/lib/umd/locale/fa-IR.js +1 -1
  76. package/lib/umd/locale/fr-FR.js +1 -1
  77. package/lib/umd/locale/id-ID.js +1 -1
  78. package/lib/umd/locale/it-IT.js +1 -1
  79. package/lib/umd/locale/ja-JP.js +1 -1
  80. package/lib/umd/locale/ko-KR.js +1 -1
  81. package/lib/umd/locale/pl-PL.js +1 -1
  82. package/lib/umd/locale/pt-BR.js +1 -1
  83. package/lib/umd/locale/ru-RU.js +1 -1
  84. package/lib/umd/locale/sk-SK.js +1 -1
  85. package/lib/umd/locale/vi-VN.js +1 -1
  86. package/lib/umd/locale/zh-CN.js +1 -1
  87. package/lib/umd/locale/zh-HK.js +1 -1
  88. package/lib/umd/locale/zh-TW.js +1 -1
  89. package/package.json +12 -12
@@ -1 +1 @@
1
- const _0x2772f9=_0x4687;function _0x4687(_0x451a0a,_0x1f5c1f){_0x451a0a=_0x451a0a-0xbc;const _0x3ae2ab=_0x3ae2();let _0x4687a6=_0x3ae2ab[_0x451a0a];return _0x4687a6;}(function(_0x5b78cb,_0x53bed9){const _0x3cc3cf=_0x4687,_0x203d98=_0x5b78cb();while(!![]){try{const _0x528fa9=-parseInt(_0x3cc3cf(0xc1))/0x1*(parseInt(_0x3cc3cf(0xc6))/0x2)+-parseInt(_0x3cc3cf(0xcb))/0x3+-parseInt(_0x3cc3cf(0xbd))/0x4+parseInt(_0x3cc3cf(0xc9))/0x5+parseInt(_0x3cc3cf(0xcd))/0x6*(-parseInt(_0x3cc3cf(0xce))/0x7)+parseInt(_0x3cc3cf(0xc8))/0x8+parseInt(_0x3cc3cf(0xc7))/0x9*(parseInt(_0x3cc3cf(0xbf))/0xa);if(_0x528fa9===_0x53bed9)break;else _0x203d98['push'](_0x203d98['shift']());}catch(_0xfc3639){_0x203d98['push'](_0x203d98['shift']());}}}(_0x3ae2,0x977b4));function _0x3ae2(){const _0x44b1a0=['Baixando','Aguarde...','Erro\x20de\x20rede','494150bobHig','837NkKgzb','5845136qFSwxb','1677815HNqIrg','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','45876ZqwueT','Arquivo\x20enviado\x20com\x20sucesso','72aqgQXN','355404nZSdtS','Erro\x20interno\x20desconhecido','Cancelar','2423972RoDoDE','Enviando','164090shzqXi','Download\x20concluído\x20com\x20sucesso','3fXXAZU','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso'];_0x3ae2=function(){return _0x44b1a0;};return _0x3ae2();}const e={'exchange-client':{'uploading':_0x2772f9(0xbe),'uploadSuccess':_0x2772f9(0xcc),'uploadSuccessTip':_0x2772f9(0xc2),'downloading':_0x2772f9(0xc3),'downloadSuccess':_0x2772f9(0xc0),'unknownMistake':'Erro\x20desconhecido','networkError':_0x2772f9(0xc5),'tooLarge':'Os\x20dados\x20são\x20muito\x20grandes','internalError':_0x2772f9(0xcf),'interrupt':'A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','fileTypeError':_0x2772f9(0xca),'wait':_0x2772f9(0xc4),'cancel':_0x2772f9(0xbc),'uploadAgain':'Enviar\x20novamente'}};export{e as default};
1
+ function _0x26d3(_0x52efec,_0x22915b){_0x52efec=_0x52efec-0x9e;const _0x31bf85=_0x31bf();let _0x26d392=_0x31bf85[_0x52efec];return _0x26d392;}function _0x31bf(){const _0x5326ed=['Arquivo\x20enviado\x20com\x20sucesso','60qaiMWJ','Erro\x20desconhecido','Enviando','51293vUsNkz','90DdFNnK','Baixando','231352vAXidq','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','Aguarde...','14PDDxZx','4314174OdOTSG','312mGTSvf','Erro\x20interno\x20desconhecido','18852dFcZWe','Cancelar','Erro\x20de\x20rede','Download\x20concluído\x20com\x20sucesso','174080miTQGv','1742250JJQUvR','Os\x20dados\x20são\x20muito\x20grandes','29393hfeTrq','11693Vvaasi'];_0x31bf=function(){return _0x5326ed;};return _0x31bf();}const _0x110a79=_0x26d3;(function(_0x51805e,_0x403879){const _0x5d2480=_0x26d3,_0x587355=_0x51805e();while(!![]){try{const _0x4844f2=parseInt(_0x5d2480(0xac))/0x1*(-parseInt(_0x5d2480(0xb2))/0x2)+-parseInt(_0x5d2480(0xb3))/0x3+parseInt(_0x5d2480(0xa3))/0x4*(parseInt(_0x5d2480(0xa9))/0x5)+-parseInt(_0x5d2480(0xb4))/0x6*(-parseInt(_0x5d2480(0xa6))/0x7)+parseInt(_0x5d2480(0xaf))/0x8*(parseInt(_0x5d2480(0xad))/0x9)+-parseInt(_0x5d2480(0xa4))/0xa+-parseInt(_0x5d2480(0xa7))/0xb*(-parseInt(_0x5d2480(0x9f))/0xc);if(_0x4844f2===_0x403879)break;else _0x587355['push'](_0x587355['shift']());}catch(_0x24d1f6){_0x587355['push'](_0x587355['shift']());}}}(_0x31bf,0xb1d61));const e={'exchange-client':{'uploading':_0x110a79(0xab),'uploadSuccess':_0x110a79(0xa8),'uploadSuccessTip':'{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','downloading':_0x110a79(0xae),'downloadSuccess':_0x110a79(0xa2),'unknownMistake':_0x110a79(0xaa),'networkError':_0x110a79(0xa1),'tooLarge':_0x110a79(0xa5),'internalError':_0x110a79(0x9e),'interrupt':_0x110a79(0xb0),'fileTypeError':'O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','wait':_0x110a79(0xb1),'cancel':_0x110a79(0xa0),'uploadAgain':'Enviar\x20novamente'}};export{e as default};
@@ -1 +1 @@
1
- const _0x178961=_0x5ead;function _0x5ead(_0x5ab5b1,_0x497ab6){_0x5ab5b1=_0x5ab5b1-0xca;const _0x32b5dc=_0x32b5();let _0x5ead85=_0x32b5dc[_0x5ab5b1];return _0x5ead85;}(function(_0x36c70b,_0x4cc3b8){const _0x523634=_0x5ead,_0x50141c=_0x36c70b();while(!![]){try{const _0x1e59b7=-parseInt(_0x523634(0xd3))/0x1*(-parseInt(_0x523634(0xce))/0x2)+-parseInt(_0x523634(0xcc))/0x3*(parseInt(_0x523634(0xde))/0x4)+-parseInt(_0x523634(0xcb))/0x5+-parseInt(_0x523634(0xd6))/0x6*(-parseInt(_0x523634(0xd0))/0x7)+-parseInt(_0x523634(0xd8))/0x8*(-parseInt(_0x523634(0xd9))/0x9)+parseInt(_0x523634(0xd7))/0xa*(parseInt(_0x523634(0xdd))/0xb)+-parseInt(_0x523634(0xca))/0xc*(-parseInt(_0x523634(0xd2))/0xd);if(_0x1e59b7===_0x4cc3b8)break;else _0x50141c['push'](_0x50141c['shift']());}catch(_0xf2d188){_0x50141c['push'](_0x50141c['shift']());}}}(_0x32b5,0xb6ba5));function _0x32b5(){const _0x8d682e=['Внутренняя\x20неизвестная\x20ошибка','2WdFpGI','Отмена','1876XOySPY','Неизвестная\x20ошибка','3794674TQFmhq','697407dNggYh','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Пожалуйста,\x20подождите...','7878vAQdLs','290inSaht','64feyXdD','40374lWxASy','Загрузить\x20снова','Данные\x20слишком\x20большие','Файл\x20успешно\x20загружен','292171eazBQc','5453444GQopRv','48UZfKyU','4556130qKrGDQ','3ZERMGS'];_0x32b5=function(){return _0x8d682e;};return _0x32b5();}const e={'exchange-client':{'uploading':'Загрузка','uploadSuccess':_0x178961(0xdc),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':'Скачивание','downloadSuccess':'Скачивание\x20успешно','unknownMistake':_0x178961(0xd1),'networkError':'Сетевая\x20ошибка','tooLarge':_0x178961(0xdb),'internalError':_0x178961(0xcd),'interrupt':_0x178961(0xd4),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x178961(0xd5),'cancel':_0x178961(0xcf),'uploadAgain':_0x178961(0xda)}};export{e as default};
1
+ const _0x29bd01=_0xebb9;function _0x278e(){const _0x73dc98=['2653884TYlxXb','10JZUACB','348316LMmssK','Данные\x20слишком\x20большие','85356HJRvRE','Внутренняя\x20неизвестная\x20ошибка','Пожалуйста,\x20подождите...','478454dwxoIb','Файл\x20успешно\x20загружен','Скачивание\x20успешно','119147hKIQOt','1bnSzNL','Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','Загрузить\x20снова','Загрузка','84JbqJXl','Скачивание','3932472QPRlcq','17237890njdEmb'];_0x278e=function(){return _0x73dc98;};return _0x278e();}(function(_0x47848d,_0x4c705f){const _0x3a4aca=_0xebb9,_0x99148c=_0x47848d();while(!![]){try{const _0x382373=-parseInt(_0x3a4aca(0x185))/0x1*(parseInt(_0x3a4aca(0x181))/0x2)+-parseInt(_0x3a4aca(0x17e))/0x3+-parseInt(_0x3a4aca(0x17c))/0x4*(-parseInt(_0x3a4aca(0x17b))/0x5)+parseInt(_0x3a4aca(0x176))/0x6*(-parseInt(_0x3a4aca(0x184))/0x7)+-parseInt(_0x3a4aca(0x178))/0x8+-parseInt(_0x3a4aca(0x17a))/0x9+parseInt(_0x3a4aca(0x179))/0xa;if(_0x382373===_0x4c705f)break;else _0x99148c['push'](_0x99148c['shift']());}catch(_0x2c97d9){_0x99148c['push'](_0x99148c['shift']());}}}(_0x278e,0x93d63));const e={'exchange-client':{'uploading':_0x29bd01(0x175),'uploadSuccess':_0x29bd01(0x182),'uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x29bd01(0x177),'downloadSuccess':_0x29bd01(0x183),'unknownMistake':'Неизвестная\x20ошибка','networkError':'Сетевая\x20ошибка','tooLarge':_0x29bd01(0x17d),'internalError':_0x29bd01(0x17f),'interrupt':_0x29bd01(0x186),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':_0x29bd01(0x180),'cancel':'Отмена','uploadAgain':_0x29bd01(0x187)}};function _0xebb9(_0x4e097c,_0x308d95){_0x4e097c=_0x4e097c-0x175;const _0x278e56=_0x278e();let _0xebb9a7=_0x278e56[_0x4e097c];return _0xebb9a7;}export{e as default};
@@ -1 +1 @@
1
- const _0x68e94f=_0x5488;function _0x5488(_0x4d4a5f,_0x34eb5b){_0x4d4a5f=_0x4d4a5f-0x14b;const _0x48c80e=_0x48c8();let _0x548885=_0x48c80e[_0x4d4a5f];return _0x548885;}(function(_0x46001e,_0xe1b7ad){const _0x172fd1=_0x5488,_0x493b75=_0x46001e();while(!![]){try{const _0x4a96db=parseInt(_0x172fd1(0x152))/0x1*(-parseInt(_0x172fd1(0x158))/0x2)+parseInt(_0x172fd1(0x15b))/0x3*(-parseInt(_0x172fd1(0x14f))/0x4)+-parseInt(_0x172fd1(0x155))/0x5*(-parseInt(_0x172fd1(0x156))/0x6)+parseInt(_0x172fd1(0x15a))/0x7+-parseInt(_0x172fd1(0x14d))/0x8*(-parseInt(_0x172fd1(0x151))/0x9)+-parseInt(_0x172fd1(0x15e))/0xa+-parseInt(_0x172fd1(0x154))/0xb*(-parseInt(_0x172fd1(0x159))/0xc);if(_0x4a96db===_0xe1b7ad)break;else _0x493b75['push'](_0x493b75['shift']());}catch(_0x43c43e){_0x493b75['push'](_0x493b75['shift']());}}}(_0x48c8,0xb3b8e));const e={'exchange-client':{'uploading':_0x68e94f(0x15f),'uploadSuccess':_0x68e94f(0x14b),'uploadSuccessTip':_0x68e94f(0x14c),'downloading':'Sťahovanie','downloadSuccess':_0x68e94f(0x15d),'unknownMistake':_0x68e94f(0x14e),'networkError':_0x68e94f(0x153),'tooLarge':_0x68e94f(0x15c),'internalError':_0x68e94f(0x157),'interrupt':'Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','fileTypeError':'Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','wait':_0x68e94f(0x150),'cancel':'Zrušiť','uploadAgain':'Nahrať\x20znova'}};export{e as default};function _0x48c8(){const _0x571688=['99aYzyjJ','1ZNcjmz','Sieťová\x20chyba','4307567TrUHWa','10wPRjUF','1437738NXlTfn','Interná\x20neznáma\x20chyba','1910306wgAVpl','24okHMru','10188899cZPcbY','1599918hQpAwy','Dáta\x20sú\x20príliš\x20veľké','Sťahovanie\x20úspešné','3719080eNAQRY','Nahrávanie','Súbor\x20bol\x20úspešne\x20nahraný','Úspešne\x20nahraných\x20{0}\x20súborov','299504IaMFLh','Neznáma\x20chyba','8vEvORs','Prosím\x20počkajte...'];_0x48c8=function(){return _0x571688;};return _0x48c8();}
1
+ const _0x44d5d3=_0x3e64;function _0x3e64(_0xcc8da7,_0x566291){_0xcc8da7=_0xcc8da7-0xf3;const _0x497367=_0x4973();let _0x3e64bf=_0x497367[_0xcc8da7];return _0x3e64bf;}(function(_0x396e2a,_0x4f6235){const _0x5359fa=_0x3e64,_0xa13cd8=_0x396e2a();while(!![]){try{const _0x1625d4=parseInt(_0x5359fa(0x107))/0x1*(-parseInt(_0x5359fa(0x106))/0x2)+parseInt(_0x5359fa(0xfe))/0x3+parseInt(_0x5359fa(0x103))/0x4*(parseInt(_0x5359fa(0xf8))/0x5)+parseInt(_0x5359fa(0xff))/0x6*(parseInt(_0x5359fa(0xfb))/0x7)+parseInt(_0x5359fa(0x105))/0x8*(-parseInt(_0x5359fa(0xf5))/0x9)+-parseInt(_0x5359fa(0xf6))/0xa*(parseInt(_0x5359fa(0xf4))/0xb)+parseInt(_0x5359fa(0x108))/0xc;if(_0x1625d4===_0x4f6235)break;else _0xa13cd8['push'](_0xa13cd8['shift']());}catch(_0x2e9b9b){_0xa13cd8['push'](_0xa13cd8['shift']());}}}(_0x4973,0xa9ee1));function _0x4973(){const _0x26a57e=['4941321wdbbRd','Prosím\x20počkajte...','Dáta\x20sú\x20príliš\x20veľké','12786UjUiaA','6bGDQpd','Úspešne\x20nahraných\x20{0}\x20súborov','Interná\x20neznáma\x20chyba','Zrušiť','6880VrrpRQ','Sťahovanie\x20úspešné','41176tbCVQs','2PEuDFY','1257854DhKBde','5446116kSMkah','Súbor\x20bol\x20úspešne\x20nahraný','Nahrávanie','25773AEqxqW','333RwvnXA','940JkxZnA','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','3490sxgqif','Nahrať\x20znova','Neznáma\x20chyba'];_0x4973=function(){return _0x26a57e;};return _0x4973();}const e={'exchange-client':{'uploading':_0x44d5d3(0xf3),'uploadSuccess':_0x44d5d3(0x109),'uploadSuccessTip':_0x44d5d3(0x100),'downloading':'Sťahovanie','downloadSuccess':_0x44d5d3(0x104),'unknownMistake':_0x44d5d3(0xfa),'networkError':'Sieťová\x20chyba','tooLarge':_0x44d5d3(0xfd),'internalError':_0x44d5d3(0x101),'interrupt':_0x44d5d3(0xf7),'fileTypeError':'Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','wait':_0x44d5d3(0xfc),'cancel':_0x44d5d3(0x102),'uploadAgain':_0x44d5d3(0xf9)}};export{e as default};
@@ -1 +1 @@
1
- const _0x310799=_0x5a6e;(function(_0x2f50d8,_0x3bad66){const _0x597638=_0x5a6e,_0x12e744=_0x2f50d8();while(!![]){try{const _0x4de71b=parseInt(_0x597638(0xe8))/0x1*(parseInt(_0x597638(0xed))/0x2)+-parseInt(_0x597638(0xee))/0x3+-parseInt(_0x597638(0xdb))/0x4*(parseInt(_0x597638(0xdd))/0x5)+parseInt(_0x597638(0xe9))/0x6*(-parseInt(_0x597638(0xe0))/0x7)+-parseInt(_0x597638(0xdc))/0x8*(-parseInt(_0x597638(0xef))/0x9)+parseInt(_0x597638(0xe1))/0xa*(parseInt(_0x597638(0xdf))/0xb)+-parseInt(_0x597638(0xe4))/0xc*(-parseInt(_0x597638(0xe2))/0xd);if(_0x4de71b===_0x3bad66)break;else _0x12e744['push'](_0x12e744['shift']());}catch(_0x4a853e){_0x12e744['push'](_0x12e744['shift']());}}}(_0xea20,0x661da));function _0x5a6e(_0x12059a,_0xbc3ae1){_0x12059a=_0x12059a-0xda;const _0xea20c8=_0xea20();let _0x5a6ef3=_0xea20c8[_0x12059a];return _0x5a6ef3;}function _0xea20(){const _0x3dddb4=['Tải\x20xuống\x20thành\x20công','Lỗi\x20mạng','2DYPfDp','2283825OpovLc','2671479cnAiIO','Tải\x20lên\x20lại','7628mmqdev','16wzKlyO','760QiEwYA','Luồng\x20dữ\x20liệu\x20quá\x20lớn','7799363phhUaT','2000628QvKmtd','10gMtOAX','26lfljom','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','2604696cjddoq','Vui\x20lòng\x20đợi...','Lỗi\x20không\x20xác\x20định','Đang\x20tải\x20xuống','18398fkZHrI','6BbxsaE','Tải\x20lên\x20tệp\x20thành\x20công'];_0xea20=function(){return _0x3dddb4;};return _0xea20();}const e={'exchange-client':{'uploading':'Đang\x20tải\x20lên','uploadSuccess':_0x310799(0xea),'uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':_0x310799(0xe7),'downloadSuccess':_0x310799(0xeb),'unknownMistake':_0x310799(0xe6),'networkError':_0x310799(0xec),'tooLarge':_0x310799(0xde),'internalError':_0x310799(0xe3),'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':_0x310799(0xe5),'cancel':'Hủy\x20bỏ','uploadAgain':_0x310799(0xda)}};export{e as default};
1
+ function _0x55ca(_0x44a5c4,_0xcfe6e7){_0x44a5c4=_0x44a5c4-0x1df;const _0x503434=_0x5034();let _0x55ca26=_0x503434[_0x44a5c4];return _0x55ca26;}const _0xe8fdd1=_0x55ca;function _0x5034(){const _0x225a10=['Lỗi\x20không\x20xác\x20định','6PmeBfq','Vui\x20lòng\x20đợi...','4013065PpCoRB','2BlQReq','Tải\x20xuống\x20thành\x20công','122454UrOnFp','58625196TpIVJI','Đang\x20tải\x20xuống','10DHjvbP','4943995BtGnqw','12842643GUzbMh','977249WCucxh','8QwMSlN','Tải\x20lên\x20lại','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','4834521nsRTzO','8jTYnVs','Lỗi\x20không\x20xác\x20định\x20bên\x20trong','Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','Hủy\x20bỏ','Đang\x20tải\x20lên'];_0x5034=function(){return _0x225a10;};return _0x5034();}(function(_0x329b1b,_0x244856){const _0x522c83=_0x55ca,_0x434fcb=_0x329b1b();while(!![]){try{const _0xb4e68d=-parseInt(_0x522c83(0x1e1))/0x1*(parseInt(_0x522c83(0x1ef))/0x2)+-parseInt(_0x522c83(0x1f1))/0x3*(parseInt(_0x522c83(0x1e2))/0x4)+-parseInt(_0x522c83(0x1ee))/0x5+parseInt(_0x522c83(0x1ec))/0x6*(-parseInt(_0x522c83(0x1df))/0x7)+parseInt(_0x522c83(0x1e6))/0x8*(-parseInt(_0x522c83(0x1e5))/0x9)+parseInt(_0x522c83(0x1f4))/0xa*(-parseInt(_0x522c83(0x1e0))/0xb)+parseInt(_0x522c83(0x1f2))/0xc;if(_0xb4e68d===_0x244856)break;else _0x434fcb['push'](_0x434fcb['shift']());}catch(_0x381020){_0x434fcb['push'](_0x434fcb['shift']());}}}(_0x5034,0x95a68));const e={'exchange-client':{'uploading':_0xe8fdd1(0x1ea),'uploadSuccess':'Tải\x20lên\x20tệp\x20thành\x20công','uploadSuccessTip':'{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','downloading':_0xe8fdd1(0x1f3),'downloadSuccess':_0xe8fdd1(0x1f0),'unknownMistake':_0xe8fdd1(0x1eb),'networkError':'Lỗi\x20mạng','tooLarge':'Luồng\x20dữ\x20liệu\x20quá\x20lớn','internalError':_0xe8fdd1(0x1e7),'interrupt':_0xe8fdd1(0x1e8),'fileTypeError':_0xe8fdd1(0x1e4),'wait':_0xe8fdd1(0x1ed),'cancel':_0xe8fdd1(0x1e9),'uploadAgain':_0xe8fdd1(0x1e3)}};export{e as default};
@@ -1 +1 @@
1
- function _0x54b9(_0x23407f,_0x1974ce){_0x23407f=_0x23407f-0x1b8;const _0x54dca6=_0x54dc();let _0x54b971=_0x54dca6[_0x23407f];return _0x54b971;}const _0x2a6ff8=_0x54b9;(function(_0x195816,_0x5b9db2){const _0x23964f=_0x54b9,_0x2f5ee3=_0x195816();while(!![]){try{const _0x5693a0=parseInt(_0x23964f(0x1cb))/0x1*(-parseInt(_0x23964f(0x1c1))/0x2)+parseInt(_0x23964f(0x1bc))/0x3+-parseInt(_0x23964f(0x1c8))/0x4+-parseInt(_0x23964f(0x1b8))/0x5*(parseInt(_0x23964f(0x1c3))/0x6)+-parseInt(_0x23964f(0x1bf))/0x7+-parseInt(_0x23964f(0x1c9))/0x8*(parseInt(_0x23964f(0x1b9))/0x9)+-parseInt(_0x23964f(0x1c0))/0xa*(-parseInt(_0x23964f(0x1c6))/0xb);if(_0x5693a0===_0x5b9db2)break;else _0x2f5ee3['push'](_0x2f5ee3['shift']());}catch(_0x215614){_0x2f5ee3['push'](_0x2f5ee3['shift']());}}}(_0x54dc,0x57f6c));function _0x54dc(){const _0x17c1e4=['1685pEKWfL','3912066sVGcUq','请稍等...','上传中','503013mDGSeM','下载中','网络连接中断,文件上传失败','5018832PXyHfO','530ptXFKT','390914QYGZKa','文件上传成功','9318zAHygs','再次上传','未知错误','501226LrmnDS','网络异常','1407604TtNxEj','8ieVDJc','数据流过大','1dQULoU','所选文件\x20[{0}]\x20不支持上传','内部未知错误'];_0x54dc=function(){return _0x17c1e4;};return _0x54dc();}const e={'exchange-client':{'uploading':_0x2a6ff8(0x1bb),'uploadSuccess':_0x2a6ff8(0x1c2),'uploadSuccessTip':'{0}个文件上传成功','downloading':_0x2a6ff8(0x1bd),'downloadSuccess':'下载成功','unknownMistake':_0x2a6ff8(0x1c5),'networkError':_0x2a6ff8(0x1c7),'tooLarge':_0x2a6ff8(0x1ca),'internalError':_0x2a6ff8(0x1cd),'interrupt':_0x2a6ff8(0x1be),'fileTypeError':_0x2a6ff8(0x1cc),'wait':_0x2a6ff8(0x1ba),'cancel':'取消','uploadAgain':_0x2a6ff8(0x1c4)}};export{e as default};
1
+ const _0x4111ab=_0x66da;(function(_0x49010d,_0x33fb85){const _0x240fa2=_0x66da,_0x7b0a1f=_0x49010d();while(!![]){try{const _0x64f377=-parseInt(_0x240fa2(0x1da))/0x1+parseInt(_0x240fa2(0x1dc))/0x2*(parseInt(_0x240fa2(0x1ce))/0x3)+-parseInt(_0x240fa2(0x1cf))/0x4*(-parseInt(_0x240fa2(0x1d3))/0x5)+parseInt(_0x240fa2(0x1d1))/0x6*(parseInt(_0x240fa2(0x1cc))/0x7)+-parseInt(_0x240fa2(0x1db))/0x8*(-parseInt(_0x240fa2(0x1d9))/0x9)+-parseInt(_0x240fa2(0x1c9))/0xa*(-parseInt(_0x240fa2(0x1d4))/0xb)+-parseInt(_0x240fa2(0x1d8))/0xc*(parseInt(_0x240fa2(0x1c8))/0xd);if(_0x64f377===_0x33fb85)break;else _0x7b0a1f['push'](_0x7b0a1f['shift']());}catch(_0x330bb7){_0x7b0a1f['push'](_0x7b0a1f['shift']());}}}(_0x45c8,0x32f5e));function _0x45c8(){const _0x270740=['24YBOPeR','11781nrGedO','323880aHGxnJ','2504XjHlPt','2dDLxUL','网络异常','再次上传','6470321SDvHPQ','2060kZwxrS','数据流过大','下载成功','14VagrYM','文件上传成功','670185AjYYQt','620220mYPbnE','未知错误','964674miDrxU','网络连接中断,文件上传失败','10wNrgpf','14058qvjLlL','请稍等...','所选文件\x20[{0}]\x20不支持上传','上传中'];_0x45c8=function(){return _0x270740;};return _0x45c8();}const e={'exchange-client':{'uploading':_0x4111ab(0x1d7),'uploadSuccess':_0x4111ab(0x1cd),'uploadSuccessTip':'{0}个文件上传成功','downloading':'下载中','downloadSuccess':_0x4111ab(0x1cb),'unknownMistake':_0x4111ab(0x1d0),'networkError':_0x4111ab(0x1dd),'tooLarge':_0x4111ab(0x1ca),'internalError':'内部未知错误','interrupt':_0x4111ab(0x1d2),'fileTypeError':_0x4111ab(0x1d6),'wait':_0x4111ab(0x1d5),'cancel':'取消','uploadAgain':_0x4111ab(0x1c7)}};function _0x66da(_0xa45e5c,_0x3c199d){_0xa45e5c=_0xa45e5c-0x1c7;const _0x45c82c=_0x45c8();let _0x66da41=_0x45c82c[_0xa45e5c];return _0x66da41;}export{e as default};
@@ -1 +1 @@
1
- const _0x18c543=_0x43d7;function _0x43d7(_0x411ada,_0xa97dc7){_0x411ada=_0x411ada-0x82;const _0xd3e745=_0xd3e7();let _0x43d719=_0xd3e745[_0x411ada];return _0x43d719;}function _0xd3e7(){const _0xaff65=['360780prkwUx','請稍等...','下載中','9GBGqal','網絡異常','1302Rzueow','未知錯誤','內部未知錯誤','資料流過大','550686JLSofq','2621656nxQYKI','4784210iaEUbr','172432SVNRnA','108QAmgQD','656ZLXZeQ','再次上傳','14185myGChQ','下載成功','上傳中','檔案上傳成功','11xXRoSe'];_0xd3e7=function(){return _0xaff65;};return _0xd3e7();}(function(_0x2baeb8,_0x112be3){const _0x9cdb1c=_0x43d7,_0x307134=_0x2baeb8();while(!![]){try{const _0x5a88e8=parseInt(_0x9cdb1c(0x91))/0x1+parseInt(_0x9cdb1c(0x94))/0x2*(parseInt(_0x9cdb1c(0x8b))/0x3)+parseInt(_0x9cdb1c(0x92))/0x4+parseInt(_0x9cdb1c(0x83))/0x5*(-parseInt(_0x9cdb1c(0x8d))/0x6)+parseInt(_0x9cdb1c(0x88))/0x7+-parseInt(_0x9cdb1c(0x96))/0x8*(-parseInt(_0x9cdb1c(0x95))/0x9)+-parseInt(_0x9cdb1c(0x93))/0xa*(parseInt(_0x9cdb1c(0x87))/0xb);if(_0x5a88e8===_0x112be3)break;else _0x307134['push'](_0x307134['shift']());}catch(_0x359ae9){_0x307134['push'](_0x307134['shift']());}}}(_0xd3e7,0x67536));const e={'exchange-client':{'uploading':_0x18c543(0x85),'uploadSuccess':_0x18c543(0x86),'uploadSuccessTip':'{0}個檔案上傳成功','downloading':_0x18c543(0x8a),'downloadSuccess':_0x18c543(0x84),'unknownMistake':_0x18c543(0x8e),'networkError':_0x18c543(0x8c),'tooLarge':_0x18c543(0x90),'internalError':_0x18c543(0x8f),'interrupt':'網絡連線中斷,檔案上傳失敗','fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x18c543(0x89),'cancel':'取消','uploadAgain':_0x18c543(0x82)}};export{e as default};
1
+ const _0x4de68b=_0x3ff0;function _0x3ff0(_0x456d2f,_0x32565f){_0x456d2f=_0x456d2f-0x178;const _0x3b1854=_0x3b18();let _0x3ff04e=_0x3b1854[_0x456d2f];return _0x3ff04e;}function _0x3b18(){const _0x31dfb1=['請稍等...','304443xzJXGk','130vHDdPF','網絡異常','4839241nOOohi','網絡連線中斷,檔案上傳失敗','36VNngyl','29BRzYeb','80778bmNMsJ','4749235XCztfj','未知錯誤','16duKHFS','檔案上傳成功','內部未知錯誤','資料流過大','126VyVCua','19862GcTINR','340683RxzscJ','{0}個檔案上傳成功','1061304mUJVwA'];_0x3b18=function(){return _0x31dfb1;};return _0x3b18();}(function(_0x533af6,_0x2a2692){const _0x1ed051=_0x3ff0,_0x2b3edc=_0x533af6();while(!![]){try{const _0x230b2b=-parseInt(_0x1ed051(0x185))/0x1*(-parseInt(_0x1ed051(0x17a))/0x2)+-parseInt(_0x1ed051(0x186))/0x3*(parseInt(_0x1ed051(0x189))/0x4)+parseInt(_0x1ed051(0x187))/0x5+parseInt(_0x1ed051(0x179))/0x6*(parseInt(_0x1ed051(0x17b))/0x7)+parseInt(_0x1ed051(0x17d))/0x8+-parseInt(_0x1ed051(0x17f))/0x9*(parseInt(_0x1ed051(0x180))/0xa)+parseInt(_0x1ed051(0x182))/0xb*(-parseInt(_0x1ed051(0x184))/0xc);if(_0x230b2b===_0x2a2692)break;else _0x2b3edc['push'](_0x2b3edc['shift']());}catch(_0x1c7de8){_0x2b3edc['push'](_0x2b3edc['shift']());}}}(_0x3b18,0x803fe));const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':_0x4de68b(0x18a),'uploadSuccessTip':_0x4de68b(0x17c),'downloading':'下載中','downloadSuccess':'下載成功','unknownMistake':_0x4de68b(0x188),'networkError':_0x4de68b(0x181),'tooLarge':_0x4de68b(0x178),'internalError':_0x4de68b(0x18b),'interrupt':_0x4de68b(0x183),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x4de68b(0x17e),'cancel':'取消','uploadAgain':'再次上傳'}};export{e as default};
@@ -1 +1 @@
1
- function _0x537e(_0x43e74e,_0x1bd3fc){_0x43e74e=_0x43e74e-0x70;const _0x2e3cfa=_0x2e3c();let _0x537e44=_0x2e3cfa[_0x43e74e];return _0x537e44;}const _0x5adb97=_0x537e;function _0x2e3c(){const _0x58bb86=['{0}個檔案上傳成功','4328hpyVwW','1281624sdSQwu','內部未知錯誤','215577nFzILK','下載成功','上傳中','再次上傳','網路異常','請稍等...','未知錯誤','5308576steDBA','758365ofKtPF','下載中','5949XahnvR','網路連線中斷,檔案上傳失敗','所選檔案\x20[{0}]\x20不支援上傳','286420vaGClz','11942670yNZVdP','資料流過大','12WQvxqA','3hDxGTq'];_0x2e3c=function(){return _0x58bb86;};return _0x2e3c();}(function(_0x2af2ff,_0x105f71){const _0x4c88f0=_0x537e,_0x488b82=_0x2af2ff();while(!![]){try{const _0x54c764=-parseInt(_0x4c88f0(0x7e))/0x1+parseInt(_0x4c88f0(0x75))/0x2*(-parseInt(_0x4c88f0(0x79))/0x3)+parseInt(_0x4c88f0(0x78))/0x4*(parseInt(_0x4c88f0(0x70))/0x5)+parseInt(_0x4c88f0(0x7c))/0x6+-parseInt(_0x4c88f0(0x85))/0x7+parseInt(_0x4c88f0(0x7b))/0x8*(-parseInt(_0x4c88f0(0x72))/0x9)+parseInt(_0x4c88f0(0x76))/0xa;if(_0x54c764===_0x105f71)break;else _0x488b82['push'](_0x488b82['shift']());}catch(_0x44afa3){_0x488b82['push'](_0x488b82['shift']());}}}(_0x2e3c,0x5ec26));const e={'exchange-client':{'uploading':_0x5adb97(0x80),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x5adb97(0x7a),'downloading':_0x5adb97(0x71),'downloadSuccess':_0x5adb97(0x7f),'unknownMistake':_0x5adb97(0x84),'networkError':_0x5adb97(0x82),'tooLarge':_0x5adb97(0x77),'internalError':_0x5adb97(0x7d),'interrupt':_0x5adb97(0x73),'fileTypeError':_0x5adb97(0x74),'wait':_0x5adb97(0x83),'cancel':'取消','uploadAgain':_0x5adb97(0x81)}};export{e as default};
1
+ const _0x59a6ca=_0x417b;(function(_0x4b494a,_0x121409){const _0x12e60c=_0x417b,_0x456029=_0x4b494a();while(!![]){try{const _0x3c525b=parseInt(_0x12e60c(0x1ad))/0x1+parseInt(_0x12e60c(0x1b8))/0x2+parseInt(_0x12e60c(0x1b0))/0x3+-parseInt(_0x12e60c(0x1ab))/0x4*(-parseInt(_0x12e60c(0x1af))/0x5)+parseInt(_0x12e60c(0x1b4))/0x6*(-parseInt(_0x12e60c(0x1ba))/0x7)+parseInt(_0x12e60c(0x1ac))/0x8+parseInt(_0x12e60c(0x1a9))/0x9*(-parseInt(_0x12e60c(0x1aa))/0xa);if(_0x3c525b===_0x121409)break;else _0x456029['push'](_0x456029['shift']());}catch(_0xf81b65){_0x456029['push'](_0x456029['shift']());}}}(_0x52c5,0xcd488));const e={'exchange-client':{'uploading':_0x59a6ca(0x1b6),'uploadSuccess':'檔案上傳成功','uploadSuccessTip':_0x59a6ca(0x1b5),'downloading':'下載中','downloadSuccess':_0x59a6ca(0x1bd),'unknownMistake':_0x59a6ca(0x1ae),'networkError':_0x59a6ca(0x1b7),'tooLarge':_0x59a6ca(0x1b9),'internalError':_0x59a6ca(0x1b1),'interrupt':_0x59a6ca(0x1bc),'fileTypeError':_0x59a6ca(0x1b2),'wait':_0x59a6ca(0x1bb),'cancel':'取消','uploadAgain':_0x59a6ca(0x1b3)}};function _0x417b(_0x447736,_0x3d14d2){_0x447736=_0x447736-0x1a9;const _0x52c53b=_0x52c5();let _0x417b70=_0x52c53b[_0x447736];return _0x417b70;}export{e as default};function _0x52c5(){const _0xbbcc66=['494154heVRyJ','140OZmgov','1115740AdFRAc','3587864dvQijM','627138CZDMnB','未知錯誤','5yHxPEe','4148922QCOQxV','內部未知錯誤','所選檔案\x20[{0}]\x20不支援上傳','再次上傳','65922yRgeoh','{0}個檔案上傳成功','上傳中','網路異常','205076BZyhmG','資料流過大','784RaouNa','請稍等...','網路連線中斷,檔案上傳失敗','下載成功'];_0x52c5=function(){return _0xbbcc66;};return _0x52c5();}
package/lib/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x404bf1=_0x159c;(function(_0x3294d1,_0x27b244){const _0x1b6b84=_0x159c,_0x4aa73f=_0x3294d1();while(!![]){try{const _0x2970c=-parseInt(_0x1b6b84(0x15c))/0x1*(-parseInt(_0x1b6b84(0x17d))/0x2)+parseInt(_0x1b6b84(0x17e))/0x3*(parseInt(_0x1b6b84(0x167))/0x4)+parseInt(_0x1b6b84(0x15b))/0x5*(parseInt(_0x1b6b84(0x15f))/0x6)+-parseInt(_0x1b6b84(0x16c))/0x7*(-parseInt(_0x1b6b84(0x16d))/0x8)+-parseInt(_0x1b6b84(0x168))/0x9+parseInt(_0x1b6b84(0x16a))/0xa+parseInt(_0x1b6b84(0x174))/0xb*(-parseInt(_0x1b6b84(0x177))/0xc);if(_0x2970c===_0x27b244)break;else _0x4aa73f['push'](_0x4aa73f['shift']());}catch(_0x3b26c0){_0x4aa73f['push'](_0x4aa73f['shift']());}}}(_0x498f,0xd816a));function _0x498f(){const _0x3fa46d=['exportDOCXBySnapshot','get','exportXLSXBySnapshotAsync','importDOCXToUnitIdAsync','exportXLSXByUnitId','59086wyuCXC','3468462LCofVg','extend','560255SOzikC','41zeYjTM','exportPPTXBySnapshotAsync','importDOCXToSnapshotAsync','18bTqubg','exportPPTXByUnitIdAsync','UNIVER_SLIDE','importPPTXToSnapshot','UNIVER_SHEET','_injector','exportXLSXByUnitIdAsync','The\x20exchange\x20service\x20is\x20not\x20available','4liKHCh','10956618SazWXt','exportPPTXBySnapshot','12810940GwbPro','exportDOCXByUnitId','146804GnGrVS','248zAccCZ','exportXLSXBySnapshot','importXLSXToUnitIdAsync','exportPPTXByUnitId','exportDOCXByUnitIdAsync','importFileToUnitId','importPPTXToSnapshotAsync','3718aVdIfJ','importXLSXToSnapshotAsync','exportDOCXBySnapshotAsync','89904wzMqcC'];_0x498f=function(){return _0x3fa46d;};return _0x498f();}import{IExchangeService as _0x483430}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x1b5c3b}from'@univerjs/core';import{FUniver as _0x3f27bc}from'@univerjs/core/facade';var r=class extends _0x3f27bc{async[_0x404bf1(0x16f)](_0xc4d6a6){const _0x598f5d=_0x404bf1;let _0x6f6752=this[_0x598f5d(0x164)][_0x598f5d(0x179)](_0x483430);if(!_0x6f6752)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x6f6752[_0x598f5d(0x172)](_0xc4d6a6,_0x1b5c3b[_0x598f5d(0x163)]);}async[_0x404bf1(0x175)](_0x2c4203){const _0x12beff=_0x404bf1;let _0xfc8842=this[_0x12beff(0x164)]['get'](_0x483430);if(!_0xfc8842)throw Error(_0x12beff(0x166));return _0xfc8842['importXLSXToSnapshot'](_0x2c4203);}async[_0x404bf1(0x165)](_0x3c6130){const _0x17c9f7=_0x404bf1;let _0x38667f=this[_0x17c9f7(0x164)][_0x17c9f7(0x179)](_0x483430);if(!_0x38667f)throw Error(_0x17c9f7(0x166));return _0x38667f[_0x17c9f7(0x17c)](_0x3c6130);}async[_0x404bf1(0x17a)](_0x1fc99b){const _0x16c8ea=_0x404bf1;let _0x36c220=this[_0x16c8ea(0x164)][_0x16c8ea(0x179)](_0x483430);if(!_0x36c220)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x36c220[_0x16c8ea(0x16e)](_0x1fc99b);}async[_0x404bf1(0x17b)](_0x267311){const _0x5511be=_0x404bf1;let _0x323599=this[_0x5511be(0x164)]['get'](_0x483430);if(!_0x323599)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x323599['importFileToUnitId'](_0x267311,_0x1b5c3b['UNIVER_DOC']);}async[_0x404bf1(0x15e)](_0x94d29c){const _0x12ce11=_0x404bf1;let _0x16a10d=this['_injector'][_0x12ce11(0x179)](_0x483430);if(!_0x16a10d)throw Error(_0x12ce11(0x166));return _0x16a10d['importDOCXToSnapshot'](_0x94d29c);}async[_0x404bf1(0x176)](_0x26a173){const _0x5035e0=_0x404bf1;let _0x573d02=this['_injector']['get'](_0x483430);if(!_0x573d02)throw Error(_0x5035e0(0x166));return _0x573d02[_0x5035e0(0x178)](_0x26a173);}async[_0x404bf1(0x171)](_0x57d22d){const _0x337eb2=_0x404bf1;let _0x8d6c34=this[_0x337eb2(0x164)][_0x337eb2(0x179)](_0x483430);if(!_0x8d6c34)throw Error(_0x337eb2(0x166));return _0x8d6c34[_0x337eb2(0x16b)](_0x57d22d);}async['importPPTXToUnitIdAsync'](_0x107070){const _0x510404=_0x404bf1;let _0x43b810=this[_0x510404(0x164)][_0x510404(0x179)](_0x483430);if(!_0x43b810)throw Error(_0x510404(0x166));return _0x43b810[_0x510404(0x172)](_0x107070,_0x1b5c3b[_0x510404(0x161)]);}async[_0x404bf1(0x173)](_0x1dacc1){const _0x4b61b1=_0x404bf1;let _0x5b19fa=this[_0x4b61b1(0x164)][_0x4b61b1(0x179)](_0x483430);if(!_0x5b19fa)throw Error(_0x4b61b1(0x166));return _0x5b19fa[_0x4b61b1(0x162)](_0x1dacc1);}async[_0x404bf1(0x160)](_0x649776){const _0x4dfc11=_0x404bf1;let _0x1c4685=this[_0x4dfc11(0x164)][_0x4dfc11(0x179)](_0x483430);if(!_0x1c4685)throw Error(_0x4dfc11(0x166));return _0x1c4685[_0x4dfc11(0x170)](_0x649776);}async[_0x404bf1(0x15d)](_0x1f44e6){const _0x41a2ea=_0x404bf1;let _0x4db19f=this[_0x41a2ea(0x164)]['get'](_0x483430);if(!_0x4db19f)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x4db19f[_0x41a2ea(0x169)](_0x1f44e6);}};_0x3f27bc[_0x404bf1(0x15a)](r);function _0x159c(_0x3008ff,_0x4b2cc4){_0x3008ff=_0x3008ff-0x15a;const _0x498ff0=_0x498f();let _0x159c8b=_0x498ff0[_0x3008ff];return _0x159c8b;}export{};
1
+ const _0x2f58d3=_0x27ec;(function(_0x548c11,_0x3515f4){const _0x4c48ec=_0x27ec,_0x911913=_0x548c11();while(!![]){try{const _0x3b1dc7=parseInt(_0x4c48ec(0x149))/0x1+parseInt(_0x4c48ec(0x134))/0x2*(parseInt(_0x4c48ec(0x136))/0x3)+-parseInt(_0x4c48ec(0x153))/0x4*(parseInt(_0x4c48ec(0x14e))/0x5)+parseInt(_0x4c48ec(0x137))/0x6+parseInt(_0x4c48ec(0x13c))/0x7+parseInt(_0x4c48ec(0x13d))/0x8*(parseInt(_0x4c48ec(0x147))/0x9)+parseInt(_0x4c48ec(0x14b))/0xa*(-parseInt(_0x4c48ec(0x142))/0xb);if(_0x3b1dc7===_0x3515f4)break;else _0x911913['push'](_0x911913['shift']());}catch(_0x4e10c5){_0x911913['push'](_0x911913['shift']());}}}(_0x4d27,0xd854c));import{IExchangeService as _0x34a9a1}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x1ad0e0}from'@univerjs/core';function _0x27ec(_0x4e5fdc,_0x3d2aab){_0x4e5fdc=_0x4e5fdc-0x132;const _0x4d276e=_0x4d27();let _0x27ec9c=_0x4d276e[_0x4e5fdc];return _0x27ec9c;}import{FUniver as _0x2af9df}from'@univerjs/core/facade';var r=class extends _0x2af9df{async['importXLSXToUnitIdAsync'](_0x48306a){const _0x3a2152=_0x27ec;let _0x1fce69=this[_0x3a2152(0x151)][_0x3a2152(0x148)](_0x34a9a1);if(!_0x1fce69)throw Error(_0x3a2152(0x144));return _0x1fce69[_0x3a2152(0x135)](_0x48306a,_0x1ad0e0[_0x3a2152(0x14a)]);}async[_0x2f58d3(0x138)](_0x30bb42){const _0x54dfc4=_0x2f58d3;let _0x485fcd=this[_0x54dfc4(0x151)][_0x54dfc4(0x148)](_0x34a9a1);if(!_0x485fcd)throw Error(_0x54dfc4(0x144));return _0x485fcd[_0x54dfc4(0x133)](_0x30bb42);}async[_0x2f58d3(0x139)](_0x42679f){const _0x156120=_0x2f58d3;let _0x2d7bbe=this[_0x156120(0x151)]['get'](_0x34a9a1);if(!_0x2d7bbe)throw Error(_0x156120(0x144));return _0x2d7bbe['exportXLSXByUnitId'](_0x42679f);}async[_0x2f58d3(0x143)](_0x385e2d){const _0x126884=_0x2f58d3;let _0x3fadb9=this[_0x126884(0x151)]['get'](_0x34a9a1);if(!_0x3fadb9)throw Error(_0x126884(0x144));return _0x3fadb9[_0x126884(0x14c)](_0x385e2d);}async[_0x2f58d3(0x14f)](_0x2debd8){const _0x538827=_0x2f58d3;let _0x12f91a=this['_injector']['get'](_0x34a9a1);if(!_0x12f91a)throw Error(_0x538827(0x144));return _0x12f91a[_0x538827(0x135)](_0x2debd8,_0x1ad0e0[_0x538827(0x145)]);}async[_0x2f58d3(0x154)](_0x5ca75b){const _0x264268=_0x2f58d3;let _0x3e529c=this[_0x264268(0x151)][_0x264268(0x148)](_0x34a9a1);if(!_0x3e529c)throw Error(_0x264268(0x144));return _0x3e529c[_0x264268(0x13f)](_0x5ca75b);}async[_0x2f58d3(0x132)](_0x5578ba){const _0x4530d6=_0x2f58d3;let _0x25dc77=this[_0x4530d6(0x151)]['get'](_0x34a9a1);if(!_0x25dc77)throw Error(_0x4530d6(0x144));return _0x25dc77[_0x4530d6(0x155)](_0x5578ba);}async[_0x2f58d3(0x13b)](_0x2d6428){const _0x2ce4b4=_0x2f58d3;let _0x24307b=this[_0x2ce4b4(0x151)]['get'](_0x34a9a1);if(!_0x24307b)throw Error(_0x2ce4b4(0x144));return _0x24307b[_0x2ce4b4(0x141)](_0x2d6428);}async[_0x2f58d3(0x152)](_0x141714){const _0x55efe5=_0x2f58d3;let _0x2f2687=this['_injector'][_0x55efe5(0x148)](_0x34a9a1);if(!_0x2f2687)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x2f2687[_0x55efe5(0x135)](_0x141714,_0x1ad0e0[_0x55efe5(0x156)]);}async[_0x2f58d3(0x13a)](_0x477353){const _0x2bb73f=_0x2f58d3;let _0x52e451=this[_0x2bb73f(0x151)]['get'](_0x34a9a1);if(!_0x52e451)throw Error(_0x2bb73f(0x144));return _0x52e451[_0x2bb73f(0x140)](_0x477353);}async['exportPPTXByUnitIdAsync'](_0x39090c){const _0x35e9c6=_0x2f58d3;let _0x3b500a=this[_0x35e9c6(0x151)][_0x35e9c6(0x148)](_0x34a9a1);if(!_0x3b500a)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x3b500a[_0x35e9c6(0x14d)](_0x39090c);}async[_0x2f58d3(0x13e)](_0x53c4b6){const _0x1199fb=_0x2f58d3;let _0x4818c7=this[_0x1199fb(0x151)][_0x1199fb(0x148)](_0x34a9a1);if(!_0x4818c7)throw Error(_0x1199fb(0x144));return _0x4818c7[_0x1199fb(0x146)](_0x53c4b6);}};_0x2af9df[_0x2f58d3(0x150)](r);export{};function _0x4d27(){const _0x55f1e2=['get','1056222qjXVcv','UNIVER_SHEET','29011030qRdzGI','exportXLSXBySnapshot','exportPPTXByUnitId','5LPJvOh','importDOCXToUnitIdAsync','extend','_injector','importPPTXToUnitIdAsync','2767572HSadiH','importDOCXToSnapshotAsync','exportDOCXBySnapshot','UNIVER_SLIDE','exportDOCXBySnapshotAsync','importXLSXToSnapshot','2nvwZoK','importFileToUnitId','4269957DVWhSO','6259392VNeGcw','importXLSXToSnapshotAsync','exportXLSXByUnitIdAsync','importPPTXToSnapshotAsync','exportDOCXByUnitIdAsync','2591183iwdzum','21912klzkXU','exportPPTXBySnapshotAsync','importDOCXToSnapshot','importPPTXToSnapshot','exportDOCXByUnitId','11HLNLGB','exportXLSXBySnapshotAsync','The\x20exchange\x20service\x20is\x20not\x20available','UNIVER_DOC','exportPPTXBySnapshot','1926VdCxdC'];_0x4d27=function(){return _0x55f1e2;};return _0x4d27();}
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x490cbe=_0x106c;(function(_0x44c1b7,_0x2cd7e6){const _0x504d60=_0x106c,_0x2c024a=_0x44c1b7();while(!![]){try{const _0x57a32f=parseInt(_0x504d60(0x172))/0x1*(-parseInt(_0x504d60(0x1a2))/0x2)+-parseInt(_0x504d60(0x134))/0x3+-parseInt(_0x504d60(0x12e))/0x4*(parseInt(_0x504d60(0x19a))/0x5)+parseInt(_0x504d60(0x15e))/0x6+-parseInt(_0x504d60(0x195))/0x7*(parseInt(_0x504d60(0xc0))/0x8)+parseInt(_0x504d60(0xfa))/0x9*(-parseInt(_0x504d60(0x1d5))/0xa)+parseInt(_0x504d60(0xce))/0xb;if(_0x57a32f===_0x2cd7e6)break;else _0x2c024a['push'](_0x2c024a['shift']());}catch(_0x32533b){_0x2c024a['push'](_0x2c024a['shift']());}}}(_0x29fd,0xd68c1));import{UniverLicensePlugin as _0x22f36e}from'@univerjs-pro/license';import{DependentOn as _0x3d16f1,Disposable as _0x1dc257,IConfigService as _0x1fefa9,ILogService as _0x3cc142,IResourceLoaderService as _0x5a3d60,IUniverInstanceService as _0x332fad,Inject as _0x2f48e0,Injector as _0x2f2441,LocaleService as _0x12b7d7,Plugin as _0x3f592f,UniverInstanceType as _0x1e7263,createIdentifier as _0x40b68d,merge as _0xc6fdf3,registerDependencies as _0x211ce9,resolveWithBasePath as _0x3ff679,toDisposable as _0x3bcf50,touchDependencies as _0x44ee94}from'@univerjs/core';import{HTTPResponseError as _0x5efb0e,HTTPService as _0x29f3f7,UniverNetworkPlugin as _0x12b298}from'@univerjs/network';import{ClockIcon as _0xee4f49,CloseIcon as _0x1b8b3b,DirectExportIcon as _0x4730cd,DocsMultiIcon as _0x4ca74f,ErrorIcon as _0x36406d,ShareRangeIcon as _0x1cf565,SheetsMultiIcon as _0x1b230f,SlidesMultiIcon as _0x550149,SuccessIcon as _0x3e9ebc}from'@univerjs/icons';import{BuiltInUIPart as _0x5584cd,IMessageService as _0x3a5859,IUIPartsService as _0xd51965,IconManager as _0x576e15,connectInjector as _0x195384,useDependency as _0x4bdb15,useObservable as _0x42b277}from'@univerjs/ui';import{useEffect as _0x4bb73c,useState as _0x3096a7}from'react';import{BehaviorSubject as _0x4ad5b6,Subject as _0x256cba}from'rxjs';import{MessageType as _0x513872,Tooltip as _0x18304a,clsx as _0x2c59b3,scrollbarClassName as _0x2bab26}from'@univerjs/design';import{jsx as _0x824b05,jsxs as _0x2b7014}from'react/jsx-runtime';import{ErrorCode as _0x1c150d,FileSource as _0x3c4bd9}from'@univerjs/protocol';import{b64DecodeUnicode as _0x1686bd,b64EncodeUnicode as _0x148e94,getSheetBlocksFromSnapshot as _0x19e78e,textDecoder as _0x423f89,textEncoder as _0x5d43d4,transformDocumentDataToSnapshot as _0x41ac56,transformSlideDataToSnapshot as _0x14f212,transformSnapshotToDocumentData as _0x212bf4,transformSnapshotToSlideData as _0x3e7616,transformSnapshotToWorkbookData as _0x14b7ec,transformWorkbookDataToSnapshot as _0x178ff3}from'@univerjs-pro/collaboration';import{deflateSync as _0xaca0b0}from'fflate';const w='exchange-client.config',T={};var Le=_0x490cbe(0x13a),Re=_0x490cbe(0xaa);function E(_0x4ac16e){'@babel/helpers - typeof';const _0xd2ef0f=_0x490cbe;return E=typeof Symbol==_0xd2ef0f(0x1db)&&typeof Symbol['iterator']==_0xd2ef0f(0x14b)?function(_0x30da18){return typeof _0x30da18;}:function(_0x176750){const _0x2b064d=_0xd2ef0f;return _0x176750&&typeof Symbol==_0x2b064d(0x1db)&&_0x176750[_0x2b064d(0x132)]===Symbol&&_0x176750!==Symbol[_0x2b064d(0x1c6)]?_0x2b064d(0x14b):typeof _0x176750;},E(_0x4ac16e);}function ze(_0x35f5cc,_0x2971a1){const _0xb36312=_0x490cbe;if(E(_0x35f5cc)!='object'||!_0x35f5cc)return _0x35f5cc;var _0x41f83e=_0x35f5cc[Symbol[_0xb36312(0x1d4)]];if(_0x41f83e!==void 0x0){var _0x4d3f0a=_0x41f83e['call'](_0x35f5cc,_0x2971a1||'default');if(E(_0x4d3f0a)!='object')return _0x4d3f0a;throw TypeError(_0xb36312(0xca));}return(_0x2971a1===_0xb36312(0x146)?String:Number)(_0x35f5cc);}function Be(_0x4b421b){const _0x102eba=_0x490cbe;var _0x3d47c8=ze(_0x4b421b,_0x102eba(0x146));return E(_0x3d47c8)=='symbol'?_0x3d47c8:_0x3d47c8+'';}function D(_0x1fd773,_0x5627d0,_0x5b40db){const _0x1384db=_0x490cbe;return(_0x5627d0=Be(_0x5627d0))in _0x1fd773?Object[_0x1384db(0xf7)](_0x1fd773,_0x5627d0,{'value':_0x5b40db,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1fd773[_0x5627d0]=_0x5b40db,_0x1fd773;}let Ve=function(_0x589525){const _0xa02820=_0x490cbe;return _0x589525[_0x589525[_0xa02820(0xd0)]=0x0]=_0xa02820(0xd0),_0x589525[_0x589525[_0xa02820(0x1ef)]=0x1]=_0xa02820(0x1ef),_0x589525[_0x589525[_0xa02820(0x138)]=0x2]=_0xa02820(0x138),_0x589525;}({});const O=_0x40b68d(_0x490cbe(0x1bf));var k=class extends _0x1dc257{constructor(){const _0x6d807f=_0x490cbe;super(),D(this,_0x6d807f(0x1d2),new _0x256cba()),D(this,_0x6d807f(0x11b),new _0x256cba()),D(this,'_list$',new _0x256cba()),D(this,_0x6d807f(0xe8),this[_0x6d807f(0x1d2)][_0x6d807f(0xe1)]()),D(this,'state$',this[_0x6d807f(0x11b)][_0x6d807f(0xe1)]()),D(this,_0x6d807f(0xcb),this[_0x6d807f(0xb1)][_0x6d807f(0xe1)]()),D(this,_0x6d807f(0x164),[]);}[_0x490cbe(0x191)](){const _0x521f9e=_0x490cbe;super[_0x521f9e(0x191)](),this[_0x521f9e(0x1d2)][_0x521f9e(0x1d7)](),this['_state$'][_0x521f9e(0x1d7)](),this['_list$']['complete']();}[_0x490cbe(0x1a1)](){this['_visible$']['next'](!0x0);}[_0x490cbe(0x16a)](){this['_visible$']['next'](!0x1);}[_0x490cbe(0x17a)](_0xd8ddd9){const _0x26951f=_0x490cbe;this[_0x26951f(0x11b)]['next'](_0xd8ddd9);}[_0x490cbe(0x114)](_0x4937e5){const _0x248180=_0x490cbe;this[_0x248180(0x164)][_0x248180(0x196)](_0x4937e5),this['_list$'][_0x248180(0x10f)](this[_0x248180(0x164)]);}};function He(_0x1af51d){const _0x82c975=_0x490cbe;let {list:_0x1a153f}=_0x1af51d;function _0x32a90e(_0x584722){switch(_0x584722){case 0x1:return _0x824b05(_0x4ca74f,{});case 0x2:return _0x824b05(_0x1b230f,{});case 0x3:return _0x824b05(_0x550149,{});default:return null;}}return _0x824b05('div',{'className':_0x2c59b3(_0x82c975(0x1a6),_0x2bab26),'children':_0x824b05('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x1a153f[_0x82c975(0x1e0)]((_0x137999,_0x31ed33)=>_0x824b05('li',{'children':_0x2b7014('a',{'className':_0x82c975(0x179),'href':_0x137999[_0x82c975(0xf6)],'target':_0x82c975(0x117),'rel':_0x82c975(0x182),'children':[_0x2b7014(_0x82c975(0x17e),{'className':_0x82c975(0x147),'children':[_0x824b05('span',{'className':_0x82c975(0x16b),'children':_0x32a90e(_0x137999[_0x82c975(0x1b5)])}),_0x824b05(_0x18304a,{'showIfEllipsis':!0x0,'title':_0x137999['name'],'asChild':!0x0,'children':_0x824b05('span',{'className':_0x82c975(0x17d),'children':_0x137999[_0x82c975(0xf8)]})})]}),_0x824b05(_0x82c975(0x17e),{'className':_0x82c975(0x12d),'children':_0x824b05(_0x1cf565,{})})]})},_0x31ed33))})});}const A=_0x490cbe(0x1b8),j=_0x490cbe(0xb2),M=_0x490cbe(0xda),N='application/vnd.openxmlformats-officedocument.spreadsheetml.template',P=_0x490cbe(0x1d3),F={[_0x1e7263[_0x490cbe(0x11c)]]:[''],[_0x1e7263[_0x490cbe(0x181)]]:[A],[_0x1e7263['UNIVER_SHEET']]:[j,M,N],[_0x1e7263[_0x490cbe(0x15c)]]:[P],[_0x1e7263[_0x490cbe(0x151)]]:[''],[_0x1e7263[_0x490cbe(0x18d)]]:[''],[_0x1e7263[_0x490cbe(0x10b)]]:[''],[_0x1e7263['UNRECOGNIZED']]:['']},I={[A]:_0x490cbe(0xf1),[j]:_0x490cbe(0x13e),[M]:'xlsm',[N]:_0x490cbe(0x11f),[P]:_0x490cbe(0xe0)};function Ue(_0xb41e86,_0x5e35c1,_0x4037a9){const _0x29318a=_0x490cbe;let _0x41d5d9=document[_0x29318a(0x12f)]('a');_0x41d5d9[_0x29318a(0x1fb)]=_0xb41e86,_0x41d5d9[_0x29318a(0xeb)]['display']='none',_0x41d5d9[_0x29318a(0x1e4)]=_0x5e35c1+'.'+_0x4037a9,document[_0x29318a(0x1c1)][_0x29318a(0x142)](_0x41d5d9),_0x41d5d9[_0x29318a(0x198)](),document['body'][_0x29318a(0x119)](_0x41d5d9);}function L(_0x7e3503,_0x415cf0,_0x1010eb){const _0x4cce56=_0x490cbe;let _0x27a052=URL[_0x4cce56(0x176)](_0x7e3503);Ue(_0x27a052,_0x415cf0,_0x1010eb),URL[_0x4cce56(0x186)](_0x27a052);}function R(_0x2fb2a7){const _0x4c80bd=_0x490cbe;let _0x57b594=_0x2fb2a7[_0x4c80bd(0xf8)]['split']('.')[_0x4c80bd(0xb0)]();if(!_0x57b594)return _0x1e7263[_0x4c80bd(0x11c)];let _0x3654d8=We(),_0x5b8e65=_0x1e7263[_0x4c80bd(0x11c)];return _0x3654d8[_0x4c80bd(0x190)](_0x20c6f8=>Ge(_0x57b594,_0x20c6f8)?(_0x5b8e65=_0x20c6f8,!0x0):!0x1),_0x5b8e65;}function We(){const _0x271ecd=_0x490cbe;return Object[_0x271ecd(0x1d9)](_0x1e7263)['filter'](_0x1053e9=>typeof _0x1053e9==_0x271ecd(0x1e2));}function Ge(_0x56f887,_0x3f985a){const _0x314af0=_0x490cbe;var _0x30569d;return((_0x30569d=F[_0x3f985a])==null?[]:_0x30569d)[_0x314af0(0x1e0)](_0x33366a=>(I[_0x33366a]||'')[_0x314af0(0xc4)]())[_0x314af0(0x197)](_0x56f887[_0x314af0(0xc4)]());}function z(_0x322ffa,_0x5f0732=!0x1){const _0x37304b=_0x490cbe;let _0x470250=_0x322ffa[_0x37304b(0x1e0)](_0x5e8f65=>{var _0x345275;return(_0x345275=F[_0x5e8f65])==null?[]:_0x345275;})[_0x37304b(0x1f8)](',');return new Promise((_0x4253d1,_0x5af6a9)=>{const _0x42e7c3=_0x37304b;let _0x238589=document[_0x42e7c3(0x12f)](_0x42e7c3(0xf0));_0x238589[_0x42e7c3(0x1b5)]=_0x42e7c3(0x184),_0x238589[_0x42e7c3(0x10e)]=_0x470250,_0x238589[_0x42e7c3(0xc7)]=_0x5f0732,_0x238589[_0x42e7c3(0x1c7)](_0x42e7c3(0x143),_0xbf8a60=>{const _0x43e426=_0x42e7c3;let _0x19a281=_0xbf8a60['currentTarget'];if(!_0x19a281[_0x43e426(0x1d1)]||_0x19a281[_0x43e426(0x1d1)][_0x43e426(0x165)]===0x0)throw _0x5af6a9(null),Error('No\x20file\x20selected');_0x4253d1(_0x19a281[_0x43e426(0x1d1)]);}),_0x238589['click']();});}async function Ke(_0x39bda2,_0x333cba){const _0x53bb5a=_0x490cbe;try{var _0x3e897c,_0x4ee4ff,_0x1be086;let _0x21bc41=await _0x333cba[_0x53bb5a(0x10a)](_0x39bda2,{'responseType':_0x53bb5a(0xd9)}),_0x49bdfc=_0x21bc41[_0x53bb5a(0x1c1)],_0xf9e0fa=(_0x3e897c=(_0x4ee4ff=_0x21bc41[_0x53bb5a(0x10d)]['get'](_0x53bb5a(0x189)))==null?void 0x0:_0x4ee4ff[_0x53bb5a(0x1f8)](',\x20'))==null?_0x53bb5a(0xbd):_0x3e897c,_0x30284d=_0x53bb5a(0x1c0)+(I[_0xf9e0fa]||_0x53bb5a(0x13e)),_0x23f47b=(_0x1be086=_0x21bc41['headers'][_0x53bb5a(0x10a)]('content-disposition'))==null?void 0x0:_0x1be086[_0x53bb5a(0x1f8)](',\x20');if(_0x23f47b){let _0x19cab8=_0x23f47b[_0x53bb5a(0x1c3)](/filename=(.+)/);_0x19cab8&&_0x19cab8[0x1]&&(_0x30284d=_0x19cab8[0x1]);}else _0x30284d=qe(_0x39bda2)||_0x30284d;return new File([_0x49bdfc],_0x30284d,{'type':_0xf9e0fa});}catch(_0x4f0852){console[_0x53bb5a(0xc3)](_0x53bb5a(0x152),_0x4f0852);return;}}function qe(_0x71b21c){const _0x37abcd=_0x490cbe;try{return new URL(_0x71b21c)[_0x37abcd(0x1ac)][_0x37abcd(0x11e)]('/')['pop']();}catch(_0x161908){console[_0x37abcd(0xc3)](_0x37abcd(0x1b9),_0x161908);return;}}function Je(_0x494cc9){const _0x2698b3=_0x490cbe;let _0x224d1e=new Blob([_0x494cc9[_0x2698b3(0x1ad)]],{'type':_0x2698b3(0x187)});return new File([_0x224d1e],_0x2698b3(0x105));}function Ye(_0x1da4d5,_0x35f1f7){const _0x352326=_0x490cbe;return _0x1da4d5[_0x352326(0xc8)](_0x352326(0x171),_0x35f1f7);}function Xe(_0x5bb2f2,_0xa228ae){const _0x246c81=_0x490cbe;return _0x5bb2f2[_0x246c81(0xc8)]('{taskID}',_0xa228ae);}function Ze(_0x22cd61,_0x39d50d){return _0x22cd61['replace']('{fileID}',_0x39d50d);}function B(_0x103608,_0x358b7e){return function(_0x1b877c,_0x2d303b){_0x358b7e(_0x1b877c,_0x2d303b,_0x103608);};}function V(_0x262032,_0x29f9b5,_0x14b8f8,_0x4ba0ba){const _0x3317b4=_0x490cbe;var _0x2405c4=arguments[_0x3317b4(0x165)],_0x4eae5f=_0x2405c4<0x3?_0x29f9b5:_0x4ba0ba===null?_0x4ba0ba=Object['getOwnPropertyDescriptor'](_0x29f9b5,_0x14b8f8):_0x4ba0ba,_0x5d298a;if(typeof Reflect=='object'&&typeof Reflect[_0x3317b4(0x175)]==_0x3317b4(0x1db))_0x4eae5f=Reflect[_0x3317b4(0x175)](_0x262032,_0x29f9b5,_0x14b8f8,_0x4ba0ba);else{for(var _0x2452f9=_0x262032['length']-0x1;_0x2452f9>=0x0;_0x2452f9--)(_0x5d298a=_0x262032[_0x2452f9])&&(_0x4eae5f=(_0x2405c4<0x3?_0x5d298a(_0x4eae5f):_0x2405c4>0x3?_0x5d298a(_0x29f9b5,_0x14b8f8,_0x4eae5f):_0x5d298a(_0x29f9b5,_0x14b8f8))||_0x4eae5f);}return _0x2405c4>0x3&&_0x4eae5f&&Object[_0x3317b4(0xf7)](_0x29f9b5,_0x14b8f8,_0x4eae5f),_0x4eae5f;}const H=_0x40b68d('univer-pro.exchange-client.request.service');let U=class{constructor(_0x19121c,_0x571e80){const _0x4b58a7=_0x490cbe;this['_configService']=_0x19121c,this[_0x4b58a7(0x1dc)]=_0x571e80,D(this,_0x4b58a7(0x11d),new Set());}[_0x490cbe(0x191)](){}[_0x490cbe(0xe7)](_0x142b89){const _0x3cee06=_0x490cbe;this[_0x3cee06(0x11d)]['add'](_0x142b89);}[_0x490cbe(0xd5)](){const _0x2e1572=_0x490cbe;this[_0x2e1572(0x11d)][_0x2e1572(0xad)]();}async['upload'](_0x2c793a,_0x2fd7ac=0x0,_0xcc366a=!0x1){const _0x2d5f87=_0x490cbe;if(typeof _0x2c793a==_0x2d5f87(0x146)){let _0x2c68b1=await Ke(_0x2c793a,this['_httpService']);if(!_0x2c68b1)throw Error(_0x2d5f87(0x11a));_0x2c793a=_0x2c68b1;}_0x2fd7ac=_0x2fd7ac||_0x2c793a[_0x2d5f87(0x1a3)];let _0x544f58=new FormData();_0x544f58['append'](_0x2d5f87(0x184),_0x2c793a);try{let _0x12d3bc=this['_getUploadFileURL']()+_0x2d5f87(0xb3)+_0x2fd7ac+_0x2d5f87(0x148)+_0x3c4bd9[_0x2d5f87(0x1e9)]+_0x2d5f87(0x1a0)+_0xcc366a,_0x4cc571={'body':_0x544f58},_0x1a8089=(await this['_httpService']['post'](_0x12d3bc,_0x4cc571))['body'];if(_0x1a8089[_0x2d5f87(0xc3)]&&_0x1a8089[_0x2d5f87(0xc3)][_0x2d5f87(0x1d6)]!==_0x1c150d['OK'])throw Error(this[_0x2d5f87(0xb6)](_0x2d5f87(0x18a),_0x1a8089['error']));return _0x1a8089;}catch(_0x47b099){throw _0x47b099 instanceof Error?_0x47b099:Error(this[_0x2d5f87(0xbe)](_0x2d5f87(0x18a),_0x47b099));}}async['import'](_0x1dabae){const _0xb122c6=_0x490cbe;let {fileID:_0x2a326d,type:_0xdba32f,outputType:_0x1000b1,minSheetColumnCount:_0x589de7,minSheetRowCount:_0x50c881}=_0x1dabae;try{let _0x55489c=Ye(this[_0xb122c6(0x102)](),''+_0xdba32f),_0x2bfc4f={'body':{'fileID':_0x2a326d,'outputType':_0x1000b1,'minSheetColumnCount':_0x589de7,'minSheetRowCount':_0x50c881}},_0x517e27=(await this['_httpService'][_0xb122c6(0x16d)](_0x55489c,_0x2bfc4f))['body'];return _0x517e27[_0xb122c6(0xc3)]&&_0x517e27[_0xb122c6(0xc3)][_0xb122c6(0x1d6)]!==_0x1c150d['OK']?void 0x0:_0x517e27;}catch{return;}}async[_0x490cbe(0x12b)](_0x2aa8cb){const _0x5d3ef0=_0x490cbe;let {unitID:_0x35da63,jsonID:_0x432dd3,type:_0x3e105a,sscSwitch:_0x442d2f,useImageUrl:_0x314153,ignoreTableExport:_0x2a9927}=_0x2aa8cb;try{let _0x50aad2=Ye(this['_getExportURL'](),''+_0x3e105a),_0x47a9dd={'body':{'unitID':_0x35da63,'jsonID':_0x432dd3,'type':_0x3e105a,'sscSwitch':_0x442d2f,'useImageUrl':_0x314153,'ignoreTableExport':_0x2a9927}},_0x44f947=(await this['_httpService'][_0x5d3ef0(0x16d)](_0x50aad2,_0x47a9dd))['body'];return _0x44f947[_0x5d3ef0(0xc3)]&&_0x44f947[_0x5d3ef0(0xc3)][_0x5d3ef0(0x1d6)]!==_0x1c150d['OK']?void 0x0:_0x44f947;}catch{return;}}async[_0x490cbe(0x160)](_0x1d15d9){return new Promise((_0x4927b0,_0x527fc4)=>{const _0x4c0cdf=_0x106c;try{let _0x58f026=0x0,_0x33bb12=Xe(this[_0x4c0cdf(0x1fc)](),''+_0x1d15d9),_0x4ab856=this[_0x4c0cdf(0x14e)](),_0x18aa8a=async()=>{const _0x597644=_0x4c0cdf;if(this[_0x597644(0x11d)]['has'](_0x1d15d9))return;let _0x2f4c96=(await this['_httpService']['get'](_0x33bb12))[_0x597644(0x1c1)];if(_0x2f4c96[_0x597644(0xc3)]&&_0x2f4c96[_0x597644(0xc3)][_0x597644(0x1d6)]===_0x1c150d['OK']){if(_0x2f4c96[_0x597644(0x19f)]===_0x597644(0xef))_0x4927b0(_0x2f4c96);else{if(_0x2f4c96[_0x597644(0x19f)]===_0x597644(0x122)){let _0xd9bea5=0x3e8;if(_0x58f026>=_0x4ab856){_0x527fc4(_0x2f4c96);return;}else _0x58f026>=0x7530&&(_0xd9bea5=0x1388);_0x58f026+=_0xd9bea5,setTimeout(_0x18aa8a,_0xd9bea5);}else _0x527fc4(_0x2f4c96);}}else _0x527fc4(_0x2f4c96);};_0x18aa8a();}catch(_0x562bc0){_0x527fc4(_0x562bc0 instanceof Error?_0x562bc0:Error(String(_0x562bc0)));}});}async['signUrl'](_0x14e0dd){const _0x3e2426=_0x490cbe;try{let _0x3a702d=Ze(this[_0x3e2426(0x1de)](),''+_0x14e0dd);return(await this[_0x3e2426(0x1dc)][_0x3e2426(0x10a)](_0x3a702d))[_0x3e2426(0x1c1)];}catch{return;}}async['getTextFromUrl'](_0x5d6c42){const _0x1d5d8c=_0x490cbe;try{return(await this[_0x1d5d8c(0x1dc)][_0x1d5d8c(0x10a)](_0x5d6c42,{'responseType':_0x1d5d8c(0x1f1)}))['body'];}catch{return;}}[_0x490cbe(0xb6)](_0x233746,_0x3ccace){const _0x1df561=_0x490cbe;let _0x427cab=this[_0x1df561(0x17b)](_0x3ccace);return _0x427cab?_0x233746+':\x20'+_0x427cab:_0x233746;}['_buildHttpErrorMessage'](_0x586747,_0x30be60){const _0x10baba=_0x490cbe;if(_0x30be60 instanceof _0x5efb0e){let _0x42630f=typeof _0x30be60['status']==_0x10baba(0x1e2)?''+_0x30be60['status']+(_0x30be60[_0x10baba(0xc5)]?'\x20'+_0x30be60['statusText']:''):void 0x0,_0x492e01=this[_0x10baba(0x17b)](_0x30be60[_0x10baba(0xc3)]);return _0x42630f&&_0x492e01?_0x586747+_0x10baba(0x1ae)+_0x42630f+_0x10baba(0x1c4)+_0x492e01:_0x42630f?_0x586747+_0x10baba(0x1ae)+_0x42630f:_0x492e01?_0x586747+':\x20'+_0x492e01:_0x586747;}let _0x2a3647=this[_0x10baba(0x17b)](_0x30be60);return _0x2a3647?_0x586747+':\x20'+_0x2a3647:_0x586747;}['_extractErrorDetail'](_0x19ed05){const _0x28252f=_0x490cbe;if(typeof _0x19ed05=='string'){let _0x1a74ac=_0x19ed05[_0x28252f(0xae)]();return _0x1a74ac['length']>0x0?_0x1a74ac:void 0x0;}if(_0x19ed05 instanceof Error)return this[_0x28252f(0x17b)](_0x19ed05[_0x28252f(0x154)]);if(!_0x19ed05||typeof _0x19ed05!=_0x28252f(0x185)||Array[_0x28252f(0xcd)](_0x19ed05))return;let _0x1d2096=_0x19ed05,_0x548274=this[_0x28252f(0x17b)](_0x1d2096['message']);if(_0x548274)return _0x548274;if(_0x1d2096['error']&&typeof _0x1d2096[_0x28252f(0xc3)]=='object'&&!Array[_0x28252f(0xcd)](_0x1d2096[_0x28252f(0xc3)])){let _0x2d22dd=this[_0x28252f(0x17b)](_0x1d2096['error']);if(_0x2d22dd)return _0x2d22dd;}}['_getUploadFileURL'](){const _0x19f1f0=_0x490cbe;var _0x4d08d9;let _0xfd3aa5=this[_0x19f1f0(0x161)][_0x19f1f0(0x1b4)](w);return(_0x4d08d9=_0xfd3aa5==null?void 0x0:_0xfd3aa5[_0x19f1f0(0x19d)])==null?'/universer-api/stream/file/upload':_0x4d08d9;}[_0x490cbe(0x102)](){const _0x1a9bd9=_0x490cbe;var _0x38ae9e;let _0x2c09d5=this[_0x1a9bd9(0x161)]['getConfig'](w);return(_0x38ae9e=_0x2c09d5==null?void 0x0:_0x2c09d5[_0x1a9bd9(0x1f9)])==null?_0x1a9bd9(0x1df):_0x38ae9e;}[_0x490cbe(0xdb)](){const _0x48add3=_0x490cbe;var _0x490a9e;let _0xb56418=this[_0x48add3(0x161)][_0x48add3(0x1b4)](w);return(_0x490a9e=_0xb56418==null?void 0x0:_0xb56418[_0x48add3(0x1cc)])==null?_0x48add3(0x1ba):_0x490a9e;}[_0x490cbe(0x1fc)](){const _0x5f4ffe=_0x490cbe;var _0x253f02;let _0x2f4191=this[_0x5f4ffe(0x161)]['getConfig'](w);return(_0x253f02=_0x2f4191==null?void 0x0:_0x2f4191['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x253f02;}[_0x490cbe(0x1de)](){const _0x86ac29=_0x490cbe;var _0x363fac;let _0xb8f936=this[_0x86ac29(0x161)][_0x86ac29(0x1b4)](w);return(_0x363fac=_0xb8f936==null?void 0x0:_0xb8f936['signUrlServerUrl'])==null?'/universer-api/file/{fileID}/sign-url':_0x363fac;}[_0x490cbe(0x14e)](){const _0x3e6780=_0x490cbe;var _0x39440a;let _0x4c936c=this[_0x3e6780(0x161)][_0x3e6780(0x1b4)](w);return(_0x39440a=_0x4c936c==null?void 0x0:_0x4c936c['maxTimeoutTime'])==null?0x1d4c0:_0x39440a;}};U=V([B(0x0,_0x1fefa9),B(0x1,_0x2f48e0(_0x29f3f7))],U);function Qe(_0x19342a){const _0xd39c61=_0x490cbe;let _0x1936fe=_0x19342a['workbook'];if(!_0x1936fe)return null;let _0x435933={};_0x1936fe['sheets']&&Object['keys'](_0x1936fe[_0xd39c61(0xfb)])[_0xd39c61(0xa9)](_0x46952b=>{const _0x1b2f72=_0xd39c61;let _0x2b0c50=_0x1936fe['sheets'][_0x46952b];_0x435933[_0x46952b]={..._0x2b0c50,'originalMeta':_0x148e94(_0x423f89[_0x1b2f72(0x1f4)](_0x2b0c50[_0x1b2f72(0x1d8)]))};});let _0x226cc0=_0x148e94(_0x423f89['decode'](_0x1936fe[_0xd39c61(0x1d8)]));return{..._0x19342a,'workbook':{..._0x1936fe,'originalMeta':_0x226cc0,'sheets':_0x435933},'doc':{},'slide':void 0x0};}function _0x29fd(){const _0x4252c3=['_uiPartsService','saveChangeset','_list','length','exchange-client.uploadSuccess','searchParams','univer-pro.exchange-client.operate.service','origin','hide','univer-flex\x20univer-h-5\x20univer-text-xl','getSheetBlock','post','exchange-client.uploadAgain','importXLSXToUnitId','importDOCXToSnapshot','{type}','6419WCkbVL','getUnitId','_registerComponents','decorate','createObjectURL','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','shift','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','updateState','_extractErrorDetail','importFileToUnitIdByCurrentType','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','span','getTextFromUrl','_getUnitDocJson','UNIVER_DOC','noreferrer','exchange-client.fileTypeError','file','object','revokeObjectURL','application/json','importPPTXToSnapshot','Content-Type','upload\x20request\x20failed','_emitProgress','_getUnitSlideJson','UNIVER_BOARD','doc','Method\x20not\x20implemented.','some','dispose','fetchMissingChangesets','Error','_import','7gBtTgy','unshift','includes','click','min','1933350gLAwLZ','UNIVER_EXCHANGE_CLIENT_PLUGIN','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','uploadFileServerUrl','downloadEndpointUrl','status','&flate=','show','358yERFxP','size','registerLink','parse','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','_uploadNotificationService','_getMinSheetColumnCount','sign\x20url\x20error','upload\x20failed:\x20FileId\x20is\x20empty','_upload','pathname','buffer',':\x20HTTP\x20','jsonID','importPPTXToUnitId','_getMinSheetRowCount','packageName','catch','getConfig','type','_sheetBlockCache','_injector','application/vnd.openxmlformats-officedocument.wordprocessingml.document','Error\x20getting\x20file\x20name\x20from\x20URL:','/universer-api/exchange/{type}/export','_addDoneTask','univer-pl-2\x20univer-pr-4','_messageService','_showDownloadMessage','univer-pro.exchange-client.upload-notification.service','file.','body','toString','match','\x20-\x20','_totalUploadTaskCount','prototype','addEventListener','_localeService','_showUploadMessage','success','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','exportServerUrl','Failed\x20to\x20get\x20jsonID\x20from\x20task','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','sheetBlocks','CONTENT','files','_visible$','application/vnd.openxmlformats-officedocument.presentationml.presentation','toPrimitive','10yqFnYI','code','complete','originalMeta','values','univer-pro.exchange-client.exchange.service','function','_httpService','disposeWithMe','_getSignURL','/universer-api/exchange/{type}/import','map','register','number','_getUnitIDSlide','download','exportXLSXByUnitId','div','exportPPTXBySnapshot','unitID','HttpImport','interrupt','exchange-client.downloading','exportDOCXByUnitId','Failed\x20to\x20get\x20text\x20from\x20url','_getIgnoreTableExport','SUCCESS','univer-text-red-500','text','slide','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','decode','_registerIcons','Failed\x20to\x20get\x20file\x20from\x20url','_getLinkByUnitId','join','importServerUrl','Warning','href','_getTaskURL','importFileToUnitId','forEach','1.0.0-alpha.2','Get\x20outputType\x20error','_importTaskId','clear','trim','keys','pop','_list$','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','?size=','_doneUploadTaskCount','_importToSnapshot','_buildProtocolErrorMessage','exportXLSXBySnapshot','progress$','Info','uploadFileToUnitId','exchange-client.uploading','importWorkbookDataToUnitId','application/octet-stream','_buildHttpErrorMessage','_export','6298360WndOcp','workbook.json','stringify','error','toLowerCase','statusText','_getDisableCellImageConversion','multiple','replace','_exchangeService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','list$','_getDownloadEndpointURL','isArray','42476566VNeXNd','_logService','UPLOADING','unit','_signUrl','_getUnitNameByType','subscribe','clearTaskInterrupted','FileId','setConfig','_univerInstanceService','blob','application/vnd.ms-excel.sheet.macroEnabled.12','_getExportURL','univer-flex','exchange-client.cancel','exchange-client.networkError','_config','pptx','asObservable','block\x20is\x20required','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','_exportBySnapshot','_requestState$','exchange-client.uploadSuccessTip','setTaskInterrupted','visible$','exchange-client.wait','unsubscribe','style','upload\x20failed:\x20missing\x20FileId\x20in\x20response','floor','univer-mt-5\x20univer-flex\x20univer-flex-col','done','input','docx','_uploadTaskNotDone','blockID','Success','exchange-client.interrupt','link','defineProperty','name','disposeUnit','7684938ZaOnCR','sheets','Failed\x20to\x20get\x20fileID\x20from\x20task','_resourceLoaderService','minSheetColumnCount','UNIVER_SHEET','encode','_progress$','_getImportURL','resources','CONNECTOR_DATA_TOO_LARGE','file.json','univer-text-green-500','_getEnableServerSideComputing','importXLSXToSnapshot','getSnapshot','get','UNIVER_PROJECT','data','headers','accept','next','_clearProgress','exportDOCXBySnapshot','_addTotalCount','state$','pushLink','_getUnitIDDoc','getUnitType','_blank','Failed\x20to\x20get\x20unitID\x20from\x20task','removeChild','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_state$','UNIVER_UNKNOWN','_taskInterrupted','split','xltx','_iconManager','fileID','pending','_refreshSlide','createUnit','signUrl','_importFileToUnitId','exchange-client.unknownMistake','exchange-client.internalError','rev','updateSnapshot','export','Failed\x20to\x20transform\x20snapshot\x20to\x20string','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','4rjgaFK','createElement','univer-text-blue-500','options','constructor','saveSheetBlock','2883897nGudWK','UNRECOGNIZED','univer-text-sm\x20univer-text-gray-500','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','ERROR','getResourcesRequest','@univerjs-pro/exchange-client','version','_getUnitJson','ignoreTableExport','xlsx','minSheetRowCount','snapshot','Failed\x20to\x20parse\x20json','appendChild','change','exportPPTXByUnitId','_getUnitName','string','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','&source=','_refresh','import','symbol','_completeProgress','_fileTypeError','_getMaxPollingTime','enableServerSideComputing','exchange-client.tooLarge','UNIVER_BASE','Error\x20fetching\x20file\x20from\x20URL:','url','message','interruptImportTask','set','requestState$','_requestService','onStarting','univer-h-6\x20univer-text-2xl','getCurrentUnitOfType','UNIVER_SLIDE','export\x20error','6932556ewsMiQ','resolve','getTask','_configService'];_0x29fd=function(){return _0x4252c3;};return _0x29fd();}function $e(_0x48b77b){const _0x441d20=_0x490cbe;let _0x3bf739=_0x48b77b[_0x441d20(0x18e)];if(!_0x3bf739)return null;let _0x147796=_0x148e94(_0x423f89[_0x441d20(0x1f4)](_0x3bf739[_0x441d20(0x1d8)]));return{..._0x48b77b,'workbook':{},'doc':{..._0x3bf739,'originalMeta':_0x147796},'slide':void 0x0};}function et(_0x161f7f){const _0x35568b=_0x490cbe;var _0x2a71ef;let _0x533827=(_0x2a71ef=_0x161f7f[_0x35568b(0x1f2)])==null?_0x161f7f[_0x35568b(0x18e)]:_0x2a71ef;if(!_0x533827)return null;let _0x395da6=typeof _0x533827[_0x35568b(0x1d8)]==_0x35568b(0x146)?_0x533827[_0x35568b(0x1d8)]:_0x148e94(_0x423f89[_0x35568b(0x1f4)](_0x533827['originalMeta']));return{..._0x161f7f,'workbook':{},'doc':{},'slide':{..._0x533827,'originalMeta':_0x395da6}};}function tt(_0x4d6f75){const _0x485c85=_0x490cbe;let _0x58245c={};return _0x4d6f75[_0x485c85(0xa9)](_0x1b67b9=>{const _0x2ec65f=_0x485c85;_0x58245c[_0x1b67b9['id']]={..._0x1b67b9,'data':_0x148e94(_0x423f89[_0x2ec65f(0x1f4)](_0x1b67b9[_0x2ec65f(0x10c)]))};}),_0x58245c;}async function W(_0x209582){const _0x1f6ea3=_0x490cbe;var _0x3bec7d;let _0x14cbd4={'metadata':void 0x0},_0x436ec8=_0x209582['id'],_0xe21dea=(_0x3bec7d=_0x209582[_0x1f6ea3(0x129)])==null?0x0:_0x3bec7d,_0x294b94=new K(),{snapshot:_0x3ba671}=await _0x178ff3(_0x14cbd4,_0x209582,_0x436ec8,_0xe21dea,_0x294b94),_0x153ec7=await _0x19e78e(_0x3ba671,_0x294b94),_0x981036=Qe(_0x3ba671);if(!_0x981036)throw Error(_0x1f6ea3(0x12c));return{'snapshot':_0x981036,'sheetBlocks':tt(_0x153ec7)};}async function nt(_0x38738b){const _0x105fc2=_0x490cbe;var _0x58b0f9;let _0x14885b={'metadata':void 0x0},_0x2a9d06=_0x38738b['id'],{snapshot:_0xbf20d5}=await _0x41ac56(_0x14885b,_0x38738b,_0x2a9d06,(_0x58b0f9=_0x38738b[_0x105fc2(0x129)])==null?0x0:_0x58b0f9,new K()),_0x347333=$e(_0xbf20d5);if(!_0x347333)throw Error(_0x105fc2(0x12c));return{'snapshot':_0x347333,'sheetBlocks':{}};}async function rt(_0x5f5767){const _0x4fbcc2=_0x490cbe;var _0x465497;let _0x1a84ed=_0x5f5767['id'],_0x243fad=(_0x465497=_0x5f5767[_0x4fbcc2(0x129)])==null?0x0:_0x465497,_0x5e5628=new K(),{snapshot:_0x5a72c8}=await _0x14f212(_0x5f5767[_0x4fbcc2(0x103)],_0x5f5767,_0x1a84ed,_0x243fad,_0x5e5628),_0x22387a=et(_0x5a72c8);if(!_0x22387a)throw Error(_0x4fbcc2(0x12c));return{'snapshot':_0x22387a,'sheetBlocks':{}};}async function it(_0x4ede90){const _0x1ae67b=_0x490cbe;let _0x479682=_0x4ede90[_0x1ae67b(0x140)],_0x5c5b8f=_0x4ede90[_0x1ae67b(0x1cf)]||{};return await _0x14b7ec(_0x479682,Object[_0x1ae67b(0xaf)](_0x5c5b8f)[_0x1ae67b(0x1e0)](_0x313b33=>_0x5c5b8f[_0x313b33])['map'](_0x5830f7=>({..._0x5830f7,'data':_0x5830f7['data']?JSON[_0x1ae67b(0x1a5)](_0x1686bd(_0x5830f7[_0x1ae67b(0x10c)])):void 0x0})));}function at(_0x18a62f){let _0x2ce99e=_0x18a62f['snapshot'];return _0x212bf4(_0x2ce99e);}function G(_0x566f8c){const _0x1ffaff=_0x490cbe;let _0x180287=_0x566f8c[_0x1ffaff(0x140)];return _0x3e7616(_0x180287);}var K=class{constructor(){D(this,'_sheetBlockCache',new Map());}['getUnitOnRev'](){const _0x541912=_0x490cbe;return Promise[_0x541912(0x15f)]({'snapshot':{'unitID':'','type':_0x1e7263[_0x541912(0xff)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x16c)](_0xcd258d,_0x16f529){const _0x11d547=_0x490cbe;let _0x3d044d=this[_0x11d547(0x1b6)]['get'](_0x16f529['blockID']);return Promise['resolve']({'block':_0x3d044d,'error':{'code':_0x1c150d['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x58acf0,_0x42a1ed){const _0x36dfb4=_0x490cbe;let _0x521623=this[_0x36dfb4(0x1b6)][_0x36dfb4(0x10a)](_0x42a1ed[_0x36dfb4(0xf3)]);return Promise[_0x36dfb4(0x15f)]({'block':_0x521623===void 0x0?void 0x0:{..._0x521623,'data':JSON['parse'](_0x423f89[_0x36dfb4(0x1f4)](_0x521623[_0x36dfb4(0x10c)]))},'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x192)](){const _0x6a70f9=_0x490cbe;return Promise[_0x6a70f9(0x15f)]({'changesets':[],'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x139)](){const _0x557403=_0x490cbe;return Promise[_0x557403(0x15f)]({'resources':{},'error':{'code':_0x1c150d['OK'],'message':''}});}['saveSnapshot'](){const _0x52a2b4=_0x490cbe;return Promise[_0x52a2b4(0x15f)]({'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x12a)](){const _0x4af2a1=_0x490cbe;return Promise[_0x4af2a1(0x15f)]({'error':{'code':_0x1c150d['OK'],'message':''}});}[_0x490cbe(0x133)](_0x2979f2,_0xa960a6){const _0x2d8de4=_0x490cbe;let {block:_0x2483ef}=_0xa960a6;return _0x2483ef?(this[_0x2d8de4(0x1b6)][_0x2d8de4(0x156)](_0x2483ef['id'],_0x2483ef),Promise['resolve']({'error':{'code':_0x1c150d['OK'],'message':''},'blockID':_0x2483ef['id']})):Promise['resolve']({'error':{'code':_0x1c150d['UNDEFINED'],'message':_0x2d8de4(0xe2)},'blockID':''});}[_0x490cbe(0x163)](){return Promise['resolve']({'error':{'code':_0x1c150d['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x5258b4=_0x490cbe;return Promise[_0x5258b4(0x15f)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};const q=_0x40b68d(_0x490cbe(0x1da));let J=class extends _0x1dc257{constructor(_0x22910d,_0x9df2a7,_0x4efd0d){const _0x4db14c=_0x490cbe;super(),this[_0x4db14c(0x161)]=_0x22910d,this['_httpService']=_0x9df2a7,this[_0x4db14c(0x158)]=_0x4efd0d,D(this,_0x4db14c(0xac),null),D(this,_0x4db14c(0xe5),new _0x256cba()),D(this,_0x4db14c(0x157),this[_0x4db14c(0xe5)][_0x4db14c(0xe1)]());}[_0x490cbe(0x191)](){const _0x2b6984=_0x490cbe;super[_0x2b6984(0x191)](),this[_0x2b6984(0xe5)][_0x2b6984(0x1d7)]();}async[_0x490cbe(0x170)](_0x5e944a){const _0x1c7e01=_0x490cbe;let _0x43c81f=await this[_0x1c7e01(0xb5)](_0x5e944a,_0x1e7263[_0x1c7e01(0x181)]);if(!_0x43c81f||!_0x43c81f[_0x1c7e01(0x140)])return;let _0x5653f6=at(_0x43c81f);if(_0x5653f6)return _0x5653f6;}async[_0x490cbe(0x1ec)](_0x2e7217){const _0xc6913f=_0x490cbe;return this['_export'](_0x2e7217,0x1,_0x1e7263[_0xc6913f(0x181)]);}async[_0x490cbe(0x111)](_0x17fb63){let _0x591e56=await nt(_0x17fb63);return this['_exportBySnapshot'](_0x591e56,_0x1e7263['UNIVER_DOC']);}async[_0x490cbe(0x188)](_0x1e4372){const _0x53237b=_0x490cbe;let _0xe27d1c=await this[_0x53237b(0xb5)](_0x1e4372,_0x1e7263[_0x53237b(0x15c)]);if(!(!_0xe27d1c||!_0xe27d1c['snapshot']))return G(_0xe27d1c);}async[_0x490cbe(0x144)](_0xf863c5){const _0x355a0a=_0x490cbe;return this[_0x355a0a(0xbf)](_0xf863c5,0x1,_0x1e7263['UNIVER_SLIDE']);}async['exportPPTXBySnapshot'](_0x2abb23){const _0x53319c=_0x490cbe;let _0x5e071=await rt(_0x2abb23);return this[_0x53319c(0xe4)](_0x5e071,_0x1e7263['UNIVER_SLIDE']);}async[_0x490cbe(0x108)](_0x21a447){const _0x554d2f=_0x490cbe;let _0x58e456=await this[_0x554d2f(0xb5)](_0x21a447,_0x1e7263[_0x554d2f(0xff)]);if(!_0x58e456)return;let _0x4e6c9b=await it(_0x58e456);if(_0x4e6c9b)return _0x4e6c9b;}async[_0x490cbe(0x1e5)](_0x1a04f0){const _0x377d85=_0x490cbe;return this[_0x377d85(0xbf)](_0x1a04f0,0x1,_0x1e7263[_0x377d85(0xff)]);}async[_0x490cbe(0xb7)](_0x463637){const _0x24199a=_0x490cbe;let _0x5f32fd=await W(_0x463637);return this[_0x24199a(0xe4)](_0x5f32fd,_0x1e7263[_0x24199a(0xff)]);}async[_0x490cbe(0xa8)](_0xd237a8,_0x200d55){const _0x13a81b=_0x490cbe;var _0x1d848a,_0x2f1099;let _0x55152f=await this[_0x13a81b(0x1ab)](_0xd237a8);if(!_0x55152f)return;let _0x1e7548=await this[_0x13a81b(0x194)](_0x55152f,0x1,_0x200d55);if(!_0x1e7548)return;this['_importTaskId']=_0x1e7548,this['_requestService'][_0x13a81b(0xd5)]();let _0x226242=await this[_0x13a81b(0x158)][_0x13a81b(0x160)](_0x1e7548)[_0x13a81b(0x1b3)](_0xf33786=>{const _0x36f38d=_0x13a81b;var _0x4256f8;let _0x1358f2=_0xf33786 instanceof Error?_0xf33786[_0x36f38d(0x154)]:(_0x4256f8=_0xf33786[_0x36f38d(0xc3)])==null?void 0x0:_0x4256f8['message'];this[_0x36f38d(0xe5)]['next']({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x1358f2||''},'state':0x3});});if(!_0x226242)return;let _0x594fc3=(_0x1d848a=_0x226242['import'])==null?void 0x0:_0x1d848a['outputType'],_0x2a36ee=((_0x2f1099=_0x226242[_0x13a81b(0x14a)])==null?void 0x0:_0x2f1099[_0x13a81b(0x1e8)])||'';if(_0x594fc3!==0x1){this[_0x13a81b(0xe5)][_0x13a81b(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x13a81b(0xab)},'state':0x3});return;}if(_0x2a36ee[_0x13a81b(0x165)]===0x0){this[_0x13a81b(0xe5)][_0x13a81b(0x10f)]({'error':{'code':_0x1c150d[_0x13a81b(0x135)],'message':_0x13a81b(0x118)},'state':0x3});return;}return this[_0x13a81b(0xe5)][_0x13a81b(0x10f)]({'error':_0x226242[_0x13a81b(0xc3)],'state':0x3}),_0x2a36ee;}async[_0x490cbe(0xbc)](_0x56ee10){const _0x5b5080=_0x490cbe;let _0x49e723=await W(_0x56ee10),_0x3665e9=typeof _0x56ee10['id']=='string'&&_0x56ee10['id'][_0x5b5080(0xae)]()?_0x56ee10['id']['trim']()+'.json':_0x5b5080(0xc1),_0x381316=new File([JSON[_0x5b5080(0xc2)](_0x49e723)],_0x3665e9,{'type':_0x5b5080(0x187)});return this[_0x5b5080(0xa8)](_0x381316,_0x1e7263['UNIVER_SHEET']);}['interruptImportTask'](){const _0x3d1e9e=_0x490cbe;this['_importTaskId']&&this[_0x3d1e9e(0x158)][_0x3d1e9e(0xe7)](this[_0x3d1e9e(0xac)]);}async[_0x490cbe(0xb5)](_0x5d1a26,_0x5a3b41){const _0x3b5f4a=_0x490cbe;var _0x3abae4,_0x3b6396;let _0x358d84=await this[_0x3b5f4a(0x1ab)](_0x5d1a26);if(!_0x358d84)return;let _0x4801c8=await this[_0x3b5f4a(0x194)](_0x358d84,0x2,_0x5a3b41);if(!_0x4801c8)return;this[_0x3b5f4a(0xac)]=_0x4801c8,this['_requestService'][_0x3b5f4a(0xd5)]();let _0x2bd240=await this[_0x3b5f4a(0x158)][_0x3b5f4a(0x160)](_0x4801c8)[_0x3b5f4a(0x1b3)](_0x2f456f=>{const _0x3fb42c=_0x3b5f4a;var _0x5155a8;let _0x197840=_0x2f456f instanceof Error?_0x2f456f[_0x3fb42c(0x154)]:(_0x5155a8=_0x2f456f['error'])==null?void 0x0:_0x5155a8['message'];this[_0x3fb42c(0xe5)][_0x3fb42c(0x10f)]({'error':{'code':_0x1c150d[_0x3fb42c(0x135)],'message':_0x197840||''},'state':0x3});});if(!_0x2bd240)return;let _0x3540a2=(_0x3abae4=_0x2bd240['import'])==null?void 0x0:_0x3abae4['outputType'],_0xf7d91d=((_0x3b6396=_0x2bd240[_0x3b5f4a(0x14a)])==null?void 0x0:_0x3b6396[_0x3b5f4a(0x1af)])||'';if(_0x3540a2!==0x2){this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x3b5f4a(0xab)},'state':0x3});return;}if(_0xf7d91d[_0x3b5f4a(0x165)]===0x0){this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d[_0x3b5f4a(0x135)],'message':_0x3b5f4a(0x1cd)},'state':0x3});return;}this[_0x3b5f4a(0xe5)]['next']({'error':_0x2bd240[_0x3b5f4a(0xc3)],'state':0x3});let _0x5a3856=await this['_signUrl'](_0xf7d91d);if(!_0x5a3856)return;let _0xb443a=await this['_requestService'][_0x3b5f4a(0x17f)](_0x5a3856);if(!_0xb443a){this['_requestState$'][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d[_0x3b5f4a(0x135)],'message':_0x3b5f4a(0x1ed)},'state':0x5});return;}try{let _0x24c816=JSON[_0x3b5f4a(0x1a5)](_0xb443a);return this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d['OK'],'message':'success'},'state':0x5}),_0x24c816;}catch{this[_0x3b5f4a(0xe5)][_0x3b5f4a(0x10f)]({'error':{'code':_0x1c150d[_0x3b5f4a(0x135)],'message':_0x3b5f4a(0x141)},'state':0x5});}}async['_exportBySnapshot'](_0x5eb8de,_0x1f9d2c){const _0x112725=_0x490cbe;let _0x57d94f=JSON['stringify'](_0x5eb8de),_0x3c5df7=_0x5d43d4[_0x112725(0x100)](_0x57d94f),_0xc55094=_0xaca0b0(_0x3c5df7),_0x3ad908=_0x3c5df7[_0x112725(0x165)],_0x59e525=Je(_0xc55094),_0x3ffe0d=await this[_0x112725(0x1ab)](_0x59e525,_0x3ad908,!0x0);if(_0x3ffe0d)return this[_0x112725(0xbf)](_0x3ffe0d,0x2,_0x1f9d2c);}async['_export'](_0x3d8688,_0x52e8db,_0x3080bd){const _0xed03a3=_0x490cbe;var _0x19f6a7;let _0x3ef822=await this[_0xed03a3(0x158)]['export']({'unitID':_0x52e8db===0x1?_0x3d8688:'','jsonID':_0x52e8db===0x2?_0x3d8688:'','type':_0x3080bd,'sscSwitch':this[_0xed03a3(0x107)](),'useImageUrl':this[_0xed03a3(0xc6)](),'ignoreTableExport':this[_0xed03a3(0x1ee)]()});if(!_0x3ef822){this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d[_0xed03a3(0x135)],'message':_0xed03a3(0x15d)},'state':0x2});return;}if(this[_0xed03a3(0xe5)]['next']({'error':_0x3ef822[_0xed03a3(0xc3)],'state':0x2}),_0x3ef822[_0xed03a3(0xc3)]&&_0x3ef822[_0xed03a3(0xc3)][_0xed03a3(0x1d6)]!==_0x1c150d['OK'])return;let _0x16d6ff=_0x3ef822['taskID'],_0xb158b1=await this[_0xed03a3(0x158)]['getTask'](_0x16d6ff)[_0xed03a3(0x1b3)](_0x7802ad=>{const _0x236e89=_0xed03a3;var _0x398f01;let _0x143dd9=_0x7802ad instanceof Error?_0x7802ad[_0x236e89(0x154)]:(_0x398f01=_0x7802ad[_0x236e89(0xc3)])==null?void 0x0:_0x398f01[_0x236e89(0x154)];this[_0x236e89(0xe5)]['next']({'error':{'code':_0x1c150d[_0x236e89(0x135)],'message':_0x143dd9||''},'state':0x3});});if(!_0xb158b1)return;let _0x19b288=((_0x19f6a7=_0xb158b1[_0xed03a3(0x12b)])==null?void 0x0:_0x19f6a7[_0xed03a3(0x121)])||'';if(_0x19b288[_0xed03a3(0x165)]===0x0){this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d[_0xed03a3(0x135)],'message':_0xed03a3(0xfc)},'state':0x3});return;}this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':_0xb158b1['error'],'state':0x3});let _0x31a62f=await this[_0xed03a3(0xd2)](_0x19b288);if(!_0x31a62f)return;let _0x26cc3c=await Ke(_0x31a62f,this[_0xed03a3(0x1dc)]);if(!_0x26cc3c){this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d[_0xed03a3(0x135)],'message':_0xed03a3(0x1f6)},'state':0x6});return;}return this[_0xed03a3(0xe5)][_0xed03a3(0x10f)]({'error':{'code':_0x1c150d['OK'],'message':_0xed03a3(0x1ca)},'state':0x6}),_0x26cc3c;}async['_upload'](_0x45d057,_0x52669f,_0x3b11e2){const _0x5ac8b5=_0x490cbe;let _0x325b86;try{_0x325b86=await this[_0x5ac8b5(0x158)]['upload'](_0x45d057,_0x52669f,_0x3b11e2);}catch(_0x5d06ae){let _0x33a43e=_0x5d06ae instanceof Error?_0x5d06ae['message']:String(_0x5d06ae);this['_requestState$'][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d[_0x5ac8b5(0x135)],'message':_0x33a43e},'state':0x0});return;}if(!_0x325b86||typeof _0x325b86[_0x5ac8b5(0xd6)]!=_0x5ac8b5(0x146)){this[_0x5ac8b5(0xe5)][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d[_0x5ac8b5(0x135)],'message':_0x5ac8b5(0xec)},'state':0x0});return;}let _0x2b3a50=_0x325b86[_0x5ac8b5(0xd6)];if(_0x2b3a50['length']===0x0){this['_requestState$'][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d[_0x5ac8b5(0x135)],'message':_0x5ac8b5(0x1aa)},'state':0x0});return;}return this[_0x5ac8b5(0xe5)][_0x5ac8b5(0x10f)]({'error':{'code':_0x1c150d['OK'],'message':_0x5ac8b5(0x1ca)},'state':0x0}),_0x2b3a50;}async['_import'](_0x4d2113,_0x3c9c51,_0x353c01){const _0x328c5b=_0x490cbe;let _0x103337={'fileID':_0x4d2113,'type':_0x353c01,'outputType':_0x3c9c51,'fileUrl':'','minSheetRowCount':this[_0x328c5b(0x1b1)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x509fb6=await this['_requestService'][_0x328c5b(0x14a)](_0x103337);if(!_0x509fb6){this[_0x328c5b(0xe5)][_0x328c5b(0x10f)]({'error':{'code':_0x1c150d[_0x328c5b(0x135)],'message':'import\x20error'},'state':0x1});return;}if(_0x509fb6[_0x328c5b(0xc3)]&&_0x509fb6['error'][_0x328c5b(0x1d6)]!==_0x1c150d['OK']){this['_requestState$'][_0x328c5b(0x10f)]({'error':_0x509fb6['error'],'state':0x1});return;}let _0x8b9b6c=_0x509fb6['taskID'];if(_0x8b9b6c[_0x328c5b(0x165)]===0x0){this['_requestState$'][_0x328c5b(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x328c5b(0xe3)},'state':0x1});return;}return this[_0x328c5b(0xe5)][_0x328c5b(0x10f)]({'error':_0x509fb6[_0x328c5b(0xc3)],'state':0x1}),_0x8b9b6c;}async[_0x490cbe(0xd2)](_0x413319){const _0x4bc205=_0x490cbe;let _0x438936=await this['_requestService'][_0x4bc205(0x125)](_0x413319);if(!_0x438936){this[_0x4bc205(0xe5)][_0x4bc205(0x10f)]({'error':{'code':_0x1c150d['UNRECOGNIZED'],'message':_0x4bc205(0x1a9)},'state':0x4});return;}if(_0x438936[_0x4bc205(0xc3)]&&_0x438936['error'][_0x4bc205(0x1d6)]!==_0x1c150d['OK']){this['_requestState$'][_0x4bc205(0x10f)]({'error':_0x438936[_0x4bc205(0xc3)],'state':0x4});return;}let _0x2ca0e4=_0x3ff679(_0x438936[_0x4bc205(0x153)],this[_0x4bc205(0xcc)]());if(_0x2ca0e4[_0x4bc205(0x165)]===0x0){this['_requestState$'][_0x4bc205(0x10f)]({'error':{'code':_0x1c150d[_0x4bc205(0x135)],'message':_0x4bc205(0x1a9)},'state':0x4});return;}return this[_0x4bc205(0xe5)][_0x4bc205(0x10f)]({'error':_0x438936['error'],'state':0x4}),_0x2ca0e4;}[_0x490cbe(0xcc)](){const _0x5443ad=_0x490cbe;var _0xb8da27;let _0x18a217=this[_0x5443ad(0x161)][_0x5443ad(0x1b4)](w);return(_0xb8da27=_0x18a217==null?void 0x0:_0x18a217[_0x5443ad(0x19e)])==null?location[_0x5443ad(0x169)]:_0xb8da27;}[_0x490cbe(0x1b1)](){const _0xa64301=_0x490cbe;var _0x5752b3,_0x255d51;let _0x1beb43=this[_0xa64301(0x161)]['getConfig'](w);return(_0x5752b3=_0x1beb43==null||(_0x255d51=_0x1beb43[_0xa64301(0x131)])==null?void 0x0:_0x255d51[_0xa64301(0x13f)])==null?0x1:_0x5752b3;}[_0x490cbe(0x1a8)](){const _0x4a543e=_0x490cbe;var _0x4937e1,_0x4bc13e;let _0x175af6=this['_configService']['getConfig'](w);return(_0x4937e1=_0x175af6==null||(_0x4bc13e=_0x175af6[_0x4a543e(0x131)])==null?void 0x0:_0x4bc13e[_0x4a543e(0xfe)])==null?0x1:_0x4937e1;}[_0x490cbe(0x107)](){const _0x5789f5=_0x490cbe;var _0x1310ea,_0x57a072;let _0x5103be=this[_0x5789f5(0x161)][_0x5789f5(0x1b4)](w);return(_0x1310ea=_0x5103be==null||(_0x57a072=_0x5103be[_0x5789f5(0x131)])==null?void 0x0:_0x57a072[_0x5789f5(0x14f)])==null?!0x1:_0x1310ea;}[_0x490cbe(0xc6)](){const _0x2485a0=_0x490cbe;var _0x1e9770,_0x18a402;let _0x3c333a=this[_0x2485a0(0x161)][_0x2485a0(0x1b4)](w);return(_0x1e9770=_0x3c333a==null||(_0x18a402=_0x3c333a['options'])==null?void 0x0:_0x18a402['disableCellImageConversion'])==null?!0x0:_0x1e9770;}[_0x490cbe(0x1ee)](){const _0x493111=_0x490cbe;var _0x3c2a8f,_0x1312f5;let _0x34d319=this[_0x493111(0x161)]['getConfig'](w);return(_0x3c2a8f=_0x34d319==null||(_0x1312f5=_0x34d319['options'])==null?void 0x0:_0x1312f5[_0x493111(0x13d)])==null?!0x1:_0x3c2a8f;}};J=V([B(0x0,_0x1fefa9),B(0x1,_0x2f48e0(_0x29f3f7)),B(0x2,_0x2f48e0(H))],J);const ot={'done':0x0,'count':0x0},Y=_0x40b68d(_0x490cbe(0x168));let X=class extends _0x1dc257{constructor(_0xe5e7bb,_0x3f7c50,_0x2d775f,_0x433288,_0x488cfa,_0x25e6c0,_0x5dac85){const _0x184b2f=_0x490cbe;super(),this[_0x184b2f(0xd8)]=_0xe5e7bb,this[_0x184b2f(0x1bd)]=_0x3f7c50,this[_0x184b2f(0x1c8)]=_0x2d775f,this[_0x184b2f(0xc9)]=_0x433288,this[_0x184b2f(0x1a7)]=_0x488cfa,this[_0x184b2f(0xcf)]=_0x25e6c0,this[_0x184b2f(0xfd)]=_0x5dac85,D(this,_0x184b2f(0x101),new _0x4ad5b6(ot)),D(this,_0x184b2f(0xb8),this['_progress$'][_0x184b2f(0xe1)]()),D(this,'_totalUploadTaskCount',0x0),D(this,'_doneUploadTaskCount',0x0),this[_0x184b2f(0x1dd)](_0x3bcf50(this['_exchangeService'][_0x184b2f(0x157)][_0x184b2f(0xd4)](_0x134298=>{const _0x26c888=_0x184b2f;var _0x4a1462;((_0x4a1462=_0x134298[_0x26c888(0xc3)])==null?void 0x0:_0x4a1462[_0x26c888(0x1d6)])===_0x1c150d['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x134298[_0x26c888(0xc3)]);})));}[_0x490cbe(0x1ea)](){const _0x386a0d=_0x490cbe;this[_0x386a0d(0x110)](),this['_uploadNotificationService'][_0x386a0d(0x17a)](0x2),this['_exchangeService'][_0x386a0d(0x155)]();}async[_0x490cbe(0xba)](_0x2efe63){const _0x34c3e2=_0x490cbe;throw Error(_0x34c3e2(0x18f));}async['importFileToUnitIdByCurrentType'](){const _0x2074e5=_0x490cbe;let _0xa9d336=this[_0x2074e5(0xd8)]['getFocusedUnit']();switch(_0xa9d336?this['_univerInstanceService'][_0x2074e5(0x116)](_0xa9d336['getUnitId']()):_0x1e7263['UNRECOGNIZED']){case _0x1e7263['UNIVER_SLIDE']:return this[_0x2074e5(0x1b0)]();case _0x1e7263[_0x2074e5(0x181)]:return this['importDOCXToUnitId']();case _0x1e7263[_0x2074e5(0xff)]:default:return this[_0x2074e5(0x16f)]();}}async['importDOCXToUnitId'](){const _0x14490c=_0x490cbe;let _0x563de0=await z([_0x1e7263[_0x14490c(0x181)]]);if(_0x563de0&&!this[_0x14490c(0x14d)](_0x563de0,_0x1e7263[_0x14490c(0x181)]))return this[_0x14490c(0x126)](_0x563de0[0x0],_0x1e7263[_0x14490c(0x181)]);}['importDOCXToSnapshot'](){throw Error('Method\x20not\x20implemented.');}async[_0x490cbe(0x1ec)](_0x5d5a50,_0x2aef2e,_0xa3889d){const _0x38e020=_0x490cbe;this[_0x38e020(0x1be)](_0x513872[_0x38e020(0xb9)]);let _0x76547b=await this[_0x38e020(0xc9)][_0x38e020(0x1ec)](_0x5d5a50||this[_0x38e020(0x115)]());_0x76547b&&(L(_0x76547b,_0x2aef2e||this[_0x38e020(0x145)](_0x76547b),_0x38e020(0xf1)),this['_showDownloadMessage'](_0x513872[_0x38e020(0xf4)]));}async[_0x490cbe(0x111)](){const _0x4e5dfb=_0x490cbe;this[_0x4e5dfb(0x1be)](_0x513872['Info']);let _0x56b5fc=await this['_getUnitDocJson'](),_0x54dafa=await this[_0x4e5dfb(0xc9)][_0x4e5dfb(0x111)](_0x56b5fc);_0x54dafa&&(L(_0x54dafa,this[_0x4e5dfb(0x145)](_0x54dafa),_0x4e5dfb(0xf1)),this[_0x4e5dfb(0x1be)](_0x513872[_0x4e5dfb(0xf4)]));}async[_0x490cbe(0x1b0)](){const _0x245b13=_0x490cbe;if(this[_0x245b13(0xf2)]()){this[_0x245b13(0x1bd)][_0x245b13(0x1a1)]({'type':_0x513872[_0x245b13(0x1fa)],'content':this[_0x245b13(0x1c8)]['t'](_0x245b13(0xbb))});return;}let _0x1ba80e=await z([_0x1e7263[_0x245b13(0x15c)]]);if(_0x1ba80e&&!this[_0x245b13(0x14d)](_0x1ba80e,_0x1e7263[_0x245b13(0x15c)]))return this['_importFileToUnitId'](_0x1ba80e[0x0],_0x1e7263['UNIVER_SLIDE']);}async[_0x490cbe(0x188)](){const _0x3fdd73=_0x490cbe;if(this[_0x3fdd73(0xf2)]()){this[_0x3fdd73(0x1bd)][_0x3fdd73(0x1a1)]({'type':_0x513872[_0x3fdd73(0x1fa)],'content':this[_0x3fdd73(0x1c8)]['t']('exchange-client.uploading')});return;}let _0x588c53=await z([_0x1e7263[_0x3fdd73(0x15c)]]);if(!_0x588c53)return;this[_0x3fdd73(0x1c9)](_0x513872[_0x3fdd73(0xb9)]);let _0x583542=await this[_0x3fdd73(0xc9)][_0x3fdd73(0x188)](_0x588c53[0x0]);_0x583542&&(this[_0x3fdd73(0x123)](_0x583542),this[_0x3fdd73(0x1c9)](_0x513872['Success']));}async[_0x490cbe(0x144)](_0x49f603,_0x324f27,_0x3a8ef2){const _0x278397=_0x490cbe;this[_0x278397(0x1be)](_0x513872[_0x278397(0xb9)]);let _0x9012bb=await this['_exchangeService'][_0x278397(0x144)](_0x49f603||this[_0x278397(0x1e3)]());_0x9012bb&&(L(_0x9012bb,_0x324f27||this['_getUnitNameByType'](_0x9012bb,_0x3a8ef2==null?_0x1e7263[_0x278397(0x15c)]:_0x3a8ef2),_0x278397(0xe0)),this[_0x278397(0x1be)](_0x513872['Success']));}async[_0x490cbe(0x1e7)](){const _0x65e07=_0x490cbe;this[_0x65e07(0x1be)](_0x513872[_0x65e07(0xb9)]);let _0x5448df=await this[_0x65e07(0x18c)](),_0x515730=await this[_0x65e07(0xc9)][_0x65e07(0x1e7)](_0x5448df);_0x515730&&(L(_0x515730,this[_0x65e07(0xd3)](_0x515730,_0x1e7263[_0x65e07(0x15c)]),'pptx'),this[_0x65e07(0x1be)](_0x513872[_0x65e07(0xf4)]));}async[_0x490cbe(0x16f)](){const _0x5f0293=_0x490cbe;if(this[_0x5f0293(0xf2)]()){this[_0x5f0293(0x1bd)][_0x5f0293(0x1a1)]({'type':_0x513872[_0x5f0293(0x1fa)],'content':this[_0x5f0293(0x1c8)]['t'](_0x5f0293(0xbb))});return;}let _0x3eae41=await z([_0x1e7263[_0x5f0293(0xff)]]);if(_0x3eae41&&!this[_0x5f0293(0x14d)](_0x3eae41,_0x1e7263['UNIVER_SHEET']))return this['_importFileToUnitId'](_0x3eae41[0x0],_0x1e7263['UNIVER_SHEET']);}async['importXLSXToSnapshot'](){const _0x416375=_0x490cbe;if(this['_uploadTaskNotDone']()){this[_0x416375(0x1bd)][_0x416375(0x1a1)]({'type':_0x513872[_0x416375(0x1fa)],'content':this[_0x416375(0x1c8)]['t']('exchange-client.uploading')});return;}let _0xe2430b=await z([_0x1e7263['UNIVER_SHEET']]);if(!_0xe2430b)return;this['_showUploadMessage'](_0x513872[_0x416375(0xb9)]);let _0x175416=await this[_0x416375(0xc9)][_0x416375(0x108)](_0xe2430b[0x0]);_0x175416&&(this[_0x416375(0x149)](_0x175416),this['_showUploadMessage'](_0x513872[_0x416375(0xf4)]));}async['exportXLSXByUnitId'](_0x7c37d2,_0x33c3bc,_0x450e34){const _0x127236=_0x490cbe;this[_0x127236(0x1be)](_0x513872[_0x127236(0xb9)]);let _0x473ff7=await this[_0x127236(0xc9)]['exportXLSXByUnitId'](_0x7c37d2||this['_getUnitID']());_0x473ff7&&(L(_0x473ff7,_0x33c3bc||this[_0x127236(0x145)](_0x473ff7),_0x127236(0x13e)),this[_0x127236(0x1be)](_0x513872[_0x127236(0xf4)]));}async[_0x490cbe(0xb7)](){const _0x21ff10=_0x490cbe;this['_showDownloadMessage'](_0x513872[_0x21ff10(0xb9)]);let _0xbe185=await this[_0x21ff10(0x13c)](),_0x57e6b4=await this[_0x21ff10(0xc9)]['exportXLSXBySnapshot'](_0xbe185);_0x57e6b4&&(L(_0x57e6b4,this[_0x21ff10(0x145)](_0x57e6b4),_0x21ff10(0x13e)),this[_0x21ff10(0x1be)](_0x513872[_0x21ff10(0xf4)]));}[_0x490cbe(0x1a4)](_0x3a1d26){const _0x25507b=_0x490cbe;this[_0x25507b(0x1f7)]=_0x3a1d26;}async['_importFileToUnitId'](_0x2b2dab,_0x57983f){const _0x15c297=_0x490cbe;this[_0x15c297(0x1a7)][_0x15c297(0x1a1)](),this[_0x15c297(0x1a7)][_0x15c297(0x17a)](0x0),this[_0x15c297(0x112)](0x4),this[_0x15c297(0x1bb)](0x1);let _0x5ddbce=await this[_0x15c297(0xc9)][_0x15c297(0xa8)](_0x2b2dab,_0x57983f);if(!_0x5ddbce){this[_0x15c297(0x110)](),this[_0x15c297(0x1a7)][_0x15c297(0x17a)](0x2);return;}let _0x29527b={'link':this[_0x15c297(0x1f7)](_0x5ddbce,_0x57983f),'name':_0x2b2dab[_0x15c297(0xf8)],'type':_0x57983f};return this[_0x15c297(0x1a7)][_0x15c297(0x114)](_0x29527b),this[_0x15c297(0x14c)](),this[_0x15c297(0x1a7)]['updateState'](0x1),_0x5ddbce;}['_getUnitID'](){const _0x465e29=_0x490cbe;return this[_0x465e29(0xd8)][_0x465e29(0x15b)](_0x1e7263[_0x465e29(0xff)])[_0x465e29(0x173)]();}[_0x490cbe(0x115)](){const _0x55dd4c=_0x490cbe;return this[_0x55dd4c(0xd8)][_0x55dd4c(0x15b)](_0x1e7263['UNIVER_DOC'])[_0x55dd4c(0x173)]();}[_0x490cbe(0x1e3)](){const _0x516c9b=_0x490cbe;return this[_0x516c9b(0xd8)]['getCurrentUnitOfType'](_0x1e7263['UNIVER_SLIDE'])[_0x516c9b(0x173)]();}['_getUnitName'](_0x35b2e1){const _0x58673d=_0x490cbe;return this[_0x58673d(0xd3)](_0x35b2e1,_0x1e7263['UNIVER_SHEET']);}[_0x490cbe(0xd3)](_0x472660,_0x2610d9){const _0x5abc45=_0x490cbe;var _0x5b5975;let _0x2f6d19=(_0x5b5975=this[_0x5abc45(0xd8)][_0x5abc45(0x15b)](_0x2610d9))==null?void 0x0:_0x5b5975['getSnapshot'](),_0x2458de=_0x2f6d19==null?void 0x0:_0x2f6d19[_0x5abc45(0xf8)];return typeof _0x2458de==_0x5abc45(0x146)&&_0x2458de[_0x5abc45(0xae)]()?_0x2458de:_0x472660['name']['split']('.')[_0x5abc45(0x178)]()||document['title'];}async[_0x490cbe(0x13c)](){const _0x2fe2de=_0x490cbe;return this['_univerInstanceService'][_0x2fe2de(0x15b)](_0x1e7263[_0x2fe2de(0xff)])['getSnapshot']();}async[_0x490cbe(0x180)](){const _0xf57cb2=_0x490cbe;return this[_0xf57cb2(0xd8)]['getCurrentUnitOfType'](_0x1e7263[_0xf57cb2(0x181)])[_0xf57cb2(0x109)]();}async[_0x490cbe(0x18c)](){const _0x20d94a=_0x490cbe;let _0x37f153=this['_univerInstanceService'][_0x20d94a(0x15b)](_0x1e7263[_0x20d94a(0x15c)]),_0x3a1d1f=this[_0x20d94a(0xfd)]['saveUnit'](_0x37f153['getUnitId']());return _0x3a1d1f==null?_0x37f153[_0x20d94a(0x109)]():_0x3a1d1f;}['_getLinkByUnitId'](_0x545ff7,_0x44ac38){const _0x1b7174=_0x490cbe;let _0x564e47=new URL(window['location'][_0x1b7174(0x1fb)]);return _0x564e47[_0x1b7174(0x167)][_0x1b7174(0x156)](_0x1b7174(0xd1),_0x545ff7),_0x564e47[_0x1b7174(0x167)]['set']('type',''+_0x44ac38),_0x564e47[_0x1b7174(0x1c2)]();}['_refresh'](_0x2b56cb){const _0xc77fc8=_0x490cbe;let _0x4de4b8=this[_0xc77fc8(0xd8)]['getCurrentUnitOfType'](_0x1e7263[_0xc77fc8(0xff)])[_0xc77fc8(0x173)]();this[_0xc77fc8(0xd8)][_0xc77fc8(0xf9)](_0x4de4b8),this[_0xc77fc8(0xd8)][_0xc77fc8(0x124)](_0x1e7263[_0xc77fc8(0xff)],_0x2b56cb);}[_0x490cbe(0x123)](_0xa4544f){const _0x30ce73=_0x490cbe;let _0x260799=this['_univerInstanceService'][_0x30ce73(0x15b)](_0x1e7263[_0x30ce73(0x15c)])[_0x30ce73(0x173)]();this['_univerInstanceService'][_0x30ce73(0xf9)](_0x260799),this['_univerInstanceService'][_0x30ce73(0x124)](_0x1e7263['UNIVER_SLIDE'],_0xa4544f);}['_showNetworkError'](_0x44a3a3){const _0x3ab16a=_0x490cbe;if(_0x44a3a3){let {code:_0x2f7e4b}=_0x44a3a3;switch(_0x2f7e4b){case _0x1c150d[_0x3ab16a(0x104)]:this['_messageService']['show']({'type':_0x513872['Error'],'content':this[_0x3ab16a(0x1c8)]['t'](_0x3ab16a(0x150))});break;case _0x1c150d['INTERNAL_ERROR']:this['_messageService'][_0x3ab16a(0x1a1)]({'type':_0x513872[_0x3ab16a(0x193)],'content':this[_0x3ab16a(0x1c8)]['t'](_0x3ab16a(0x128))});break;default:this[_0x3ab16a(0x1bd)][_0x3ab16a(0x1a1)]({'type':_0x513872[_0x3ab16a(0x193)],'content':this['_localeService']['t'](_0x3ab16a(0xde))});break;}return null;}return this['_messageService'][_0x3ab16a(0x1a1)]({'type':_0x513872[_0x3ab16a(0x193)],'content':this[_0x3ab16a(0x1c8)]['t']('exchange-client.networkError')}),null;}[_0x490cbe(0x1be)](_0x1172a4){const _0x3458c8=_0x490cbe;let _0x3c689e='';switch(_0x1172a4){case _0x513872[_0x3458c8(0xf4)]:_0x3c689e=this[_0x3458c8(0x1c8)]['t']('exchange-client.downloadSuccess');break;case _0x513872[_0x3458c8(0xb9)]:_0x3c689e=this[_0x3458c8(0x1c8)]['t'](_0x3458c8(0x1eb));break;default:break;}this[_0x3458c8(0x1bd)][_0x3458c8(0x1a1)]({'type':_0x1172a4,'content':_0x3c689e});}[_0x490cbe(0x1c9)](_0x19ef12){const _0x2b95c4=_0x490cbe;let _0x1a4447='';switch(_0x19ef12){case _0x513872[_0x2b95c4(0xf4)]:_0x1a4447=this[_0x2b95c4(0x1c8)]['t'](_0x2b95c4(0x166));break;case _0x513872[_0x2b95c4(0xb9)]:_0x1a4447=this[_0x2b95c4(0x1c8)]['t'](_0x2b95c4(0xbb));break;default:break;}this[_0x2b95c4(0x1bd)]['show']({'type':_0x19ef12,'content':_0x1a4447});}[_0x490cbe(0x18b)](){const _0x22add0=_0x490cbe;this[_0x22add0(0x101)][_0x22add0(0x10f)]({'done':this[_0x22add0(0xb4)],'count':this[_0x22add0(0x1c5)]});}[_0x490cbe(0x112)](_0x3f3662){const _0x93f238=_0x490cbe;this[_0x93f238(0x1c5)]+=_0x3f3662,this[_0x93f238(0x18b)]();}[_0x490cbe(0x1bb)](_0x5ed43f){const _0x2d1459=_0x490cbe;this[_0x2d1459(0xb4)]+=_0x5ed43f,this['_doneUploadTaskCount']=Math[_0x2d1459(0x199)](this[_0x2d1459(0xb4)],this['_totalUploadTaskCount']),this[_0x2d1459(0x18b)]();}[_0x490cbe(0x14c)](){const _0x1acddd=_0x490cbe;this['_doneUploadTaskCount']=this[_0x1acddd(0x1c5)],this[_0x1acddd(0x18b)]();}['_clearProgress'](){const _0x3d867b=_0x490cbe;this[_0x3d867b(0xb4)]=0x0,this[_0x3d867b(0x1c5)]=0x0,this['_emitProgress']();}[_0x490cbe(0x14d)](_0x74d5d2,_0x2349db){const _0x4eb26c=_0x490cbe;let _0x24ec4c=_0x74d5d2[0x0],_0x12545c=_0x24ec4c[_0x4eb26c(0xf8)];return R(_0x24ec4c)===_0x2349db?!0x1:(this[_0x4eb26c(0x1bd)][_0x4eb26c(0x1a1)]({'type':_0x513872[_0x4eb26c(0x193)],'content':this['_localeService']['t'](_0x4eb26c(0x183),_0x12545c)}),!0x0);}[_0x490cbe(0xf2)](){const _0x3b921c=_0x490cbe;return this[_0x3b921c(0x1c5)]!==0x0&&this['_doneUploadTaskCount']!==this['_totalUploadTaskCount'];}};X=V([B(0x0,_0x2f48e0(_0x332fad)),B(0x1,_0x3a5859),B(0x2,_0x2f48e0(_0x12b7d7)),B(0x3,_0x2f48e0(q)),B(0x4,_0x2f48e0(O)),B(0x5,_0x3cc142),B(0x6,_0x2f48e0(_0x5a3d60))],X);function st(_0x48ef4e){const _0x51dd91=_0x490cbe;let {onClick:_0x5aa914,children:_0x251eac,className:_0x5ded5a}=_0x48ef4e;return _0x824b05('button',{'className':_0x2c59b3(_0x51dd91(0x177),_0x5ded5a),'type':'button','onClick':_0x5aa914,'children':_0x251eac});}function ct(){const _0x9902df=_0x490cbe;let _0xcf16b7=_0x4bdb15(Y),_0x3d3d77=_0x4bdb15(_0x12b7d7);function _0x55905a(){const _0xd5cb93=_0x106c;_0xcf16b7[_0xd5cb93(0x17c)]();}return _0x824b05(st,{'onClick':_0x55905a,'children':_0x3d3d77['t'](_0x9902df(0x16e))});}function lt(){const _0x28152c=_0x490cbe;return _0x2b7014('div',{'className':_0x28152c(0xee),'children':[_0x824b05('span',{'className':_0x28152c(0x137),'children':_0x4bdb15(_0x12b7d7)['t'](_0x28152c(0xf5))}),_0x824b05(ct,{})]});}function _0x106c(_0x4d5f21,_0x404aa9){_0x4d5f21=_0x4d5f21-0xa8;const _0x29fda6=_0x29fd();let _0x106cdc=_0x29fda6[_0x4d5f21];return _0x106cdc;}function ut(_0x3b46bc){const _0x126395=_0x490cbe;let {count:_0x32f1df}=_0x3b46bc;return _0x2b7014(_0x126395(0x1e6),{'className':_0x126395(0x1cb),'children':[_0x824b05(_0x126395(0x17e),{'className':_0x126395(0x136),'children':_0x4bdb15(_0x12b7d7)['t'](_0x126395(0xe6),''+_0x32f1df)}),_0x824b05(ct,{})]});}function dt(){const _0x3bbf57=_0x490cbe;let _0x58ee46=_0x4bdb15(Y),_0x197011=_0x4bdb15(_0x12b7d7);function _0x57cdb9(){const _0x2f7446=_0x106c;_0x58ee46[_0x2f7446(0x1ea)]();}return _0x824b05(st,{'onClick':_0x57cdb9,'children':_0x197011['t'](_0x3bbf57(0xdd))});}function ft(){const _0x1479ba=_0x490cbe;let {count:_0x3ddc3c,done:_0x4c516e}=_0x42b277(_0x4bdb15(Y)[_0x1479ba(0xb8)]),[_0x54eb55,_0x139665]=_0x3096a7(_0x3ddc3c>0x0?_0x4c516e/_0x3ddc3c:0x0);return _0x4bb73c(()=>{_0x139665(_0x3ddc3c>0x0?_0x4c516e/_0x3ddc3c:0x0);},[_0x3ddc3c,_0x4c516e]),_0x824b05(_0x1479ba(0x1e6),{'className':_0x1479ba(0x1ce),'children':_0x824b05(_0x1479ba(0x1e6),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x1479ba(0xed)](_0x54eb55*0x64)+'%'}})});}function pt(){const _0x1004af=_0x490cbe;return _0x2b7014('div',{'className':_0x1004af(0xee),'children':[_0x824b05('span',{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4bdb15(_0x12b7d7)['t'](_0x1004af(0xe9))}),_0x824b05(_0x1004af(0x1e6),{'className':_0x1004af(0x1bc),'children':_0x824b05(ft,{})}),_0x824b05(dt,{})]});}const mt={0x1:_0x824b05(_0x3e9ebc,{'className':_0x490cbe(0x106)}),0x0:_0x824b05(_0xee4f49,{'className':_0x490cbe(0x130)}),0x2:_0x824b05(_0x36406d,{'className':_0x490cbe(0x1f0)})};function ht(){const _0x2ef1d6=_0x490cbe;let [_0xd4691c,_0x4a5194]=_0x3096a7(0x0),[_0x14c30d,_0x32d4ee]=_0x3096a7(!0x1),[_0x129f54,_0x339be1]=_0x3096a7([]),_0x2f6f84=_0x4bdb15(O),_0x5880ab=_0x4bdb15(_0x12b7d7);_0x4bb73c(()=>{const _0x224585=_0x106c;let _0x5735f4=_0x2f6f84[_0x224585(0xe8)][_0x224585(0xd4)](_0x3b8d1c=>{_0x32d4ee(_0x3b8d1c);}),_0xf265b1=_0x2f6f84[_0x224585(0xcb)][_0x224585(0xd4)](_0x2b7975=>{_0x339be1(_0x2b7975);}),_0x4c95b3=_0x2f6f84[_0x224585(0x113)][_0x224585(0xd4)](_0x7a33fe=>{_0x4a5194(_0x7a33fe);});return()=>{const _0x5c002e=_0x224585;_0x5735f4['unsubscribe'](),_0xf265b1[_0x5c002e(0xea)](),_0x4c95b3[_0x5c002e(0xea)]();};},[]);function _0x2a6fc9(){_0x32d4ee(!0x1);}function _0x4e84df(_0x387412){const _0x34aeac=_0x106c;switch(_0x387412){case 0x1:return _0x5880ab['t']('exchange-client.uploadSuccess');case 0x0:return _0x5880ab['t'](_0x34aeac(0xbb));case 0x2:return _0x5880ab['t'](_0x34aeac(0x127));default:return'';}}return _0x14c30d&&_0x2b7014('div',{'className':_0x2ef1d6(0x19c),'children':[_0x2b7014(_0x2ef1d6(0x1e6),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[_0x2b7014(_0x2ef1d6(0x17e),{'className':_0x2ef1d6(0xdc),'children':[_0x824b05(_0x2ef1d6(0x17e),{'className':_0x2ef1d6(0x15a),'children':mt[_0xd4691c]}),_0x824b05(_0x2ef1d6(0x17e),{'className':_0x2ef1d6(0x1f3),'children':_0x4e84df(_0xd4691c)})]}),_0x824b05(_0x2ef1d6(0x17e),{'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':_0x2a6fc9,'children':_0x824b05(_0x1b8b3b,{})})]}),_0x2b7014(_0x2ef1d6(0x1e6),{'children':[_0xd4691c===0x0&&_0x824b05(pt,{}),_0xd4691c===0x2&&_0x824b05(lt,{}),_0x129f54[_0x2ef1d6(0x165)]>0x0&&_0x824b05(He,{'list':_0x129f54}),_0xd4691c===0x1&&_0x824b05(ut,{'count':_0x129f54['length']})]})]});}function Z(){return _0x824b05(ht,{});}let Q=class extends _0x1dc257{constructor(_0x58149c,_0x2cb88e,_0x1add2b){const _0x1419a6=_0x490cbe;super(),this['_injector']=_0x58149c,this[_0x1419a6(0x162)]=_0x2cb88e,this[_0x1419a6(0x120)]=_0x1add2b,this['_registerIcons'](),this['_registerComponents']();}[_0x490cbe(0x1f5)](){const _0xf38373=_0x490cbe;this[_0xf38373(0x1dd)](this[_0xf38373(0x120)][_0xf38373(0x1e1)]({'DirectExportIcon':_0x4730cd}));}[_0x490cbe(0x174)](){const _0x1638c8=_0x490cbe;this[_0x1638c8(0x1dd)](this[_0x1638c8(0x162)]['registerComponent'](_0x5584cd[_0x1638c8(0x1d0)],()=>_0x195384(Z,this[_0x1638c8(0x1b7)])));}};Q=V([B(0x0,_0x2f48e0(_0x2f2441)),B(0x1,_0xd51965),B(0x2,_0x2f48e0(_0x576e15))],Q);let $=class extends _0x3f592f{constructor(_0x3baab1=T,_0x3bafe0,_0x5b2ae4){const _0x421721=_0x490cbe;super(),this[_0x421721(0xdf)]=_0x3baab1,this['_injector']=_0x3bafe0,this[_0x421721(0x161)]=_0x5b2ae4;let {..._0x45663e}=_0xc6fdf3({},T,this[_0x421721(0xdf)]);this[_0x421721(0x161)][_0x421721(0xd7)](w,_0x45663e);}[_0x490cbe(0x159)](){const _0x10dbad=_0x490cbe;_0x211ce9(this[_0x10dbad(0x1b7)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[H,{'useClass':U}],[O,{'useClass':k}]]);}['onReady'](){const _0x1de89a=_0x490cbe;_0x44ee94(this[_0x1de89a(0x1b7)],[[Q],[Y]]);}};D($,'pluginName',_0x490cbe(0x19b)),D($,_0x490cbe(0x1b2),Le),D($,_0x490cbe(0x13b),Re),$=V([_0x3d16f1(_0x12b298,_0x22f36e),B(0x1,_0x2f48e0(_0x2f2441)),B(0x2,_0x1fefa9)],$);export{w as EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY,X as ExchangeOperateService,J as ExchangeService,Y as IExchangeOperateService,q as IExchangeService,H as IRequestService,O as IUploadNotificationService,U as RequestService,$ as UniverExchangeClientPlugin,Z as UploadNotificationContainer,k as UploadNotificationService,Ve as UploadNotificationState,L as downloadFile,R as getUniverInstanceTypeByFile,z as getUploadFile,nt as transformDocumentDataToSnapshotJson,rt as transformSlideDataToSnapshotJson,at as transformSnapshotJsonToDocumentData,G as transformSnapshotJsonToSlideData,it as transformSnapshotJsonToWorkbookData,W as transformWorkbookDataToSnapshotJson};
1
+ const _0x1f4438=_0x7004;(function(_0x3f3528,_0x1a8b5b){const _0x1db93c=_0x7004,_0x500b5b=_0x3f3528();while(!![]){try{const _0x947c83=parseInt(_0x1db93c(0x2af))/0x1+-parseInt(_0x1db93c(0x2b8))/0x2+-parseInt(_0x1db93c(0x1f8))/0x3*(-parseInt(_0x1db93c(0x202))/0x4)+parseInt(_0x1db93c(0x1dd))/0x5+-parseInt(_0x1db93c(0x206))/0x6+-parseInt(_0x1db93c(0x283))/0x7*(-parseInt(_0x1db93c(0x194))/0x8)+parseInt(_0x1db93c(0x29c))/0x9*(-parseInt(_0x1db93c(0x24e))/0xa);if(_0x947c83===_0x1a8b5b)break;else _0x500b5b['push'](_0x500b5b['shift']());}catch(_0x5c3730){_0x500b5b['push'](_0x500b5b['shift']());}}}(_0x39bd,0xc1191));import{UniverLicensePlugin as _0x10fb1d}from'@univerjs-pro/license';import{DependentOn as _0x148dc9,Disposable as _0x2fe81a,IConfigService as _0x3e68f8,ILogService as _0x569823,IResourceLoaderService as _0x20ebf2,IUniverInstanceService as _0x4fcce2,Inject as _0x385976,Injector as _0x10f435,LocaleService as _0x544c4f,Plugin as _0x25589f,UniverInstanceType as _0x1205ec,createIdentifier as _0x3b572e,merge as _0x4e12da,registerDependencies as _0x3cefd4,resolveWithBasePath as _0x596ed2,toDisposable as _0x588f34,touchDependencies as _0x150101}from'@univerjs/core';function _0x39bd(){const _0x163236=['Warning','_getUnitJson','resources','_configService','_getUnitSlideJson','FileId','progress$','shift','registerComponent','&source=','exportServerUrl','post','univer-text-sm\x20univer-text-gray-500','exchange-client.uploadSuccessTip','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','_getSignURL','Error\x20fetching\x20file\x20from\x20URL:','Failed\x20to\x20transform\x20snapshot\x20to\x20string','getSnapshot','originalMeta','createUnit','title','_logService','_iconManager','revokeObjectURL','_taskInterrupted','saveSnapshot','_export','unsubscribe','appendChild','_buildHttpErrorMessage','UNIVER_BASE','2538571kRRxjh',':\x20HTTP\x20','_exportBySnapshot','_extractErrorDetail','_import','No\x20file\x20selected','_refresh','_list','exchange-client.unknownMistake','toString','onReady','origin','version','_totalUploadTaskCount','_localeService','set','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','subscribe','state$','downloadEndpointUrl','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','sheetBlocks','searchParams','_getUnitIDSlide','exchange-client.internalError','78147MHqqIK','has','application/vnd.ms-excel.sheet.macroEnabled.12','join','CONNECTOR_DATA_TOO_LARGE','workbook.json','_registerComponents','createElement','_uiPartsService','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','importServerUrl','change','HttpImport','univer-pro.exchange-client.upload-notification.service','univer-pl-2\x20univer-pr-4','headers','_getUnitName','stringify','symbol','1052057HlzCqS','_exchangeService','addEventListener','_getMaxPollingTime','exchange-client.uploadAgain','_showUploadMessage','values','_buildProtocolErrorMessage','outputType','2930538JsEprW','importFileToUnitIdByCurrentType','_importTaskId','univer-flex','name','Failed\x20to\x20get\x20file\x20from\x20url','_getUnitDocJson','getTask','body','click','importPPTXToSnapshot','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_univerInstanceService','getCurrentUnitOfType','interruptImportTask','Failed\x20to\x20get\x20text\x20from\x20url','exportPPTXBySnapshot','_showNetworkError','trim','saveChangeset','Error','Failed\x20to\x20get\x20jsonID\x20from\x20task','application/vnd.openxmlformats-officedocument.wordprocessingml.document','Content-Type','import\x20error','?size=','_signUrl','@univerjs-pro/exchange-client','_messageService','call','noreferrer','_uploadNotificationService','keys','button','_importFileToUnitId','disposeWithMe','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','xlsx','sheets','_showDownloadMessage','UNIVER_EXCHANGE_CLIENT_PLUGIN','_list$','INTERNAL_ERROR','success','upload\x20failed:\x20FileId\x20is\x20empty','files','decode','getConfig','importDOCXToSnapshot','uploadFileServerUrl','multiple','map','complete','catch','hide','UNRECOGNIZED','24VHDBVw','Method\x20not\x20implemented.','exchange-client.wait','UNIVER_BOARD','_getEnableServerSideComputing','split','object','UNIVER_SHEET','workbook','_httpService','updateState','_state$','univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','Failed\x20to\x20get\x20fileID\x20from\x20task','createObjectURL','min','file.json','toPrimitive','Success','_clearProgress','span','function','pushLink','_addTotalCount','/universer-api/exchange/{type}/export','getUnitId','import','currentTarget','UNIVER_UNKNOWN','link','parse','application/json','univer-text-red-500','exportXLSXBySnapshot','_progress$','dispose','1.0.0-alpha.3','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_injector','block\x20is\x20required','_getMinSheetColumnCount','_getDownloadEndpointURL','_upload','decorate','clear','taskID','Error\x20getting\x20file\x20name\x20from\x20URL:','exchange-client.tooLarge','importXLSXToUnitId','_resourceLoaderService','exchange-client.uploadSuccess','_getDisableCellImageConversion','pathname','_getUnitID','_getMinSheetRowCount','number','docx','getUnitOnRev','Get\x20outputType\x20error','error','disableCellImageConversion','default','statusText','upload\x20request\x20failed','requestState$','importPPTXToUnitId','application/vnd.openxmlformats-officedocument.presentationml.presentation','_requestService','getSheetBlock','message','UNDEFINED','{fileID}','rev','5603130wmJbKQ','univer-mt-5\x20univer-flex\x20univer-flex-col','slide','_getUnitIDDoc','_getLinkByUnitId','maxTimeoutTime','next','input','isArray','application/vnd.openxmlformats-officedocument.spreadsheetml.template','blockID','data','add','toLowerCase','show','exchange-client.cancel','importXLSXToSnapshot','register','pending','options','_getImportURL','_getIgnoreTableExport','content-disposition','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','_blank','_visible$','div','1071MiscvF','string','exchange-client.downloading','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','application/octet-stream','exchange-client.networkError','status','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','UNIVER_SLIDE','get','13500cXBHLa','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_sheetBlockCache','getResourcesRequest','5805900ZcBUsP','.json','_uploadTaskNotDone','append','getDeserializedSheetBlock','export','clearTaskInterrupted','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getUnitNameByType','_doneUploadTaskCount','href','getTextFromUrl','getUnitType','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','univer-h-6\x20univer-text-2xl','&flate=','exchange-client.config','buffer','getLatestCsReqIdBySid','filter','sign\x20url\x20error','replace','type','updateSnapshot','UNIVER_DOC','Failed\x20to\x20get\x20unitID\x20from\x20task','exportDOCXByUnitId','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','list$','code','text','importFileToJson','Failed\x20to\x20parse\x20json','UNIVER_PROJECT','univer-flex\x20univer-h-5\x20univer-text-xl','exportXLSXByUnitId','getOwnPropertyDescriptor','{taskID}','pop','enableServerSideComputing','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','_getUploadFileURL','download','exportDOCXBySnapshot','done','snapshot','upload','_config','importFileToUnitId','forEach','removeChild','exchange-client.uploading','_getTaskURL','_requestState$','univer-text-blue-500','_refreshSlide','url','setTaskInterrupted','_getExportURL','resolve','blob','/universer-api/file/{fileID}/sign-url','accept','onStarting','encode','none','jsonID','visible$','defineProperty','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','_registerIcons','1430SoveCa','uploadFileToUnitId','signUrlServerUrl','Info','/universer-api/exchange/task/{taskID}','style','_emitProgress','asObservable','_completeProgress','pptx','fileID','copyFileMeta','pluginName','exportPPTXByUnitId','getFocusedUnit','file','_addDoneTask','floor','_importToJson','prototype','length'];_0x39bd=function(){return _0x163236;};return _0x39bd();}import{HTTPResponseError as _0xc679f,HTTPService as _0x4f83f3,UniverNetworkPlugin as _0x5376f4}from'@univerjs/network';import{ClockIcon as _0x2c35fc,CloseIcon as _0x417ce3,DirectExportIcon as _0x5b1712,DocsMultiIcon as _0x286c27,ErrorIcon as _0x19b7a,ShareRangeIcon as _0xef3059,SheetsMultiIcon as _0x3817ac,SlidesMultiIcon as _0x52c450,SuccessIcon as _0x1756d9}from'@univerjs/icons';import{BuiltInUIPart as _0x15dce3,IMessageService as _0x246a95,IUIPartsService as _0x47cd9f,IconManager as _0x188500,connectInjector as _0xba57be,useDependency as _0xd2c43d,useObservable as _0x23b6ff}from'@univerjs/ui';import{useEffect as _0x46a984,useState as _0x5dd614}from'react';import{BehaviorSubject as _0x405bce,Subject as _0x347e9d}from'rxjs';import{MessageType as _0x1367cd,Tooltip as _0x274258,clsx as _0x34026c,scrollbarClassName as _0x57a21b}from'@univerjs/design';import{jsx as _0x2ee3b3,jsxs as _0x5dac55}from'react/jsx-runtime';import{ErrorCode as _0x1e5b34,FileSource as _0x1cce2a}from'@univerjs/protocol';import{b64DecodeUnicode as _0x56c5d7,b64EncodeUnicode as _0x320974,getSheetBlocksFromSnapshot as _0x2f0d0b,textDecoder as _0x3cad68,textEncoder as _0x141b75,transformDocumentDataToSnapshot as _0x2f0018,transformSlideDataToSnapshot as _0x401634,transformSnapshotToDocumentData as _0x1ca21f,transformSnapshotToSlideData as _0x843469,transformSnapshotToWorkbookData as _0xebe4f1,transformWorkbookDataToSnapshot as _0x5781a5}from'@univerjs-pro/collaboration';import{deflateSync as _0x474f57}from'fflate';var Ie=_0x1f4438(0x2d3),Le=_0x1f4438(0x1b8);const T=_0x1f4438(0x217),E={};function D(_0x481c58){'@babel/helpers - typeof';const _0x404717=_0x1f4438;return D=typeof Symbol==_0x404717(0x1a9)&&typeof Symbol['iterator']==_0x404717(0x2ae)?function(_0x2d1eff){return typeof _0x2d1eff;}:function(_0x4461e2){const _0x1d57b8=_0x404717;return _0x4461e2&&typeof Symbol==_0x1d57b8(0x1a9)&&_0x4461e2['constructor']===Symbol&&_0x4461e2!==Symbol[_0x1d57b8(0x261)]?_0x1d57b8(0x2ae):typeof _0x4461e2;},D(_0x481c58);}function Re(_0xe63464,_0x211774){const _0x1e21ac=_0x1f4438;if(D(_0xe63464)!=_0x1e21ac(0x19a)||!_0xe63464)return _0xe63464;var _0x142c82=_0xe63464[Symbol[_0x1e21ac(0x1a5)]];if(_0x142c82!==void 0x0){var _0x2fd464=_0x142c82[_0x1e21ac(0x2d5)](_0xe63464,_0x211774||_0x1e21ac(0x1d1));if(D(_0x2fd464)!=_0x1e21ac(0x19a))return _0x2fd464;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x211774===_0x1e21ac(0x1f9)?String:Number)(_0xe63464);}function ze(_0x39d515){const _0xc9c9aa=_0x1f4438;var _0xfaf2b4=Re(_0x39d515,_0xc9c9aa(0x1f9));return D(_0xfaf2b4)==_0xc9c9aa(0x2ae)?_0xfaf2b4:_0xfaf2b4+'';}function O(_0x38646b,_0x4f16f1,_0x58f6b6){const _0x3d48df=_0x1f4438;return(_0x4f16f1=ze(_0x4f16f1))in _0x38646b?Object[_0x3d48df(0x24b)](_0x38646b,_0x4f16f1,{'value':_0x58f6b6,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x38646b[_0x4f16f1]=_0x58f6b6,_0x38646b;}const k=_0x3b572e(_0x1f4438(0x2a9));var Be=class extends _0x2fe81a{constructor(){const _0x309082=_0x1f4438;super(),O(this,_0x309082(0x1f6),new _0x347e9d()),O(this,'_state$',new _0x347e9d()),O(this,_0x309082(0x185),new _0x347e9d()),O(this,'visible$',this[_0x309082(0x1f6)]['asObservable']()),O(this,_0x309082(0x295),this['_state$'][_0x309082(0x255)]()),O(this,_0x309082(0x223),this[_0x309082(0x185)]['asObservable']()),O(this,'_list',[]);}[_0x1f4438(0x1b7)](){const _0x40888e=_0x1f4438;super[_0x40888e(0x1b7)](),this[_0x40888e(0x1f6)][_0x40888e(0x190)](),this['_state$'][_0x40888e(0x190)](),this[_0x40888e(0x185)][_0x40888e(0x190)]();}['show'](){const _0x33bc3b=_0x1f4438;this['_visible$'][_0x33bc3b(0x1e3)](!0x0);}[_0x1f4438(0x192)](){const _0x4d39b7=_0x1f4438;this[_0x4d39b7(0x1f6)]['next'](!0x1);}[_0x1f4438(0x19e)](_0x128cf7){const _0x1a5277=_0x1f4438;this[_0x1a5277(0x19f)][_0x1a5277(0x1e3)](_0x128cf7);}[_0x1f4438(0x1aa)](_0x11b5cb){const _0x33dec6=_0x1f4438;this[_0x33dec6(0x28a)]['unshift'](_0x11b5cb),this[_0x33dec6(0x185)]['next'](this[_0x33dec6(0x28a)]);}};function Ve(_0x52ee0d){const _0x32777a=_0x1f4438;let {list:_0x4b3662}=_0x52ee0d;function _0x255f93(_0x27f0b4){switch(_0x27f0b4){case 0x1:return _0x2ee3b3(_0x286c27,{});case 0x2:return _0x2ee3b3(_0x3817ac,{});case 0x3:return _0x2ee3b3(_0x52c450,{});default:return null;}}return _0x2ee3b3('div',{'className':_0x34026c(_0x32777a(0x20d),_0x57a21b),'children':_0x2ee3b3('ul',{'className':_0x32777a(0x1f4),'children':_0x4b3662[_0x32777a(0x18f)]((_0x18ed06,_0x1f33df)=>_0x2ee3b3('li',{'children':_0x5dac55('a',{'className':_0x32777a(0x24c),'href':_0x18ed06[_0x32777a(0x1b1)],'target':_0x32777a(0x1f5),'rel':_0x32777a(0x2d6),'children':[_0x5dac55(_0x32777a(0x1a8),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x2ee3b3('span',{'className':_0x32777a(0x229),'children':_0x255f93(_0x18ed06[_0x32777a(0x21d)])}),_0x2ee3b3(_0x274258,{'showIfEllipsis':!0x0,'title':_0x18ed06[_0x32777a(0x2bc)],'asChild':!0x0,'children':_0x2ee3b3(_0x32777a(0x1a8),{'className':_0x32777a(0x2dc),'children':_0x18ed06[_0x32777a(0x2bc)]})})]}),_0x2ee3b3(_0x32777a(0x1a8),{'className':_0x32777a(0x1ff),'children':_0x2ee3b3(_0xef3059,{})})]})},_0x1f33df))})});}const A=_0x1f4438(0x2ce),j=_0x1f4438(0x2c3),M=_0x1f4438(0x29e),N=_0x1f4438(0x1e6),P=_0x1f4438(0x1d6),F={[_0x1205ec[_0x1f4438(0x1b0)]]:[''],[_0x1205ec[_0x1f4438(0x21f)]]:[A],[_0x1205ec[_0x1f4438(0x19b)]]:[j,M,N],[_0x1205ec[_0x1f4438(0x200)]]:[P],[_0x1205ec[_0x1f4438(0x282)]]:[''],[_0x1205ec[_0x1f4438(0x197)]]:[''],[_0x1205ec[_0x1f4438(0x228)]]:[''],[_0x1205ec['UNRECOGNIZED']]:['']},I={[A]:_0x1f4438(0x1cc),[j]:_0x1f4438(0x181),[M]:'xlsm',[N]:'xltx',[P]:_0x1f4438(0x257)};function He(_0x3292e7,_0x343237,_0x44be96){const _0x2a19a0=_0x1f4438;let _0x430d2f=document[_0x2a19a0(0x2a3)]('a');_0x430d2f[_0x2a19a0(0x211)]=_0x3292e7,_0x430d2f[_0x2a19a0(0x253)]['display']=_0x2a19a0(0x248),_0x430d2f[_0x2a19a0(0x231)]=_0x343237+'.'+_0x44be96,document[_0x2a19a0(0x2c0)][_0x2a19a0(0x280)](_0x430d2f),_0x430d2f['click'](),document[_0x2a19a0(0x2c0)][_0x2a19a0(0x239)](_0x430d2f);}function L(_0x29771b,_0x475379,_0x5d947f){const _0x5039a3=_0x1f4438;let _0x6d7a5b=URL[_0x5039a3(0x1a2)](_0x29771b);He(_0x6d7a5b,_0x475379,_0x5d947f),URL[_0x5039a3(0x27b)](_0x6d7a5b);}function Ue(_0x4f13f7){const _0x2befb3=_0x1f4438;let _0x4defd9=_0x4f13f7[_0x2befb3(0x2bc)][_0x2befb3(0x199)]('.')[_0x2befb3(0x22d)]();if(!_0x4defd9)return _0x1205ec[_0x2befb3(0x1b0)];let _0x549e41=We(),_0x2c3ace=_0x1205ec['UNIVER_UNKNOWN'];return _0x549e41['some'](_0x21f212=>Ge(_0x4defd9,_0x21f212)?(_0x2c3ace=_0x21f212,!0x0):!0x1),_0x2c3ace;}function We(){const _0x435912=_0x1f4438;return Object[_0x435912(0x2b5)](_0x1205ec)[_0x435912(0x21a)](_0x40dc4d=>typeof _0x40dc4d==_0x435912(0x1cb));}function Ge(_0x4bbc48,_0xcd64f){const _0x4d5f2d=_0x1f4438;var _0x4b98d5;return((_0x4b98d5=F[_0xcd64f])==null?[]:_0x4b98d5)[_0x4d5f2d(0x18f)](_0x533ba5=>(I[_0x533ba5]||'')['toLowerCase']())['includes'](_0x4bbc48[_0x4d5f2d(0x1ea)]());}function R(_0x4b4b65,_0x1ef1cc=!0x1){const _0x507e3e=_0x1f4438;let _0x268180=_0x4b4b65[_0x507e3e(0x18f)](_0x306cc8=>{var _0x49350c;return(_0x49350c=F[_0x306cc8])==null?[]:_0x49350c;})[_0x507e3e(0x29f)](',');return new Promise((_0x315a4b,_0x21a0fc)=>{const _0x10d3fa=_0x507e3e;let _0x4fe6b0=document[_0x10d3fa(0x2a3)](_0x10d3fa(0x1e4));_0x4fe6b0[_0x10d3fa(0x21d)]=_0x10d3fa(0x25d),_0x4fe6b0[_0x10d3fa(0x245)]=_0x268180,_0x4fe6b0[_0x10d3fa(0x18e)]=_0x1ef1cc,_0x4fe6b0[_0x10d3fa(0x2b1)](_0x10d3fa(0x2a7),_0x197129=>{const _0x2cb088=_0x10d3fa;let _0xcf5c20=_0x197129[_0x2cb088(0x1af)];if(!_0xcf5c20[_0x2cb088(0x189)]||_0xcf5c20[_0x2cb088(0x189)]['length']===0x0)throw _0x21a0fc(null),Error(_0x2cb088(0x288));_0x315a4b(_0xcf5c20[_0x2cb088(0x189)]);}),_0x4fe6b0[_0x10d3fa(0x2c1)]();});}async function z(_0x3eefdc,_0x1d020d){const _0x10afcf=_0x1f4438;try{var _0x2e9b8b,_0x3326e2,_0x1433c2;let _0x2b5d8c=await _0x1d020d[_0x10afcf(0x201)](_0x3eefdc,{'responseType':_0x10afcf(0x243)}),_0x290e25=_0x2b5d8c[_0x10afcf(0x2c0)],_0x230a76=(_0x2e9b8b=(_0x3326e2=_0x2b5d8c[_0x10afcf(0x2ab)][_0x10afcf(0x201)](_0x10afcf(0x2cf)))==null?void 0x0:_0x3326e2[_0x10afcf(0x29f)](',\x20'))==null?_0x10afcf(0x1fc):_0x2e9b8b,_0x3595aa='file.'+(I[_0x230a76]||'xlsx'),_0x3dc40e=(_0x1433c2=_0x2b5d8c['headers'][_0x10afcf(0x201)](_0x10afcf(0x1f3)))==null?void 0x0:_0x1433c2[_0x10afcf(0x29f)](',\x20');if(_0x3dc40e){let _0x1734a5=_0x3dc40e['match'](/filename=(.+)/);_0x1734a5&&_0x1734a5[0x1]&&(_0x3595aa=_0x1734a5[0x1]);}else _0x3595aa=Ke(_0x3eefdc)||_0x3595aa;return new File([_0x290e25],_0x3595aa,{'type':_0x230a76});}catch(_0x42bb23){console['error'](_0x10afcf(0x273),_0x42bb23);return;}}function Ke(_0x1d5ec6){const _0x30d25a=_0x1f4438;try{return new URL(_0x1d5ec6)[_0x30d25a(0x1c8)]['split']('/')[_0x30d25a(0x22d)]();}catch(_0x6be783){console['error'](_0x30d25a(0x1c2),_0x6be783);return;}}function qe(_0xea7a92){const _0x262547=_0x1f4438;let _0xecc74=new Blob([_0xea7a92[_0x262547(0x218)]],{'type':_0x262547(0x1b3)});return new File([_0xecc74],_0x262547(0x1a4));}function B(_0x7e37c3,_0x1a7e17){return _0x7e37c3['replace']('{type}',_0x1a7e17);}function Je(_0x4496db,_0x13f400){const _0xfedbea=_0x1f4438;return _0x4496db[_0xfedbea(0x21c)](_0xfedbea(0x22c),_0x13f400);}function Ye(_0x28169a,_0x457008){const _0x327d4c=_0x1f4438;return _0x28169a[_0x327d4c(0x21c)](_0x327d4c(0x1db),_0x457008);}function V(_0x3ae43e,_0x1a3fa3){return function(_0x40e205,_0x18292d){_0x1a3fa3(_0x40e205,_0x18292d,_0x3ae43e);};}function H(_0xf56c12,_0x3fa9f3,_0x5d3dff,_0x4a8283){const _0x2dc9ae=_0x1f4438;var _0x503c94=arguments['length'],_0x4ef4f8=_0x503c94<0x3?_0x3fa9f3:_0x4a8283===null?_0x4a8283=Object[_0x2dc9ae(0x22b)](_0x3fa9f3,_0x5d3dff):_0x4a8283,_0x281548;if(typeof Reflect==_0x2dc9ae(0x19a)&&typeof Reflect[_0x2dc9ae(0x1bf)]==_0x2dc9ae(0x1a9))_0x4ef4f8=Reflect[_0x2dc9ae(0x1bf)](_0xf56c12,_0x3fa9f3,_0x5d3dff,_0x4a8283);else{for(var _0x1e0464=_0xf56c12[_0x2dc9ae(0x262)]-0x1;_0x1e0464>=0x0;_0x1e0464--)(_0x281548=_0xf56c12[_0x1e0464])&&(_0x4ef4f8=(_0x503c94<0x3?_0x281548(_0x4ef4f8):_0x503c94>0x3?_0x281548(_0x3fa9f3,_0x5d3dff,_0x4ef4f8):_0x281548(_0x3fa9f3,_0x5d3dff))||_0x4ef4f8);}return _0x503c94>0x3&&_0x4ef4f8&&Object[_0x2dc9ae(0x24b)](_0x3fa9f3,_0x5d3dff,_0x4ef4f8),_0x4ef4f8;}const U=_0x3b572e('univer-pro.exchange-client.request.service');let W=class{constructor(_0x32ca0c,_0x5db2c3){const _0xa7c974=_0x1f4438;this['_configService']=_0x32ca0c,this[_0xa7c974(0x19d)]=_0x5db2c3,O(this,_0xa7c974(0x27c),new Set());}['dispose'](){}[_0x1f4438(0x240)](_0x8bb55b){const _0x90efea=_0x1f4438;this[_0x90efea(0x27c)][_0x90efea(0x1e9)](_0x8bb55b);}[_0x1f4438(0x20c)](){const _0x41353a=_0x1f4438;this[_0x41353a(0x27c)][_0x41353a(0x1c0)]();}async[_0x1f4438(0x235)](_0x29d4f1,_0x305071=0x0,_0xf1739d=!0x1){const _0x3bf764=_0x1f4438;if(typeof _0x29d4f1==_0x3bf764(0x1f9)){let _0xd17191=await z(_0x29d4f1,this[_0x3bf764(0x19d)]);if(!_0xd17191)throw Error(_0x3bf764(0x214));_0x29d4f1=_0xd17191;}_0x305071=_0x305071||_0x29d4f1['size'];let _0x2b2edb=new FormData();_0x2b2edb[_0x3bf764(0x209)]('file',_0x29d4f1);try{let _0x3e3a8a=this[_0x3bf764(0x230)]()+_0x3bf764(0x2d1)+_0x305071+_0x3bf764(0x26c)+_0x1cce2a[_0x3bf764(0x2a8)]+_0x3bf764(0x216)+_0xf1739d,_0xfab331={'body':_0x2b2edb},_0x533664=(await this[_0x3bf764(0x19d)][_0x3bf764(0x26e)](_0x3e3a8a,_0xfab331))[_0x3bf764(0x2c0)];if(_0x533664[_0x3bf764(0x1cf)]&&_0x533664[_0x3bf764(0x1cf)][_0x3bf764(0x224)]!==_0x1e5b34['OK'])throw Error(this['_buildProtocolErrorMessage'](_0x3bf764(0x1d3),_0x533664['error']));return _0x533664;}catch(_0x3be16a){throw _0x3be16a instanceof Error?_0x3be16a:Error(this[_0x3bf764(0x281)](_0x3bf764(0x1d3),_0x3be16a));}}async[_0x1f4438(0x1ae)](_0x2088fc){const _0x3c129d=_0x1f4438;let {fileID:_0xb2d6e2,type:_0x30e92c,outputType:_0x59e665,minSheetColumnCount:_0x14d72f,minSheetRowCount:_0x5006ec}=_0x2088fc;try{let _0x1c1e24=B(this[_0x3c129d(0x1f1)](),''+_0x30e92c),_0x1d3f0e={'body':{'fileID':_0xb2d6e2,'outputType':_0x59e665,'minSheetColumnCount':_0x14d72f,'minSheetRowCount':_0x5006ec}},_0x44c142=(await this['_httpService']['post'](_0x1c1e24,_0x1d3f0e))['body'];return _0x44c142['error']&&_0x44c142[_0x3c129d(0x1cf)][_0x3c129d(0x224)]!==_0x1e5b34['OK']?void 0x0:_0x44c142;}catch{return;}}async[_0x1f4438(0x20b)](_0xdfbc18){const _0x5d7b6a=_0x1f4438;let {unitID:_0x44defb,jsonID:_0x32a403,type:_0x28ea02,sscSwitch:_0x49e328,useImageUrl:_0x4ee796,ignoreTableExport:_0x3ad996}=_0xdfbc18;try{let _0x59f598=B(this[_0x5d7b6a(0x241)](),''+_0x28ea02),_0x4bfba3={'body':{'unitID':_0x44defb,'jsonID':_0x32a403,'type':_0x28ea02,'sscSwitch':_0x49e328,'useImageUrl':_0x4ee796,'ignoreTableExport':_0x3ad996}},_0x28211e=(await this[_0x5d7b6a(0x19d)][_0x5d7b6a(0x26e)](_0x59f598,_0x4bfba3))['body'];return _0x28211e[_0x5d7b6a(0x1cf)]&&_0x28211e[_0x5d7b6a(0x1cf)][_0x5d7b6a(0x224)]!==_0x1e5b34['OK']?void 0x0:_0x28211e;}catch{return;}}async[_0x1f4438(0x2bf)](_0x4f14cb){return new Promise((_0x24ea72,_0x34f663)=>{const _0x106040=_0x7004;try{let _0x6e2c0d=0x0,_0x50c4cd=Je(this[_0x106040(0x23b)](),''+_0x4f14cb),_0x3e7402=this['_getMaxPollingTime'](),_0x1b286f=async()=>{const _0x87db19=_0x106040;if(this[_0x87db19(0x27c)][_0x87db19(0x29d)](_0x4f14cb))return;let _0x4893fd=(await this[_0x87db19(0x19d)][_0x87db19(0x201)](_0x50c4cd))['body'];if(_0x4893fd[_0x87db19(0x1cf)]&&_0x4893fd['error'][_0x87db19(0x224)]===_0x1e5b34['OK']){if(_0x4893fd[_0x87db19(0x1fe)]===_0x87db19(0x233))_0x24ea72(_0x4893fd);else{if(_0x4893fd['status']===_0x87db19(0x1ef)){let _0x2613d6=0x3e8;if(_0x6e2c0d>=_0x3e7402){_0x34f663(_0x4893fd);return;}else _0x6e2c0d>=0x7530&&(_0x2613d6=0x1388);_0x6e2c0d+=_0x2613d6,setTimeout(_0x1b286f,_0x2613d6);}else _0x34f663(_0x4893fd);}}else _0x34f663(_0x4893fd);};_0x1b286f();}catch(_0x5b3dc9){_0x34f663(_0x5b3dc9 instanceof Error?_0x5b3dc9:Error(String(_0x5b3dc9)));}});}async['signUrl'](_0x42d2b9){const _0x4e0d59=_0x1f4438;try{let _0x37054a=Ye(this[_0x4e0d59(0x272)](),''+_0x42d2b9);return(await this[_0x4e0d59(0x19d)][_0x4e0d59(0x201)](_0x37054a))['body'];}catch{return;}}async[_0x1f4438(0x212)](_0x5990e0){const _0x53261c=_0x1f4438;try{return(await this[_0x53261c(0x19d)]['get'](_0x5990e0,{'responseType':_0x53261c(0x225)}))['body'];}catch{return;}}[_0x1f4438(0x2b6)](_0x36e6f9,_0x540faa){const _0x34d644=_0x1f4438;let _0x2dcaa2=this[_0x34d644(0x286)](_0x540faa);return _0x2dcaa2?_0x36e6f9+':\x20'+_0x2dcaa2:_0x36e6f9;}[_0x1f4438(0x281)](_0x4dc69b,_0x1ab2e0){const _0x5114ca=_0x1f4438;if(_0x1ab2e0 instanceof _0xc679f){let _0x190bf3=typeof _0x1ab2e0[_0x5114ca(0x1fe)]==_0x5114ca(0x1cb)?''+_0x1ab2e0[_0x5114ca(0x1fe)]+(_0x1ab2e0[_0x5114ca(0x1d2)]?'\x20'+_0x1ab2e0['statusText']:''):void 0x0,_0x40c0e0=this['_extractErrorDetail'](_0x1ab2e0['error']);return _0x190bf3&&_0x40c0e0?_0x4dc69b+':\x20HTTP\x20'+_0x190bf3+'\x20-\x20'+_0x40c0e0:_0x190bf3?_0x4dc69b+_0x5114ca(0x284)+_0x190bf3:_0x40c0e0?_0x4dc69b+':\x20'+_0x40c0e0:_0x4dc69b;}let _0x4b50d1=this[_0x5114ca(0x286)](_0x1ab2e0);return _0x4b50d1?_0x4dc69b+':\x20'+_0x4b50d1:_0x4dc69b;}[_0x1f4438(0x286)](_0x3673e5){const _0x1373a3=_0x1f4438;if(typeof _0x3673e5==_0x1373a3(0x1f9)){let _0x1f7e16=_0x3673e5['trim']();return _0x1f7e16[_0x1373a3(0x262)]>0x0?_0x1f7e16:void 0x0;}if(_0x3673e5 instanceof Error)return this[_0x1373a3(0x286)](_0x3673e5[_0x1373a3(0x1d9)]);if(!_0x3673e5||typeof _0x3673e5!='object'||Array[_0x1373a3(0x1e5)](_0x3673e5))return;let _0x48a327=_0x3673e5,_0x2f238a=this['_extractErrorDetail'](_0x48a327[_0x1373a3(0x1d9)]);if(_0x2f238a)return _0x2f238a;if(_0x48a327[_0x1373a3(0x1cf)]&&typeof _0x48a327[_0x1373a3(0x1cf)]==_0x1373a3(0x19a)&&!Array['isArray'](_0x48a327[_0x1373a3(0x1cf)])){let _0x385e87=this[_0x1373a3(0x286)](_0x48a327[_0x1373a3(0x1cf)]);if(_0x385e87)return _0x385e87;}}[_0x1f4438(0x230)](){const _0x442727=_0x1f4438;var _0x14de78;let _0x15a469=this[_0x442727(0x266)][_0x442727(0x18b)](T);return(_0x14de78=_0x15a469==null?void 0x0:_0x15a469[_0x442727(0x18d)])==null?'/universer-api/stream/file/upload':_0x14de78;}['_getImportURL'](){const _0x40f457=_0x1f4438;var _0x9cd196;let _0xcd5aa5=this['_configService']['getConfig'](T);return(_0x9cd196=_0xcd5aa5==null?void 0x0:_0xcd5aa5[_0x40f457(0x2a6)])==null?'/universer-api/exchange/{type}/import':_0x9cd196;}[_0x1f4438(0x241)](){const _0x11c14a=_0x1f4438;var _0x3c4759;let _0x2adb65=this['_configService'][_0x11c14a(0x18b)](T);return(_0x3c4759=_0x2adb65==null?void 0x0:_0x2adb65[_0x11c14a(0x26d)])==null?_0x11c14a(0x1ac):_0x3c4759;}[_0x1f4438(0x23b)](){const _0x3a8424=_0x1f4438;var _0x1310c7;let _0x45ceb2=this[_0x3a8424(0x266)][_0x3a8424(0x18b)](T);return(_0x1310c7=_0x45ceb2==null?void 0x0:_0x45ceb2['getTaskServerUrl'])==null?_0x3a8424(0x252):_0x1310c7;}[_0x1f4438(0x272)](){const _0x5e1caf=_0x1f4438;var _0x14633f;let _0x56567d=this[_0x5e1caf(0x266)]['getConfig'](T);return(_0x14633f=_0x56567d==null?void 0x0:_0x56567d[_0x5e1caf(0x250)])==null?_0x5e1caf(0x244):_0x14633f;}[_0x1f4438(0x2b2)](){const _0x12fe05=_0x1f4438;var _0x34b57a;let _0x5261bf=this['_configService'][_0x12fe05(0x18b)](T);return(_0x34b57a=_0x5261bf==null?void 0x0:_0x5261bf[_0x12fe05(0x1e2)])==null?0x1d4c0:_0x34b57a;}};W=H([V(0x0,_0x3e68f8),V(0x1,_0x385976(_0x4f83f3))],W);function Xe(_0x4adfb0){const _0x34a196=_0x1f4438;let _0x20c478=_0x4adfb0[_0x34a196(0x19c)];if(!_0x20c478)return null;let _0x429180={};_0x20c478[_0x34a196(0x182)]&&Object[_0x34a196(0x2d8)](_0x20c478['sheets'])[_0x34a196(0x238)](_0x2bf5f1=>{const _0x2998e8=_0x34a196;let _0x1520af=_0x20c478[_0x2998e8(0x182)][_0x2bf5f1];_0x429180[_0x2bf5f1]={..._0x1520af,'originalMeta':_0x320974(_0x3cad68[_0x2998e8(0x18a)](_0x1520af[_0x2998e8(0x276)]))};});let _0x3c1b01=_0x320974(_0x3cad68[_0x34a196(0x18a)](_0x20c478[_0x34a196(0x276)]));return{..._0x4adfb0,'workbook':{..._0x20c478,'originalMeta':_0x3c1b01,'sheets':_0x429180},'doc':{},'slide':void 0x0,'board':void 0x0};}function Ze(_0x3f9ddc){const _0x1f2171=_0x1f4438;let _0x111969=_0x3f9ddc['doc'];if(!_0x111969)return null;let _0x3a26b3=_0x320974(_0x3cad68[_0x1f2171(0x18a)](_0x111969[_0x1f2171(0x276)]));return{..._0x3f9ddc,'workbook':{},'doc':{..._0x111969,'originalMeta':_0x3a26b3},'slide':void 0x0,'board':void 0x0};}function Qe(_0x158690){const _0x1e864a=_0x1f4438;var _0x2f6b6f;let _0x2a1d9f=(_0x2f6b6f=_0x158690[_0x1e864a(0x1df)])==null?_0x158690['doc']:_0x2f6b6f;if(!_0x2a1d9f)return null;let _0x578d85=typeof _0x2a1d9f['originalMeta']==_0x1e864a(0x1f9)?_0x2a1d9f[_0x1e864a(0x276)]:_0x320974(_0x3cad68[_0x1e864a(0x18a)](_0x2a1d9f[_0x1e864a(0x276)]));return{..._0x158690,'workbook':{},'doc':{},'slide':{..._0x2a1d9f,'originalMeta':_0x578d85},'board':void 0x0};}function _0x7004(_0x341d19,_0x29fd20){_0x341d19=_0x341d19-0x181;const _0x39bd92=_0x39bd();let _0x7004e1=_0x39bd92[_0x341d19];return _0x7004e1;}function $e(_0x4ecffc){const _0x3b7455=_0x1f4438;let _0x1733c7={};return _0x4ecffc[_0x3b7455(0x238)](_0x1d8e92=>{const _0x5f4415=_0x3b7455;_0x1733c7[_0x1d8e92['id']]={..._0x1d8e92,'data':_0x320974(_0x3cad68[_0x5f4415(0x18a)](_0x1d8e92[_0x5f4415(0x1e8)]))};}),_0x1733c7;}async function G(_0x2d7ba1){const _0x83be11=_0x1f4438;var _0x25c52e;let _0x1d18da={'metadata':void 0x0},_0x335f2f=_0x2d7ba1['id'],_0x1ca0af=(_0x25c52e=_0x2d7ba1[_0x83be11(0x1dc)])==null?0x0:_0x25c52e,_0x1347d8=new K(),{snapshot:_0x3116da}=await _0x5781a5(_0x1d18da,_0x2d7ba1,_0x335f2f,_0x1ca0af,_0x1347d8),_0x3e9c8e=await _0x2f0d0b(_0x3116da,_0x1347d8),_0x5d1ad5=Xe(_0x3116da);if(!_0x5d1ad5)throw Error(_0x83be11(0x274));return{'snapshot':_0x5d1ad5,'sheetBlocks':$e(_0x3e9c8e)};}async function et(_0x340845){const _0x3f375c=_0x1f4438;var _0x39abe9;let _0x4548e1={'metadata':void 0x0},_0x35996e=_0x340845['id'],{snapshot:_0x453478}=await _0x2f0018(_0x4548e1,_0x340845,_0x35996e,(_0x39abe9=_0x340845[_0x3f375c(0x1dc)])==null?0x0:_0x39abe9,new K()),_0x47029c=Ze(_0x453478);if(!_0x47029c)throw Error(_0x3f375c(0x274));return{'snapshot':_0x47029c,'sheetBlocks':{}};}async function tt(_0x3259df){const _0x12be65=_0x1f4438;var _0x3e8521;let _0x138086=_0x3259df['id'],_0x10aece=(_0x3e8521=_0x3259df[_0x12be65(0x1dc)])==null?0x0:_0x3e8521,_0x1c78c0=new K(),{snapshot:_0x161b81}=await _0x401634(_0x3259df[_0x12be65(0x265)],_0x3259df,_0x138086,_0x10aece,_0x1c78c0),_0x565948=Qe(_0x161b81);if(!_0x565948)throw Error(_0x12be65(0x274));return{'snapshot':_0x565948,'sheetBlocks':{}};}async function nt(_0x3c908f){const _0x1dd10d=_0x1f4438;let _0x43d74f=_0x3c908f[_0x1dd10d(0x234)],_0x5bee77=_0x3c908f[_0x1dd10d(0x298)]||{};return await _0xebe4f1(_0x43d74f,Object[_0x1dd10d(0x2d8)](_0x5bee77)['map'](_0x5c65e7=>_0x5bee77[_0x5c65e7])[_0x1dd10d(0x18f)](_0x5038cf=>({..._0x5038cf,'data':_0x5038cf['data']?JSON[_0x1dd10d(0x1b2)](_0x56c5d7(_0x5038cf['data'])):void 0x0})));}function rt(_0x135d58){let _0x2bfe81=_0x135d58['snapshot'];return _0x1ca21f(_0x2bfe81);}function it(_0x5a2961){let _0x4b997a=_0x5a2961['snapshot'];return _0x843469(_0x4b997a);}var K=class{constructor(){const _0x3de720=_0x1f4438;O(this,_0x3de720(0x204),new Map());}[_0x1f4438(0x1cd)](){const _0x25aef4=_0x1f4438;return Promise[_0x25aef4(0x242)]({'snapshot':{'unitID':'','type':_0x1205ec['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x1d8)](_0x517001,_0x1fb58e){const _0x132810=_0x1f4438;let _0x38b90c=this[_0x132810(0x204)][_0x132810(0x201)](_0x1fb58e['blockID']);return Promise[_0x132810(0x242)]({'block':_0x38b90c,'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x20a)](_0x15e5e7,_0xc5761){const _0x10e6a9=_0x1f4438;let _0x3e0a14=this[_0x10e6a9(0x204)][_0x10e6a9(0x201)](_0xc5761[_0x10e6a9(0x1e7)]);return Promise[_0x10e6a9(0x242)]({'block':_0x3e0a14===void 0x0?void 0x0:{..._0x3e0a14,'data':JSON['parse'](_0x3cad68['decode'](_0x3e0a14[_0x10e6a9(0x1e8)]))},'error':{'code':_0x1e5b34['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x2d3f0a=_0x1f4438;return Promise[_0x2d3f0a(0x242)]({'changesets':[],'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x205)](){const _0x136fb3=_0x1f4438;return Promise[_0x136fb3(0x242)]({'resources':{},'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x27d)](){const _0x357d53=_0x1f4438;return Promise[_0x357d53(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''}});}[_0x1f4438(0x21e)](){const _0x4e36ec=_0x1f4438;return Promise[_0x4e36ec(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''}});}['saveSheetBlock'](_0xdd48c3,_0x54e7e3){const _0x6eef18=_0x1f4438;let {block:_0x54804b}=_0x54e7e3;return _0x54804b?(this['_sheetBlockCache'][_0x6eef18(0x292)](_0x54804b['id'],_0x54804b),Promise[_0x6eef18(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''},'blockID':_0x54804b['id']})):Promise['resolve']({'error':{'code':_0x1e5b34[_0x6eef18(0x1da)],'message':_0x6eef18(0x1bb)},'blockID':''});}[_0x1f4438(0x2cb)](){const _0x4a93d5=_0x1f4438;return Promise[_0x4a93d5(0x242)]({'error':{'code':_0x1e5b34['OK'],'message':''},'concurrent':[]});}[_0x1f4438(0x259)](){return Promise['resolve']({'error':void 0x0,'fileMetaId':''});}[_0x1f4438(0x219)](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};const q=_0x3b572e('univer-pro.exchange-client.exchange.service');let J=class extends _0x2fe81a{constructor(_0x1db8df,_0x3d109b,_0xc89b39){const _0x4135ce=_0x1f4438;super(),this[_0x4135ce(0x266)]=_0x1db8df,this[_0x4135ce(0x19d)]=_0x3d109b,this[_0x4135ce(0x1d7)]=_0xc89b39,O(this,'_importTaskId',null),O(this,_0x4135ce(0x23c),new _0x347e9d()),O(this,_0x4135ce(0x1d4),this['_requestState$']['asObservable']());}['dispose'](){const _0x4bb8c0=_0x1f4438;super[_0x4bb8c0(0x1b7)](),this[_0x4bb8c0(0x23c)][_0x4bb8c0(0x190)]();}async[_0x1f4438(0x18c)](_0x409e77){const _0x4ffe6d=_0x1f4438;let _0x44f3bc=await this[_0x4ffe6d(0x226)](_0x409e77,_0x1205ec[_0x4ffe6d(0x21f)]);if(!_0x44f3bc||!_0x44f3bc[_0x4ffe6d(0x234)])return;let _0x14e533=rt(_0x44f3bc);if(_0x14e533)return _0x14e533;}async[_0x1f4438(0x221)](_0x26f2f7){return this['_export'](_0x26f2f7,0x1,_0x1205ec['UNIVER_DOC']);}async[_0x1f4438(0x232)](_0x31a571){const _0x2cf7a8=_0x1f4438;let _0x501853=await et(_0x31a571);return this['_exportBySnapshot'](_0x501853,_0x1205ec[_0x2cf7a8(0x21f)]);}async['importPPTXToSnapshot'](_0x1d7da5){const _0x23ac5f=_0x1f4438;let _0x51df23=await this[_0x23ac5f(0x226)](_0x1d7da5,_0x1205ec[_0x23ac5f(0x200)]);if(!(!_0x51df23||!_0x51df23[_0x23ac5f(0x234)]))return it(_0x51df23);}async[_0x1f4438(0x25b)](_0x507cfa){const _0x2522bf=_0x1f4438;return this[_0x2522bf(0x27e)](_0x507cfa,0x1,_0x1205ec[_0x2522bf(0x200)]);}async[_0x1f4438(0x2c8)](_0x402379){const _0x5a69ce=_0x1f4438;let _0x1b8534=await tt(_0x402379);return this[_0x5a69ce(0x285)](_0x1b8534,_0x1205ec['UNIVER_SLIDE']);}async[_0x1f4438(0x1ed)](_0x219d01){const _0x30d915=_0x1f4438;let _0xd07c82=await this[_0x30d915(0x226)](_0x219d01,_0x1205ec[_0x30d915(0x19b)]);if(!_0xd07c82)return;let _0x4c4fe6=await nt(_0xd07c82);if(_0x4c4fe6)return _0x4c4fe6;}async[_0x1f4438(0x22a)](_0x1ad3a4){const _0x1e7ac8=_0x1f4438;return this['_export'](_0x1ad3a4,0x1,_0x1205ec[_0x1e7ac8(0x19b)]);}async['exportXLSXBySnapshot'](_0x3eac3c){const _0x45de71=_0x1f4438;let _0x167263=await G(_0x3eac3c);return this[_0x45de71(0x285)](_0x167263,_0x1205ec['UNIVER_SHEET']);}async['importFileToUnitId'](_0xae14fd,_0x5a7129){const _0x37c64f=_0x1f4438;var _0x4274e3,_0x147d2b;let _0x3a2b1d=await this[_0x37c64f(0x1be)](_0xae14fd);if(!_0x3a2b1d)return;let _0x133856=await this[_0x37c64f(0x287)](_0x3a2b1d,0x1,_0x5a7129);if(!_0x133856)return;this['_importTaskId']=_0x133856,this[_0x37c64f(0x1d7)][_0x37c64f(0x20c)]();let _0x266181=await this['_requestService'][_0x37c64f(0x2bf)](_0x133856)[_0x37c64f(0x191)](_0x5517da=>{const _0xcf4cdc=_0x37c64f;var _0x91149a;let _0x5475fd=_0x5517da instanceof Error?_0x5517da[_0xcf4cdc(0x1d9)]:(_0x91149a=_0x5517da['error'])==null?void 0x0:_0x91149a['message'];this['_requestState$']['next']({'error':{'code':_0x1e5b34[_0xcf4cdc(0x193)],'message':_0x5475fd||''},'state':0x3});});if(!_0x266181)return;let _0x36f781=(_0x4274e3=_0x266181['import'])==null?void 0x0:_0x4274e3['outputType'],_0x192983=((_0x147d2b=_0x266181[_0x37c64f(0x1ae)])==null?void 0x0:_0x147d2b['unitID'])||'';if(_0x36f781!==0x1){this[_0x37c64f(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x37c64f(0x193)],'message':_0x37c64f(0x1ce)},'state':0x3});return;}if(_0x192983[_0x37c64f(0x262)]===0x0){this[_0x37c64f(0x23c)][_0x37c64f(0x1e3)]({'error':{'code':_0x1e5b34[_0x37c64f(0x193)],'message':_0x37c64f(0x220)},'state':0x3});return;}return this['_requestState$'][_0x37c64f(0x1e3)]({'error':_0x266181['error'],'state':0x3}),_0x192983;}async[_0x1f4438(0x226)](_0x2bee13,_0x2d5412){const _0x210a2b=_0x1f4438;return this[_0x210a2b(0x260)](_0x2bee13,_0x2d5412);}async['importWorkbookDataToUnitId'](_0x38040e){const _0x1b731d=_0x1f4438;let _0x3a25b9=await G(_0x38040e),_0x3c3045=typeof _0x38040e['id']=='string'&&_0x38040e['id']['trim']()?_0x38040e['id']['trim']()+_0x1b731d(0x207):_0x1b731d(0x2a1),_0x183449=new File([JSON[_0x1b731d(0x2ad)](_0x3a25b9)],_0x3c3045,{'type':_0x1b731d(0x1b3)});return this[_0x1b731d(0x237)](_0x183449,_0x1205ec[_0x1b731d(0x19b)]);}[_0x1f4438(0x2c6)](){const _0x489c26=_0x1f4438;this[_0x489c26(0x2ba)]&&this[_0x489c26(0x1d7)]['setTaskInterrupted'](this[_0x489c26(0x2ba)]);}async[_0x1f4438(0x260)](_0x364fa1,_0x4dfd57){const _0x1dce40=_0x1f4438;var _0x3f5c5f,_0x516a46;let _0x4c4b7a=await this['_upload'](_0x364fa1);if(!_0x4c4b7a)return;let _0x1c0c16=await this[_0x1dce40(0x287)](_0x4c4b7a,0x2,_0x4dfd57);if(!_0x1c0c16)return;this[_0x1dce40(0x2ba)]=_0x1c0c16,this[_0x1dce40(0x1d7)][_0x1dce40(0x20c)]();let _0x5280e1=await this[_0x1dce40(0x1d7)][_0x1dce40(0x2bf)](_0x1c0c16)[_0x1dce40(0x191)](_0xec4395=>{const _0x1c8b0e=_0x1dce40;var _0x8dca03;let _0x3dca20=_0xec4395 instanceof Error?_0xec4395[_0x1c8b0e(0x1d9)]:(_0x8dca03=_0xec4395[_0x1c8b0e(0x1cf)])==null?void 0x0:_0x8dca03[_0x1c8b0e(0x1d9)];this[_0x1c8b0e(0x23c)][_0x1c8b0e(0x1e3)]({'error':{'code':_0x1e5b34[_0x1c8b0e(0x193)],'message':_0x3dca20||''},'state':0x3});});if(!_0x5280e1)return;let _0x18b5a4=(_0x3f5c5f=_0x5280e1['import'])==null?void 0x0:_0x3f5c5f[_0x1dce40(0x2b7)],_0x103675=((_0x516a46=_0x5280e1['import'])==null?void 0x0:_0x516a46[_0x1dce40(0x249)])||'';if(_0x18b5a4!==0x2){this['_requestState$'][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34[_0x1dce40(0x193)],'message':_0x1dce40(0x1ce)},'state':0x3});return;}if(_0x103675[_0x1dce40(0x262)]===0x0){this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34[_0x1dce40(0x193)],'message':_0x1dce40(0x2cd)},'state':0x3});return;}this[_0x1dce40(0x23c)]['next']({'error':_0x5280e1[_0x1dce40(0x1cf)],'state':0x3});let _0x10bf06=await this[_0x1dce40(0x2d2)](_0x103675);if(!_0x10bf06)return;let _0x19c9b3=await this[_0x1dce40(0x1d7)]['getTextFromUrl'](_0x10bf06);if(!_0x19c9b3){this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34[_0x1dce40(0x193)],'message':_0x1dce40(0x2c7)},'state':0x5});return;}try{let _0x20791f=JSON[_0x1dce40(0x1b2)](_0x19c9b3);return this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34['OK'],'message':_0x1dce40(0x187)},'state':0x5}),_0x20791f;}catch{this[_0x1dce40(0x23c)][_0x1dce40(0x1e3)]({'error':{'code':_0x1e5b34['UNRECOGNIZED'],'message':_0x1dce40(0x227)},'state':0x5});}}async[_0x1f4438(0x285)](_0x5a7615,_0x454bed){const _0x475467=_0x1f4438;let _0x24dc13=JSON['stringify'](_0x5a7615),_0x196d5d=_0x141b75[_0x475467(0x247)](_0x24dc13),_0x53d330=_0x474f57(_0x196d5d),_0x2211f6=_0x196d5d[_0x475467(0x262)],_0x14aea5=qe(_0x53d330),_0x2a023d=await this[_0x475467(0x1be)](_0x14aea5,_0x2211f6,!0x0);if(_0x2a023d)return this[_0x475467(0x27e)](_0x2a023d,0x2,_0x454bed);}async[_0x1f4438(0x27e)](_0x49be88,_0x15bdc9,_0x30b531){const _0x285f23=_0x1f4438;var _0x546518;let _0x9b0597=await this[_0x285f23(0x1d7)][_0x285f23(0x20b)]({'unitID':_0x15bdc9===0x1?_0x49be88:'','jsonID':_0x15bdc9===0x2?_0x49be88:'','type':_0x30b531,'sscSwitch':this[_0x285f23(0x198)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0x285f23(0x1f2)]()});if(!_0x9b0597){this[_0x285f23(0x23c)][_0x285f23(0x1e3)]({'error':{'code':_0x1e5b34[_0x285f23(0x193)],'message':'export\x20error'},'state':0x2});return;}if(this[_0x285f23(0x23c)]['next']({'error':_0x9b0597[_0x285f23(0x1cf)],'state':0x2}),_0x9b0597[_0x285f23(0x1cf)]&&_0x9b0597['error'][_0x285f23(0x224)]!==_0x1e5b34['OK'])return;let _0x117f79=_0x9b0597[_0x285f23(0x1c1)],_0x14265c=await this[_0x285f23(0x1d7)][_0x285f23(0x2bf)](_0x117f79)['catch'](_0x47e36c=>{const _0x40c301=_0x285f23;var _0x26e698;let _0x34001f=_0x47e36c instanceof Error?_0x47e36c[_0x40c301(0x1d9)]:(_0x26e698=_0x47e36c[_0x40c301(0x1cf)])==null?void 0x0:_0x26e698['message'];this[_0x40c301(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x40c301(0x193)],'message':_0x34001f||''},'state':0x3});});if(!_0x14265c)return;let _0x2a8ba9=((_0x546518=_0x14265c[_0x285f23(0x20b)])==null?void 0x0:_0x546518[_0x285f23(0x258)])||'';if(_0x2a8ba9[_0x285f23(0x262)]===0x0){this[_0x285f23(0x23c)][_0x285f23(0x1e3)]({'error':{'code':_0x1e5b34['UNRECOGNIZED'],'message':_0x285f23(0x1a1)},'state':0x3});return;}this[_0x285f23(0x23c)][_0x285f23(0x1e3)]({'error':_0x14265c[_0x285f23(0x1cf)],'state':0x3});let _0x44b031=await this[_0x285f23(0x2d2)](_0x2a8ba9);if(!_0x44b031)return;let _0x11e2d2=await z(_0x44b031,this[_0x285f23(0x19d)]);if(!_0x11e2d2){this[_0x285f23(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x285f23(0x193)],'message':_0x285f23(0x2bd)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':_0x1e5b34['OK'],'message':_0x285f23(0x187)},'state':0x6}),_0x11e2d2;}async['_upload'](_0x6a9e4b,_0x211f56,_0x5a5e7d){const _0x310bba=_0x1f4438;let _0xd842ca;try{_0xd842ca=await this[_0x310bba(0x1d7)][_0x310bba(0x235)](_0x6a9e4b,_0x211f56,_0x5a5e7d);}catch(_0x179da8){let _0x4c6b70=_0x179da8 instanceof Error?_0x179da8[_0x310bba(0x1d9)]:String(_0x179da8);this['_requestState$'][_0x310bba(0x1e3)]({'error':{'code':_0x1e5b34[_0x310bba(0x193)],'message':_0x4c6b70},'state':0x0});return;}if(!_0xd842ca||typeof _0xd842ca[_0x310bba(0x268)]!=_0x310bba(0x1f9)){this[_0x310bba(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x310bba(0x193)],'message':_0x310bba(0x20e)},'state':0x0});return;}let _0x3f34b6=_0xd842ca[_0x310bba(0x268)];if(_0x3f34b6[_0x310bba(0x262)]===0x0){this[_0x310bba(0x23c)]['next']({'error':{'code':_0x1e5b34[_0x310bba(0x193)],'message':_0x310bba(0x188)},'state':0x0});return;}return this[_0x310bba(0x23c)][_0x310bba(0x1e3)]({'error':{'code':_0x1e5b34['OK'],'message':'success'},'state':0x0}),_0x3f34b6;}async[_0x1f4438(0x287)](_0xc420cb,_0x451828,_0x24637f){const _0x568122=_0x1f4438;let _0x2fcc3a={'fileID':_0xc420cb,'type':_0x24637f,'outputType':_0x451828,'fileUrl':'','minSheetRowCount':this[_0x568122(0x1ca)](),'minSheetColumnCount':this[_0x568122(0x1bc)]()},_0x162537=await this[_0x568122(0x1d7)][_0x568122(0x1ae)](_0x2fcc3a);if(!_0x162537){this['_requestState$'][_0x568122(0x1e3)]({'error':{'code':_0x1e5b34[_0x568122(0x193)],'message':_0x568122(0x2d0)},'state':0x1});return;}if(_0x162537[_0x568122(0x1cf)]&&_0x162537['error']['code']!==_0x1e5b34['OK']){this[_0x568122(0x23c)][_0x568122(0x1e3)]({'error':_0x162537[_0x568122(0x1cf)],'state':0x1});return;}let _0x1b308b=_0x162537['taskID'];if(_0x1b308b[_0x568122(0x262)]===0x0){this[_0x568122(0x23c)]['next']({'error':{'code':_0x1e5b34['UNRECOGNIZED'],'message':_0x568122(0x222)},'state':0x1});return;}return this[_0x568122(0x23c)]['next']({'error':_0x162537[_0x568122(0x1cf)],'state':0x1}),_0x1b308b;}async[_0x1f4438(0x2d2)](_0x4863ee){const _0x106b13=_0x1f4438;let _0x59d662=await this['_requestService']['signUrl'](_0x4863ee);if(!_0x59d662){this['_requestState$']['next']({'error':{'code':_0x1e5b34[_0x106b13(0x193)],'message':_0x106b13(0x21b)},'state':0x4});return;}if(_0x59d662[_0x106b13(0x1cf)]&&_0x59d662['error'][_0x106b13(0x224)]!==_0x1e5b34['OK']){this['_requestState$'][_0x106b13(0x1e3)]({'error':_0x59d662[_0x106b13(0x1cf)],'state':0x4});return;}let _0x258c3c=_0x596ed2(_0x59d662[_0x106b13(0x23f)],this[_0x106b13(0x1bd)]());if(_0x258c3c[_0x106b13(0x262)]===0x0){this[_0x106b13(0x23c)][_0x106b13(0x1e3)]({'error':{'code':_0x1e5b34[_0x106b13(0x193)],'message':_0x106b13(0x21b)},'state':0x4});return;}return this[_0x106b13(0x23c)][_0x106b13(0x1e3)]({'error':_0x59d662[_0x106b13(0x1cf)],'state':0x4}),_0x258c3c;}[_0x1f4438(0x1bd)](){const _0x1c6a35=_0x1f4438;var _0x25cc6d;let _0x1c3668=this[_0x1c6a35(0x266)][_0x1c6a35(0x18b)](T);return(_0x25cc6d=_0x1c3668==null?void 0x0:_0x1c3668[_0x1c6a35(0x296)])==null?location[_0x1c6a35(0x28e)]:_0x25cc6d;}[_0x1f4438(0x1ca)](){const _0x19de6f=_0x1f4438;var _0x368ce2,_0x22046b;let _0x25a219=this[_0x19de6f(0x266)][_0x19de6f(0x18b)](T);return(_0x368ce2=_0x25a219==null||(_0x22046b=_0x25a219[_0x19de6f(0x1f0)])==null?void 0x0:_0x22046b['minSheetRowCount'])==null?0x1:_0x368ce2;}['_getMinSheetColumnCount'](){const _0x32f2a3=_0x1f4438;var _0x102060,_0x590cfd;let _0x139846=this['_configService'][_0x32f2a3(0x18b)](T);return(_0x102060=_0x139846==null||(_0x590cfd=_0x139846['options'])==null?void 0x0:_0x590cfd['minSheetColumnCount'])==null?0x1:_0x102060;}['_getEnableServerSideComputing'](){const _0x2a8d06=_0x1f4438;var _0xc1f7ee,_0x352690;let _0x1cdd47=this[_0x2a8d06(0x266)][_0x2a8d06(0x18b)](T);return(_0xc1f7ee=_0x1cdd47==null||(_0x352690=_0x1cdd47[_0x2a8d06(0x1f0)])==null?void 0x0:_0x352690[_0x2a8d06(0x22e)])==null?!0x1:_0xc1f7ee;}[_0x1f4438(0x1c7)](){const _0x18f14a=_0x1f4438;var _0x24e0aa,_0xd312e7;let _0xf65760=this[_0x18f14a(0x266)][_0x18f14a(0x18b)](T);return(_0x24e0aa=_0xf65760==null||(_0xd312e7=_0xf65760[_0x18f14a(0x1f0)])==null?void 0x0:_0xd312e7[_0x18f14a(0x1d0)])==null?!0x0:_0x24e0aa;}[_0x1f4438(0x1f2)](){const _0x5e0d7b=_0x1f4438;var _0x31fa98,_0xe32896;let _0x513f3a=this[_0x5e0d7b(0x266)][_0x5e0d7b(0x18b)](T);return(_0x31fa98=_0x513f3a==null||(_0xe32896=_0x513f3a[_0x5e0d7b(0x1f0)])==null?void 0x0:_0xe32896['ignoreTableExport'])==null?!0x1:_0x31fa98;}};J=H([V(0x0,_0x3e68f8),V(0x1,_0x385976(_0x4f83f3)),V(0x2,_0x385976(U))],J);const at={'done':0x0,'count':0x0},Y=_0x3b572e('univer-pro.exchange-client.operate.service');let X=class extends _0x2fe81a{constructor(_0x39e0af,_0x1494c6,_0x44e6cd,_0x227f2b,_0x550285,_0x4ef07a,_0x5c5a67){const _0x299421=_0x1f4438;super(),this['_univerInstanceService']=_0x39e0af,this[_0x299421(0x2d4)]=_0x1494c6,this[_0x299421(0x291)]=_0x44e6cd,this[_0x299421(0x2b0)]=_0x227f2b,this['_uploadNotificationService']=_0x550285,this[_0x299421(0x279)]=_0x4ef07a,this[_0x299421(0x1c5)]=_0x5c5a67,O(this,_0x299421(0x1b6),new _0x405bce(at)),O(this,_0x299421(0x269),this[_0x299421(0x1b6)][_0x299421(0x255)]()),O(this,_0x299421(0x290),0x0),O(this,'_doneUploadTaskCount',0x0),this[_0x299421(0x2db)](_0x588f34(this[_0x299421(0x2b0)][_0x299421(0x1d4)][_0x299421(0x294)](_0x4c0aba=>{const _0x4eed9c=_0x299421;var _0x1f4122;((_0x1f4122=_0x4c0aba[_0x4eed9c(0x1cf)])==null?void 0x0:_0x1f4122[_0x4eed9c(0x224)])===_0x1e5b34['OK']?this['_addDoneTask'](0x1):this[_0x4eed9c(0x2c9)](_0x4c0aba[_0x4eed9c(0x1cf)]);})));}['interrupt'](){const _0x4bd161=_0x1f4438;this[_0x4bd161(0x1a7)](),this[_0x4bd161(0x2d7)][_0x4bd161(0x19e)](0x2),this[_0x4bd161(0x2b0)][_0x4bd161(0x2c6)]();}async[_0x1f4438(0x24f)](_0x489f95){throw Error('Method\x20not\x20implemented.');}async[_0x1f4438(0x2b9)](){const _0x4c1b53=_0x1f4438;let _0x1142fa=this['_univerInstanceService'][_0x4c1b53(0x25c)]();switch(_0x1142fa?this[_0x4c1b53(0x2c4)][_0x4c1b53(0x213)](_0x1142fa[_0x4c1b53(0x1ad)]()):_0x1205ec['UNRECOGNIZED']){case _0x1205ec[_0x4c1b53(0x200)]:return this[_0x4c1b53(0x1d5)]();case _0x1205ec[_0x4c1b53(0x21f)]:return this['importDOCXToUnitId']();case _0x1205ec[_0x4c1b53(0x19b)]:default:return this[_0x4c1b53(0x1c4)]();}}async['importDOCXToUnitId'](){const _0x3f4fd0=_0x1f4438;let _0x152778=await R([_0x1205ec[_0x3f4fd0(0x21f)]]);if(_0x152778&&!this['_fileTypeError'](_0x152778,_0x1205ec[_0x3f4fd0(0x21f)]))return this[_0x3f4fd0(0x2da)](_0x152778[0x0],_0x1205ec[_0x3f4fd0(0x21f)]);}[_0x1f4438(0x18c)](){const _0x47d50d=_0x1f4438;throw Error(_0x47d50d(0x195));}async[_0x1f4438(0x221)](_0x48d01b,_0x1ca527,_0x334669){const _0x11f444=_0x1f4438;this[_0x11f444(0x183)](_0x1367cd[_0x11f444(0x251)]);let _0x4727f2=await this['_exchangeService'][_0x11f444(0x221)](_0x48d01b||this[_0x11f444(0x1e0)]());_0x4727f2&&(L(_0x4727f2,_0x1ca527||this[_0x11f444(0x2ac)](_0x4727f2),_0x11f444(0x1cc)),this['_showDownloadMessage'](_0x1367cd[_0x11f444(0x1a6)]));}async[_0x1f4438(0x232)](){const _0x30bf98=_0x1f4438;this[_0x30bf98(0x183)](_0x1367cd['Info']);let _0x237835=await this[_0x30bf98(0x2be)](),_0x4a79ba=await this[_0x30bf98(0x2b0)][_0x30bf98(0x232)](_0x237835);_0x4a79ba&&(L(_0x4a79ba,this[_0x30bf98(0x2ac)](_0x4a79ba),_0x30bf98(0x1cc)),this[_0x30bf98(0x183)](_0x1367cd[_0x30bf98(0x1a6)]));}async[_0x1f4438(0x1d5)](){const _0x4ad04a=_0x1f4438;if(this[_0x4ad04a(0x208)]()){this['_messageService'][_0x4ad04a(0x1eb)]({'type':_0x1367cd[_0x4ad04a(0x263)],'content':this['_localeService']['t'](_0x4ad04a(0x23a))});return;}let _0x2bdaba=await R([_0x1205ec[_0x4ad04a(0x200)]]);if(_0x2bdaba&&!this['_fileTypeError'](_0x2bdaba,_0x1205ec['UNIVER_SLIDE']))return this[_0x4ad04a(0x2da)](_0x2bdaba[0x0],_0x1205ec[_0x4ad04a(0x200)]);}async[_0x1f4438(0x2c2)](){const _0x17c9e3=_0x1f4438;if(this[_0x17c9e3(0x208)]()){this['_messageService'][_0x17c9e3(0x1eb)]({'type':_0x1367cd['Warning'],'content':this[_0x17c9e3(0x291)]['t']('exchange-client.uploading')});return;}let _0x11d949=await R([_0x1205ec[_0x17c9e3(0x200)]]);if(!_0x11d949)return;this['_showUploadMessage'](_0x1367cd[_0x17c9e3(0x251)]);let _0x5d8e71=await this[_0x17c9e3(0x2b0)][_0x17c9e3(0x2c2)](_0x11d949[0x0]);_0x5d8e71&&(this[_0x17c9e3(0x23e)](_0x5d8e71),this[_0x17c9e3(0x2b4)](_0x1367cd['Success']));}async[_0x1f4438(0x25b)](_0x1f9940,_0x5b0cb4,_0x52f57c){const _0x70f433=_0x1f4438;this[_0x70f433(0x183)](_0x1367cd[_0x70f433(0x251)]);let _0x5368fc=await this[_0x70f433(0x2b0)]['exportPPTXByUnitId'](_0x1f9940||this['_getUnitIDSlide']());_0x5368fc&&(L(_0x5368fc,_0x5b0cb4||this[_0x70f433(0x20f)](_0x5368fc,_0x52f57c==null?_0x1205ec[_0x70f433(0x200)]:_0x52f57c),_0x70f433(0x257)),this[_0x70f433(0x183)](_0x1367cd[_0x70f433(0x1a6)]));}async[_0x1f4438(0x2c8)](){const _0x3075dc=_0x1f4438;this[_0x3075dc(0x183)](_0x1367cd[_0x3075dc(0x251)]);let _0x3f29b0=await this[_0x3075dc(0x267)](),_0x5db204=await this[_0x3075dc(0x2b0)]['exportPPTXBySnapshot'](_0x3f29b0);_0x5db204&&(L(_0x5db204,this[_0x3075dc(0x20f)](_0x5db204,_0x1205ec[_0x3075dc(0x200)]),_0x3075dc(0x257)),this[_0x3075dc(0x183)](_0x1367cd[_0x3075dc(0x1a6)]));}async[_0x1f4438(0x1c4)](){const _0x18c0a9=_0x1f4438;if(this[_0x18c0a9(0x208)]()){this[_0x18c0a9(0x2d4)]['show']({'type':_0x1367cd[_0x18c0a9(0x263)],'content':this[_0x18c0a9(0x291)]['t'](_0x18c0a9(0x23a))});return;}let _0x430736=await R([_0x1205ec[_0x18c0a9(0x19b)]]);if(_0x430736&&!this['_fileTypeError'](_0x430736,_0x1205ec[_0x18c0a9(0x19b)]))return this[_0x18c0a9(0x2da)](_0x430736[0x0],_0x1205ec['UNIVER_SHEET']);}async[_0x1f4438(0x1ed)](){const _0x393118=_0x1f4438;if(this[_0x393118(0x208)]()){this[_0x393118(0x2d4)][_0x393118(0x1eb)]({'type':_0x1367cd[_0x393118(0x263)],'content':this['_localeService']['t'](_0x393118(0x23a))});return;}let _0x580b46=await R([_0x1205ec[_0x393118(0x19b)]]);if(!_0x580b46)return;this[_0x393118(0x2b4)](_0x1367cd[_0x393118(0x251)]);let _0x1a6381=await this[_0x393118(0x2b0)][_0x393118(0x1ed)](_0x580b46[0x0]);_0x1a6381&&(this[_0x393118(0x289)](_0x1a6381),this[_0x393118(0x2b4)](_0x1367cd[_0x393118(0x1a6)]));}async[_0x1f4438(0x22a)](_0x28857d,_0x484bba,_0xd0d05e){const _0x3ba47e=_0x1f4438;this[_0x3ba47e(0x183)](_0x1367cd[_0x3ba47e(0x251)]);let _0x1cc639=await this[_0x3ba47e(0x2b0)][_0x3ba47e(0x22a)](_0x28857d||this[_0x3ba47e(0x1c9)]());_0x1cc639&&(L(_0x1cc639,_0x484bba||this['_getUnitName'](_0x1cc639),_0x3ba47e(0x181)),this[_0x3ba47e(0x183)](_0x1367cd[_0x3ba47e(0x1a6)]));}async[_0x1f4438(0x1b5)](){const _0x5b991c=_0x1f4438;this[_0x5b991c(0x183)](_0x1367cd[_0x5b991c(0x251)]);let _0x5ae6a9=await this['_getUnitJson'](),_0x57ec0c=await this['_exchangeService'][_0x5b991c(0x1b5)](_0x5ae6a9);_0x57ec0c&&(L(_0x57ec0c,this[_0x5b991c(0x2ac)](_0x57ec0c),_0x5b991c(0x181)),this[_0x5b991c(0x183)](_0x1367cd[_0x5b991c(0x1a6)]));}['registerLink'](_0xa757a6){const _0x2bdf27=_0x1f4438;this[_0x2bdf27(0x1e1)]=_0xa757a6;}async[_0x1f4438(0x2da)](_0x379f59,_0x109f27){const _0xf36b34=_0x1f4438;this[_0xf36b34(0x2d7)][_0xf36b34(0x1eb)](),this[_0xf36b34(0x2d7)][_0xf36b34(0x19e)](0x0),this[_0xf36b34(0x1ab)](0x4),this['_addDoneTask'](0x1);let _0x23aef7=await this['_exchangeService'][_0xf36b34(0x237)](_0x379f59,_0x109f27);if(!_0x23aef7){this[_0xf36b34(0x1a7)](),this[_0xf36b34(0x2d7)][_0xf36b34(0x19e)](0x2);return;}let _0x51acc5={'link':this['_getLinkByUnitId'](_0x23aef7,_0x109f27),'name':_0x379f59['name'],'type':_0x109f27};return this[_0xf36b34(0x2d7)][_0xf36b34(0x1aa)](_0x51acc5),this[_0xf36b34(0x256)](),this[_0xf36b34(0x2d7)][_0xf36b34(0x19e)](0x1),_0x23aef7;}[_0x1f4438(0x1c9)](){const _0x18d54e=_0x1f4438;return this[_0x18d54e(0x2c4)][_0x18d54e(0x2c5)](_0x1205ec['UNIVER_SHEET'])[_0x18d54e(0x1ad)]();}[_0x1f4438(0x1e0)](){const _0xbcd076=_0x1f4438;return this['_univerInstanceService'][_0xbcd076(0x2c5)](_0x1205ec[_0xbcd076(0x21f)])['getUnitId']();}[_0x1f4438(0x29a)](){const _0xd82903=_0x1f4438;return this['_univerInstanceService'][_0xd82903(0x2c5)](_0x1205ec[_0xd82903(0x200)])[_0xd82903(0x1ad)]();}[_0x1f4438(0x2ac)](_0x1cf403){return this['_getUnitNameByType'](_0x1cf403,_0x1205ec['UNIVER_SHEET']);}[_0x1f4438(0x20f)](_0x61c11b,_0x173b06){const _0x2ed269=_0x1f4438;var _0x432fa5;let _0x57014d=(_0x432fa5=this[_0x2ed269(0x2c4)][_0x2ed269(0x2c5)](_0x173b06))==null?void 0x0:_0x432fa5[_0x2ed269(0x275)](),_0x2212fd=_0x57014d==null?void 0x0:_0x57014d[_0x2ed269(0x2bc)];return typeof _0x2212fd=='string'&&_0x2212fd[_0x2ed269(0x2ca)]()?_0x2212fd:_0x61c11b[_0x2ed269(0x2bc)][_0x2ed269(0x199)]('.')[_0x2ed269(0x26a)]()||document[_0x2ed269(0x278)];}async[_0x1f4438(0x264)](){const _0x4d7a9b=_0x1f4438;return this[_0x4d7a9b(0x2c4)][_0x4d7a9b(0x2c5)](_0x1205ec[_0x4d7a9b(0x19b)])[_0x4d7a9b(0x275)]();}async[_0x1f4438(0x2be)](){const _0x3108d6=_0x1f4438;return this[_0x3108d6(0x2c4)][_0x3108d6(0x2c5)](_0x1205ec[_0x3108d6(0x21f)])[_0x3108d6(0x275)]();}async[_0x1f4438(0x267)](){const _0x157836=_0x1f4438;let _0x3de732=this[_0x157836(0x2c4)]['getCurrentUnitOfType'](_0x1205ec[_0x157836(0x200)]),_0x33d949=this[_0x157836(0x1c5)]['saveUnit'](_0x3de732['getUnitId']());return _0x33d949==null?_0x3de732[_0x157836(0x275)]():_0x33d949;}[_0x1f4438(0x1e1)](_0x39d919,_0xdbbd5c){const _0x427da8=_0x1f4438;let _0x1f8662=new URL(window['location'][_0x427da8(0x211)]);return _0x1f8662[_0x427da8(0x299)][_0x427da8(0x292)]('unit',_0x39d919),_0x1f8662[_0x427da8(0x299)][_0x427da8(0x292)](_0x427da8(0x21d),''+_0xdbbd5c),_0x1f8662[_0x427da8(0x28c)]();}[_0x1f4438(0x289)](_0xa9ae9){const _0x51c4d3=_0x1f4438;let _0x2a267c=this[_0x51c4d3(0x2c4)][_0x51c4d3(0x2c5)](_0x1205ec[_0x51c4d3(0x19b)])['getUnitId']();this['_univerInstanceService']['disposeUnit'](_0x2a267c),this[_0x51c4d3(0x2c4)][_0x51c4d3(0x277)](_0x1205ec[_0x51c4d3(0x19b)],_0xa9ae9);}[_0x1f4438(0x23e)](_0x31a2ec){const _0x49ac54=_0x1f4438;let _0x5f4281=this[_0x49ac54(0x2c4)][_0x49ac54(0x2c5)](_0x1205ec['UNIVER_SLIDE'])[_0x49ac54(0x1ad)]();this[_0x49ac54(0x2c4)]['disposeUnit'](_0x5f4281),this[_0x49ac54(0x2c4)]['createUnit'](_0x1205ec[_0x49ac54(0x200)],_0x31a2ec);}[_0x1f4438(0x2c9)](_0x1c5d50){const _0x1db6ca=_0x1f4438;if(_0x1c5d50){let {code:_0x2ff890}=_0x1c5d50;switch(_0x2ff890){case _0x1e5b34[_0x1db6ca(0x2a0)]:this[_0x1db6ca(0x2d4)]['show']({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t'](_0x1db6ca(0x1c3))});break;case _0x1e5b34[_0x1db6ca(0x186)]:this['_messageService'][_0x1db6ca(0x1eb)]({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t'](_0x1db6ca(0x29b))});break;default:this['_messageService'][_0x1db6ca(0x1eb)]({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t'](_0x1db6ca(0x1fd))});break;}return null;}return this[_0x1db6ca(0x2d4)][_0x1db6ca(0x1eb)]({'type':_0x1367cd[_0x1db6ca(0x2cc)],'content':this[_0x1db6ca(0x291)]['t']('exchange-client.networkError')}),null;}[_0x1f4438(0x183)](_0x2f5075){const _0x4a14d2=_0x1f4438;let _0x11573d='';switch(_0x2f5075){case _0x1367cd['Success']:_0x11573d=this[_0x4a14d2(0x291)]['t']('exchange-client.downloadSuccess');break;case _0x1367cd[_0x4a14d2(0x251)]:_0x11573d=this['_localeService']['t'](_0x4a14d2(0x1fa));break;default:break;}this['_messageService'][_0x4a14d2(0x1eb)]({'type':_0x2f5075,'content':_0x11573d});}[_0x1f4438(0x2b4)](_0x1cb006){const _0x5f35c2=_0x1f4438;let _0x5c2ac8='';switch(_0x1cb006){case _0x1367cd[_0x5f35c2(0x1a6)]:_0x5c2ac8=this[_0x5f35c2(0x291)]['t']('exchange-client.uploadSuccess');break;case _0x1367cd[_0x5f35c2(0x251)]:_0x5c2ac8=this[_0x5f35c2(0x291)]['t'](_0x5f35c2(0x23a));break;default:break;}this['_messageService'][_0x5f35c2(0x1eb)]({'type':_0x1cb006,'content':_0x5c2ac8});}[_0x1f4438(0x254)](){const _0x22f3e7=_0x1f4438;this[_0x22f3e7(0x1b6)][_0x22f3e7(0x1e3)]({'done':this[_0x22f3e7(0x210)],'count':this[_0x22f3e7(0x290)]});}[_0x1f4438(0x1ab)](_0x267d3e){const _0x90e0ee=_0x1f4438;this['_totalUploadTaskCount']+=_0x267d3e,this[_0x90e0ee(0x254)]();}[_0x1f4438(0x25e)](_0x48828b){const _0x115813=_0x1f4438;this[_0x115813(0x210)]+=_0x48828b,this[_0x115813(0x210)]=Math[_0x115813(0x1a3)](this[_0x115813(0x210)],this[_0x115813(0x290)]),this[_0x115813(0x254)]();}[_0x1f4438(0x256)](){const _0x390166=_0x1f4438;this['_doneUploadTaskCount']=this[_0x390166(0x290)],this[_0x390166(0x254)]();}['_clearProgress'](){const _0x1747f4=_0x1f4438;this['_doneUploadTaskCount']=0x0,this[_0x1747f4(0x290)]=0x0,this[_0x1747f4(0x254)]();}['_fileTypeError'](_0x468984,_0x3570c9){const _0x56c202=_0x1f4438;let _0x193cb7=_0x468984[0x0],_0xa605b4=_0x193cb7[_0x56c202(0x2bc)];return Ue(_0x193cb7)===_0x3570c9?!0x1:(this[_0x56c202(0x2d4)][_0x56c202(0x1eb)]({'type':_0x1367cd[_0x56c202(0x2cc)],'content':this[_0x56c202(0x291)]['t']('exchange-client.fileTypeError',_0xa605b4)}),!0x0);}[_0x1f4438(0x208)](){const _0x4861a4=_0x1f4438;return this[_0x4861a4(0x290)]!==0x0&&this[_0x4861a4(0x210)]!==this[_0x4861a4(0x290)];}};X=H([V(0x0,_0x385976(_0x4fcce2)),V(0x1,_0x246a95),V(0x2,_0x385976(_0x544c4f)),V(0x3,_0x385976(q)),V(0x4,_0x385976(k)),V(0x5,_0x569823),V(0x6,_0x385976(_0x20ebf2))],X);function ot(_0x2b408f){const _0x570c58=_0x1f4438;let {onClick:_0x26e808,children:_0x3f7f2a,className:_0xd0549d}=_0x2b408f;return _0x2ee3b3(_0x570c58(0x2d9),{'className':_0x34026c(_0x570c58(0x2a5),_0xd0549d),'type':_0x570c58(0x2d9),'onClick':_0x26e808,'children':_0x3f7f2a});}function Z(){const _0x374325=_0x1f4438;let _0x31eb1d=_0xd2c43d(Y),_0x3ab20a=_0xd2c43d(_0x544c4f);function _0x8b15bf(){_0x31eb1d['importFileToUnitIdByCurrentType']();}return _0x2ee3b3(ot,{'onClick':_0x8b15bf,'children':_0x3ab20a['t'](_0x374325(0x2b3))});}function st(){const _0x3af344=_0x1f4438;return _0x5dac55(_0x3af344(0x1f7),{'className':_0x3af344(0x1de),'children':[_0x2ee3b3(_0x3af344(0x1a8),{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0xd2c43d(_0x544c4f)['t']('exchange-client.interrupt')}),_0x2ee3b3(Z,{})]});}function ct(_0x958592){const _0x21ee11=_0x1f4438;let {count:_0x55a55a}=_0x958592;return _0x5dac55(_0x21ee11(0x1f7),{'className':_0x21ee11(0x1b9),'children':[_0x2ee3b3('span',{'className':_0x21ee11(0x26f),'children':_0xd2c43d(_0x544c4f)['t'](_0x21ee11(0x270),''+_0x55a55a)}),_0x2ee3b3(Z,{})]});}function lt(){const _0x4b18ff=_0x1f4438;let _0x4fc90d=_0xd2c43d(Y),_0x54ee57=_0xd2c43d(_0x544c4f);function _0x4d2886(){_0x4fc90d['interrupt']();}return _0x2ee3b3(ot,{'onClick':_0x4d2886,'children':_0x54ee57['t'](_0x4b18ff(0x1ec))});}function ut(){const _0x49c5da=_0x1f4438;let {count:_0x591caa,done:_0x11aa97}=_0x23b6ff(_0xd2c43d(Y)[_0x49c5da(0x269)]),[_0x3dba78,_0x2ff17b]=_0x5dd614(_0x591caa>0x0?_0x11aa97/_0x591caa:0x0);return _0x46a984(()=>{_0x2ff17b(_0x591caa>0x0?_0x11aa97/_0x591caa:0x0);},[_0x591caa,_0x11aa97]),_0x2ee3b3(_0x49c5da(0x1f7),{'className':_0x49c5da(0x297),'children':_0x2ee3b3(_0x49c5da(0x1f7),{'className':_0x49c5da(0x1fb),'style':{'width':Math[_0x49c5da(0x25f)](_0x3dba78*0x64)+'%'}})});}function dt(){const _0x238411=_0x1f4438;return _0x5dac55(_0x238411(0x1f7),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x2ee3b3(_0x238411(0x1a8),{'className':_0x238411(0x203),'children':_0xd2c43d(_0x544c4f)['t'](_0x238411(0x196))}),_0x2ee3b3(_0x238411(0x1f7),{'className':_0x238411(0x2aa),'children':_0x2ee3b3(ut,{})}),_0x2ee3b3(lt,{})]});}const ft={0x1:_0x2ee3b3(_0x1756d9,{'className':'univer-text-green-500'}),0x0:_0x2ee3b3(_0x2c35fc,{'className':_0x1f4438(0x23d)}),0x2:_0x2ee3b3(_0x19b7a,{'className':_0x1f4438(0x1b4)})};function pt(){const _0x57bcc9=_0x1f4438;let [_0x1863c7,_0x23c18b]=_0x5dd614(0x0),[_0x487b44,_0x53cb72]=_0x5dd614(!0x1),[_0x48c4ef,_0x4d2011]=_0x5dd614([]),_0x45a884=_0xd2c43d(k),_0x396f1f=_0xd2c43d(_0x544c4f);_0x46a984(()=>{const _0x122ae6=_0x7004;let _0x4c272f=_0x45a884[_0x122ae6(0x24a)][_0x122ae6(0x294)](_0xa6fb8f=>{_0x53cb72(_0xa6fb8f);}),_0x509747=_0x45a884[_0x122ae6(0x223)][_0x122ae6(0x294)](_0x334d90=>{_0x4d2011(_0x334d90);}),_0xd749a2=_0x45a884['state$']['subscribe'](_0x59b104=>{_0x23c18b(_0x59b104);});return()=>{const _0x35b748=_0x122ae6;_0x4c272f[_0x35b748(0x27f)](),_0x509747['unsubscribe'](),_0xd749a2[_0x35b748(0x27f)]();};},[]);function _0x2aaf09(){_0x53cb72(!0x1);}function _0x14f94d(_0x4da5aa){const _0x28a1ac=_0x7004;switch(_0x4da5aa){case 0x1:return _0x396f1f['t'](_0x28a1ac(0x1c6));case 0x0:return _0x396f1f['t'](_0x28a1ac(0x23a));case 0x2:return _0x396f1f['t'](_0x28a1ac(0x28b));default:return'';}}return _0x487b44&&_0x5dac55(_0x57bcc9(0x1f7),{'className':_0x57bcc9(0x271),'children':[_0x5dac55(_0x57bcc9(0x1f7),{'className':_0x57bcc9(0x22f),'children':[_0x5dac55(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x2bb),'children':[_0x2ee3b3(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x215),'children':ft[_0x1863c7]}),_0x2ee3b3(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x293),'children':_0x14f94d(_0x1863c7)})]}),_0x2ee3b3(_0x57bcc9(0x1a8),{'className':_0x57bcc9(0x1a0),'onClick':_0x2aaf09,'children':_0x2ee3b3(_0x417ce3,{})})]}),_0x5dac55(_0x57bcc9(0x1f7),{'children':[_0x1863c7===0x0&&_0x2ee3b3(dt,{}),_0x1863c7===0x2&&_0x2ee3b3(st,{}),_0x48c4ef[_0x57bcc9(0x262)]>0x0&&_0x2ee3b3(Ve,{'list':_0x48c4ef}),_0x1863c7===0x1&&_0x2ee3b3(ct,{'count':_0x48c4ef[_0x57bcc9(0x262)]})]})]});}function mt(){return _0x2ee3b3(pt,{});}let Q=class extends _0x2fe81a{constructor(_0x645e76,_0x31978f,_0x5d4ac6){const _0x28322a=_0x1f4438;super(),this['_injector']=_0x645e76,this[_0x28322a(0x2a4)]=_0x31978f,this[_0x28322a(0x27a)]=_0x5d4ac6,this[_0x28322a(0x24d)](),this[_0x28322a(0x2a2)]();}[_0x1f4438(0x24d)](){const _0x3f76c8=_0x1f4438;this[_0x3f76c8(0x2db)](this['_iconManager'][_0x3f76c8(0x1ee)]({'DirectExportIcon':_0x5b1712}));}['_registerComponents'](){const _0xcaead0=_0x1f4438;this[_0xcaead0(0x2db)](this[_0xcaead0(0x2a4)][_0xcaead0(0x26b)](_0x15dce3['CONTENT'],()=>_0xba57be(mt,this[_0xcaead0(0x1ba)])));}};Q=H([V(0x0,_0x385976(_0x10f435)),V(0x1,_0x47cd9f),V(0x2,_0x385976(_0x188500))],Q);let $=class extends _0x25589f{constructor(_0x1912cf=E,_0x25c94d,_0x4a0dfb){const _0x49a0ad=_0x1f4438;super(),this[_0x49a0ad(0x236)]=_0x1912cf,this[_0x49a0ad(0x1ba)]=_0x25c94d,this[_0x49a0ad(0x266)]=_0x4a0dfb;let {..._0xad65aa}=_0x4e12da({},E,this['_config']);this[_0x49a0ad(0x266)]['setConfig'](T,_0xad65aa);}[_0x1f4438(0x246)](){const _0x2a4ef7=_0x1f4438;_0x3cefd4(this[_0x2a4ef7(0x1ba)],[[Q],[Y,{'useClass':X}],[q,{'useClass':J}],[U,{'useClass':W}],[k,{'useClass':Be}]]);}[_0x1f4438(0x28d)](){_0x150101(this['_injector'],[[Q],[Y]]);}};O($,_0x1f4438(0x25a),_0x1f4438(0x184)),O($,'packageName',Ie),O($,_0x1f4438(0x28f),Le),$=H([_0x148dc9(_0x5376f4,_0x10fb1d),V(0x1,_0x385976(_0x10f435)),V(0x2,_0x3e68f8)],$);export{Y as IExchangeOperateService,q as IExchangeService,$ as UniverExchangeClientPlugin,L as downloadFile};
@@ -1 +1 @@
1
- function _0x557b(_0x2b6cbe,_0x8d036f){_0x2b6cbe=_0x2b6cbe-0x8a;const _0xbb4737=_0xbb47();let _0x557bd4=_0xbb4737[_0x2b6cbe];return _0x557bd4;}const _0x25714d=_0x557b;(function(_0xa70964,_0x11a5af){const _0xdabc53=_0x557b,_0x52dc93=_0xa70964();while(!![]){try{const _0x48de15=-parseInt(_0xdabc53(0x8d))/0x1*(-parseInt(_0xdabc53(0x95))/0x2)+parseInt(_0xdabc53(0x9e))/0x3*(parseInt(_0xdabc53(0xa2))/0x4)+parseInt(_0xdabc53(0x99))/0x5+-parseInt(_0xdabc53(0x94))/0x6*(-parseInt(_0xdabc53(0x8f))/0x7)+-parseInt(_0xdabc53(0x98))/0x8*(parseInt(_0xdabc53(0x8c))/0x9)+parseInt(_0xdabc53(0xa1))/0xa*(parseInt(_0xdabc53(0x8e))/0xb)+-parseInt(_0xdabc53(0x9f))/0xc*(parseInt(_0xdabc53(0x93))/0xd);if(_0x48de15===_0x11a5af)break;else _0x52dc93['push'](_0x52dc93['shift']());}catch(_0x3c44db){_0x52dc93['push'](_0x52dc93['shift']());}}}(_0xbb47,0xb9f87));const e={'exchange-client':{'uploading':_0x25714d(0xa0),'uploadSuccess':_0x25714d(0x9d),'uploadSuccessTip':_0x25714d(0x9a),'downloading':_0x25714d(0x8b),'downloadSuccess':_0x25714d(0x90),'unknownMistake':_0x25714d(0x97),'networkError':_0x25714d(0x96),'tooLarge':_0x25714d(0x92),'internalError':_0x25714d(0x91),'interrupt':'تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','fileTypeError':'نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','wait':_0x25714d(0x9b),'cancel':_0x25714d(0x8a),'uploadAgain':_0x25714d(0x9c)}};function _0xbb47(){const _0x45907e=['1xzRiDc','68398eoFdoa','10015460GjXZYx','تم\x20التحميل\x20بنجاح','خطأ\x20داخلي\x20غير\x20معروف','البيانات\x20كبيرة\x20جداً','1311115GcpkFw','6VfveGM','1492858nsmbhu','خطأ\x20في\x20الشبكة','خطأ\x20غير\x20معروف','20912Awjxpl','2559490ZMgOZP','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','يرجى\x20الانتظار...','إعادة\x20الرفع','تم\x20رفع\x20الملف\x20بنجاح','3PwENoT','300loRjaa','جارٍ\x20الرفع','1240fDBNjg','4561708xDdxro','إلغاء','جارٍ\x20التحميل','4536icEBdy'];_0xbb47=function(){return _0x45907e;};return _0xbb47();}export{e as default};
1
+ const _0x206724=_0x4fe5;function _0x4fe5(_0x2c05ed,_0x3480fc){_0x2c05ed=_0x2c05ed-0x7c;const _0x2a76ff=_0x2a76();let _0x4fe5c8=_0x2a76ff[_0x2c05ed];return _0x4fe5c8;}function _0x2a76(){const _0x9068b9=['695576zQMsSw','تم\x20رفع\x20الملف\x20بنجاح','100058TtujRr','إلغاء','خطأ\x20في\x20الشبكة','5565130YSgzaF','12ztyRTf','16305pZJRiz','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','4415200MRytFZ','تم\x20التحميل\x20بنجاح','9xUSiVA','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','183544xoDNWd','جارٍ\x20الرفع','البيانات\x20كبيرة\x20جداً','20576303GvLpme','212VFsrCN','إعادة\x20الرفع','4fUldyh','جارٍ\x20التحميل','يرجى\x20الانتظار...','420Weabob'];_0x2a76=function(){return _0x9068b9;};return _0x2a76();}(function(_0x4cf39c,_0x200862){const _0x117dd0=_0x4fe5,_0x465024=_0x4cf39c();while(!![]){try{const _0x4596a3=-parseInt(_0x117dd0(0x91))/0x1*(parseInt(_0x117dd0(0x8b))/0x2)+parseInt(_0x117dd0(0x85))/0x3*(parseInt(_0x117dd0(0x8f))/0x4)+-parseInt(_0x117dd0(0x87))/0x5+-parseInt(_0x117dd0(0x7d))/0x6*(parseInt(_0x117dd0(0x80))/0x7)+-parseInt(_0x117dd0(0x7e))/0x8*(-parseInt(_0x117dd0(0x89))/0x9)+parseInt(_0x117dd0(0x83))/0xa+-parseInt(_0x117dd0(0x8e))/0xb*(-parseInt(_0x117dd0(0x84))/0xc);if(_0x4596a3===_0x200862)break;else _0x465024['push'](_0x465024['shift']());}catch(_0x2691ec){_0x465024['push'](_0x465024['shift']());}}}(_0x2a76,0x869d4));const e={'exchange-client':{'uploading':_0x206724(0x8c),'uploadSuccess':_0x206724(0x7f),'uploadSuccessTip':'تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','downloading':_0x206724(0x92),'downloadSuccess':_0x206724(0x88),'unknownMistake':'خطأ\x20غير\x20معروف','networkError':_0x206724(0x82),'tooLarge':_0x206724(0x8d),'internalError':'خطأ\x20داخلي\x20غير\x20معروف','interrupt':_0x206724(0x86),'fileTypeError':_0x206724(0x8a),'wait':_0x206724(0x7c),'cancel':_0x206724(0x81),'uploadAgain':_0x206724(0x90)}};export{e as default};
@@ -1 +1 @@
1
- const _0x2b43f8=_0x19dd;(function(_0x16aa3d,_0x5eb2f4){const _0x58b72f=_0x19dd,_0xe12144=_0x16aa3d();while(!![]){try{const _0x7718cc=parseInt(_0x58b72f(0x1f7))/0x1*(parseInt(_0x58b72f(0x1ed))/0x2)+-parseInt(_0x58b72f(0x1f9))/0x3*(parseInt(_0x58b72f(0x1f2))/0x4)+-parseInt(_0x58b72f(0x1f6))/0x5+-parseInt(_0x58b72f(0x1ea))/0x6*(-parseInt(_0x58b72f(0x1f3))/0x7)+parseInt(_0x58b72f(0x1ec))/0x8+-parseInt(_0x58b72f(0x1e9))/0x9+-parseInt(_0x58b72f(0x1f1))/0xa;if(_0x7718cc===_0x5eb2f4)break;else _0xe12144['push'](_0xe12144['shift']());}catch(_0x1755ad){_0xe12144['push'](_0xe12144['shift']());}}}(_0x546a,0x344a0));function _0x546a(){const _0x529afd=['505064dnvBAP','6758BlCtzX','Descàrrega\x20correcta','Error\x20desconegut','Descarregant','451160tnxIEZ','412VcwLeJ','82453bgpoIQ','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Fitxer\x20pujat\x20correctament','964165fzHVau','121jzLzPw','Tornar\x20a\x20pujar','3138vMVvlz','Error\x20intern\x20desconegut','1329381NrIsNl','120giGUIy','Pujant'];_0x546a=function(){return _0x529afd;};return _0x546a();}const e={'exchange-client':{'uploading':_0x2b43f8(0x1eb),'uploadSuccess':_0x2b43f8(0x1f5),'uploadSuccessTip':'{0}\x20fitxer(s)\x20pujat(s)\x20correctament','downloading':_0x2b43f8(0x1f0),'downloadSuccess':_0x2b43f8(0x1ee),'unknownMistake':_0x2b43f8(0x1ef),'networkError':'Error\x20de\x20xarxa','tooLarge':'Les\x20dades\x20són\x20massa\x20grans','internalError':_0x2b43f8(0x1e8),'interrupt':'La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','fileTypeError':_0x2b43f8(0x1f4),'wait':'Espereu...','cancel':'Cancel·lar','uploadAgain':_0x2b43f8(0x1f8)}};function _0x19dd(_0x49ad1a,_0x21881d){_0x49ad1a=_0x49ad1a-0x1e8;const _0x546ab2=_0x546a();let _0x19ddb5=_0x546ab2[_0x49ad1a];return _0x19ddb5;}export{e as default};
1
+ const _0x49659c=_0xd42e;function _0x9b2d(){const _0x49eb5f=['24ZHwNsV','1353912VbIawt','1993146uONcSW','11BtdWlZ','Cancel·lar','887502ipdEOT','10XwnbPZ','1122831YQNzkB','Descarregant','Fitxer\x20pujat\x20correctament','Les\x20dades\x20són\x20massa\x20grans','Espereu...','3260548kFzxdX','2kOAFRy','Error\x20desconegut','40SgdvEx','10343170EFswSX','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Error\x20intern\x20desconegut','6CWKDfc','Descàrrega\x20correcta','8553922wrdUqA'];_0x9b2d=function(){return _0x49eb5f;};return _0x9b2d();}(function(_0x4fa648,_0x22fd98){const _0x3404e=_0xd42e,_0x4cdd1d=_0x4fa648();while(!![]){try{const _0x2177d5=parseInt(_0x3404e(0x1de))/0x1*(parseInt(_0x3404e(0x1d4))/0x2)+parseInt(_0x3404e(0x1df))/0x3+-parseInt(_0x3404e(0x1d3))/0x4*(parseInt(_0x3404e(0x1e3))/0x5)+-parseInt(_0x3404e(0x1da))/0x6*(-parseInt(_0x3404e(0x1e2))/0x7)+parseInt(_0x3404e(0x1d6))/0x8*(parseInt(_0x3404e(0x1e4))/0x9)+-parseInt(_0x3404e(0x1d7))/0xa*(-parseInt(_0x3404e(0x1e0))/0xb)+-parseInt(_0x3404e(0x1dd))/0xc*(parseInt(_0x3404e(0x1dc))/0xd);if(_0x2177d5===_0x22fd98)break;else _0x4cdd1d['push'](_0x4cdd1d['shift']());}catch(_0x21bae6){_0x4cdd1d['push'](_0x4cdd1d['shift']());}}}(_0x9b2d,0xd1362));function _0xd42e(_0xa0cea3,_0x11c2ed){_0xa0cea3=_0xa0cea3-0x1d2;const _0x9b2db1=_0x9b2d();let _0xd42e0b=_0x9b2db1[_0xa0cea3];return _0xd42e0b;}const e={'exchange-client':{'uploading':'Pujant','uploadSuccess':_0x49659c(0x1e6),'uploadSuccessTip':'{0}\x20fitxer(s)\x20pujat(s)\x20correctament','downloading':_0x49659c(0x1e5),'downloadSuccess':_0x49659c(0x1db),'unknownMistake':_0x49659c(0x1d5),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x49659c(0x1e7),'internalError':_0x49659c(0x1d9),'interrupt':'La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','fileTypeError':_0x49659c(0x1d8),'wait':_0x49659c(0x1d2),'cancel':_0x49659c(0x1e1),'uploadAgain':'Tornar\x20a\x20pujar'}};export{e as default};
@@ -1 +1 @@
1
- const _0x27fdbd=_0x5e0a;(function(_0x860d47,_0x5948ca){const _0x27c3f4=_0x5e0a,_0x1b71bc=_0x860d47();while(!![]){try{const _0x22a991=parseInt(_0x27c3f4(0xa5))/0x1*(-parseInt(_0x27c3f4(0xac))/0x2)+-parseInt(_0x27c3f4(0x9f))/0x3*(-parseInt(_0x27c3f4(0xa0))/0x4)+-parseInt(_0x27c3f4(0xaa))/0x5+-parseInt(_0x27c3f4(0xad))/0x6*(parseInt(_0x27c3f4(0xa9))/0x7)+-parseInt(_0x27c3f4(0xa6))/0x8*(-parseInt(_0x27c3f4(0xab))/0x9)+-parseInt(_0x27c3f4(0xa7))/0xa+parseInt(_0x27c3f4(0xb0))/0xb*(parseInt(_0x27c3f4(0xa3))/0xc);if(_0x22a991===_0x5948ca)break;else _0x1b71bc['push'](_0x1b71bc['shift']());}catch(_0x1cc811){_0x1b71bc['push'](_0x1b71bc['shift']());}}}(_0x4eab,0xa6f6b));function _0x5e0a(_0x549a39,_0x490d65){_0x549a39=_0x549a39-0x9e;const _0x4eab71=_0x4eab();let _0x5e0a55=_0x4eab71[_0x549a39];return _0x5e0a55;}const e={'exchange-client':{'uploading':_0x27fdbd(0xb1),'uploadSuccess':'Datei\x20erfolgreich\x20hochgeladen','uploadSuccessTip':'{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','downloading':'Wird\x20heruntergeladen','downloadSuccess':_0x27fdbd(0x9e),'unknownMistake':_0x27fdbd(0xa1),'networkError':_0x27fdbd(0xae),'tooLarge':_0x27fdbd(0xa2),'internalError':_0x27fdbd(0xaf),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':'Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','wait':_0x27fdbd(0xa4),'cancel':'Abbrechen','uploadAgain':_0x27fdbd(0xa8)}};export{e as default};function _0x4eab(){const _0xe32ca8=['8NIAlDT','8119568aGMHWm','9346900rxMQst','Erneut\x20hochladen','21zlUMTX','4875145YekLrw','9ittGbM','248450InwLjJ','2521626mtlEtz','Netzwerkfehler','Interner\x20unbekannter\x20Fehler','22yZaFNq','Wird\x20hochgeladen','Download\x20erfolgreich','396051flawpQ','12CzhvjY','Unbekannter\x20Fehler','Daten\x20sind\x20zu\x20groß','20623308ykLLxp','Bitte\x20warten...'];_0x4eab=function(){return _0xe32ca8;};return _0x4eab();}
1
+ const _0xbae9b9=_0x2b20;function _0x2b20(_0x21cf6b,_0x4db9e1){_0x21cf6b=_0x21cf6b-0x1f2;const _0x396380=_0x3963();let _0x2b20a0=_0x396380[_0x21cf6b];return _0x2b20a0;}(function(_0x13c6ef,_0x2654f9){const _0x186a4a=_0x2b20,_0x6b1193=_0x13c6ef();while(!![]){try{const _0x5b4fde=-parseInt(_0x186a4a(0x1f7))/0x1+parseInt(_0x186a4a(0x1f4))/0x2+-parseInt(_0x186a4a(0x1f2))/0x3*(-parseInt(_0x186a4a(0x202))/0x4)+parseInt(_0x186a4a(0x204))/0x5+parseInt(_0x186a4a(0x1f6))/0x6*(parseInt(_0x186a4a(0x1fc))/0x7)+-parseInt(_0x186a4a(0x1ff))/0x8*(parseInt(_0x186a4a(0x1f5))/0x9)+-parseInt(_0x186a4a(0x205))/0xa*(parseInt(_0x186a4a(0x1f9))/0xb);if(_0x5b4fde===_0x2654f9)break;else _0x6b1193['push'](_0x6b1193['shift']());}catch(_0x524e6e){_0x6b1193['push'](_0x6b1193['shift']());}}}(_0x3963,0xb6404));const e={'exchange-client':{'uploading':_0xbae9b9(0x203),'uploadSuccess':_0xbae9b9(0x1f8),'uploadSuccessTip':'{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','downloading':'Wird\x20heruntergeladen','downloadSuccess':'Download\x20erfolgreich','unknownMistake':_0xbae9b9(0x1fd),'networkError':_0xbae9b9(0x1fb),'tooLarge':'Daten\x20sind\x20zu\x20groß','internalError':_0xbae9b9(0x200),'interrupt':_0xbae9b9(0x1fe),'fileTypeError':_0xbae9b9(0x1fa),'wait':_0xbae9b9(0x1f3),'cancel':'Abbrechen','uploadAgain':_0xbae9b9(0x201)}};function _0x3963(){const _0xdf9e06=['Interner\x20unbekannter\x20Fehler','Erneut\x20hochladen','4tYzMSf','Wird\x20hochgeladen','3113480zgxnLw','2270PAUzxu','3363405hEQevN','Bitte\x20warten...','16606fSChNa','2871AYHsud','6qgyWuF','701275YQSnMw','Datei\x20erfolgreich\x20hochgeladen','26191VdtqHm','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','Netzwerkfehler','8617623NdaqOu','Unbekannter\x20Fehler','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','24952akbAZT'];_0x3963=function(){return _0xdf9e06;};return _0x3963();}export{e as default};