@univerjs-pro/exchange-client 1.0.0-alpha.8 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +46 -38
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +0 -23
- package/lib/types/controllers/components.controller.d.ts +3 -3
- package/lib/types/facade/f-univer.d.ts +5 -279
- package/lib/types/index.d.ts +5 -2
- package/lib/types/locale/en-US.d.ts +1 -0
- package/lib/types/services/exchange.service.d.ts +15 -82
- package/lib/types/services/operate.service.d.ts +17 -96
- package/lib/types/services/request.service.d.ts +78 -10
- package/lib/types/services/utils/content-type.d.ts +6 -2
- package/lib/types/services/utils/snapshot.d.ts +7 -39
- package/lib/types/services/utils/tool.d.ts +3 -0
- package/lib/types/views/export-format-dialog/ExportFormatDialog.d.ts +14 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +11 -12
- package/lib/types/views/UploadNotificationContainer.d.ts +0 -1
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x32ea3a=_0x4c2a;(function(_0xaea3f0,_0x60822f){const _0x46ae87=_0x4c2a,_0x3cf987=_0xaea3f0();while(!![]){try{const _0x471e75=-parseInt(_0x46ae87(0x156))/0x1+-parseInt(_0x46ae87(0x158))/0x2+parseInt(_0x46ae87(0x152))/0x3*(parseInt(_0x46ae87(0x15b))/0x4)+parseInt(_0x46ae87(0x15c))/0x5*(parseInt(_0x46ae87(0x159))/0x6)+-parseInt(_0x46ae87(0x154))/0x7*(-parseInt(_0x46ae87(0x151))/0x8)+-parseInt(_0x46ae87(0x15d))/0x9*(-parseInt(_0x46ae87(0x157))/0xa)+parseInt(_0x46ae87(0x15e))/0xb;if(_0x471e75===_0x60822f)break;else _0x3cf987['push'](_0x3cf987['shift']());}catch(_0x150403){_0x3cf987['push'](_0x3cf987['shift']());}}}(_0x5670,0x3993e));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core/facade');var n=class extends t[_0x32ea3a(0x153)]{[_0x32ea3a(0x15f)](_0x4f0ad6,_0x273a83,_0x503cd0){const _0x5a634b=_0x32ea3a;this['_injector'][_0x5a634b(0x155)](e['IExchangeService'])['downloadFile'](_0x4f0ad6,_0x273a83,_0x503cd0);}};function _0x4c2a(_0x3416c9,_0x310cef){_0x3416c9=_0x3416c9-0x151;const _0x5670ce=_0x5670();let _0x4c2a0b=_0x5670ce[_0x3416c9];return _0x4c2a0b;}t[_0x32ea3a(0x153)][_0x32ea3a(0x15a)](n);function _0x5670(){const _0x5a5c21=['80466eUAqYe','FUniver','2288566MfQhem','get','261866Zzpdft','10AeFIDy','915406zXwsiB','894294UPVIXY','extend','4qnsCBU','5bMUbWJ','1882233dSbHIP','2678071GlzLYU','downloadFile','8dYHpnD'];_0x5670=function(){return _0x5a5c21;};return _0x5670();}
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2f5570=_0x5821;(function(_0x486b4d,_0x132a2a){const _0x541c3d=_0x5821,_0x54123d=_0x486b4d();while(!![]){try{const _0x641c3=parseInt(_0x541c3d(0x259))/0x1+parseInt(_0x541c3d(0x315))/0x2*(parseInt(_0x541c3d(0x2aa))/0x3)+-parseInt(_0x541c3d(0x333))/0x4*(-parseInt(_0x541c3d(0x2d6))/0x5)+-parseInt(_0x541c3d(0x293))/0x6*(-parseInt(_0x541c3d(0x1d2))/0x7)+parseInt(_0x541c3d(0x234))/0x8+-parseInt(_0x541c3d(0x227))/0x9+-parseInt(_0x541c3d(0x2d1))/0xa;if(_0x641c3===_0x132a2a)break;else _0x54123d['push'](_0x54123d['shift']());}catch(_0x7a7505){_0x54123d['push'](_0x54123d['shift']());}}}(_0x358e,0xaa2f3),Object[_0x2f5570(0x1b6)](exports,Symbol[_0x2f5570(0x2e2)],{'value':_0x2f5570(0x285)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d=_0x2f5570(0x1be),f='1.0.0-alpha.8';const p=_0x2f5570(0x1da),m={};function h(_0x1d4a44,_0x3fff27){return function(_0x4de3fe,_0x59bce9){_0x3fff27(_0x4de3fe,_0x59bce9,_0x1d4a44);};}function g(_0x4564a5,_0x5b6d44,_0x48b98a,_0x3c165a){const _0x166a61=_0x2f5570;var _0x58936c=arguments[_0x166a61(0x275)],_0x92ef76=_0x58936c<0x3?_0x5b6d44:_0x3c165a===null?_0x3c165a=Object[_0x166a61(0x320)](_0x5b6d44,_0x48b98a):_0x3c165a,_0x3413ab;if(typeof Reflect==_0x166a61(0x2c7)&&typeof Reflect[_0x166a61(0x2b8)]==_0x166a61(0x207))_0x92ef76=Reflect['decorate'](_0x4564a5,_0x5b6d44,_0x48b98a,_0x3c165a);else{for(var _0x515353=_0x4564a5[_0x166a61(0x275)]-0x1;_0x515353>=0x0;_0x515353--)(_0x3413ab=_0x4564a5[_0x515353])&&(_0x92ef76=(_0x58936c<0x3?_0x3413ab(_0x92ef76):_0x58936c>0x3?_0x3413ab(_0x5b6d44,_0x48b98a,_0x92ef76):_0x3413ab(_0x5b6d44,_0x48b98a))||_0x92ef76);}return _0x58936c>0x3&&_0x92ef76&&Object['defineProperty'](_0x5b6d44,_0x48b98a,_0x92ef76),_0x92ef76;}let _=class extends t[_0x2f5570(0x222)]{constructor(_0x89cd4b){const _0x50d91f=_0x2f5570;super(),this['_iconManager']=_0x89cd4b,this[_0x50d91f(0x32d)]();}[_0x2f5570(0x32d)](){const _0x58f9d8=_0x2f5570;this[_0x58f9d8(0x2b5)](this[_0x58f9d8(0x30f)]['register']({'DirectExportIcon':i['DirectExportIcon']}));}};_=g([h(0x0,(0x0,t[_0x2f5570(0x1df)])(r[_0x2f5570(0x231)]))],_);function v(_0x441bea){'@babel/helpers - typeof';const _0xb2763b=_0x2f5570;return v=typeof Symbol==_0xb2763b(0x207)&&typeof Symbol[_0xb2763b(0x236)]==_0xb2763b(0x1cc)?function(_0x5bdf3e){return typeof _0x5bdf3e;}:function(_0x15b1aa){const _0x711f4e=_0xb2763b;return _0x15b1aa&&typeof Symbol==_0x711f4e(0x207)&&_0x15b1aa[_0x711f4e(0x1d3)]===Symbol&&_0x15b1aa!==Symbol[_0x711f4e(0x1fa)]?_0x711f4e(0x1cc):typeof _0x15b1aa;},v(_0x441bea);}function y(_0x291478,_0xbfb1a9){const _0x10d584=_0x2f5570;if(v(_0x291478)!='object'||!_0x291478)return _0x291478;var _0x413539=_0x291478[Symbol['toPrimitive']];if(_0x413539!==void 0x0){var _0x1a9654=_0x413539[_0x10d584(0x2a1)](_0x291478,_0xbfb1a9||'default');if(v(_0x1a9654)!=_0x10d584(0x2c7))return _0x1a9654;throw TypeError(_0x10d584(0x2d0));}return(_0xbfb1a9===_0x10d584(0x225)?String:Number)(_0x291478);}function ee(_0x5269b4){const _0x31bad3=_0x2f5570;var _0x1d8ec9=y(_0x5269b4,_0x31bad3(0x225));return v(_0x1d8ec9)==_0x31bad3(0x1cc)?_0x1d8ec9:_0x1d8ec9+'';}function b(_0x4d87a1,_0x5029bc,_0x235253){const _0x456491=_0x2f5570;return(_0x5029bc=ee(_0x5029bc))in _0x4d87a1?Object[_0x456491(0x1b6)](_0x4d87a1,_0x5029bc,{'value':_0x235253,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4d87a1[_0x5029bc]=_0x235253,_0x4d87a1;}const x=(0x0,t['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var te=class extends t[_0x2f5570(0x222)]{constructor(){const _0x400f8e=_0x2f5570;super(),b(this,_0x400f8e(0x301),new a[(_0x400f8e(0x1ed))]()),b(this,'_state$',new a['Subject']()),b(this,_0x400f8e(0x24e),new a[(_0x400f8e(0x1ed))]()),b(this,_0x400f8e(0x21f),this['_visible$']['asObservable']()),b(this,'state$',this['_state$'][_0x400f8e(0x1b8)]()),b(this,_0x400f8e(0x20c),this[_0x400f8e(0x24e)][_0x400f8e(0x1b8)]()),b(this,_0x400f8e(0x318),[]);}[_0x2f5570(0x228)](){const _0x46044e=_0x2f5570;super[_0x46044e(0x228)](),this[_0x46044e(0x301)][_0x46044e(0x337)](),this['_state$'][_0x46044e(0x337)](),this[_0x46044e(0x24e)][_0x46044e(0x337)]();}[_0x2f5570(0x1ff)](){const _0xb7a685=_0x2f5570;this[_0xb7a685(0x301)][_0xb7a685(0x1f8)](!0x0);}[_0x2f5570(0x2cd)](){const _0x34f4b4=_0x2f5570;this[_0x34f4b4(0x301)]['next'](!0x1);}[_0x2f5570(0x314)](_0x55997a){const _0x472f99=_0x2f5570;this[_0x472f99(0x247)][_0x472f99(0x1f8)](_0x55997a);}[_0x2f5570(0x258)](_0x322c2b){const _0x5c8230=_0x2f5570;this[_0x5c8230(0x318)][_0x5c8230(0x233)](_0x322c2b),this[_0x5c8230(0x24e)][_0x5c8230(0x1f8)](this[_0x5c8230(0x318)]);}};function ne(_0x3c1aec){const _0x1a5e01=_0x2f5570;let {list:_0x21feed}=_0x3c1aec;function _0x108374(_0x5addd5){const _0x41b8b1=_0x5821;switch(_0x5addd5){case 0x1:return(0x0,s[_0x41b8b1(0x2df)])(i[_0x41b8b1(0x2ca)],{});case 0x2:return(0x0,s[_0x41b8b1(0x2df)])(i[_0x41b8b1(0x2e4)],{});case 0x3:return(0x0,s[_0x41b8b1(0x2df)])(i[_0x41b8b1(0x336)],{});default:return null;}}return(0x0,s[_0x1a5e01(0x2df)])('div',{'className':(0x0,o[_0x1a5e01(0x2dc)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',o[_0x1a5e01(0x218)]),'children':(0x0,s[_0x1a5e01(0x2df)])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x21feed[_0x1a5e01(0x305)]((_0x3ec33f,_0x150fcb)=>(0x0,s[_0x1a5e01(0x2df)])('li',{'children':(0x0,s[_0x1a5e01(0x2e8)])('a',{'className':_0x1a5e01(0x1c8),'href':_0x3ec33f[_0x1a5e01(0x278)],'target':'_blank','rel':_0x1a5e01(0x29e),'children':[(0x0,s[_0x1a5e01(0x2e8)])(_0x1a5e01(0x312),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,s[_0x1a5e01(0x2df)])(_0x1a5e01(0x312),{'className':_0x1a5e01(0x2fe),'children':_0x108374(_0x3ec33f[_0x1a5e01(0x1fc)])}),(0x0,s[_0x1a5e01(0x2df)])(o[_0x1a5e01(0x23c)],{'showIfEllipsis':!0x0,'title':_0x3ec33f[_0x1a5e01(0x277)],'asChild':!0x0,'children':(0x0,s[_0x1a5e01(0x2df)])(_0x1a5e01(0x312),{'className':_0x1a5e01(0x1e7),'children':_0x3ec33f[_0x1a5e01(0x277)]})})]}),(0x0,s['jsx'])(_0x1a5e01(0x312),{'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','children':(0x0,s[_0x1a5e01(0x2df)])(i[_0x1a5e01(0x32f)],{})})]})},_0x150fcb))})});}const S=_0x2f5570(0x23d),C=_0x2f5570(0x273),w='application/vnd.ms-excel.sheet.macroEnabled.12',T=_0x2f5570(0x22b),E=_0x2f5570(0x297),D=_0x2f5570(0x2e3),O={[t[_0x2f5570(0x310)][_0x2f5570(0x1c1)]]:[''],[t['UniverInstanceType'][_0x2f5570(0x27d)]]:[S],[t['UniverInstanceType'][_0x2f5570(0x1fe)]]:[C,w,T],[t[_0x2f5570(0x310)][_0x2f5570(0x1c2)]]:[E],[t[_0x2f5570(0x310)][_0x2f5570(0x250)]]:[D],[t[_0x2f5570(0x310)]['UNIVER_BASE']]:[''],[t[_0x2f5570(0x310)][_0x2f5570(0x290)]]:[''],[t[_0x2f5570(0x310)][_0x2f5570(0x327)]]:[''],[t['UniverInstanceType'][_0x2f5570(0x2c5)]]:['']},k={[S]:_0x2f5570(0x1f0),[C]:_0x2f5570(0x1d1),[w]:_0x2f5570(0x1b4),[T]:_0x2f5570(0x243),[E]:_0x2f5570(0x2ac),[D]:'pdf'};function re(_0x557b30,_0x154722,_0x12006b){const _0x35c34b=_0x2f5570;let _0x53b620=document['createElement']('a');_0x53b620['href']=_0x557b30,_0x53b620['style'][_0x35c34b(0x279)]=_0x35c34b(0x2a8),_0x53b620[_0x35c34b(0x230)]=_0x154722+'.'+_0x12006b,document[_0x35c34b(0x272)]['appendChild'](_0x53b620),_0x53b620[_0x35c34b(0x1db)](),document[_0x35c34b(0x272)][_0x35c34b(0x204)](_0x53b620);}function ie(_0x112d76){const _0x1757d4=_0x2f5570;let _0x33a9ee=_0x112d76[_0x1757d4(0x277)]['split']('.')['pop']();if(!_0x33a9ee)return t[_0x1757d4(0x310)]['UNIVER_UNKNOWN'];let _0x2409d2=ae(),_0x1b89d5=t[_0x1757d4(0x310)][_0x1757d4(0x1c1)];return _0x2409d2[_0x1757d4(0x2cb)](_0x5df6a2=>oe(_0x33a9ee,_0x5df6a2)?(_0x1b89d5=_0x5df6a2,!0x0):!0x1),_0x1b89d5;}function ae(){const _0x56b0d8=_0x2f5570;return Object[_0x56b0d8(0x1f7)](t[_0x56b0d8(0x310)])['filter'](_0x2bfbbb=>typeof _0x2bfbbb==_0x56b0d8(0x2f9));}function oe(_0x228d31,_0x3c0976){const _0x3c9eb0=_0x2f5570;var _0x190481;return((_0x190481=O[_0x3c0976])==null?[]:_0x190481)['map'](_0x49b669=>(k[_0x49b669]||'')['toLowerCase']())[_0x3c9eb0(0x2e5)](_0x228d31[_0x3c9eb0(0x261)]());}function A(_0x4e9af1,_0x5db692=!0x1){const _0x4ce1c7=_0x2f5570;let _0x17e6f1=_0x4e9af1[_0x4ce1c7(0x305)](_0x5af7a9=>{var _0x263201;return(_0x263201=O[_0x5af7a9])==null?[]:_0x263201;})[_0x4ce1c7(0x249)](',');return new Promise(_0x28e552=>{const _0x257f08=_0x4ce1c7;let _0x43d03e=document[_0x257f08(0x324)](_0x257f08(0x20d));_0x43d03e[_0x257f08(0x1fc)]=_0x257f08(0x2bf),_0x43d03e[_0x257f08(0x1ab)]=_0x17e6f1,_0x43d03e[_0x257f08(0x226)]=_0x5db692;let _0x1231bd=()=>{const _0x310b8d=_0x257f08;var _0x5ad8a4;return _0x28e552((_0x5ad8a4=_0x43d03e['files'])!=null&&_0x5ad8a4[_0x310b8d(0x275)]?_0x43d03e[_0x310b8d(0x1b7)]:null);};_0x43d03e[_0x257f08(0x30d)](_0x257f08(0x244),_0x1231bd,{'once':!0x0}),_0x43d03e['addEventListener']('cancel',_0x1231bd,{'once':!0x0}),_0x43d03e[_0x257f08(0x1db)]();});}async function j(_0x4c2e5d,_0x2bad52){const _0x24eda4=_0x2f5570;try{var _0xc223ab,_0x83bf88,_0x1b5baf;let _0x1c563a=await _0x2bad52[_0x24eda4(0x30a)](_0x4c2e5d,{'responseType':_0x24eda4(0x238)}),_0x21262f=_0x1c563a['body'],_0x206d77=(_0xc223ab=(_0x83bf88=_0x1c563a[_0x24eda4(0x256)][_0x24eda4(0x30a)](_0x24eda4(0x2ce)))==null?void 0x0:_0x83bf88[_0x24eda4(0x249)](',\x20'))==null?_0x24eda4(0x237):_0xc223ab,_0x4fcb84=_0x24eda4(0x2c0)+(k[_0x206d77]||_0x24eda4(0x1d1)),_0x234b60=(_0x1b5baf=_0x1c563a['headers'][_0x24eda4(0x30a)](_0x24eda4(0x21d)))==null?void 0x0:_0x1b5baf[_0x24eda4(0x249)](',\x20');if(_0x234b60){let _0x4a1ce3=_0x234b60[_0x24eda4(0x262)](/filename=(.+)/);_0x4a1ce3&&_0x4a1ce3[0x1]&&(_0x4fcb84=_0x4a1ce3[0x1]);}else _0x4fcb84=se(_0x4c2e5d)||_0x4fcb84;return new File([_0x21262f],_0x4fcb84,{'type':_0x206d77});}catch(_0x5bc1d6){console[_0x24eda4(0x206)](_0x24eda4(0x32e),_0x5bc1d6);return;}}function se(_0x1c685b){const _0x44c4ed=_0x2f5570;try{return new URL(_0x1c685b)[_0x44c4ed(0x23f)][_0x44c4ed(0x232)]('/')['pop']();}catch(_0x472315){console[_0x44c4ed(0x206)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x472315);return;}}function ce(_0xc8972b){const _0x3bf4c6=_0x2f5570;let _0x3229c0=new Blob([_0xc8972b[_0x3bf4c6(0x1f9)]],{'type':'application/json'});return new File([_0x3229c0],'file.json');}function M(_0x320f0b,_0x1d2736){const _0x43a6d1=_0x2f5570;return _0x320f0b[_0x43a6d1(0x1e1)](_0x43a6d1(0x26b),_0x1d2736);}function le(_0x167758,_0x9a5242){const _0x3765cd=_0x2f5570;return _0x167758[_0x3765cd(0x1e1)](_0x3765cd(0x1ca),_0x9a5242);}function ue(_0x5aa839,_0x408416){const _0x42a92d=_0x2f5570;return _0x5aa839[_0x42a92d(0x1e1)]('{fileID}',_0x408416);}const N=(0x0,t[_0x2f5570(0x255)])(_0x2f5570(0x2ec));let P=class{constructor(_0x5450d8,_0x5815d5){const _0x2906c2=_0x2f5570;this[_0x2906c2(0x283)]=_0x5450d8,this[_0x2906c2(0x265)]=_0x5815d5,b(this,_0x2906c2(0x325),new Set());}['dispose'](){}[_0x2f5570(0x1f6)](_0x455d53){const _0x213c6f=_0x2f5570;this[_0x213c6f(0x325)][_0x213c6f(0x2e7)](_0x455d53);}[_0x2f5570(0x2a3)](){const _0x32c7a2=_0x2f5570;this[_0x32c7a2(0x325)][_0x32c7a2(0x28a)]();}async[_0x2f5570(0x203)](_0x25e504,_0x45c6cd=0x0,_0x3edfce=!0x1){const _0x1296e0=_0x2f5570;if(typeof _0x25e504=='string'){let _0xd96070=await j(_0x25e504,this[_0x1296e0(0x265)]);if(!_0xd96070)throw Error(_0x1296e0(0x274));_0x25e504=_0xd96070;}_0x45c6cd=_0x45c6cd||_0x25e504[_0x1296e0(0x2f0)];let _0x3433d0=new FormData();_0x3433d0[_0x1296e0(0x1af)](_0x1296e0(0x2bf),_0x25e504);try{let _0x114c58=this[_0x1296e0(0x1b3)]()+'?size='+_0x45c6cd+'&source='+c[_0x1296e0(0x20f)][_0x1296e0(0x329)]+'&flate='+_0x3edfce,_0x356b1d={'body':_0x3433d0},_0x126e9d=(await this[_0x1296e0(0x265)]['post'](_0x114c58,_0x356b1d))[_0x1296e0(0x272)];if(_0x126e9d[_0x1296e0(0x206)]&&_0x126e9d[_0x1296e0(0x206)][_0x1296e0(0x22e)]!==c[_0x1296e0(0x1e8)]['OK'])throw Error(this[_0x1296e0(0x1c5)]('upload\x20request\x20failed',_0x126e9d[_0x1296e0(0x206)]));return _0x126e9d;}catch(_0x176301){throw _0x176301 instanceof Error?_0x176301:Error(this[_0x1296e0(0x1dc)](_0x1296e0(0x2eb),_0x176301));}}async[_0x2f5570(0x267)](_0x1058bf){const _0x2f34d6=_0x2f5570;let {fileID:_0x4e5efe,type:_0x312f39,outputType:_0x476e18,minSheetColumnCount:_0xb15213,minSheetRowCount:_0x58b51e}=_0x1058bf;try{let _0x1efb1d=M(this[_0x2f34d6(0x2f7)](),''+_0x312f39),_0x1dd12d={'body':{'fileID':_0x4e5efe,'outputType':_0x476e18,'minSheetColumnCount':_0xb15213,'minSheetRowCount':_0x58b51e}},_0x2ff0cd=(await this['_httpService'][_0x2f34d6(0x2d2)](_0x1efb1d,_0x1dd12d))[_0x2f34d6(0x272)];return _0x2ff0cd[_0x2f34d6(0x206)]&&_0x2ff0cd[_0x2f34d6(0x206)]['code']!==c[_0x2f34d6(0x1e8)]['OK']?void 0x0:_0x2ff0cd;}catch{return;}}async[_0x2f5570(0x1e9)](_0x4a002a){const _0x29314e=_0x2f5570;let {unitID:_0x266fc0,jsonID:_0x3cb170,type:_0x3e45a5,useImageUrl:_0x66b791,ignoreTableExport:_0xc8667b}=_0x4a002a;try{let _0x5ac9f5=M(this[_0x29314e(0x253)](),''+_0x3e45a5),_0x309e6d={'body':{'unitID':_0x266fc0,'jsonID':_0x3cb170,'type':_0x3e45a5,'useImageUrl':_0x66b791,'ignoreTableExport':_0xc8667b}},_0x1fb9d0=(await this[_0x29314e(0x265)][_0x29314e(0x2d2)](_0x5ac9f5,_0x309e6d))[_0x29314e(0x272)];return _0x1fb9d0['error']&&_0x1fb9d0[_0x29314e(0x206)]['code']!==c[_0x29314e(0x1e8)]['OK']?void 0x0:_0x1fb9d0;}catch{return;}}async[_0x2f5570(0x28f)](_0x27699b){return new Promise((_0x1b270a,_0x3425c9)=>{const _0x56abc4=_0x5821;try{let _0x51a3e6=0x0,_0xe7261e=le(this[_0x56abc4(0x288)](),''+_0x27699b),_0x11cf3c=this[_0x56abc4(0x300)](),_0x1f3fa3=async()=>{const _0x325121=_0x56abc4;if(this[_0x325121(0x325)][_0x325121(0x2b0)](_0x27699b))return;let _0x5a47a0=(await this[_0x325121(0x265)][_0x325121(0x30a)](_0xe7261e))[_0x325121(0x272)];if(_0x5a47a0[_0x325121(0x206)]&&_0x5a47a0[_0x325121(0x206)][_0x325121(0x22e)]===c['ErrorCode']['OK']){if(_0x5a47a0[_0x325121(0x2de)]===_0x325121(0x2da))_0x1b270a(_0x5a47a0);else{if(_0x5a47a0['status']===_0x325121(0x2db)){let _0x132c42=0x3e8;if(_0x51a3e6>=_0x11cf3c){_0x3425c9(_0x5a47a0);return;}else _0x51a3e6>=0x7530&&(_0x132c42=0x1388);_0x51a3e6+=_0x132c42,setTimeout(_0x1f3fa3,_0x132c42);}else _0x3425c9(_0x5a47a0);}}else _0x3425c9(_0x5a47a0);};_0x1f3fa3();}catch(_0x2dd392){_0x3425c9(_0x2dd392 instanceof Error?_0x2dd392:Error(String(_0x2dd392)));}});}async['signUrl'](_0x51f2ae){const _0x23c600=_0x2f5570;try{let _0x400223=ue(this[_0x23c600(0x20b)](),''+_0x51f2ae);return(await this[_0x23c600(0x265)]['get'](_0x400223))['body'];}catch{return;}}async[_0x2f5570(0x217)](_0x1066f6){const _0x305990=_0x2f5570;try{return(await this[_0x305990(0x265)][_0x305990(0x30a)](_0x1066f6,{'responseType':_0x305990(0x292)}))[_0x305990(0x272)];}catch{return;}}['_buildProtocolErrorMessage'](_0x4fb06b,_0x19096c){const _0x178fce=_0x2f5570;let _0x2d5795=this[_0x178fce(0x221)](_0x19096c);return _0x2d5795?_0x4fb06b+':\x20'+_0x2d5795:_0x4fb06b;}['_buildHttpErrorMessage'](_0x1689b1,_0x3618f0){const _0x429373=_0x2f5570;if(_0x3618f0 instanceof n[_0x429373(0x330)]){let _0x493155=typeof _0x3618f0[_0x429373(0x2de)]==_0x429373(0x2f9)?''+_0x3618f0[_0x429373(0x2de)]+(_0x3618f0['statusText']?'\x20'+_0x3618f0[_0x429373(0x1ad)]:''):void 0x0,_0x2cc635=this[_0x429373(0x221)](_0x3618f0[_0x429373(0x206)]);return _0x493155&&_0x2cc635?_0x1689b1+':\x20HTTP\x20'+_0x493155+_0x429373(0x254)+_0x2cc635:_0x493155?_0x1689b1+':\x20HTTP\x20'+_0x493155:_0x2cc635?_0x1689b1+':\x20'+_0x2cc635:_0x1689b1;}let _0x136c45=this[_0x429373(0x221)](_0x3618f0);return _0x136c45?_0x1689b1+':\x20'+_0x136c45:_0x1689b1;}['_extractErrorDetail'](_0x350ec2){const _0x1fabbf=_0x2f5570;if(typeof _0x350ec2==_0x1fabbf(0x225)){let _0x68613d=_0x350ec2[_0x1fabbf(0x213)]();return _0x68613d[_0x1fabbf(0x275)]>0x0?_0x68613d:void 0x0;}if(_0x350ec2 instanceof Error)return this[_0x1fabbf(0x221)](_0x350ec2[_0x1fabbf(0x1e2)]);if(!_0x350ec2||typeof _0x350ec2!=_0x1fabbf(0x2c7)||Array[_0x1fabbf(0x245)](_0x350ec2))return;let _0x24d28d=_0x350ec2,_0x527e84=this[_0x1fabbf(0x221)](_0x24d28d['message']);if(_0x527e84)return _0x527e84;if(_0x24d28d[_0x1fabbf(0x206)]&&typeof _0x24d28d[_0x1fabbf(0x206)]==_0x1fabbf(0x2c7)&&!Array['isArray'](_0x24d28d[_0x1fabbf(0x206)])){let _0x5323f3=this[_0x1fabbf(0x221)](_0x24d28d[_0x1fabbf(0x206)]);if(_0x5323f3)return _0x5323f3;}}[_0x2f5570(0x1b3)](){const _0x4a9ccf=_0x2f5570;var _0xe37d67;let _0x58de3e=this[_0x4a9ccf(0x283)][_0x4a9ccf(0x31a)](p);return(_0xe37d67=_0x58de3e==null?void 0x0:_0x58de3e[_0x4a9ccf(0x2fa)])==null?_0x4a9ccf(0x1ea):_0xe37d67;}[_0x2f5570(0x2f7)](){const _0x2b43a8=_0x2f5570;var _0x379642;let _0x250575=this[_0x2b43a8(0x283)][_0x2b43a8(0x31a)](p);return(_0x379642=_0x250575==null?void 0x0:_0x250575[_0x2b43a8(0x22f)])==null?_0x2b43a8(0x1ba):_0x379642;}['_getExportURL'](){const _0x533e6a=_0x2f5570;var _0x43da01;let _0x5bab2b=this[_0x533e6a(0x283)][_0x533e6a(0x31a)](p);return(_0x43da01=_0x5bab2b==null?void 0x0:_0x5bab2b['exportServerUrl'])==null?_0x533e6a(0x2b7):_0x43da01;}[_0x2f5570(0x288)](){const _0xbf9817=_0x2f5570;var _0xeada3d;let _0x33fc0f=this['_configService'][_0xbf9817(0x31a)](p);return(_0xeada3d=_0x33fc0f==null?void 0x0:_0x33fc0f[_0xbf9817(0x1d6)])==null?_0xbf9817(0x2c8):_0xeada3d;}[_0x2f5570(0x20b)](){const _0x4a05cd=_0x2f5570;var _0x282924;let _0xecd225=this[_0x4a05cd(0x283)][_0x4a05cd(0x31a)](p);return(_0x282924=_0xecd225==null?void 0x0:_0xecd225[_0x4a05cd(0x295)])==null?'/universer-api/file/{fileID}/sign-url':_0x282924;}[_0x2f5570(0x300)](){const _0x114a36=_0x2f5570;var _0x26ceec;let _0xa08b2d=this[_0x114a36(0x283)][_0x114a36(0x31a)](p);return(_0x26ceec=_0xa08b2d==null?void 0x0:_0xa08b2d[_0x114a36(0x2e9)])==null?0x1d4c0:_0x26ceec;}};P=g([h(0x0,t[_0x2f5570(0x2fd)]),h(0x1,(0x0,t[_0x2f5570(0x1df)])(n[_0x2f5570(0x1c3)]))],P);function F(_0x3b1bc7){const _0x14e0fe=_0x2f5570;let _0x3cfdda=_0x3b1bc7['workbook'];if(!_0x3cfdda)return null;let _0x18ed35={};_0x3cfdda[_0x14e0fe(0x1d0)]&&Object[_0x14e0fe(0x21c)](_0x3cfdda['sheets'])['forEach'](_0x31da5f=>{const _0x4a7988=_0x14e0fe;let _0x3fb272=_0x3cfdda[_0x4a7988(0x1d0)][_0x31da5f];_0x18ed35[_0x31da5f]={..._0x3fb272,'originalMeta':(0x0,l[_0x4a7988(0x208)])(l[_0x4a7988(0x240)][_0x4a7988(0x21e)](_0x3fb272[_0x4a7988(0x27b)]))};});let _0x3ebd54=(0x0,l['b64EncodeUnicode'])(l[_0x14e0fe(0x240)]['decode'](_0x3cfdda['originalMeta']));return{..._0x3b1bc7,'workbook':{..._0x3cfdda,'originalMeta':_0x3ebd54,'sheets':_0x18ed35},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function I(_0x8ba14c){const _0x5b0eb5=_0x2f5570;let _0x3670bf=_0x8ba14c[_0x5b0eb5(0x311)];if(!_0x3670bf)return null;let _0x545b54=(0x0,l[_0x5b0eb5(0x208)])(l[_0x5b0eb5(0x240)][_0x5b0eb5(0x21e)](_0x3670bf[_0x5b0eb5(0x27b)]));return{..._0x8ba14c,'workbook':{},'doc':{..._0x3670bf,'originalMeta':_0x545b54},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function _0x358e(){const _0x5f0a36=['Plugin','setTaskInterrupted','values','next','buffer','prototype','importDOCXToSnapshot','type','_logService','UNIVER_SHEET','show','univer-flex','getSheetBlocksFromSnapshot','UniverLicensePlugin','upload','removeChild','setConfig','error','function','b64EncodeUnicode','_addDoneTask','_registerUIParts','_getSignURL','list$','input','transformWorkbookDataToSnapshotJson','FileSource','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Failed\x20to\x20get\x20jsonID\x20from\x20task','Warning','trim','Failed\x20to\x20get\x20file\x20from\x20url','createUnit','_emitProgress','getTextFromUrl','scrollbarClassName','_injector','SnapshotService','_getUnitNameByType','keys','content-disposition','decode','visible$','transformSnapshotToSlideData','_extractErrorDetail','Disposable','exportPDFBySnapshot','export\x20error','string','multiple','3492252vKYHzr','dispose','interrupt','importFileToUnitId','application/vnd.openxmlformats-officedocument.spreadsheetml.template','copyFileMeta','importFileToJson','code','importServerUrl','download','IconManager','split','unshift','564056PYeVbv','FileId','iterator','application/octet-stream','blob','transformPdfDataToSnapshot','exportPPTXByUnitId','forEach','Tooltip','application/vnd.openxmlformats-officedocument.wordprocessingml.document','importPPTXToSnapshot','pathname','textDecoder','Failed\x20to\x20transform\x20snapshot\x20to\x20string','BuiltInUIPart','xltx','change','isArray','_uploadNotificationService','_state$','importXLSXToSnapshot','join','_refreshUnit','getFocusedUnit','SuccessIcon','data','_list$','exchange-client.uploading','UNIVER_PDF','rev','registerLink','_getExportURL','\x20-\x20','createIdentifier','headers','state$','pushLink','834044AJPkjU','exportPDFByUnitId','exchange-client.uploadSuccess','_showUploadMessage','toDisposable','_getDownloadEndpointURL','getUnitId','getUnitType','toLowerCase','match','_import','stringify','_httpService','univer-text-green-500','import','UniverNetworkPlugin','progress$','useDependency','{type}','catch','transformSnapshotJsonToWorkbookData','_upload','_importFileToUnitId','ignoreTableExport','_getIgnoreTableExport','body','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','length','UNIVER_EXCHANGE_CLIENT_PLUGIN','name','link','display','exportDOCXByUnitId','originalMeta','unitID','UNIVER_DOC','_localeService','_progress$','MessageType','packageName','_signUrl','_configService','options','Module','getCurrentUnitOfType','_getDisableCellImageConversion','_getTaskURL','exchange-client.tooLarge','clear','importWorkbookDataToUnitId','taskID','Injector','requestState$','getTask','UNIVER_BOARD','_totalUploadTaskCount','text','4589082sdnbWi','transformWorkbookDataToSnapshot','signUrlServerUrl','isCurrentUnitLoadedFromServer','application/vnd.openxmlformats-officedocument.presentationml.presentation','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','IExchangeOperateService','No\x20unit\x20of\x20type\x20','exportDOCXBySnapshot','_getMinSheetRowCount','INTERNAL_ERROR','noreferrer','toString','_export','call','outputType','clearTaskInterrupted','transformSnapshotToPdfData','blockID','UniverUIPlugin','_fileTypeError','none','univer-mt-5\x20univer-flex\x20univer-flex-col','3SreRCg','upload\x20failed:\x20FileId\x20is\x20empty','pptx','pdf','_getUnitID','revokeObjectURL','has','registerComponent','disposeUnit','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','success','disposeWithMe','_sheetBlockCache','/universer-api/exchange/{type}/export','decorate','exchange-client.networkError','_exchangeService','exchange-client.uploadAgain','LocaleService','exchange-client.cancel','univer-pro.exchange-client.exchange.service','file','file.','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','transformSnapshotToDocumentData','set','Error','UNRECOGNIZED','encode','object','/universer-api/exchange/task/{taskID}','CONTENT','DocsMultiIcon','some','IExchangeService','hide','Content-Type','_getMinSheetColumnCount','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','16825220ebCdsC','post','_getUnitJson','_showNetworkError','_config','5glzAlk','importPDFToUnitId','_requestService','ClockIcon','done','pending','clsx','IUniverInstanceService','status','jsx','minSheetColumnCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','toStringTag','application/pdf','SheetsMultiIcon','includes','workbook.json','add','jsxs','maxTimeoutTime','Get\x20outputType\x20error','upload\x20request\x20failed','univer-pro.exchange-client.request.service','UNDEFINED','slide','snapshot','size','onReady','useObservable','ErrorIcon','univer-pro.exchange-client.operate.service','univer-text-red-500','_requestState$','_getImportURL','_addTotalCount','number','uploadFileServerUrl','exchange-client.unknownMistake','signUrl','IConfigService','univer-flex\x20univer-h-5\x20univer-text-xl','saveUnit','_getMaxPollingTime','_visible$','parse','_clearProgress','downloadEndpointUrl','map','exportXLSXByUnitId','saveSnapshot','block\x20is\x20required','Success','get','univer-h-6\x20univer-text-2xl','_uiPartsService','addEventListener','IResourceLoaderService','_iconManager','UniverInstanceType','doc','span','getSnapshot','updateState','218774iRoiqB','importPDFToSnapshot','exchange-client.internalError','_list','DependentOn','getConfig','Failed\x20to\x20get\x20text\x20from\x20url','_completeProgress','UniverExchangeClientPlugin','getResourcesRequest','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getOwnPropertyDescriptor','_importToJson','_importTaskId','_resourceLoaderService','createElement','_taskInterrupted','exchange-client.interrupt','UNIVER_PROJECT','fetchMissingChangesets','HttpImport','sheetBlocks','_showDownloadMessage','exportPPTXBySnapshot','_registerIcons','Error\x20fetching\x20file\x20from\x20URL:','ShareRangeIcon','HTTPResponseError','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','searchParams','3955360GqYUAy','textEncoder','href','SlidesMultiIcon','complete','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','accept','uploadFileToUnitId','statusText','\x20is\x20currently\x20active.','append','disableCellImageConversion','CONNECTOR_DATA_TOO_LARGE','button','_getUploadFileURL','xlsm','minSheetRowCount','defineProperty','files','asObservable','_univerInstanceService','/universer-api/exchange/{type}/import','title','_exportBySnapshot','downloadFile','@univerjs-pro/exchange-client','.json','Info','UNIVER_UNKNOWN','UNIVER_SLIDE','HTTPService','_uploadTaskNotDone','_buildProtocolErrorMessage','IUIPartsService','exchange-client.downloading','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','transformSnapshotToWorkbookData','{taskID}','createObjectURL','symbol','touchDependencies','BehaviorSubject','interruptImportTask','sheets','xlsx','7mRbRCw','constructor','saveSheetBlock','b64DecodeUnicode','getTaskServerUrl','resources','importXLSXToUnitId','_messageService','exchange-client.config','click','_buildHttpErrorMessage','deflateSync','Failed\x20to\x20parse\x20json','Inject','jsonID','replace','message','sign\x20url\x20error','univer-pl-2\x20univer-pr-4','updateSnapshot','exportXLSXBySnapshot','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','ErrorCode','export','/universer-api/stream/file/upload','resolve','_getLinkByUnitId','Subject','_doneUploadTaskCount','univer-text-sm\x20univer-text-gray-500','docx','importFileToUnitIdByCurrentType','div','importDOCXToUnitId','ILogService'];_0x358e=function(){return _0x5f0a36;};return _0x358e();}function L(_0xc4e18c){const _0x3976b1=_0x2f5570;var _0x359a61;let _0x466268=(_0x359a61=_0xc4e18c[_0x3976b1(0x2ee)])==null?_0xc4e18c['doc']:_0x359a61;if(!_0x466268)return null;let _0x510d26=typeof _0x466268[_0x3976b1(0x27b)]==_0x3976b1(0x225)?_0x466268['originalMeta']:(0x0,l[_0x3976b1(0x208)])(l['textDecoder'][_0x3976b1(0x21e)](_0x466268[_0x3976b1(0x27b)]));return{..._0xc4e18c,'workbook':{},'doc':{},'slide':{..._0x466268,'originalMeta':_0x510d26},'board':void 0x0,'pdf':void 0x0};}function R(_0x1d6a41){const _0x3ceffa=_0x2f5570;let _0x35e6bc=_0x1d6a41[_0x3ceffa(0x2ad)];if(!_0x35e6bc)return null;let _0x3a5dce=typeof _0x35e6bc[_0x3ceffa(0x27b)]==_0x3ceffa(0x225)?_0x35e6bc[_0x3ceffa(0x27b)]:(0x0,l[_0x3ceffa(0x208)])(l[_0x3ceffa(0x240)]['decode'](_0x35e6bc[_0x3ceffa(0x27b)]));return{..._0x1d6a41,'workbook':{},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':{..._0x35e6bc,'originalMeta':_0x3a5dce}};}function z(_0x38faa2){const _0x4e30c5=_0x2f5570;let _0x398492={};return _0x38faa2[_0x4e30c5(0x23b)](_0x58fc1b=>{const _0x57b834=_0x4e30c5;_0x398492[_0x58fc1b['id']]={..._0x58fc1b,'data':(0x0,l[_0x57b834(0x208)])(l['textDecoder'][_0x57b834(0x21e)](_0x58fc1b[_0x57b834(0x24d)]))};}),_0x398492;}async function B(_0x59f98b){const _0x40abd5=_0x2f5570;var _0x860737;let _0x2f7263={'metadata':void 0x0},_0x2c93ce=_0x59f98b['id'],{snapshot:_0x640b1e}=await(0x0,l['transformDocumentDataToSnapshot'])(_0x2f7263,_0x59f98b,_0x2c93ce,(_0x860737=_0x59f98b['rev'])==null?0x0:_0x860737,new W()),_0x35a788=I(_0x640b1e);if(!_0x35a788)throw Error(_0x40abd5(0x241));return{'snapshot':_0x35a788,'sheetBlocks':{}};}async function V(_0x20eee9){const _0x1f29e3=_0x2f5570;var _0x3abe96;let _0x1a26eb=_0x20eee9['id'],_0x119f64=(_0x3abe96=_0x20eee9[_0x1f29e3(0x251)])==null?0x0:_0x3abe96,_0x4db5f1=new W(),{snapshot:_0x2fd095}=await(0x0,l['transformSlideDataToSnapshot'])(_0x20eee9[_0x1f29e3(0x1d7)],_0x20eee9,_0x1a26eb,_0x119f64,_0x4db5f1),_0x31bead=L(_0x2fd095);if(!_0x31bead)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x31bead,'sheetBlocks':{}};}async function H(_0xd88b3c){const _0x5c23a6=_0x2f5570;var _0x49014c;let _0xc9fd=new W(),{snapshot:_0x47b6a5}=await(0x0,l[_0x5c23a6(0x239)])(_0xd88b3c,_0xd88b3c['id'],(_0x49014c=_0xd88b3c['rev'])==null?0x0:_0x49014c,_0xc9fd),_0x4871a3=R(_0x47b6a5);if(!_0x4871a3)throw Error('Failed\x20to\x20transform\x20PDF\x20snapshot\x20to\x20string');return{'snapshot':_0x4871a3,'sheetBlocks':{}};}function U(_0x3ff8a6){const _0x12a3fa=_0x2f5570;let _0x2e9e23=_0x3ff8a6[_0x12a3fa(0x2ef)];return(0x0,l[_0x12a3fa(0x2c2)])(_0x2e9e23);}function _0x5821(_0x414c3e,_0x455ded){_0x414c3e=_0x414c3e-0x1aa;const _0x358ef8=_0x358e();let _0x5821d3=_0x358ef8[_0x414c3e];return _0x5821d3;}function de(_0x27f22c){const _0x518d48=_0x2f5570;let _0x382ffb=_0x27f22c[_0x518d48(0x2ef)];return(0x0,l[_0x518d48(0x220)])(_0x382ffb);}function fe(_0x32fc01){const _0x4d5130=_0x2f5570;return(0x0,l[_0x4d5130(0x2a4)])(_0x32fc01['snapshot']);}var W=class{constructor(){const _0x320187=_0x2f5570;b(this,_0x320187(0x2b6),new Map());}['getUnitOnRev'](){const _0x301682=_0x2f5570;return Promise[_0x301682(0x1eb)]({'snapshot':{'unitID':'','type':t[_0x301682(0x310)][_0x301682(0x1fe)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}['getSheetBlock'](_0x278c27,_0x2b79a7){const _0x57998c=_0x2f5570;let _0x263b70=this[_0x57998c(0x2b6)][_0x57998c(0x30a)](_0x2b79a7[_0x57998c(0x2a5)]);return Promise[_0x57998c(0x1eb)]({'block':_0x263b70,'error':{'code':c[_0x57998c(0x1e8)]['OK'],'message':''}});}['getDeserializedSheetBlock'](_0xceea73,_0x591026){const _0x2b5080=_0x2f5570;let _0x51ce8f=this['_sheetBlockCache'][_0x2b5080(0x30a)](_0x591026[_0x2b5080(0x2a5)]);return Promise['resolve']({'block':_0x51ce8f===void 0x0?void 0x0:{..._0x51ce8f,'data':JSON[_0x2b5080(0x302)](l['textDecoder']['decode'](_0x51ce8f[_0x2b5080(0x24d)]))},'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x2f5570(0x328)](){const _0xba4a85=_0x2f5570;return Promise[_0xba4a85(0x1eb)]({'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x2f5570(0x31e)](){const _0x22ff9e=_0x2f5570;return Promise[_0x22ff9e(0x1eb)]({'resources':{},'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x2f5570(0x307)](){const _0x45a9b8=_0x2f5570;return Promise[_0x45a9b8(0x1eb)]({'error':{'code':c[_0x45a9b8(0x1e8)]['OK'],'message':''}});}[_0x2f5570(0x1e5)](){const _0x4a79fb=_0x2f5570;return Promise[_0x4a79fb(0x1eb)]({'error':{'code':c[_0x4a79fb(0x1e8)]['OK'],'message':''}});}[_0x2f5570(0x1d4)](_0x139314,_0x3f0bdc){const _0x5ac90e=_0x2f5570;let {block:_0x4e842e}=_0x3f0bdc;return _0x4e842e?(this[_0x5ac90e(0x2b6)][_0x5ac90e(0x2c3)](_0x4e842e['id'],_0x4e842e),Promise[_0x5ac90e(0x1eb)]({'error':{'code':c['ErrorCode']['OK'],'message':''},'blockID':_0x4e842e['id']})):Promise['resolve']({'error':{'code':c[_0x5ac90e(0x1e8)][_0x5ac90e(0x2ed)],'message':_0x5ac90e(0x308)},'blockID':''});}['saveChangeset'](){const _0x51e19c=_0x2f5570;return Promise[_0x51e19c(0x1eb)]({'error':{'code':c[_0x51e19c(0x1e8)]['OK'],'message':''},'concurrent':[]});}[_0x2f5570(0x22c)](){return Promise['resolve']({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x4b3289=_0x2f5570;return Promise[_0x4b3289(0x1eb)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t['createIdentifier'])(_0x2f5570(0x2be));let K=class extends t[_0x2f5570(0x222)]{constructor(_0x59578b,_0x37699c,_0x4f8102){const _0x1a1bb0=_0x2f5570;super(),this[_0x1a1bb0(0x283)]=_0x59578b,this[_0x1a1bb0(0x265)]=_0x37699c,this[_0x1a1bb0(0x2d8)]=_0x4f8102,b(this,_0x1a1bb0(0x322),null),b(this,_0x1a1bb0(0x2f6),new a['Subject']()),b(this,_0x1a1bb0(0x28e),this[_0x1a1bb0(0x2f6)][_0x1a1bb0(0x1b8)]());}['dispose'](){const _0x46ed32=_0x2f5570;super[_0x46ed32(0x228)](),this[_0x46ed32(0x2f6)][_0x46ed32(0x337)]();}[_0x2f5570(0x1bd)](_0x3bc6ee,_0x3d935f,_0x5d995e){const _0x4d2aff=_0x2f5570;let _0x44d195=URL[_0x4d2aff(0x1cb)](_0x3bc6ee);re(_0x44d195,_0x3d935f,_0x5d995e),URL[_0x4d2aff(0x2af)](_0x44d195);}async['transformSnapshotJsonToWorkbookData'](_0x261f57){const _0x850db9=_0x2f5570;let _0x3e434b=_0x261f57[_0x850db9(0x2ef)],_0x3ac553=_0x261f57[_0x850db9(0x32a)]||{};return(0x0,l[_0x850db9(0x1c9)])(_0x3e434b,Object['keys'](_0x3ac553)[_0x850db9(0x305)](_0x182d91=>_0x3ac553[_0x182d91])['map'](_0xc64891=>({..._0xc64891,'data':_0xc64891[_0x850db9(0x24d)]?JSON[_0x850db9(0x302)]((0x0,l[_0x850db9(0x1d5)])(_0xc64891['data'])):void 0x0})));}async[_0x2f5570(0x20e)](_0x4ab701){const _0x2e4ab6=_0x2f5570;var _0x115a31;let _0x371f17={'metadata':void 0x0},_0x284f9e=_0x4ab701['id'],_0xd17674=(_0x115a31=_0x4ab701['rev'])==null?0x0:_0x115a31,_0x568f96=new W(),{snapshot:_0x2a0867}=await(0x0,l[_0x2e4ab6(0x294)])(_0x371f17,_0x4ab701,_0x284f9e,_0xd17674,_0x568f96),_0x246691=await(0x0,l[_0x2e4ab6(0x201)])(_0x2a0867,_0x568f96),_0x547e85=F(_0x2a0867);if(!_0x547e85)throw Error(_0x2e4ab6(0x241));return{'snapshot':_0x547e85,'sheetBlocks':z(_0x246691)};}async[_0x2f5570(0x1fb)](_0x1bb312){const _0x3d3cbc=_0x2f5570;let _0x8a39fe=await this[_0x3d3cbc(0x22d)](_0x1bb312,t[_0x3d3cbc(0x310)][_0x3d3cbc(0x27d)]);if(!_0x8a39fe||!_0x8a39fe[_0x3d3cbc(0x2ef)])return;let _0x1a289d=U(_0x8a39fe);if(_0x1a289d)return _0x1a289d;}async['exportDOCXByUnitId'](_0x3c79f9){const _0x3c3122=_0x2f5570;return this[_0x3c3122(0x2a0)](_0x3c79f9,0x1,t[_0x3c3122(0x310)]['UNIVER_DOC']);}async['exportDOCXBySnapshot'](_0xa12bb3){const _0x24c04a=_0x2f5570;let _0x241a62=await B(_0xa12bb3);return this[_0x24c04a(0x1bc)](_0x241a62,t[_0x24c04a(0x310)][_0x24c04a(0x27d)]);}async[_0x2f5570(0x23e)](_0x2ff605){const _0x11f5f8=_0x2f5570;let _0xfc9817=await this[_0x11f5f8(0x22d)](_0x2ff605,t[_0x11f5f8(0x310)][_0x11f5f8(0x1c2)]);if(!(!_0xfc9817||!_0xfc9817[_0x11f5f8(0x2ef)]))return de(_0xfc9817);}async[_0x2f5570(0x23a)](_0x337c53){const _0x1fbcc5=_0x2f5570;return this[_0x1fbcc5(0x2a0)](_0x337c53,0x1,t['UniverInstanceType']['UNIVER_SLIDE']);}async[_0x2f5570(0x32c)](_0xca367e){const _0x4e8e89=_0x2f5570;let _0x539b73=await V(_0xca367e);return this[_0x4e8e89(0x1bc)](_0x539b73,t[_0x4e8e89(0x310)][_0x4e8e89(0x1c2)]);}async[_0x2f5570(0x316)](_0x3d5f65){const _0x135101=_0x2f5570;let _0x5680d5=await this[_0x135101(0x22d)](_0x3d5f65,t['UniverInstanceType'][_0x135101(0x250)]);if(_0x5680d5!=null&&_0x5680d5[_0x135101(0x2ef)])return fe(_0x5680d5);}async[_0x2f5570(0x25a)](_0x51d2fa){const _0x305be4=_0x2f5570;return this[_0x305be4(0x2a0)](_0x51d2fa,0x1,t[_0x305be4(0x310)][_0x305be4(0x250)]);}async['exportPDFBySnapshot'](_0x3e0766){const _0x186e11=_0x2f5570;let _0x34fcd9=await H(_0x3e0766);return this[_0x186e11(0x1bc)](_0x34fcd9,t[_0x186e11(0x310)][_0x186e11(0x250)]);}async[_0x2f5570(0x248)](_0x33d55e){const _0x1bc79b=_0x2f5570;let _0x8b8e33=await this['importFileToJson'](_0x33d55e,t[_0x1bc79b(0x310)]['UNIVER_SHEET']);if(!_0x8b8e33)return;let _0x3f8f15=await this[_0x1bc79b(0x26d)](_0x8b8e33);if(_0x3f8f15)return _0x3f8f15;}async[_0x2f5570(0x306)](_0x5e1273){const _0x1ea388=_0x2f5570;return this[_0x1ea388(0x2a0)](_0x5e1273,0x1,t['UniverInstanceType'][_0x1ea388(0x1fe)]);}async['exportXLSXBySnapshot'](_0x2d0377){const _0x3a71f6=_0x2f5570;let _0x3162eb=await this[_0x3a71f6(0x20e)](_0x2d0377);return this[_0x3a71f6(0x1bc)](_0x3162eb,t[_0x3a71f6(0x310)]['UNIVER_SHEET']);}async[_0x2f5570(0x22a)](_0x4f70f9,_0x20e756){const _0x437cef=_0x2f5570;var _0x17a1c4,_0x10105f;let _0x904483=await this[_0x437cef(0x26e)](_0x4f70f9);if(!_0x904483)return;let _0x127288=await this[_0x437cef(0x263)](_0x904483,0x1,_0x20e756);if(!_0x127288)return;this['_importTaskId']=_0x127288,this[_0x437cef(0x2d8)]['clearTaskInterrupted']();let _0xb15391=await this[_0x437cef(0x2d8)][_0x437cef(0x28f)](_0x127288)[_0x437cef(0x26c)](_0x5d29a4=>{const _0x1c9082=_0x437cef;var _0x3d866a;let _0x4a1e37=_0x5d29a4 instanceof Error?_0x5d29a4[_0x1c9082(0x1e2)]:(_0x3d866a=_0x5d29a4[_0x1c9082(0x206)])==null?void 0x0:_0x3d866a[_0x1c9082(0x1e2)];this[_0x1c9082(0x2f6)][_0x1c9082(0x1f8)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x4a1e37||''},'state':0x3});});if(!_0xb15391)return;let _0x545cad=(_0x17a1c4=_0xb15391[_0x437cef(0x267)])==null?void 0x0:_0x17a1c4['outputType'],_0xa19eb9=((_0x10105f=_0xb15391['import'])==null?void 0x0:_0x10105f[_0x437cef(0x27c)])||'';if(_0x545cad!==0x1){this['_requestState$'][_0x437cef(0x1f8)]({'error':{'code':c[_0x437cef(0x1e8)]['UNRECOGNIZED'],'message':_0x437cef(0x2ea)},'state':0x3});return;}if(_0xa19eb9[_0x437cef(0x275)]===0x0){this[_0x437cef(0x2f6)]['next']({'error':{'code':c[_0x437cef(0x1e8)][_0x437cef(0x2c5)],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this['_requestState$'][_0x437cef(0x1f8)]({'error':_0xb15391['error'],'state':0x3}),_0xa19eb9;}async[_0x2f5570(0x22d)](_0xcfb92e,_0x371af8){const _0x51e6f2=_0x2f5570;return this[_0x51e6f2(0x321)](_0xcfb92e,_0x371af8);}async[_0x2f5570(0x28b)](_0xe9f05f){const _0x56c975=_0x2f5570;let _0x595846=await this[_0x56c975(0x20e)](_0xe9f05f),_0x1cbc0d=typeof _0xe9f05f['id']=='string'&&_0xe9f05f['id']['trim']()?_0xe9f05f['id'][_0x56c975(0x213)]()+_0x56c975(0x1bf):_0x56c975(0x2e6),_0x4035a3=new File([JSON[_0x56c975(0x264)](_0x595846)],_0x1cbc0d,{'type':'application/json'});return this[_0x56c975(0x22a)](_0x4035a3,t['UniverInstanceType'][_0x56c975(0x1fe)]);}[_0x2f5570(0x1cf)](){const _0x595809=_0x2f5570;this[_0x595809(0x322)]&&this[_0x595809(0x2d8)]['setTaskInterrupted'](this[_0x595809(0x322)]);}async[_0x2f5570(0x321)](_0x2355bb,_0x575d2c){const _0x5ce68c=_0x2f5570;var _0x520376,_0x20f6f7;let _0x57a875=await this[_0x5ce68c(0x26e)](_0x2355bb);if(!_0x57a875)return;let _0x145fe9=await this['_import'](_0x57a875,0x2,_0x575d2c);if(!_0x145fe9)return;this[_0x5ce68c(0x322)]=_0x145fe9,this[_0x5ce68c(0x2d8)][_0x5ce68c(0x2a3)]();let _0x14d92f=await this['_requestService'][_0x5ce68c(0x28f)](_0x145fe9)[_0x5ce68c(0x26c)](_0x45231a=>{const _0x5cf402=_0x5ce68c;var _0x51afa6;let _0x7888f4=_0x45231a instanceof Error?_0x45231a[_0x5cf402(0x1e2)]:(_0x51afa6=_0x45231a[_0x5cf402(0x206)])==null?void 0x0:_0x51afa6[_0x5cf402(0x1e2)];this[_0x5cf402(0x2f6)][_0x5cf402(0x1f8)]({'error':{'code':c['ErrorCode'][_0x5cf402(0x2c5)],'message':_0x7888f4||''},'state':0x3});});if(!_0x14d92f)return;let _0x35f3f4=(_0x520376=_0x14d92f[_0x5ce68c(0x267)])==null?void 0x0:_0x520376[_0x5ce68c(0x2a2)],_0xc94a29=((_0x20f6f7=_0x14d92f[_0x5ce68c(0x267)])==null?void 0x0:_0x20f6f7[_0x5ce68c(0x1e0)])||'';if(_0x35f3f4!==0x2){this[_0x5ce68c(0x2f6)][_0x5ce68c(0x1f8)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x5ce68c(0x2ea)},'state':0x3});return;}if(_0xc94a29[_0x5ce68c(0x275)]===0x0){this[_0x5ce68c(0x2f6)]['next']({'error':{'code':c[_0x5ce68c(0x1e8)][_0x5ce68c(0x2c5)],'message':_0x5ce68c(0x211)},'state':0x3});return;}this[_0x5ce68c(0x2f6)][_0x5ce68c(0x1f8)]({'error':_0x14d92f[_0x5ce68c(0x206)],'state':0x3});let _0x11274f=await this[_0x5ce68c(0x282)](_0xc94a29);if(!_0x11274f)return;let _0x11aec6=await this[_0x5ce68c(0x2d8)][_0x5ce68c(0x217)](_0x11274f);if(!_0x11aec6){this['_requestState$'][_0x5ce68c(0x1f8)]({'error':{'code':c[_0x5ce68c(0x1e8)][_0x5ce68c(0x2c5)],'message':_0x5ce68c(0x31b)},'state':0x5});return;}try{let _0x284cb7=JSON[_0x5ce68c(0x302)](_0x11aec6);return this[_0x5ce68c(0x2f6)][_0x5ce68c(0x1f8)]({'error':{'code':c[_0x5ce68c(0x1e8)]['OK'],'message':_0x5ce68c(0x2b4)},'state':0x5}),_0x284cb7;}catch{this['_requestState$']['next']({'error':{'code':c['ErrorCode'][_0x5ce68c(0x2c5)],'message':_0x5ce68c(0x1de)},'state':0x5});}}async[_0x2f5570(0x1bc)](_0x2318ca,_0x5b5b53){const _0x1227dc=_0x2f5570;let _0xb82758=JSON[_0x1227dc(0x264)](_0x2318ca),_0x44d471=l[_0x1227dc(0x334)][_0x1227dc(0x2c6)](_0xb82758),_0x58677b=(0x0,u[_0x1227dc(0x1dd)])(_0x44d471),_0x5e07fc=_0x44d471['length'],_0x27e991=ce(_0x58677b),_0x437e69=await this[_0x1227dc(0x26e)](_0x27e991,_0x5e07fc,!0x0);if(_0x437e69)return this[_0x1227dc(0x2a0)](_0x437e69,0x2,_0x5b5b53);}async[_0x2f5570(0x2a0)](_0x358cc1,_0x44ace6,_0x553ea8){const _0x1a5f36=_0x2f5570;var _0x18c483;let _0xdde8b1=await this[_0x1a5f36(0x2d8)][_0x1a5f36(0x1e9)]({'unitID':_0x44ace6===0x1?_0x358cc1:'','jsonID':_0x44ace6===0x2?_0x358cc1:'','type':_0x553ea8,'useImageUrl':this[_0x1a5f36(0x287)](),'ignoreTableExport':this[_0x1a5f36(0x271)]()});if(!_0xdde8b1){this[_0x1a5f36(0x2f6)]['next']({'error':{'code':c[_0x1a5f36(0x1e8)]['UNRECOGNIZED'],'message':_0x1a5f36(0x224)},'state':0x2});return;}if(this['_requestState$'][_0x1a5f36(0x1f8)]({'error':_0xdde8b1['error'],'state':0x2}),_0xdde8b1[_0x1a5f36(0x206)]&&_0xdde8b1['error'][_0x1a5f36(0x22e)]!==c[_0x1a5f36(0x1e8)]['OK'])return;let _0xd1657a=_0xdde8b1[_0x1a5f36(0x28c)],_0x3e015e=await this['_requestService'][_0x1a5f36(0x28f)](_0xd1657a)[_0x1a5f36(0x26c)](_0x5854ae=>{const _0x3390da=_0x1a5f36;var _0x1e996e;let _0x3274f7=_0x5854ae instanceof Error?_0x5854ae[_0x3390da(0x1e2)]:(_0x1e996e=_0x5854ae['error'])==null?void 0x0:_0x1e996e[_0x3390da(0x1e2)];this['_requestState$'][_0x3390da(0x1f8)]({'error':{'code':c[_0x3390da(0x1e8)]['UNRECOGNIZED'],'message':_0x3274f7||''},'state':0x3});});if(!_0x3e015e)return;let _0x227735=((_0x18c483=_0x3e015e[_0x1a5f36(0x1e9)])==null?void 0x0:_0x18c483['fileID'])||'';if(_0x227735['length']===0x0){this[_0x1a5f36(0x2f6)][_0x1a5f36(0x1f8)]({'error':{'code':c[_0x1a5f36(0x1e8)][_0x1a5f36(0x2c5)],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x1a5f36(0x2f6)][_0x1a5f36(0x1f8)]({'error':_0x3e015e[_0x1a5f36(0x206)],'state':0x3});let _0x36106e=await this[_0x1a5f36(0x282)](_0x227735);if(!_0x36106e)return;let _0x1e5f6c=await j(_0x36106e,this['_httpService']);if(!_0x1e5f6c){this['_requestState$'][_0x1a5f36(0x1f8)]({'error':{'code':c[_0x1a5f36(0x1e8)][_0x1a5f36(0x2c5)],'message':_0x1a5f36(0x214)},'state':0x6});return;}return this['_requestState$']['next']({'error':{'code':c[_0x1a5f36(0x1e8)]['OK'],'message':_0x1a5f36(0x2b4)},'state':0x6}),_0x1e5f6c;}async[_0x2f5570(0x26e)](_0x10e67a,_0x34d867,_0x527b17){const _0x307061=_0x2f5570;let _0x54c986;try{_0x54c986=await this['_requestService']['upload'](_0x10e67a,_0x34d867,_0x527b17);}catch(_0x4f8f6b){let _0xa7cd50=_0x4f8f6b instanceof Error?_0x4f8f6b[_0x307061(0x1e2)]:String(_0x4f8f6b);this[_0x307061(0x2f6)][_0x307061(0x1f8)]({'error':{'code':c[_0x307061(0x1e8)]['UNRECOGNIZED'],'message':_0xa7cd50},'state':0x0});return;}if(!_0x54c986||typeof _0x54c986[_0x307061(0x235)]!='string'){this[_0x307061(0x2f6)]['next']({'error':{'code':c['ErrorCode'][_0x307061(0x2c5)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x69449=_0x54c986['FileId'];if(_0x69449[_0x307061(0x275)]===0x0){this[_0x307061(0x2f6)][_0x307061(0x1f8)]({'error':{'code':c['ErrorCode'][_0x307061(0x2c5)],'message':_0x307061(0x2ab)},'state':0x0});return;}return this[_0x307061(0x2f6)][_0x307061(0x1f8)]({'error':{'code':c[_0x307061(0x1e8)]['OK'],'message':'success'},'state':0x0}),_0x69449;}async[_0x2f5570(0x263)](_0x30e431,_0x4f519c,_0x25c5be){const _0x15ad96=_0x2f5570;let _0x121b48={'fileID':_0x30e431,'type':_0x25c5be,'outputType':_0x4f519c,'fileUrl':'','minSheetRowCount':this[_0x15ad96(0x29c)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0xaa307a=await this[_0x15ad96(0x2d8)]['import'](_0x121b48);if(!_0xaa307a){this[_0x15ad96(0x2f6)][_0x15ad96(0x1f8)]({'error':{'code':c[_0x15ad96(0x1e8)][_0x15ad96(0x2c5)],'message':'import\x20error'},'state':0x1});return;}if(_0xaa307a[_0x15ad96(0x206)]&&_0xaa307a[_0x15ad96(0x206)][_0x15ad96(0x22e)]!==c[_0x15ad96(0x1e8)]['OK']){this[_0x15ad96(0x2f6)][_0x15ad96(0x1f8)]({'error':_0xaa307a[_0x15ad96(0x206)],'state':0x1});return;}let _0x4d3451=_0xaa307a[_0x15ad96(0x28c)];if(_0x4d3451[_0x15ad96(0x275)]===0x0){this[_0x15ad96(0x2f6)][_0x15ad96(0x1f8)]({'error':{'code':c['ErrorCode'][_0x15ad96(0x2c5)],'message':_0x15ad96(0x210)},'state':0x1});return;}return this[_0x15ad96(0x2f6)]['next']({'error':_0xaa307a[_0x15ad96(0x206)],'state':0x1}),_0x4d3451;}async[_0x2f5570(0x282)](_0x49ca38){const _0x376f8f=_0x2f5570;let _0x3bc3de=await this[_0x376f8f(0x2d8)][_0x376f8f(0x2fc)](_0x49ca38);if(!_0x3bc3de){this['_requestState$'][_0x376f8f(0x1f8)]({'error':{'code':c[_0x376f8f(0x1e8)]['UNRECOGNIZED'],'message':_0x376f8f(0x1e3)},'state':0x4});return;}if(_0x3bc3de[_0x376f8f(0x206)]&&_0x3bc3de[_0x376f8f(0x206)]['code']!==c[_0x376f8f(0x1e8)]['OK']){this[_0x376f8f(0x2f6)][_0x376f8f(0x1f8)]({'error':_0x3bc3de[_0x376f8f(0x206)],'state':0x4});return;}let _0x53a363=(0x0,t['resolveWithBasePath'])(_0x3bc3de['url'],this['_getDownloadEndpointURL']());if(_0x53a363['length']===0x0){this['_requestState$'][_0x376f8f(0x1f8)]({'error':{'code':c[_0x376f8f(0x1e8)][_0x376f8f(0x2c5)],'message':_0x376f8f(0x1e3)},'state':0x4});return;}return this[_0x376f8f(0x2f6)][_0x376f8f(0x1f8)]({'error':_0x3bc3de[_0x376f8f(0x206)],'state':0x4}),_0x53a363;}[_0x2f5570(0x25e)](){const _0x38cfd7=_0x2f5570;var _0x3978a8;let _0x293964=this[_0x38cfd7(0x283)]['getConfig'](p);return(_0x3978a8=_0x293964==null?void 0x0:_0x293964[_0x38cfd7(0x304)])==null?location['origin']:_0x3978a8;}[_0x2f5570(0x29c)](){const _0x24a0ba=_0x2f5570;var _0x1f859b,_0x2a2d4a;let _0x2cd1b0=this[_0x24a0ba(0x283)][_0x24a0ba(0x31a)](p);return(_0x1f859b=_0x2cd1b0==null||(_0x2a2d4a=_0x2cd1b0[_0x24a0ba(0x284)])==null?void 0x0:_0x2a2d4a[_0x24a0ba(0x1b5)])==null?0x1:_0x1f859b;}[_0x2f5570(0x2cf)](){const _0x174fbc=_0x2f5570;var _0x329da1,_0x34d41e;let _0x19136a=this[_0x174fbc(0x283)][_0x174fbc(0x31a)](p);return(_0x329da1=_0x19136a==null||(_0x34d41e=_0x19136a['options'])==null?void 0x0:_0x34d41e[_0x174fbc(0x2e0)])==null?0x1:_0x329da1;}['_getDisableCellImageConversion'](){const _0xdfcdc7=_0x2f5570;var _0x44991c,_0x2e23c8;let _0x35e886=this[_0xdfcdc7(0x283)][_0xdfcdc7(0x31a)](p);return(_0x44991c=_0x35e886==null||(_0x2e23c8=_0x35e886[_0xdfcdc7(0x284)])==null?void 0x0:_0x2e23c8[_0xdfcdc7(0x1b0)])==null||_0x44991c;}[_0x2f5570(0x271)](){const _0x382423=_0x2f5570;var _0x56bd32,_0x44dea8;let _0x3be2ba=this[_0x382423(0x283)][_0x382423(0x31a)](p);return(_0x56bd32=_0x3be2ba==null||(_0x44dea8=_0x3be2ba['options'])==null?void 0x0:_0x44dea8[_0x382423(0x270)])!=null&&_0x56bd32;}};K=g([h(0x0,t[_0x2f5570(0x2fd)]),h(0x1,(0x0,t['Inject'])(n['HTTPService'])),h(0x2,(0x0,t[_0x2f5570(0x1df)])(N))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x2f5570(0x255)])(_0x2f5570(0x2f4));let J=class extends t[_0x2f5570(0x222)]{constructor(_0x1da283,_0x259663,_0x2efa1a,_0x29db56,_0x188f63,_0x22d335,_0x2b99e6){const _0x31d5a9=_0x2f5570;super(),this['_univerInstanceService']=_0x1da283,this[_0x31d5a9(0x1d9)]=_0x259663,this[_0x31d5a9(0x27e)]=_0x2efa1a,this[_0x31d5a9(0x2ba)]=_0x29db56,this[_0x31d5a9(0x246)]=_0x188f63,this[_0x31d5a9(0x1fd)]=_0x22d335,this[_0x31d5a9(0x323)]=_0x2b99e6,b(this,_0x31d5a9(0x27f),new a[(_0x31d5a9(0x1ce))](pe)),b(this,_0x31d5a9(0x269),this[_0x31d5a9(0x27f)][_0x31d5a9(0x1b8)]()),b(this,_0x31d5a9(0x291),0x0),b(this,'_doneUploadTaskCount',0x0),this[_0x31d5a9(0x2b5)]((0x0,t[_0x31d5a9(0x25d)])(this[_0x31d5a9(0x2ba)][_0x31d5a9(0x28e)]['subscribe'](_0x4c4a15=>{const _0x6f690a=_0x31d5a9;var _0x1bd011;((_0x1bd011=_0x4c4a15[_0x6f690a(0x206)])==null?void 0x0:_0x1bd011[_0x6f690a(0x22e)])===c[_0x6f690a(0x1e8)]['OK']?this['_addDoneTask'](0x1):this[_0x6f690a(0x2d4)](_0x4c4a15[_0x6f690a(0x206)]);})));}[_0x2f5570(0x229)](){const _0x59e5b3=_0x2f5570;this['_clearProgress'](),this[_0x59e5b3(0x246)]['updateState'](0x2),this[_0x59e5b3(0x2ba)][_0x59e5b3(0x1cf)]();}async[_0x2f5570(0x1d8)](){const _0x3566ce=_0x2f5570;if(this[_0x3566ce(0x1c4)]()){this[_0x3566ce(0x1d9)][_0x3566ce(0x1ff)]({'type':o['MessageType'][_0x3566ce(0x212)],'content':this[_0x3566ce(0x27e)]['t'](_0x3566ce(0x24f))});return;}let _0x4a8753=await A([t[_0x3566ce(0x310)][_0x3566ce(0x1fe)]]);if(_0x4a8753&&!this[_0x3566ce(0x2a7)](_0x4a8753,t[_0x3566ce(0x310)]['UNIVER_SHEET']))return this[_0x3566ce(0x26f)](_0x4a8753[0x0],t['UniverInstanceType'][_0x3566ce(0x1fe)]);}async[_0x2f5570(0x248)](){const _0x1d30db=_0x2f5570;if(this['_uploadTaskNotDone']()){this[_0x1d30db(0x1d9)][_0x1d30db(0x1ff)]({'type':o[_0x1d30db(0x280)][_0x1d30db(0x212)],'content':this[_0x1d30db(0x27e)]['t'](_0x1d30db(0x24f))});return;}let _0x27065a=await A([t['UniverInstanceType'][_0x1d30db(0x1fe)]]);if(!_0x27065a)return;this['_showUploadMessage'](o[_0x1d30db(0x280)][_0x1d30db(0x1c0)]);let _0x210013=await this['_exchangeService'][_0x1d30db(0x248)](_0x27065a[0x0]);_0x210013&&(this[_0x1d30db(0x24a)](t[_0x1d30db(0x310)][_0x1d30db(0x1fe)],_0x210013),this[_0x1d30db(0x25c)](o[_0x1d30db(0x280)][_0x1d30db(0x309)]));}async[_0x2f5570(0x306)](_0x1329ff,_0x452793){const _0x1cc96b=_0x2f5570;this[_0x1cc96b(0x32b)](o['MessageType']['Info']);let _0xc3c6bb=await this[_0x1cc96b(0x2ba)][_0x1cc96b(0x306)](_0x1329ff||this[_0x1cc96b(0x2ae)](t[_0x1cc96b(0x310)][_0x1cc96b(0x1fe)]));_0xc3c6bb&&(this['_exchangeService'][_0x1cc96b(0x1bd)](_0xc3c6bb,_0x452793||this['_getUnitNameByType'](_0xc3c6bb,t['UniverInstanceType'][_0x1cc96b(0x1fe)]),_0x1cc96b(0x1d1)),this[_0x1cc96b(0x32b)](o[_0x1cc96b(0x280)]['Success']));}async[_0x2f5570(0x1e6)](){const _0x2b7b19=_0x2f5570;this[_0x2b7b19(0x32b)](o['MessageType'][_0x2b7b19(0x1c0)]);let _0x1857cb=await this[_0x2b7b19(0x2d3)](t['UniverInstanceType']['UNIVER_SHEET']),_0x347ffd=await this['_exchangeService']['exportXLSXBySnapshot'](_0x1857cb);_0x347ffd&&(this['_exchangeService'][_0x2b7b19(0x1bd)](_0x347ffd,this[_0x2b7b19(0x21b)](_0x347ffd,t[_0x2b7b19(0x310)][_0x2b7b19(0x1fe)]),_0x2b7b19(0x1d1)),this[_0x2b7b19(0x32b)](o['MessageType'][_0x2b7b19(0x309)]));}async[_0x2f5570(0x1f3)](){const _0x543ca0=_0x2f5570;if(this[_0x543ca0(0x1c4)]()){this[_0x543ca0(0x1d9)]['show']({'type':o[_0x543ca0(0x280)]['Warning'],'content':this[_0x543ca0(0x27e)]['t'](_0x543ca0(0x24f))});return;}let _0x46adb7=await A([t[_0x543ca0(0x310)][_0x543ca0(0x27d)]]);if(_0x46adb7&&!this[_0x543ca0(0x2a7)](_0x46adb7,t['UniverInstanceType'][_0x543ca0(0x27d)]))return this['_importFileToUnitId'](_0x46adb7[0x0],t[_0x543ca0(0x310)][_0x543ca0(0x27d)]);}async[_0x2f5570(0x1fb)](){const _0x444c41=_0x2f5570;if(this[_0x444c41(0x1c4)]()){this[_0x444c41(0x1d9)]['show']({'type':o[_0x444c41(0x280)]['Warning'],'content':this[_0x444c41(0x27e)]['t'](_0x444c41(0x24f))});return;}let _0x3e79a9=await A([t['UniverInstanceType']['UNIVER_DOC']]);if(!_0x3e79a9||this[_0x444c41(0x2a7)](_0x3e79a9,t[_0x444c41(0x310)]['UNIVER_DOC']))return;this[_0x444c41(0x25c)](o[_0x444c41(0x280)][_0x444c41(0x1c0)]);let _0x56a866=await this[_0x444c41(0x2ba)]['importDOCXToSnapshot'](_0x3e79a9[0x0]);_0x56a866&&(this['_refreshUnit'](t[_0x444c41(0x310)]['UNIVER_DOC'],_0x56a866),this['_showUploadMessage'](o[_0x444c41(0x280)][_0x444c41(0x309)]));}async[_0x2f5570(0x27a)](_0x49a135,_0x50e9ad){const _0x13a7b7=_0x2f5570;this['_showDownloadMessage'](o[_0x13a7b7(0x280)][_0x13a7b7(0x1c0)]);let _0x1abf47=await this[_0x13a7b7(0x2ba)][_0x13a7b7(0x27a)](_0x49a135||this['_getUnitID'](t[_0x13a7b7(0x310)][_0x13a7b7(0x27d)]));_0x1abf47&&(this[_0x13a7b7(0x2ba)][_0x13a7b7(0x1bd)](_0x1abf47,_0x50e9ad||this[_0x13a7b7(0x21b)](_0x1abf47,t[_0x13a7b7(0x310)][_0x13a7b7(0x27d)]),_0x13a7b7(0x1f0)),this['_showDownloadMessage'](o['MessageType']['Success']));}async[_0x2f5570(0x29b)](_0x5e3f59){const _0x43563c=_0x2f5570;this[_0x43563c(0x32b)](o[_0x43563c(0x280)]['Info']);let _0x40536e=_0x5e3f59==null?await this[_0x43563c(0x2d3)](t['UniverInstanceType']['UNIVER_DOC']):_0x5e3f59,_0x51e18a=await this[_0x43563c(0x2ba)][_0x43563c(0x29b)](_0x40536e);_0x51e18a&&(this[_0x43563c(0x2ba)][_0x43563c(0x1bd)](_0x51e18a,this[_0x43563c(0x21b)](_0x51e18a,t[_0x43563c(0x310)][_0x43563c(0x27d)]),_0x43563c(0x1f0)),this['_showDownloadMessage'](o[_0x43563c(0x280)][_0x43563c(0x309)]));}async['importPPTXToUnitId'](){const _0x2c662c=_0x2f5570;if(this[_0x2c662c(0x1c4)]()){this[_0x2c662c(0x1d9)][_0x2c662c(0x1ff)]({'type':o[_0x2c662c(0x280)][_0x2c662c(0x212)],'content':this[_0x2c662c(0x27e)]['t'](_0x2c662c(0x24f))});return;}let _0x36b253=await A([t[_0x2c662c(0x310)][_0x2c662c(0x1c2)]]);if(_0x36b253&&!this['_fileTypeError'](_0x36b253,t['UniverInstanceType'][_0x2c662c(0x1c2)]))return this[_0x2c662c(0x26f)](_0x36b253[0x0],t[_0x2c662c(0x310)][_0x2c662c(0x1c2)]);}async[_0x2f5570(0x2d7)](){const _0x4d585b=_0x2f5570;if(this['_uploadTaskNotDone']()){this[_0x4d585b(0x1d9)][_0x4d585b(0x1ff)]({'type':o[_0x4d585b(0x280)][_0x4d585b(0x212)],'content':this[_0x4d585b(0x27e)]['t']('exchange-client.uploading')});return;}let _0x34efca=await A([t['UniverInstanceType'][_0x4d585b(0x250)]]);if(!(!_0x34efca||this[_0x4d585b(0x2a7)](_0x34efca,t[_0x4d585b(0x310)][_0x4d585b(0x250)])))return this['_importFileToUnitId'](_0x34efca[0x0],t[_0x4d585b(0x310)][_0x4d585b(0x250)]);}async['importPDFToSnapshot'](){const _0x45c9c8=_0x2f5570;if(this[_0x45c9c8(0x1c4)]()){this[_0x45c9c8(0x1d9)][_0x45c9c8(0x1ff)]({'type':o[_0x45c9c8(0x280)][_0x45c9c8(0x212)],'content':this[_0x45c9c8(0x27e)]['t'](_0x45c9c8(0x24f))});return;}let _0x4b1b60=await A([t[_0x45c9c8(0x310)][_0x45c9c8(0x250)]]);if(!_0x4b1b60||this['_fileTypeError'](_0x4b1b60,t[_0x45c9c8(0x310)][_0x45c9c8(0x250)]))return;this[_0x45c9c8(0x25c)](o[_0x45c9c8(0x280)][_0x45c9c8(0x1c0)]);let _0x61fe1d=await this['_exchangeService'][_0x45c9c8(0x316)](_0x4b1b60[0x0]);if(_0x61fe1d)return this[_0x45c9c8(0x25c)](o[_0x45c9c8(0x280)][_0x45c9c8(0x309)]),_0x61fe1d;}async[_0x2f5570(0x25a)](_0x249486,_0x52373b,_0x2f320d){const _0x17ff9f=_0x2f5570;this[_0x17ff9f(0x32b)](o[_0x17ff9f(0x280)]['Info']);let _0x409247=await this[_0x17ff9f(0x2ba)][_0x17ff9f(0x25a)](_0x249486||this['_getUnitID'](t['UniverInstanceType']['UNIVER_PDF']));_0x409247&&(this[_0x17ff9f(0x2ba)][_0x17ff9f(0x1bd)](_0x409247,_0x52373b||this[_0x17ff9f(0x21b)](_0x409247,_0x2f320d==null?t[_0x17ff9f(0x310)][_0x17ff9f(0x250)]:_0x2f320d),_0x17ff9f(0x2ad)),this['_showDownloadMessage'](o[_0x17ff9f(0x280)][_0x17ff9f(0x309)]));}async[_0x2f5570(0x223)](){const _0x10eaff=_0x2f5570;this[_0x10eaff(0x32b)](o[_0x10eaff(0x280)][_0x10eaff(0x1c0)]);let _0x272608=await this[_0x10eaff(0x2d3)](t[_0x10eaff(0x310)]['UNIVER_PDF']),_0x6551d=await this[_0x10eaff(0x2ba)]['exportPDFBySnapshot'](_0x272608);_0x6551d&&(this[_0x10eaff(0x2ba)][_0x10eaff(0x1bd)](_0x6551d,this[_0x10eaff(0x21b)](_0x6551d,t['UniverInstanceType'][_0x10eaff(0x250)]),_0x10eaff(0x2ad)),this[_0x10eaff(0x32b)](o['MessageType'][_0x10eaff(0x309)]));}async['importPPTXToSnapshot'](){const _0x43fc7e=_0x2f5570;if(this[_0x43fc7e(0x1c4)]()){this['_messageService'][_0x43fc7e(0x1ff)]({'type':o['MessageType'][_0x43fc7e(0x212)],'content':this[_0x43fc7e(0x27e)]['t'](_0x43fc7e(0x24f))});return;}let _0x5c3fd4=await A([t['UniverInstanceType'][_0x43fc7e(0x1c2)]]);if(!_0x5c3fd4)return;this[_0x43fc7e(0x25c)](o[_0x43fc7e(0x280)]['Info']);let _0x262c87=await this['_exchangeService']['importPPTXToSnapshot'](_0x5c3fd4[0x0]);_0x262c87&&(this['_refreshUnit'](t['UniverInstanceType']['UNIVER_SLIDE'],_0x262c87),this['_showUploadMessage'](o[_0x43fc7e(0x280)]['Success']));}async[_0x2f5570(0x23a)](_0x5757e3,_0x8d2feb){const _0x46a649=_0x2f5570;this[_0x46a649(0x32b)](o[_0x46a649(0x280)][_0x46a649(0x1c0)]);let _0x3677f8=await this[_0x46a649(0x2ba)][_0x46a649(0x23a)](_0x5757e3||this[_0x46a649(0x2ae)](t['UniverInstanceType']['UNIVER_SLIDE']));_0x3677f8&&(this[_0x46a649(0x2ba)]['downloadFile'](_0x3677f8,_0x8d2feb||this['_getUnitNameByType'](_0x3677f8,t[_0x46a649(0x310)]['UNIVER_SLIDE']),'pptx'),this[_0x46a649(0x32b)](o[_0x46a649(0x280)][_0x46a649(0x309)]));}async[_0x2f5570(0x32c)](){const _0x5dff30=_0x2f5570;this[_0x5dff30(0x32b)](o[_0x5dff30(0x280)][_0x5dff30(0x1c0)]);let _0x446d5e=await this[_0x5dff30(0x2d3)](t[_0x5dff30(0x310)][_0x5dff30(0x1c2)]),_0x370b76=await this['_exchangeService'][_0x5dff30(0x32c)](_0x446d5e);_0x370b76&&(this[_0x5dff30(0x2ba)][_0x5dff30(0x1bd)](_0x370b76,this[_0x5dff30(0x21b)](_0x370b76,t[_0x5dff30(0x310)]['UNIVER_SLIDE']),'pptx'),this['_showDownloadMessage'](o[_0x5dff30(0x280)][_0x5dff30(0x309)]));}async[_0x2f5570(0x1ac)](_0x5b0efb){throw Error('Method\x20not\x20implemented.');}async[_0x2f5570(0x1f1)](){const _0x27cf4b=_0x2f5570;let _0x472b84=this['_univerInstanceService'][_0x27cf4b(0x24b)]();switch(_0x472b84?this[_0x27cf4b(0x1b9)][_0x27cf4b(0x260)](_0x472b84['getUnitId']()):t[_0x27cf4b(0x310)][_0x27cf4b(0x2c5)]){case t[_0x27cf4b(0x310)][_0x27cf4b(0x250)]:return this[_0x27cf4b(0x2d7)]();case t[_0x27cf4b(0x310)][_0x27cf4b(0x1c2)]:return this['importPPTXToUnitId']();case t['UniverInstanceType'][_0x27cf4b(0x27d)]:return this[_0x27cf4b(0x1f3)]();case t[_0x27cf4b(0x310)][_0x27cf4b(0x1fe)]:default:return this['importXLSXToUnitId']();}}[_0x2f5570(0x252)](_0xea4858){const _0xb9cb42=_0x2f5570;this[_0xb9cb42(0x1ec)]=_0xea4858;}async[_0x2f5570(0x26f)](_0x19467b,_0xc366f6){const _0x1a556c=_0x2f5570;this[_0x1a556c(0x246)][_0x1a556c(0x1ff)](),this['_uploadNotificationService']['updateState'](0x0),this[_0x1a556c(0x2f8)](0x4),this[_0x1a556c(0x209)](0x1);let _0x1f0acb=await this[_0x1a556c(0x2ba)][_0x1a556c(0x22a)](_0x19467b,_0xc366f6);if(!_0x1f0acb){this[_0x1a556c(0x303)](),this[_0x1a556c(0x246)]['updateState'](0x2);return;}let _0x299eac={'link':this[_0x1a556c(0x1ec)](_0x1f0acb,_0xc366f6),'name':_0x19467b[_0x1a556c(0x277)],'type':_0xc366f6};return this[_0x1a556c(0x246)][_0x1a556c(0x258)](_0x299eac),this[_0x1a556c(0x31c)](),this[_0x1a556c(0x246)][_0x1a556c(0x314)](0x1),_0x1f0acb;}['_getUnitID'](_0x21f944){const _0x3dd253=_0x2f5570;let _0x21bfa8=this[_0x3dd253(0x1b9)]['getCurrentUnitOfType'](_0x21f944);if(!_0x21bfa8)throw Error(_0x3dd253(0x29a)+_0x21f944+_0x3dd253(0x1ae));return _0x21bfa8[_0x3dd253(0x25f)]();}[_0x2f5570(0x21b)](_0x538018,_0x5a2966){const _0x43d9b3=_0x2f5570;let _0x5ae470=this[_0x43d9b3(0x1b9)][_0x43d9b3(0x286)](_0x5a2966);if(_0x5ae470){let _0x2990d2='';switch(_0x5a2966){case t[_0x43d9b3(0x310)][_0x43d9b3(0x1fe)]:_0x2990d2=_0x5ae470[_0x43d9b3(0x313)]()[_0x43d9b3(0x277)];break;case t['UniverInstanceType'][_0x43d9b3(0x27d)]:_0x2990d2=_0x5ae470['getSnapshot']()[_0x43d9b3(0x1bb)];break;case t[_0x43d9b3(0x310)][_0x43d9b3(0x1c2)]:_0x2990d2=_0x5ae470[_0x43d9b3(0x313)]()[_0x43d9b3(0x277)];break;case t[_0x43d9b3(0x310)][_0x43d9b3(0x250)]:_0x2990d2=_0x5ae470[_0x43d9b3(0x313)]()[_0x43d9b3(0x277)];break;default:break;}if(typeof _0x2990d2==_0x43d9b3(0x225)&&_0x2990d2[_0x43d9b3(0x213)]())return _0x2990d2;}return _0x538018[_0x43d9b3(0x277)]['split']('.')['shift']()||document[_0x43d9b3(0x1bb)];}async[_0x2f5570(0x2d3)](_0x400239){const _0x11ac7e=_0x2f5570;let _0x3eba14=this['_univerInstanceService'][_0x11ac7e(0x286)](_0x400239);if(!_0x3eba14)throw Error(_0x11ac7e(0x29a)+_0x400239+_0x11ac7e(0x1ae));if(_0x400239===t[_0x11ac7e(0x310)][_0x11ac7e(0x1fe)]){let _0x2ea848=this[_0x11ac7e(0x323)][_0x11ac7e(0x2ff)](_0x3eba14['getUnitId']());return _0x2ea848==null?_0x3eba14[_0x11ac7e(0x313)]():_0x2ea848;}if(_0x400239===t[_0x11ac7e(0x310)][_0x11ac7e(0x27d)]){let _0x57130b=this[_0x11ac7e(0x323)][_0x11ac7e(0x2ff)](_0x3eba14[_0x11ac7e(0x25f)]());return _0x57130b==null?_0x3eba14[_0x11ac7e(0x313)]():_0x57130b;}if(_0x400239===t[_0x11ac7e(0x310)]['UNIVER_SLIDE']){let _0x2a9e61=this['_resourceLoaderService'][_0x11ac7e(0x2ff)](_0x3eba14[_0x11ac7e(0x25f)]());return _0x2a9e61==null?_0x3eba14['getSnapshot']():_0x2a9e61;}return _0x400239===t[_0x11ac7e(0x310)][_0x11ac7e(0x250)]?_0x3eba14[_0x11ac7e(0x313)]():null;}['_refreshUnit'](...[_0x212e19,_0x384121]){const _0x40b7f3=_0x2f5570;let _0x590b3f=this[_0x40b7f3(0x1b9)][_0x40b7f3(0x286)](_0x212e19);if(!_0x590b3f)throw Error(_0x40b7f3(0x29a)+_0x212e19+_0x40b7f3(0x1ae));switch(this['_univerInstanceService'][_0x40b7f3(0x2b2)](_0x590b3f[_0x40b7f3(0x25f)]()),_0x212e19){case t[_0x40b7f3(0x310)][_0x40b7f3(0x1fe)]:this[_0x40b7f3(0x1b9)][_0x40b7f3(0x215)](_0x212e19,_0x384121);break;case t[_0x40b7f3(0x310)]['UNIVER_DOC']:this[_0x40b7f3(0x1b9)][_0x40b7f3(0x215)](_0x212e19,_0x384121);break;case t['UniverInstanceType'][_0x40b7f3(0x1c2)]:this[_0x40b7f3(0x1b9)][_0x40b7f3(0x215)](_0x212e19,_0x384121);break;}}['_getLinkByUnitId'](_0x3c1ddc,_0x45960d){const _0x3e2c04=_0x2f5570;let _0xca33=new URL(window['location'][_0x3e2c04(0x335)]);return _0xca33[_0x3e2c04(0x332)]['set']('unit',_0x3c1ddc),_0xca33[_0x3e2c04(0x332)][_0x3e2c04(0x2c3)]('type',''+_0x45960d),_0xca33[_0x3e2c04(0x29f)]();}['_showNetworkError'](_0x57d452){const _0x256931=_0x2f5570;if(_0x57d452){let {code:_0x4b16f6}=_0x57d452;switch(_0x4b16f6){case c[_0x256931(0x1e8)][_0x256931(0x1b1)]:this['_messageService']['show']({'type':o[_0x256931(0x280)][_0x256931(0x2c4)],'content':this['_localeService']['t'](_0x256931(0x289))});break;case c[_0x256931(0x1e8)][_0x256931(0x29d)]:this[_0x256931(0x1d9)][_0x256931(0x1ff)]({'type':o[_0x256931(0x280)]['Error'],'content':this[_0x256931(0x27e)]['t'](_0x256931(0x317))});break;default:this[_0x256931(0x1d9)][_0x256931(0x1ff)]({'type':o[_0x256931(0x280)][_0x256931(0x2c4)],'content':this[_0x256931(0x27e)]['t'](_0x256931(0x2b9))});break;}return null;}return this['_messageService'][_0x256931(0x1ff)]({'type':o[_0x256931(0x280)][_0x256931(0x2c4)],'content':this[_0x256931(0x27e)]['t']('exchange-client.networkError')}),null;}[_0x2f5570(0x32b)](_0x2799f1){const _0x4bb1d4=_0x2f5570;let _0x922bfa='';switch(_0x2799f1){case o['MessageType'][_0x4bb1d4(0x309)]:_0x922bfa=this['_localeService']['t']('exchange-client.downloadSuccess');break;case o[_0x4bb1d4(0x280)]['Info']:_0x922bfa=this[_0x4bb1d4(0x27e)]['t'](_0x4bb1d4(0x1c7));break;default:break;}this[_0x4bb1d4(0x1d9)]['show']({'type':_0x2799f1,'content':_0x922bfa});}[_0x2f5570(0x25c)](_0x49515f){const _0x3549e5=_0x2f5570;let _0x26008e='';switch(_0x49515f){case o[_0x3549e5(0x280)]['Success']:_0x26008e=this['_localeService']['t'](_0x3549e5(0x25b));break;case o[_0x3549e5(0x280)][_0x3549e5(0x1c0)]:_0x26008e=this[_0x3549e5(0x27e)]['t'](_0x3549e5(0x24f));break;default:break;}this[_0x3549e5(0x1d9)][_0x3549e5(0x1ff)]({'type':_0x49515f,'content':_0x26008e});}[_0x2f5570(0x216)](){const _0x34628f=_0x2f5570;this[_0x34628f(0x27f)][_0x34628f(0x1f8)]({'done':this[_0x34628f(0x1ee)],'count':this[_0x34628f(0x291)]});}[_0x2f5570(0x2f8)](_0x20a69c){const _0x55f039=_0x2f5570;this[_0x55f039(0x291)]+=_0x20a69c,this['_emitProgress']();}[_0x2f5570(0x209)](_0x14d1b8){const _0x3716ad=_0x2f5570;this[_0x3716ad(0x1ee)]+=_0x14d1b8,this['_doneUploadTaskCount']=Math['min'](this[_0x3716ad(0x1ee)],this[_0x3716ad(0x291)]),this[_0x3716ad(0x216)]();}[_0x2f5570(0x31c)](){const _0x166514=_0x2f5570;this[_0x166514(0x1ee)]=this[_0x166514(0x291)],this[_0x166514(0x216)]();}['_clearProgress'](){const _0x297f11=_0x2f5570;this[_0x297f11(0x1ee)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x297f11(0x216)]();}[_0x2f5570(0x2a7)](_0x571b8a,_0x23c20a){const _0x2e2749=_0x2f5570;let _0x1de508=_0x571b8a[0x0],_0x153007=_0x1de508['name'];return ie(_0x1de508)===_0x23c20a?!0x1:(this[_0x2e2749(0x1d9)][_0x2e2749(0x1ff)]({'type':o[_0x2e2749(0x280)]['Error'],'content':this['_localeService']['t']('exchange-client.fileTypeError',_0x153007)}),!0x0);}['_uploadTaskNotDone'](){const _0x446eb1=_0x2f5570;return this[_0x446eb1(0x291)]!==0x0&&this[_0x446eb1(0x1ee)]!==this['_totalUploadTaskCount'];}};J=g([h(0x0,(0x0,t[_0x2f5570(0x1df)])(t[_0x2f5570(0x2dd)])),h(0x1,r['IMessageService']),h(0x2,(0x0,t[_0x2f5570(0x1df)])(t[_0x2f5570(0x2bc)])),h(0x3,(0x0,t[_0x2f5570(0x1df)])(G)),h(0x4,(0x0,t['Inject'])(x)),h(0x5,t[_0x2f5570(0x1f4)]),h(0x6,(0x0,t[_0x2f5570(0x1df)])(t[_0x2f5570(0x30e)]))],J);function Y(_0x221ca0){const _0x2491a2=_0x2f5570;let {onClick:_0x28c6da,children:_0x42bb41,className:_0x68432b}=_0x221ca0;return(0x0,s[_0x2491a2(0x2df)])(_0x2491a2(0x1b2),{'className':(0x0,o[_0x2491a2(0x2dc)])(_0x2491a2(0x1aa),_0x68432b),'type':_0x2491a2(0x1b2),'onClick':_0x28c6da,'children':_0x42bb41});}function X(){const _0x19a66c=_0x2f5570;let _0x4fe0f4=(0x0,r[_0x19a66c(0x26a)])(q),_0x26f8e4=(0x0,r[_0x19a66c(0x26a)])(t[_0x19a66c(0x2bc)]);function _0x5f37ac(){_0x4fe0f4['importFileToUnitIdByCurrentType']();}return(0x0,s[_0x19a66c(0x2df)])(Y,{'onClick':_0x5f37ac,'children':_0x26f8e4['t'](_0x19a66c(0x2bb))});}function me(){const _0x40f185=_0x2f5570;return(0x0,s[_0x40f185(0x2e8)])(_0x40f185(0x1f2),{'className':_0x40f185(0x2a9),'children':[(0x0,s[_0x40f185(0x2df)])(_0x40f185(0x312),{'className':_0x40f185(0x331),'children':(0x0,r[_0x40f185(0x26a)])(t[_0x40f185(0x2bc)])['t'](_0x40f185(0x326))}),(0x0,s[_0x40f185(0x2df)])(X,{})]});}function he(_0x33791d){const _0x56002b=_0x2f5570;let {count:_0x20012b}=_0x33791d;return(0x0,s[_0x56002b(0x2e8)])(_0x56002b(0x1f2),{'className':_0x56002b(0x31f),'children':[(0x0,s[_0x56002b(0x2df)])(_0x56002b(0x312),{'className':_0x56002b(0x1ef),'children':(0x0,r[_0x56002b(0x26a)])(t[_0x56002b(0x2bc)])['t']('exchange-client.uploadSuccessTip',''+_0x20012b)}),(0x0,s[_0x56002b(0x2df)])(X,{})]});}function ge(){const _0x1cfdd7=_0x2f5570;let _0x309eba=(0x0,r['useDependency'])(q),_0x49d6af=(0x0,r[_0x1cfdd7(0x26a)])(t[_0x1cfdd7(0x2bc)]);function _0x139c6a(){const _0x52e042=_0x1cfdd7;_0x309eba[_0x52e042(0x229)]();}return(0x0,s['jsx'])(Y,{'onClick':_0x139c6a,'children':_0x49d6af['t'](_0x1cfdd7(0x2bd))});}function _e(){const _0x5cadcb=_0x2f5570;let {count:_0x3c35aa,done:_0xf0696e}=(0x0,r[_0x5cadcb(0x2f2)])((0x0,r['useDependency'])(q)[_0x5cadcb(0x269)]),_0xda7f73=_0x3c35aa>0x0?_0xf0696e/_0x3c35aa:0x0;return(0x0,s[_0x5cadcb(0x2df)])('div',{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,s[_0x5cadcb(0x2df)])(_0x5cadcb(0x1f2),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math['floor'](_0xda7f73*0x64)+'%'}})});}function ve(){const _0x4ae6f1=_0x2f5570;return(0x0,s[_0x4ae6f1(0x2e8)])(_0x4ae6f1(0x1f2),{'className':_0x4ae6f1(0x2a9),'children':[(0x0,s[_0x4ae6f1(0x2df)])('span',{'className':_0x4ae6f1(0x2b3),'children':(0x0,r['useDependency'])(t[_0x4ae6f1(0x2bc)])['t']('exchange-client.wait')}),(0x0,s[_0x4ae6f1(0x2df)])(_0x4ae6f1(0x1f2),{'className':_0x4ae6f1(0x1e4),'children':(0x0,s['jsx'])(_e,{})}),(0x0,s[_0x4ae6f1(0x2df)])(ge,{})]});}const Z={0x1:(0x0,s[_0x2f5570(0x2df)])(i[_0x2f5570(0x24c)],{'className':_0x2f5570(0x266)}),0x0:(0x0,s['jsx'])(i[_0x2f5570(0x2d9)],{'className':'univer-text-blue-500'}),0x2:(0x0,s['jsx'])(i[_0x2f5570(0x2f3)],{'className':_0x2f5570(0x2f5)})};function ye(){const _0x335985=_0x2f5570;let _0x2dd59d=(0x0,r[_0x335985(0x26a)])(x),_0x409469=(0x0,r[_0x335985(0x26a)])(t['LocaleService']),_0x3a1093=(0x0,r[_0x335985(0x2f2)])(_0x2dd59d[_0x335985(0x257)],0x0),_0x3257b0=(0x0,r['useObservable'])(_0x2dd59d[_0x335985(0x21f)],!0x1),_0x50708a=(0x0,r['useObservable'])(_0x2dd59d[_0x335985(0x20c)],[]);function _0x38f9a4(){const _0x325894=_0x335985;_0x2dd59d[_0x325894(0x2cd)]();}function _0x552ec1(_0x1307d6){const _0x565e42=_0x335985;switch(_0x1307d6){case 0x1:return _0x409469['t'](_0x565e42(0x25b));case 0x0:return _0x409469['t'](_0x565e42(0x24f));case 0x2:return _0x409469['t'](_0x565e42(0x2fb));default:return'';}}return _0x3257b0&&(0x0,s['jsxs'])('div',{'className':_0x335985(0x298),'children':[(0x0,s[_0x335985(0x2e8)])(_0x335985(0x1f2),{'className':_0x335985(0x2e1),'children':[(0x0,s[_0x335985(0x2e8)])(_0x335985(0x312),{'className':_0x335985(0x200),'children':[(0x0,s[_0x335985(0x2df)])(_0x335985(0x312),{'className':_0x335985(0x30b),'children':Z[_0x3a1093]}),(0x0,s[_0x335985(0x2df)])(_0x335985(0x312),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x552ec1(_0x3a1093)})]}),(0x0,s['jsx'])('span',{'className':_0x335985(0x2c1),'onClick':_0x38f9a4,'children':(0x0,s[_0x335985(0x2df)])(i['CloseIcon'],{})})]}),(0x0,s[_0x335985(0x2e8)])(_0x335985(0x1f2),{'children':[_0x3a1093===0x0&&(0x0,s[_0x335985(0x2df)])(ve,{}),_0x3a1093===0x2&&(0x0,s[_0x335985(0x2df)])(me,{}),_0x50708a[_0x335985(0x275)]>0x0&&(0x0,s['jsx'])(ne,{'list':_0x50708a}),_0x3a1093===0x1&&(0x0,s[_0x335985(0x2df)])(he,{'count':_0x50708a[_0x335985(0x275)]})]})]});}function be(){return(0x0,s['jsx'])(ye,{});}let Q=class extends t[_0x2f5570(0x222)]{constructor(_0x1e5b4a,_0x348c88){const _0x153797=_0x2f5570;super(),this['_injector']=_0x1e5b4a,this[_0x153797(0x30c)]=_0x348c88,this['_registerUIParts']();}[_0x2f5570(0x20a)](){const _0x4c59f0=_0x2f5570;this[_0x4c59f0(0x2b5)](this[_0x4c59f0(0x30c)][_0x4c59f0(0x2b1)](r[_0x4c59f0(0x242)][_0x4c59f0(0x2c9)],()=>(0x0,r['connectInjector'])(be,this[_0x4c59f0(0x219)])));}};Q=g([h(0x0,(0x0,t['Inject'])(t['Injector'])),h(0x1,r[_0x2f5570(0x1c6)])],Q);let $=class extends t[_0x2f5570(0x1f5)]{constructor(_0x239871=m,_0x2cf416,_0x44e16e){const _0x56283a=_0x2f5570;super(),this[_0x56283a(0x2d5)]=_0x239871,this[_0x56283a(0x219)]=_0x2cf416,this[_0x56283a(0x283)]=_0x44e16e;let {..._0x2d50a1}=(0x0,t['merge'])({},m,this[_0x56283a(0x2d5)]);this[_0x56283a(0x283)][_0x56283a(0x205)](p,_0x2d50a1);}['onStarting'](){const _0x2b32d7=_0x2f5570;(0x0,t['registerDependencies'])(this[_0x2b32d7(0x219)],[[_],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[N,{'useClass':P}],[x,{'useClass':te}]]);}[_0x2f5570(0x2f1)](){const _0x132499=_0x2f5570;(0x0,t[_0x132499(0x1cd)])(this[_0x132499(0x219)],[[_],[Q],[q]]);}};b($,'pluginName',_0x2f5570(0x276)),b($,_0x2f5570(0x281),d),b($,'version',f),$=g([(0x0,t[_0x2f5570(0x319)])(e[_0x2f5570(0x202)],n[_0x2f5570(0x268)],r[_0x2f5570(0x2a6)]),h(0x1,(0x0,t[_0x2f5570(0x1df)])(t[_0x2f5570(0x28d)])),h(0x2,t[_0x2f5570(0x2fd)])],$);function xe(_0x5f0e6a,_0x4411eb){const _0x2f2299=_0x2f5570;let _0xf9b83f=_0x5f0e6a['get'](t['IUniverInstanceService'])[_0x2f2299(0x286)](_0x4411eb);return!_0xf9b83f||!_0x5f0e6a[_0x2f2299(0x2b0)](l[_0x2f2299(0x21a)])?!0x1:_0x5f0e6a['get'](l['SnapshotService'])['isUnitLoadedFromServer'](_0xf9b83f);}exports[_0x2f5570(0x299)]=q,exports[_0x2f5570(0x2cc)]=G,Object['defineProperty'](exports,_0x2f5570(0x31d),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x2f5570(0x296)]=xe;
|
|
1
|
+
const _0x54a253=_0x3c53;(function(_0x51d0df,_0x5b55b8){const _0x2f8c6d=_0x3c53,_0x3b0d69=_0x51d0df();while(!![]){try{const _0xa62bf3=parseInt(_0x2f8c6d(0x32d))/0x1*(parseInt(_0x2f8c6d(0x34d))/0x2)+parseInt(_0x2f8c6d(0x2f2))/0x3*(-parseInt(_0x2f8c6d(0x27a))/0x4)+-parseInt(_0x2f8c6d(0x216))/0x5+-parseInt(_0x2f8c6d(0x20d))/0x6*(-parseInt(_0x2f8c6d(0x1e0))/0x7)+parseInt(_0x2f8c6d(0x215))/0x8*(-parseInt(_0x2f8c6d(0x240))/0x9)+-parseInt(_0x2f8c6d(0x260))/0xa*(parseInt(_0x2f8c6d(0x34e))/0xb)+parseInt(_0x2f8c6d(0x201))/0xc;if(_0xa62bf3===_0x5b55b8)break;else _0x3b0d69['push'](_0x3b0d69['shift']());}catch(_0x2426d3){_0x3b0d69['push'](_0x3b0d69['shift']());}}}(_0x97fe,0x8889d),Object['defineProperty'](exports,Symbol[_0x54a253(0x242)],{'value':_0x54a253(0x23c)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('@univerjs/design'),o=require('react'),s=require('@univerjs/protocol'),c=require('react/jsx-runtime'),l=require('rxjs'),u=require('@univerjs-pro/collaboration'),d=require('fflate');var f=_0x54a253(0x1f7),p='1.0.0-beta.1';const m=_0x54a253(0x30d),h={},g=_0x54a253(0x279),_=_0x54a253(0x306),v=_0x54a253(0x275),y=_0x54a253(0x292),b=_0x54a253(0x247),x=_0x54a253(0x1c4),S=_0x54a253(0x203),C=_0x54a253(0x35f),w=_0x54a253(0x364),T={[t[_0x54a253(0x251)][_0x54a253(0x21f)]]:[''],[t[_0x54a253(0x251)][_0x54a253(0x2df)]]:[_,g],[t[_0x54a253(0x251)]['UNIVER_SHEET']]:[v,y,b,x],[t[_0x54a253(0x251)][_0x54a253(0x20a)]]:[S,C],[t['UniverInstanceType']['UNIVER_PDF']]:[w],[t[_0x54a253(0x251)][_0x54a253(0x207)]]:[v,y,b,x],[t[_0x54a253(0x251)]['UNIVER_BOARD']]:[''],[t[_0x54a253(0x251)]['UNIVER_PROJECT']]:[''],[t[_0x54a253(0x251)][_0x54a253(0x344)]]:['']},E={[_]:_0x54a253(0x298),[g]:_0x54a253(0x365),[v]:'xls',[y]:'xlsx',[b]:_0x54a253(0x328),[x]:_0x54a253(0x2a3),[S]:_0x54a253(0x1c7),[C]:_0x54a253(0x351),[w]:'pdf'},D=Object[_0x54a253(0x1e9)](Object[_0x54a253(0x2ec)](T)['map'](([_0x255509,_0x447766])=>[_0x255509,_0x447766[_0x54a253(0x29a)](_0x417ce1=>E[_0x417ce1])[_0x54a253(0x21d)](Boolean)]));function ee(_0x39cbb4,_0x1924e6,_0x34d3cb){const _0x1653bb=_0x54a253;let _0x262d97=document[_0x1653bb(0x360)]('a');_0x262d97[_0x1653bb(0x314)]=_0x39cbb4,_0x262d97['style']['display']=_0x1653bb(0x2f8),_0x262d97[_0x1653bb(0x337)]=_0x1924e6+'.'+_0x34d3cb,document[_0x1653bb(0x1dc)][_0x1653bb(0x22f)](_0x262d97),_0x262d97[_0x1653bb(0x280)](),document[_0x1653bb(0x1dc)][_0x1653bb(0x2d0)](_0x262d97);}function te(_0x5025e2,_0x33938f){const _0x5e6f5c=_0x54a253;var _0x523acc;let _0x57e93c=(_0x523acc=_0x5025e2[_0x5e6f5c(0x358)][_0x5e6f5c(0x301)]('.')[_0x5e6f5c(0x1da)]())==null?void 0x0:_0x523acc[_0x5e6f5c(0x2f0)]();return!!(_0x57e93c&&(D[_0x33938f]??[])[_0x5e6f5c(0x2f1)](_0x57e93c));}function O(_0x26a685,_0x3564a2=!0x1){const _0x580633=_0x54a253;let _0xd5ea1c=_0x26a685[_0x580633(0x205)](_0x40e6c6=>D[_0x40e6c6]??[])[_0x580633(0x29a)](_0xc3117d=>'.'+_0xc3117d)['join'](',');return new Promise(_0x3234f3=>{const _0x30ba56=_0x580633;let _0x4329f6=document[_0x30ba56(0x360)](_0x30ba56(0x288));_0x4329f6[_0x30ba56(0x214)]=_0x30ba56(0x32c),_0x4329f6[_0x30ba56(0x224)]=_0xd5ea1c,_0x4329f6[_0x30ba56(0x1d5)]=_0x3564a2;let _0x2c540b=()=>{const _0x1bb152=_0x30ba56;var _0x3434c6;return _0x3234f3((_0x3434c6=_0x4329f6[_0x1bb152(0x22d)])!=null&&_0x3434c6[_0x1bb152(0x1ec)]?_0x4329f6[_0x1bb152(0x22d)]:null);};_0x4329f6['addEventListener']('change',_0x2c540b,{'once':!0x0}),_0x4329f6[_0x30ba56(0x1ee)](_0x30ba56(0x2fc),_0x2c540b,{'once':!0x0}),_0x4329f6[_0x30ba56(0x280)]();});}function _0x97fe(){const _0x4089b9=['IMessageService','_addTotalCount','CONVERT_THEN_VALUES','toPrimitive','LocaleService','Inject','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-gray-0\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','interrupt','_getImportURL','getUnitOnRev','values','ExportIcon','importFileToSnapshot','Error','UNIVER_DOC','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','register','headers','sheets','isArray','exchange-client.unknownMistake','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','current','HttpImport','_upload','_getSignURL','post','entries','CSV','error','Failed\x20to\x20get\x20file\x20from\x20url','toLowerCase','includes','369mPxzaQ','getTask','match','_messageService','UNIVER_EXCHANGE_CLIENT_PLUGIN','UNIVER_SHEET','none','{fileID}','GET','stringify','cancel','url','_configService','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_isSelectingUnitImportFile','split','/universer-api/exchange/task/{taskID}','_requestService','Subject','subscribe','application/msword','jsx','version','fetchMissingChangesets','file.','encode','/universer-api/exchange/{type}/import','exchange-client.config','get','decorate','JSON','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','getOwnPropertyDescriptor','disposeUnit','href','pathname','show','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','next','_getUploadFileURL','trim','clear','FileId','dispose','FAIL','setTaskInterrupted','parse','_exportBySnapshot','Plugin','IUniverInstanceService','_logService','text','object','importFileToUnitId','csv','Button','UniverNetworkPlugin','ExchangeBaseImportMode','file','1dWNKnS','list$','univer-text-primary-600','string','File\x20request\x20completed\x20without\x20a\x20response.','_registerUIParts','stream','_progress$','status','registerDependencies','download','_clearProgress','CONNECTOR_DATA_TOO_LARGE','defineProperty','exchange-client.internalError','ComponentManager','Failed\x20to\x20get\x20unitID\x20from\x20task','constructor','_showDownloadMessage','SnapshotService','getTaskServerUrl','UniverLicensePlugin','_getLinkByUnitId','UNRECOGNIZED','catch','forEach','No\x20unit\x20of\x20type\x20','useObservable','/universer-api/file/{fileID}/sign-url','_addDoneTask','exportFileByUnitId','_completeProgress','952238IQYdcC','66KVgDkr','_injector','success','pptx','set','{taskID}','CONTENT','exchange-client.downloading','isCurrentUnitLoadedFromServer','getSheetBlock','name','importer','jsonID','getFileById','BehaviorSubject','link','ErrorIcon','application/vnd.openxmlformats-officedocument.presentationml.presentation','createElement','{type}','getConfig','_univerInstanceService','application/pdf','docx','UniverExchangeClientPlugin','originalMeta','exchange-client.interrupt','Failed\x20to\x20get\x20text\x20from\x20url','_getExportURL','noreferrer','text/tab-separated-values','convert-then-values','File\x20request\x20aborted.','ppt','getLatestCsReqIdBySid','_sheetBlockCache','abort','exchange-client.cancel','ExchangeFormat','DocsMultiIcon','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','import\x20error','function','upload\x20request\x20failed','signUrl','createIdentifier','Tooltip','multiple','TEXT','tables','_httpService','ShareRangeIcon','pop','done','body','univer-mt-5\x20univer-flex\x20univer-flex-col','_importTaskId','fileID','95137AXoKQS','_importFileToUnitId','span','_list','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','ISnapshotServerService','jsxs','exchange-client.confirm','CloseIcon','fromEntries','\x20is\x20currently\x20active.','UNIT','length','state$','addEventListener','ILogService','exchange-client.fileTypeError','_taskInterrupted','resolveWithBasePath','b64EncodeUnicode','button','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','@univerjs-pro/exchange-client','UNDEFINED','EXPORT_FORMAT_DIALOG','blockID','univer-flex\x20univer-items-center','_componentManager','pdf','export','origin','export\x20error','22103664pRpFPv','_state$','application/vnd.ms-powerpoint','IExchangeService','flatMap','univer-text-blue-500','UNIVER_BASE','_importToJson','\x20-\x20','UNIVER_SLIDE','_showUploadMessage','statusText','396YdVnFI','exchange-client.tooLarge','disposeWithMe','IconManager','div','TABLES','_emitProgress','type','8rBSiPP','2987900pgbnOb','univer-flex\x20univer-h-5\x20univer-text-xl','BuiltInUIPart','useDependency','univer-pro.exchange-client.exchange.service','_fileTypeError','PDF','filter','upload','UNIVER_UNKNOWN','univer-flex\x20univer-items-center\x20univer-gap-3','Disposable','block\x20is\x20required','buffer','accept','AUTO','DependentOn','uploadFileServerUrl','?size=','updateSnapshot','SHEETS','asObservable','unshift','files','complete','appendChild','useRef','TSV','sign\x20url\x20error','Select','importFileToJson','size','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','INTERNAL_ERROR','_refreshUnit','_doneUploadTaskCount','unsubscribe','Injector','Module','getTextFromUrl','has','SlidesMultiIcon','8240814OgVWXD','taskID','toStringTag','IUIPartsService','univer-pro.exchange-client.upload-notification.service','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','HTTPService','text/csv','_uploadTaskNotDone','exchange-client.uploadSuccess','HYBRID','_iconManager','code','exchange-client.uploading','Success','Warning','useState','UniverInstanceType',':\x20HTTP\x20','exchange-client.downloadSuccess','_showNetworkError','DOCX','data','pushLink','MessageType','deflateSync','univer-pl-2\x20univer-pr-4','fail','interruptImportTask','ImportOutputType','unit','_getDownloadEndpointURL','1261060dxKSrD','add','_uploadNotificationService','_requestState$','file.json','HTTPEventType','signUrlServerUrl','maxTimeoutTime','saveSnapshot','Response','importFileAsSnapshot','auto','/universer-api/stream/file/upload','SheetsMultiIcon','ExchangeBaseExportMode','symbol','_extractErrorDetail','default','packageName','_getTaskURL','message','application/vnd.ms-excel','floor','outputType','univer-flex\x20univer-justify-end\x20univer-gap-2','application/vnd.openxmlformats-officedocument.wordprocessingml.document','12552BDiLaX','resolve','_exchangeService','clsx','IConfigService','decode','click','exportFileBySnapshot','exchange-client.uploadSuccessTip','_visible$','searchParams','IExchangeOperateService','_uiPartsService','getDeserializedSheetBlock','input','retryImportFileToUnitId','application/json','getCurrentUnitOfType','getUnitId','_localeService','Get\x20outputType\x20error','_import','_list$','RANGES','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','blob','join','ClockIcon','hide','onStarting','doc','/universer-api/exchange/{type}/export','map','unitID','removeEventListener','toDisposable','upload\x20failed:\x20FileId\x20is\x20empty','Info','append','title','exportServerUrl','tsv','_config','ExchangeBaseFormulaPolicy','_lastUnitImportContext','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','toString','_signUrl','aborted','_blank','content-disposition','updateState','textDecoder','createUnit','_getMaxPollingTime','VALUES','ErrorCode','XLSX','scrollbarClassName','createObjectURL','replace','univer-w-48','shift','focusUnit','import','downloadEndpointUrl','progress$','hybrid','_export','_totalUploadTaskCount','transformWorkbookSnapshotMetaToString','setConfig','_buildHttpErrorMessage','LoadingMultiIcon','xlsx','toUpperCase','FolderIcon','HTTPResponseError','touchDependencies','Radio','exportFile','registerComponent','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','clearTaskInterrupted','univer-text-sm\x20univer-text-gray-500','removeChild'];_0x97fe=function(){return _0x4089b9;};return _0x97fe();}async function k(_0x53bdfc,_0xd48b67){try{return await A(_0x53bdfc,_0xd48b67);}catch(_0x3af192){console['error']('Error\x20fetching\x20file\x20from\x20URL:',_0x3af192);return;}}async function A(_0xa37b6e,_0x48cbfb,_0x52d02b){const _0x3a1ef4=_0x54a253;var _0xa5b9af,_0x1b6437;let _0x7c6040=_0x52d02b?await ne(_0xa37b6e,_0x48cbfb,_0x52d02b):await _0x48cbfb[_0x3a1ef4(0x30e)](_0xa37b6e,{'responseType':_0x3a1ef4(0x293)}),_0x21be27=_0x7c6040[_0x3a1ef4(0x1dc)],_0x147053=((_0xa5b9af=_0x7c6040[_0x3a1ef4(0x2e2)][_0x3a1ef4(0x30e)]('Content-Type'))==null?void 0x0:_0xa5b9af[_0x3a1ef4(0x294)](',\x20'))??'application/octet-stream',_0x39fd04=_0x3a1ef4(0x30a)+(E[_0x147053]||_0x3a1ef4(0x2c5)),_0x1e2e23=(_0x1b6437=_0x7c6040[_0x3a1ef4(0x2e2)]['get'](_0x3a1ef4(0x2ad)))==null?void 0x0:_0x1b6437['join'](',\x20');if(_0x1e2e23){let _0x23a553=_0x1e2e23[_0x3a1ef4(0x2f4)](/filename=(.+)/);_0x23a553&&_0x23a553[0x1]&&(_0x39fd04=_0x23a553[0x1]);}else _0x39fd04=re(_0xa37b6e)||_0x39fd04;return new File([_0x21be27],_0x39fd04,{'type':_0x147053});}function ne(_0x2ee1b8,_0x59e8fa,_0x3aeb05){return new Promise((_0xc8b4c3,_0xb98e29)=>{const _0x2b6d15=_0x3c53;let _0x1017bf=!0x1,_0x327958,_0x598b03=()=>_0x3aeb05[_0x2b6d15(0x29c)]('abort',_0x28eada),_0x28eada=()=>{const _0x2929d5=_0x2b6d15;if(_0x1017bf)return;_0x1017bf=!0x0,_0x327958==null||_0x327958[_0x2929d5(0x23a)](),_0x598b03();let _0x38a217=Error(_0x2929d5(0x1c6));_0x38a217[_0x2929d5(0x358)]='AbortError',_0xb98e29(_0x38a217);};if(_0x3aeb05[_0x2b6d15(0x1ee)](_0x2b6d15(0x1ca),_0x28eada,{'once':!0x0}),_0x3aeb05[_0x2b6d15(0x2ab)]){_0x28eada();return;}_0x327958=_0x59e8fa[_0x2b6d15(0x333)](_0x2b6d15(0x2fa),_0x2ee1b8,{'responseType':_0x2b6d15(0x293)})[_0x2b6d15(0x305)]({'next'(_0x37f030){const _0x2de88d=_0x2b6d15;_0x1017bf||_0x37f030[_0x2de88d(0x214)]!==n[_0x2de88d(0x265)][_0x2de88d(0x269)]||(_0x1017bf=!0x0,_0x598b03(),_0x327958==null||_0x327958[_0x2de88d(0x23a)](),_0xc8b4c3(_0x37f030));},'error'(_0x50ef58){_0x1017bf||(_0x1017bf=!0x0,_0x598b03(),_0xb98e29(_0x50ef58));},'complete'(){const _0x5d3812=_0x2b6d15;_0x1017bf||(_0x1017bf=!0x0,_0x598b03(),_0xb98e29(Error(_0x5d3812(0x331))));}}),_0x1017bf&&_0x327958['unsubscribe']();});}function re(_0x11cdf5){const _0x272225=_0x54a253;try{return new URL(_0x11cdf5)[_0x272225(0x315)][_0x272225(0x301)]('/')[_0x272225(0x1da)]();}catch(_0x527bb){console[_0x272225(0x2ee)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x527bb);return;}}function ie(_0x3be779){const _0x2c2554=_0x54a253;let _0x1ff09a=new Blob([_0x3be779[_0x2c2554(0x223)]],{'type':_0x2c2554(0x28a)});return new File([_0x1ff09a],_0x2c2554(0x264));}function j(_0x3d812d,_0x46bc3f){const _0x426e7e=_0x54a253;return _0x3d812d[_0x426e7e(0x2b7)](_0x426e7e(0x361),_0x46bc3f);}function M(_0x3b974d,_0x11a9e8){const _0x57be42=_0x54a253;return _0x3b974d[_0x57be42(0x2b7)](_0x57be42(0x353),_0x11a9e8);}function N(_0x4f2de7,_0x7915b8){const _0x5384d8=_0x54a253;return _0x4f2de7[_0x5384d8(0x2b7)](_0x5384d8(0x2f9),_0x7915b8);}function P(_0x37f02e){'@babel/helpers - typeof';const _0x15f7c8=_0x54a253;return P=typeof Symbol==_0x15f7c8(0x1d0)&&typeof Symbol['iterator']==_0x15f7c8(0x26f)?function(_0x18b084){return typeof _0x18b084;}:function(_0x47171d){const _0x4b406f=_0x15f7c8;return _0x47171d&&typeof Symbol==_0x4b406f(0x1d0)&&_0x47171d[_0x4b406f(0x33e)]===Symbol&&_0x47171d!==Symbol['prototype']?_0x4b406f(0x26f):typeof _0x47171d;},P(_0x37f02e);}function ae(_0x521c4a,_0x21f448){const _0x2dee23=_0x54a253;if(P(_0x521c4a)!=_0x2dee23(0x326)||!_0x521c4a)return _0x521c4a;var _0x436756=_0x521c4a[Symbol[_0x2dee23(0x2d4)]];if(_0x436756!==void 0x0){var _0x110f9f=_0x436756['call'](_0x521c4a,_0x21f448||_0x2dee23(0x271));if(P(_0x110f9f)!=_0x2dee23(0x326))return _0x110f9f;throw TypeError(_0x2dee23(0x2ff));}return(_0x21f448==='string'?String:Number)(_0x521c4a);}function F(_0x35cba0){const _0x3b3036=_0x54a253;var _0x2bdea4=ae(_0x35cba0,_0x3b3036(0x330));return P(_0x2bdea4)=='symbol'?_0x2bdea4:_0x2bdea4+'';}function I(_0x5eaf3b,_0x407928,_0x3bf32b){const _0x57fd11=_0x54a253;return(_0x407928=F(_0x407928))in _0x5eaf3b?Object[_0x57fd11(0x33a)](_0x5eaf3b,_0x407928,{'value':_0x3bf32b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x5eaf3b[_0x407928]=_0x3bf32b,_0x5eaf3b;}function L(_0x2cee71,_0x3f4672){return function(_0x39f250,_0x5f39d2){_0x3f4672(_0x39f250,_0x5f39d2,_0x2cee71);};}function R(_0x378ad4,_0x3b2687,_0x42cc20,_0x33dafd){const _0x43b72e=_0x54a253;var _0x55174a=arguments[_0x43b72e(0x1ec)],_0x4fdcac=_0x55174a<0x3?_0x3b2687:_0x33dafd===null?_0x33dafd=Object[_0x43b72e(0x312)](_0x3b2687,_0x42cc20):_0x33dafd,_0x4468ca;if(typeof Reflect=='object'&&typeof Reflect[_0x43b72e(0x30f)]==_0x43b72e(0x1d0))_0x4fdcac=Reflect[_0x43b72e(0x30f)](_0x378ad4,_0x3b2687,_0x42cc20,_0x33dafd);else{for(var _0x442bf0=_0x378ad4['length']-0x1;_0x442bf0>=0x0;_0x442bf0--)(_0x4468ca=_0x378ad4[_0x442bf0])&&(_0x4fdcac=(_0x55174a<0x3?_0x4468ca(_0x4fdcac):_0x55174a>0x3?_0x4468ca(_0x3b2687,_0x42cc20,_0x4fdcac):_0x4468ca(_0x3b2687,_0x42cc20))||_0x4fdcac);}return _0x55174a>0x3&&_0x4fdcac&&Object[_0x43b72e(0x33a)](_0x3b2687,_0x42cc20,_0x4fdcac),_0x4fdcac;}let oe=function(_0x20ee9b){const _0x5d815c=_0x54a253;return _0x20ee9b[_0x20ee9b['UNDEFINED']=0x0]=_0x5d815c(0x1f8),_0x20ee9b[_0x20ee9b[_0x5d815c(0x1eb)]=0x1]='UNIT',_0x20ee9b[_0x20ee9b[_0x5d815c(0x310)]=0x2]='JSON',_0x20ee9b[_0x20ee9b[_0x5d815c(0x344)]=-0x1]=_0x5d815c(0x344),_0x20ee9b;}({}),se=function(_0x53c22b){const _0x4e69b5=_0x54a253;return _0x53c22b[_0x4e69b5(0x2b4)]=_0x4e69b5(0x2c5),_0x53c22b[_0x4e69b5(0x2ed)]=_0x4e69b5(0x328),_0x53c22b[_0x4e69b5(0x231)]='tsv',_0x53c22b[_0x4e69b5(0x255)]='docx',_0x53c22b['PPTX']=_0x4e69b5(0x351),_0x53c22b[_0x4e69b5(0x21c)]=_0x4e69b5(0x1fd),_0x53c22b;}({}),ce=function(_0x5765c9){const _0x4069dd=_0x54a253;return _0x5765c9[_0x4069dd(0x225)]=_0x4069dd(0x26b),_0x5765c9[_0x4069dd(0x212)]=_0x4069dd(0x1d7),_0x5765c9[_0x4069dd(0x22a)]=_0x4069dd(0x2e3),_0x5765c9[_0x4069dd(0x24a)]=_0x4069dd(0x2be),_0x5765c9;}({}),le=function(_0x17bf74){const _0x681ca9=_0x54a253;return _0x17bf74[_0x681ca9(0x2d3)]=_0x681ca9(0x1c5),_0x17bf74[_0x681ca9(0x2b2)]=_0x681ca9(0x2db),_0x17bf74[_0x681ca9(0x1d6)]=_0x681ca9(0x325),_0x17bf74[_0x681ca9(0x31e)]=_0x681ca9(0x25b),_0x17bf74;}({}),ue=function(_0x38228c){const _0x40dc0b=_0x54a253;return _0x38228c[_0x40dc0b(0x212)]=_0x40dc0b(0x1d7),_0x38228c[_0x40dc0b(0x291)]='ranges',_0x38228c;}({});const z=(0x0,t[_0x54a253(0x1d3)])('univer-pro.exchange-client.request.service');let B=class{constructor(_0x4c9c55,_0x1a074c){const _0x55efe0=_0x54a253;this[_0x55efe0(0x2fe)]=_0x4c9c55,this[_0x55efe0(0x1d8)]=_0x1a074c,I(this,'_taskInterrupted',new Set());}[_0x54a253(0x31d)](){}[_0x54a253(0x31f)](_0x174a91){const _0x3e842e=_0x54a253;this[_0x3e842e(0x1f1)][_0x3e842e(0x261)](_0x174a91);}[_0x54a253(0x2ce)](){const _0x298daf=_0x54a253;this[_0x298daf(0x1f1)][_0x298daf(0x31b)]();}async['upload'](_0x4f3745,_0x14d145=0x0,_0x55e313=!0x1){const _0x162542=_0x54a253;if(typeof _0x4f3745=='string'){let _0x16949c=await k(_0x4f3745,this[_0x162542(0x1d8)]);if(!_0x16949c)throw Error(_0x162542(0x2e6));_0x4f3745=_0x16949c;}_0x14d145||=_0x4f3745[_0x162542(0x235)];let _0x3a992b=new FormData();_0x3a992b[_0x162542(0x2a0)](_0x162542(0x32c),_0x4f3745);try{let _0x4e6c6b=this[_0x162542(0x319)]()+_0x162542(0x228)+_0x14d145+'&source='+s['FileSource'][_0x162542(0x2e8)]+'&flate='+_0x55e313,_0x5620b0={'body':_0x3a992b},_0x3d6c55=(await this[_0x162542(0x1d8)][_0x162542(0x2eb)](_0x4e6c6b,_0x5620b0))[_0x162542(0x1dc)];if(_0x3d6c55[_0x162542(0x2ee)]&&_0x3d6c55[_0x162542(0x2ee)]['code']!==s[_0x162542(0x2b3)]['OK'])throw Error(this['_buildProtocolErrorMessage'](_0x162542(0x1d1),_0x3d6c55['error']));return _0x3d6c55;}catch(_0x12ace6){throw _0x12ace6 instanceof Error?_0x12ace6:Error(this[_0x162542(0x2c3)](_0x162542(0x1d1),_0x12ace6));}}async[_0x54a253(0x2bb)](_0x365434){const _0x2d9fe0=_0x54a253;let {type:_0xfc0e5e,..._0x2b55d1}=_0x365434;try{let _0x225b7a=j(this['_getImportURL'](),''+_0xfc0e5e),_0xcb112e={'body':_0x2b55d1},_0x3a36a9=(await this[_0x2d9fe0(0x1d8)][_0x2d9fe0(0x2eb)](_0x225b7a,_0xcb112e))[_0x2d9fe0(0x1dc)];return _0x3a36a9[_0x2d9fe0(0x2ee)]&&_0x3a36a9['error'][_0x2d9fe0(0x24c)]!==s[_0x2d9fe0(0x2b3)]['OK']?void 0x0:_0x3a36a9;}catch{return;}}async[_0x54a253(0x1fe)](_0x50c04e){const _0x534057=_0x54a253;let {type:_0x12f338}=_0x50c04e;try{let _0x39df8f=j(this[_0x534057(0x1c2)](),''+_0x12f338),_0x53cfc3={'body':_0x50c04e},_0x241baa=(await this[_0x534057(0x1d8)][_0x534057(0x2eb)](_0x39df8f,_0x53cfc3))['body'];return _0x241baa['error']&&_0x241baa['error'][_0x534057(0x24c)]!==s['ErrorCode']['OK']?void 0x0:_0x241baa;}catch{return;}}async[_0x54a253(0x2f3)](_0x322922){return new Promise((_0x51c9ef,_0x43806a)=>{const _0x275503=_0x3c53;try{let _0x44d9fa=0x0,_0x23e2c0=M(this['_getTaskURL'](),''+_0x322922),_0x26f637=this[_0x275503(0x2b1)](),_0x289397=async()=>{const _0x1fb2da=_0x275503;if(this[_0x1fb2da(0x1f1)][_0x1fb2da(0x23e)](_0x322922))return;let _0x43ee4b=(await this[_0x1fb2da(0x1d8)][_0x1fb2da(0x30e)](_0x23e2c0))['body'];if(_0x43ee4b[_0x1fb2da(0x2ee)]&&_0x43ee4b['error'][_0x1fb2da(0x24c)]===s[_0x1fb2da(0x2b3)]['OK']){if(_0x43ee4b[_0x1fb2da(0x335)]===_0x1fb2da(0x1db))_0x51c9ef(_0x43ee4b);else{if(_0x43ee4b['status']==='pending'){let _0x2b3ded=0x3e8;if(_0x44d9fa>=_0x26f637){_0x43806a(_0x43ee4b);return;}else _0x44d9fa>=0x7530&&(_0x2b3ded=0x1388);_0x44d9fa+=_0x2b3ded,setTimeout(_0x289397,_0x2b3ded);}else _0x43806a(_0x43ee4b);}}else _0x43806a(_0x43ee4b);};_0x289397();}catch(_0x4d5b89){_0x43806a(_0x4d5b89 instanceof Error?_0x4d5b89:Error(String(_0x4d5b89)));}});}async[_0x54a253(0x1d2)](_0x4ae1d2){const _0x1318fd=_0x54a253;try{let _0x456016=N(this[_0x1318fd(0x2ea)](),''+_0x4ae1d2);return(await this[_0x1318fd(0x1d8)][_0x1318fd(0x30e)](_0x456016))['body'];}catch{return;}}async[_0x54a253(0x23d)](_0x6c910f){const _0x253c02=_0x54a253;try{return(await this['_httpService'][_0x253c02(0x30e)](_0x6c910f,{'responseType':_0x253c02(0x325)}))[_0x253c02(0x1dc)];}catch{return;}}['_buildProtocolErrorMessage'](_0x24872d,_0x56b6b9){let _0x7634ec=this['_extractErrorDetail'](_0x56b6b9);return _0x7634ec?_0x24872d+':\x20'+_0x7634ec:_0x24872d;}[_0x54a253(0x2c3)](_0x18d038,_0x456cb4){const _0x51e59f=_0x54a253;if(_0x456cb4 instanceof n[_0x51e59f(0x2c8)]){let _0x3b0cbe=typeof _0x456cb4['status']=='number'?''+_0x456cb4[_0x51e59f(0x335)]+(_0x456cb4[_0x51e59f(0x20c)]?'\x20'+_0x456cb4[_0x51e59f(0x20c)]:''):void 0x0,_0x435815=this[_0x51e59f(0x270)](_0x456cb4['error']);return _0x3b0cbe&&_0x435815?_0x18d038+':\x20HTTP\x20'+_0x3b0cbe+_0x51e59f(0x209)+_0x435815:_0x3b0cbe?_0x18d038+_0x51e59f(0x252)+_0x3b0cbe:_0x435815?_0x18d038+':\x20'+_0x435815:_0x18d038;}let _0x73d1f=this['_extractErrorDetail'](_0x456cb4);return _0x73d1f?_0x18d038+':\x20'+_0x73d1f:_0x18d038;}['_extractErrorDetail'](_0x5c94a2){const _0x3b36b1=_0x54a253;if(typeof _0x5c94a2==_0x3b36b1(0x330)){let _0x3b457a=_0x5c94a2[_0x3b36b1(0x31a)]();return _0x3b457a[_0x3b36b1(0x1ec)]>0x0?_0x3b457a:void 0x0;}if(_0x5c94a2 instanceof Error)return this[_0x3b36b1(0x270)](_0x5c94a2[_0x3b36b1(0x274)]);if(!_0x5c94a2||typeof _0x5c94a2!='object'||Array[_0x3b36b1(0x2e4)](_0x5c94a2))return;let _0x141423=_0x5c94a2,_0x2df9de=this[_0x3b36b1(0x270)](_0x141423['message']);if(_0x2df9de)return _0x2df9de;if(_0x141423['error']&&typeof _0x141423[_0x3b36b1(0x2ee)]==_0x3b36b1(0x326)&&!Array[_0x3b36b1(0x2e4)](_0x141423[_0x3b36b1(0x2ee)])){let _0x1d7f78=this[_0x3b36b1(0x270)](_0x141423[_0x3b36b1(0x2ee)]);if(_0x1d7f78)return _0x1d7f78;}}[_0x54a253(0x319)](){const _0x22cc1a=_0x54a253;let _0x2e7008=this[_0x22cc1a(0x2fe)][_0x22cc1a(0x362)](m);return(_0x2e7008==null?void 0x0:_0x2e7008[_0x22cc1a(0x227)])??_0x22cc1a(0x26c);}[_0x54a253(0x2d9)](){const _0x306d83=_0x54a253;let _0x302b49=this['_configService'][_0x306d83(0x362)](m);return(_0x302b49==null?void 0x0:_0x302b49['importServerUrl'])??_0x306d83(0x30c);}[_0x54a253(0x1c2)](){const _0x47bd65=_0x54a253;let _0x341750=this[_0x47bd65(0x2fe)]['getConfig'](m);return(_0x341750==null?void 0x0:_0x341750[_0x47bd65(0x2a2)])??_0x47bd65(0x299);}[_0x54a253(0x273)](){const _0x23ceef=_0x54a253;let _0x525899=this['_configService'][_0x23ceef(0x362)](m);return(_0x525899==null?void 0x0:_0x525899[_0x23ceef(0x341)])??_0x23ceef(0x302);}['_getSignURL'](){const _0x50f379=_0x54a253;let _0xc1b4c9=this[_0x50f379(0x2fe)][_0x50f379(0x362)](m);return(_0xc1b4c9==null?void 0x0:_0xc1b4c9[_0x50f379(0x266)])??_0x50f379(0x349);}['_getMaxPollingTime'](){const _0x5cd77a=_0x54a253;let _0xdf759e=this[_0x5cd77a(0x2fe)][_0x5cd77a(0x362)](m);return(_0xdf759e==null?void 0x0:_0xdf759e[_0x5cd77a(0x267)])??0x1d4c0;}};B=R([L(0x0,t[_0x54a253(0x27e)]),L(0x1,(0x0,t['Inject'])(n[_0x54a253(0x246)]))],B);const V='exchange-client.export-format-dialog';function H({formats:_0xad1752,items:_0x7e951d,selectedId:_0x22d799,onCancel:_0x34b97c,onConfirm:_0x2241ab}){const _0x3de709=_0x54a253;let _0x1ea141=(0x0,i[_0x3de709(0x219)])(t[_0x3de709(0x2d5)]),[_0x149cc7,_0x16a107]=(0x0,o[_0x3de709(0x250)])(_0xad1752[0x0]),[_0x220653,_0x3b2662]=(0x0,o[_0x3de709(0x250)])(_0x22d799),[_0x145217,_0x45f27c]=(0x0,o[_0x3de709(0x250)])(!0x1),_0x893582=(0x0,o[_0x3de709(0x230)])(!0x1);return(0x0,c[_0x3de709(0x1e6)])(_0x3de709(0x211),{'className':_0x3de709(0x1f5),'children':[(0x0,c[_0x3de709(0x307)])(_0x3de709(0x211),{'className':'univer-flex\x20univer-flex-col\x20univer-gap-4','children':_0xad1752[_0x3de709(0x29a)](_0x156f5f=>(0x0,c[_0x3de709(0x1e6)])(_0x3de709(0x211),{'className':_0x3de709(0x220),'children':[(0x0,c[_0x3de709(0x307)])(a[_0x3de709(0x2ca)],{'value':_0x156f5f,'checked':_0x149cc7===_0x156f5f,'onChange':_0x7d31e3=>_0x16a107(_0x7d31e3),'children':(0x0,c[_0x3de709(0x307)])(_0x3de709(0x1e2),{'className':'univer-w-10','children':_0x156f5f[_0x3de709(0x2c6)]()})}),_0x156f5f!==_0x3de709(0x2c5)&&(0x0,c[_0x3de709(0x307)])(a[_0x3de709(0x233)],{'className':_0x3de709(0x2b8),'value':_0x220653,'options':_0x7e951d,'onChange':_0x149d10=>_0x3b2662(String(_0x149d10))})]},_0x156f5f))}),(0x0,c['jsxs'])('div',{'className':_0x3de709(0x278),'children':[(0x0,c[_0x3de709(0x307)])(a[_0x3de709(0x329)],{'type':_0x3de709(0x1f4),'variant':'default','onClick':_0x34b97c,'children':_0x1ea141['t']('exchange-client.cancel')}),(0x0,c[_0x3de709(0x1e6)])(a[_0x3de709(0x329)],{'type':_0x3de709(0x1f4),'variant':'primary','aria-busy':_0x145217,'disabled':_0x145217||!_0x149cc7||_0x149cc7!=='xlsx'&&!_0x220653,'onClick':async()=>{const _0x3da5a4=_0x3de709;if(!_0x893582[_0x3da5a4(0x2e7)]){_0x893582[_0x3da5a4(0x2e7)]=!0x0,_0x45f27c(!0x0);try{await _0x2241ab(_0x149cc7,_0x220653);}finally{_0x893582[_0x3da5a4(0x2e7)]=!0x1,_0x45f27c(!0x1);}}},'children':[_0x145217&&(0x0,c[_0x3de709(0x307)])(r[_0x3de709(0x2c4)],{'className':'univer-animate-spin'}),_0x1ea141['t'](_0x3de709(0x1e7))]})]})]});}let U=class extends t[_0x54a253(0x221)]{constructor(_0x444479,_0x1f2bcb){const _0x4831a8=_0x54a253;super(),this[_0x4831a8(0x24b)]=_0x444479,this[_0x4831a8(0x1fc)]=_0x1f2bcb,this['disposeWithMe'](this[_0x4831a8(0x24b)][_0x4831a8(0x2e1)]({'DirectExportIcon':r['DirectExportIcon'],'ExportIcon':r[_0x4831a8(0x2dc)],'FolderIcon':r[_0x4831a8(0x2c7)]})),this[_0x4831a8(0x20f)](this[_0x4831a8(0x1fc)][_0x4831a8(0x2e1)](V,H));}};U=R([L(0x0,(0x0,t[_0x54a253(0x2d6)])(i[_0x54a253(0x210)])),L(0x1,(0x0,t[_0x54a253(0x2d6)])(i[_0x54a253(0x33c)]))],U);const W=(0x0,t['createIdentifier'])(_0x54a253(0x244));var de=class extends t[_0x54a253(0x221)]{constructor(){const _0x4de6f4=_0x54a253;super(),I(this,_0x4de6f4(0x283),new l['Subject']()),I(this,'_state$',new l[(_0x4de6f4(0x304))]()),I(this,_0x4de6f4(0x290),new l[(_0x4de6f4(0x304))]()),I(this,'visible$',this[_0x4de6f4(0x283)][_0x4de6f4(0x22b)]()),I(this,'state$',this['_state$']['asObservable']()),I(this,_0x4de6f4(0x32e),this[_0x4de6f4(0x290)]['asObservable']()),I(this,'_list',[]);}[_0x54a253(0x31d)](){const _0x178c1c=_0x54a253;super['dispose'](),this[_0x178c1c(0x283)][_0x178c1c(0x22e)](),this[_0x178c1c(0x202)][_0x178c1c(0x22e)](),this[_0x178c1c(0x290)][_0x178c1c(0x22e)]();}[_0x54a253(0x316)](){const _0x202b9e=_0x54a253;this['_visible$'][_0x202b9e(0x318)](!0x0);}[_0x54a253(0x296)](){const _0x17d254=_0x54a253;this['_visible$'][_0x17d254(0x318)](!0x1);}[_0x54a253(0x2ae)](_0x112ad3){const _0x442fd7=_0x54a253;this['_state$'][_0x442fd7(0x318)](_0x112ad3);}[_0x54a253(0x257)](_0x54f399){const _0x11d326=_0x54a253;this[_0x11d326(0x1e3)][_0x11d326(0x22c)](_0x54f399),this[_0x11d326(0x290)]['next'](this[_0x11d326(0x1e3)]);}};function fe(_0x585394){const _0x280069=_0x54a253;let {list:_0x463f62}=_0x585394;function _0xe22c18(_0x508f84){const _0x315410=_0x3c53;switch(_0x508f84){case t[_0x315410(0x251)]['UNIVER_DOC']:return(0x0,c[_0x315410(0x307)])(r[_0x315410(0x1cd)],{});case t[_0x315410(0x251)][_0x315410(0x2f7)]:case t[_0x315410(0x251)][_0x315410(0x207)]:return(0x0,c[_0x315410(0x307)])(r[_0x315410(0x26d)],{});case t['UniverInstanceType'][_0x315410(0x20a)]:return(0x0,c[_0x315410(0x307)])(r[_0x315410(0x23f)],{});default:return null;}}return(0x0,c[_0x280069(0x307)])(_0x280069(0x211),{'className':(0x0,a['clsx'])(_0x280069(0x317),a[_0x280069(0x2b5)]),'children':(0x0,c[_0x280069(0x307)])('ul',{'className':_0x280069(0x1e4),'children':_0x463f62[_0x280069(0x29a)]((_0x39f9e8,_0xee7318)=>(0x0,c[_0x280069(0x307)])('li',{'children':(0x0,c['jsxs'])('a',{'className':'univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-0\x20dark:hover:!univer-bg-gray-600','href':_0x39f9e8[_0x280069(0x35d)],'target':_0x280069(0x2ac),'rel':_0x280069(0x1c3),'children':[(0x0,c[_0x280069(0x1e6)])(_0x280069(0x1e2),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,c[_0x280069(0x307)])(_0x280069(0x1e2),{'className':_0x280069(0x217),'children':_0xe22c18(_0x39f9e8[_0x280069(0x214)])}),(0x0,c[_0x280069(0x307)])(a[_0x280069(0x1d4)],{'showIfEllipsis':!0x0,'title':_0x39f9e8['name'],'asChild':!0x0,'children':(0x0,c['jsx'])(_0x280069(0x1e2),{'className':'univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x39f9e8['name']})})]}),(0x0,c['jsx'])('span',{'className':_0x280069(0x1ce),'children':(0x0,c[_0x280069(0x307)])(r[_0x280069(0x1d9)],{})})]})},_0xee7318))})});}const G=(0x0,t['createIdentifier'])(_0x54a253(0x21a));let K=class extends t[_0x54a253(0x221)]{constructor(_0x3480c2,_0x519fe1,_0x2ea7e1){const _0x2fa90a=_0x54a253;super(),this[_0x2fa90a(0x2fe)]=_0x3480c2,this[_0x2fa90a(0x1d8)]=_0x519fe1,this[_0x2fa90a(0x303)]=_0x2ea7e1,I(this,_0x2fa90a(0x1de),null),I(this,'_requestState$',new l[(_0x2fa90a(0x304))]()),I(this,'requestState$',this[_0x2fa90a(0x263)]['asObservable']());}[_0x54a253(0x31d)](){const _0x138c20=_0x54a253;super[_0x138c20(0x31d)](),this[_0x138c20(0x263)][_0x138c20(0x22e)]();}['downloadFile'](_0x410e74,_0x1794bb,_0x2fa34e){const _0x47c90d=_0x54a253;let _0x421ace=URL[_0x47c90d(0x2b6)](_0x410e74);ee(_0x421ace,_0x1794bb,_0x2fa34e),URL['revokeObjectURL'](_0x421ace);}async[_0x54a253(0x35b)](_0x4b1e79,_0x239580){const _0x15d52c=_0x54a253;if(_0x239580!=null&&_0x239580[_0x15d52c(0x2ab)])return;let _0x9d84f5=await this[_0x15d52c(0x2aa)](_0x4b1e79);if(!(!_0x9d84f5||_0x239580!=null&&_0x239580['aborted']))return A(_0x9d84f5,this[_0x15d52c(0x1d8)],_0x239580);}async['importFileToUnitId'](_0x4ec986,_0x4761c7,_0x34647c){const _0x5b140b=_0x54a253;var _0x4c7c79,_0x3791df;let _0x29eb61=await this[_0x5b140b(0x2e9)](_0x4ec986);if(!_0x29eb61)return;let _0x147bdb=await this['_import'](_0x29eb61,0x1,_0x4761c7,_0x34647c);if(!_0x147bdb)return;this['_importTaskId']=_0x147bdb,this[_0x5b140b(0x303)][_0x5b140b(0x2ce)]();let _0x162cfa=await this[_0x5b140b(0x303)][_0x5b140b(0x2f3)](_0x147bdb)[_0x5b140b(0x345)](_0x1df483=>{const _0x16f738=_0x5b140b;var _0x2c355b;let _0x28fd45=_0x1df483 instanceof Error?_0x1df483[_0x16f738(0x274)]:(_0x2c355b=_0x1df483[_0x16f738(0x2ee)])==null?void 0x0:_0x2c355b['message'];this[_0x16f738(0x263)][_0x16f738(0x318)]({'error':{'code':s['ErrorCode'][_0x16f738(0x344)],'message':_0x28fd45||''},'state':0x3});});if(!_0x162cfa)return;let _0xc880a9=(_0x4c7c79=_0x162cfa[_0x5b140b(0x2bb)])==null?void 0x0:_0x4c7c79[_0x5b140b(0x277)],_0x3ce13a=((_0x3791df=_0x162cfa['import'])==null?void 0x0:_0x3791df[_0x5b140b(0x29b)])||'';if(_0xc880a9!==0x1){this[_0x5b140b(0x263)][_0x5b140b(0x318)]({'error':{'code':s[_0x5b140b(0x2b3)][_0x5b140b(0x344)],'message':_0x5b140b(0x28e)},'state':0x3});return;}if(_0x3ce13a[_0x5b140b(0x1ec)]===0x0){this['_requestState$'][_0x5b140b(0x318)]({'error':{'code':s[_0x5b140b(0x2b3)][_0x5b140b(0x344)],'message':_0x5b140b(0x33d)},'state':0x3});return;}return this[_0x5b140b(0x263)]['next']({'error':_0x162cfa['error'],'state':0x3}),_0x3ce13a;}async[_0x54a253(0x234)](_0x4bd6c2,_0x810d3b,_0x2b5e82){const _0x215275=_0x54a253;return this[_0x215275(0x208)](_0x4bd6c2,_0x810d3b,_0x2b5e82);}async[_0x54a253(0x34b)](_0xf4ea24,_0x41ed3a,_0x3acc5c,_0x115f84){const _0x3ba041=_0x54a253;return this[_0x3ba041(0x2bf)](_0xf4ea24,0x1,_0x41ed3a,_0x3acc5c,_0x115f84);}async[_0x54a253(0x281)](_0x457164,_0x1bb6e6,_0x95258a,_0x321487){const _0x3accee=_0x54a253;return this[_0x3accee(0x321)](_0x457164,_0x1bb6e6,_0x95258a,_0x321487);}[_0x54a253(0x25c)](){const _0x42dd83=_0x54a253;this[_0x42dd83(0x1de)]&&this[_0x42dd83(0x303)][_0x42dd83(0x31f)](this[_0x42dd83(0x1de)]);}async[_0x54a253(0x208)](_0x4eca55,_0x36b3d9,_0x607740){const _0x47a376=_0x54a253;var _0x321a32,_0x2bbf11;let _0x491a09=await this[_0x47a376(0x2e9)](_0x4eca55);if(!_0x491a09)return;let _0xb8d3eb=await this['_import'](_0x491a09,0x2,_0x36b3d9,_0x607740);if(!_0xb8d3eb)return;this['_importTaskId']=_0xb8d3eb,this['_requestService'][_0x47a376(0x2ce)]();let _0x1a650e=await this[_0x47a376(0x303)]['getTask'](_0xb8d3eb)[_0x47a376(0x345)](_0x245c8f=>{const _0x2d103c=_0x47a376;var _0x5dcbd9;let _0xd49661=_0x245c8f instanceof Error?_0x245c8f[_0x2d103c(0x274)]:(_0x5dcbd9=_0x245c8f[_0x2d103c(0x2ee)])==null?void 0x0:_0x5dcbd9[_0x2d103c(0x274)];this[_0x2d103c(0x263)]['next']({'error':{'code':s[_0x2d103c(0x2b3)][_0x2d103c(0x344)],'message':_0xd49661||''},'state':0x3});});if(!_0x1a650e)return;let _0xe02577=(_0x321a32=_0x1a650e[_0x47a376(0x2bb)])==null?void 0x0:_0x321a32[_0x47a376(0x277)],_0x138078=((_0x2bbf11=_0x1a650e[_0x47a376(0x2bb)])==null?void 0x0:_0x2bbf11[_0x47a376(0x35a)])||'';if(_0xe02577!==0x2){this['_requestState$'][_0x47a376(0x318)]({'error':{'code':s[_0x47a376(0x2b3)]['UNRECOGNIZED'],'message':_0x47a376(0x28e)},'state':0x3});return;}if(_0x138078['length']===0x0){this[_0x47a376(0x263)][_0x47a376(0x318)]({'error':{'code':s[_0x47a376(0x2b3)][_0x47a376(0x344)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this[_0x47a376(0x263)]['next']({'error':_0x1a650e[_0x47a376(0x2ee)],'state':0x3});let _0x4e7794=await this[_0x47a376(0x2aa)](_0x138078);if(!_0x4e7794)return;let _0x2adf41=await this[_0x47a376(0x303)][_0x47a376(0x23d)](_0x4e7794);if(!_0x2adf41){this['_requestState$']['next']({'error':{'code':s[_0x47a376(0x2b3)][_0x47a376(0x344)],'message':_0x47a376(0x369)},'state':0x5});return;}try{let _0x3dbb50=JSON[_0x47a376(0x320)](_0x2adf41);return this['_requestState$']['next']({'error':{'code':s[_0x47a376(0x2b3)]['OK'],'message':_0x47a376(0x350)},'state':0x5}),_0x3dbb50;}catch{this[_0x47a376(0x263)][_0x47a376(0x318)]({'error':{'code':s[_0x47a376(0x2b3)][_0x47a376(0x344)],'message':'Failed\x20to\x20parse\x20json'},'state':0x5});}}async[_0x54a253(0x321)](_0x4bcbd7,_0xa01288,_0x36a3fa,_0x547d11){const _0x357caf=_0x54a253;let _0x315d7d=JSON[_0x357caf(0x2fb)](_0x4bcbd7),_0x585750=u['textEncoder'][_0x357caf(0x30b)](_0x315d7d),_0x5a2b59=(0x0,d[_0x357caf(0x259)])(_0x585750),_0x5cdc07=_0x585750[_0x357caf(0x1ec)],_0x10e8a2=ie(_0x5a2b59),_0x1ef252=await this[_0x357caf(0x2e9)](_0x10e8a2,_0x5cdc07,!0x0);if(_0x1ef252)return this[_0x357caf(0x2bf)](_0x1ef252,0x2,_0xa01288,_0x36a3fa,_0x547d11);}async[_0x54a253(0x2bf)](_0x1c2c7f,_0x484f20,_0x4270ea,_0x931b7b,_0x10eb77){const _0x34c838=_0x54a253;var _0x45d4d3;let _0x5cfdc6=await this[_0x34c838(0x303)]['export']({..._0x484f20===0x1?{'unitID':_0x1c2c7f}:{'jsonID':_0x1c2c7f},'type':_0x4270ea,'format':_0x931b7b,'options':_0x10eb77});if(!_0x5cfdc6){this[_0x34c838(0x263)][_0x34c838(0x318)]({'error':{'code':s[_0x34c838(0x2b3)][_0x34c838(0x344)],'message':_0x34c838(0x200)},'state':0x2});return;}if(this[_0x34c838(0x263)]['next']({'error':_0x5cfdc6['error'],'state':0x2}),_0x5cfdc6[_0x34c838(0x2ee)]&&_0x5cfdc6[_0x34c838(0x2ee)][_0x34c838(0x24c)]!==s[_0x34c838(0x2b3)]['OK'])return;let _0x28d69f=_0x5cfdc6['taskID'],_0x3c1f04=await this['_requestService']['getTask'](_0x28d69f)[_0x34c838(0x345)](_0x262ea8=>{const _0x1f4855=_0x34c838;var _0x5702c9;let _0x4389f3=_0x262ea8 instanceof Error?_0x262ea8[_0x1f4855(0x274)]:(_0x5702c9=_0x262ea8[_0x1f4855(0x2ee)])==null?void 0x0:_0x5702c9[_0x1f4855(0x274)];this['_requestState$'][_0x1f4855(0x318)]({'error':{'code':s['ErrorCode'][_0x1f4855(0x344)],'message':_0x4389f3||''},'state':0x3});});if(!_0x3c1f04)return;let _0x24317e=((_0x45d4d3=_0x3c1f04['export'])==null?void 0x0:_0x45d4d3[_0x34c838(0x1df)])||'';if(_0x24317e[_0x34c838(0x1ec)]===0x0){this[_0x34c838(0x263)]['next']({'error':{'code':s[_0x34c838(0x2b3)][_0x34c838(0x344)],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x34c838(0x263)]['next']({'error':_0x3c1f04[_0x34c838(0x2ee)],'state':0x3});let _0x36993a=await this[_0x34c838(0x2aa)](_0x24317e);if(!_0x36993a)return;let _0x46a11f=await k(_0x36993a,this['_httpService']);if(!_0x46a11f){this[_0x34c838(0x263)][_0x34c838(0x318)]({'error':{'code':s[_0x34c838(0x2b3)][_0x34c838(0x344)],'message':_0x34c838(0x2ef)},'state':0x6});return;}return this[_0x34c838(0x263)][_0x34c838(0x318)]({'error':{'code':s['ErrorCode']['OK'],'message':_0x34c838(0x350)},'state':0x6}),_0x46a11f;}async[_0x54a253(0x2e9)](_0x2be768,_0x450ed1,_0x1e12b7){const _0x460380=_0x54a253;let _0x4dde6a;try{_0x4dde6a=await this[_0x460380(0x303)][_0x460380(0x21e)](_0x2be768,_0x450ed1,_0x1e12b7);}catch(_0x5433b2){let _0x2f379b=_0x5433b2 instanceof Error?_0x5433b2['message']:String(_0x5433b2);this[_0x460380(0x263)][_0x460380(0x318)]({'error':{'code':s[_0x460380(0x2b3)][_0x460380(0x344)],'message':_0x2f379b},'state':0x0});return;}if(!_0x4dde6a||typeof _0x4dde6a[_0x460380(0x31c)]!='string'){this[_0x460380(0x263)]['next']({'error':{'code':s[_0x460380(0x2b3)][_0x460380(0x344)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x11f028=_0x4dde6a['FileId'];if(_0x11f028[_0x460380(0x1ec)]===0x0){this[_0x460380(0x263)]['next']({'error':{'code':s[_0x460380(0x2b3)][_0x460380(0x344)],'message':_0x460380(0x29e)},'state':0x0});return;}return this[_0x460380(0x263)]['next']({'error':{'code':s[_0x460380(0x2b3)]['OK'],'message':_0x460380(0x350)},'state':0x0}),_0x11f028;}async[_0x54a253(0x28f)](_0x5377fb,_0x49a563,_0x8d5ef7,_0x139783){const _0x2be797=_0x54a253;let _0x3c1ebd={'fileID':_0x5377fb,'type':_0x8d5ef7,'outputType':_0x49a563,'options':_0x139783},_0x405e4e=await this[_0x2be797(0x303)][_0x2be797(0x2bb)](_0x3c1ebd);if(!_0x405e4e){this[_0x2be797(0x263)][_0x2be797(0x318)]({'error':{'code':s[_0x2be797(0x2b3)][_0x2be797(0x344)],'message':_0x2be797(0x1cf)},'state':0x1});return;}if(_0x405e4e[_0x2be797(0x2ee)]&&_0x405e4e['error'][_0x2be797(0x24c)]!==s['ErrorCode']['OK']){this[_0x2be797(0x263)]['next']({'error':_0x405e4e[_0x2be797(0x2ee)],'state':0x1});return;}let _0x4262b4=_0x405e4e[_0x2be797(0x241)];if(_0x4262b4['length']===0x0){this[_0x2be797(0x263)][_0x2be797(0x318)]({'error':{'code':s[_0x2be797(0x2b3)][_0x2be797(0x344)],'message':_0x2be797(0x236)},'state':0x1});return;}return this[_0x2be797(0x263)][_0x2be797(0x318)]({'error':_0x405e4e[_0x2be797(0x2ee)],'state':0x1}),_0x4262b4;}async['_signUrl'](_0x295b9b){const _0x2bf967=_0x54a253;let _0x55e61a=await this['_requestService']['signUrl'](_0x295b9b);if(!_0x55e61a){this['_requestState$'][_0x2bf967(0x318)]({'error':{'code':s[_0x2bf967(0x2b3)][_0x2bf967(0x344)],'message':_0x2bf967(0x232)},'state':0x4});return;}if(_0x55e61a[_0x2bf967(0x2ee)]&&_0x55e61a[_0x2bf967(0x2ee)][_0x2bf967(0x24c)]!==s[_0x2bf967(0x2b3)]['OK']){this[_0x2bf967(0x263)][_0x2bf967(0x318)]({'error':_0x55e61a[_0x2bf967(0x2ee)],'state':0x4});return;}let _0x27db25=(0x0,t[_0x2bf967(0x1f2)])(_0x55e61a[_0x2bf967(0x2fd)],this[_0x2bf967(0x25f)]());if(_0x27db25[_0x2bf967(0x1ec)]===0x0){this[_0x2bf967(0x263)]['next']({'error':{'code':s[_0x2bf967(0x2b3)][_0x2bf967(0x344)],'message':_0x2bf967(0x232)},'state':0x4});return;}return this[_0x2bf967(0x263)][_0x2bf967(0x318)]({'error':_0x55e61a[_0x2bf967(0x2ee)],'state':0x4}),_0x27db25;}[_0x54a253(0x25f)](){const _0x232d21=_0x54a253;let _0x14c26b=this['_configService'][_0x232d21(0x362)](m);return(_0x14c26b==null?void 0x0:_0x14c26b[_0x232d21(0x2bc)])??location[_0x232d21(0x1ff)];}};K=R([L(0x0,t[_0x54a253(0x27e)]),L(0x1,(0x0,t['Inject'])(n[_0x54a253(0x246)])),L(0x2,(0x0,t[_0x54a253(0x2d6)])(z))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t['createIdentifier'])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x54a253(0x221)]{constructor(_0x4c8e62,_0x165224,_0x201097,_0x153cba,_0x378e13,_0x1a7de6){const _0x42b980=_0x54a253;super(),this[_0x42b980(0x363)]=_0x4c8e62,this[_0x42b980(0x2f5)]=_0x165224,this[_0x42b980(0x28d)]=_0x201097,this[_0x42b980(0x27c)]=_0x153cba,this[_0x42b980(0x262)]=_0x378e13,this[_0x42b980(0x324)]=_0x1a7de6,I(this,_0x42b980(0x334),new l[(_0x42b980(0x35c))](pe)),I(this,_0x42b980(0x2bd),this[_0x42b980(0x334)][_0x42b980(0x22b)]()),I(this,_0x42b980(0x2c0),0x0),I(this,_0x42b980(0x239),0x0),I(this,_0x42b980(0x300),!0x1),I(this,_0x42b980(0x2a6),null),this['disposeWithMe']((0x0,t[_0x42b980(0x29d)])(this[_0x42b980(0x27c)]['requestState$'][_0x42b980(0x305)](_0x3164c7=>{const _0x1e84c7=_0x42b980;var _0x15bd08;((_0x15bd08=_0x3164c7[_0x1e84c7(0x2ee)])==null?void 0x0:_0x15bd08['code'])===s[_0x1e84c7(0x2b3)]['OK']?this[_0x1e84c7(0x34a)](0x1):this[_0x1e84c7(0x254)](_0x3164c7[_0x1e84c7(0x2ee)]);})));}[_0x54a253(0x2d8)](){const _0x1a762a=_0x54a253;this[_0x1a762a(0x338)](),this[_0x1a762a(0x262)][_0x1a762a(0x2ae)](0x2),this[_0x1a762a(0x27c)][_0x1a762a(0x25c)]();}async[_0x54a253(0x327)](_0x21654e,_0x44078f){const _0xd10295=_0x54a253;if(this[_0xd10295(0x300)]||this[_0xd10295(0x248)]()){this[_0xd10295(0x2f5)][_0xd10295(0x316)]({'type':a[_0xd10295(0x258)][_0xd10295(0x24f)],'content':this[_0xd10295(0x28d)]['t'](_0xd10295(0x24d))});return;}let _0x19c214;this['_isSelectingUnitImportFile']=!0x0;try{_0x19c214=await O([_0x21654e]);}finally{this[_0xd10295(0x300)]=!0x1;}if(_0x19c214&&!this[_0xd10295(0x21b)](_0x19c214,_0x21654e))return this[_0xd10295(0x2a6)]={'type':_0x21654e,'importer':_0x44078f},this[_0xd10295(0x1e1)](_0x19c214[0x0],_0x21654e,_0x44078f);}async[_0x54a253(0x289)](){const _0x351af8=_0x54a253;let _0x585626=this[_0x351af8(0x2a6)];if(_0x585626)return this[_0x351af8(0x327)](_0x585626[_0x351af8(0x214)],_0x585626[_0x351af8(0x359)]);}async[_0x54a253(0x2dd)](_0x239010,_0x1168b5){const _0x488272=_0x54a253;if(this['_uploadTaskNotDone']()){this['_messageService'][_0x488272(0x316)]({'type':a[_0x488272(0x258)][_0x488272(0x24f)],'content':this[_0x488272(0x28d)]['t']('exchange-client.uploading')});return;}let _0x2e74ed=await O([_0x239010]);if(!_0x2e74ed||this[_0x488272(0x21b)](_0x2e74ed,_0x239010))return;this['_showUploadMessage'](a[_0x488272(0x258)]['Info']);let _0x32563a=await _0x1168b5(_0x2e74ed[0x0]);_0x32563a&&(this[_0x488272(0x238)](_0x239010,_0x32563a),this[_0x488272(0x20b)](a[_0x488272(0x258)]['Success']));}async[_0x54a253(0x26a)](_0x372418,_0x4f44f1){const _0x48c777=_0x54a253;if(this[_0x48c777(0x248)]()){this[_0x48c777(0x2f5)][_0x48c777(0x316)]({'type':a[_0x48c777(0x258)][_0x48c777(0x24f)],'content':this[_0x48c777(0x28d)]['t'](_0x48c777(0x24d))});return;}let _0x3dd7da=await O([_0x372418]);if(!_0x3dd7da||this[_0x48c777(0x21b)](_0x3dd7da,_0x372418))return;this['_showUploadMessage'](a['MessageType'][_0x48c777(0x29f)]);let _0x13ef0d=await _0x4f44f1(_0x3dd7da[0x0]);if(_0x13ef0d)return this[_0x48c777(0x20b)](a['MessageType']['Success']),_0x13ef0d;}async[_0x54a253(0x2cb)](_0x5c5a87,_0x4a8356,_0x5014f3){const _0x2803ac=_0x54a253;this[_0x2803ac(0x33f)](a[_0x2803ac(0x258)]['Info']);let _0x4e46a6=await _0x5c5a87();_0x4e46a6&&(this[_0x2803ac(0x27c)]['downloadFile'](_0x4e46a6,_0x4a8356||_0x4e46a6[_0x2803ac(0x358)]['split']('.')[_0x2803ac(0x2b9)]()||document[_0x2803ac(0x2a1)],_0x5014f3),this[_0x2803ac(0x33f)](a['MessageType'][_0x2803ac(0x24e)]));}['registerLink'](_0x1e0105){const _0xfd8f6=_0x54a253;this[_0xfd8f6(0x343)]=_0x1e0105;}async[_0x54a253(0x1e1)](_0x20cbe0,_0x41ca21,_0x2e4881){const _0x133193=_0x54a253;this[_0x133193(0x262)][_0x133193(0x316)](),this[_0x133193(0x262)][_0x133193(0x2ae)](0x0),this['_addTotalCount'](0x4),this[_0x133193(0x34a)](0x1);let _0x5d4f5a=await _0x2e4881(_0x20cbe0);if(!_0x5d4f5a){this[_0x133193(0x338)](),this[_0x133193(0x262)][_0x133193(0x2ae)](0x2);return;}let _0x44f47a={'link':this[_0x133193(0x343)](_0x5d4f5a,_0x41ca21),'name':_0x20cbe0[_0x133193(0x358)],'type':_0x41ca21};return this[_0x133193(0x262)][_0x133193(0x257)](_0x44f47a),this[_0x133193(0x34c)](),this[_0x133193(0x262)]['updateState'](0x1),_0x5d4f5a;}[_0x54a253(0x238)](_0x141171,_0x48a796){const _0x52ca05=_0x54a253;let _0x51644f=this[_0x52ca05(0x363)]['getCurrentUnitOfType'](_0x141171);if(!_0x51644f)throw Error(_0x52ca05(0x347)+_0x141171+_0x52ca05(0x1ea));this[_0x52ca05(0x363)][_0x52ca05(0x313)](_0x51644f[_0x52ca05(0x28c)]());let _0x29b2d8=this[_0x52ca05(0x363)][_0x52ca05(0x2b0)](_0x141171,_0x48a796);this[_0x52ca05(0x363)][_0x52ca05(0x2ba)](_0x29b2d8['getUnitId']());}[_0x54a253(0x343)](_0x3abecc,_0x2e6d95){const _0x8d23bd=_0x54a253;let _0x4c6673=new URL(window['location'][_0x8d23bd(0x314)]);return _0x4c6673[_0x8d23bd(0x284)][_0x8d23bd(0x352)](_0x8d23bd(0x25e),_0x3abecc),_0x4c6673[_0x8d23bd(0x284)][_0x8d23bd(0x352)](_0x8d23bd(0x214),''+_0x2e6d95),_0x4c6673[_0x8d23bd(0x2a9)]();}['_showNetworkError'](_0x28335f){const _0x45c72b=_0x54a253;if(_0x28335f){let {code:_0x35540e}=_0x28335f;switch(_0x35540e){case s[_0x45c72b(0x2b3)][_0x45c72b(0x339)]:this[_0x45c72b(0x2f5)][_0x45c72b(0x316)]({'type':a['MessageType']['Error'],'content':this['_localeService']['t'](_0x45c72b(0x20e))});break;case s[_0x45c72b(0x2b3)][_0x45c72b(0x237)]:this[_0x45c72b(0x2f5)][_0x45c72b(0x316)]({'type':a[_0x45c72b(0x258)][_0x45c72b(0x2de)],'content':this['_localeService']['t'](_0x45c72b(0x33b))});break;default:this[_0x45c72b(0x2f5)]['show']({'type':a['MessageType'][_0x45c72b(0x2de)],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this['_messageService'][_0x45c72b(0x316)]({'type':a[_0x45c72b(0x258)][_0x45c72b(0x2de)],'content':this[_0x45c72b(0x28d)]['t']('exchange-client.networkError')}),null;}[_0x54a253(0x33f)](_0x4110b4){const _0x560be1=_0x54a253;let _0x51715e='';switch(_0x4110b4){case a[_0x560be1(0x258)][_0x560be1(0x24e)]:_0x51715e=this[_0x560be1(0x28d)]['t'](_0x560be1(0x253));break;case a[_0x560be1(0x258)][_0x560be1(0x29f)]:_0x51715e=this[_0x560be1(0x28d)]['t'](_0x560be1(0x355));break;default:break;}this[_0x560be1(0x2f5)][_0x560be1(0x316)]({'type':_0x4110b4,'content':_0x51715e});}[_0x54a253(0x20b)](_0x36223b){const _0x5bec40=_0x54a253;let _0x227924='';switch(_0x36223b){case a[_0x5bec40(0x258)][_0x5bec40(0x24e)]:_0x227924=this['_localeService']['t'](_0x5bec40(0x249));break;case a['MessageType'][_0x5bec40(0x29f)]:_0x227924=this[_0x5bec40(0x28d)]['t'](_0x5bec40(0x24d));break;default:break;}this['_messageService'][_0x5bec40(0x316)]({'type':_0x36223b,'content':_0x227924});}['_emitProgress'](){const _0x123d0f=_0x54a253;this[_0x123d0f(0x334)][_0x123d0f(0x318)]({'done':this['_doneUploadTaskCount'],'count':this[_0x123d0f(0x2c0)]});}[_0x54a253(0x2d2)](_0x347e6f){this['_totalUploadTaskCount']+=_0x347e6f,this['_emitProgress']();}[_0x54a253(0x34a)](_0x4fba4c){const _0x33d351=_0x54a253;this[_0x33d351(0x239)]+=_0x4fba4c,this[_0x33d351(0x239)]=Math['min'](this[_0x33d351(0x239)],this[_0x33d351(0x2c0)]),this[_0x33d351(0x213)]();}['_completeProgress'](){const _0x381bf9=_0x54a253;this[_0x381bf9(0x239)]=this[_0x381bf9(0x2c0)],this['_emitProgress']();}[_0x54a253(0x338)](){const _0x87fe78=_0x54a253;this[_0x87fe78(0x239)]=0x0,this[_0x87fe78(0x2c0)]=0x0,this[_0x87fe78(0x213)]();}[_0x54a253(0x21b)](_0x29703e,_0x35a6db){const _0x5a2fa4=_0x54a253;let _0x58e108=_0x29703e[0x0],_0x482997=_0x58e108[_0x5a2fa4(0x358)];return te(_0x58e108,_0x35a6db)?!0x1:(this[_0x5a2fa4(0x2f5)][_0x5a2fa4(0x316)]({'type':a[_0x5a2fa4(0x258)][_0x5a2fa4(0x2de)],'content':this[_0x5a2fa4(0x28d)]['t'](_0x5a2fa4(0x1f0),_0x482997)}),!0x0);}[_0x54a253(0x248)](){const _0x2710aa=_0x54a253;return this[_0x2710aa(0x2c0)]!==0x0&&this[_0x2710aa(0x239)]!==this[_0x2710aa(0x2c0)];}};J=R([L(0x0,(0x0,t[_0x54a253(0x2d6)])(t[_0x54a253(0x323)])),L(0x1,i[_0x54a253(0x2d1)]),L(0x2,(0x0,t[_0x54a253(0x2d6)])(t['LocaleService'])),L(0x3,(0x0,t[_0x54a253(0x2d6)])(G)),L(0x4,(0x0,t['Inject'])(W)),L(0x5,t[_0x54a253(0x1ef)])],J);function Y(_0xc9968d){const _0x296986=_0x54a253;let {onClick:_0x72da3c,children:_0x2d4454,className:_0x18ba38}=_0xc9968d;return(0x0,c[_0x296986(0x307)])(a[_0x296986(0x329)],{'size':'small','variant':_0x296986(0x325),'className':(0x0,a[_0x296986(0x27d)])(_0x296986(0x32f),_0x18ba38),'type':_0x296986(0x1f4),'onClick':_0x72da3c,'children':_0x2d4454});}function X(){const _0x4c4525=_0x54a253;let _0x3057b8=(0x0,i[_0x4c4525(0x219)])(q),_0x2a029e=(0x0,i['useDependency'])(t['LocaleService']);function _0x2adbba(){const _0x5d992d=_0x4c4525;return _0x3057b8[_0x5d992d(0x289)]();}return(0x0,c[_0x4c4525(0x307)])(Y,{'onClick':_0x2adbba,'children':_0x2a029e['t']('exchange-client.uploadAgain')});}function me(){const _0x198d56=_0x54a253;return(0x0,c[_0x198d56(0x1e6)])(_0x198d56(0x211),{'className':_0x198d56(0x1dd),'children':[(0x0,c[_0x198d56(0x307)])('span',{'className':_0x198d56(0x2e0),'children':(0x0,i[_0x198d56(0x219)])(t['LocaleService'])['t'](_0x198d56(0x368))}),(0x0,c[_0x198d56(0x307)])(X,{})]});}function he(_0x551795){const _0x499870=_0x54a253;let {count:_0x2a0b4d}=_0x551795;return(0x0,c['jsxs'])(_0x499870(0x211),{'className':_0x499870(0x2a7),'children':[(0x0,c['jsx'])(_0x499870(0x1e2),{'className':_0x499870(0x2cf),'children':(0x0,i[_0x499870(0x219)])(t[_0x499870(0x2d5)])['t'](_0x499870(0x282),''+_0x2a0b4d)}),(0x0,c['jsx'])(X,{})]});}function ge(){const _0x4ae34f=_0x54a253;let _0x34acaa=(0x0,i[_0x4ae34f(0x219)])(q),_0x3725f7=(0x0,i[_0x4ae34f(0x219)])(t['LocaleService']);function _0x4595ea(){const _0x5b6711=_0x4ae34f;_0x34acaa[_0x5b6711(0x2d8)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x4595ea,'children':_0x3725f7['t'](_0x4ae34f(0x1cb))});}function _e(){const _0x3c7c33=_0x54a253;let {count:_0x346c18,done:_0x335a5c}=(0x0,i[_0x3c7c33(0x348)])((0x0,i['useDependency'])(q)[_0x3c7c33(0x2bd)]),_0x2cebc7=_0x346c18>0x0?_0x335a5c/_0x346c18:0x0;return(0x0,c[_0x3c7c33(0x307)])('div',{'className':_0x3c7c33(0x2a8),'children':(0x0,c[_0x3c7c33(0x307)])(_0x3c7c33(0x211),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x3c7c33(0x276)](_0x2cebc7*0x64)+'%'}})});}function ve(){const _0x40286b=_0x54a253;return(0x0,c[_0x40286b(0x1e6)])(_0x40286b(0x211),{'className':_0x40286b(0x1dd),'children':[(0x0,c[_0x40286b(0x307)])(_0x40286b(0x1e2),{'className':_0x40286b(0x245),'children':(0x0,i['useDependency'])(t['LocaleService'])['t']('exchange-client.wait')}),(0x0,c[_0x40286b(0x307)])(_0x40286b(0x211),{'className':_0x40286b(0x25a),'children':(0x0,c[_0x40286b(0x307)])(_e,{})}),(0x0,c['jsx'])(ge,{})]});}const ye={0x1:(0x0,c[_0x54a253(0x307)])(r['SuccessIcon'],{'className':'univer-text-green-500'}),0x0:(0x0,c['jsx'])(r[_0x54a253(0x295)],{'className':_0x54a253(0x206)}),0x2:(0x0,c['jsx'])(r[_0x54a253(0x35e)],{'className':'univer-text-red-500'})};function Z(){const _0x16fa19=_0x54a253;let _0x3c5854=(0x0,i[_0x16fa19(0x219)])(W),_0xdebac4=(0x0,i[_0x16fa19(0x219)])(t[_0x16fa19(0x2d5)]),_0x59dbf8=(0x0,i[_0x16fa19(0x348)])(_0x3c5854[_0x16fa19(0x1ed)],0x0),_0x18747d=(0x0,i['useObservable'])(_0x3c5854['visible$'],!0x1),_0xb976cb=(0x0,i[_0x16fa19(0x348)])(_0x3c5854[_0x16fa19(0x32e)],[]);function _0x47c259(){const _0x12f2a9=_0x16fa19;_0x3c5854[_0x12f2a9(0x296)]();}function _0xecc1df(_0x193098){const _0x4e2c74=_0x16fa19;switch(_0x193098){case 0x1:return _0xdebac4['t'](_0x4e2c74(0x249));case 0x0:return _0xdebac4['t'](_0x4e2c74(0x24d));case 0x2:return _0xdebac4['t'](_0x4e2c74(0x2e5));default:return'';}}return _0x18747d&&(0x0,c['jsxs'])('div',{'className':_0x16fa19(0x2d7),'children':[(0x0,c[_0x16fa19(0x1e6)])(_0x16fa19(0x211),{'className':_0x16fa19(0x1f6),'children':[(0x0,c[_0x16fa19(0x1e6)])(_0x16fa19(0x1e2),{'className':_0x16fa19(0x1fb),'children':[(0x0,c[_0x16fa19(0x307)])(_0x16fa19(0x1e2),{'className':_0x16fa19(0x311),'children':ye[_0x59dbf8]}),(0x0,c[_0x16fa19(0x307)])(_0x16fa19(0x1e2),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0xecc1df(_0x59dbf8)})]}),(0x0,c['jsx'])('span',{'className':_0x16fa19(0x2cd),'onClick':_0x47c259,'children':(0x0,c[_0x16fa19(0x307)])(r[_0x16fa19(0x1e8)],{})})]}),(0x0,c[_0x16fa19(0x1e6)])(_0x16fa19(0x211),{'children':[_0x59dbf8===0x0&&(0x0,c['jsx'])(ve,{}),_0x59dbf8===0x2&&(0x0,c[_0x16fa19(0x307)])(me,{}),_0xb976cb[_0x16fa19(0x1ec)]>0x0&&(0x0,c[_0x16fa19(0x307)])(fe,{'list':_0xb976cb}),_0x59dbf8===0x1&&(0x0,c[_0x16fa19(0x307)])(he,{'count':_0xb976cb[_0x16fa19(0x1ec)]})]})]});}let Q=class extends t[_0x54a253(0x221)]{constructor(_0x2dafd5,_0x477fc6){const _0x395e71=_0x54a253;super(),this['_injector']=_0x2dafd5,this[_0x395e71(0x286)]=_0x477fc6,this[_0x395e71(0x332)]();}['_registerUIParts'](){const _0x9a53b5=_0x54a253;this[_0x9a53b5(0x20f)](this[_0x9a53b5(0x286)][_0x9a53b5(0x2cc)](i[_0x9a53b5(0x218)][_0x9a53b5(0x354)],()=>(0x0,i['connectInjector'])(Z,this[_0x9a53b5(0x34f)])));}};Q=R([L(0x0,(0x0,t[_0x54a253(0x2d6)])(t['Injector'])),L(0x1,i[_0x54a253(0x243)])],Q);let $=class extends t[_0x54a253(0x322)]{constructor(_0x1d1922=h,_0x2f8d60,_0x543b02){const _0x3c8b36=_0x54a253;super(),this['_config']=_0x1d1922,this[_0x3c8b36(0x34f)]=_0x2f8d60,this[_0x3c8b36(0x2fe)]=_0x543b02;let {..._0x43ea9f}=(0x0,t['merge'])({},h,this[_0x3c8b36(0x2a4)]);this['_configService'][_0x3c8b36(0x2c2)](m,_0x43ea9f);}[_0x54a253(0x297)](){const _0x358bf0=_0x54a253;(0x0,t[_0x358bf0(0x336)])(this[_0x358bf0(0x34f)],[[U],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[z,{'useClass':B}],[W,{'useClass':de}]]);}['onReady'](){const _0x227ac0=_0x54a253;(0x0,t[_0x227ac0(0x2c9)])(this[_0x227ac0(0x34f)],[[U],[Q],[q]]);}};I($,'pluginName',_0x54a253(0x2f6)),I($,_0x54a253(0x272),f),I($,_0x54a253(0x308),p),$=R([(0x0,t[_0x54a253(0x226)])(e[_0x54a253(0x342)],n[_0x54a253(0x32a)]),L(0x1,(0x0,t[_0x54a253(0x2d6)])(t[_0x54a253(0x23b)])),L(0x2,t[_0x54a253(0x27e)])],$);function be(_0x92c550,_0x1fc4a5){const _0xfd8710=_0x54a253;let _0x877477=_0x92c550[_0xfd8710(0x30e)](t[_0xfd8710(0x323)])[_0xfd8710(0x28b)](_0x1fc4a5);return!_0x877477||!_0x92c550[_0xfd8710(0x23e)](u[_0xfd8710(0x340)])||!_0x92c550[_0xfd8710(0x23e)](u[_0xfd8710(0x1e5)])?!0x1:_0x92c550[_0xfd8710(0x30e)](u[_0xfd8710(0x340)])['isUnitLoadedFromServer'](_0x877477);}function _0x3c53(_0x5dea88,_0x3eedf4){_0x5dea88=_0x5dea88-0x1c2;const _0x97feb4=_0x97fe();let _0x3c5320=_0x97feb4[_0x5dea88];return _0x3c5320;}function xe(_0x5b2b8a){const _0x2010c8=_0x54a253;let _0x1c133b=_0x5b2b8a['workbook'];if(!_0x1c133b)return null;let _0x46c232={};_0x1c133b[_0x2010c8(0x2e3)]&&Object['keys'](_0x1c133b[_0x2010c8(0x2e3)])[_0x2010c8(0x346)](_0x15c2f6=>{const _0x5e8496=_0x2010c8;let _0x1462d6=_0x1c133b[_0x5e8496(0x2e3)][_0x15c2f6];_0x46c232[_0x15c2f6]={..._0x1462d6,'originalMeta':(0x0,u[_0x5e8496(0x1f3)])(u[_0x5e8496(0x2af)][_0x5e8496(0x27f)](_0x1462d6[_0x5e8496(0x367)]))};});let _0x7fa0c=(0x0,u['b64EncodeUnicode'])(u[_0x2010c8(0x2af)]['decode'](_0x1c133b[_0x2010c8(0x367)]));return{..._0x5b2b8a,'workbook':{..._0x1c133b,'originalMeta':_0x7fa0c,'sheets':_0x46c232},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function Se(_0x504bd9){const _0x5b2c93=_0x54a253;let _0x4370ad={};return _0x504bd9[_0x5b2c93(0x346)](_0x1f301f=>{const _0x1fc9d7=_0x5b2c93;_0x4370ad[_0x1f301f['id']]={..._0x1f301f,'data':(0x0,u[_0x1fc9d7(0x1f3)])(u[_0x1fc9d7(0x2af)]['decode'](_0x1f301f[_0x1fc9d7(0x256)]))};}),_0x4370ad;}var Ce=class{constructor(){I(this,'_sheetBlockCache',new Map());}[_0x54a253(0x2da)](){const _0x4bb36=_0x54a253;return Promise[_0x4bb36(0x27b)]({'snapshot':{'unitID':'','type':t[_0x4bb36(0x251)][_0x4bb36(0x2f7)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x54a253(0x357)](_0x354362,_0x785314){const _0x2f0f30=_0x54a253;let _0x11ed86=this[_0x2f0f30(0x1c9)]['get'](_0x785314[_0x2f0f30(0x1fa)]);return Promise[_0x2f0f30(0x27b)]({'block':_0x11ed86,'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x54a253(0x287)](_0x38f9f0,_0x253213){const _0x314c85=_0x54a253;let _0x104252=this[_0x314c85(0x1c9)][_0x314c85(0x30e)](_0x253213[_0x314c85(0x1fa)]);return Promise[_0x314c85(0x27b)]({'block':_0x104252===void 0x0?void 0x0:{..._0x104252,'data':JSON['parse'](u[_0x314c85(0x2af)][_0x314c85(0x27f)](_0x104252['data']))},'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x54a253(0x309)](){const _0x3c00fb=_0x54a253;return Promise['resolve']({'changesets':[],'error':{'code':s[_0x3c00fb(0x2b3)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x3f4cd5=_0x54a253;return Promise['resolve']({'resources':{},'error':{'code':s[_0x3f4cd5(0x2b3)]['OK'],'message':''}});}[_0x54a253(0x268)](){const _0x52e17f=_0x54a253;return Promise[_0x52e17f(0x27b)]({'error':{'code':s[_0x52e17f(0x2b3)]['OK'],'message':''}});}[_0x54a253(0x229)](){const _0x16fda0=_0x54a253;return Promise[_0x16fda0(0x27b)]({'error':{'code':s[_0x16fda0(0x2b3)]['OK'],'message':''}});}['saveSheetBlock'](_0xddf3a6,_0x1af4ea){const _0x536583=_0x54a253;let {block:_0x325bb0}=_0x1af4ea;return _0x325bb0?(this[_0x536583(0x1c9)][_0x536583(0x352)](_0x325bb0['id'],_0x325bb0),Promise['resolve']({'error':{'code':s[_0x536583(0x2b3)]['OK'],'message':''},'blockID':_0x325bb0['id']})):Promise[_0x536583(0x27b)]({'error':{'code':s[_0x536583(0x2b3)][_0x536583(0x1f8)],'message':_0x536583(0x222)},'blockID':''});}['saveChangeset'](){const _0xd4f460=_0x54a253;return Promise['resolve']({'error':{'code':s[_0xd4f460(0x2b3)]['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x58409=_0x54a253;return Promise[_0x58409(0x27b)]({'error':void 0x0,'fileMetaId':''});}[_0x54a253(0x1c8)](){const _0x5ae687=_0x54a253;return Promise[_0x5ae687(0x27b)]({'error':void 0x0,'latestReqID':0x0});}};exports['ClientSnapshotServerService']=Ce,exports[_0x54a253(0x1f9)]=V,exports[_0x54a253(0x26e)]=ue,exports[_0x54a253(0x2a5)]=le,exports[_0x54a253(0x32b)]=ce,exports[_0x54a253(0x1cc)]=se,exports[_0x54a253(0x285)]=q,exports[_0x54a253(0x204)]=G,exports[_0x54a253(0x25d)]=oe,Object[_0x54a253(0x33a)](exports,_0x54a253(0x366),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x54a253(0x356)]=be,exports['transformSheetBlockMetaToString']=Se,exports[_0x54a253(0x2c1)]=xe;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xb38427=_0x471c;(function(_0x4773df,_0xd61f5d){const _0x326ee2=_0x471c,_0x36e4af=_0x4773df();while(!![]){try{const _0x5280dc=parseInt(_0x326ee2(0x109))/0x1*(parseInt(_0x326ee2(0xfb))/0x2)+-parseInt(_0x326ee2(0x107))/0x3*(-parseInt(_0x326ee2(0xf2))/0x4)+-parseInt(_0x326ee2(0x101))/0x5*(parseInt(_0x326ee2(0x108))/0x6)+parseInt(_0x326ee2(0xf5))/0x7*(-parseInt(_0x326ee2(0xf4))/0x8)+parseInt(_0x326ee2(0xf9))/0x9+-parseInt(_0x326ee2(0x10a))/0xa*(parseInt(_0x326ee2(0x102))/0xb)+-parseInt(_0x326ee2(0xff))/0xc*(parseInt(_0x326ee2(0xfa))/0xd);if(_0x5280dc===_0xd61f5d)break;else _0x36e4af['push'](_0x36e4af['shift']());}catch(_0x49c53){_0x36e4af['push'](_0x36e4af['shift']());}}}(_0x2d87,0x6bf9d));const e={'exchange-client':{'uploading':_0xb38427(0xf1),'uploadSuccess':_0xb38427(0xfd),'uploadSuccessTip':_0xb38427(0x106),'downloading':_0xb38427(0xf8),'downloadSuccess':_0xb38427(0xfc),'unknownMistake':_0xb38427(0x103),'networkError':'خطأ\x20في\x20الشبكة','tooLarge':_0xb38427(0x105),'internalError':_0xb38427(0x10b),'interrupt':_0xb38427(0x100),'fileTypeError':_0xb38427(0x104),'wait':_0xb38427(0xf3),'cancel':'إلغاء','confirm':_0xb38427(0xf6),'uploadAgain':_0xb38427(0xf7)}};function _0x2d87(){const _0x17d9d=['خطأ\x20داخلي\x20غير\x20معروف','جارٍ\x20الرفع','8buIzTU','يرجى\x20الانتظار...','1000SzKenH','4200jwKvCx','تأكيد','إعادة\x20الرفع','جارٍ\x20التحميل','869436SBvpTQ','8021PzEdLA','1680412eFXKeS','تم\x20التحميل\x20بنجاح','تم\x20رفع\x20الملف\x20بنجاح','exports','5076rlfJwk','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','583650kCfqvm','66fLvKZV','خطأ\x20غير\x20معروف','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','البيانات\x20كبيرة\x20جداً','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','324108dYJOjp','12TUmwOT','1XANVzD','235270uNOuQp'];_0x2d87=function(){return _0x17d9d;};return _0x2d87();}function _0x471c(_0x3e5f09,_0x5e4c14){_0x3e5f09=_0x3e5f09-0xf1;const _0x2d87f9=_0x2d87();let _0x471c27=_0x2d87f9[_0x3e5f09];return _0x471c27;}module[_0xb38427(0xfe)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2d5d8c=_0x2064;(function(_0xf32b8a,_0x239088){const _0x27ef51=_0x2064,_0xa35571=_0xf32b8a();while(!![]){try{const _0x38d7d1=-parseInt(_0x27ef51(0x82))/0x1*(parseInt(_0x27ef51(0x7a))/0x2)+parseInt(_0x27ef51(0x71))/0x3+parseInt(_0x27ef51(0x6e))/0x4*(parseInt(_0x27ef51(0x6f))/0x5)+-parseInt(_0x27ef51(0x81))/0x6+parseInt(_0x27ef51(0x7c))/0x7*(parseInt(_0x27ef51(0x75))/0x8)+parseInt(_0x27ef51(0x70))/0x9*(parseInt(_0x27ef51(0x7b))/0xa)+-parseInt(_0x27ef51(0x7e))/0xb;if(_0x38d7d1===_0x239088)break;else _0xa35571['push'](_0xa35571['shift']());}catch(_0x491190){_0xa35571['push'](_0xa35571['shift']());}}}(_0x3235,0x36163));const e={'exchange-client':{'uploading':_0x2d5d8c(0x7f),'uploadSuccess':_0x2d5d8c(0x6d),'uploadSuccessTip':_0x2d5d8c(0x76),'downloading':_0x2d5d8c(0x80),'downloadSuccess':_0x2d5d8c(0x72),'unknownMistake':_0x2d5d8c(0x79),'networkError':_0x2d5d8c(0x83),'tooLarge':_0x2d5d8c(0x7d),'internalError':_0x2d5d8c(0x73),'interrupt':_0x2d5d8c(0x74),'fileTypeError':'El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','wait':_0x2d5d8c(0x77),'cancel':_0x2d5d8c(0x84),'confirm':'Confirmar','uploadAgain':_0x2d5d8c(0x78)}};function _0x2064(_0xd65028,_0x4b75bd){_0xd65028=_0xd65028-0x6d;const _0x32350e=_0x3235();let _0x20649b=_0x32350e[_0xd65028];return _0x20649b;}function _0x3235(){const _0x203c65=['1682mnaAlb','428070KsfKBd','42rPTlLJ','Les\x20dades\x20són\x20massa\x20grans','3130677IiGvig','Pujant','Descarregant','2018388LqZuuP','94eWSxcf','Error\x20de\x20xarxa','Cancel·lar','Fitxer\x20pujat\x20correctament','1254068fCpwBU','5sCJKgQ','90oxLBfP','421845sydnqe','Descàrrega\x20correcta','Error\x20intern\x20desconegut','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','52528haDAmz','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Espereu...','Tornar\x20a\x20pujar','Error\x20desconegut'];_0x3235=function(){return _0x203c65;};return _0x3235();}module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4413bc=_0x2f9a;(function(_0x2ceafb,_0x5e3f22){const _0x485de3=_0x2f9a,_0x39a2fa=_0x2ceafb();while(!![]){try{const _0x21b90a=parseInt(_0x485de3(0x163))/0x1+parseInt(_0x485de3(0x16b))/0x2*(parseInt(_0x485de3(0x15b))/0x3)+-parseInt(_0x485de3(0x15e))/0x4*(-parseInt(_0x485de3(0x161))/0x5)+-parseInt(_0x485de3(0x159))/0x6+parseInt(_0x485de3(0x16c))/0x7*(-parseInt(_0x485de3(0x16a))/0x8)+-parseInt(_0x485de3(0x15a))/0x9+-parseInt(_0x485de3(0x162))/0xa*(parseInt(_0x485de3(0x16d))/0xb);if(_0x21b90a===_0x5e3f22)break;else _0x39a2fa['push'](_0x39a2fa['shift']());}catch(_0x1228b6){_0x39a2fa['push'](_0x39a2fa['shift']());}}}(_0x5f17,0x948e4));function _0x2f9a(_0x3d42bb,_0x2fd9e2){_0x3d42bb=_0x3d42bb-0x158;const _0x5f1770=_0x5f17();let _0x2f9a4a=_0x5f1770[_0x3d42bb];return _0x2f9a4a;}const e={'exchange-client':{'uploading':_0x4413bc(0x169),'uploadSuccess':_0x4413bc(0x15d),'uploadSuccessTip':'{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','downloading':_0x4413bc(0x158),'downloadSuccess':'Download\x20erfolgreich','unknownMistake':_0x4413bc(0x167),'networkError':_0x4413bc(0x15c),'tooLarge':_0x4413bc(0x166),'internalError':'Interner\x20unbekannter\x20Fehler','interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0x4413bc(0x160),'wait':'Bitte\x20warten...','cancel':_0x4413bc(0x164),'confirm':_0x4413bc(0x165),'uploadAgain':_0x4413bc(0x168)}};function _0x5f17(){const _0x4bee62=['20xfsUgl','780683NCJaze','Abbrechen','Bestätigen','Daten\x20sind\x20zu\x20groß','Unbekannter\x20Fehler','Erneut\x20hochladen','Wird\x20hochgeladen','152fgXvzu','922280piBaQs','255157eIMuOC','2471458MIyVHy','Wird\x20heruntergeladen','265494TddNJq','8657298MfNzqf','6QcCukJ','Netzwerkfehler','Datei\x20erfolgreich\x20hochgeladen','4214468vQDDrW','exports','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','5YKJwxX'];_0x5f17=function(){return _0x4bee62;};return _0x5f17();}module[_0x4413bc(0x15f)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xd5a9(_0x1f9a3b,_0x3bd921){_0x1f9a3b=_0x1f9a3b-0xe3;const _0x3eae00=_0x3eae();let _0xd5a9aa=_0x3eae00[_0x1f9a3b];return _0xd5a9aa;}const _0x5e11e0=_0xd5a9;(function(_0x445492,_0x50d6b2){const _0x41cbab=_0xd5a9,_0x2f77eb=_0x445492();while(!![]){try{const _0x384035=parseInt(_0x41cbab(0xe6))/0x1*(parseInt(_0x41cbab(0xf7))/0x2)+parseInt(_0x41cbab(0xea))/0x3*(parseInt(_0x41cbab(0xf2))/0x4)+-parseInt(_0x41cbab(0xe9))/0x5*(-parseInt(_0x41cbab(0xef))/0x6)+-parseInt(_0x41cbab(0xf5))/0x7+-parseInt(_0x41cbab(0xf4))/0x8*(parseInt(_0x41cbab(0xed))/0x9)+parseInt(_0x41cbab(0xe5))/0xa*(parseInt(_0x41cbab(0xf6))/0xb)+parseInt(_0x41cbab(0xec))/0xc*(parseInt(_0x41cbab(0xe7))/0xd);if(_0x384035===_0x50d6b2)break;else _0x2f77eb['push'](_0x2f77eb['shift']());}catch(_0x5be628){_0x2f77eb['push'](_0x2f77eb['shift']());}}}(_0x3eae,0x5f248));const e={'exchange-client':{'uploading':_0x5e11e0(0xf0),'uploadSuccess':_0x5e11e0(0xeb),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':'Downloading','downloadSuccess':'Download\x20success','unknownMistake':'Unknown\x20mistake','networkError':_0x5e11e0(0xf1),'tooLarge':_0x5e11e0(0xf3),'internalError':'Internal\x20unknown\x20error','interrupt':_0x5e11e0(0xee),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':'Cancel','confirm':_0x5e11e0(0xe8),'uploadAgain':_0x5e11e0(0xe3)}};function _0x3eae(){const _0x2bf81c=['178417awOsQq','26CHaseq','Confirm','1405PrfwbM','1452UqcTaF','File\x20uploaded\x20successfully','4821324hhgCRI','6005295hZvCZV','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','834qzHUYs','Uploading','Network\x20error','8xVpHeT','Data\x20is\x20too\x20large','8oYxyEd','4036011QahgkZ','418XRufWH','2yJATVy','Upload\x20again','exports','160930KDSkkq'];_0x3eae=function(){return _0x2bf81c;};return _0x3eae();}module[_0x5e11e0(0xe4)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x45ae50=_0x4418;function _0x4418(_0x5832d4,_0xc73cb5){_0x5832d4=_0x5832d4-0xba;const _0x4efdd3=_0x4efd();let _0x4418bd=_0x4efdd3[_0x5832d4];return _0x4418bd;}function _0x4efd(){const _0x154ab7=['1687vbRFEH','Confirmar','Los\x20datos\x20son\x20demasiado\x20grandes','Subir\x20de\x20nuevo','6585770jgxBiW','2876430xWsODX','Espere...','1412154nAeqmS','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','Subiendo','exports','Error\x20desconocido','9584fpEYUt','Descargando','Error\x20interno\x20desconocido','Descarga\x20exitosa','568fVeZtS','818OqdRsp','Error\x20de\x20red','Cancelar','12891ROTbzu','1853KbHbnc','3478887BDpkUn'];_0x4efd=function(){return _0x154ab7;};return _0x4efd();}(function(_0x39e086,_0x3dfb6e){const _0x3f935a=_0x4418,_0xa53573=_0x39e086();while(!![]){try{const _0x493981=-parseInt(_0x3f935a(0xc9))/0x1*(-parseInt(_0x3f935a(0xc5))/0x2)+parseInt(_0x3f935a(0xc8))/0x3*(-parseInt(_0x3f935a(0xc4))/0x4)+-parseInt(_0x3f935a(0xd0))/0x5+parseInt(_0x3f935a(0xbb))/0x6+-parseInt(_0x3f935a(0xcb))/0x7*(parseInt(_0x3f935a(0xc0))/0x8)+parseInt(_0x3f935a(0xca))/0x9+parseInt(_0x3f935a(0xcf))/0xa;if(_0x493981===_0x3dfb6e)break;else _0xa53573['push'](_0xa53573['shift']());}catch(_0x51b144){_0xa53573['push'](_0xa53573['shift']());}}}(_0x4efd,0x89bd2));const e={'exchange-client':{'uploading':_0x45ae50(0xbd),'uploadSuccess':'Archivo\x20subido\x20exitosamente','uploadSuccessTip':'{0}\x20archivo(s)\x20subido(s)\x20exitosamente','downloading':_0x45ae50(0xc1),'downloadSuccess':_0x45ae50(0xc3),'unknownMistake':_0x45ae50(0xbf),'networkError':_0x45ae50(0xc6),'tooLarge':_0x45ae50(0xcd),'internalError':_0x45ae50(0xc2),'interrupt':'La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','fileTypeError':_0x45ae50(0xbc),'wait':_0x45ae50(0xba),'cancel':_0x45ae50(0xc7),'confirm':_0x45ae50(0xcc),'uploadAgain':_0x45ae50(0xce)}};module[_0x45ae50(0xbe)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5c40af=_0x3f85;(function(_0x383a39,_0x5a9897){const _0x3764c2=_0x3f85,_0x217fb1=_0x383a39();while(!![]){try{const _0x50fbde=-parseInt(_0x3764c2(0x170))/0x1*(-parseInt(_0x3764c2(0x173))/0x2)+parseInt(_0x3764c2(0x172))/0x3*(parseInt(_0x3764c2(0x16e))/0x4)+parseInt(_0x3764c2(0x169))/0x5+-parseInt(_0x3764c2(0x16b))/0x6*(-parseInt(_0x3764c2(0x171))/0x7)+-parseInt(_0x3764c2(0x179))/0x8*(-parseInt(_0x3764c2(0x16f))/0x9)+-parseInt(_0x3764c2(0x177))/0xa*(parseInt(_0x3764c2(0x176))/0xb)+-parseInt(_0x3764c2(0x167))/0xc;if(_0x50fbde===_0x5a9897)break;else _0x217fb1['push'](_0x217fb1['shift']());}catch(_0x487844){_0x217fb1['push'](_0x217fb1['shift']());}}}(_0x2153,0x67126));function _0x2153(){const _0x2eda73=['7RzjWkv','1274205CREVRH','2tAEKfS','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','لطفا\x20صبر\x20کنید...','11GPgnQf','7468400OKELoz','داده\x20خیلی\x20بزرگ\x20است','16ssrxCQ','خطای\x20ناشناخته','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','تایید','در\x20حال\x20بارگذاری','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','در\x20حال\x20دانلود','15296172dBIcZj','خطای\x20شبکه','1816160VrRJaX','لغو','3355710JJcQTE','بارگذاری\x20مجدد','دانلود\x20موفقیت\x20آمیز','4SxiumC','3453993yRRheJ','328897IIVacB'];_0x2153=function(){return _0x2eda73;};return _0x2153();}const e={'exchange-client':{'uploading':_0x5c40af(0x164),'uploadSuccess':_0x5c40af(0x17b),'uploadSuccessTip':_0x5c40af(0x165),'downloading':_0x5c40af(0x166),'downloadSuccess':_0x5c40af(0x16d),'unknownMistake':_0x5c40af(0x17a),'networkError':_0x5c40af(0x168),'tooLarge':_0x5c40af(0x178),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x5c40af(0x174),'wait':_0x5c40af(0x175),'cancel':_0x5c40af(0x16a),'confirm':_0x5c40af(0x17c),'uploadAgain':_0x5c40af(0x16c)}};function _0x3f85(_0x466b33,_0x4a8baf){_0x466b33=_0x466b33-0x164;const _0x2153a1=_0x2153();let _0x3f85ed=_0x2153a1[_0x466b33];return _0x3f85ed;}module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x20b199=_0x383c;(function(_0x26a248,_0x3aebae){const _0x150408=_0x383c,_0x592035=_0x26a248();while(!![]){try{const _0x24d060=parseInt(_0x150408(0x17b))/0x1+-parseInt(_0x150408(0x172))/0x2+-parseInt(_0x150408(0x173))/0x3+-parseInt(_0x150408(0x177))/0x4+parseInt(_0x150408(0x16d))/0x5*(-parseInt(_0x150408(0x17c))/0x6)+-parseInt(_0x150408(0x171))/0x7*(-parseInt(_0x150408(0x16f))/0x8)+parseInt(_0x150408(0x16c))/0x9;if(_0x24d060===_0x3aebae)break;else _0x592035['push'](_0x592035['shift']());}catch(_0x1ba81d){_0x592035['push'](_0x592035['shift']());}}}(_0x27e6,0x8d16b));function _0x383c(_0xcd4487,_0x5aad08){_0xcd4487=_0xcd4487-0x16b;const _0x27e6a6=_0x27e6();let _0x383cb5=_0x27e6a6[_0xcd4487];return _0x383cb5;}function _0x27e6(){const _0x42ad90=['2305792MeDNHF','650652EvnDWJ','exports','Erreur\x20inconnue','Erreur\x20interne\x20inconnue','4054568HEArGo','Téléchargement\x20réussi','Téléchargement','Erreur\x20réseau','242012rdAzkM','2379426NCXqGy','Téléchargement\x20en\x20cours','Confirmer','30126141HDEVhv','10RcUCVH','Les\x20données\x20sont\x20trop\x20volumineuses','94344dpdssM','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','98JkjuZQ'];_0x27e6=function(){return _0x42ad90;};return _0x27e6();}const e={'exchange-client':{'uploading':_0x20b199(0x17d),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x20b199(0x179),'downloadSuccess':_0x20b199(0x178),'unknownMistake':_0x20b199(0x175),'networkError':_0x20b199(0x17a),'tooLarge':_0x20b199(0x16e),'internalError':_0x20b199(0x176),'interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':_0x20b199(0x170),'wait':'Veuillez\x20patienter...','cancel':'Annuler','confirm':_0x20b199(0x16b),'uploadAgain':'Télécharger\x20à\x20nouveau'}};module[_0x20b199(0x174)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x5343aa=_0x3fff;(function(_0x2b7535,_0x373fc9){const _0x1d3416=_0x3fff,_0x190268=_0x2b7535();while(!![]){try{const _0x128f62=-parseInt(_0x1d3416(0x181))/0x1+-parseInt(_0x1d3416(0x179))/0x2*(-parseInt(_0x1d3416(0x189))/0x3)+-parseInt(_0x1d3416(0x180))/0x4*(parseInt(_0x1d3416(0x17d))/0x5)+parseInt(_0x1d3416(0x185))/0x6+parseInt(_0x1d3416(0x18a))/0x7*(-parseInt(_0x1d3416(0x186))/0x8)+-parseInt(_0x1d3416(0x183))/0x9*(parseInt(_0x1d3416(0x17b))/0xa)+parseInt(_0x1d3416(0x178))/0xb;if(_0x128f62===_0x373fc9)break;else _0x190268['push'](_0x190268['shift']());}catch(_0x465417){_0x190268['push'](_0x190268['shift']());}}}(_0x460d,0x552e3));function _0x3fff(_0x1ed112,_0x32d5c5){_0x1ed112=_0x1ed112-0x176;const _0x460d25=_0x460d();let _0x3fff4a=_0x460d25[_0x1ed112];return _0x3fff4a;}const e={'exchange-client':{'uploading':_0x5343aa(0x182),'uploadSuccess':_0x5343aa(0x187),'uploadSuccessTip':'{0}\x20file\x20berhasil\x20diunggah','downloading':_0x5343aa(0x17a),'downloadSuccess':'Unduhan\x20berhasil','unknownMistake':_0x5343aa(0x18b),'networkError':_0x5343aa(0x18d),'tooLarge':_0x5343aa(0x17c),'internalError':_0x5343aa(0x17f),'interrupt':_0x5343aa(0x184),'fileTypeError':_0x5343aa(0x176),'wait':_0x5343aa(0x177),'cancel':'Batal','confirm':_0x5343aa(0x17e),'uploadAgain':_0x5343aa(0x18c)}};function _0x460d(){const _0x2c4c13=['2125716niNxIJ','3760024hsmHfA','File\x20berhasil\x20diunggah','exports','1735077AhvAIp','7DnAYxf','Kesalahan\x20tidak\x20diketahui','Unggah\x20ulang','Kesalahan\x20jaringan','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','Harap\x20tunggu...','7323305jMBDGQ','2bxmuIy','Mengunduh','1987090ETCrkA','Data\x20terlalu\x20besar','1708535mtXsHW','Konfirmasi','Kesalahan\x20internal\x20tidak\x20diketahui','4oLnHgC','40373VUXsiU','Mengunggah','18kHgMYw','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal'];_0x460d=function(){return _0x2c4c13;};return _0x460d();}module[_0x5343aa(0x188)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5db8(){const _0x134ae5=['Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','58768jEQItN','434OCeBiK','Errore\x20sconosciuto','Download\x20in\x20corso','Attendi...','18KiiSvR','3937788uxiFvV','Annulla','{0}\x20file\x20caricati\x20con\x20successo','5EZXFUY','Download\x20riuscito','Carica\x20di\x20nuovo','Errore\x20di\x20rete','1451756SkQGMv','29840dtGjaI','File\x20caricato\x20con\x20successo','2877684Xtfjrn','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','2275400wqdLWM','114213NrlfIe','I\x20dati\x20sono\x20troppo\x20grandi','Errore\x20interno\x20sconosciuto','exports'];_0x5db8=function(){return _0x134ae5;};return _0x5db8();}const _0x1ada20=_0x2c0c;(function(_0x775bff,_0x6163f3){const _0xaf19c7=_0x2c0c,_0x4781ed=_0x775bff();while(!![]){try{const _0x38fdcb=-parseInt(_0xaf19c7(0x11f))/0x1*(parseInt(_0xaf19c7(0x110))/0x2)+-parseInt(_0xaf19c7(0x115))/0x3+parseInt(_0xaf19c7(0x10f))/0x4+parseInt(_0xaf19c7(0x10b))/0x5*(parseInt(_0xaf19c7(0x112))/0x6)+parseInt(_0xaf19c7(0x11b))/0x7*(-parseInt(_0xaf19c7(0x11a))/0x8)+parseInt(_0xaf19c7(0x108))/0x9+-parseInt(_0xaf19c7(0x114))/0xa;if(_0x38fdcb===_0x6163f3)break;else _0x4781ed['push'](_0x4781ed['shift']());}catch(_0x176dda){_0x4781ed['push'](_0x4781ed['shift']());}}}(_0x5db8,0x46e9e));const e={'exchange-client':{'uploading':'Caricamento\x20in\x20corso','uploadSuccess':_0x1ada20(0x111),'uploadSuccessTip':_0x1ada20(0x10a),'downloading':_0x1ada20(0x11d),'downloadSuccess':_0x1ada20(0x10c),'unknownMistake':_0x1ada20(0x11c),'networkError':_0x1ada20(0x10e),'tooLarge':_0x1ada20(0x116),'internalError':_0x1ada20(0x117),'interrupt':_0x1ada20(0x113),'fileTypeError':_0x1ada20(0x119),'wait':_0x1ada20(0x11e),'cancel':_0x1ada20(0x109),'confirm':'Conferma','uploadAgain':_0x1ada20(0x10d)}};function _0x2c0c(_0x1362cc,_0x83c9e3){_0x1362cc=_0x1362cc-0x108;const _0x5db875=_0x5db8();let _0x2c0cdd=_0x5db875[_0x1362cc];return _0x2c0cdd;}module[_0x1ada20(0x118)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5b4b7c=_0x44e2;(function(_0x2d0e2e,_0x28dc6a){const _0x3e9718=_0x44e2,_0x43bee3=_0x2d0e2e();while(!![]){try{const _0x1a91b0=parseInt(_0x3e9718(0x148))/0x1+parseInt(_0x3e9718(0x13b))/0x2*(-parseInt(_0x3e9718(0x139))/0x3)+-parseInt(_0x3e9718(0x14b))/0x4*(parseInt(_0x3e9718(0x142))/0x5)+-parseInt(_0x3e9718(0x13a))/0x6*(-parseInt(_0x3e9718(0x14c))/0x7)+parseInt(_0x3e9718(0x149))/0x8*(-parseInt(_0x3e9718(0x145))/0x9)+parseInt(_0x3e9718(0x138))/0xa*(-parseInt(_0x3e9718(0x146))/0xb)+parseInt(_0x3e9718(0x14d))/0xc;if(_0x1a91b0===_0x28dc6a)break;else _0x43bee3['push'](_0x43bee3['shift']());}catch(_0x31ad19){_0x43bee3['push'](_0x43bee3['shift']());}}}(_0x251c,0x61ef8));const e={'exchange-client':{'uploading':_0x5b4b7c(0x144),'uploadSuccess':'ファイルが正常にアップロードされました','uploadSuccessTip':_0x5b4b7c(0x141),'downloading':'ダウンロード中','downloadSuccess':_0x5b4b7c(0x143),'unknownMistake':_0x5b4b7c(0x13c),'networkError':_0x5b4b7c(0x147),'tooLarge':_0x5b4b7c(0x140),'internalError':_0x5b4b7c(0x14a),'interrupt':_0x5b4b7c(0x13d),'fileTypeError':'選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','wait':_0x5b4b7c(0x13e),'cancel':'キャンセル','confirm':'確認','uploadAgain':_0x5b4b7c(0x13f)}};function _0x251c(){const _0x2b99ec=['132956TIjQZN','6419yYIzEm','24607992wStMnR','3261970BrAMuu','3AkxnBx','186VUFhfc','1584778HQKFFH','不明なエラー','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','お待ちください...','再度アップロード','データが大きすぎます','{0}\x20個のファイルが正常にアップロードされました','20ZaGcNn','ダウンロードが完了しました','アップロード中','22077GjOHWI','22QnPBwT','ネットワークエラー','15081uNdkvr','376XciUdY','内部エラーが発生しました'];_0x251c=function(){return _0x2b99ec;};return _0x251c();}function _0x44e2(_0x1a0bda,_0x31e3a8){_0x1a0bda=_0x1a0bda-0x138;const _0x251cbb=_0x251c();let _0x44e2c9=_0x251cbb[_0x1a0bda];return _0x44e2c9;}module['exports']=e;
|