@univerjs-pro/collaboration-client 1.0.0-alpha.0 → 1.0.0-alpha.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 +13 -13
@@ -1 +1 @@
1
- const _0x125272=_0x443e;(function(_0x5bd169,_0x3a81d5){const _0xb5c566=_0x443e,_0x58255b=_0x5bd169();while(!![]){try{const _0x3b79d8=-parseInt(_0xb5c566(0x1b4))/0x1+parseInt(_0xb5c566(0x1b2))/0x2*(parseInt(_0xb5c566(0x1b7))/0x3)+parseInt(_0xb5c566(0x1c5))/0x4+-parseInt(_0xb5c566(0x1c6))/0x5*(parseInt(_0xb5c566(0x1c0))/0x6)+-parseInt(_0xb5c566(0x1cb))/0x7*(-parseInt(_0xb5c566(0x1bc))/0x8)+parseInt(_0xb5c566(0x1ca))/0x9*(parseInt(_0xb5c566(0x1c1))/0xa)+parseInt(_0xb5c566(0x1b6))/0xb;if(_0x3b79d8===_0x3a81d5)break;else _0x58255b['push'](_0x58255b['shift']());}catch(_0x186e6c){_0x58255b['push'](_0x58255b['shift']());}}}(_0x41be,0x723dd));function _0x443e(_0xef0ab0,_0x54ce90){_0xef0ab0=_0xef0ab0-0x1b2;const _0x41be01=_0x41be();let _0x443eb0=_0x41be01[_0xef0ab0];return _0x443eb0;}const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x125272(0x1b5)}},'collabStatus':{'fetchMiss':_0x125272(0x1be),'conflict':_0x125272(0x1b8),'notCollab':_0x125272(0x1c4),'synced':_0x125272(0x1bd),'syncing':_0x125272(0x1cd),'offline':'已離線,編輯將儲存在本機'},'session':{'connection-failed':'連線失敗,請檢查您的網路。','will-retry':_0x125272(0x1bf),'room-full':_0x125272(0x1b9),'join-failed':_0x125272(0x1c9),'room-not-exists':_0x125272(0x1cc),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':'協作文件數量超過限制,您的編輯將暫存於本機。','collaboration-timeout':_0x125272(0x1c8)},'conflict':{'title':_0x125272(0x1c3),'content':_0x125272(0x1b3)},'permission':{'title':_0x125272(0x1bb),'content':_0x125272(0x1ba)},'collaboration':{'single-unit':{'warning':_0x125272(0x1c7)},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0x125272(0x1c2)}}};export{e as default};function _0x41be(){const _0x5e99ea=['您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','協作衝突','本機檔案','299620QVfRQY','10865zMWEvx','您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。','伺服器未回應協作請求,您的編輯將儲存在本機。','加入協作失敗,請稍後重試,您的編輯將暫存於本機。','7344BEurYl','17843kaYLZp','加入協作失敗,您的編輯將暫存於本機。','同步中...','14fwhcCZ','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','689660VfjLLC','點擊重新連線','9701483yymKYq','64902pXosLK','編輯衝突','此文件協作人數已達上限,您的編輯將暫存於本機。','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','認證錯誤','1592iaImJG','已同步','正在擷取伺服器資料...','連線失敗,將在稍後重試連線。','2364SxbWbJ','4880Odblqj'];_0x41be=function(){return _0x5e99ea;};return _0x41be();}
1
+ const _0x3d2533=_0x25c8;function _0x27b1(){const _0x37c3db=['216BuLsuT','您的操作與伺服器權限存在衝突。請將您的本機編輯儲存至其他地方,重新整理頁面後將會被捨棄。','編輯衝突','343532JhilrH','此文件協作人數已達上限,您的編輯將暫存於本機。','69915bbtlCz','伺服器未回應協作請求,您的編輯將儲存在本機。','492oBGPYn','連線失敗,請檢查您的網路。','加入協作失敗,您的編輯將暫存於本機。','已離線,編輯將儲存在本機','同步中...','您的本機文件與伺服器文件存在衝突。請將您的本機編輯儲存至其他地方,因為重新整理頁面後將會遺失。','正在擷取伺服器資料...','點擊重新連線','87965inQleH','連線失敗,將在稍後重試連線。','5612406FheadX','5444248OMNDEm','協作文件數量超過限制,您的編輯將暫存於本機。','協作衝突','您的登入已過期,點擊「確定」重新登入,點擊「取消」儲存您的本機編輯。','61602NWGCcS','46049157sIYXFm'];_0x27b1=function(){return _0x37c3db;};return _0x27b1();}(function(_0x251d85,_0x3ea4d9){const _0x149bdd=_0x25c8,_0x1f1665=_0x251d85();while(!![]){try{const _0x2463e1=parseInt(_0x149bdd(0x8b))/0x1+parseInt(_0x149bdd(0x84))/0x2+parseInt(_0x149bdd(0x7f))/0x3+parseInt(_0x149bdd(0x80))/0x4+-parseInt(_0x149bdd(0x7d))/0x5*(-parseInt(_0x149bdd(0x8d))/0x6)+parseInt(_0x149bdd(0x89))/0x7*(parseInt(_0x149bdd(0x86))/0x8)+-parseInt(_0x149bdd(0x85))/0x9;if(_0x2463e1===_0x3ea4d9)break;else _0x1f1665['push'](_0x1f1665['shift']());}catch(_0x19ddbc){_0x1f1665['push'](_0x1f1665['shift']());}}}(_0x27b1,0xf0285));const e={'collaboration-client':{'collabClient':{'tooltip':{'reconnect':_0x3d2533(0x7c)}},'collabStatus':{'fetchMiss':_0x3d2533(0x7b),'conflict':_0x3d2533(0x88),'notCollab':'本機檔案','synced':'已同步','syncing':_0x3d2533(0x91),'offline':_0x3d2533(0x90)},'session':{'connection-failed':_0x3d2533(0x8e),'will-retry':_0x3d2533(0x7e),'room-full':_0x3d2533(0x8a),'join-failed':'加入協作失敗,請稍後重試,您的編輯將暫存於本機。','room-not-exists':_0x3d2533(0x8f),'room-permission-denied':'沒有協作權限,您的編輯將暫存於本機。','room-cnt-exceeds':_0x3d2533(0x81),'collaboration-timeout':_0x3d2533(0x8c)},'conflict':{'title':_0x3d2533(0x82),'content':_0x3d2533(0x92)},'permission':{'title':'認證錯誤','content':_0x3d2533(0x87)},'collaboration':{'single-unit':{'warning':'您在另一個分頁開啟了同一個檔案。為避免資料遺失,此分頁將無法進行編輯。'},'closeRoom':'由於協作房間已關閉,編輯權限已被收回。'},'auth':{'needGotoLoginAlert':_0x3d2533(0x83)}}};function _0x25c8(_0x1141fa,_0x282a30){_0x1141fa=_0x1141fa-0x7b;const _0x27b152=_0x27b1();let _0x25c80c=_0x27b152[_0x1141fa];return _0x25c80c;}export{e as default};
package/lib/umd/facade.js CHANGED
@@ -1 +1 @@
1
- function _0xaad3(_0xc3524c,_0x2318c5){_0xc3524c=_0xc3524c-0x15b;const _0x13cde5=_0x13cd();let _0xaad38b=_0x13cde5[_0xc3524c];return _0xaad38b;}(function(_0x34c77f,_0x2c88b3){const _0x207113=_0xaad3,_0x5b13c1=_0x34c77f();while(!![]){try{const _0x4802be=parseInt(_0x207113(0x171))/0x1+parseInt(_0x207113(0x195))/0x2*(parseInt(_0x207113(0x17e))/0x3)+-parseInt(_0x207113(0x16f))/0x4*(-parseInt(_0x207113(0x174))/0x5)+parseInt(_0x207113(0x15c))/0x6*(parseInt(_0x207113(0x185))/0x7)+parseInt(_0x207113(0x194))/0x8*(parseInt(_0x207113(0x1a6))/0x9)+parseInt(_0x207113(0x1a7))/0xa*(parseInt(_0x207113(0x196))/0xb)+-parseInt(_0x207113(0x1aa))/0xc;if(_0x4802be===_0x2c88b3)break;else _0x5b13c1['push'](_0x5b13c1['shift']());}catch(_0x2b38b8){_0x5b13c1['push'](_0x5b13c1['shift']());}}}(_0x13cd,0x3d3d5),function(_0x37bc8f,_0x35485a){const _0x2d0bf7=_0xaad3;typeof exports==_0x2d0bf7(0x17a)&&typeof module<'u'?_0x35485a(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x2d0bf7(0x1b0)&&define[_0x2d0bf7(0x17b)]?define(['exports',_0x2d0bf7(0x18f),_0x2d0bf7(0x175),_0x2d0bf7(0x198),_0x2d0bf7(0x1af),_0x2d0bf7(0x168)],_0x35485a):(_0x37bc8f=typeof globalThis<'u'?globalThis:_0x37bc8f||self,_0x35485a(_0x37bc8f[_0x2d0bf7(0x188)]={},_0x37bc8f[_0x2d0bf7(0x16a)],_0x37bc8f[_0x2d0bf7(0x16d)],_0x37bc8f[_0x2d0bf7(0x1a1)],_0x37bc8f[_0x2d0bf7(0x177)],_0x37bc8f[_0x2d0bf7(0x168)]));}(this,function(_0x51c819,_0x2a3c5c,_0x4b64d9,_0x1277d6,_0x15f785,_0x1d8dd2){const _0x45ffd1=_0xaad3;Object[_0x45ffd1(0x15d)](_0x51c819,Symbol[_0x45ffd1(0x184)],{'value':_0x45ffd1(0x186)});var _0x3ef343=class extends _0x4b64d9[_0x45ffd1(0x18d)]{get[_0x45ffd1(0x182)](){const _0xdc5c4d=_0x45ffd1;return _0x2a3c5c[_0xdc5c4d(0x182)];}};_0x4b64d9[_0x45ffd1(0x18d)]['extend'](_0x3ef343);var _0x4f8597=class extends _0x4b64d9[_0x45ffd1(0x199)]{get[_0x45ffd1(0x172)](){const _0x5b3052=_0x45ffd1;return _0x5b3052(0x172);}};_0x4b64d9['FEventName'][_0x45ffd1(0x165)](_0x4f8597);function _0x43bfe2(_0x3b5c03,_0x25c8d0){return function(_0x2cae72,_0xea7fd8){_0x25c8d0(_0x2cae72,_0xea7fd8,_0x3b5c03);};}function _0x56b9b4(_0x184bb7,_0x3a2d07,_0x393380,_0x372188){const _0x165c16=_0x45ffd1;var _0x54c5fc=arguments['length'],_0x375ed8=_0x54c5fc<0x3?_0x3a2d07:_0x372188===null?_0x372188=Object[_0x165c16(0x190)](_0x3a2d07,_0x393380):_0x372188,_0x222ad6;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x165c16(0x1b0))_0x375ed8=Reflect['decorate'](_0x184bb7,_0x3a2d07,_0x393380,_0x372188);else{for(var _0x1caf70=_0x184bb7['length']-0x1;_0x1caf70>=0x0;_0x1caf70--)(_0x222ad6=_0x184bb7[_0x1caf70])&&(_0x375ed8=(_0x54c5fc<0x3?_0x222ad6(_0x375ed8):_0x54c5fc>0x3?_0x222ad6(_0x3a2d07,_0x393380,_0x375ed8):_0x222ad6(_0x3a2d07,_0x393380))||_0x375ed8);}return _0x54c5fc>0x3&&_0x375ed8&&Object[_0x165c16(0x15d)](_0x3a2d07,_0x393380,_0x375ed8),_0x375ed8;}let _0x2fb12c=class extends _0x4b64d9['FBase']{constructor(_0x3d0c0c,_0x2df2ec,_0xbf276c,_0xe9c5a4,_0x2af393){const _0x5db6b8=_0x45ffd1;super(),this[_0x5db6b8(0x189)]=_0x3d0c0c,this['_injector']=_0x2df2ec,this[_0x5db6b8(0x1ab)]=_0xbf276c,this[_0x5db6b8(0x19b)]=_0xe9c5a4,this[_0x5db6b8(0x19e)]=_0x2af393;}async[_0x45ffd1(0x169)](_0x356e44,_0x2d2f93){const _0x2fa6cc=_0x45ffd1;return await this['_snapshotService'][_0x2fa6cc(0x164)](_0x356e44,0x0,_0x2d2f93)?(await this[_0x2fa6cc(0x19e)][_0x2fa6cc(0x173)](_0x356e44),this[_0x2fa6cc(0x189)][_0x2fa6cc(0x1a2)](_0x356e44)):null;}async[_0x45ffd1(0x18e)](_0x24f7c6,_0x55d9ae){const _0x1ec120=_0x45ffd1;return await this[_0x1ec120(0x19b)][_0x1ec120(0x19c)](_0x24f7c6,0x0,_0x55d9ae)?(await this[_0x1ec120(0x19e)][_0x1ec120(0x173)](_0x24f7c6),this[_0x1ec120(0x189)][_0x1ec120(0x18b)](_0x24f7c6)):null;}async['loadBaseAsync'](_0x1d3c6a,_0x4e0c79){const _0x154fc9=_0x45ffd1;return await this[_0x154fc9(0x19b)][_0x154fc9(0x183)](_0x1d3c6a,0x0,_0x4e0c79)?(await this[_0x154fc9(0x19e)][_0x154fc9(0x173)](_0x1d3c6a),this[_0x154fc9(0x189)][_0x154fc9(0x19f)](_0x1d3c6a)):null;}async[_0x45ffd1(0x1a3)](_0x1b3872,_0x1256ce){const _0x42f4cb=_0x45ffd1;return await this[_0x42f4cb(0x19b)][_0x42f4cb(0x163)](_0x1b3872,0x0,_0x1256ce)?(await this[_0x42f4cb(0x19e)][_0x42f4cb(0x173)](_0x1b3872),this['_handler']['getPresentation'](_0x1b3872)):null;}[_0x45ffd1(0x187)](_0x38fe87,_0x169838){const _0x5991e5=_0x45ffd1;return(0x0,_0x1277d6[_0x5991e5(0x15e)])(this[_0x5991e5(0x1a5)][_0x5991e5(0x179)](_0x2a3c5c[_0x5991e5(0x18a)])[_0x5991e5(0x1a9)](_0x38fe87)[_0x5991e5(0x176)]((0x0,_0x1d8dd2[_0x5991e5(0x16e)])(_0x514069=>_0x514069['members$']))['subscribe'](_0x114a5d=>_0x169838(Array['from'](_0x114a5d['values']()))));}[_0x45ffd1(0x180)](_0x44e110){const _0x43cf2d=_0x45ffd1;var _0x2454eb;let _0x177a88;if(_0x44e110)_0x177a88=_0x44e110;else{let _0xab19f8=this[_0x43cf2d(0x1ab)][_0x43cf2d(0x16b)]();_0x177a88=_0xab19f8==null?void 0x0:_0xab19f8[_0x43cf2d(0x1ae)]();}if(!_0x177a88)return _0x2a3c5c[_0x43cf2d(0x182)][_0x43cf2d(0x1ac)];let _0xf1e668=this[_0x43cf2d(0x19e)]['getCollabEntity'](_0x177a88);return(_0x2454eb=_0xf1e668==null?void 0x0:_0xf1e668[_0x43cf2d(0x193)]['status'])==null?_0x2a3c5c[_0x43cf2d(0x182)]['NOT_COLLAB']:_0x2454eb;}};_0x2fb12c=_0x56b9b4([_0x43bfe2(0x1,(0x0,_0x1277d6[_0x45ffd1(0x160)])(_0x1277d6[_0x45ffd1(0x17f)])),_0x43bfe2(0x2,_0x1277d6[_0x45ffd1(0x178)]),_0x43bfe2(0x3,(0x0,_0x1277d6[_0x45ffd1(0x160)])(_0x15f785[_0x45ffd1(0x18c)])),_0x43bfe2(0x4,(0x0,_0x1277d6[_0x45ffd1(0x160)])(_0x2a3c5c[_0x45ffd1(0x166)]))],_0x2fb12c);var _0x9fcf7c=class extends _0x4b64d9[_0x45ffd1(0x17d)]{['_initialize'](_0x205321){const _0x14c5c5=_0x45ffd1;let _0x469a24=_0x205321['get'](_0x2a3c5c[_0x14c5c5(0x166)]);this[_0x14c5c5(0x170)](this[_0x14c5c5(0x1a4)](this['Event'][_0x14c5c5(0x172)],()=>{const _0x177cf9=_0x14c5c5;let _0x5b0f2b=new _0x1277d6[(_0x177cf9(0x19d))](),_0x564bfa=_0x469a24[_0x177cf9(0x1ad)]['subscribe'](_0x2b8867=>{const _0x5b5529=_0x177cf9;let _0xb66fca=_0x2b8867[_0x5b5529(0x162)][_0x5b5529(0x17c)](_0x2f50fb=>{const _0x1823ca=_0x5b5529;let _0x42b343={'unitId':_0x2b8867[_0x1823ca(0x1a8)],'status':_0x2f50fb};this[_0x1823ca(0x15f)](this[_0x1823ca(0x191)][_0x1823ca(0x172)],_0x42b343);});_0x5b0f2b[_0x5b5529(0x197)]((0x0,_0x1277d6['toDisposable'])(_0xb66fca));});return _0x5b0f2b[_0x177cf9(0x197)]((0x0,_0x1277d6[_0x177cf9(0x15e)])(_0x564bfa)),_0x5b0f2b;}));}[_0x45ffd1(0x161)](){const _0x20e10e=_0x45ffd1;return this[_0x20e10e(0x1a5)]['createInstance'](_0x2fb12c,{'getWorkbook':_0x2e33e2=>this[_0x20e10e(0x1a2)](_0x2e33e2),'getDocument':_0xe1ac94=>this['getDocument'](_0xe1ac94),'getPresentation':_0x3443c0=>this[_0x20e10e(0x19a)](_0x3443c0),'getBase':_0xd7b20f=>this[_0x20e10e(0x19f)](_0xd7b20f)});}[_0x45ffd1(0x192)](_0x164529,_0x12ee01,_0x406632){const _0x480534=_0x45ffd1;return this[_0x480534(0x1a5)]['get'](_0x2a3c5c[_0x480534(0x16c)])[_0x480534(0x1a0)](_0x164529,_0x12ee01,_0x406632);}[_0x45ffd1(0x167)](_0x4f83b3,_0x2ca766,_0x18ac1c){const _0xa63fc4=_0x45ffd1;return this['_injector'][_0xa63fc4(0x179)](_0x2a3c5c[_0xa63fc4(0x16c)])[_0xa63fc4(0x15b)](_0x4f83b3,_0x2ca766,_0x18ac1c);}};_0x4b64d9[_0x45ffd1(0x17d)][_0x45ffd1(0x165)](_0x9fcf7c),Object['defineProperty'](_0x51c819,_0x45ffd1(0x181),{'enumerable':!0x0,'get':function(){return _0x2fb12c;}});}));function _0x13cd(){const _0x25b0cd=['getPresentation','_snapshotService','loadDoc','DisposableCollection','_collaborationController','getBase','loadUnit','UniverCore','getWorkbook','loadSlideAsync','registerEventHandler','_injector','192663Uwqdrv','4950370Rlmwxe','unitID','waitForRoom$','12532176uGFOKU','_univerInstanceService','NOT_COLLAB','entityInit$','getUnitId','@univerjs-pro/collaboration','function','loadUnitOfRevision','6EtwxlG','defineProperty','toDisposable','fireEvent','Inject','getCollaboration','status$','loadSlide','loadSheet','extend','CollaborationController','loadServerUnitOfRevision','rxjs','loadSheetAsync','UniverProCollaborationClient','getFocusedUnit','DataLoaderService','UniverCoreFacade','switchMap','4qsbZUm','disposeWithMe','121401NbxsTB','CollaborationStatusChanged','readyForCollab','219955MxTQlC','@univerjs/core/facade','pipe','UniverProCollaboration','IUniverInstanceService','get','object','amd','subscribe','FUniver','451686cbkWPd','Injector','getCollaborationStatus','FCollaboration','CollaborationStatus','loadBase','toStringTag','1885877yUkllE','Module','subscribeCollaborators','UniverProCollaborationClientFacade','_handler','MemberService','getDocument','SnapshotService','FEnum','loadDocAsync','@univerjs-pro/collaboration-client','getOwnPropertyDescriptor','Event','loadServerUnit','state','24QNLlNY','4jjQVon','11UgtNEW','add','@univerjs/core','FEventName'];_0x13cd=function(){return _0x25b0cd;};return _0x13cd();}
1
+ function _0x39a8(){const _0x52c00c=['pipe','Inject','unitID','1792710nVQWDS','loadSheet','FCollaboration','switchMap','_snapshotService','readyForCollab','getOwnPropertyDescriptor','loadServerUnitOfRevision','UniverProCollaborationClient','943236bcepRm','registerEventHandler','loadSlideAsync','DataLoaderService','length','UniverCoreFacade','loadDocAsync','loadServerUnit','add','1015689QzrrYU','702824dSlfXs','@univerjs/core','@univerjs/core/facade','status$','loadUnitOfRevision','extend','values','_initialize','state','getWorkbook','getCollabEntity','4xKmiNm','toDisposable','toStringTag','getFocusedUnit','1625294pFXSEb','MemberService','exports','from','UniverProCollaboration','_handler','18NNkVJV','Event','CollaborationStatus','FUniver','members$','18NQzqLg','Injector','subscribe','_injector','loadBaseAsync','getCollaborationStatus','createInstance','waitForRoom$','subscribeCollaborators','function','getDocument','get','NOT_COLLAB','decorate','object','514270jpHVuZ','loadSlide','1YKBHJp','495714mwxAkm','CollaborationController','fireEvent','getPresentation','loadBase','rxjs','loadSheetAsync','UniverProCollaborationClientFacade','loadUnit','FEventName','getBase','FEnum','UniverCore','Module','status','_collaborationController','SnapshotService','defineProperty','CollaborationStatusChanged'];_0x39a8=function(){return _0x52c00c;};return _0x39a8();}function _0x4427(_0x166e43,_0x32c7c5){_0x166e43=_0x166e43-0x171;const _0x39a819=_0x39a8();let _0x4427d8=_0x39a819[_0x166e43];return _0x4427d8;}(function(_0x16e95c,_0x6ad17e){const _0x6242e8=_0x4427,_0x4e1e6c=_0x16e95c();while(!![]){try{const _0x7a5d9d=-parseInt(_0x6242e8(0x185))/0x1*(-parseInt(_0x6242e8(0x186))/0x2)+-parseInt(_0x6242e8(0x1ae))/0x3*(parseInt(_0x6242e8(0x1ba))/0x4)+parseInt(_0x6242e8(0x183))/0x5*(parseInt(_0x6242e8(0x174))/0x6)+parseInt(_0x6242e8(0x1a5))/0x7+-parseInt(_0x6242e8(0x1af))/0x8*(-parseInt(_0x6242e8(0x1c4))/0x9)+-parseInt(_0x6242e8(0x19c))/0xa+-parseInt(_0x6242e8(0x1be))/0xb;if(_0x7a5d9d===_0x6ad17e)break;else _0x4e1e6c['push'](_0x4e1e6c['shift']());}catch(_0x5719e6){_0x4e1e6c['push'](_0x4e1e6c['shift']());}}}(_0x39a8,0x31245),function(_0x4e2c60,_0x7df73d){const _0xb78b3e=_0x4427;typeof exports==_0xb78b3e(0x182)&&typeof module<'u'?_0x7df73d(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define=='function'&&define['amd']?define([_0xb78b3e(0x1c0),'@univerjs-pro/collaboration-client',_0xb78b3e(0x1b1),_0xb78b3e(0x1b0),'@univerjs-pro/collaboration',_0xb78b3e(0x18b)],_0x7df73d):(_0x4e2c60=typeof globalThis<'u'?globalThis:_0x4e2c60||self,_0x7df73d(_0x4e2c60[_0xb78b3e(0x18d)]={},_0x4e2c60[_0xb78b3e(0x1a4)],_0x4e2c60[_0xb78b3e(0x1aa)],_0x4e2c60[_0xb78b3e(0x192)],_0x4e2c60[_0xb78b3e(0x1c2)],_0x4e2c60[_0xb78b3e(0x18b)]));}(this,function(_0x1a6e23,_0xb89e0b,_0x2d30eb,_0x51cdf5,_0xd5626b,_0x20fd6a){const _0x3a0109=_0x4427;Object[_0x3a0109(0x197)](_0x1a6e23,Symbol[_0x3a0109(0x1bc)],{'value':_0x3a0109(0x193)});var _0x40fcf4=class extends _0x2d30eb[_0x3a0109(0x191)]{get[_0x3a0109(0x171)](){const _0x4e3e89=_0x3a0109;return _0xb89e0b[_0x4e3e89(0x171)];}};_0x2d30eb[_0x3a0109(0x191)][_0x3a0109(0x1b4)](_0x40fcf4);var _0x1cfdff=class extends _0x2d30eb[_0x3a0109(0x18f)]{get[_0x3a0109(0x198)](){const _0x14fef9=_0x3a0109;return _0x14fef9(0x198);}};_0x2d30eb[_0x3a0109(0x18f)][_0x3a0109(0x1b4)](_0x1cfdff);function _0x59df80(_0x45ef82,_0x2a9b63){return function(_0x572f9d,_0x3bb5ca){_0x2a9b63(_0x572f9d,_0x3bb5ca,_0x45ef82);};}function _0x4534ac(_0x1f6df0,_0xaa2071,_0x35ce14,_0x171ac5){const _0xe3b83a=_0x3a0109;var _0x51ed83=arguments[_0xe3b83a(0x1a9)],_0x20cc5a=_0x51ed83<0x3?_0xaa2071:_0x171ac5===null?_0x171ac5=Object[_0xe3b83a(0x1a2)](_0xaa2071,_0x35ce14):_0x171ac5,_0x4524d1;if(typeof Reflect==_0xe3b83a(0x182)&&typeof Reflect[_0xe3b83a(0x181)]==_0xe3b83a(0x17d))_0x20cc5a=Reflect[_0xe3b83a(0x181)](_0x1f6df0,_0xaa2071,_0x35ce14,_0x171ac5);else{for(var _0x249fb9=_0x1f6df0['length']-0x1;_0x249fb9>=0x0;_0x249fb9--)(_0x4524d1=_0x1f6df0[_0x249fb9])&&(_0x20cc5a=(_0x51ed83<0x3?_0x4524d1(_0x20cc5a):_0x51ed83>0x3?_0x4524d1(_0xaa2071,_0x35ce14,_0x20cc5a):_0x4524d1(_0xaa2071,_0x35ce14))||_0x20cc5a);}return _0x51ed83>0x3&&_0x20cc5a&&Object[_0xe3b83a(0x197)](_0xaa2071,_0x35ce14,_0x20cc5a),_0x20cc5a;}let _0x2f85da=class extends _0x2d30eb['FBase']{constructor(_0x534f93,_0x35c81c,_0x328b98,_0x73bea5,_0x258601){const _0x521483=_0x3a0109;super(),this[_0x521483(0x1c3)]=_0x534f93,this[_0x521483(0x177)]=_0x35c81c,this['_univerInstanceService']=_0x328b98,this[_0x521483(0x1a0)]=_0x73bea5,this[_0x521483(0x195)]=_0x258601;}async[_0x3a0109(0x18c)](_0x4c4c78,_0x45d671){const _0x4355b2=_0x3a0109;return await this[_0x4355b2(0x1a0)][_0x4355b2(0x19d)](_0x4c4c78,0x0,_0x45d671)?(await this['_collaborationController'][_0x4355b2(0x1a1)](_0x4c4c78),this['_handler'][_0x4355b2(0x1b8)](_0x4c4c78)):null;}async[_0x3a0109(0x1ab)](_0x399053,_0x2fc7a7){const _0x5ae2b5=_0x3a0109;return await this[_0x5ae2b5(0x1a0)]['loadDoc'](_0x399053,0x0,_0x2fc7a7)?(await this[_0x5ae2b5(0x195)][_0x5ae2b5(0x1a1)](_0x399053),this[_0x5ae2b5(0x1c3)][_0x5ae2b5(0x17e)](_0x399053)):null;}async[_0x3a0109(0x178)](_0x549daf,_0x362340){const _0x852f9e=_0x3a0109;return await this[_0x852f9e(0x1a0)][_0x852f9e(0x18a)](_0x549daf,0x0,_0x362340)?(await this['_collaborationController'][_0x852f9e(0x1a1)](_0x549daf),this[_0x852f9e(0x1c3)][_0x852f9e(0x190)](_0x549daf)):null;}async[_0x3a0109(0x1a7)](_0x3b081e,_0x5d2b6a){const _0x55292b=_0x3a0109;return await this[_0x55292b(0x1a0)][_0x55292b(0x184)](_0x3b081e,0x0,_0x5d2b6a)?(await this[_0x55292b(0x195)]['readyForCollab'](_0x3b081e),this[_0x55292b(0x1c3)]['getPresentation'](_0x3b081e)):null;}[_0x3a0109(0x17c)](_0x4e3104,_0x26820f){const _0x253cb5=_0x3a0109;return(0x0,_0x51cdf5[_0x253cb5(0x1bb)])(this[_0x253cb5(0x177)][_0x253cb5(0x17f)](_0xb89e0b[_0x253cb5(0x1bf)])[_0x253cb5(0x17b)](_0x4e3104)[_0x253cb5(0x199)]((0x0,_0x20fd6a[_0x253cb5(0x19f)])(_0x5cfff2=>_0x5cfff2[_0x253cb5(0x173)]))[_0x253cb5(0x176)](_0x103180=>_0x26820f(Array[_0x253cb5(0x1c1)](_0x103180[_0x253cb5(0x1b5)]()))));}[_0x3a0109(0x179)](_0x3ed15f){const _0x1dc348=_0x3a0109;var _0x2bbc89;let _0x746c8;if(_0x3ed15f)_0x746c8=_0x3ed15f;else{let _0x43ad3c=this['_univerInstanceService'][_0x1dc348(0x1bd)]();_0x746c8=_0x43ad3c==null?void 0x0:_0x43ad3c['getUnitId']();}if(!_0x746c8)return _0xb89e0b[_0x1dc348(0x171)][_0x1dc348(0x180)];let _0x40fb8c=this[_0x1dc348(0x195)][_0x1dc348(0x1b9)](_0x746c8);return(_0x2bbc89=_0x40fb8c==null?void 0x0:_0x40fb8c[_0x1dc348(0x1b7)][_0x1dc348(0x194)])==null?_0xb89e0b['CollaborationStatus'][_0x1dc348(0x180)]:_0x2bbc89;}};_0x2f85da=_0x4534ac([_0x59df80(0x1,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0x51cdf5[_0x3a0109(0x175)])),_0x59df80(0x2,_0x51cdf5['IUniverInstanceService']),_0x59df80(0x3,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0xd5626b[_0x3a0109(0x196)])),_0x59df80(0x4,(0x0,_0x51cdf5[_0x3a0109(0x19a)])(_0xb89e0b['CollaborationController']))],_0x2f85da);var _0x53ece8=class extends _0x2d30eb[_0x3a0109(0x172)]{[_0x3a0109(0x1b6)](_0x368de0){const _0x758abf=_0x3a0109;let _0x296fa9=_0x368de0['get'](_0xb89e0b[_0x758abf(0x187)]);this['disposeWithMe'](this[_0x758abf(0x1a6)](this['Event'][_0x758abf(0x198)],()=>{const _0xce78d2=_0x758abf;let _0x343165=new _0x51cdf5['DisposableCollection'](),_0x10750d=_0x296fa9['entityInit$'][_0xce78d2(0x176)](_0x2bc429=>{const _0x173f78=_0xce78d2;let _0x58a833=_0x2bc429[_0x173f78(0x1b2)]['subscribe'](_0x13067b=>{const _0x7769c7=_0x173f78;let _0x2b7125={'unitId':_0x2bc429[_0x7769c7(0x19b)],'status':_0x13067b};this[_0x7769c7(0x188)](this[_0x7769c7(0x1c5)][_0x7769c7(0x198)],_0x2b7125);});_0x343165[_0x173f78(0x1ad)]((0x0,_0x51cdf5[_0x173f78(0x1bb)])(_0x58a833));});return _0x343165[_0xce78d2(0x1ad)]((0x0,_0x51cdf5[_0xce78d2(0x1bb)])(_0x10750d)),_0x343165;}));}['getCollaboration'](){const _0x8df78c=_0x3a0109;return this['_injector'][_0x8df78c(0x17a)](_0x2f85da,{'getWorkbook':_0x37af1c=>this[_0x8df78c(0x1b8)](_0x37af1c),'getDocument':_0x3c850b=>this[_0x8df78c(0x17e)](_0x3c850b),'getPresentation':_0x269830=>this[_0x8df78c(0x189)](_0x269830),'getBase':_0x17b8f4=>this[_0x8df78c(0x190)](_0x17b8f4)});}[_0x3a0109(0x1ac)](_0x2a666e,_0x569cf6,_0x28f7d5){const _0x5859d2=_0x3a0109;return this[_0x5859d2(0x177)][_0x5859d2(0x17f)](_0xb89e0b[_0x5859d2(0x1a8)])[_0x5859d2(0x18e)](_0x2a666e,_0x569cf6,_0x28f7d5);}[_0x3a0109(0x1a3)](_0x49f8f2,_0x1f578b,_0x5c16a3){const _0x540acb=_0x3a0109;return this[_0x540acb(0x177)][_0x540acb(0x17f)](_0xb89e0b[_0x540acb(0x1a8)])[_0x540acb(0x1b3)](_0x49f8f2,_0x1f578b,_0x5c16a3);}};_0x2d30eb[_0x3a0109(0x172)][_0x3a0109(0x1b4)](_0x53ece8),Object[_0x3a0109(0x197)](_0x1a6e23,_0x3a0109(0x19e),{'enumerable':!0x0,'get':function(){return _0x2f85da;}});}));