@univerjs-pro/collaboration-client 1.0.0-alpha.8 → 1.0.0-beta.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.
Files changed (87) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ar-SA.js +1 -1
  4. package/lib/cjs/locale/ca-ES.js +1 -1
  5. package/lib/cjs/locale/de-DE.js +1 -1
  6. package/lib/cjs/locale/en-US.js +1 -1
  7. package/lib/cjs/locale/es-ES.js +1 -1
  8. package/lib/cjs/locale/fa-IR.js +1 -1
  9. package/lib/cjs/locale/fr-FR.js +1 -1
  10. package/lib/cjs/locale/id-ID.js +1 -1
  11. package/lib/cjs/locale/it-IT.js +1 -1
  12. package/lib/cjs/locale/ja-JP.js +1 -1
  13. package/lib/cjs/locale/ko-KR.js +1 -1
  14. package/lib/cjs/locale/pl-PL.js +1 -1
  15. package/lib/cjs/locale/pt-BR.js +1 -1
  16. package/lib/cjs/locale/ru-RU.js +1 -1
  17. package/lib/cjs/locale/sk-SK.js +1 -1
  18. package/lib/cjs/locale/vi-VN.js +1 -1
  19. package/lib/cjs/locale/zh-CN.js +1 -1
  20. package/lib/cjs/locale/zh-HK.js +1 -1
  21. package/lib/cjs/locale/zh-TW.js +1 -1
  22. package/lib/es/facade.js +1 -1
  23. package/lib/es/index.js +1 -1
  24. package/lib/es/locale/ar-SA.js +1 -1
  25. package/lib/es/locale/ca-ES.js +1 -1
  26. package/lib/es/locale/de-DE.js +1 -1
  27. package/lib/es/locale/en-US.js +1 -1
  28. package/lib/es/locale/es-ES.js +1 -1
  29. package/lib/es/locale/fa-IR.js +1 -1
  30. package/lib/es/locale/fr-FR.js +1 -1
  31. package/lib/es/locale/id-ID.js +1 -1
  32. package/lib/es/locale/it-IT.js +1 -1
  33. package/lib/es/locale/ja-JP.js +1 -1
  34. package/lib/es/locale/ko-KR.js +1 -1
  35. package/lib/es/locale/pl-PL.js +1 -1
  36. package/lib/es/locale/pt-BR.js +1 -1
  37. package/lib/es/locale/ru-RU.js +1 -1
  38. package/lib/es/locale/sk-SK.js +1 -1
  39. package/lib/es/locale/vi-VN.js +1 -1
  40. package/lib/es/locale/zh-CN.js +1 -1
  41. package/lib/es/locale/zh-HK.js +1 -1
  42. package/lib/es/locale/zh-TW.js +1 -1
  43. package/lib/facade.js +1 -1
  44. package/lib/index.js +1 -1
  45. package/lib/locale/ar-SA.js +1 -1
  46. package/lib/locale/ca-ES.js +1 -1
  47. package/lib/locale/de-DE.js +1 -1
  48. package/lib/locale/en-US.js +1 -1
  49. package/lib/locale/es-ES.js +1 -1
  50. package/lib/locale/fa-IR.js +1 -1
  51. package/lib/locale/fr-FR.js +1 -1
  52. package/lib/locale/id-ID.js +1 -1
  53. package/lib/locale/it-IT.js +1 -1
  54. package/lib/locale/ja-JP.js +1 -1
  55. package/lib/locale/ko-KR.js +1 -1
  56. package/lib/locale/pl-PL.js +1 -1
  57. package/lib/locale/pt-BR.js +1 -1
  58. package/lib/locale/ru-RU.js +1 -1
  59. package/lib/locale/sk-SK.js +1 -1
  60. package/lib/locale/vi-VN.js +1 -1
  61. package/lib/locale/zh-CN.js +1 -1
  62. package/lib/locale/zh-HK.js +1 -1
  63. package/lib/locale/zh-TW.js +1 -1
  64. package/lib/types/facade/f-collaboration.d.ts +14 -0
  65. package/lib/types/services/undoredo/collaborative-undoredo.service.d.ts +2 -2
  66. package/lib/umd/facade.js +1 -1
  67. package/lib/umd/index.js +1 -1
  68. package/lib/umd/locale/ar-SA.js +1 -1
  69. package/lib/umd/locale/ca-ES.js +1 -1
  70. package/lib/umd/locale/de-DE.js +1 -1
  71. package/lib/umd/locale/en-US.js +1 -1
  72. package/lib/umd/locale/es-ES.js +1 -1
  73. package/lib/umd/locale/fa-IR.js +1 -1
  74. package/lib/umd/locale/fr-FR.js +1 -1
  75. package/lib/umd/locale/id-ID.js +1 -1
  76. package/lib/umd/locale/it-IT.js +1 -1
  77. package/lib/umd/locale/ja-JP.js +1 -1
  78. package/lib/umd/locale/ko-KR.js +1 -1
  79. package/lib/umd/locale/pl-PL.js +1 -1
  80. package/lib/umd/locale/pt-BR.js +1 -1
  81. package/lib/umd/locale/ru-RU.js +1 -1
  82. package/lib/umd/locale/sk-SK.js +1 -1
  83. package/lib/umd/locale/vi-VN.js +1 -1
  84. package/lib/umd/locale/zh-CN.js +1 -1
  85. package/lib/umd/locale/zh-HK.js +1 -1
  86. package/lib/umd/locale/zh-TW.js +1 -1
  87. package/package.json +15 -15
