@univerjs-pro/exchange-client 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4bb4(){const _0x48cac8=['FUniver','1233596ZljDLT','importXLSXToSnapshotAsync','importFileToUnitId','2345624zsoTAy','UNIVER_DOC','exportXLSXByUnitId','UniverType','importDOCXToUnitIdAsync','exportXLSXBySnapshot','UNIVER_SHEET','extend','exportDOCXBySnapshotAsync','37632640KfCwnK','exportDOCXByUnitIdAsync','importDOCXToSnapshotAsync','exportXLSXBySnapshotAsync','2pyGcTl','_injector','8685265lNYYhm','exportXLSXByUnitIdAsync','importXLSXToUnitIdAsync','exportDOCXByUnitId','get','importXLSXToSnapshot','4curIzq','The\x20exchange\x20service\x20is\x20not\x20available','2802381TyuweA','importXLSXToUnitId','8088318gLhfBh','exportDOCXBySnapshot','1264854BocxbS','9xvMRPN','importDOCXToSnapshot','IExchangeService'];_0x4bb4=function(){return _0x48cac8;};return _0x4bb4();}function _0x5e0b(_0x1f33c4,_0x5907b7){_0x1f33c4=_0x1f33c4-0x10e;const _0x4bb44d=_0x4bb4();let _0x5e0b16=_0x4bb44d[_0x1f33c4];return _0x5e0b16;}const _0x574e73=_0x5e0b;(function(_0x58e0d0,_0x3e73a5){const _0x57ab7e=_0x5e0b,_0x3e9dc3=_0x58e0d0();while(!![]){try{const _0x16ec31=-parseInt(_0x57ab7e(0x12c))/0x1+-parseInt(_0x57ab7e(0x119))/0x2*(parseInt(_0x57ab7e(0x123))/0x3)+parseInt(_0x57ab7e(0x121))/0x4*(-parseInt(_0x57ab7e(0x11b))/0x5)+parseInt(_0x57ab7e(0x127))/0x6+parseInt(_0x57ab7e(0x125))/0x7+parseInt(_0x57ab7e(0x12f))/0x8*(-parseInt(_0x57ab7e(0x128))/0x9)+parseInt(_0x57ab7e(0x115))/0xa;if(_0x16ec31===_0x3e73a5)break;else _0x3e9dc3['push'](_0x3e9dc3['shift']());}catch(_0x26dfa5){_0x3e9dc3['push'](_0x3e9dc3['shift']());}}}(_0x4bb4,0xe36f0));let e=require(`@univerjs-pro/exchange-client`),t=require(`@univerjs/core/facade`),n=require(`@univerjs/protocol`);var r=class extends t[_0x574e73(0x12b)]{async[_0x574e73(0x124)](_0x564d5e){const _0x3a9720=_0x574e73;return this[_0x3a9720(0x11d)](_0x564d5e);}async[_0x574e73(0x11d)](_0xdb8a2f){const _0x108b07=_0x574e73;let _0x78b3a5=this[_0x108b07(0x11a)][_0x108b07(0x11f)](e[_0x108b07(0x12a)]);if(!_0x78b3a5)throw Error(_0x108b07(0x122));return _0x78b3a5[_0x108b07(0x12e)](_0xdb8a2f,n[_0x108b07(0x10f)][_0x108b07(0x112)]);}async[_0x574e73(0x120)](_0x15ca5e){const _0x154e65=_0x574e73;return this[_0x154e65(0x12d)](_0x15ca5e);}async[_0x574e73(0x12d)](_0x44615c){const _0x3bca78=_0x574e73;let _0x575b81=this[_0x3bca78(0x11a)][_0x3bca78(0x11f)](e['IExchangeService']);if(!_0x575b81)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x575b81[_0x3bca78(0x120)](_0x44615c);}async[_0x574e73(0x10e)](_0x59da41){const _0x433689=_0x574e73;return this[_0x433689(0x11c)](_0x59da41);}async['exportXLSXByUnitIdAsync'](_0x18679e){const _0x6d59a3=_0x574e73;let _0x4de126=this[_0x6d59a3(0x11a)][_0x6d59a3(0x11f)](e[_0x6d59a3(0x12a)]);if(!_0x4de126)throw Error(_0x6d59a3(0x122));return _0x4de126[_0x6d59a3(0x10e)](_0x18679e);}async[_0x574e73(0x111)](_0xa13976){const _0xd7f125=_0x574e73;return this[_0xd7f125(0x118)](_0xa13976);}async[_0x574e73(0x118)](_0xbd4e86){const _0x225323=_0x574e73;let _0x32c503=this['_injector'][_0x225323(0x11f)](e[_0x225323(0x12a)]);if(!_0x32c503)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x32c503['exportXLSXBySnapshot'](_0xbd4e86);}async['importDOCXToUnitId'](_0x430aa9){const _0x3af950=_0x574e73;return this[_0x3af950(0x110)](_0x430aa9);}async[_0x574e73(0x110)](_0x1173e7){const _0x30d444=_0x574e73;let _0x37d04a=this[_0x30d444(0x11a)]['get'](e[_0x30d444(0x12a)]);if(!_0x37d04a)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x37d04a['importFileToUnitId'](_0x1173e7,n['UniverType'][_0x30d444(0x130)]);}async[_0x574e73(0x129)](_0x154291){const _0x28a370=_0x574e73;return this[_0x28a370(0x117)](_0x154291);}async[_0x574e73(0x117)](_0x1222ae){const _0x3ffdab=_0x574e73;let _0x3152e5=this[_0x3ffdab(0x11a)][_0x3ffdab(0x11f)](e[_0x3ffdab(0x12a)]);if(!_0x3152e5)throw Error(_0x3ffdab(0x122));return _0x3152e5[_0x3ffdab(0x129)](_0x1222ae);}async[_0x574e73(0x114)](_0x2ee454){const _0x17584b=_0x574e73;let _0x440584=this[_0x17584b(0x11a)][_0x17584b(0x11f)](e['IExchangeService']);if(!_0x440584)throw Error('The\x20exchange\x20service\x20is\x20not\x20available');return _0x440584[_0x17584b(0x126)](_0x2ee454);}async[_0x574e73(0x116)](_0x54c4d1){const _0x359275=_0x574e73;let _0x3507ea=this[_0x359275(0x11a)][_0x359275(0x11f)](e[_0x359275(0x12a)]);if(!_0x3507ea)throw Error(_0x359275(0x122));return _0x3507ea[_0x359275(0x11e)](_0x54c4d1);}};t[_0x574e73(0x12b)][_0x574e73(0x113)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x156c5f=_0x27ac;(function(_0x5968aa,_0x2676f0){const _0x4f8292=_0x27ac,_0x5d8b91=_0x5968aa();while(!![]){try{const _0x16b292=-parseInt(_0x4f8292(0x2c0))/0x1+-parseInt(_0x4f8292(0x229))/0x2*(-parseInt(_0x4f8292(0x205))/0x3)+parseInt(_0x4f8292(0x26f))/0x4+-parseInt(_0x4f8292(0x353))/0x5+-parseInt(_0x4f8292(0x34b))/0x6*(-parseInt(_0x4f8292(0x22f))/0x7)+-parseInt(_0x4f8292(0x294))/0x8*(-parseInt(_0x4f8292(0x307))/0x9)+-parseInt(_0x4f8292(0x215))/0xa;if(_0x16b292===_0x2676f0)break;else _0x5d8b91['push'](_0x5d8b91['shift']());}catch(_0x592dac){_0x5d8b91['push'](_0x5d8b91['shift']());}}}(_0x6c5e,0xeffdd),Object['defineProperty'](exports,Symbol[_0x156c5f(0x2c4)],{'value':_0x156c5f(0x2c7)}));var e=Object['create'],t=Object[_0x156c5f(0x366)],n=Object[_0x156c5f(0x310)],r=Object[_0x156c5f(0x26d)],i=Object[_0x156c5f(0x358)],a=Object[_0x156c5f(0x360)]['hasOwnProperty'],o=(_0x1655b3,_0x55fd02,_0x48df56,_0x36ea73)=>{const _0x511ae4=_0x156c5f;if(_0x55fd02&&typeof _0x55fd02==_0x511ae4(0x338)||typeof _0x55fd02==_0x511ae4(0x373)){for(var _0x3464b3=r(_0x55fd02),_0x2d5fab=0x0,_0x33cefd=_0x3464b3['length'],_0x32472b;_0x2d5fab<_0x33cefd;_0x2d5fab++)_0x32472b=_0x3464b3[_0x2d5fab],!a['call'](_0x1655b3,_0x32472b)&&_0x32472b!==_0x48df56&&t(_0x1655b3,_0x32472b,{'get':(_0x31c421=>_0x55fd02[_0x31c421])[_0x511ae4(0x2ed)](null,_0x32472b),'enumerable':!(_0x36ea73=n(_0x55fd02,_0x32472b))||_0x36ea73[_0x511ae4(0x318)]});}return _0x1655b3;},s=(_0x4666c6,_0x528300,_0x39cd10)=>(_0x39cd10=_0x4666c6==null?{}:e(i(_0x4666c6)),o(_0x528300||!_0x4666c6||!_0x4666c6['__esModule']?t(_0x39cd10,_0x156c5f(0x1e9),{'value':_0x4666c6,'enumerable':!0x0}):_0x39cd10,_0x4666c6));let c=require(`@univerjs-pro/license`),l=require(`@univerjs/core`),u=require(`@univerjs/network`),d=require(`@univerjs/ui`),f=require(`@univerjs/icons`),p=require(`react`),m=require(`rxjs`),h=require(`@univerjs/design`),g=require(`react/jsx-runtime`),_=require(`@univerjs/protocol`),v=require(`@univerjs-pro/collaboration`),y=require(`pako`);y=s(y);const b=_0x156c5f(0x26e);Symbol(b);const x={};var ee=_0x156c5f(0x327),te=_0x156c5f(0x309);function S(_0xfd5547){'@babel/helpers - typeof';const _0x238928=_0x156c5f;return S=typeof Symbol==_0x238928(0x373)&&typeof Symbol[_0x238928(0x28f)]==_0x238928(0x2ca)?function(_0x50ad14){return typeof _0x50ad14;}:function(_0x291889){const _0x2b0601=_0x238928;return _0x291889&&typeof Symbol==_0x2b0601(0x373)&&_0x291889[_0x2b0601(0x329)]===Symbol&&_0x291889!==Symbol[_0x2b0601(0x360)]?_0x2b0601(0x2ca):typeof _0x291889;},S(_0xfd5547);}function ne(_0x5e0e16,_0x2b2a63){const _0x208119=_0x156c5f;if(S(_0x5e0e16)!='object'||!_0x5e0e16)return _0x5e0e16;var _0x1406d7=_0x5e0e16[Symbol['toPrimitive']];if(_0x1406d7!==void 0x0){var _0x4fb21c=_0x1406d7[_0x208119(0x331)](_0x5e0e16,_0x2b2a63||_0x208119(0x1e9));if(S(_0x4fb21c)!=_0x208119(0x338))return _0x4fb21c;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x2b2a63===_0x208119(0x29a)?String:Number)(_0x5e0e16);}function re(_0x5264b3){const _0x1705a8=_0x156c5f;var _0x51c097=ne(_0x5264b3,_0x1705a8(0x29a));return S(_0x51c097)==_0x1705a8(0x2ca)?_0x51c097:_0x51c097+'';}function C(_0x3dbe86,_0x40f582,_0x6f2d4d){const _0x36e614=_0x156c5f;return(_0x40f582=re(_0x40f582))in _0x3dbe86?Object[_0x36e614(0x366)](_0x3dbe86,_0x40f582,{'value':_0x6f2d4d,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x3dbe86[_0x40f582]=_0x6f2d4d,_0x3dbe86;}let w=function(_0x44f0ed){const _0x483aae=_0x156c5f;return _0x44f0ed[_0x44f0ed[_0x483aae(0x2fe)]=0x0]='UPLOADING',_0x44f0ed[_0x44f0ed[_0x483aae(0x1ee)]=0x1]=_0x483aae(0x1ee),_0x44f0ed[_0x44f0ed[_0x483aae(0x1ff)]=0x2]='ERROR',_0x44f0ed;}({});const T=(0x0,l[_0x156c5f(0x2c6)])(_0x156c5f(0x2e7));var ie=class extends l[_0x156c5f(0x316)]{constructor(){const _0x363697=_0x156c5f;super(),C(this,_0x363697(0x2a2),new m[(_0x363697(0x2cb))]()),C(this,_0x363697(0x305),new m[(_0x363697(0x2cb))]()),C(this,_0x363697(0x20b),new m['Subject']()),C(this,_0x363697(0x235),this[_0x363697(0x2a2)][_0x363697(0x33f)]()),C(this,_0x363697(0x2be),this['_state$'][_0x363697(0x33f)]()),C(this,_0x363697(0x217),this[_0x363697(0x20b)][_0x363697(0x33f)]()),C(this,_0x363697(0x30c),[]);}['dispose'](){const _0x2d9007=_0x156c5f;super[_0x2d9007(0x1eb)](),this[_0x2d9007(0x2a2)][_0x2d9007(0x2aa)](),this['_state$']['complete'](),this['_list$'][_0x2d9007(0x2aa)]();}[_0x156c5f(0x21a)](){const _0x1593b3=_0x156c5f;this[_0x1593b3(0x2a2)][_0x1593b3(0x241)](!0x0);}[_0x156c5f(0x240)](){const _0x2b8880=_0x156c5f;this[_0x2b8880(0x2a2)][_0x2b8880(0x241)](!0x1);}[_0x156c5f(0x24d)](_0x2a554d){const _0x225d7d=_0x156c5f;this[_0x225d7d(0x305)]['next'](_0x2a554d);}[_0x156c5f(0x349)](_0x30a48b){const _0xd012ee=_0x156c5f;this[_0xd012ee(0x30c)][_0xd012ee(0x2fc)](_0x30a48b),this[_0xd012ee(0x20b)]['next'](this[_0xd012ee(0x30c)]);}};function ae(_0x2ebb17){const _0x19bafd=_0x156c5f;let {list:_0xd18f70}=_0x2ebb17;function _0x1a2abf(_0x15dc6e){const _0x51894b=_0x27ac;switch(_0x15dc6e){case 0x1:return(0x0,g['jsx'])(f[_0x51894b(0x2cc)],{});case 0x2:return(0x0,g[_0x51894b(0x238)])(f[_0x51894b(0x275)],{});case 0x3:return(0x0,g[_0x51894b(0x238)])(f[_0x51894b(0x287)],{});default:return null;}}return(0x0,g[_0x19bafd(0x238)])('div',{'className':(0x0,h['clsx'])(_0x19bafd(0x319),h[_0x19bafd(0x276)]),'children':(0x0,g[_0x19bafd(0x238)])('ul',{'className':_0x19bafd(0x306),'children':_0xd18f70[_0x19bafd(0x2ef)]((_0x4035b8,_0x1ddd73)=>(0x0,g['jsx'])('li',{'children':(0x0,g[_0x19bafd(0x35c)])('a',{'className':_0x19bafd(0x270),'href':_0x4035b8[_0x19bafd(0x2c2)],'target':_0x19bafd(0x1f3),'rel':'noreferrer','children':[(0x0,g[_0x19bafd(0x35c)])(_0x19bafd(0x23e),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,g['jsx'])(_0x19bafd(0x23e),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x1a2abf(_0x4035b8['type'])}),(0x0,g['jsx'])(h[_0x19bafd(0x30b)],{'showIfEllipsis':!0x0,'title':_0x4035b8[_0x19bafd(0x326)],'asChild':!0x0,'children':(0x0,g[_0x19bafd(0x238)])(_0x19bafd(0x23e),{'className':_0x19bafd(0x21d),'children':_0x4035b8[_0x19bafd(0x326)]})})]}),(0x0,g[_0x19bafd(0x238)])(_0x19bafd(0x23e),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':(0x0,g[_0x19bafd(0x238)])(f[_0x19bafd(0x281)],{})})]})},_0x1ddd73))})});}const E=_0x156c5f(0x24c),D=_0x156c5f(0x244),O=_0x156c5f(0x2d6),k=_0x156c5f(0x299),A='application/vnd.openxmlformats-officedocument.presentationml.presentation',j={[_[_0x156c5f(0x2a7)][_0x156c5f(0x266)]]:[''],[_['UniverType']['UNIVER_DOC']]:[E],[_[_0x156c5f(0x2a7)][_0x156c5f(0x2cf)]]:[D,O,k],[_[_0x156c5f(0x2a7)][_0x156c5f(0x2ea)]]:[A],[_[_0x156c5f(0x2a7)][_0x156c5f(0x267)]]:[''],[_[_0x156c5f(0x2a7)]['UNRECOGNIZED']]:['']},M={[E]:_0x156c5f(0x258),[D]:_0x156c5f(0x256),[O]:_0x156c5f(0x224),[k]:_0x156c5f(0x222),[A]:_0x156c5f(0x1ed)};function oe(_0x38fb5d,_0x540c38,_0x2b7f63){const _0x4a7999=_0x156c5f;let _0x32bf44=document[_0x4a7999(0x320)]('a');_0x32bf44['href']=_0x38fb5d,_0x32bf44[_0x4a7999(0x36b)][_0x4a7999(0x36c)]=_0x4a7999(0x2c5),_0x32bf44[_0x4a7999(0x1ef)]=_0x540c38+'.'+_0x2b7f63,document['body']['appendChild'](_0x32bf44),_0x32bf44[_0x4a7999(0x1e4)](),document[_0x4a7999(0x321)][_0x4a7999(0x2a6)](_0x32bf44);}function N(_0x4e3671,_0x11ba8f,_0x51c8e8){const _0x529179=_0x156c5f;let _0x15c3fa=URL[_0x529179(0x322)](_0x4e3671);oe(_0x15c3fa,_0x11ba8f,_0x51c8e8),URL[_0x529179(0x333)](_0x15c3fa);}function P(_0x3bcc72){const _0x10a907=_0x156c5f;let _0x3c355e=_0x3bcc72[_0x10a907(0x326)][_0x10a907(0x1dd)]('.')['pop']();if(!_0x3c355e)return _[_0x10a907(0x2a7)][_0x10a907(0x266)];let _0xece15f=se(),_0x15c502=_[_0x10a907(0x2a7)][_0x10a907(0x266)];return _0xece15f['some'](_0x28cc7f=>ce(_0x3c355e,_0x28cc7f)?(_0x15c502=_0x28cc7f,!0x0):!0x1),_0x15c502;}function se(){const _0x54a649=_0x156c5f;return Object[_0x54a649(0x2fa)](_[_0x54a649(0x2a7)])[_0x54a649(0x304)](_0xecf39c=>typeof _0xecf39c==_0x54a649(0x20d));}function ce(_0x499442,_0x1fe8e1){const _0x147fca=_0x156c5f;return j[_0x1fe8e1]['map'](_0x37775d=>(M[_0x37775d]||'')[_0x147fca(0x25e)]())[_0x147fca(0x2b3)](_0x499442['toLowerCase']());}function F(_0x2e2130,_0x3d3d07=!0x1){const _0x1ffc17=_0x156c5f;let _0x557953=_0x2e2130[_0x1ffc17(0x2ef)](_0x54e264=>j[_0x54e264])[_0x1ffc17(0x2d9)](',');return new Promise((_0x4e405d,_0x371781)=>{const _0x5a172a=_0x1ffc17;let _0x507eae=document[_0x5a172a(0x320)](_0x5a172a(0x21b));_0x507eae[_0x5a172a(0x2ba)]=_0x5a172a(0x336),_0x507eae[_0x5a172a(0x24b)]=_0x557953,_0x507eae[_0x5a172a(0x234)]=_0x3d3d07,_0x507eae['addEventListener'](_0x5a172a(0x2e8),_0x33981f=>{const _0xdb43c=_0x5a172a;let _0x4a7157=_0x33981f[_0xdb43c(0x243)];if(!_0x4a7157[_0xdb43c(0x30e)]||_0x4a7157[_0xdb43c(0x30e)][_0xdb43c(0x2e0)]===0x0)throw _0x371781(null),Error('No\x20file\x20selected');_0x4e405d(_0x4a7157[_0xdb43c(0x30e)]);}),_0x507eae[_0x5a172a(0x1e4)]();});}async function I(_0x60b038,_0x4063bf){const _0x19091a=_0x156c5f;try{var _0x4b7571,_0x1b6315,_0x20f00b;let _0x2176b1=await _0x4063bf[_0x19091a(0x32a)](_0x60b038,{'responseType':'blob'}),_0x57eff5=_0x2176b1['body'],_0x4aa463=(_0x4b7571=(_0x1b6315=_0x2176b1[_0x19091a(0x2fb)][_0x19091a(0x32a)](_0x19091a(0x33d)))==null?void 0x0:_0x1b6315[_0x19091a(0x2d9)](',\x20'))==null?_0x19091a(0x29d):_0x4b7571,_0x4a579c=_0x19091a(0x31d)+(M[_0x4aa463]||_0x19091a(0x256)),_0x3ab1f8=(_0x20f00b=_0x2176b1[_0x19091a(0x2fb)][_0x19091a(0x32a)]('content-disposition'))==null?void 0x0:_0x20f00b[_0x19091a(0x2d9)](',\x20');if(_0x3ab1f8){let _0x70d12b=_0x3ab1f8['match'](/filename=(.+)/);_0x70d12b&&_0x70d12b[0x1]&&(_0x4a579c=_0x70d12b[0x1]);}else _0x4a579c=le(_0x60b038)||_0x4a579c;return new File([_0x57eff5],_0x4a579c,{'type':_0x4aa463});}catch(_0x544821){console['error'](_0x19091a(0x33e),_0x544821);return;}}function _0x6c5e(){const _0x5170e3=['.json','UNIVER_UNKNOWN','UNIVER_PROJECT','_emitProgress','IMPORT','min','Failed\x20to\x20get\x20fileID\x20from\x20task','saveChangeset','getOwnPropertyNames','exchange-client.config','2021360VajdFD','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-outline-none\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:hover:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY','doc','_getUnitName','interrupt','XlsxMultiIcon','scrollbarClassName','LocaleService','exchange.unknownMistake','registerComponent','signUrlServerUrl','_importTaskId','_exportBySnapshot','univer-mt-5\x20univer-flex\x20univer-flex-col','CloseIcon','_importFileToUnitId','_httpService','ShareRangeIcon','_getIgnoreTableExport','getCurrentUnitOfType','GET_FILE','sheetBlocks','_completeProgress','SlideMultiIcon','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','div','_showDownloadMessage','exchange.tooLarge','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','Inject','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-primary-50\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','iterator','disableCellImageConversion','forEach','ignoreTableExport','getUnitOnRev','48UOVUmX','\x20-\x20','_addTotalCount','MessageType','_extractErrorDetail','application/vnd.openxmlformats-officedocument.spreadsheetml.template','string','isArray','textDecoder','application/octet-stream','options','exportDOCXByUnitId','exportServerUrl','_getUnitIDDoc','_visible$','SIGN_URL','getUploadFile','_messageService','removeChild','UniverType','outputType','univer-pro.exchange-client.exchange.service','complete','setConfig','pathname','univer-flex','size','export\x20error','useDependency','block\x20is\x20required','transformSnapshotToDocumentData','includes','_importToSnapshot','title','downloadFile','JSON','_showNetworkError','useEffect','type','_getDisableCellImageConversion','importDOCXToUnitId','Injector','state$','_fileTypeError','1276959kvpWcb','getSnapshot','link','transformDocumentDataToSnapshotJson','toStringTag','none','createIdentifier','Module','exchange.uploadAgain','ExchangeService','symbol','Subject','DocMultiIcon','getTaskServerUrl','code','UNIVER_SHEET','transformSnapshotToWorkbookData','getSheetBlocksFromSnapshot','_buildProtocolErrorMessage','decorate','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','disposeWithMe','application/vnd.ms-excel.sheet.macroEnabled.12','&flate=','unit','join','UNDEFINED','?size=','minSheetColumnCount','UNIVER_DOC','disposeUnit','Success','length','_refresh','getConfig','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','_doneUploadTaskCount','buffer','Error\x20getting\x20file\x20name\x20from\x20URL:','univer-pro.exchange-client.upload-notification.service','change','univer-text-red-500','UNIVER_SLIDE','progress$','_getUnitID','bind','_export','map','Failed\x20to\x20transform\x20snapshot\x20to\x20string','CONNECTOR_DATA_TOO_LARGE','unitID','exportXLSXByUnitId','getTextFromUrl','ErrorCode','Error','exchange.downloading','touchDependencies','_getMinSheetRowCount','values','headers','unshift','button','UPLOADING','_getUploadFileURL','_requestState$','minSheetRowCount','pluginName','pending','filter','_state$','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','1773324NaaqaG','registerDependencies','0.18.0','CONTENT','Tooltip','_list','IUploadNotificationService','files','signUrl','getOwnPropertyDescriptor','stringify','origin','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','connectInjector','exportXLSXBySnapshot','Disposable','EXPORT','enumerable','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','statusText','_getUnitDocJson','file.','UploadNotificationContainer','_getSignURL','createElement','body','createObjectURL','_totalUploadTaskCount','_registerComponents','_getMaxPollingTime','name','@univerjs-pro/exchange-client','_configService','constructor','get','requestState$','toString','{type}','exchange.internalError','sign\x20url\x20error','IMessageService','call','_injector','revokeObjectURL','&source=','set','file','clear','object',':\x20HTTP\x20','useState','IRequestService','UNIT','Content-Type','Error\x20fetching\x20file\x20from\x20URL:','asObservable','copyFileMeta','_getUnitJson','Get\x20outputType\x20error','_getEnableServerSideComputing','upload','keys','univer-pro.exchange-client.request.service','blockID','UniverNetworkPlugin','pushLink','message','46308nfwRZu','append','shift','univer-text-blue-500','file.json','/universer-api/exchange/{type}/export','importDOCXToSnapshot','add','4562585ZwfziF','exchange.downloadSuccess','transformSnapshotJsonToWorkbookData','maxTimeoutTime','resolveWithBasePath','getPrototypeOf','IUniverInstanceService','clearTaskInterrupted','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-transition-colors\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20hover:univer-bg-gray-200\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-bg-gray-600\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','jsxs','originalMeta','HTTPService','trim','prototype','Method\x20not\x20implemented.','import','_taskInterrupted','GET_JSON','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','defineProperty','_requestService','uploadFileToUnitId','importFileToUnitId','snapshot','style','display','_univerInstanceService','importXLSXToSnapshot','parse','_addDoneTask','Failed\x20to\x20get\x20text\x20from\x20url','replace','function','Info','data','exchange.uploadSuccess','fetchMissingChangesets','rev','subscribe','UNRECOGNIZED','searchParams','status','deflateRaw','split','DependentOn','_getTaskURL','FileSource','success','onStarting','_localeService','click','_uploadNotificationService','_logService','sheets','Failed\x20to\x20parse\x20json','default','ILogService','dispose','downloadEndpointUrl','pptx','SUCCESS','download','importWorkbookDataToUnitId','unsubscribe','pop','_blank','workbook.json','transformWorkbookDataToSnapshot','exchange.uploadSuccessTip','RequestService','_exchangeService','_signUrl','_getMinSheetColumnCount','Plugin','_showUploadMessage','getSheetBlock','_getLinkByUnitId','ERROR','{taskID}','FileId','_uploadTaskNotDone','exchange.wait','_progress$','387qqPRGT','workbook','HttpImport','catch','error','taskID','_list$','post','number','_config','b64EncodeUnicode','GET_TASK','getUniverTypeByFile','toDisposable','IExchangeService','IUIPartsService','13896880SwnbGw','importXLSXToUnitId','list$','ClockIcon','_getImportURL','show','input','IExchangeOperateService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20dark:!univer-text-white\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','getTask','interruptImportTask','/universer-api/exchange/task/{taskID}','done','xltx','upload\x20request\x20failed','xlsm','decode','exchange.cancel','exchange.uploading','_upload','18482jHXojS','transformWorkbookDataToSnapshotJson','_getExportURL','transformSnapshotJsonToDocumentData','saveSheetBlock','getResourcesRequest','1526zFJhjY','exchange.networkError','INTERNAL_ERROR','BuiltInUIPart','uploadFileServerUrl','multiple','visible$','upload\x20failed:\x20FileId\x20is\x20empty','onReady','jsx','_getDownloadEndpointURL','UniverInstanceType','getUnitId','has','text','span','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','hide','next','location','currentTarget','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','univer-pro.exchange-client.operate.service','UniverLicensePlugin','_sheetBlockCache','resolve','setTaskInterrupted','_import','accept','application/vnd.openxmlformats-officedocument.wordprocessingml.document','updateState','BehaviorSubject','_clearProgress','_uiPartsService','exchange.fileTypeError','export','HTTPResponseError','UPLOAD','ErrorIcon','xlsx','fileID','docx','/universer-api/exchange/{type}/import','application/json','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','jsonID','merge','toLowerCase','/universer-api/stream/file/upload','Warning','UNIVER_EXCHANGE_CLIENT_PLUGIN','enableServerSideComputing','exportDOCXBySnapshot','IConfigService'];_0x6c5e=function(){return _0x5170e3;};return _0x6c5e();}function le(_0x3d537d){const _0x13f162=_0x156c5f;try{return new URL(_0x3d537d)[_0x13f162(0x2ac)]['split']('/')[_0x13f162(0x1f2)]();}catch(_0x327014){console[_0x13f162(0x209)](_0x13f162(0x2e6),_0x327014);return;}}function ue(_0x4fe8b0){const _0xf6866e=_0x156c5f;let _0x5159da=new Blob([_0x4fe8b0[_0xf6866e(0x2e5)]],{'type':_0xf6866e(0x25a)});return new File([_0x5159da],_0xf6866e(0x34f));}function L(_0x46faf4,_0x54c521){const _0x954042=_0x156c5f;return _0x46faf4[_0x954042(0x372)](_0x954042(0x32d),_0x54c521);}function de(_0x3014b2,_0x479df2){const _0xc7c559=_0x156c5f;return _0x3014b2[_0xc7c559(0x372)](_0xc7c559(0x200),_0x479df2);}function fe(_0x208023,_0x2a2e52){const _0x409c25=_0x156c5f;return _0x208023[_0x409c25(0x372)]('{fileID}',_0x2a2e52);}function R(_0x410606,_0x47c74b){return function(_0x1f84c0,_0x4e84e9){_0x47c74b(_0x1f84c0,_0x4e84e9,_0x410606);};}function z(_0x4c0340,_0x1a048f,_0x4f2012,_0x5dd0cf){const _0x269ef7=_0x156c5f;var _0x2404f7=arguments[_0x269ef7(0x2e0)],_0x5ba03a=_0x2404f7<0x3?_0x1a048f:_0x5dd0cf===null?_0x5dd0cf=Object[_0x269ef7(0x310)](_0x1a048f,_0x4f2012):_0x5dd0cf,_0xc32b7c;if(typeof Reflect==_0x269ef7(0x338)&&typeof Reflect[_0x269ef7(0x2d3)]=='function')_0x5ba03a=Reflect[_0x269ef7(0x2d3)](_0x4c0340,_0x1a048f,_0x4f2012,_0x5dd0cf);else{for(var _0x320d99=_0x4c0340[_0x269ef7(0x2e0)]-0x1;_0x320d99>=0x0;_0x320d99--)(_0xc32b7c=_0x4c0340[_0x320d99])&&(_0x5ba03a=(_0x2404f7<0x3?_0xc32b7c(_0x5ba03a):_0x2404f7>0x3?_0xc32b7c(_0x1a048f,_0x4f2012,_0x5ba03a):_0xc32b7c(_0x1a048f,_0x4f2012))||_0x5ba03a);}return _0x2404f7>0x3&&_0x5ba03a&&Object[_0x269ef7(0x366)](_0x1a048f,_0x4f2012,_0x5ba03a),_0x5ba03a;}let B=function(_0x3ef22a){const _0x4ffb52=_0x156c5f;return _0x3ef22a[_0x3ef22a['UNDEFINED']=0x0]=_0x4ffb52(0x2da),_0x3ef22a[_0x3ef22a['UNIT']=0x1]=_0x4ffb52(0x33c),_0x3ef22a[_0x3ef22a[_0x4ffb52(0x2b7)]=0x2]=_0x4ffb52(0x2b7),_0x3ef22a[_0x3ef22a['UNRECOGNIZED']=-0x1]=_0x4ffb52(0x37a),_0x3ef22a;}({});const V=(0x0,l['createIdentifier'])(_0x156c5f(0x346));let H=class{constructor(_0x275528,_0x106237){const _0x88eed5=_0x156c5f;this['_configService']=_0x275528,this[_0x88eed5(0x280)]=_0x106237,C(this,'_taskInterrupted',new Set());}[_0x156c5f(0x1eb)](){}['setTaskInterrupted'](_0x2aca60){const _0x5ea920=_0x156c5f;this[_0x5ea920(0x363)][_0x5ea920(0x352)](_0x2aca60);}['clearTaskInterrupted'](){const _0x45fb2d=_0x156c5f;this[_0x45fb2d(0x363)][_0x45fb2d(0x337)]();}async[_0x156c5f(0x344)](_0x385005,_0x5839e4=0x0,_0x434f35=!0x1){const _0x33f2fd=_0x156c5f;if(typeof _0x385005==_0x33f2fd(0x29a)){let _0x162a51=await I(_0x385005,this[_0x33f2fd(0x280)]);if(!_0x162a51)throw Error(_0x33f2fd(0x25b));_0x385005=_0x162a51;}_0x5839e4=_0x5839e4||_0x385005[_0x33f2fd(0x2ae)];let _0xf8ffff=new FormData();_0xf8ffff[_0x33f2fd(0x34c)]('file',_0x385005);try{let _0x53d65c=this['_getUploadFileURL']()+_0x33f2fd(0x2db)+_0x5839e4+_0x33f2fd(0x334)+_[_0x33f2fd(0x1e0)][_0x33f2fd(0x207)]+_0x33f2fd(0x2d7)+_0x434f35,_0x1473d9={'body':_0xf8ffff},_0x1a23b6=(await this[_0x33f2fd(0x280)][_0x33f2fd(0x20c)](_0x53d65c,_0x1473d9))['body'];if(_0x1a23b6[_0x33f2fd(0x209)]&&_0x1a23b6['error']['code']!==_[_0x33f2fd(0x2f5)]['OK'])throw Error(this[_0x33f2fd(0x2d2)](_0x33f2fd(0x223),_0x1a23b6['error']));return _0x1a23b6;}catch(_0x3e0ec7){throw _0x3e0ec7 instanceof Error?_0x3e0ec7:Error(this['_buildHttpErrorMessage'](_0x33f2fd(0x223),_0x3e0ec7));}}async[_0x156c5f(0x362)](_0x137d5a){const _0x5001c9=_0x156c5f;let {fileID:_0x315aa2,type:_0xc6664f,outputType:_0x129785,minSheetColumnCount:_0x63bac5,minSheetRowCount:_0x26d51d}=_0x137d5a;try{let _0x1acd1b=L(this[_0x5001c9(0x219)](),''+_0xc6664f),_0xa5e181={'body':{'fileID':_0x315aa2,'outputType':_0x129785,'minSheetColumnCount':_0x63bac5,'minSheetRowCount':_0x26d51d}},_0x42d0fe=(await this['_httpService']['post'](_0x1acd1b,_0xa5e181))[_0x5001c9(0x321)];return _0x42d0fe['error']&&_0x42d0fe[_0x5001c9(0x209)][_0x5001c9(0x2ce)]!==_['ErrorCode']['OK']?void 0x0:_0x42d0fe;}catch{return;}}async[_0x156c5f(0x252)](_0x54b844){const _0x2d24be=_0x156c5f;let {unitID:_0x530263,jsonID:_0x363676,type:_0x177e3e,sscSwitch:_0x1c722e,useImageUrl:_0x479e0c,ignoreTableExport:_0x5ea924}=_0x54b844;try{let _0x3b29ae=L(this[_0x2d24be(0x22b)](),''+_0x177e3e),_0x6ce8ee={'body':{'unitID':_0x530263,'jsonID':_0x363676,'type':_0x177e3e,'sscSwitch':_0x1c722e,'useImageUrl':_0x479e0c,'ignoreTableExport':_0x5ea924}},_0x389e21=(await this[_0x2d24be(0x280)]['post'](_0x3b29ae,_0x6ce8ee))[_0x2d24be(0x321)];return _0x389e21[_0x2d24be(0x209)]&&_0x389e21[_0x2d24be(0x209)][_0x2d24be(0x2ce)]!==_[_0x2d24be(0x2f5)]['OK']?void 0x0:_0x389e21;}catch{return;}}async[_0x156c5f(0x21e)](_0x4bd8c8){return new Promise((_0x17cebe,_0x429a3a)=>{const _0x3d5f01=_0x27ac;try{let _0x3bb803=0x0,_0x22a6cf=de(this[_0x3d5f01(0x1df)](),''+_0x4bd8c8),_0x24e5a3=this[_0x3d5f01(0x325)](),_0x2f2742=async()=>{const _0x55256a=_0x3d5f01;if(this['_taskInterrupted'][_0x55256a(0x23c)](_0x4bd8c8))return;let _0x2a7e7d=(await this[_0x55256a(0x280)]['get'](_0x22a6cf))[_0x55256a(0x321)];if(_0x2a7e7d[_0x55256a(0x209)]&&_0x2a7e7d[_0x55256a(0x209)][_0x55256a(0x2ce)]===_['ErrorCode']['OK']){if(_0x2a7e7d[_0x55256a(0x37c)]===_0x55256a(0x221))_0x17cebe(_0x2a7e7d);else{if(_0x2a7e7d[_0x55256a(0x37c)]===_0x55256a(0x303)){let _0x1dca3e=0x3e8;if(_0x3bb803>=_0x24e5a3){_0x429a3a(_0x2a7e7d);return;}else _0x3bb803>=0x7530&&(_0x1dca3e=0x1388);_0x3bb803+=_0x1dca3e,setTimeout(_0x2f2742,_0x1dca3e);}else _0x429a3a(_0x2a7e7d);}}else _0x429a3a(_0x2a7e7d);};_0x2f2742();}catch(_0x231e99){_0x429a3a(_0x231e99 instanceof Error?_0x231e99:Error(String(_0x231e99)));}});}async['signUrl'](_0x2ea4dd){const _0x5c9f61=_0x156c5f;try{let _0x5dabf3=fe(this[_0x5c9f61(0x31f)](),''+_0x2ea4dd);return(await this[_0x5c9f61(0x280)]['get'](_0x5dabf3))['body'];}catch{return;}}async['getTextFromUrl'](_0x283eb4){const _0x35d2e1=_0x156c5f;try{return(await this[_0x35d2e1(0x280)][_0x35d2e1(0x32a)](_0x283eb4,{'responseType':_0x35d2e1(0x23d)}))[_0x35d2e1(0x321)];}catch{return;}}[_0x156c5f(0x2d2)](_0x3fcc90,_0x28f660){const _0x13a2d0=_0x156c5f;let _0xda148a=this[_0x13a2d0(0x298)](_0x28f660);return _0xda148a?_0x3fcc90+':\x20'+_0xda148a:_0x3fcc90;}['_buildHttpErrorMessage'](_0x481aad,_0x3969ea){const _0x514054=_0x156c5f;if(_0x3969ea instanceof u[_0x514054(0x253)]){let _0x9e2252=typeof _0x3969ea[_0x514054(0x37c)]=='number'?''+_0x3969ea[_0x514054(0x37c)]+(_0x3969ea[_0x514054(0x31b)]?'\x20'+_0x3969ea['statusText']:''):void 0x0,_0x595ea1=this[_0x514054(0x298)](_0x3969ea[_0x514054(0x209)]);return _0x9e2252&&_0x595ea1?_0x481aad+_0x514054(0x339)+_0x9e2252+_0x514054(0x295)+_0x595ea1:_0x9e2252?_0x481aad+':\x20HTTP\x20'+_0x9e2252:_0x595ea1?_0x481aad+':\x20'+_0x595ea1:_0x481aad;}let _0x3469c0=this['_extractErrorDetail'](_0x3969ea);return _0x3469c0?_0x481aad+':\x20'+_0x3469c0:_0x481aad;}['_extractErrorDetail'](_0x32df25){const _0x322a37=_0x156c5f;if(typeof _0x32df25==_0x322a37(0x29a)){let _0x1631d0=_0x32df25[_0x322a37(0x35f)]();return _0x1631d0[_0x322a37(0x2e0)]>0x0?_0x1631d0:void 0x0;}if(_0x32df25 instanceof Error)return this[_0x322a37(0x298)](_0x32df25[_0x322a37(0x34a)]);if(!_0x32df25||typeof _0x32df25!=_0x322a37(0x338)||Array[_0x322a37(0x29b)](_0x32df25))return;let _0x40c15b=_0x32df25,_0x1fa4c2=this[_0x322a37(0x298)](_0x40c15b[_0x322a37(0x34a)]);if(_0x1fa4c2)return _0x1fa4c2;if(_0x40c15b['error']&&typeof _0x40c15b[_0x322a37(0x209)]==_0x322a37(0x338)&&!Array[_0x322a37(0x29b)](_0x40c15b['error'])){let _0x5a1431=this[_0x322a37(0x298)](_0x40c15b[_0x322a37(0x209)]);if(_0x5a1431)return _0x5a1431;}}[_0x156c5f(0x2ff)](){const _0x19e407=_0x156c5f;var _0x39466d;let _0x15aadf=this['_configService'][_0x19e407(0x2e2)](b);return(_0x39466d=_0x15aadf==null?void 0x0:_0x15aadf[_0x19e407(0x233)])==null?_0x19e407(0x25f):_0x39466d;}[_0x156c5f(0x219)](){const _0x8c5cb8=_0x156c5f;var _0x55648f;let _0x4e81b1=this[_0x8c5cb8(0x328)][_0x8c5cb8(0x2e2)](b);return(_0x55648f=_0x4e81b1==null?void 0x0:_0x4e81b1['importServerUrl'])==null?_0x8c5cb8(0x259):_0x55648f;}[_0x156c5f(0x22b)](){const _0xb151ba=_0x156c5f;var _0x25d311;let _0x2ac74f=this[_0xb151ba(0x328)][_0xb151ba(0x2e2)](b);return(_0x25d311=_0x2ac74f==null?void 0x0:_0x2ac74f[_0xb151ba(0x2a0)])==null?_0xb151ba(0x350):_0x25d311;}['_getTaskURL'](){const _0x1941aa=_0x156c5f;var _0x3bd34e;let _0x45597a=this['_configService'][_0x1941aa(0x2e2)](b);return(_0x3bd34e=_0x45597a==null?void 0x0:_0x45597a[_0x1941aa(0x2cd)])==null?_0x1941aa(0x220):_0x3bd34e;}[_0x156c5f(0x31f)](){const _0x57eaab=_0x156c5f;var _0x10e839;let _0x499800=this['_configService'][_0x57eaab(0x2e2)](b);return(_0x10e839=_0x499800==null?void 0x0:_0x499800[_0x57eaab(0x27a)])==null?'/universer-api/file/{fileID}/sign-url':_0x10e839;}[_0x156c5f(0x325)](){const _0x14c6c3=_0x156c5f;var _0x52fa06;let _0x585895=this[_0x14c6c3(0x328)][_0x14c6c3(0x2e2)](b);return(_0x52fa06=_0x585895==null?void 0x0:_0x585895[_0x14c6c3(0x356)])==null?0x1d4c0:_0x52fa06;}};H=z([R(0x0,l[_0x156c5f(0x264)]),R(0x1,(0x0,l[_0x156c5f(0x28d)])(u[_0x156c5f(0x35e)]))],H);function pe(_0x2dba3e){const _0x56034b=_0x156c5f;let _0x201057=_0x2dba3e[_0x56034b(0x206)];if(!_0x201057)return null;let _0x5278cc={};_0x201057[_0x56034b(0x1e7)]&&Object['keys'](_0x201057[_0x56034b(0x1e7)])[_0x56034b(0x291)](_0x3e5f96=>{const _0x433f40=_0x56034b;let _0x42fce8=_0x201057[_0x433f40(0x1e7)][_0x3e5f96];_0x5278cc[_0x3e5f96]={..._0x42fce8,'originalMeta':(0x0,v[_0x433f40(0x20f)])(v[_0x433f40(0x29c)][_0x433f40(0x225)](_0x42fce8['originalMeta']))};});let _0x59a28f=(0x0,v[_0x56034b(0x20f)])(v[_0x56034b(0x29c)][_0x56034b(0x225)](_0x201057[_0x56034b(0x35d)]));return{..._0x2dba3e,'workbook':{..._0x201057,'originalMeta':_0x59a28f,'sheets':_0x5278cc},'doc':{}};}function me(_0x86454e){const _0x580405=_0x156c5f;let _0x3fcf72=_0x86454e[_0x580405(0x272)];if(!_0x3fcf72)return null;let _0x58081c=(0x0,v[_0x580405(0x20f)])(v['textDecoder']['decode'](_0x3fcf72['originalMeta']));return{..._0x86454e,'workbook':{},'doc':{..._0x3fcf72,'originalMeta':_0x58081c}};}function he(_0x4958e2){let _0xf9f03a={};return _0x4958e2['forEach'](_0x1eb3c6=>{const _0x45e9ab=_0x27ac;_0xf9f03a[_0x1eb3c6['id']]={..._0x1eb3c6,'data':(0x0,v[_0x45e9ab(0x20f)])(v['textDecoder'][_0x45e9ab(0x225)](_0x1eb3c6[_0x45e9ab(0x375)]))};}),_0xf9f03a;}async function U(_0x1bcc00){const _0x1c196f=_0x156c5f;var _0x768917;let _0x44e2fd={'metadata':void 0x0},_0xfa96a1=_0x1bcc00['id'],_0x31292a=(_0x768917=_0x1bcc00['rev'])==null?0x0:_0x768917,_0x59f1f3=new ge(),{snapshot:_0x4fb9d6}=await(0x0,v[_0x1c196f(0x1f5)])(_0x44e2fd,_0x1bcc00,_0xfa96a1,_0x31292a,_0x59f1f3),_0x3bbecf=await(0x0,v[_0x1c196f(0x2d1)])(_0x4fb9d6,_0x59f1f3),_0x49dff5=pe(_0x4fb9d6);if(!_0x49dff5)throw Error(_0x1c196f(0x2f0));return{'snapshot':_0x49dff5,'sheetBlocks':he(_0x3bbecf)};}async function W(_0x1e0c48){const _0x49c51d=_0x156c5f;var _0x588b33;let _0x470efb={'metadata':void 0x0},_0x2e6eb9=_0x1e0c48['id'],{snapshot:_0x4cda05}=await(0x0,v['transformDocumentDataToSnapshot'])(_0x470efb,_0x1e0c48,_0x2e6eb9,(_0x588b33=_0x1e0c48[_0x49c51d(0x378)])==null?0x0:_0x588b33,new ge()),_0x5ef62c=me(_0x4cda05);if(!_0x5ef62c)throw Error(_0x49c51d(0x2f0));return{'snapshot':_0x5ef62c,'sheetBlocks':{}};}async function G(_0x202fef){const _0xe52e55=_0x156c5f;let _0x2e9c30=_0x202fef[_0xe52e55(0x36a)],_0x451659=_0x202fef[_0xe52e55(0x285)];return await(0x0,v[_0xe52e55(0x2d0)])(_0x2e9c30,Object[_0xe52e55(0x345)](_0x451659)[_0xe52e55(0x2ef)](_0x19f7f0=>_0x451659[_0x19f7f0])[_0xe52e55(0x2ef)](_0x528ac2=>({..._0x528ac2,'data':_0x528ac2[_0xe52e55(0x375)]?JSON[_0xe52e55(0x36f)]((0x0,v['b64DecodeUnicode'])(_0x528ac2['data'])):void 0x0})));}function K(_0x12c8e1){const _0xf3be6a=_0x156c5f;let _0x2a173f=_0x12c8e1[_0xf3be6a(0x36a)];return(0x0,v[_0xf3be6a(0x2b2)])(_0x2a173f);}var ge=class{constructor(){C(this,'_sheetBlockCache',new Map());}[_0x156c5f(0x293)](){const _0x16b795=_0x156c5f;return Promise['resolve']({'snapshot':{'unitID':'','type':_[_0x16b795(0x2a7)][_0x16b795(0x2cf)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_[_0x16b795(0x2f5)]['OK'],'message':''}});}[_0x156c5f(0x1fd)](_0x17fa6b,_0x1559d1){const _0x434299=_0x156c5f;let _0x21decc=this['_sheetBlockCache'][_0x434299(0x32a)](_0x1559d1[_0x434299(0x347)]);return Promise[_0x434299(0x248)]({'block':_0x21decc,'error':{'code':_['ErrorCode']['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x428c9e,_0x4f3bdd){const _0x34dab3=_0x156c5f;let _0x3b7f77=this[_0x34dab3(0x247)][_0x34dab3(0x32a)](_0x4f3bdd['blockID']);return Promise[_0x34dab3(0x248)]({'block':_0x3b7f77===void 0x0?void 0x0:{..._0x3b7f77,'data':JSON['parse'](v['textDecoder'][_0x34dab3(0x225)](_0x3b7f77[_0x34dab3(0x375)]))},'error':{'code':_[_0x34dab3(0x2f5)]['OK'],'message':''}});}[_0x156c5f(0x377)](){const _0x116aab=_0x156c5f;return Promise[_0x116aab(0x248)]({'changesets':[],'error':{'code':_[_0x116aab(0x2f5)]['OK'],'message':''}});}[_0x156c5f(0x22e)](){const _0xcf05ff=_0x156c5f;return Promise[_0xcf05ff(0x248)]({'resources':{},'error':{'code':_['ErrorCode']['OK'],'message':''}});}['saveSnapshot'](){const _0x1af9fc=_0x156c5f;return Promise['resolve']({'error':{'code':_[_0x1af9fc(0x2f5)]['OK'],'message':''}});}['updateSnapshot'](){const _0x155c49=_0x156c5f;return Promise[_0x155c49(0x248)]({'error':{'code':_[_0x155c49(0x2f5)]['OK'],'message':''}});}[_0x156c5f(0x22d)](_0x4b87d4,_0x1de9b9){const _0x32973c=_0x156c5f;let {block:_0x4c21e5}=_0x1de9b9;return _0x4c21e5?(this[_0x32973c(0x247)][_0x32973c(0x335)](_0x4c21e5['id'],_0x4c21e5),Promise[_0x32973c(0x248)]({'error':{'code':_[_0x32973c(0x2f5)]['OK'],'message':''},'blockID':_0x4c21e5['id']})):Promise[_0x32973c(0x248)]({'error':{'code':_['ErrorCode'][_0x32973c(0x2da)],'message':_0x32973c(0x2b1)},'blockID':''});}[_0x156c5f(0x26c)](){const _0x2e95f5=_0x156c5f;return Promise[_0x2e95f5(0x248)]({'error':{'code':_[_0x2e95f5(0x2f5)]['OK'],'message':''},'concurrent':[]});}[_0x156c5f(0x340)](){const _0x407ba3=_0x156c5f;return Promise[_0x407ba3(0x248)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};let q=function(_0x52ed55){const _0x31f44b=_0x156c5f;return _0x52ed55[_0x52ed55[_0x31f44b(0x254)]=0x0]='UPLOAD',_0x52ed55[_0x52ed55['IMPORT']=0x1]='IMPORT',_0x52ed55[_0x52ed55[_0x31f44b(0x317)]=0x2]=_0x31f44b(0x317),_0x52ed55[_0x52ed55[_0x31f44b(0x210)]=0x3]=_0x31f44b(0x210),_0x52ed55[_0x52ed55['SIGN_URL']=0x4]=_0x31f44b(0x2a3),_0x52ed55[_0x52ed55[_0x31f44b(0x364)]=0x5]=_0x31f44b(0x364),_0x52ed55[_0x52ed55['GET_FILE']=0x6]=_0x31f44b(0x284),_0x52ed55;}({});const J=(0x0,l[_0x156c5f(0x2c6)])(_0x156c5f(0x2a9));let Y=class extends l[_0x156c5f(0x316)]{constructor(_0x867fe7,_0xbca03d,_0x3c7a7b){const _0x5ec2f7=_0x156c5f;super(),this[_0x5ec2f7(0x328)]=_0x867fe7,this[_0x5ec2f7(0x280)]=_0xbca03d,this['_requestService']=_0x3c7a7b,C(this,_0x5ec2f7(0x27b),null),C(this,_0x5ec2f7(0x300),new m[(_0x5ec2f7(0x2cb))]()),C(this,'requestState$',this[_0x5ec2f7(0x300)][_0x5ec2f7(0x33f)]());}['dispose'](){const _0x3e8ba5=_0x156c5f;super[_0x3e8ba5(0x1eb)](),this[_0x3e8ba5(0x300)][_0x3e8ba5(0x2aa)]();}async[_0x156c5f(0x351)](_0x55e69a){const _0x247a5a=_0x156c5f;let _0x792476=await this[_0x247a5a(0x2b4)](_0x55e69a,_[_0x247a5a(0x2a7)][_0x247a5a(0x2dd)]);if(!_0x792476||!_0x792476[_0x247a5a(0x36a)])return;let _0xf763ec=K(_0x792476);if(_0xf763ec)return _0xf763ec;}async[_0x156c5f(0x29f)](_0x47298c){const _0x24cac2=_0x156c5f;return this['_export'](_0x47298c,B[_0x24cac2(0x33c)],_[_0x24cac2(0x2a7)]['UNIVER_DOC']);}async[_0x156c5f(0x263)](_0x2791c7){const _0x4134b9=_0x156c5f;let _0x54897b=await W(_0x2791c7);return this[_0x4134b9(0x27c)](_0x54897b,_['UniverType'][_0x4134b9(0x2dd)]);}async[_0x156c5f(0x36e)](_0x3f06f4){const _0x635793=_0x156c5f;let _0x2b50eb=await this['_importToSnapshot'](_0x3f06f4,_[_0x635793(0x2a7)][_0x635793(0x2cf)]);if(!_0x2b50eb)return;let _0x2625af=await G(_0x2b50eb);if(_0x2625af)return _0x2625af;}async['exportXLSXByUnitId'](_0x427021){const _0x3dd07c=_0x156c5f;return this['_export'](_0x427021,B[_0x3dd07c(0x33c)],_[_0x3dd07c(0x2a7)][_0x3dd07c(0x2cf)]);}async[_0x156c5f(0x315)](_0x217525){const _0x20d935=_0x156c5f;let _0x1ca9a8=await U(_0x217525);return this[_0x20d935(0x27c)](_0x1ca9a8,_[_0x20d935(0x2a7)][_0x20d935(0x2cf)]);}async[_0x156c5f(0x369)](_0x461937,_0x35bec2){const _0x414184=_0x156c5f;var _0xe2335c,_0x40cd63;let _0x1a5178=await this[_0x414184(0x228)](_0x461937);if(!_0x1a5178)return;let _0x27a11b=await this[_0x414184(0x24a)](_0x1a5178,B['UNIT'],_0x35bec2);if(!_0x27a11b)return;this['_importTaskId']=_0x27a11b,this[_0x414184(0x367)][_0x414184(0x35a)]();let _0x979a6f=await this[_0x414184(0x367)][_0x414184(0x21e)](_0x27a11b)['catch'](_0x1f0f63=>{const _0x5b4e65=_0x414184;var _0x1ed86d;let _0x9df5f9=_0x1f0f63 instanceof Error?_0x1f0f63[_0x5b4e65(0x34a)]:(_0x1ed86d=_0x1f0f63[_0x5b4e65(0x209)])==null?void 0x0:_0x1ed86d[_0x5b4e65(0x34a)];this['_requestState$'][_0x5b4e65(0x241)]({'error':{'code':_[_0x5b4e65(0x2f5)][_0x5b4e65(0x37a)],'message':_0x9df5f9||''},'state':q[_0x5b4e65(0x210)]});});if(!_0x979a6f)return;let _0xb7de34=(_0xe2335c=_0x979a6f['import'])==null?void 0x0:_0xe2335c[_0x414184(0x2a8)],_0x3ef909=((_0x40cd63=_0x979a6f[_0x414184(0x362)])==null?void 0x0:_0x40cd63[_0x414184(0x2f2)])||'';if(_0xb7de34!==B['UNIT']){this['_requestState$'][_0x414184(0x241)]({'error':{'code':_[_0x414184(0x2f5)][_0x414184(0x37a)],'message':_0x414184(0x342)},'state':q[_0x414184(0x210)]});return;}if(_0x3ef909['length']===0x0){this[_0x414184(0x300)][_0x414184(0x241)]({'error':{'code':_['ErrorCode'][_0x414184(0x37a)],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':q['GET_TASK']});return;}return this[_0x414184(0x300)][_0x414184(0x241)]({'error':_0x979a6f['error'],'state':q[_0x414184(0x210)]}),_0x3ef909;}async[_0x156c5f(0x1f0)](_0x59de99){const _0x19fec7=_0x156c5f;let _0x2abb39=await U(_0x59de99),_0x2f5294=typeof _0x59de99['id']==_0x19fec7(0x29a)&&_0x59de99['id'][_0x19fec7(0x35f)]()?_0x59de99['id']['trim']()+_0x19fec7(0x265):_0x19fec7(0x1f4),_0x15952c=new File([JSON[_0x19fec7(0x311)](_0x2abb39)],_0x2f5294,{'type':_0x19fec7(0x25a)});return this[_0x19fec7(0x369)](_0x15952c,_['UniverType'][_0x19fec7(0x2cf)]);}[_0x156c5f(0x21f)](){const _0x512694=_0x156c5f;this[_0x512694(0x27b)]&&this[_0x512694(0x367)][_0x512694(0x249)](this[_0x512694(0x27b)]);}async[_0x156c5f(0x2b4)](_0x1f0482,_0x76bbb0){const _0x558b9e=_0x156c5f;var _0x59a8f5,_0xe012f5;let _0x3ec73b=await this[_0x558b9e(0x228)](_0x1f0482);if(!_0x3ec73b)return;let _0x3ae4d6=await this['_import'](_0x3ec73b,B[_0x558b9e(0x2b7)],_0x76bbb0);if(!_0x3ae4d6)return;this[_0x558b9e(0x27b)]=_0x3ae4d6,this[_0x558b9e(0x367)][_0x558b9e(0x35a)]();let _0x421a89=await this[_0x558b9e(0x367)][_0x558b9e(0x21e)](_0x3ae4d6)[_0x558b9e(0x208)](_0x3edecb=>{const _0x2ec83a=_0x558b9e;var _0x5ee286;let _0x3633c3=_0x3edecb instanceof Error?_0x3edecb[_0x2ec83a(0x34a)]:(_0x5ee286=_0x3edecb['error'])==null?void 0x0:_0x5ee286[_0x2ec83a(0x34a)];this[_0x2ec83a(0x300)]['next']({'error':{'code':_[_0x2ec83a(0x2f5)]['UNRECOGNIZED'],'message':_0x3633c3||''},'state':q[_0x2ec83a(0x210)]});});if(!_0x421a89)return;let _0x596b3c=(_0x59a8f5=_0x421a89[_0x558b9e(0x362)])==null?void 0x0:_0x59a8f5[_0x558b9e(0x2a8)],_0x112a0c=((_0xe012f5=_0x421a89[_0x558b9e(0x362)])==null?void 0x0:_0xe012f5[_0x558b9e(0x25c)])||'';if(_0x596b3c!==B[_0x558b9e(0x2b7)]){this[_0x558b9e(0x300)]['next']({'error':{'code':_['ErrorCode'][_0x558b9e(0x37a)],'message':_0x558b9e(0x342)},'state':q[_0x558b9e(0x210)]});return;}if(_0x112a0c[_0x558b9e(0x2e0)]===0x0){this[_0x558b9e(0x300)][_0x558b9e(0x241)]({'error':{'code':_[_0x558b9e(0x2f5)][_0x558b9e(0x37a)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':q[_0x558b9e(0x210)]});return;}this[_0x558b9e(0x300)][_0x558b9e(0x241)]({'error':_0x421a89[_0x558b9e(0x209)],'state':q[_0x558b9e(0x210)]});let _0x41bdf9=await this['_signUrl'](_0x112a0c);if(!_0x41bdf9)return;let _0x2c0e2e=await this[_0x558b9e(0x367)][_0x558b9e(0x2f4)](_0x41bdf9);if(!_0x2c0e2e){this['_requestState$'][_0x558b9e(0x241)]({'error':{'code':_[_0x558b9e(0x2f5)][_0x558b9e(0x37a)],'message':_0x558b9e(0x371)},'state':q['GET_JSON']});return;}try{let _0x4c6423=JSON[_0x558b9e(0x36f)](_0x2c0e2e);return this[_0x558b9e(0x300)]['next']({'error':{'code':_[_0x558b9e(0x2f5)]['OK'],'message':_0x558b9e(0x1e1)},'state':q[_0x558b9e(0x364)]}),_0x4c6423;}catch{this[_0x558b9e(0x300)][_0x558b9e(0x241)]({'error':{'code':_['ErrorCode'][_0x558b9e(0x37a)],'message':_0x558b9e(0x1e8)},'state':q[_0x558b9e(0x364)]});}}async['_exportBySnapshot'](_0xb54f14,_0x4fae77){const _0x52a983=_0x156c5f;let _0x588cf4=JSON[_0x52a983(0x311)](_0xb54f14),_0x19806b=y[_0x52a983(0x1e9)][_0x52a983(0x1dc)](_0x588cf4),_0x1ffd99=v['textEncoder']['encode'](_0x588cf4)[_0x52a983(0x2e0)],_0xa6ea88=ue(_0x19806b),_0x5e343d=await this[_0x52a983(0x228)](_0xa6ea88,_0x1ffd99,!0x0);if(_0x5e343d)return this[_0x52a983(0x2ee)](_0x5e343d,B[_0x52a983(0x2b7)],_0x4fae77);}async['_export'](_0x369b34,_0x5da525,_0x2f193e){const _0x486baf=_0x156c5f;var _0x166e86;let _0x2542c1=await this[_0x486baf(0x367)][_0x486baf(0x252)]({'unitID':_0x5da525===B['UNIT']?_0x369b34:'','jsonID':_0x5da525===B['JSON']?_0x369b34:'','type':_0x2f193e,'sscSwitch':this[_0x486baf(0x343)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x2542c1){this[_0x486baf(0x300)][_0x486baf(0x241)]({'error':{'code':_[_0x486baf(0x2f5)]['UNRECOGNIZED'],'message':_0x486baf(0x2af)},'state':q['EXPORT']});return;}if(this[_0x486baf(0x300)][_0x486baf(0x241)]({'error':_0x2542c1[_0x486baf(0x209)],'state':q[_0x486baf(0x317)]}),_0x2542c1[_0x486baf(0x209)]&&_0x2542c1['error'][_0x486baf(0x2ce)]!==_[_0x486baf(0x2f5)]['OK'])return;let _0xd4b1c4=_0x2542c1[_0x486baf(0x20a)],_0x208f7e=await this[_0x486baf(0x367)][_0x486baf(0x21e)](_0xd4b1c4)[_0x486baf(0x208)](_0x4606f9=>{const _0x102286=_0x486baf;var _0xde0d6d;let _0x18216c=_0x4606f9 instanceof Error?_0x4606f9['message']:(_0xde0d6d=_0x4606f9['error'])==null?void 0x0:_0xde0d6d[_0x102286(0x34a)];this[_0x102286(0x300)][_0x102286(0x241)]({'error':{'code':_[_0x102286(0x2f5)][_0x102286(0x37a)],'message':_0x18216c||''},'state':q[_0x102286(0x210)]});});if(!_0x208f7e)return;let _0x50f4d2=((_0x166e86=_0x208f7e[_0x486baf(0x252)])==null?void 0x0:_0x166e86[_0x486baf(0x257)])||'';if(_0x50f4d2[_0x486baf(0x2e0)]===0x0){this[_0x486baf(0x300)][_0x486baf(0x241)]({'error':{'code':_[_0x486baf(0x2f5)][_0x486baf(0x37a)],'message':_0x486baf(0x26b)},'state':q['GET_TASK']});return;}this[_0x486baf(0x300)][_0x486baf(0x241)]({'error':_0x208f7e[_0x486baf(0x209)],'state':q[_0x486baf(0x210)]});let _0x172176=await this[_0x486baf(0x1f9)](_0x50f4d2);if(!_0x172176)return;let _0x4318ae=await I(_0x172176,this[_0x486baf(0x280)]);if(!_0x4318ae){this[_0x486baf(0x300)]['next']({'error':{'code':_['ErrorCode'][_0x486baf(0x37a)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':q[_0x486baf(0x284)]});return;}return this['_requestState$'][_0x486baf(0x241)]({'error':{'code':_[_0x486baf(0x2f5)]['OK'],'message':_0x486baf(0x1e1)},'state':q[_0x486baf(0x284)]}),_0x4318ae;}async[_0x156c5f(0x228)](_0x4cf556,_0x595fe,_0x31732a){const _0x4ec3eb=_0x156c5f;let _0x4da4a7;try{_0x4da4a7=await this[_0x4ec3eb(0x367)]['upload'](_0x4cf556,_0x595fe,_0x31732a);}catch(_0xa3a117){let _0x2875e5=_0xa3a117 instanceof Error?_0xa3a117[_0x4ec3eb(0x34a)]:String(_0xa3a117);this[_0x4ec3eb(0x300)][_0x4ec3eb(0x241)]({'error':{'code':_[_0x4ec3eb(0x2f5)][_0x4ec3eb(0x37a)],'message':_0x2875e5},'state':q[_0x4ec3eb(0x254)]});return;}if(!_0x4da4a7||typeof _0x4da4a7[_0x4ec3eb(0x201)]!=_0x4ec3eb(0x29a)){this[_0x4ec3eb(0x300)][_0x4ec3eb(0x241)]({'error':{'code':_['ErrorCode'][_0x4ec3eb(0x37a)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':q['UPLOAD']});return;}let _0x295e8e=_0x4da4a7[_0x4ec3eb(0x201)];if(_0x295e8e['length']===0x0){this[_0x4ec3eb(0x300)][_0x4ec3eb(0x241)]({'error':{'code':_[_0x4ec3eb(0x2f5)][_0x4ec3eb(0x37a)],'message':_0x4ec3eb(0x236)},'state':q[_0x4ec3eb(0x254)]});return;}return this[_0x4ec3eb(0x300)][_0x4ec3eb(0x241)]({'error':{'code':_[_0x4ec3eb(0x2f5)]['OK'],'message':_0x4ec3eb(0x1e1)},'state':q['UPLOAD']}),_0x295e8e;}async['_import'](_0x285e3e,_0x296348,_0x25dd22){const _0x2cb15d=_0x156c5f;let _0x4d2a3e={'fileID':_0x285e3e,'type':_0x25dd22,'outputType':_0x296348,'fileUrl':'','minSheetRowCount':this[_0x2cb15d(0x2f9)](),'minSheetColumnCount':this[_0x2cb15d(0x1fa)]()},_0x71c487=await this[_0x2cb15d(0x367)][_0x2cb15d(0x362)](_0x4d2a3e);if(!_0x71c487){this[_0x2cb15d(0x300)][_0x2cb15d(0x241)]({'error':{'code':_[_0x2cb15d(0x2f5)]['UNRECOGNIZED'],'message':'import\x20error'},'state':q[_0x2cb15d(0x269)]});return;}if(_0x71c487['error']&&_0x71c487['error']['code']!==_[_0x2cb15d(0x2f5)]['OK']){this['_requestState$'][_0x2cb15d(0x241)]({'error':_0x71c487[_0x2cb15d(0x209)],'state':q['IMPORT']});return;}let _0x1dcc7b=_0x71c487[_0x2cb15d(0x20a)];if(_0x1dcc7b[_0x2cb15d(0x2e0)]===0x0){this[_0x2cb15d(0x300)]['next']({'error':{'code':_['ErrorCode']['UNRECOGNIZED'],'message':_0x2cb15d(0x31a)},'state':q[_0x2cb15d(0x269)]});return;}return this[_0x2cb15d(0x300)][_0x2cb15d(0x241)]({'error':_0x71c487['error'],'state':q[_0x2cb15d(0x269)]}),_0x1dcc7b;}async[_0x156c5f(0x1f9)](_0x1ede73){const _0x3ccc1b=_0x156c5f;let _0x2bc235=await this[_0x3ccc1b(0x367)][_0x3ccc1b(0x30f)](_0x1ede73);if(!_0x2bc235){this['_requestState$'][_0x3ccc1b(0x241)]({'error':{'code':_[_0x3ccc1b(0x2f5)][_0x3ccc1b(0x37a)],'message':_0x3ccc1b(0x32f)},'state':q[_0x3ccc1b(0x2a3)]});return;}if(_0x2bc235[_0x3ccc1b(0x209)]&&_0x2bc235[_0x3ccc1b(0x209)][_0x3ccc1b(0x2ce)]!==_[_0x3ccc1b(0x2f5)]['OK']){this[_0x3ccc1b(0x300)][_0x3ccc1b(0x241)]({'error':_0x2bc235['error'],'state':q[_0x3ccc1b(0x2a3)]});return;}let _0x367876=(0x0,l[_0x3ccc1b(0x357)])(_0x2bc235['url'],this['_getDownloadEndpointURL']());if(_0x367876['length']===0x0){this[_0x3ccc1b(0x300)][_0x3ccc1b(0x241)]({'error':{'code':_[_0x3ccc1b(0x2f5)]['UNRECOGNIZED'],'message':_0x3ccc1b(0x32f)},'state':q[_0x3ccc1b(0x2a3)]});return;}return this[_0x3ccc1b(0x300)][_0x3ccc1b(0x241)]({'error':_0x2bc235[_0x3ccc1b(0x209)],'state':q['SIGN_URL']}),_0x367876;}[_0x156c5f(0x239)](){const _0x37313c=_0x156c5f;var _0x4d84d1;let _0x2f0e94=this[_0x37313c(0x328)]['getConfig'](b);return(_0x4d84d1=_0x2f0e94==null?void 0x0:_0x2f0e94[_0x37313c(0x1ec)])==null?location[_0x37313c(0x312)]:_0x4d84d1;}['_getMinSheetRowCount'](){const _0x15ead1=_0x156c5f;var _0x4a5055,_0x4d323b;let _0x2afb73=this[_0x15ead1(0x328)]['getConfig'](b);return(_0x4a5055=_0x2afb73==null||(_0x4d323b=_0x2afb73[_0x15ead1(0x29e)])==null?void 0x0:_0x4d323b[_0x15ead1(0x301)])==null?0x1:_0x4a5055;}['_getMinSheetColumnCount'](){const _0x354318=_0x156c5f;var _0x20f9ae,_0x2f1eee;let _0x1e929a=this[_0x354318(0x328)]['getConfig'](b);return(_0x20f9ae=_0x1e929a==null||(_0x2f1eee=_0x1e929a[_0x354318(0x29e)])==null?void 0x0:_0x2f1eee[_0x354318(0x2dc)])==null?0x1:_0x20f9ae;}[_0x156c5f(0x343)](){const _0x55fa9d=_0x156c5f;var _0x564ffc,_0x1cbfaa;let _0x2af083=this[_0x55fa9d(0x328)][_0x55fa9d(0x2e2)](b);return(_0x564ffc=_0x2af083==null||(_0x1cbfaa=_0x2af083[_0x55fa9d(0x29e)])==null?void 0x0:_0x1cbfaa[_0x55fa9d(0x262)])==null?!0x1:_0x564ffc;}[_0x156c5f(0x2bb)](){const _0x3f32eb=_0x156c5f;var _0x4f0533,_0x780c01;let _0x4e4fcf=this[_0x3f32eb(0x328)]['getConfig'](b);return(_0x4f0533=_0x4e4fcf==null||(_0x780c01=_0x4e4fcf[_0x3f32eb(0x29e)])==null?void 0x0:_0x780c01[_0x3f32eb(0x290)])==null?!0x0:_0x4f0533;}[_0x156c5f(0x282)](){const _0x525b2c=_0x156c5f;var _0x342f8b,_0x1a2404;let _0x84597=this['_configService']['getConfig'](b);return(_0x342f8b=_0x84597==null||(_0x1a2404=_0x84597['options'])==null?void 0x0:_0x1a2404[_0x525b2c(0x292)])==null?!0x1:_0x342f8b;}};Y=z([R(0x0,l['IConfigService']),R(0x1,(0x0,l[_0x156c5f(0x28d)])(u['HTTPService'])),R(0x2,(0x0,l[_0x156c5f(0x28d)])(V))],Y);const _e={'done':0x0,'count':0x0},X=(0x0,l[_0x156c5f(0x2c6)])(_0x156c5f(0x245));let Z=class extends l['Disposable']{constructor(_0x501f2a,_0x576fe7,_0x2dddf4,_0x51d86c,_0x59612d,_0x521206){const _0x551a7d=_0x156c5f;super(),this[_0x551a7d(0x36d)]=_0x501f2a,this[_0x551a7d(0x2a5)]=_0x576fe7,this[_0x551a7d(0x1e3)]=_0x2dddf4,this['_exchangeService']=_0x51d86c,this[_0x551a7d(0x1e5)]=_0x59612d,this[_0x551a7d(0x1e6)]=_0x521206,C(this,_0x551a7d(0x204),new m[(_0x551a7d(0x24e))](_e)),C(this,_0x551a7d(0x2eb),this[_0x551a7d(0x204)][_0x551a7d(0x33f)]()),C(this,_0x551a7d(0x323),0x0),C(this,_0x551a7d(0x2e4),0x0),this['disposeWithMe']((0x0,l[_0x551a7d(0x212)])(this[_0x551a7d(0x1f8)][_0x551a7d(0x32b)][_0x551a7d(0x379)](_0x358eb2=>{const _0x4864dd=_0x551a7d;var _0xbde789;((_0xbde789=_0x358eb2[_0x4864dd(0x209)])==null?void 0x0:_0xbde789[_0x4864dd(0x2ce)])===_[_0x4864dd(0x2f5)]['OK']?this[_0x4864dd(0x370)](0x1):this[_0x4864dd(0x2b8)](_0x358eb2[_0x4864dd(0x209)]);})));}[_0x156c5f(0x274)](){const _0x241313=_0x156c5f;this[_0x241313(0x24f)](),this[_0x241313(0x1e5)][_0x241313(0x24d)](w['ERROR']),this[_0x241313(0x1f8)][_0x241313(0x21f)]();}async[_0x156c5f(0x368)](_0x25ab7b){const _0x5ae5bb=_0x156c5f;throw Error(_0x5ae5bb(0x361));}async[_0x156c5f(0x2bc)](){const _0x42ec41=_0x156c5f;let _0x3b7b75=await F([_[_0x42ec41(0x2a7)]['UNIVER_DOC']]);if(_0x3b7b75&&!this['_fileTypeError'](_0x3b7b75,_[_0x42ec41(0x2a7)][_0x42ec41(0x2dd)]))return this[_0x42ec41(0x27f)](_0x3b7b75[0x0],_[_0x42ec41(0x2a7)][_0x42ec41(0x2dd)]);}['importDOCXToSnapshot'](){const _0x34ef48=_0x156c5f;throw Error(_0x34ef48(0x361));}async[_0x156c5f(0x29f)](_0x565fe7,_0x429324,_0x2a031b){const _0x15c3e1=_0x156c5f;this[_0x15c3e1(0x28a)](h['MessageType'][_0x15c3e1(0x374)]);let _0x2b1977=await this['_exchangeService'][_0x15c3e1(0x29f)](_0x565fe7||this[_0x15c3e1(0x2a1)]());_0x2b1977&&(N(_0x2b1977,_0x429324||this['_getUnitName'](_0x2b1977),_0x15c3e1(0x258)),this['_showDownloadMessage'](h[_0x15c3e1(0x297)][_0x15c3e1(0x2df)]));}async[_0x156c5f(0x263)](){const _0x4b7527=_0x156c5f;this['_showDownloadMessage'](h[_0x4b7527(0x297)][_0x4b7527(0x374)]);let _0x25ffd8=await this['_getUnitDocJson'](),_0x269285=await this['_exchangeService']['exportDOCXBySnapshot'](_0x25ffd8);_0x269285&&(N(_0x269285,this[_0x4b7527(0x273)](_0x269285),_0x4b7527(0x258)),this['_showDownloadMessage'](h['MessageType'][_0x4b7527(0x2df)]));}async[_0x156c5f(0x216)](){const _0x307252=_0x156c5f;if(this['_uploadTaskNotDone']()){this[_0x307252(0x2a5)][_0x307252(0x21a)]({'type':h[_0x307252(0x297)][_0x307252(0x260)],'content':this['_localeService']['t'](_0x307252(0x227))});return;}let _0x102106=await F([_[_0x307252(0x2a7)][_0x307252(0x2cf)]]);if(_0x102106&&!this['_fileTypeError'](_0x102106,_[_0x307252(0x2a7)][_0x307252(0x2cf)]))return this[_0x307252(0x27f)](_0x102106[0x0],_[_0x307252(0x2a7)][_0x307252(0x2cf)]);}async[_0x156c5f(0x36e)](){const _0x177d4c=_0x156c5f;if(this['_uploadTaskNotDone']()){this[_0x177d4c(0x2a5)][_0x177d4c(0x21a)]({'type':h[_0x177d4c(0x297)][_0x177d4c(0x260)],'content':this[_0x177d4c(0x1e3)]['t']('exchange.uploading')});return;}let _0x6f85c=await F([_['UniverType'][_0x177d4c(0x2cf)]]);if(!_0x6f85c)return;this['_showUploadMessage'](h[_0x177d4c(0x297)][_0x177d4c(0x374)]);let _0x594d1b=await this['_exchangeService'][_0x177d4c(0x36e)](_0x6f85c[0x0]);_0x594d1b&&(this[_0x177d4c(0x2e1)](_0x594d1b),this[_0x177d4c(0x1fc)](h[_0x177d4c(0x297)][_0x177d4c(0x2df)]));}async['exportXLSXByUnitId'](_0x52f4e0,_0x5a8748,_0x3e7433){const _0x52e7df=_0x156c5f;this[_0x52e7df(0x28a)](h['MessageType'][_0x52e7df(0x374)]);let _0x2640f2=await this['_exchangeService'][_0x52e7df(0x2f3)](_0x52f4e0||this[_0x52e7df(0x2ec)]());_0x2640f2&&(N(_0x2640f2,_0x5a8748||this[_0x52e7df(0x273)](_0x2640f2),_0x52e7df(0x256)),this['_showDownloadMessage'](h[_0x52e7df(0x297)][_0x52e7df(0x2df)]));}async['exportXLSXBySnapshot'](){const _0x2a10f4=_0x156c5f;this[_0x2a10f4(0x28a)](h[_0x2a10f4(0x297)][_0x2a10f4(0x374)]);let _0x512dba=await this[_0x2a10f4(0x341)](),_0x9d32d0=await this['_exchangeService']['exportXLSXBySnapshot'](_0x512dba);_0x9d32d0&&(N(_0x9d32d0,this[_0x2a10f4(0x273)](_0x9d32d0),_0x2a10f4(0x256)),this['_showDownloadMessage'](h[_0x2a10f4(0x297)]['Success']));}['registerLink'](_0x3afb10){const _0xdcc67a=_0x156c5f;this[_0xdcc67a(0x1fe)]=_0x3afb10;}async[_0x156c5f(0x27f)](_0x5692fa,_0x19fd3f){const _0x598c65=_0x156c5f;this['_uploadNotificationService'][_0x598c65(0x21a)](),this[_0x598c65(0x1e5)]['updateState'](w[_0x598c65(0x2fe)]),this[_0x598c65(0x296)](0x4),this['_addDoneTask'](0x1);let _0x1b6558=await this[_0x598c65(0x1f8)][_0x598c65(0x369)](_0x5692fa,_0x19fd3f);if(!_0x1b6558){this[_0x598c65(0x24f)](),this[_0x598c65(0x1e5)][_0x598c65(0x24d)](w[_0x598c65(0x1ff)]);return;}let _0x4a74fc={'link':this[_0x598c65(0x1fe)](_0x1b6558,_0x19fd3f),'name':_0x5692fa[_0x598c65(0x326)],'type':_0x19fd3f};return this[_0x598c65(0x1e5)][_0x598c65(0x349)](_0x4a74fc),this[_0x598c65(0x286)](),this['_uploadNotificationService'][_0x598c65(0x24d)](w[_0x598c65(0x1ee)]),_0x1b6558;}[_0x156c5f(0x2ec)](){const _0x1814fd=_0x156c5f;return this[_0x1814fd(0x36d)][_0x1814fd(0x283)](l[_0x1814fd(0x23a)][_0x1814fd(0x2cf)])[_0x1814fd(0x23b)]();}[_0x156c5f(0x2a1)](){const _0x45cd7b=_0x156c5f;return this[_0x45cd7b(0x36d)]['getCurrentUnitOfType'](l[_0x45cd7b(0x23a)][_0x45cd7b(0x2dd)])[_0x45cd7b(0x23b)]();}['_getUnitName'](_0x557ae9){const _0x274b0e=_0x156c5f;var _0x5e1ec4;return((_0x5e1ec4=this[_0x274b0e(0x36d)][_0x274b0e(0x283)](l[_0x274b0e(0x23a)][_0x274b0e(0x2cf)]))==null?void 0x0:_0x5e1ec4[_0x274b0e(0x326)])||_0x557ae9[_0x274b0e(0x326)][_0x274b0e(0x1dd)]('.')[_0x274b0e(0x34d)]()||document[_0x274b0e(0x2b5)];}async[_0x156c5f(0x341)](){const _0x2575c6=_0x156c5f;return this[_0x2575c6(0x36d)][_0x2575c6(0x283)](l['UniverInstanceType'][_0x2575c6(0x2cf)])[_0x2575c6(0x2c1)]();}async[_0x156c5f(0x31c)](){const _0x10f80b=_0x156c5f;return this[_0x10f80b(0x36d)]['getCurrentUnitOfType'](l[_0x10f80b(0x23a)][_0x10f80b(0x2dd)])[_0x10f80b(0x2c1)]();}[_0x156c5f(0x1fe)](_0x216ac0,_0x3f89f6){const _0xc430e7=_0x156c5f;let _0x302ddb=new URL(window[_0xc430e7(0x242)]['href']);return _0x302ddb[_0xc430e7(0x37b)][_0xc430e7(0x335)](_0xc430e7(0x2d8),_0x216ac0),_0x302ddb[_0xc430e7(0x37b)]['set'](_0xc430e7(0x2ba),''+_0x3f89f6),_0x302ddb[_0xc430e7(0x32c)]();}[_0x156c5f(0x2e1)](_0x114341){const _0x1e2d78=_0x156c5f;let _0x4fa0e3=this[_0x1e2d78(0x36d)]['getCurrentUnitForType'](l[_0x1e2d78(0x23a)][_0x1e2d78(0x2cf)])[_0x1e2d78(0x23b)]();this[_0x1e2d78(0x36d)][_0x1e2d78(0x2de)](_0x4fa0e3),this[_0x1e2d78(0x36d)]['createUnit'](l[_0x1e2d78(0x23a)]['UNIVER_SHEET'],_0x114341);}[_0x156c5f(0x2b8)](_0x112539){const _0x5d626b=_0x156c5f;if(_0x112539){let {code:_0x47da2b}=_0x112539;switch(_0x47da2b){case _[_0x5d626b(0x2f5)][_0x5d626b(0x2f1)]:this['_messageService'][_0x5d626b(0x21a)]({'type':h['MessageType'][_0x5d626b(0x2f6)],'content':this[_0x5d626b(0x1e3)]['t'](_0x5d626b(0x28b))});break;case _[_0x5d626b(0x2f5)][_0x5d626b(0x231)]:this[_0x5d626b(0x2a5)]['show']({'type':h[_0x5d626b(0x297)]['Error'],'content':this[_0x5d626b(0x1e3)]['t'](_0x5d626b(0x32e))});break;default:this[_0x5d626b(0x2a5)][_0x5d626b(0x21a)]({'type':h[_0x5d626b(0x297)][_0x5d626b(0x2f6)],'content':this['_localeService']['t'](_0x5d626b(0x230))});break;}return null;}return this[_0x5d626b(0x2a5)]['show']({'type':h[_0x5d626b(0x297)][_0x5d626b(0x2f6)],'content':this['_localeService']['t'](_0x5d626b(0x230))}),null;}[_0x156c5f(0x28a)](_0x193dc3){const _0x184c89=_0x156c5f;let _0x1f858a='';switch(_0x193dc3){case h[_0x184c89(0x297)][_0x184c89(0x2df)]:_0x1f858a=this[_0x184c89(0x1e3)]['t'](_0x184c89(0x354));break;case h['MessageType']['Info']:_0x1f858a=this[_0x184c89(0x1e3)]['t'](_0x184c89(0x2f7));break;default:break;}this[_0x184c89(0x2a5)]['show']({'type':_0x193dc3,'content':_0x1f858a});}[_0x156c5f(0x1fc)](_0x3c99b1){const _0x48cf25=_0x156c5f;let _0x97c93d='';switch(_0x3c99b1){case h['MessageType']['Success']:_0x97c93d=this[_0x48cf25(0x1e3)]['t'](_0x48cf25(0x376));break;case h[_0x48cf25(0x297)][_0x48cf25(0x374)]:_0x97c93d=this[_0x48cf25(0x1e3)]['t'](_0x48cf25(0x227));break;default:break;}this['_messageService'][_0x48cf25(0x21a)]({'type':_0x3c99b1,'content':_0x97c93d});}[_0x156c5f(0x268)](){const _0x1f6037=_0x156c5f;this[_0x1f6037(0x204)][_0x1f6037(0x241)]({'done':this[_0x1f6037(0x2e4)],'count':this[_0x1f6037(0x323)]});}['_addTotalCount'](_0x345706){const _0x4c7bcd=_0x156c5f;this[_0x4c7bcd(0x323)]+=_0x345706,this[_0x4c7bcd(0x268)]();}['_addDoneTask'](_0x495fd7){const _0x3a5878=_0x156c5f;this[_0x3a5878(0x2e4)]+=_0x495fd7,this[_0x3a5878(0x2e4)]=Math[_0x3a5878(0x26a)](this['_doneUploadTaskCount'],this[_0x3a5878(0x323)]),this[_0x3a5878(0x268)]();}[_0x156c5f(0x286)](){const _0x12cb3c=_0x156c5f;this[_0x12cb3c(0x2e4)]=this[_0x12cb3c(0x323)],this[_0x12cb3c(0x268)]();}[_0x156c5f(0x24f)](){const _0x2b2e0a=_0x156c5f;this['_doneUploadTaskCount']=0x0,this[_0x2b2e0a(0x323)]=0x0,this[_0x2b2e0a(0x268)]();}[_0x156c5f(0x2bf)](_0xce7c62,_0x3cfaa8){const _0x3e45f2=_0x156c5f;let _0x21ca7c=_0xce7c62[0x0],_0x30b4d0=_0x21ca7c[_0x3e45f2(0x326)];return P(_0x21ca7c)===_0x3cfaa8?!0x1:(this[_0x3e45f2(0x2a5)][_0x3e45f2(0x21a)]({'type':h['MessageType'][_0x3e45f2(0x2f6)],'content':this[_0x3e45f2(0x1e3)]['t'](_0x3e45f2(0x251),_0x30b4d0)}),!0x0);}[_0x156c5f(0x202)](){const _0x4bdb66=_0x156c5f;return this[_0x4bdb66(0x323)]!==0x0&&this[_0x4bdb66(0x2e4)]!==this[_0x4bdb66(0x323)];}};Z=z([R(0x0,(0x0,l[_0x156c5f(0x28d)])(l[_0x156c5f(0x359)])),R(0x1,d[_0x156c5f(0x330)]),R(0x2,(0x0,l['Inject'])(l[_0x156c5f(0x277)])),R(0x3,(0x0,l[_0x156c5f(0x28d)])(J)),R(0x4,(0x0,l['Inject'])(T)),R(0x5,l[_0x156c5f(0x1ea)])],Z);function ve(_0x21ca58){const _0x260763=_0x156c5f;let {onClick:_0x25d7ff,children:_0x49b5b1,className:_0x455dac}=_0x21ca58;return(0x0,g[_0x260763(0x238)])(_0x260763(0x2fd),{'className':(0x0,h['clsx'])(_0x260763(0x28e),_0x455dac),'type':_0x260763(0x2fd),'onClick':_0x25d7ff,'children':_0x49b5b1});}function ye(){const _0x2caa32=_0x156c5f;let _0x6dd22c=(0x0,d['useDependency'])(X),_0x211f3c=(0x0,d['useDependency'])(l['LocaleService']);function _0x351344(){const _0x1386b5=_0x27ac;_0x6dd22c[_0x1386b5(0x216)]();}return(0x0,g[_0x2caa32(0x238)])(ve,{'onClick':_0x351344,'children':_0x211f3c['t'](_0x2caa32(0x2c8))});}function be(){const _0x5ceed0=_0x156c5f;return(0x0,g[_0x5ceed0(0x35c)])(_0x5ceed0(0x289),{'className':_0x5ceed0(0x27d),'children':[(0x0,g[_0x5ceed0(0x238)])(_0x5ceed0(0x23e),{'className':_0x5ceed0(0x2e3),'children':(0x0,d[_0x5ceed0(0x2b0)])(l[_0x5ceed0(0x277)])['t']('exchange.interrupt')}),(0x0,g['jsx'])(ye,{})]});}function xe(_0x5c5a5b){const _0x132361=_0x156c5f;let {count:_0x2a1124}=_0x5c5a5b;return(0x0,g[_0x132361(0x35c)])(_0x132361(0x289),{'className':_0x132361(0x313),'children':[(0x0,g[_0x132361(0x238)])(_0x132361(0x23e),{'className':'univer-text-sm\x20univer-text-gray-500','children':(0x0,d['useDependency'])(l[_0x132361(0x277)])['t'](_0x132361(0x1f6),''+_0x2a1124)}),(0x0,g[_0x132361(0x238)])(ye,{})]});}function Se(){const _0x138186=_0x156c5f;let _0xa694e2=(0x0,d['useDependency'])(X),_0x392d66=(0x0,d[_0x138186(0x2b0)])(l[_0x138186(0x277)]);function _0x3c6f98(){_0xa694e2['interrupt']();}return(0x0,g[_0x138186(0x238)])(ve,{'onClick':_0x3c6f98,'children':_0x392d66['t'](_0x138186(0x226))});}function _0x27ac(_0x511cf1,_0x558c37){_0x511cf1=_0x511cf1-0x1dc;const _0x6c5eb5=_0x6c5e();let _0x27acc5=_0x6c5eb5[_0x511cf1];return _0x27acc5;}function Ce(){const _0x3487a7=_0x156c5f;let {count:_0x1ad42e,done:_0x3d1021}=(0x0,d['useObservable'])((0x0,d[_0x3487a7(0x2b0)])(X)['progress$']),[_0x9d12e9,_0x2f1f13]=(0x0,p[_0x3487a7(0x33a)])(_0x1ad42e>0x0?_0x3d1021/_0x1ad42e:0x0);return(0x0,p[_0x3487a7(0x2b9)])(()=>{_0x2f1f13(_0x1ad42e>0x0?_0x3d1021/_0x1ad42e:0x0);},[_0x1ad42e,_0x3d1021]),(0x0,g[_0x3487a7(0x238)])(_0x3487a7(0x289),{'className':_0x3487a7(0x288),'children':(0x0,g[_0x3487a7(0x238)])(_0x3487a7(0x289),{'className':_0x3487a7(0x23f),'style':{'width':Math['floor'](_0x9d12e9*0x64)+'%'}})});}function we(){const _0xab9fe9=_0x156c5f;return(0x0,g[_0xab9fe9(0x35c)])(_0xab9fe9(0x289),{'className':_0xab9fe9(0x27d),'children':[(0x0,g[_0xab9fe9(0x238)])(_0xab9fe9(0x23e),{'className':_0xab9fe9(0x2d4),'children':(0x0,d[_0xab9fe9(0x2b0)])(l[_0xab9fe9(0x277)])['t'](_0xab9fe9(0x203))}),(0x0,g[_0xab9fe9(0x238)])(_0xab9fe9(0x289),{'className':'univer-pl-2\x20univer-pr-4','children':(0x0,g[_0xab9fe9(0x238)])(Ce,{})}),(0x0,g[_0xab9fe9(0x238)])(Se,{})]});}const Te={[w[_0x156c5f(0x1ee)]]:(0x0,g[_0x156c5f(0x238)])(f['SuccessIcon'],{'className':'univer-text-green-500'}),[w['UPLOADING']]:(0x0,g['jsx'])(f[_0x156c5f(0x218)],{'className':_0x156c5f(0x34e)}),[w[_0x156c5f(0x1ff)]]:(0x0,g[_0x156c5f(0x238)])(f[_0x156c5f(0x255)],{'className':_0x156c5f(0x2e9)})};function Ee(){const _0x4090ba=_0x156c5f;let [_0x4e8d2a,_0x4ceb15]=(0x0,p[_0x4090ba(0x33a)])(w[_0x4090ba(0x2fe)]),[_0x2efacd,_0x48a600]=(0x0,p[_0x4090ba(0x33a)])(!0x1),[_0xb44e46,_0x4edace]=(0x0,p[_0x4090ba(0x33a)])([]),_0x54dc07=(0x0,d[_0x4090ba(0x2b0)])(T),_0x170a63=(0x0,d[_0x4090ba(0x2b0)])(l[_0x4090ba(0x277)]);(0x0,p[_0x4090ba(0x2b9)])(()=>{const _0x3e05c1=_0x4090ba;let _0x4fcaf8=_0x54dc07[_0x3e05c1(0x235)][_0x3e05c1(0x379)](_0x1be060=>{_0x48a600(_0x1be060);}),_0x49a5dc=_0x54dc07[_0x3e05c1(0x217)]['subscribe'](_0x34da42=>{_0x4edace(_0x34da42);}),_0x378540=_0x54dc07[_0x3e05c1(0x2be)][_0x3e05c1(0x379)](_0x4c7cba=>{_0x4ceb15(_0x4c7cba);});return()=>{const _0x5134d9=_0x3e05c1;_0x4fcaf8[_0x5134d9(0x1f1)](),_0x49a5dc[_0x5134d9(0x1f1)](),_0x378540[_0x5134d9(0x1f1)]();};},[]);function _0x4dae9d(){_0x48a600(!0x1);}function _0x249754(_0x3671a2){const _0x4b2ef1=_0x4090ba;switch(_0x3671a2){case w[_0x4b2ef1(0x1ee)]:return _0x170a63['t'](_0x4b2ef1(0x376));case w[_0x4b2ef1(0x2fe)]:return _0x170a63['t']('exchange.uploading');case w[_0x4b2ef1(0x1ff)]:return _0x170a63['t'](_0x4b2ef1(0x278));default:return'';}}return _0x2efacd&&(0x0,g[_0x4090ba(0x35c)])(_0x4090ba(0x289),{'className':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20univer-shadow-md\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20','children':[(0x0,g[_0x4090ba(0x35c)])(_0x4090ba(0x289),{'className':_0x4090ba(0x365),'children':[(0x0,g[_0x4090ba(0x35c)])('span',{'className':_0x4090ba(0x2ad),'children':[(0x0,g['jsx'])('span',{'className':'univer-h-6\x20univer-text-2xl','children':Te[_0x4e8d2a]}),(0x0,g['jsx'])(_0x4090ba(0x23e),{'className':_0x4090ba(0x28c),'children':_0x249754(_0x4e8d2a)})]}),(0x0,g[_0x4090ba(0x238)])(_0x4090ba(0x23e),{'className':_0x4090ba(0x35b),'onClick':_0x4dae9d,'children':(0x0,g['jsx'])(f[_0x4090ba(0x27e)],{})})]}),(0x0,g[_0x4090ba(0x35c)])('div',{'children':[_0x4e8d2a===w[_0x4090ba(0x2fe)]&&(0x0,g[_0x4090ba(0x238)])(we,{}),_0x4e8d2a===w['ERROR']&&(0x0,g[_0x4090ba(0x238)])(be,{}),_0xb44e46[_0x4090ba(0x2e0)]>0x0&&(0x0,g[_0x4090ba(0x238)])(ae,{'list':_0xb44e46}),_0x4e8d2a===w[_0x4090ba(0x1ee)]&&(0x0,g[_0x4090ba(0x238)])(xe,{'count':_0xb44e46[_0x4090ba(0x2e0)]})]})]});}function De(){const _0x80cd68=_0x156c5f;return(0x0,g[_0x80cd68(0x238)])(Ee,{});}let Q=class extends l[_0x156c5f(0x316)]{constructor(_0x1ae0b6,_0x29c28e){const _0x42fc7a=_0x156c5f;super(),this[_0x42fc7a(0x332)]=_0x1ae0b6,this['_uiPartsService']=_0x29c28e,this[_0x42fc7a(0x324)]();}['_registerComponents'](){const _0x507c40=_0x156c5f;this[_0x507c40(0x2d5)](this[_0x507c40(0x250)][_0x507c40(0x279)](d[_0x507c40(0x232)][_0x507c40(0x30a)],()=>(0x0,d[_0x507c40(0x314)])(De,this[_0x507c40(0x332)])));}};Q=z([R(0x0,(0x0,l[_0x156c5f(0x28d)])(l[_0x156c5f(0x2bd)])),R(0x1,d[_0x156c5f(0x214)])],Q);let $=class extends l[_0x156c5f(0x1fb)]{constructor(_0x51ff8f=x,_0x3196ca,_0x1c248b){const _0x2118f7=_0x156c5f;super(),this[_0x2118f7(0x20e)]=_0x51ff8f,this[_0x2118f7(0x332)]=_0x3196ca,this[_0x2118f7(0x328)]=_0x1c248b;let {..._0x114621}=(0x0,l[_0x2118f7(0x25d)])({},x,this['_config']);this[_0x2118f7(0x328)][_0x2118f7(0x2ab)](b,_0x114621);}[_0x156c5f(0x1e2)](){const _0x567615=_0x156c5f;(0x0,l[_0x567615(0x308)])(this[_0x567615(0x332)],[[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[V,{'useClass':H}],[T,{'useClass':ie}]]);}[_0x156c5f(0x237)](){const _0x3a1813=_0x156c5f;(0x0,l[_0x3a1813(0x2f8)])(this[_0x3a1813(0x332)],[[Q],[X]]);}};C($,_0x156c5f(0x302),_0x156c5f(0x261)),C($,'packageName',ee),C($,'version',te),$=z([(0x0,l[_0x156c5f(0x1de)])(u[_0x156c5f(0x348)],c[_0x156c5f(0x246)]),R(0x1,(0x0,l['Inject'])(l[_0x156c5f(0x2bd)])),R(0x2,l[_0x156c5f(0x264)])],$),exports[_0x156c5f(0x271)]=b,Object[_0x156c5f(0x366)](exports,'ExchangeOperateService',{'enumerable':!0x0,'get':function(){return Z;}}),Object['defineProperty'](exports,_0x156c5f(0x2c9),{'enumerable':!0x0,'get':function(){return Y;}}),exports[_0x156c5f(0x21c)]=X,exports[_0x156c5f(0x213)]=J,exports[_0x156c5f(0x33b)]=V,exports[_0x156c5f(0x30d)]=T,Object[_0x156c5f(0x366)](exports,_0x156c5f(0x1f7),{'enumerable':!0x0,'get':function(){return H;}}),Object[_0x156c5f(0x366)](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x156c5f(0x31e)]=De,exports['UploadNotificationService']=ie,exports['UploadNotificationState']=w,exports[_0x156c5f(0x2b6)]=N,exports[_0x156c5f(0x211)]=P,exports[_0x156c5f(0x2a4)]=F,exports[_0x156c5f(0x2c3)]=W,exports[_0x156c5f(0x22c)]=K,exports[_0x156c5f(0x355)]=G,exports[_0x156c5f(0x22a)]=U;
|
|
1
|
+
const _0x401a54=_0x4ad3;(function(_0x79ae43,_0x1b006f){const _0x4c748d=_0x4ad3,_0x208f0c=_0x79ae43();while(!![]){try{const _0x580583=-parseInt(_0x4c748d(0x254))/0x1+-parseInt(_0x4c748d(0x1c2))/0x2+-parseInt(_0x4c748d(0x2ba))/0x3*(-parseInt(_0x4c748d(0x2af))/0x4)+-parseInt(_0x4c748d(0x15e))/0x5+parseInt(_0x4c748d(0x20c))/0x6+parseInt(_0x4c748d(0x2ab))/0x7*(parseInt(_0x4c748d(0x236))/0x8)+parseInt(_0x4c748d(0x16c))/0x9;if(_0x580583===_0x1b006f)break;else _0x208f0c['push'](_0x208f0c['shift']());}catch(_0x4193b0){_0x208f0c['push'](_0x208f0c['shift']());}}}(_0x20dd,0x69394),Object['defineProperty'](exports,Symbol['toStringTag'],{'value':_0x401a54(0x18a)}));var e=Object['create'],t=Object[_0x401a54(0x19e)],n=Object[_0x401a54(0x1e3)],r=Object[_0x401a54(0x2b3)],i=Object['getPrototypeOf'],a=Object[_0x401a54(0x22a)][_0x401a54(0x152)],o=(_0x20b16d,_0x1b1d94,_0x2db46e,_0x2fe523)=>{const _0x9a121f=_0x401a54;if(_0x1b1d94&&typeof _0x1b1d94==_0x9a121f(0x238)||typeof _0x1b1d94=='function'){for(var _0x558ee6=r(_0x1b1d94),_0x47c8ae=0x0,_0x15b424=_0x558ee6[_0x9a121f(0x2b0)],_0x3a70ab;_0x47c8ae<_0x15b424;_0x47c8ae++)_0x3a70ab=_0x558ee6[_0x47c8ae],!a[_0x9a121f(0x1fa)](_0x20b16d,_0x3a70ab)&&_0x3a70ab!==_0x2db46e&&t(_0x20b16d,_0x3a70ab,{'get':(_0x2d095b=>_0x1b1d94[_0x2d095b])[_0x9a121f(0x16e)](null,_0x3a70ab),'enumerable':!(_0x2fe523=n(_0x1b1d94,_0x3a70ab))||_0x2fe523[_0x9a121f(0x22d)]});}return _0x20b16d;},s=(_0x591e89,_0x5b6d99,_0x1e8579)=>(_0x1e8579=_0x591e89==null?{}:e(i(_0x591e89)),o(_0x5b6d99||!_0x591e89||!_0x591e89[_0x401a54(0x26f)]?t(_0x1e8579,_0x401a54(0x1fb),{'value':_0x591e89,'enumerable':!0x0}):_0x1e8579,_0x591e89));let c=require(`@univerjs-pro/license`),l=require(`@univerjs/core`),u=require(`@univerjs/network`),d=require(`@univerjs/ui`),f=require(`@univerjs/icons`),p=require(`react`),m=require(`rxjs`),h=require(`@univerjs/design`),g=require(`react/jsx-runtime`),_=require(`@univerjs/protocol`),v=require(`@univerjs-pro/collaboration`),y=require(`pako`);y=s(y);const b=_0x401a54(0x24e);Symbol(b);const x={};var ee='@univerjs-pro/exchange-client',te='0.19.0';function S(_0x2f89c0){'@babel/helpers - typeof';const _0x89f750=_0x401a54;return S=typeof Symbol==_0x89f750(0x297)&&typeof Symbol[_0x89f750(0x15d)]=='symbol'?function(_0x3a47d0){return typeof _0x3a47d0;}:function(_0x36b3b6){const _0x3a457f=_0x89f750;return _0x36b3b6&&typeof Symbol==_0x3a457f(0x297)&&_0x36b3b6['constructor']===Symbol&&_0x36b3b6!==Symbol['prototype']?_0x3a457f(0x188):typeof _0x36b3b6;},S(_0x2f89c0);}function ne(_0x32553d,_0x1f30ca){const _0x562fa0=_0x401a54;if(S(_0x32553d)!='object'||!_0x32553d)return _0x32553d;var _0x590081=_0x32553d[Symbol[_0x562fa0(0x191)]];if(_0x590081!==void 0x0){var _0x2b06de=_0x590081['call'](_0x32553d,_0x1f30ca||'default');if(S(_0x2b06de)!='object')return _0x2b06de;throw TypeError(_0x562fa0(0x164));}return(_0x1f30ca===_0x562fa0(0x2a7)?String:Number)(_0x32553d);}function re(_0x21b503){const _0xdf9e76=_0x401a54;var _0x389ba1=ne(_0x21b503,_0xdf9e76(0x2a7));return S(_0x389ba1)==_0xdf9e76(0x188)?_0x389ba1:_0x389ba1+'';}function C(_0x375070,_0x441873,_0x2b09a5){return(_0x441873=re(_0x441873))in _0x375070?Object['defineProperty'](_0x375070,_0x441873,{'value':_0x2b09a5,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x375070[_0x441873]=_0x2b09a5,_0x375070;}function _0x20dd(){const _0x554788=['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','_exchangeService','univer-pro.exchange-client.request.service','UNIVER_UNKNOWN','UploadNotificationContainer','Tooltip','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','workbook.json','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','ExchangeService','href','sheetBlocks','UniverLicensePlugin','SIGN_URL','list$','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','createUnit','exchange-client.config','input','FileId','originalMeta','Failed\x20to\x20get\x20unitID\x20from\x20task','IUIPartsService','826098DWYoyv','exchange.downloading','ClockIcon','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','getTextFromUrl','exchange.wait','_totalUploadTaskCount','UploadNotificationService','HTTPResponseError','univer-text-sm\x20univer-text-gray-500','touchDependencies','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','has','_getMaxPollingTime','complete','requestState$','uploadFileServerUrl','button','univer-flex\x20univer-h-5\x20univer-text-xl','min','univer-pro.exchange-client.operate.service','univer-mt-5\x20univer-flex\x20univer-flex-col','_extractErrorDetail','Subject','decorate','DependentOn','__esModule','export\x20error','CONNECTOR_DATA_TOO_LARGE','UPLOADING','fileID','XlsxMultiIcon','_logService','useDependency','_getMinSheetRowCount','export','getCurrentUnitForType','IUploadNotificationService','_state$','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','b64EncodeUnicode','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_completeProgress','multiple','jsonID','shift','Error','UniverType','unshift','_getExportURL','status','ExchangeOperateService','minSheetColumnCount','getResourcesRequest','none','EXPORT','_list$','match','resolve','keys','BehaviorSubject','workbook','text','{taskID}','currentTarget','merge','function','Plugin','useState','uploadFileToUnitId','exportDOCXBySnapshot','application/vnd.openxmlformats-officedocument.wordprocessingml.document','file.json','transformSnapshotJsonToWorkbookData','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','floor','_requestService','exportServerUrl','_getUnitDocJson','GET_TASK','split','post','string','/universer-api/exchange/{type}/export','exchange.uploadAgain','_showDownloadMessage','270172vrVbzS','getUniverTypeByFile','disposeUnit','message','12JzgVwR','length','onStarting','add','getOwnPropertyNames','xlsm','_emitProgress','SUCCESS','?size=','link','addEventListener','777579rMocKF','getTaskServerUrl','downloadEndpointUrl','UNIVER_EXCHANGE_CLIENT_PLUGIN','div','span','_getUnitName','textDecoder','UNRECOGNIZED','some','Injector','sign\x20url\x20error','packageName','application/json','SuccessIcon','upload','append','GET_JSON','Info','_httpService','trim','transformWorkbookDataToSnapshot','type','ErrorIcon','clearTaskInterrupted','data','taskID','_uploadTaskNotDone','Warning','LocaleService','INTERNAL_ERROR','{fileID}','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','CONTENT','_uploadNotificationService','subscribe','docx','exportXLSXByUnitId','/universer-api/exchange/task/{taskID}','getDeserializedSheetBlock','UniverExchangeClientPlugin','decode','pushLink','hasOwnProperty','Failed\x20to\x20get\x20file\x20from\x20url','headers','Disposable','importDOCXToSnapshot','setTaskInterrupted','searchParams','sheets','MessageType','_signUrl','options','iterator','3805080UMhKta','_getUnitIDDoc','upload\x20request\x20failed','unsubscribe','isArray','xlsx','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','connectInjector','clsx','Get\x20outputType\x20error','UNDEFINED','statusText','replace','error','9551223TMhjRV','saveSnapshot','bind','exchange.interrupt','/universer-api/exchange/{type}/import',':\x20HTTP\x20','registerDependencies','importWorkbookDataToUnitId','univer-text-red-500','ERROR','UniverInstanceType','IUniverInstanceService','_refresh','IMessageService','UPLOAD','_registerComponents','values','visible$','Inject','encode','_addDoneTask','toString','UniverNetworkPlugin','UNIVER_DOC','getConfig','b64DecodeUnicode','saveSheetBlock','_univerInstanceService','symbol','importXLSXToSnapshot','Module','Error\x20fetching\x20file\x20from\x20URL:','JSON','RequestService','application/vnd.ms-excel.sheet.macroEnabled.12','state$','_config','toPrimitive','createElement','GET_FILE','asObservable','fetchMissingChangesets','HTTPService','ErrorCode','UploadNotificationState','registerComponent','_sheetBlockCache','importServerUrl','accept','_getEnableServerSideComputing','defineProperty','body','_requestState$','_importToSnapshot','UNIT','unit','exchange.uploading','removeChild','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Method\x20not\x20implemented.','file','UNIVER_PROJECT','getSheetBlocksFromSnapshot','outputType','univer-text-green-500','univer-text-blue-500','UNIVER_SLIDE','done','files','exportXLSXBySnapshot','_getIgnoreTableExport','_visible$','getCurrentUnitOfType','import\x20error','_buildHttpErrorMessage','_uiPartsService','Failed\x20to\x20parse\x20json','blob','import','origin','ShareRangeIcon','catch','UNIVER_SHEET','/universer-api/file/{fileID}/sign-url','univer-pl-2\x20univer-pr-4','xltx','1345646LRdpFG','textEncoder','_messageService','IExchangeOperateService','url','importFileToUnitId','upload\x20failed:\x20missing\x20FileId\x20in\x20response','noreferrer','_getTaskURL','IConfigService','_taskInterrupted','exchange.networkError','progress$','_showNetworkError','Failed\x20to\x20transform\x20snapshot\x20to\x20string','copyFileMeta','pending','rev','\x20-\x20','getUnitId','title','_buildProtocolErrorMessage','toLowerCase','_addTotalCount','exportDOCXByUnitId','importXLSXToUnitId','_getUnitID','_configService','show','getTask','_getLinkByUnitId','useEffect','success','getOwnPropertyDescriptor','number','_list','_doneUploadTaskCount','_getUnitJson','includes','IExchangeService','_injector','Failed\x20to\x20get\x20text\x20from\x20url','transformSnapshotToDocumentData','map','_showUploadMessage','display','IMPORT','transformSnapshotJsonToDocumentData','buffer','getSnapshot','_export','{type}','_getSignURL','_importFileToUnitId','_getUploadFileURL','_progress$','call','default','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','exchange.uploadSuccess','stringify','ILogService','_upload','parse','jsxs','next','IRequestService','download','dispose','version','_getMinSheetColumnCount','jsx','_getDownloadEndpointURL','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','4881066wZoziH','saveChangeset','style','_exportBySnapshot','signUrl','code','createIdentifier','set','doc','signUrlServerUrl','disableCellImageConversion','_importTaskId','snapshot','Success','No\x20file\x20selected','SlideMultiIcon','pluginName','updateState','file.','upload\x20failed:\x20FileId\x20is\x20empty','deflateRaw','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','interruptImportTask','exchange.tooLarge','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','_localeService','size','get','blockID','_clearProgress','prototype','name','_getDisableCellImageConversion','enumerable','join','getUnitOnRev','_blank','minSheetRowCount','onReady','FileSource','&flate=','exchange.fileTypeError','8TKCQTK','disposeWithMe','object','forEach','getSheetBlock','_import'];_0x20dd=function(){return _0x554788;};return _0x20dd();}let w=function(_0x154887){const _0x3bcf0d=_0x401a54;return _0x154887[_0x154887[_0x3bcf0d(0x272)]=0x0]='UPLOADING',_0x154887[_0x154887[_0x3bcf0d(0x2b6)]=0x1]=_0x3bcf0d(0x2b6),_0x154887[_0x154887[_0x3bcf0d(0x175)]=0x2]=_0x3bcf0d(0x175),_0x154887;}({});const T=(0x0,l['createIdentifier'])('univer-pro.exchange-client.upload-notification.service');var ie=class extends l[_0x401a54(0x155)]{constructor(){const _0x8d2360=_0x401a54;super(),C(this,_0x8d2360(0x1b3),new m[(_0x8d2360(0x26c))]()),C(this,'_state$',new m[(_0x8d2360(0x26c))]()),C(this,_0x8d2360(0x28d),new m['Subject']()),C(this,_0x8d2360(0x17d),this[_0x8d2360(0x1b3)][_0x8d2360(0x194)]()),C(this,_0x8d2360(0x18f),this[_0x8d2360(0x27b)][_0x8d2360(0x194)]()),C(this,_0x8d2360(0x24b),this[_0x8d2360(0x28d)][_0x8d2360(0x194)]()),C(this,_0x8d2360(0x1e5),[]);}[_0x401a54(0x206)](){const _0x2353a1=_0x401a54;super[_0x2353a1(0x206)](),this[_0x2353a1(0x1b3)][_0x2353a1(0x263)](),this[_0x2353a1(0x27b)][_0x2353a1(0x263)](),this['_list$'][_0x2353a1(0x263)]();}['show'](){const _0x1f6450=_0x401a54;this[_0x1f6450(0x1b3)][_0x1f6450(0x203)](!0x0);}['hide'](){const _0x5e5181=_0x401a54;this[_0x5e5181(0x1b3)]['next'](!0x1);}[_0x401a54(0x21d)](_0x1366e2){const _0x1d47af=_0x401a54;this['_state$'][_0x1d47af(0x203)](_0x1366e2);}[_0x401a54(0x151)](_0x59b3ca){const _0x14275b=_0x401a54;this['_list'][_0x14275b(0x285)](_0x59b3ca),this[_0x14275b(0x28d)][_0x14275b(0x203)](this['_list']);}};function ae(_0x484711){const _0x449cb7=_0x401a54;let {list:_0x13ca35}=_0x484711;function _0x272d3b(_0x548a28){const _0x35757c=_0x4ad3;switch(_0x548a28){case 0x1:return(0x0,g[_0x35757c(0x209)])(f['DocMultiIcon'],{});case 0x2:return(0x0,g[_0x35757c(0x209)])(f[_0x35757c(0x274)],{});case 0x3:return(0x0,g[_0x35757c(0x209)])(f[_0x35757c(0x21b)],{});default:return null;}}return(0x0,g[_0x449cb7(0x209)])(_0x449cb7(0x2be),{'className':(0x0,h[_0x449cb7(0x166)])(_0x449cb7(0x20b),h[_0x449cb7(0x23c)]),'children':(0x0,g[_0x449cb7(0x209)])('ul',{'className':_0x449cb7(0x224),'children':_0x13ca35[_0x449cb7(0x1ed)]((_0x2ae780,_0x5e643a)=>(0x0,g[_0x449cb7(0x209)])('li',{'children':(0x0,g[_0x449cb7(0x202)])('a',{'className':_0x449cb7(0x243),'href':_0x2ae780[_0x449cb7(0x2b8)],'target':_0x449cb7(0x230),'rel':_0x449cb7(0x1c9),'children':[(0x0,g[_0x449cb7(0x202)])(_0x449cb7(0x2bf),{'className':_0x449cb7(0x24c),'children':[(0x0,g[_0x449cb7(0x209)])(_0x449cb7(0x2bf),{'className':_0x449cb7(0x267),'children':_0x272d3b(_0x2ae780[_0x449cb7(0x2d0)])}),(0x0,g[_0x449cb7(0x209)])(h[_0x449cb7(0x242)],{'showIfEllipsis':!0x0,'title':_0x2ae780[_0x449cb7(0x22b)],'asChild':!0x0,'children':(0x0,g[_0x449cb7(0x209)])(_0x449cb7(0x2bf),{'className':_0x449cb7(0x257),'children':_0x2ae780[_0x449cb7(0x22b)]})})]}),(0x0,g[_0x449cb7(0x209)])(_0x449cb7(0x2bf),{'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,g[_0x449cb7(0x209)])(f[_0x449cb7(0x1bc)],{})})]})},_0x5e643a))})});}const E=_0x401a54(0x29c),D=_0x401a54(0x260),O=_0x401a54(0x18e),k='application/vnd.openxmlformats-officedocument.spreadsheetml.template',A='application/vnd.openxmlformats-officedocument.presentationml.presentation',j={[_['UniverType'][_0x401a54(0x240)]]:[''],[_['UniverType']['UNIVER_DOC']]:[E],[_[_0x401a54(0x284)][_0x401a54(0x1be)]]:[D,O,k],[_[_0x401a54(0x284)][_0x401a54(0x1ae)]]:[A],[_['UniverType'][_0x401a54(0x1a9)]]:[''],[_[_0x401a54(0x284)][_0x401a54(0x2c2)]]:['']},M={[E]:_0x401a54(0x14b),[D]:_0x401a54(0x163),[O]:_0x401a54(0x2b4),[k]:_0x401a54(0x1c1),[A]:'pptx'};function oe(_0xfd1aa2,_0x57d9c4,_0x393026){const _0x13ee04=_0x401a54;let _0xe4235c=document[_0x13ee04(0x192)]('a');_0xe4235c[_0x13ee04(0x247)]=_0xfd1aa2,_0xe4235c[_0x13ee04(0x20e)][_0x13ee04(0x1ef)]=_0x13ee04(0x28b),_0xe4235c[_0x13ee04(0x205)]=_0x57d9c4+'.'+_0x393026,document[_0x13ee04(0x19f)]['appendChild'](_0xe4235c),_0xe4235c['click'](),document[_0x13ee04(0x19f)][_0x13ee04(0x1a5)](_0xe4235c);}function N(_0x5846d7,_0x38ecbf,_0x150f87){let _0x1e94e4=URL['createObjectURL'](_0x5846d7);oe(_0x1e94e4,_0x38ecbf,_0x150f87),URL['revokeObjectURL'](_0x1e94e4);}function P(_0x5831be){const _0x5c4933=_0x401a54;let _0x346c1f=_0x5831be[_0x5c4933(0x22b)][_0x5c4933(0x2a5)]('.')['pop']();if(!_0x346c1f)return _[_0x5c4933(0x284)][_0x5c4933(0x240)];let _0x370634=se(),_0x497c59=_[_0x5c4933(0x284)][_0x5c4933(0x240)];return _0x370634[_0x5c4933(0x2c3)](_0x32d6ac=>ce(_0x346c1f,_0x32d6ac)?(_0x497c59=_0x32d6ac,!0x0):!0x1),_0x497c59;}function se(){const _0x1d8659=_0x401a54;return Object[_0x1d8659(0x17c)](_['UniverType'])['filter'](_0x4136df=>typeof _0x4136df==_0x1d8659(0x1e4));}function ce(_0x120a18,_0x446d5d){const _0x4cf1c8=_0x401a54;return j[_0x446d5d][_0x4cf1c8(0x1ed)](_0x108925=>(M[_0x108925]||'')[_0x4cf1c8(0x1d8)]())[_0x4cf1c8(0x1e8)](_0x120a18['toLowerCase']());}function F(_0x2deebb,_0x58bd2c=!0x1){const _0x4cbf01=_0x401a54;let _0x238894=_0x2deebb[_0x4cbf01(0x1ed)](_0x23f83e=>j[_0x23f83e])['join'](',');return new Promise((_0x41ea48,_0x397435)=>{const _0x16f307=_0x4cbf01;let _0x2a9b39=document[_0x16f307(0x192)](_0x16f307(0x24f));_0x2a9b39[_0x16f307(0x2d0)]=_0x16f307(0x1a8),_0x2a9b39[_0x16f307(0x19c)]=_0x238894,_0x2a9b39[_0x16f307(0x280)]=_0x58bd2c,_0x2a9b39[_0x16f307(0x2b9)]('change',_0x16fe80=>{const _0x1da97e=_0x16f307;let _0x5d1034=_0x16fe80[_0x1da97e(0x295)];if(!_0x5d1034['files']||_0x5d1034[_0x1da97e(0x1b0)]['length']===0x0)throw _0x397435(null),Error(_0x1da97e(0x21a));_0x41ea48(_0x5d1034[_0x1da97e(0x1b0)]);}),_0x2a9b39['click']();});}async function I(_0xadc2ff,_0x3ea533){const _0x106a21=_0x401a54;try{var _0x556d68,_0x3f9f38,_0xb96bfb;let _0xb64c5c=await _0x3ea533[_0x106a21(0x227)](_0xadc2ff,{'responseType':_0x106a21(0x1b9)}),_0x20a62d=_0xb64c5c[_0x106a21(0x19f)],_0x38996b=(_0x556d68=(_0x3f9f38=_0xb64c5c[_0x106a21(0x154)][_0x106a21(0x227)]('Content-Type'))==null?void 0x0:_0x3f9f38[_0x106a21(0x22e)](',\x20'))==null?'application/octet-stream':_0x556d68,_0x3c9883=_0x106a21(0x21e)+(M[_0x38996b]||'xlsx'),_0x2ef29d=(_0xb96bfb=_0xb64c5c['headers'][_0x106a21(0x227)]('content-disposition'))==null?void 0x0:_0xb96bfb[_0x106a21(0x22e)](',\x20');if(_0x2ef29d){let _0x6fbbf0=_0x2ef29d[_0x106a21(0x28e)](/filename=(.+)/);_0x6fbbf0&&_0x6fbbf0[0x1]&&(_0x3c9883=_0x6fbbf0[0x1]);}else _0x3c9883=le(_0xadc2ff)||_0x3c9883;return new File([_0x20a62d],_0x3c9883,{'type':_0x38996b});}catch(_0x45947c){console[_0x106a21(0x16b)](_0x106a21(0x18b),_0x45947c);return;}}function le(_0x1d07f1){const _0x24313b=_0x401a54;try{return new URL(_0x1d07f1)['pathname']['split']('/')['pop']();}catch(_0x5c6516){console[_0x24313b(0x16b)]('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x5c6516);return;}}function ue(_0x3b05b9){const _0xb3767f=_0x401a54;let _0x10e8c4=new Blob([_0x3b05b9[_0xb3767f(0x1f2)]],{'type':_0xb3767f(0x2c7)});return new File([_0x10e8c4],_0xb3767f(0x29d));}function L(_0x8f4238,_0x5cd0db){const _0x1cff42=_0x401a54;return _0x8f4238['replace'](_0x1cff42(0x1f5),_0x5cd0db);}function _0x4ad3(_0x5b1bc8,_0x5a192b){_0x5b1bc8=_0x5b1bc8-0x145;const _0x20dd0c=_0x20dd();let _0x4ad30a=_0x20dd0c[_0x5b1bc8];return _0x4ad30a;}function de(_0xfd25cd,_0x11b5f9){const _0x4ce560=_0x401a54;return _0xfd25cd[_0x4ce560(0x16a)](_0x4ce560(0x294),_0x11b5f9);}function fe(_0x5c4054,_0x29a8a6){const _0x1f2bd2=_0x401a54;return _0x5c4054[_0x1f2bd2(0x16a)](_0x1f2bd2(0x146),_0x29a8a6);}function R(_0x10aaad,_0x12f580){return function(_0x455ff4,_0x5cc0cd){_0x12f580(_0x455ff4,_0x5cc0cd,_0x10aaad);};}function z(_0xd2e8b3,_0xc71600,_0x233052,_0x54541a){const _0x215654=_0x401a54;var _0x332c9b=arguments['length'],_0x517a8a=_0x332c9b<0x3?_0xc71600:_0x54541a===null?_0x54541a=Object[_0x215654(0x1e3)](_0xc71600,_0x233052):_0x54541a,_0xa955e2;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x215654(0x297))_0x517a8a=Reflect[_0x215654(0x26d)](_0xd2e8b3,_0xc71600,_0x233052,_0x54541a);else{for(var _0x129337=_0xd2e8b3[_0x215654(0x2b0)]-0x1;_0x129337>=0x0;_0x129337--)(_0xa955e2=_0xd2e8b3[_0x129337])&&(_0x517a8a=(_0x332c9b<0x3?_0xa955e2(_0x517a8a):_0x332c9b>0x3?_0xa955e2(_0xc71600,_0x233052,_0x517a8a):_0xa955e2(_0xc71600,_0x233052))||_0x517a8a);}return _0x332c9b>0x3&&_0x517a8a&&Object[_0x215654(0x19e)](_0xc71600,_0x233052,_0x517a8a),_0x517a8a;}let B=function(_0xdfe4a9){const _0x21f411=_0x401a54;return _0xdfe4a9[_0xdfe4a9[_0x21f411(0x168)]=0x0]=_0x21f411(0x168),_0xdfe4a9[_0xdfe4a9['UNIT']=0x1]='UNIT',_0xdfe4a9[_0xdfe4a9['JSON']=0x2]=_0x21f411(0x18c),_0xdfe4a9[_0xdfe4a9[_0x21f411(0x2c2)]=-0x1]=_0x21f411(0x2c2),_0xdfe4a9;}({});const V=(0x0,l[_0x401a54(0x212)])(_0x401a54(0x23f));let H=class{constructor(_0x193656,_0x45fc87){const _0x38fc25=_0x401a54;this[_0x38fc25(0x1dd)]=_0x193656,this[_0x38fc25(0x2cd)]=_0x45fc87,C(this,'_taskInterrupted',new Set());}[_0x401a54(0x206)](){}['setTaskInterrupted'](_0x171a82){const _0x2ec0df=_0x401a54;this[_0x2ec0df(0x1cc)][_0x2ec0df(0x2b2)](_0x171a82);}['clearTaskInterrupted'](){const _0x521fa4=_0x401a54;this[_0x521fa4(0x1cc)]['clear']();}async['upload'](_0xfe1f67,_0x4f918b=0x0,_0x39b474=!0x1){const _0x5501c1=_0x401a54;if(typeof _0xfe1f67==_0x5501c1(0x2a7)){let _0x7148c8=await I(_0xfe1f67,this[_0x5501c1(0x2cd)]);if(!_0x7148c8)throw Error(_0x5501c1(0x245));_0xfe1f67=_0x7148c8;}_0x4f918b=_0x4f918b||_0xfe1f67[_0x5501c1(0x226)];let _0x255162=new FormData();_0x255162[_0x5501c1(0x2ca)](_0x5501c1(0x1a8),_0xfe1f67);try{let _0x31e243=this[_0x5501c1(0x1f8)]()+_0x5501c1(0x2b7)+_0x4f918b+'&source='+_[_0x5501c1(0x233)]['HttpImport']+_0x5501c1(0x234)+_0x39b474,_0x37e1b3={'body':_0x255162},_0x220844=(await this['_httpService']['post'](_0x31e243,_0x37e1b3))[_0x5501c1(0x19f)];if(_0x220844[_0x5501c1(0x16b)]&&_0x220844[_0x5501c1(0x16b)]['code']!==_[_0x5501c1(0x197)]['OK'])throw Error(this[_0x5501c1(0x1d7)]('upload\x20request\x20failed',_0x220844[_0x5501c1(0x16b)]));return _0x220844;}catch(_0x148d8c){throw _0x148d8c instanceof Error?_0x148d8c:Error(this['_buildHttpErrorMessage'](_0x5501c1(0x160),_0x148d8c));}}async[_0x401a54(0x1ba)](_0x49c3a2){const _0x15695f=_0x401a54;let {fileID:_0x4f2e2f,type:_0x2d5699,outputType:_0xba728,minSheetColumnCount:_0x1ff5cf,minSheetRowCount:_0x40502d}=_0x49c3a2;try{let _0x152c58=L(this['_getImportURL'](),''+_0x2d5699),_0x70ebe0={'body':{'fileID':_0x4f2e2f,'outputType':_0xba728,'minSheetColumnCount':_0x1ff5cf,'minSheetRowCount':_0x40502d}},_0x21a1d8=(await this['_httpService']['post'](_0x152c58,_0x70ebe0))[_0x15695f(0x19f)];return _0x21a1d8[_0x15695f(0x16b)]&&_0x21a1d8[_0x15695f(0x16b)][_0x15695f(0x211)]!==_[_0x15695f(0x197)]['OK']?void 0x0:_0x21a1d8;}catch{return;}}async[_0x401a54(0x278)](_0x5c0aca){const _0x432cd6=_0x401a54;let {unitID:_0x77a487,jsonID:_0x468721,type:_0x402f9f,sscSwitch:_0x121f15,useImageUrl:_0x1a44a0,ignoreTableExport:_0x2dbe88}=_0x5c0aca;try{let _0x28b284=L(this[_0x432cd6(0x286)](),''+_0x402f9f),_0x40bf09={'body':{'unitID':_0x77a487,'jsonID':_0x468721,'type':_0x402f9f,'sscSwitch':_0x121f15,'useImageUrl':_0x1a44a0,'ignoreTableExport':_0x2dbe88}},_0x3c34c0=(await this[_0x432cd6(0x2cd)][_0x432cd6(0x2a6)](_0x28b284,_0x40bf09))[_0x432cd6(0x19f)];return _0x3c34c0[_0x432cd6(0x16b)]&&_0x3c34c0[_0x432cd6(0x16b)][_0x432cd6(0x211)]!==_[_0x432cd6(0x197)]['OK']?void 0x0:_0x3c34c0;}catch{return;}}async[_0x401a54(0x1df)](_0x2e1401){return new Promise((_0x18203e,_0x1a3414)=>{const _0x20157e=_0x4ad3;try{let _0x1a3986=0x0,_0x25b92c=de(this[_0x20157e(0x1ca)](),''+_0x2e1401),_0x4dd297=this['_getMaxPollingTime'](),_0x4d1edb=async()=>{const _0x517878=_0x20157e;if(this['_taskInterrupted'][_0x517878(0x261)](_0x2e1401))return;let _0x198a18=(await this[_0x517878(0x2cd)][_0x517878(0x227)](_0x25b92c))['body'];if(_0x198a18[_0x517878(0x16b)]&&_0x198a18[_0x517878(0x16b)]['code']===_['ErrorCode']['OK']){if(_0x198a18['status']===_0x517878(0x1af))_0x18203e(_0x198a18);else{if(_0x198a18[_0x517878(0x287)]===_0x517878(0x1d2)){let _0xbc9f85=0x3e8;if(_0x1a3986>=_0x4dd297){_0x1a3414(_0x198a18);return;}else _0x1a3986>=0x7530&&(_0xbc9f85=0x1388);_0x1a3986+=_0xbc9f85,setTimeout(_0x4d1edb,_0xbc9f85);}else _0x1a3414(_0x198a18);}}else _0x1a3414(_0x198a18);};_0x4d1edb();}catch(_0x5c351d){_0x1a3414(_0x5c351d instanceof Error?_0x5c351d:Error(String(_0x5c351d)));}});}async[_0x401a54(0x210)](_0x4a48ec){const _0x1de559=_0x401a54;try{let _0x364ac0=fe(this[_0x1de559(0x1f6)](),''+_0x4a48ec);return(await this[_0x1de559(0x2cd)][_0x1de559(0x227)](_0x364ac0))[_0x1de559(0x19f)];}catch{return;}}async[_0x401a54(0x259)](_0x2111a5){const _0x285476=_0x401a54;try{return(await this[_0x285476(0x2cd)][_0x285476(0x227)](_0x2111a5,{'responseType':_0x285476(0x293)}))[_0x285476(0x19f)];}catch{return;}}['_buildProtocolErrorMessage'](_0x4329a7,_0x37af25){const _0x120ee9=_0x401a54;let _0x3a08b8=this[_0x120ee9(0x26b)](_0x37af25);return _0x3a08b8?_0x4329a7+':\x20'+_0x3a08b8:_0x4329a7;}[_0x401a54(0x1b6)](_0x15ce5e,_0x5454d1){const _0x37fab=_0x401a54;if(_0x5454d1 instanceof u[_0x37fab(0x25d)]){let _0x104fb5=typeof _0x5454d1[_0x37fab(0x287)]=='number'?''+_0x5454d1[_0x37fab(0x287)]+(_0x5454d1[_0x37fab(0x169)]?'\x20'+_0x5454d1['statusText']:''):void 0x0,_0x49afbf=this['_extractErrorDetail'](_0x5454d1[_0x37fab(0x16b)]);return _0x104fb5&&_0x49afbf?_0x15ce5e+_0x37fab(0x171)+_0x104fb5+_0x37fab(0x1d4)+_0x49afbf:_0x104fb5?_0x15ce5e+_0x37fab(0x171)+_0x104fb5:_0x49afbf?_0x15ce5e+':\x20'+_0x49afbf:_0x15ce5e;}let _0x1dcd5e=this[_0x37fab(0x26b)](_0x5454d1);return _0x1dcd5e?_0x15ce5e+':\x20'+_0x1dcd5e:_0x15ce5e;}[_0x401a54(0x26b)](_0x153021){const _0x5cbc0f=_0x401a54;if(typeof _0x153021==_0x5cbc0f(0x2a7)){let _0x2723dd=_0x153021[_0x5cbc0f(0x2ce)]();return _0x2723dd[_0x5cbc0f(0x2b0)]>0x0?_0x2723dd:void 0x0;}if(_0x153021 instanceof Error)return this[_0x5cbc0f(0x26b)](_0x153021[_0x5cbc0f(0x2ae)]);if(!_0x153021||typeof _0x153021!='object'||Array[_0x5cbc0f(0x162)](_0x153021))return;let _0x9a543a=_0x153021,_0x49ea77=this[_0x5cbc0f(0x26b)](_0x9a543a[_0x5cbc0f(0x2ae)]);if(_0x49ea77)return _0x49ea77;if(_0x9a543a[_0x5cbc0f(0x16b)]&&typeof _0x9a543a[_0x5cbc0f(0x16b)]==_0x5cbc0f(0x238)&&!Array['isArray'](_0x9a543a[_0x5cbc0f(0x16b)])){let _0x5b66e6=this[_0x5cbc0f(0x26b)](_0x9a543a[_0x5cbc0f(0x16b)]);if(_0x5b66e6)return _0x5b66e6;}}[_0x401a54(0x1f8)](){const _0xeaab3c=_0x401a54;var _0x2571bf;let _0x23c003=this[_0xeaab3c(0x1dd)][_0xeaab3c(0x184)](b);return(_0x2571bf=_0x23c003==null?void 0x0:_0x23c003[_0xeaab3c(0x265)])==null?'/universer-api/stream/file/upload':_0x2571bf;}['_getImportURL'](){const _0xc354ac=_0x401a54;var _0x47ddec;let _0x995fd9=this['_configService']['getConfig'](b);return(_0x47ddec=_0x995fd9==null?void 0x0:_0x995fd9[_0xc354ac(0x19b)])==null?_0xc354ac(0x170):_0x47ddec;}['_getExportURL'](){const _0x4030fc=_0x401a54;var _0x37d60f;let _0xf882f9=this['_configService'][_0x4030fc(0x184)](b);return(_0x37d60f=_0xf882f9==null?void 0x0:_0xf882f9[_0x4030fc(0x2a2)])==null?_0x4030fc(0x2a8):_0x37d60f;}[_0x401a54(0x1ca)](){const _0x4380b6=_0x401a54;var _0x6772ad;let _0x46315c=this['_configService'][_0x4380b6(0x184)](b);return(_0x6772ad=_0x46315c==null?void 0x0:_0x46315c[_0x4380b6(0x2bb)])==null?_0x4380b6(0x14d):_0x6772ad;}[_0x401a54(0x1f6)](){const _0x5440e3=_0x401a54;var _0xbeaf9f;let _0x2a0b0b=this[_0x5440e3(0x1dd)][_0x5440e3(0x184)](b);return(_0xbeaf9f=_0x2a0b0b==null?void 0x0:_0x2a0b0b[_0x5440e3(0x215)])==null?_0x5440e3(0x1bf):_0xbeaf9f;}[_0x401a54(0x262)](){const _0x4d8d4b=_0x401a54;var _0x330130;let _0x3393af=this[_0x4d8d4b(0x1dd)]['getConfig'](b);return(_0x330130=_0x3393af==null?void 0x0:_0x3393af['maxTimeoutTime'])==null?0x1d4c0:_0x330130;}};H=z([R(0x0,l[_0x401a54(0x1cb)]),R(0x1,(0x0,l['Inject'])(u['HTTPService']))],H);function pe(_0x9d662e){const _0x58f305=_0x401a54;let _0xa7005f=_0x9d662e[_0x58f305(0x292)];if(!_0xa7005f)return null;let _0xa46a57={};_0xa7005f[_0x58f305(0x159)]&&Object[_0x58f305(0x290)](_0xa7005f[_0x58f305(0x159)])['forEach'](_0x2094bf=>{const _0x486884=_0x58f305;let _0x470353=_0xa7005f[_0x486884(0x159)][_0x2094bf];_0xa46a57[_0x2094bf]={..._0x470353,'originalMeta':(0x0,v[_0x486884(0x27d)])(v[_0x486884(0x2c1)][_0x486884(0x150)](_0x470353[_0x486884(0x251)]))};});let _0x2c7be3=(0x0,v[_0x58f305(0x27d)])(v[_0x58f305(0x2c1)][_0x58f305(0x150)](_0xa7005f[_0x58f305(0x251)]));return{..._0x9d662e,'workbook':{..._0xa7005f,'originalMeta':_0x2c7be3,'sheets':_0xa46a57},'doc':{}};}function me(_0x421ee0){const _0x14c94e=_0x401a54;let _0x5325ac=_0x421ee0[_0x14c94e(0x214)];if(!_0x5325ac)return null;let _0x5466b1=(0x0,v[_0x14c94e(0x27d)])(v[_0x14c94e(0x2c1)]['decode'](_0x5325ac[_0x14c94e(0x251)]));return{..._0x421ee0,'workbook':{},'doc':{..._0x5325ac,'originalMeta':_0x5466b1}};}function he(_0x3bf4dc){const _0x55a4a3=_0x401a54;let _0x32dfe6={};return _0x3bf4dc[_0x55a4a3(0x239)](_0x566b8e=>{const _0x5e0ef3=_0x55a4a3;_0x32dfe6[_0x566b8e['id']]={..._0x566b8e,'data':(0x0,v[_0x5e0ef3(0x27d)])(v[_0x5e0ef3(0x2c1)][_0x5e0ef3(0x150)](_0x566b8e[_0x5e0ef3(0x2d3)]))};}),_0x32dfe6;}async function U(_0x401d70){const _0x28034d=_0x401a54;var _0x21a4ae;let _0x3c3e46={'metadata':void 0x0},_0x472f03=_0x401d70['id'],_0x549db8=(_0x21a4ae=_0x401d70['rev'])==null?0x0:_0x21a4ae,_0x24e209=new ge(),{snapshot:_0x7a4bbb}=await(0x0,v[_0x28034d(0x2cf)])(_0x3c3e46,_0x401d70,_0x472f03,_0x549db8,_0x24e209),_0x505475=await(0x0,v[_0x28034d(0x1aa)])(_0x7a4bbb,_0x24e209),_0xf7d2b2=pe(_0x7a4bbb);if(!_0xf7d2b2)throw Error(_0x28034d(0x1d0));return{'snapshot':_0xf7d2b2,'sheetBlocks':he(_0x505475)};}async function W(_0x10bf33){const _0x4576ad=_0x401a54;var _0x1b78c2;let _0x342c92={'metadata':void 0x0},_0x6f8e5d=_0x10bf33['id'],{snapshot:_0x5a5a71}=await(0x0,v['transformDocumentDataToSnapshot'])(_0x342c92,_0x10bf33,_0x6f8e5d,(_0x1b78c2=_0x10bf33[_0x4576ad(0x1d3)])==null?0x0:_0x1b78c2,new ge()),_0x583c71=me(_0x5a5a71);if(!_0x583c71)throw Error(_0x4576ad(0x1d0));return{'snapshot':_0x583c71,'sheetBlocks':{}};}async function G(_0x360b2f){const _0x183783=_0x401a54;let _0x5cc3f5=_0x360b2f[_0x183783(0x218)],_0x237b41=_0x360b2f[_0x183783(0x248)];return await(0x0,v['transformSnapshotToWorkbookData'])(_0x5cc3f5,Object[_0x183783(0x290)](_0x237b41)[_0x183783(0x1ed)](_0x2b3cc6=>_0x237b41[_0x2b3cc6])[_0x183783(0x1ed)](_0x2b415e=>({..._0x2b415e,'data':_0x2b415e[_0x183783(0x2d3)]?JSON[_0x183783(0x201)]((0x0,v[_0x183783(0x185)])(_0x2b415e[_0x183783(0x2d3)])):void 0x0})));}function K(_0x1016d8){const _0x32d2e8=_0x401a54;let _0x5c292b=_0x1016d8[_0x32d2e8(0x218)];return(0x0,v[_0x32d2e8(0x1ec)])(_0x5c292b);}var ge=class{constructor(){const _0x216277=_0x401a54;C(this,_0x216277(0x19a),new Map());}[_0x401a54(0x22f)](){const _0x4fa7f6=_0x401a54;return Promise['resolve']({'snapshot':{'unitID':'','type':_[_0x4fa7f6(0x284)]['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0},'changesets':[],'error':{'code':_[_0x4fa7f6(0x197)]['OK'],'message':''}});}[_0x401a54(0x23a)](_0x13deba,_0x206564){const _0x1ffdc4=_0x401a54;let _0x1810b1=this[_0x1ffdc4(0x19a)][_0x1ffdc4(0x227)](_0x206564[_0x1ffdc4(0x228)]);return Promise['resolve']({'block':_0x1810b1,'error':{'code':_[_0x1ffdc4(0x197)]['OK'],'message':''}});}[_0x401a54(0x14e)](_0xdf7f1a,_0x3b9d75){const _0x33db8a=_0x401a54;let _0x882f99=this[_0x33db8a(0x19a)][_0x33db8a(0x227)](_0x3b9d75['blockID']);return Promise[_0x33db8a(0x28f)]({'block':_0x882f99===void 0x0?void 0x0:{..._0x882f99,'data':JSON[_0x33db8a(0x201)](v[_0x33db8a(0x2c1)][_0x33db8a(0x150)](_0x882f99[_0x33db8a(0x2d3)]))},'error':{'code':_[_0x33db8a(0x197)]['OK'],'message':''}});}[_0x401a54(0x195)](){const _0x5d69ec=_0x401a54;return Promise['resolve']({'changesets':[],'error':{'code':_[_0x5d69ec(0x197)]['OK'],'message':''}});}[_0x401a54(0x28a)](){const _0x5a8343=_0x401a54;return Promise['resolve']({'resources':{},'error':{'code':_[_0x5a8343(0x197)]['OK'],'message':''}});}[_0x401a54(0x16d)](){const _0x13b2e9=_0x401a54;return Promise[_0x13b2e9(0x28f)]({'error':{'code':_['ErrorCode']['OK'],'message':''}});}['updateSnapshot'](){const _0x47acd1=_0x401a54;return Promise[_0x47acd1(0x28f)]({'error':{'code':_[_0x47acd1(0x197)]['OK'],'message':''}});}[_0x401a54(0x186)](_0x18aeb4,_0x3f0191){const _0x21fa00=_0x401a54;let {block:_0x39cfe9}=_0x3f0191;return _0x39cfe9?(this[_0x21fa00(0x19a)][_0x21fa00(0x213)](_0x39cfe9['id'],_0x39cfe9),Promise[_0x21fa00(0x28f)]({'error':{'code':_['ErrorCode']['OK'],'message':''},'blockID':_0x39cfe9['id']})):Promise[_0x21fa00(0x28f)]({'error':{'code':_['ErrorCode'][_0x21fa00(0x168)],'message':'block\x20is\x20required'},'blockID':''});}[_0x401a54(0x20d)](){const _0x128aef=_0x401a54;return Promise[_0x128aef(0x28f)]({'error':{'code':_[_0x128aef(0x197)]['OK'],'message':''},'concurrent':[]});}[_0x401a54(0x1d1)](){const _0xb0629f=_0x401a54;return Promise[_0xb0629f(0x28f)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x59bc5e=_0x401a54;return Promise[_0x59bc5e(0x28f)]({'error':void 0x0,'latestReqID':0x0});}};let q=function(_0x224f2a){const _0xaccd16=_0x401a54;return _0x224f2a[_0x224f2a['UPLOAD']=0x0]=_0xaccd16(0x17a),_0x224f2a[_0x224f2a[_0xaccd16(0x1f0)]=0x1]='IMPORT',_0x224f2a[_0x224f2a[_0xaccd16(0x28c)]=0x2]=_0xaccd16(0x28c),_0x224f2a[_0x224f2a[_0xaccd16(0x2a4)]=0x3]=_0xaccd16(0x2a4),_0x224f2a[_0x224f2a[_0xaccd16(0x24a)]=0x4]=_0xaccd16(0x24a),_0x224f2a[_0x224f2a[_0xaccd16(0x2cb)]=0x5]=_0xaccd16(0x2cb),_0x224f2a[_0x224f2a[_0xaccd16(0x193)]=0x6]=_0xaccd16(0x193),_0x224f2a;}({});const J=(0x0,l['createIdentifier'])('univer-pro.exchange-client.exchange.service');let Y=class extends l[_0x401a54(0x155)]{constructor(_0x454d0a,_0x522a2a,_0xfd1983){const _0x36b975=_0x401a54;super(),this['_configService']=_0x454d0a,this[_0x36b975(0x2cd)]=_0x522a2a,this[_0x36b975(0x2a1)]=_0xfd1983,C(this,_0x36b975(0x217),null),C(this,_0x36b975(0x1a0),new m['Subject']()),C(this,_0x36b975(0x264),this['_requestState$']['asObservable']());}['dispose'](){const _0x6225=_0x401a54;super[_0x6225(0x206)](),this[_0x6225(0x1a0)]['complete']();}async[_0x401a54(0x156)](_0x1c19b8){const _0x1b5cea=_0x401a54;let _0x3dde8b=await this[_0x1b5cea(0x1a1)](_0x1c19b8,_[_0x1b5cea(0x284)][_0x1b5cea(0x183)]);if(!_0x3dde8b||!_0x3dde8b['snapshot'])return;let _0x54b3e6=K(_0x3dde8b);if(_0x54b3e6)return _0x54b3e6;}async['exportDOCXByUnitId'](_0x2e5292){const _0x1c5964=_0x401a54;return this[_0x1c5964(0x1f4)](_0x2e5292,B['UNIT'],_[_0x1c5964(0x284)][_0x1c5964(0x183)]);}async['exportDOCXBySnapshot'](_0x41320c){const _0x1beeb6=_0x401a54;let _0xc36db7=await W(_0x41320c);return this['_exportBySnapshot'](_0xc36db7,_[_0x1beeb6(0x284)][_0x1beeb6(0x183)]);}async[_0x401a54(0x189)](_0xf83d57){const _0x125d82=_0x401a54;let _0x2f4589=await this[_0x125d82(0x1a1)](_0xf83d57,_[_0x125d82(0x284)][_0x125d82(0x1be)]);if(!_0x2f4589)return;let _0x684ee4=await G(_0x2f4589);if(_0x684ee4)return _0x684ee4;}async[_0x401a54(0x14c)](_0x3222ac){const _0x4f0ccc=_0x401a54;return this[_0x4f0ccc(0x1f4)](_0x3222ac,B['UNIT'],_['UniverType']['UNIVER_SHEET']);}async[_0x401a54(0x1b1)](_0x8fdf42){const _0x5dbf4f=_0x401a54;let _0x316a4c=await U(_0x8fdf42);return this[_0x5dbf4f(0x20f)](_0x316a4c,_[_0x5dbf4f(0x284)][_0x5dbf4f(0x1be)]);}async['importFileToUnitId'](_0x258a2e,_0x40547e){const _0x137fca=_0x401a54;var _0x46984a,_0x45ae85;let _0x31bab5=await this['_upload'](_0x258a2e);if(!_0x31bab5)return;let _0x28456c=await this[_0x137fca(0x23b)](_0x31bab5,B[_0x137fca(0x1a2)],_0x40547e);if(!_0x28456c)return;this[_0x137fca(0x217)]=_0x28456c,this[_0x137fca(0x2a1)][_0x137fca(0x2d2)]();let _0x373167=await this[_0x137fca(0x2a1)][_0x137fca(0x1df)](_0x28456c)['catch'](_0x202e95=>{const _0x260141=_0x137fca;var _0x532dda;let _0x4e880e=_0x202e95 instanceof Error?_0x202e95[_0x260141(0x2ae)]:(_0x532dda=_0x202e95[_0x260141(0x16b)])==null?void 0x0:_0x532dda[_0x260141(0x2ae)];this[_0x260141(0x1a0)][_0x260141(0x203)]({'error':{'code':_['ErrorCode']['UNRECOGNIZED'],'message':_0x4e880e||''},'state':q[_0x260141(0x2a4)]});});if(!_0x373167)return;let _0x4b5025=(_0x46984a=_0x373167[_0x137fca(0x1ba)])==null?void 0x0:_0x46984a[_0x137fca(0x1ab)],_0xcf3700=((_0x45ae85=_0x373167['import'])==null?void 0x0:_0x45ae85['unitID'])||'';if(_0x4b5025!==B[_0x137fca(0x1a2)]){this['_requestState$'][_0x137fca(0x203)]({'error':{'code':_[_0x137fca(0x197)][_0x137fca(0x2c2)],'message':_0x137fca(0x167)},'state':q[_0x137fca(0x2a4)]});return;}if(_0xcf3700[_0x137fca(0x2b0)]===0x0){this['_requestState$'][_0x137fca(0x203)]({'error':{'code':_[_0x137fca(0x197)][_0x137fca(0x2c2)],'message':_0x137fca(0x252)},'state':q[_0x137fca(0x2a4)]});return;}return this[_0x137fca(0x1a0)][_0x137fca(0x203)]({'error':_0x373167[_0x137fca(0x16b)],'state':q[_0x137fca(0x2a4)]}),_0xcf3700;}async[_0x401a54(0x173)](_0x2d744c){const _0x5c3986=_0x401a54;let _0x40a526=await U(_0x2d744c),_0x485f96=typeof _0x2d744c['id']=='string'&&_0x2d744c['id'][_0x5c3986(0x2ce)]()?_0x2d744c['id'][_0x5c3986(0x2ce)]()+'.json':_0x5c3986(0x244),_0x35462b=new File([JSON['stringify'](_0x40a526)],_0x485f96,{'type':_0x5c3986(0x2c7)});return this[_0x5c3986(0x1c7)](_0x35462b,_[_0x5c3986(0x284)][_0x5c3986(0x1be)]);}[_0x401a54(0x222)](){const _0x206704=_0x401a54;this['_importTaskId']&&this[_0x206704(0x2a1)][_0x206704(0x157)](this[_0x206704(0x217)]);}async[_0x401a54(0x1a1)](_0x59563e,_0xbf37fb){const _0x492686=_0x401a54;var _0x1157c4,_0x4259e8;let _0x1a17bf=await this[_0x492686(0x200)](_0x59563e);if(!_0x1a17bf)return;let _0x471f16=await this['_import'](_0x1a17bf,B[_0x492686(0x18c)],_0xbf37fb);if(!_0x471f16)return;this[_0x492686(0x217)]=_0x471f16,this['_requestService'][_0x492686(0x2d2)]();let _0x2c606b=await this[_0x492686(0x2a1)][_0x492686(0x1df)](_0x471f16)[_0x492686(0x1bd)](_0x554dd9=>{const _0xbb521=_0x492686;var _0x3555ad;let _0x3ab42d=_0x554dd9 instanceof Error?_0x554dd9[_0xbb521(0x2ae)]:(_0x3555ad=_0x554dd9['error'])==null?void 0x0:_0x3555ad['message'];this[_0xbb521(0x1a0)][_0xbb521(0x203)]({'error':{'code':_['ErrorCode'][_0xbb521(0x2c2)],'message':_0x3ab42d||''},'state':q[_0xbb521(0x2a4)]});});if(!_0x2c606b)return;let _0x39a423=(_0x1157c4=_0x2c606b['import'])==null?void 0x0:_0x1157c4[_0x492686(0x1ab)],_0x4033d1=((_0x4259e8=_0x2c606b[_0x492686(0x1ba)])==null?void 0x0:_0x4259e8[_0x492686(0x281)])||'';if(_0x39a423!==B[_0x492686(0x18c)]){this[_0x492686(0x1a0)][_0x492686(0x203)]({'error':{'code':_[_0x492686(0x197)][_0x492686(0x2c2)],'message':_0x492686(0x167)},'state':q[_0x492686(0x2a4)]});return;}if(_0x4033d1['length']===0x0){this[_0x492686(0x1a0)][_0x492686(0x203)]({'error':{'code':_[_0x492686(0x197)]['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':q[_0x492686(0x2a4)]});return;}this['_requestState$']['next']({'error':_0x2c606b[_0x492686(0x16b)],'state':q[_0x492686(0x2a4)]});let _0x2bfcc9=await this[_0x492686(0x15b)](_0x4033d1);if(!_0x2bfcc9)return;let _0x5f02bb=await this[_0x492686(0x2a1)][_0x492686(0x259)](_0x2bfcc9);if(!_0x5f02bb){this['_requestState$'][_0x492686(0x203)]({'error':{'code':_[_0x492686(0x197)][_0x492686(0x2c2)],'message':_0x492686(0x1eb)},'state':q[_0x492686(0x2cb)]});return;}try{let _0x2de0f5=JSON[_0x492686(0x201)](_0x5f02bb);return this[_0x492686(0x1a0)][_0x492686(0x203)]({'error':{'code':_['ErrorCode']['OK'],'message':_0x492686(0x1e2)},'state':q['GET_JSON']}),_0x2de0f5;}catch{this[_0x492686(0x1a0)][_0x492686(0x203)]({'error':{'code':_['ErrorCode']['UNRECOGNIZED'],'message':_0x492686(0x1b8)},'state':q[_0x492686(0x2cb)]});}}async[_0x401a54(0x20f)](_0x1e7ca1,_0x33500b){const _0x38095b=_0x401a54;let _0x483f27=JSON[_0x38095b(0x1fe)](_0x1e7ca1),_0x41b4b6=y['default'][_0x38095b(0x220)](_0x483f27),_0x1b25df=v[_0x38095b(0x1c3)][_0x38095b(0x17f)](_0x483f27)[_0x38095b(0x2b0)],_0x38b2eb=ue(_0x41b4b6),_0x355e6e=await this[_0x38095b(0x200)](_0x38b2eb,_0x1b25df,!0x0);if(_0x355e6e)return this[_0x38095b(0x1f4)](_0x355e6e,B[_0x38095b(0x18c)],_0x33500b);}async[_0x401a54(0x1f4)](_0xd5bf5a,_0x9acd22,_0x51a23c){const _0x20edf2=_0x401a54;var _0x4cb7b3;let _0x56f25a=await this[_0x20edf2(0x2a1)][_0x20edf2(0x278)]({'unitID':_0x9acd22===B[_0x20edf2(0x1a2)]?_0xd5bf5a:'','jsonID':_0x9acd22===B[_0x20edf2(0x18c)]?_0xd5bf5a:'','type':_0x51a23c,'sscSwitch':this[_0x20edf2(0x19d)](),'useImageUrl':this[_0x20edf2(0x22c)](),'ignoreTableExport':this['_getIgnoreTableExport']()});if(!_0x56f25a){this[_0x20edf2(0x1a0)][_0x20edf2(0x203)]({'error':{'code':_[_0x20edf2(0x197)]['UNRECOGNIZED'],'message':_0x20edf2(0x270)},'state':q[_0x20edf2(0x28c)]});return;}if(this[_0x20edf2(0x1a0)][_0x20edf2(0x203)]({'error':_0x56f25a['error'],'state':q[_0x20edf2(0x28c)]}),_0x56f25a[_0x20edf2(0x16b)]&&_0x56f25a[_0x20edf2(0x16b)][_0x20edf2(0x211)]!==_['ErrorCode']['OK'])return;let _0x1e0e06=_0x56f25a[_0x20edf2(0x2d4)],_0x5db978=await this[_0x20edf2(0x2a1)][_0x20edf2(0x1df)](_0x1e0e06)['catch'](_0x3b307b=>{const _0x1826e4=_0x20edf2;var _0x52a76d;let _0x4b7243=_0x3b307b instanceof Error?_0x3b307b[_0x1826e4(0x2ae)]:(_0x52a76d=_0x3b307b[_0x1826e4(0x16b)])==null?void 0x0:_0x52a76d[_0x1826e4(0x2ae)];this[_0x1826e4(0x1a0)][_0x1826e4(0x203)]({'error':{'code':_[_0x1826e4(0x197)][_0x1826e4(0x2c2)],'message':_0x4b7243||''},'state':q[_0x1826e4(0x2a4)]});});if(!_0x5db978)return;let _0x213968=((_0x4cb7b3=_0x5db978['export'])==null?void 0x0:_0x4cb7b3[_0x20edf2(0x273)])||'';if(_0x213968[_0x20edf2(0x2b0)]===0x0){this['_requestState$']['next']({'error':{'code':_[_0x20edf2(0x197)][_0x20edf2(0x2c2)],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':q['GET_TASK']});return;}this[_0x20edf2(0x1a0)][_0x20edf2(0x203)]({'error':_0x5db978[_0x20edf2(0x16b)],'state':q[_0x20edf2(0x2a4)]});let _0x5f3df4=await this['_signUrl'](_0x213968);if(!_0x5f3df4)return;let _0x500861=await I(_0x5f3df4,this['_httpService']);if(!_0x500861){this[_0x20edf2(0x1a0)]['next']({'error':{'code':_['ErrorCode'][_0x20edf2(0x2c2)],'message':_0x20edf2(0x153)},'state':q[_0x20edf2(0x193)]});return;}return this['_requestState$']['next']({'error':{'code':_[_0x20edf2(0x197)]['OK'],'message':'success'},'state':q[_0x20edf2(0x193)]}),_0x500861;}async[_0x401a54(0x200)](_0x3f0458,_0x37e109,_0x620e2c){const _0x2f9bc6=_0x401a54;let _0x4125b9;try{_0x4125b9=await this[_0x2f9bc6(0x2a1)][_0x2f9bc6(0x2c9)](_0x3f0458,_0x37e109,_0x620e2c);}catch(_0x3cfbda){let _0xf7d78a=_0x3cfbda instanceof Error?_0x3cfbda[_0x2f9bc6(0x2ae)]:String(_0x3cfbda);this[_0x2f9bc6(0x1a0)]['next']({'error':{'code':_[_0x2f9bc6(0x197)]['UNRECOGNIZED'],'message':_0xf7d78a},'state':q[_0x2f9bc6(0x17a)]});return;}if(!_0x4125b9||typeof _0x4125b9[_0x2f9bc6(0x250)]!=_0x2f9bc6(0x2a7)){this['_requestState$'][_0x2f9bc6(0x203)]({'error':{'code':_[_0x2f9bc6(0x197)][_0x2f9bc6(0x2c2)],'message':_0x2f9bc6(0x1c8)},'state':q['UPLOAD']});return;}let _0x255279=_0x4125b9[_0x2f9bc6(0x250)];if(_0x255279[_0x2f9bc6(0x2b0)]===0x0){this['_requestState$'][_0x2f9bc6(0x203)]({'error':{'code':_[_0x2f9bc6(0x197)][_0x2f9bc6(0x2c2)],'message':_0x2f9bc6(0x21f)},'state':q[_0x2f9bc6(0x17a)]});return;}return this[_0x2f9bc6(0x1a0)][_0x2f9bc6(0x203)]({'error':{'code':_['ErrorCode']['OK'],'message':_0x2f9bc6(0x1e2)},'state':q[_0x2f9bc6(0x17a)]}),_0x255279;}async[_0x401a54(0x23b)](_0x32a7ab,_0x2e9871,_0x1a03cb){const _0x158971=_0x401a54;let _0x59cc3e={'fileID':_0x32a7ab,'type':_0x1a03cb,'outputType':_0x2e9871,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x28491d=await this[_0x158971(0x2a1)][_0x158971(0x1ba)](_0x59cc3e);if(!_0x28491d){this[_0x158971(0x1a0)][_0x158971(0x203)]({'error':{'code':_[_0x158971(0x197)][_0x158971(0x2c2)],'message':_0x158971(0x1b5)},'state':q[_0x158971(0x1f0)]});return;}if(_0x28491d[_0x158971(0x16b)]&&_0x28491d[_0x158971(0x16b)][_0x158971(0x211)]!==_[_0x158971(0x197)]['OK']){this[_0x158971(0x1a0)][_0x158971(0x203)]({'error':_0x28491d[_0x158971(0x16b)],'state':q[_0x158971(0x1f0)]});return;}let _0x16ee97=_0x28491d['taskID'];if(_0x16ee97[_0x158971(0x2b0)]===0x0){this['_requestState$']['next']({'error':{'code':_[_0x158971(0x197)][_0x158971(0x2c2)],'message':'Failed\x20to\x20get\x20taskID\x20from\x20import\x20response'},'state':q['IMPORT']});return;}return this[_0x158971(0x1a0)][_0x158971(0x203)]({'error':_0x28491d[_0x158971(0x16b)],'state':q['IMPORT']}),_0x16ee97;}async[_0x401a54(0x15b)](_0x2e8c76){const _0xd6bdca=_0x401a54;let _0x23c122=await this[_0xd6bdca(0x2a1)][_0xd6bdca(0x210)](_0x2e8c76);if(!_0x23c122){this[_0xd6bdca(0x1a0)][_0xd6bdca(0x203)]({'error':{'code':_['ErrorCode']['UNRECOGNIZED'],'message':_0xd6bdca(0x2c5)},'state':q[_0xd6bdca(0x24a)]});return;}if(_0x23c122[_0xd6bdca(0x16b)]&&_0x23c122[_0xd6bdca(0x16b)]['code']!==_['ErrorCode']['OK']){this['_requestState$'][_0xd6bdca(0x203)]({'error':_0x23c122['error'],'state':q[_0xd6bdca(0x24a)]});return;}let _0x1e4628=(0x0,l['resolveWithBasePath'])(_0x23c122[_0xd6bdca(0x1c6)],this[_0xd6bdca(0x20a)]());if(_0x1e4628[_0xd6bdca(0x2b0)]===0x0){this[_0xd6bdca(0x1a0)][_0xd6bdca(0x203)]({'error':{'code':_[_0xd6bdca(0x197)][_0xd6bdca(0x2c2)],'message':_0xd6bdca(0x2c5)},'state':q['SIGN_URL']});return;}return this['_requestState$'][_0xd6bdca(0x203)]({'error':_0x23c122['error'],'state':q[_0xd6bdca(0x24a)]}),_0x1e4628;}[_0x401a54(0x20a)](){const _0x4e3eb4=_0x401a54;var _0x21c5ff;let _0xaa0485=this[_0x4e3eb4(0x1dd)][_0x4e3eb4(0x184)](b);return(_0x21c5ff=_0xaa0485==null?void 0x0:_0xaa0485[_0x4e3eb4(0x2bc)])==null?location[_0x4e3eb4(0x1bb)]:_0x21c5ff;}[_0x401a54(0x277)](){const _0x5a06fd=_0x401a54;var _0x56054,_0x3065d8;let _0x5c9c0b=this[_0x5a06fd(0x1dd)][_0x5a06fd(0x184)](b);return(_0x56054=_0x5c9c0b==null||(_0x3065d8=_0x5c9c0b[_0x5a06fd(0x15c)])==null?void 0x0:_0x3065d8[_0x5a06fd(0x231)])==null?0x1:_0x56054;}[_0x401a54(0x208)](){const _0x1ccd51=_0x401a54;var _0xc3de27,_0x1ca3d3;let _0x55deb2=this[_0x1ccd51(0x1dd)][_0x1ccd51(0x184)](b);return(_0xc3de27=_0x55deb2==null||(_0x1ca3d3=_0x55deb2[_0x1ccd51(0x15c)])==null?void 0x0:_0x1ca3d3[_0x1ccd51(0x289)])==null?0x1:_0xc3de27;}['_getEnableServerSideComputing'](){const _0x4e1f10=_0x401a54;var _0x14b1b5,_0x1a3c09;let _0x1f8cae=this['_configService']['getConfig'](b);return(_0x14b1b5=_0x1f8cae==null||(_0x1a3c09=_0x1f8cae[_0x4e1f10(0x15c)])==null?void 0x0:_0x1a3c09['enableServerSideComputing'])==null?!0x1:_0x14b1b5;}[_0x401a54(0x22c)](){const _0x4ab8fe=_0x401a54;var _0x2d14c6,_0xac4557;let _0x4373ee=this[_0x4ab8fe(0x1dd)][_0x4ab8fe(0x184)](b);return(_0x2d14c6=_0x4373ee==null||(_0xac4557=_0x4373ee[_0x4ab8fe(0x15c)])==null?void 0x0:_0xac4557[_0x4ab8fe(0x216)])==null?!0x0:_0x2d14c6;}[_0x401a54(0x1b2)](){const _0x4c230d=_0x401a54;var _0x1630c1,_0x5c0650;let _0x2bfa8f=this[_0x4c230d(0x1dd)]['getConfig'](b);return(_0x1630c1=_0x2bfa8f==null||(_0x5c0650=_0x2bfa8f[_0x4c230d(0x15c)])==null?void 0x0:_0x5c0650['ignoreTableExport'])==null?!0x1:_0x1630c1;}};Y=z([R(0x0,l[_0x401a54(0x1cb)]),R(0x1,(0x0,l[_0x401a54(0x17e)])(u[_0x401a54(0x196)])),R(0x2,(0x0,l[_0x401a54(0x17e)])(V))],Y);const _e={'done':0x0,'count':0x0},X=(0x0,l[_0x401a54(0x212)])(_0x401a54(0x269));let Z=class extends l[_0x401a54(0x155)]{constructor(_0x1fbd24,_0x3bc16d,_0x4e21df,_0x412b3f,_0x2f6d39,_0x464757){const _0x2484be=_0x401a54;super(),this[_0x2484be(0x187)]=_0x1fbd24,this[_0x2484be(0x1c4)]=_0x3bc16d,this[_0x2484be(0x225)]=_0x4e21df,this[_0x2484be(0x23e)]=_0x412b3f,this[_0x2484be(0x149)]=_0x2f6d39,this[_0x2484be(0x275)]=_0x464757,C(this,_0x2484be(0x1f9),new m[(_0x2484be(0x291))](_e)),C(this,_0x2484be(0x1ce),this[_0x2484be(0x1f9)][_0x2484be(0x194)]()),C(this,_0x2484be(0x25b),0x0),C(this,'_doneUploadTaskCount',0x0),this[_0x2484be(0x237)]((0x0,l['toDisposable'])(this['_exchangeService']['requestState$']['subscribe'](_0x53ae3e=>{const _0x37dba4=_0x2484be;var _0x2a17fb;((_0x2a17fb=_0x53ae3e['error'])==null?void 0x0:_0x2a17fb[_0x37dba4(0x211)])===_[_0x37dba4(0x197)]['OK']?this[_0x37dba4(0x180)](0x1):this[_0x37dba4(0x1cf)](_0x53ae3e['error']);})));}['interrupt'](){const _0xb39d28=_0x401a54;this['_clearProgress'](),this['_uploadNotificationService']['updateState'](w['ERROR']),this[_0xb39d28(0x23e)]['interruptImportTask']();}async[_0x401a54(0x29a)](_0x9cefab){throw Error('Method\x20not\x20implemented.');}async['importDOCXToUnitId'](){const _0x4b3600=_0x401a54;let _0x5aeb61=await F([_['UniverType'][_0x4b3600(0x183)]]);if(_0x5aeb61&&!this['_fileTypeError'](_0x5aeb61,_[_0x4b3600(0x284)][_0x4b3600(0x183)]))return this[_0x4b3600(0x1f7)](_0x5aeb61[0x0],_[_0x4b3600(0x284)]['UNIVER_DOC']);}[_0x401a54(0x156)](){const _0x36b1bd=_0x401a54;throw Error(_0x36b1bd(0x1a7));}async[_0x401a54(0x1da)](_0x3d4ed5,_0x227813,_0x13019b){const _0x3b3ee9=_0x401a54;this['_showDownloadMessage'](h[_0x3b3ee9(0x15a)][_0x3b3ee9(0x2cc)]);let _0x56e433=await this[_0x3b3ee9(0x23e)][_0x3b3ee9(0x1da)](_0x3d4ed5||this[_0x3b3ee9(0x15f)]());_0x56e433&&(N(_0x56e433,_0x227813||this[_0x3b3ee9(0x2c0)](_0x56e433),'docx'),this[_0x3b3ee9(0x2aa)](h[_0x3b3ee9(0x15a)][_0x3b3ee9(0x219)]));}async[_0x401a54(0x29b)](){const _0xfd715e=_0x401a54;this[_0xfd715e(0x2aa)](h[_0xfd715e(0x15a)][_0xfd715e(0x2cc)]);let _0x5cf49a=await this[_0xfd715e(0x2a3)](),_0x553570=await this['_exchangeService'][_0xfd715e(0x29b)](_0x5cf49a);_0x553570&&(N(_0x553570,this['_getUnitName'](_0x553570),_0xfd715e(0x14b)),this['_showDownloadMessage'](h[_0xfd715e(0x15a)][_0xfd715e(0x219)]));}async[_0x401a54(0x1db)](){const _0xf5fd73=_0x401a54;if(this[_0xf5fd73(0x2d5)]()){this[_0xf5fd73(0x1c4)][_0xf5fd73(0x1de)]({'type':h['MessageType'][_0xf5fd73(0x2d6)],'content':this[_0xf5fd73(0x225)]['t'](_0xf5fd73(0x1a4))});return;}let _0x59be65=await F([_[_0xf5fd73(0x284)][_0xf5fd73(0x1be)]]);if(_0x59be65&&!this['_fileTypeError'](_0x59be65,_['UniverType'][_0xf5fd73(0x1be)]))return this[_0xf5fd73(0x1f7)](_0x59be65[0x0],_['UniverType'][_0xf5fd73(0x1be)]);}async['importXLSXToSnapshot'](){const _0x5436cd=_0x401a54;if(this['_uploadTaskNotDone']()){this[_0x5436cd(0x1c4)][_0x5436cd(0x1de)]({'type':h[_0x5436cd(0x15a)]['Warning'],'content':this[_0x5436cd(0x225)]['t'](_0x5436cd(0x1a4))});return;}let _0x4fe2cb=await F([_[_0x5436cd(0x284)][_0x5436cd(0x1be)]]);if(!_0x4fe2cb)return;this['_showUploadMessage'](h[_0x5436cd(0x15a)][_0x5436cd(0x2cc)]);let _0x26a4d3=await this[_0x5436cd(0x23e)][_0x5436cd(0x189)](_0x4fe2cb[0x0]);_0x26a4d3&&(this[_0x5436cd(0x178)](_0x26a4d3),this['_showUploadMessage'](h[_0x5436cd(0x15a)][_0x5436cd(0x219)]));}async[_0x401a54(0x14c)](_0x297949,_0x532f36,_0x52dee9){const _0x59368b=_0x401a54;this[_0x59368b(0x2aa)](h['MessageType'][_0x59368b(0x2cc)]);let _0x4d6926=await this['_exchangeService'][_0x59368b(0x14c)](_0x297949||this[_0x59368b(0x1dc)]());_0x4d6926&&(N(_0x4d6926,_0x532f36||this['_getUnitName'](_0x4d6926),_0x59368b(0x163)),this['_showDownloadMessage'](h[_0x59368b(0x15a)][_0x59368b(0x219)]));}async[_0x401a54(0x1b1)](){const _0x1a3fc6=_0x401a54;this[_0x1a3fc6(0x2aa)](h[_0x1a3fc6(0x15a)][_0x1a3fc6(0x2cc)]);let _0xeff942=await this[_0x1a3fc6(0x1e7)](),_0x4e16c8=await this[_0x1a3fc6(0x23e)][_0x1a3fc6(0x1b1)](_0xeff942);_0x4e16c8&&(N(_0x4e16c8,this[_0x1a3fc6(0x2c0)](_0x4e16c8),_0x1a3fc6(0x163)),this['_showDownloadMessage'](h[_0x1a3fc6(0x15a)][_0x1a3fc6(0x219)]));}['registerLink'](_0x209025){const _0x109b97=_0x401a54;this[_0x109b97(0x1e0)]=_0x209025;}async['_importFileToUnitId'](_0x307907,_0x4689fa){const _0x37a06f=_0x401a54;this[_0x37a06f(0x149)][_0x37a06f(0x1de)](),this['_uploadNotificationService'][_0x37a06f(0x21d)](w[_0x37a06f(0x272)]),this[_0x37a06f(0x1d9)](0x4),this[_0x37a06f(0x180)](0x1);let _0x256f4c=await this['_exchangeService'][_0x37a06f(0x1c7)](_0x307907,_0x4689fa);if(!_0x256f4c){this[_0x37a06f(0x229)](),this[_0x37a06f(0x149)]['updateState'](w[_0x37a06f(0x175)]);return;}let _0x125b30={'link':this['_getLinkByUnitId'](_0x256f4c,_0x4689fa),'name':_0x307907[_0x37a06f(0x22b)],'type':_0x4689fa};return this[_0x37a06f(0x149)][_0x37a06f(0x151)](_0x125b30),this[_0x37a06f(0x27f)](),this[_0x37a06f(0x149)][_0x37a06f(0x21d)](w[_0x37a06f(0x2b6)]),_0x256f4c;}[_0x401a54(0x1dc)](){const _0xb54081=_0x401a54;return this[_0xb54081(0x187)][_0xb54081(0x1b4)](l[_0xb54081(0x176)][_0xb54081(0x1be)])[_0xb54081(0x1d5)]();}['_getUnitIDDoc'](){const _0x390a3a=_0x401a54;return this[_0x390a3a(0x187)]['getCurrentUnitOfType'](l[_0x390a3a(0x176)][_0x390a3a(0x183)])[_0x390a3a(0x1d5)]();}['_getUnitName'](_0x685465){const _0x4b0c9d=_0x401a54;var _0x484371;return((_0x484371=this[_0x4b0c9d(0x187)][_0x4b0c9d(0x1b4)](l[_0x4b0c9d(0x176)][_0x4b0c9d(0x1be)]))==null?void 0x0:_0x484371[_0x4b0c9d(0x22b)])||_0x685465[_0x4b0c9d(0x22b)]['split']('.')[_0x4b0c9d(0x282)]()||document[_0x4b0c9d(0x1d6)];}async[_0x401a54(0x1e7)](){const _0x4f9a59=_0x401a54;return this[_0x4f9a59(0x187)][_0x4f9a59(0x1b4)](l[_0x4f9a59(0x176)]['UNIVER_SHEET'])[_0x4f9a59(0x1f3)]();}async['_getUnitDocJson'](){const _0x1eddb0=_0x401a54;return this['_univerInstanceService'][_0x1eddb0(0x1b4)](l[_0x1eddb0(0x176)][_0x1eddb0(0x183)])[_0x1eddb0(0x1f3)]();}[_0x401a54(0x1e0)](_0xe4ecab,_0x36478c){const _0x801db6=_0x401a54;let _0x29c4a0=new URL(window['location'][_0x801db6(0x247)]);return _0x29c4a0['searchParams']['set'](_0x801db6(0x1a3),_0xe4ecab),_0x29c4a0[_0x801db6(0x158)][_0x801db6(0x213)](_0x801db6(0x2d0),''+_0x36478c),_0x29c4a0[_0x801db6(0x181)]();}[_0x401a54(0x178)](_0x1daa70){const _0x1808c5=_0x401a54;let _0x1349f7=this[_0x1808c5(0x187)][_0x1808c5(0x279)](l[_0x1808c5(0x176)]['UNIVER_SHEET'])[_0x1808c5(0x1d5)]();this[_0x1808c5(0x187)][_0x1808c5(0x2ad)](_0x1349f7),this[_0x1808c5(0x187)][_0x1808c5(0x24d)](l[_0x1808c5(0x176)][_0x1808c5(0x1be)],_0x1daa70);}[_0x401a54(0x1cf)](_0x683904){const _0x5ea5da=_0x401a54;if(_0x683904){let {code:_0x3614a1}=_0x683904;switch(_0x3614a1){case _[_0x5ea5da(0x197)][_0x5ea5da(0x271)]:this['_messageService']['show']({'type':h[_0x5ea5da(0x15a)]['Error'],'content':this[_0x5ea5da(0x225)]['t'](_0x5ea5da(0x223))});break;case _[_0x5ea5da(0x197)][_0x5ea5da(0x145)]:this[_0x5ea5da(0x1c4)]['show']({'type':h['MessageType'][_0x5ea5da(0x283)],'content':this[_0x5ea5da(0x225)]['t']('exchange.internalError')});break;default:this[_0x5ea5da(0x1c4)][_0x5ea5da(0x1de)]({'type':h[_0x5ea5da(0x15a)][_0x5ea5da(0x283)],'content':this[_0x5ea5da(0x225)]['t'](_0x5ea5da(0x1cd))});break;}return null;}return this[_0x5ea5da(0x1c4)][_0x5ea5da(0x1de)]({'type':h[_0x5ea5da(0x15a)][_0x5ea5da(0x283)],'content':this[_0x5ea5da(0x225)]['t'](_0x5ea5da(0x1cd))}),null;}[_0x401a54(0x2aa)](_0x4965ad){const _0x66ef10=_0x401a54;let _0x667f32='';switch(_0x4965ad){case h[_0x66ef10(0x15a)][_0x66ef10(0x219)]:_0x667f32=this['_localeService']['t']('exchange.downloadSuccess');break;case h[_0x66ef10(0x15a)]['Info']:_0x667f32=this[_0x66ef10(0x225)]['t'](_0x66ef10(0x255));break;default:break;}this[_0x66ef10(0x1c4)]['show']({'type':_0x4965ad,'content':_0x667f32});}[_0x401a54(0x1ee)](_0x2dd6c8){const _0x1b2a5b=_0x401a54;let _0x311004='';switch(_0x2dd6c8){case h[_0x1b2a5b(0x15a)][_0x1b2a5b(0x219)]:_0x311004=this[_0x1b2a5b(0x225)]['t'](_0x1b2a5b(0x1fd));break;case h[_0x1b2a5b(0x15a)][_0x1b2a5b(0x2cc)]:_0x311004=this[_0x1b2a5b(0x225)]['t']('exchange.uploading');break;default:break;}this[_0x1b2a5b(0x1c4)][_0x1b2a5b(0x1de)]({'type':_0x2dd6c8,'content':_0x311004});}['_emitProgress'](){const _0x57aea2=_0x401a54;this[_0x57aea2(0x1f9)][_0x57aea2(0x203)]({'done':this['_doneUploadTaskCount'],'count':this['_totalUploadTaskCount']});}[_0x401a54(0x1d9)](_0x418778){const _0x5433d0=_0x401a54;this[_0x5433d0(0x25b)]+=_0x418778,this[_0x5433d0(0x2b5)]();}['_addDoneTask'](_0x4da255){const _0x2d64a7=_0x401a54;this['_doneUploadTaskCount']+=_0x4da255,this[_0x2d64a7(0x1e6)]=Math[_0x2d64a7(0x268)](this[_0x2d64a7(0x1e6)],this[_0x2d64a7(0x25b)]),this[_0x2d64a7(0x2b5)]();}[_0x401a54(0x27f)](){const _0x101377=_0x401a54;this[_0x101377(0x1e6)]=this[_0x101377(0x25b)],this[_0x101377(0x2b5)]();}[_0x401a54(0x229)](){const _0xdfd3e0=_0x401a54;this[_0xdfd3e0(0x1e6)]=0x0,this[_0xdfd3e0(0x25b)]=0x0,this[_0xdfd3e0(0x2b5)]();}['_fileTypeError'](_0x3116f,_0x414a67){const _0x2a1291=_0x401a54;let _0x1e209e=_0x3116f[0x0],_0x31b8d0=_0x1e209e[_0x2a1291(0x22b)];return P(_0x1e209e)===_0x414a67?!0x1:(this[_0x2a1291(0x1c4)][_0x2a1291(0x1de)]({'type':h[_0x2a1291(0x15a)][_0x2a1291(0x283)],'content':this[_0x2a1291(0x225)]['t'](_0x2a1291(0x235),_0x31b8d0)}),!0x0);}['_uploadTaskNotDone'](){const _0x59f025=_0x401a54;return this[_0x59f025(0x25b)]!==0x0&&this['_doneUploadTaskCount']!==this['_totalUploadTaskCount'];}};Z=z([R(0x0,(0x0,l['Inject'])(l[_0x401a54(0x177)])),R(0x1,d[_0x401a54(0x179)]),R(0x2,(0x0,l[_0x401a54(0x17e)])(l['LocaleService'])),R(0x3,(0x0,l['Inject'])(J)),R(0x4,(0x0,l[_0x401a54(0x17e)])(T)),R(0x5,l[_0x401a54(0x1ff)])],Z);function ve(_0x5b9835){const _0x16f5db=_0x401a54;let {onClick:_0x294872,children:_0x88f9e1,className:_0xbc4dc7}=_0x5b9835;return(0x0,g[_0x16f5db(0x209)])(_0x16f5db(0x266),{'className':(0x0,h[_0x16f5db(0x166)])(_0x16f5db(0x29f),_0xbc4dc7),'type':_0x16f5db(0x266),'onClick':_0x294872,'children':_0x88f9e1});}function ye(){const _0x39f575=_0x401a54;let _0x17b886=(0x0,d[_0x39f575(0x276)])(X),_0x9920dd=(0x0,d[_0x39f575(0x276)])(l[_0x39f575(0x2d7)]);function _0x2045ca(){const _0x573fc1=_0x39f575;_0x17b886[_0x573fc1(0x1db)]();}return(0x0,g[_0x39f575(0x209)])(ve,{'onClick':_0x2045ca,'children':_0x9920dd['t'](_0x39f575(0x2a9))});}function be(){const _0x315f35=_0x401a54;return(0x0,g['jsxs'])('div',{'className':_0x315f35(0x26a),'children':[(0x0,g[_0x315f35(0x209)])(_0x315f35(0x2bf),{'className':_0x315f35(0x1a6),'children':(0x0,d[_0x315f35(0x276)])(l['LocaleService'])['t'](_0x315f35(0x16f))}),(0x0,g[_0x315f35(0x209)])(ye,{})]});}function xe(_0x1d9dc7){const _0x39f004=_0x401a54;let {count:_0x3c6bd6}=_0x1d9dc7;return(0x0,g[_0x39f004(0x202)])(_0x39f004(0x2be),{'className':_0x39f004(0x27e),'children':[(0x0,g[_0x39f004(0x209)])(_0x39f004(0x2bf),{'className':_0x39f004(0x25e),'children':(0x0,d[_0x39f004(0x276)])(l[_0x39f004(0x2d7)])['t']('exchange.uploadSuccessTip',''+_0x3c6bd6)}),(0x0,g[_0x39f004(0x209)])(ye,{})]});}function Se(){const _0xffcf7d=_0x401a54;let _0x9bd508=(0x0,d['useDependency'])(X),_0x2c92be=(0x0,d['useDependency'])(l[_0xffcf7d(0x2d7)]);function _0x558783(){_0x9bd508['interrupt']();}return(0x0,g['jsx'])(ve,{'onClick':_0x558783,'children':_0x2c92be['t']('exchange.cancel')});}function Ce(){const _0x4dd115=_0x401a54;let {count:_0x10573c,done:_0xaf9665}=(0x0,d['useObservable'])((0x0,d[_0x4dd115(0x276)])(X)[_0x4dd115(0x1ce)]),[_0x3f381b,_0x3637a5]=(0x0,p[_0x4dd115(0x299)])(_0x10573c>0x0?_0xaf9665/_0x10573c:0x0);return(0x0,p[_0x4dd115(0x1e1)])(()=>{_0x3637a5(_0x10573c>0x0?_0xaf9665/_0x10573c:0x0);},[_0x10573c,_0xaf9665]),(0x0,g['jsx'])('div',{'className':_0x4dd115(0x258),'children':(0x0,g[_0x4dd115(0x209)])(_0x4dd115(0x2be),{'className':_0x4dd115(0x27c),'style':{'width':Math[_0x4dd115(0x2a0)](_0x3f381b*0x64)+'%'}})});}function we(){const _0x254431=_0x401a54;return(0x0,g[_0x254431(0x202)])(_0x254431(0x2be),{'className':_0x254431(0x26a),'children':[(0x0,g[_0x254431(0x209)])(_0x254431(0x2bf),{'className':_0x254431(0x221),'children':(0x0,d[_0x254431(0x276)])(l['LocaleService'])['t'](_0x254431(0x25a))}),(0x0,g[_0x254431(0x209)])(_0x254431(0x2be),{'className':_0x254431(0x1c0),'children':(0x0,g[_0x254431(0x209)])(Ce,{})}),(0x0,g[_0x254431(0x209)])(Se,{})]});}const Te={[w[_0x401a54(0x2b6)]]:(0x0,g[_0x401a54(0x209)])(f[_0x401a54(0x2c8)],{'className':_0x401a54(0x1ac)}),[w['UPLOADING']]:(0x0,g[_0x401a54(0x209)])(f[_0x401a54(0x256)],{'className':_0x401a54(0x1ad)}),[w['ERROR']]:(0x0,g[_0x401a54(0x209)])(f[_0x401a54(0x2d1)],{'className':_0x401a54(0x174)})};function Ee(){const _0x133172=_0x401a54;let [_0x5c53df,_0x3da64a]=(0x0,p[_0x133172(0x299)])(w[_0x133172(0x272)]),[_0x25de6f,_0x189956]=(0x0,p[_0x133172(0x299)])(!0x1),[_0x223bbc,_0xd4f760]=(0x0,p[_0x133172(0x299)])([]),_0x1fb8c3=(0x0,d[_0x133172(0x276)])(T),_0x258e35=(0x0,d['useDependency'])(l[_0x133172(0x2d7)]);(0x0,p[_0x133172(0x1e1)])(()=>{const _0x3c5dd3=_0x133172;let _0x545246=_0x1fb8c3[_0x3c5dd3(0x17d)][_0x3c5dd3(0x14a)](_0x981c87=>{_0x189956(_0x981c87);}),_0x30b0a7=_0x1fb8c3['list$'][_0x3c5dd3(0x14a)](_0x56a185=>{_0xd4f760(_0x56a185);}),_0x1a7d89=_0x1fb8c3[_0x3c5dd3(0x18f)][_0x3c5dd3(0x14a)](_0x5bca62=>{_0x3da64a(_0x5bca62);});return()=>{const _0x5b50a3=_0x3c5dd3;_0x545246[_0x5b50a3(0x161)](),_0x30b0a7['unsubscribe'](),_0x1a7d89[_0x5b50a3(0x161)]();};},[]);function _0x5ac9e2(){_0x189956(!0x1);}function _0x4bdc61(_0x40a9ac){const _0x31bcc2=_0x133172;switch(_0x40a9ac){case w[_0x31bcc2(0x2b6)]:return _0x258e35['t'](_0x31bcc2(0x1fd));case w[_0x31bcc2(0x272)]:return _0x258e35['t'](_0x31bcc2(0x1a4));case w[_0x31bcc2(0x175)]:return _0x258e35['t']('exchange.unknownMistake');default:return'';}}return _0x25de6f&&(0x0,g[_0x133172(0x202)])(_0x133172(0x2be),{'className':_0x133172(0x1fc),'children':[(0x0,g[_0x133172(0x202)])('div',{'className':_0x133172(0x147),'children':[(0x0,g[_0x133172(0x202)])(_0x133172(0x2bf),{'className':'univer-flex','children':[(0x0,g[_0x133172(0x209)])(_0x133172(0x2bf),{'className':'univer-h-6\x20univer-text-2xl','children':Te[_0x5c53df]}),(0x0,g[_0x133172(0x209)])(_0x133172(0x2bf),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4bdc61(_0x5c53df)})]}),(0x0,g['jsx'])('span',{'className':_0x133172(0x23d),'onClick':_0x5ac9e2,'children':(0x0,g[_0x133172(0x209)])(f['CloseIcon'],{})})]}),(0x0,g[_0x133172(0x202)])('div',{'children':[_0x5c53df===w[_0x133172(0x272)]&&(0x0,g['jsx'])(we,{}),_0x5c53df===w[_0x133172(0x175)]&&(0x0,g[_0x133172(0x209)])(be,{}),_0x223bbc[_0x133172(0x2b0)]>0x0&&(0x0,g[_0x133172(0x209)])(ae,{'list':_0x223bbc}),_0x5c53df===w['SUCCESS']&&(0x0,g[_0x133172(0x209)])(xe,{'count':_0x223bbc[_0x133172(0x2b0)]})]})]});}function De(){const _0xce145=_0x401a54;return(0x0,g[_0xce145(0x209)])(Ee,{});}let Q=class extends l[_0x401a54(0x155)]{constructor(_0x2ac2ae,_0x3da070){const _0x573078=_0x401a54;super(),this[_0x573078(0x1ea)]=_0x2ac2ae,this[_0x573078(0x1b7)]=_0x3da070,this[_0x573078(0x17b)]();}['_registerComponents'](){const _0x1d6ee5=_0x401a54;this[_0x1d6ee5(0x237)](this['_uiPartsService'][_0x1d6ee5(0x199)](d['BuiltInUIPart'][_0x1d6ee5(0x148)],()=>(0x0,d[_0x1d6ee5(0x165)])(De,this['_injector'])));}};Q=z([R(0x0,(0x0,l[_0x401a54(0x17e)])(l[_0x401a54(0x2c4)])),R(0x1,d[_0x401a54(0x253)])],Q);let $=class extends l[_0x401a54(0x298)]{constructor(_0x35302b=x,_0x515d1c,_0x47bfb2){const _0x41ad11=_0x401a54;super(),this[_0x41ad11(0x190)]=_0x35302b,this[_0x41ad11(0x1ea)]=_0x515d1c,this[_0x41ad11(0x1dd)]=_0x47bfb2;let {..._0x2168a3}=(0x0,l[_0x41ad11(0x296)])({},x,this['_config']);this[_0x41ad11(0x1dd)]['setConfig'](b,_0x2168a3);}[_0x401a54(0x2b1)](){const _0xcb6a2c=_0x401a54;(0x0,l[_0xcb6a2c(0x172)])(this['_injector'],[[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[V,{'useClass':H}],[T,{'useClass':ie}]]);}[_0x401a54(0x232)](){const _0x5b0bb5=_0x401a54;(0x0,l[_0x5b0bb5(0x25f)])(this[_0x5b0bb5(0x1ea)],[[Q],[X]]);}};C($,_0x401a54(0x21c),_0x401a54(0x2bd)),C($,_0x401a54(0x2c6),ee),C($,_0x401a54(0x207),te),$=z([(0x0,l[_0x401a54(0x26e)])(u[_0x401a54(0x182)],c[_0x401a54(0x249)]),R(0x1,(0x0,l['Inject'])(l[_0x401a54(0x2c4)])),R(0x2,l[_0x401a54(0x1cb)])],$),exports['EXCHANGE_CLIENT_PLUGIN_CONFIG_KEY']=b,Object[_0x401a54(0x19e)](exports,_0x401a54(0x288),{'enumerable':!0x0,'get':function(){return Z;}}),Object['defineProperty'](exports,_0x401a54(0x246),{'enumerable':!0x0,'get':function(){return Y;}}),exports[_0x401a54(0x1c5)]=X,exports[_0x401a54(0x1e9)]=J,exports[_0x401a54(0x204)]=V,exports[_0x401a54(0x27a)]=T,Object[_0x401a54(0x19e)](exports,_0x401a54(0x18d),{'enumerable':!0x0,'get':function(){return H;}}),Object[_0x401a54(0x19e)](exports,_0x401a54(0x14f),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x401a54(0x241)]=De,exports[_0x401a54(0x25c)]=ie,exports[_0x401a54(0x198)]=w,exports['downloadFile']=N,exports[_0x401a54(0x2ac)]=P,exports['getUploadFile']=F,exports['transformDocumentDataToSnapshotJson']=W,exports[_0x401a54(0x1f1)]=K,exports[_0x401a54(0x29e)]=G,exports['transformWorkbookDataToSnapshotJson']=U;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1db875=_0x3edf;function _0x3edf(_0x126fe1,_0x57e610){_0x126fe1=_0x126fe1-0x7b;const _0x24de1e=_0x24de();let _0x3edfc7=_0x24de1e[_0x126fe1];return _0x3edfc7;}(function(_0x1844b8,_0x53378b){const _0x13c1a0=_0x3edf,_0x5650aa=_0x1844b8();while(!![]){try{const _0x51b701=parseInt(_0x13c1a0(0x7d))/0x1*(-parseInt(_0x13c1a0(0x85))/0x2)+-parseInt(_0x13c1a0(0x8d))/0x3+parseInt(_0x13c1a0(0x7b))/0x4*(parseInt(_0x13c1a0(0x84))/0x5)+parseInt(_0x13c1a0(0x8e))/0x6*(-parseInt(_0x13c1a0(0x8a))/0x7)+-parseInt(_0x13c1a0(0x7c))/0x8+-parseInt(_0x13c1a0(0x8b))/0x9+parseInt(_0x13c1a0(0x88))/0xa;if(_0x51b701===_0x53378b)break;else _0x5650aa['push'](_0x5650aa['shift']());}catch(_0x436542){_0x5650aa['push'](_0x5650aa['shift']());}}}(_0x24de,0xbfb70));const e={'exchange':{'file':_0x1db875(0x8c),'upload':_0x1db875(0x83),'download':_0x1db875(0x82),'uploading':'Uploading','uploadSuccess':_0x1db875(0x7e),'uploadSuccessTip':_0x1db875(0x87),'downloading':_0x1db875(0x90),'downloadSuccess':_0x1db875(0x8f),'unknownMistake':'Unknown\x20mistake','networkError':_0x1db875(0x91),'tooLarge':_0x1db875(0x81),'internalError':_0x1db875(0x89),'interrupt':_0x1db875(0x7f),'fileTypeError':'Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','wait':'Please\x20wait...','cancel':_0x1db875(0x80),'uploadAgain':'Upload\x20again'}};module[_0x1db875(0x86)]=e;function _0x24de(){const _0x46fdff=['Save\x20As','Open(File)','6585ZOkGRE','3033994KKObdB','exports','{0}\x20file(s)\x20uploaded\x20successfully','38046900EKZUBi','Internal\x20unknown\x20error','7ZNCKPz','9274671LFrqNM','File','2813535UnxlFl','2990874VzDkCV','Download\x20success','Downloading','Network\x20error','3824VIrBab','2357104ryFCbl','1RJUkyM','File\x20uploaded\x20successfully','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Cancel','Data\x20is\x20too\x20large'];_0x24de=function(){return _0x46fdff;};return _0x24de();}
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x4c4d(){const _0x16957a=['5163AUBRxk','Cancel','Save\x20As','Data\x20is\x20too\x20large','Internal\x20unknown\x20error','{0}\x20file(s)\x20uploaded\x20successfully','Downloading','262002xFOuqS','2410392GMZlMD','Download\x20success','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Uploading','11scCzek','File\x20uploaded\x20successfully','3780676gbnbAS','Upload\x20again','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','824679aryRRM','6nXjyot','Unknown\x20mistake','Network\x20error','exports','28jHUwMq','Please\x20wait...','9532180MUUBRT','358QHXXkM','2822035JikQNI'];_0x4c4d=function(){return _0x16957a;};return _0x4c4d();}const _0x49da36=_0x3881;function _0x3881(_0x4508a5,_0x4eb36d){_0x4508a5=_0x4508a5-0x11a;const _0x4c4dfc=_0x4c4d();let _0x388122=_0x4c4dfc[_0x4508a5];return _0x388122;}(function(_0x329e21,_0x1ca58e){const _0x24f67d=_0x3881,_0x348341=_0x329e21();while(!![]){try{const _0x430b8a=parseInt(_0x24f67d(0x130))/0x1+parseInt(_0x24f67d(0x127))/0x2*(parseInt(_0x24f67d(0x129))/0x3)+parseInt(_0x24f67d(0x11c))/0x4+parseInt(_0x24f67d(0x128))/0x5*(-parseInt(_0x24f67d(0x120))/0x6)+-parseInt(_0x24f67d(0x124))/0x7*(parseInt(_0x24f67d(0x131))/0x8)+-parseInt(_0x24f67d(0x11f))/0x9+parseInt(_0x24f67d(0x126))/0xa*(parseInt(_0x24f67d(0x11a))/0xb);if(_0x430b8a===_0x1ca58e)break;else _0x348341['push'](_0x348341['shift']());}catch(_0x10434c){_0x348341['push'](_0x348341['shift']());}}}(_0x4c4d,0x943ee));const e={'exchange':{'file':'File','upload':'Open(File)','download':_0x49da36(0x12b),'uploading':_0x49da36(0x134),'uploadSuccess':_0x49da36(0x11b),'uploadSuccessTip':_0x49da36(0x12e),'downloading':_0x49da36(0x12f),'downloadSuccess':_0x49da36(0x132),'unknownMistake':_0x49da36(0x121),'networkError':_0x49da36(0x122),'tooLarge':_0x49da36(0x12c),'internalError':_0x49da36(0x12d),'interrupt':_0x49da36(0x11e),'fileTypeError':_0x49da36(0x133),'wait':_0x49da36(0x125),'cancel':_0x49da36(0x12a),'uploadAgain':_0x49da36(0x11d)}};module[_0x49da36(0x123)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xcd80(){const _0x4348a2=['{0}\x20file(s)\x20uploaded\x20successfully','Internal\x20unknown\x20error','Data\x20is\x20too\x20large','Uploading','2507176etsLar','3039438RHYZhw','File\x20uploaded\x20successfully','19659IXgFNE','2024476wlHdJw','Save\x20As','21fOKLlz','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Network\x20error','1049174XfbJoW','2514665hTvzSE','Download\x20success','Unknown\x20mistake','Downloading','Upload\x20again','Please\x20wait...','1258497cHIzIj'];_0xcd80=function(){return _0x4348a2;};return _0xcd80();}const _0x74a74e=_0x4390;(function(_0x57bddc,_0x47f3f0){const _0x176633=_0x4390,_0x5561c1=_0x57bddc();while(!![]){try{const _0x5c5a25=-parseInt(_0x176633(0x181))/0x1+-parseInt(_0x176633(0x172))/0x2+parseInt(_0x176633(0x179))/0x3+-parseInt(_0x176633(0x182))/0x4+parseInt(_0x176633(0x173))/0x5+-parseInt(_0x176633(0x17f))/0x6+parseInt(_0x176633(0x184))/0x7*(parseInt(_0x176633(0x17e))/0x8);if(_0x5c5a25===_0x47f3f0)break;else _0x5561c1['push'](_0x5561c1['shift']());}catch(_0x29686c){_0x5561c1['push'](_0x5561c1['shift']());}}}(_0xcd80,0x4aa15));function _0x4390(_0x4d8841,_0x5db385){_0x4d8841=_0x4d8841-0x171;const _0xcd805a=_0xcd80();let _0x43901a=_0xcd805a[_0x4d8841];return _0x43901a;}const e={'exchange':{'file':'File','upload':'Open(File)','download':_0x74a74e(0x183),'uploading':_0x74a74e(0x17d),'uploadSuccess':_0x74a74e(0x180),'uploadSuccessTip':_0x74a74e(0x17a),'downloading':_0x74a74e(0x176),'downloadSuccess':_0x74a74e(0x174),'unknownMistake':_0x74a74e(0x175),'networkError':_0x74a74e(0x171),'tooLarge':_0x74a74e(0x17c),'internalError':_0x74a74e(0x17b),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x74a74e(0x185),'wait':_0x74a74e(0x178),'cancel':'Cancel','uploadAgain':_0x74a74e(0x177)}};module['exports']=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x1508fc=_0x3adf;(function(_0x32a005,_0x39c093){const _0x4e753e=_0x3adf,_0x2c4161=_0x32a005();while(!![]){try{const _0x56dbec=-parseInt(_0x4e753e(0x1e7))/0x1+parseInt(_0x4e753e(0x1e5))/0x2+-parseInt(_0x4e753e(0x1e6))/0x3*(-parseInt(_0x4e753e(0x1dd))/0x4)+-parseInt(_0x4e753e(0x1d6))/0x5+-parseInt(_0x4e753e(0x1e2))/0x6+parseInt(_0x4e753e(0x1e8))/0x7*(parseInt(_0x4e753e(0x1ec))/0x8)+parseInt(_0x4e753e(0x1d8))/0x9*(parseInt(_0x4e753e(0x1da))/0xa);if(_0x56dbec===_0x39c093)break;else _0x2c4161['push'](_0x2c4161['shift']());}catch(_0x5651de){_0x2c4161['push'](_0x2c4161['shift']());}}}(_0x9590,0x90247));const e={'exchange':{'file':_0x1508fc(0x1d9),'upload':_0x1508fc(0x1db),'download':_0x1508fc(0x1eb),'uploading':_0x1508fc(0x1de),'uploadSuccess':_0x1508fc(0x1e1),'uploadSuccessTip':'{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','downloading':_0x1508fc(0x1ea),'downloadSuccess':_0x1508fc(0x1dc),'unknownMistake':'خطای\x20ناشناخته','networkError':'خطای\x20شبکه','tooLarge':_0x1508fc(0x1df),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x1508fc(0x1e4),'fileTypeError':_0x1508fc(0x1e0),'wait':_0x1508fc(0x1d7),'cancel':_0x1508fc(0x1e3),'uploadAgain':_0x1508fc(0x1e9)}};function _0x3adf(_0xab68d1,_0x2e20a4){_0xab68d1=_0xab68d1-0x1d6;const _0x9590a7=_0x9590();let _0x3adfd0=_0x9590a7[_0xab68d1];return _0x3adfd0;}module['exports']=e;function _0x9590(){const _0x5cb73c=['فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','2561982wGZXOP','لغو','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','1190566PGknFX','3gmbvCy','428419XpQrpf','196uqrGUf','بارگذاری\x20مجدد','در\x20حال\x20دانلود','ذخیره\x20به\x20عنوان','210016BXEgsR','5643600QuwBKF','لطفا\x20صبر\x20کنید...','1022553FgNKvw','فایل','10hmUqeR','بازکردن(فایل)','دانلود\x20موفقیت\x20آمیز','4522348AuNNBY','در\x20حال\x20بارگذاری','داده\x20خیلی\x20بزرگ\x20است'];_0x9590=function(){return _0x5cb73c;};return _0x9590();}
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1c5c2a=_0x9e99;function _0x463a(){const _0x1cae45=['La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Erreur\x20inconnue','692864xsunvs','3342129tVrthS','6YXKFOT','Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement','3446540aGWOCc','523589VWvfZO','Erreur\x20réseau','Les\x20données\x20sont\x20trop\x20volumineuses','Veuillez\x20patienter...','Enregistrer\x20sous','Annuler','468AISCWY','10410130DjKkwG','exports','Fichier','1052248BJQfZu','Téléchargement\x20réussi','Téléchargement\x20en\x20cours','54SbrvXc','Télécharger\x20à\x20nouveau','39wrHJDZ','3YZSQGY','70008oiuoIZ'];_0x463a=function(){return _0x1cae45;};return _0x463a();}(function(_0x3451c7,_0x223c41){const _0x520639=_0x9e99,_0x2c771b=_0x3451c7();while(!![]){try{const _0x305ea5=-parseInt(_0x520639(0x85))/0x1*(parseInt(_0x520639(0x89))/0x2)+parseInt(_0x520639(0x84))/0x3*(parseInt(_0x520639(0x86))/0x4)+-parseInt(_0x520639(0x74))/0x5*(parseInt(_0x520639(0x8b))/0x6)+parseInt(_0x520639(0x8a))/0x7+-parseInt(_0x520639(0x7f))/0x8*(-parseInt(_0x520639(0x82))/0x9)+-parseInt(_0x520639(0x7c))/0xa+-parseInt(_0x520639(0x75))/0xb*(-parseInt(_0x520639(0x7b))/0xc);if(_0x305ea5===_0x223c41)break;else _0x2c771b['push'](_0x2c771b['shift']());}catch(_0x458557){_0x2c771b['push'](_0x2c771b['shift']());}}}(_0x463a,0x8dd27));const e={'exchange':{'file':_0x1c5c2a(0x7e),'upload':'Ouvrir\x20(Fichier)','download':_0x1c5c2a(0x79),'uploading':_0x1c5c2a(0x81),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x1c5c2a(0x72),'downloading':_0x1c5c2a(0x73),'downloadSuccess':_0x1c5c2a(0x80),'unknownMistake':_0x1c5c2a(0x88),'networkError':_0x1c5c2a(0x76),'tooLarge':_0x1c5c2a(0x77),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x1c5c2a(0x87),'fileTypeError':_0x1c5c2a(0x8c),'wait':_0x1c5c2a(0x78),'cancel':_0x1c5c2a(0x7a),'uploadAgain':_0x1c5c2a(0x83)}};function _0x9e99(_0x430641,_0x1dada6){_0x430641=_0x430641-0x72;const _0x463a60=_0x463a();let _0x9e994d=_0x463a60[_0x430641];return _0x9e994d;}module[_0x1c5c2a(0x7d)]=e;
|
package/lib/cjs/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x12401b=_0x10f4;(function(_0x2f142b,_0x26851f){const _0x205ce8=_0x10f4,_0x474e11=_0x2f142b();while(!![]){try{const _0x4f4af0=-parseInt(_0x205ce8(0xfe))/0x1+parseInt(_0x205ce8(0x10e))/0x2+-parseInt(_0x205ce8(0x100))/0x3*(parseInt(_0x205ce8(0xff))/0x4)+parseInt(_0x205ce8(0xfa))/0x5+parseInt(_0x205ce8(0x105))/0x6*(-parseInt(_0x205ce8(0x113))/0x7)+-parseInt(_0x205ce8(0x102))/0x8*(-parseInt(_0x205ce8(0x10d))/0x9)+parseInt(_0x205ce8(0xfc))/0xa*(-parseInt(_0x205ce8(0x10c))/0xb);if(_0x4f4af0===_0x26851f)break;else _0x474e11['push'](_0x474e11['shift']());}catch(_0x3ffa56){_0x474e11['push'](_0x474e11['shift']());}}}(_0x40a5,0xbb9c4));function _0x10f4(_0x2dcdd5,_0x5ae4a9){_0x2dcdd5=_0x2dcdd5-0xfa;const _0x40a509=_0x40a5();let _0x10f42d=_0x40a509[_0x2dcdd5];return _0x10f42d;}const e={'exchange':{'file':_0x12401b(0xfb),'upload':'開く(ファイル)','download':_0x12401b(0x107),'uploading':_0x12401b(0x101),'uploadSuccess':_0x12401b(0x10f),'uploadSuccessTip':_0x12401b(0x10a),'downloading':'ダウンロード中','downloadSuccess':_0x12401b(0x104),'unknownMistake':_0x12401b(0x109),'networkError':_0x12401b(0x112),'tooLarge':_0x12401b(0x108),'internalError':_0x12401b(0xfd),'interrupt':_0x12401b(0x103),'fileTypeError':_0x12401b(0x106),'wait':'お待ちください...','cancel':_0x12401b(0x10b),'uploadAgain':_0x12401b(0x111)}};module[_0x12401b(0x110)]=e;function _0x40a5(){const _0x2c30d5=['内部エラーが発生しました','1301489VXDKwK','566156crSaou','6BwskOB','アップロード中','988128kFIdMg','ネットワーク接続が中断され、ファイルのアップロードに失敗しました','ダウンロードが完了しました','332448rfrXHa','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','名前を付けて保存','データが大きすぎます','不明なエラー','{0}\x20個のファイルが正常にアップロードされました','キャンセル','43241RGksxO','36imgQUV','2691972UudnGt','ファイルが正常にアップロードされました','exports','再度アップロード','ネットワークエラー','56iwVDhd','6294600adlcZT','ファイル','770tBfdaq'];_0x40a5=function(){return _0x2c30d5;};return _0x40a5();}
|
package/lib/cjs/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x461200=_0x123c;(function(_0x557e91,_0x3e53bb){const _0x4dc5d2=_0x123c,_0x402deb=_0x557e91();while(!![]){try{const _0x49250a=-parseInt(_0x4dc5d2(0x1ae))/0x1+-parseInt(_0x4dc5d2(0x1bc))/0x2+-parseInt(_0x4dc5d2(0x1b9))/0x3*(-parseInt(_0x4dc5d2(0x1b5))/0x4)+-parseInt(_0x4dc5d2(0x1bf))/0x5*(parseInt(_0x4dc5d2(0x1ba))/0x6)+-parseInt(_0x4dc5d2(0x1bd))/0x7+-parseInt(_0x4dc5d2(0x1b4))/0x8*(-parseInt(_0x4dc5d2(0x1b2))/0x9)+parseInt(_0x4dc5d2(0x1b1))/0xa*(parseInt(_0x4dc5d2(0x1c0))/0xb);if(_0x49250a===_0x3e53bb)break;else _0x402deb['push'](_0x402deb['shift']());}catch(_0x494aa8){_0x402deb['push'](_0x402deb['shift']());}}}(_0x39fe,0xacf37));const e={'exchange':{'file':'파일','upload':_0x461200(0x1b7),'download':_0x461200(0x1bb),'uploading':_0x461200(0x1b8),'uploadSuccess':'파일이\x20성공적으로\x20업로드되었습니다','uploadSuccessTip':'{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다','downloading':_0x461200(0x1af),'downloadSuccess':_0x461200(0x1ad),'unknownMistake':'알\x20수\x20없는\x20오류','networkError':_0x461200(0x1be),'tooLarge':_0x461200(0x1b0),'internalError':_0x461200(0x1ac),'interrupt':_0x461200(0x1b6),'fileTypeError':'선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','wait':'잠시만\x20기다려\x20주세요...','cancel':'취소','uploadAgain':_0x461200(0x1b3)}};function _0x123c(_0x254071,_0x34f3f7){_0x254071=_0x254071-0x1ac;const _0x39fe4b=_0x39fe();let _0x123cb4=_0x39fe4b[_0x254071];return _0x123cb4;}function _0x39fe(){const _0x45ddb3=['6357270iKScVf','다른\x20이름으로\x20저장','2165200kBJqvc','4601800KAOQrw','네트워크\x20오류','5hvSTOm','940159lzdVHE','내부\x20오류가\x20발생했습니다','다운로드가\x20완료되었습니다','94877IsvihL','다운로드\x20중','데이터가\x20너무\x20큽니다','340Biaozz','162XIguem','다시\x20업로드','122296TgRkPD','4szApJU','네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','열기(파일)','업로드\x20중','1265151lbBVAx'];_0x39fe=function(){return _0x45ddb3;};return _0x39fe();}module['exports']=e;
|
package/lib/cjs/locale/ru-RU.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x9fd010=_0x5f21;(function(_0x203467,_0x3687f6){const _0xadc413=_0x5f21,_0x2e422f=_0x203467();while(!![]){try{const _0xc9ef48=parseInt(_0xadc413(0x19e))/0x1+-parseInt(_0xadc413(0x1a7))/0x2+-parseInt(_0xadc413(0x1aa))/0x3+-parseInt(_0xadc413(0x1b0))/0x4+parseInt(_0xadc413(0x1a9))/0x5*(parseInt(_0xadc413(0x19f))/0x6)+parseInt(_0xadc413(0x1a4))/0x7*(parseInt(_0xadc413(0x1a5))/0x8)+-parseInt(_0xadc413(0x1a1))/0x9*(-parseInt(_0xadc413(0x1ac))/0xa);if(_0xc9ef48===_0x3687f6)break;else _0x2e422f['push'](_0x2e422f['shift']());}catch(_0x3a1a1b){_0x2e422f['push'](_0x2e422f['shift']());}}}(_0x760c,0x223ff));const e={'exchange':{'file':_0x9fd010(0x1a3),'upload':'Открыть(Файл)','download':_0x9fd010(0x1a6),'uploading':_0x9fd010(0x1ae),'uploadSuccess':'Файл\x20успешно\x20загружен','uploadSuccessTip':'{0}\x20файл(ов)\x20успешно\x20загружен(о)','downloading':_0x9fd010(0x1ad),'downloadSuccess':_0x9fd010(0x1af),'unknownMistake':'Неизвестная\x20ошибка','networkError':_0x9fd010(0x1a2),'tooLarge':_0x9fd010(0x1ab),'internalError':_0x9fd010(0x1a0),'interrupt':_0x9fd010(0x1a8),'fileTypeError':'Выбранный\x20файл\x20[{0}]\x20не\x20поддерживается\x20для\x20загрузки','wait':'Пожалуйста,\x20подождите...','cancel':'Отмена','uploadAgain':_0x9fd010(0x19d)}};function _0x5f21(_0x1d6d13,_0x25e1ce){_0x1d6d13=_0x1d6d13-0x19d;const _0x760c23=_0x760c();let _0x5f2188=_0x760c23[_0x1d6d13];return _0x5f2188;}function _0x760c(){const _0x386f52=['Сетевое\x20соединение\x20было\x20прервано,\x20и\x20загрузка\x20файла\x20не\x20удалась','15450CPadUr','730572GDtoZA','Данные\x20слишком\x20большие','10DiUuTE','Скачивание','Загрузка','Скачивание\x20успешно','915328BkcpOR','Загрузить\x20снова','55300iiuiUt','378mwniBB','Внутренняя\x20неизвестная\x20ошибка','5028147wjlJjI','Сетевая\x20ошибка','Файл','7pVodUU','284512XaiBsp','Сохранить\x20как','463148mNBfav'];_0x760c=function(){return _0x386f52;};return _0x760c();}module['exports']=e;
|
package/lib/cjs/locale/sk-SK.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2fcdfc=_0x336f;function _0x336f(_0x354920,_0x34412f){_0x354920=_0x354920-0xb8;const _0x2bb217=_0x2bb2();let _0x336f79=_0x2bb217[_0x354920];return _0x336f79;}(function(_0x226fac,_0xdfc5c){const _0x95b70d=_0x336f,_0x298a2f=_0x226fac();while(!![]){try{const _0x5234b3=parseInt(_0x95b70d(0xc0))/0x1*(-parseInt(_0x95b70d(0xb8))/0x2)+parseInt(_0x95b70d(0xba))/0x3+-parseInt(_0x95b70d(0xc2))/0x4+parseInt(_0x95b70d(0xbd))/0x5*(parseInt(_0x95b70d(0xc1))/0x6)+-parseInt(_0x95b70d(0xbe))/0x7+parseInt(_0x95b70d(0xbb))/0x8+parseInt(_0x95b70d(0xcb))/0x9;if(_0x5234b3===_0xdfc5c)break;else _0x298a2f['push'](_0x298a2f['shift']());}catch(_0x466a2d){_0x298a2f['push'](_0x298a2f['shift']());}}}(_0x2bb2,0x5b9a2));const e={'exchange':{'file':_0x2fcdfc(0xc3),'upload':'Otvoriť\x20(súbor)','download':'Uložiť\x20ako','uploading':'Nahrávanie','uploadSuccess':_0x2fcdfc(0xc8),'uploadSuccessTip':_0x2fcdfc(0xc7),'downloading':'Sťahovanie','downloadSuccess':'Sťahovanie\x20úspešné','unknownMistake':_0x2fcdfc(0xb9),'networkError':_0x2fcdfc(0xca),'tooLarge':'Dáta\x20sú\x20príliš\x20veľké','internalError':'Interná\x20neznáma\x20chyba','interrupt':_0x2fcdfc(0xc6),'fileTypeError':_0x2fcdfc(0xc4),'wait':_0x2fcdfc(0xbc),'cancel':_0x2fcdfc(0xc5),'uploadAgain':_0x2fcdfc(0xbf)}};module[_0x2fcdfc(0xc9)]=e;function _0x2bb2(){const _0x103e37=['exports','Sieťová\x20chyba','3244941odTemp','2Kfrbao','Neznáma\x20chyba','1774257xwwqLG','3355944HLnjCo','Prosím\x20počkajte...','6505rrtdyH','4228994YHBACn','Nahrať\x20znova','441614vhnHuK','732FFaXNU','436900pHifZM','Súbor','Vybraný\x20súbor\x20[{0}]\x20nie\x20je\x20podporovaný\x20na\x20nahrávanie','Zrušiť','Sieťové\x20pripojenie\x20bolo\x20prerušené\x20a\x20nahrávanie\x20súboru\x20zlyhalo','Úspešne\x20nahraných\x20{0}\x20súborov','Súbor\x20bol\x20úspešne\x20nahraný'];_0x2bb2=function(){return _0x103e37;};return _0x2bb2();}
|