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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (97) 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.css +0 -4
  46. package/lib/index.js +1 -1
  47. package/lib/locale/ar-SA.js +1 -1
  48. package/lib/locale/ca-ES.js +1 -1
  49. package/lib/locale/de-DE.js +1 -1
  50. package/lib/locale/en-US.js +1 -1
  51. package/lib/locale/es-ES.js +1 -1
  52. package/lib/locale/fa-IR.js +1 -1
  53. package/lib/locale/fr-FR.js +1 -1
  54. package/lib/locale/id-ID.js +1 -1
  55. package/lib/locale/it-IT.js +1 -1
  56. package/lib/locale/ja-JP.js +1 -1
  57. package/lib/locale/ko-KR.js +1 -1
  58. package/lib/locale/pl-PL.js +1 -1
  59. package/lib/locale/pt-BR.js +1 -1
  60. package/lib/locale/ru-RU.js +1 -1
  61. package/lib/locale/sk-SK.js +1 -1
  62. package/lib/locale/vi-VN.js +1 -1
  63. package/lib/locale/zh-CN.js +1 -1
  64. package/lib/locale/zh-HK.js +1 -1
  65. package/lib/locale/zh-TW.js +1 -1
  66. package/lib/types/config/config.d.ts +0 -4
  67. package/lib/types/controllers/components.controller.d.ts +7 -0
  68. package/lib/types/controllers/exchange.controller.d.ts +3 -5
  69. package/lib/types/facade/f-univer.d.ts +45 -16
  70. package/lib/types/index.d.ts +5 -10
  71. package/lib/types/services/exchange.service.d.ts +24 -3
  72. package/lib/types/services/request.service.d.ts +0 -2
  73. package/lib/types/services/utils/content-type.d.ts +1 -0
  74. package/lib/types/services/utils/snapshot.d.ts +8 -3
  75. package/lib/types/services/utils/tool.d.ts +1 -0
  76. package/lib/umd/facade.js +1 -1
  77. package/lib/umd/index.js +1 -1
  78. package/lib/umd/locale/ar-SA.js +1 -1
  79. package/lib/umd/locale/ca-ES.js +1 -1
  80. package/lib/umd/locale/de-DE.js +1 -1
  81. package/lib/umd/locale/en-US.js +1 -1
  82. package/lib/umd/locale/es-ES.js +1 -1
  83. package/lib/umd/locale/fa-IR.js +1 -1
  84. package/lib/umd/locale/fr-FR.js +1 -1
  85. package/lib/umd/locale/id-ID.js +1 -1
  86. package/lib/umd/locale/it-IT.js +1 -1
  87. package/lib/umd/locale/ja-JP.js +1 -1
  88. package/lib/umd/locale/ko-KR.js +1 -1
  89. package/lib/umd/locale/pl-PL.js +1 -1
  90. package/lib/umd/locale/pt-BR.js +1 -1
  91. package/lib/umd/locale/ru-RU.js +1 -1
  92. package/lib/umd/locale/sk-SK.js +1 -1
  93. package/lib/umd/locale/vi-VN.js +1 -1
  94. package/lib/umd/locale/zh-CN.js +1 -1
  95. package/lib/umd/locale/zh-HK.js +1 -1
  96. package/lib/umd/locale/zh-TW.js +1 -1
  97. package/package.json +14 -13