@@ -1 +1 @@
1
- const _0x411811=_0x197a;function _0x197a(_0x1ca8f6,_0x2fe3bf){_0x1ca8f6=_0x1ca8f6-0x76;const _0x1fdd63=_0x1fdd();let _0x197a24=_0x1fdd63[_0x1ca8f6];return _0x197a24;}function _0x1fdd(){const _0x12cfff=['編輯衝突','35yMeSBW','180PzOzgn','正在擷取伺服器資料...','2otVhlP','30OHHXzl','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','認證錯誤','449828LoRtUt','此文件協作人數已達上限,您的編輯將暫存於本機。','164742caBHZS','191170AtYODQ','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','點擊重新連線','已離線,編輯將儲存在本機','協作衝突','24421msFUam','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','141262pmEKvL','522056TwXmZn','已同步','7XlakJw','14427THBhtz','由於協作房間已關閉,編輯權限已被收回。','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','3OLKlTk','伺服器未回應協作請求,您的編輯將儲存在本機。','325YUNrBG'];_0x1fdd=function(){return _0x12cfff;};return _0x1fdd();}(function(_0xc3ae6f,_0x1d79c6){const _0x2b13b6=_0x197a,_0x4b2f1b=_0xc3ae6f();while(!![]){try{const _0x40d234=parseInt(_0x2b13b6(0x78))/0x1*(-parseInt(_0x2b13b6(0x88))/0x2)+parseInt(_0x2b13b6(0x81))/0x3*(parseInt(_0x2b13b6(0x8c))/0x4)+-parseInt(_0x2b13b6(0x85))/0x5*(parseInt(_0x2b13b6(0x8e))/0x6)+parseInt(_0x2b13b6(0x7d))/0x7*(parseInt(_0x2b13b6(0x7b))/0x8)+parseInt(_0x2b13b6(0x7e))/0x9*(-parseInt(_0x2b13b6(0x89))/0xa)+-parseInt(_0x2b13b6(0x7a))/0xb*(parseInt(_0x2b13b6(0x86))/0xc)+-parseInt(_0x2b13b6(0x83))/0xd*(-parseInt(_0x2b13b6(0x8f))/0xe);if(_0x40d234===_0x1d79c6)break;else _0x4b2f1b['push'](_0x4b2f1b['shift']());}catch(_0x1a86dd){_0x4b2f1b['push'](_0x4b2f1b['shift']());}}}(_0x1fdd,0x19a46));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x411811(0x91)}},'collabStatus':{'fetchMiss':_0x411811(0x87),'conflict':_0x411811(0x84),'notCollab':'本機檔案','synced':_0x411811(0x7c),'syncing':'同步中...','offline':_0x411811(0x76)},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':'連線失敗,將在稍後重試連線。','room-full':_0x411811(0x8d),'join-failed':_0x411811(0x80),'room-not-exists':'加入協作失敗,您的編輯將暫存於本機。','room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':'協作文件數量超過限制,您的編輯將暫存於本機。','collaboration-timeout':_0x411811(0x82)},'conflict':{'title':_0x411811(0x77),'content':_0x411811(0x79)},'permission':{'title':_0x411811(0x8b),'content':'您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'},'collaboration':{'single-unit':{'warning':_0x411811(0x8a)},'closeRoom':_0x411811(0x7f)},'auth':{'needGotoLoginAlert':_0x411811(0x90)}}};export{e as default};
1
+ function _0x58aa(){const _0x49a333=['5DonMzB','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','加入協作失敗,您的編輯將暫存於本機。','認證錯誤','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','沒有協作權限,您的編輯將暫存於本機。','本機檔案','此文件協作人數已達上限,您的編輯將暫存於本機。','577125oAkhMH','由於協作房間已關閉,編輯權限已被收回。','正在擷取伺服器資料...','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','409992XlBJBq','138IyUyra','521479sFlHKb','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','同步中...','37007UACsfy','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','連線失敗,將在稍後重試連線。','137592YqosPp','3858WhLObE','817746kHnejB','已同步'];_0x58aa=function(){return _0x49a333;};return _0x58aa();}function _0x107c(_0x57ee2e,_0x1f9436){_0x57ee2e=_0x57ee2e-0x183;const _0x58aa27=_0x58aa();let _0x107c7b=_0x58aa27[_0x57ee2e];return _0x107c7b;}const _0x4c22c5=_0x107c;(function(_0x61a3b1,_0x2db3c5){const _0x85b471=_0x107c,_0x2d5cd8=_0x61a3b1();while(!![]){try{const _0xcb1081=-parseInt(_0x85b471(0x183))/0x1+parseInt(_0x85b471(0x187))/0x2*(parseInt(_0x85b471(0x197))/0x3)+-parseInt(_0x85b471(0x196))/0x4*(parseInt(_0x85b471(0x18a))/0x5)+parseInt(_0x85b471(0x188))/0x6+parseInt(_0x85b471(0x198))/0x7+parseInt(_0x85b471(0x186))/0x8+-parseInt(_0x85b471(0x192))/0x9;if(_0xcb1081===_0x2db3c5)break;else _0x2d5cd8['push'](_0x2d5cd8['shift']());}catch(_0x1cfb76){_0x2d5cd8['push'](_0x2d5cd8['shift']());}}}(_0x58aa,0x1b9c3));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x4c22c5(0x194),'conflict':'編輯衝突','notCollab':_0x4c22c5(0x190),'synced':_0x4c22c5(0x189),'syncing':_0x4c22c5(0x19a),'offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x4c22c5(0x185),'room-full':_0x4c22c5(0x191),'join-failed':_0x4c22c5(0x18b),'room-not-exists':_0x4c22c5(0x18c),'room-permission-denied':_0x4c22c5(0x18f),'room-cnt-exceeds':'協作文件數量超過限制,您的編輯將暫存於本機。','collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':'協作衝突','content':_0x4c22c5(0x199)},'permission':{'title':_0x4c22c5(0x18d),'content':_0x4c22c5(0x195)},'collaboration':{'single-unit':{'warning':_0x4c22c5(0x184)},'closeRoom':_0x4c22c5(0x193)},'auth':{'needGotoLoginAlert':_0x4c22c5(0x18e)}}};export{e as default};
@@ -1,6 +1,7 @@
1
1
  import type { FBase as FBaseFacade } from '@univerjs-pro/bases/facade';
2
2
  import type { FBoard } from '@univerjs-pro/boards/facade';
3
3
  import type { ILogContext } from '@univerjs-pro/collaboration';
4
+ import type { FPdf } from '@univerjs-pro/pdfs/facade';
4
5
  import type { FPresentation } from '@univerjs-pro/slides/facade';
5
6
  import type { IDisposable } from '@univerjs/core';
6
7
  import type { FDocument } from '@univerjs/docs/facade';
@@ -34,6 +35,7 @@ export declare class FCollaboration extends FBase {
34
35
  getPresentation: (id: string) => FPresentation | null;
35
36
  getBase: (id: string) => FBaseFacade | null;
36
37
  getBoard: (id: string) => FBoard | null;
38
+ getPdf: (id: string) => FPdf | null;
37
39
  }, _injector: Injector, _univerInstanceService: IUniverInstanceService, _snapshotService: SnapshotService, _collaborationController: CollaborationController);
