@univerjs-pro/collaboration-client 0.25.0 → 0.25.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.
Files changed (85) 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/umd/facade.js +1 -1
  65. package/lib/umd/index.js +1 -1
  66. package/lib/umd/locale/ar-SA.js +1 -1
  67. package/lib/umd/locale/ca-ES.js +1 -1
  68. package/lib/umd/locale/de-DE.js +1 -1
  69. package/lib/umd/locale/en-US.js +1 -1
  70. package/lib/umd/locale/es-ES.js +1 -1
  71. package/lib/umd/locale/fa-IR.js +1 -1
  72. package/lib/umd/locale/fr-FR.js +1 -1
  73. package/lib/umd/locale/id-ID.js +1 -1
  74. package/lib/umd/locale/it-IT.js +1 -1
  75. package/lib/umd/locale/ja-JP.js +1 -1
  76. package/lib/umd/locale/ko-KR.js +1 -1
  77. package/lib/umd/locale/pl-PL.js +1 -1
  78. package/lib/umd/locale/pt-BR.js +1 -1
  79. package/lib/umd/locale/ru-RU.js +1 -1
  80. package/lib/umd/locale/sk-SK.js +1 -1
  81. package/lib/umd/locale/vi-VN.js +1 -1
  82. package/lib/umd/locale/zh-CN.js +1 -1
  83. package/lib/umd/locale/zh-HK.js +1 -1
  84. package/lib/umd/locale/zh-TW.js +1 -1
  85. package/package.json +11 -11
