@univerjs-pro/exchange-client 1.0.0-alpha.3 → 1.0.0-alpha.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +0 -4
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +0 -4
- package/lib/types/controllers/components.controller.d.ts +7 -0
- package/lib/types/controllers/exchange.controller.d.ts +3 -5
- package/lib/types/facade/f-univer.d.ts +45 -16
- package/lib/types/index.d.ts +2 -1
- package/lib/types/services/exchange.service.d.ts +16 -2
- package/lib/types/services/request.service.d.ts +0 -2
- package/lib/types/services/utils/content-type.d.ts +1 -0
- package/lib/types/services/utils/snapshot.d.ts +6 -2
- package/lib/types/services/utils/tool.d.ts +1 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +13 -12
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x138c53=_0x1e52;(function(_0x58d33f,_0x3de26e){const _0x234ac4=_0x1e52,_0x853dd=_0x58d33f();while(!![]){try{const _0x174c60=-parseInt(_0x234ac4(0x7e))/0x1+parseInt(_0x234ac4(0x95))/0x2+parseInt(_0x234ac4(0x8e))/0x3+-parseInt(_0x234ac4(0x88))/0x4+parseInt(_0x234ac4(0x78))/0x5*(-parseInt(_0x234ac4(0x86))/0x6)+-parseInt(_0x234ac4(0x93))/0x7*(parseInt(_0x234ac4(0x76))/0x8)+parseInt(_0x234ac4(0x94))/0x9;if(_0x174c60===_0x3de26e)break;else _0x853dd['push'](_0x853dd['shift']());}catch(_0x1a2fd1){_0x853dd['push'](_0x853dd['shift']());}}}(_0x5e6b,0xc27ad));let e=require('@univerjs-pro/exchange-client'),t=require('@univerjs/core'),n=require('@univerjs/core/facade');function _0x5e6b(){const _0x580335=['exportPPTXByUnitId','7rNQoHF','9500373SvLnRL','2666654QgumVE','transformWorkbookDataToSnapshotJson','extend','IExchangeService','exportXLSXBySnapshot','UniverInstanceType','downloadFile','FUniver','3147432yFhyer','exportDOCXByUnitIdAsync','231755uyGZSM','exportDOCXByUnitId','importXLSXToSnapshot','importDOCXToSnapshot','exportPPTXBySnapshot','UNIVER_SHEET','1556335AibzJt','importXLSXToSnapshotAsync','importFileToUnitId','get','exportXLSXByUnitId','exportXLSXBySnapshotAsync','_injector','transformSnapshotJsonToWorkbookData','30IWeWuL','UNIVER_DOC','3999508ZrzCzt','exportXLSXByUnitIdAsync','transformWorkbookDataToSnapshotJsonAsync','exportPPTXByUnitIdAsync','importPPTXToUnitIdAsync','importDOCXToUnitIdAsync','4767183klXqvW','importXLSXToUnitIdAsync','exportPPTXBySnapshotAsync','exportDOCXBySnapshotAsync'];_0x5e6b=function(){return _0x580335;};return _0x5e6b();}function _0x1e52(_0x250bd9,_0x13ab8f){_0x250bd9=_0x250bd9-0x76;const _0x5e6b0c=_0x5e6b();let _0x1e52f1=_0x5e6b0c[_0x250bd9];return _0x1e52f1;}var r=class extends n['FUniver']{[_0x138c53(0x9b)](_0x1bc5e7,_0x18699f,_0x4f51bb){const _0x7c5b7b=_0x138c53;this['_injector']['get'](e['IExchangeService'])[_0x7c5b7b(0x9b)](_0x1bc5e7,_0x18699f,_0x4f51bb);}async['transformSnapshotJsonToWorkbookDataAsync'](_0x5bf99a){const _0x376bba=_0x138c53;return this['_injector'][_0x376bba(0x81)](e[_0x376bba(0x98)])[_0x376bba(0x85)](_0x5bf99a);}async[_0x138c53(0x8a)](_0x4a2009){const _0x3d20bf=_0x138c53;return this['_injector'][_0x3d20bf(0x81)](e[_0x3d20bf(0x98)])[_0x3d20bf(0x96)](_0x4a2009);}async[_0x138c53(0x8f)](_0xd39c18){const _0x55a9e8=_0x138c53;return this[_0x55a9e8(0x84)][_0x55a9e8(0x81)](e[_0x55a9e8(0x98)])[_0x55a9e8(0x80)](_0xd39c18,t['UniverInstanceType'][_0x55a9e8(0x7d)]);}async[_0x138c53(0x7f)](_0x4e8065){const _0x24fabd=_0x138c53;return this['_injector'][_0x24fabd(0x81)](e[_0x24fabd(0x98)])[_0x24fabd(0x7a)](_0x4e8065);}async[_0x138c53(0x89)](_0x4584f3){const _0x1030bc=_0x138c53;return this[_0x1030bc(0x84)][_0x1030bc(0x81)](e[_0x1030bc(0x98)])[_0x1030bc(0x82)](_0x4584f3);}async[_0x138c53(0x83)](_0x1a8dff){const _0x48fe8b=_0x138c53;return this[_0x48fe8b(0x84)][_0x48fe8b(0x81)](e[_0x48fe8b(0x98)])[_0x48fe8b(0x99)](_0x1a8dff);}async[_0x138c53(0x8d)](_0x59ff72){const _0xfb840e=_0x138c53;return this[_0xfb840e(0x84)][_0xfb840e(0x81)](e[_0xfb840e(0x98)])['importFileToUnitId'](_0x59ff72,t[_0xfb840e(0x9a)][_0xfb840e(0x87)]);}async['importDOCXToSnapshotAsync'](_0x885d42){const _0x4ebb44=_0x138c53;return this[_0x4ebb44(0x84)][_0x4ebb44(0x81)](e[_0x4ebb44(0x98)])[_0x4ebb44(0x7b)](_0x885d42);}async[_0x138c53(0x91)](_0xa224f8){const _0x4190ea=_0x138c53;return this[_0x4190ea(0x84)][_0x4190ea(0x81)](e[_0x4190ea(0x98)])['exportDOCXBySnapshot'](_0xa224f8);}async[_0x138c53(0x77)](_0x40f661){const _0x1f39cf=_0x138c53;return this[_0x1f39cf(0x84)][_0x1f39cf(0x81)](e[_0x1f39cf(0x98)])[_0x1f39cf(0x79)](_0x40f661);}async[_0x138c53(0x8c)](_0x38c827){const _0x289ca5=_0x138c53;return this['_injector'][_0x289ca5(0x81)](e[_0x289ca5(0x98)])[_0x289ca5(0x80)](_0x38c827,t[_0x289ca5(0x9a)]['UNIVER_SLIDE']);}async['importPPTXToSnapshotAsync'](_0xb05d9b){const _0xa6bff7=_0x138c53;return this[_0xa6bff7(0x84)][_0xa6bff7(0x81)](e[_0xa6bff7(0x98)])['importPPTXToSnapshot'](_0xb05d9b);}async[_0x138c53(0x8b)](_0x3afd3f){const _0x46a1d8=_0x138c53;return this[_0x46a1d8(0x84)][_0x46a1d8(0x81)](e[_0x46a1d8(0x98)])[_0x46a1d8(0x92)](_0x3afd3f);}async[_0x138c53(0x90)](_0x25a708){const _0x4c5d28=_0x138c53;return this[_0x4c5d28(0x84)]['get'](e[_0x4c5d28(0x98)])[_0x4c5d28(0x7c)](_0x25a708);}};n[_0x138c53(0x9c)][_0x138c53(0x97)](r);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x3fbf3b=_0x338d;(function(_0x2ecd35,_0x11e534){const _0x2d6348=_0x338d,_0x26540a=_0x2ecd35();while(!![]){try{const _0x21584f=parseInt(_0x2d6348(0x217))/0x1+parseInt(_0x2d6348(0x181))/0x2+-parseInt(_0x2d6348(0xe2))/0x3*(parseInt(_0x2d6348(0x22c))/0x4)+-parseInt(_0x2d6348(0x218))/0x5*(parseInt(_0x2d6348(0x1cc))/0x6)+-parseInt(_0x2d6348(0x1c7))/0x7*(-parseInt(_0x2d6348(0x21d))/0x8)+parseInt(_0x2d6348(0x10d))/0x9*(parseInt(_0x2d6348(0x167))/0xa)+-parseInt(_0x2d6348(0x1aa))/0xb;if(_0x21584f===_0x11e534)break;else _0x26540a['push'](_0x26540a['shift']());}catch(_0x12e34f){_0x26540a['push'](_0x26540a['shift']());}}}(_0x7c4a,0x2a193),Object[_0x3fbf3b(0x1b2)](exports,Symbol['toStringTag'],{'value':'Module'}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('react'),o=require('rxjs'),s=require('@univerjs/design'),c=require('react/jsx-runtime'),l=require('@univerjs/protocol'),u=require('@univerjs-pro/collaboration'),d=require('fflate');var f='@univerjs-pro/exchange-client',p=_0x3fbf3b(0x128);const m=_0x3fbf3b(0x10c),h={};function g(_0x2d092d){'@babel/helpers - typeof';const _0x35f9f8=_0x3fbf3b;return g=typeof Symbol==_0x35f9f8(0x251)&&typeof Symbol[_0x35f9f8(0x1d4)]=='symbol'?function(_0x250a52){return typeof _0x250a52;}:function(_0x190cec){const _0x279c54=_0x35f9f8;return _0x190cec&&typeof Symbol==_0x279c54(0x251)&&_0x190cec['constructor']===Symbol&&_0x190cec!==Symbol['prototype']?_0x279c54(0x1e4):typeof _0x190cec;},g(_0x2d092d);}function _0x338d(_0x2e081e,_0x5e67d2){_0x2e081e=_0x2e081e-0xdd;const _0x7c4a1c=_0x7c4a();let _0x338d3f=_0x7c4a1c[_0x2e081e];return _0x338d3f;}function _(_0x45e8f1,_0x1e3669){const _0x1389fd=_0x3fbf3b;if(g(_0x45e8f1)!=_0x1389fd(0x116)||!_0x45e8f1)return _0x45e8f1;var _0x66e919=_0x45e8f1[Symbol[_0x1389fd(0x1fb)]];if(_0x66e919!==void 0x0){var _0x340fd7=_0x66e919[_0x1389fd(0x16a)](_0x45e8f1,_0x1e3669||_0x1389fd(0x264));if(g(_0x340fd7)!=_0x1389fd(0x116))return _0x340fd7;throw TypeError(_0x1389fd(0x117));}return(_0x1e3669===_0x1389fd(0x225)?String:Number)(_0x45e8f1);}function ee(_0x1f9f7d){const _0x5da313=_0x3fbf3b;var _0x4c23db=_(_0x1f9f7d,_0x5da313(0x225));return g(_0x4c23db)==_0x5da313(0x1e4)?_0x4c23db:_0x4c23db+'';}function v(_0x4bcce2,_0x40c2b6,_0x3d5f87){return(_0x40c2b6=ee(_0x40c2b6))in _0x4bcce2?Object['defineProperty'](_0x4bcce2,_0x40c2b6,{'value':_0x3d5f87,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4bcce2[_0x40c2b6]=_0x3d5f87,_0x4bcce2;}const y=(0x0,t[_0x3fbf3b(0x22b)])('univer-pro.exchange-client.upload-notification.service');var te=class extends t[_0x3fbf3b(0x1e7)]{constructor(){const _0x5081da=_0x3fbf3b;super(),v(this,_0x5081da(0x14e),new o[(_0x5081da(0x193))]()),v(this,_0x5081da(0x25b),new o[(_0x5081da(0x193))]()),v(this,'_list$',new o['Subject']()),v(this,'visible$',this[_0x5081da(0x14e)][_0x5081da(0x1ee)]()),v(this,_0x5081da(0x185),this[_0x5081da(0x25b)]['asObservable']()),v(this,_0x5081da(0x17d),this[_0x5081da(0x13d)][_0x5081da(0x1ee)]()),v(this,_0x5081da(0x1ae),[]);}['dispose'](){const _0x231d1e=_0x3fbf3b;super[_0x231d1e(0x112)](),this[_0x231d1e(0x14e)][_0x231d1e(0x1c1)](),this['_state$']['complete'](),this[_0x231d1e(0x13d)][_0x231d1e(0x1c1)]();}[_0x3fbf3b(0x230)](){const _0x213dc8=_0x3fbf3b;this[_0x213dc8(0x14e)][_0x213dc8(0xde)](!0x0);}[_0x3fbf3b(0x1bb)](){this['_visible$']['next'](!0x1);}[_0x3fbf3b(0x13c)](_0xa5b71c){const _0x14709b=_0x3fbf3b;this[_0x14709b(0x25b)][_0x14709b(0xde)](_0xa5b71c);}[_0x3fbf3b(0x22d)](_0x38948c){const _0x5a6aa1=_0x3fbf3b;this['_list']['unshift'](_0x38948c),this[_0x5a6aa1(0x13d)][_0x5a6aa1(0xde)](this[_0x5a6aa1(0x1ae)]);}};function ne(_0x257a68){const _0x3329f0=_0x3fbf3b;let {list:_0x483d22}=_0x257a68;function _0x12567d(_0x4c58e6){const _0x141311=_0x338d;switch(_0x4c58e6){case 0x1:return(0x0,c['jsx'])(r[_0x141311(0x1fe)],{});case 0x2:return(0x0,c[_0x141311(0x212)])(r[_0x141311(0xee)],{});case 0x3:return(0x0,c['jsx'])(r[_0x141311(0x1f7)],{});default:return null;}}return(0x0,c[_0x3329f0(0x212)])(_0x3329f0(0xfc),{'className':(0x0,s[_0x3329f0(0x105)])(_0x3329f0(0x18c),s[_0x3329f0(0xf3)]),'children':(0x0,c[_0x3329f0(0x212)])('ul',{'className':_0x3329f0(0x1ed),'children':_0x483d22[_0x3329f0(0x163)]((_0x46a2c8,_0x206abc)=>(0x0,c[_0x3329f0(0x212)])('li',{'children':(0x0,c[_0x3329f0(0x164)])('a',{'className':_0x3329f0(0x25c),'href':_0x46a2c8[_0x3329f0(0x1e8)],'target':_0x3329f0(0x10a),'rel':_0x3329f0(0x1c2),'children':[(0x0,c[_0x3329f0(0x164)])(_0x3329f0(0x118),{'className':_0x3329f0(0x254),'children':[(0x0,c[_0x3329f0(0x212)])(_0x3329f0(0x118),{'className':_0x3329f0(0x211),'children':_0x12567d(_0x46a2c8[_0x3329f0(0x18f)])}),(0x0,c[_0x3329f0(0x212)])(s[_0x3329f0(0x250)],{'showIfEllipsis':!0x0,'title':_0x46a2c8[_0x3329f0(0x240)],'asChild':!0x0,'children':(0x0,c[_0x3329f0(0x212)])('span',{'className':_0x3329f0(0x14b),'children':_0x46a2c8[_0x3329f0(0x240)]})})]}),(0x0,c['jsx'])(_0x3329f0(0x118),{'className':_0x3329f0(0x1e0),'children':(0x0,c[_0x3329f0(0x212)])(r[_0x3329f0(0x24b)],{})})]})},_0x206abc))})});}const b='application/vnd.openxmlformats-officedocument.wordprocessingml.document',x=_0x3fbf3b(0x244),S=_0x3fbf3b(0x213),C=_0x3fbf3b(0x22f),w=_0x3fbf3b(0x200),T={[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x19b)]]:[''],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x252)]]:[b],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x121)]]:[x,S,C],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x1d5)]]:[w],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x209)]]:[''],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x136)]]:[''],[t['UniverInstanceType'][_0x3fbf3b(0x1d7)]]:[''],[t[_0x3fbf3b(0x15b)][_0x3fbf3b(0x1a1)]]:['']},E={[b]:'docx',[x]:_0x3fbf3b(0x20a),[S]:_0x3fbf3b(0x20f),[C]:_0x3fbf3b(0xfb),[w]:'pptx'};function re(_0x319391,_0x2a18c4,_0x2a863b){const _0x4fe5d3=_0x3fbf3b;let _0x5f2d7e=document[_0x4fe5d3(0x154)]('a');_0x5f2d7e[_0x4fe5d3(0x106)]=_0x319391,_0x5f2d7e[_0x4fe5d3(0x1fa)][_0x4fe5d3(0x132)]=_0x4fe5d3(0x229),_0x5f2d7e[_0x4fe5d3(0x189)]=_0x2a18c4+'.'+_0x2a863b,document[_0x4fe5d3(0x15a)]['appendChild'](_0x5f2d7e),_0x5f2d7e[_0x4fe5d3(0x205)](),document[_0x4fe5d3(0x15a)][_0x4fe5d3(0x1af)](_0x5f2d7e);}function D(_0x490398,_0xb19626,_0x215fc2){const _0x2496f5=_0x3fbf3b;let _0x4af3d9=URL[_0x2496f5(0x214)](_0x490398);re(_0x4af3d9,_0xb19626,_0x215fc2),URL[_0x2496f5(0x1c9)](_0x4af3d9);}function O(_0x532026){const _0x1348ca=_0x3fbf3b;let _0xbcc3d8=_0x532026['name'][_0x1348ca(0x215)]('.')[_0x1348ca(0x1a0)]();if(!_0xbcc3d8)return t['UniverInstanceType'][_0x1348ca(0x19b)];let _0x20a294=ie(),_0x21ce48=t[_0x1348ca(0x15b)][_0x1348ca(0x19b)];return _0x20a294[_0x1348ca(0x113)](_0x209dc7=>ae(_0xbcc3d8,_0x209dc7)?(_0x21ce48=_0x209dc7,!0x0):!0x1),_0x21ce48;}function ie(){const _0xa0013a=_0x3fbf3b;return Object['values'](t[_0xa0013a(0x15b)])[_0xa0013a(0x157)](_0x5800d8=>typeof _0x5800d8==_0xa0013a(0xf5));}function ae(_0x2e3a09,_0x787bbe){const _0x27af71=_0x3fbf3b;var _0x4757d4;return((_0x4757d4=T[_0x787bbe])==null?[]:_0x4757d4)[_0x27af71(0x163)](_0x33a043=>(E[_0x33a043]||'')[_0x27af71(0x153)]())['includes'](_0x2e3a09['toLowerCase']());}function k(_0x2f2d31,_0x59031b=!0x1){const _0x29cb56=_0x3fbf3b;let _0x4a9af4=_0x2f2d31[_0x29cb56(0x163)](_0x47c8a6=>{var _0x4268a5;return(_0x4268a5=T[_0x47c8a6])==null?[]:_0x4268a5;})[_0x29cb56(0x134)](',');return new Promise((_0x273232,_0x5e605b)=>{const _0x425b8e=_0x29cb56;let _0x4add1d=document[_0x425b8e(0x154)](_0x425b8e(0x257));_0x4add1d[_0x425b8e(0x18f)]=_0x425b8e(0x115),_0x4add1d['accept']=_0x4a9af4,_0x4add1d['multiple']=_0x59031b,_0x4add1d['addEventListener'](_0x425b8e(0x146),_0x23635a=>{const _0x413026=_0x425b8e;let _0x815fd3=_0x23635a[_0x413026(0x17f)];if(!_0x815fd3[_0x413026(0x139)]||_0x815fd3[_0x413026(0x139)]['length']===0x0)throw _0x5e605b(null),Error('No\x20file\x20selected');_0x273232(_0x815fd3['files']);}),_0x4add1d[_0x425b8e(0x205)]();});}async function A(_0x385eb4,_0x4245df){const _0x41b2ce=_0x3fbf3b;try{var _0x1903b2,_0x2fcd7f,_0x5ec554;let _0x1938eb=await _0x4245df[_0x41b2ce(0x160)](_0x385eb4,{'responseType':_0x41b2ce(0x11d)}),_0x538467=_0x1938eb[_0x41b2ce(0x15a)],_0x47a53c=(_0x1903b2=(_0x2fcd7f=_0x1938eb[_0x41b2ce(0x1cf)][_0x41b2ce(0x160)](_0x41b2ce(0x1ea)))==null?void 0x0:_0x2fcd7f['join'](',\x20'))==null?_0x41b2ce(0x1d6):_0x1903b2,_0x14181d='file.'+(E[_0x47a53c]||_0x41b2ce(0x20a)),_0x4fd8af=(_0x5ec554=_0x1938eb[_0x41b2ce(0x1cf)][_0x41b2ce(0x160)](_0x41b2ce(0x24f)))==null?void 0x0:_0x5ec554[_0x41b2ce(0x134)](',\x20');if(_0x4fd8af){let _0x2bdf8d=_0x4fd8af[_0x41b2ce(0x158)](/filename=(.+)/);_0x2bdf8d&&_0x2bdf8d[0x1]&&(_0x14181d=_0x2bdf8d[0x1]);}else _0x14181d=oe(_0x385eb4)||_0x14181d;return new File([_0x538467],_0x14181d,{'type':_0x47a53c});}catch(_0x2443bc){console['error'](_0x41b2ce(0x1cd),_0x2443bc);return;}}function oe(_0x484f7c){const _0x5e094f=_0x3fbf3b;try{return new URL(_0x484f7c)[_0x5e094f(0xe8)][_0x5e094f(0x215)]('/')[_0x5e094f(0x1a0)]();}catch(_0x372fc8){console['error']('Error\x20getting\x20file\x20name\x20from\x20URL:',_0x372fc8);return;}}function se(_0x3e6942){const _0x19e8e5=_0x3fbf3b;let _0x21b8c7=new Blob([_0x3e6942['buffer']],{'type':_0x19e8e5(0xeb)});return new File([_0x21b8c7],_0x19e8e5(0x18d));}function _0x7c4a(){const _0x4c2983=['progress$','floor','download','upload\x20failed:\x20missing\x20FileId\x20in\x20response','title','univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden','file.json','importXLSXToUnitId','type','has','UNDEFINED','visible$','Subject','interrupt','_httpService','Plugin','_upload','importPPTXToUnitId','copyFileMeta','IExchangeService','UNIVER_UNKNOWN','signUrl','disableCellImageConversion','pending','HTTPService','pop','UNRECOGNIZED','doc','_logService','FileId','exchange-client.downloading','_getIgnoreTableExport','getOwnPropertyDescriptor','sign\x20url\x20error','_getUnitDocJson','3103837RBZpgr','_uploadNotificationService','univer-flex','univer-pl-2\x20univer-pr-4','_list','removeChild','exchange-client.networkError','resolve','defineProperty','_config','Failed\x20to\x20get\x20jsonID\x20from\x20task','_export','_getEnableServerSideComputing','_getUnitIDDoc','fetchMissingChangesets','{taskID}','location','hide','_import','workbook','_exportBySnapshot','touchDependencies','ILogService','complete','noreferrer','Failed\x20to\x20parse\x20json','_extractErrorDetail','getCurrentUnitOfType','exchange-client.cancel','97097GrOCwp','_configService','revokeObjectURL','import','transformSlideDataToSnapshot','1187244eMcfAn','Error\x20fetching\x20file\x20from\x20URL:','exchange-client.uploadAgain','headers','decorate','SuccessIcon','Failed\x20to\x20transform\x20snapshot\x20to\x20string','subscribe','iterator','UNIVER_SLIDE','application/octet-stream','UNIVER_PROJECT','importWorkbookDataToUnitId','slide','Injector','getTextFromUrl','uploadFileServerUrl','stringify','getConfig','_addTotalCount','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','upload\x20failed:\x20FileId\x20is\x20empty','IExchangeOperateService','workbook.json','symbol','\x20-\x20','exchange-client.downloadSuccess','Disposable','link','code','Content-Type','_getSignURL','FileSource','univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','asObservable','url','.json','exchange-client.uploadSuccess','post','CloseIcon','taskID','univer-text-red-500','exchange-client.tooLarge','SlidesMultiIcon','version','exportServerUrl','style','toPrimitive','getDeserializedSheetBlock','_getMinSheetRowCount','DocsMultiIcon','replace','application/vnd.openxmlformats-officedocument.presentationml.presentation','_taskInterrupted','_getLinkByUnitId','_showUploadMessage','exchange-client.uploading','click','min','getUnitId','sheetBlocks','UNIVER_BASE','xlsx','upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url','_importFileToUnitId','resources','importFileToUnitId','xlsm','merge','univer-flex\x20univer-h-5\x20univer-text-xl','jsx','application/vnd.ms-excel.sheet.macroEnabled.12','createObjectURL','split','_injector','130057XMgeVN','5iSSUMj','data','textDecoder','univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','requestState$','8PPIdAV','_showNetworkError','sheets','snapshot','univer-text-sm\x20univer-text-gray-500','HTTPResponseError','_registerComponents','_getTaskURL','string','disposeUnit','_getUnitIDSlide','exportDOCXByUnitId','none','_getUploadFileURL','createIdentifier','88180IrcPOQ','pushLink','getUnitType','application/vnd.openxmlformats-officedocument.spreadsheetml.template','show','statusText','_progress$','Failed\x20to\x20get\x20file\x20from\x20url','CONNECTOR_DATA_TOO_LARGE','/universer-api/exchange/{type}/export','_getUnitName','registerComponent','toDisposable','options','univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','toString','append','_sheetBlockCache','importFileToUnitIdByCurrentType','univer-ml-1.5\x20univer-font-semibold\x20univer-leading-6\x20univer-text-gray-900\x20dark:!univer-text-white','name','getTaskServerUrl','_uiPartsService','Method\x20not\x20implemented.','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','importFileToJson','clearTaskInterrupted','_completeProgress','updateSnapshot','set','_importTaskId','ShareRangeIcon','_fileTypeError','_clearProgress','_getDownloadEndpointURL','content-disposition','Tooltip','function','UNIVER_DOC','add','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','_emitProgress','unit','input','message','isArray','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','_state$','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','text','_univerInstanceService','getSheetBlocksFromSnapshot','LocaleService','signUrlServerUrl','/universer-api/exchange/{type}/import','createUnit','default','_uploadTaskNotDone','saveSnapshot','next','exportDOCXBySnapshot','export','exportXLSXByUnitId','3YILOwV','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','blockID','exportPPTXBySnapshot','exchange-client.uploadSuccessTip','originalMeta','pathname','INTERNAL_ERROR','b64EncodeUnicode','application/json','decode','_requestState$','SheetsMultiIcon','Info','exchange-client.fileTypeError','maxTimeoutTime','{fileID}','scrollbarClassName','useEffect','number','importXLSXToSnapshot',':\x20HTTP\x20','Inject','catch','_buildProtocolErrorMessage','xltx','div','univer-text-green-500','_doneUploadTaskCount','_getImportURL','button','registerLink','_getUnitJson','Success','UniverNetworkPlugin','clsx','href','getSheetBlock','UniverLicensePlugin','transformSnapshotToWorkbookData','_blank','trim','exchange-client.config','470574aDgFLH','Warning','HttpImport','unsubscribe','univer-mt-5\x20univer-flex\x20univer-flex-col','dispose','some','Error','file','object','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','span','_exchangeService','status','_refresh','enableServerSideComputing','blob','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','BehaviorSubject','_buildHttpErrorMessage','UNIVER_SHEET','IMessageService','exchange-client.interrupt','forEach','transformWorkbookDataToSnapshot','getSnapshot','saveUnit','1.0.0-alpha.3','MessageType','_getUnitSlideJson','exportPPTXByUnitId','searchParams','importDOCXToSnapshot','textEncoder','parse','interruptImportTask','_showDownloadMessage','display','error','join','getTask','UNIVER_BOARD','minSheetColumnCount','ErrorCode','files','_getUnitNameByType','exportXLSXBySnapshot','updateState','_list$','_iconManager','resolveWithBasePath','importPPTXToSnapshot','shift','disposeWithMe','univer-pro.exchange-client.request.service','transformDocumentDataToSnapshot','register','change','_requestService','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','Get\x20outputType\x20error','export\x20error','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','useObservable','setConfig','_visible$','registerDependencies','_registerIcons','_getUnitID','b64DecodeUnicode','toLowerCase','createElement','_getDisableCellImageConversion','setTaskInterrupted','filter','match','transformSnapshotToDocumentData','body','UniverInstanceType','_resourceLoaderService','upload','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','_messageService','get','success','univer-pro.exchange-client.exchange.service','map','jsxs','pluginName','IconManager','40hQnNNE','_addDoneTask','CONTENT','call','keys','saveSheetBlock','length','IConfigService','importDOCXToUnitId','packageName','downloadFile','docx','_localeService','_getExportURL','_totalUploadTaskCount','useDependency','ErrorIcon','useState','rev','downloadEndpointUrl','&flate=','pptx','list$','importServerUrl','currentTarget','_getMaxPollingTime','642898gxwums','_signUrl','connectInjector','_importToJson','state$','_getMinSheetColumnCount'];_0x7c4a=function(){return _0x4c2983;};return _0x7c4a();}function j(_0x3760ae,_0x408811){const _0x4748af=_0x3fbf3b;return _0x3760ae[_0x4748af(0x1ff)]('{type}',_0x408811);}function ce(_0x4f2d2f,_0x2b8d36){const _0xd64a63=_0x3fbf3b;return _0x4f2d2f['replace'](_0xd64a63(0x1b9),_0x2b8d36);}function le(_0x363e48,_0x5aa8d5){const _0x2b3043=_0x3fbf3b;return _0x363e48[_0x2b3043(0x1ff)](_0x2b3043(0xf2),_0x5aa8d5);}function M(_0xeee525,_0x3e16d3){return function(_0x5469ec,_0x55dc14){_0x3e16d3(_0x5469ec,_0x55dc14,_0xeee525);};}function N(_0xdd19ba,_0x277149,_0xb193e2,_0x4e1045){const _0x4b3f7a=_0x3fbf3b;var _0x2b5057=arguments[_0x4b3f7a(0x16d)],_0x342a6e=_0x2b5057<0x3?_0x277149:_0x4e1045===null?_0x4e1045=Object[_0x4b3f7a(0x1a7)](_0x277149,_0xb193e2):_0x4e1045,_0x61b190;if(typeof Reflect==_0x4b3f7a(0x116)&&typeof Reflect[_0x4b3f7a(0x1d0)]==_0x4b3f7a(0x251))_0x342a6e=Reflect['decorate'](_0xdd19ba,_0x277149,_0xb193e2,_0x4e1045);else{for(var _0x12a2c8=_0xdd19ba[_0x4b3f7a(0x16d)]-0x1;_0x12a2c8>=0x0;_0x12a2c8--)(_0x61b190=_0xdd19ba[_0x12a2c8])&&(_0x342a6e=(_0x2b5057<0x3?_0x61b190(_0x342a6e):_0x2b5057>0x3?_0x61b190(_0x277149,_0xb193e2,_0x342a6e):_0x61b190(_0x277149,_0xb193e2))||_0x342a6e);}return _0x2b5057>0x3&&_0x342a6e&&Object[_0x4b3f7a(0x1b2)](_0x277149,_0xb193e2,_0x342a6e),_0x342a6e;}const P=(0x0,t['createIdentifier'])(_0x3fbf3b(0x143));let F=class{constructor(_0x7f8e0,_0x1b4193){const _0x321ad2=_0x3fbf3b;this[_0x321ad2(0x1c8)]=_0x7f8e0,this[_0x321ad2(0x195)]=_0x1b4193,v(this,'_taskInterrupted',new Set());}[_0x3fbf3b(0x112)](){}['setTaskInterrupted'](_0x5ba0b1){const _0x1b1d0b=_0x3fbf3b;this[_0x1b1d0b(0x201)][_0x1b1d0b(0x253)](_0x5ba0b1);}[_0x3fbf3b(0x246)](){const _0x2c487e=_0x3fbf3b;this[_0x2c487e(0x201)]['clear']();}async[_0x3fbf3b(0x15d)](_0x432292,_0x28d3dd=0x0,_0x2bb178=!0x1){const _0x2f06a0=_0x3fbf3b;if(typeof _0x432292==_0x2f06a0(0x225)){let _0xaf6b5d=await A(_0x432292,this['_httpService']);if(!_0xaf6b5d)throw Error(_0x2f06a0(0x20b));_0x432292=_0xaf6b5d;}_0x28d3dd=_0x28d3dd||_0x432292['size'];let _0x319be2=new FormData();_0x319be2[_0x2f06a0(0x23c)](_0x2f06a0(0x115),_0x432292);try{let _0x14d6fc=this[_0x2f06a0(0x22a)]()+'?size='+_0x28d3dd+'&source='+l[_0x2f06a0(0x1ec)][_0x2f06a0(0x10f)]+_0x2f06a0(0x17b)+_0x2bb178,_0x36895a={'body':_0x319be2},_0x5a5e10=(await this['_httpService']['post'](_0x14d6fc,_0x36895a))[_0x2f06a0(0x15a)];if(_0x5a5e10[_0x2f06a0(0x133)]&&_0x5a5e10[_0x2f06a0(0x133)][_0x2f06a0(0x1e9)]!==l[_0x2f06a0(0x138)]['OK'])throw Error(this['_buildProtocolErrorMessage']('upload\x20request\x20failed',_0x5a5e10[_0x2f06a0(0x133)]));return _0x5a5e10;}catch(_0x29e438){throw _0x29e438 instanceof Error?_0x29e438:Error(this['_buildHttpErrorMessage']('upload\x20request\x20failed',_0x29e438));}}async['import'](_0x430394){const _0x3d6710=_0x3fbf3b;let {fileID:_0x294427,type:_0xe28928,outputType:_0xd9ea57,minSheetColumnCount:_0x1e5e27,minSheetRowCount:_0x54696a}=_0x430394;try{let _0x269cc4=j(this[_0x3d6710(0xff)](),''+_0xe28928),_0x27e67e={'body':{'fileID':_0x294427,'outputType':_0xd9ea57,'minSheetColumnCount':_0x1e5e27,'minSheetRowCount':_0x54696a}},_0x558ecd=(await this[_0x3d6710(0x195)]['post'](_0x269cc4,_0x27e67e))[_0x3d6710(0x15a)];return _0x558ecd[_0x3d6710(0x133)]&&_0x558ecd[_0x3d6710(0x133)][_0x3d6710(0x1e9)]!==l[_0x3d6710(0x138)]['OK']?void 0x0:_0x558ecd;}catch{return;}}async['export'](_0x44705c){const _0x5bae26=_0x3fbf3b;let {unitID:_0x57c992,jsonID:_0x4b5071,type:_0x3f1c45,sscSwitch:_0x1413ec,useImageUrl:_0x2d9e9c,ignoreTableExport:_0x5d9124}=_0x44705c;try{let _0x26ca58=j(this[_0x5bae26(0x174)](),''+_0x3f1c45),_0x43d259={'body':{'unitID':_0x57c992,'jsonID':_0x4b5071,'type':_0x3f1c45,'sscSwitch':_0x1413ec,'useImageUrl':_0x2d9e9c,'ignoreTableExport':_0x5d9124}},_0x5f36ef=(await this[_0x5bae26(0x195)][_0x5bae26(0x1f2)](_0x26ca58,_0x43d259))[_0x5bae26(0x15a)];return _0x5f36ef[_0x5bae26(0x133)]&&_0x5f36ef[_0x5bae26(0x133)][_0x5bae26(0x1e9)]!==l[_0x5bae26(0x138)]['OK']?void 0x0:_0x5f36ef;}catch{return;}}async[_0x3fbf3b(0x135)](_0x5df06b){return new Promise((_0x59458c,_0x1a2c5c)=>{const _0x3132c6=_0x338d;try{let _0x3d5111=0x0,_0x596ce5=ce(this[_0x3132c6(0x224)](),''+_0x5df06b),_0x4f51cd=this[_0x3132c6(0x180)](),_0x2d6f51=async()=>{const _0x4773e3=_0x3132c6;if(this[_0x4773e3(0x201)][_0x4773e3(0x190)](_0x5df06b))return;let _0x31cb1e=(await this[_0x4773e3(0x195)][_0x4773e3(0x160)](_0x596ce5))[_0x4773e3(0x15a)];if(_0x31cb1e['error']&&_0x31cb1e[_0x4773e3(0x133)][_0x4773e3(0x1e9)]===l[_0x4773e3(0x138)]['OK']){if(_0x31cb1e[_0x4773e3(0x11a)]==='done')_0x59458c(_0x31cb1e);else{if(_0x31cb1e[_0x4773e3(0x11a)]===_0x4773e3(0x19e)){let _0x53ae62=0x3e8;if(_0x3d5111>=_0x4f51cd){_0x1a2c5c(_0x31cb1e);return;}else _0x3d5111>=0x7530&&(_0x53ae62=0x1388);_0x3d5111+=_0x53ae62,setTimeout(_0x2d6f51,_0x53ae62);}else _0x1a2c5c(_0x31cb1e);}}else _0x1a2c5c(_0x31cb1e);};_0x2d6f51();}catch(_0x3465ba){_0x1a2c5c(_0x3465ba instanceof Error?_0x3465ba:Error(String(_0x3465ba)));}});}async[_0x3fbf3b(0x19c)](_0x50579d){const _0xe744a=_0x3fbf3b;try{let _0x203c3e=le(this[_0xe744a(0x1eb)](),''+_0x50579d);return(await this[_0xe744a(0x195)][_0xe744a(0x160)](_0x203c3e))['body'];}catch{return;}}async['getTextFromUrl'](_0x38de79){const _0x15fc39=_0x3fbf3b;try{return(await this[_0x15fc39(0x195)][_0x15fc39(0x160)](_0x38de79,{'responseType':_0x15fc39(0x25d)}))[_0x15fc39(0x15a)];}catch{return;}}[_0x3fbf3b(0xfa)](_0x2d5975,_0x87ae8c){let _0x5d1b88=this['_extractErrorDetail'](_0x87ae8c);return _0x5d1b88?_0x2d5975+':\x20'+_0x5d1b88:_0x2d5975;}[_0x3fbf3b(0x120)](_0x1acb97,_0x435acf){const _0x38018b=_0x3fbf3b;if(_0x435acf instanceof n[_0x38018b(0x222)]){let _0x4675a5=typeof _0x435acf[_0x38018b(0x11a)]==_0x38018b(0xf5)?''+_0x435acf[_0x38018b(0x11a)]+(_0x435acf[_0x38018b(0x231)]?'\x20'+_0x435acf[_0x38018b(0x231)]:''):void 0x0,_0xa15fb8=this[_0x38018b(0x1c4)](_0x435acf[_0x38018b(0x133)]);return _0x4675a5&&_0xa15fb8?_0x1acb97+_0x38018b(0xf7)+_0x4675a5+_0x38018b(0x1e5)+_0xa15fb8:_0x4675a5?_0x1acb97+_0x38018b(0xf7)+_0x4675a5:_0xa15fb8?_0x1acb97+':\x20'+_0xa15fb8:_0x1acb97;}let _0x5276a4=this['_extractErrorDetail'](_0x435acf);return _0x5276a4?_0x1acb97+':\x20'+_0x5276a4:_0x1acb97;}[_0x3fbf3b(0x1c4)](_0x10b050){const _0x2610c3=_0x3fbf3b;if(typeof _0x10b050==_0x2610c3(0x225)){let _0x8496b6=_0x10b050[_0x2610c3(0x10b)]();return _0x8496b6[_0x2610c3(0x16d)]>0x0?_0x8496b6:void 0x0;}if(_0x10b050 instanceof Error)return this[_0x2610c3(0x1c4)](_0x10b050[_0x2610c3(0x258)]);if(!_0x10b050||typeof _0x10b050!=_0x2610c3(0x116)||Array[_0x2610c3(0x259)](_0x10b050))return;let _0x191dd4=_0x10b050,_0x3701df=this[_0x2610c3(0x1c4)](_0x191dd4[_0x2610c3(0x258)]);if(_0x3701df)return _0x3701df;if(_0x191dd4[_0x2610c3(0x133)]&&typeof _0x191dd4['error']=='object'&&!Array[_0x2610c3(0x259)](_0x191dd4[_0x2610c3(0x133)])){let _0x559300=this[_0x2610c3(0x1c4)](_0x191dd4[_0x2610c3(0x133)]);if(_0x559300)return _0x559300;}}[_0x3fbf3b(0x22a)](){const _0x1a70df=_0x3fbf3b;var _0x169476;let _0x37a889=this['_configService'][_0x1a70df(0x1de)](m);return(_0x169476=_0x37a889==null?void 0x0:_0x37a889[_0x1a70df(0x1dc)])==null?'/universer-api/stream/file/upload':_0x169476;}[_0x3fbf3b(0xff)](){const _0x19df88=_0x3fbf3b;var _0x1e906b;let _0xe4ca31=this[_0x19df88(0x1c8)][_0x19df88(0x1de)](m);return(_0x1e906b=_0xe4ca31==null?void 0x0:_0xe4ca31[_0x19df88(0x17e)])==null?_0x19df88(0x262):_0x1e906b;}[_0x3fbf3b(0x174)](){const _0xa93f99=_0x3fbf3b;var _0x195b98;let _0x2622b7=this[_0xa93f99(0x1c8)][_0xa93f99(0x1de)](m);return(_0x195b98=_0x2622b7==null?void 0x0:_0x2622b7[_0xa93f99(0x1f9)])==null?_0xa93f99(0x235):_0x195b98;}[_0x3fbf3b(0x224)](){const _0x1cd3cb=_0x3fbf3b;var _0x27113c;let _0x4dda62=this[_0x1cd3cb(0x1c8)]['getConfig'](m);return(_0x27113c=_0x4dda62==null?void 0x0:_0x4dda62[_0x1cd3cb(0x241)])==null?'/universer-api/exchange/task/{taskID}':_0x27113c;}[_0x3fbf3b(0x1eb)](){const _0x416686=_0x3fbf3b;var _0x494138;let _0x590b34=this[_0x416686(0x1c8)]['getConfig'](m);return(_0x494138=_0x590b34==null?void 0x0:_0x590b34[_0x416686(0x261)])==null?'/universer-api/file/{fileID}/sign-url':_0x494138;}['_getMaxPollingTime'](){const _0x3b6e2e=_0x3fbf3b;var _0x4d5064;let _0x281913=this[_0x3b6e2e(0x1c8)]['getConfig'](m);return(_0x4d5064=_0x281913==null?void 0x0:_0x281913[_0x3b6e2e(0xf1)])==null?0x1d4c0:_0x4d5064;}};F=N([M(0x0,t[_0x3fbf3b(0x16e)]),M(0x1,(0x0,t[_0x3fbf3b(0xf8)])(n[_0x3fbf3b(0x19f)]))],F);function I(_0x1ebe50){const _0x41b872=_0x3fbf3b;let _0x4a4520=_0x1ebe50[_0x41b872(0x1bd)];if(!_0x4a4520)return null;let _0x364683={};_0x4a4520[_0x41b872(0x21f)]&&Object[_0x41b872(0x16b)](_0x4a4520[_0x41b872(0x21f)])[_0x41b872(0x124)](_0x5d902e=>{const _0xcc4f0f=_0x41b872;let _0x6df2c2=_0x4a4520[_0xcc4f0f(0x21f)][_0x5d902e];_0x364683[_0x5d902e]={..._0x6df2c2,'originalMeta':(0x0,u[_0xcc4f0f(0xea)])(u[_0xcc4f0f(0x21a)][_0xcc4f0f(0xec)](_0x6df2c2[_0xcc4f0f(0xe7)]))};});let _0x555e5d=(0x0,u['b64EncodeUnicode'])(u[_0x41b872(0x21a)][_0x41b872(0xec)](_0x4a4520[_0x41b872(0xe7)]));return{..._0x1ebe50,'workbook':{..._0x4a4520,'originalMeta':_0x555e5d,'sheets':_0x364683},'doc':{},'slide':void 0x0,'board':void 0x0};}function L(_0x88a4ee){const _0x37d5b4=_0x3fbf3b;let _0xbe7e97=_0x88a4ee['doc'];if(!_0xbe7e97)return null;let _0x2ee4ad=(0x0,u[_0x37d5b4(0xea)])(u[_0x37d5b4(0x21a)][_0x37d5b4(0xec)](_0xbe7e97['originalMeta']));return{..._0x88a4ee,'workbook':{},'doc':{..._0xbe7e97,'originalMeta':_0x2ee4ad},'slide':void 0x0,'board':void 0x0};}function R(_0x15c5b9){const _0x309630=_0x3fbf3b;var _0x5cdaac;let _0x3e3b65=(_0x5cdaac=_0x15c5b9[_0x309630(0x1d9)])==null?_0x15c5b9[_0x309630(0x1a2)]:_0x5cdaac;if(!_0x3e3b65)return null;let _0x1ed725=typeof _0x3e3b65['originalMeta']=='string'?_0x3e3b65[_0x309630(0xe7)]:(0x0,u[_0x309630(0xea)])(u['textDecoder'][_0x309630(0xec)](_0x3e3b65[_0x309630(0xe7)]));return{..._0x15c5b9,'workbook':{},'doc':{},'slide':{..._0x3e3b65,'originalMeta':_0x1ed725},'board':void 0x0};}function z(_0x467425){const _0x1cc101=_0x3fbf3b;let _0x411d56={};return _0x467425[_0x1cc101(0x124)](_0x1ecf39=>{const _0x1b2447=_0x1cc101;_0x411d56[_0x1ecf39['id']]={..._0x1ecf39,'data':(0x0,u['b64EncodeUnicode'])(u[_0x1b2447(0x21a)]['decode'](_0x1ecf39['data']))};}),_0x411d56;}async function B(_0x36cc30){const _0x21a985=_0x3fbf3b;var _0x4f1e6a;let _0x3e20dc={'metadata':void 0x0},_0xa92b7=_0x36cc30['id'],_0x3850ef=(_0x4f1e6a=_0x36cc30['rev'])==null?0x0:_0x4f1e6a,_0x134c34=new W(),{snapshot:_0x55fb6d}=await(0x0,u[_0x21a985(0x125)])(_0x3e20dc,_0x36cc30,_0xa92b7,_0x3850ef,_0x134c34),_0x35c318=await(0x0,u[_0x21a985(0x25f)])(_0x55fb6d,_0x134c34),_0x1100de=I(_0x55fb6d);if(!_0x1100de)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x1100de,'sheetBlocks':z(_0x35c318)};}async function V(_0x5aa42e){const _0x11cf29=_0x3fbf3b;var _0x26df47;let _0x4f044b={'metadata':void 0x0},_0x37ccca=_0x5aa42e['id'],{snapshot:_0x501216}=await(0x0,u[_0x11cf29(0x144)])(_0x4f044b,_0x5aa42e,_0x37ccca,(_0x26df47=_0x5aa42e[_0x11cf29(0x179)])==null?0x0:_0x26df47,new W()),_0x8a9929=L(_0x501216);if(!_0x8a9929)throw Error(_0x11cf29(0x1d2));return{'snapshot':_0x8a9929,'sheetBlocks':{}};}async function H(_0x239f14){const _0x5a2661=_0x3fbf3b;var _0x1aec00;let _0x1a4730=_0x239f14['id'],_0x1ad4f1=(_0x1aec00=_0x239f14['rev'])==null?0x0:_0x1aec00,_0x121fe6=new W(),{snapshot:_0x3d8e4a}=await(0x0,u[_0x5a2661(0x1cb)])(_0x239f14[_0x5a2661(0x20d)],_0x239f14,_0x1a4730,_0x1ad4f1,_0x121fe6),_0x5d13c4=R(_0x3d8e4a);if(!_0x5d13c4)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x5d13c4,'sheetBlocks':{}};}async function U(_0x48023e){const _0x47f360=_0x3fbf3b;let _0x36118d=_0x48023e['snapshot'],_0x53dbaf=_0x48023e[_0x47f360(0x208)]||{};return await(0x0,u[_0x47f360(0x109)])(_0x36118d,Object['keys'](_0x53dbaf)[_0x47f360(0x163)](_0x3f8980=>_0x53dbaf[_0x3f8980])[_0x47f360(0x163)](_0x5e2e3f=>({..._0x5e2e3f,'data':_0x5e2e3f[_0x47f360(0x219)]?JSON[_0x47f360(0x12f)]((0x0,u[_0x47f360(0x152)])(_0x5e2e3f[_0x47f360(0x219)])):void 0x0})));}function ue(_0x176fbe){const _0x1192c2=_0x3fbf3b;let _0x211896=_0x176fbe[_0x1192c2(0x220)];return(0x0,u[_0x1192c2(0x159)])(_0x211896);}function de(_0x44ed67){const _0x35f857=_0x3fbf3b;let _0x4d73d3=_0x44ed67[_0x35f857(0x220)];return(0x0,u['transformSnapshotToSlideData'])(_0x4d73d3);}var W=class{constructor(){v(this,'_sheetBlockCache',new Map());}['getUnitOnRev'](){const _0x430d2b=_0x3fbf3b;return Promise[_0x430d2b(0x1b1)]({'snapshot':{'unitID':'','type':t[_0x430d2b(0x15b)][_0x430d2b(0x121)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':l[_0x430d2b(0x138)]['OK'],'message':''}});}[_0x3fbf3b(0x107)](_0x3cef99,_0x3981b2){const _0xb3ee14=_0x3fbf3b;let _0x452f4f=this[_0xb3ee14(0x23d)][_0xb3ee14(0x160)](_0x3981b2[_0xb3ee14(0xe4)]);return Promise[_0xb3ee14(0x1b1)]({'block':_0x452f4f,'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x3fbf3b(0x1fc)](_0x1c1770,_0x40ce79){const _0x901b10=_0x3fbf3b;let _0xc76341=this[_0x901b10(0x23d)]['get'](_0x40ce79[_0x901b10(0xe4)]);return Promise[_0x901b10(0x1b1)]({'block':_0xc76341===void 0x0?void 0x0:{..._0xc76341,'data':JSON[_0x901b10(0x12f)](u[_0x901b10(0x21a)]['decode'](_0xc76341[_0x901b10(0x219)]))},'error':{'code':l[_0x901b10(0x138)]['OK'],'message':''}});}[_0x3fbf3b(0x1b8)](){const _0x2cdd34=_0x3fbf3b;return Promise[_0x2cdd34(0x1b1)]({'changesets':[],'error':{'code':l[_0x2cdd34(0x138)]['OK'],'message':''}});}['getResourcesRequest'](){const _0x150445=_0x3fbf3b;return Promise[_0x150445(0x1b1)]({'resources':{},'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x3fbf3b(0xdd)](){const _0x5690f7=_0x3fbf3b;return Promise[_0x5690f7(0x1b1)]({'error':{'code':l[_0x5690f7(0x138)]['OK'],'message':''}});}[_0x3fbf3b(0x248)](){const _0x3ed9bd=_0x3fbf3b;return Promise[_0x3ed9bd(0x1b1)]({'error':{'code':l['ErrorCode']['OK'],'message':''}});}[_0x3fbf3b(0x16c)](_0x1c9a09,_0x3eb1a7){const _0x5eddbf=_0x3fbf3b;let {block:_0x43cbb2}=_0x3eb1a7;return _0x43cbb2?(this[_0x5eddbf(0x23d)][_0x5eddbf(0x249)](_0x43cbb2['id'],_0x43cbb2),Promise[_0x5eddbf(0x1b1)]({'error':{'code':l['ErrorCode']['OK'],'message':''},'blockID':_0x43cbb2['id']})):Promise[_0x5eddbf(0x1b1)]({'error':{'code':l[_0x5eddbf(0x138)][_0x5eddbf(0x191)],'message':'block\x20is\x20required'},'blockID':''});}['saveChangeset'](){const _0x2a83aa=_0x3fbf3b;return Promise[_0x2a83aa(0x1b1)]({'error':{'code':l[_0x2a83aa(0x138)]['OK'],'message':''},'concurrent':[]});}[_0x3fbf3b(0x199)](){const _0x59d90e=_0x3fbf3b;return Promise[_0x59d90e(0x1b1)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){return Promise['resolve']({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x3fbf3b(0x22b)])(_0x3fbf3b(0x162));let K=class extends t[_0x3fbf3b(0x1e7)]{constructor(_0x6a54eb,_0x5dc39a,_0x6963c8){const _0x3d7900=_0x3fbf3b;super(),this['_configService']=_0x6a54eb,this['_httpService']=_0x5dc39a,this[_0x3d7900(0x147)]=_0x6963c8,v(this,'_importTaskId',null),v(this,_0x3d7900(0xed),new o[(_0x3d7900(0x193))]()),v(this,'requestState$',this[_0x3d7900(0xed)]['asObservable']());}[_0x3fbf3b(0x112)](){const _0x42702f=_0x3fbf3b;super[_0x42702f(0x112)](),this['_requestState$'][_0x42702f(0x1c1)]();}async[_0x3fbf3b(0x12d)](_0x233e2d){const _0x2a8807=_0x3fbf3b;let _0x4a6f5e=await this[_0x2a8807(0x245)](_0x233e2d,t[_0x2a8807(0x15b)][_0x2a8807(0x252)]);if(!_0x4a6f5e||!_0x4a6f5e[_0x2a8807(0x220)])return;let _0x59a62f=ue(_0x4a6f5e);if(_0x59a62f)return _0x59a62f;}async[_0x3fbf3b(0x228)](_0x2a24e6){const _0x1b2248=_0x3fbf3b;return this[_0x1b2248(0x1b5)](_0x2a24e6,0x1,t[_0x1b2248(0x15b)]['UNIVER_DOC']);}async[_0x3fbf3b(0xdf)](_0x2dcb7c){const _0x155886=_0x3fbf3b;let _0x5aabf0=await V(_0x2dcb7c);return this[_0x155886(0x1be)](_0x5aabf0,t[_0x155886(0x15b)]['UNIVER_DOC']);}async[_0x3fbf3b(0x140)](_0x450d21){const _0x411a26=_0x3fbf3b;let _0x300e2c=await this[_0x411a26(0x245)](_0x450d21,t[_0x411a26(0x15b)][_0x411a26(0x1d5)]);if(!(!_0x300e2c||!_0x300e2c[_0x411a26(0x220)]))return de(_0x300e2c);}async[_0x3fbf3b(0x12b)](_0x333647){const _0x4b87e9=_0x3fbf3b;return this[_0x4b87e9(0x1b5)](_0x333647,0x1,t[_0x4b87e9(0x15b)][_0x4b87e9(0x1d5)]);}async[_0x3fbf3b(0xe5)](_0x2a5207){const _0x4563c4=_0x3fbf3b;let _0x2dea86=await H(_0x2a5207);return this[_0x4563c4(0x1be)](_0x2dea86,t['UniverInstanceType'][_0x4563c4(0x1d5)]);}async[_0x3fbf3b(0xf6)](_0x46e15b){const _0x5c238e=_0x3fbf3b;let _0x21f64a=await this[_0x5c238e(0x245)](_0x46e15b,t[_0x5c238e(0x15b)][_0x5c238e(0x121)]);if(!_0x21f64a)return;let _0x19dadc=await U(_0x21f64a);if(_0x19dadc)return _0x19dadc;}async[_0x3fbf3b(0xe1)](_0x49f5fa){const _0x2ec91c=_0x3fbf3b;return this[_0x2ec91c(0x1b5)](_0x49f5fa,0x1,t['UniverInstanceType'][_0x2ec91c(0x121)]);}async[_0x3fbf3b(0x13b)](_0x5da36c){const _0x1c2dc2=_0x3fbf3b;let _0x37a871=await B(_0x5da36c);return this[_0x1c2dc2(0x1be)](_0x37a871,t[_0x1c2dc2(0x15b)][_0x1c2dc2(0x121)]);}async[_0x3fbf3b(0x20e)](_0x381abc,_0xb422d9){const _0x11cb55=_0x3fbf3b;var _0x5f6ed8,_0x48a3bb;let _0x25282c=await this[_0x11cb55(0x197)](_0x381abc);if(!_0x25282c)return;let _0x395073=await this[_0x11cb55(0x1bc)](_0x25282c,0x1,_0xb422d9);if(!_0x395073)return;this[_0x11cb55(0x24a)]=_0x395073,this[_0x11cb55(0x147)][_0x11cb55(0x246)]();let _0x484244=await this[_0x11cb55(0x147)][_0x11cb55(0x135)](_0x395073)[_0x11cb55(0xf9)](_0x34f66c=>{const _0x435db0=_0x11cb55;var _0x432526;let _0x13b149=_0x34f66c instanceof Error?_0x34f66c[_0x435db0(0x258)]:(_0x432526=_0x34f66c[_0x435db0(0x133)])==null?void 0x0:_0x432526[_0x435db0(0x258)];this[_0x435db0(0xed)]['next']({'error':{'code':l[_0x435db0(0x138)][_0x435db0(0x1a1)],'message':_0x13b149||''},'state':0x3});});if(!_0x484244)return;let _0x56f2d2=(_0x5f6ed8=_0x484244['import'])==null?void 0x0:_0x5f6ed8['outputType'],_0x247c8d=((_0x48a3bb=_0x484244[_0x11cb55(0x1ca)])==null?void 0x0:_0x48a3bb['unitID'])||'';if(_0x56f2d2!==0x1){this[_0x11cb55(0xed)][_0x11cb55(0xde)]({'error':{'code':l[_0x11cb55(0x138)][_0x11cb55(0x1a1)],'message':_0x11cb55(0x149)},'state':0x3});return;}if(_0x247c8d['length']===0x0){this[_0x11cb55(0xed)][_0x11cb55(0xde)]({'error':{'code':l['ErrorCode'][_0x11cb55(0x1a1)],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this['_requestState$'][_0x11cb55(0xde)]({'error':_0x484244[_0x11cb55(0x133)],'state':0x3}),_0x247c8d;}async[_0x3fbf3b(0x245)](_0x59627f,_0x53da9d){return this['_importToJson'](_0x59627f,_0x53da9d);}async[_0x3fbf3b(0x1d8)](_0x22f6c1){const _0x25ecd1=_0x3fbf3b;let _0x10e7ea=await B(_0x22f6c1),_0x69dc4e=typeof _0x22f6c1['id']==_0x25ecd1(0x225)&&_0x22f6c1['id']['trim']()?_0x22f6c1['id']['trim']()+_0x25ecd1(0x1f0):_0x25ecd1(0x1e3),_0x401ef6=new File([JSON[_0x25ecd1(0x1dd)](_0x10e7ea)],_0x69dc4e,{'type':_0x25ecd1(0xeb)});return this['importFileToUnitId'](_0x401ef6,t[_0x25ecd1(0x15b)][_0x25ecd1(0x121)]);}[_0x3fbf3b(0x130)](){const _0x16ace3=_0x3fbf3b;this[_0x16ace3(0x24a)]&&this[_0x16ace3(0x147)][_0x16ace3(0x156)](this['_importTaskId']);}async[_0x3fbf3b(0x184)](_0x9dbe9c,_0x40083a){const _0x1b5a3c=_0x3fbf3b;var _0x477f4a,_0x208fd0;let _0x4dd5e2=await this[_0x1b5a3c(0x197)](_0x9dbe9c);if(!_0x4dd5e2)return;let _0x11b072=await this[_0x1b5a3c(0x1bc)](_0x4dd5e2,0x2,_0x40083a);if(!_0x11b072)return;this[_0x1b5a3c(0x24a)]=_0x11b072,this[_0x1b5a3c(0x147)][_0x1b5a3c(0x246)]();let _0x23cf00=await this['_requestService'][_0x1b5a3c(0x135)](_0x11b072)[_0x1b5a3c(0xf9)](_0x13962a=>{const _0x2b2e1b=_0x1b5a3c;var _0x4ded83;let _0x32584e=_0x13962a instanceof Error?_0x13962a[_0x2b2e1b(0x258)]:(_0x4ded83=_0x13962a['error'])==null?void 0x0:_0x4ded83[_0x2b2e1b(0x258)];this['_requestState$'][_0x2b2e1b(0xde)]({'error':{'code':l['ErrorCode'][_0x2b2e1b(0x1a1)],'message':_0x32584e||''},'state':0x3});});if(!_0x23cf00)return;let _0xdf7435=(_0x477f4a=_0x23cf00[_0x1b5a3c(0x1ca)])==null?void 0x0:_0x477f4a['outputType'],_0x4a68f7=((_0x208fd0=_0x23cf00[_0x1b5a3c(0x1ca)])==null?void 0x0:_0x208fd0['jsonID'])||'';if(_0xdf7435!==0x2){this[_0x1b5a3c(0xed)]['next']({'error':{'code':l[_0x1b5a3c(0x138)][_0x1b5a3c(0x1a1)],'message':'Get\x20outputType\x20error'},'state':0x3});return;}if(_0x4a68f7['length']===0x0){this[_0x1b5a3c(0xed)][_0x1b5a3c(0xde)]({'error':{'code':l[_0x1b5a3c(0x138)]['UNRECOGNIZED'],'message':_0x1b5a3c(0x1b4)},'state':0x3});return;}this[_0x1b5a3c(0xed)][_0x1b5a3c(0xde)]({'error':_0x23cf00[_0x1b5a3c(0x133)],'state':0x3});let _0x14cde6=await this['_signUrl'](_0x4a68f7);if(!_0x14cde6)return;let _0x11781b=await this['_requestService'][_0x1b5a3c(0x1db)](_0x14cde6);if(!_0x11781b){this['_requestState$']['next']({'error':{'code':l[_0x1b5a3c(0x138)][_0x1b5a3c(0x1a1)],'message':'Failed\x20to\x20get\x20text\x20from\x20url'},'state':0x5});return;}try{let _0x9193d8=JSON['parse'](_0x11781b);return this['_requestState$']['next']({'error':{'code':l['ErrorCode']['OK'],'message':_0x1b5a3c(0x161)},'state':0x5}),_0x9193d8;}catch{this[_0x1b5a3c(0xed)][_0x1b5a3c(0xde)]({'error':{'code':l['ErrorCode'][_0x1b5a3c(0x1a1)],'message':_0x1b5a3c(0x1c3)},'state':0x5});}}async[_0x3fbf3b(0x1be)](_0x27ee1a,_0x5aef6e){const _0x4d83b9=_0x3fbf3b;let _0x57409e=JSON[_0x4d83b9(0x1dd)](_0x27ee1a),_0x5bc400=u[_0x4d83b9(0x12e)]['encode'](_0x57409e),_0x29892c=(0x0,d['deflateSync'])(_0x5bc400),_0x475bb5=_0x5bc400[_0x4d83b9(0x16d)],_0x2ac50e=se(_0x29892c),_0x19f92e=await this[_0x4d83b9(0x197)](_0x2ac50e,_0x475bb5,!0x0);if(_0x19f92e)return this[_0x4d83b9(0x1b5)](_0x19f92e,0x2,_0x5aef6e);}async[_0x3fbf3b(0x1b5)](_0x4439b5,_0x476aac,_0x4f40fa){const _0xa74cd6=_0x3fbf3b;var _0x182c14;let _0x5cab26=await this['_requestService'][_0xa74cd6(0xe0)]({'unitID':_0x476aac===0x1?_0x4439b5:'','jsonID':_0x476aac===0x2?_0x4439b5:'','type':_0x4f40fa,'sscSwitch':this[_0xa74cd6(0x1b6)](),'useImageUrl':this['_getDisableCellImageConversion'](),'ignoreTableExport':this[_0xa74cd6(0x1a6)]()});if(!_0x5cab26){this['_requestState$'][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)][_0xa74cd6(0x1a1)],'message':_0xa74cd6(0x14a)},'state':0x2});return;}if(this[_0xa74cd6(0xed)]['next']({'error':_0x5cab26[_0xa74cd6(0x133)],'state':0x2}),_0x5cab26[_0xa74cd6(0x133)]&&_0x5cab26[_0xa74cd6(0x133)][_0xa74cd6(0x1e9)]!==l[_0xa74cd6(0x138)]['OK'])return;let _0xc52f28=_0x5cab26[_0xa74cd6(0x1f4)],_0x44d720=await this[_0xa74cd6(0x147)][_0xa74cd6(0x135)](_0xc52f28)[_0xa74cd6(0xf9)](_0x39bc63=>{const _0x5b4d44=_0xa74cd6;var _0x448bf2;let _0x1af7db=_0x39bc63 instanceof Error?_0x39bc63[_0x5b4d44(0x258)]:(_0x448bf2=_0x39bc63[_0x5b4d44(0x133)])==null?void 0x0:_0x448bf2[_0x5b4d44(0x258)];this[_0x5b4d44(0xed)][_0x5b4d44(0xde)]({'error':{'code':l[_0x5b4d44(0x138)][_0x5b4d44(0x1a1)],'message':_0x1af7db||''},'state':0x3});});if(!_0x44d720)return;let _0x41158d=((_0x182c14=_0x44d720[_0xa74cd6(0xe0)])==null?void 0x0:_0x182c14['fileID'])||'';if(_0x41158d[_0xa74cd6(0x16d)]===0x0){this[_0xa74cd6(0xed)][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)][_0xa74cd6(0x1a1)],'message':'Failed\x20to\x20get\x20fileID\x20from\x20task'},'state':0x3});return;}this[_0xa74cd6(0xed)][_0xa74cd6(0xde)]({'error':_0x44d720[_0xa74cd6(0x133)],'state':0x3});let _0x2bd001=await this['_signUrl'](_0x41158d);if(!_0x2bd001)return;let _0x1887b8=await A(_0x2bd001,this[_0xa74cd6(0x195)]);if(!_0x1887b8){this['_requestState$'][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)][_0xa74cd6(0x1a1)],'message':_0xa74cd6(0x233)},'state':0x6});return;}return this[_0xa74cd6(0xed)][_0xa74cd6(0xde)]({'error':{'code':l[_0xa74cd6(0x138)]['OK'],'message':_0xa74cd6(0x161)},'state':0x6}),_0x1887b8;}async['_upload'](_0x41a8c2,_0x54ed2c,_0x22fd54){const _0x50768e=_0x3fbf3b;let _0x16f673;try{_0x16f673=await this[_0x50768e(0x147)]['upload'](_0x41a8c2,_0x54ed2c,_0x22fd54);}catch(_0x1a4da3){let _0x18c65a=_0x1a4da3 instanceof Error?_0x1a4da3[_0x50768e(0x258)]:String(_0x1a4da3);this['_requestState$'][_0x50768e(0xde)]({'error':{'code':l[_0x50768e(0x138)]['UNRECOGNIZED'],'message':_0x18c65a},'state':0x0});return;}if(!_0x16f673||typeof _0x16f673[_0x50768e(0x1a4)]!=_0x50768e(0x225)){this['_requestState$']['next']({'error':{'code':l[_0x50768e(0x138)][_0x50768e(0x1a1)],'message':_0x50768e(0x18a)},'state':0x0});return;}let _0x7dc69f=_0x16f673['FileId'];if(_0x7dc69f[_0x50768e(0x16d)]===0x0){this['_requestState$'][_0x50768e(0xde)]({'error':{'code':l[_0x50768e(0x138)]['UNRECOGNIZED'],'message':_0x50768e(0x1e1)},'state':0x0});return;}return this['_requestState$'][_0x50768e(0xde)]({'error':{'code':l['ErrorCode']['OK'],'message':_0x50768e(0x161)},'state':0x0}),_0x7dc69f;}async[_0x3fbf3b(0x1bc)](_0x55ed71,_0x11133c,_0x4eb7dd){const _0x1dec35=_0x3fbf3b;let _0x3401d5={'fileID':_0x55ed71,'type':_0x4eb7dd,'outputType':_0x11133c,'fileUrl':'','minSheetRowCount':this[_0x1dec35(0x1fd)](),'minSheetColumnCount':this[_0x1dec35(0x186)]()},_0x311d07=await this[_0x1dec35(0x147)]['import'](_0x3401d5);if(!_0x311d07){this[_0x1dec35(0xed)][_0x1dec35(0xde)]({'error':{'code':l['ErrorCode'][_0x1dec35(0x1a1)],'message':'import\x20error'},'state':0x1});return;}if(_0x311d07[_0x1dec35(0x133)]&&_0x311d07[_0x1dec35(0x133)][_0x1dec35(0x1e9)]!==l[_0x1dec35(0x138)]['OK']){this['_requestState$']['next']({'error':_0x311d07['error'],'state':0x1});return;}let _0x62a40b=_0x311d07['taskID'];if(_0x62a40b['length']===0x0){this[_0x1dec35(0xed)]['next']({'error':{'code':l['ErrorCode']['UNRECOGNIZED'],'message':_0x1dec35(0xe3)},'state':0x1});return;}return this['_requestState$'][_0x1dec35(0xde)]({'error':_0x311d07[_0x1dec35(0x133)],'state':0x1}),_0x62a40b;}async[_0x3fbf3b(0x182)](_0x25d7a5){const _0x560957=_0x3fbf3b;let _0x9f788f=await this[_0x560957(0x147)][_0x560957(0x19c)](_0x25d7a5);if(!_0x9f788f){this[_0x560957(0xed)][_0x560957(0xde)]({'error':{'code':l['ErrorCode'][_0x560957(0x1a1)],'message':_0x560957(0x1a8)},'state':0x4});return;}if(_0x9f788f[_0x560957(0x133)]&&_0x9f788f['error']['code']!==l[_0x560957(0x138)]['OK']){this[_0x560957(0xed)]['next']({'error':_0x9f788f['error'],'state':0x4});return;}let _0x3df13b=(0x0,t[_0x560957(0x13f)])(_0x9f788f[_0x560957(0x1ef)],this[_0x560957(0x24e)]());if(_0x3df13b[_0x560957(0x16d)]===0x0){this[_0x560957(0xed)][_0x560957(0xde)]({'error':{'code':l['ErrorCode'][_0x560957(0x1a1)],'message':_0x560957(0x1a8)},'state':0x4});return;}return this[_0x560957(0xed)][_0x560957(0xde)]({'error':_0x9f788f[_0x560957(0x133)],'state':0x4}),_0x3df13b;}['_getDownloadEndpointURL'](){const _0x22415a=_0x3fbf3b;var _0x282cc8;let _0x58e647=this[_0x22415a(0x1c8)][_0x22415a(0x1de)](m);return(_0x282cc8=_0x58e647==null?void 0x0:_0x58e647[_0x22415a(0x17a)])==null?location['origin']:_0x282cc8;}[_0x3fbf3b(0x1fd)](){const _0x1efb26=_0x3fbf3b;var _0x55295b,_0x30dafc;let _0x1d3215=this[_0x1efb26(0x1c8)][_0x1efb26(0x1de)](m);return(_0x55295b=_0x1d3215==null||(_0x30dafc=_0x1d3215['options'])==null?void 0x0:_0x30dafc['minSheetRowCount'])==null?0x1:_0x55295b;}['_getMinSheetColumnCount'](){const _0x1dae1c=_0x3fbf3b;var _0x28fa43,_0x20977f;let _0x4679e4=this[_0x1dae1c(0x1c8)]['getConfig'](m);return(_0x28fa43=_0x4679e4==null||(_0x20977f=_0x4679e4[_0x1dae1c(0x239)])==null?void 0x0:_0x20977f[_0x1dae1c(0x137)])==null?0x1:_0x28fa43;}[_0x3fbf3b(0x1b6)](){const _0x3256ba=_0x3fbf3b;var _0xbbdec4,_0x3359ff;let _0x3a163e=this['_configService']['getConfig'](m);return(_0xbbdec4=_0x3a163e==null||(_0x3359ff=_0x3a163e[_0x3256ba(0x239)])==null?void 0x0:_0x3359ff[_0x3256ba(0x11c)])==null?!0x1:_0xbbdec4;}[_0x3fbf3b(0x155)](){const _0x274938=_0x3fbf3b;var _0x217cb8,_0x25e349;let _0x22feb7=this[_0x274938(0x1c8)]['getConfig'](m);return(_0x217cb8=_0x22feb7==null||(_0x25e349=_0x22feb7['options'])==null?void 0x0:_0x25e349[_0x274938(0x19d)])==null?!0x0:_0x217cb8;}[_0x3fbf3b(0x1a6)](){const _0x47ab22=_0x3fbf3b;var _0x23f221,_0x3f5341;let _0x30cfab=this[_0x47ab22(0x1c8)]['getConfig'](m);return(_0x23f221=_0x30cfab==null||(_0x3f5341=_0x30cfab['options'])==null?void 0x0:_0x3f5341['ignoreTableExport'])==null?!0x1:_0x23f221;}};K=N([M(0x0,t[_0x3fbf3b(0x16e)]),M(0x1,(0x0,t[_0x3fbf3b(0xf8)])(n[_0x3fbf3b(0x19f)])),M(0x2,(0x0,t[_0x3fbf3b(0xf8)])(P))],K);const fe={'done':0x0,'count':0x0},q=(0x0,t['createIdentifier'])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x3fbf3b(0x1e7)]{constructor(_0x4b3c8b,_0x5e28c3,_0x32af65,_0x198d8a,_0x368b39,_0x3f05b9,_0xedbe1c){const _0x3c1447=_0x3fbf3b;super(),this[_0x3c1447(0x25e)]=_0x4b3c8b,this[_0x3c1447(0x15f)]=_0x5e28c3,this['_localeService']=_0x32af65,this[_0x3c1447(0x119)]=_0x198d8a,this[_0x3c1447(0x1ab)]=_0x368b39,this[_0x3c1447(0x1a3)]=_0x3f05b9,this[_0x3c1447(0x15c)]=_0xedbe1c,v(this,_0x3c1447(0x232),new o[(_0x3c1447(0x11f))](fe)),v(this,_0x3c1447(0x187),this[_0x3c1447(0x232)][_0x3c1447(0x1ee)]()),v(this,_0x3c1447(0x175),0x0),v(this,_0x3c1447(0xfe),0x0),this[_0x3c1447(0x142)]((0x0,t[_0x3c1447(0x238)])(this[_0x3c1447(0x119)][_0x3c1447(0x21c)][_0x3c1447(0x1d3)](_0x10be42=>{const _0x456377=_0x3c1447;var _0x5cb97a;((_0x5cb97a=_0x10be42[_0x456377(0x133)])==null?void 0x0:_0x5cb97a[_0x456377(0x1e9)])===l[_0x456377(0x138)]['OK']?this[_0x456377(0x168)](0x1):this[_0x456377(0x21e)](_0x10be42['error']);})));}[_0x3fbf3b(0x194)](){const _0x396444=_0x3fbf3b;this[_0x396444(0x24d)](),this['_uploadNotificationService'][_0x396444(0x13c)](0x2),this[_0x396444(0x119)][_0x396444(0x130)]();}async['uploadFileToUnitId'](_0x31abec){const _0x572942=_0x3fbf3b;throw Error(_0x572942(0x243));}async[_0x3fbf3b(0x23e)](){const _0x8bca67=_0x3fbf3b;let _0x3b01ed=this[_0x8bca67(0x25e)]['getFocusedUnit']();switch(_0x3b01ed?this[_0x8bca67(0x25e)][_0x8bca67(0x22e)](_0x3b01ed[_0x8bca67(0x207)]()):t[_0x8bca67(0x15b)][_0x8bca67(0x1a1)]){case t[_0x8bca67(0x15b)][_0x8bca67(0x1d5)]:return this[_0x8bca67(0x198)]();case t[_0x8bca67(0x15b)][_0x8bca67(0x252)]:return this['importDOCXToUnitId']();case t[_0x8bca67(0x15b)]['UNIVER_SHEET']:default:return this[_0x8bca67(0x18e)]();}}async[_0x3fbf3b(0x16f)](){const _0x55942a=_0x3fbf3b;let _0x3070aa=await k([t[_0x55942a(0x15b)][_0x55942a(0x252)]]);if(_0x3070aa&&!this[_0x55942a(0x24c)](_0x3070aa,t[_0x55942a(0x15b)]['UNIVER_DOC']))return this[_0x55942a(0x20c)](_0x3070aa[0x0],t[_0x55942a(0x15b)][_0x55942a(0x252)]);}[_0x3fbf3b(0x12d)](){const _0x45b810=_0x3fbf3b;throw Error(_0x45b810(0x243));}async[_0x3fbf3b(0x228)](_0x38c704,_0x573dbb,_0xa8137f){const _0x1e43f7=_0x3fbf3b;this[_0x1e43f7(0x131)](s[_0x1e43f7(0x129)]['Info']);let _0x354db3=await this['_exchangeService'][_0x1e43f7(0x228)](_0x38c704||this[_0x1e43f7(0x1b7)]());_0x354db3&&(D(_0x354db3,_0x573dbb||this[_0x1e43f7(0x236)](_0x354db3),_0x1e43f7(0x172)),this[_0x1e43f7(0x131)](s[_0x1e43f7(0x129)][_0x1e43f7(0x103)]));}async[_0x3fbf3b(0xdf)](){const _0x4932ae=_0x3fbf3b;this[_0x4932ae(0x131)](s[_0x4932ae(0x129)][_0x4932ae(0xef)]);let _0x25b33c=await this['_getUnitDocJson'](),_0x571ab=await this[_0x4932ae(0x119)][_0x4932ae(0xdf)](_0x25b33c);_0x571ab&&(D(_0x571ab,this[_0x4932ae(0x236)](_0x571ab),'docx'),this['_showDownloadMessage'](s[_0x4932ae(0x129)][_0x4932ae(0x103)]));}async[_0x3fbf3b(0x198)](){const _0x1facc5=_0x3fbf3b;if(this[_0x1facc5(0x265)]()){this['_messageService'][_0x1facc5(0x230)]({'type':s[_0x1facc5(0x129)][_0x1facc5(0x10e)],'content':this[_0x1facc5(0x173)]['t']('exchange-client.uploading')});return;}let _0x5bebac=await k([t[_0x1facc5(0x15b)][_0x1facc5(0x1d5)]]);if(_0x5bebac&&!this[_0x1facc5(0x24c)](_0x5bebac,t['UniverInstanceType'][_0x1facc5(0x1d5)]))return this[_0x1facc5(0x20c)](_0x5bebac[0x0],t[_0x1facc5(0x15b)][_0x1facc5(0x1d5)]);}async[_0x3fbf3b(0x140)](){const _0x204ceb=_0x3fbf3b;if(this[_0x204ceb(0x265)]()){this[_0x204ceb(0x15f)][_0x204ceb(0x230)]({'type':s[_0x204ceb(0x129)]['Warning'],'content':this[_0x204ceb(0x173)]['t'](_0x204ceb(0x204))});return;}let _0x213f5b=await k([t['UniverInstanceType'][_0x204ceb(0x1d5)]]);if(!_0x213f5b)return;this['_showUploadMessage'](s[_0x204ceb(0x129)]['Info']);let _0x29d5c0=await this[_0x204ceb(0x119)][_0x204ceb(0x140)](_0x213f5b[0x0]);_0x29d5c0&&(this['_refreshSlide'](_0x29d5c0),this['_showUploadMessage'](s[_0x204ceb(0x129)][_0x204ceb(0x103)]));}async[_0x3fbf3b(0x12b)](_0x874ea7,_0x5bd33c,_0x17adcb){const _0x26b8a0=_0x3fbf3b;this[_0x26b8a0(0x131)](s['MessageType']['Info']);let _0x535bdb=await this[_0x26b8a0(0x119)]['exportPPTXByUnitId'](_0x874ea7||this[_0x26b8a0(0x227)]());_0x535bdb&&(D(_0x535bdb,_0x5bd33c||this[_0x26b8a0(0x13a)](_0x535bdb,_0x17adcb==null?t[_0x26b8a0(0x15b)][_0x26b8a0(0x1d5)]:_0x17adcb),_0x26b8a0(0x17c)),this[_0x26b8a0(0x131)](s['MessageType']['Success']));}async[_0x3fbf3b(0xe5)](){const _0x25a444=_0x3fbf3b;this['_showDownloadMessage'](s[_0x25a444(0x129)][_0x25a444(0xef)]);let _0x3eb5b1=await this[_0x25a444(0x12a)](),_0x295700=await this[_0x25a444(0x119)][_0x25a444(0xe5)](_0x3eb5b1);_0x295700&&(D(_0x295700,this[_0x25a444(0x13a)](_0x295700,t[_0x25a444(0x15b)][_0x25a444(0x1d5)]),_0x25a444(0x17c)),this[_0x25a444(0x131)](s[_0x25a444(0x129)][_0x25a444(0x103)]));}async[_0x3fbf3b(0x18e)](){const _0x4c355c=_0x3fbf3b;if(this[_0x4c355c(0x265)]()){this[_0x4c355c(0x15f)][_0x4c355c(0x230)]({'type':s['MessageType'][_0x4c355c(0x10e)],'content':this[_0x4c355c(0x173)]['t'](_0x4c355c(0x204))});return;}let _0x9a8d11=await k([t['UniverInstanceType'][_0x4c355c(0x121)]]);if(_0x9a8d11&&!this[_0x4c355c(0x24c)](_0x9a8d11,t[_0x4c355c(0x15b)][_0x4c355c(0x121)]))return this[_0x4c355c(0x20c)](_0x9a8d11[0x0],t[_0x4c355c(0x15b)]['UNIVER_SHEET']);}async[_0x3fbf3b(0xf6)](){const _0x378760=_0x3fbf3b;if(this[_0x378760(0x265)]()){this[_0x378760(0x15f)][_0x378760(0x230)]({'type':s[_0x378760(0x129)][_0x378760(0x10e)],'content':this[_0x378760(0x173)]['t'](_0x378760(0x204))});return;}let _0x1e1ed4=await k([t['UniverInstanceType'][_0x378760(0x121)]]);if(!_0x1e1ed4)return;this[_0x378760(0x203)](s[_0x378760(0x129)][_0x378760(0xef)]);let _0x22588f=await this['_exchangeService'][_0x378760(0xf6)](_0x1e1ed4[0x0]);_0x22588f&&(this[_0x378760(0x11b)](_0x22588f),this['_showUploadMessage'](s[_0x378760(0x129)][_0x378760(0x103)]));}async['exportXLSXByUnitId'](_0x3ec57c,_0x14a965,_0x5139b5){const _0x48e3c3=_0x3fbf3b;this[_0x48e3c3(0x131)](s[_0x48e3c3(0x129)]['Info']);let _0x5796aa=await this[_0x48e3c3(0x119)][_0x48e3c3(0xe1)](_0x3ec57c||this[_0x48e3c3(0x151)]());_0x5796aa&&(D(_0x5796aa,_0x14a965||this[_0x48e3c3(0x236)](_0x5796aa),'xlsx'),this[_0x48e3c3(0x131)](s[_0x48e3c3(0x129)]['Success']));}async[_0x3fbf3b(0x13b)](){const _0x227ef2=_0x3fbf3b;this['_showDownloadMessage'](s['MessageType'][_0x227ef2(0xef)]);let _0x2f1aa7=await this[_0x227ef2(0x102)](),_0x47cb55=await this['_exchangeService'][_0x227ef2(0x13b)](_0x2f1aa7);_0x47cb55&&(D(_0x47cb55,this['_getUnitName'](_0x47cb55),_0x227ef2(0x20a)),this[_0x227ef2(0x131)](s['MessageType'][_0x227ef2(0x103)]));}[_0x3fbf3b(0x101)](_0x4556f8){const _0x516a1c=_0x3fbf3b;this[_0x516a1c(0x202)]=_0x4556f8;}async[_0x3fbf3b(0x20c)](_0x4bab1f,_0x582d7c){const _0x1e9e03=_0x3fbf3b;this['_uploadNotificationService'][_0x1e9e03(0x230)](),this[_0x1e9e03(0x1ab)][_0x1e9e03(0x13c)](0x0),this[_0x1e9e03(0x1df)](0x4),this[_0x1e9e03(0x168)](0x1);let _0x4d28d5=await this['_exchangeService']['importFileToUnitId'](_0x4bab1f,_0x582d7c);if(!_0x4d28d5){this[_0x1e9e03(0x24d)](),this[_0x1e9e03(0x1ab)][_0x1e9e03(0x13c)](0x2);return;}let _0x509e42={'link':this[_0x1e9e03(0x202)](_0x4d28d5,_0x582d7c),'name':_0x4bab1f[_0x1e9e03(0x240)],'type':_0x582d7c};return this['_uploadNotificationService']['pushLink'](_0x509e42),this[_0x1e9e03(0x247)](),this['_uploadNotificationService'][_0x1e9e03(0x13c)](0x1),_0x4d28d5;}[_0x3fbf3b(0x151)](){const _0x4487ef=_0x3fbf3b;return this['_univerInstanceService']['getCurrentUnitOfType'](t[_0x4487ef(0x15b)][_0x4487ef(0x121)])[_0x4487ef(0x207)]();}['_getUnitIDDoc'](){const _0x3ba6cb=_0x3fbf3b;return this[_0x3ba6cb(0x25e)][_0x3ba6cb(0x1c5)](t[_0x3ba6cb(0x15b)][_0x3ba6cb(0x252)])[_0x3ba6cb(0x207)]();}[_0x3fbf3b(0x227)](){const _0x26bb66=_0x3fbf3b;return this[_0x26bb66(0x25e)][_0x26bb66(0x1c5)](t[_0x26bb66(0x15b)]['UNIVER_SLIDE'])['getUnitId']();}[_0x3fbf3b(0x236)](_0x55ca1a){const _0x1f6984=_0x3fbf3b;return this[_0x1f6984(0x13a)](_0x55ca1a,t['UniverInstanceType'][_0x1f6984(0x121)]);}[_0x3fbf3b(0x13a)](_0x1c03e2,_0x195805){const _0x411ae6=_0x3fbf3b;var _0x56246d;let _0x590688=(_0x56246d=this[_0x411ae6(0x25e)][_0x411ae6(0x1c5)](_0x195805))==null?void 0x0:_0x56246d[_0x411ae6(0x126)](),_0x52b392=_0x590688==null?void 0x0:_0x590688['name'];return typeof _0x52b392=='string'&&_0x52b392['trim']()?_0x52b392:_0x1c03e2[_0x411ae6(0x240)]['split']('.')[_0x411ae6(0x141)]()||document[_0x411ae6(0x18b)];}async[_0x3fbf3b(0x102)](){const _0x48fd13=_0x3fbf3b;return this[_0x48fd13(0x25e)][_0x48fd13(0x1c5)](t['UniverInstanceType'][_0x48fd13(0x121)])[_0x48fd13(0x126)]();}async[_0x3fbf3b(0x1a9)](){const _0x3d0393=_0x3fbf3b;return this['_univerInstanceService'][_0x3d0393(0x1c5)](t[_0x3d0393(0x15b)]['UNIVER_DOC'])[_0x3d0393(0x126)]();}async['_getUnitSlideJson'](){const _0x2ba75e=_0x3fbf3b;let _0x4ce58b=this[_0x2ba75e(0x25e)][_0x2ba75e(0x1c5)](t['UniverInstanceType'][_0x2ba75e(0x1d5)]),_0x3061b3=this[_0x2ba75e(0x15c)][_0x2ba75e(0x127)](_0x4ce58b[_0x2ba75e(0x207)]());return _0x3061b3==null?_0x4ce58b[_0x2ba75e(0x126)]():_0x3061b3;}['_getLinkByUnitId'](_0x3a3822,_0x359143){const _0x549590=_0x3fbf3b;let _0x38d72c=new URL(window[_0x549590(0x1ba)][_0x549590(0x106)]);return _0x38d72c[_0x549590(0x12c)][_0x549590(0x249)](_0x549590(0x256),_0x3a3822),_0x38d72c['searchParams'][_0x549590(0x249)]('type',''+_0x359143),_0x38d72c[_0x549590(0x23b)]();}['_refresh'](_0x40c922){const _0x383c61=_0x3fbf3b;let _0xbb8fc6=this[_0x383c61(0x25e)][_0x383c61(0x1c5)](t[_0x383c61(0x15b)][_0x383c61(0x121)])['getUnitId']();this['_univerInstanceService'][_0x383c61(0x226)](_0xbb8fc6),this[_0x383c61(0x25e)][_0x383c61(0x263)](t[_0x383c61(0x15b)][_0x383c61(0x121)],_0x40c922);}['_refreshSlide'](_0x43e02e){const _0x553cd0=_0x3fbf3b;let _0x2a64a4=this[_0x553cd0(0x25e)][_0x553cd0(0x1c5)](t[_0x553cd0(0x15b)][_0x553cd0(0x1d5)])[_0x553cd0(0x207)]();this[_0x553cd0(0x25e)]['disposeUnit'](_0x2a64a4),this[_0x553cd0(0x25e)][_0x553cd0(0x263)](t[_0x553cd0(0x15b)][_0x553cd0(0x1d5)],_0x43e02e);}['_showNetworkError'](_0x73f4a7){const _0x1e4628=_0x3fbf3b;if(_0x73f4a7){let {code:_0x95c51e}=_0x73f4a7;switch(_0x95c51e){case l[_0x1e4628(0x138)][_0x1e4628(0x234)]:this['_messageService'][_0x1e4628(0x230)]({'type':s[_0x1e4628(0x129)][_0x1e4628(0x114)],'content':this['_localeService']['t'](_0x1e4628(0x1f6))});break;case l['ErrorCode'][_0x1e4628(0xe9)]:this[_0x1e4628(0x15f)][_0x1e4628(0x230)]({'type':s[_0x1e4628(0x129)]['Error'],'content':this[_0x1e4628(0x173)]['t']('exchange-client.internalError')});break;default:this[_0x1e4628(0x15f)][_0x1e4628(0x230)]({'type':s[_0x1e4628(0x129)][_0x1e4628(0x114)],'content':this[_0x1e4628(0x173)]['t'](_0x1e4628(0x1b0))});break;}return null;}return this[_0x1e4628(0x15f)]['show']({'type':s[_0x1e4628(0x129)][_0x1e4628(0x114)],'content':this['_localeService']['t'](_0x1e4628(0x1b0))}),null;}['_showDownloadMessage'](_0x1ba671){const _0x165901=_0x3fbf3b;let _0x34aeb3='';switch(_0x1ba671){case s[_0x165901(0x129)]['Success']:_0x34aeb3=this['_localeService']['t'](_0x165901(0x1e6));break;case s[_0x165901(0x129)][_0x165901(0xef)]:_0x34aeb3=this['_localeService']['t'](_0x165901(0x1a5));break;default:break;}this[_0x165901(0x15f)][_0x165901(0x230)]({'type':_0x1ba671,'content':_0x34aeb3});}[_0x3fbf3b(0x203)](_0x2f974f){const _0xd04f97=_0x3fbf3b;let _0x9e6a71='';switch(_0x2f974f){case s[_0xd04f97(0x129)][_0xd04f97(0x103)]:_0x9e6a71=this[_0xd04f97(0x173)]['t'](_0xd04f97(0x1f1));break;case s[_0xd04f97(0x129)]['Info']:_0x9e6a71=this[_0xd04f97(0x173)]['t'](_0xd04f97(0x204));break;default:break;}this['_messageService'][_0xd04f97(0x230)]({'type':_0x2f974f,'content':_0x9e6a71});}[_0x3fbf3b(0x255)](){const _0x439f74=_0x3fbf3b;this[_0x439f74(0x232)][_0x439f74(0xde)]({'done':this['_doneUploadTaskCount'],'count':this[_0x439f74(0x175)]});}['_addTotalCount'](_0x53a8b6){const _0x4f1d71=_0x3fbf3b;this[_0x4f1d71(0x175)]+=_0x53a8b6,this[_0x4f1d71(0x255)]();}[_0x3fbf3b(0x168)](_0x42c7e4){const _0x3f837e=_0x3fbf3b;this[_0x3f837e(0xfe)]+=_0x42c7e4,this[_0x3f837e(0xfe)]=Math[_0x3f837e(0x206)](this[_0x3f837e(0xfe)],this[_0x3f837e(0x175)]),this[_0x3f837e(0x255)]();}['_completeProgress'](){const _0xd7b2fa=_0x3fbf3b;this[_0xd7b2fa(0xfe)]=this[_0xd7b2fa(0x175)],this[_0xd7b2fa(0x255)]();}[_0x3fbf3b(0x24d)](){const _0xdfa618=_0x3fbf3b;this[_0xdfa618(0xfe)]=0x0,this[_0xdfa618(0x175)]=0x0,this[_0xdfa618(0x255)]();}[_0x3fbf3b(0x24c)](_0x2aa60f,_0x2ab10b){const _0x17e8a8=_0x3fbf3b;let _0x14d205=_0x2aa60f[0x0],_0x231d8b=_0x14d205[_0x17e8a8(0x240)];return O(_0x14d205)===_0x2ab10b?!0x1:(this[_0x17e8a8(0x15f)][_0x17e8a8(0x230)]({'type':s['MessageType'][_0x17e8a8(0x114)],'content':this[_0x17e8a8(0x173)]['t'](_0x17e8a8(0xf0),_0x231d8b)}),!0x0);}['_uploadTaskNotDone'](){const _0x503733=_0x3fbf3b;return this['_totalUploadTaskCount']!==0x0&&this[_0x503733(0xfe)]!==this[_0x503733(0x175)];}};J=N([M(0x0,(0x0,t[_0x3fbf3b(0xf8)])(t['IUniverInstanceService'])),M(0x1,i[_0x3fbf3b(0x122)]),M(0x2,(0x0,t[_0x3fbf3b(0xf8)])(t[_0x3fbf3b(0x260)])),M(0x3,(0x0,t[_0x3fbf3b(0xf8)])(G)),M(0x4,(0x0,t[_0x3fbf3b(0xf8)])(y)),M(0x5,t[_0x3fbf3b(0x1c0)]),M(0x6,(0x0,t[_0x3fbf3b(0xf8)])(t['IResourceLoaderService']))],J);function Y(_0x2baf1b){const _0x46f6f5=_0x3fbf3b;let {onClick:_0x54e960,children:_0x266690,className:_0x24c699}=_0x2baf1b;return(0x0,c[_0x46f6f5(0x212)])(_0x46f6f5(0x100),{'className':(0x0,s[_0x46f6f5(0x105)])(_0x46f6f5(0x25a),_0x24c699),'type':_0x46f6f5(0x100),'onClick':_0x54e960,'children':_0x266690});}function X(){const _0x4b7aec=_0x3fbf3b;let _0x183efa=(0x0,i[_0x4b7aec(0x176)])(q),_0x21a2bc=(0x0,i[_0x4b7aec(0x176)])(t[_0x4b7aec(0x260)]);function _0x212195(){const _0x497aa2=_0x4b7aec;_0x183efa[_0x497aa2(0x23e)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x212195,'children':_0x21a2bc['t'](_0x4b7aec(0x1ce))});}function pe(){const _0x44ec19=_0x3fbf3b;return(0x0,c[_0x44ec19(0x164)])(_0x44ec19(0xfc),{'className':_0x44ec19(0x111),'children':[(0x0,c['jsx'])(_0x44ec19(0x118),{'className':_0x44ec19(0x23a),'children':(0x0,i[_0x44ec19(0x176)])(t[_0x44ec19(0x260)])['t'](_0x44ec19(0x123))}),(0x0,c[_0x44ec19(0x212)])(X,{})]});}function Z(_0x168c8b){const _0x7387a5=_0x3fbf3b;let {count:_0x5c102a}=_0x168c8b;return(0x0,c['jsxs'])(_0x7387a5(0xfc),{'className':'univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','children':[(0x0,c['jsx'])(_0x7387a5(0x118),{'className':_0x7387a5(0x221),'children':(0x0,i['useDependency'])(t['LocaleService'])['t'](_0x7387a5(0xe6),''+_0x5c102a)}),(0x0,c[_0x7387a5(0x212)])(X,{})]});}function me(){const _0x13e91c=_0x3fbf3b;let _0x50c58b=(0x0,i[_0x13e91c(0x176)])(q),_0xf992d4=(0x0,i[_0x13e91c(0x176)])(t[_0x13e91c(0x260)]);function _0x55ec6c(){const _0xa03429=_0x13e91c;_0x50c58b[_0xa03429(0x194)]();}return(0x0,c['jsx'])(Y,{'onClick':_0x55ec6c,'children':_0xf992d4['t'](_0x13e91c(0x1c6))});}function he(){const _0x41fbd3=_0x3fbf3b;let {count:_0x520b60,done:_0x2d769d}=(0x0,i[_0x41fbd3(0x14c)])((0x0,i['useDependency'])(q)[_0x41fbd3(0x187)]),[_0x58c379,_0x48eace]=(0x0,a[_0x41fbd3(0x178)])(_0x520b60>0x0?_0x2d769d/_0x520b60:0x0);return(0x0,a['useEffect'])(()=>{_0x48eace(_0x520b60>0x0?_0x2d769d/_0x520b60:0x0);},[_0x520b60,_0x2d769d]),(0x0,c['jsx'])('div',{'className':'univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','children':(0x0,c[_0x41fbd3(0x212)])(_0x41fbd3(0xfc),{'className':_0x41fbd3(0x148),'style':{'width':Math[_0x41fbd3(0x188)](_0x58c379*0x64)+'%'}})});}function ge(){const _0x443661=_0x3fbf3b;return(0x0,c[_0x443661(0x164)])(_0x443661(0xfc),{'className':_0x443661(0x111),'children':[(0x0,c[_0x443661(0x212)])('span',{'className':'univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i['useDependency'])(t['LocaleService'])['t']('exchange-client.wait')}),(0x0,c[_0x443661(0x212)])(_0x443661(0xfc),{'className':_0x443661(0x1ad),'children':(0x0,c['jsx'])(he,{})}),(0x0,c[_0x443661(0x212)])(me,{})]});}const _e={0x1:(0x0,c[_0x3fbf3b(0x212)])(r[_0x3fbf3b(0x1d1)],{'className':_0x3fbf3b(0xfd)}),0x0:(0x0,c[_0x3fbf3b(0x212)])(r['ClockIcon'],{'className':'univer-text-blue-500'}),0x2:(0x0,c[_0x3fbf3b(0x212)])(r[_0x3fbf3b(0x177)],{'className':_0x3fbf3b(0x1f5)})};function ve(){const _0x4df08a=_0x3fbf3b;let [_0x229b63,_0x4feb5a]=(0x0,a['useState'])(0x0),[_0x44f224,_0x2c7738]=(0x0,a['useState'])(!0x1),[_0x226f5e,_0x510a3f]=(0x0,a['useState'])([]),_0xcd82e8=(0x0,i[_0x4df08a(0x176)])(y),_0x133cb6=(0x0,i[_0x4df08a(0x176)])(t['LocaleService']);(0x0,a[_0x4df08a(0xf4)])(()=>{const _0x6d2ee4=_0x4df08a;let _0x4a86f4=_0xcd82e8[_0x6d2ee4(0x192)]['subscribe'](_0x5df444=>{_0x2c7738(_0x5df444);}),_0x5eca68=_0xcd82e8[_0x6d2ee4(0x17d)][_0x6d2ee4(0x1d3)](_0x571023=>{_0x510a3f(_0x571023);}),_0xd9856f=_0xcd82e8[_0x6d2ee4(0x185)][_0x6d2ee4(0x1d3)](_0x149f9d=>{_0x4feb5a(_0x149f9d);});return()=>{const _0x47bd91=_0x6d2ee4;_0x4a86f4[_0x47bd91(0x110)](),_0x5eca68[_0x47bd91(0x110)](),_0xd9856f[_0x47bd91(0x110)]();};},[]);function _0x51befa(){_0x2c7738(!0x1);}function _0x2a95b6(_0x4be56f){const _0x5da764=_0x4df08a;switch(_0x4be56f){case 0x1:return _0x133cb6['t'](_0x5da764(0x1f1));case 0x0:return _0x133cb6['t'](_0x5da764(0x204));case 0x2:return _0x133cb6['t']('exchange-client.unknownMistake');default:return'';}}return _0x44f224&&(0x0,c[_0x4df08a(0x164)])(_0x4df08a(0xfc),{'className':_0x4df08a(0x11e),'children':[(0x0,c[_0x4df08a(0x164)])(_0x4df08a(0xfc),{'className':_0x4df08a(0x21b),'children':[(0x0,c[_0x4df08a(0x164)])(_0x4df08a(0x118),{'className':_0x4df08a(0x1ac),'children':[(0x0,c['jsx'])(_0x4df08a(0x118),{'className':'univer-h-6\x20univer-text-2xl','children':_e[_0x229b63]}),(0x0,c['jsx'])(_0x4df08a(0x118),{'className':_0x4df08a(0x23f),'children':_0x2a95b6(_0x229b63)})]}),(0x0,c[_0x4df08a(0x212)])('span',{'className':_0x4df08a(0x15e),'onClick':_0x51befa,'children':(0x0,c['jsx'])(r[_0x4df08a(0x1f3)],{})})]}),(0x0,c['jsxs'])(_0x4df08a(0xfc),{'children':[_0x229b63===0x0&&(0x0,c[_0x4df08a(0x212)])(ge,{}),_0x229b63===0x2&&(0x0,c[_0x4df08a(0x212)])(pe,{}),_0x226f5e[_0x4df08a(0x16d)]>0x0&&(0x0,c['jsx'])(ne,{'list':_0x226f5e}),_0x229b63===0x1&&(0x0,c[_0x4df08a(0x212)])(Z,{'count':_0x226f5e[_0x4df08a(0x16d)]})]})]});}function ye(){return(0x0,c['jsx'])(ve,{});}let Q=class extends t['Disposable']{constructor(_0x301852,_0x1c1a82,_0xd498ae){const _0x591d33=_0x3fbf3b;super(),this[_0x591d33(0x216)]=_0x301852,this[_0x591d33(0x242)]=_0x1c1a82,this[_0x591d33(0x13e)]=_0xd498ae,this[_0x591d33(0x150)](),this['_registerComponents']();}[_0x3fbf3b(0x150)](){const _0x13e33f=_0x3fbf3b;this[_0x13e33f(0x142)](this[_0x13e33f(0x13e)][_0x13e33f(0x145)]({'DirectExportIcon':r['DirectExportIcon']}));}[_0x3fbf3b(0x223)](){const _0x450bbd=_0x3fbf3b;this[_0x450bbd(0x142)](this['_uiPartsService'][_0x450bbd(0x237)](i['BuiltInUIPart'][_0x450bbd(0x169)],()=>(0x0,i[_0x450bbd(0x183)])(ye,this[_0x450bbd(0x216)])));}};Q=N([M(0x0,(0x0,t[_0x3fbf3b(0xf8)])(t[_0x3fbf3b(0x1da)])),M(0x1,i['IUIPartsService']),M(0x2,(0x0,t[_0x3fbf3b(0xf8)])(i[_0x3fbf3b(0x166)]))],Q);let $=class extends t[_0x3fbf3b(0x196)]{constructor(_0x155d26=h,_0x407c23,_0x47fd48){const _0x832984=_0x3fbf3b;super(),this[_0x832984(0x1b3)]=_0x155d26,this[_0x832984(0x216)]=_0x407c23,this[_0x832984(0x1c8)]=_0x47fd48;let {..._0x146d2e}=(0x0,t[_0x832984(0x210)])({},h,this[_0x832984(0x1b3)]);this['_configService'][_0x832984(0x14d)](m,_0x146d2e);}['onStarting'](){const _0x2141d3=_0x3fbf3b;(0x0,t[_0x2141d3(0x14f)])(this[_0x2141d3(0x216)],[[Q],[q,{'useClass':J}],[G,{'useClass':K}],[P,{'useClass':F}],[y,{'useClass':te}]]);}['onReady'](){const _0x3e9d75=_0x3fbf3b;(0x0,t[_0x3e9d75(0x1bf)])(this[_0x3e9d75(0x216)],[[Q],[q]]);}};v($,_0x3fbf3b(0x165),'UNIVER_EXCHANGE_CLIENT_PLUGIN'),v($,_0x3fbf3b(0x170),f),v($,_0x3fbf3b(0x1f8),p),$=N([(0x0,t['DependentOn'])(n[_0x3fbf3b(0x104)],e[_0x3fbf3b(0x108)]),M(0x1,(0x0,t[_0x3fbf3b(0xf8)])(t[_0x3fbf3b(0x1da)])),M(0x2,t['IConfigService'])],$),exports[_0x3fbf3b(0x1e2)]=q,exports[_0x3fbf3b(0x19a)]=G,Object[_0x3fbf3b(0x1b2)](exports,'UniverExchangeClientPlugin',{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x3fbf3b(0x171)]=D;
|
|
1
|
+
const _0x379674=_0x4e7e;(function(_0x45c918,_0x5d2239){const _0x34516d=_0x4e7e,_0x2e3e6c=_0x45c918();while(!![]){try{const _0x4c5934=-parseInt(_0x34516d(0x28f))/0x1*(parseInt(_0x34516d(0x264))/0x2)+parseInt(_0x34516d(0x24f))/0x3+parseInt(_0x34516d(0x2b5))/0x4+-parseInt(_0x34516d(0x20d))/0x5*(-parseInt(_0x34516d(0x27c))/0x6)+-parseInt(_0x34516d(0x266))/0x7+-parseInt(_0x34516d(0x312))/0x8+-parseInt(_0x34516d(0x214))/0x9;if(_0x4c5934===_0x5d2239)break;else _0x2e3e6c['push'](_0x2e3e6c['shift']());}catch(_0x1fc7d4){_0x2e3e6c['push'](_0x2e3e6c['shift']());}}}(_0xb3dc,0x28c16),Object['defineProperty'](exports,Symbol[_0x379674(0x28e)],{'value':_0x379674(0x2cf)}));let e=require('@univerjs-pro/license'),t=require('@univerjs/core'),n=require('@univerjs/network'),r=require('@univerjs/icons'),i=require('@univerjs/ui'),a=require('rxjs'),o=require('@univerjs/design'),s=require('react/jsx-runtime'),c=require('@univerjs/protocol'),l=require('@univerjs-pro/collaboration'),u=require('fflate');var d=_0x379674(0x2cd),ee=_0x379674(0x1ac);const f=_0x379674(0x211),p={};function m(_0x2da062,_0x30e80a){return function(_0x4e31ef,_0x5532ba){_0x30e80a(_0x4e31ef,_0x5532ba,_0x2da062);};}function h(_0x2c6af5,_0x3f97a4,_0x48139a,_0x443710){const _0x2b503d=_0x379674;var _0x50fb0d=arguments[_0x2b503d(0x269)],_0x8f2fe1=_0x50fb0d<0x3?_0x3f97a4:_0x443710===null?_0x443710=Object[_0x2b503d(0x1a8)](_0x3f97a4,_0x48139a):_0x443710,_0x39989c;if(typeof Reflect==_0x2b503d(0x22a)&&typeof Reflect[_0x2b503d(0x1c2)]==_0x2b503d(0x1d9))_0x8f2fe1=Reflect[_0x2b503d(0x1c2)](_0x2c6af5,_0x3f97a4,_0x48139a,_0x443710);else{for(var _0x5ee2ce=_0x2c6af5[_0x2b503d(0x269)]-0x1;_0x5ee2ce>=0x0;_0x5ee2ce--)(_0x39989c=_0x2c6af5[_0x5ee2ce])&&(_0x8f2fe1=(_0x50fb0d<0x3?_0x39989c(_0x8f2fe1):_0x50fb0d>0x3?_0x39989c(_0x3f97a4,_0x48139a,_0x8f2fe1):_0x39989c(_0x3f97a4,_0x48139a))||_0x8f2fe1);}return _0x50fb0d>0x3&&_0x8f2fe1&&Object['defineProperty'](_0x3f97a4,_0x48139a,_0x8f2fe1),_0x8f2fe1;}let g=class extends t[_0x379674(0x2f5)]{constructor(_0x121e07){const _0x7e0996=_0x379674;super(),this[_0x7e0996(0x21c)]=_0x121e07,this[_0x7e0996(0x22f)]();}[_0x379674(0x22f)](){const _0x1ea97a=_0x379674;this[_0x1ea97a(0x262)](this[_0x1ea97a(0x21c)][_0x1ea97a(0x2a2)]({'DirectExportIcon':r[_0x1ea97a(0x2f7)]}));}};g=h([m(0x0,(0x0,t[_0x379674(0x25d)])(i[_0x379674(0x322)]))],g);function _(_0x21dd06){'@babel/helpers - typeof';const _0x40ca18=_0x379674;return _=typeof Symbol=='function'&&typeof Symbol[_0x40ca18(0x304)]==_0x40ca18(0x1a0)?function(_0x4df327){return typeof _0x4df327;}:function(_0x3f321d){const _0x185eba=_0x40ca18;return _0x3f321d&&typeof Symbol==_0x185eba(0x1d9)&&_0x3f321d[_0x185eba(0x283)]===Symbol&&_0x3f321d!==Symbol[_0x185eba(0x285)]?_0x185eba(0x1a0):typeof _0x3f321d;},_(_0x21dd06);}function te(_0x1ae17c,_0xb5ebbb){const _0x2b32b8=_0x379674;if(_(_0x1ae17c)!=_0x2b32b8(0x22a)||!_0x1ae17c)return _0x1ae17c;var _0x30e877=_0x1ae17c[Symbol[_0x2b32b8(0x2bb)]];if(_0x30e877!==void 0x0){var _0x553024=_0x30e877[_0x2b32b8(0x1b0)](_0x1ae17c,_0xb5ebbb||'default');if(_(_0x553024)!='object')return _0x553024;throw TypeError(_0x2b32b8(0x2d9));}return(_0xb5ebbb===_0x2b32b8(0x2f6)?String:Number)(_0x1ae17c);}function ne(_0x44cdd6){var _0x1f2ec2=te(_0x44cdd6,'string');return _(_0x1f2ec2)=='symbol'?_0x1f2ec2:_0x1f2ec2+'';}function v(_0x1448ea,_0x19a249,_0x566e98){const _0x41bb52=_0x379674;return(_0x19a249=ne(_0x19a249))in _0x1448ea?Object[_0x41bb52(0x276)](_0x1448ea,_0x19a249,{'value':_0x566e98,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1448ea[_0x19a249]=_0x566e98,_0x1448ea;}const y=(0x0,t[_0x379674(0x2eb)])(_0x379674(0x2c4));var b=class extends t['Disposable']{constructor(){const _0x5e51ff=_0x379674;super(),v(this,'_visible$',new a['Subject']()),v(this,_0x5e51ff(0x1ef),new a[(_0x5e51ff(0x324))]()),v(this,_0x5e51ff(0x257),new a[(_0x5e51ff(0x324))]()),v(this,_0x5e51ff(0x2f2),this[_0x5e51ff(0x1e4)]['asObservable']()),v(this,'state$',this[_0x5e51ff(0x1ef)][_0x5e51ff(0x263)]()),v(this,'list$',this[_0x5e51ff(0x257)][_0x5e51ff(0x263)]()),v(this,_0x5e51ff(0x219),[]);}[_0x379674(0x2b2)](){const _0x2c37ab=_0x379674;super['dispose'](),this[_0x2c37ab(0x1e4)][_0x2c37ab(0x326)](),this['_state$']['complete'](),this['_list$'][_0x2c37ab(0x326)]();}[_0x379674(0x32b)](){const _0x26ebe9=_0x379674;this[_0x26ebe9(0x1e4)][_0x26ebe9(0x1bb)](!0x0);}['hide'](){const _0x5b72b4=_0x379674;this['_visible$'][_0x5b72b4(0x1bb)](!0x1);}[_0x379674(0x1c3)](_0x32514e){const _0x42e788=_0x379674;this[_0x42e788(0x1ef)][_0x42e788(0x1bb)](_0x32514e);}[_0x379674(0x277)](_0x5b54e6){const _0x45197c=_0x379674;this[_0x45197c(0x219)][_0x45197c(0x299)](_0x5b54e6),this['_list$']['next'](this[_0x45197c(0x219)]);}};function re(_0x18661a){const _0x23716d=_0x379674;let {list:_0x5e9cd3}=_0x18661a;function _0x559511(_0x510896){const _0x181c52=_0x4e7e;switch(_0x510896){case 0x1:return(0x0,s[_0x181c52(0x1f0)])(r['DocsMultiIcon'],{});case 0x2:return(0x0,s['jsx'])(r[_0x181c52(0x212)],{});case 0x3:return(0x0,s[_0x181c52(0x1f0)])(r[_0x181c52(0x2e9)],{});default:return null;}}return(0x0,s['jsx'])(_0x23716d(0x221),{'className':(0x0,o[_0x23716d(0x204)])('univer-mt-5\x20univer-max-h-72\x20univer-overflow-y-auto\x20univer-overflow-x-hidden',o[_0x23716d(0x1dc)]),'children':(0x0,s['jsx'])('ul',{'className':'univer-m-0\x20univer-flex\x20univer-list-none\x20univer-flex-col\x20univer-gap-2\x20univer-p-0','children':_0x5e9cd3[_0x23716d(0x2f0)]((_0x411172,_0x75091b)=>(0x0,s[_0x23716d(0x1f0)])('li',{'children':(0x0,s['jsxs'])('a',{'className':_0x23716d(0x201),'href':_0x411172[_0x23716d(0x21a)],'target':'_blank','rel':_0x23716d(0x26e),'children':[(0x0,s[_0x23716d(0x2c0)])('span',{'className':_0x23716d(0x1d8),'children':[(0x0,s[_0x23716d(0x1f0)])(_0x23716d(0x1df),{'className':_0x23716d(0x23d),'children':_0x559511(_0x411172[_0x23716d(0x2ef)])}),(0x0,s['jsx'])(o[_0x23716d(0x24b)],{'showIfEllipsis':!0x0,'title':_0x411172[_0x23716d(0x22b)],'asChild':!0x0,'children':(0x0,s[_0x23716d(0x1f0)])(_0x23716d(0x1df),{'className':_0x23716d(0x1cf),'children':_0x411172[_0x23716d(0x22b)]})})]}),(0x0,s[_0x23716d(0x1f0)])(_0x23716d(0x1df),{'className':_0x23716d(0x2d2),'children':(0x0,s[_0x23716d(0x1f0)])(r[_0x23716d(0x1e9)],{})})]})},_0x75091b))})});}function _0xb3dc(){const _0x2599cf=['Error\x20getting\x20file\x20name\x20from\x20URL:','b64EncodeUnicode','url','_uploadNotificationService','accept','xlsx','outputType','445224yaOdWZ','text','docx','HTTPService','_exportBySnapshot','UNRECOGNIZED','_getTaskURL','univer-text-green-500','currentTarget','application/vnd.ms-excel.sheet.macroEnabled.12','connectInjector','forEach','exchange-client.fileTypeError','headers','_getUnitName','exportDOCXBySnapshot','IconManager','originalMeta','Subject','UNDEFINED','complete','.json','application/vnd.openxmlformats-officedocument.spreadsheetml.sheet','xlsm','_refreshSlide','show','status','exportPPTXBySnapshot','symbol','parse','getSnapshot','doc','importPPTXToSnapshot','upload\x20request\x20failed','exportXLSXBySnapshot','_fileTypeError','getOwnPropertyDescriptor','_sheetBlockCache','_buildProtocolErrorMessage',':\x20HTTP\x20','1.0.0-alpha.4','buffer','pluginName','univer-text-sm\x20univer-text-gray-500','call','_uiPartsService','shift','import','Injector','_showNetworkError','_requestService','_getImportURL','univer-pl-2\x20univer-pr-4','_configService','UniverInstanceType','next','interrupt','&flate=','statusText','isArray','exchange-client.internalError','INTERNAL_ERROR','decorate','updateState','change','trim','saveChangeset','_getIgnoreTableExport','append','_uploadTaskNotDone','sheetBlocks','_univerInstanceService','_refresh','IExchangeOperateService','UNIVER_PROJECT','univer-ml-1\x20univer-truncate\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','getSheetBlocksFromSnapshot','\x20-\x20','add','IConfigService','_getMinSheetColumnCount','disposeUnit','univer-text-red-500','filter','univer-flex\x20univer-w-[calc(100%-48px)]\x20univer-items-center','function','setTaskInterrupted','progress$','scrollbarClassName','location','_config','span','catch','_getDownloadEndpointURL','floor','hide','_visible$','/universer-api/exchange/task/{taskID}','Warning','UNIVER_BASE','_getUnitID','ShareRangeIcon','exportXLSXByUnitId','exchange-client.downloadSuccess','unit','univer-text-blue-500','UNIVER_UNKNOWN','_state$','jsx','exchange-client.cancel','ErrorIcon','_doneUploadTaskCount','UNIVER_EXCHANGE_CLIENT_PLUGIN','_registerUIParts','maxTimeoutTime','registerComponent','Info','_getMinSheetRowCount','saveUnit','jsonID','none','_progress$','_messageService','univer-ml-1.5\x20univer-font-semibold\x20univer-text-gray-900\x20dark:!univer-text-white','post','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','/universer-api/stream/file/upload','toDisposable','clsx','getUnitType','minSheetRowCount','_showUploadMessage','CONNECTOR_DATA_TOO_LARGE','_getUnitDocJson','transformSnapshotJsonToWorkbookData','resolve','IMessageService','181045eRZxGM','exportPPTXByUnitId','getSheetBlock','split','exchange-client.config','SheetsMultiIcon','exchange-client.uploading','64935JkWkpi','getUnitId','files','createObjectURL','application/json','_list','link','_extractErrorDetail','_iconManager','signUrl','UNIVER_DOC','&source=','display','div','exportDOCXByUnitId','Error\x20fetching\x20file\x20from\x20URL:','_upload','options','deflateSync','exchange-client.downloading','saveSnapshot','resolveWithBasePath','object','name','importFileToJson','searchParams','merge','_registerIcons','univer-mx-0\x20univer-mb-3\x20univer-mt-4\x20univer-h-1.5\x20univer-w-[324px]\x20univer-rounded-lg\x20univer-bg-gray-200','_logService','pop','b64DecodeUnicode','_addDoneTask','UniverNetworkPlugin','_addTotalCount','LocaleService','toLowerCase','multiple','replace','HTTPResponseError','decode','univer-flex\x20univer-h-5\x20univer-text-xl','_getUnitNameByType','Failed\x20to\x20get\x20fileID\x20from\x20task','_getUploadFileURL','FileId','UNIVER_PDF','blockID','Error','state$','No\x20file\x20selected','_showDownloadMessage','univer-flex','copyFileMeta','transformWorkbookDataToSnapshotJson','Tooltip','pptx','_resourceLoaderService','has','554115MDFuEP','_getUnitIDSlide','title','UNIVER_SLIDE','getUnitOnRev','_localeService','Failed\x20to\x20get\x20jsonID\x20from\x20task','updateSnapshot','_list$','ErrorCode','appendChild','upload','_emitProgress','importXLSXToUnitId','Inject','rev','transformSnapshotToWorkbookData','revokeObjectURL','sign\x20url\x20error','disposeWithMe','asObservable','2vFPvwH','Failed\x20to\x20parse\x20json','793786EwgxgG','importDOCXToSnapshot','_completeProgress','length','exchange-client.uploadSuccess','download','packageName','registerDependencies','noreferrer','success','transformSnapshotToSlideData','interruptImportTask','_importToJson','_getUnitSlideJson','exchange-client.uploadSuccessTip','keys','defineProperty','pushLink','exchange-client.wait','useDependency','snapshot','requestState$','36DjxQbe','_importTaskId','some','transformWorkbookDataToSnapshot','_injector','_importFileToUnitId','_exchangeService','constructor','set','prototype','useObservable','body','_totalUploadTaskCount','?size=','_httpService','_taskInterrupted','_import','createUnit','toStringTag','142187sRpGsn','downloadFile','UniverExchangeClientPlugin','application/pdf','code','exchange-client.tooLarge','exchange-client.networkError','_signUrl','number','workbook','unshift','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','fetchMissingChangesets','Get\x20outputType\x20error','IUniverInstanceService','MessageType','slide','application/vnd.openxmlformats-officedocument.spreadsheetml.template','textEncoder','register','application/vnd.openxmlformats-officedocument.wordprocessingml.document','stringify','/universer-api/exchange/{type}/import','getTaskServerUrl','textDecoder','ILogService','clear','univer-mt-3\x20univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-2\x20univer-pr-1','getConfig','univer-h-1.5\x20univer-rounded-lg\x20univer-bg-primary-600\x20univer-transition-[width]\x20univer-duration-500','export','file','sheets','_buildHttpErrorMessage','unitID','dispose','uploadFileToUnitId','getCurrentUnitOfType','333712WvpGXM','export\x20error','data','import\x20error','BuiltInUIPart','exchange-client.uploadAgain','toPrimitive','Failed\x20to\x20transform\x20snapshot\x20to\x20string','_export','error','_getSignURL','jsxs','removeChild','_getUnitIDDoc','block\x20is\x20required','univer-pro.exchange-client.upload-notification.service','Failed\x20to\x20get\x20text\x20from\x20url','list$','univer-mt-5\x20univer-flex\x20univer-flex-col','values','Content-Type','minSheetColumnCount','getTextFromUrl','join','@univerjs-pro/exchange-client','application/octet-stream','Module','importFileToUnitId','href','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','UNIVER_SHEET','taskID','transformSlideDataToSnapshot','Method\x20not\x20implemented.','button','importFileToUnitIdByCurrentType','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','importXLSXToSnapshot','FileSource','click','touchDependencies','transformDocumentDataToSnapshot','{fileID}','_requestState$','get','importPPTXToUnitId','setConfig','ignoreTableExport','min','getDeserializedSheetBlock','importWorkbookDataToUnitId','CloseIcon','SlidesMultiIcon','univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','createIdentifier','_getUnitJson','file.','application/vnd.openxmlformats-officedocument.presentationml.presentation','type','map','_getDisableCellImageConversion','visible$','Success','_clearProgress','Disposable','string','DirectExportIcon','Failed\x20to\x20get\x20taskID\x20from\x20import\x20response','UniverLicensePlugin','getTask','fileID','clearTaskInterrupted','message','workbook.json','downloadEndpointUrl','registerLink','pending','_getExportURL','Plugin','iterator','xltx','_getLinkByUnitId','importServerUrl','{type}','univer-h-6\x20univer-text-2xl','disableCellImageConversion'];_0xb3dc=function(){return _0x2599cf;};return _0xb3dc();}const x=_0x379674(0x2a3),S=_0x379674(0x328),C=_0x379674(0x31b),w=_0x379674(0x2a0),T=_0x379674(0x2ee),E=_0x379674(0x292),D={[t[_0x379674(0x1ba)][_0x379674(0x1ee)]]:[''],[t[_0x379674(0x1ba)][_0x379674(0x21e)]]:[x],[t[_0x379674(0x1ba)][_0x379674(0x2d3)]]:[S,C,w],[t[_0x379674(0x1ba)][_0x379674(0x252)]]:[T],[t[_0x379674(0x1ba)][_0x379674(0x1e7)]]:[''],[t[_0x379674(0x1ba)]['UNIVER_BOARD']]:[''],[t[_0x379674(0x1ba)][_0x379674(0x1ce)]]:[''],[t['UniverInstanceType'][_0x379674(0x242)]]:[E],[t[_0x379674(0x1ba)][_0x379674(0x317)]]:['']},O={[x]:_0x379674(0x314),[S]:_0x379674(0x310),[C]:_0x379674(0x329),[w]:_0x379674(0x305),[T]:_0x379674(0x24c),[E]:'pdf'};function k(_0x19116,_0x2aa547,_0x29c656){const _0x2537ea=_0x379674;let _0x4be955=document['createElement']('a');_0x4be955[_0x2537ea(0x2d1)]=_0x19116,_0x4be955['style'][_0x2537ea(0x220)]=_0x2537ea(0x1fc),_0x4be955[_0x2537ea(0x26b)]=_0x2aa547+'.'+_0x29c656,document[_0x2537ea(0x287)][_0x2537ea(0x259)](_0x4be955),_0x4be955[_0x2537ea(0x2dc)](),document['body'][_0x2537ea(0x2c1)](_0x4be955);}function A(_0x396504,_0x4bbf23,_0x1bcda3){const _0x368cf6=_0x379674;let _0x16b6c7=URL[_0x368cf6(0x217)](_0x396504);k(_0x16b6c7,_0x4bbf23,_0x1bcda3),URL[_0x368cf6(0x260)](_0x16b6c7);}function j(_0x580b7b){const _0x3ec67d=_0x379674;let _0x22a2ac=_0x580b7b[_0x3ec67d(0x22b)]['split']('.')[_0x3ec67d(0x232)]();if(!_0x22a2ac)return t[_0x3ec67d(0x1ba)][_0x3ec67d(0x1ee)];let _0x2c1326=ie(),_0x538106=t[_0x3ec67d(0x1ba)][_0x3ec67d(0x1ee)];return _0x2c1326[_0x3ec67d(0x27e)](_0x3c2636=>ae(_0x22a2ac,_0x3c2636)?(_0x538106=_0x3c2636,!0x0):!0x1),_0x538106;}function ie(){const _0x3fe555=_0x379674;return Object[_0x3fe555(0x2c8)](t[_0x3fe555(0x1ba)])[_0x3fe555(0x1d7)](_0x42b330=>typeof _0x42b330==_0x3fe555(0x297));}function ae(_0x1427b4,_0x3492fb){const _0x5581f6=_0x379674;var _0x3364db;return((_0x3364db=D[_0x3492fb])==null?[]:_0x3364db)[_0x5581f6(0x2f0)](_0x217442=>(O[_0x217442]||'')[_0x5581f6(0x238)]())['includes'](_0x1427b4[_0x5581f6(0x238)]());}function M(_0x59121c,_0x1e1ff2=!0x1){const _0x2d7791=_0x379674;let _0x52e210=_0x59121c[_0x2d7791(0x2f0)](_0x367d09=>{var _0x341cd8;return(_0x341cd8=D[_0x367d09])==null?[]:_0x341cd8;})[_0x2d7791(0x2cc)](',');return new Promise((_0x5eee98,_0x3d381e)=>{const _0x27ac6c=_0x2d7791;let _0x2b0dc4=document['createElement']('input');_0x2b0dc4[_0x27ac6c(0x2ef)]='file',_0x2b0dc4[_0x27ac6c(0x30f)]=_0x52e210,_0x2b0dc4[_0x27ac6c(0x239)]=_0x1e1ff2,_0x2b0dc4['addEventListener'](_0x27ac6c(0x1c4),_0x344068=>{const _0x1c8c08=_0x27ac6c;let _0x5d43f=_0x344068[_0x1c8c08(0x31a)];if(!_0x5d43f[_0x1c8c08(0x216)]||_0x5d43f[_0x1c8c08(0x216)]['length']===0x0)throw _0x3d381e(null),Error(_0x1c8c08(0x246));_0x5eee98(_0x5d43f[_0x1c8c08(0x216)]);}),_0x2b0dc4[_0x27ac6c(0x2dc)]();});}async function N(_0x3d90c6,_0x628b8c){const _0x374fcd=_0x379674;try{var _0x492a98,_0x46fe0a,_0x2ed78f;let _0x79ab0a=await _0x628b8c[_0x374fcd(0x2e1)](_0x3d90c6,{'responseType':'blob'}),_0x18015d=_0x79ab0a[_0x374fcd(0x287)],_0x245116=(_0x492a98=(_0x46fe0a=_0x79ab0a[_0x374fcd(0x31f)][_0x374fcd(0x2e1)](_0x374fcd(0x2c9)))==null?void 0x0:_0x46fe0a['join'](',\x20'))==null?_0x374fcd(0x2ce):_0x492a98,_0x1fe5de=_0x374fcd(0x2ed)+(O[_0x245116]||_0x374fcd(0x310)),_0x21b517=(_0x2ed78f=_0x79ab0a[_0x374fcd(0x31f)][_0x374fcd(0x2e1)]('content-disposition'))==null?void 0x0:_0x2ed78f['join'](',\x20');if(_0x21b517){let _0x10d325=_0x21b517['match'](/filename=(.+)/);_0x10d325&&_0x10d325[0x1]&&(_0x1fe5de=_0x10d325[0x1]);}else _0x1fe5de=oe(_0x3d90c6)||_0x1fe5de;return new File([_0x18015d],_0x1fe5de,{'type':_0x245116});}catch(_0x1eeba6){console['error'](_0x374fcd(0x223),_0x1eeba6);return;}}function oe(_0x2eda75){const _0x49095d=_0x379674;try{return new URL(_0x2eda75)['pathname'][_0x49095d(0x210)]('/')[_0x49095d(0x232)]();}catch(_0x15fed4){console[_0x49095d(0x2be)](_0x49095d(0x30b),_0x15fed4);return;}}function se(_0x40023a){const _0x13726d=_0x379674;let _0x21a1b1=new Blob([_0x40023a[_0x13726d(0x1ad)]],{'type':'application/json'});return new File([_0x21a1b1],'file.json');}function P(_0x4b9aa5,_0x5d1df2){const _0x225f88=_0x379674;return _0x4b9aa5[_0x225f88(0x23a)](_0x225f88(0x308),_0x5d1df2);}function ce(_0x3cd4be,_0x153656){const _0x397330=_0x379674;return _0x3cd4be[_0x397330(0x23a)]('{taskID}',_0x153656);}function le(_0x51fa80,_0x7d2766){const _0xd578dc=_0x379674;return _0x51fa80[_0xd578dc(0x23a)](_0xd578dc(0x2df),_0x7d2766);}const F=(0x0,t[_0x379674(0x2eb)])('univer-pro.exchange-client.request.service');let I=class{constructor(_0x422d28,_0x3cdf2a){const _0x2bdce7=_0x379674;this[_0x2bdce7(0x1b9)]=_0x422d28,this[_0x2bdce7(0x28a)]=_0x3cdf2a,v(this,_0x2bdce7(0x28b),new Set());}['dispose'](){}[_0x379674(0x1da)](_0x5292d8){const _0x52c844=_0x379674;this['_taskInterrupted'][_0x52c844(0x1d2)](_0x5292d8);}[_0x379674(0x2fc)](){const _0x5c27c0=_0x379674;this[_0x5c27c0(0x28b)][_0x5c27c0(0x2a9)]();}async[_0x379674(0x25a)](_0x1ed255,_0x1b1f3a=0x0,_0x3d2561=!0x1){const _0x1231d4=_0x379674;if(typeof _0x1ed255==_0x1231d4(0x2f6)){let _0x261640=await N(_0x1ed255,this['_httpService']);if(!_0x261640)throw Error('upload\x20request\x20failed:\x20failed\x20to\x20read\x20source\x20file\x20from\x20url');_0x1ed255=_0x261640;}_0x1b1f3a=_0x1b1f3a||_0x1ed255['size'];let _0x20c2a8=new FormData();_0x20c2a8[_0x1231d4(0x1c8)](_0x1231d4(0x2ae),_0x1ed255);try{let _0x44803d=this[_0x1231d4(0x240)]()+_0x1231d4(0x289)+_0x1b1f3a+_0x1231d4(0x21f)+c[_0x1231d4(0x2db)]['HttpImport']+_0x1231d4(0x1bd)+_0x3d2561,_0x40a6e2={'body':_0x20c2a8},_0x612465=(await this[_0x1231d4(0x28a)][_0x1231d4(0x200)](_0x44803d,_0x40a6e2))[_0x1231d4(0x287)];if(_0x612465[_0x1231d4(0x2be)]&&_0x612465[_0x1231d4(0x2be)][_0x1231d4(0x293)]!==c[_0x1231d4(0x258)]['OK'])throw Error(this[_0x1231d4(0x1aa)](_0x1231d4(0x1a5),_0x612465['error']));return _0x612465;}catch(_0x42acbe){throw _0x42acbe instanceof Error?_0x42acbe:Error(this['_buildHttpErrorMessage']('upload\x20request\x20failed',_0x42acbe));}}async[_0x379674(0x1b3)](_0x1e5a00){const _0x3ad55d=_0x379674;let {fileID:_0x24c0b1,type:_0x365458,outputType:_0x346dee,minSheetColumnCount:_0x5c8e53,minSheetRowCount:_0x383e16}=_0x1e5a00;try{let _0x46278d=P(this[_0x3ad55d(0x1b7)](),''+_0x365458),_0x2f26e4={'body':{'fileID':_0x24c0b1,'outputType':_0x346dee,'minSheetColumnCount':_0x5c8e53,'minSheetRowCount':_0x383e16}},_0x3bfc83=(await this[_0x3ad55d(0x28a)][_0x3ad55d(0x200)](_0x46278d,_0x2f26e4))[_0x3ad55d(0x287)];return _0x3bfc83[_0x3ad55d(0x2be)]&&_0x3bfc83[_0x3ad55d(0x2be)]['code']!==c[_0x3ad55d(0x258)]['OK']?void 0x0:_0x3bfc83;}catch{return;}}async['export'](_0x8436c0){const _0x193338=_0x379674;let {unitID:_0x495329,jsonID:_0x466c3c,type:_0x35d964,useImageUrl:_0x521600,ignoreTableExport:_0x270aeb}=_0x8436c0;try{let _0x5ced81=P(this[_0x193338(0x302)](),''+_0x35d964),_0x38198d={'body':{'unitID':_0x495329,'jsonID':_0x466c3c,'type':_0x35d964,'useImageUrl':_0x521600,'ignoreTableExport':_0x270aeb}},_0x439181=(await this[_0x193338(0x28a)][_0x193338(0x200)](_0x5ced81,_0x38198d))[_0x193338(0x287)];return _0x439181['error']&&_0x439181['error'][_0x193338(0x293)]!==c[_0x193338(0x258)]['OK']?void 0x0:_0x439181;}catch{return;}}async[_0x379674(0x2fa)](_0xdb135){return new Promise((_0x4a814b,_0x2f5d02)=>{const _0x358109=_0x4e7e;try{let _0x4129f7=0x0,_0xc8aa1b=ce(this[_0x358109(0x318)](),''+_0xdb135),_0x5203e3=this['_getMaxPollingTime'](),_0x52586f=async()=>{const _0x2a9ec4=_0x358109;if(this[_0x2a9ec4(0x28b)][_0x2a9ec4(0x24e)](_0xdb135))return;let _0x24db5e=(await this[_0x2a9ec4(0x28a)][_0x2a9ec4(0x2e1)](_0xc8aa1b))['body'];if(_0x24db5e[_0x2a9ec4(0x2be)]&&_0x24db5e[_0x2a9ec4(0x2be)][_0x2a9ec4(0x293)]===c['ErrorCode']['OK']){if(_0x24db5e['status']==='done')_0x4a814b(_0x24db5e);else{if(_0x24db5e[_0x2a9ec4(0x19e)]===_0x2a9ec4(0x301)){let _0x428895=0x3e8;if(_0x4129f7>=_0x5203e3){_0x2f5d02(_0x24db5e);return;}else _0x4129f7>=0x7530&&(_0x428895=0x1388);_0x4129f7+=_0x428895,setTimeout(_0x52586f,_0x428895);}else _0x2f5d02(_0x24db5e);}}else _0x2f5d02(_0x24db5e);};_0x52586f();}catch(_0x497994){_0x2f5d02(_0x497994 instanceof Error?_0x497994:Error(String(_0x497994)));}});}async[_0x379674(0x21d)](_0x41c3dd){const _0x64df53=_0x379674;try{let _0x70d2e6=le(this[_0x64df53(0x2bf)](),''+_0x41c3dd);return(await this[_0x64df53(0x28a)]['get'](_0x70d2e6))[_0x64df53(0x287)];}catch{return;}}async[_0x379674(0x2cb)](_0x5a2274){const _0xf58bdb=_0x379674;try{return(await this[_0xf58bdb(0x28a)][_0xf58bdb(0x2e1)](_0x5a2274,{'responseType':_0xf58bdb(0x313)}))[_0xf58bdb(0x287)];}catch{return;}}[_0x379674(0x1aa)](_0x5bcb66,_0x1ee0a5){const _0x2d8341=_0x379674;let _0x12f66b=this[_0x2d8341(0x21b)](_0x1ee0a5);return _0x12f66b?_0x5bcb66+':\x20'+_0x12f66b:_0x5bcb66;}[_0x379674(0x2b0)](_0x3e2c82,_0x9d831b){const _0x1accbd=_0x379674;if(_0x9d831b instanceof n[_0x1accbd(0x23b)]){let _0x5709ff=typeof _0x9d831b[_0x1accbd(0x19e)]==_0x1accbd(0x297)?''+_0x9d831b[_0x1accbd(0x19e)]+(_0x9d831b[_0x1accbd(0x1be)]?'\x20'+_0x9d831b[_0x1accbd(0x1be)]:''):void 0x0,_0x466f56=this[_0x1accbd(0x21b)](_0x9d831b['error']);return _0x5709ff&&_0x466f56?_0x3e2c82+_0x1accbd(0x1ab)+_0x5709ff+_0x1accbd(0x1d1)+_0x466f56:_0x5709ff?_0x3e2c82+_0x1accbd(0x1ab)+_0x5709ff:_0x466f56?_0x3e2c82+':\x20'+_0x466f56:_0x3e2c82;}let _0x5b1e60=this[_0x1accbd(0x21b)](_0x9d831b);return _0x5b1e60?_0x3e2c82+':\x20'+_0x5b1e60:_0x3e2c82;}[_0x379674(0x21b)](_0x4cf6da){const _0x3fea81=_0x379674;if(typeof _0x4cf6da==_0x3fea81(0x2f6)){let _0x340669=_0x4cf6da['trim']();return _0x340669['length']>0x0?_0x340669:void 0x0;}if(_0x4cf6da instanceof Error)return this['_extractErrorDetail'](_0x4cf6da['message']);if(!_0x4cf6da||typeof _0x4cf6da!=_0x3fea81(0x22a)||Array[_0x3fea81(0x1bf)](_0x4cf6da))return;let _0x3b03e6=_0x4cf6da,_0x14addf=this['_extractErrorDetail'](_0x3b03e6[_0x3fea81(0x2fd)]);if(_0x14addf)return _0x14addf;if(_0x3b03e6[_0x3fea81(0x2be)]&&typeof _0x3b03e6[_0x3fea81(0x2be)]=='object'&&!Array[_0x3fea81(0x1bf)](_0x3b03e6[_0x3fea81(0x2be)])){let _0x40d74b=this[_0x3fea81(0x21b)](_0x3b03e6['error']);if(_0x40d74b)return _0x40d74b;}}[_0x379674(0x240)](){const _0x3b31b2=_0x379674;var _0x486213;let _0x10863e=this[_0x3b31b2(0x1b9)][_0x3b31b2(0x2ab)](f);return(_0x486213=_0x10863e==null?void 0x0:_0x10863e['uploadFileServerUrl'])==null?_0x3b31b2(0x202):_0x486213;}[_0x379674(0x1b7)](){const _0xcc1798=_0x379674;var _0x3e54fc;let _0x3d9a88=this['_configService'][_0xcc1798(0x2ab)](f);return(_0x3e54fc=_0x3d9a88==null?void 0x0:_0x3d9a88[_0xcc1798(0x307)])==null?_0xcc1798(0x2a5):_0x3e54fc;}[_0x379674(0x302)](){const _0x4d5aca=_0x379674;var _0x51f1ff;let _0x2099cd=this[_0x4d5aca(0x1b9)]['getConfig'](f);return(_0x51f1ff=_0x2099cd==null?void 0x0:_0x2099cd['exportServerUrl'])==null?'/universer-api/exchange/{type}/export':_0x51f1ff;}[_0x379674(0x318)](){const _0x1d48b4=_0x379674;var _0x373342;let _0x2722ad=this[_0x1d48b4(0x1b9)][_0x1d48b4(0x2ab)](f);return(_0x373342=_0x2722ad==null?void 0x0:_0x2722ad[_0x1d48b4(0x2a6)])==null?_0x1d48b4(0x1e5):_0x373342;}[_0x379674(0x2bf)](){const _0x4fb3e0=_0x379674;var _0x1e66e1;let _0x3966de=this['_configService'][_0x4fb3e0(0x2ab)](f);return(_0x1e66e1=_0x3966de==null?void 0x0:_0x3966de['signUrlServerUrl'])==null?'/universer-api/file/{fileID}/sign-url':_0x1e66e1;}['_getMaxPollingTime'](){const _0x2808b5=_0x379674;var _0x156d75;let _0x42559a=this[_0x2808b5(0x1b9)][_0x2808b5(0x2ab)](f);return(_0x156d75=_0x42559a==null?void 0x0:_0x42559a[_0x2808b5(0x1f6)])==null?0x1d4c0:_0x156d75;}};I=h([m(0x0,t[_0x379674(0x1d3)]),m(0x1,(0x0,t[_0x379674(0x25d)])(n['HTTPService']))],I);function L(_0x4a5bcd){const _0x284a73=_0x379674;let _0x4cd485=_0x4a5bcd[_0x284a73(0x298)];if(!_0x4cd485)return null;let _0x4c5948={};_0x4cd485[_0x284a73(0x2af)]&&Object[_0x284a73(0x275)](_0x4cd485['sheets'])['forEach'](_0x18817b=>{const _0x1cc770=_0x284a73;let _0x4e0b7b=_0x4cd485[_0x1cc770(0x2af)][_0x18817b];_0x4c5948[_0x18817b]={..._0x4e0b7b,'originalMeta':(0x0,l[_0x1cc770(0x30c)])(l[_0x1cc770(0x2a7)]['decode'](_0x4e0b7b[_0x1cc770(0x323)]))};});let _0x12ecd7=(0x0,l['b64EncodeUnicode'])(l[_0x284a73(0x2a7)][_0x284a73(0x23c)](_0x4cd485[_0x284a73(0x323)]));return{..._0x4a5bcd,'workbook':{..._0x4cd485,'originalMeta':_0x12ecd7,'sheets':_0x4c5948},'doc':{},'slide':void 0x0,'board':void 0x0};}function R(_0x5c6985){const _0x534ad6=_0x379674;let _0x66e4ef=_0x5c6985['doc'];if(!_0x66e4ef)return null;let _0x3d72e0=(0x0,l[_0x534ad6(0x30c)])(l[_0x534ad6(0x2a7)]['decode'](_0x66e4ef['originalMeta']));return{..._0x5c6985,'workbook':{},'doc':{..._0x66e4ef,'originalMeta':_0x3d72e0},'slide':void 0x0,'board':void 0x0};}function z(_0x425ec8){const _0x31dc04=_0x379674;var _0x338940;let _0x14171e=(_0x338940=_0x425ec8[_0x31dc04(0x29f)])==null?_0x425ec8[_0x31dc04(0x1a3)]:_0x338940;if(!_0x14171e)return null;let _0x339d8e=typeof _0x14171e[_0x31dc04(0x323)]=='string'?_0x14171e[_0x31dc04(0x323)]:(0x0,l[_0x31dc04(0x30c)])(l[_0x31dc04(0x2a7)][_0x31dc04(0x23c)](_0x14171e[_0x31dc04(0x323)]));return{..._0x425ec8,'workbook':{},'doc':{},'slide':{..._0x14171e,'originalMeta':_0x339d8e},'board':void 0x0};}function B(_0x345b81){const _0x19a6d0=_0x379674;let _0x36415f={};return _0x345b81[_0x19a6d0(0x31d)](_0x3c6771=>{const _0x10226b=_0x19a6d0;_0x36415f[_0x3c6771['id']]={..._0x3c6771,'data':(0x0,l['b64EncodeUnicode'])(l['textDecoder'][_0x10226b(0x23c)](_0x3c6771['data']))};}),_0x36415f;}async function V(_0x59676d){const _0x24673e=_0x379674;var _0x432861;let _0x2bef27={'metadata':void 0x0},_0x1b595d=_0x59676d['id'],_0x5c1d57=(_0x432861=_0x59676d['rev'])==null?0x0:_0x432861,_0x457c1f=new W(),{snapshot:_0x9fa01d}=await(0x0,l[_0x24673e(0x27f)])(_0x2bef27,_0x59676d,_0x1b595d,_0x5c1d57,_0x457c1f),_0x3986b7=await(0x0,l['getSheetBlocksFromSnapshot'])(_0x9fa01d,_0x457c1f),_0x3f0071=L(_0x9fa01d);if(!_0x3f0071)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x3f0071,'sheetBlocks':B(_0x3986b7)};}async function H(_0x37828a){const _0x5cf78f=_0x379674;var _0x457ecb;let _0x5c96cd={'metadata':void 0x0},_0x18cb12=_0x37828a['id'],{snapshot:_0x57f5b5}=await(0x0,l[_0x5cf78f(0x2de)])(_0x5c96cd,_0x37828a,_0x18cb12,(_0x457ecb=_0x37828a['rev'])==null?0x0:_0x457ecb,new W()),_0x184234=R(_0x57f5b5);if(!_0x184234)throw Error(_0x5cf78f(0x2bc));return{'snapshot':_0x184234,'sheetBlocks':{}};}async function U(_0x5515eb){const _0x152e09=_0x379674;var _0x571bfa;let _0x1bd708=_0x5515eb['id'],_0x5367fe=(_0x571bfa=_0x5515eb['rev'])==null?0x0:_0x571bfa,_0x2084b9=new W(),{snapshot:_0x58781c}=await(0x0,l[_0x152e09(0x2d5)])(_0x5515eb['resources'],_0x5515eb,_0x1bd708,_0x5367fe,_0x2084b9),_0x31f085=z(_0x58781c);if(!_0x31f085)throw Error('Failed\x20to\x20transform\x20snapshot\x20to\x20string');return{'snapshot':_0x31f085,'sheetBlocks':{}};}async function ue(_0x2811d9){const _0x457892=_0x379674;let _0x464148=_0x2811d9[_0x457892(0x27a)],_0x4be932=_0x2811d9[_0x457892(0x1ca)]||{};return await(0x0,l[_0x457892(0x25f)])(_0x464148,Object[_0x457892(0x275)](_0x4be932)[_0x457892(0x2f0)](_0x2a0ecd=>_0x4be932[_0x2a0ecd])['map'](_0x16cd9a=>({..._0x16cd9a,'data':_0x16cd9a[_0x457892(0x2b7)]?JSON[_0x457892(0x1a1)]((0x0,l[_0x457892(0x233)])(_0x16cd9a[_0x457892(0x2b7)])):void 0x0})));}function de(_0x6697e){const _0x47d2d3=_0x379674;let _0x2cd891=_0x6697e[_0x47d2d3(0x27a)];return(0x0,l['transformSnapshotToDocumentData'])(_0x2cd891);}function _0x4e7e(_0x28477b,_0x10fa9c){_0x28477b=_0x28477b-0x19e;const _0xb3dc21=_0xb3dc();let _0x4e7ed2=_0xb3dc21[_0x28477b];return _0x4e7ed2;}function fe(_0x1f4bc6){const _0x32d6be=_0x379674;let _0x42d344=_0x1f4bc6[_0x32d6be(0x27a)];return(0x0,l[_0x32d6be(0x270)])(_0x42d344);}var W=class{constructor(){const _0xc4c321=_0x379674;v(this,_0xc4c321(0x1a9),new Map());}[_0x379674(0x253)](){const _0x241e0b=_0x379674;return Promise[_0x241e0b(0x20b)]({'snapshot':{'unitID':'','type':t['UniverInstanceType'][_0x241e0b(0x2d3)],'rev':0x0,'workbook':void 0x0,'doc':void 0x0,'slide':void 0x0,'board':void 0x0},'changesets':[],'error':{'code':c[_0x241e0b(0x258)]['OK'],'message':''}});}[_0x379674(0x20f)](_0x407c39,_0x1f534d){const _0x36d897=_0x379674;let _0x4effb5=this[_0x36d897(0x1a9)]['get'](_0x1f534d[_0x36d897(0x243)]);return Promise['resolve']({'block':_0x4effb5,'error':{'code':c[_0x36d897(0x258)]['OK'],'message':''}});}[_0x379674(0x2e6)](_0x4f58a9,_0x1f6467){const _0x2c8464=_0x379674;let _0x213664=this[_0x2c8464(0x1a9)]['get'](_0x1f6467[_0x2c8464(0x243)]);return Promise[_0x2c8464(0x20b)]({'block':_0x213664===void 0x0?void 0x0:{..._0x213664,'data':JSON['parse'](l['textDecoder']['decode'](_0x213664[_0x2c8464(0x2b7)]))},'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x379674(0x29b)](){const _0x127dd2=_0x379674;return Promise[_0x127dd2(0x20b)]({'changesets':[],'error':{'code':c['ErrorCode']['OK'],'message':''}});}['getResourcesRequest'](){const _0xdefbb3=_0x379674;return Promise[_0xdefbb3(0x20b)]({'resources':{},'error':{'code':c[_0xdefbb3(0x258)]['OK'],'message':''}});}[_0x379674(0x228)](){const _0x33a9a2=_0x379674;return Promise[_0x33a9a2(0x20b)]({'error':{'code':c['ErrorCode']['OK'],'message':''}});}[_0x379674(0x256)](){const _0x1cf426=_0x379674;return Promise[_0x1cf426(0x20b)]({'error':{'code':c[_0x1cf426(0x258)]['OK'],'message':''}});}['saveSheetBlock'](_0x407fd2,_0x3a4213){const _0x2eec99=_0x379674;let {block:_0x4083ed}=_0x3a4213;return _0x4083ed?(this['_sheetBlockCache'][_0x2eec99(0x284)](_0x4083ed['id'],_0x4083ed),Promise['resolve']({'error':{'code':c[_0x2eec99(0x258)]['OK'],'message':''},'blockID':_0x4083ed['id']})):Promise[_0x2eec99(0x20b)]({'error':{'code':c['ErrorCode'][_0x2eec99(0x325)],'message':_0x2eec99(0x2c3)},'blockID':''});}[_0x379674(0x1c6)](){const _0x2877f2=_0x379674;return Promise[_0x2877f2(0x20b)]({'error':{'code':c[_0x2877f2(0x258)]['OK'],'message':''},'concurrent':[]});}[_0x379674(0x249)](){const _0x7a127d=_0x379674;return Promise[_0x7a127d(0x20b)]({'error':void 0x0,'fileMetaId':''});}['getLatestCsReqIdBySid'](){const _0x3cb160=_0x379674;return Promise[_0x3cb160(0x20b)]({'error':void 0x0,'latestReqID':0x0});}};const G=(0x0,t[_0x379674(0x2eb)])('univer-pro.exchange-client.exchange.service');let K=class extends t['Disposable']{constructor(_0x16e23e,_0x5a623d,_0x11eec1){const _0x295c3d=_0x379674;super(),this[_0x295c3d(0x1b9)]=_0x16e23e,this[_0x295c3d(0x28a)]=_0x5a623d,this[_0x295c3d(0x1b6)]=_0x11eec1,v(this,_0x295c3d(0x27d),null),v(this,_0x295c3d(0x2e0),new a[(_0x295c3d(0x324))]()),v(this,_0x295c3d(0x27b),this['_requestState$'][_0x295c3d(0x263)]());}['dispose'](){const _0x409ae8=_0x379674;super['dispose'](),this[_0x409ae8(0x2e0)][_0x409ae8(0x326)]();}['downloadFile'](_0x133c98,_0xf07c11,_0x2d7674){const _0x2b0f71=_0x379674;let _0x4f4aa9=URL[_0x2b0f71(0x217)](_0x133c98);k(_0x4f4aa9,_0xf07c11,_0x2d7674),URL[_0x2b0f71(0x260)](_0x4f4aa9);}async[_0x379674(0x20a)](_0x5904f3){const _0x38f94b=_0x379674;let _0x244f39=_0x5904f3[_0x38f94b(0x27a)],_0x454602=_0x5904f3['sheetBlocks']||{};return(0x0,l[_0x38f94b(0x25f)])(_0x244f39,Object['keys'](_0x454602)['map'](_0x11e3fe=>_0x454602[_0x11e3fe])['map'](_0x1dede1=>({..._0x1dede1,'data':_0x1dede1['data']?JSON[_0x38f94b(0x1a1)]((0x0,l[_0x38f94b(0x233)])(_0x1dede1['data'])):void 0x0})));}async[_0x379674(0x24a)](_0x182a4e){const _0x4a3167=_0x379674;var _0x1506a5;let _0x4f30b5={'metadata':void 0x0},_0x588250=_0x182a4e['id'],_0x5b882f=(_0x1506a5=_0x182a4e[_0x4a3167(0x25e)])==null?0x0:_0x1506a5,_0x2dbef3=new W(),{snapshot:_0x301f2f}=await(0x0,l[_0x4a3167(0x27f)])(_0x4f30b5,_0x182a4e,_0x588250,_0x5b882f,_0x2dbef3),_0x1285db=await(0x0,l[_0x4a3167(0x1d0)])(_0x301f2f,_0x2dbef3),_0x187c83=L(_0x301f2f);if(!_0x187c83)throw Error(_0x4a3167(0x2bc));return{'snapshot':_0x187c83,'sheetBlocks':B(_0x1285db)};}async[_0x379674(0x267)](_0x25830c){const _0x399563=_0x379674;let _0x2bbe42=await this[_0x399563(0x22c)](_0x25830c,t[_0x399563(0x1ba)][_0x399563(0x21e)]);if(!_0x2bbe42||!_0x2bbe42['snapshot'])return;let _0x3119c5=de(_0x2bbe42);if(_0x3119c5)return _0x3119c5;}async['exportDOCXByUnitId'](_0x47724a){const _0x33aa70=_0x379674;return this[_0x33aa70(0x2bd)](_0x47724a,0x1,t['UniverInstanceType'][_0x33aa70(0x21e)]);}async[_0x379674(0x321)](_0x281d5b){const _0x2b5c7c=_0x379674;let _0x3ee7a8=await H(_0x281d5b);return this[_0x2b5c7c(0x316)](_0x3ee7a8,t[_0x2b5c7c(0x1ba)]['UNIVER_DOC']);}async[_0x379674(0x1a4)](_0x1b49bf){const _0x267801=_0x379674;let _0x322c65=await this[_0x267801(0x22c)](_0x1b49bf,t[_0x267801(0x1ba)][_0x267801(0x252)]);if(!(!_0x322c65||!_0x322c65[_0x267801(0x27a)]))return fe(_0x322c65);}async['exportPPTXByUnitId'](_0x10cf37){const _0x4396f8=_0x379674;return this[_0x4396f8(0x2bd)](_0x10cf37,0x1,t['UniverInstanceType'][_0x4396f8(0x252)]);}async[_0x379674(0x19f)](_0x5245f6){const _0x1baa09=_0x379674;let _0x4b235c=await U(_0x5245f6);return this['_exportBySnapshot'](_0x4b235c,t[_0x1baa09(0x1ba)]['UNIVER_SLIDE']);}async[_0x379674(0x2da)](_0x1c7285){const _0x55709b=_0x379674;let _0x472930=await this[_0x55709b(0x22c)](_0x1c7285,t[_0x55709b(0x1ba)][_0x55709b(0x2d3)]);if(!_0x472930)return;let _0x3a89da=await this[_0x55709b(0x20a)](_0x472930);if(_0x3a89da)return _0x3a89da;}async[_0x379674(0x1ea)](_0x1905b1){const _0x1382e8=_0x379674;return this['_export'](_0x1905b1,0x1,t['UniverInstanceType'][_0x1382e8(0x2d3)]);}async[_0x379674(0x1a6)](_0x2b39dc){const _0x1df28f=_0x379674;let _0x334905=await this[_0x1df28f(0x24a)](_0x2b39dc);return this[_0x1df28f(0x316)](_0x334905,t['UniverInstanceType'][_0x1df28f(0x2d3)]);}async['importFileToUnitId'](_0x11aab7,_0x5c7372){const _0x34b8d9=_0x379674;var _0xe2984,_0x5ae192;let _0x3e332f=await this[_0x34b8d9(0x224)](_0x11aab7);if(!_0x3e332f)return;let _0x384df2=await this[_0x34b8d9(0x28c)](_0x3e332f,0x1,_0x5c7372);if(!_0x384df2)return;this['_importTaskId']=_0x384df2,this['_requestService'][_0x34b8d9(0x2fc)]();let _0x3cf5d5=await this[_0x34b8d9(0x1b6)][_0x34b8d9(0x2fa)](_0x384df2)['catch'](_0x4927cc=>{const _0x3e0c01=_0x34b8d9;var _0x377aa2;let _0x42e44b=_0x4927cc instanceof Error?_0x4927cc[_0x3e0c01(0x2fd)]:(_0x377aa2=_0x4927cc[_0x3e0c01(0x2be)])==null?void 0x0:_0x377aa2[_0x3e0c01(0x2fd)];this[_0x3e0c01(0x2e0)][_0x3e0c01(0x1bb)]({'error':{'code':c[_0x3e0c01(0x258)][_0x3e0c01(0x317)],'message':_0x42e44b||''},'state':0x3});});if(!_0x3cf5d5)return;let _0x3c432a=(_0xe2984=_0x3cf5d5[_0x34b8d9(0x1b3)])==null?void 0x0:_0xe2984[_0x34b8d9(0x311)],_0x52c30a=((_0x5ae192=_0x3cf5d5[_0x34b8d9(0x1b3)])==null?void 0x0:_0x5ae192[_0x34b8d9(0x2b1)])||'';if(_0x3c432a!==0x1){this[_0x34b8d9(0x2e0)][_0x34b8d9(0x1bb)]({'error':{'code':c[_0x34b8d9(0x258)][_0x34b8d9(0x317)],'message':_0x34b8d9(0x29c)},'state':0x3});return;}if(_0x52c30a['length']===0x0){this[_0x34b8d9(0x2e0)][_0x34b8d9(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20unitID\x20from\x20task'},'state':0x3});return;}return this[_0x34b8d9(0x2e0)][_0x34b8d9(0x1bb)]({'error':_0x3cf5d5[_0x34b8d9(0x2be)],'state':0x3}),_0x52c30a;}async['importFileToJson'](_0x1aef81,_0x12b1ad){const _0x116b8e=_0x379674;return this[_0x116b8e(0x272)](_0x1aef81,_0x12b1ad);}async[_0x379674(0x2e7)](_0x9d8f35){const _0x3cad96=_0x379674;let _0x261563=await this['transformWorkbookDataToSnapshotJson'](_0x9d8f35),_0x1a8b6c=typeof _0x9d8f35['id']==_0x3cad96(0x2f6)&&_0x9d8f35['id']['trim']()?_0x9d8f35['id'][_0x3cad96(0x1c5)]()+_0x3cad96(0x327):_0x3cad96(0x2fe),_0x3f5e31=new File([JSON['stringify'](_0x261563)],_0x1a8b6c,{'type':_0x3cad96(0x218)});return this[_0x3cad96(0x2d0)](_0x3f5e31,t[_0x3cad96(0x1ba)][_0x3cad96(0x2d3)]);}[_0x379674(0x271)](){const _0x8bdf59=_0x379674;this[_0x8bdf59(0x27d)]&&this[_0x8bdf59(0x1b6)][_0x8bdf59(0x1da)](this[_0x8bdf59(0x27d)]);}async['_importToJson'](_0x2ee7c5,_0x32bbc3){const _0x117ae6=_0x379674;var _0x3578a7,_0x373f80;let _0xb7b4f6=await this[_0x117ae6(0x224)](_0x2ee7c5);if(!_0xb7b4f6)return;let _0x18a14d=await this['_import'](_0xb7b4f6,0x2,_0x32bbc3);if(!_0x18a14d)return;this[_0x117ae6(0x27d)]=_0x18a14d,this[_0x117ae6(0x1b6)][_0x117ae6(0x2fc)]();let _0x5ef1f3=await this[_0x117ae6(0x1b6)]['getTask'](_0x18a14d)[_0x117ae6(0x1e0)](_0xbf2586=>{const _0x9115ab=_0x117ae6;var _0x59d9eb;let _0x5e82c1=_0xbf2586 instanceof Error?_0xbf2586[_0x9115ab(0x2fd)]:(_0x59d9eb=_0xbf2586['error'])==null?void 0x0:_0x59d9eb[_0x9115ab(0x2fd)];this[_0x9115ab(0x2e0)][_0x9115ab(0x1bb)]({'error':{'code':c[_0x9115ab(0x258)][_0x9115ab(0x317)],'message':_0x5e82c1||''},'state':0x3});});if(!_0x5ef1f3)return;let _0x35a33a=(_0x3578a7=_0x5ef1f3[_0x117ae6(0x1b3)])==null?void 0x0:_0x3578a7[_0x117ae6(0x311)],_0x159648=((_0x373f80=_0x5ef1f3['import'])==null?void 0x0:_0x373f80[_0x117ae6(0x1fb)])||'';if(_0x35a33a!==0x2){this[_0x117ae6(0x2e0)]['next']({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x29c)},'state':0x3});return;}if(_0x159648[_0x117ae6(0x269)]===0x0){this['_requestState$'][_0x117ae6(0x1bb)]({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x255)},'state':0x3});return;}this['_requestState$'][_0x117ae6(0x1bb)]({'error':_0x5ef1f3[_0x117ae6(0x2be)],'state':0x3});let _0x3ed516=await this[_0x117ae6(0x296)](_0x159648);if(!_0x3ed516)return;let _0x45da2e=await this[_0x117ae6(0x1b6)]['getTextFromUrl'](_0x3ed516);if(!_0x45da2e){this[_0x117ae6(0x2e0)]['next']({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x2c5)},'state':0x5});return;}try{let _0x12f706=JSON[_0x117ae6(0x1a1)](_0x45da2e);return this['_requestState$']['next']({'error':{'code':c[_0x117ae6(0x258)]['OK'],'message':_0x117ae6(0x26f)},'state':0x5}),_0x12f706;}catch{this['_requestState$'][_0x117ae6(0x1bb)]({'error':{'code':c[_0x117ae6(0x258)][_0x117ae6(0x317)],'message':_0x117ae6(0x265)},'state':0x5});}}async['_exportBySnapshot'](_0x19514e,_0x5a1526){const _0x3bd003=_0x379674;let _0x5f052b=JSON[_0x3bd003(0x2a4)](_0x19514e),_0x29e1bd=l[_0x3bd003(0x2a1)]['encode'](_0x5f052b),_0x111f24=(0x0,u[_0x3bd003(0x226)])(_0x29e1bd),_0x55df19=_0x29e1bd[_0x3bd003(0x269)],_0x40f27e=se(_0x111f24),_0x2cd998=await this['_upload'](_0x40f27e,_0x55df19,!0x0);if(_0x2cd998)return this[_0x3bd003(0x2bd)](_0x2cd998,0x2,_0x5a1526);}async[_0x379674(0x2bd)](_0x4aa159,_0x5c9d26,_0x1a3fb1){const _0x53b3fb=_0x379674;var _0x4d0573;let _0x4a7f7f=await this[_0x53b3fb(0x1b6)][_0x53b3fb(0x2ad)]({'unitID':_0x5c9d26===0x1?_0x4aa159:'','jsonID':_0x5c9d26===0x2?_0x4aa159:'','type':_0x1a3fb1,'useImageUrl':this[_0x53b3fb(0x2f1)](),'ignoreTableExport':this[_0x53b3fb(0x1c7)]()});if(!_0x4a7f7f){this['_requestState$'][_0x53b3fb(0x1bb)]({'error':{'code':c[_0x53b3fb(0x258)][_0x53b3fb(0x317)],'message':_0x53b3fb(0x2b6)},'state':0x2});return;}if(this[_0x53b3fb(0x2e0)]['next']({'error':_0x4a7f7f[_0x53b3fb(0x2be)],'state':0x2}),_0x4a7f7f[_0x53b3fb(0x2be)]&&_0x4a7f7f['error'][_0x53b3fb(0x293)]!==c[_0x53b3fb(0x258)]['OK'])return;let _0x3f5ba3=_0x4a7f7f[_0x53b3fb(0x2d4)],_0x3e3d72=await this[_0x53b3fb(0x1b6)][_0x53b3fb(0x2fa)](_0x3f5ba3)[_0x53b3fb(0x1e0)](_0x3ff1b5=>{const _0xa07784=_0x53b3fb;var _0x4ab8a4;let _0x18da3a=_0x3ff1b5 instanceof Error?_0x3ff1b5['message']:(_0x4ab8a4=_0x3ff1b5[_0xa07784(0x2be)])==null?void 0x0:_0x4ab8a4[_0xa07784(0x2fd)];this[_0xa07784(0x2e0)][_0xa07784(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x18da3a||''},'state':0x3});});if(!_0x3e3d72)return;let _0x369a89=((_0x4d0573=_0x3e3d72[_0x53b3fb(0x2ad)])==null?void 0x0:_0x4d0573[_0x53b3fb(0x2fb)])||'';if(_0x369a89[_0x53b3fb(0x269)]===0x0){this['_requestState$'][_0x53b3fb(0x1bb)]({'error':{'code':c[_0x53b3fb(0x258)][_0x53b3fb(0x317)],'message':_0x53b3fb(0x23f)},'state':0x3});return;}this[_0x53b3fb(0x2e0)][_0x53b3fb(0x1bb)]({'error':_0x3e3d72[_0x53b3fb(0x2be)],'state':0x3});let _0x168dfe=await this['_signUrl'](_0x369a89);if(!_0x168dfe)return;let _0x57dd7d=await N(_0x168dfe,this[_0x53b3fb(0x28a)]);if(!_0x57dd7d){this[_0x53b3fb(0x2e0)][_0x53b3fb(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':'Failed\x20to\x20get\x20file\x20from\x20url'},'state':0x6});return;}return this['_requestState$'][_0x53b3fb(0x1bb)]({'error':{'code':c[_0x53b3fb(0x258)]['OK'],'message':_0x53b3fb(0x26f)},'state':0x6}),_0x57dd7d;}async[_0x379674(0x224)](_0x7c7493,_0x50cdd0,_0x5ece56){const _0x2579e1=_0x379674;let _0x27b92f;try{_0x27b92f=await this[_0x2579e1(0x1b6)][_0x2579e1(0x25a)](_0x7c7493,_0x50cdd0,_0x5ece56);}catch(_0x500d88){let _0x4be795=_0x500d88 instanceof Error?_0x500d88['message']:String(_0x500d88);this['_requestState$'][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)][_0x2579e1(0x317)],'message':_0x4be795},'state':0x0});return;}if(!_0x27b92f||typeof _0x27b92f['FileId']!=_0x2579e1(0x2f6)){this['_requestState$'][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)][_0x2579e1(0x317)],'message':'upload\x20failed:\x20missing\x20FileId\x20in\x20response'},'state':0x0});return;}let _0x215a0a=_0x27b92f[_0x2579e1(0x241)];if(_0x215a0a[_0x2579e1(0x269)]===0x0){this['_requestState$'][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)][_0x2579e1(0x317)],'message':'upload\x20failed:\x20FileId\x20is\x20empty'},'state':0x0});return;}return this[_0x2579e1(0x2e0)][_0x2579e1(0x1bb)]({'error':{'code':c[_0x2579e1(0x258)]['OK'],'message':_0x2579e1(0x26f)},'state':0x0}),_0x215a0a;}async[_0x379674(0x28c)](_0x2eb67b,_0x35ea04,_0x50548f){const _0x4dc348=_0x379674;let _0x597116={'fileID':_0x2eb67b,'type':_0x50548f,'outputType':_0x35ea04,'fileUrl':'','minSheetRowCount':this[_0x4dc348(0x1f9)](),'minSheetColumnCount':this[_0x4dc348(0x1d4)]()},_0xc515de=await this[_0x4dc348(0x1b6)][_0x4dc348(0x1b3)](_0x597116);if(!_0xc515de){this[_0x4dc348(0x2e0)][_0x4dc348(0x1bb)]({'error':{'code':c['ErrorCode']['UNRECOGNIZED'],'message':_0x4dc348(0x2b8)},'state':0x1});return;}if(_0xc515de[_0x4dc348(0x2be)]&&_0xc515de['error'][_0x4dc348(0x293)]!==c[_0x4dc348(0x258)]['OK']){this[_0x4dc348(0x2e0)][_0x4dc348(0x1bb)]({'error':_0xc515de[_0x4dc348(0x2be)],'state':0x1});return;}let _0x50248d=_0xc515de[_0x4dc348(0x2d4)];if(_0x50248d[_0x4dc348(0x269)]===0x0){this[_0x4dc348(0x2e0)][_0x4dc348(0x1bb)]({'error':{'code':c[_0x4dc348(0x258)][_0x4dc348(0x317)],'message':_0x4dc348(0x2f8)},'state':0x1});return;}return this['_requestState$'][_0x4dc348(0x1bb)]({'error':_0xc515de[_0x4dc348(0x2be)],'state':0x1}),_0x50248d;}async[_0x379674(0x296)](_0x295381){const _0x59c469=_0x379674;let _0x425d8f=await this[_0x59c469(0x1b6)][_0x59c469(0x21d)](_0x295381);if(!_0x425d8f){this[_0x59c469(0x2e0)][_0x59c469(0x1bb)]({'error':{'code':c[_0x59c469(0x258)]['UNRECOGNIZED'],'message':_0x59c469(0x261)},'state':0x4});return;}if(_0x425d8f[_0x59c469(0x2be)]&&_0x425d8f[_0x59c469(0x2be)]['code']!==c[_0x59c469(0x258)]['OK']){this['_requestState$'][_0x59c469(0x1bb)]({'error':_0x425d8f[_0x59c469(0x2be)],'state':0x4});return;}let _0x4d6779=(0x0,t[_0x59c469(0x229)])(_0x425d8f[_0x59c469(0x30d)],this[_0x59c469(0x1e1)]());if(_0x4d6779[_0x59c469(0x269)]===0x0){this[_0x59c469(0x2e0)][_0x59c469(0x1bb)]({'error':{'code':c['ErrorCode'][_0x59c469(0x317)],'message':_0x59c469(0x261)},'state':0x4});return;}return this['_requestState$'][_0x59c469(0x1bb)]({'error':_0x425d8f[_0x59c469(0x2be)],'state':0x4}),_0x4d6779;}[_0x379674(0x1e1)](){const _0x5afc7b=_0x379674;var _0x1c5b7f;let _0x49cd5d=this[_0x5afc7b(0x1b9)][_0x5afc7b(0x2ab)](f);return(_0x1c5b7f=_0x49cd5d==null?void 0x0:_0x49cd5d[_0x5afc7b(0x2ff)])==null?location['origin']:_0x1c5b7f;}[_0x379674(0x1f9)](){const _0x695d2a=_0x379674;var _0x512276,_0x3b650c;let _0x3c21a1=this[_0x695d2a(0x1b9)][_0x695d2a(0x2ab)](f);return(_0x512276=_0x3c21a1==null||(_0x3b650c=_0x3c21a1['options'])==null?void 0x0:_0x3b650c[_0x695d2a(0x206)])==null?0x1:_0x512276;}['_getMinSheetColumnCount'](){const _0x3b1a61=_0x379674;var _0x3696f5,_0x1ea185;let _0x203211=this['_configService']['getConfig'](f);return(_0x3696f5=_0x203211==null||(_0x1ea185=_0x203211[_0x3b1a61(0x225)])==null?void 0x0:_0x1ea185[_0x3b1a61(0x2ca)])==null?0x1:_0x3696f5;}[_0x379674(0x2f1)](){const _0x48f490=_0x379674;var _0x282b7b,_0x4b2976;let _0x196540=this[_0x48f490(0x1b9)][_0x48f490(0x2ab)](f);return(_0x282b7b=_0x196540==null||(_0x4b2976=_0x196540[_0x48f490(0x225)])==null?void 0x0:_0x4b2976[_0x48f490(0x30a)])==null?!0x0:_0x282b7b;}[_0x379674(0x1c7)](){const _0x48dd54=_0x379674;var _0xbfeeaa,_0x273ada;let _0x18bd38=this[_0x48dd54(0x1b9)][_0x48dd54(0x2ab)](f);return(_0xbfeeaa=_0x18bd38==null||(_0x273ada=_0x18bd38[_0x48dd54(0x225)])==null?void 0x0:_0x273ada[_0x48dd54(0x2e4)])==null?!0x1:_0xbfeeaa;}};K=h([m(0x0,t[_0x379674(0x1d3)]),m(0x1,(0x0,t[_0x379674(0x25d)])(n[_0x379674(0x315)])),m(0x2,(0x0,t['Inject'])(F))],K);const pe={'done':0x0,'count':0x0},q=(0x0,t[_0x379674(0x2eb)])('univer-pro.exchange-client.operate.service');let J=class extends t[_0x379674(0x2f5)]{constructor(_0x357771,_0x52a98c,_0xad5591,_0x473684,_0x4e5c1c,_0x2ea9b8,_0x59e362){const _0x1c93a9=_0x379674;super(),this[_0x1c93a9(0x1cb)]=_0x357771,this[_0x1c93a9(0x1fe)]=_0x52a98c,this[_0x1c93a9(0x254)]=_0xad5591,this[_0x1c93a9(0x282)]=_0x473684,this[_0x1c93a9(0x30e)]=_0x4e5c1c,this[_0x1c93a9(0x231)]=_0x2ea9b8,this[_0x1c93a9(0x24d)]=_0x59e362,v(this,'_progress$',new a['BehaviorSubject'](pe)),v(this,_0x1c93a9(0x1db),this[_0x1c93a9(0x1fd)][_0x1c93a9(0x263)]()),v(this,_0x1c93a9(0x288),0x0),v(this,'_doneUploadTaskCount',0x0),this[_0x1c93a9(0x262)]((0x0,t[_0x1c93a9(0x203)])(this[_0x1c93a9(0x282)][_0x1c93a9(0x27b)]['subscribe'](_0x13c3b5=>{const _0x274524=_0x1c93a9;var _0xeaa0c3;((_0xeaa0c3=_0x13c3b5['error'])==null?void 0x0:_0xeaa0c3[_0x274524(0x293)])===c['ErrorCode']['OK']?this[_0x274524(0x234)](0x1):this[_0x274524(0x1b5)](_0x13c3b5[_0x274524(0x2be)]);})));}[_0x379674(0x1bc)](){const _0x206fd3=_0x379674;this[_0x206fd3(0x2f4)](),this[_0x206fd3(0x30e)][_0x206fd3(0x1c3)](0x2),this[_0x206fd3(0x282)]['interruptImportTask']();}async[_0x379674(0x2b3)](_0xa701b7){const _0xc029d=_0x379674;throw Error(_0xc029d(0x2d6));}async[_0x379674(0x2d8)](){const _0x47f6a3=_0x379674;let _0x3fcbe4=this[_0x47f6a3(0x1cb)]['getFocusedUnit']();switch(_0x3fcbe4?this['_univerInstanceService'][_0x47f6a3(0x205)](_0x3fcbe4['getUnitId']()):t[_0x47f6a3(0x1ba)][_0x47f6a3(0x317)]){case t[_0x47f6a3(0x1ba)][_0x47f6a3(0x252)]:return this[_0x47f6a3(0x2e2)]();case t[_0x47f6a3(0x1ba)][_0x47f6a3(0x21e)]:return this['importDOCXToUnitId']();case t[_0x47f6a3(0x1ba)][_0x47f6a3(0x2d3)]:default:return this[_0x47f6a3(0x25c)]();}}async['importDOCXToUnitId'](){const _0x421e39=_0x379674;let _0x2f002e=await M([t[_0x421e39(0x1ba)][_0x421e39(0x21e)]]);if(_0x2f002e&&!this[_0x421e39(0x1a7)](_0x2f002e,t['UniverInstanceType'][_0x421e39(0x21e)]))return this[_0x421e39(0x281)](_0x2f002e[0x0],t[_0x421e39(0x1ba)]['UNIVER_DOC']);}[_0x379674(0x267)](){const _0x41cf4b=_0x379674;throw Error(_0x41cf4b(0x2d6));}async['exportDOCXByUnitId'](_0x42fb4b,_0x40a88d,_0x21125a){const _0x4a7dd5=_0x379674;this[_0x4a7dd5(0x247)](o[_0x4a7dd5(0x29e)][_0x4a7dd5(0x1f8)]);let _0x2277de=await this[_0x4a7dd5(0x282)][_0x4a7dd5(0x222)](_0x42fb4b||this[_0x4a7dd5(0x2c2)]());_0x2277de&&(this[_0x4a7dd5(0x282)][_0x4a7dd5(0x290)](_0x2277de,_0x40a88d||this[_0x4a7dd5(0x320)](_0x2277de),_0x4a7dd5(0x314)),this['_showDownloadMessage'](o[_0x4a7dd5(0x29e)][_0x4a7dd5(0x2f3)]));}async[_0x379674(0x321)](){const _0x591a6a=_0x379674;this[_0x591a6a(0x247)](o[_0x591a6a(0x29e)][_0x591a6a(0x1f8)]);let _0x5cb58c=await this[_0x591a6a(0x209)](),_0x1d49cd=await this[_0x591a6a(0x282)]['exportDOCXBySnapshot'](_0x5cb58c);_0x1d49cd&&(this[_0x591a6a(0x282)][_0x591a6a(0x290)](_0x1d49cd,this[_0x591a6a(0x320)](_0x1d49cd),'docx'),this[_0x591a6a(0x247)](o[_0x591a6a(0x29e)][_0x591a6a(0x2f3)]));}async['importPPTXToUnitId'](){const _0x296c7d=_0x379674;if(this[_0x296c7d(0x1c9)]()){this[_0x296c7d(0x1fe)][_0x296c7d(0x32b)]({'type':o[_0x296c7d(0x29e)][_0x296c7d(0x1e6)],'content':this[_0x296c7d(0x254)]['t'](_0x296c7d(0x213))});return;}let _0x34153f=await M([t['UniverInstanceType']['UNIVER_SLIDE']]);if(_0x34153f&&!this[_0x296c7d(0x1a7)](_0x34153f,t[_0x296c7d(0x1ba)]['UNIVER_SLIDE']))return this['_importFileToUnitId'](_0x34153f[0x0],t[_0x296c7d(0x1ba)]['UNIVER_SLIDE']);}async[_0x379674(0x1a4)](){const _0x2f8749=_0x379674;if(this['_uploadTaskNotDone']()){this[_0x2f8749(0x1fe)][_0x2f8749(0x32b)]({'type':o[_0x2f8749(0x29e)][_0x2f8749(0x1e6)],'content':this['_localeService']['t'](_0x2f8749(0x213))});return;}let _0x5bed90=await M([t['UniverInstanceType'][_0x2f8749(0x252)]]);if(!_0x5bed90)return;this[_0x2f8749(0x207)](o['MessageType']['Info']);let _0x435c8e=await this['_exchangeService'][_0x2f8749(0x1a4)](_0x5bed90[0x0]);_0x435c8e&&(this['_refreshSlide'](_0x435c8e),this[_0x2f8749(0x207)](o[_0x2f8749(0x29e)][_0x2f8749(0x2f3)]));}async[_0x379674(0x20e)](_0x11726d,_0x2d1b2a,_0x1a1ace){const _0x59fd2c=_0x379674;this[_0x59fd2c(0x247)](o[_0x59fd2c(0x29e)]['Info']);let _0x861b50=await this[_0x59fd2c(0x282)][_0x59fd2c(0x20e)](_0x11726d||this[_0x59fd2c(0x250)]());_0x861b50&&(this[_0x59fd2c(0x282)]['downloadFile'](_0x861b50,_0x2d1b2a||this[_0x59fd2c(0x23e)](_0x861b50,_0x1a1ace==null?t[_0x59fd2c(0x1ba)][_0x59fd2c(0x252)]:_0x1a1ace),_0x59fd2c(0x24c)),this['_showDownloadMessage'](o[_0x59fd2c(0x29e)][_0x59fd2c(0x2f3)]));}async[_0x379674(0x19f)](){const _0x5f21e5=_0x379674;this[_0x5f21e5(0x247)](o[_0x5f21e5(0x29e)][_0x5f21e5(0x1f8)]);let _0x4cc1c0=await this[_0x5f21e5(0x273)](),_0x425d4c=await this['_exchangeService'][_0x5f21e5(0x19f)](_0x4cc1c0);_0x425d4c&&(this[_0x5f21e5(0x282)][_0x5f21e5(0x290)](_0x425d4c,this['_getUnitNameByType'](_0x425d4c,t[_0x5f21e5(0x1ba)][_0x5f21e5(0x252)]),_0x5f21e5(0x24c)),this['_showDownloadMessage'](o[_0x5f21e5(0x29e)][_0x5f21e5(0x2f3)]));}async[_0x379674(0x25c)](){const _0x3c6cfb=_0x379674;if(this[_0x3c6cfb(0x1c9)]()){this[_0x3c6cfb(0x1fe)]['show']({'type':o['MessageType'][_0x3c6cfb(0x1e6)],'content':this['_localeService']['t'](_0x3c6cfb(0x213))});return;}let _0x38ae73=await M([t[_0x3c6cfb(0x1ba)][_0x3c6cfb(0x2d3)]]);if(_0x38ae73&&!this[_0x3c6cfb(0x1a7)](_0x38ae73,t[_0x3c6cfb(0x1ba)]['UNIVER_SHEET']))return this[_0x3c6cfb(0x281)](_0x38ae73[0x0],t[_0x3c6cfb(0x1ba)]['UNIVER_SHEET']);}async[_0x379674(0x2da)](){const _0x47dfcc=_0x379674;if(this[_0x47dfcc(0x1c9)]()){this[_0x47dfcc(0x1fe)][_0x47dfcc(0x32b)]({'type':o[_0x47dfcc(0x29e)]['Warning'],'content':this[_0x47dfcc(0x254)]['t']('exchange-client.uploading')});return;}let _0x2177a9=await M([t['UniverInstanceType'][_0x47dfcc(0x2d3)]]);if(!_0x2177a9)return;this[_0x47dfcc(0x207)](o['MessageType'][_0x47dfcc(0x1f8)]);let _0x203bed=await this['_exchangeService'][_0x47dfcc(0x2da)](_0x2177a9[0x0]);_0x203bed&&(this['_refresh'](_0x203bed),this['_showUploadMessage'](o['MessageType'][_0x47dfcc(0x2f3)]));}async[_0x379674(0x1ea)](_0x3ec134,_0x267dbf,_0x5dd5f7){const _0x11d857=_0x379674;this['_showDownloadMessage'](o[_0x11d857(0x29e)]['Info']);let _0x58e070=await this[_0x11d857(0x282)][_0x11d857(0x1ea)](_0x3ec134||this[_0x11d857(0x1e8)]());_0x58e070&&(this[_0x11d857(0x282)]['downloadFile'](_0x58e070,_0x267dbf||this[_0x11d857(0x320)](_0x58e070),_0x11d857(0x310)),this[_0x11d857(0x247)](o[_0x11d857(0x29e)]['Success']));}async[_0x379674(0x1a6)](){const _0x55c698=_0x379674;this[_0x55c698(0x247)](o[_0x55c698(0x29e)][_0x55c698(0x1f8)]);let _0x276bbe=await this[_0x55c698(0x2ec)](),_0x4bc89f=await this[_0x55c698(0x282)][_0x55c698(0x1a6)](_0x276bbe);_0x4bc89f&&(this[_0x55c698(0x282)]['downloadFile'](_0x4bc89f,this['_getUnitName'](_0x4bc89f),_0x55c698(0x310)),this['_showDownloadMessage'](o['MessageType'][_0x55c698(0x2f3)]));}[_0x379674(0x300)](_0x10b411){const _0x5de7d1=_0x379674;this[_0x5de7d1(0x306)]=_0x10b411;}async[_0x379674(0x281)](_0x10c909,_0x4be3a2){const _0x574c0b=_0x379674;this[_0x574c0b(0x30e)]['show'](),this[_0x574c0b(0x30e)]['updateState'](0x0),this[_0x574c0b(0x236)](0x4),this[_0x574c0b(0x234)](0x1);let _0x271055=await this[_0x574c0b(0x282)][_0x574c0b(0x2d0)](_0x10c909,_0x4be3a2);if(!_0x271055){this[_0x574c0b(0x2f4)](),this['_uploadNotificationService'][_0x574c0b(0x1c3)](0x2);return;}let _0x2fec96={'link':this['_getLinkByUnitId'](_0x271055,_0x4be3a2),'name':_0x10c909[_0x574c0b(0x22b)],'type':_0x4be3a2};return this[_0x574c0b(0x30e)]['pushLink'](_0x2fec96),this[_0x574c0b(0x268)](),this[_0x574c0b(0x30e)][_0x574c0b(0x1c3)](0x1),_0x271055;}[_0x379674(0x1e8)](){const _0x220e36=_0x379674;return this['_univerInstanceService'][_0x220e36(0x2b4)](t['UniverInstanceType']['UNIVER_SHEET'])[_0x220e36(0x215)]();}['_getUnitIDDoc'](){const _0xa52ad4=_0x379674;return this[_0xa52ad4(0x1cb)][_0xa52ad4(0x2b4)](t[_0xa52ad4(0x1ba)][_0xa52ad4(0x21e)])[_0xa52ad4(0x215)]();}[_0x379674(0x250)](){const _0x3996d5=_0x379674;return this[_0x3996d5(0x1cb)][_0x3996d5(0x2b4)](t[_0x3996d5(0x1ba)][_0x3996d5(0x252)])['getUnitId']();}[_0x379674(0x320)](_0x447ad5){const _0x4a0f23=_0x379674;return this[_0x4a0f23(0x23e)](_0x447ad5,t[_0x4a0f23(0x1ba)][_0x4a0f23(0x2d3)]);}[_0x379674(0x23e)](_0x50eb08,_0xba15b0){const _0x52a8ec=_0x379674;var _0x2d6ad9;let _0xcf5fb0=(_0x2d6ad9=this[_0x52a8ec(0x1cb)][_0x52a8ec(0x2b4)](_0xba15b0))==null?void 0x0:_0x2d6ad9[_0x52a8ec(0x1a2)](),_0x35782c=_0xcf5fb0==null?void 0x0:_0xcf5fb0['name'];return typeof _0x35782c==_0x52a8ec(0x2f6)&&_0x35782c[_0x52a8ec(0x1c5)]()?_0x35782c:_0x50eb08[_0x52a8ec(0x22b)]['split']('.')[_0x52a8ec(0x1b2)]()||document[_0x52a8ec(0x251)];}async[_0x379674(0x2ec)](){const _0xb8ed40=_0x379674;return this['_univerInstanceService'][_0xb8ed40(0x2b4)](t[_0xb8ed40(0x1ba)][_0xb8ed40(0x2d3)])[_0xb8ed40(0x1a2)]();}async['_getUnitDocJson'](){const _0x536c60=_0x379674;return this[_0x536c60(0x1cb)]['getCurrentUnitOfType'](t[_0x536c60(0x1ba)]['UNIVER_DOC'])[_0x536c60(0x1a2)]();}async[_0x379674(0x273)](){const _0x20e078=_0x379674;let _0x520cfb=this[_0x20e078(0x1cb)][_0x20e078(0x2b4)](t['UniverInstanceType'][_0x20e078(0x252)]),_0x5537e4=this[_0x20e078(0x24d)][_0x20e078(0x1fa)](_0x520cfb['getUnitId']());return _0x5537e4==null?_0x520cfb[_0x20e078(0x1a2)]():_0x5537e4;}[_0x379674(0x306)](_0x2dbe2c,_0x214d19){const _0x451feb=_0x379674;let _0x506220=new URL(window[_0x451feb(0x1dd)][_0x451feb(0x2d1)]);return _0x506220['searchParams']['set'](_0x451feb(0x1ec),_0x2dbe2c),_0x506220[_0x451feb(0x22d)][_0x451feb(0x284)]('type',''+_0x214d19),_0x506220['toString']();}[_0x379674(0x1cc)](_0x3ced0e){const _0x33d981=_0x379674;let _0x37d068=this[_0x33d981(0x1cb)][_0x33d981(0x2b4)](t['UniverInstanceType'][_0x33d981(0x2d3)])[_0x33d981(0x215)]();this[_0x33d981(0x1cb)][_0x33d981(0x1d5)](_0x37d068),this[_0x33d981(0x1cb)][_0x33d981(0x28d)](t[_0x33d981(0x1ba)][_0x33d981(0x2d3)],_0x3ced0e);}[_0x379674(0x32a)](_0x51ea04){const _0x4f27b2=_0x379674;let _0x26fe92=this[_0x4f27b2(0x1cb)][_0x4f27b2(0x2b4)](t['UniverInstanceType'][_0x4f27b2(0x252)])[_0x4f27b2(0x215)]();this['_univerInstanceService'][_0x4f27b2(0x1d5)](_0x26fe92),this[_0x4f27b2(0x1cb)][_0x4f27b2(0x28d)](t[_0x4f27b2(0x1ba)]['UNIVER_SLIDE'],_0x51ea04);}[_0x379674(0x1b5)](_0x43ec9b){const _0x18b518=_0x379674;if(_0x43ec9b){let {code:_0x53be9b}=_0x43ec9b;switch(_0x53be9b){case c[_0x18b518(0x258)][_0x18b518(0x208)]:this[_0x18b518(0x1fe)][_0x18b518(0x32b)]({'type':o[_0x18b518(0x29e)]['Error'],'content':this[_0x18b518(0x254)]['t'](_0x18b518(0x294))});break;case c[_0x18b518(0x258)][_0x18b518(0x1c1)]:this[_0x18b518(0x1fe)]['show']({'type':o[_0x18b518(0x29e)][_0x18b518(0x244)],'content':this[_0x18b518(0x254)]['t'](_0x18b518(0x1c0))});break;default:this[_0x18b518(0x1fe)][_0x18b518(0x32b)]({'type':o[_0x18b518(0x29e)][_0x18b518(0x244)],'content':this['_localeService']['t']('exchange-client.networkError')});break;}return null;}return this[_0x18b518(0x1fe)]['show']({'type':o['MessageType'][_0x18b518(0x244)],'content':this['_localeService']['t'](_0x18b518(0x295))}),null;}[_0x379674(0x247)](_0x151610){const _0x39dbef=_0x379674;let _0x1d1bec='';switch(_0x151610){case o[_0x39dbef(0x29e)]['Success']:_0x1d1bec=this[_0x39dbef(0x254)]['t'](_0x39dbef(0x1eb));break;case o[_0x39dbef(0x29e)][_0x39dbef(0x1f8)]:_0x1d1bec=this['_localeService']['t'](_0x39dbef(0x227));break;default:break;}this[_0x39dbef(0x1fe)][_0x39dbef(0x32b)]({'type':_0x151610,'content':_0x1d1bec});}[_0x379674(0x207)](_0xb54a17){const _0x191f17=_0x379674;let _0x37c5f2='';switch(_0xb54a17){case o[_0x191f17(0x29e)][_0x191f17(0x2f3)]:_0x37c5f2=this[_0x191f17(0x254)]['t'](_0x191f17(0x26a));break;case o[_0x191f17(0x29e)][_0x191f17(0x1f8)]:_0x37c5f2=this[_0x191f17(0x254)]['t'](_0x191f17(0x213));break;default:break;}this[_0x191f17(0x1fe)][_0x191f17(0x32b)]({'type':_0xb54a17,'content':_0x37c5f2});}[_0x379674(0x25b)](){const _0x36509e=_0x379674;this[_0x36509e(0x1fd)][_0x36509e(0x1bb)]({'done':this[_0x36509e(0x1f3)],'count':this[_0x36509e(0x288)]});}[_0x379674(0x236)](_0x56bd41){const _0x3e8f37=_0x379674;this[_0x3e8f37(0x288)]+=_0x56bd41,this[_0x3e8f37(0x25b)]();}[_0x379674(0x234)](_0x17a488){const _0x15c190=_0x379674;this[_0x15c190(0x1f3)]+=_0x17a488,this['_doneUploadTaskCount']=Math[_0x15c190(0x2e5)](this[_0x15c190(0x1f3)],this['_totalUploadTaskCount']),this['_emitProgress']();}['_completeProgress'](){const _0x33a217=_0x379674;this['_doneUploadTaskCount']=this[_0x33a217(0x288)],this[_0x33a217(0x25b)]();}[_0x379674(0x2f4)](){const _0x4d33ce=_0x379674;this[_0x4d33ce(0x1f3)]=0x0,this[_0x4d33ce(0x288)]=0x0,this['_emitProgress']();}[_0x379674(0x1a7)](_0x55879c,_0x52058d){const _0x576f13=_0x379674;let _0x3c8ade=_0x55879c[0x0],_0x54cb7e=_0x3c8ade[_0x576f13(0x22b)];return j(_0x3c8ade)===_0x52058d?!0x1:(this[_0x576f13(0x1fe)][_0x576f13(0x32b)]({'type':o[_0x576f13(0x29e)][_0x576f13(0x244)],'content':this[_0x576f13(0x254)]['t'](_0x576f13(0x31e),_0x54cb7e)}),!0x0);}[_0x379674(0x1c9)](){const _0x33996f=_0x379674;return this['_totalUploadTaskCount']!==0x0&&this['_doneUploadTaskCount']!==this[_0x33996f(0x288)];}};J=h([m(0x0,(0x0,t[_0x379674(0x25d)])(t[_0x379674(0x29d)])),m(0x1,i[_0x379674(0x20c)]),m(0x2,(0x0,t[_0x379674(0x25d)])(t[_0x379674(0x237)])),m(0x3,(0x0,t[_0x379674(0x25d)])(G)),m(0x4,(0x0,t[_0x379674(0x25d)])(y)),m(0x5,t[_0x379674(0x2a8)]),m(0x6,(0x0,t['Inject'])(t['IResourceLoaderService']))],J);function Y(_0x5d7a0e){const _0x113956=_0x379674;let {onClick:_0x1a0a10,children:_0x20a2cc,className:_0x20ea02}=_0x5d7a0e;return(0x0,s[_0x113956(0x1f0)])(_0x113956(0x2d7),{'className':(0x0,o['clsx'])(_0x113956(0x29a),_0x20ea02),'type':_0x113956(0x2d7),'onClick':_0x1a0a10,'children':_0x20a2cc});}function X(){const _0x123ce6=_0x379674;let _0x598964=(0x0,i[_0x123ce6(0x279)])(q),_0x4095cf=(0x0,i['useDependency'])(t[_0x123ce6(0x237)]);function _0x51ebc5(){_0x598964['importFileToUnitIdByCurrentType']();}return(0x0,s['jsx'])(Y,{'onClick':_0x51ebc5,'children':_0x4095cf['t'](_0x123ce6(0x2ba))});}function me(){const _0x76f1b3=_0x379674;return(0x0,s[_0x76f1b3(0x2c0)])(_0x76f1b3(0x221),{'className':'univer-mt-5\x20univer-flex\x20univer-flex-col','children':[(0x0,s[_0x76f1b3(0x1f0)])('span',{'className':'univer-mb-3\x20univer-py-0\x20univer-pl-2\x20univer-pr-4\x20univer-text-sm\x20univer-text-gray-900\x20dark:!univer-text-white','children':(0x0,i[_0x76f1b3(0x279)])(t['LocaleService'])['t']('exchange-client.interrupt')}),(0x0,s['jsx'])(X,{})]});}function he(_0x255351){const _0x1f33b6=_0x379674;let {count:_0x388bd3}=_0x255351;return(0x0,s['jsxs'])(_0x1f33b6(0x221),{'className':_0x1f33b6(0x2aa),'children':[(0x0,s['jsx'])(_0x1f33b6(0x1df),{'className':_0x1f33b6(0x1af),'children':(0x0,i['useDependency'])(t[_0x1f33b6(0x237)])['t'](_0x1f33b6(0x274),''+_0x388bd3)}),(0x0,s[_0x1f33b6(0x1f0)])(X,{})]});}function ge(){const _0x332120=_0x379674;let _0x3d7ac3=(0x0,i[_0x332120(0x279)])(q),_0xfa789e=(0x0,i[_0x332120(0x279)])(t['LocaleService']);function _0x5e478e(){const _0x1c220b=_0x332120;_0x3d7ac3[_0x1c220b(0x1bc)]();}return(0x0,s[_0x332120(0x1f0)])(Y,{'onClick':_0x5e478e,'children':_0xfa789e['t'](_0x332120(0x1f1))});}function _e(){const _0x2a64e4=_0x379674;let {count:_0xe20672,done:_0x101561}=(0x0,i[_0x2a64e4(0x286)])((0x0,i[_0x2a64e4(0x279)])(q)['progress$']),_0x2d2ae6=_0xe20672>0x0?_0x101561/_0xe20672:0x0;return(0x0,s[_0x2a64e4(0x1f0)])(_0x2a64e4(0x221),{'className':_0x2a64e4(0x230),'children':(0x0,s[_0x2a64e4(0x1f0)])(_0x2a64e4(0x221),{'className':_0x2a64e4(0x2ac),'style':{'width':Math[_0x2a64e4(0x1e2)](_0x2d2ae6*0x64)+'%'}})});}function ve(){const _0x145a82=_0x379674;return(0x0,s[_0x145a82(0x2c0)])(_0x145a82(0x221),{'className':_0x145a82(0x2c7),'children':[(0x0,s['jsx'])('span',{'className':_0x145a82(0x2ea),'children':(0x0,i['useDependency'])(t[_0x145a82(0x237)])['t'](_0x145a82(0x278))}),(0x0,s['jsx'])(_0x145a82(0x221),{'className':_0x145a82(0x1b8),'children':(0x0,s[_0x145a82(0x1f0)])(_e,{})}),(0x0,s[_0x145a82(0x1f0)])(ge,{})]});}const Z={0x1:(0x0,s[_0x379674(0x1f0)])(r['SuccessIcon'],{'className':_0x379674(0x319)}),0x0:(0x0,s['jsx'])(r['ClockIcon'],{'className':_0x379674(0x1ed)}),0x2:(0x0,s[_0x379674(0x1f0)])(r[_0x379674(0x1f2)],{'className':_0x379674(0x1d6)})};function ye(){const _0x5854f2=_0x379674;let _0x3b88cf=(0x0,i[_0x5854f2(0x279)])(y),_0xe421da=(0x0,i[_0x5854f2(0x279)])(t[_0x5854f2(0x237)]),_0x5a16d8=(0x0,i['useObservable'])(_0x3b88cf[_0x5854f2(0x245)],0x0),_0xdae7d3=(0x0,i[_0x5854f2(0x286)])(_0x3b88cf['visible$'],!0x1),_0x92bbd6=(0x0,i['useObservable'])(_0x3b88cf[_0x5854f2(0x2c6)],[]);function _0x5ab216(){const _0x2cfdf7=_0x5854f2;_0x3b88cf[_0x2cfdf7(0x1e3)]();}function _0x5e5623(_0x16d610){const _0x1cb028=_0x5854f2;switch(_0x16d610){case 0x1:return _0xe421da['t'](_0x1cb028(0x26a));case 0x0:return _0xe421da['t'](_0x1cb028(0x213));case 0x2:return _0xe421da['t']('exchange-client.unknownMistake');default:return'';}}return _0xdae7d3&&(0x0,s[_0x5854f2(0x2c0)])(_0x5854f2(0x221),{'className':'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','children':[(0x0,s[_0x5854f2(0x2c0)])(_0x5854f2(0x221),{'className':'univer-flex\x20univer-items-center\x20univer-justify-between\x20univer-py-0\x20univer-pl-1.5\x20univer-pr-2','children':[(0x0,s['jsxs'])(_0x5854f2(0x1df),{'className':_0x5854f2(0x248),'children':[(0x0,s[_0x5854f2(0x1f0)])('span',{'className':_0x5854f2(0x309),'children':Z[_0x5a16d8]}),(0x0,s[_0x5854f2(0x1f0)])(_0x5854f2(0x1df),{'className':_0x5854f2(0x1ff),'children':_0x5e5623(_0x5a16d8)})]}),(0x0,s[_0x5854f2(0x1f0)])(_0x5854f2(0x1df),{'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':_0x5ab216,'children':(0x0,s['jsx'])(r[_0x5854f2(0x2e8)],{})})]}),(0x0,s['jsxs'])('div',{'children':[_0x5a16d8===0x0&&(0x0,s[_0x5854f2(0x1f0)])(ve,{}),_0x5a16d8===0x2&&(0x0,s[_0x5854f2(0x1f0)])(me,{}),_0x92bbd6[_0x5854f2(0x269)]>0x0&&(0x0,s[_0x5854f2(0x1f0)])(re,{'list':_0x92bbd6}),_0x5a16d8===0x1&&(0x0,s[_0x5854f2(0x1f0)])(he,{'count':_0x92bbd6[_0x5854f2(0x269)]})]})]});}function be(){const _0x48e404=_0x379674;return(0x0,s[_0x48e404(0x1f0)])(ye,{});}let Q=class extends t[_0x379674(0x2f5)]{constructor(_0x33ad6f,_0x103512){const _0x549030=_0x379674;super(),this[_0x549030(0x280)]=_0x33ad6f,this[_0x549030(0x1b1)]=_0x103512,this[_0x549030(0x1f5)]();}[_0x379674(0x1f5)](){const _0x5727f4=_0x379674;this['disposeWithMe'](this[_0x5727f4(0x1b1)][_0x5727f4(0x1f7)](i[_0x5727f4(0x2b9)]['CONTENT'],()=>(0x0,i[_0x5727f4(0x31c)])(be,this['_injector'])));}};Q=h([m(0x0,(0x0,t[_0x379674(0x25d)])(t[_0x379674(0x1b4)])),m(0x1,i['IUIPartsService'])],Q);let $=class extends t[_0x379674(0x303)]{constructor(_0x3ef104=p,_0x288004,_0x2ff8c2){const _0x148c82=_0x379674;super(),this[_0x148c82(0x1de)]=_0x3ef104,this[_0x148c82(0x280)]=_0x288004,this[_0x148c82(0x1b9)]=_0x2ff8c2;let {..._0x434d09}=(0x0,t[_0x148c82(0x22e)])({},p,this[_0x148c82(0x1de)]);this['_configService'][_0x148c82(0x2e3)](f,_0x434d09);}['onStarting'](){const _0x2fb48a=_0x379674;(0x0,t[_0x2fb48a(0x26d)])(this[_0x2fb48a(0x280)],[[g],[Q],[q,{'useClass':J}],[G,{'useClass':K}],[F,{'useClass':I}],[y,{'useClass':b}]]);}['onReady'](){const _0x549a10=_0x379674;(0x0,t[_0x549a10(0x2dd)])(this['_injector'],[[g],[Q],[q]]);}};v($,_0x379674(0x1ae),_0x379674(0x1f4)),v($,_0x379674(0x26c),d),v($,'version',ee),$=h([(0x0,t['DependentOn'])(n[_0x379674(0x235)],e[_0x379674(0x2f9)]),m(0x1,(0x0,t[_0x379674(0x25d)])(t['Injector'])),m(0x2,t['IConfigService'])],$),exports[_0x379674(0x1cd)]=q,exports['IExchangeService']=G,Object[_0x379674(0x276)](exports,_0x379674(0x291),{'enumerable':!0x0,'get':function(){return $;}}),exports[_0x379674(0x290)]=A,exports[_0x379674(0x20a)]=ue,exports['transformWorkbookDataToSnapshotJson']=V;
|
package/lib/cjs/locale/ar-SA.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3a0c40=_0x2249;(function(_0x158383,_0x4d468b){const _0x56735b=_0x2249,_0x689fb6=_0x158383();while(!![]){try{const _0x31d720=-parseInt(_0x56735b(0x110))/0x1*(parseInt(_0x56735b(0x118))/0x2)+parseInt(_0x56735b(0x10b))/0x3+parseInt(_0x56735b(0x114))/0x4+parseInt(_0x56735b(0x10f))/0x5+-parseInt(_0x56735b(0x113))/0x6+-parseInt(_0x56735b(0x115))/0x7+-parseInt(_0x56735b(0x11c))/0x8*(-parseInt(_0x56735b(0x10a))/0x9);if(_0x31d720===_0x4d468b)break;else _0x689fb6['push'](_0x689fb6['shift']());}catch(_0x583477){_0x689fb6['push'](_0x689fb6['shift']());}}}(_0x2520,0xa1419));function _0x2520(){const _0x3bec50=['تمت\x20مقاطعة\x20الاتصال\x20بالشبكة\x20وفشل\x20رفع\x20الملف','خطأ\x20غير\x20معروف','184878CnUlfA','267558HsKENf','جارٍ\x20الرفع','تم\x20رفع\x20{0}\x20ملف/ملفات\x20بنجاح','تم\x20التحميل\x20بنجاح','4285930eIWrdZ','9vZRPKl','البيانات\x20كبيرة\x20جداً','جارٍ\x20التحميل','2286282BpEXvM','1661136ZRrLFa','7073598QQubwX','إلغاء','تم\x20رفع\x20الملف\x20بنجاح','239156qfWRml','إعادة\x20الرفع','خطأ\x20داخلي\x20غير\x20معروف','exports','688SyzMXg','خطأ\x20في\x20الشبكة','نوع\x20الملف\x20المحدد\x20[{0}]\x20غير\x20مدعوم\x20للرفع','يرجى\x20الانتظار...'];_0x2520=function(){return _0x3bec50;};return _0x2520();}const e={'exchange-client':{'uploading':_0x3a0c40(0x10c),'uploadSuccess':_0x3a0c40(0x117),'uploadSuccessTip':_0x3a0c40(0x10d),'downloading':_0x3a0c40(0x112),'downloadSuccess':_0x3a0c40(0x10e),'unknownMistake':_0x3a0c40(0x121),'networkError':_0x3a0c40(0x11d),'tooLarge':_0x3a0c40(0x111),'internalError':_0x3a0c40(0x11a),'interrupt':_0x3a0c40(0x120),'fileTypeError':_0x3a0c40(0x11e),'wait':_0x3a0c40(0x11f),'cancel':_0x3a0c40(0x116),'uploadAgain':_0x3a0c40(0x119)}};function _0x2249(_0x476f92,_0x271fd4){_0x476f92=_0x476f92-0x10a;const _0x25205e=_0x2520();let _0x2249b5=_0x25205e[_0x476f92];return _0x2249b5;}module[_0x3a0c40(0x11b)]=e;
|
package/lib/cjs/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x109b65=_0x3c77;(function(_0x165752,_0x2999d0){const _0x34ab3f=_0x3c77,_0x22c12e=_0x165752();while(!![]){try{const _0x3fa9f8=parseInt(_0x34ab3f(0x1d7))/0x1*(parseInt(_0x34ab3f(0x1d5))/0x2)+-parseInt(_0x34ab3f(0x1da))/0x3*(parseInt(_0x34ab3f(0x1e3))/0x4)+-parseInt(_0x34ab3f(0x1d3))/0x5*(parseInt(_0x34ab3f(0x1e7))/0x6)+parseInt(_0x34ab3f(0x1d2))/0x7+-parseInt(_0x34ab3f(0x1ea))/0x8+-parseInt(_0x34ab3f(0x1df))/0x9+-parseInt(_0x34ab3f(0x1d6))/0xa*(-parseInt(_0x34ab3f(0x1e4))/0xb);if(_0x3fa9f8===_0x2999d0)break;else _0x22c12e['push'](_0x22c12e['shift']());}catch(_0x6c62ff){_0x22c12e['push'](_0x22c12e['shift']());}}}(_0x3ce8,0x212d3));function _0x3c77(_0x2aba62,_0x5d565a){_0x2aba62=_0x2aba62-0x1d2;const _0x3ce873=_0x3ce8();let _0x3c7781=_0x3ce873[_0x2aba62];return _0x3c7781;}const e={'exchange-client':{'uploading':_0x109b65(0x1db),'uploadSuccess':_0x109b65(0x1e0),'uploadSuccessTip':_0x109b65(0x1dc),'downloading':_0x109b65(0x1d8),'downloadSuccess':_0x109b65(0x1e6),'unknownMistake':_0x109b65(0x1e1),'networkError':_0x109b65(0x1e2),'tooLarge':_0x109b65(0x1e8),'internalError':_0x109b65(0x1de),'interrupt':_0x109b65(0x1e9),'fileTypeError':'El\x20fitxer\x20seleccionat\x20[{0}]\x20no\x20és\x20compatible\x20per\x20pujar','wait':_0x109b65(0x1e5),'cancel':_0x109b65(0x1dd),'uploadAgain':_0x109b65(0x1d9)}};function _0x3ce8(){const _0x4787b8=['Descarregant','Tornar\x20a\x20pujar','158133PKHJDC','Pujant','{0}\x20fitxer(s)\x20pujat(s)\x20correctament','Cancel·lar','Error\x20intern\x20desconegut','2348217stsYRB','Fitxer\x20pujat\x20correctament','Error\x20desconegut','Error\x20de\x20xarxa','4lXmAGH','3607274YXqIgH','Espereu...','Descàrrega\x20correcta','209634ELvNDT','Les\x20dades\x20són\x20massa\x20grans','La\x20connexió\x20de\x20xarxa\x20s\x27ha\x20interromput\x20i\x20la\x20pujada\x20del\x20fitxer\x20ha\x20fallat','1325448vHcflD','1143548rxaMMm','15npMdDK','exports','298jRhxyE','10EXWnUI','1535YsGSgS'];_0x3ce8=function(){return _0x4787b8;};return _0x3ce8();}module[_0x109b65(0x1d4)]=e;
|
package/lib/cjs/locale/de-DE.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x1446(){const _0x44748f=['49240qROXWW','48MtxSYG','Datei\x20erfolgreich\x20hochgeladen','Abbrechen','1374131obgPJt','2938jhdzki','3XytXGH','1794904WOPgkV','exports','Erneut\x20hochladen','Bitte\x20warten...','Wird\x20heruntergeladen','Die\x20Netzwerkverbindung\x20wurde\x20unterbrochen\x20und\x20der\x20Datei-Upload\x20ist\x20fehlgeschlagen','860862oOSBMA','156280tIdgQU','Wird\x20hochgeladen','468FXXcvF','Netzwerkfehler','Download\x20erfolgreich','Interner\x20unbekannter\x20Fehler','80584WUcPER','{0}\x20Datei(en)\x20erfolgreich\x20hochgeladen','644PDXCsO','72XOaBXq','1FLXPFE','387935Jqpqts'];_0x1446=function(){return _0x44748f;};return _0x1446();}const _0x3f4c95=_0x12f5;(function(_0x3b4d44,_0x464a79){const _0x4a8fec=_0x12f5,_0x188f28=_0x3b4d44();while(!![]){try{const _0x46f3ab=-parseInt(_0x4a8fec(0xfd))/0x1*(-parseInt(_0x4a8fec(0x10c))/0x2)+parseInt(_0x4a8fec(0x105))/0x3*(parseInt(_0x4a8fec(0x106))/0x4)+parseInt(_0x4a8fec(0xfe))/0x5*(parseInt(_0x4a8fec(0x100))/0x6)+parseInt(_0x4a8fec(0xfb))/0x7*(-parseInt(_0x4a8fec(0xff))/0x8)+parseInt(_0x4a8fec(0xf5))/0x9*(-parseInt(_0x4a8fec(0x10d))/0xa)+parseInt(_0x4a8fec(0x103))/0xb*(-parseInt(_0x4a8fec(0xfc))/0xc)+-parseInt(_0x4a8fec(0x104))/0xd*(-parseInt(_0x4a8fec(0xf9))/0xe);if(_0x46f3ab===_0x464a79)break;else _0x188f28['push'](_0x188f28['shift']());}catch(_0x597e31){_0x188f28['push'](_0x188f28['shift']());}}}(_0x1446,0xa420b));const e={'exchange-client':{'uploading':_0x3f4c95(0xf4),'uploadSuccess':_0x3f4c95(0x101),'uploadSuccessTip':_0x3f4c95(0xfa),'downloading':_0x3f4c95(0x10a),'downloadSuccess':_0x3f4c95(0xf7),'unknownMistake':'Unbekannter\x20Fehler','networkError':_0x3f4c95(0xf6),'tooLarge':'Daten\x20sind\x20zu\x20groß','internalError':_0x3f4c95(0xf8),'interrupt':_0x3f4c95(0x10b),'fileTypeError':'Die\x20ausgewählte\x20Datei\x20[{0}]\x20wird\x20für\x20den\x20Upload\x20nicht\x20unterstützt','wait':_0x3f4c95(0x109),'cancel':_0x3f4c95(0x102),'uploadAgain':_0x3f4c95(0x108)}};function _0x12f5(_0x46172c,_0x530379){_0x46172c=_0x46172c-0xf4;const _0x144671=_0x1446();let _0x12f5f0=_0x144671[_0x46172c];return _0x12f5f0;}module[_0x3f4c95(0x107)]=e;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const _0x2fd953=_0x2fa0;(function(_0x41ff27,_0x176223){const _0x3cf9f5=_0x2fa0,_0x8ac5fa=_0x41ff27();while(!![]){try{const _0x16dea7=parseInt(_0x3cf9f5(0x106))/0x1+-parseInt(_0x3cf9f5(0x109))/0x2*(parseInt(_0x3cf9f5(0x100))/0x3)+-parseInt(_0x3cf9f5(0x10a))/0x4+-parseInt(_0x3cf9f5(0x104))/0x5*(parseInt(_0x3cf9f5(0x10d))/0x6)+-parseInt(_0x3cf9f5(0x10f))/0x7*(parseInt(_0x3cf9f5(0x101))/0x8)+parseInt(_0x3cf9f5(0x10c))/0x9*(-parseInt(_0x3cf9f5(0x105))/0xa)+-parseInt(_0x3cf9f5(0x10e))/0xb*(-parseInt(_0x3cf9f5(0xfb))/0xc);if(_0x16dea7===_0x176223)break;else _0x8ac5fa['push'](_0x8ac5fa['shift']());}catch(_0x33ba9f){_0x8ac5fa['push'](_0x8ac5fa['shift']());}}}(_0x3e1e,0xc8870));const e={'exchange-client':{'uploading':_0x2fd953(0x111),'uploadSuccess':_0x2fd953(0x107),'uploadSuccessTip':_0x2fd953(0xff),'downloading':_0x2fd953(0x103),'downloadSuccess':'Download\x20success','unknownMistake':_0x2fd953(0x112),'networkError':'Network\x20error','tooLarge':_0x2fd953(0x10b),'internalError':'Internal\x20unknown\x20error','interrupt':_0x2fd953(0x102),'fileTypeError':_0x2fd953(0x108),'wait':_0x2fd953(0xfd),'cancel':_0x2fd953(0xfe),'uploadAgain':_0x2fd953(0xfc)}};function _0x2fa0(_0x20108e,_0x433896){_0x20108e=_0x20108e-0xfb;const _0x3e1e9c=_0x3e1e();let _0x2fa01b=_0x3e1e9c[_0x20108e];return _0x2fa01b;}function _0x3e1e(){const _0x20d9d8=['88DDLJpo','The\x20network\x20connection\x20was\x20interrupted\x20and\x20the\x20file\x20upload\x20failed','Downloading','5099495QOURzN','3660WuesyS','657383mwCAbC','File\x20uploaded\x20successfully','Selected\x20file\x20[{0}]\x20is\x20not\x20supported\x20for\x20upload','79678YhkObU','3304512lAZsZi','Data\x20is\x20too\x20large','22464nMowtw','6zpjmNP','308tiNVBh','572453PkNABq','exports','Uploading','Unknown\x20mistake','2270208VMbUBB','Upload\x20again','Please\x20wait...','Cancel','{0}\x20file(s)\x20uploaded\x20successfully','111BYyZDO'];_0x3e1e=function(){return _0x20d9d8;};return _0x3e1e();}module[_0x2fd953(0x110)]=e;
|
package/lib/cjs/locale/es-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x375e(_0x388c44,_0x4b795f){_0x388c44=_0x388c44-0x171;const _0x2f2f30=_0x2f2f();let _0x375edb=_0x2f2f30[_0x388c44];return _0x375edb;}const _0x53b7d5=_0x375e;function _0x2f2f(){const _0x2ed61d=['{0}\x20archivo(s)\x20subido(s)\x20exitosamente','Error\x20desconocido','1164222RovbLq','2UfDvTP','954548uTnVTU','16ibNKrV','Error\x20de\x20red','1929430XuvLLO','El\x20archivo\x20seleccionado\x20[{0}]\x20no\x20es\x20compatible\x20para\x20subir','981576dvGNUW','8303064qYbsjD','372953hjNUcP','Descargando','exports','Descarga\x20exitosa','Subiendo','La\x20conexión\x20de\x20red\x20se\x20interrumpió\x20y\x20la\x20carga\x20del\x20archivo\x20falló','Error\x20interno\x20desconocido','7073676ksVXMa','5hbZWLK','Cancelar'];_0x2f2f=function(){return _0x2ed61d;};return _0x2f2f();}(function(_0x55218f,_0xa7f560){const _0xbb749c=_0x375e,_0x49bd53=_0x55218f();while(!![]){try{const _0x466088=parseInt(_0xbb749c(0x172))/0x1*(-parseInt(_0xbb749c(0x17f))/0x2)+parseInt(_0xbb749c(0x185))/0x3+parseInt(_0xbb749c(0x180))/0x4+-parseInt(_0xbb749c(0x17a))/0x5*(-parseInt(_0xbb749c(0x179))/0x6)+-parseInt(_0xbb749c(0x171))/0x7+parseInt(_0xbb749c(0x181))/0x8*(parseInt(_0xbb749c(0x17e))/0x9)+parseInt(_0xbb749c(0x183))/0xa;if(_0x466088===_0xa7f560)break;else _0x49bd53['push'](_0x49bd53['shift']());}catch(_0x48bbc9){_0x49bd53['push'](_0x49bd53['shift']());}}}(_0x2f2f,0x9b991));const e={'exchange-client':{'uploading':_0x53b7d5(0x176),'uploadSuccess':'Archivo\x20subido\x20exitosamente','uploadSuccessTip':_0x53b7d5(0x17c),'downloading':_0x53b7d5(0x173),'downloadSuccess':_0x53b7d5(0x175),'unknownMistake':_0x53b7d5(0x17d),'networkError':_0x53b7d5(0x182),'tooLarge':'Los\x20datos\x20son\x20demasiado\x20grandes','internalError':_0x53b7d5(0x178),'interrupt':_0x53b7d5(0x177),'fileTypeError':_0x53b7d5(0x184),'wait':'Espere...','cancel':_0x53b7d5(0x17b),'uploadAgain':'Subir\x20de\x20nuevo'}};module[_0x53b7d5(0x174)]=e;
|
package/lib/cjs/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0xbd7e(){const _0x58a467=['در\x20حال\x20دانلود','302edZbZZ','5194LswNUo','8923OtohVz','4349163YzfImO','لغو','372084YAZQQe','10768170KZPpCc','9pYMJGk','4908984GjptEU','فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','اتصال\x20شبکه\x20قطع\x20شد\x20و\x20بارگذاری\x20فایل\x20ناموفق\x20بود.','24956568LcmGcK','لطفا\x20صبر\x20کنید...','{0}\x20فایل\x20با\x20موفقیت\x20بارگذاری\x20شد','8760uvmJjl','خطای\x20ناشناخته','در\x20حال\x20بارگذاری','خطای\x20شبکه','دانلود\x20موفقیت\x20آمیز','11VDghGs','فایل\x20انتخاب\x20شده\x20[{0}]\x20برای\x20بارگذاری\x20پشتیبانی\x20نمیشود','10TtDRgw','خطای\x20داخلی\x20ناشناخته'];_0xbd7e=function(){return _0x58a467;};return _0xbd7e();}const _0x43acc2=_0x3683;function _0x3683(_0x12dce3,_0x275d22){_0x12dce3=_0x12dce3-0x1dd;const _0xbd7ef8=_0xbd7e();let _0x368361=_0xbd7ef8[_0x12dce3];return _0x368361;}(function(_0x4d5242,_0x4eaf86){const _0x784635=_0x3683,_0x1f704a=_0x4d5242();while(!![]){try{const _0x37a4ea=-parseInt(_0x784635(0x1e3))/0x1*(-parseInt(_0x784635(0x1e1))/0x2)+-parseInt(_0x784635(0x1e4))/0x3+parseInt(_0x784635(0x1e6))/0x4*(parseInt(_0x784635(0x1de))/0x5)+-parseInt(_0x784635(0x1ef))/0x6*(-parseInt(_0x784635(0x1e2))/0x7)+-parseInt(_0x784635(0x1e9))/0x8*(-parseInt(_0x784635(0x1e8))/0x9)+-parseInt(_0x784635(0x1e7))/0xa*(-parseInt(_0x784635(0x1f4))/0xb)+-parseInt(_0x784635(0x1ec))/0xc;if(_0x37a4ea===_0x4eaf86)break;else _0x1f704a['push'](_0x1f704a['shift']());}catch(_0x58847a){_0x1f704a['push'](_0x1f704a['shift']());}}}(_0xbd7e,0xbde0c));const e={'exchange-client':{'uploading':_0x43acc2(0x1f1),'uploadSuccess':_0x43acc2(0x1ea),'uploadSuccessTip':_0x43acc2(0x1ee),'downloading':_0x43acc2(0x1e0),'downloadSuccess':_0x43acc2(0x1f3),'unknownMistake':_0x43acc2(0x1f0),'networkError':_0x43acc2(0x1f2),'tooLarge':'داده\x20خیلی\x20بزرگ\x20است','internalError':_0x43acc2(0x1df),'interrupt':_0x43acc2(0x1eb),'fileTypeError':_0x43acc2(0x1dd),'wait':_0x43acc2(0x1ed),'cancel':_0x43acc2(0x1e5),'uploadAgain':'بارگذاری\x20مجدد'}};module['exports']=e;
|
package/lib/cjs/locale/fr-FR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x24b6(_0xccc1d2,_0x2188f1){_0xccc1d2=_0xccc1d2-0x100;const _0x469815=_0x4698();let _0x24b6d2=_0x469815[_0xccc1d2];return _0x24b6d2;}function _0x4698(){const _0x349baa=['Erreur\x20inconnue','1432rljCTM','Annuler','14HCOHsQ','1988866cfgurD','2773860NvAaGb','Téléchargement\x20en\x20cours','Erreur\x20interne\x20inconnue','10GwgJUk','784432DepfBG','8197IgvyFK','8359386UQGxgR','Veuillez\x20patienter...','Les\x20données\x20sont\x20trop\x20volumineuses','146582DPrRHd','Erreur\x20réseau','35cDsLau','9895626KGrWUC','Télécharger\x20à\x20nouveau','{0}\x20fichier(s)\x20téléchargé(s)\x20avec\x20succès','Téléchargement'];_0x4698=function(){return _0x349baa;};return _0x4698();}const _0x38c285=_0x24b6;(function(_0x596691,_0x25f3f3){const _0x18ce36=_0x24b6,_0x545135=_0x596691();while(!![]){try{const _0x4405fb=parseInt(_0x18ce36(0x109))/0x1*(parseInt(_0x18ce36(0x114))/0x2)+-parseInt(_0x18ce36(0x10b))/0x3+-parseInt(_0x18ce36(0x10f))/0x4*(-parseInt(_0x18ce36(0x101))/0x5)+-parseInt(_0x18ce36(0x111))/0x6+parseInt(_0x18ce36(0x110))/0x7*(-parseInt(_0x18ce36(0x107))/0x8)+parseInt(_0x18ce36(0x102))/0x9+-parseInt(_0x18ce36(0x10e))/0xa*(parseInt(_0x18ce36(0x10a))/0xb);if(_0x4405fb===_0x25f3f3)break;else _0x545135['push'](_0x545135['shift']());}catch(_0x229259){_0x545135['push'](_0x545135['shift']());}}}(_0x4698,0xc0e3e));const e={'exchange-client':{'uploading':_0x38c285(0x10c),'uploadSuccess':'Fichier\x20téléchargé\x20avec\x20succès','uploadSuccessTip':_0x38c285(0x104),'downloading':_0x38c285(0x105),'downloadSuccess':'Téléchargement\x20réussi','unknownMistake':_0x38c285(0x106),'networkError':_0x38c285(0x100),'tooLarge':_0x38c285(0x113),'internalError':_0x38c285(0x10d),'interrupt':'La\x20connexion\x20réseau\x20a\x20été\x20interrompue\x20et\x20le\x20téléchargement\x20du\x20fichier\x20a\x20échoué','fileTypeError':'Le\x20fichier\x20sélectionné\x20[{0}]\x20n\x27est\x20pas\x20pris\x20en\x20charge\x20pour\x20le\x20téléchargement','wait':_0x38c285(0x112),'cancel':_0x38c285(0x108),'uploadAgain':_0x38c285(0x103)}};module['exports']=e;
|
package/lib/cjs/locale/id-ID.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3ec9ac=_0x4bcc;function _0x59d1(){const _0x4d223d=['exports','File\x20yang\x20dipilih\x20[{0}]\x20tidak\x20didukung\x20untuk\x20diunggah','Koneksi\x20jaringan\x20terputus\x20dan\x20unggahan\x20file\x20gagal','Kesalahan\x20tidak\x20diketahui','Batal','Unggah\x20ulang','{0}\x20file\x20berhasil\x20diunggah','Mengunduh','597832RMFwCP','1554768flXiAC','104863yeofel','508595GOBbtZ','6TIuWoV','Kesalahan\x20jaringan','Mengunggah','8741286HteFGY','12AsQWME','277520ktUhae','Data\x20terlalu\x20besar','3281348BjUzfp','Kesalahan\x20internal\x20tidak\x20diketahui','Unduhan\x20berhasil'];_0x59d1=function(){return _0x4d223d;};return _0x59d1();}(function(_0x143c28,_0x459b8e){const _0x1aee8c=_0x4bcc,_0x13f5d8=_0x143c28();while(!![]){try{const _0x1edb1d=parseInt(_0x1aee8c(0xad))/0x1*(parseInt(_0x1aee8c(0x99))/0x2)+parseInt(_0x1aee8c(0xac))/0x3+parseInt(_0x1aee8c(0x9e))/0x4+-parseInt(_0x1aee8c(0xae))/0x5*(parseInt(_0x1aee8c(0x9d))/0x6)+parseInt(_0x1aee8c(0xa0))/0x7+parseInt(_0x1aee8c(0xab))/0x8+-parseInt(_0x1aee8c(0x9c))/0x9;if(_0x1edb1d===_0x459b8e)break;else _0x13f5d8['push'](_0x13f5d8['shift']());}catch(_0x1d27d7){_0x13f5d8['push'](_0x13f5d8['shift']());}}}(_0x59d1,0x422b2));function _0x4bcc(_0x3adea6,_0x3ab262){_0x3adea6=_0x3adea6-0x99;const _0x59d13c=_0x59d1();let _0x4bcc8b=_0x59d13c[_0x3adea6];return _0x4bcc8b;}const e={'exchange-client':{'uploading':_0x3ec9ac(0x9b),'uploadSuccess':'File\x20berhasil\x20diunggah','uploadSuccessTip':_0x3ec9ac(0xa9),'downloading':_0x3ec9ac(0xaa),'downloadSuccess':_0x3ec9ac(0xa2),'unknownMistake':_0x3ec9ac(0xa6),'networkError':_0x3ec9ac(0x9a),'tooLarge':_0x3ec9ac(0x9f),'internalError':_0x3ec9ac(0xa1),'interrupt':_0x3ec9ac(0xa5),'fileTypeError':_0x3ec9ac(0xa4),'wait':'Harap\x20tunggu...','cancel':_0x3ec9ac(0xa7),'uploadAgain':_0x3ec9ac(0xa8)}};module[_0x3ec9ac(0xa3)]=e;
|
package/lib/cjs/locale/it-IT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x547cbe=_0x3531;function _0x3531(_0x53c9c6,_0x5cd9b5){_0x53c9c6=_0x53c9c6-0x67;const _0x29c28e=_0x29c2();let _0x353187=_0x29c28e[_0x53c9c6];return _0x353187;}(function(_0x4aa6c4,_0x1beb2c){const _0x467472=_0x3531,_0x18dc8d=_0x4aa6c4();while(!![]){try{const _0x3f3943=-parseInt(_0x467472(0x6e))/0x1+-parseInt(_0x467472(0x76))/0x2+-parseInt(_0x467472(0x6d))/0x3*(-parseInt(_0x467472(0x75))/0x4)+parseInt(_0x467472(0x6b))/0x5*(parseInt(_0x467472(0x71))/0x6)+parseInt(_0x467472(0x74))/0x7*(-parseInt(_0x467472(0x73))/0x8)+parseInt(_0x467472(0x6f))/0x9+parseInt(_0x467472(0x69))/0xa;if(_0x3f3943===_0x1beb2c)break;else _0x18dc8d['push'](_0x18dc8d['shift']());}catch(_0x3a6bb9){_0x18dc8d['push'](_0x18dc8d['shift']());}}}(_0x29c2,0x1a4ab));const e={'exchange-client':{'uploading':_0x547cbe(0x6a),'uploadSuccess':'File\x20caricato\x20con\x20successo','uploadSuccessTip':_0x547cbe(0x67),'downloading':_0x547cbe(0x68),'downloadSuccess':_0x547cbe(0x72),'unknownMistake':'Errore\x20sconosciuto','networkError':'Errore\x20di\x20rete','tooLarge':'I\x20dati\x20sono\x20troppo\x20grandi','internalError':'Errore\x20interno\x20sconosciuto','interrupt':'La\x20connessione\x20di\x20rete\x20è\x20stata\x20interrotta\x20e\x20il\x20caricamento\x20del\x20file\x20è\x20fallito','fileTypeError':'Il\x20file\x20selezionato\x20[{0}]\x20non\x20è\x20supportato\x20per\x20il\x20caricamento','wait':_0x547cbe(0x70),'cancel':_0x547cbe(0x77),'uploadAgain':_0x547cbe(0x6c)}};function _0x29c2(){const _0x3a5e06=['374032ijtsDA','Annulla','{0}\x20file\x20caricati\x20con\x20successo','Download\x20in\x20corso','1328450PqtvWA','Caricamento\x20in\x20corso','1755oTzLCB','Carica\x20di\x20nuovo','594141vYHQxE','121490oqeitx','32301FIpItJ','Attendi...','1758IvGYPU','Download\x20riuscito','169016jyPvJa','7XlSGdB','4lKPsGt'];_0x29c2=function(){return _0x3a5e06;};return _0x29c2();}module['exports']=e;
|