@@ -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
+ const _0x154854=_0xf121;(function(_0x6c69d2,_0x388edb){const _0x499ad3=_0xf121,_0x4e3fec=_0x6c69d2();while(!![]){try{const _0x5be650=-parseInt(_0x499ad3(0x10d))/0x1+parseInt(_0x499ad3(0x114))/0x2*(parseInt(_0x499ad3(0x10c))/0x3)+parseInt(_0x499ad3(0x10e))/0x4+parseInt(_0x499ad3(0x111))/0x5+parseInt(_0x499ad3(0x115))/0x6*(-parseInt(_0x499ad3(0x116))/0x7)+parseInt(_0x499ad3(0x119))/0x8+-parseInt(_0x499ad3(0x11c))/0x9*(parseInt(_0x499ad3(0x11a))/0xa);if(_0x5be650===_0x388edb)break;else _0x4e3fec['push'](_0x4e3fec['shift']());}catch(_0x28053c){_0x4e3fec['push'](_0x4e3fec['shift']());}}}(_0x1f5c,0x6062a));const e={'exchange-client':{'uploading':'Enviando','uploadSuccess':'Arquivo\x20enviado\x20com\x20sucesso','uploadSuccessTip':_0x154854(0x118),'downloading':'Baixando','downloadSuccess':'Download\x20concluído\x20com\x20sucesso','unknownMistake':_0x154854(0x117),'networkError':'Erro\x20de\x20rede','tooLarge':'Os\x20dados\x20são\x20muito\x20grandes','internalError':_0x154854(0x112),'interrupt':_0x154854(0x110),'fileTypeError':_0x154854(0x10f),'wait':'Aguarde...','cancel':_0x154854(0x11b),'uploadAgain':_0x154854(0x113)}};function _0xf121(_0x3c29c0,_0x42d1df){_0x3c29c0=_0x3c29c0-0x10c;const _0x1f5c6f=_0x1f5c();let _0xf121f8=_0x1f5c6f[_0x3c29c0];return _0xf121f8;}export{e as default};function _0x1f5c(){const _0x15e315=['175023QjGHXH','1115008xOMuGi','O\x20arquivo\x20selecionado\x20[{0}]\x20não\x20é\x20suportado\x20para\x20envio','A\x20conexão\x20de\x20rede\x20foi\x20interrompida\x20e\x20o\x20envio\x20do\x20arquivo\x20falhou','2383015NzinhN','Erro\x20interno\x20desconhecido','Enviar\x20novamente','2acEhPN','708KgZDnz','36883oZJaYJ','Erro\x20desconhecido','{0}\x20arquivo(s)\x20enviado(s)\x20com\x20sucesso','4453544BmXtps','6936950pDmXmC','Cancelar','9DlTzgT','1719618lcohUF'];_0x1f5c=function(){return _0x15e315;};return _0x1f5c();}
@@ -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
+ function _0x1e7c(_0x1e9244,_0x2f96f2){_0x1e9244=_0x1e9244-0x195;const _0x30c9d4=_0x30c9();let _0x1e7c5a=_0x30c9d4[_0x1e9244];return _0x1e7c5a;}const _0x1d64a9=_0x1e7c;(function(_0x4b60d2,_0x5ec665){const _0x5f0470=_0x1e7c,_0x556fff=_0x4b60d2();while(!![]){try{const _0x5b8172=-parseInt(_0x5f0470(0x1ab))/0x1+parseInt(_0x5f0470(0x1a4))/0x2*(-parseInt(_0x5f0470(0x19b))/0x3)+parseInt(_0x5f0470(0x1ac))/0x4+parseInt(_0x5f0470(0x19e))/0x5*(parseInt(_0x5f0470(0x19d))/0x6)+parseInt(_0x5f0470(0x19a))/0x7*(-parseInt(_0x5f0470(0x19c))/0x8)+-parseInt(_0x5f0470(0x195))/0x9*(parseInt(_0x5f0470(0x198))/0xa)+parseInt(_0x5f0470(0x197))/0xb*(parseInt(_0x5f0470(0x196))/0xc);if(_0x5b8172===_0x5ec665)break;else _0x556fff['push'](_0x556fff['shift']());}catch(_0x567cb1){_0x556fff['push'](_0x556fff['shift']());}}}(_0x30c9,0xadba2));function _0x30c9(){const _0x46b1ff=['2964LcyHEa','106612YISFdF','2302110BeBnSY','Данные\x20слишком\x20большие','28hdjAfz','454221xahaUu','1083128onusIi','7589490zPAwOw','5PjhrGb','Скачивание\x20успешно','Неизвестная\x20ошибка','Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','Загрузка','Загрузить\x20снова','2prkORz','{0}\x20файл(ов)\x20успешно\x20загружен(о)','Сетевая\x20ошибка','Пожалуйста,\x20подождите...','Внутренняя\x20неизвестная\x20ошибка','Отмена','Скачивание','1246084cPuEcl','571428GxFLFW','45PKEgBa'];_0x30c9=function(){return _0x46b1ff;};return _0x30c9();}const e={'exchange-client':{'uploading':_0x1d64a9(0x1a2),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':_0x1d64a9(0x1a5),'downloading':_0x1d64a9(0x1aa),'downloadSuccess':_0x1d64a9(0x19f),'unknownMistake':_0x1d64a9(0x1a0),'networkError':_0x1d64a9(0x1a6),'tooLarge':_0x1d64a9(0x199),'internalError':_0x1d64a9(0x1a8),'interrupt':'Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','fileTypeError':_0x1d64a9(0x1a1),'wait':_0x1d64a9(0x1a7),'cancel':_0x1d64a9(0x1a9),'uploadAgain':_0x1d64a9(0x1a3)}};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 _0x646549=_0x1366;function _0x1366(_0x5d22af,_0x1b5da8){_0x5d22af=_0x5d22af-0x7b;const _0x19e11c=_0x19e1();let _0x1366e8=_0x19e11c[_0x5d22af];return _0x1366e8;}(function(_0x4f8c49,_0x1e38a7){const _0x255964=_0x1366,_0x39d606=_0x4f8c49();while(!![]){try{const _0x15ff1c=parseInt(_0x255964(0x7b))/0x1*(-parseInt(_0x255964(0x81))/0x2)+parseInt(_0x255964(0x80))/0x3+-parseInt(_0x255964(0x8a))/0x4+-parseInt(_0x255964(0x89))/0x5+parseInt(_0x255964(0x8d))/0x6*(-parseInt(_0x255964(0x8b))/0x7)+-parseInt(_0x255964(0x83))/0x8+parseInt(_0x255964(0x85))/0x9*(parseInt(_0x255964(0x7e))/0xa);if(_0x15ff1c===_0x1e38a7)break;else _0x39d606['push'](_0x39d606['shift']());}catch(_0x51cbd4){_0x39d606['push'](_0x39d606['shift']());}}}(_0x19e1,0x83406));function _0x19e1(){const _0xc22cfd=['Nahrať\x20znova','Súbor\x20bol\x20úspešne\x20nahraný','3805765wklvhd','2607104MzkMtr','3479afmdhc','Sťahovanie','1818NUhZxs','Prosím\x20počkajte...','Nahrávanie','Úspešne\x20nahraných\x20{0}\x20súborov','499033HeuvOL','Dáta\x20sú\x20príliš\x20veľké','Sťahovanie\x20úspešné','873280KLSDOJ','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','1120497vVBzGR','4LAvcGk','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','4742168KaekKB','Interná\x20neznáma\x20chyba','342VcrXWu','Sieťová\x20chyba'];_0x19e1=function(){return _0xc22cfd;};return _0x19e1();}const e={'exchange-client':{'uploading':_0x646549(0x8f),'uploadSuccess':_0x646549(0x88),'uploadSuccessTip':_0x646549(0x90),'downloading':_0x646549(0x8c),'downloadSuccess':_0x646549(0x7d),'unknownMistake':'Neznáma\x20chyba','networkError':_0x646549(0x86),'tooLarge':_0x646549(0x7c),'internalError':_0x646549(0x84),'interrupt':_0x646549(0x7f),'fileTypeError':_0x646549(0x82),'wait':_0x646549(0x8e),'cancel':'Zrušiť','uploadAgain':_0x646549(0x87)}};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 _0x4e9e(){const _0x1b0916=['{0}\x20tệp\x20đã\x20được\x20tải\x20lên\x20thành\x20công','31785HDNDec','9wSmlAD','6756ZuQjgC','Hủy\x20bỏ','5156525iNcxgg','Tệp\x20được\x20chọn\x20[{0}]\x20không\x20được\x20hỗ\x20trợ\x20để\x20tải\x20lên','Vui\x20lòng\x20đợi...','Đang\x20tải\x20xuống','1188158LsMxoX','8eOGScd','245571tUycfW','Lỗi\x20không\x20xác\x20định','1DksoZP','12077930FXxVmc','Luồng\x20dữ\x20liệu\x20quá\x20lớn','Đang\x20tải\x20lên','3604769xJbqOV','60uHfNbd','2302818XkGANF','Tải\x20lên\x20tệp\x20thành\x20công','15TdKBpq'];_0x4e9e=function(){return _0x1b0916;};return _0x4e9e();}const _0x27b03b=_0x1bab;(function(_0x33b315,_0x320230){const _0x4e2477=_0x1bab,_0x1b8eb6=_0x33b315();while(!![]){try{const _0x3a1958=parseInt(_0x4e2477(0x6c))/0x1*(-parseInt(_0x4e2477(0x68))/0x2)+parseInt(_0x4e2477(0x6a))/0x3*(parseInt(_0x4e2477(0x71))/0x4)+parseInt(_0x4e2477(0x74))/0x5*(parseInt(_0x4e2477(0x72))/0x6)+-parseInt(_0x4e2477(0x70))/0x7*(parseInt(_0x4e2477(0x69))/0x8)+parseInt(_0x4e2477(0x77))/0x9*(parseInt(_0x4e2477(0x6d))/0xa)+-parseInt(_0x4e2477(0x7a))/0xb+-parseInt(_0x4e2477(0x78))/0xc*(parseInt(_0x4e2477(0x76))/0xd);if(_0x3a1958===_0x320230)break;else _0x1b8eb6['push'](_0x1b8eb6['shift']());}catch(_0x4fb395){_0x1b8eb6['push'](_0x1b8eb6['shift']());}}}(_0x4e9e,0x9a77d));function _0x1bab(_0x4bfb0f,_0x474a0c){_0x4bfb0f=_0x4bfb0f-0x67;const _0x4e9ee8=_0x4e9e();let _0x1bab7b=_0x4e9ee8[_0x4bfb0f];return _0x1bab7b;}const e={'exchange-client':{'uploading':_0x27b03b(0x6f),'uploadSuccess':_0x27b03b(0x73),'uploadSuccessTip':_0x27b03b(0x75),'downloading':_0x27b03b(0x67),'downloadSuccess':'Tải\x20xuống\x20thành\x20công','unknownMistake':_0x27b03b(0x6b),'networkError':'Lỗi\x20mạng','tooLarge':_0x27b03b(0x6e),'internalError':'Lỗi\x20không\x20xác\x20định\x20bên\x20trong','interrupt':'Kết\x20nối\x20mạng\x20bị\x20gián\x20đoạn,\x20tải\x20lên\x20tệp\x20thất\x20bại','fileTypeError':_0x27b03b(0x7b),'wait':_0x27b03b(0x7c),'cancel':_0x27b03b(0x79),'uploadAgain':'Tải\x20lên\x20lại'}};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 _0x537e50=_0x380d;(function(_0x94737c,_0x2198ef){const _0x4319db=_0x380d,_0x559dc6=_0x94737c();while(!![]){try{const _0x562e38=-parseInt(_0x4319db(0x1ee))/0x1*(parseInt(_0x4319db(0x1eb))/0x2)+parseInt(_0x4319db(0x1e7))/0x3+-parseInt(_0x4319db(0x1ea))/0x4*(-parseInt(_0x4319db(0x1f2))/0x5)+-parseInt(_0x4319db(0x1e2))/0x6+parseInt(_0x4319db(0x1f6))/0x7+parseInt(_0x4319db(0x1f4))/0x8*(parseInt(_0x4319db(0x1ec))/0x9)+parseInt(_0x4319db(0x1f3))/0xa*(-parseInt(_0x4319db(0x1f5))/0xb);if(_0x562e38===_0x2198ef)break;else _0x559dc6['push'](_0x559dc6['shift']());}catch(_0x177af9){_0x559dc6['push'](_0x559dc6['shift']());}}}(_0xc6c3,0xc7c5f));const e={'exchange-client':{'uploading':_0x537e50(0x1e3),'uploadSuccess':_0x537e50(0x1f0),'uploadSuccessTip':_0x537e50(0x1e6),'downloading':_0x537e50(0x1e1),'downloadSuccess':_0x537e50(0x1ed),'unknownMistake':_0x537e50(0x1e5),'networkError':'网络异常','tooLarge':'数据流过大','internalError':_0x537e50(0x1e9),'interrupt':_0x537e50(0x1f1),'fileTypeError':_0x537e50(0x1e8),'wait':_0x537e50(0x1ef),'cancel':'取消','uploadAgain':_0x537e50(0x1e4)}};function _0x380d(_0x5aedf4,_0xde1050){_0x5aedf4=_0x5aedf4-0x1e1;const _0xc6c376=_0xc6c3();let _0x380d8c=_0xc6c376[_0x5aedf4];return _0x380d8c;}export{e as default};function _0xc6c3(){const _0x54a08b=['8819020dTSmEg','下载中','2709738ndubVJ','上传中','再次上传','未知错误','{0}个文件上传成功','1043895SIRvkU','所选文件\x20[{0}]\x20不支持上传','内部未知错误','104MjMGQt','2498QGzDMW','468ZZxjBy','下载成功','26rsREZI','请稍等...','文件上传成功','网络连接中断,文件上传失败','128965fkmfqd','44970jHBewL','131416DpgSFA','4477XUEMaO'];_0xc6c3=function(){return _0x54a08b;};return _0xc6c3();}
@@ -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 _0x2641d2=_0x4912;(function(_0x3d6d07,_0x106488){const _0x3c6f01=_0x4912,_0x16f319=_0x3d6d07();while(!![]){try{const _0x431937=parseInt(_0x3c6f01(0x7a))/0x1+parseInt(_0x3c6f01(0x8b))/0x2*(-parseInt(_0x3c6f01(0x83))/0x3)+parseInt(_0x3c6f01(0x89))/0x4+parseInt(_0x3c6f01(0x7c))/0x5+parseInt(_0x3c6f01(0x7f))/0x6+parseInt(_0x3c6f01(0x87))/0x7+-parseInt(_0x3c6f01(0x8a))/0x8;if(_0x431937===_0x106488)break;else _0x16f319['push'](_0x16f319['shift']());}catch(_0xe7c81){_0x16f319['push'](_0x16f319['shift']());}}}(_0x494f,0x7a751));function _0x4912(_0x150fed,_0x31d4a5){_0x150fed=_0x150fed-0x7a;const _0x494f6b=_0x494f();let _0x4912ff=_0x494f6b[_0x150fed];return _0x4912ff;}const e={'exchange-client':{'uploading':'上傳中','uploadSuccess':_0x2641d2(0x80),'uploadSuccessTip':_0x2641d2(0x84),'downloading':_0x2641d2(0x7b),'downloadSuccess':'下載成功','unknownMistake':_0x2641d2(0x7e),'networkError':_0x2641d2(0x85),'tooLarge':_0x2641d2(0x86),'internalError':_0x2641d2(0x81),'interrupt':_0x2641d2(0x82),'fileTypeError':'所選檔案\x20[{0}]\x20不支援上傳','wait':_0x2641d2(0x7d),'cancel':'取消','uploadAgain':_0x2641d2(0x88)}};export{e as default};function _0x494f(){const _0x2d3651=['2778052MXiYNO','9959384xArnhF','15178uRZQbo','791754YRlYJQ','下載中','1066680vCqusq','請稍等...','未知錯誤','3283770MjIYAO','檔案上傳成功','內部未知錯誤','網絡連線中斷,檔案上傳失敗','234ihvhcy','{0}個檔案上傳成功','網絡異常','資料流過大','640864tnUdln','再次上傳'];_0x494f=function(){return _0x2d3651;};return _0x494f();}
@@ -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
+ function _0x6ace(){const _0x21955d=['網路異常','251334anJgre','8yjmLnZ','上傳中','請稍等...','內部未知錯誤','1571340wDooQd','11614890rkvliM','366630JhgsPt','未知錯誤','檔案上傳成功','55mTrrEi','4884912ALcrDv','所選檔案\x20[{0}]\x20不支援上傳','5kRxCVI','3gNyWYa','8078292jVZIod','430yZIHra','{0}個檔案上傳成功','350302FmykLt','網路連線中斷,檔案上傳失敗','再次上傳','下載中'];_0x6ace=function(){return _0x21955d;};return _0x6ace();}const _0x42f1e1=_0x56e4;(function(_0xac9649,_0x54868b){const _0x4b0a17=_0x56e4,_0x24983a=_0xac9649();while(!![]){try{const _0x217f02=-parseInt(_0x4b0a17(0x150))/0x1*(parseInt(_0x4b0a17(0x155))/0x2)+parseInt(_0x4b0a17(0x151))/0x3*(-parseInt(_0x4b0a17(0x15f))/0x4)+parseInt(_0x4b0a17(0x14d))/0x5*(-parseInt(_0x4b0a17(0x15a))/0x6)+parseInt(_0x4b0a17(0x160))/0x7+parseInt(_0x4b0a17(0x15b))/0x8*(-parseInt(_0x4b0a17(0x152))/0x9)+-parseInt(_0x4b0a17(0x153))/0xa*(-parseInt(_0x4b0a17(0x14a))/0xb)+parseInt(_0x4b0a17(0x14e))/0xc;if(_0x217f02===_0x54868b)break;else _0x24983a['push'](_0x24983a['shift']());}catch(_0x677e9a){_0x24983a['push'](_0x24983a['shift']());}}}(_0x6ace,0xd5083));const e={'exchange-client':{'uploading':_0x42f1e1(0x15c),'uploadSuccess':_0x42f1e1(0x14c),'uploadSuccessTip':_0x42f1e1(0x154),'downloading':_0x42f1e1(0x158),'downloadSuccess':'下載成功','unknownMistake':_0x42f1e1(0x14b),'networkError':_0x42f1e1(0x159),'tooLarge':'資料流過大','internalError':_0x42f1e1(0x15e),'interrupt':_0x42f1e1(0x156),'fileTypeError':_0x42f1e1(0x14f),'wait':_0x42f1e1(0x15d),'cancel':'取消','uploadAgain':_0x42f1e1(0x157)}};function _0x56e4(_0x9527fa,_0x1579fe){_0x9527fa=_0x9527fa-0x14a;const _0x6acebc=_0x6ace();let _0x56e4d1=_0x6acebc[_0x9527fa];return _0x56e4d1;}export{e as default};
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
+ var _0x424500=_0x20c7;(function(_0x15f6aa,_0xe48b59){var _0x408e08=_0x20c7,_0x379cc4=_0x15f6aa();while(!![]){try{var _0x540a31=-parseInt(_0x408e08(0x1cd))/0x1+parseInt(_0x408e08(0x1d9))/0x2+-parseInt(_0x408e08(0x1dd))/0x3*(parseInt(_0x408e08(0x1e2))/0x4)+parseInt(_0x408e08(0x1ca))/0x5*(parseInt(_0x408e08(0x1e6))/0x6)+parseInt(_0x408e08(0x1d1))/0x7+parseInt(_0x408e08(0x1c8))/0x8*(parseInt(_0x408e08(0x1e7))/0x9)+-parseInt(_0x408e08(0x1d2))/0xa*(parseInt(_0x408e08(0x1c7))/0xb);if(_0x540a31===_0xe48b59)break;else _0x379cc4['push'](_0x379cc4['shift']());}catch(_0x2b5477){_0x379cc4['push'](_0x379cc4['shift']());}}}(_0x4efb,0x40b4c));import{IExchangeService as _0xe0f610}from'@univerjs-pro/exchange-client';import{UniverInstanceType as _0x2d0124}from'@univerjs/core';function _0x20c7(_0x36a3bb,_0x1c0275){_0x36a3bb=_0x36a3bb-0x1c6;var _0x4efb8f=_0x4efb();var _0x20c733=_0x4efb8f[_0x36a3bb];return _0x20c733;}import{FUniver as _0x160d2c}from'@univerjs/core/facade';var r=class extends _0x160d2c{[_0x424500(0x1e3)](_0x21c264,_0x11a13d,_0x43ad7a){var _0x5e9a64=_0x424500;this[_0x5e9a64(0x1e1)][_0x5e9a64(0x1ce)](_0xe0f610)[_0x5e9a64(0x1e3)](_0x21c264,_0x11a13d,_0x43ad7a);}async[_0x424500(0x1d6)](_0x3af6e0){var _0x447462=_0x424500;return this[_0x447462(0x1e1)][_0x447462(0x1ce)](_0xe0f610)['transformSnapshotJsonToWorkbookData'](_0x3af6e0);}async[_0x424500(0x1cb)](_0x57df1){var _0x4a4ae4=_0x424500;return this[_0x4a4ae4(0x1e1)][_0x4a4ae4(0x1ce)](_0xe0f610)[_0x4a4ae4(0x1df)](_0x57df1);}async[_0x424500(0x1ea)](_0x213bd4){var _0x2be58f=_0x424500;return this[_0x2be58f(0x1e1)][_0x2be58f(0x1ce)](_0xe0f610)[_0x2be58f(0x1d8)](_0x213bd4,_0x2d0124['UNIVER_SHEET']);}async[_0x424500(0x1e9)](_0x3c9de4){var _0x2df915=_0x424500;return this['_injector'][_0x2df915(0x1ce)](_0xe0f610)[_0x2df915(0x1d4)](_0x3c9de4);}async['exportXLSXByUnitIdAsync'](_0x10e18e){var _0x15e565=_0x424500;return this[_0x15e565(0x1e1)][_0x15e565(0x1ce)](_0xe0f610)[_0x15e565(0x1e5)](_0x10e18e);}async[_0x424500(0x1c6)](_0x3892d7){var _0x3aa539=_0x424500;return this[_0x3aa539(0x1e1)][_0x3aa539(0x1ce)](_0xe0f610)[_0x3aa539(0x1cf)](_0x3892d7);}async['importDOCXToUnitIdAsync'](_0x5506fc){var _0x37a950=_0x424500;return this['_injector'][_0x37a950(0x1ce)](_0xe0f610)[_0x37a950(0x1d8)](_0x5506fc,_0x2d0124['UNIVER_DOC']);}async[_0x424500(0x1d0)](_0x4a2ae6){var _0x39e95a=_0x424500;return this[_0x39e95a(0x1e1)][_0x39e95a(0x1ce)](_0xe0f610)[_0x39e95a(0x1d7)](_0x4a2ae6);}async[_0x424500(0x1e8)](_0x8446be){var _0x58c64f=_0x424500;return this[_0x58c64f(0x1e1)][_0x58c64f(0x1ce)](_0xe0f610)[_0x58c64f(0x1d5)](_0x8446be);}async['exportDOCXByUnitIdAsync'](_0x569cba){var _0x45193c=_0x424500;return this[_0x45193c(0x1e1)][_0x45193c(0x1ce)](_0xe0f610)['exportDOCXByUnitId'](_0x569cba);}async[_0x424500(0x1da)](_0x5de22e){var _0x315836=_0x424500;return this[_0x315836(0x1e1)]['get'](_0xe0f610)[_0x315836(0x1d8)](_0x5de22e,_0x2d0124[_0x315836(0x1de)]);}async[_0x424500(0x1cc)](_0x4997e5){var _0x78473e=_0x424500;return this[_0x78473e(0x1e1)][_0x78473e(0x1ce)](_0xe0f610)[_0x78473e(0x1dc)](_0x4997e5);}async[_0x424500(0x1e4)](_0x7e60c5){var _0x355ee0=_0x424500;return this[_0x355ee0(0x1e1)][_0x355ee0(0x1ce)](_0xe0f610)[_0x355ee0(0x1e0)](_0x7e60c5);}async[_0x424500(0x1db)](_0x43ad51){var _0x3413bb=_0x424500;return this[_0x3413bb(0x1e1)][_0x3413bb(0x1ce)](_0xe0f610)[_0x3413bb(0x1c9)](_0x43ad51);}};function _0x4efb(){var _0x407165=['104LxUULN','exportPPTXBySnapshot','755LjgkJI','transformWorkbookDataToSnapshotJsonAsync','importPPTXToSnapshotAsync','327595zRSayP','get','exportXLSXBySnapshot','importDOCXToSnapshotAsync','2544934vYyfwY','10uEnjli','extend','importXLSXToSnapshot','exportDOCXBySnapshot','transformSnapshotJsonToWorkbookDataAsync','importDOCXToSnapshot','importFileToUnitId','345966saejXc','importPPTXToUnitIdAsync','exportPPTXBySnapshotAsync','importPPTXToSnapshot','75qaDAJv','UNIVER_SLIDE','transformWorkbookDataToSnapshotJson','exportPPTXByUnitId','_injector','2680snuyli','downloadFile','exportPPTXByUnitIdAsync','exportXLSXByUnitId','17568lNfuIU','188847HCMaji','exportDOCXBySnapshotAsync','importXLSXToSnapshotAsync','importXLSXToUnitIdAsync','exportXLSXBySnapshotAsync','7062781HPhlWK'];_0x4efb=function(){return _0x407165;};return _0x4efb();}_0x160d2c[_0x424500(0x1d3)](r);export{};
package/lib/index.css CHANGED
@@ -254,10 +254,6 @@
254
254
  font-weight: 600;
255
255
  }
256
256
 
257
- .univer-leading-6 {
258
- line-height: 1.5rem;
259
- }
260
-
261
257
  .univer-text-blue-500 {
262
258
  color: var(--univer-blue-500);
263
259
  }
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 _0x23d669=_0x1e38;(function(_0x57f23f,_0x7c4c10){const _0x3aed9b=_0x1e38,_0x5d558a=_0x57f23f();while(!![]){try{const _0x16c5dc=-parseInt(_0x3aed9b(0x271))/0x1+-parseInt(_0x3aed9b(0x25a))/0x2+parseInt(_0x3aed9b(0x27f))/0x3+parseInt(_0x3aed9b(0x2ad))/0x4*(-parseInt(_0x3aed9b(0x2a9))/0x5)+parseInt(_0x3aed9b(0x2a1))/0x6*(-parseInt(_0x3aed9b(0x2b5))/0x7)+-parseInt(_0x3aed9b(0x27e))/0x8*(-parseInt(_0x3aed9b(0x213))/0x9)+parseInt(_0x3aed9b(0x245))/0xa*(parseInt(_0x3aed9b(0x1d8))/0xb);if(_0x16c5dc===_0x7c4c10)break;else _0x5d558a['push'](_0x5d558a['shift']());}catch(_0x130812){_0x5d558a['push'](_0x5d558a['shift']());}}}(_0x1858,0x77103));import{UniverLicensePlugin as _0x3e389e}from'@univerjs-pro/license';import{DependentOn as _0x1569cc,Disposable as _0x52bca0,IConfigService as _0x3d8792,ILogService as _0x3a0011,IResourceLoaderService as _0x157fb9,IUniverInstanceService as _0x5339d7,Inject as _0x4a5a40,Injector as _0x567ddb,LocaleService as _0x272894,Plugin as _0x41f81a,UniverInstanceType as _0x2d6c67,createIdentifier as _0x80f77a,merge as _0x4e3ddb,registerDependencies as _0x183bc4,resolveWithBasePath as _0x1c36ea,toDisposable as _0x3fea9b,touchDependencies as _0x5af7e6}from'@univerjs/core';import{HTTPResponseError as _0x5210cd,HTTPService as _0x4d8820,UniverNetworkPlugin as _0x5408c6}from'@univerjs/network';import{ClockIcon as _0x2706de,CloseIcon as _0x33d7e6,DirectExportIcon as _0x14b262,DocsMultiIcon as _0x53c355,ErrorIcon as _0x24fa5b,ShareRangeIcon as _0x46f9e8,SheetsMultiIcon as _0x3d35da,SlidesMultiIcon as _0x1a3297,SuccessIcon as _0x3e9272}from'@univerjs/icons';import{BuiltInUIPart as _0x5092be,IMessageService as _0x314cf6,IUIPartsService as _0x2ba4ee,IconManager as _0x3a6c35,connectInjector as _0x5566e3,useDependency as _0x34ce1b,useObservable as _0xe4fe28}from'@univerjs/ui';import{BehaviorSubject as _0x27b5e3,Subject as _0x27b580}from'rxjs';import{MessageType as _0x2849b7,Tooltip as _0x1e8df0,clsx as _0x4079bb,scrollbarClassName as _0x5808d7}from'@univerjs/design';import{jsx as _0x44e330,jsxs as _0x4de0df}from'react/jsx-runtime';import{ErrorCode as _0x18b2f3,FileSource as _0x58c9ac}from'@univerjs/protocol';import{b64DecodeUnicode as _0x2569a2,b64EncodeUnicode as _0x226c59,getSheetBlocksFromSnapshot as _0x43e137,textDecoder as _0x2a36ef,textEncoder as _0x493234,transformDocumentDataToSnapshot as _0x59b499,transformSlideDataToSnapshot as _0x23bc36,transformSnapshotToDocumentData as _0x1b12c6,transformSnapshotToSlideData as _0x5711f7,transformSnapshotToWorkbookData as _0x4cef1f,transformWorkbookDataToSnapshot as _0x2cfb44}from'@univerjs-pro/collaboration';import{deflateSync as _0x2b1f2b}from'fflate';var Pe=_0x23d669(0x18c),Fe='1.0.0-alpha.4';const T=_0x23d669(0x1f9),Ie={};function E(_0x1cef7b,_0x22f767){return function(_0x49f6d3,_0x41911f){_0x22f767(_0x49f6d3,_0x41911f,_0x1cef7b);};}function D(_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9){const _0x66da43=_0x23d669;var _0x26863d=arguments[_0x66da43(0x1ed)],_0x39d67c=_0x26863d<0x3?_0x1c837f:_0x4c21b9===null?_0x4c21b9=Object[_0x66da43(0x247)](_0x1c837f,_0xcf509e):_0x4c21b9,_0x59bb94;if(typeof Reflect==_0x66da43(0x1a4)&&typeof Reflect['decorate']==_0x66da43(0x241))_0x39d67c=Reflect[_0x66da43(0x292)](_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9);else{for(var _0x2597e0=_0x4d33e8[_0x66da43(0x1ed)]-0x1;_0x2597e0>=0x0;_0x2597e0--)(_0x59bb94=_0x4d33e8[_0x2597e0])&&(_0x39d67c=(_0x26863d<0x3?_0x59bb94(_0x39d67c):_0x26863d>0x3?_0x59bb94(_0x1c837f,_0xcf509e,_0x39d67c):_0x59bb94(_0x1c837f,_0xcf509e))||_0x39d67c);}return _0x26863d>0x3&&_0x39d67c&&Object[_0x66da43(0x2bc)](_0x1c837f,_0xcf509e,_0x39d67c),_0x39d67c;}let O=class extends _0x52bca0{constructor(_0x56f903){const _0x2f9e8b=_0x23d669;super(),this['_iconManager']=_0x56f903,this[_0x2f9e8b(0x23f)]();}['_registerIcons'](){const _0xb6663d=_0x23d669;this[_0xb6663d(0x1d6)](this['_iconManager'][_0xb6663d(0x16e)]({'DirectExportIcon':_0x14b262}));}};O=D([E(0x0,_0x4a5a40(_0x3a6c35))],O);function k(_0x5aa360){'@babel/helpers - typeof';const _0x412bbb=_0x23d669;return k=typeof Symbol==_0x412bbb(0x241)&&typeof Symbol[_0x412bbb(0x173)]==_0x412bbb(0x1ba)?function(_0x46eb2a){return typeof _0x46eb2a;}:function(_0x327781){const _0x4f8616=_0x412bbb;return _0x327781&&typeof Symbol==_0x4f8616(0x241)&&_0x327781[_0x4f8616(0x2b3)]===Symbol&&_0x327781!==Symbol['prototype']?_0x4f8616(0x1ba):typeof _0x327781;},k(_0x5aa360);}function Le(_0x5bcd63,_0x5b003f){const _0x594559=_0x23d669;if(k(_0x5bcd63)!=_0x594559(0x1a4)||!_0x5bcd63)return _0x5bcd63;var _0x268b67=_0x5bcd63[Symbol[_0x594559(0x1a9)]];if(_0x268b67!==void 0x0){var _0x567a8c=_0x268b67[_0x594559(0x1ce)](_0x5bcd63,_0x5b003f||'default');if(k(_0x567a8c)!=_0x594559(0x1a4))return _0x567a8c;throw TypeError(_0x594559(0x28f));}return(_0x5b003f===_0x594559(0x1a8)?String:Number)(_0x5bcd63);}function Re(_0x3a0f68){const _0x39b142=_0x23d669;var _0xb3e0be=Le(_0x3a0f68,_0x39b142(0x1a8));return k(_0xb3e0be)==_0x39b142(0x1ba)?_0xb3e0be:_0xb3e0be+'';}function A(_0x254850,_0x402b85,_0xc91001){const _0x4c2414=_0x23d669;return(_0x402b85=Re(_0x402b85))in _0x254850?Object[_0x4c2414(0x2bc)](_0x254850,_0x402b85,{'value':_0xc91001,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x254850[_0x402b85]=_0xc91001,_0x254850;}const j=_0x80f77a(_0x23d669(0x19f));var ze=class extends _0x52bca0{constructor(){const _0x56035e=_0x23d669;super(),A(this,_0x56035e(0x2c4),new _0x27b580()),A(this,_0x56035e(0x194),new _0x27b580()),A(this,'_list$',new _0x27b580()),A(this,_0x56035e(0x23b),this[_0x56035e(0x2c4)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x178),this[_0x56035e(0x194)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x1c5),this[_0x56035e(0x28e)]['asObservable']()),A(this,_0x56035e(0x1e5),[]);}['dispose'](){const _0xdc955c=_0x23d669;super[_0xdc955c(0x244)](),this['_visible$'][_0xdc955c(0x1d9)](),this[_0xdc955c(0x194)][_0xdc955c(0x1d9)](),this['_list$'][_0xdc955c(0x1d9)]();}[_0x23d669(0x1e3)](){const _0x1a000a=_0x23d669;this[_0x1a000a(0x2c4)]['next'](!0x0);}['hide'](){const _0x3ac8e2=_0x23d669;this['_visible$'][_0x3ac8e2(0x21f)](!0x1);}['updateState'](_0x64dba2){const _0x37502c=_0x23d669;this[_0x37502c(0x194)][_0x37502c(0x21f)](_0x64dba2);}[_0x23d669(0x1bd)](_0x2a2ded){const _0x348ce0=_0x23d669;this[_0x348ce0(0x1e5)][_0x348ce0(0x177)](_0x2a2ded),this[_0x348ce0(0x28e)]['next'](this['_list']);}};function Be(_0x155452){const _0x5e6f0e=_0x23d669;let {list:_0x3c21cc}=_0x155452;function _0x310dd3(_0x1320e1){switch(_0x1320e1){case 0x1:return _0x44e330(_0x53c355,{});case 0x2:return _0x44e330(_0x3d35da,{});case 0x3:return _0x44e330(_0x1a3297,{});default:return null;}}return _0x44e330(_0x5e6f0e(0x203),{'className':_0x4079bb('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x5808d7),'children':_0x44e330('ul',{'className':_0x5e6f0e(0x2b1),'children':_0x3c21cc['map']((_0x38df06,_0x572f37)=>_0x44e330('li',{'children':_0x4de0df('a',{'className':_0x5e6f0e(0x20d),'href':_0x38df06[_0x5e6f0e(0x26b)],'target':_0x5e6f0e(0x22e),'rel':_0x5e6f0e(0x211),'children':[_0x4de0df(_0x5e6f0e(0x246),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x16b),'children':_0x310dd3(_0x38df06['type'])}),_0x44e330(_0x1e8df0,{'showIfEllipsis':!0x0,'title':_0x38df06['name'],'asChild':!0x0,'children':_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x270),'children':_0x38df06[_0x5e6f0e(0x265)]})})]}),_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x200),'children':_0x44e330(_0x46f9e8,{})})]})},_0x572f37))})});}const M=_0x23d669(0x1bb),N=_0x23d669(0x249),P=_0x23d669(0x17d),F=_0x23d669(0x192),I=_0x23d669(0x1eb),L=_0x23d669(0x1a0),R={[_0x2d6c67[_0x23d669(0x2c2)]]:[''],[_0x2d6c67[_0x23d669(0x169)]]:[M],[_0x2d6c67['UNIVER_SHEET']]:[N,P,F],[_0x2d6c67[_0x23d669(0x26c)]]:[I],[_0x2d6c67['UNIVER_BASE']]:[''],[_0x2d6c67[_0x23d669(0x24b)]]:[''],[_0x2d6c67[_0x23d669(0x20e)]]:[''],[_0x2d6c67['UNIVER_PDF']]:[L],[_0x2d6c67['UNRECOGNIZED']]:['']},z={[M]:'docx',[N]:'xlsx',[P]:_0x23d669(0x170),[F]:_0x23d669(0x18b),[I]:_0x23d669(0x236),[L]:_0x23d669(0x229)};function B(_0x20bcaf,_0xf64b7c,_0x4ca062){const _0x37fb81=_0x23d669;let _0x1c339f=document[_0x37fb81(0x1d5)]('a');_0x1c339f[_0x37fb81(0x1f0)]=_0x20bcaf,_0x1c339f['style'][_0x37fb81(0x2bd)]=_0x37fb81(0x20f),_0x1c339f[_0x37fb81(0x248)]=_0xf64b7c+'.'+_0x4ca062,document['body']['appendChild'](_0x1c339f),_0x1c339f['click'](),document[_0x37fb81(0x18d)][_0x37fb81(0x219)](_0x1c339f);}function Ve(_0x560b7a,_0x342f3d,_0xe351b){const _0x5928c2=_0x23d669;let _0x5bc312=URL['createObjectURL'](_0x560b7a);B(_0x5bc312,_0x342f3d,_0xe351b),URL[_0x5928c2(0x188)](_0x5bc312);}function He(_0x561a9b){const _0xab3392=_0x23d669;let _0x428925=_0x561a9b[_0xab3392(0x265)]['split']('.')[_0xab3392(0x24f)]();if(!_0x428925)return _0x2d6c67[_0xab3392(0x2c2)];let _0x14360d=Ue(),_0x19dc0f=_0x2d6c67[_0xab3392(0x2c2)];return _0x14360d[_0xab3392(0x257)](_0x5d76b2=>We(_0x428925,_0x5d76b2)?(_0x19dc0f=_0x5d76b2,!0x0):!0x1),_0x19dc0f;}function Ue(){const _0x5243cc=_0x23d669;return Object[_0x5243cc(0x20b)](_0x2d6c67)[_0x5243cc(0x187)](_0x2739d3=>typeof _0x2739d3==_0x5243cc(0x298));}function We(_0x202315,_0x44ce92){const _0x5e0660=_0x23d669;var _0x5cc4cb;return((_0x5cc4cb=R[_0x44ce92])==null?[]:_0x5cc4cb)[_0x5e0660(0x214)](_0x477705=>(z[_0x477705]||'')[_0x5e0660(0x2c3)]())['includes'](_0x202315[_0x5e0660(0x2c3)]());}function V(_0x15c911,_0x59433f=!0x1){const _0x1baee=_0x23d669;let _0x1bb4be=_0x15c911[_0x1baee(0x214)](_0x538fa0=>{var _0x38d36f;return(_0x38d36f=R[_0x538fa0])==null?[]:_0x38d36f;})[_0x1baee(0x1c8)](',');return new Promise((_0x28215d,_0x149775)=>{const _0x15c3ca=_0x1baee;let _0x304cf6=document['createElement']('input');_0x304cf6['type']=_0x15c3ca(0x287),_0x304cf6[_0x15c3ca(0x1c7)]=_0x1bb4be,_0x304cf6[_0x15c3ca(0x238)]=_0x59433f,_0x304cf6[_0x15c3ca(0x209)](_0x15c3ca(0x16a),_0x58b4e4=>{const _0x253db8=_0x15c3ca;let _0x103f27=_0x58b4e4[_0x253db8(0x1ca)];if(!_0x103f27['files']||_0x103f27[_0x253db8(0x28a)][_0x253db8(0x1ed)]===0x0)throw _0x149775(null),Error(_0x253db8(0x180));_0x28215d(_0x103f27[_0x253db8(0x28a)]);}),_0x304cf6[_0x15c3ca(0x21a)]();});}async function H(_0x2c1ce0,_0x1bc9a4){const _0x496075=_0x23d669;try{var _0x34759,_0x3ffa28,_0x103024;let _0xee082b=await _0x1bc9a4[_0x496075(0x207)](_0x2c1ce0,{'responseType':_0x496075(0x2a0)}),_0x15eecd=_0xee082b[_0x496075(0x18d)],_0x525b73=(_0x34759=(_0x3ffa28=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x227)))==null?void 0x0:_0x3ffa28['join'](',\x20'))==null?_0x496075(0x21c):_0x34759,_0x30bba0=_0x496075(0x297)+(z[_0x525b73]||_0x496075(0x22f)),_0x5991c3=(_0x103024=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x25b)))==null?void 0x0:_0x103024[_0x496075(0x1c8)](',\x20');if(_0x5991c3){let _0x4c178f=_0x5991c3['match'](/filename=(.+)/);_0x4c178f&&_0x4c178f[0x1]&&(_0x30bba0=_0x4c178f[0x1]);}else _0x30bba0=Ge(_0x2c1ce0)||_0x30bba0;return new File([_0x15eecd],_0x30bba0,{'type':_0x525b73});}catch(_0x3bff96){console[_0x496075(0x293)](_0x496075(0x260),_0x3bff96);return;}}function Ge(_0x4f292f){const _0x369081=_0x23d669;try{return new URL(_0x4f292f)['pathname'][_0x369081(0x24c)]('/')[_0x369081(0x24f)]();}catch(_0x4cd5fa){console[_0x369081(0x293)](_0x369081(0x1e7),_0x4cd5fa);return;}}function Ke(_0x5454ca){const _0x5e5468=_0x23d669;let _0x2b71fb=new Blob([_0x5454ca[_0x5e5468(0x206)]],{'type':_0x5e5468(0x221)});return new File([_0x2b71fb],'file.json');}function U(_0x382062,_0x4ea589){const _0x28664e=_0x23d669;return _0x382062[_0x28664e(0x225)](_0x28664e(0x21d),_0x4ea589);}function _0x1e38(_0x199163,_0x108e34){_0x199163=_0x199163-0x168;const _0x18581d=_0x1858();let _0x1e38b5=_0x18581d[_0x199163];return _0x1e38b5;}function qe(_0x312aa2,_0x137fcc){const _0x115592=_0x23d669;return _0x312aa2[_0x115592(0x225)]('{taskID}',_0x137fcc);}function Je(_0x199f30,_0x105df4){const _0x7953fe=_0x23d669;return _0x199f30['replace'](_0x7953fe(0x237),_0x105df4);}const W=_0x80f77a('univer-pro.exchange-client.request.service');let G=class{constructor(_0xfda3aa,_0x23c274){const _0x53dfaf=_0x23d669;this[_0x53dfaf(0x275)]=_0xfda3aa,this[_0x53dfaf(0x181)]=_0x23c274,A(this,_0x53dfaf(0x16c),new Set());}[_0x23d669(0x244)](){}[_0x23d669(0x1ab)](_0x2647f6){const _0x24164d=_0x23d669;this['_taskInterrupted'][_0x24164d(0x28c)](_0x2647f6);}[_0x23d669(0x1fc)](){const _0x2c0c1f=_0x23d669;this[_0x2c0c1f(0x16c)][_0x2c0c1f(0x19d)]();}async[_0x23d669(0x2bb)](_0x21a951,_0x1bae94=0x0,_0x301b8d=!0x1){const _0x453eb3=_0x23d669;if(typeof _0x21a951=='string'){let _0x1cc8ce=await H(_0x21a951,this['_httpService']);if(!_0x1cc8ce)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x21a951=_0x1cc8ce;}_0x1bae94=_0x1bae94||_0x21a951['size'];let _0x5dcfa9=new FormData();_0x5dcfa9[_0x453eb3(0x1ec)](_0x453eb3(0x287),_0x21a951);try{let _0x21dff8=this[_0x453eb3(0x2bf)]()+_0x453eb3(0x291)+_0x1bae94+_0x453eb3(0x2b6)+_0x58c9ac[_0x453eb3(0x289)]+_0x453eb3(0x26f)+_0x301b8d,_0x46e8c0={'body':_0x5dcfa9},_0x1bca53=(await this[_0x453eb3(0x181)][_0x453eb3(0x26d)](_0x21dff8,_0x46e8c0))[_0x453eb3(0x18d)];if(_0x1bca53[_0x453eb3(0x293)]&&_0x1bca53[_0x453eb3(0x293)][_0x453eb3(0x1f6)]!==_0x18b2f3['OK'])throw Error(this[_0x453eb3(0x2be)](_0x453eb3(0x299),_0x1bca53[_0x453eb3(0x293)]));return _0x1bca53;}catch(_0xc1b1fb){throw _0xc1b1fb instanceof Error?_0xc1b1fb:Error(this[_0x453eb3(0x1e0)](_0x453eb3(0x299),_0xc1b1fb));}}async[_0x23d669(0x296)](_0x30bcbf){const _0x30c84d=_0x23d669;let {fileID:_0x2e832,type:_0x4af2a9,outputType:_0x2a99b8,minSheetColumnCount:_0x38b00f,minSheetRowCount:_0x54529d}=_0x30bcbf;try{let _0x29dbfd=U(this[_0x30c84d(0x1bc)](),''+_0x4af2a9),_0x20f8b3={'body':{'fileID':_0x2e832,'outputType':_0x2a99b8,'minSheetColumnCount':_0x38b00f,'minSheetRowCount':_0x54529d}},_0xe4f91b=(await this['_httpService']['post'](_0x29dbfd,_0x20f8b3))['body'];return _0xe4f91b[_0x30c84d(0x293)]&&_0xe4f91b['error'][_0x30c84d(0x1f6)]!==_0x18b2f3['OK']?void 0x0:_0xe4f91b;}catch{return;}}async[_0x23d669(0x26a)](_0x2599ca){const _0xac73e1=_0x23d669;let {unitID:_0x417fd7,jsonID:_0x3ae10b,type:_0x7157f8,useImageUrl:_0x13115a,ignoreTableExport:_0x2e03a9}=_0x2599ca;try{let _0x34dc3a=U(this[_0xac73e1(0x22d)](),''+_0x7157f8),_0x20d302={'body':{'unitID':_0x417fd7,'jsonID':_0x3ae10b,'type':_0x7157f8,'useImageUrl':_0x13115a,'ignoreTableExport':_0x2e03a9}},_0x23feca=(await this[_0xac73e1(0x181)][_0xac73e1(0x26d)](_0x34dc3a,_0x20d302))[_0xac73e1(0x18d)];return _0x23feca['error']&&_0x23feca[_0xac73e1(0x293)]['code']!==_0x18b2f3['OK']?void 0x0:_0x23feca;}catch{return;}}async[_0x23d669(0x28b)](_0x4ebd78){return new Promise((_0x194845,_0x1a7205)=>{const _0x318637=_0x1e38;try{let _0x37f5f4=0x0,_0x3c6fab=qe(this[_0x318637(0x1b2)](),''+_0x4ebd78),_0x275a44=this['_getMaxPollingTime'](),_0x21cf48=async()=>{const _0x2dc3e2=_0x318637;if(this[_0x2dc3e2(0x16c)]['has'](_0x4ebd78))return;let _0x56e252=(await this['_httpService'][_0x2dc3e2(0x207)](_0x3c6fab))[_0x2dc3e2(0x18d)];if(_0x56e252[_0x2dc3e2(0x293)]&&_0x56e252[_0x2dc3e2(0x293)][_0x2dc3e2(0x1f6)]===_0x18b2f3['OK']){if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1e8))_0x194845(_0x56e252);else{if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1cf)){let _0x2682fc=0x3e8;if(_0x37f5f4>=_0x275a44){_0x1a7205(_0x56e252);return;}else _0x37f5f4>=0x7530&&(_0x2682fc=0x1388);_0x37f5f4+=_0x2682fc,setTimeout(_0x21cf48,_0x2682fc);}else _0x1a7205(_0x56e252);}}else _0x1a7205(_0x56e252);};_0x21cf48();}catch(_0x30e682){_0x1a7205(_0x30e682 instanceof Error?_0x30e682:Error(String(_0x30e682)));}});}async[_0x23d669(0x230)](_0xc15347){const _0x41625a=_0x23d669;try{let _0x565e27=Je(this[_0x41625a(0x23e)](),''+_0xc15347);return(await this[_0x41625a(0x181)][_0x41625a(0x207)](_0x565e27))[_0x41625a(0x18d)];}catch{return;}}async['getTextFromUrl'](_0x1a370b){const _0x15a564=_0x23d669;try{return(await this[_0x15a564(0x181)][_0x15a564(0x207)](_0x1a370b,{'responseType':_0x15a564(0x1d3)}))[_0x15a564(0x18d)];}catch{return;}}[_0x23d669(0x2be)](_0x5569c4,_0x735759){const _0x45ae9f=_0x23d669;let _0x19bcfc=this[_0x45ae9f(0x17f)](_0x735759);return _0x19bcfc?_0x5569c4+':\x20'+_0x19bcfc:_0x5569c4;}[_0x23d669(0x1e0)](_0x3d0a67,_0x30f000){const _0x5eb241=_0x23d669;if(_0x30f000 instanceof _0x5210cd){let _0x575718=typeof _0x30f000[_0x5eb241(0x253)]==_0x5eb241(0x298)?''+_0x30f000[_0x5eb241(0x253)]+(_0x30f000['statusText']?'\x20'+_0x30f000[_0x5eb241(0x25d)]:''):void 0x0,_0x2d8fb2=this[_0x5eb241(0x17f)](_0x30f000['error']);return _0x575718&&_0x2d8fb2?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718+'\x20-\x20'+_0x2d8fb2:_0x575718?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718:_0x2d8fb2?_0x3d0a67+':\x20'+_0x2d8fb2:_0x3d0a67;}let _0x4fc283=this['_extractErrorDetail'](_0x30f000);return _0x4fc283?_0x3d0a67+':\x20'+_0x4fc283:_0x3d0a67;}[_0x23d669(0x17f)](_0x4f1444){const _0x46bfd4=_0x23d669;if(typeof _0x4f1444=='string'){let _0x20d384=_0x4f1444[_0x46bfd4(0x171)]();return _0x20d384[_0x46bfd4(0x1ed)]>0x0?_0x20d384:void 0x0;}if(_0x4f1444 instanceof Error)return this[_0x46bfd4(0x17f)](_0x4f1444['message']);if(!_0x4f1444||typeof _0x4f1444!='object'||Array[_0x46bfd4(0x273)](_0x4f1444))return;let _0x240bf8=_0x4f1444,_0xb0ad9a=this['_extractErrorDetail'](_0x240bf8[_0x46bfd4(0x21e)]);if(_0xb0ad9a)return _0xb0ad9a;if(_0x240bf8[_0x46bfd4(0x293)]&&typeof _0x240bf8['error']=='object'&&!Array[_0x46bfd4(0x273)](_0x240bf8[_0x46bfd4(0x293)])){let _0x1d6846=this[_0x46bfd4(0x17f)](_0x240bf8[_0x46bfd4(0x293)]);if(_0x1d6846)return _0x1d6846;}}['_getUploadFileURL'](){const _0x4319b2=_0x23d669;var _0x22cd47;let _0x1ddf0e=this['_configService']['getConfig'](T);return(_0x22cd47=_0x1ddf0e==null?void 0x0:_0x1ddf0e[_0x4319b2(0x29d)])==null?_0x4319b2(0x195):_0x22cd47;}['_getImportURL'](){const _0x103b29=_0x23d669;var _0xc0808a;let _0x42fab8=this['_configService']['getConfig'](T);return(_0xc0808a=_0x42fab8==null?void 0x0:_0x42fab8[_0x103b29(0x198)])==null?_0x103b29(0x285):_0xc0808a;}[_0x23d669(0x22d)](){const _0x5d606c=_0x23d669;var _0x42414e;let _0x1a3188=this[_0x5d606c(0x275)]['getConfig'](T);return(_0x42414e=_0x1a3188==null?void 0x0:_0x1a3188[_0x5d606c(0x284)])==null?_0x5d606c(0x1a1):_0x42414e;}[_0x23d669(0x1b2)](){const _0x420c28=_0x23d669;var _0x9e58b9;let _0x2fa6f8=this[_0x420c28(0x275)][_0x420c28(0x190)](T);return(_0x9e58b9=_0x2fa6f8==null?void 0x0:_0x2fa6f8['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x9e58b9;}['_getSignURL'](){const _0x1bb105=_0x23d669;var _0x442531;let _0x20a03e=this[_0x1bb105(0x275)][_0x1bb105(0x190)](T);return(_0x442531=_0x20a03e==null?void 0x0:_0x20a03e[_0x1bb105(0x2b8)])==null?_0x1bb105(0x196):_0x442531;}[_0x23d669(0x280)](){const _0x2d8045=_0x23d669;var _0x5163fb;let _0x58acc7=this[_0x2d8045(0x275)][_0x2d8045(0x190)](T);return(_0x5163fb=_0x58acc7==null?void 0x0:_0x58acc7[_0x2d8045(0x176)])==null?0x1d4c0:_0x5163fb;}};G=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820))],G);function Ye(_0x4f11a3){const _0x4d5580=_0x23d669;let _0x3195b7=_0x4f11a3['workbook'];if(!_0x3195b7)return null;let _0x2ec7b4={};_0x3195b7[_0x4d5580(0x1fe)]&&Object[_0x4d5580(0x2aa)](_0x3195b7['sheets'])[_0x4d5580(0x2ba)](_0x21360f=>{const _0x355625=_0x4d5580;let _0x32db3c=_0x3195b7[_0x355625(0x1fe)][_0x21360f];_0x2ec7b4[_0x21360f]={..._0x32db3c,'originalMeta':_0x226c59(_0x2a36ef[_0x355625(0x25e)](_0x32db3c[_0x355625(0x2ac)]))};});let _0x30394e=_0x226c59(_0x2a36ef[_0x4d5580(0x25e)](_0x3195b7[_0x4d5580(0x2ac)]));return{..._0x4f11a3,'workbook':{..._0x3195b7,'originalMeta':_0x30394e,'sheets':_0x2ec7b4},'doc':{},'slide':void 0x0,'board':void 0x0};}function Xe(_0x21aa0c){const _0xfb1fa9=_0x23d669;let _0x501509=_0x21aa0c[_0xfb1fa9(0x1ff)];if(!_0x501509)return null;let _0x45914e=_0x226c59(_0x2a36ef[_0xfb1fa9(0x25e)](_0x501509[_0xfb1fa9(0x2ac)]));return{..._0x21aa0c,'workbook':{},'doc':{..._0x501509,'originalMeta':_0x45914e},'slide':void 0x0,'board':void 0x0};}function Ze(_0x5f2687){const _0x431db0=_0x23d669;var _0x358855;let _0x59fba9=(_0x358855=_0x5f2687[_0x431db0(0x16d)])==null?_0x5f2687['doc']:_0x358855;if(!_0x59fba9)return null;let _0x14e06a=typeof _0x59fba9['originalMeta']==_0x431db0(0x1a8)?_0x59fba9[_0x431db0(0x2ac)]:_0x226c59(_0x2a36ef[_0x431db0(0x25e)](_0x59fba9[_0x431db0(0x2ac)]));return{..._0x5f2687,'workbook':{},'doc':{},'slide':{..._0x59fba9,'originalMeta':_0x14e06a},'board':void 0x0};}function K(_0x4e0070){const _0x3b5c6a=_0x23d669;let _0x127ab7={};return _0x4e0070[_0x3b5c6a(0x2ba)](_0x4f6911=>{const _0x3494cc=_0x3b5c6a;_0x127ab7[_0x4f6911['id']]={..._0x4f6911,'data':_0x226c59(_0x2a36ef[_0x3494cc(0x25e)](_0x4f6911['data']))};}),_0x127ab7;}async function Qe(_0x3c0413){const _0x1581c2=_0x23d669;var _0x2dd6cb;let _0x8d4ade={'metadata':void 0x0},_0x58948e=_0x3c0413['id'],_0x51b07f=(_0x2dd6cb=_0x3c0413[_0x1581c2(0x1b5)])==null?0x0:_0x2dd6cb,_0x34201f=new q(),{snapshot:_0x5bf8c4}=await _0x2cfb44(_0x8d4ade,_0x3c0413,_0x58948e,_0x51b07f,_0x34201f),_0x2720cb=await _0x43e137(_0x5bf8c4,_0x34201f),_0x29c0b7=Ye(_0x5bf8c4);if(!_0x29c0b7)throw Error(_0x1581c2(0x279));return{'snapshot':_0x29c0b7,'sheetBlocks':K(_0x2720cb)};}async function $e(_0x34a6ea){const _0x5db97b=_0x23d669;var _0x5cb861;let _0x57434c={'metadata':void 0x0},_0x547f0a=_0x34a6ea['id'],{snapshot:_0x2b6f61}=await _0x59b499(_0x57434c,_0x34a6ea,_0x547f0a,(_0x5cb861=_0x34a6ea[_0x5db97b(0x1b5)])==null?0x0:_0x5cb861,new q()),_0x4839a0=Xe(_0x2b6f61);if(!_0x4839a0)throw Error(_0x5db97b(0x279));return{'snapshot':_0x4839a0,'sheetBlocks':{}};}async function et(_0x265754){const _0xc696fd=_0x23d669;var _0x1977e1;let _0x1346f2=_0x265754['id'],_0x9c2710=(_0x1977e1=_0x265754[_0xc696fd(0x1b5)])==null?0x0:_0x1977e1,_0x5662ab=new q(),{snapshot:_0x1d2e00}=await _0x23bc36(_0x265754[_0xc696fd(0x232)],_0x265754,_0x1346f2,_0x9c2710,_0x5662ab),_0x292241=Ze(_0x1d2e00);if(!_0x292241)throw Error(_0xc696fd(0x279));return{'snapshot':_0x292241,'sheetBlocks':{}};}async function tt(_0xc32aa6){const _0x5f5a56=_0x23d669;let _0x1ff5dc=_0xc32aa6[_0x5f5a56(0x1d0)],_0x4f7384=_0xc32aa6[_0x5f5a56(0x1c6)]||{};return await _0x4cef1f(_0x1ff5dc,Object[_0x5f5a56(0x2aa)](_0x4f7384)[_0x5f5a56(0x214)](_0x42756c=>_0x4f7384[_0x42756c])[_0x5f5a56(0x214)](_0x26c1dd=>({..._0x26c1dd,'data':_0x26c1dd[_0x5f5a56(0x228)]?JSON[_0x5f5a56(0x201)](_0x2569a2(_0x26c1dd[_0x5f5a56(0x228)])):void 0x0})));}function nt(_0x445fcd){const _0x3ded0b=_0x23d669;let _0x473ca4=_0x445fcd[_0x3ded0b(0x1d0)];return _0x1b12c6(_0x473ca4);}function rt(_0x5ace33){const _0x151cd7=_0x23d669;let _0x2e4374=_0x5ace33[_0x151cd7(0x1d0)];return _0x5711f7(_0x2e4374);}function _0x1858(){const _0x63b75a=['importFileToUnitIdByCurrentType','headers','href','createUnit','exportDOCXBySnapshot','set','univer-pro.exchange-client.exchange.service','univer-pl-2\x20univer-pr-4','code','getUnitOnRev','univer-mt-5\x20univer-flex\x20univer-flex-col','exchange-client.config','_exportBySnapshot','shift','clearTaskInterrupted','exportXLSXBySnapshot','sheets','doc','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','parse','_showUploadMessage','div','getFocusedUnit','stringify','buffer','get','fetchMissingChangesets','addEventListener','CONTENT','values','_refreshSlide','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','UNIVER_PROJECT','none','importPPTXToUnitId','noreferrer','packageName','9729MggFCA','map','_injector','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getUnitDocJson','univer-flex','removeChild','click','_emitProgress','application/octet-stream','{type}','message','next','_getDisableCellImageConversion','application/json','Info','_getUnitID','exportXLSXByUnitId','replace','_logService','Content-Type','data','pdf','blockID','ignoreTableExport','outputType','_getExportURL','_blank','xlsx','signUrl','_signUrl','resources','_config','importDOCXToSnapshot','Get\x20outputType\x20error','pptx','{fileID}','multiple','UNIVER_SHEET','url','visible$','importXLSXToSnapshot','_getMinSheetRowCount','_getSignURL','_registerIcons','registerLink','function','exportDOCXByUnitId','getTextFromUrl','dispose','3110aLZAJg','span','getOwnPropertyDescriptor','download','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_import','UNIVER_BOARD','split','Failed\x20to\x20get\x20unitID\x20from\x20task','univer-text-green-500','pop','options','downloadEndpointUrl','_localeService','status','_getUnitName','importXLSXToUnitId','hide','some','copyFileMeta','getSnapshot','1191720SwrTrB','content-disposition','setConfig','statusText','decode','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Error\x20fetching\x20file\x20from\x20URL:','_getUnitSlideJson','CONNECTOR_DATA_TOO_LARGE','registerComponent','UNDEFINED','name','_upload','importFileToUnitId','getUnitId','jsonID','export','link','UNIVER_SLIDE','post','getCurrentUnitOfType','&flate=','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','815140LpyRwP','_getUnitIDDoc','isArray','onStarting','_configService','importFileToJson','getLatestCsReqIdBySid','_clearProgress','Failed\x20to\x20transform\x20snapshot\x20to\x20string','block\x20is\x20required','_registerUIParts','taskID','importDOCXToUnitId','5176DlmLrO','2292279KMRqjj','_getMaxPollingTime','sign\x20url\x20error','fileID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','exportServerUrl','/universer-api/exchange/{type}/import','_showNetworkError','file','exchange-client.tooLarge','HttpImport','files','getTask','add','title','_list$','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Success','?size=','decorate','error','version','_resourceLoaderService','import','file.','number','upload\x20request\x20failed','_getDownloadEndpointURL','Failed\x20to\x20get\x20jsonID\x20from\x20task','saveSnapshot','uploadFileServerUrl','exchange-client.interrupt','_getIgnoreTableExport','blob','6sdYrCN','min','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','type','_doneUploadTaskCount','_exchangeService','resolve','updateSnapshot','3033750snJvbL','keys','_addTotalCount','originalMeta','4GxldLz','import\x20error','_requestService','catch','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','asObservable','constructor','pluginName','3615416kFVfVz','&source=','exchange-client.fileTypeError','signUrlServerUrl','univer-h-6\x20univer-text-2xl','forEach','upload','defineProperty','display','_buildProtocolErrorMessage','_getUploadFileURL',':\x20HTTP\x20','.json','UNIVER_UNKNOWN','toLowerCase','_visible$','_requestState$','_importTaskId','transformSnapshotJsonToWorkbookData','UNIVER_DOC','change','univer-flex\x20univer-h-5\x20univer-text-xl','_taskInterrupted','slide','register','_showDownloadMessage','xlsm','trim','UNRECOGNIZED','iterator','searchParams','_fileTypeError','maxTimeoutTime','unshift','state$','_importFileToUnitId','exchange-client.internalError','_uploadTaskNotDone','unitID','application/vnd.ms-excel.sheet.macroEnabled.12','_getUnitIDSlide','_extractErrorDetail','No\x20file\x20selected','_httpService','progress$','origin','docx','requestState$','Error','filter','revokeObjectURL','_totalUploadTaskCount','importPPTXToSnapshot','xltx','@univerjs-pro/exchange-client','body','exchange-client.uploadSuccess','_addDoneTask','getConfig','INTERNAL_ERROR','application/vnd.openxmlformats-officedocument.spreadsheetml.template','saveUnit','_state$','/universer-api/stream/file/upload','/universer-api/file/{fileID}/sign-url','exchange-client.wait','importServerUrl','_getUnitJson','minSheetRowCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','clear','toString','univer-pro.exchange-client.upload-notification.service','application/pdf','/universer-api/exchange/{type}/export','exchange-client.uploading','interruptImportTask','object','_getLinkByUnitId','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_refresh','string','toPrimitive','success','setTaskInterrupted','encode','_getMinSheetColumnCount','upload\x20failed:\x20FileId\x20is\x20empty','location','_univerInstanceService','Failed\x20to\x20get\x20text\x20from\x20url','_getTaskURL','disableCellImageConversion','updateState','rev','downloadFile','_messageService','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getResourcesRequest','symbol','application/vnd.openxmlformats-officedocument.wordprocessingml.document','_getImportURL','pushLink','floor','_export','univer-text-red-500','_completeProgress','exportPPTXBySnapshot','button','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','list$','sheetBlocks','accept','join','exchange-client.networkError','currentTarget','_uiPartsService','Failed\x20to\x20parse\x20json','_getUnitNameByType','call','pending','snapshot','Failed\x20to\x20get\x20fileID\x20from\x20task','exportPPTXByUnitId','text','minSheetColumnCount','createElement','disposeWithMe','subscribe','55121QohURV','complete','getSheetBlock','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Method\x20not\x20implemented.','transformWorkbookDataToSnapshotJson','Warning','_sheetBlockCache','_buildHttpErrorMessage','_uploadNotificationService','_importToJson','show','_progress$','_list','interrupt','Error\x20getting\x20file\x20name\x20from\x20URL:','done','univer-text-sm\x20univer-text-gray-500','exchange-client.uploadAgain','application/vnd.openxmlformats-officedocument.presentationml.presentation','append','length'];_0x1858=function(){return _0x63b75a;};return _0x1858();}var q=class{constructor(){const _0x578764=_0x23d669;A(this,_0x578764(0x1df),new Map());}[_0x23d669(0x1f7)](){const _0x5f058c=_0x23d669;return Promise[_0x5f058c(0x2a7)]({'snapshot':{'unitID':'','type':_0x2d6c67[_0x5f058c(0x239)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1da)](_0xbe1a22,_0x1434ba){const _0xfc2a3=_0x23d669;let _0x2d82f9=this['_sheetBlockCache']['get'](_0x1434ba[_0xfc2a3(0x22a)]);return Promise[_0xfc2a3(0x2a7)]({'block':_0x2d82f9,'error':{'code':_0x18b2f3['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x47b2f5,_0x4d17c2){const _0x5a66ac=_0x23d669;let _0x5c6528=this[_0x5a66ac(0x1df)][_0x5a66ac(0x207)](_0x4d17c2[_0x5a66ac(0x22a)]);return Promise[_0x5a66ac(0x2a7)]({'block':_0x5c6528===void 0x0?void 0x0:{..._0x5c6528,'data':JSON[_0x5a66ac(0x201)](_0x2a36ef[_0x5a66ac(0x25e)](_0x5c6528[_0x5a66ac(0x228)]))},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x208)](){const _0x383cd5=_0x23d669;return Promise[_0x383cd5(0x2a7)]({'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1b9)](){const _0x17bd59=_0x23d669;return Promise[_0x17bd59(0x2a7)]({'resources':{},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x29c)](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x2a8)](){const _0x24b4a4=_0x23d669;return Promise[_0x24b4a4(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''}});}['saveSheetBlock'](_0x1120f6,_0x2da708){const _0x39d11e=_0x23d669;let {block:_0x2f939d}=_0x2da708;return _0x2f939d?(this[_0x39d11e(0x1df)]['set'](_0x2f939d['id'],_0x2f939d),Promise[_0x39d11e(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''},'blockID':_0x2f939d['id']})):Promise['resolve']({'error':{'code':_0x18b2f3[_0x39d11e(0x264)],'message':_0x39d11e(0x27a)},'blockID':''});}['saveChangeset'](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''},'concurrent':[]});}[_0x23d669(0x258)](){const _0x59bba6=_0x23d669;return Promise[_0x59bba6(0x2a7)]({'error':void 0x0,'fileMetaId':''});}[_0x23d669(0x277)](){const _0x5cf05d=_0x23d669;return Promise[_0x5cf05d(0x2a7)]({'error':void 0x0,'latestReqID':0x0});}};const J=_0x80f77a(_0x23d669(0x1f4));let Y=class extends _0x52bca0{constructor(_0x2c8542,_0x18c1fa,_0x1a8239){const _0x386309=_0x23d669;super(),this[_0x386309(0x275)]=_0x2c8542,this[_0x386309(0x181)]=_0x18c1fa,this[_0x386309(0x2af)]=_0x1a8239,A(this,_0x386309(0x2c6),null),A(this,'_requestState$',new _0x27b580()),A(this,_0x386309(0x185),this[_0x386309(0x2c5)][_0x386309(0x2b2)]());}[_0x23d669(0x244)](){const _0x5b070b=_0x23d669;super[_0x5b070b(0x244)](),this[_0x5b070b(0x2c5)][_0x5b070b(0x1d9)]();}['downloadFile'](_0x50ab98,_0x56e47d,_0x3ae48d){const _0x52771c=_0x23d669;let _0x335578=URL['createObjectURL'](_0x50ab98);B(_0x335578,_0x56e47d,_0x3ae48d),URL[_0x52771c(0x188)](_0x335578);}async[_0x23d669(0x168)](_0x1a5333){const _0x4409f1=_0x23d669;let _0x458dec=_0x1a5333[_0x4409f1(0x1d0)],_0x10b3da=_0x1a5333[_0x4409f1(0x1c6)]||{};return _0x4cef1f(_0x458dec,Object[_0x4409f1(0x2aa)](_0x10b3da)[_0x4409f1(0x214)](_0xfb8f89=>_0x10b3da[_0xfb8f89])[_0x4409f1(0x214)](_0x7939bf=>({..._0x7939bf,'data':_0x7939bf[_0x4409f1(0x228)]?JSON[_0x4409f1(0x201)](_0x2569a2(_0x7939bf[_0x4409f1(0x228)])):void 0x0})));}async[_0x23d669(0x1dd)](_0xa8e85a){const _0x3efea1=_0x23d669;var _0x27810d;let _0x9f1b2={'metadata':void 0x0},_0x38bd97=_0xa8e85a['id'],_0x1efd53=(_0x27810d=_0xa8e85a['rev'])==null?0x0:_0x27810d,_0x190824=new q(),{snapshot:_0x16e8ec}=await _0x2cfb44(_0x9f1b2,_0xa8e85a,_0x38bd97,_0x1efd53,_0x190824),_0x21142e=await _0x43e137(_0x16e8ec,_0x190824),_0xf7c9e2=Ye(_0x16e8ec);if(!_0xf7c9e2)throw Error(_0x3efea1(0x279));return{'snapshot':_0xf7c9e2,'sheetBlocks':K(_0x21142e)};}async[_0x23d669(0x234)](_0x9c5c2e){const _0x1e1cec=_0x23d669;let _0x2abfe5=await this[_0x1e1cec(0x276)](_0x9c5c2e,_0x2d6c67[_0x1e1cec(0x169)]);if(!_0x2abfe5||!_0x2abfe5[_0x1e1cec(0x1d0)])return;let _0x2e26fc=nt(_0x2abfe5);if(_0x2e26fc)return _0x2e26fc;}async['exportDOCXByUnitId'](_0xb9d2af){const _0xa58161=_0x23d669;return this[_0xa58161(0x1bf)](_0xb9d2af,0x1,_0x2d6c67[_0xa58161(0x169)]);}async[_0x23d669(0x1f2)](_0x5bdcb1){const _0x5b0bb3=_0x23d669;let _0xe79a4=await $e(_0x5bdcb1);return this[_0x5b0bb3(0x1fa)](_0xe79a4,_0x2d6c67[_0x5b0bb3(0x169)]);}async['importPPTXToSnapshot'](_0x22c3db){const _0x1f996f=_0x23d669;let _0x2cf6c7=await this[_0x1f996f(0x276)](_0x22c3db,_0x2d6c67[_0x1f996f(0x26c)]);if(!(!_0x2cf6c7||!_0x2cf6c7[_0x1f996f(0x1d0)]))return rt(_0x2cf6c7);}async[_0x23d669(0x1d2)](_0x17a8a2){const _0x10c00a=_0x23d669;return this[_0x10c00a(0x1bf)](_0x17a8a2,0x1,_0x2d6c67[_0x10c00a(0x26c)]);}async[_0x23d669(0x1c2)](_0x1cb24a){const _0x14a1f2=_0x23d669;let _0x49b4e4=await et(_0x1cb24a);return this[_0x14a1f2(0x1fa)](_0x49b4e4,_0x2d6c67[_0x14a1f2(0x26c)]);}async[_0x23d669(0x23c)](_0x521906){const _0x575fd9=_0x23d669;let _0x288b70=await this[_0x575fd9(0x276)](_0x521906,_0x2d6c67[_0x575fd9(0x239)]);if(!_0x288b70)return;let _0x4d6e2a=await this[_0x575fd9(0x168)](_0x288b70);if(_0x4d6e2a)return _0x4d6e2a;}async[_0x23d669(0x224)](_0x1ab696){return this['_export'](_0x1ab696,0x1,_0x2d6c67['UNIVER_SHEET']);}async[_0x23d669(0x1fd)](_0x546df9){const _0x27b53c=_0x23d669;let _0x517167=await this[_0x27b53c(0x1dd)](_0x546df9);return this[_0x27b53c(0x1fa)](_0x517167,_0x2d6c67[_0x27b53c(0x239)]);}async[_0x23d669(0x267)](_0x535dc2,_0x17ed84){const _0x557f23=_0x23d669;var _0x56aa50,_0x914758;let _0xb2e2fd=await this[_0x557f23(0x266)](_0x535dc2);if(!_0xb2e2fd)return;let _0x56d916=await this[_0x557f23(0x24a)](_0xb2e2fd,0x1,_0x17ed84);if(!_0x56d916)return;this['_importTaskId']=_0x56d916,this[_0x557f23(0x2af)][_0x557f23(0x1fc)]();let _0x1b4dd0=await this[_0x557f23(0x2af)][_0x557f23(0x28b)](_0x56d916)[_0x557f23(0x2b0)](_0xa0a543=>{const _0x4433e1=_0x557f23;var _0x47792b;let _0x7de22=_0xa0a543 instanceof Error?_0xa0a543[_0x4433e1(0x21e)]:(_0x47792b=_0xa0a543[_0x4433e1(0x293)])==null?void 0x0:_0x47792b[_0x4433e1(0x21e)];this[_0x4433e1(0x2c5)][_0x4433e1(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x7de22||''},'state':0x3});});if(!_0x1b4dd0)return;let _0x218637=(_0x56aa50=_0x1b4dd0['import'])==null?void 0x0:_0x56aa50['outputType'],_0x5912f3=((_0x914758=_0x1b4dd0[_0x557f23(0x296)])==null?void 0x0:_0x914758[_0x557f23(0x17c)])||'';if(_0x218637!==0x1){this[_0x557f23(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x235)},'state':0x3});return;}if(_0x5912f3[_0x557f23(0x1ed)]===0x0){this[_0x557f23(0x2c5)][_0x557f23(0x21f)]({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x24d)},'state':0x3});return;}return this['_requestState$'][_0x557f23(0x21f)]({'error':_0x1b4dd0[_0x557f23(0x293)],'state':0x3}),_0x5912f3;}async['importFileToJson'](_0x4f2b6c,_0xd6e77a){return this['_importToJson'](_0x4f2b6c,_0xd6e77a);}async['importWorkbookDataToUnitId'](_0x110e70){const _0x2aec08=_0x23d669;let _0x34a966=await this[_0x2aec08(0x1dd)](_0x110e70),_0x2f8ae2=typeof _0x110e70['id']=='string'&&_0x110e70['id'][_0x2aec08(0x171)]()?_0x110e70['id'][_0x2aec08(0x171)]()+_0x2aec08(0x2c1):'workbook.json',_0x110ea6=new File([JSON[_0x2aec08(0x205)](_0x34a966)],_0x2f8ae2,{'type':_0x2aec08(0x221)});return this[_0x2aec08(0x267)](_0x110ea6,_0x2d6c67[_0x2aec08(0x239)]);}['interruptImportTask'](){const _0x44201d=_0x23d669;this[_0x44201d(0x2c6)]&&this[_0x44201d(0x2af)][_0x44201d(0x1ab)](this[_0x44201d(0x2c6)]);}async[_0x23d669(0x1e2)](_0x23b49a,_0x297fb3){const _0x65ad9e=_0x23d669;var _0x31075c,_0x495999;let _0x4fa8bb=await this['_upload'](_0x23b49a);if(!_0x4fa8bb)return;let _0xfa8155=await this[_0x65ad9e(0x24a)](_0x4fa8bb,0x2,_0x297fb3);if(!_0xfa8155)return;this[_0x65ad9e(0x2c6)]=_0xfa8155,this['_requestService'][_0x65ad9e(0x1fc)]();let _0x308ac4=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x28b)](_0xfa8155)[_0x65ad9e(0x2b0)](_0x40ba0e=>{const _0x543748=_0x65ad9e;var _0x55f1d1;let _0x5ddac0=_0x40ba0e instanceof Error?_0x40ba0e[_0x543748(0x21e)]:(_0x55f1d1=_0x40ba0e['error'])==null?void 0x0:_0x55f1d1['message'];this[_0x543748(0x2c5)][_0x543748(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x5ddac0||''},'state':0x3});});if(!_0x308ac4)return;let _0x4ba2a2=(_0x31075c=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x31075c[_0x65ad9e(0x22c)],_0x2a67c8=((_0x495999=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x495999[_0x65ad9e(0x269)])||'';if(_0x4ba2a2!==0x2){this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x235)},'state':0x3});return;}if(_0x2a67c8[_0x65ad9e(0x1ed)]===0x0){this['_requestState$']['next']({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x29b)},'state':0x3});return;}this['_requestState$'][_0x65ad9e(0x21f)]({'error':_0x308ac4[_0x65ad9e(0x293)],'state':0x3});let _0x37ec96=await this[_0x65ad9e(0x231)](_0x2a67c8);if(!_0x37ec96)return;let _0x55d85a=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x243)](_0x37ec96);if(!_0x55d85a){this[_0x65ad9e(0x2c5)][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1b1)},'state':0x5});return;}try{let _0x44b6c9=JSON[_0x65ad9e(0x201)](_0x55d85a);return this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':'success'},'state':0x5}),_0x44b6c9;}catch{this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1cc)},'state':0x5});}}async[_0x23d669(0x1fa)](_0x284dd2,_0x198522){const _0x36bc6c=_0x23d669;let _0x2b4944=JSON[_0x36bc6c(0x205)](_0x284dd2),_0xce7257=_0x493234[_0x36bc6c(0x1ac)](_0x2b4944),_0x11d479=_0x2b1f2b(_0xce7257),_0x4c4478=_0xce7257[_0x36bc6c(0x1ed)],_0x454e5d=Ke(_0x11d479),_0x423241=await this[_0x36bc6c(0x266)](_0x454e5d,_0x4c4478,!0x0);if(_0x423241)return this[_0x36bc6c(0x1bf)](_0x423241,0x2,_0x198522);}async[_0x23d669(0x1bf)](_0x4d07be,_0x525f89,_0x3ce77d){const _0x1adb94=_0x23d669;var _0x3b6d7e;let _0x2663dd=await this['_requestService']['export']({'unitID':_0x525f89===0x1?_0x4d07be:'','jsonID':_0x525f89===0x2?_0x4d07be:'','type':_0x3ce77d,'useImageUrl':this[_0x1adb94(0x220)](),'ignoreTableExport':this[_0x1adb94(0x29f)]()});if(!_0x2663dd){this['_requestState$'][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'export\x20error'},'state':0x2});return;}if(this['_requestState$'][_0x1adb94(0x21f)]({'error':_0x2663dd['error'],'state':0x2}),_0x2663dd[_0x1adb94(0x293)]&&_0x2663dd[_0x1adb94(0x293)][_0x1adb94(0x1f6)]!==_0x18b2f3['OK'])return;let _0x149e8f=_0x2663dd[_0x1adb94(0x27c)],_0x4d01c8=await this['_requestService'][_0x1adb94(0x28b)](_0x149e8f)[_0x1adb94(0x2b0)](_0x373a17=>{const _0x38bd9c=_0x1adb94;var _0x17f930;let _0x25a26f=_0x373a17 instanceof Error?_0x373a17[_0x38bd9c(0x21e)]:(_0x17f930=_0x373a17[_0x38bd9c(0x293)])==null?void 0x0:_0x17f930[_0x38bd9c(0x21e)];this[_0x38bd9c(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x38bd9c(0x172)],'message':_0x25a26f||''},'state':0x3});});if(!_0x4d01c8)return;let _0x4a6ef4=((_0x3b6d7e=_0x4d01c8[_0x1adb94(0x26a)])==null?void 0x0:_0x3b6d7e[_0x1adb94(0x282)])||'';if(_0x4a6ef4[_0x1adb94(0x1ed)]===0x0){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x1adb94(0x1d1)},'state':0x3});return;}this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':_0x4d01c8[_0x1adb94(0x293)],'state':0x3});let _0x56be3e=await this[_0x1adb94(0x231)](_0x4a6ef4);if(!_0x56be3e)return;let _0x286084=await H(_0x56be3e,this[_0x1adb94(0x181)]);if(!_0x286084){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x1adb94(0x1aa)},'state':0x6}),_0x286084;}async[_0x23d669(0x266)](_0x426f2b,_0x3b44b1,_0x42d751){const _0x720183=_0x23d669;let _0x37d7c9;try{_0x37d7c9=await this[_0x720183(0x2af)][_0x720183(0x2bb)](_0x426f2b,_0x3b44b1,_0x42d751);}catch(_0x216ea4){let _0x452deb=_0x216ea4 instanceof Error?_0x216ea4[_0x720183(0x21e)]:String(_0x216ea4);this['_requestState$'][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x452deb},'state':0x0});return;}if(!_0x37d7c9||typeof _0x37d7c9['FileId']!=_0x720183(0x1a8)){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x216)},'state':0x0});return;}let _0xc7a435=_0x37d7c9['FileId'];if(_0xc7a435[_0x720183(0x1ed)]===0x0){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x1ae)},'state':0x0});return;}return this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x720183(0x1aa)},'state':0x0}),_0xc7a435;}async[_0x23d669(0x24a)](_0xcbb723,_0x590f42,_0x34520d){const _0x2d8ef0=_0x23d669;let _0x56d45a={'fileID':_0xcbb723,'type':_0x34520d,'outputType':_0x590f42,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this[_0x2d8ef0(0x1ad)]()},_0x59b88f=await this['_requestService'][_0x2d8ef0(0x296)](_0x56d45a);if(!_0x59b88f){this['_requestState$'][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x2ae)},'state':0x1});return;}if(_0x59b88f['error']&&_0x59b88f[_0x2d8ef0(0x293)][_0x2d8ef0(0x1f6)]!==_0x18b2f3['OK']){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':_0x59b88f['error'],'state':0x1});return;}let _0xa52280=_0x59b88f[_0x2d8ef0(0x27c)];if(_0xa52280[_0x2d8ef0(0x1ed)]===0x0){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x1db)},'state':0x1});return;}return this[_0x2d8ef0(0x2c5)]['next']({'error':_0x59b88f[_0x2d8ef0(0x293)],'state':0x1}),_0xa52280;}async[_0x23d669(0x231)](_0x4e219e){const _0x348913=_0x23d669;let _0x5854b9=await this[_0x348913(0x2af)][_0x348913(0x230)](_0x4e219e);if(!_0x5854b9){this['_requestState$'][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}if(_0x5854b9[_0x348913(0x293)]&&_0x5854b9[_0x348913(0x293)]['code']!==_0x18b2f3['OK']){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':_0x5854b9[_0x348913(0x293)],'state':0x4});return;}let _0xb6d441=_0x1c36ea(_0x5854b9[_0x348913(0x23a)],this['_getDownloadEndpointURL']());if(_0xb6d441[_0x348913(0x1ed)]===0x0){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}return this[_0x348913(0x2c5)]['next']({'error':_0x5854b9[_0x348913(0x293)],'state':0x4}),_0xb6d441;}[_0x23d669(0x29a)](){const _0x439729=_0x23d669;var _0x28c070;let _0x561575=this[_0x439729(0x275)][_0x439729(0x190)](T);return(_0x28c070=_0x561575==null?void 0x0:_0x561575[_0x439729(0x251)])==null?location[_0x439729(0x183)]:_0x28c070;}[_0x23d669(0x23d)](){const _0x440e97=_0x23d669;var _0x5e47c6,_0xec36b7;let _0x139b25=this[_0x440e97(0x275)]['getConfig'](T);return(_0x5e47c6=_0x139b25==null||(_0xec36b7=_0x139b25[_0x440e97(0x250)])==null?void 0x0:_0xec36b7[_0x440e97(0x19a)])==null?0x1:_0x5e47c6;}['_getMinSheetColumnCount'](){const _0x2b33ed=_0x23d669;var _0x160dae,_0x4e9725;let _0x39bc62=this[_0x2b33ed(0x275)][_0x2b33ed(0x190)](T);return(_0x160dae=_0x39bc62==null||(_0x4e9725=_0x39bc62[_0x2b33ed(0x250)])==null?void 0x0:_0x4e9725[_0x2b33ed(0x1d4)])==null?0x1:_0x160dae;}[_0x23d669(0x220)](){const _0x4b6ddd=_0x23d669;var _0x164915,_0x5144e9;let _0xf194a7=this['_configService'][_0x4b6ddd(0x190)](T);return(_0x164915=_0xf194a7==null||(_0x5144e9=_0xf194a7[_0x4b6ddd(0x250)])==null?void 0x0:_0x5144e9[_0x4b6ddd(0x1b3)])==null?!0x0:_0x164915;}[_0x23d669(0x29f)](){const _0x34f43a=_0x23d669;var _0x2e6dc0,_0x440701;let _0x3ce428=this[_0x34f43a(0x275)][_0x34f43a(0x190)](T);return(_0x2e6dc0=_0x3ce428==null||(_0x440701=_0x3ce428['options'])==null?void 0x0:_0x440701[_0x34f43a(0x22b)])==null?!0x1:_0x2e6dc0;}};Y=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820)),E(0x2,_0x4a5a40(W))],Y);const it={'done':0x0,'count':0x0},X=_0x80f77a('univer-pro.exchange-client.operate.service');let Z=class extends _0x52bca0{constructor(_0x3d1142,_0x433c18,_0x5c213e,_0x201175,_0x26539f,_0x13385d,_0x1d7701){const _0x1d9087=_0x23d669;super(),this[_0x1d9087(0x1b0)]=_0x3d1142,this[_0x1d9087(0x1b7)]=_0x433c18,this[_0x1d9087(0x252)]=_0x5c213e,this[_0x1d9087(0x2a6)]=_0x201175,this[_0x1d9087(0x1e1)]=_0x26539f,this[_0x1d9087(0x226)]=_0x13385d,this[_0x1d9087(0x295)]=_0x1d7701,A(this,_0x1d9087(0x1e4),new _0x27b5e3(it)),A(this,_0x1d9087(0x182),this[_0x1d9087(0x1e4)][_0x1d9087(0x2b2)]()),A(this,_0x1d9087(0x189),0x0),A(this,_0x1d9087(0x2a5),0x0),this[_0x1d9087(0x1d6)](_0x3fea9b(this[_0x1d9087(0x2a6)][_0x1d9087(0x185)][_0x1d9087(0x1d7)](_0x3b1778=>{const _0x3880aa=_0x1d9087;var _0x280dcf;((_0x280dcf=_0x3b1778['error'])==null?void 0x0:_0x280dcf[_0x3880aa(0x1f6)])===_0x18b2f3['OK']?this['_addDoneTask'](0x1):this[_0x3880aa(0x286)](_0x3b1778[_0x3880aa(0x293)]);})));}['interrupt'](){const _0x5ef8a0=_0x23d669;this['_clearProgress'](),this['_uploadNotificationService'][_0x5ef8a0(0x1b4)](0x2),this['_exchangeService'][_0x5ef8a0(0x1a3)]();}async['uploadFileToUnitId'](_0x198f8d){const _0x4b5046=_0x23d669;throw Error(_0x4b5046(0x1dc));}async[_0x23d669(0x1ee)](){const _0x10e950=_0x23d669;let _0x36d7cb=this[_0x10e950(0x1b0)][_0x10e950(0x204)]();switch(_0x36d7cb?this[_0x10e950(0x1b0)]['getUnitType'](_0x36d7cb['getUnitId']()):_0x2d6c67['UNRECOGNIZED']){case _0x2d6c67[_0x10e950(0x26c)]:return this[_0x10e950(0x210)]();case _0x2d6c67[_0x10e950(0x169)]:return this['importDOCXToUnitId']();case _0x2d6c67['UNIVER_SHEET']:default:return this[_0x10e950(0x255)]();}}async[_0x23d669(0x27d)](){const _0x5c7eb6=_0x23d669;let _0x3e9194=await V([_0x2d6c67[_0x5c7eb6(0x169)]]);if(_0x3e9194&&!this[_0x5c7eb6(0x175)](_0x3e9194,_0x2d6c67['UNIVER_DOC']))return this[_0x5c7eb6(0x179)](_0x3e9194[0x0],_0x2d6c67[_0x5c7eb6(0x169)]);}['importDOCXToSnapshot'](){throw Error('Method\x20not\x20implemented.');}async[_0x23d669(0x242)](_0x2f0e0c,_0x1b7efc,_0x2521ba){const _0x5a6c36=_0x23d669;this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x222)]);let _0x4af797=await this[_0x5a6c36(0x2a6)][_0x5a6c36(0x242)](_0x2f0e0c||this[_0x5a6c36(0x272)]());_0x4af797&&(this[_0x5a6c36(0x2a6)][_0x5a6c36(0x1b6)](_0x4af797,_0x1b7efc||this[_0x5a6c36(0x254)](_0x4af797),_0x5a6c36(0x184)),this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x290)]));}async[_0x23d669(0x1f2)](){const _0x512397=_0x23d669;this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x222)]);let _0x1b7e35=await this[_0x512397(0x217)](),_0x535e50=await this['_exchangeService'][_0x512397(0x1f2)](_0x1b7e35);_0x535e50&&(this[_0x512397(0x2a6)]['downloadFile'](_0x535e50,this[_0x512397(0x254)](_0x535e50),_0x512397(0x184)),this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x290)]));}async[_0x23d669(0x210)](){const _0x328bfe=_0x23d669;if(this[_0x328bfe(0x17b)]()){this['_messageService'][_0x328bfe(0x1e3)]({'type':_0x2849b7['Warning'],'content':this[_0x328bfe(0x252)]['t']('exchange-client.uploading')});return;}let _0x3b6e4b=await V([_0x2d6c67[_0x328bfe(0x26c)]]);if(_0x3b6e4b&&!this[_0x328bfe(0x175)](_0x3b6e4b,_0x2d6c67[_0x328bfe(0x26c)]))return this['_importFileToUnitId'](_0x3b6e4b[0x0],_0x2d6c67[_0x328bfe(0x26c)]);}async[_0x23d669(0x18a)](){const _0x55fd25=_0x23d669;if(this['_uploadTaskNotDone']()){this[_0x55fd25(0x1b7)][_0x55fd25(0x1e3)]({'type':_0x2849b7[_0x55fd25(0x1de)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x257070=await V([_0x2d6c67['UNIVER_SLIDE']]);if(!_0x257070)return;this['_showUploadMessage'](_0x2849b7[_0x55fd25(0x222)]);let _0x5f2138=await this[_0x55fd25(0x2a6)]['importPPTXToSnapshot'](_0x257070[0x0]);_0x5f2138&&(this[_0x55fd25(0x20c)](_0x5f2138),this['_showUploadMessage'](_0x2849b7['Success']));}async[_0x23d669(0x1d2)](_0x12aa3d,_0x222d1c,_0x2b3a95){const _0x119208=_0x23d669;this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x222)]);let _0xfa760e=await this['_exchangeService'][_0x119208(0x1d2)](_0x12aa3d||this[_0x119208(0x17e)]());_0xfa760e&&(this[_0x119208(0x2a6)][_0x119208(0x1b6)](_0xfa760e,_0x222d1c||this[_0x119208(0x1cd)](_0xfa760e,_0x2b3a95==null?_0x2d6c67[_0x119208(0x26c)]:_0x2b3a95),_0x119208(0x236)),this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x290)]));}async[_0x23d669(0x1c2)](){const _0x5d9148=_0x23d669;this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x222)]);let _0x41adbc=await this[_0x5d9148(0x261)](),_0x2fa52e=await this['_exchangeService'][_0x5d9148(0x1c2)](_0x41adbc);_0x2fa52e&&(this[_0x5d9148(0x2a6)]['downloadFile'](_0x2fa52e,this[_0x5d9148(0x1cd)](_0x2fa52e,_0x2d6c67[_0x5d9148(0x26c)]),_0x5d9148(0x236)),this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x290)]));}async[_0x23d669(0x255)](){const _0x4e8929=_0x23d669;if(this[_0x4e8929(0x17b)]()){this[_0x4e8929(0x1b7)][_0x4e8929(0x1e3)]({'type':_0x2849b7[_0x4e8929(0x1de)],'content':this['_localeService']['t'](_0x4e8929(0x1a2))});return;}let _0x4d6ccc=await V([_0x2d6c67[_0x4e8929(0x239)]]);if(_0x4d6ccc&&!this[_0x4e8929(0x175)](_0x4d6ccc,_0x2d6c67[_0x4e8929(0x239)]))return this[_0x4e8929(0x179)](_0x4d6ccc[0x0],_0x2d6c67[_0x4e8929(0x239)]);}async['importXLSXToSnapshot'](){const _0x59b341=_0x23d669;if(this[_0x59b341(0x17b)]()){this[_0x59b341(0x1b7)]['show']({'type':_0x2849b7[_0x59b341(0x1de)],'content':this[_0x59b341(0x252)]['t'](_0x59b341(0x1a2))});return;}let _0x31648e=await V([_0x2d6c67[_0x59b341(0x239)]]);if(!_0x31648e)return;this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x222)]);let _0x5388c4=await this['_exchangeService'][_0x59b341(0x23c)](_0x31648e[0x0]);_0x5388c4&&(this['_refresh'](_0x5388c4),this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x290)]));}async[_0x23d669(0x224)](_0x3aa45e,_0x2899c7,_0x564067){const _0x23a693=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x23a693(0x222)]);let _0x495dbb=await this['_exchangeService'][_0x23a693(0x224)](_0x3aa45e||this[_0x23a693(0x223)]());_0x495dbb&&(this[_0x23a693(0x2a6)]['downloadFile'](_0x495dbb,_0x2899c7||this[_0x23a693(0x254)](_0x495dbb),_0x23a693(0x22f)),this[_0x23a693(0x16f)](_0x2849b7['Success']));}async['exportXLSXBySnapshot'](){const _0x43034a=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x43034a(0x222)]);let _0x4ae6a2=await this[_0x43034a(0x199)](),_0x57bb3e=await this[_0x43034a(0x2a6)][_0x43034a(0x1fd)](_0x4ae6a2);_0x57bb3e&&(this['_exchangeService'][_0x43034a(0x1b6)](_0x57bb3e,this[_0x43034a(0x254)](_0x57bb3e),'xlsx'),this[_0x43034a(0x16f)](_0x2849b7[_0x43034a(0x290)]));}[_0x23d669(0x240)](_0x460eec){const _0x3741b7=_0x23d669;this[_0x3741b7(0x1a5)]=_0x460eec;}async[_0x23d669(0x179)](_0x4c117a,_0x5333e7){const _0x2695a4=_0x23d669;this[_0x2695a4(0x1e1)][_0x2695a4(0x1e3)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x0),this[_0x2695a4(0x2ab)](0x4),this[_0x2695a4(0x18f)](0x1);let _0x3deadc=await this[_0x2695a4(0x2a6)][_0x2695a4(0x267)](_0x4c117a,_0x5333e7);if(!_0x3deadc){this[_0x2695a4(0x278)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x2);return;}let _0x5b7149={'link':this[_0x2695a4(0x1a5)](_0x3deadc,_0x5333e7),'name':_0x4c117a[_0x2695a4(0x265)],'type':_0x5333e7};return this[_0x2695a4(0x1e1)][_0x2695a4(0x1bd)](_0x5b7149),this['_completeProgress'](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x1),_0x3deadc;}[_0x23d669(0x223)](){const _0x1b86f8=_0x23d669;return this[_0x1b86f8(0x1b0)][_0x1b86f8(0x26e)](_0x2d6c67[_0x1b86f8(0x239)])[_0x1b86f8(0x268)]();}['_getUnitIDDoc'](){const _0x2c194b=_0x23d669;return this['_univerInstanceService']['getCurrentUnitOfType'](_0x2d6c67['UNIVER_DOC'])[_0x2c194b(0x268)]();}[_0x23d669(0x17e)](){const _0x196a67=_0x23d669;return this[_0x196a67(0x1b0)][_0x196a67(0x26e)](_0x2d6c67['UNIVER_SLIDE'])[_0x196a67(0x268)]();}[_0x23d669(0x254)](_0x50d594){const _0x2829d=_0x23d669;return this[_0x2829d(0x1cd)](_0x50d594,_0x2d6c67['UNIVER_SHEET']);}[_0x23d669(0x1cd)](_0x1f53b5,_0x52b0c6){const _0x310794=_0x23d669;var _0x5178ed;let _0x4bd5a2=(_0x5178ed=this[_0x310794(0x1b0)][_0x310794(0x26e)](_0x52b0c6))==null?void 0x0:_0x5178ed[_0x310794(0x259)](),_0xcfe4e=_0x4bd5a2==null?void 0x0:_0x4bd5a2[_0x310794(0x265)];return typeof _0xcfe4e==_0x310794(0x1a8)&&_0xcfe4e['trim']()?_0xcfe4e:_0x1f53b5[_0x310794(0x265)]['split']('.')[_0x310794(0x1fb)]()||document[_0x310794(0x28d)];}async[_0x23d669(0x199)](){const _0x4af984=_0x23d669;return this[_0x4af984(0x1b0)][_0x4af984(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x4af984(0x259)]();}async[_0x23d669(0x217)](){const _0x382625=_0x23d669;return this['_univerInstanceService'][_0x382625(0x26e)](_0x2d6c67[_0x382625(0x169)])['getSnapshot']();}async[_0x23d669(0x261)](){const _0x195a26=_0x23d669;let _0x47409c=this[_0x195a26(0x1b0)]['getCurrentUnitOfType'](_0x2d6c67[_0x195a26(0x26c)]),_0x4cfa94=this[_0x195a26(0x295)][_0x195a26(0x193)](_0x47409c[_0x195a26(0x268)]());return _0x4cfa94==null?_0x47409c[_0x195a26(0x259)]():_0x4cfa94;}[_0x23d669(0x1a5)](_0x3c4b72,_0x5e2008){const _0x25b605=_0x23d669;let _0xb54fad=new URL(window[_0x25b605(0x1af)][_0x25b605(0x1f0)]);return _0xb54fad[_0x25b605(0x174)]['set']('unit',_0x3c4b72),_0xb54fad[_0x25b605(0x174)][_0x25b605(0x1f3)](_0x25b605(0x2a4),''+_0x5e2008),_0xb54fad[_0x25b605(0x19e)]();}[_0x23d669(0x1a7)](_0x165ed){const _0x10fc1a=_0x23d669;let _0x55c4a3=this[_0x10fc1a(0x1b0)][_0x10fc1a(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x10fc1a(0x268)]();this[_0x10fc1a(0x1b0)]['disposeUnit'](_0x55c4a3),this[_0x10fc1a(0x1b0)][_0x10fc1a(0x1f1)](_0x2d6c67[_0x10fc1a(0x239)],_0x165ed);}['_refreshSlide'](_0x3ab6ba){const _0x244689=_0x23d669;let _0xf0abe3=this[_0x244689(0x1b0)][_0x244689(0x26e)](_0x2d6c67[_0x244689(0x26c)])[_0x244689(0x268)]();this[_0x244689(0x1b0)]['disposeUnit'](_0xf0abe3),this[_0x244689(0x1b0)][_0x244689(0x1f1)](_0x2d6c67[_0x244689(0x26c)],_0x3ab6ba);}[_0x23d669(0x286)](_0x2a8221){const _0x7b98c=_0x23d669;if(_0x2a8221){let {code:_0x4622ac}=_0x2a8221;switch(_0x4622ac){case _0x18b2f3[_0x7b98c(0x262)]:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x288))});break;case _0x18b2f3[_0x7b98c(0x191)]:this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x17a))});break;default:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x1c9))});break;}return null;}return this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t']('exchange-client.networkError')}),null;}['_showDownloadMessage'](_0xa388f){const _0x10e0ec=_0x23d669;let _0x45ddf1='';switch(_0xa388f){case _0x2849b7[_0x10e0ec(0x290)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloadSuccess');break;case _0x2849b7[_0x10e0ec(0x222)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this['_messageService']['show']({'type':_0xa388f,'content':_0x45ddf1});}['_showUploadMessage'](_0x2129b2){const _0x3da9d2=_0x23d669;let _0x13bdb0='';switch(_0x2129b2){case _0x2849b7[_0x3da9d2(0x290)]:_0x13bdb0=this['_localeService']['t'](_0x3da9d2(0x18e));break;case _0x2849b7[_0x3da9d2(0x222)]:_0x13bdb0=this[_0x3da9d2(0x252)]['t']('exchange-client.uploading');break;default:break;}this[_0x3da9d2(0x1b7)][_0x3da9d2(0x1e3)]({'type':_0x2129b2,'content':_0x13bdb0});}[_0x23d669(0x21b)](){const _0x235c24=_0x23d669;this[_0x235c24(0x1e4)]['next']({'done':this[_0x235c24(0x2a5)],'count':this[_0x235c24(0x189)]});}['_addTotalCount'](_0x164d54){const _0x440fa9=_0x23d669;this[_0x440fa9(0x189)]+=_0x164d54,this['_emitProgress']();}['_addDoneTask'](_0x1ff2b4){const _0x4e5b84=_0x23d669;this[_0x4e5b84(0x2a5)]+=_0x1ff2b4,this[_0x4e5b84(0x2a5)]=Math[_0x4e5b84(0x2a2)](this[_0x4e5b84(0x2a5)],this[_0x4e5b84(0x189)]),this[_0x4e5b84(0x21b)]();}[_0x23d669(0x1c1)](){const _0x2efdf3=_0x23d669;this[_0x2efdf3(0x2a5)]=this['_totalUploadTaskCount'],this[_0x2efdf3(0x21b)]();}[_0x23d669(0x278)](){const _0x2ab693=_0x23d669;this[_0x2ab693(0x2a5)]=0x0,this[_0x2ab693(0x189)]=0x0,this[_0x2ab693(0x21b)]();}[_0x23d669(0x175)](_0x5b490f,_0x189892){const _0x14e080=_0x23d669;let _0x111ac8=_0x5b490f[0x0],_0x19a475=_0x111ac8[_0x14e080(0x265)];return He(_0x111ac8)===_0x189892?!0x1:(this['_messageService'][_0x14e080(0x1e3)]({'type':_0x2849b7[_0x14e080(0x186)],'content':this[_0x14e080(0x252)]['t'](_0x14e080(0x2b7),_0x19a475)}),!0x0);}[_0x23d669(0x17b)](){const _0x56880c=_0x23d669;return this['_totalUploadTaskCount']!==0x0&&this[_0x56880c(0x2a5)]!==this[_0x56880c(0x189)];}};Z=D([E(0x0,_0x4a5a40(_0x5339d7)),E(0x1,_0x314cf6),E(0x2,_0x4a5a40(_0x272894)),E(0x3,_0x4a5a40(J)),E(0x4,_0x4a5a40(j)),E(0x5,_0x3a0011),E(0x6,_0x4a5a40(_0x157fb9))],Z);function at(_0x1bfa6a){const _0x5e6863=_0x23d669;let {onClick:_0x20928a,children:_0xc6debb,className:_0x4a93f0}=_0x1bfa6a;return _0x44e330(_0x5e6863(0x1c3),{'className':_0x4079bb(_0x5e6863(0x1a6),_0x4a93f0),'type':_0x5e6863(0x1c3),'onClick':_0x20928a,'children':_0xc6debb});}function ot(){const _0x867327=_0x23d669;let _0x3e9e8a=_0x34ce1b(X),_0x531745=_0x34ce1b(_0x272894);function _0x3f0776(){_0x3e9e8a['importFileToUnitIdByCurrentType']();}return _0x44e330(at,{'onClick':_0x3f0776,'children':_0x531745['t'](_0x867327(0x1ea))});}function st(){const _0x446545=_0x23d669;return _0x4de0df(_0x446545(0x203),{'className':_0x446545(0x1f8),'children':[_0x44e330(_0x446545(0x246),{'className':_0x446545(0x25f),'children':_0x34ce1b(_0x272894)['t'](_0x446545(0x29e))}),_0x44e330(ot,{})]});}function ct(_0x483d15){const _0x3f5d6b=_0x23d669;let {count:_0x24ea75}=_0x483d15;return _0x4de0df(_0x3f5d6b(0x203),{'className':_0x3f5d6b(0x1b8),'children':[_0x44e330('span',{'className':_0x3f5d6b(0x1e9),'children':_0x34ce1b(_0x272894)['t']('exchange-client.uploadSuccessTip',''+_0x24ea75)}),_0x44e330(ot,{})]});}function lt(){let _0x2efb40=_0x34ce1b(X),_0x2aa39d=_0x34ce1b(_0x272894);function _0x568d4a(){const _0x3e08f6=_0x1e38;_0x2efb40[_0x3e08f6(0x1e6)]();}return _0x44e330(at,{'onClick':_0x568d4a,'children':_0x2aa39d['t']('exchange-client.cancel')});}function ut(){const _0xaff6fc=_0x23d669;let {count:_0x48cf18,done:_0x3abac2}=_0xe4fe28(_0x34ce1b(X)[_0xaff6fc(0x182)]),_0x4428ba=_0x48cf18>0x0?_0x3abac2/_0x48cf18:0x0;return _0x44e330('div',{'className':_0xaff6fc(0x283),'children':_0x44e330(_0xaff6fc(0x203),{'className':_0xaff6fc(0x19c),'style':{'width':Math[_0xaff6fc(0x1be)](_0x4428ba*0x64)+'%'}})});}function dt(){const _0x1007b8=_0x23d669;return _0x4de0df(_0x1007b8(0x203),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x44e330(_0x1007b8(0x246),{'className':_0x1007b8(0x2a3),'children':_0x34ce1b(_0x272894)['t'](_0x1007b8(0x197))}),_0x44e330(_0x1007b8(0x203),{'className':_0x1007b8(0x1f5),'children':_0x44e330(ut,{})}),_0x44e330(lt,{})]});}const ft={0x1:_0x44e330(_0x3e9272,{'className':_0x23d669(0x24e)}),0x0:_0x44e330(_0x2706de,{'className':'univer-text-blue-500'}),0x2:_0x44e330(_0x24fa5b,{'className':_0x23d669(0x1c0)})};function pt(){const _0x493c50=_0x23d669;let _0x270a81=_0x34ce1b(j),_0x4eda31=_0x34ce1b(_0x272894),_0x49b397=_0xe4fe28(_0x270a81['state$'],0x0),_0x48d080=_0xe4fe28(_0x270a81[_0x493c50(0x23b)],!0x1),_0x52ae50=_0xe4fe28(_0x270a81[_0x493c50(0x1c5)],[]);function _0x1e766e(){const _0x4c30fa=_0x493c50;_0x270a81[_0x4c30fa(0x256)]();}function _0x4ce4f7(_0x3a76bd){const _0x2a1af6=_0x493c50;switch(_0x3a76bd){case 0x1:return _0x4eda31['t'](_0x2a1af6(0x18e));case 0x0:return _0x4eda31['t'](_0x2a1af6(0x1a2));case 0x2:return _0x4eda31['t']('exchange-client.unknownMistake');default:return'';}}return _0x48d080&&_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x1c4),'children':[_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x19b),'children':[_0x4de0df(_0x493c50(0x246),{'className':_0x493c50(0x218),'children':[_0x44e330(_0x493c50(0x246),{'className':_0x493c50(0x2b9),'children':ft[_0x49b397]}),_0x44e330(_0x493c50(0x246),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4ce4f7(_0x49b397)})]}),_0x44e330(_0x493c50(0x246),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x1e766e,'children':_0x44e330(_0x33d7e6,{})})]}),_0x4de0df(_0x493c50(0x203),{'children':[_0x49b397===0x0&&_0x44e330(dt,{}),_0x49b397===0x2&&_0x44e330(st,{}),_0x52ae50[_0x493c50(0x1ed)]>0x0&&_0x44e330(Be,{'list':_0x52ae50}),_0x49b397===0x1&&_0x44e330(ct,{'count':_0x52ae50[_0x493c50(0x1ed)]})]})]});}function mt(){return _0x44e330(pt,{});}let Q=class extends _0x52bca0{constructor(_0x461882,_0x433ba3){const _0x9435e5=_0x23d669;super(),this[_0x9435e5(0x215)]=_0x461882,this[_0x9435e5(0x1cb)]=_0x433ba3,this[_0x9435e5(0x27b)]();}[_0x23d669(0x27b)](){const _0x13fa5d=_0x23d669;this[_0x13fa5d(0x1d6)](this[_0x13fa5d(0x1cb)][_0x13fa5d(0x263)](_0x5092be[_0x13fa5d(0x20a)],()=>_0x5566e3(mt,this[_0x13fa5d(0x215)])));}};Q=D([E(0x0,_0x4a5a40(_0x567ddb)),E(0x1,_0x2ba4ee)],Q);let $=class extends _0x41f81a{constructor(_0x123845=Ie,_0x4f668b,_0x5cd3cc){const _0x12853f=_0x23d669;super(),this[_0x12853f(0x233)]=_0x123845,this[_0x12853f(0x215)]=_0x4f668b,this[_0x12853f(0x275)]=_0x5cd3cc;let {..._0x626326}=_0x4e3ddb({},Ie,this['_config']);this[_0x12853f(0x275)][_0x12853f(0x25c)](T,_0x626326);}[_0x23d669(0x274)](){const _0x28acb7=_0x23d669;_0x183bc4(this[_0x28acb7(0x215)],[[O],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[W,{'useClass':G}],[j,{'useClass':ze}]]);}['onReady'](){_0x5af7e6(this['_injector'],[[O],[Q],[X]]);}};A($,_0x23d669(0x2b4),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),A($,_0x23d669(0x212),Pe),A($,_0x23d669(0x294),Fe),$=D([_0x1569cc(_0x5408c6,_0x3e389e),E(0x1,_0x4a5a40(_0x567ddb)),E(0x2,_0x3d8792)],$);export{X as IExchangeOperateService,J as IExchangeService,$ as UniverExchangeClientPlugin,Ve as downloadFile,tt as transformSnapshotJsonToWorkbookData,Qe as transformWorkbookDataToSnapshotJson};
@@ -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 _0x3a4aa6=_0x3924;(function(_0x425301,_0xa4c1a0){const _0x4258fd=_0x3924,_0x90160c=_0x425301();while(!![]){try{const _0x4998a1=parseInt(_0x4258fd(0xbd))/0x1*(parseInt(_0x4258fd(0xb9))/0x2)+parseInt(_0x4258fd(0xba))/0x3*(-parseInt(_0x4258fd(0xb2))/0x4)+-parseInt(_0x4258fd(0xbf))/0x5+-parseInt(_0x4258fd(0xbb))/0x6*(-parseInt(_0x4258fd(0xc6))/0x7)+parseInt(_0x4258fd(0xb5))/0x8+parseInt(_0x4258fd(0xb7))/0x9*(-parseInt(_0x4258fd(0xb4))/0xa)+-parseInt(_0x4258fd(0xb8))/0xb*(-parseInt(_0x4258fd(0xb3))/0xc);if(_0x4998a1===_0xa4c1a0)break;else _0x90160c['push'](_0x90160c['shift']());}catch(_0x4695c7){_0x90160c['push'](_0x90160c['shift']());}}}(_0x558b,0xc6245));function _0x558b(){const _0x3fd900=['89073GFuaRf','22BermFF','6janhUw','3rkzBrT','61038aORTbB','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','58105KaYhBl','إلغاء','6076365IUHgPP','البيانات\x20كبيرة\x20جداً','إعادة\x20الرفع','خطأ\x20غير\x20معروف','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','تم\x20رفع\x20الملف\x20بنجاح','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','679uVcOuW','جارٍ\x20الرفع','خطأ\x20داخلي\x20غير\x20معروف','742152pZzKzB','4942416favjSu','520IYTIuV','5937696KjvYlC','يرجى\x20الانتظار...'];_0x558b=function(){return _0x3fd900;};return _0x558b();}function _0x3924(_0x5a3738,_0x6b90ea){_0x5a3738=_0x5a3738-0xb0;const _0x558ba6=_0x558b();let _0x392430=_0x558ba6[_0x5a3738];return _0x392430;}const e={'exchange-client':{'uploading':_0x3a4aa6(0xb0),'uploadSuccess':_0x3a4aa6(0xc4),'uploadSuccessTip':_0x3a4aa6(0xbc),'downloading':'جارٍ\x20التحميل','downloadSuccess':'تم\x20التحميل\x20بنجاح','unknownMistake':_0x3a4aa6(0xc2),'networkError':'خطأ\x20في\x20الشبكة','tooLarge':_0x3a4aa6(0xc0),'internalError':_0x3a4aa6(0xb1),'interrupt':_0x3a4aa6(0xc3),'fileTypeError':_0x3a4aa6(0xc5),'wait':_0x3a4aa6(0xb6),'cancel':_0x3a4aa6(0xbe),'uploadAgain':_0x3a4aa6(0xc1)}};export{e as default};
@@ -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
+ function _0x4350(_0x56b11b,_0x50df88){_0x56b11b=_0x56b11b-0x1a2;const _0x45d2fa=_0x45d2();let _0x4350f1=_0x45d2fa[_0x56b11b];return _0x4350f1;}const _0x3e9ba9=_0x4350;(function(_0x7a7039,_0x2c2eda){const _0xc812c1=_0x4350,_0x437da7=_0x7a7039();while(!![]){try{const _0x36eebd=-parseInt(_0xc812c1(0x1b0))/0x1+-parseInt(_0xc812c1(0x1a8))/0x2*(parseInt(_0xc812c1(0x1a4))/0x3)+-parseInt(_0xc812c1(0x1a7))/0x4*(-parseInt(_0xc812c1(0x1af))/0x5)+parseInt(_0xc812c1(0x1aa))/0x6+parseInt(_0xc812c1(0x1a6))/0x7+-parseInt(_0xc812c1(0x1b3))/0x8*(-parseInt(_0xc812c1(0x1a2))/0x9)+-parseInt(_0xc812c1(0x1ad))/0xa*(parseInt(_0xc812c1(0x1b2))/0xb);if(_0x36eebd===_0x2c2eda)break;else _0x437da7['push'](_0x437da7['shift']());}catch(_0x418a98){_0x437da7['push'](_0x437da7['shift']());}}}(_0x45d2,0x481d9));const e={'exchange-client':{'uploading':_0x3e9ba9(0x1ab),'uploadSuccess':'Fitxer\x20pujat\x20correctament','uploadSuccessTip':'{0}\x20fitxer(s)\x20pujat(s)\x20correctament','downloading':_0x3e9ba9(0x1b4),'downloadSuccess':_0x3e9ba9(0x1a5),'unknownMistake':'Error\x20desconegut','networkError':_0x3e9ba9(0x1b5),'tooLarge':_0x3e9ba9(0x1b1),'internalError':_0x3e9ba9(0x1ae),'interrupt':'La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','fileTypeError':_0x3e9ba9(0x1ac),'wait':_0x3e9ba9(0x1a9),'cancel':'Cancel·lar','uploadAgain':_0x3e9ba9(0x1a3)}};function _0x45d2(){const _0x2ca6a4=['Pujant','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','10wEZMMR','Error\x20intern\x20desconegut','376250eDxZed','32247uldcKo','Les\x20dades\x20són\x20massa\x20grans','6418588EGSZVm','6112xLuDlX','Descarregant','Error\x20de\x20xarxa','315yyLxkk','Tornar\x20a\x20pujar','6ZgrNSo','Descàrrega\x20correcta','1730302OTpEXA','20AuSQsM','102434esvGbs','Espereu...','2180388rpLlwl'];_0x45d2=function(){return _0x2ca6a4;};return _0x45d2();}export{e as default};