@univerjs-pro/collaboration-client 1.0.1 → 1.0.2
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/locale/zh-TW.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x18748f=_0x3ee8;(function(_0x35882b,_0x2e537d){const _0x2eae8d=_0x3ee8,_0x4e8bb1=_0x35882b();while(!![]){try{const _0x5926c6=parseInt(_0x2eae8d(0x143))/0x1+-parseInt(_0x2eae8d(0x151))/0x2+parseInt(_0x2eae8d(0x148))/0x3*(-parseInt(_0x2eae8d(0x146))/0x4)+parseInt(_0x2eae8d(0x155))/0x5*(-parseInt(_0x2eae8d(0x142))/0x6)+-parseInt(_0x2eae8d(0x14d))/0x7*(parseInt(_0x2eae8d(0x15b))/0x8)+-parseInt(_0x2eae8d(0x157))/0x9+parseInt(_0x2eae8d(0x14b))/0xa;if(_0x5926c6===_0x2e537d)break;else _0x4e8bb1['push'](_0x4e8bb1['shift']());}catch(_0x239a19){_0x4e8bb1['push'](_0x4e8bb1['shift']());}}}(_0x4608,0x965e0));function _0x4608(){const _0x1d8d67=['連線失敗,請檢查您的網路。','3ljkTzL','已離線,編輯將儲存在本機','正在擷取伺服器資料...','29980900lpWGkI','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','140315WZhOab','連線失敗,將在稍後重試連線。','伺服器未回應協作請求,您的編輯將儲存在本機。','沒有協作權限,您的編輯將暫存於本機。','739186eVRhth','加入協作失敗,您的編輯將暫存於本機。','同步中...','編輯衝突','70fkMFfp','點擊重新連線','9028971OceDnN','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','此文件協作人數已達上限,您的編輯將暫存於本機。','認證錯誤','8cqLnok','本機檔案','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','231198jtXvAn','150966IDhOuT','已同步','由於協作房間已關閉,編輯權限已被收回。','2403332BctIEN'];_0x4608=function(){return _0x1d8d67;};return _0x4608();}function _0x3ee8(_0xc14fe6,_0x863232){_0xc14fe6=_0xc14fe6-0x140;const _0x460844=_0x4608();let _0x3ee8cf=_0x460844[_0xc14fe6];return _0x3ee8cf;}const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x18748f(0x156)}},'collabStatus':{'fetchMiss':_0x18748f(0x14a),'conflict':_0x18748f(0x154),'notCollab':_0x18748f(0x15c),'synced':_0x18748f(0x144),'syncing':_0x18748f(0x153),'offline':_0x18748f(0x149)},'session':{'connection-failed':_0x18748f(0x147),'will-retry':_0x18748f(0x14e),'room-full':_0x18748f(0x159),'join-failed':_0x18748f(0x140),'room-not-exists':_0x18748f(0x152),'room-permission-denied':_0x18748f(0x150),'room-cnt-exceeds':'協作文件數量超過限制,您的編輯將暫存於本機。','collaboration-timeout':_0x18748f(0x14f)},'conflict':{'title':'協作衝突','content':'您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。'},'permission':{'title':_0x18748f(0x15a),'content':_0x18748f(0x141)},'collaboration':{'single-unit':{'warning':_0x18748f(0x14c)},'closeRoom':_0x18748f(0x145)},'auth':{'needGotoLoginAlert':_0x18748f(0x158)}}};export{e as default};
|
package/lib/umd/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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;}});}));
|
|
1
|
+
function _0x2c13(_0xf6b7e,_0x3148b5){_0xf6b7e=_0xf6b7e-0xec;const _0x4970ae=_0x4970();let _0x2c13b3=_0x4970ae[_0xf6b7e];return _0x2c13b3;}(function(_0x313c1c,_0x54a603){const _0x562dfc=_0x2c13,_0x3987b3=_0x313c1c();while(!![]){try{const _0x511f0b=parseInt(_0x562dfc(0x112))/0x1*(parseInt(_0x562dfc(0x13d))/0x2)+-parseInt(_0x562dfc(0x12a))/0x3+-parseInt(_0x562dfc(0xfb))/0x4*(parseInt(_0x562dfc(0x10b))/0x5)+-parseInt(_0x562dfc(0x126))/0x6+-parseInt(_0x562dfc(0x146))/0x7+-parseInt(_0x562dfc(0xf8))/0x8+parseInt(_0x562dfc(0x10e))/0x9;if(_0x511f0b===_0x54a603)break;else _0x3987b3['push'](_0x3987b3['shift']());}catch(_0x20553b){_0x3987b3['push'](_0x3987b3['shift']());}}}(_0x4970,0xa717d),function(_0x3be33f,_0x1970f3){const _0x495f82=_0x2c13;typeof exports==_0x495f82(0x13b)&&typeof module<'u'?_0x1970f3(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x495f82(0x124)&&define['amd']?define([_0x495f82(0x116),_0x495f82(0xef),_0x495f82(0x127),_0x495f82(0x118),_0x495f82(0xee),'rxjs'],_0x1970f3):(_0x3be33f=typeof globalThis<'u'?globalThis:_0x3be33f||self,_0x1970f3(_0x3be33f['UniverProCollaborationClientFacade']={},_0x3be33f['UniverProCollaborationClient'],_0x3be33f[_0x495f82(0x139)],_0x3be33f[_0x495f82(0x100)],_0x3be33f[_0x495f82(0x119)],_0x3be33f[_0x495f82(0x11e)]));}(this,function(_0x2aa6e2,_0x369473,_0x30e191,_0x1908eb,_0x30e20f,_0x1ae8fb){const _0x2d0b6b=_0x2c13;Object['defineProperty'](_0x2aa6e2,Symbol[_0x2d0b6b(0x107)],{'value':_0x2d0b6b(0x111)});var _0xe1bcfe=class extends _0x30e191[_0x2d0b6b(0x129)]{get[_0x2d0b6b(0x102)](){return _0x369473['CollaborationStatus'];}};_0x30e191[_0x2d0b6b(0x129)][_0x2d0b6b(0xf7)](_0xe1bcfe);var _0x18eea7=class extends _0x30e191['FEventName']{get[_0x2d0b6b(0x106)](){return'CollaborationStatusChanged';}};_0x30e191['FEventName']['extend'](_0x18eea7);function _0x602e99(_0x204d70,_0x1213b4){return function(_0x5b32a9,_0x5f3013){_0x1213b4(_0x5b32a9,_0x5f3013,_0x204d70);};}function _0x3b5d22(_0x368d63,_0x184f0e,_0x4e67a4,_0x1bd94d){const _0x3d0d96=_0x2d0b6b;var _0x5cf733=arguments[_0x3d0d96(0x14d)],_0x5c8bb1=_0x5cf733<0x3?_0x184f0e:_0x1bd94d===null?_0x1bd94d=Object[_0x3d0d96(0x11c)](_0x184f0e,_0x4e67a4):_0x1bd94d,_0x3a4656;if(typeof Reflect==_0x3d0d96(0x13b)&&typeof Reflect[_0x3d0d96(0x141)]==_0x3d0d96(0x124))_0x5c8bb1=Reflect['decorate'](_0x368d63,_0x184f0e,_0x4e67a4,_0x1bd94d);else{for(var _0x6c2923=_0x368d63[_0x3d0d96(0x14d)]-0x1;_0x6c2923>=0x0;_0x6c2923--)(_0x3a4656=_0x368d63[_0x6c2923])&&(_0x5c8bb1=(_0x5cf733<0x3?_0x3a4656(_0x5c8bb1):_0x5cf733>0x3?_0x3a4656(_0x184f0e,_0x4e67a4,_0x5c8bb1):_0x3a4656(_0x184f0e,_0x4e67a4))||_0x5c8bb1);}return _0x5cf733>0x3&&_0x5c8bb1&&Object[_0x3d0d96(0xec)](_0x184f0e,_0x4e67a4,_0x5c8bb1),_0x5c8bb1;}let _0x546303=class extends _0x30e191[_0x2d0b6b(0x13f)]{constructor(_0x3d46a7,_0x4e1bbb,_0x1c7911,_0x28957f,_0x3203da){const _0x5e61f7=_0x2d0b6b;super(),this[_0x5e61f7(0x12d)]=_0x3d46a7,this[_0x5e61f7(0x131)]=_0x4e1bbb,this[_0x5e61f7(0x130)]=_0x1c7911,this['_snapshotService']=_0x28957f,this[_0x5e61f7(0x13e)]=_0x3203da;}async['loadSheetAsync'](_0x49cd8b,_0xf3e5b7){const _0x5d1e81=_0x2d0b6b;return await this[_0x5d1e81(0x136)]['loadSheet'](_0x49cd8b,0x0,_0xf3e5b7)?(await this[_0x5d1e81(0x13e)]['readyForCollab'](_0x49cd8b),this[_0x5d1e81(0x12d)][_0x5d1e81(0x14b)](_0x49cd8b)):null;}async[_0x2d0b6b(0x10d)](_0x2e1daf,_0x3d2270){const _0x45a7b2=_0x2d0b6b;return await this[_0x45a7b2(0x136)]['loadDoc'](_0x2e1daf,0x0,_0x3d2270)?(await this['_collaborationController'][_0x45a7b2(0xed)](_0x2e1daf),this[_0x45a7b2(0x12d)][_0x45a7b2(0xff)](_0x2e1daf)):null;}async[_0x2d0b6b(0x132)](_0xdc7c70,_0x57dbf2){const _0x2c68bb=_0x2d0b6b;return await this[_0x2c68bb(0x136)][_0x2c68bb(0x114)](_0xdc7c70,0x0,_0x57dbf2)?(await this['_collaborationController']['readyForCollab'](_0xdc7c70),this[_0x2c68bb(0x12d)]['getBase'](_0xdc7c70)):null;}async[_0x2d0b6b(0x135)](_0x3d6d29,_0x2bd150){const _0x9f7144=_0x2d0b6b;return await this[_0x9f7144(0x136)][_0x9f7144(0x145)](_0x3d6d29,0x0,_0x2bd150)?(await this[_0x9f7144(0x13e)][_0x9f7144(0xed)](_0x3d6d29),this[_0x9f7144(0x12d)]['getPresentation'](_0x3d6d29)):null;}async[_0x2d0b6b(0x143)](_0x50fc1f,_0x873c64){const _0x264093=_0x2d0b6b;return await this[_0x264093(0x136)][_0x264093(0x134)](_0x50fc1f,0x0,_0x873c64)?(await this['_collaborationController']['readyForCollab'](_0x50fc1f),this[_0x264093(0x12d)][_0x264093(0x12f)](_0x50fc1f)):null;}async['loadPdfAsync'](_0x4aa54a,_0x489548){const _0x459e40=_0x2d0b6b;return await this[_0x459e40(0x136)][_0x459e40(0x10c)](_0x4aa54a,0x0,_0x489548)?(await this[_0x459e40(0x13e)][_0x459e40(0xed)](_0x4aa54a),this[_0x459e40(0x12d)][_0x459e40(0x149)](_0x4aa54a)):null;}[_0x2d0b6b(0x12e)](_0x1949a4,_0x17197d){const _0x3f38ef=_0x2d0b6b;let _0x1fa8fc=this[_0x3f38ef(0x131)][_0x3f38ef(0x123)](_0x369473[_0x3f38ef(0x147)])[_0x3f38ef(0x142)](_0x1949a4)[_0x3f38ef(0x110)]((0x0,_0x1ae8fb[_0x3f38ef(0xf1)])(_0xdd0b5a=>_0xdd0b5a[_0x3f38ef(0xf0)]))[_0x3f38ef(0xf5)](_0x41a2aa=>_0x17197d(Array[_0x3f38ef(0x120)](_0x41a2aa[_0x3f38ef(0x109)]())));return(0x0,_0x1908eb['toDisposable'])(_0x1fa8fc);}['getCollaborationStatus'](_0x3c9acc){const _0x44bf00=_0x2d0b6b;let _0x43b202=this['_resolveUnitId'](_0x3c9acc);if(!_0x43b202)return _0x369473['CollaborationStatus'][_0x44bf00(0xfd)];let _0xb5eaa2=this['_collaborationController'][_0x44bf00(0xf9)](_0x43b202);return(_0xb5eaa2==null?void 0x0:_0xb5eaa2['state']['status'])??_0x369473[_0x44bf00(0x102)][_0x44bf00(0xfd)];}[_0x2d0b6b(0x108)](_0x198b70,_0x5203e8={}){const _0x1aa279=_0x2d0b6b;let _0x5cdba8=this[_0x1aa279(0x137)](_0x198b70);if(!_0x5cdba8)return Promise[_0x1aa279(0xfe)](Error(_0x1aa279(0xf4)));let _0x33dfcc=this[_0x1aa279(0x13e)]['getCollabEntity'](_0x5cdba8);if(!_0x33dfcc)return Promise[_0x1aa279(0xfe)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x5cdba8+_0x1aa279(0x11a)));let _0x1fa5fc=_0x33dfcc[_0x1aa279(0x11b)]['status'];if(_0x1fa5fc===_0x369473[_0x1aa279(0x102)][_0x1aa279(0x117)])return Promise[_0x1aa279(0x140)]();let _0x2d6df9=_0xe7e1d(_0x5cdba8,_0x1fa5fc);if(_0x2d6df9)return Promise[_0x1aa279(0xfe)](_0x2d6df9);let _0x3b2ae9=_0x5203e8[_0x1aa279(0x14a)]??0x7530;return new Promise((_0x4264b5,_0x137073)=>{const _0x468654=_0x1aa279;let _0x412666=!0x1,_0x385177=null,_0x549f35=setTimeout(()=>{const _0x3e85c0=_0x2c13;_0x412666=!0x0,_0x385177==null||_0x385177[_0x3e85c0(0x122)](),_0x137073(Error(_0x3e85c0(0x10f)+_0x5cdba8+'\x22\x20after\x20'+_0x3b2ae9+_0x3e85c0(0x12b)));},_0x3b2ae9),_0x2c8c23=()=>{const _0x65d654=_0x2c13;_0x412666=!0x0,clearTimeout(_0x549f35),_0x385177==null||_0x385177[_0x65d654(0x122)]();};_0x385177=_0x33dfcc[_0x468654(0x13a)][_0x468654(0xf5)](_0x403c57=>{const _0x92994a=_0x468654;if(_0x412666)return;if(_0x403c57===_0x369473[_0x92994a(0x102)][_0x92994a(0x117)]){_0x2c8c23(),_0x4264b5();return;}let _0x47a6d5=_0xe7e1d(_0x5cdba8,_0x403c57);_0x47a6d5&&(_0x2c8c23(),_0x137073(_0x47a6d5));});});}[_0x2d0b6b(0x137)](_0x5cee69){const _0x5290d3=_0x2d0b6b;var _0x33f021;return _0x5cee69||((_0x33f021=this['_univerInstanceService'][_0x5290d3(0xf6)]())==null?void 0x0:_0x33f021[_0x5290d3(0x103)]());}};_0x546303=_0x3b5d22([_0x602e99(0x1,(0x0,_0x1908eb[_0x2d0b6b(0x148)])(_0x1908eb[_0x2d0b6b(0x101)])),_0x602e99(0x2,_0x1908eb[_0x2d0b6b(0x104)]),_0x602e99(0x3,(0x0,_0x1908eb[_0x2d0b6b(0x148)])(_0x30e20f[_0x2d0b6b(0x14c)])),_0x602e99(0x4,(0x0,_0x1908eb[_0x2d0b6b(0x148)])(_0x369473[_0x2d0b6b(0x125)]))],_0x546303);function _0xe7e1d(_0x8cf6aa,_0x275f9a){const _0xd91597=_0x2d0b6b;return _0x275f9a===_0x369473['CollaborationStatus']['CONFLICT']||_0x275f9a===_0x369473['CollaborationStatus'][_0xd91597(0xfd)]?Error('[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22'+_0x8cf6aa+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x275f9a+'.'):null;}var _0x5ef736=class extends _0x30e191[_0x2d0b6b(0x11f)]{[_0x2d0b6b(0x11d)](_0x154938){const _0x28709e=_0x2d0b6b;let _0x5d0671=_0x154938[_0x28709e(0x123)](_0x369473['CollaborationController']);this['disposeWithMe'](this[_0x28709e(0xf3)](this[_0x28709e(0x113)][_0x28709e(0x106)],()=>{const _0x3fd46d=_0x28709e;let _0xecda40=new _0x1908eb[(_0x3fd46d(0x12c))](),_0x3a54a5=_0x5d0671[_0x3fd46d(0x144)]['subscribe'](_0x1c1e74=>{const _0x5d4bf0=_0x3fd46d;let _0x50936b=_0x1c1e74[_0x5d4bf0(0x13a)][_0x5d4bf0(0xf5)](_0x121375=>{const _0x1db955=_0x5d4bf0;let _0x5d2894={'unitId':_0x1c1e74['unitID'],'status':_0x121375};this[_0x1db955(0x133)](this[_0x1db955(0x113)]['CollaborationStatusChanged'],_0x5d2894);});_0xecda40[_0x5d4bf0(0x13c)]((0x0,_0x1908eb[_0x5d4bf0(0x128)])(_0x50936b));});return _0xecda40[_0x3fd46d(0x13c)]((0x0,_0x1908eb[_0x3fd46d(0x128)])(_0x3a54a5)),_0xecda40;}));}[_0x2d0b6b(0xfa)](){const _0x1cd9ab=_0x2d0b6b;return this[_0x1cd9ab(0x131)]['createInstance'](_0x546303,{'getWorkbook':_0xe7504e=>this[_0x1cd9ab(0x14b)](_0xe7504e),'getDocument':_0x3d0cbd=>this['getDocument'](_0x3d0cbd),'getPresentation':_0x1677a3=>this[_0x1cd9ab(0x105)](_0x1677a3),'getBase':_0x4dcaa1=>this['getBase'](_0x4dcaa1),'getBoard':_0x536def=>this['getBoard'](_0x536def),'getPdf':_0xd9011f=>this['getPdf'](_0xd9011f)});}[_0x2d0b6b(0xf2)](_0x40e401,_0xce5eb4,_0x435d6e){const _0x428fc9=_0x2d0b6b;return this[_0x428fc9(0x131)][_0x428fc9(0x123)](_0x369473[_0x428fc9(0xfc)])[_0x428fc9(0x115)](_0x40e401,_0xce5eb4,_0x435d6e);}[_0x2d0b6b(0x10a)](_0x23feaa,_0x368779,_0x59b179){const _0x50cf6f=_0x2d0b6b;return this[_0x50cf6f(0x131)][_0x50cf6f(0x123)](_0x369473[_0x50cf6f(0xfc)])[_0x50cf6f(0x121)](_0x23feaa,_0x368779,_0x59b179);}};_0x30e191[_0x2d0b6b(0x11f)][_0x2d0b6b(0xf7)](_0x5ef736),Object[_0x2d0b6b(0xec)](_0x2aa6e2,_0x2d0b6b(0x138),{'enumerable':!0x0,'get':function(){return _0x546303;}});}));function _0x4970(){const _0x5c24b7=['getBoard','_univerInstanceService','_injector','loadBaseAsync','fireEvent','loadBoard','loadSlideAsync','_snapshotService','_resolveUnitId','FCollaboration','UniverCoreFacade','status$','object','add','140YYHikN','_collaborationController','FBase','resolve','decorate','waitForRoom$','loadBoardAsync','entityInit$','loadSlide','5450046YpNTHp','MemberService','Inject','getPdf','timeout','getWorkbook','SnapshotService','length','defineProperty','readyForCollab','@univerjs-pro/collaboration','@univerjs-pro/collaboration-client','members$','switchMap','loadServerUnit','registerEventHandler','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','subscribe','getFocusedUnit','extend','1457104TXcpRl','getCollabEntity','getCollaboration','456876BFGNJs','DataLoaderService','NOT_COLLAB','reject','getDocument','UniverCore','Injector','CollaborationStatus','getUnitId','IUniverInstanceService','getPresentation','CollaborationStatusChanged','toStringTag','flush','values','loadServerUnitOfRevision','35QECbsn','loadPdf','loadDocAsync','16895934KWQYOF','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','pipe','Module','18637EnJSzo','Event','loadBase','loadUnit','exports','SYNCED','@univerjs/core','UniverProCollaboration','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','state','getOwnPropertyDescriptor','_initialize','rxjs','FUniver','from','loadUnitOfRevision','unsubscribe','get','function','CollaborationController','2684802nntMzf','@univerjs/core/facade','toDisposable','FEnum','869361uUeuIN','ms.','DisposableCollection','_handler','subscribeCollaborators'];_0x4970=function(){return _0x5c24b7;};return _0x4970();}
|