@univerjs-pro/collaboration-client 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
- package/lib/types/controllers/config.schema.d.ts +0 -64
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3551(){const _0x248679=['4mZYuOy','getCollabEntity','function','entityInit$','DisposableCollection','getDocument','toStringTag','5193198ccWArx','getPdf','readyForCollab','from','getUnitId','pipe','_injector','SYNCED','ms.','fireEvent','FEnum','CollaborationStatus','loadServerUnitOfRevision','2455095PegupY','_univerInstanceService','6572584OuKDuH','getCollaborationStatus','1626462ruQYDm','loadBoard','getCollaboration','loadBase','get','DataLoaderService','loadBoardAsync','940753tmlHOg','timeout','loadPdf','CONFLICT','\x22\x20while\x20collaboration\x20status\x20is\x20','decorate','loadSlide','\x22\x20after\x20','_collaborationController','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','loadUnit','getPresentation','2ZbkLuh','toDisposable','loadSlideAsync','_handler','status$','flush','_resolveUnitId','loadBaseAsync','defineProperty','FUniver','@univerjs/core','_initialize','subscribeCollaborators','7ziRhhw','Inject','members$','CollaborationController','exports','getFocusedUnit','subscribe','add','UniverCoreFacade','@univerjs-pro/collaboration-client','20ETWnac','getBase','CollaborationStatusChanged','191909fiROXx','resolve','loadPdfAsync','UniverProCollaborationClientFacade','Module','getBoard','NOT_COLLAB','loadDoc','reject','createInstance','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','state','FCollaboration','SnapshotService','673131czbIAL','FEventName','IUniverInstanceService','getWorkbook','[FCollaboration]:\x20Unit\x20\x22','Event','@univerjs/core/facade','getOwnPropertyDescriptor','extend','rxjs','loadDocAsync','_snapshotService','UniverProCollaborationClient','status','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','registerEventHandler','loadUnitOfRevision','waitForRoom$','amd'];_0x3551=function(){return _0x248679;};return _0x3551();}function _0x1393(_0x22b651,_0x40c5c4){_0x22b651=_0x22b651-0x187;const _0x355125=_0x3551();let _0x1393c3=_0x355125[_0x22b651];return _0x1393c3;}(function(_0x5e212e,_0x52d497){const _0x50546d=_0x1393,_0x48662d=_0x5e212e();while(!![]){try{const _0x3cbe0a=-parseInt(_0x50546d(0x1c6))/0x1*(parseInt(_0x50546d(0x1ac))/0x2)+parseInt(_0x50546d(0x1d4))/0x3*(-parseInt(_0x50546d(0x1e7))/0x4)+parseInt(_0x50546d(0x195))/0x5+parseInt(_0x50546d(0x188))/0x6+parseInt(_0x50546d(0x1b9))/0x7*(-parseInt(_0x50546d(0x197))/0x8)+parseInt(_0x50546d(0x199))/0x9+-parseInt(_0x50546d(0x1c3))/0xa*(-parseInt(_0x50546d(0x1a0))/0xb);if(_0x3cbe0a===_0x52d497)break;else _0x48662d['push'](_0x48662d['shift']());}catch(_0x48eba6){_0x48662d['push'](_0x48662d['shift']());}}}(_0x3551,0x72db9),function(_0x2f9f1a,_0x1bd128){const _0xa7e516=_0x1393;typeof exports=='object'&&typeof module<'u'?_0x1bd128(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0xa7e516(0x1e9)&&define[_0xa7e516(0x1e6)]?define([_0xa7e516(0x1bd),_0xa7e516(0x1c2),_0xa7e516(0x1da),_0xa7e516(0x1b6),'@univerjs-pro/collaboration',_0xa7e516(0x1dd)],_0x1bd128):(_0x2f9f1a=typeof globalThis<'u'?globalThis:_0x2f9f1a||self,_0x1bd128(_0x2f9f1a[_0xa7e516(0x1c9)]={},_0x2f9f1a[_0xa7e516(0x1e0)],_0x2f9f1a[_0xa7e516(0x1c1)],_0x2f9f1a['UniverCore'],_0x2f9f1a['UniverProCollaboration'],_0x2f9f1a[_0xa7e516(0x1dd)]));}(this,function(_0x46989b,_0x39a569,_0x524c37,_0x1bc8d5,_0x2fa242,_0x13679f){const _0x567f1f=_0x1393;Object[_0x567f1f(0x1b4)](_0x46989b,Symbol[_0x567f1f(0x187)],{'value':_0x567f1f(0x1ca)});var _0x1fb9d2=class extends _0x524c37[_0x567f1f(0x192)]{get[_0x567f1f(0x193)](){return _0x39a569['CollaborationStatus'];}};_0x524c37[_0x567f1f(0x192)][_0x567f1f(0x1dc)](_0x1fb9d2);var _0xf19471=class extends _0x524c37[_0x567f1f(0x1d5)]{get[_0x567f1f(0x1c5)](){const _0x49a16e=_0x567f1f;return _0x49a16e(0x1c5);}};_0x524c37[_0x567f1f(0x1d5)][_0x567f1f(0x1dc)](_0xf19471);function _0x542874(_0x310511,_0x23c2c8){return function(_0x34992f,_0x11a991){_0x23c2c8(_0x34992f,_0x11a991,_0x310511);};}function _0x2be3ba(_0x1929b9,_0x4d8980,_0x1a9e5f,_0x2f9869){const _0x2dfc52=_0x567f1f;var _0x59bb14=arguments['length'],_0x10fa8b=_0x59bb14<0x3?_0x4d8980:_0x2f9869===null?_0x2f9869=Object[_0x2dfc52(0x1db)](_0x4d8980,_0x1a9e5f):_0x2f9869,_0x3aed36;if(typeof Reflect=='object'&&typeof Reflect[_0x2dfc52(0x1a5)]==_0x2dfc52(0x1e9))_0x10fa8b=Reflect[_0x2dfc52(0x1a5)](_0x1929b9,_0x4d8980,_0x1a9e5f,_0x2f9869);else{for(var _0x51668e=_0x1929b9['length']-0x1;_0x51668e>=0x0;_0x51668e--)(_0x3aed36=_0x1929b9[_0x51668e])&&(_0x10fa8b=(_0x59bb14<0x3?_0x3aed36(_0x10fa8b):_0x59bb14>0x3?_0x3aed36(_0x4d8980,_0x1a9e5f,_0x10fa8b):_0x3aed36(_0x4d8980,_0x1a9e5f))||_0x10fa8b);}return _0x59bb14>0x3&&_0x10fa8b&&Object[_0x2dfc52(0x1b4)](_0x4d8980,_0x1a9e5f,_0x10fa8b),_0x10fa8b;}let _0x3eec9d=class extends _0x524c37['FBase']{constructor(_0x18b09c,_0x2826d1,_0x251b65,_0x1c5488,_0xf6c3af){const _0x12e0ce=_0x567f1f;super(),this[_0x12e0ce(0x1af)]=_0x18b09c,this[_0x12e0ce(0x18e)]=_0x2826d1,this['_univerInstanceService']=_0x251b65,this[_0x12e0ce(0x1df)]=_0x1c5488,this[_0x12e0ce(0x1a8)]=_0xf6c3af;}async['loadSheetAsync'](_0x4b1409,_0x53b7ed){const _0x1d2340=_0x567f1f;return await this[_0x1d2340(0x1df)]['loadSheet'](_0x4b1409,0x0,_0x53b7ed)?(await this[_0x1d2340(0x1a8)][_0x1d2340(0x18a)](_0x4b1409),this[_0x1d2340(0x1af)][_0x1d2340(0x1d7)](_0x4b1409)):null;}async[_0x567f1f(0x1de)](_0x5c5991,_0x3eb7c5){const _0x536f83=_0x567f1f;return await this['_snapshotService'][_0x536f83(0x1cd)](_0x5c5991,0x0,_0x3eb7c5)?(await this[_0x536f83(0x1a8)][_0x536f83(0x18a)](_0x5c5991),this[_0x536f83(0x1af)]['getDocument'](_0x5c5991)):null;}async[_0x567f1f(0x1b3)](_0x4e6749,_0x510b5d){const _0x6a50ee=_0x567f1f;return await this[_0x6a50ee(0x1df)][_0x6a50ee(0x19c)](_0x4e6749,0x0,_0x510b5d)?(await this[_0x6a50ee(0x1a8)]['readyForCollab'](_0x4e6749),this[_0x6a50ee(0x1af)][_0x6a50ee(0x1c4)](_0x4e6749)):null;}async[_0x567f1f(0x1ae)](_0x8ae34d,_0x18e808){const _0x4cdcec=_0x567f1f;return await this['_snapshotService'][_0x4cdcec(0x1a6)](_0x8ae34d,0x0,_0x18e808)?(await this[_0x4cdcec(0x1a8)]['readyForCollab'](_0x8ae34d),this[_0x4cdcec(0x1af)]['getPresentation'](_0x8ae34d)):null;}async[_0x567f1f(0x19f)](_0x7a1b9c,_0x95f556){const _0x49fbc0=_0x567f1f;return await this[_0x49fbc0(0x1df)][_0x49fbc0(0x19a)](_0x7a1b9c,0x0,_0x95f556)?(await this[_0x49fbc0(0x1a8)]['readyForCollab'](_0x7a1b9c),this['_handler'][_0x49fbc0(0x1cb)](_0x7a1b9c)):null;}async[_0x567f1f(0x1c8)](_0x473277,_0x4bcaf8){const _0x33056a=_0x567f1f;return await this[_0x33056a(0x1df)][_0x33056a(0x1a2)](_0x473277,0x0,_0x4bcaf8)?(await this[_0x33056a(0x1a8)][_0x33056a(0x18a)](_0x473277),this[_0x33056a(0x1af)][_0x33056a(0x189)](_0x473277)):null;}[_0x567f1f(0x1b8)](_0x50ff83,_0x1c05a7){const _0x10498c=_0x567f1f;let _0x466d24=this['_injector'][_0x10498c(0x19d)](_0x39a569['MemberService'])[_0x10498c(0x1e5)](_0x50ff83)[_0x10498c(0x18d)]((0x0,_0x13679f['switchMap'])(_0x306df2=>_0x306df2[_0x10498c(0x1bb)]))[_0x10498c(0x1bf)](_0x1c4bc6=>_0x1c05a7(Array[_0x10498c(0x18b)](_0x1c4bc6['values']())));return(0x0,_0x1bc8d5[_0x10498c(0x1ad)])(_0x466d24);}[_0x567f1f(0x198)](_0x39f73f){const _0xb124=_0x567f1f;let _0x266d9c=this[_0xb124(0x1b2)](_0x39f73f);if(!_0x266d9c)return _0x39a569['CollaborationStatus'][_0xb124(0x1cc)];let _0x3325e9=this[_0xb124(0x1a8)]['getCollabEntity'](_0x266d9c);return(_0x3325e9==null?void 0x0:_0x3325e9[_0xb124(0x1d1)][_0xb124(0x1e1)])??_0x39a569[_0xb124(0x193)]['NOT_COLLAB'];}[_0x567f1f(0x1b1)](_0x2eb859,_0x520306={}){const _0x27f2a3=_0x567f1f;let _0x9e56e2=this[_0x27f2a3(0x1b2)](_0x2eb859);if(!_0x9e56e2)return Promise[_0x27f2a3(0x1ce)](Error(_0x27f2a3(0x1d0)));let _0x299e51=this[_0x27f2a3(0x1a8)][_0x27f2a3(0x1e8)](_0x9e56e2);if(!_0x299e51)return Promise['reject'](Error(_0x27f2a3(0x1d8)+_0x9e56e2+'\x22\x20is\x20not\x20in\x20collaboration\x20mode.'));let _0x29f071=_0x299e51[_0x27f2a3(0x1d1)][_0x27f2a3(0x1e1)];if(_0x29f071===_0x39a569[_0x27f2a3(0x193)][_0x27f2a3(0x18f)])return Promise[_0x27f2a3(0x1c7)]();let _0x507f51=_0x16a2bc(_0x9e56e2,_0x29f071);if(_0x507f51)return Promise[_0x27f2a3(0x1ce)](_0x507f51);let _0x2ea6dd=_0x520306[_0x27f2a3(0x1a1)]??0x7530;return new Promise((_0x3f4d11,_0x546d9e)=>{const _0x431ffa=_0x27f2a3;let _0x33ac36=!0x1,_0x51d371=null,_0x1ac0a9=setTimeout(()=>{const _0x541687=_0x1393;_0x33ac36=!0x0,_0x51d371==null||_0x51d371['unsubscribe'](),_0x546d9e(Error(_0x541687(0x1e2)+_0x9e56e2+_0x541687(0x1a7)+_0x2ea6dd+_0x541687(0x190)));},_0x2ea6dd),_0x202727=()=>{_0x33ac36=!0x0,clearTimeout(_0x1ac0a9),_0x51d371==null||_0x51d371['unsubscribe']();};_0x51d371=_0x299e51[_0x431ffa(0x1b0)]['subscribe'](_0xb6783a=>{const _0x4e8398=_0x431ffa;if(_0x33ac36)return;if(_0xb6783a===_0x39a569[_0x4e8398(0x193)]['SYNCED']){_0x202727(),_0x3f4d11();return;}let _0x41ced6=_0x16a2bc(_0x9e56e2,_0xb6783a);_0x41ced6&&(_0x202727(),_0x546d9e(_0x41ced6));});});}['_resolveUnitId'](_0x264b24){const _0x1bcab4=_0x567f1f;var _0x5087f3;return _0x264b24||((_0x5087f3=this[_0x1bcab4(0x196)][_0x1bcab4(0x1be)]())==null?void 0x0:_0x5087f3[_0x1bcab4(0x18c)]());}};_0x3eec9d=_0x2be3ba([_0x542874(0x1,(0x0,_0x1bc8d5[_0x567f1f(0x1ba)])(_0x1bc8d5['Injector'])),_0x542874(0x2,_0x1bc8d5[_0x567f1f(0x1d6)]),_0x542874(0x3,(0x0,_0x1bc8d5['Inject'])(_0x2fa242[_0x567f1f(0x1d3)])),_0x542874(0x4,(0x0,_0x1bc8d5[_0x567f1f(0x1ba)])(_0x39a569[_0x567f1f(0x1bc)]))],_0x3eec9d);function _0x16a2bc(_0x44e42e,_0x21c320){const _0x46240d=_0x567f1f;return _0x21c320===_0x39a569[_0x46240d(0x193)][_0x46240d(0x1a3)]||_0x21c320===_0x39a569[_0x46240d(0x193)][_0x46240d(0x1cc)]?Error(_0x46240d(0x1a9)+_0x44e42e+_0x46240d(0x1a4)+_0x21c320+'.'):null;}var _0x2ee084=class extends _0x524c37[_0x567f1f(0x1b5)]{[_0x567f1f(0x1b7)](_0x32b3c4){const _0x4cdd67=_0x567f1f;let _0x26882f=_0x32b3c4['get'](_0x39a569['CollaborationController']);this['disposeWithMe'](this[_0x4cdd67(0x1e3)](this[_0x4cdd67(0x1d9)][_0x4cdd67(0x1c5)],()=>{const _0x586f48=_0x4cdd67;let _0x4db928=new _0x1bc8d5[(_0x586f48(0x1eb))](),_0x1b60b6=_0x26882f[_0x586f48(0x1ea)]['subscribe'](_0x5f114f=>{const _0x467fa2=_0x586f48;let _0x23c915=_0x5f114f[_0x467fa2(0x1b0)][_0x467fa2(0x1bf)](_0xccb2b0=>{const _0x1c2080=_0x467fa2;let _0x442b30={'unitId':_0x5f114f['unitID'],'status':_0xccb2b0};this[_0x1c2080(0x191)](this[_0x1c2080(0x1d9)][_0x1c2080(0x1c5)],_0x442b30);});_0x4db928[_0x467fa2(0x1c0)]((0x0,_0x1bc8d5[_0x467fa2(0x1ad)])(_0x23c915));});return _0x4db928[_0x586f48(0x1c0)]((0x0,_0x1bc8d5[_0x586f48(0x1ad)])(_0x1b60b6)),_0x4db928;}));}[_0x567f1f(0x19b)](){const _0xf2df44=_0x567f1f;return this['_injector'][_0xf2df44(0x1cf)](_0x3eec9d,{'getWorkbook':_0x5117dd=>this['getWorkbook'](_0x5117dd),'getDocument':_0x4cdc82=>this[_0xf2df44(0x1ec)](_0x4cdc82),'getPresentation':_0x5347ae=>this[_0xf2df44(0x1ab)](_0x5347ae),'getBase':_0x337e75=>this[_0xf2df44(0x1c4)](_0x337e75),'getBoard':_0x30a9e2=>this[_0xf2df44(0x1cb)](_0x30a9e2),'getPdf':_0x3cdc36=>this['getPdf'](_0x3cdc36)});}['loadServerUnit'](_0x206974,_0x190e98,_0x220412){const _0x31d132=_0x567f1f;return this[_0x31d132(0x18e)][_0x31d132(0x19d)](_0x39a569['DataLoaderService'])[_0x31d132(0x1aa)](_0x206974,_0x190e98,_0x220412);}[_0x567f1f(0x194)](_0x27831e,_0x2cc7d9,_0x1836f6){const _0x1ab55a=_0x567f1f;return this[_0x1ab55a(0x18e)]['get'](_0x39a569[_0x1ab55a(0x19e)])[_0x1ab55a(0x1e4)](_0x27831e,_0x2cc7d9,_0x1836f6);}};_0x524c37[_0x567f1f(0x1b5)]['extend'](_0x2ee084),Object[_0x567f1f(0x1b4)](_0x46989b,_0x567f1f(0x1d2),{'enumerable':!0x0,'get':function(){return _0x3eec9d;}});}));
|
|
1
|
+
function _0xdfcd(){const _0x437f81=['CollaborationController','_handler','49707zAeFVB','Inject','function','599418OrKEsn','NOT_COLLAB','1375356KIGqmt','exports','loadSheetAsync','DataLoaderService','DisposableCollection','FCollaboration','UniverCoreFacade','loadDoc','UniverCore','UniverProCollaborationClient','@univerjs-pro/collaboration','switchMap','loadBoardAsync','FEnum','subscribe','status','getOwnPropertyDescriptor','createInstance','entityInit$','pipe','@univerjs/core/facade','Event','CONFLICT','loadPdfAsync','@univerjs-pro/collaboration-client','values','UniverProCollaboration','getCollaboration','loadPdf','flush','IUniverInstanceService','waitForRoom$','add','_collaborationController','status$','8677590kslcmR','_injector','_univerInstanceService','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','getWorkbook','from','extend','state','decorate','subscribeCollaborators','loadBase','getDocument','getPdf','32hmqzqW','toDisposable','708AhFmbU','toStringTag','SnapshotService','6108yDkWVa','timeout','loadUnitOfRevision','@univerjs/core','get','rxjs','readyForCollab','reject','defineProperty','members$','length','unitID','Injector','2930fmMGwf','loadDocAsync','getCollabEntity','SYNCED','UniverProCollaborationClientFacade','loadUnit','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','amd','fireEvent','getCollaborationStatus','loadServerUnitOfRevision','\x22\x20after\x20','loadSlideAsync','getBase','MemberService','CollaborationStatusChanged','154CwCZtp','getUnitId','3RPPeNM','registerEventHandler','CollaborationStatus','FUniver','_snapshotService','_resolveUnitId','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','FEventName','562577PEBazW','object','loadSlide','unsubscribe','1669238kCbKES','loadServerUnit','disposeWithMe'];_0xdfcd=function(){return _0x437f81;};return _0xdfcd();}function _0x45c2(_0x390010,_0x2d8b72){_0x390010=_0x390010-0x18f;const _0xdfcd15=_0xdfcd();let _0x45c2d9=_0xdfcd15[_0x390010];return _0x45c2d9;}(function(_0x482365,_0xe0f638){const _0x376ca8=_0x45c2,_0x1356ad=_0x482365();while(!![]){try{const _0x28e7d2=-parseInt(_0x376ca8(0x1f9))/0x1+parseInt(_0x376ca8(0x192))/0x2*(-parseInt(_0x376ca8(0x1f1))/0x3)+parseInt(_0x376ca8(0x1d2))/0x4*(-parseInt(_0x376ca8(0x1df))/0x5)+parseInt(_0x376ca8(0x1cf))/0x6*(parseInt(_0x376ca8(0x197))/0x7)+parseInt(_0x376ca8(0x1cd))/0x8*(-parseInt(_0x376ca8(0x19a))/0x9)+parseInt(_0x376ca8(0x1bf))/0xa+parseInt(_0x376ca8(0x1ef))/0xb*(parseInt(_0x376ca8(0x19c))/0xc);if(_0x28e7d2===_0xe0f638)break;else _0x1356ad['push'](_0x1356ad['shift']());}catch(_0x3e7fb3){_0x1356ad['push'](_0x1356ad['shift']());}}}(_0xdfcd,0xb78d9),function(_0x2a0ffa,_0x2f463e){const _0x3c280a=_0x45c2;typeof exports=='object'&&typeof module<'u'?_0x2f463e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x3c280a(0x199)&&define[_0x3c280a(0x1e6)]?define([_0x3c280a(0x19d),_0x3c280a(0x1b4),_0x3c280a(0x1b0),_0x3c280a(0x1d5),_0x3c280a(0x1a6),_0x3c280a(0x1d7)],_0x2f463e):(_0x2a0ffa=typeof globalThis<'u'?globalThis:_0x2a0ffa||self,_0x2f463e(_0x2a0ffa[_0x3c280a(0x1e3)]={},_0x2a0ffa[_0x3c280a(0x1a5)],_0x2a0ffa[_0x3c280a(0x1a2)],_0x2a0ffa[_0x3c280a(0x1a4)],_0x2a0ffa[_0x3c280a(0x1b6)],_0x2a0ffa[_0x3c280a(0x1d7)]));}(this,function(_0x27a369,_0x2b0af0,_0x365aae,_0x5c873f,_0x2f70f4,_0x19232d){const _0x46c129=_0x45c2;Object['defineProperty'](_0x27a369,Symbol[_0x46c129(0x1d0)],{'value':'Module'});var _0x44c836=class extends _0x365aae[_0x46c129(0x1a9)]{get[_0x46c129(0x1f3)](){const _0xa1d5=_0x46c129;return _0x2b0af0[_0xa1d5(0x1f3)];}};_0x365aae[_0x46c129(0x1a9)][_0x46c129(0x1c6)](_0x44c836);var _0x50a8eb=class extends _0x365aae[_0x46c129(0x1f8)]{get[_0x46c129(0x1ee)](){return'CollaborationStatusChanged';}};_0x365aae[_0x46c129(0x1f8)][_0x46c129(0x1c6)](_0x50a8eb);function _0x5e9676(_0x5df10d,_0x1b1c70){return function(_0x307e07,_0x3d537a){_0x1b1c70(_0x307e07,_0x3d537a,_0x5df10d);};}function _0x6a9d04(_0x46c0db,_0x2837b4,_0x38006d,_0x577af4){const _0x394ec8=_0x46c129;var _0x48e201=arguments[_0x394ec8(0x1dc)],_0x2068be=_0x48e201<0x3?_0x2837b4:_0x577af4===null?_0x577af4=Object[_0x394ec8(0x1ac)](_0x2837b4,_0x38006d):_0x577af4,_0x2fdb81;if(typeof Reflect==_0x394ec8(0x18f)&&typeof Reflect[_0x394ec8(0x1c8)]==_0x394ec8(0x199))_0x2068be=Reflect[_0x394ec8(0x1c8)](_0x46c0db,_0x2837b4,_0x38006d,_0x577af4);else{for(var _0x2d265b=_0x46c0db[_0x394ec8(0x1dc)]-0x1;_0x2d265b>=0x0;_0x2d265b--)(_0x2fdb81=_0x46c0db[_0x2d265b])&&(_0x2068be=(_0x48e201<0x3?_0x2fdb81(_0x2068be):_0x48e201>0x3?_0x2fdb81(_0x2837b4,_0x38006d,_0x2068be):_0x2fdb81(_0x2837b4,_0x38006d))||_0x2068be);}return _0x48e201>0x3&&_0x2068be&&Object[_0x394ec8(0x1da)](_0x2837b4,_0x38006d,_0x2068be),_0x2068be;}let _0x2b77a0=class extends _0x365aae['FBase']{constructor(_0x2b2d4d,_0x5ce2dd,_0x4f55f3,_0x178dae,_0x3c6915){const _0x492925=_0x46c129;super(),this[_0x492925(0x196)]=_0x2b2d4d,this[_0x492925(0x1c0)]=_0x5ce2dd,this['_univerInstanceService']=_0x4f55f3,this[_0x492925(0x1f5)]=_0x178dae,this[_0x492925(0x1bd)]=_0x3c6915;}async[_0x46c129(0x19e)](_0x45411d,_0x56b174){const _0x2f8497=_0x46c129;return await this[_0x2f8497(0x1f5)]['loadSheet'](_0x45411d,0x0,_0x56b174)?(await this['_collaborationController'][_0x2f8497(0x1d8)](_0x45411d),this['_handler'][_0x2f8497(0x1c4)](_0x45411d)):null;}async[_0x46c129(0x1e0)](_0x3bb08c,_0x2f82f6){const _0x49cc72=_0x46c129;return await this['_snapshotService'][_0x49cc72(0x1a3)](_0x3bb08c,0x0,_0x2f82f6)?(await this[_0x49cc72(0x1bd)][_0x49cc72(0x1d8)](_0x3bb08c),this[_0x49cc72(0x196)]['getDocument'](_0x3bb08c)):null;}async['loadBaseAsync'](_0x2f24c4,_0x59e31a){const _0x58858e=_0x46c129;return await this[_0x58858e(0x1f5)][_0x58858e(0x1ca)](_0x2f24c4,0x0,_0x59e31a)?(await this['_collaborationController'][_0x58858e(0x1d8)](_0x2f24c4),this[_0x58858e(0x196)]['getBase'](_0x2f24c4)):null;}async[_0x46c129(0x1eb)](_0x5eac42,_0x5e0113){const _0x407323=_0x46c129;return await this[_0x407323(0x1f5)][_0x407323(0x190)](_0x5eac42,0x0,_0x5e0113)?(await this['_collaborationController'][_0x407323(0x1d8)](_0x5eac42),this[_0x407323(0x196)]['getPresentation'](_0x5eac42)):null;}async[_0x46c129(0x1a8)](_0x2e6896,_0x13bf99){const _0x5c32da=_0x46c129;return await this[_0x5c32da(0x1f5)]['loadBoard'](_0x2e6896,0x0,_0x13bf99)?(await this['_collaborationController']['readyForCollab'](_0x2e6896),this[_0x5c32da(0x196)]['getBoard'](_0x2e6896)):null;}async[_0x46c129(0x1b3)](_0x3e3962,_0xbbbfde){const _0x2f359e=_0x46c129;return await this[_0x2f359e(0x1f5)][_0x2f359e(0x1b8)](_0x3e3962,0x0,_0xbbbfde)?(await this['_collaborationController'][_0x2f359e(0x1d8)](_0x3e3962),this['_handler']['getPdf'](_0x3e3962)):null;}[_0x46c129(0x1c9)](_0xe61ea4,_0x5ee6ba){const _0x1cad57=_0x46c129;let _0xed9a25=this[_0x1cad57(0x1c0)][_0x1cad57(0x1d6)](_0x2b0af0[_0x1cad57(0x1ed)])[_0x1cad57(0x1bb)](_0xe61ea4)[_0x1cad57(0x1af)]((0x0,_0x19232d[_0x1cad57(0x1a7)])(_0x5c4867=>_0x5c4867[_0x1cad57(0x1db)]))['subscribe'](_0x5e2814=>_0x5ee6ba(Array[_0x1cad57(0x1c5)](_0x5e2814[_0x1cad57(0x1b5)]())));return(0x0,_0x5c873f[_0x1cad57(0x1ce)])(_0xed9a25);}[_0x46c129(0x1e8)](_0x11e863){const _0x16d0b6=_0x46c129;let _0x1ec69d=this[_0x16d0b6(0x1f6)](_0x11e863);if(!_0x1ec69d)return _0x2b0af0['CollaborationStatus'][_0x16d0b6(0x19b)];let _0x26578e=this[_0x16d0b6(0x1bd)][_0x16d0b6(0x1e1)](_0x1ec69d);return(_0x26578e==null?void 0x0:_0x26578e[_0x16d0b6(0x1c7)][_0x16d0b6(0x1ab)])??_0x2b0af0['CollaborationStatus'][_0x16d0b6(0x19b)];}[_0x46c129(0x1b9)](_0x51db16,_0x1bc29b={}){const _0x1a1dc1=_0x46c129;let _0x58d73b=this[_0x1a1dc1(0x1f6)](_0x51db16);if(!_0x58d73b)return Promise[_0x1a1dc1(0x1d9)](Error(_0x1a1dc1(0x1c3)));let _0x2a1dec=this['_collaborationController'][_0x1a1dc1(0x1e1)](_0x58d73b);if(!_0x2a1dec)return Promise[_0x1a1dc1(0x1d9)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x58d73b+_0x1a1dc1(0x1c2)));let _0xeb12f1=_0x2a1dec[_0x1a1dc1(0x1c7)]['status'];if(_0xeb12f1===_0x2b0af0['CollaborationStatus'][_0x1a1dc1(0x1e2)])return Promise['resolve']();let _0x427e35=_0x45fbbe(_0x58d73b,_0xeb12f1);if(_0x427e35)return Promise['reject'](_0x427e35);let _0x3a47cd=_0x1bc29b[_0x1a1dc1(0x1d3)]??0x7530;return new Promise((_0x3fc2d0,_0x24adbf)=>{const _0x169a9b=_0x1a1dc1;let _0x151a27=!0x1,_0x32df82=null,_0x1a17b5=setTimeout(()=>{const _0x1ca552=_0x45c2;_0x151a27=!0x0,_0x32df82==null||_0x32df82[_0x1ca552(0x191)](),_0x24adbf(Error(_0x1ca552(0x1e5)+_0x58d73b+_0x1ca552(0x1ea)+_0x3a47cd+'ms.'));},_0x3a47cd),_0x1356e8=()=>{const _0x1de7cf=_0x45c2;_0x151a27=!0x0,clearTimeout(_0x1a17b5),_0x32df82==null||_0x32df82[_0x1de7cf(0x191)]();};_0x32df82=_0x2a1dec[_0x169a9b(0x1be)][_0x169a9b(0x1aa)](_0x33e4ee=>{const _0x39d38b=_0x169a9b;if(_0x151a27)return;if(_0x33e4ee===_0x2b0af0[_0x39d38b(0x1f3)][_0x39d38b(0x1e2)]){_0x1356e8(),_0x3fc2d0();return;}let _0x35cdad=_0x45fbbe(_0x58d73b,_0x33e4ee);_0x35cdad&&(_0x1356e8(),_0x24adbf(_0x35cdad));});});}[_0x46c129(0x1f6)](_0xd33157){const _0x513637=_0x46c129;var _0x15463d;return _0xd33157||((_0x15463d=this[_0x513637(0x1c1)]['getFocusedUnit']())==null?void 0x0:_0x15463d[_0x513637(0x1f0)]());}};_0x2b77a0=_0x6a9d04([_0x5e9676(0x1,(0x0,_0x5c873f[_0x46c129(0x198)])(_0x5c873f[_0x46c129(0x1de)])),_0x5e9676(0x2,_0x5c873f[_0x46c129(0x1ba)]),_0x5e9676(0x3,(0x0,_0x5c873f[_0x46c129(0x198)])(_0x2f70f4[_0x46c129(0x1d1)])),_0x5e9676(0x4,(0x0,_0x5c873f[_0x46c129(0x198)])(_0x2b0af0[_0x46c129(0x195)]))],_0x2b77a0);function _0x45fbbe(_0x574b99,_0x3c1d4c){const _0xf8c55b=_0x46c129;return _0x3c1d4c===_0x2b0af0[_0xf8c55b(0x1f3)][_0xf8c55b(0x1b2)]||_0x3c1d4c===_0x2b0af0['CollaborationStatus'][_0xf8c55b(0x19b)]?Error(_0xf8c55b(0x1f7)+_0x574b99+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x3c1d4c+'.'):null;}var _0x2a94cc=class extends _0x365aae[_0x46c129(0x1f4)]{['_initialize'](_0x4cce96){const _0x130a11=_0x46c129;let _0x376f2b=_0x4cce96[_0x130a11(0x1d6)](_0x2b0af0[_0x130a11(0x195)]);this[_0x130a11(0x194)](this[_0x130a11(0x1f2)](this['Event'][_0x130a11(0x1ee)],()=>{const _0x1d5662=_0x130a11;let _0x4c298f=new _0x5c873f[(_0x1d5662(0x1a0))](),_0x5c823a=_0x376f2b[_0x1d5662(0x1ae)][_0x1d5662(0x1aa)](_0x59b8af=>{const _0x14b735=_0x1d5662;let _0x1a7652=_0x59b8af['status$'][_0x14b735(0x1aa)](_0x5900c9=>{const _0x5aaa9=_0x14b735;let _0x435431={'unitId':_0x59b8af[_0x5aaa9(0x1dd)],'status':_0x5900c9};this[_0x5aaa9(0x1e7)](this[_0x5aaa9(0x1b1)][_0x5aaa9(0x1ee)],_0x435431);});_0x4c298f[_0x14b735(0x1bc)]((0x0,_0x5c873f[_0x14b735(0x1ce)])(_0x1a7652));});return _0x4c298f['add']((0x0,_0x5c873f['toDisposable'])(_0x5c823a)),_0x4c298f;}));}[_0x46c129(0x1b7)](){const _0x1f2c48=_0x46c129;return this['_injector'][_0x1f2c48(0x1ad)](_0x2b77a0,{'getWorkbook':_0xf3c8a8=>this[_0x1f2c48(0x1c4)](_0xf3c8a8),'getDocument':_0x3dc82d=>this[_0x1f2c48(0x1cb)](_0x3dc82d),'getPresentation':_0x49009a=>this['getPresentation'](_0x49009a),'getBase':_0x9f0638=>this[_0x1f2c48(0x1ec)](_0x9f0638),'getBoard':_0x5b2267=>this['getBoard'](_0x5b2267),'getPdf':_0x77e7fe=>this[_0x1f2c48(0x1cc)](_0x77e7fe)});}[_0x46c129(0x193)](_0x1d08f7,_0x454ebf,_0x19faa5){const _0x47054f=_0x46c129;return this[_0x47054f(0x1c0)]['get'](_0x2b0af0['DataLoaderService'])[_0x47054f(0x1e4)](_0x1d08f7,_0x454ebf,_0x19faa5);}[_0x46c129(0x1e9)](_0x7f6287,_0x40b27a,_0xa61c83){const _0x32e782=_0x46c129;return this[_0x32e782(0x1c0)][_0x32e782(0x1d6)](_0x2b0af0[_0x32e782(0x19f)])[_0x32e782(0x1d4)](_0x7f6287,_0x40b27a,_0xa61c83);}};_0x365aae['FUniver'][_0x46c129(0x1c6)](_0x2a94cc),Object[_0x46c129(0x1da)](_0x27a369,_0x46c129(0x1a1),{'enumerable':!0x0,'get':function(){return _0x2b77a0;}});}));
|