@univerjs-pro/collaboration-client 1.0.0-alpha.1 → 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
package/lib/cjs/facade.js CHANGED
@@ -1 +1 @@
1
- const _0x1411c3=_0x3caa;(function(_0x5fdbbf,_0x51d0df){const _0x131e79=_0x3caa,_0x5db972=_0x5fdbbf();while(!![]){try{const _0x243a80=-parseInt(_0x131e79(0x20a))/0x1+-parseInt(_0x131e79(0x20d))/0x2+parseInt(_0x131e79(0x209))/0x3+-parseInt(_0x131e79(0x1f3))/0x4+parseInt(_0x131e79(0x1fd))/0x5*(parseInt(_0x131e79(0x1f9))/0x6)+parseInt(_0x131e79(0x211))/0x7+parseInt(_0x131e79(0x214))/0x8;if(_0x243a80===_0x51d0df)break;else _0x5db972['push'](_0x5db972['shift']());}catch(_0x32a474){_0x5db972['push'](_0x5db972['shift']());}}}(_0x2167,0x62c99),Object['defineProperty'](exports,Symbol[_0x1411c3(0x1f7)],{'value':_0x1411c3(0x1f1)}));let e=require('@univerjs-pro/collaboration-client'),t=require('@univerjs/core/facade'),n=require('@univerjs/core'),r=require('@univerjs-pro/collaboration'),i=require('rxjs');var a=class extends t['FEnum']{get[_0x1411c3(0x1fb)](){return e['CollaborationStatus'];}};t[_0x1411c3(0x223)][_0x1411c3(0x1f5)](a);function _0x2167(){const _0x1fe306=['toStringTag','object','6wZvViB','MemberService','CollaborationStatus','state','1404985miuMMQ','length','from','_handler','getDocument','getCollabEntity','loadDocAsync','status','getCollaboration','values','subscribeCollaborators','status$','72162oEbyvA','596405DjXCwd','FEventName','decorate','1036318TrSxgr','getPresentation','getUnitId','loadSheetAsync','4304804spDGLh','readyForCollab','add','4851960XrUjvL','_initialize','SnapshotService','switchMap','_snapshotService','pipe','_collaborationController','getCollaborationStatus','waitForRoom$','FUniver','get','FCollaboration','CollaborationController','toDisposable','Inject','FEnum','loadSheet','loadDoc','disposeWithMe','DisposableCollection','FBase','getWorkbook','getBase','getFocusedUnit','_injector','defineProperty','DataLoaderService','Event','loadBase','Injector','function','NOT_COLLAB','subscribe','getOwnPropertyDescriptor','loadBaseAsync','_univerInstanceService','CollaborationStatusChanged','Module','unitID','29284ZVKOgf','loadSlideAsync','extend','members$'];_0x2167=function(){return _0x1fe306;};return _0x2167();}var o=class extends t[_0x1411c3(0x20b)]{get['CollaborationStatusChanged'](){const _0x59689b=_0x1411c3;return _0x59689b(0x1f0);}};t[_0x1411c3(0x20b)][_0x1411c3(0x1f5)](o);function s(_0x55cd4e,_0x2cc36b){return function(_0x3e0bcd,_0xb31329){_0x2cc36b(_0x3e0bcd,_0xb31329,_0x55cd4e);};}function _0x3caa(_0x118f76,_0x17f163){_0x118f76=_0x118f76-0x1f0;const _0x216732=_0x2167();let _0x3caabe=_0x216732[_0x118f76];return _0x3caabe;}function c(_0x4aeb47,_0x4b60ec,_0x47b9c7,_0x400706){const _0x4df428=_0x1411c3;var _0x471fe1=arguments[_0x4df428(0x1fe)],_0x568dd0=_0x471fe1<0x3?_0x4b60ec:_0x400706===null?_0x400706=Object[_0x4df428(0x235)](_0x4b60ec,_0x47b9c7):_0x400706,_0x529a51;if(typeof Reflect==_0x4df428(0x1f8)&&typeof Reflect[_0x4df428(0x20c)]==_0x4df428(0x232))_0x568dd0=Reflect[_0x4df428(0x20c)](_0x4aeb47,_0x4b60ec,_0x47b9c7,_0x400706);else{for(var _0x58488c=_0x4aeb47[_0x4df428(0x1fe)]-0x1;_0x58488c>=0x0;_0x58488c--)(_0x529a51=_0x4aeb47[_0x58488c])&&(_0x568dd0=(_0x471fe1<0x3?_0x529a51(_0x568dd0):_0x471fe1>0x3?_0x529a51(_0x4b60ec,_0x47b9c7,_0x568dd0):_0x529a51(_0x4b60ec,_0x47b9c7))||_0x568dd0);}return _0x471fe1>0x3&&_0x568dd0&&Object['defineProperty'](_0x4b60ec,_0x47b9c7,_0x568dd0),_0x568dd0;}let l=class extends t[_0x1411c3(0x228)]{constructor(_0x56986c,_0x2e6db7,_0x5c2a9e,_0x1b451f,_0x1209bb){const _0x5ca863=_0x1411c3;super(),this[_0x5ca863(0x200)]=_0x56986c,this['_injector']=_0x2e6db7,this[_0x5ca863(0x237)]=_0x5c2a9e,this[_0x5ca863(0x218)]=_0x1b451f,this[_0x5ca863(0x21a)]=_0x1209bb;}async[_0x1411c3(0x210)](_0x5b43f9,_0x4c18a7){const _0x1154c0=_0x1411c3;return await this[_0x1154c0(0x218)][_0x1154c0(0x224)](_0x5b43f9,0x0,_0x4c18a7)?(await this[_0x1154c0(0x21a)][_0x1154c0(0x212)](_0x5b43f9),this[_0x1154c0(0x200)][_0x1154c0(0x229)](_0x5b43f9)):null;}async[_0x1411c3(0x203)](_0x109c32,_0x1d8e70){const _0x41ee7a=_0x1411c3;return await this['_snapshotService'][_0x41ee7a(0x225)](_0x109c32,0x0,_0x1d8e70)?(await this[_0x41ee7a(0x21a)][_0x41ee7a(0x212)](_0x109c32),this[_0x41ee7a(0x200)][_0x41ee7a(0x201)](_0x109c32)):null;}async[_0x1411c3(0x236)](_0xff7118,_0x53267f){const _0xd9e471=_0x1411c3;return await this[_0xd9e471(0x218)][_0xd9e471(0x230)](_0xff7118,0x0,_0x53267f)?(await this[_0xd9e471(0x21a)][_0xd9e471(0x212)](_0xff7118),this[_0xd9e471(0x200)]['getBase'](_0xff7118)):null;}async[_0x1411c3(0x1f4)](_0x43bb9e,_0x318e9e){const _0x4944d0=_0x1411c3;return await this[_0x4944d0(0x218)]['loadSlide'](_0x43bb9e,0x0,_0x318e9e)?(await this[_0x4944d0(0x21a)]['readyForCollab'](_0x43bb9e),this[_0x4944d0(0x200)][_0x4944d0(0x20e)](_0x43bb9e)):null;}[_0x1411c3(0x207)](_0x1954c3,_0x68c97){const _0x366deb=_0x1411c3;return(0x0,n[_0x366deb(0x221)])(this[_0x366deb(0x22c)][_0x366deb(0x21e)](e[_0x366deb(0x1fa)])[_0x366deb(0x21c)](_0x1954c3)[_0x366deb(0x219)]((0x0,i[_0x366deb(0x217)])(_0x1b93a8=>_0x1b93a8[_0x366deb(0x1f6)]))[_0x366deb(0x234)](_0x5bf536=>_0x68c97(Array[_0x366deb(0x1ff)](_0x5bf536[_0x366deb(0x206)]()))));}[_0x1411c3(0x21b)](_0x482175){const _0x4eca1d=_0x1411c3;var _0x3a1a39;let _0x33ed02;if(_0x482175)_0x33ed02=_0x482175;else{let _0x4b54c5=this['_univerInstanceService'][_0x4eca1d(0x22b)]();_0x33ed02=_0x4b54c5==null?void 0x0:_0x4b54c5[_0x4eca1d(0x20f)]();}if(!_0x33ed02)return e[_0x4eca1d(0x1fb)][_0x4eca1d(0x233)];let _0x188a02=this[_0x4eca1d(0x21a)][_0x4eca1d(0x202)](_0x33ed02);return(_0x3a1a39=_0x188a02==null?void 0x0:_0x188a02[_0x4eca1d(0x1fc)][_0x4eca1d(0x204)])==null?e['CollaborationStatus']['NOT_COLLAB']:_0x3a1a39;}};l=c([s(0x1,(0x0,n[_0x1411c3(0x222)])(n[_0x1411c3(0x231)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x1411c3(0x222)])(r[_0x1411c3(0x216)])),s(0x4,(0x0,n[_0x1411c3(0x222)])(e[_0x1411c3(0x220)]))],l);var u=class extends t['FUniver']{[_0x1411c3(0x215)](_0xf4e3cc){const _0x490316=_0x1411c3;let _0x49f1fe=_0xf4e3cc[_0x490316(0x21e)](e[_0x490316(0x220)]);this[_0x490316(0x226)](this['registerEventHandler'](this[_0x490316(0x22f)][_0x490316(0x1f0)],()=>{const _0x492a18=_0x490316;let _0x13582c=new n[(_0x492a18(0x227))](),_0x2fecfe=_0x49f1fe['entityInit$'][_0x492a18(0x234)](_0x24a343=>{const _0x2ff974=_0x492a18;let _0x56512b=_0x24a343[_0x2ff974(0x208)][_0x2ff974(0x234)](_0x363f93=>{const _0x2d3922=_0x2ff974;let _0x159c8b={'unitId':_0x24a343[_0x2d3922(0x1f2)],'status':_0x363f93};this['fireEvent'](this['Event'][_0x2d3922(0x1f0)],_0x159c8b);});_0x13582c[_0x2ff974(0x213)]((0x0,n[_0x2ff974(0x221)])(_0x56512b));});return _0x13582c[_0x492a18(0x213)]((0x0,n[_0x492a18(0x221)])(_0x2fecfe)),_0x13582c;}));}[_0x1411c3(0x205)](){const _0x1081db=_0x1411c3;return this[_0x1081db(0x22c)]['createInstance'](l,{'getWorkbook':_0x189406=>this[_0x1081db(0x229)](_0x189406),'getDocument':_0x2a32a3=>this[_0x1081db(0x201)](_0x2a32a3),'getPresentation':_0x4072d0=>this['getPresentation'](_0x4072d0),'getBase':_0x5210f0=>this[_0x1081db(0x22a)](_0x5210f0)});}['loadServerUnit'](_0x2f0ec1,_0x478cd2,_0x28604c){const _0x3bc22f=_0x1411c3;return this[_0x3bc22f(0x22c)][_0x3bc22f(0x21e)](e[_0x3bc22f(0x22e)])['loadUnit'](_0x2f0ec1,_0x478cd2,_0x28604c);}['loadServerUnitOfRevision'](_0x2e1bbd,_0x396612,_0x1517cc){const _0x58b371=_0x1411c3;return this[_0x58b371(0x22c)][_0x58b371(0x21e)](e[_0x58b371(0x22e)])['loadUnitOfRevision'](_0x2e1bbd,_0x396612,_0x1517cc);}};t[_0x1411c3(0x21d)][_0x1411c3(0x1f5)](u),Object[_0x1411c3(0x22d)](exports,_0x1411c3(0x21f),{'enumerable':!0x0,'get':function(){return l;}});
1
+ const _0x225f28=_0x352d;(function(_0x268505,_0x16695a){const _0x2db265=_0x352d,_0x395578=_0x268505();while(!![]){try{const _0x220911=parseInt(_0x2db265(0x1af))/0x1*(parseInt(_0x2db265(0x1b9))/0x2)+-parseInt(_0x2db265(0x1bf))/0x3*(parseInt(_0x2db265(0x19f))/0x4)+parseInt(_0x2db265(0x1dd))/0x5+parseInt(_0x2db265(0x1b5))/0x6+-parseInt(_0x2db265(0x1d6))/0x7*(parseInt(_0x2db265(0x1a9))/0x8)+parseInt(_0x2db265(0x1c7))/0x9+-parseInt(_0x2db265(0x1d8))/0xa;if(_0x220911===_0x16695a)break;else _0x395578['push'](_0x395578['shift']());}catch(_0xaad526){_0x395578['push'](_0x395578['shift']());}}}(_0x2e50,0x6ac7e),Object['defineProperty'](exports,Symbol[_0x225f28(0x1c1)],{'value':_0x225f28(0x1d7)}));let e=require('@univerjs-pro/collaboration-client'),t=require('@univerjs/core/facade'),n=require('@univerjs/core'),r=require('@univerjs-pro/collaboration'),i=require('rxjs');var a=class extends t['FEnum']{get['CollaborationStatus'](){const _0x1a91fd=_0x225f28;return e[_0x1a91fd(0x1a5)];}};function _0x352d(_0x527f46,_0x19c795){_0x527f46=_0x527f46-0x19b;const _0x2e5064=_0x2e50();let _0x352d88=_0x2e5064[_0x527f46];return _0x352d88;}t['FEnum'][_0x225f28(0x1c5)](a);var o=class extends t[_0x225f28(0x1d5)]{get[_0x225f28(0x1cf)](){return'CollaborationStatusChanged';}};t[_0x225f28(0x1d5)][_0x225f28(0x1c5)](o);function s(_0x170952,_0x437ee6){return function(_0x34b33d,_0x33dbd5){_0x437ee6(_0x34b33d,_0x33dbd5,_0x170952);};}function c(_0x439a78,_0x4da654,_0x57e2d1,_0x48fb07){const _0x4734ba=_0x225f28;var _0x8231da=arguments['length'],_0x26f680=_0x8231da<0x3?_0x4da654:_0x48fb07===null?_0x48fb07=Object[_0x4734ba(0x1b4)](_0x4da654,_0x57e2d1):_0x48fb07,_0x2848b8;if(typeof Reflect=='object'&&typeof Reflect['decorate']==_0x4734ba(0x1a7))_0x26f680=Reflect[_0x4734ba(0x1b2)](_0x439a78,_0x4da654,_0x57e2d1,_0x48fb07);else{for(var _0x42ec80=_0x439a78[_0x4734ba(0x1d1)]-0x1;_0x42ec80>=0x0;_0x42ec80--)(_0x2848b8=_0x439a78[_0x42ec80])&&(_0x26f680=(_0x8231da<0x3?_0x2848b8(_0x26f680):_0x8231da>0x3?_0x2848b8(_0x4da654,_0x57e2d1,_0x26f680):_0x2848b8(_0x4da654,_0x57e2d1))||_0x26f680);}return _0x8231da>0x3&&_0x26f680&&Object[_0x4734ba(0x1b0)](_0x4da654,_0x57e2d1,_0x26f680),_0x26f680;}let l=class extends t[_0x225f28(0x1a0)]{constructor(_0xafdec5,_0x139c22,_0x2ab067,_0x3ea69a,_0x426840){const _0x215199=_0x225f28;super(),this[_0x215199(0x1d9)]=_0xafdec5,this[_0x215199(0x1ac)]=_0x139c22,this[_0x215199(0x1b3)]=_0x2ab067,this[_0x215199(0x1a8)]=_0x3ea69a,this[_0x215199(0x1cd)]=_0x426840;}async['loadSheetAsync'](_0x209c7d,_0x19b30f){const _0x38aea7=_0x225f28;return await this[_0x38aea7(0x1a8)][_0x38aea7(0x1ad)](_0x209c7d,0x0,_0x19b30f)?(await this['_collaborationController'][_0x38aea7(0x19e)](_0x209c7d),this[_0x38aea7(0x1d9)][_0x38aea7(0x1c6)](_0x209c7d)):null;}async['loadDocAsync'](_0x28e1de,_0x2f9153){const _0x364ca1=_0x225f28;return await this[_0x364ca1(0x1a8)][_0x364ca1(0x1a4)](_0x28e1de,0x0,_0x2f9153)?(await this[_0x364ca1(0x1cd)][_0x364ca1(0x19e)](_0x28e1de),this[_0x364ca1(0x1d9)][_0x364ca1(0x1b6)](_0x28e1de)):null;}async[_0x225f28(0x1ab)](_0x231434,_0x30613e){const _0x56986f=_0x225f28;return await this['_snapshotService'][_0x56986f(0x1b1)](_0x231434,0x0,_0x30613e)?(await this[_0x56986f(0x1cd)][_0x56986f(0x19e)](_0x231434),this[_0x56986f(0x1d9)]['getBase'](_0x231434)):null;}async[_0x225f28(0x1d4)](_0x2f1939,_0x365bc6){const _0x358a73=_0x225f28;return await this[_0x358a73(0x1a8)][_0x358a73(0x1cc)](_0x2f1939,0x0,_0x365bc6)?(await this['_collaborationController'][_0x358a73(0x19e)](_0x2f1939),this[_0x358a73(0x1d9)][_0x358a73(0x1da)](_0x2f1939)):null;}[_0x225f28(0x1c9)](_0x1c7e6e,_0x5aa6ba){const _0x10f042=_0x225f28;return(0x0,n[_0x10f042(0x19d)])(this[_0x10f042(0x1ac)][_0x10f042(0x1a1)](e[_0x10f042(0x1c8)])[_0x10f042(0x1bb)](_0x1c7e6e)['pipe']((0x0,i[_0x10f042(0x1c4)])(_0x14b035=>_0x14b035[_0x10f042(0x1ae)]))[_0x10f042(0x1c3)](_0x1e0cd5=>_0x5aa6ba(Array[_0x10f042(0x1a3)](_0x1e0cd5['values']()))));}[_0x225f28(0x1db)](_0x224219){const _0x26a33d=_0x225f28;var _0xab9145;let _0x4cb467;if(_0x224219)_0x4cb467=_0x224219;else{let _0x1261e8=this[_0x26a33d(0x1b3)]['getFocusedUnit']();_0x4cb467=_0x1261e8==null?void 0x0:_0x1261e8['getUnitId']();}if(!_0x4cb467)return e[_0x26a33d(0x1a5)][_0x26a33d(0x1dc)];let _0x3f541c=this['_collaborationController'][_0x26a33d(0x19c)](_0x4cb467);return(_0xab9145=_0x3f541c==null?void 0x0:_0x3f541c[_0x26a33d(0x1c2)][_0x26a33d(0x1d2)])==null?e[_0x26a33d(0x1a5)][_0x26a33d(0x1dc)]:_0xab9145;}};function _0x2e50(){const _0x9ef573=['508653VAWwgb','MemberService','subscribeCollaborators','_initialize','registerEventHandler','loadSlide','_collaborationController','DisposableCollection','CollaborationStatusChanged','loadUnitOfRevision','length','status','Inject','loadSlideAsync','FEventName','23317sxLYSI','Module','3177030SIifhq','_handler','getPresentation','getCollaborationStatus','NOT_COLLAB','2712840CJtDSx','loadUnit','add','getCollabEntity','toDisposable','readyForCollab','8NhJDFP','FBase','get','fireEvent','from','loadDoc','CollaborationStatus','Event','function','_snapshotService','344iFMzgC','CollaborationController','loadBaseAsync','_injector','loadSheet','members$','22133WXUmrk','defineProperty','loadBase','decorate','_univerInstanceService','getOwnPropertyDescriptor','1022496IZwkLq','getDocument','SnapshotService','loadServerUnit','14BtSIyA','Injector','waitForRoom$','FCollaboration','getBase','FUniver','39183hvuCZk','DataLoaderService','toStringTag','state','subscribe','switchMap','extend','getWorkbook'];_0x2e50=function(){return _0x9ef573;};return _0x2e50();}l=c([s(0x1,(0x0,n[_0x225f28(0x1d3)])(n[_0x225f28(0x1ba)])),s(0x2,n['IUniverInstanceService']),s(0x3,(0x0,n[_0x225f28(0x1d3)])(r[_0x225f28(0x1b7)])),s(0x4,(0x0,n[_0x225f28(0x1d3)])(e[_0x225f28(0x1aa)]))],l);var u=class extends t['FUniver']{[_0x225f28(0x1ca)](_0x453dca){const _0x488c86=_0x225f28;let _0x2ed9d9=_0x453dca[_0x488c86(0x1a1)](e[_0x488c86(0x1aa)]);this['disposeWithMe'](this[_0x488c86(0x1cb)](this[_0x488c86(0x1a6)][_0x488c86(0x1cf)],()=>{const _0x2717c9=_0x488c86;let _0x140d5f=new n[(_0x2717c9(0x1ce))](),_0x202eaa=_0x2ed9d9['entityInit$'][_0x2717c9(0x1c3)](_0x1fa515=>{const _0x197768=_0x2717c9;let _0x5c0cd9=_0x1fa515['status$']['subscribe'](_0x4a07c4=>{const _0x3db917=_0x352d;let _0x2894a3={'unitId':_0x1fa515['unitID'],'status':_0x4a07c4};this[_0x3db917(0x1a2)](this[_0x3db917(0x1a6)][_0x3db917(0x1cf)],_0x2894a3);});_0x140d5f[_0x197768(0x19b)]((0x0,n[_0x197768(0x19d)])(_0x5c0cd9));});return _0x140d5f[_0x2717c9(0x19b)]((0x0,n[_0x2717c9(0x19d)])(_0x202eaa)),_0x140d5f;}));}['getCollaboration'](){const _0x16b70f=_0x225f28;return this['_injector']['createInstance'](l,{'getWorkbook':_0x38c983=>this[_0x16b70f(0x1c6)](_0x38c983),'getDocument':_0x53724b=>this[_0x16b70f(0x1b6)](_0x53724b),'getPresentation':_0x1be431=>this[_0x16b70f(0x1da)](_0x1be431),'getBase':_0x28a9b6=>this[_0x16b70f(0x1bd)](_0x28a9b6)});}[_0x225f28(0x1b8)](_0x4b677b,_0x5e4cc2,_0x33c9a6){const _0xf13905=_0x225f28;return this[_0xf13905(0x1ac)][_0xf13905(0x1a1)](e['DataLoaderService'])[_0xf13905(0x1de)](_0x4b677b,_0x5e4cc2,_0x33c9a6);}['loadServerUnitOfRevision'](_0x4155ea,_0x41f4b2,_0x1d8cd2){const _0x2de469=_0x225f28;return this['_injector'][_0x2de469(0x1a1)](e[_0x2de469(0x1c0)])[_0x2de469(0x1d0)](_0x4155ea,_0x41f4b2,_0x1d8cd2);}};t[_0x225f28(0x1be)][_0x225f28(0x1c5)](u),Object['defineProperty'](exports,_0x225f28(0x1bc),{'enumerable':!0x0,'get':function(){return l;}});