@univerjs-pro/collaboration-client 1.0.0-alpha.0 → 1.0.0-alpha.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 (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
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 _0x4322(_0x1d64c9,_0xa85045){_0x1d64c9=_0x1d64c9-0x1bb;const _0x3879e1=_0x3879();let _0x432296=_0x3879e1[_0x1d64c9];return _0x432296;}function _0x3879(){const _0x334e76=['CollaborationStatusChanged','FUniver','7gfrpiM','disposeWithMe','3971902CoQkJP','length','_handler','loadSlide','@univerjs/core/facade','decorate','add','_collaborationController','getCollaboration','defineProperty','FEventName','DataLoaderService','readyForCollab','877693tHCBnH','values','@univerjs/core','loadServerUnitOfRevision','Injector','toStringTag','registerEventHandler','entityInit$','_snapshotService','loadBaseAsync','FEnum','exports','loadUnitOfRevision','UniverProCollaborationClient','36IGCIcv','CollaborationController','UniverProCollaboration','973168TxITEy','toDisposable','getDocument','_injector','IUniverInstanceService','FCollaboration','pipe','1173096NKrbST','10YDSxUF','FBase','getFocusedUnit','CollaborationStatus','MemberService','object','loadSheet','getCollabEntity','2697955uaBdgN','subscribe','getWorkbook','state','loadBase','loadDocAsync','getPresentation','@univerjs-pro/collaboration','status$','function','18WXIyuR','switchMap','@univerjs-pro/collaboration-client','amd','948928IpHQyh','unitID','getUnitId','6939366asFhbS','Inject','createInstance','get','Event','DisposableCollection','loadDoc','_initialize','NOT_COLLAB','getOwnPropertyDescriptor','rxjs','extend','getBase'];_0x3879=function(){return _0x334e76;};return _0x3879();}(function(_0xd33a76,_0x59fe51){const _0x5f39f4=_0x4322,_0x482e71=_0xd33a76();while(!![]){try{const _0xafcf71=parseInt(_0x5f39f4(0x1c0))/0x1+-parseInt(_0x5f39f4(0x1d8))/0x2+parseInt(_0x5f39f4(0x1eb))/0x3*(parseInt(_0x5f39f4(0x1d1))/0x4)+-parseInt(_0x5f39f4(0x1e1))/0x5+-parseInt(_0x5f39f4(0x1f2))/0x6*(parseInt(_0x5f39f4(0x201))/0x7)+-parseInt(_0x5f39f4(0x1ef))/0x8*(-parseInt(_0x5f39f4(0x1ce))/0x9)+-parseInt(_0x5f39f4(0x1d9))/0xa*(-parseInt(_0x5f39f4(0x203))/0xb);if(_0xafcf71===_0x59fe51)break;else _0x482e71['push'](_0x482e71['shift']());}catch(_0x45c4e6){_0x482e71['push'](_0x482e71['shift']());}}}(_0x3879,0xd95b3),function(_0x3a1e6e,_0x1d5742){const _0x557fb1=_0x4322;typeof exports==_0x557fb1(0x1de)&&typeof module<'u'?_0x1d5742(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core/facade'),require('@univerjs/core'),require('@univerjs-pro/collaboration'),require('rxjs')):typeof define==_0x557fb1(0x1ea)&&define[_0x557fb1(0x1ee)]?define([_0x557fb1(0x1cb),_0x557fb1(0x1ed),_0x557fb1(0x207),_0x557fb1(0x1c2),_0x557fb1(0x1e8),'rxjs'],_0x1d5742):(_0x3a1e6e=typeof globalThis<'u'?globalThis:_0x3a1e6e||self,_0x1d5742(_0x3a1e6e['UniverProCollaborationClientFacade']={},_0x3a1e6e[_0x557fb1(0x1cd)],_0x3a1e6e['UniverCoreFacade'],_0x3a1e6e['UniverCore'],_0x3a1e6e[_0x557fb1(0x1d0)],_0x3a1e6e[_0x557fb1(0x1fc)]));}(this,function(_0x35a544,_0x1ad98c,_0x131f9c,_0x80d3a0,_0x1a6ca0,_0x4d9d27){const _0x4c1a34=_0x4322;Object[_0x4c1a34(0x1bc)](_0x35a544,Symbol[_0x4c1a34(0x1c5)],{'value':'Module'});var _0x771dcd=class extends _0x131f9c[_0x4c1a34(0x1ca)]{get[_0x4c1a34(0x1dc)](){const _0x5e5025=_0x4c1a34;return _0x1ad98c[_0x5e5025(0x1dc)];}};_0x131f9c[_0x4c1a34(0x1ca)]['extend'](_0x771dcd);var _0x5213d3=class extends _0x131f9c[_0x4c1a34(0x1bd)]{get['CollaborationStatusChanged'](){const _0x5b53da=_0x4c1a34;return _0x5b53da(0x1ff);}};_0x131f9c[_0x4c1a34(0x1bd)][_0x4c1a34(0x1fd)](_0x5213d3);function _0x494468(_0x1d276a,_0x1f2d10){return function(_0x5a99b9,_0x3fee8a){_0x1f2d10(_0x5a99b9,_0x3fee8a,_0x1d276a);};}function _0x3abfd8(_0x10d3ad,_0x10065,_0x2b7495,_0x536fa6){const _0x35bc15=_0x4c1a34;var _0x17f015=arguments[_0x35bc15(0x204)],_0x297848=_0x17f015<0x3?_0x10065:_0x536fa6===null?_0x536fa6=Object[_0x35bc15(0x1fb)](_0x10065,_0x2b7495):_0x536fa6,_0x4de904;if(typeof Reflect=='object'&&typeof Reflect[_0x35bc15(0x208)]==_0x35bc15(0x1ea))_0x297848=Reflect[_0x35bc15(0x208)](_0x10d3ad,_0x10065,_0x2b7495,_0x536fa6);else{for(var _0x4d43fd=_0x10d3ad['length']-0x1;_0x4d43fd>=0x0;_0x4d43fd--)(_0x4de904=_0x10d3ad[_0x4d43fd])&&(_0x297848=(_0x17f015<0x3?_0x4de904(_0x297848):_0x17f015>0x3?_0x4de904(_0x10065,_0x2b7495,_0x297848):_0x4de904(_0x10065,_0x2b7495))||_0x297848);}return _0x17f015>0x3&&_0x297848&&Object[_0x35bc15(0x1bc)](_0x10065,_0x2b7495,_0x297848),_0x297848;}let _0x4eb2b5=class extends _0x131f9c[_0x4c1a34(0x1da)]{constructor(_0x542b71,_0x4772ac,_0x343266,_0x4fdbfd,_0x38e1bd){const _0x2a820b=_0x4c1a34;super(),this[_0x2a820b(0x205)]=_0x542b71,this[_0x2a820b(0x1d4)]=_0x4772ac,this['_univerInstanceService']=_0x343266,this[_0x2a820b(0x1c8)]=_0x4fdbfd,this[_0x2a820b(0x20a)]=_0x38e1bd;}async['loadSheetAsync'](_0x125406,_0x11eae5){const _0x14591f=_0x4c1a34;return await this[_0x14591f(0x1c8)][_0x14591f(0x1df)](_0x125406,0x0,_0x11eae5)?(await this['_collaborationController'][_0x14591f(0x1bf)](_0x125406),this[_0x14591f(0x205)][_0x14591f(0x1e3)](_0x125406)):null;}async[_0x4c1a34(0x1e6)](_0x2c5cb3,_0x401f68){const _0x1f4807=_0x4c1a34;return await this['_snapshotService'][_0x1f4807(0x1f8)](_0x2c5cb3,0x0,_0x401f68)?(await this[_0x1f4807(0x20a)][_0x1f4807(0x1bf)](_0x2c5cb3),this[_0x1f4807(0x205)]['getDocument'](_0x2c5cb3)):null;}async[_0x4c1a34(0x1c9)](_0x55c7f8,_0x5d71b1){const _0x220ef7=_0x4c1a34;return await this[_0x220ef7(0x1c8)][_0x220ef7(0x1e5)](_0x55c7f8,0x0,_0x5d71b1)?(await this[_0x220ef7(0x20a)]['readyForCollab'](_0x55c7f8),this[_0x220ef7(0x205)]['getBase'](_0x55c7f8)):null;}async['loadSlideAsync'](_0x48c220,_0x2e3cdd){const _0x253c6d=_0x4c1a34;return await this['_snapshotService'][_0x253c6d(0x206)](_0x48c220,0x0,_0x2e3cdd)?(await this[_0x253c6d(0x20a)]['readyForCollab'](_0x48c220),this[_0x253c6d(0x205)][_0x253c6d(0x1e7)](_0x48c220)):null;}['subscribeCollaborators'](_0x179493,_0x5c1d53){const _0x2490e4=_0x4c1a34;return(0x0,_0x80d3a0[_0x2490e4(0x1d2)])(this[_0x2490e4(0x1d4)][_0x2490e4(0x1f5)](_0x1ad98c[_0x2490e4(0x1dd)])['waitForRoom$'](_0x179493)[_0x2490e4(0x1d7)]((0x0,_0x4d9d27[_0x2490e4(0x1ec)])(_0x36d168=>_0x36d168['members$']))[_0x2490e4(0x1e2)](_0x2731ef=>_0x5c1d53(Array['from'](_0x2731ef[_0x2490e4(0x1c1)]()))));}['getCollaborationStatus'](_0x44ad64){const _0x24ef74=_0x4c1a34;var _0xb1ec65;let _0x427fa0;if(_0x44ad64)_0x427fa0=_0x44ad64;else{let _0x4fce71=this['_univerInstanceService'][_0x24ef74(0x1db)]();_0x427fa0=_0x4fce71==null?void 0x0:_0x4fce71[_0x24ef74(0x1f1)]();}if(!_0x427fa0)return _0x1ad98c[_0x24ef74(0x1dc)]['NOT_COLLAB'];let _0x421dfe=this[_0x24ef74(0x20a)][_0x24ef74(0x1e0)](_0x427fa0);return(_0xb1ec65=_0x421dfe==null?void 0x0:_0x421dfe[_0x24ef74(0x1e4)]['status'])==null?_0x1ad98c[_0x24ef74(0x1dc)][_0x24ef74(0x1fa)]:_0xb1ec65;}};_0x4eb2b5=_0x3abfd8([_0x494468(0x1,(0x0,_0x80d3a0[_0x4c1a34(0x1f3)])(_0x80d3a0[_0x4c1a34(0x1c4)])),_0x494468(0x2,_0x80d3a0[_0x4c1a34(0x1d5)]),_0x494468(0x3,(0x0,_0x80d3a0['Inject'])(_0x1a6ca0['SnapshotService'])),_0x494468(0x4,(0x0,_0x80d3a0[_0x4c1a34(0x1f3)])(_0x1ad98c[_0x4c1a34(0x1cf)]))],_0x4eb2b5);var _0x193672=class extends _0x131f9c[_0x4c1a34(0x200)]{[_0x4c1a34(0x1f9)](_0x55789a){const _0x24de41=_0x4c1a34;let _0x510a2f=_0x55789a[_0x24de41(0x1f5)](_0x1ad98c[_0x24de41(0x1cf)]);this[_0x24de41(0x202)](this[_0x24de41(0x1c6)](this[_0x24de41(0x1f6)]['CollaborationStatusChanged'],()=>{const _0x490391=_0x24de41;let _0xfb34d6=new _0x80d3a0[(_0x490391(0x1f7))](),_0x2f228c=_0x510a2f[_0x490391(0x1c7)]['subscribe'](_0x50737f=>{const _0x2c07cc=_0x490391;let _0x28a30b=_0x50737f[_0x2c07cc(0x1e9)][_0x2c07cc(0x1e2)](_0x1336cb=>{const _0x1e0542=_0x2c07cc;let _0x166f14={'unitId':_0x50737f[_0x1e0542(0x1f0)],'status':_0x1336cb};this['fireEvent'](this[_0x1e0542(0x1f6)][_0x1e0542(0x1ff)],_0x166f14);});_0xfb34d6[_0x2c07cc(0x209)]((0x0,_0x80d3a0[_0x2c07cc(0x1d2)])(_0x28a30b));});return _0xfb34d6[_0x490391(0x209)]((0x0,_0x80d3a0[_0x490391(0x1d2)])(_0x2f228c)),_0xfb34d6;}));}[_0x4c1a34(0x1bb)](){const _0x119bf1=_0x4c1a34;return this[_0x119bf1(0x1d4)][_0x119bf1(0x1f4)](_0x4eb2b5,{'getWorkbook':_0x4c8241=>this['getWorkbook'](_0x4c8241),'getDocument':_0x497a3a=>this[_0x119bf1(0x1d3)](_0x497a3a),'getPresentation':_0x5af403=>this['getPresentation'](_0x5af403),'getBase':_0x1f962c=>this[_0x119bf1(0x1fe)](_0x1f962c)});}['loadServerUnit'](_0x14f5d3,_0xb52ab,_0x268edf){const _0x901334=_0x4c1a34;return this[_0x901334(0x1d4)][_0x901334(0x1f5)](_0x1ad98c[_0x901334(0x1be)])['loadUnit'](_0x14f5d3,_0xb52ab,_0x268edf);}[_0x4c1a34(0x1c3)](_0x3825b9,_0x354efa,_0x3a42fd){const _0x4777bd=_0x4c1a34;return this['_injector'][_0x4777bd(0x1f5)](_0x1ad98c[_0x4777bd(0x1be)])[_0x4777bd(0x1cc)](_0x3825b9,_0x354efa,_0x3a42fd);}};_0x131f9c[_0x4c1a34(0x200)][_0x4c1a34(0x1fd)](_0x193672),Object[_0x4c1a34(0x1bc)](_0x35a544,_0x4c1a34(0x1d6),{'enumerable':!0x0,'get':function(){return _0x4eb2b5;}});}));