@univerjs-pro/exchange-client 1.0.1 → 1.0.2
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.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/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 +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3dae(){const _0xd10d35=['1397BbUeaT','downloadFile','IExchangeService','6PTuIOK','1817604ZthQee','get','extend','7QobBqH','FUniver','4mIZxKt','3187359uOiRNL','514906axPzgU','1079510IlcvdX','335760YSdbPa','76170uClgIu','241661JRrhAp'];_0x3dae=function(){return _0xd10d35;};return _0x3dae();}const _0x3db144=_0x4656;(function(_0x356708,_0x1f2fc3){const _0x132b08=_0x4656,_0x39e9cb=_0x356708();while(!![]){try{const _0x2be755=parseInt(_0x132b08(0xb1))/0x1+parseInt(_0x132b08(0xad))/0x2*(-parseInt(_0x132b08(0xa5))/0x3)+parseInt(_0x132b08(0xab))/0x4*(parseInt(_0x132b08(0xae))/0x5)+-parseInt(_0x132b08(0xa6))/0x6*(parseInt(_0x132b08(0xa9))/0x7)+parseInt(_0x132b08(0xaf))/0x8+-parseInt(_0x132b08(0xac))/0x9+parseInt(_0x132b08(0xb0))/0xa*(parseInt(_0x132b08(0xa2))/0xb);if(_0x2be755===_0x1f2fc3)break;else _0x39e9cb['push'](_0x39e9cb['shift']());}catch(_0x23ac57){_0x39e9cb['push'](_0x39e9cb['shift']());}}}(_0x3dae,0x47ff5));function _0x4656(_0x1d533d,_0x20dfbe){_0x1d533d=_0x1d533d-0xa2;const _0x3daee8=_0x3dae();let _0x4656b3=_0x3daee8[_0x1d533d];return _0x4656b3;}let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core/facade');var n=class extends t[_0x3db144(0xaa)]{[_0x3db144(0xa3)](_0x59f271,_0x352f42,_0x4289de){const _0xa796b6=_0x3db144;this['_injector'][_0xa796b6(0xa7)](e[_0xa796b6(0xa4)])[_0xa796b6(0xa3)](_0x59f271,_0x352f42,_0x4289de);}};t[_0x3db144(0xaa)][_0x3db144(0xa8)](n);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x23ffaf=_0x45b3;(function(_0x268672,_0x2201cb){const _0x5ccdb8=_0x45b3,_0xa075d4=_0x268672();while(!![]){try{const _0x127f34=-parseInt(_0x5ccdb8(0x23b))/0x1*(-parseInt(_0x5ccdb8(0x1b3))/0x2)+parseInt(_0x5ccdb8(0x1bc))/0x3*(-parseInt(_0x5ccdb8(0xd9))/0x4)+-parseInt(_0x5ccdb8(0x233))/0x5*(parseInt(_0x5ccdb8(0x25a))/0x6)+parseInt(_0x5ccdb8(0x1f4))/0x7+parseInt(_0x5ccdb8(0xf9))/0x8*(-parseInt(_0x5ccdb8(0x22f))/0x9)+parseInt(_0x5ccdb8(0x213))/0xa*(parseInt(_0x5ccdb8(0x1da))/0xb)+parseInt(_0x5ccdb8(0x1cb))/0xc*(-parseInt(_0x5ccdb8(0x237))/0xd);if(_0x127f34===_0x2201cb)break;else _0xa075d4['push'](_0xa075d4['shift']());}catch(_0x2fa588){_0xa075d4['push'](_0xa075d4['shift']());}}}(_0x5efa,0xbf411),Object[_0x23ffaf(0x163)](exports,Symbol['toStringTag'],{'value':_0x23ffaf(0x259)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),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='@univerjs-pro/exchange-client',p=_0x23ffaf(0x168);const m='exchange-client.config',h={},g='application/vnd.openxmlformats-officedocument.wordprocessingml.document',_=_0x23ffaf(0x1d0),v=_0x23ffaf(0x196),y=_0x23ffaf(0x14f),b='text/csv',x=_0x23ffaf(0x223),S=_0x23ffaf(0x227),C=_0x23ffaf(0xaf),w=_0x23ffaf(0x1d4),ee={[t['UniverInstanceType'][_0x23ffaf(0x198)]]:[''],[t['UniverInstanceType'][_0x23ffaf(0x10b)]]:[_,g],[t[_0x23ffaf(0x23c)]['UNIVER_SHEET']]:[v,y,b,x],[t[_0x23ffaf(0x23c)][_0x23ffaf(0x19a)]]:[S,C],[t[_0x23ffaf(0x23c)]['UNIVER_PDF']]:[w],[t['UniverInstanceType'][_0x23ffaf(0x1a8)]]:[v,y,b,x],[t[_0x23ffaf(0x23c)][_0x23ffaf(0xd0)]]:[''],[t[_0x23ffaf(0x23c)][_0x23ffaf(0xf2)]]:[''],[t[_0x23ffaf(0x23c)][_0x23ffaf(0xc6)]]:['']},T={[_]:_0x23ffaf(0x1a6),[g]:_0x23ffaf(0xed),[v]:_0x23ffaf(0xe4),[y]:_0x23ffaf(0x15f),[b]:_0x23ffaf(0x230),[x]:_0x23ffaf(0x1f3),[S]:_0x23ffaf(0xe3),[C]:_0x23ffaf(0x13c),[w]:_0x23ffaf(0xcc)},E=Object[_0x23ffaf(0xd7)](Object['entries'](ee)[_0x23ffaf(0x249)](([_0xceac84,_0x16d744])=>[_0xceac84,_0x16d744['map'](_0x4918c2=>T[_0x4918c2])[_0x23ffaf(0xfa)](Boolean)]));function te(_0x13c720,_0x4c0653,_0x583fa9){const _0x13ef59=_0x23ffaf;let _0x57919f=document['createElement']('a');_0x57919f[_0x13ef59(0x181)]=_0x13c720,_0x57919f[_0x13ef59(0x1e4)][_0x13ef59(0xda)]='none',_0x57919f[_0x13ef59(0x1f1)]=_0x4c0653+'.'+_0x583fa9,document[_0x13ef59(0x136)]['appendChild'](_0x57919f),_0x57919f[_0x13ef59(0x220)](),document[_0x13ef59(0x136)][_0x13ef59(0x139)](_0x57919f);}function ne(_0x395b8d,_0x1ff8bf){const _0x4056a6=_0x23ffaf;var _0x51c1ff;let _0x1e909a=(_0x51c1ff=_0x395b8d[_0x4056a6(0x201)][_0x4056a6(0x172)]('.')[_0x4056a6(0x173)]())==null?void 0x0:_0x51c1ff[_0x4056a6(0x1db)]();return!!(_0x1e909a&&(E[_0x1ff8bf]??[])['includes'](_0x1e909a));}function D(_0x425968,_0x54eb2e=!0x1){const _0x4da414=_0x23ffaf;let _0x3d724e=_0x425968[_0x4da414(0xcd)](_0x296b1c=>E[_0x296b1c]??[])[_0x4da414(0x249)](_0x1340ba=>'.'+_0x1340ba)[_0x4da414(0x23d)](',');return new Promise(_0x1d7c1c=>{const _0x5088f3=_0x4da414;let _0x265376=document['createElement'](_0x5088f3(0x165));_0x265376[_0x5088f3(0x1d1)]=_0x5088f3(0x118),_0x265376['accept']=_0x3d724e,_0x265376[_0x5088f3(0xef)]=_0x54eb2e;let _0x474444=()=>{var _0x4f4389;return _0x1d7c1c((_0x4f4389=_0x265376['files'])!=null&&_0x4f4389['length']?_0x265376['files']:null);};_0x265376['addEventListener'](_0x5088f3(0x1c3),_0x474444,{'once':!0x0}),_0x265376['addEventListener'](_0x5088f3(0x1c9),_0x474444,{'once':!0x0}),_0x265376[_0x5088f3(0x220)]();});}async function O(_0x1cdf88,_0x3905e6){const _0x3ff86d=_0x23ffaf;try{return await k(_0x1cdf88,_0x3905e6);}catch(_0x18a10c){console[_0x3ff86d(0x193)](_0x3ff86d(0x108),_0x18a10c);return;}}async function k(_0x2525f3,_0x30cb3b,_0x13e69a){const _0x3946a7=_0x23ffaf;var _0x27c961,_0x47a011;let _0x2e6dda=_0x13e69a?await re(_0x2525f3,_0x30cb3b,_0x13e69a):await _0x30cb3b[_0x3946a7(0x182)](_0x2525f3,{'responseType':_0x3946a7(0xdb)}),_0x11cbda=_0x2e6dda[_0x3946a7(0x136)],_0x1fdf53=((_0x27c961=_0x2e6dda[_0x3946a7(0x238)][_0x3946a7(0x182)]('Content-Type'))==null?void 0x0:_0x27c961[_0x3946a7(0x23d)](',\x20'))??'application/octet-stream',_0x3874da=_0x3946a7(0xe1)+(T[_0x1fdf53]||_0x3946a7(0x15f)),_0x1d21e6=(_0x47a011=_0x2e6dda[_0x3946a7(0x238)][_0x3946a7(0x182)](_0x3946a7(0xfc)))==null?void 0x0:_0x47a011[_0x3946a7(0x23d)](',\x20');if(_0x1d21e6){let _0x506aae=_0x1d21e6['match'](/filename=(.+)/);_0x506aae&&_0x506aae[0x1]&&(_0x3874da=_0x506aae[0x1]);}else _0x3874da=ie(_0x2525f3)||_0x3874da;return new File([_0x11cbda],_0x3874da,{'type':_0x1fdf53});}function re(_0x40cc47,_0x3e9682,_0x171874){return new Promise((_0x1186f5,_0x39c91e)=>{const _0x54bdf7=_0x45b3;let _0x4d60e1=!0x1,_0x395ff5,_0x17d94f=()=>_0x171874[_0x54bdf7(0x21d)](_0x54bdf7(0x1ac),_0x504fc5),_0x504fc5=()=>{const _0xf491e7=_0x54bdf7;if(_0x4d60e1)return;_0x4d60e1=!0x0,_0x395ff5==null||_0x395ff5[_0xf491e7(0x1ca)](),_0x17d94f();let _0x5b646f=Error(_0xf491e7(0x23f));_0x5b646f['name']=_0xf491e7(0x25e),_0x39c91e(_0x5b646f);};if(_0x171874[_0x54bdf7(0x17f)](_0x54bdf7(0x1ac),_0x504fc5,{'once':!0x0}),_0x171874[_0x54bdf7(0x15d)]){_0x504fc5();return;}_0x395ff5=_0x3e9682['stream'](_0x54bdf7(0x21e),_0x40cc47,{'responseType':_0x54bdf7(0xdb)})[_0x54bdf7(0x20c)]({'next'(_0x192c06){const _0x2b20b4=_0x54bdf7;_0x4d60e1||_0x192c06['type']!==n['HTTPEventType'][_0x2b20b4(0x129)]||(_0x4d60e1=!0x0,_0x17d94f(),_0x395ff5==null||_0x395ff5[_0x2b20b4(0x1ca)](),_0x1186f5(_0x192c06));},'error'(_0x4f154c){_0x4d60e1||(_0x4d60e1=!0x0,_0x17d94f(),_0x39c91e(_0x4f154c));},'complete'(){_0x4d60e1||(_0x4d60e1=!0x0,_0x17d94f(),_0x39c91e(Error('File\x20request\x20completed\x20without\x20a\x20response.')));}}),_0x4d60e1&&_0x395ff5[_0x54bdf7(0x1ca)]();});}function ie(_0x5342e1){const _0x556c20=_0x23ffaf;try{return new URL(_0x5342e1)[_0x556c20(0x125)]['split']('/')[_0x556c20(0x173)]();}catch(_0x46c157){console[_0x556c20(0x193)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x46c157);return;}}function ae(_0x38dff5){const _0x2824fa=_0x23ffaf;let _0x10c802=new Blob([_0x38dff5[_0x2824fa(0x10e)]],{'type':_0x2824fa(0x17a)});return new File([_0x10c802],_0x2824fa(0x16c));}function A(_0x5c996a,_0x162da0){const _0x6abd0e=_0x23ffaf;return _0x5c996a[_0x6abd0e(0x187)]('{type}',_0x162da0);}function j(_0x4beba7,_0x5c3493){const _0x677c93=_0x23ffaf;return _0x4beba7[_0x677c93(0x187)]('{taskID}',_0x5c3493);}function oe(_0x3e2f2a,_0x3c620f){const _0x1b16f1=_0x23ffaf;return _0x3e2f2a[_0x1b16f1(0x187)]('{fileID}',_0x3c620f);}function M(_0x294462){'@babel/helpers - typeof';const _0x218ab4=_0x23ffaf;return M=typeof Symbol==_0x218ab4(0x226)&&typeof Symbol[_0x218ab4(0x13a)]==_0x218ab4(0x20b)?function(_0xde7d10){return typeof _0xde7d10;}:function(_0x47405f){const _0x25d053=_0x218ab4;return _0x47405f&&typeof Symbol==_0x25d053(0x226)&&_0x47405f[_0x25d053(0xe5)]===Symbol&&_0x47405f!==Symbol['prototype']?_0x25d053(0x20b):typeof _0x47405f;},M(_0x294462);}function se(_0x2d3818,_0x1e230c){const _0x3a6918=_0x23ffaf;if(M(_0x2d3818)!=_0x3a6918(0x11b)||!_0x2d3818)return _0x2d3818;var _0x5d5f7d=_0x2d3818[Symbol[_0x3a6918(0x1e0)]];if(_0x5d5f7d!==void 0x0){var _0xb3143a=_0x5d5f7d[_0x3a6918(0x1ea)](_0x2d3818,_0x1e230c||_0x3a6918(0xba));if(M(_0xb3143a)!=_0x3a6918(0x11b))return _0xb3143a;throw TypeError(_0x3a6918(0x209));}return(_0x1e230c===_0x3a6918(0xc3)?String:Number)(_0x2d3818);}function ce(_0x2948b0){const _0x39c9ec=_0x23ffaf;var _0xd0ee33=se(_0x2948b0,_0x39c9ec(0xc3));return M(_0xd0ee33)=='symbol'?_0xd0ee33:_0xd0ee33+'';}function N(_0x1a4ef3,_0x589448,_0x1abea5){const _0x77a764=_0x23ffaf;return(_0x589448=ce(_0x589448))in _0x1a4ef3?Object[_0x77a764(0x163)](_0x1a4ef3,_0x589448,{'value':_0x1abea5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a4ef3[_0x589448]=_0x1abea5,_0x1a4ef3;}function P(_0x5aca14,_0x256196){return function(_0x5d503e,_0x557f20){_0x256196(_0x5d503e,_0x557f20,_0x5aca14);};}function F(_0x17540b,_0x3c5f5c,_0xde74ff,_0x28e27f){const _0x38d9ba=_0x23ffaf;var _0x21eef9=arguments[_0x38d9ba(0x126)],_0xf9df5f=_0x21eef9<0x3?_0x3c5f5c:_0x28e27f===null?_0x28e27f=Object[_0x38d9ba(0x1a4)](_0x3c5f5c,_0xde74ff):_0x28e27f,_0x592d8a;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x38d9ba(0x226))_0xf9df5f=Reflect[_0x38d9ba(0xd1)](_0x17540b,_0x3c5f5c,_0xde74ff,_0x28e27f);else{for(var _0x45fb3c=_0x17540b[_0x38d9ba(0x126)]-0x1;_0x45fb3c>=0x0;_0x45fb3c--)(_0x592d8a=_0x17540b[_0x45fb3c])&&(_0xf9df5f=(_0x21eef9<0x3?_0x592d8a(_0xf9df5f):_0x21eef9>0x3?_0x592d8a(_0x3c5f5c,_0xde74ff,_0xf9df5f):_0x592d8a(_0x3c5f5c,_0xde74ff))||_0xf9df5f);}return _0x21eef9>0x3&&_0xf9df5f&&Object[_0x38d9ba(0x163)](_0x3c5f5c,_0xde74ff,_0xf9df5f),_0xf9df5f;}let le=function(_0xa2695d){const _0x5c1937=_0x23ffaf;return _0xa2695d[_0xa2695d[_0x5c1937(0x171)]=0x0]=_0x5c1937(0x171),_0xa2695d[_0xa2695d[_0x5c1937(0x1ff)]=0x1]=_0x5c1937(0x1ff),_0xa2695d[_0xa2695d[_0x5c1937(0x21b)]=0x2]=_0x5c1937(0x21b),_0xa2695d[_0xa2695d['UNRECOGNIZED']=-0x1]=_0x5c1937(0xc6),_0xa2695d;}({}),ue=function(_0x58a0fe){const _0x1ae423=_0x23ffaf;return _0x58a0fe[_0x1ae423(0xdc)]=_0x1ae423(0x15f),_0x58a0fe['CSV']='csv',_0x58a0fe[_0x1ae423(0x25d)]='tsv',_0x58a0fe['DOCX']=_0x1ae423(0xed),_0x58a0fe[_0x1ae423(0x19f)]=_0x1ae423(0x13c),_0x58a0fe[_0x1ae423(0x207)]=_0x1ae423(0xcc),_0x58a0fe;}({}),de=function(_0x35c017){const _0x2917bb=_0x23ffaf;return _0x35c017[_0x2917bb(0xeb)]=_0x2917bb(0xb4),_0x35c017[_0x2917bb(0x13b)]='traditional',_0x35c017;}({}),fe=function(_0x41b727){const _0x2785f6=_0x23ffaf;return _0x41b727[_0x2785f6(0x1ba)]=_0x2785f6(0x1f5),_0x41b727[_0x2785f6(0x110)]='tables',_0x41b727[_0x2785f6(0x10a)]=_0x2785f6(0xf8),_0x41b727[_0x2785f6(0x22b)]='hybrid',_0x41b727;}({}),pe=function(_0x1c442a){const _0x2319f7=_0x23ffaf;return _0x1c442a[_0x2319f7(0x1ab)]=_0x2319f7(0x14b),_0x1c442a['VALUES']=_0x2319f7(0x1cf),_0x1c442a['TEXT']=_0x2319f7(0x1d8),_0x1c442a[_0x2319f7(0x175)]=_0x2319f7(0x1ec),_0x1c442a;}({}),me=function(_0x5069c4){const _0x32d74a=_0x23ffaf;return _0x5069c4[_0x32d74a(0x110)]=_0x32d74a(0x21f),_0x5069c4[_0x32d74a(0x11f)]=_0x32d74a(0x229),_0x5069c4;}({});const I=(0x0,t[_0x23ffaf(0xe9)])(_0x23ffaf(0x252));let L=class{constructor(_0x4451d4,_0xba0fd3){const _0x48d0f7=_0x23ffaf;this[_0x48d0f7(0xc5)]=_0x4451d4,this['_httpService']=_0xba0fd3,N(this,'_taskInterrupted',new Set());}[_0x23ffaf(0x1cd)](){}[_0x23ffaf(0x210)](_0x3d993f){const _0x36e652=_0x23ffaf;this[_0x36e652(0xca)]['add'](_0x3d993f);}[_0x23ffaf(0x203)](){const _0x24f74c=_0x23ffaf;this[_0x24f74c(0xca)][_0x24f74c(0x1f8)]();}async[_0x23ffaf(0xaa)](_0x12426e,_0x3185e9=0x0,_0x3daf31=!0x1){const _0x5d4344=_0x23ffaf;if(typeof _0x12426e==_0x5d4344(0xc3)){let _0x44e8ca=await O(_0x12426e,this[_0x5d4344(0x1d7)]);if(!_0x44e8ca)throw Error(_0x5d4344(0xf1));_0x12426e=_0x44e8ca;}_0x3185e9||=_0x12426e[_0x5d4344(0x121)];let _0x12ecb0=new FormData();_0x12ecb0[_0x5d4344(0x1e7)](_0x5d4344(0x118),_0x12426e);try{let _0x213606=this[_0x5d4344(0x24a)]()+'?size='+_0x3185e9+_0x5d4344(0xe0)+s[_0x5d4344(0x116)][_0x5d4344(0x18c)]+_0x5d4344(0x159)+_0x3daf31,_0x11cc2e={'body':_0x12ecb0},_0x58de04=(await this[_0x5d4344(0x1d7)]['post'](_0x213606,_0x11cc2e))[_0x5d4344(0x136)];if(_0x58de04[_0x5d4344(0x193)]&&_0x58de04['error']['code']!==s['ErrorCode']['OK'])throw Error(this[_0x5d4344(0xd8)](_0x5d4344(0xec),_0x58de04[_0x5d4344(0x193)]));return _0x58de04;}catch(_0x1a6c34){throw _0x1a6c34 instanceof Error?_0x1a6c34:Error(this[_0x5d4344(0x253)](_0x5d4344(0xec),_0x1a6c34));}}async[_0x23ffaf(0x134)](_0x611c12){const _0x498918=_0x23ffaf;let {type:_0x30c6e3,..._0x5cad82}=_0x611c12;try{let _0x2897e0=A(this[_0x498918(0xc0)](),''+_0x30c6e3),_0x12b9ce={'body':_0x5cad82},_0x16a611=(await this[_0x498918(0x1d7)][_0x498918(0xa9)](_0x2897e0,_0x12b9ce))[_0x498918(0x136)];return _0x16a611[_0x498918(0x193)]&&_0x16a611['error'][_0x498918(0x243)]!==s[_0x498918(0x156)]['OK']?void 0x0:_0x16a611;}catch{return;}}async[_0x23ffaf(0x20a)](_0x266c09){const _0x22b9a0=_0x23ffaf;let {type:_0x545675}=_0x266c09;try{let _0x205885=A(this['_getExportURL'](),''+_0x545675),_0x5b2d42={'body':_0x266c09},_0x1c5ba7=(await this[_0x22b9a0(0x1d7)][_0x22b9a0(0xa9)](_0x205885,_0x5b2d42))[_0x22b9a0(0x136)];return _0x1c5ba7[_0x22b9a0(0x193)]&&_0x1c5ba7[_0x22b9a0(0x193)]['code']!==s[_0x22b9a0(0x156)]['OK']?void 0x0:_0x1c5ba7;}catch{return;}}async[_0x23ffaf(0x14e)](_0x5c6dbc){return new Promise((_0x59b8d8,_0x3c74d6)=>{try{let _0x25cc2f=0x0,_0x47b2bb=j(this['_getTaskURL'](),''+_0x5c6dbc),_0x3a3b0a=this['_getMaxPollingTime'](),_0x10d730=async()=>{const _0xbc9fb8=_0x45b3;if(this[_0xbc9fb8(0xca)][_0xbc9fb8(0x240)](_0x5c6dbc))return;let _0x41fc64=(await this[_0xbc9fb8(0x1d7)][_0xbc9fb8(0x182)](_0x47b2bb))[_0xbc9fb8(0x136)];if(_0x41fc64['error']&&_0x41fc64[_0xbc9fb8(0x193)]['code']===s[_0xbc9fb8(0x156)]['OK']){if(_0x41fc64[_0xbc9fb8(0x100)]==='done')_0x59b8d8(_0x41fc64);else{if(_0x41fc64[_0xbc9fb8(0x100)]===_0xbc9fb8(0x140)){let _0x4ea2fb=0x3e8;if(_0x25cc2f>=_0x3a3b0a){_0x3c74d6(_0x41fc64);return;}_0x25cc2f>=0x7530&&(_0x4ea2fb=0x1388),_0x25cc2f+=_0x4ea2fb,setTimeout(_0x10d730,_0x4ea2fb);}else _0x3c74d6(_0x41fc64);}}else _0x3c74d6(_0x41fc64);};_0x10d730();}catch(_0x787caf){_0x3c74d6(_0x787caf instanceof Error?_0x787caf:Error(String(_0x787caf)));}});}async[_0x23ffaf(0x150)](_0x42b17e){const _0x1d71ec=_0x23ffaf;try{let _0x3288b7=oe(this[_0x1d71ec(0x1c2)](),''+_0x42b17e);return(await this[_0x1d71ec(0x1d7)][_0x1d71ec(0x182)](_0x3288b7))['body'];}catch{return;}}async[_0x23ffaf(0x183)](_0x136d4c){const _0x2919a6=_0x23ffaf;try{return(await this['_httpService'][_0x2919a6(0x182)](_0x136d4c,{'responseType':_0x2919a6(0x1d8)}))[_0x2919a6(0x136)];}catch{return;}}[_0x23ffaf(0xd8)](_0x5492a9,_0x5576ce){const _0xae32e9=_0x23ffaf;let _0xa7c739=this[_0xae32e9(0x185)](_0x5576ce);return _0xa7c739?_0x5492a9+':\x20'+_0xa7c739:_0x5492a9;}[_0x23ffaf(0x253)](_0x28c666,_0x172aa0){const _0x27c141=_0x23ffaf;if(_0x172aa0 instanceof n['HTTPResponseError']){let _0x21857e=typeof _0x172aa0['status']==_0x27c141(0xdf)?''+_0x172aa0[_0x27c141(0x100)]+(_0x172aa0['statusText']?'\x20'+_0x172aa0['statusText']:''):void 0x0,_0x39a463=this['_extractErrorDetail'](_0x172aa0[_0x27c141(0x193)]);return _0x21857e&&_0x39a463?_0x28c666+':\x20HTTP\x20'+_0x21857e+_0x27c141(0x113)+_0x39a463:_0x21857e?_0x28c666+_0x27c141(0x22c)+_0x21857e:_0x39a463?_0x28c666+':\x20'+_0x39a463:_0x28c666;}let _0x22109a=this['_extractErrorDetail'](_0x172aa0);return _0x22109a?_0x28c666+':\x20'+_0x22109a:_0x28c666;}[_0x23ffaf(0x185)](_0x4c0fd9){const _0x1e5f75=_0x23ffaf;if(typeof _0x4c0fd9==_0x1e5f75(0xc3)){let _0x455644=_0x4c0fd9[_0x1e5f75(0x1cc)]();return _0x455644[_0x1e5f75(0x126)]>0x0?_0x455644:void 0x0;}if(_0x4c0fd9 instanceof Error)return this[_0x1e5f75(0x185)](_0x4c0fd9[_0x1e5f75(0x1b9)]);if(!_0x4c0fd9||typeof _0x4c0fd9!=_0x1e5f75(0x11b)||Array[_0x1e5f75(0x15c)](_0x4c0fd9))return;let _0x5d4be3=_0x4c0fd9,_0x42f08d=this['_extractErrorDetail'](_0x5d4be3[_0x1e5f75(0x1b9)]);if(_0x42f08d)return _0x42f08d;if(_0x5d4be3[_0x1e5f75(0x193)]&&typeof _0x5d4be3[_0x1e5f75(0x193)]==_0x1e5f75(0x11b)&&!Array[_0x1e5f75(0x15c)](_0x5d4be3['error'])){let _0x243b04=this[_0x1e5f75(0x185)](_0x5d4be3[_0x1e5f75(0x193)]);if(_0x243b04)return _0x243b04;}}['_getUploadFileURL'](){const _0x1d8bd1=_0x23ffaf;let _0x2184c0=this[_0x1d8bd1(0xc5)][_0x1d8bd1(0x1be)](m);return(_0x2184c0==null?void 0x0:_0x2184c0[_0x1d8bd1(0x14c)])??_0x1d8bd1(0x178);}[_0x23ffaf(0xc0)](){const _0x14db72=_0x23ffaf;let _0x21599f=this[_0x14db72(0xc5)][_0x14db72(0x1be)](m);return(_0x21599f==null?void 0x0:_0x21599f['importServerUrl'])??'/universer-api/exchange/{type}/import';}[_0x23ffaf(0x20d)](){const _0x120d0e=_0x23ffaf;let _0x2fe618=this['_configService'][_0x120d0e(0x1be)](m);return(_0x2fe618==null?void 0x0:_0x2fe618[_0x120d0e(0x1eb)])??_0x120d0e(0x105);}[_0x23ffaf(0x1d5)](){const _0x45d4cc=_0x23ffaf;let _0x3d24c6=this['_configService'][_0x45d4cc(0x1be)](m);return(_0x3d24c6==null?void 0x0:_0x3d24c6['getTaskServerUrl'])??'/universer-api/exchange/task/{taskID}';}[_0x23ffaf(0x1c2)](){const _0x23324b=_0x23ffaf;let _0x597b9f=this[_0x23324b(0xc5)][_0x23324b(0x1be)](m);return(_0x597b9f==null?void 0x0:_0x597b9f[_0x23324b(0x231)])??_0x23324b(0x160);}['_getMaxPollingTime'](){const _0x1d6cff=_0x23ffaf;let _0x5a976=this[_0x1d6cff(0xc5)][_0x1d6cff(0x1be)](m);return(_0x5a976==null?void 0x0:_0x5a976[_0x1d6cff(0x248)])??0x1d4c0;}};L=F([P(0x0,t[_0x23ffaf(0x211)]),P(0x1,(0x0,t['Inject'])(n[_0x23ffaf(0x144)]))],L);const R=_0x23ffaf(0x24d);function he({formats:_0x5d8daa,items:_0x56d946,selectedId:_0x5dda60,onCancel:_0x501cd3,onConfirm:_0x285637}){const _0xd4c078=_0x23ffaf;let _0x195696=(0x0,r['useDependency'])(t[_0xd4c078(0xd6)]),[_0x3aae50,_0x2af0c8]=(0x0,o[_0xd4c078(0x11c)])(_0x5d8daa[0x0]),[_0x2e7e65,_0x5c0576]=(0x0,o['useState'])(_0x5dda60),[_0x477f35,_0x15e328]=(0x0,o['useState'])(!0x1),_0x451190=(0x0,o[_0xd4c078(0x16b)])(!0x1);return(0x0,c[_0xd4c078(0x1ae)])(_0xd4c078(0x200),{'className':_0xd4c078(0x1bb),'children':[(0x0,c[_0xd4c078(0xb6)])('div',{'className':_0xd4c078(0x18a),'children':_0x5d8daa['map'](_0xaa78ce=>(0x0,c['jsxs'])(_0xd4c078(0x200),{'className':'univer-flex\x20univer-items-center\x20univer-gap-3','children':[(0x0,c[_0xd4c078(0xb6)])(a[_0xd4c078(0x1a2)],{'value':_0xaa78ce,'checked':_0x3aae50===_0xaa78ce,'onChange':_0xac6a7=>_0x2af0c8(_0xac6a7),'children':(0x0,c['jsx'])(_0xd4c078(0x1e5),{'className':'univer-w-10','children':_0xaa78ce[_0xd4c078(0xde)]()})}),_0xaa78ce!==_0xd4c078(0x15f)&&(0x0,c[_0xd4c078(0xb6)])(a[_0xd4c078(0x131)],{'className':_0xd4c078(0x204),'value':_0x2e7e65,'options':_0x56d946,'onChange':_0x3455d5=>_0x5c0576(String(_0x3455d5))})]},_0xaa78ce))}),(0x0,c[_0xd4c078(0x1ae)])(_0xd4c078(0x200),{'className':_0xd4c078(0x16a),'children':[(0x0,c['jsx'])(a[_0xd4c078(0x1b1)],{'type':_0xd4c078(0x22a),'variant':_0xd4c078(0xba),'onClick':_0x501cd3,'children':_0x195696['t'](_0xd4c078(0x1a0))}),(0x0,c[_0xd4c078(0x1ae)])(a['Button'],{'type':_0xd4c078(0x22a),'variant':_0xd4c078(0x1ce),'aria-busy':_0x477f35,'disabled':_0x477f35||!_0x3aae50||_0x3aae50!==_0xd4c078(0x15f)&&!_0x2e7e65,'onClick':async()=>{const _0x321a67=_0xd4c078;if(!_0x451190[_0x321a67(0x224)]){_0x451190[_0x321a67(0x224)]=!0x0,_0x15e328(!0x0);try{await _0x285637(_0x3aae50,_0x2e7e65);}finally{_0x451190[_0x321a67(0x224)]=!0x1,_0x15e328(!0x1);}}},'children':[_0x477f35&&(0x0,c[_0xd4c078(0xb6)])(i[_0xd4c078(0x115)],{'className':'univer-animate-spin'}),_0x195696['t']('exchange-client.confirm')]})]})]});}function ge({formats:_0x4716ef,items:_0x1c9dc0,selectedId:_0x586919,onCancel:_0x2260d9,onConfirm:_0x4d8385}){const _0x51f1b9=_0x23ffaf;let _0x38b4a9=(0x0,r[_0x51f1b9(0x15e)])(t[_0x51f1b9(0xd6)]),[_0x4a5673,_0x43f31e]=(0x0,o[_0x51f1b9(0x11c)])(_0x4716ef[0x0]),[_0x428534,_0x535e88]=(0x0,o[_0x51f1b9(0x11c)])(_0x586919),[_0x556abf,_0x1412fb]=(0x0,o['useState'])(!0x1),_0x170448=(0x0,o['useRef'])(!0x1);async function _0x474fff(){const _0x4676e4=_0x51f1b9;if(!_0x170448[_0x4676e4(0x224)]){_0x170448[_0x4676e4(0x224)]=!0x0,_0x1412fb(!0x0);try{await _0x4d8385(_0x4a5673,_0x428534);}finally{_0x170448[_0x4676e4(0x224)]=!0x1,_0x1412fb(!0x1);}}}return(0x0,c[_0x51f1b9(0x1ae)])('div',{'className':_0x51f1b9(0x1c7),'children':[(0x0,c[_0x51f1b9(0xb6)])(_0x51f1b9(0x200),{'className':'univer-grid\x20univer-gap-3','children':_0x4716ef[_0x51f1b9(0x249)](_0x36ed17=>(0x0,c[_0x51f1b9(0x1ae)])(_0x51f1b9(0x200),{'className':_0x51f1b9(0x232),'children':[(0x0,c['jsx'])(a['Radio'],{'value':_0x36ed17,'checked':_0x4a5673===_0x36ed17,'onChange':_0x54b118=>_0x43f31e(_0x54b118),'children':_0x36ed17[_0x51f1b9(0xde)]()}),_0x36ed17!==_0x51f1b9(0x15f)&&_0x4a5673===_0x36ed17&&(0x0,c[_0x51f1b9(0xb6)])(a[_0x51f1b9(0x246)],{'className':_0x51f1b9(0x103),'value':_0x428534,'options':_0x1c9dc0,'onChange':_0x1933b5=>_0x535e88(String(_0x1933b5))})]},_0x36ed17))}),(0x0,c[_0x51f1b9(0x1ae)])(a[_0x51f1b9(0x1de)],{'className':'univer-sticky\x20univer-bottom-0\x20univer-bg-gray-0\x20univer-py-3\x20dark:!univer-bg-gray-900','children':[(0x0,c[_0x51f1b9(0xb6)])(a[_0x51f1b9(0x1b1)],{'type':_0x51f1b9(0x22a),'onClick':_0x2260d9,'children':_0x38b4a9['t']('exchange-client.cancel')}),(0x0,c[_0x51f1b9(0x1ae)])(a['Button'],{'type':_0x51f1b9(0x22a),'variant':_0x51f1b9(0x1ce),'aria-busy':_0x556abf,'disabled':_0x556abf||!_0x4a5673||_0x4a5673!==_0x51f1b9(0x15f)&&!_0x428534,'onClick':_0x474fff,'children':[_0x556abf&&(0x0,c['jsx'])(i[_0x51f1b9(0x115)],{'className':_0x51f1b9(0x1fc)}),_0x38b4a9['t'](_0x51f1b9(0x206))]})]})]});}let z=class extends t[_0x23ffaf(0x215)]{constructor(_0x5b95cf,_0x32d906){const _0x3bd14f=_0x23ffaf;super(),this[_0x3bd14f(0xbc)]=_0x5b95cf,this[_0x3bd14f(0x16e)]=_0x32d906,this['disposeWithMe'](this[_0x3bd14f(0xbc)][_0x3bd14f(0x170)]({'DirectExportIcon':i[_0x3bd14f(0xae)],'ExportIcon':i[_0x3bd14f(0x1bd)],'FolderIcon':i[_0x3bd14f(0x120)]})),this[_0x3bd14f(0x194)](this['_componentManager'][_0x3bd14f(0x170)](R,ge));}};z=F([P(0x0,(0x0,t[_0x23ffaf(0x256)])(r[_0x23ffaf(0x19c)])),P(0x1,(0x0,t[_0x23ffaf(0x256)])(r[_0x23ffaf(0x197)]))],z);const B=(0x0,t[_0x23ffaf(0xe9)])(_0x23ffaf(0x239));let V=class extends t['Disposable']{constructor(_0x9697a3,_0x5801e5,_0x179c25){const _0xdc5a3d=_0x23ffaf;super(),this['_configService']=_0x9697a3,this[_0xdc5a3d(0x1d7)]=_0x5801e5,this['_requestService']=_0x179c25,N(this,_0xdc5a3d(0x217),null),N(this,'_requestState$',new l[(_0xdc5a3d(0x18d))]()),N(this,'requestState$',this[_0xdc5a3d(0x20f)][_0xdc5a3d(0x1b0)]());}[_0x23ffaf(0x1cd)](){const _0x64ec9=_0x23ffaf;super['dispose'](),this[_0x64ec9(0x20f)]['complete']();}[_0x23ffaf(0x10d)](_0x15c663,_0x59fa70,_0x4c70cf){const _0x5436fc=_0x23ffaf;let _0x33b285=URL[_0x5436fc(0x10f)](_0x15c663);te(_0x33b285,_0x59fa70,_0x4c70cf),URL['revokeObjectURL'](_0x33b285);}async[_0x23ffaf(0x146)](_0x888596,_0x3d909a){const _0xc3521d=_0x23ffaf;if(_0x3d909a!=null&&_0x3d909a[_0xc3521d(0x15d)])return;let _0x1f5441=await this[_0xc3521d(0x20e)](_0x888596);if(!(!_0x1f5441||_0x3d909a!=null&&_0x3d909a['aborted']))return k(_0x1f5441,this[_0xc3521d(0x1d7)],_0x3d909a);}async[_0x23ffaf(0x219)](_0x46344c,_0x461daa,_0x3b1b60){const _0x20f4dc=_0x23ffaf;var _0x5a2cdc,_0x2f5dff;let _0x2842cb=await this[_0x20f4dc(0x104)](_0x46344c);if(!_0x2842cb)return;let _0x3ef4c1=await this[_0x20f4dc(0x101)](_0x2842cb,0x1,_0x461daa,_0x3b1b60);if(!_0x3ef4c1)return;this[_0x20f4dc(0x217)]=_0x3ef4c1,this[_0x20f4dc(0x244)][_0x20f4dc(0x203)]();let _0x543464=await this[_0x20f4dc(0x244)][_0x20f4dc(0x14e)](_0x3ef4c1)[_0x20f4dc(0x1e9)](_0xba1f84=>{const _0x5a8503=_0x20f4dc;var _0x91beca;let _0x3a1413=_0xba1f84 instanceof Error?_0xba1f84[_0x5a8503(0x1b9)]:(_0x91beca=_0xba1f84[_0x5a8503(0x193)])==null?void 0x0:_0x91beca[_0x5a8503(0x1b9)];this[_0x5a8503(0x20f)][_0x5a8503(0x241)]({'error':{'code':s['ErrorCode'][_0x5a8503(0xc6)],'message':_0x3a1413||''},'state':0x3});});if(!_0x543464)return;let _0x36bb10=(_0x5a2cdc=_0x543464[_0x20f4dc(0x134)])==null?void 0x0:_0x5a2cdc['outputType'],_0x5ddcf0=((_0x2f5dff=_0x543464[_0x20f4dc(0x134)])==null?void 0x0:_0x2f5dff[_0x20f4dc(0x242)])||'';if(_0x36bb10!==0x1){this['_requestState$'][_0x20f4dc(0x241)]({'error':{'code':s['ErrorCode'][_0x20f4dc(0xc6)],'message':_0x20f4dc(0x184)},'state':0x3});return;}if(_0x5ddcf0[_0x20f4dc(0x126)]===0x0){this[_0x20f4dc(0x20f)]['next']({'error':{'code':s['ErrorCode'][_0x20f4dc(0xc6)],'message':_0x20f4dc(0x1bf)},'state':0x3});return;}return this[_0x20f4dc(0x20f)][_0x20f4dc(0x241)]({'error':_0x543464[_0x20f4dc(0x193)],'state':0x3}),_0x5ddcf0;}async[_0x23ffaf(0x1b7)](_0x120d7c,_0x49cb52,_0x26f98c){const _0x554407=_0x23ffaf;return this[_0x554407(0x1fe)](_0x120d7c,_0x49cb52,_0x26f98c);}async['exportFileByUnitId'](_0x486d83,_0x59b853,_0x2130db,_0x313a81){const _0x42a2a1=_0x23ffaf;return this[_0x42a2a1(0x114)](_0x486d83,0x1,_0x59b853,_0x2130db,_0x313a81);}async[_0x23ffaf(0x133)](_0x5b6944,_0x48aa37,_0x18a14a,_0x28034e){const _0x3951ba=_0x23ffaf;return this[_0x3951ba(0x195)](_0x5b6944,_0x48aa37,_0x18a14a,_0x28034e);}[_0x23ffaf(0x251)](){const _0x23ac60=_0x23ffaf;this[_0x23ac60(0x217)]&&this[_0x23ac60(0x244)][_0x23ac60(0x210)](this[_0x23ac60(0x217)]);}async[_0x23ffaf(0x1fe)](_0x108cc6,_0x17eace,_0x1942b2){const _0x26f288=_0x23ffaf;var _0x7de1c1,_0x43e9a7;let _0x2f3516=await this['_upload'](_0x108cc6);if(!_0x2f3516)return;let _0x706e8d=await this[_0x26f288(0x101)](_0x2f3516,0x2,_0x17eace,_0x1942b2);if(!_0x706e8d)return;this[_0x26f288(0x217)]=_0x706e8d,this['_requestService'][_0x26f288(0x203)]();let _0x3bab17=await this[_0x26f288(0x244)][_0x26f288(0x14e)](_0x706e8d)[_0x26f288(0x1e9)](_0x56c667=>{const _0x148a9b=_0x26f288;var _0x5d7cc9;let _0x3298d2=_0x56c667 instanceof Error?_0x56c667[_0x148a9b(0x1b9)]:(_0x5d7cc9=_0x56c667[_0x148a9b(0x193)])==null?void 0x0:_0x5d7cc9[_0x148a9b(0x1b9)];this['_requestState$'][_0x148a9b(0x241)]({'error':{'code':s[_0x148a9b(0x156)][_0x148a9b(0xc6)],'message':_0x3298d2||''},'state':0x3});});if(!_0x3bab17)return;let _0x962a78=(_0x7de1c1=_0x3bab17['import'])==null?void 0x0:_0x7de1c1[_0x26f288(0x1b4)],_0x1dabcc=((_0x43e9a7=_0x3bab17[_0x26f288(0x134)])==null?void 0x0:_0x43e9a7[_0x26f288(0x141)])||'';if(_0x962a78!==0x2){this['_requestState$'][_0x26f288(0x241)]({'error':{'code':s[_0x26f288(0x156)][_0x26f288(0xc6)],'message':_0x26f288(0x184)},'state':0x3});return;}if(_0x1dabcc[_0x26f288(0x126)]===0x0){this[_0x26f288(0x20f)][_0x26f288(0x241)]({'error':{'code':s[_0x26f288(0x156)][_0x26f288(0xc6)],'message':_0x26f288(0xfd)},'state':0x3});return;}this['_requestState$'][_0x26f288(0x241)]({'error':_0x3bab17[_0x26f288(0x193)],'state':0x3});let _0xe20236=await this['_signUrl'](_0x1dabcc);if(!_0xe20236)return;let _0x306989=await this['_requestService'][_0x26f288(0x183)](_0xe20236);if(!_0x306989){this['_requestState$']['next']({'error':{'code':s[_0x26f288(0x156)][_0x26f288(0xc6)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x2d1a4e=JSON[_0x26f288(0x138)](_0x306989);return this['_requestState$']['next']({'error':{'code':s[_0x26f288(0x156)]['OK'],'message':_0x26f288(0xb0)},'state':0x5}),_0x2d1a4e;}catch{this[_0x26f288(0x20f)][_0x26f288(0x241)]({'error':{'code':s['ErrorCode'][_0x26f288(0xc6)],'message':'Failed\x20to\x20parse\x20json'},'state':0x5});}}async[_0x23ffaf(0x195)](_0x1cbf40,_0x2f2d4e,_0x25e417,_0x34a092){const _0x5297d4=_0x23ffaf;let _0x5f3a40=JSON[_0x5297d4(0xe6)](_0x1cbf40),_0x369f1f=u['textEncoder']['encode'](_0x5f3a40),_0x3dc9c5=(0x0,d[_0x5297d4(0xd2)])(_0x369f1f),_0x3cc1f8=_0x369f1f[_0x5297d4(0x126)],_0x165e87=ae(_0x3dc9c5),_0x783f63=await this[_0x5297d4(0x104)](_0x165e87,_0x3cc1f8,!0x0);if(_0x783f63)return this['_export'](_0x783f63,0x2,_0x2f2d4e,_0x25e417,_0x34a092);}async[_0x23ffaf(0x114)](_0x5593d0,_0x391371,_0x59638a,_0x433238,_0xe4090c){const _0x416f7c=_0x23ffaf;var _0x3ba66b;let _0x3f6713=await this[_0x416f7c(0x244)][_0x416f7c(0x20a)]({..._0x391371===0x1?{'unitID':_0x5593d0}:{'jsonID':_0x5593d0},'type':_0x59638a,'format':_0x433238,'options':_0xe4090c});if(!_0x3f6713){this['_requestState$'][_0x416f7c(0x241)]({'error':{'code':s[_0x416f7c(0x156)][_0x416f7c(0xc6)],'message':_0x416f7c(0xb2)},'state':0x2});return;}if(this[_0x416f7c(0x20f)][_0x416f7c(0x241)]({'error':_0x3f6713[_0x416f7c(0x193)],'state':0x2}),_0x3f6713['error']&&_0x3f6713[_0x416f7c(0x193)][_0x416f7c(0x243)]!==s['ErrorCode']['OK'])return;let _0x172eb0=_0x3f6713[_0x416f7c(0x192)],_0x1b97cb=await this[_0x416f7c(0x244)][_0x416f7c(0x14e)](_0x172eb0)['catch'](_0x5d6363=>{const _0x334999=_0x416f7c;var _0x9b89d;let _0xfa1edb=_0x5d6363 instanceof Error?_0x5d6363[_0x334999(0x1b9)]:(_0x9b89d=_0x5d6363[_0x334999(0x193)])==null?void 0x0:_0x9b89d[_0x334999(0x1b9)];this['_requestState$'][_0x334999(0x241)]({'error':{'code':s[_0x334999(0x156)][_0x334999(0xc6)],'message':_0xfa1edb||''},'state':0x3});});if(!_0x1b97cb)return;let _0x204ddd=((_0x3ba66b=_0x1b97cb[_0x416f7c(0x20a)])==null?void 0x0:_0x3ba66b[_0x416f7c(0x1a3)])||'';if(_0x204ddd[_0x416f7c(0x126)]===0x0){this[_0x416f7c(0x20f)][_0x416f7c(0x241)]({'error':{'code':s[_0x416f7c(0x156)]['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0x416f7c(0x20f)][_0x416f7c(0x241)]({'error':_0x1b97cb[_0x416f7c(0x193)],'state':0x3});let _0xb1fff4=await this[_0x416f7c(0x20e)](_0x204ddd);if(!_0xb1fff4)return;let _0x523e39=await O(_0xb1fff4,this[_0x416f7c(0x1d7)]);if(!_0x523e39){this[_0x416f7c(0x20f)][_0x416f7c(0x241)]({'error':{'code':s[_0x416f7c(0x156)][_0x416f7c(0xc6)],'message':_0x416f7c(0xf0)},'state':0x6});return;}return this[_0x416f7c(0x20f)][_0x416f7c(0x241)]({'error':{'code':s[_0x416f7c(0x156)]['OK'],'message':'success'},'state':0x6}),_0x523e39;}async[_0x23ffaf(0x104)](_0x23e3b8,_0x2d2b4c,_0x4c5277){const _0x5a93c3=_0x23ffaf;let _0x3a7a00;try{_0x3a7a00=await this[_0x5a93c3(0x244)][_0x5a93c3(0xaa)](_0x23e3b8,_0x2d2b4c,_0x4c5277);}catch(_0x30865d){let _0x1e90c6=_0x30865d instanceof Error?_0x30865d[_0x5a93c3(0x1b9)]:String(_0x30865d);this[_0x5a93c3(0x20f)][_0x5a93c3(0x241)]({'error':{'code':s['ErrorCode'][_0x5a93c3(0xc6)],'message':_0x1e90c6},'state':0x0});return;}if(!_0x3a7a00||typeof _0x3a7a00[_0x5a93c3(0x15a)]!=_0x5a93c3(0xc3)){this[_0x5a93c3(0x20f)][_0x5a93c3(0x241)]({'error':{'code':s['ErrorCode']['UNRECOGNIZED'],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x498aad=_0x3a7a00[_0x5a93c3(0x15a)];if(_0x498aad[_0x5a93c3(0x126)]===0x0){this['_requestState$'][_0x5a93c3(0x241)]({'error':{'code':s['ErrorCode'][_0x5a93c3(0xc6)],'message':_0x5a93c3(0xc7)},'state':0x0});return;}return this[_0x5a93c3(0x20f)][_0x5a93c3(0x241)]({'error':{'code':s['ErrorCode']['OK'],'message':_0x5a93c3(0xb0)},'state':0x0}),_0x498aad;}async[_0x23ffaf(0x101)](_0x978854,_0x2d780e,_0xab3b56,_0x50a730){const _0x2114d7=_0x23ffaf;let _0x23275c={'fileID':_0x978854,'type':_0xab3b56,'outputType':_0x2d780e,'options':_0x50a730},_0xda903a=await this['_requestService'][_0x2114d7(0x134)](_0x23275c);if(!_0xda903a){this['_requestState$']['next']({'error':{'code':s['ErrorCode'][_0x2114d7(0xc6)],'message':_0x2114d7(0x18b)},'state':0x1});return;}if(_0xda903a[_0x2114d7(0x193)]&&_0xda903a[_0x2114d7(0x193)][_0x2114d7(0x243)]!==s[_0x2114d7(0x156)]['OK']){this[_0x2114d7(0x20f)][_0x2114d7(0x241)]({'error':_0xda903a[_0x2114d7(0x193)],'state':0x1});return;}let _0x139c7a=_0xda903a['taskID'];if(_0x139c7a[_0x2114d7(0x126)]===0x0){this[_0x2114d7(0x20f)][_0x2114d7(0x241)]({'error':{'code':s[_0x2114d7(0x156)][_0x2114d7(0xc6)],'message':_0x2114d7(0x130)},'state':0x1});return;}return this[_0x2114d7(0x20f)][_0x2114d7(0x241)]({'error':_0xda903a[_0x2114d7(0x193)],'state':0x1}),_0x139c7a;}async['_signUrl'](_0x455194){const _0x186e87=_0x23ffaf;let _0x4e2ea6=await this[_0x186e87(0x244)]['signUrl'](_0x455194);if(!_0x4e2ea6){this[_0x186e87(0x20f)][_0x186e87(0x241)]({'error':{'code':s[_0x186e87(0x156)]['UNRECOGNIZED'],'message':_0x186e87(0xf6)},'state':0x4});return;}if(_0x4e2ea6['error']&&_0x4e2ea6[_0x186e87(0x193)]['code']!==s[_0x186e87(0x156)]['OK']){this[_0x186e87(0x20f)][_0x186e87(0x241)]({'error':_0x4e2ea6[_0x186e87(0x193)],'state':0x4});return;}let _0x1faa86=(0x0,t[_0x186e87(0x13e)])(_0x4e2ea6['url'],this[_0x186e87(0x111)]());if(_0x1faa86[_0x186e87(0x126)]===0x0){this[_0x186e87(0x20f)]['next']({'error':{'code':s[_0x186e87(0x156)][_0x186e87(0xc6)],'message':_0x186e87(0xf6)},'state':0x4});return;}return this[_0x186e87(0x20f)][_0x186e87(0x241)]({'error':_0x4e2ea6[_0x186e87(0x193)],'state':0x4}),_0x1faa86;}[_0x23ffaf(0x111)](){const _0x3078d5=_0x23ffaf;let _0x266c4a=this[_0x3078d5(0xc5)][_0x3078d5(0x1be)](m);return(_0x266c4a==null?void 0x0:_0x266c4a['downloadEndpointUrl'])??location['origin'];}};V=F([P(0x0,t[_0x23ffaf(0x211)]),P(0x1,(0x0,t[_0x23ffaf(0x256)])(n['HTTPService'])),P(0x2,(0x0,t[_0x23ffaf(0x256)])(I))],V);const H=(0x0,t[_0x23ffaf(0xe9)])(_0x23ffaf(0x186));var U=class extends t[_0x23ffaf(0x215)]{constructor(){const _0x228d6c=_0x23ffaf;super(),N(this,_0x228d6c(0x161),new l[(_0x228d6c(0x18d))]()),N(this,_0x228d6c(0x24e),new l[(_0x228d6c(0x18d))]()),N(this,_0x228d6c(0x21a),new l['Subject']()),N(this,_0x228d6c(0x167),this[_0x228d6c(0x161)][_0x228d6c(0x1b0)]()),N(this,_0x228d6c(0x14a),this['_state$'][_0x228d6c(0x1b0)]()),N(this,'list$',this[_0x228d6c(0x21a)][_0x228d6c(0x1b0)]()),N(this,_0x228d6c(0x124),[]);}[_0x23ffaf(0x1cd)](){const _0x17b6c6=_0x23ffaf;super[_0x17b6c6(0x1cd)](),this['_visible$']['complete'](),this['_state$'][_0x17b6c6(0x1e6)](),this[_0x17b6c6(0x21a)][_0x17b6c6(0x1e6)]();}[_0x23ffaf(0x145)](){const _0x857290=_0x23ffaf;this[_0x857290(0x161)][_0x857290(0x241)](!0x0);}['hide'](){const _0x543a4e=_0x23ffaf;this['_visible$'][_0x543a4e(0x241)](!0x1);}[_0x23ffaf(0x1df)](_0x5a45ab){const _0x5dcfd3=_0x23ffaf;this[_0x5dcfd3(0x24e)][_0x5dcfd3(0x241)](_0x5a45ab);}[_0x23ffaf(0x13f)](_0x4dcd19){const _0x2a85b9=_0x23ffaf;this[_0x2a85b9(0x124)][_0x2a85b9(0xdd)](_0x4dcd19),this[_0x2a85b9(0x21a)][_0x2a85b9(0x241)](this[_0x2a85b9(0x124)]);}};const _e={'done':0x0,'count':0x0},W=(0x0,t[_0x23ffaf(0xe9)])(_0x23ffaf(0x199));let G=class extends t[_0x23ffaf(0x215)]{constructor(_0x15e4cc,_0x1588d1,_0x54dab1,_0x2c011,_0x135ee7,_0x591671){const _0xc7cd7a=_0x23ffaf;super(),this[_0xc7cd7a(0x142)]=_0x15e4cc,this[_0xc7cd7a(0x216)]=_0x1588d1,this[_0xc7cd7a(0x1a5)]=_0x54dab1,this[_0xc7cd7a(0x255)]=_0x2c011,this[_0xc7cd7a(0x1a1)]=_0x135ee7,this[_0xc7cd7a(0x16d)]=_0x591671,N(this,'_progress$',new l[(_0xc7cd7a(0x158))](_e)),N(this,'progress$',this[_0xc7cd7a(0x128)]['asObservable']()),N(this,'_totalUploadTaskCount',0x0),N(this,_0xc7cd7a(0x22e),0x0),N(this,_0xc7cd7a(0x250),!0x1),N(this,_0xc7cd7a(0xfb),null),this[_0xc7cd7a(0x194)]((0x0,t[_0xc7cd7a(0x24b)])(this['_exchangeService'][_0xc7cd7a(0xd4)][_0xc7cd7a(0x20c)](_0x7cca39=>{const _0x8c06e7=_0xc7cd7a;var _0xf12afc;((_0xf12afc=_0x7cca39['error'])==null?void 0x0:_0xf12afc['code'])===s['ErrorCode']['OK']?this[_0x8c06e7(0x245)](0x1):this[_0x8c06e7(0x1e3)](_0x7cca39[_0x8c06e7(0x193)]);})));}[_0x23ffaf(0x19e)](){const _0xf3d8e5=_0x23ffaf;this[_0xf3d8e5(0x17c)](),this[_0xf3d8e5(0x1a1)]['updateState'](0x2),this[_0xf3d8e5(0x255)][_0xf3d8e5(0x251)]();}async['importFileToUnitId'](_0x370123,_0x16ca46){const _0x92977f=_0x23ffaf;if(this[_0x92977f(0x250)]||this[_0x92977f(0x25c)]()){this['_messageService']['show']({'type':a['MessageType']['Warning'],'content':this[_0x92977f(0x1a5)]['t'](_0x92977f(0xb1))});return;}let _0x574728;this[_0x92977f(0x250)]=!0x0;try{_0x574728=await D([_0x370123]);}finally{this[_0x92977f(0x250)]=!0x1;}if(_0x574728&&!this[_0x92977f(0x1e2)](_0x574728,_0x370123))return this['_lastUnitImportContext']={'type':_0x370123,'importer':_0x16ca46},this['_importFileToUnitId'](_0x574728[0x0],_0x370123,_0x16ca46);}async[_0x23ffaf(0x258)](){const _0x33a686=_0x23ffaf;let _0x2d3f8e=this['_lastUnitImportContext'];if(_0x2d3f8e)return this[_0x33a686(0x219)](_0x2d3f8e[_0x33a686(0x1d1)],_0x2d3f8e[_0x33a686(0xf7)]);}async[_0x23ffaf(0x106)](_0x39cb64,_0x1f7d04){const _0x459dd1=_0x23ffaf;if(this[_0x459dd1(0x25c)]()){this[_0x459dd1(0x216)][_0x459dd1(0x145)]({'type':a[_0x459dd1(0x257)][_0x459dd1(0x1aa)],'content':this[_0x459dd1(0x1a5)]['t'](_0x459dd1(0xb1))});return;}let _0x17c26d=await D([_0x39cb64]);if(!_0x17c26d||this[_0x459dd1(0x1e2)](_0x17c26d,_0x39cb64))return;this[_0x459dd1(0xc1)](a[_0x459dd1(0x257)]['Info']);let _0x64c2ee=await _0x1f7d04(_0x17c26d[0x0]);_0x64c2ee&&(this[_0x459dd1(0x1dd)](_0x39cb64,_0x64c2ee),this['_showUploadMessage'](a['MessageType'][_0x459dd1(0x24f)]));}async[_0x23ffaf(0x1f7)](_0x49c786,_0x4e382a){const _0x5e1807=_0x23ffaf;if(this[_0x5e1807(0x25c)]()){this['_messageService'][_0x5e1807(0x145)]({'type':a['MessageType'][_0x5e1807(0x1aa)],'content':this[_0x5e1807(0x1a5)]['t']('exchange-client.uploading')});return;}let _0x423f45=await D([_0x49c786]);if(!_0x423f45||this[_0x5e1807(0x1e2)](_0x423f45,_0x49c786))return;this['_showUploadMessage'](a[_0x5e1807(0x257)][_0x5e1807(0x1b2)]);let _0x149ff9=await _0x4e382a(_0x423f45[0x0]);if(_0x149ff9)return this['_showUploadMessage'](a[_0x5e1807(0x257)][_0x5e1807(0x24f)]),_0x149ff9;}async[_0x23ffaf(0x166)](_0x392f51,_0x127981,_0x322aa9){const _0x2c8608=_0x23ffaf;this[_0x2c8608(0x1a7)](a[_0x2c8608(0x257)][_0x2c8608(0x1b2)]);let _0x40d9d6=await _0x392f51();_0x40d9d6&&(this[_0x2c8608(0x255)][_0x2c8608(0x10d)](_0x40d9d6,_0x127981||_0x40d9d6['name']['split']('.')['shift']()||document[_0x2c8608(0xff)],_0x322aa9),this['_showDownloadMessage'](a[_0x2c8608(0x257)][_0x2c8608(0x24f)]));}[_0x23ffaf(0x1f2)](_0x4a448e){this['_getLinkByUnitId']=_0x4a448e;}async[_0x23ffaf(0xf5)](_0x276fe7,_0x3c32bb,_0x320778){const _0x4e2457=_0x23ffaf;this[_0x4e2457(0x1a1)][_0x4e2457(0x145)](),this[_0x4e2457(0x1a1)]['updateState'](0x0),this[_0x4e2457(0x24c)](0x4),this[_0x4e2457(0x245)](0x1);let _0x1fdafe=await _0x320778(_0x276fe7);if(!_0x1fdafe){this[_0x4e2457(0x17c)](),this[_0x4e2457(0x1a1)][_0x4e2457(0x1df)](0x2);return;}let _0x3c5654={'link':this[_0x4e2457(0x1ee)](_0x1fdafe,_0x3c32bb),'name':_0x276fe7['name'],'type':_0x3c32bb};return this[_0x4e2457(0x1a1)][_0x4e2457(0x13f)](_0x3c5654),this[_0x4e2457(0x12a)](),this[_0x4e2457(0x1a1)]['updateState'](0x1),_0x1fdafe;}[_0x23ffaf(0x1dd)](_0x1e53bd,_0x4834e6){const _0x12b5b9=_0x23ffaf;let _0x236bc9=this['_univerInstanceService'][_0x12b5b9(0xc2)](_0x1e53bd);if(!_0x236bc9)throw Error('No\x20unit\x20of\x20type\x20'+_0x1e53bd+_0x12b5b9(0x102));this[_0x12b5b9(0x142)]['disposeUnit'](_0x236bc9['getUnitId']());let _0x1912e9=this[_0x12b5b9(0x142)][_0x12b5b9(0x10c)](_0x1e53bd,_0x4834e6);this['_univerInstanceService'][_0x12b5b9(0x1d9)](_0x1912e9[_0x12b5b9(0x1c8)]());}[_0x23ffaf(0x1ee)](_0x400f32,_0x232901){const _0x17c65c=_0x23ffaf;let _0xb4853f=new URL(window['location'][_0x17c65c(0x181)]);return _0xb4853f[_0x17c65c(0x11d)][_0x17c65c(0xcf)](_0x17c65c(0x23a),_0x400f32),_0xb4853f['searchParams'][_0x17c65c(0xcf)](_0x17c65c(0x1d1),''+_0x232901),_0xb4853f[_0x17c65c(0x221)]();}[_0x23ffaf(0x1e3)](_0x284022){const _0x26f1bf=_0x23ffaf;if(_0x284022){let {code:_0x5829c8}=_0x284022;switch(_0x5829c8){case s[_0x26f1bf(0x156)]['CONNECTOR_DATA_TOO_LARGE']:this[_0x26f1bf(0x216)][_0x26f1bf(0x145)]({'type':a['MessageType'][_0x26f1bf(0x1af)],'content':this['_localeService']['t']('exchange-client.tooLarge')});break;case s[_0x26f1bf(0x156)][_0x26f1bf(0x162)]:this['_messageService'][_0x26f1bf(0x145)]({'type':a[_0x26f1bf(0x257)][_0x26f1bf(0x1af)],'content':this['_localeService']['t'](_0x26f1bf(0x155))});break;default:this['_messageService']['show']({'type':a['MessageType'][_0x26f1bf(0x1af)],'content':this[_0x26f1bf(0x1a5)]['t']('exchange-client.networkError')});}return null;}return this['_messageService']['show']({'type':a[_0x26f1bf(0x257)][_0x26f1bf(0x1af)],'content':this[_0x26f1bf(0x1a5)]['t'](_0x26f1bf(0x234))}),null;}['_showDownloadMessage'](_0x3e78e4){const _0x5852df=_0x23ffaf;let _0x2d8b66='';switch(_0x3e78e4){case a[_0x5852df(0x257)]['Success']:_0x2d8b66=this['_localeService']['t']('exchange-client.downloadSuccess');break;case a[_0x5852df(0x257)][_0x5852df(0x1b2)]:_0x2d8b66=this[_0x5852df(0x1a5)]['t'](_0x5852df(0xbf));}this[_0x5852df(0x216)][_0x5852df(0x145)]({'type':_0x3e78e4,'content':_0x2d8b66});}['_showUploadMessage'](_0x363c54){const _0x559e5d=_0x23ffaf;let _0x5a4aee='';switch(_0x363c54){case a[_0x559e5d(0x257)][_0x559e5d(0x24f)]:_0x5a4aee=this[_0x559e5d(0x1a5)]['t'](_0x559e5d(0xcb));break;case a[_0x559e5d(0x257)]['Info']:_0x5a4aee=this['_localeService']['t'](_0x559e5d(0xb1));}this[_0x559e5d(0x216)][_0x559e5d(0x145)]({'type':_0x363c54,'content':_0x5a4aee});}[_0x23ffaf(0x225)](){const _0x13d609=_0x23ffaf;this[_0x13d609(0x128)][_0x13d609(0x241)]({'done':this[_0x13d609(0x22e)],'count':this[_0x13d609(0x19d)]});}['_addTotalCount'](_0x174df4){const _0x308017=_0x23ffaf;this['_totalUploadTaskCount']+=_0x174df4,this[_0x308017(0x225)]();}[_0x23ffaf(0x245)](_0xbf3544){const _0x1ca9d9=_0x23ffaf;this['_doneUploadTaskCount']+=_0xbf3544,this[_0x1ca9d9(0x22e)]=Math['min'](this[_0x1ca9d9(0x22e)],this[_0x1ca9d9(0x19d)]),this['_emitProgress']();}[_0x23ffaf(0x12a)](){const _0x315439=_0x23ffaf;this[_0x315439(0x22e)]=this[_0x315439(0x19d)],this['_emitProgress']();}[_0x23ffaf(0x17c)](){const _0x43177b=_0x23ffaf;this[_0x43177b(0x22e)]=0x0,this[_0x43177b(0x19d)]=0x0,this[_0x43177b(0x225)]();}[_0x23ffaf(0x1e2)](_0x4d85fe,_0x4deede){const _0x110eb5=_0x23ffaf;let _0x4a6ebf=_0x4d85fe[0x0],_0x2ce59e=_0x4a6ebf['name'];return!ne(_0x4a6ebf,_0x4deede)&&(this['_messageService']['show']({'type':a[_0x110eb5(0x257)]['Error'],'content':this['_localeService']['t'](_0x110eb5(0xee),_0x2ce59e)}),!0x0);}[_0x23ffaf(0x25c)](){const _0x3a674f=_0x23ffaf;return this['_totalUploadTaskCount']!==0x0&&this[_0x3a674f(0x22e)]!==this[_0x3a674f(0x19d)];}};G=F([P(0x0,(0x0,t[_0x23ffaf(0x256)])(t[_0x23ffaf(0x17e)])),P(0x1,r['IMessageService']),P(0x2,(0x0,t[_0x23ffaf(0x256)])(t[_0x23ffaf(0xd6)])),P(0x3,(0x0,t[_0x23ffaf(0x256)])(B)),P(0x4,(0x0,t['Inject'])(H)),P(0x5,t[_0x23ffaf(0x12b)])],G);const ve={0x1:(0x0,c[_0x23ffaf(0xb6)])(i['SuccessIcon'],{'className':'univer-text-green-500'}),0x0:(0x0,c[_0x23ffaf(0xb6)])(i[_0x23ffaf(0x123)],{'className':_0x23ffaf(0x1ad)}),0x2:(0x0,c[_0x23ffaf(0xb6)])(i['ErrorIcon'],{'className':'univer-text-red-500'})};function ye(){const _0x449d97=_0x23ffaf;let _0x3c84b0=(0x0,r[_0x449d97(0x15e)])(H),_0x27fd75=(0x0,r[_0x449d97(0x15e)])(t[_0x449d97(0xd6)]),_0x3263ad=(0x0,r['useDependency'])(W),_0x516c2f=(0x0,r[_0x449d97(0x15b)])(_0x3c84b0[_0x449d97(0x167)],!0x1),_0xc61c7=(0x0,r[_0x449d97(0x15b)])(_0x3c84b0[_0x449d97(0x14a)],0x0),_0x2562b7=(0x0,r[_0x449d97(0x15b)])(_0x3c84b0[_0x449d97(0x17b)],[]),_0x2aed1d=(0x0,r[_0x449d97(0x15b)])(_0x3263ad['progress$'],{'done':0x0,'count':0x0});if(!_0x516c2f)return null;function _0x4a6647(_0x161118){const _0x4fb291=_0x449d97;switch(_0x161118){case t[_0x4fb291(0x23c)][_0x4fb291(0x10b)]:return(0x0,c[_0x4fb291(0xb6)])(i[_0x4fb291(0x1d2)],{});case t[_0x4fb291(0x23c)]['UNIVER_SHEET']:case t['UniverInstanceType'][_0x4fb291(0x1a8)]:return(0x0,c[_0x4fb291(0xb6)])(i[_0x4fb291(0x180)],{});case t[_0x4fb291(0x23c)]['UNIVER_SLIDE']:return(0x0,c[_0x4fb291(0xb6)])(i[_0x4fb291(0x228)],{});default:return null;}}function _0x36a16d(){const _0x42718a=_0x449d97;switch(_0xc61c7){case 0x1:return _0x27fd75['t']('exchange-client.uploadSuccess');case 0x2:return _0x27fd75['t'](_0x42718a(0x205));default:return _0x27fd75['t'](_0x42718a(0xb1));}}let _0x3e2f5b=_0x2aed1d[_0x449d97(0xa8)]>0x0?Math[_0x449d97(0x1fa)](_0x2aed1d[_0x449d97(0x152)]/_0x2aed1d['count']*0x64):0x0;return(0x0,c[_0x449d97(0x1ae)])(_0x449d97(0x169),{'data-u-comp':_0x449d97(0x1e1),'className':_0x449d97(0x132),'children':[(0x0,c[_0x449d97(0x1ae)])('header',{'className':_0x449d97(0x17d),'children':[(0x0,c[_0x449d97(0x1ae)])('span',{'className':'univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-2\x20univer-font-semibold','children':[(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x1e5),{'className':_0x449d97(0x1c6),'children':ve[_0xc61c7]}),(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x1e5),{'className':_0x449d97(0x1dc),'children':_0x36a16d()})]}),(0x0,c[_0x449d97(0xb6)])(a[_0x449d97(0x1b1)],{'size':_0x449d97(0x1b6),'variant':_0x449d97(0x1d8),'aria-label':_0x27fd75['t'](_0x449d97(0x1a0)),'onClick':()=>_0x3c84b0['hide'](),'children':(0x0,c[_0x449d97(0xb6)])(i['CloseIcon'],{})})]}),_0xc61c7===0x0&&(0x0,c[_0x449d97(0x1ae)])(_0x449d97(0x200),{'className':'univer-grid\x20univer-gap-3','children':[(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x1e5),{'className':_0x449d97(0x127),'children':_0x27fd75['t'](_0x449d97(0xc4))}),(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x200),{'className':'univer-h-1.5\x20univer-w-full\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x200),{'className':'univer-h-full\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':_0x3e2f5b+'%'}})}),(0x0,c[_0x449d97(0xb6)])(a[_0x449d97(0x1b1)],{'variant':_0x449d97(0x1d8),'onClick':()=>_0x3263ad[_0x449d97(0x19e)](),'children':_0x27fd75['t']('exchange-client.cancel')})]}),_0xc61c7===0x2&&(0x0,c[_0x449d97(0x1ae)])(_0x449d97(0x200),{'className':'univer-grid\x20univer-gap-2','children':[(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x1e5),{'className':_0x449d97(0x127),'children':_0x27fd75['t'](_0x449d97(0x12d))}),(0x0,c[_0x449d97(0xb6)])(a['Button'],{'variant':'text','onClick':()=>_0x3263ad[_0x449d97(0x258)](),'children':_0x27fd75['t']('exchange-client.uploadAgain')})]}),_0x2562b7['length']>0x0&&(0x0,c[_0x449d97(0xb6)])('ul',{'className':_0x449d97(0x212),'children':_0x2562b7['map'](_0x12ba42=>(0x0,c[_0x449d97(0xb6)])('li',{'children':(0x0,c[_0x449d97(0x1ae)])('a',{'className':_0x449d97(0x1ed),'href':_0x12ba42[_0x449d97(0x151)],'target':_0x449d97(0x1d6),'rel':'noreferrer','children':[(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x1e5),{'className':_0x449d97(0x112),'children':_0x4a6647(_0x12ba42[_0x449d97(0x1d1)])}),(0x0,c[_0x449d97(0xb6)])('span',{'className':_0x449d97(0x12c),'children':_0x12ba42['name']}),(0x0,c[_0x449d97(0xb6)])(i[_0x449d97(0x22d)],{'className':_0x449d97(0xad)})]})},_0x12ba42['link']))}),_0xc61c7===0x1&&(0x0,c['jsxs'])(_0x449d97(0x200),{'className':_0x449d97(0x17d),'children':[(0x0,c[_0x449d97(0xb6)])(_0x449d97(0x1e5),{'className':_0x449d97(0x1c1),'children':_0x27fd75['t'](_0x449d97(0x137),''+_0x2562b7['length'])}),(0x0,c[_0x449d97(0xb6)])(a['Button'],{'variant':'text','onClick':()=>_0x3263ad[_0x449d97(0x258)](),'children':_0x27fd75['t']('exchange-client.uploadAgain')})]})]});}let K=class extends t[_0x23ffaf(0x215)]{constructor(_0x577a3e,_0x55b109){const _0x1bb528=_0x23ffaf;super(),this['_injector']=_0x577a3e,this[_0x1bb528(0xe8)]=_0x55b109,this[_0x1bb528(0x194)](this[_0x1bb528(0xe8)][_0x1bb528(0xb5)](r['BuiltInUIPart']['CONTENT'],()=>(0x0,r['connectInjector'])(ye,this['_injector'])));}};K=F([P(0x0,(0x0,t[_0x23ffaf(0x256)])(t[_0x23ffaf(0x218)])),P(0x1,r[_0x23ffaf(0x1ef)])],K);let q=class extends t['Plugin']{constructor(_0x56a11a=h,_0x43158d,_0x970353){const _0x2e606e=_0x23ffaf;super(),this[_0x2e606e(0x153)]=_0x56a11a,this[_0x2e606e(0x12f)]=_0x43158d,this['_configService']=_0x970353;let {..._0x2558cc}=(0x0,t[_0x2e606e(0xb8)])({},h,this['_config']);this[_0x2e606e(0xc5)][_0x2e606e(0x147)](m,_0x2558cc);}[_0x23ffaf(0x208)](){const _0x42266e=_0x23ffaf;(0x0,t[_0x42266e(0x1c4)])(this[_0x42266e(0x12f)],[[z],[K],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}[_0x23ffaf(0x11e)](){const _0x3664d1=_0x23ffaf;(0x0,t[_0x3664d1(0x23e)])(this[_0x3664d1(0x12f)],[[z],[K],[W]]);}};N(q,_0x23ffaf(0x202),_0x23ffaf(0xd3)),N(q,'packageName',f),N(q,_0x23ffaf(0xab),p),q=F([(0x0,t['DependentOn'])(e[_0x23ffaf(0xd5)],n[_0x23ffaf(0x1f0)],r[_0x23ffaf(0x254)]),P(0x1,(0x0,t[_0x23ffaf(0x256)])(t[_0x23ffaf(0x218)])),P(0x2,t['IConfigService'])],q);let J=class extends t['Disposable']{constructor(_0xe9b26e,_0x5bfb78){const _0x3bbbdc=_0x23ffaf;super(),this['_iconManager']=_0xe9b26e,this[_0x3bbbdc(0x16e)]=_0x5bfb78,this[_0x3bbbdc(0xb7)](),this[_0x3bbbdc(0xa7)]();}[_0x23ffaf(0xb7)](){const _0x24967f=_0x23ffaf;this['disposeWithMe'](this[_0x24967f(0xbc)]['register']({'DirectExportIcon':i['DirectExportIcon'],'ExportIcon':i['ExportIcon'],'FolderIcon':i[_0x24967f(0x120)]}));}[_0x23ffaf(0xa7)](){const _0xebb267=_0x23ffaf;this['disposeWithMe'](this[_0xebb267(0x16e)]['register'](R,he));}};J=F([P(0x0,(0x0,t[_0x23ffaf(0x256)])(r[_0x23ffaf(0x19c)])),P(0x1,(0x0,t['Inject'])(r[_0x23ffaf(0x197)]))],J);function be(_0x3274a0){const _0x2cad5c=_0x23ffaf;let {list:_0x4837c5}=_0x3274a0;function _0x54a4eb(_0x4a8dff){const _0x28ee24=_0x45b3;switch(_0x4a8dff){case t[_0x28ee24(0x23c)][_0x28ee24(0x10b)]:return(0x0,c[_0x28ee24(0xb6)])(i[_0x28ee24(0x1d2)],{});case t['UniverInstanceType'][_0x28ee24(0x14d)]:case t[_0x28ee24(0x23c)]['UNIVER_BASE']:return(0x0,c[_0x28ee24(0xb6)])(i[_0x28ee24(0x180)],{});case t[_0x28ee24(0x23c)][_0x28ee24(0x19a)]:return(0x0,c[_0x28ee24(0xb6)])(i[_0x28ee24(0x228)],{});default:return null;}}return(0x0,c[_0x2cad5c(0xb6)])(_0x2cad5c(0x200),{'className':(0x0,a[_0x2cad5c(0xb9)])(_0x2cad5c(0x13d),a['scrollbarClassName']),'children':(0x0,c['jsx'])('ul',{'className':_0x2cad5c(0x119),'children':_0x4837c5[_0x2cad5c(0x249)]((_0x13783d,_0x3012ce)=>(0x0,c[_0x2cad5c(0xb6)])('li',{'children':(0x0,c['jsxs'])('a',{'className':_0x2cad5c(0x154),'href':_0x13783d['link'],'target':'_blank','rel':_0x2cad5c(0x16f),'children':[(0x0,c[_0x2cad5c(0x1ae)])(_0x2cad5c(0x1e5),{'className':_0x2cad5c(0xea),'children':[(0x0,c[_0x2cad5c(0xb6)])(_0x2cad5c(0x1e5),{'className':_0x2cad5c(0x122),'children':_0x54a4eb(_0x13783d[_0x2cad5c(0x1d1)])}),(0x0,c[_0x2cad5c(0xb6)])(a['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x13783d[_0x2cad5c(0x201)],'asChild':!0x0,'children':(0x0,c[_0x2cad5c(0xb6)])(_0x2cad5c(0x1e5),{'className':_0x2cad5c(0x1b8),'children':_0x13783d[_0x2cad5c(0x201)]})})]}),(0x0,c['jsx'])('span',{'className':_0x2cad5c(0xbb),'children':(0x0,c[_0x2cad5c(0xb6)])(i[_0x2cad5c(0x22d)],{})})]})},_0x3012ce))})});}function Y(_0x5efc4e){const _0x428eb2=_0x23ffaf;let {onClick:_0x51c64e,children:_0x2dc536,className:_0x3b78f5}=_0x5efc4e;return(0x0,c[_0x428eb2(0xb6)])(a[_0x428eb2(0x1b1)],{'size':_0x428eb2(0x107),'variant':'text','className':(0x0,a[_0x428eb2(0xb9)])(_0x428eb2(0x222),_0x3b78f5),'type':_0x428eb2(0x22a),'onClick':_0x51c64e,'children':_0x2dc536});}function X(){const _0x20dad9=_0x23ffaf;let _0x4dcad0=(0x0,r[_0x20dad9(0x15e)])(W),_0x573610=(0x0,r[_0x20dad9(0x15e)])(t[_0x20dad9(0xd6)]);function _0x17165f(){const _0x50b8e7=_0x20dad9;return _0x4dcad0[_0x50b8e7(0x258)]();}return(0x0,c[_0x20dad9(0xb6)])(Y,{'onClick':_0x17165f,'children':_0x573610['t']('exchange-client.uploadAgain')});}function xe(){const _0x14de7b=_0x23ffaf;let _0x3abd46=(0x0,r[_0x14de7b(0x15e)])(t[_0x14de7b(0xd6)]);return(0x0,c[_0x14de7b(0x1ae)])(_0x14de7b(0x200),{'className':_0x14de7b(0x1fd),'children':[(0x0,c[_0x14de7b(0xb6)])('span',{'className':_0x14de7b(0x143),'children':_0x3abd46['t'](_0x14de7b(0x12d))}),(0x0,c[_0x14de7b(0xb6)])(X,{})]});}function _0x45b3(_0x120eb6,_0x5cc942){_0x120eb6=_0x120eb6-0xa7;const _0x5efa30=_0x5efa();let _0x45b3aa=_0x5efa30[_0x120eb6];return _0x45b3aa;}function Se(_0x118513){const _0x1643f5=_0x23ffaf;let {count:_0x26d8a8}=_0x118513,_0x258889=(0x0,r[_0x1643f5(0x15e)])(t[_0x1643f5(0xd6)]);return(0x0,c['jsxs'])(_0x1643f5(0x200),{'className':_0x1643f5(0xbe),'children':[(0x0,c[_0x1643f5(0xb6)])(_0x1643f5(0x1e5),{'className':_0x1643f5(0x1c1),'children':_0x258889['t'](_0x1643f5(0x137),''+_0x26d8a8)}),(0x0,c[_0x1643f5(0xb6)])(X,{})]});}function Ce(){const _0x5e4762=_0x23ffaf;let _0x186d57=(0x0,r[_0x5e4762(0x15e)])(W),_0x8b07f5=(0x0,r[_0x5e4762(0x15e)])(t['LocaleService']);function _0x3ffcec(){_0x186d57['interrupt']();}return(0x0,c[_0x5e4762(0xb6)])(Y,{'onClick':_0x3ffcec,'children':_0x8b07f5['t'](_0x5e4762(0x1a0))});}function _0x5efa(){const _0x370237=['iterator','TRADITIONAL','pptx','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','resolveWithBasePath','pushLink','pending','jsonID','_univerInstanceService','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','HTTPService','show','getFileById','setConfig','workbook','data','state$','convert-then-values','uploadFileServerUrl','UNIVER_SHEET','getTask','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','signUrl','link','done','_config','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','exchange-client.internalError','ErrorCode','isCurrentUnitLoadedFromServer','BehaviorSubject','&flate=','FileId','useObservable','isArray','aborted','useDependency','xlsx','/universer-api/file/{fileID}/sign-url','_visible$','INTERNAL_ERROR','defineProperty','ExchangeBaseImportMode','input','exportFile','visible$','1.0.1','section','univer-flex\x20univer-justify-end\x20univer-gap-2','useRef','file.json','_logService','_componentManager','noreferrer','register','UNDEFINED','split','pop','UniverExchangeClientPlugin','FAIL','UniverExchangeClientMobileUIPlugin','CloseIcon','/universer-api/stream/file/upload','getUnitOnRev','application/json','list$','_clearProgress','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','IUniverInstanceService','addEventListener','SheetsMultiIcon','href','get','getTextFromUrl','Get\x20outputType\x20error','_extractErrorDetail','univer-pro.exchange-client.upload-notification.service','replace','SuccessIcon','textDecoder','univer-flex\x20univer-flex-col\x20univer-gap-4','import\x20error','HttpImport','Subject','originalMeta','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','univer-pl-2\x20univer-pr-4','univer-text-red-500','taskID','error','disposeWithMe','_exportBySnapshot','application/vnd.ms-excel','ComponentManager','UNIVER_UNKNOWN','univer-pro.exchange-client.operate.service','UNIVER_SLIDE','decode','IconManager','_totalUploadTaskCount','interrupt','PPTX','exchange-client.cancel','_uploadNotificationService','Radio','fileID','getOwnPropertyDescriptor','_localeService','doc','_showDownloadMessage','UNIVER_BASE','forEach','Warning','CONVERT_THEN_VALUES','abort','univer-text-blue-500','jsxs','Error','asObservable','Button','Info','26002qBqlpY','outputType','univer-flex\x20univer-items-center','icon','importFileToJson','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','message','AUTO','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','3ndTsUl','ExportIcon','getConfig','Failed\x20to\x20get\x20unitID\x20from\x20task','connectInjector','univer-text-sm\x20univer-text-gray-500','_getSignURL','change','registerDependencies','getLatestCsReqIdBySid','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-xl','univer-grid\x20univer-gap-4','getUnitId','cancel','unsubscribe','33444GwFkpc','trim','dispose','primary','values','application/msword','type','DocsMultiIcon','_sheetBlockCache','application/pdf','_getTaskURL','_blank','_httpService','text','focusUnit','3410aWmquw','toLowerCase','univer-truncate','_refreshUnit','MobileActionRowGroup','updateState','toPrimitive','mobile-upload-notification','_fileTypeError','_showNetworkError','style','span','complete','append','DependentOn','catch','call','exportServerUrl','fail','univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-px-3\x20univer-py-2\x20univer-text-gray-900\x20univer-no-underline\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','_getLinkByUnitId','IUIPartsService','UniverNetworkPlugin','download','registerLink','tsv','8400644XasEks','auto','hide','importFileAsSnapshot','clear','BuiltInUIPart','floor','keys','univer-animate-spin','univer-mt-5\x20univer-flex\x20univer-flex-col','_importToJson','UNIT','div','name','pluginName','clearTaskInterrupted','univer-w-48','exchange-client.unknownMistake','exchange-client.confirm','PDF','onStarting','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','export','symbol','subscribe','_getExportURL','_signUrl','_requestState$','setTaskInterrupted','IConfigService','univer-m-0\x20univer-grid\x20univer-list-none\x20univer-gap-2\x20univer-p-0','31960xvYFHG','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','Disposable','_messageService','_importTaskId','Injector','importFileToUnitId','_list$','JSON','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','removeEventListener','GET','tables','click','toString','univer-text-primary-600','text/tab-separated-values','current','_emitProgress','function','application/vnd.ms-powerpoint','SlidesMultiIcon','ranges','button','HYBRID',':\x20HTTP\x20','ShareRangeIcon','_doneUploadTaskCount','457029hwpIbf','csv','signUrlServerUrl','univer-grid\x20univer-gap-2\x20univer-rounded-xl\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','6264845vxXAWL','exchange-client.networkError','transformSheetBlockMetaToString','getResourcesRequest','78TKFEjx','headers','univer-pro.exchange-client.exchange.service','unit','82jjAhQU','UniverInstanceType','join','touchDependencies','File\x20request\x20aborted.','has','next','unitID','code','_requestService','_addDoneTask','MobileSelect','progress$','maxTimeoutTime','map','_getUploadFileURL','toDisposable','_addTotalCount','exchange-client.export-format-dialog','_state$','Success','_isSelectingUnitImportFile','interruptImportTask','univer-pro.exchange-client.request.service','_buildHttpErrorMessage','UniverMobileUIPlugin','_exchangeService','Inject','MessageType','retryImportFileToUnitId','Module','6gXbHnk','updateSnapshot','_uploadTaskNotDone','TSV','AbortError','_registerComponents','count','post','upload','version','ExchangeBaseFormulaPolicy','univer-shrink-0','DirectExportIcon','application/vnd.openxmlformats-officedocument.presentationml.presentation','success','exchange-client.uploading','export\x20error','block\x20is\x20required','modern','registerComponent','jsx','_registerIcons','merge','clsx','default','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','_iconManager','ExchangeFormat','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','exchange-client.downloading','_getImportURL','_showUploadMessage','getCurrentUnitOfType','string','exchange-client.wait','_configService','UNRECOGNIZED','upload\x20failed:\x20FileId\x20is\x20empty','transformWorkbookSnapshotMetaToString','ExchangeDocType','_taskInterrupted','exchange-client.uploadSuccess','pdf','flatMap','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','set','UNIVER_BOARD','decorate','deflateSync','UNIVER_EXCHANGE_CLIENT_PLUGIN','requestState$','UniverLicensePlugin','LocaleService','fromEntries','_buildProtocolErrorMessage','2987348wdQxOU','display','blob','XLSX','unshift','toUpperCase','number','&source=','file.','saveSnapshot','ppt','xls','constructor','stringify','SnapshotService','_uiPartsService','createIdentifier','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','MODERN','upload\x20request\x20failed','docx','exchange-client.fileTypeError','multiple','Failed\x20to\x20get\x20file\x20from\x20url','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','UNIVER_PROJECT','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','blockID','_importFileToUnitId','sign\x20url\x20error','importer','sheets','72zxYyMU','filter','_lastUnitImportContext','content-disposition','Failed\x20to\x20get\x20jsonID\x20from\x20task','resolve','title','status','_import','\x20is\x20currently\x20active.','univer-w-full\x20!univer-min-w-0','_upload','/universer-api/exchange/{type}/export','importFileToSnapshot','small','Error\x20fetching\x20file\x20from\x20URL:','ClientSnapshotServerService','SHEETS','UNIVER_DOC','createUnit','downloadFile','buffer','createObjectURL','TABLES','_getDownloadEndpointURL','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center','\x20-\x20','_export','LoadingMultiIcon','FileSource','_registerUIParts','file','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','univer-text-green-500','object','useState','searchParams','onReady','RANGES','FolderIcon','size','univer-flex\x20univer-h-5\x20univer-text-xl','ClockIcon','_list','pathname','length','univer-text-sm\x20univer-text-gray-700\x20dark:!univer-text-gray-200','_progress$','Response','_completeProgress','ILogService','univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-sm','exchange-client.interrupt','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','_injector','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Select','univer-fixed\x20univer-bottom-16\x20univer-left-3\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-grid\x20univer-max-h-[50vh]\x20univer-gap-3\x20univer-overflow-y-auto\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','exportFileBySnapshot','import','b64EncodeUnicode','body','exchange-client.uploadSuccessTip','parse','removeChild'];_0x5efa=function(){return _0x370237;};return _0x5efa();}function we(){const _0x41732e=_0x23ffaf;let _0x5a4bf4=(0x0,r[_0x41732e(0x15e)])(W),{count:_0x2b31e5,done:_0x2aaf5c}=(0x0,r[_0x41732e(0x15b)])(_0x5a4bf4[_0x41732e(0x247)]),_0x44994d=_0x2b31e5>0x0?_0x2aaf5c/_0x2b31e5:0x0;return(0x0,c['jsx'])(_0x41732e(0x200),{'className':_0x41732e(0x18f),'children':(0x0,c[_0x41732e(0xb6)])(_0x41732e(0x200),{'className':_0x41732e(0xf3),'style':{'width':Math[_0x41732e(0x1fa)](_0x44994d*0x64)+'%'}})});}function Te(){const _0x325a2e=_0x23ffaf;let _0x353e55=(0x0,r['useDependency'])(t[_0x325a2e(0xd6)]);return(0x0,c['jsxs'])(_0x325a2e(0x200),{'className':_0x325a2e(0x1fd),'children':[(0x0,c[_0x325a2e(0xb6)])(_0x325a2e(0x1e5),{'className':_0x325a2e(0x12e),'children':_0x353e55['t']('exchange-client.wait')}),(0x0,c['jsx'])('div',{'className':_0x325a2e(0x190),'children':(0x0,c['jsx'])(we,{})}),(0x0,c[_0x325a2e(0xb6)])(Ce,{})]});}const Z={0x1:(0x0,c[_0x23ffaf(0xb6)])(i[_0x23ffaf(0x188)],{'className':_0x23ffaf(0x11a)}),0x0:(0x0,c['jsx'])(i[_0x23ffaf(0x123)],{'className':_0x23ffaf(0x1ad)}),0x2:(0x0,c[_0x23ffaf(0xb6)])(i['ErrorIcon'],{'className':_0x23ffaf(0x191)})};function Ee(){const _0x555508=_0x23ffaf;let _0x2f59ff=(0x0,r[_0x555508(0x15e)])(H),_0x36995d=(0x0,r[_0x555508(0x15e)])(t['LocaleService']),_0x182a75=(0x0,r['useObservable'])(_0x2f59ff[_0x555508(0x14a)],0x0),_0x39939b=(0x0,r[_0x555508(0x15b)])(_0x2f59ff['visible$'],!0x1),_0x16d06b=(0x0,r['useObservable'])(_0x2f59ff[_0x555508(0x17b)],[]);function _0x57b180(){const _0x3e18fe=_0x555508;_0x2f59ff[_0x3e18fe(0x1f6)]();}function _0x207e4a(_0x24ca6a){const _0x3f27a4=_0x555508;switch(_0x24ca6a){case 0x1:return _0x36995d['t']('exchange-client.uploadSuccess');case 0x0:return _0x36995d['t'](_0x3f27a4(0xb1));case 0x2:return _0x36995d['t'](_0x3f27a4(0x205));default:return'';}}return _0x39939b&&(0x0,c[_0x555508(0x1ae)])(_0x555508(0x200),{'className':_0x555508(0x21c),'children':[(0x0,c[_0x555508(0x1ae)])(_0x555508(0x200),{'className':_0x555508(0x214),'children':[(0x0,c[_0x555508(0x1ae)])(_0x555508(0x1e5),{'className':_0x555508(0x1b5),'children':[(0x0,c[_0x555508(0xb6)])('span',{'className':_0x555508(0xce),'children':Z[_0x182a75]}),(0x0,c[_0x555508(0xb6)])(_0x555508(0x1e5),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x207e4a(_0x182a75)})]}),(0x0,c['jsx'])(_0x555508(0x1e5),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x57b180,'children':(0x0,c['jsx'])(i[_0x555508(0x177)],{})})]}),(0x0,c[_0x555508(0x1ae)])(_0x555508(0x200),{'children':[_0x182a75===0x0&&(0x0,c[_0x555508(0xb6)])(Te,{}),_0x182a75===0x2&&(0x0,c[_0x555508(0xb6)])(xe,{}),_0x16d06b[_0x555508(0x126)]>0x0&&(0x0,c['jsx'])(be,{'list':_0x16d06b}),_0x182a75===0x1&&(0x0,c[_0x555508(0xb6)])(Se,{'count':_0x16d06b[_0x555508(0x126)]})]})]});}let Q=class extends t[_0x23ffaf(0x215)]{constructor(_0x1b7872,_0xe71364){const _0x278dd7=_0x23ffaf;super(),this[_0x278dd7(0x12f)]=_0x1b7872,this[_0x278dd7(0xe8)]=_0xe71364,this[_0x278dd7(0x117)]();}[_0x23ffaf(0x117)](){const _0x4d61c6=_0x23ffaf;this['disposeWithMe'](this[_0x4d61c6(0xe8)]['registerComponent'](r[_0x4d61c6(0x1f9)]['CONTENT'],()=>(0x0,r[_0x4d61c6(0x1c0)])(Ee,this['_injector'])));}};Q=F([P(0x0,(0x0,t[_0x23ffaf(0x256)])(t['Injector'])),P(0x1,r[_0x23ffaf(0x1ef)])],Q);let $=class extends t['Plugin']{constructor(_0x119699=h,_0x29ebe6,_0x4ac51a){const _0x55c091=_0x23ffaf;super(),this[_0x55c091(0x153)]=_0x119699,this['_injector']=_0x29ebe6,this[_0x55c091(0xc5)]=_0x4ac51a;let {..._0x597f3d}=(0x0,t['merge'])({},h,this['_config']);this[_0x55c091(0xc5)][_0x55c091(0x147)](m,_0x597f3d);}[_0x23ffaf(0x208)](){const _0x3540b7=_0x23ffaf;(0x0,t[_0x3540b7(0x1c4)])(this['_injector'],[[J],[Q],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}[_0x23ffaf(0x11e)](){const _0x5506a4=_0x23ffaf;(0x0,t['touchDependencies'])(this[_0x5506a4(0x12f)],[[J],[Q],[W]]);}};N($,_0x23ffaf(0x202),_0x23ffaf(0xd3)),N($,'packageName',f),N($,_0x23ffaf(0xab),p),$=F([(0x0,t[_0x23ffaf(0x1e8)])(e[_0x23ffaf(0xd5)],n[_0x23ffaf(0x1f0)]),P(0x1,(0x0,t['Inject'])(t[_0x23ffaf(0x218)])),P(0x2,t[_0x23ffaf(0x211)])],$);function De(_0xb05eed,_0xac398d){const _0x6ca9c5=_0x23ffaf;let _0x3fd19f=_0xb05eed['get'](t[_0x6ca9c5(0x17e)])[_0x6ca9c5(0xc2)](_0xac398d);return!_0x3fd19f||!_0xb05eed[_0x6ca9c5(0x240)](u[_0x6ca9c5(0xe7)])||!_0xb05eed[_0x6ca9c5(0x240)](u['ISnapshotServerService'])?!0x1:_0xb05eed['get'](u[_0x6ca9c5(0xe7)])['isUnitLoadedFromServer'](_0x3fd19f);}function Oe(_0x2c2641){const _0x1c8f7e=_0x23ffaf;let _0x52e54d=_0x2c2641[_0x1c8f7e(0x148)];if(!_0x52e54d)return null;let _0x1a0330={};_0x52e54d['sheets']&&Object[_0x1c8f7e(0x1fb)](_0x52e54d[_0x1c8f7e(0xf8)])['forEach'](_0x244091=>{const _0x2f92e9=_0x1c8f7e;let _0x410c43=_0x52e54d[_0x2f92e9(0xf8)][_0x244091];_0x1a0330[_0x244091]={..._0x410c43,'originalMeta':(0x0,u[_0x2f92e9(0x135)])(u[_0x2f92e9(0x189)][_0x2f92e9(0x19b)](_0x410c43[_0x2f92e9(0x18e)]))};});let _0x1bc28e=(0x0,u[_0x1c8f7e(0x135)])(u['textDecoder'][_0x1c8f7e(0x19b)](_0x52e54d['originalMeta']));return{..._0x2c2641,'workbook':{..._0x52e54d,'originalMeta':_0x1bc28e,'sheets':_0x1a0330},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function ke(_0x2866cc){const _0x2f42ec=_0x23ffaf;let _0x3b6b7e={};return _0x2866cc[_0x2f42ec(0x1a9)](_0x26283b=>{const _0x51e8f7=_0x2f42ec;_0x3b6b7e[_0x26283b['id']]={..._0x26283b,'data':(0x0,u[_0x51e8f7(0x135)])(u[_0x51e8f7(0x189)][_0x51e8f7(0x19b)](_0x26283b[_0x51e8f7(0x149)]))};}),_0x3b6b7e;}var Ae=class{constructor(){const _0xcb8cd8=_0x23ffaf;N(this,_0xcb8cd8(0x1d3),new Map());}[_0x23ffaf(0x179)](){const _0xab776b=_0x23ffaf;return Promise[_0xab776b(0xfe)]({'snapshot':{'unitID':'','type':t['UniverInstanceType'][_0xab776b(0x14d)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':s[_0xab776b(0x156)]['OK'],'message':''}});}['getSheetBlock'](_0x311cb1,_0x12b3d4){const _0x1fdcd3=_0x23ffaf;let _0x4a8164=this[_0x1fdcd3(0x1d3)][_0x1fdcd3(0x182)](_0x12b3d4[_0x1fdcd3(0xf4)]);return Promise[_0x1fdcd3(0xfe)]({'block':_0x4a8164,'error':{'code':s[_0x1fdcd3(0x156)]['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x385aa3,_0xedfae1){const _0x3d40ad=_0x23ffaf;let _0x481e88=this['_sheetBlockCache'][_0x3d40ad(0x182)](_0xedfae1[_0x3d40ad(0xf4)]);return Promise['resolve']({'block':_0x481e88===void 0x0?void 0x0:{..._0x481e88,'data':JSON[_0x3d40ad(0x138)](u[_0x3d40ad(0x189)][_0x3d40ad(0x19b)](_0x481e88[_0x3d40ad(0x149)]))},'error':{'code':s[_0x3d40ad(0x156)]['OK'],'message':''}});}['fetchMissingChangesets'](){const _0x261cd7=_0x23ffaf;return Promise[_0x261cd7(0xfe)]({'changesets':[],'error':{'code':s[_0x261cd7(0x156)]['OK'],'message':''}});}[_0x23ffaf(0x236)](){const _0x2a11de=_0x23ffaf;return Promise[_0x2a11de(0xfe)]({'resources':{},'error':{'code':s[_0x2a11de(0x156)]['OK'],'message':''}});}[_0x23ffaf(0xe2)](){const _0x4dada2=_0x23ffaf;return Promise[_0x4dada2(0xfe)]({'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x23ffaf(0x25b)](){const _0x3b7a93=_0x23ffaf;return Promise[_0x3b7a93(0xfe)]({'error':{'code':s[_0x3b7a93(0x156)]['OK'],'message':''}});}['saveSheetBlock'](_0x4a5900,_0x3f3b9f){const _0x1f448e=_0x23ffaf;let {block:_0x5b9771}=_0x3f3b9f;return _0x5b9771?(this['_sheetBlockCache'][_0x1f448e(0xcf)](_0x5b9771['id'],_0x5b9771),Promise[_0x1f448e(0xfe)]({'error':{'code':s['ErrorCode']['OK'],'message':''},'blockID':_0x5b9771['id']})):Promise[_0x1f448e(0xfe)]({'error':{'code':s[_0x1f448e(0x156)][_0x1f448e(0x171)],'message':_0x1f448e(0xb3)},'blockID':''});}['saveChangeset'](){const _0x6196a=_0x23ffaf;return Promise[_0x6196a(0xfe)]({'error':{'code':s[_0x6196a(0x156)]['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){return Promise['resolve']({'error':void 0x0,'fileMetaId':''});}[_0x23ffaf(0x1c5)](){const _0x56b9e2=_0x23ffaf;return Promise[_0x56b9e2(0xfe)]({'error':void 0x0,'latestReqID':0x0});}};exports[_0x23ffaf(0x109)]=Ae,exports['EXPORT_FORMAT_DIALOG']=R,exports['ExchangeBaseExportMode']=me,exports[_0x23ffaf(0xac)]=pe,exports[_0x23ffaf(0x164)]=fe,exports[_0x23ffaf(0xc9)]=de,exports[_0x23ffaf(0xbd)]=ue,exports['IExchangeOperateService']=W,exports['IExchangeService']=B,exports['ImportOutputType']=le,Object[_0x23ffaf(0x163)](exports,_0x23ffaf(0x176),{'enumerable':!0x0,'get':function(){return q;}}),Object[_0x23ffaf(0x163)](exports,_0x23ffaf(0x174),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x23ffaf(0x157)]=De,exports[_0x23ffaf(0x235)]=ke,exports[_0x23ffaf(0xc8)]=Oe;
|
|
1
|
+
const _0x5b5e2a=_0x1c13;(function(_0x59a9d3,_0x3f9341){const _0x4887b1=_0x1c13,_0x2083a2=_0x59a9d3();while(!![]){try{const _0x29a20b=-parseInt(_0x4887b1(0x20a))/0x1+parseInt(_0x4887b1(0x13c))/0x2+-parseInt(_0x4887b1(0x275))/0x3+-parseInt(_0x4887b1(0x1bc))/0x4+-parseInt(_0x4887b1(0x27e))/0x5+parseInt(_0x4887b1(0x17c))/0x6*(-parseInt(_0x4887b1(0x226))/0x7)+parseInt(_0x4887b1(0x172))/0x8;if(_0x29a20b===_0x3f9341)break;else _0x2083a2['push'](_0x2083a2['shift']());}catch(_0x3aac6c){_0x2083a2['push'](_0x2083a2['shift']());}}}(_0x19fd,0xc5c38),Object[_0x5b5e2a(0x17f)](exports,Symbol['toStringTag'],{'value':_0x5b5e2a(0x1bf)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/ui'),i=require('@univerjs/icons'),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=_0x5b5e2a(0x2a3),p=_0x5b5e2a(0x142);const m='exchange-client.config',h={},g=_0x5b5e2a(0x24e),_='application/msword',v=_0x5b5e2a(0x1cc),y=_0x5b5e2a(0x218),b=_0x5b5e2a(0x265),x=_0x5b5e2a(0x24f),S=_0x5b5e2a(0x166),C=_0x5b5e2a(0x21b),w=_0x5b5e2a(0x244),ee={[t[_0x5b5e2a(0x2f8)][_0x5b5e2a(0x14a)]]:[''],[t[_0x5b5e2a(0x2f8)][_0x5b5e2a(0x1a1)]]:[_,g],[t[_0x5b5e2a(0x2f8)][_0x5b5e2a(0x291)]]:[v,y,b,x],[t[_0x5b5e2a(0x2f8)][_0x5b5e2a(0x1d9)]]:[S,C],[t['UniverInstanceType'][_0x5b5e2a(0x18b)]]:[w],[t['UniverInstanceType'][_0x5b5e2a(0x184)]]:[v,y,b,x],[t[_0x5b5e2a(0x2f8)]['UNIVER_BOARD']]:[''],[t[_0x5b5e2a(0x2f8)][_0x5b5e2a(0x1f5)]]:[''],[t[_0x5b5e2a(0x2f8)][_0x5b5e2a(0x2d7)]]:['']},T={[_]:_0x5b5e2a(0x22b),[g]:_0x5b5e2a(0x13f),[v]:_0x5b5e2a(0x222),[y]:_0x5b5e2a(0x167),[b]:_0x5b5e2a(0x1f8),[x]:'tsv',[S]:_0x5b5e2a(0x289),[C]:_0x5b5e2a(0x2f4),[w]:_0x5b5e2a(0x188)},E=Object[_0x5b5e2a(0x27f)](Object[_0x5b5e2a(0x1e0)](ee)[_0x5b5e2a(0x1d2)](([_0x23ed46,_0x33cad3])=>[_0x23ed46,_0x33cad3[_0x5b5e2a(0x1d2)](_0x4cde7d=>T[_0x4cde7d])[_0x5b5e2a(0x271)](Boolean)]));function te(_0x12cc88,_0x43becd,_0x40ec92){const _0x34903d=_0x5b5e2a;let _0x9e5677=document[_0x34903d(0x272)]('a');_0x9e5677[_0x34903d(0x2df)]=_0x12cc88,_0x9e5677['style'][_0x34903d(0x257)]=_0x34903d(0x178),_0x9e5677['download']=_0x43becd+'.'+_0x40ec92,document[_0x34903d(0x296)]['appendChild'](_0x9e5677),_0x9e5677[_0x34903d(0x1c7)](),document[_0x34903d(0x296)][_0x34903d(0x197)](_0x9e5677);}function ne(_0x655871,_0x223023){const _0x48a8da=_0x5b5e2a;var _0x76c5b3;let _0x3c81e2=(_0x76c5b3=_0x655871['name'][_0x48a8da(0x228)]('.')['pop']())==null?void 0x0:_0x76c5b3['toLowerCase']();return!!(_0x3c81e2&&(E[_0x223023]??[])[_0x48a8da(0x2c3)](_0x3c81e2));}function D(_0x2ebcee,_0x2a8c61=!0x1){let _0x44eb92=_0x2ebcee['flatMap'](_0x159d2b=>E[_0x159d2b]??[])['map'](_0x32ff96=>'.'+_0x32ff96)['join'](',');return new Promise(_0x26ca4b=>{const _0x1a1e32=_0x1c13;let _0x4db64a=document['createElement'](_0x1a1e32(0x2f1));_0x4db64a[_0x1a1e32(0x15d)]=_0x1a1e32(0x2e2),_0x4db64a[_0x1a1e32(0x276)]=_0x44eb92,_0x4db64a['multiple']=_0x2a8c61;let _0x3c0e36=()=>{const _0x51dcb5=_0x1a1e32;var _0x3ec5a0;return _0x26ca4b((_0x3ec5a0=_0x4db64a['files'])!=null&&_0x3ec5a0[_0x51dcb5(0x20c)]?_0x4db64a[_0x51dcb5(0x29b)]:null);};_0x4db64a[_0x1a1e32(0x1a0)](_0x1a1e32(0x28c),_0x3c0e36,{'once':!0x0}),_0x4db64a[_0x1a1e32(0x1a0)](_0x1a1e32(0x151),_0x3c0e36,{'once':!0x0}),_0x4db64a[_0x1a1e32(0x1c7)]();});}async function O(_0x5257f7,_0x50c250){const _0x537845=_0x5b5e2a;try{return await k(_0x5257f7,_0x50c250);}catch(_0x47ccf5){console['error'](_0x537845(0x267),_0x47ccf5);return;}}async function k(_0x46961a,_0x26f071,_0x50366c){const _0x409faa=_0x5b5e2a;var _0x1b27f6,_0x538eb3;let _0x14463d=_0x50366c?await re(_0x46961a,_0x26f071,_0x50366c):await _0x26f071[_0x409faa(0x230)](_0x46961a,{'responseType':_0x409faa(0x245)}),_0x44b2cb=_0x14463d['body'],_0x2efd18=((_0x1b27f6=_0x14463d[_0x409faa(0x2f2)][_0x409faa(0x230)](_0x409faa(0x200)))==null?void 0x0:_0x1b27f6[_0x409faa(0x2ed)](',\x20'))??_0x409faa(0x29c),_0x53cec0=_0x409faa(0x19d)+(T[_0x2efd18]||_0x409faa(0x167)),_0x553cae=(_0x538eb3=_0x14463d[_0x409faa(0x2f2)][_0x409faa(0x230)]('content-disposition'))==null?void 0x0:_0x538eb3[_0x409faa(0x2ed)](',\x20');if(_0x553cae){let _0x219582=_0x553cae[_0x409faa(0x2bb)](/filename=(.+)/);_0x219582&&_0x219582[0x1]&&(_0x53cec0=_0x219582[0x1]);}else _0x53cec0=ie(_0x46961a)||_0x53cec0;return new File([_0x44b2cb],_0x53cec0,{'type':_0x2efd18});}function re(_0x464475,_0x40c1fd,_0x436404){return new Promise((_0x422955,_0x2c20e2)=>{const _0x552224=_0x1c13;let _0xf5a93b=!0x1,_0x4663d9,_0x25e31b=()=>_0x436404[_0x552224(0x258)]('abort',_0x2ebabe),_0x2ebabe=()=>{const _0x35afaf=_0x552224;if(_0xf5a93b)return;_0xf5a93b=!0x0,_0x4663d9==null||_0x4663d9[_0x35afaf(0x281)](),_0x25e31b();let _0x5267ee=Error(_0x35afaf(0x2d3));_0x5267ee[_0x35afaf(0x2d6)]='AbortError',_0x2c20e2(_0x5267ee);};if(_0x436404[_0x552224(0x1a0)]('abort',_0x2ebabe,{'once':!0x0}),_0x436404[_0x552224(0x280)]){_0x2ebabe();return;}_0x4663d9=_0x40c1fd[_0x552224(0x2da)](_0x552224(0x2e9),_0x464475,{'responseType':_0x552224(0x245)})[_0x552224(0x207)]({'next'(_0x433fee){const _0x2b27b0=_0x552224;_0xf5a93b||_0x433fee['type']!==n[_0x2b27b0(0x1cf)][_0x2b27b0(0x25a)]||(_0xf5a93b=!0x0,_0x25e31b(),_0x4663d9==null||_0x4663d9[_0x2b27b0(0x281)](),_0x422955(_0x433fee));},'error'(_0x550ea4){_0xf5a93b||(_0xf5a93b=!0x0,_0x25e31b(),_0x2c20e2(_0x550ea4));},'complete'(){const _0x120fee=_0x552224;_0xf5a93b||(_0xf5a93b=!0x0,_0x25e31b(),_0x2c20e2(Error(_0x120fee(0x2b8))));}}),_0xf5a93b&&_0x4663d9['unsubscribe']();});}function ie(_0x42be1a){const _0x1d8683=_0x5b5e2a;try{return new URL(_0x42be1a)[_0x1d8683(0x297)][_0x1d8683(0x228)]('/')[_0x1d8683(0x140)]();}catch(_0x1c3649){console[_0x1d8683(0x214)](_0x1d8683(0x26c),_0x1c3649);return;}}function ae(_0x13305b){const _0x2a5a9c=_0x5b5e2a;let _0x3bba35=new Blob([_0x13305b[_0x2a5a9c(0x1fb)]],{'type':_0x2a5a9c(0x242)});return new File([_0x3bba35],_0x2a5a9c(0x1f2));}function A(_0xf72495,_0x5b60ce){const _0x201011=_0x5b5e2a;return _0xf72495[_0x201011(0x2b7)](_0x201011(0x199),_0x5b60ce);}function j(_0x37973a,_0xde81d){const _0x55676e=_0x5b5e2a;return _0x37973a[_0x55676e(0x2b7)](_0x55676e(0x1da),_0xde81d);}function oe(_0x307147,_0x44ba95){const _0x533d16=_0x5b5e2a;return _0x307147[_0x533d16(0x2b7)](_0x533d16(0x1df),_0x44ba95);}function M(_0x5772ca){'@babel/helpers - typeof';const _0x3c952a=_0x5b5e2a;return M=typeof Symbol==_0x3c952a(0x2db)&&typeof Symbol['iterator']==_0x3c952a(0x287)?function(_0x3f13c1){return typeof _0x3f13c1;}:function(_0xce477f){const _0x2ae55b=_0x3c952a;return _0xce477f&&typeof Symbol==_0x2ae55b(0x2db)&&_0xce477f[_0x2ae55b(0x269)]===Symbol&&_0xce477f!==Symbol[_0x2ae55b(0x175)]?_0x2ae55b(0x287):typeof _0xce477f;},M(_0x5772ca);}function se(_0x4137f4,_0x436485){const _0x4cbe7d=_0x5b5e2a;if(M(_0x4137f4)!='object'||!_0x4137f4)return _0x4137f4;var _0x490b5f=_0x4137f4[Symbol[_0x4cbe7d(0x252)]];if(_0x490b5f!==void 0x0){var _0xe1e0f6=_0x490b5f['call'](_0x4137f4,_0x436485||_0x4cbe7d(0x2ac));if(M(_0xe1e0f6)!='object')return _0xe1e0f6;throw TypeError(_0x4cbe7d(0x2fa));}return(_0x436485===_0x4cbe7d(0x2d5)?String:Number)(_0x4137f4);}function ce(_0x2ec9f8){const _0x45035f=_0x5b5e2a;var _0x25f0c8=se(_0x2ec9f8,_0x45035f(0x2d5));return M(_0x25f0c8)==_0x45035f(0x287)?_0x25f0c8:_0x25f0c8+'';}function N(_0x1e1e1b,_0x113002,_0x3bb81b){const _0x2fbf84=_0x5b5e2a;return(_0x113002=ce(_0x113002))in _0x1e1e1b?Object[_0x2fbf84(0x17f)](_0x1e1e1b,_0x113002,{'value':_0x3bb81b,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1e1e1b[_0x113002]=_0x3bb81b,_0x1e1e1b;}function P(_0x40df02,_0x46e756){return function(_0x3887ab,_0x4ec2a5){_0x46e756(_0x3887ab,_0x4ec2a5,_0x40df02);};}function F(_0x5ca630,_0x451267,_0x38927c,_0x4e5dd5){const _0xb16c2c=_0x5b5e2a;var _0x200410=arguments[_0xb16c2c(0x20c)],_0x5d000c=_0x200410<0x3?_0x451267:_0x4e5dd5===null?_0x4e5dd5=Object['getOwnPropertyDescriptor'](_0x451267,_0x38927c):_0x4e5dd5,_0x2599d4;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0xb16c2c(0x2db))_0x5d000c=Reflect['decorate'](_0x5ca630,_0x451267,_0x38927c,_0x4e5dd5);else{for(var _0x3742ea=_0x5ca630['length']-0x1;_0x3742ea>=0x0;_0x3742ea--)(_0x2599d4=_0x5ca630[_0x3742ea])&&(_0x5d000c=(_0x200410<0x3?_0x2599d4(_0x5d000c):_0x200410>0x3?_0x2599d4(_0x451267,_0x38927c,_0x5d000c):_0x2599d4(_0x451267,_0x38927c))||_0x5d000c);}return _0x200410>0x3&&_0x5d000c&&Object['defineProperty'](_0x451267,_0x38927c,_0x5d000c),_0x5d000c;}let le=function(_0x2fe4d4){const _0x202bf9=_0x5b5e2a;return _0x2fe4d4[_0x2fe4d4[_0x202bf9(0x27d)]=0x0]=_0x202bf9(0x27d),_0x2fe4d4[_0x2fe4d4[_0x202bf9(0x2c2)]=0x1]='UNIT',_0x2fe4d4[_0x2fe4d4['JSON']=0x2]='JSON',_0x2fe4d4[_0x2fe4d4[_0x202bf9(0x2d7)]=-0x1]=_0x202bf9(0x2d7),_0x2fe4d4;}({}),ue=function(_0x300b75){const _0x2d508c=_0x5b5e2a;return _0x300b75['XLSX']=_0x2d508c(0x167),_0x300b75['CSV']=_0x2d508c(0x1f8),_0x300b75['TSV']=_0x2d508c(0x18e),_0x300b75[_0x2d508c(0x2a2)]=_0x2d508c(0x13f),_0x300b75[_0x2d508c(0x1ab)]=_0x2d508c(0x2f4),_0x300b75[_0x2d508c(0x1bd)]='pdf',_0x300b75;}({}),de=function(_0x1bbe0a){const _0x500267=_0x5b5e2a;return _0x1bbe0a[_0x500267(0x1c2)]='modern',_0x1bbe0a[_0x500267(0x1e2)]=_0x500267(0x1c4),_0x1bbe0a;}({}),fe=function(_0x3b474d){const _0x500b66=_0x5b5e2a;return _0x3b474d[_0x500b66(0x2ea)]=_0x500b66(0x27a),_0x3b474d[_0x500b66(0x2a4)]=_0x500b66(0x1e5),_0x3b474d['SHEETS']=_0x500b66(0x191),_0x3b474d[_0x500b66(0x299)]='hybrid',_0x3b474d;}({}),pe=function(_0x52c779){const _0xdca8ba=_0x5b5e2a;return _0x52c779[_0xdca8ba(0x153)]=_0xdca8ba(0x213),_0x52c779[_0xdca8ba(0x156)]='values',_0x52c779['TEXT']=_0xdca8ba(0x261),_0x52c779['FAIL']=_0xdca8ba(0x2e3),_0x52c779;}({}),me=function(_0x3c40b4){const _0x2a8b8f=_0x5b5e2a;return _0x3c40b4[_0x2a8b8f(0x2a4)]=_0x2a8b8f(0x1e5),_0x3c40b4[_0x2a8b8f(0x179)]=_0x2a8b8f(0x19a),_0x3c40b4;}({});const I=(0x0,t['createIdentifier'])(_0x5b5e2a(0x286));let L=class{constructor(_0x1527ae,_0xf1b3f2){const _0x3b99e6=_0x5b5e2a;this[_0x3b99e6(0x208)]=_0x1527ae,this[_0x3b99e6(0x225)]=_0xf1b3f2,N(this,_0x3b99e6(0x148),new Set());}['dispose'](){}[_0x5b5e2a(0x1ed)](_0x8bcbb6){const _0x523885=_0x5b5e2a;this[_0x523885(0x148)][_0x523885(0x22c)](_0x8bcbb6);}[_0x5b5e2a(0x268)](){const _0x4e58d3=_0x5b5e2a;this[_0x4e58d3(0x148)][_0x4e58d3(0x1fa)]();}async[_0x5b5e2a(0x2cb)](_0x31351d,_0x5f3945=0x0,_0x45ba5b=!0x1){const _0x51971c=_0x5b5e2a;if(typeof _0x31351d==_0x51971c(0x2d5)){let _0x3cd297=await O(_0x31351d,this[_0x51971c(0x225)]);if(!_0x3cd297)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x31351d=_0x3cd297;}_0x5f3945||=_0x31351d['size'];let _0x466a34=new FormData();_0x466a34[_0x51971c(0x1aa)](_0x51971c(0x2e2),_0x31351d);try{let _0x130572=this[_0x51971c(0x21a)]()+_0x51971c(0x1a2)+_0x5f3945+'&source='+s[_0x51971c(0x1d8)][_0x51971c(0x2b3)]+_0x51971c(0x17a)+_0x45ba5b,_0xc71584={'body':_0x466a34},_0x3ec830=(await this[_0x51971c(0x225)][_0x51971c(0x14c)](_0x130572,_0xc71584))[_0x51971c(0x296)];if(_0x3ec830[_0x51971c(0x214)]&&_0x3ec830[_0x51971c(0x214)][_0x51971c(0x15a)]!==s[_0x51971c(0x2ee)]['OK'])throw Error(this[_0x51971c(0x231)](_0x51971c(0x1fd),_0x3ec830[_0x51971c(0x214)]));return _0x3ec830;}catch(_0x423c83){throw _0x423c83 instanceof Error?_0x423c83:Error(this[_0x51971c(0x1e8)](_0x51971c(0x1fd),_0x423c83));}}async['import'](_0x3d3c65){const _0x1455d8=_0x5b5e2a;let {type:_0x5ac57a,..._0x312076}=_0x3d3c65;try{let _0x173f25=A(this[_0x1455d8(0x24c)](),''+_0x5ac57a),_0x2c9cd7={'body':_0x312076},_0x2b8817=(await this[_0x1455d8(0x225)][_0x1455d8(0x14c)](_0x173f25,_0x2c9cd7))['body'];return _0x2b8817[_0x1455d8(0x214)]&&_0x2b8817[_0x1455d8(0x214)][_0x1455d8(0x15a)]!==s[_0x1455d8(0x2ee)]['OK']?void 0x0:_0x2b8817;}catch{return;}}async[_0x5b5e2a(0x2fb)](_0x58611e){const _0x45a3f0=_0x5b5e2a;let {type:_0x22985d}=_0x58611e;try{let _0x48f88a=A(this[_0x45a3f0(0x1ec)](),''+_0x22985d),_0x2eb1e8={'body':_0x58611e},_0x129ed4=(await this[_0x45a3f0(0x225)]['post'](_0x48f88a,_0x2eb1e8))[_0x45a3f0(0x296)];return _0x129ed4['error']&&_0x129ed4[_0x45a3f0(0x214)]['code']!==s[_0x45a3f0(0x2ee)]['OK']?void 0x0:_0x129ed4;}catch{return;}}async[_0x5b5e2a(0x21e)](_0x8dbed1){return new Promise((_0x23a2ab,_0xa3d6d7)=>{const _0x2f38b3=_0x1c13;try{let _0x5b1374=0x0,_0x157367=j(this[_0x2f38b3(0x155)](),''+_0x8dbed1),_0x30f1f9=this[_0x2f38b3(0x29e)](),_0x1a9462=async()=>{const _0x74844b=_0x2f38b3;if(this['_taskInterrupted']['has'](_0x8dbed1))return;let _0x5f02ea=(await this[_0x74844b(0x225)][_0x74844b(0x230)](_0x157367))[_0x74844b(0x296)];if(_0x5f02ea['error']&&_0x5f02ea['error'][_0x74844b(0x15a)]===s['ErrorCode']['OK']){if(_0x5f02ea[_0x74844b(0x243)]===_0x74844b(0x254))_0x23a2ab(_0x5f02ea);else{if(_0x5f02ea['status']==='pending'){let _0x40f6fc=0x3e8;if(_0x5b1374>=_0x30f1f9){_0xa3d6d7(_0x5f02ea);return;}_0x5b1374>=0x7530&&(_0x40f6fc=0x1388),_0x5b1374+=_0x40f6fc,setTimeout(_0x1a9462,_0x40f6fc);}else _0xa3d6d7(_0x5f02ea);}}else _0xa3d6d7(_0x5f02ea);};_0x1a9462();}catch(_0x22c07f){_0xa3d6d7(_0x22c07f instanceof Error?_0x22c07f:Error(String(_0x22c07f)));}});}async[_0x5b5e2a(0x221)](_0x4c676f){const _0x51c9ce=_0x5b5e2a;try{let _0x330def=oe(this[_0x51c9ce(0x2d0)](),''+_0x4c676f);return(await this['_httpService'][_0x51c9ce(0x230)](_0x330def))[_0x51c9ce(0x296)];}catch{return;}}async[_0x5b5e2a(0x2af)](_0x52f9cd){const _0xac11a7=_0x5b5e2a;try{return(await this[_0xac11a7(0x225)]['get'](_0x52f9cd,{'responseType':_0xac11a7(0x261)}))[_0xac11a7(0x296)];}catch{return;}}[_0x5b5e2a(0x231)](_0x25bed8,_0x36a132){let _0x361d1e=this['_extractErrorDetail'](_0x36a132);return _0x361d1e?_0x25bed8+':\x20'+_0x361d1e:_0x25bed8;}['_buildHttpErrorMessage'](_0x48bbdb,_0x4467cd){const _0x45e7bd=_0x5b5e2a;if(_0x4467cd instanceof n['HTTPResponseError']){let _0x38f2c9=typeof _0x4467cd[_0x45e7bd(0x243)]=='number'?''+_0x4467cd['status']+(_0x4467cd['statusText']?'\x20'+_0x4467cd[_0x45e7bd(0x139)]:''):void 0x0,_0xe03864=this['_extractErrorDetail'](_0x4467cd[_0x45e7bd(0x214)]);return _0x38f2c9&&_0xe03864?_0x48bbdb+':\x20HTTP\x20'+_0x38f2c9+'\x20-\x20'+_0xe03864:_0x38f2c9?_0x48bbdb+':\x20HTTP\x20'+_0x38f2c9:_0xe03864?_0x48bbdb+':\x20'+_0xe03864:_0x48bbdb;}let _0x3bf12b=this['_extractErrorDetail'](_0x4467cd);return _0x3bf12b?_0x48bbdb+':\x20'+_0x3bf12b:_0x48bbdb;}[_0x5b5e2a(0x161)](_0x3ce50f){const _0x2e5505=_0x5b5e2a;if(typeof _0x3ce50f=='string'){let _0x17173e=_0x3ce50f[_0x2e5505(0x22d)]();return _0x17173e['length']>0x0?_0x17173e:void 0x0;}if(_0x3ce50f instanceof Error)return this[_0x2e5505(0x161)](_0x3ce50f[_0x2e5505(0x193)]);if(!_0x3ce50f||typeof _0x3ce50f!=_0x2e5505(0x1c3)||Array[_0x2e5505(0x259)](_0x3ce50f))return;let _0x3e00ca=_0x3ce50f,_0x4f67d0=this['_extractErrorDetail'](_0x3e00ca[_0x2e5505(0x193)]);if(_0x4f67d0)return _0x4f67d0;if(_0x3e00ca['error']&&typeof _0x3e00ca[_0x2e5505(0x214)]=='object'&&!Array[_0x2e5505(0x259)](_0x3e00ca['error'])){let _0x4951f1=this[_0x2e5505(0x161)](_0x3e00ca[_0x2e5505(0x214)]);if(_0x4951f1)return _0x4951f1;}}[_0x5b5e2a(0x21a)](){const _0x5e9ea8=_0x5b5e2a;let _0x59a476=this[_0x5e9ea8(0x208)][_0x5e9ea8(0x2c6)](m);return(_0x59a476==null?void 0x0:_0x59a476[_0x5e9ea8(0x1e7)])??_0x5e9ea8(0x20f);}[_0x5b5e2a(0x24c)](){const _0x15f617=_0x5b5e2a;let _0x299861=this[_0x15f617(0x208)][_0x15f617(0x2c6)](m);return(_0x299861==null?void 0x0:_0x299861['importServerUrl'])??_0x15f617(0x18f);}[_0x5b5e2a(0x1ec)](){const _0x5bdf91=_0x5b5e2a;let _0x556295=this[_0x5bdf91(0x208)][_0x5bdf91(0x2c6)](m);return(_0x556295==null?void 0x0:_0x556295[_0x5bdf91(0x236)])??_0x5bdf91(0x154);}[_0x5b5e2a(0x155)](){const _0x2c95f0=_0x5b5e2a;let _0x57697b=this[_0x2c95f0(0x208)][_0x2c95f0(0x2c6)](m);return(_0x57697b==null?void 0x0:_0x57697b[_0x2c95f0(0x17e)])??_0x2c95f0(0x183);}[_0x5b5e2a(0x2d0)](){const _0x297f3c=_0x5b5e2a;let _0x6dc58=this['_configService'][_0x297f3c(0x2c6)](m);return(_0x6dc58==null?void 0x0:_0x6dc58[_0x297f3c(0x247)])??_0x297f3c(0x1c8);}[_0x5b5e2a(0x29e)](){const _0xd69c26=_0x5b5e2a;let _0x13c5e3=this['_configService'][_0xd69c26(0x2c6)](m);return(_0x13c5e3==null?void 0x0:_0x13c5e3[_0xd69c26(0x2d4)])??0x1d4c0;}};L=F([P(0x0,t[_0x5b5e2a(0x223)]),P(0x1,(0x0,t[_0x5b5e2a(0x2e4)])(n['HTTPService']))],L);const R=_0x5b5e2a(0x25b);function he({formats:_0x359e62,items:_0x44a773,selectedId:_0x38e33b,onCancel:_0x226851,onConfirm:_0xe0cf27}){const _0x271f8f=_0x5b5e2a;let _0x1439bf=(0x0,r[_0x271f8f(0x28f)])(t[_0x271f8f(0x2bd)]),[_0x339042,_0x2f7efb]=(0x0,o[_0x271f8f(0x25f)])(_0x359e62[0x0]),[_0x4fd99c,_0x1e329b]=(0x0,o[_0x271f8f(0x25f)])(_0x38e33b),[_0x29606f,_0x3769f9]=(0x0,o[_0x271f8f(0x25f)])(!0x1),_0x290121=(0x0,o[_0x271f8f(0x2a9)])(!0x1);return(0x0,c[_0x271f8f(0x240)])(_0x271f8f(0x294),{'className':_0x271f8f(0x1c1),'children':[(0x0,c[_0x271f8f(0x1dd)])(_0x271f8f(0x294),{'className':_0x271f8f(0x22e),'children':_0x359e62[_0x271f8f(0x1d2)](_0x19631e=>(0x0,c[_0x271f8f(0x240)])('div',{'className':_0x271f8f(0x146),'children':[(0x0,c[_0x271f8f(0x1dd)])(a[_0x271f8f(0x21d)],{'value':_0x19631e,'checked':_0x339042===_0x19631e,'onChange':_0x2648b8=>_0x2f7efb(_0x2648b8),'children':(0x0,c[_0x271f8f(0x1dd)])(_0x271f8f(0x21f),{'className':'univer-w-10','children':_0x19631e[_0x271f8f(0x168)]()})}),_0x19631e!==_0x271f8f(0x167)&&(0x0,c[_0x271f8f(0x1dd)])(a[_0x271f8f(0x24b)],{'className':_0x271f8f(0x23a),'value':_0x4fd99c,'options':_0x44a773,'onChange':_0x1fbf0=>_0x1e329b(String(_0x1fbf0))})]},_0x19631e))}),(0x0,c[_0x271f8f(0x240)])(_0x271f8f(0x294),{'className':_0x271f8f(0x164),'children':[(0x0,c['jsx'])(a[_0x271f8f(0x205)],{'type':_0x271f8f(0x1af),'variant':_0x271f8f(0x2ac),'onClick':_0x226851,'children':_0x1439bf['t']('exchange-client.cancel')}),(0x0,c['jsxs'])(a['Button'],{'type':'button','variant':'primary','aria-busy':_0x29606f,'disabled':_0x29606f||!_0x339042||_0x339042!==_0x271f8f(0x167)&&!_0x4fd99c,'onClick':async()=>{const _0x210b05=_0x271f8f;if(!_0x290121[_0x210b05(0x2e7)]){_0x290121['current']=!0x0,_0x3769f9(!0x0);try{await _0xe0cf27(_0x339042,_0x4fd99c);}finally{_0x290121['current']=!0x1,_0x3769f9(!0x1);}}},'children':[_0x29606f&&(0x0,c[_0x271f8f(0x1dd)])(i[_0x271f8f(0x1e6)],{'className':_0x271f8f(0x152)}),_0x1439bf['t']('exchange-client.confirm')]})]})]});}function ge({formats:_0x57bb17,items:_0x220ac4,selectedId:_0xce7d06,onCancel:_0x51a3d2,onConfirm:_0x553313}){const _0x90f261=_0x5b5e2a;let _0x2c9dea=(0x0,r[_0x90f261(0x28f)])(t['LocaleService']),[_0x5299cb,_0x3403a7]=(0x0,o['useState'])(_0x57bb17[0x0]),[_0x41fa52,_0x2a1db3]=(0x0,o[_0x90f261(0x25f)])(_0xce7d06),[_0x2d3a51,_0x20142a]=(0x0,o[_0x90f261(0x25f)])(!0x1),_0x4509e8=(0x0,o[_0x90f261(0x2a9)])(!0x1);async function _0x4dd5eb(){const _0xf34cb3=_0x90f261;if(!_0x4509e8['current']){_0x4509e8[_0xf34cb3(0x2e7)]=!0x0,_0x20142a(!0x0);try{await _0x553313(_0x5299cb,_0x41fa52);}finally{_0x4509e8['current']=!0x1,_0x20142a(!0x1);}}}return(0x0,c['jsxs'])(_0x90f261(0x294),{'className':_0x90f261(0x2d2),'children':[(0x0,c[_0x90f261(0x1dd)])(_0x90f261(0x294),{'className':_0x90f261(0x15c),'children':_0x57bb17[_0x90f261(0x1d2)](_0x1ab729=>(0x0,c['jsxs'])(_0x90f261(0x294),{'className':_0x90f261(0x16e),'children':[(0x0,c['jsx'])(a['Radio'],{'value':_0x1ab729,'checked':_0x5299cb===_0x1ab729,'onChange':_0x559688=>_0x3403a7(_0x559688),'children':_0x1ab729[_0x90f261(0x168)]()}),_0x1ab729!=='xlsx'&&_0x5299cb===_0x1ab729&&(0x0,c[_0x90f261(0x1dd)])(a[_0x90f261(0x2cc)],{'className':_0x90f261(0x256),'value':_0x41fa52,'options':_0x220ac4,'onChange':_0x23f6e1=>_0x2a1db3(String(_0x23f6e1))})]},_0x1ab729))}),(0x0,c[_0x90f261(0x240)])(a['MobileActionRowGroup'],{'className':_0x90f261(0x2e5),'children':[(0x0,c[_0x90f261(0x1dd)])(a['Button'],{'type':'button','onClick':_0x51a3d2,'children':_0x2c9dea['t'](_0x90f261(0x24d))}),(0x0,c[_0x90f261(0x240)])(a[_0x90f261(0x205)],{'type':_0x90f261(0x1af),'variant':_0x90f261(0x1b7),'aria-busy':_0x2d3a51,'disabled':_0x2d3a51||!_0x5299cb||_0x5299cb!==_0x90f261(0x167)&&!_0x41fa52,'onClick':_0x4dd5eb,'children':[_0x2d3a51&&(0x0,c[_0x90f261(0x1dd)])(i[_0x90f261(0x1e6)],{'className':_0x90f261(0x152)}),_0x2c9dea['t']('exchange-client.confirm')]})]})]});}let z=class extends t[_0x5b5e2a(0x28d)]{constructor(_0x59561d,_0x57a30d){const _0x1a6b64=_0x5b5e2a;super(),this['_iconManager']=_0x59561d,this['_componentManager']=_0x57a30d,this['disposeWithMe'](this['_iconManager'][_0x1a6b64(0x2b6)]({'DirectExportIcon':i[_0x1a6b64(0x190)],'ExportIcon':i['ExportIcon'],'FolderIcon':i['FolderIcon']})),this[_0x1a6b64(0x232)](this[_0x1a6b64(0x25c)][_0x1a6b64(0x2b6)](R,ge));}};z=F([P(0x0,(0x0,t[_0x5b5e2a(0x2e4)])(r[_0x5b5e2a(0x1cb)])),P(0x1,(0x0,t[_0x5b5e2a(0x2e4)])(r['ComponentManager']))],z);const B=(0x0,t['createIdentifier'])(_0x5b5e2a(0x2cf));let V=class extends t[_0x5b5e2a(0x28d)]{constructor(_0x10a7e7,_0x138435,_0x1d6f8a){const _0x4ff587=_0x5b5e2a;super(),this[_0x4ff587(0x208)]=_0x10a7e7,this[_0x4ff587(0x225)]=_0x138435,this[_0x4ff587(0x2e6)]=_0x1d6f8a,N(this,_0x4ff587(0x2e1),null),N(this,_0x4ff587(0x290),new l[(_0x4ff587(0x273))]()),N(this,_0x4ff587(0x279),this[_0x4ff587(0x290)][_0x4ff587(0x270)]());}[_0x5b5e2a(0x1d6)](){const _0x2e3b71=_0x5b5e2a;super[_0x2e3b71(0x1d6)](),this[_0x2e3b71(0x290)][_0x2e3b71(0x2b0)]();}['downloadFile'](_0x24cc56,_0x4c0de7,_0x4ddd8e){const _0x4d9fde=_0x5b5e2a;let _0xf41e0c=URL[_0x4d9fde(0x250)](_0x24cc56);te(_0xf41e0c,_0x4c0de7,_0x4ddd8e),URL[_0x4d9fde(0x171)](_0xf41e0c);}async[_0x5b5e2a(0x2d8)](_0x56fe64,_0x209e48){const _0x284ccd=_0x5b5e2a;if(_0x209e48!=null&&_0x209e48[_0x284ccd(0x280)])return;let _0x48a606=await this[_0x284ccd(0x2cd)](_0x56fe64);if(!(!_0x48a606||_0x209e48!=null&&_0x209e48[_0x284ccd(0x280)]))return k(_0x48a606,this[_0x284ccd(0x225)],_0x209e48);}async[_0x5b5e2a(0x1cd)](_0x1bbd04,_0x31dc56,_0x417c7f){const _0x4d078b=_0x5b5e2a;var _0x181b7e,_0xb94810;let _0x400d95=await this['_upload'](_0x1bbd04);if(!_0x400d95)return;let _0x321dc8=await this[_0x4d078b(0x288)](_0x400d95,0x1,_0x31dc56,_0x417c7f);if(!_0x321dc8)return;this[_0x4d078b(0x2e1)]=_0x321dc8,this['_requestService']['clearTaskInterrupted']();let _0x254444=await this[_0x4d078b(0x2e6)][_0x4d078b(0x21e)](_0x321dc8)[_0x4d078b(0x2a0)](_0x5c7771=>{const _0x21c33b=_0x4d078b;var _0x4eb45b;let _0x5d2bf9=_0x5c7771 instanceof Error?_0x5c7771['message']:(_0x4eb45b=_0x5c7771[_0x21c33b(0x214)])==null?void 0x0:_0x4eb45b['message'];this[_0x21c33b(0x290)][_0x21c33b(0x2a8)]({'error':{'code':s[_0x21c33b(0x2ee)][_0x21c33b(0x2d7)],'message':_0x5d2bf9||''},'state':0x3});});if(!_0x254444)return;let _0x420f82=(_0x181b7e=_0x254444[_0x4d078b(0x16f)])==null?void 0x0:_0x181b7e[_0x4d078b(0x173)],_0x580a73=((_0xb94810=_0x254444[_0x4d078b(0x16f)])==null?void 0x0:_0xb94810[_0x4d078b(0x1bb)])||'';if(_0x420f82!==0x1){this[_0x4d078b(0x290)][_0x4d078b(0x2a8)]({'error':{'code':s[_0x4d078b(0x2ee)][_0x4d078b(0x2d7)],'message':_0x4d078b(0x18d)},'state':0x3});return;}if(_0x580a73[_0x4d078b(0x20c)]===0x0){this[_0x4d078b(0x290)][_0x4d078b(0x2a8)]({'error':{'code':s[_0x4d078b(0x2ee)][_0x4d078b(0x2d7)],'message':_0x4d078b(0x165)},'state':0x3});return;}return this['_requestState$'][_0x4d078b(0x2a8)]({'error':_0x254444[_0x4d078b(0x214)],'state':0x3}),_0x580a73;}async[_0x5b5e2a(0x194)](_0x12669a,_0x2f96ae,_0x288121){const _0x25511e=_0x5b5e2a;return this[_0x25511e(0x1d3)](_0x12669a,_0x2f96ae,_0x288121);}async[_0x5b5e2a(0x2e8)](_0x3a874,_0x2a63e9,_0x5a4fde,_0x1760c8){const _0x3b9366=_0x5b5e2a;return this[_0x3b9366(0x143)](_0x3a874,0x1,_0x2a63e9,_0x5a4fde,_0x1760c8);}async[_0x5b5e2a(0x1ae)](_0x48be4d,_0x122738,_0x27ca0a,_0x34e366){const _0x4784bb=_0x5b5e2a;return this[_0x4784bb(0x1d7)](_0x48be4d,_0x122738,_0x27ca0a,_0x34e366);}[_0x5b5e2a(0x1e4)](){const _0x4830fa=_0x5b5e2a;this['_importTaskId']&&this['_requestService'][_0x4830fa(0x1ed)](this[_0x4830fa(0x2e1)]);}async['_importToJson'](_0x59b9a2,_0x118c7c,_0x391f92){const _0x449d16=_0x5b5e2a;var _0x49c8c2,_0x4675fd;let _0x5f0752=await this[_0x449d16(0x1a7)](_0x59b9a2);if(!_0x5f0752)return;let _0x18962b=await this[_0x449d16(0x288)](_0x5f0752,0x2,_0x118c7c,_0x391f92);if(!_0x18962b)return;this[_0x449d16(0x2e1)]=_0x18962b,this[_0x449d16(0x2e6)][_0x449d16(0x268)]();let _0xb9d24f=await this[_0x449d16(0x2e6)][_0x449d16(0x21e)](_0x18962b)[_0x449d16(0x2a0)](_0x753a0f=>{const _0x2e73bd=_0x449d16;var _0x354900;let _0x46040b=_0x753a0f instanceof Error?_0x753a0f[_0x2e73bd(0x193)]:(_0x354900=_0x753a0f['error'])==null?void 0x0:_0x354900[_0x2e73bd(0x193)];this['_requestState$'][_0x2e73bd(0x2a8)]({'error':{'code':s['ErrorCode'][_0x2e73bd(0x2d7)],'message':_0x46040b||''},'state':0x3});});if(!_0xb9d24f)return;let _0x151fc0=(_0x49c8c2=_0xb9d24f[_0x449d16(0x16f)])==null?void 0x0:_0x49c8c2['outputType'],_0x33f6ce=((_0x4675fd=_0xb9d24f[_0x449d16(0x16f)])==null?void 0x0:_0x4675fd[_0x449d16(0x246)])||'';if(_0x151fc0!==0x2){this[_0x449d16(0x290)][_0x449d16(0x2a8)]({'error':{'code':s[_0x449d16(0x2ee)][_0x449d16(0x2d7)],'message':_0x449d16(0x18d)},'state':0x3});return;}if(_0x33f6ce[_0x449d16(0x20c)]===0x0){this[_0x449d16(0x290)][_0x449d16(0x2a8)]({'error':{'code':s[_0x449d16(0x2ee)][_0x449d16(0x2d7)],'message':_0x449d16(0x158)},'state':0x3});return;}this[_0x449d16(0x290)][_0x449d16(0x2a8)]({'error':_0xb9d24f['error'],'state':0x3});let _0x55d8b6=await this[_0x449d16(0x2cd)](_0x33f6ce);if(!_0x55d8b6)return;let _0x4270d0=await this['_requestService'][_0x449d16(0x2af)](_0x55d8b6);if(!_0x4270d0){this[_0x449d16(0x290)][_0x449d16(0x2a8)]({'error':{'code':s['ErrorCode'][_0x449d16(0x2d7)],'message':_0x449d16(0x15f)},'state':0x5});return;}try{let _0x4ec757=JSON['parse'](_0x4270d0);return this['_requestState$']['next']({'error':{'code':s[_0x449d16(0x2ee)]['OK'],'message':_0x449d16(0x264)},'state':0x5}),_0x4ec757;}catch{this['_requestState$'][_0x449d16(0x2a8)]({'error':{'code':s[_0x449d16(0x2ee)]['UNRECOGNIZED'],'message':_0x449d16(0x239)},'state':0x5});}}async[_0x5b5e2a(0x1d7)](_0x1a1340,_0x106119,_0x1bb041,_0xea5eab){const _0x21c8ec=_0x5b5e2a;let _0x4127f4=JSON[_0x21c8ec(0x16b)](_0x1a1340),_0x38524b=u[_0x21c8ec(0x22a)][_0x21c8ec(0x2c1)](_0x4127f4),_0x5419ac=(0x0,d['deflateSync'])(_0x38524b),_0x57068d=_0x38524b['length'],_0x5dd261=ae(_0x5419ac),_0x3116e8=await this['_upload'](_0x5dd261,_0x57068d,!0x0);if(_0x3116e8)return this[_0x21c8ec(0x143)](_0x3116e8,0x2,_0x106119,_0x1bb041,_0xea5eab);}async[_0x5b5e2a(0x143)](_0x19c8ce,_0x235487,_0x136858,_0xcdfb39,_0x46d83d){const _0x134e53=_0x5b5e2a;var _0x1800ea;let _0x4eac5c=await this[_0x134e53(0x2e6)][_0x134e53(0x2fb)]({..._0x235487===0x1?{'unitID':_0x19c8ce}:{'jsonID':_0x19c8ce},'type':_0x136858,'format':_0xcdfb39,'options':_0x46d83d});if(!_0x4eac5c){this['_requestState$'][_0x134e53(0x2a8)]({'error':{'code':s[_0x134e53(0x2ee)][_0x134e53(0x2d7)],'message':_0x134e53(0x263)},'state':0x2});return;}if(this[_0x134e53(0x290)][_0x134e53(0x2a8)]({'error':_0x4eac5c[_0x134e53(0x214)],'state':0x2}),_0x4eac5c[_0x134e53(0x214)]&&_0x4eac5c['error'][_0x134e53(0x15a)]!==s['ErrorCode']['OK'])return;let _0x108bab=_0x4eac5c['taskID'],_0x3df799=await this['_requestService'][_0x134e53(0x21e)](_0x108bab)[_0x134e53(0x2a0)](_0x4d6fb7=>{const _0x19faa2=_0x134e53;var _0x6aa0b9;let _0x57e0e0=_0x4d6fb7 instanceof Error?_0x4d6fb7[_0x19faa2(0x193)]:(_0x6aa0b9=_0x4d6fb7[_0x19faa2(0x214)])==null?void 0x0:_0x6aa0b9[_0x19faa2(0x193)];this[_0x19faa2(0x290)][_0x19faa2(0x2a8)]({'error':{'code':s[_0x19faa2(0x2ee)][_0x19faa2(0x2d7)],'message':_0x57e0e0||''},'state':0x3});});if(!_0x3df799)return;let _0x951aea=((_0x1800ea=_0x3df799[_0x134e53(0x2fb)])==null?void 0x0:_0x1800ea[_0x134e53(0x145)])||'';if(_0x951aea[_0x134e53(0x20c)]===0x0){this[_0x134e53(0x290)][_0x134e53(0x2a8)]({'error':{'code':s[_0x134e53(0x2ee)][_0x134e53(0x2d7)],'message':_0x134e53(0x2c5)},'state':0x3});return;}this[_0x134e53(0x290)]['next']({'error':_0x3df799['error'],'state':0x3});let _0x336749=await this[_0x134e53(0x2cd)](_0x951aea);if(!_0x336749)return;let _0x506547=await O(_0x336749,this[_0x134e53(0x225)]);if(!_0x506547){this[_0x134e53(0x290)][_0x134e53(0x2a8)]({'error':{'code':s[_0x134e53(0x2ee)][_0x134e53(0x2d7)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x134e53(0x2a8)]({'error':{'code':s[_0x134e53(0x2ee)]['OK'],'message':_0x134e53(0x264)},'state':0x6}),_0x506547;}async['_upload'](_0xcf4265,_0x700e29,_0x1d3cd6){const _0x2f13e7=_0x5b5e2a;let _0x17982b;try{_0x17982b=await this['_requestService'][_0x2f13e7(0x2cb)](_0xcf4265,_0x700e29,_0x1d3cd6);}catch(_0x52188b){let _0x14751f=_0x52188b instanceof Error?_0x52188b['message']:String(_0x52188b);this['_requestState$']['next']({'error':{'code':s[_0x2f13e7(0x2ee)][_0x2f13e7(0x2d7)],'message':_0x14751f},'state':0x0});return;}if(!_0x17982b||typeof _0x17982b[_0x2f13e7(0x15e)]!='string'){this[_0x2f13e7(0x290)][_0x2f13e7(0x2a8)]({'error':{'code':s[_0x2f13e7(0x2ee)][_0x2f13e7(0x2d7)],'message':_0x2f13e7(0x28e)},'state':0x0});return;}let _0x3d1785=_0x17982b['FileId'];if(_0x3d1785['length']===0x0){this[_0x2f13e7(0x290)][_0x2f13e7(0x2a8)]({'error':{'code':s[_0x2f13e7(0x2ee)]['UNRECOGNIZED'],'message':_0x2f13e7(0x176)},'state':0x0});return;}return this[_0x2f13e7(0x290)][_0x2f13e7(0x2a8)]({'error':{'code':s[_0x2f13e7(0x2ee)]['OK'],'message':_0x2f13e7(0x264)},'state':0x0}),_0x3d1785;}async[_0x5b5e2a(0x288)](_0x2aa7b0,_0x5eb7da,_0x145f9c,_0x52bd0c){const _0x2e8894=_0x5b5e2a;let _0x96d3fd={'fileID':_0x2aa7b0,'type':_0x145f9c,'outputType':_0x5eb7da,'options':_0x52bd0c},_0x31f59d=await this[_0x2e8894(0x2e6)][_0x2e8894(0x16f)](_0x96d3fd);if(!_0x31f59d){this[_0x2e8894(0x290)][_0x2e8894(0x2a8)]({'error':{'code':s[_0x2e8894(0x2ee)][_0x2e8894(0x2d7)],'message':_0x2e8894(0x201)},'state':0x1});return;}if(_0x31f59d['error']&&_0x31f59d[_0x2e8894(0x214)][_0x2e8894(0x15a)]!==s[_0x2e8894(0x2ee)]['OK']){this['_requestState$'][_0x2e8894(0x2a8)]({'error':_0x31f59d[_0x2e8894(0x214)],'state':0x1});return;}let _0x28afad=_0x31f59d[_0x2e8894(0x2c9)];if(_0x28afad[_0x2e8894(0x20c)]===0x0){this[_0x2e8894(0x290)]['next']({'error':{'code':s[_0x2e8894(0x2ee)][_0x2e8894(0x2d7)],'message':_0x2e8894(0x2b1)},'state':0x1});return;}return this['_requestState$'][_0x2e8894(0x2a8)]({'error':_0x31f59d['error'],'state':0x1}),_0x28afad;}async['_signUrl'](_0x4faf7e){const _0xedf424=_0x5b5e2a;let _0x508ddb=await this[_0xedf424(0x2e6)]['signUrl'](_0x4faf7e);if(!_0x508ddb){this[_0xedf424(0x290)][_0xedf424(0x2a8)]({'error':{'code':s[_0xedf424(0x2ee)]['UNRECOGNIZED'],'message':'sign\x20url\x20error'},'state':0x4});return;}if(_0x508ddb[_0xedf424(0x214)]&&_0x508ddb[_0xedf424(0x214)][_0xedf424(0x15a)]!==s[_0xedf424(0x2ee)]['OK']){this['_requestState$'][_0xedf424(0x2a8)]({'error':_0x508ddb['error'],'state':0x4});return;}let _0x234a7e=(0x0,t['resolveWithBasePath'])(_0x508ddb[_0xedf424(0x277)],this[_0xedf424(0x292)]());if(_0x234a7e[_0xedf424(0x20c)]===0x0){this['_requestState$'][_0xedf424(0x2a8)]({'error':{'code':s[_0xedf424(0x2ee)][_0xedf424(0x2d7)],'message':_0xedf424(0x2be)},'state':0x4});return;}return this[_0xedf424(0x290)][_0xedf424(0x2a8)]({'error':_0x508ddb[_0xedf424(0x214)],'state':0x4}),_0x234a7e;}['_getDownloadEndpointURL'](){const _0x41c7d4=_0x5b5e2a;let _0x1f5f6f=this[_0x41c7d4(0x208)][_0x41c7d4(0x2c6)](m);return(_0x1f5f6f==null?void 0x0:_0x1f5f6f[_0x41c7d4(0x266)])??location[_0x41c7d4(0x1f3)];}};V=F([P(0x0,t[_0x5b5e2a(0x223)]),P(0x1,(0x0,t[_0x5b5e2a(0x2e4)])(n[_0x5b5e2a(0x2b2)])),P(0x2,(0x0,t[_0x5b5e2a(0x2e4)])(I))],V);const H=(0x0,t[_0x5b5e2a(0x1f1)])('univer-pro.exchange-client.upload-notification.service');var U=class extends t['Disposable']{constructor(){const _0x24c733=_0x5b5e2a;super(),N(this,'_visible$',new l['Subject']()),N(this,_0x24c733(0x14b),new l['Subject']()),N(this,'_list$',new l['Subject']()),N(this,_0x24c733(0x202),this['_visible$'][_0x24c733(0x270)]()),N(this,'state$',this[_0x24c733(0x14b)][_0x24c733(0x270)]()),N(this,_0x24c733(0x1de),this['_list$'][_0x24c733(0x270)]()),N(this,_0x24c733(0x2dd),[]);}[_0x5b5e2a(0x1d6)](){const _0x587ea8=_0x5b5e2a;super[_0x587ea8(0x1d6)](),this[_0x587ea8(0x203)][_0x587ea8(0x2b0)](),this[_0x587ea8(0x14b)]['complete'](),this[_0x587ea8(0x233)][_0x587ea8(0x2b0)]();}['show'](){const _0x46ec8e=_0x5b5e2a;this[_0x46ec8e(0x203)][_0x46ec8e(0x2a8)](!0x0);}[_0x5b5e2a(0x187)](){const _0x409815=_0x5b5e2a;this[_0x409815(0x203)]['next'](!0x1);}[_0x5b5e2a(0x15b)](_0x12c3db){const _0x2b88e0=_0x5b5e2a;this[_0x2b88e0(0x14b)]['next'](_0x12c3db);}[_0x5b5e2a(0x2a6)](_0x5c21e8){const _0x56f9f0=_0x5b5e2a;this[_0x56f9f0(0x2dd)][_0x56f9f0(0x2f9)](_0x5c21e8),this[_0x56f9f0(0x233)][_0x56f9f0(0x2a8)](this[_0x56f9f0(0x2dd)]);}};const _e={'done':0x0,'count':0x0},W=(0x0,t['createIdentifier'])(_0x5b5e2a(0x234));let G=class extends t[_0x5b5e2a(0x28d)]{constructor(_0x3b0e6e,_0x5b6eb6,_0xccf1f0,_0x35eaed,_0x481b9d,_0x1c0363){const _0x2568be=_0x5b5e2a;super(),this['_univerInstanceService']=_0x3b0e6e,this['_messageService']=_0x5b6eb6,this[_0x2568be(0x2a1)]=_0xccf1f0,this[_0x2568be(0x209)]=_0x35eaed,this[_0x2568be(0x13d)]=_0x481b9d,this[_0x2568be(0x241)]=_0x1c0363,N(this,_0x2568be(0x1f4),new l[(_0x2568be(0x144))](_e)),N(this,_0x2568be(0x2ca),this['_progress$']['asObservable']()),N(this,_0x2568be(0x1e3),0x0),N(this,_0x2568be(0x1a9),0x0),N(this,_0x2568be(0x2c4),!0x1),N(this,_0x2568be(0x260),null),this['disposeWithMe']((0x0,t[_0x2568be(0x1a4)])(this[_0x2568be(0x209)][_0x2568be(0x279)]['subscribe'](_0x523ad4=>{const _0x2146ad=_0x2568be;var _0x2f7345;((_0x2f7345=_0x523ad4['error'])==null?void 0x0:_0x2f7345[_0x2146ad(0x15a)])===s[_0x2146ad(0x2ee)]['OK']?this[_0x2146ad(0x2b4)](0x1):this[_0x2146ad(0x1d0)](_0x523ad4[_0x2146ad(0x214)]);})));}[_0x5b5e2a(0x2b9)](){const _0x3685b0=_0x5b5e2a;this['_clearProgress'](),this[_0x3685b0(0x13d)][_0x3685b0(0x15b)](0x2),this[_0x3685b0(0x209)]['interruptImportTask']();}async['importFileToUnitId'](_0x289fa5,_0x5a0e55){const _0x40e285=_0x5b5e2a;if(this[_0x40e285(0x2c4)]||this[_0x40e285(0x2e0)]()){this[_0x40e285(0x283)][_0x40e285(0x162)]({'type':a[_0x40e285(0x1ef)][_0x40e285(0x185)],'content':this[_0x40e285(0x2a1)]['t'](_0x40e285(0x220))});return;}let _0x383d83;this[_0x40e285(0x2c4)]=!0x0;try{_0x383d83=await D([_0x289fa5]);}finally{this[_0x40e285(0x2c4)]=!0x1;}if(_0x383d83&&!this[_0x40e285(0x1b9)](_0x383d83,_0x289fa5))return this[_0x40e285(0x260)]={'type':_0x289fa5,'importer':_0x5a0e55},this['_importFileToUnitId'](_0x383d83[0x0],_0x289fa5,_0x5a0e55);}async[_0x5b5e2a(0x235)](){const _0x47fa7f=_0x5b5e2a;let _0x4d69e2=this['_lastUnitImportContext'];if(_0x4d69e2)return this['importFileToUnitId'](_0x4d69e2[_0x47fa7f(0x15d)],_0x4d69e2[_0x47fa7f(0x181)]);}async[_0x5b5e2a(0x23f)](_0x1010a7,_0x3f3e4a){const _0x5d42fe=_0x5b5e2a;if(this[_0x5d42fe(0x2e0)]()){this[_0x5d42fe(0x283)]['show']({'type':a['MessageType'][_0x5d42fe(0x185)],'content':this[_0x5d42fe(0x2a1)]['t'](_0x5d42fe(0x220))});return;}let _0x520474=await D([_0x1010a7]);if(!_0x520474||this[_0x5d42fe(0x1b9)](_0x520474,_0x1010a7))return;this[_0x5d42fe(0x189)](a[_0x5d42fe(0x1ef)][_0x5d42fe(0x19b)]);let _0x2627e4=await _0x3f3e4a(_0x520474[0x0]);_0x2627e4&&(this[_0x5d42fe(0x19e)](_0x1010a7,_0x2627e4),this[_0x5d42fe(0x189)](a[_0x5d42fe(0x1ef)][_0x5d42fe(0x177)]));}async[_0x5b5e2a(0x2bf)](_0x48db19,_0x4d7414){const _0x538a6b=_0x5b5e2a;if(this[_0x538a6b(0x2e0)]()){this[_0x538a6b(0x283)][_0x538a6b(0x162)]({'type':a['MessageType']['Warning'],'content':this[_0x538a6b(0x2a1)]['t']('exchange-client.uploading')});return;}let _0x25a8b3=await D([_0x48db19]);if(!_0x25a8b3||this[_0x538a6b(0x1b9)](_0x25a8b3,_0x48db19))return;this[_0x538a6b(0x189)](a[_0x538a6b(0x1ef)]['Info']);let _0x28b42e=await _0x4d7414(_0x25a8b3[0x0]);if(_0x28b42e)return this[_0x538a6b(0x189)](a[_0x538a6b(0x1ef)][_0x538a6b(0x177)]),_0x28b42e;}async[_0x5b5e2a(0x26a)](_0x9c3206,_0xde79b3,_0x1efe4f){const _0x2eecf2=_0x5b5e2a;this[_0x2eecf2(0x2fc)](a[_0x2eecf2(0x1ef)]['Info']);let _0x3dab61=await _0x9c3206();_0x3dab61&&(this[_0x2eecf2(0x209)]['downloadFile'](_0x3dab61,_0xde79b3||_0x3dab61[_0x2eecf2(0x2d6)][_0x2eecf2(0x228)]('.')[_0x2eecf2(0x204)]()||document['title'],_0x1efe4f),this[_0x2eecf2(0x2fc)](a[_0x2eecf2(0x1ef)][_0x2eecf2(0x177)]));}['registerLink'](_0x1e49d8){const _0x53789a=_0x5b5e2a;this[_0x53789a(0x14f)]=_0x1e49d8;}async[_0x5b5e2a(0x295)](_0x3bc716,_0x1c3e2b,_0x4e38df){const _0x59384e=_0x5b5e2a;this['_uploadNotificationService']['show'](),this[_0x59384e(0x13d)][_0x59384e(0x15b)](0x0),this['_addTotalCount'](0x4),this['_addDoneTask'](0x1);let _0x46e3e2=await _0x4e38df(_0x3bc716);if(!_0x46e3e2){this[_0x59384e(0x255)](),this[_0x59384e(0x13d)][_0x59384e(0x15b)](0x2);return;}let _0x2255c2={'link':this['_getLinkByUnitId'](_0x46e3e2,_0x1c3e2b),'name':_0x3bc716[_0x59384e(0x2d6)],'type':_0x1c3e2b};return this[_0x59384e(0x13d)][_0x59384e(0x2a6)](_0x2255c2),this['_completeProgress'](),this[_0x59384e(0x13d)][_0x59384e(0x15b)](0x1),_0x46e3e2;}[_0x5b5e2a(0x19e)](_0x8efc42,_0x203c18){const _0x590a23=_0x5b5e2a;let _0x10e2bf=this[_0x590a23(0x2f3)]['getCurrentUnitOfType'](_0x8efc42);if(!_0x10e2bf)throw Error(_0x590a23(0x219)+_0x8efc42+'\x20is\x20currently\x20active.');this[_0x590a23(0x2f3)]['disposeUnit'](_0x10e2bf['getUnitId']());let _0x3b3eb9=this[_0x590a23(0x2f3)]['createUnit'](_0x8efc42,_0x203c18);this['_univerInstanceService'][_0x590a23(0x2dc)](_0x3b3eb9['getUnitId']());}[_0x5b5e2a(0x14f)](_0x354596,_0x4b506d){const _0x25f4d6=_0x5b5e2a;let _0x77bf3b=new URL(window[_0x25f4d6(0x1ee)]['href']);return _0x77bf3b[_0x25f4d6(0x237)][_0x25f4d6(0x14e)](_0x25f4d6(0x1ff),_0x354596),_0x77bf3b[_0x25f4d6(0x237)][_0x25f4d6(0x14e)](_0x25f4d6(0x15d),''+_0x4b506d),_0x77bf3b[_0x25f4d6(0x163)]();}['_showNetworkError'](_0x326fd6){const _0x37f0c2=_0x5b5e2a;if(_0x326fd6){let {code:_0x285e49}=_0x326fd6;switch(_0x285e49){case s[_0x37f0c2(0x2ee)][_0x37f0c2(0x1e9)]:this[_0x37f0c2(0x283)][_0x37f0c2(0x162)]({'type':a[_0x37f0c2(0x1ef)]['Error'],'content':this[_0x37f0c2(0x2a1)]['t'](_0x37f0c2(0x186))});break;case s[_0x37f0c2(0x2ee)]['INTERNAL_ERROR']:this[_0x37f0c2(0x283)][_0x37f0c2(0x162)]({'type':a[_0x37f0c2(0x1ef)][_0x37f0c2(0x282)],'content':this[_0x37f0c2(0x2a1)]['t'](_0x37f0c2(0x2d1))});break;default:this[_0x37f0c2(0x283)][_0x37f0c2(0x162)]({'type':a['MessageType'][_0x37f0c2(0x282)],'content':this[_0x37f0c2(0x2a1)]['t'](_0x37f0c2(0x23c))});}return null;}return this[_0x37f0c2(0x283)][_0x37f0c2(0x162)]({'type':a[_0x37f0c2(0x1ef)][_0x37f0c2(0x282)],'content':this[_0x37f0c2(0x2a1)]['t']('exchange-client.networkError')}),null;}['_showDownloadMessage'](_0x2604bf){const _0x272325=_0x5b5e2a;let _0x33a40d='';switch(_0x2604bf){case a[_0x272325(0x1ef)]['Success']:_0x33a40d=this[_0x272325(0x2a1)]['t'](_0x272325(0x196));break;case a[_0x272325(0x1ef)]['Info']:_0x33a40d=this['_localeService']['t'](_0x272325(0x16c));}this[_0x272325(0x283)]['show']({'type':_0x2604bf,'content':_0x33a40d});}['_showUploadMessage'](_0x568c6e){const _0x4418a8=_0x5b5e2a;let _0x37ffcd='';switch(_0x568c6e){case a['MessageType'][_0x4418a8(0x177)]:_0x37ffcd=this[_0x4418a8(0x2a1)]['t'](_0x4418a8(0x1d4));break;case a[_0x4418a8(0x1ef)][_0x4418a8(0x19b)]:_0x37ffcd=this['_localeService']['t'](_0x4418a8(0x220));}this[_0x4418a8(0x283)][_0x4418a8(0x162)]({'type':_0x568c6e,'content':_0x37ffcd});}['_emitProgress'](){const _0x3c941f=_0x5b5e2a;this[_0x3c941f(0x1f4)][_0x3c941f(0x2a8)]({'done':this[_0x3c941f(0x1a9)],'count':this['_totalUploadTaskCount']});}[_0x5b5e2a(0x14d)](_0xb28433){const _0x5d14fa=_0x5b5e2a;this['_totalUploadTaskCount']+=_0xb28433,this[_0x5d14fa(0x2ad)]();}[_0x5b5e2a(0x2b4)](_0x26cbca){const _0x2f9397=_0x5b5e2a;this[_0x2f9397(0x1a9)]+=_0x26cbca,this[_0x2f9397(0x1a9)]=Math['min'](this[_0x2f9397(0x1a9)],this['_totalUploadTaskCount']),this[_0x2f9397(0x2ad)]();}[_0x5b5e2a(0x1be)](){const _0x3e949a=_0x5b5e2a;this['_doneUploadTaskCount']=this[_0x3e949a(0x1e3)],this['_emitProgress']();}[_0x5b5e2a(0x255)](){const _0x20a325=_0x5b5e2a;this['_doneUploadTaskCount']=0x0,this[_0x20a325(0x1e3)]=0x0,this['_emitProgress']();}[_0x5b5e2a(0x1b9)](_0x3c997a,_0x955633){const _0x146f1e=_0x5b5e2a;let _0x200d3c=_0x3c997a[0x0],_0x3c553f=_0x200d3c[_0x146f1e(0x2d6)];return!ne(_0x200d3c,_0x955633)&&(this['_messageService'][_0x146f1e(0x162)]({'type':a[_0x146f1e(0x1ef)]['Error'],'content':this[_0x146f1e(0x2a1)]['t']('exchange-client.fileTypeError',_0x3c553f)}),!0x0);}[_0x5b5e2a(0x2e0)](){const _0x648489=_0x5b5e2a;return this[_0x648489(0x1e3)]!==0x0&&this[_0x648489(0x1a9)]!==this[_0x648489(0x1e3)];}};G=F([P(0x0,(0x0,t[_0x5b5e2a(0x2e4)])(t[_0x5b5e2a(0x2f6)])),P(0x1,r[_0x5b5e2a(0x1a6)]),P(0x2,(0x0,t[_0x5b5e2a(0x2e4)])(t['LocaleService'])),P(0x3,(0x0,t[_0x5b5e2a(0x2e4)])(B)),P(0x4,(0x0,t[_0x5b5e2a(0x2e4)])(H)),P(0x5,t[_0x5b5e2a(0x150)])],G);const ve={0x1:(0x0,c[_0x5b5e2a(0x1dd)])(i[_0x5b5e2a(0x2ec)],{'className':_0x5b5e2a(0x174)}),0x0:(0x0,c[_0x5b5e2a(0x1dd)])(i[_0x5b5e2a(0x13e)],{'className':_0x5b5e2a(0x1d1)}),0x2:(0x0,c[_0x5b5e2a(0x1dd)])(i[_0x5b5e2a(0x1c6)],{'className':_0x5b5e2a(0x216)})};function ye(){const _0x4d56df=_0x5b5e2a;let _0x2cd96c=(0x0,r[_0x4d56df(0x28f)])(H),_0x2f5eec=(0x0,r[_0x4d56df(0x28f)])(t['LocaleService']),_0x2bcde3=(0x0,r[_0x4d56df(0x28f)])(W),_0x1478a7=(0x0,r[_0x4d56df(0x1ea)])(_0x2cd96c[_0x4d56df(0x202)],!0x1),_0x21f2e1=(0x0,r[_0x4d56df(0x1ea)])(_0x2cd96c[_0x4d56df(0x2d9)],0x0),_0x461b01=(0x0,r[_0x4d56df(0x1ea)])(_0x2cd96c['list$'],[]),_0x4c7920=(0x0,r[_0x4d56df(0x1ea)])(_0x2bcde3[_0x4d56df(0x2ca)],{'done':0x0,'count':0x0});if(!_0x1478a7)return null;function _0x348ed7(_0x53142e){const _0x599331=_0x4d56df;switch(_0x53142e){case t[_0x599331(0x2f8)][_0x599331(0x1a1)]:return(0x0,c[_0x599331(0x1dd)])(i[_0x599331(0x227)],{});case t['UniverInstanceType'][_0x599331(0x291)]:case t[_0x599331(0x2f8)][_0x599331(0x184)]:return(0x0,c[_0x599331(0x1dd)])(i[_0x599331(0x1f6)],{});case t[_0x599331(0x2f8)][_0x599331(0x1d9)]:return(0x0,c[_0x599331(0x1dd)])(i[_0x599331(0x1db)],{});default:return null;}}function _0x1f4640(){const _0x3e44b9=_0x4d56df;switch(_0x21f2e1){case 0x1:return _0x2f5eec['t'](_0x3e44b9(0x1d4));case 0x2:return _0x2f5eec['t']('exchange-client.unknownMistake');default:return _0x2f5eec['t']('exchange-client.uploading');}}let _0x16c59c=_0x4c7920[_0x4d56df(0x2f7)]>0x0?Math[_0x4d56df(0x2ae)](_0x4c7920[_0x4d56df(0x254)]/_0x4c7920[_0x4d56df(0x2f7)]*0x64):0x0;return(0x0,c[_0x4d56df(0x240)])('section',{'data-u-comp':_0x4d56df(0x157),'className':_0x4d56df(0x23d),'children':[(0x0,c[_0x4d56df(0x240)])(_0x4d56df(0x210),{'className':_0x4d56df(0x13a),'children':[(0x0,c[_0x4d56df(0x240)])(_0x4d56df(0x21f),{'className':'univer-flex\x20univer-min-w-0\x20univer-items-center\x20univer-gap-2\x20univer-font-semibold','children':[(0x0,c[_0x4d56df(0x1dd)])(_0x4d56df(0x21f),{'className':_0x4d56df(0x2b5),'children':ve[_0x21f2e1]}),(0x0,c[_0x4d56df(0x1dd)])(_0x4d56df(0x21f),{'className':_0x4d56df(0x249),'children':_0x1f4640()})]}),(0x0,c[_0x4d56df(0x1dd)])(a['Button'],{'size':_0x4d56df(0x293),'variant':'text','aria-label':_0x2f5eec['t'](_0x4d56df(0x24d)),'onClick':()=>_0x2cd96c[_0x4d56df(0x187)](),'children':(0x0,c[_0x4d56df(0x1dd)])(i['CloseIcon'],{})})]}),_0x21f2e1===0x0&&(0x0,c[_0x4d56df(0x240)])(_0x4d56df(0x294),{'className':_0x4d56df(0x15c),'children':[(0x0,c[_0x4d56df(0x1dd)])(_0x4d56df(0x21f),{'className':_0x4d56df(0x19c),'children':_0x2f5eec['t'](_0x4d56df(0x253))}),(0x0,c[_0x4d56df(0x1dd)])('div',{'className':_0x4d56df(0x1d5),'children':(0x0,c['jsx'])(_0x4d56df(0x294),{'className':_0x4d56df(0x206),'style':{'width':_0x16c59c+'%'}})}),(0x0,c['jsx'])(a[_0x4d56df(0x205)],{'variant':_0x4d56df(0x261),'onClick':()=>_0x2bcde3[_0x4d56df(0x2b9)](),'children':_0x2f5eec['t']('exchange-client.cancel')})]}),_0x21f2e1===0x2&&(0x0,c['jsxs'])(_0x4d56df(0x294),{'className':'univer-grid\x20univer-gap-2','children':[(0x0,c['jsx'])(_0x4d56df(0x21f),{'className':_0x4d56df(0x19c),'children':_0x2f5eec['t'](_0x4d56df(0x26b))}),(0x0,c[_0x4d56df(0x1dd)])(a['Button'],{'variant':_0x4d56df(0x261),'onClick':()=>_0x2bcde3[_0x4d56df(0x235)](),'children':_0x2f5eec['t']('exchange-client.uploadAgain')})]}),_0x461b01[_0x4d56df(0x20c)]>0x0&&(0x0,c[_0x4d56df(0x1dd)])('ul',{'className':_0x4d56df(0x1a5),'children':_0x461b01[_0x4d56df(0x1d2)](_0x2ed91e=>(0x0,c[_0x4d56df(0x1dd)])('li',{'children':(0x0,c[_0x4d56df(0x240)])('a',{'className':'univer-flex\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-50\x20univer-px-3\x20univer-py-2\x20univer-text-gray-900\x20univer-no-underline\x20dark:!univer-bg-gray-800\x20dark:!univer-text-gray-0','href':_0x2ed91e['link'],'target':_0x4d56df(0x2f5),'rel':'noreferrer','children':[(0x0,c[_0x4d56df(0x1dd)])(_0x4d56df(0x21f),{'className':_0x4d56df(0x28a),'children':_0x348ed7(_0x2ed91e[_0x4d56df(0x15d)])}),(0x0,c['jsx'])(_0x4d56df(0x21f),{'className':_0x4d56df(0x1f0),'children':_0x2ed91e[_0x4d56df(0x2d6)]}),(0x0,c['jsx'])(i['ShareRangeIcon'],{'className':_0x4d56df(0x1a8)})]})},_0x2ed91e[_0x4d56df(0x28b)]))}),_0x21f2e1===0x1&&(0x0,c['jsxs'])('div',{'className':_0x4d56df(0x13a),'children':[(0x0,c[_0x4d56df(0x1dd)])(_0x4d56df(0x21f),{'className':_0x4d56df(0x22f),'children':_0x2f5eec['t'](_0x4d56df(0x16d),''+_0x461b01[_0x4d56df(0x20c)])}),(0x0,c[_0x4d56df(0x1dd)])(a[_0x4d56df(0x205)],{'variant':_0x4d56df(0x261),'onClick':()=>_0x2bcde3['retryImportFileToUnitId'](),'children':_0x2f5eec['t'](_0x4d56df(0x23e))})]})]});}let K=class extends t[_0x5b5e2a(0x28d)]{constructor(_0x1d6087,_0x43308d){const _0x5b253f=_0x5b5e2a;super(),this[_0x5b253f(0x262)]=_0x1d6087,this[_0x5b253f(0x1a3)]=_0x43308d,this[_0x5b253f(0x232)](this['_uiPartsService'][_0x5b253f(0x224)](r[_0x5b253f(0x17b)]['CONTENT'],()=>(0x0,r[_0x5b253f(0x285)])(ye,this[_0x5b253f(0x262)])));}};K=F([P(0x0,(0x0,t[_0x5b5e2a(0x2e4)])(t[_0x5b5e2a(0x1ba)])),P(0x1,r[_0x5b5e2a(0x141)])],K);let q=class extends t[_0x5b5e2a(0x24a)]{constructor(_0x529326=h,_0x3ce968,_0x359930){const _0x584b40=_0x5b5e2a;super(),this[_0x584b40(0x284)]=_0x529326,this[_0x584b40(0x262)]=_0x3ce968,this['_configService']=_0x359930;let {..._0xa5ce9}=(0x0,t[_0x584b40(0x18c)])({},h,this[_0x584b40(0x284)]);this['_configService'][_0x584b40(0x2ab)](m,_0xa5ce9);}['onStarting'](){const _0x2af01e=_0x5b5e2a;(0x0,t['registerDependencies'])(this[_0x2af01e(0x262)],[[z],[K],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}[_0x5b5e2a(0x2bc)](){const _0x45b605=_0x5b5e2a;(0x0,t['touchDependencies'])(this[_0x45b605(0x262)],[[z],[K],[W]]);}};N(q,'pluginName',_0x5b5e2a(0x1c5)),N(q,_0x5b5e2a(0x1b5),f),N(q,_0x5b5e2a(0x251),p),q=F([(0x0,t['DependentOn'])(e[_0x5b5e2a(0x182)],n[_0x5b5e2a(0x274)],r[_0x5b5e2a(0x2eb)]),P(0x1,(0x0,t[_0x5b5e2a(0x2e4)])(t[_0x5b5e2a(0x1ba)])),P(0x2,t['IConfigService'])],q);let J=class extends t['Disposable']{constructor(_0x17fea4,_0x33dcb0){const _0x5b8efd=_0x5b5e2a;super(),this[_0x5b8efd(0x1ac)]=_0x17fea4,this[_0x5b8efd(0x25c)]=_0x33dcb0,this[_0x5b8efd(0x26d)](),this['_registerComponents']();}['_registerIcons'](){const _0x375255=_0x5b5e2a;this[_0x375255(0x232)](this[_0x375255(0x1ac)][_0x375255(0x2b6)]({'DirectExportIcon':i[_0x375255(0x190)],'ExportIcon':i[_0x375255(0x2ba)],'FolderIcon':i['FolderIcon']}));}['_registerComponents'](){this['disposeWithMe'](this['_componentManager']['register'](R,he));}};function _0x1c13(_0x35ad4f,_0x138a84){_0x35ad4f=_0x35ad4f-0x138;const _0x19fd85=_0x19fd();let _0x1c13aa=_0x19fd85[_0x35ad4f];return _0x1c13aa;}J=F([P(0x0,(0x0,t[_0x5b5e2a(0x2e4)])(r[_0x5b5e2a(0x1cb)])),P(0x1,(0x0,t['Inject'])(r['ComponentManager']))],J);function be(_0x168538){const _0x2b00b5=_0x5b5e2a;let {list:_0x1aa546}=_0x168538;function _0x1bb3e0(_0x5bf692){const _0x506cb1=_0x1c13;switch(_0x5bf692){case t[_0x506cb1(0x2f8)]['UNIVER_DOC']:return(0x0,c[_0x506cb1(0x1dd)])(i[_0x506cb1(0x227)],{});case t[_0x506cb1(0x2f8)][_0x506cb1(0x291)]:case t[_0x506cb1(0x2f8)][_0x506cb1(0x184)]:return(0x0,c['jsx'])(i[_0x506cb1(0x1f6)],{});case t[_0x506cb1(0x2f8)][_0x506cb1(0x1d9)]:return(0x0,c[_0x506cb1(0x1dd)])(i['SlidesMultiIcon'],{});default:return null;}}return(0x0,c[_0x2b00b5(0x1dd)])(_0x2b00b5(0x294),{'className':(0x0,a[_0x2b00b5(0x2aa)])(_0x2b00b5(0x229),a[_0x2b00b5(0x169)]),'children':(0x0,c[_0x2b00b5(0x1dd)])('ul',{'className':_0x2b00b5(0x25e),'children':_0x1aa546[_0x2b00b5(0x1d2)]((_0x1d8a4d,_0x109769)=>(0x0,c[_0x2b00b5(0x1dd)])('li',{'children':(0x0,c[_0x2b00b5(0x240)])('a',{'className':_0x2b00b5(0x23b),'href':_0x1d8a4d[_0x2b00b5(0x28b)],'target':_0x2b00b5(0x2f5),'rel':_0x2b00b5(0x159),'children':[(0x0,c[_0x2b00b5(0x240)])(_0x2b00b5(0x21f),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,c[_0x2b00b5(0x1dd)])(_0x2b00b5(0x21f),{'className':_0x2b00b5(0x29d),'children':_0x1bb3e0(_0x1d8a4d[_0x2b00b5(0x15d)])}),(0x0,c[_0x2b00b5(0x1dd)])(a[_0x2b00b5(0x19f)],{'showIfEllipsis':!0x0,'title':_0x1d8a4d[_0x2b00b5(0x2d6)],'asChild':!0x0,'children':(0x0,c['jsx'])(_0x2b00b5(0x21f),{'className':_0x2b00b5(0x1b6),'children':_0x1d8a4d[_0x2b00b5(0x2d6)]})})]}),(0x0,c[_0x2b00b5(0x1dd)])(_0x2b00b5(0x21f),{'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,c[_0x2b00b5(0x1dd)])(i[_0x2b00b5(0x180)],{})})]})},_0x109769))})});}function Y(_0x163072){const _0x3d5a37=_0x5b5e2a;let {onClick:_0x1f19bb,children:_0x48b7aa,className:_0x555d6d}=_0x163072;return(0x0,c['jsx'])(a[_0x3d5a37(0x205)],{'size':_0x3d5a37(0x2a5),'variant':'text','className':(0x0,a[_0x3d5a37(0x2aa)])('univer-text-primary-600',_0x555d6d),'type':_0x3d5a37(0x1af),'onClick':_0x1f19bb,'children':_0x48b7aa});}function X(){const _0x3276dd=_0x5b5e2a;let _0x4be1a7=(0x0,r[_0x3276dd(0x28f)])(W),_0x236041=(0x0,r[_0x3276dd(0x28f)])(t[_0x3276dd(0x2bd)]);function _0x4ec1af(){const _0x3b3c7e=_0x3276dd;return _0x4be1a7[_0x3b3c7e(0x235)]();}return(0x0,c[_0x3276dd(0x1dd)])(Y,{'onClick':_0x4ec1af,'children':_0x236041['t']('exchange-client.uploadAgain')});}function xe(){const _0x33a5e1=_0x5b5e2a;let _0x33d627=(0x0,r['useDependency'])(t['LocaleService']);return(0x0,c['jsxs'])(_0x33a5e1(0x294),{'className':_0x33a5e1(0x1c9),'children':[(0x0,c[_0x33a5e1(0x1dd)])(_0x33a5e1(0x21f),{'className':_0x33a5e1(0x18a),'children':_0x33d627['t'](_0x33a5e1(0x26b))}),(0x0,c['jsx'])(X,{})]});}function Se(_0x5a4625){const _0x44b3cc=_0x5b5e2a;let {count:_0x553201}=_0x5a4625,_0x198253=(0x0,r['useDependency'])(t[_0x44b3cc(0x2bd)]);return(0x0,c[_0x44b3cc(0x240)])(_0x44b3cc(0x294),{'className':_0x44b3cc(0x160),'children':[(0x0,c[_0x44b3cc(0x1dd)])('span',{'className':_0x44b3cc(0x22f),'children':_0x198253['t'](_0x44b3cc(0x16d),''+_0x553201)}),(0x0,c[_0x44b3cc(0x1dd)])(X,{})]});}function Ce(){const _0x56f387=_0x5b5e2a;let _0x23628c=(0x0,r['useDependency'])(W),_0x5e7aa9=(0x0,r[_0x56f387(0x28f)])(t[_0x56f387(0x2bd)]);function _0x1b4b42(){const _0x593234=_0x56f387;_0x23628c[_0x593234(0x2b9)]();}return(0x0,c[_0x56f387(0x1dd)])(Y,{'onClick':_0x1b4b42,'children':_0x5e7aa9['t'](_0x56f387(0x24d))});}function we(){const _0x254001=_0x5b5e2a;let _0x3b8efb=(0x0,r[_0x254001(0x28f)])(W),{count:_0x55d07c,done:_0x5d8f20}=(0x0,r[_0x254001(0x1ea)])(_0x3b8efb['progress$']),_0x22ac83=_0x55d07c>0x0?_0x5d8f20/_0x55d07c:0x0;return(0x0,c[_0x254001(0x1dd)])(_0x254001(0x294),{'className':_0x254001(0x26e),'children':(0x0,c['jsx'])('div',{'className':_0x254001(0x1dc),'style':{'width':Math[_0x254001(0x2ae)](_0x22ac83*0x64)+'%'}})});}function Te(){const _0x5f144f=_0x5b5e2a;let _0x2697ae=(0x0,r['useDependency'])(t[_0x5f144f(0x2bd)]);return(0x0,c['jsxs'])(_0x5f144f(0x294),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,c[_0x5f144f(0x1dd)])(_0x5f144f(0x21f),{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','children':_0x2697ae['t'](_0x5f144f(0x253))}),(0x0,c[_0x5f144f(0x1dd)])('div',{'className':_0x5f144f(0x1fe),'children':(0x0,c[_0x5f144f(0x1dd)])(we,{})}),(0x0,c[_0x5f144f(0x1dd)])(Ce,{})]});}const Z={0x1:(0x0,c[_0x5b5e2a(0x1dd)])(i[_0x5b5e2a(0x2ec)],{'className':_0x5b5e2a(0x174)}),0x0:(0x0,c[_0x5b5e2a(0x1dd)])(i[_0x5b5e2a(0x13e)],{'className':_0x5b5e2a(0x1d1)}),0x2:(0x0,c[_0x5b5e2a(0x1dd)])(i[_0x5b5e2a(0x1c6)],{'className':'univer-text-red-500'})};function _0x19fd(){const _0x1fe1e5=['dispose','_exportBySnapshot','FileSource','UNIVER_SLIDE','{taskID}','SlidesMultiIcon','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','jsx','list$','{fileID}','entries','_sheetBlockCache','TRADITIONAL','_totalUploadTaskCount','interruptImportTask','tables','LoadingMultiIcon','uploadFileServerUrl','_buildHttpErrorMessage','CONNECTOR_DATA_TOO_LARGE','useObservable','ExchangeDocType','_getExportURL','setTaskInterrupted','location','MessageType','univer-min-w-0\x20univer-flex-1\x20univer-truncate\x20univer-text-sm','createIdentifier','file.json','origin','_progress$','UNIVER_PROJECT','SheetsMultiIcon','_registerUIParts','csv','b64EncodeUnicode','clear','buffer','ExchangeBaseExportMode','upload\x20request\x20failed','univer-pl-2\x20univer-pr-4','unit','Content-Type','import\x20error','visible$','_visible$','shift','Button','univer-h-full\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','subscribe','_configService','_exchangeService','1414956mpmGpp','originalMeta','length','UniverExchangeClientPlugin','ClientSnapshotServerService','/universer-api/stream/file/upload','header','IExchangeService','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-gray-0','convert-then-values','error','onStarting','univer-text-red-500','ExchangeFormat','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','No\x20unit\x20of\x20type\x20','_getUploadFileURL','application/vnd.openxmlformats-officedocument.presentationml.presentation','resolve','Radio','getTask','span','exchange-client.uploading','signUrl','xls','IConfigService','registerComponent','_httpService','313817HVKYQS','DocsMultiIcon','split','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','textEncoder','doc','add','trim','univer-flex\x20univer-flex-col\x20univer-gap-4','univer-text-sm\x20univer-text-gray-500','get','_buildProtocolErrorMessage','disposeWithMe','_list$','univer-pro.exchange-client.operate.service','retryImportFileToUnitId','exportServerUrl','searchParams','data','Failed\x20to\x20parse\x20json','univer-w-48','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','exchange-client.networkError','univer-fixed\x20univer-bottom-16\x20univer-left-3\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-grid\x20univer-max-h-[50vh]\x20univer-gap-3\x20univer-overflow-y-auto\x20univer-rounded-xl\x20univer-bg-gray-0\x20univer-p-4\x20univer-shadow-lg\x20dark:!univer-bg-gray-900','exchange-client.uploadAgain','importFileToSnapshot','jsxs','_logService','application/json','status','application/pdf','blob','jsonID','signUrlServerUrl','workbook','univer-truncate','Plugin','Select','_getImportURL','exchange-client.cancel','application/vnd.openxmlformats-officedocument.wordprocessingml.document','text/tab-separated-values','createObjectURL','version','toPrimitive','exchange-client.wait','done','_clearProgress','univer-w-full\x20!univer-min-w-0','display','removeEventListener','isArray','Response','exchange-client.export-format-dialog','_componentManager','UniverExchangeClientMobileUIPlugin','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','useState','_lastUnitImportContext','text','_injector','export\x20error','success','text/csv','downloadEndpointUrl','Error\x20fetching\x20file\x20from\x20URL:','clearTaskInterrupted','constructor','exportFile','exchange-client.interrupt','Error\x20getting\x20file\x20name\x20from\x20URL:','_registerIcons','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','saveSheetBlock','asObservable','filter','createElement','Subject','UniverNetworkPlugin','2595384XuLLxW','accept','url','saveSnapshot','requestState$','auto','ISnapshotServerService','ExchangeBaseImportMode','UNDEFINED','3957945UyljhR','fromEntries','aborted','unsubscribe','Error','_messageService','_config','connectInjector','univer-pro.exchange-client.request.service','symbol','_import','ppt','univer-flex\x20univer-size-5\x20univer-shrink-0\x20univer-items-center','link','change','Disposable','upload\x20failed:\x20missing\x20FileId\x20in\x20response','useDependency','_requestState$','UNIVER_SHEET','_getDownloadEndpointURL','icon','div','_importFileToUnitId','body','pathname','transformWorkbookSnapshotMetaToString','HYBRID','textDecoder','files','application/octet-stream','univer-flex\x20univer-h-5\x20univer-text-xl','_getMaxPollingTime','decode','catch','_localeService','DOCX','@univerjs-pro/exchange-client','TABLES','small','pushLink','saveChangeset','next','useRef','clsx','setConfig','default','_emitProgress','floor','getTextFromUrl','complete','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','HTTPService','HttpImport','_addDoneTask','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-xl','register','replace','File\x20request\x20completed\x20without\x20a\x20response.','interrupt','ExportIcon','match','onReady','LocaleService','sign\x20url\x20error','importFileAsSnapshot','EXPORT_FORMAT_DIALOG','encode','UNIT','includes','_isSelectingUnitImportFile','Failed\x20to\x20get\x20fileID\x20from\x20task','getConfig','univer-flex\x20univer-size-6\x20univer-shrink-0\x20univer-items-center\x20univer-justify-center\x20univer-text-2xl','SnapshotService','taskID','progress$','upload','MobileSelect','_signUrl','has','univer-pro.exchange-client.exchange.service','_getSignURL','exchange-client.internalError','univer-grid\x20univer-gap-4','File\x20request\x20aborted.','maxTimeoutTime','string','name','UNRECOGNIZED','getFileById','state$','stream','function','focusUnit','_list','forEach','href','_uploadTaskNotDone','_importTaskId','file','fail','Inject','univer-sticky\x20univer-bottom-0\x20univer-bg-gray-0\x20univer-py-3\x20dark:!univer-bg-gray-900','_requestService','current','exportFileByUnitId','GET','AUTO','UniverMobileUIPlugin','SuccessIcon','join','ErrorCode','keys','getCurrentUnitOfType','input','headers','_univerInstanceService','pptx','_blank','IUniverInstanceService','count','UniverInstanceType','unshift','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','export','_showDownloadMessage','ExchangeBaseFormulaPolicy','statusText','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-gap-3','touchDependencies','2741008SCbjZS','_uploadNotificationService','ClockIcon','docx','pop','IUIPartsService','1.0.2','_export','BehaviorSubject','fileID','univer-flex\x20univer-items-center\x20univer-gap-3','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','_taskInterrupted','updateSnapshot','UNIVER_UNKNOWN','_state$','post','_addTotalCount','set','_getLinkByUnitId','ILogService','cancel','univer-animate-spin','CONVERT_THEN_VALUES','/universer-api/exchange/{type}/export','_getTaskURL','VALUES','mobile-upload-notification','Failed\x20to\x20get\x20jsonID\x20from\x20task','noreferrer','code','updateState','univer-grid\x20univer-gap-3','type','FileId','Failed\x20to\x20get\x20text\x20from\x20url','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_extractErrorDetail','show','toString','univer-flex\x20univer-justify-end\x20univer-gap-2','Failed\x20to\x20get\x20unitID\x20from\x20task','application/vnd.ms-powerpoint','xlsx','toUpperCase','scrollbarClassName','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','stringify','exchange-client.downloading','exchange-client.uploadSuccessTip','univer-grid\x20univer-gap-2\x20univer-rounded-xl\x20univer-bg-gray-50\x20univer-p-3\x20dark:!univer-bg-gray-800','import','parse','revokeObjectURL','34923728LJVfih','outputType','univer-text-green-500','prototype','upload\x20failed:\x20FileId\x20is\x20empty','Success','none','RANGES','&flate=','BuiltInUIPart','84lPrmBP','blockID','getTaskServerUrl','defineProperty','ShareRangeIcon','importer','UniverLicensePlugin','/universer-api/exchange/task/{taskID}','UNIVER_BASE','Warning','exchange-client.tooLarge','hide','pdf','_showUploadMessage','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','UNIVER_PDF','merge','Get\x20outputType\x20error','tsv','/universer-api/exchange/{type}/import','DirectExportIcon','sheets','pluginName','message','importFileToJson','univer-flex\x20univer-items-center','exchange-client.downloadSuccess','removeChild','exchange-client.unknownMistake','{type}','ranges','Info','univer-text-sm\x20univer-text-gray-700\x20dark:!univer-text-gray-200','file.','_refreshUnit','Tooltip','addEventListener','UNIVER_DOC','?size=','_uiPartsService','toDisposable','univer-m-0\x20univer-grid\x20univer-list-none\x20univer-gap-2\x20univer-p-0','IMessageService','_upload','univer-shrink-0','_doneUploadTaskCount','append','PPTX','_iconManager','isUnitLoadedFromServer','exportFileBySnapshot','button','registerDependencies','DependentOn','isCurrentUnitLoadedFromServer','fetchMissingChangesets','getDeserializedSheetBlock','packageName','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-gray-0','primary','block\x20is\x20required','_fileTypeError','Injector','unitID','4906492vMTbXh','PDF','_completeProgress','Module','getLatestCsReqIdBySid','univer-flex\x20univer-flex-col\x20univer-gap-5\x20univer-p-1','MODERN','object','traditional','UNIVER_EXCHANGE_CLIENT_PLUGIN','ErrorIcon','click','/universer-api/file/{fileID}/sign-url','univer-mt-5\x20univer-flex\x20univer-flex-col','getUnitOnRev','IconManager','application/vnd.ms-excel','importFileToUnitId','transformSheetBlockMetaToString','HTTPEventType','_showNetworkError','univer-text-blue-500','map','_importToJson','exchange-client.uploadSuccess','univer-h-1.5\x20univer-w-full\x20univer-overflow-hidden\x20univer-rounded-lg\x20univer-bg-gray-200'];_0x19fd=function(){return _0x1fe1e5;};return _0x19fd();}function Ee(){const _0x43458b=_0x5b5e2a;let _0x29e62e=(0x0,r[_0x43458b(0x28f)])(H),_0x197966=(0x0,r['useDependency'])(t[_0x43458b(0x2bd)]),_0x326323=(0x0,r[_0x43458b(0x1ea)])(_0x29e62e[_0x43458b(0x2d9)],0x0),_0x58d495=(0x0,r[_0x43458b(0x1ea)])(_0x29e62e['visible$'],!0x1),_0x575a00=(0x0,r[_0x43458b(0x1ea)])(_0x29e62e[_0x43458b(0x1de)],[]);function _0x213b22(){const _0x512aeb=_0x43458b;_0x29e62e[_0x512aeb(0x187)]();}function _0x5a7b70(_0x11ca43){const _0x171254=_0x43458b;switch(_0x11ca43){case 0x1:return _0x197966['t'](_0x171254(0x1d4));case 0x0:return _0x197966['t'](_0x171254(0x220));case 0x2:return _0x197966['t'](_0x171254(0x198));default:return'';}}return _0x58d495&&(0x0,c[_0x43458b(0x240)])(_0x43458b(0x294),{'className':_0x43458b(0x147),'children':[(0x0,c[_0x43458b(0x240)])(_0x43458b(0x294),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,c[_0x43458b(0x240)])(_0x43458b(0x21f),{'className':_0x43458b(0x195),'children':[(0x0,c[_0x43458b(0x1dd)])(_0x43458b(0x21f),{'className':_0x43458b(0x2c7),'children':Z[_0x326323]}),(0x0,c[_0x43458b(0x1dd)])(_0x43458b(0x21f),{'className':_0x43458b(0x212),'children':_0x5a7b70(_0x326323)})]}),(0x0,c[_0x43458b(0x1dd)])('span',{'className':_0x43458b(0x16a),'onClick':_0x213b22,'children':(0x0,c[_0x43458b(0x1dd)])(i['CloseIcon'],{})})]}),(0x0,c[_0x43458b(0x240)])(_0x43458b(0x294),{'children':[_0x326323===0x0&&(0x0,c[_0x43458b(0x1dd)])(Te,{}),_0x326323===0x2&&(0x0,c[_0x43458b(0x1dd)])(xe,{}),_0x575a00[_0x43458b(0x20c)]>0x0&&(0x0,c[_0x43458b(0x1dd)])(be,{'list':_0x575a00}),_0x326323===0x1&&(0x0,c[_0x43458b(0x1dd)])(Se,{'count':_0x575a00[_0x43458b(0x20c)]})]})]});}let Q=class extends t[_0x5b5e2a(0x28d)]{constructor(_0xf6f61,_0x13b1ac){const _0x420a82=_0x5b5e2a;super(),this[_0x420a82(0x262)]=_0xf6f61,this[_0x420a82(0x1a3)]=_0x13b1ac,this[_0x420a82(0x1f7)]();}['_registerUIParts'](){const _0x525103=_0x5b5e2a;this[_0x525103(0x232)](this[_0x525103(0x1a3)][_0x525103(0x224)](r['BuiltInUIPart']['CONTENT'],()=>(0x0,r[_0x525103(0x285)])(Ee,this['_injector'])));}};Q=F([P(0x0,(0x0,t[_0x5b5e2a(0x2e4)])(t[_0x5b5e2a(0x1ba)])),P(0x1,r[_0x5b5e2a(0x141)])],Q);let $=class extends t[_0x5b5e2a(0x24a)]{constructor(_0x12d990=h,_0x186c76,_0x2b6706){const _0x8e82d9=_0x5b5e2a;super(),this[_0x8e82d9(0x284)]=_0x12d990,this[_0x8e82d9(0x262)]=_0x186c76,this['_configService']=_0x2b6706;let {..._0x4f4857}=(0x0,t[_0x8e82d9(0x18c)])({},h,this[_0x8e82d9(0x284)]);this['_configService'][_0x8e82d9(0x2ab)](m,_0x4f4857);}[_0x5b5e2a(0x215)](){const _0x34bd9c=_0x5b5e2a;(0x0,t[_0x34bd9c(0x1b0)])(this[_0x34bd9c(0x262)],[[J],[Q],[W,{'useClass':G}],[B,{'useClass':V}],[I,{'useClass':L}],[H,{'useClass':U}]]);}[_0x5b5e2a(0x2bc)](){const _0x3b7086=_0x5b5e2a;(0x0,t[_0x3b7086(0x13b)])(this['_injector'],[[J],[Q],[W]]);}};N($,_0x5b5e2a(0x192),_0x5b5e2a(0x1c5)),N($,'packageName',f),N($,_0x5b5e2a(0x251),p),$=F([(0x0,t[_0x5b5e2a(0x1b1)])(e[_0x5b5e2a(0x182)],n['UniverNetworkPlugin']),P(0x1,(0x0,t[_0x5b5e2a(0x2e4)])(t[_0x5b5e2a(0x1ba)])),P(0x2,t[_0x5b5e2a(0x223)])],$);function De(_0x176ed9,_0x20e568){const _0x1680a9=_0x5b5e2a;let _0x2f6b99=_0x176ed9[_0x1680a9(0x230)](t['IUniverInstanceService'])[_0x1680a9(0x2f0)](_0x20e568);return!_0x2f6b99||!_0x176ed9[_0x1680a9(0x2ce)](u[_0x1680a9(0x2c8)])||!_0x176ed9[_0x1680a9(0x2ce)](u[_0x1680a9(0x27b)])?!0x1:_0x176ed9['get'](u[_0x1680a9(0x2c8)])[_0x1680a9(0x1ad)](_0x2f6b99);}function Oe(_0x105102){const _0x2aa63b=_0x5b5e2a;let _0x2fa02e=_0x105102[_0x2aa63b(0x248)];if(!_0x2fa02e)return null;let _0x542ad4={};_0x2fa02e['sheets']&&Object[_0x2aa63b(0x2ef)](_0x2fa02e[_0x2aa63b(0x191)])['forEach'](_0x2e08e1=>{const _0x379554=_0x2aa63b;let _0x347001=_0x2fa02e[_0x379554(0x191)][_0x2e08e1];_0x542ad4[_0x2e08e1]={..._0x347001,'originalMeta':(0x0,u['b64EncodeUnicode'])(u['textDecoder'][_0x379554(0x29f)](_0x347001[_0x379554(0x20b)]))};});let _0x8ad79a=(0x0,u[_0x2aa63b(0x1f9)])(u['textDecoder'][_0x2aa63b(0x29f)](_0x2fa02e[_0x2aa63b(0x20b)]));return{..._0x105102,'workbook':{..._0x2fa02e,'originalMeta':_0x8ad79a,'sheets':_0x542ad4},'doc':{},'slide':void 0x0,'board':void 0x0,'pdf':void 0x0};}function ke(_0xa54d02){const _0x4a7af1=_0x5b5e2a;let _0x2ef58e={};return _0xa54d02[_0x4a7af1(0x2de)](_0x276e10=>{const _0x152efb=_0x4a7af1;_0x2ef58e[_0x276e10['id']]={..._0x276e10,'data':(0x0,u['b64EncodeUnicode'])(u[_0x152efb(0x29a)]['decode'](_0x276e10[_0x152efb(0x238)]))};}),_0x2ef58e;}var Ae=class{constructor(){const _0x538fe8=_0x5b5e2a;N(this,_0x538fe8(0x1e1),new Map());}[_0x5b5e2a(0x1ca)](){const _0x6efc7b=_0x5b5e2a;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x6efc7b(0x2f8)][_0x6efc7b(0x291)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':s[_0x6efc7b(0x2ee)]['OK'],'message':''}});}['getSheetBlock'](_0x305078,_0x1dd165){const _0x773bc9=_0x5b5e2a;let _0x273699=this[_0x773bc9(0x1e1)][_0x773bc9(0x230)](_0x1dd165[_0x773bc9(0x17d)]);return Promise['resolve']({'block':_0x273699,'error':{'code':s[_0x773bc9(0x2ee)]['OK'],'message':''}});}[_0x5b5e2a(0x1b4)](_0xc27544,_0x3014ab){const _0xd2892f=_0x5b5e2a;let _0x251e3d=this[_0xd2892f(0x1e1)][_0xd2892f(0x230)](_0x3014ab['blockID']);return Promise[_0xd2892f(0x21c)]({'block':_0x251e3d===void 0x0?void 0x0:{..._0x251e3d,'data':JSON[_0xd2892f(0x170)](u['textDecoder']['decode'](_0x251e3d[_0xd2892f(0x238)]))},'error':{'code':s[_0xd2892f(0x2ee)]['OK'],'message':''}});}[_0x5b5e2a(0x1b3)](){return Promise['resolve']({'changesets':[],'error':{'code':s['ErrorCode']['OK'],'message':''}});}['getResourcesRequest'](){const _0x32440b=_0x5b5e2a;return Promise['resolve']({'resources':{},'error':{'code':s[_0x32440b(0x2ee)]['OK'],'message':''}});}[_0x5b5e2a(0x278)](){return Promise['resolve']({'error':{'code':s['ErrorCode']['OK'],'message':''}});}[_0x5b5e2a(0x149)](){const _0x583e7f=_0x5b5e2a;return Promise['resolve']({'error':{'code':s[_0x583e7f(0x2ee)]['OK'],'message':''}});}[_0x5b5e2a(0x26f)](_0x591d2f,_0x26359e){const _0x60fd5b=_0x5b5e2a;let {block:_0x1291a4}=_0x26359e;return _0x1291a4?(this[_0x60fd5b(0x1e1)][_0x60fd5b(0x14e)](_0x1291a4['id'],_0x1291a4),Promise[_0x60fd5b(0x21c)]({'error':{'code':s[_0x60fd5b(0x2ee)]['OK'],'message':''},'blockID':_0x1291a4['id']})):Promise[_0x60fd5b(0x21c)]({'error':{'code':s['ErrorCode'][_0x60fd5b(0x27d)],'message':_0x60fd5b(0x1b8)},'blockID':''});}[_0x5b5e2a(0x2a7)](){const _0x5f25cc=_0x5b5e2a;return Promise[_0x5f25cc(0x21c)]({'error':{'code':s['ErrorCode']['OK'],'message':''},'concurrent':[]});}['copyFileMeta'](){const _0x29e8bc=_0x5b5e2a;return Promise[_0x29e8bc(0x21c)]({'error':void 0x0,'fileMetaId':''});}[_0x5b5e2a(0x1c0)](){const _0x509318=_0x5b5e2a;return Promise[_0x509318(0x21c)]({'error':void 0x0,'latestReqID':0x0});}};exports[_0x5b5e2a(0x20e)]=Ae,exports[_0x5b5e2a(0x2c0)]=R,exports[_0x5b5e2a(0x1fc)]=me,exports[_0x5b5e2a(0x138)]=pe,exports[_0x5b5e2a(0x27c)]=fe,exports[_0x5b5e2a(0x1eb)]=de,exports[_0x5b5e2a(0x217)]=ue,exports['IExchangeOperateService']=W,exports[_0x5b5e2a(0x211)]=B,exports['ImportOutputType']=le,Object[_0x5b5e2a(0x17f)](exports,_0x5b5e2a(0x25d),{'enumerable':!0x0,'get':function(){return q;}}),Object[_0x5b5e2a(0x17f)](exports,_0x5b5e2a(0x20d),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x5b5e2a(0x1b2)]=De,exports[_0x5b5e2a(0x1ce)]=ke,exports[_0x5b5e2a(0x298)]=Oe;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xc72243=_0x2b65;(function(_0x1bce62,_0x1cd0d1){const _0x23d762=_0x2b65,_0xc993d9=_0x1bce62();while(!![]){try{const _0x3c282f=parseInt(_0x23d762(0x1e0))/0x1*(parseInt(_0x23d762(0x1e6))/0x2)+-parseInt(_0x23d762(0x1d8))/0x3*(parseInt(_0x23d762(0x1d1))/0x4)+parseInt(_0x23d762(0x1da))/0x5*(-parseInt(_0x23d762(0x1d3))/0x6)+parseInt(_0x23d762(0x1de))/0x7*(parseInt(_0x23d762(0x1cf))/0x8)+parseInt(_0x23d762(0x1dd))/0x9+-parseInt(_0x23d762(0x1e3))/0xa*(parseInt(_0x23d762(0x1df))/0xb)+parseInt(_0x23d762(0x1d4))/0xc;if(_0x3c282f===_0x1cd0d1)break;else _0xc993d9['push'](_0xc993d9['shift']());}catch(_0x309078){_0xc993d9['push'](_0xc993d9['shift']());}}}(_0x120a,0xa11ef));function _0x120a(){const _0x154e36=['خطأ\x20داخلي\x20غير\x20معروف','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','273RSbBdo','تأكيد','118775ETeWqR','جارٍ\x20الرفع','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','8190522XEpaMn','28pYpiKy','407CDVFny','16qkotjL','البيانات\x20كبيرة\x20جداً','تم\x20رفع\x20الملف\x20بنجاح','155130FyHjPg','خطأ\x20غير\x20معروف','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','31622ljQGjs','357664CIKNTq','إعادة\x20الرفع','20308XVjYWW','exports','300VXHqLN','18501876dxBMEh','تم\x20التحميل\x20بنجاح'];_0x120a=function(){return _0x154e36;};return _0x120a();}const e={'exchange-client':{'uploading':_0xc72243(0x1db),'uploadSuccess':_0xc72243(0x1e2),'uploadSuccessTip':_0xc72243(0x1d7),'downloading':'جارٍ\x20التحميل','downloadSuccess':_0xc72243(0x1d5),'unknownMistake':_0xc72243(0x1e4),'networkError':'خطأ\x20في\x20الشبكة','tooLarge':_0xc72243(0x1e1),'internalError':_0xc72243(0x1d6),'interrupt':_0xc72243(0x1e5),'fileTypeError':_0xc72243(0x1dc),'wait':'يرجى\x20الانتظار...','cancel':'إلغاء','confirm':_0xc72243(0x1d9),'uploadAgain':_0xc72243(0x1d0)}};function _0x2b65(_0x2cd1a8,_0x4501ca){_0x2cd1a8=_0x2cd1a8-0x1cf;const _0x120ad0=_0x120a();let _0x2b6529=_0x120ad0[_0x2cd1a8];return _0x2b6529;}module[_0xc72243(0x1d2)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x55845e=_0x4c68;(function(_0xfde3e1,_0x3d5701){const _0x198666=_0x4c68,_0x5730ae=_0xfde3e1();while(!![]){try{const _0xe0c281=parseInt(_0x198666(0xaa))/0x1+-parseInt(_0x198666(0xb7))/0x2*(-parseInt(_0x198666(0xac))/0x3)+parseInt(_0x198666(0xa8))/0x4*(-parseInt(_0x198666(0xb8))/0x5)+-parseInt(_0x198666(0xab))/0x6+-parseInt(_0x198666(0xa5))/0x7+parseInt(_0x198666(0xb1))/0x8+parseInt(_0x198666(0xb2))/0x9*(parseInt(_0x198666(0xb0))/0xa);if(_0xe0c281===_0x3d5701)break;else _0x5730ae['push'](_0x5730ae['shift']());}catch(_0x450fbd){_0x5730ae['push'](_0x5730ae['shift']());}}}(_0x548e,0x9497f));function _0x4c68(_0x38ac8b,_0x54222b){_0x38ac8b=_0x38ac8b-0xa5;const _0x548e07=_0x548e();let _0x4c68ce=_0x548e07[_0x38ac8b];return _0x4c68ce;}const e={'exchange-client':{'uploading':_0x55845e(0xae),'uploadSuccess':_0x55845e(0xa6),'uploadSuccessTip':_0x55845e(0xb3),'downloading':'Descarregant','downloadSuccess':_0x55845e(0xad),'unknownMistake':_0x55845e(0xb4),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x55845e(0xa7),'internalError':_0x55845e(0xb9),'interrupt':_0x55845e(0xba),'fileTypeError':_0x55845e(0xb5),'wait':_0x55845e(0xaf),'cancel':_0x55845e(0xbb),'confirm':_0x55845e(0xb6),'uploadAgain':'Tornar\x20a\x20pujar'}};function _0x548e(){const _0x4c8d2a=['276555VeTuzW','Descàrrega\x20correcta','Pujant','Espereu...','20MegEGD','1246752PrqWDx','2351718GvWGdQ','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Error\x20desconegut','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Confirmar','10wJmGWH','210HTfrYk','Error\x20intern\x20desconegut','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','Cancel·lar','3395588RCgkHJ','Fitxer\x20pujat\x20correctament','Les\x20dades\x20són\x20massa\x20grans','65732IRWTeH','exports','777065LYMJgp','795174OOmGUD'];_0x548e=function(){return _0x4c8d2a;};return _0x548e();}module[_0x55845e(0xa9)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2e0d(_0x434445,_0x24c373){_0x434445=_0x434445-0xed;const _0x50fad1=_0x50fa();let _0x2e0da=_0x50fad1[_0x434445];return _0x2e0da;}const _0x2474ee=_0x2e0d;function _0x50fa(){const _0x496059=['1637925MGXusf','1100520cpgGPL','Wird\x20hochgeladen','Bitte\x20warten...','Abbrechen','Download\x20erfolgreich','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','3617958LBzCWM','Bestätigen','8989821BuFxHV','3NedHKQ','Unbekannter\x20Fehler','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','8FwKJOD','Daten\x20sind\x20zu\x20groß','695508eHNZuJ','4CMAGXH','301394xOdcls','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','6318179OqSkQs','exports'];_0x50fa=function(){return _0x496059;};return _0x50fa();}(function(_0x53fae4,_0x420950){const _0x4bce6a=_0x2e0d,_0x5739d8=_0x53fae4();while(!![]){try{const _0x4c1201=-parseInt(_0x4bce6a(0xf1))/0x1+parseInt(_0x4bce6a(0xf3))/0x2*(parseInt(_0x4bce6a(0x101))/0x3)+-parseInt(_0x4bce6a(0xf2))/0x4*(parseInt(_0x4bce6a(0xf7))/0x5)+-parseInt(_0x4bce6a(0xfe))/0x6+parseInt(_0x4bce6a(0xf5))/0x7+parseInt(_0x4bce6a(0xef))/0x8*(parseInt(_0x4bce6a(0x100))/0x9)+parseInt(_0x4bce6a(0xf8))/0xa;if(_0x4c1201===_0x420950)break;else _0x5739d8['push'](_0x5739d8['shift']());}catch(_0x36188a){_0x5739d8['push'](_0x5739d8['shift']());}}}(_0x50fa,0x82e41));const e={'exchange-client':{'uploading':_0x2474ee(0xf9),'uploadSuccess':'Datei\x20erfolgreich\x20hochgeladen','uploadSuccessTip':_0x2474ee(0xf4),'downloading':'Wird\x20heruntergeladen','downloadSuccess':_0x2474ee(0xfc),'unknownMistake':_0x2474ee(0xed),'networkError':'Netzwerkfehler','tooLarge':_0x2474ee(0xf0),'internalError':'Interner\x20unbekannter\x20Fehler','interrupt':_0x2474ee(0xee),'fileTypeError':_0x2474ee(0xfd),'wait':_0x2474ee(0xfa),'cancel':_0x2474ee(0xfb),'confirm':_0x2474ee(0xff),'uploadAgain':'Erneut\x20hochladen'}};module[_0x2474ee(0xf6)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x56c7(_0x28ef89,_0x213009){_0x28ef89=_0x28ef89-0x111;const _0x3fa0d9=_0x3fa0();let _0x56c7cb=_0x3fa0d9[_0x28ef89];return _0x56c7cb;}const _0x162d2b=_0x56c7;(function(_0x49bdec,_0x57711c){const _0x1e50da=_0x56c7,_0xe6888b=_0x49bdec();while(!![]){try{const _0x41a8ce=parseInt(_0x1e50da(0x11a))/0x1+-parseInt(_0x1e50da(0x11b))/0x2+parseInt(_0x1e50da(0x11c))/0x3*(parseInt(_0x1e50da(0x11e))/0x4)+parseInt(_0x1e50da(0x119))/0x5*(-parseInt(_0x1e50da(0x117))/0x6)+parseInt(_0x1e50da(0x113))/0x7+parseInt(_0x1e50da(0x111))/0x8+parseInt(_0x1e50da(0x115))/0x9*(parseInt(_0x1e50da(0x125))/0xa);if(_0x41a8ce===_0x57711c)break;else _0xe6888b['push'](_0xe6888b['shift']());}catch(_0x2cfbb2){_0xe6888b['push'](_0xe6888b['shift']());}}}(_0x3fa0,0xa0b7e));function _0x3fa0(){const _0x182e7b=['368yTuAik','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Downloading','Cancel','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','{0}\x20file(s)\x20uploaded\x20successfully','Internal\x20unknown\x20error','110YpesaM','Download\x20success','exports','4655520GBLDCA','File\x20uploaded\x20successfully','710339VDVtSB','Network\x20error','702018AtpgHP','Confirm','3877338pgEHJO','Unknown\x20mistake','10JJETSW','897115xJDIzg','2178604BUcfke','19614xeqwUI','Please\x20wait...'];_0x3fa0=function(){return _0x182e7b;};return _0x3fa0();}const e={'exchange-client':{'uploading':'Uploading','uploadSuccess':_0x162d2b(0x112),'uploadSuccessTip':_0x162d2b(0x123),'downloading':_0x162d2b(0x120),'downloadSuccess':_0x162d2b(0x126),'unknownMistake':_0x162d2b(0x118),'networkError':_0x162d2b(0x114),'tooLarge':'Data\x20is\x20too\x20large','internalError':_0x162d2b(0x124),'interrupt':_0x162d2b(0x122),'fileTypeError':_0x162d2b(0x11f),'wait':_0x162d2b(0x11d),'cancel':_0x162d2b(0x121),'confirm':_0x162d2b(0x116),'uploadAgain':'Upload\x20again'}};module[_0x162d2b(0x127)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1ff7(_0x2ff4f4,_0x2e8f4e){_0x2ff4f4=_0x2ff4f4-0xc5;const _0x559697=_0x5596();let _0x1ff767=_0x559697[_0x2ff4f4];return _0x1ff767;}const _0x1d5d98=_0x1ff7;(function(_0x56c23e,_0x554c2d){const _0x563607=_0x1ff7,_0x536427=_0x56c23e();while(!![]){try{const _0x4ccf69=parseInt(_0x563607(0xd5))/0x1*(-parseInt(_0x563607(0xce))/0x2)+-parseInt(_0x563607(0xd1))/0x3+parseInt(_0x563607(0xd3))/0x4+-parseInt(_0x563607(0xd2))/0x5*(parseInt(_0x563607(0xdc))/0x6)+-parseInt(_0x563607(0xc6))/0x7*(-parseInt(_0x563607(0xc5))/0x8)+parseInt(_0x563607(0xcf))/0x9+parseInt(_0x563607(0xc8))/0xa;if(_0x4ccf69===_0x554c2d)break;else _0x536427['push'](_0x536427['shift']());}catch(_0x39192b){_0x536427['push'](_0x536427['shift']());}}}(_0x5596,0x22e20));const e={'exchange-client':{'uploading':_0x1d5d98(0xda),'uploadSuccess':'Archivo\x20subido\x20exitosamente','uploadSuccessTip':_0x1d5d98(0xd8),'downloading':_0x1d5d98(0xd6),'downloadSuccess':_0x1d5d98(0xd7),'unknownMistake':_0x1d5d98(0xd4),'networkError':_0x1d5d98(0xc7),'tooLarge':_0x1d5d98(0xdb),'internalError':_0x1d5d98(0xcc),'interrupt':_0x1d5d98(0xcb),'fileTypeError':'El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','wait':_0x1d5d98(0xd9),'cancel':_0x1d5d98(0xd0),'confirm':_0x1d5d98(0xc9),'uploadAgain':_0x1d5d98(0xcd)}};module[_0x1d5d98(0xca)]=e;function _0x5596(){const _0x137d0a=['Descarga\x20exitosa','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','Espere...','Subiendo','Los\x20datos\x20son\x20demasiado\x20grandes','377694mNKQbA','40AqCLLo','243992YUyedf','Error\x20de\x20red','1081560kkqdqo','Confirmar','exports','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Error\x20interno\x20desconocido','Subir\x20de\x20nuevo','1128MESmJC','1254465tLZnzL','Cancelar','240906BLwmGU','15sQVXiX','655680qCjdAX','Error\x20desconocido','308ZnTBAE','Descargando'];_0x5596=function(){return _0x137d0a;};return _0x5596();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x5186c8=_0xdc86;(function(_0x47c83a,_0x138497){const _0x375ac2=_0xdc86,_0x5cd285=_0x47c83a();while(!![]){try{const _0x1d23af=parseInt(_0x375ac2(0x123))/0x1+-parseInt(_0x375ac2(0x12b))/0x2+-parseInt(_0x375ac2(0x122))/0x3+-parseInt(_0x375ac2(0x128))/0x4+-parseInt(_0x375ac2(0x120))/0x5+-parseInt(_0x375ac2(0x127))/0x6+parseInt(_0x375ac2(0x11f))/0x7;if(_0x1d23af===_0x138497)break;else _0x5cd285['push'](_0x5cd285['shift']());}catch(_0x22f392){_0x5cd285['push'](_0x5cd285['shift']());}}}(_0x56f9,0xce002));function _0x56f9(){const _0x476375=['تایید','دانلود\x20موفقیت\x20آمیز','4348242zKqOPJ','69964Hadnkv','لطفا\x20صبر\x20کنید...','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1085284xEPpTl','exports','خطای\x20داخلی\x20ناشناخته','خطای\x20ناشناخته','خطای\x20شبکه','در\x20حال\x20بارگذاری','23692921VIpGda','7912710UyUwfo','داده\x20خیلی\x20بزرگ\x20است','3542130cpnTXC','1507167LLAYNh','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود'];_0x56f9=function(){return _0x476375;};return _0x56f9();}function _0xdc86(_0x3679a3,_0x104772){_0x3679a3=_0x3679a3-0x11a;const _0x56f95c=_0x56f9();let _0xdc8659=_0x56f95c[_0x3679a3];return _0xdc8659;}const e={'exchange-client':{'uploading':_0x5186c8(0x11e),'uploadSuccess':_0x5186c8(0x12a),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':'در\x20حال\x20دانلود','downloadSuccess':_0x5186c8(0x126),'unknownMistake':_0x5186c8(0x11c),'networkError':_0x5186c8(0x11d),'tooLarge':_0x5186c8(0x121),'internalError':_0x5186c8(0x11b),'interrupt':'اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','fileTypeError':_0x5186c8(0x124),'wait':_0x5186c8(0x129),'cancel':'لغو','confirm':_0x5186c8(0x125),'uploadAgain':'بارگذاری\x20مجدد'}};module[_0x5186c8(0x11a)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x49eec3=_0x4125;(function(_0x3c7d6a,_0x1f92ae){const _0x40980d=_0x4125,_0xdb9cc5=_0x3c7d6a();while(!![]){try{const _0x1e58cb=-parseInt(_0x40980d(0x102))/0x1*(parseInt(_0x40980d(0xfa))/0x2)+-parseInt(_0x40980d(0xfb))/0x3*(parseInt(_0x40980d(0x101))/0x4)+-parseInt(_0x40980d(0xff))/0x5+parseInt(_0x40980d(0xfd))/0x6+-parseInt(_0x40980d(0x10a))/0x7+-parseInt(_0x40980d(0x104))/0x8+-parseInt(_0x40980d(0x105))/0x9*(-parseInt(_0x40980d(0x107))/0xa);if(_0x1e58cb===_0x1f92ae)break;else _0xdb9cc5['push'](_0xdb9cc5['shift']());}catch(_0x2ca7bd){_0xdb9cc5['push'](_0xdb9cc5['shift']());}}}(_0x334a,0x4c8e5));const e={'exchange-client':{'uploading':_0x49eec3(0xfe),'uploadSuccess':_0x49eec3(0xf8),'uploadSuccessTip':_0x49eec3(0x109),'downloading':_0x49eec3(0x103),'downloadSuccess':_0x49eec3(0xf9),'unknownMistake':'Erreur\x20inconnue','networkError':'Erreur\x20réseau','tooLarge':'Les\x20données\x20sont\x20trop\x20volumineuses','internalError':_0x49eec3(0x10c),'interrupt':_0x49eec3(0x106),'fileTypeError':_0x49eec3(0xfc),'wait':_0x49eec3(0x10b),'cancel':_0x49eec3(0x100),'confirm':'Confirmer','uploadAgain':_0x49eec3(0x108)}};function _0x4125(_0x1cd67c,_0x409f7c){_0x1cd67c=_0x1cd67c-0xf8;const _0x334a7e=_0x334a();let _0x412525=_0x334a7e[_0x1cd67c];return _0x412525;}module['exports']=e;function _0x334a(){const _0x5eb296=['2774124qotQwA','Téléchargement\x20en\x20cours','1194540GkARzA','Annuler','10668FYmCVs','36413HglgTB','Téléchargement','171976pSNhGT','9ytWKsx','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','13236190qWdoLX','Télécharger\x20à\x20nouveau','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','3646755okFFLE','Veuillez\x20patienter...','Erreur\x20interne\x20inconnue','Fichier\x20téléchargé\x20avec\x20succès','Téléchargement\x20réussi','34oirNQi','81nisaNA','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement'];_0x334a=function(){return _0x5eb296;};return _0x334a();}
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4d0718=_0x23c4;function _0x23c4(_0x485a99,_0x1a67aa){_0x485a99=_0x485a99-0xc1;const _0x129232=_0x1292();let _0x23c4b8=_0x129232[_0x485a99];return _0x23c4b8;}function _0x1292(){const _0x4c0cd7=['Harap\x20tunggu...','Kesalahan\x20tidak\x20diketahui','Mengunduh','4016IqaCWe','1863513tvnIGE','Data\x20terlalu\x20besar','Unduhan\x20berhasil','{0}\x20file\x20berhasil\x20diunggah','4QRrJdS','5604342yLWbTT','3193515jJZAwl','7903KuNfCf','Kesalahan\x20jaringan','exports','Mengunggah','26613450GrjBfW','Unggah\x20ulang','647160DmAZXI','716645nWzTMf'];_0x1292=function(){return _0x4c0cd7;};return _0x1292();}(function(_0x404479,_0x497b19){const _0x264aa6=_0x23c4,_0x55bcdb=_0x404479();while(!![]){try{const _0xb37bbd=parseInt(_0x264aa6(0xc6))/0x1*(-parseInt(_0x264aa6(0xcf))/0x2)+-parseInt(_0x264aa6(0xcb))/0x3+parseInt(_0x264aa6(0xc5))/0x4+-parseInt(_0x264aa6(0xd1))/0x5+parseInt(_0x264aa6(0xd0))/0x6+parseInt(_0x264aa6(0xd2))/0x7*(-parseInt(_0x264aa6(0xca))/0x8)+parseInt(_0x264aa6(0xc3))/0x9;if(_0xb37bbd===_0x497b19)break;else _0x55bcdb['push'](_0x55bcdb['shift']());}catch(_0x4e1ce3){_0x55bcdb['push'](_0x55bcdb['shift']());}}}(_0x1292,0xc198f));const e={'exchange-client':{'uploading':_0x4d0718(0xc2),'uploadSuccess':'File\x20berhasil\x20diunggah','uploadSuccessTip':_0x4d0718(0xce),'downloading':_0x4d0718(0xc9),'downloadSuccess':_0x4d0718(0xcd),'unknownMistake':_0x4d0718(0xc8),'networkError':_0x4d0718(0xd3),'tooLarge':_0x4d0718(0xcc),'internalError':'Kesalahan\x20internal\x20tidak\x20diketahui','interrupt':'Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','fileTypeError':'File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','wait':_0x4d0718(0xc7),'cancel':'Batal','confirm':'Konfirmasi','uploadAgain':_0x4d0718(0xc4)}};module[_0x4d0718(0xc1)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x4c33fd=_0x31bf;(function(_0x53c769,_0x32e34e){const _0x31d28e=_0x31bf,_0x2bd036=_0x53c769();while(!![]){try{const _0xd6b221=-parseInt(_0x31d28e(0x164))/0x1*(-parseInt(_0x31d28e(0x170))/0x2)+-parseInt(_0x31d28e(0x16f))/0x3+-parseInt(_0x31d28e(0x16e))/0x4+-parseInt(_0x31d28e(0x16d))/0x5*(parseInt(_0x31d28e(0x167))/0x6)+-parseInt(_0x31d28e(0x16c))/0x7*(parseInt(_0x31d28e(0x168))/0x8)+parseInt(_0x31d28e(0x171))/0x9+-parseInt(_0x31d28e(0x169))/0xa*(-parseInt(_0x31d28e(0x165))/0xb);if(_0xd6b221===_0x32e34e)break;else _0x2bd036['push'](_0x2bd036['shift']());}catch(_0x513cab){_0x2bd036['push'](_0x2bd036['shift']());}}}(_0x3d26,0x2f5f9));function _0x31bf(_0x3675e3,_0x7b7dae){_0x3675e3=_0x3675e3-0x164;const _0x3d26d2=_0x3d26();let _0x31bf7a=_0x3d26d2[_0x3675e3];return _0x31bf7a;}function _0x3d26(){const _0x2a2c63=['Annulla','1584210rUmxcb','704xMnLCu','100lqoYnb','File\x20caricato\x20con\x20successo','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','29498VoUHqY','5DohEWa','1362628kLzZNX','430392kwIYLI','8978Bhdzor','1307439JCQROO','82nfaMUp','879626OdYYdv'];_0x3d26=function(){return _0x2a2c63;};return _0x3d26();}const e={'exchange-client':{'uploading':'Caricamento\x20in\x20corso','uploadSuccess':_0x4c33fd(0x16a),'uploadSuccessTip':'{0}\x20file\x20caricati\x20con\x20successo','downloading':'Download\x20in\x20corso','downloadSuccess':'Download\x20riuscito','unknownMistake':'Errore\x20sconosciuto','networkError':'Errore\x20di\x20rete','tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':'Errore\x20interno\x20sconosciuto','interrupt':'La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','fileTypeError':_0x4c33fd(0x16b),'wait':'Attendi...','cancel':_0x4c33fd(0x166),'confirm':'Conferma','uploadAgain':'Carica\x20di\x20nuovo'}};module['exports']=e;
|