@@ -1 +1 @@
1
- function _0x1730(){const _0x205aee=['同步中...','由於協作房間已關閉,編輯權限已被收回。','9482921eOXQJJ','此文件協作人數已達上限,您的編輯將暫存於本機。','認證錯誤','6yWQfZr','加入協作失敗,您的編輯將暫存於本機。','96MCdNbK','318515ReIXSj','本機檔案','連線失敗,請檢查您的網路。','14062096AMbSqN','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','已離線,編輯將儲存在本機','713270IAkCDX','沒有協作權限,您的編輯將暫存於本機。','伺服器未回應協作請求,您的編輯將儲存在本機。','1313580Qhqbea','4ymbubV','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','協作文件數量超過限制,您的編輯將暫存於本機。','連線失敗,將在稍後重試連線。','1318065lEycQi','41994711jxDNzG','9oqduVb','正在擷取伺服器資料...','協作衝突','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。'];_0x1730=function(){return _0x205aee;};return _0x1730();}const _0x177c03=_0xe38f;(function(_0x44c84f,_0x302961){const _0x463e5f=_0xe38f,_0x2136e0=_0x44c84f();while(!![]){try{const _0x5ae706=-parseInt(_0x463e5f(0x150))/0x1*(parseInt(_0x463e5f(0x14c))/0x2)+-parseInt(_0x463e5f(0x154))/0x3+-parseInt(_0x463e5f(0x161))/0x4*(parseInt(_0x463e5f(0x162))/0x5)+-parseInt(_0x463e5f(0x15f))/0x6*(parseInt(_0x463e5f(0x15c))/0x7)+parseInt(_0x463e5f(0x165))/0x8+-parseInt(_0x463e5f(0x156))/0x9*(-parseInt(_0x463e5f(0x14f))/0xa)+parseInt(_0x463e5f(0x155))/0xb;if(_0x5ae706===_0x302961)break;else _0x2136e0['push'](_0x2136e0['shift']());}catch(_0x1ebd73){_0x2136e0['push'](_0x2136e0['shift']());}}}(_0x1730,0xe9ba7));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x177c03(0x157),'conflict':'編輯衝突','notCollab':_0x177c03(0x163),'synced':'已同步','syncing':_0x177c03(0x15a),'offline':_0x177c03(0x14b)},'session':{'connection-failed':_0x177c03(0x164),'will-retry':_0x177c03(0x153),'room-full':_0x177c03(0x15d),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x177c03(0x160),'room-permission-denied':_0x177c03(0x14d),'room-cnt-exceeds':_0x177c03(0x152),'collaboration-timeout':_0x177c03(0x14e)},'conflict':{'title':_0x177c03(0x158),'content':_0x177c03(0x166)},'permission':{'title':_0x177c03(0x15e),'content':_0x177c03(0x159)},'collaboration':{'single-unit':{'warning':_0x177c03(0x151)},'closeRoom':_0x177c03(0x15b)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};function _0xe38f(_0x49813,_0x3d1295){_0x49813=_0x49813-0x14b;const _0x173071=_0x1730();let _0xe38f8c=_0x173071[_0x49813];return _0xe38f8c;}module['exports']=e;
1
+ const _0x2e2447=_0x1bbb;function _0x2951(){const _0x55a563=['本機檔案','100yaSetw','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','8080DdbwGk','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','986Hepenx','由於協作房間已關閉,編輯權限已被收回。','認證錯誤','已離線,編輯將儲存在本機','2126230EjNRqk','4045936FuDxGI','連線失敗,請檢查您的網路。','21514272BUTsUh','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','正在擷取伺服器資料...','7sKIywa','沒有協作權限,您的編輯將暫存於本機。','9DYRCAn','編輯衝突','連線失敗,將在稍後重試連線。','協作衝突','11528miQhzP','此文件協作人數已達上限,您的編輯將暫存於本機。','同步中...','2084TKwOIq','45537QAfxSj','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','5914758zitZJO','協作文件數量超過限制,您的編輯將暫存於本機。'];_0x2951=function(){return _0x55a563;};return _0x2951();}(function(_0x4e02d9,_0x4a758a){const _0x208b43=_0x1bbb,_0xcb43fc=_0x4e02d9();while(!![]){try{const _0x5e46ce=parseInt(_0x208b43(0x127))/0x1*(parseInt(_0x208b43(0x11d))/0x2)+-parseInt(_0x208b43(0x11e))/0x3*(-parseInt(_0x208b43(0x123))/0x4)+-parseInt(_0x208b43(0x12b))/0x5+parseInt(_0x208b43(0x120))/0x6*(parseInt(_0x208b43(0x131))/0x7)+-parseInt(_0x208b43(0x12c))/0x8*(parseInt(_0x208b43(0x133))/0x9)+-parseInt(_0x208b43(0x125))/0xa*(-parseInt(_0x208b43(0x137))/0xb)+-parseInt(_0x208b43(0x12e))/0xc;if(_0x5e46ce===_0x4a758a)break;else _0xcb43fc['push'](_0xcb43fc['shift']());}catch(_0x131242){_0xcb43fc['push'](_0xcb43fc['shift']());}}}(_0x2951,0x7de24));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x2e2447(0x130),'conflict':_0x2e2447(0x134),'notCollab':_0x2e2447(0x122),'synced':'已同步','syncing':_0x2e2447(0x11c),'offline':_0x2e2447(0x12a)},'session':{'connection-failed':_0x2e2447(0x12d),'will-retry':_0x2e2447(0x135),'room-full':_0x2e2447(0x11b),'join-failed':_0x2e2447(0x124),'room-not-exists':'加入協作失敗,您的編輯將暫存於本機。','room-permission-denied':_0x2e2447(0x132),'room-cnt-exceeds':_0x2e2447(0x121),'collaboration-timeout':'伺服器未回應協作請求,您的編輯將儲存在本機。'},'conflict':{'title':_0x2e2447(0x136),'content':_0x2e2447(0x12f)},'permission':{'title':_0x2e2447(0x129),'content':_0x2e2447(0x11f)},'collaboration':{'single-unit':{'warning':_0x2e2447(0x126)},'closeRoom':_0x2e2447(0x128)},'auth':{'needGotoLoginAlert':'您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。'}}};function _0x1bbb(_0x276621,_0x39eee0){_0x276621=_0x276621-0x11b;const _0x2951be=_0x2951();let _0x1bbb46=_0x2951be[_0x276621];return _0x1bbb46;}module['exports']=e;
package/lib/es/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x54092f=_0x5e5a;(function(_0xd40f19,_0x5e11d1){const _0x23ec8d=_0x5e5a,_0xf4bca6=_0xd40f19();while(!![]){try{const _0xc2784d=-parseInt(_0x23ec8d(0xc4))/0x1+parseInt(_0x23ec8d(0xe3))/0x2+parseInt(_0x23ec8d(0xe0))/0x3*(-parseInt(_0x23ec8d(0xe9))/0x4)+-parseInt(_0x23ec8d(0xbd))/0x5+parseInt(_0x23ec8d(0xda))/0x6+-parseInt(_0x23ec8d(0xe6))/0x7*(-parseInt(_0x23ec8d(0xc7))/0x8)+parseInt(_0x23ec8d(0xc5))/0x9;if(_0xc2784d===_0x5e11d1)break;else _0xf4bca6['push'](_0xf4bca6['shift']());}catch(_0x33ea28){_0xf4bca6['push'](_0xf4bca6['shift']());}}}(_0x2af5,0x9c7d1));import{CollaborationController as _0x262699,CollaborationStatus as _0x3d35c9,DataLoaderService as _0x3dec8f,MemberService as _0x2d2b71}from'@univerjs-pro/collaboration-client';import{FBase as _0x45a5ce,FEnum as _0x2a28a4,FEventName as _0x37d6a6,FUniver as _0x6ef71}from'@univerjs/core/facade';import{DisposableCollection as _0x415f70,IUniverInstanceService as _0x5a01df,Inject as _0x3b2403,Injector as _0xaf19f4,toDisposable as _0x52a4d9}from'@univerjs/core';import{SnapshotService as _0x52c95f}from'@univerjs-pro/collaboration';import{switchMap as _0x592263}from'rxjs';var h=class extends _0x2a28a4{get[_0x54092f(0xe4)](){return _0x3d35c9;}};_0x2a28a4[_0x54092f(0xde)](h);function _0x5e5a(_0x3bb77c,_0x23ed90){_0x3bb77c=_0x3bb77c-0xbc;const _0x2af526=_0x2af5();let _0x5e5a67=_0x2af526[_0x3bb77c];return _0x5e5a67;}var g=class extends _0x37d6a6{get[_0x54092f(0xe5)](){const _0x5c5c6d=_0x54092f;return _0x5c5c6d(0xe5);}};_0x37d6a6[_0x54092f(0xde)](g);function _(_0x190b7f,_0xfb0486){return function(_0x5ed3f6,_0x2733bf){_0xfb0486(_0x5ed3f6,_0x2733bf,_0x190b7f);};}function v(_0x5c6ea5,_0x1d2df1,_0x3e807d,_0x4fe4df){const _0x5fa744=_0x54092f;var _0x4ae27c=arguments[_0x5fa744(0xbf)],_0x5ee3a3=_0x4ae27c<0x3?_0x1d2df1:_0x4fe4df===null?_0x4fe4df=Object[_0x5fa744(0xcd)](_0x1d2df1,_0x3e807d):_0x4fe4df,_0x75847c;if(typeof Reflect=='object'&&typeof Reflect[_0x5fa744(0xd3)]=='function')_0x5ee3a3=Reflect['decorate'](_0x5c6ea5,_0x1d2df1,_0x3e807d,_0x4fe4df);else{for(var _0xea4ed3=_0x5c6ea5['length']-0x1;_0xea4ed3>=0x0;_0xea4ed3--)(_0x75847c=_0x5c6ea5[_0xea4ed3])&&(_0x5ee3a3=(_0x4ae27c<0x3?_0x75847c(_0x5ee3a3):_0x4ae27c>0x3?_0x75847c(_0x1d2df1,_0x3e807d,_0x5ee3a3):_0x75847c(_0x1d2df1,_0x3e807d))||_0x5ee3a3);}return _0x4ae27c>0x3&&_0x5ee3a3&&Object[_0x5fa744(0xe7)](_0x1d2df1,_0x3e807d,_0x5ee3a3),_0x5ee3a3;}let y=class extends _0x45a5ce{constructor(_0x1b81d1,_0x2d4e3c,_0x4f52ae,_0x5a20b0,_0x41e21a){const _0x3267d1=_0x54092f;super(),this['_handler']=_0x1b81d1,this[_0x3267d1(0xcc)]=_0x2d4e3c,this['_univerInstanceService']=_0x4f52ae,this[_0x3267d1(0xe1)]=_0x5a20b0,this['_collaborationController']=_0x41e21a;}async[_0x54092f(0xe8)](){const _0x312d57=_0x54092f;return this[_0x312d57(0xe2)]();}async[_0x54092f(0xe2)](){const _0x302cc2=_0x54092f;throw Error(_0x302cc2(0xc9));}async[_0x54092f(0xbe)](_0xee10eb){return this['loadSheetAsync'](_0xee10eb);}async[_0x54092f(0xce)](_0x3dae5d,_0x451ab8){const _0x473d12=_0x54092f;return await this[_0x473d12(0xe1)][_0x473d12(0xbe)](_0x3dae5d,0x0,_0x451ab8)?(await this[_0x473d12(0xcf)][_0x473d12(0xd6)](_0x3dae5d),this['_handler'][_0x473d12(0xd9)](_0x3dae5d)):null;}['subscribeCollaborators'](_0x227421,_0x357ece){const _0x3f328a=_0x54092f;return _0x52a4d9(this[_0x3f328a(0xcc)][_0x3f328a(0xdd)](_0x2d2b71)['waitForRoom$'](_0x227421)['pipe'](_0x592263(_0x3155fd=>_0x3155fd['members$']))[_0x3f328a(0xd5)](_0x181471=>_0x357ece(Array[_0x3f328a(0xc2)](_0x181471[_0x3f328a(0xdf)]()))));}[_0x54092f(0xd8)](_0x45183c){const _0x3d619d=_0x54092f;var _0x54a9ea;let _0x3bcc06;if(_0x45183c)_0x3bcc06=_0x45183c;else{let _0x410d4b=this['_univerInstanceService']['getFocusedUnit']();_0x3bcc06=_0x410d4b==null?void 0x0:_0x410d4b[_0x3d619d(0xcb)]();}if(!_0x3bcc06)return _0x3d35c9[_0x3d619d(0xca)];let _0x1f0a0f=this[_0x3d619d(0xcf)][_0x3d619d(0xdb)](_0x3bcc06);return(_0x54a9ea=_0x1f0a0f==null?void 0x0:_0x1f0a0f[_0x3d619d(0xc1)][_0x3d619d(0xd4)])==null?_0x3d35c9[_0x3d619d(0xca)]:_0x54a9ea;}};y=v([_(0x1,_0x3b2403(_0xaf19f4)),_(0x2,_0x5a01df),_(0x3,_0x3b2403(_0x52c95f)),_(0x4,_0x3b2403(_0x262699))],y);var b=class extends _0x6ef71{[_0x54092f(0xc3)](_0x5a8b81){const _0x7afab1=_0x54092f;let _0x4c6b24=_0x5a8b81['get'](_0x262699);this['disposeWithMe'](this['registerEventHandler'](this[_0x7afab1(0xd1)]['CollaborationStatusChanged'],()=>{const _0x20867e=_0x7afab1;let _0xb5439e=new _0x415f70(),_0x18d317=_0x4c6b24[_0x20867e(0xc6)][_0x20867e(0xd5)](_0xfd83c2=>{const _0x11d4b7=_0x20867e;let _0x383f42=_0xfd83c2['status$'][_0x11d4b7(0xd5)](_0x194bac=>{const _0x33087e=_0x11d4b7;let _0x35664d={'unitId':_0xfd83c2[_0x33087e(0xdc)],'status':_0x194bac};this['fireEvent'](this['Event'][_0x33087e(0xe5)],_0x35664d);});_0xb5439e[_0x11d4b7(0xd0)](_0x52a4d9(_0x383f42));});return _0xb5439e[_0x20867e(0xd0)](_0x52a4d9(_0x18d317)),_0xb5439e;}));}[_0x54092f(0xd2)](){const _0x24d69a=_0x54092f;return this[_0x24d69a(0xcc)][_0x24d69a(0xd7)](y,{'getUniverSheet':_0x3defbb=>this['getUniverSheet'](_0x3defbb)});}[_0x54092f(0xc0)](_0x598bef,_0x378507,_0x5bd947){const _0x510ad2=_0x54092f;return this[_0x510ad2(0xcc)]['get'](_0x3dec8f)[_0x510ad2(0xbc)](_0x598bef,_0x378507,_0x5bd947);}[_0x54092f(0xc8)](_0x19e2ca,_0x3885e8,_0x51a012){const _0x5af388=_0x54092f;return this[_0x5af388(0xcc)][_0x5af388(0xdd)](_0x3dec8f)['loadUnitOfRevision'](_0x19e2ca,_0x3885e8,_0x51a012);}};_0x6ef71[_0x54092f(0xde)](b);export{y as FCollaboration};function _0x2af5(){const _0x3be05a=['loadActiveSheet','44ujUEie','loadUnit','5731125ZJBAdU','loadSheet','length','loadServerUnit','state','from','_initialize','537224iHigac','4822812PBBBqC','entityInit$','8DMtCMD','loadServerUnitOfRevision','[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.','NOT_COLLAB','getUnitId','_injector','getOwnPropertyDescriptor','loadSheetAsync','_collaborationController','add','Event','getCollaboration','decorate','status','subscribe','readyForCollab','createInstance','getCollaborationStatus','getUniverSheet','6272220uctlSI','getCollabEntity','unitID','get','extend','values','150363dQOAmy','_snapshotService','loadActiveSheetAsync','2061584hbEpoF','CollaborationStatus','CollaborationStatusChanged','1846089VuIseY','defineProperty'];_0x2af5=function(){return _0x3be05a;};return _0x2af5();}
1
+ const _0x296125=_0x2fc4;(function(_0x929f70,_0x310ceb){const _0xb869c8=_0x2fc4,_0x52ec40=_0x929f70();while(!![]){try{const _0x3cd490=parseInt(_0xb869c8(0x150))/0x1+-parseInt(_0xb869c8(0x127))/0x2+-parseInt(_0xb869c8(0x14a))/0x3+-parseInt(_0xb869c8(0x146))/0x4*(parseInt(_0xb869c8(0x131))/0x5)+-parseInt(_0xb869c8(0x147))/0x6+parseInt(_0xb869c8(0x151))/0x7+parseInt(_0xb869c8(0x156))/0x8;if(_0x3cd490===_0x310ceb)break;else _0x52ec40['push'](_0x52ec40['shift']());}catch(_0x55bd19){_0x52ec40['push'](_0x52ec40['shift']());}}}(_0x58c6,0xf0088));import{CollaborationController as _0x6ee18c,CollaborationStatus as _0x19e571,DataLoaderService as _0x2ffe90,MemberService as _0x558292}from'@univerjs-pro/collaboration-client';import{FBase as _0x577053,FEnum as _0x4f4675,FEventName as _0x392f29,FUniver as _0x3e222c}from'@univerjs/core/facade';import{DisposableCollection as _0x249d1c,IUniverInstanceService as _0x3ac7d6,Inject as _0x5465d4,Injector as _0x1bacae,toDisposable as _0x483f67}from'@univerjs/core';import{SnapshotService as _0x122df6}from'@univerjs-pro/collaboration';import{switchMap as _0x1ba3c3}from'rxjs';function _0x58c6(){const _0x14bff6=['status$','getCollaborationStatus','loadActiveSheetAsync','getCollaboration','decorate','createInstance','loadSheet','getOwnPropertyDescriptor','length','state','_univerInstanceService','_snapshotService','disposeWithMe','registerEventHandler','loadUnitOfRevision','CollaborationStatusChanged','object','6260zcdKuk','6446940gafBmr','loadActiveSheet','_injector','3825888RTHGpe','extend','_handler','from','loadServerUnitOfRevision','NOT_COLLAB','1714517EWJSWT','12563957vVqIaC','subscribe','subscribeCollaborators','members$','loadUnit','7608656kjyJCM','get','461486slndqU','_collaborationController','getUniverSheet','Event','getUnitId','status','add','loadSheetAsync','loadServerUnit','function','2865JIPWnK','values','getCollabEntity','waitForRoom$'];_0x58c6=function(){return _0x14bff6;};return _0x58c6();}var h=class extends _0x4f4675{get['CollaborationStatus'](){return _0x19e571;}};_0x4f4675[_0x296125(0x14b)](h);var g=class extends _0x392f29{get[_0x296125(0x144)](){const _0x1f6662=_0x296125;return _0x1f6662(0x144);}};_0x392f29[_0x296125(0x14b)](g);function _(_0x1db60d,_0x860d5){return function(_0x2fb4a4,_0x4a48e7){_0x860d5(_0x2fb4a4,_0x4a48e7,_0x1db60d);};}function v(_0x437e79,_0x446529,_0x250bf5,_0x3fc18f){const _0x54853f=_0x296125;var _0x261052=arguments[_0x54853f(0x13d)],_0x282d66=_0x261052<0x3?_0x446529:_0x3fc18f===null?_0x3fc18f=Object[_0x54853f(0x13c)](_0x446529,_0x250bf5):_0x3fc18f,_0x1485cc;if(typeof Reflect==_0x54853f(0x145)&&typeof Reflect[_0x54853f(0x139)]==_0x54853f(0x130))_0x282d66=Reflect[_0x54853f(0x139)](_0x437e79,_0x446529,_0x250bf5,_0x3fc18f);else{for(var _0x49ed15=_0x437e79[_0x54853f(0x13d)]-0x1;_0x49ed15>=0x0;_0x49ed15--)(_0x1485cc=_0x437e79[_0x49ed15])&&(_0x282d66=(_0x261052<0x3?_0x1485cc(_0x282d66):_0x261052>0x3?_0x1485cc(_0x446529,_0x250bf5,_0x282d66):_0x1485cc(_0x446529,_0x250bf5))||_0x282d66);}return _0x261052>0x3&&_0x282d66&&Object['defineProperty'](_0x446529,_0x250bf5,_0x282d66),_0x282d66;}let y=class extends _0x577053{constructor(_0x4b6a89,_0x193c92,_0x2eb620,_0x2f23d4,_0xfb800c){const _0x52ff50=_0x296125;super(),this[_0x52ff50(0x14c)]=_0x4b6a89,this[_0x52ff50(0x149)]=_0x193c92,this[_0x52ff50(0x13f)]=_0x2eb620,this['_snapshotService']=_0x2f23d4,this[_0x52ff50(0x128)]=_0xfb800c;}async[_0x296125(0x148)](){return this['loadActiveSheetAsync']();}async[_0x296125(0x137)](){throw Error('[FCollaboration]:\x20this\x20method\x20should\x20be\x20override.');}async[_0x296125(0x13b)](_0x57475b){return this['loadSheetAsync'](_0x57475b);}async[_0x296125(0x12e)](_0x31ab5b,_0x3d1c70){const _0x3418ed=_0x296125;return await this[_0x3418ed(0x140)]['loadSheet'](_0x31ab5b,0x0,_0x3d1c70)?(await this[_0x3418ed(0x128)]['readyForCollab'](_0x31ab5b),this[_0x3418ed(0x14c)][_0x3418ed(0x129)](_0x31ab5b)):null;}[_0x296125(0x153)](_0x1347fb,_0x516f45){const _0x217d85=_0x296125;return _0x483f67(this['_injector']['get'](_0x558292)[_0x217d85(0x134)](_0x1347fb)['pipe'](_0x1ba3c3(_0x49fe18=>_0x49fe18[_0x217d85(0x154)]))[_0x217d85(0x152)](_0x5cb4d7=>_0x516f45(Array[_0x217d85(0x14d)](_0x5cb4d7[_0x217d85(0x132)]()))));}[_0x296125(0x136)](_0xbb1673){const _0x24bd7d=_0x296125;var _0x516a52;let _0x57d2c4;if(_0xbb1673)_0x57d2c4=_0xbb1673;else{let _0x7539d3=this[_0x24bd7d(0x13f)]['getFocusedUnit']();_0x57d2c4=_0x7539d3==null?void 0x0:_0x7539d3[_0x24bd7d(0x12b)]();}if(!_0x57d2c4)return _0x19e571[_0x24bd7d(0x14f)];let _0x2d2c26=this[_0x24bd7d(0x128)][_0x24bd7d(0x133)](_0x57d2c4);return(_0x516a52=_0x2d2c26==null?void 0x0:_0x2d2c26[_0x24bd7d(0x13e)][_0x24bd7d(0x12c)])==null?_0x19e571[_0x24bd7d(0x14f)]:_0x516a52;}};function _0x2fc4(_0x1d6bf1,_0x547261){_0x1d6bf1=_0x1d6bf1-0x127;const _0x58c66a=_0x58c6();let _0x2fc47e=_0x58c66a[_0x1d6bf1];return _0x2fc47e;}y=v([_(0x1,_0x5465d4(_0x1bacae)),_(0x2,_0x3ac7d6),_(0x3,_0x5465d4(_0x122df6)),_(0x4,_0x5465d4(_0x6ee18c))],y);var b=class extends _0x3e222c{['_initialize'](_0x394be4){const _0x188fdf=_0x296125;let _0x10024e=_0x394be4[_0x188fdf(0x157)](_0x6ee18c);this[_0x188fdf(0x141)](this[_0x188fdf(0x142)](this[_0x188fdf(0x12a)][_0x188fdf(0x144)],()=>{const _0x4639a5=_0x188fdf;let _0x417e6f=new _0x249d1c(),_0x4a2dc1=_0x10024e['entityInit$'][_0x4639a5(0x152)](_0x446a50=>{const _0xdbf76e=_0x4639a5;let _0x4a1858=_0x446a50[_0xdbf76e(0x135)][_0xdbf76e(0x152)](_0x1435c6=>{const _0x58a288=_0xdbf76e;let _0x5ec84c={'unitId':_0x446a50['unitID'],'status':_0x1435c6};this['fireEvent'](this[_0x58a288(0x12a)][_0x58a288(0x144)],_0x5ec84c);});_0x417e6f[_0xdbf76e(0x12d)](_0x483f67(_0x4a1858));});return _0x417e6f[_0x4639a5(0x12d)](_0x483f67(_0x4a2dc1)),_0x417e6f;}));}[_0x296125(0x138)](){const _0x1c5b45=_0x296125;return this[_0x1c5b45(0x149)][_0x1c5b45(0x13a)](y,{'getUniverSheet':_0x26a04d=>this['getUniverSheet'](_0x26a04d)});}[_0x296125(0x12f)](_0x5e0c5d,_0x1e765e,_0x5698be){const _0x4a3a2a=_0x296125;return this[_0x4a3a2a(0x149)][_0x4a3a2a(0x157)](_0x2ffe90)[_0x4a3a2a(0x155)](_0x5e0c5d,_0x1e765e,_0x5698be);}[_0x296125(0x14e)](_0x5d7e5c,_0x232ff2,_0x168b5c){const _0x20f157=_0x296125;return this[_0x20f157(0x149)]['get'](_0x2ffe90)[_0x20f157(0x143)](_0x5d7e5c,_0x232ff2,_0x168b5c);}};_0x3e222c['extend'](b);export{y as FCollaboration};