38
40
  /**
39
41
  * Load a Univer Sheet from the server with a unit ID.
@@ -95,6 +97,18 @@ export declare class FCollaboration extends FBase {
95
97
  * ```
96
98
  */
97
99
  loadBoardAsync(unitId: string, context?: ILogContext): Promise<FBoard | null>;
100
+ /**
101
+ * Load a Univer PDF from the server with a unit ID.
102
+ * @param {string} unitId ID of the Univer PDF that you would like to load.
103
+ * @param {ILogContext} [context] Optional context.
104
+ * @returns {Promise<FPdf | null>} The {@link FPdf} or null if ID cannot be associated with a Univer PDF.
105
+ * @example
106
+ * ```typescript
107
+ * const collaboration = univerAPI.getCollaboration();
108
+ * const pdf = await collaboration.loadPdfAsync('your-unit-id');
109
+ * ```
110
+ */
111
+ loadPdfAsync(unitId: string, context?: ILogContext): Promise<FPdf | null>;
98
112
  /**
99
113
  * Subscribe collaborators of a Univer file.
100
114
  *
@@ -1,7 +1,7 @@
1
1
  import type { IChangeset } from '@univerjs-pro/collaboration';
2
2
  import type { IUndoRedoService } from '@univerjs/core';
3
3
  import { ITransformService } from '@univerjs-pro/collaboration';
4
- import { ICommandService, IContextService, ILogService, IUniverInstanceService, LocalUndoRedoService } from '@univerjs/core';
4
+ import { ICommandService, IConfigService, IContextService, ILogService, IUniverInstanceService, LocalUndoRedoService } from '@univerjs/core';
5
5
  /**
6
6
  * `LocalUndoRedoService` cannot transform mutations in the undo redo stack under collaboration conditions.
7
7
  */
