@univerjs-pro/exchange-client 1.0.0-alpha.4 → 1.0.0-alpha.6
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 +9 -9
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x23d669=_0x1e38;(function(_0x57f23f,_0x7c4c10){const _0x3aed9b=_0x1e38,_0x5d558a=_0x57f23f();while(!![]){try{const _0x16c5dc=-parseInt(_0x3aed9b(0x271))/0x1+-parseInt(_0x3aed9b(0x25a))/0x2+parseInt(_0x3aed9b(0x27f))/0x3+parseInt(_0x3aed9b(0x2ad))/0x4*(-parseInt(_0x3aed9b(0x2a9))/0x5)+parseInt(_0x3aed9b(0x2a1))/0x6*(-parseInt(_0x3aed9b(0x2b5))/0x7)+-parseInt(_0x3aed9b(0x27e))/0x8*(-parseInt(_0x3aed9b(0x213))/0x9)+parseInt(_0x3aed9b(0x245))/0xa*(parseInt(_0x3aed9b(0x1d8))/0xb);if(_0x16c5dc===_0x7c4c10)break;else _0x5d558a['push'](_0x5d558a['shift']());}catch(_0x130812){_0x5d558a['push'](_0x5d558a['shift']());}}}(_0x1858,0x77103));import{UniverLicensePlugin as _0x3e389e}from'@univerjs-pro/license';import{DependentOn as _0x1569cc,Disposable as _0x52bca0,IConfigService as _0x3d8792,ILogService as _0x3a0011,IResourceLoaderService as _0x157fb9,IUniverInstanceService as _0x5339d7,Inject as _0x4a5a40,Injector as _0x567ddb,LocaleService as _0x272894,Plugin as _0x41f81a,UniverInstanceType as _0x2d6c67,createIdentifier as _0x80f77a,merge as _0x4e3ddb,registerDependencies as _0x183bc4,resolveWithBasePath as _0x1c36ea,toDisposable as _0x3fea9b,touchDependencies as _0x5af7e6}from'@univerjs/core';import{HTTPResponseError as _0x5210cd,HTTPService as _0x4d8820,UniverNetworkPlugin as _0x5408c6}from'@univerjs/network';import{ClockIcon as _0x2706de,CloseIcon as _0x33d7e6,DirectExportIcon as _0x14b262,DocsMultiIcon as _0x53c355,ErrorIcon as _0x24fa5b,ShareRangeIcon as _0x46f9e8,SheetsMultiIcon as _0x3d35da,SlidesMultiIcon as _0x1a3297,SuccessIcon as _0x3e9272}from'@univerjs/icons';import{BuiltInUIPart as _0x5092be,IMessageService as _0x314cf6,IUIPartsService as _0x2ba4ee,IconManager as _0x3a6c35,connectInjector as _0x5566e3,useDependency as _0x34ce1b,useObservable as _0xe4fe28}from'@univerjs/ui';import{BehaviorSubject as _0x27b5e3,Subject as _0x27b580}from'rxjs';import{MessageType as _0x2849b7,Tooltip as _0x1e8df0,clsx as _0x4079bb,scrollbarClassName as _0x5808d7}from'@univerjs/design';import{jsx as _0x44e330,jsxs as _0x4de0df}from'react/jsx-runtime';import{ErrorCode as _0x18b2f3,FileSource as _0x58c9ac}from'@univerjs/protocol';import{b64DecodeUnicode as _0x2569a2,b64EncodeUnicode as _0x226c59,getSheetBlocksFromSnapshot as _0x43e137,textDecoder as _0x2a36ef,textEncoder as _0x493234,transformDocumentDataToSnapshot as _0x59b499,transformSlideDataToSnapshot as _0x23bc36,transformSnapshotToDocumentData as _0x1b12c6,transformSnapshotToSlideData as _0x5711f7,transformSnapshotToWorkbookData as _0x4cef1f,transformWorkbookDataToSnapshot as _0x2cfb44}from'@univerjs-pro/collaboration';import{deflateSync as _0x2b1f2b}from'fflate';var Pe=_0x23d669(0x18c),Fe='1.0.0-alpha.4';const T=_0x23d669(0x1f9),Ie={};function E(_0x1cef7b,_0x22f767){return function(_0x49f6d3,_0x41911f){_0x22f767(_0x49f6d3,_0x41911f,_0x1cef7b);};}function D(_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9){const _0x66da43=_0x23d669;var _0x26863d=arguments[_0x66da43(0x1ed)],_0x39d67c=_0x26863d<0x3?_0x1c837f:_0x4c21b9===null?_0x4c21b9=Object[_0x66da43(0x247)](_0x1c837f,_0xcf509e):_0x4c21b9,_0x59bb94;if(typeof Reflect==_0x66da43(0x1a4)&&typeof Reflect['decorate']==_0x66da43(0x241))_0x39d67c=Reflect[_0x66da43(0x292)](_0x4d33e8,_0x1c837f,_0xcf509e,_0x4c21b9);else{for(var _0x2597e0=_0x4d33e8[_0x66da43(0x1ed)]-0x1;_0x2597e0>=0x0;_0x2597e0--)(_0x59bb94=_0x4d33e8[_0x2597e0])&&(_0x39d67c=(_0x26863d<0x3?_0x59bb94(_0x39d67c):_0x26863d>0x3?_0x59bb94(_0x1c837f,_0xcf509e,_0x39d67c):_0x59bb94(_0x1c837f,_0xcf509e))||_0x39d67c);}return _0x26863d>0x3&&_0x39d67c&&Object[_0x66da43(0x2bc)](_0x1c837f,_0xcf509e,_0x39d67c),_0x39d67c;}let O=class extends _0x52bca0{constructor(_0x56f903){const _0x2f9e8b=_0x23d669;super(),this['_iconManager']=_0x56f903,this[_0x2f9e8b(0x23f)]();}['_registerIcons'](){const _0xb6663d=_0x23d669;this[_0xb6663d(0x1d6)](this['_iconManager'][_0xb6663d(0x16e)]({'DirectExportIcon':_0x14b262}));}};O=D([E(0x0,_0x4a5a40(_0x3a6c35))],O);function k(_0x5aa360){'@babel/helpers - typeof';const _0x412bbb=_0x23d669;return k=typeof Symbol==_0x412bbb(0x241)&&typeof Symbol[_0x412bbb(0x173)]==_0x412bbb(0x1ba)?function(_0x46eb2a){return typeof _0x46eb2a;}:function(_0x327781){const _0x4f8616=_0x412bbb;return _0x327781&&typeof Symbol==_0x4f8616(0x241)&&_0x327781[_0x4f8616(0x2b3)]===Symbol&&_0x327781!==Symbol['prototype']?_0x4f8616(0x1ba):typeof _0x327781;},k(_0x5aa360);}function Le(_0x5bcd63,_0x5b003f){const _0x594559=_0x23d669;if(k(_0x5bcd63)!=_0x594559(0x1a4)||!_0x5bcd63)return _0x5bcd63;var _0x268b67=_0x5bcd63[Symbol[_0x594559(0x1a9)]];if(_0x268b67!==void 0x0){var _0x567a8c=_0x268b67[_0x594559(0x1ce)](_0x5bcd63,_0x5b003f||'default');if(k(_0x567a8c)!=_0x594559(0x1a4))return _0x567a8c;throw TypeError(_0x594559(0x28f));}return(_0x5b003f===_0x594559(0x1a8)?String:Number)(_0x5bcd63);}function Re(_0x3a0f68){const _0x39b142=_0x23d669;var _0xb3e0be=Le(_0x3a0f68,_0x39b142(0x1a8));return k(_0xb3e0be)==_0x39b142(0x1ba)?_0xb3e0be:_0xb3e0be+'';}function A(_0x254850,_0x402b85,_0xc91001){const _0x4c2414=_0x23d669;return(_0x402b85=Re(_0x402b85))in _0x254850?Object[_0x4c2414(0x2bc)](_0x254850,_0x402b85,{'value':_0xc91001,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x254850[_0x402b85]=_0xc91001,_0x254850;}const j=_0x80f77a(_0x23d669(0x19f));var ze=class extends _0x52bca0{constructor(){const _0x56035e=_0x23d669;super(),A(this,_0x56035e(0x2c4),new _0x27b580()),A(this,_0x56035e(0x194),new _0x27b580()),A(this,'_list$',new _0x27b580()),A(this,_0x56035e(0x23b),this[_0x56035e(0x2c4)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x178),this[_0x56035e(0x194)][_0x56035e(0x2b2)]()),A(this,_0x56035e(0x1c5),this[_0x56035e(0x28e)]['asObservable']()),A(this,_0x56035e(0x1e5),[]);}['dispose'](){const _0xdc955c=_0x23d669;super[_0xdc955c(0x244)](),this['_visible$'][_0xdc955c(0x1d9)](),this[_0xdc955c(0x194)][_0xdc955c(0x1d9)](),this['_list$'][_0xdc955c(0x1d9)]();}[_0x23d669(0x1e3)](){const _0x1a000a=_0x23d669;this[_0x1a000a(0x2c4)]['next'](!0x0);}['hide'](){const _0x3ac8e2=_0x23d669;this['_visible$'][_0x3ac8e2(0x21f)](!0x1);}['updateState'](_0x64dba2){const _0x37502c=_0x23d669;this[_0x37502c(0x194)][_0x37502c(0x21f)](_0x64dba2);}[_0x23d669(0x1bd)](_0x2a2ded){const _0x348ce0=_0x23d669;this[_0x348ce0(0x1e5)][_0x348ce0(0x177)](_0x2a2ded),this[_0x348ce0(0x28e)]['next'](this['_list']);}};function Be(_0x155452){const _0x5e6f0e=_0x23d669;let {list:_0x3c21cc}=_0x155452;function _0x310dd3(_0x1320e1){switch(_0x1320e1){case 0x1:return _0x44e330(_0x53c355,{});case 0x2:return _0x44e330(_0x3d35da,{});case 0x3:return _0x44e330(_0x1a3297,{});default:return null;}}return _0x44e330(_0x5e6f0e(0x203),{'className':_0x4079bb('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',_0x5808d7),'children':_0x44e330('ul',{'className':_0x5e6f0e(0x2b1),'children':_0x3c21cc['map']((_0x38df06,_0x572f37)=>_0x44e330('li',{'children':_0x4de0df('a',{'className':_0x5e6f0e(0x20d),'href':_0x38df06[_0x5e6f0e(0x26b)],'target':_0x5e6f0e(0x22e),'rel':_0x5e6f0e(0x211),'children':[_0x4de0df(_0x5e6f0e(0x246),{'className':'univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','children':[_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x16b),'children':_0x310dd3(_0x38df06['type'])}),_0x44e330(_0x1e8df0,{'showIfEllipsis':!0x0,'title':_0x38df06['name'],'asChild':!0x0,'children':_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x270),'children':_0x38df06[_0x5e6f0e(0x265)]})})]}),_0x44e330(_0x5e6f0e(0x246),{'className':_0x5e6f0e(0x200),'children':_0x44e330(_0x46f9e8,{})})]})},_0x572f37))})});}const M=_0x23d669(0x1bb),N=_0x23d669(0x249),P=_0x23d669(0x17d),F=_0x23d669(0x192),I=_0x23d669(0x1eb),L=_0x23d669(0x1a0),R={[_0x2d6c67[_0x23d669(0x2c2)]]:[''],[_0x2d6c67[_0x23d669(0x169)]]:[M],[_0x2d6c67['UNIVER_SHEET']]:[N,P,F],[_0x2d6c67[_0x23d669(0x26c)]]:[I],[_0x2d6c67['UNIVER_BASE']]:[''],[_0x2d6c67[_0x23d669(0x24b)]]:[''],[_0x2d6c67[_0x23d669(0x20e)]]:[''],[_0x2d6c67['UNIVER_PDF']]:[L],[_0x2d6c67['UNRECOGNIZED']]:['']},z={[M]:'docx',[N]:'xlsx',[P]:_0x23d669(0x170),[F]:_0x23d669(0x18b),[I]:_0x23d669(0x236),[L]:_0x23d669(0x229)};function B(_0x20bcaf,_0xf64b7c,_0x4ca062){const _0x37fb81=_0x23d669;let _0x1c339f=document[_0x37fb81(0x1d5)]('a');_0x1c339f[_0x37fb81(0x1f0)]=_0x20bcaf,_0x1c339f['style'][_0x37fb81(0x2bd)]=_0x37fb81(0x20f),_0x1c339f[_0x37fb81(0x248)]=_0xf64b7c+'.'+_0x4ca062,document['body']['appendChild'](_0x1c339f),_0x1c339f['click'](),document[_0x37fb81(0x18d)][_0x37fb81(0x219)](_0x1c339f);}function Ve(_0x560b7a,_0x342f3d,_0xe351b){const _0x5928c2=_0x23d669;let _0x5bc312=URL['createObjectURL'](_0x560b7a);B(_0x5bc312,_0x342f3d,_0xe351b),URL[_0x5928c2(0x188)](_0x5bc312);}function He(_0x561a9b){const _0xab3392=_0x23d669;let _0x428925=_0x561a9b[_0xab3392(0x265)]['split']('.')[_0xab3392(0x24f)]();if(!_0x428925)return _0x2d6c67[_0xab3392(0x2c2)];let _0x14360d=Ue(),_0x19dc0f=_0x2d6c67[_0xab3392(0x2c2)];return _0x14360d[_0xab3392(0x257)](_0x5d76b2=>We(_0x428925,_0x5d76b2)?(_0x19dc0f=_0x5d76b2,!0x0):!0x1),_0x19dc0f;}function Ue(){const _0x5243cc=_0x23d669;return Object[_0x5243cc(0x20b)](_0x2d6c67)[_0x5243cc(0x187)](_0x2739d3=>typeof _0x2739d3==_0x5243cc(0x298));}function We(_0x202315,_0x44ce92){const _0x5e0660=_0x23d669;var _0x5cc4cb;return((_0x5cc4cb=R[_0x44ce92])==null?[]:_0x5cc4cb)[_0x5e0660(0x214)](_0x477705=>(z[_0x477705]||'')[_0x5e0660(0x2c3)]())['includes'](_0x202315[_0x5e0660(0x2c3)]());}function V(_0x15c911,_0x59433f=!0x1){const _0x1baee=_0x23d669;let _0x1bb4be=_0x15c911[_0x1baee(0x214)](_0x538fa0=>{var _0x38d36f;return(_0x38d36f=R[_0x538fa0])==null?[]:_0x38d36f;})[_0x1baee(0x1c8)](',');return new Promise((_0x28215d,_0x149775)=>{const _0x15c3ca=_0x1baee;let _0x304cf6=document['createElement']('input');_0x304cf6['type']=_0x15c3ca(0x287),_0x304cf6[_0x15c3ca(0x1c7)]=_0x1bb4be,_0x304cf6[_0x15c3ca(0x238)]=_0x59433f,_0x304cf6[_0x15c3ca(0x209)](_0x15c3ca(0x16a),_0x58b4e4=>{const _0x253db8=_0x15c3ca;let _0x103f27=_0x58b4e4[_0x253db8(0x1ca)];if(!_0x103f27['files']||_0x103f27[_0x253db8(0x28a)][_0x253db8(0x1ed)]===0x0)throw _0x149775(null),Error(_0x253db8(0x180));_0x28215d(_0x103f27[_0x253db8(0x28a)]);}),_0x304cf6[_0x15c3ca(0x21a)]();});}async function H(_0x2c1ce0,_0x1bc9a4){const _0x496075=_0x23d669;try{var _0x34759,_0x3ffa28,_0x103024;let _0xee082b=await _0x1bc9a4[_0x496075(0x207)](_0x2c1ce0,{'responseType':_0x496075(0x2a0)}),_0x15eecd=_0xee082b[_0x496075(0x18d)],_0x525b73=(_0x34759=(_0x3ffa28=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x227)))==null?void 0x0:_0x3ffa28['join'](',\x20'))==null?_0x496075(0x21c):_0x34759,_0x30bba0=_0x496075(0x297)+(z[_0x525b73]||_0x496075(0x22f)),_0x5991c3=(_0x103024=_0xee082b[_0x496075(0x1ef)][_0x496075(0x207)](_0x496075(0x25b)))==null?void 0x0:_0x103024[_0x496075(0x1c8)](',\x20');if(_0x5991c3){let _0x4c178f=_0x5991c3['match'](/filename=(.+)/);_0x4c178f&&_0x4c178f[0x1]&&(_0x30bba0=_0x4c178f[0x1]);}else _0x30bba0=Ge(_0x2c1ce0)||_0x30bba0;return new File([_0x15eecd],_0x30bba0,{'type':_0x525b73});}catch(_0x3bff96){console[_0x496075(0x293)](_0x496075(0x260),_0x3bff96);return;}}function Ge(_0x4f292f){const _0x369081=_0x23d669;try{return new URL(_0x4f292f)['pathname'][_0x369081(0x24c)]('/')[_0x369081(0x24f)]();}catch(_0x4cd5fa){console[_0x369081(0x293)](_0x369081(0x1e7),_0x4cd5fa);return;}}function Ke(_0x5454ca){const _0x5e5468=_0x23d669;let _0x2b71fb=new Blob([_0x5454ca[_0x5e5468(0x206)]],{'type':_0x5e5468(0x221)});return new File([_0x2b71fb],'file.json');}function U(_0x382062,_0x4ea589){const _0x28664e=_0x23d669;return _0x382062[_0x28664e(0x225)](_0x28664e(0x21d),_0x4ea589);}function _0x1e38(_0x199163,_0x108e34){_0x199163=_0x199163-0x168;const _0x18581d=_0x1858();let _0x1e38b5=_0x18581d[_0x199163];return _0x1e38b5;}function qe(_0x312aa2,_0x137fcc){const _0x115592=_0x23d669;return _0x312aa2[_0x115592(0x225)]('{taskID}',_0x137fcc);}function Je(_0x199f30,_0x105df4){const _0x7953fe=_0x23d669;return _0x199f30['replace'](_0x7953fe(0x237),_0x105df4);}const W=_0x80f77a('univer-pro.exchange-client.request.service');let G=class{constructor(_0xfda3aa,_0x23c274){const _0x53dfaf=_0x23d669;this[_0x53dfaf(0x275)]=_0xfda3aa,this[_0x53dfaf(0x181)]=_0x23c274,A(this,_0x53dfaf(0x16c),new Set());}[_0x23d669(0x244)](){}[_0x23d669(0x1ab)](_0x2647f6){const _0x24164d=_0x23d669;this['_taskInterrupted'][_0x24164d(0x28c)](_0x2647f6);}[_0x23d669(0x1fc)](){const _0x2c0c1f=_0x23d669;this[_0x2c0c1f(0x16c)][_0x2c0c1f(0x19d)]();}async[_0x23d669(0x2bb)](_0x21a951,_0x1bae94=0x0,_0x301b8d=!0x1){const _0x453eb3=_0x23d669;if(typeof _0x21a951=='string'){let _0x1cc8ce=await H(_0x21a951,this['_httpService']);if(!_0x1cc8ce)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x21a951=_0x1cc8ce;}_0x1bae94=_0x1bae94||_0x21a951['size'];let _0x5dcfa9=new FormData();_0x5dcfa9[_0x453eb3(0x1ec)](_0x453eb3(0x287),_0x21a951);try{let _0x21dff8=this[_0x453eb3(0x2bf)]()+_0x453eb3(0x291)+_0x1bae94+_0x453eb3(0x2b6)+_0x58c9ac[_0x453eb3(0x289)]+_0x453eb3(0x26f)+_0x301b8d,_0x46e8c0={'body':_0x5dcfa9},_0x1bca53=(await this[_0x453eb3(0x181)][_0x453eb3(0x26d)](_0x21dff8,_0x46e8c0))[_0x453eb3(0x18d)];if(_0x1bca53[_0x453eb3(0x293)]&&_0x1bca53[_0x453eb3(0x293)][_0x453eb3(0x1f6)]!==_0x18b2f3['OK'])throw Error(this[_0x453eb3(0x2be)](_0x453eb3(0x299),_0x1bca53[_0x453eb3(0x293)]));return _0x1bca53;}catch(_0xc1b1fb){throw _0xc1b1fb instanceof Error?_0xc1b1fb:Error(this[_0x453eb3(0x1e0)](_0x453eb3(0x299),_0xc1b1fb));}}async[_0x23d669(0x296)](_0x30bcbf){const _0x30c84d=_0x23d669;let {fileID:_0x2e832,type:_0x4af2a9,outputType:_0x2a99b8,minSheetColumnCount:_0x38b00f,minSheetRowCount:_0x54529d}=_0x30bcbf;try{let _0x29dbfd=U(this[_0x30c84d(0x1bc)](),''+_0x4af2a9),_0x20f8b3={'body':{'fileID':_0x2e832,'outputType':_0x2a99b8,'minSheetColumnCount':_0x38b00f,'minSheetRowCount':_0x54529d}},_0xe4f91b=(await this['_httpService']['post'](_0x29dbfd,_0x20f8b3))['body'];return _0xe4f91b[_0x30c84d(0x293)]&&_0xe4f91b['error'][_0x30c84d(0x1f6)]!==_0x18b2f3['OK']?void 0x0:_0xe4f91b;}catch{return;}}async[_0x23d669(0x26a)](_0x2599ca){const _0xac73e1=_0x23d669;let {unitID:_0x417fd7,jsonID:_0x3ae10b,type:_0x7157f8,useImageUrl:_0x13115a,ignoreTableExport:_0x2e03a9}=_0x2599ca;try{let _0x34dc3a=U(this[_0xac73e1(0x22d)](),''+_0x7157f8),_0x20d302={'body':{'unitID':_0x417fd7,'jsonID':_0x3ae10b,'type':_0x7157f8,'useImageUrl':_0x13115a,'ignoreTableExport':_0x2e03a9}},_0x23feca=(await this[_0xac73e1(0x181)][_0xac73e1(0x26d)](_0x34dc3a,_0x20d302))[_0xac73e1(0x18d)];return _0x23feca['error']&&_0x23feca[_0xac73e1(0x293)]['code']!==_0x18b2f3['OK']?void 0x0:_0x23feca;}catch{return;}}async[_0x23d669(0x28b)](_0x4ebd78){return new Promise((_0x194845,_0x1a7205)=>{const _0x318637=_0x1e38;try{let _0x37f5f4=0x0,_0x3c6fab=qe(this[_0x318637(0x1b2)](),''+_0x4ebd78),_0x275a44=this['_getMaxPollingTime'](),_0x21cf48=async()=>{const _0x2dc3e2=_0x318637;if(this[_0x2dc3e2(0x16c)]['has'](_0x4ebd78))return;let _0x56e252=(await this['_httpService'][_0x2dc3e2(0x207)](_0x3c6fab))[_0x2dc3e2(0x18d)];if(_0x56e252[_0x2dc3e2(0x293)]&&_0x56e252[_0x2dc3e2(0x293)][_0x2dc3e2(0x1f6)]===_0x18b2f3['OK']){if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1e8))_0x194845(_0x56e252);else{if(_0x56e252[_0x2dc3e2(0x253)]===_0x2dc3e2(0x1cf)){let _0x2682fc=0x3e8;if(_0x37f5f4>=_0x275a44){_0x1a7205(_0x56e252);return;}else _0x37f5f4>=0x7530&&(_0x2682fc=0x1388);_0x37f5f4+=_0x2682fc,setTimeout(_0x21cf48,_0x2682fc);}else _0x1a7205(_0x56e252);}}else _0x1a7205(_0x56e252);};_0x21cf48();}catch(_0x30e682){_0x1a7205(_0x30e682 instanceof Error?_0x30e682:Error(String(_0x30e682)));}});}async[_0x23d669(0x230)](_0xc15347){const _0x41625a=_0x23d669;try{let _0x565e27=Je(this[_0x41625a(0x23e)](),''+_0xc15347);return(await this[_0x41625a(0x181)][_0x41625a(0x207)](_0x565e27))[_0x41625a(0x18d)];}catch{return;}}async['getTextFromUrl'](_0x1a370b){const _0x15a564=_0x23d669;try{return(await this[_0x15a564(0x181)][_0x15a564(0x207)](_0x1a370b,{'responseType':_0x15a564(0x1d3)}))[_0x15a564(0x18d)];}catch{return;}}[_0x23d669(0x2be)](_0x5569c4,_0x735759){const _0x45ae9f=_0x23d669;let _0x19bcfc=this[_0x45ae9f(0x17f)](_0x735759);return _0x19bcfc?_0x5569c4+':\x20'+_0x19bcfc:_0x5569c4;}[_0x23d669(0x1e0)](_0x3d0a67,_0x30f000){const _0x5eb241=_0x23d669;if(_0x30f000 instanceof _0x5210cd){let _0x575718=typeof _0x30f000[_0x5eb241(0x253)]==_0x5eb241(0x298)?''+_0x30f000[_0x5eb241(0x253)]+(_0x30f000['statusText']?'\x20'+_0x30f000[_0x5eb241(0x25d)]:''):void 0x0,_0x2d8fb2=this[_0x5eb241(0x17f)](_0x30f000['error']);return _0x575718&&_0x2d8fb2?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718+'\x20-\x20'+_0x2d8fb2:_0x575718?_0x3d0a67+_0x5eb241(0x2c0)+_0x575718:_0x2d8fb2?_0x3d0a67+':\x20'+_0x2d8fb2:_0x3d0a67;}let _0x4fc283=this['_extractErrorDetail'](_0x30f000);return _0x4fc283?_0x3d0a67+':\x20'+_0x4fc283:_0x3d0a67;}[_0x23d669(0x17f)](_0x4f1444){const _0x46bfd4=_0x23d669;if(typeof _0x4f1444=='string'){let _0x20d384=_0x4f1444[_0x46bfd4(0x171)]();return _0x20d384[_0x46bfd4(0x1ed)]>0x0?_0x20d384:void 0x0;}if(_0x4f1444 instanceof Error)return this[_0x46bfd4(0x17f)](_0x4f1444['message']);if(!_0x4f1444||typeof _0x4f1444!='object'||Array[_0x46bfd4(0x273)](_0x4f1444))return;let _0x240bf8=_0x4f1444,_0xb0ad9a=this['_extractErrorDetail'](_0x240bf8[_0x46bfd4(0x21e)]);if(_0xb0ad9a)return _0xb0ad9a;if(_0x240bf8[_0x46bfd4(0x293)]&&typeof _0x240bf8['error']=='object'&&!Array[_0x46bfd4(0x273)](_0x240bf8[_0x46bfd4(0x293)])){let _0x1d6846=this[_0x46bfd4(0x17f)](_0x240bf8[_0x46bfd4(0x293)]);if(_0x1d6846)return _0x1d6846;}}['_getUploadFileURL'](){const _0x4319b2=_0x23d669;var _0x22cd47;let _0x1ddf0e=this['_configService']['getConfig'](T);return(_0x22cd47=_0x1ddf0e==null?void 0x0:_0x1ddf0e[_0x4319b2(0x29d)])==null?_0x4319b2(0x195):_0x22cd47;}['_getImportURL'](){const _0x103b29=_0x23d669;var _0xc0808a;let _0x42fab8=this['_configService']['getConfig'](T);return(_0xc0808a=_0x42fab8==null?void 0x0:_0x42fab8[_0x103b29(0x198)])==null?_0x103b29(0x285):_0xc0808a;}[_0x23d669(0x22d)](){const _0x5d606c=_0x23d669;var _0x42414e;let _0x1a3188=this[_0x5d606c(0x275)]['getConfig'](T);return(_0x42414e=_0x1a3188==null?void 0x0:_0x1a3188[_0x5d606c(0x284)])==null?_0x5d606c(0x1a1):_0x42414e;}[_0x23d669(0x1b2)](){const _0x420c28=_0x23d669;var _0x9e58b9;let _0x2fa6f8=this[_0x420c28(0x275)][_0x420c28(0x190)](T);return(_0x9e58b9=_0x2fa6f8==null?void 0x0:_0x2fa6f8['getTaskServerUrl'])==null?'/universer-api/exchange/task/{taskID}':_0x9e58b9;}['_getSignURL'](){const _0x1bb105=_0x23d669;var _0x442531;let _0x20a03e=this[_0x1bb105(0x275)][_0x1bb105(0x190)](T);return(_0x442531=_0x20a03e==null?void 0x0:_0x20a03e[_0x1bb105(0x2b8)])==null?_0x1bb105(0x196):_0x442531;}[_0x23d669(0x280)](){const _0x2d8045=_0x23d669;var _0x5163fb;let _0x58acc7=this[_0x2d8045(0x275)][_0x2d8045(0x190)](T);return(_0x5163fb=_0x58acc7==null?void 0x0:_0x58acc7[_0x2d8045(0x176)])==null?0x1d4c0:_0x5163fb;}};G=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820))],G);function Ye(_0x4f11a3){const _0x4d5580=_0x23d669;let _0x3195b7=_0x4f11a3['workbook'];if(!_0x3195b7)return null;let _0x2ec7b4={};_0x3195b7[_0x4d5580(0x1fe)]&&Object[_0x4d5580(0x2aa)](_0x3195b7['sheets'])[_0x4d5580(0x2ba)](_0x21360f=>{const _0x355625=_0x4d5580;let _0x32db3c=_0x3195b7[_0x355625(0x1fe)][_0x21360f];_0x2ec7b4[_0x21360f]={..._0x32db3c,'originalMeta':_0x226c59(_0x2a36ef[_0x355625(0x25e)](_0x32db3c[_0x355625(0x2ac)]))};});let _0x30394e=_0x226c59(_0x2a36ef[_0x4d5580(0x25e)](_0x3195b7[_0x4d5580(0x2ac)]));return{..._0x4f11a3,'workbook':{..._0x3195b7,'originalMeta':_0x30394e,'sheets':_0x2ec7b4},'doc':{},'slide':void 0x0,'board':void 0x0};}function Xe(_0x21aa0c){const _0xfb1fa9=_0x23d669;let _0x501509=_0x21aa0c[_0xfb1fa9(0x1ff)];if(!_0x501509)return null;let _0x45914e=_0x226c59(_0x2a36ef[_0xfb1fa9(0x25e)](_0x501509[_0xfb1fa9(0x2ac)]));return{..._0x21aa0c,'workbook':{},'doc':{..._0x501509,'originalMeta':_0x45914e},'slide':void 0x0,'board':void 0x0};}function Ze(_0x5f2687){const _0x431db0=_0x23d669;var _0x358855;let _0x59fba9=(_0x358855=_0x5f2687[_0x431db0(0x16d)])==null?_0x5f2687['doc']:_0x358855;if(!_0x59fba9)return null;let _0x14e06a=typeof _0x59fba9['originalMeta']==_0x431db0(0x1a8)?_0x59fba9[_0x431db0(0x2ac)]:_0x226c59(_0x2a36ef[_0x431db0(0x25e)](_0x59fba9[_0x431db0(0x2ac)]));return{..._0x5f2687,'workbook':{},'doc':{},'slide':{..._0x59fba9,'originalMeta':_0x14e06a},'board':void 0x0};}function K(_0x4e0070){const _0x3b5c6a=_0x23d669;let _0x127ab7={};return _0x4e0070[_0x3b5c6a(0x2ba)](_0x4f6911=>{const _0x3494cc=_0x3b5c6a;_0x127ab7[_0x4f6911['id']]={..._0x4f6911,'data':_0x226c59(_0x2a36ef[_0x3494cc(0x25e)](_0x4f6911['data']))};}),_0x127ab7;}async function Qe(_0x3c0413){const _0x1581c2=_0x23d669;var _0x2dd6cb;let _0x8d4ade={'metadata':void 0x0},_0x58948e=_0x3c0413['id'],_0x51b07f=(_0x2dd6cb=_0x3c0413[_0x1581c2(0x1b5)])==null?0x0:_0x2dd6cb,_0x34201f=new q(),{snapshot:_0x5bf8c4}=await _0x2cfb44(_0x8d4ade,_0x3c0413,_0x58948e,_0x51b07f,_0x34201f),_0x2720cb=await _0x43e137(_0x5bf8c4,_0x34201f),_0x29c0b7=Ye(_0x5bf8c4);if(!_0x29c0b7)throw Error(_0x1581c2(0x279));return{'snapshot':_0x29c0b7,'sheetBlocks':K(_0x2720cb)};}async function $e(_0x34a6ea){const _0x5db97b=_0x23d669;var _0x5cb861;let _0x57434c={'metadata':void 0x0},_0x547f0a=_0x34a6ea['id'],{snapshot:_0x2b6f61}=await _0x59b499(_0x57434c,_0x34a6ea,_0x547f0a,(_0x5cb861=_0x34a6ea[_0x5db97b(0x1b5)])==null?0x0:_0x5cb861,new q()),_0x4839a0=Xe(_0x2b6f61);if(!_0x4839a0)throw Error(_0x5db97b(0x279));return{'snapshot':_0x4839a0,'sheetBlocks':{}};}async function et(_0x265754){const _0xc696fd=_0x23d669;var _0x1977e1;let _0x1346f2=_0x265754['id'],_0x9c2710=(_0x1977e1=_0x265754[_0xc696fd(0x1b5)])==null?0x0:_0x1977e1,_0x5662ab=new q(),{snapshot:_0x1d2e00}=await _0x23bc36(_0x265754[_0xc696fd(0x232)],_0x265754,_0x1346f2,_0x9c2710,_0x5662ab),_0x292241=Ze(_0x1d2e00);if(!_0x292241)throw Error(_0xc696fd(0x279));return{'snapshot':_0x292241,'sheetBlocks':{}};}async function tt(_0xc32aa6){const _0x5f5a56=_0x23d669;let _0x1ff5dc=_0xc32aa6[_0x5f5a56(0x1d0)],_0x4f7384=_0xc32aa6[_0x5f5a56(0x1c6)]||{};return await _0x4cef1f(_0x1ff5dc,Object[_0x5f5a56(0x2aa)](_0x4f7384)[_0x5f5a56(0x214)](_0x42756c=>_0x4f7384[_0x42756c])[_0x5f5a56(0x214)](_0x26c1dd=>({..._0x26c1dd,'data':_0x26c1dd[_0x5f5a56(0x228)]?JSON[_0x5f5a56(0x201)](_0x2569a2(_0x26c1dd[_0x5f5a56(0x228)])):void 0x0})));}function nt(_0x445fcd){const _0x3ded0b=_0x23d669;let _0x473ca4=_0x445fcd[_0x3ded0b(0x1d0)];return _0x1b12c6(_0x473ca4);}function rt(_0x5ace33){const _0x151cd7=_0x23d669;let _0x2e4374=_0x5ace33[_0x151cd7(0x1d0)];return _0x5711f7(_0x2e4374);}function _0x1858(){const _0x63b75a=['importFileToUnitIdByCurrentType','headers','href','createUnit','exportDOCXBySnapshot','set','univer-pro.exchange-client.exchange.service','univer-pl-2\x20univer-pr-4','code','getUnitOnRev','univer-mt-5\x20univer-flex\x20univer-flex-col','exchange-client.config','_exportBySnapshot','shift','clearTaskInterrupted','exportXLSXBySnapshot','sheets','doc','univer-flex\x20univer-size-6\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-p-0\x20univer-text-base\x20univer-text-gray-600\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-gray-200\x20dark:hover:!univer-bg-gray-600','parse','_showUploadMessage','div','getFocusedUnit','stringify','buffer','get','fetchMissingChangesets','addEventListener','CONTENT','values','_refreshSlide','univer-flex\x20univer-justify-between\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-px-2\x20univer-py-1\x20univer-text-gray-900\x20univer-no-underline\x20univer-outline-none\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-text-white\x20dark:hover:!univer-bg-gray-600','UNIVER_PROJECT','none','importPPTXToUnitId','noreferrer','packageName','9729MggFCA','map','_injector','upload\x20failed:\x20missing\x20FileId\x20in\x20response','_getUnitDocJson','univer-flex','removeChild','click','_emitProgress','application/octet-stream','{type}','message','next','_getDisableCellImageConversion','application/json','Info','_getUnitID','exportXLSXByUnitId','replace','_logService','Content-Type','data','pdf','blockID','ignoreTableExport','outputType','_getExportURL','_blank','xlsx','signUrl','_signUrl','resources','_config','importDOCXToSnapshot','Get\x20outputType\x20error','pptx','{fileID}','multiple','UNIVER_SHEET','url','visible$','importXLSXToSnapshot','_getMinSheetRowCount','_getSignURL','_registerIcons','registerLink','function','exportDOCXByUnitId','getTextFromUrl','dispose','3110aLZAJg','span','getOwnPropertyDescriptor','download','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','_import','UNIVER_BOARD','split','Failed\x20to\x20get\x20unitID\x20from\x20task','univer-text-green-500','pop','options','downloadEndpointUrl','_localeService','status','_getUnitName','importXLSXToUnitId','hide','some','copyFileMeta','getSnapshot','1191720SwrTrB','content-disposition','setConfig','statusText','decode','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','Error\x20fetching\x20file\x20from\x20URL:','_getUnitSlideJson','CONNECTOR_DATA_TOO_LARGE','registerComponent','UNDEFINED','name','_upload','importFileToUnitId','getUnitId','jsonID','export','link','UNIVER_SLIDE','post','getCurrentUnitOfType','&flate=','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','815140LpyRwP','_getUnitIDDoc','isArray','onStarting','_configService','importFileToJson','getLatestCsReqIdBySid','_clearProgress','Failed\x20to\x20transform\x20snapshot\x20to\x20string','block\x20is\x20required','_registerUIParts','taskID','importDOCXToUnitId','5176DlmLrO','2292279KMRqjj','_getMaxPollingTime','sign\x20url\x20error','fileID','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','exportServerUrl','/universer-api/exchange/{type}/import','_showNetworkError','file','exchange-client.tooLarge','HttpImport','files','getTask','add','title','_list$','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','Success','?size=','decorate','error','version','_resourceLoaderService','import','file.','number','upload\x20request\x20failed','_getDownloadEndpointURL','Failed\x20to\x20get\x20jsonID\x20from\x20task','saveSnapshot','uploadFileServerUrl','exchange-client.interrupt','_getIgnoreTableExport','blob','6sdYrCN','min','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','type','_doneUploadTaskCount','_exchangeService','resolve','updateSnapshot','3033750snJvbL','keys','_addTotalCount','originalMeta','4GxldLz','import\x20error','_requestService','catch','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','asObservable','constructor','pluginName','3615416kFVfVz','&source=','exchange-client.fileTypeError','signUrlServerUrl','univer-h-6\x20univer-text-2xl','forEach','upload','defineProperty','display','_buildProtocolErrorMessage','_getUploadFileURL',':\x20HTTP\x20','.json','UNIVER_UNKNOWN','toLowerCase','_visible$','_requestState$','_importTaskId','transformSnapshotJsonToWorkbookData','UNIVER_DOC','change','univer-flex\x20univer-h-5\x20univer-text-xl','_taskInterrupted','slide','register','_showDownloadMessage','xlsm','trim','UNRECOGNIZED','iterator','searchParams','_fileTypeError','maxTimeoutTime','unshift','state$','_importFileToUnitId','exchange-client.internalError','_uploadTaskNotDone','unitID','application/vnd.ms-excel.sheet.macroEnabled.12','_getUnitIDSlide','_extractErrorDetail','No\x20file\x20selected','_httpService','progress$','origin','docx','requestState$','Error','filter','revokeObjectURL','_totalUploadTaskCount','importPPTXToSnapshot','xltx','@univerjs-pro/exchange-client','body','exchange-client.uploadSuccess','_addDoneTask','getConfig','INTERNAL_ERROR','application/vnd.openxmlformats-officedocument.spreadsheetml.template','saveUnit','_state$','/universer-api/stream/file/upload','/universer-api/file/{fileID}/sign-url','exchange-client.wait','importServerUrl','_getUnitJson','minSheetRowCount','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','clear','toString','univer-pro.exchange-client.upload-notification.service','application/pdf','/universer-api/exchange/{type}/export','exchange-client.uploading','interruptImportTask','object','_getLinkByUnitId','univer-h-7\x20univer-cursor-pointer\x20univer-select-none\x20univer-rounded-md\x20univer-border-0\x20univer-border-transparent\x20univer-bg-transparent\x20univer-px-2\x20univer-py-0\x20univer-text-sm\x20univer-text-primary-600\x20univer-transition-all\x20univer-duration-150\x20hover:univer-bg-primary-50','_refresh','string','toPrimitive','success','setTaskInterrupted','encode','_getMinSheetColumnCount','upload\x20failed:\x20FileId\x20is\x20empty','location','_univerInstanceService','Failed\x20to\x20get\x20text\x20from\x20url','_getTaskURL','disableCellImageConversion','updateState','rev','downloadFile','_messageService','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getResourcesRequest','symbol','application/vnd.openxmlformats-officedocument.wordprocessingml.document','_getImportURL','pushLink','floor','_export','univer-text-red-500','_completeProgress','exportPPTXBySnapshot','button','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','list$','sheetBlocks','accept','join','exchange-client.networkError','currentTarget','_uiPartsService','Failed\x20to\x20parse\x20json','_getUnitNameByType','call','pending','snapshot','Failed\x20to\x20get\x20fileID\x20from\x20task','exportPPTXByUnitId','text','minSheetColumnCount','createElement','disposeWithMe','subscribe','55121QohURV','complete','getSheetBlock','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','Method\x20not\x20implemented.','transformWorkbookDataToSnapshotJson','Warning','_sheetBlockCache','_buildHttpErrorMessage','_uploadNotificationService','_importToJson','show','_progress$','_list','interrupt','Error\x20getting\x20file\x20name\x20from\x20URL:','done','univer-text-sm\x20univer-text-gray-500','exchange-client.uploadAgain','application/vnd.openxmlformats-officedocument.presentationml.presentation','append','length'];_0x1858=function(){return _0x63b75a;};return _0x1858();}var q=class{constructor(){const _0x578764=_0x23d669;A(this,_0x578764(0x1df),new Map());}[_0x23d669(0x1f7)](){const _0x5f058c=_0x23d669;return Promise[_0x5f058c(0x2a7)]({'snapshot':{'unitID':'','type':_0x2d6c67[_0x5f058c(0x239)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1da)](_0xbe1a22,_0x1434ba){const _0xfc2a3=_0x23d669;let _0x2d82f9=this['_sheetBlockCache']['get'](_0x1434ba[_0xfc2a3(0x22a)]);return Promise[_0xfc2a3(0x2a7)]({'block':_0x2d82f9,'error':{'code':_0x18b2f3['OK'],'message':''}});}['getDeserializedSheetBlock'](_0x47b2f5,_0x4d17c2){const _0x5a66ac=_0x23d669;let _0x5c6528=this[_0x5a66ac(0x1df)][_0x5a66ac(0x207)](_0x4d17c2[_0x5a66ac(0x22a)]);return Promise[_0x5a66ac(0x2a7)]({'block':_0x5c6528===void 0x0?void 0x0:{..._0x5c6528,'data':JSON[_0x5a66ac(0x201)](_0x2a36ef[_0x5a66ac(0x25e)](_0x5c6528[_0x5a66ac(0x228)]))},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x208)](){const _0x383cd5=_0x23d669;return Promise[_0x383cd5(0x2a7)]({'changesets':[],'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x1b9)](){const _0x17bd59=_0x23d669;return Promise[_0x17bd59(0x2a7)]({'resources':{},'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x29c)](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''}});}[_0x23d669(0x2a8)](){const _0x24b4a4=_0x23d669;return Promise[_0x24b4a4(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''}});}['saveSheetBlock'](_0x1120f6,_0x2da708){const _0x39d11e=_0x23d669;let {block:_0x2f939d}=_0x2da708;return _0x2f939d?(this[_0x39d11e(0x1df)]['set'](_0x2f939d['id'],_0x2f939d),Promise[_0x39d11e(0x2a7)]({'error':{'code':_0x18b2f3['OK'],'message':''},'blockID':_0x2f939d['id']})):Promise['resolve']({'error':{'code':_0x18b2f3[_0x39d11e(0x264)],'message':_0x39d11e(0x27a)},'blockID':''});}['saveChangeset'](){return Promise['resolve']({'error':{'code':_0x18b2f3['OK'],'message':''},'concurrent':[]});}[_0x23d669(0x258)](){const _0x59bba6=_0x23d669;return Promise[_0x59bba6(0x2a7)]({'error':void 0x0,'fileMetaId':''});}[_0x23d669(0x277)](){const _0x5cf05d=_0x23d669;return Promise[_0x5cf05d(0x2a7)]({'error':void 0x0,'latestReqID':0x0});}};const J=_0x80f77a(_0x23d669(0x1f4));let Y=class extends _0x52bca0{constructor(_0x2c8542,_0x18c1fa,_0x1a8239){const _0x386309=_0x23d669;super(),this[_0x386309(0x275)]=_0x2c8542,this[_0x386309(0x181)]=_0x18c1fa,this[_0x386309(0x2af)]=_0x1a8239,A(this,_0x386309(0x2c6),null),A(this,'_requestState$',new _0x27b580()),A(this,_0x386309(0x185),this[_0x386309(0x2c5)][_0x386309(0x2b2)]());}[_0x23d669(0x244)](){const _0x5b070b=_0x23d669;super[_0x5b070b(0x244)](),this[_0x5b070b(0x2c5)][_0x5b070b(0x1d9)]();}['downloadFile'](_0x50ab98,_0x56e47d,_0x3ae48d){const _0x52771c=_0x23d669;let _0x335578=URL['createObjectURL'](_0x50ab98);B(_0x335578,_0x56e47d,_0x3ae48d),URL[_0x52771c(0x188)](_0x335578);}async[_0x23d669(0x168)](_0x1a5333){const _0x4409f1=_0x23d669;let _0x458dec=_0x1a5333[_0x4409f1(0x1d0)],_0x10b3da=_0x1a5333[_0x4409f1(0x1c6)]||{};return _0x4cef1f(_0x458dec,Object[_0x4409f1(0x2aa)](_0x10b3da)[_0x4409f1(0x214)](_0xfb8f89=>_0x10b3da[_0xfb8f89])[_0x4409f1(0x214)](_0x7939bf=>({..._0x7939bf,'data':_0x7939bf[_0x4409f1(0x228)]?JSON[_0x4409f1(0x201)](_0x2569a2(_0x7939bf[_0x4409f1(0x228)])):void 0x0})));}async[_0x23d669(0x1dd)](_0xa8e85a){const _0x3efea1=_0x23d669;var _0x27810d;let _0x9f1b2={'metadata':void 0x0},_0x38bd97=_0xa8e85a['id'],_0x1efd53=(_0x27810d=_0xa8e85a['rev'])==null?0x0:_0x27810d,_0x190824=new q(),{snapshot:_0x16e8ec}=await _0x2cfb44(_0x9f1b2,_0xa8e85a,_0x38bd97,_0x1efd53,_0x190824),_0x21142e=await _0x43e137(_0x16e8ec,_0x190824),_0xf7c9e2=Ye(_0x16e8ec);if(!_0xf7c9e2)throw Error(_0x3efea1(0x279));return{'snapshot':_0xf7c9e2,'sheetBlocks':K(_0x21142e)};}async[_0x23d669(0x234)](_0x9c5c2e){const _0x1e1cec=_0x23d669;let _0x2abfe5=await this[_0x1e1cec(0x276)](_0x9c5c2e,_0x2d6c67[_0x1e1cec(0x169)]);if(!_0x2abfe5||!_0x2abfe5[_0x1e1cec(0x1d0)])return;let _0x2e26fc=nt(_0x2abfe5);if(_0x2e26fc)return _0x2e26fc;}async['exportDOCXByUnitId'](_0xb9d2af){const _0xa58161=_0x23d669;return this[_0xa58161(0x1bf)](_0xb9d2af,0x1,_0x2d6c67[_0xa58161(0x169)]);}async[_0x23d669(0x1f2)](_0x5bdcb1){const _0x5b0bb3=_0x23d669;let _0xe79a4=await $e(_0x5bdcb1);return this[_0x5b0bb3(0x1fa)](_0xe79a4,_0x2d6c67[_0x5b0bb3(0x169)]);}async['importPPTXToSnapshot'](_0x22c3db){const _0x1f996f=_0x23d669;let _0x2cf6c7=await this[_0x1f996f(0x276)](_0x22c3db,_0x2d6c67[_0x1f996f(0x26c)]);if(!(!_0x2cf6c7||!_0x2cf6c7[_0x1f996f(0x1d0)]))return rt(_0x2cf6c7);}async[_0x23d669(0x1d2)](_0x17a8a2){const _0x10c00a=_0x23d669;return this[_0x10c00a(0x1bf)](_0x17a8a2,0x1,_0x2d6c67[_0x10c00a(0x26c)]);}async[_0x23d669(0x1c2)](_0x1cb24a){const _0x14a1f2=_0x23d669;let _0x49b4e4=await et(_0x1cb24a);return this[_0x14a1f2(0x1fa)](_0x49b4e4,_0x2d6c67[_0x14a1f2(0x26c)]);}async[_0x23d669(0x23c)](_0x521906){const _0x575fd9=_0x23d669;let _0x288b70=await this[_0x575fd9(0x276)](_0x521906,_0x2d6c67[_0x575fd9(0x239)]);if(!_0x288b70)return;let _0x4d6e2a=await this[_0x575fd9(0x168)](_0x288b70);if(_0x4d6e2a)return _0x4d6e2a;}async[_0x23d669(0x224)](_0x1ab696){return this['_export'](_0x1ab696,0x1,_0x2d6c67['UNIVER_SHEET']);}async[_0x23d669(0x1fd)](_0x546df9){const _0x27b53c=_0x23d669;let _0x517167=await this[_0x27b53c(0x1dd)](_0x546df9);return this[_0x27b53c(0x1fa)](_0x517167,_0x2d6c67[_0x27b53c(0x239)]);}async[_0x23d669(0x267)](_0x535dc2,_0x17ed84){const _0x557f23=_0x23d669;var _0x56aa50,_0x914758;let _0xb2e2fd=await this[_0x557f23(0x266)](_0x535dc2);if(!_0xb2e2fd)return;let _0x56d916=await this[_0x557f23(0x24a)](_0xb2e2fd,0x1,_0x17ed84);if(!_0x56d916)return;this['_importTaskId']=_0x56d916,this[_0x557f23(0x2af)][_0x557f23(0x1fc)]();let _0x1b4dd0=await this[_0x557f23(0x2af)][_0x557f23(0x28b)](_0x56d916)[_0x557f23(0x2b0)](_0xa0a543=>{const _0x4433e1=_0x557f23;var _0x47792b;let _0x7de22=_0xa0a543 instanceof Error?_0xa0a543[_0x4433e1(0x21e)]:(_0x47792b=_0xa0a543[_0x4433e1(0x293)])==null?void 0x0:_0x47792b[_0x4433e1(0x21e)];this[_0x4433e1(0x2c5)][_0x4433e1(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x7de22||''},'state':0x3});});if(!_0x1b4dd0)return;let _0x218637=(_0x56aa50=_0x1b4dd0['import'])==null?void 0x0:_0x56aa50['outputType'],_0x5912f3=((_0x914758=_0x1b4dd0[_0x557f23(0x296)])==null?void 0x0:_0x914758[_0x557f23(0x17c)])||'';if(_0x218637!==0x1){this[_0x557f23(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x235)},'state':0x3});return;}if(_0x5912f3[_0x557f23(0x1ed)]===0x0){this[_0x557f23(0x2c5)][_0x557f23(0x21f)]({'error':{'code':_0x18b2f3[_0x557f23(0x172)],'message':_0x557f23(0x24d)},'state':0x3});return;}return this['_requestState$'][_0x557f23(0x21f)]({'error':_0x1b4dd0[_0x557f23(0x293)],'state':0x3}),_0x5912f3;}async['importFileToJson'](_0x4f2b6c,_0xd6e77a){return this['_importToJson'](_0x4f2b6c,_0xd6e77a);}async['importWorkbookDataToUnitId'](_0x110e70){const _0x2aec08=_0x23d669;let _0x34a966=await this[_0x2aec08(0x1dd)](_0x110e70),_0x2f8ae2=typeof _0x110e70['id']=='string'&&_0x110e70['id'][_0x2aec08(0x171)]()?_0x110e70['id'][_0x2aec08(0x171)]()+_0x2aec08(0x2c1):'workbook.json',_0x110ea6=new File([JSON[_0x2aec08(0x205)](_0x34a966)],_0x2f8ae2,{'type':_0x2aec08(0x221)});return this[_0x2aec08(0x267)](_0x110ea6,_0x2d6c67[_0x2aec08(0x239)]);}['interruptImportTask'](){const _0x44201d=_0x23d669;this[_0x44201d(0x2c6)]&&this[_0x44201d(0x2af)][_0x44201d(0x1ab)](this[_0x44201d(0x2c6)]);}async[_0x23d669(0x1e2)](_0x23b49a,_0x297fb3){const _0x65ad9e=_0x23d669;var _0x31075c,_0x495999;let _0x4fa8bb=await this['_upload'](_0x23b49a);if(!_0x4fa8bb)return;let _0xfa8155=await this[_0x65ad9e(0x24a)](_0x4fa8bb,0x2,_0x297fb3);if(!_0xfa8155)return;this[_0x65ad9e(0x2c6)]=_0xfa8155,this['_requestService'][_0x65ad9e(0x1fc)]();let _0x308ac4=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x28b)](_0xfa8155)[_0x65ad9e(0x2b0)](_0x40ba0e=>{const _0x543748=_0x65ad9e;var _0x55f1d1;let _0x5ddac0=_0x40ba0e instanceof Error?_0x40ba0e[_0x543748(0x21e)]:(_0x55f1d1=_0x40ba0e['error'])==null?void 0x0:_0x55f1d1['message'];this[_0x543748(0x2c5)][_0x543748(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x5ddac0||''},'state':0x3});});if(!_0x308ac4)return;let _0x4ba2a2=(_0x31075c=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x31075c[_0x65ad9e(0x22c)],_0x2a67c8=((_0x495999=_0x308ac4[_0x65ad9e(0x296)])==null?void 0x0:_0x495999[_0x65ad9e(0x269)])||'';if(_0x4ba2a2!==0x2){this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x235)},'state':0x3});return;}if(_0x2a67c8[_0x65ad9e(0x1ed)]===0x0){this['_requestState$']['next']({'error':{'code':_0x18b2f3[_0x65ad9e(0x172)],'message':_0x65ad9e(0x29b)},'state':0x3});return;}this['_requestState$'][_0x65ad9e(0x21f)]({'error':_0x308ac4[_0x65ad9e(0x293)],'state':0x3});let _0x37ec96=await this[_0x65ad9e(0x231)](_0x2a67c8);if(!_0x37ec96)return;let _0x55d85a=await this[_0x65ad9e(0x2af)][_0x65ad9e(0x243)](_0x37ec96);if(!_0x55d85a){this[_0x65ad9e(0x2c5)][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1b1)},'state':0x5});return;}try{let _0x44b6c9=JSON[_0x65ad9e(0x201)](_0x55d85a);return this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':'success'},'state':0x5}),_0x44b6c9;}catch{this['_requestState$'][_0x65ad9e(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x65ad9e(0x1cc)},'state':0x5});}}async[_0x23d669(0x1fa)](_0x284dd2,_0x198522){const _0x36bc6c=_0x23d669;let _0x2b4944=JSON[_0x36bc6c(0x205)](_0x284dd2),_0xce7257=_0x493234[_0x36bc6c(0x1ac)](_0x2b4944),_0x11d479=_0x2b1f2b(_0xce7257),_0x4c4478=_0xce7257[_0x36bc6c(0x1ed)],_0x454e5d=Ke(_0x11d479),_0x423241=await this[_0x36bc6c(0x266)](_0x454e5d,_0x4c4478,!0x0);if(_0x423241)return this[_0x36bc6c(0x1bf)](_0x423241,0x2,_0x198522);}async[_0x23d669(0x1bf)](_0x4d07be,_0x525f89,_0x3ce77d){const _0x1adb94=_0x23d669;var _0x3b6d7e;let _0x2663dd=await this['_requestService']['export']({'unitID':_0x525f89===0x1?_0x4d07be:'','jsonID':_0x525f89===0x2?_0x4d07be:'','type':_0x3ce77d,'useImageUrl':this[_0x1adb94(0x220)](),'ignoreTableExport':this[_0x1adb94(0x29f)]()});if(!_0x2663dd){this['_requestState$'][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'export\x20error'},'state':0x2});return;}if(this['_requestState$'][_0x1adb94(0x21f)]({'error':_0x2663dd['error'],'state':0x2}),_0x2663dd[_0x1adb94(0x293)]&&_0x2663dd[_0x1adb94(0x293)][_0x1adb94(0x1f6)]!==_0x18b2f3['OK'])return;let _0x149e8f=_0x2663dd[_0x1adb94(0x27c)],_0x4d01c8=await this['_requestService'][_0x1adb94(0x28b)](_0x149e8f)[_0x1adb94(0x2b0)](_0x373a17=>{const _0x38bd9c=_0x1adb94;var _0x17f930;let _0x25a26f=_0x373a17 instanceof Error?_0x373a17[_0x38bd9c(0x21e)]:(_0x17f930=_0x373a17[_0x38bd9c(0x293)])==null?void 0x0:_0x17f930[_0x38bd9c(0x21e)];this[_0x38bd9c(0x2c5)]['next']({'error':{'code':_0x18b2f3[_0x38bd9c(0x172)],'message':_0x25a26f||''},'state':0x3});});if(!_0x4d01c8)return;let _0x4a6ef4=((_0x3b6d7e=_0x4d01c8[_0x1adb94(0x26a)])==null?void 0x0:_0x3b6d7e[_0x1adb94(0x282)])||'';if(_0x4a6ef4[_0x1adb94(0x1ed)]===0x0){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['UNRECOGNIZED'],'message':_0x1adb94(0x1d1)},'state':0x3});return;}this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':_0x4d01c8[_0x1adb94(0x293)],'state':0x3});let _0x56be3e=await this[_0x1adb94(0x231)](_0x4a6ef4);if(!_0x56be3e)return;let _0x286084=await H(_0x56be3e,this[_0x1adb94(0x181)]);if(!_0x286084){this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3[_0x1adb94(0x172)],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this[_0x1adb94(0x2c5)][_0x1adb94(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x1adb94(0x1aa)},'state':0x6}),_0x286084;}async[_0x23d669(0x266)](_0x426f2b,_0x3b44b1,_0x42d751){const _0x720183=_0x23d669;let _0x37d7c9;try{_0x37d7c9=await this[_0x720183(0x2af)][_0x720183(0x2bb)](_0x426f2b,_0x3b44b1,_0x42d751);}catch(_0x216ea4){let _0x452deb=_0x216ea4 instanceof Error?_0x216ea4[_0x720183(0x21e)]:String(_0x216ea4);this['_requestState$'][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x452deb},'state':0x0});return;}if(!_0x37d7c9||typeof _0x37d7c9['FileId']!=_0x720183(0x1a8)){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x216)},'state':0x0});return;}let _0xc7a435=_0x37d7c9['FileId'];if(_0xc7a435[_0x720183(0x1ed)]===0x0){this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3[_0x720183(0x172)],'message':_0x720183(0x1ae)},'state':0x0});return;}return this[_0x720183(0x2c5)][_0x720183(0x21f)]({'error':{'code':_0x18b2f3['OK'],'message':_0x720183(0x1aa)},'state':0x0}),_0xc7a435;}async[_0x23d669(0x24a)](_0xcbb723,_0x590f42,_0x34520d){const _0x2d8ef0=_0x23d669;let _0x56d45a={'fileID':_0xcbb723,'type':_0x34520d,'outputType':_0x590f42,'fileUrl':'','minSheetRowCount':this['_getMinSheetRowCount'](),'minSheetColumnCount':this[_0x2d8ef0(0x1ad)]()},_0x59b88f=await this['_requestService'][_0x2d8ef0(0x296)](_0x56d45a);if(!_0x59b88f){this['_requestState$'][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x2ae)},'state':0x1});return;}if(_0x59b88f['error']&&_0x59b88f[_0x2d8ef0(0x293)][_0x2d8ef0(0x1f6)]!==_0x18b2f3['OK']){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':_0x59b88f['error'],'state':0x1});return;}let _0xa52280=_0x59b88f[_0x2d8ef0(0x27c)];if(_0xa52280[_0x2d8ef0(0x1ed)]===0x0){this[_0x2d8ef0(0x2c5)][_0x2d8ef0(0x21f)]({'error':{'code':_0x18b2f3[_0x2d8ef0(0x172)],'message':_0x2d8ef0(0x1db)},'state':0x1});return;}return this[_0x2d8ef0(0x2c5)]['next']({'error':_0x59b88f[_0x2d8ef0(0x293)],'state':0x1}),_0xa52280;}async[_0x23d669(0x231)](_0x4e219e){const _0x348913=_0x23d669;let _0x5854b9=await this[_0x348913(0x2af)][_0x348913(0x230)](_0x4e219e);if(!_0x5854b9){this['_requestState$'][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}if(_0x5854b9[_0x348913(0x293)]&&_0x5854b9[_0x348913(0x293)]['code']!==_0x18b2f3['OK']){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':_0x5854b9[_0x348913(0x293)],'state':0x4});return;}let _0xb6d441=_0x1c36ea(_0x5854b9[_0x348913(0x23a)],this['_getDownloadEndpointURL']());if(_0xb6d441[_0x348913(0x1ed)]===0x0){this[_0x348913(0x2c5)][_0x348913(0x21f)]({'error':{'code':_0x18b2f3[_0x348913(0x172)],'message':_0x348913(0x281)},'state':0x4});return;}return this[_0x348913(0x2c5)]['next']({'error':_0x5854b9[_0x348913(0x293)],'state':0x4}),_0xb6d441;}[_0x23d669(0x29a)](){const _0x439729=_0x23d669;var _0x28c070;let _0x561575=this[_0x439729(0x275)][_0x439729(0x190)](T);return(_0x28c070=_0x561575==null?void 0x0:_0x561575[_0x439729(0x251)])==null?location[_0x439729(0x183)]:_0x28c070;}[_0x23d669(0x23d)](){const _0x440e97=_0x23d669;var _0x5e47c6,_0xec36b7;let _0x139b25=this[_0x440e97(0x275)]['getConfig'](T);return(_0x5e47c6=_0x139b25==null||(_0xec36b7=_0x139b25[_0x440e97(0x250)])==null?void 0x0:_0xec36b7[_0x440e97(0x19a)])==null?0x1:_0x5e47c6;}['_getMinSheetColumnCount'](){const _0x2b33ed=_0x23d669;var _0x160dae,_0x4e9725;let _0x39bc62=this[_0x2b33ed(0x275)][_0x2b33ed(0x190)](T);return(_0x160dae=_0x39bc62==null||(_0x4e9725=_0x39bc62[_0x2b33ed(0x250)])==null?void 0x0:_0x4e9725[_0x2b33ed(0x1d4)])==null?0x1:_0x160dae;}[_0x23d669(0x220)](){const _0x4b6ddd=_0x23d669;var _0x164915,_0x5144e9;let _0xf194a7=this['_configService'][_0x4b6ddd(0x190)](T);return(_0x164915=_0xf194a7==null||(_0x5144e9=_0xf194a7[_0x4b6ddd(0x250)])==null?void 0x0:_0x5144e9[_0x4b6ddd(0x1b3)])==null?!0x0:_0x164915;}[_0x23d669(0x29f)](){const _0x34f43a=_0x23d669;var _0x2e6dc0,_0x440701;let _0x3ce428=this[_0x34f43a(0x275)][_0x34f43a(0x190)](T);return(_0x2e6dc0=_0x3ce428==null||(_0x440701=_0x3ce428['options'])==null?void 0x0:_0x440701[_0x34f43a(0x22b)])==null?!0x1:_0x2e6dc0;}};Y=D([E(0x0,_0x3d8792),E(0x1,_0x4a5a40(_0x4d8820)),E(0x2,_0x4a5a40(W))],Y);const it={'done':0x0,'count':0x0},X=_0x80f77a('univer-pro.exchange-client.operate.service');let Z=class extends _0x52bca0{constructor(_0x3d1142,_0x433c18,_0x5c213e,_0x201175,_0x26539f,_0x13385d,_0x1d7701){const _0x1d9087=_0x23d669;super(),this[_0x1d9087(0x1b0)]=_0x3d1142,this[_0x1d9087(0x1b7)]=_0x433c18,this[_0x1d9087(0x252)]=_0x5c213e,this[_0x1d9087(0x2a6)]=_0x201175,this[_0x1d9087(0x1e1)]=_0x26539f,this[_0x1d9087(0x226)]=_0x13385d,this[_0x1d9087(0x295)]=_0x1d7701,A(this,_0x1d9087(0x1e4),new _0x27b5e3(it)),A(this,_0x1d9087(0x182),this[_0x1d9087(0x1e4)][_0x1d9087(0x2b2)]()),A(this,_0x1d9087(0x189),0x0),A(this,_0x1d9087(0x2a5),0x0),this[_0x1d9087(0x1d6)](_0x3fea9b(this[_0x1d9087(0x2a6)][_0x1d9087(0x185)][_0x1d9087(0x1d7)](_0x3b1778=>{const _0x3880aa=_0x1d9087;var _0x280dcf;((_0x280dcf=_0x3b1778['error'])==null?void 0x0:_0x280dcf[_0x3880aa(0x1f6)])===_0x18b2f3['OK']?this['_addDoneTask'](0x1):this[_0x3880aa(0x286)](_0x3b1778[_0x3880aa(0x293)]);})));}['interrupt'](){const _0x5ef8a0=_0x23d669;this['_clearProgress'](),this['_uploadNotificationService'][_0x5ef8a0(0x1b4)](0x2),this['_exchangeService'][_0x5ef8a0(0x1a3)]();}async['uploadFileToUnitId'](_0x198f8d){const _0x4b5046=_0x23d669;throw Error(_0x4b5046(0x1dc));}async[_0x23d669(0x1ee)](){const _0x10e950=_0x23d669;let _0x36d7cb=this[_0x10e950(0x1b0)][_0x10e950(0x204)]();switch(_0x36d7cb?this[_0x10e950(0x1b0)]['getUnitType'](_0x36d7cb['getUnitId']()):_0x2d6c67['UNRECOGNIZED']){case _0x2d6c67[_0x10e950(0x26c)]:return this[_0x10e950(0x210)]();case _0x2d6c67[_0x10e950(0x169)]:return this['importDOCXToUnitId']();case _0x2d6c67['UNIVER_SHEET']:default:return this[_0x10e950(0x255)]();}}async[_0x23d669(0x27d)](){const _0x5c7eb6=_0x23d669;let _0x3e9194=await V([_0x2d6c67[_0x5c7eb6(0x169)]]);if(_0x3e9194&&!this[_0x5c7eb6(0x175)](_0x3e9194,_0x2d6c67['UNIVER_DOC']))return this[_0x5c7eb6(0x179)](_0x3e9194[0x0],_0x2d6c67[_0x5c7eb6(0x169)]);}['importDOCXToSnapshot'](){throw Error('Method\x20not\x20implemented.');}async[_0x23d669(0x242)](_0x2f0e0c,_0x1b7efc,_0x2521ba){const _0x5a6c36=_0x23d669;this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x222)]);let _0x4af797=await this[_0x5a6c36(0x2a6)][_0x5a6c36(0x242)](_0x2f0e0c||this[_0x5a6c36(0x272)]());_0x4af797&&(this[_0x5a6c36(0x2a6)][_0x5a6c36(0x1b6)](_0x4af797,_0x1b7efc||this[_0x5a6c36(0x254)](_0x4af797),_0x5a6c36(0x184)),this[_0x5a6c36(0x16f)](_0x2849b7[_0x5a6c36(0x290)]));}async[_0x23d669(0x1f2)](){const _0x512397=_0x23d669;this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x222)]);let _0x1b7e35=await this[_0x512397(0x217)](),_0x535e50=await this['_exchangeService'][_0x512397(0x1f2)](_0x1b7e35);_0x535e50&&(this[_0x512397(0x2a6)]['downloadFile'](_0x535e50,this[_0x512397(0x254)](_0x535e50),_0x512397(0x184)),this[_0x512397(0x16f)](_0x2849b7[_0x512397(0x290)]));}async[_0x23d669(0x210)](){const _0x328bfe=_0x23d669;if(this[_0x328bfe(0x17b)]()){this['_messageService'][_0x328bfe(0x1e3)]({'type':_0x2849b7['Warning'],'content':this[_0x328bfe(0x252)]['t']('exchange-client.uploading')});return;}let _0x3b6e4b=await V([_0x2d6c67[_0x328bfe(0x26c)]]);if(_0x3b6e4b&&!this[_0x328bfe(0x175)](_0x3b6e4b,_0x2d6c67[_0x328bfe(0x26c)]))return this['_importFileToUnitId'](_0x3b6e4b[0x0],_0x2d6c67[_0x328bfe(0x26c)]);}async[_0x23d669(0x18a)](){const _0x55fd25=_0x23d669;if(this['_uploadTaskNotDone']()){this[_0x55fd25(0x1b7)][_0x55fd25(0x1e3)]({'type':_0x2849b7[_0x55fd25(0x1de)],'content':this['_localeService']['t']('exchange-client.uploading')});return;}let _0x257070=await V([_0x2d6c67['UNIVER_SLIDE']]);if(!_0x257070)return;this['_showUploadMessage'](_0x2849b7[_0x55fd25(0x222)]);let _0x5f2138=await this[_0x55fd25(0x2a6)]['importPPTXToSnapshot'](_0x257070[0x0]);_0x5f2138&&(this[_0x55fd25(0x20c)](_0x5f2138),this['_showUploadMessage'](_0x2849b7['Success']));}async[_0x23d669(0x1d2)](_0x12aa3d,_0x222d1c,_0x2b3a95){const _0x119208=_0x23d669;this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x222)]);let _0xfa760e=await this['_exchangeService'][_0x119208(0x1d2)](_0x12aa3d||this[_0x119208(0x17e)]());_0xfa760e&&(this[_0x119208(0x2a6)][_0x119208(0x1b6)](_0xfa760e,_0x222d1c||this[_0x119208(0x1cd)](_0xfa760e,_0x2b3a95==null?_0x2d6c67[_0x119208(0x26c)]:_0x2b3a95),_0x119208(0x236)),this[_0x119208(0x16f)](_0x2849b7[_0x119208(0x290)]));}async[_0x23d669(0x1c2)](){const _0x5d9148=_0x23d669;this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x222)]);let _0x41adbc=await this[_0x5d9148(0x261)](),_0x2fa52e=await this['_exchangeService'][_0x5d9148(0x1c2)](_0x41adbc);_0x2fa52e&&(this[_0x5d9148(0x2a6)]['downloadFile'](_0x2fa52e,this[_0x5d9148(0x1cd)](_0x2fa52e,_0x2d6c67[_0x5d9148(0x26c)]),_0x5d9148(0x236)),this[_0x5d9148(0x16f)](_0x2849b7[_0x5d9148(0x290)]));}async[_0x23d669(0x255)](){const _0x4e8929=_0x23d669;if(this[_0x4e8929(0x17b)]()){this[_0x4e8929(0x1b7)][_0x4e8929(0x1e3)]({'type':_0x2849b7[_0x4e8929(0x1de)],'content':this['_localeService']['t'](_0x4e8929(0x1a2))});return;}let _0x4d6ccc=await V([_0x2d6c67[_0x4e8929(0x239)]]);if(_0x4d6ccc&&!this[_0x4e8929(0x175)](_0x4d6ccc,_0x2d6c67[_0x4e8929(0x239)]))return this[_0x4e8929(0x179)](_0x4d6ccc[0x0],_0x2d6c67[_0x4e8929(0x239)]);}async['importXLSXToSnapshot'](){const _0x59b341=_0x23d669;if(this[_0x59b341(0x17b)]()){this[_0x59b341(0x1b7)]['show']({'type':_0x2849b7[_0x59b341(0x1de)],'content':this[_0x59b341(0x252)]['t'](_0x59b341(0x1a2))});return;}let _0x31648e=await V([_0x2d6c67[_0x59b341(0x239)]]);if(!_0x31648e)return;this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x222)]);let _0x5388c4=await this['_exchangeService'][_0x59b341(0x23c)](_0x31648e[0x0]);_0x5388c4&&(this['_refresh'](_0x5388c4),this[_0x59b341(0x202)](_0x2849b7[_0x59b341(0x290)]));}async[_0x23d669(0x224)](_0x3aa45e,_0x2899c7,_0x564067){const _0x23a693=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x23a693(0x222)]);let _0x495dbb=await this['_exchangeService'][_0x23a693(0x224)](_0x3aa45e||this[_0x23a693(0x223)]());_0x495dbb&&(this[_0x23a693(0x2a6)]['downloadFile'](_0x495dbb,_0x2899c7||this[_0x23a693(0x254)](_0x495dbb),_0x23a693(0x22f)),this[_0x23a693(0x16f)](_0x2849b7['Success']));}async['exportXLSXBySnapshot'](){const _0x43034a=_0x23d669;this['_showDownloadMessage'](_0x2849b7[_0x43034a(0x222)]);let _0x4ae6a2=await this[_0x43034a(0x199)](),_0x57bb3e=await this[_0x43034a(0x2a6)][_0x43034a(0x1fd)](_0x4ae6a2);_0x57bb3e&&(this['_exchangeService'][_0x43034a(0x1b6)](_0x57bb3e,this[_0x43034a(0x254)](_0x57bb3e),'xlsx'),this[_0x43034a(0x16f)](_0x2849b7[_0x43034a(0x290)]));}[_0x23d669(0x240)](_0x460eec){const _0x3741b7=_0x23d669;this[_0x3741b7(0x1a5)]=_0x460eec;}async[_0x23d669(0x179)](_0x4c117a,_0x5333e7){const _0x2695a4=_0x23d669;this[_0x2695a4(0x1e1)][_0x2695a4(0x1e3)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x0),this[_0x2695a4(0x2ab)](0x4),this[_0x2695a4(0x18f)](0x1);let _0x3deadc=await this[_0x2695a4(0x2a6)][_0x2695a4(0x267)](_0x4c117a,_0x5333e7);if(!_0x3deadc){this[_0x2695a4(0x278)](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x2);return;}let _0x5b7149={'link':this[_0x2695a4(0x1a5)](_0x3deadc,_0x5333e7),'name':_0x4c117a[_0x2695a4(0x265)],'type':_0x5333e7};return this[_0x2695a4(0x1e1)][_0x2695a4(0x1bd)](_0x5b7149),this['_completeProgress'](),this[_0x2695a4(0x1e1)][_0x2695a4(0x1b4)](0x1),_0x3deadc;}[_0x23d669(0x223)](){const _0x1b86f8=_0x23d669;return this[_0x1b86f8(0x1b0)][_0x1b86f8(0x26e)](_0x2d6c67[_0x1b86f8(0x239)])[_0x1b86f8(0x268)]();}['_getUnitIDDoc'](){const _0x2c194b=_0x23d669;return this['_univerInstanceService']['getCurrentUnitOfType'](_0x2d6c67['UNIVER_DOC'])[_0x2c194b(0x268)]();}[_0x23d669(0x17e)](){const _0x196a67=_0x23d669;return this[_0x196a67(0x1b0)][_0x196a67(0x26e)](_0x2d6c67['UNIVER_SLIDE'])[_0x196a67(0x268)]();}[_0x23d669(0x254)](_0x50d594){const _0x2829d=_0x23d669;return this[_0x2829d(0x1cd)](_0x50d594,_0x2d6c67['UNIVER_SHEET']);}[_0x23d669(0x1cd)](_0x1f53b5,_0x52b0c6){const _0x310794=_0x23d669;var _0x5178ed;let _0x4bd5a2=(_0x5178ed=this[_0x310794(0x1b0)][_0x310794(0x26e)](_0x52b0c6))==null?void 0x0:_0x5178ed[_0x310794(0x259)](),_0xcfe4e=_0x4bd5a2==null?void 0x0:_0x4bd5a2[_0x310794(0x265)];return typeof _0xcfe4e==_0x310794(0x1a8)&&_0xcfe4e['trim']()?_0xcfe4e:_0x1f53b5[_0x310794(0x265)]['split']('.')[_0x310794(0x1fb)]()||document[_0x310794(0x28d)];}async[_0x23d669(0x199)](){const _0x4af984=_0x23d669;return this[_0x4af984(0x1b0)][_0x4af984(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x4af984(0x259)]();}async[_0x23d669(0x217)](){const _0x382625=_0x23d669;return this['_univerInstanceService'][_0x382625(0x26e)](_0x2d6c67[_0x382625(0x169)])['getSnapshot']();}async[_0x23d669(0x261)](){const _0x195a26=_0x23d669;let _0x47409c=this[_0x195a26(0x1b0)]['getCurrentUnitOfType'](_0x2d6c67[_0x195a26(0x26c)]),_0x4cfa94=this[_0x195a26(0x295)][_0x195a26(0x193)](_0x47409c[_0x195a26(0x268)]());return _0x4cfa94==null?_0x47409c[_0x195a26(0x259)]():_0x4cfa94;}[_0x23d669(0x1a5)](_0x3c4b72,_0x5e2008){const _0x25b605=_0x23d669;let _0xb54fad=new URL(window[_0x25b605(0x1af)][_0x25b605(0x1f0)]);return _0xb54fad[_0x25b605(0x174)]['set']('unit',_0x3c4b72),_0xb54fad[_0x25b605(0x174)][_0x25b605(0x1f3)](_0x25b605(0x2a4),''+_0x5e2008),_0xb54fad[_0x25b605(0x19e)]();}[_0x23d669(0x1a7)](_0x165ed){const _0x10fc1a=_0x23d669;let _0x55c4a3=this[_0x10fc1a(0x1b0)][_0x10fc1a(0x26e)](_0x2d6c67['UNIVER_SHEET'])[_0x10fc1a(0x268)]();this[_0x10fc1a(0x1b0)]['disposeUnit'](_0x55c4a3),this[_0x10fc1a(0x1b0)][_0x10fc1a(0x1f1)](_0x2d6c67[_0x10fc1a(0x239)],_0x165ed);}['_refreshSlide'](_0x3ab6ba){const _0x244689=_0x23d669;let _0xf0abe3=this[_0x244689(0x1b0)][_0x244689(0x26e)](_0x2d6c67[_0x244689(0x26c)])[_0x244689(0x268)]();this[_0x244689(0x1b0)]['disposeUnit'](_0xf0abe3),this[_0x244689(0x1b0)][_0x244689(0x1f1)](_0x2d6c67[_0x244689(0x26c)],_0x3ab6ba);}[_0x23d669(0x286)](_0x2a8221){const _0x7b98c=_0x23d669;if(_0x2a8221){let {code:_0x4622ac}=_0x2a8221;switch(_0x4622ac){case _0x18b2f3[_0x7b98c(0x262)]:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x288))});break;case _0x18b2f3[_0x7b98c(0x191)]:this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x17a))});break;default:this[_0x7b98c(0x1b7)]['show']({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t'](_0x7b98c(0x1c9))});break;}return null;}return this[_0x7b98c(0x1b7)][_0x7b98c(0x1e3)]({'type':_0x2849b7[_0x7b98c(0x186)],'content':this[_0x7b98c(0x252)]['t']('exchange-client.networkError')}),null;}['_showDownloadMessage'](_0xa388f){const _0x10e0ec=_0x23d669;let _0x45ddf1='';switch(_0xa388f){case _0x2849b7[_0x10e0ec(0x290)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloadSuccess');break;case _0x2849b7[_0x10e0ec(0x222)]:_0x45ddf1=this['_localeService']['t']('exchange-client.downloading');break;default:break;}this['_messageService']['show']({'type':_0xa388f,'content':_0x45ddf1});}['_showUploadMessage'](_0x2129b2){const _0x3da9d2=_0x23d669;let _0x13bdb0='';switch(_0x2129b2){case _0x2849b7[_0x3da9d2(0x290)]:_0x13bdb0=this['_localeService']['t'](_0x3da9d2(0x18e));break;case _0x2849b7[_0x3da9d2(0x222)]:_0x13bdb0=this[_0x3da9d2(0x252)]['t']('exchange-client.uploading');break;default:break;}this[_0x3da9d2(0x1b7)][_0x3da9d2(0x1e3)]({'type':_0x2129b2,'content':_0x13bdb0});}[_0x23d669(0x21b)](){const _0x235c24=_0x23d669;this[_0x235c24(0x1e4)]['next']({'done':this[_0x235c24(0x2a5)],'count':this[_0x235c24(0x189)]});}['_addTotalCount'](_0x164d54){const _0x440fa9=_0x23d669;this[_0x440fa9(0x189)]+=_0x164d54,this['_emitProgress']();}['_addDoneTask'](_0x1ff2b4){const _0x4e5b84=_0x23d669;this[_0x4e5b84(0x2a5)]+=_0x1ff2b4,this[_0x4e5b84(0x2a5)]=Math[_0x4e5b84(0x2a2)](this[_0x4e5b84(0x2a5)],this[_0x4e5b84(0x189)]),this[_0x4e5b84(0x21b)]();}[_0x23d669(0x1c1)](){const _0x2efdf3=_0x23d669;this[_0x2efdf3(0x2a5)]=this['_totalUploadTaskCount'],this[_0x2efdf3(0x21b)]();}[_0x23d669(0x278)](){const _0x2ab693=_0x23d669;this[_0x2ab693(0x2a5)]=0x0,this[_0x2ab693(0x189)]=0x0,this[_0x2ab693(0x21b)]();}[_0x23d669(0x175)](_0x5b490f,_0x189892){const _0x14e080=_0x23d669;let _0x111ac8=_0x5b490f[0x0],_0x19a475=_0x111ac8[_0x14e080(0x265)];return He(_0x111ac8)===_0x189892?!0x1:(this['_messageService'][_0x14e080(0x1e3)]({'type':_0x2849b7[_0x14e080(0x186)],'content':this[_0x14e080(0x252)]['t'](_0x14e080(0x2b7),_0x19a475)}),!0x0);}[_0x23d669(0x17b)](){const _0x56880c=_0x23d669;return this['_totalUploadTaskCount']!==0x0&&this[_0x56880c(0x2a5)]!==this[_0x56880c(0x189)];}};Z=D([E(0x0,_0x4a5a40(_0x5339d7)),E(0x1,_0x314cf6),E(0x2,_0x4a5a40(_0x272894)),E(0x3,_0x4a5a40(J)),E(0x4,_0x4a5a40(j)),E(0x5,_0x3a0011),E(0x6,_0x4a5a40(_0x157fb9))],Z);function at(_0x1bfa6a){const _0x5e6863=_0x23d669;let {onClick:_0x20928a,children:_0xc6debb,className:_0x4a93f0}=_0x1bfa6a;return _0x44e330(_0x5e6863(0x1c3),{'className':_0x4079bb(_0x5e6863(0x1a6),_0x4a93f0),'type':_0x5e6863(0x1c3),'onClick':_0x20928a,'children':_0xc6debb});}function ot(){const _0x867327=_0x23d669;let _0x3e9e8a=_0x34ce1b(X),_0x531745=_0x34ce1b(_0x272894);function _0x3f0776(){_0x3e9e8a['importFileToUnitIdByCurrentType']();}return _0x44e330(at,{'onClick':_0x3f0776,'children':_0x531745['t'](_0x867327(0x1ea))});}function st(){const _0x446545=_0x23d669;return _0x4de0df(_0x446545(0x203),{'className':_0x446545(0x1f8),'children':[_0x44e330(_0x446545(0x246),{'className':_0x446545(0x25f),'children':_0x34ce1b(_0x272894)['t'](_0x446545(0x29e))}),_0x44e330(ot,{})]});}function ct(_0x483d15){const _0x3f5d6b=_0x23d669;let {count:_0x24ea75}=_0x483d15;return _0x4de0df(_0x3f5d6b(0x203),{'className':_0x3f5d6b(0x1b8),'children':[_0x44e330('span',{'className':_0x3f5d6b(0x1e9),'children':_0x34ce1b(_0x272894)['t']('exchange-client.uploadSuccessTip',''+_0x24ea75)}),_0x44e330(ot,{})]});}function lt(){let _0x2efb40=_0x34ce1b(X),_0x2aa39d=_0x34ce1b(_0x272894);function _0x568d4a(){const _0x3e08f6=_0x1e38;_0x2efb40[_0x3e08f6(0x1e6)]();}return _0x44e330(at,{'onClick':_0x568d4a,'children':_0x2aa39d['t']('exchange-client.cancel')});}function ut(){const _0xaff6fc=_0x23d669;let {count:_0x48cf18,done:_0x3abac2}=_0xe4fe28(_0x34ce1b(X)[_0xaff6fc(0x182)]),_0x4428ba=_0x48cf18>0x0?_0x3abac2/_0x48cf18:0x0;return _0x44e330('div',{'className':_0xaff6fc(0x283),'children':_0x44e330(_0xaff6fc(0x203),{'className':_0xaff6fc(0x19c),'style':{'width':Math[_0xaff6fc(0x1be)](_0x4428ba*0x64)+'%'}})});}function dt(){const _0x1007b8=_0x23d669;return _0x4de0df(_0x1007b8(0x203),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[_0x44e330(_0x1007b8(0x246),{'className':_0x1007b8(0x2a3),'children':_0x34ce1b(_0x272894)['t'](_0x1007b8(0x197))}),_0x44e330(_0x1007b8(0x203),{'className':_0x1007b8(0x1f5),'children':_0x44e330(ut,{})}),_0x44e330(lt,{})]});}const ft={0x1:_0x44e330(_0x3e9272,{'className':_0x23d669(0x24e)}),0x0:_0x44e330(_0x2706de,{'className':'univer-text-blue-500'}),0x2:_0x44e330(_0x24fa5b,{'className':_0x23d669(0x1c0)})};function pt(){const _0x493c50=_0x23d669;let _0x270a81=_0x34ce1b(j),_0x4eda31=_0x34ce1b(_0x272894),_0x49b397=_0xe4fe28(_0x270a81['state$'],0x0),_0x48d080=_0xe4fe28(_0x270a81[_0x493c50(0x23b)],!0x1),_0x52ae50=_0xe4fe28(_0x270a81[_0x493c50(0x1c5)],[]);function _0x1e766e(){const _0x4c30fa=_0x493c50;_0x270a81[_0x4c30fa(0x256)]();}function _0x4ce4f7(_0x3a76bd){const _0x2a1af6=_0x493c50;switch(_0x3a76bd){case 0x1:return _0x4eda31['t'](_0x2a1af6(0x18e));case 0x0:return _0x4eda31['t'](_0x2a1af6(0x1a2));case 0x2:return _0x4eda31['t']('exchange-client.unknownMistake');default:return'';}}return _0x48d080&&_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x1c4),'children':[_0x4de0df(_0x493c50(0x203),{'className':_0x493c50(0x19b),'children':[_0x4de0df(_0x493c50(0x246),{'className':_0x493c50(0x218),'children':[_0x44e330(_0x493c50(0x246),{'className':_0x493c50(0x2b9),'children':ft[_0x49b397]}),_0x44e330(_0x493c50(0x246),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x4ce4f7(_0x49b397)})]}),_0x44e330(_0x493c50(0x246),{'className':'univer-flex\x20univer-size-6\x20univer-cursor-pointer\x20univer-items-center\x20univer-justify-center\x20univer-rounded\x20univer-border-none\x20univer-bg-transparent\x20univer-text-gray-500\x20univer-transition-colors\x20hover:univer-bg-gray-200\x20dark:!univer-bg-gray-600','onClick':_0x1e766e,'children':_0x44e330(_0x33d7e6,{})})]}),_0x4de0df(_0x493c50(0x203),{'children':[_0x49b397===0x0&&_0x44e330(dt,{}),_0x49b397===0x2&&_0x44e330(st,{}),_0x52ae50[_0x493c50(0x1ed)]>0x0&&_0x44e330(Be,{'list':_0x52ae50}),_0x49b397===0x1&&_0x44e330(ct,{'count':_0x52ae50[_0x493c50(0x1ed)]})]})]});}function mt(){return _0x44e330(pt,{});}let Q=class extends _0x52bca0{constructor(_0x461882,_0x433ba3){const _0x9435e5=_0x23d669;super(),this[_0x9435e5(0x215)]=_0x461882,this[_0x9435e5(0x1cb)]=_0x433ba3,this[_0x9435e5(0x27b)]();}[_0x23d669(0x27b)](){const _0x13fa5d=_0x23d669;this[_0x13fa5d(0x1d6)](this[_0x13fa5d(0x1cb)][_0x13fa5d(0x263)](_0x5092be[_0x13fa5d(0x20a)],()=>_0x5566e3(mt,this[_0x13fa5d(0x215)])));}};Q=D([E(0x0,_0x4a5a40(_0x567ddb)),E(0x1,_0x2ba4ee)],Q);let $=class extends _0x41f81a{constructor(_0x123845=Ie,_0x4f668b,_0x5cd3cc){const _0x12853f=_0x23d669;super(),this[_0x12853f(0x233)]=_0x123845,this[_0x12853f(0x215)]=_0x4f668b,this[_0x12853f(0x275)]=_0x5cd3cc;let {..._0x626326}=_0x4e3ddb({},Ie,this['_config']);this[_0x12853f(0x275)][_0x12853f(0x25c)](T,_0x626326);}[_0x23d669(0x274)](){const _0x28acb7=_0x23d669;_0x183bc4(this[_0x28acb7(0x215)],[[O],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[W,{'useClass':G}],[j,{'useClass':ze}]]);}['onReady'](){_0x5af7e6(this['_injector'],[[O],[Q],[X]]);}};A($,_0x23d669(0x2b4),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),A($,_0x23d669(0x212),Pe),A($,_0x23d669(0x294),Fe),$=D([_0x1569cc(_0x5408c6,_0x3e389e),E(0x1,_0x4a5a40(_0x567ddb)),E(0x2,_0x3d8792)],$);export{X as IExchangeOperateService,J as IExchangeService,$ as UniverExchangeClientPlugin,Ve as downloadFile,tt as transformSnapshotJsonToWorkbookData,Qe as transformWorkbookDataToSnapshotJson};
|
|
1
|
+
const _0x45f3e9=_0x4527;(function(_0x1b0375,_0x1d82f){const _0x367ed6=_0x4527,_0x16a427=_0x1b0375();while(!![]){try{const _0x168a39=parseInt(_0x367ed6(0x1dd))/0x1*(parseInt(_0x367ed6(0xdc))/0x2)+parseInt(_0x367ed6(0xe5))/0x3*(-parseInt(_0x367ed6(0x17a))/0x4)+-parseInt(_0x367ed6(0x16c))/0x5+-parseInt(_0x367ed6(0x15c))/0x6*(parseInt(_0x367ed6(0xd8))/0x7)+-parseInt(_0x367ed6(0xcc))/0x8+parseInt(_0x367ed6(0x155))/0x9+parseInt(_0x367ed6(0x1aa))/0xa*(parseInt(_0x367ed6(0xef))/0xb);if(_0x168a39===_0x1d82f)break;else _0x16a427['push'](_0x16a427['shift']());}catch(_0x3e1009){_0x16a427['push'](_0x16a427['shift']());}}}(_0x5d7c,0xeea04));import{UniverLicensePlugin as _0x3763f9}from'@univerjs-pro/license';import{DependentOn as _0x2ac793,Disposable as _0x49a4c5,IConfigService as _0x49b63c,ILogService as _0x45bc42,IResourceLoaderService as _0x17d5a5,IUniverInstanceService as _0x4c3d27,Inject as _0xed835d,Injector as _0x121210,LocaleService as _0x158314,Plugin as _0x18314c,UniverInstanceType as _0x674a59,createIdentifier as _0x30a9e4,merge as _0x40a5e6,registerDependencies as _0x2023be,resolveWithBasePath as _0x49dad0,toDisposable as _0x2a7b2b,touchDependencies as _0x430f0f}from'@univerjs/core';import{HTTPResponseError as _0x478445,HTTPService as _0x2c03ab,UniverNetworkPlugin as _0x30224d}from'@univerjs/network';import{ClockIcon as _0x4a290c,CloseIcon as _0xb110b7,DirectExportIcon as _0x2fbd66,DocsMultiIcon as _0x2f857c,ErrorIcon as _0x550b4d,ShareRangeIcon as _0x4bcc12,SheetsMultiIcon as _0x1a44d7,SlidesMultiIcon as _0x41952f,SuccessIcon as _0x264b61}from'@univerjs/icons';import{BuiltInUIPart as _0x1a0976,IMessageService as _0x9862e3,IUIPartsService as _0x1cecfb,IconManager as _0x4b4e12,connectInjector as _0x2d7334,useDependency as _0x4856e1,useObservable as _0x2b3ddb}from'@univerjs/ui';import{BehaviorSubject as _0x5a4c7c,Subject as _0x1a00dd}from'rxjs';import{MessageType as _0x1a6dba,Tooltip as _0x226cf3,clsx as _0x2a0c28,scrollbarClassName as _0x3aa21c}from'@univerjs/design';import{jsx as _0x21e2db,jsxs as _0x46050f}from'react/jsx-runtime';import{ErrorCode as _0x64bd4b,FileSource as _0x3124c6}from'@univerjs/protocol';import{b64DecodeUnicode as _0x3964b2,b64EncodeUnicode as _0x41833a,getSheetBlocksFromSnapshot as _0x2fe3dd,textDecoder as _0x1dc705,textEncoder as _0x5d3817,transformDocumentDataToSnapshot as _0x161649,transformSlideDataToSnapshot as _0x59e1e5,transformSnapshotToDocumentData as _0x440eaa,transformSnapshotToSlideData as _0x50faaf,transformSnapshotToWorkbookData as _0x4a57a7,transformWorkbookDataToSnapshot as _0x375333}from'@univerjs-pro/collaboration';import{deflateSync as _0x35fbd0}from'fflate';var Pe=_0x45f3e9(0xfc),Fe=_0x45f3e9(0x145);const T=_0x45f3e9(0x183),Ie={};function E(_0x4bd87c,_0x23ab35){return function(_0x1a69df,_0x4b5783){_0x23ab35(_0x1a69df,_0x4b5783,_0x4bd87c);};}function D(_0xd2d2a5,_0x43e345,_0x23d6d5,_0x5ed391){const _0x7ec339=_0x45f3e9;var _0x9bd9c6=arguments[_0x7ec339(0x9f)],_0x5ce1e5=_0x9bd9c6<0x3?_0x43e345:_0x5ed391===null?_0x5ed391=Object[_0x7ec339(0x153)](_0x43e345,_0x23d6d5):_0x5ed391,_0x26093d;if(typeof Reflect==_0x7ec339(0xb7)&&typeof Reflect['decorate']==_0x7ec339(0x196))_0x5ce1e5=Reflect['decorate'](_0xd2d2a5,_0x43e345,_0x23d6d5,_0x5ed391);else{for(var _0x269746=_0xd2d2a5[_0x7ec339(0x9f)]-0x1;_0x269746>=0x0;_0x269746--)(_0x26093d=_0xd2d2a5[_0x269746])&&(_0x5ce1e5=(_0x9bd9c6<0x3?_0x26093d(_0x5ce1e5):_0x9bd9c6>0x3?_0x26093d(_0x43e345,_0x23d6d5,_0x5ce1e5):_0x26093d(_0x43e345,_0x23d6d5))||_0x5ce1e5);}return _0x9bd9c6>0x3&&_0x5ce1e5&&Object[_0x7ec339(0x1af)](_0x43e345,_0x23d6d5,_0x5ce1e5),_0x5ce1e5;}let O=class extends _0x49a4c5{constructor(_0x6cd627){const _0x34ac34=_0x45f3e9;super(),this[_0x34ac34(0x18f)]=_0x6cd627,this['_registerIcons']();}[_0x45f3e9(0xa9)](){const _0x572017=_0x45f3e9;this[_0x572017(0xa3)](this['_iconManager'][_0x572017(0x1ac)]({'DirectExportIcon':_0x2fbd66}));}};O=D([E(0x0,_0xed835d(_0x4b4e12))],O);function k(_0x20302c){'@babel/helpers - typeof';const _0x336dd1=_0x45f3e9;return k=typeof Symbol==_0x336dd1(0x196)&&typeof Symbol[_0x336dd1(0x1a3)]=='symbol'?function(_0x5e49c1){return typeof _0x5e49c1;}:function(_0x3e242a){const _0x514e69=_0x336dd1;return _0x3e242a&&typeof Symbol=='function'&&_0x3e242a['constructor']===Symbol&&_0x3e242a!==Symbol[_0x514e69(0x1e3)]?_0x514e69(0x18e):typeof _0x3e242a;},k(_0x20302c);}function Le(_0x396eff,_0x2e7f58){const _0xd5baf8=_0x45f3e9;if(k(_0x396eff)!='object'||!_0x396eff)return _0x396eff;var _0xbd6f23=_0x396eff[Symbol['toPrimitive']];if(_0xbd6f23!==void 0x0){var _0x24aa1c=_0xbd6f23[_0xd5baf8(0xdd)](_0x396eff,_0x2e7f58||_0xd5baf8(0x189));if(k(_0x24aa1c)!=_0xd5baf8(0xb7))return _0x24aa1c;throw TypeError(_0xd5baf8(0x10c));}return(_0x2e7f58===_0xd5baf8(0xc7)?String:Number)(_0x396eff);}function Re(_0x26aaa3){const _0x6514e2=_0x45f3e9;var _0x421268=Le(_0x26aaa3,_0x6514e2(0xc7));return k(_0x421268)==_0x6514e2(0x18e)?_0x421268:_0x421268+'';}function A(_0x1ea7dd,_0x523d52,_0x160513){const _0x3868f8=_0x45f3e9;return(_0x523d52=Re(_0x523d52))in _0x1ea7dd?Object[_0x3868f8(0x1af)](_0x1ea7dd,_0x523d52,{'value':_0x160513,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1ea7dd[_0x523d52]=_0x160513,_0x1ea7dd;}const j=_0x30a9e4(_0x45f3e9(0x18c));var ze=class extends _0x49a4c5{constructor(){const _0x4096da=_0x45f3e9;super(),A(this,_0x4096da(0x1a2),new _0x1a00dd()),A(this,_0x4096da(0x1b7),new _0x1a00dd()),A(this,_0x4096da(0x161),new _0x1a00dd()),A(this,_0x4096da(0x1bf),this[_0x4096da(0x1a2)][_0x4096da(0x15e)]()),A(this,_0x4096da(0xbb),this[_0x4096da(0x1b7)]['asObservable']()),A(this,_0x4096da(0x14a),this[_0x4096da(0x161)][_0x4096da(0x15e)]()),A(this,'_list',[]);}['dispose'](){const _0x2c633c=_0x45f3e9;super[_0x2c633c(0x1cc)](),this[_0x2c633c(0x1a2)][_0x2c633c(0x152)](),this[_0x2c633c(0x1b7)]['complete'](),this['_list$'][_0x2c633c(0x152)]();}[_0x45f3e9(0x1a7)](){const _0x565773=_0x45f3e9;this[_0x565773(0x1a2)][_0x565773(0x16d)](!0x0);}[_0x45f3e9(0x1da)](){const _0x402469=_0x45f3e9;this['_visible$'][_0x402469(0x16d)](!0x1);}['updateState'](_0xa6ddfe){const _0x319dc7=_0x45f3e9;this[_0x319dc7(0x1b7)][_0x319dc7(0x16d)](_0xa6ddfe);}[_0x45f3e9(0xaa)](_0x4ba797){const _0x582ee2=_0x45f3e9;this['_list']['unshift'](_0x4ba797),this['_list$'][_0x582ee2(0x16d)](this[_0x582ee2(0x11e)]);}};function Be(_0x400353){const _0x560a6c=_0x45f3e9;let {list:_0x2902a6}=_0x400353;function _0x50e5aa(_0x2f8752){switch(_0x2f8752){case 0x1:return _0x21e2db(_0x2f857c,{});case 0x2:return _0x21e2db(_0x1a44d7,{});case 0x3:return _0x21e2db(_0x41952f,{});default:return null;}}return _0x21e2db('div',{'className':_0x2a0c28(_0x560a6c(0x124),_0x3aa21c),'children':_0x21e2db('ul',{'className':_0x560a6c(0x1b1),'children':_0x2902a6[_0x560a6c(0x1a6)]((_0xef7e31,_0x5b1ed4)=>_0x21e2db('li',{'children':_0x46050f('a',{'className':_0x560a6c(0xcb),'href':_0xef7e31[_0x560a6c(0x1c0)],'target':'_blank','rel':_0x560a6c(0x112),'children':[_0x46050f(_0x560a6c(0x178),{'className':_0x560a6c(0x106),'children':[_0x21e2db(_0x560a6c(0x178),{'className':_0x560a6c(0x1bd),'children':_0x50e5aa(_0xef7e31['type'])}),_0x21e2db(_0x226cf3,{'showIfEllipsis':!0x0,'title':_0xef7e31['name'],'asChild':!0x0,'children':_0x21e2db(_0x560a6c(0x178),{'className':_0x560a6c(0x1c8),'children':_0xef7e31['name']})})]}),_0x21e2db(_0x560a6c(0x178),{'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':_0x21e2db(_0x4bcc12,{})})]})},_0x5b1ed4))})});}const M=_0x45f3e9(0x172),N='application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',P=_0x45f3e9(0x156),F='application/vnd.openxmlformats-officedocument.spreadsheetml.template',I='application/vnd.openxmlformats-officedocument.presentationml.presentation',L='application/pdf',R={[_0x674a59['UNIVER_UNKNOWN']]:[''],[_0x674a59[_0x45f3e9(0xae)]]:[M],[_0x674a59[_0x45f3e9(0xa5)]]:[N,P,F],[_0x674a59['UNIVER_SLIDE']]:[I],[_0x674a59[_0x45f3e9(0x121)]]:[''],[_0x674a59['UNIVER_BOARD']]:[''],[_0x674a59[_0x45f3e9(0xab)]]:[''],[_0x674a59['UNIVER_PDF']]:[L],[_0x674a59[_0x45f3e9(0x97)]]:['']},z={[M]:_0x45f3e9(0x17f),[N]:_0x45f3e9(0xbd),[P]:'xlsm',[F]:'xltx',[I]:_0x45f3e9(0xed),[L]:_0x45f3e9(0x14d)};function B(_0xc6f958,_0x2d8a94,_0x52008c){const _0xd0339=_0x45f3e9;let _0x381e10=document[_0xd0339(0x120)]('a');_0x381e10[_0xd0339(0x126)]=_0xc6f958,_0x381e10[_0xd0339(0x1e6)]['display']=_0xd0339(0xde),_0x381e10['download']=_0x2d8a94+'.'+_0x52008c,document['body'][_0xd0339(0xce)](_0x381e10),_0x381e10[_0xd0339(0x143)](),document['body']['removeChild'](_0x381e10);}function Ve(_0x2bf404,_0x270b7a,_0x325d4e){const _0x461c80=_0x45f3e9;let _0x170a49=URL[_0x461c80(0x128)](_0x2bf404);B(_0x170a49,_0x270b7a,_0x325d4e),URL['revokeObjectURL'](_0x170a49);}function He(_0x24dff5){const _0x12cdd7=_0x45f3e9;let _0x47e3a8=_0x24dff5[_0x12cdd7(0x11b)]['split']('.')[_0x12cdd7(0x187)]();if(!_0x47e3a8)return _0x674a59[_0x12cdd7(0xc2)];let _0x5849fd=Ue(),_0x486ad7=_0x674a59[_0x12cdd7(0xc2)];return _0x5849fd[_0x12cdd7(0xe2)](_0x32abd5=>We(_0x47e3a8,_0x32abd5)?(_0x486ad7=_0x32abd5,!0x0):!0x1),_0x486ad7;}function Ue(){const _0x3d2753=_0x45f3e9;return Object[_0x3d2753(0x138)](_0x674a59)[_0x3d2753(0xf7)](_0x21d9c5=>typeof _0x21d9c5==_0x3d2753(0x12d));}function We(_0x58ac90,_0x8664e7){const _0x3d0218=_0x45f3e9;var _0x5711d8;return((_0x5711d8=R[_0x8664e7])==null?[]:_0x5711d8)[_0x3d0218(0x1a6)](_0x2b2313=>(z[_0x2b2313]||'')['toLowerCase']())[_0x3d0218(0xba)](_0x58ac90[_0x3d0218(0x1e1)]());}function V(_0x52d0ad,_0x35d8fd=!0x1){const _0x1eae97=_0x45f3e9;let _0x251df0=_0x52d0ad[_0x1eae97(0x1a6)](_0x550b95=>{var _0x1c8f6f;return(_0x1c8f6f=R[_0x550b95])==null?[]:_0x1c8f6f;})[_0x1eae97(0x13a)](',');return new Promise((_0x12a531,_0x207de6)=>{const _0x54c82c=_0x1eae97;let _0x289e26=document[_0x54c82c(0x120)](_0x54c82c(0x1ae));_0x289e26['type']=_0x54c82c(0x19d),_0x289e26['accept']=_0x251df0,_0x289e26[_0x54c82c(0xfe)]=_0x35d8fd,_0x289e26['addEventListener'](_0x54c82c(0x117),_0x42c128=>{const _0x2c6157=_0x54c82c;let _0xa569f2=_0x42c128[_0x2c6157(0x1b6)];if(!_0xa569f2['files']||_0xa569f2['files']['length']===0x0)throw _0x207de6(null),Error(_0x2c6157(0xd5));_0x12a531(_0xa569f2[_0x2c6157(0xe6)]);}),_0x289e26[_0x54c82c(0x143)]();});}async function H(_0x2dedfc,_0x32d889){const _0x2626f1=_0x45f3e9;try{var _0x4a4f02,_0x7395bd,_0x5085c4;let _0x36feda=await _0x32d889[_0x2626f1(0x135)](_0x2dedfc,{'responseType':_0x2626f1(0x1e0)}),_0x858a3=_0x36feda[_0x2626f1(0xc1)],_0x298fbb=(_0x4a4f02=(_0x7395bd=_0x36feda[_0x2626f1(0x179)][_0x2626f1(0x135)]('Content-Type'))==null?void 0x0:_0x7395bd['join'](',\x20'))==null?_0x2626f1(0x13b):_0x4a4f02,_0x1204c4=_0x2626f1(0x12c)+(z[_0x298fbb]||'xlsx'),_0x1da118=(_0x5085c4=_0x36feda['headers'][_0x2626f1(0x135)](_0x2626f1(0xdf)))==null?void 0x0:_0x5085c4[_0x2626f1(0x13a)](',\x20');if(_0x1da118){let _0x55d3ac=_0x1da118['match'](/filename=(.+)/);_0x55d3ac&&_0x55d3ac[0x1]&&(_0x1204c4=_0x55d3ac[0x1]);}else _0x1204c4=Ge(_0x2dedfc)||_0x1204c4;return new File([_0x858a3],_0x1204c4,{'type':_0x298fbb});}catch(_0x3af369){console[_0x2626f1(0xb1)](_0x2626f1(0x19b),_0x3af369);return;}}function Ge(_0x48e43c){const _0x1261f6=_0x45f3e9;try{return new URL(_0x48e43c)[_0x1261f6(0x14f)][_0x1261f6(0x129)]('/')[_0x1261f6(0x187)]();}catch(_0x22aad7){console[_0x1261f6(0xb1)](_0x1261f6(0xfd),_0x22aad7);return;}}function Ke(_0x8b0368){const _0x5979c2=_0x45f3e9;let _0x464721=new Blob([_0x8b0368['buffer']],{'type':_0x5979c2(0x1cb)});return new File([_0x464721],_0x5979c2(0xda));}function U(_0x1322cc,_0x564be5){const _0x5dbf2e=_0x45f3e9;return _0x1322cc[_0x5dbf2e(0x1d0)](_0x5dbf2e(0x149),_0x564be5);}function qe(_0x3f7062,_0x181cd4){const _0x7bc9f6=_0x45f3e9;return _0x3f7062[_0x7bc9f6(0x1d0)](_0x7bc9f6(0xd2),_0x181cd4);}function Je(_0x548a1c,_0x1dd274){const _0x4ce2f8=_0x45f3e9;return _0x548a1c[_0x4ce2f8(0x1d0)]('{fileID}',_0x1dd274);}const W=_0x30a9e4('univer-pro.exchange-client.request.service');let G=class{constructor(_0x7bd528,_0x558492){const _0x7c3b23=_0x45f3e9;this['_configService']=_0x7bd528,this[_0x7c3b23(0x146)]=_0x558492,A(this,_0x7c3b23(0x1de),new Set());}[_0x45f3e9(0x1cc)](){}['setTaskInterrupted'](_0x22e233){const _0x533f8c=_0x45f3e9;this[_0x533f8c(0x1de)][_0x533f8c(0xdb)](_0x22e233);}['clearTaskInterrupted'](){const _0x3f3b3c=_0x45f3e9;this[_0x3f3b3c(0x1de)][_0x3f3b3c(0x17d)]();}async[_0x45f3e9(0x158)](_0x2380b8,_0x2c7c4c=0x0,_0x52d317=!0x1){const _0x22cda1=_0x45f3e9;if(typeof _0x2380b8==_0x22cda1(0xc7)){let _0x494126=await H(_0x2380b8,this[_0x22cda1(0x146)]);if(!_0x494126)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x2380b8=_0x494126;}_0x2c7c4c=_0x2c7c4c||_0x2380b8[_0x22cda1(0xc0)];let _0x5d22d5=new FormData();_0x5d22d5[_0x22cda1(0x1be)](_0x22cda1(0x19d),_0x2380b8);try{let _0x1d586c=this[_0x22cda1(0x1c9)]()+'?size='+_0x2c7c4c+_0x22cda1(0x13c)+_0x3124c6[_0x22cda1(0xa7)]+_0x22cda1(0x176)+_0x52d317,_0x113f19={'body':_0x5d22d5},_0x574e48=(await this[_0x22cda1(0x146)][_0x22cda1(0x1c1)](_0x1d586c,_0x113f19))[_0x22cda1(0xc1)];if(_0x574e48[_0x22cda1(0xb1)]&&_0x574e48['error'][_0x22cda1(0x1b5)]!==_0x64bd4b['OK'])throw Error(this[_0x22cda1(0xb8)](_0x22cda1(0x166),_0x574e48[_0x22cda1(0xb1)]));return _0x574e48;}catch(_0x3c4f8b){throw _0x3c4f8b instanceof Error?_0x3c4f8b:Error(this[_0x22cda1(0x170)]('upload\x20request\x20failed',_0x3c4f8b));}}async[_0x45f3e9(0xb2)](_0x5d06e5){const _0x48b97f=_0x45f3e9;let {fileID:_0x49cdbb,type:_0x308615,outputType:_0x5abaa3,minSheetColumnCount:_0xb679c0,minSheetRowCount:_0x55d4dd}=_0x5d06e5;try{let _0x1de34c=U(this[_0x48b97f(0x148)](),''+_0x308615),_0x25e1d3={'body':{'fileID':_0x49cdbb,'outputType':_0x5abaa3,'minSheetColumnCount':_0xb679c0,'minSheetRowCount':_0x55d4dd}},_0x3f0b03=(await this[_0x48b97f(0x146)]['post'](_0x1de34c,_0x25e1d3))[_0x48b97f(0xc1)];return _0x3f0b03[_0x48b97f(0xb1)]&&_0x3f0b03[_0x48b97f(0xb1)]['code']!==_0x64bd4b['OK']?void 0x0:_0x3f0b03;}catch{return;}}async[_0x45f3e9(0x1e8)](_0x514a6f){const _0x2d454b=_0x45f3e9;let {unitID:_0x1f4b25,jsonID:_0x381d8a,type:_0x5ca514,useImageUrl:_0x2dc9c3,ignoreTableExport:_0x41529d}=_0x514a6f;try{let _0x68ee5a=U(this['_getExportURL'](),''+_0x5ca514),_0x417c2a={'body':{'unitID':_0x1f4b25,'jsonID':_0x381d8a,'type':_0x5ca514,'useImageUrl':_0x2dc9c3,'ignoreTableExport':_0x41529d}},_0x5a59f6=(await this[_0x2d454b(0x146)][_0x2d454b(0x1c1)](_0x68ee5a,_0x417c2a))['body'];return _0x5a59f6['error']&&_0x5a59f6[_0x2d454b(0xb1)][_0x2d454b(0x1b5)]!==_0x64bd4b['OK']?void 0x0:_0x5a59f6;}catch{return;}}async[_0x45f3e9(0x10e)](_0x36e58f){return new Promise((_0x243e5f,_0x94e6f2)=>{const _0x5a6579=_0x4527;try{let _0x14c3c9=0x0,_0x5d199b=qe(this[_0x5a6579(0x9e)](),''+_0x36e58f),_0x5768dd=this['_getMaxPollingTime'](),_0x5a4c50=async()=>{const _0x2b6193=_0x5a6579;if(this[_0x2b6193(0x1de)]['has'](_0x36e58f))return;let _0x1fe8c2=(await this['_httpService'][_0x2b6193(0x135)](_0x5d199b))[_0x2b6193(0xc1)];if(_0x1fe8c2['error']&&_0x1fe8c2[_0x2b6193(0xb1)]['code']===_0x64bd4b['OK']){if(_0x1fe8c2[_0x2b6193(0x95)]===_0x2b6193(0x197))_0x243e5f(_0x1fe8c2);else{if(_0x1fe8c2[_0x2b6193(0x95)]===_0x2b6193(0x1b2)){let _0x476a19=0x3e8;if(_0x14c3c9>=_0x5768dd){_0x94e6f2(_0x1fe8c2);return;}else _0x14c3c9>=0x7530&&(_0x476a19=0x1388);_0x14c3c9+=_0x476a19,setTimeout(_0x5a4c50,_0x476a19);}else _0x94e6f2(_0x1fe8c2);}}else _0x94e6f2(_0x1fe8c2);};_0x5a4c50();}catch(_0x6a94ba){_0x94e6f2(_0x6a94ba instanceof Error?_0x6a94ba:Error(String(_0x6a94ba)));}});}async[_0x45f3e9(0x125)](_0x35598d){const _0x562c1a=_0x45f3e9;try{let _0x1843f1=Je(this['_getSignURL'](),''+_0x35598d);return(await this[_0x562c1a(0x146)][_0x562c1a(0x135)](_0x1843f1))[_0x562c1a(0xc1)];}catch{return;}}async[_0x45f3e9(0x10b)](_0x3b73a3){const _0x1d9f0d=_0x45f3e9;try{return(await this[_0x1d9f0d(0x146)]['get'](_0x3b73a3,{'responseType':'text'}))[_0x1d9f0d(0xc1)];}catch{return;}}[_0x45f3e9(0xb8)](_0x1c95b9,_0x319162){let _0x58ff91=this['_extractErrorDetail'](_0x319162);return _0x58ff91?_0x1c95b9+':\x20'+_0x58ff91:_0x1c95b9;}[_0x45f3e9(0x170)](_0x4247a7,_0x2d760d){const _0x212271=_0x45f3e9;if(_0x2d760d instanceof _0x478445){let _0x39fedf=typeof _0x2d760d[_0x212271(0x95)]=='number'?''+_0x2d760d[_0x212271(0x95)]+(_0x2d760d['statusText']?'\x20'+_0x2d760d[_0x212271(0x102)]:''):void 0x0,_0x3e3202=this[_0x212271(0x1ce)](_0x2d760d['error']);return _0x39fedf&&_0x3e3202?_0x4247a7+_0x212271(0xc4)+_0x39fedf+'\x20-\x20'+_0x3e3202:_0x39fedf?_0x4247a7+_0x212271(0xc4)+_0x39fedf:_0x3e3202?_0x4247a7+':\x20'+_0x3e3202:_0x4247a7;}let _0x3aa004=this[_0x212271(0x1ce)](_0x2d760d);return _0x3aa004?_0x4247a7+':\x20'+_0x3aa004:_0x4247a7;}[_0x45f3e9(0x1ce)](_0x45f906){const _0x33e6cf=_0x45f3e9;if(typeof _0x45f906==_0x33e6cf(0xc7)){let _0x359c08=_0x45f906[_0x33e6cf(0x1cd)]();return _0x359c08['length']>0x0?_0x359c08:void 0x0;}if(_0x45f906 instanceof Error)return this[_0x33e6cf(0x1ce)](_0x45f906['message']);if(!_0x45f906||typeof _0x45f906!='object'||Array[_0x33e6cf(0xeb)](_0x45f906))return;let _0xf5b7c5=_0x45f906,_0x3ff10a=this['_extractErrorDetail'](_0xf5b7c5['message']);if(_0x3ff10a)return _0x3ff10a;if(_0xf5b7c5[_0x33e6cf(0xb1)]&&typeof _0xf5b7c5[_0x33e6cf(0xb1)]==_0x33e6cf(0xb7)&&!Array[_0x33e6cf(0xeb)](_0xf5b7c5[_0x33e6cf(0xb1)])){let _0x119609=this['_extractErrorDetail'](_0xf5b7c5[_0x33e6cf(0xb1)]);if(_0x119609)return _0x119609;}}[_0x45f3e9(0x1c9)](){const _0x4a7dee=_0x45f3e9;var _0x4394da;let _0x7bf238=this['_configService'][_0x4a7dee(0xa4)](T);return(_0x4394da=_0x7bf238==null?void 0x0:_0x7bf238[_0x4a7dee(0x13f)])==null?_0x4a7dee(0x122):_0x4394da;}[_0x45f3e9(0x148)](){const _0x3a72a9=_0x45f3e9;var _0x12ab34;let _0xee236a=this['_configService'][_0x3a72a9(0xa4)](T);return(_0x12ab34=_0xee236a==null?void 0x0:_0xee236a[_0x3a72a9(0xca)])==null?'/universer-api/exchange/{type}/import':_0x12ab34;}[_0x45f3e9(0xf0)](){const _0x494fa9=_0x45f3e9;var _0x56829d;let _0x36b2a6=this[_0x494fa9(0xfa)][_0x494fa9(0xa4)](T);return(_0x56829d=_0x36b2a6==null?void 0x0:_0x36b2a6[_0x494fa9(0x9d)])==null?_0x494fa9(0x144):_0x56829d;}['_getTaskURL'](){const _0x506bab=_0x45f3e9;var _0x16f3c9;let _0x14e478=this[_0x506bab(0xfa)][_0x506bab(0xa4)](T);return(_0x16f3c9=_0x14e478==null?void 0x0:_0x14e478[_0x506bab(0x1e7)])==null?'/universer-api/exchange/task/{taskID}':_0x16f3c9;}['_getSignURL'](){const _0x18ac25=_0x45f3e9;var _0x53c160;let _0x47c592=this[_0x18ac25(0xfa)][_0x18ac25(0xa4)](T);return(_0x53c160=_0x47c592==null?void 0x0:_0x47c592[_0x18ac25(0x1bb)])==null?_0x18ac25(0xad):_0x53c160;}[_0x45f3e9(0x1dc)](){const _0x20989b=_0x45f3e9;var _0xd4944a;let _0x1f1121=this[_0x20989b(0xfa)][_0x20989b(0xa4)](T);return(_0xd4944a=_0x1f1121==null?void 0x0:_0x1f1121[_0x20989b(0x17e)])==null?0x1d4c0:_0xd4944a;}};G=D([E(0x0,_0x49b63c),E(0x1,_0xed835d(_0x2c03ab))],G);function Ye(_0xbcbc58){const _0x3218b2=_0x45f3e9;let _0x221392=_0xbcbc58[_0x3218b2(0x1a5)];if(!_0x221392)return null;let _0x43bef2={};_0x221392['sheets']&&Object[_0x3218b2(0xaf)](_0x221392[_0x3218b2(0x19f)])[_0x3218b2(0xc3)](_0x299d7e=>{const _0x7c7c3f=_0x3218b2;let _0x2c56dd=_0x221392[_0x7c7c3f(0x19f)][_0x299d7e];_0x43bef2[_0x299d7e]={..._0x2c56dd,'originalMeta':_0x41833a(_0x1dc705[_0x7c7c3f(0xe3)](_0x2c56dd[_0x7c7c3f(0x16f)]))};});let _0x1b7429=_0x41833a(_0x1dc705['decode'](_0x221392['originalMeta']));return{..._0xbcbc58,'workbook':{..._0x221392,'originalMeta':_0x1b7429,'sheets':_0x43bef2},'doc':{},'slide':void 0x0,'board':void 0x0};}function Xe(_0x350eb5){const _0x471742=_0x45f3e9;let _0x5da0ca=_0x350eb5[_0x471742(0xd9)];if(!_0x5da0ca)return null;let _0x4e622e=_0x41833a(_0x1dc705[_0x471742(0xe3)](_0x5da0ca['originalMeta']));return{..._0x350eb5,'workbook':{},'doc':{..._0x5da0ca,'originalMeta':_0x4e622e},'slide':void 0x0,'board':void 0x0};}function Ze(_0x1a03a1){const _0x1f9c4b=_0x45f3e9;var _0x44fe0b;let _0x62d072=(_0x44fe0b=_0x1a03a1[_0x1f9c4b(0x1e4)])==null?_0x1a03a1[_0x1f9c4b(0xd9)]:_0x44fe0b;if(!_0x62d072)return null;let _0x2ed04b=typeof _0x62d072['originalMeta']==_0x1f9c4b(0xc7)?_0x62d072[_0x1f9c4b(0x16f)]:_0x41833a(_0x1dc705[_0x1f9c4b(0xe3)](_0x62d072[_0x1f9c4b(0x16f)]));return{..._0x1a03a1,'workbook':{},'doc':{},'slide':{..._0x62d072,'originalMeta':_0x2ed04b},'board':void 0x0};}function K(_0x452f22){const _0x10312b=_0x45f3e9;let _0x1d6b3a={};return _0x452f22[_0x10312b(0xc3)](_0xfa904b=>{const _0x349259=_0x10312b;_0x1d6b3a[_0xfa904b['id']]={..._0xfa904b,'data':_0x41833a(_0x1dc705['decode'](_0xfa904b[_0x349259(0x134)]))};}),_0x1d6b3a;}async function Qe(_0x177590){const _0x5364b6=_0x45f3e9;var _0x2bc956;let _0xda055a={'metadata':void 0x0},_0x53d49f=_0x177590['id'],_0x443953=(_0x2bc956=_0x177590[_0x5364b6(0x19e)])==null?0x0:_0x2bc956,_0x1fbc09=new q(),{snapshot:_0x4977e4}=await _0x375333(_0xda055a,_0x177590,_0x53d49f,_0x443953,_0x1fbc09),_0x4bebab=await _0x2fe3dd(_0x4977e4,_0x1fbc09),_0x2b13a1=Ye(_0x4977e4);if(!_0x2b13a1)throw Error(_0x5364b6(0xfb));return{'snapshot':_0x2b13a1,'sheetBlocks':K(_0x4bebab)};}async function $e(_0x503c01){const _0x4b41ec=_0x45f3e9;var _0x2b1ecd;let _0x8dd914={'metadata':void 0x0},_0x1b9726=_0x503c01['id'],{snapshot:_0x3da20f}=await _0x161649(_0x8dd914,_0x503c01,_0x1b9726,(_0x2b1ecd=_0x503c01[_0x4b41ec(0x19e)])==null?0x0:_0x2b1ecd,new q()),_0x1020bd=Xe(_0x3da20f);if(!_0x1020bd)throw Error(_0x4b41ec(0xfb));return{'snapshot':_0x1020bd,'sheetBlocks':{}};}function _0x4527(_0x9d007e,_0x37ad69){_0x9d007e=_0x9d007e-0x95;const _0x5d7ca8=_0x5d7c();let _0x4527a7=_0x5d7ca8[_0x9d007e];return _0x4527a7;}async function et(_0x288d4a){const _0x3eb7aa=_0x45f3e9;var _0x430151;let _0x43e6b8=_0x288d4a['id'],_0x48acba=(_0x430151=_0x288d4a[_0x3eb7aa(0x19e)])==null?0x0:_0x430151,_0x315cbf=new q(),{snapshot:_0x5a35d1}=await _0x59e1e5(_0x288d4a[_0x3eb7aa(0x1c5)],_0x288d4a,_0x43e6b8,_0x48acba,_0x315cbf),_0x56bb50=Ze(_0x5a35d1);if(!_0x56bb50)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x56bb50,'sheetBlocks':{}};}async function tt(_0x312b11){const _0xb41429=_0x45f3e9;let _0x1f1245=_0x312b11[_0xb41429(0x175)],_0x451851=_0x312b11[_0xb41429(0x11a)]||{};return await _0x4a57a7(_0x1f1245,Object[_0xb41429(0xaf)](_0x451851)[_0xb41429(0x1a6)](_0x23f08f=>_0x451851[_0x23f08f])[_0xb41429(0x1a6)](_0x4590da=>({..._0x4590da,'data':_0x4590da[_0xb41429(0x134)]?JSON[_0xb41429(0x113)](_0x3964b2(_0x4590da[_0xb41429(0x134)])):void 0x0})));}function nt(_0x5b238f){const _0x4f4b28=_0x45f3e9;let _0x43d541=_0x5b238f[_0x4f4b28(0x175)];return _0x440eaa(_0x43d541);}function rt(_0x35d194){let _0x3f6046=_0x35d194['snapshot'];return _0x50faaf(_0x3f6046);}var q=class{constructor(){const _0x10f3c3=_0x45f3e9;A(this,_0x10f3c3(0x16e),new Map());}[_0x45f3e9(0x164)](){const _0x14bc4a=_0x45f3e9;return Promise[_0x14bc4a(0xd0)]({'snapshot':{'unitID':'','type':_0x674a59[_0x14bc4a(0xa5)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':_0x64bd4b['OK'],'message':''}});}[_0x45f3e9(0x9b)](_0x51141e,_0x4a1bab){const _0x8723f3=_0x45f3e9;let _0xe16b8c=this[_0x8723f3(0x16e)][_0x8723f3(0x135)](_0x4a1bab[_0x8723f3(0xec)]);return Promise[_0x8723f3(0xd0)]({'block':_0xe16b8c,'error':{'code':_0x64bd4b['OK'],'message':''}});}[_0x45f3e9(0xbe)](_0x5bd2a5,_0x39c17c){const _0x383059=_0x45f3e9;let _0x44ffa9=this[_0x383059(0x16e)]['get'](_0x39c17c[_0x383059(0xec)]);return Promise[_0x383059(0xd0)]({'block':_0x44ffa9===void 0x0?void 0x0:{..._0x44ffa9,'data':JSON[_0x383059(0x113)](_0x1dc705[_0x383059(0xe3)](_0x44ffa9['data']))},'error':{'code':_0x64bd4b['OK'],'message':''}});}[_0x45f3e9(0x174)](){const _0xaba308=_0x45f3e9;return Promise[_0xaba308(0xd0)]({'changesets':[],'error':{'code':_0x64bd4b['OK'],'message':''}});}['getResourcesRequest'](){const _0x584676=_0x45f3e9;return Promise[_0x584676(0xd0)]({'resources':{},'error':{'code':_0x64bd4b['OK'],'message':''}});}[_0x45f3e9(0x162)](){return Promise['resolve']({'error':{'code':_0x64bd4b['OK'],'message':''}});}[_0x45f3e9(0x15b)](){const _0x401acb=_0x45f3e9;return Promise[_0x401acb(0xd0)]({'error':{'code':_0x64bd4b['OK'],'message':''}});}['saveSheetBlock'](_0x5f2385,_0x1298ba){const _0x594f3f=_0x45f3e9;let {block:_0x3360e4}=_0x1298ba;return _0x3360e4?(this[_0x594f3f(0x16e)]['set'](_0x3360e4['id'],_0x3360e4),Promise[_0x594f3f(0xd0)]({'error':{'code':_0x64bd4b['OK'],'message':''},'blockID':_0x3360e4['id']})):Promise[_0x594f3f(0xd0)]({'error':{'code':_0x64bd4b[_0x594f3f(0x12f)],'message':_0x594f3f(0xa6)},'blockID':''});}[_0x45f3e9(0x1c3)](){const _0x4a62c6=_0x45f3e9;return Promise[_0x4a62c6(0xd0)]({'error':{'code':_0x64bd4b['OK'],'message':''},'concurrent':[]});}[_0x45f3e9(0x168)](){const _0xfccae6=_0x45f3e9;return Promise[_0xfccae6(0xd0)]({'error':void 0x0,'fileMetaId':''});}[_0x45f3e9(0x181)](){const _0x458a23=_0x45f3e9;return Promise[_0x458a23(0xd0)]({'error':void 0x0,'latestReqID':0x0});}};const J=_0x30a9e4(_0x45f3e9(0x130));let Y=class extends _0x49a4c5{constructor(_0x4bea47,_0x31c195,_0x12e83e){const _0x172119=_0x45f3e9;super(),this[_0x172119(0xfa)]=_0x4bea47,this['_httpService']=_0x31c195,this[_0x172119(0x139)]=_0x12e83e,A(this,'_importTaskId',null),A(this,_0x172119(0x103),new _0x1a00dd()),A(this,'requestState$',this[_0x172119(0x103)][_0x172119(0x15e)]());}[_0x45f3e9(0x1cc)](){const _0x514d62=_0x45f3e9;super[_0x514d62(0x1cc)](),this['_requestState$']['complete']();}[_0x45f3e9(0xa0)](_0x1ea362,_0x2eb10f,_0x396280){const _0x2f9e6d=_0x45f3e9;let _0x345906=URL['createObjectURL'](_0x1ea362);B(_0x345906,_0x2eb10f,_0x396280),URL[_0x2f9e6d(0x1d4)](_0x345906);}async['transformSnapshotJsonToWorkbookData'](_0x400df9){const _0x583db9=_0x45f3e9;let _0x38a745=_0x400df9[_0x583db9(0x175)],_0x25d16c=_0x400df9[_0x583db9(0x11a)]||{};return _0x4a57a7(_0x38a745,Object['keys'](_0x25d16c)[_0x583db9(0x1a6)](_0x1bb164=>_0x25d16c[_0x1bb164])[_0x583db9(0x1a6)](_0x3781d1=>({..._0x3781d1,'data':_0x3781d1[_0x583db9(0x134)]?JSON['parse'](_0x3964b2(_0x3781d1[_0x583db9(0x134)])):void 0x0})));}async[_0x45f3e9(0x180)](_0x1b5df7){const _0x3039cf=_0x45f3e9;var _0x2e5382;let _0x4d16b6={'metadata':void 0x0},_0x3699e9=_0x1b5df7['id'],_0x3dc162=(_0x2e5382=_0x1b5df7[_0x3039cf(0x19e)])==null?0x0:_0x2e5382,_0x48468e=new q(),{snapshot:_0x1afcf1}=await _0x375333(_0x4d16b6,_0x1b5df7,_0x3699e9,_0x3dc162,_0x48468e),_0x1128b3=await _0x2fe3dd(_0x1afcf1,_0x48468e),_0x7dedc2=Ye(_0x1afcf1);if(!_0x7dedc2)throw Error(_0x3039cf(0xfb));return{'snapshot':_0x7dedc2,'sheetBlocks':K(_0x1128b3)};}async[_0x45f3e9(0x160)](_0xb71f8d){const _0x3750fb=_0x45f3e9;let _0x23c422=await this[_0x3750fb(0xff)](_0xb71f8d,_0x674a59[_0x3750fb(0xae)]);if(!_0x23c422||!_0x23c422[_0x3750fb(0x175)])return;let _0x996075=nt(_0x23c422);if(_0x996075)return _0x996075;}async['exportDOCXByUnitId'](_0x2d0363){const _0x1b6136=_0x45f3e9;return this[_0x1b6136(0xe8)](_0x2d0363,0x1,_0x674a59[_0x1b6136(0xae)]);}async[_0x45f3e9(0x136)](_0xb4a852){const _0x1d1201=_0x45f3e9;let _0x4a769b=await $e(_0xb4a852);return this[_0x1d1201(0xd3)](_0x4a769b,_0x674a59[_0x1d1201(0xae)]);}async['importPPTXToSnapshot'](_0x19186c){const _0x1f924f=_0x45f3e9;let _0x4165a6=await this[_0x1f924f(0xff)](_0x19186c,_0x674a59[_0x1f924f(0x12e)]);if(!(!_0x4165a6||!_0x4165a6[_0x1f924f(0x175)]))return rt(_0x4165a6);}async[_0x45f3e9(0x18b)](_0x1966ab){const _0x1576c1=_0x45f3e9;return this['_export'](_0x1966ab,0x1,_0x674a59[_0x1576c1(0x12e)]);}async[_0x45f3e9(0x177)](_0x43b98c){const _0x18d64b=_0x45f3e9;let _0x3c0591=await et(_0x43b98c);return this[_0x18d64b(0xd3)](_0x3c0591,_0x674a59[_0x18d64b(0x12e)]);}async[_0x45f3e9(0x11c)](_0x5a6892){const _0x46c2ae=_0x45f3e9;let _0x2a49be=await this['importFileToJson'](_0x5a6892,_0x674a59[_0x46c2ae(0xa5)]);if(!_0x2a49be)return;let _0x5de854=await this[_0x46c2ae(0xea)](_0x2a49be);if(_0x5de854)return _0x5de854;}async[_0x45f3e9(0x171)](_0x3926b5){const _0x11c2bf=_0x45f3e9;return this[_0x11c2bf(0xe8)](_0x3926b5,0x1,_0x674a59[_0x11c2bf(0xa5)]);}async['exportXLSXBySnapshot'](_0x35e0f6){const _0x113ed5=_0x45f3e9;let _0x2e606d=await this[_0x113ed5(0x180)](_0x35e0f6);return this[_0x113ed5(0xd3)](_0x2e606d,_0x674a59['UNIVER_SHEET']);}async['importFileToUnitId'](_0x522076,_0x2a945e){const _0x2f3ea4=_0x45f3e9;var _0xa7d731,_0x59779c;let _0x90585=await this[_0x2f3ea4(0x119)](_0x522076);if(!_0x90585)return;let _0x45de97=await this[_0x2f3ea4(0xc5)](_0x90585,0x1,_0x2a945e);if(!_0x45de97)return;this[_0x2f3ea4(0x191)]=_0x45de97,this[_0x2f3ea4(0x139)][_0x2f3ea4(0x110)]();let _0x3e3a87=await this[_0x2f3ea4(0x139)][_0x2f3ea4(0x10e)](_0x45de97)[_0x2f3ea4(0x1d7)](_0x3be2c6=>{const _0x26dc2e=_0x2f3ea4;var _0xb12f1e;let _0x17d8a2=_0x3be2c6 instanceof Error?_0x3be2c6['message']:(_0xb12f1e=_0x3be2c6[_0x26dc2e(0xb1)])==null?void 0x0:_0xb12f1e[_0x26dc2e(0x1d9)];this[_0x26dc2e(0x103)][_0x26dc2e(0x16d)]({'error':{'code':_0x64bd4b[_0x26dc2e(0x97)],'message':_0x17d8a2||''},'state':0x3});});if(!_0x3e3a87)return;let _0x1c206f=(_0xa7d731=_0x3e3a87[_0x2f3ea4(0xb2)])==null?void 0x0:_0xa7d731[_0x2f3ea4(0x154)],_0x28ebb9=((_0x59779c=_0x3e3a87[_0x2f3ea4(0xb2)])==null?void 0x0:_0x59779c[_0x2f3ea4(0x109)])||'';if(_0x1c206f!==0x1){this['_requestState$']['next']({'error':{'code':_0x64bd4b['UNRECOGNIZED'],'message':_0x2f3ea4(0x18a)},'state':0x3});return;}if(_0x28ebb9['length']===0x0){this['_requestState$'][_0x2f3ea4(0x16d)]({'error':{'code':_0x64bd4b[_0x2f3ea4(0x97)],'message':_0x2f3ea4(0x137)},'state':0x3});return;}return this['_requestState$'][_0x2f3ea4(0x16d)]({'error':_0x3e3a87[_0x2f3ea4(0xb1)],'state':0x3}),_0x28ebb9;}async[_0x45f3e9(0xff)](_0x46e2d6,_0x4217be){const _0x468ee7=_0x45f3e9;return this[_0x468ee7(0x1d5)](_0x46e2d6,_0x4217be);}async[_0x45f3e9(0x193)](_0x5decc4){const _0x4ba056=_0x45f3e9;let _0x20734c=await this[_0x4ba056(0x180)](_0x5decc4),_0x201272=typeof _0x5decc4['id']=='string'&&_0x5decc4['id'][_0x4ba056(0x1cd)]()?_0x5decc4['id']['trim']()+_0x4ba056(0x16b):_0x4ba056(0xf6),_0x3d3be7=new File([JSON[_0x4ba056(0x1c6)](_0x20734c)],_0x201272,{'type':'application/json'});return this[_0x4ba056(0x1c4)](_0x3d3be7,_0x674a59[_0x4ba056(0xa5)]);}[_0x45f3e9(0x140)](){const _0x330180=_0x45f3e9;this[_0x330180(0x191)]&&this['_requestService'][_0x330180(0x105)](this[_0x330180(0x191)]);}async[_0x45f3e9(0x1d5)](_0x142168,_0x501458){const _0x21c3ae=_0x45f3e9;var _0x45aef0,_0x1ffa94;let _0x274f08=await this[_0x21c3ae(0x119)](_0x142168);if(!_0x274f08)return;let _0x20324f=await this[_0x21c3ae(0xc5)](_0x274f08,0x2,_0x501458);if(!_0x20324f)return;this[_0x21c3ae(0x191)]=_0x20324f,this[_0x21c3ae(0x139)][_0x21c3ae(0x110)]();let _0x1f6f93=await this['_requestService'][_0x21c3ae(0x10e)](_0x20324f)[_0x21c3ae(0x1d7)](_0x3b441a=>{const _0xcf9b34=_0x21c3ae;var _0x161d26;let _0x1debb6=_0x3b441a instanceof Error?_0x3b441a[_0xcf9b34(0x1d9)]:(_0x161d26=_0x3b441a['error'])==null?void 0x0:_0x161d26[_0xcf9b34(0x1d9)];this[_0xcf9b34(0x103)][_0xcf9b34(0x16d)]({'error':{'code':_0x64bd4b['UNRECOGNIZED'],'message':_0x1debb6||''},'state':0x3});});if(!_0x1f6f93)return;let _0x247844=(_0x45aef0=_0x1f6f93[_0x21c3ae(0xb2)])==null?void 0x0:_0x45aef0['outputType'],_0x43fad0=((_0x1ffa94=_0x1f6f93[_0x21c3ae(0xb2)])==null?void 0x0:_0x1ffa94[_0x21c3ae(0xb6)])||'';if(_0x247844!==0x2){this[_0x21c3ae(0x103)][_0x21c3ae(0x16d)]({'error':{'code':_0x64bd4b['UNRECOGNIZED'],'message':_0x21c3ae(0x18a)},'state':0x3});return;}if(_0x43fad0[_0x21c3ae(0x9f)]===0x0){this['_requestState$'][_0x21c3ae(0x16d)]({'error':{'code':_0x64bd4b[_0x21c3ae(0x97)],'message':'Failed\x20to\x20get\x20jsonID\x20from\x20task'},'state':0x3});return;}this[_0x21c3ae(0x103)][_0x21c3ae(0x16d)]({'error':_0x1f6f93[_0x21c3ae(0xb1)],'state':0x3});let _0x16e310=await this[_0x21c3ae(0x12b)](_0x43fad0);if(!_0x16e310)return;let _0x368074=await this['_requestService']['getTextFromUrl'](_0x16e310);if(!_0x368074){this['_requestState$'][_0x21c3ae(0x16d)]({'error':{'code':_0x64bd4b['UNRECOGNIZED'],'message':_0x21c3ae(0x1a1)},'state':0x5});return;}try{let _0x150481=JSON['parse'](_0x368074);return this[_0x21c3ae(0x103)][_0x21c3ae(0x16d)]({'error':{'code':_0x64bd4b['OK'],'message':'success'},'state':0x5}),_0x150481;}catch{this[_0x21c3ae(0x103)][_0x21c3ae(0x16d)]({'error':{'code':_0x64bd4b[_0x21c3ae(0x97)],'message':'Failed\x20to\x20parse\x20json'},'state':0x5});}}async['_exportBySnapshot'](_0x4310f8,_0xe8d428){const _0x308a28=_0x45f3e9;let _0x1d6226=JSON[_0x308a28(0x1c6)](_0x4310f8),_0x1bf78a=_0x5d3817[_0x308a28(0x12a)](_0x1d6226),_0x58dd8d=_0x35fbd0(_0x1bf78a),_0x4956ee=_0x1bf78a['length'],_0x234745=Ke(_0x58dd8d),_0x4ba8c4=await this[_0x308a28(0x119)](_0x234745,_0x4956ee,!0x0);if(_0x4ba8c4)return this[_0x308a28(0xe8)](_0x4ba8c4,0x2,_0xe8d428);}async['_export'](_0x230c1d,_0x1bd82a,_0x6cea8d){const _0xf19766=_0x45f3e9;var _0x2e8837;let _0x5c1887=await this[_0xf19766(0x139)]['export']({'unitID':_0x1bd82a===0x1?_0x230c1d:'','jsonID':_0x1bd82a===0x2?_0x230c1d:'','type':_0x6cea8d,'useImageUrl':this[_0xf19766(0x99)](),'ignoreTableExport':this[_0xf19766(0xcf)]()});if(!_0x5c1887){this[_0xf19766(0x103)][_0xf19766(0x16d)]({'error':{'code':_0x64bd4b[_0xf19766(0x97)],'message':_0xf19766(0x1d3)},'state':0x2});return;}if(this['_requestState$']['next']({'error':_0x5c1887[_0xf19766(0xb1)],'state':0x2}),_0x5c1887[_0xf19766(0xb1)]&&_0x5c1887['error'][_0xf19766(0x1b5)]!==_0x64bd4b['OK'])return;let _0x298adb=_0x5c1887[_0xf19766(0x1db)],_0xbfbffc=await this[_0xf19766(0x139)]['getTask'](_0x298adb)[_0xf19766(0x1d7)](_0x2d442c=>{const _0x8494f9=_0xf19766;var _0x358a67;let _0x1dd9bf=_0x2d442c instanceof Error?_0x2d442c['message']:(_0x358a67=_0x2d442c[_0x8494f9(0xb1)])==null?void 0x0:_0x358a67[_0x8494f9(0x1d9)];this[_0x8494f9(0x103)][_0x8494f9(0x16d)]({'error':{'code':_0x64bd4b[_0x8494f9(0x97)],'message':_0x1dd9bf||''},'state':0x3});});if(!_0xbfbffc)return;let _0x228714=((_0x2e8837=_0xbfbffc[_0xf19766(0x1e8)])==null?void 0x0:_0x2e8837[_0xf19766(0x9c)])||'';if(_0x228714[_0xf19766(0x9f)]===0x0){this[_0xf19766(0x103)]['next']({'error':{'code':_0x64bd4b[_0xf19766(0x97)],'message':_0xf19766(0x186)},'state':0x3});return;}this[_0xf19766(0x103)]['next']({'error':_0xbfbffc[_0xf19766(0xb1)],'state':0x3});let _0x585ea3=await this[_0xf19766(0x12b)](_0x228714);if(!_0x585ea3)return;let _0x10794c=await H(_0x585ea3,this[_0xf19766(0x146)]);if(!_0x10794c){this[_0xf19766(0x103)][_0xf19766(0x16d)]({'error':{'code':_0x64bd4b[_0xf19766(0x97)],'message':_0xf19766(0x18d)},'state':0x6});return;}return this[_0xf19766(0x103)]['next']({'error':{'code':_0x64bd4b['OK'],'message':_0xf19766(0x1b9)},'state':0x6}),_0x10794c;}async[_0x45f3e9(0x119)](_0x2c62c5,_0xba1568,_0x59b235){const _0x15af18=_0x45f3e9;let _0x48bef2;try{_0x48bef2=await this[_0x15af18(0x139)][_0x15af18(0x158)](_0x2c62c5,_0xba1568,_0x59b235);}catch(_0x54961d){let _0x1d2847=_0x54961d instanceof Error?_0x54961d[_0x15af18(0x1d9)]:String(_0x54961d);this['_requestState$'][_0x15af18(0x16d)]({'error':{'code':_0x64bd4b[_0x15af18(0x97)],'message':_0x1d2847},'state':0x0});return;}if(!_0x48bef2||typeof _0x48bef2[_0x15af18(0xf3)]!=_0x15af18(0xc7)){this[_0x15af18(0x103)][_0x15af18(0x16d)]({'error':{'code':_0x64bd4b[_0x15af18(0x97)],'message':_0x15af18(0x192)},'state':0x0});return;}let _0x774bf6=_0x48bef2[_0x15af18(0xf3)];if(_0x774bf6[_0x15af18(0x9f)]===0x0){this[_0x15af18(0x103)][_0x15af18(0x16d)]({'error':{'code':_0x64bd4b[_0x15af18(0x97)],'message':_0x15af18(0xf5)},'state':0x0});return;}return this[_0x15af18(0x103)][_0x15af18(0x16d)]({'error':{'code':_0x64bd4b['OK'],'message':_0x15af18(0x1b9)},'state':0x0}),_0x774bf6;}async[_0x45f3e9(0xc5)](_0x13cd3d,_0x4ed586,_0x55898a){const _0x3ba1aa=_0x45f3e9;let _0x493e07={'fileID':_0x13cd3d,'type':_0x55898a,'outputType':_0x4ed586,'fileUrl':'','minSheetRowCount':this[_0x3ba1aa(0x98)](),'minSheetColumnCount':this['_getMinSheetColumnCount']()},_0x298baa=await this[_0x3ba1aa(0x139)]['import'](_0x493e07);if(!_0x298baa){this[_0x3ba1aa(0x103)][_0x3ba1aa(0x16d)]({'error':{'code':_0x64bd4b[_0x3ba1aa(0x97)],'message':'import\x20error'},'state':0x1});return;}if(_0x298baa[_0x3ba1aa(0xb1)]&&_0x298baa[_0x3ba1aa(0xb1)]['code']!==_0x64bd4b['OK']){this[_0x3ba1aa(0x103)][_0x3ba1aa(0x16d)]({'error':_0x298baa['error'],'state':0x1});return;}let _0x8d060=_0x298baa[_0x3ba1aa(0x1db)];if(_0x8d060[_0x3ba1aa(0x9f)]===0x0){this['_requestState$'][_0x3ba1aa(0x16d)]({'error':{'code':_0x64bd4b['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20taskID\x20from\x20import\x20response'},'state':0x1});return;}return this['_requestState$']['next']({'error':_0x298baa['error'],'state':0x1}),_0x8d060;}async[_0x45f3e9(0x12b)](_0x5eba6e){const _0x354f8e=_0x45f3e9;let _0x21d008=await this[_0x354f8e(0x139)][_0x354f8e(0x125)](_0x5eba6e);if(!_0x21d008){this[_0x354f8e(0x103)]['next']({'error':{'code':_0x64bd4b[_0x354f8e(0x97)],'message':'sign\x20url\x20error'},'state':0x4});return;}if(_0x21d008[_0x354f8e(0xb1)]&&_0x21d008['error'][_0x354f8e(0x1b5)]!==_0x64bd4b['OK']){this[_0x354f8e(0x103)]['next']({'error':_0x21d008[_0x354f8e(0xb1)],'state':0x4});return;}let _0x39b86c=_0x49dad0(_0x21d008[_0x354f8e(0x107)],this['_getDownloadEndpointURL']());if(_0x39b86c[_0x354f8e(0x9f)]===0x0){this[_0x354f8e(0x103)][_0x354f8e(0x16d)]({'error':{'code':_0x64bd4b[_0x354f8e(0x97)],'message':_0x354f8e(0x1e5)},'state':0x4});return;}return this[_0x354f8e(0x103)][_0x354f8e(0x16d)]({'error':_0x21d008['error'],'state':0x4}),_0x39b86c;}[_0x45f3e9(0x157)](){const _0x15f916=_0x45f3e9;var _0x4ccacc;let _0x4c136f=this[_0x15f916(0xfa)]['getConfig'](T);return(_0x4ccacc=_0x4c136f==null?void 0x0:_0x4c136f['downloadEndpointUrl'])==null?location['origin']:_0x4ccacc;}[_0x45f3e9(0x98)](){const _0x18294c=_0x45f3e9;var _0x217cd6,_0xd06eea;let _0x171f9a=this[_0x18294c(0xfa)]['getConfig'](T);return(_0x217cd6=_0x171f9a==null||(_0xd06eea=_0x171f9a[_0x18294c(0xf1)])==null?void 0x0:_0xd06eea[_0x18294c(0x163)])==null?0x1:_0x217cd6;}[_0x45f3e9(0xf9)](){const _0x2c50c9=_0x45f3e9;var _0x2d8d0d,_0x291cc3;let _0x740b45=this[_0x2c50c9(0xfa)]['getConfig'](T);return(_0x2d8d0d=_0x740b45==null||(_0x291cc3=_0x740b45['options'])==null?void 0x0:_0x291cc3[_0x2c50c9(0x115)])==null?0x1:_0x2d8d0d;}[_0x45f3e9(0x99)](){const _0x4b2a78=_0x45f3e9;var _0x31448d,_0x1a17b7;let _0x1cff33=this[_0x4b2a78(0xfa)][_0x4b2a78(0xa4)](T);return(_0x31448d=_0x1cff33==null||(_0x1a17b7=_0x1cff33[_0x4b2a78(0xf1)])==null?void 0x0:_0x1a17b7['disableCellImageConversion'])==null?!0x0:_0x31448d;}[_0x45f3e9(0xcf)](){const _0x1a9b26=_0x45f3e9;var _0x4ee47f,_0x2c6a16;let _0x50fc7f=this[_0x1a9b26(0xfa)][_0x1a9b26(0xa4)](T);return(_0x4ee47f=_0x50fc7f==null||(_0x2c6a16=_0x50fc7f[_0x1a9b26(0xf1)])==null?void 0x0:_0x2c6a16[_0x1a9b26(0xe0)])==null?!0x1:_0x4ee47f;}};Y=D([E(0x0,_0x49b63c),E(0x1,_0xed835d(_0x2c03ab)),E(0x2,_0xed835d(W))],Y);const it={'done':0x0,'count':0x0},X=_0x30a9e4(_0x45f3e9(0x19c));let Z=class extends _0x49a4c5{constructor(_0x1c635d,_0x58ec7f,_0x3345d4,_0x197483,_0x490d2a,_0x1aaaba,_0x419bfe){const _0x2bcd67=_0x45f3e9;super(),this[_0x2bcd67(0x123)]=_0x1c635d,this[_0x2bcd67(0x13e)]=_0x58ec7f,this[_0x2bcd67(0x1b4)]=_0x3345d4,this['_exchangeService']=_0x197483,this[_0x2bcd67(0x131)]=_0x490d2a,this['_logService']=_0x1aaaba,this[_0x2bcd67(0x1cf)]=_0x419bfe,A(this,_0x2bcd67(0x111),new _0x5a4c7c(it)),A(this,'progress$',this[_0x2bcd67(0x111)][_0x2bcd67(0x15e)]()),A(this,'_totalUploadTaskCount',0x0),A(this,'_doneUploadTaskCount',0x0),this[_0x2bcd67(0xa3)](_0x2a7b2b(this[_0x2bcd67(0x10a)][_0x2bcd67(0x1ab)][_0x2bcd67(0xd1)](_0x170448=>{const _0x484418=_0x2bcd67;var _0x3cf4f9;((_0x3cf4f9=_0x170448[_0x484418(0xb1)])==null?void 0x0:_0x3cf4f9[_0x484418(0x1b5)])===_0x64bd4b['OK']?this['_addDoneTask'](0x1):this['_showNetworkError'](_0x170448[_0x484418(0xb1)]);})));}[_0x45f3e9(0x150)](){const _0x3a01c2=_0x45f3e9;this['_clearProgress'](),this['_uploadNotificationService'][_0x3a01c2(0x1b0)](0x2),this[_0x3a01c2(0x10a)][_0x3a01c2(0x140)]();}async[_0x45f3e9(0x195)](_0x2da911){throw Error('Method\x20not\x20implemented.');}async[_0x45f3e9(0x1d6)](){const _0x4f6015=_0x45f3e9;let _0x5efb7e=this['_univerInstanceService']['getFocusedUnit']();switch(_0x5efb7e?this['_univerInstanceService'][_0x4f6015(0x11d)](_0x5efb7e[_0x4f6015(0xbc)]()):_0x674a59[_0x4f6015(0x97)]){case _0x674a59[_0x4f6015(0x12e)]:return this['importPPTXToUnitId']();case _0x674a59['UNIVER_DOC']:return this[_0x4f6015(0xc8)]();case _0x674a59['UNIVER_SHEET']:default:return this[_0x4f6015(0xe7)]();}}async[_0x45f3e9(0xc8)](){const _0xec8ee1=_0x45f3e9;let _0x455d68=await V([_0x674a59['UNIVER_DOC']]);if(_0x455d68&&!this['_fileTypeError'](_0x455d68,_0x674a59[_0xec8ee1(0xae)]))return this[_0xec8ee1(0x1bc)](_0x455d68[0x0],_0x674a59['UNIVER_DOC']);}[_0x45f3e9(0x160)](){const _0x542b19=_0x45f3e9;throw Error(_0x542b19(0xbf));}async['exportDOCXByUnitId'](_0xa467a,_0xdb4f0c,_0x4f5a54){const _0x5e7635=_0x45f3e9;this[_0x5e7635(0xb4)](_0x1a6dba['Info']);let _0x4df959=await this[_0x5e7635(0x10a)][_0x5e7635(0x10f)](_0xa467a||this['_getUnitIDDoc']());_0x4df959&&(this['_exchangeService'][_0x5e7635(0xa0)](_0x4df959,_0xdb4f0c||this[_0x5e7635(0xee)](_0x4df959),'docx'),this[_0x5e7635(0xb4)](_0x1a6dba[_0x5e7635(0x101)]));}async[_0x45f3e9(0x136)](){const _0x1dfe9a=_0x45f3e9;this[_0x1dfe9a(0xb4)](_0x1a6dba['Info']);let _0x1e01f9=await this[_0x1dfe9a(0xa2)](),_0x24935d=await this[_0x1dfe9a(0x10a)][_0x1dfe9a(0x136)](_0x1e01f9);_0x24935d&&(this[_0x1dfe9a(0x10a)][_0x1dfe9a(0xa0)](_0x24935d,this['_getUnitName'](_0x24935d),'docx'),this[_0x1dfe9a(0xb4)](_0x1a6dba[_0x1dfe9a(0x101)]));}async[_0x45f3e9(0x13d)](){const _0x41b083=_0x45f3e9;if(this[_0x41b083(0x116)]()){this['_messageService'][_0x41b083(0x1a7)]({'type':_0x1a6dba[_0x41b083(0xe4)],'content':this[_0x41b083(0x1b4)]['t'](_0x41b083(0x9a))});return;}let _0x252caa=await V([_0x674a59[_0x41b083(0x12e)]]);if(_0x252caa&&!this[_0x41b083(0xb3)](_0x252caa,_0x674a59[_0x41b083(0x12e)]))return this[_0x41b083(0x1bc)](_0x252caa[0x0],_0x674a59[_0x41b083(0x12e)]);}async[_0x45f3e9(0x1c7)](){const _0x759823=_0x45f3e9;if(this[_0x759823(0x116)]()){this[_0x759823(0x13e)]['show']({'type':_0x1a6dba[_0x759823(0xe4)],'content':this[_0x759823(0x1b4)]['t'](_0x759823(0x9a))});return;}let _0x1c92d7=await V([_0x674a59[_0x759823(0x12e)]]);if(!_0x1c92d7)return;this[_0x759823(0x133)](_0x1a6dba['Info']);let _0x182a9e=await this[_0x759823(0x10a)][_0x759823(0x1c7)](_0x1c92d7[0x0]);_0x182a9e&&(this[_0x759823(0xb0)](_0x182a9e),this[_0x759823(0x133)](_0x1a6dba[_0x759823(0x101)]));}async[_0x45f3e9(0x18b)](_0x3d5304,_0x493093,_0x4d8edb){const _0x74339f=_0x45f3e9;this[_0x74339f(0xb4)](_0x1a6dba[_0x74339f(0x1c2)]);let _0x1dc6c5=await this[_0x74339f(0x10a)][_0x74339f(0x18b)](_0x3d5304||this[_0x74339f(0x1a8)]());_0x1dc6c5&&(this['_exchangeService'][_0x74339f(0xa0)](_0x1dc6c5,_0x493093||this[_0x74339f(0x1d8)](_0x1dc6c5,_0x4d8edb==null?_0x674a59[_0x74339f(0x12e)]:_0x4d8edb),'pptx'),this[_0x74339f(0xb4)](_0x1a6dba[_0x74339f(0x101)]));}async['exportPPTXBySnapshot'](){const _0x45cb91=_0x45f3e9;this[_0x45cb91(0xb4)](_0x1a6dba[_0x45cb91(0x1c2)]);let _0x2785fa=await this['_getUnitSlideJson'](),_0x1dc66f=await this['_exchangeService']['exportPPTXBySnapshot'](_0x2785fa);_0x1dc66f&&(this[_0x45cb91(0x10a)][_0x45cb91(0xa0)](_0x1dc66f,this[_0x45cb91(0x1d8)](_0x1dc66f,_0x674a59[_0x45cb91(0x12e)]),_0x45cb91(0xed)),this['_showDownloadMessage'](_0x1a6dba['Success']));}async[_0x45f3e9(0xe7)](){const _0x1eafda=_0x45f3e9;if(this['_uploadTaskNotDone']()){this[_0x1eafda(0x13e)]['show']({'type':_0x1a6dba[_0x1eafda(0xe4)],'content':this[_0x1eafda(0x1b4)]['t'](_0x1eafda(0x9a))});return;}let _0x5a7660=await V([_0x674a59[_0x1eafda(0xa5)]]);if(_0x5a7660&&!this[_0x1eafda(0xb3)](_0x5a7660,_0x674a59[_0x1eafda(0xa5)]))return this['_importFileToUnitId'](_0x5a7660[0x0],_0x674a59['UNIVER_SHEET']);}async[_0x45f3e9(0x11c)](){const _0x229c7b=_0x45f3e9;if(this['_uploadTaskNotDone']()){this['_messageService'][_0x229c7b(0x1a7)]({'type':_0x1a6dba[_0x229c7b(0xe4)],'content':this[_0x229c7b(0x1b4)]['t']('exchange-client.uploading')});return;}let _0x5712a9=await V([_0x674a59[_0x229c7b(0xa5)]]);if(!_0x5712a9)return;this[_0x229c7b(0x133)](_0x1a6dba[_0x229c7b(0x1c2)]);let _0x108838=await this[_0x229c7b(0x10a)][_0x229c7b(0x11c)](_0x5712a9[0x0]);_0x108838&&(this[_0x229c7b(0x1a4)](_0x108838),this[_0x229c7b(0x133)](_0x1a6dba[_0x229c7b(0x101)]));}async['exportXLSXByUnitId'](_0x360fa4,_0x118e5a,_0x112c31){const _0x2fef0d=_0x45f3e9;this[_0x2fef0d(0xb4)](_0x1a6dba[_0x2fef0d(0x1c2)]);let _0x59ee08=await this[_0x2fef0d(0x10a)][_0x2fef0d(0x171)](_0x360fa4||this['_getUnitID']());_0x59ee08&&(this[_0x2fef0d(0x10a)][_0x2fef0d(0xa0)](_0x59ee08,_0x118e5a||this['_getUnitName'](_0x59ee08),_0x2fef0d(0xbd)),this[_0x2fef0d(0xb4)](_0x1a6dba['Success']));}async[_0x45f3e9(0x1d1)](){const _0x4fae4f=_0x45f3e9;this[_0x4fae4f(0xb4)](_0x1a6dba['Info']);let _0x230d27=await this[_0x4fae4f(0x142)](),_0x386ab9=await this['_exchangeService'][_0x4fae4f(0x1d1)](_0x230d27);_0x386ab9&&(this[_0x4fae4f(0x10a)]['downloadFile'](_0x386ab9,this[_0x4fae4f(0xee)](_0x386ab9),'xlsx'),this[_0x4fae4f(0xb4)](_0x1a6dba[_0x4fae4f(0x101)]));}['registerLink'](_0x4ce126){const _0x1a786b=_0x45f3e9;this[_0x1a786b(0x127)]=_0x4ce126;}async[_0x45f3e9(0x1bc)](_0x1e365a,_0x21ee02){const _0x4d2c42=_0x45f3e9;this[_0x4d2c42(0x131)][_0x4d2c42(0x1a7)](),this[_0x4d2c42(0x131)][_0x4d2c42(0x1b0)](0x0),this['_addTotalCount'](0x4),this[_0x4d2c42(0x108)](0x1);let _0x34eb05=await this[_0x4d2c42(0x10a)][_0x4d2c42(0x1c4)](_0x1e365a,_0x21ee02);if(!_0x34eb05){this['_clearProgress'](),this[_0x4d2c42(0x131)][_0x4d2c42(0x1b0)](0x2);return;}let _0x12770d={'link':this['_getLinkByUnitId'](_0x34eb05,_0x21ee02),'name':_0x1e365a[_0x4d2c42(0x11b)],'type':_0x21ee02};return this[_0x4d2c42(0x131)][_0x4d2c42(0xaa)](_0x12770d),this[_0x4d2c42(0x185)](),this['_uploadNotificationService']['updateState'](0x1),_0x34eb05;}[_0x45f3e9(0x194)](){const _0x5367ed=_0x45f3e9;return this[_0x5367ed(0x123)][_0x5367ed(0x14b)](_0x674a59[_0x5367ed(0xa5)])[_0x5367ed(0xbc)]();}['_getUnitIDDoc'](){const _0x3f44ac=_0x45f3e9;return this[_0x3f44ac(0x123)]['getCurrentUnitOfType'](_0x674a59[_0x3f44ac(0xae)])[_0x3f44ac(0xbc)]();}['_getUnitIDSlide'](){const _0x5d19bf=_0x45f3e9;return this[_0x5d19bf(0x123)]['getCurrentUnitOfType'](_0x674a59[_0x5d19bf(0x12e)])[_0x5d19bf(0xbc)]();}['_getUnitName'](_0x418b51){const _0x5a10c3=_0x45f3e9;return this[_0x5a10c3(0x1d8)](_0x418b51,_0x674a59['UNIVER_SHEET']);}[_0x45f3e9(0x1d8)](_0x2a7ceb,_0x54a0fd){const _0x54e294=_0x45f3e9;var _0x3e159e;let _0x111c3e=(_0x3e159e=this[_0x54e294(0x123)][_0x54e294(0x14b)](_0x54a0fd))==null?void 0x0:_0x3e159e[_0x54e294(0x165)](),_0x583ae3=_0x111c3e==null?void 0x0:_0x111c3e[_0x54e294(0x11b)];return typeof _0x583ae3==_0x54e294(0xc7)&&_0x583ae3[_0x54e294(0x1cd)]()?_0x583ae3:_0x2a7ceb[_0x54e294(0x11b)][_0x54e294(0x129)]('.')[_0x54e294(0xc6)]()||document[_0x54e294(0x184)];}async[_0x45f3e9(0x142)](){const _0x29316b=_0x45f3e9;let _0x5a0d00=this[_0x29316b(0x123)][_0x29316b(0x14b)](_0x674a59[_0x29316b(0xa5)]),_0x4ab014=this['_resourceLoaderService'][_0x29316b(0x132)](_0x5a0d00[_0x29316b(0xbc)]());return _0x4ab014==null?_0x5a0d00[_0x29316b(0x165)]():_0x4ab014;}async[_0x45f3e9(0xa2)](){const _0x16022d=_0x45f3e9;let _0x225e0f=this['_univerInstanceService']['getCurrentUnitOfType'](_0x674a59[_0x16022d(0xae)]),_0x34658e=this[_0x16022d(0x1cf)][_0x16022d(0x132)](_0x225e0f[_0x16022d(0xbc)]());return _0x34658e==null?_0x225e0f[_0x16022d(0x165)]():_0x34658e;}async['_getUnitSlideJson'](){const _0x1b00be=_0x45f3e9;let _0x2c90bc=this[_0x1b00be(0x123)][_0x1b00be(0x14b)](_0x674a59[_0x1b00be(0x12e)]),_0x590289=this[_0x1b00be(0x1cf)][_0x1b00be(0x132)](_0x2c90bc[_0x1b00be(0xbc)]());return _0x590289==null?_0x2c90bc['getSnapshot']():_0x590289;}[_0x45f3e9(0x127)](_0x367883,_0x59b82c){const _0x472b85=_0x45f3e9;let _0x306f25=new URL(window[_0x472b85(0xf8)][_0x472b85(0x126)]);return _0x306f25[_0x472b85(0x17c)][_0x472b85(0x11f)](_0x472b85(0x1b3),_0x367883),_0x306f25['searchParams'][_0x472b85(0x11f)]('type',''+_0x59b82c),_0x306f25['toString']();}[_0x45f3e9(0x1a4)](_0x20a1d8){const _0x4c5fc9=_0x45f3e9;let _0x45a611=this['_univerInstanceService'][_0x4c5fc9(0x14b)](_0x674a59['UNIVER_SHEET'])[_0x4c5fc9(0xbc)]();this[_0x4c5fc9(0x123)][_0x4c5fc9(0xf4)](_0x45a611),this[_0x4c5fc9(0x123)]['createUnit'](_0x674a59[_0x4c5fc9(0xa5)],_0x20a1d8);}[_0x45f3e9(0xb0)](_0x22d12d){const _0x140261=_0x45f3e9;let _0x472cd1=this[_0x140261(0x123)]['getCurrentUnitOfType'](_0x674a59[_0x140261(0x12e)])[_0x140261(0xbc)]();this[_0x140261(0x123)][_0x140261(0xf4)](_0x472cd1),this['_univerInstanceService']['createUnit'](_0x674a59['UNIVER_SLIDE'],_0x22d12d);}[_0x45f3e9(0x1ca)](_0x3149fd){const _0x3ee60c=_0x45f3e9;if(_0x3149fd){let {code:_0x207eaa}=_0x3149fd;switch(_0x207eaa){case _0x64bd4b[_0x3ee60c(0x118)]:this[_0x3ee60c(0x13e)][_0x3ee60c(0x1a7)]({'type':_0x1a6dba[_0x3ee60c(0x114)],'content':this['_localeService']['t'](_0x3ee60c(0x141))});break;case _0x64bd4b[_0x3ee60c(0x1d2)]:this[_0x3ee60c(0x13e)][_0x3ee60c(0x1a7)]({'type':_0x1a6dba[_0x3ee60c(0x114)],'content':this['_localeService']['t']('exchange-client.internalError')});break;default:this[_0x3ee60c(0x13e)][_0x3ee60c(0x1a7)]({'type':_0x1a6dba[_0x3ee60c(0x114)],'content':this[_0x3ee60c(0x1b4)]['t']('exchange-client.networkError')});break;}return null;}return this[_0x3ee60c(0x13e)][_0x3ee60c(0x1a7)]({'type':_0x1a6dba[_0x3ee60c(0x114)],'content':this[_0x3ee60c(0x1b4)]['t'](_0x3ee60c(0x15f))}),null;}['_showDownloadMessage'](_0x3120f6){const _0x2ec3a7=_0x45f3e9;let _0x21ddfc='';switch(_0x3120f6){case _0x1a6dba[_0x2ec3a7(0x101)]:_0x21ddfc=this['_localeService']['t'](_0x2ec3a7(0x173));break;case _0x1a6dba[_0x2ec3a7(0x1c2)]:_0x21ddfc=this[_0x2ec3a7(0x1b4)]['t'](_0x2ec3a7(0x190));break;default:break;}this['_messageService'][_0x2ec3a7(0x1a7)]({'type':_0x3120f6,'content':_0x21ddfc});}[_0x45f3e9(0x133)](_0x4335ec){const _0x5a18ae=_0x45f3e9;let _0x3e2715='';switch(_0x4335ec){case _0x1a6dba['Success']:_0x3e2715=this['_localeService']['t']('exchange-client.uploadSuccess');break;case _0x1a6dba['Info']:_0x3e2715=this[_0x5a18ae(0x1b4)]['t'](_0x5a18ae(0x9a));break;default:break;}this['_messageService'][_0x5a18ae(0x1a7)]({'type':_0x4335ec,'content':_0x3e2715});}[_0x45f3e9(0xf2)](){const _0x5b3e6f=_0x45f3e9;this[_0x5b3e6f(0x111)][_0x5b3e6f(0x16d)]({'done':this[_0x5b3e6f(0x1a9)],'count':this[_0x5b3e6f(0xa8)]});}['_addTotalCount'](_0x5c97a7){const _0x5294ff=_0x45f3e9;this['_totalUploadTaskCount']+=_0x5c97a7,this[_0x5294ff(0xf2)]();}[_0x45f3e9(0x108)](_0x54c84d){const _0x5eed51=_0x45f3e9;this[_0x5eed51(0x1a9)]+=_0x54c84d,this[_0x5eed51(0x1a9)]=Math[_0x5eed51(0xa1)](this[_0x5eed51(0x1a9)],this[_0x5eed51(0xa8)]),this[_0x5eed51(0xf2)]();}['_completeProgress'](){const _0x1c0eb8=_0x45f3e9;this[_0x1c0eb8(0x1a9)]=this[_0x1c0eb8(0xa8)],this[_0x1c0eb8(0xf2)]();}[_0x45f3e9(0xd7)](){const _0x23c55a=_0x45f3e9;this[_0x23c55a(0x1a9)]=0x0,this[_0x23c55a(0xa8)]=0x0,this[_0x23c55a(0xf2)]();}[_0x45f3e9(0xb3)](_0x282cbd,_0x481fdb){const _0x17a322=_0x45f3e9;let _0x2d9f00=_0x282cbd[0x0],_0xb5a5fe=_0x2d9f00[_0x17a322(0x11b)];return He(_0x2d9f00)===_0x481fdb?!0x1:(this['_messageService'][_0x17a322(0x1a7)]({'type':_0x1a6dba['Error'],'content':this[_0x17a322(0x1b4)]['t'](_0x17a322(0x169),_0xb5a5fe)}),!0x0);}[_0x45f3e9(0x116)](){const _0x1c3101=_0x45f3e9;return this[_0x1c3101(0xa8)]!==0x0&&this[_0x1c3101(0x1a9)]!==this['_totalUploadTaskCount'];}};Z=D([E(0x0,_0xed835d(_0x4c3d27)),E(0x1,_0x9862e3),E(0x2,_0xed835d(_0x158314)),E(0x3,_0xed835d(J)),E(0x4,_0xed835d(j)),E(0x5,_0x45bc42),E(0x6,_0xed835d(_0x17d5a5))],Z);function at(_0x17c917){const _0x2fc7b0=_0x45f3e9;let {onClick:_0x48940e,children:_0x1ed1ee,className:_0x483875}=_0x17c917;return _0x21e2db(_0x2fc7b0(0x151),{'className':_0x2a0c28(_0x2fc7b0(0x96),_0x483875),'type':_0x2fc7b0(0x151),'onClick':_0x48940e,'children':_0x1ed1ee});}function ot(){const _0x38c891=_0x45f3e9;let _0x66ff2=_0x4856e1(X),_0x4f6243=_0x4856e1(_0x158314);function _0x5f0723(){_0x66ff2['importFileToUnitIdByCurrentType']();}return _0x21e2db(at,{'onClick':_0x5f0723,'children':_0x4f6243['t'](_0x38c891(0x1ba))});}function st(){const _0x2c8511=_0x45f3e9;return _0x46050f('div',{'className':_0x2c8511(0x188),'children':[_0x21e2db(_0x2c8511(0x178),{'className':_0x2c8511(0xc9),'children':_0x4856e1(_0x158314)['t'](_0x2c8511(0xac))}),_0x21e2db(ot,{})]});}function _0x5d7c(){const _0x142a48=['3440220mjZJgx','call','none','content-disposition','ignoreTableExport','univer-text-sm\x20univer-text-gray-500','some','decode','Warning','753iTjYXa','files','importXLSXToUnitId','_export','_injector','transformSnapshotJsonToWorkbookData','isArray','blockID','pptx','_getUnitName','2640143wYznxy','_getExportURL','options','_emitProgress','FileId','disposeUnit','upload\x20failed:\x20FileId\x20is\x20empty','workbook.json','filter','location','_getMinSheetColumnCount','_configService','Failed\x20to\x20transform\x20snapshot\x20to\x20string','@univerjs-pro/exchange-client','Error\x20getting\x20file\x20name\x20from\x20URL:','multiple','importFileToJson','div','Success','statusText','_requestState$','univer-pl-2\x20univer-pr-4','setTaskInterrupted','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','url','_addDoneTask','unitID','_exchangeService','getTextFromUrl','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','exchange-client.unknownMistake','getTask','exportDOCXByUnitId','clearTaskInterrupted','_progress$','noreferrer','parse','Error','minSheetColumnCount','_uploadTaskNotDone','change','CONNECTOR_DATA_TOO_LARGE','_upload','sheetBlocks','name','importXLSXToSnapshot','getUnitType','_list','set','createElement','UNIVER_BASE','/universer-api/stream/file/upload','_univerInstanceService','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','signUrl','href','_getLinkByUnitId','createObjectURL','split','encode','_signUrl','file.','number','UNIVER_SLIDE','UNDEFINED','univer-pro.exchange-client.exchange.service','_uploadNotificationService','saveUnit','_showUploadMessage','data','get','exportDOCXBySnapshot','Failed\x20to\x20get\x20unitID\x20from\x20task','values','_requestService','join','application/octet-stream','&source=','importPPTXToUnitId','_messageService','uploadFileServerUrl','interruptImportTask','exchange-client.tooLarge','_getUnitJson','click','/universer-api/exchange/{type}/export','1.0.0-alpha.6','_httpService','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','_getImportURL','{type}','list$','getCurrentUnitOfType','setConfig','pdf','univer-text-green-500','pathname','interrupt','button','complete','getOwnPropertyDescriptor','outputType','7372899VTHIRj','application/vnd.ms-excel.sheet.macroEnabled.12','_getDownloadEndpointURL','upload','_config','version','updateSnapshot','147036mvnWZW','_registerUIParts','asObservable','exchange-client.networkError','importDOCXToSnapshot','_list$','saveSnapshot','minSheetRowCount','getUnitOnRev','getSnapshot','upload\x20request\x20failed','UNIVER_EXCHANGE_CLIENT_PLUGIN','copyFileMeta','exchange-client.fileTypeError','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','.json','5722595bZEDZo','next','_sheetBlockCache','originalMeta','_buildHttpErrorMessage','exportXLSXByUnitId','application/vnd.openxmlformats-officedocument.wordprocessingml.document','exchange-client.downloadSuccess','fetchMissingChangesets','snapshot','&flate=','exportPPTXBySnapshot','span','headers','8524IuUbmJ','_uiPartsService','searchParams','clear','maxTimeoutTime','docx','transformWorkbookDataToSnapshotJson','getLatestCsReqIdBySid','univer-fixed\x20univer-bottom-12\x20univer-right-3\x20univer-z-[1000]\x20univer-box-border\x20univer-flex\x20univer-w-[372px]\x20univer-flex-col\x20univer-rounded-md\x20univer-bg-white\x20univer-px-3\x20univer-pb-4\x20univer-pt-5\x20univer-shadow-md','exchange-client.config','title','_completeProgress','Failed\x20to\x20get\x20fileID\x20from\x20task','pop','univer-mt-5\x20univer-flex\x20univer-flex-col','default','Get\x20outputType\x20error','exportPPTXByUnitId','univer-pro.exchange-client.upload-notification.service','Failed\x20to\x20get\x20file\x20from\x20url','symbol','_iconManager','exchange-client.downloading','_importTaskId','upload\x20failed:\x20missing\x20FileId\x20in\x20response','importWorkbookDataToUnitId','_getUnitID','uploadFileToUnitId','function','done','univer-text-red-500','CONTENT','exchange-client.uploadSuccess','Error\x20fetching\x20file\x20from\x20URL:','univer-pro.exchange-client.operate.service','file','rev','sheets','progress$','Failed\x20to\x20get\x20text\x20from\x20url','_visible$','iterator','_refresh','workbook','map','show','_getUnitIDSlide','_doneUploadTaskCount','60CdOLyC','requestState$','register','floor','input','defineProperty','updateState','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','pending','unit','_localeService','code','currentTarget','_state$','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','success','exchange-client.uploadAgain','signUrlServerUrl','_importFileToUnitId','univer-flex\x20univer-h-5\x20univer-text-xl','append','visible$','link','post','Info','saveChangeset','importFileToUnitId','resources','stringify','importPPTXToSnapshot','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_getUploadFileURL','_showNetworkError','application/json','dispose','trim','_extractErrorDetail','_resourceLoaderService','replace','exportXLSXBySnapshot','INTERNAL_ERROR','export\x20error','revokeObjectURL','_importToJson','importFileToUnitIdByCurrentType','catch','_getUnitNameByType','message','hide','taskID','_getMaxPollingTime','1USJqFY','_taskInterrupted','univer-text-blue-500','blob','toLowerCase','univer-flex','prototype','slide','sign\x20url\x20error','style','getTaskServerUrl','export','status','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','UNRECOGNIZED','_getMinSheetRowCount','_getDisableCellImageConversion','exchange-client.uploading','getSheetBlock','fileID','exportServerUrl','_getTaskURL','length','downloadFile','min','_getUnitDocJson','disposeWithMe','getConfig','UNIVER_SHEET','block\x20is\x20required','HttpImport','_totalUploadTaskCount','_registerIcons','pushLink','UNIVER_PROJECT','exchange-client.interrupt','/universer-api/file/{fileID}/sign-url','UNIVER_DOC','keys','_refreshSlide','error','import','_fileTypeError','_showDownloadMessage','univer-h-6\x20univer-text-2xl','jsonID','object','_buildProtocolErrorMessage','pluginName','includes','state$','getUnitId','xlsx','getDeserializedSheetBlock','Method\x20not\x20implemented.','size','body','UNIVER_UNKNOWN','forEach',':\x20HTTP\x20','_import','shift','string','importDOCXToUnitId','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','importServerUrl','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','9600456KtQVhm','registerComponent','appendChild','_getIgnoreTableExport','resolve','subscribe','{taskID}','_exportBySnapshot','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','No\x20file\x20selected','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','_clearProgress','35yUtFrY','doc','file.json','add'];_0x5d7c=function(){return _0x142a48;};return _0x5d7c();}function ct(_0x37870f){const _0x4faafe=_0x45f3e9;let {count:_0x53b72b}=_0x37870f;return _0x46050f(_0x4faafe(0x100),{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[_0x21e2db(_0x4faafe(0x178),{'className':_0x4faafe(0xe1),'children':_0x4856e1(_0x158314)['t']('exchange-client.uploadSuccessTip',''+_0x53b72b)}),_0x21e2db(ot,{})]});}function lt(){let _0x39c779=_0x4856e1(X),_0x1651e6=_0x4856e1(_0x158314);function _0x5e1aa8(){const _0x5af362=_0x4527;_0x39c779[_0x5af362(0x150)]();}return _0x21e2db(at,{'onClick':_0x5e1aa8,'children':_0x1651e6['t']('exchange-client.cancel')});}function ut(){const _0x3bc458=_0x45f3e9;let {count:_0x38fd85,done:_0x4c6c15}=_0x2b3ddb(_0x4856e1(X)[_0x3bc458(0x1a0)]),_0x118cba=_0x38fd85>0x0?_0x4c6c15/_0x38fd85:0x0;return _0x21e2db(_0x3bc458(0x100),{'className':_0x3bc458(0xd4),'children':_0x21e2db(_0x3bc458(0x100),{'className':_0x3bc458(0x1b8),'style':{'width':Math[_0x3bc458(0x1ad)](_0x118cba*0x64)+'%'}})});}function dt(){const _0x17b2b6=_0x45f3e9;return _0x46050f(_0x17b2b6(0x100),{'className':_0x17b2b6(0x188),'children':[_0x21e2db(_0x17b2b6(0x178),{'className':_0x17b2b6(0xd6),'children':_0x4856e1(_0x158314)['t']('exchange-client.wait')}),_0x21e2db(_0x17b2b6(0x100),{'className':_0x17b2b6(0x104),'children':_0x21e2db(ut,{})}),_0x21e2db(lt,{})]});}const ft={0x1:_0x21e2db(_0x264b61,{'className':_0x45f3e9(0x14e)}),0x0:_0x21e2db(_0x4a290c,{'className':_0x45f3e9(0x1df)}),0x2:_0x21e2db(_0x550b4d,{'className':_0x45f3e9(0x198)})};function pt(){const _0x4599cc=_0x45f3e9;let _0x310400=_0x4856e1(j),_0x348213=_0x4856e1(_0x158314),_0x298593=_0x2b3ddb(_0x310400[_0x4599cc(0xbb)],0x0),_0x58942c=_0x2b3ddb(_0x310400[_0x4599cc(0x1bf)],!0x1),_0x1eb279=_0x2b3ddb(_0x310400[_0x4599cc(0x14a)],[]);function _0x2496d6(){_0x310400['hide']();}function _0x41f685(_0x4ba9fd){const _0x42f70a=_0x4599cc;switch(_0x4ba9fd){case 0x1:return _0x348213['t'](_0x42f70a(0x19a));case 0x0:return _0x348213['t'](_0x42f70a(0x9a));case 0x2:return _0x348213['t'](_0x42f70a(0x10d));default:return'';}}return _0x58942c&&_0x46050f('div',{'className':_0x4599cc(0x182),'children':[_0x46050f(_0x4599cc(0x100),{'className':_0x4599cc(0x16a),'children':[_0x46050f('span',{'className':_0x4599cc(0x1e2),'children':[_0x21e2db('span',{'className':_0x4599cc(0xb5),'children':ft[_0x298593]}),_0x21e2db(_0x4599cc(0x178),{'className':'univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','children':_0x41f685(_0x298593)})]}),_0x21e2db(_0x4599cc(0x178),{'className':_0x4599cc(0x147),'onClick':_0x2496d6,'children':_0x21e2db(_0xb110b7,{})})]}),_0x46050f(_0x4599cc(0x100),{'children':[_0x298593===0x0&&_0x21e2db(dt,{}),_0x298593===0x2&&_0x21e2db(st,{}),_0x1eb279['length']>0x0&&_0x21e2db(Be,{'list':_0x1eb279}),_0x298593===0x1&&_0x21e2db(ct,{'count':_0x1eb279[_0x4599cc(0x9f)]})]})]});}function mt(){return _0x21e2db(pt,{});}let Q=class extends _0x49a4c5{constructor(_0x565fe3,_0x389683){const _0x5e68c4=_0x45f3e9;super(),this[_0x5e68c4(0xe9)]=_0x565fe3,this[_0x5e68c4(0x17b)]=_0x389683,this[_0x5e68c4(0x15d)]();}[_0x45f3e9(0x15d)](){const _0x589471=_0x45f3e9;this[_0x589471(0xa3)](this[_0x589471(0x17b)][_0x589471(0xcd)](_0x1a0976[_0x589471(0x199)],()=>_0x2d7334(mt,this[_0x589471(0xe9)])));}};Q=D([E(0x0,_0xed835d(_0x121210)),E(0x1,_0x1cecfb)],Q);let $=class extends _0x18314c{constructor(_0x163102=Ie,_0x27db13,_0x4a5e2d){const _0x5adab4=_0x45f3e9;super(),this[_0x5adab4(0x159)]=_0x163102,this[_0x5adab4(0xe9)]=_0x27db13,this[_0x5adab4(0xfa)]=_0x4a5e2d;let {..._0x440e18}=_0x40a5e6({},Ie,this[_0x5adab4(0x159)]);this[_0x5adab4(0xfa)][_0x5adab4(0x14c)](T,_0x440e18);}['onStarting'](){const _0x337278=_0x45f3e9;_0x2023be(this[_0x337278(0xe9)],[[O],[Q],[X,{'useClass':Z}],[J,{'useClass':Y}],[W,{'useClass':G}],[j,{'useClass':ze}]]);}['onReady'](){const _0x4ae8b1=_0x45f3e9;_0x430f0f(this[_0x4ae8b1(0xe9)],[[O],[Q],[X]]);}};A($,_0x45f3e9(0xb9),_0x45f3e9(0x167)),A($,'packageName',Pe),A($,_0x45f3e9(0x15a),Fe),$=D([_0x2ac793(_0x30224d,_0x3763f9),E(0x1,_0xed835d(_0x121210)),E(0x2,_0x49b63c)],$);export{X as IExchangeOperateService,J as IExchangeService,$ as UniverExchangeClientPlugin,Ve as downloadFile,tt as transformSnapshotJsonToWorkbookData,Qe as transformWorkbookDataToSnapshotJson};
|
package/lib/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0xef59(_0x599eb2,_0x2ce1b1){_0x599eb2=_0x599eb2-0x187;const _0x580df0=_0x580d();let _0xef59db=_0x580df0[_0x599eb2];return _0xef59db;}const _0x11110f=_0xef59;(function(_0x54a3f2,_0x557472){const _0x18e983=_0xef59,_0x154b7a=_0x54a3f2();while(!![]){try{const _0x9a771=parseInt(_0x18e983(0x194))/0x1+-parseInt(_0x18e983(0x191))/0x2+-parseInt(_0x18e983(0x19b))/0x3*(-parseInt(_0x18e983(0x197))/0x4)+-parseInt(_0x18e983(0x18c))/0x5+-parseInt(_0x18e983(0x193))/0x6*(-parseInt(_0x18e983(0x195))/0x7)+-parseInt(_0x18e983(0x18b))/0x8+parseInt(_0x18e983(0x190))/0x9;if(_0x9a771===_0x557472)break;else _0x154b7a['push'](_0x154b7a['shift']());}catch(_0x2d3b1f){_0x154b7a['push'](_0x154b7a['shift']());}}}(_0x580d,0xf2a86));const e={'exchange-client':{'uploading':_0x11110f(0x189),'uploadSuccess':_0x11110f(0x18a),'uploadSuccessTip':_0x11110f(0x192),'downloading':'جارٍ\x20التحميل','downloadSuccess':_0x11110f(0x196),'unknownMistake':'خطأ\x20غير\x20معروف','networkError':_0x11110f(0x198),'tooLarge':_0x11110f(0x187),'internalError':_0x11110f(0x18f),'interrupt':_0x11110f(0x18e),'fileTypeError':_0x11110f(0x188),'wait':_0x11110f(0x199),'cancel':_0x11110f(0x19a),'uploadAgain':_0x11110f(0x18d)}};function _0x580d(){const _0x460cfe=['306842NVqEJK','1162ypDQpu','تم\x20التحميل\x20بنجاح','441880CREkiH','خطأ\x20في\x20الشبكة','يرجى\x20الانتظار...','إلغاء','42SozdWc','البيانات\x20كبيرة\x20جداً','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','جارٍ\x20الرفع','تم\x20رفع\x20الملف\x20بنجاح','3052440VvqgiM','6206125YpWSSZ','إعادة\x20الرفع','تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','خطأ\x20داخلي\x20غير\x20معروف','6014934JNGvdq','2320336mUTnMH','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','45366ewIxXt'];_0x580d=function(){return _0x460cfe;};return _0x580d();}export{e as default};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1481(){const _0x3b180f=['{0}\x20fitxer(s)\x20pujat(s)\x20correctament','85kdUBWa','471096dcnntk','5MBoIIG','87108dwgZaS','Fitxer\x20pujat\x20correctament','7wjzOwx','229239UanIFo','12WYNhdL','El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','Error\x20desconegut','Descarregant','Descàrrega\x20correcta','6631977EVrUXV','Les\x20dades\x20són\x20massa\x20grans','110qAiGwc','Error\x20intern\x20desconegut','3095088ORMSgn','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','253383lDfBAL','140324FsCUOc'];_0x1481=function(){return _0x3b180f;};return _0x1481();}function _0x107f(_0x2d4b2b,_0x9b7f9d){_0x2d4b2b=_0x2d4b2b-0xe4;const _0x1481d2=_0x1481();let _0x107faf=_0x1481d2[_0x2d4b2b];return _0x107faf;}const _0x30d855=_0x107f;(function(_0x1ad45b,_0xde8d8d){const _0x59aa50=_0x107f,_0x3f3cbe=_0x1ad45b();while(!![]){try{const _0x252508=parseInt(_0x59aa50(0xec))/0x1*(parseInt(_0x59aa50(0xe8))/0x2)+parseInt(_0x59aa50(0xe7))/0x3+parseInt(_0x59aa50(0xeb))/0x4+-parseInt(_0x59aa50(0xea))/0x5*(parseInt(_0x59aa50(0xed))/0x6)+parseInt(_0x59aa50(0xef))/0x7*(parseInt(_0x59aa50(0xe5))/0x8)+parseInt(_0x59aa50(0xf0))/0x9*(parseInt(_0x59aa50(0xf8))/0xa)+-parseInt(_0x59aa50(0xf6))/0xb*(parseInt(_0x59aa50(0xf1))/0xc);if(_0x252508===_0xde8d8d)break;else _0x3f3cbe['push'](_0x3f3cbe['shift']());}catch(_0x4c579f){_0x3f3cbe['push'](_0x3f3cbe['shift']());}}}(_0x1481,0x5a6df));const e={'exchange-client':{'uploading':'Pujant','uploadSuccess':_0x30d855(0xee),'uploadSuccessTip':_0x30d855(0xe9),'downloading':_0x30d855(0xf4),'downloadSuccess':_0x30d855(0xf5),'unknownMistake':_0x30d855(0xf3),'networkError':'Error\x20de\x20xarxa','tooLarge':_0x30d855(0xf7),'internalError':_0x30d855(0xe4),'interrupt':_0x30d855(0xe6),'fileTypeError':_0x30d855(0xf2),'wait':'Espereu...','cancel':'Cancel·lar','uploadAgain':'Tornar\x20a\x20pujar'}};export{e as default};
|
package/lib/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1ce8f0=_0x1134;function _0x1134(_0x5b1f93,_0x116728){_0x5b1f93=_0x5b1f93-0x9e;const _0x3a8dbd=_0x3a8d();let _0x1134a3=_0x3a8dbd[_0x5b1f93];return _0x1134a3;}(function(_0xba1ae8,_0x3e4e81){const _0x32047e=_0x1134,_0x3a0a3e=_0xba1ae8();while(!![]){try{const _0x3f9fca=-parseInt(_0x32047e(0xa6))/0x1*(parseInt(_0x32047e(0xaf))/0x2)+parseInt(_0x32047e(0xab))/0x3*(parseInt(_0x32047e(0xb1))/0x4)+-parseInt(_0x32047e(0x9f))/0x5+-parseInt(_0x32047e(0xa9))/0x6+parseInt(_0x32047e(0xa3))/0x7+parseInt(_0x32047e(0xad))/0x8+parseInt(_0x32047e(0xa7))/0x9*(parseInt(_0x32047e(0xa4))/0xa);if(_0x3f9fca===_0x3e4e81)break;else _0x3a0a3e['push'](_0x3a0a3e['shift']());}catch(_0x41643d){_0x3a0a3e['push'](_0x3a0a3e['shift']());}}}(_0x3a8d,0x4202b));function _0x3a8d(){const _0x3b0422=['Abbrechen','3894536muHVuP','Datei\x20erfolgreich\x20hochgeladen','192734zHkgGH','Daten\x20sind\x20zu\x20groß','1268JJBGCv','Wird\x20hochgeladen','2600240HLWrWa','Interner\x20unbekannter\x20Fehler','Erneut\x20hochladen','Netzwerkfehler','659568oKjlZT','958190NXDgLO','Bitte\x20warten...','1JPcQnn','54nGgXfA','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','2313000JxXzJS','Wird\x20heruntergeladen','1101JeoBac'];_0x3a8d=function(){return _0x3b0422;};return _0x3a8d();}const e={'exchange-client':{'uploading':_0x1ce8f0(0x9e),'uploadSuccess':_0x1ce8f0(0xae),'uploadSuccessTip':_0x1ce8f0(0xa8),'downloading':_0x1ce8f0(0xaa),'downloadSuccess':'Download\x20erfolgreich','unknownMistake':'Unbekannter\x20Fehler','networkError':_0x1ce8f0(0xa2),'tooLarge':_0x1ce8f0(0xb0),'internalError':_0x1ce8f0(0xa0),'interrupt':'Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','fileTypeError':'Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','wait':_0x1ce8f0(0xa5),'cancel':_0x1ce8f0(0xac),'uploadAgain':_0x1ce8f0(0xa1)}};export{e as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x3b2c8d=_0x657f;function _0x3e10(){const _0x5408f1=['352290TwSdCi','Uploading','259971cRvJSM','Data\x20is\x20too\x20large','Downloading','2173608psnBEi','84658qhZqfG','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','9iSIjMk','Please\x20wait...','79932BWGJyd','2199177YrlqcP','File\x20uploaded\x20successfully','4FzNapv','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','119zoMHyJ','1398105aGxGov','Upload\x20again','Unknown\x20mistake','Download\x20success'];_0x3e10=function(){return _0x5408f1;};return _0x3e10();}(function(_0x9e1ea2,_0xea2ac3){const _0x387c0a=_0x657f,_0x364b68=_0x9e1ea2();while(!![]){try{const _0x4049ab=parseInt(_0x387c0a(0x142))/0x1+parseInt(_0x387c0a(0x146))/0x2*(-parseInt(_0x387c0a(0x148))/0x3)+parseInt(_0x387c0a(0x14d))/0x4*(-parseInt(_0x387c0a(0x150))/0x5)+parseInt(_0x387c0a(0x14a))/0x6*(parseInt(_0x387c0a(0x14f))/0x7)+parseInt(_0x387c0a(0x145))/0x8+-parseInt(_0x387c0a(0x14b))/0x9+parseInt(_0x387c0a(0x140))/0xa;if(_0x4049ab===_0xea2ac3)break;else _0x364b68['push'](_0x364b68['shift']());}catch(_0x2b43b0){_0x364b68['push'](_0x364b68['shift']());}}}(_0x3e10,0x22c4e));function _0x657f(_0x962211,_0xcdc919){_0x962211=_0x962211-0x13e;const _0x3e10ff=_0x3e10();let _0x657f1=_0x3e10ff[_0x962211];return _0x657f1;}const e={'exchange-client':{'uploading':_0x3b2c8d(0x141),'uploadSuccess':_0x3b2c8d(0x14c),'uploadSuccessTip':'{0}\x20file(s)\x20uploaded\x20successfully','downloading':_0x3b2c8d(0x144),'downloadSuccess':_0x3b2c8d(0x13f),'unknownMistake':_0x3b2c8d(0x13e),'networkError':'Network\x20error','tooLarge':_0x3b2c8d(0x143),'internalError':'Internal\x20unknown\x20error','interrupt':_0x3b2c8d(0x147),'fileTypeError':_0x3b2c8d(0x14e),'wait':_0x3b2c8d(0x149),'cancel':'Cancel','uploadAgain':_0x3b2c8d(0x151)}};export{e as default};
|
package/lib/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x49c863=_0x3392;function _0x4070(){const _0x3690fa=['Descarga\x20exitosa','93EWNIzI','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','342199ttSJyE','Los\x20datos\x20son\x20demasiado\x20grandes','91jTarbS','3136383OgUJWU','3380952dIRTJA','Error\x20de\x20red','Archivo\x20subido\x20exitosamente','1388rqfEDB','{0}\x20archivo(s)\x20subido(s)\x20exitosamente','Descargando','Subir\x20de\x20nuevo','10YcFmpl','192dpvIQc','232gmzTJo','73716Locwgz','Cancelar','17732221sSOMeq','Espere...','Error\x20interno\x20desconocido','581tGwqnW','Subiendo','5jIWbzS','Error\x20desconocido'];_0x4070=function(){return _0x3690fa;};return _0x4070();}function _0x3392(_0x10926c,_0x1b787b){_0x10926c=_0x10926c-0x122;const _0x40703e=_0x4070();let _0x339259=_0x40703e[_0x10926c];return _0x339259;}(function(_0x3744f5,_0x43a280){const _0xc29865=_0x3392,_0x578da9=_0x3744f5();while(!![]){try{const _0x2ae940=parseInt(_0xc29865(0x136))/0x1*(-parseInt(_0xc29865(0x13b))/0x2)+parseInt(_0xc29865(0x132))/0x3*(-parseInt(_0xc29865(0x128))/0x4)+-parseInt(_0xc29865(0x12f))/0x5*(parseInt(_0xc29865(0x138))/0x6)+-parseInt(_0xc29865(0x12d))/0x7*(-parseInt(_0xc29865(0x127))/0x8)+parseInt(_0xc29865(0x137))/0x9*(-parseInt(_0xc29865(0x125))/0xa)+-parseInt(_0xc29865(0x134))/0xb*(-parseInt(_0xc29865(0x126))/0xc)+parseInt(_0xc29865(0x12a))/0xd;if(_0x2ae940===_0x43a280)break;else _0x578da9['push'](_0x578da9['shift']());}catch(_0x34e79a){_0x578da9['push'](_0x578da9['shift']());}}}(_0x4070,0x4d928));const e={'exchange-client':{'uploading':_0x49c863(0x12e),'uploadSuccess':_0x49c863(0x13a),'uploadSuccessTip':_0x49c863(0x122),'downloading':_0x49c863(0x123),'downloadSuccess':_0x49c863(0x131),'unknownMistake':_0x49c863(0x130),'networkError':_0x49c863(0x139),'tooLarge':_0x49c863(0x135),'internalError':_0x49c863(0x12c),'interrupt':'La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','fileTypeError':_0x49c863(0x133),'wait':_0x49c863(0x12b),'cancel':_0x49c863(0x129),'uploadAgain':_0x49c863(0x124)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1dfb(){const _0x5c8373=['داده\x20خیلی\x20بزرگ\x20است','308646QZltoi','خطای\x20ناشناخته','لغو','5097DHhdjj','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','5780020TrtImS','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','36HHlEfe','28oDbIjN','3303751AAQOOQ','2618PDUgNH','خطای\x20شبکه','163paKHzy','در\x20حال\x20بارگذاری','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','570920bSCXuA','2671130CVqUQh','لطفا\x20صبر\x20کنید...','796lyuQcB'];_0x1dfb=function(){return _0x5c8373;};return _0x1dfb();}const _0x1c72ff=_0x53f2;(function(_0x17c416,_0x3af75d){const _0xfa7df1=_0x53f2,_0x3fc013=_0x17c416();while(!![]){try{const _0x3bd292=-parseInt(_0xfa7df1(0xf7))/0x1*(parseInt(_0xfa7df1(0xf5))/0x2)+parseInt(_0xfa7df1(0x102))/0x3*(-parseInt(_0xfa7df1(0xfd))/0x4)+parseInt(_0xfa7df1(0xfb))/0x5+parseInt(_0xfa7df1(0xff))/0x6*(-parseInt(_0xfa7df1(0xf3))/0x7)+-parseInt(_0xfa7df1(0xfa))/0x8*(-parseInt(_0xfa7df1(0xf2))/0x9)+parseInt(_0xfa7df1(0x105))/0xa+-parseInt(_0xfa7df1(0xf4))/0xb;if(_0x3bd292===_0x3af75d)break;else _0x3fc013['push'](_0x3fc013['shift']());}catch(_0x1a3e02){_0x3fc013['push'](_0x3fc013['shift']());}}}(_0x1dfb,0x53093));const e={'exchange-client':{'uploading':_0x1c72ff(0xf8),'uploadSuccess':_0x1c72ff(0xf1),'uploadSuccessTip':_0x1c72ff(0x104),'downloading':'در\x20حال\x20دانلود','downloadSuccess':'دانلود\x20موفقیت\x20آمیز','unknownMistake':_0x1c72ff(0x100),'networkError':_0x1c72ff(0xf6),'tooLarge':_0x1c72ff(0xfe),'internalError':'خطای\x20داخلی\x20ناشناخته','interrupt':_0x1c72ff(0x103),'fileTypeError':_0x1c72ff(0xf9),'wait':_0x1c72ff(0xfc),'cancel':_0x1c72ff(0x101),'uploadAgain':'بارگذاری\x20مجدد'}};function _0x53f2(_0x12e3e8,_0x52d7a9){_0x12e3e8=_0x12e3e8-0xf1;const _0x1dfb53=_0x1dfb();let _0x53f2ac=_0x1dfb53[_0x12e3e8];return _0x53f2ac;}export{e as default};
|
package/lib/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xfcae(_0x4d39d0,_0xa74b44){_0x4d39d0=_0x4d39d0-0xf7;const _0x44d929=_0x44d9();let _0xfcae6d=_0x44d929[_0x4d39d0];return _0xfcae6d;}const _0x388e59=_0xfcae;(function(_0x48e0a5,_0x17499d){const _0x599780=_0xfcae,_0x4c9f61=_0x48e0a5();while(!![]){try{const _0x35d56a=parseInt(_0x599780(0x105))/0x1+parseInt(_0x599780(0x10a))/0x2*(parseInt(_0x599780(0x106))/0x3)+parseInt(_0x599780(0xf7))/0x4+-parseInt(_0x599780(0x109))/0x5+-parseInt(_0x599780(0xf9))/0x6+-parseInt(_0x599780(0x103))/0x7+-parseInt(_0x599780(0x101))/0x8*(parseInt(_0x599780(0x100))/0x9);if(_0x35d56a===_0x17499d)break;else _0x4c9f61['push'](_0x4c9f61['shift']());}catch(_0x30eaac){_0x4c9f61['push'](_0x4c9f61['shift']());}}}(_0x44d9,0x99249));const e={'exchange-client':{'uploading':_0x388e59(0xfa),'uploadSuccess':_0x388e59(0x107),'uploadSuccessTip':_0x388e59(0xfb),'downloading':_0x388e59(0xfc),'downloadSuccess':_0x388e59(0xf8),'unknownMistake':_0x388e59(0x10b),'networkError':'Erreur\x20réseau','tooLarge':_0x388e59(0xff),'internalError':'Erreur\x20interne\x20inconnue','interrupt':_0x388e59(0xfe),'fileTypeError':_0x388e59(0x104),'wait':_0x388e59(0x108),'cancel':_0x388e59(0xfd),'uploadAgain':_0x388e59(0x102)}};export{e as default};function _0x44d9(){const _0x5ebb52=['Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','1020628oWaoHD','68358rPJyWH','Fichier\x20téléchargé\x20avec\x20succès','Veuillez\x20patienter...','2392595iWWZAA','8wtqGda','Erreur\x20inconnue','2796548dxRWGV','Téléchargement\x20réussi','922272UCpKCs','Téléchargement\x20en\x20cours','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement','Annuler','La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','Les\x20données\x20sont\x20trop\x20volumineuses','302517lgrzrq','8BsTPhK','Télécharger\x20à\x20nouveau','3624544gbXKiT'];_0x44d9=function(){return _0x5ebb52;};return _0x44d9();}
|
package/lib/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x546a38=_0x3804;(function(_0x59c91c,_0x161c9e){const _0x1fcf46=_0x3804,_0x1545a7=_0x59c91c();while(!![]){try{const _0x44fbf9=parseInt(_0x1fcf46(0x94))/0x1+parseInt(_0x1fcf46(0x91))/0x2*(-parseInt(_0x1fcf46(0x8f))/0x3)+parseInt(_0x1fcf46(0x99))/0x4+parseInt(_0x1fcf46(0x9a))/0x5*(parseInt(_0x1fcf46(0x96))/0x6)+-parseInt(_0x1fcf46(0x8d))/0x7*(-parseInt(_0x1fcf46(0x8b))/0x8)+-parseInt(_0x1fcf46(0x90))/0x9+-parseInt(_0x1fcf46(0x8c))/0xa;if(_0x44fbf9===_0x161c9e)break;else _0x1545a7['push'](_0x1545a7['shift']());}catch(_0x2b7131){_0x1545a7['push'](_0x1545a7['shift']());}}}(_0x13cd,0x26594));const e={'exchange-client':{'uploading':_0x546a38(0x98),'uploadSuccess':_0x546a38(0x97),'uploadSuccessTip':_0x546a38(0x8a),'downloading':_0x546a38(0x95),'downloadSuccess':_0x546a38(0x8e),'unknownMistake':'Kesalahan\x20tidak\x20diketahui','networkError':'Kesalahan\x20jaringan','tooLarge':'Data\x20terlalu\x20besar','internalError':_0x546a38(0x92),'interrupt':_0x546a38(0x93),'fileTypeError':'File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','wait':'Harap\x20tunggu...','cancel':'Batal','uploadAgain':'Unggah\x20ulang'}};export{e as default};function _0x3804(_0x5dcded,_0x161fdd){_0x5dcded=_0x5dcded-0x8a;const _0x13cd25=_0x13cd();let _0x3804e8=_0x13cd25[_0x5dcded];return _0x3804e8;}function _0x13cd(){const _0x1b13d9=['2099241dwsKir','1126NUmhEV','Kesalahan\x20internal\x20tidak\x20diketahui','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','235697ngBJPy','Mengunduh','342ZpWzba','File\x20berhasil\x20diunggah','Mengunggah','1108800FRQiuz','25365MfKcjT','{0}\x20file\x20berhasil\x20diunggah','24jbLpsY','5653400LpJIql','403081aSxFaq','Unduhan\x20berhasil','102yKXjvf'];_0x13cd=function(){return _0x1b13d9;};return _0x13cd();}
|
package/lib/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x3d5d(){const _0x3b85cd=['Download\x20riuscito','Annulla','Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','2637369FOtYCJ','118814sNBcqU','1726458fstISY','Download\x20in\x20corso','336160dDKOEY','Carica\x20di\x20nuovo','8nVsVOy','6239344wODbjC','1047815QIFDEb','File\x20caricato\x20con\x20successo','376662CSTwov','Errore\x20sconosciuto','Errore\x20interno\x20sconosciuto','{0}\x20file\x20caricati\x20con\x20successo','La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','I\x20dati\x20sono\x20troppo\x20grandi','Caricamento\x20in\x20corso'];_0x3d5d=function(){return _0x3b85cd;};return _0x3d5d();}const _0x119717=_0x958c;(function(_0x338bd9,_0x2c65b9){const _0x3d86e8=_0x958c,_0x1305f8=_0x338bd9();while(!![]){try{const _0xab253=-parseInt(_0x3d86e8(0x1c9))/0x1+-parseInt(_0x3d86e8(0x1c6))/0x2+parseInt(_0x3d86e8(0x1cf))/0x3*(-parseInt(_0x3d86e8(0x1cb))/0x4)+parseInt(_0x3d86e8(0x1cd))/0x5+parseInt(_0x3d86e8(0x1c7))/0x6+-parseInt(_0x3d86e8(0x1c5))/0x7+parseInt(_0x3d86e8(0x1cc))/0x8;if(_0xab253===_0x2c65b9)break;else _0x1305f8['push'](_0x1305f8['shift']());}catch(_0x3b2879){_0x1305f8['push'](_0x1305f8['shift']());}}}(_0x3d5d,0x3df56));function _0x958c(_0x3e5c42,_0x24ef26){_0x3e5c42=_0x3e5c42-0x1c1;const _0x3d5dbf=_0x3d5d();let _0x958c3b=_0x3d5dbf[_0x3e5c42];return _0x958c3b;}const e={'exchange-client':{'uploading':_0x119717(0x1c1),'uploadSuccess':_0x119717(0x1ce),'uploadSuccessTip':_0x119717(0x1d2),'downloading':_0x119717(0x1c8),'downloadSuccess':_0x119717(0x1c2),'unknownMistake':_0x119717(0x1d0),'networkError':'Errore\x20di\x20rete','tooLarge':_0x119717(0x1d4),'internalError':_0x119717(0x1d1),'interrupt':_0x119717(0x1d3),'fileTypeError':_0x119717(0x1c4),'wait':'Attendi...','cancel':_0x119717(0x1c3),'uploadAgain':_0x119717(0x1ca)}};export{e as default};
|
package/lib/locale/ja-JP.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x41f4(){const _0x4e7a02=['ダウンロードが完了しました','データが大きすぎます','再度アップロード','2646352JblZFZ','キャンセル','アップロード中','369rLLhBR','選択されたファイル\x20[{0}]\x20はアップロードがサポートされていません','1851543JodJzw','ダウンロード中','{0}\x20個のファイルが正常にアップロードされました','3802542meECLE','1239280NPHPNy','435125avbVgO','2lXIrDB','48176DABOSA','不明なエラー','ファイルが正常にアップロードされました','896xYNrNy'];_0x41f4=function(){return _0x4e7a02;};return _0x41f4();}const _0x7a08c3=_0x553c;(function(_0x42d1f1,_0x213eec){const _0x257a54=_0x553c,_0x3e36a1=_0x42d1f1();while(!![]){try{const _0x25cd7e=-parseInt(_0x257a54(0x1cb))/0x1*(parseInt(_0x257a54(0x1cc))/0x2)+-parseInt(_0x257a54(0x1c5))/0x3+parseInt(_0x257a54(0x1d3))/0x4+-parseInt(_0x257a54(0x1ca))/0x5+parseInt(_0x257a54(0x1c8))/0x6+-parseInt(_0x257a54(0x1c9))/0x7+parseInt(_0x257a54(0x1cf))/0x8*(-parseInt(_0x257a54(0x1d6))/0x9);if(_0x25cd7e===_0x213eec)break;else _0x3e36a1['push'](_0x3e36a1['shift']());}catch(_0x836eca){_0x3e36a1['push'](_0x3e36a1['shift']());}}}(_0x41f4,0x58373));const e={'exchange-client':{'uploading':_0x7a08c3(0x1d5),'uploadSuccess':_0x7a08c3(0x1ce),'uploadSuccessTip':_0x7a08c3(0x1c7),'downloading':_0x7a08c3(0x1c6),'downloadSuccess':_0x7a08c3(0x1d0),'unknownMistake':_0x7a08c3(0x1cd),'networkError':'ネットワークエラー','tooLarge':_0x7a08c3(0x1d1),'internalError':'内部エラーが発生しました','interrupt':'ネットワーク接続が中断され、ファイルのアップロードに失敗しました','fileTypeError':_0x7a08c3(0x1c4),'wait':'お待ちください...','cancel':_0x7a08c3(0x1d4),'uploadAgain':_0x7a08c3(0x1d2)}};function _0x553c(_0x56035d,_0x25de69){_0x56035d=_0x56035d-0x1c4;const _0x41f4ce=_0x41f4();let _0x553cd8=_0x41f4ce[_0x56035d];return _0x553cd8;}export{e as default};
|
package/lib/locale/ko-KR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xa11826=_0x785b;(function(_0x479347,_0x287358){const _0x53dd63=_0x785b,_0x1cdab4=_0x479347();while(!![]){try{const _0x369dfe=parseInt(_0x53dd63(0x1f2))/0x1*(-parseInt(_0x53dd63(0x1fe))/0x2)+parseInt(_0x53dd63(0x1ec))/0x3*(parseInt(_0x53dd63(0x1fc))/0x4)+-parseInt(_0x53dd63(0x1ff))/0x5+parseInt(_0x53dd63(0x1ee))/0x6+parseInt(_0x53dd63(0x1f5))/0x7+parseInt(_0x53dd63(0x1fa))/0x8*(parseInt(_0x53dd63(0x1f4))/0x9)+parseInt(_0x53dd63(0x1f6))/0xa;if(_0x369dfe===_0x287358)break;else _0x1cdab4['push'](_0x1cdab4['shift']());}catch(_0x86f268){_0x1cdab4['push'](_0x1cdab4['shift']());}}}(_0x5652,0xd23c2));function _0x785b(_0x31dbf3,_0x1ed3a5){_0x31dbf3=_0x31dbf3-0x1ea;const _0x565220=_0x5652();let _0x785b62=_0x565220[_0x31dbf3];return _0x785b62;}const e={'exchange-client':{'uploading':_0xa11826(0x1ea),'uploadSuccess':_0xa11826(0x1f1),'uploadSuccessTip':_0xa11826(0x1f3),'downloading':_0xa11826(0x1f8),'downloadSuccess':_0xa11826(0x1f9),'unknownMistake':_0xa11826(0x1fd),'networkError':_0xa11826(0x1f0),'tooLarge':_0xa11826(0x1eb),'internalError':_0xa11826(0x1ed),'interrupt':'네트워크\x20연결이\x20중단되어\x20파일\x20업로드에\x20실패했습니다','fileTypeError':_0xa11826(0x1fb),'wait':_0xa11826(0x1f7),'cancel':'취소','uploadAgain':_0xa11826(0x1ef)}};function _0x5652(){const _0x5132d3=['9RoYbSy','4793796MvNHyJ','2591440ktpInW','잠시만\x20기다려\x20주세요...','다운로드\x20중','다운로드가\x20완료되었습니다','4322488bKznxj','선택한\x20파일\x20[{0}]은(는)\x20업로드가\x20지원되지\x20않습니다','105752jWJvXu','알\x20수\x20없는\x20오류','11866oYgzeS','6835910zQTqdN','업로드\x20중','데이터가\x20너무\x20큽니다','117dUJMVJ','내부\x20오류가\x20발생했습니다','5610822pFuVod','다시\x20업로드','네트워크\x20오류','파일이\x20성공적으로\x20업로드되었습니다','206tgsJfU','{0}개의\x20파일이\x20성공적으로\x20업로드되었습니다'];_0x5652=function(){return _0x5132d3;};return _0x5652();}export{e as default};
|
package/lib/locale/pl-PL.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x319e22=_0xee1a;(function(_0x4f85ed,_0xcc6e1d){const _0x49f6b6=_0xee1a,_0x278b8e=_0x4f85ed();while(!![]){try{const _0x4b8d5f=-parseInt(_0x49f6b6(0x163))/0x1*(-parseInt(_0x49f6b6(0x161))/0x2)+-parseInt(_0x49f6b6(0x154))/0x3*(-parseInt(_0x49f6b6(0x160))/0x4)+-parseInt(_0x49f6b6(0x14d))/0x5+parseInt(_0x49f6b6(0x155))/0x6+parseInt(_0x49f6b6(0x151))/0x7*(-parseInt(_0x49f6b6(0x158))/0x8)+-parseInt(_0x49f6b6(0x150))/0x9+-parseInt(_0x49f6b6(0x156))/0xa*(-parseInt(_0x49f6b6(0x14f))/0xb);if(_0x4b8d5f===_0xcc6e1d)break;else _0x278b8e['push'](_0x278b8e['shift']());}catch(_0x111692){_0x278b8e['push'](_0x278b8e['shift']());}}}(_0x151a,0x695a0));function _0xee1a(_0x55cc5c,_0x5980ad){_0x55cc5c=_0x55cc5c-0x14d;const _0x151ada=_0x151a();let _0xee1aee=_0x151ada[_0x55cc5c];return _0xee1aee;}const e={'exchange-client':{'uploading':_0x319e22(0x14e),'uploadSuccess':_0x319e22(0x15a),'uploadSuccessTip':_0x319e22(0x152),'downloading':_0x319e22(0x157),'downloadSuccess':'Pobieranie\x20zakończone\x20sukcesem','unknownMistake':_0x319e22(0x15f),'networkError':_0x319e22(0x15d),'tooLarge':_0x319e22(0x159),'internalError':_0x319e22(0x162),'interrupt':_0x319e22(0x15b),'fileTypeError':_0x319e22(0x153),'wait':_0x319e22(0x15c),'cancel':_0x319e22(0x15e),'uploadAgain':'Prześlij\x20ponownie'}};function _0x151a(){const _0x1f4e83=['1477sOsumD','Pomyślnie\x20przesłano\x20{0}\x20plik(ów)','Wybrany\x20plik\x20[{0}]\x20nie\x20jest\x20obsługiwany\x20do\x20przesyłania','6ZTZSCN','133524fsDCaY','4060dtYqGc','Pobieranie','408XqUddf','Dane\x20są\x20zbyt\x20duże','Plik\x20przesłany\x20pomyślnie','Połączenie\x20sieciowe\x20zostało\x20przerwane\x20i\x20przesyłanie\x20pliku\x20nie\x20powiodło\x20się','Proszę\x20czekać...','Błąd\x20sieci','Anuluj','Nieznany\x20błąd','595528tZXplo','2SqjLCs','Wewnętrzny\x20nieznany\x20błąd','65473biSaKX','2824150CgltmJ','Przesyłanie','21164xiHTyn','1435716HIynky'];_0x151a=function(){return _0x1f4e83;};return _0x151a();}export{e as default};
|