@univerjs-pro/collaboration-client 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +15 -15
@@ -1 +1 @@
1
- const _0x192e24=_0x4537;function _0x4537(_0x5efbdd,_0x39bc99){_0x5efbdd=_0x5efbdd-0xa5;const _0x6bc96c=_0x6bc9();let _0x4537e4=_0x6bc96c[_0x5efbdd];return _0x4537e4;}(function(_0x24d19f,_0x1d88ef){const _0x318150=_0x4537,_0x2b3c90=_0x24d19f();while(!![]){try{const _0x540df9=parseInt(_0x318150(0xbb))/0x1*(-parseInt(_0x318150(0xc2))/0x2)+-parseInt(_0x318150(0xaa))/0x3*(parseInt(_0x318150(0xa9))/0x4)+-parseInt(_0x318150(0xb9))/0x5*(-parseInt(_0x318150(0xc0))/0x6)+parseInt(_0x318150(0xb2))/0x7*(-parseInt(_0x318150(0xb5))/0x8)+-parseInt(_0x318150(0xb4))/0x9*(parseInt(_0x318150(0xba))/0xa)+parseInt(_0x318150(0xab))/0xb*(-parseInt(_0x318150(0xb1))/0xc)+parseInt(_0x318150(0xae))/0xd;if(_0x540df9===_0x1d88ef)break;else _0x2b3c90['push'](_0x2b3c90['shift']());}catch(_0x3505cd){_0x2b3c90['push'](_0x2b3c90['shift']());}}}(_0x6bc9,0x9af64));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':'點擊重新連線'}},'collabStatus':{'fetchMiss':_0x192e24(0xa5),'conflict':_0x192e24(0xbd),'notCollab':_0x192e24(0xbe),'synced':_0x192e24(0xaf),'syncing':_0x192e24(0xb3),'offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':_0x192e24(0xb7),'will-retry':_0x192e24(0xbc),'room-full':_0x192e24(0xb0),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x192e24(0xad),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x192e24(0xb8),'collaboration-timeout':_0x192e24(0xbf)},'conflict':{'title':_0x192e24(0xc3),'content':_0x192e24(0xac)},'permission':{'title':_0x192e24(0xb6),'content':_0x192e24(0xc1)},'collaboration':{'single-unit':{'warning':_0x192e24(0xa6)},'closeRoom':_0x192e24(0xa8)},'auth':{'needGotoLoginAlert':_0x192e24(0xa7)}}};export{e as default};function _0x6bc9(){const _0x74f7ee=['已同步','此文件協作人數已達上限,您的編輯將暫存於本機。','108aTzitr','119NzoNIn','同步中...','45YtZgNM','93872HucQJj','認證錯誤','連線失敗,請檢查您的網路。','協作文件數量超過限制,您的編輯將暫存於本機。','10dveamw','2218870vZTNAj','5wpiRLg','連線失敗,將在稍後重試連線。','編輯衝突','本機檔案','伺服器未回應協作請求,您的編輯將儲存在本機。','631122roFWDo','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','363980EjVNEm','協作衝突','正在擷取伺服器資料...','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','由於協作房間已關閉,編輯權限已被收回。','80lmufZh','16311rJKEdl','881639flNahb','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','加入協作失敗,您的編輯將暫存於本機。','45152822HasmAm'];_0x6bc9=function(){return _0x74f7ee;};return _0x6bc9();}
1
+ const _0x37fcc9=_0x4610;(function(_0x44af7a,_0x8572ab){const _0x3e5a60=_0x4610,_0x222e55=_0x44af7a();while(!![]){try{const _0x22a1a6=-parseInt(_0x3e5a60(0x129))/0x1+-parseInt(_0x3e5a60(0x13c))/0x2*(parseInt(_0x3e5a60(0x126))/0x3)+-parseInt(_0x3e5a60(0x132))/0x4+-parseInt(_0x3e5a60(0x134))/0x5+parseInt(_0x3e5a60(0x12f))/0x6+parseInt(_0x3e5a60(0x139))/0x7+parseInt(_0x3e5a60(0x12d))/0x8;if(_0x22a1a6===_0x8572ab)break;else _0x222e55['push'](_0x222e55['shift']());}catch(_0x4909f0){_0x222e55['push'](_0x222e55['shift']());}}}(_0x14cc,0x4b904));function _0x4610(_0x2a33e1,_0x6cad9d){_0x2a33e1=_0x2a33e1-0x123;const _0x14cc7d=_0x14cc();let _0x46101e=_0x14cc7d[_0x2a33e1];return _0x46101e;}const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x37fcc9(0x131)}},'collabStatus':{'fetchMiss':_0x37fcc9(0x125),'conflict':'編輯衝突','notCollab':_0x37fcc9(0x124),'synced':_0x37fcc9(0x12c),'syncing':'同步中...','offline':_0x37fcc9(0x138)},'session':{'connection-failed':_0x37fcc9(0x127),'will-retry':_0x37fcc9(0x13a),'room-full':_0x37fcc9(0x133),'join-failed':_0x37fcc9(0x13b),'room-not-exists':_0x37fcc9(0x136),'room-permission-denied':_0x37fcc9(0x13e),'room-cnt-exceeds':_0x37fcc9(0x137),'collaboration-timeout':_0x37fcc9(0x12a)},'conflict':{'title':_0x37fcc9(0x135),'content':_0x37fcc9(0x130)},'permission':{'title':_0x37fcc9(0x123),'content':_0x37fcc9(0x12e)},'collaboration':{'single-unit':{'warning':_0x37fcc9(0x128)},'closeRoom':_0x37fcc9(0x12b)},'auth':{'needGotoLoginAlert':_0x37fcc9(0x13d)}}};function _0x14cc(){const _0x202c67=['伺服器未回應協作請求,您的編輯將儲存在本機。','由於協作房間已關閉,編輯權限已被收回。','已同步','8715752OamleO','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','1909326QWPBlk','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','點擊重新連線','172604ttIJgD','此文件協作人數已達上限,您的編輯將暫存於本機。','1549065CQAUEW','協作衝突','加入協作失敗,您的編輯將暫存於本機。','協作文件數量超過限制,您的編輯將暫存於本機。','已離線,編輯將儲存在本機','172984mLcwlO','連線失敗,將在稍後重試連線。','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','324776liMHtv','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','沒有協作權限,您的編輯將暫存於本機。','認證錯誤','本機檔案','正在擷取伺服器資料...','6YFwjHv','連線失敗,請檢查您的網路。','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','445154qlIgGp'];_0x14cc=function(){return _0x202c67;};return _0x14cc();}export{e as default};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0x4178(){const _0x171a91=['exports','DataLoaderService','FEventName','add','@univerjs/core/facade','DisposableCollection','getCollaboration','@univerjs-pro/collaboration-client','17745SQhgPs','UniverCore','getCollabEntity','115906EQColz','Event','toStringTag','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','getUnitId','toDisposable','ms.','loadServerUnit','loadBaseAsync','_handler','loadDoc','loadSlide','_resolveUnitId','readyForCollab','\x22\x20after\x20','loadUnitOfRevision','CollaborationStatusChanged','flush','_snapshotService','loadServerUnitOfRevision','UniverProCollaborationClientFacade','object','325991ARBIxG','1411056KUGugY','getBoard','_univerInstanceService','getPresentation','2268837FETNUs','loadBase','358076herWWJ','FEnum','FUniver','FBase','NOT_COLLAB','function','loadPdf','FCollaboration','extend','unsubscribe','status$','switchMap','amd','Injector','UniverProCollaboration','getOwnPropertyDescriptor','CollaborationController','get','getFocusedUnit','10hPlzjB','loadPdfAsync','getDocument','fireEvent','6uoBtHT','Inject','disposeWithMe','pipe','loadSlideAsync','getCollaborationStatus','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','defineProperty','values','144shBQUj','rxjs','MemberService','subscribeCollaborators','timeout','decorate','Module','getBase','waitForRoom$','loadBoardAsync','loadUnit','_collaborationController','getWorkbook','registerEventHandler','@univerjs-pro/collaboration','loadBoard','3046410UkfBrG','SYNCED','length','CollaborationStatus','unitID','subscribe','resolve','status','loadSheet','members$','reject','state','UniverCoreFacade','getPdf','_injector'];_0x4178=function(){return _0x171a91;};return _0x4178();}function _0x46ec(_0x11ab44,_0x45e4ac){_0x11ab44=_0x11ab44-0xd0;const _0x4178a3=_0x4178();let _0x46ec85=_0x4178a3[_0x11ab44];return _0x46ec85;}(function(_0x1627c0,_0x1dbf51){const _0x1ddbf4=_0x46ec,_0x4b36d4=_0x1627c0();while(!![]){try{const _0x40fc8f=parseInt(_0x1ddbf4(0x121))/0x1+parseInt(_0x1ddbf4(0x10b))/0x2*(parseInt(_0x1ddbf4(0xd8))/0x3)+parseInt(_0x1ddbf4(0x128))/0x4*(parseInt(_0x1ddbf4(0xd4))/0x5)+-parseInt(_0x1ddbf4(0xe1))/0x6*(parseInt(_0x1ddbf4(0x108))/0x7)+parseInt(_0x1ddbf4(0x122))/0x8+-parseInt(_0x1ddbf4(0x126))/0x9+-parseInt(_0x1ddbf4(0xf1))/0xa;if(_0x40fc8f===_0x1dbf51)break;else _0x4b36d4['push'](_0x4b36d4['shift']());}catch(_0x30d4a7){_0x4b36d4['push'](_0x4b36d4['shift']());}}}(_0x4178,0x2be1f),function(_0x4b3fac,_0x2390bc){const _0x32761d=_0x46ec;typeof exports==_0x32761d(0x120)&&typeof module<'u'?_0x2390bc(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x32761d(0x12d)&&define[_0x32761d(0x134)]?define([_0x32761d(0x100),_0x32761d(0x107),_0x32761d(0x104),'@univerjs/core',_0x32761d(0xef),_0x32761d(0xe2)],_0x2390bc):(_0x4b3fac=typeof globalThis<'u'?globalThis:_0x4b3fac||self,_0x2390bc(_0x4b3fac[_0x32761d(0x11f)]={},_0x4b3fac['UniverProCollaborationClient'],_0x4b3fac[_0x32761d(0xfd)],_0x4b3fac[_0x32761d(0x109)],_0x4b3fac[_0x32761d(0x136)],_0x4b3fac[_0x32761d(0xe2)]));}(this,function(_0x4d25f7,_0x5a9ff5,_0x74564e,_0x28b429,_0x429641,_0x5c90fd){const _0x7bb825=_0x46ec;Object[_0x7bb825(0xdf)](_0x4d25f7,Symbol[_0x7bb825(0x10d)],{'value':_0x7bb825(0xe7)});var _0x1044e0=class extends _0x74564e[_0x7bb825(0x129)]{get[_0x7bb825(0xf4)](){const _0x3d1416=_0x7bb825;return _0x5a9ff5[_0x3d1416(0xf4)];}};_0x74564e['FEnum'][_0x7bb825(0x130)](_0x1044e0);var _0x4dbfe5=class extends _0x74564e['FEventName']{get[_0x7bb825(0x11b)](){const _0x400495=_0x7bb825;return _0x400495(0x11b);}};_0x74564e[_0x7bb825(0x102)][_0x7bb825(0x130)](_0x4dbfe5);function _0x63836b(_0x261404,_0x55cfae){return function(_0x1fbaa7,_0x48d7d7){_0x55cfae(_0x1fbaa7,_0x48d7d7,_0x261404);};}function _0x59ec6b(_0x3063a2,_0xee7bd0,_0x5d6f78,_0x56b86c){const _0x25793b=_0x7bb825;var _0x143648=arguments[_0x25793b(0xf3)],_0x6c828c=_0x143648<0x3?_0xee7bd0:_0x56b86c===null?_0x56b86c=Object[_0x25793b(0xd0)](_0xee7bd0,_0x5d6f78):_0x56b86c,_0x38b4cd;if(typeof Reflect==_0x25793b(0x120)&&typeof Reflect['decorate']==_0x25793b(0x12d))_0x6c828c=Reflect[_0x25793b(0xe6)](_0x3063a2,_0xee7bd0,_0x5d6f78,_0x56b86c);else{for(var _0x5b9095=_0x3063a2['length']-0x1;_0x5b9095>=0x0;_0x5b9095--)(_0x38b4cd=_0x3063a2[_0x5b9095])&&(_0x6c828c=(_0x143648<0x3?_0x38b4cd(_0x6c828c):_0x143648>0x3?_0x38b4cd(_0xee7bd0,_0x5d6f78,_0x6c828c):_0x38b4cd(_0xee7bd0,_0x5d6f78))||_0x6c828c);}return _0x143648>0x3&&_0x6c828c&&Object[_0x25793b(0xdf)](_0xee7bd0,_0x5d6f78,_0x6c828c),_0x6c828c;}let _0x1a2363=class extends _0x74564e[_0x7bb825(0x12b)]{constructor(_0x2a6daa,_0x482f5a,_0x15c930,_0x519c7a,_0x13c953){const _0x115b46=_0x7bb825;super(),this['_handler']=_0x2a6daa,this[_0x115b46(0xff)]=_0x482f5a,this[_0x115b46(0x124)]=_0x15c930,this[_0x115b46(0x11d)]=_0x519c7a,this[_0x115b46(0xec)]=_0x13c953;}async['loadSheetAsync'](_0x3bfd68,_0x3351cd){const _0xf4a1a8=_0x7bb825;return await this[_0xf4a1a8(0x11d)][_0xf4a1a8(0xf9)](_0x3bfd68,0x0,_0x3351cd)?(await this[_0xf4a1a8(0xec)]['readyForCollab'](_0x3bfd68),this[_0xf4a1a8(0x114)]['getWorkbook'](_0x3bfd68)):null;}async['loadDocAsync'](_0x41c835,_0x529f25){const _0x513f59=_0x7bb825;return await this['_snapshotService'][_0x513f59(0x115)](_0x41c835,0x0,_0x529f25)?(await this[_0x513f59(0xec)]['readyForCollab'](_0x41c835),this['_handler'][_0x513f59(0xd6)](_0x41c835)):null;}async[_0x7bb825(0x113)](_0xd05731,_0x2b44c6){const _0x43b3e0=_0x7bb825;return await this['_snapshotService'][_0x43b3e0(0x127)](_0xd05731,0x0,_0x2b44c6)?(await this['_collaborationController'][_0x43b3e0(0x118)](_0xd05731),this[_0x43b3e0(0x114)]['getBase'](_0xd05731)):null;}async[_0x7bb825(0xdc)](_0x22b36e,_0x4aa71e){const _0x15d76=_0x7bb825;return await this[_0x15d76(0x11d)][_0x15d76(0x116)](_0x22b36e,0x0,_0x4aa71e)?(await this[_0x15d76(0xec)]['readyForCollab'](_0x22b36e),this[_0x15d76(0x114)][_0x15d76(0x125)](_0x22b36e)):null;}async[_0x7bb825(0xea)](_0x4b6c30,_0x32613c){const _0x5258cd=_0x7bb825;return await this[_0x5258cd(0x11d)][_0x5258cd(0xf0)](_0x4b6c30,0x0,_0x32613c)?(await this[_0x5258cd(0xec)][_0x5258cd(0x118)](_0x4b6c30),this[_0x5258cd(0x114)]['getBoard'](_0x4b6c30)):null;}async[_0x7bb825(0xd5)](_0x97ae9b,_0x325e08){const _0x5c500a=_0x7bb825;return await this[_0x5c500a(0x11d)][_0x5c500a(0x12e)](_0x97ae9b,0x0,_0x325e08)?(await this['_collaborationController'][_0x5c500a(0x118)](_0x97ae9b),this[_0x5c500a(0x114)][_0x5c500a(0xfe)](_0x97ae9b)):null;}[_0x7bb825(0xe4)](_0x4c7e47,_0x46f332){const _0x2b642d=_0x7bb825;let _0x14b85a=this[_0x2b642d(0xff)][_0x2b642d(0xd2)](_0x5a9ff5[_0x2b642d(0xe3)])[_0x2b642d(0xe9)](_0x4c7e47)[_0x2b642d(0xdb)]((0x0,_0x5c90fd[_0x2b642d(0x133)])(_0x58897d=>_0x58897d[_0x2b642d(0xfa)]))[_0x2b642d(0xf6)](_0x49a577=>_0x46f332(Array['from'](_0x49a577[_0x2b642d(0xe0)]())));return(0x0,_0x28b429[_0x2b642d(0x110)])(_0x14b85a);}[_0x7bb825(0xdd)](_0x7570ec){const _0x251b8b=_0x7bb825;let _0x1c0911=this[_0x251b8b(0x117)](_0x7570ec);if(!_0x1c0911)return _0x5a9ff5[_0x251b8b(0xf4)]['NOT_COLLAB'];let _0x36496e=this[_0x251b8b(0xec)][_0x251b8b(0x10a)](_0x1c0911);return(_0x36496e==null?void 0x0:_0x36496e[_0x251b8b(0xfc)][_0x251b8b(0xf8)])??_0x5a9ff5['CollaborationStatus'][_0x251b8b(0x12c)];}[_0x7bb825(0x11c)](_0x4a023f,_0x100c41={}){const _0x3947de=_0x7bb825;let _0x27ff9c=this['_resolveUnitId'](_0x4a023f);if(!_0x27ff9c)return Promise[_0x3947de(0xfb)](Error('[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.'));let _0x13e910=this[_0x3947de(0xec)][_0x3947de(0x10a)](_0x27ff9c);if(!_0x13e910)return Promise[_0x3947de(0xfb)](Error('[FCollaboration]:\x20Unit\x20\x22'+_0x27ff9c+_0x3947de(0x10e)));let _0x4b4c35=_0x13e910[_0x3947de(0xfc)][_0x3947de(0xf8)];if(_0x4b4c35===_0x5a9ff5[_0x3947de(0xf4)][_0x3947de(0xf2)])return Promise[_0x3947de(0xf7)]();let _0x5cdd31=_0x11cd49(_0x27ff9c,_0x4b4c35);if(_0x5cdd31)return Promise['reject'](_0x5cdd31);let _0x599ea1=_0x100c41[_0x3947de(0xe5)]??0x7530;return new Promise((_0x48c11d,_0x31e204)=>{const _0x19d6e2=_0x3947de;let _0x3f6d3b=!0x1,_0x561cee=null,_0x6070d3=setTimeout(()=>{const _0x252f87=_0x46ec;_0x3f6d3b=!0x0,_0x561cee==null||_0x561cee[_0x252f87(0x131)](),_0x31e204(Error('[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22'+_0x27ff9c+_0x252f87(0x119)+_0x599ea1+_0x252f87(0x111)));},_0x599ea1),_0x845cfe=()=>{const _0x5cef9a=_0x46ec;_0x3f6d3b=!0x0,clearTimeout(_0x6070d3),_0x561cee==null||_0x561cee[_0x5cef9a(0x131)]();};_0x561cee=_0x13e910[_0x19d6e2(0x132)][_0x19d6e2(0xf6)](_0x33dbbf=>{const _0x3ef791=_0x19d6e2;if(_0x3f6d3b)return;if(_0x33dbbf===_0x5a9ff5[_0x3ef791(0xf4)][_0x3ef791(0xf2)]){_0x845cfe(),_0x48c11d();return;}let _0x4f90c1=_0x11cd49(_0x27ff9c,_0x33dbbf);_0x4f90c1&&(_0x845cfe(),_0x31e204(_0x4f90c1));});});}[_0x7bb825(0x117)](_0x32bfca){const _0x3a2e97=_0x7bb825;var _0xb3003d;return _0x32bfca||((_0xb3003d=this['_univerInstanceService'][_0x3a2e97(0xd3)]())==null?void 0x0:_0xb3003d[_0x3a2e97(0x10f)]());}};_0x1a2363=_0x59ec6b([_0x63836b(0x1,(0x0,_0x28b429[_0x7bb825(0xd9)])(_0x28b429[_0x7bb825(0x135)])),_0x63836b(0x2,_0x28b429['IUniverInstanceService']),_0x63836b(0x3,(0x0,_0x28b429['Inject'])(_0x429641['SnapshotService'])),_0x63836b(0x4,(0x0,_0x28b429['Inject'])(_0x5a9ff5[_0x7bb825(0xd1)]))],_0x1a2363);function _0x11cd49(_0x4ff4db,_0x514984){const _0x40864b=_0x7bb825;return _0x514984===_0x5a9ff5[_0x40864b(0xf4)]['CONFLICT']||_0x514984===_0x5a9ff5[_0x40864b(0xf4)][_0x40864b(0x12c)]?Error(_0x40864b(0xde)+_0x4ff4db+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x514984+'.'):null;}var _0x20caa4=class extends _0x74564e['FUniver']{['_initialize'](_0x2fb22b){const _0x30e37b=_0x7bb825;let _0x3bc4cd=_0x2fb22b[_0x30e37b(0xd2)](_0x5a9ff5[_0x30e37b(0xd1)]);this[_0x30e37b(0xda)](this[_0x30e37b(0xee)](this['Event']['CollaborationStatusChanged'],()=>{const _0xca243a=_0x30e37b;let _0x6f8478=new _0x28b429[(_0xca243a(0x105))](),_0x39ed31=_0x3bc4cd['entityInit$'][_0xca243a(0xf6)](_0x31fa3b=>{const _0x14ac47=_0xca243a;let _0xd532a7=_0x31fa3b[_0x14ac47(0x132)][_0x14ac47(0xf6)](_0x4a0e64=>{const _0x2dc196=_0x14ac47;let _0x1b240c={'unitId':_0x31fa3b[_0x2dc196(0xf5)],'status':_0x4a0e64};this[_0x2dc196(0xd7)](this[_0x2dc196(0x10c)][_0x2dc196(0x11b)],_0x1b240c);});_0x6f8478[_0x14ac47(0x103)]((0x0,_0x28b429[_0x14ac47(0x110)])(_0xd532a7));});return _0x6f8478[_0xca243a(0x103)]((0x0,_0x28b429[_0xca243a(0x110)])(_0x39ed31)),_0x6f8478;}));}[_0x7bb825(0x106)](){const _0x4892a4=_0x7bb825;return this['_injector']['createInstance'](_0x1a2363,{'getWorkbook':_0x3eda6a=>this[_0x4892a4(0xed)](_0x3eda6a),'getDocument':_0xd3458c=>this[_0x4892a4(0xd6)](_0xd3458c),'getPresentation':_0x1a1d94=>this[_0x4892a4(0x125)](_0x1a1d94),'getBase':_0x4c2095=>this[_0x4892a4(0xe8)](_0x4c2095),'getBoard':_0x125da5=>this[_0x4892a4(0x123)](_0x125da5),'getPdf':_0x43f355=>this['getPdf'](_0x43f355)});}[_0x7bb825(0x112)](_0x1b8218,_0x14eb26,_0x42d8a6){const _0x423bd6=_0x7bb825;return this[_0x423bd6(0xff)][_0x423bd6(0xd2)](_0x5a9ff5['DataLoaderService'])[_0x423bd6(0xeb)](_0x1b8218,_0x14eb26,_0x42d8a6);}[_0x7bb825(0x11e)](_0x2db66e,_0x2cace7,_0x29e469){const _0x574435=_0x7bb825;return this[_0x574435(0xff)][_0x574435(0xd2)](_0x5a9ff5[_0x574435(0x101)])[_0x574435(0x11a)](_0x2db66e,_0x2cace7,_0x29e469);}};_0x74564e[_0x7bb825(0x12a)]['extend'](_0x20caa4),Object[_0x7bb825(0xdf)](_0x4d25f7,_0x7bb825(0x12f),{'enumerable':!0x0,'get':function(){return _0x1a2363;}});}));
1
+ (function(_0x4e80fc,_0x1b7b1f){const _0x43c43f=_0x1419,_0x450b27=_0x4e80fc();while(!![]){try{const _0x465c4e=-parseInt(_0x43c43f(0x1b7))/0x1*(-parseInt(_0x43c43f(0x1a0))/0x2)+parseInt(_0x43c43f(0x19b))/0x3*(-parseInt(_0x43c43f(0x1cc))/0x4)+parseInt(_0x43c43f(0x19c))/0x5*(-parseInt(_0x43c43f(0x1ba))/0x6)+parseInt(_0x43c43f(0x1aa))/0x7*(-parseInt(_0x43c43f(0x1a4))/0x8)+-parseInt(_0x43c43f(0x1f7))/0x9*(-parseInt(_0x43c43f(0x19d))/0xa)+-parseInt(_0x43c43f(0x1fa))/0xb*(parseInt(_0x43c43f(0x1f0))/0xc)+parseInt(_0x43c43f(0x1e8))/0xd;if(_0x465c4e===_0x1b7b1f)break;else _0x450b27['push'](_0x450b27['shift']());}catch(_0x27517c){_0x450b27['push'](_0x450b27['shift']());}}}(_0x4eec,0x29f44),function(_0x1a7dd0,_0x1c1280){const _0x1c0fca=_0x1419;typeof exports=='object'&&typeof module<'u'?_0x1c1280(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x1c0fca(0x1ed)&&define['amd']?define([_0x1c0fca(0x1cb),_0x1c0fca(0x1a2),'@univerjs/core/facade','@univerjs/core',_0x1c0fca(0x1f4),_0x1c0fca(0x1c3)],_0x1c1280):(_0x1a7dd0=typeof globalThis<'u'?globalThis:_0x1a7dd0||self,_0x1c1280(_0x1a7dd0[_0x1c0fca(0x1af)]={},_0x1a7dd0[_0x1c0fca(0x1b8)],_0x1a7dd0[_0x1c0fca(0x1d4)],_0x1a7dd0['UniverCore'],_0x1a7dd0['UniverProCollaboration'],_0x1a7dd0[_0x1c0fca(0x1c3)]));}(this,function(_0x3d29b0,_0x116e2b,_0x575807,_0x3584e7,_0x272123,_0x149dce){const _0x3e3892=_0x1419;Object[_0x3e3892(0x1bb)](_0x3d29b0,Symbol[_0x3e3892(0x1f8)],{'value':_0x3e3892(0x1f1)});var _0x9c26f0=class extends _0x575807[_0x3e3892(0x1dc)]{get[_0x3e3892(0x1bc)](){const _0x195271=_0x3e3892;return _0x116e2b[_0x195271(0x1bc)];}};_0x575807['FEnum'][_0x3e3892(0x1c5)](_0x9c26f0);var _0x588efa=class extends _0x575807['FEventName']{get['CollaborationStatusChanged'](){const _0x4e6e3d=_0x3e3892;return _0x4e6e3d(0x1e5);}};_0x575807[_0x3e3892(0x19e)]['extend'](_0x588efa);function _0x4e33b1(_0x4da079,_0x3f390e){return function(_0x5a056f,_0x24b931){_0x3f390e(_0x5a056f,_0x24b931,_0x4da079);};}function _0x4246bc(_0x3f1e0b,_0x53ca09,_0x198e8f,_0x1a92f3){const _0x267330=_0x3e3892;var _0x184eba=arguments[_0x267330(0x1ec)],_0x5405d4=_0x184eba<0x3?_0x53ca09:_0x1a92f3===null?_0x1a92f3=Object[_0x267330(0x1c4)](_0x53ca09,_0x198e8f):_0x1a92f3,_0x25539d;if(typeof Reflect=='object'&&typeof Reflect[_0x267330(0x1ae)]==_0x267330(0x1ed))_0x5405d4=Reflect[_0x267330(0x1ae)](_0x3f1e0b,_0x53ca09,_0x198e8f,_0x1a92f3);else{for(var _0x13f7c1=_0x3f1e0b['length']-0x1;_0x13f7c1>=0x0;_0x13f7c1--)(_0x25539d=_0x3f1e0b[_0x13f7c1])&&(_0x5405d4=(_0x184eba<0x3?_0x25539d(_0x5405d4):_0x184eba>0x3?_0x25539d(_0x53ca09,_0x198e8f,_0x5405d4):_0x25539d(_0x53ca09,_0x198e8f))||_0x5405d4);}return _0x184eba>0x3&&_0x5405d4&&Object[_0x267330(0x1bb)](_0x53ca09,_0x198e8f,_0x5405d4),_0x5405d4;}let _0x27b724=class extends _0x575807['FBase']{constructor(_0x3f18fd,_0x53ad63,_0x1be216,_0xf87e78,_0x2e43fa){const _0xe36972=_0x3e3892;super(),this[_0xe36972(0x1da)]=_0x3f18fd,this['_injector']=_0x53ad63,this[_0xe36972(0x1a8)]=_0x1be216,this[_0xe36972(0x1b6)]=_0xf87e78,this[_0xe36972(0x1d1)]=_0x2e43fa;}async[_0x3e3892(0x1c2)](_0x6651ba,_0xb5fc2b){const _0x2ebbfb=_0x3e3892;return await this[_0x2ebbfb(0x1b6)][_0x2ebbfb(0x1d2)](_0x6651ba,0x0,_0xb5fc2b)?(await this[_0x2ebbfb(0x1d1)][_0x2ebbfb(0x1b2)](_0x6651ba),this[_0x2ebbfb(0x1da)][_0x2ebbfb(0x1a5)](_0x6651ba)):null;}async['loadDocAsync'](_0x56f975,_0x2b4eaa){const _0x22afa1=_0x3e3892;return await this['_snapshotService']['loadDoc'](_0x56f975,0x0,_0x2b4eaa)?(await this[_0x22afa1(0x1d1)][_0x22afa1(0x1b2)](_0x56f975),this[_0x22afa1(0x1da)]['getDocument'](_0x56f975)):null;}async['loadBaseAsync'](_0x9fa446,_0x24980d){const _0x279011=_0x3e3892;return await this[_0x279011(0x1b6)][_0x279011(0x1c6)](_0x9fa446,0x0,_0x24980d)?(await this[_0x279011(0x1d1)]['readyForCollab'](_0x9fa446),this['_handler']['getBase'](_0x9fa446)):null;}async[_0x3e3892(0x1e4)](_0x216a23,_0x28b6a8){const _0x1db230=_0x3e3892;return await this[_0x1db230(0x1b6)][_0x1db230(0x1b3)](_0x216a23,0x0,_0x28b6a8)?(await this[_0x1db230(0x1d1)][_0x1db230(0x1b2)](_0x216a23),this[_0x1db230(0x1da)][_0x1db230(0x1e7)](_0x216a23)):null;}async['loadBoardAsync'](_0x517cb6,_0x258034){const _0x1c7fee=_0x3e3892;return await this[_0x1c7fee(0x1b6)]['loadBoard'](_0x517cb6,0x0,_0x258034)?(await this[_0x1c7fee(0x1d1)]['readyForCollab'](_0x517cb6),this[_0x1c7fee(0x1da)]['getBoard'](_0x517cb6)):null;}async[_0x3e3892(0x1d8)](_0x501482,_0x149f2d){const _0x44376b=_0x3e3892;return await this[_0x44376b(0x1b6)][_0x44376b(0x1bd)](_0x501482,0x0,_0x149f2d)?(await this['_collaborationController'][_0x44376b(0x1b2)](_0x501482),this[_0x44376b(0x1da)][_0x44376b(0x1a9)](_0x501482)):null;}[_0x3e3892(0x1b1)](_0x2d84c8,_0x32936c){const _0x363935=_0x3e3892;let _0x57537f=this['_injector']['get'](_0x116e2b['MemberService'])[_0x363935(0x1b4)](_0x2d84c8)[_0x363935(0x1df)]((0x0,_0x149dce[_0x363935(0x1c1)])(_0x5ee84f=>_0x5ee84f[_0x363935(0x1a1)]))[_0x363935(0x1bf)](_0x2f58ad=>_0x32936c(Array['from'](_0x2f58ad[_0x363935(0x1fc)]())));return(0x0,_0x3584e7[_0x363935(0x1ca)])(_0x57537f);}[_0x3e3892(0x1e0)](_0x314b95){const _0x599885=_0x3e3892;let _0x141848=this[_0x599885(0x1ef)](_0x314b95);if(!_0x141848)return _0x116e2b[_0x599885(0x1bc)]['NOT_COLLAB'];let _0x1691e2=this[_0x599885(0x1d1)][_0x599885(0x1e3)](_0x141848);return(_0x1691e2==null?void 0x0:_0x1691e2[_0x599885(0x1d9)][_0x599885(0x19f)])??_0x116e2b['CollaborationStatus'][_0x599885(0x1b0)];}['flush'](_0x148a81,_0x140621={}){const _0x19e428=_0x3e3892;let _0x194981=this['_resolveUnitId'](_0x148a81);if(!_0x194981)return Promise[_0x19e428(0x1ce)](Error(_0x19e428(0x1fb)));let _0x539173=this[_0x19e428(0x1d1)]['getCollabEntity'](_0x194981);if(!_0x539173)return Promise[_0x19e428(0x1ce)](Error(_0x19e428(0x1f6)+_0x194981+_0x19e428(0x1dd)));let _0x73fff4=_0x539173[_0x19e428(0x1d9)]['status'];if(_0x73fff4===_0x116e2b[_0x19e428(0x1bc)]['SYNCED'])return Promise[_0x19e428(0x1ea)]();let _0x521360=_0x3eb8ed(_0x194981,_0x73fff4);if(_0x521360)return Promise[_0x19e428(0x1ce)](_0x521360);let _0x3eff41=_0x140621['timeout']??0x7530;return new Promise((_0x345ba3,_0x117ef4)=>{const _0x50e6fb=_0x19e428;let _0x43b999=!0x1,_0x17c2c9=null,_0x5bd5a8=setTimeout(()=>{const _0x603c3d=_0x1419;_0x43b999=!0x0,_0x17c2c9==null||_0x17c2c9[_0x603c3d(0x1e9)](),_0x117ef4(Error(_0x603c3d(0x1c7)+_0x194981+_0x603c3d(0x1e1)+_0x3eff41+_0x603c3d(0x1a6)));},_0x3eff41),_0x565b9b=()=>{const _0x114e6f=_0x1419;_0x43b999=!0x0,clearTimeout(_0x5bd5a8),_0x17c2c9==null||_0x17c2c9[_0x114e6f(0x1e9)]();};_0x17c2c9=_0x539173['status$'][_0x50e6fb(0x1bf)](_0x3d8a32=>{const _0x4e6b2d=_0x50e6fb;if(_0x43b999)return;if(_0x3d8a32===_0x116e2b['CollaborationStatus'][_0x4e6b2d(0x1e2)]){_0x565b9b(),_0x345ba3();return;}let _0x5e9aae=_0x3eb8ed(_0x194981,_0x3d8a32);_0x5e9aae&&(_0x565b9b(),_0x117ef4(_0x5e9aae));});});}[_0x3e3892(0x1ef)](_0x96fc0c){const _0x584653=_0x3e3892;var _0x205a60;return _0x96fc0c||((_0x205a60=this['_univerInstanceService'][_0x584653(0x1c0)]())==null?void 0x0:_0x205a60['getUnitId']());}};_0x27b724=_0x4246bc([_0x4e33b1(0x1,(0x0,_0x3584e7[_0x3e3892(0x1e6)])(_0x3584e7[_0x3e3892(0x1ee)])),_0x4e33b1(0x2,_0x3584e7[_0x3e3892(0x1c9)]),_0x4e33b1(0x3,(0x0,_0x3584e7[_0x3e3892(0x1e6)])(_0x272123['SnapshotService'])),_0x4e33b1(0x4,(0x0,_0x3584e7[_0x3e3892(0x1e6)])(_0x116e2b[_0x3e3892(0x1d5)]))],_0x27b724);function _0x3eb8ed(_0x1ed197,_0x1e3014){const _0x1f1409=_0x3e3892;return _0x1e3014===_0x116e2b['CollaborationStatus'][_0x1f1409(0x1ad)]||_0x1e3014===_0x116e2b['CollaborationStatus'][_0x1f1409(0x1b0)]?Error(_0x1f1409(0x1b5)+_0x1ed197+'\x22\x20while\x20collaboration\x20status\x20is\x20'+_0x1e3014+'.'):null;}var _0x234dd3=class extends _0x575807[_0x3e3892(0x1d0)]{[_0x3e3892(0x1d3)](_0x23cb11){const _0x3939b9=_0x3e3892;let _0x5cca81=_0x23cb11[_0x3939b9(0x1cd)](_0x116e2b[_0x3939b9(0x1d5)]);this[_0x3939b9(0x1d6)](this[_0x3939b9(0x1c8)](this[_0x3939b9(0x1a3)][_0x3939b9(0x1e5)],()=>{const _0x4f084d=_0x3939b9;let _0x36c070=new _0x3584e7['DisposableCollection'](),_0x144aa6=_0x5cca81[_0x4f084d(0x1b9)][_0x4f084d(0x1bf)](_0x451ff5=>{const _0x35a6b5=_0x4f084d;let _0x4427b9=_0x451ff5[_0x35a6b5(0x1de)]['subscribe'](_0x579df4=>{const _0x169f7a=_0x35a6b5;let _0x278fb1={'unitId':_0x451ff5[_0x169f7a(0x1cf)],'status':_0x579df4};this['fireEvent'](this[_0x169f7a(0x1a3)][_0x169f7a(0x1e5)],_0x278fb1);});_0x36c070[_0x35a6b5(0x1eb)]((0x0,_0x3584e7['toDisposable'])(_0x4427b9));});return _0x36c070[_0x4f084d(0x1eb)]((0x0,_0x3584e7[_0x4f084d(0x1ca)])(_0x144aa6)),_0x36c070;}));}[_0x3e3892(0x1f5)](){const _0x3154bd=_0x3e3892;return this[_0x3154bd(0x1a7)][_0x3154bd(0x1f3)](_0x27b724,{'getWorkbook':_0xc8181e=>this['getWorkbook'](_0xc8181e),'getDocument':_0x57d9f7=>this[_0x3154bd(0x1ac)](_0x57d9f7),'getPresentation':_0x472739=>this[_0x3154bd(0x1e7)](_0x472739),'getBase':_0x18668d=>this[_0x3154bd(0x1f2)](_0x18668d),'getBoard':_0x46537=>this[_0x3154bd(0x1db)](_0x46537),'getPdf':_0x2f1be6=>this[_0x3154bd(0x1a9)](_0x2f1be6)});}[_0x3e3892(0x1f9)](_0x31f6d4,_0x457ad9,_0x2a3a3a){const _0x4f5c67=_0x3e3892;return this['_injector']['get'](_0x116e2b[_0x4f5c67(0x1ab)])[_0x4f5c67(0x1fd)](_0x31f6d4,_0x457ad9,_0x2a3a3a);}[_0x3e3892(0x1be)](_0x26653d,_0x4d2050,_0x3b6c7c){const _0x4d3559=_0x3e3892;return this[_0x4d3559(0x1a7)][_0x4d3559(0x1cd)](_0x116e2b[_0x4d3559(0x1ab)])['loadUnitOfRevision'](_0x26653d,_0x4d2050,_0x3b6c7c);}};_0x575807[_0x3e3892(0x1d0)][_0x3e3892(0x1c5)](_0x234dd3),Object['defineProperty'](_0x3d29b0,_0x3e3892(0x1d7),{'enumerable':!0x0,'get':function(){return _0x27b724;}});}));function _0x1419(_0x48810a,_0x4192bc){_0x48810a=_0x48810a-0x19b;const _0x4eec19=_0x4eec();let _0x1419cd=_0x4eec19[_0x48810a];return _0x1419cd;}function _0x4eec(){const _0x478ae7=['1636665jVHpfW','10HPRniX','FEventName','status','250WCikJb','members$','@univerjs-pro/collaboration-client','Event','874312GnpSeG','getWorkbook','ms.','_injector','_univerInstanceService','getPdf','21BpGIvc','DataLoaderService','getDocument','CONFLICT','decorate','UniverProCollaborationClientFacade','NOT_COLLAB','subscribeCollaborators','readyForCollab','loadSlide','waitForRoom$','[FCollaboration]:\x20Cannot\x20flush\x20unit\x20\x22','_snapshotService','560bomgPw','UniverProCollaborationClient','entityInit$','6CmgSTq','defineProperty','CollaborationStatus','loadPdf','loadServerUnitOfRevision','subscribe','getFocusedUnit','switchMap','loadSheetAsync','rxjs','getOwnPropertyDescriptor','extend','loadBase','[FCollaboration]:\x20Timed\x20out\x20flushing\x20unit\x20\x22','registerEventHandler','IUniverInstanceService','toDisposable','exports','18476SqUkQi','get','reject','unitID','FUniver','_collaborationController','loadSheet','_initialize','UniverCoreFacade','CollaborationController','disposeWithMe','FCollaboration','loadPdfAsync','state','_handler','getBoard','FEnum','\x22\x20is\x20not\x20in\x20collaboration\x20mode.','status$','pipe','getCollaborationStatus','\x22\x20after\x20','SYNCED','getCollabEntity','loadSlideAsync','CollaborationStatusChanged','Inject','getPresentation','12132367PrhwvN','unsubscribe','resolve','add','length','function','Injector','_resolveUnitId','76044BNLFKZ','Module','getBase','createInstance','@univerjs-pro/collaboration','getCollaboration','[FCollaboration]:\x20Unit\x20\x22','1263951zmmMTy','toStringTag','loadServerUnit','253CZHpgZ','[FCollaboration]:\x20Cannot\x20flush\x20because\x20no\x20unit\x20is\x20focused\x20or\x20specified.','values','loadUnit','111tsAAZn'];_0x4eec=function(){return _0x478ae7;};return _0x4eec();}