@univerjs-pro/collaboration-client 0.10.7 → 0.10.8

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 (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +10 -10
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var _0x50acdc=_0x5520;(function(_0xa0a9b0,_0x2d8afc){var _0x284461=_0x5520,_0x58e592=_0xa0a9b0();while(!![]){try{var _0xeb1586=parseInt(_0x284461(0x27d))/0x1*(parseInt(_0x284461(0xad))/0x2)+-parseInt(_0x284461(0x3e1))/0x3*(-parseInt(_0x284461(0x11d))/0x4)+-parseInt(_0x284461(0x1e0))/0x5*(parseInt(_0x284461(0x200))/0x6)+parseInt(_0x284461(0x199))/0x7*(parseInt(_0x284461(0x397))/0x8)+-parseInt(_0x284461(0x27f))/0x9*(-parseInt(_0x284461(0x2ad))/0xa)+-parseInt(_0x284461(0x190))/0xb*(parseInt(_0x284461(0x3a1))/0xc)+-parseInt(_0x284461(0x23e))/0xd;if(_0xeb1586===_0x2d8afc)break;else _0x58e592['push'](_0x58e592['shift']());}catch(_0x4af3bf){_0x58e592['push'](_0x58e592['shift']());}}}(_0x3a85,0x999eb));var bt=Object[_0x50acdc(0x26c)],Ot=(_0x2675fa,_0x3c09ef,_0x43c0c9)=>_0x3c09ef in _0x2675fa?bt(_0x2675fa,_0x3c09ef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43c0c9}):_0x2675fa[_0x3c09ef]=_0x43c0c9,A=(_0x397c32,_0x4a4385,_0x455d43)=>Ot(_0x397c32,typeof _0x4a4385!=_0x50acdc(0x3a9)?_0x4a4385+'':_0x4a4385,_0x455d43);Object['defineProperty'](exports,Symbol[_0x50acdc(0x2b3)],{'value':'Module'});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x50acdc(0x2de),Dt='SNAPSHOT_URL_KEY',Ut=0x7d0,ht=_0x50acdc(0x13d),At=_0x50acdc(0x121),_t=_0x50acdc(0x243),Pt=0x7530,ke=_0x50acdc(0xa1),lt=0x4e20,wt=0x4e20,ut=_0x50acdc(0x250),Mt=0x3,Lt=_0x50acdc(0x89),xt=0x3e8,kt=_0x50acdc(0x204),$t=_0x50acdc(0x38e),Ht=_0x50acdc(0x366),jt=_0x50acdc(0x3ba);var dt=(_0x53c421=>(_0x53c421[_0x53c421[_0x50acdc(0xf9)]=0x0]=_0x50acdc(0xf9),_0x53c421[_0x53c421['OK']=0x1]='OK',_0x53c421[_0x53c421[_0x50acdc(0x2fb)]=0x2]=_0x50acdc(0x2fb),_0x53c421[_0x53c421[_0x50acdc(0x3e6)]=0x3]='PERMISSION_DENIED',_0x53c421[_0x53c421['NOT_FOUND']=0x4]=_0x50acdc(0x231),_0x53c421[_0x53c421[_0x50acdc(0x2be)]=0x5]=_0x50acdc(0x2be),_0x53c421[_0x53c421[_0x50acdc(0x3bc)]=0x6]=_0x50acdc(0x3bc),_0x53c421[_0x53c421[_0x50acdc(0x23a)]=0x7]=_0x50acdc(0x23a),_0x53c421[_0x53c421[_0x50acdc(0x23b)]=0x8]='TOO_MANY_REQUESTS',_0x53c421[_0x53c421[_0x50acdc(0x11a)]=0x9]=_0x50acdc(0x11a),_0x53c421[_0x53c421['LOGIN_FAILED']=0xa]=_0x50acdc(0x398),_0x53c421[_0x53c421['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x53c421[_0x53c421[_0x50acdc(0x15e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53c421[_0x53c421[_0x50acdc(0x1f2)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x53c421[_0x53c421[_0x50acdc(0x1bf)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53c421[_0x53c421[_0x50acdc(0x3d5)]=0x1389]=_0x50acdc(0x3d5),_0x53c421[_0x53c421[_0x50acdc(0x267)]=0x1771]=_0x50acdc(0x267),_0x53c421[_0x53c421[_0x50acdc(0x115)]=0x1772]=_0x50acdc(0x115),_0x53c421[_0x53c421[_0x50acdc(0x3ac)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x53c421[_0x53c421[_0x50acdc(0x90)]=0x1b59]=_0x50acdc(0x90),_0x53c421[_0x53c421[_0x50acdc(0x269)]=0x1b5a]=_0x50acdc(0x269),_0x53c421[_0x53c421['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x50acdc(0x1e3),_0x53c421[_0x53c421[_0x50acdc(0x1d9)]=0x1b5c]=_0x50acdc(0x1d9),_0x53c421[_0x53c421[_0x50acdc(0x1de)]=0x1b5d]=_0x50acdc(0x1de),_0x53c421[_0x53c421[_0x50acdc(0x2a9)]=0x1f41]=_0x50acdc(0x2a9),_0x53c421[_0x53c421['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x50acdc(0x38f),_0x53c421[_0x53c421[_0x50acdc(0x26b)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53c421[_0x53c421[_0x50acdc(0x373)]=0x232b]=_0x50acdc(0x373),_0x53c421[_0x53c421[_0x50acdc(0x321)]=0x232c]=_0x50acdc(0x321),_0x53c421[_0x53c421[_0x50acdc(0x129)]=0x232d]=_0x50acdc(0x129),_0x53c421[_0x53c421[_0x50acdc(0x205)]=0x2711]=_0x50acdc(0x205),_0x53c421[_0x53c421[_0x50acdc(0x1bc)]=0x2712]=_0x50acdc(0x1bc),_0x53c421[_0x53c421[_0x50acdc(0x2af)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53c421[_0x53c421['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x53c421[_0x53c421[_0x50acdc(0x21d)]=0x271a]=_0x50acdc(0x21d),_0x53c421[_0x53c421['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x50acdc(0x3a5),_0x53c421[_0x53c421[_0x50acdc(0x360)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x53c421[_0x53c421[_0x50acdc(0x309)]=0x271d]=_0x50acdc(0x309),_0x53c421[_0x53c421[_0x50acdc(0x15a)]=0x271e]=_0x50acdc(0x15a),_0x53c421[_0x53c421[_0x50acdc(0x2d1)]=0x271f]=_0x50acdc(0x2d1),_0x53c421[_0x53c421[_0x50acdc(0x31c)]=0x2720]=_0x50acdc(0x31c),_0x53c421[_0x53c421[_0x50acdc(0x347)]=0x2af9]=_0x50acdc(0x347),_0x53c421[_0x53c421[_0x50acdc(0xcb)]=0x2ee1]=_0x50acdc(0xcb),_0x53c421[_0x53c421[_0x50acdc(0x330)]=0x2ee2]=_0x50acdc(0x330),_0x53c421[_0x53c421[_0x50acdc(0x3c9)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x53c421[_0x53c421['USER_NOT_INVITED_CODE']=0x2ee4]=_0x50acdc(0x1b4),_0x53c421[_0x53c421[_0x50acdc(0x1ac)]=0x2ee5]=_0x50acdc(0x1ac),_0x53c421[_0x53c421[_0x50acdc(0x193)]=0x32c9]=_0x50acdc(0x193),_0x53c421[_0x53c421['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x50acdc(0x2d2),_0x53c421[_0x53c421['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x50acdc(0x3b8),_0x53c421[_0x53c421['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x53c421))(dt||{}),J=(_0x14976e=>(_0x14976e[_0x14976e['UNIVER_UNKNOWN']=0x0]=_0x50acdc(0x247),_0x14976e[_0x14976e[_0x50acdc(0x1c5)]=0x1]=_0x50acdc(0x1c5),_0x14976e[_0x14976e[_0x50acdc(0x2f3)]=0x2]=_0x50acdc(0x2f3),_0x14976e[_0x14976e[_0x50acdc(0xab)]=0x3]='UNIVER_SLIDE',_0x14976e[_0x14976e[_0x50acdc(0x34c)]=0x4]=_0x50acdc(0x34c),_0x14976e[_0x14976e[_0x50acdc(0x35f)]=-0x1]='UNRECOGNIZED',_0x14976e))(J||{}),W=(_0x599667=>(_0x599667[_0x599667['UNKNOWN_CMD']=0x0]=_0x50acdc(0x3d8),_0x599667[_0x599667[_0x50acdc(0x254)]=0x1]=_0x50acdc(0x254),_0x599667[_0x599667[_0x50acdc(0x228)]=0x2]=_0x50acdc(0x228),_0x599667[_0x599667[_0x50acdc(0x3b2)]=0x3]=_0x50acdc(0x3b2),_0x599667[_0x599667[_0x50acdc(0x208)]=0x4]=_0x50acdc(0x208),_0x599667[_0x599667['HEARTBEAT']=0x5]=_0x50acdc(0xaf),_0x599667[_0x599667['RECV']=0x6]='RECV',_0x599667[_0x599667['UNRECOGNIZED']=-0x1]=_0x50acdc(0x35f),_0x599667))(W||{}),se=(_0x14c187=>(_0x14c187[_0x14c187[_0x50acdc(0xd5)]=0x0]='UNKNOWN_CODE',_0x14c187[_0x14c187['OK']=0x1]='OK',_0x14c187[_0x14c187[_0x50acdc(0x180)]=0x2]='FAIL',_0x14c187[_0x14c187['JOIN_ROOM_FULL']=0x3e9]=_0x50acdc(0x195),_0x14c187[_0x14c187[_0x50acdc(0x237)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x14c187[_0x14c187[_0x50acdc(0x131)]=0x3eb]=_0x50acdc(0x131),_0x14c187[_0x14c187['GLOBAL_ROOMS_CNT_EXCEEDS']=0x3ec]=_0x50acdc(0x342),_0x14c187[_0x14c187[_0x50acdc(0x35f)]=-0x1]=_0x50acdc(0x35f),_0x14c187))(se||{}),vt=(_0x1c9d25=>(_0x1c9d25[_0x1c9d25[_0x50acdc(0x15c)]=0x0]=_0x50acdc(0x15c),_0x1c9d25[_0x1c9d25[_0x50acdc(0x222)]=0x1]=_0x50acdc(0x222),_0x1c9d25[_0x1c9d25[_0x50acdc(0xce)]=0x2]='HttpExport',_0x1c9d25[_0x1c9d25['UnitEmbedded']=0x3]='UnitEmbedded',_0x1c9d25[_0x1c9d25[_0x50acdc(0x15d)]=0x4]=_0x50acdc(0x15d),_0x1c9d25[_0x1c9d25['UserProfileImg']=0x5]=_0x50acdc(0xf8),_0x1c9d25[_0x1c9d25['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x1c9d25))(vt||{});const Bt=_0x50acdc(0x251);function Ft(_0x35ad79){var _0x369c61=_0x50acdc;return JSON[_0x369c61(0x8b)](_0x35ad79)['length'];}var Z=(_0x555d8b=>(_0x555d8b[_0x50acdc(0x3d7)]=_0x50acdc(0x3d7),_0x555d8b[_0x50acdc(0x3e6)]=_0x50acdc(0x3e6),_0x555d8b['CONFLICT']=_0x50acdc(0xe0),_0x555d8b[_0x50acdc(0x16b)]='CLOSE_ROOM',_0x555d8b[_0x50acdc(0x307)]='JOIN_ROOM_FAILED',_0x555d8b[_0x50acdc(0x1bb)]=_0x50acdc(0x1bb),_0x555d8b['SOCKET_FAILED']='SOCKET_FAILED',_0x555d8b[_0x50acdc(0x36a)]=_0x50acdc(0x36a),_0x555d8b))(Z||{});class ee{constructor(){var _0x137430=_0x50acdc;A(this,_0x137430(0x20a),new H[(_0x137430(0x20c))]()),A(this,_0x137430(0x291),this[_0x137430(0x20a)][_0x137430(0x1c8)]());}[_0x50acdc(0xc2)](_0x586e57){var _0x117d1a=_0x50acdc;this[_0x117d1a(0x20a)][_0x117d1a(0x30b)](_0x586e57);}}class $e{constructor(){var _0x1432cd=_0x50acdc;A(this,_0x1432cd(0x136),new H[(_0x1432cd(0x20c))]()),A(this,_0x1432cd(0x3e3),this[_0x1432cd(0x136)][_0x1432cd(0x1c8)]());}[_0x50acdc(0x2c6)](_0x2d13a1){var _0x49d230=_0x50acdc;this[_0x49d230(0x136)]['next'](_0x2d13a1);}}var Vt=Object[_0x50acdc(0x1c4)],Wt=(_0x37b09e,_0x4b7338,_0x22f689,_0x4cec8b)=>{var _0x175004=_0x50acdc;for(var _0x3cebfd=_0x4cec8b>0x1?void 0x0:_0x4cec8b?Vt(_0x4b7338,_0x22f689):_0x4b7338,_0x1ce741=_0x37b09e[_0x175004(0x31b)]-0x1,_0x5f285a;_0x1ce741>=0x0;_0x1ce741--)(_0x5f285a=_0x37b09e[_0x1ce741])&&(_0x3cebfd=_0x5f285a(_0x3cebfd)||_0x3cebfd);return _0x3cebfd;},Ve=(_0x5c0ab1,_0x1d1ede)=>(_0x1cd993,_0x53a036)=>_0x1d1ede(_0x1cd993,_0x53a036,_0x5c0ab1);exports['MemberService']=class extends a['Disposable']{constructor(_0x43db79,_0x59af29){var _0x3c4957=_0x50acdc;super(),A(this,_0x3c4957(0x245),new Map()),A(this,'_roomCreated$',new H[(_0x3c4957(0x20c))]()),(this[_0x3c4957(0x1d5)]=_0x43db79,this[_0x3c4957(0x36c)]=_0x59af29,this[_0x3c4957(0x2bc)](H[_0x3c4957(0x27b)](this[_0x3c4957(0x1d5)][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0x2f3)])[_0x3c4957(0x34b)](V[_0x3c4957(0x2cc)](_0x3525a9=>_0x3525a9['getUnitId']())),this['_univerInstanceService'][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0x1c5)])['pipe'](V[_0x3c4957(0x2cc)](_0x106621=>_0x106621['getUnitId']())),this[_0x3c4957(0x1d5)][_0x3c4957(0x28a)](a[_0x3c4957(0x2cf)][_0x3c4957(0xab)])[_0x3c4957(0x34b)](V[_0x3c4957(0x2cc)](_0x3c6e9e=>_0x3c6e9e['getUnitId']())))['subscribe'](_0x2e98d3=>this[_0x3c4957(0x120)](_0x2e98d3))));}[_0x50acdc(0x384)](_0x26155c){var _0x109e56=_0x50acdc;return this['_roomMembers'][_0x109e56(0x6f)](_0x26155c)?H['of'](this[_0x109e56(0x245)][_0x109e56(0x230)](_0x26155c)):this['_roomCreated$'][_0x109e56(0x34b)](V['map'](_0x32e0aa=>{var _0x5f478a=_0x109e56;if(_0x32e0aa===_0x26155c)return this[_0x5f478a(0x245)][_0x5f478a(0x230)](_0x32e0aa);}));}[_0x50acdc(0x2bd)](_0x530330){var _0x3349c5=_0x50acdc;this['_userManagerService'][_0x3349c5(0x2bd)](_0x530330);}[_0x50acdc(0x226)](){var _0x4ac216=_0x50acdc;return this['_userManagerService'][_0x4ac216(0x226)]();}[_0x50acdc(0x2f6)](_0x33ca69,_0x209446){var _0x2e8d52=_0x50acdc;let _0x460a5f=this['_roomMembers'][_0x2e8d52(0x230)](_0x33ca69);_0x460a5f||(_0x460a5f=new Gt(),this[_0x2e8d52(0x245)][_0x2e8d52(0x19b)](_0x33ca69,_0x460a5f),this[_0x2e8d52(0x1f4)]['next'](_0x33ca69)),_0x460a5f[_0x2e8d52(0x2f6)](_0x209446);}['removeMember'](_0x5d1260,_0x354cc2){var _0x4fe361=_0x50acdc;const _0xf35519=this['_roomMembers'][_0x4fe361(0x230)](_0x5d1260);_0xf35519&&_0xf35519[_0x4fe361(0x2db)](_0x354cc2);}['getRoom'](_0x281ea2){var _0x5ec84c=_0x50acdc;return this[_0x5ec84c(0x245)][_0x5ec84c(0x230)](_0x281ea2);}[_0x50acdc(0xe1)](_0x20f962,_0x394623){var _0x1df918=_0x50acdc;const _0x32dbd9=this[_0x1df918(0x245)][_0x1df918(0x230)](_0x20f962);if(_0x32dbd9)return _0x32dbd9[_0x1df918(0xe1)](_0x394623);}[_0x50acdc(0x120)](_0x452c1e){var _0x20846b=_0x50acdc;const _0x4410e5=this['_roomMembers'][_0x20846b(0x230)](_0x452c1e);_0x4410e5&&(_0x4410e5['dispose'](),this['_roomMembers'][_0x20846b(0x38a)](_0x452c1e));}[_0x50acdc(0xdd)](){var _0x480b28=_0x50acdc;this[_0x480b28(0x245)][_0x480b28(0x198)](_0x2be1a4=>_0x2be1a4[_0x480b28(0xdd)]()),this['_roomMembers'][_0x480b28(0x201)](),this[_0x480b28(0x1f4)][_0x480b28(0x2ab)]();}},exports[_0x50acdc(0x36b)]=Wt([Ve(0x0,a[_0x50acdc(0xa5)]),Ve(0x1,a[_0x50acdc(0x93)](a[_0x50acdc(0x214)]))],exports[_0x50acdc(0x36b)]);class Gt extends a['Disposable']{constructor(){var _0x318bcc=_0x50acdc;super(...arguments),A(this,_0x318bcc(0x24e),new Map()),A(this,_0x318bcc(0x141),new H['BehaviorSubject'](this[_0x318bcc(0x24e)])),A(this,'members$',this[_0x318bcc(0x141)][_0x318bcc(0x1c8)]());}[_0x50acdc(0xdd)](){var _0xb0f834=_0x50acdc;this[_0xb0f834(0x24e)][_0xb0f834(0x201)]();}['updateMember'](_0x2067bc){var _0x4cdda2=_0x50acdc;this['_members'][_0x4cdda2(0x19b)](_0x2067bc[_0x4cdda2(0xd3)],_0x2067bc),this[_0x4cdda2(0x2b9)]();}[_0x50acdc(0x2db)](_0x41cdfc){var _0x25cd34=_0x50acdc;this[_0x25cd34(0x24e)][_0x25cd34(0x38a)](_0x41cdfc);}['getMember'](_0x1aabb5){var _0x15724b=_0x50acdc;return this[_0x15724b(0x24e)][_0x15724b(0x230)](_0x1aabb5);}[_0x50acdc(0x281)](){var _0x4004e5=_0x50acdc;return Array[_0x4004e5(0x3e7)](this[_0x4004e5(0x24e)]['values']());}[_0x50acdc(0x2b9)](){var _0x50d14f=_0x50acdc;this['_members$']['next'](this[_0x50d14f(0x24e)]);}}var Yt=Object[_0x50acdc(0x1c4)],qt=(_0x42c5e1,_0x5c89f0,_0x1b8063,_0x3a0eea)=>{var _0x7fff85=_0x50acdc;for(var _0x1e8683=_0x3a0eea>0x1?void 0x0:_0x3a0eea?Yt(_0x5c89f0,_0x1b8063):_0x5c89f0,_0x3f9cf0=_0x42c5e1[_0x7fff85(0x31b)]-0x1,_0x5e18bf;_0x3f9cf0>=0x0;_0x3f9cf0--)(_0x5e18bf=_0x42c5e1[_0x3f9cf0])&&(_0x1e8683=_0x5e18bf(_0x1e8683)||_0x1e8683);return _0x1e8683;},ce=(_0x53aca4,_0x3b4eba)=>(_0x19d76d,_0x20feb9)=>_0x3b4eba(_0x19d76d,_0x20feb9,_0x53aca4),re=(_0x1b933a=>(_0x1b933a[_0x1b933a['IDLE']=0x0]=_0x50acdc(0x2a1),_0x1b933a[_0x1b933a['JOINING']=0x1]=_0x50acdc(0x213),_0x1b933a[_0x1b933a['OFFLINE']=0x2]=_0x50acdc(0x2dc),_0x1b933a[_0x1b933a[_0x50acdc(0x246)]=0x3]=_0x50acdc(0x246),_0x1b933a))(re||{});const We={[se['FAIL']]:_0x50acdc(0x26f),[se[_0x50acdc(0x195)]]:_0x50acdc(0x2a4),[se[_0x50acdc(0x237)]]:'session.room-not-exists',[se[_0x50acdc(0x131)]]:_0x50acdc(0x186),[se[_0x50acdc(0x342)]]:'session.room-cnt-exceeds'};exports[_0x50acdc(0x21c)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x46f6b4,_0x4ba2c5,_0x37b813,_0x4e2a2c,_0x48f957,_0x1aad76,_0x241ef6,_0xc2d4f3){var _0x2b6764=_0x50acdc;super(),A(this,_0x2b6764(0x319),new H[(_0x2b6764(0x1ea))](0x0)),A(this,'sessionStatus$',this[_0x2b6764(0x319)][_0x2b6764(0x1c8)]()),A(this,_0x2b6764(0x20a),new H[(_0x2b6764(0x20c))]()),A(this,_0x2b6764(0x291),this[_0x2b6764(0x20a)][_0x2b6764(0x1c8)]()),A(this,_0x2b6764(0x2d9)),A(this,_0x2b6764(0x81)),A(this,_0x2b6764(0x35d)),A(this,_0x2b6764(0x229),!0x1),A(this,_0x2b6764(0xf0),null),(this[_0x2b6764(0x12f)]=_0x46f6b4,this['_logService']=_0x37b813,this[_0x2b6764(0x7f)]=_0x4e2a2c,this[_0x2b6764(0x371)]=_0x48f957,this[_0x2b6764(0x2d3)]=_0x1aad76,this[_0x2b6764(0x22b)]=_0x241ef6,this[_0x2b6764(0x2ed)]=_0xc2d4f3,this[_0x2b6764(0x229)]=!!this['_telemetryService'],_0x4ba2c5['pipe'](H[_0x2b6764(0x2bf)](this[_0x2b6764(0x1a5)]))[_0x2b6764(0x393)](_0x13d0c7=>{var _0x37ed17=_0x2b6764,_0x133549;typeof _0x13d0c7>'u'||(this['_socket']=_0x13d0c7,_0x13d0c7?(this['_joinRoom'](_0x13d0c7),this[_0x37ed17(0x81)]=_0x13d0c7[_0x37ed17(0x265)][_0x37ed17(0x393)](_0x37c92b=>{var _0x44c5ef=_0x37ed17;_0x37c92b['routeKey']===this[_0x44c5ef(0x12f)]&&this[_0x44c5ef(0xdb)](_0x37c92b);})):(this[_0x37ed17(0x359)](),this['_sessionStatus$'][_0x37ed17(0x30b)](0x2),(_0x133549=this[_0x37ed17(0x81)])==null||_0x133549[_0x37ed17(0x34f)](),this[_0x37ed17(0x81)]=null));}));}get[_0x50acdc(0x341)](){var _0x39966d=_0x50acdc;return this[_0x39966d(0x319)]['getValue']();}[_0x50acdc(0x1f5)](){var _0x4fb16a=_0x50acdc,_0x8fe04a,_0x3f4121;return(_0x3f4121=(_0x8fe04a=this[_0x4fb16a(0x2d9)])==null?void 0x0:_0x8fe04a[_0x4fb16a(0xd3)])!=null?_0x3f4121:null;}[_0x50acdc(0xdd)](){var _0x3e9f46=_0x50acdc;super[_0x3e9f46(0xdd)](),this[_0x3e9f46(0x1a5)][_0x3e9f46(0x30b)](),this[_0x3e9f46(0x1a5)]['complete']();}[_0x50acdc(0x2b8)](){var _0x7e921c=_0x50acdc,_0x3cdc19,_0x43a83e;this['_throwTelemetryCollaborationNewChangeset'](),(_0x3cdc19=this[_0x7e921c(0x2d9)])==null||_0x3cdc19['send']({'cmd':W[_0x7e921c(0x3b2)],'data':{'roomID':this[_0x7e921c(0x12f)]}}),(_0x43a83e=this[_0x7e921c(0x2d9)])==null||_0x43a83e[_0x7e921c(0x2b8)](),this[_0x7e921c(0x20a)]['complete'](),this[_0x7e921c(0x319)][_0x7e921c(0x2ab)](),this['dispose']();}['_onCombEvent'](_0x40848f){var _0x56247c=_0x50acdc;_0x40848f['cmd']===W[_0x56247c(0x228)]?this['_onJoinRoomEvent'](_0x40848f):_0x40848f['cmd']===W[_0x56247c(0x317)]&&this[_0x56247c(0x187)](_0x40848f);}[_0x50acdc(0x370)](_0x5e6505){var _0xeaec7=_0x50acdc;this['_sessionStatus$'][_0xeaec7(0x30b)](0x1),_0x5e6505['send']({'cmd':W[_0xeaec7(0x228)],'routeKey':this[_0xeaec7(0x12f)],'routeType':'','data':{'rooms':[{'roomID':this[_0xeaec7(0x12f)]}]}});}[_0x50acdc(0x8d)](_0x6d5ce3){var _0x501818=_0x50acdc,_0x50a845;if(_0x6d5ce3[_0x501818(0x156)]in We){this[_0x501818(0x22b)][_0x501818(0xc2)]({'id':Z['JOIN_ROOM_FAILED'],'data':We[_0x6d5ce3[_0x501818(0x156)]]}),this[_0x501818(0x319)][_0x501818(0x30b)](0x2);return;}this['_sessionStatus$'][_0x501818(0x30b)](0x3);const _0x4f6361=(_0x50a845=_0x6d5ce3[_0x501818(0x33e)][_0x501818(0x1a1)][this[_0x501818(0x12f)]])==null?void 0x0:_0x50a845[_0x501818(0xef)];_0x4f6361&&_0x4f6361[_0x501818(0x198)](_0x55b94b=>this[_0x501818(0x371)][_0x501818(0x2f6)](this['_unitID'],_0x55b94b));}[_0x50acdc(0x187)](_0x11dec6){var _0x19a93c=_0x50acdc;try{const _0x12284f=_0x11dec6[_0x19a93c(0x33e)];switch(_0x12284f['eventID']){case p['CollaborationEvent'][_0x19a93c(0x3d6)]:this[_0x19a93c(0x2dd)](_0x12284f),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p['CollaborationEvent']['USERS_LEAVE']:this[_0x19a93c(0x112)](_0x12284f),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p[_0x19a93c(0x2d7)][_0x19a93c(0x23f)]:case p[_0x19a93c(0x2d7)][_0x19a93c(0x276)]:this['_stopTelemetryCollaborationNewChangeset'](),this[_0x19a93c(0x1f3)](),this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);break;case p['CollaborationEvent']['MSG_FOR_ERROR']:this[_0x19a93c(0x164)][_0x19a93c(0x253)](_0x19a93c(0x358)+JSON['stringify'](_0x12284f)),this['_event$'][_0x19a93c(0x30b)](_0x12284f);break;case p[_0x19a93c(0x2d7)][_0x19a93c(0x174)]:this[_0x19a93c(0x2d3)][_0x19a93c(0x2c6)](_0x12284f[_0x19a93c(0x33e)]),this[_0x19a93c(0x20a)]['next'](_0x12284f);break;default:this[_0x19a93c(0x20a)][_0x19a93c(0x30b)](_0x12284f);}}catch(_0x355e09){this[_0x19a93c(0x164)][_0x19a93c(0x253)](_0x355e09,_0x11dec6);}}['_onUserJoin'](_0x64ecea){var _0x56d872=_0x50acdc;this[_0x56d872(0x371)][_0x56d872(0x2f6)](this[_0x56d872(0x12f)],_0x64ecea[_0x56d872(0x33e)]);}[_0x50acdc(0x112)](_0x3b2424){var _0x1ec4e7=_0x50acdc;this[_0x1ec4e7(0x371)]['removeMember'](this[_0x1ec4e7(0x12f)],_0x3b2424[_0x1ec4e7(0x33e)][_0x1ec4e7(0xd3)]);}async[_0x50acdc(0x3eb)](_0x465e46,_0x62a8a8){var _0x11f294=_0x50acdc;if(this[_0x11f294(0x341)]!==0x3||!this['_socket'])throw new Error(_0x11f294(0x172));try{_0x465e46[_0x11f294(0x12e)]===p['CollaborationEvent']['SUBMIT_CHANGESET']&&(this[_0x11f294(0x3c1)](),this['_startTelemetryCollaborationNewChangeset'](_0x465e46)),this[_0x11f294(0x2d9)][_0x11f294(0x3eb)]({'cmd':W['INGEST'],'routeKey':_0x62a8a8,'routeType':'','data':_0x465e46});}catch(_0x168878){this[_0x11f294(0x164)][_0x11f294(0x253)](_0x168878);}}[_0x50acdc(0x3c1)](){var _0x7814ea=_0x50acdc,_0x47b051;this['_collaborationTimeoutTimer']=setTimeout(()=>{var _0x4dea1c=_0x5520;this['_collaborationTimeoutTimer']=null,this[_0x4dea1c(0x22b)][_0x4dea1c(0xc2)]({'id':Z[_0x4dea1c(0x36a)]});},(_0x47b051=this[_0x7814ea(0x7f)]['getConfig'](ke))!=null?_0x47b051:lt);}[_0x50acdc(0x1f3)](){var _0x1b4a85=_0x50acdc;this[_0x1b4a85(0x35d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this[_0x1b4a85(0x35d)]=null);}[_0x50acdc(0x20e)](_0x4da77d){var _0xa4dd98=_0x50acdc;if(!this[_0xa4dd98(0x229)])return;const {data:_0x5c625d}=_0x4da77d,{unitID:_0x3ac015,changeset:_0x4f903c}=_0x5c625d,{mutations:_0x23388a,type:_0xc31345}=_0x4f903c;this[_0xa4dd98(0xf0)]={'unitId':_0x3ac015,'type':_0xc31345,'startTime':performance['now'](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x23388a)};}['_stopTelemetryCollaborationNewChangeset'](){var _0x41402f=_0x50acdc;if(this['_shouldReportTelemetry']){if(!this[_0x41402f(0xf0)]){this[_0x41402f(0x164)]['error']('[CollaborationSession]',_0x41402f(0x392));return;}this[_0x41402f(0xf0)][_0x41402f(0x299)]=performance['now'](),this[_0x41402f(0xf0)][_0x41402f(0x145)]=this[_0x41402f(0xf0)][_0x41402f(0x299)]-this['_telemetryInfo'][_0x41402f(0x216)],this[_0x41402f(0x2ed)]['capture'](Bt,this[_0x41402f(0xf0)]),this[_0x41402f(0xf0)]=null;}}[_0x50acdc(0x359)](){var _0x7a4669=_0x50acdc;this[_0x7a4669(0xf0)]=null;}},exports[_0x50acdc(0x21c)]=qt([ce(0x2,a['ILogService']),ce(0x3,a[_0x50acdc(0xda)]),ce(0x4,a['Inject'](exports[_0x50acdc(0x36b)])),ce(0x5,a[_0x50acdc(0x93)]($e)),ce(0x6,a[_0x50acdc(0x93)](ee)),ce(0x7,a[_0x50acdc(0x21e)](Rt[_0x50acdc(0x1d3)]))],exports[_0x50acdc(0x21c)]);const K=a['createIdentifier'](_0x50acdc(0x104));function Kt(_0x189294){var _0x36b07c=_0x50acdc;return _0x36b07c(0x6c)+_0x189294;}var zt=Object[_0x50acdc(0x1c4)],Jt=(_0x42b46a,_0x36114b,_0x150fae,_0x5f36fc)=>{var _0x422ed0=_0x50acdc;for(var _0x55fe6b=_0x5f36fc>0x1?void 0x0:_0x5f36fc?zt(_0x36114b,_0x150fae):_0x36114b,_0xd45581=_0x42b46a[_0x422ed0(0x31b)]-0x1,_0x209bd3;_0xd45581>=0x0;_0xd45581--)(_0x209bd3=_0x42b46a[_0xd45581])&&(_0x55fe6b=_0x209bd3(_0x55fe6b)||_0x55fe6b);return _0x55fe6b;},Ue=(_0x221f54,_0x37a922)=>(_0x2f00eb,_0x29e6d7)=>_0x37a922(_0x2f00eb,_0x29e6d7,_0x221f54);function Xt(_0x776581){var _0x7c46e=_0x50acdc;const {unitID:_0x399212,mutations:_0x31c017}=_0x776581;return{'unitId':_0x399212,'subUnitId':_0x31c017[0x0][_0x7c46e(0xbb)]['subUnitId']};}exports['SheetTransformSelectionsService']=class{constructor(_0x255c3c,_0x259923,_0x4191dc){var _0x4cd2d3=_0x50acdc;this[_0x4cd2d3(0xf3)]=_0x255c3c,this[_0x4cd2d3(0x275)]=_0x259923,this[_0x4cd2d3(0x390)]=_0x4191dc;}[_0x50acdc(0x19d)](_0x4d9658){var _0x17b7cd=_0x50acdc,_0x4dc1aa,_0x31ed1f,_0x161e5e,_0x3f3f17;const _0x16cca1=this[_0x17b7cd(0xf3)]['get'](X[_0x17b7cd(0x32a)]),{unitId:_0x24bf22,subUnitId:_0x1a3f96}=Xt(_0x4d9658),_0x375f3c=_0x16cca1==null?void 0x0:_0x16cca1[_0x17b7cd(0x34a)](_0x24bf22)[_0x17b7cd(0x22c)](),_0xd163d8=(_0x31ed1f=(_0x4dc1aa=this[_0x17b7cd(0x390)]['getUnit'](_0x24bf22))==null?void 0x0:_0x4dc1aa[_0x17b7cd(0x32f)]())==null?void 0x0:_0x31ed1f[_0x17b7cd(0x294)]();if(_0x375f3c[_0x17b7cd(0x31b)]===0x0||!_0x24bf22||!_0x1a3f96)return;const _0xc6bf58=[{'id':X['SetSelectionsOperation']['id'],'params':{'unitId':_0x24bf22,'subUnitId':_0xd163d8,'selections':a[_0x17b7cd(0x3ea)][_0x17b7cd(0x83)](_0x375f3c)}}],_0xde442d=this[_0x17b7cd(0x275)]['transformMutationsWithChangeset'](_0x4d9658,_0xc6bf58);if(!p[_0x17b7cd(0x37e)](_0xde442d))throw _0xde442d[_0x17b7cd(0x253)];const _0x4b3236=(_0x3f3f17=(_0x161e5e=_0xde442d['m2Prime'][0x0])==null?void 0x0:_0x161e5e[_0x17b7cd(0xbb)])==null?void 0x0:_0x3f3f17['selections'];if(Array[_0x17b7cd(0x165)](_0x4b3236)&&_0x4b3236[_0x17b7cd(0x31b)]){if(_0x4b3236['length']===_0xc6bf58[0x0][_0x17b7cd(0xbb)][_0x17b7cd(0x3db)][_0x17b7cd(0x31b)]&&_0x4b3236[_0x17b7cd(0x2cb)]((_0x7c7c4f,_0x50b8b9)=>a[_0x17b7cd(0x343)]['equals'](_0x7c7c4f['range'],_0xc6bf58[0x0][_0x17b7cd(0xbb)][_0x17b7cd(0x3db)][_0x50b8b9][_0x17b7cd(0x29b)])))return;this[_0x17b7cd(0xf3)][_0x17b7cd(0x230)](a[_0x17b7cd(0x8e)])['executeCommand'](X[_0x17b7cd(0x333)]['id'],{'unitId':_0x24bf22,'subUnitId':_0xd163d8,'selections':_0x4b3236});}}},exports[_0x50acdc(0x26a)]=Jt([Ue(0x0,a['Inject'](a[_0x50acdc(0x238)])),Ue(0x1,p[_0x50acdc(0x19a)]),Ue(0x2,a[_0x50acdc(0xa5)])],exports['SheetTransformSelectionsService']);const de=a['createIdentifier'](_0x50acdc(0xff));var He=(_0x35debf=>(_0x35debf[_0x35debf[_0x50acdc(0x3e5)]=0x0]=_0x50acdc(0x3e5),_0x35debf[_0x35debf[_0x50acdc(0x1ae)]=0x1]=_0x50acdc(0x1ae),_0x35debf))(He||{});const Y=_0x50acdc(0x2a2),Zt={},Qt=new Set([X[_0x50acdc(0x1b5)]['id']]);function Ge(_0x42e0f8,_0x36b19c,_0xa0de64,_0x3d72c0,_0x23e262){var _0x5568c0=_0x50acdc,_0x5021ef,_0x493201,_0x5a0fda,_0x2a3b5c;const _0x58f6c6=[];for(const _0x827a6 of _0x42e0f8)if(Qt[_0x5568c0(0x6f)](_0x827a6['id'])){if(_0x58f6c6[_0x5568c0(0x31b)]>0x0)break;_0x58f6c6[_0x5568c0(0x3a3)](_0x827a6);break;}else _0x58f6c6[_0x5568c0(0x3a3)](_0x827a6);const _0x8cf9c2=(_0x493201=(_0x5021ef=_0x23e262[_0x5568c0(0x226)]())==null?void 0x0:_0x5021ef[_0x5568c0(0xe8)])!=null?_0x493201:'unknown',_0x74fe6e=(_0x2a3b5c=(_0x5a0fda=_0x23e262['getCurrentUser']())==null?void 0x0:_0x5a0fda[_0x5568c0(0xd3)])!=null?_0x2a3b5c:_0x5568c0(0x1d0);return{'changeset':{'unitID':_0x36b19c,'type':p['mapDocumentTypeToUniverType'](_0xa0de64['getUnitType'](_0x36b19c)),'baseRev':_0x3d72c0[_0x5568c0(0xbf)](_0x36b19c),'revision':0x0,'userID':_0x8cf9c2,'memberID':_0x74fe6e,'mutations':_0x58f6c6},'pendingMutations':_0x42e0f8['slice'](_0x58f6c6['length'])};}function ei(_0x6bb290,_0x18822d,_0x27855d,_0x1485a2,_0x1bff76){var _0x28ef44=_0x50acdc,_0x30b586,_0x50f370,_0x431c9e,_0x21e500;const _0x267697=[_0x6bb290['reduce']((_0x3a1bc0,_0x12370e)=>{var _0x5badbf=_0x5520,_0x37592c;const {id:_0x1feb3c}=_0x3a1bc0,{id:_0x5c0865,type:_0x2e5c4c}=_0x12370e,_0x3b73e5=(_0x37592c=_0x3a1bc0[_0x5badbf(0xbb)])!=null?_0x37592c:{'actions':null},_0x43bd5e=_0x12370e[_0x5badbf(0xbb)];if(_0x1feb3c&&_0x1feb3c!==_0x5c0865)throw new Error(_0x5badbf(0x21f)+_0x1feb3c+'\x20-\x20'+_0x5c0865+'.');return{..._0x3a1bc0,'id':_0x5c0865,'type':_0x2e5c4c,'params':{'unitId':_0x43bd5e[_0x5badbf(0x13f)],'textRanges':_0x43bd5e['textRanges'],'actions':a['JSONX'][_0x5badbf(0x7d)](_0x3b73e5[_0x5badbf(0x2a0)],_0x43bd5e['actions'])}};},{})],_0x4c3a8d=(_0x50f370=(_0x30b586=_0x1bff76['getCurrentUser']())==null?void 0x0:_0x30b586[_0x28ef44(0xe8)])!=null?_0x50f370:_0x28ef44(0x1d0),_0x188d78=(_0x21e500=(_0x431c9e=_0x1bff76['getCurrentUser']())==null?void 0x0:_0x431c9e['memberID'])!=null?_0x21e500:'unknown';return{'changeset':{'unitID':_0x18822d,'type':p[_0x28ef44(0x306)](_0x27855d[_0x28ef44(0x227)](_0x18822d)),'baseRev':_0x1485a2['getCurrentRevOfUnit'](_0x18822d),'revision':0x0,'userID':_0x4c3a8d,'memberID':_0x188d78,'mutations':_0x267697},'pendingMutations':[]};}function _0x3a85(){var _0x497a08=['LICENSE_IMPORT_SIZE_EXCEEDED','createIdentifier','find','includes','registerHTTPInterceptor','Latin1','shareReplay','_sheetTransformSelectionsService','[PendingState]:\x20received\x20acknowledgement.','PendingState','concat','isTransformMutationsWithChangesetSuccess','_updateLocalCache','snapshot','DocCollaborationEntity','_initCloseConn','collaboratorID','waitForRoom$','encodeURIComponent','_onFetchMissResult','onTransformRemoteChangesetByIMECache','updatePermissionObjEvent','SyncedState','delete','enableOfflineEditing','loadUnitOfRevision','src','/universer-api/oidc/authpage','LICENSE_MAX_UNITS_EXCEEDED','_instanceService','liveShareNewHost','telemetry\x20info\x20is\x20not\x20initialized','subscribe','key','_executeRemoteChangeset','withCredentials','59016yEjWUS','LOGIN_FAILED','authzUrl','_decreaseWaiting','_substituteRedoStack','DataLoaderService','parse','_getUploadFileURL','HEARTBEAT_INTERVAL_KEY','encrypt','12bizoiM','transformMutationsWithChangeset','push','/rev/','YUUMI_ASYNCIO_CANCELLED','RichTextEditingMutation','updateCollaborator','_onRemoteChangeset','symbol','now','Univer','ENSURE_SNAPSHOT_EXECUTION','take','FileId','collabWebSocketUrl','signUrlServerUrl','avatar','LEAVE','/universer-api/snapshot/','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','__creator','hostname','joinEvent','EMAIL_HAS_BEEN_BOUND','floor','/universer-api/uniscript','clamp','ALREADY_EXISTS','updatePermissionPoint','addHandlerCallback','_eventService','padding','_scheduleCollaborationTimeoutTimer','OpenSSL','LIVESHARE_NEW_HOST','sheets','[CollaborationController]:\x20invalid\x20univer\x20type:\x20','SHA1','[CollaborationUndoRedoService]','saveImage','INVITE_CODE_REQUIRED','MSG_FOR_ERROR','body','BASE64','onStateChange','UPDATE_CURSOR','ERROR_EXCEED_SIZE','USERS_LEAVE','POST','$super','_sendHeartbeatTimer','repeat','CHANGESET_REVISION_CONFILICT','USERS_ENTER','OTHER_CLIENT_EDITING','UNKNOWN_CMD','[SyncedState]:\x20received\x20rejection.','concatMap','selections','/-/object/-/batch_allowed','interceptor','_nRounds','byteLength','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','781323MrQAtw','put','commentUpdate$','_transformRemoteChangesetByIMECache','NO_OTHER_CLIENTS_EDITING','PERMISSION_DENIED','from','toDisposable','_sendingTimer','Tools','send','leaveEvent','PERSON','unit-cache-','CHANGESET_REJ','toggleOffline','has','fromCollab','CollaborationSessionService','_createHmacHelper','_registerDependencies','FETCH_MISS','FetchingMissState','_getSendChangesetTimeout','_collaborationPaused','Hex','_initRequestHeader','[CollaborationState]:\x20apply\x20error!','_sender','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','compose','_clearLocalCache','_configService','_type','_socketMessageSubscription','getUnitOnRev','deepClone','_key','ImageSourceType','keySize','CollaborationImageIoService','_substituteUndoStack','LOCAL_CACHE_INTERVAL','cfg','stringify','_keyPriorReset','_onJoinRoomEvent','ICommandService','onload','APPLY_REJECT','_iKey','LOCAL_CACHE_INTERVAL_KEY','Inject','charCodeAt','failed\x20to\x20apply\x20missed\x20changesets!','getFocusedUnit','/universer-api/authz','DisposableCollection','readyForCollab','createSocket','UnitEmbedded','COMPRESS_MUTATION_APPLY','size','_undoRedoService','IAuthzIoService','permissionRejEvent','HEARTBEAT_TIMEOUT','PENDING','saveChangeset','_initMergeInterceptor','IUniverInstanceService','_timeoutTimer','AwaitingState','_clearUndo','reqId','hasOwnProperty','UNIVER_SLIDE','[FetchMissState]','2XFtWcU','executeCommand','HEARTBEAT','onRemoteAck','collaborators','ivSize','onSendChangeset','c1Prime','onlyLocal','_reverseMap','downloadEndpointUrl','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','patch','ConflictState','params','_incrementRevisionNumber','min','href','getCurrentRevOfUnit','SUBMIT_CHANGESET','unitID','emitEvent','_parse','update','getUnitId','_toggleOnline','_applyRemoteChangeset','_keySchedule','target','_acknowledgedAwaitingChangeset','INVITE_CODE_HAS_BEEN_UES','_httpService','/fetchmissing?from=','HttpExport','_sessions','UnitStatus','getRandomValues','MergeInterceptorFactory','memberID','_invKeySchedule','UNKNOWN_CODE','createEncryptor','/allowed','_waitCount','SnapshotServerOverHTTPService','IConfigService','_onCombEvent','decryptBlock','dispose','Failed\x20to\x20update\x20permission\x20point','Cipher','CONFLICT','getMember','submit\x20changeset\x20error!','IMentionIOService','words','method','_listenToNetworkCondition','_onConflict','userID','awaitingChangeset','_nDataBytes','ImageUploadStatusType','People','_clearTimeoutTimer','ERROR_IMAGE_TYPE','members','_telemetryInfo','c2Prime','objectType','_injector','getGlobalObject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','\x0aCurrent:\x20','_getSignURL','UserProfileImg','UNDEFINED','updateOfflineData','onLocalMutation','/unit/','_doProcessBlock','MD5','univer-pro.collaboration-client.single-active-unit-service','ciphertext','lib','string','INetworkConditionService','collaboration-client.local-cache-service','routeKey','ISnapshotServerService','_singleActiveUnitService','_exhaustRemoteChangesetQueue','objects','add','headers','result','_tryReconnect','getLocalCacheKey','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','collabSubmitChangesetUrl','confirm','_onUserLeave','UNISCRIPT_RUN','encode','SNAPSHOT_HAS_BEEN_REMOVED','transformUndoRedo','_getAPIPrefixPath','_startCollaboration','location','COMPLETION_FINISHED','CollaborationEntity','origin','4XrwYPj','objectID','UniverNetworkPlugin','_removeRoom','/universer-api/user/session-ticket','encryptBlock','DEFAULT_FILE_NAME','state$','_transitionLocked','[CollaborationSession]','blockSize','clone','LICENSE_DISTRO_REJECTED','_onConnectionFailed','editingUnit','LIVESHARE_TERMINATE','uuidv4','eventID','_unitID','[OfflineState]:\x20received\x20acknowledgement.','JOIN_ROOM_PERMISSION_DENIED','init','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','format','_localCacheService','_commentUpdate$','[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20','toggleOnline','getResourcesRequest','firstValueFrom','ILocalCacheService','changesets','ws://127.0.0.1:8000/universer-api/comb/connect','sigBytes','unitId','getUnitStatus$','_members$','sin','mixIn','_createInitialState','duration','_process','toString','_onRemoteRejected','resolve','generateRandomId','CommandType','UPDATE_PERMISSION_OBJ','onRemoteRetry','socket\x20open.','[DataLoaderService]','processBlock','localeService','image/png','_revisionService','startsWith','_initUnitPermissionChange','code','_updateStatus','IPermissionService','_queuedRemoteChangesets','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','CollaborationSocketService','Undefined','UnitSnapshot','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onLocalMutation','IUndoRedoService','_waitForHeartbeatResponse','parseChangesetToProtocol','__Key__','_logService','isArray','_rescheduleHeartbeat','MentionIoHttpService','liveShareOperation','requestParams','NOT_COLLAB','CLOSE_ROOM','baseRev','[SyncedState]:\x20received\x20acknowledgement.','_prevBlock','_disableEditing','compute','_onConnectionOpen','[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!','isInternalEditorID','COMMENT_UPDATE','LIVESHARE_REQUEST_HOST','fromCharCode','ceil','_resendTimeout','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','BlockCipherMode','[OfflineState]:\x20received\x20changeset.','saveSnapshot','splice','LIVESHARE_OPERATION','_submitChangeset','FAIL','msCrypto','Disposable','univer-pro.collaboration-client.network-condition.service','_getLoginPath','_permissionService','session.room-permission-denied','_onRecvEvent','reject','_undoStacks','setConfig','socketService','/resources','_schedule','catch','HEARTBEAT_TIMEOUT_KEY','1563199asRpnp','_doCryptBlock','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','WECHAT_HAS_BEEN_BOUND','responseType','JOIN_ROOM_FULL','resourceIDs','x-univer-host','forEach','987tmtRJR','ITransformService','set','_isPermissionRej','transformSelections','_retryConnectingTimer','isTransformChangesetsSuccess','_clearRetryConnectingTimer','roomInfos','roles','error$','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','dispose$','CipherParams','Could\x20not\x20dynamically\x20require\x20\x22','RevisionService','_iv','[CollaborationSessionService]','_state','INVITE_CODE_ALREADY_BOUND','UNIVER_COLLABORATION_CLIENT_PLUGIN','OTHER_CLIENTS_EDITING','AWAITING','pending','_transformRemoteChangesetByStateCache','onRemoteRej','OPTIONAL','USER_NOT_INVITED_CODE','InsertSheetMutation','_createSocket','textEncoder','pauseCollaboration','getCollabEntity$','then','SOCKET_FAILED_RETRY','YUUMI_URL_COL_OUT_OF_RANGE','_checkMissing','objectActions','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_init','loadDoc','_xformMode','__esModule','getOwnPropertyDescriptor','UNIVER_DOC','onSyncEditingCollabCursor','_replaceFileID','asObservable','_doCreateSocket','_createHelper','_updateState','b64DecodeUnicode','textRanges','isTransformMutationsWithChangesetFailure','_clearScheduledTask','unknown','salt','awaiting','ITelemetryService','_resendTimer','_univerInstanceService','_entities','originalMeta','Decryptor','APPLY_PERMISSION_DENIED','UniverCollaborationClientPlugin','mutations','SUCCUSS','&assign=','APPLY_DUPLICATED','getValue','542210zBfGUm','_lockTransition','_changesetSessionId','APPLY_REVISION_CONFILICT','\x20to\x20','_fetchMissChangesets','listCollaborators','CollaborationUIEventService','_hasher','type','BehaviorSubject','sendChangesetTimeout','_getAPIPrefix','_cipher','join','_toggleOffline','joinRsp','create','EMAIL_VERIFY_CODE_MISMATCH','_clearCollaborationTimeoutTimer','_roomCreated$','getMemberID','univer-pro.collaboration-client-socket-service','[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.','loadUnit','_data','RxDisposable','[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!','localCacheService','Plugin','_createHandler','infoRsp','6KfByjV','clear','FETCH_MISSING','image/bmp','/universer-api/comb','YUUMI_UNABLE_LOAD_URL','onRemoteChangeset','_handlerCallback','INGEST','sessionStatus$','_event$','readAsDataURL','Subject','_retryCount','_startTelemetryCollaborationNewChangeset','_resendWithTimeout','OfflineState','exports','workbook','JOINING','UserManagerService','Base64','startTime','LocaleService','url','parseProtocolChangeset','pad','/object/','CollaborationSession','YUUMI_NO_CUBOID_FOR_QUESTION','Optional','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','NEW_CHANGESETS','SessionStatus','HttpImport','_status$','_syncEditingCollabCursor','AuthzIoHttpService','getCurrentUser','getUnitType','JOIN','_shouldReportTelemetry','entityInit$','_collaborationUIEventService','getCurrentSelections','_sendHeartbeat','Error\x20on\x20receiving\x20event','/universer-api/stream/file/upload','get','NOT_FOUND','_candidateSocket','fetching\x20missing\x20changesets\x20from\x20','MUTATION','_socket$','_createInitialStateImpl','JOIN_ROOM_NOT_EXISTS','Injector','ThresholdInterceptorFactory','INVALID_ARGUMENT','TOO_MANY_REQUESTS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','_socketReady','32208033HiMLYi','CHANGESET_ACK','_getCtorByUniverType','SheetCollaborationEntity','random','HEARTBEAT_INTERVAL','onMissedChangesetFetched','_roomMembers','ONLINE','UNIVER_UNKNOWN','Base','?url=','_handler','MentionType','revision','NoPadding','_members','_showConflictNotification','RETRY_CONNECTING_MAX_COUNT','collaboration_new_changeset','getTime','error','HELLO','_scheduleCompleteTimestamp','_minBufferSize','unitInfo$','PSEUDO_FETCH_MISSING_RESULT','SHOULD_CLOSE_CONN','LIVESHARE_FETCH_OPERATIONS','CommentService','auth.needGotoLoginAlert','sid','loadOfflineData','_onRemoteRetry','incrementRevOfUnit','CompressMutationService','cmd','appendMutation','_commandService','message$','UUID','SNAPSHOT_INVALID_SNAPSHOT','/block/','APPLY_NON_SEQUENTIAL_REVISION','SheetTransformSelectionsService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','defineProperty','csRejEvent','collaMsg','session.join-failed','name','mergeOverrideWithDependencies','transformChangesets','updateSnapshot','allowed','_transformService','CHANGESET_SHOULD_RETRY','_state$','PasswordBasedCipher','getConfig','_config','merge','Hasher','1113905dPJNkF','getTypeOfUnitAdded$','184464eCKhFC','kdf','getAllMembers','reduce','sequenceExecute','refreshPermission','image/jpg','debug','_transformStack','post','decrypt','getTypeOfUnitDisposed$','algo','status','BlockCipher','_socketService','DEFAULT_WS_SESSION_TICKET_URL','onMissingChangesets','event$','getLatestCsReqIdBySid','setWaitCount','getSheetId','commentUpdateEvent','disableLocalCache','csShouldRetryEvent','newCsEvent','stopTime','enc','range','_transformIMECache','AwaitingWithPendingState','reset','AES','actions','IDLE','collaboration-client.config','prototype','session.room-full','snapshotServerUrl','deleteCollaborator','_clearHeartbeatTimer','CollaborationStatus','CONNECTOR_DATA_TOO_LARGE','offline','complete','call','460RJFZaa','AWAITING_WITH_PENDING','YUUMI_RATE_OVER_LIMIT','mode','retryConnectingInterval','addImageSourceCache','toStringTag','_transformUndoredo','WordArray','requireSession','_networkConditionService','close','_emitMembers','_initDependencies','focused$','disposeWithMe','setCurrentUser','UNAUTHENTICATED','takeUntil','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_getUndoStack','fetchMiss','CollaborativeUndoRedoService','_redoStacks','isPermissionRej','onCommentUpdate','WorkbookEditablePermission','abs','createDecryptor','replace','every','map','_remoteChangesetQueue','randomBytes','UniverInstanceType','getInterceptPoints','YUUMI_AI_RUN_FAILED','MOBILE_HAS_BEEN_BOUND','_commentService','reconnect','_ENC_XFORM_MODE','\x20in\x20_schedule.','CollaborationEvent','conflict','_socket','_hash','removeMember','OFFLINE','_onUserJoin','/universer-api/snapshot','_unitInfo$','crypto','open$','_oKey','/object','SYNCED','resend','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','unpad','_tryEnsureSocket','function','getSnapshotAPIPath','HTTPService','LocalUndoRedoService','_telemetryService','fetchMissingChangesets','slice','_collaborationSessionService','_imageSourceCache','[CollaborationEntity]','UNIVER_SHEET','_clearRedo','subject','updateMember','_snapshotService','/role','_replayCachedMutations','enableSingleActiveInstanceLock','INTERNAL_ERROR','fetchThroughInterceptors','_doFinalize','reverse','_mode','SheetPermissionInitController','session','_localeService','apply','touchDependencies','BufferedBlockAlgorithm','mapDocumentTypeToUniverType','JOIN_ROOM_FAILED','_unlockTransition','YUUMI_ALL_TABLES_IS_INVALID','hasher','next','loginUrlKey','Utf8','serializeCombRequest','awaiting_with_pending','_getDownloadEndpointURL','connection\x20error','PERMISSION_REJ','HMAC','finalize','state','_pendingMutations','RECV','createInstance','_sessionStatus$','_changesetReqId','length','YUUMI_CONNECTOR_URL_NOT_FOUND','_doReset','list','setShowComponents','RETRY_CONNECTING_MAX_COUNT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','charAt','_onOffline','append','copyFileMeta','deserializeToCombResponse','_map','entries','ILogService','SheetsSelectionsService','image/gif','_collabSessionService','CBC','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','getActiveSheet','INVALID_INVITE_CODE','IImageIoService','/collaborator','SetSelectionsOperation','extend','_getCurrentRevision','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','COMPRESS_MUTATION_SEND','onTransformIME','_transformStateCache','synced','batchAllowed','formatter','byteOffset','data','change$','max','sessionStatus','GLOBAL_ROOMS_CNT_EXCEEDS','Rectangle','_transformSelections','transformStack\x20failed!','default','PY_RUNTIME_SCRIPT_ERROR','initWorkbookPermissionChange','{fileID}','getWorkbookSelections','pipe','UNIVER_PROJECT','&source=','/-/object/list','unsubscribe','_entityInit$','onTransformSelections','EvpKDF','_awaitingChangeset','enableAuthServer','_getRedoStack','execute','ERROR_IMAGE','save\x20fail\x20reason\x20is\x20','_throwTelemetryCollaborationNewChangeset','onCommandExecuted','not_collab','_HTTPService','_collaborationTimeoutTimer','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','UNRECOGNIZED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationController','[PendingState]:\x20unhandled\x20univer\x20type:\x20','onTransformState','StreamCipher','_compressMutationService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','DEFAULT_COLLAB_WEB_SOCKET_URL','_change$','onTransformRemoteChangesetByStateCache','SUBMIT_CHANGESET_TIMEOUT','MemberService','_userManagerService','HmacMD5','status$','CollaborationUIEventId','_joinRoom','_memberService','filter'];_0x3a85=function(){return _0x497a08;};return _0x3a85();}function St(_0x2c858b,_0x333c60){var _0x51b751=_0x50acdc;const _0x5d56ef=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x5d56ef['next'](_0x333c60),_0x2c858b),_0x5d56ef[_0x51b751(0x1c8)]()['pipe'](H[_0x51b751(0x3ad)](0x1));}const ti={'id':X['EmptyMutation']['id'],'type':a[_0x50acdc(0x14b)][_0x50acdc(0x234)],'params':{}};var ii=Object[_0x50acdc(0x1c4)],oe=(_0x38683b,_0x1fa952,_0x2167a5,_0x25313e)=>{var _0x105361=_0x50acdc;for(var _0x44ced2=_0x25313e>0x1?void 0x0:_0x25313e?ii(_0x1fa952,_0x2167a5):_0x1fa952,_0x8d82d6=_0x38683b[_0x105361(0x31b)]-0x1,_0x5cdf31;_0x8d82d6>=0x0;_0x8d82d6--)(_0x5cdf31=_0x38683b[_0x8d82d6])&&(_0x44ced2=_0x5cdf31(_0x44ced2)||_0x44ced2);return _0x44ced2;},w=(_0x10109a,_0x1a0624)=>(_0x20b5c9,_0x3e9da7)=>_0x1a0624(_0x20b5c9,_0x3e9da7,_0x10109a),je=(_0x31842c=>(_0x31842c[_0x50acdc(0x16a)]=_0x50acdc(0x35b),_0x31842c[_0x50acdc(0x2e4)]=_0x50acdc(0x33a),_0x31842c[_0x50acdc(0xa2)]=_0x50acdc(0x1b0),_0x31842c[_0x50acdc(0x1af)]=_0x50acdc(0x1d2),_0x31842c[_0x50acdc(0x2ae)]=_0x50acdc(0x30f),_0x31842c[_0x50acdc(0x74)]='fetch_missing',_0x31842c[_0x50acdc(0xe0)]='conflict',_0x31842c[_0x50acdc(0x2dc)]=_0x50acdc(0x2aa),_0x31842c))(je||{});const ft=0xea60;class ae{constructor(_0x137958,_0x1efc89,_0x481f0b,_0x489fb6,_0x553254,_0x451742,_0x37ef62,_0x560566,_0x4ee74e){var _0x471ec9=_0x50acdc;A(this,_0x471ec9(0x353),null),A(this,_0x471ec9(0x316),[]),(this[_0x471ec9(0xc1)]=_0x137958,this[_0x471ec9(0x1e9)]=_0x1efc89,this[_0x471ec9(0x24a)]=_0x553254,this[_0x471ec9(0x264)]=_0x451742,this[_0x471ec9(0x9e)]=_0x37ef62,this[_0x471ec9(0x153)]=_0x560566,this[_0x471ec9(0x135)]=_0x4ee74e,this[_0x471ec9(0x353)]=_0x481f0b,this[_0x471ec9(0x316)]=_0x489fb6);}[_0x50acdc(0x1bd)](_0x23a5a0){var _0x4d3fc7=_0x50acdc;const _0x4e2fba=this[_0x4d3fc7(0x153)][_0x4d3fc7(0xbf)](this[_0x4d3fc7(0xc1)]);return _0x23a5a0[_0x4d3fc7(0x24c)]>_0x4e2fba+0x1?(this[_0x4d3fc7(0x24a)][_0x4d3fc7(0x290)]({'from':_0x4e2fba,'to':_0x23a5a0['revision']-0x1}),!0x0):!0x1;}[_0x50acdc(0x2b4)](_0x3cece8){var _0x28602e=_0x50acdc;this[_0x28602e(0x9e)][_0x28602e(0x116)](this['unitID'],_0x3cece8);}[_0x50acdc(0x344)](_0x3bfe12){var _0x109554=_0x50acdc,_0x4e8b50,_0x528e9b;(_0x528e9b=(_0x4e8b50=this[_0x109554(0x24a)])[_0x109554(0x351)])==null||_0x528e9b[_0x109554(0x2ac)](_0x4e8b50,_0x3bfe12);}['_transformIMECache'](_0x32d349){var _0x40303d=_0x50acdc,_0x4904ae,_0xf06f35;return(_0xf06f35=(_0x4904ae=this[_0x40303d(0x24a)])[_0x40303d(0x338)])==null?void 0x0:_0xf06f35['call'](_0x4904ae,_0x32d349);}[_0x50acdc(0x339)](_0x44c959){var _0x1405f7=_0x50acdc,_0x4f3eb7,_0x5a8e10;return(_0x5a8e10=(_0x4f3eb7=this[_0x1405f7(0x24a)])[_0x1405f7(0x363)])==null?void 0x0:_0x5a8e10[_0x1405f7(0x2ac)](_0x4f3eb7,_0x44c959);}[_0x50acdc(0x3e4)](_0x3f3bb4){var _0x1680db=_0x50acdc,_0x4b177f,_0x47f7aa,_0x293d97;return(_0x293d97=(_0x47f7aa=(_0x4b177f=this[_0x1680db(0x24a)])[_0x1680db(0x387)])==null?void 0x0:_0x47f7aa[_0x1680db(0x2ac)](_0x4b177f,_0x3f3bb4))!=null?_0x293d97:_0x3f3bb4;}[_0x50acdc(0x1b1)](_0x233c19){var _0x4008ce=_0x50acdc,_0x50da11,_0x518d03,_0x4b71d7;return(_0x4b71d7=(_0x518d03=(_0x50da11=this[_0x4008ce(0x24a)])['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x518d03[_0x4008ce(0x2ac)](_0x50da11,_0x233c19))!=null?_0x4b71d7:_0x233c19;}['_syncEditingCollabCursor'](_0x1e6568){var _0x313150=_0x50acdc,_0x87f2d3,_0x32ccd2;if(this[_0x313150(0x1e9)]===J[_0x313150(0x1c5)]){const {unitID:_0x480beb,mutations:_0x2dc8f1,memberID:_0x30459a}=_0x1e6568,_0x2cd4ad=_0x2dc8f1[0x0][_0x313150(0xbb)][_0x313150(0x1cd)];Array[_0x313150(0x165)](_0x2cd4ad)&&_0x2cd4ad['length']>0x0&&((_0x32ccd2=(_0x87f2d3=this[_0x313150(0x24a)])[_0x313150(0x1c6)])==null||_0x32ccd2[_0x313150(0x2ac)](_0x87f2d3,{'unitID':_0x480beb,'memberID':_0x30459a,'textRanges':_0x2cd4ad}));}}[_0x50acdc(0x37f)](){var _0xace6d0=_0x50acdc,_0x391548;(_0x391548=this[_0xace6d0(0x135)])==null||_0x391548[_0xace6d0(0xfa)](this[_0xace6d0(0xc1)],this[_0xace6d0(0x1e9)],this[_0xace6d0(0x353)],this[_0xace6d0(0x316)]);}[_0x50acdc(0x335)](){var _0x854185=_0x50acdc;return this[_0x854185(0x153)][_0x854185(0xbf)](this['unitID']);}[_0x50acdc(0xbc)](){var _0x2d3f82=_0x50acdc;this[_0x2d3f82(0x153)][_0x2d3f82(0x260)](this[_0x2d3f82(0xc1)]);}[_0x50acdc(0x395)](_0x771aba){var _0x55d029=_0x50acdc,_0x31b972;let _0x5c8272=this[_0x55d029(0x3e4)](_0x771aba);_0x5c8272=this[_0x55d029(0x1b1)](_0x5c8272);const _0x2387ae=a[_0x55d029(0x283)](_0x5c8272[_0x55d029(0x1db)],this[_0x55d029(0x264)],{'fromCollab':!0x0});if(!_0x2387ae[_0x55d029(0x10c)])throw _0x2387ae['error']instanceof Error?_0x2387ae[_0x55d029(0x253)]:new Error((_0x31b972=_0x2387ae[_0x55d029(0x253)])!=null?_0x31b972:_0x55d029(0x7a));this[_0x55d029(0x29c)](_0x5c8272),this['_transformStateCache'](_0x5c8272),this['_transformUndoredo'](_0x771aba),this['_transformSelections'](_0x5c8272),this[_0x55d029(0x224)](_0x5c8272),this[_0x55d029(0xbc)]();}}exports[_0x50acdc(0x389)]=class extends ae{constructor(_0x5bbb6d,_0x3058db,_0x6eabbb,_0x53fba4,_0x5c0e8a,_0x4572b0,_0x104501,_0x2f99c1,_0x497dab,_0x1b621e){var _0x4a0f8a=_0x50acdc;super(_0x5bbb6d,_0x3058db,null,[],_0x6eabbb,_0x104501,_0x4572b0,_0x53fba4,_0x1b621e),A(this,_0x4a0f8a(0x28c),_0x4a0f8a(0x33a)),(this['_injector']=_0x5c0e8a,this[_0x4a0f8a(0x164)]=_0x2f99c1,this[_0x4a0f8a(0x275)]=_0x497dab,this[_0x4a0f8a(0x1fc)]=_0x1b621e);}[_0x50acdc(0x263)](_0x168759){var _0x44ad70=_0x50acdc;const _0x2028d0=this[_0x44ad70(0xf3)]['createInstance'](exports[_0x44ad70(0x37c)],this[_0x44ad70(0xc1)],this[_0x44ad70(0x1e9)],[_0x168759],this['_handler']);return _0x2028d0[_0x44ad70(0x18d)](),_0x2028d0[_0x44ad70(0x37f)](),_0x2028d0;}[_0x50acdc(0x206)](_0x331ac2){var _0x5cee45=_0x50acdc;if(this[_0x5cee45(0x1bd)](_0x331ac2))return this[_0x5cee45(0xf3)][_0x5cee45(0x318)](exports[_0x5cee45(0x75)],this[_0x5cee45(0xc1)],this[_0x5cee45(0x1e9)],null,[],null,[_0x331ac2],this['_handler']);try{const _0xef780b=this[_0x5cee45(0x275)]['transformMutationsWithChangeset'](_0x331ac2,[ti]);if(p[_0x5cee45(0x37e)](_0xef780b)){const {c1Prime:_0x273e03}=_0xef780b;return this[_0x5cee45(0x395)](_0x273e03),this;}throw _0xef780b[_0x5cee45(0x253)];}catch(_0x2ec8e4){return this[_0x5cee45(0x164)][_0x5cee45(0x253)](_0x2ec8e4),this[_0x5cee45(0xe7)](!0x1);}}[_0x50acdc(0xe7)](_0x5b592e){var _0x3b2c99=_0x50acdc;return this[_0x3b2c99(0xf3)][_0x3b2c99(0x318)](exports['ConflictState'],this[_0x3b2c99(0xc1)],this[_0x3b2c99(0x1e9)],null,[],this['_handler'],_0x5b592e);}[_0x50acdc(0xb0)](){var _0x59c376=_0x50acdc;throw new Error(_0x59c376(0x16d));}[_0x50acdc(0x1b2)](){var _0x58ce13=_0x50acdc;throw new Error(_0x58ce13(0x3d9));}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x324ca6=_0x50acdc;return this[_0x324ca6(0xf3)][_0x324ca6(0x318)](exports[_0x324ca6(0x210)],this[_0x324ca6(0xc1)],this[_0x324ca6(0x1e9)],null,[],this[_0x324ca6(0x24a)]);}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x2e5)](){var _0x153b8e=_0x50acdc;throw new Error(_0x153b8e(0x32e));}[_0x50acdc(0x2c2)](){var _0x4edf61=_0x50acdc;const _0x4c1436=this[_0x4edf61(0x153)]['getCurrentRevOfUnit'](this[_0x4edf61(0xc1)]);return this[_0x4edf61(0x24a)][_0x4edf61(0x290)]({'from':_0x4c1436,'to':0x0}),this[_0x4edf61(0xf3)][_0x4edf61(0x318)](exports[_0x4edf61(0x75)],this[_0x4edf61(0xc1)],this['type'],null,[],null,[],this[_0x4edf61(0x24a)]);}},exports[_0x50acdc(0x389)]=oe([w(0x3,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x4,a['Inject'](a[_0x50acdc(0x238)])),w(0x5,a[_0x50acdc(0x160)]),w(0x6,a[_0x50acdc(0x8e)]),w(0x7,a[_0x50acdc(0x329)]),w(0x8,p['ITransformService']),w(0x9,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x389)]),exports['PendingState']=class extends ae{constructor(_0x1f3da3,_0x2226c7,_0x166fcd,_0x485c85,_0x6715bb,_0x540628,_0x410ca6,_0x25f90f,_0x5030b7,_0x28388d,_0x330148,_0x4cf416,_0x36d3ae,_0x2e78b5){var _0x475410=_0x50acdc;super(_0x1f3da3,_0x2226c7,null,_0x166fcd,_0x485c85,_0x5030b7,_0x36d3ae,_0x540628,_0x2e78b5),A(this,'status','pending'),A(this,_0x475410(0x255),null),A(this,_0x475410(0x3e9),null),(this[_0x475410(0xf3)]=_0x6715bb,this['_memberService']=_0x410ca6,this['_logService']=_0x25f90f,this[_0x475410(0x7f)]=_0x28388d,this[_0x475410(0x275)]=_0x330148,this[_0x475410(0x1d5)]=_0x4cf416);}[_0x50acdc(0x263)](_0x29edd2){var _0xe73742=_0x50acdc;return this['_pendingMutations']['push'](_0x29edd2),this[_0xe73742(0x37f)](),this;}[_0x50acdc(0x206)](_0x4a871b){var _0x59b7b5=_0x50acdc;if(this[_0x59b7b5(0x1bd)](_0x4a871b))return this[_0x59b7b5(0x1cf)](),this[_0x59b7b5(0xf3)]['createInstance'](exports[_0x59b7b5(0x75)],this[_0x59b7b5(0xc1)],this[_0x59b7b5(0x1e9)],null,this[_0x59b7b5(0x316)],null,[_0x4a871b],this[_0x59b7b5(0x24a)]);try{const _0x4ffa82=this[_0x59b7b5(0x275)][_0x59b7b5(0x3a2)](_0x4a871b,this[_0x59b7b5(0x316)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x4ffa82)){const {c1Prime:_0x2d6992,m2Prime:_0xe0fa4a}=_0x4ffa82;this[_0x59b7b5(0x395)](_0x2d6992);const _0x44dad6=this[_0x59b7b5(0xf3)][_0x59b7b5(0x318)](exports[_0x59b7b5(0x37c)],this[_0x59b7b5(0xc1)],this[_0x59b7b5(0x1e9)],_0xe0fa4a,this[_0x59b7b5(0x24a)]);this[_0x59b7b5(0x1cf)]();const _0x3494e9=new Date()[_0x59b7b5(0x252)](),_0x371512=this['_scheduleCompleteTimestamp']?Math['max'](this[_0x59b7b5(0x255)]-_0x3494e9,0x0):this[_0x59b7b5(0x76)]();return _0x44dad6[_0x59b7b5(0x18d)](_0x371512),_0x44dad6;}throw _0x4ffa82['error'];}catch(_0xae4d6c){return this[_0x59b7b5(0x164)][_0x59b7b5(0x253)](_0xae4d6c),this[_0x59b7b5(0xe7)](!0x1);}}[_0x50acdc(0xb0)](){var _0xafe109=_0x50acdc;throw new Error(_0xafe109(0x37b));}['onRemoteRej'](){throw new Error('[PendingState]:\x20received\x20rejection.');}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x41a360=_0x50acdc;return this[_0x41a360(0x1cf)](),this[_0x41a360(0xf3)][_0x41a360(0x318)](exports[_0x41a360(0x210)],this[_0x41a360(0xc1)],this[_0x41a360(0x1e9)],null,this[_0x41a360(0x316)],this[_0x41a360(0x24a)]);}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x18d)](_0x13b1cb){var _0x48b53e=_0x50acdc;const _0x448962=_0x13b1cb!=null?_0x13b1cb:this['_getSendChangesetTimeout']();this['_scheduleCompleteTimestamp']=new Date()['getTime']()+_0x448962,this[_0x48b53e(0x3e9)]=setTimeout(()=>{var _0x55d27e=_0x48b53e;this[_0x55d27e(0x1cf)]();let _0x598c06=null;switch(this['type']){case J['UNIVER_SHEET']:{_0x598c06=Ge(this['_pendingMutations'],this['unitID'],this[_0x55d27e(0x1d5)],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]);break;}case J[_0x55d27e(0x1c5)]:{this[_0x55d27e(0x316)][_0x55d27e(0x2cb)](_0x546bb4=>_0x546bb4['id']===ct[_0x55d27e(0x3a6)]['id'])?_0x598c06=ei(this[_0x55d27e(0x316)],this[_0x55d27e(0xc1)],this['_univerInstanceService'],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]):_0x598c06=Ge(this[_0x55d27e(0x316)],this['unitID'],this[_0x55d27e(0x1d5)],this[_0x55d27e(0x153)],this[_0x55d27e(0x371)]);break;}default:throw new Error(_0x55d27e(0x362)+this[_0x55d27e(0x1e9)]+_0x55d27e(0x2d6));}const {changeset:_0x394a77,pendingMutations:_0x25b37d}=_0x598c06;this[_0x55d27e(0x24a)][_0x55d27e(0xb3)](_0x394a77);const _0x52aa9f=_0x25b37d[_0x55d27e(0x31b)]?this[_0x55d27e(0xf3)][_0x55d27e(0x318)](exports[_0x55d27e(0x29d)],this[_0x55d27e(0xc1)],this[_0x55d27e(0x1e9)],_0x394a77,_0x25b37d,this['_handler'],void 0x0):this[_0x55d27e(0xf3)][_0x55d27e(0x318)](exports[_0x55d27e(0xa7)],this[_0x55d27e(0xc1)],this[_0x55d27e(0x1e9)],_0x394a77,this[_0x55d27e(0x24a)]);_0x52aa9f[_0x55d27e(0x37f)](),this[_0x55d27e(0x24a)][_0x55d27e(0x3cd)](this,_0x52aa9f);},_0x448962);}[_0x50acdc(0x76)](){var _0x23aa27=_0x50acdc,_0xc47f4f;const _0x1148ba=this[_0x23aa27(0x7f)][_0x23aa27(0x279)](Y);return(_0xc47f4f=_0x1148ba==null?void 0x0:_0x1148ba[_0x23aa27(0x1eb)])!=null?_0xc47f4f:Ut;}[_0x50acdc(0x2e5)](){throw new Error('[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.');}[_0x50acdc(0x1cf)](){var _0x18b607=_0x50acdc;this['_sendingTimer']!=null&&(clearTimeout(this[_0x18b607(0x3e9)]),this[_0x18b607(0x3e9)]=null);}[_0x50acdc(0xe7)](_0x19256d){var _0xeea6b3=_0x50acdc;return this[_0xeea6b3(0x1cf)](),this[_0xeea6b3(0xf3)][_0xeea6b3(0x318)](exports[_0xeea6b3(0xba)],this[_0xeea6b3(0xc1)],this[_0xeea6b3(0x1e9)],null,this['_pendingMutations'],this[_0xeea6b3(0x24a)],_0x19256d);}},exports[_0x50acdc(0x37c)]=oe([w(0x4,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x5,a['Inject'](p[_0x50acdc(0x1a8)])),w(0x6,a[_0x50acdc(0x93)](exports[_0x50acdc(0x36b)])),w(0x7,a[_0x50acdc(0x329)]),w(0x8,a[_0x50acdc(0x8e)]),w(0x9,a[_0x50acdc(0xda)]),w(0xa,p[_0x50acdc(0x19a)]),w(0xb,a[_0x50acdc(0xa5)]),w(0xc,a[_0x50acdc(0x160)]),w(0xd,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x37c)]),exports[_0x50acdc(0xa7)]=class extends ae{constructor(_0x53de8b,_0x463a82,_0x4ff7ee,_0x100f4b,_0x388a5a,_0x3204e7,_0x5bd272,_0x411d2c,_0x1cc732,_0x44924a,_0x1337c1){var _0x10ed0d=_0x50acdc;super(_0x53de8b,_0x463a82,_0x4ff7ee,[],_0x100f4b,_0x5bd272,_0x44924a,_0x3204e7,_0x1337c1),A(this,'status',_0x10ed0d(0x1d2)),A(this,'_resendTimeout',0x0),A(this,_0x10ed0d(0x1d4)),A(this,'_sender'),(this['_injector']=_0x388a5a,this['_logService']=_0x411d2c,this[_0x10ed0d(0x275)]=_0x1cc732);}[_0x50acdc(0x263)](_0x1f7fdc){var _0x5f380e=_0x50acdc;this['_clearScheduledTask']();const _0x202fa6=this['_injector'][_0x5f380e(0x318)](exports['AwaitingWithPendingState'],this[_0x5f380e(0xc1)],this['type'],this[_0x5f380e(0x353)],[_0x1f7fdc],this[_0x5f380e(0x24a)],this['_resendTimer']);return _0x202fa6[_0x5f380e(0x37f)](),_0x202fa6;}[_0x50acdc(0x206)](_0x6e5aae){var _0x532824=_0x50acdc;if(this['_checkMissing'](_0x6e5aae))return this[_0x532824(0x1cf)](),this[_0x532824(0xf3)][_0x532824(0x318)](exports[_0x532824(0x75)],this[_0x532824(0xc1)],this['type'],this[_0x532824(0x353)],[],null,[_0x6e5aae],this['_handler']);try{const _0x43e9b9=this[_0x532824(0x275)]['transformChangesets']([_0x6e5aae],[this['_awaitingChangeset']],!0x1);if(p[_0x532824(0x19f)](_0x43e9b9)){const {c1Prime:_0x348601,c2Prime:_0x4bf54a}=_0x43e9b9;this['_executeRemoteChangeset'](_0x348601[0x0]),_0x4bf54a[0x0][_0x532824(0x16c)]=this[_0x532824(0x335)](),this[_0x532824(0x1cf)]();const _0x1ace26=this[_0x532824(0xf3)][_0x532824(0x318)](exports[_0x532824(0xa7)],this[_0x532824(0xc1)],this['type'],_0x4bf54a[0x0],this['_handler']);return _0x1ace26[_0x532824(0x37f)](),_0x1ace26;}return this[_0x532824(0xe7)](!0x1);}catch(_0x5b9559){return this[_0x532824(0x164)]['error'](_0x5b9559),this[_0x532824(0xe7)](!0x1);}}[_0x50acdc(0xb0)](_0x4fbaa6){var _0x3ff8c9=_0x50acdc;this['_clearScheduledTask']();const _0x464dd6=this['_revisionService'][_0x3ff8c9(0xbf)](this['unitID']);if(_0x4fbaa6[_0x3ff8c9(0x24c)]<_0x464dd6-0x1)return this;if(this[_0x3ff8c9(0x1bd)](_0x4fbaa6))return this[_0x3ff8c9(0xf3)]['createInstance'](exports[_0x3ff8c9(0x75)],this[_0x3ff8c9(0xc1)],this[_0x3ff8c9(0x1e9)],null,[],this['_awaitingChangeset'],[],this[_0x3ff8c9(0x24a)]);this[_0x3ff8c9(0xbc)]();const _0x159459=this[_0x3ff8c9(0xf3)][_0x3ff8c9(0x318)](exports['SyncedState'],this[_0x3ff8c9(0xc1)],this[_0x3ff8c9(0x1e9)],this['_handler']);return _0x159459[_0x3ff8c9(0x37f)](),_0x159459;}[_0x50acdc(0x1b2)](_0x302607){var _0x12c8c3=_0x50acdc;return this[_0x12c8c3(0xe7)](!!(_0x302607!=null&&_0x302607[_0x12c8c3(0x2c5)]));}[_0x50acdc(0x14d)](_0x19559c){var _0x3be77c=_0x50acdc;return this[_0x3be77c(0x178)]>ft?this['toggleOffline']():(this[_0x3be77c(0x1d4)]=St(this['_resendTimeout'],{'timeout':this[_0x3be77c(0x178)],'reqId':_0x19559c[_0x3be77c(0xa9)]}),this[_0x3be77c(0x7b)]=this['_resendTimer'][_0x3be77c(0x393)](({reqId:_0x131785,timeout:_0x447717})=>{this['_resendWithTimeout'](_0x131785,_0x447717);}),this);}['toggleOffline'](){var _0x671d1a=_0x50acdc;return this[_0x671d1a(0x1cf)](),this['_injector'][_0x671d1a(0x318)](exports[_0x671d1a(0x210)],this[_0x671d1a(0xc1)],this[_0x671d1a(0x1e9)],this[_0x671d1a(0x353)],[],this[_0x671d1a(0x24a)]);}['toggleOnline'](){return this;}[_0x50acdc(0x2e5)](){var _0x38025f=_0x50acdc;this[_0x38025f(0x24a)]['onSendChangeset'](this[_0x38025f(0x353)]);}['_onConflict'](_0x2cdb7e){var _0x2169ec=_0x50acdc;return this[_0x2169ec(0x1cf)](),this[_0x2169ec(0xf3)][_0x2169ec(0x318)](exports[_0x2169ec(0xba)],this['unitID'],this['type'],this['_awaitingChangeset'],[],this['_handler'],_0x2cdb7e);}[_0x50acdc(0x20f)](_0x321ee8,_0x50fe75){var _0x1c03c8=_0x50acdc,_0x25b79e;_0x321ee8===((_0x25b79e=this[_0x1c03c8(0x353)])==null?void 0x0:_0x25b79e[_0x1c03c8(0xa9)])&&(this['resend'](),this[_0x1c03c8(0x178)]=_0x50fe75===0x0?0x3e8:_0x50fe75*0x2);}[_0x50acdc(0x1cf)](){var _0x3ff1ec=_0x50acdc,_0x52af56;(_0x52af56=this['_sender'])==null||_0x52af56[_0x3ff1ec(0x34f)](),this[_0x3ff1ec(0x178)]=0x0;}},exports[_0x50acdc(0xa7)]=oe([w(0x4,a[_0x50acdc(0x93)](a['Injector'])),w(0x5,a['Inject'](p[_0x50acdc(0x1a8)])),w(0x6,a['ICommandService']),w(0x7,a['ILogService']),w(0x8,p[_0x50acdc(0x19a)]),w(0x9,a[_0x50acdc(0x160)]),w(0xa,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0xa7)]),exports['AwaitingWithPendingState']=class extends ae{constructor(_0x32d69b,_0x52539a,_0x4990ff,_0x1cbf5c,_0x5eca65,_0x98426b,_0x1cb950,_0xe889b8,_0x4691ca,_0x5ded65,_0x5ea83b,_0x5d6b11,_0x1bfc3e){var _0xd81c13=_0x50acdc;super(_0x32d69b,_0x52539a,_0x4990ff,_0x1cbf5c,_0x5eca65,_0x4691ca,_0x5d6b11,_0xe889b8,_0x1bfc3e),A(this,_0xd81c13(0x28c),'awaiting_with_pending'),A(this,_0xd81c13(0x178),0x0),A(this,_0xd81c13(0x1d4)),A(this,_0xd81c13(0x7b)),(this[_0xd81c13(0xf3)]=_0x1cb950,this['_logService']=_0x5ded65,this['_transformService']=_0x5ea83b,this['localCacheService']=_0x1bfc3e,_0x98426b&&(this[_0xd81c13(0x1d4)]=_0x98426b,this['_sender']=this['_resendTimer'][_0xd81c13(0x393)](({reqId:_0x3f02df,timeout:_0x4486c9})=>{var _0xf27a4b=_0xd81c13;this[_0xf27a4b(0x20f)](_0x3f02df,_0x4486c9);})));}['appendMutation'](_0x3ee033){var _0x37ff6f=_0x50acdc;return this['_pendingMutations'][_0x37ff6f(0x3a3)](_0x3ee033),this;}[_0x50acdc(0x206)](_0xa85c09){var _0x4f2344=_0x50acdc;if(this['_checkMissing'](_0xa85c09))return this[_0x4f2344(0x1cf)](),this[_0x4f2344(0xf3)][_0x4f2344(0x318)](exports[_0x4f2344(0x75)],this['unitID'],this[_0x4f2344(0x1e9)],this[_0x4f2344(0x353)],this[_0x4f2344(0x316)],null,[_0xa85c09],this[_0x4f2344(0x24a)]);try{const _0x18dd74=this[_0x4f2344(0x275)][_0x4f2344(0x272)]([_0xa85c09],[this[_0x4f2344(0x353)]],!0x1);if(p[_0x4f2344(0x19f)](_0x18dd74)){const {c1Prime:_0x1eaa97,c2Prime:_0x269f40}=_0x18dd74,_0x42c570=this[_0x4f2344(0x275)]['transformMutationsWithChangeset'](_0x1eaa97[0x0],this[_0x4f2344(0x316)]);if(p[_0x4f2344(0x37e)](_0x42c570)){const {c1Prime:_0x543ba4,m2Prime:_0x31851a}=_0x42c570;return this[_0x4f2344(0x395)](_0x543ba4),_0x269f40[0x0][_0x4f2344(0x16c)]=this[_0x4f2344(0x335)](),this['_clearScheduledTask'](),this[_0x4f2344(0xf3)][_0x4f2344(0x318)](exports['AwaitingWithPendingState'],this[_0x4f2344(0xc1)],this[_0x4f2344(0x1e9)],_0x269f40[0x0],_0x31851a,this['_handler'],void 0x0);}throw _0x42c570[_0x4f2344(0x253)];}throw _0x18dd74[_0x4f2344(0x253)];}catch(_0x4c9759){return this[_0x4f2344(0x164)][_0x4f2344(0x253)](_0x4c9759),this[_0x4f2344(0xe7)](!0x1);}}['onRemoteAck'](_0x23298f){var _0x28f9ba=_0x50acdc;if(this[_0x28f9ba(0x1cf)](),this[_0x28f9ba(0x1bd)](_0x23298f))return this[_0x28f9ba(0xf3)][_0x28f9ba(0x318)](exports[_0x28f9ba(0x75)],this[_0x28f9ba(0xc1)],this[_0x28f9ba(0x1e9)],null,this[_0x28f9ba(0x316)],this[_0x28f9ba(0x353)],[],this[_0x28f9ba(0x24a)]);this[_0x28f9ba(0xbc)]();const _0x3acff7=this['_injector']['createInstance'](exports[_0x28f9ba(0x37c)],this['unitID'],this[_0x28f9ba(0x1e9)],this[_0x28f9ba(0x316)],this[_0x28f9ba(0x24a)]);return _0x3acff7[_0x28f9ba(0x18d)](),_0x3acff7[_0x28f9ba(0x37f)](),_0x3acff7;}[_0x50acdc(0x1b2)](_0xed5662){return this['_onConflict'](!!(_0xed5662!=null&&_0xed5662['isPermissionRej']));}[_0x50acdc(0x14d)](_0x4b4c37){var _0x16ea55=_0x50acdc;return this['_resendTimeout']>ft?this['toggleOffline']():(this[_0x16ea55(0x1d4)]=St(this['_resendTimeout'],{'timeout':this[_0x16ea55(0x178)],'reqId':_0x4b4c37['reqId']}),this['_sender']=this[_0x16ea55(0x1d4)][_0x16ea55(0x393)](({reqId:_0x79c068,timeout:_0x1e3c9c})=>{this['_resendWithTimeout'](_0x79c068,_0x1e3c9c);}),this);}[_0x50acdc(0x6e)](){var _0x46e15d=_0x50acdc;return this[_0x46e15d(0x1cf)](),this[_0x46e15d(0xf3)]['createInstance'](exports[_0x46e15d(0x210)],this['unitID'],this[_0x46e15d(0x1e9)],this[_0x46e15d(0x353)],this[_0x46e15d(0x316)],this[_0x46e15d(0x24a)]);}['toggleOnline'](){return this;}['resend'](){var _0x33444d=_0x50acdc;this[_0x33444d(0x24a)][_0x33444d(0xb3)](this[_0x33444d(0x353)]);}[_0x50acdc(0xe7)](_0x257e3d){var _0x4062e6=_0x50acdc;return this[_0x4062e6(0x1cf)](),this[_0x4062e6(0xf3)][_0x4062e6(0x318)](exports[_0x4062e6(0xba)],this[_0x4062e6(0xc1)],this[_0x4062e6(0x1e9)],null,this[_0x4062e6(0x316)],this['_handler'],_0x257e3d);}[_0x50acdc(0x20f)](_0x13908d,_0x5a0ffb){var _0x291799=_0x50acdc,_0x5f31d3;_0x13908d===((_0x5f31d3=this[_0x291799(0x353)])==null?void 0x0:_0x5f31d3['reqId'])&&(this[_0x291799(0x2e5)](),this['_resendTimeout']=_0x5a0ffb===0x0?0x3e8:_0x5a0ffb*0x2);}[_0x50acdc(0x1cf)](){var _0x3a2e89=_0x50acdc,_0x26b612;(_0x26b612=this['_sender'])==null||_0x26b612[_0x3a2e89(0x34f)](),this[_0x3a2e89(0x178)]=0x0;}},exports['AwaitingWithPendingState']=oe([w(0x6,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x7,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x8,a[_0x50acdc(0x8e)]),w(0x9,a[_0x50acdc(0x329)]),w(0xa,p[_0x50acdc(0x19a)]),w(0xb,a[_0x50acdc(0x160)]),w(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x29d)]),exports[_0x50acdc(0xba)]=class extends ae{constructor(_0x2ea6e8,_0x4c44e0,_0x323107,_0x18cf65,_0x2515cc,_0x6582c8=!0x1,_0x24950d,_0x576d18,_0x352fbb,_0x5ade3f,_0x29bbe5,_0x1bde87,_0x106965){var _0x5e9fae=_0x50acdc;super(_0x2ea6e8,_0x4c44e0,_0x323107,_0x18cf65,_0x2515cc,_0x576d18,_0x352fbb,_0x5ade3f,_0x106965),A(this,_0x5e9fae(0x28c),_0x5e9fae(0x2d8)),(this[_0x5e9fae(0x19c)]=_0x6582c8,this[_0x5e9fae(0x185)]=_0x24950d,this[_0x5e9fae(0x302)]=_0x29bbe5,this[_0x5e9fae(0x22b)]=_0x1bde87,this[_0x5e9fae(0x1fc)]=_0x106965,this[_0x5e9fae(0x24f)](),this[_0x5e9fae(0x7e)](),this[_0x5e9fae(0x16f)]());}[_0x50acdc(0x263)](){return this;}[_0x50acdc(0x206)](){return this;}[_0x50acdc(0xb0)](){return this;}[_0x50acdc(0x1b2)](){return this;}[_0x50acdc(0x14d)](){return this;}['toggleOffline'](){return this;}[_0x50acdc(0x138)](){return this;}[_0x50acdc(0x2e5)](){var _0x1a30bb=_0x50acdc;throw new Error(_0x1a30bb(0xb8));}[_0x50acdc(0x7e)](){var _0x280e69=_0x50acdc,_0x37bcdd;(_0x37bcdd=this[_0x280e69(0x135)])==null||_0x37bcdd[_0x280e69(0xfa)](this[_0x280e69(0xc1)],this['type'],null,[]);}['_showConflictNotification'](){var _0x10b3ec=_0x50acdc;this[_0x10b3ec(0x19c)]?this[_0x10b3ec(0x22b)][_0x10b3ec(0xc2)]({'id':Z[_0x10b3ec(0x3e6)]}):this['_collaborationUIEventService']['emitEvent']({'id':Z[_0x10b3ec(0xe0)]});}[_0x50acdc(0x16f)](){var _0x4efe4b=_0x50acdc;this[_0x4efe4b(0x185)][_0x4efe4b(0x3bd)](new X[(_0x4efe4b(0x2c7))](this[_0x4efe4b(0xc1)])['id'],!0x1);}},exports[_0x50acdc(0xba)]=oe([w(0x6,a[_0x50acdc(0x93)](a['IPermissionService'])),w(0x7,a[_0x50acdc(0x8e)]),w(0x8,a[_0x50acdc(0x160)]),w(0x9,a['Inject'](p[_0x50acdc(0x1a8)])),w(0xa,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),w(0xb,a['Inject'](ee)),w(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0xba)]),exports[_0x50acdc(0x210)]=class extends ae{constructor(_0x2abae2,_0x5a9266,_0x4dbbdc,_0x45da28,_0x972b6c,_0xbcda9,_0x24742d,_0x2f870a,_0xeb0dc4,_0x180972){var _0x607b23=_0x50acdc;super(_0x2abae2,_0x5a9266,_0x4dbbdc,_0x45da28,_0x972b6c,_0x2f870a,_0xeb0dc4,_0x24742d,_0x180972),A(this,_0x607b23(0x28c),'offline'),this['_injector']=_0xbcda9;}[_0x50acdc(0x263)](_0x251304){var _0xb4f4ed=_0x50acdc;return this['_pendingMutations'][_0xb4f4ed(0x3a3)](_0x251304),this[_0xb4f4ed(0x37f)](),this;}[_0x50acdc(0x206)](_0x529f30){var _0x2c6116=_0x50acdc;throw new Error(_0x2c6116(0x17b));}[_0x50acdc(0xb0)](){var _0x50a98d=_0x50acdc;throw new Error(_0x50a98d(0x130));}[_0x50acdc(0x1b2)](){throw new Error('[OfflineState]:\x20received\x20rejection.');}[_0x50acdc(0x14d)](){return this;}['toggleOffline'](){return this;}[_0x50acdc(0x138)](){var _0x352c5e=_0x50acdc;const {_injector:_0x15d9f3,_pendingMutations:_0x153cb8,_awaitingChangeset:_0xf32504,unitID:_0x5606e0,_handler:_0x2ea9f3,type:_0xb5f618}=this,_0x2e1b17=It(_0x15d9f3,_0x5606e0,_0xb5f618,_0xf32504,_0x153cb8,_0x2ea9f3);return _0x2e1b17 instanceof exports['PendingState']?_0x2e1b17['_schedule']():(_0x2e1b17 instanceof exports[_0x352c5e(0x29d)]||_0x2e1b17 instanceof exports[_0x352c5e(0xa7)])&&_0x2e1b17['resend'](),_0x2e1b17;}[_0x50acdc(0x2e5)](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x50acdc(0x210)]=oe([w(0x5,a['Inject'](a['Injector'])),w(0x6,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),w(0x7,a[_0x50acdc(0x8e)]),w(0x8,a[_0x50acdc(0x160)]),w(0x9,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x210)]),exports[_0x50acdc(0x75)]=class extends ae{constructor(_0x155abe,_0x4cd25d,_0xda0f9a,_0x70f0d2,_0x253cb6,_0x24c9fb,_0x2dbcc8,_0x50abbf,_0x449f6a,_0x2154be,_0x49817b,_0x1ac9fc,_0x278e1e,_0x305184){var _0x4b4452=_0x50acdc;super(_0x155abe,_0x4cd25d,_0xda0f9a,_0x70f0d2,_0x2dbcc8,_0x49817b,_0x1ac9fc,_0x449f6a,_0x305184),A(this,_0x4b4452(0x28c),'fetch_missing'),(this['_acknowledgedAwaitingChangeset']=_0x253cb6,this[_0x4b4452(0x159)]=_0x24c9fb,this[_0x4b4452(0xf3)]=_0x50abbf,this[_0x4b4452(0x164)]=_0x2154be,this[_0x4b4452(0x275)]=_0x278e1e,this[_0x4b4452(0x1fc)]=_0x305184);}[_0x50acdc(0x244)](_0x3a31aa){var _0x3b2db5=_0x50acdc;try{const _0x19d49b=[..._0x3a31aa,...this[_0x3b2db5(0x159)]],_0xfff65=[this[_0x3b2db5(0x353)]||this[_0x3b2db5(0xca)]]['filter'](_0x212b74=>!!_0x212b74);let _0x12b0c1,_0x25d06b;if(_0xfff65[_0x3b2db5(0x31b)]){const _0x28f9fc=this[_0x3b2db5(0x275)][_0x3b2db5(0x272)](_0x19d49b,_0xfff65,!0x1);if(!p[_0x3b2db5(0x19f)](_0x28f9fc))throw _0x28f9fc[_0x3b2db5(0x253)];_0x12b0c1=_0x28f9fc['c1Prime'],_0x25d06b=_0x28f9fc[_0x3b2db5(0xf1)];}else _0x12b0c1=_0x19d49b,_0x25d06b=[];let _0xaed4a0=this[_0x3b2db5(0x316)];_0x12b0c1['forEach'](_0x3aa44b=>{var _0x3ab87b=_0x3b2db5;let _0x5a2d5e;if(_0xaed4a0[_0x3ab87b(0x31b)]){const _0x22df2b=this[_0x3ab87b(0x275)]['transformMutationsWithChangeset'](_0x3aa44b,_0xaed4a0);if(!p[_0x3ab87b(0x37e)](_0x22df2b))throw _0x22df2b[_0x3ab87b(0x253)];_0x5a2d5e=_0x22df2b['c1Prime'],_0xaed4a0=_0x22df2b['m2Prime'];}else _0x5a2d5e=_0x3aa44b;this[_0x3ab87b(0x395)](_0x5a2d5e);}),this['_acknowledgedAwaitingChangeset']&&this['_incrementRevisionNumber'](),this[_0x3b2db5(0x353)]&&_0x25d06b[_0x3b2db5(0x31b)]&&(_0x25d06b[0x0][_0x3b2db5(0x16c)]=this[_0x3b2db5(0x335)]());let _0x23221c;if(this[_0x3b2db5(0x353)]&&_0xaed4a0[_0x3b2db5(0x31b)]!==0x0)_0x23221c=this[_0x3b2db5(0xf3)][_0x3b2db5(0x318)](exports[_0x3b2db5(0x29d)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],_0x25d06b[0x0],_0xaed4a0,this[_0x3b2db5(0x24a)],void 0x0);else{if(this[_0x3b2db5(0x353)]&&_0xaed4a0[_0x3b2db5(0x31b)]===0x0)_0x25d06b[0x0][_0x3b2db5(0x16c)]=this[_0x3b2db5(0x335)](),_0x23221c=this['_injector'][_0x3b2db5(0x318)](exports[_0x3b2db5(0xa7)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],_0x25d06b[0x0],this['_handler']);else{if(_0xaed4a0['length']!==0x0){const _0xab9fbf=this[_0x3b2db5(0xf3)]['createInstance'](exports[_0x3b2db5(0x37c)],this[_0x3b2db5(0xc1)],this['type'],_0xaed4a0,this[_0x3b2db5(0x24a)]);_0xab9fbf['_schedule'](),_0x23221c=_0xab9fbf;}else _0x23221c=this[_0x3b2db5(0xf3)][_0x3b2db5(0x318)](exports[_0x3b2db5(0x389)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],this[_0x3b2db5(0x24a)]);}}return _0x23221c[_0x3b2db5(0x37f)](),_0x23221c;}catch(_0x26dd94){return this[_0x3b2db5(0x164)][_0x3b2db5(0x253)](_0x3b2db5(0xac),_0x3b2db5(0x95),_0x26dd94),this['_injector'][_0x3b2db5(0x318)](exports[_0x3b2db5(0xba)],this[_0x3b2db5(0xc1)],this[_0x3b2db5(0x1e9)],this[_0x3b2db5(0x353)],this[_0x3b2db5(0x316)],this['_handler'],!0x1);}}['resend'](){var _0x49950c=_0x50acdc;throw new Error(_0x49950c(0x1f7));}['appendMutation'](_0x1cd1c6){var _0x227984=_0x50acdc;return this['_pendingMutations'][_0x227984(0x3a3)](_0x1cd1c6),this;}[_0x50acdc(0x206)](_0x1a6448){var _0x31c4c8=_0x50acdc;return this['_queuedRemoteChangesets'][_0x31c4c8(0x3a3)](_0x1a6448),this;}['onRemoteAck'](_0x14ef56){var _0x4e6b3d=_0x50acdc;if(this[_0x4e6b3d(0x353)])return this['_acknowledgedAwaitingChangeset']=this['_awaitingChangeset'],this[_0x4e6b3d(0x353)]=null,this;throw new Error(_0x4e6b3d(0x336));}['onRemoteRej'](_0x3e1f0c){return this['_onConflict'](!!(_0x3e1f0c!=null&&_0x3e1f0c['isPermissionRej']));}[_0x50acdc(0x14d)](){return this;}[_0x50acdc(0x6e)](){var _0x2f4e4b=_0x50acdc;return this[_0x2f4e4b(0xf3)][_0x2f4e4b(0x318)](exports[_0x2f4e4b(0x210)],this[_0x2f4e4b(0xc1)],this[_0x2f4e4b(0x1e9)],this[_0x2f4e4b(0x353)],this[_0x2f4e4b(0x316)],this[_0x2f4e4b(0x24a)]);}[_0x50acdc(0x138)](){return this;}['_onConflict'](_0x5a4920){var _0x16c4da=_0x50acdc;return this[_0x16c4da(0xf3)][_0x16c4da(0x318)](exports[_0x16c4da(0xba)],this[_0x16c4da(0xc1)],this[_0x16c4da(0x1e9)],this[_0x16c4da(0x353)],this[_0x16c4da(0x316)],this[_0x16c4da(0x24a)],_0x5a4920);}},exports[_0x50acdc(0x75)]=oe([w(0x7,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),w(0x8,a[_0x50acdc(0x93)](p['RevisionService'])),w(0x9,a['ILogService']),w(0xa,a[_0x50acdc(0x8e)]),w(0xb,a['IUndoRedoService']),w(0xc,p[_0x50acdc(0x19a)]),w(0xd,a[_0x50acdc(0x21e)](K))],exports['FetchingMissState']);function It(_0x1f0174,_0x3d6c4b,_0x1e34e2,_0x16f015,_0xcaed79,_0x1a4d7c){var _0xac20d=_0x50acdc;return _0x16f015&&_0xcaed79[_0xac20d(0x31b)]?_0x1f0174[_0xac20d(0x318)](exports[_0xac20d(0x29d)],_0x3d6c4b,_0x1e34e2,_0x16f015,_0xcaed79,_0x1a4d7c,void 0x0):_0x16f015?_0x1f0174['createInstance'](exports[_0xac20d(0xa7)],_0x3d6c4b,_0x1e34e2,_0x16f015,_0x1a4d7c):_0xcaed79[_0xac20d(0x31b)]?_0x1f0174[_0xac20d(0x318)](exports[_0xac20d(0x37c)],_0x3d6c4b,_0x1e34e2,_0xcaed79,_0x1a4d7c):_0x1f0174[_0xac20d(0x318)](exports['SyncedState'],_0x3d6c4b,_0x1e34e2,_0x1a4d7c);}var ni=Object[_0x50acdc(0x1c4)],Be=(_0x2b7683,_0xccf374,_0x4c5f65,_0x51c7d3)=>{var _0x7d1ba=_0x50acdc;for(var _0x3de621=_0x51c7d3>0x1?void 0x0:_0x51c7d3?ni(_0xccf374,_0x4c5f65):_0xccf374,_0x477fe7=_0x2b7683[_0x7d1ba(0x31b)]-0x1,_0x403160;_0x477fe7>=0x0;_0x477fe7--)(_0x403160=_0x2b7683[_0x477fe7])&&(_0x3de621=_0x403160(_0x3de621)||_0x3de621);return _0x3de621;},j=(_0x5279b8,_0x2f4c37)=>(_0x21c514,_0x47b4b0)=>_0x2f4c37(_0x21c514,_0x47b4b0,_0x5279b8);exports[_0x50acdc(0x11b)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x498507,_0x526142,_0x23dbdb,_0x4149f8,_0x3b9b64,_0x1cd372,_0x2efa8e,_0x2488c2,_0x6ab9c1,_0x2837c1,_0x4b300c,_0x3cbaf2,_0x19274c){var _0x5a85ed=_0x50acdc;super(),A(this,_0x5a85ed(0x277),new H[(_0x5a85ed(0x1ea))](null)),A(this,_0x5a85ed(0x124),this[_0x5a85ed(0x277)]['asObservable']()),A(this,_0x5a85ed(0x1ab)),A(this,_0x5a85ed(0x77),!0x1),A(this,_0x5a85ed(0x1e2),''),A(this,_0x5a85ed(0x31a),0x0),A(this,_0x5a85ed(0x36e),this[_0x5a85ed(0x124)]['pipe'](H['map'](_0x5556cd=>_0x5556cd?_0x5556cd[_0x5a85ed(0x28c)]:je[_0x5a85ed(0x2dc)]),H[_0x5a85ed(0x379)](0x1))),A(this,_0x5a85ed(0x125),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x5a85ed(0xc1)]=_0x498507,this[_0x5a85ed(0x301)]=_0x526142,this[_0x5a85ed(0x80)]=_0x23dbdb,this[_0x5a85ed(0xf3)]=_0x4149f8,this[_0x5a85ed(0x365)]=_0x3b9b64,this[_0x5a85ed(0x302)]=_0x1cd372,this[_0x5a85ed(0x153)]=_0x2efa8e,this[_0x5a85ed(0x3bf)]=_0x2488c2,this[_0x5a85ed(0x164)]=_0x6ab9c1,this['_commandService']=_0x2837c1,this[_0x5a85ed(0x185)]=_0x4b300c,this['_singleActiveUnitService']=_0x3cbaf2,this[_0x5a85ed(0x135)]=_0x19274c);}get[_0x50acdc(0x315)](){var _0x1a883b=_0x50acdc;return this[_0x1a883b(0x1ab)];}async['init'](){var _0x528e53=_0x50acdc;if(this[_0x528e53(0x315)])throw new Error('[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.');await this['_init']();}[_0x50acdc(0x1b8)](){var _0xd386dd=_0x50acdc;return this[_0xd386dd(0x77)]=!0x0,a['toDisposable'](()=>{this['_collaborationPaused']=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x50acdc(0xfb)](_0x1e93f5){var _0x4a1818=_0x50acdc;this[_0x4a1818(0x15f)](_0x1e93f5);}[_0x50acdc(0x1cb)](_0x4c78fb){var _0x423f01=_0x50acdc;this[_0x423f01(0x1ab)]=_0x4c78fb,this[_0x423f01(0x277)][_0x423f01(0x30b)](_0x4c78fb);}async[_0x50acdc(0x1c0)](){var _0x34e3b9=_0x50acdc,_0x52cf00;this['_updateState'](await this[_0x34e3b9(0x144)]()),this[_0x34e3b9(0x107)]&&((_0x52cf00=this['_singleActiveUnitService'])==null||_0x52cf00[_0x34e3b9(0x12b)](this[_0x34e3b9(0xc1)]),this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x107)][_0x34e3b9(0x140)](this['unitID'])['subscribe'](_0x397f93=>{var _0x20b0fd=_0x34e3b9;this[_0x20b0fd(0x164)][_0x20b0fd(0x286)](_0x20b0fd(0x2f2),'editing\x20status\x20changed\x20to',_0x397f93),_0x397f93===He[_0x20b0fd(0x1ae)]?(this[_0x20b0fd(0x3bf)][_0x20b0fd(0xc2)]({'id':Z['OTHER_CLIENT_EDITING']}),this['_permissionService'][_0x20b0fd(0x3bd)](new X[(_0x20b0fd(0x2c7))](this[_0x20b0fd(0xc1)])['id'],!0x1),this[_0x20b0fd(0x185)][_0x20b0fd(0x31f)](!0x1)):(this['_permissionService']['updatePermissionPoint'](new X[(_0x20b0fd(0x2c7))](this['unitID'])['id'],!0x0),this[_0x20b0fd(0x185)][_0x20b0fd(0x31f)](!0x0));})));let _0x52d094=!0x1;return this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x301)]['sessionStatus$'][_0x34e3b9(0x393)](_0x3ecd74=>{var _0x5b8be1=_0x34e3b9;_0x3ecd74===re[_0x5b8be1(0x246)]?this[_0x5b8be1(0xc6)](_0x52d094):_0x3ecd74===re[_0x5b8be1(0x2dc)]&&(_0x52d094=!0x0,this['_toggleOffline']());})),this[_0x34e3b9(0x2bc)](this[_0x34e3b9(0x301)][_0x34e3b9(0x291)][_0x34e3b9(0x393)](_0x11282d=>{var _0x54aff3=_0x34e3b9;try{switch(_0x11282d[_0x54aff3(0x12e)]){case p[_0x54aff3(0x2d7)]['NEW_CHANGESETS']:{this[_0x54aff3(0x3a8)](p['parseProtocolChangeset'](_0x11282d['data']));break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x23f)]:{this['_onRemoteACK'](_0x11282d[_0x54aff3(0x33e)]);break;}case p['CollaborationEvent'][_0x54aff3(0x6d)]:{this[_0x54aff3(0x148)]();break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x276)]:{this[_0x54aff3(0x25f)](_0x11282d[_0x54aff3(0x33e)]);break;}case p['CollaborationEvent'][_0x54aff3(0x258)]:{this[_0x54aff3(0x386)](_0x11282d[_0x54aff3(0x33e)][_0x54aff3(0x13c)][_0x54aff3(0x2cc)](_0x4469a4=>p[_0x54aff3(0x219)](_0x4469a4)));break;}case p[_0x54aff3(0x2d7)][_0x54aff3(0x312)]:{this[_0x54aff3(0x148)]({'isPermissionRej':!0x0});break;}case p[_0x54aff3(0x2d7)]['UNISCRIPT_RUN']:break;}}catch(_0x186259){throw console['error'](_0x54aff3(0x22e),_0x186259),_0x186259;}})),this[_0x34e3b9(0x1ab)];}['_unlockTransition'](){var _0x38b92b=_0x50acdc;this[_0x38b92b(0x125)]=!0x1;}['_lockTransition'](){var _0x2a497d=_0x50acdc;if(this['_transitionLocked'])throw new Error(_0x2a497d(0x1a4));this[_0x2a497d(0x125)]=!0x0;}['_onLocalMutation'](_0x1f5a3d){var _0x107616=_0x50acdc;this[_0x107616(0x1e1)](),this[_0x107616(0x1cb)](this[_0x107616(0x1ab)][_0x107616(0x263)](_0x1f5a3d)),this[_0x107616(0x308)]();}['_onRemoteChangeset'](_0x121cf5){var _0x4071cd=_0x50acdc;if(!(_0x121cf5['revision']<=this[_0x4071cd(0x153)][_0x4071cd(0xbf)](this[_0x4071cd(0xc1)]))){if(this['_collaborationPaused']){this[_0x4071cd(0x2cd)]['push'](_0x121cf5);return;}this[_0x4071cd(0xc7)](_0x121cf5);}}[_0x50acdc(0x108)](){var _0x3d0f3b=_0x50acdc;this[_0x3d0f3b(0x2cd)][_0x3d0f3b(0x198)](_0x1c1e25=>this[_0x3d0f3b(0xc7)](_0x1c1e25)),this[_0x3d0f3b(0x2cd)]=[];}[_0x50acdc(0xc7)](_0x3961b8){var _0x3ed742=_0x50acdc;const _0x2d1c0e=this[_0x3ed742(0x365)][_0x3ed742(0x3dd)][_0x3ed742(0x2fc)](this[_0x3ed742(0x365)][_0x3ed742(0x3dd)][_0x3ed742(0x2d0)]()[_0x3ed742(0x9c)])(_0x3961b8['mutations'],null)||_0x3961b8[_0x3ed742(0x1db)],_0x4f30de={..._0x3961b8,'mutations':_0x2d1c0e};this[_0x3ed742(0x1e1)](),this[_0x3ed742(0x1cb)](this[_0x3ed742(0x1ab)][_0x3ed742(0x206)](_0x4f30de)),this[_0x3ed742(0x308)]();}['_onRemoteACK'](_0x51d4da){var _0x1a50d8=_0x50acdc;this[_0x1a50d8(0x1e1)](),this[_0x1a50d8(0x1cb)](this[_0x1a50d8(0x1ab)][_0x1a50d8(0xb0)](_0x51d4da)),this['_unlockTransition']();}[_0x50acdc(0x148)](_0x38699d){var _0x475a47=_0x50acdc;this[_0x475a47(0x1e1)](),this[_0x475a47(0x1cb)](this[_0x475a47(0x1ab)]['onRemoteRej'](_0x38699d)),this['_unlockTransition']();}['_onRemoteRetry'](_0x1b7bd2){var _0x56fd2a=_0x50acdc;this[_0x56fd2a(0x1e1)](),this[_0x56fd2a(0x1cb)](this[_0x56fd2a(0x1ab)][_0x56fd2a(0x14d)](_0x1b7bd2)),this[_0x56fd2a(0x308)]();}[_0x50acdc(0x386)](_0x1e6185){var _0x54ed23=_0x50acdc;if(!(this[_0x54ed23(0x1ab)]instanceof exports[_0x54ed23(0x75)]))throw new TypeError(_0x54ed23(0x1fb));const _0x453743=_0x1e6185[_0x54ed23(0x2cc)](_0x74c1bc=>{var _0x57580c=_0x54ed23;const _0x386f00=this[_0x57580c(0x365)][_0x57580c(0x3dd)][_0x57580c(0x2fc)](this[_0x57580c(0x365)][_0x57580c(0x3dd)][_0x57580c(0x2d0)]()[_0x57580c(0x9c)])(_0x74c1bc[_0x57580c(0x1db)],null)||_0x74c1bc[_0x57580c(0x1db)];return{..._0x74c1bc,'mutations':_0x386f00};});this[_0x54ed23(0x1e1)](),this['_updateState'](this['_state'][_0x54ed23(0x244)](_0x453743)),this['_unlockTransition']();}[_0x50acdc(0x1ef)](){var _0x499a84=_0x50acdc;this[_0x499a84(0x1e1)](),this[_0x499a84(0x1cb)](this[_0x499a84(0x1ab)][_0x499a84(0x6e)]()),this[_0x499a84(0x308)]();}[_0x50acdc(0xc6)](_0x1cf278=!0x1){var _0x47bb1a=_0x50acdc;this[_0x47bb1a(0x1e1)](),this[_0x47bb1a(0x1cb)](this[_0x47bb1a(0x1ab)][_0x47bb1a(0x138)]()),this[_0x47bb1a(0x308)]();const _0x4b7e75=this['_state'];_0x1cf278&&_0x4b7e75 instanceof exports[_0x47bb1a(0x389)]&&(this[_0x47bb1a(0x1e1)](),this[_0x47bb1a(0x1cb)](_0x4b7e75['fetchMiss']()),this[_0x47bb1a(0x308)]());}async[_0x50acdc(0x144)](){return new Promise(_0x42aaba=>{var _0x1816fe=_0x5520;this[_0x1816fe(0x301)][_0x1816fe(0x209)][_0x1816fe(0x34b)](H[_0x1816fe(0x3ad)](0x1))['subscribe'](async _0x203a53=>{var _0x4bd75e=_0x1816fe;_0x42aaba(await this[_0x4bd75e(0x236)](_0x203a53===re['ONLINE']));});});}[_0x50acdc(0x1fe)](){const _0x2dcd01=this['unitID'];return{'onStateChange':(_0x25efd5,_0x371d83)=>{var _0x456882=_0x5520;if(_0x25efd5!==this[_0x456882(0x1ab)])throw new Error(_0x456882(0x137)+_0x25efd5[_0x456882(0x28c)]+'\x0aAfter:\x20'+_0x371d83[_0x456882(0x28c)]+_0x456882(0xf6)+this[_0x456882(0x1ab)][_0x456882(0x28c)]);this[_0x456882(0x1cb)](_0x371d83);},'onSendChangeset':_0x5f23f8=>{var _0x35870e=_0x5520;_0x5f23f8[_0x35870e(0x25d)]||(_0x5f23f8[_0x35870e(0x25d)]=this[_0x35870e(0x1e2)],_0x5f23f8[_0x35870e(0xa9)]=++this[_0x35870e(0x31a)]);const _0xabb7d2={'eventID':p[_0x35870e(0x2d7)][_0x35870e(0xc0)],'data':{'unitID':_0x5f23f8[_0x35870e(0xc1)],'unitType':this['_type'],'changeset':_0x5f23f8,'memberID':this[_0x35870e(0x301)][_0x35870e(0x1f5)]()}};this[_0x35870e(0x301)][_0x35870e(0x3eb)](_0xabb7d2,this[_0x35870e(0xc1)]);},'onMissingChangesets':({from:_0x1ee2c5,to:_0x15f325})=>{var _0x3c193e=_0x5520;this[_0x3c193e(0x164)][_0x3c193e(0x286)](_0x3c193e(0x2f2),_0x3c193e(0x233)+_0x1ee2c5+_0x3c193e(0x1e4)+_0x15f325);const _0x41c442={'eventID':p['CollaborationEvent'][_0x3c193e(0x202)],'data':{'unitID':_0x2dcd01,'unitType':this[_0x3c193e(0x80)],'from':_0x1ee2c5,'to':_0x15f325}};this[_0x3c193e(0x301)][_0x3c193e(0x3eb)](_0x41c442,this[_0x3c193e(0xc1)]);}};}async[_0x50acdc(0x236)](_0x4411c4){var _0x4ea3ca=_0x50acdc,_0x105770,_0xd866b0,_0x2dbfa6;const _0x505403=await((_0x105770=this[_0x4ea3ca(0x135)])==null?void 0x0:_0x105770[_0x4ea3ca(0x25e)](this[_0x4ea3ca(0xc1)])),_0xb476f0=(_0xd866b0=_0x505403==null?void 0x0:_0x505403[_0x4ea3ca(0x1db)])!=null?_0xd866b0:[],_0x102d5d=(_0x2dbfa6=_0x505403==null?void 0x0:_0x505403['awaitingChangeset'])!=null?_0x2dbfa6:null,_0x5e3925=!!(_0x102d5d!=null&&_0x102d5d[_0x4ea3ca(0x25d)])&&!!(_0x102d5d!=null&&_0x102d5d[_0x4ea3ca(0xa9)]);this[_0x4ea3ca(0x1e2)]=_0x5e3925?_0x102d5d[_0x4ea3ca(0x25d)]:p[_0x4ea3ca(0x12d)](),this[_0x4ea3ca(0x31a)]=_0x5e3925?_0x102d5d[_0x4ea3ca(0xa9)]:0x0;const _0x80e85b=this[_0x4ea3ca(0xc1)];try{this[_0x4ea3ca(0x2f9)](_0x102d5d,_0xb476f0);}catch(_0x41d11f){this[_0x4ea3ca(0x164)][_0x4ea3ca(0x253)](_0x41d11f);}const _0x29e576=this[_0x4ea3ca(0x1fe)]();if(_0x4411c4){const _0x817bf7=It(this[_0x4ea3ca(0xf3)],_0x80e85b,this[_0x4ea3ca(0x80)],_0x102d5d,_0xb476f0,_0x29e576);return _0x817bf7 instanceof exports['PendingState']?_0x817bf7[_0x4ea3ca(0x18d)]():(_0x817bf7 instanceof exports[_0x4ea3ca(0x29d)]||_0x817bf7 instanceof exports[_0x4ea3ca(0xa7)])&&_0x817bf7[_0x4ea3ca(0x2e5)](),_0x817bf7;}return this[_0x4ea3ca(0xf3)]['createInstance'](exports[_0x4ea3ca(0x210)],_0x80e85b,this[_0x4ea3ca(0x80)],_0x102d5d,_0xb476f0,_0x29e576);}[_0x50acdc(0x2f9)](_0x487abf,_0x534af6){var _0x1b3c89=_0x50acdc,_0x1ac759,_0x28c4df;const _0x22a635=this[_0x1b3c89(0x365)]['interceptor']['fetchThroughInterceptors'](this[_0x1b3c89(0x365)]['interceptor'][_0x1b3c89(0x2d0)]()['COMPRESS_MUTATION_APPLY']);(_0x1ac759=_0x22a635((_0x487abf==null?void 0x0:_0x487abf[_0x1b3c89(0x1db)])||[],null))==null||_0x1ac759['forEach'](_0x3b3db8=>this['_commandService'][_0x1b3c89(0xae)](_0x3b3db8['id'],_0x3b3db8['params'])),(_0x28c4df=_0x22a635(_0x534af6||[],null))==null||_0x28c4df['forEach'](_0x36884d=>this[_0x1b3c89(0x264)][_0x1b3c89(0xae)](_0x36884d['id'],_0x36884d['params']));}},exports['CollaborationEntity']=Be([j(0x3,a[_0x50acdc(0x93)](a['Injector'])),j(0x4,a[_0x50acdc(0x93)](p[_0x50acdc(0x261)])),j(0x5,a['Inject'](a['LocaleService'])),j(0x6,a[_0x50acdc(0x93)](p[_0x50acdc(0x1a8)])),j(0x7,a[_0x50acdc(0x93)](ee)),j(0x8,a[_0x50acdc(0x329)]),j(0x9,a[_0x50acdc(0x8e)]),j(0xa,a[_0x50acdc(0x158)]),j(0xb,a['Optional'](de)),j(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x11b)]),exports[_0x50acdc(0x381)]=class extends exports[_0x50acdc(0x11b)]{constructor(_0x42836b,_0x4000ed,_0x35b149,_0x5ccd92,_0x5b921a,_0x3cb334,_0x349ffe,_0x225499,_0x3795a5,_0xd22cb5,_0x258439,_0x4072a7,_0x49541d){var _0x2ba76f=_0x50acdc;super(_0x42836b,_0x35b149,_0x4000ed,_0x5ccd92,_0x5b921a,_0x3cb334,_0x349ffe,_0x225499,_0x3795a5,_0xd22cb5,_0x258439,_0x4072a7,_0x49541d),A(this,_0x2ba76f(0x207),null),(this[_0x2ba76f(0xc1)]=_0x42836b,this[_0x2ba76f(0x1e9)]=_0x4000ed);}[_0x50acdc(0x3be)](_0x270a70){this['_handlerCallback']=_0x270a70;}[_0x50acdc(0xdd)](){this['_handlerCallback']=null,super['dispose']();}[_0x50acdc(0x1fe)](){var _0x642ef9=_0x50acdc;const _0x56c363=super['_createHandler']();return _0x56c363[_0x642ef9(0x338)]=_0x12572d=>{var _0x25229c=_0x642ef9,_0x578b43,_0x313a4d;return(_0x313a4d=(_0x578b43=this[_0x25229c(0x207)])==null?void 0x0:_0x578b43[_0x25229c(0x338)])==null?void 0x0:_0x313a4d[_0x25229c(0x2ac)](_0x578b43,_0x12572d);},_0x56c363['onTransformState']=_0x50bf4e=>{var _0x590614=_0x642ef9,_0x40cee3,_0x4d240d;return(_0x4d240d=(_0x40cee3=this['_handlerCallback'])==null?void 0x0:_0x40cee3[_0x590614(0x363)])==null?void 0x0:_0x4d240d['call'](_0x40cee3,_0x50bf4e);},_0x56c363['onTransformSelections']=_0x37b585=>{var _0x3eeaee=_0x642ef9,_0x52c302,_0x425145;return(_0x425145=(_0x52c302=this[_0x3eeaee(0x207)])==null?void 0x0:_0x52c302[_0x3eeaee(0x351)])==null?void 0x0:_0x425145['call'](_0x52c302,_0x37b585);},_0x56c363[_0x642ef9(0x1c6)]=_0x43c08e=>{var _0x453dc6=_0x642ef9,_0x59c81d,_0x1d4309;return(_0x1d4309=(_0x59c81d=this['_handlerCallback'])==null?void 0x0:_0x59c81d['onSyncEditingCollabCursor'])==null?void 0x0:_0x1d4309[_0x453dc6(0x2ac)](_0x59c81d,_0x43c08e);},_0x56c363[_0x642ef9(0x387)]=_0x4ee71d=>{var _0x3c5403=_0x642ef9,_0x47a54f,_0x1ef8f8,_0x4489a1;if(!((_0x47a54f=this['_handlerCallback'])!=null&&_0x47a54f['onTransformRemoteChangesetByIMECache']))throw new Error(_0x3c5403(0x3e0));return(_0x4489a1=(_0x1ef8f8=this[_0x3c5403(0x207)])==null?void 0x0:_0x1ef8f8[_0x3c5403(0x387)])==null?void 0x0:_0x4489a1[_0x3c5403(0x2ac)](_0x1ef8f8,_0x4ee71d);},_0x56c363['onTransformRemoteChangesetByStateCache']=_0x49926c=>{var _0x1ae13a=_0x642ef9,_0x1b14e6,_0x150830,_0x24ad73;if(!((_0x1b14e6=this['_handlerCallback'])!=null&&_0x1b14e6[_0x1ae13a(0x369)]))throw new Error(_0x1ae13a(0x179));return(_0x24ad73=(_0x150830=this[_0x1ae13a(0x207)])==null?void 0x0:_0x150830[_0x1ae13a(0x369)])==null?void 0x0:_0x24ad73['call'](_0x150830,_0x49926c);},_0x56c363;}async['_init'](){var _0x1a8fda=_0x50acdc;const _0x574755=await super['_init']();return this['disposeWithMe'](this['_commandService'][_0x1a8fda(0x35a)]((_0x1f8131,_0x251ecc)=>{var _0x6ee7ce=_0x1a8fda;if(_0x1f8131[_0x6ee7ce(0x1e9)]!==a[_0x6ee7ce(0x14b)]['MUTATION']||_0x251ecc!=null&&_0x251ecc[_0x6ee7ce(0x70)]||_0x251ecc!=null&&_0x251ecc[_0x6ee7ce(0xb5)]||_0x1f8131['id']===ct[_0x6ee7ce(0x3a6)]['id'])return;const _0x45b4da=_0x1f8131[_0x6ee7ce(0xbb)];if((_0x45b4da==null?void 0x0:_0x45b4da['unitId'])!==this[_0x6ee7ce(0xc1)])return;const _0x14fa5e=_0x1f8131,_0x14e74d=this[_0x6ee7ce(0x365)][_0x6ee7ce(0x3dd)][_0x6ee7ce(0x2fc)](this[_0x6ee7ce(0x365)][_0x6ee7ce(0x3dd)][_0x6ee7ce(0x2d0)]()[_0x6ee7ce(0x337)])([_0x14fa5e],null)||[_0x14fa5e];this['_onLocalMutation'](_0x14e74d[0x0]);})),_0x574755;}},exports[_0x50acdc(0x381)]=Be([j(0x3,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),j(0x4,a[_0x50acdc(0x93)](p[_0x50acdc(0x261)])),j(0x5,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),j(0x6,a[_0x50acdc(0x93)](p['RevisionService'])),j(0x7,a[_0x50acdc(0x93)](ee)),j(0x8,a[_0x50acdc(0x329)]),j(0x9,a[_0x50acdc(0x8e)]),j(0xa,a[_0x50acdc(0x158)]),j(0xb,a[_0x50acdc(0x21e)](de)),j(0xc,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x381)]),exports[_0x50acdc(0x241)]=class extends exports[_0x50acdc(0x11b)]{constructor(_0x458d2d,_0x116b87,_0x5a18f8,_0x2b7fe0,_0x148d3a,_0x517cba,_0x594a50,_0x1800b0,_0x29396f,_0x57917b,_0x3bb0ba,_0x50cb2a,_0x5bffff,_0x295d2d){var _0x4c9dcc=_0x50acdc;super(_0x458d2d,_0x5a18f8,_0x116b87,_0x2b7fe0,_0x148d3a,_0x517cba,_0x594a50,_0x29396f,_0x57917b,_0x3bb0ba,_0x50cb2a,_0x5bffff,_0x295d2d),this[_0x4c9dcc(0xc1)]=_0x458d2d,this[_0x4c9dcc(0x1e9)]=_0x116b87,this[_0x4c9dcc(0x37a)]=_0x1800b0;}[_0x50acdc(0x1fe)](){var _0x536c3d=_0x50acdc;const _0x240e06=super[_0x536c3d(0x1fe)]();return _0x240e06[_0x536c3d(0x351)]=_0x961791=>this[_0x536c3d(0x37a)][_0x536c3d(0x19d)](_0x961791),_0x240e06;}async[_0x50acdc(0x1c0)](){var _0xb3c701=_0x50acdc;const _0x4cfc13=await super[_0xb3c701(0x1c0)]();return this[_0xb3c701(0x2bc)](this[_0xb3c701(0x264)][_0xb3c701(0x35a)]((_0x17a6ca,_0x34b6ae)=>{var _0x292d28=_0xb3c701;if(_0x17a6ca[_0x292d28(0x1e9)]!==a['CommandType'][_0x292d28(0x234)]||_0x34b6ae!=null&&_0x34b6ae[_0x292d28(0x70)]||_0x34b6ae!=null&&_0x34b6ae[_0x292d28(0xb5)])return;const _0x46bcf6=_0x17a6ca[_0x292d28(0xbb)];if((_0x46bcf6==null?void 0x0:_0x46bcf6[_0x292d28(0x13f)])!==this[_0x292d28(0xc1)])return;const _0x342d4e=_0x17a6ca,_0x1cea6d=this[_0x292d28(0x365)]['interceptor'][_0x292d28(0x2fc)](this['_compressMutationService']['interceptor'][_0x292d28(0x2d0)]()['COMPRESS_MUTATION_SEND'])([_0x342d4e],null)||[_0x342d4e];this[_0x292d28(0x15f)](_0x1cea6d[0x0]);})),_0x4cfc13;}},exports[_0x50acdc(0x241)]=Be([j(0x3,a[_0x50acdc(0x93)](a['Injector'])),j(0x4,a['Inject'](p[_0x50acdc(0x261)])),j(0x5,a[_0x50acdc(0x93)](a[_0x50acdc(0x217)])),j(0x6,a[_0x50acdc(0x93)](p['RevisionService'])),j(0x7,a['Inject'](exports[_0x50acdc(0x26a)])),j(0x8,a[_0x50acdc(0x93)](ee)),j(0x9,a[_0x50acdc(0x329)]),j(0xa,a[_0x50acdc(0x8e)]),j(0xb,a['IPermissionService']),j(0xc,a[_0x50acdc(0x21e)](de)),j(0xd,a['Optional'](K))],exports['SheetCollaborationEntity']);const pt=a[_0x50acdc(0x374)](_0x50acdc(0x183));function mt(_0x546b3e){var _0x2abcd7=_0x50acdc,_0x562b2b,_0x18331b,_0x514f45,_0x1b9e5c,_0x430f08;const _0x2a2291=_0x546b3e[_0x2abcd7(0x33e)],_0x42b604=JSON[_0x2abcd7(0x39d)](_0x2a2291);switch(_0x42b604[_0x2abcd7(0x262)]){case W[_0x2abcd7(0xaf)]:case W['HELLO']:{const _0x387d76=_0x42b604[_0x2abcd7(0x1ff)];return{..._0x42b604,'data':_0x387d76,'cmd':_0x42b604['cmd']};}case W[_0x2abcd7(0x228)]:{const _0x23406d=_0x42b604[_0x2abcd7(0x1f0)];return{..._0x42b604,'data':_0x23406d,'cmd':_0x42b604['cmd']};}case W[_0x2abcd7(0x317)]:{const _0x6532cb=_0x42b604[_0x2abcd7(0x26e)];switch(_0x6532cb['eventID']){case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x312)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x562b2b=_0x6532cb[_0x2abcd7(0xa0)])==null?void 0x0:_0x562b2b['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)]['CHANGESET_ACK']:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x18331b=_0x6532cb['csAckEvent'])==null?void 0x0:_0x18331b['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x220)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x514f45=_0x6532cb[_0x2abcd7(0x298)])==null?void 0x0:_0x514f45['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x6d)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x1b9e5c=_0x6532cb[_0x2abcd7(0x26d)])==null?void 0x0:_0x1b9e5c['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x276)]:return{..._0x42b604,'data':{..._0x6532cb,'data':(_0x430f08=_0x6532cb[_0x2abcd7(0x297)])==null?void 0x0:_0x430f08['cs']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3ce)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['updateCursorEvent']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x3d6)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x3b7)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3d0)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x3ec)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x3c3)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x391)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x25a)]:case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x17e)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x168)]},'cmd':_0x42b604['cmd']};case p['CollaborationEvent']['LIVESHARE_TERMINATE']:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['liveShareNewHost']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent'][_0x2abcd7(0x3ca)]:return{..._0x42b604,'data':_0x6532cb,'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x174)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x295)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x14c)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb[_0x2abcd7(0x388)]},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p['CollaborationEvent']['SHOULD_CLOSE_CONN']:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['shouldCloseConn']},'cmd':_0x42b604[_0x2abcd7(0x262)]};case p[_0x2abcd7(0x2d7)][_0x2abcd7(0x113)]:return{..._0x42b604,'data':{..._0x6532cb,'data':_0x6532cb['uniscriptRunEvent']},'cmd':_0x42b604['cmd']};default:return _0x42b604;}}default:return _0x42b604;}}function gt(_0x16943a){var _0x2180fc=_0x50acdc;switch(_0x16943a[_0x2180fc(0x262)]){case W[_0x2180fc(0xaf)]:case W[_0x2180fc(0x254)]:return JSON['stringify']({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a[_0x2180fc(0x105)]});case W[_0x2180fc(0x208)]:{let _0x46d7e0;switch(_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x12e)]){case p[_0x2180fc(0x2d7)][_0x2180fc(0x3ce)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x3ce)],'updateCursorEvent':_0x16943a['data'][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x3d0)]:{_0x46d7e0={'eventID':p['CollaborationEvent'][_0x2180fc(0x3d0)],'leaveEvent':_0x16943a['data'][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)][_0x2180fc(0x3d6)]:{_0x46d7e0={'eventID':p['CollaborationEvent'][_0x2180fc(0x3d6)],'joinEvent':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x3c3)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)]['LIVESHARE_NEW_HOST'],'liveShareNewHost':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)]['LIVESHARE_OPERATION']:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x17e)],'liveShareOperation':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p['CollaborationEvent'][_0x2180fc(0x12c)]:{_0x46d7e0={'eventID':p['CollaborationEvent']['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x16943a[_0x2180fc(0x33e)]['data']};break;}case p['CollaborationEvent'][_0x2180fc(0x175)]:{_0x46d7e0={'eventID':p[_0x2180fc(0x2d7)][_0x2180fc(0x175)],'liveShareRequestHost':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x33e)]};break;}case p[_0x2180fc(0x2d7)][_0x2180fc(0x25a)]:{_0x46d7e0={'eventID':p['CollaborationEvent']['LIVESHARE_FETCH_OPERATIONS']};break;}default:_0x46d7e0={'eventID':_0x16943a[_0x2180fc(0x33e)][_0x2180fc(0x12e)]};}return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a['cmd'],'routeKey':_0x16943a['routeKey'],'collaMsg':_0x46d7e0});}case W[_0x2180fc(0x228)]:return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a['routeKey'],'joinReq':_0x16943a[_0x2180fc(0x33e)]});case W[_0x2180fc(0x3b2)]:return JSON[_0x2180fc(0x8b)]({'cmd':_0x16943a[_0x2180fc(0x262)],'routeKey':_0x16943a[_0x2180fc(0x105)],'leaveReq':_0x16943a[_0x2180fc(0x33e)]});default:throw new Error(_0x2180fc(0x23c));}}var ri=Object[_0x50acdc(0x1c4)],si=(_0x2f0cec,_0x59fd9d,_0x5ddc4e,_0xd1d6e8)=>{for(var _0x190a2a=_0xd1d6e8>0x1?void 0x0:_0xd1d6e8?ri(_0x59fd9d,_0x5ddc4e):_0x59fd9d,_0x1e5240=_0x2f0cec['length']-0x1,_0x2ff7a1;_0x1e5240>=0x0;_0x1e5240--)(_0x2ff7a1=_0x2f0cec[_0x1e5240])&&(_0x190a2a=_0x2ff7a1(_0x190a2a)||_0x190a2a);return _0x190a2a;},_e=(_0x1d18af,_0x2ddb11)=>(_0x500238,_0x36f10f)=>_0x2ddb11(_0x500238,_0x36f10f,_0x1d18af);const Fe=a[_0x50acdc(0x374)](_0x50acdc(0x1f6));function oi(_0xdad52d,_0x33ed5b,_0x33a4af){var _0x19e08f=_0x50acdc;return _0xdad52d+'/'+_0x33ed5b+_0x19e08f(0xfc)+_0x33a4af+'/new_changes';}exports['CollaborationSocketService']=class extends a['Disposable']{constructor(_0x1df113,_0x3091a0,_0x86833c,_0x2fb306,_0x3bfb25){var _0x1039e5=_0x50acdc;super(),this[_0x1039e5(0xf3)]=_0x1df113,this[_0x1039e5(0xcc)]=_0x3091a0,this[_0x1039e5(0x7f)]=_0x86833c,this['_logService']=_0x2fb306,this['_snapshotServerService']=_0x3bfb25;}[_0x50acdc(0x1c9)](_0x5b9750){var _0x44d3f4=_0x50acdc;const _0x317cf5=this[_0x44d3f4(0xf3)][_0x44d3f4(0x230)](q['ISocketService']);if(!_0x317cf5)throw new Error(_0x44d3f4(0x35e));const _0x2548f1=_0x317cf5[_0x44d3f4(0x9a)](_0x5b9750);if(!_0x2548f1)throw new Error(_0x44d3f4(0x10f));const _0x593421=new a[(_0x44d3f4(0x98))](),_0x8937d2=new H[(_0x44d3f4(0x20c))]();_0x593421['add'](_0x2548f1['close$'][_0x44d3f4(0x393)](_0x579920=>_0x8937d2[_0x44d3f4(0x30b)](_0x579920))),_0x593421['add'](a[_0x44d3f4(0x3e8)](()=>_0x8937d2[_0x44d3f4(0x2ab)]()));const _0x568230=new H['Subject']();_0x593421['add'](_0x2548f1[_0x44d3f4(0x1a3)][_0x44d3f4(0x393)](_0x4b8d18=>_0x568230[_0x44d3f4(0x30b)](_0x4b8d18))),_0x593421[_0x44d3f4(0x10a)](a[_0x44d3f4(0x3e8)](()=>_0x568230['complete']()));const _0x5a1cbf=new H[(_0x44d3f4(0x20c))]();_0x593421[_0x44d3f4(0x10a)](_0x2548f1[_0x44d3f4(0x265)][_0x44d3f4(0x393)](_0x281d75=>{const _0x502199=mt(_0x281d75);_0x5a1cbf['next'](_0x502199);})),_0x593421['add'](a[_0x44d3f4(0x3e8)](()=>_0x5a1cbf[_0x44d3f4(0x2ab)]()));let _0x2a721d;const _0x15664e=()=>{var _0x5edb53=_0x44d3f4;_0x568230[_0x5edb53(0x30b)](new Event(_0x5edb53(0x311))),_0x8937d2[_0x5edb53(0x30b)](new Event(_0x5edb53(0x311))),_0x2a721d[_0x5edb53(0x2b8)]();};return _0x2a721d={'memberID':'','close$':_0x8937d2['asObservable'](),'error$':_0x568230['asObservable'](),'open$':_0x2548f1['open$'],'message$':_0x5a1cbf[_0x44d3f4(0x1c8)](),'send':_0x4020f5=>{var _0x356625=_0x44d3f4;if(_0x4020f5[_0x356625(0x262)]===W[_0x356625(0x208)]){if(_0x4020f5['data'][_0x356625(0x12e)]===p[_0x356625(0x2d7)][_0x356625(0xc0)]){this[_0x356625(0x17f)](_0x2a721d,_0x4020f5[_0x356625(0x33e)])[_0x356625(0x18e)](_0x21006e=>{var _0x28bf32=_0x356625;this[_0x28bf32(0x164)][_0x28bf32(0x253)](_0x21006e),_0x15664e();});return;}if(_0x4020f5[_0x356625(0x33e)][_0x356625(0x12e)]===p[_0x356625(0x2d7)][_0x356625(0x202)]){const _0x183acf=_0x4020f5[_0x356625(0x33e)];this[_0x356625(0x1e5)](_0x183acf)[_0x356625(0x1ba)](_0x446dcc=>{var _0x160e2a=_0x356625;_0x5a1cbf[_0x160e2a(0x30b)]({'cmd':W[_0x160e2a(0x317)],'code':se['OK'],'routeKey':_0x183acf[_0x160e2a(0x33e)][_0x160e2a(0xc1)],'routeType':'','data':{'eventID':p[_0x160e2a(0x2d7)][_0x160e2a(0x258)],'data':{'changesets':_0x446dcc}}});})['catch'](_0xae271c=>{var _0xcd170d=_0x356625;this[_0xcd170d(0x164)][_0xcd170d(0x253)](_0xae271c),_0x15664e();});return;}}_0x2548f1['send'](gt(_0x4020f5));},'close':()=>{var _0x4b012f=_0x44d3f4;_0x2548f1[_0x4b012f(0x2b8)](),_0x593421['dispose']();}},_0x2a721d;}async['_submitChangeset'](_0x2f8325,_0x203a01){var _0x444d94=_0x50acdc,_0x474fc4;const {unitType:_0x322989,unitID:_0x1fab7b,changeset:_0x15bcd9}=_0x203a01[_0x444d94(0x33e)],_0x5304c6={'unitID':_0x1fab7b,'memberID':_0x2f8325[_0x444d94(0xd3)],'type':_0x322989,'changeset':p[_0x444d94(0x162)](_0x15bcd9)},_0x3e1029=this['_configService']['getConfig'](Y),_0x5783a8=oi((_0x474fc4=_0x3e1029==null?void 0x0:_0x3e1029[_0x444d94(0x110)])!=null?_0x474fc4:kt,_0x322989,_0x1fab7b);try{await this[_0x444d94(0xcc)][_0x444d94(0x288)](_0x5783a8,{'body':_0x5304c6});}catch(_0x328ed4){throw this[_0x444d94(0x164)][_0x444d94(0x253)](_0x444d94(0x126),_0x444d94(0xe2)),_0x328ed4;}}async['_fetchMissChangesets'](_0x11d6e8){var _0x58b7ba=_0x50acdc;const {unitID:_0x494ed9,from:_0x552697,to:_0x1fbd4d,unitType:_0xa8fa9a}=_0x11d6e8[_0x58b7ba(0x33e)];return(await this['_snapshotServerService'][_0x58b7ba(0x2ee)]({'metadata':void 0x0},{'unitID':_0x494ed9,'type':_0xa8fa9a,'from':_0x552697,'to':_0x1fbd4d}))['changesets'];}},exports[_0x50acdc(0x15b)]=si([_e(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),_e(0x1,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),_e(0x2,a[_0x50acdc(0xda)]),_e(0x3,a[_0x50acdc(0x329)]),_e(0x4,p[_0x50acdc(0x106)])],exports[_0x50acdc(0x15b)]);var ai=Object[_0x50acdc(0x1c4)],ci=(_0x535257,_0x20ad18,_0x453098,_0x47ed8e)=>{var _0xfa9716=_0x50acdc;for(var _0x4fbae0=_0x47ed8e>0x1?void 0x0:_0x47ed8e?ai(_0x20ad18,_0x453098):_0x20ad18,_0x521428=_0x535257[_0xfa9716(0x31b)]-0x1,_0x552de9;_0x521428>=0x0;_0x521428--)(_0x552de9=_0x535257[_0x521428])&&(_0x4fbae0=_0x552de9(_0x4fbae0)||_0x4fbae0);return _0x4fbae0;},he=(_0x130899,_0x15bd8e)=>(_0x2156d8,_0x28020c)=>_0x15bd8e(_0x2156d8,_0x28020c,_0x130899);exports[_0x50acdc(0x71)]=class extends a[_0x50acdc(0x182)]{constructor(_0x5454f2,_0x348d51,_0x55589d,_0x2b61c6,_0xa59d1e,_0x3e6906){var _0x23f1f4=_0x50acdc;super(),A(this,_0x23f1f4(0x235),new H[(_0x23f1f4(0x1ea))](void 0x0)),A(this,'socket$',this['_socket$'][_0x23f1f4(0x1c8)]()),A(this,'_candidateSocket',null),A(this,_0x23f1f4(0xcf),new Map()),A(this,_0x23f1f4(0x223),new H[(_0x23f1f4(0x1ea))](re[_0x23f1f4(0x2a1)])),A(this,_0x23f1f4(0x36e),this[_0x23f1f4(0x223)]['asObservable']()),A(this,_0x23f1f4(0x23d),!0x1),A(this,_0x23f1f4(0x19e)),A(this,_0x23f1f4(0x20d),0x0),A(this,_0x23f1f4(0x3d3)),A(this,_0x23f1f4(0xa6)),(this['_injector']=_0x5454f2,this[_0x23f1f4(0x164)]=_0x348d51,this[_0x23f1f4(0x7f)]=_0x55589d,this[_0x23f1f4(0x28e)]=_0x2b61c6,this[_0x23f1f4(0x22b)]=_0xa59d1e,this[_0x23f1f4(0x2b7)]=_0x3e6906,this[_0x23f1f4(0xe6)]());}get['_socket'](){var _0x338247=_0x50acdc;return this['_socket$'][_0x338247(0x1df)]();}[_0x50acdc(0xe6)](){var _0x53d88c=_0x50acdc;this[_0x53d88c(0x2b7)]&&this['disposeWithMe'](this[_0x53d88c(0x2b7)]['online$'][_0x53d88c(0x393)](_0x48f4dc=>{var _0x3bc2b3=_0x53d88c;_0x48f4dc&&!this[_0x3bc2b3(0x2d9)]&&this[_0x3bc2b3(0x2d4)](),_0x48f4dc||this['_onOffline']();}));}[_0x50acdc(0xdd)](){var _0x8f82bd=_0x50acdc;super['dispose'](),this[_0x8f82bd(0x1a0)](),this[_0x8f82bd(0xed)](),this[_0x8f82bd(0x2a7)](),this[_0x8f82bd(0xcf)][_0x8f82bd(0x198)](_0x54ac5b=>_0x54ac5b[_0x8f82bd(0xdd)]()),this[_0x8f82bd(0xcf)][_0x8f82bd(0x201)](),this[_0x8f82bd(0x223)][_0x8f82bd(0x2ab)]();}async[_0x50acdc(0x2b6)](_0x10060b){var _0x80f40=_0x50acdc;if(this[_0x80f40(0xcf)][_0x80f40(0x6f)](_0x10060b))return this[_0x80f40(0xcf)][_0x80f40(0x230)](_0x10060b);this[_0x80f40(0x2e8)]();const _0x41ff86=this[_0x80f40(0xf3)][_0x80f40(0x318)](exports['CollaborationSession'],_0x10060b,this[_0x80f40(0x235)]['asObservable']());return this[_0x80f40(0xcf)]['set'](_0x10060b,_0x41ff86),_0x41ff86;}['closeSession'](_0x573f8b){var _0x5ceadd=_0x50acdc,_0x5e72c9;const _0x540693=this[_0x5ceadd(0xcf)]['get'](_0x573f8b);_0x540693&&(this[_0x5ceadd(0xcf)]['delete'](_0x573f8b),_0x540693['close']()),this[_0x5ceadd(0xcf)][_0x5ceadd(0x9d)]||(_0x5e72c9=this[_0x5ceadd(0x2d9)])==null||_0x5e72c9['close']();}[_0x50acdc(0x2d4)](){var _0x59b878=_0x50acdc;this[_0x59b878(0x20d)]=0x0,this['_clearRetryConnectingTimer'](),this['_tryReconnect']();}[_0x50acdc(0x1a0)](){var _0x2e6f59=_0x50acdc;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x2e6f59(0x19e)]),this[_0x2e6f59(0x19e)]=null);}async[_0x50acdc(0x1b6)](){var _0x441543=_0x50acdc,_0xa7c481;const _0x4c59e9=this['_configService'][_0x441543(0x279)](Y),_0x50d174=(_0xa7c481=_0x4c59e9==null?void 0x0:_0x4c59e9[_0x441543(0x3af)])!=null?_0xa7c481:ht,_0x2e5543=await this['_socketService'][_0x441543(0x9a)](_0x50d174);return this['_candidateSocket']=_0x2e5543,_0x2e5543;}async[_0x50acdc(0x2e8)](){var _0x4d021b=_0x50acdc,_0x2339dc,_0xccf5e7;try{const _0x3974cc=(_0xccf5e7=(_0x2339dc=this[_0x4d021b(0x2d9)])!=null?_0x2339dc:this['_candidateSocket'])!=null?_0xccf5e7:await this[_0x4d021b(0x1b6)]();if(_0x3974cc){const _0x16949f=_0x3974cc[_0x4d021b(0x3eb)];_0x3974cc['send']=_0x18ffbc=>(this[_0x4d021b(0x166)](),_0x16949f['apply'](_0x3974cc,[_0x18ffbc])),_0x3974cc[_0x4d021b(0x265)][_0x4d021b(0x393)](_0x4ba1f1=>this['_onMessage'](_0x3974cc,_0x4ba1f1)),_0x3974cc['error$'][_0x4d021b(0x34b)](V['take'](0x1))['subscribe'](_0x585360=>this[_0x4d021b(0x164)]['error']('[CollaborationSessionService]:\x20socket\x20error',_0x585360)),_0x3974cc[_0x4d021b(0x2e1)][_0x4d021b(0x34b)](V[_0x4d021b(0x3ad)](0x1))['subscribe'](()=>{var _0x392985=_0x4d021b;this[_0x392985(0x171)](_0x3974cc);}),_0x3974cc['close$'][_0x4d021b(0x34b)](V[_0x4d021b(0x3ad)](0x1))[_0x4d021b(0x393)](_0x4cafae=>{var _0x330453=_0x4d021b;this[_0x330453(0x164)][_0x330453(0x286)](_0x330453(0x1aa),'socket\x20close',_0x4cafae),this[_0x330453(0x12a)]();});}}catch(_0x290ad7){this['_logService'][_0x4d021b(0x253)](_0x290ad7),this['_onConnectionFailed']();}}[_0x50acdc(0x171)](_0x30eb7c){var _0x41e096=_0x50acdc;this[_0x41e096(0x164)][_0x41e096(0x286)]('[CollaborationSessionService]',_0x41e096(0x14e)),_0x30eb7c[_0x41e096(0x3eb)]({'cmd':W[_0x41e096(0x254)]}),this[_0x41e096(0x166)]();}[_0x50acdc(0x323)](){var _0x328c6e=_0x50acdc;this['_socketReady']=!0x1,this[_0x328c6e(0x232)]=null,this['_status$']['next'](re[_0x328c6e(0x2dc)]),this[_0x328c6e(0x235)][_0x328c6e(0x30b)](null),this[_0x328c6e(0xed)](),this[_0x328c6e(0x2a7)]();}[_0x50acdc(0x12a)](){var _0xdc4a66=_0x50acdc,_0x3d3017;this[_0xdc4a66(0x323)](),this[_0xdc4a66(0x20d)]<((_0x3d3017=this[_0xdc4a66(0x7f)][_0xdc4a66(0x279)](ut))!=null?_0x3d3017:Mt)?(this[_0xdc4a66(0x22b)][_0xdc4a66(0xc2)]({'id':Z[_0xdc4a66(0x1bb)]}),this[_0xdc4a66(0x10d)]()):this['_collaborationUIEventService'][_0xdc4a66(0xc2)]({'id':Z['SOCKET_FAILED']});}[_0x50acdc(0x10d)](){var _0x1fd7e6=_0x50acdc,_0x95921d;const _0x438636=this[_0x1fd7e6(0x20d)],_0x1d9e33=this[_0x1fd7e6(0x7f)][_0x1fd7e6(0x279)](Y),_0x4d7f86=_0x438636===0x0?0x0:((_0x95921d=_0x1d9e33==null?void 0x0:_0x1d9e33[_0x1fd7e6(0x2b1)])!=null?_0x95921d:wt)*0x2**_0x438636;this[_0x1fd7e6(0x19e)]=setTimeout(()=>{var _0x52f5a5=_0x1fd7e6;clearTimeout(this[_0x52f5a5(0x19e)]),this[_0x52f5a5(0x19e)]=null,this[_0x52f5a5(0x2e8)]();},_0x4d7f86),this[_0x1fd7e6(0x20d)]+=0x1;}['_onMessage'](_0x14fa42,_0x21ea03){var _0xf2a658=_0x50acdc;const {cmd:_0x1fd9ba}=_0x21ea03;_0x1fd9ba===W['HELLO']&&!this['_socketReady']&&(_0x14fa42[_0xf2a658(0xd3)]=_0x21ea03[_0xf2a658(0x33e)]['memberID'],this[_0xf2a658(0x235)][_0xf2a658(0x30b)](_0x14fa42),this[_0xf2a658(0x223)][_0xf2a658(0x30b)](re[_0xf2a658(0x246)]),this[_0xf2a658(0x23d)]=!0x0,this['_candidateSocket']=null),_0x1fd9ba===W[_0xf2a658(0xaf)]&&this[_0xf2a658(0xed)](),this[_0xf2a658(0x166)]();}[_0x50acdc(0x166)](){var _0x16bd3a=_0x50acdc,_0x591608;this[_0x16bd3a(0x2a7)](),this[_0x16bd3a(0x3d3)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x591608=this[_0x16bd3a(0x7f)][_0x16bd3a(0x279)](_t))!=null?_0x591608:Pt);}[_0x50acdc(0x22d)](){var _0x49606f=_0x50acdc;this['_socket'][_0x49606f(0x3eb)]({'cmd':W[_0x49606f(0xaf)]}),this[_0x49606f(0x161)]();}[_0x50acdc(0x161)](){var _0x1bdce0=_0x50acdc,_0x355d61;this[_0x1bdce0(0xa6)]=setTimeout(()=>this[_0x1bdce0(0x12a)](),(_0x355d61=this[_0x1bdce0(0x7f)][_0x1bdce0(0x279)](ke))!=null?_0x355d61:lt);}['_clearHeartbeatTimer'](){var _0x3e8b82=_0x50acdc;this[_0x3e8b82(0x3d3)]!=null&&(clearTimeout(this[_0x3e8b82(0x3d3)]),this[_0x3e8b82(0x3d3)]=null);}[_0x50acdc(0xed)](){var _0x2a2383=_0x50acdc;this[_0x2a2383(0xa6)]!=null&&(clearTimeout(this[_0x2a2383(0xa6)]),this[_0x2a2383(0xa6)]=null);}},exports[_0x50acdc(0x71)]=ci([he(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),he(0x1,a['ILogService']),he(0x2,a[_0x50acdc(0xda)]),he(0x3,Fe),he(0x4,a['Inject'](ee)),he(0x5,a['Optional'](pt))],exports['CollaborationSessionService']);var hi=Object['getOwnPropertyDescriptor'],_i=(_0x51f4da,_0x51ae05,_0x2d3e32,_0x5681f1)=>{for(var _0x43bc16=_0x5681f1>0x1?void 0x0:_0x5681f1?hi(_0x51ae05,_0x2d3e32):_0x51ae05,_0x3477ec=_0x51f4da['length']-0x1,_0x510af2;_0x3477ec>=0x0;_0x3477ec--)(_0x510af2=_0x51f4da[_0x3477ec])&&(_0x43bc16=_0x510af2(_0x43bc16)||_0x43bc16);return _0x43bc16;},Se=(_0xcb9104,_0x1a25dc)=>(_0x4029ac,_0x45e1ab)=>_0x1a25dc(_0x4029ac,_0x45e1ab,_0xcb9104);exports[_0x50acdc(0x361)]=class extends a[_0x50acdc(0x1fa)]{constructor(_0x34bd8b,_0x9ea630,_0x135cd4,_0x28952b){var _0x27a0cd=_0x50acdc,_0x249aca;super(),A(this,_0x27a0cd(0x1d6),new Map()),A(this,_0x27a0cd(0x350),new H['Subject']()),A(this,_0x27a0cd(0x22a),this[_0x27a0cd(0x350)][_0x27a0cd(0x1c8)]()),(this[_0x27a0cd(0xf3)]=_0x34bd8b,this[_0x27a0cd(0x32c)]=_0x9ea630,this['_configService']=_0x135cd4,this['_univerInstanceService']=_0x28952b,((_0x249aca=this[_0x27a0cd(0x7f)][_0x27a0cd(0x279)](Y))==null?void 0x0:_0x249aca['enableCollaboration'])!==!0x1&&this[_0x27a0cd(0x1c0)]());}['dispose'](){var _0x1dd3ca=_0x50acdc;super[_0x1dd3ca(0xdd)](),this['_entities']['forEach'](_0xee5345=>_0xee5345[_0x1dd3ca(0xdd)]()),this[_0x1dd3ca(0x1d6)][_0x1dd3ca(0x201)]();}['getCollabEntity'](_0x38916c){var _0x36316d=_0x50acdc,_0x2e82cf;return(_0x2e82cf=this['_entities'][_0x36316d(0x230)](_0x38916c))!=null?_0x2e82cf:null;}['getCollabEntity$'](_0x44abf1){var _0x3a92db=_0x50acdc;const _0x5e524b=this['getCollabEntity'](_0x44abf1);return _0x5e524b?H['of'](_0x5e524b):this['_entityInit$'][_0x3a92db(0x34b)](V[_0x3a92db(0x372)](_0x40e8d3=>_0x40e8d3[_0x3a92db(0xc1)]===_0x44abf1));}[_0x50acdc(0x99)](_0x3feb13){var _0x358ec9=_0x50acdc;return H[_0x358ec9(0x13a)](this[_0x358ec9(0x1b9)](_0x3feb13)['pipe'](V['map'](()=>{})));}['_init'](){var _0x25a39f=_0x50acdc;this[_0x25a39f(0x1d5)][_0x25a39f(0x27e)](a['UniverInstanceType'][_0x25a39f(0x2f3)])[_0x25a39f(0x34b)](H['takeUntil'](this[_0x25a39f(0x1a5)]),V['delay'](0x10))[_0x25a39f(0x393)](async _0x5a3456=>{var _0x2d3cd0=_0x25a39f;const _0x5279d3=_0x5a3456[_0x2d3cd0(0xc5)](),_0x300aee=await this[_0x2d3cd0(0x118)](_0x5279d3,J[_0x2d3cd0(0x2f3)]);this[_0x2d3cd0(0x1d6)][_0x2d3cd0(0x19b)](_0x5279d3,_0x300aee);}),this['_univerInstanceService'][_0x25a39f(0x27e)](a[_0x25a39f(0x2cf)][_0x25a39f(0x1c5)])['pipe'](H[_0x25a39f(0x2bf)](this[_0x25a39f(0x1a5)]),V['delay'](0x10))['pipe'](V['filter'](_0xb984c6=>!_0xb984c6[_0x25a39f(0xc5)]()[_0x25a39f(0x154)]('__')))[_0x25a39f(0x393)](async _0x45df13=>{var _0xd1fd7b=_0x25a39f;const _0x23cf4b=_0x45df13['getUnitId'](),_0x49258d=await this[_0xd1fd7b(0x118)](_0x23cf4b,J[_0xd1fd7b(0x1c5)]);this[_0xd1fd7b(0x1d6)][_0xd1fd7b(0x19b)](_0x23cf4b,_0x49258d);}),H[_0x25a39f(0x27b)](this[_0x25a39f(0x1d5)][_0x25a39f(0x28a)](a[_0x25a39f(0x2cf)]['UNIVER_SHEET']),this[_0x25a39f(0x1d5)][_0x25a39f(0x28a)](a[_0x25a39f(0x2cf)][_0x25a39f(0x1c5)]))[_0x25a39f(0x34b)](H[_0x25a39f(0x2bf)](this[_0x25a39f(0x1a5)]))[_0x25a39f(0x393)](_0x55c35c=>{var _0x4df973=_0x25a39f;const _0x5f0a98=_0x55c35c[_0x4df973(0xc5)](),_0x1ab903=this[_0x4df973(0x1d6)][_0x4df973(0x230)](_0x5f0a98);_0x1ab903&&(_0x1ab903['dispose'](),this[_0x4df973(0x1d6)][_0x4df973(0x38a)](_0x5f0a98));});}async['_startCollaboration'](_0x16b2c4,_0x46fbab){var _0xd66db3=_0x50acdc;const _0x530ad3=await this['_collabSessionService'][_0xd66db3(0x2b6)](_0x16b2c4),_0x238f15=this[_0xd66db3(0xf3)]['createInstance'](this[_0xd66db3(0x240)](_0x46fbab),_0x16b2c4,_0x46fbab,_0x530ad3);return await _0x238f15['init'](),this[_0xd66db3(0x350)]['next'](_0x238f15),_0x238f15;}[_0x50acdc(0x240)](_0x37a14e){var _0xb0a5e1=_0x50acdc;switch(_0x37a14e){case J['UNIVER_DOC']:return exports[_0xb0a5e1(0x381)];case J[_0xb0a5e1(0x2f3)]:return exports[_0xb0a5e1(0x241)];default:throw new Error(_0xb0a5e1(0x3c5)+_0x37a14e);}}},exports[_0x50acdc(0x361)]=_i([Se(0x0,a[_0x50acdc(0x93)](a['Injector'])),Se(0x1,a[_0x50acdc(0x93)](exports[_0x50acdc(0x71)])),Se(0x2,a[_0x50acdc(0xda)]),Se(0x3,a[_0x50acdc(0xa5)])],exports[_0x50acdc(0x361)]);var li=Object[_0x50acdc(0x1c4)],ui=(_0x26caa4,_0x462b2c,_0x478d35,_0x5c973e)=>{var _0x82b480=_0x50acdc;for(var _0x1adc33=_0x5c973e>0x1?void 0x0:_0x5c973e?li(_0x462b2c,_0x478d35):_0x462b2c,_0x115348=_0x26caa4[_0x82b480(0x31b)]-0x1,_0x30e31a;_0x115348>=0x0;_0x115348--)(_0x30e31a=_0x26caa4[_0x115348])&&(_0x1adc33=_0x30e31a(_0x1adc33)||_0x1adc33);return _0x1adc33;},Ye=(_0x1aa5fc,_0x35cb2b)=>(_0x46a8c9,_0x2f07f8)=>_0x35cb2b(_0x46a8c9,_0x2f07f8,_0x1aa5fc);const di=_0x50acdc(0x123),vi=_0x50acdc(0x3ab);let xe=class extends a[_0x50acdc(0x182)]{constructor(_0x3b24fc,_0x4b6d1a){var _0x45cbe8=_0x50acdc;super(),this[_0x45cbe8(0x1d5)]=_0x3b24fc,this[_0x45cbe8(0x7f)]=_0x4b6d1a,this[_0x45cbe8(0x1c0)]();}['_init'](){var _0x467862=_0x50acdc;this['disposeWithMe'](this[_0x467862(0x1d5)][_0x467862(0x2bb)][_0x467862(0x393)](()=>{var _0x23d2e6=_0x467862,_0x2f6d34;const _0xa68e62=this[_0x23d2e6(0x1d5)]['getFocusedUnit']();let _0xe341d2=(_0x2f6d34=this[_0x23d2e6(0x7f)][_0x23d2e6(0x279)](di))!=null?_0x2f6d34:vi;_0xa68e62 instanceof a['Workbook']&&(_0xe341d2=_0xa68e62[_0x23d2e6(0x270)]),document['title']=_0xe341d2;}));}};xe=ui([Ye(0x0,a[_0x50acdc(0xa5)]),Ye(0x1,a[_0x50acdc(0xda)])],xe);var Si=Object[_0x50acdc(0x1c4)],fi=(_0x47e27d,_0x280963,_0x160585,_0xcce681)=>{var _0x36df8e=_0x50acdc;for(var _0x515e8b=_0xcce681>0x1?void 0x0:_0xcce681?Si(_0x280963,_0x160585):_0x280963,_0x52ae29=_0x47e27d[_0x36df8e(0x31b)]-0x1,_0x24c383;_0x52ae29>=0x0;_0x52ae29--)(_0x24c383=_0x47e27d[_0x52ae29])&&(_0x515e8b=_0x24c383(_0x515e8b)||_0x515e8b);return _0x515e8b;},Ae=(_0x53e218,_0x3db14f)=>(_0x3b1451,_0x214fe7)=>_0x3db14f(_0x3b1451,_0x214fe7,_0x53e218);let ye=class{constructor(_0x4cbe88,_0x276638,_0x484556){var _0x207161=_0x50acdc;this[_0x207161(0x7f)]=_0x4cbe88,this['_httpService']=_0x276638,this[_0x207161(0x151)]=_0x484556,this[_0x207161(0x132)]();}['init'](){var _0x23bf2c=_0x50acdc;this['_httpService'][_0x23bf2c(0x377)]({'priority':0x1,'interceptor':(_0x257da7,_0x75f384)=>_0x75f384(_0x257da7)[_0x23bf2c(0x34b)](H[_0x23bf2c(0x3da)](async _0x552fb1=>{var _0x39a63f=_0x23bf2c;const _0x356d96=_0x552fb1;if(_0x356d96[_0x39a63f(0x28c)]===0x191){if(typeof window>'u')throw new Error(_0x39a63f(0x133));if(window[_0x39a63f(0x111)](this[_0x39a63f(0x151)]['t'](_0x39a63f(0x25c)))){const _0x28b27a=window[_0x39a63f(0x385)](window[_0x39a63f(0x119)][_0x39a63f(0xbe)]);window['location'][_0x39a63f(0xbe)]=this['_getLoginPath']()+_0x39a63f(0x249)+_0x28b27a;}}return _0x356d96;}))});}[_0x50acdc(0x184)](){var _0x26057f=_0x50acdc,_0x2df9e0;const _0x434723=this[_0x26057f(0x7f)][_0x26057f(0x279)](Y);return(_0x2df9e0=_0x434723==null?void 0x0:_0x434723[_0x26057f(0x30c)])!=null?_0x2df9e0:$t;}};ye=fi([Ae(0x0,a[_0x50acdc(0xda)]),Ae(0x1,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),Ae(0x2,a['Inject'](a[_0x50acdc(0x217)]))],ye);var Ii=Object['getOwnPropertyDescriptor'],pi=(_0x3822a8,_0x372c84,_0x433070,_0x5e49aa)=>{var _0x24d858=_0x50acdc;for(var _0x5ab3d2=_0x5e49aa>0x1?void 0x0:_0x5e49aa?Ii(_0x372c84,_0x433070):_0x372c84,_0x296758=_0x3822a8[_0x24d858(0x31b)]-0x1,_0x330e5b;_0x296758>=0x0;_0x296758--)(_0x330e5b=_0x3822a8[_0x296758])&&(_0x5ab3d2=_0x330e5b(_0x5ab3d2)||_0x5ab3d2);return _0x5ab3d2;},qe=(_0x1cc5e1,_0x518b5f)=>(_0x1c5933,_0x119548)=>_0x518b5f(_0x1c5933,_0x119548,_0x1cc5e1);const mi=_0x50acdc(0x97);exports[_0x50acdc(0x225)]=class extends a['Disposable']{constructor(_0x563956,_0x21a703){var _0x5ffedf=_0x50acdc;super(),this['_HTTPService']=_0x563956,this[_0x5ffedf(0x7f)]=_0x21a703,this[_0x5ffedf(0xa4)]();}[_0x50acdc(0xa4)](){var _0x431c22=_0x50acdc;const _0x114ccc=this;this[_0x431c22(0x2bc)](this[_0x431c22(0x35c)][_0x431c22(0x377)]({'priority':0x3e7,'interceptor':q[_0x431c22(0xd2)]({'isMatch'(_0x3b3789){var _0x514f2d=_0x431c22,_0x2bc51a;if(_0x3b3789[_0x514f2d(0xe5)]===_0x514f2d(0x3d1)&&((_0x2bc51a=_0x3b3789[_0x514f2d(0x169)])!=null&&_0x2bc51a[_0x514f2d(0x3cb)])){const {objectID:_0x37629c,objectType:_0x2ecee9}=_0x3b3789[_0x514f2d(0x169)][_0x514f2d(0x3cb)]||{};if(!_0x37629c||_0x2ecee9===void 0x0)return!0x1;const _0x4f6b57=_0x114ccc[_0x514f2d(0x117)]()+'/'+_0x2ecee9+_0x514f2d(0x21b)+_0x37629c+_0x514f2d(0xd7);if(_0x3b3789['url']===_0x4f6b57)return!0x0;}return!0x1;},'getParamsFromRequest'(_0x3d94b9){var _0x4980ea=_0x431c22,_0x16d8a5;return(_0x16d8a5=_0x3d94b9[_0x4980ea(0x169)])==null?void 0x0:_0x16d8a5[_0x4980ea(0x3cb)];},'mergeParamsToRequest'(_0x2be0d4,_0x161aad){var _0x14920c=_0x431c22;const _0xb84eb3=_0x114ccc[_0x14920c(0x117)]()+_0x14920c(0x3dc),_0x3658dd=_0x2be0d4[_0x14920c(0x282)]((_0x33b80b,_0x544762)=>{var _0x47a055=_0x14920c;const {unitID:_0x28c807,objectID:_0x40650f,objectType:_0x55e37d,actions:_0x52a811}=_0x544762;return _0x33b80b[_0x28c807]||(_0x33b80b[_0x28c807]={}),_0x33b80b[_0x28c807][_0x40650f]||(_0x33b80b[_0x28c807][_0x40650f]={'objectID':_0x40650f,'objectType':_0x55e37d,'actions':[]}),_0x33b80b[_0x28c807][_0x40650f][_0x47a055(0x2a0)][_0x47a055(0x3a3)](..._0x52a811),_0x33b80b;},{}),_0x30d200=[];for(const _0x179896 in _0x3658dd)for(const _0x96d4ec in _0x3658dd[_0x179896]){const {actions:_0x4ff8bf,objectType:_0xdc018b}=_0x3658dd[_0x179896][_0x96d4ec],_0x55b272=[...new Set(_0x4ff8bf)];_0x30d200[_0x14920c(0x3a3)]({'unitID':_0x179896,'objectID':_0x96d4ec,'objectType':_0xdc018b,'actions':_0x55b272});}return new q['HTTPRequest'](_0x14920c(0x3d1),_0xb84eb3,{'headers':_0x161aad[_0x14920c(0x10b)],'withCredentials':_0x161aad[_0x14920c(0x396)],'responseType':_0x161aad[_0x14920c(0x194)],'body':{'requests':_0x30d200}});}},{'distributeResult'(_0x27483c,_0x1c311b){var _0x364223=_0x431c22;const {objectActions:_0x7cdb6b}=_0x27483c;return _0x1c311b[_0x364223(0x2cc)](_0x1cd7c9=>{var _0x14eb4c=_0x364223;const {unitID:_0x1c7ac9,objectID:_0x55e2f2,actions:_0x163094}=_0x1cd7c9,_0x5b8806=_0x7cdb6b[_0x14eb4c(0x375)](_0x255d81=>_0x255d81['unitID']===_0x1c7ac9&&_0x255d81[_0x14eb4c(0x11e)]===_0x55e2f2),_0x33581c=_0x163094[_0x14eb4c(0x2cc)](_0x243e91=>_0x5b8806==null?void 0x0:_0x5b8806['actions'][_0x14eb4c(0x375)](_0x275525=>_0x275525['action']===_0x243e91))[_0x14eb4c(0x372)](_0x464dbd=>!!_0x464dbd);return{'config':_0x1cd7c9,'result':{'actions':_0x33581c,'error':_0x27483c['error']}};});}})}));}[_0x50acdc(0x117)](){var _0x4c218f=_0x50acdc,_0x1c7e3c;const _0x4af2cd=this[_0x4c218f(0x7f)][_0x4c218f(0x279)](Y);return(_0x1c7e3c=_0x4af2cd==null?void 0x0:_0x4af2cd[_0x4c218f(0x399)])!=null?_0x1c7e3c:mi;}async['create'](_0xc2cbc5){var _0x3a4aea=_0x50acdc;const _0x2e3f4f=this['_getAPIPrefixPath']()+'/'+_0xc2cbc5['objectType']+_0x3a4aea(0x2e3);return(await this[_0x3a4aea(0x35c)][_0x3a4aea(0x288)](_0x2e3f4f,{'body':_0xc2cbc5}))[_0x3a4aea(0x3cb)][_0x3a4aea(0x11e)]||'';}async[_0x50acdc(0x31e)](_0x1006b1){var _0x32f05f=_0x50acdc;const _0x33dec6=this[_0x32f05f(0x117)]()+_0x32f05f(0x34e);return(await this[_0x32f05f(0x35c)]['post'](_0x33dec6,{'body':_0x1006b1}))['body'][_0x32f05f(0x109)];}async[_0x50acdc(0xc4)](_0x354163){var _0x47e7e4=_0x50acdc,_0x20a58d,_0x1a1bbb;const _0x1e70b4=this[_0x47e7e4(0x117)]()+'/'+_0x354163['objectType']+_0x47e7e4(0x21b)+_0x354163[_0x47e7e4(0x11e)],_0x27b09e=await this[_0x47e7e4(0x35c)]['put'](_0x1e70b4,{'body':_0x354163});if(((_0x1a1bbb=(_0x20a58d=_0x27b09e==null?void 0x0:_0x27b09e['body'])==null?void 0x0:_0x20a58d[_0x47e7e4(0x253)])==null?void 0x0:_0x1a1bbb[_0x47e7e4(0x156)])!==0x1)throw new Error(_0x47e7e4(0xde));}async[_0x50acdc(0x274)](_0x2a174b){var _0x204a25=_0x50acdc;const _0x54e54c=this[_0x204a25(0x117)]()+'/'+_0x2a174b[_0x204a25(0xf2)]+_0x204a25(0x21b)+_0x2a174b[_0x204a25(0x11e)]+_0x204a25(0xd7);return(await this[_0x204a25(0x35c)]['post'](_0x54e54c,{'body':_0x2a174b}))[_0x204a25(0x3cb)][_0x204a25(0x2a0)];}async[_0x50acdc(0x33b)](_0x36791a){var _0x7a66a3=_0x50acdc;const _0x4ed5d2=this[_0x7a66a3(0x117)]()+_0x7a66a3(0x3dc);return(await this[_0x7a66a3(0x35c)][_0x7a66a3(0x288)](_0x4ed5d2,{'body':{'requests':_0x36791a}}))[_0x7a66a3(0x3cb)][_0x7a66a3(0x1be)];}async['listRoles'](_0x167b0f){var _0x4763fe=_0x50acdc;const _0x3ea2af=this[_0x4763fe(0x117)]()+'/'+_0x167b0f[_0x4763fe(0xf2)]+_0x4763fe(0x2f8),_0x15d1f1=await this[_0x4763fe(0x35c)]['post'](_0x3ea2af,{'body':_0x167b0f});return{'roles':_0x15d1f1['body'][_0x4763fe(0x1a2)],'actions':_0x15d1f1[_0x4763fe(0x3cb)][_0x4763fe(0x2a0)]};}async[_0x50acdc(0x2a6)](_0x468b00){var _0x189a15=_0x50acdc;const _0x492580=this[_0x189a15(0x117)]()+'/collaborator';await this[_0x189a15(0x35c)][_0x189a15(0x38a)](_0x492580,{'params':{'collaboratorID':_0x468b00[_0x189a15(0x383)],'objectID':_0x468b00[_0x189a15(0x11e)],'unitID':_0x468b00['unitID']}});}async[_0x50acdc(0x3a7)](_0x85cefb){var _0x1d79e9=_0x50acdc;const _0x2299ab=this[_0x1d79e9(0x117)]()+_0x1d79e9(0x332);await this['_HTTPService'][_0x1d79e9(0xb9)](_0x2299ab,{'body':_0x85cefb});}async['createCollaborator'](_0x58eb87){var _0xce0a39=_0x50acdc;const _0x520363=this[_0xce0a39(0x117)]()+_0xce0a39(0x332);await this[_0xce0a39(0x35c)][_0xce0a39(0x288)](_0x520363,{'body':_0x58eb87});}async[_0x50acdc(0x1e6)](_0x2f8954){var _0x5b129c=_0x50acdc;const _0x50a364=this[_0x5b129c(0x117)]()+'/collaborator';return(await this[_0x5b129c(0x35c)][_0x5b129c(0x230)](_0x50a364,{'params':{'objectID':_0x2f8954[_0x5b129c(0x11e)],'unitID':_0x2f8954['unitID']}}))['body'][_0x5b129c(0xb1)];}async['putCollaborators'](_0x4f3641){var _0x350ebb=_0x50acdc;const _0x3fbce6=this[_0x350ebb(0x117)]()+_0x350ebb(0x332);await this[_0x350ebb(0x35c)][_0x350ebb(0x3e2)](_0x3fbce6,{'body':_0x4f3641});}},exports[_0x50acdc(0x225)]=pi([qe(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),qe(0x1,a[_0x50acdc(0x93)](a['IConfigService']))],exports[_0x50acdc(0x225)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x4953f3){var _0x151876=_0x50acdc;return _0x4953f3&&_0x4953f3[_0x151876(0x1c3)]&&Object['prototype'][_0x151876(0xaa)][_0x151876(0x2ac)](_0x4953f3,_0x151876(0x346))?_0x4953f3[_0x151876(0x346)]:_0x4953f3;}var fe={'exports':{}};function gi(_0x4d2a0a){var _0x308248=_0x50acdc;throw new Error(_0x308248(0x1a7)+_0x4d2a0a+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie[_0x50acdc(0x211)],Ke;function Q(){var _0x508267=_0x50acdc;return Ke||(Ke=0x1,function(_0x320101,_0xa6d1e0){(function(_0x5d5518,_0x15db22){var _0x36a09c=_0x5520;_0x320101[_0x36a09c(0x211)]=_0x15db22();}(Ei,function(){var _0x291778=_0x291778||function(_0x5347bd,_0x11c402){var _0x184894=_0x5520,_0x1ebb8a;if(typeof window<'u'&&window[_0x184894(0x2e0)]&&(_0x1ebb8a=window[_0x184894(0x2e0)]),typeof self<'u'&&self[_0x184894(0x2e0)]&&(_0x1ebb8a=self[_0x184894(0x2e0)]),typeof globalThis<'u'&&globalThis[_0x184894(0x2e0)]&&(_0x1ebb8a=globalThis[_0x184894(0x2e0)]),!_0x1ebb8a&&typeof window<'u'&&window[_0x184894(0x181)]&&(_0x1ebb8a=window[_0x184894(0x181)]),!_0x1ebb8a&&typeof Pe<'u'&&Pe[_0x184894(0x2e0)]&&(_0x1ebb8a=Pe[_0x184894(0x2e0)]),!_0x1ebb8a&&typeof gi==_0x184894(0x2e9))try{_0x1ebb8a=require('crypto');}catch{}var _0x7aa999=function(){var _0x474400=_0x184894;if(_0x1ebb8a){if(typeof _0x1ebb8a['getRandomValues']==_0x474400(0x2e9))try{return _0x1ebb8a[_0x474400(0xd1)](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x1ebb8a[_0x474400(0x2ce)]==_0x474400(0x2e9))try{return _0x1ebb8a[_0x474400(0x2ce)](0x4)['readInt32LE']();}catch{}}throw new Error(_0x474400(0x192));},_0x56642a=Object['create']||(function(){function _0x46840f(){}return function(_0x24b179){var _0x2e90f1=_0x5520,_0x37ee28;return _0x46840f[_0x2e90f1(0x2a3)]=_0x24b179,_0x37ee28=new _0x46840f(),_0x46840f[_0x2e90f1(0x2a3)]=null,_0x37ee28;};}()),_0x3671c3={},_0x3f8948=_0x3671c3[_0x184894(0x101)]={},_0xf9680=_0x3f8948['Base']=(function(){return{'extend':function(_0x2c6184){var _0x418436=_0x5520,_0x123df5=_0x56642a(this);return _0x2c6184&&_0x123df5['mixIn'](_0x2c6184),(!_0x123df5[_0x418436(0xaa)](_0x418436(0x132))||this[_0x418436(0x132)]===_0x123df5[_0x418436(0x132)])&&(_0x123df5[_0x418436(0x132)]=function(){var _0x546a1f=_0x418436;_0x123df5[_0x546a1f(0x3d2)]['init'][_0x546a1f(0x303)](this,arguments);}),_0x123df5[_0x418436(0x132)][_0x418436(0x2a3)]=_0x123df5,_0x123df5[_0x418436(0x3d2)]=this,_0x123df5;},'create':function(){var _0x406d0a=_0x5520,_0x108c85=this['extend']();return _0x108c85[_0x406d0a(0x132)][_0x406d0a(0x303)](_0x108c85,arguments),_0x108c85;},'init':function(){},'mixIn':function(_0x2d7555){var _0x313f31=_0x5520;for(var _0x323f3d in _0x2d7555)_0x2d7555[_0x313f31(0xaa)](_0x323f3d)&&(this[_0x323f3d]=_0x2d7555[_0x323f3d]);_0x2d7555['hasOwnProperty']('toString')&&(this['toString']=_0x2d7555[_0x313f31(0x147)]);},'clone':function(){var _0x14bd0=_0x5520;return this[_0x14bd0(0x132)][_0x14bd0(0x2a3)][_0x14bd0(0x334)](this);}};}()),_0x36e8df=_0x3f8948[_0x184894(0x2b5)]=_0xf9680[_0x184894(0x334)]({'init':function(_0x46172b,_0x201042){var _0x1191e7=_0x184894;_0x46172b=this['words']=_0x46172b||[],_0x201042!=_0x11c402?this['sigBytes']=_0x201042:this[_0x1191e7(0x13e)]=_0x46172b[_0x1191e7(0x31b)]*0x4;},'toString':function(_0x5446ab){var _0x400376=_0x184894;return(_0x5446ab||_0x4711ce)[_0x400376(0x8b)](this);},'concat':function(_0x421c4c){var _0x3696cb=_0x184894,_0x5b9dc1=this[_0x3696cb(0xe4)],_0x49167f=_0x421c4c[_0x3696cb(0xe4)],_0x2ab141=this[_0x3696cb(0x13e)],_0x47a886=_0x421c4c['sigBytes'];if(this[_0x3696cb(0x3bb)](),_0x2ab141%0x4)for(var _0x5626f8=0x0;_0x5626f8<_0x47a886;_0x5626f8++){var _0x26141d=_0x49167f[_0x5626f8>>>0x2]>>>0x18-_0x5626f8%0x4*0x8&0xff;_0x5b9dc1[_0x2ab141+_0x5626f8>>>0x2]|=_0x26141d<<0x18-(_0x2ab141+_0x5626f8)%0x4*0x8;}else{for(var _0x51b609=0x0;_0x51b609<_0x47a886;_0x51b609+=0x4)_0x5b9dc1[_0x2ab141+_0x51b609>>>0x2]=_0x49167f[_0x51b609>>>0x2];}return this[_0x3696cb(0x13e)]+=_0x47a886,this;},'clamp':function(){var _0x2f1edc=_0x184894,_0x454bd7=this['words'],_0x526506=this[_0x2f1edc(0x13e)];_0x454bd7[_0x526506>>>0x2]&=0xffffffff<<0x20-_0x526506%0x4*0x8,_0x454bd7['length']=_0x5347bd[_0x2f1edc(0x177)](_0x526506/0x4);},'clone':function(){var _0x483b17=_0x184894,_0x34ba8a=_0xf9680[_0x483b17(0x128)]['call'](this);return _0x34ba8a[_0x483b17(0xe4)]=this[_0x483b17(0xe4)][_0x483b17(0x2ef)](0x0),_0x34ba8a;},'random':function(_0x1a0ae1){var _0x1cd7ed=_0x184894;for(var _0xe7ae2d=[],_0x20f019=0x0;_0x20f019<_0x1a0ae1;_0x20f019+=0x4)_0xe7ae2d[_0x1cd7ed(0x3a3)](_0x7aa999());return new _0x36e8df[(_0x1cd7ed(0x132))](_0xe7ae2d,_0x1a0ae1);}}),_0x31beb4=_0x3671c3['enc']={},_0x4711ce=_0x31beb4[_0x184894(0x78)]={'stringify':function(_0x29a365){var _0x198f91=_0x184894;for(var _0x5242b7=_0x29a365[_0x198f91(0xe4)],_0xec4a79=_0x29a365[_0x198f91(0x13e)],_0x13e36f=[],_0x54c45e=0x0;_0x54c45e<_0xec4a79;_0x54c45e++){var _0x6a78c1=_0x5242b7[_0x54c45e>>>0x2]>>>0x18-_0x54c45e%0x4*0x8&0xff;_0x13e36f[_0x198f91(0x3a3)]((_0x6a78c1>>>0x4)[_0x198f91(0x147)](0x10)),_0x13e36f['push']((_0x6a78c1&0xf)['toString'](0x10));}return _0x13e36f['join']('');},'parse':function(_0x1b054c){var _0x14cb80=_0x184894;for(var _0x21887a=_0x1b054c[_0x14cb80(0x31b)],_0x59fd4e=[],_0x484a66=0x0;_0x484a66<_0x21887a;_0x484a66+=0x2)_0x59fd4e[_0x484a66>>>0x3]|=parseInt(_0x1b054c['substr'](_0x484a66,0x2),0x10)<<0x18-_0x484a66%0x8*0x4;return new _0x36e8df[(_0x14cb80(0x132))](_0x59fd4e,_0x21887a/0x2);}},_0x6bf21e=_0x31beb4[_0x184894(0x378)]={'stringify':function(_0x3deb96){var _0xb204=_0x184894;for(var _0x5c043c=_0x3deb96[_0xb204(0xe4)],_0x146dcf=_0x3deb96['sigBytes'],_0x3736e5=[],_0x59f582=0x0;_0x59f582<_0x146dcf;_0x59f582++){var _0x43e8b2=_0x5c043c[_0x59f582>>>0x2]>>>0x18-_0x59f582%0x4*0x8&0xff;_0x3736e5[_0xb204(0x3a3)](String['fromCharCode'](_0x43e8b2));}return _0x3736e5[_0xb204(0x1ee)]('');},'parse':function(_0x3aaf2b){var _0x563f97=_0x184894;for(var _0x347ab7=_0x3aaf2b[_0x563f97(0x31b)],_0x4683fd=[],_0xd46b9d=0x0;_0xd46b9d<_0x347ab7;_0xd46b9d++)_0x4683fd[_0xd46b9d>>>0x2]|=(_0x3aaf2b[_0x563f97(0x94)](_0xd46b9d)&0xff)<<0x18-_0xd46b9d%0x4*0x8;return new _0x36e8df[(_0x563f97(0x132))](_0x4683fd,_0x347ab7);}},_0xde5fc9=_0x31beb4[_0x184894(0x30d)]={'stringify':function(_0x223f7e){var _0x5bc90f=_0x184894;try{return decodeURIComponent(escape(_0x6bf21e[_0x5bc90f(0x8b)](_0x223f7e)));}catch{throw new Error('Malformed\x20UTF-8\x20data');}},'parse':function(_0x40b757){return _0x6bf21e['parse'](unescape(encodeURIComponent(_0x40b757)));}},_0x3ea407=_0x3f8948[_0x184894(0x305)]=_0xf9680[_0x184894(0x334)]({'reset':function(){var _0x5eb5ef=_0x184894;this[_0x5eb5ef(0x1f9)]=new _0x36e8df[(_0x5eb5ef(0x132))](),this[_0x5eb5ef(0xea)]=0x0;},'_append':function(_0x5e2451){var _0x5ae214=_0x184894;typeof _0x5e2451==_0x5ae214(0x102)&&(_0x5e2451=_0xde5fc9[_0x5ae214(0x39d)](_0x5e2451)),this[_0x5ae214(0x1f9)]['concat'](_0x5e2451),this[_0x5ae214(0xea)]+=_0x5e2451['sigBytes'];},'_process':function(_0x384a2b){var _0x1643d0=_0x184894,_0x1520ea,_0x2c963c=this[_0x1643d0(0x1f9)],_0x190825=_0x2c963c[_0x1643d0(0xe4)],_0x2af466=_0x2c963c[_0x1643d0(0x13e)],_0x27042e=this[_0x1643d0(0x127)],_0x46e482=_0x27042e*0x4,_0x37b21e=_0x2af466/_0x46e482;_0x384a2b?_0x37b21e=_0x5347bd[_0x1643d0(0x177)](_0x37b21e):_0x37b21e=_0x5347bd[_0x1643d0(0x340)]((_0x37b21e|0x0)-this[_0x1643d0(0x256)],0x0);var _0x1b3625=_0x37b21e*_0x27042e,_0x525bbf=_0x5347bd[_0x1643d0(0xbd)](_0x1b3625*0x4,_0x2af466);if(_0x1b3625){for(var _0x5d3659=0x0;_0x5d3659<_0x1b3625;_0x5d3659+=_0x27042e)this[_0x1643d0(0xfd)](_0x190825,_0x5d3659);_0x1520ea=_0x190825['splice'](0x0,_0x1b3625),_0x2c963c[_0x1643d0(0x13e)]-=_0x525bbf;}return new _0x36e8df['init'](_0x1520ea,_0x525bbf);},'clone':function(){var _0x3e562f=_0x184894,_0x3bd246=_0xf9680[_0x3e562f(0x128)][_0x3e562f(0x2ac)](this);return _0x3bd246[_0x3e562f(0x1f9)]=this[_0x3e562f(0x1f9)]['clone'](),_0x3bd246;},'_minBufferSize':0x0});_0x3f8948['Hasher']=_0x3ea407[_0x184894(0x334)]({'cfg':_0xf9680[_0x184894(0x334)](),'init':function(_0x59da7a){var _0x5b001d=_0x184894;this[_0x5b001d(0x8a)]=this['cfg'][_0x5b001d(0x334)](_0x59da7a),this[_0x5b001d(0x29e)]();},'reset':function(){var _0x8fc1a1=_0x184894;_0x3ea407['reset'][_0x8fc1a1(0x2ac)](this),this[_0x8fc1a1(0x31d)]();},'update':function(_0x155736){var _0x47c8c4=_0x184894;return this['_append'](_0x155736),this[_0x47c8c4(0x146)](),this;},'finalize':function(_0x1a0536){var _0x1dd05b=_0x184894;_0x1a0536&&this['_append'](_0x1a0536);var _0x4bc8af=this[_0x1dd05b(0x2fd)]();return _0x4bc8af;},'blockSize':0x10,'_createHelper':function(_0x2cd7c9){return function(_0x17e206,_0x5b9496){var _0x55264d=_0x5520;return new _0x2cd7c9[(_0x55264d(0x132))](_0x5b9496)[_0x55264d(0x314)](_0x17e206);};},'_createHmacHelper':function(_0x2ca898){return function(_0x597f8e,_0x49ac58){var _0x592985=_0x5520;return new _0x56a8a3['HMAC'][(_0x592985(0x132))](_0x2ca898,_0x49ac58)[_0x592985(0x314)](_0x597f8e);};}});var _0x56a8a3=_0x3671c3['algo']={};return _0x3671c3;}(Math);return _0x291778;}));}(Ie)),Ie[_0x508267(0x211)];}function _0x5520(_0xe4167e,_0x5a2855){var _0x3a8553=_0x3a85();return _0x5520=function(_0x552005,_0x385563){_0x552005=_0x552005-0x6c;var _0x5df63e=_0x3a8553[_0x552005];return _0x5df63e;},_0x5520(_0xe4167e,_0x5a2855);}var pe={'exports':{}},Ci=pe[_0x50acdc(0x211)],ze;function Et(){var _0x598f35=_0x50acdc;return ze||(ze=0x1,function(_0x3b79a6,_0x5261ab){(function(_0x21cca1,_0x58fd34){var _0x482402=_0x5520;_0x3b79a6[_0x482402(0x211)]=_0x58fd34(Q());}(Ci,function(_0x5b72f3){var _0x28ef6b=_0x5520;return(function(){var _0x20c26e=_0x5520,_0x3556e8=_0x5b72f3,_0x43bb63=_0x3556e8[_0x20c26e(0x101)],_0x3eb882=_0x43bb63[_0x20c26e(0x2b5)],_0x4289ab=_0x3556e8[_0x20c26e(0x29a)];_0x4289ab[_0x20c26e(0x215)]={'stringify':function(_0x27d751){var _0x239fe=_0x20c26e,_0x571f8f=_0x27d751['words'],_0x59011=_0x27d751['sigBytes'],_0x479a78=this['_map'];_0x27d751['clamp']();for(var _0x6a1ca=[],_0x2b8d7e=0x0;_0x2b8d7e<_0x59011;_0x2b8d7e+=0x3)for(var _0xe4c244=_0x571f8f[_0x2b8d7e>>>0x2]>>>0x18-_0x2b8d7e%0x4*0x8&0xff,_0x38820d=_0x571f8f[_0x2b8d7e+0x1>>>0x2]>>>0x18-(_0x2b8d7e+0x1)%0x4*0x8&0xff,_0x2923d6=_0x571f8f[_0x2b8d7e+0x2>>>0x2]>>>0x18-(_0x2b8d7e+0x2)%0x4*0x8&0xff,_0x1af171=_0xe4c244<<0x10|_0x38820d<<0x8|_0x2923d6,_0x11baf9=0x0;_0x11baf9<0x4&&_0x2b8d7e+_0x11baf9*0.75<_0x59011;_0x11baf9++)_0x6a1ca[_0x239fe(0x3a3)](_0x479a78[_0x239fe(0x322)](_0x1af171>>>0x6*(0x3-_0x11baf9)&0x3f));var _0x31e498=_0x479a78['charAt'](0x40);if(_0x31e498){for(;_0x6a1ca[_0x239fe(0x31b)]%0x4;)_0x6a1ca[_0x239fe(0x3a3)](_0x31e498);}return _0x6a1ca['join']('');},'parse':function(_0x5c9e55){var _0x1c4436=_0x20c26e,_0x11b04f=_0x5c9e55[_0x1c4436(0x31b)],_0x65d636=this[_0x1c4436(0x327)],_0x4cfc25=this[_0x1c4436(0xb6)];if(!_0x4cfc25){_0x4cfc25=this['_reverseMap']=[];for(var _0x3fad67=0x0;_0x3fad67<_0x65d636['length'];_0x3fad67++)_0x4cfc25[_0x65d636['charCodeAt'](_0x3fad67)]=_0x3fad67;}var _0x4e3831=_0x65d636[_0x1c4436(0x322)](0x40);if(_0x4e3831){var _0x426673=_0x5c9e55['indexOf'](_0x4e3831);_0x426673!==-0x1&&(_0x11b04f=_0x426673);}return _0x4c657(_0x5c9e55,_0x11b04f,_0x4cfc25);},'_map':'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/='};function _0x4c657(_0x523e09,_0x130596,_0x2de40c){var _0x36d088=_0x20c26e;for(var _0x35bfaa=[],_0x3bb2b0=0x0,_0x2ed47b=0x0;_0x2ed47b<_0x130596;_0x2ed47b++)if(_0x2ed47b%0x4){var _0x171770=_0x2de40c[_0x523e09[_0x36d088(0x94)](_0x2ed47b-0x1)]<<_0x2ed47b%0x4*0x2,_0x548f2c=_0x2de40c[_0x523e09[_0x36d088(0x94)](_0x2ed47b)]>>>0x6-_0x2ed47b%0x4*0x2,_0x199414=_0x171770|_0x548f2c;_0x35bfaa[_0x3bb2b0>>>0x2]|=_0x199414<<0x18-_0x3bb2b0%0x4*0x8,_0x3bb2b0++;}return _0x3eb882['create'](_0x35bfaa,_0x3bb2b0);}}()),_0x5b72f3[_0x28ef6b(0x29a)][_0x28ef6b(0x215)];}));}(pe)),pe[_0x598f35(0x211)];}var me={'exports':{}},Ti=me['exports'],Je;function bi(){var _0x43879b=_0x50acdc;return Je||(Je=0x1,function(_0x6b6452,_0x19a5cd){(function(_0x37f22c,_0x3b5037){var _0xff45c2=_0x5520;_0x6b6452[_0xff45c2(0x211)]=_0x3b5037(Q());}(Ti,function(_0x3e0159){var _0x4f8ed3=_0x5520;return function(_0x2690e1){var _0x54d1e6=_0x5520,_0x5eaf99=_0x3e0159,_0x1c3c39=_0x5eaf99[_0x54d1e6(0x101)],_0x176d54=_0x1c3c39['WordArray'],_0x4004a4=_0x1c3c39[_0x54d1e6(0x27c)],_0x224e4f=_0x5eaf99[_0x54d1e6(0x28b)],_0x7dd462=[];(function(){var _0x1204b5=_0x54d1e6;for(var _0x3d8e23=0x0;_0x3d8e23<0x40;_0x3d8e23++)_0x7dd462[_0x3d8e23]=_0x2690e1[_0x1204b5(0x2c8)](_0x2690e1[_0x1204b5(0x142)](_0x3d8e23+0x1))*0x100000000|0x0;}());var _0x14f773=_0x224e4f['MD5']=_0x4004a4[_0x54d1e6(0x334)]({'_doReset':function(){var _0xaf6aad=_0x54d1e6;this['_hash']=new _0x176d54[(_0xaf6aad(0x132))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x11c612,_0x10926b){var _0x539583=_0x54d1e6;for(var _0x3aa613=0x0;_0x3aa613<0x10;_0x3aa613++){var _0x2a8881=_0x10926b+_0x3aa613,_0x14daf8=_0x11c612[_0x2a8881];_0x11c612[_0x2a8881]=(_0x14daf8<<0x8|_0x14daf8>>>0x18)&0xff00ff|(_0x14daf8<<0x18|_0x14daf8>>>0x8)&0xff00ff00;}var _0x3efe5c=this[_0x539583(0x2da)][_0x539583(0xe4)],_0x4c00e5=_0x11c612[_0x10926b+0x0],_0x603a79=_0x11c612[_0x10926b+0x1],_0x5babfc=_0x11c612[_0x10926b+0x2],_0x2187f9=_0x11c612[_0x10926b+0x3],_0x14d721=_0x11c612[_0x10926b+0x4],_0x4a4967=_0x11c612[_0x10926b+0x5],_0x2107c8=_0x11c612[_0x10926b+0x6],_0x865c2e=_0x11c612[_0x10926b+0x7],_0x37e3b3=_0x11c612[_0x10926b+0x8],_0x71ac5e=_0x11c612[_0x10926b+0x9],_0x41adbc=_0x11c612[_0x10926b+0xa],_0x7c6008=_0x11c612[_0x10926b+0xb],_0x378653=_0x11c612[_0x10926b+0xc],_0xaf482e=_0x11c612[_0x10926b+0xd],_0x5b1b0f=_0x11c612[_0x10926b+0xe],_0x794a47=_0x11c612[_0x10926b+0xf],_0x53b683=_0x3efe5c[0x0],_0x362c10=_0x3efe5c[0x1],_0x3f0618=_0x3efe5c[0x2],_0x540014=_0x3efe5c[0x3];_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4c00e5,0x7,_0x7dd462[0x0]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x603a79,0xc,_0x7dd462[0x1]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5babfc,0x11,_0x7dd462[0x2]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x2187f9,0x16,_0x7dd462[0x3]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x14d721,0x7,_0x7dd462[0x4]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x4a4967,0xc,_0x7dd462[0x5]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2107c8,0x11,_0x7dd462[0x6]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x865c2e,0x16,_0x7dd462[0x7]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x37e3b3,0x7,_0x7dd462[0x8]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x71ac5e,0xc,_0x7dd462[0x9]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x41adbc,0x11,_0x7dd462[0xa]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x7c6008,0x16,_0x7dd462[0xb]),_0x53b683=_0xaa5913(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x378653,0x7,_0x7dd462[0xc]),_0x540014=_0xaa5913(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0xaf482e,0xc,_0x7dd462[0xd]),_0x3f0618=_0xaa5913(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5b1b0f,0x11,_0x7dd462[0xe]),_0x362c10=_0xaa5913(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x794a47,0x16,_0x7dd462[0xf]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x603a79,0x5,_0x7dd462[0x10]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x2107c8,0x9,_0x7dd462[0x11]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x7c6008,0xe,_0x7dd462[0x12]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x4c00e5,0x14,_0x7dd462[0x13]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4a4967,0x5,_0x7dd462[0x14]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x41adbc,0x9,_0x7dd462[0x15]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x794a47,0xe,_0x7dd462[0x16]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x14d721,0x14,_0x7dd462[0x17]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x71ac5e,0x5,_0x7dd462[0x18]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x5b1b0f,0x9,_0x7dd462[0x19]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2187f9,0xe,_0x7dd462[0x1a]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x37e3b3,0x14,_0x7dd462[0x1b]),_0x53b683=_0x41d73b(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0xaf482e,0x5,_0x7dd462[0x1c]),_0x540014=_0x41d73b(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x5babfc,0x9,_0x7dd462[0x1d]),_0x3f0618=_0x41d73b(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x865c2e,0xe,_0x7dd462[0x1e]),_0x362c10=_0x41d73b(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x378653,0x14,_0x7dd462[0x1f]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4a4967,0x4,_0x7dd462[0x20]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x37e3b3,0xb,_0x7dd462[0x21]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x7c6008,0x10,_0x7dd462[0x22]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x5b1b0f,0x17,_0x7dd462[0x23]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x603a79,0x4,_0x7dd462[0x24]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x14d721,0xb,_0x7dd462[0x25]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x865c2e,0x10,_0x7dd462[0x26]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x41adbc,0x17,_0x7dd462[0x27]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0xaf482e,0x4,_0x7dd462[0x28]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x4c00e5,0xb,_0x7dd462[0x29]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2187f9,0x10,_0x7dd462[0x2a]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x2107c8,0x17,_0x7dd462[0x2b]),_0x53b683=_0x31bd0e(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x71ac5e,0x4,_0x7dd462[0x2c]),_0x540014=_0x31bd0e(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x378653,0xb,_0x7dd462[0x2d]),_0x3f0618=_0x31bd0e(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x794a47,0x10,_0x7dd462[0x2e]),_0x362c10=_0x31bd0e(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x5babfc,0x17,_0x7dd462[0x2f]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x4c00e5,0x6,_0x7dd462[0x30]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x865c2e,0xa,_0x7dd462[0x31]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5b1b0f,0xf,_0x7dd462[0x32]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x4a4967,0x15,_0x7dd462[0x33]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x378653,0x6,_0x7dd462[0x34]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x2187f9,0xa,_0x7dd462[0x35]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x41adbc,0xf,_0x7dd462[0x36]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x603a79,0x15,_0x7dd462[0x37]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x37e3b3,0x6,_0x7dd462[0x38]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x794a47,0xa,_0x7dd462[0x39]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x2107c8,0xf,_0x7dd462[0x3a]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0xaf482e,0x15,_0x7dd462[0x3b]),_0x53b683=_0x50395a(_0x53b683,_0x362c10,_0x3f0618,_0x540014,_0x14d721,0x6,_0x7dd462[0x3c]),_0x540014=_0x50395a(_0x540014,_0x53b683,_0x362c10,_0x3f0618,_0x7c6008,0xa,_0x7dd462[0x3d]),_0x3f0618=_0x50395a(_0x3f0618,_0x540014,_0x53b683,_0x362c10,_0x5babfc,0xf,_0x7dd462[0x3e]),_0x362c10=_0x50395a(_0x362c10,_0x3f0618,_0x540014,_0x53b683,_0x71ac5e,0x15,_0x7dd462[0x3f]),_0x3efe5c[0x0]=_0x3efe5c[0x0]+_0x53b683|0x0,_0x3efe5c[0x1]=_0x3efe5c[0x1]+_0x362c10|0x0,_0x3efe5c[0x2]=_0x3efe5c[0x2]+_0x3f0618|0x0,_0x3efe5c[0x3]=_0x3efe5c[0x3]+_0x540014|0x0;},'_doFinalize':function(){var _0xacb95a=_0x54d1e6,_0x539dda=this['_data'],_0x504ca4=_0x539dda[_0xacb95a(0xe4)],_0x572723=this[_0xacb95a(0xea)]*0x8,_0x4a64b7=_0x539dda[_0xacb95a(0x13e)]*0x8;_0x504ca4[_0x4a64b7>>>0x5]|=0x80<<0x18-_0x4a64b7%0x20;var _0x1a1f05=_0x2690e1[_0xacb95a(0x3b9)](_0x572723/0x100000000),_0xc7a58=_0x572723;_0x504ca4[(_0x4a64b7+0x40>>>0x9<<0x4)+0xf]=(_0x1a1f05<<0x8|_0x1a1f05>>>0x18)&0xff00ff|(_0x1a1f05<<0x18|_0x1a1f05>>>0x8)&0xff00ff00,_0x504ca4[(_0x4a64b7+0x40>>>0x9<<0x4)+0xe]=(_0xc7a58<<0x8|_0xc7a58>>>0x18)&0xff00ff|(_0xc7a58<<0x18|_0xc7a58>>>0x8)&0xff00ff00,_0x539dda[_0xacb95a(0x13e)]=(_0x504ca4[_0xacb95a(0x31b)]+0x1)*0x4,this[_0xacb95a(0x146)]();for(var _0x4d7347=this[_0xacb95a(0x2da)],_0xa9f53=_0x4d7347[_0xacb95a(0xe4)],_0x126dc2=0x0;_0x126dc2<0x4;_0x126dc2++){var _0x15a778=_0xa9f53[_0x126dc2];_0xa9f53[_0x126dc2]=(_0x15a778<<0x8|_0x15a778>>>0x18)&0xff00ff|(_0x15a778<<0x18|_0x15a778>>>0x8)&0xff00ff00;}return _0x4d7347;},'clone':function(){var _0x18b21a=_0x54d1e6,_0x31d309=_0x4004a4[_0x18b21a(0x128)][_0x18b21a(0x2ac)](this);return _0x31d309[_0x18b21a(0x2da)]=this['_hash']['clone'](),_0x31d309;}});function _0xaa5913(_0x3001e1,_0x5e958b,_0x4b307f,_0x21a6a5,_0x506b33,_0x2b0923,_0x9b97d5){var _0x245f40=_0x3001e1+(_0x5e958b&_0x4b307f|~_0x5e958b&_0x21a6a5)+_0x506b33+_0x9b97d5;return(_0x245f40<<_0x2b0923|_0x245f40>>>0x20-_0x2b0923)+_0x5e958b;}function _0x41d73b(_0x4feef0,_0x4ff18c,_0x5623bc,_0x140cb1,_0x439949,_0x3aefba,_0x39aed0){var _0x2ace84=_0x4feef0+(_0x4ff18c&_0x140cb1|_0x5623bc&~_0x140cb1)+_0x439949+_0x39aed0;return(_0x2ace84<<_0x3aefba|_0x2ace84>>>0x20-_0x3aefba)+_0x4ff18c;}function _0x31bd0e(_0x50e3c9,_0x4e40fa,_0x58be5b,_0x1c7694,_0x5d4b23,_0x5c97c8,_0x1ad628){var _0x25f404=_0x50e3c9+(_0x4e40fa^_0x58be5b^_0x1c7694)+_0x5d4b23+_0x1ad628;return(_0x25f404<<_0x5c97c8|_0x25f404>>>0x20-_0x5c97c8)+_0x4e40fa;}function _0x50395a(_0x5005bb,_0x4d7537,_0x3cb91e,_0x533bb4,_0x393a7c,_0x40d5cf,_0x3c6ccd){var _0x32a695=_0x5005bb+(_0x3cb91e^(_0x4d7537|~_0x533bb4))+_0x393a7c+_0x3c6ccd;return(_0x32a695<<_0x40d5cf|_0x32a695>>>0x20-_0x40d5cf)+_0x4d7537;}_0x5eaf99[_0x54d1e6(0xfe)]=_0x4004a4[_0x54d1e6(0x1ca)](_0x14f773),_0x5eaf99[_0x54d1e6(0x36d)]=_0x4004a4[_0x54d1e6(0x72)](_0x14f773);}(Math),_0x3e0159[_0x4f8ed3(0xfe)];}));}(me)),me[_0x43879b(0x211)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x50acdc(0x211)],Xe;function Ri(){var _0x568734=_0x50acdc;return Xe||(Xe=0x1,function(_0x5d6e90,_0x5bcf66){(function(_0x4e28e0,_0x56d959){var _0x4b4bd8=_0x5520;_0x5d6e90[_0x4b4bd8(0x211)]=_0x56d959(Q());}(Oi,function(_0x4d96f0){var _0x38779b=_0x5520;return(function(){var _0x43aaa8=_0x5520,_0xa4073=_0x4d96f0,_0x362ae6=_0xa4073[_0x43aaa8(0x101)],_0x481538=_0x362ae6[_0x43aaa8(0x2b5)],_0xc2847=_0x362ae6[_0x43aaa8(0x27c)],_0xc1f8d7=_0xa4073['algo'],_0x4b7c8b=[],_0x3f0b5e=_0xc1f8d7['SHA1']=_0xc2847['extend']({'_doReset':function(){var _0x55a386=_0x43aaa8;this[_0x55a386(0x2da)]=new _0x481538[(_0x55a386(0x132))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x20d753,_0x33f10d){var _0x49971c=_0x43aaa8;for(var _0x522b77=this[_0x49971c(0x2da)]['words'],_0x4c8b44=_0x522b77[0x0],_0x3baf1e=_0x522b77[0x1],_0x3d736c=_0x522b77[0x2],_0x3de8bb=_0x522b77[0x3],_0x24c420=_0x522b77[0x4],_0x3115aa=0x0;_0x3115aa<0x50;_0x3115aa++){if(_0x3115aa<0x10)_0x4b7c8b[_0x3115aa]=_0x20d753[_0x33f10d+_0x3115aa]|0x0;else{var _0x117064=_0x4b7c8b[_0x3115aa-0x3]^_0x4b7c8b[_0x3115aa-0x8]^_0x4b7c8b[_0x3115aa-0xe]^_0x4b7c8b[_0x3115aa-0x10];_0x4b7c8b[_0x3115aa]=_0x117064<<0x1|_0x117064>>>0x1f;}var _0x49e5c1=(_0x4c8b44<<0x5|_0x4c8b44>>>0x1b)+_0x24c420+_0x4b7c8b[_0x3115aa];_0x3115aa<0x14?_0x49e5c1+=(_0x3baf1e&_0x3d736c|~_0x3baf1e&_0x3de8bb)+0x5a827999:_0x3115aa<0x28?_0x49e5c1+=(_0x3baf1e^_0x3d736c^_0x3de8bb)+0x6ed9eba1:_0x3115aa<0x3c?_0x49e5c1+=(_0x3baf1e&_0x3d736c|_0x3baf1e&_0x3de8bb|_0x3d736c&_0x3de8bb)-0x70e44324:_0x49e5c1+=(_0x3baf1e^_0x3d736c^_0x3de8bb)-0x359d3e2a,_0x24c420=_0x3de8bb,_0x3de8bb=_0x3d736c,_0x3d736c=_0x3baf1e<<0x1e|_0x3baf1e>>>0x2,_0x3baf1e=_0x4c8b44,_0x4c8b44=_0x49e5c1;}_0x522b77[0x0]=_0x522b77[0x0]+_0x4c8b44|0x0,_0x522b77[0x1]=_0x522b77[0x1]+_0x3baf1e|0x0,_0x522b77[0x2]=_0x522b77[0x2]+_0x3d736c|0x0,_0x522b77[0x3]=_0x522b77[0x3]+_0x3de8bb|0x0,_0x522b77[0x4]=_0x522b77[0x4]+_0x24c420|0x0;},'_doFinalize':function(){var _0x429852=_0x43aaa8,_0x560593=this[_0x429852(0x1f9)],_0x5d74cb=_0x560593[_0x429852(0xe4)],_0x520d9c=this['_nDataBytes']*0x8,_0x4a9200=_0x560593[_0x429852(0x13e)]*0x8;return _0x5d74cb[_0x4a9200>>>0x5]|=0x80<<0x18-_0x4a9200%0x20,_0x5d74cb[(_0x4a9200+0x40>>>0x9<<0x4)+0xe]=Math[_0x429852(0x3b9)](_0x520d9c/0x100000000),_0x5d74cb[(_0x4a9200+0x40>>>0x9<<0x4)+0xf]=_0x520d9c,_0x560593[_0x429852(0x13e)]=_0x5d74cb[_0x429852(0x31b)]*0x4,this[_0x429852(0x146)](),this[_0x429852(0x2da)];},'clone':function(){var _0x1bb548=_0x43aaa8,_0x4c465d=_0xc2847[_0x1bb548(0x128)][_0x1bb548(0x2ac)](this);return _0x4c465d['_hash']=this[_0x1bb548(0x2da)][_0x1bb548(0x128)](),_0x4c465d;}});_0xa4073['SHA1']=_0xc2847['_createHelper'](_0x3f0b5e),_0xa4073['HmacSHA1']=_0xc2847['_createHmacHelper'](_0x3f0b5e);}()),_0x4d96f0[_0x38779b(0x3c6)];}));}(Ee)),Ee[_0x568734(0x211)];}var Ce={'exports':{}},yi=Ce[_0x50acdc(0x211)],Ze;function Ni(){var _0x244020=_0x50acdc;return Ze||(Ze=0x1,function(_0x55c253,_0x4c717d){(function(_0x528e8c,_0x3cfdd0){var _0x94c8ab=_0x5520;_0x55c253[_0x94c8ab(0x211)]=_0x3cfdd0(Q());}(yi,function(_0x9241b){(function(){var _0x56a29b=_0x5520,_0x20e5bd=_0x9241b,_0x2e1acb=_0x20e5bd[_0x56a29b(0x101)],_0x260738=_0x2e1acb[_0x56a29b(0x248)],_0x376748=_0x20e5bd[_0x56a29b(0x29a)],_0x521d34=_0x376748[_0x56a29b(0x30d)],_0x442940=_0x20e5bd['algo'];_0x442940[_0x56a29b(0x313)]=_0x260738[_0x56a29b(0x334)]({'init':function(_0x59dcda,_0x57ffb6){var _0x1b5216=_0x56a29b;_0x59dcda=this[_0x1b5216(0x1e8)]=new _0x59dcda[(_0x1b5216(0x132))](),typeof _0x57ffb6==_0x1b5216(0x102)&&(_0x57ffb6=_0x521d34[_0x1b5216(0x39d)](_0x57ffb6));var _0x5dd6c1=_0x59dcda[_0x1b5216(0x127)],_0x232d56=_0x5dd6c1*0x4;_0x57ffb6['sigBytes']>_0x232d56&&(_0x57ffb6=_0x59dcda[_0x1b5216(0x314)](_0x57ffb6)),_0x57ffb6[_0x1b5216(0x3bb)]();for(var _0x28b372=this[_0x1b5216(0x2e2)]=_0x57ffb6['clone'](),_0x1109c8=this['_iKey']=_0x57ffb6['clone'](),_0x479919=_0x28b372[_0x1b5216(0xe4)],_0x138d8d=_0x1109c8[_0x1b5216(0xe4)],_0x486d66=0x0;_0x486d66<_0x5dd6c1;_0x486d66++)_0x479919[_0x486d66]^=0x5c5c5c5c,_0x138d8d[_0x486d66]^=0x36363636;_0x28b372[_0x1b5216(0x13e)]=_0x1109c8[_0x1b5216(0x13e)]=_0x232d56,this[_0x1b5216(0x29e)]();},'reset':function(){var _0x19dfd6=_0x56a29b,_0x167695=this[_0x19dfd6(0x1e8)];_0x167695[_0x19dfd6(0x29e)](),_0x167695['update'](this[_0x19dfd6(0x91)]);},'update':function(_0x7b5d4c){var _0x5a17df=_0x56a29b;return this[_0x5a17df(0x1e8)]['update'](_0x7b5d4c),this;},'finalize':function(_0x19515a){var _0x26a6bf=_0x56a29b,_0x402426=this['_hasher'],_0x4545cb=_0x402426[_0x26a6bf(0x314)](_0x19515a);_0x402426[_0x26a6bf(0x29e)]();var _0x4ddc6e=_0x402426[_0x26a6bf(0x314)](this[_0x26a6bf(0x2e2)][_0x26a6bf(0x128)]()[_0x26a6bf(0x37d)](_0x4545cb));return _0x4ddc6e;}});}());}));}(Ce)),Ce[_0x244020(0x211)];}var Di=ge[_0x50acdc(0x211)],Qe;function Ct(){return Qe||(Qe=0x1,function(_0x47fcc3,_0x1ded13){(function(_0x5a64ae,_0x64e1e3,_0x51c438){var _0x1d6138=_0x5520;_0x47fcc3[_0x1d6138(0x211)]=_0x64e1e3(Q(),Ri(),Ni());}(Di,function(_0x4a17d1){return(function(){var _0x2ab4d3=_0x5520,_0x64ecb4=_0x4a17d1,_0x1c2109=_0x64ecb4['lib'],_0x792da3=_0x1c2109['Base'],_0x24f145=_0x1c2109[_0x2ab4d3(0x2b5)],_0x230c3d=_0x64ecb4[_0x2ab4d3(0x28b)],_0x3bf8fc=_0x230c3d[_0x2ab4d3(0xfe)],_0x26ebaf=_0x230c3d['EvpKDF']=_0x792da3[_0x2ab4d3(0x334)]({'cfg':_0x792da3['extend']({'keySize':0x80/0x20,'hasher':_0x3bf8fc,'iterations':0x1}),'init':function(_0x1e66da){var _0x59b42e=_0x2ab4d3;this[_0x59b42e(0x8a)]=this[_0x59b42e(0x8a)][_0x59b42e(0x334)](_0x1e66da);},'compute':function(_0x4b68c9,_0xd9431f){var _0x57dc1b=_0x2ab4d3;for(var _0x190275,_0x35db47=this[_0x57dc1b(0x8a)],_0x3b4538=_0x35db47[_0x57dc1b(0x30a)][_0x57dc1b(0x1f1)](),_0x4cd1e0=_0x24f145[_0x57dc1b(0x1f1)](),_0x172c95=_0x4cd1e0[_0x57dc1b(0xe4)],_0x49de5b=_0x35db47[_0x57dc1b(0x86)],_0xbd2ea4=_0x35db47['iterations'];_0x172c95['length']<_0x49de5b;){_0x190275&&_0x3b4538[_0x57dc1b(0xc4)](_0x190275),_0x190275=_0x3b4538['update'](_0x4b68c9)[_0x57dc1b(0x314)](_0xd9431f),_0x3b4538['reset']();for(var _0x40e732=0x1;_0x40e732<_0xbd2ea4;_0x40e732++)_0x190275=_0x3b4538[_0x57dc1b(0x314)](_0x190275),_0x3b4538[_0x57dc1b(0x29e)]();_0x4cd1e0['concat'](_0x190275);}return _0x4cd1e0[_0x57dc1b(0x13e)]=_0x49de5b*0x4,_0x4cd1e0;}});_0x64ecb4[_0x2ab4d3(0x352)]=function(_0x572a81,_0x1b479a,_0x299c8f){var _0x458d60=_0x2ab4d3;return _0x26ebaf[_0x458d60(0x1f1)](_0x299c8f)[_0x458d60(0x170)](_0x572a81,_0x1b479a);};}()),_0x4a17d1['EvpKDF'];}));}(ge)),ge['exports'];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){var _0x5e5c43=_0x50acdc;return et||(et=0x1,function(_0x3f7fac,_0x6cb5f3){(function(_0x31c285,_0x4edc4c,_0x25dc4d){var _0x1cd4e3=_0x5520;_0x3f7fac[_0x1cd4e3(0x211)]=_0x4edc4c(Q(),Ct());}(Ui,function(_0xcb7230){var _0x4eb2d4=_0x5520;_0xcb7230[_0x4eb2d4(0x101)][_0x4eb2d4(0xdf)]||function(_0x527e0c){var _0x1230dc=_0x4eb2d4,_0x528608=_0xcb7230,_0x59fcf6=_0x528608[_0x1230dc(0x101)],_0x4f45de=_0x59fcf6[_0x1230dc(0x248)],_0x1beaf0=_0x59fcf6[_0x1230dc(0x2b5)],_0x575ec6=_0x59fcf6[_0x1230dc(0x305)],_0x426895=_0x528608['enc'];_0x426895[_0x1230dc(0x30d)];var _0x27d0ad=_0x426895[_0x1230dc(0x215)],_0x486aa3=_0x528608[_0x1230dc(0x28b)],_0x3edde8=_0x486aa3[_0x1230dc(0x352)],_0x5846d0=_0x59fcf6[_0x1230dc(0xdf)]=_0x575ec6['extend']({'cfg':_0x4f45de[_0x1230dc(0x334)](),'createEncryptor':function(_0x10e92f,_0x3e222a){var _0xaf64b9=_0x1230dc;return this[_0xaf64b9(0x1f1)](this[_0xaf64b9(0x2d5)],_0x10e92f,_0x3e222a);},'createDecryptor':function(_0x2369f8,_0x2d3c5e){var _0x15741f=_0x1230dc;return this[_0x15741f(0x1f1)](this['_DEC_XFORM_MODE'],_0x2369f8,_0x2d3c5e);},'init':function(_0x164c20,_0x3e6c5e,_0x590745){var _0x5c2425=_0x1230dc;this[_0x5c2425(0x8a)]=this[_0x5c2425(0x8a)][_0x5c2425(0x334)](_0x590745),this['_xformMode']=_0x164c20,this['_key']=_0x3e6c5e,this['reset']();},'reset':function(){var _0x90a3a0=_0x1230dc;_0x575ec6['reset']['call'](this),this[_0x90a3a0(0x31d)]();},'process':function(_0x78debc){var _0x17e489=_0x1230dc;return this['_append'](_0x78debc),this[_0x17e489(0x146)]();},'finalize':function(_0x4079c9){_0x4079c9&&this['_append'](_0x4079c9);var _0x14a02b=this['_doFinalize']();return _0x14a02b;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0x355ef8(_0x543d90){var _0x546fc1=_0x5520;return typeof _0x543d90==_0x546fc1(0x102)?_0x210d25:_0x2f6a0e;}return function(_0x996883){return{'encrypt':function(_0x59342d,_0x1bf471,_0x1445b2){var _0x39b089=_0x5520;return _0x355ef8(_0x1bf471)[_0x39b089(0x3a0)](_0x996883,_0x59342d,_0x1bf471,_0x1445b2);},'decrypt':function(_0x443709,_0x171127,_0x33ae32){var _0x12030a=_0x5520;return _0x355ef8(_0x171127)[_0x12030a(0x289)](_0x996883,_0x443709,_0x171127,_0x33ae32);}};};}())});_0x59fcf6[_0x1230dc(0x364)]=_0x5846d0[_0x1230dc(0x334)]({'_doFinalize':function(){var _0x59a3cc=this['_process'](!0x0);return _0x59a3cc;},'blockSize':0x1});var _0x3d1c48=_0x528608['mode']={},_0x948b23=_0x59fcf6[_0x1230dc(0x17a)]=_0x4f45de['extend']({'createEncryptor':function(_0x471701,_0x5ef7e5){var _0x1a08c9=_0x1230dc;return this['Encryptor'][_0x1a08c9(0x1f1)](_0x471701,_0x5ef7e5);},'createDecryptor':function(_0x910854,_0x5d1169){var _0x16f07f=_0x1230dc;return this[_0x16f07f(0x1d8)]['create'](_0x910854,_0x5d1169);},'init':function(_0x5c9183,_0x50520f){var _0x3943c0=_0x1230dc;this['_cipher']=_0x5c9183,this[_0x3943c0(0x1a9)]=_0x50520f;}}),_0x35b786=_0x3d1c48[_0x1230dc(0x32d)]=(function(){var _0x483e55=_0x1230dc,_0x1be129=_0x948b23[_0x483e55(0x334)]();_0x1be129['Encryptor']=_0x1be129[_0x483e55(0x334)]({'processBlock':function(_0x23cf52,_0x547438){var _0x5a265d=_0x483e55,_0x5c2bfa=this[_0x5a265d(0x1ed)],_0x22b554=_0x5c2bfa['blockSize'];_0x1dea28[_0x5a265d(0x2ac)](this,_0x23cf52,_0x547438,_0x22b554),_0x5c2bfa[_0x5a265d(0x122)](_0x23cf52,_0x547438),this[_0x5a265d(0x16e)]=_0x23cf52[_0x5a265d(0x2ef)](_0x547438,_0x547438+_0x22b554);}}),_0x1be129[_0x483e55(0x1d8)]=_0x1be129[_0x483e55(0x334)]({'processBlock':function(_0xf3d46c,_0x106582){var _0x42da27=_0x483e55,_0x4e1766=this[_0x42da27(0x1ed)],_0x2ffca0=_0x4e1766[_0x42da27(0x127)],_0x27762c=_0xf3d46c['slice'](_0x106582,_0x106582+_0x2ffca0);_0x4e1766[_0x42da27(0xdc)](_0xf3d46c,_0x106582),_0x1dea28[_0x42da27(0x2ac)](this,_0xf3d46c,_0x106582,_0x2ffca0),this[_0x42da27(0x16e)]=_0x27762c;}});function _0x1dea28(_0x3b7417,_0x1d1db1,_0x56314f){var _0x2abbe0=_0x483e55,_0xe4595d,_0x430c7f=this[_0x2abbe0(0x1a9)];_0x430c7f?(_0xe4595d=_0x430c7f,this[_0x2abbe0(0x1a9)]=_0x527e0c):_0xe4595d=this[_0x2abbe0(0x16e)];for(var _0x476981=0x0;_0x476981<_0x56314f;_0x476981++)_0x3b7417[_0x1d1db1+_0x476981]^=_0xe4595d[_0x476981];}return _0x1be129;}()),_0xb51bae=_0x528608[_0x1230dc(0x21a)]={},_0x21cf09=_0xb51bae['Pkcs7']={'pad':function(_0x471495,_0x12078f){var _0x1bef21=_0x1230dc;for(var _0x2aa051=_0x12078f*0x4,_0x2c28f3=_0x2aa051-_0x471495[_0x1bef21(0x13e)]%_0x2aa051,_0x50ebad=_0x2c28f3<<0x18|_0x2c28f3<<0x10|_0x2c28f3<<0x8|_0x2c28f3,_0x54591f=[],_0x2ef871=0x0;_0x2ef871<_0x2c28f3;_0x2ef871+=0x4)_0x54591f[_0x1bef21(0x3a3)](_0x50ebad);var _0x4748c8=_0x1beaf0['create'](_0x54591f,_0x2c28f3);_0x471495[_0x1bef21(0x37d)](_0x4748c8);},'unpad':function(_0x3512f3){var _0x551357=_0x1230dc,_0x18d7a8=_0x3512f3[_0x551357(0xe4)][_0x3512f3['sigBytes']-0x1>>>0x2]&0xff;_0x3512f3[_0x551357(0x13e)]-=_0x18d7a8;}};_0x59fcf6[_0x1230dc(0x28d)]=_0x5846d0[_0x1230dc(0x334)]({'cfg':_0x5846d0[_0x1230dc(0x8a)]['extend']({'mode':_0x35b786,'padding':_0x21cf09}),'reset':function(){var _0x1722f9=_0x1230dc,_0x31792b;_0x5846d0[_0x1722f9(0x29e)][_0x1722f9(0x2ac)](this);var _0x59ce79=this[_0x1722f9(0x8a)],_0x10a229=_0x59ce79['iv'],_0x2e5cce=_0x59ce79[_0x1722f9(0x2b0)];this[_0x1722f9(0x1c2)]==this['_ENC_XFORM_MODE']?_0x31792b=_0x2e5cce[_0x1722f9(0xd6)]:(_0x31792b=_0x2e5cce[_0x1722f9(0x2c9)],this[_0x1722f9(0x256)]=0x1),this['_mode']&&this['_mode']['__creator']==_0x31792b?this[_0x1722f9(0x2ff)][_0x1722f9(0x132)](this,_0x10a229&&_0x10a229[_0x1722f9(0xe4)]):(this[_0x1722f9(0x2ff)]=_0x31792b[_0x1722f9(0x2ac)](_0x2e5cce,this,_0x10a229&&_0x10a229[_0x1722f9(0xe4)]),this[_0x1722f9(0x2ff)][_0x1722f9(0x3b5)]=_0x31792b);},'_doProcessBlock':function(_0x4a9552,_0x4988db){var _0x1dbb62=_0x1230dc;this[_0x1dbb62(0x2ff)][_0x1dbb62(0x150)](_0x4a9552,_0x4988db);},'_doFinalize':function(){var _0x1615e0=_0x1230dc,_0x40a773,_0x576315=this[_0x1615e0(0x8a)][_0x1615e0(0x3c0)];return this[_0x1615e0(0x1c2)]==this[_0x1615e0(0x2d5)]?(_0x576315[_0x1615e0(0x21a)](this[_0x1615e0(0x1f9)],this['blockSize']),_0x40a773=this[_0x1615e0(0x146)](!0x0)):(_0x40a773=this[_0x1615e0(0x146)](!0x0),_0x576315[_0x1615e0(0x2e7)](_0x40a773)),_0x40a773;},'blockSize':0x80/0x20});var _0x267e3e=_0x59fcf6[_0x1230dc(0x1a6)]=_0x4f45de['extend']({'init':function(_0x318f1d){var _0x42e7c6=_0x1230dc;this[_0x42e7c6(0x143)](_0x318f1d);},'toString':function(_0x1762a4){var _0x3e50e6=_0x1230dc;return(_0x1762a4||this[_0x3e50e6(0x33c)])[_0x3e50e6(0x8b)](this);}}),_0x2a334d=_0x528608[_0x1230dc(0x134)]={},_0x16908f=_0x2a334d[_0x1230dc(0x3c2)]={'stringify':function(_0x2cb7ac){var _0x1f049f=_0x1230dc,_0x1d85d1,_0x5b5d88=_0x2cb7ac[_0x1f049f(0x100)],_0x585b3d=_0x2cb7ac[_0x1f049f(0x1d1)];return _0x585b3d?_0x1d85d1=_0x1beaf0[_0x1f049f(0x1f1)]([0x53616c74,0x65645f5f])[_0x1f049f(0x37d)](_0x585b3d)[_0x1f049f(0x37d)](_0x5b5d88):_0x1d85d1=_0x5b5d88,_0x1d85d1['toString'](_0x27d0ad);},'parse':function(_0x2d0f4a){var _0x4a3df5=_0x1230dc,_0x20e28b,_0x32f44c=_0x27d0ad[_0x4a3df5(0x39d)](_0x2d0f4a),_0x4d2c29=_0x32f44c['words'];return _0x4d2c29[0x0]==0x53616c74&&_0x4d2c29[0x1]==0x65645f5f&&(_0x20e28b=_0x1beaf0[_0x4a3df5(0x1f1)](_0x4d2c29[_0x4a3df5(0x2ef)](0x2,0x4)),_0x4d2c29[_0x4a3df5(0x17d)](0x0,0x4),_0x32f44c[_0x4a3df5(0x13e)]-=0x10),_0x267e3e[_0x4a3df5(0x1f1)]({'ciphertext':_0x32f44c,'salt':_0x20e28b});}},_0x2f6a0e=_0x59fcf6['SerializableCipher']=_0x4f45de[_0x1230dc(0x334)]({'cfg':_0x4f45de['extend']({'format':_0x16908f}),'encrypt':function(_0x245ad2,_0x22e4bc,_0x5733ba,_0x252ffe){var _0x3a1af2=_0x1230dc;_0x252ffe=this[_0x3a1af2(0x8a)][_0x3a1af2(0x334)](_0x252ffe);var _0xa342e=_0x245ad2[_0x3a1af2(0xd6)](_0x5733ba,_0x252ffe),_0x193d6e=_0xa342e[_0x3a1af2(0x314)](_0x22e4bc),_0x39aab2=_0xa342e[_0x3a1af2(0x8a)];return _0x267e3e[_0x3a1af2(0x1f1)]({'ciphertext':_0x193d6e,'key':_0x5733ba,'iv':_0x39aab2['iv'],'algorithm':_0x245ad2,'mode':_0x39aab2[_0x3a1af2(0x2b0)],'padding':_0x39aab2[_0x3a1af2(0x3c0)],'blockSize':_0x245ad2[_0x3a1af2(0x127)],'formatter':_0x252ffe['format']});},'decrypt':function(_0x47f894,_0x5bbf75,_0x29fe1f,_0x4058a9){var _0xa35eda=_0x1230dc;_0x4058a9=this['cfg'][_0xa35eda(0x334)](_0x4058a9),_0x5bbf75=this[_0xa35eda(0xc3)](_0x5bbf75,_0x4058a9[_0xa35eda(0x134)]);var _0x433383=_0x47f894['createDecryptor'](_0x29fe1f,_0x4058a9)[_0xa35eda(0x314)](_0x5bbf75[_0xa35eda(0x100)]);return _0x433383;},'_parse':function(_0xa753c8,_0x236471){var _0x4e7946=_0x1230dc;return typeof _0xa753c8=='string'?_0x236471[_0x4e7946(0x39d)](_0xa753c8,this):_0xa753c8;}}),_0x32e532=_0x528608[_0x1230dc(0x280)]={},_0x9d00d9=_0x32e532[_0x1230dc(0x3c2)]={'execute':function(_0x5eb70a,_0x50f7c1,_0x297155,_0x2cd3a9,_0x598094){var _0x3228c=_0x1230dc;if(_0x2cd3a9||(_0x2cd3a9=_0x1beaf0[_0x3228c(0x242)](0x40/0x8)),_0x598094)var _0x592470=_0x3edde8['create']({'keySize':_0x50f7c1+_0x297155,'hasher':_0x598094})[_0x3228c(0x170)](_0x5eb70a,_0x2cd3a9);else var _0x592470=_0x3edde8[_0x3228c(0x1f1)]({'keySize':_0x50f7c1+_0x297155})[_0x3228c(0x170)](_0x5eb70a,_0x2cd3a9);var _0x5212e1=_0x1beaf0['create'](_0x592470[_0x3228c(0xe4)][_0x3228c(0x2ef)](_0x50f7c1),_0x297155*0x4);return _0x592470[_0x3228c(0x13e)]=_0x50f7c1*0x4,_0x267e3e[_0x3228c(0x1f1)]({'key':_0x592470,'iv':_0x5212e1,'salt':_0x2cd3a9});}},_0x210d25=_0x59fcf6[_0x1230dc(0x278)]=_0x2f6a0e['extend']({'cfg':_0x2f6a0e[_0x1230dc(0x8a)][_0x1230dc(0x334)]({'kdf':_0x9d00d9}),'encrypt':function(_0x980d22,_0x445735,_0x4f9b84,_0x404b0e){var _0x4525fb=_0x1230dc;_0x404b0e=this[_0x4525fb(0x8a)][_0x4525fb(0x334)](_0x404b0e);var _0x462bbc=_0x404b0e[_0x4525fb(0x280)][_0x4525fb(0x356)](_0x4f9b84,_0x980d22[_0x4525fb(0x86)],_0x980d22[_0x4525fb(0xb2)],_0x404b0e[_0x4525fb(0x1d1)],_0x404b0e[_0x4525fb(0x30a)]);_0x404b0e['iv']=_0x462bbc['iv'];var _0x4516b8=_0x2f6a0e[_0x4525fb(0x3a0)]['call'](this,_0x980d22,_0x445735,_0x462bbc[_0x4525fb(0x394)],_0x404b0e);return _0x4516b8[_0x4525fb(0x143)](_0x462bbc),_0x4516b8;},'decrypt':function(_0x59b1e8,_0x243366,_0x4017c0,_0x444b05){var _0x35f22a=_0x1230dc;_0x444b05=this[_0x35f22a(0x8a)][_0x35f22a(0x334)](_0x444b05),_0x243366=this[_0x35f22a(0xc3)](_0x243366,_0x444b05[_0x35f22a(0x134)]);var _0x14bceb=_0x444b05[_0x35f22a(0x280)]['execute'](_0x4017c0,_0x59b1e8[_0x35f22a(0x86)],_0x59b1e8[_0x35f22a(0xb2)],_0x243366[_0x35f22a(0x1d1)],_0x444b05[_0x35f22a(0x30a)]);_0x444b05['iv']=_0x14bceb['iv'];var _0x55fc91=_0x2f6a0e[_0x35f22a(0x289)][_0x35f22a(0x2ac)](this,_0x59b1e8,_0x243366,_0x14bceb[_0x35f22a(0x394)],_0x444b05);return _0x55fc91;}});}();}));}(Te)),Te[_0x5e5c43(0x211)];}var Ai=fe[_0x50acdc(0x211)],tt;function Pi(){var _0x4a4532=_0x50acdc;return tt||(tt=0x1,function(_0x5a5a79,_0x51d830){(function(_0x5e31eb,_0x33345a,_0x417985){var _0x2d5a26=_0x5520;_0x5a5a79[_0x2d5a26(0x211)]=_0x33345a(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0x53ea5c){var _0x5d1b3f=_0x5520;return(function(){var _0x1570fb=_0x5520,_0x403653=_0x53ea5c,_0x395f30=_0x403653[_0x1570fb(0x101)],_0x47673c=_0x395f30[_0x1570fb(0x28d)],_0x157871=_0x403653[_0x1570fb(0x28b)],_0x529575=[],_0xbaffeb=[],_0x132f8b=[],_0x20609f=[],_0x4d92e2=[],_0x272867=[],_0xb02039=[],_0x50d560=[],_0x221163=[],_0x4aa83f=[];(function(){for(var _0x1a1860=[],_0xf1407c=0x0;_0xf1407c<0x100;_0xf1407c++)_0xf1407c<0x80?_0x1a1860[_0xf1407c]=_0xf1407c<<0x1:_0x1a1860[_0xf1407c]=_0xf1407c<<0x1^0x11b;for(var _0x3850da=0x0,_0x336c0a=0x0,_0xf1407c=0x0;_0xf1407c<0x100;_0xf1407c++){var _0x21d3e3=_0x336c0a^_0x336c0a<<0x1^_0x336c0a<<0x2^_0x336c0a<<0x3^_0x336c0a<<0x4;_0x21d3e3=_0x21d3e3>>>0x8^_0x21d3e3&0xff^0x63,_0x529575[_0x3850da]=_0x21d3e3,_0xbaffeb[_0x21d3e3]=_0x3850da;var _0x1a0694=_0x1a1860[_0x3850da],_0x31e3c5=_0x1a1860[_0x1a0694],_0x23d4ca=_0x1a1860[_0x31e3c5],_0x57c920=_0x1a1860[_0x21d3e3]*0x101^_0x21d3e3*0x1010100;_0x132f8b[_0x3850da]=_0x57c920<<0x18|_0x57c920>>>0x8,_0x20609f[_0x3850da]=_0x57c920<<0x10|_0x57c920>>>0x10,_0x4d92e2[_0x3850da]=_0x57c920<<0x8|_0x57c920>>>0x18,_0x272867[_0x3850da]=_0x57c920;var _0x57c920=_0x23d4ca*0x1010101^_0x31e3c5*0x10001^_0x1a0694*0x101^_0x3850da*0x1010100;_0xb02039[_0x21d3e3]=_0x57c920<<0x18|_0x57c920>>>0x8,_0x50d560[_0x21d3e3]=_0x57c920<<0x10|_0x57c920>>>0x10,_0x221163[_0x21d3e3]=_0x57c920<<0x8|_0x57c920>>>0x18,_0x4aa83f[_0x21d3e3]=_0x57c920,_0x3850da?(_0x3850da=_0x1a0694^_0x1a1860[_0x1a1860[_0x1a1860[_0x23d4ca^_0x1a0694]]],_0x336c0a^=_0x1a1860[_0x1a1860[_0x336c0a]]):_0x3850da=_0x336c0a=0x1;}}());var _0x1f668a=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0xfb14f5=_0x157871[_0x1570fb(0x29f)]=_0x47673c[_0x1570fb(0x334)]({'_doReset':function(){var _0x103599=_0x1570fb,_0x4d9cf8;if(!(this['_nRounds']&&this['_keyPriorReset']===this[_0x103599(0x84)])){for(var _0xe39687=this[_0x103599(0x8c)]=this[_0x103599(0x84)],_0x5ce539=_0xe39687[_0x103599(0xe4)],_0x4d24f7=_0xe39687[_0x103599(0x13e)]/0x4,_0x5d8e23=this[_0x103599(0x3de)]=_0x4d24f7+0x6,_0x3924b9=(_0x5d8e23+0x1)*0x4,_0x54b7d0=this[_0x103599(0xc8)]=[],_0x457448=0x0;_0x457448<_0x3924b9;_0x457448++)_0x457448<_0x4d24f7?_0x54b7d0[_0x457448]=_0x5ce539[_0x457448]:(_0x4d9cf8=_0x54b7d0[_0x457448-0x1],_0x457448%_0x4d24f7?_0x4d24f7>0x6&&_0x457448%_0x4d24f7==0x4&&(_0x4d9cf8=_0x529575[_0x4d9cf8>>>0x18]<<0x18|_0x529575[_0x4d9cf8>>>0x10&0xff]<<0x10|_0x529575[_0x4d9cf8>>>0x8&0xff]<<0x8|_0x529575[_0x4d9cf8&0xff]):(_0x4d9cf8=_0x4d9cf8<<0x8|_0x4d9cf8>>>0x18,_0x4d9cf8=_0x529575[_0x4d9cf8>>>0x18]<<0x18|_0x529575[_0x4d9cf8>>>0x10&0xff]<<0x10|_0x529575[_0x4d9cf8>>>0x8&0xff]<<0x8|_0x529575[_0x4d9cf8&0xff],_0x4d9cf8^=_0x1f668a[_0x457448/_0x4d24f7|0x0]<<0x18),_0x54b7d0[_0x457448]=_0x54b7d0[_0x457448-_0x4d24f7]^_0x4d9cf8);for(var _0x28eec1=this['_invKeySchedule']=[],_0x32f6ab=0x0;_0x32f6ab<_0x3924b9;_0x32f6ab++){var _0x457448=_0x3924b9-_0x32f6ab;if(_0x32f6ab%0x4)var _0x4d9cf8=_0x54b7d0[_0x457448];else var _0x4d9cf8=_0x54b7d0[_0x457448-0x4];_0x32f6ab<0x4||_0x457448<=0x4?_0x28eec1[_0x32f6ab]=_0x4d9cf8:_0x28eec1[_0x32f6ab]=_0xb02039[_0x529575[_0x4d9cf8>>>0x18]]^_0x50d560[_0x529575[_0x4d9cf8>>>0x10&0xff]]^_0x221163[_0x529575[_0x4d9cf8>>>0x8&0xff]]^_0x4aa83f[_0x529575[_0x4d9cf8&0xff]];}}},'encryptBlock':function(_0x37296a,_0x28e949){this['_doCryptBlock'](_0x37296a,_0x28e949,this['_keySchedule'],_0x132f8b,_0x20609f,_0x4d92e2,_0x272867,_0x529575);},'decryptBlock':function(_0xc68f87,_0x29f2ce){var _0x57fabf=_0x1570fb,_0x6d5895=_0xc68f87[_0x29f2ce+0x1];_0xc68f87[_0x29f2ce+0x1]=_0xc68f87[_0x29f2ce+0x3],_0xc68f87[_0x29f2ce+0x3]=_0x6d5895,this[_0x57fabf(0x191)](_0xc68f87,_0x29f2ce,this[_0x57fabf(0xd4)],_0xb02039,_0x50d560,_0x221163,_0x4aa83f,_0xbaffeb);var _0x6d5895=_0xc68f87[_0x29f2ce+0x1];_0xc68f87[_0x29f2ce+0x1]=_0xc68f87[_0x29f2ce+0x3],_0xc68f87[_0x29f2ce+0x3]=_0x6d5895;},'_doCryptBlock':function(_0x52a88a,_0x277d12,_0x3f10d2,_0x178e38,_0x3b897e,_0x4aabaa,_0x2c52e6,_0x51351b){for(var _0x45c83b=this['_nRounds'],_0x2aa1e0=_0x52a88a[_0x277d12]^_0x3f10d2[0x0],_0x1fbe00=_0x52a88a[_0x277d12+0x1]^_0x3f10d2[0x1],_0x86629a=_0x52a88a[_0x277d12+0x2]^_0x3f10d2[0x2],_0x367c52=_0x52a88a[_0x277d12+0x3]^_0x3f10d2[0x3],_0x14b557=0x4,_0x5040a8=0x1;_0x5040a8<_0x45c83b;_0x5040a8++){var _0x277c26=_0x178e38[_0x2aa1e0>>>0x18]^_0x3b897e[_0x1fbe00>>>0x10&0xff]^_0x4aabaa[_0x86629a>>>0x8&0xff]^_0x2c52e6[_0x367c52&0xff]^_0x3f10d2[_0x14b557++],_0x48aed9=_0x178e38[_0x1fbe00>>>0x18]^_0x3b897e[_0x86629a>>>0x10&0xff]^_0x4aabaa[_0x367c52>>>0x8&0xff]^_0x2c52e6[_0x2aa1e0&0xff]^_0x3f10d2[_0x14b557++],_0x3cea8e=_0x178e38[_0x86629a>>>0x18]^_0x3b897e[_0x367c52>>>0x10&0xff]^_0x4aabaa[_0x2aa1e0>>>0x8&0xff]^_0x2c52e6[_0x1fbe00&0xff]^_0x3f10d2[_0x14b557++],_0x52e95a=_0x178e38[_0x367c52>>>0x18]^_0x3b897e[_0x2aa1e0>>>0x10&0xff]^_0x4aabaa[_0x1fbe00>>>0x8&0xff]^_0x2c52e6[_0x86629a&0xff]^_0x3f10d2[_0x14b557++];_0x2aa1e0=_0x277c26,_0x1fbe00=_0x48aed9,_0x86629a=_0x3cea8e,_0x367c52=_0x52e95a;}var _0x277c26=(_0x51351b[_0x2aa1e0>>>0x18]<<0x18|_0x51351b[_0x1fbe00>>>0x10&0xff]<<0x10|_0x51351b[_0x86629a>>>0x8&0xff]<<0x8|_0x51351b[_0x367c52&0xff])^_0x3f10d2[_0x14b557++],_0x48aed9=(_0x51351b[_0x1fbe00>>>0x18]<<0x18|_0x51351b[_0x86629a>>>0x10&0xff]<<0x10|_0x51351b[_0x367c52>>>0x8&0xff]<<0x8|_0x51351b[_0x2aa1e0&0xff])^_0x3f10d2[_0x14b557++],_0x3cea8e=(_0x51351b[_0x86629a>>>0x18]<<0x18|_0x51351b[_0x367c52>>>0x10&0xff]<<0x10|_0x51351b[_0x2aa1e0>>>0x8&0xff]<<0x8|_0x51351b[_0x1fbe00&0xff])^_0x3f10d2[_0x14b557++],_0x52e95a=(_0x51351b[_0x367c52>>>0x18]<<0x18|_0x51351b[_0x2aa1e0>>>0x10&0xff]<<0x10|_0x51351b[_0x1fbe00>>>0x8&0xff]<<0x8|_0x51351b[_0x86629a&0xff])^_0x3f10d2[_0x14b557++];_0x52a88a[_0x277d12]=_0x277c26,_0x52a88a[_0x277d12+0x1]=_0x48aed9,_0x52a88a[_0x277d12+0x2]=_0x3cea8e,_0x52a88a[_0x277d12+0x3]=_0x52e95a;},'keySize':0x100/0x20});_0x403653[_0x1570fb(0x29f)]=_0x47673c[_0x1570fb(0x1ca)](_0xfb14f5);}()),_0x53ea5c[_0x5d1b3f(0x29f)];}));}(fe)),fe[_0x4a4532(0x211)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x50acdc(0x211)],nt;function ki(){var _0x108922=_0x50acdc;return nt||(nt=0x1,function(_0x4d9b69,_0x45faa0){(function(_0x5c1a74,_0x1e3bcd){var _0x301fc6=_0x5520;_0x4d9b69[_0x301fc6(0x211)]=_0x1e3bcd(Q());}(xi,function(_0x4477dc){var _0x19f991=_0x5520;return _0x4477dc[_0x19f991(0x29a)][_0x19f991(0x30d)];}));}(be)),be[_0x108922(0x211)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x50acdc(0x211)],rt;function Bi(){return rt||(rt=0x1,function(_0x320b81,_0x5ab6fc){(function(_0xf6313,_0x9d0376){var _0x502566=_0x5520;_0x320b81[_0x502566(0x211)]=_0x9d0376(Q());}(ji,function(_0x3910bc){var _0x3d55ae=_0x5520;return(function(){var _0x25eb9c=_0x5520;if(typeof ArrayBuffer==_0x25eb9c(0x2e9)){var _0x4d2a37=_0x3910bc,_0x52a274=_0x4d2a37[_0x25eb9c(0x101)],_0x26ac81=_0x52a274[_0x25eb9c(0x2b5)],_0x571ffe=_0x26ac81['init'],_0x1df812=_0x26ac81['init']=function(_0x33a474){var _0x5b8e9c=_0x25eb9c;if(_0x33a474 instanceof ArrayBuffer&&(_0x33a474=new Uint8Array(_0x33a474)),(_0x33a474 instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x33a474 instanceof Uint8ClampedArray||_0x33a474 instanceof Int16Array||_0x33a474 instanceof Uint16Array||_0x33a474 instanceof Int32Array||_0x33a474 instanceof Uint32Array||_0x33a474 instanceof Float32Array||_0x33a474 instanceof Float64Array)&&(_0x33a474=new Uint8Array(_0x33a474['buffer'],_0x33a474[_0x5b8e9c(0x33d)],_0x33a474['byteLength'])),_0x33a474 instanceof Uint8Array){for(var _0x3c0292=_0x33a474[_0x5b8e9c(0x3df)],_0x32e36c=[],_0x1f0041=0x0;_0x1f0041<_0x3c0292;_0x1f0041++)_0x32e36c[_0x1f0041>>>0x2]|=_0x33a474[_0x1f0041]<<0x18-_0x1f0041%0x4*0x8;_0x571ffe[_0x5b8e9c(0x2ac)](this,_0x32e36c,_0x3c0292);}else _0x571ffe[_0x5b8e9c(0x303)](this,arguments);};_0x1df812['prototype']=_0x26ac81;}}()),_0x3910bc[_0x3d55ae(0x101)]['WordArray'];}));}(Oe)),Oe['exports'];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x50acdc(0x211)],st;function Gi(){return st||(st=0x1,function(_0x30ee03,_0x5a11e9){(function(_0x51ff41,_0x4973fa,_0xf13c67){var _0x3368ab=_0x5520;_0x30ee03[_0x3368ab(0x211)]=_0x4973fa(Q(),Tt());}(Wi,function(_0x5084ed){var _0x47bb29=_0x5520;return _0x5084ed[_0x47bb29(0x21a)]['NoPadding']={'pad':function(){},'unpad':function(){}},_0x5084ed[_0x47bb29(0x21a)][_0x47bb29(0x24d)];}));}(Re)),Re['exports'];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x311e67,_0x2615d7){var _0x549109=_0x50acdc;const _0x5e229d=_0x2615d7-_0x311e67[_0x549109(0x31b)]%_0x2615d7,_0xf3e3a2=String[_0x549109(0x176)](_0x5e229d)[_0x549109(0x3d4)](_0x5e229d);return _0x311e67+_0xf3e3a2;}function zi(_0x7d6666,_0xa09006){var _0x1424be=_0x50acdc;const _0x5f43ab=Vi['random'](0x10),_0x3c846e=Ki(_0x7d6666,0x10),_0x2ace3c=Mi[_0x1424be(0x3a0)](Hi[_0x1424be(0x39d)](_0x3c846e),it[_0x1424be(0x39d)](_0xa09006),{'iv':_0x5f43ab,'padding':qi});return _0x5f43ab[_0x1424be(0x37d)](_0x2ace3c['ciphertext'])['toString'](it);}function Ji(){var _0x487fc0=_0x50acdc;const _0x1dcdd6=yt[_0x487fc0(0xf4)]()[_0x487fc0(0x163)];if(_0x1dcdd6){const _0x362beb={'time':Math[_0x487fc0(0x3b9)](Date[_0x487fc0(0x3aa)]()/0x3e8),'domain':location[_0x487fc0(0x3b6)]};return zi(JSON[_0x487fc0(0x8b)](_0x362beb),_0x1dcdd6);}}var Xi=Object[_0x50acdc(0x1c4)],Zi=(_0x561be3,_0xe3dbd3,_0x6b6f22,_0x4bf46e)=>{var _0x3e9f57=_0x50acdc;for(var _0x5ed44c=_0x4bf46e>0x1?void 0x0:_0x4bf46e?Xi(_0xe3dbd3,_0x6b6f22):_0xe3dbd3,_0x97a2bc=_0x561be3[_0x3e9f57(0x31b)]-0x1,_0x122f99;_0x97a2bc>=0x0;_0x97a2bc--)(_0x122f99=_0x561be3[_0x97a2bc])&&(_0x5ed44c=_0x122f99(_0x5ed44c)||_0x5ed44c);return _0x5ed44c;},Qi=(_0x12abbb,_0x3cbd5a)=>(_0x4a86c4,_0x874e0b)=>_0x3cbd5a(_0x4a86c4,_0x874e0b,_0x12abbb);let Ne=class{constructor(_0x3d1e49){var _0x14ef2b=_0x50acdc;this[_0x14ef2b(0xcc)]=_0x3d1e49,this[_0x14ef2b(0x79)]();}[_0x50acdc(0x79)](){var _0x13380f=_0x50acdc;this[_0x13380f(0xcc)][_0x13380f(0x377)]({'interceptor':(_0x4c699d,_0x975324)=>{var _0x5a08d1=_0x13380f;const _0x5c715f=_0x4c699d['headers'],_0xc3528c=Ji();return _0xc3528c&&_0x5c715f[_0x5a08d1(0x19b)](_0x5a08d1(0x197),_0xc3528c),_0x975324(_0x4c699d);}});}};Ne=Zi([Qi(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)]))],Ne);var en=Object[_0x50acdc(0x1c4)],tn=(_0x13fbf8,_0x26e2f9,_0xc0af33,_0xbc4d48)=>{for(var _0x4ee587=_0xbc4d48>0x1?void 0x0:_0xbc4d48?en(_0x26e2f9,_0xc0af33):_0x26e2f9,_0x589da=_0x13fbf8['length']-0x1,_0x2d1f2b;_0x589da>=0x0;_0x589da--)(_0x2d1f2b=_0x13fbf8[_0x589da])&&(_0x4ee587=_0x2d1f2b(_0x4ee587)||_0x4ee587);return _0x4ee587;},we=(_0x2f7760,_0x49d285)=>(_0x9957e8,_0x23413a)=>_0x49d285(_0x9957e8,_0x23413a,_0x2f7760);exports['DataLoaderService']=class extends a[_0x50acdc(0x1fa)]{constructor(_0x279703,_0xb6d641,_0xb62390){var _0x15fc6b=_0x50acdc;super(),A(this,_0x15fc6b(0x2df),new H[(_0x15fc6b(0x1ea))](null)),A(this,_0x15fc6b(0x257),this[_0x15fc6b(0x2df)][_0x15fc6b(0x1c8)]()),(this[_0x15fc6b(0x164)]=_0x279703,this['_snapshotService']=_0xb6d641,this['_localCacheService']=_0xb62390);}async['loadUnitOfRevision'](_0x52adb8,_0x58691c,_0x564092){var _0x4d1c6e=_0x50acdc;this[_0x4d1c6e(0x2df)][_0x4d1c6e(0x30b)]({'unitId':_0x52adb8,'type':_0x58691c});let _0x5373ee=null;switch(_0x58691c){case J[_0x4d1c6e(0x2f3)]:{_0x5373ee=await this['_snapshotService']['loadSheet'](_0x52adb8,_0x564092);break;}case J[_0x4d1c6e(0x1c5)]:{_0x5373ee=await this[_0x4d1c6e(0x2f7)][_0x4d1c6e(0x1c1)](_0x52adb8,_0x564092);break;}default:{this['_logService'][_0x4d1c6e(0x253)](_0x4d1c6e(0x14f),'Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');break;}}return _0x5373ee;}async[_0x50acdc(0x1f8)](_0x395088,_0x4ad211,_0x3e0f9f){var _0x3ce3fb=_0x50acdc,_0x545fa3;this[_0x3ce3fb(0x2df)][_0x3ce3fb(0x30b)]({'unitId':_0x395088,'type':_0x4ad211,'subUnitId':_0x3e0f9f});let _0x428aef=0x0;const _0x5c00fb=await((_0x545fa3=this['_localCacheService'])==null?void 0x0:_0x545fa3[_0x3ce3fb(0x25e)](_0x395088));return _0x5c00fb&&(_0x5c00fb[_0x3ce3fb(0xe9)]||_0x5c00fb[_0x3ce3fb(0x1db)][_0x3ce3fb(0x31b)]!==0x0)&&(_0x428aef=_0x5c00fb['rev']),_0x428aef===0x0&&this[_0x3ce3fb(0x164)][_0x3ce3fb(0x286)](_0x3ce3fb(0x14f),_0x3ce3fb(0x7c)),this[_0x3ce3fb(0x38c)](_0x395088,_0x4ad211,_0x428aef);}},exports[_0x50acdc(0x39c)]=tn([we(0x0,a[_0x50acdc(0x329)]),we(0x1,a['Inject'](p['SnapshotService'])),we(0x2,a[_0x50acdc(0x21e)](K))],exports[_0x50acdc(0x39c)]);var nn=Object[_0x50acdc(0x1c4)],rn=(_0x39f1e8,_0x50fb9a,_0x4cbee7,_0x1ed2d8)=>{var _0x1d8058=_0x50acdc;for(var _0x1f573d=_0x1ed2d8>0x1?void 0x0:_0x1ed2d8?nn(_0x50fb9a,_0x4cbee7):_0x50fb9a,_0x4664df=_0x39f1e8[_0x1d8058(0x31b)]-0x1,_0x1bfb0c;_0x4664df>=0x0;_0x4664df--)(_0x1bfb0c=_0x39f1e8[_0x4664df])&&(_0x1f573d=_0x1bfb0c(_0x1f573d)||_0x1f573d);return _0x1f573d;},Me=(_0x14a188,_0x1fd467)=>(_0x1d6878,_0x2cdc8f)=>_0x1fd467(_0x1d6878,_0x2cdc8f,_0x14a188);const sn=[_0x50acdc(0x152),'image/jpeg',_0x50acdc(0x285),_0x50acdc(0x32b),_0x50acdc(0x203)],on=0x5*0x400*0x400,an=_0x50acdc(0x22f),cn='/universer-api/file/{fileID}/sign-url';exports[_0x50acdc(0x87)]=class{constructor(_0x495edb,_0x59741c,_0x671976){var _0x12a174=_0x50acdc;A(this,_0x12a174(0xd8),0x0),A(this,'_change$',new H[(_0x12a174(0x20c))]()),A(this,_0x12a174(0x33f),this[_0x12a174(0x368)]),A(this,_0x12a174(0x2f1),new Map()),(this[_0x12a174(0xcc)]=_0x495edb,this[_0x12a174(0x7f)]=_0x59741c,this[_0x12a174(0x1d5)]=_0x671976);}[_0x50acdc(0x293)](_0x2e5d30){var _0x240759=_0x50acdc;this[_0x240759(0xd8)]=_0x2e5d30,this['_change$'][_0x240759(0x30b)](_0x2e5d30);}['getImageSourceCache'](_0x2ae114,_0x2e0256){var _0x4e50e1=_0x50acdc;if(_0x2e0256===z[_0x4e50e1(0x85)][_0x4e50e1(0x3cc)]){const _0x357f6e=new Image();return _0x357f6e[_0x4e50e1(0x38d)]=_0x2ae114,_0x357f6e;}return this[_0x4e50e1(0x2f1)][_0x4e50e1(0x230)](_0x2ae114);}[_0x50acdc(0x2b2)](_0x3914f0,_0x1fc7b9,_0x271a8f){var _0x470ef6=_0x50acdc;_0x1fc7b9===z['ImageSourceType'][_0x470ef6(0x3cc)]||_0x271a8f==null||this[_0x470ef6(0x2f1)][_0x470ef6(0x19b)](_0x3914f0,_0x271a8f);}async['getImage'](_0x5b63b6){var _0x3c75bf=_0x50acdc;try{const _0x176eaa=this[_0x3c75bf(0x1c7)](this[_0x3c75bf(0xf7)](),''+_0x5b63b6),_0x327651=(await this['_httpService'][_0x3c75bf(0x230)](_0x176eaa))[_0x3c75bf(0x3cb)];if(_0x327651[_0x3c75bf(0x253)]&&_0x327651[_0x3c75bf(0x253)][_0x3c75bf(0x156)]===dt['OK']){const _0x5ccdb8=new URL(_0x327651[_0x3c75bf(0x218)],this[_0x3c75bf(0x310)]())[_0x3c75bf(0x147)]();return Promise[_0x3c75bf(0x149)](_0x5ccdb8);}return Promise['reject'](_0x327651[_0x3c75bf(0x253)]);}catch(_0x1d13a8){return Promise[_0x3c75bf(0x188)](_0x1d13a8);}}async[_0x50acdc(0x3c8)](_0x1897b9){var _0x4f7927=_0x50acdc;let _0x585ea6='';if(!sn[_0x4f7927(0x376)](_0x1897b9[_0x4f7927(0x1e9)]))return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0xee)]));if(_0x1897b9[_0x4f7927(0x9d)]>on)return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x3cf)]));try{const _0x55d7d1=new FormData();_0x55d7d1[_0x4f7927(0x324)]('file',_0x1897b9);const _0xf889f2=this['_univerInstanceService'][_0x4f7927(0x96)](),_0x3aaaa8=_0xf889f2==null?void 0x0:_0xf889f2[_0x4f7927(0xc5)]();if(!_0x3aaaa8)throw new Error('unitId\x20is\x20not\x20found');const _0x1c6f44=this[_0x4f7927(0x39e)]()+'?size='+_0x1897b9[_0x4f7927(0x9d)][_0x4f7927(0x147)]()+_0x4f7927(0x34d)+vt[_0x4f7927(0x9b)]+_0x4f7927(0x1dd)+encodeURIComponent(_0x3aaaa8),_0x22f0ff={'body':_0x55d7d1},_0x34b2b5=(await this[_0x4f7927(0xcc)][_0x4f7927(0x288)](_0x1c6f44,_0x22f0ff))[_0x4f7927(0x3cb)];if(typeof _0x34b2b5[_0x4f7927(0x3ae)]!=_0x4f7927(0x102))return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x357)]));_0x585ea6=_0x34b2b5['FileId'];}catch{return this[_0x4f7927(0x39a)](),Promise[_0x4f7927(0x188)](new Error(z[_0x4f7927(0xeb)][_0x4f7927(0x357)]));}return new Promise((_0x5813b9,_0x5925e7)=>{var _0xffab9e=_0x4f7927;const _0x46b478=new FileReader();_0x46b478[_0xffab9e(0x20b)](_0x1897b9),_0x46b478[_0xffab9e(0x8f)]=_0x5d4cba=>{var _0x5b22b6=_0xffab9e,_0x93028b;const _0x5a1ea5=(_0x93028b=_0x5d4cba[_0x5b22b6(0xc9)])==null?void 0x0:_0x93028b['result'];if(_0x5a1ea5==null){this['_decreaseWaiting'](),_0x5925e7(new Error(z[_0x5b22b6(0xeb)][_0x5b22b6(0x357)]));return;}const _0x2c6f9a=a[_0x5b22b6(0x14a)](0x6);_0x5813b9({'imageId':_0x2c6f9a,'imageSourceType':z['ImageSourceType'][_0x5b22b6(0x266)],'source':_0x585ea6,'base64Cache':_0x5a1ea5,'status':z[_0x5b22b6(0xeb)][_0x5b22b6(0x1dc)]}),this['_decreaseWaiting']();};});}[_0x50acdc(0x39e)](){var _0xe9038=_0x50acdc,_0x2f1b2f;const _0x5550c6=this[_0xe9038(0x7f)][_0xe9038(0x279)](Y);return(_0x2f1b2f=_0x5550c6==null?void 0x0:_0x5550c6['uploadFileServerUrl'])!=null?_0x2f1b2f:an;}[_0x50acdc(0xf7)](){var _0x5d97d8=_0x50acdc,_0x5e30ad;const _0x449a60=this[_0x5d97d8(0x7f)][_0x5d97d8(0x279)](Y);return(_0x5e30ad=_0x449a60==null?void 0x0:_0x449a60[_0x5d97d8(0x3b0)])!=null?_0x5e30ad:cn;}[_0x50acdc(0x310)](){var _0xd1fc1b=_0x50acdc,_0x277b39;const _0x473bcb=this[_0xd1fc1b(0x7f)][_0xd1fc1b(0x279)](Y);return(_0x277b39=_0x473bcb==null?void 0x0:_0x473bcb[_0xd1fc1b(0xb7)])!=null?_0x277b39:location[_0xd1fc1b(0x11c)];}['_replaceFileID'](_0x2c5eff,_0x2c197e){var _0x523057=_0x50acdc;return _0x2c5eff[_0x523057(0x2ca)](_0x523057(0x349),_0x2c197e);}[_0x50acdc(0x39a)](){var _0x7bc5ba=_0x50acdc;this[_0x7bc5ba(0xd8)]-=0x1,this[_0x7bc5ba(0x368)][_0x7bc5ba(0x30b)](this[_0x7bc5ba(0xd8)]);}},exports[_0x50acdc(0x87)]=rn([Me(0x0,a[_0x50acdc(0x93)](q[_0x50acdc(0x2eb)])),Me(0x1,a[_0x50acdc(0xda)]),Me(0x2,a[_0x50acdc(0x93)](a[_0x50acdc(0xa5)]))],exports[_0x50acdc(0x87)]);var hn=Object[_0x50acdc(0x1c4)],_n=(_0x541a65,_0x62c34b,_0x3af5fa,_0x177323)=>{var _0x261d33=_0x50acdc;for(var _0x21d003=_0x177323>0x1?void 0x0:_0x177323?hn(_0x62c34b,_0x3af5fa):_0x62c34b,_0x4832df=_0x541a65[_0x261d33(0x31b)]-0x1,_0x5f29df;_0x4832df>=0x0;_0x4832df--)(_0x5f29df=_0x541a65[_0x4832df])&&(_0x21d003=_0x5f29df(_0x21d003)||_0x21d003);return _0x21d003;},ot=(_0x427c89,_0x30fd41)=>(_0x1284f3,_0x27a34e)=>_0x30fd41(_0x1284f3,_0x27a34e,_0x427c89);const ln=_0x50acdc(0x97);exports[_0x50acdc(0x167)]=class{constructor(_0x3c90e4,_0x53baae){var _0x3a0b94=_0x50acdc;this[_0x3a0b94(0x7f)]=_0x3c90e4,this[_0x3a0b94(0x35c)]=_0x53baae;}[_0x50acdc(0x117)](){var _0x486b38=_0x50acdc,_0x32af03;const _0x23f6d1=this[_0x486b38(0x7f)][_0x486b38(0x279)](Y);return(_0x32af03=_0x23f6d1==null?void 0x0:_0x23f6d1[_0x486b38(0x399)])!=null?_0x32af03:ln;}async[_0x50acdc(0x31e)](_0x45a2d1){var _0x3ef6eb=_0x50acdc;const _0x5bc9f2=this[_0x3ef6eb(0x117)]()+_0x3ef6eb(0x332);return{'list':[{'title':_0x3ef6eb(0xec),'mentions':(await this[_0x3ef6eb(0x35c)][_0x3ef6eb(0x230)](_0x5bc9f2,{'params':{'objectID':_0x45a2d1[_0x3ef6eb(0x13f)],'unitID':_0x45a2d1[_0x3ef6eb(0x13f)]}}))[_0x3ef6eb(0x3cb)][_0x3ef6eb(0xb1)][_0x3ef6eb(0x2cc)](_0x3bea0a=>({'objectId':_0x3bea0a['id'],'name':_0x3bea0a['subject'][_0x3ef6eb(0x270)],'metadata':{'icon':_0x3bea0a[_0x3ef6eb(0x2f5)][_0x3ef6eb(0x3b1)]},'label':_0x3bea0a[_0x3ef6eb(0x2f5)][_0x3ef6eb(0x270)],'objectType':a['MentionType'][_0x3ef6eb(0x3ed)]})),'metadata':{},'type':a[_0x3ef6eb(0x24b)][_0x3ef6eb(0x3ed)]}]};}},exports[_0x50acdc(0x167)]=_n([ot(0x0,a[_0x50acdc(0x93)](a[_0x50acdc(0xda)])),ot(0x1,a['Inject'](q[_0x50acdc(0x2eb)]))],exports['MentionIoHttpService']);var un=Object['getOwnPropertyDescriptor'],dn=(_0x401670,_0x5cf54e,_0x22f483,_0x1376ce)=>{for(var _0x584f2a=_0x1376ce>0x1?void 0x0:_0x1376ce?un(_0x5cf54e,_0x22f483):_0x5cf54e,_0x28b57f=_0x401670['length']-0x1,_0x142c38;_0x28b57f>=0x0;_0x28b57f--)(_0x142c38=_0x401670[_0x28b57f])&&(_0x584f2a=_0x142c38(_0x584f2a)||_0x584f2a);return _0x584f2a;},le=(_0x4294d9,_0x339168)=>(_0x513d03,_0x228fbb)=>_0x339168(_0x513d03,_0x228fbb,_0x4294d9);let De=class extends a[_0x50acdc(0x1fa)]{constructor(_0x2690a1,_0x11b9a4,_0x4d8bb2,_0x4c6e3f,_0x13818e){var _0x33713a=_0x50acdc;super(),this['_injector']=_0x2690a1,this[_0x33713a(0x1d5)]=_0x11b9a4,this[_0x33713a(0x185)]=_0x4d8bb2,this['_collaborationSessionService']=_0x4c6e3f,this[_0x33713a(0x22b)]=_0x13818e,this[_0x33713a(0x155)](),this['_initCloseConn']();}[_0x50acdc(0x382)](){var _0x5a75e8=_0x50acdc;const _0x39e15a=async _0x30f919=>{var _0x40201d=_0x5520;(await this[_0x40201d(0x2f0)]['requireSession'](_0x30f919))['event$'][_0x40201d(0x34b)](V[_0x40201d(0x372)](_0x298d0b=>_0x298d0b[_0x40201d(0x12e)]===p['CollaborationEvent'][_0x40201d(0x259)]),V['takeUntil'](this[_0x40201d(0x1a5)]))[_0x40201d(0x393)](_0x10106e=>{var _0x21ba8f=_0x40201d;const _0x436106=_0x10106e,{reason:_0x520905}=_0x436106[_0x21ba8f(0x33e)];this[_0x21ba8f(0x22b)][_0x21ba8f(0xc2)]({'id':Z['CLOSE_ROOM'],'data':_0x520905}),this['_permissionService'][_0x21ba8f(0x3bd)](new X[(_0x21ba8f(0x2c7))](_0x30f919)['id'],!0x1),this['_collaborationSessionService']['closeSession'](_0x30f919);});};H['merge'](this[_0x5a75e8(0x1d5)][_0x5a75e8(0x27e)](a['UniverInstanceType'][_0x5a75e8(0x2f3)]),this[_0x5a75e8(0x1d5)][_0x5a75e8(0x27e)](a['UniverInstanceType'][_0x5a75e8(0x1c5)]))[_0x5a75e8(0x34b)](V[_0x5a75e8(0x2cc)](_0x56daa4=>_0x56daa4[_0x5a75e8(0xc5)]()),V[_0x5a75e8(0x372)](_0x34513e=>!a[_0x5a75e8(0x173)](_0x34513e)),V[_0x5a75e8(0x2bf)](this[_0x5a75e8(0x1a5)]))[_0x5a75e8(0x393)](_0x36e376=>{_0x39e15a(_0x36e376);});}['_initUnitPermissionChange'](){var _0x3cc4bb=_0x50acdc;const _0x453ab1=async _0x5e9417=>{var _0x4743a6=_0x5520;const _0x939b9d=await this[_0x4743a6(0x2f0)][_0x4743a6(0x2b6)](_0x5e9417),_0x3a7adf=this[_0x4743a6(0xf3)][_0x4743a6(0x230)](X[_0x4743a6(0x300)]);_0x939b9d[_0x4743a6(0x291)]['pipe'](V[_0x4743a6(0x372)](_0xc1038b=>_0xc1038b[_0x4743a6(0x12e)]===p[_0x4743a6(0x2d7)][_0x4743a6(0x14c)]),V['takeUntil'](this[_0x4743a6(0x1a5)]))[_0x4743a6(0x393)](_0x296744=>{var _0x5ef469=_0x4743a6;const _0x1ed77f=_0x296744,{objectId:_0x1dbaf6}=_0x1ed77f[_0x5ef469(0x33e)];_0x1dbaf6===_0x5e9417?_0x3a7adf[_0x5ef469(0x348)](_0x5e9417):_0x3a7adf[_0x5ef469(0x284)](_0x5e9417,_0x1dbaf6);});};H[_0x3cc4bb(0x27b)](this['_univerInstanceService']['getTypeOfUnitAdded$'](a[_0x3cc4bb(0x2cf)][_0x3cc4bb(0x2f3)]))[_0x3cc4bb(0x34b)](V[_0x3cc4bb(0x2cc)](_0x460cb3=>_0x460cb3[_0x3cc4bb(0xc5)]()),V[_0x3cc4bb(0x372)](_0x383c9c=>!a[_0x3cc4bb(0x173)](_0x383c9c)),V[_0x3cc4bb(0x2bf)](this[_0x3cc4bb(0x1a5)]))['subscribe'](_0x30441d=>{_0x453ab1(_0x30441d);});}};De=dn([le(0x0,a['Inject'](a['Injector'])),le(0x1,a[_0x50acdc(0xa5)]),le(0x2,a[_0x50acdc(0x158)]),le(0x3,a[_0x50acdc(0x93)](exports['CollaborationSessionService'])),le(0x4,a[_0x50acdc(0x93)](ee))],De);var vn=Object[_0x50acdc(0x1c4)],Sn=(_0x25190f,_0x11b61a,_0x44c008,_0x5c2fde)=>{var _0x359e7b=_0x50acdc;for(var _0x38efc7=_0x5c2fde>0x1?void 0x0:_0x5c2fde?vn(_0x11b61a,_0x44c008):_0x11b61a,_0x7ce676=_0x25190f[_0x359e7b(0x31b)]-0x1,_0x5c6a9d;_0x7ce676>=0x0;_0x7ce676--)(_0x5c6a9d=_0x25190f[_0x7ce676])&&(_0x38efc7=_0x5c6a9d(_0x38efc7)||_0x38efc7);return _0x38efc7;},at=(_0x52f68f,_0x530a78)=>(_0x18504e,_0x5c018e)=>_0x530a78(_0x18504e,_0x5c018e,_0x52f68f);exports[_0x50acdc(0xd9)]=class{constructor(_0x408412,_0x5c8d2f){var _0x215823=_0x50acdc;this[_0x215823(0x7f)]=_0x408412,this[_0x215823(0xcc)]=_0x5c8d2f;}async[_0x50acdc(0x82)](_0x4e17b0,_0x3b2f46){var _0x51a9e7=_0x50acdc,_0x48cb9b;const {unitID:_0x587781,type:_0x48fe11,revision:_0x2a3b0c=0x0}=_0x3b2f46,_0x5affc9=this[_0x51a9e7(0x2ea)]()+'/'+_0x48fe11+_0x51a9e7(0xfc)+_0x587781+_0x51a9e7(0x3a4)+_0x2a3b0c,_0x1000a3=(await this[_0x51a9e7(0xcc)][_0x51a9e7(0x230)](_0x5affc9))[_0x51a9e7(0x3cb)],_0x5c2369=(_0x48cb9b=_0x1000a3[_0x51a9e7(0x380)])==null?void 0x0:_0x48cb9b[_0x51a9e7(0x212)];if(_0x5c2369){const _0x2a1684=_0x5c2369==null?void 0x0:_0x5c2369[_0x51a9e7(0x1d7)],_0x3e866e=p[_0x51a9e7(0x1b7)][_0x51a9e7(0x114)](p[_0x51a9e7(0x1cc)](_0x2a1684));_0x5c2369[_0x51a9e7(0x1d7)]=_0x3e866e,Object[_0x51a9e7(0x328)](_0x5c2369[_0x51a9e7(0x3c4)])[_0x51a9e7(0x198)](([,_0x2d88c1])=>{var _0x789713=_0x51a9e7;const _0x5c6e21=_0x2d88c1[_0x789713(0x1d7)],_0x449977=p[_0x789713(0x1b7)]['encode'](p[_0x789713(0x1cc)](_0x5c6e21));_0x2d88c1['originalMeta']=_0x449977;});}return _0x1000a3;}async['getSheetBlock'](_0x519e0d,_0xb8d31d){var _0x455624=_0x50acdc;const {unitID:_0x40f365,type:_0xaa7b63,blockID:_0x70a3f3}=_0xb8d31d,_0x2fb274=this[_0x455624(0x1ec)]()+'/'+_0xaa7b63+'/unit/'+_0x40f365+_0x455624(0x268)+_0x70a3f3;return(await this[_0x455624(0xcc)][_0x455624(0x230)](_0x2fb274))['body'];}async['getDeserializedSheetBlock'](_0x252e1b,_0x5cc9be){var _0x410062=_0x50acdc;const {unitID:_0x40044c,type:_0x576b9e,blockID:_0x42dd54}=_0x5cc9be,_0x44897b=this[_0x410062(0x1ec)]()+_0x410062(0x268)+_0x576b9e+_0x410062(0xfc)+_0x40044c+_0x410062(0x268)+_0x42dd54;return(await this[_0x410062(0xcc)][_0x410062(0x230)](_0x44897b))['body'];}async[_0x50acdc(0x2ee)](_0x38458a,_0x459a19){var _0x3061d2=_0x50acdc;const {unitID:_0x557a29,type:_0x80cc10,from:_0x23df45,to:_0x23bc14}=_0x459a19,_0xbd0bdd=this[_0x3061d2(0x1ec)]()+'/'+_0x80cc10+_0x3061d2(0xfc)+_0x557a29+_0x3061d2(0xcd)+_0x23df45+'&to='+_0x23bc14;return(await this[_0x3061d2(0xcc)][_0x3061d2(0x230)](_0xbd0bdd))[_0x3061d2(0x3cb)];}[_0x50acdc(0x2ea)](){var _0x58449a=_0x50acdc,_0x15b4f8;return(_0x15b4f8=this[_0x58449a(0x7f)][_0x58449a(0x279)](Dt))!=null?_0x15b4f8:this[_0x58449a(0x1ec)]();}['_getAPIPrefix'](){var _0x4d8490=_0x50acdc,_0x209574;const _0x5b1a1d=this[_0x4d8490(0x7f)]['getConfig'](Y);return(_0x209574=_0x5b1a1d==null?void 0x0:_0x5b1a1d[_0x4d8490(0x2a5)])!=null?_0x209574:Nt;}async[_0x50acdc(0x139)](_0x45610e,_0x3fb243){var _0x4e3670=_0x50acdc;const _0x2ab7eb=_0x4e3670(0x3b3)+_0x3fb243[_0x4e3670(0x1e9)]+_0x4e3670(0xfc)+_0x3fb243[_0x4e3670(0xc1)]+_0x4e3670(0x18c);return(await this[_0x4e3670(0xcc)][_0x4e3670(0x230)](_0x2ab7eb,{'params':{'resourceId':JSON[_0x4e3670(0x8b)](_0x3fb243[_0x4e3670(0x196)])}}))[_0x4e3670(0x3cb)];}[_0x50acdc(0x17c)](){var _0x3f5f0b=_0x50acdc;throw new Error(_0x3f5f0b(0x3b4));}[_0x50acdc(0x273)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}['saveSheetBlock'](){var _0x3ffdb7=_0x50acdc;throw new Error(_0x3ffdb7(0x3b4));}[_0x50acdc(0xa3)](){var _0xf3133a=_0x50acdc;throw new Error(_0xf3133a(0x3b4));}[_0x50acdc(0x325)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x50acdc(0x292)](){var _0x52a27f=_0x50acdc;throw new Error(_0x52a27f(0x3b4));}},exports[_0x50acdc(0xd9)]=Sn([at(0x0,a[_0x50acdc(0xda)]),at(0x1,a[_0x50acdc(0x93)](q['HTTPService']))],exports[_0x50acdc(0xd9)]);var fn=Object[_0x50acdc(0x1c4)],In=(_0x8ed2d4,_0x373c9d,_0x32c272,_0x258f3)=>{var _0x839703=_0x50acdc;for(var _0x74a7b7=_0x258f3>0x1?void 0x0:_0x258f3?fn(_0x373c9d,_0x32c272):_0x373c9d,_0x18d7cf=_0x8ed2d4[_0x839703(0x31b)]-0x1,_0x1ff885;_0x18d7cf>=0x0;_0x18d7cf--)(_0x1ff885=_0x8ed2d4[_0x18d7cf])&&(_0x74a7b7=_0x1ff885(_0x74a7b7)||_0x74a7b7);return _0x74a7b7;},ue=(_0x4feea8,_0x5975dd)=>(_0x36e050,_0x5c346d)=>_0x5975dd(_0x36e050,_0x5c346d,_0x4feea8);exports[_0x50acdc(0x2c3)]=class extends a[_0x50acdc(0x2ec)]{constructor(_0x5c456b,_0x5a7e5e,_0x17eb63,_0x2caa2d,_0xe4c6c0){var _0x13a486=_0x50acdc;super(_0x5c456b,_0x5a7e5e,_0x17eb63),this['_transformService']=_0x2caa2d,this[_0x13a486(0x164)]=_0xe4c6c0;}[_0x50acdc(0x116)](_0x1fc114,_0x287379){var _0x17aa13=_0x50acdc;const _0x23bccc=this[_0x17aa13(0x2c1)](_0x1fc114);if(_0x23bccc)try{const _0x47149a=this[_0x17aa13(0x287)](_0x23bccc,_0x287379);this['_substituteUndoStack'](_0x1fc114,_0x47149a);}catch(_0x38c1e0){this[_0x17aa13(0x164)]['error']('[CollaborationUndoRedoService]',_0x38c1e0),this['_clearUndo'](_0x1fc114);}const _0x5c9e7=this['_getRedoStack'](_0x1fc114);if(_0x5c9e7)try{const _0x9e9737=this['_transformStack'](_0x5c9e7,_0x287379);this[_0x17aa13(0x39b)](_0x1fc114,_0x9e9737);}catch(_0x128288){this[_0x17aa13(0x164)][_0x17aa13(0x253)](_0x128288),this['_clearRedo'](_0x1fc114);}}[_0x50acdc(0xa8)](_0x2a0535){var _0x54e7d9=_0x50acdc;const _0x1a9351=this[_0x54e7d9(0x2c1)](_0x2a0535);_0x1a9351&&(_0x1a9351[_0x54e7d9(0x31b)]=0x0,this[_0x54e7d9(0x157)]());}[_0x50acdc(0x2f4)](_0x138a01){var _0x2cd80e=_0x50acdc;const _0xf3b745=this[_0x2cd80e(0x355)](_0x138a01);_0xf3b745&&(_0xf3b745['length']=0x0,this['_updateStatus']());}[_0x50acdc(0x88)](_0xa02c36,_0x2d91b9){var _0xe48d8a=_0x50acdc;this[_0xe48d8a(0x189)][_0xe48d8a(0x19b)](_0xa02c36,_0x2d91b9),this[_0xe48d8a(0x157)]();}[_0x50acdc(0x39b)](_0x1cfc11,_0x34a9c3){var _0x321495=_0x50acdc;this[_0x321495(0x2c4)][_0x321495(0x19b)](_0x1cfc11,_0x34a9c3),this[_0x321495(0x157)]();}[_0x50acdc(0x287)](_0x32ff51,_0x2400f1){var _0x1f44b1=_0x50acdc;const _0x22012d=[];let _0x26ed09=_0x2400f1,_0x295f4d=_0x2400f1;for(let _0x366c6c=_0x32ff51[_0x1f44b1(0x31b)]-0x1;_0x366c6c>=0x0;_0x366c6c--){const {unitID:_0x3830f1,undoMutations:_0x4931eb,redoMutations:_0x40d48a}=_0x32ff51[_0x366c6c],_0x41e760=this['_transformService']['transformMutationsWithChangeset'](_0x26ed09,_0x4931eb),_0x58f94b=this[_0x1f44b1(0x275)][_0x1f44b1(0x3a2)](_0x295f4d,_0x40d48a);if(p[_0x1f44b1(0x1ce)](_0x41e760)||p[_0x1f44b1(0x1ce)](_0x58f94b)){this[_0x1f44b1(0x164)][_0x1f44b1(0x253)](_0x1f44b1(0x3c7),_0x1f44b1(0x345),_0x41e760,_0x58f94b);break;}_0x26ed09=_0x41e760[_0x1f44b1(0xb4)],_0x295f4d=_0x58f94b['c1Prime'],_0x22012d[_0x1f44b1(0x3a3)]({'unitID':_0x3830f1,'undoMutations':_0x41e760['m2Prime'],'redoMutations':_0x58f94b['m2Prime']});}return _0x22012d[_0x1f44b1(0x2fe)]();}},exports[_0x50acdc(0x2c3)]=In([ue(0x0,a[_0x50acdc(0xa5)]),ue(0x1,a['ICommandService']),ue(0x2,a['IContextService']),ue(0x3,p[_0x50acdc(0x19a)]),ue(0x4,a['ILogService'])],exports['CollaborativeUndoRedoService']);var pn=Object[_0x50acdc(0x26c)],mn=Object[_0x50acdc(0x1c4)],gn=(_0x1f30f5,_0x35fb64,_0x4c1f51)=>_0x35fb64 in _0x1f30f5?pn(_0x1f30f5,_0x35fb64,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c1f51}):_0x1f30f5[_0x35fb64]=_0x4c1f51,En=(_0x1eff4a,_0x173d96,_0x235a31,_0x54f27f)=>{var _0x1c487d=_0x50acdc;for(var _0x216d6c=_0x54f27f>0x1?void 0x0:_0x54f27f?mn(_0x173d96,_0x235a31):_0x173d96,_0x4e3e0e=_0x1eff4a[_0x1c487d(0x31b)]-0x1,_0x2bf53c;_0x4e3e0e>=0x0;_0x4e3e0e--)(_0x2bf53c=_0x1eff4a[_0x4e3e0e])&&(_0x216d6c=_0x2bf53c(_0x216d6c)||_0x216d6c);return _0x216d6c;},Le=(_0x4b253c,_0x10aaab)=>(_0x57d72d,_0x3bfd04)=>_0x10aaab(_0x57d72d,_0x3bfd04,_0x4b253c),Cn=(_0x1a304b,_0x56fad,_0x5ca5f7)=>gn(_0x1a304b,_0x56fad+'',_0x5ca5f7);const Tn=_0x50acdc(0x1ad);exports[_0x50acdc(0x1da)]=class extends a[_0x50acdc(0x1fd)]{constructor(_0x2dcc71,_0x41d5a8,_0x1a05da,_0xf22f26){var _0x2e0e2c=_0x50acdc;super(),A(this,_0x2e0e2c(0x27a)),(this['_logService']=_0x41d5a8,this[_0x2e0e2c(0xf3)]=_0x1a05da,this['_configService']=_0xf22f26);const {..._0x57fdc0}=a[_0x2e0e2c(0x27b)]({},Zt,_0x2dcc71);if(!_0x57fdc0[_0x2e0e2c(0x18b)])throw new Error('[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!');this[_0x2e0e2c(0x27a)]=_0x57fdc0,this[_0x2e0e2c(0x7f)][_0x2e0e2c(0x18a)](Y,_0x57fdc0);}['onStarting'](){var _0x414405=_0x50acdc;this[_0x414405(0x73)](),this[_0x414405(0x2ba)]();}[_0x50acdc(0x73)](){var _0x1813cc=_0x50acdc,_0x80588c,_0x19e1b1;this['_injector'][_0x1813cc(0x6f)](a[_0x1813cc(0x160)])&&this[_0x1813cc(0x164)]['error']('[UniverCollaborationClientPlugin]',_0x1813cc(0x2c0));const _0x3494c4=a[_0x1813cc(0x271)]([[a[_0x1813cc(0x160)],{'useClass':exports[_0x1813cc(0x2c3)]}],[exports[_0x1813cc(0x71)]],[exports[_0x1813cc(0x36b)]],[exports[_0x1813cc(0x26a)]],[ye],[Ne],[$e],[De],[ee],[exports['DataLoaderService']],[Fe,{'useClass':this[_0x1813cc(0x27a)][_0x1813cc(0x18b)]}],[p['ISnapshotServerService'],{'useClass':exports[_0x1813cc(0xd9)]}],[a[_0x1813cc(0x9f)],{'useClass':exports[_0x1813cc(0x225)]}],[z[_0x1813cc(0x331)],{'useClass':exports['CollaborationImageIoService']}],[a[_0x1813cc(0xe3)],{'useClass':exports[_0x1813cc(0x167)]}],[exports[_0x1813cc(0x361)]],[xe]],(_0x80588c=this[_0x1813cc(0x27a)])==null?void 0x0:_0x80588c['override']);if(!((_0x19e1b1=this[_0x1813cc(0x27a)])!=null&&_0x19e1b1[_0x1813cc(0x2fa)])){const _0x7cbc7b=_0x3494c4['findIndex'](([_0x566dc3])=>_0x566dc3===de);_0x7cbc7b!==-0x1&&_0x3494c4[_0x1813cc(0x17d)](_0x7cbc7b,0x1);}a['registerDependencies'](this[_0x1813cc(0xf3)],_0x3494c4);}[_0x50acdc(0x2ba)](){var _0x5c8a7f=_0x50acdc,_0x17601e,_0x69c000,_0x3f9365;this[_0x5c8a7f(0xf3)]['get'](q[_0x5c8a7f(0x2eb)])['registerHTTPInterceptor']({'priority':0x14,'interceptor':q[_0x5c8a7f(0x239)]({'maxParallel':0x6})}),(_0x17601e=this[_0x5c8a7f(0x27a)])!=null&&_0x17601e[_0x5c8a7f(0x38b)]||(_0x69c000=this[_0x5c8a7f(0xf3)][_0x5c8a7f(0x230)](K,a['Quantity'][_0x5c8a7f(0x1b3)]))==null||_0x69c000[_0x5c8a7f(0x296)](),(_0x3f9365=this['_config'])!=null&&_0x3f9365[_0x5c8a7f(0x354)]&&a[_0x5c8a7f(0x304)](this[_0x5c8a7f(0xf3)],[[ye]]),a[_0x5c8a7f(0x304)](this[_0x5c8a7f(0xf3)],[[Ne],[exports[_0x5c8a7f(0x361)]],[De]]);}},Cn(exports['UniverCollaborationClientPlugin'],'pluginName',Tn),exports[_0x50acdc(0x1da)]=En([a['DependentOn'](p['UniverCollaborationPlugin'],q[_0x50acdc(0x11f)]),Le(0x1,a[_0x50acdc(0x329)]),Le(0x2,a[_0x50acdc(0x93)](a[_0x50acdc(0x238)])),Le(0x3,a[_0x50acdc(0xda)])],exports['UniverCollaborationClientPlugin']),exports[_0x50acdc(0xf5)]=Y,exports[_0x50acdc(0x2a8)]=je,exports[_0x50acdc(0x36f)]=Z,exports[_0x50acdc(0x1e7)]=ee,exports[_0x50acdc(0x25b)]=$e,exports[_0x50acdc(0x367)]=ht,exports[_0x50acdc(0x2e6)]=jt,exports[_0x50acdc(0x28f)]=At,exports[_0x50acdc(0x39f)]=_t,exports[_0x50acdc(0x18f)]=ke,exports['ICollaborationSocketService']=Fe,exports[_0x50acdc(0x13b)]=K,exports[_0x50acdc(0x103)]=pt,exports['ISingleActiveUnitService']=de,exports[_0x50acdc(0x89)]=xt,exports[_0x50acdc(0x92)]=Lt,exports['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']=Ht,exports[_0x50acdc(0x320)]=ut,exports[_0x50acdc(0x221)]=re,exports[_0x50acdc(0xd0)]=He,exports[_0x50acdc(0x326)]=mt,exports[_0x50acdc(0x10e)]=Kt,exports[_0x50acdc(0x30e)]=gt;
1
+ 'use strict';var _0x7a3069=_0x2a39;(function(_0x3382cd,_0x5c590e){var _0x289bce=_0x2a39,_0x44d984=_0x3382cd();while(!![]){try{var _0x3d6495=-parseInt(_0x289bce(0x200))/0x1+-parseInt(_0x289bce(0x1a5))/0x2+parseInt(_0x289bce(0x160))/0x3+-parseInt(_0x289bce(0x94))/0x4+-parseInt(_0x289bce(0x355))/0x5*(parseInt(_0x289bce(0x21f))/0x6)+parseInt(_0x289bce(0x227))/0x7*(-parseInt(_0x289bce(0x36b))/0x8)+parseInt(_0x289bce(0x150))/0x9;if(_0x3d6495===_0x5c590e)break;else _0x44d984['push'](_0x44d984['shift']());}catch(_0x4c9020){_0x44d984['push'](_0x44d984['shift']());}}}(_0x3f78,0xd159c));var bt=Object[_0x7a3069(0x33f)],Ot=(_0x5df478,_0x221464,_0x183d15)=>_0x221464 in _0x5df478?bt(_0x5df478,_0x221464,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x183d15}):_0x5df478[_0x221464]=_0x183d15,A=(_0x1a1178,_0x3ea606,_0x593037)=>Ot(_0x1a1178,typeof _0x3ea606!=_0x7a3069(0x3a1)?_0x3ea606+'':_0x3ea606,_0x593037);Object[_0x7a3069(0x33f)](exports,Symbol[_0x7a3069(0x3b9)],{'value':_0x7a3069(0x21d)});const p=require('@univerjs-pro/collaboration'),a=require('@univerjs/core'),ct=require('@univerjs/docs'),X=require('@univerjs/sheets'),H=require('rxjs'),Rt=require('@univerjs/telemetry'),V=require('rxjs/operators'),q=require('@univerjs/network'),z=require('@univerjs/drawing'),yt=require('@univerjs-pro/license'),Nt=_0x7a3069(0x365),Dt='SNAPSHOT_URL_KEY',Ut=0x7d0,ht=_0x7a3069(0x286),At=_0x7a3069(0x133),_t=_0x7a3069(0x20b),Pt=0x7530,ke=_0x7a3069(0xf8),lt=0x4e20,wt=0x4e20,ut='RETRY_CONNECTING_MAX_COUNT',Mt=0x3,Lt=_0x7a3069(0x111),xt=0x3e8,kt='/universer-api/comb',$t=_0x7a3069(0x18d),Ht=_0x7a3069(0x1f4),jt=_0x7a3069(0x91);var dt=(_0x720691=>(_0x720691[_0x720691['UNDEFINED']=0x0]=_0x7a3069(0xc8),_0x720691[_0x720691['OK']=0x1]='OK',_0x720691[_0x720691['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x720691[_0x720691['PERMISSION_DENIED']=0x3]=_0x7a3069(0xd5),_0x720691[_0x720691['NOT_FOUND']=0x4]='NOT_FOUND',_0x720691[_0x720691['UNAUTHENTICATED']=0x5]=_0x7a3069(0x35a),_0x720691[_0x720691[_0x7a3069(0x7b)]=0x6]=_0x7a3069(0x7b),_0x720691[_0x720691[_0x7a3069(0x37e)]=0x7]=_0x7a3069(0x37e),_0x720691[_0x720691['TOO_MANY_REQUESTS']=0x8]=_0x7a3069(0x3a2),_0x720691[_0x720691[_0x7a3069(0x14f)]=0x9]=_0x7a3069(0x14f),_0x720691[_0x720691['LOGIN_FAILED']=0xa]=_0x7a3069(0x276),_0x720691[_0x720691[_0x7a3069(0x24c)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x720691[_0x720691[_0x7a3069(0x13b)]=0xc]=_0x7a3069(0x13b),_0x720691[_0x720691['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x7a3069(0x1f9),_0x720691[_0x720691[_0x7a3069(0x36c)]=0xe]=_0x7a3069(0x36c),_0x720691[_0x720691[_0x7a3069(0x8f)]=0x1389]=_0x7a3069(0x8f),_0x720691[_0x720691['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x720691[_0x720691['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x720691[_0x720691[_0x7a3069(0xd0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x720691[_0x720691['APPLY_REJECT']=0x1b59]=_0x7a3069(0x122),_0x720691[_0x720691['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x7a3069(0x187),_0x720691[_0x720691[_0x7a3069(0x2d8)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x720691[_0x720691['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x7a3069(0xe6),_0x720691[_0x720691[_0x7a3069(0x396)]=0x1b5d]=_0x7a3069(0x396),_0x720691[_0x720691[_0x7a3069(0x2b4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x720691[_0x720691[_0x7a3069(0x281)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x720691[_0x720691['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x7a3069(0x15a),_0x720691[_0x720691['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x720691[_0x720691['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x7a3069(0x3ba),_0x720691[_0x720691['LICENSE_DISTRO_REJECTED']=0x232d]=_0x7a3069(0x2cb),_0x720691[_0x720691['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x720691[_0x720691[_0x7a3069(0x139)]=0x2712]=_0x7a3069(0x139),_0x720691[_0x720691[_0x7a3069(0x359)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x720691[_0x720691[_0x7a3069(0x2a1)]=0x2714]=_0x7a3069(0x2a1),_0x720691[_0x720691[_0x7a3069(0x18f)]=0x271a]=_0x7a3069(0x18f),_0x720691[_0x720691[_0x7a3069(0x1e2)]=0x271b]=_0x7a3069(0x1e2),_0x720691[_0x720691[_0x7a3069(0x288)]=0x271c]=_0x7a3069(0x288),_0x720691[_0x720691[_0x7a3069(0x378)]=0x271d]=_0x7a3069(0x378),_0x720691[_0x720691[_0x7a3069(0x2e5)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x720691[_0x720691['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x720691[_0x720691['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x7a3069(0x17f),_0x720691[_0x720691[_0x7a3069(0x3a8)]=0x2af9]=_0x7a3069(0x3a8),_0x720691[_0x720691['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x7a3069(0x100),_0x720691[_0x720691[_0x7a3069(0x3c0)]=0x2ee2]=_0x7a3069(0x3c0),_0x720691[_0x720691[_0x7a3069(0x149)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x720691[_0x720691[_0x7a3069(0xca)]=0x2ee4]=_0x7a3069(0xca),_0x720691[_0x720691[_0x7a3069(0x188)]=0x2ee5]=_0x7a3069(0x188),_0x720691[_0x720691[_0x7a3069(0x237)]=0x32c9]=_0x7a3069(0x237),_0x720691[_0x720691[_0x7a3069(0x209)]=0x32ca]=_0x7a3069(0x209),_0x720691[_0x720691['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x720691[_0x720691[_0x7a3069(0x2c2)]=-0x1]=_0x7a3069(0x2c2),_0x720691))(dt||{}),J=(_0x4637d0=>(_0x4637d0[_0x4637d0[_0x7a3069(0x2c8)]=0x0]=_0x7a3069(0x2c8),_0x4637d0[_0x4637d0[_0x7a3069(0x1bf)]=0x1]=_0x7a3069(0x1bf),_0x4637d0[_0x4637d0[_0x7a3069(0x32a)]=0x2]=_0x7a3069(0x32a),_0x4637d0[_0x4637d0[_0x7a3069(0x3b5)]=0x3]='UNIVER_SLIDE',_0x4637d0[_0x4637d0[_0x7a3069(0x300)]=0x4]=_0x7a3069(0x300),_0x4637d0[_0x4637d0[_0x7a3069(0x2c2)]=-0x1]='UNRECOGNIZED',_0x4637d0))(J||{}),W=(_0x7f668b=>(_0x7f668b[_0x7f668b[_0x7a3069(0x380)]=0x0]=_0x7a3069(0x380),_0x7f668b[_0x7f668b[_0x7a3069(0x38b)]=0x1]=_0x7a3069(0x38b),_0x7f668b[_0x7f668b[_0x7a3069(0x258)]=0x2]=_0x7a3069(0x258),_0x7f668b[_0x7f668b[_0x7a3069(0x302)]=0x3]=_0x7a3069(0x302),_0x7f668b[_0x7f668b[_0x7a3069(0x2c3)]=0x4]=_0x7a3069(0x2c3),_0x7f668b[_0x7f668b['HEARTBEAT']=0x5]='HEARTBEAT',_0x7f668b[_0x7f668b['RECV']=0x6]=_0x7a3069(0x377),_0x7f668b[_0x7f668b[_0x7a3069(0x2c2)]=-0x1]=_0x7a3069(0x2c2),_0x7f668b))(W||{}),se=(_0x167bb6=>(_0x167bb6[_0x167bb6[_0x7a3069(0x10c)]=0x0]=_0x7a3069(0x10c),_0x167bb6[_0x167bb6['OK']=0x1]='OK',_0x167bb6[_0x167bb6[_0x7a3069(0xcc)]=0x2]=_0x7a3069(0xcc),_0x167bb6[_0x167bb6[_0x7a3069(0x259)]=0x3e9]='JOIN_ROOM_FULL',_0x167bb6[_0x167bb6[_0x7a3069(0x344)]=0x3ea]='JOIN_ROOM_NOT_EXISTS',_0x167bb6[_0x167bb6['JOIN_ROOM_PERMISSION_DENIED']=0x3eb]=_0x7a3069(0x38a),_0x167bb6[_0x167bb6[_0x7a3069(0x34e)]=0x3ec]='GLOBAL_ROOMS_CNT_EXCEEDS',_0x167bb6[_0x167bb6['UNRECOGNIZED']=-0x1]=_0x7a3069(0x2c2),_0x167bb6))(se||{}),vt=(_0x24dd4b=>(_0x24dd4b[_0x24dd4b['Undefined']=0x0]=_0x7a3069(0xa1),_0x24dd4b[_0x24dd4b['HttpImport']=0x1]=_0x7a3069(0x2e3),_0x24dd4b[_0x24dd4b[_0x7a3069(0x1e5)]=0x2]=_0x7a3069(0x1e5),_0x24dd4b[_0x24dd4b[_0x7a3069(0x29a)]=0x3]='UnitEmbedded',_0x24dd4b[_0x24dd4b[_0x7a3069(0x12c)]=0x4]='UnitSnapshot',_0x24dd4b[_0x24dd4b[_0x7a3069(0x1d0)]=0x5]=_0x7a3069(0x1d0),_0x24dd4b[_0x24dd4b[_0x7a3069(0x2c2)]=-0x1]=_0x7a3069(0x2c2),_0x24dd4b))(vt||{});const Bt=_0x7a3069(0x1d6);function Ft(_0x46a464){var _0x38c447=_0x7a3069;return JSON[_0x38c447(0x28e)](_0x46a464)[_0x38c447(0x324)];}var Z=(_0x5f3e9e=>(_0x5f3e9e[_0x7a3069(0x375)]=_0x7a3069(0x375),_0x5f3e9e['PERMISSION_DENIED']=_0x7a3069(0xd5),_0x5f3e9e[_0x7a3069(0xe5)]=_0x7a3069(0xe5),_0x5f3e9e['CLOSE_ROOM']=_0x7a3069(0x78),_0x5f3e9e[_0x7a3069(0x21a)]='JOIN_ROOM_FAILED',_0x5f3e9e[_0x7a3069(0x77)]='SOCKET_FAILED_RETRY',_0x5f3e9e[_0x7a3069(0x14b)]=_0x7a3069(0x14b),_0x5f3e9e['SUBMIT_CHANGESET_TIMEOUT']='SUBMIT_CHANGESET_TIMEOUT',_0x5f3e9e))(Z||{});class ee{constructor(){var _0x1436cf=_0x7a3069;A(this,_0x1436cf(0x16c),new H[(_0x1436cf(0x2cd))]()),A(this,'event$',this[_0x1436cf(0x16c)]['asObservable']());}[_0x7a3069(0xe2)](_0x23be10){var _0x8e4e32=_0x7a3069;this[_0x8e4e32(0x16c)][_0x8e4e32(0x39c)](_0x23be10);}}class $e{constructor(){var _0x3259aa=_0x7a3069;A(this,_0x3259aa(0x2b0),new H[(_0x3259aa(0x2cd))]()),A(this,_0x3259aa(0xf1),this[_0x3259aa(0x2b0)][_0x3259aa(0xa9)]());}[_0x7a3069(0x7a)](_0x4f8dde){var _0x1ffc55=_0x7a3069;this[_0x1ffc55(0x2b0)][_0x1ffc55(0x39c)](_0x4f8dde);}}var Vt=Object['getOwnPropertyDescriptor'],Wt=(_0x23ec3f,_0x1c8aa0,_0x556d66,_0x1d797d)=>{var _0x16719c=_0x7a3069;for(var _0x371f37=_0x1d797d>0x1?void 0x0:_0x1d797d?Vt(_0x1c8aa0,_0x556d66):_0x1c8aa0,_0x4b7055=_0x23ec3f[_0x16719c(0x324)]-0x1,_0x1af75d;_0x4b7055>=0x0;_0x4b7055--)(_0x1af75d=_0x23ec3f[_0x4b7055])&&(_0x371f37=_0x1af75d(_0x371f37)||_0x371f37);return _0x371f37;},Ve=(_0x5ecd22,_0x30e476)=>(_0x3c1607,_0x805d96)=>_0x30e476(_0x3c1607,_0x805d96,_0x5ecd22);exports[_0x7a3069(0x7e)]=class extends a[_0x7a3069(0x32e)]{constructor(_0xa0ee09,_0x559ed9){var _0xb4a8f9=_0x7a3069;super(),A(this,'_roomMembers',new Map()),A(this,_0xb4a8f9(0x13e),new H['Subject']()),(this[_0xb4a8f9(0x2e6)]=_0xa0ee09,this[_0xb4a8f9(0x2d4)]=_0x559ed9,this['disposeWithMe'](H[_0xb4a8f9(0x1b9)](this[_0xb4a8f9(0x2e6)][_0xb4a8f9(0xc6)](a[_0xb4a8f9(0x1f2)][_0xb4a8f9(0x32a)])[_0xb4a8f9(0x98)](V[_0xb4a8f9(0x374)](_0xa11c86=>_0xa11c86[_0xb4a8f9(0x312)]())),this[_0xb4a8f9(0x2e6)]['getTypeOfUnitDisposed$'](a[_0xb4a8f9(0x1f2)][_0xb4a8f9(0x1bf)])[_0xb4a8f9(0x98)](V[_0xb4a8f9(0x374)](_0x9212a=>_0x9212a[_0xb4a8f9(0x312)]())),this[_0xb4a8f9(0x2e6)][_0xb4a8f9(0xc6)](a[_0xb4a8f9(0x1f2)][_0xb4a8f9(0x3b5)])['pipe'](V[_0xb4a8f9(0x374)](_0x9ee0e6=>_0x9ee0e6[_0xb4a8f9(0x312)]())))['subscribe'](_0x24a81d=>this[_0xb4a8f9(0x2b3)](_0x24a81d))));}['waitForRoom$'](_0x452bba){var _0x563e83=_0x7a3069;return this['_roomMembers'][_0x563e83(0x10d)](_0x452bba)?H['of'](this['_roomMembers'][_0x563e83(0x36a)](_0x452bba)):this[_0x563e83(0x13e)][_0x563e83(0x98)](V['map'](_0x2665d4=>{if(_0x2665d4===_0x452bba)return this['_roomMembers']['get'](_0x2665d4);}));}[_0x7a3069(0x321)](_0x33abf2){var _0x448251=_0x7a3069;this[_0x448251(0x2d4)][_0x448251(0x321)](_0x33abf2);}[_0x7a3069(0x16b)](){var _0x37aeeb=_0x7a3069;return this[_0x37aeeb(0x2d4)]['getCurrentUser']();}[_0x7a3069(0x32f)](_0xa5bec9,_0x1fef0a){var _0xf5410d=_0x7a3069;let _0x24edad=this[_0xf5410d(0xb8)][_0xf5410d(0x36a)](_0xa5bec9);_0x24edad||(_0x24edad=new Gt(),this[_0xf5410d(0xb8)][_0xf5410d(0x1cc)](_0xa5bec9,_0x24edad),this[_0xf5410d(0x13e)][_0xf5410d(0x39c)](_0xa5bec9)),_0x24edad['updateMember'](_0x1fef0a);}[_0x7a3069(0x2ae)](_0x598c62,_0x469dc0){var _0x36b4c4=_0x7a3069;const _0x7d72fb=this[_0x36b4c4(0xb8)][_0x36b4c4(0x36a)](_0x598c62);_0x7d72fb&&_0x7d72fb[_0x36b4c4(0x2ae)](_0x469dc0);}[_0x7a3069(0xdf)](_0x4e5df4){var _0x260b84=_0x7a3069;return this[_0x260b84(0xb8)][_0x260b84(0x36a)](_0x4e5df4);}[_0x7a3069(0x22d)](_0x421c92,_0x3cc1f2){var _0x31ce6a=_0x7a3069;const _0x18658f=this['_roomMembers'][_0x31ce6a(0x36a)](_0x421c92);if(_0x18658f)return _0x18658f[_0x31ce6a(0x22d)](_0x3cc1f2);}[_0x7a3069(0x2b3)](_0x333d8a){var _0x29eaed=_0x7a3069;const _0x5f1c68=this['_roomMembers'][_0x29eaed(0x36a)](_0x333d8a);_0x5f1c68&&(_0x5f1c68[_0x29eaed(0x142)](),this['_roomMembers'][_0x29eaed(0xe9)](_0x333d8a));}[_0x7a3069(0x142)](){var _0x316889=_0x7a3069;this[_0x316889(0xb8)]['forEach'](_0x22a5e4=>_0x22a5e4[_0x316889(0x142)]()),this[_0x316889(0xb8)][_0x316889(0xcf)](),this[_0x316889(0x13e)][_0x316889(0x26e)]();}},exports[_0x7a3069(0x7e)]=Wt([Ve(0x0,a['IUniverInstanceService']),Ve(0x1,a['Inject'](a[_0x7a3069(0x28f)]))],exports[_0x7a3069(0x7e)]);function _0x2a39(_0x292b98,_0x93e34a){var _0x3f7807=_0x3f78();return _0x2a39=function(_0x2a39b5,_0x352425){_0x2a39b5=_0x2a39b5-0x76;var _0x9d3c37=_0x3f7807[_0x2a39b5];return _0x9d3c37;},_0x2a39(_0x292b98,_0x93e34a);}class Gt extends a[_0x7a3069(0x32e)]{constructor(){var _0x5be1fe=_0x7a3069;super(...arguments),A(this,'_members',new Map()),A(this,_0x5be1fe(0xec),new H[(_0x5be1fe(0x292))](this[_0x5be1fe(0x28a)])),A(this,_0x5be1fe(0x135),this[_0x5be1fe(0xec)]['asObservable']());}[_0x7a3069(0x142)](){var _0x321953=_0x7a3069;this['_members'][_0x321953(0xcf)]();}[_0x7a3069(0x32f)](_0x3ed9d0){var _0x63f6d5=_0x7a3069;this['_members'][_0x63f6d5(0x1cc)](_0x3ed9d0['memberID'],_0x3ed9d0),this[_0x63f6d5(0x1f3)]();}[_0x7a3069(0x2ae)](_0x1db5fe){var _0x186c5a=_0x7a3069;this['_members'][_0x186c5a(0xe9)](_0x1db5fe);}[_0x7a3069(0x22d)](_0x1c801f){var _0x33abde=_0x7a3069;return this[_0x33abde(0x28a)][_0x33abde(0x36a)](_0x1c801f);}[_0x7a3069(0x284)](){var _0x474860=_0x7a3069;return Array[_0x474860(0x13a)](this[_0x474860(0x28a)][_0x474860(0x8c)]());}[_0x7a3069(0x1f3)](){var _0x4359da=_0x7a3069;this[_0x4359da(0xec)][_0x4359da(0x39c)](this[_0x4359da(0x28a)]);}}var Yt=Object[_0x7a3069(0x23e)],qt=(_0x478f97,_0x38def6,_0x5e0907,_0x5e492c)=>{var _0x6c719f=_0x7a3069;for(var _0x4055a5=_0x5e492c>0x1?void 0x0:_0x5e492c?Yt(_0x38def6,_0x5e0907):_0x38def6,_0x8ee3a2=_0x478f97[_0x6c719f(0x324)]-0x1,_0x14a687;_0x8ee3a2>=0x0;_0x8ee3a2--)(_0x14a687=_0x478f97[_0x8ee3a2])&&(_0x4055a5=_0x14a687(_0x4055a5)||_0x4055a5);return _0x4055a5;},ce=(_0x5dad80,_0x5b9ff1)=>(_0x31831d,_0x39ad1e)=>_0x5b9ff1(_0x31831d,_0x39ad1e,_0x5dad80),re=(_0x4a8248=>(_0x4a8248[_0x4a8248[_0x7a3069(0x3bc)]=0x0]='IDLE',_0x4a8248[_0x4a8248[_0x7a3069(0x25e)]=0x1]=_0x7a3069(0x25e),_0x4a8248[_0x4a8248[_0x7a3069(0x3b2)]=0x2]=_0x7a3069(0x3b2),_0x4a8248[_0x4a8248[_0x7a3069(0x310)]=0x3]=_0x7a3069(0x310),_0x4a8248))(re||{});const We={[se['FAIL']]:_0x7a3069(0x23f),[se[_0x7a3069(0x259)]]:_0x7a3069(0x26b),[se[_0x7a3069(0x344)]]:_0x7a3069(0x1a3),[se['JOIN_ROOM_PERMISSION_DENIED']]:_0x7a3069(0x1ce),[se['GLOBAL_ROOMS_CNT_EXCEEDS']]:'session.room-cnt-exceeds'};exports[_0x7a3069(0x177)]=class extends a[_0x7a3069(0x14e)]{constructor(_0x271e65,_0x430998,_0x72b007,_0x1b740b,_0x4ae2f3,_0x4a4926,_0x4be864,_0x4425d0){var _0x4df239=_0x7a3069;super(),A(this,_0x4df239(0x2ee),new H[(_0x4df239(0x292))](0x0)),A(this,_0x4df239(0x2e0),this[_0x4df239(0x2ee)][_0x4df239(0xa9)]()),A(this,_0x4df239(0x16c),new H[(_0x4df239(0x2cd))]()),A(this,_0x4df239(0x15d),this['_event$'][_0x4df239(0xa9)]()),A(this,_0x4df239(0x384)),A(this,_0x4df239(0x2a4)),A(this,_0x4df239(0x34d)),A(this,_0x4df239(0x1d4),!0x1),A(this,_0x4df239(0x3bb),null),(this[_0x4df239(0x151)]=_0x271e65,this['_logService']=_0x72b007,this['_configService']=_0x1b740b,this[_0x4df239(0x207)]=_0x4ae2f3,this[_0x4df239(0xb2)]=_0x4a4926,this[_0x4df239(0x388)]=_0x4be864,this['_telemetryService']=_0x4425d0,this[_0x4df239(0x1d4)]=!!this[_0x4df239(0x298)],_0x430998[_0x4df239(0x98)](H['takeUntil'](this['dispose$']))['subscribe'](_0x3f02be=>{var _0x156784=_0x4df239,_0x1d4d51;typeof _0x3f02be>'u'||(this[_0x156784(0x384)]=_0x3f02be,_0x3f02be?(this['_joinRoom'](_0x3f02be),this[_0x156784(0x2a4)]=_0x3f02be[_0x156784(0xbe)][_0x156784(0x22c)](_0x105911=>{var _0x3a6fe5=_0x156784;_0x105911[_0x3a6fe5(0x1c7)]===this[_0x3a6fe5(0x151)]&&this[_0x3a6fe5(0x3ab)](_0x105911);})):(this[_0x156784(0x204)](),this[_0x156784(0x2ee)][_0x156784(0x39c)](0x2),(_0x1d4d51=this[_0x156784(0x2a4)])==null||_0x1d4d51[_0x156784(0x269)](),this[_0x156784(0x2a4)]=null));}));}get[_0x7a3069(0x195)](){var _0x3ce286=_0x7a3069;return this[_0x3ce286(0x2ee)][_0x3ce286(0x1bc)]();}[_0x7a3069(0x31a)](){var _0x478c58=_0x7a3069,_0x347234,_0x20e915;return(_0x20e915=(_0x347234=this[_0x478c58(0x384)])==null?void 0x0:_0x347234[_0x478c58(0x132)])!=null?_0x20e915:null;}[_0x7a3069(0x142)](){var _0x38519c=_0x7a3069;super[_0x38519c(0x142)](),this[_0x38519c(0x391)][_0x38519c(0x39c)](),this[_0x38519c(0x391)][_0x38519c(0x26e)]();}[_0x7a3069(0x2ef)](){var _0x4bb201=_0x7a3069,_0x5cc5f1,_0x245710;this[_0x4bb201(0x204)](),(_0x5cc5f1=this[_0x4bb201(0x384)])==null||_0x5cc5f1[_0x4bb201(0xb0)]({'cmd':W[_0x4bb201(0x302)],'data':{'roomID':this[_0x4bb201(0x151)]}}),(_0x245710=this[_0x4bb201(0x384)])==null||_0x245710[_0x4bb201(0x2ef)](),this[_0x4bb201(0x16c)][_0x4bb201(0x26e)](),this[_0x4bb201(0x2ee)][_0x4bb201(0x26e)](),this[_0x4bb201(0x142)]();}['_onCombEvent'](_0x2f63de){var _0x12c95c=_0x7a3069;_0x2f63de[_0x12c95c(0x2e8)]===W[_0x12c95c(0x258)]?this[_0x12c95c(0x1db)](_0x2f63de):_0x2f63de[_0x12c95c(0x2e8)]===W['RECV']&&this[_0x12c95c(0xdc)](_0x2f63de);}[_0x7a3069(0x328)](_0xada981){var _0x38f1a7=_0x7a3069;this[_0x38f1a7(0x2ee)][_0x38f1a7(0x39c)](0x1),_0xada981[_0x38f1a7(0xb0)]({'cmd':W[_0x38f1a7(0x258)],'routeKey':this[_0x38f1a7(0x151)],'routeType':'','data':{'rooms':[{'roomID':this[_0x38f1a7(0x151)]}]}});}[_0x7a3069(0x1db)](_0x49dea3){var _0x54f934=_0x7a3069,_0x4ebd8a;if(_0x49dea3[_0x54f934(0xef)]in We){this[_0x54f934(0x388)][_0x54f934(0xe2)]({'id':Z[_0x54f934(0x21a)],'data':We[_0x49dea3[_0x54f934(0xef)]]}),this['_sessionStatus$'][_0x54f934(0x39c)](0x2);return;}this[_0x54f934(0x2ee)][_0x54f934(0x39c)](0x3);const _0x2058bc=(_0x4ebd8a=_0x49dea3[_0x54f934(0x1c0)][_0x54f934(0x2c5)][this[_0x54f934(0x151)]])==null?void 0x0:_0x4ebd8a[_0x54f934(0x24f)];_0x2058bc&&_0x2058bc[_0x54f934(0xb6)](_0x2db2c2=>this[_0x54f934(0x207)]['updateMember'](this[_0x54f934(0x151)],_0x2db2c2));}[_0x7a3069(0xdc)](_0x5054f1){var _0x3b0dd1=_0x7a3069;try{const _0xded2b7=_0x5054f1['data'];switch(_0xded2b7['eventID']){case p[_0x3b0dd1(0x278)]['USERS_ENTER']:this[_0x3b0dd1(0x330)](_0xded2b7),this[_0x3b0dd1(0x16c)][_0x3b0dd1(0x39c)](_0xded2b7);break;case p[_0x3b0dd1(0x278)][_0x3b0dd1(0x277)]:this[_0x3b0dd1(0x93)](_0xded2b7),this[_0x3b0dd1(0x16c)][_0x3b0dd1(0x39c)](_0xded2b7);break;case p[_0x3b0dd1(0x278)][_0x3b0dd1(0x257)]:case p[_0x3b0dd1(0x278)][_0x3b0dd1(0x3c6)]:this[_0x3b0dd1(0x184)](),this[_0x3b0dd1(0xaf)](),this[_0x3b0dd1(0x16c)][_0x3b0dd1(0x39c)](_0xded2b7);break;case p[_0x3b0dd1(0x278)][_0x3b0dd1(0x323)]:this[_0x3b0dd1(0x393)][_0x3b0dd1(0x331)](_0x3b0dd1(0x170)+JSON[_0x3b0dd1(0x28e)](_0xded2b7)),this[_0x3b0dd1(0x16c)][_0x3b0dd1(0x39c)](_0xded2b7);break;case p['CollaborationEvent'][_0x3b0dd1(0x37c)]:this['_commentService']['onCommentUpdate'](_0xded2b7['data']),this[_0x3b0dd1(0x16c)][_0x3b0dd1(0x39c)](_0xded2b7);break;default:this[_0x3b0dd1(0x16c)][_0x3b0dd1(0x39c)](_0xded2b7);}}catch(_0x36219f){this['_logService'][_0x3b0dd1(0x331)](_0x36219f,_0x5054f1);}}[_0x7a3069(0x330)](_0x377a08){var _0x1069bb=_0x7a3069;this[_0x1069bb(0x207)][_0x1069bb(0x32f)](this[_0x1069bb(0x151)],_0x377a08[_0x1069bb(0x1c0)]);}[_0x7a3069(0x93)](_0x2306b3){var _0x3632f6=_0x7a3069;this[_0x3632f6(0x207)]['removeMember'](this[_0x3632f6(0x151)],_0x2306b3[_0x3632f6(0x1c0)]['memberID']);}async[_0x7a3069(0xb0)](_0x5c986e,_0x40951a){var _0x31a8fb=_0x7a3069;if(this['sessionStatus']!==0x3||!this[_0x31a8fb(0x384)])throw new Error('[CollaborationSession]:\x20should\x20not\x20send\x20message\x20when\x20the\x20session\x20is\x20offline!');try{_0x5c986e[_0x31a8fb(0x2a9)]===p[_0x31a8fb(0x278)][_0x31a8fb(0x283)]&&(this[_0x31a8fb(0x35c)](),this[_0x31a8fb(0x17d)](_0x5c986e)),this['_socket']['send']({'cmd':W[_0x31a8fb(0x2c3)],'routeKey':_0x40951a,'routeType':'','data':_0x5c986e});}catch(_0x337551){this[_0x31a8fb(0x393)][_0x31a8fb(0x331)](_0x337551);}}['_scheduleCollaborationTimeoutTimer'](){var _0x4e3fde=_0x7a3069,_0x8c95c0;this[_0x4e3fde(0x34d)]=setTimeout(()=>{var _0x349ce3=_0x4e3fde;this['_collaborationTimeoutTimer']=null,this[_0x349ce3(0x388)][_0x349ce3(0xe2)]({'id':Z[_0x349ce3(0x3ad)]});},(_0x8c95c0=this['_configService'][_0x4e3fde(0x2e7)](ke))!=null?_0x8c95c0:lt);}['_clearCollaborationTimeoutTimer'](){var _0x56ee9d=_0x7a3069;this[_0x56ee9d(0x34d)]&&(clearTimeout(this['_collaborationTimeoutTimer']),this['_collaborationTimeoutTimer']=null);}['_startTelemetryCollaborationNewChangeset'](_0xe9a56){var _0x254033=_0x7a3069;if(!this['_shouldReportTelemetry'])return;const {data:_0x38e178}=_0xe9a56,{unitID:_0x21e3f4,changeset:_0x1fc393}=_0x38e178,{mutations:_0x42fb7a,type:_0x22e7eb}=_0x1fc393;this[_0x254033(0x3bb)]={'unitId':_0x21e3f4,'type':_0x22e7eb,'startTime':performance[_0x254033(0x37b)](),'stopTime':0x0,'duration':0x0,'size':Ft(_0x42fb7a)};}[_0x7a3069(0x184)](){var _0xe09663=_0x7a3069;if(this[_0xe09663(0x1d4)]){if(!this['_telemetryInfo']){this[_0xe09663(0x393)][_0xe09663(0x331)]('[CollaborationSession]',_0xe09663(0x178));return;}this[_0xe09663(0x3bb)][_0xe09663(0x395)]=performance[_0xe09663(0x37b)](),this[_0xe09663(0x3bb)][_0xe09663(0x217)]=this['_telemetryInfo']['stopTime']-this[_0xe09663(0x3bb)][_0xe09663(0x137)],this[_0xe09663(0x298)]['capture'](Bt,this[_0xe09663(0x3bb)]),this['_telemetryInfo']=null;}}[_0x7a3069(0x204)](){var _0x5f500d=_0x7a3069;this[_0x5f500d(0x3bb)]=null;}},exports[_0x7a3069(0x177)]=qt([ce(0x2,a['ILogService']),ce(0x3,a[_0x7a3069(0x183)]),ce(0x4,a[_0x7a3069(0x208)](exports[_0x7a3069(0x7e)])),ce(0x5,a[_0x7a3069(0x208)]($e)),ce(0x6,a[_0x7a3069(0x208)](ee)),ce(0x7,a['Optional'](Rt[_0x7a3069(0xf3)]))],exports['CollaborationSession']);const K=a[_0x7a3069(0x238)](_0x7a3069(0x2c6));function Kt(_0x320f04){var _0x56c990=_0x7a3069;return _0x56c990(0x2c7)+_0x320f04;}var zt=Object['getOwnPropertyDescriptor'],Jt=(_0x57c9c9,_0x3e0cfe,_0x18f931,_0x3d30cd)=>{var _0x502bc1=_0x7a3069;for(var _0x19b48b=_0x3d30cd>0x1?void 0x0:_0x3d30cd?zt(_0x3e0cfe,_0x18f931):_0x3e0cfe,_0x502c0e=_0x57c9c9[_0x502bc1(0x324)]-0x1,_0x296a20;_0x502c0e>=0x0;_0x502c0e--)(_0x296a20=_0x57c9c9[_0x502c0e])&&(_0x19b48b=_0x296a20(_0x19b48b)||_0x19b48b);return _0x19b48b;},Ue=(_0x3e718e,_0x439abb)=>(_0x1d1748,_0x326c37)=>_0x439abb(_0x1d1748,_0x326c37,_0x3e718e);function Xt(_0x414d05){var _0x3b9dc1=_0x7a3069;const {unitID:_0x1b9b72,mutations:_0x4e4c1f}=_0x414d05;return{'unitId':_0x1b9b72,'subUnitId':_0x4e4c1f[0x0]['params'][_0x3b9dc1(0x3df)]};}exports[_0x7a3069(0x176)]=class{constructor(_0x139b1e,_0x1f2850,_0x351ab9){var _0x3f600a=_0x7a3069;this[_0x3f600a(0x33a)]=_0x139b1e,this[_0x3f600a(0xfc)]=_0x1f2850,this[_0x3f600a(0x182)]=_0x351ab9;}[_0x7a3069(0x244)](_0xf7c9d7){var _0x2ba360=_0x7a3069,_0x3123e6,_0x3077f5,_0x58b117,_0x3fbd15;const _0x1d1c83=this[_0x2ba360(0x33a)][_0x2ba360(0x36a)](X[_0x2ba360(0x2ed)]),{unitId:_0x4617f0,subUnitId:_0x5b391d}=Xt(_0xf7c9d7),_0xc54086=_0x1d1c83==null?void 0x0:_0x1d1c83['getWorkbookSelections'](_0x4617f0)[_0x2ba360(0xe0)](),_0xf63619=(_0x3077f5=(_0x3123e6=this[_0x2ba360(0x182)][_0x2ba360(0x143)](_0x4617f0))==null?void 0x0:_0x3123e6[_0x2ba360(0x1d7)]())==null?void 0x0:_0x3077f5[_0x2ba360(0x113)]();if(_0xc54086[_0x2ba360(0x324)]===0x0||!_0x4617f0||!_0x5b391d)return;const _0x581868=[{'id':X[_0x2ba360(0xd2)]['id'],'params':{'unitId':_0x4617f0,'subUnitId':_0xf63619,'selections':a[_0x2ba360(0x1b1)][_0x2ba360(0x19b)](_0xc54086)}}],_0x4eeae6=this[_0x2ba360(0xfc)][_0x2ba360(0x95)](_0xf7c9d7,_0x581868);if(!p[_0x2ba360(0x194)](_0x4eeae6))throw _0x4eeae6['error'];const _0x288cea=(_0x3fbd15=(_0x58b117=_0x4eeae6[_0x2ba360(0x34c)][0x0])==null?void 0x0:_0x58b117[_0x2ba360(0x196)])==null?void 0x0:_0x3fbd15['selections'];if(Array[_0x2ba360(0x263)](_0x288cea)&&_0x288cea[_0x2ba360(0x324)]){if(_0x288cea['length']===_0x581868[0x0][_0x2ba360(0x196)][_0x2ba360(0x19e)][_0x2ba360(0x324)]&&_0x288cea[_0x2ba360(0x3c5)]((_0x541488,_0x39425a)=>a[_0x2ba360(0x2b8)][_0x2ba360(0x2f7)](_0x541488[_0x2ba360(0xbc)],_0x581868[0x0][_0x2ba360(0x196)][_0x2ba360(0x19e)][_0x39425a][_0x2ba360(0xbc)])))return;this[_0x2ba360(0x33a)][_0x2ba360(0x36a)](a[_0x2ba360(0x115)])[_0x2ba360(0x167)](X[_0x2ba360(0xd2)]['id'],{'unitId':_0x4617f0,'subUnitId':_0xf63619,'selections':_0x288cea});}}},exports[_0x7a3069(0x176)]=Jt([Ue(0x0,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),Ue(0x1,p[_0x7a3069(0x203)]),Ue(0x2,a[_0x7a3069(0x30d)])],exports['SheetTransformSelectionsService']);const de=a[_0x7a3069(0x238)]('univer-pro.collaboration-client.single-active-unit-service');var He=(_0x5e7771=>(_0x5e7771[_0x5e7771[_0x7a3069(0x366)]=0x0]=_0x7a3069(0x366),_0x5e7771[_0x5e7771[_0x7a3069(0x13c)]=0x1]='OTHER_CLIENTS_EDITING',_0x5e7771))(He||{});const Y='collaboration-client.config',Zt={},Qt=new Set([X['InsertSheetMutation']['id']]);function Ge(_0x377f64,_0x5a5b13,_0x46fc9d,_0x4e7162,_0x456bb3){var _0x449840=_0x7a3069,_0x336a3f,_0x332524,_0x414657,_0xce9532;const _0x196ea9=[];for(const _0x438cf2 of _0x377f64)if(Qt[_0x449840(0x10d)](_0x438cf2['id'])){if(_0x196ea9[_0x449840(0x324)]>0x0)break;_0x196ea9[_0x449840(0x32d)](_0x438cf2);break;}else _0x196ea9[_0x449840(0x32d)](_0x438cf2);const _0x526851=(_0x332524=(_0x336a3f=_0x456bb3[_0x449840(0x16b)]())==null?void 0x0:_0x336a3f[_0x449840(0x14a)])!=null?_0x332524:_0x449840(0x2a0),_0xcc8f05=(_0xce9532=(_0x414657=_0x456bb3['getCurrentUser']())==null?void 0x0:_0x414657[_0x449840(0x132)])!=null?_0xce9532:_0x449840(0x2a0);return{'changeset':{'unitID':_0x5a5b13,'type':p[_0x449840(0x36e)](_0x46fc9d[_0x449840(0x7d)](_0x5a5b13)),'baseRev':_0x4e7162[_0x449840(0x1e3)](_0x5a5b13),'revision':0x0,'userID':_0x526851,'memberID':_0xcc8f05,'mutations':_0x196ea9},'pendingMutations':_0x377f64[_0x449840(0x289)](_0x196ea9['length'])};}function ei(_0x5b5c73,_0x2338d3,_0x59a258,_0x356e8e,_0x2a686a){var _0x3447d2=_0x7a3069,_0x53ea20,_0x73b350,_0x571ab4,_0x5a1aa4;const _0x66161b=[_0x5b5c73['reduce']((_0x308ca3,_0x4617ac)=>{var _0x1786ed=_0x2a39,_0x5d1915;const {id:_0x1520b7}=_0x308ca3,{id:_0x94be12,type:_0x336be3}=_0x4617ac,_0x1163cf=(_0x5d1915=_0x308ca3[_0x1786ed(0x196)])!=null?_0x5d1915:{'actions':null},_0x5798f2=_0x4617ac[_0x1786ed(0x196)];if(_0x1520b7&&_0x1520b7!==_0x94be12)throw new Error(_0x1786ed(0x134)+_0x1520b7+_0x1786ed(0x206)+_0x94be12+'.');return{..._0x308ca3,'id':_0x94be12,'type':_0x336be3,'params':{'unitId':_0x5798f2[_0x1786ed(0x3bd)],'textRanges':_0x5798f2[_0x1786ed(0xf0)],'actions':a[_0x1786ed(0x250)][_0x1786ed(0x13d)](_0x1163cf[_0x1786ed(0x231)],_0x5798f2['actions'])}};},{})],_0x284d75=(_0x73b350=(_0x53ea20=_0x2a686a[_0x3447d2(0x16b)]())==null?void 0x0:_0x53ea20[_0x3447d2(0x14a)])!=null?_0x73b350:_0x3447d2(0x2a0),_0x21095a=(_0x5a1aa4=(_0x571ab4=_0x2a686a['getCurrentUser']())==null?void 0x0:_0x571ab4[_0x3447d2(0x132)])!=null?_0x5a1aa4:_0x3447d2(0x2a0);return{'changeset':{'unitID':_0x2338d3,'type':p[_0x3447d2(0x36e)](_0x59a258[_0x3447d2(0x7d)](_0x2338d3)),'baseRev':_0x356e8e[_0x3447d2(0x1e3)](_0x2338d3),'revision':0x0,'userID':_0x284d75,'memberID':_0x21095a,'mutations':_0x66161b},'pendingMutations':[]};}function _0x3f78(){var _0x414ef6=['replace','JOINING','LIVESHARE_FETCH_OPERATIONS','method','&source=','extend','isArray','DependentOn','appendMutation','getLocalCacheKey','encode','liveShareOperation','unsubscribe','createDecryptor','session.room-full','HmacMD5','HEARTBEAT_TIMEOUT_KEY','complete','UPDATE_PERMISSION_OBJ','RETRY_CONNECTING_MAX_COUNT_KEY','_tryReconnect','ceil','[CollaborationSessionService]:\x20socket\x20error','Quantity','add','LOGIN_FAILED','USERS_LEAVE','CollaborationEvent','commentUpdateEvent','Workbook','MentionType','transformStack\x20failed!','getGlobalObject','[DataLoaderService]','AuthzIoHttpService','PSEUDO_FETCH_MISSING_RESULT','LICENSE_MAX_UNITS_EXCEEDED','_resendTimeout','SUBMIT_CHANGESET','getAllMembers','__esModule','ws://127.0.0.1:8000/universer-api/comb/connect','_transformUndoredo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','slice','_members','reduce','_sender','function','stringify','UserManagerService','/allowed','Unknown\x20type.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','BehaviorSubject','file','SheetCollaborationEntity','_iv','clamp','Could\x20not\x20dynamically\x20require\x20\x22','_telemetryService','loadSheet','UnitEmbedded','IContextService','headers','_onRemoteRetry','_iKey','[OfflineState]:\x20received\x20changeset.','unknown','YUUMI_SUBSCRIPTION_NOT_FOUND','StreamCipher','_toggleOffline','_socketMessageSubscription','_hash','_httpService','OfflineState','BlockCipher','eventID','_getUndoStack','[PendingState]:\x20invalid\x20calling\x20to\x20`resend`.','saveSheetBlock','algo','removeMember','addImageSourceCache','_commentUpdate$','IImageIoService','onRemoteAck','_removeRoom','CONNECTOR_DATA_TOO_LARGE','AWAITING','generateRandomId','keySize','Rectangle','RevisionService','permissionRejEvent','[SyncedState]:\x20received\x20rejection.','_doFinalize','roles','updatePermissionObjEvent','requestParams','newCsEvent','[CollaborationEntity]','UNRECOGNIZED','INGEST','unitId\x20is\x20not\x20found','roomInfos','collaboration-client.local-cache-service','unit-cache-','UNIVER_UNKNOWN','serializeCombRequest','image/gif','LICENSE_DISTRO_REJECTED','target','Subject','Encryptor','[CollaborationState]:\x20apply\x20error!','_state','csAckEvent','max','collaborators','_userManagerService','_clearScheduledTask','CollaborationUIEventId','Native\x20crypto\x20module\x20could\x20not\x20be\x20used\x20to\x20get\x20secure\x20random\x20number.','APPLY_REVISION_CONFILICT','_key','LIVESHARE_REQUEST_HOST','takeUntil','_isPermissionRej','onSyncEditingCollabCursor','registerHTTPInterceptor','enableAuthServer','sessionStatus$','parse','resend','HttpImport','isTransformChangesetsSuccess','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_univerInstanceService','getConfig','cmd','authzUrl','pad','[CollaborationSession]','_rescheduleHeartbeat','SheetsSelectionsService','_sessionStatus$','close','Univer','salt','[PendingState]:\x20received\x20rejection.','workbook','_initRequestHeader','FetchingMissState','size','equals','Hex','[UniverCollaborationClientPlugin]:\x20you\x20must\x20provide\x20a\x20socketService\x20implementation\x20in\x20config!','state','_prevBlock','initWorkbookPermissionChange','charAt','_keySchedule','NoPadding','UNIVER_PROJECT','[SyncedState]:\x20invalid\x20calling\x20to\x20`resend`.','LEAVE','\x0aCurrent:\x20','indexOf','BlockCipherMode','_sendingTimer','enableSingleActiveInstanceLock','parseChangesetToProtocol','abs','enc','_doCryptBlock','UniverNetworkPlugin','IUniverInstanceService','_transformIMECache','interceptor','ONLINE','padding','getUnitId','getTypeOfUnitAdded$','_initUnitPermissionChange','entityInit$','_createHandler','[AuthServerService]:\x20you\x20should\x20provide\x20authentication\x20info\x20on\x20Node.js.','_replayCachedMutations','_getRedoStack','getMemberID','Base64','textEncoder','_createSocket','LIVESHARE_TERMINATE','_clearTimeoutTimer','toggleOnline','setCurrentUser','crypto','MSG_FOR_ERROR','length','ILocalCacheService','_transformStateCache','_mode','_joinRoom','_hasher','UNIVER_SHEET','UnitStatus','firstValueFrom','push','Disposable','updateMember','_onUserJoin','error','getUnitStatus$','_tryEnsureSocket','setConfig','result','_getCtorByUniverType','ImageSourceType','originalMeta','_ENC_XFORM_MODE','_injector','isInternalEditorID','revision','_data','RichTextEditingMutation','defineProperty','put','string','concat','isPermissionRej','JOIN_ROOM_NOT_EXISTS','PERSON','execute','_resendWithTimeout','onMissingChangesets','SHA1','_snapshotService','_schedule','m2Prime','_collaborationTimeoutTimer','GLOBAL_ROOMS_CNT_EXCEEDS','sheets','onTransformRemoteChangesetByIMECache\x20callback\x20is\x20not\x20added\x20yet.','_awaitingChangeset','addHandlerCallback','NEW_CHANGESETS','[serializeCombRequest]:\x20should\x20not\x20fall\x20into\x20default\x20branch!','5xTjIPg','_revisionService','[SyncedState]:\x20received\x20acknowledgement.','_pendingMutations','YUUMI_RATE_OVER_LIMIT','UNAUTHENTICATED','fetchMiss','_scheduleCollaborationTimeoutTimer','socket\x20open.','WordArray','\x0aAfter:\x20','_unitInfo$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_checkMissing','close$','location','/universer-api/snapshot','NO_OTHER_CLIENTS_EDITING','_changesetSessionId','PERMISSION_REJ','filter','get','2585488tyMDRf','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/-/object/list','mapDocumentTypeToUniverType','_imageSourceCache','ICollaborationSocketService','/object','ConflictState','compute','map','OTHER_CLIENT_EDITING','USERS_ENTER','RECV','YUUMI_ALL_TABLES_IS_INVALID','_scheduleCompleteTimestamp','kdf','now','COMMENT_UPDATE','_getAPIPrefix','INVALID_ARGUMENT','editingUnit','UNKNOWN_CMD','FETCH_MISS','_collaborationSessionService','AwaitingWithPendingState','_socket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SessionStatus','&to=','_collaborationUIEventService','PENDING','JOIN_ROOM_PERMISSION_DENIED','HELLO','_getAPIPrefixPath','[UniverCollaborationClientPlugin]','c1Prime','POST','error$','dispose$','_queuedRemoteChangesets','_logService','DocCollaborationEntity','stopTime','APPLY_DUPLICATED','startsWith','CBC','/new_changes','_getDownloadEndpointURL','substr','next','title','_onRemoteRejected','MentionIoHttpService','/collaborator','symbol','TOO_MANY_REQUESTS','fetchThroughInterceptors','formatter','objects','objectActions','updateSnapshot','PY_RUNTIME_SCRIPT_ERROR','[FetchingMissState]:\x20not\x20expected\x20to\x20receive\x20ack\x20when\x20`this._awaitingChangeset`\x20is\x20null!','_parse','_onCombEvent','__creator','SUBMIT_CHANGESET_TIMEOUT','SnapshotService','_map','getUnitOnRev','Base','OFFLINE','ImageUploadStatusType','socket\x20close','UNIVER_SLIDE','HMAC','withCredentials','objectID','toStringTag','LICENSE_EXPORT_SIZE_EXCEEDED','_telemetryInfo','IDLE','unitId','reqId','_startCollaboration','INVALID_INVITE_CODE','EvpKDF','ciphertext','WorkbookEditablePermission','Utf8','every','CHANGESET_SHOULD_RETRY','offline','SerializableCipher','online$','_handlerCallback','uniscriptRunEvent','_changesetReqId','getInterceptPoints','_transformStack','image/bmp','url','_clearLocalCache','_snapshotServerService','createSocket','_clearRetryConnectingTimer','_showConflictNotification','[CollaborationSocketService]:\x20failed\x20to\x20create\x20socket!','FETCH_MISSING','_socketReady','sigBytes','pauseCollaboration','_type','signUrlServerUrl','_onOffline','registerDependencies','subUnitId','_timeoutTimer','_onConnectionFailed','append','CollaborationController','SyncedState','SOCKET_FAILED_RETRY','CLOSE_ROOM','encryptBlock','onCommentUpdate','ALREADY_EXISTS','_clearRedo','getUnitType','MemberService','FileId','debug','_onConnectionOpen','mergeOverrideWithDependencies','iterations','collaMsg','loginUrlKey','downloadEndpointUrl','_collaborationPaused','_append','update','Decryptor','connection\x20error','values','objectType','_lockTransition','CHANGESET_REVISION_CONFILICT','origin','/universer-api/uniscript','saveChangeset','_onUserLeave','2652256EoARHV','transformMutationsWithChangeset','createInstance','disposeWithMe','pipe','_incrementRevisionNumber','cfg','onTransformRemoteChangesetByStateCache\x20callback\x20is\x20not\x20added\x20yet.','_onLocalMutation','LocalUndoRedoService','ILogService','failed\x20to\x20apply\x20missed\x20changesets!','status','Undefined','encodeURIComponent','HEARTBEAT_INTERVAL_KEY','name','_nRounds','_status$','prototype','ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=','asObservable','_doReset','_acknowledgedAwaitingChangeset','localeService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','hostname','_clearCollaborationTimeoutTimer','send','Latin1','_commentService','requireSession','ERROR_IMAGE_TYPE','_createInitialState','forEach','b64DecodeUnicode','_roomMembers','closeSession','_listenToNetworkCondition','Cipher','range','_getSignURL','message$','splice','enableCollaboration','sid','you\x20should\x20override\x20\x22IUndoRedoService\x22\x20provided\x20in\x20\x22core\x22\x20package!','_onFetchMissResult','_onRemoteACK','submit\x20changeset\x20error!','getTypeOfUnitDisposed$','Hasher','UNDEFINED','?url=','USER_NOT_INVITED_CODE','_updateState','FAIL','state$','NOT_COLLAB','clear','ENSURE_SNAPSHOT_EXECUTION','create','SetSelectionsOperation','_minBufferSize','onRemoteChangeset','PERMISSION_DENIED','_registerDependencies','UUID','_executeRemoteChangeset','__Key__','transformUndoRedo','_initMergeInterceptor','_onRecvEvent','deleteCollaborator','conflict','getRoom','getCurrentSelections','HEARTBEAT','emitEvent','DEFAULT_COLLAB_WEB_SOCKET_URL','[CollaborationEntity]:\x20cannot\x20lock\x20transition\x20twice!\x20This\x20is\x20an\x20implementation\x20error,\x20meaning\x20you\x20transit\x20the\x20collaboration\x20state\x20again\x20in\x20the\x20process\x20of\x20a\x20previous\x20transition.\x20This\x20should\x20never\x20happen.','CONFLICT','APPLY_PERMISSION_DENIED','parseProtocolChangeset','_localCacheService','delete','encrypt','_DEC_XFORM_MODE','_members$','COMPRESS_MUTATION_SEND','ERROR_IMAGE','code','textRanges','commentUpdate$','readInt32LE','ITelemetryService','find','deserializeToCombResponse','fetching\x20the\x20latest\x20document\x20from\x20the\x20server.','toDisposable','HEARTBEAT_TIMEOUT','onRemoteRej','onCommandExecuted','onTransformSelections','_transformService','BASE64','unitID','_cipher','INVITE_CODE_HAS_BEEN_UES','[CollaborationSocketService]:\x20failed\x20to\x20get\x20web\x20socket\x20factory!','delay','/universer-api/authz','_eventService','univer-pro.collaboration-client-socket-service','byteLength','_createInitialStateImpl','reset','hasher','finalize','_sheetTransformSelectionsService','UNKNOWN_CODE','has','_onRemoteChangeset','apply','_submitChangeset','LOCAL_CACHE_INTERVAL','init','getSheetId','CompressMutationService','ICommandService','uploadFileServerUrl','SnapshotServerOverHTTPService','unpad','LOCAL_CACHE_INTERVAL_KEY','_decreaseWaiting','getDeserializedSheetBlock','_change$','onTransformIME','[OfflineState]:\x20received\x20acknowledgement.','_substituteUndoStack','_xformMode','_reverseMap','APPLY_REJECT','join','_sessions','People','_updateLocalCache','updatePermissionPoint','buffer','liveShareNewHost','status$','createEncryptor','UnitSnapshot','univer-pro.collaboration-client.network-condition.service','batchAllowed','list','clone','[FetchMissState]','memberID','/universer-api/user/session-ticket','Cannot\x20assemble\x20a\x20changeset\x20from\x20multiple\x20mutations\x20of\x20different\x20types:\x20','members$','_singleActiveUnitService','startTime','format','YUUMI_URL_COL_OUT_OF_RANGE','from','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','OTHER_CLIENTS_EDITING','compose','_roomCreated$','image/jpeg','_createHelper','action','dispose','getUnit','take','_undoRedoService','_handler','min','catch','INVITE_CODE_REQUIRED','userID','SOCKET_FAILED','CollaborationUIEventService','loadUnit','RxDisposable','COMPLETION_FINISHED','33001623DQdOaJ','_unitID','session','?size=','_nDataBytes','/block/','/fetchmissing?from=','_replaceFileID','fromCollab','CollaborationImageIoService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_unlockTransition','LIVESHARE_NEW_HOST','event$','UPDATE_CURSOR','CollaborationSocketService','4196817PSFNGO','blockSize','INetworkConditionService','_clearHeartbeatTimer','isTransformMutationsWithChangesetFailure','joinRsp','_syncEditingCollabCursor','executeCommand','putCollaborators','floor','_sendHeartbeatTimer','getCurrentUser','_event$','[CollaborationEntity]:\x20initial\x20state\x20has\x20been\x20created\x20before.\x20You\x20should\x20not\x20call\x20\x22init\x22\x20twice.','_waitCount','LocaleService','save\x20fail\x20reason\x20is\x20','_initCloseConn','reverse','[PendingState]:\x20received\x20acknowledgement.','ThresholdInterceptorFactory','AES','SheetTransformSelectionsService','CollaborationSession','telemetry\x20info\x20is\x20not\x20initialized','_retryCount','IUndoRedoService','_applyRemoteChangeset','IAuthzIoService','_startTelemetryCollaborationNewChangeset','Injector','YUUMI_CONNECTOR_URL_NOT_FOUND','onStarting','_transformSelections','_instanceService','IConfigService','_stopTelemetryCollaborationNewChangeset','infoRsp','\x20to\x20','APPLY_NON_SEQUENTIAL_REVISION','INVITE_CODE_ALREADY_BOUND','_onMessage','_config','subject','sin','/universer-api/oidc/authpage','mutations','YUUMI_NO_CUBOID_FOR_QUESTION','_initDependencies','_HTTPService','_redoStacks','DisposableCollection','isTransformMutationsWithChangesetSuccess','sessionStatus','params','CipherParams','baseRev','SHOULD_CLOSE_CONN','type','deepClone','msCrypto','mixIn','selections','loadUnitOfRevision','IMentionIOService','words','_collabSessionService','session.room-not-exists','[CollaborationSessionService]','2437868chsvoG','_socket$','call','_disableEditing','ISnapshotServerService','getTime','_getLoginPath','fetch_missing','getSnapshotAPIPath','changesets','updateOfflineData','COMPRESS_MUTATION_APPLY','Tools','fromCharCode','/object/','_exhaustRemoteChangesetQueue','synced','onRemoteRetry','reject','enableOfflineEditing','merge','charCodeAt','onTransformRemoteChangesetByIMECache','getValue','_remoteChangesetQueue','_retryConnectingTimer','UNIVER_DOC','data','_substituteRedoStack','random','toString','Failed\x20to\x20update\x20permission\x20point','localCacheService','body','routeKey','_localeService','unitInfo$','default','awaiting','set','toggleOffline','session.room-permission-denied','_onConflict','UserProfileImg','MD5','_compressMutationService','[ConflictState]:\x20invalid\x20calling\x20to\x20`resend`.','_shouldReportTelemetry','allowed','collaboration_new_changeset','getActiveSheet','listCollaborators','_updateStatus','getCollabEntity$','_onJoinRoomEvent','touchDependencies','UniverCollaborationClientPlugin','retryConnectingInterval','HTTPRequest','socketService','saveSnapshot','YUUMI_ASYNCIO_CANCELLED','getCurrentRevOfUnit','Optional','HttpExport','_resendTimer','CollaborationEntity','transformChangesets','loadOfflineData','_socketService','getCollabEntity','ISocketService','focused$','getFocusedUnit','patch','_getUploadFileURL','HTTPService','UniverInstanceType','_emitMembers','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','onMissedChangesetFetched','CollaborationSessionService','csShouldRetryEvent','mode','EMAIL_VERIFY_CODE_MISMATCH','exports','_permissionService','saveImage','_getSendChangesetTimeout','onSendChangeset','post','1137165dhaBdk','_process','IPermissionService','ITransformService','_throwTelemetryCollaborationNewChangeset','hasOwnProperty','\x20-\x20','_memberService','Inject','MOBILE_HAS_BEEN_BOUND','This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!','HEARTBEAT_INTERVAL','getRandomValues','updateCursorEvent','onTransformRemoteChangesetByStateCache','shareReplay','CollaborativeUndoRedoService','DataLoaderService','csRejEvent','decryptBlock','/universer-api/snapshot/','setShowComponents','_candidateSocket','duration','repeat','readAsDataURL','JOIN_ROOM_FAILED','\x20in\x20_schedule.','_configService','Module','MergeInterceptorFactory','1317390uFolUm','_entities','onTransformState','/universer-api/file/{fileID}/sign-url','CommandType','image/png','sequenceExecute','_keyPriorReset','21PFagwU','pending','pluginName','lib','onLocalMutation','subscribe','getMember','_state$','not_collab','joinEvent','actions','snapshot','onStateChange','editing\x20status\x20changed\x20to','_oKey','_commandService','WECHAT_HAS_BEEN_BOUND','createIdentifier','_sendHeartbeat','Malformed\x20UTF-8\x20data','OpenSSL','MUTATION','[PendingState]:\x20unhandled\x20univer\x20type:\x20','getOwnPropertyDescriptor','session.join-failed','ivSize','_transformRemoteChangesetByIMECache','_entityInit$','[CollaborationUndoRedoService]','transformSelections','loadDoc','/role','_waitForHeartbeatResponse','_transitionLocked','_getCurrentRevision','/unit/','updateCollaborator','MOBILE_VERIFY_CODE_MISMATCH','&assign=','uuidv4','members','JSONX','awaitingChangeset','PendingState','getImageSourceCache','incrementRevOfUnit','_networkConditionService','_init','CHANGESET_ACK','JOIN','JOIN_ROOM_FULL','AwaitingState','_toggleOnline','rev'];_0x3f78=function(){return _0x414ef6;};return _0x3f78();}function St(_0xd99ad9,_0x326081){var _0x4487b6=_0x7a3069;const _0x418fb0=new H['ReplaySubject'](0x1);return setTimeout(()=>_0x418fb0[_0x4487b6(0x39c)](_0x326081),_0xd99ad9),_0x418fb0[_0x4487b6(0xa9)]()[_0x4487b6(0x98)](H['take'](0x1));}const ti={'id':X['EmptyMutation']['id'],'type':a['CommandType']['MUTATION'],'params':{}};var ii=Object[_0x7a3069(0x23e)],oe=(_0x308a9e,_0x1bd55a,_0x495d42,_0x270f0e)=>{var _0x194a89=_0x7a3069;for(var _0x57ec34=_0x270f0e>0x1?void 0x0:_0x270f0e?ii(_0x1bd55a,_0x495d42):_0x1bd55a,_0x30b5da=_0x308a9e[_0x194a89(0x324)]-0x1,_0x618286;_0x30b5da>=0x0;_0x30b5da--)(_0x618286=_0x308a9e[_0x30b5da])&&(_0x57ec34=_0x618286(_0x57ec34)||_0x57ec34);return _0x57ec34;},w=(_0x4e7d56,_0x4397d0)=>(_0x117276,_0x437192)=>_0x4397d0(_0x117276,_0x437192,_0x4e7d56),je=(_0x496d57=>(_0x496d57[_0x7a3069(0xce)]=_0x7a3069(0x22f),_0x496d57['SYNCED']=_0x7a3069(0x1b5),_0x496d57[_0x7a3069(0x389)]=_0x7a3069(0x228),_0x496d57[_0x7a3069(0x2b5)]='awaiting',_0x496d57['AWAITING_WITH_PENDING']='awaiting_with_pending',_0x496d57[_0x7a3069(0x381)]='fetch_missing',_0x496d57[_0x7a3069(0xe5)]=_0x7a3069(0xde),_0x496d57[_0x7a3069(0x3b2)]=_0x7a3069(0x3c7),_0x496d57))(je||{});const ft=0xea60;class ae{constructor(_0x4ecb25,_0x128db6,_0x5675b6,_0xc52eb7,_0x3ff317,_0x2b9c08,_0x3112e2,_0x3f2fee,_0x566803){var _0x101ed7=_0x7a3069;A(this,'_awaitingChangeset',null),A(this,'_pendingMutations',[]),(this[_0x101ed7(0xfe)]=_0x4ecb25,this['type']=_0x128db6,this['_handler']=_0x3ff317,this[_0x101ed7(0x236)]=_0x2b9c08,this[_0x101ed7(0x145)]=_0x3112e2,this[_0x101ed7(0x356)]=_0x3f2fee,this['_localCacheService']=_0x566803,this['_awaitingChangeset']=_0x5675b6,this[_0x101ed7(0x358)]=_0xc52eb7);}[_0x7a3069(0x362)](_0x5c6cd3){var _0x344731=_0x7a3069;const _0x2194df=this[_0x344731(0x356)][_0x344731(0x1e3)](this[_0x344731(0xfe)]);return _0x5c6cd3[_0x344731(0x33c)]>_0x2194df+0x1?(this['_handler'][_0x344731(0x348)]({'from':_0x2194df,'to':_0x5c6cd3[_0x344731(0x33c)]-0x1}),!0x0):!0x1;}[_0x7a3069(0x287)](_0x209ee2){var _0x6ac4b6=_0x7a3069;this[_0x6ac4b6(0x145)]['transformUndoRedo'](this[_0x6ac4b6(0xfe)],_0x209ee2);}[_0x7a3069(0x181)](_0x3c7e63){var _0x163167=_0x7a3069,_0x616457,_0xc94c66;(_0xc94c66=(_0x616457=this[_0x163167(0x146)])['onTransformSelections'])==null||_0xc94c66[_0x163167(0x1a7)](_0x616457,_0x3c7e63);}[_0x7a3069(0x30e)](_0x50c32e){var _0x3f69c1=_0x7a3069,_0x4faa2c,_0x5670be;return(_0x5670be=(_0x4faa2c=this[_0x3f69c1(0x146)])[_0x3f69c1(0x11d)])==null?void 0x0:_0x5670be[_0x3f69c1(0x1a7)](_0x4faa2c,_0x50c32e);}[_0x7a3069(0x326)](_0x17afeb){var _0x118b4f=_0x7a3069,_0x4e2273,_0x3317ae;return(_0x3317ae=(_0x4e2273=this[_0x118b4f(0x146)])[_0x118b4f(0x221)])==null?void 0x0:_0x3317ae[_0x118b4f(0x1a7)](_0x4e2273,_0x17afeb);}[_0x7a3069(0x241)](_0x350e29){var _0x38def7=_0x7a3069,_0x461c15,_0x4433e5,_0x415d72;return(_0x415d72=(_0x4433e5=(_0x461c15=this[_0x38def7(0x146)])[_0x38def7(0x1bb)])==null?void 0x0:_0x4433e5['call'](_0x461c15,_0x350e29))!=null?_0x415d72:_0x350e29;}['_transformRemoteChangesetByStateCache'](_0x955efd){var _0x482756=_0x7a3069,_0x37349c,_0x1b074c,_0x4f789d;return(_0x4f789d=(_0x1b074c=(_0x37349c=this['_handler'])[_0x482756(0x20e)])==null?void 0x0:_0x1b074c[_0x482756(0x1a7)](_0x37349c,_0x955efd))!=null?_0x4f789d:_0x955efd;}['_syncEditingCollabCursor'](_0x44fcfa){var _0x3a0f9e=_0x7a3069,_0x3bdb36,_0x46deee;if(this[_0x3a0f9e(0x19a)]===J['UNIVER_DOC']){const {unitID:_0x8d6d3a,mutations:_0x5d0b66,memberID:_0x306e09}=_0x44fcfa,_0x4e4525=_0x5d0b66[0x0][_0x3a0f9e(0x196)][_0x3a0f9e(0xf0)];Array[_0x3a0f9e(0x263)](_0x4e4525)&&_0x4e4525[_0x3a0f9e(0x324)]>0x0&&((_0x46deee=(_0x3bdb36=this[_0x3a0f9e(0x146)])[_0x3a0f9e(0x2dd)])==null||_0x46deee[_0x3a0f9e(0x1a7)](_0x3bdb36,{'unitID':_0x8d6d3a,'memberID':_0x306e09,'textRanges':_0x4e4525}));}}['_updateLocalCache'](){var _0x6ca67a=_0x7a3069,_0x4afd02;(_0x4afd02=this['_localCacheService'])==null||_0x4afd02[_0x6ca67a(0x1af)](this['unitID'],this[_0x6ca67a(0x19a)],this[_0x6ca67a(0x351)],this['_pendingMutations']);}[_0x7a3069(0x249)](){var _0x4f5333=_0x7a3069;return this[_0x4f5333(0x356)][_0x4f5333(0x1e3)](this[_0x4f5333(0xfe)]);}[_0x7a3069(0x99)](){var _0xd6e708=_0x7a3069;this[_0xd6e708(0x356)][_0xd6e708(0x254)](this['unitID']);}[_0x7a3069(0xd8)](_0x3201d7){var _0x3bbb52=_0x7a3069,_0x31b9da;let _0x26fa83=this['_transformRemoteChangesetByIMECache'](_0x3201d7);_0x26fa83=this['_transformRemoteChangesetByStateCache'](_0x26fa83);const _0x12f984=a[_0x3bbb52(0x225)](_0x26fa83[_0x3bbb52(0x18e)],this[_0x3bbb52(0x236)],{'fromCollab':!0x0});if(!_0x12f984[_0x3bbb52(0x335)])throw _0x12f984[_0x3bbb52(0x331)]instanceof Error?_0x12f984[_0x3bbb52(0x331)]:new Error((_0x31b9da=_0x12f984['error'])!=null?_0x31b9da:_0x3bbb52(0x2cf));this[_0x3bbb52(0x30e)](_0x26fa83),this['_transformStateCache'](_0x26fa83),this[_0x3bbb52(0x287)](_0x3201d7),this[_0x3bbb52(0x181)](_0x26fa83),this[_0x3bbb52(0x166)](_0x26fa83),this['_incrementRevisionNumber']();}}exports[_0x7a3069(0x76)]=class extends ae{constructor(_0x3fc8d5,_0x1a8add,_0xea85b1,_0x4e8776,_0x152150,_0x1e6bb3,_0xcd122e,_0x43cc2f,_0x262b15,_0x2dc4ce){var _0x48d1e8=_0x7a3069;super(_0x3fc8d5,_0x1a8add,null,[],_0xea85b1,_0xcd122e,_0x1e6bb3,_0x4e8776,_0x2dc4ce),A(this,_0x48d1e8(0xa0),'synced'),(this[_0x48d1e8(0x33a)]=_0x152150,this[_0x48d1e8(0x393)]=_0x43cc2f,this[_0x48d1e8(0xfc)]=_0x262b15,this[_0x48d1e8(0x1c5)]=_0x2dc4ce);}[_0x7a3069(0x265)](_0x1fb83d){var _0x33eaae=_0x7a3069;const _0x4d1526=this[_0x33eaae(0x33a)]['createInstance'](exports[_0x33eaae(0x252)],this['unitID'],this['type'],[_0x1fb83d],this['_handler']);return _0x4d1526[_0x33eaae(0x34b)](),_0x4d1526['_updateLocalCache'](),_0x4d1526;}['onRemoteChangeset'](_0x274210){var _0x4a83e9=_0x7a3069;if(this[_0x4a83e9(0x362)](_0x274210))return this[_0x4a83e9(0x33a)][_0x4a83e9(0x96)](exports[_0x4a83e9(0x2f5)],this[_0x4a83e9(0xfe)],this[_0x4a83e9(0x19a)],null,[],null,[_0x274210],this[_0x4a83e9(0x146)]);try{const _0x1837f8=this['_transformService'][_0x4a83e9(0x95)](_0x274210,[ti]);if(p[_0x4a83e9(0x194)](_0x1837f8)){const {c1Prime:_0x59aa7a}=_0x1837f8;return this['_executeRemoteChangeset'](_0x59aa7a),this;}throw _0x1837f8[_0x4a83e9(0x331)];}catch(_0x4b53c5){return this[_0x4a83e9(0x393)][_0x4a83e9(0x331)](_0x4b53c5),this[_0x4a83e9(0x1cf)](!0x1);}}[_0x7a3069(0x1cf)](_0x2f5bb7){var _0x24397d=_0x7a3069;return this[_0x24397d(0x33a)][_0x24397d(0x96)](exports[_0x24397d(0x372)],this[_0x24397d(0xfe)],this[_0x24397d(0x19a)],null,[],this[_0x24397d(0x146)],_0x2f5bb7);}['onRemoteAck'](){var _0x3c151d=_0x7a3069;throw new Error(_0x3c151d(0x357));}[_0x7a3069(0xf9)](){var _0x2cc9f4=_0x7a3069;throw new Error(_0x2cc9f4(0x2bb));}[_0x7a3069(0x1b6)](){return this;}[_0x7a3069(0x1cd)](){var _0x49c6fc=_0x7a3069;return this[_0x49c6fc(0x33a)][_0x49c6fc(0x96)](exports['OfflineState'],this['unitID'],this[_0x49c6fc(0x19a)],null,[],this[_0x49c6fc(0x146)]);}[_0x7a3069(0x320)](){return this;}[_0x7a3069(0x2e2)](){var _0x248aeb=_0x7a3069;throw new Error(_0x248aeb(0x301));}['fetchMiss'](){var _0x4b847f=_0x7a3069;const _0x1e3315=this['_revisionService'][_0x4b847f(0x1e3)](this[_0x4b847f(0xfe)]);return this['_handler'][_0x4b847f(0x348)]({'from':_0x1e3315,'to':0x0}),this[_0x4b847f(0x33a)][_0x4b847f(0x96)](exports['FetchingMissState'],this[_0x4b847f(0xfe)],this[_0x4b847f(0x19a)],null,[],null,[],this[_0x4b847f(0x146)]);}},exports[_0x7a3069(0x76)]=oe([w(0x3,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),w(0x4,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),w(0x5,a[_0x7a3069(0x17a)]),w(0x6,a['ICommandService']),w(0x7,a[_0x7a3069(0x9e)]),w(0x8,p[_0x7a3069(0x203)]),w(0x9,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x76)]),exports[_0x7a3069(0x252)]=class extends ae{constructor(_0x468db2,_0x559961,_0x1b2a4a,_0x5b2836,_0x5c0381,_0xcab6f8,_0x4786e2,_0x4b7e8e,_0x1e60d8,_0x2d8886,_0x4cf839,_0x2a1060,_0x3bcd67,_0x42803b){var _0x5a36b2=_0x7a3069;super(_0x468db2,_0x559961,null,_0x1b2a4a,_0x5b2836,_0x1e60d8,_0x3bcd67,_0xcab6f8,_0x42803b),A(this,_0x5a36b2(0xa0),_0x5a36b2(0x228)),A(this,_0x5a36b2(0x379),null),A(this,'_sendingTimer',null),(this[_0x5a36b2(0x33a)]=_0x5c0381,this[_0x5a36b2(0x207)]=_0x4786e2,this['_logService']=_0x4b7e8e,this['_configService']=_0x2d8886,this[_0x5a36b2(0xfc)]=_0x4cf839,this[_0x5a36b2(0x2e6)]=_0x2a1060);}['appendMutation'](_0x4e8ebd){var _0x1a019a=_0x7a3069;return this[_0x1a019a(0x358)][_0x1a019a(0x32d)](_0x4e8ebd),this['_updateLocalCache'](),this;}[_0x7a3069(0xd4)](_0xb9289d){var _0x325c1d=_0x7a3069;if(this[_0x325c1d(0x362)](_0xb9289d))return this[_0x325c1d(0x2d5)](),this[_0x325c1d(0x33a)][_0x325c1d(0x96)](exports[_0x325c1d(0x2f5)],this[_0x325c1d(0xfe)],this[_0x325c1d(0x19a)],null,this[_0x325c1d(0x358)],null,[_0xb9289d],this[_0x325c1d(0x146)]);try{const _0x1d8ecc=this['_transformService'][_0x325c1d(0x95)](_0xb9289d,this[_0x325c1d(0x358)]);if(p['isTransformMutationsWithChangesetSuccess'](_0x1d8ecc)){const {c1Prime:_0x3cfc9d,m2Prime:_0x50014c}=_0x1d8ecc;this['_executeRemoteChangeset'](_0x3cfc9d);const _0x17e295=this[_0x325c1d(0x33a)]['createInstance'](exports[_0x325c1d(0x252)],this[_0x325c1d(0xfe)],this['type'],_0x50014c,this[_0x325c1d(0x146)]);this[_0x325c1d(0x2d5)]();const _0x4f0045=new Date()[_0x325c1d(0x1aa)](),_0x15a561=this[_0x325c1d(0x379)]?Math['max'](this[_0x325c1d(0x379)]-_0x4f0045,0x0):this['_getSendChangesetTimeout']();return _0x17e295[_0x325c1d(0x34b)](_0x15a561),_0x17e295;}throw _0x1d8ecc['error'];}catch(_0x63db7d){return this[_0x325c1d(0x393)]['error'](_0x63db7d),this[_0x325c1d(0x1cf)](!0x1);}}[_0x7a3069(0x2b2)](){var _0x468529=_0x7a3069;throw new Error(_0x468529(0x173));}[_0x7a3069(0xf9)](){var _0x1e594b=_0x7a3069;throw new Error(_0x1e594b(0x2f2));}[_0x7a3069(0x1b6)](){return this;}[_0x7a3069(0x1cd)](){var _0x1a39da=_0x7a3069;return this[_0x1a39da(0x2d5)](),this['_injector'][_0x1a39da(0x96)](exports[_0x1a39da(0x2a7)],this[_0x1a39da(0xfe)],this[_0x1a39da(0x19a)],null,this[_0x1a39da(0x358)],this['_handler']);}['toggleOnline'](){return this;}['_schedule'](_0x504ac3){var _0xb958d0=_0x7a3069;const _0x1c9d33=_0x504ac3!=null?_0x504ac3:this[_0xb958d0(0x1fd)]();this['_scheduleCompleteTimestamp']=new Date()[_0xb958d0(0x1aa)]()+_0x1c9d33,this[_0xb958d0(0x306)]=setTimeout(()=>{var _0x588df9=_0xb958d0;this[_0x588df9(0x2d5)]();let _0x1d09f6=null;switch(this[_0x588df9(0x19a)]){case J['UNIVER_SHEET']:{_0x1d09f6=Ge(this[_0x588df9(0x358)],this[_0x588df9(0xfe)],this[_0x588df9(0x2e6)],this['_revisionService'],this[_0x588df9(0x207)]);break;}case J[_0x588df9(0x1bf)]:{this[_0x588df9(0x358)]['every'](_0x50443a=>_0x50443a['id']===ct['RichTextEditingMutation']['id'])?_0x1d09f6=ei(this[_0x588df9(0x358)],this[_0x588df9(0xfe)],this[_0x588df9(0x2e6)],this['_revisionService'],this[_0x588df9(0x207)]):_0x1d09f6=Ge(this['_pendingMutations'],this[_0x588df9(0xfe)],this['_univerInstanceService'],this[_0x588df9(0x356)],this['_memberService']);break;}default:throw new Error(_0x588df9(0x23d)+this[_0x588df9(0x19a)]+_0x588df9(0x21b));}const {changeset:_0x31f9cc,pendingMutations:_0x2bd349}=_0x1d09f6;this[_0x588df9(0x146)][_0x588df9(0x1fe)](_0x31f9cc);const _0x41bf81=_0x2bd349[_0x588df9(0x324)]?this[_0x588df9(0x33a)][_0x588df9(0x96)](exports[_0x588df9(0x383)],this[_0x588df9(0xfe)],this[_0x588df9(0x19a)],_0x31f9cc,_0x2bd349,this[_0x588df9(0x146)],void 0x0):this[_0x588df9(0x33a)]['createInstance'](exports[_0x588df9(0x25a)],this[_0x588df9(0xfe)],this[_0x588df9(0x19a)],_0x31f9cc,this[_0x588df9(0x146)]);_0x41bf81[_0x588df9(0x126)](),this['_handler'][_0x588df9(0x233)](this,_0x41bf81);},_0x1c9d33);}['_getSendChangesetTimeout'](){var _0x388da3;const _0x4e850f=this['_configService']['getConfig'](Y);return(_0x388da3=_0x4e850f==null?void 0x0:_0x4e850f['sendChangesetTimeout'])!=null?_0x388da3:Ut;}['resend'](){var _0x20771a=_0x7a3069;throw new Error(_0x20771a(0x2ab));}[_0x7a3069(0x2d5)](){var _0x450229=_0x7a3069;this[_0x450229(0x306)]!=null&&(clearTimeout(this['_sendingTimer']),this[_0x450229(0x306)]=null);}['_onConflict'](_0x556fd1){var _0x4a55c8=_0x7a3069;return this[_0x4a55c8(0x2d5)](),this[_0x4a55c8(0x33a)][_0x4a55c8(0x96)](exports[_0x4a55c8(0x372)],this['unitID'],this[_0x4a55c8(0x19a)],null,this[_0x4a55c8(0x358)],this[_0x4a55c8(0x146)],_0x556fd1);}},exports[_0x7a3069(0x252)]=oe([w(0x4,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),w(0x5,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),w(0x6,a[_0x7a3069(0x208)](exports[_0x7a3069(0x7e)])),w(0x7,a[_0x7a3069(0x9e)]),w(0x8,a[_0x7a3069(0x115)]),w(0x9,a[_0x7a3069(0x183)]),w(0xa,p[_0x7a3069(0x203)]),w(0xb,a[_0x7a3069(0x30d)]),w(0xc,a[_0x7a3069(0x17a)]),w(0xd,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x252)]),exports[_0x7a3069(0x25a)]=class extends ae{constructor(_0x14fbcd,_0x2d1e70,_0x2def24,_0x4b4c16,_0x3fed71,_0x18b139,_0x2afde4,_0x2bc32e,_0x5e6efa,_0x3d775c,_0x84bbd4){var _0x3ac73f=_0x7a3069;super(_0x14fbcd,_0x2d1e70,_0x2def24,[],_0x4b4c16,_0x2afde4,_0x3d775c,_0x18b139,_0x84bbd4),A(this,_0x3ac73f(0xa0),_0x3ac73f(0x1cb)),A(this,_0x3ac73f(0x282),0x0),A(this,_0x3ac73f(0x1e6)),A(this,'_sender'),(this[_0x3ac73f(0x33a)]=_0x3fed71,this[_0x3ac73f(0x393)]=_0x2bc32e,this['_transformService']=_0x5e6efa);}['appendMutation'](_0xcdbd35){var _0x29239b=_0x7a3069;this[_0x29239b(0x2d5)]();const _0x34566a=this['_injector']['createInstance'](exports[_0x29239b(0x383)],this['unitID'],this[_0x29239b(0x19a)],this['_awaitingChangeset'],[_0xcdbd35],this[_0x29239b(0x146)],this[_0x29239b(0x1e6)]);return _0x34566a[_0x29239b(0x126)](),_0x34566a;}[_0x7a3069(0xd4)](_0x246daf){var _0x14e00d=_0x7a3069;if(this[_0x14e00d(0x362)](_0x246daf))return this[_0x14e00d(0x2d5)](),this[_0x14e00d(0x33a)][_0x14e00d(0x96)](exports[_0x14e00d(0x2f5)],this[_0x14e00d(0xfe)],this[_0x14e00d(0x19a)],this[_0x14e00d(0x351)],[],null,[_0x246daf],this[_0x14e00d(0x146)]);try{const _0x2e12d4=this[_0x14e00d(0xfc)][_0x14e00d(0x1e8)]([_0x246daf],[this[_0x14e00d(0x351)]],!0x1);if(p[_0x14e00d(0x2e4)](_0x2e12d4)){const {c1Prime:_0x492ed0,c2Prime:_0x537763}=_0x2e12d4;this['_executeRemoteChangeset'](_0x492ed0[0x0]),_0x537763[0x0][_0x14e00d(0x198)]=this[_0x14e00d(0x249)](),this[_0x14e00d(0x2d5)]();const _0x4f6427=this[_0x14e00d(0x33a)][_0x14e00d(0x96)](exports[_0x14e00d(0x25a)],this['unitID'],this[_0x14e00d(0x19a)],_0x537763[0x0],this[_0x14e00d(0x146)]);return _0x4f6427[_0x14e00d(0x126)](),_0x4f6427;}return this['_onConflict'](!0x1);}catch(_0x5536f2){return this[_0x14e00d(0x393)][_0x14e00d(0x331)](_0x5536f2),this[_0x14e00d(0x1cf)](!0x1);}}['onRemoteAck'](_0x79c2dc){var _0x462b00=_0x7a3069;this['_clearScheduledTask']();const _0x2da5f7=this[_0x462b00(0x356)][_0x462b00(0x1e3)](this[_0x462b00(0xfe)]);if(_0x79c2dc[_0x462b00(0x33c)]<_0x2da5f7-0x1)return this;if(this[_0x462b00(0x362)](_0x79c2dc))return this[_0x462b00(0x33a)][_0x462b00(0x96)](exports['FetchingMissState'],this[_0x462b00(0xfe)],this['type'],null,[],this[_0x462b00(0x351)],[],this['_handler']);this[_0x462b00(0x99)]();const _0x31eb2c=this['_injector'][_0x462b00(0x96)](exports[_0x462b00(0x76)],this[_0x462b00(0xfe)],this[_0x462b00(0x19a)],this[_0x462b00(0x146)]);return _0x31eb2c[_0x462b00(0x126)](),_0x31eb2c;}[_0x7a3069(0xf9)](_0x3f5296){var _0x3d8327=_0x7a3069;return this[_0x3d8327(0x1cf)](!!(_0x3f5296!=null&&_0x3f5296[_0x3d8327(0x343)]));}[_0x7a3069(0x1b6)](_0x16778c){var _0x40fa46=_0x7a3069;return this[_0x40fa46(0x282)]>ft?this[_0x40fa46(0x1cd)]():(this['_resendTimer']=St(this[_0x40fa46(0x282)],{'timeout':this[_0x40fa46(0x282)],'reqId':_0x16778c[_0x40fa46(0x3be)]}),this[_0x40fa46(0x28c)]=this[_0x40fa46(0x1e6)]['subscribe'](({reqId:_0x427236,timeout:_0x3a7c1b})=>{var _0x38d7d9=_0x40fa46;this[_0x38d7d9(0x347)](_0x427236,_0x3a7c1b);}),this);}[_0x7a3069(0x1cd)](){var _0x3422a7=_0x7a3069;return this['_clearScheduledTask'](),this['_injector'][_0x3422a7(0x96)](exports[_0x3422a7(0x2a7)],this[_0x3422a7(0xfe)],this[_0x3422a7(0x19a)],this['_awaitingChangeset'],[],this['_handler']);}[_0x7a3069(0x320)](){return this;}[_0x7a3069(0x2e2)](){var _0x5ce2ba=_0x7a3069;this[_0x5ce2ba(0x146)][_0x5ce2ba(0x1fe)](this['_awaitingChangeset']);}[_0x7a3069(0x1cf)](_0x3b751c){var _0x5d6605=_0x7a3069;return this[_0x5d6605(0x2d5)](),this['_injector'][_0x5d6605(0x96)](exports[_0x5d6605(0x372)],this[_0x5d6605(0xfe)],this[_0x5d6605(0x19a)],this['_awaitingChangeset'],[],this['_handler'],_0x3b751c);}[_0x7a3069(0x347)](_0x3b6b85,_0x2126b8){var _0x13f184=_0x7a3069,_0x5d09c0;_0x3b6b85===((_0x5d09c0=this[_0x13f184(0x351)])==null?void 0x0:_0x5d09c0[_0x13f184(0x3be)])&&(this[_0x13f184(0x2e2)](),this[_0x13f184(0x282)]=_0x2126b8===0x0?0x3e8:_0x2126b8*0x2);}[_0x7a3069(0x2d5)](){var _0x4897f4=_0x7a3069,_0x4d8544;(_0x4d8544=this[_0x4897f4(0x28c)])==null||_0x4d8544[_0x4897f4(0x269)](),this[_0x4897f4(0x282)]=0x0;}},exports[_0x7a3069(0x25a)]=oe([w(0x4,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),w(0x5,a['Inject'](p[_0x7a3069(0x2b9)])),w(0x6,a[_0x7a3069(0x115)]),w(0x7,a[_0x7a3069(0x9e)]),w(0x8,p[_0x7a3069(0x203)]),w(0x9,a[_0x7a3069(0x17a)]),w(0xa,a[_0x7a3069(0x1e4)](K))],exports['AwaitingState']),exports[_0x7a3069(0x383)]=class extends ae{constructor(_0x4ef5a5,_0x54f827,_0x196bc0,_0x585ac5,_0x59fa25,_0x37675a,_0x5778c7,_0x5418f1,_0x4d5d5a,_0x24d18b,_0x2d59c9,_0xad09a,_0x3cde1e){var _0x859f2d=_0x7a3069;super(_0x4ef5a5,_0x54f827,_0x196bc0,_0x585ac5,_0x59fa25,_0x4d5d5a,_0xad09a,_0x5418f1,_0x3cde1e),A(this,_0x859f2d(0xa0),'awaiting_with_pending'),A(this,_0x859f2d(0x282),0x0),A(this,_0x859f2d(0x1e6)),A(this,_0x859f2d(0x28c)),(this[_0x859f2d(0x33a)]=_0x5778c7,this['_logService']=_0x24d18b,this[_0x859f2d(0xfc)]=_0x2d59c9,this[_0x859f2d(0x1c5)]=_0x3cde1e,_0x37675a&&(this[_0x859f2d(0x1e6)]=_0x37675a,this[_0x859f2d(0x28c)]=this['_resendTimer'][_0x859f2d(0x22c)](({reqId:_0x45a906,timeout:_0x4a8bd8})=>{var _0xe16665=_0x859f2d;this[_0xe16665(0x347)](_0x45a906,_0x4a8bd8);})));}[_0x7a3069(0x265)](_0x2e4925){var _0x27fc92=_0x7a3069;return this[_0x27fc92(0x358)]['push'](_0x2e4925),this;}[_0x7a3069(0xd4)](_0x33d52e){var _0x12cb52=_0x7a3069;if(this[_0x12cb52(0x362)](_0x33d52e))return this[_0x12cb52(0x2d5)](),this[_0x12cb52(0x33a)][_0x12cb52(0x96)](exports[_0x12cb52(0x2f5)],this[_0x12cb52(0xfe)],this[_0x12cb52(0x19a)],this[_0x12cb52(0x351)],this[_0x12cb52(0x358)],null,[_0x33d52e],this['_handler']);try{const _0x3c7d79=this[_0x12cb52(0xfc)]['transformChangesets']([_0x33d52e],[this[_0x12cb52(0x351)]],!0x1);if(p['isTransformChangesetsSuccess'](_0x3c7d79)){const {c1Prime:_0x415cf9,c2Prime:_0x2d9720}=_0x3c7d79,_0x309bc1=this[_0x12cb52(0xfc)][_0x12cb52(0x95)](_0x415cf9[0x0],this['_pendingMutations']);if(p[_0x12cb52(0x194)](_0x309bc1)){const {c1Prime:_0x5771b8,m2Prime:_0x52206c}=_0x309bc1;return this[_0x12cb52(0xd8)](_0x5771b8),_0x2d9720[0x0][_0x12cb52(0x198)]=this[_0x12cb52(0x249)](),this[_0x12cb52(0x2d5)](),this[_0x12cb52(0x33a)][_0x12cb52(0x96)](exports[_0x12cb52(0x383)],this[_0x12cb52(0xfe)],this[_0x12cb52(0x19a)],_0x2d9720[0x0],_0x52206c,this[_0x12cb52(0x146)],void 0x0);}throw _0x309bc1[_0x12cb52(0x331)];}throw _0x3c7d79[_0x12cb52(0x331)];}catch(_0x3493c1){return this[_0x12cb52(0x393)][_0x12cb52(0x331)](_0x3493c1),this[_0x12cb52(0x1cf)](!0x1);}}[_0x7a3069(0x2b2)](_0x8908bf){var _0x4470ce=_0x7a3069;if(this[_0x4470ce(0x2d5)](),this[_0x4470ce(0x362)](_0x8908bf))return this[_0x4470ce(0x33a)][_0x4470ce(0x96)](exports[_0x4470ce(0x2f5)],this[_0x4470ce(0xfe)],this['type'],null,this[_0x4470ce(0x358)],this[_0x4470ce(0x351)],[],this[_0x4470ce(0x146)]);this[_0x4470ce(0x99)]();const _0x53e3a2=this[_0x4470ce(0x33a)][_0x4470ce(0x96)](exports[_0x4470ce(0x252)],this[_0x4470ce(0xfe)],this[_0x4470ce(0x19a)],this[_0x4470ce(0x358)],this[_0x4470ce(0x146)]);return _0x53e3a2[_0x4470ce(0x34b)](),_0x53e3a2['_updateLocalCache'](),_0x53e3a2;}[_0x7a3069(0xf9)](_0x57ed37){var _0x4d02cc=_0x7a3069;return this['_onConflict'](!!(_0x57ed37!=null&&_0x57ed37[_0x4d02cc(0x343)]));}[_0x7a3069(0x1b6)](_0x5173d7){var _0x58169b=_0x7a3069;return this[_0x58169b(0x282)]>ft?this[_0x58169b(0x1cd)]():(this[_0x58169b(0x1e6)]=St(this[_0x58169b(0x282)],{'timeout':this['_resendTimeout'],'reqId':_0x5173d7[_0x58169b(0x3be)]}),this[_0x58169b(0x28c)]=this[_0x58169b(0x1e6)]['subscribe'](({reqId:_0x14b728,timeout:_0x22f906})=>{this['_resendWithTimeout'](_0x14b728,_0x22f906);}),this);}[_0x7a3069(0x1cd)](){var _0x1f1e6c=_0x7a3069;return this[_0x1f1e6c(0x2d5)](),this[_0x1f1e6c(0x33a)][_0x1f1e6c(0x96)](exports['OfflineState'],this[_0x1f1e6c(0xfe)],this['type'],this[_0x1f1e6c(0x351)],this['_pendingMutations'],this[_0x1f1e6c(0x146)]);}['toggleOnline'](){return this;}[_0x7a3069(0x2e2)](){var _0x5a65e1=_0x7a3069;this[_0x5a65e1(0x146)][_0x5a65e1(0x1fe)](this[_0x5a65e1(0x351)]);}[_0x7a3069(0x1cf)](_0x111853){var _0x1edaf9=_0x7a3069;return this[_0x1edaf9(0x2d5)](),this[_0x1edaf9(0x33a)][_0x1edaf9(0x96)](exports[_0x1edaf9(0x372)],this[_0x1edaf9(0xfe)],this[_0x1edaf9(0x19a)],null,this[_0x1edaf9(0x358)],this[_0x1edaf9(0x146)],_0x111853);}[_0x7a3069(0x347)](_0x14f864,_0x1a9526){var _0x57bdba=_0x7a3069,_0x168096;_0x14f864===((_0x168096=this[_0x57bdba(0x351)])==null?void 0x0:_0x168096[_0x57bdba(0x3be)])&&(this[_0x57bdba(0x2e2)](),this['_resendTimeout']=_0x1a9526===0x0?0x3e8:_0x1a9526*0x2);}[_0x7a3069(0x2d5)](){var _0x24cdca=_0x7a3069,_0x5285af;(_0x5285af=this[_0x24cdca(0x28c)])==null||_0x5285af[_0x24cdca(0x269)](),this[_0x24cdca(0x282)]=0x0;}},exports[_0x7a3069(0x383)]=oe([w(0x6,a['Inject'](a[_0x7a3069(0x17e)])),w(0x7,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),w(0x8,a[_0x7a3069(0x115)]),w(0x9,a[_0x7a3069(0x9e)]),w(0xa,p['ITransformService']),w(0xb,a[_0x7a3069(0x17a)]),w(0xc,a['Optional'](K))],exports[_0x7a3069(0x383)]),exports['ConflictState']=class extends ae{constructor(_0x281517,_0x234222,_0x3d5406,_0x4fc0c2,_0x2b84ca,_0x38db06=!0x1,_0x152937,_0x6d58f2,_0x44e62a,_0x113653,_0x387390,_0x2c1a64,_0x3de3c4){var _0x43cebc=_0x7a3069;super(_0x281517,_0x234222,_0x3d5406,_0x4fc0c2,_0x2b84ca,_0x6d58f2,_0x44e62a,_0x113653,_0x3de3c4),A(this,'status',_0x43cebc(0xde)),(this[_0x43cebc(0x2dc)]=_0x38db06,this['_permissionService']=_0x152937,this[_0x43cebc(0x1c8)]=_0x387390,this[_0x43cebc(0x388)]=_0x2c1a64,this['localCacheService']=_0x3de3c4,this['_showConflictNotification'](),this[_0x43cebc(0x3d1)](),this[_0x43cebc(0x1a8)]());}[_0x7a3069(0x265)](){return this;}[_0x7a3069(0xd4)](){return this;}[_0x7a3069(0x2b2)](){return this;}[_0x7a3069(0xf9)](){return this;}[_0x7a3069(0x1b6)](){return this;}[_0x7a3069(0x1cd)](){return this;}[_0x7a3069(0x320)](){return this;}['resend'](){var _0x596614=_0x7a3069;throw new Error(_0x596614(0x1d3));}[_0x7a3069(0x3d1)](){var _0x580e1f=_0x7a3069,_0x48b223;(_0x48b223=this[_0x580e1f(0xe8)])==null||_0x48b223['updateOfflineData'](this[_0x580e1f(0xfe)],this['type'],null,[]);}[_0x7a3069(0x3d5)](){var _0x2334a5=_0x7a3069;this[_0x2334a5(0x2dc)]?this[_0x2334a5(0x388)][_0x2334a5(0xe2)]({'id':Z[_0x2334a5(0xd5)]}):this[_0x2334a5(0x388)][_0x2334a5(0xe2)]({'id':Z['CONFLICT']});}[_0x7a3069(0x1a8)](){var _0x18172f=_0x7a3069;this[_0x18172f(0x1fb)]['updatePermissionPoint'](new X[(_0x18172f(0x3c3))](this[_0x18172f(0xfe)])['id'],!0x1);}},exports[_0x7a3069(0x372)]=oe([w(0x6,a[_0x7a3069(0x208)](a[_0x7a3069(0x202)])),w(0x7,a[_0x7a3069(0x115)]),w(0x8,a[_0x7a3069(0x17a)]),w(0x9,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),w(0xa,a['Inject'](a['LocaleService'])),w(0xb,a[_0x7a3069(0x208)](ee)),w(0xc,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x372)]),exports[_0x7a3069(0x2a7)]=class extends ae{constructor(_0x459b1c,_0x4f99d0,_0x26627e,_0xc8b6b9,_0x3f9c64,_0x29b5cd,_0xbe0f9c,_0x2491af,_0x356512,_0x214822){var _0x2b08dc=_0x7a3069;super(_0x459b1c,_0x4f99d0,_0x26627e,_0xc8b6b9,_0x3f9c64,_0x2491af,_0x356512,_0xbe0f9c,_0x214822),A(this,_0x2b08dc(0xa0),'offline'),this[_0x2b08dc(0x33a)]=_0x29b5cd;}[_0x7a3069(0x265)](_0x3a0bb9){var _0x365c08=_0x7a3069;return this[_0x365c08(0x358)][_0x365c08(0x32d)](_0x3a0bb9),this['_updateLocalCache'](),this;}['onRemoteChangeset'](_0x19e7ad){var _0x1a66b0=_0x7a3069;throw new Error(_0x1a66b0(0x29f));}[_0x7a3069(0x2b2)](){var _0x3619ac=_0x7a3069;throw new Error(_0x3619ac(0x11e));}['onRemoteRej'](){throw new Error('[OfflineState]:\x20received\x20rejection.');}['onRemoteRetry'](){return this;}[_0x7a3069(0x1cd)](){return this;}[_0x7a3069(0x320)](){var _0x45d918=_0x7a3069;const {_injector:_0x12ada9,_pendingMutations:_0x5c5a95,_awaitingChangeset:_0x4bc1be,unitID:_0x517aa5,_handler:_0x2fefe5,type:_0x36979c}=this,_0x48e426=It(_0x12ada9,_0x517aa5,_0x36979c,_0x4bc1be,_0x5c5a95,_0x2fefe5);return _0x48e426 instanceof exports[_0x45d918(0x252)]?_0x48e426[_0x45d918(0x34b)]():(_0x48e426 instanceof exports[_0x45d918(0x383)]||_0x48e426 instanceof exports['AwaitingState'])&&_0x48e426[_0x45d918(0x2e2)](),_0x48e426;}['resend'](){throw new Error('[OfflineState]:\x20invalid\x20calling\x20to\x20`resend`.');}},exports[_0x7a3069(0x2a7)]=oe([w(0x5,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),w(0x6,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),w(0x7,a['ICommandService']),w(0x8,a[_0x7a3069(0x17a)]),w(0x9,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x2a7)]),exports[_0x7a3069(0x2f5)]=class extends ae{constructor(_0x472606,_0x3abb6a,_0x36c3d9,_0x4bfe77,_0x1c6dcd,_0x1ea1f9,_0x4fd7c8,_0x51787a,_0x2a0e8d,_0x376c1f,_0x21c477,_0x589170,_0x24120f,_0x5e3423){var _0x3dc195=_0x7a3069;super(_0x472606,_0x3abb6a,_0x36c3d9,_0x4bfe77,_0x4fd7c8,_0x21c477,_0x589170,_0x2a0e8d,_0x5e3423),A(this,_0x3dc195(0xa0),_0x3dc195(0x1ac)),(this[_0x3dc195(0xab)]=_0x1c6dcd,this[_0x3dc195(0x392)]=_0x1ea1f9,this[_0x3dc195(0x33a)]=_0x51787a,this['_logService']=_0x376c1f,this[_0x3dc195(0xfc)]=_0x24120f,this[_0x3dc195(0x1c5)]=_0x5e3423);}[_0x7a3069(0x1f5)](_0x249da1){var _0x5262b6=_0x7a3069;try{const _0x266ddc=[..._0x249da1,...this[_0x5262b6(0x392)]],_0x1f3e38=[this['_awaitingChangeset']||this[_0x5262b6(0xab)]]['filter'](_0xdedac6=>!!_0xdedac6);let _0xddd6cc,_0x38a31a;if(_0x1f3e38['length']){const _0x33dae9=this[_0x5262b6(0xfc)][_0x5262b6(0x1e8)](_0x266ddc,_0x1f3e38,!0x1);if(!p[_0x5262b6(0x2e4)](_0x33dae9))throw _0x33dae9[_0x5262b6(0x331)];_0xddd6cc=_0x33dae9[_0x5262b6(0x38e)],_0x38a31a=_0x33dae9['c2Prime'];}else _0xddd6cc=_0x266ddc,_0x38a31a=[];let _0x53f6b9=this[_0x5262b6(0x358)];_0xddd6cc[_0x5262b6(0xb6)](_0x439063=>{var _0x1f53c9=_0x5262b6;let _0x5725f3;if(_0x53f6b9[_0x1f53c9(0x324)]){const _0x2dc613=this[_0x1f53c9(0xfc)]['transformMutationsWithChangeset'](_0x439063,_0x53f6b9);if(!p[_0x1f53c9(0x194)](_0x2dc613))throw _0x2dc613['error'];_0x5725f3=_0x2dc613[_0x1f53c9(0x38e)],_0x53f6b9=_0x2dc613[_0x1f53c9(0x34c)];}else _0x5725f3=_0x439063;this[_0x1f53c9(0xd8)](_0x5725f3);}),this['_acknowledgedAwaitingChangeset']&&this[_0x5262b6(0x99)](),this[_0x5262b6(0x351)]&&_0x38a31a['length']&&(_0x38a31a[0x0][_0x5262b6(0x198)]=this[_0x5262b6(0x249)]());let _0x8cfc5b;if(this[_0x5262b6(0x351)]&&_0x53f6b9['length']!==0x0)_0x8cfc5b=this['_injector']['createInstance'](exports[_0x5262b6(0x383)],this[_0x5262b6(0xfe)],this[_0x5262b6(0x19a)],_0x38a31a[0x0],_0x53f6b9,this[_0x5262b6(0x146)],void 0x0);else{if(this[_0x5262b6(0x351)]&&_0x53f6b9[_0x5262b6(0x324)]===0x0)_0x38a31a[0x0][_0x5262b6(0x198)]=this['_getCurrentRevision'](),_0x8cfc5b=this[_0x5262b6(0x33a)][_0x5262b6(0x96)](exports[_0x5262b6(0x25a)],this[_0x5262b6(0xfe)],this[_0x5262b6(0x19a)],_0x38a31a[0x0],this[_0x5262b6(0x146)]);else{if(_0x53f6b9[_0x5262b6(0x324)]!==0x0){const _0x20e466=this[_0x5262b6(0x33a)][_0x5262b6(0x96)](exports[_0x5262b6(0x252)],this[_0x5262b6(0xfe)],this[_0x5262b6(0x19a)],_0x53f6b9,this[_0x5262b6(0x146)]);_0x20e466[_0x5262b6(0x34b)](),_0x8cfc5b=_0x20e466;}else _0x8cfc5b=this[_0x5262b6(0x33a)]['createInstance'](exports[_0x5262b6(0x76)],this[_0x5262b6(0xfe)],this['type'],this[_0x5262b6(0x146)]);}}return _0x8cfc5b['_updateLocalCache'](),_0x8cfc5b;}catch(_0x411c1c){return this[_0x5262b6(0x393)]['error'](_0x5262b6(0x131),_0x5262b6(0x9f),_0x411c1c),this[_0x5262b6(0x33a)][_0x5262b6(0x96)](exports[_0x5262b6(0x372)],this[_0x5262b6(0xfe)],this['type'],this['_awaitingChangeset'],this[_0x5262b6(0x358)],this['_handler'],!0x1);}}[_0x7a3069(0x2e2)](){throw new Error('[FetchingMissState]:\x20invalid\x20calling\x20to\x20`resend`.');}['appendMutation'](_0x135734){var _0x1934ec=_0x7a3069;return this[_0x1934ec(0x358)][_0x1934ec(0x32d)](_0x135734),this;}['onRemoteChangeset'](_0x5b59e4){var _0x4e4929=_0x7a3069;return this[_0x4e4929(0x392)][_0x4e4929(0x32d)](_0x5b59e4),this;}['onRemoteAck'](_0x2b1f3f){var _0x1f93cc=_0x7a3069;if(this[_0x1f93cc(0x351)])return this[_0x1f93cc(0xab)]=this[_0x1f93cc(0x351)],this[_0x1f93cc(0x351)]=null,this;throw new Error(_0x1f93cc(0x3a9));}[_0x7a3069(0xf9)](_0x11e191){var _0x2d026e=_0x7a3069;return this[_0x2d026e(0x1cf)](!!(_0x11e191!=null&&_0x11e191['isPermissionRej']));}[_0x7a3069(0x1b6)](){return this;}[_0x7a3069(0x1cd)](){var _0x47efc6=_0x7a3069;return this[_0x47efc6(0x33a)]['createInstance'](exports[_0x47efc6(0x2a7)],this[_0x47efc6(0xfe)],this['type'],this[_0x47efc6(0x351)],this[_0x47efc6(0x358)],this['_handler']);}[_0x7a3069(0x320)](){return this;}[_0x7a3069(0x1cf)](_0x234446){var _0x436282=_0x7a3069;return this[_0x436282(0x33a)][_0x436282(0x96)](exports[_0x436282(0x372)],this['unitID'],this[_0x436282(0x19a)],this[_0x436282(0x351)],this['_pendingMutations'],this[_0x436282(0x146)],_0x234446);}},exports[_0x7a3069(0x2f5)]=oe([w(0x7,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),w(0x8,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),w(0x9,a[_0x7a3069(0x9e)]),w(0xa,a[_0x7a3069(0x115)]),w(0xb,a['IUndoRedoService']),w(0xc,p['ITransformService']),w(0xd,a[_0x7a3069(0x1e4)](K))],exports['FetchingMissState']);function It(_0x23ef57,_0x145052,_0x1cce5a,_0x39b300,_0x3fca15,_0x5e7370){var _0x1851a2=_0x7a3069;return _0x39b300&&_0x3fca15[_0x1851a2(0x324)]?_0x23ef57[_0x1851a2(0x96)](exports[_0x1851a2(0x383)],_0x145052,_0x1cce5a,_0x39b300,_0x3fca15,_0x5e7370,void 0x0):_0x39b300?_0x23ef57['createInstance'](exports[_0x1851a2(0x25a)],_0x145052,_0x1cce5a,_0x39b300,_0x5e7370):_0x3fca15[_0x1851a2(0x324)]?_0x23ef57[_0x1851a2(0x96)](exports[_0x1851a2(0x252)],_0x145052,_0x1cce5a,_0x3fca15,_0x5e7370):_0x23ef57['createInstance'](exports[_0x1851a2(0x76)],_0x145052,_0x1cce5a,_0x5e7370);}var ni=Object[_0x7a3069(0x23e)],Be=(_0x4c723f,_0x2e83ac,_0x4c161f,_0x4d8ed0)=>{for(var _0x2b7f2a=_0x4d8ed0>0x1?void 0x0:_0x4d8ed0?ni(_0x2e83ac,_0x4c161f):_0x2e83ac,_0x3957f3=_0x4c723f['length']-0x1,_0x2bf848;_0x3957f3>=0x0;_0x3957f3--)(_0x2bf848=_0x4c723f[_0x3957f3])&&(_0x2b7f2a=_0x2bf848(_0x2b7f2a)||_0x2b7f2a);return _0x2b7f2a;},j=(_0x5891af,_0xd6ea9c)=>(_0x101da7,_0x328252)=>_0xd6ea9c(_0x101da7,_0x328252,_0x5891af);exports['CollaborationEntity']=class extends a[_0x7a3069(0x14e)]{constructor(_0x3057fb,_0x4b96e8,_0x88c8d9,_0x5a429b,_0x52a2e4,_0x455b1f,_0x44973a,_0x125829,_0x27a5cd,_0x31c934,_0x227f19,_0x3b4638,_0x564cd4){var _0x6c8f68=_0x7a3069;super(),A(this,'_state$',new H['BehaviorSubject'](null)),A(this,'state$',this[_0x6c8f68(0x22e)]['asObservable']()),A(this,_0x6c8f68(0x2d0)),A(this,_0x6c8f68(0x87),!0x1),A(this,_0x6c8f68(0x367),''),A(this,_0x6c8f68(0x3cc),0x0),A(this,_0x6c8f68(0x12a),this[_0x6c8f68(0xcd)]['pipe'](H[_0x6c8f68(0x374)](_0x238599=>_0x238599?_0x238599[_0x6c8f68(0xa0)]:je[_0x6c8f68(0x3b2)]),H[_0x6c8f68(0x20f)](0x1))),A(this,_0x6c8f68(0x248),!0x1),A(this,'_remoteChangesetQueue',[]),(this[_0x6c8f68(0xfe)]=_0x3057fb,this[_0x6c8f68(0x152)]=_0x4b96e8,this['_type']=_0x88c8d9,this[_0x6c8f68(0x33a)]=_0x5a429b,this[_0x6c8f68(0x1d2)]=_0x52a2e4,this[_0x6c8f68(0x1c8)]=_0x455b1f,this[_0x6c8f68(0x356)]=_0x44973a,this[_0x6c8f68(0x104)]=_0x125829,this[_0x6c8f68(0x393)]=_0x27a5cd,this[_0x6c8f68(0x236)]=_0x31c934,this[_0x6c8f68(0x1fb)]=_0x227f19,this[_0x6c8f68(0x136)]=_0x3b4638,this['_localCacheService']=_0x564cd4);}get['state'](){var _0x39bcb7=_0x7a3069;return this[_0x39bcb7(0x2d0)];}async['init'](){var _0xe810eb=_0x7a3069;if(this[_0xe810eb(0x2fa)])throw new Error(_0xe810eb(0x16d));await this[_0xe810eb(0x256)]();}[_0x7a3069(0x3da)](){var _0x3a62ba=_0x7a3069;return this['_collaborationPaused']=!0x0,a[_0x3a62ba(0xf7)](()=>{var _0x36312a=_0x3a62ba;this[_0x36312a(0x87)]=!0x1,this['_exhaustRemoteChangesetQueue']();});}[_0x7a3069(0x22b)](_0x5bab05){var _0x400bd5=_0x7a3069;this[_0x400bd5(0x9c)](_0x5bab05);}[_0x7a3069(0xcb)](_0xd258a){var _0x330a0d=_0x7a3069;this[_0x330a0d(0x2d0)]=_0xd258a,this[_0x330a0d(0x22e)]['next'](_0xd258a);}async[_0x7a3069(0x256)](){var _0x5eacf9=_0x7a3069,_0x5bd08e;this['_updateState'](await this[_0x5eacf9(0xb5)]()),this[_0x5eacf9(0x136)]&&((_0x5bd08e=this[_0x5eacf9(0x136)])==null||_0x5bd08e[_0x5eacf9(0x37f)](this[_0x5eacf9(0xfe)]),this[_0x5eacf9(0x97)](this[_0x5eacf9(0x136)][_0x5eacf9(0x332)](this['unitID'])['subscribe'](_0x2fce31=>{var _0x3b513d=_0x5eacf9;this['_logService'][_0x3b513d(0x80)](_0x3b513d(0x2c1),_0x3b513d(0x234),_0x2fce31),_0x2fce31===He['OTHER_CLIENTS_EDITING']?(this['_eventService'][_0x3b513d(0xe2)]({'id':Z[_0x3b513d(0x375)]}),this[_0x3b513d(0x1fb)][_0x3b513d(0x127)](new X[(_0x3b513d(0x3c3))](this[_0x3b513d(0xfe)])['id'],!0x1),this[_0x3b513d(0x1fb)][_0x3b513d(0x215)](!0x1)):(this['_permissionService'][_0x3b513d(0x127)](new X[(_0x3b513d(0x3c3))](this['unitID'])['id'],!0x0),this[_0x3b513d(0x1fb)][_0x3b513d(0x215)](!0x0));})));let _0x2d6d43=!0x1;return this[_0x5eacf9(0x97)](this['session'][_0x5eacf9(0x2e0)][_0x5eacf9(0x22c)](_0x1457d4=>{var _0x468dc9=_0x5eacf9;_0x1457d4===re[_0x468dc9(0x310)]?this[_0x468dc9(0x25b)](_0x2d6d43):_0x1457d4===re['OFFLINE']&&(_0x2d6d43=!0x0,this[_0x468dc9(0x2a3)]());})),this[_0x5eacf9(0x97)](this['session'][_0x5eacf9(0x15d)][_0x5eacf9(0x22c)](_0x43fa70=>{var _0xd3e4b4=_0x5eacf9;try{switch(_0x43fa70[_0xd3e4b4(0x2a9)]){case p[_0xd3e4b4(0x278)][_0xd3e4b4(0x353)]:{this['_onRemoteChangeset'](p[_0xd3e4b4(0xe7)](_0x43fa70[_0xd3e4b4(0x1c0)]));break;}case p[_0xd3e4b4(0x278)][_0xd3e4b4(0x257)]:{this[_0xd3e4b4(0xc4)](_0x43fa70[_0xd3e4b4(0x1c0)]);break;}case p['CollaborationEvent']['CHANGESET_REJ']:{this[_0xd3e4b4(0x39e)]();break;}case p[_0xd3e4b4(0x278)][_0xd3e4b4(0x3c6)]:{this[_0xd3e4b4(0x29d)](_0x43fa70[_0xd3e4b4(0x1c0)]);break;}case p[_0xd3e4b4(0x278)]['PSEUDO_FETCH_MISSING_RESULT']:{this[_0xd3e4b4(0xc3)](_0x43fa70[_0xd3e4b4(0x1c0)][_0xd3e4b4(0x1ae)][_0xd3e4b4(0x374)](_0x45c9d2=>p['parseProtocolChangeset'](_0x45c9d2)));break;}case p[_0xd3e4b4(0x278)]['PERMISSION_REJ']:{this['_onRemoteRejected']({'isPermissionRej':!0x0});break;}case p[_0xd3e4b4(0x278)]['UNISCRIPT_RUN']:break;}}catch(_0x2d16a8){throw console[_0xd3e4b4(0x331)]('Error\x20on\x20receiving\x20event',_0x2d16a8),_0x2d16a8;}})),this[_0x5eacf9(0x2d0)];}[_0x7a3069(0x15b)](){this['_transitionLocked']=!0x1;}[_0x7a3069(0x8e)](){var _0xc84e11=_0x7a3069;if(this['_transitionLocked'])throw new Error(_0xc84e11(0xe4));this[_0xc84e11(0x248)]=!0x0;}[_0x7a3069(0x9c)](_0x3fb176){var _0x237f53=_0x7a3069;this['_lockTransition'](),this[_0x237f53(0xcb)](this[_0x237f53(0x2d0)][_0x237f53(0x265)](_0x3fb176)),this['_unlockTransition']();}[_0x7a3069(0x10e)](_0x285c57){var _0x2eb958=_0x7a3069;if(!(_0x285c57[_0x2eb958(0x33c)]<=this[_0x2eb958(0x356)][_0x2eb958(0x1e3)](this[_0x2eb958(0xfe)]))){if(this[_0x2eb958(0x87)]){this['_remoteChangesetQueue'][_0x2eb958(0x32d)](_0x285c57);return;}this[_0x2eb958(0x17b)](_0x285c57);}}[_0x7a3069(0x1b4)](){var _0x285903=_0x7a3069;this['_remoteChangesetQueue'][_0x285903(0xb6)](_0x2179ba=>this['_applyRemoteChangeset'](_0x2179ba)),this[_0x285903(0x1bd)]=[];}[_0x7a3069(0x17b)](_0x5f0ce3){var _0x4c29eb=_0x7a3069;const _0x39ec35=this['_compressMutationService']['interceptor'][_0x4c29eb(0x3a3)](this['_compressMutationService'][_0x4c29eb(0x30f)][_0x4c29eb(0x3cd)]()[_0x4c29eb(0x1b0)])(_0x5f0ce3[_0x4c29eb(0x18e)],null)||_0x5f0ce3[_0x4c29eb(0x18e)],_0x4c0034={..._0x5f0ce3,'mutations':_0x39ec35};this[_0x4c29eb(0x8e)](),this[_0x4c29eb(0xcb)](this[_0x4c29eb(0x2d0)][_0x4c29eb(0xd4)](_0x4c0034)),this['_unlockTransition']();}[_0x7a3069(0xc4)](_0x4b72df){var _0x4c1038=_0x7a3069;this[_0x4c1038(0x8e)](),this['_updateState'](this['_state'][_0x4c1038(0x2b2)](_0x4b72df)),this[_0x4c1038(0x15b)]();}[_0x7a3069(0x39e)](_0x201e92){var _0x400216=_0x7a3069;this[_0x400216(0x8e)](),this[_0x400216(0xcb)](this[_0x400216(0x2d0)][_0x400216(0xf9)](_0x201e92)),this['_unlockTransition']();}[_0x7a3069(0x29d)](_0x55381e){var _0xaedf5c=_0x7a3069;this['_lockTransition'](),this[_0xaedf5c(0xcb)](this['_state']['onRemoteRetry'](_0x55381e)),this[_0xaedf5c(0x15b)]();}['_onFetchMissResult'](_0x499fe1){var _0x5a340a=_0x7a3069;if(!(this[_0x5a340a(0x2d0)]instanceof exports[_0x5a340a(0x2f5)]))throw new TypeError('[CollaborationEntity]:\x20cannot\x20apply\x20missing\x20results\x20on\x20other\x20states!');const _0x2b4777=_0x499fe1[_0x5a340a(0x374)](_0x3a9971=>{var _0x86e1ac=_0x5a340a;const _0x446801=this[_0x86e1ac(0x1d2)][_0x86e1ac(0x30f)][_0x86e1ac(0x3a3)](this[_0x86e1ac(0x1d2)]['interceptor']['getInterceptPoints']()[_0x86e1ac(0x1b0)])(_0x3a9971['mutations'],null)||_0x3a9971[_0x86e1ac(0x18e)];return{..._0x3a9971,'mutations':_0x446801};});this[_0x5a340a(0x8e)](),this[_0x5a340a(0xcb)](this['_state'][_0x5a340a(0x1f5)](_0x2b4777)),this[_0x5a340a(0x15b)]();}[_0x7a3069(0x2a3)](){var _0x35363b=_0x7a3069;this['_lockTransition'](),this[_0x35363b(0xcb)](this[_0x35363b(0x2d0)]['toggleOffline']()),this[_0x35363b(0x15b)]();}[_0x7a3069(0x25b)](_0x20be75=!0x1){var _0x446bd0=_0x7a3069;this['_lockTransition'](),this['_updateState'](this[_0x446bd0(0x2d0)][_0x446bd0(0x320)]()),this[_0x446bd0(0x15b)]();const _0x198624=this[_0x446bd0(0x2d0)];_0x20be75&&_0x198624 instanceof exports[_0x446bd0(0x76)]&&(this[_0x446bd0(0x8e)](),this[_0x446bd0(0xcb)](_0x198624[_0x446bd0(0x35b)]()),this['_unlockTransition']());}async['_createInitialState'](){return new Promise(_0x209aeb=>{var _0x5d7cdb=_0x2a39;this['session'][_0x5d7cdb(0x2e0)][_0x5d7cdb(0x98)](H[_0x5d7cdb(0x144)](0x1))['subscribe'](async _0x972c6b=>{var _0x3e7581=_0x5d7cdb;_0x209aeb(await this[_0x3e7581(0x107)](_0x972c6b===re[_0x3e7581(0x310)]));});});}['_createHandler'](){var _0x45f26e=_0x7a3069;const _0x35826b=this[_0x45f26e(0xfe)];return{'onStateChange':(_0x48a40e,_0x2555d5)=>{var _0xd83066=_0x45f26e;if(_0x48a40e!==this['_state'])throw new Error('[CollaborationEntity]:\x20invalid\x20state\x20transition!\x20State\x20transferred\x20from\x20is\x20not\x20the\x20current\x20state.\x0aBefore:\x20'+_0x48a40e[_0xd83066(0xa0)]+_0xd83066(0x35f)+_0x2555d5['status']+_0xd83066(0x303)+this[_0xd83066(0x2d0)][_0xd83066(0xa0)]);this[_0xd83066(0xcb)](_0x2555d5);},'onSendChangeset':_0x3d59a9=>{var _0x16ad33=_0x45f26e;_0x3d59a9[_0x16ad33(0xc1)]||(_0x3d59a9['sid']=this[_0x16ad33(0x367)],_0x3d59a9[_0x16ad33(0x3be)]=++this['_changesetReqId']);const _0x55e81d={'eventID':p[_0x16ad33(0x278)][_0x16ad33(0x283)],'data':{'unitID':_0x3d59a9[_0x16ad33(0xfe)],'unitType':this['_type'],'changeset':_0x3d59a9,'memberID':this[_0x16ad33(0x152)][_0x16ad33(0x31a)]()}};this[_0x16ad33(0x152)][_0x16ad33(0xb0)](_0x55e81d,this['unitID']);},'onMissingChangesets':({from:_0xa1a0d3,to:_0x463479})=>{var _0xb02b45=_0x45f26e;this[_0xb02b45(0x393)][_0xb02b45(0x80)]('[CollaborationEntity]','fetching\x20missing\x20changesets\x20from\x20'+_0xa1a0d3+_0xb02b45(0x186)+_0x463479);const _0x36ac59={'eventID':p[_0xb02b45(0x278)][_0xb02b45(0x3d7)],'data':{'unitID':_0x35826b,'unitType':this[_0xb02b45(0x3db)],'from':_0xa1a0d3,'to':_0x463479}};this[_0xb02b45(0x152)][_0xb02b45(0xb0)](_0x36ac59,this['unitID']);}};}async[_0x7a3069(0x107)](_0x5a9ed0){var _0x4cef42=_0x7a3069,_0xc30054,_0x278685,_0x2ae3b4;const _0x608ec6=await((_0xc30054=this['_localCacheService'])==null?void 0x0:_0xc30054[_0x4cef42(0x1e9)](this['unitID'])),_0xfe5738=(_0x278685=_0x608ec6==null?void 0x0:_0x608ec6[_0x4cef42(0x18e)])!=null?_0x278685:[],_0x1c48ce=(_0x2ae3b4=_0x608ec6==null?void 0x0:_0x608ec6[_0x4cef42(0x251)])!=null?_0x2ae3b4:null,_0x3e6450=!!(_0x1c48ce!=null&&_0x1c48ce[_0x4cef42(0xc1)])&&!!(_0x1c48ce!=null&&_0x1c48ce['reqId']);this[_0x4cef42(0x367)]=_0x3e6450?_0x1c48ce[_0x4cef42(0xc1)]:p[_0x4cef42(0x24e)](),this[_0x4cef42(0x3cc)]=_0x3e6450?_0x1c48ce[_0x4cef42(0x3be)]:0x0;const _0x3db349=this[_0x4cef42(0xfe)];try{this[_0x4cef42(0x318)](_0x1c48ce,_0xfe5738);}catch(_0x12699f){this[_0x4cef42(0x393)][_0x4cef42(0x331)](_0x12699f);}const _0x1b9b09=this['_createHandler']();if(_0x5a9ed0){const _0x147002=It(this['_injector'],_0x3db349,this[_0x4cef42(0x3db)],_0x1c48ce,_0xfe5738,_0x1b9b09);return _0x147002 instanceof exports[_0x4cef42(0x252)]?_0x147002[_0x4cef42(0x34b)]():(_0x147002 instanceof exports['AwaitingWithPendingState']||_0x147002 instanceof exports['AwaitingState'])&&_0x147002[_0x4cef42(0x2e2)](),_0x147002;}return this['_injector'][_0x4cef42(0x96)](exports[_0x4cef42(0x2a7)],_0x3db349,this['_type'],_0x1c48ce,_0xfe5738,_0x1b9b09);}[_0x7a3069(0x318)](_0x527da3,_0x2f2643){var _0x3038a9=_0x7a3069,_0x4da781,_0x2e9bd9;const _0x25f966=this[_0x3038a9(0x1d2)][_0x3038a9(0x30f)][_0x3038a9(0x3a3)](this['_compressMutationService'][_0x3038a9(0x30f)][_0x3038a9(0x3cd)]()['COMPRESS_MUTATION_APPLY']);(_0x4da781=_0x25f966((_0x527da3==null?void 0x0:_0x527da3[_0x3038a9(0x18e)])||[],null))==null||_0x4da781['forEach'](_0x1773db=>this[_0x3038a9(0x236)][_0x3038a9(0x167)](_0x1773db['id'],_0x1773db[_0x3038a9(0x196)])),(_0x2e9bd9=_0x25f966(_0x2f2643||[],null))==null||_0x2e9bd9['forEach'](_0x4c36bd=>this[_0x3038a9(0x236)]['executeCommand'](_0x4c36bd['id'],_0x4c36bd[_0x3038a9(0x196)]));}},exports[_0x7a3069(0x1e7)]=Be([j(0x3,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),j(0x4,a[_0x7a3069(0x208)](p[_0x7a3069(0x114)])),j(0x5,a[_0x7a3069(0x208)](a[_0x7a3069(0x16f)])),j(0x6,a[_0x7a3069(0x208)](p['RevisionService'])),j(0x7,a[_0x7a3069(0x208)](ee)),j(0x8,a[_0x7a3069(0x9e)]),j(0x9,a['ICommandService']),j(0xa,a[_0x7a3069(0x202)]),j(0xb,a[_0x7a3069(0x1e4)](de)),j(0xc,a['Optional'](K))],exports['CollaborationEntity']),exports[_0x7a3069(0x394)]=class extends exports[_0x7a3069(0x1e7)]{constructor(_0x4af4fb,_0x23c902,_0x24a321,_0x147cb3,_0x24c01f,_0x1c9027,_0x26dcc9,_0x2422bf,_0x54c6df,_0x10a5f6,_0x61ea13,_0x3f0c57,_0x4be407){var _0x4c96ba=_0x7a3069;super(_0x4af4fb,_0x24a321,_0x23c902,_0x147cb3,_0x24c01f,_0x1c9027,_0x26dcc9,_0x2422bf,_0x54c6df,_0x10a5f6,_0x61ea13,_0x3f0c57,_0x4be407),A(this,_0x4c96ba(0x3ca),null),(this[_0x4c96ba(0xfe)]=_0x4af4fb,this[_0x4c96ba(0x19a)]=_0x23c902);}[_0x7a3069(0x352)](_0x1a8bd){this['_handlerCallback']=_0x1a8bd;}[_0x7a3069(0x142)](){var _0xc7e51=_0x7a3069;this[_0xc7e51(0x3ca)]=null,super['dispose']();}[_0x7a3069(0x316)](){var _0x310f29=_0x7a3069;const _0x277083=super[_0x310f29(0x316)]();return _0x277083[_0x310f29(0x11d)]=_0x39efe8=>{var _0xd6b8f8=_0x310f29,_0x136268,_0x4057b3;return(_0x4057b3=(_0x136268=this['_handlerCallback'])==null?void 0x0:_0x136268[_0xd6b8f8(0x11d)])==null?void 0x0:_0x4057b3[_0xd6b8f8(0x1a7)](_0x136268,_0x39efe8);},_0x277083[_0x310f29(0x221)]=_0x58c620=>{var _0x36c206=_0x310f29,_0x3d680b,_0x285fc6;return(_0x285fc6=(_0x3d680b=this[_0x36c206(0x3ca)])==null?void 0x0:_0x3d680b[_0x36c206(0x221)])==null?void 0x0:_0x285fc6[_0x36c206(0x1a7)](_0x3d680b,_0x58c620);},_0x277083['onTransformSelections']=_0x2b2e6e=>{var _0x113516=_0x310f29,_0x57bef7,_0x3d180e;return(_0x3d180e=(_0x57bef7=this[_0x113516(0x3ca)])==null?void 0x0:_0x57bef7[_0x113516(0xfb)])==null?void 0x0:_0x3d180e[_0x113516(0x1a7)](_0x57bef7,_0x2b2e6e);},_0x277083[_0x310f29(0x2dd)]=_0x294a83=>{var _0x13a2c4=_0x310f29,_0x4776a7,_0x4eac9f;return(_0x4eac9f=(_0x4776a7=this[_0x13a2c4(0x3ca)])==null?void 0x0:_0x4776a7[_0x13a2c4(0x2dd)])==null?void 0x0:_0x4eac9f[_0x13a2c4(0x1a7)](_0x4776a7,_0x294a83);},_0x277083['onTransformRemoteChangesetByIMECache']=_0x19adb7=>{var _0x575841=_0x310f29,_0x3f28e5,_0x105330,_0x4e0882;if(!((_0x3f28e5=this[_0x575841(0x3ca)])!=null&&_0x3f28e5[_0x575841(0x1bb)]))throw new Error(_0x575841(0x350));return(_0x4e0882=(_0x105330=this[_0x575841(0x3ca)])==null?void 0x0:_0x105330[_0x575841(0x1bb)])==null?void 0x0:_0x4e0882[_0x575841(0x1a7)](_0x105330,_0x19adb7);},_0x277083[_0x310f29(0x20e)]=_0x216dc9=>{var _0x2cdf20=_0x310f29,_0x1b39cf,_0x1fbc0c,_0x42f5ab;if(!((_0x1b39cf=this['_handlerCallback'])!=null&&_0x1b39cf['onTransformRemoteChangesetByStateCache']))throw new Error(_0x2cdf20(0x9b));return(_0x42f5ab=(_0x1fbc0c=this[_0x2cdf20(0x3ca)])==null?void 0x0:_0x1fbc0c['onTransformRemoteChangesetByStateCache'])==null?void 0x0:_0x42f5ab[_0x2cdf20(0x1a7)](_0x1fbc0c,_0x216dc9);},_0x277083;}async[_0x7a3069(0x256)](){var _0x297c15=_0x7a3069;const _0x5eafb2=await super[_0x297c15(0x256)]();return this[_0x297c15(0x97)](this[_0x297c15(0x236)][_0x297c15(0xfa)]((_0x1b0f3b,_0x722ab1)=>{var _0x1fa757=_0x297c15;if(_0x1b0f3b[_0x1fa757(0x19a)]!==a[_0x1fa757(0x223)][_0x1fa757(0x23c)]||_0x722ab1!=null&&_0x722ab1[_0x1fa757(0x158)]||_0x722ab1!=null&&_0x722ab1['onlyLocal']||_0x1b0f3b['id']===ct[_0x1fa757(0x33e)]['id'])return;const _0x13fe0c=_0x1b0f3b[_0x1fa757(0x196)];if((_0x13fe0c==null?void 0x0:_0x13fe0c['unitId'])!==this[_0x1fa757(0xfe)])return;const _0x15a1f6=_0x1b0f3b,_0x3edb8d=this[_0x1fa757(0x1d2)]['interceptor'][_0x1fa757(0x3a3)](this['_compressMutationService'][_0x1fa757(0x30f)][_0x1fa757(0x3cd)]()['COMPRESS_MUTATION_SEND'])([_0x15a1f6],null)||[_0x15a1f6];this[_0x1fa757(0x9c)](_0x3edb8d[0x0]);})),_0x5eafb2;}},exports[_0x7a3069(0x394)]=Be([j(0x3,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),j(0x4,a[_0x7a3069(0x208)](p[_0x7a3069(0x114)])),j(0x5,a[_0x7a3069(0x208)](a[_0x7a3069(0x16f)])),j(0x6,a[_0x7a3069(0x208)](p['RevisionService'])),j(0x7,a[_0x7a3069(0x208)](ee)),j(0x8,a[_0x7a3069(0x9e)]),j(0x9,a[_0x7a3069(0x115)]),j(0xa,a[_0x7a3069(0x202)]),j(0xb,a[_0x7a3069(0x1e4)](de)),j(0xc,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x394)]),exports[_0x7a3069(0x294)]=class extends exports[_0x7a3069(0x1e7)]{constructor(_0x3d8832,_0x2f2ebe,_0x1982cc,_0x4735a9,_0x2e122d,_0x56228c,_0x5d0d7f,_0x43e664,_0x1de91c,_0x19cef8,_0x2f8d1c,_0x389483,_0x1a193d,_0x273248){var _0x48a4d2=_0x7a3069;super(_0x3d8832,_0x1982cc,_0x2f2ebe,_0x4735a9,_0x2e122d,_0x56228c,_0x5d0d7f,_0x1de91c,_0x19cef8,_0x2f8d1c,_0x389483,_0x1a193d,_0x273248),this[_0x48a4d2(0xfe)]=_0x3d8832,this[_0x48a4d2(0x19a)]=_0x2f2ebe,this['_sheetTransformSelectionsService']=_0x43e664;}[_0x7a3069(0x316)](){var _0x486583=_0x7a3069;const _0x4043a9=super[_0x486583(0x316)]();return _0x4043a9['onTransformSelections']=_0x5b4889=>this[_0x486583(0x10b)]['transformSelections'](_0x5b4889),_0x4043a9;}async[_0x7a3069(0x256)](){var _0x5f852a=_0x7a3069;const _0x1258cd=await super[_0x5f852a(0x256)]();return this[_0x5f852a(0x97)](this[_0x5f852a(0x236)][_0x5f852a(0xfa)]((_0x5a5acc,_0x1df8c1)=>{var _0x1b39af=_0x5f852a;if(_0x5a5acc[_0x1b39af(0x19a)]!==a[_0x1b39af(0x223)][_0x1b39af(0x23c)]||_0x1df8c1!=null&&_0x1df8c1['fromCollab']||_0x1df8c1!=null&&_0x1df8c1['onlyLocal'])return;const _0x29acc4=_0x5a5acc['params'];if((_0x29acc4==null?void 0x0:_0x29acc4['unitId'])!==this[_0x1b39af(0xfe)])return;const _0x6700a=_0x5a5acc,_0x475e65=this['_compressMutationService'][_0x1b39af(0x30f)][_0x1b39af(0x3a3)](this[_0x1b39af(0x1d2)]['interceptor'][_0x1b39af(0x3cd)]()[_0x1b39af(0xed)])([_0x6700a],null)||[_0x6700a];this[_0x1b39af(0x9c)](_0x475e65[0x0]);})),_0x1258cd;}},exports[_0x7a3069(0x294)]=Be([j(0x3,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),j(0x4,a['Inject'](p['CompressMutationService'])),j(0x5,a[_0x7a3069(0x208)](a['LocaleService'])),j(0x6,a[_0x7a3069(0x208)](p[_0x7a3069(0x2b9)])),j(0x7,a[_0x7a3069(0x208)](exports[_0x7a3069(0x176)])),j(0x8,a[_0x7a3069(0x208)](ee)),j(0x9,a[_0x7a3069(0x9e)]),j(0xa,a[_0x7a3069(0x115)]),j(0xb,a[_0x7a3069(0x202)]),j(0xc,a[_0x7a3069(0x1e4)](de)),j(0xd,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x294)]);const pt=a[_0x7a3069(0x238)](_0x7a3069(0x12d));function mt(_0x443d2c){var _0x4bb0a6=_0x7a3069,_0x44551e,_0x36c7a1,_0x3e3ca2,_0x1034fd,_0x34032c;const _0x23b782=_0x443d2c[_0x4bb0a6(0x1c0)],_0x197e60=JSON[_0x4bb0a6(0x2e1)](_0x23b782);switch(_0x197e60['cmd']){case W['HEARTBEAT']:case W['HELLO']:{const _0x37cadf=_0x197e60[_0x4bb0a6(0x185)];return{..._0x197e60,'data':_0x37cadf,'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};}case W['JOIN']:{const _0x208937=_0x197e60[_0x4bb0a6(0x165)];return{..._0x197e60,'data':_0x208937,'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};}case W[_0x4bb0a6(0x377)]:{const _0x13ac5d=_0x197e60[_0x4bb0a6(0x84)];switch(_0x13ac5d[_0x4bb0a6(0x2a9)]){case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x368)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':(_0x44551e=_0x13ac5d[_0x4bb0a6(0x2ba)])==null?void 0x0:_0x44551e['cs']},'cmd':_0x197e60['cmd']};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x257)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':(_0x36c7a1=_0x13ac5d[_0x4bb0a6(0x2d1)])==null?void 0x0:_0x36c7a1['cs']},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x353)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':(_0x3e3ca2=_0x13ac5d[_0x4bb0a6(0x2c0)])==null?void 0x0:_0x3e3ca2['cs']},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p['CollaborationEvent']['CHANGESET_REJ']:return{..._0x197e60,'data':{..._0x13ac5d,'data':(_0x1034fd=_0x13ac5d[_0x4bb0a6(0x212)])==null?void 0x0:_0x1034fd['cs']},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x3c6)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':(_0x34032c=_0x13ac5d[_0x4bb0a6(0x1f7)])==null?void 0x0:_0x34032c['cs']},'cmd':_0x197e60['cmd']};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x15e)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x20d)]},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x376)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x230)]},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p['CollaborationEvent'][_0x4bb0a6(0x277)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d['leaveEvent']},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x15c)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x129)]},'cmd':_0x197e60['cmd']};case p[_0x4bb0a6(0x278)]['LIVESHARE_FETCH_OPERATIONS']:case p['CollaborationEvent']['LIVESHARE_OPERATION']:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x268)]},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x31e)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x129)]},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p['CollaborationEvent']['MSG_FOR_ERROR']:return{..._0x197e60,'data':_0x13ac5d,'cmd':_0x197e60['cmd']};case p['CollaborationEvent'][_0x4bb0a6(0x37c)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x279)]},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};case p[_0x4bb0a6(0x278)]['UPDATE_PERMISSION_OBJ']:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x2be)]},'cmd':_0x197e60['cmd']};case p[_0x4bb0a6(0x278)][_0x4bb0a6(0x199)]:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d['shouldCloseConn']},'cmd':_0x197e60['cmd']};case p[_0x4bb0a6(0x278)]['UNISCRIPT_RUN']:return{..._0x197e60,'data':{..._0x13ac5d,'data':_0x13ac5d[_0x4bb0a6(0x3cb)]},'cmd':_0x197e60[_0x4bb0a6(0x2e8)]};default:return _0x197e60;}}default:return _0x197e60;}}function gt(_0x5e45a9){var _0x1b377c=_0x7a3069;switch(_0x5e45a9['cmd']){case W[_0x1b377c(0xe1)]:case W['HELLO']:return JSON[_0x1b377c(0x28e)]({'cmd':_0x5e45a9[_0x1b377c(0x2e8)],'routeKey':_0x5e45a9[_0x1b377c(0x1c7)]});case W[_0x1b377c(0x2c3)]:{let _0x5bde89;switch(_0x5e45a9[_0x1b377c(0x1c0)]['eventID']){case p[_0x1b377c(0x278)]['UPDATE_CURSOR']:{_0x5bde89={'eventID':p['CollaborationEvent']['UPDATE_CURSOR'],'updateCursorEvent':_0x5e45a9[_0x1b377c(0x1c0)][_0x1b377c(0x1c0)]};break;}case p['CollaborationEvent']['USERS_LEAVE']:{_0x5bde89={'eventID':p[_0x1b377c(0x278)][_0x1b377c(0x277)],'leaveEvent':_0x5e45a9[_0x1b377c(0x1c0)][_0x1b377c(0x1c0)]};break;}case p[_0x1b377c(0x278)][_0x1b377c(0x376)]:{_0x5bde89={'eventID':p[_0x1b377c(0x278)][_0x1b377c(0x376)],'joinEvent':_0x5e45a9[_0x1b377c(0x1c0)][_0x1b377c(0x1c0)]};break;}case p[_0x1b377c(0x278)][_0x1b377c(0x15c)]:{_0x5bde89={'eventID':p['CollaborationEvent'][_0x1b377c(0x15c)],'liveShareNewHost':_0x5e45a9[_0x1b377c(0x1c0)][_0x1b377c(0x1c0)]};break;}case p[_0x1b377c(0x278)]['LIVESHARE_OPERATION']:{_0x5bde89={'eventID':p['CollaborationEvent']['LIVESHARE_OPERATION'],'liveShareOperation':_0x5e45a9['data'][_0x1b377c(0x1c0)]};break;}case p[_0x1b377c(0x278)]['LIVESHARE_TERMINATE']:{_0x5bde89={'eventID':p[_0x1b377c(0x278)]['LIVESHARE_TERMINATE'],'liveShareTerminate':_0x5e45a9[_0x1b377c(0x1c0)]['data']};break;}case p[_0x1b377c(0x278)][_0x1b377c(0x2da)]:{_0x5bde89={'eventID':p[_0x1b377c(0x278)][_0x1b377c(0x2da)],'liveShareRequestHost':_0x5e45a9['data'][_0x1b377c(0x1c0)]};break;}case p[_0x1b377c(0x278)][_0x1b377c(0x25f)]:{_0x5bde89={'eventID':p[_0x1b377c(0x278)][_0x1b377c(0x25f)]};break;}default:_0x5bde89={'eventID':_0x5e45a9['data']['eventID']};}return JSON[_0x1b377c(0x28e)]({'cmd':_0x5e45a9[_0x1b377c(0x2e8)],'routeKey':_0x5e45a9[_0x1b377c(0x1c7)],'collaMsg':_0x5bde89});}case W[_0x1b377c(0x258)]:return JSON['stringify']({'cmd':_0x5e45a9['cmd'],'routeKey':_0x5e45a9[_0x1b377c(0x1c7)],'joinReq':_0x5e45a9[_0x1b377c(0x1c0)]});case W[_0x1b377c(0x302)]:return JSON['stringify']({'cmd':_0x5e45a9['cmd'],'routeKey':_0x5e45a9[_0x1b377c(0x1c7)],'leaveReq':_0x5e45a9[_0x1b377c(0x1c0)]});default:throw new Error(_0x1b377c(0x354));}}var ri=Object[_0x7a3069(0x23e)],si=(_0x1c38f0,_0x39052c,_0x4b0940,_0x176eab)=>{var _0x36ae92=_0x7a3069;for(var _0x5db04c=_0x176eab>0x1?void 0x0:_0x176eab?ri(_0x39052c,_0x4b0940):_0x39052c,_0x459fae=_0x1c38f0[_0x36ae92(0x324)]-0x1,_0x38a230;_0x459fae>=0x0;_0x459fae--)(_0x38a230=_0x1c38f0[_0x459fae])&&(_0x5db04c=_0x38a230(_0x5db04c)||_0x5db04c);return _0x5db04c;},_e=(_0x56c003,_0xaf63bb)=>(_0x1c0dc0,_0x3c629a)=>_0xaf63bb(_0x1c0dc0,_0x3c629a,_0x56c003);const Fe=a[_0x7a3069(0x238)](_0x7a3069(0x105));function oi(_0x13d679,_0x2038b6,_0x398529){var _0x429649=_0x7a3069;return _0x13d679+'/'+_0x2038b6+_0x429649(0x24a)+_0x398529+_0x429649(0x399);}exports[_0x7a3069(0x15f)]=class extends a[_0x7a3069(0x32e)]{constructor(_0xc5f8fa,_0x2d593c,_0x3df056,_0x50b401,_0x522c43){var _0x2a2eef=_0x7a3069;super(),this[_0x2a2eef(0x33a)]=_0xc5f8fa,this[_0x2a2eef(0x2a6)]=_0x2d593c,this[_0x2a2eef(0x21c)]=_0x3df056,this[_0x2a2eef(0x393)]=_0x50b401,this['_snapshotServerService']=_0x522c43;}['_doCreateSocket'](_0x2ea6c5){var _0x4e8c11=_0x7a3069;const _0x10dc71=this[_0x4e8c11(0x33a)][_0x4e8c11(0x36a)](q[_0x4e8c11(0x1ec)]);if(!_0x10dc71)throw new Error(_0x4e8c11(0x101));const _0x2edc88=_0x10dc71[_0x4e8c11(0x3d3)](_0x2ea6c5);if(!_0x2edc88)throw new Error(_0x4e8c11(0x3d6));const _0xc9d716=new a[(_0x4e8c11(0x193))](),_0x110cd6=new H[(_0x4e8c11(0x2cd))]();_0xc9d716[_0x4e8c11(0x275)](_0x2edc88[_0x4e8c11(0x363)]['subscribe'](_0x3c56ff=>_0x110cd6['next'](_0x3c56ff))),_0xc9d716[_0x4e8c11(0x275)](a[_0x4e8c11(0xf7)](()=>_0x110cd6['complete']()));const _0x16a771=new H[(_0x4e8c11(0x2cd))]();_0xc9d716[_0x4e8c11(0x275)](_0x2edc88[_0x4e8c11(0x390)][_0x4e8c11(0x22c)](_0x2397c4=>_0x16a771[_0x4e8c11(0x39c)](_0x2397c4))),_0xc9d716[_0x4e8c11(0x275)](a[_0x4e8c11(0xf7)](()=>_0x16a771['complete']()));const _0x4eeaf3=new H[(_0x4e8c11(0x2cd))]();_0xc9d716[_0x4e8c11(0x275)](_0x2edc88[_0x4e8c11(0xbe)][_0x4e8c11(0x22c)](_0x4b03dc=>{var _0x48ac23=_0x4e8c11;const _0x41b4e0=mt(_0x4b03dc);_0x4eeaf3[_0x48ac23(0x39c)](_0x41b4e0);})),_0xc9d716[_0x4e8c11(0x275)](a[_0x4e8c11(0xf7)](()=>_0x4eeaf3[_0x4e8c11(0x26e)]()));let _0x5e4df1;const _0x7336df=()=>{var _0xb5f0f4=_0x4e8c11;_0x16a771[_0xb5f0f4(0x39c)](new Event(_0xb5f0f4(0x8b))),_0x110cd6['next'](new Event(_0xb5f0f4(0x8b))),_0x5e4df1[_0xb5f0f4(0x2ef)]();};return _0x5e4df1={'memberID':'','close$':_0x110cd6[_0x4e8c11(0xa9)](),'error$':_0x16a771['asObservable'](),'open$':_0x2edc88['open$'],'message$':_0x4eeaf3[_0x4e8c11(0xa9)](),'send':_0x584d29=>{var _0x55454e=_0x4e8c11;if(_0x584d29[_0x55454e(0x2e8)]===W[_0x55454e(0x2c3)]){if(_0x584d29[_0x55454e(0x1c0)][_0x55454e(0x2a9)]===p[_0x55454e(0x278)][_0x55454e(0x283)]){this[_0x55454e(0x110)](_0x5e4df1,_0x584d29[_0x55454e(0x1c0)])[_0x55454e(0x148)](_0x5412a7=>{var _0x57f8fc=_0x55454e;this[_0x57f8fc(0x393)][_0x57f8fc(0x331)](_0x5412a7),_0x7336df();});return;}if(_0x584d29[_0x55454e(0x1c0)]['eventID']===p[_0x55454e(0x278)][_0x55454e(0x3d7)]){const _0x46acb2=_0x584d29['data'];this['_fetchMissChangesets'](_0x46acb2)['then'](_0x15b583=>{var _0x37c261=_0x55454e;_0x4eeaf3['next']({'cmd':W[_0x37c261(0x377)],'code':se['OK'],'routeKey':_0x46acb2[_0x37c261(0x1c0)][_0x37c261(0xfe)],'routeType':'','data':{'eventID':p[_0x37c261(0x278)][_0x37c261(0x280)],'data':{'changesets':_0x15b583}}});})['catch'](_0x536937=>{var _0x5624d5=_0x55454e;this[_0x5624d5(0x393)][_0x5624d5(0x331)](_0x536937),_0x7336df();});return;}}_0x2edc88[_0x55454e(0xb0)](gt(_0x584d29));},'close':()=>{var _0x4b1f63=_0x4e8c11;_0x2edc88[_0x4b1f63(0x2ef)](),_0xc9d716[_0x4b1f63(0x142)]();}},_0x5e4df1;}async[_0x7a3069(0x110)](_0x29fcaa,_0x284b27){var _0x1d69c6=_0x7a3069,_0x9d80d9;const {unitType:_0x157715,unitID:_0x201a1c,changeset:_0x2d7f4c}=_0x284b27[_0x1d69c6(0x1c0)],_0x5624de={'unitID':_0x201a1c,'memberID':_0x29fcaa[_0x1d69c6(0x132)],'type':_0x157715,'changeset':p[_0x1d69c6(0x308)](_0x2d7f4c)},_0x50f0dd=this[_0x1d69c6(0x21c)][_0x1d69c6(0x2e7)](Y),_0x58a975=oi((_0x9d80d9=_0x50f0dd==null?void 0x0:_0x50f0dd['collabSubmitChangesetUrl'])!=null?_0x9d80d9:kt,_0x157715,_0x201a1c);try{await this[_0x1d69c6(0x2a6)][_0x1d69c6(0x1ff)](_0x58a975,{'body':_0x5624de});}catch(_0x6f6444){throw this[_0x1d69c6(0x393)][_0x1d69c6(0x331)](_0x1d69c6(0x2eb),_0x1d69c6(0xc5)),_0x6f6444;}}async['_fetchMissChangesets'](_0x575b64){var _0x1cfb11=_0x7a3069;const {unitID:_0x328d8f,from:_0x438640,to:_0x243d76,unitType:_0xe25c6e}=_0x575b64[_0x1cfb11(0x1c0)];return(await this[_0x1cfb11(0x3d2)]['fetchMissingChangesets']({'metadata':void 0x0},{'unitID':_0x328d8f,'type':_0xe25c6e,'from':_0x438640,'to':_0x243d76}))[_0x1cfb11(0x1ae)];}},exports[_0x7a3069(0x15f)]=si([_e(0x0,a['Inject'](a[_0x7a3069(0x17e)])),_e(0x1,a[_0x7a3069(0x208)](q[_0x7a3069(0x1f1)])),_e(0x2,a[_0x7a3069(0x183)]),_e(0x3,a['ILogService']),_e(0x4,p[_0x7a3069(0x1a9)])],exports[_0x7a3069(0x15f)]);var ai=Object['getOwnPropertyDescriptor'],ci=(_0x4b081e,_0x1f6692,_0xebd26f,_0x521ab1)=>{var _0x50e4cd=_0x7a3069;for(var _0x2db222=_0x521ab1>0x1?void 0x0:_0x521ab1?ai(_0x1f6692,_0xebd26f):_0x1f6692,_0x5b1bf0=_0x4b081e[_0x50e4cd(0x324)]-0x1,_0x40383e;_0x5b1bf0>=0x0;_0x5b1bf0--)(_0x40383e=_0x4b081e[_0x5b1bf0])&&(_0x2db222=_0x40383e(_0x2db222)||_0x2db222);return _0x2db222;},he=(_0x1b9c48,_0xe3aab5)=>(_0x5bef76,_0x2574f2)=>_0xe3aab5(_0x5bef76,_0x2574f2,_0x1b9c48);exports[_0x7a3069(0x1f6)]=class extends a[_0x7a3069(0x32e)]{constructor(_0x362494,_0x4e52ac,_0x4e7ebe,_0x2b4e71,_0x51b74a,_0x2a08d2){var _0x88a3c8=_0x7a3069;super(),A(this,'_socket$',new H['BehaviorSubject'](void 0x0)),A(this,'socket$',this[_0x88a3c8(0x1a6)][_0x88a3c8(0xa9)]()),A(this,_0x88a3c8(0x216),null),A(this,_0x88a3c8(0x124),new Map()),A(this,'_status$',new H[(_0x88a3c8(0x292))](re[_0x88a3c8(0x3bc)])),A(this,_0x88a3c8(0x12a),this[_0x88a3c8(0xa6)][_0x88a3c8(0xa9)]()),A(this,_0x88a3c8(0x3d8),!0x1),A(this,_0x88a3c8(0x1be)),A(this,_0x88a3c8(0x179),0x0),A(this,_0x88a3c8(0x16a)),A(this,_0x88a3c8(0x3e0)),(this['_injector']=_0x362494,this[_0x88a3c8(0x393)]=_0x4e52ac,this[_0x88a3c8(0x21c)]=_0x4e7ebe,this['_socketService']=_0x2b4e71,this[_0x88a3c8(0x388)]=_0x51b74a,this[_0x88a3c8(0x255)]=_0x2a08d2,this[_0x88a3c8(0xba)]());}get['_socket'](){var _0x59d754=_0x7a3069;return this[_0x59d754(0x1a6)][_0x59d754(0x1bc)]();}[_0x7a3069(0xba)](){var _0x2a1d33=_0x7a3069;this['_networkConditionService']&&this['disposeWithMe'](this[_0x2a1d33(0x255)][_0x2a1d33(0x3c9)][_0x2a1d33(0x22c)](_0x3e5c87=>{var _0x2f2f11=_0x2a1d33;_0x3e5c87&&!this[_0x2f2f11(0x384)]&&this['reconnect'](),_0x3e5c87||this['_onOffline']();}));}['dispose'](){var _0x35a968=_0x7a3069;super[_0x35a968(0x142)](),this[_0x35a968(0x3d4)](),this[_0x35a968(0x31f)](),this['_clearHeartbeatTimer'](),this[_0x35a968(0x124)][_0x35a968(0xb6)](_0x2575f4=>_0x2575f4[_0x35a968(0x142)]()),this[_0x35a968(0x124)][_0x35a968(0xcf)](),this['_status$']['complete']();}async[_0x7a3069(0xb3)](_0x3c30df){var _0x4953c1=_0x7a3069;if(this[_0x4953c1(0x124)]['has'](_0x3c30df))return this['_sessions'][_0x4953c1(0x36a)](_0x3c30df);this['_tryEnsureSocket']();const _0x21d777=this[_0x4953c1(0x33a)][_0x4953c1(0x96)](exports[_0x4953c1(0x177)],_0x3c30df,this[_0x4953c1(0x1a6)][_0x4953c1(0xa9)]());return this[_0x4953c1(0x124)][_0x4953c1(0x1cc)](_0x3c30df,_0x21d777),_0x21d777;}[_0x7a3069(0xb9)](_0x434822){var _0x5ec68c=_0x7a3069,_0x4384ca;const _0x22db8d=this[_0x5ec68c(0x124)][_0x5ec68c(0x36a)](_0x434822);_0x22db8d&&(this['_sessions']['delete'](_0x434822),_0x22db8d[_0x5ec68c(0x2ef)]()),this['_sessions'][_0x5ec68c(0x2f6)]||(_0x4384ca=this[_0x5ec68c(0x384)])==null||_0x4384ca[_0x5ec68c(0x2ef)]();}['reconnect'](){var _0x270470=_0x7a3069;this[_0x270470(0x179)]=0x0,this[_0x270470(0x3d4)](),this[_0x270470(0x271)]();}[_0x7a3069(0x3d4)](){var _0x167f75=_0x7a3069;this['_retryConnectingTimer']!=null&&(clearTimeout(this[_0x167f75(0x1be)]),this[_0x167f75(0x1be)]=null);}async[_0x7a3069(0x31d)](){var _0x2c8194=_0x7a3069,_0x57ed2d;const _0x226479=this[_0x2c8194(0x21c)]['getConfig'](Y),_0x2f400a=(_0x57ed2d=_0x226479==null?void 0x0:_0x226479['collabWebSocketUrl'])!=null?_0x57ed2d:ht,_0x3b4183=await this[_0x2c8194(0x1ea)]['createSocket'](_0x2f400a);return this['_candidateSocket']=_0x3b4183,_0x3b4183;}async[_0x7a3069(0x333)](){var _0x4158a2=_0x7a3069,_0x287a9b,_0x40e74b;try{const _0x2716fd=(_0x40e74b=(_0x287a9b=this['_socket'])!=null?_0x287a9b:this[_0x4158a2(0x216)])!=null?_0x40e74b:await this[_0x4158a2(0x31d)]();if(_0x2716fd){const _0x5e07cc=_0x2716fd['send'];_0x2716fd[_0x4158a2(0xb0)]=_0x40f030=>(this[_0x4158a2(0x2ec)](),_0x5e07cc[_0x4158a2(0x10f)](_0x2716fd,[_0x40f030])),_0x2716fd[_0x4158a2(0xbe)][_0x4158a2(0x22c)](_0x5c43b2=>this[_0x4158a2(0x189)](_0x2716fd,_0x5c43b2)),_0x2716fd['error$'][_0x4158a2(0x98)](V[_0x4158a2(0x144)](0x1))[_0x4158a2(0x22c)](_0x58a518=>this[_0x4158a2(0x393)][_0x4158a2(0x331)](_0x4158a2(0x273),_0x58a518)),_0x2716fd['open$'][_0x4158a2(0x98)](V[_0x4158a2(0x144)](0x1))[_0x4158a2(0x22c)](()=>{var _0x40424b=_0x4158a2;this[_0x40424b(0x81)](_0x2716fd);}),_0x2716fd[_0x4158a2(0x363)][_0x4158a2(0x98)](V['take'](0x1))[_0x4158a2(0x22c)](_0x115cda=>{var _0x336255=_0x4158a2;this[_0x336255(0x393)][_0x336255(0x80)]('[CollaborationSessionService]',_0x336255(0x3b4),_0x115cda),this[_0x336255(0x3e1)]();});}}catch(_0x131052){this[_0x4158a2(0x393)][_0x4158a2(0x331)](_0x131052),this[_0x4158a2(0x3e1)]();}}[_0x7a3069(0x81)](_0x446a1c){var _0x3ef4e3=_0x7a3069;this[_0x3ef4e3(0x393)]['debug'](_0x3ef4e3(0x1a4),_0x3ef4e3(0x35d)),_0x446a1c[_0x3ef4e3(0xb0)]({'cmd':W['HELLO']}),this[_0x3ef4e3(0x2ec)]();}[_0x7a3069(0x3dd)](){var _0x9c82ae=_0x7a3069;this[_0x9c82ae(0x3d8)]=!0x1,this[_0x9c82ae(0x216)]=null,this[_0x9c82ae(0xa6)][_0x9c82ae(0x39c)](re['OFFLINE']),this[_0x9c82ae(0x1a6)]['next'](null),this['_clearTimeoutTimer'](),this[_0x9c82ae(0x163)]();}['_onConnectionFailed'](){var _0x9c51a2=_0x7a3069,_0x3afd99;this[_0x9c51a2(0x3dd)](),this['_retryCount']<((_0x3afd99=this[_0x9c51a2(0x21c)][_0x9c51a2(0x2e7)](ut))!=null?_0x3afd99:Mt)?(this[_0x9c51a2(0x388)][_0x9c51a2(0xe2)]({'id':Z[_0x9c51a2(0x77)]}),this[_0x9c51a2(0x271)]()):this[_0x9c51a2(0x388)]['emitEvent']({'id':Z[_0x9c51a2(0x14b)]});}[_0x7a3069(0x271)](){var _0x1050a0=_0x7a3069,_0x3d547f;const _0x394f14=this['_retryCount'],_0x33383e=this[_0x1050a0(0x21c)][_0x1050a0(0x2e7)](Y),_0x5d6a92=_0x394f14===0x0?0x0:((_0x3d547f=_0x33383e==null?void 0x0:_0x33383e[_0x1050a0(0x1de)])!=null?_0x3d547f:wt)*0x2**_0x394f14;this[_0x1050a0(0x1be)]=setTimeout(()=>{var _0xcc6fa9=_0x1050a0;clearTimeout(this[_0xcc6fa9(0x1be)]),this['_retryConnectingTimer']=null,this[_0xcc6fa9(0x333)]();},_0x5d6a92),this[_0x1050a0(0x179)]+=0x1;}[_0x7a3069(0x189)](_0x1db999,_0x402a50){var _0x2a54e7=_0x7a3069;const {cmd:_0x265e4c}=_0x402a50;_0x265e4c===W[_0x2a54e7(0x38b)]&&!this[_0x2a54e7(0x3d8)]&&(_0x1db999[_0x2a54e7(0x132)]=_0x402a50[_0x2a54e7(0x1c0)]['memberID'],this[_0x2a54e7(0x1a6)][_0x2a54e7(0x39c)](_0x1db999),this[_0x2a54e7(0xa6)][_0x2a54e7(0x39c)](re[_0x2a54e7(0x310)]),this['_socketReady']=!0x0,this[_0x2a54e7(0x216)]=null),_0x265e4c===W[_0x2a54e7(0xe1)]&&this[_0x2a54e7(0x31f)](),this['_rescheduleHeartbeat']();}[_0x7a3069(0x2ec)](){var _0xcb99e0=_0x7a3069,_0x5c2f07;this[_0xcb99e0(0x163)](),this[_0xcb99e0(0x16a)]=setTimeout(()=>this['_sendHeartbeat'](),(_0x5c2f07=this[_0xcb99e0(0x21c)][_0xcb99e0(0x2e7)](_t))!=null?_0x5c2f07:Pt);}[_0x7a3069(0x239)](){var _0x1e328b=_0x7a3069;this[_0x1e328b(0x384)]['send']({'cmd':W[_0x1e328b(0xe1)]}),this[_0x1e328b(0x247)]();}[_0x7a3069(0x247)](){var _0x41dd81=_0x7a3069,_0x3abe69;this[_0x41dd81(0x3e0)]=setTimeout(()=>this[_0x41dd81(0x3e1)](),(_0x3abe69=this[_0x41dd81(0x21c)][_0x41dd81(0x2e7)](ke))!=null?_0x3abe69:lt);}[_0x7a3069(0x163)](){var _0x37a020=_0x7a3069;this['_sendHeartbeatTimer']!=null&&(clearTimeout(this['_sendHeartbeatTimer']),this[_0x37a020(0x16a)]=null);}[_0x7a3069(0x31f)](){var _0x2a0819=_0x7a3069;this['_timeoutTimer']!=null&&(clearTimeout(this[_0x2a0819(0x3e0)]),this[_0x2a0819(0x3e0)]=null);}},exports[_0x7a3069(0x1f6)]=ci([he(0x0,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),he(0x1,a['ILogService']),he(0x2,a[_0x7a3069(0x183)]),he(0x3,Fe),he(0x4,a['Inject'](ee)),he(0x5,a['Optional'](pt))],exports[_0x7a3069(0x1f6)]);var hi=Object[_0x7a3069(0x23e)],_i=(_0x2b9f92,_0x303ba2,_0x2d8824,_0x42a968)=>{for(var _0x4c189f=_0x42a968>0x1?void 0x0:_0x42a968?hi(_0x303ba2,_0x2d8824):_0x303ba2,_0x426af6=_0x2b9f92['length']-0x1,_0x2a81fc;_0x426af6>=0x0;_0x426af6--)(_0x2a81fc=_0x2b9f92[_0x426af6])&&(_0x4c189f=_0x2a81fc(_0x4c189f)||_0x4c189f);return _0x4c189f;},Se=(_0x72dc1d,_0x3d7f89)=>(_0x4c1d90,_0x5d854c)=>_0x3d7f89(_0x4c1d90,_0x5d854c,_0x72dc1d);exports[_0x7a3069(0x3e3)]=class extends a['RxDisposable']{constructor(_0x15166c,_0x2b2cf1,_0x40126d,_0xbbfa28){var _0x6d7751=_0x7a3069,_0x13dc9b;super(),A(this,'_entities',new Map()),A(this,_0x6d7751(0x242),new H[(_0x6d7751(0x2cd))]()),A(this,_0x6d7751(0x315),this[_0x6d7751(0x242)][_0x6d7751(0xa9)]()),(this[_0x6d7751(0x33a)]=_0x15166c,this[_0x6d7751(0x1a2)]=_0x2b2cf1,this[_0x6d7751(0x21c)]=_0x40126d,this[_0x6d7751(0x2e6)]=_0xbbfa28,((_0x13dc9b=this[_0x6d7751(0x21c)]['getConfig'](Y))==null?void 0x0:_0x13dc9b[_0x6d7751(0xc0)])!==!0x1&&this[_0x6d7751(0x256)]());}[_0x7a3069(0x142)](){var _0x23df0d=_0x7a3069;super[_0x23df0d(0x142)](),this[_0x23df0d(0x220)][_0x23df0d(0xb6)](_0x388be5=>_0x388be5['dispose']()),this[_0x23df0d(0x220)][_0x23df0d(0xcf)]();}[_0x7a3069(0x1eb)](_0x2c9a6d){var _0x37b71e=_0x7a3069,_0x74b372;return(_0x74b372=this[_0x37b71e(0x220)][_0x37b71e(0x36a)](_0x2c9a6d))!=null?_0x74b372:null;}[_0x7a3069(0x1da)](_0x5e55a5){var _0x4e41df=_0x7a3069;const _0x16eb1d=this[_0x4e41df(0x1eb)](_0x5e55a5);return _0x16eb1d?H['of'](_0x16eb1d):this[_0x4e41df(0x242)][_0x4e41df(0x98)](V[_0x4e41df(0x369)](_0x3a722d=>_0x3a722d[_0x4e41df(0xfe)]===_0x5e55a5));}['readyForCollab'](_0x2be8e0){var _0x2e21ee=_0x7a3069;return H[_0x2e21ee(0x32c)](this['getCollabEntity$'](_0x2be8e0)[_0x2e21ee(0x98)](V['map'](()=>{})));}['_init'](){var _0x573fa2=_0x7a3069;this['_univerInstanceService'][_0x573fa2(0x313)](a[_0x573fa2(0x1f2)][_0x573fa2(0x32a)])[_0x573fa2(0x98)](H[_0x573fa2(0x2db)](this['dispose$']),V['delay'](0x10))['subscribe'](async _0x450347=>{var _0x126f37=_0x573fa2;const _0x25124a=_0x450347['getUnitId'](),_0x3cdf5c=await this[_0x126f37(0x3bf)](_0x25124a,J[_0x126f37(0x32a)]);this['_entities'][_0x126f37(0x1cc)](_0x25124a,_0x3cdf5c);}),this[_0x573fa2(0x2e6)][_0x573fa2(0x313)](a[_0x573fa2(0x1f2)]['UNIVER_DOC'])[_0x573fa2(0x98)](H[_0x573fa2(0x2db)](this[_0x573fa2(0x391)]),V[_0x573fa2(0x102)](0x10))[_0x573fa2(0x98)](V[_0x573fa2(0x369)](_0x4899ed=>!_0x4899ed[_0x573fa2(0x312)]()[_0x573fa2(0x397)]('__')))['subscribe'](async _0x9262be=>{var _0xadb961=_0x573fa2;const _0x3f9a62=_0x9262be[_0xadb961(0x312)](),_0x44cf4d=await this[_0xadb961(0x3bf)](_0x3f9a62,J[_0xadb961(0x1bf)]);this[_0xadb961(0x220)][_0xadb961(0x1cc)](_0x3f9a62,_0x44cf4d);}),H[_0x573fa2(0x1b9)](this[_0x573fa2(0x2e6)][_0x573fa2(0xc6)](a[_0x573fa2(0x1f2)]['UNIVER_SHEET']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](a['UniverInstanceType']['UNIVER_DOC']))[_0x573fa2(0x98)](H[_0x573fa2(0x2db)](this[_0x573fa2(0x391)]))[_0x573fa2(0x22c)](_0x19f763=>{var _0x20be28=_0x573fa2;const _0x30d45e=_0x19f763['getUnitId'](),_0x47e689=this[_0x20be28(0x220)][_0x20be28(0x36a)](_0x30d45e);_0x47e689&&(_0x47e689['dispose'](),this['_entities'][_0x20be28(0xe9)](_0x30d45e));});}async[_0x7a3069(0x3bf)](_0x3cd9e4,_0x2e5612){var _0x35403d=_0x7a3069;const _0x50a6b0=await this[_0x35403d(0x1a2)][_0x35403d(0xb3)](_0x3cd9e4),_0x444681=this[_0x35403d(0x33a)]['createInstance'](this[_0x35403d(0x336)](_0x2e5612),_0x3cd9e4,_0x2e5612,_0x50a6b0);return await _0x444681['init'](),this[_0x35403d(0x242)][_0x35403d(0x39c)](_0x444681),_0x444681;}[_0x7a3069(0x336)](_0x50f029){var _0x4613e9=_0x7a3069;switch(_0x50f029){case J[_0x4613e9(0x1bf)]:return exports['DocCollaborationEntity'];case J[_0x4613e9(0x32a)]:return exports[_0x4613e9(0x294)];default:throw new Error('[CollaborationController]:\x20invalid\x20univer\x20type:\x20'+_0x50f029);}}},exports[_0x7a3069(0x3e3)]=_i([Se(0x0,a[_0x7a3069(0x208)](a[_0x7a3069(0x17e)])),Se(0x1,a[_0x7a3069(0x208)](exports[_0x7a3069(0x1f6)])),Se(0x2,a[_0x7a3069(0x183)]),Se(0x3,a[_0x7a3069(0x30d)])],exports[_0x7a3069(0x3e3)]);var li=Object[_0x7a3069(0x23e)],ui=(_0x1e2319,_0x592222,_0x4efa44,_0x3b9929)=>{for(var _0x410060=_0x3b9929>0x1?void 0x0:_0x3b9929?li(_0x592222,_0x4efa44):_0x592222,_0x161e2a=_0x1e2319['length']-0x1,_0x4b1ee4;_0x161e2a>=0x0;_0x161e2a--)(_0x4b1ee4=_0x1e2319[_0x161e2a])&&(_0x410060=_0x4b1ee4(_0x410060)||_0x410060);return _0x410060;},Ye=(_0x13a810,_0xa0670d)=>(_0x5e20a8,_0x4f356d)=>_0xa0670d(_0x5e20a8,_0x4f356d,_0x13a810);const di='DEFAULT_FILE_NAME',vi=_0x7a3069(0x2f0);let xe=class extends a['Disposable']{constructor(_0x403514,_0x279c97){var _0x21f57c=_0x7a3069;super(),this[_0x21f57c(0x2e6)]=_0x403514,this[_0x21f57c(0x21c)]=_0x279c97,this[_0x21f57c(0x256)]();}[_0x7a3069(0x256)](){var _0x5d2537=_0x7a3069;this[_0x5d2537(0x97)](this[_0x5d2537(0x2e6)][_0x5d2537(0x1ed)]['subscribe'](()=>{var _0x3b0af5=_0x5d2537,_0x284056;const _0x4a4e9a=this[_0x3b0af5(0x2e6)][_0x3b0af5(0x1ee)]();let _0x3699e6=(_0x284056=this[_0x3b0af5(0x21c)][_0x3b0af5(0x2e7)](di))!=null?_0x284056:vi;_0x4a4e9a instanceof a[_0x3b0af5(0x27a)]&&(_0x3699e6=_0x4a4e9a[_0x3b0af5(0xa4)]),document[_0x3b0af5(0x39d)]=_0x3699e6;}));}};xe=ui([Ye(0x0,a['IUniverInstanceService']),Ye(0x1,a[_0x7a3069(0x183)])],xe);var Si=Object['getOwnPropertyDescriptor'],fi=(_0x36b2cc,_0x20d2c8,_0x5f119e,_0x47413)=>{var _0x27535b=_0x7a3069;for(var _0x20a792=_0x47413>0x1?void 0x0:_0x47413?Si(_0x20d2c8,_0x5f119e):_0x20d2c8,_0x3690b3=_0x36b2cc[_0x27535b(0x324)]-0x1,_0x279047;_0x3690b3>=0x0;_0x3690b3--)(_0x279047=_0x36b2cc[_0x3690b3])&&(_0x20a792=_0x279047(_0x20a792)||_0x20a792);return _0x20a792;},Ae=(_0x4a1582,_0x3ca2f0)=>(_0x434b0d,_0x1f04b8)=>_0x3ca2f0(_0x434b0d,_0x1f04b8,_0x4a1582);let ye=class{constructor(_0x3ed242,_0x27d699,_0x5b6183){var _0x21aaef=_0x7a3069;this[_0x21aaef(0x21c)]=_0x3ed242,this[_0x21aaef(0x2a6)]=_0x27d699,this[_0x21aaef(0xac)]=_0x5b6183,this[_0x21aaef(0x112)]();}[_0x7a3069(0x112)](){this['_httpService']['registerHTTPInterceptor']({'priority':0x1,'interceptor':(_0x51dbb7,_0x5598fd)=>_0x5598fd(_0x51dbb7)['pipe'](H['concatMap'](async _0x7d394=>{var _0x50dc69=_0x2a39;const _0x1247ef=_0x7d394;if(_0x1247ef[_0x50dc69(0xa0)]===0x191){if(typeof window>'u')throw new Error(_0x50dc69(0x317));if(window['confirm'](this[_0x50dc69(0xac)]['t']('auth.needGotoLoginAlert'))){const _0x3ebc0a=window[_0x50dc69(0xa2)](window[_0x50dc69(0x364)]['href']);window['location']['href']=this[_0x50dc69(0x1ab)]()+_0x50dc69(0xc9)+_0x3ebc0a;}}return _0x1247ef;}))});}[_0x7a3069(0x1ab)](){var _0x3ed32e=_0x7a3069,_0x49516c;const _0x507ba6=this[_0x3ed32e(0x21c)][_0x3ed32e(0x2e7)](Y);return(_0x49516c=_0x507ba6==null?void 0x0:_0x507ba6[_0x3ed32e(0x85)])!=null?_0x49516c:$t;}};ye=fi([Ae(0x0,a[_0x7a3069(0x183)]),Ae(0x1,a['Inject'](q['HTTPService'])),Ae(0x2,a[_0x7a3069(0x208)](a['LocaleService']))],ye);var Ii=Object[_0x7a3069(0x23e)],pi=(_0x295c4c,_0x3582d1,_0x122ec0,_0x41d0e0)=>{var _0x4d6406=_0x7a3069;for(var _0x12ede=_0x41d0e0>0x1?void 0x0:_0x41d0e0?Ii(_0x3582d1,_0x122ec0):_0x3582d1,_0x2845c6=_0x295c4c[_0x4d6406(0x324)]-0x1,_0x3547e1;_0x2845c6>=0x0;_0x2845c6--)(_0x3547e1=_0x295c4c[_0x2845c6])&&(_0x12ede=_0x3547e1(_0x12ede)||_0x12ede);return _0x12ede;},qe=(_0x2e2a25,_0xa2ee42)=>(_0x58f1a8,_0x566101)=>_0xa2ee42(_0x58f1a8,_0x566101,_0x2e2a25);const mi=_0x7a3069(0x103);exports[_0x7a3069(0x27f)]=class extends a[_0x7a3069(0x32e)]{constructor(_0x5b3acc,_0x16f66a){var _0x164a52=_0x7a3069;super(),this[_0x164a52(0x191)]=_0x5b3acc,this[_0x164a52(0x21c)]=_0x16f66a,this[_0x164a52(0xdb)]();}[_0x7a3069(0xdb)](){var _0x215431=_0x7a3069;const _0x17c333=this;this[_0x215431(0x97)](this[_0x215431(0x191)][_0x215431(0x2de)]({'priority':0x3e7,'interceptor':q[_0x215431(0x21e)]({'isMatch'(_0x4aa99c){var _0x33dcb8=_0x215431,_0x207041;if(_0x4aa99c[_0x33dcb8(0x260)]===_0x33dcb8(0x38f)&&((_0x207041=_0x4aa99c[_0x33dcb8(0x2bf)])!=null&&_0x207041[_0x33dcb8(0x1c6)])){const {objectID:_0x23d1f3,objectType:_0x5920db}=_0x4aa99c[_0x33dcb8(0x2bf)][_0x33dcb8(0x1c6)]||{};if(!_0x23d1f3||_0x5920db===void 0x0)return!0x1;const _0x742626=_0x17c333[_0x33dcb8(0x38c)]()+'/'+_0x5920db+_0x33dcb8(0x1b3)+_0x23d1f3+'/allowed';if(_0x4aa99c[_0x33dcb8(0x3d0)]===_0x742626)return!0x0;}return!0x1;},'getParamsFromRequest'(_0xaf6516){var _0x2c1c8d=_0x215431,_0x1ad2f3;return(_0x1ad2f3=_0xaf6516[_0x2c1c8d(0x2bf)])==null?void 0x0:_0x1ad2f3[_0x2c1c8d(0x1c6)];},'mergeParamsToRequest'(_0x3095d3,_0x12ead5){var _0x58306a=_0x215431;const _0x57c96a=_0x17c333['_getAPIPrefixPath']()+'/-/object/-/batch_allowed',_0x5e4497=_0x3095d3[_0x58306a(0x28b)]((_0x149734,_0xa4b27a)=>{var _0x3cc865=_0x58306a;const {unitID:_0x52ddbb,objectID:_0x1a92ad,objectType:_0x3092fb,actions:_0x421f67}=_0xa4b27a;return _0x149734[_0x52ddbb]||(_0x149734[_0x52ddbb]={}),_0x149734[_0x52ddbb][_0x1a92ad]||(_0x149734[_0x52ddbb][_0x1a92ad]={'objectID':_0x1a92ad,'objectType':_0x3092fb,'actions':[]}),_0x149734[_0x52ddbb][_0x1a92ad]['actions'][_0x3cc865(0x32d)](..._0x421f67),_0x149734;},{}),_0x5258da=[];for(const _0x1f8bf1 in _0x5e4497)for(const _0x125fe9 in _0x5e4497[_0x1f8bf1]){const {actions:_0x46788e,objectType:_0x181d73}=_0x5e4497[_0x1f8bf1][_0x125fe9],_0x47428a=[...new Set(_0x46788e)];_0x5258da['push']({'unitID':_0x1f8bf1,'objectID':_0x125fe9,'objectType':_0x181d73,'actions':_0x47428a});}return new q[(_0x58306a(0x1df))](_0x58306a(0x38f),_0x57c96a,{'headers':_0x12ead5['headers'],'withCredentials':_0x12ead5[_0x58306a(0x3b7)],'responseType':_0x12ead5['responseType'],'body':{'requests':_0x5258da}});}},{'distributeResult'(_0x285db3,_0x20aa92){var _0x554e05=_0x215431;const {objectActions:_0x18d4e0}=_0x285db3;return _0x20aa92[_0x554e05(0x374)](_0x17e630=>{var _0x3260d3=_0x554e05;const {unitID:_0x793c06,objectID:_0x38100e,actions:_0x91b625}=_0x17e630,_0x396272=_0x18d4e0[_0x3260d3(0xf4)](_0x19b952=>_0x19b952[_0x3260d3(0xfe)]===_0x793c06&&_0x19b952[_0x3260d3(0x3b8)]===_0x38100e),_0x2b88bb=_0x91b625[_0x3260d3(0x374)](_0x1e365b=>_0x396272==null?void 0x0:_0x396272[_0x3260d3(0x231)][_0x3260d3(0xf4)](_0x248f4b=>_0x248f4b[_0x3260d3(0x141)]===_0x1e365b))[_0x3260d3(0x369)](_0x2d226c=>!!_0x2d226c);return{'config':_0x17e630,'result':{'actions':_0x2b88bb,'error':_0x285db3[_0x3260d3(0x331)]}};});}})}));}[_0x7a3069(0x38c)](){var _0x15e0e5=_0x7a3069,_0x19d71a;const _0x3f9882=this[_0x15e0e5(0x21c)]['getConfig'](Y);return(_0x19d71a=_0x3f9882==null?void 0x0:_0x3f9882[_0x15e0e5(0x2e9)])!=null?_0x19d71a:mi;}async[_0x7a3069(0xd1)](_0x398030){var _0x43744d=_0x7a3069;const _0x411ac5=this['_getAPIPrefixPath']()+'/'+_0x398030['objectType']+_0x43744d(0x371);return(await this[_0x43744d(0x191)]['post'](_0x411ac5,{'body':_0x398030}))[_0x43744d(0x1c6)]['objectID']||'';}async[_0x7a3069(0x12f)](_0x1caf46){var _0x13a644=_0x7a3069;const _0x3c5320=this['_getAPIPrefixPath']()+_0x13a644(0x36d);return(await this[_0x13a644(0x191)][_0x13a644(0x1ff)](_0x3c5320,{'body':_0x1caf46}))[_0x13a644(0x1c6)][_0x13a644(0x3a5)];}async[_0x7a3069(0x89)](_0x4d9528){var _0x2368ec=_0x7a3069,_0x59e9b8,_0x75344f;const _0x3f7046=this[_0x2368ec(0x38c)]()+'/'+_0x4d9528['objectType']+_0x2368ec(0x1b3)+_0x4d9528[_0x2368ec(0x3b8)],_0x1250a9=await this['_HTTPService'][_0x2368ec(0x340)](_0x3f7046,{'body':_0x4d9528});if(((_0x75344f=(_0x59e9b8=_0x1250a9==null?void 0x0:_0x1250a9['body'])==null?void 0x0:_0x59e9b8[_0x2368ec(0x331)])==null?void 0x0:_0x75344f[_0x2368ec(0xef)])!==0x1)throw new Error(_0x2368ec(0x1c4));}async[_0x7a3069(0x1d5)](_0x756fd0){var _0x3262c2=_0x7a3069;const _0x5b17bf=this[_0x3262c2(0x38c)]()+'/'+_0x756fd0[_0x3262c2(0x8d)]+'/object/'+_0x756fd0[_0x3262c2(0x3b8)]+_0x3262c2(0x290);return(await this[_0x3262c2(0x191)]['post'](_0x5b17bf,{'body':_0x756fd0}))[_0x3262c2(0x1c6)]['actions'];}async[_0x7a3069(0x12e)](_0x3ef70b){var _0x197020=_0x7a3069;const _0x5b7425=this[_0x197020(0x38c)]()+'/-/object/-/batch_allowed';return(await this[_0x197020(0x191)][_0x197020(0x1ff)](_0x5b7425,{'body':{'requests':_0x3ef70b}}))['body'][_0x197020(0x3a6)];}async['listRoles'](_0x489b13){var _0x29fe65=_0x7a3069;const _0x1cebe7=this[_0x29fe65(0x38c)]()+'/'+_0x489b13[_0x29fe65(0x8d)]+_0x29fe65(0x246),_0x2cd974=await this[_0x29fe65(0x191)][_0x29fe65(0x1ff)](_0x1cebe7,{'body':_0x489b13});return{'roles':_0x2cd974[_0x29fe65(0x1c6)][_0x29fe65(0x2bd)],'actions':_0x2cd974['body'][_0x29fe65(0x231)]};}async[_0x7a3069(0xdd)](_0x10127a){var _0x3857d4=_0x7a3069;const _0x5d4b1a=this['_getAPIPrefixPath']()+_0x3857d4(0x3a0);await this[_0x3857d4(0x191)]['delete'](_0x5d4b1a,{'params':{'collaboratorID':_0x10127a['collaboratorID'],'objectID':_0x10127a[_0x3857d4(0x3b8)],'unitID':_0x10127a[_0x3857d4(0xfe)]}});}async[_0x7a3069(0x24b)](_0x545ba3){var _0x8e5ee4=_0x7a3069;const _0x6e67de=this['_getAPIPrefixPath']()+_0x8e5ee4(0x3a0);await this[_0x8e5ee4(0x191)][_0x8e5ee4(0x1ef)](_0x6e67de,{'body':_0x545ba3});}async['createCollaborator'](_0x2717d3){var _0x213bc4=_0x7a3069;const _0x477e4c=this[_0x213bc4(0x38c)]()+_0x213bc4(0x3a0);await this[_0x213bc4(0x191)][_0x213bc4(0x1ff)](_0x477e4c,{'body':_0x2717d3});}async[_0x7a3069(0x1d8)](_0x18fc93){var _0x17bacd=_0x7a3069;const _0x49af0e=this[_0x17bacd(0x38c)]()+'/collaborator';return(await this[_0x17bacd(0x191)][_0x17bacd(0x36a)](_0x49af0e,{'params':{'objectID':_0x18fc93[_0x17bacd(0x3b8)],'unitID':_0x18fc93['unitID']}}))[_0x17bacd(0x1c6)][_0x17bacd(0x2d3)];}async[_0x7a3069(0x168)](_0x54333d){var _0x243f49=_0x7a3069;const _0x2e6c87=this['_getAPIPrefixPath']()+'/collaborator';await this[_0x243f49(0x191)][_0x243f49(0x340)](_0x2e6c87,{'body':_0x54333d});}},exports['AuthzIoHttpService']=pi([qe(0x0,a['Inject'](q['HTTPService'])),qe(0x1,a[_0x7a3069(0x208)](a[_0x7a3069(0x183)]))],exports[_0x7a3069(0x27f)]);var Pe=typeof globalThis<'u'?globalThis:typeof window<'u'?window:typeof global<'u'?global:typeof self<'u'?self:{};function ve(_0x1e7b2d){var _0x1e6c6a=_0x7a3069;return _0x1e7b2d&&_0x1e7b2d[_0x1e6c6a(0x285)]&&Object[_0x1e6c6a(0xa7)]['hasOwnProperty']['call'](_0x1e7b2d,_0x1e6c6a(0x1ca))?_0x1e7b2d[_0x1e6c6a(0x1ca)]:_0x1e7b2d;}var fe={'exports':{}};function gi(_0x4a4c62){var _0x2a0e38=_0x7a3069;throw new Error(_0x2a0e38(0x297)+_0x4a4c62+'\x22.\x20Please\x20configure\x20the\x20dynamicRequireTargets\x20or/and\x20ignoreDynamicRequires\x20option\x20of\x20@rollup/plugin-commonjs\x20appropriately\x20for\x20this\x20require\x20call\x20to\x20work.');}var Ie={'exports':{}},Ei=Ie[_0x7a3069(0x1fa)],Ke;function Q(){var _0x9a0db2=_0x7a3069;return Ke||(Ke=0x1,function(_0x358023,_0x26fb11){(function(_0x6dd668,_0x11b7c5){var _0x4a4281=_0x2a39;_0x358023[_0x4a4281(0x1fa)]=_0x11b7c5();}(Ei,function(){var _0x1ea9bf=_0x1ea9bf||function(_0x54c4a7,_0x2ca9e9){var _0x2d157b=_0x2a39,_0x4aed83;if(typeof window<'u'&&window[_0x2d157b(0x322)]&&(_0x4aed83=window[_0x2d157b(0x322)]),typeof self<'u'&&self[_0x2d157b(0x322)]&&(_0x4aed83=self[_0x2d157b(0x322)]),typeof globalThis<'u'&&globalThis[_0x2d157b(0x322)]&&(_0x4aed83=globalThis[_0x2d157b(0x322)]),!_0x4aed83&&typeof window<'u'&&window[_0x2d157b(0x19c)]&&(_0x4aed83=window[_0x2d157b(0x19c)]),!_0x4aed83&&typeof Pe<'u'&&Pe[_0x2d157b(0x322)]&&(_0x4aed83=Pe[_0x2d157b(0x322)]),!_0x4aed83&&typeof gi=='function')try{_0x4aed83=require('crypto');}catch{}var _0x19104f=function(){var _0x446237=_0x2d157b;if(_0x4aed83){if(typeof _0x4aed83[_0x446237(0x20c)]==_0x446237(0x28d))try{return _0x4aed83['getRandomValues'](new Uint32Array(0x1))[0x0];}catch{}if(typeof _0x4aed83['randomBytes']==_0x446237(0x28d))try{return _0x4aed83['randomBytes'](0x4)[_0x446237(0xf2)]();}catch{}}throw new Error(_0x446237(0x2d7));},_0x94dcd4=Object[_0x2d157b(0xd1)]||(function(){function _0x2de567(){}return function(_0x496ecb){var _0x2ed5ef=_0x2a39,_0x6a0c04;return _0x2de567['prototype']=_0x496ecb,_0x6a0c04=new _0x2de567(),_0x2de567[_0x2ed5ef(0xa7)]=null,_0x6a0c04;};}()),_0xe692e7={},_0x2d9d8e=_0xe692e7[_0x2d157b(0x22a)]={},_0x1b04d4=_0x2d9d8e[_0x2d157b(0x3b1)]=(function(){return{'extend':function(_0x2306bc){var _0x529afa=_0x2a39,_0x520fda=_0x94dcd4(this);return _0x2306bc&&_0x520fda[_0x529afa(0x19d)](_0x2306bc),(!_0x520fda[_0x529afa(0x205)](_0x529afa(0x112))||this['init']===_0x520fda[_0x529afa(0x112)])&&(_0x520fda[_0x529afa(0x112)]=function(){var _0xa84011=_0x529afa;_0x520fda['$super'][_0xa84011(0x112)][_0xa84011(0x10f)](this,arguments);}),_0x520fda[_0x529afa(0x112)][_0x529afa(0xa7)]=_0x520fda,_0x520fda['$super']=this,_0x520fda;},'create':function(){var _0xa7d00c=_0x2a39,_0x3eef3f=this[_0xa7d00c(0x262)]();return _0x3eef3f[_0xa7d00c(0x112)][_0xa7d00c(0x10f)](_0x3eef3f,arguments),_0x3eef3f;},'init':function(){},'mixIn':function(_0x9b4b5a){var _0x28e4ce=_0x2a39;for(var _0x2a0195 in _0x9b4b5a)_0x9b4b5a[_0x28e4ce(0x205)](_0x2a0195)&&(this[_0x2a0195]=_0x9b4b5a[_0x2a0195]);_0x9b4b5a[_0x28e4ce(0x205)]('toString')&&(this[_0x28e4ce(0x1c3)]=_0x9b4b5a[_0x28e4ce(0x1c3)]);},'clone':function(){var _0x29c294=_0x2a39;return this[_0x29c294(0x112)][_0x29c294(0xa7)][_0x29c294(0x262)](this);}};}()),_0x3754fa=_0x2d9d8e[_0x2d157b(0x35e)]=_0x1b04d4[_0x2d157b(0x262)]({'init':function(_0x3af41d,_0x2192f0){var _0x2b7e3b=_0x2d157b;_0x3af41d=this[_0x2b7e3b(0x1a1)]=_0x3af41d||[],_0x2192f0!=_0x2ca9e9?this[_0x2b7e3b(0x3d9)]=_0x2192f0:this[_0x2b7e3b(0x3d9)]=_0x3af41d[_0x2b7e3b(0x324)]*0x4;},'toString':function(_0x13d0c1){var _0x5b2394=_0x2d157b;return(_0x13d0c1||_0x39b770)[_0x5b2394(0x28e)](this);},'concat':function(_0x145a6f){var _0x29658e=_0x2d157b,_0x124cb1=this['words'],_0x46c98f=_0x145a6f['words'],_0x53999d=this[_0x29658e(0x3d9)],_0x1fd6f5=_0x145a6f[_0x29658e(0x3d9)];if(this[_0x29658e(0x296)](),_0x53999d%0x4)for(var _0x473126=0x0;_0x473126<_0x1fd6f5;_0x473126++){var _0x399892=_0x46c98f[_0x473126>>>0x2]>>>0x18-_0x473126%0x4*0x8&0xff;_0x124cb1[_0x53999d+_0x473126>>>0x2]|=_0x399892<<0x18-(_0x53999d+_0x473126)%0x4*0x8;}else{for(var _0x190b7c=0x0;_0x190b7c<_0x1fd6f5;_0x190b7c+=0x4)_0x124cb1[_0x53999d+_0x190b7c>>>0x2]=_0x46c98f[_0x190b7c>>>0x2];}return this[_0x29658e(0x3d9)]+=_0x1fd6f5,this;},'clamp':function(){var _0x91c014=_0x2d157b,_0x28b270=this[_0x91c014(0x1a1)],_0x19f7a3=this[_0x91c014(0x3d9)];_0x28b270[_0x19f7a3>>>0x2]&=0xffffffff<<0x20-_0x19f7a3%0x4*0x8,_0x28b270[_0x91c014(0x324)]=_0x54c4a7[_0x91c014(0x272)](_0x19f7a3/0x4);},'clone':function(){var _0x5579e9=_0x2d157b,_0x1d38a4=_0x1b04d4['clone'][_0x5579e9(0x1a7)](this);return _0x1d38a4[_0x5579e9(0x1a1)]=this[_0x5579e9(0x1a1)][_0x5579e9(0x289)](0x0),_0x1d38a4;},'random':function(_0x349546){for(var _0x5162ef=[],_0x22774f=0x0;_0x22774f<_0x349546;_0x22774f+=0x4)_0x5162ef['push'](_0x19104f());return new _0x3754fa['init'](_0x5162ef,_0x349546);}}),_0x3cb612=_0xe692e7[_0x2d157b(0x30a)]={},_0x39b770=_0x3cb612[_0x2d157b(0x2f8)]={'stringify':function(_0x3e46f5){var _0x984913=_0x2d157b;for(var _0x28d02f=_0x3e46f5['words'],_0x5121d6=_0x3e46f5[_0x984913(0x3d9)],_0x1f3e08=[],_0x2c4f1d=0x0;_0x2c4f1d<_0x5121d6;_0x2c4f1d++){var _0x41771b=_0x28d02f[_0x2c4f1d>>>0x2]>>>0x18-_0x2c4f1d%0x4*0x8&0xff;_0x1f3e08[_0x984913(0x32d)]((_0x41771b>>>0x4)['toString'](0x10)),_0x1f3e08[_0x984913(0x32d)]((_0x41771b&0xf)[_0x984913(0x1c3)](0x10));}return _0x1f3e08['join']('');},'parse':function(_0x2fbbdf){var _0x10a32f=_0x2d157b;for(var _0x5069f0=_0x2fbbdf['length'],_0x152f48=[],_0x996dbc=0x0;_0x996dbc<_0x5069f0;_0x996dbc+=0x2)_0x152f48[_0x996dbc>>>0x3]|=parseInt(_0x2fbbdf[_0x10a32f(0x39b)](_0x996dbc,0x2),0x10)<<0x18-_0x996dbc%0x8*0x4;return new _0x3754fa[(_0x10a32f(0x112))](_0x152f48,_0x5069f0/0x2);}},_0x4c7382=_0x3cb612[_0x2d157b(0xb1)]={'stringify':function(_0xdd4fa5){var _0x4dd010=_0x2d157b;for(var _0x3168af=_0xdd4fa5[_0x4dd010(0x1a1)],_0x452575=_0xdd4fa5[_0x4dd010(0x3d9)],_0x468332=[],_0x43c132=0x0;_0x43c132<_0x452575;_0x43c132++){var _0x19d3d2=_0x3168af[_0x43c132>>>0x2]>>>0x18-_0x43c132%0x4*0x8&0xff;_0x468332[_0x4dd010(0x32d)](String['fromCharCode'](_0x19d3d2));}return _0x468332['join']('');},'parse':function(_0x5f36e8){var _0x40bbd6=_0x2d157b;for(var _0x4aaf51=_0x5f36e8[_0x40bbd6(0x324)],_0x27d7df=[],_0x30e073=0x0;_0x30e073<_0x4aaf51;_0x30e073++)_0x27d7df[_0x30e073>>>0x2]|=(_0x5f36e8[_0x40bbd6(0x1ba)](_0x30e073)&0xff)<<0x18-_0x30e073%0x4*0x8;return new _0x3754fa['init'](_0x27d7df,_0x4aaf51);}},_0x3b126c=_0x3cb612[_0x2d157b(0x3c4)]={'stringify':function(_0xd57dfa){var _0x4d4a8b=_0x2d157b;try{return decodeURIComponent(escape(_0x4c7382[_0x4d4a8b(0x28e)](_0xd57dfa)));}catch{throw new Error(_0x4d4a8b(0x23a));}},'parse':function(_0x35f475){var _0x1f58fb=_0x2d157b;return _0x4c7382[_0x1f58fb(0x2e1)](unescape(encodeURIComponent(_0x35f475)));}},_0x11a973=_0x2d9d8e['BufferedBlockAlgorithm']=_0x1b04d4[_0x2d157b(0x262)]({'reset':function(){var _0x633bad=_0x2d157b;this[_0x633bad(0x33d)]=new _0x3754fa['init'](),this[_0x633bad(0x154)]=0x0;},'_append':function(_0x278cab){var _0x362dfe=_0x2d157b;typeof _0x278cab==_0x362dfe(0x341)&&(_0x278cab=_0x3b126c[_0x362dfe(0x2e1)](_0x278cab)),this[_0x362dfe(0x33d)]['concat'](_0x278cab),this[_0x362dfe(0x154)]+=_0x278cab['sigBytes'];},'_process':function(_0x587f47){var _0x394f0b=_0x2d157b,_0x301d15,_0x4f318a=this[_0x394f0b(0x33d)],_0x2b87a6=_0x4f318a[_0x394f0b(0x1a1)],_0x2e2e8d=_0x4f318a[_0x394f0b(0x3d9)],_0x38e3f2=this[_0x394f0b(0x161)],_0x30ef49=_0x38e3f2*0x4,_0x2c8547=_0x2e2e8d/_0x30ef49;_0x587f47?_0x2c8547=_0x54c4a7[_0x394f0b(0x272)](_0x2c8547):_0x2c8547=_0x54c4a7[_0x394f0b(0x2d2)]((_0x2c8547|0x0)-this[_0x394f0b(0xd3)],0x0);var _0x1dea03=_0x2c8547*_0x38e3f2,_0x25ac46=_0x54c4a7[_0x394f0b(0x147)](_0x1dea03*0x4,_0x2e2e8d);if(_0x1dea03){for(var _0x46897f=0x0;_0x46897f<_0x1dea03;_0x46897f+=_0x38e3f2)this['_doProcessBlock'](_0x2b87a6,_0x46897f);_0x301d15=_0x2b87a6[_0x394f0b(0xbf)](0x0,_0x1dea03),_0x4f318a[_0x394f0b(0x3d9)]-=_0x25ac46;}return new _0x3754fa[(_0x394f0b(0x112))](_0x301d15,_0x25ac46);},'clone':function(){var _0x3a8e14=_0x2d157b,_0x68601c=_0x1b04d4[_0x3a8e14(0x130)]['call'](this);return _0x68601c[_0x3a8e14(0x33d)]=this['_data'][_0x3a8e14(0x130)](),_0x68601c;},'_minBufferSize':0x0});_0x2d9d8e[_0x2d157b(0xc7)]=_0x11a973['extend']({'cfg':_0x1b04d4[_0x2d157b(0x262)](),'init':function(_0x5459bb){var _0x25cc48=_0x2d157b;this['cfg']=this[_0x25cc48(0x9a)][_0x25cc48(0x262)](_0x5459bb),this[_0x25cc48(0x108)]();},'reset':function(){var _0x3f29d5=_0x2d157b;_0x11a973[_0x3f29d5(0x108)][_0x3f29d5(0x1a7)](this),this['_doReset']();},'update':function(_0x203892){var _0x257f69=_0x2d157b;return this[_0x257f69(0x88)](_0x203892),this[_0x257f69(0x201)](),this;},'finalize':function(_0x249e24){var _0x3ae756=_0x2d157b;_0x249e24&&this[_0x3ae756(0x88)](_0x249e24);var _0x52a27c=this[_0x3ae756(0x2bc)]();return _0x52a27c;},'blockSize':0x10,'_createHelper':function(_0x516d55){return function(_0x1265b5,_0x407f96){var _0x316882=_0x2a39;return new _0x516d55[(_0x316882(0x112))](_0x407f96)['finalize'](_0x1265b5);};},'_createHmacHelper':function(_0x2e968b){return function(_0x24b376,_0x5e2a57){var _0x13d64e=_0x2a39;return new _0x293d6f[(_0x13d64e(0x3b6))][(_0x13d64e(0x112))](_0x2e968b,_0x5e2a57)[_0x13d64e(0x10a)](_0x24b376);};}});var _0x293d6f=_0xe692e7['algo']={};return _0xe692e7;}(Math);return _0x1ea9bf;}));}(Ie)),Ie[_0x9a0db2(0x1fa)];}var pe={'exports':{}},Ci=pe['exports'],ze;function Et(){var _0x22f5ed=_0x7a3069;return ze||(ze=0x1,function(_0x3217f1,_0x1aeaf1){(function(_0x1c76b9,_0x2dfb7a){var _0x1887f7=_0x2a39;_0x3217f1[_0x1887f7(0x1fa)]=_0x2dfb7a(Q());}(Ci,function(_0x200927){var _0x12635d=_0x2a39;return(function(){var _0x441c87=_0x2a39,_0x2c2483=_0x200927,_0x458212=_0x2c2483[_0x441c87(0x22a)],_0x348e77=_0x458212[_0x441c87(0x35e)],_0x46b523=_0x2c2483[_0x441c87(0x30a)];_0x46b523[_0x441c87(0x31b)]={'stringify':function(_0x5524c8){var _0x1a81ad=_0x441c87,_0x486844=_0x5524c8[_0x1a81ad(0x1a1)],_0x48aeff=_0x5524c8[_0x1a81ad(0x3d9)],_0x23d780=this[_0x1a81ad(0x3af)];_0x5524c8[_0x1a81ad(0x296)]();for(var _0x4886d2=[],_0x3539ac=0x0;_0x3539ac<_0x48aeff;_0x3539ac+=0x3)for(var _0x31bc26=_0x486844[_0x3539ac>>>0x2]>>>0x18-_0x3539ac%0x4*0x8&0xff,_0x18e2a9=_0x486844[_0x3539ac+0x1>>>0x2]>>>0x18-(_0x3539ac+0x1)%0x4*0x8&0xff,_0x2954b6=_0x486844[_0x3539ac+0x2>>>0x2]>>>0x18-(_0x3539ac+0x2)%0x4*0x8&0xff,_0x5bcfd1=_0x31bc26<<0x10|_0x18e2a9<<0x8|_0x2954b6,_0x15afae=0x0;_0x15afae<0x4&&_0x3539ac+_0x15afae*0.75<_0x48aeff;_0x15afae++)_0x4886d2[_0x1a81ad(0x32d)](_0x23d780[_0x1a81ad(0x2fd)](_0x5bcfd1>>>0x6*(0x3-_0x15afae)&0x3f));var _0x223494=_0x23d780[_0x1a81ad(0x2fd)](0x40);if(_0x223494){for(;_0x4886d2[_0x1a81ad(0x324)]%0x4;)_0x4886d2[_0x1a81ad(0x32d)](_0x223494);}return _0x4886d2[_0x1a81ad(0x123)]('');},'parse':function(_0x493cf2){var _0x3ecf53=_0x441c87,_0x15f1b6=_0x493cf2['length'],_0x10e5cd=this['_map'],_0x58fdf3=this[_0x3ecf53(0x121)];if(!_0x58fdf3){_0x58fdf3=this[_0x3ecf53(0x121)]=[];for(var _0x34ec9c=0x0;_0x34ec9c<_0x10e5cd[_0x3ecf53(0x324)];_0x34ec9c++)_0x58fdf3[_0x10e5cd[_0x3ecf53(0x1ba)](_0x34ec9c)]=_0x34ec9c;}var _0x245873=_0x10e5cd['charAt'](0x40);if(_0x245873){var _0x14d1ed=_0x493cf2[_0x3ecf53(0x304)](_0x245873);_0x14d1ed!==-0x1&&(_0x15f1b6=_0x14d1ed);}return _0xb5929(_0x493cf2,_0x15f1b6,_0x58fdf3);},'_map':_0x441c87(0xa8)};function _0xb5929(_0x42750a,_0x685be5,_0x2831c2){var _0xe2ef85=_0x441c87;for(var _0x28917a=[],_0x3a7af1=0x0,_0x248f76=0x0;_0x248f76<_0x685be5;_0x248f76++)if(_0x248f76%0x4){var _0x5de0d8=_0x2831c2[_0x42750a[_0xe2ef85(0x1ba)](_0x248f76-0x1)]<<_0x248f76%0x4*0x2,_0x190107=_0x2831c2[_0x42750a['charCodeAt'](_0x248f76)]>>>0x6-_0x248f76%0x4*0x2,_0x1a8bec=_0x5de0d8|_0x190107;_0x28917a[_0x3a7af1>>>0x2]|=_0x1a8bec<<0x18-_0x3a7af1%0x4*0x8,_0x3a7af1++;}return _0x348e77[_0xe2ef85(0xd1)](_0x28917a,_0x3a7af1);}}()),_0x200927[_0x12635d(0x30a)]['Base64'];}));}(pe)),pe[_0x22f5ed(0x1fa)];}var me={'exports':{}},Ti=me[_0x7a3069(0x1fa)],Je;function bi(){var _0x2085d5=_0x7a3069;return Je||(Je=0x1,function(_0x4c7bd8,_0xb9bb57){(function(_0x286588,_0x2b45cd){var _0x43d2a3=_0x2a39;_0x4c7bd8[_0x43d2a3(0x1fa)]=_0x2b45cd(Q());}(Ti,function(_0x4fb329){var _0x3d3508=_0x2a39;return function(_0x70b2ba){var _0x39d620=_0x2a39,_0x18ca21=_0x4fb329,_0x23853e=_0x18ca21['lib'],_0x47bed5=_0x23853e[_0x39d620(0x35e)],_0x1a4f64=_0x23853e[_0x39d620(0xc7)],_0x86f529=_0x18ca21['algo'],_0x27ffb2=[];(function(){var _0x30ca86=_0x39d620;for(var _0x11fa35=0x0;_0x11fa35<0x40;_0x11fa35++)_0x27ffb2[_0x11fa35]=_0x70b2ba[_0x30ca86(0x309)](_0x70b2ba[_0x30ca86(0x18c)](_0x11fa35+0x1))*0x100000000|0x0;}());var _0x1a9347=_0x86f529['MD5']=_0x1a4f64[_0x39d620(0x262)]({'_doReset':function(){var _0x42f02c=_0x39d620;this[_0x42f02c(0x2a5)]=new _0x47bed5['init']([0x67452301,0xefcdab89,0x98badcfe,0x10325476]);},'_doProcessBlock':function(_0x285d09,_0x2ba819){var _0x2418da=_0x39d620;for(var _0x4520bb=0x0;_0x4520bb<0x10;_0x4520bb++){var _0xf6a3a5=_0x2ba819+_0x4520bb,_0x503280=_0x285d09[_0xf6a3a5];_0x285d09[_0xf6a3a5]=(_0x503280<<0x8|_0x503280>>>0x18)&0xff00ff|(_0x503280<<0x18|_0x503280>>>0x8)&0xff00ff00;}var _0x88db9d=this[_0x2418da(0x2a5)]['words'],_0x16d6a0=_0x285d09[_0x2ba819+0x0],_0x548d30=_0x285d09[_0x2ba819+0x1],_0x12a98b=_0x285d09[_0x2ba819+0x2],_0x20bb8a=_0x285d09[_0x2ba819+0x3],_0x349fbd=_0x285d09[_0x2ba819+0x4],_0x5f3422=_0x285d09[_0x2ba819+0x5],_0x48b633=_0x285d09[_0x2ba819+0x6],_0x2d6988=_0x285d09[_0x2ba819+0x7],_0x55b6eb=_0x285d09[_0x2ba819+0x8],_0x56ba8b=_0x285d09[_0x2ba819+0x9],_0x87503e=_0x285d09[_0x2ba819+0xa],_0x447071=_0x285d09[_0x2ba819+0xb],_0x333261=_0x285d09[_0x2ba819+0xc],_0x564f15=_0x285d09[_0x2ba819+0xd],_0x1b915f=_0x285d09[_0x2ba819+0xe],_0x44e7cf=_0x285d09[_0x2ba819+0xf],_0x306e5d=_0x88db9d[0x0],_0x4512ff=_0x88db9d[0x1],_0x3f85ce=_0x88db9d[0x2],_0x467920=_0x88db9d[0x3];_0x306e5d=_0x3061b9(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x16d6a0,0x7,_0x27ffb2[0x0]),_0x467920=_0x3061b9(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x548d30,0xc,_0x27ffb2[0x1]),_0x3f85ce=_0x3061b9(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x12a98b,0x11,_0x27ffb2[0x2]),_0x4512ff=_0x3061b9(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x20bb8a,0x16,_0x27ffb2[0x3]),_0x306e5d=_0x3061b9(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x349fbd,0x7,_0x27ffb2[0x4]),_0x467920=_0x3061b9(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x5f3422,0xc,_0x27ffb2[0x5]),_0x3f85ce=_0x3061b9(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x48b633,0x11,_0x27ffb2[0x6]),_0x4512ff=_0x3061b9(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x2d6988,0x16,_0x27ffb2[0x7]),_0x306e5d=_0x3061b9(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x55b6eb,0x7,_0x27ffb2[0x8]),_0x467920=_0x3061b9(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x56ba8b,0xc,_0x27ffb2[0x9]),_0x3f85ce=_0x3061b9(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x87503e,0x11,_0x27ffb2[0xa]),_0x4512ff=_0x3061b9(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x447071,0x16,_0x27ffb2[0xb]),_0x306e5d=_0x3061b9(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x333261,0x7,_0x27ffb2[0xc]),_0x467920=_0x3061b9(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x564f15,0xc,_0x27ffb2[0xd]),_0x3f85ce=_0x3061b9(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x1b915f,0x11,_0x27ffb2[0xe]),_0x4512ff=_0x3061b9(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x44e7cf,0x16,_0x27ffb2[0xf]),_0x306e5d=_0x167567(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x548d30,0x5,_0x27ffb2[0x10]),_0x467920=_0x167567(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x48b633,0x9,_0x27ffb2[0x11]),_0x3f85ce=_0x167567(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x447071,0xe,_0x27ffb2[0x12]),_0x4512ff=_0x167567(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x16d6a0,0x14,_0x27ffb2[0x13]),_0x306e5d=_0x167567(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x5f3422,0x5,_0x27ffb2[0x14]),_0x467920=_0x167567(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x87503e,0x9,_0x27ffb2[0x15]),_0x3f85ce=_0x167567(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x44e7cf,0xe,_0x27ffb2[0x16]),_0x4512ff=_0x167567(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x349fbd,0x14,_0x27ffb2[0x17]),_0x306e5d=_0x167567(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x56ba8b,0x5,_0x27ffb2[0x18]),_0x467920=_0x167567(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x1b915f,0x9,_0x27ffb2[0x19]),_0x3f85ce=_0x167567(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x20bb8a,0xe,_0x27ffb2[0x1a]),_0x4512ff=_0x167567(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x55b6eb,0x14,_0x27ffb2[0x1b]),_0x306e5d=_0x167567(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x564f15,0x5,_0x27ffb2[0x1c]),_0x467920=_0x167567(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x12a98b,0x9,_0x27ffb2[0x1d]),_0x3f85ce=_0x167567(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x2d6988,0xe,_0x27ffb2[0x1e]),_0x4512ff=_0x167567(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x333261,0x14,_0x27ffb2[0x1f]),_0x306e5d=_0xa175b8(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x5f3422,0x4,_0x27ffb2[0x20]),_0x467920=_0xa175b8(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x55b6eb,0xb,_0x27ffb2[0x21]),_0x3f85ce=_0xa175b8(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x447071,0x10,_0x27ffb2[0x22]),_0x4512ff=_0xa175b8(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x1b915f,0x17,_0x27ffb2[0x23]),_0x306e5d=_0xa175b8(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x548d30,0x4,_0x27ffb2[0x24]),_0x467920=_0xa175b8(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x349fbd,0xb,_0x27ffb2[0x25]),_0x3f85ce=_0xa175b8(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x2d6988,0x10,_0x27ffb2[0x26]),_0x4512ff=_0xa175b8(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x87503e,0x17,_0x27ffb2[0x27]),_0x306e5d=_0xa175b8(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x564f15,0x4,_0x27ffb2[0x28]),_0x467920=_0xa175b8(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x16d6a0,0xb,_0x27ffb2[0x29]),_0x3f85ce=_0xa175b8(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x20bb8a,0x10,_0x27ffb2[0x2a]),_0x4512ff=_0xa175b8(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x48b633,0x17,_0x27ffb2[0x2b]),_0x306e5d=_0xa175b8(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x56ba8b,0x4,_0x27ffb2[0x2c]),_0x467920=_0xa175b8(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x333261,0xb,_0x27ffb2[0x2d]),_0x3f85ce=_0xa175b8(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x44e7cf,0x10,_0x27ffb2[0x2e]),_0x4512ff=_0xa175b8(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x12a98b,0x17,_0x27ffb2[0x2f]),_0x306e5d=_0x3ce091(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x16d6a0,0x6,_0x27ffb2[0x30]),_0x467920=_0x3ce091(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x2d6988,0xa,_0x27ffb2[0x31]),_0x3f85ce=_0x3ce091(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x1b915f,0xf,_0x27ffb2[0x32]),_0x4512ff=_0x3ce091(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x5f3422,0x15,_0x27ffb2[0x33]),_0x306e5d=_0x3ce091(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x333261,0x6,_0x27ffb2[0x34]),_0x467920=_0x3ce091(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x20bb8a,0xa,_0x27ffb2[0x35]),_0x3f85ce=_0x3ce091(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x87503e,0xf,_0x27ffb2[0x36]),_0x4512ff=_0x3ce091(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x548d30,0x15,_0x27ffb2[0x37]),_0x306e5d=_0x3ce091(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x55b6eb,0x6,_0x27ffb2[0x38]),_0x467920=_0x3ce091(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x44e7cf,0xa,_0x27ffb2[0x39]),_0x3f85ce=_0x3ce091(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x48b633,0xf,_0x27ffb2[0x3a]),_0x4512ff=_0x3ce091(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x564f15,0x15,_0x27ffb2[0x3b]),_0x306e5d=_0x3ce091(_0x306e5d,_0x4512ff,_0x3f85ce,_0x467920,_0x349fbd,0x6,_0x27ffb2[0x3c]),_0x467920=_0x3ce091(_0x467920,_0x306e5d,_0x4512ff,_0x3f85ce,_0x447071,0xa,_0x27ffb2[0x3d]),_0x3f85ce=_0x3ce091(_0x3f85ce,_0x467920,_0x306e5d,_0x4512ff,_0x12a98b,0xf,_0x27ffb2[0x3e]),_0x4512ff=_0x3ce091(_0x4512ff,_0x3f85ce,_0x467920,_0x306e5d,_0x56ba8b,0x15,_0x27ffb2[0x3f]),_0x88db9d[0x0]=_0x88db9d[0x0]+_0x306e5d|0x0,_0x88db9d[0x1]=_0x88db9d[0x1]+_0x4512ff|0x0,_0x88db9d[0x2]=_0x88db9d[0x2]+_0x3f85ce|0x0,_0x88db9d[0x3]=_0x88db9d[0x3]+_0x467920|0x0;},'_doFinalize':function(){var _0x50012a=_0x39d620,_0x1c15cb=this[_0x50012a(0x33d)],_0x2997a1=_0x1c15cb['words'],_0x38452b=this['_nDataBytes']*0x8,_0x35254c=_0x1c15cb[_0x50012a(0x3d9)]*0x8;_0x2997a1[_0x35254c>>>0x5]|=0x80<<0x18-_0x35254c%0x20;var _0x21ed65=_0x70b2ba[_0x50012a(0x169)](_0x38452b/0x100000000),_0x23633f=_0x38452b;_0x2997a1[(_0x35254c+0x40>>>0x9<<0x4)+0xf]=(_0x21ed65<<0x8|_0x21ed65>>>0x18)&0xff00ff|(_0x21ed65<<0x18|_0x21ed65>>>0x8)&0xff00ff00,_0x2997a1[(_0x35254c+0x40>>>0x9<<0x4)+0xe]=(_0x23633f<<0x8|_0x23633f>>>0x18)&0xff00ff|(_0x23633f<<0x18|_0x23633f>>>0x8)&0xff00ff00,_0x1c15cb['sigBytes']=(_0x2997a1[_0x50012a(0x324)]+0x1)*0x4,this[_0x50012a(0x201)]();for(var _0x27d94d=this[_0x50012a(0x2a5)],_0x22e7b6=_0x27d94d['words'],_0x504e94=0x0;_0x504e94<0x4;_0x504e94++){var _0xbf1402=_0x22e7b6[_0x504e94];_0x22e7b6[_0x504e94]=(_0xbf1402<<0x8|_0xbf1402>>>0x18)&0xff00ff|(_0xbf1402<<0x18|_0xbf1402>>>0x8)&0xff00ff00;}return _0x27d94d;},'clone':function(){var _0x51d4e7=_0x39d620,_0x210125=_0x1a4f64['clone'][_0x51d4e7(0x1a7)](this);return _0x210125[_0x51d4e7(0x2a5)]=this[_0x51d4e7(0x2a5)][_0x51d4e7(0x130)](),_0x210125;}});function _0x3061b9(_0x3ee588,_0x3ee3ad,_0x5466b2,_0xbcc9c5,_0xd4ae49,_0x108746,_0x1e19fa){var _0x28ea09=_0x3ee588+(_0x3ee3ad&_0x5466b2|~_0x3ee3ad&_0xbcc9c5)+_0xd4ae49+_0x1e19fa;return(_0x28ea09<<_0x108746|_0x28ea09>>>0x20-_0x108746)+_0x3ee3ad;}function _0x167567(_0x13b48e,_0x369a35,_0x2ace1d,_0x56df1d,_0x2d21fd,_0x2599e8,_0xa29ccb){var _0x1c9211=_0x13b48e+(_0x369a35&_0x56df1d|_0x2ace1d&~_0x56df1d)+_0x2d21fd+_0xa29ccb;return(_0x1c9211<<_0x2599e8|_0x1c9211>>>0x20-_0x2599e8)+_0x369a35;}function _0xa175b8(_0x41684f,_0x43f78e,_0x5b2c50,_0x3d2d05,_0x267eee,_0xf62e83,_0x1e2103){var _0x2702aa=_0x41684f+(_0x43f78e^_0x5b2c50^_0x3d2d05)+_0x267eee+_0x1e2103;return(_0x2702aa<<_0xf62e83|_0x2702aa>>>0x20-_0xf62e83)+_0x43f78e;}function _0x3ce091(_0x3231bc,_0x1e2d01,_0x36d52e,_0x104ef9,_0x2f9ef9,_0x1f70c6,_0xea3d24){var _0x1ea6dc=_0x3231bc+(_0x36d52e^(_0x1e2d01|~_0x104ef9))+_0x2f9ef9+_0xea3d24;return(_0x1ea6dc<<_0x1f70c6|_0x1ea6dc>>>0x20-_0x1f70c6)+_0x1e2d01;}_0x18ca21[_0x39d620(0x1d1)]=_0x1a4f64[_0x39d620(0x140)](_0x1a9347),_0x18ca21[_0x39d620(0x26c)]=_0x1a4f64['_createHmacHelper'](_0x1a9347);}(Math),_0x4fb329[_0x3d3508(0x1d1)];}));}(me)),me[_0x2085d5(0x1fa)];}var ge={'exports':{}},Ee={'exports':{}},Oi=Ee[_0x7a3069(0x1fa)],Xe;function Ri(){var _0x36c79f=_0x7a3069;return Xe||(Xe=0x1,function(_0x5aedd8,_0x504500){(function(_0x343923,_0x76240c){var _0xd6f4c0=_0x2a39;_0x5aedd8[_0xd6f4c0(0x1fa)]=_0x76240c(Q());}(Oi,function(_0x409b81){var _0x539093=_0x2a39;return(function(){var _0x4207d2=_0x2a39,_0xa4e924=_0x409b81,_0x4568e7=_0xa4e924[_0x4207d2(0x22a)],_0xed8468=_0x4568e7[_0x4207d2(0x35e)],_0xb8d593=_0x4568e7[_0x4207d2(0xc7)],_0x257899=_0xa4e924[_0x4207d2(0x2ad)],_0x4a7201=[],_0x5774f9=_0x257899[_0x4207d2(0x349)]=_0xb8d593[_0x4207d2(0x262)]({'_doReset':function(){var _0x1eb400=_0x4207d2;this[_0x1eb400(0x2a5)]=new _0xed8468[(_0x1eb400(0x112))]([0x67452301,0xefcdab89,0x98badcfe,0x10325476,0xc3d2e1f0]);},'_doProcessBlock':function(_0x26341d,_0x291d11){var _0x396d29=_0x4207d2;for(var _0x3a8521=this[_0x396d29(0x2a5)][_0x396d29(0x1a1)],_0x1693f7=_0x3a8521[0x0],_0x55fefe=_0x3a8521[0x1],_0x36690c=_0x3a8521[0x2],_0x56eaae=_0x3a8521[0x3],_0x377feb=_0x3a8521[0x4],_0x438ea8=0x0;_0x438ea8<0x50;_0x438ea8++){if(_0x438ea8<0x10)_0x4a7201[_0x438ea8]=_0x26341d[_0x291d11+_0x438ea8]|0x0;else{var _0x126f62=_0x4a7201[_0x438ea8-0x3]^_0x4a7201[_0x438ea8-0x8]^_0x4a7201[_0x438ea8-0xe]^_0x4a7201[_0x438ea8-0x10];_0x4a7201[_0x438ea8]=_0x126f62<<0x1|_0x126f62>>>0x1f;}var _0x407aad=(_0x1693f7<<0x5|_0x1693f7>>>0x1b)+_0x377feb+_0x4a7201[_0x438ea8];_0x438ea8<0x14?_0x407aad+=(_0x55fefe&_0x36690c|~_0x55fefe&_0x56eaae)+0x5a827999:_0x438ea8<0x28?_0x407aad+=(_0x55fefe^_0x36690c^_0x56eaae)+0x6ed9eba1:_0x438ea8<0x3c?_0x407aad+=(_0x55fefe&_0x36690c|_0x55fefe&_0x56eaae|_0x36690c&_0x56eaae)-0x70e44324:_0x407aad+=(_0x55fefe^_0x36690c^_0x56eaae)-0x359d3e2a,_0x377feb=_0x56eaae,_0x56eaae=_0x36690c,_0x36690c=_0x55fefe<<0x1e|_0x55fefe>>>0x2,_0x55fefe=_0x1693f7,_0x1693f7=_0x407aad;}_0x3a8521[0x0]=_0x3a8521[0x0]+_0x1693f7|0x0,_0x3a8521[0x1]=_0x3a8521[0x1]+_0x55fefe|0x0,_0x3a8521[0x2]=_0x3a8521[0x2]+_0x36690c|0x0,_0x3a8521[0x3]=_0x3a8521[0x3]+_0x56eaae|0x0,_0x3a8521[0x4]=_0x3a8521[0x4]+_0x377feb|0x0;},'_doFinalize':function(){var _0x7448b3=_0x4207d2,_0x35fc54=this[_0x7448b3(0x33d)],_0x14003a=_0x35fc54[_0x7448b3(0x1a1)],_0x551afb=this[_0x7448b3(0x154)]*0x8,_0x2bf465=_0x35fc54['sigBytes']*0x8;return _0x14003a[_0x2bf465>>>0x5]|=0x80<<0x18-_0x2bf465%0x20,_0x14003a[(_0x2bf465+0x40>>>0x9<<0x4)+0xe]=Math[_0x7448b3(0x169)](_0x551afb/0x100000000),_0x14003a[(_0x2bf465+0x40>>>0x9<<0x4)+0xf]=_0x551afb,_0x35fc54[_0x7448b3(0x3d9)]=_0x14003a['length']*0x4,this['_process'](),this[_0x7448b3(0x2a5)];},'clone':function(){var _0x13091f=_0x4207d2,_0x187afc=_0xb8d593[_0x13091f(0x130)]['call'](this);return _0x187afc['_hash']=this[_0x13091f(0x2a5)][_0x13091f(0x130)](),_0x187afc;}});_0xa4e924['SHA1']=_0xb8d593[_0x4207d2(0x140)](_0x5774f9),_0xa4e924['HmacSHA1']=_0xb8d593['_createHmacHelper'](_0x5774f9);}()),_0x409b81[_0x539093(0x349)];}));}(Ee)),Ee[_0x36c79f(0x1fa)];}var Ce={'exports':{}},yi=Ce[_0x7a3069(0x1fa)],Ze;function Ni(){var _0x389aca=_0x7a3069;return Ze||(Ze=0x1,function(_0x4698b0,_0xbd3455){(function(_0x1829dd,_0x138098){var _0xe79c68=_0x2a39;_0x4698b0[_0xe79c68(0x1fa)]=_0x138098(Q());}(yi,function(_0x2c9e39){(function(){var _0x31ca52=_0x2a39,_0x42f345=_0x2c9e39,_0xabe233=_0x42f345[_0x31ca52(0x22a)],_0x3fc633=_0xabe233[_0x31ca52(0x3b1)],_0x49a307=_0x42f345[_0x31ca52(0x30a)],_0x2703f2=_0x49a307[_0x31ca52(0x3c4)],_0xca1c4c=_0x42f345[_0x31ca52(0x2ad)];_0xca1c4c[_0x31ca52(0x3b6)]=_0x3fc633[_0x31ca52(0x262)]({'init':function(_0x59a590,_0xc9f234){var _0x3c9160=_0x31ca52;_0x59a590=this[_0x3c9160(0x329)]=new _0x59a590[(_0x3c9160(0x112))](),typeof _0xc9f234=='string'&&(_0xc9f234=_0x2703f2[_0x3c9160(0x2e1)](_0xc9f234));var _0x33589e=_0x59a590[_0x3c9160(0x161)],_0x54b4f1=_0x33589e*0x4;_0xc9f234[_0x3c9160(0x3d9)]>_0x54b4f1&&(_0xc9f234=_0x59a590[_0x3c9160(0x10a)](_0xc9f234)),_0xc9f234[_0x3c9160(0x296)]();for(var _0x27877a=this[_0x3c9160(0x235)]=_0xc9f234['clone'](),_0x1e7574=this[_0x3c9160(0x29e)]=_0xc9f234[_0x3c9160(0x130)](),_0x3d08af=_0x27877a['words'],_0x1e537e=_0x1e7574[_0x3c9160(0x1a1)],_0x268b0a=0x0;_0x268b0a<_0x33589e;_0x268b0a++)_0x3d08af[_0x268b0a]^=0x5c5c5c5c,_0x1e537e[_0x268b0a]^=0x36363636;_0x27877a[_0x3c9160(0x3d9)]=_0x1e7574[_0x3c9160(0x3d9)]=_0x54b4f1,this[_0x3c9160(0x108)]();},'reset':function(){var _0x222daf=_0x31ca52,_0x50c299=this['_hasher'];_0x50c299['reset'](),_0x50c299[_0x222daf(0x89)](this[_0x222daf(0x29e)]);},'update':function(_0x312b8e){var _0x460adc=_0x31ca52;return this['_hasher'][_0x460adc(0x89)](_0x312b8e),this;},'finalize':function(_0x44d57a){var _0x522e76=_0x31ca52,_0x2209b1=this[_0x522e76(0x329)],_0x18909a=_0x2209b1[_0x522e76(0x10a)](_0x44d57a);_0x2209b1[_0x522e76(0x108)]();var _0x3ff19e=_0x2209b1[_0x522e76(0x10a)](this[_0x522e76(0x235)][_0x522e76(0x130)]()[_0x522e76(0x342)](_0x18909a));return _0x3ff19e;}});}());}));}(Ce)),Ce[_0x389aca(0x1fa)];}var Di=ge[_0x7a3069(0x1fa)],Qe;function Ct(){var _0x420125=_0x7a3069;return Qe||(Qe=0x1,function(_0x24ea02,_0x1a3c59){(function(_0x4f7739,_0x38ccf1,_0x4571db){_0x24ea02['exports']=_0x38ccf1(Q(),Ri(),Ni());}(Di,function(_0x482359){var _0x48799d=_0x2a39;return(function(){var _0x5be573=_0x2a39,_0x2fe1d5=_0x482359,_0x954877=_0x2fe1d5[_0x5be573(0x22a)],_0x3543ed=_0x954877[_0x5be573(0x3b1)],_0x3c88c7=_0x954877[_0x5be573(0x35e)],_0x4abda7=_0x2fe1d5[_0x5be573(0x2ad)],_0x2b4940=_0x4abda7[_0x5be573(0x1d1)],_0xedbb0e=_0x4abda7[_0x5be573(0x3c1)]=_0x3543ed[_0x5be573(0x262)]({'cfg':_0x3543ed[_0x5be573(0x262)]({'keySize':0x80/0x20,'hasher':_0x2b4940,'iterations':0x1}),'init':function(_0x1a0c89){var _0xe575bd=_0x5be573;this[_0xe575bd(0x9a)]=this[_0xe575bd(0x9a)]['extend'](_0x1a0c89);},'compute':function(_0x2e3b84,_0x5ba3bf){var _0x42d3c5=_0x5be573;for(var _0x291d22,_0x4ce053=this['cfg'],_0x382d5a=_0x4ce053[_0x42d3c5(0x109)][_0x42d3c5(0xd1)](),_0x5b7d47=_0x3c88c7[_0x42d3c5(0xd1)](),_0x4f0d40=_0x5b7d47[_0x42d3c5(0x1a1)],_0x1c2194=_0x4ce053[_0x42d3c5(0x2b7)],_0xd75f57=_0x4ce053[_0x42d3c5(0x83)];_0x4f0d40[_0x42d3c5(0x324)]<_0x1c2194;){_0x291d22&&_0x382d5a[_0x42d3c5(0x89)](_0x291d22),_0x291d22=_0x382d5a[_0x42d3c5(0x89)](_0x2e3b84)[_0x42d3c5(0x10a)](_0x5ba3bf),_0x382d5a[_0x42d3c5(0x108)]();for(var _0x415bbb=0x1;_0x415bbb<_0xd75f57;_0x415bbb++)_0x291d22=_0x382d5a[_0x42d3c5(0x10a)](_0x291d22),_0x382d5a[_0x42d3c5(0x108)]();_0x5b7d47['concat'](_0x291d22);}return _0x5b7d47[_0x42d3c5(0x3d9)]=_0x1c2194*0x4,_0x5b7d47;}});_0x2fe1d5[_0x5be573(0x3c1)]=function(_0x3556be,_0x2a8543,_0x410170){var _0x3a509f=_0x5be573;return _0xedbb0e[_0x3a509f(0xd1)](_0x410170)[_0x3a509f(0x373)](_0x3556be,_0x2a8543);};}()),_0x482359[_0x48799d(0x3c1)];}));}(ge)),ge[_0x420125(0x1fa)];}var Te={'exports':{}},Ui=Te['exports'],et;function Tt(){var _0x2de69d=_0x7a3069;return et||(et=0x1,function(_0x313266,_0x94e71d){(function(_0x43999d,_0x5caf83,_0x2503b4){var _0x3a341d=_0x2a39;_0x313266[_0x3a341d(0x1fa)]=_0x5caf83(Q(),Ct());}(Ui,function(_0x3492d9){var _0x430674=_0x2a39;_0x3492d9[_0x430674(0x22a)][_0x430674(0xbb)]||function(_0x4c3e1a){var _0x241ef2=_0x430674,_0x37822d=_0x3492d9,_0x2b58ac=_0x37822d[_0x241ef2(0x22a)],_0x112620=_0x2b58ac[_0x241ef2(0x3b1)],_0x5398d2=_0x2b58ac['WordArray'],_0x2f4de2=_0x2b58ac['BufferedBlockAlgorithm'],_0x12a59a=_0x37822d[_0x241ef2(0x30a)];_0x12a59a[_0x241ef2(0x3c4)];var _0x125702=_0x12a59a[_0x241ef2(0x31b)],_0x23e80b=_0x37822d['algo'],_0x5a4fa3=_0x23e80b[_0x241ef2(0x3c1)],_0x463c7f=_0x2b58ac['Cipher']=_0x2f4de2[_0x241ef2(0x262)]({'cfg':_0x112620[_0x241ef2(0x262)](),'createEncryptor':function(_0x5e214d,_0x4d43e0){return this['create'](this['_ENC_XFORM_MODE'],_0x5e214d,_0x4d43e0);},'createDecryptor':function(_0x4f1a72,_0x21baf3){var _0x342823=_0x241ef2;return this[_0x342823(0xd1)](this[_0x342823(0xeb)],_0x4f1a72,_0x21baf3);},'init':function(_0x4db02b,_0x37f4e2,_0x4c9603){var _0x246784=_0x241ef2;this[_0x246784(0x9a)]=this['cfg'][_0x246784(0x262)](_0x4c9603),this[_0x246784(0x120)]=_0x4db02b,this[_0x246784(0x2d9)]=_0x37f4e2,this[_0x246784(0x108)]();},'reset':function(){var _0x501072=_0x241ef2;_0x2f4de2[_0x501072(0x108)]['call'](this),this[_0x501072(0xaa)]();},'process':function(_0xbdee43){var _0x44375e=_0x241ef2;return this[_0x44375e(0x88)](_0xbdee43),this[_0x44375e(0x201)]();},'finalize':function(_0x1457dc){var _0x2accb6=_0x241ef2;_0x1457dc&&this[_0x2accb6(0x88)](_0x1457dc);var _0x8fcfaa=this['_doFinalize']();return _0x8fcfaa;},'keySize':0x80/0x20,'ivSize':0x80/0x20,'_ENC_XFORM_MODE':0x1,'_DEC_XFORM_MODE':0x2,'_createHelper':(function(){function _0xd468d7(_0x56cfff){var _0x4d3037=_0x2a39;return typeof _0x56cfff==_0x4d3037(0x341)?_0x3739b7:_0x3ccc20;}return function(_0x124b4f){return{'encrypt':function(_0x12e086,_0x425adf,_0x1de6d9){var _0x43ae3d=_0x2a39;return _0xd468d7(_0x425adf)[_0x43ae3d(0xea)](_0x124b4f,_0x12e086,_0x425adf,_0x1de6d9);},'decrypt':function(_0x2a93bf,_0x3c443b,_0x18106e){return _0xd468d7(_0x3c443b)['decrypt'](_0x124b4f,_0x2a93bf,_0x3c443b,_0x18106e);}};};}())});_0x2b58ac[_0x241ef2(0x2a2)]=_0x463c7f[_0x241ef2(0x262)]({'_doFinalize':function(){var _0x3125ec=_0x241ef2,_0x5e7f51=this[_0x3125ec(0x201)](!0x0);return _0x5e7f51;},'blockSize':0x1});var _0x3f3077=_0x37822d[_0x241ef2(0x1f8)]={},_0x235381=_0x2b58ac[_0x241ef2(0x305)]=_0x112620[_0x241ef2(0x262)]({'createEncryptor':function(_0x1d981b,_0x2c2907){var _0x3163d1=_0x241ef2;return this[_0x3163d1(0x2ce)]['create'](_0x1d981b,_0x2c2907);},'createDecryptor':function(_0xdc6d91,_0xa434b2){var _0xb4e7a=_0x241ef2;return this[_0xb4e7a(0x8a)][_0xb4e7a(0xd1)](_0xdc6d91,_0xa434b2);},'init':function(_0x486060,_0x13619e){var _0x1fd2a7=_0x241ef2;this[_0x1fd2a7(0xff)]=_0x486060,this[_0x1fd2a7(0x295)]=_0x13619e;}}),_0x4e317a=_0x3f3077[_0x241ef2(0x398)]=(function(){var _0x5b3c0e=_0x241ef2,_0x39d2c1=_0x235381['extend']();_0x39d2c1['Encryptor']=_0x39d2c1[_0x5b3c0e(0x262)]({'processBlock':function(_0x379fb9,_0x53c318){var _0x3e910f=_0x5b3c0e,_0xc5c0c3=this[_0x3e910f(0xff)],_0x109ef4=_0xc5c0c3['blockSize'];_0x53a442['call'](this,_0x379fb9,_0x53c318,_0x109ef4),_0xc5c0c3[_0x3e910f(0x79)](_0x379fb9,_0x53c318),this['_prevBlock']=_0x379fb9[_0x3e910f(0x289)](_0x53c318,_0x53c318+_0x109ef4);}}),_0x39d2c1[_0x5b3c0e(0x8a)]=_0x39d2c1[_0x5b3c0e(0x262)]({'processBlock':function(_0x1b6259,_0x43214c){var _0x20bb26=_0x5b3c0e,_0x52f53e=this[_0x20bb26(0xff)],_0xb8c026=_0x52f53e[_0x20bb26(0x161)],_0xed581d=_0x1b6259['slice'](_0x43214c,_0x43214c+_0xb8c026);_0x52f53e[_0x20bb26(0x213)](_0x1b6259,_0x43214c),_0x53a442[_0x20bb26(0x1a7)](this,_0x1b6259,_0x43214c,_0xb8c026),this[_0x20bb26(0x2fb)]=_0xed581d;}});function _0x53a442(_0x3e49c0,_0x4e1ba0,_0x54753c){var _0x474058=_0x5b3c0e,_0x239c85,_0x1dbf76=this[_0x474058(0x295)];_0x1dbf76?(_0x239c85=_0x1dbf76,this[_0x474058(0x295)]=_0x4c3e1a):_0x239c85=this['_prevBlock'];for(var _0x5f3186=0x0;_0x5f3186<_0x54753c;_0x5f3186++)_0x3e49c0[_0x4e1ba0+_0x5f3186]^=_0x239c85[_0x5f3186];}return _0x39d2c1;}()),_0xefdbdb=_0x37822d['pad']={},_0x39dd82=_0xefdbdb['Pkcs7']={'pad':function(_0x4a5124,_0x1420fd){var _0x27b052=_0x241ef2;for(var _0x3d9f07=_0x1420fd*0x4,_0x139f04=_0x3d9f07-_0x4a5124[_0x27b052(0x3d9)]%_0x3d9f07,_0x27f28c=_0x139f04<<0x18|_0x139f04<<0x10|_0x139f04<<0x8|_0x139f04,_0x2ad862=[],_0x5ed607=0x0;_0x5ed607<_0x139f04;_0x5ed607+=0x4)_0x2ad862[_0x27b052(0x32d)](_0x27f28c);var _0xb79136=_0x5398d2[_0x27b052(0xd1)](_0x2ad862,_0x139f04);_0x4a5124[_0x27b052(0x342)](_0xb79136);},'unpad':function(_0x6a145b){var _0x2442df=_0x241ef2,_0x4894c1=_0x6a145b[_0x2442df(0x1a1)][_0x6a145b['sigBytes']-0x1>>>0x2]&0xff;_0x6a145b[_0x2442df(0x3d9)]-=_0x4894c1;}};_0x2b58ac[_0x241ef2(0x2a8)]=_0x463c7f[_0x241ef2(0x262)]({'cfg':_0x463c7f[_0x241ef2(0x9a)][_0x241ef2(0x262)]({'mode':_0x4e317a,'padding':_0x39dd82}),'reset':function(){var _0x4e7a9a=_0x241ef2,_0x44bda2;_0x463c7f[_0x4e7a9a(0x108)]['call'](this);var _0x53d83c=this[_0x4e7a9a(0x9a)],_0x3fc915=_0x53d83c['iv'],_0x3a9c00=_0x53d83c[_0x4e7a9a(0x1f8)];this[_0x4e7a9a(0x120)]==this['_ENC_XFORM_MODE']?_0x44bda2=_0x3a9c00[_0x4e7a9a(0x12b)]:(_0x44bda2=_0x3a9c00[_0x4e7a9a(0x26a)],this[_0x4e7a9a(0xd3)]=0x1),this[_0x4e7a9a(0x327)]&&this[_0x4e7a9a(0x327)][_0x4e7a9a(0x3ac)]==_0x44bda2?this[_0x4e7a9a(0x327)][_0x4e7a9a(0x112)](this,_0x3fc915&&_0x3fc915[_0x4e7a9a(0x1a1)]):(this[_0x4e7a9a(0x327)]=_0x44bda2[_0x4e7a9a(0x1a7)](_0x3a9c00,this,_0x3fc915&&_0x3fc915[_0x4e7a9a(0x1a1)]),this[_0x4e7a9a(0x327)][_0x4e7a9a(0x3ac)]=_0x44bda2);},'_doProcessBlock':function(_0x4ed421,_0x195ce1){var _0x49eda5=_0x241ef2;this[_0x49eda5(0x327)]['processBlock'](_0x4ed421,_0x195ce1);},'_doFinalize':function(){var _0xe126e1=_0x241ef2,_0x4f8391,_0x4e3f08=this[_0xe126e1(0x9a)][_0xe126e1(0x311)];return this[_0xe126e1(0x120)]==this[_0xe126e1(0x339)]?(_0x4e3f08[_0xe126e1(0x2ea)](this[_0xe126e1(0x33d)],this[_0xe126e1(0x161)]),_0x4f8391=this['_process'](!0x0)):(_0x4f8391=this['_process'](!0x0),_0x4e3f08[_0xe126e1(0x118)](_0x4f8391)),_0x4f8391;},'blockSize':0x80/0x20});var _0x1d7459=_0x2b58ac[_0x241ef2(0x197)]=_0x112620[_0x241ef2(0x262)]({'init':function(_0x450328){var _0x55db02=_0x241ef2;this[_0x55db02(0x19d)](_0x450328);},'toString':function(_0x51cd4b){var _0x327f52=_0x241ef2;return(_0x51cd4b||this[_0x327f52(0x3a4)])['stringify'](this);}}),_0x40f1b4=_0x37822d['format']={},_0x31819a=_0x40f1b4[_0x241ef2(0x23b)]={'stringify':function(_0x26dfcf){var _0x35fc56=_0x241ef2,_0x216bfd,_0x3dc8d6=_0x26dfcf[_0x35fc56(0x3c2)],_0x56e2c9=_0x26dfcf[_0x35fc56(0x2f1)];return _0x56e2c9?_0x216bfd=_0x5398d2['create']([0x53616c74,0x65645f5f])[_0x35fc56(0x342)](_0x56e2c9)[_0x35fc56(0x342)](_0x3dc8d6):_0x216bfd=_0x3dc8d6,_0x216bfd['toString'](_0x125702);},'parse':function(_0x5a52a9){var _0x3162f2=_0x241ef2,_0x45fb15,_0x295052=_0x125702[_0x3162f2(0x2e1)](_0x5a52a9),_0x402383=_0x295052[_0x3162f2(0x1a1)];return _0x402383[0x0]==0x53616c74&&_0x402383[0x1]==0x65645f5f&&(_0x45fb15=_0x5398d2['create'](_0x402383[_0x3162f2(0x289)](0x2,0x4)),_0x402383[_0x3162f2(0xbf)](0x0,0x4),_0x295052['sigBytes']-=0x10),_0x1d7459[_0x3162f2(0xd1)]({'ciphertext':_0x295052,'salt':_0x45fb15});}},_0x3ccc20=_0x2b58ac[_0x241ef2(0x3c8)]=_0x112620['extend']({'cfg':_0x112620[_0x241ef2(0x262)]({'format':_0x31819a}),'encrypt':function(_0x134548,_0x14fcba,_0x453c8f,_0x3184c2){var _0x49ec90=_0x241ef2;_0x3184c2=this[_0x49ec90(0x9a)][_0x49ec90(0x262)](_0x3184c2);var _0x3c0fbb=_0x134548[_0x49ec90(0x12b)](_0x453c8f,_0x3184c2),_0x2104e4=_0x3c0fbb[_0x49ec90(0x10a)](_0x14fcba),_0x3ecb4e=_0x3c0fbb[_0x49ec90(0x9a)];return _0x1d7459[_0x49ec90(0xd1)]({'ciphertext':_0x2104e4,'key':_0x453c8f,'iv':_0x3ecb4e['iv'],'algorithm':_0x134548,'mode':_0x3ecb4e['mode'],'padding':_0x3ecb4e[_0x49ec90(0x311)],'blockSize':_0x134548[_0x49ec90(0x161)],'formatter':_0x3184c2[_0x49ec90(0x138)]});},'decrypt':function(_0x5aeefc,_0x45423d,_0x4c0889,_0xdbaf12){var _0x356a0c=_0x241ef2;_0xdbaf12=this[_0x356a0c(0x9a)][_0x356a0c(0x262)](_0xdbaf12),_0x45423d=this[_0x356a0c(0x3aa)](_0x45423d,_0xdbaf12['format']);var _0x5094e3=_0x5aeefc[_0x356a0c(0x26a)](_0x4c0889,_0xdbaf12)[_0x356a0c(0x10a)](_0x45423d['ciphertext']);return _0x5094e3;},'_parse':function(_0x2475c2,_0x4305b4){var _0x3f67cd=_0x241ef2;return typeof _0x2475c2==_0x3f67cd(0x341)?_0x4305b4['parse'](_0x2475c2,this):_0x2475c2;}}),_0x49c107=_0x37822d['kdf']={},_0x21f92e=_0x49c107[_0x241ef2(0x23b)]={'execute':function(_0x2b7dae,_0x47adc2,_0x2b4540,_0x2ad38a,_0x4ff501){var _0x592f5f=_0x241ef2;if(_0x2ad38a||(_0x2ad38a=_0x5398d2[_0x592f5f(0x1c2)](0x40/0x8)),_0x4ff501)var _0x2d96d8=_0x5a4fa3[_0x592f5f(0xd1)]({'keySize':_0x47adc2+_0x2b4540,'hasher':_0x4ff501})[_0x592f5f(0x373)](_0x2b7dae,_0x2ad38a);else var _0x2d96d8=_0x5a4fa3[_0x592f5f(0xd1)]({'keySize':_0x47adc2+_0x2b4540})['compute'](_0x2b7dae,_0x2ad38a);var _0x2dc5ef=_0x5398d2['create'](_0x2d96d8[_0x592f5f(0x1a1)][_0x592f5f(0x289)](_0x47adc2),_0x2b4540*0x4);return _0x2d96d8['sigBytes']=_0x47adc2*0x4,_0x1d7459[_0x592f5f(0xd1)]({'key':_0x2d96d8,'iv':_0x2dc5ef,'salt':_0x2ad38a});}},_0x3739b7=_0x2b58ac['PasswordBasedCipher']=_0x3ccc20[_0x241ef2(0x262)]({'cfg':_0x3ccc20['cfg'][_0x241ef2(0x262)]({'kdf':_0x21f92e}),'encrypt':function(_0xdc6db8,_0x8c58af,_0x25d3e7,_0x3636a6){var _0x35031c=_0x241ef2;_0x3636a6=this[_0x35031c(0x9a)]['extend'](_0x3636a6);var _0x50f3c0=_0x3636a6[_0x35031c(0x37a)][_0x35031c(0x346)](_0x25d3e7,_0xdc6db8[_0x35031c(0x2b7)],_0xdc6db8['ivSize'],_0x3636a6[_0x35031c(0x2f1)],_0x3636a6[_0x35031c(0x109)]);_0x3636a6['iv']=_0x50f3c0['iv'];var _0x13e129=_0x3ccc20[_0x35031c(0xea)]['call'](this,_0xdc6db8,_0x8c58af,_0x50f3c0['key'],_0x3636a6);return _0x13e129[_0x35031c(0x19d)](_0x50f3c0),_0x13e129;},'decrypt':function(_0x3d9d4b,_0x5cf5fb,_0x223c5a,_0x3925d8){var _0x6fef9f=_0x241ef2;_0x3925d8=this[_0x6fef9f(0x9a)][_0x6fef9f(0x262)](_0x3925d8),_0x5cf5fb=this[_0x6fef9f(0x3aa)](_0x5cf5fb,_0x3925d8[_0x6fef9f(0x138)]);var _0x29b245=_0x3925d8[_0x6fef9f(0x37a)]['execute'](_0x223c5a,_0x3d9d4b['keySize'],_0x3d9d4b[_0x6fef9f(0x240)],_0x5cf5fb['salt'],_0x3925d8['hasher']);_0x3925d8['iv']=_0x29b245['iv'];var _0x507ed0=_0x3ccc20['decrypt'][_0x6fef9f(0x1a7)](this,_0x3d9d4b,_0x5cf5fb,_0x29b245['key'],_0x3925d8);return _0x507ed0;}});}();}));}(Te)),Te[_0x2de69d(0x1fa)];}var Ai=fe[_0x7a3069(0x1fa)],tt;function Pi(){var _0x3c328a=_0x7a3069;return tt||(tt=0x1,function(_0xada88c,_0xef6a9e){(function(_0x3eda95,_0x597ce2,_0x5da2d7){var _0x182acc=_0x2a39;_0xada88c[_0x182acc(0x1fa)]=_0x597ce2(Q(),Et(),bi(),Ct(),Tt());}(Ai,function(_0xdf4296){return(function(){var _0x4762b4=_0x2a39,_0x44b483=_0xdf4296,_0x44c00e=_0x44b483[_0x4762b4(0x22a)],_0x14a79e=_0x44c00e['BlockCipher'],_0x1250a7=_0x44b483[_0x4762b4(0x2ad)],_0x639c05=[],_0x4c667d=[],_0x53e274=[],_0x459aa2=[],_0x246d95=[],_0x5f3b46=[],_0x256cc5=[],_0x251a53=[],_0x1726c8=[],_0x1961de=[];(function(){for(var _0x30508e=[],_0x5d40d3=0x0;_0x5d40d3<0x100;_0x5d40d3++)_0x5d40d3<0x80?_0x30508e[_0x5d40d3]=_0x5d40d3<<0x1:_0x30508e[_0x5d40d3]=_0x5d40d3<<0x1^0x11b;for(var _0x1c5f8d=0x0,_0x57347e=0x0,_0x5d40d3=0x0;_0x5d40d3<0x100;_0x5d40d3++){var _0x25a307=_0x57347e^_0x57347e<<0x1^_0x57347e<<0x2^_0x57347e<<0x3^_0x57347e<<0x4;_0x25a307=_0x25a307>>>0x8^_0x25a307&0xff^0x63,_0x639c05[_0x1c5f8d]=_0x25a307,_0x4c667d[_0x25a307]=_0x1c5f8d;var _0x59cce8=_0x30508e[_0x1c5f8d],_0xd05960=_0x30508e[_0x59cce8],_0x4435c1=_0x30508e[_0xd05960],_0x60cd8e=_0x30508e[_0x25a307]*0x101^_0x25a307*0x1010100;_0x53e274[_0x1c5f8d]=_0x60cd8e<<0x18|_0x60cd8e>>>0x8,_0x459aa2[_0x1c5f8d]=_0x60cd8e<<0x10|_0x60cd8e>>>0x10,_0x246d95[_0x1c5f8d]=_0x60cd8e<<0x8|_0x60cd8e>>>0x18,_0x5f3b46[_0x1c5f8d]=_0x60cd8e;var _0x60cd8e=_0x4435c1*0x1010101^_0xd05960*0x10001^_0x59cce8*0x101^_0x1c5f8d*0x1010100;_0x256cc5[_0x25a307]=_0x60cd8e<<0x18|_0x60cd8e>>>0x8,_0x251a53[_0x25a307]=_0x60cd8e<<0x10|_0x60cd8e>>>0x10,_0x1726c8[_0x25a307]=_0x60cd8e<<0x8|_0x60cd8e>>>0x18,_0x1961de[_0x25a307]=_0x60cd8e,_0x1c5f8d?(_0x1c5f8d=_0x59cce8^_0x30508e[_0x30508e[_0x30508e[_0x4435c1^_0x59cce8]]],_0x57347e^=_0x30508e[_0x30508e[_0x57347e]]):_0x1c5f8d=_0x57347e=0x1;}}());var _0x3cae87=[0x0,0x1,0x2,0x4,0x8,0x10,0x20,0x40,0x80,0x1b,0x36],_0x4f3063=_0x1250a7[_0x4762b4(0x175)]=_0x14a79e['extend']({'_doReset':function(){var _0x2e0514=_0x4762b4,_0x1a9459;if(!(this[_0x2e0514(0xa5)]&&this[_0x2e0514(0x226)]===this[_0x2e0514(0x2d9)])){for(var _0x460f47=this[_0x2e0514(0x226)]=this[_0x2e0514(0x2d9)],_0x1fed47=_0x460f47['words'],_0x32ba6c=_0x460f47[_0x2e0514(0x3d9)]/0x4,_0x55fd62=this[_0x2e0514(0xa5)]=_0x32ba6c+0x6,_0x5610f7=(_0x55fd62+0x1)*0x4,_0x4b3501=this[_0x2e0514(0x2fe)]=[],_0x32a337=0x0;_0x32a337<_0x5610f7;_0x32a337++)_0x32a337<_0x32ba6c?_0x4b3501[_0x32a337]=_0x1fed47[_0x32a337]:(_0x1a9459=_0x4b3501[_0x32a337-0x1],_0x32a337%_0x32ba6c?_0x32ba6c>0x6&&_0x32a337%_0x32ba6c==0x4&&(_0x1a9459=_0x639c05[_0x1a9459>>>0x18]<<0x18|_0x639c05[_0x1a9459>>>0x10&0xff]<<0x10|_0x639c05[_0x1a9459>>>0x8&0xff]<<0x8|_0x639c05[_0x1a9459&0xff]):(_0x1a9459=_0x1a9459<<0x8|_0x1a9459>>>0x18,_0x1a9459=_0x639c05[_0x1a9459>>>0x18]<<0x18|_0x639c05[_0x1a9459>>>0x10&0xff]<<0x10|_0x639c05[_0x1a9459>>>0x8&0xff]<<0x8|_0x639c05[_0x1a9459&0xff],_0x1a9459^=_0x3cae87[_0x32a337/_0x32ba6c|0x0]<<0x18),_0x4b3501[_0x32a337]=_0x4b3501[_0x32a337-_0x32ba6c]^_0x1a9459);for(var _0x284313=this['_invKeySchedule']=[],_0x54855b=0x0;_0x54855b<_0x5610f7;_0x54855b++){var _0x32a337=_0x5610f7-_0x54855b;if(_0x54855b%0x4)var _0x1a9459=_0x4b3501[_0x32a337];else var _0x1a9459=_0x4b3501[_0x32a337-0x4];_0x54855b<0x4||_0x32a337<=0x4?_0x284313[_0x54855b]=_0x1a9459:_0x284313[_0x54855b]=_0x256cc5[_0x639c05[_0x1a9459>>>0x18]]^_0x251a53[_0x639c05[_0x1a9459>>>0x10&0xff]]^_0x1726c8[_0x639c05[_0x1a9459>>>0x8&0xff]]^_0x1961de[_0x639c05[_0x1a9459&0xff]];}}},'encryptBlock':function(_0x529be0,_0x578bfa){var _0x18d441=_0x4762b4;this['_doCryptBlock'](_0x529be0,_0x578bfa,this[_0x18d441(0x2fe)],_0x53e274,_0x459aa2,_0x246d95,_0x5f3b46,_0x639c05);},'decryptBlock':function(_0x3dc559,_0x27b9c5){var _0xab972c=_0x4762b4,_0x3c33ea=_0x3dc559[_0x27b9c5+0x1];_0x3dc559[_0x27b9c5+0x1]=_0x3dc559[_0x27b9c5+0x3],_0x3dc559[_0x27b9c5+0x3]=_0x3c33ea,this[_0xab972c(0x30b)](_0x3dc559,_0x27b9c5,this['_invKeySchedule'],_0x256cc5,_0x251a53,_0x1726c8,_0x1961de,_0x4c667d);var _0x3c33ea=_0x3dc559[_0x27b9c5+0x1];_0x3dc559[_0x27b9c5+0x1]=_0x3dc559[_0x27b9c5+0x3],_0x3dc559[_0x27b9c5+0x3]=_0x3c33ea;},'_doCryptBlock':function(_0x512bbc,_0x8d29b5,_0xdf47c1,_0x129fc0,_0x3ffbbb,_0x49d795,_0x61deba,_0x1d9a85){for(var _0x5b4480=this['_nRounds'],_0x569d3a=_0x512bbc[_0x8d29b5]^_0xdf47c1[0x0],_0xdbf456=_0x512bbc[_0x8d29b5+0x1]^_0xdf47c1[0x1],_0x404cf0=_0x512bbc[_0x8d29b5+0x2]^_0xdf47c1[0x2],_0x131586=_0x512bbc[_0x8d29b5+0x3]^_0xdf47c1[0x3],_0x1a23bd=0x4,_0x28929c=0x1;_0x28929c<_0x5b4480;_0x28929c++){var _0x562310=_0x129fc0[_0x569d3a>>>0x18]^_0x3ffbbb[_0xdbf456>>>0x10&0xff]^_0x49d795[_0x404cf0>>>0x8&0xff]^_0x61deba[_0x131586&0xff]^_0xdf47c1[_0x1a23bd++],_0x464296=_0x129fc0[_0xdbf456>>>0x18]^_0x3ffbbb[_0x404cf0>>>0x10&0xff]^_0x49d795[_0x131586>>>0x8&0xff]^_0x61deba[_0x569d3a&0xff]^_0xdf47c1[_0x1a23bd++],_0x484401=_0x129fc0[_0x404cf0>>>0x18]^_0x3ffbbb[_0x131586>>>0x10&0xff]^_0x49d795[_0x569d3a>>>0x8&0xff]^_0x61deba[_0xdbf456&0xff]^_0xdf47c1[_0x1a23bd++],_0x23c410=_0x129fc0[_0x131586>>>0x18]^_0x3ffbbb[_0x569d3a>>>0x10&0xff]^_0x49d795[_0xdbf456>>>0x8&0xff]^_0x61deba[_0x404cf0&0xff]^_0xdf47c1[_0x1a23bd++];_0x569d3a=_0x562310,_0xdbf456=_0x464296,_0x404cf0=_0x484401,_0x131586=_0x23c410;}var _0x562310=(_0x1d9a85[_0x569d3a>>>0x18]<<0x18|_0x1d9a85[_0xdbf456>>>0x10&0xff]<<0x10|_0x1d9a85[_0x404cf0>>>0x8&0xff]<<0x8|_0x1d9a85[_0x131586&0xff])^_0xdf47c1[_0x1a23bd++],_0x464296=(_0x1d9a85[_0xdbf456>>>0x18]<<0x18|_0x1d9a85[_0x404cf0>>>0x10&0xff]<<0x10|_0x1d9a85[_0x131586>>>0x8&0xff]<<0x8|_0x1d9a85[_0x569d3a&0xff])^_0xdf47c1[_0x1a23bd++],_0x484401=(_0x1d9a85[_0x404cf0>>>0x18]<<0x18|_0x1d9a85[_0x131586>>>0x10&0xff]<<0x10|_0x1d9a85[_0x569d3a>>>0x8&0xff]<<0x8|_0x1d9a85[_0xdbf456&0xff])^_0xdf47c1[_0x1a23bd++],_0x23c410=(_0x1d9a85[_0x131586>>>0x18]<<0x18|_0x1d9a85[_0x569d3a>>>0x10&0xff]<<0x10|_0x1d9a85[_0xdbf456>>>0x8&0xff]<<0x8|_0x1d9a85[_0x404cf0&0xff])^_0xdf47c1[_0x1a23bd++];_0x512bbc[_0x8d29b5]=_0x562310,_0x512bbc[_0x8d29b5+0x1]=_0x464296,_0x512bbc[_0x8d29b5+0x2]=_0x484401,_0x512bbc[_0x8d29b5+0x3]=_0x23c410;},'keySize':0x100/0x20});_0x44b483[_0x4762b4(0x175)]=_0x14a79e[_0x4762b4(0x140)](_0x4f3063);}()),_0xdf4296['AES'];}));}(fe)),fe[_0x3c328a(0x1fa)];}var wi=Pi();const Mi=ve(wi);var Li=Et();const it=ve(Li);var be={'exports':{}},xi=be[_0x7a3069(0x1fa)],nt;function ki(){var _0xaa4207=_0x7a3069;return nt||(nt=0x1,function(_0x92b49,_0x586eff){(function(_0x39f5ae,_0x4d5781){var _0x1456f9=_0x2a39;_0x92b49[_0x1456f9(0x1fa)]=_0x4d5781(Q());}(xi,function(_0x93ca4f){var _0x4183a5=_0x2a39;return _0x93ca4f[_0x4183a5(0x30a)]['Utf8'];}));}(be)),be[_0xaa4207(0x1fa)];}var $i=ki();const Hi=ve($i);var Oe={'exports':{}},ji=Oe[_0x7a3069(0x1fa)],rt;function Bi(){var _0x339e86=_0x7a3069;return rt||(rt=0x1,function(_0x5b4976,_0x8930f3){(function(_0x345c73,_0x2092e3){var _0x37a509=_0x2a39;_0x5b4976[_0x37a509(0x1fa)]=_0x2092e3(Q());}(ji,function(_0x1649dd){var _0x7fa713=_0x2a39;return(function(){var _0x455c87=_0x2a39;if(typeof ArrayBuffer==_0x455c87(0x28d)){var _0x4662bd=_0x1649dd,_0x3b4d3c=_0x4662bd[_0x455c87(0x22a)],_0x2753d3=_0x3b4d3c[_0x455c87(0x35e)],_0x558f3f=_0x2753d3[_0x455c87(0x112)],_0x4b3bba=_0x2753d3[_0x455c87(0x112)]=function(_0x50df0e){var _0x1e1f8e=_0x455c87;if(_0x50df0e instanceof ArrayBuffer&&(_0x50df0e=new Uint8Array(_0x50df0e)),(_0x50df0e instanceof Int8Array||typeof Uint8ClampedArray<'u'&&_0x50df0e instanceof Uint8ClampedArray||_0x50df0e instanceof Int16Array||_0x50df0e instanceof Uint16Array||_0x50df0e instanceof Int32Array||_0x50df0e instanceof Uint32Array||_0x50df0e instanceof Float32Array||_0x50df0e instanceof Float64Array)&&(_0x50df0e=new Uint8Array(_0x50df0e[_0x1e1f8e(0x128)],_0x50df0e['byteOffset'],_0x50df0e[_0x1e1f8e(0x106)])),_0x50df0e instanceof Uint8Array){for(var _0x3e9bfa=_0x50df0e[_0x1e1f8e(0x106)],_0x4b4403=[],_0x55d530=0x0;_0x55d530<_0x3e9bfa;_0x55d530++)_0x4b4403[_0x55d530>>>0x2]|=_0x50df0e[_0x55d530]<<0x18-_0x55d530%0x4*0x8;_0x558f3f[_0x1e1f8e(0x1a7)](this,_0x4b4403,_0x3e9bfa);}else _0x558f3f[_0x1e1f8e(0x10f)](this,arguments);};_0x4b3bba[_0x455c87(0xa7)]=_0x2753d3;}}()),_0x1649dd[_0x7fa713(0x22a)][_0x7fa713(0x35e)];}));}(Oe)),Oe[_0x339e86(0x1fa)];}var Fi=Bi();const Vi=ve(Fi);var Re={'exports':{}},Wi=Re[_0x7a3069(0x1fa)],st;function Gi(){var _0x42d4b8=_0x7a3069;return st||(st=0x1,function(_0x49d696,_0x4db163){(function(_0x1b9776,_0xe1d7d4,_0x172f76){var _0x22272d=_0x2a39;_0x49d696[_0x22272d(0x1fa)]=_0xe1d7d4(Q(),Tt());}(Wi,function(_0x3b78f3){var _0x29f787=_0x2a39;return _0x3b78f3[_0x29f787(0x2ea)][_0x29f787(0x2ff)]={'pad':function(){},'unpad':function(){}},_0x3b78f3[_0x29f787(0x2ea)][_0x29f787(0x2ff)];}));}(Re)),Re[_0x42d4b8(0x1fa)];}var Yi=Gi();const qi=ve(Yi);function Ki(_0x23a82e,_0x560a35){var _0x2287c0=_0x7a3069;const _0x19754=_0x560a35-_0x23a82e[_0x2287c0(0x324)]%_0x560a35,_0x2bc6d2=String[_0x2287c0(0x1b2)](_0x19754)[_0x2287c0(0x218)](_0x19754);return _0x23a82e+_0x2bc6d2;}function zi(_0x74dd13,_0x451c79){var _0x2a16c4=_0x7a3069;const _0x3ce96e=Vi[_0x2a16c4(0x1c2)](0x10),_0x40f8a9=Ki(_0x74dd13,0x10),_0x2c5c9f=Mi[_0x2a16c4(0xea)](Hi[_0x2a16c4(0x2e1)](_0x40f8a9),it[_0x2a16c4(0x2e1)](_0x451c79),{'iv':_0x3ce96e,'padding':qi});return _0x3ce96e[_0x2a16c4(0x342)](_0x2c5c9f[_0x2a16c4(0x3c2)])['toString'](it);}function Ji(){var _0x4b312e=_0x7a3069;const _0x3b9298=yt[_0x4b312e(0x27d)]()[_0x4b312e(0xd9)];if(_0x3b9298){const _0x3931c9={'time':Math['floor'](Date[_0x4b312e(0x37b)]()/0x3e8),'domain':location[_0x4b312e(0xae)]};return zi(JSON[_0x4b312e(0x28e)](_0x3931c9),_0x3b9298);}}var Xi=Object['getOwnPropertyDescriptor'],Zi=(_0xfa41a2,_0x481d3c,_0x2a15dd,_0x4d2662)=>{var _0x417556=_0x7a3069;for(var _0x55f5e4=_0x4d2662>0x1?void 0x0:_0x4d2662?Xi(_0x481d3c,_0x2a15dd):_0x481d3c,_0x171fe4=_0xfa41a2[_0x417556(0x324)]-0x1,_0x2aba65;_0x171fe4>=0x0;_0x171fe4--)(_0x2aba65=_0xfa41a2[_0x171fe4])&&(_0x55f5e4=_0x2aba65(_0x55f5e4)||_0x55f5e4);return _0x55f5e4;},Qi=(_0x36e283,_0x4fe9fe)=>(_0x123f08,_0x35591d)=>_0x4fe9fe(_0x123f08,_0x35591d,_0x36e283);let Ne=class{constructor(_0x4a63d9){var _0x241f87=_0x7a3069;this[_0x241f87(0x2a6)]=_0x4a63d9,this[_0x241f87(0x2f4)]();}[_0x7a3069(0x2f4)](){var _0x2ca251=_0x7a3069;this[_0x2ca251(0x2a6)][_0x2ca251(0x2de)]({'interceptor':(_0x503188,_0xaa7627)=>{var _0x215310=_0x2ca251;const _0x277922=_0x503188[_0x215310(0x29c)],_0x1bad3b=Ji();return _0x1bad3b&&_0x277922['set']('x-univer-host',_0x1bad3b),_0xaa7627(_0x503188);}});}};Ne=Zi([Qi(0x0,a[_0x7a3069(0x208)](q[_0x7a3069(0x1f1)]))],Ne);var en=Object[_0x7a3069(0x23e)],tn=(_0x5b83c5,_0x24b86f,_0x233a25,_0x55016e)=>{var _0x35d4b3=_0x7a3069;for(var _0x40433e=_0x55016e>0x1?void 0x0:_0x55016e?en(_0x24b86f,_0x233a25):_0x24b86f,_0x22f714=_0x5b83c5[_0x35d4b3(0x324)]-0x1,_0x585f5b;_0x22f714>=0x0;_0x22f714--)(_0x585f5b=_0x5b83c5[_0x22f714])&&(_0x40433e=_0x585f5b(_0x40433e)||_0x40433e);return _0x40433e;},we=(_0x4d69a6,_0x2ddaa2)=>(_0x244887,_0x1c6973)=>_0x2ddaa2(_0x244887,_0x1c6973,_0x4d69a6);exports[_0x7a3069(0x211)]=class extends a['RxDisposable']{constructor(_0x25d829,_0x3a7eea,_0x165aaf){var _0x40775e=_0x7a3069;super(),A(this,_0x40775e(0x360),new H[(_0x40775e(0x292))](null)),A(this,_0x40775e(0x1c9),this[_0x40775e(0x360)][_0x40775e(0xa9)]()),(this[_0x40775e(0x393)]=_0x25d829,this[_0x40775e(0x34a)]=_0x3a7eea,this[_0x40775e(0xe8)]=_0x165aaf);}async[_0x7a3069(0x19f)](_0x1a3328,_0x24a302,_0x30b299){var _0x2634d0=_0x7a3069;this[_0x2634d0(0x360)][_0x2634d0(0x39c)]({'unitId':_0x1a3328,'type':_0x24a302});let _0x37eeae=null;switch(_0x24a302){case J[_0x2634d0(0x32a)]:{_0x37eeae=await this[_0x2634d0(0x34a)][_0x2634d0(0x299)](_0x1a3328,_0x30b299);break;}case J[_0x2634d0(0x1bf)]:{_0x37eeae=await this[_0x2634d0(0x34a)][_0x2634d0(0x245)](_0x1a3328,_0x30b299);break;}default:{this['_logService']['error'](_0x2634d0(0x27e),_0x2634d0(0x291));break;}}return _0x37eeae;}async[_0x7a3069(0x14d)](_0x14af8b,_0x38aef0,_0x23c74a){var _0x3479f6=_0x7a3069,_0x2a3709;this['_unitInfo$'][_0x3479f6(0x39c)]({'unitId':_0x14af8b,'type':_0x38aef0,'subUnitId':_0x23c74a});let _0x560248=0x0;const _0x295f4c=await((_0x2a3709=this['_localCacheService'])==null?void 0x0:_0x2a3709[_0x3479f6(0x1e9)](_0x14af8b));return _0x295f4c&&(_0x295f4c['awaitingChangeset']||_0x295f4c[_0x3479f6(0x18e)][_0x3479f6(0x324)]!==0x0)&&(_0x560248=_0x295f4c[_0x3479f6(0x25c)]),_0x560248===0x0&&this[_0x3479f6(0x393)]['debug'](_0x3479f6(0x27e),_0x3479f6(0xf6)),this[_0x3479f6(0x19f)](_0x14af8b,_0x38aef0,_0x560248);}},exports[_0x7a3069(0x211)]=tn([we(0x0,a[_0x7a3069(0x9e)]),we(0x1,a[_0x7a3069(0x208)](p[_0x7a3069(0x3ae)])),we(0x2,a[_0x7a3069(0x1e4)](K))],exports[_0x7a3069(0x211)]);var nn=Object[_0x7a3069(0x23e)],rn=(_0x1ece2a,_0x506b15,_0x3b522e,_0x4109f6)=>{var _0x14db53=_0x7a3069;for(var _0x247cc4=_0x4109f6>0x1?void 0x0:_0x4109f6?nn(_0x506b15,_0x3b522e):_0x506b15,_0x1a1061=_0x1ece2a[_0x14db53(0x324)]-0x1,_0x4548a0;_0x1a1061>=0x0;_0x1a1061--)(_0x4548a0=_0x1ece2a[_0x1a1061])&&(_0x247cc4=_0x4548a0(_0x247cc4)||_0x247cc4);return _0x247cc4;},Me=(_0x5d5b11,_0x335a9d)=>(_0x207ca2,_0x33c8d5)=>_0x335a9d(_0x207ca2,_0x33c8d5,_0x5d5b11);const sn=[_0x7a3069(0x224),_0x7a3069(0x13f),'image/jpg',_0x7a3069(0x2ca),_0x7a3069(0x3cf)],on=0x5*0x400*0x400,an='/universer-api/stream/file/upload',cn=_0x7a3069(0x222);exports[_0x7a3069(0x159)]=class{constructor(_0xad647,_0x4f500b,_0x583608){var _0x4ca03a=_0x7a3069;A(this,_0x4ca03a(0x16e),0x0),A(this,'_change$',new H[(_0x4ca03a(0x2cd))]()),A(this,'change$',this[_0x4ca03a(0x11c)]),A(this,_0x4ca03a(0x36f),new Map()),(this['_httpService']=_0xad647,this[_0x4ca03a(0x21c)]=_0x4f500b,this[_0x4ca03a(0x2e6)]=_0x583608);}['setWaitCount'](_0x481ee6){var _0x54b37a=_0x7a3069;this[_0x54b37a(0x16e)]=_0x481ee6,this[_0x54b37a(0x11c)][_0x54b37a(0x39c)](_0x481ee6);}[_0x7a3069(0x253)](_0x4a1da9,_0x11d726){var _0x28e01a=_0x7a3069;if(_0x11d726===z['ImageSourceType'][_0x28e01a(0xfd)]){const _0x28331d=new Image();return _0x28331d['src']=_0x4a1da9,_0x28331d;}return this[_0x28e01a(0x36f)][_0x28e01a(0x36a)](_0x4a1da9);}[_0x7a3069(0x2af)](_0x606f0e,_0x5addee,_0x331fa7){var _0x1b1352=_0x7a3069;_0x5addee===z[_0x1b1352(0x337)][_0x1b1352(0xfd)]||_0x331fa7==null||this[_0x1b1352(0x36f)][_0x1b1352(0x1cc)](_0x606f0e,_0x331fa7);}async['getImage'](_0x47f6c5){var _0x2132df=_0x7a3069;try{const _0x236cdb=this[_0x2132df(0x157)](this['_getSignURL'](),''+_0x47f6c5),_0x25edde=(await this[_0x2132df(0x2a6)][_0x2132df(0x36a)](_0x236cdb))[_0x2132df(0x1c6)];if(_0x25edde[_0x2132df(0x331)]&&_0x25edde[_0x2132df(0x331)][_0x2132df(0xef)]===dt['OK']){const _0x7022e4=new URL(_0x25edde['url'],this[_0x2132df(0x39a)]())[_0x2132df(0x1c3)]();return Promise['resolve'](_0x7022e4);}return Promise['reject'](_0x25edde[_0x2132df(0x331)]);}catch(_0x202d56){return Promise[_0x2132df(0x1b7)](_0x202d56);}}async[_0x7a3069(0x1fc)](_0x54bf90){var _0x42a887=_0x7a3069;let _0x416c0e='';if(!sn['includes'](_0x54bf90['type']))return this['_decreaseWaiting'](),Promise['reject'](new Error(z[_0x42a887(0x3b3)][_0x42a887(0xb4)]));if(_0x54bf90[_0x42a887(0x2f6)]>on)return this[_0x42a887(0x11a)](),Promise['reject'](new Error(z[_0x42a887(0x3b3)]['ERROR_EXCEED_SIZE']));try{const _0xbf874f=new FormData();_0xbf874f[_0x42a887(0x3e2)](_0x42a887(0x293),_0x54bf90);const _0x4065cd=this[_0x42a887(0x2e6)]['getFocusedUnit'](),_0x2748c3=_0x4065cd==null?void 0x0:_0x4065cd[_0x42a887(0x312)]();if(!_0x2748c3)throw new Error(_0x42a887(0x2c4));const _0x3676ce=this[_0x42a887(0x1f0)]()+_0x42a887(0x153)+_0x54bf90[_0x42a887(0x2f6)][_0x42a887(0x1c3)]()+_0x42a887(0x261)+vt[_0x42a887(0x29a)]+_0x42a887(0x24d)+encodeURIComponent(_0x2748c3),_0x4926c4={'body':_0xbf874f},_0x2c77e9=(await this['_httpService'][_0x42a887(0x1ff)](_0x3676ce,_0x4926c4))[_0x42a887(0x1c6)];if(typeof _0x2c77e9[_0x42a887(0x7f)]!='string')return this[_0x42a887(0x11a)](),Promise[_0x42a887(0x1b7)](new Error(z[_0x42a887(0x3b3)][_0x42a887(0xee)]));_0x416c0e=_0x2c77e9[_0x42a887(0x7f)];}catch{return this[_0x42a887(0x11a)](),Promise[_0x42a887(0x1b7)](new Error(z['ImageUploadStatusType'][_0x42a887(0xee)]));}return new Promise((_0x2c2007,_0x5acf9c)=>{var _0x554bb4=_0x42a887;const _0x2eeacd=new FileReader();_0x2eeacd[_0x554bb4(0x219)](_0x54bf90),_0x2eeacd['onload']=_0x38587c=>{var _0x248055=_0x554bb4,_0x153c40;const _0x92af02=(_0x153c40=_0x38587c[_0x248055(0x2cc)])==null?void 0x0:_0x153c40['result'];if(_0x92af02==null){this[_0x248055(0x11a)](),_0x5acf9c(new Error(z[_0x248055(0x3b3)][_0x248055(0xee)]));return;}const _0x2a2576=a[_0x248055(0x2b6)](0x6);_0x2c2007({'imageId':_0x2a2576,'imageSourceType':z[_0x248055(0x337)][_0x248055(0xd7)],'source':_0x416c0e,'base64Cache':_0x92af02,'status':z['ImageUploadStatusType']['SUCCUSS']}),this[_0x248055(0x11a)]();};});}[_0x7a3069(0x1f0)](){var _0x465194=_0x7a3069,_0x1531a3;const _0xcf1a76=this['_configService'][_0x465194(0x2e7)](Y);return(_0x1531a3=_0xcf1a76==null?void 0x0:_0xcf1a76[_0x465194(0x116)])!=null?_0x1531a3:an;}[_0x7a3069(0xbd)](){var _0x13e0dc=_0x7a3069,_0x32eafe;const _0x3f219c=this[_0x13e0dc(0x21c)]['getConfig'](Y);return(_0x32eafe=_0x3f219c==null?void 0x0:_0x3f219c[_0x13e0dc(0x3dc)])!=null?_0x32eafe:cn;}[_0x7a3069(0x39a)](){var _0x5102ac=_0x7a3069,_0x1b8fc3;const _0x41efa8=this[_0x5102ac(0x21c)][_0x5102ac(0x2e7)](Y);return(_0x1b8fc3=_0x41efa8==null?void 0x0:_0x41efa8[_0x5102ac(0x86)])!=null?_0x1b8fc3:location[_0x5102ac(0x90)];}[_0x7a3069(0x157)](_0x18064c,_0x3dc831){var _0x3b50cd=_0x7a3069;return _0x18064c[_0x3b50cd(0x25d)]('{fileID}',_0x3dc831);}['_decreaseWaiting'](){var _0x2b3901=_0x7a3069;this[_0x2b3901(0x16e)]-=0x1,this[_0x2b3901(0x11c)][_0x2b3901(0x39c)](this[_0x2b3901(0x16e)]);}},exports[_0x7a3069(0x159)]=rn([Me(0x0,a[_0x7a3069(0x208)](q['HTTPService'])),Me(0x1,a[_0x7a3069(0x183)]),Me(0x2,a[_0x7a3069(0x208)](a['IUniverInstanceService']))],exports[_0x7a3069(0x159)]);var hn=Object[_0x7a3069(0x23e)],_n=(_0x2e8905,_0x30871c,_0x2cd990,_0x587270)=>{for(var _0x1a1ba8=_0x587270>0x1?void 0x0:_0x587270?hn(_0x30871c,_0x2cd990):_0x30871c,_0x4460af=_0x2e8905['length']-0x1,_0x478cb4;_0x4460af>=0x0;_0x4460af--)(_0x478cb4=_0x2e8905[_0x4460af])&&(_0x1a1ba8=_0x478cb4(_0x1a1ba8)||_0x1a1ba8);return _0x1a1ba8;},ot=(_0x5d14c0,_0x5e07ca)=>(_0x484729,_0x3e48ff)=>_0x5e07ca(_0x484729,_0x3e48ff,_0x5d14c0);const ln=_0x7a3069(0x103);exports[_0x7a3069(0x39f)]=class{constructor(_0x4550a2,_0x5edcf3){var _0x3f6075=_0x7a3069;this['_configService']=_0x4550a2,this[_0x3f6075(0x191)]=_0x5edcf3;}[_0x7a3069(0x38c)](){var _0x2a9ff=_0x7a3069,_0x1fb9b5;const _0x485b4d=this[_0x2a9ff(0x21c)][_0x2a9ff(0x2e7)](Y);return(_0x1fb9b5=_0x485b4d==null?void 0x0:_0x485b4d[_0x2a9ff(0x2e9)])!=null?_0x1fb9b5:ln;}async[_0x7a3069(0x12f)](_0x6464e5){var _0x4dd147=_0x7a3069;const _0x4674b6=this[_0x4dd147(0x38c)]()+'/collaborator';return{'list':[{'title':_0x4dd147(0x125),'mentions':(await this['_HTTPService'][_0x4dd147(0x36a)](_0x4674b6,{'params':{'objectID':_0x6464e5[_0x4dd147(0x3bd)],'unitID':_0x6464e5['unitId']}}))['body'][_0x4dd147(0x2d3)]['map'](_0x40bfb1=>({'objectId':_0x40bfb1['id'],'name':_0x40bfb1[_0x4dd147(0x18b)][_0x4dd147(0xa4)],'metadata':{'icon':_0x40bfb1[_0x4dd147(0x18b)]['avatar']},'label':_0x40bfb1[_0x4dd147(0x18b)][_0x4dd147(0xa4)],'objectType':a[_0x4dd147(0x27b)][_0x4dd147(0x345)]})),'metadata':{},'type':a[_0x4dd147(0x27b)]['PERSON']}]};}},exports[_0x7a3069(0x39f)]=_n([ot(0x0,a[_0x7a3069(0x208)](a[_0x7a3069(0x183)])),ot(0x1,a[_0x7a3069(0x208)](q[_0x7a3069(0x1f1)]))],exports[_0x7a3069(0x39f)]);var un=Object['getOwnPropertyDescriptor'],dn=(_0x3ce514,_0x3dcd70,_0xf75473,_0x186189)=>{var _0x348d04=_0x7a3069;for(var _0x5372ff=_0x186189>0x1?void 0x0:_0x186189?un(_0x3dcd70,_0xf75473):_0x3dcd70,_0x338d92=_0x3ce514[_0x348d04(0x324)]-0x1,_0x445e45;_0x338d92>=0x0;_0x338d92--)(_0x445e45=_0x3ce514[_0x338d92])&&(_0x5372ff=_0x445e45(_0x5372ff)||_0x5372ff);return _0x5372ff;},le=(_0x55dfd7,_0xb22346)=>(_0x3bed1f,_0x47ce44)=>_0xb22346(_0x3bed1f,_0x47ce44,_0x55dfd7);let De=class extends a['RxDisposable']{constructor(_0x42b7b7,_0x2f22bc,_0x4f9c2b,_0x5503cb,_0x3167ff){var _0x1e11b7=_0x7a3069;super(),this['_injector']=_0x42b7b7,this[_0x1e11b7(0x2e6)]=_0x2f22bc,this[_0x1e11b7(0x1fb)]=_0x4f9c2b,this['_collaborationSessionService']=_0x5503cb,this[_0x1e11b7(0x388)]=_0x3167ff,this[_0x1e11b7(0x314)](),this[_0x1e11b7(0x171)]();}[_0x7a3069(0x171)](){var _0x2a2047=_0x7a3069;const _0x410059=async _0x35698a=>{var _0x12c369=_0x2a39;(await this[_0x12c369(0x382)]['requireSession'](_0x35698a))[_0x12c369(0x15d)][_0x12c369(0x98)](V[_0x12c369(0x369)](_0x50e929=>_0x50e929['eventID']===p[_0x12c369(0x278)][_0x12c369(0x199)]),V[_0x12c369(0x2db)](this[_0x12c369(0x391)]))[_0x12c369(0x22c)](_0x1eb70e=>{var _0x4c472f=_0x12c369;const _0x15c058=_0x1eb70e,{reason:_0x2b3e29}=_0x15c058[_0x4c472f(0x1c0)];this['_collaborationUIEventService'][_0x4c472f(0xe2)]({'id':Z[_0x4c472f(0x78)],'data':_0x2b3e29}),this[_0x4c472f(0x1fb)][_0x4c472f(0x127)](new X[(_0x4c472f(0x3c3))](_0x35698a)['id'],!0x1),this[_0x4c472f(0x382)][_0x4c472f(0xb9)](_0x35698a);});};H[_0x2a2047(0x1b9)](this[_0x2a2047(0x2e6)][_0x2a2047(0x313)](a['UniverInstanceType'][_0x2a2047(0x32a)]),this[_0x2a2047(0x2e6)][_0x2a2047(0x313)](a[_0x2a2047(0x1f2)][_0x2a2047(0x1bf)]))[_0x2a2047(0x98)](V[_0x2a2047(0x374)](_0x143700=>_0x143700[_0x2a2047(0x312)]()),V['filter'](_0x3ec764=>!a[_0x2a2047(0x33b)](_0x3ec764)),V[_0x2a2047(0x2db)](this[_0x2a2047(0x391)]))[_0x2a2047(0x22c)](_0x319780=>{_0x410059(_0x319780);});}[_0x7a3069(0x314)](){var _0x2c6c45=_0x7a3069;const _0x115262=async _0x5187ba=>{var _0x53e28d=_0x2a39;const _0x4dc647=await this[_0x53e28d(0x382)][_0x53e28d(0xb3)](_0x5187ba),_0x48623d=this[_0x53e28d(0x33a)][_0x53e28d(0x36a)](X['SheetPermissionInitController']);_0x4dc647[_0x53e28d(0x15d)][_0x53e28d(0x98)](V[_0x53e28d(0x369)](_0x32790b=>_0x32790b[_0x53e28d(0x2a9)]===p['CollaborationEvent'][_0x53e28d(0x26f)]),V[_0x53e28d(0x2db)](this['dispose$']))['subscribe'](_0x3e2ab1=>{var _0x39b43c=_0x53e28d;const _0x1aa9ca=_0x3e2ab1,{objectId:_0x166671}=_0x1aa9ca[_0x39b43c(0x1c0)];_0x166671===_0x5187ba?_0x48623d[_0x39b43c(0x2fc)](_0x5187ba):_0x48623d['refreshPermission'](_0x5187ba,_0x166671);});};H['merge'](this[_0x2c6c45(0x2e6)][_0x2c6c45(0x313)](a[_0x2c6c45(0x1f2)][_0x2c6c45(0x32a)]))[_0x2c6c45(0x98)](V[_0x2c6c45(0x374)](_0x3a292d=>_0x3a292d['getUnitId']()),V[_0x2c6c45(0x369)](_0x4562a5=>!a[_0x2c6c45(0x33b)](_0x4562a5)),V[_0x2c6c45(0x2db)](this[_0x2c6c45(0x391)]))[_0x2c6c45(0x22c)](_0xb24630=>{_0x115262(_0xb24630);});}};De=dn([le(0x0,a[_0x7a3069(0x208)](a['Injector'])),le(0x1,a[_0x7a3069(0x30d)]),le(0x2,a[_0x7a3069(0x202)]),le(0x3,a[_0x7a3069(0x208)](exports['CollaborationSessionService'])),le(0x4,a['Inject'](ee))],De);var vn=Object[_0x7a3069(0x23e)],Sn=(_0x3fba66,_0x5e132d,_0x15708a,_0x2cf619)=>{var _0x256cb9=_0x7a3069;for(var _0x5615a3=_0x2cf619>0x1?void 0x0:_0x2cf619?vn(_0x5e132d,_0x15708a):_0x5e132d,_0x290785=_0x3fba66[_0x256cb9(0x324)]-0x1,_0x24303b;_0x290785>=0x0;_0x290785--)(_0x24303b=_0x3fba66[_0x290785])&&(_0x5615a3=_0x24303b(_0x5615a3)||_0x5615a3);return _0x5615a3;},at=(_0x306e01,_0x4818fd)=>(_0x357e46,_0x18954c)=>_0x4818fd(_0x357e46,_0x18954c,_0x306e01);exports[_0x7a3069(0x117)]=class{constructor(_0x7d67fe,_0x1d67de){var _0x13945d=_0x7a3069;this['_configService']=_0x7d67fe,this[_0x13945d(0x2a6)]=_0x1d67de;}async[_0x7a3069(0x3b0)](_0x332d6d,_0x5594e0){var _0x4bba31=_0x7a3069,_0x3cff55;const {unitID:_0x1def74,type:_0x4c001e,revision:_0x3e8704=0x0}=_0x5594e0,_0x309463=this[_0x4bba31(0x1ad)]()+'/'+_0x4c001e+'/unit/'+_0x1def74+'/rev/'+_0x3e8704,_0x1e7109=(await this[_0x4bba31(0x2a6)][_0x4bba31(0x36a)](_0x309463))['body'],_0x5ddedb=(_0x3cff55=_0x1e7109[_0x4bba31(0x232)])==null?void 0x0:_0x3cff55[_0x4bba31(0x2f3)];if(_0x5ddedb){const _0x253c5a=_0x5ddedb==null?void 0x0:_0x5ddedb[_0x4bba31(0x338)],_0x4fa88d=p[_0x4bba31(0x31c)][_0x4bba31(0x267)](p[_0x4bba31(0xb7)](_0x253c5a));_0x5ddedb['originalMeta']=_0x4fa88d,Object['entries'](_0x5ddedb[_0x4bba31(0x34f)])['forEach'](([,_0x59a9a8])=>{var _0x1c3c34=_0x4bba31;const _0x23da6c=_0x59a9a8[_0x1c3c34(0x338)],_0x560ec1=p[_0x1c3c34(0x31c)][_0x1c3c34(0x267)](p[_0x1c3c34(0xb7)](_0x23da6c));_0x59a9a8[_0x1c3c34(0x338)]=_0x560ec1;});}return _0x1e7109;}async['getSheetBlock'](_0x48fd54,_0x322f9c){var _0x4751cb=_0x7a3069;const {unitID:_0x4652fe,type:_0x3dee5d,blockID:_0x41566e}=_0x322f9c,_0x34ce4f=this[_0x4751cb(0x37d)]()+'/'+_0x3dee5d+_0x4751cb(0x24a)+_0x4652fe+_0x4751cb(0x155)+_0x41566e;return(await this[_0x4751cb(0x2a6)][_0x4751cb(0x36a)](_0x34ce4f))[_0x4751cb(0x1c6)];}async[_0x7a3069(0x11b)](_0x3135ff,_0x421afa){var _0x561e90=_0x7a3069;const {unitID:_0x37bc6a,type:_0x2d5588,blockID:_0x4b81b4}=_0x421afa,_0x307f4c=this[_0x561e90(0x37d)]()+_0x561e90(0x155)+_0x2d5588+_0x561e90(0x24a)+_0x37bc6a+'/block/'+_0x4b81b4;return(await this[_0x561e90(0x2a6)][_0x561e90(0x36a)](_0x307f4c))[_0x561e90(0x1c6)];}async['fetchMissingChangesets'](_0x4f55c9,_0x12fa1e){var _0x25d089=_0x7a3069;const {unitID:_0x1a5e23,type:_0x5a6a6c,from:_0x43847d,to:_0x120784}=_0x12fa1e,_0x57a745=this['_getAPIPrefix']()+'/'+_0x5a6a6c+_0x25d089(0x24a)+_0x1a5e23+_0x25d089(0x156)+_0x43847d+_0x25d089(0x387)+_0x120784;return(await this['_httpService'][_0x25d089(0x36a)](_0x57a745))[_0x25d089(0x1c6)];}[_0x7a3069(0x1ad)](){var _0x806472=_0x7a3069,_0x223a1d;return(_0x223a1d=this['_configService'][_0x806472(0x2e7)](Dt))!=null?_0x223a1d:this[_0x806472(0x37d)]();}['_getAPIPrefix'](){var _0x1b74ee=_0x7a3069,_0x4866af;const _0x4ef570=this[_0x1b74ee(0x21c)][_0x1b74ee(0x2e7)](Y);return(_0x4866af=_0x4ef570==null?void 0x0:_0x4ef570['snapshotServerUrl'])!=null?_0x4866af:Nt;}async['getResourcesRequest'](_0x3aac41,_0x6685ff){var _0x4f2a29=_0x7a3069;const _0x3f0180=_0x4f2a29(0x214)+_0x6685ff[_0x4f2a29(0x19a)]+_0x4f2a29(0x24a)+_0x6685ff['unitID']+'/resources';return(await this[_0x4f2a29(0x2a6)][_0x4f2a29(0x36a)](_0x3f0180,{'params':{'resourceId':JSON[_0x4f2a29(0x28e)](_0x6685ff['resourceIDs'])}}))[_0x4f2a29(0x1c6)];}[_0x7a3069(0x1e1)](){var _0x1ccdb4=_0x7a3069;throw new Error(_0x1ccdb4(0x20a));}[_0x7a3069(0x3a7)](){var _0x480de9=_0x7a3069;throw new Error(_0x480de9(0x20a));}[_0x7a3069(0x2ac)](){throw new Error('This\x20method\x20should\x20not\x20be\x20called\x20on\x20the\x20client\x20side!');}[_0x7a3069(0x92)](){var _0x666f64=_0x7a3069;throw new Error(_0x666f64(0x20a));}['copyFileMeta'](){var _0x1b8b64=_0x7a3069;throw new Error(_0x1b8b64(0x20a));}['getLatestCsReqIdBySid'](){var _0x4af6ad=_0x7a3069;throw new Error(_0x4af6ad(0x20a));}},exports[_0x7a3069(0x117)]=Sn([at(0x0,a['IConfigService']),at(0x1,a['Inject'](q[_0x7a3069(0x1f1)]))],exports[_0x7a3069(0x117)]);var fn=Object['getOwnPropertyDescriptor'],In=(_0x353f87,_0x24b6e4,_0x4aca22,_0x5ca01a)=>{var _0x5c9d23=_0x7a3069;for(var _0x4fbc78=_0x5ca01a>0x1?void 0x0:_0x5ca01a?fn(_0x24b6e4,_0x4aca22):_0x24b6e4,_0x4037de=_0x353f87[_0x5c9d23(0x324)]-0x1,_0x48fb5a;_0x4037de>=0x0;_0x4037de--)(_0x48fb5a=_0x353f87[_0x4037de])&&(_0x4fbc78=_0x48fb5a(_0x4fbc78)||_0x4fbc78);return _0x4fbc78;},ue=(_0x1c4895,_0x32dab7)=>(_0x8c09eb,_0x7160cb)=>_0x32dab7(_0x8c09eb,_0x7160cb,_0x1c4895);exports[_0x7a3069(0x210)]=class extends a[_0x7a3069(0x9d)]{constructor(_0x5bea4e,_0x287c22,_0xb9377a,_0x1c5ead,_0x562f6d){var _0x58036a=_0x7a3069;super(_0x5bea4e,_0x287c22,_0xb9377a),this[_0x58036a(0xfc)]=_0x1c5ead,this[_0x58036a(0x393)]=_0x562f6d;}[_0x7a3069(0xda)](_0x2aa1e7,_0x3dce29){var _0x23bfa6=_0x7a3069;const _0x2c2db9=this['_getUndoStack'](_0x2aa1e7);if(_0x2c2db9)try{const _0xcc5e77=this[_0x23bfa6(0x3ce)](_0x2c2db9,_0x3dce29);this[_0x23bfa6(0x11f)](_0x2aa1e7,_0xcc5e77);}catch(_0x13c760){this[_0x23bfa6(0x393)]['error']('[CollaborationUndoRedoService]',_0x13c760),this['_clearUndo'](_0x2aa1e7);}const _0x49f360=this['_getRedoStack'](_0x2aa1e7);if(_0x49f360)try{const _0x474a8a=this[_0x23bfa6(0x3ce)](_0x49f360,_0x3dce29);this[_0x23bfa6(0x1c1)](_0x2aa1e7,_0x474a8a);}catch(_0xb82b83){this['_logService'][_0x23bfa6(0x331)](_0xb82b83),this[_0x23bfa6(0x7c)](_0x2aa1e7);}}['_clearUndo'](_0x4a722a){var _0x323846=_0x7a3069;const _0x4ddd25=this[_0x323846(0x2aa)](_0x4a722a);_0x4ddd25&&(_0x4ddd25[_0x323846(0x324)]=0x0,this['_updateStatus']());}[_0x7a3069(0x7c)](_0x2f3c50){var _0x2266c0=_0x7a3069;const _0x9e7438=this[_0x2266c0(0x319)](_0x2f3c50);_0x9e7438&&(_0x9e7438['length']=0x0,this['_updateStatus']());}['_substituteUndoStack'](_0xba7bf3,_0x27000b){var _0x31526e=_0x7a3069;this['_undoStacks'][_0x31526e(0x1cc)](_0xba7bf3,_0x27000b),this[_0x31526e(0x1d9)]();}['_substituteRedoStack'](_0x53d1ad,_0x49348b){var _0x4e365c=_0x7a3069;this[_0x4e365c(0x192)][_0x4e365c(0x1cc)](_0x53d1ad,_0x49348b),this[_0x4e365c(0x1d9)]();}[_0x7a3069(0x3ce)](_0x1edfd3,_0x22522f){var _0x21358c=_0x7a3069;const _0x7c6ac9=[];let _0x2d9894=_0x22522f,_0x29e726=_0x22522f;for(let _0x58316f=_0x1edfd3[_0x21358c(0x324)]-0x1;_0x58316f>=0x0;_0x58316f--){const {unitID:_0x36a4a6,undoMutations:_0x483865,redoMutations:_0x28b84b}=_0x1edfd3[_0x58316f],_0x4927b6=this[_0x21358c(0xfc)][_0x21358c(0x95)](_0x2d9894,_0x483865),_0x5ca461=this['_transformService'][_0x21358c(0x95)](_0x29e726,_0x28b84b);if(p['isTransformMutationsWithChangesetFailure'](_0x4927b6)||p[_0x21358c(0x164)](_0x5ca461)){this['_logService']['error'](_0x21358c(0x243),_0x21358c(0x27c),_0x4927b6,_0x5ca461);break;}_0x2d9894=_0x4927b6[_0x21358c(0x38e)],_0x29e726=_0x5ca461[_0x21358c(0x38e)],_0x7c6ac9['push']({'unitID':_0x36a4a6,'undoMutations':_0x4927b6[_0x21358c(0x34c)],'redoMutations':_0x5ca461[_0x21358c(0x34c)]});}return _0x7c6ac9[_0x21358c(0x172)]();}},exports[_0x7a3069(0x210)]=In([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x7a3069(0x115)]),ue(0x2,a[_0x7a3069(0x29b)]),ue(0x3,p['ITransformService']),ue(0x4,a[_0x7a3069(0x9e)])],exports[_0x7a3069(0x210)]);var pn=Object['defineProperty'],mn=Object[_0x7a3069(0x23e)],gn=(_0x34a06d,_0x1458bf,_0x4dad60)=>_0x1458bf in _0x34a06d?pn(_0x34a06d,_0x1458bf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dad60}):_0x34a06d[_0x1458bf]=_0x4dad60,En=(_0x177b46,_0x4ae475,_0x17d264,_0x1f46a8)=>{var _0x3a1278=_0x7a3069;for(var _0x4b2ab3=_0x1f46a8>0x1?void 0x0:_0x1f46a8?mn(_0x4ae475,_0x17d264):_0x4ae475,_0x4dafd7=_0x177b46[_0x3a1278(0x324)]-0x1,_0x535e95;_0x4dafd7>=0x0;_0x4dafd7--)(_0x535e95=_0x177b46[_0x4dafd7])&&(_0x4b2ab3=_0x535e95(_0x4b2ab3)||_0x4b2ab3);return _0x4b2ab3;},Le=(_0x17042d,_0x56ff68)=>(_0x129ee5,_0x4487e6)=>_0x56ff68(_0x129ee5,_0x4487e6,_0x17042d),Cn=(_0x8d5344,_0x1dc5bb,_0x539a49)=>gn(_0x8d5344,_0x1dc5bb+'',_0x539a49);const Tn='UNIVER_COLLABORATION_CLIENT_PLUGIN';exports[_0x7a3069(0x1dd)]=class extends a['Plugin']{constructor(_0x415095,_0x4aab21,_0x16ed24,_0x47178f){var _0x100c0e=_0x7a3069;super(),A(this,_0x100c0e(0x18a)),(this['_logService']=_0x4aab21,this['_injector']=_0x16ed24,this[_0x100c0e(0x21c)]=_0x47178f);const {..._0x3b6293}=a[_0x100c0e(0x1b9)]({},Zt,_0x415095);if(!_0x3b6293[_0x100c0e(0x1e0)])throw new Error(_0x100c0e(0x2f9));this[_0x100c0e(0x18a)]=_0x3b6293,this[_0x100c0e(0x21c)][_0x100c0e(0x334)](Y,_0x3b6293);}[_0x7a3069(0x180)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x7a3069(0xd6)](){var _0x491546=_0x7a3069,_0x2e62b1,_0x531dc5;this[_0x491546(0x33a)]['has'](a[_0x491546(0x17a)])&&this[_0x491546(0x393)][_0x491546(0x331)](_0x491546(0x38d),_0x491546(0xc2));const _0xc03705=a[_0x491546(0x82)]([[a['IUndoRedoService'],{'useClass':exports['CollaborativeUndoRedoService']}],[exports[_0x491546(0x1f6)]],[exports[_0x491546(0x7e)]],[exports['SheetTransformSelectionsService']],[ye],[Ne],[$e],[De],[ee],[exports[_0x491546(0x211)]],[Fe,{'useClass':this[_0x491546(0x18a)][_0x491546(0x1e0)]}],[p[_0x491546(0x1a9)],{'useClass':exports['SnapshotServerOverHTTPService']}],[a[_0x491546(0x17c)],{'useClass':exports[_0x491546(0x27f)]}],[z[_0x491546(0x2b1)],{'useClass':exports[_0x491546(0x159)]}],[a[_0x491546(0x1a0)],{'useClass':exports[_0x491546(0x39f)]}],[exports[_0x491546(0x3e3)]],[xe]],(_0x2e62b1=this[_0x491546(0x18a)])==null?void 0x0:_0x2e62b1['override']);if(!((_0x531dc5=this[_0x491546(0x18a)])!=null&&_0x531dc5[_0x491546(0x307)])){const _0x3b33ba=_0xc03705['findIndex'](([_0x99c8b1])=>_0x99c8b1===de);_0x3b33ba!==-0x1&&_0xc03705['splice'](_0x3b33ba,0x1);}a[_0x491546(0x3de)](this[_0x491546(0x33a)],_0xc03705);}[_0x7a3069(0x190)](){var _0x2ea02d=_0x7a3069,_0x2b8e52,_0x4131fd,_0x2b2677;this['_injector'][_0x2ea02d(0x36a)](q[_0x2ea02d(0x1f1)])[_0x2ea02d(0x2de)]({'priority':0x14,'interceptor':q[_0x2ea02d(0x174)]({'maxParallel':0x6})}),(_0x2b8e52=this[_0x2ea02d(0x18a)])!=null&&_0x2b8e52[_0x2ea02d(0x1b8)]||(_0x4131fd=this['_injector'][_0x2ea02d(0x36a)](K,a[_0x2ea02d(0x274)]['OPTIONAL']))==null||_0x4131fd['disableLocalCache'](),(_0x2b2677=this[_0x2ea02d(0x18a)])!=null&&_0x2b2677[_0x2ea02d(0x2df)]&&a[_0x2ea02d(0x1dc)](this[_0x2ea02d(0x33a)],[[ye]]),a[_0x2ea02d(0x1dc)](this[_0x2ea02d(0x33a)],[[Ne],[exports[_0x2ea02d(0x3e3)]],[De]]);}},Cn(exports[_0x7a3069(0x1dd)],_0x7a3069(0x229),Tn),exports[_0x7a3069(0x1dd)]=En([a[_0x7a3069(0x264)](p['UniverCollaborationPlugin'],q[_0x7a3069(0x30c)]),Le(0x1,a[_0x7a3069(0x9e)]),Le(0x2,a[_0x7a3069(0x208)](a['Injector'])),Le(0x3,a['IConfigService'])],exports[_0x7a3069(0x1dd)]),exports[_0x7a3069(0x385)]=Y,exports['CollaborationStatus']=je,exports[_0x7a3069(0x2d6)]=Z,exports[_0x7a3069(0x14c)]=ee,exports['CommentService']=$e,exports[_0x7a3069(0xe3)]=ht,exports[_0x7a3069(0x361)]=jt,exports['DEFAULT_WS_SESSION_TICKET_URL']=At,exports[_0x7a3069(0xa3)]=_t,exports[_0x7a3069(0x26d)]=ke,exports[_0x7a3069(0x370)]=Fe,exports[_0x7a3069(0x325)]=K,exports[_0x7a3069(0x162)]=pt,exports['ISingleActiveUnitService']=de,exports['LOCAL_CACHE_INTERVAL']=xt,exports[_0x7a3069(0x119)]=Lt,exports[_0x7a3069(0xad)]=Ht,exports[_0x7a3069(0x270)]=ut,exports[_0x7a3069(0x386)]=re,exports[_0x7a3069(0x32b)]=He,exports[_0x7a3069(0xf5)]=mt,exports[_0x7a3069(0x266)]=Kt,exports[_0x7a3069(0x2c9)]=gt;