@@ -11,7 +11,7 @@ export interface ICollaborativeUndoRedoService extends IUndoRedoService {
11
11
  export declare class CollaborativeUndoRedoService extends LocalUndoRedoService implements ICollaborativeUndoRedoService {
12
12
  private readonly _transformService;
13
13
  private readonly _logService;
14
- constructor(_currentUniverSheet: IUniverInstanceService, _commandService: ICommandService, _contextService: IContextService, _transformService: ITransformService, _logService: ILogService);
14
+ constructor(_currentUniverSheet: IUniverInstanceService, _commandService: ICommandService, _contextService: IContextService, _configService: IConfigService, _transformService: ITransformService, _logService: ILogService);
15
15
  transformUndoRedo(unitID: string, changesets: IChangeset): void;
16
16
  private _clearUndo;
17
17
  private _clearRedo;
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- (function(_0x4a67c9,_0x4d66c1){const _0x3c8a37=_0x2d74,_0x35dadd=_0x4a67c9();while(!![]){try{const _0x424ff4=-parseInt(_0x3c8a37(0x1fa))/0x1*(-parseInt(_0x3c8a37(0x1ff))/0x2)+parseInt(_0x3c8a37(0x1f5))/0x3*(parseInt(_0x3c8a37(0x1ee))/0x4)+-parseInt(_0x3c8a37(0x209))/0x5+-parseInt(_0x3c8a37(0x213))/0x6*(parseInt(_0x3c8a37(0x1e3))/0x7)+parseInt(_0x3c8a37(0x21e))/0x8+-parseInt(_0x3c8a37(0x223))/0x9+parseInt(_0x3c8a37(0x1fe))/0xa*(parseInt(_0x3c8a37(0x1fb))/0xb);if(_0x424ff4===_0x4d66c1)break;else _0x35dadd['push'](_0x35dadd['shift']());}catch(_0x4a4612){_0x35dadd['push'](_0x35dadd['shift']());}}}(_0x97b2,0x5deeb),function(_0x312aa0,_0x237aa9){const _0x11c5b5=_0x2d74;typeof exports==_0x11c5b5(0x207)&&typeof module<'u'?_0x237aa9(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x11c5b5(0x216)&&define[_0x11c5b5(0x22c)]?define([_0x11c5b5(0x1de),_0x11c5b5(0x222),_0x11c5b5(0x1e8),_0x11c5b5(0x1dc),_0x11c5b5(0x211),_0x11c5b5(0x1ef)],_0x237aa9):(_0x312aa0=typeof globalThis<'u'?globalThis:_0x312aa0||self,_0x237aa9(_0x312aa0[_0x11c5b5(0x1d9)]={},_0x312aa0['UniverProCollaborationClient'],_0x312aa0['UniverCoreFacade'],_0x312aa0[_0x11c5b5(0x232)],_0x312aa0[_0x11c5b5(0x235)],_0x312aa0[_0x11c5b5(0x1ef)]));}(this,function(_0x12d443,_0x5effa1,_0x50ecdd,_0x5de8f1,_0x23f772,_0x365d9b){const _0x4f8bb1=_0x2d74;Object[_0x4f8bb1(0x1f2)](_0x12d443,Symbol['toStringTag'],{'value':_0x4f8bb1(0x1f3)});var _0x458248=class extends _0x50ecdd['FEnum']{get[_0x4f8bb1(0x1f4)](){const _0x37147d=_0x4f8bb1;return _0x5effa1[_0x37147d(0x1f4)];}};_0x50ecdd[_0x4f8bb1(0x205)]['extend'](_0x458248);var _0x58ff42=class extends _0x50ecdd[_0x4f8bb1(0x219)]{get['CollaborationStatusChanged'](){return'CollaborationStatusChanged';}};_0x50ecdd['FEventName'][_0x4f8bb1(0x20f)](_0x58ff42);function _0x5caef7(_0x2df2b2,_0x48ab52){return function(_0x4a7393,_0x5cbdd0){_0x48ab52(_0x4a7393,_0x5cbdd0,_0x2df2b2);};}function _0x96ee27(_0x17b579,_0x391e31,_0x2a2554,_0x4b6405){const _0x4c3f86=_0x4f8bb1;var _0x43d9ff=arguments['length'],_0x5bd51c=_0x43d9ff<0x3?_0x391e31:_0x4b6405===null?_0x4b6405=Object[_0x4c3f86(0x227)](_0x391e31,_0x2a2554):_0x4b6405,_0x278af7;if(typeof Reflect=='object'&&typeof Reflect[_0x4c3f86(0x225)]==_0x4c3f86(0x216))_0x5bd51c=Reflect['decorate'](_0x17b579,_0x391e31,_0x2a2554,_0x4b6405);else{for(var _0x34f70d=_0x17b579[_0x4c3f86(0x21a)]-0x1;_0x34f70d>=0x0;_0x34f70d--)(_0x278af7=_0x17b579[_0x34f70d])&&(_0x5bd51c=(_0x43d9ff<0x3?_0x278af7(_0x5bd51c):_0x43d9ff>0x3?_0x278af7(_0x391e31,_0x2a2554,_0x5bd51c):_0x278af7(_0x391e31,_0x2a2554))||_0x5bd51c);}return _0x43d9ff>0x3&&_0x5bd51c&&Object['defineProperty'](_0x391e31,_0x2a2554,_0x5bd51c),_0x5bd51c;}let _0x4bee78=class extends _0x50ecdd['FBase']{constructor(_0x551840,_0xe094f5,_0x212818,_0x5ac3b5,_0x5cb128){const _0x3c6810=_0x4f8bb1;super(),this[_0x3c6810(0x20d)]=_0x551840,this[_0x3c6810(0x214)]=_0xe094f5,this[_0x3c6810(0x203)]=_0x212818,this[_0x3c6810(0x236)]=_0x5ac3b5,this['_collaborationController']=_0x5cb128;}async['loadSheetAsync'](_0x16c3ed,_0x92dae9){const _0x5dc703=_0x4f8bb1;return await this[_0x5dc703(0x236)]['loadSheet'](_0x16c3ed,0x0,_0x92dae9)?(await this['_collaborationController'][_0x5dc703(0x23b)](_0x16c3ed),this[_0x5dc703(0x20d)][_0x5dc703(0x221)](_0x16c3ed)):null;}async[_0x4f8bb1(0x1e1)](_0x27bf08,_0x584498){const _0x5caea5=_0x4f8bb1;return await this['_snapshotService'][_0x5caea5(0x200)](_0x27bf08,0x0,_0x584498)?(await this[_0x5caea5(0x1ea)][_0x5caea5(0x23b)](_0x27bf08),this[_0x5caea5(0x20d)][_0x5caea5(0x22f)](_0x27bf08)):null;}async['loadBaseAsync'](_0x1a86b2,_0x23f672){const _0x466d36=_0x4f8bb1;return await this[_0x466d36(0x236)]['loadBase'](_0x1a86b2,0x0,_0x23f672)?(await this['_collaborationController']['readyForCollab'](_0x1a86b2),this['_handler'][_0x466d36(0x20a)](_0x1a86b2)):null;}async[_0x4f8bb1(0x229)](_0x37cc65,_0x202a8c){const _0x2090bb=_0x4f8bb1;return await this[_0x2090bb(0x236)][_0x2090bb(0x22e)](_0x37cc65,0x0,_0x202a8c)?(await this[_0x2090bb(0x1ea)]['readyForCollab'](_0x37cc65),this[_0x2090bb(0x20d)][_0x2090bb(0x1f8)](_0x37cc65)):null;}async[_0x4f8bb1(0x212)](_0x1313a8,_0x292a7c){const _0x610906=_0x4f8bb1;return await this['_snapshotService'][_0x610906(0x239)](_0x1313a8,0x0,_0x292a7c)?(await this[_0x610906(0x1ea)]['readyForCollab'](_0x1313a8),this[_0x610906(0x20d)][_0x610906(0x20b)](_0x1313a8)):null;}[_0x4f8bb1(0x238)](_0xc0e020,_0x211cc5){const _0x12707b=_0x4f8bb1;return(0x0,_0x5de8f1[_0x12707b(0x21d)])(this[_0x12707b(0x214)][_0x12707b(0x1df)](_0x5effa1[_0x12707b(0x23a)])[_0x12707b(0x20c)](_0xc0e020)['pipe']((0x0,_0x365d9b['switchMap'])(_0x543e07=>_0x543e07['members$']))[_0x12707b(0x1f9)](_0x20ad2c=>_0x211cc5(Array[_0x12707b(0x237)](_0x20ad2c[_0x12707b(0x220)]()))));}[_0x4f8bb1(0x1e6)](_0x289722){const _0x368d61=_0x4f8bb1;var _0x1f0c24;let _0x488bd2=this['_resolveUnitId'](_0x289722);if(!_0x488bd2)return _0x5effa1[_0x368d61(0x1f4)][_0x368d61(0x224)];let _0x168cba=this['_collaborationController'][_0x368d61(0x1f0)](_0x488bd2);return(_0x1f0c24=_0x168cba==null?void 0x0:_0x168cba['state'][_0x368d61(0x1ec)])==null?_0x5effa1[_0x368d61(0x1f4)]['NOT_COLLAB']:_0x1f0c24;}[_0x4f8bb1(0x1e2)](_0x5919ef,_0x33d897={}){const _0x37d8ab=_0x4f8bb1;var _0x26bb09;let _0x439fb0=this['_resolveUnitId'](_0x5919ef);if(!_0x439fb0)return Promise['reject'](Error(_0x37d8ab(0x21c)));let _0x33c340=this[_0x37d8ab(0x1ea)][_0x37d8ab(0x1f0)](_0x439fb0);if(!_0x33c340)return Promise[_0x37d8ab(0x226)](Error(_0x37d8ab(0x233)+_0x439fb0+'\x22\x20is\x20not\x20in\x20collaboration\x20mode.'));let _0xd9fbca=_0x33c340[_0x37d8ab(0x217)]['status'];if(_0xd9fbca===_0x5effa1['CollaborationStatus'][_0x37d8ab(0x1dd)])return Promise[_0x37d8ab(0x206)]();let _0x49b692=_0x389084(_0x439fb0,_0xd9fbca);if(_0x49b692)return Promise[_0x37d8ab(0x226)](_0x49b692);let _0x5cd077=(_0x26bb09=_0x33d897[_0x37d8ab(0x218)])==null?0x7530:_0x26bb09;return new Promise((_0x1d9cea,_0x507430)=>{const _0xfd92a2=_0x37d8ab;let _0xcebfe8=!0x1,_0x234692=null,_0x118923=setTimeout(()=>{const _0x31dde9=_0x2d74;_0xcebfe8=!0x0,_0x234692==null||_0x234692['unsubscribe'](),_0x507430(Error(_0x31dde9(0x21f)+_0x439fb0+_0x31dde9(0x22d)+_0x5cd077+'ms.'));},_0x5cd077),_0x2c6a87=()=>{const _0x1075fc=_0x2d74;_0xcebfe8=!0x0,clearTimeout(_0x118923),_0x234692==null||_0x234692[_0x1075fc(0x210)]();};_0x234692=_0x33c340[_0xfd92a2(0x230)][_0xfd92a2(0x1f9)](_0x591a50=>{const _0x46de0d=_0xfd92a2;if(_0xcebfe8)return;if(_0x591a50===_0x5effa1[_0x46de0d(0x1f4)]['SYNCED']){_0x2c6a87(),_0x1d9cea();return;}let _0x25be00=_0x389084(_0x439fb0,_0x591a50);_0x25be00&&(_0x2c6a87(),_0x507430(_0x25be00));});});}[_0x4f8bb1(0x1f1)](_0x34ec2a){const _0x49c4c5=_0x4f8bb1;var _0x301e42;return _0x34ec2a||((_0x301e42=this['_univerInstanceService'][_0x49c4c5(0x1db)]())==null?void 0x0:_0x301e42[_0x49c4c5(0x1eb)]());}};_0x4bee78=_0x96ee27([_0x5caef7(0x1,(0x0,_0x5de8f1[_0x4f8bb1(0x21b)])(_0x5de8f1[_0x4f8bb1(0x1ed)])),_0x5caef7(0x2,_0x5de8f1[_0x4f8bb1(0x215)]),_0x5caef7(0x3,(0x0,_0x5de8f1[_0x4f8bb1(0x21b)])(_0x23f772[_0x4f8bb1(0x234)])),_0x5caef7(0x4,(0x0,_0x5de8f1[_0x4f8bb1(0x21b)])(_0x5effa1[_0x4f8bb1(0x22a)]))],_0x4bee78);function _0x389084(_0x564289,_0x100cac){const _0x5e4af3=_0x4f8bb1;return _0x100cac===_0x5effa1['CollaborationStatus'][_0x5e4af3(0x202)]||_0x100cac===_0x5effa1[_0x5e4af3(0x1f4)]['NOT_COLLAB']?Error(_0x5e4af3(0x1e7)+_0x564289+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x100cac+'.'):null;}var _0x5965d2=class extends _0x50ecdd['FUniver']{[_0x4f8bb1(0x1da)](_0x51a006){const _0x10e7cd=_0x4f8bb1;let _0x445bbd=_0x51a006[_0x10e7cd(0x1df)](_0x5effa1[_0x10e7cd(0x22a)]);this[_0x10e7cd(0x1fd)](this[_0x10e7cd(0x22b)](this['Event'][_0x10e7cd(0x208)],()=>{const _0x2f063e=_0x10e7cd;let _0x255ce8=new _0x5de8f1[(_0x2f063e(0x204))](),_0x1dd548=_0x445bbd[_0x2f063e(0x228)][_0x2f063e(0x1f9)](_0x4ddd1d=>{const _0x3db627=_0x2f063e;let _0x415469=_0x4ddd1d['status$'][_0x3db627(0x1f9)](_0x2c24da=>{const _0x2c2671=_0x3db627;let _0x594b98={'unitId':_0x4ddd1d[_0x2c2671(0x1e4)],'status':_0x2c24da};this[_0x2c2671(0x20e)](this[_0x2c2671(0x201)][_0x2c2671(0x208)],_0x594b98);});_0x255ce8['add']((0x0,_0x5de8f1[_0x3db627(0x21d)])(_0x415469));});return _0x255ce8[_0x2f063e(0x1e9)]((0x0,_0x5de8f1[_0x2f063e(0x21d)])(_0x1dd548)),_0x255ce8;}));}[_0x4f8bb1(0x231)](){const _0x188e52=_0x4f8bb1;return this['_injector'][_0x188e52(0x1f7)](_0x4bee78,{'getWorkbook':_0x2cd604=>this[_0x188e52(0x221)](_0x2cd604),'getDocument':_0x21b94a=>this[_0x188e52(0x22f)](_0x21b94a),'getPresentation':_0x928776=>this[_0x188e52(0x1f8)](_0x928776),'getBase':_0x1d33bb=>this[_0x188e52(0x20a)](_0x1d33bb),'getBoard':_0x1dff06=>this[_0x188e52(0x20b)](_0x1dff06)});}[_0x4f8bb1(0x1e0)](_0x5e9617,_0x358978,_0x4f2c36){return this['_injector']['get'](_0x5effa1['DataLoaderService'])['loadUnit'](_0x5e9617,_0x358978,_0x4f2c36);}['loadServerUnitOfRevision'](_0x2c0d95,_0x7be50d,_0x406601){const _0x9a2478=_0x4f8bb1;return this[_0x9a2478(0x214)]['get'](_0x5effa1['DataLoaderService'])[_0x9a2478(0x1fc)](_0x2c0d95,_0x7be50d,_0x406601);}};_0x50ecdd[_0x4f8bb1(0x1e5)][_0x4f8bb1(0x20f)](_0x5965d2),Object[_0x4f8bb1(0x1f2)](_0x12d443,_0x4f8bb1(0x1f6),{'enumerable':!0x0,'get':function(){return _0x4bee78;}});}));function _0x2d74(_0x206c90,_0x36c97d){_0x206c90=_0x206c90-0x1d9;const _0x97b201=_0x97b2();let _0x2d7413=_0x97b201[_0x206c90];return _0x2d7413;}function _0x97b2(){const _0x1ee84e=['flush','22414sXDhko','unitID','FUniver','getCollaborationStatus','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','@univerjs/core/facade','add','_collaborationController','getUnitId','status','Injector','1618048jfjSHP','rxjs','getCollabEntity','_resolveUnitId','defineProperty','Module','CollaborationStatus','3EYmFaz','FCollaboration','createInstance','getPresentation','subscribe','1YoByua','9330277oClFMH','loadUnitOfRevision','disposeWithMe','10NfsEsb','116214bggdsV','loadDoc','Event','CONFLICT','_univerInstanceService','DisposableCollection','FEnum','resolve','object','CollaborationStatusChanged','2049405RxLJHH','getBase','getBoard','waitForRoom$','_handler','fireEvent','extend','unsubscribe','@univerjs-pro/collaboration','loadBoardAsync','906AcxEJN','_injector','IUniverInstanceService','function','state','timeout','FEventName','length','Inject','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','toDisposable','3640744CkcHin','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','values','getWorkbook','@univerjs-pro/collaboration-client','4390101NzlPXG','NOT_COLLAB','decorate','reject','getOwnPropertyDescriptor','entityInit$','loadSlideAsync','CollaborationController','registerEventHandler','amd','\x22\x20after\x20','loadSlide','getDocument','status$','getCollaboration','UniverCore','[FCollaboration]:\x20Unit\x20\x22','SnapshotService','UniverProCollaboration','_snapshotService','from','subscribeCollaborators','loadBoard','MemberService','readyForCollab','UniverProCollaborationClientFacade','_initialize','getFocusedUnit','@univerjs/core','SYNCED','exports','get','loadServerUnit','loadDocAsync'];_0x97b2=function(){return _0x1ee84e;};return _0x97b2();}
1
+ function _0x44c4(){const _0x4acdd8=['SYNCED','_univerInstanceService','FEventName','fireEvent','object','@univerjs/core','11573973pYYmyy','status','waitForRoom$','state','FCollaboration','getOwnPropertyDescriptor','UniverCore','NOT_COLLAB','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','319395nNOyvW','getWorkbook','DataLoaderService','loadSheetAsync','34892CEfJbK','90Xxxynj','extend','_injector','_snapshotService','decorate','528464FYkfKB','_resolveUnitId','CollaborationController','rxjs','loadBase','loadBoard','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','Module','toStringTag','subscribe','getPresentation','Event','SnapshotService','length','unitID','4026872LpFvdW','loadUnitOfRevision','loadSlideAsync','FBase','timeout','subscribeCollaborators','@univerjs/core/facade','_initialize','add','loadPdfAsync','UniverProCollaborationClient','4iHpTao','CollaborationStatusChanged','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','entityInit$','getUnitId','values','get','loadBoardAsync','FEnum','getBoard','resolve','getCollabEntity','FUniver','loadBaseAsync','IUniverInstanceService','amd','_handler','function','3YGoTrp','readyForCollab','ms.','CONFLICT','loadUnit','loadPdf','getFocusedUnit','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','defineProperty','createInstance','_collaborationController','unsubscribe','@univerjs-pro/collaboration','CollaborationStatus','Injector','getPdf','status$','1411376udKRjZ','UniverCoreFacade','loadServerUnit','loadSlide','toDisposable','getBase','disposeWithMe','loadDocAsync','3107202fluQoZ','flush','850trdVtF','getDocument','from','Inject','reject'];_0x44c4=function(){return _0x4acdd8;};return _0x44c4();}function _0x490d(_0x3c41b3,_0x307081){_0x3c41b3=_0x3c41b3-0x9b;const _0x44c462=_0x44c4();let _0x490d0a=_0x44c462[_0x3c41b3];return _0x490d0a;}(function(_0x530a36,_0x5b9aee){const _0x558676=_0x490d,_0x31bbcb=_0x530a36();while(!![]){try{const _0x2219b5=-parseInt(_0x558676(0xad))/0x1*(-parseInt(_0x558676(0xf8))/0x2)+-parseInt(_0x558676(0xbf))/0x3*(parseInt(_0x558676(0xd0))/0x4)+-parseInt(_0x558676(0xee))/0x5*(-parseInt(_0x558676(0xf3))/0x6)+-parseInt(_0x558676(0xd8))/0x7+parseInt(_0x558676(0xa2))/0x8+-parseInt(_0x558676(0xe5))/0x9+-parseInt(_0x558676(0xda))/0xa*(-parseInt(_0x558676(0xf2))/0xb);if(_0x2219b5===_0x5b9aee)break;else _0x31bbcb['push'](_0x31bbcb['shift']());}catch(_0x2c74b7){_0x31bbcb['push'](_0x31bbcb['shift']());}}}(_0x44c4,0xac355),function(_0x48acdf,_0x1d460d){const _0x35c26d=_0x490d;typeof exports==_0x35c26d(0xe3)&&typeof module<'u'?_0x1d460d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x35c26d(0xbe)&&define[_0x35c26d(0xbc)]?define(['exports','@univerjs-pro/collaboration-client',_0x35c26d(0xa8),_0x35c26d(0xe4),_0x35c26d(0xcb),_0x35c26d(0xfb)],_0x1d460d):(_0x48acdf=typeof globalThis<'u'?globalThis:_0x48acdf||self,_0x1d460d(_0x48acdf['UniverProCollaborationClientFacade']={},_0x48acdf[_0x35c26d(0xac)],_0x48acdf[_0x35c26d(0xd1)],_0x48acdf[_0x35c26d(0xeb)],_0x48acdf['UniverProCollaboration'],_0x48acdf[_0x35c26d(0xfb)]));}(this,function(_0x4cf173,_0x5df6db,_0x56b218,_0x130f7a,_0x7e758f,_0x275166){const _0x5b2bb2=_0x490d;Object[_0x5b2bb2(0xc7)](_0x4cf173,Symbol[_0x5b2bb2(0x9b)],{'value':_0x5b2bb2(0xff)});var _0x230a77=class extends _0x56b218[_0x5b2bb2(0xb5)]{get[_0x5b2bb2(0xcc)](){const _0x5f5603=_0x5b2bb2;return _0x5df6db[_0x5f5603(0xcc)];}};_0x56b218[_0x5b2bb2(0xb5)][_0x5b2bb2(0xf4)](_0x230a77);var _0x4b7f64=class extends _0x56b218[_0x5b2bb2(0xe1)]{get['CollaborationStatusChanged'](){const _0x41f965=_0x5b2bb2;return _0x41f965(0xae);}};_0x56b218['FEventName'][_0x5b2bb2(0xf4)](_0x4b7f64);function _0xda6d27(_0x5c8f8a,_0x3793cf){return function(_0x461d9f,_0x53102f){_0x3793cf(_0x461d9f,_0x53102f,_0x5c8f8a);};}function _0x16c7d4(_0x1d8624,_0x443c1a,_0x31aff7,_0x49afcb){const _0x54ca31=_0x5b2bb2;var _0x3cdeb8=arguments[_0x54ca31(0xa0)],_0x3f5862=_0x3cdeb8<0x3?_0x443c1a:_0x49afcb===null?_0x49afcb=Object[_0x54ca31(0xea)](_0x443c1a,_0x31aff7):_0x49afcb,_0x5e8276;if(typeof Reflect==_0x54ca31(0xe3)&&typeof Reflect['decorate']==_0x54ca31(0xbe))_0x3f5862=Reflect[_0x54ca31(0xf7)](_0x1d8624,_0x443c1a,_0x31aff7,_0x49afcb);else{for(var _0x1c6c71=_0x1d8624[_0x54ca31(0xa0)]-0x1;_0x1c6c71>=0x0;_0x1c6c71--)(_0x5e8276=_0x1d8624[_0x1c6c71])&&(_0x3f5862=(_0x3cdeb8<0x3?_0x5e8276(_0x3f5862):_0x3cdeb8>0x3?_0x5e8276(_0x443c1a,_0x31aff7,_0x3f5862):_0x5e8276(_0x443c1a,_0x31aff7))||_0x3f5862);}return _0x3cdeb8>0x3&&_0x3f5862&&Object[_0x54ca31(0xc7)](_0x443c1a,_0x31aff7,_0x3f5862),_0x3f5862;}let _0x40422c=class extends _0x56b218[_0x5b2bb2(0xa5)]{constructor(_0x38a5c5,_0x23ac87,_0x38db58,_0x34ffa7,_0x39cdeb){const _0x5158cc=_0x5b2bb2;super(),this[_0x5158cc(0xbd)]=_0x38a5c5,this[_0x5158cc(0xf5)]=_0x23ac87,this[_0x5158cc(0xe0)]=_0x38db58,this[_0x5158cc(0xf6)]=_0x34ffa7,this['_collaborationController']=_0x39cdeb;}async[_0x5b2bb2(0xf1)](_0xd21327,_0x182748){const _0x44a0b3=_0x5b2bb2;return await this[_0x44a0b3(0xf6)]['loadSheet'](_0xd21327,0x0,_0x182748)?(await this[_0x44a0b3(0xc9)]['readyForCollab'](_0xd21327),this[_0x44a0b3(0xbd)][_0x44a0b3(0xef)](_0xd21327)):null;}async[_0x5b2bb2(0xd7)](_0x359180,_0xc4fc17){const _0x3ad2c7=_0x5b2bb2;return await this[_0x3ad2c7(0xf6)]['loadDoc'](_0x359180,0x0,_0xc4fc17)?(await this[_0x3ad2c7(0xc9)]['readyForCollab'](_0x359180),this[_0x3ad2c7(0xbd)]['getDocument'](_0x359180)):null;}async[_0x5b2bb2(0xba)](_0x4f8a18,_0x2f8f61){const _0xc1e88b=_0x5b2bb2;return await this['_snapshotService'][_0xc1e88b(0xfc)](_0x4f8a18,0x0,_0x2f8f61)?(await this['_collaborationController'][_0xc1e88b(0xc0)](_0x4f8a18),this[_0xc1e88b(0xbd)][_0xc1e88b(0xd5)](_0x4f8a18)):null;}async[_0x5b2bb2(0xa4)](_0x45f1ee,_0xccc98c){const _0x502f71=_0x5b2bb2;return await this[_0x502f71(0xf6)][_0x502f71(0xd3)](_0x45f1ee,0x0,_0xccc98c)?(await this[_0x502f71(0xc9)]['readyForCollab'](_0x45f1ee),this['_handler'][_0x502f71(0x9d)](_0x45f1ee)):null;}async[_0x5b2bb2(0xb4)](_0xfc2ce6,_0x57b007){const _0x3ce438=_0x5b2bb2;return await this[_0x3ce438(0xf6)][_0x3ce438(0xfd)](_0xfc2ce6,0x0,_0x57b007)?(await this[_0x3ce438(0xc9)][_0x3ce438(0xc0)](_0xfc2ce6),this[_0x3ce438(0xbd)][_0x3ce438(0xb6)](_0xfc2ce6)):null;}async[_0x5b2bb2(0xab)](_0x170b81,_0x33447e){const _0x12ca2f=_0x5b2bb2;return await this[_0x12ca2f(0xf6)][_0x12ca2f(0xc4)](_0x170b81,0x0,_0x33447e)?(await this[_0x12ca2f(0xc9)]['readyForCollab'](_0x170b81),this[_0x12ca2f(0xbd)][_0x12ca2f(0xce)](_0x170b81)):null;}[_0x5b2bb2(0xa7)](_0x51f533,_0xbc0eae){const _0x391edb=_0x5b2bb2;return(0x0,_0x130f7a[_0x391edb(0xd4)])(this[_0x391edb(0xf5)][_0x391edb(0xb3)](_0x5df6db['MemberService'])[_0x391edb(0xe7)](_0x51f533)['pipe']((0x0,_0x275166['switchMap'])(_0x217b67=>_0x217b67['members$']))[_0x391edb(0x9c)](_0x1cee80=>_0xbc0eae(Array[_0x391edb(0xdc)](_0x1cee80[_0x391edb(0xb2)]()))));}['getCollaborationStatus'](_0x5bf6ad){const _0x301d03=_0x5b2bb2;let _0x358147=this[_0x301d03(0xf9)](_0x5bf6ad);if(!_0x358147)return _0x5df6db[_0x301d03(0xcc)]['NOT_COLLAB'];let _0x4c68e8=this[_0x301d03(0xc9)][_0x301d03(0xb8)](_0x358147);return(_0x4c68e8==null?void 0x0:_0x4c68e8[_0x301d03(0xe8)][_0x301d03(0xe6)])??_0x5df6db['CollaborationStatus']['NOT_COLLAB'];}[_0x5b2bb2(0xd9)](_0x853cad,_0x16b0b7={}){const _0x2da41a=_0x5b2bb2;let _0x2ac455=this[_0x2da41a(0xf9)](_0x853cad);if(!_0x2ac455)return Promise['reject'](Error(_0x2da41a(0xfe)));let _0x3e9967=this[_0x2da41a(0xc9)][_0x2da41a(0xb8)](_0x2ac455);if(!_0x3e9967)return Promise[_0x2da41a(0xde)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x2ac455+_0x2da41a(0xc6)));let _0x49ddc3=_0x3e9967[_0x2da41a(0xe8)][_0x2da41a(0xe6)];if(_0x49ddc3===_0x5df6db[_0x2da41a(0xcc)][_0x2da41a(0xdf)])return Promise[_0x2da41a(0xb7)]();let _0x29c169=_0x3a9048(_0x2ac455,_0x49ddc3);if(_0x29c169)return Promise['reject'](_0x29c169);let _0x11ae5c=_0x16b0b7[_0x2da41a(0xa6)]??0x7530;return new Promise((_0x1c4468,_0x10f07e)=>{const _0x566276=_0x2da41a;let _0x2e398b=!0x1,_0x41517f=null,_0x5eefdd=setTimeout(()=>{const _0x3e2670=_0x490d;_0x2e398b=!0x0,_0x41517f==null||_0x41517f[_0x3e2670(0xca)](),_0x10f07e(Error(_0x3e2670(0xed)+_0x2ac455+'\x22\x20after\x20'+_0x11ae5c+_0x3e2670(0xc1)));},_0x11ae5c),_0x5df3d7=()=>{const _0x30d0f9=_0x490d;_0x2e398b=!0x0,clearTimeout(_0x5eefdd),_0x41517f==null||_0x41517f[_0x30d0f9(0xca)]();};_0x41517f=_0x3e9967[_0x566276(0xcf)]['subscribe'](_0x496ac2=>{if(_0x2e398b)return;if(_0x496ac2===_0x5df6db['CollaborationStatus']['SYNCED']){_0x5df3d7(),_0x1c4468();return;}let _0x564327=_0x3a9048(_0x2ac455,_0x496ac2);_0x564327&&(_0x5df3d7(),_0x10f07e(_0x564327));});});}[_0x5b2bb2(0xf9)](_0x19f833){const _0xdfae1f=_0x5b2bb2;var _0xbe0a75;return _0x19f833||((_0xbe0a75=this[_0xdfae1f(0xe0)][_0xdfae1f(0xc5)]())==null?void 0x0:_0xbe0a75[_0xdfae1f(0xb1)]());}};_0x40422c=_0x16c7d4([_0xda6d27(0x1,(0x0,_0x130f7a[_0x5b2bb2(0xdd)])(_0x130f7a[_0x5b2bb2(0xcd)])),_0xda6d27(0x2,_0x130f7a[_0x5b2bb2(0xbb)]),_0xda6d27(0x3,(0x0,_0x130f7a[_0x5b2bb2(0xdd)])(_0x7e758f[_0x5b2bb2(0x9f)])),_0xda6d27(0x4,(0x0,_0x130f7a[_0x5b2bb2(0xdd)])(_0x5df6db[_0x5b2bb2(0xfa)]))],_0x40422c);function _0x3a9048(_0xbc2534,_0x271494){const _0x9d6ce6=_0x5b2bb2;return _0x271494===_0x5df6db[_0x9d6ce6(0xcc)][_0x9d6ce6(0xc2)]||_0x271494===_0x5df6db[_0x9d6ce6(0xcc)][_0x9d6ce6(0xec)]?Error(_0x9d6ce6(0xaf)+_0xbc2534+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x271494+'.'):null;}var _0x4b009a=class extends _0x56b218[_0x5b2bb2(0xb9)]{[_0x5b2bb2(0xa9)](_0x2d01ea){const _0x3b4bb9=_0x5b2bb2;let _0x21f8f2=_0x2d01ea['get'](_0x5df6db[_0x3b4bb9(0xfa)]);this[_0x3b4bb9(0xd6)](this['registerEventHandler'](this['Event']['CollaborationStatusChanged'],()=>{const _0x3af223=_0x3b4bb9;let _0x10ef16=new _0x130f7a['DisposableCollection'](),_0x1b339e=_0x21f8f2[_0x3af223(0xb0)][_0x3af223(0x9c)](_0x26a2ec=>{const _0x565167=_0x3af223;let _0x2cf373=_0x26a2ec[_0x565167(0xcf)]['subscribe'](_0x542590=>{const _0x11deeb=_0x565167;let _0xaf25d3={'unitId':_0x26a2ec[_0x11deeb(0xa1)],'status':_0x542590};this[_0x11deeb(0xe2)](this[_0x11deeb(0x9e)][_0x11deeb(0xae)],_0xaf25d3);});_0x10ef16[_0x565167(0xaa)]((0x0,_0x130f7a['toDisposable'])(_0x2cf373));});return _0x10ef16['add']((0x0,_0x130f7a[_0x3af223(0xd4)])(_0x1b339e)),_0x10ef16;}));}['getCollaboration'](){const _0x414bf9=_0x5b2bb2;return this[_0x414bf9(0xf5)][_0x414bf9(0xc8)](_0x40422c,{'getWorkbook':_0x3fa249=>this[_0x414bf9(0xef)](_0x3fa249),'getDocument':_0x5187ab=>this[_0x414bf9(0xdb)](_0x5187ab),'getPresentation':_0x46555e=>this['getPresentation'](_0x46555e),'getBase':_0x433e3a=>this[_0x414bf9(0xd5)](_0x433e3a),'getBoard':_0x39f524=>this[_0x414bf9(0xb6)](_0x39f524),'getPdf':_0xc41a0f=>this[_0x414bf9(0xce)](_0xc41a0f)});}[_0x5b2bb2(0xd2)](_0x3f6ff0,_0x153708,_0x5aeb48){const _0x1e2623=_0x5b2bb2;return this[_0x1e2623(0xf5)][_0x1e2623(0xb3)](_0x5df6db[_0x1e2623(0xf0)])[_0x1e2623(0xc3)](_0x3f6ff0,_0x153708,_0x5aeb48);}['loadServerUnitOfRevision'](_0x5f8c2e,_0x552590,_0x1979da){const _0x1c7d8c=_0x5b2bb2;return this[_0x1c7d8c(0xf5)][_0x1c7d8c(0xb3)](_0x5df6db[_0x1c7d8c(0xf0)])[_0x1c7d8c(0xa3)](_0x5f8c2e,_0x552590,_0x1979da);}};_0x56b218[_0x5b2bb2(0xb9)][_0x5b2bb2(0xf4)](_0x4b009a),Object[_0x5b2bb2(0xc7)](_0x4cf173,_0x5b2bb2(0xe9),{'enumerable':!0x0,'get':function(){return _0x40422c;}});}));