@univerjs-pro/exchange-client 1.0.0-alpha.5 → 1.0.0-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +10 -10
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x20e297=_0x1854;function _0x5f36(){const _0xb7eb90=['_injector','247911UZJRQG','importPPTXToSnapshotAsync','transformSnapshotJsonToWorkbookDataAsync','importXLSXToUnitIdAsync','UniverInstanceType','importFileToUnitId','extend','FUniver','641WtXJwQ','UNIVER_SHEET','downloadFile','exportXLSXByUnitId','exportDOCXBySnapshot','exportXLSXBySnapshotAsync','transformWorkbookDataToSnapshotJson','1554ZibJEU','transformSnapshotJsonToWorkbookData','6bzWBeo','1561692OoGkBt','exportDOCXByUnitId','3064390VlSqsI','exportPPTXBySnapshot','importDOCXToUnitIdAsync','4980240hdETbr','exportPPTXByUnitIdAsync','importPPTXToUnitIdAsync','5189863wgpdIB','transformWorkbookDataToSnapshotJsonAsync','importXLSXToSnapshotAsync','exportPPTXByUnitId','IExchangeService','9voIoeT','428968YBBWsZ','get'];_0x5f36=function(){return _0xb7eb90;};return _0x5f36();}(function(_0x2531f0,_0x413214){const _0xb730e5=_0x1854,_0x42b5b7=_0x2531f0();while(!![]){try{const _0x6cba05=parseInt(_0xb730e5(0x173))/0x1*(parseInt(_0xb730e5(0x157))/0x2)+-parseInt(_0xb730e5(0x16b))/0x3+parseInt(_0xb730e5(0x15a))/0x4+-parseInt(_0xb730e5(0x15c))/0x5+parseInt(_0xb730e5(0x159))/0x6*(parseInt(_0xb730e5(0x162))/0x7)+parseInt(_0xb730e5(0x168))/0x8*(-parseInt(_0xb730e5(0x167))/0x9)+-parseInt(_0xb730e5(0x15f))/0xa;if(_0x6cba05===_0x413214)break;else _0x42b5b7['push'](_0x42b5b7['shift']());}catch(_0x301948){_0x42b5b7['push'](_0x42b5b7['shift']());}}}(_0x5f36,0x5d709));function _0x1854(_0x38da43,_0x298a6e){_0x38da43=_0x38da43-0x151;const _0x5f3671=_0x5f36();let _0x1854a3=_0x5f3671[_0x38da43];return _0x1854a3;}let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');var r=class extends n[_0x20e297(0x172)]{[_0x20e297(0x152)](_0x1485c8,_0x3d010e,_0x137f60){const _0x2cb477=_0x20e297;this[_0x2cb477(0x16a)][_0x2cb477(0x169)](e['IExchangeService'])['downloadFile'](_0x1485c8,_0x3d010e,_0x137f60);}async[_0x20e297(0x16d)](_0x5abade){const _0x5ad005=_0x20e297;return this[_0x5ad005(0x16a)][_0x5ad005(0x169)](e[_0x5ad005(0x166)])[_0x5ad005(0x158)](_0x5abade);}async[_0x20e297(0x163)](_0x1c31f0){const _0x483bf0=_0x20e297;return this[_0x483bf0(0x16a)]['get'](e[_0x483bf0(0x166)])[_0x483bf0(0x156)](_0x1c31f0);}async[_0x20e297(0x16e)](_0x8c7b57){const _0x4ac9e2=_0x20e297;return this['_injector'][_0x4ac9e2(0x169)](e['IExchangeService'])[_0x4ac9e2(0x170)](_0x8c7b57,t[_0x4ac9e2(0x16f)][_0x4ac9e2(0x151)]);}async[_0x20e297(0x164)](_0x205408){const _0x532918=_0x20e297;return this['_injector'][_0x532918(0x169)](e[_0x532918(0x166)])['importXLSXToSnapshot'](_0x205408);}async['exportXLSXByUnitIdAsync'](_0x42ebe8){const _0x5a9c9d=_0x20e297;return this[_0x5a9c9d(0x16a)]['get'](e[_0x5a9c9d(0x166)])[_0x5a9c9d(0x153)](_0x42ebe8);}async[_0x20e297(0x155)](_0x2f2696){const _0x582eeb=_0x20e297;return this[_0x582eeb(0x16a)]['get'](e['IExchangeService'])['exportXLSXBySnapshot'](_0x2f2696);}async[_0x20e297(0x15e)](_0x2dd6bb){const _0x5d62ca=_0x20e297;return this[_0x5d62ca(0x16a)][_0x5d62ca(0x169)](e[_0x5d62ca(0x166)])[_0x5d62ca(0x170)](_0x2dd6bb,t[_0x5d62ca(0x16f)]['UNIVER_DOC']);}async['importDOCXToSnapshotAsync'](_0x4d0f41){const _0x146bf9=_0x20e297;return this[_0x146bf9(0x16a)][_0x146bf9(0x169)](e[_0x146bf9(0x166)])['importDOCXToSnapshot'](_0x4d0f41);}async['exportDOCXBySnapshotAsync'](_0x16dea4){const _0x5ef3dd=_0x20e297;return this[_0x5ef3dd(0x16a)]['get'](e[_0x5ef3dd(0x166)])[_0x5ef3dd(0x154)](_0x16dea4);}async['exportDOCXByUnitIdAsync'](_0x117df8){const _0x108c1c=_0x20e297;return this[_0x108c1c(0x16a)][_0x108c1c(0x169)](e[_0x108c1c(0x166)])[_0x108c1c(0x15b)](_0x117df8);}async[_0x20e297(0x161)](_0x288395){const _0x339260=_0x20e297;return this[_0x339260(0x16a)][_0x339260(0x169)](e[_0x339260(0x166)])[_0x339260(0x170)](_0x288395,t[_0x339260(0x16f)]['UNIVER_SLIDE']);}async[_0x20e297(0x16c)](_0x1824fe){const _0x2f7e38=_0x20e297;return this[_0x2f7e38(0x16a)][_0x2f7e38(0x169)](e[_0x2f7e38(0x166)])['importPPTXToSnapshot'](_0x1824fe);}async[_0x20e297(0x160)](_0x450c2e){const _0x911554=_0x20e297;return this[_0x911554(0x16a)][_0x911554(0x169)](e[_0x911554(0x166)])[_0x911554(0x165)](_0x450c2e);}async['exportPPTXBySnapshotAsync'](_0x25e3be){const _0x2316df=_0x20e297;return this[_0x2316df(0x16a)][_0x2316df(0x169)](e[_0x2316df(0x166)])[_0x2316df(0x15d)](_0x25e3be);}};n[_0x20e297(0x172)][_0x20e297(0x171)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3ae1dd=_0x35b5;(function(_0x3c80c5,_0x4f6d0c){const _0x554e55=_0x35b5,_0x24e33f=_0x3c80c5();while(!![]){try{const _0x55d88a=parseInt(_0x554e55(0x204))/0x1*(parseInt(_0x554e55(0x2d2))/0x2)+parseInt(_0x554e55(0x307))/0x3*(-parseInt(_0x554e55(0x34b))/0x4)+-parseInt(_0x554e55(0x2b0))/0x5*(-parseInt(_0x554e55(0x28f))/0x6)+parseInt(_0x554e55(0x337))/0x7+-parseInt(_0x554e55(0x1dd))/0x8*(parseInt(_0x554e55(0x2fb))/0x9)+-parseInt(_0x554e55(0x276))/0xa+-parseInt(_0x554e55(0x236))/0xb*(parseInt(_0x554e55(0x216))/0xc);if(_0x55d88a===_0x4f6d0c)break;else _0x24e33f['push'](_0x24e33f['shift']());}catch(_0x48b324){_0x24e33f['push'](_0x24e33f['shift']());}}}(_0x3d33,0x1ea3b),Object[_0x3ae1dd(0x240)](exports,Symbol[_0x3ae1dd(0x21b)],{'value':_0x3ae1dd(0x295)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d='@univerjs-pro/exchange-client',ee=_0x3ae1dd(0x1d0);const f=_0x3ae1dd(0x275),p={};function m(_0x16a57e,_0x1b4b8f){return function(_0x430117,_0x3d9e7c){_0x1b4b8f(_0x430117,_0x3d9e7c,_0x16a57e);};}function h(_0x158044,_0x327abc,_0x2659f5,_0xd50e4b){const _0xee308e=_0x3ae1dd;var _0x4ef80a=arguments[_0xee308e(0x2f6)],_0x1d2df1=_0x4ef80a<0x3?_0x327abc:_0xd50e4b===null?_0xd50e4b=Object[_0xee308e(0x2b2)](_0x327abc,_0x2659f5):_0xd50e4b,_0x569186;if(typeof Reflect==_0xee308e(0x1fe)&&typeof Reflect[_0xee308e(0x1f3)]==_0xee308e(0x23d))_0x1d2df1=Reflect[_0xee308e(0x1f3)](_0x158044,_0x327abc,_0x2659f5,_0xd50e4b);else{for(var _0x1c92cc=_0x158044['length']-0x1;_0x1c92cc>=0x0;_0x1c92cc--)(_0x569186=_0x158044[_0x1c92cc])&&(_0x1d2df1=(_0x4ef80a<0x3?_0x569186(_0x1d2df1):_0x4ef80a>0x3?_0x569186(_0x327abc,_0x2659f5,_0x1d2df1):_0x569186(_0x327abc,_0x2659f5))||_0x1d2df1);}return _0x4ef80a>0x3&&_0x1d2df1&&Object[_0xee308e(0x240)](_0x327abc,_0x2659f5,_0x1d2df1),_0x1d2df1;}let g=class extends t['Disposable']{constructor(_0x3f4b04){const _0x25fc60=_0x3ae1dd;super(),this[_0x25fc60(0x26a)]=_0x3f4b04,this[_0x25fc60(0x1f8)]();}[_0x3ae1dd(0x1f8)](){const _0x577693=_0x3ae1dd;this[_0x577693(0x2b9)](this['_iconManager'][_0x577693(0x24b)]({'DirectExportIcon':r['DirectExportIcon']}));}};g=h([m(0x0,(0x0,t[_0x3ae1dd(0x223)])(i[_0x3ae1dd(0x324)]))],g);function _(_0x31db3b){'@babel/helpers - typeof';const _0x5b8485=_0x3ae1dd;return _=typeof Symbol==_0x5b8485(0x23d)&&typeof Symbol[_0x5b8485(0x335)]==_0x5b8485(0x20a)?function(_0x24a597){return typeof _0x24a597;}:function(_0x278127){const _0x406cc6=_0x5b8485;return _0x278127&&typeof Symbol==_0x406cc6(0x23d)&&_0x278127['constructor']===Symbol&&_0x278127!==Symbol[_0x406cc6(0x290)]?_0x406cc6(0x20a):typeof _0x278127;},_(_0x31db3b);}function _0x35b5(_0x3ae53b,_0x4c8d52){_0x3ae53b=_0x3ae53b-0x1cb;const _0x3d3304=_0x3d33();let _0x35b521=_0x3d3304[_0x3ae53b];return _0x35b521;}function te(_0x20b6dd,_0x5dbff1){const _0x2fa1b0=_0x3ae1dd;if(_(_0x20b6dd)!=_0x2fa1b0(0x1fe)||!_0x20b6dd)return _0x20b6dd;var _0x50b1b4=_0x20b6dd[Symbol[_0x2fa1b0(0x253)]];if(_0x50b1b4!==void 0x0){var _0xbaf987=_0x50b1b4[_0x2fa1b0(0x224)](_0x20b6dd,_0x5dbff1||_0x2fa1b0(0x280));if(_(_0xbaf987)!=_0x2fa1b0(0x1fe))return _0xbaf987;throw TypeError(_0x2fa1b0(0x356));}return(_0x5dbff1===_0x2fa1b0(0x23e)?String:Number)(_0x20b6dd);}function ne(_0x5dc3c1){const _0x187810=_0x3ae1dd;var _0x424b03=te(_0x5dc3c1,_0x187810(0x23e));return _(_0x424b03)==_0x187810(0x20a)?_0x424b03:_0x424b03+'';}function v(_0x4265c6,_0x3adaba,_0x345698){const _0x39bf16=_0x3ae1dd;return(_0x3adaba=ne(_0x3adaba))in _0x4265c6?Object[_0x39bf16(0x240)](_0x4265c6,_0x3adaba,{'value':_0x345698,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4265c6[_0x3adaba]=_0x345698,_0x4265c6;}const y=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x26e));var b=class extends t[_0x3ae1dd(0x25e)]{constructor(){const _0x5e3b17=_0x3ae1dd;super(),v(this,_0x5e3b17(0x278),new a[(_0x5e3b17(0x1f9))]()),v(this,_0x5e3b17(0x296),new a['Subject']()),v(this,_0x5e3b17(0x241),new a[(_0x5e3b17(0x1f9))]()),v(this,_0x5e3b17(0x339),this['_visible$']['asObservable']()),v(this,'state$',this[_0x5e3b17(0x296)][_0x5e3b17(0x1de)]()),v(this,'list$',this['_list$'][_0x5e3b17(0x1de)]()),v(this,_0x5e3b17(0x258),[]);}['dispose'](){const _0x2d5585=_0x3ae1dd;super[_0x2d5585(0x20c)](),this[_0x2d5585(0x278)][_0x2d5585(0x2d1)](),this[_0x2d5585(0x296)][_0x2d5585(0x2d1)](),this['_list$'][_0x2d5585(0x2d1)]();}[_0x3ae1dd(0x24a)](){const _0x53322c=_0x3ae1dd;this['_visible$'][_0x53322c(0x2bf)](!0x0);}[_0x3ae1dd(0x1d1)](){const _0x169da1=_0x3ae1dd;this[_0x169da1(0x278)][_0x169da1(0x2bf)](!0x1);}[_0x3ae1dd(0x346)](_0x83954d){const _0x3c4ddd=_0x3ae1dd;this[_0x3c4ddd(0x296)][_0x3c4ddd(0x2bf)](_0x83954d);}[_0x3ae1dd(0x231)](_0x1b0716){const _0x51a47d=_0x3ae1dd;this[_0x51a47d(0x258)][_0x51a47d(0x2e4)](_0x1b0716),this['_list$'][_0x51a47d(0x2bf)](this[_0x51a47d(0x258)]);}};function re(_0x12dac2){const _0x316b60=_0x3ae1dd;let {list:_0x306741}=_0x12dac2;function _0x134c35(_0x3a3c9d){const _0x33c146=_0x35b5;switch(_0x3a3c9d){case 0x1:return(0x0,s[_0x33c146(0x2ba)])(r[_0x33c146(0x28b)],{});case 0x2:return(0x0,s[_0x33c146(0x2ba)])(r[_0x33c146(0x316)],{});case 0x3:return(0x0,s['jsx'])(r[_0x33c146(0x31e)],{});default:return null;}}return(0x0,s[_0x316b60(0x2ba)])(_0x316b60(0x33b),{'className':(0x0,o['clsx'])(_0x316b60(0x292),o[_0x316b60(0x1ef)]),'children':(0x0,s[_0x316b60(0x2ba)])('ul',{'className':_0x316b60(0x1cc),'children':_0x306741[_0x316b60(0x347)]((_0x367ac8,_0x24ecc2)=>(0x0,s[_0x316b60(0x2ba)])('li',{'children':(0x0,s[_0x316b60(0x1cd)])('a',{'className':_0x316b60(0x234),'href':_0x367ac8[_0x316b60(0x2ab)],'target':_0x316b60(0x2e1),'rel':_0x316b60(0x301),'children':[(0x0,s[_0x316b60(0x1cd)])(_0x316b60(0x305),{'className':_0x316b60(0x2d5),'children':[(0x0,s[_0x316b60(0x2ba)])(_0x316b60(0x305),{'className':_0x316b60(0x29b),'children':_0x134c35(_0x367ac8[_0x316b60(0x314)])}),(0x0,s[_0x316b60(0x2ba)])(o['Tooltip'],{'showIfEllipsis':!0x0,'title':_0x367ac8['name'],'asChild':!0x0,'children':(0x0,s['jsx'])('span',{'className':_0x316b60(0x21c),'children':_0x367ac8['name']})})]}),(0x0,s[_0x316b60(0x2ba)])(_0x316b60(0x305),{'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','children':(0x0,s[_0x316b60(0x2ba)])(r[_0x316b60(0x2c1)],{})})]})},_0x24ecc2))})});}const x=_0x3ae1dd(0x1cf),S=_0x3ae1dd(0x348),C=_0x3ae1dd(0x358),w=_0x3ae1dd(0x351),T='application/vnd.openxmlformats-officedocument.presentationml.presentation',E='application/pdf',D={[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x270)]]:[''],[t[_0x3ae1dd(0x24e)]['UNIVER_DOC']]:[x],[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x27a)]]:[S,C,w],[t['UniverInstanceType'][_0x3ae1dd(0x352)]]:[T],[t[_0x3ae1dd(0x24e)]['UNIVER_BASE']]:[''],[t[_0x3ae1dd(0x24e)]['UNIVER_BOARD']]:[''],[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x2d9)]]:[''],[t[_0x3ae1dd(0x24e)]['UNIVER_PDF']]:[E],[t[_0x3ae1dd(0x24e)][_0x3ae1dd(0x344)]]:['']},O={[x]:_0x3ae1dd(0x31c),[S]:_0x3ae1dd(0x1fb),[C]:'xlsm',[w]:_0x3ae1dd(0x338),[T]:_0x3ae1dd(0x2c3),[E]:_0x3ae1dd(0x22d)};function k(_0x447a59,_0x591c0f,_0x13e84c){const _0x26862d=_0x3ae1dd;let _0x6242a8=document[_0x26862d(0x26c)]('a');_0x6242a8[_0x26862d(0x264)]=_0x447a59,_0x6242a8['style']['display']='none',_0x6242a8[_0x26862d(0x345)]=_0x591c0f+'.'+_0x13e84c,document[_0x26862d(0x289)][_0x26862d(0x220)](_0x6242a8),_0x6242a8[_0x26862d(0x362)](),document[_0x26862d(0x289)][_0x26862d(0x2ac)](_0x6242a8);}function A(_0x54643a,_0x3728bb,_0x3ff248){const _0x5c50d0=_0x3ae1dd;let _0x421b52=URL[_0x5c50d0(0x1f6)](_0x54643a);k(_0x421b52,_0x3728bb,_0x3ff248),URL['revokeObjectURL'](_0x421b52);}function j(_0x4f709e){const _0x38da44=_0x3ae1dd;let _0x365758=_0x4f709e[_0x38da44(0x1e3)][_0x38da44(0x29a)]('.')[_0x38da44(0x2da)]();if(!_0x365758)return t[_0x38da44(0x24e)][_0x38da44(0x270)];let _0x8ddc83=ie(),_0xf9b458=t[_0x38da44(0x24e)][_0x38da44(0x270)];return _0x8ddc83['some'](_0x176c4b=>ae(_0x365758,_0x176c4b)?(_0xf9b458=_0x176c4b,!0x0):!0x1),_0xf9b458;}function ie(){return Object['values'](t['UniverInstanceType'])['filter'](_0x569741=>typeof _0x569741=='number');}function ae(_0x212fe8,_0x37e11e){const _0x4502eb=_0x3ae1dd;var _0x1e34aa;return((_0x1e34aa=D[_0x37e11e])==null?[]:_0x1e34aa)['map'](_0x3c9619=>(O[_0x3c9619]||'')[_0x4502eb(0x2ea)]())[_0x4502eb(0x22a)](_0x212fe8['toLowerCase']());}function M(_0x5c216a,_0x43fa2d=!0x1){const _0x2e871c=_0x3ae1dd;let _0x487bee=_0x5c216a[_0x2e871c(0x347)](_0x1cbd28=>{var _0x386b0b;return(_0x386b0b=D[_0x1cbd28])==null?[]:_0x386b0b;})['join'](',');return new Promise((_0x27156a,_0x5673b9)=>{const _0x83f8b0=_0x2e871c;let _0x19d306=document['createElement'](_0x83f8b0(0x31b));_0x19d306[_0x83f8b0(0x314)]=_0x83f8b0(0x2c4),_0x19d306[_0x83f8b0(0x2d3)]=_0x487bee,_0x19d306[_0x83f8b0(0x2c6)]=_0x43fa2d,_0x19d306[_0x83f8b0(0x363)](_0x83f8b0(0x2ce),_0x5c0b38=>{const _0x3d60aa=_0x83f8b0;let _0x3eb162=_0x5c0b38[_0x3d60aa(0x34d)];if(!_0x3eb162[_0x3d60aa(0x318)]||_0x3eb162['files']['length']===0x0)throw _0x5673b9(null),Error('No\x20file\x20selected');_0x27156a(_0x3eb162[_0x3d60aa(0x318)]);}),_0x19d306[_0x83f8b0(0x362)]();});}async function N(_0x699f13,_0x4e5ba0){const _0x4c7170=_0x3ae1dd;try{var _0x1e3b0a,_0x333071,_0x18e47f;let _0x343366=await _0x4e5ba0['get'](_0x699f13,{'responseType':'blob'}),_0x51ca81=_0x343366[_0x4c7170(0x289)],_0x347dba=(_0x1e3b0a=(_0x333071=_0x343366['headers']['get'](_0x4c7170(0x254)))==null?void 0x0:_0x333071[_0x4c7170(0x2a5)](',\x20'))==null?'application/octet-stream':_0x1e3b0a,_0x2f8b7a=_0x4c7170(0x360)+(O[_0x347dba]||_0x4c7170(0x1fb)),_0x2c6c7b=(_0x18e47f=_0x343366[_0x4c7170(0x33e)][_0x4c7170(0x1dc)](_0x4c7170(0x2a9)))==null?void 0x0:_0x18e47f[_0x4c7170(0x2a5)](',\x20');if(_0x2c6c7b){let _0x3863e8=_0x2c6c7b['match'](/filename=(.+)/);_0x3863e8&&_0x3863e8[0x1]&&(_0x2f8b7a=_0x3863e8[0x1]);}else _0x2f8b7a=oe(_0x699f13)||_0x2f8b7a;return new File([_0x51ca81],_0x2f8b7a,{'type':_0x347dba});}catch(_0x4d6c88){console[_0x4c7170(0x2fe)](_0x4c7170(0x27b),_0x4d6c88);return;}}function oe(_0x1484d2){const _0xd180f7=_0x3ae1dd;try{return new URL(_0x1484d2)[_0xd180f7(0x312)][_0xd180f7(0x29a)]('/')[_0xd180f7(0x2da)]();}catch(_0x3d14b7){console[_0xd180f7(0x2fe)](_0xd180f7(0x1e1),_0x3d14b7);return;}}function se(_0x160cc3){const _0x5363ff=_0x3ae1dd;let _0x564683=new Blob([_0x160cc3[_0x5363ff(0x1ec)]],{'type':'application/json'});return new File([_0x564683],'file.json');}function P(_0x364b67,_0x1de9b9){const _0x4134d7=_0x3ae1dd;return _0x364b67['replace'](_0x4134d7(0x364),_0x1de9b9);}function ce(_0x363bb2,_0x311e76){const _0x1c02d6=_0x3ae1dd;return _0x363bb2[_0x1c02d6(0x255)](_0x1c02d6(0x25f),_0x311e76);}function le(_0x2875f0,_0x5c10a6){const _0x419847=_0x3ae1dd;return _0x2875f0['replace'](_0x419847(0x2ad),_0x5c10a6);}const F=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x259));let I=class{constructor(_0x19ae4e,_0x3d7cd5){this['_configService']=_0x19ae4e,this['_httpService']=_0x3d7cd5,v(this,'_taskInterrupted',new Set());}['dispose'](){}[_0x3ae1dd(0x245)](_0x34cb81){const _0x3d7b13=_0x3ae1dd;this[_0x3d7b13(0x209)][_0x3d7b13(0x243)](_0x34cb81);}[_0x3ae1dd(0x1ce)](){this['_taskInterrupted']['clear']();}async[_0x3ae1dd(0x1e6)](_0x3732bf,_0x165c9c=0x0,_0x21c930=!0x1){const _0x499392=_0x3ae1dd;if(typeof _0x3732bf==_0x499392(0x23e)){let _0x2a4ee5=await N(_0x3732bf,this[_0x499392(0x262)]);if(!_0x2a4ee5)throw Error(_0x499392(0x332));_0x3732bf=_0x2a4ee5;}_0x165c9c=_0x165c9c||_0x3732bf[_0x499392(0x32d)];let _0x579cfd=new FormData();_0x579cfd[_0x499392(0x24c)]('file',_0x3732bf);try{let _0x2cf11c=this[_0x499392(0x35e)]()+_0x499392(0x1ee)+_0x165c9c+_0x499392(0x2a3)+c[_0x499392(0x28e)][_0x499392(0x1d7)]+'&flate='+_0x21c930,_0x574d85={'body':_0x579cfd},_0x4cf307=(await this['_httpService'][_0x499392(0x2d6)](_0x2cf11c,_0x574d85))[_0x499392(0x289)];if(_0x4cf307['error']&&_0x4cf307['error'][_0x499392(0x32a)]!==c[_0x499392(0x2cf)]['OK'])throw Error(this[_0x499392(0x2f8)](_0x499392(0x333),_0x4cf307[_0x499392(0x2fe)]));return _0x4cf307;}catch(_0x181e0a){throw _0x181e0a instanceof Error?_0x181e0a:Error(this[_0x499392(0x2f4)]('upload\x20request\x20failed',_0x181e0a));}}async['import'](_0x337dda){const _0x586292=_0x3ae1dd;let {fileID:_0xd210c3,type:_0xd4f25c,outputType:_0x557baf,minSheetColumnCount:_0x36cdef,minSheetRowCount:_0x60eb50}=_0x337dda;try{let _0xece9c3=P(this[_0x586292(0x2a0)](),''+_0xd4f25c),_0x4f5f41={'body':{'fileID':_0xd210c3,'outputType':_0x557baf,'minSheetColumnCount':_0x36cdef,'minSheetRowCount':_0x60eb50}},_0x34a83e=(await this[_0x586292(0x262)][_0x586292(0x2d6)](_0xece9c3,_0x4f5f41))[_0x586292(0x289)];return _0x34a83e[_0x586292(0x2fe)]&&_0x34a83e[_0x586292(0x2fe)][_0x586292(0x32a)]!==c[_0x586292(0x2cf)]['OK']?void 0x0:_0x34a83e;}catch{return;}}async[_0x3ae1dd(0x24f)](_0x564471){const _0x3fc00f=_0x3ae1dd;let {unitID:_0x1cd2e9,jsonID:_0x5a1213,type:_0x52c387,useImageUrl:_0x244802,ignoreTableExport:_0x2f15cd}=_0x564471;try{let _0x57d665=P(this[_0x3fc00f(0x2a6)](),''+_0x52c387),_0x435bee={'body':{'unitID':_0x1cd2e9,'jsonID':_0x5a1213,'type':_0x52c387,'useImageUrl':_0x244802,'ignoreTableExport':_0x2f15cd}},_0x4fc13b=(await this[_0x3fc00f(0x262)][_0x3fc00f(0x2d6)](_0x57d665,_0x435bee))['body'];return _0x4fc13b['error']&&_0x4fc13b[_0x3fc00f(0x2fe)]['code']!==c[_0x3fc00f(0x2cf)]['OK']?void 0x0:_0x4fc13b;}catch{return;}}async[_0x3ae1dd(0x1fa)](_0x526046){return new Promise((_0x2d8889,_0x427030)=>{try{let _0x3b5c05=0x0,_0x10434a=ce(this['_getTaskURL'](),''+_0x526046),_0x11cf86=this['_getMaxPollingTime'](),_0x1355d2=async()=>{const _0x21ef75=_0x35b5;if(this['_taskInterrupted'][_0x21ef75(0x282)](_0x526046))return;let _0x3cf081=(await this[_0x21ef75(0x262)][_0x21ef75(0x1dc)](_0x10434a))[_0x21ef75(0x289)];if(_0x3cf081[_0x21ef75(0x2fe)]&&_0x3cf081[_0x21ef75(0x2fe)][_0x21ef75(0x32a)]===c[_0x21ef75(0x2cf)]['OK']){if(_0x3cf081[_0x21ef75(0x2b8)]==='done')_0x2d8889(_0x3cf081);else{if(_0x3cf081[_0x21ef75(0x2b8)]===_0x21ef75(0x21f)){let _0x4a796a=0x3e8;if(_0x3b5c05>=_0x11cf86){_0x427030(_0x3cf081);return;}else _0x3b5c05>=0x7530&&(_0x4a796a=0x1388);_0x3b5c05+=_0x4a796a,setTimeout(_0x1355d2,_0x4a796a);}else _0x427030(_0x3cf081);}}else _0x427030(_0x3cf081);};_0x1355d2();}catch(_0x2411c8){_0x427030(_0x2411c8 instanceof Error?_0x2411c8:Error(String(_0x2411c8)));}});}async[_0x3ae1dd(0x227)](_0x234be4){const _0x194ee4=_0x3ae1dd;try{let _0x56cdc7=le(this[_0x194ee4(0x221)](),''+_0x234be4);return(await this['_httpService']['get'](_0x56cdc7))[_0x194ee4(0x289)];}catch{return;}}async[_0x3ae1dd(0x203)](_0xe86d81){const _0x3643ef=_0x3ae1dd;try{return(await this['_httpService'][_0x3643ef(0x1dc)](_0xe86d81,{'responseType':_0x3643ef(0x35f)}))['body'];}catch{return;}}[_0x3ae1dd(0x2f8)](_0x275c6a,_0x7c1236){let _0xb4abd4=this['_extractErrorDetail'](_0x7c1236);return _0xb4abd4?_0x275c6a+':\x20'+_0xb4abd4:_0x275c6a;}[_0x3ae1dd(0x2f4)](_0xb25858,_0x4c0732){const _0x5b79c4=_0x3ae1dd;if(_0x4c0732 instanceof n['HTTPResponseError']){let _0x29834b=typeof _0x4c0732[_0x5b79c4(0x2b8)]==_0x5b79c4(0x2ef)?''+_0x4c0732['status']+(_0x4c0732['statusText']?'\x20'+_0x4c0732['statusText']:''):void 0x0,_0x212663=this[_0x5b79c4(0x249)](_0x4c0732['error']);return _0x29834b&&_0x212663?_0xb25858+':\x20HTTP\x20'+_0x29834b+_0x5b79c4(0x2f2)+_0x212663:_0x29834b?_0xb25858+_0x5b79c4(0x26d)+_0x29834b:_0x212663?_0xb25858+':\x20'+_0x212663:_0xb25858;}let _0x2a4391=this[_0x5b79c4(0x249)](_0x4c0732);return _0x2a4391?_0xb25858+':\x20'+_0x2a4391:_0xb25858;}[_0x3ae1dd(0x249)](_0x3d928b){const _0x1209e2=_0x3ae1dd;if(typeof _0x3d928b==_0x1209e2(0x23e)){let _0x1ed6f3=_0x3d928b[_0x1209e2(0x2a8)]();return _0x1ed6f3[_0x1209e2(0x2f6)]>0x0?_0x1ed6f3:void 0x0;}if(_0x3d928b instanceof Error)return this[_0x1209e2(0x249)](_0x3d928b[_0x1209e2(0x334)]);if(!_0x3d928b||typeof _0x3d928b!=_0x1209e2(0x1fe)||Array[_0x1209e2(0x31d)](_0x3d928b))return;let _0x43e677=_0x3d928b,_0x33397b=this['_extractErrorDetail'](_0x43e677[_0x1209e2(0x334)]);if(_0x33397b)return _0x33397b;if(_0x43e677[_0x1209e2(0x2fe)]&&typeof _0x43e677[_0x1209e2(0x2fe)]==_0x1209e2(0x1fe)&&!Array[_0x1209e2(0x31d)](_0x43e677[_0x1209e2(0x2fe)])){let _0x257439=this[_0x1209e2(0x249)](_0x43e677['error']);if(_0x257439)return _0x257439;}}[_0x3ae1dd(0x35e)](){const _0xda7105=_0x3ae1dd;var _0x171bc5;let _0x1346de=this['_configService'][_0xda7105(0x342)](f);return(_0x171bc5=_0x1346de==null?void 0x0:_0x1346de[_0xda7105(0x263)])==null?_0xda7105(0x25a):_0x171bc5;}[_0x3ae1dd(0x2a0)](){const _0x36eca3=_0x3ae1dd;var _0x2fbc8;let _0xb6752c=this[_0x36eca3(0x304)][_0x36eca3(0x342)](f);return(_0x2fbc8=_0xb6752c==null?void 0x0:_0xb6752c[_0x36eca3(0x322)])==null?_0x36eca3(0x2d4):_0x2fbc8;}['_getExportURL'](){const _0x35dd04=_0x3ae1dd;var _0x466728;let _0x2d01a2=this['_configService'][_0x35dd04(0x342)](f);return(_0x466728=_0x2d01a2==null?void 0x0:_0x2d01a2[_0x35dd04(0x2f5)])==null?_0x35dd04(0x2f9):_0x466728;}[_0x3ae1dd(0x2dc)](){const _0x2fc42a=_0x3ae1dd;var _0x565a18;let _0x31c967=this[_0x2fc42a(0x304)][_0x2fc42a(0x342)](f);return(_0x565a18=_0x31c967==null?void 0x0:_0x31c967[_0x2fc42a(0x261)])==null?'/universer-api/exchange/task/{taskID}':_0x565a18;}[_0x3ae1dd(0x221)](){const _0x26b74f=_0x3ae1dd;var _0x52ffd5;let _0x107895=this[_0x26b74f(0x304)][_0x26b74f(0x342)](f);return(_0x52ffd5=_0x107895==null?void 0x0:_0x107895[_0x26b74f(0x1e5)])==null?_0x26b74f(0x2c8):_0x52ffd5;}[_0x3ae1dd(0x266)](){const _0x5d61bd=_0x3ae1dd;var _0x452cb0;let _0x51d63d=this['_configService']['getConfig'](f);return(_0x452cb0=_0x51d63d==null?void 0x0:_0x51d63d[_0x5d61bd(0x306)])==null?0x1d4c0:_0x452cb0;}};I=h([m(0x0,t[_0x3ae1dd(0x2d8)]),m(0x1,(0x0,t[_0x3ae1dd(0x223)])(n[_0x3ae1dd(0x319)]))],I);function L(_0x470a86){const _0x1c7069=_0x3ae1dd;let _0x440325=_0x470a86[_0x1c7069(0x32b)];if(!_0x440325)return null;let _0x481835={};_0x440325['sheets']&&Object[_0x1c7069(0x1d5)](_0x440325[_0x1c7069(0x317)])[_0x1c7069(0x1e9)](_0x4e5e47=>{const _0x397c09=_0x1c7069;let _0x4e29d9=_0x440325[_0x397c09(0x317)][_0x4e5e47];_0x481835[_0x4e5e47]={..._0x4e29d9,'originalMeta':(0x0,l[_0x397c09(0x330)])(l[_0x397c09(0x225)][_0x397c09(0x1db)](_0x4e29d9[_0x397c09(0x325)]))};});let _0x3ec124=(0x0,l['b64EncodeUnicode'])(l[_0x1c7069(0x225)]['decode'](_0x440325[_0x1c7069(0x325)]));return{..._0x470a86,'workbook':{..._0x440325,'originalMeta':_0x3ec124,'sheets':_0x481835},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0x2fc8dd){const _0x5d4441=_0x3ae1dd;let _0x203194=_0x2fc8dd[_0x5d4441(0x32c)];if(!_0x203194)return null;let _0x3f26a5=(0x0,l[_0x5d4441(0x330)])(l['textDecoder'][_0x5d4441(0x1db)](_0x203194[_0x5d4441(0x325)]));return{..._0x2fc8dd,'workbook':{},'doc':{..._0x203194,'originalMeta':_0x3f26a5},'slide':void 0x0,'board':void 0x0};}function z(_0xa6160){const _0x2160cd=_0x3ae1dd;var _0x454431;let _0x239457=(_0x454431=_0xa6160[_0x2160cd(0x2bc)])==null?_0xa6160[_0x2160cd(0x32c)]:_0x454431;if(!_0x239457)return null;let _0x3615a3=typeof _0x239457[_0x2160cd(0x325)]==_0x2160cd(0x23e)?_0x239457[_0x2160cd(0x325)]:(0x0,l[_0x2160cd(0x330)])(l[_0x2160cd(0x225)][_0x2160cd(0x1db)](_0x239457[_0x2160cd(0x325)]));return{..._0xa6160,'workbook':{},'doc':{},'slide':{..._0x239457,'originalMeta':_0x3615a3},'board':void 0x0};}function B(_0x20d45a){const _0x19e716=_0x3ae1dd;let _0x407336={};return _0x20d45a[_0x19e716(0x1e9)](_0x341a0f=>{const _0x764bd0=_0x19e716;_0x407336[_0x341a0f['id']]={..._0x341a0f,'data':(0x0,l['b64EncodeUnicode'])(l[_0x764bd0(0x225)]['decode'](_0x341a0f[_0x764bd0(0x1e4)]))};}),_0x407336;}async function V(_0xece31){const _0x2dfca2=_0x3ae1dd;var _0x169d7d;let _0x791903={'metadata':void 0x0},_0x671345=_0xece31['id'],_0x2c6e10=(_0x169d7d=_0xece31['rev'])==null?0x0:_0x169d7d,_0x68925f=new W(),{snapshot:_0x20aab8}=await(0x0,l['transformWorkbookDataToSnapshot'])(_0x791903,_0xece31,_0x671345,_0x2c6e10,_0x68925f),_0x198511=await(0x0,l[_0x2dfca2(0x2a4)])(_0x20aab8,_0x68925f),_0x2b5d1d=L(_0x20aab8);if(!_0x2b5d1d)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x2b5d1d,'sheetBlocks':B(_0x198511)};}function _0x3d33(){const _0x2bafba=['exchange-client.uploadSuccess','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','UniverNetworkPlugin','exchange-client.tooLarge','Module','_state$','_uiPartsService','clsx','workbook.json','split','univer-flex\x20univer-h-5\x20univer-text-xl','getCurrentUnitOfType','importPPTXToSnapshot','location','blockID','_getImportURL','textEncoder','url','&source=','getSheetBlocksFromSnapshot','join','_getExportURL','_requestService','trim','content-disposition','downloadEndpointUrl','link','removeChild','{fileID}','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','interruptImportTask','190610SBCmic','Method\x20not\x20implemented.','getOwnPropertyDescriptor','uploadFileToUnitId','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','_getMinSheetRowCount','_getMinSheetColumnCount','Failed\x20to\x20get\x20text\x20from\x20url','status','disposeWithMe','jsx','exchange-client.internalError','slide','Failed\x20to\x20get\x20file\x20from\x20url','version','next','_config','ShareRangeIcon','_import','pptx','file','univer-text-red-500','multiple','_clearProgress','/universer-api/file/{fileID}/sign-url','_export','MessageType','disposeUnit','transformSlideDataToSnapshot','DependentOn','change','ErrorCode','UniverLicensePlugin','complete','132482tJqVCX','accept','/universer-api/exchange/{type}/import','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','post','univer-pro.exchange-client.exchange.service','IConfigService','UNIVER_PROJECT','pop','_refreshSlide','_getTaskURL','_getUnitIDDoc','_exportBySnapshot','univer-flex','options','_blank','_signUrl','touchDependencies','unshift','b64DecodeUnicode','_uploadNotificationService','univer-pro.exchange-client.operate.service','getUnitId','Warning','toLowerCase','_showNetworkError','exchange-client.fileTypeError','stringify','pluginName','number','success','saveUnit','\x20-\x20','createIdentifier','_buildHttpErrorMessage','exportServerUrl','length','downloadFile','_buildProtocolErrorMessage','/universer-api/exchange/{type}/export','requestState$','7614bwMGLy','univer-text-green-500','_upload','error','_getDisableCellImageConversion','progress$','noreferrer','importPPTXToUnitId','_emitProgress','_configService','span','maxTimeoutTime','87MJWVyP','parse','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','export\x20error','_requestState$','saveChangeset','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','importWorkbookDataToUnitId','_sheetBlockCache','taskID','pathname','transformSnapshotToDocumentData','type','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','SheetsMultiIcon','sheets','files','HTTPService','_injector','input','docx','isArray','SlidesMultiIcon','_exchangeService','copyFileMeta','_messageService','importServerUrl','exportPPTXByUnitId','IconManager','originalMeta','_doneUploadTaskCount','exportXLSXBySnapshot','rev','.json','code','workbook','doc','size','getSnapshot','_registerUIParts','b64EncodeUnicode','exportPPTXBySnapshot','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','upload\x20request\x20failed','message','iterator','set','1674673NUMGav','xltx','visible$','interrupt','div','getSheetBlock','exchange-client.wait','headers','importFileToUnitId','importDOCXToSnapshot','ILogService','getConfig','state$','UNRECOGNIZED','download','updateState','map','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','transformWorkbookDataToSnapshot','importFileToUnitIdByCurrentType','380GhpgWI','getUnitType','currentTarget','importXLSXToUnitId','FileId','UNIVER_DOC','application/vnd.openxmlformats-officedocument.spreadsheetml.template','UNIVER_SLIDE','minSheetRowCount','jsonID','SuccessIcon','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','application/json','application/vnd.ms-excel.sheet.macroEnabled.12','_showDownloadMessage','updateSnapshot','button','transformWorkbookDataToSnapshotJson','_getUnitName','_getUploadFileURL','text','file.','_importTaskId','click','addEventListener','{type}','registerLink','IMessageService','IUIPartsService','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','jsxs','clearTaskInterrupted','application/vnd.openxmlformats-officedocument.wordprocessingml.document','1.0.0-alpha.5','hide','importDOCXToUnitId','univer-text-blue-500','fileID','keys','exportXLSXByUnitId','HttpImport','exchange-client.downloadSuccess','_getUnitIDSlide','_getUnitSlideJson','decode','get','936cVLlsA','asObservable','_importToJson','registerDependencies','Error\x20getting\x20file\x20name\x20from\x20URL:','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','name','data','signUrlServerUrl','upload','saveSnapshot','minSheetColumnCount','forEach','exchange-client.networkError','fetchMissingChangesets','buffer','upload\x20failed:\x20FileId\x20is\x20empty','?size=','scrollbarClassName','_importFileToUnitId','INTERNAL_ERROR','title','decorate','useObservable','_showUploadMessage','createObjectURL','Error','_registerIcons','Subject','getTask','xlsx','_getUnitID','_completeProgress','object','_uploadTaskNotDone','unit','IExchangeService','disableCellImageConversion','getTextFromUrl','3llKvye','Plugin','exchange-client.uploading','_getDownloadEndpointURL','transformSnapshotToWorkbookData','_taskInterrupted','symbol','connectInjector','dispose','exchange-client.interrupt','importFileToJson','exportDOCXBySnapshot','_getLinkByUnitId','resources','onStarting','encode','_getIgnoreTableExport','registerComponent','2423352OtXCJu','block\x20is\x20required','_getUnitJson','createUnit','snapshot','toStringTag','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','saveSheetBlock','exchange-client.downloading','pending','appendChild','_getSignURL','useDependency','Inject','call','textDecoder','toString','signUrl','Failed\x20to\x20get\x20jsonID\x20from\x20task','_fileTypeError','includes','_totalUploadTaskCount','getUnitOnRev','pdf','import','Failed\x20to\x20transform\x20snapshot\x20to\x20string','import\x20error','pushLink','Failed\x20to\x20get\x20fileID\x20from\x20task','transformDocumentDataToSnapshot','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','floor','11kKuVLF','CONNECTOR_DATA_TOO_LARGE','exchange-client.uploadAgain','getDeserializedSheetBlock','univer-pl-2\x20univer-pr-4','searchParams','exchange-client.unknownMistake','function','string','_refresh','defineProperty','_list$','list$','add','subscribe','setTaskInterrupted','Get\x20outputType\x20error','deflateSync','_addDoneTask','_extractErrorDetail','show','register','append','univer-mt-5\x20univer-flex\x20univer-flex-col','UniverInstanceType','export','Info','_progress$','_univerInstanceService','toPrimitive','Content-Type','replace','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Failed\x20to\x20parse\x20json','_list','univer-pro.exchange-client.request.service','/universer-api/stream/file/upload','_getUnitNameByType','catch','IExchangeOperateService','Disposable','{taskID}','outputType','getTaskServerUrl','_httpService','uploadFileServerUrl','href','Failed\x20to\x20get\x20unitID\x20from\x20task','_getMaxPollingTime','transformSnapshotJsonToWorkbookData','setConfig','shift','_iconManager','min','createElement',':\x20HTTP\x20','univer-pro.exchange-client.upload-notification.service','upload\x20failed:\x20missing\x20FileId\x20in\x20response','UNIVER_UNKNOWN','UniverExchangeClientPlugin','IResourceLoaderService','packageName','getLatestCsReqIdBySid','exchange-client.config','469020DajOQx','LocaleService','_visible$','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','UNIVER_SHEET','Error\x20fetching\x20file\x20from\x20URL:','importXLSXToSnapshot','Success','CloseIcon','_localeService','default','ignoreTableExport','has','UNIVER_EXCHANGE_CLIENT_PLUGIN','sign\x20url\x20error','_resourceLoaderService','univer-text-sm\x20univer-text-gray-500','_logService','Injector','body','resolve','DocsMultiIcon','_getUnitDocJson','UNDEFINED','FileSource','6JKxGeX','prototype'];_0x3d33=function(){return _0x2bafba;};return _0x3d33();}async function H(_0x2bde30){const _0x1b7cfc=_0x3ae1dd;var _0x55a78f;let _0x22e695={'metadata':void 0x0},_0x2f0662=_0x2bde30['id'],{snapshot:_0x562759}=await(0x0,l[_0x1b7cfc(0x233)])(_0x22e695,_0x2bde30,_0x2f0662,(_0x55a78f=_0x2bde30[_0x1b7cfc(0x328)])==null?0x0:_0x55a78f,new W()),_0x57fad6=R(_0x562759);if(!_0x57fad6)throw Error(_0x1b7cfc(0x22f));return{'snapshot':_0x57fad6,'sheetBlocks':{}};}async function U(_0x65a66f){const _0x2ab023=_0x3ae1dd;var _0x4c3710;let _0x4949a7=_0x65a66f['id'],_0x46a4da=(_0x4c3710=_0x65a66f[_0x2ab023(0x328)])==null?0x0:_0x4c3710,_0x44f369=new W(),{snapshot:_0x169cf1}=await(0x0,l[_0x2ab023(0x2cc)])(_0x65a66f[_0x2ab023(0x211)],_0x65a66f,_0x4949a7,_0x46a4da,_0x44f369),_0x305f50=z(_0x169cf1);if(!_0x305f50)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x305f50,'sheetBlocks':{}};}async function ue(_0x726cee){const _0x50f946=_0x3ae1dd;let _0xf0b10b=_0x726cee['snapshot'],_0x177066=_0x726cee['sheetBlocks']||{};return await(0x0,l[_0x50f946(0x208)])(_0xf0b10b,Object[_0x50f946(0x1d5)](_0x177066)[_0x50f946(0x347)](_0x15e87d=>_0x177066[_0x15e87d])['map'](_0x351062=>({..._0x351062,'data':_0x351062[_0x50f946(0x1e4)]?JSON[_0x50f946(0x308)]((0x0,l['b64DecodeUnicode'])(_0x351062[_0x50f946(0x1e4)])):void 0x0})));}function de(_0x40e4e9){const _0x2e7358=_0x3ae1dd;let _0xb07057=_0x40e4e9[_0x2e7358(0x21a)];return(0x0,l[_0x2e7358(0x313)])(_0xb07057);}function fe(_0x23370f){const _0x183052=_0x3ae1dd;let _0x560482=_0x23370f[_0x183052(0x21a)];return(0x0,l['transformSnapshotToSlideData'])(_0x560482);}var W=class{constructor(){const _0x4c4aac=_0x3ae1dd;v(this,_0x4c4aac(0x310),new Map());}[_0x3ae1dd(0x22c)](){const _0x50b9e1=_0x3ae1dd;return Promise['resolve']({'snapshot':{'unitID':'','type':t[_0x50b9e1(0x24e)]['UNIVER_SHEET'],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c[_0x50b9e1(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x33c)](_0x4c07fb,_0x17edb3){const _0x55c726=_0x3ae1dd;let _0x3e0713=this['_sheetBlockCache'][_0x55c726(0x1dc)](_0x17edb3[_0x55c726(0x29f)]);return Promise['resolve']({'block':_0x3e0713,'error':{'code':c[_0x55c726(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x239)](_0x2c2c2b,_0x2d8a7c){const _0x18ca3d=_0x3ae1dd;let _0x281fd3=this['_sheetBlockCache']['get'](_0x2d8a7c[_0x18ca3d(0x29f)]);return Promise[_0x18ca3d(0x28a)]({'block':_0x281fd3===void 0x0?void 0x0:{..._0x281fd3,'data':JSON[_0x18ca3d(0x308)](l[_0x18ca3d(0x225)]['decode'](_0x281fd3[_0x18ca3d(0x1e4)]))},'error':{'code':c[_0x18ca3d(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x1eb)](){const _0x5614e7=_0x3ae1dd;return Promise[_0x5614e7(0x28a)]({'changesets':[],'error':{'code':c[_0x5614e7(0x2cf)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x15703f=_0x3ae1dd;return Promise[_0x15703f(0x28a)]({'resources':{},'error':{'code':c[_0x15703f(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x1e7)](){const _0x3f250c=_0x3ae1dd;return Promise['resolve']({'error':{'code':c[_0x3f250c(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x35a)](){const _0x3c5e99=_0x3ae1dd;return Promise['resolve']({'error':{'code':c[_0x3c5e99(0x2cf)]['OK'],'message':''}});}[_0x3ae1dd(0x21d)](_0xe0d703,_0x23038d){const _0x5163fc=_0x3ae1dd;let {block:_0x1781ac}=_0x23038d;return _0x1781ac?(this[_0x5163fc(0x310)][_0x5163fc(0x336)](_0x1781ac['id'],_0x1781ac),Promise['resolve']({'error':{'code':c[_0x5163fc(0x2cf)]['OK'],'message':''},'blockID':_0x1781ac['id']})):Promise[_0x5163fc(0x28a)]({'error':{'code':c[_0x5163fc(0x2cf)][_0x5163fc(0x28d)],'message':_0x5163fc(0x217)},'blockID':''});}[_0x3ae1dd(0x30d)](){const _0x1e23ae=_0x3ae1dd;return Promise[_0x1e23ae(0x28a)]({'error':{'code':c['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x3ae1dd(0x320)](){const _0x30781b=_0x3ae1dd;return Promise[_0x30781b(0x28a)]({'error':void 0x0,'fileMetaId':''});}[_0x3ae1dd(0x274)](){const _0x46ca61=_0x3ae1dd;return Promise[_0x46ca61(0x28a)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x2d7));let K=class extends t[_0x3ae1dd(0x25e)]{constructor(_0x12881f,_0x27a139,_0x136ab5){const _0x1dd68a=_0x3ae1dd;super(),this[_0x1dd68a(0x304)]=_0x12881f,this['_httpService']=_0x27a139,this['_requestService']=_0x136ab5,v(this,_0x1dd68a(0x361),null),v(this,'_requestState$',new a['Subject']()),v(this,_0x1dd68a(0x2fa),this[_0x1dd68a(0x30c)][_0x1dd68a(0x1de)]());}[_0x3ae1dd(0x20c)](){const _0x41ba45=_0x3ae1dd;super[_0x41ba45(0x20c)](),this[_0x41ba45(0x30c)][_0x41ba45(0x2d1)]();}[_0x3ae1dd(0x2f7)](_0x3d2330,_0xf8fdab,_0x48d6a4){const _0x12e73f=_0x3ae1dd;let _0x5dfe84=URL[_0x12e73f(0x1f6)](_0x3d2330);k(_0x5dfe84,_0xf8fdab,_0x48d6a4),URL['revokeObjectURL'](_0x5dfe84);}async[_0x3ae1dd(0x267)](_0x4b2cf4){const _0x380ecf=_0x3ae1dd;let _0x1b35e6=_0x4b2cf4[_0x380ecf(0x21a)],_0x5de63f=_0x4b2cf4['sheetBlocks']||{};return(0x0,l[_0x380ecf(0x208)])(_0x1b35e6,Object[_0x380ecf(0x1d5)](_0x5de63f)[_0x380ecf(0x347)](_0x2daf51=>_0x5de63f[_0x2daf51])[_0x380ecf(0x347)](_0x3018f3=>({..._0x3018f3,'data':_0x3018f3[_0x380ecf(0x1e4)]?JSON[_0x380ecf(0x308)]((0x0,l[_0x380ecf(0x2e5)])(_0x3018f3[_0x380ecf(0x1e4)])):void 0x0})));}async['transformWorkbookDataToSnapshotJson'](_0x2faea9){const _0x5f0999=_0x3ae1dd;var _0x5ea3bc;let _0x21e0c5={'metadata':void 0x0},_0x37093f=_0x2faea9['id'],_0x555fb3=(_0x5ea3bc=_0x2faea9[_0x5f0999(0x328)])==null?0x0:_0x5ea3bc,_0x261cc7=new W(),{snapshot:_0x354f40}=await(0x0,l[_0x5f0999(0x349)])(_0x21e0c5,_0x2faea9,_0x37093f,_0x555fb3,_0x261cc7),_0xf30d1f=await(0x0,l[_0x5f0999(0x2a4)])(_0x354f40,_0x261cc7),_0x5cb9b1=L(_0x354f40);if(!_0x5cb9b1)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x5cb9b1,'sheetBlocks':B(_0xf30d1f)};}async[_0x3ae1dd(0x340)](_0x292232){const _0x3c7ca8=_0x3ae1dd;let _0x4d553d=await this[_0x3c7ca8(0x20e)](_0x292232,t[_0x3c7ca8(0x24e)][_0x3c7ca8(0x350)]);if(!_0x4d553d||!_0x4d553d[_0x3c7ca8(0x21a)])return;let _0x20f010=de(_0x4d553d);if(_0x20f010)return _0x20f010;}async['exportDOCXByUnitId'](_0xe6b368){const _0x1cf729=_0x3ae1dd;return this[_0x1cf729(0x2c9)](_0xe6b368,0x1,t[_0x1cf729(0x24e)][_0x1cf729(0x350)]);}async[_0x3ae1dd(0x20f)](_0x1920ef){const _0x12fc4f=_0x3ae1dd;let _0xe43358=await H(_0x1920ef);return this['_exportBySnapshot'](_0xe43358,t[_0x12fc4f(0x24e)][_0x12fc4f(0x350)]);}async[_0x3ae1dd(0x29d)](_0x399568){const _0x5d4168=_0x3ae1dd;let _0x2a66b6=await this[_0x5d4168(0x20e)](_0x399568,t[_0x5d4168(0x24e)]['UNIVER_SLIDE']);if(!(!_0x2a66b6||!_0x2a66b6[_0x5d4168(0x21a)]))return fe(_0x2a66b6);}async[_0x3ae1dd(0x323)](_0x585c9f){const _0x144db2=_0x3ae1dd;return this[_0x144db2(0x2c9)](_0x585c9f,0x1,t[_0x144db2(0x24e)]['UNIVER_SLIDE']);}async[_0x3ae1dd(0x331)](_0x3ab596){const _0x460a1e=_0x3ae1dd;let _0xe26862=await U(_0x3ab596);return this[_0x460a1e(0x2de)](_0xe26862,t['UniverInstanceType'][_0x460a1e(0x352)]);}async[_0x3ae1dd(0x27c)](_0x34247a){const _0x498084=_0x3ae1dd;let _0x194e40=await this[_0x498084(0x20e)](_0x34247a,t[_0x498084(0x24e)][_0x498084(0x27a)]);if(!_0x194e40)return;let _0xa0efd9=await this[_0x498084(0x267)](_0x194e40);if(_0xa0efd9)return _0xa0efd9;}async[_0x3ae1dd(0x1d6)](_0x41e9c2){const _0x40c3d0=_0x3ae1dd;return this[_0x40c3d0(0x2c9)](_0x41e9c2,0x1,t[_0x40c3d0(0x24e)][_0x40c3d0(0x27a)]);}async[_0x3ae1dd(0x327)](_0x1674cd){const _0x31d0a6=_0x3ae1dd;let _0x4f36a6=await this['transformWorkbookDataToSnapshotJson'](_0x1674cd);return this[_0x31d0a6(0x2de)](_0x4f36a6,t[_0x31d0a6(0x24e)][_0x31d0a6(0x27a)]);}async[_0x3ae1dd(0x33f)](_0x3c858,_0x45bc25){const _0x160f5a=_0x3ae1dd;var _0x145937,_0x146a3c;let _0x38eae3=await this['_upload'](_0x3c858);if(!_0x38eae3)return;let _0x522aee=await this[_0x160f5a(0x2c2)](_0x38eae3,0x1,_0x45bc25);if(!_0x522aee)return;this[_0x160f5a(0x361)]=_0x522aee,this[_0x160f5a(0x2a7)][_0x160f5a(0x1ce)]();let _0x1acc0f=await this[_0x160f5a(0x2a7)][_0x160f5a(0x1fa)](_0x522aee)[_0x160f5a(0x25c)](_0xf463ae=>{const _0x56eda6=_0x160f5a;var _0xf04fb8;let _0x30f55e=_0xf463ae instanceof Error?_0xf463ae[_0x56eda6(0x334)]:(_0xf04fb8=_0xf463ae[_0x56eda6(0x2fe)])==null?void 0x0:_0xf04fb8[_0x56eda6(0x334)];this[_0x56eda6(0x30c)][_0x56eda6(0x2bf)]({'error':{'code':c[_0x56eda6(0x2cf)][_0x56eda6(0x344)],'message':_0x30f55e||''},'state':0x3});});if(!_0x1acc0f)return;let _0x1bd58e=(_0x145937=_0x1acc0f['import'])==null?void 0x0:_0x145937[_0x160f5a(0x260)],_0x5744d7=((_0x146a3c=_0x1acc0f[_0x160f5a(0x22e)])==null?void 0x0:_0x146a3c['unitID'])||'';if(_0x1bd58e!==0x1){this[_0x160f5a(0x30c)][_0x160f5a(0x2bf)]({'error':{'code':c[_0x160f5a(0x2cf)]['UNRECOGNIZED'],'message':_0x160f5a(0x246)},'state':0x3});return;}if(_0x5744d7['length']===0x0){this[_0x160f5a(0x30c)][_0x160f5a(0x2bf)]({'error':{'code':c['ErrorCode'][_0x160f5a(0x344)],'message':_0x160f5a(0x265)},'state':0x3});return;}return this[_0x160f5a(0x30c)][_0x160f5a(0x2bf)]({'error':_0x1acc0f[_0x160f5a(0x2fe)],'state':0x3}),_0x5744d7;}async[_0x3ae1dd(0x20e)](_0x5cc5ca,_0x47b2d1){const _0x15f7c7=_0x3ae1dd;return this[_0x15f7c7(0x1df)](_0x5cc5ca,_0x47b2d1);}async[_0x3ae1dd(0x30f)](_0x50d5cd){const _0x56bf91=_0x3ae1dd;let _0xf55179=await this['transformWorkbookDataToSnapshotJson'](_0x50d5cd),_0x45baa0=typeof _0x50d5cd['id']==_0x56bf91(0x23e)&&_0x50d5cd['id'][_0x56bf91(0x2a8)]()?_0x50d5cd['id'][_0x56bf91(0x2a8)]()+_0x56bf91(0x329):_0x56bf91(0x299),_0x4b3125=new File([JSON[_0x56bf91(0x2ed)](_0xf55179)],_0x45baa0,{'type':_0x56bf91(0x357)});return this[_0x56bf91(0x33f)](_0x4b3125,t[_0x56bf91(0x24e)][_0x56bf91(0x27a)]);}[_0x3ae1dd(0x2af)](){const _0x1a2a5a=_0x3ae1dd;this['_importTaskId']&&this[_0x1a2a5a(0x2a7)][_0x1a2a5a(0x245)](this[_0x1a2a5a(0x361)]);}async[_0x3ae1dd(0x1df)](_0x1d3fc3,_0x2abcec){const _0x26cfee=_0x3ae1dd;var _0x7e3e2c,_0x4e03ab;let _0x757398=await this[_0x26cfee(0x2fd)](_0x1d3fc3);if(!_0x757398)return;let _0x267c19=await this['_import'](_0x757398,0x2,_0x2abcec);if(!_0x267c19)return;this['_importTaskId']=_0x267c19,this[_0x26cfee(0x2a7)][_0x26cfee(0x1ce)]();let _0x346591=await this[_0x26cfee(0x2a7)]['getTask'](_0x267c19)['catch'](_0x1df259=>{const _0xd068c5=_0x26cfee;var _0x3ade0a;let _0x1eb15f=_0x1df259 instanceof Error?_0x1df259[_0xd068c5(0x334)]:(_0x3ade0a=_0x1df259[_0xd068c5(0x2fe)])==null?void 0x0:_0x3ade0a[_0xd068c5(0x334)];this[_0xd068c5(0x30c)]['next']({'error':{'code':c[_0xd068c5(0x2cf)][_0xd068c5(0x344)],'message':_0x1eb15f||''},'state':0x3});});if(!_0x346591)return;let _0x3cdbe3=(_0x7e3e2c=_0x346591[_0x26cfee(0x22e)])==null?void 0x0:_0x7e3e2c['outputType'],_0x4d0742=((_0x4e03ab=_0x346591[_0x26cfee(0x22e)])==null?void 0x0:_0x4e03ab[_0x26cfee(0x354)])||'';if(_0x3cdbe3!==0x2){this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c[_0x26cfee(0x2cf)]['UNRECOGNIZED'],'message':_0x26cfee(0x246)},'state':0x3});return;}if(_0x4d0742['length']===0x0){this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c['ErrorCode'][_0x26cfee(0x344)],'message':_0x26cfee(0x228)},'state':0x3});return;}this[_0x26cfee(0x30c)]['next']({'error':_0x346591[_0x26cfee(0x2fe)],'state':0x3});let _0x16ab9a=await this['_signUrl'](_0x4d0742);if(!_0x16ab9a)return;let _0x1ae973=await this[_0x26cfee(0x2a7)][_0x26cfee(0x203)](_0x16ab9a);if(!_0x1ae973){this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c['ErrorCode'][_0x26cfee(0x344)],'message':_0x26cfee(0x2b7)},'state':0x5});return;}try{let _0x3cd9ec=JSON[_0x26cfee(0x308)](_0x1ae973);return this[_0x26cfee(0x30c)][_0x26cfee(0x2bf)]({'error':{'code':c[_0x26cfee(0x2cf)]['OK'],'message':_0x26cfee(0x2f0)},'state':0x5}),_0x3cd9ec;}catch{this[_0x26cfee(0x30c)]['next']({'error':{'code':c[_0x26cfee(0x2cf)]['UNRECOGNIZED'],'message':_0x26cfee(0x257)},'state':0x5});}}async[_0x3ae1dd(0x2de)](_0x16041a,_0x2df1fd){const _0x2a8940=_0x3ae1dd;let _0xcd8b20=JSON[_0x2a8940(0x2ed)](_0x16041a),_0x2e6562=l[_0x2a8940(0x2a1)][_0x2a8940(0x213)](_0xcd8b20),_0xa39880=(0x0,u[_0x2a8940(0x247)])(_0x2e6562),_0x533b81=_0x2e6562[_0x2a8940(0x2f6)],_0x43d271=se(_0xa39880),_0xf79d56=await this[_0x2a8940(0x2fd)](_0x43d271,_0x533b81,!0x0);if(_0xf79d56)return this[_0x2a8940(0x2c9)](_0xf79d56,0x2,_0x2df1fd);}async[_0x3ae1dd(0x2c9)](_0x2b5aa2,_0x4a683d,_0x7b64ca){const _0x5135a0=_0x3ae1dd;var _0x2f769a;let _0x47d7b8=await this[_0x5135a0(0x2a7)][_0x5135a0(0x24f)]({'unitID':_0x4a683d===0x1?_0x2b5aa2:'','jsonID':_0x4a683d===0x2?_0x2b5aa2:'','type':_0x7b64ca,'useImageUrl':this[_0x5135a0(0x2ff)](),'ignoreTableExport':this[_0x5135a0(0x214)]()});if(!_0x47d7b8){this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c[_0x5135a0(0x2cf)][_0x5135a0(0x344)],'message':_0x5135a0(0x30b)},'state':0x2});return;}if(this['_requestState$'][_0x5135a0(0x2bf)]({'error':_0x47d7b8[_0x5135a0(0x2fe)],'state':0x2}),_0x47d7b8[_0x5135a0(0x2fe)]&&_0x47d7b8[_0x5135a0(0x2fe)][_0x5135a0(0x32a)]!==c[_0x5135a0(0x2cf)]['OK'])return;let _0x12dae4=_0x47d7b8['taskID'],_0x3b9da0=await this[_0x5135a0(0x2a7)][_0x5135a0(0x1fa)](_0x12dae4)[_0x5135a0(0x25c)](_0x4c1927=>{const _0x6b9df0=_0x5135a0;var _0x1fef44;let _0x372360=_0x4c1927 instanceof Error?_0x4c1927[_0x6b9df0(0x334)]:(_0x1fef44=_0x4c1927[_0x6b9df0(0x2fe)])==null?void 0x0:_0x1fef44[_0x6b9df0(0x334)];this[_0x6b9df0(0x30c)][_0x6b9df0(0x2bf)]({'error':{'code':c[_0x6b9df0(0x2cf)][_0x6b9df0(0x344)],'message':_0x372360||''},'state':0x3});});if(!_0x3b9da0)return;let _0x4bf3d8=((_0x2f769a=_0x3b9da0[_0x5135a0(0x24f)])==null?void 0x0:_0x2f769a[_0x5135a0(0x1d4)])||'';if(_0x4bf3d8[_0x5135a0(0x2f6)]===0x0){this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c['ErrorCode'][_0x5135a0(0x344)],'message':_0x5135a0(0x232)},'state':0x3});return;}this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':_0x3b9da0[_0x5135a0(0x2fe)],'state':0x3});let _0x543e4d=await this[_0x5135a0(0x2e2)](_0x4bf3d8);if(!_0x543e4d)return;let _0x331e40=await N(_0x543e4d,this[_0x5135a0(0x262)]);if(!_0x331e40){this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c['ErrorCode'][_0x5135a0(0x344)],'message':_0x5135a0(0x2bd)},'state':0x6});return;}return this[_0x5135a0(0x30c)][_0x5135a0(0x2bf)]({'error':{'code':c['ErrorCode']['OK'],'message':_0x5135a0(0x2f0)},'state':0x6}),_0x331e40;}async[_0x3ae1dd(0x2fd)](_0x482c48,_0x512eff,_0x5e9de0){const _0x28724c=_0x3ae1dd;let _0x36736c;try{_0x36736c=await this[_0x28724c(0x2a7)]['upload'](_0x482c48,_0x512eff,_0x5e9de0);}catch(_0x27c930){let _0xd2a689=_0x27c930 instanceof Error?_0x27c930[_0x28724c(0x334)]:String(_0x27c930);this[_0x28724c(0x30c)][_0x28724c(0x2bf)]({'error':{'code':c['ErrorCode'][_0x28724c(0x344)],'message':_0xd2a689},'state':0x0});return;}if(!_0x36736c||typeof _0x36736c[_0x28724c(0x34f)]!='string'){this[_0x28724c(0x30c)][_0x28724c(0x2bf)]({'error':{'code':c[_0x28724c(0x2cf)][_0x28724c(0x344)],'message':_0x28724c(0x26f)},'state':0x0});return;}let _0x34cb51=_0x36736c[_0x28724c(0x34f)];if(_0x34cb51['length']===0x0){this['_requestState$'][_0x28724c(0x2bf)]({'error':{'code':c[_0x28724c(0x2cf)][_0x28724c(0x344)],'message':_0x28724c(0x1ed)},'state':0x0});return;}return this[_0x28724c(0x30c)][_0x28724c(0x2bf)]({'error':{'code':c[_0x28724c(0x2cf)]['OK'],'message':'success'},'state':0x0}),_0x34cb51;}async['_import'](_0x35a6a8,_0x13a4a1,_0x21bde9){const _0x2f20ce=_0x3ae1dd;let _0x410c6a={'fileID':_0x35a6a8,'type':_0x21bde9,'outputType':_0x13a4a1,'fileUrl':'','minSheetRowCount':this[_0x2f20ce(0x2b5)](),'minSheetColumnCount':this[_0x2f20ce(0x2b6)]()},_0x593df6=await this[_0x2f20ce(0x2a7)][_0x2f20ce(0x22e)](_0x410c6a);if(!_0x593df6){this['_requestState$'][_0x2f20ce(0x2bf)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x2f20ce(0x230)},'state':0x1});return;}if(_0x593df6[_0x2f20ce(0x2fe)]&&_0x593df6[_0x2f20ce(0x2fe)][_0x2f20ce(0x32a)]!==c[_0x2f20ce(0x2cf)]['OK']){this[_0x2f20ce(0x30c)][_0x2f20ce(0x2bf)]({'error':_0x593df6['error'],'state':0x1});return;}let _0x38f2ad=_0x593df6[_0x2f20ce(0x311)];if(_0x38f2ad['length']===0x0){this[_0x2f20ce(0x30c)][_0x2f20ce(0x2bf)]({'error':{'code':c['ErrorCode'][_0x2f20ce(0x344)],'message':_0x2f20ce(0x256)},'state':0x1});return;}return this[_0x2f20ce(0x30c)][_0x2f20ce(0x2bf)]({'error':_0x593df6[_0x2f20ce(0x2fe)],'state':0x1}),_0x38f2ad;}async[_0x3ae1dd(0x2e2)](_0x15e34d){const _0x336f83=_0x3ae1dd;let _0x2cfb42=await this[_0x336f83(0x2a7)][_0x336f83(0x227)](_0x15e34d);if(!_0x2cfb42){this['_requestState$'][_0x336f83(0x2bf)]({'error':{'code':c['ErrorCode'][_0x336f83(0x344)],'message':_0x336f83(0x284)},'state':0x4});return;}if(_0x2cfb42[_0x336f83(0x2fe)]&&_0x2cfb42[_0x336f83(0x2fe)][_0x336f83(0x32a)]!==c[_0x336f83(0x2cf)]['OK']){this['_requestState$'][_0x336f83(0x2bf)]({'error':_0x2cfb42[_0x336f83(0x2fe)],'state':0x4});return;}let _0x207418=(0x0,t['resolveWithBasePath'])(_0x2cfb42[_0x336f83(0x2a2)],this[_0x336f83(0x207)]());if(_0x207418[_0x336f83(0x2f6)]===0x0){this[_0x336f83(0x30c)][_0x336f83(0x2bf)]({'error':{'code':c['ErrorCode'][_0x336f83(0x344)],'message':_0x336f83(0x284)},'state':0x4});return;}return this['_requestState$'][_0x336f83(0x2bf)]({'error':_0x2cfb42[_0x336f83(0x2fe)],'state':0x4}),_0x207418;}[_0x3ae1dd(0x207)](){const _0x3edde1=_0x3ae1dd;var _0xf08b38;let _0x492feb=this[_0x3edde1(0x304)][_0x3edde1(0x342)](f);return(_0xf08b38=_0x492feb==null?void 0x0:_0x492feb[_0x3edde1(0x2aa)])==null?location['origin']:_0xf08b38;}['_getMinSheetRowCount'](){const _0x3d9352=_0x3ae1dd;var _0x1cb416,_0x6c3193;let _0x4e2a41=this[_0x3d9352(0x304)]['getConfig'](f);return(_0x1cb416=_0x4e2a41==null||(_0x6c3193=_0x4e2a41[_0x3d9352(0x2e0)])==null?void 0x0:_0x6c3193[_0x3d9352(0x353)])==null?0x1:_0x1cb416;}[_0x3ae1dd(0x2b6)](){const _0x268e19=_0x3ae1dd;var _0x3bb034,_0x2b4946;let _0x57a81a=this[_0x268e19(0x304)][_0x268e19(0x342)](f);return(_0x3bb034=_0x57a81a==null||(_0x2b4946=_0x57a81a['options'])==null?void 0x0:_0x2b4946[_0x268e19(0x1e8)])==null?0x1:_0x3bb034;}[_0x3ae1dd(0x2ff)](){const _0x320502=_0x3ae1dd;var _0x211401,_0x399d9a;let _0x43ef17=this['_configService'][_0x320502(0x342)](f);return(_0x211401=_0x43ef17==null||(_0x399d9a=_0x43ef17['options'])==null?void 0x0:_0x399d9a[_0x320502(0x202)])==null?!0x0:_0x211401;}[_0x3ae1dd(0x214)](){const _0x4f3111=_0x3ae1dd;var _0x4da89d,_0x1ebb0e;let _0x2f3959=this[_0x4f3111(0x304)][_0x4f3111(0x342)](f);return(_0x4da89d=_0x2f3959==null||(_0x1ebb0e=_0x2f3959['options'])==null?void 0x0:_0x1ebb0e[_0x4f3111(0x281)])==null?!0x1:_0x4da89d;}};K=h([m(0x0,t[_0x3ae1dd(0x2d8)]),m(0x1,(0x0,t['Inject'])(n[_0x3ae1dd(0x319)])),m(0x2,(0x0,t[_0x3ae1dd(0x223)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x3ae1dd(0x2f3)])(_0x3ae1dd(0x2e7));let J=class extends t[_0x3ae1dd(0x25e)]{constructor(_0x5641fa,_0x391464,_0x4927e1,_0x1dc15b,_0x53f3a5,_0x26f55c,_0x3a5c23){const _0x5edf5e=_0x3ae1dd;super(),this[_0x5edf5e(0x252)]=_0x5641fa,this[_0x5edf5e(0x321)]=_0x391464,this[_0x5edf5e(0x27f)]=_0x4927e1,this[_0x5edf5e(0x31f)]=_0x1dc15b,this[_0x5edf5e(0x2e6)]=_0x53f3a5,this[_0x5edf5e(0x287)]=_0x26f55c,this['_resourceLoaderService']=_0x3a5c23,v(this,_0x5edf5e(0x251),new a['BehaviorSubject'](pe)),v(this,_0x5edf5e(0x300),this[_0x5edf5e(0x251)][_0x5edf5e(0x1de)]()),v(this,_0x5edf5e(0x22b),0x0),v(this,_0x5edf5e(0x326),0x0),this[_0x5edf5e(0x2b9)]((0x0,t['toDisposable'])(this[_0x5edf5e(0x31f)]['requestState$'][_0x5edf5e(0x244)](_0x330b66=>{const _0x4f0f70=_0x5edf5e;var _0x20cc3c;((_0x20cc3c=_0x330b66[_0x4f0f70(0x2fe)])==null?void 0x0:_0x20cc3c['code'])===c['ErrorCode']['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x330b66[_0x4f0f70(0x2fe)]);})));}[_0x3ae1dd(0x33a)](){const _0x5e2866=_0x3ae1dd;this[_0x5e2866(0x2c7)](),this[_0x5e2866(0x2e6)][_0x5e2866(0x346)](0x2),this['_exchangeService'][_0x5e2866(0x2af)]();}async[_0x3ae1dd(0x2b3)](_0xf67a61){throw Error('Method\x20not\x20implemented.');}async['importFileToUnitIdByCurrentType'](){const _0x310d80=_0x3ae1dd;let _0x27bfde=this[_0x310d80(0x252)]['getFocusedUnit']();switch(_0x27bfde?this[_0x310d80(0x252)][_0x310d80(0x34c)](_0x27bfde[_0x310d80(0x2e8)]()):t[_0x310d80(0x24e)][_0x310d80(0x344)]){case t[_0x310d80(0x24e)][_0x310d80(0x352)]:return this['importPPTXToUnitId']();case t[_0x310d80(0x24e)][_0x310d80(0x350)]:return this['importDOCXToUnitId']();case t['UniverInstanceType']['UNIVER_SHEET']:default:return this['importXLSXToUnitId']();}}async[_0x3ae1dd(0x1d2)](){const _0x482ee8=_0x3ae1dd;let _0x187cc5=await M([t[_0x482ee8(0x24e)][_0x482ee8(0x350)]]);if(_0x187cc5&&!this['_fileTypeError'](_0x187cc5,t[_0x482ee8(0x24e)][_0x482ee8(0x350)]))return this['_importFileToUnitId'](_0x187cc5[0x0],t[_0x482ee8(0x24e)]['UNIVER_DOC']);}[_0x3ae1dd(0x340)](){const _0x5d91f4=_0x3ae1dd;throw Error(_0x5d91f4(0x2b1));}async['exportDOCXByUnitId'](_0x5031b6,_0x24430c,_0x1d5f93){const _0xc0c202=_0x3ae1dd;this[_0xc0c202(0x359)](o['MessageType'][_0xc0c202(0x250)]);let _0x35a3fd=await this['_exchangeService']['exportDOCXByUnitId'](_0x5031b6||this[_0xc0c202(0x2dd)]());_0x35a3fd&&(this[_0xc0c202(0x31f)][_0xc0c202(0x2f7)](_0x35a3fd,_0x24430c||this[_0xc0c202(0x35d)](_0x35a3fd),_0xc0c202(0x31c)),this[_0xc0c202(0x359)](o['MessageType']['Success']));}async[_0x3ae1dd(0x20f)](){const _0x29dfd9=_0x3ae1dd;this[_0x29dfd9(0x359)](o[_0x29dfd9(0x2ca)]['Info']);let _0x441713=await this[_0x29dfd9(0x28c)](),_0xecfc52=await this[_0x29dfd9(0x31f)]['exportDOCXBySnapshot'](_0x441713);_0xecfc52&&(this[_0x29dfd9(0x31f)][_0x29dfd9(0x2f7)](_0xecfc52,this[_0x29dfd9(0x35d)](_0xecfc52),_0x29dfd9(0x31c)),this['_showDownloadMessage'](o[_0x29dfd9(0x2ca)][_0x29dfd9(0x27d)]));}async[_0x3ae1dd(0x302)](){const _0x56d8a6=_0x3ae1dd;if(this['_uploadTaskNotDone']()){this[_0x56d8a6(0x321)][_0x56d8a6(0x24a)]({'type':o[_0x56d8a6(0x2ca)]['Warning'],'content':this['_localeService']['t'](_0x56d8a6(0x206))});return;}let _0x235f55=await M([t[_0x56d8a6(0x24e)][_0x56d8a6(0x352)]]);if(_0x235f55&&!this['_fileTypeError'](_0x235f55,t[_0x56d8a6(0x24e)][_0x56d8a6(0x352)]))return this[_0x56d8a6(0x1f0)](_0x235f55[0x0],t[_0x56d8a6(0x24e)][_0x56d8a6(0x352)]);}async[_0x3ae1dd(0x29d)](){const _0x57e6a0=_0x3ae1dd;if(this['_uploadTaskNotDone']()){this[_0x57e6a0(0x321)][_0x57e6a0(0x24a)]({'type':o[_0x57e6a0(0x2ca)]['Warning'],'content':this[_0x57e6a0(0x27f)]['t']('exchange-client.uploading')});return;}let _0x4a827b=await M([t[_0x57e6a0(0x24e)][_0x57e6a0(0x352)]]);if(!_0x4a827b)return;this[_0x57e6a0(0x1f5)](o[_0x57e6a0(0x2ca)][_0x57e6a0(0x250)]);let _0x3607a3=await this[_0x57e6a0(0x31f)][_0x57e6a0(0x29d)](_0x4a827b[0x0]);_0x3607a3&&(this[_0x57e6a0(0x2db)](_0x3607a3),this[_0x57e6a0(0x1f5)](o[_0x57e6a0(0x2ca)][_0x57e6a0(0x27d)]));}async[_0x3ae1dd(0x323)](_0x2b2e5f,_0x5bc3a1,_0x2c01b0){const _0x596cb5=_0x3ae1dd;this[_0x596cb5(0x359)](o[_0x596cb5(0x2ca)][_0x596cb5(0x250)]);let _0x41712a=await this[_0x596cb5(0x31f)]['exportPPTXByUnitId'](_0x2b2e5f||this[_0x596cb5(0x1d9)]());_0x41712a&&(this[_0x596cb5(0x31f)][_0x596cb5(0x2f7)](_0x41712a,_0x5bc3a1||this[_0x596cb5(0x25b)](_0x41712a,_0x2c01b0==null?t['UniverInstanceType'][_0x596cb5(0x352)]:_0x2c01b0),_0x596cb5(0x2c3)),this[_0x596cb5(0x359)](o[_0x596cb5(0x2ca)]['Success']));}async[_0x3ae1dd(0x331)](){const _0x58a4b9=_0x3ae1dd;this[_0x58a4b9(0x359)](o[_0x58a4b9(0x2ca)]['Info']);let _0x38b0a3=await this['_getUnitSlideJson'](),_0x1b0344=await this['_exchangeService'][_0x58a4b9(0x331)](_0x38b0a3);_0x1b0344&&(this['_exchangeService'][_0x58a4b9(0x2f7)](_0x1b0344,this[_0x58a4b9(0x25b)](_0x1b0344,t[_0x58a4b9(0x24e)][_0x58a4b9(0x352)]),_0x58a4b9(0x2c3)),this[_0x58a4b9(0x359)](o['MessageType'][_0x58a4b9(0x27d)]));}async[_0x3ae1dd(0x34e)](){const _0x20fded=_0x3ae1dd;if(this['_uploadTaskNotDone']()){this[_0x20fded(0x321)][_0x20fded(0x24a)]({'type':o[_0x20fded(0x2ca)][_0x20fded(0x2e9)],'content':this[_0x20fded(0x27f)]['t'](_0x20fded(0x206))});return;}let _0x30211d=await M([t[_0x20fded(0x24e)]['UNIVER_SHEET']]);if(_0x30211d&&!this[_0x20fded(0x229)](_0x30211d,t[_0x20fded(0x24e)][_0x20fded(0x27a)]))return this[_0x20fded(0x1f0)](_0x30211d[0x0],t[_0x20fded(0x24e)]['UNIVER_SHEET']);}async['importXLSXToSnapshot'](){const _0x1a5e08=_0x3ae1dd;if(this[_0x1a5e08(0x1ff)]()){this[_0x1a5e08(0x321)][_0x1a5e08(0x24a)]({'type':o[_0x1a5e08(0x2ca)][_0x1a5e08(0x2e9)],'content':this['_localeService']['t'](_0x1a5e08(0x206))});return;}let _0x3b4e10=await M([t[_0x1a5e08(0x24e)][_0x1a5e08(0x27a)]]);if(!_0x3b4e10)return;this[_0x1a5e08(0x1f5)](o[_0x1a5e08(0x2ca)][_0x1a5e08(0x250)]);let _0x53346e=await this['_exchangeService']['importXLSXToSnapshot'](_0x3b4e10[0x0]);_0x53346e&&(this['_refresh'](_0x53346e),this[_0x1a5e08(0x1f5)](o[_0x1a5e08(0x2ca)][_0x1a5e08(0x27d)]));}async['exportXLSXByUnitId'](_0x533aad,_0x37720b,_0xb64dbe){const _0x520092=_0x3ae1dd;this[_0x520092(0x359)](o[_0x520092(0x2ca)]['Info']);let _0x504e55=await this['_exchangeService'][_0x520092(0x1d6)](_0x533aad||this[_0x520092(0x1fc)]());_0x504e55&&(this[_0x520092(0x31f)][_0x520092(0x2f7)](_0x504e55,_0x37720b||this['_getUnitName'](_0x504e55),'xlsx'),this[_0x520092(0x359)](o['MessageType'][_0x520092(0x27d)]));}async[_0x3ae1dd(0x327)](){const _0x1ce24f=_0x3ae1dd;this[_0x1ce24f(0x359)](o[_0x1ce24f(0x2ca)][_0x1ce24f(0x250)]);let _0xcfe1d3=await this[_0x1ce24f(0x218)](),_0x30333a=await this[_0x1ce24f(0x31f)][_0x1ce24f(0x327)](_0xcfe1d3);_0x30333a&&(this[_0x1ce24f(0x31f)][_0x1ce24f(0x2f7)](_0x30333a,this['_getUnitName'](_0x30333a),_0x1ce24f(0x1fb)),this[_0x1ce24f(0x359)](o[_0x1ce24f(0x2ca)][_0x1ce24f(0x27d)]));}[_0x3ae1dd(0x365)](_0x31cbb3){const _0x2cff8b=_0x3ae1dd;this[_0x2cff8b(0x210)]=_0x31cbb3;}async[_0x3ae1dd(0x1f0)](_0x5eb931,_0x50fbd8){const _0x25d8f4=_0x3ae1dd;this[_0x25d8f4(0x2e6)][_0x25d8f4(0x24a)](),this[_0x25d8f4(0x2e6)][_0x25d8f4(0x346)](0x0),this['_addTotalCount'](0x4),this['_addDoneTask'](0x1);let _0x3f86f3=await this['_exchangeService'][_0x25d8f4(0x33f)](_0x5eb931,_0x50fbd8);if(!_0x3f86f3){this['_clearProgress'](),this[_0x25d8f4(0x2e6)][_0x25d8f4(0x346)](0x2);return;}let _0x17556b={'link':this[_0x25d8f4(0x210)](_0x3f86f3,_0x50fbd8),'name':_0x5eb931[_0x25d8f4(0x1e3)],'type':_0x50fbd8};return this[_0x25d8f4(0x2e6)][_0x25d8f4(0x231)](_0x17556b),this[_0x25d8f4(0x1fd)](),this['_uploadNotificationService']['updateState'](0x1),_0x3f86f3;}['_getUnitID'](){const _0x2ce61c=_0x3ae1dd;return this['_univerInstanceService'][_0x2ce61c(0x29c)](t[_0x2ce61c(0x24e)]['UNIVER_SHEET'])['getUnitId']();}[_0x3ae1dd(0x2dd)](){const _0x4e8e74=_0x3ae1dd;return this['_univerInstanceService'][_0x4e8e74(0x29c)](t[_0x4e8e74(0x24e)]['UNIVER_DOC'])[_0x4e8e74(0x2e8)]();}[_0x3ae1dd(0x1d9)](){const _0x55c220=_0x3ae1dd;return this[_0x55c220(0x252)][_0x55c220(0x29c)](t['UniverInstanceType'][_0x55c220(0x352)])[_0x55c220(0x2e8)]();}[_0x3ae1dd(0x35d)](_0x3e4907){const _0x588fbe=_0x3ae1dd;return this['_getUnitNameByType'](_0x3e4907,t[_0x588fbe(0x24e)][_0x588fbe(0x27a)]);}[_0x3ae1dd(0x25b)](_0x397147,_0x330501){const _0x2f504b=_0x3ae1dd;var _0x1edc81;let _0x1e224c=(_0x1edc81=this[_0x2f504b(0x252)][_0x2f504b(0x29c)](_0x330501))==null?void 0x0:_0x1edc81[_0x2f504b(0x32e)](),_0x1d3265=_0x1e224c==null?void 0x0:_0x1e224c[_0x2f504b(0x1e3)];return typeof _0x1d3265==_0x2f504b(0x23e)&&_0x1d3265[_0x2f504b(0x2a8)]()?_0x1d3265:_0x397147[_0x2f504b(0x1e3)][_0x2f504b(0x29a)]('.')[_0x2f504b(0x269)]()||document[_0x2f504b(0x1f2)];}async[_0x3ae1dd(0x218)](){const _0x406f3e=_0x3ae1dd;let _0x27bf48=this[_0x406f3e(0x252)][_0x406f3e(0x29c)](t[_0x406f3e(0x24e)][_0x406f3e(0x27a)]),_0x4df5d4=this[_0x406f3e(0x285)][_0x406f3e(0x2f1)](_0x27bf48[_0x406f3e(0x2e8)]());return _0x4df5d4==null?_0x27bf48[_0x406f3e(0x32e)]():_0x4df5d4;}async[_0x3ae1dd(0x28c)](){const _0x3b6dcb=_0x3ae1dd;let _0x276711=this[_0x3b6dcb(0x252)][_0x3b6dcb(0x29c)](t[_0x3b6dcb(0x24e)]['UNIVER_DOC']),_0x44ef42=this['_resourceLoaderService'][_0x3b6dcb(0x2f1)](_0x276711['getUnitId']());return _0x44ef42==null?_0x276711['getSnapshot']():_0x44ef42;}async[_0x3ae1dd(0x1da)](){const _0x1dade0=_0x3ae1dd;let _0x5dbc5f=this[_0x1dade0(0x252)][_0x1dade0(0x29c)](t[_0x1dade0(0x24e)][_0x1dade0(0x352)]),_0x34e1ee=this[_0x1dade0(0x285)]['saveUnit'](_0x5dbc5f[_0x1dade0(0x2e8)]());return _0x34e1ee==null?_0x5dbc5f['getSnapshot']():_0x34e1ee;}[_0x3ae1dd(0x210)](_0x89810f,_0x39d622){const _0x4af32a=_0x3ae1dd;let _0x2773d0=new URL(window[_0x4af32a(0x29e)][_0x4af32a(0x264)]);return _0x2773d0['searchParams'][_0x4af32a(0x336)](_0x4af32a(0x200),_0x89810f),_0x2773d0[_0x4af32a(0x23b)]['set'](_0x4af32a(0x314),''+_0x39d622),_0x2773d0[_0x4af32a(0x226)]();}[_0x3ae1dd(0x23f)](_0x3e28ba){const _0x55013d=_0x3ae1dd;let _0x273e18=this[_0x55013d(0x252)][_0x55013d(0x29c)](t[_0x55013d(0x24e)]['UNIVER_SHEET'])['getUnitId']();this[_0x55013d(0x252)][_0x55013d(0x2cb)](_0x273e18),this[_0x55013d(0x252)][_0x55013d(0x219)](t[_0x55013d(0x24e)][_0x55013d(0x27a)],_0x3e28ba);}[_0x3ae1dd(0x2db)](_0x5f5d1d){const _0x59f628=_0x3ae1dd;let _0x42dcbc=this['_univerInstanceService'][_0x59f628(0x29c)](t[_0x59f628(0x24e)][_0x59f628(0x352)])[_0x59f628(0x2e8)]();this['_univerInstanceService'][_0x59f628(0x2cb)](_0x42dcbc),this[_0x59f628(0x252)]['createUnit'](t['UniverInstanceType'][_0x59f628(0x352)],_0x5f5d1d);}[_0x3ae1dd(0x2eb)](_0x120048){const _0x478310=_0x3ae1dd;if(_0x120048){let {code:_0x478652}=_0x120048;switch(_0x478652){case c[_0x478310(0x2cf)][_0x478310(0x237)]:this[_0x478310(0x321)][_0x478310(0x24a)]({'type':o[_0x478310(0x2ca)]['Error'],'content':this['_localeService']['t'](_0x478310(0x294))});break;case c[_0x478310(0x2cf)][_0x478310(0x1f1)]:this['_messageService'][_0x478310(0x24a)]({'type':o['MessageType'][_0x478310(0x1f7)],'content':this[_0x478310(0x27f)]['t'](_0x478310(0x2bb))});break;default:this['_messageService'][_0x478310(0x24a)]({'type':o[_0x478310(0x2ca)][_0x478310(0x1f7)],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this[_0x478310(0x321)][_0x478310(0x24a)]({'type':o[_0x478310(0x2ca)][_0x478310(0x1f7)],'content':this['_localeService']['t'](_0x478310(0x1ea))}),null;}['_showDownloadMessage'](_0x51af85){const _0x27b83f=_0x3ae1dd;let _0x5e38c8='';switch(_0x51af85){case o[_0x27b83f(0x2ca)]['Success']:_0x5e38c8=this[_0x27b83f(0x27f)]['t'](_0x27b83f(0x1d8));break;case o['MessageType'][_0x27b83f(0x250)]:_0x5e38c8=this['_localeService']['t'](_0x27b83f(0x21e));break;default:break;}this['_messageService'][_0x27b83f(0x24a)]({'type':_0x51af85,'content':_0x5e38c8});}[_0x3ae1dd(0x1f5)](_0x39ae2d){const _0x2a7437=_0x3ae1dd;let _0x3d62b6='';switch(_0x39ae2d){case o[_0x2a7437(0x2ca)][_0x2a7437(0x27d)]:_0x3d62b6=this[_0x2a7437(0x27f)]['t'](_0x2a7437(0x291));break;case o['MessageType'][_0x2a7437(0x250)]:_0x3d62b6=this[_0x2a7437(0x27f)]['t']('exchange-client.uploading');break;default:break;}this[_0x2a7437(0x321)][_0x2a7437(0x24a)]({'type':_0x39ae2d,'content':_0x3d62b6});}[_0x3ae1dd(0x303)](){const _0x4d2deb=_0x3ae1dd;this[_0x4d2deb(0x251)][_0x4d2deb(0x2bf)]({'done':this['_doneUploadTaskCount'],'count':this[_0x4d2deb(0x22b)]});}['_addTotalCount'](_0x27ac17){const _0x3064c7=_0x3ae1dd;this['_totalUploadTaskCount']+=_0x27ac17,this[_0x3064c7(0x303)]();}[_0x3ae1dd(0x248)](_0x175f5b){const _0x48a49b=_0x3ae1dd;this[_0x48a49b(0x326)]+=_0x175f5b,this[_0x48a49b(0x326)]=Math[_0x48a49b(0x26b)](this[_0x48a49b(0x326)],this[_0x48a49b(0x22b)]),this[_0x48a49b(0x303)]();}[_0x3ae1dd(0x1fd)](){const _0x3c33d8=_0x3ae1dd;this[_0x3c33d8(0x326)]=this[_0x3c33d8(0x22b)],this[_0x3c33d8(0x303)]();}[_0x3ae1dd(0x2c7)](){const _0x2ef0a0=_0x3ae1dd;this[_0x2ef0a0(0x326)]=0x0,this[_0x2ef0a0(0x22b)]=0x0,this[_0x2ef0a0(0x303)]();}['_fileTypeError'](_0x466a2c,_0x28282a){const _0x3f3da8=_0x3ae1dd;let _0x32ff22=_0x466a2c[0x0],_0x10fc27=_0x32ff22[_0x3f3da8(0x1e3)];return j(_0x32ff22)===_0x28282a?!0x1:(this[_0x3f3da8(0x321)][_0x3f3da8(0x24a)]({'type':o['MessageType'][_0x3f3da8(0x1f7)],'content':this['_localeService']['t'](_0x3f3da8(0x2ec),_0x10fc27)}),!0x0);}[_0x3ae1dd(0x1ff)](){const _0x365cde=_0x3ae1dd;return this[_0x365cde(0x22b)]!==0x0&&this['_doneUploadTaskCount']!==this[_0x365cde(0x22b)];}};J=h([m(0x0,(0x0,t[_0x3ae1dd(0x223)])(t['IUniverInstanceService'])),m(0x1,i[_0x3ae1dd(0x366)]),m(0x2,(0x0,t[_0x3ae1dd(0x223)])(t[_0x3ae1dd(0x277)])),m(0x3,(0x0,t[_0x3ae1dd(0x223)])(G)),m(0x4,(0x0,t['Inject'])(y)),m(0x5,t[_0x3ae1dd(0x341)]),m(0x6,(0x0,t['Inject'])(t[_0x3ae1dd(0x272)]))],J);function Y(_0x35bc47){const _0x299069=_0x3ae1dd;let {onClick:_0x30607,children:_0x5a274c,className:_0x13fe54}=_0x35bc47;return(0x0,s['jsx'])(_0x299069(0x35b),{'className':(0x0,o[_0x299069(0x298)])(_0x299069(0x279),_0x13fe54),'type':_0x299069(0x35b),'onClick':_0x30607,'children':_0x5a274c});}function X(){const _0x29ca5e=_0x3ae1dd;let _0x1ce390=(0x0,i[_0x29ca5e(0x222)])(q),_0x4da46c=(0x0,i['useDependency'])(t['LocaleService']);function _0x351326(){const _0x1cfd1b=_0x29ca5e;_0x1ce390[_0x1cfd1b(0x34a)]();}return(0x0,s[_0x29ca5e(0x2ba)])(Y,{'onClick':_0x351326,'children':_0x4da46c['t'](_0x29ca5e(0x238))});}function me(){const _0x54814b=_0x3ae1dd;return(0x0,s[_0x54814b(0x1cd)])(_0x54814b(0x33b),{'className':_0x54814b(0x24d),'children':[(0x0,s[_0x54814b(0x2ba)])(_0x54814b(0x305),{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x54814b(0x222)])(t[_0x54814b(0x277)])['t'](_0x54814b(0x20d))}),(0x0,s[_0x54814b(0x2ba)])(X,{})]});}function he(_0x1f0c28){const _0x199ca5=_0x3ae1dd;let {count:_0x21b4e3}=_0x1f0c28;return(0x0,s[_0x199ca5(0x1cd)])(_0x199ca5(0x33b),{'className':_0x199ca5(0x2b4),'children':[(0x0,s['jsx'])(_0x199ca5(0x305),{'className':_0x199ca5(0x286),'children':(0x0,i[_0x199ca5(0x222)])(t[_0x199ca5(0x277)])['t']('exchange-client.uploadSuccessTip',''+_0x21b4e3)}),(0x0,s[_0x199ca5(0x2ba)])(X,{})]});}function ge(){const _0x20d052=_0x3ae1dd;let _0x473280=(0x0,i['useDependency'])(q),_0x5481aa=(0x0,i['useDependency'])(t[_0x20d052(0x277)]);function _0x3a6142(){_0x473280['interrupt']();}return(0x0,s[_0x20d052(0x2ba)])(Y,{'onClick':_0x3a6142,'children':_0x5481aa['t']('exchange-client.cancel')});}function _e(){const _0x1ca9b0=_0x3ae1dd;let {count:_0x44c969,done:_0x4db022}=(0x0,i['useObservable'])((0x0,i['useDependency'])(q)[_0x1ca9b0(0x300)]),_0x345268=_0x44c969>0x0?_0x4db022/_0x44c969:0x0;return(0x0,s[_0x1ca9b0(0x2ba)])('div',{'className':_0x1ca9b0(0x30e),'children':(0x0,s[_0x1ca9b0(0x2ba)])(_0x1ca9b0(0x33b),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x1ca9b0(0x235)](_0x345268*0x64)+'%'}})});}function ve(){const _0x18d21d=_0x3ae1dd;return(0x0,s[_0x18d21d(0x1cd)])('div',{'className':_0x18d21d(0x24d),'children':[(0x0,s['jsx'])('span',{'className':_0x18d21d(0x309),'children':(0x0,i[_0x18d21d(0x222)])(t[_0x18d21d(0x277)])['t'](_0x18d21d(0x33d))}),(0x0,s[_0x18d21d(0x2ba)])(_0x18d21d(0x33b),{'className':_0x18d21d(0x23a),'children':(0x0,s[_0x18d21d(0x2ba)])(_e,{})}),(0x0,s[_0x18d21d(0x2ba)])(ge,{})]});}const Z={0x1:(0x0,s[_0x3ae1dd(0x2ba)])(r[_0x3ae1dd(0x355)],{'className':_0x3ae1dd(0x2fc)}),0x0:(0x0,s[_0x3ae1dd(0x2ba)])(r['ClockIcon'],{'className':_0x3ae1dd(0x1d3)}),0x2:(0x0,s[_0x3ae1dd(0x2ba)])(r['ErrorIcon'],{'className':_0x3ae1dd(0x2c5)})};function ye(){const _0x5d435f=_0x3ae1dd;let _0x38fd33=(0x0,i['useDependency'])(y),_0x4a3582=(0x0,i[_0x5d435f(0x222)])(t[_0x5d435f(0x277)]),_0x51f102=(0x0,i[_0x5d435f(0x1f4)])(_0x38fd33[_0x5d435f(0x343)],0x0),_0x2a35ef=(0x0,i[_0x5d435f(0x1f4)])(_0x38fd33[_0x5d435f(0x339)],!0x1),_0x5cf4ca=(0x0,i[_0x5d435f(0x1f4)])(_0x38fd33[_0x5d435f(0x242)],[]);function _0x581a14(){const _0x6cb184=_0x5d435f;_0x38fd33[_0x6cb184(0x1d1)]();}function _0x522578(_0x388547){const _0x5aa98b=_0x5d435f;switch(_0x388547){case 0x1:return _0x4a3582['t'](_0x5aa98b(0x291));case 0x0:return _0x4a3582['t']('exchange-client.uploading');case 0x2:return _0x4a3582['t'](_0x5aa98b(0x23c));default:return'';}}return _0x2a35ef&&(0x0,s['jsxs'])(_0x5d435f(0x33b),{'className':_0x5d435f(0x315),'children':[(0x0,s['jsxs'])(_0x5d435f(0x33b),{'className':_0x5d435f(0x30a),'children':[(0x0,s[_0x5d435f(0x1cd)])(_0x5d435f(0x305),{'className':_0x5d435f(0x2df),'children':[(0x0,s['jsx'])('span',{'className':'univer-h-6\x20univer-text-2xl','children':Z[_0x51f102]}),(0x0,s['jsx'])(_0x5d435f(0x305),{'className':_0x5d435f(0x2ae),'children':_0x522578(_0x51f102)})]}),(0x0,s['jsx'])(_0x5d435f(0x305),{'className':_0x5d435f(0x1e2),'onClick':_0x581a14,'children':(0x0,s[_0x5d435f(0x2ba)])(r[_0x5d435f(0x27e)],{})})]}),(0x0,s[_0x5d435f(0x1cd)])(_0x5d435f(0x33b),{'children':[_0x51f102===0x0&&(0x0,s[_0x5d435f(0x2ba)])(ve,{}),_0x51f102===0x2&&(0x0,s['jsx'])(me,{}),_0x5cf4ca[_0x5d435f(0x2f6)]>0x0&&(0x0,s[_0x5d435f(0x2ba)])(re,{'list':_0x5cf4ca}),_0x51f102===0x1&&(0x0,s[_0x5d435f(0x2ba)])(he,{'count':_0x5cf4ca[_0x5d435f(0x2f6)]})]})]});}function be(){const _0x4990cb=_0x3ae1dd;return(0x0,s[_0x4990cb(0x2ba)])(ye,{});}let Q=class extends t['Disposable']{constructor(_0x38d1d8,_0x1460ce){const _0x13cad9=_0x3ae1dd;super(),this[_0x13cad9(0x31a)]=_0x38d1d8,this['_uiPartsService']=_0x1460ce,this['_registerUIParts']();}[_0x3ae1dd(0x32f)](){const _0x16c37d=_0x3ae1dd;this[_0x16c37d(0x2b9)](this[_0x16c37d(0x297)][_0x16c37d(0x215)](i['BuiltInUIPart']['CONTENT'],()=>(0x0,i[_0x16c37d(0x20b)])(be,this[_0x16c37d(0x31a)])));}};Q=h([m(0x0,(0x0,t[_0x3ae1dd(0x223)])(t['Injector'])),m(0x1,i[_0x3ae1dd(0x1cb)])],Q);let $=class extends t[_0x3ae1dd(0x205)]{constructor(_0x51078a=p,_0x811370,_0x3f13a0){const _0x5ccc39=_0x3ae1dd;super(),this[_0x5ccc39(0x2c0)]=_0x51078a,this[_0x5ccc39(0x31a)]=_0x811370,this['_configService']=_0x3f13a0;let {..._0x45272a}=(0x0,t['merge'])({},p,this[_0x5ccc39(0x2c0)]);this[_0x5ccc39(0x304)][_0x5ccc39(0x268)](f,_0x45272a);}[_0x3ae1dd(0x212)](){const _0x11f7f1=_0x3ae1dd;(0x0,t[_0x11f7f1(0x1e0)])(this[_0x11f7f1(0x31a)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}['onReady'](){const _0x48912f=_0x3ae1dd;(0x0,t[_0x48912f(0x2e3)])(this[_0x48912f(0x31a)],[[g],[Q],[q]]);}};v($,_0x3ae1dd(0x2ee),_0x3ae1dd(0x283)),v($,_0x3ae1dd(0x273),d),v($,_0x3ae1dd(0x2be),ee),$=h([(0x0,t[_0x3ae1dd(0x2cd)])(n[_0x3ae1dd(0x293)],e[_0x3ae1dd(0x2d0)]),m(0x1,(0x0,t['Inject'])(t[_0x3ae1dd(0x288)])),m(0x2,t[_0x3ae1dd(0x2d8)])],$),exports[_0x3ae1dd(0x25d)]=q,exports[_0x3ae1dd(0x201)]=G,Object['defineProperty'](exports,_0x3ae1dd(0x271),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x3ae1dd(0x2f7)]=A,exports['transformSnapshotJsonToWorkbookData']=ue,exports[_0x3ae1dd(0x35c)]=V;
|
|
1
|
+
const _0x3a4b72=_0x2250;(function(_0x59bda3,_0xbca859){const _0x30d370=_0x2250,_0x280a48=_0x59bda3();while(!![]){try{const _0x4b4f9a=parseInt(_0x30d370(0x137))/0x1*(parseInt(_0x30d370(0x174))/0x2)+parseInt(_0x30d370(0x254))/0x3*(-parseInt(_0x30d370(0x191))/0x4)+parseInt(_0x30d370(0xe6))/0x5*(parseInt(_0x30d370(0x124))/0x6)+-parseInt(_0x30d370(0x170))/0x7*(parseInt(_0x30d370(0x1f4))/0x8)+parseInt(_0x30d370(0x1c6))/0x9+parseInt(_0x30d370(0x248))/0xa*(parseInt(_0x30d370(0x1da))/0xb)+parseInt(_0x30d370(0xe7))/0xc*(-parseInt(_0x30d370(0x103))/0xd);if(_0x4b4f9a===_0xbca859)break;else _0x280a48['push'](_0x280a48['shift']());}catch(_0x153128){_0x280a48['push'](_0x280a48['shift']());}}}(_0x3cc8,0xdf72a),Object[_0x3a4b72(0x1fe)](exports,Symbol[_0x3a4b72(0x164)],{'value':_0x3a4b72(0x23b)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d=_0x3a4b72(0xed),ee=_0x3a4b72(0x24a);const f=_0x3a4b72(0x1de),p={};function m(_0x3fe0be,_0x370271){return function(_0x1cb241,_0x5f15f9){_0x370271(_0x1cb241,_0x5f15f9,_0x3fe0be);};}function h(_0x26dbae,_0x44f778,_0x2d8c21,_0x3fcb51){const _0xbb62c2=_0x3a4b72;var _0x5a8e46=arguments[_0xbb62c2(0x213)],_0x179f7f=_0x5a8e46<0x3?_0x44f778:_0x3fcb51===null?_0x3fcb51=Object[_0xbb62c2(0x125)](_0x44f778,_0x2d8c21):_0x3fcb51,_0x3159af;if(typeof Reflect==_0xbb62c2(0x247)&&typeof Reflect['decorate']=='function')_0x179f7f=Reflect[_0xbb62c2(0xeb)](_0x26dbae,_0x44f778,_0x2d8c21,_0x3fcb51);else{for(var _0x34b587=_0x26dbae[_0xbb62c2(0x213)]-0x1;_0x34b587>=0x0;_0x34b587--)(_0x3159af=_0x26dbae[_0x34b587])&&(_0x179f7f=(_0x5a8e46<0x3?_0x3159af(_0x179f7f):_0x5a8e46>0x3?_0x3159af(_0x44f778,_0x2d8c21,_0x179f7f):_0x3159af(_0x44f778,_0x2d8c21))||_0x179f7f);}return _0x5a8e46>0x3&&_0x179f7f&&Object[_0xbb62c2(0x1fe)](_0x44f778,_0x2d8c21,_0x179f7f),_0x179f7f;}let g=class extends t[_0x3a4b72(0x122)]{constructor(_0x3be88b){const _0x125975=_0x3a4b72;super(),this[_0x125975(0x252)]=_0x3be88b,this[_0x125975(0x118)]();}[_0x3a4b72(0x118)](){const _0x55db64=_0x3a4b72;this[_0x55db64(0x244)](this['_iconManager'][_0x55db64(0x18f)]({'DirectExportIcon':r['DirectExportIcon']}));}};g=h([m(0x0,(0x0,t['Inject'])(i[_0x3a4b72(0x253)]))],g);function _(_0x1290c3){'@babel/helpers - typeof';const _0x588a8e=_0x3a4b72;return _=typeof Symbol=='function'&&typeof Symbol[_0x588a8e(0x202)]=='symbol'?function(_0x4affc1){return typeof _0x4affc1;}:function(_0x16e4e4){const _0x1d0d9d=_0x588a8e;return _0x16e4e4&&typeof Symbol==_0x1d0d9d(0x1a3)&&_0x16e4e4['constructor']===Symbol&&_0x16e4e4!==Symbol[_0x1d0d9d(0x196)]?_0x1d0d9d(0x1d0):typeof _0x16e4e4;},_(_0x1290c3);}function te(_0xffe21,_0xe96eac){const _0x461bff=_0x3a4b72;if(_(_0xffe21)!='object'||!_0xffe21)return _0xffe21;var _0x49bf47=_0xffe21[Symbol[_0x461bff(0x22f)]];if(_0x49bf47!==void 0x0){var _0xbb07d5=_0x49bf47[_0x461bff(0x24e)](_0xffe21,_0xe96eac||_0x461bff(0x181));if(_(_0xbb07d5)!=_0x461bff(0x247))return _0xbb07d5;throw TypeError(_0x461bff(0x1f7));}return(_0xe96eac===_0x461bff(0x219)?String:Number)(_0xffe21);}function ne(_0x34e3f2){const _0x113792=_0x3a4b72;var _0x30fc1a=te(_0x34e3f2,_0x113792(0x219));return _(_0x30fc1a)==_0x113792(0x1d0)?_0x30fc1a:_0x30fc1a+'';}function v(_0x366885,_0x4f0022,_0x3096fd){const _0x3ab8ff=_0x3a4b72;return(_0x4f0022=ne(_0x4f0022))in _0x366885?Object[_0x3ab8ff(0x1fe)](_0x366885,_0x4f0022,{'value':_0x3096fd,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x366885[_0x4f0022]=_0x3096fd,_0x366885;}const y=(0x0,t[_0x3a4b72(0x172)])(_0x3a4b72(0x135));var b=class extends t[_0x3a4b72(0x122)]{constructor(){const _0x4a9435=_0x3a4b72;super(),v(this,_0x4a9435(0x226),new a[(_0x4a9435(0x128))]()),v(this,_0x4a9435(0x171),new a[(_0x4a9435(0x128))]()),v(this,_0x4a9435(0x157),new a[(_0x4a9435(0x128))]()),v(this,_0x4a9435(0x16f),this[_0x4a9435(0x226)]['asObservable']()),v(this,_0x4a9435(0x188),this[_0x4a9435(0x171)]['asObservable']()),v(this,_0x4a9435(0x211),this[_0x4a9435(0x157)][_0x4a9435(0x193)]()),v(this,_0x4a9435(0x240),[]);}[_0x3a4b72(0x198)](){const _0x193025=_0x3a4b72;super[_0x193025(0x198)](),this[_0x193025(0x226)]['complete'](),this[_0x193025(0x171)]['complete'](),this['_list$'][_0x193025(0x215)]();}['show'](){const _0x3abe8c=_0x3a4b72;this[_0x3abe8c(0x226)]['next'](!0x0);}[_0x3a4b72(0x1f3)](){const _0x95c288=_0x3a4b72;this[_0x95c288(0x226)]['next'](!0x1);}[_0x3a4b72(0x235)](_0x342748){const _0x495ffc=_0x3a4b72;this[_0x495ffc(0x171)][_0x495ffc(0xf3)](_0x342748);}[_0x3a4b72(0x18e)](_0x45ed66){const _0x17ab38=_0x3a4b72;this['_list'][_0x17ab38(0x16c)](_0x45ed66),this[_0x17ab38(0x157)][_0x17ab38(0xf3)](this[_0x17ab38(0x240)]);}};function re(_0x57a437){const _0x54e91f=_0x3a4b72;let {list:_0x3c94f2}=_0x57a437;function _0x1b10ba(_0x4a28a0){const _0x51f3a6=_0x2250;switch(_0x4a28a0){case 0x1:return(0x0,s[_0x51f3a6(0x1ae)])(r['DocsMultiIcon'],{});case 0x2:return(0x0,s[_0x51f3a6(0x1ae)])(r[_0x51f3a6(0x1c1)],{});case 0x3:return(0x0,s[_0x51f3a6(0x1ae)])(r[_0x51f3a6(0x130)],{});default:return null;}}return(0x0,s['jsx'])(_0x54e91f(0x250),{'className':(0x0,o['clsx'])(_0x54e91f(0x1ca),o['scrollbarClassName']),'children':(0x0,s['jsx'])('ul',{'className':_0x54e91f(0x200),'children':_0x3c94f2[_0x54e91f(0x238)]((_0x30d347,_0x45186b)=>(0x0,s[_0x54e91f(0x1ae)])('li',{'children':(0x0,s[_0x54e91f(0xfc)])('a',{'className':'univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','href':_0x30d347[_0x54e91f(0x12c)],'target':_0x54e91f(0x163),'rel':_0x54e91f(0x184),'children':[(0x0,s[_0x54e91f(0xfc)])(_0x54e91f(0x111),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[(0x0,s[_0x54e91f(0x1ae)])(_0x54e91f(0x111),{'className':'univer-flex\x20univer-h-5\x20univer-text-xl','children':_0x1b10ba(_0x30d347[_0x54e91f(0xf0)])}),(0x0,s[_0x54e91f(0x1ae)])(o[_0x54e91f(0x10d)],{'showIfEllipsis':!0x0,'title':_0x30d347[_0x54e91f(0x102)],'asChild':!0x0,'children':(0x0,s[_0x54e91f(0x1ae)])('span',{'className':_0x54e91f(0xf8),'children':_0x30d347[_0x54e91f(0x102)]})})]}),(0x0,s[_0x54e91f(0x1ae)])('span',{'className':'univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','children':(0x0,s[_0x54e91f(0x1ae)])(r[_0x54e91f(0x1a7)],{})})]})},_0x45186b))})});}const x=_0x3a4b72(0x1e5),S=_0x3a4b72(0x110),C='application/vnd.ms-excel.sheet.macroEnabled.12',w=_0x3a4b72(0x249),T=_0x3a4b72(0x1e0),E='application/pdf',D={[t[_0x3a4b72(0x13e)][_0x3a4b72(0xff)]]:[''],[t['UniverInstanceType'][_0x3a4b72(0xe3)]]:[x],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x11c)]]:[S,C,w],[t['UniverInstanceType'][_0x3a4b72(0x237)]]:[T],[t[_0x3a4b72(0x13e)]['UNIVER_BASE']]:[''],[t['UniverInstanceType'][_0x3a4b72(0x257)]]:[''],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x15c)]]:[''],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x190)]]:[E],[t[_0x3a4b72(0x13e)][_0x3a4b72(0x133)]]:['']},O={[x]:'docx',[S]:'xlsx',[C]:_0x3a4b72(0x117),[w]:_0x3a4b72(0x14b),[T]:_0x3a4b72(0xdd),[E]:'pdf'};function k(_0x1c2798,_0x53fa7f,_0x577ebf){const _0x2777cb=_0x3a4b72;let _0x2208d4=document[_0x2777cb(0x1aa)]('a');_0x2208d4['href']=_0x1c2798,_0x2208d4[_0x2777cb(0x22c)][_0x2777cb(0x175)]=_0x2777cb(0x246),_0x2208d4[_0x2777cb(0x136)]=_0x53fa7f+'.'+_0x577ebf,document[_0x2777cb(0xf1)]['appendChild'](_0x2208d4),_0x2208d4[_0x2777cb(0x141)](),document['body']['removeChild'](_0x2208d4);}function A(_0x5eb79b,_0x5ea0f1,_0x518440){const _0x29042e=_0x3a4b72;let _0x38d38b=URL[_0x29042e(0x19e)](_0x5eb79b);k(_0x38d38b,_0x5ea0f1,_0x518440),URL[_0x29042e(0x1e3)](_0x38d38b);}function j(_0x1dc6e3){const _0xcd9726=_0x3a4b72;let _0x275de0=_0x1dc6e3[_0xcd9726(0x102)][_0xcd9726(0x1c5)]('.')[_0xcd9726(0x156)]();if(!_0x275de0)return t[_0xcd9726(0x13e)][_0xcd9726(0xff)];let _0x166c29=ie(),_0x378077=t[_0xcd9726(0x13e)][_0xcd9726(0xff)];return _0x166c29['some'](_0x5487bb=>ae(_0x275de0,_0x5487bb)?(_0x378077=_0x5487bb,!0x0):!0x1),_0x378077;}function ie(){const _0x59c151=_0x3a4b72;return Object[_0x59c151(0x159)](t[_0x59c151(0x13e)])['filter'](_0x3cd83f=>typeof _0x3cd83f==_0x59c151(0x1b7));}function ae(_0x43a38c,_0x4f2e08){const _0x34bb4a=_0x3a4b72;var _0x1c38b3;return((_0x1c38b3=D[_0x4f2e08])==null?[]:_0x1c38b3)['map'](_0x516dd4=>(O[_0x516dd4]||'')[_0x34bb4a(0x16e)]())['includes'](_0x43a38c['toLowerCase']());}function M(_0x127bb8,_0x5dcde5=!0x1){const _0x2ca84d=_0x3a4b72;let _0x2ad4dc=_0x127bb8[_0x2ca84d(0x238)](_0x5db43d=>{var _0x4dcf19;return(_0x4dcf19=D[_0x5db43d])==null?[]:_0x4dcf19;})[_0x2ca84d(0x153)](',');return new Promise((_0x117531,_0x569946)=>{const _0x58b43e=_0x2ca84d;let _0x389620=document[_0x58b43e(0x1aa)](_0x58b43e(0x18c));_0x389620[_0x58b43e(0xf0)]='file',_0x389620[_0x58b43e(0x258)]=_0x2ad4dc,_0x389620[_0x58b43e(0x1dc)]=_0x5dcde5,_0x389620[_0x58b43e(0x1e8)](_0x58b43e(0x160),_0x2cb1f0=>{const _0x1f259f=_0x58b43e;let _0x56e1d8=_0x2cb1f0['currentTarget'];if(!_0x56e1d8[_0x1f259f(0x1a2)]||_0x56e1d8['files'][_0x1f259f(0x213)]===0x0)throw _0x569946(null),Error(_0x1f259f(0x224));_0x117531(_0x56e1d8[_0x1f259f(0x1a2)]);}),_0x389620[_0x58b43e(0x141)]();});}async function N(_0x28765a,_0x10b09b){const _0x30b8ac=_0x3a4b72;try{var _0x158eb1,_0xa893bf,_0x4df3a6;let _0x21b214=await _0x10b09b[_0x30b8ac(0xde)](_0x28765a,{'responseType':_0x30b8ac(0xec)}),_0x2d54d8=_0x21b214[_0x30b8ac(0xf1)],_0x110379=(_0x158eb1=(_0xa893bf=_0x21b214[_0x30b8ac(0x23e)][_0x30b8ac(0xde)]('Content-Type'))==null?void 0x0:_0xa893bf[_0x30b8ac(0x153)](',\x20'))==null?'application/octet-stream':_0x158eb1,_0x159dc9=_0x30b8ac(0x154)+(O[_0x110379]||'xlsx'),_0x7407ca=(_0x4df3a6=_0x21b214['headers'][_0x30b8ac(0xde)](_0x30b8ac(0x112)))==null?void 0x0:_0x4df3a6[_0x30b8ac(0x153)](',\x20');if(_0x7407ca){let _0x335bc5=_0x7407ca['match'](/filename=(.+)/);_0x335bc5&&_0x335bc5[0x1]&&(_0x159dc9=_0x335bc5[0x1]);}else _0x159dc9=oe(_0x28765a)||_0x159dc9;return new File([_0x2d54d8],_0x159dc9,{'type':_0x110379});}catch(_0x3c420a){console['error']('Error\x20fetching\x20file\x20from\x20URL:',_0x3c420a);return;}}function oe(_0x2c00d0){const _0x23c354=_0x3a4b72;try{return new URL(_0x2c00d0)['pathname'][_0x23c354(0x1c5)]('/')['pop']();}catch(_0x5d7db6){console['error'](_0x23c354(0x134),_0x5d7db6);return;}}function se(_0x2285fb){const _0x544cc4=_0x3a4b72;let _0x28d259=new Blob([_0x2285fb['buffer']],{'type':_0x544cc4(0x138)});return new File([_0x28d259],_0x544cc4(0xea));}function P(_0xb00f72,_0x3330c1){const _0x509acd=_0x3a4b72;return _0xb00f72[_0x509acd(0x20a)]('{type}',_0x3330c1);}function ce(_0x509a34,_0x57ef02){const _0x4d033e=_0x3a4b72;return _0x509a34['replace'](_0x4d033e(0x14f),_0x57ef02);}function le(_0x5f1354,_0x5786f2){const _0x55e0cb=_0x3a4b72;return _0x5f1354[_0x55e0cb(0x20a)](_0x55e0cb(0x1c2),_0x5786f2);}const F=(0x0,t[_0x3a4b72(0x172)])('univer-pro.exchange-client.request.service');let I=class{constructor(_0x522fe1,_0x4455a1){const _0x277321=_0x3a4b72;this[_0x277321(0x241)]=_0x522fe1,this[_0x277321(0x123)]=_0x4455a1,v(this,_0x277321(0x106),new Set());}[_0x3a4b72(0x198)](){}[_0x3a4b72(0x143)](_0x4ff1af){const _0x4e0558=_0x3a4b72;this[_0x4e0558(0x106)]['add'](_0x4ff1af);}[_0x3a4b72(0x180)](){const _0x47ae17=_0x3a4b72;this[_0x47ae17(0x106)][_0x47ae17(0x229)]();}async[_0x3a4b72(0x209)](_0x2f9195,_0x230351=0x0,_0x157dce=!0x1){const _0x592e52=_0x3a4b72;if(typeof _0x2f9195==_0x592e52(0x219)){let _0x318a6b=await N(_0x2f9195,this[_0x592e52(0x123)]);if(!_0x318a6b)throw Error(_0x592e52(0x1b9));_0x2f9195=_0x318a6b;}_0x230351=_0x230351||_0x2f9195[_0x592e52(0x1d9)];let _0x250a04=new FormData();_0x250a04['append'](_0x592e52(0x1ad),_0x2f9195);try{let _0x2c8b18=this[_0x592e52(0x1d3)]()+_0x592e52(0x162)+_0x230351+_0x592e52(0x1a4)+c['FileSource']['HttpImport']+_0x592e52(0x214)+_0x157dce,_0x3a35a6={'body':_0x250a04},_0x4f9934=(await this['_httpService'][_0x592e52(0x16a)](_0x2c8b18,_0x3a35a6))[_0x592e52(0xf1)];if(_0x4f9934[_0x592e52(0x1c9)]&&_0x4f9934[_0x592e52(0x1c9)]['code']!==c[_0x592e52(0x11d)]['OK'])throw Error(this[_0x592e52(0x1d6)](_0x592e52(0x205),_0x4f9934['error']));return _0x4f9934;}catch(_0x1a8ea6){throw _0x1a8ea6 instanceof Error?_0x1a8ea6:Error(this['_buildHttpErrorMessage'](_0x592e52(0x205),_0x1a8ea6));}}async[_0x3a4b72(0x1d7)](_0x6c377b){const _0x50a50e=_0x3a4b72;let {fileID:_0x47c6a2,type:_0x3eb688,outputType:_0x262ac3,minSheetColumnCount:_0x3f39b4,minSheetRowCount:_0x4566b2}=_0x6c377b;try{let _0x4a51dc=P(this[_0x50a50e(0x22d)](),''+_0x3eb688),_0x34d989={'body':{'fileID':_0x47c6a2,'outputType':_0x262ac3,'minSheetColumnCount':_0x3f39b4,'minSheetRowCount':_0x4566b2}},_0x383931=(await this[_0x50a50e(0x123)][_0x50a50e(0x16a)](_0x4a51dc,_0x34d989))[_0x50a50e(0xf1)];return _0x383931[_0x50a50e(0x1c9)]&&_0x383931[_0x50a50e(0x1c9)][_0x50a50e(0x20e)]!==c[_0x50a50e(0x11d)]['OK']?void 0x0:_0x383931;}catch{return;}}async['export'](_0x2a532d){const _0x504d15=_0x3a4b72;let {unitID:_0x1a7136,jsonID:_0x2d3426,type:_0x295d7d,useImageUrl:_0x3a5df7,ignoreTableExport:_0x1f8bfd}=_0x2a532d;try{let _0x57e19a=P(this[_0x504d15(0x107)](),''+_0x295d7d),_0x4cc5fd={'body':{'unitID':_0x1a7136,'jsonID':_0x2d3426,'type':_0x295d7d,'useImageUrl':_0x3a5df7,'ignoreTableExport':_0x1f8bfd}},_0x58840b=(await this[_0x504d15(0x123)][_0x504d15(0x16a)](_0x57e19a,_0x4cc5fd))[_0x504d15(0xf1)];return _0x58840b[_0x504d15(0x1c9)]&&_0x58840b[_0x504d15(0x1c9)][_0x504d15(0x20e)]!==c[_0x504d15(0x11d)]['OK']?void 0x0:_0x58840b;}catch{return;}}async[_0x3a4b72(0x208)](_0x46670f){return new Promise((_0x9b5539,_0x3d1000)=>{const _0x5d0bba=_0x2250;try{let _0xcb94bd=0x0,_0x352876=ce(this[_0x5d0bba(0xda)](),''+_0x46670f),_0x4d1c13=this[_0x5d0bba(0x255)](),_0x4e723b=async()=>{const _0x313bc3=_0x5d0bba;if(this[_0x313bc3(0x106)][_0x313bc3(0x1d8)](_0x46670f))return;let _0x3c652f=(await this['_httpService'][_0x313bc3(0xde)](_0x352876))['body'];if(_0x3c652f[_0x313bc3(0x1c9)]&&_0x3c652f['error'][_0x313bc3(0x20e)]===c[_0x313bc3(0x11d)]['OK']){if(_0x3c652f['status']===_0x313bc3(0x23a))_0x9b5539(_0x3c652f);else{if(_0x3c652f[_0x313bc3(0x10a)]==='pending'){let _0x27396c=0x3e8;if(_0xcb94bd>=_0x4d1c13){_0x3d1000(_0x3c652f);return;}else _0xcb94bd>=0x7530&&(_0x27396c=0x1388);_0xcb94bd+=_0x27396c,setTimeout(_0x4e723b,_0x27396c);}else _0x3d1000(_0x3c652f);}}else _0x3d1000(_0x3c652f);};_0x4e723b();}catch(_0x2b4027){_0x3d1000(_0x2b4027 instanceof Error?_0x2b4027:Error(String(_0x2b4027)));}});}async[_0x3a4b72(0xef)](_0x594962){const _0x6c64e6=_0x3a4b72;try{let _0x337958=le(this['_getSignURL'](),''+_0x594962);return(await this[_0x6c64e6(0x123)]['get'](_0x337958))[_0x6c64e6(0xf1)];}catch{return;}}async[_0x3a4b72(0x259)](_0x1eff45){const _0x290e58=_0x3a4b72;try{return(await this[_0x290e58(0x123)][_0x290e58(0xde)](_0x1eff45,{'responseType':_0x290e58(0x20f)}))[_0x290e58(0xf1)];}catch{return;}}[_0x3a4b72(0x1d6)](_0x37da9,_0x2605df){let _0x29e913=this['_extractErrorDetail'](_0x2605df);return _0x29e913?_0x37da9+':\x20'+_0x29e913:_0x37da9;}[_0x3a4b72(0x203)](_0x49395e,_0x2c9515){const _0x206bb6=_0x3a4b72;if(_0x2c9515 instanceof n['HTTPResponseError']){let _0x17962a=typeof _0x2c9515[_0x206bb6(0x10a)]=='number'?''+_0x2c9515[_0x206bb6(0x10a)]+(_0x2c9515[_0x206bb6(0x14a)]?'\x20'+_0x2c9515[_0x206bb6(0x14a)]:''):void 0x0,_0x246e3a=this[_0x206bb6(0x227)](_0x2c9515[_0x206bb6(0x1c9)]);return _0x17962a&&_0x246e3a?_0x49395e+_0x206bb6(0x242)+_0x17962a+_0x206bb6(0x187)+_0x246e3a:_0x17962a?_0x49395e+':\x20HTTP\x20'+_0x17962a:_0x246e3a?_0x49395e+':\x20'+_0x246e3a:_0x49395e;}let _0x54760a=this[_0x206bb6(0x227)](_0x2c9515);return _0x54760a?_0x49395e+':\x20'+_0x54760a:_0x49395e;}[_0x3a4b72(0x227)](_0x50975f){const _0x387c03=_0x3a4b72;if(typeof _0x50975f=='string'){let _0x41c8c0=_0x50975f[_0x387c03(0x12f)]();return _0x41c8c0[_0x387c03(0x213)]>0x0?_0x41c8c0:void 0x0;}if(_0x50975f instanceof Error)return this[_0x387c03(0x227)](_0x50975f['message']);if(!_0x50975f||typeof _0x50975f!='object'||Array[_0x387c03(0x192)](_0x50975f))return;let _0x247e8f=_0x50975f,_0x18360f=this[_0x387c03(0x227)](_0x247e8f[_0x387c03(0x1b6)]);if(_0x18360f)return _0x18360f;if(_0x247e8f['error']&&typeof _0x247e8f['error']==_0x387c03(0x247)&&!Array['isArray'](_0x247e8f['error'])){let _0x125ba1=this['_extractErrorDetail'](_0x247e8f[_0x387c03(0x1c9)]);if(_0x125ba1)return _0x125ba1;}}[_0x3a4b72(0x1d3)](){const _0x5ed88b=_0x3a4b72;var _0x50a6f9;let _0x1ef6a4=this[_0x5ed88b(0x241)]['getConfig'](f);return(_0x50a6f9=_0x1ef6a4==null?void 0x0:_0x1ef6a4[_0x5ed88b(0x243)])==null?_0x5ed88b(0x1a9):_0x50a6f9;}['_getImportURL'](){const _0xa5ec7b=_0x3a4b72;var _0x38d046;let _0x296af0=this[_0xa5ec7b(0x241)][_0xa5ec7b(0x161)](f);return(_0x38d046=_0x296af0==null?void 0x0:_0x296af0[_0xa5ec7b(0xf7)])==null?_0xa5ec7b(0x186):_0x38d046;}[_0x3a4b72(0x107)](){const _0x3d8bd0=_0x3a4b72;var _0x113656;let _0x20bd17=this[_0x3d8bd0(0x241)][_0x3d8bd0(0x161)](f);return(_0x113656=_0x20bd17==null?void 0x0:_0x20bd17[_0x3d8bd0(0x1f2)])==null?'/universer-api/exchange/{type}/export':_0x113656;}[_0x3a4b72(0xda)](){const _0x35cd2d=_0x3a4b72;var _0x2560a4;let _0x2cde65=this[_0x35cd2d(0x241)]['getConfig'](f);return(_0x2560a4=_0x2cde65==null?void 0x0:_0x2cde65[_0x35cd2d(0x1e9)])==null?'/universer-api/exchange/task/{taskID}':_0x2560a4;}['_getSignURL'](){const _0x843a1a=_0x3a4b72;var _0x320952;let _0x225a87=this[_0x843a1a(0x241)]['getConfig'](f);return(_0x320952=_0x225a87==null?void 0x0:_0x225a87[_0x843a1a(0x14c)])==null?_0x843a1a(0x1e7):_0x320952;}[_0x3a4b72(0x255)](){const _0x2e436d=_0x3a4b72;var _0x305f16;let _0x419b45=this[_0x2e436d(0x241)]['getConfig'](f);return(_0x305f16=_0x419b45==null?void 0x0:_0x419b45[_0x2e436d(0x168)])==null?0x1d4c0:_0x305f16;}};I=h([m(0x0,t[_0x3a4b72(0x142)]),m(0x1,(0x0,t[_0x3a4b72(0x1cd)])(n[_0x3a4b72(0x17d)]))],I);function L(_0x28194f){const _0x433014=_0x3a4b72;let _0x35de1e=_0x28194f['workbook'];if(!_0x35de1e)return null;let _0x1c7294={};_0x35de1e[_0x433014(0x22b)]&&Object[_0x433014(0x206)](_0x35de1e[_0x433014(0x22b)])['forEach'](_0x178410=>{const _0x598afa=_0x433014;let _0x8d39bf=_0x35de1e[_0x598afa(0x22b)][_0x178410];_0x1c7294[_0x178410]={..._0x8d39bf,'originalMeta':(0x0,l[_0x598afa(0xd9)])(l['textDecoder'][_0x598afa(0xdc)](_0x8d39bf[_0x598afa(0x1cf)]))};});let _0x5d65ba=(0x0,l[_0x433014(0xd9)])(l[_0x433014(0x173)][_0x433014(0xdc)](_0x35de1e[_0x433014(0x1cf)]));return{..._0x28194f,'workbook':{..._0x35de1e,'originalMeta':_0x5d65ba,'sheets':_0x1c7294},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0xda6fb8){const _0x273399=_0x3a4b72;let _0x51502c=_0xda6fb8[_0x273399(0x126)];if(!_0x51502c)return null;let _0x5287b0=(0x0,l[_0x273399(0xd9)])(l[_0x273399(0x173)]['decode'](_0x51502c['originalMeta']));return{..._0xda6fb8,'workbook':{},'doc':{..._0x51502c,'originalMeta':_0x5287b0},'slide':void 0x0,'board':void 0x0};}function z(_0x54b0ea){const _0x18cdc2=_0x3a4b72;var _0xba51fe;let _0x1c263d=(_0xba51fe=_0x54b0ea[_0x18cdc2(0x1b5)])==null?_0x54b0ea['doc']:_0xba51fe;if(!_0x1c263d)return null;let _0x1ea4cb=typeof _0x1c263d['originalMeta']=='string'?_0x1c263d[_0x18cdc2(0x1cf)]:(0x0,l[_0x18cdc2(0xd9)])(l[_0x18cdc2(0x173)]['decode'](_0x1c263d[_0x18cdc2(0x1cf)]));return{..._0x54b0ea,'workbook':{},'doc':{},'slide':{..._0x1c263d,'originalMeta':_0x1ea4cb},'board':void 0x0};}function B(_0xd4e2b5){const _0x39ab81=_0x3a4b72;let _0x568934={};return _0xd4e2b5[_0x39ab81(0x1ba)](_0x5d04d2=>{const _0x3359b=_0x39ab81;_0x568934[_0x5d04d2['id']]={..._0x5d04d2,'data':(0x0,l[_0x3359b(0xd9)])(l[_0x3359b(0x173)][_0x3359b(0xdc)](_0x5d04d2[_0x3359b(0x127)]))};}),_0x568934;}async function V(_0x4135bb){const _0x17f89f=_0x3a4b72;var _0xc4dcc8;let _0xf9e2c7={'metadata':void 0x0},_0x250f26=_0x4135bb['id'],_0x5cb408=(_0xc4dcc8=_0x4135bb['rev'])==null?0x0:_0xc4dcc8,_0x1da2d2=new W(),{snapshot:_0x1f3fc1}=await(0x0,l[_0x17f89f(0x183)])(_0xf9e2c7,_0x4135bb,_0x250f26,_0x5cb408,_0x1da2d2),_0x280b27=await(0x0,l[_0x17f89f(0x10f)])(_0x1f3fc1,_0x1da2d2),_0x435f82=L(_0x1f3fc1);if(!_0x435f82)throw Error(_0x17f89f(0x19f));return{'snapshot':_0x435f82,'sheetBlocks':B(_0x280b27)};}async function H(_0x16ad31){const _0x409017=_0x3a4b72;var _0x9da4ea;let _0x17d731={'metadata':void 0x0},_0x2f54d3=_0x16ad31['id'],{snapshot:_0x3e80c7}=await(0x0,l[_0x409017(0x1ef)])(_0x17d731,_0x16ad31,_0x2f54d3,(_0x9da4ea=_0x16ad31[_0x409017(0x201)])==null?0x0:_0x9da4ea,new W()),_0x3b389e=R(_0x3e80c7);if(!_0x3b389e)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x3b389e,'sheetBlocks':{}};}async function U(_0x709ecf){const _0x2d87de=_0x3a4b72;var _0x2905d2;let _0x396b92=_0x709ecf['id'],_0x124081=(_0x2905d2=_0x709ecf[_0x2d87de(0x201)])==null?0x0:_0x2905d2,_0x49f268=new W(),{snapshot:_0x4508cf}=await(0x0,l[_0x2d87de(0x1e4)])(_0x709ecf['resources'],_0x709ecf,_0x396b92,_0x124081,_0x49f268),_0x354b0f=z(_0x4508cf);if(!_0x354b0f)throw Error(_0x2d87de(0x19f));return{'snapshot':_0x354b0f,'sheetBlocks':{}};}async function ue(_0x1b7842){const _0x492891=_0x3a4b72;let _0x11e797=_0x1b7842['snapshot'],_0x196fe5=_0x1b7842[_0x492891(0x234)]||{};return await(0x0,l[_0x492891(0x22a)])(_0x11e797,Object[_0x492891(0x206)](_0x196fe5)[_0x492891(0x238)](_0x455784=>_0x196fe5[_0x455784])[_0x492891(0x238)](_0x21d9aa=>({..._0x21d9aa,'data':_0x21d9aa[_0x492891(0x127)]?JSON[_0x492891(0x1b0)]((0x0,l['b64DecodeUnicode'])(_0x21d9aa[_0x492891(0x127)])):void 0x0})));}function de(_0x3afde6){const _0x298204=_0x3a4b72;let _0x49722a=_0x3afde6[_0x298204(0x23d)];return(0x0,l[_0x298204(0x216)])(_0x49722a);}function fe(_0x342521){let _0x6d6a14=_0x342521['snapshot'];return(0x0,l['transformSnapshotToSlideData'])(_0x6d6a14);}var W=class{constructor(){const _0x1de109=_0x3a4b72;v(this,_0x1de109(0x1af),new Map());}[_0x3a4b72(0x15d)](){const _0x356195=_0x3a4b72;return Promise[_0x356195(0x15b)]({'snapshot':{'unitID':'','type':t[_0x356195(0x13e)][_0x356195(0x11c)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x3a4b72(0x23f)](_0x57eee3,_0x4af8bf){const _0x26756c=_0x3a4b72;let _0x4d5080=this[_0x26756c(0x1af)]['get'](_0x4af8bf['blockID']);return Promise[_0x26756c(0x15b)]({'block':_0x4d5080,'error':{'code':c[_0x26756c(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x223)](_0x5c159c,_0x2a2b08){const _0x392108=_0x3a4b72;let _0x16ecbe=this['_sheetBlockCache'][_0x392108(0xde)](_0x2a2b08['blockID']);return Promise['resolve']({'block':_0x16ecbe===void 0x0?void 0x0:{..._0x16ecbe,'data':JSON[_0x392108(0x1b0)](l['textDecoder'][_0x392108(0xdc)](_0x16ecbe[_0x392108(0x127)]))},'error':{'code':c[_0x392108(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x21e)](){const _0x178b83=_0x3a4b72;return Promise[_0x178b83(0x15b)]({'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x3a4b72(0xe1)](){const _0x1bf5f7=_0x3a4b72;return Promise['resolve']({'resources':{},'error':{'code':c[_0x1bf5f7(0x11d)]['OK'],'message':''}});}['saveSnapshot'](){const _0x454865=_0x3a4b72;return Promise[_0x454865(0x15b)]({'error':{'code':c[_0x454865(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x13c)](){const _0x3c43e8=_0x3a4b72;return Promise[_0x3c43e8(0x15b)]({'error':{'code':c[_0x3c43e8(0x11d)]['OK'],'message':''}});}[_0x3a4b72(0x1c8)](_0x57e89c,_0x43ec77){const _0xd373f2=_0x3a4b72;let {block:_0x503c39}=_0x43ec77;return _0x503c39?(this[_0xd373f2(0x1af)]['set'](_0x503c39['id'],_0x503c39),Promise[_0xd373f2(0x15b)]({'error':{'code':c[_0xd373f2(0x11d)]['OK'],'message':''},'blockID':_0x503c39['id']})):Promise['resolve']({'error':{'code':c['ErrorCode']['UNDEFINED'],'message':_0xd373f2(0x24c)},'blockID':''});}[_0x3a4b72(0x1ee)](){const _0x338dc1=_0x3a4b72;return Promise[_0x338dc1(0x15b)]({'error':{'code':c['ErrorCode']['OK'],'message':''},'concurrent':[]});}[_0x3a4b72(0x1bc)](){const _0x4b2b7b=_0x3a4b72;return Promise[_0x4b2b7b(0x15b)]({'error':void 0x0,'fileMetaId':''});}[_0x3a4b72(0xf2)](){const _0xa34612=_0x3a4b72;return Promise[_0xa34612(0x15b)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x3a4b72(0x172)])('univer-pro.exchange-client.exchange.service');let K=class extends t[_0x3a4b72(0x122)]{constructor(_0x10f3fc,_0x42e5e0,_0x5af1ac){const _0x1b3776=_0x3a4b72;super(),this['_configService']=_0x10f3fc,this['_httpService']=_0x42e5e0,this[_0x1b3776(0xe2)]=_0x5af1ac,v(this,_0x1b3776(0x1cb),null),v(this,_0x1b3776(0x176),new a[(_0x1b3776(0x128))]()),v(this,_0x1b3776(0x1a5),this[_0x1b3776(0x176)][_0x1b3776(0x193)]());}['dispose'](){const _0x2d0b25=_0x3a4b72;super[_0x2d0b25(0x198)](),this[_0x2d0b25(0x176)][_0x2d0b25(0x215)]();}[_0x3a4b72(0x1b2)](_0x4d6f28,_0x4bc678,_0x36d00f){const _0x13f716=_0x3a4b72;let _0x68329c=URL[_0x13f716(0x19e)](_0x4d6f28);k(_0x68329c,_0x4bc678,_0x36d00f),URL[_0x13f716(0x1e3)](_0x68329c);}async['transformSnapshotJsonToWorkbookData'](_0x32f5c3){const _0x15a540=_0x3a4b72;let _0x2df12e=_0x32f5c3['snapshot'],_0x1bcde6=_0x32f5c3[_0x15a540(0x234)]||{};return(0x0,l[_0x15a540(0x22a)])(_0x2df12e,Object[_0x15a540(0x206)](_0x1bcde6)[_0x15a540(0x238)](_0xc56fd8=>_0x1bcde6[_0xc56fd8])[_0x15a540(0x238)](_0x139266=>({..._0x139266,'data':_0x139266[_0x15a540(0x127)]?JSON[_0x15a540(0x1b0)]((0x0,l[_0x15a540(0x115)])(_0x139266[_0x15a540(0x127)])):void 0x0})));}async[_0x3a4b72(0xdf)](_0x516fc4){const _0x11f053=_0x3a4b72;var _0x4f3235;let _0x402217={'metadata':void 0x0},_0x408465=_0x516fc4['id'],_0x458215=(_0x4f3235=_0x516fc4['rev'])==null?0x0:_0x4f3235,_0x42c706=new W(),{snapshot:_0x37492e}=await(0x0,l['transformWorkbookDataToSnapshot'])(_0x402217,_0x516fc4,_0x408465,_0x458215,_0x42c706),_0x8fc3a1=await(0x0,l[_0x11f053(0x10f)])(_0x37492e,_0x42c706),_0x178437=L(_0x37492e);if(!_0x178437)throw Error(_0x11f053(0x19f));return{'snapshot':_0x178437,'sheetBlocks':B(_0x8fc3a1)};}async[_0x3a4b72(0x1b1)](_0x1f77c9){const _0x3dc0d5=_0x3a4b72;let _0x19e726=await this[_0x3dc0d5(0x21c)](_0x1f77c9,t[_0x3dc0d5(0x13e)]['UNIVER_DOC']);if(!_0x19e726||!_0x19e726[_0x3dc0d5(0x23d)])return;let _0x28183f=de(_0x19e726);if(_0x28183f)return _0x28183f;}async[_0x3a4b72(0x101)](_0x29ddde){const _0x2c68c5=_0x3a4b72;return this[_0x2c68c5(0x21b)](_0x29ddde,0x1,t[_0x2c68c5(0x13e)][_0x2c68c5(0xe3)]);}async[_0x3a4b72(0x197)](_0x5f0efa){const _0x58ea8c=_0x3a4b72;let _0x1de79e=await H(_0x5f0efa);return this[_0x58ea8c(0x149)](_0x1de79e,t['UniverInstanceType']['UNIVER_DOC']);}async[_0x3a4b72(0x210)](_0x3021da){const _0x5735a6=_0x3a4b72;let _0x25d24f=await this['importFileToJson'](_0x3021da,t[_0x5735a6(0x13e)][_0x5735a6(0x237)]);if(!(!_0x25d24f||!_0x25d24f[_0x5735a6(0x23d)]))return fe(_0x25d24f);}async['exportPPTXByUnitId'](_0x241d56){const _0xcaca00=_0x3a4b72;return this[_0xcaca00(0x21b)](_0x241d56,0x1,t[_0xcaca00(0x13e)][_0xcaca00(0x237)]);}async['exportPPTXBySnapshot'](_0x288bf6){const _0xf7b80d=_0x3a4b72;let _0x344778=await U(_0x288bf6);return this[_0xf7b80d(0x149)](_0x344778,t[_0xf7b80d(0x13e)][_0xf7b80d(0x237)]);}async[_0x3a4b72(0x1fc)](_0x36db82){const _0x3bf20b=_0x3a4b72;let _0x14f556=await this[_0x3bf20b(0x21c)](_0x36db82,t[_0x3bf20b(0x13e)][_0x3bf20b(0x11c)]);if(!_0x14f556)return;let _0x34f5f1=await this['transformSnapshotJsonToWorkbookData'](_0x14f556);if(_0x34f5f1)return _0x34f5f1;}async[_0x3a4b72(0x129)](_0x6caae9){const _0x3b205a=_0x3a4b72;return this[_0x3b205a(0x21b)](_0x6caae9,0x1,t[_0x3b205a(0x13e)]['UNIVER_SHEET']);}async[_0x3a4b72(0x114)](_0x3d6a20){const _0x22320b=_0x3a4b72;let _0x23a11e=await this[_0x22320b(0xdf)](_0x3d6a20);return this[_0x22320b(0x149)](_0x23a11e,t[_0x22320b(0x13e)]['UNIVER_SHEET']);}async[_0x3a4b72(0x11f)](_0x2f4d82,_0x2e4c40){const _0x2b5bcc=_0x3a4b72;var _0x4aabd0,_0x18fded;let _0x23c120=await this['_upload'](_0x2f4d82);if(!_0x23c120)return;let _0x184c79=await this['_import'](_0x23c120,0x1,_0x2e4c40);if(!_0x184c79)return;this[_0x2b5bcc(0x1cb)]=_0x184c79,this[_0x2b5bcc(0xe2)][_0x2b5bcc(0x180)]();let _0x4399f9=await this[_0x2b5bcc(0xe2)][_0x2b5bcc(0x208)](_0x184c79)['catch'](_0x51ae87=>{const _0x5bff0d=_0x2b5bcc;var _0x3fa920;let _0x46f0e7=_0x51ae87 instanceof Error?_0x51ae87[_0x5bff0d(0x1b6)]:(_0x3fa920=_0x51ae87[_0x5bff0d(0x1c9)])==null?void 0x0:_0x3fa920[_0x5bff0d(0x1b6)];this[_0x5bff0d(0x176)]['next']({'error':{'code':c[_0x5bff0d(0x11d)][_0x5bff0d(0x133)],'message':_0x46f0e7||''},'state':0x3});});if(!_0x4399f9)return;let _0x32ca3a=(_0x4aabd0=_0x4399f9['import'])==null?void 0x0:_0x4aabd0[_0x2b5bcc(0x1db)],_0x5c2c3a=((_0x18fded=_0x4399f9[_0x2b5bcc(0x1d7)])==null?void 0x0:_0x18fded['unitID'])||'';if(_0x32ca3a!==0x1){this[_0x2b5bcc(0x176)][_0x2b5bcc(0xf3)]({'error':{'code':c[_0x2b5bcc(0x11d)]['UNRECOGNIZED'],'message':_0x2b5bcc(0x1cc)},'state':0x3});return;}if(_0x5c2c3a[_0x2b5bcc(0x213)]===0x0){this[_0x2b5bcc(0x176)][_0x2b5bcc(0xf3)]({'error':{'code':c[_0x2b5bcc(0x11d)][_0x2b5bcc(0x133)],'message':_0x2b5bcc(0xfb)},'state':0x3});return;}return this[_0x2b5bcc(0x176)][_0x2b5bcc(0xf3)]({'error':_0x4399f9['error'],'state':0x3}),_0x5c2c3a;}async['importFileToJson'](_0x48f3c2,_0x29d2ae){return this['_importToJson'](_0x48f3c2,_0x29d2ae);}async[_0x3a4b72(0xe0)](_0x278c18){const _0x3ffdb6=_0x3a4b72;let _0x366c96=await this[_0x3ffdb6(0xdf)](_0x278c18),_0x25cbb8=typeof _0x278c18['id']==_0x3ffdb6(0x219)&&_0x278c18['id'][_0x3ffdb6(0x12f)]()?_0x278c18['id'][_0x3ffdb6(0x12f)]()+_0x3ffdb6(0x18d):'workbook.json',_0x38c745=new File([JSON[_0x3ffdb6(0x20c)](_0x366c96)],_0x25cbb8,{'type':_0x3ffdb6(0x138)});return this[_0x3ffdb6(0x11f)](_0x38c745,t[_0x3ffdb6(0x13e)][_0x3ffdb6(0x11c)]);}[_0x3a4b72(0x11b)](){const _0x42acb5=_0x3a4b72;this[_0x42acb5(0x1cb)]&&this[_0x42acb5(0xe2)][_0x42acb5(0x143)](this[_0x42acb5(0x1cb)]);}async['_importToJson'](_0x573acb,_0x2c5a6e){const _0x366d56=_0x3a4b72;var _0x543fe4,_0x249d5f;let _0x35e123=await this[_0x366d56(0x16b)](_0x573acb);if(!_0x35e123)return;let _0x2c3425=await this[_0x366d56(0x15f)](_0x35e123,0x2,_0x2c5a6e);if(!_0x2c3425)return;this['_importTaskId']=_0x2c3425,this[_0x366d56(0xe2)][_0x366d56(0x180)]();let _0x590f3c=await this[_0x366d56(0xe2)][_0x366d56(0x208)](_0x2c3425)[_0x366d56(0x1dd)](_0x223d09=>{const _0x3b4eb1=_0x366d56;var _0x2850d2;let _0xe7b497=_0x223d09 instanceof Error?_0x223d09['message']:(_0x2850d2=_0x223d09[_0x3b4eb1(0x1c9)])==null?void 0x0:_0x2850d2[_0x3b4eb1(0x1b6)];this[_0x3b4eb1(0x176)][_0x3b4eb1(0xf3)]({'error':{'code':c['ErrorCode'][_0x3b4eb1(0x133)],'message':_0xe7b497||''},'state':0x3});});if(!_0x590f3c)return;let _0x440fb9=(_0x543fe4=_0x590f3c[_0x366d56(0x1d7)])==null?void 0x0:_0x543fe4['outputType'],_0x1b9a43=((_0x249d5f=_0x590f3c[_0x366d56(0x1d7)])==null?void 0x0:_0x249d5f[_0x366d56(0x1d2)])||'';if(_0x440fb9!==0x2){this[_0x366d56(0x176)][_0x366d56(0xf3)]({'error':{'code':c['ErrorCode'][_0x366d56(0x133)],'message':_0x366d56(0x1cc)},'state':0x3});return;}if(_0x1b9a43[_0x366d56(0x213)]===0x0){this[_0x366d56(0x176)]['next']({'error':{'code':c[_0x366d56(0x11d)][_0x366d56(0x133)],'message':_0x366d56(0x14e)},'state':0x3});return;}this[_0x366d56(0x176)][_0x366d56(0xf3)]({'error':_0x590f3c[_0x366d56(0x1c9)],'state':0x3});let _0xc16a31=await this[_0x366d56(0x179)](_0x1b9a43);if(!_0xc16a31)return;let _0x5c2cda=await this[_0x366d56(0xe2)][_0x366d56(0x259)](_0xc16a31);if(!_0x5c2cda){this[_0x366d56(0x176)]['next']({'error':{'code':c['ErrorCode'][_0x366d56(0x133)],'message':_0x366d56(0x108)},'state':0x5});return;}try{let _0x58d7a0=JSON['parse'](_0x5c2cda);return this['_requestState$'][_0x366d56(0xf3)]({'error':{'code':c['ErrorCode']['OK'],'message':_0x366d56(0x185)},'state':0x5}),_0x58d7a0;}catch{this[_0x366d56(0x176)][_0x366d56(0xf3)]({'error':{'code':c[_0x366d56(0x11d)]['UNRECOGNIZED'],'message':_0x366d56(0x17e)},'state':0x5});}}async[_0x3a4b72(0x149)](_0x14d3a1,_0x602afb){const _0x1edde4=_0x3a4b72;let _0x567ebb=JSON[_0x1edde4(0x20c)](_0x14d3a1),_0x1a170a=l['textEncoder'][_0x1edde4(0x113)](_0x567ebb),_0x28bdda=(0x0,u[_0x1edde4(0xfe)])(_0x1a170a),_0x387419=_0x1a170a['length'],_0x1f6885=se(_0x28bdda),_0x3f51e1=await this[_0x1edde4(0x16b)](_0x1f6885,_0x387419,!0x0);if(_0x3f51e1)return this[_0x1edde4(0x21b)](_0x3f51e1,0x2,_0x602afb);}async['_export'](_0x1cb5d5,_0x1bc5c7,_0x4c385b){const _0xeda44a=_0x3a4b72;var _0x91e659;let _0x7ed058=await this['_requestService'][_0xeda44a(0x204)]({'unitID':_0x1bc5c7===0x1?_0x1cb5d5:'','jsonID':_0x1bc5c7===0x2?_0x1cb5d5:'','type':_0x4c385b,'useImageUrl':this[_0xeda44a(0x139)](),'ignoreTableExport':this[_0xeda44a(0x1f6)]()});if(!_0x7ed058){this['_requestState$']['next']({'error':{'code':c[_0xeda44a(0x11d)][_0xeda44a(0x133)],'message':'export\x20error'},'state':0x2});return;}if(this[_0xeda44a(0x176)]['next']({'error':_0x7ed058[_0xeda44a(0x1c9)],'state':0x2}),_0x7ed058['error']&&_0x7ed058[_0xeda44a(0x1c9)]['code']!==c[_0xeda44a(0x11d)]['OK'])return;let _0x3a44a2=_0x7ed058[_0xeda44a(0x11e)],_0x302211=await this[_0xeda44a(0xe2)][_0xeda44a(0x208)](_0x3a44a2)[_0xeda44a(0x1dd)](_0x26fe7e=>{const _0x4b6117=_0xeda44a;var _0x716f22;let _0x479bd7=_0x26fe7e instanceof Error?_0x26fe7e['message']:(_0x716f22=_0x26fe7e[_0x4b6117(0x1c9)])==null?void 0x0:_0x716f22['message'];this[_0x4b6117(0x176)]['next']({'error':{'code':c[_0x4b6117(0x11d)][_0x4b6117(0x133)],'message':_0x479bd7||''},'state':0x3});});if(!_0x302211)return;let _0x2fa9e1=((_0x91e659=_0x302211[_0xeda44a(0x204)])==null?void 0x0:_0x91e659[_0xeda44a(0x194)])||'';if(_0x2fa9e1[_0xeda44a(0x213)]===0x0){this[_0xeda44a(0x176)][_0xeda44a(0xf3)]({'error':{'code':c[_0xeda44a(0x11d)][_0xeda44a(0x133)],'message':_0xeda44a(0x21d)},'state':0x3});return;}this['_requestState$'][_0xeda44a(0xf3)]({'error':_0x302211[_0xeda44a(0x1c9)],'state':0x3});let _0x275daa=await this[_0xeda44a(0x179)](_0x2fa9e1);if(!_0x275daa)return;let _0x37758e=await N(_0x275daa,this[_0xeda44a(0x123)]);if(!_0x37758e){this[_0xeda44a(0x176)][_0xeda44a(0xf3)]({'error':{'code':c['ErrorCode'][_0xeda44a(0x133)],'message':_0xeda44a(0x100)},'state':0x6});return;}return this[_0xeda44a(0x176)][_0xeda44a(0xf3)]({'error':{'code':c['ErrorCode']['OK'],'message':'success'},'state':0x6}),_0x37758e;}async[_0x3a4b72(0x16b)](_0x443e59,_0x20bc00,_0x6f432b){const _0x25649a=_0x3a4b72;let _0x2c8dca;try{_0x2c8dca=await this[_0x25649a(0xe2)][_0x25649a(0x209)](_0x443e59,_0x20bc00,_0x6f432b);}catch(_0x572096){let _0x5a2f03=_0x572096 instanceof Error?_0x572096[_0x25649a(0x1b6)]:String(_0x572096);this[_0x25649a(0x176)]['next']({'error':{'code':c[_0x25649a(0x11d)]['UNRECOGNIZED'],'message':_0x5a2f03},'state':0x0});return;}if(!_0x2c8dca||typeof _0x2c8dca['FileId']!=_0x25649a(0x219)){this[_0x25649a(0x176)][_0x25649a(0xf3)]({'error':{'code':c[_0x25649a(0x11d)][_0x25649a(0x133)],'message':_0x25649a(0x233)},'state':0x0});return;}let _0x53ba39=_0x2c8dca['FileId'];if(_0x53ba39[_0x25649a(0x213)]===0x0){this[_0x25649a(0x176)]['next']({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this[_0x25649a(0x176)][_0x25649a(0xf3)]({'error':{'code':c['ErrorCode']['OK'],'message':_0x25649a(0x185)},'state':0x0}),_0x53ba39;}async['_import'](_0x5735fc,_0x2bb483,_0x5d999d){const _0x42fae9=_0x3a4b72;let _0x17b3ad={'fileID':_0x5735fc,'type':_0x5d999d,'outputType':_0x2bb483,'fileUrl':'','minSheetRowCount':this[_0x42fae9(0x236)](),'minSheetColumnCount':this[_0x42fae9(0x1e1)]()},_0x2ca0ff=await this[_0x42fae9(0xe2)][_0x42fae9(0x1d7)](_0x17b3ad);if(!_0x2ca0ff){this['_requestState$'][_0x42fae9(0xf3)]({'error':{'code':c[_0x42fae9(0x11d)]['UNRECOGNIZED'],'message':_0x42fae9(0x147)},'state':0x1});return;}if(_0x2ca0ff[_0x42fae9(0x1c9)]&&_0x2ca0ff[_0x42fae9(0x1c9)][_0x42fae9(0x20e)]!==c[_0x42fae9(0x11d)]['OK']){this[_0x42fae9(0x176)][_0x42fae9(0xf3)]({'error':_0x2ca0ff['error'],'state':0x1});return;}let _0x2ed903=_0x2ca0ff[_0x42fae9(0x11e)];if(_0x2ed903[_0x42fae9(0x213)]===0x0){this[_0x42fae9(0x176)][_0x42fae9(0xf3)]({'error':{'code':c[_0x42fae9(0x11d)][_0x42fae9(0x133)],'message':_0x42fae9(0xe9)},'state':0x1});return;}return this['_requestState$'][_0x42fae9(0xf3)]({'error':_0x2ca0ff[_0x42fae9(0x1c9)],'state':0x1}),_0x2ed903;}async['_signUrl'](_0x1cc451){const _0x5b3962=_0x3a4b72;let _0x36995e=await this[_0x5b3962(0xe2)]['signUrl'](_0x1cc451);if(!_0x36995e){this[_0x5b3962(0x176)]['next']({'error':{'code':c[_0x5b3962(0x11d)][_0x5b3962(0x133)],'message':_0x5b3962(0x1e6)},'state':0x4});return;}if(_0x36995e[_0x5b3962(0x1c9)]&&_0x36995e[_0x5b3962(0x1c9)]['code']!==c[_0x5b3962(0x11d)]['OK']){this['_requestState$'][_0x5b3962(0xf3)]({'error':_0x36995e[_0x5b3962(0x1c9)],'state':0x4});return;}let _0x29d7b5=(0x0,t['resolveWithBasePath'])(_0x36995e['url'],this['_getDownloadEndpointURL']());if(_0x29d7b5['length']===0x0){this['_requestState$'][_0x5b3962(0xf3)]({'error':{'code':c['ErrorCode'][_0x5b3962(0x133)],'message':'sign\x20url\x20error'},'state':0x4});return;}return this[_0x5b3962(0x176)][_0x5b3962(0xf3)]({'error':_0x36995e[_0x5b3962(0x1c9)],'state':0x4}),_0x29d7b5;}[_0x3a4b72(0x225)](){const _0x467fb4=_0x3a4b72;var _0x18af14;let _0x2bbeb6=this['_configService'][_0x467fb4(0x161)](f);return(_0x18af14=_0x2bbeb6==null?void 0x0:_0x2bbeb6['downloadEndpointUrl'])==null?location[_0x467fb4(0xfd)]:_0x18af14;}[_0x3a4b72(0x236)](){const _0x2b0bd9=_0x3a4b72;var _0x406048,_0xc8e526;let _0x6e1be0=this['_configService'][_0x2b0bd9(0x161)](f);return(_0x406048=_0x6e1be0==null||(_0xc8e526=_0x6e1be0[_0x2b0bd9(0x1fd)])==null?void 0x0:_0xc8e526[_0x2b0bd9(0x10c)])==null?0x1:_0x406048;}['_getMinSheetColumnCount'](){const _0x233c8a=_0x3a4b72;var _0x11f672,_0x403ddf;let _0x349ef0=this['_configService']['getConfig'](f);return(_0x11f672=_0x349ef0==null||(_0x403ddf=_0x349ef0[_0x233c8a(0x1fd)])==null?void 0x0:_0x403ddf[_0x233c8a(0x120)])==null?0x1:_0x11f672;}[_0x3a4b72(0x139)](){const _0x4eb7e2=_0x3a4b72;var _0x5cbf41,_0x48a69e;let _0x7a7faf=this[_0x4eb7e2(0x241)][_0x4eb7e2(0x161)](f);return(_0x5cbf41=_0x7a7faf==null||(_0x48a69e=_0x7a7faf['options'])==null?void 0x0:_0x48a69e[_0x4eb7e2(0x1b8)])==null?!0x0:_0x5cbf41;}[_0x3a4b72(0x1f6)](){const _0x414222=_0x3a4b72;var _0x52d026,_0x113d82;let _0x415d11=this[_0x414222(0x241)][_0x414222(0x161)](f);return(_0x52d026=_0x415d11==null||(_0x113d82=_0x415d11[_0x414222(0x1fd)])==null?void 0x0:_0x113d82[_0x414222(0xe5)])==null?!0x1:_0x52d026;}};K=h([m(0x0,t['IConfigService']),m(0x1,(0x0,t[_0x3a4b72(0x1cd)])(n['HTTPService'])),m(0x2,(0x0,t[_0x3a4b72(0x1cd)])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x3a4b72(0x172)])(_0x3a4b72(0x1c3));function _0x3cc8(){const _0x29e03f=['univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','saveSheetBlock','error','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','_importTaskId','Get\x20outputType\x20error','Inject','_registerUIParts','originalMeta','symbol','_addTotalCount','jsonID','_getUploadFileURL','IExchangeService','registerComponent','_buildProtocolErrorMessage','import','has','size','8059799btxgHA','outputType','multiple','catch','exchange-client.config','_uploadTaskNotDone','application/vnd.openxmlformats-officedocument.presentationml.presentation','_getMinSheetColumnCount','pluginName','revokeObjectURL','transformSlideDataToSnapshot','application/vnd.openxmlformats-officedocument.wordprocessingml.document','sign\x20url\x20error','/universer-api/file/{fileID}/sign-url','addEventListener','getTaskServerUrl','BehaviorSubject','_getUnitID','Info','_progress$','saveChangeset','transformDocumentDataToSnapshot','onStarting','registerDependencies','exportServerUrl','hide','39848ExMaUS','_clearProgress','_getIgnoreTableExport','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','button','_uiPartsService','_getUnitDocJson','importFileToUnitIdByCurrentType','importXLSXToSnapshot','options','defineProperty','floor','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','rev','iterator','_buildHttpErrorMessage','export','upload\x20request\x20failed','keys','_importFileToUnitId','getTask','upload','replace','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','stringify','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','code','text','importPPTXToSnapshot','list$','getUnitType','length','&flate=','complete','transformSnapshotToDocumentData','MessageType','exchange-client.uploadSuccess','string','Injector','_export','importFileToJson','Failed\x20to\x20get\x20fileID\x20from\x20task','fetchMissingChangesets','exchange-client.uploadSuccessTip','UniverLicensePlugin','_getUnitSlideJson','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','getDeserializedSheetBlock','No\x20file\x20selected','_getDownloadEndpointURL','_visible$','_extractErrorDetail','_showUploadMessage','clear','transformSnapshotToWorkbookData','sheets','style','_getImportURL','_injector','toPrimitive','exchange-client.uploadAgain','_refresh','ErrorIcon','upload\x20failed:\x20missing\x20FileId\x20in\x20response','sheetBlocks','updateState','_getMinSheetRowCount','UNIVER_SLIDE','map','_logService','done','Module','IMessageService','snapshot','headers','getSheetBlock','_list','_configService',':\x20HTTP\x20','uploadFileServerUrl','disposeWithMe','_emitProgress','none','object','20AksdMf','application/vnd.openxmlformats-officedocument.spreadsheetml.template','1.0.0-alpha.7','_uploadNotificationService','block\x20is\x20required','univer-pl-2\x20univer-pr-4','call','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','div','_addDoneTask','_iconManager','IconManager','301956ssdoYj','_getMaxPollingTime','Warning','UNIVER_BOARD','accept','getTextFromUrl','importDOCXToUnitId','progress$','SuccessIcon','b64EncodeUnicode','_getTaskURL','UniverNetworkPlugin','decode','pptx','get','transformWorkbookDataToSnapshotJson','importWorkbookDataToUnitId','getResourcesRequest','_requestService','UNIVER_DOC','ClockIcon','ignoreTableExport','1815vilWWZ','840wxspTn','univer-flex','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','file.json','decorate','blob','@univerjs-pro/exchange-client','IUniverInstanceService','signUrl','type','body','getLatestCsReqIdBySid','next','_completeProgress','_showNetworkError','merge','importServerUrl','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Error','toDisposable','Failed\x20to\x20get\x20unitID\x20from\x20task','jsxs','origin','deflateSync','UNIVER_UNKNOWN','Failed\x20to\x20get\x20file\x20from\x20url','exportDOCXByUnitId','name','77506FLFyfF','univer-text-red-500','exchange-client.internalError','_taskInterrupted','_getExportURL','Failed\x20to\x20get\x20text\x20from\x20url','importXLSXToUnitId','status','toString','minSheetRowCount','Tooltip','interrupt','getSheetBlocksFromSnapshot','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','span','content-disposition','encode','exportXLSXBySnapshot','b64DecodeUnicode','IExchangeOperateService','xlsm','_registerIcons','getUnitId','LocaleService','interruptImportTask','UNIVER_SHEET','ErrorCode','taskID','importFileToUnitId','minSheetColumnCount','_exchangeService','Disposable','_httpService','606Ysqoqt','getOwnPropertyDescriptor','doc','data','Subject','exportXLSXByUnitId','_totalUploadTaskCount','version','link','univer-mt-5\x20univer-flex\x20univer-flex-col','getSnapshot','trim','SlidesMultiIcon','saveUnit','BuiltInUIPart','UNRECOGNIZED','Error\x20getting\x20file\x20name\x20from\x20URL:','univer-pro.exchange-client.upload-notification.service','download','154549yhjiNC','application/json','_getDisableCellImageConversion','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','uploadFileToUnitId','updateSnapshot','importPPTXToUnitId','UniverInstanceType','_localeService','xlsx','click','IConfigService','setTaskInterrupted','exchange-client.unknownMistake','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','CloseIcon','import\x20error','_getUnitJson','_exportBySnapshot','statusText','xltx','signUrlServerUrl','docx','Failed\x20to\x20get\x20jsonID\x20from\x20task','{taskID}','useObservable','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','_resourceLoaderService','join','file.','_getUnitNameByType','pop','_list$','show','values','exportPPTXByUnitId','resolve','UNIVER_PROJECT','getUnitOnRev','exchange-client.cancel','_import','change','getConfig','?size=','_blank','toStringTag','getFocusedUnit','univer-text-blue-500','_config','maxTimeoutTime','useDependency','post','_upload','unshift','exchange-client.downloadSuccess','toLowerCase','visible$','1946BvGppg','_state$','createIdentifier','textDecoder','4hyuIhl','display','_requestState$','_fileTypeError','ILogService','_signUrl','exchange-client.wait','exportPPTXBySnapshot','set','HTTPService','Failed\x20to\x20parse\x20json','_getUnitName','clearTaskInterrupted','default','exchange-client.uploading','transformWorkbookDataToSnapshot','noreferrer','success','/universer-api/exchange/{type}/import','\x20-\x20','state$','_doneUploadTaskCount','exchange-client.downloading','_refreshSlide','input','.json','pushLink','register','UNIVER_PDF','32lcpfIL','isArray','asObservable','fileID','subscribe','prototype','exportDOCXBySnapshot','dispose','UniverExchangeClientPlugin','searchParams','exchange-client.networkError','min','createUnit','createObjectURL','Failed\x20to\x20transform\x20snapshot\x20to\x20string','CONNECTOR_DATA_TOO_LARGE','Success','files','function','&source=','requestState$','getCurrentUnitOfType','ShareRangeIcon','DependentOn','/universer-api/stream/file/upload','createElement','title','_showDownloadMessage','file','jsx','_sheetBlockCache','parse','importDOCXToSnapshot','downloadFile','UNIVER_EXCHANGE_CLIENT_PLUGIN','exchange-client.fileTypeError','slide','message','number','disableCellImageConversion','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','forEach','IUIPartsService','copyFileMeta','_getLinkByUnitId','univer-text-green-500','_univerInstanceService','_messageService','SheetsMultiIcon','{fileID}','univer-pro.exchange-client.operate.service','Method\x20not\x20implemented.','split','15402033Hkgdug'];_0x3cc8=function(){return _0x29e03f;};return _0x3cc8();}let J=class extends t[_0x3a4b72(0x122)]{constructor(_0x2f2fba,_0x3ab889,_0x42cbf3,_0xdab111,_0x2cf6f0,_0x4f3cb2,_0x69c7bb){const _0x14a29c=_0x3a4b72;super(),this[_0x14a29c(0x1bf)]=_0x2f2fba,this[_0x14a29c(0x1c0)]=_0x3ab889,this[_0x14a29c(0x13f)]=_0x42cbf3,this[_0x14a29c(0x121)]=_0xdab111,this[_0x14a29c(0x24b)]=_0x2cf6f0,this[_0x14a29c(0x239)]=_0x4f3cb2,this['_resourceLoaderService']=_0x69c7bb,v(this,_0x14a29c(0x1ed),new a[(_0x14a29c(0x1ea))](pe)),v(this,_0x14a29c(0xd7),this[_0x14a29c(0x1ed)]['asObservable']()),v(this,_0x14a29c(0x12a),0x0),v(this,_0x14a29c(0x189),0x0),this[_0x14a29c(0x244)]((0x0,t[_0x14a29c(0xfa)])(this[_0x14a29c(0x121)][_0x14a29c(0x1a5)][_0x14a29c(0x195)](_0x356edd=>{const _0x51ced7=_0x14a29c;var _0x3beb58;((_0x3beb58=_0x356edd['error'])==null?void 0x0:_0x3beb58[_0x51ced7(0x20e)])===c['ErrorCode']['OK']?this[_0x51ced7(0x251)](0x1):this[_0x51ced7(0xf5)](_0x356edd['error']);})));}[_0x3a4b72(0x10e)](){const _0x44d509=_0x3a4b72;this[_0x44d509(0x1f5)](),this[_0x44d509(0x24b)][_0x44d509(0x235)](0x2),this[_0x44d509(0x121)][_0x44d509(0x11b)]();}async[_0x3a4b72(0x13b)](_0x42e95b){const _0x50dfd4=_0x3a4b72;throw Error(_0x50dfd4(0x1c4));}async[_0x3a4b72(0x1fb)](){const _0x59eddd=_0x3a4b72;let _0x483740=this[_0x59eddd(0x1bf)][_0x59eddd(0x165)]();switch(_0x483740?this['_univerInstanceService'][_0x59eddd(0x212)](_0x483740[_0x59eddd(0x119)]()):t[_0x59eddd(0x13e)][_0x59eddd(0x133)]){case t[_0x59eddd(0x13e)]['UNIVER_SLIDE']:return this[_0x59eddd(0x13d)]();case t[_0x59eddd(0x13e)]['UNIVER_DOC']:return this[_0x59eddd(0xd6)]();case t[_0x59eddd(0x13e)]['UNIVER_SHEET']:default:return this[_0x59eddd(0x109)]();}}async[_0x3a4b72(0xd6)](){const _0xb8f14a=_0x3a4b72;let _0x5163f0=await M([t['UniverInstanceType']['UNIVER_DOC']]);if(_0x5163f0&&!this[_0xb8f14a(0x177)](_0x5163f0,t['UniverInstanceType']['UNIVER_DOC']))return this['_importFileToUnitId'](_0x5163f0[0x0],t[_0xb8f14a(0x13e)][_0xb8f14a(0xe3)]);}[_0x3a4b72(0x1b1)](){const _0x3d9d11=_0x3a4b72;throw Error(_0x3d9d11(0x1c4));}async[_0x3a4b72(0x101)](_0x67c0db,_0xefba2,_0x4dfa54){const _0x344ae4=_0x3a4b72;this[_0x344ae4(0x1ac)](o[_0x344ae4(0x217)][_0x344ae4(0x1ec)]);let _0x2f9bf5=await this['_exchangeService']['exportDOCXByUnitId'](_0x67c0db||this['_getUnitIDDoc']());_0x2f9bf5&&(this[_0x344ae4(0x121)][_0x344ae4(0x1b2)](_0x2f9bf5,_0xefba2||this[_0x344ae4(0x17f)](_0x2f9bf5),'docx'),this[_0x344ae4(0x1ac)](o[_0x344ae4(0x217)][_0x344ae4(0x1a1)]));}async['exportDOCXBySnapshot'](){const _0xf2b03f=_0x3a4b72;this[_0xf2b03f(0x1ac)](o[_0xf2b03f(0x217)][_0xf2b03f(0x1ec)]);let _0x44ee2a=await this[_0xf2b03f(0x1fa)](),_0x4220c1=await this[_0xf2b03f(0x121)][_0xf2b03f(0x197)](_0x44ee2a);_0x4220c1&&(this[_0xf2b03f(0x121)][_0xf2b03f(0x1b2)](_0x4220c1,this[_0xf2b03f(0x17f)](_0x4220c1),_0xf2b03f(0x14d)),this['_showDownloadMessage'](o[_0xf2b03f(0x217)][_0xf2b03f(0x1a1)]));}async[_0x3a4b72(0x13d)](){const _0x55e379=_0x3a4b72;if(this[_0x55e379(0x1df)]()){this['_messageService']['show']({'type':o[_0x55e379(0x217)][_0x55e379(0x256)],'content':this[_0x55e379(0x13f)]['t']('exchange-client.uploading')});return;}let _0x55d718=await M([t[_0x55e379(0x13e)][_0x55e379(0x237)]]);if(_0x55d718&&!this['_fileTypeError'](_0x55d718,t[_0x55e379(0x13e)][_0x55e379(0x237)]))return this[_0x55e379(0x207)](_0x55d718[0x0],t[_0x55e379(0x13e)]['UNIVER_SLIDE']);}async[_0x3a4b72(0x210)](){const _0x1944a4=_0x3a4b72;if(this[_0x1944a4(0x1df)]()){this[_0x1944a4(0x1c0)][_0x1944a4(0x158)]({'type':o['MessageType']['Warning'],'content':this['_localeService']['t'](_0x1944a4(0x182))});return;}let _0x28dd49=await M([t[_0x1944a4(0x13e)]['UNIVER_SLIDE']]);if(!_0x28dd49)return;this[_0x1944a4(0x228)](o[_0x1944a4(0x217)][_0x1944a4(0x1ec)]);let _0x11aafc=await this[_0x1944a4(0x121)]['importPPTXToSnapshot'](_0x28dd49[0x0]);_0x11aafc&&(this[_0x1944a4(0x18b)](_0x11aafc),this[_0x1944a4(0x228)](o['MessageType'][_0x1944a4(0x1a1)]));}async['exportPPTXByUnitId'](_0x594d7f,_0x2155b6,_0x2d4390){const _0x4f8a38=_0x3a4b72;this[_0x4f8a38(0x1ac)](o['MessageType'][_0x4f8a38(0x1ec)]);let _0x1623e6=await this[_0x4f8a38(0x121)][_0x4f8a38(0x15a)](_0x594d7f||this['_getUnitIDSlide']());_0x1623e6&&(this[_0x4f8a38(0x121)][_0x4f8a38(0x1b2)](_0x1623e6,_0x2155b6||this[_0x4f8a38(0x155)](_0x1623e6,_0x2d4390==null?t[_0x4f8a38(0x13e)][_0x4f8a38(0x237)]:_0x2d4390),'pptx'),this[_0x4f8a38(0x1ac)](o['MessageType'][_0x4f8a38(0x1a1)]));}async[_0x3a4b72(0x17b)](){const _0xe82aa1=_0x3a4b72;this[_0xe82aa1(0x1ac)](o[_0xe82aa1(0x217)][_0xe82aa1(0x1ec)]);let _0x647b57=await this['_getUnitSlideJson'](),_0x5312f0=await this[_0xe82aa1(0x121)]['exportPPTXBySnapshot'](_0x647b57);_0x5312f0&&(this[_0xe82aa1(0x121)][_0xe82aa1(0x1b2)](_0x5312f0,this['_getUnitNameByType'](_0x5312f0,t[_0xe82aa1(0x13e)][_0xe82aa1(0x237)]),_0xe82aa1(0xdd)),this['_showDownloadMessage'](o[_0xe82aa1(0x217)][_0xe82aa1(0x1a1)]));}async[_0x3a4b72(0x109)](){const _0x3e8d16=_0x3a4b72;if(this[_0x3e8d16(0x1df)]()){this['_messageService'][_0x3e8d16(0x158)]({'type':o[_0x3e8d16(0x217)]['Warning'],'content':this[_0x3e8d16(0x13f)]['t']('exchange-client.uploading')});return;}let _0x3d3e41=await M([t['UniverInstanceType'][_0x3e8d16(0x11c)]]);if(_0x3d3e41&&!this[_0x3e8d16(0x177)](_0x3d3e41,t[_0x3e8d16(0x13e)][_0x3e8d16(0x11c)]))return this[_0x3e8d16(0x207)](_0x3d3e41[0x0],t[_0x3e8d16(0x13e)][_0x3e8d16(0x11c)]);}async[_0x3a4b72(0x1fc)](){const _0x362a77=_0x3a4b72;if(this[_0x362a77(0x1df)]()){this[_0x362a77(0x1c0)][_0x362a77(0x158)]({'type':o[_0x362a77(0x217)][_0x362a77(0x256)],'content':this['_localeService']['t'](_0x362a77(0x182))});return;}let _0x333184=await M([t[_0x362a77(0x13e)][_0x362a77(0x11c)]]);if(!_0x333184)return;this['_showUploadMessage'](o[_0x362a77(0x217)][_0x362a77(0x1ec)]);let _0x451393=await this[_0x362a77(0x121)]['importXLSXToSnapshot'](_0x333184[0x0]);_0x451393&&(this[_0x362a77(0x231)](_0x451393),this['_showUploadMessage'](o[_0x362a77(0x217)]['Success']));}async[_0x3a4b72(0x129)](_0x665bf3,_0x3c77e1,_0x2f38bd){const _0x5c9b1f=_0x3a4b72;this[_0x5c9b1f(0x1ac)](o[_0x5c9b1f(0x217)][_0x5c9b1f(0x1ec)]);let _0x158dc8=await this[_0x5c9b1f(0x121)]['exportXLSXByUnitId'](_0x665bf3||this['_getUnitID']());_0x158dc8&&(this[_0x5c9b1f(0x121)]['downloadFile'](_0x158dc8,_0x3c77e1||this['_getUnitName'](_0x158dc8),_0x5c9b1f(0x140)),this[_0x5c9b1f(0x1ac)](o[_0x5c9b1f(0x217)][_0x5c9b1f(0x1a1)]));}async[_0x3a4b72(0x114)](){const _0x796e97=_0x3a4b72;this[_0x796e97(0x1ac)](o[_0x796e97(0x217)][_0x796e97(0x1ec)]);let _0x3ff6ae=await this['_getUnitJson'](),_0x28d0ca=await this[_0x796e97(0x121)][_0x796e97(0x114)](_0x3ff6ae);_0x28d0ca&&(this[_0x796e97(0x121)][_0x796e97(0x1b2)](_0x28d0ca,this[_0x796e97(0x17f)](_0x28d0ca),_0x796e97(0x140)),this[_0x796e97(0x1ac)](o[_0x796e97(0x217)][_0x796e97(0x1a1)]));}['registerLink'](_0x41fb25){this['_getLinkByUnitId']=_0x41fb25;}async[_0x3a4b72(0x207)](_0x36fbec,_0x41e126){const _0x1d24d2=_0x3a4b72;this[_0x1d24d2(0x24b)]['show'](),this[_0x1d24d2(0x24b)][_0x1d24d2(0x235)](0x0),this[_0x1d24d2(0x1d1)](0x4),this[_0x1d24d2(0x251)](0x1);let _0x1e72a1=await this[_0x1d24d2(0x121)][_0x1d24d2(0x11f)](_0x36fbec,_0x41e126);if(!_0x1e72a1){this[_0x1d24d2(0x1f5)](),this[_0x1d24d2(0x24b)][_0x1d24d2(0x235)](0x2);return;}let _0x35fb9d={'link':this[_0x1d24d2(0x1bd)](_0x1e72a1,_0x41e126),'name':_0x36fbec[_0x1d24d2(0x102)],'type':_0x41e126};return this[_0x1d24d2(0x24b)][_0x1d24d2(0x18e)](_0x35fb9d),this[_0x1d24d2(0xf4)](),this[_0x1d24d2(0x24b)][_0x1d24d2(0x235)](0x1),_0x1e72a1;}[_0x3a4b72(0x1eb)](){const _0x534098=_0x3a4b72;return this[_0x534098(0x1bf)]['getCurrentUnitOfType'](t[_0x534098(0x13e)][_0x534098(0x11c)])[_0x534098(0x119)]();}['_getUnitIDDoc'](){const _0x35fd68=_0x3a4b72;return this['_univerInstanceService'][_0x35fd68(0x1a6)](t['UniverInstanceType'][_0x35fd68(0xe3)])[_0x35fd68(0x119)]();}['_getUnitIDSlide'](){const _0x120054=_0x3a4b72;return this[_0x120054(0x1bf)][_0x120054(0x1a6)](t[_0x120054(0x13e)]['UNIVER_SLIDE'])[_0x120054(0x119)]();}[_0x3a4b72(0x17f)](_0x1a5899){const _0x13a358=_0x3a4b72;return this[_0x13a358(0x155)](_0x1a5899,t[_0x13a358(0x13e)][_0x13a358(0x11c)]);}[_0x3a4b72(0x155)](_0xf9b143,_0xd5a9ea){const _0x5c4a66=_0x3a4b72;var _0x121c47;let _0x241a42=(_0x121c47=this[_0x5c4a66(0x1bf)]['getCurrentUnitOfType'](_0xd5a9ea))==null?void 0x0:_0x121c47[_0x5c4a66(0x12e)](),_0x7812b5=_0x241a42==null?void 0x0:_0x241a42[_0x5c4a66(0x102)];return typeof _0x7812b5==_0x5c4a66(0x219)&&_0x7812b5[_0x5c4a66(0x12f)]()?_0x7812b5:_0xf9b143['name']['split']('.')['shift']()||document[_0x5c4a66(0x1ab)];}async[_0x3a4b72(0x148)](){const _0x5111e0=_0x3a4b72;let _0x27eb11=this[_0x5111e0(0x1bf)]['getCurrentUnitOfType'](t[_0x5111e0(0x13e)][_0x5111e0(0x11c)]),_0xef8d13=this[_0x5111e0(0x152)][_0x5111e0(0x131)](_0x27eb11['getUnitId']());return _0xef8d13==null?_0x27eb11[_0x5111e0(0x12e)]():_0xef8d13;}async[_0x3a4b72(0x1fa)](){const _0x37b520=_0x3a4b72;let _0x28d73e=this[_0x37b520(0x1bf)]['getCurrentUnitOfType'](t['UniverInstanceType'][_0x37b520(0xe3)]),_0xdb055c=this[_0x37b520(0x152)][_0x37b520(0x131)](_0x28d73e[_0x37b520(0x119)]());return _0xdb055c==null?_0x28d73e[_0x37b520(0x12e)]():_0xdb055c;}async[_0x3a4b72(0x221)](){const _0x588127=_0x3a4b72;let _0x55bcfd=this[_0x588127(0x1bf)][_0x588127(0x1a6)](t[_0x588127(0x13e)][_0x588127(0x237)]),_0x1e20d6=this[_0x588127(0x152)][_0x588127(0x131)](_0x55bcfd[_0x588127(0x119)]());return _0x1e20d6==null?_0x55bcfd[_0x588127(0x12e)]():_0x1e20d6;}[_0x3a4b72(0x1bd)](_0x535460,_0x3cdd22){const _0x15c34f=_0x3a4b72;let _0xc9524d=new URL(window['location']['href']);return _0xc9524d['searchParams'][_0x15c34f(0x17c)]('unit',_0x535460),_0xc9524d[_0x15c34f(0x19a)][_0x15c34f(0x17c)](_0x15c34f(0xf0),''+_0x3cdd22),_0xc9524d[_0x15c34f(0x10b)]();}['_refresh'](_0x5efe26){const _0x1a5da0=_0x3a4b72;let _0x1fa8c0=this[_0x1a5da0(0x1bf)][_0x1a5da0(0x1a6)](t[_0x1a5da0(0x13e)]['UNIVER_SHEET'])[_0x1a5da0(0x119)]();this[_0x1a5da0(0x1bf)]['disposeUnit'](_0x1fa8c0),this[_0x1a5da0(0x1bf)][_0x1a5da0(0x19d)](t[_0x1a5da0(0x13e)][_0x1a5da0(0x11c)],_0x5efe26);}[_0x3a4b72(0x18b)](_0x2b4527){const _0x5b6964=_0x3a4b72;let _0x48046c=this['_univerInstanceService'][_0x5b6964(0x1a6)](t[_0x5b6964(0x13e)][_0x5b6964(0x237)])[_0x5b6964(0x119)]();this[_0x5b6964(0x1bf)]['disposeUnit'](_0x48046c),this[_0x5b6964(0x1bf)][_0x5b6964(0x19d)](t['UniverInstanceType'][_0x5b6964(0x237)],_0x2b4527);}[_0x3a4b72(0xf5)](_0x2423ad){const _0x256dc0=_0x3a4b72;if(_0x2423ad){let {code:_0x1e556d}=_0x2423ad;switch(_0x1e556d){case c[_0x256dc0(0x11d)][_0x256dc0(0x1a0)]:this[_0x256dc0(0x1c0)]['show']({'type':o[_0x256dc0(0x217)][_0x256dc0(0xf9)],'content':this['_localeService']['t']('exchange-client.tooLarge')});break;case c[_0x256dc0(0x11d)]['INTERNAL_ERROR']:this['_messageService'][_0x256dc0(0x158)]({'type':o[_0x256dc0(0x217)][_0x256dc0(0xf9)],'content':this[_0x256dc0(0x13f)]['t'](_0x256dc0(0x105))});break;default:this[_0x256dc0(0x1c0)]['show']({'type':o['MessageType']['Error'],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this[_0x256dc0(0x1c0)][_0x256dc0(0x158)]({'type':o[_0x256dc0(0x217)][_0x256dc0(0xf9)],'content':this[_0x256dc0(0x13f)]['t'](_0x256dc0(0x19b))}),null;}[_0x3a4b72(0x1ac)](_0x5683de){const _0x24893d=_0x3a4b72;let _0x2d2a08='';switch(_0x5683de){case o['MessageType'][_0x24893d(0x1a1)]:_0x2d2a08=this['_localeService']['t'](_0x24893d(0x16d));break;case o[_0x24893d(0x217)][_0x24893d(0x1ec)]:_0x2d2a08=this['_localeService']['t'](_0x24893d(0x18a));break;default:break;}this[_0x24893d(0x1c0)][_0x24893d(0x158)]({'type':_0x5683de,'content':_0x2d2a08});}[_0x3a4b72(0x228)](_0x25059c){const _0x4014d5=_0x3a4b72;let _0x467270='';switch(_0x25059c){case o[_0x4014d5(0x217)]['Success']:_0x467270=this[_0x4014d5(0x13f)]['t']('exchange-client.uploadSuccess');break;case o[_0x4014d5(0x217)]['Info']:_0x467270=this[_0x4014d5(0x13f)]['t']('exchange-client.uploading');break;default:break;}this['_messageService'][_0x4014d5(0x158)]({'type':_0x25059c,'content':_0x467270});}[_0x3a4b72(0x245)](){const _0x18c7af=_0x3a4b72;this[_0x18c7af(0x1ed)]['next']({'done':this['_doneUploadTaskCount'],'count':this[_0x18c7af(0x12a)]});}['_addTotalCount'](_0x172a78){const _0x571f2a=_0x3a4b72;this[_0x571f2a(0x12a)]+=_0x172a78,this[_0x571f2a(0x245)]();}['_addDoneTask'](_0x13d44d){const _0x2eb808=_0x3a4b72;this[_0x2eb808(0x189)]+=_0x13d44d,this[_0x2eb808(0x189)]=Math[_0x2eb808(0x19c)](this[_0x2eb808(0x189)],this[_0x2eb808(0x12a)]),this[_0x2eb808(0x245)]();}[_0x3a4b72(0xf4)](){const _0x26e544=_0x3a4b72;this[_0x26e544(0x189)]=this['_totalUploadTaskCount'],this[_0x26e544(0x245)]();}[_0x3a4b72(0x1f5)](){const _0x36f72c=_0x3a4b72;this[_0x36f72c(0x189)]=0x0,this['_totalUploadTaskCount']=0x0,this[_0x36f72c(0x245)]();}[_0x3a4b72(0x177)](_0x1b3204,_0x3aeece){const _0x11f958=_0x3a4b72;let _0x4fb2a9=_0x1b3204[0x0],_0x4c4fb0=_0x4fb2a9['name'];return j(_0x4fb2a9)===_0x3aeece?!0x1:(this['_messageService']['show']({'type':o['MessageType']['Error'],'content':this[_0x11f958(0x13f)]['t'](_0x11f958(0x1b4),_0x4c4fb0)}),!0x0);}['_uploadTaskNotDone'](){const _0xc9799f=_0x3a4b72;return this['_totalUploadTaskCount']!==0x0&&this[_0xc9799f(0x189)]!==this[_0xc9799f(0x12a)];}};J=h([m(0x0,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0xee)])),m(0x1,i[_0x3a4b72(0x23c)]),m(0x2,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0x11a)])),m(0x3,(0x0,t[_0x3a4b72(0x1cd)])(G)),m(0x4,(0x0,t[_0x3a4b72(0x1cd)])(y)),m(0x5,t[_0x3a4b72(0x178)]),m(0x6,(0x0,t[_0x3a4b72(0x1cd)])(t['IResourceLoaderService']))],J);function Y(_0x2a63f1){const _0x499b5f=_0x3a4b72;let {onClick:_0x58ebb3,children:_0x225d8d,className:_0x514f06}=_0x2a63f1;return(0x0,s['jsx'])(_0x499b5f(0x1f8),{'className':(0x0,o['clsx'])(_0x499b5f(0x13a),_0x514f06),'type':_0x499b5f(0x1f8),'onClick':_0x58ebb3,'children':_0x225d8d});}function X(){const _0x2a5c35=_0x3a4b72;let _0x11879f=(0x0,i[_0x2a5c35(0x169)])(q),_0x3710a3=(0x0,i[_0x2a5c35(0x169)])(t['LocaleService']);function _0xc436f9(){const _0x29a6a5=_0x2a5c35;_0x11879f[_0x29a6a5(0x1fb)]();}return(0x0,s[_0x2a5c35(0x1ae)])(Y,{'onClick':_0xc436f9,'children':_0x3710a3['t'](_0x2a5c35(0x230))});}function me(){const _0x425cb6=_0x3a4b72;return(0x0,s['jsxs'])('div',{'className':_0x425cb6(0x12d),'children':[(0x0,s[_0x425cb6(0x1ae)])(_0x425cb6(0x111),{'className':_0x425cb6(0x222),'children':(0x0,i[_0x425cb6(0x169)])(t[_0x425cb6(0x11a)])['t']('exchange-client.interrupt')}),(0x0,s[_0x425cb6(0x1ae)])(X,{})]});}function he(_0x5b0da4){const _0x2387ae=_0x3a4b72;let {count:_0xcce21c}=_0x5b0da4;return(0x0,s[_0x2387ae(0xfc)])(_0x2387ae(0x250),{'className':_0x2387ae(0x1c7),'children':[(0x0,s['jsx'])(_0x2387ae(0x111),{'className':'univer-text-sm\x20univer-text-gray-500','children':(0x0,i[_0x2387ae(0x169)])(t[_0x2387ae(0x11a)])['t'](_0x2387ae(0x21f),''+_0xcce21c)}),(0x0,s[_0x2387ae(0x1ae)])(X,{})]});}function ge(){const _0x34df98=_0x3a4b72;let _0x1692f2=(0x0,i[_0x34df98(0x169)])(q),_0x7b7a5d=(0x0,i['useDependency'])(t[_0x34df98(0x11a)]);function _0x3d38cd(){_0x1692f2['interrupt']();}return(0x0,s[_0x34df98(0x1ae)])(Y,{'onClick':_0x3d38cd,'children':_0x7b7a5d['t'](_0x34df98(0x15e))});}function _0x2250(_0x3bc95b,_0x518ab7){_0x3bc95b=_0x3bc95b-0xd6;const _0x3cc844=_0x3cc8();let _0x225093=_0x3cc844[_0x3bc95b];return _0x225093;}function _e(){const _0x5561d=_0x3a4b72;let {count:_0x46e835,done:_0x53c121}=(0x0,i[_0x5561d(0x150)])((0x0,i[_0x5561d(0x169)])(q)[_0x5561d(0xd7)]),_0x235212=_0x46e835>0x0?_0x53c121/_0x46e835:0x0;return(0x0,s[_0x5561d(0x1ae)])(_0x5561d(0x250),{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,s['jsx'])(_0x5561d(0x250),{'className':'univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','style':{'width':Math[_0x5561d(0x1ff)](_0x235212*0x64)+'%'}})});}function ve(){const _0x58e066=_0x3a4b72;return(0x0,s[_0x58e066(0xfc)])(_0x58e066(0x250),{'className':_0x58e066(0x12d),'children':[(0x0,s['jsx'])('span',{'className':_0x58e066(0x145),'children':(0x0,i['useDependency'])(t[_0x58e066(0x11a)])['t'](_0x58e066(0x17a))}),(0x0,s[_0x58e066(0x1ae)])(_0x58e066(0x250),{'className':_0x58e066(0x24d),'children':(0x0,s[_0x58e066(0x1ae)])(_e,{})}),(0x0,s[_0x58e066(0x1ae)])(ge,{})]});}const Z={0x1:(0x0,s[_0x3a4b72(0x1ae)])(r[_0x3a4b72(0xd8)],{'className':_0x3a4b72(0x1be)}),0x0:(0x0,s[_0x3a4b72(0x1ae)])(r[_0x3a4b72(0xe4)],{'className':_0x3a4b72(0x166)}),0x2:(0x0,s[_0x3a4b72(0x1ae)])(r[_0x3a4b72(0x232)],{'className':_0x3a4b72(0x104)})};function ye(){const _0x3b1212=_0x3a4b72;let _0x20180f=(0x0,i[_0x3b1212(0x169)])(y),_0x1762b8=(0x0,i[_0x3b1212(0x169)])(t[_0x3b1212(0x11a)]),_0x2b509e=(0x0,i[_0x3b1212(0x150)])(_0x20180f[_0x3b1212(0x188)],0x0),_0x4d481d=(0x0,i[_0x3b1212(0x150)])(_0x20180f[_0x3b1212(0x16f)],!0x1),_0x4781b4=(0x0,i[_0x3b1212(0x150)])(_0x20180f[_0x3b1212(0x211)],[]);function _0x57b66e(){const _0x40b7b0=_0x3b1212;_0x20180f[_0x40b7b0(0x1f3)]();}function _0x102507(_0x6d952f){const _0x3d7c14=_0x3b1212;switch(_0x6d952f){case 0x1:return _0x1762b8['t'](_0x3d7c14(0x218));case 0x0:return _0x1762b8['t'](_0x3d7c14(0x182));case 0x2:return _0x1762b8['t'](_0x3d7c14(0x144));default:return'';}}return _0x4d481d&&(0x0,s[_0x3b1212(0xfc)])(_0x3b1212(0x250),{'className':_0x3b1212(0x151),'children':[(0x0,s['jsxs'])(_0x3b1212(0x250),{'className':_0x3b1212(0x20b),'children':[(0x0,s[_0x3b1212(0xfc)])(_0x3b1212(0x111),{'className':_0x3b1212(0xe8),'children':[(0x0,s['jsx'])(_0x3b1212(0x111),{'className':'univer-h-6\x20univer-text-2xl','children':Z[_0x2b509e]}),(0x0,s[_0x3b1212(0x1ae)])(_0x3b1212(0x111),{'className':_0x3b1212(0x24f),'children':_0x102507(_0x2b509e)})]}),(0x0,s[_0x3b1212(0x1ae)])(_0x3b1212(0x111),{'className':_0x3b1212(0x20d),'onClick':_0x57b66e,'children':(0x0,s[_0x3b1212(0x1ae)])(r[_0x3b1212(0x146)],{})})]}),(0x0,s[_0x3b1212(0xfc)])(_0x3b1212(0x250),{'children':[_0x2b509e===0x0&&(0x0,s['jsx'])(ve,{}),_0x2b509e===0x2&&(0x0,s[_0x3b1212(0x1ae)])(me,{}),_0x4781b4[_0x3b1212(0x213)]>0x0&&(0x0,s[_0x3b1212(0x1ae)])(re,{'list':_0x4781b4}),_0x2b509e===0x1&&(0x0,s[_0x3b1212(0x1ae)])(he,{'count':_0x4781b4['length']})]})]});}function be(){const _0x5842e5=_0x3a4b72;return(0x0,s[_0x5842e5(0x1ae)])(ye,{});}let Q=class extends t[_0x3a4b72(0x122)]{constructor(_0x30973d,_0x2fa793){const _0x3bffc3=_0x3a4b72;super(),this[_0x3bffc3(0x22e)]=_0x30973d,this[_0x3bffc3(0x1f9)]=_0x2fa793,this[_0x3bffc3(0x1ce)]();}[_0x3a4b72(0x1ce)](){const _0x126778=_0x3a4b72;this[_0x126778(0x244)](this['_uiPartsService'][_0x126778(0x1d5)](i[_0x126778(0x132)]['CONTENT'],()=>(0x0,i['connectInjector'])(be,this[_0x126778(0x22e)])));}};Q=h([m(0x0,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0x21a)])),m(0x1,i[_0x3a4b72(0x1bb)])],Q);let $=class extends t['Plugin']{constructor(_0x4682ae=p,_0x3e67a1,_0x48723f){const _0x3c1ffa=_0x3a4b72;super(),this[_0x3c1ffa(0x167)]=_0x4682ae,this[_0x3c1ffa(0x22e)]=_0x3e67a1,this[_0x3c1ffa(0x241)]=_0x48723f;let {..._0x152e64}=(0x0,t[_0x3c1ffa(0xf6)])({},p,this['_config']);this['_configService']['setConfig'](f,_0x152e64);}[_0x3a4b72(0x1f0)](){const _0x2793d5=_0x3a4b72;(0x0,t[_0x2793d5(0x1f1)])(this[_0x2793d5(0x22e)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}['onReady'](){(0x0,t['touchDependencies'])(this['_injector'],[[g],[Q],[q]]);}};v($,_0x3a4b72(0x1e2),_0x3a4b72(0x1b3)),v($,'packageName',d),v($,_0x3a4b72(0x12b),ee),$=h([(0x0,t[_0x3a4b72(0x1a8)])(n[_0x3a4b72(0xdb)],e[_0x3a4b72(0x220)]),m(0x1,(0x0,t[_0x3a4b72(0x1cd)])(t[_0x3a4b72(0x21a)])),m(0x2,t[_0x3a4b72(0x142)])],$),exports[_0x3a4b72(0x116)]=q,exports[_0x3a4b72(0x1d4)]=G,Object[_0x3a4b72(0x1fe)](exports,_0x3a4b72(0x199),{'enumerable':!0x0,'get':function(){return $;}}),exports['downloadFile']=A,exports['transformSnapshotJsonToWorkbookData']=ue,exports[_0x3a4b72(0xdf)]=V;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x566bac=_0x3a2b;(function(_0x238122,_0x3be3b3){const _0x39419c=_0x3a2b,_0x2e9ed2=_0x238122();while(!![]){try{const _0x292463=-parseInt(_0x39419c(0x1f5))/0x1+-parseInt(_0x39419c(0x1ed))/0x2+-parseInt(_0x39419c(0x1f8))/0x3+-parseInt(_0x39419c(0x1f2))/0x4*(parseInt(_0x39419c(0x1f6))/0x5)+-parseInt(_0x39419c(0x1e7))/0x6*(-parseInt(_0x39419c(0x1ec))/0x7)+parseInt(_0x39419c(0x1eb))/0x8*(parseInt(_0x39419c(0x1fa))/0x9)+parseInt(_0x39419c(0x1f4))/0xa;if(_0x292463===_0x3be3b3)break;else _0x2e9ed2['push'](_0x2e9ed2['shift']());}catch(_0x11faf4){_0x2e9ed2['push'](_0x2e9ed2['shift']());}}}(_0x3d0b,0xb7cd0));function _0x3d0b(){const _0x48aff3=['1481589Kzyjpa','3165pMwcmz','جارٍ\x20التحميل','4369548mZOSWW','جارٍ\x20الرفع','5411682QDdmon','خطأ\x20غير\x20معروف','خطأ\x20داخلي\x20غير\x20معروف','18MBbbJT','يرجى\x20الانتظار...','إلغاء','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','16PwOOBT','1496369wOCGQy','1231886ISKvfE','تم\x20التحميل\x20بنجاح','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','تم\x20رفع\x20الملف\x20بنجاح','8068ZWAVIE','خطأ\x20في\x20الشبكة','37397600hVaUGu'];_0x3d0b=function(){return _0x48aff3;};return _0x3d0b();}const e={'exchange-client':{'uploading':_0x566bac(0x1f9),'uploadSuccess':_0x566bac(0x1f1),'uploadSuccessTip':_0x566bac(0x1ea),'downloading':_0x566bac(0x1f7),'downloadSuccess':_0x566bac(0x1ee),'unknownMistake':_0x566bac(0x1fb),'networkError':_0x566bac(0x1f3),'tooLarge':'البيانات\x20كبيرة\x20جداً','internalError':_0x566bac(0x1fc),'interrupt':_0x566bac(0x1f0),'fileTypeError':_0x566bac(0x1ef),'wait':_0x566bac(0x1e8),'cancel':_0x566bac(0x1e9),'uploadAgain':'إعادة\x20الرفع'}};function _0x3a2b(_0x267eaf,_0x353537){_0x267eaf=_0x267eaf-0x1e7;const _0x3d0bae=_0x3d0b();let _0x3a2ba2=_0x3d0bae[_0x267eaf];return _0x3a2ba2;}module['exports']=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x297556=_0xb03d;function _0xb03d(_0x4db215,_0x4fa080){_0x4db215=_0x4db215-0x1b6;const _0x59f62d=_0x59f6();let _0xb03d10=_0x59f62d[_0x4db215];return _0xb03d10;}function _0x59f6(){const _0x3b1315=['Error\x20intern\x20desconegut','93937JuzGqm','Error\x20de\x20xarxa','1000bgxyHs','69507QCtsUp','2716986qlmtqb','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Espereu...','15603nKJItU','Les\x20dades\x20són\x20massa\x20grans','Error\x20desconegut','2asVonv','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','6592576zJAcHH','Descàrrega\x20correcta','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','Fitxer\x20pujat\x20correctament','971485yyiUHJ','2262232xUMclc','4iwmRhq','Tornar\x20a\x20pujar'];_0x59f6=function(){return _0x3b1315;};return _0x59f6();}(function(_0x591397,_0x480200){const _0x5038bf=_0xb03d,_0x37a555=_0x591397();while(!![]){try{const _0x216944=parseInt(_0x5038bf(0x1c9))/0x1*(-parseInt(_0x5038bf(0x1be))/0x2)+parseInt(_0x5038bf(0x1bb))/0x3+-parseInt(_0x5038bf(0x1c6))/0x4*(parseInt(_0x5038bf(0x1c4))/0x5)+parseInt(_0x5038bf(0x1b8))/0x6+parseInt(_0x5038bf(0x1c5))/0x7+parseInt(_0x5038bf(0x1c0))/0x8+-parseInt(_0x5038bf(0x1b7))/0x9*(parseInt(_0x5038bf(0x1b6))/0xa);if(_0x216944===_0x480200)break;else _0x37a555['push'](_0x37a555['shift']());}catch(_0x24e5e3){_0x37a555['push'](_0x37a555['shift']());}}}(_0x59f6,0x84fea));const e={'exchange-client':{'uploading':'Pujant','uploadSuccess':_0x297556(0x1c3),'uploadSuccessTip':_0x297556(0x1b9),'downloading':'Descarregant','downloadSuccess':_0x297556(0x1c1),'unknownMistake':_0x297556(0x1bd),'networkError':_0x297556(0x1ca),'tooLarge':_0x297556(0x1bc),'internalError':_0x297556(0x1c8),'interrupt':_0x297556(0x1c2),'fileTypeError':_0x297556(0x1bf),'wait':_0x297556(0x1ba),'cancel':'Cancel·lar','uploadAgain':_0x297556(0x1c7)}};module['exports']=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x566aa8=_0xe826;function _0xe826(_0x1e4d9d,_0x10ecea){_0x1e4d9d=_0x1e4d9d-0x189;const _0x2e498b=_0x2e49();let _0xe82653=_0x2e498b[_0x1e4d9d];return _0xe82653;}(function(_0x5e0068,_0x184043){const _0x1375bf=_0xe826,_0x3f1765=_0x5e0068();while(!![]){try{const _0x313f5e=-parseInt(_0x1375bf(0x18a))/0x1+parseInt(_0x1375bf(0x197))/0x2*(-parseInt(_0x1375bf(0x18e))/0x3)+parseInt(_0x1375bf(0x19c))/0x4+-parseInt(_0x1375bf(0x19a))/0x5*(-parseInt(_0x1375bf(0x18c))/0x6)+parseInt(_0x1375bf(0x190))/0x7+-parseInt(_0x1375bf(0x193))/0x8*(parseInt(_0x1375bf(0x194))/0x9)+parseInt(_0x1375bf(0x199))/0xa;if(_0x313f5e===_0x184043)break;else _0x3f1765['push'](_0x3f1765['shift']());}catch(_0x1c6981){_0x3f1765['push'](_0x3f1765['shift']());}}}(_0x2e49,0x6213e));const e={'exchange-client':{'uploading':'Wird\x20hochgeladen','uploadSuccess':_0x566aa8(0x196),'uploadSuccessTip':_0x566aa8(0x19b),'downloading':_0x566aa8(0x192),'downloadSuccess':'Download\x20erfolgreich','unknownMistake':_0x566aa8(0x191),'networkError':_0x566aa8(0x18d),'tooLarge':'Daten\x20sind\x20zu\x20groß','internalError':_0x566aa8(0x195),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':_0x566aa8(0x18b),'wait':'Bitte\x20warten...','cancel':_0x566aa8(0x189),'uploadAgain':_0x566aa8(0x198)}};function _0x2e49(){const _0x2db0f2=['9278390KwBuoF','10GfsbUU','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','1946272fchnds','Abbrechen','594744DUFjjS','Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','2110002iHGolA','Netzwerkfehler','6doEmJJ','exports','1850786uAUAwJ','Unbekannter\x20Fehler','Wird\x20heruntergeladen','5713784hLEziz','9DVHtvg','Interner\x20unbekannter\x20Fehler','Datei\x20erfolgreich\x20hochgeladen','671446KaZyqX','Erneut\x20hochladen'];_0x2e49=function(){return _0x2db0f2;};return _0x2e49();}module[_0x566aa8(0x18f)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x5d824e=_0x4a4e;function _0x3021(){const _0x174748=['Unknown\x20mistake','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','Please\x20wait...','Internal\x20unknown\x20error','300GYisch','998151SjNBrk','Upload\x20again','Data\x20is\x20too\x20large','File\x20uploaded\x20successfully','Cancel','9341utguwc','2493660jgbRzs','10lQVzgS','5856903ZHWRRD','exports','Downloading','4465284XTFtWv','16HzkXCo','25Jnehxx','Network\x20error','26503176ruXqua','7AZdgJY','{0}\x20file(s)\x20uploaded\x20successfully','11548MhfPzI'];_0x3021=function(){return _0x174748;};return _0x3021();}function _0x4a4e(_0xbcf067,_0x437809){_0xbcf067=_0xbcf067-0xfa;const _0x3021b6=_0x3021();let _0x4a4ee2=_0x3021b6[_0xbcf067];return _0x4a4ee2;}(function(_0x296ae6,_0x537ef4){const _0xf012d1=_0x4a4e,_0x7aef37=_0x296ae6();while(!![]){try{const _0x5cee8e=parseInt(_0xf012d1(0x10d))/0x1*(parseInt(_0xf012d1(0x107))/0x2)+-parseInt(_0xf012d1(0x10e))/0x3+-parseInt(_0xf012d1(0x102))/0x4*(-parseInt(_0xf012d1(0xfd))/0x5)+-parseInt(_0xf012d1(0xfb))/0x6*(parseInt(_0xf012d1(0x100))/0x7)+-parseInt(_0xf012d1(0xfc))/0x8*(parseInt(_0xf012d1(0x110))/0x9)+parseInt(_0xf012d1(0x10f))/0xa*(parseInt(_0xf012d1(0x108))/0xb)+parseInt(_0xf012d1(0xff))/0xc;if(_0x5cee8e===_0x537ef4)break;else _0x7aef37['push'](_0x7aef37['shift']());}catch(_0x29b378){_0x7aef37['push'](_0x7aef37['shift']());}}}(_0x3021,0xcc944));const e={'exchange-client':{'uploading':'Uploading','uploadSuccess':_0x5d824e(0x10b),'uploadSuccessTip':_0x5d824e(0x101),'downloading':_0x5d824e(0xfa),'downloadSuccess':'Download\x20success','unknownMistake':_0x5d824e(0x103),'networkError':_0x5d824e(0xfe),'tooLarge':_0x5d824e(0x10a),'internalError':_0x5d824e(0x106),'interrupt':'The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','fileTypeError':_0x5d824e(0x104),'wait':_0x5d824e(0x105),'cancel':_0x5d824e(0x10c),'uploadAgain':_0x5d824e(0x109)}};module[_0x5d824e(0x111)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x513f49=_0x42a9;(function(_0x35cd02,_0x4b27c9){const _0x23c808=_0x42a9,_0x464b40=_0x35cd02();while(!![]){try{const _0x382ae5=-parseInt(_0x23c808(0x15e))/0x1+-parseInt(_0x23c808(0x15d))/0x2+parseInt(_0x23c808(0x15b))/0x3+-parseInt(_0x23c808(0x15c))/0x4*(-parseInt(_0x23c808(0x154))/0x5)+parseInt(_0x23c808(0x153))/0x6*(parseInt(_0x23c808(0x159))/0x7)+parseInt(_0x23c808(0x166))/0x8*(parseInt(_0x23c808(0x156))/0x9)+-parseInt(_0x23c808(0x167))/0xa;if(_0x382ae5===_0x4b27c9)break;else _0x464b40['push'](_0x464b40['shift']());}catch(_0x5ea073){_0x464b40['push'](_0x464b40['shift']());}}}(_0x2297,0xe03c9));const e={'exchange-client':{'uploading':_0x513f49(0x155),'uploadSuccess':_0x513f49(0x163),'uploadSuccessTip':'{0}\x20archivo(s)\x20subido(s)\x20exitosamente','downloading':_0x513f49(0x164),'downloadSuccess':_0x513f49(0x157),'unknownMistake':_0x513f49(0x165),'networkError':_0x513f49(0x160),'tooLarge':_0x513f49(0x162),'internalError':_0x513f49(0x158),'interrupt':_0x513f49(0x15a),'fileTypeError':_0x513f49(0x161),'wait':_0x513f49(0x15f),'cancel':'Cancelar','uploadAgain':'Subir\x20de\x20nuevo'}};module['exports']=e;function _0x42a9(_0x285be9,_0x5b1cf7){_0x285be9=_0x285be9-0x153;const _0x2297a1=_0x2297();let _0x42a9c3=_0x2297a1[_0x285be9];return _0x42a9c3;}function _0x2297(){const _0x6f52b0=['2007945PoxEdb','Subiendo','2919573ukPesY','Descarga\x20exitosa','Error\x20interno\x20desconocido','2430883lxzQHo','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','1947282qgpvgu','8bynAzk','1687344unJnRl','1239751KkCjJU','Espere...','Error\x20de\x20red','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','Los\x20datos\x20son\x20demasiado\x20grandes','Archivo\x20subido\x20exitosamente','Descargando','Error\x20desconocido','40zGAbEk','7668990WQrCJx','12DXmUPb'];_0x2297=function(){return _0x6f52b0;};return _0x2297();}
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0xf5dfd=_0x24cd;(function(_0x3b9260,_0x44cc07){const _0x291264=_0x24cd,_0x502e74=_0x3b9260();while(!![]){try{const _0x3d871b=parseInt(_0x291264(0x69))/0x1+parseInt(_0x291264(0x71))/0x2+parseInt(_0x291264(0x66))/0x3*(parseInt(_0x291264(0x76))/0x4)+-parseInt(_0x291264(0x68))/0x5*(-parseInt(_0x291264(0x67))/0x6)+parseInt(_0x291264(0x75))/0x7*(-parseInt(_0x291264(0x6f))/0x8)+-parseInt(_0x291264(0x6d))/0x9+-parseInt(_0x291264(0x7b))/0xa*(parseInt(_0x291264(0x6a))/0xb);if(_0x3d871b===_0x44cc07)break;else _0x502e74['push'](_0x502e74['shift']());}catch(_0x4c5894){_0x502e74['push'](_0x502e74['shift']());}}}(_0x8110,0x5f0c4));function _0x24cd(_0x16fa0e,_0x47582b){_0x16fa0e=_0x16fa0e-0x65;const _0x81100f=_0x8110();let _0x24cd5f=_0x81100f[_0x16fa0e];return _0x24cd5f;}const e={'exchange-client':{'uploading':_0xf5dfd(0x78),'uploadSuccess':'فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','uploadSuccessTip':_0xf5dfd(0x74),'downloading':_0xf5dfd(0x6c),'downloadSuccess':_0xf5dfd(0x7d),'unknownMistake':_0xf5dfd(0x7a),'networkError':_0xf5dfd(0x79),'tooLarge':_0xf5dfd(0x65),'internalError':_0xf5dfd(0x77),'interrupt':_0xf5dfd(0x7c),'fileTypeError':_0xf5dfd(0x72),'wait':_0xf5dfd(0x6b),'cancel':_0xf5dfd(0x70),'uploadAgain':_0xf5dfd(0x6e)}};function _0x8110(){const _0x2b7a8d=['939qSNPWK','6MDFYmf','2445365zCFHKf','354967BagPlV','66dCiHQg','لطفا\x20صبر\x20کنید...','در\x20حال\x20دانلود','2438919PmWNmq','بارگذاری\x20مجدد','16YzXxvf','لغو','331962XLsmIl','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','exports','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','1682548vgjbgI','7576AdeWUg','خطای\x20داخلی\x20ناشناخته','در\x20حال\x20بارگذاری','خطای\x20شبکه','خطای\x20ناشناخته','769680AQhlex','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','دانلود\x20موفقیت\x20آمیز','داده\x20خیلی\x20بزرگ\x20است'];_0x8110=function(){return _0x2b7a8d;};return _0x8110();}module[_0xf5dfd(0x73)]=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x106d9f=_0x218d;function _0x1105(){const _0x443554=['962001AsnuIW','8858899zBHQzP','8oIrjcs','8SWOHAv','879488fmkCza','Télécharger\x20à\x20nouveau','Téléchargement','1208517qEghli','Téléchargement\x20réussi','3370356dRgfWh','19145710dZMEpc','exports','Téléchargement\x20en\x20cours','Les\x20données\x20sont\x20trop\x20volumineuses','Erreur\x20interne\x20inconnue','Erreur\x20réseau','Veuillez\x20patienter...','Annuler','35996kZlwwu','505fRtPiw'];_0x1105=function(){return _0x443554;};return _0x1105();}(function(_0x4ff642,_0x10a874){const _0x57abd8=_0x218d,_0x4332ac=_0x4ff642();while(!![]){try{const _0x392c90=parseInt(_0x57abd8(0x1b3))/0x1+-parseInt(_0x57abd8(0x1b1))/0x2*(-parseInt(_0x57abd8(0x1a2))/0x3)+-parseInt(_0x57abd8(0x1ad))/0x4*(-parseInt(_0x57abd8(0x1ae))/0x5)+parseInt(_0x57abd8(0x1a4))/0x6+-parseInt(_0x57abd8(0x1b0))/0x7*(parseInt(_0x57abd8(0x1b2))/0x8)+parseInt(_0x57abd8(0x1af))/0x9+-parseInt(_0x57abd8(0x1a5))/0xa;if(_0x392c90===_0x10a874)break;else _0x4332ac['push'](_0x4332ac['shift']());}catch(_0x48ed96){_0x4332ac['push'](_0x4332ac['shift']());}}}(_0x1105,0xd8da6));function _0x218d(_0x25e804,_0x33ddb9){_0x25e804=_0x25e804-0x1a2;const _0x110568=_0x1105();let _0x218d29=_0x110568[_0x25e804];return _0x218d29;}const e={'exchange-client':{'uploading':_0x106d9f(0x1a7),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':'{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','downloading':_0x106d9f(0x1b5),'downloadSuccess':_0x106d9f(0x1a3),'unknownMistake':'Erreur\x20inconnue','networkError':_0x106d9f(0x1aa),'tooLarge':_0x106d9f(0x1a8),'internalError':_0x106d9f(0x1a9),'interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x106d9f(0x1ab),'cancel':_0x106d9f(0x1ac),'uploadAgain':_0x106d9f(0x1b4)}};module[_0x106d9f(0x1a6)]=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x4fb2c5=_0x47f7;(function(_0x133dc0,_0xb17655){const _0x112798=_0x47f7,_0x3bdc4f=_0x133dc0();while(!![]){try{const _0x809642=parseInt(_0x112798(0x1be))/0x1+-parseInt(_0x112798(0x1b5))/0x2*(-parseInt(_0x112798(0x1c8))/0x3)+parseInt(_0x112798(0x1b6))/0x4+parseInt(_0x112798(0x1bc))/0x5+-parseInt(_0x112798(0x1c0))/0x6*(-parseInt(_0x112798(0x1c6))/0x7)+parseInt(_0x112798(0x1c2))/0x8*(parseInt(_0x112798(0x1c4))/0x9)+-parseInt(_0x112798(0x1c7))/0xa;if(_0x809642===_0xb17655)break;else _0x3bdc4f['push'](_0x3bdc4f['shift']());}catch(_0x3a09dc){_0x3bdc4f['push'](_0x3bdc4f['shift']());}}}(_0x1887,0x3aa47));function _0x47f7(_0x259440,_0x25465b){_0x259440=_0x259440-0x1b5;const _0x1887e2=_0x1887();let _0x47f703=_0x1887e2[_0x259440];return _0x47f703;}const e={'exchange-client':{'uploading':_0x4fb2c5(0x1b7),'uploadSuccess':_0x4fb2c5(0x1b9),'uploadSuccessTip':_0x4fb2c5(0x1bd),'downloading':_0x4fb2c5(0x1bb),'downloadSuccess':'Unduhan\x20berhasil','unknownMistake':_0x4fb2c5(0x1c3),'networkError':'Kesalahan\x20jaringan','tooLarge':_0x4fb2c5(0x1b8),'internalError':_0x4fb2c5(0x1ba),'interrupt':_0x4fb2c5(0x1c1),'fileTypeError':'File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','wait':_0x4fb2c5(0x1c5),'cancel':_0x4fb2c5(0x1bf),'uploadAgain':'Unggah\x20ulang'}};module['exports']=e;function _0x1887(){const _0x5b4b17=['Kesalahan\x20tidak\x20diketahui','50877foEOnU','Harap\x20tunggu...','17535frWWpJ','10971050OYHFbc','172932CpDpuU','2TjXOGs','717096jWnldu','Mengunggah','Data\x20terlalu\x20besar','File\x20berhasil\x20diunggah','Kesalahan\x20internal\x20tidak\x20diketahui','Mengunduh','1707670CHMXVs','{0}\x20file\x20berhasil\x20diunggah','74424GsWStj','Batal','678KDcMYW','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','568uPHLJh'];_0x1887=function(){return _0x5b4b17;};return _0x1887();}
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x87df(){const _0x1e0361=['44vkuTNr','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','1794510UBlArt','5215HuBFDc','Download\x20in\x20corso','7aaDgDf','I\x20dati\x20sono\x20troppo\x20grandi','Annulla','2938396bWVYRA','{0}\x20file\x20caricati\x20con\x20successo','Errore\x20interno\x20sconosciuto','File\x20caricato\x20con\x20successo','20266DGzAIQ','2694yoZudT','130xfuWci','1412939DDeETV','7573744lGKZQO','exports','Attendi...','3019437CNmZbT'];_0x87df=function(){return _0x1e0361;};return _0x87df();}const _0x16d7b2=_0xcc9e;(function(_0x5e85ad,_0x2d3a14){const _0x9fb1b0=_0xcc9e,_0x50da85=_0x5e85ad();while(!![]){try{const _0x40833a=parseInt(_0x9fb1b0(0x137))/0x1*(-parseInt(_0x9fb1b0(0x12b))/0x2)+-parseInt(_0x9fb1b0(0x12d))/0x3+parseInt(_0x9fb1b0(0x133))/0x4+parseInt(_0x9fb1b0(0x12e))/0x5*(parseInt(_0x9fb1b0(0x124))/0x6)+parseInt(_0x9fb1b0(0x130))/0x7*(-parseInt(_0x9fb1b0(0x127))/0x8)+-parseInt(_0x9fb1b0(0x12a))/0x9+-parseInt(_0x9fb1b0(0x125))/0xa*(-parseInt(_0x9fb1b0(0x126))/0xb);if(_0x40833a===_0x2d3a14)break;else _0x50da85['push'](_0x50da85['shift']());}catch(_0x1cd5f0){_0x50da85['push'](_0x50da85['shift']());}}}(_0x87df,0x856ce));function _0xcc9e(_0x4de269,_0x25bfb7){_0x4de269=_0x4de269-0x124;const _0x87df16=_0x87df();let _0xcc9e95=_0x87df16[_0x4de269];return _0xcc9e95;}const e={'exchange-client':{'uploading':'Caricamento\x20in\x20corso','uploadSuccess':_0x16d7b2(0x136),'uploadSuccessTip':_0x16d7b2(0x134),'downloading':_0x16d7b2(0x12f),'downloadSuccess':'Download\x20riuscito','unknownMistake':'Errore\x20sconosciuto','networkError':'Errore\x20di\x20rete','tooLarge':_0x16d7b2(0x131),'internalError':_0x16d7b2(0x135),'interrupt':_0x16d7b2(0x12c),'fileTypeError':'Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','wait':_0x16d7b2(0x129),'cancel':_0x16d7b2(0x132),'uploadAgain':'Carica\x20di\x20nuovo'}};module[_0x16d7b2(0x128)]=e;
|